:root {
  --ink: #102338;
  --brand: #3373BB;
  --brand-hover: #285C96;
  --brand-deep: #1E4A78;
  --sky: #8FB2D6;
  --sand: #EFEAE0;
  --paper: #FAF8F3;
  --brass: #A87C3F;
  --text: #24303C;
  --text-soft: #56636F;
  --line: rgba(16, 35, 56, 0.12);
  --radius: 4px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font-family: "Work Sans", -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-family: "Fraunces", Georgia, serif;
  color: var(--ink);
  margin: 0 0 0.5em 0;
  font-weight: 500;
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(2.4rem, 5vw, 3.6rem); line-height: 1.08; font-weight: 600; }
h2 { font-size: clamp(1.6rem, 3vw, 2.1rem); }
h3 { font-size: 1.15rem; font-weight: 600; }

p { margin: 0 0 1em 0; }
p:last-child { margin-bottom: 0; }

.wrap {
  max-width: 1040px;
  margin: 0 auto;
  padding: 0 28px;
}

a { color: inherit; }

#home, #about, #services, #location {
  scroll-margin-top: 88px;
}

/* Scroll-reveal animation */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
}
.service-grid .reveal:nth-child(2) { transition-delay: 0.06s; }
.service-grid .reveal:nth-child(3) { transition-delay: 0.12s; }
.service-grid .reveal:nth-child(4) { transition-delay: 0.18s; }
.service-grid .reveal:nth-child(5) { transition-delay: 0.24s; }
.service-grid .reveal:nth-child(6) { transition-delay: 0.3s; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* Header */
.site-header {
  background: rgba(250, 248, 243, 0.72);
  backdrop-filter: blur(12px) saturate(1.4);
  -webkit-backdrop-filter: blur(12px) saturate(1.4);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 50;
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

.site-header.scrolled {
  background: rgba(250, 248, 243, 0.92);
  box-shadow: 0 8px 24px rgba(16, 35, 56, 0.1);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-top: 14px;
  padding-bottom: 14px;
  flex-wrap: wrap;
  row-gap: 10px;
}

.brand-group {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-emblem {
  height: 38px;
  width: auto;
  display: block;
}

.brandmark {
  font-family: "Fraunces", serif;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--ink);
}

.brandmark-sub {
  font-weight: 400;
  color: var(--text-soft);
  font-size: 0.95rem;
}

/* Nav */
.site-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-link {
  position: relative;
  text-decoration: none;
  color: var(--text);
  font-weight: 500;
  font-size: 0.92rem;
  padding: 4px 1px 8px;
  transition: color 0.2s ease;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: var(--brand);
  border-radius: 2px;
  transition: width 0.25s ease;
}

.nav-link:hover,
.nav-link:focus-visible {
  color: var(--brand);
}

.nav-link:hover::after,
.nav-link:focus-visible::after {
  width: 100%;
}

/* CTA button aligned right after "Location" in the nav */
.btn-cta-nav {
  padding: 9px 18px;
  font-size: 0.88rem;
  margin-left: 6px;
}

/* CTA pulse in the header */
.btn-cta {
  animation: ctaPulse 2.6s ease-in-out infinite;
}
.btn-cta:hover { animation-play-state: paused; }

@keyframes ctaPulse {
  0% { box-shadow: 0 0 0 0 rgba(51, 115, 187, 0.45); }
  70% { box-shadow: 0 0 0 10px rgba(51, 115, 187, 0); }
  100% { box-shadow: 0 0 0 0 rgba(51, 115, 187, 0); }
}

@media (prefers-reduced-motion: reduce) {
  .btn-cta { animation: none; }
}

@media (max-width: 980px) {
  .nav-links { display: none; }
  .site-nav { gap: 0; }
}


/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

.hero-photo {
  position: absolute;
  inset: 0;
  background-color: var(--brand);
  background-size: cover;
  background-position: center 30%;
}

.hero-photo::after { content: ""; }

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(51,115,187,0.94) 0%, rgba(51,115,187,0.87) 42%, rgba(51,115,187,0.72) 100%);
}

.hero-emblem-mark {
  position: absolute;
  top: 50%;
  right: 40px;
  transform: translateY(-50%);
  width: 300px;
  height: auto;
  opacity: 0.14;
  z-index: 1;
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 2;
  padding: 100px 28px 88px;
  max-width: 700px;
}

.eyebrow {
  display: inline-block;
  font-size: 0.9rem;
  color: var(--paper);
  margin-bottom: 14px;
  font-weight: 600;
  letter-spacing: 0.02em;
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(16, 35, 56, 0.45);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  text-shadow: 0 1px 4px rgba(16, 35, 56, 0.5);
}

h1 { color: var(--paper); text-shadow: 0 2px 12px rgba(16, 35, 56, 0.35); }

.hero-lead {
  font-size: 1.15rem;
  color: rgba(250, 248, 243, 0.92);
  max-width: 46ch;
  text-shadow: 0 1px 8px rgba(16, 35, 56, 0.3);
}

/* Hero badges */
.hero-badges {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 22px 0 8px;
  padding: 0;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 15px;
  border-radius: 999px;
  background: rgba(16, 35, 56, 0.38);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, 0.32);
  color: var(--paper);
  font-size: 0.83rem;
  font-weight: 500;
  transition: background 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
}
.hero-badge:hover {
  background: rgba(16, 35, 56, 0.5);
  border-color: rgba(255, 255, 255, 0.55);
  transform: translateY(-1px);
}

.hero-badge-icon {
  color: var(--paper);
  font-weight: 700;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin: 26px 0 20px;
}

.btn {
  display: inline-block;
  padding: 14px 26px;
  border-radius: var(--radius);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.98rem;
  transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease,
              transform 0.18s ease, box-shadow 0.18s ease;
}

.btn-primary {
  background: var(--brand);
  color: var(--paper);
  box-shadow: 0 4px 14px rgba(51, 115, 187, 0.25);
}
.btn-primary:hover {
  background: var(--brand-hover);
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(51, 115, 187, 0.35);
}
.btn-primary:active { transform: translateY(0); }

/* On the hero, the backdrop itself is brand blue, so invert the primary
   button to a light fill to keep it standing out. */
.hero .btn-primary {
  background: var(--paper);
  color: var(--brand-hover);
  box-shadow: 0 4px 14px rgba(16, 35, 56, 0.2);
}
.hero .btn-primary:hover {
  background: #FFFFFF;
  color: var(--brand-hover);
  box-shadow: 0 10px 22px rgba(16, 35, 56, 0.28);
}

.btn-ghost {
  background: transparent;
  border: 1px solid rgba(250, 248, 243, 0.6);
  color: var(--paper);
}
.btn-ghost:hover {
  background: rgba(250, 248, 243, 0.12);
  border-color: var(--paper);
  transform: translateY(-2px);
}
.btn-ghost:active { transform: translateY(0); }

.hero-note {
  display: inline-block;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--paper);
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(16, 35, 56, 0.4);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  text-shadow: 0 1px 4px rgba(16, 35, 56, 0.4);
}

/* Services */
.services {
  padding: 88px 0;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  margin-top: 40px;
}

.service-card {
  background: var(--paper);
  padding: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
  position: relative;
  z-index: 1;
}

.service-photo {
  width: 100%;
  aspect-ratio: 4 / 3;
  background-color: var(--brand);
  background-size: cover;
  background-position: center;
  transition: transform 0.35s ease;
}
.service-card:hover .service-photo {
  transform: scale(1.05);
}

.service-body {
  padding: 26px 26px 30px;
}

.service-card:hover {
  transform: translateY(-5px) scale(1.015);
  box-shadow: 0 14px 30px rgba(16, 35, 56, 0.14);
  background: var(--paper);
  z-index: 2;
}

.service-card h3 {
  transition: color 0.2s ease;
}
.service-card:hover h3 {
  color: var(--brand);
}

.service-card p {
  color: var(--text-soft);
  font-size: 0.96rem;
}

.service-card .service-best {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px dashed var(--line);
  font-size: 0.88rem;
  color: var(--brand-hover);
}
.service-best strong {
  color: var(--ink);
}

/* About */
.about {
  background: var(--brand-deep);
  color: var(--sand);
  padding: 0;
}

.about h2 { color: var(--sand); }

.about-inner {
  display: grid;
  grid-template-columns: minmax(280px, 40%) 1fr;
  align-items: stretch;
}

.about-photo {
  background-color: var(--brand);
  background-size: cover;
  background-position: center;
  min-height: 460px;
}

.about-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 32px;
  padding: 72px 64px;
  max-width: 620px;
}

.about-text p {
  color: rgba(250, 247, 240, 0.85);
  font-size: 1.05rem;
  max-width: 52ch;
}

.badge-card {
  border: 1px solid rgba(250, 247, 240, 0.3);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  transition: border-color 0.2s ease, background 0.2s ease;
}
.badge-card:hover {
  border-color: var(--brand);
  background: rgba(51, 115, 187, 0.1);
}

.badge-label {
  font-size: 0.82rem;
  color: rgba(250, 247, 240, 0.65);
}

.badge-brand {
  font-family: "Fraunces", serif;
  font-size: 1.6rem;
  color: var(--brass);
  font-weight: 600;
}

.badge-sub {
  font-size: 0.88rem;
  color: rgba(250, 247, 240, 0.75);
}

/* Visit */
.visit {
  padding: 80px 0;
}

.visit-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.visit-details h2 { margin-bottom: 18px; }

.visit-line {
  color: var(--text-soft);
  margin-bottom: 4px;
}

.text-link {
  display: inline-block;
  margin-top: 10px;
  color: var(--brand);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid var(--brand);
  font-size: 0.92rem;
  transition: color 0.15s ease, border-color 0.15s ease;
}
.text-link:hover { color: var(--brand-hover); border-color: var(--brand-hover); }

.visit-cta { margin-top: 28px; }

.visit-map {
  width: 100%;
  min-height: 320px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: 0 4px 16px rgba(16, 35, 56, 0.08);
}

.visit-map iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 320px;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--line);
  background: var(--paper);
  padding-top: 56px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1.1fr;
  gap: 40px;
  padding-bottom: 40px;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 6px;
}
.footer-brand .brand-emblem { height: 30px; }
.footer-brand .brandmark { font-size: 0.98rem; }

.footer-heading {
  font-family: "Fraunces", serif;
  font-size: 1rem;
  color: var(--ink);
  margin: 0 0 4px 0;
}

.footer-line {
  font-size: 0.88rem;
  color: var(--text-soft);
  margin: 0;
}

.footer-tel {
  color: var(--brand);
  text-decoration: none;
  font-weight: 600;
}
.footer-tel:hover { color: var(--brand-hover); }

.footer-abn {
  color: var(--text-soft);
  letter-spacing: 0.02em;
}

.location-badge {
  display: inline-block;
  margin-top: 4px;
  font-size: 0.82rem;
  color: var(--text-soft);
  width: fit-content;
}

.footer-badges {
  align-items: flex-start;
  gap: 14px;
}

/* Google reviews badge — built with Google's own four brand colors so it
   reads as "Google" at a glance without reproducing their trademarked logo. */
.google-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: #FFFFFF;
  text-decoration: none;
  color: var(--text);
  white-space: nowrap;
  box-shadow: 0 2px 10px rgba(16, 35, 56, 0.06);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}
.google-badge:hover {
  border-color: #4285F4;
  box-shadow: 0 8px 20px rgba(16, 35, 56, 0.12);
  transform: translateY(-2px);
}

.google-icon { display: flex; flex-shrink: 0; }

.google-badge-text {
  display: flex;
  flex-direction: column;
  line-height: 1.3;
}

.google-badge-stars {
  color: #FBBC05;
  font-size: 0.85rem;
  letter-spacing: 1px;
}

.google-badge-text span:last-child {
  font-size: 0.82rem;
  font-weight: 600;
}

.hicaps-badge {
  width: 100%;
  max-width: 200px;
  height: auto;
  border-radius: 6px;
  display: block;
}

.footer-bottom {
  border-top: 1px solid var(--line);
  padding: 18px 0;
}

.footer-bottom p {
  font-size: 0.8rem;
  color: var(--text-soft);
  margin: 0;
}

/* Responsive */
@media (max-width: 760px) {
  .service-grid { grid-template-columns: 1fr; }
  .about-inner { grid-template-columns: 1fr; }
  .about-photo { min-height: 240px; }
  .about-content { padding: 48px 28px; max-width: none; }
  .hero-emblem-mark { opacity: 0.1; width: 200px; right: 12px; }
  .hero-inner { padding: 72px 24px 64px; }
  .header-inner { flex-direction: column; align-items: flex-start; gap: 6px; }
  .visit-inner { grid-template-columns: 1fr; }
  .visit-map { min-height: 260px; }
  .visit-map iframe { min-height: 260px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
}

