/*
  ============================================================
  Jai-White Cleaning Services — style.css
  JE Cleaning Services Pty Ltd
  ------------------------------------------------------------
  Architecture:
  1.  CSS Custom Properties (Design Tokens)
  2.  Reset & Base
  3.  Typography
  4.  Layout Utilities
  5.  Buttons
  6.  Navbar
  7.  Hero
  8.  About
  9.  Services
  10. Why Choose Us
  11. Contact
  12. Footer
  13. Animations & Transitions
  14. Responsive (≤768px)
  ============================================================
*/


/* ============================================================
   1. CSS CUSTOM PROPERTIES (Design Tokens)
   These translate directly to a theme.js file in a React app
============================================================ */
:root {
  /* Colors */
  --color-primary:        #1e5631;   /* Deep Forest Green */
  --color-primary-light:  #2e7d47;
  --color-primary-dark:   #154025;
  --color-accent:         #6abf69;   /* Leaf Green accent */
  --color-white:          #ffffff;
  --color-bg:             #f7f9f7;   /* Near-white with green tint */
  --color-bg-tinted:      #eef3ee;
  --color-text:           #1a2e1a;   /* Deep green-black */
  --color-text-muted:     #567356;
  --color-border:         #d0e0d0;
  --color-shadow:         rgba(30, 86, 49, 0.10);
  --color-shadow-hover:   rgba(30, 86, 49, 0.20);

  /* Typography */
  --font-heading:  'Playfair Display', Georgia, serif;
  --font-body:     'DM Sans', 'Helvetica Neue', Arial, sans-serif;

  /* Spacing scale */
  --space-xs:   0.25rem;
  --space-sm:   0.5rem;
  --space-md:   1rem;
  --space-lg:   1.5rem;
  --space-xl:   2rem;
  --space-2xl:  3rem;
  --space-3xl:  5rem;

  /* Radii */
  --radius-sm:   6px;
  --radius-md:   12px;
  --radius-lg:   20px;
  --radius-full: 9999px;

  /* Transitions */
  --transition-fast:   150ms ease;
  --transition-base:   250ms ease;
  --transition-slow:   400ms ease;

  /* Shadows */
  --shadow-card:  0 2px 16px var(--color-shadow);
  --shadow-hover: 0 8px 32px var(--color-shadow-hover);
  --shadow-nav:   0 2px 20px rgba(30, 86, 49, 0.08);

  /* Layout */
  --container-max: 1160px;
  --navbar-height: 70px;
}


/* ============================================================
   2. RESET & BASE
============================================================ */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--color-text);
  background-color: var(--color-bg);
  -webkit-font-smoothing: antialiased;
}

img,
svg {
  display: block;
  max-width: 100%;
}

.navbar__logo-img {
  height: 80px;
  width: auto;
  border-radius: 8px; /* optional: softens the black background corners */
}

a {
  color: inherit;
  text-decoration: none;
}

ul, ol {
  list-style: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

input,
textarea {
  font-family: inherit;
  font-size: inherit;
}


/* ============================================================
   3. TYPOGRAPHY
============================================================ */
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  line-height: 1.2;
  color: var(--color-primary-dark);
}

/* Section label pill */
.section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-primary);
  background-color: rgba(106, 191, 105, 0.18);
  padding: var(--space-xs) var(--space-md);
  border-radius: var(--radius-full);
  margin-bottom: var(--space-md);
}

.section-heading {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  margin-bottom: var(--space-md);
}

.section-sub {
  font-size: 1.05rem;
  color: var(--color-text-muted);
  max-width: 560px;
  margin: 0 auto;
}

.text-accent {
  color: var(--color-primary);
  font-style: italic;
}

.hide-mobile {
  display: inline;
}


/* ============================================================
   4. LAYOUT UTILITIES
============================================================ */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--space-xl);
}

.section {
  padding: var(--space-3xl) 0;
}

.section--tinted {
  background-color: var(--color-bg-tinted);
}

.section-intro {
  text-align: center;
  margin-bottom: var(--space-2xl);
}


/* ============================================================
   5. BUTTONS
============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  padding: 0.75rem 1.6rem;
  border-radius: var(--radius-full);
  border: 2px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: background-color var(--transition-base),
              color var(--transition-base),
              border-color var(--transition-base),
              transform var(--transition-fast),
              box-shadow var(--transition-base);
  white-space: nowrap;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
}

.btn:active {
  transform: translateY(0);
}

/* Primary: solid green */
.btn--primary {
  background-color: var(--color-primary);
  color: var(--color-white);
  border-color: var(--color-primary);
}

.btn--primary:hover {
  background-color: var(--color-primary-light);
  border-color: var(--color-primary-light);
}

/* Outline: bordered */
.btn--outline {
  background-color: transparent;
  color: var(--color-primary);
  border-color: var(--color-primary);
}

.btn--outline:hover {
  background-color: var(--color-primary);
  color: var(--color-white);
}

/* CTA (navbar) */
.btn--cta {
  background-color: var(--color-accent);
  color: var(--color-primary-dark);
  border-color: var(--color-accent);
  font-size: 0.875rem;
  padding: 0.6rem 1.25rem;
}

.btn--cta:hover {
  background-color: var(--color-primary);
  color: var(--color-white);
  border-color: var(--color-primary);
}

/* Size modifiers */
.btn--lg {
  font-size: 1rem;
  padding: 0.9rem 2rem;
}

.btn--full {
  width: 100%;
  justify-content: center;
}

/* Icon inside button */
.btn-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}


/* ============================================================
   6. NAVBAR
============================================================ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: rgba(247, 249, 247, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-border);
  transition: box-shadow var(--transition-base);
}

.navbar.scrolled {
  box-shadow: var(--shadow-nav);
}

.navbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--navbar-height);
  gap: var(--space-xl);
}

/* Logo */
.navbar__logo {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  flex-shrink: 0;
}

.logo-mark {
  width: 40px;
  height: 40px;
  background-color: var(--color-primary);
  color: var(--color-white);
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  letter-spacing: 0.02em;
}

.logo-mark--sm {
  width: 34px;
  height: 34px;
  font-size: 0.875rem;
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.logo-text__primary {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-primary-dark);
}

.logo-text__secondary {
  font-size: 0.7rem;
  font-weight: 400;
  color: var(--color-text-muted);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* Nav links */
.navbar__links {
  display: flex;
  align-items: center;
  gap: var(--space-xl);
}

.nav-link {
  font-size: 0.925rem;
  font-weight: 500;
  color: var(--color-text);
  position: relative;
  padding-bottom: 2px;
  transition: color var(--transition-base);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--color-primary);
  border-radius: 2px;
  transition: width var(--transition-base);
}

.nav-link:hover {
  color: var(--color-primary);
}

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

/* Actions */
.navbar__actions {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 24px;
  height: 18px;
  padding: 0;
  cursor: pointer;
}

.hamburger__bar {
  display: block;
  width: 100%;
  height: 2px;
  background-color: var(--color-primary-dark);
  border-radius: 2px;
  transition: transform var(--transition-base),
              opacity var(--transition-base);
}

/* Hamburger open state */
.hamburger.open .hamburger__bar:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}
.hamburger.open .hamburger__bar:nth-child(2) {
  opacity: 0;
}
.hamburger.open .hamburger__bar:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* Mobile Menu Drawer */
.mobile-menu {
  display: none;
  flex-direction: column;
  gap: var(--space-xs);
  padding: var(--space-md) var(--space-xl) var(--space-lg);
  background-color: var(--color-white);
  border-top: 1px solid var(--color-border);
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-slow);
}

.mobile-menu.open {
  max-height: 400px;
}

.mobile-link {
  font-size: 1rem;
  font-weight: 500;
  color: var(--color-text);
  padding: var(--space-sm) 0;
  border-bottom: 1px solid var(--color-border);
  transition: color var(--transition-base);
}

.mobile-link:hover {
  color: var(--color-primary);
}

.mobile-cta {
  margin-top: var(--space-sm);
  border: none;
  text-align: center;
  justify-content: center;
}


/* ============================================================
   7. HERO SECTION
============================================================ */
.hero {
  position: relative;
  padding-top: calc(var(--navbar-height) + var(--space-3xl));
  padding-bottom: var(--space-3xl);
  overflow: hidden;
  background-color: var(--color-bg);
}

/* Decorative circles */
.hero__bg-circle {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}

.hero__bg-circle--1 {
  width: 600px;
  height: 600px;
  top: -200px;
  right: -150px;
  background: radial-gradient(circle, rgba(106,191,105,0.12) 0%, transparent 70%);
}

.hero__bg-circle--2 {
  width: 400px;
  height: 400px;
  bottom: -100px;
  left: -80px;
  background: radial-gradient(circle, rgba(30,86,49,0.08) 0%, transparent 70%);
}

.hero__content {
  position: relative;
  z-index: 1;
  max-width: 720px;
}

/* Badge */
.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: 0.825rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: var(--space-lg);
  animation: fadeSlideDown 0.6s ease both;
}

.badge-dot {
  width: 8px;
  height: 8px;
  background-color: var(--color-accent);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

.hero__heading {
  font-size: clamp(2.4rem, 5.5vw, 4rem);
  font-weight: 700;
  color: var(--color-primary-dark);
  margin-bottom: var(--space-lg);
  animation: fadeSlideDown 0.6s ease 0.1s both;
}

.hero__subheading {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--color-text-muted);
  margin-bottom: var(--space-xl);
  font-weight: 300;
  animation: fadeSlideDown 0.6s ease 0.2s both;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
  margin-bottom: var(--space-2xl);
  animation: fadeSlideDown 0.6s ease 0.3s both;
}

/* Trust bar */
.hero__trust {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-lg);
  animation: fadeSlideDown 0.6s ease 0.4s both;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-text-muted);
}

.trust-item svg {
  width: 18px;
  height: 18px;
  stroke: var(--color-accent);
  flex-shrink: 0;
}


/* ============================================================
   8. ABOUT SECTION
============================================================ */
.about__inner {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: var(--space-3xl);
  align-items: center;
}

/* Visual / stat card */
.about__visual {
  position: relative;
}

.about__card {
  background-color: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-2xl);
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

.about__stat {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 2.75rem;
  font-weight: 700;
  color: var(--color-primary);
  line-height: 1;
}

.stat-label {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.about__divider {
  height: 1px;
  background-color: var(--color-border);
}

/* Decorative leaf circle behind card */
.about__leaf {
  position: absolute;
  bottom: -30px;
  right: -30px;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(106,191,105,0.25) 0%, transparent 70%);
  z-index: -1;
}

/* Text side */
.about__body {
  color: var(--color-text-muted);
  margin-bottom: var(--space-md);
  font-size: 1.025rem;
}

.about__body strong {
  color: var(--color-primary-dark);
  font-weight: 600;
}

.about__text .btn {
  margin-top: var(--space-sm);
}


/* ============================================================
   9. SERVICES SECTION
============================================================ */
.services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
}

.service-card {
  background-color: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: var(--space-xl);
  transition: transform var(--transition-base),
              box-shadow var(--transition-base),
              border-color var(--transition-base);
  cursor: default;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
  border-color: var(--color-accent);
}

.service-card__icon {
  width: 52px;
  height: 52px;
  background-color: rgba(106,191,105,0.15);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-md);
  transition: background-color var(--transition-base);
}

.service-card:hover .service-card__icon {
  background-color: rgba(30,86,49,0.12);
}

.service-card__icon svg {
  width: 26px;
  height: 26px;
  stroke: var(--color-primary);
  transition: stroke var(--transition-base);
}

.service-card__title {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--color-primary-dark);
  margin-bottom: var(--space-sm);
  font-family: var(--font-body);
}

.service-card__text {
  font-size: 0.925rem;
  color: var(--color-text-muted);
  line-height: 1.6;
}


/* ============================================================
   10. WHY CHOOSE US SECTION
============================================================ */
.why__inner {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: var(--space-3xl);
  align-items: start;
}

.why__text {
  position: sticky;
  top: calc(var(--navbar-height) + var(--space-lg));
}

.why__intro {
  color: var(--color-text-muted);
  font-size: 1.025rem;
  margin-top: var(--space-sm);
}

.why__list {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.why-item {
  display: flex;
  gap: var(--space-lg);
  align-items: flex-start;
  background-color: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: var(--space-lg) var(--space-xl);
  transition: transform var(--transition-base),
              box-shadow var(--transition-base);
}

.why-item:hover {
  transform: translateX(4px);
  box-shadow: var(--shadow-card);
}

.why-item__icon {
  width: 44px;
  height: 44px;
  background-color: rgba(106,191,105,0.15);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.why-item__icon svg {
  width: 22px;
  height: 22px;
  stroke: var(--color-primary);
}

.why-item__body strong {
  display: block;
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-primary-dark);
  margin-bottom: 4px;
}

.why-item__body p {
  font-size: 0.925rem;
  color: var(--color-text-muted);
}


/* ============================================================
   11. CONTACT SECTION
============================================================ */
.contact__inner {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: var(--space-3xl);
  align-items: start;
}

.contact__intro {
  color: var(--color-text-muted);
  font-size: 1.025rem;
  margin-top: var(--space-sm);
  margin-bottom: var(--space-xl);
}

.contact__details {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.contact-item {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  padding: var(--space-md) var(--space-lg);
  background-color: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  text-decoration: none;
  transition: transform var(--transition-base),
              box-shadow var(--transition-base),
              border-color var(--transition-base);
}

a.contact-item:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-card);
  border-color: var(--color-accent);
}

.contact-item__icon {
  width: 42px;
  height: 42px;
  background-color: rgba(106,191,105,0.15);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-item__icon svg {
  width: 20px;
  height: 20px;
  stroke: var(--color-primary);
}

.contact-item__text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.contact-item__label {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-text-muted);
}

.contact-item__value {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--color-primary-dark);
}

/* --- Contact Form --- */
.contact__form-wrap {
  background-color: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-2xl);
  box-shadow: var(--shadow-card);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
}

.form-label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-text);
}

.form-input {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-sm);
  background-color: var(--color-bg);
  color: var(--color-text);
  font-size: 0.95rem;
  outline: none;
  transition: border-color var(--transition-base),
              box-shadow var(--transition-base);
}

.form-input:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(30,86,49,0.10);
}

.form-input.error {
  border-color: #c0392b;
}

.form-textarea {
  resize: vertical;
  min-height: 130px;
}

.form-error {
  font-size: 0.8rem;
  color: #c0392b;
  font-weight: 500;
  min-height: 1.1em;
}

/* Form feedback message */
.form-feedback {
  font-size: 0.9rem;
  font-weight: 500;
  padding: var(--space-md);
  border-radius: var(--radius-sm);
  text-align: center;
  display: none;
}

.form-feedback.success {
  display: block;
  background-color: rgba(106,191,105,0.15);
  color: var(--color-primary-dark);
  border: 1px solid var(--color-accent);
}

.form-feedback.error {
  display: block;
  background-color: rgba(192,57,43,0.08);
  color: #c0392b;
  border: 1px solid rgba(192,57,43,0.3);
}


/* ============================================================
   12. FOOTER
============================================================ */
.footer {
  background-color: var(--color-primary-dark);
  color: rgba(255,255,255,0.85);
}

.footer__inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: var(--space-2xl);
  padding-top: var(--space-3xl);
  padding-bottom: var(--space-2xl);
  align-items: start;
}

.footer__logo-img {
  height: 90px;
  width: auto;
  object-fit: contain;
  display: block;
  background-color: #ffffff;
  padding: 8px 16px;
  border-radius: 10px;
}

.footer__logo .logo-mark {
  background-color: var(--color-accent);
  color: var(--color-primary-dark);
}

.footer__logo .logo-text__primary {
  color: var(--color-white);
}

.footer__logo .logo-text__secondary {
  color: rgba(255,255,255,0.6);
}

.footer__tagline {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.6);
  max-width: 280px;
  line-height: 1.6;
}

.footer__nav,
.footer__contact {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.footer__link {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.7);
  transition: color var(--transition-base);
}

.footer__link:hover {
  color: var(--color-accent);
}

.footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: var(--space-lg) 0;
  text-align: center;
  font-size: 0.825rem;
  color: rgba(255,255,255,0.45);
}


/* ============================================================
   13. ANIMATIONS & TRANSITIONS
============================================================ */
@keyframes fadeSlideDown {
  from {
    opacity: 0;
    transform: translateY(-16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pulse {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(106,191,105,0.4);
  }
  50% {
    box-shadow: 0 0 0 6px rgba(106,191,105,0);
  }
}

/* Scroll-reveal animation (triggered by script.js) */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger children */
.reveal:nth-child(1) { transition-delay: 0.05s; }
.reveal:nth-child(2) { transition-delay: 0.1s; }
.reveal:nth-child(3) { transition-delay: 0.15s; }
.reveal:nth-child(4) { transition-delay: 0.2s; }
.reveal:nth-child(5) { transition-delay: 0.25s; }
.reveal:nth-child(6) { transition-delay: 0.3s; }


/* ============================================================
   14. RESPONSIVE BREAKPOINTS
============================================================ */

/* ---- Tablet (≤ 1024px) ---- */
@media (max-width: 1024px) {
  .services__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .about__inner {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-2xl);
  }

  .why__inner {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }

  .why__text {
    position: static;
  }

  .contact__inner {
    grid-template-columns: 1fr;
    gap: var(--space-2xl);
  }

  .footer__inner {
    grid-template-columns: 1fr 1fr;
  }

  .footer__brand {
    grid-column: 1 / -1;
  }
}

/* ---- Mobile (≤ 768px) ---- */
@media (max-width: 768px) {
  :root {
    --space-3xl: 3.5rem;
  }

  /* Navbar */
  .navbar__links {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .mobile-menu {
    display: flex;
  }

  /* Hero */
  .hero__heading {
    font-size: 2.2rem;
  }

  .hide-mobile {
    display: none;
  }

  .hero__trust {
    flex-direction: column;
    gap: var(--space-sm);
  }

  /* About */
  .about__inner {
    grid-template-columns: 1fr;
  }

  .about__visual {
    order: -1;
  }

  .about__card {
    flex-direction: row;
    flex-wrap: wrap;
    gap: var(--space-lg);
    padding: var(--space-lg);
  }

  .about__stat {
    flex: 1;
    min-width: 100px;
  }

  .about__divider {
    display: none;
  }

  /* Services */
  .services__grid {
    grid-template-columns: 1fr;
  }

  /* Contact */
  .contact__form-wrap {
    padding: var(--space-lg);
  }

  /* Footer */
  .footer__inner {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }

  .footer__brand {
    grid-column: auto;
  }
}

/* ---- Small phones (≤ 480px) ---- */
@media (max-width: 480px) {
  .container {
    padding: 0 var(--space-lg);
  }

  .hero__actions {
    flex-direction: column;
  }

  .hero__actions .btn {
    width: 100%;
    justify-content: center;
  }

  .btn--lg {
    padding: 0.85rem 1.5rem;
  }
}
