/* ============================================================
   STYLES — Better Call Cleaners
   Mobile-first. Uses tokens from tokens.css.
   ============================================================ */

/* ── Reset & Base ────────────────────────────────────────── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5 {
  font-family: var(--font-heading);
  line-height: 1.2;
  font-weight: 700;
  color: var(--navy);
}

a {
  color: inherit;
  text-decoration: none;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}
button {
  cursor: pointer;
  font-family: var(--font-body);
}
ul {
  list-style: none;
}
input,
select,
textarea {
  font-family: var(--font-body);
}

.hidden {
  display: none !important;
}

/* ── Container ───────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--space-4);
}
@media (min-width: 640px) {
  .container {
    padding: 0 var(--space-6);
  }
}
@media (min-width: 1024px) {
  .container {
    padding: 0 var(--space-8);
  }
}

/* ── Buttons ─────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-6);
  border-radius: var(--radius-full);
  font-family: var(--font-heading);
  font-size: var(--text-sm);
  font-weight: 700;
  letter-spacing: 0.02em;
  border: 2px solid transparent;
  transition: all var(--transition);
  white-space: nowrap;
  text-transform: uppercase;
}
.btn-primary {
  background: var(--yellow);
  color: var(--navy);
  border-color: var(--yellow);
  box-shadow: var(--shadow-cta);
}
.btn-primary:hover,
.btn-primary:focus {
  background: var(--yellow-dark);
  border-color: var(--yellow-dark);
  transform: translateY(-1px);
}
.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.6);
}
.btn-outline:hover,
.btn-outline:focus {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--white);
}
.btn-navy {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}
.btn-navy:hover,
.btn-navy:focus {
  background: var(--navy-dark);
  border-color: var(--navy-dark);
  transform: translateY(-1px);
}
.btn-whatsapp {
  background: var(--whatsapp);
  color: var(--white);
  border-color: var(--whatsapp);
  font-size: var(--text-base);
  padding: var(--space-4) var(--space-8);
  border-radius: var(--radius-full);
}
.btn-whatsapp:hover,
.btn-whatsapp:focus {
  background: var(--whatsapp-dark);
  border-color: var(--whatsapp-dark);
  transform: translateY(-1px);
  box-shadow: var(--shadow-cta);
}
.btn-ghost {
  background: transparent;
  color: var(--text-muted);
  border-color: var(--border);
}
.btn-ghost:hover {
  background: var(--off-white);
  color: var(--text);
}

/* ── Section headers ─────────────────────────────────────── */
.section-label {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--navy);
  background: var(--yellow);
  padding: var(--space-1) var(--space-3);
  border-radius: var(--radius-full);
  margin-bottom: var(--space-4);
}
.section-title {
  font-size: var(--text-3xl);
  color: var(--navy);
  margin-bottom: var(--space-4);
}
.section-subtitle {
  font-size: var(--text-lg);
  color: var(--text-muted);
  max-width: 560px;
}
.section-header {
  margin-bottom: var(--space-12);
}
.section-header.centered {
  text-align: center;
}
.section-header.centered .section-subtitle {
  margin: 0 auto;
}
@media (min-width: 768px) {
  .section-title {
    font-size: var(--text-4xl);
  }
}

/* ── Scroll animations ───────────────────────────────────── */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.55s ease, transform 0.55s ease;
  will-change: opacity, transform;
}
.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}
/* Stagger delays — applied via JS to grid children */
.animate-on-scroll.stagger-1 {
  transition-delay: 0.07s;
}
.animate-on-scroll.stagger-2 {
  transition-delay: 0.14s;
}
.animate-on-scroll.stagger-3 {
  transition-delay: 0.21s;
}
.animate-on-scroll.stagger-4 {
  transition-delay: 0.28s;
}
.animate-on-scroll.stagger-5 {
  transition-delay: 0.35s;
}
.animate-on-scroll.stagger-6 {
  transition-delay: 0.42s;
}

/* ─────────────────────────────────────────────────────────────
   HEADER / NAV
   ───────────────────────────────────────────────────────── */
#site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-height);
  background: var(--white);
  border-bottom: 1px solid var(--border);
  transition: box-shadow var(--transition);
}
#site-header.scrolled {
  box-shadow: var(--shadow-nav);
}

.nav-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-6);
}

.nav-logo img {
  height: 68px;
  width: auto;
}

#nav-menu {
  display: none;
  flex-direction: column;
  position: fixed;
  top: var(--nav-height);
  left: 0;
  right: 0;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: var(--space-6);
  gap: var(--space-4);
  box-shadow: var(--shadow-nav);
}
#nav-menu.open {
  display: flex;
}

.nav-links {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}
.nav-links a {
  font-family: var(--font-heading);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--navy);
  letter-spacing: 0.02em;
  transition: color var(--transition);
}
.nav-links a:hover {
  color: var(--yellow-dark);
}

.nav-cta {
  align-self: flex-start;
}

#nav-burger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: var(--space-2);
  cursor: pointer;
  z-index: 101;
}
#nav-burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: all var(--transition);
}
#nav-burger.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
#nav-burger.active span:nth-child(2) {
  opacity: 0;
}
#nav-burger.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

@media (min-width: 1024px) {
  #nav-burger {
    display: none;
  }
  #nav-menu {
    display: flex;
    flex-direction: row;
    align-items: center;
    position: static;
    background: none;
    border: none;
    padding: 0;
    box-shadow: none;
  }
  .nav-links {
    flex-direction: row;
    align-items: center;
    gap: var(--space-6);
  }
  .nav-cta {
    align-self: auto;
  }
}

/* ─────────────────────────────────────────────────────────────
   HERO
   ───────────────────────────────────────────────────────── */
#hero {
  margin-top: var(--nav-height);
  background: var(--off-white);
  color: var(--navy);
  padding: var(--space-16) 0;
  overflow: hidden;
  position: relative;
}

/* Yellow accent stripe */
#hero::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 40%;
  height: 6px;
  background: var(--yellow);
}
#hero::after {
  content: "";
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  height: 60px;
  background: var(--white);
  clip-path: ellipse(55% 100% at 50% 100%);
}

.hero-inner {
  display: flex;
  flex-direction: column;
  gap: var(--space-10);
}

.hero-content {
  max-width: 640px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  background: var(--navy);
  border: 1px solid var(--navy);
  color: var(--yellow);
  font-size: var(--text-xs);
  font-family: var(--font-heading);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: var(--space-1) var(--space-3);
  border-radius: var(--radius-full);
  margin-bottom: var(--space-5);
  position: relative;
  overflow: hidden;
}
.hero-badge::after {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 55%;
  height: 100%;
  background: linear-gradient(
    105deg,
    transparent 15%,
    rgba(255, 255, 255, 0.25) 50%,
    transparent 85%
  );
  animation: badge-shimmer 3s ease-in-out infinite;
  pointer-events: none;
}

.hero-title {
  font-size: var(--text-4xl);
  color: var(--navy);
  line-height: 1.1;
  margin-bottom: var(--space-5);
}
.hero-title em {
  font-style: normal;
  color: var(--yellow-dark);
}

.hero-subtitle {
  font-size: var(--text-lg);
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: var(--space-8);
  max-width: 500px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  margin-bottom: var(--space-10);
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
}
.trust-item {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-sm);
  color: var(--text-muted);
}
.trust-icon {
  color: var(--navy);
  font-size: var(--text-base);
}

/* Full-bleed banner image — hidden on mobile, shown on desktop */
.hero-banner-img {
  display: none;
}
.hero-banner-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center right;
  display: block;
}
/* White-to-transparent fade: covers text area on the left */
.hero-banner-img::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    var(--off-white) 0%,
    var(--off-white) 25%,
    rgba(248, 249, 250, 0.88) 50%,
    rgba(248, 249, 250, 0.35) 66%,
    transparent 80%
  );
  pointer-events: none;
}

/* btn-outline override — navy for light hero background */
#hero .btn-outline {
  color: var(--navy);
  border-color: rgba(18, 36, 58, 0.45);
}
#hero .btn-outline:hover,
#hero .btn-outline:focus {
  background: rgba(18, 36, 58, 0.06);
  border-color: var(--navy);
}
.hero-image-badge {
  position: absolute;
  bottom: var(--space-6);
  left: var(--space-6);
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: var(--space-3) var(--space-4);
  box-shadow: var(--shadow-card);
  display: flex;
  align-items: center;
  gap: var(--space-3);
}
.hero-image-badge .badge-stars {
  color: #f59e0b;
  font-size: var(--text-lg);
}
.hero-image-badge .badge-text {
  font-size: var(--text-xs);
  color: var(--text);
}
.hero-image-badge .badge-text strong {
  display: block;
  font-family: var(--font-heading);
}

@media (min-width: 768px) {
  .hero-title {
    font-size: var(--text-5xl);
  }
  #hero {
    padding: var(--space-20) 0 calc(var(--space-20) + 30px);
  }
}
@media (min-width: 1024px) {
  /* Hero fills exactly the viewport below the nav — no scrolling needed */
  #hero {
    height: calc(100vh - var(--nav-height));
    padding: 0;
  }

  /* Image fills the full hero area, slight crop to fit — compose subject on right */
  .hero-banner-img {
    display: block;
    position: absolute;
    inset: 0;
    z-index: 0;
  }
  .hero-banner-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center right;
  }

  /* Text container centred over the image */
  #hero > .container {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    z-index: 1;
  }
  .hero-inner {
    position: static;
    width: 100%;
  }

  /* Text occupies the left ~50% — image visible on the right */
  .hero-content {
    max-width: 52%;
  }

  .hero-title {
    font-size: var(--text-6xl);
  }
}

/* ─────────────────────────────────────────────────────────────
   SERVICES
   ───────────────────────────────────────────────────────── */
#services {
  padding: var(--space-20) 0;
  background: var(--off-white);
}

.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-4);
}
@media (min-width: 600px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.service-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-card);
  transition: transform var(--transition), box-shadow var(--transition);
  display: flex;
  flex-direction: column;
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}
.service-icon {
  width: 52px;
  height: 52px;
  background: var(--yellow);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  color: var(--navy);
  margin-bottom: var(--space-5);
  flex-shrink: 0;
}
.service-card h3 {
  font-size: var(--text-xl);
  margin-bottom: var(--space-3);
}
.service-card p {
  font-size: var(--text-base);
  color: var(--text-muted);
  line-height: 1.7;
  flex: 1;
  margin-bottom: var(--space-5);
}
.service-link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-family: var(--font-heading);
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--navy);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: gap var(--transition);
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}
.service-link:hover {
  gap: var(--space-3);
  color: var(--navy-dark);
}

/* ─────────────────────────────────────────────────────────────
   WHY US
   ───────────────────────────────────────────────────────── */
#why-us {
  padding: var(--space-20) 0;
  background: linear-gradient(
    135deg,
    #ffffff 0%,
    #edf5ff 40%,
    #f3f8ff 70%,
    #ffffff 100%
  );
  background-size: 300% 300%;
  animation: gradient-light 5s ease infinite;
}

.why-grid {
  display: grid;
  gap: var(--space-6);
  grid-template-columns: 1fr;
}
@media (min-width: 600px) {
  .why-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1024px) {
  .why-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.why-card {
  padding: var(--space-6);
  border-left: 4px solid var(--yellow);
  background: var(--off-white);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
}
.why-card-icon {
  font-size: 1.75rem;
  color: var(--navy);
  margin-bottom: var(--space-3);
}
.why-card h3 {
  font-size: var(--text-lg);
  margin-bottom: var(--space-2);
}
.why-card p {
  font-size: var(--text-sm);
  color: var(--text-muted);
  line-height: 1.7;
}

/* ─────────────────────────────────────────────────────────────
   HOW IT WORKS
   ───────────────────────────────────────────────────────── */
#how-it-works {
  padding: var(--space-20) 0;
  background: linear-gradient(
    135deg,
    #0a1929 0%,
    #0d2540 30%,
    #12243a 60%,
    #1a3555 85%,
    #0a1929 100%
  );
  background-size: 300% 300%;
  animation: gradient-shift 5s ease infinite;
  color: var(--white);
}
#how-it-works .section-label {
  background: rgba(255, 246, 0, 0.15);
  color: var(--yellow);
}
#how-it-works .section-title {
  color: var(--white);
}
#how-it-works .section-subtitle {
  color: rgba(255, 255, 255, 0.7);
}

.steps-grid {
  display: grid;
  gap: var(--space-8);
  grid-template-columns: 1fr;
  position: relative;
}
@media (min-width: 768px) {
  .steps-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-6);
  }
  .steps-grid::before {
    content: "";
    position: absolute;
    top: 32px;
    left: calc(16.66% + var(--space-4));
    right: calc(16.66% + var(--space-4));
    height: 2px;
    background: rgba(255, 246, 0, 0.3);
  }
}

.step-card {
  text-align: center;
  position: relative;
}
.step-number {
  width: 64px;
  height: 64px;
  background: var(--yellow);
  color: var(--navy);
  font-family: var(--font-heading);
  font-size: var(--text-2xl);
  font-weight: 800;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-5);
  position: relative;
  z-index: 1;
}

/* ── Sequential step-number reveal — desktop only ── */
@media (min-width: 1024px) {
  .step-number {
    opacity: 0;
    transform: scale(0.4);
    transition: opacity 0.4s ease,
      transform 0.45s cubic-bezier(0.34, 1.56, 0.64, 1);
  }
  #how-it-works.section-visible
    .steps-grid
    .step-card:nth-child(1)
    .step-number {
    opacity: 1;
    transform: scale(1);
    transition-delay: 0s;
  }
  #how-it-works.section-visible
    .steps-grid
    .step-card:nth-child(2)
    .step-number {
    opacity: 1;
    transform: scale(1);
    transition-delay: 0.5s;
  }
  #how-it-works.section-visible
    .steps-grid
    .step-card:nth-child(3)
    .step-number {
    opacity: 1;
    transform: scale(1);
    transition-delay: 1s;
  }
}
.step-card h3 {
  font-size: var(--text-xl);
  color: var(--white);
  margin-bottom: var(--space-3);
}
.step-card p {
  font-size: var(--text-base);
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.7;
}

/* ─────────────────────────────────────────────────────────────
   GALLERY (Portfolio photos)
   ───────────────────────────────────────────────────────── */
#gallery {
  padding: var(--space-20) 0;
  background: var(--off-white);
}

.gallery-grid {
  display: grid;
  gap: var(--space-3);
  grid-template-columns: repeat(2, 1fr);
}
@media (min-width: 768px) {
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.gallery-item {
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 4/3;
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}
.gallery-item:hover img {
  transform: scale(1.04);
}

/* Gallery overlay (modal) */
.gallery-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.9);
  z-index: 200;
  align-items: center;
  justify-content: center;
}
.gallery-overlay.open {
  display: flex;
}
.gallery-overlay img {
  max-width: 90vw;
  max-height: 90vh;
  object-fit: contain;
  border-radius: var(--radius-md);
}
.gallery-close {
  position: absolute;
  top: var(--space-4);
  right: var(--space-4);
  background: rgba(255, 255, 255, 0.15);
  border: none;
  color: var(--white);
  font-size: 2rem;
  width: 48px;
  height: 48px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition);
}
.gallery-close:hover {
  background: rgba(255, 255, 255, 0.3);
}

/* ─────────────────────────────────────────────────────────────
   REVIEWS
   ───────────────────────────────────────────────────────── */
#reviews {
  padding: var(--space-20) 0;
  background: var(--white);
}

.reviews-pending {
  background: var(--off-white);
  border: 2px dashed var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-12);
  text-align: center;
  color: var(--text-muted);
}
.reviews-pending p {
  margin-bottom: var(--space-4);
}

/* ─────────────────────────────────────────────────────────────
   SERVICE AREAS
   ───────────────────────────────────────────────────────── */
#areas {
  padding: var(--space-20) 0;
  background: var(--navy);
  color: var(--white);
}
#areas .section-label {
  background: rgba(255, 246, 0, 0.15);
  color: var(--yellow);
}
#areas .section-title {
  color: var(--white);
}
#areas .section-subtitle {
  color: rgba(255, 255, 255, 0.7);
}

/* ── Service area map ──────────────────────────────────────── */
#service-map {
  height: 340px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 2px solid rgba(255, 255, 255, 0.12);
  margin-top: var(--space-2);
  margin-bottom: var(--space-10);
}
@media (min-width: 768px) {
  #service-map {
    height: 420px;
  }
}

/* Leaflet popup overrides to match brand */
.leaflet-popup-content-wrapper {
  border-radius: 8px !important;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2) !important;
  padding: 0 !important;
}
.leaflet-popup-content {
  margin: 8px 12px !important;
  font-family: var(--font-heading) !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  color: var(--navy) !important;
  white-space: nowrap;
}
.leaflet-popup-tip {
  background: white !important;
}

.areas-regions {
  display: grid;
  gap: var(--space-8);
  grid-template-columns: 1fr;
  margin-top: var(--space-10);
}
@media (min-width: 768px) {
  .areas-regions {
    grid-template-columns: repeat(3, 1fr);
  }
}

.area-region h3 {
  font-size: var(--text-lg);
  color: var(--yellow);
  margin-bottom: var(--space-4);
  font-family: var(--font-heading);
}

.suburbs-list {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
}
.suburb-tag {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: rgba(255, 255, 255, 0.85);
  font-size: var(--text-sm);
  padding: var(--space-1) var(--space-3);
  border-radius: var(--radius-full);
}

/* ─────────────────────────────────────────────────────────────
   FAQ
   ───────────────────────────────────────────────────────── */
#faq {
  padding: var(--space-20) 0;
  background: var(--off-white);
}

.faq-list {
  max-width: 760px;
  margin: 0 auto;
}

.faq-item {
  background: var(--white);
  border-radius: var(--radius-md);
  margin-bottom: var(--space-3);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: box-shadow var(--transition);
}
.faq-item.open {
  box-shadow: var(--shadow-card);
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-4);
  padding: var(--space-5) var(--space-6);
  background: none;
  border: none;
  width: 100%;
  text-align: left;
  font-family: var(--font-heading);
  font-size: var(--text-base);
  font-weight: 600;
  color: var(--navy);
  cursor: pointer;
  transition: background var(--transition);
}
.faq-question:hover {
  background: var(--off-white);
}
.faq-item.open .faq-question {
  color: var(--navy);
}

.faq-icon {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  background: var(--yellow);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--navy);
  transition: transform var(--transition);
}
.faq-item.open .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-slow) ease;
}
.faq-answer-inner {
  padding: 0 var(--space-6) var(--space-5);
  font-size: var(--text-base);
  color: var(--text-muted);
  line-height: 1.8;
}

/* ─────────────────────────────────────────────────────────────
   CONTACT / QUOTE FORM
   ───────────────────────────────────────────────────────── */
#contact {
  padding: var(--space-20) 0;
  background: linear-gradient(135deg, #f8faff 0%, #edf4ff 50%, #f0f8ff 100%);
}

.contact-inner {
  display: grid;
  gap: var(--space-12);
  grid-template-columns: 1fr;
}
@media (min-width: 1024px) {
  .contact-inner {
    grid-template-columns: 1fr 1fr;
    align-items: start;
  }
}

.contact-info h2 {
  margin-bottom: var(--space-4);
}
.contact-info p {
  color: var(--text-muted);
  margin-bottom: var(--space-8);
  line-height: 1.8;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}
.contact-detail {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-size: var(--text-base);
}
.contact-detail-icon {
  width: 40px;
  height: 40px;
  background: var(--yellow);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--text-base);
  color: var(--navy);
  flex-shrink: 0;
}
.contact-detail-text {
  color: var(--text-muted);
}
.contact-detail-text strong {
  display: block;
  color: var(--text);
  font-family: var(--font-heading);
}

/* ── Quote Form card ───────────────────────────────────── */
.quote-card {
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.65);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  box-shadow: 0 20px 60px rgba(18, 36, 58, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.quote-card h3 {
  font-size: var(--text-2xl);
  margin-bottom: var(--space-2);
}
.quote-card > p {
  color: var(--text-muted);
  font-size: var(--text-sm);
  margin-bottom: var(--space-6);
}

/* Form elements */
.form-group {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  margin-bottom: var(--space-4);
}
.form-group label {
  font-family: var(--font-heading);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--navy);
}

input[type="text"],
input[type="tel"],
input[type="email"],
input[type="date"],
select,
textarea {
  width: 100%;
  padding: var(--space-3) var(--space-4);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  font-size: var(--text-base);
  color: var(--text);
  background: var(--white);
  transition: border-color var(--transition), box-shadow var(--transition);
  appearance: none;
  -webkit-appearance: none;
}
input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(18, 36, 58, 0.1);
}

select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%2312243A' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right var(--space-4) center;
  padding-right: var(--space-10);
}

.form-row {
  display: grid;
  gap: var(--space-4);
  grid-template-columns: 1fr;
}
@media (min-width: 480px) {
  .form-row {
    grid-template-columns: 1fr 1fr;
  }
}

/* Add-ons checkboxes */
.addons-grid {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}
.addon-item {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  cursor: pointer;
  font-size: var(--text-base);
  padding: var(--space-3) var(--space-4);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--white);
  transition: border-color var(--transition), background var(--transition);
  user-select: none;
}
.addon-item:has(.addon-checkbox:checked) {
  border-color: var(--navy);
  background: rgba(18, 36, 58, 0.04);
}
.addon-checkbox {
  width: 18px;
  height: 18px;
  cursor: pointer;
  accent-color: var(--navy);
}
.addon-label-text {
  flex: 1;
}
.addon-price {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: var(--text-sm);
  color: var(--navy);
}

/* Special CTA (NDIS/Commercial) */
#special-service-cta {
  background: rgba(255, 246, 0, 0.1);
  border: 2px solid var(--yellow);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  text-align: center;
  margin: var(--space-4) 0;
}
#special-service-cta p {
  color: var(--text-muted);
  margin-bottom: var(--space-4);
  font-size: var(--text-base);
}

/* Error message */
#quote-error {
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #991b1b;
  border-radius: var(--radius-md);
  padding: var(--space-3) var(--space-4);
  font-size: var(--text-sm);
  margin-bottom: var(--space-4);
}

/* Form submit */
.form-submit-row {
  margin-top: var(--space-6);
}
.form-submit-row button {
  width: 100%;
  padding: var(--space-4) var(--space-6);
  font-size: var(--text-base);
}

/* ── Quote Result (Step 2) ─────────────────────────────── */
#quote-step-2 {
  animation: fadeIn 0.4s ease;
}
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.result-service-name {
  font-size: var(--text-2xl);
  margin-bottom: var(--space-2);
}
.result-property {
  color: var(--text-muted);
  font-size: var(--text-base);
  margin-bottom: var(--space-5);
}
.result-addons {
  margin-bottom: var(--space-5);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
}
.result-addons li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--space-3) var(--space-4);
  font-size: var(--text-sm);
  border-bottom: 1px solid var(--border);
}
.result-addons li:last-child {
  border-bottom: none;
}
.addon-price-result {
  font-weight: 700;
  color: var(--navy);
}

.result-price {
  background: var(--navy);
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  text-align: center;
  margin-bottom: var(--space-6);
}
.result-price-label {
  display: block;
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: var(--space-2);
  font-family: var(--font-heading);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.result-price-value {
  display: block;
  font-size: var(--text-5xl);
  font-family: var(--font-heading);
  font-weight: 800;
  color: var(--yellow);
}

.result-quote-required {
  background: var(--off-white);
  border: 2px dashed var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  text-align: center;
  margin-bottom: var(--space-6);
}
.result-quote-required p {
  color: var(--text-muted);
  margin-bottom: var(--space-2);
}

.result-actions {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  align-items: stretch;
}
.result-actions .btn {
  justify-content: center;
}

/* ─────────────────────────────────────────────────────────────
   FOOTER
   ───────────────────────────────────────────────────────── */
#footer {
  background: var(--navy-dark);
  color: rgba(255, 255, 255, 0.75);
  padding: var(--space-16) 0 var(--space-8);
}

.footer-grid {
  display: grid;
  gap: var(--space-10);
  grid-template-columns: 1fr;
  margin-bottom: var(--space-10);
}
@media (min-width: 640px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1024px) {
  .footer-grid {
    grid-template-columns: 2fr 1fr 1fr 1fr;
  }
}

.footer-brand img {
  height: 56px;
  width: auto;
  margin-bottom: var(--space-4);
  filter: brightness(1);
}
.footer-brand p {
  font-size: var(--text-sm);
  line-height: 1.7;
}
.footer-social-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.4);
  margin-top: var(--space-5) !important;
  margin-bottom: var(--space-3) !important;
}
.footer-social-icons {
  display: flex;
  gap: var(--space-3);
}
.footer-social-icons a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: rgba(255, 255, 255, 0.75);
  font-size: 1rem;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
  text-decoration: none;
}
.footer-social-icons a:hover {
  background: var(--yellow);
  border-color: var(--yellow);
  color: var(--navy);
}

.footer-col h4 {
  font-family: var(--font-heading);
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--yellow);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: var(--space-5);
}
.footer-links li + li {
  margin-top: var(--space-3);
}
.footer-links a {
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.65);
  transition: color var(--transition);
}
.footer-links a:hover {
  color: var(--yellow);
}

.footer-divider {
  border: none;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-bottom: var(--space-6);
}

.footer-bottom {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  font-size: var(--text-xs);
  color: rgba(255, 255, 255, 0.4);
}
@media (min-width: 768px) {
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}

/* ─────────────────────────────────────────────────────────────
   FLOATING ACTION BUTTON (unified contact)
   ───────────────────────────────────────────────────────── */
.fab-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 90;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
}

.fab-main {
  width: 62px;
  height: 62px;
  border-radius: var(--radius-full);
  background: var(--whatsapp);
  color: var(--white);
  border: none;
  font-size: 22px;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.45);
  cursor: pointer;
  transition: all 0.25s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}
.fab-main:hover {
  transform: scale(1.08);
}
.fab-main[aria-expanded="true"] {
  background: var(--navy);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.fab-options {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: flex-end;
  opacity: 0;
  transform: translateY(8px) scale(0.95);
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
}
.fab-options.open {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: all;
}

.fab-option {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px 10px 14px;
  border-radius: var(--radius-full);
  color: var(--white);
  font-family: var(--font-heading);
  font-size: var(--text-sm);
  font-weight: 600;
  box-shadow: 0 2px 14px rgba(0, 0, 0, 0.18);
  transition: transform 0.2s ease;
  white-space: nowrap;
}
.fab-option:hover {
  transform: translateX(-3px);
}
.fab-option i {
  font-size: 17px;
}
.fab-wa {
  background: var(--whatsapp);
}
.fab-call {
  background: var(--navy);
}

/* ─────────────────────────────────────────────────────────────
   KEYFRAMES
   ───────────────────────────────────────────────────────── */

/* Animated gradient — navy sections (How It Works) */
@keyframes gradient-shift {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

/* Animated gradient — light sections (Why Us) */
@keyframes gradient-light {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

/* Shimmer sweep — Hero badge */
@keyframes badge-shimmer {
  0% {
    left: -100%;
  }
  38%,
  100% {
    left: 160%;
  }
}

/* Drop-shadow glow pulse — Hero logo character image */
@keyframes glass-glow-img {
  0%,
  100% {
    filter: drop-shadow(0 8px 24px rgba(0, 0, 0, 0.35));
  }
  50% {
    filter: drop-shadow(0 8px 24px rgba(0, 0, 0, 0.35))
      drop-shadow(0 0 20px rgba(255, 246, 0, 0.25));
  }
}
