/* Advantage Courts Maintenance — main stylesheet */

:root {
  --color-bg: #f0f2ef;
  --color-bg-warm: #e8ebe6;
  --color-bg-elevated: #fdfdfb;
  --color-primary: #071a2e;
  --color-primary-soft: #0f2d4a;
  --color-accent: #256784;
  --color-accent-bright: #3d87a8;
  --color-gold: #9a8b6a;
  --color-lime: #6b8f4a;
  --color-text: #141c26;
  --color-text-muted: #4d5666;
  --color-border: rgba(7, 26, 46, 0.09);
  --font-sans: "Sora", system-ui, sans-serif;
  --font-display: "Instrument Serif", Georgia, "Times New Roman", serif;
  --shadow-sm: 0 1px 0 rgba(255, 255, 255, 0.6) inset, 0 1px 2px rgba(7, 26, 46, 0.05);
  --shadow-md: 0 12px 40px rgba(7, 26, 46, 0.09);
  --shadow-lg: 0 28px 60px rgba(7, 26, 46, 0.11);
  --radius: 10px;
  --radius-lg: 14px;
  --max-width: 1180px;
  --header-h: 76px;

  /* Spacing scale (4px base) */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-7: 2rem;
  --space-8: 2.5rem;
  --space-9: 3rem;
  --space-10: 4rem;
  --space-11: 5rem;
  --section-x: clamp(1.25rem, 4vw, 2rem);
  --section-y: clamp(3.75rem, 10vw, 6.5rem);
  --touch-min: 48px;
  --safe-top: env(safe-area-inset-top, 0px);
  --safe-bottom: env(safe-area-inset-bottom, 0px);
  --safe-left: env(safe-area-inset-left, 0px);
  --safe-right: env(safe-area-inset-right, 0px);
  --site-header-offset: 0px;

  /* Typography scale */
  --text-xs: 0.6875rem;
  --text-sm: 0.8125rem;
  --text-base: 1rem;
  --text-md: 1.0625rem;
  --text-lg: 1.125rem;
  --leading-none: 1.1;
  --leading-tight: 1.2;
  --leading-snug: 1.35;
  --leading-normal: 1.55;
  --leading-relaxed: 1.65;
  --leading-body: 1.625;
  --tracking-label: 0.14em;
  --tracking-tight: -0.035em;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: var(--text-base);
  line-height: var(--leading-body);
  color: var(--color-text);
  background-color: var(--color-bg);
  background-image:
    radial-gradient(ellipse 120% 80% at 50% -30%, rgba(255, 255, 255, 0.65), transparent 55%),
    linear-gradient(180deg, var(--color-bg) 0%, var(--color-bg-warm) 48%, var(--color-bg) 100%);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.nav-open {
  overflow: hidden;
  overscroll-behavior: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--color-accent);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  padding: 0.75rem 1rem;
  background: var(--color-primary);
  color: #fff;
}

.skip-link:focus {
  left: 0;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(253, 253, 251, 0.88);
  backdrop-filter: blur(14px) saturate(1.2);
  border-bottom: 1px solid rgba(7, 26, 46, 0.06);
}

.header-inner {
  position: relative;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: calc(var(--space-5) + var(--safe-top)) max(var(--section-x), var(--safe-right))
    var(--space-5) max(var(--section-x), var(--safe-left));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
  min-height: var(--header-h);
}

/* Mobile: two-column row — logo | quote + menu (avoids flex quirks with hidden nav) */
@media (max-width: 899px) {
  .header-inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    column-gap: var(--space-3);
  }

  .logo {
    max-width: none;
    justify-self: start;
    min-width: 0;
  }

  .header-actions {
    justify-self: end;
    flex-shrink: 0;
  }

  /* .btn sets display:inline-flex — must beat it or desktop CTA shows on mobile */
  .header-cta-desktop.btn.btn-primary {
    display: none !important;
  }
}

.logo {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: clamp(0.5rem, 2vw, 0.75rem);
  min-width: 0;
  font-weight: 600;
  font-size: clamp(0.9375rem, 2vw, 1.0625rem);
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: var(--color-primary);
  text-decoration: none;
}

@media (min-width: 900px) {
  .logo {
    max-width: none;
  }
}

.logo__main {
  font-weight: 600;
}

.logo__text {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

.logo__sub {
  font-size: 0.68em;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-accent);
  opacity: 0.95;
}

.logo__icon {
  width: clamp(36px, 8vw, 48px);
  height: auto;
  margin-bottom: 0;
  flex-shrink: 0;
}

.logo:hover {
  text-decoration: none;
  color: var(--color-primary-soft);
}

.logo:hover .logo__sub {
  color: var(--color-primary-soft);
}

.nav-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: var(--touch-min);
  height: var(--touch-min);
  padding: 0;
  border: none;
  background: transparent;
  cursor: pointer;
  border-radius: var(--radius);
  touch-action: manipulation;
  color: inherit;
  transition: background-color 0.2s ease;
}

.nav-toggle:hover {
  background: rgba(7, 26, 46, 0.06);
}

.nav-toggle:focus-visible {
  background: rgba(37, 103, 132, 0.12);
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--color-primary);
  margin: 0 auto;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile: full-viewport overlay menu (below measured header bar) */
@media (max-width: 899px) {
  body.nav-open .site-header .logo,
  body.nav-open .site-header .header-actions {
    position: relative;
    z-index: 120;
  }

  body.nav-open .site-header {
    z-index: 110;
  }
}

.site-nav {
  display: none;
}

@media (max-width: 899px) {
  .site-nav {
    position: fixed;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    width: 100%;
    height: 100dvh;
    min-height: 100dvh;
    max-height: none;
    z-index: 100;
    flex-direction: column;
    padding: 0;
    padding-top: var(--site-header-offset);
    padding-bottom: var(--safe-bottom);
    margin: 0;
    overflow: hidden;
    background: var(--color-bg-elevated);
    border: none;
    box-shadow: none;
    -webkit-overflow-scrolling: touch;
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav__scroll {
    flex: 1 1 auto;
    min-height: 0;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    overscroll-behavior: contain;
    padding: var(--space-5) max(var(--section-x), var(--safe-left)) var(--space-7)
      max(var(--section-x), var(--safe-right));
  }
}

@media (min-width: 900px) {
  .site-nav {
    display: flex !important;
    position: static;
    left: auto;
    right: auto;
    top: auto;
    bottom: auto;
    width: auto;
    height: auto;
    min-height: 0;
    z-index: auto;
    flex: 1;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    padding: 0;
    margin: 0 var(--space-4);
    overflow: visible;
    background: transparent;
    border: none;
    box-shadow: none;
  }

  .site-nav.is-open {
    display: flex !important;
  }

  .site-nav__scroll {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    width: 100%;
    flex: 1;
    min-height: 0;
    overflow: visible;
    padding: 0;
  }
}

.site-nav__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
}

@media (min-width: 900px) {
  .site-nav__list {
    flex-direction: row;
    align-items: center;
    gap: clamp(1rem, 2vw, 1.5rem);
  }
}

.site-nav__list a {
  display: flex;
  align-items: center;
  min-height: var(--touch-min);
  padding: var(--space-3) var(--space-4);
  margin: 0;
  color: var(--color-text);
  font-weight: 500;
  font-size: var(--text-lg);
  line-height: var(--leading-snug);
  text-decoration: none;
  border-radius: var(--radius);
  position: relative;
  transition: color 0.2s ease, background-color 0.2s ease;
}

@media (max-width: 899px) {
  .site-nav__list a {
    font-size: 1.125rem;
    font-weight: 500;
    letter-spacing: -0.01em;
    border-left: 3px solid transparent;
    transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
  }

  .site-nav__list a:hover,
  .site-nav__list a:focus-visible {
    color: var(--color-primary);
    text-decoration: none;
    background: rgba(37, 103, 132, 0.07);
    border-left-color: var(--color-accent);
  }
}

@media (min-width: 900px) {
  .site-nav__list a {
    min-height: auto;
    padding: var(--space-2) 0;
    font-size: 0.9375rem;
  }

  .site-nav__list a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 2px;
    background: var(--color-accent);
    transform: scaleX(0);
    transform-origin: right center;
    transition: transform 0.22s ease;
  }

  .site-nav__list a:hover::after,
  .site-nav__list a:focus-visible::after {
    transform: scaleX(1);
    transform-origin: left center;
  }

  .site-nav__list a:hover,
  .site-nav__list a:focus-visible {
    color: var(--color-primary);
    text-decoration: none;
    background: transparent;
  }
}

.site-nav__cta {
  margin-top: auto;
  padding-top: var(--space-6);
  border-top: 1px solid var(--color-border);
  flex-shrink: 0;
}

@media (min-width: 900px) {
  .site-nav__cta {
    display: none;
  }
}

.site-nav__cta .btn-nav-cta {
  width: 100%;
  min-height: var(--touch-min);
  justify-content: center;
  padding: 0.75rem 1.25rem;
  box-shadow: none;
  transition: background-color 0.2s ease, box-shadow 0.2s ease;
}

.site-nav__cta .btn-nav-cta:hover {
  background: var(--color-primary-soft);
  text-decoration: none;
  color: #fff;
  box-shadow: 0 4px 20px rgba(7, 26, 46, 0.18);
  transform: none;
}

.site-nav__cta .btn-nav-cta:active {
  transform: none;
}

.header-actions {
  display: inline-flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-end;
  gap: var(--space-2);
  flex-shrink: 0;
}

.header-cta-mobile {
  box-sizing: border-box;
  align-self: center;
  min-height: 48px;
  min-width: 4.75rem;
  padding: 0.625rem 1.125rem;
  font-size: 0.8125rem;
  line-height: 1.2;
  letter-spacing: 0.04em;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.08) inset;
  transition: background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.header-cta-mobile:hover {
  background: var(--color-primary-soft);
  border-color: rgba(255, 255, 255, 0.18);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.1) inset, 0 6px 18px rgba(7, 26, 46, 0.2);
  text-decoration: none;
  color: #fff;
  transform: none;
}

.header-cta-mobile:active {
  transform: none;
}

.header-cta-desktop {
  display: none;
  flex-shrink: 0;
}

.btn-compact {
  font-size: 0.8125rem;
  letter-spacing: 0.03em;
}

@media (min-width: 900px) {
  .nav-toggle {
    display: none;
  }

  .header-actions {
    display: none;
  }

  .header-actions-desktop {
    display: inline-flex;
    gap: var(--space-2);
  }

  .header-cta-desktop.btn.btn-primary {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0.625rem 1.375rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.08) inset;
    transition: background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
  }

  .header-actions-desktop a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .header-cta-desktop.btn.btn-primary:hover {
    background: var(--color-primary-soft);
    border-color: rgba(255, 255, 255, 0.16);
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.1) inset, 0 6px 20px rgba(7, 26, 46, 0.18);
    text-decoration: none;
    color: #fff;
    transform: none;
  }

  .header-cta-desktop.btn.btn-primary:active {
    transform: none;
  }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: 0.875rem 1.625rem;
  min-height: var(--touch-min);
  font-family: var(--font-sans);
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1.25;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  text-decoration: none;
  touch-action: manipulation;
  transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn-block {
  width: 100%;
}

.btn:active {
  transform: scale(0.98);
}

.site-header .btn:active,
.site-nav__cta .btn:active {
  transform: none;
}

.btn-primary {
  background: var(--color-primary);
  color: #fff;
  box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
  background: var(--color-primary-soft);
  text-decoration: none;
  color: #fff;
  box-shadow: var(--shadow-md);
}

/* Header CTAs: avoid global primary hover jump — keep navbar consistent */
.site-header .btn-primary:hover {
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.1) inset, 0 6px 20px rgba(7, 26, 46, 0.18);
}

.btn-accent {
  background: var(--color-accent);
  color: #fff;
}

.btn-accent:hover {
  background: var(--color-accent-bright);
  text-decoration: none;
  color: #fff;
}

.btn-whatsapp {
  background: #25d366;
  color: #fff;
}

.btn-whatsapp:hover {
  background: #1ebe55;
  text-decoration: none;
  color: #fff;
}

.btn-outline {
  background: transparent;
  color: var(--color-primary);
  border: 2px solid var(--color-primary);
}

.btn-outline:hover {
  background: var(--color-primary);
  color: #fff;
  text-decoration: none;
}

/* Sections */
.section {
  padding: var(--section-y) var(--section-x);
}

.section-inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

.section-label {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: var(--tracking-label);
  text-transform: uppercase;
  color: var(--color-accent);
  margin: 0 0 var(--space-3);
  line-height: var(--leading-tight);
}

.section-label::after {
  content: "";
  flex: 1;
  max-width: 4rem;
  height: 1px;
  background: linear-gradient(90deg, var(--color-gold), transparent);
  opacity: 0.6;
}

@media (max-width: 380px) {
  .section-label::after {
    display: none;
  }
}

.section-title {
  margin: 0 0 var(--space-5);
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.5vw, 2.75rem);
  font-weight: 400;
  font-style: normal;
  letter-spacing: -0.02em;
  line-height: 1.12;
  color: var(--color-primary);
}

.section-intro {
  margin: 0 0 var(--space-8);
  max-width: 48ch;
  color: var(--color-text-muted);
  font-size: var(--text-md);
  line-height: var(--leading-relaxed);
}

#why .section-title {
  margin-bottom: var(--space-8);
}

.section--panel {
  background: var(--color-bg-elevated);
  border-top: 1px solid rgba(7, 26, 46, 0.05);
  border-bottom: 1px solid rgba(7, 26, 46, 0.05);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

/* Hero */
.hero {
  position: relative;
  min-height: min(88vh, 720px);
  display: flex;
  align-items: flex-end;
  padding: 0;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 90% 70% at 70% 20%, rgba(37, 103, 132, 0.22), transparent 55%),
    linear-gradient(180deg, rgba(7, 26, 46, 0.38) 0%, rgba(7, 26, 46, 0.82) 100%);
  z-index: 1;
}

.hero-vignette {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  box-shadow: inset 0 0 120px rgba(0, 0, 0, 0.35);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: clamp(3rem, 7vw, 5rem) var(--section-x);
}

.hero-inner {
  max-width: 40rem;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-4);
  margin-bottom: var(--space-6);
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: var(--leading-tight);
  color: #e8f4f8;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
}

.hero h1 {
  margin: 0 0 var(--space-5);
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6vw, 3.75rem);
  font-weight: 400;
  letter-spacing: -0.03em;
  line-height: 1.05;
  color: #fff;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.15);
}

.hero p,
.hero .hero-lead {
  margin: 0 0 var(--space-7);
  font-size: clamp(1rem, 2.2vw, 1.1875rem);
  color: rgba(255, 255, 255, 0.92);
  line-height: var(--leading-relaxed);
  max-width: 44ch;
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: clamp(1.85rem, 7.5vw, 2.75rem);
    line-height: 1.08;
  }
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
  align-items: stretch;
}

@media (max-width: 599px) {
  .hero {
    min-height: min(92vh, 780px);
  }

  .hero-content {
    padding-bottom: calc(clamp(2.5rem, 6vw, 4rem) + var(--safe-bottom));
  }

  .hero-cta {
    flex-direction: column;
    gap: var(--space-3);
    max-width: 22rem;
  }

  .hero-cta .btn {
    width: 100%;
    justify-content: center;
  }
}

@media (min-width: 600px) {
  .hero-cta {
    align-items: center;
  }
}

.hero .btn-primary {
  background: #fff;
  color: var(--color-primary);
}

.hero .btn-primary:hover {
  background: #e8f4f8;
  color: var(--color-primary);
}

.hero .btn-hero-ghost {
  border: 2px solid rgba(255, 255, 255, 0.55);
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.hero .btn-hero-ghost:hover {
  background: #fff;
  color: var(--color-primary);
  border-color: #fff;
  text-decoration: none;
}

/* Trust strip (below hero) */
.trust-strip {
  background: linear-gradient(180deg, #0c1f35 0%, #071a2e 50%, #0a1628 100%);
  color: #e8f0f0;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  border-bottom: 1px solid rgba(0, 0, 0, 0.25);
  position: relative;
}

.trust-strip::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 120% at 50% -30%, rgba(61, 135, 168, 0.12), transparent 55%);
  pointer-events: none;
}

.trust-strip__inner {
  position: relative;
  z-index: 1;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: var(--space-7) var(--section-x);
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-6);
}

@media (min-width: 640px) {
  .trust-strip__inner {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-6) var(--space-7);
  }
}

@media (min-width: 1024px) {
  .trust-strip__inner {
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-7);
    align-items: start;
  }
}

.trust-strip__item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-4);
}

@media (min-width: 1024px) {
  .trust-strip__item {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: var(--space-3);
  }
}

.trust-strip__icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #7eb8d4;
}

.trust-strip__text {
  font-size: 0.875rem;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.86);
}

.trust-strip__text strong {
  color: #fff;
  font-weight: 600;
}

/* Local areas + FAQ */
.areas-layout {
  display: grid;
  gap: var(--space-8);
  align-items: start;
}

@media (min-width: 880px) {
  .areas-layout {
    grid-template-columns: 1.2fr 1fr;
    gap: var(--space-9);
  }
}

.areas-content p {
  margin: 0 0 var(--space-5);
  color: var(--color-text-muted);
  font-size: var(--text-md);
  line-height: var(--leading-relaxed);
}

.areas-content p:last-child {
  margin-bottom: 0;
}

.areas-aside {
  background: var(--color-bg-elevated);
  border: 1px solid rgba(7, 26, 46, 0.08);
  border-radius: var(--radius-lg);
  padding: var(--space-6) var(--space-7);
  box-shadow: var(--shadow-sm);
}

.areas-aside__title {
  margin: 0 0 var(--space-4);
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: var(--tracking-label);
  text-transform: uppercase;
  color: var(--color-accent);
}

.areas-list {
  margin: 0;
  padding-left: 1.15rem;
  color: var(--color-text);
  line-height: 1.65;
  font-size: 0.9375rem;
}

.areas-list li {
  margin-bottom: var(--space-2);
}

.areas-list li:last-child {
  margin-bottom: 0;
}

.faq-list {
  display: grid;
  gap: 0;
  max-width: 52rem;
}

.faq-item {
  padding: var(--space-6) 0;
  border-bottom: 1px solid rgba(7, 26, 46, 0.08);
}

.faq-item:first-child {
  padding-top: 0;
}

.faq-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.faq-item__q {
  margin: 0 0 var(--space-3);
  font-family: var(--font-sans);
  font-size: clamp(1.0625rem, 2.5vw, 1.1875rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.35;
  color: var(--color-primary);
}

.faq-item__a {
  margin: 0;
  color: var(--color-text-muted);
  font-size: var(--text-md);
  line-height: var(--leading-relaxed);
}

/* Services grid */
.services-grid {
  display: grid;
  gap: var(--space-6);
}

@media (min-width: 600px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 960px) {
  .services-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-7);
  }
}

.service-card {
  position: relative;
  background: var(--color-bg-elevated);
  border: 1px solid rgba(7, 26, 46, 0.06);
  border-radius: var(--radius-lg);
  padding: var(--space-6) var(--space-7);
  padding-top: calc(var(--space-6) + 3px);
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.2s ease;
}

.service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 1.25rem;
  right: 1.25rem;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(154, 139, 106, 0.45), transparent);
  opacity: 0.9;
}

.service-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: rgba(37, 103, 132, 0.22);
}

.service-icon {
  width: 44px;
  height: 44px;
  margin-bottom: var(--space-5);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: var(--color-bg);
  border: 1px solid rgba(7, 26, 46, 0.06);
  color: var(--color-primary);
}

.service-card h3 {
  margin: 0 0 var(--space-3);
  font-size: var(--text-md);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: var(--leading-snug);
  color: var(--color-primary);
}

.service-card p {
  margin: 0;
  font-size: 0.9375rem;
  color: var(--color-text-muted);
  line-height: var(--leading-normal);
}

/* About */
.about-layout {
  display: grid;
  gap: var(--space-8);
  align-items: center;
}

@media (min-width: 800px) {
  .about-layout {
    grid-template-columns: 1fr 1.1fr;
    gap: clamp(2.5rem, 4vw, 3.75rem);
  }
}

.about-visual {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4/3;
  border: 1px solid rgba(7, 26, 46, 0.06);
}

.about-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: var(--space-5) var(--space-5);
  font-size: var(--text-xs);
  line-height: var(--leading-normal);
  letter-spacing: 0.02em;
  color: rgba(255, 255, 255, 0.9);
  background: linear-gradient(transparent, rgba(10, 37, 64, 0.85));
}

.about-text .section-label {
  margin-bottom: var(--space-3);
}

.about-text .section-title {
  margin-bottom: var(--space-6);
}

.about-text p {
  margin: 0 0 var(--space-5);
  color: var(--color-text-muted);
  font-size: var(--text-md);
  line-height: var(--leading-relaxed);
}

.about-text p:last-child {
  margin-bottom: 0;
}

/* Gallery */
.gallery-grid {
  display: grid;
  gap: var(--space-5);
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.gallery-item {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--color-bg-elevated);
  border: 1px solid rgba(7, 26, 46, 0.07);
  box-shadow: var(--shadow-sm);
}

.gallery-item img {
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.gallery-item--split img {
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.gallery-item:hover img {
  transform: scale(1.02);
}

.gallery-label {
  position: absolute;
  top: var(--space-4);
  left: var(--space-4);
  padding: var(--space-2) var(--space-3);
  font-size: var(--text-xs);
  font-family: var(--font-sans);
  font-weight: 700;
  letter-spacing: 0.1em;
  line-height: 1.2;
  text-transform: uppercase;
  border-radius: 4px;
  color: #fff;
}

.gallery-label--split {
  background: rgba(7, 26, 46, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(6px);
}

.gallery-label--before {
  background: rgba(90, 101, 120, 0.92);
}

.gallery-label--after {
  background: rgba(44, 125, 160, 0.95);
}

.gallery-note {
  padding: var(--space-4) var(--space-5);
  font-size: var(--text-sm);
  line-height: var(--leading-normal);
  color: var(--color-text-muted);
  background: var(--color-bg-elevated);
  border-top: 1px solid rgba(7, 26, 46, 0.06);
}

/* Why */
.why-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: var(--space-5);
}

@media (min-width: 640px) {
  .why-list {
    grid-template-columns: repeat(2, 1fr);
  }
}

.why-item {
  display: flex;
  gap: var(--space-5);
  padding: var(--space-6) var(--space-7);
  background: var(--color-bg-elevated);
  border: 1px solid rgba(7, 26, 46, 0.06);
  border-left: 3px solid var(--color-accent);
  border-radius: var(--radius);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.why-item:hover {
  border-color: rgba(37, 103, 132, 0.22);
  border-left-color: var(--color-accent);
  box-shadow: var(--shadow-sm);
}

.why-check {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--color-bg);
  border: 1px solid rgba(37, 103, 132, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-accent);
  font-size: 0.75rem;
  font-weight: 700;
}

.why-item strong {
  display: block;
  margin-bottom: var(--space-2);
  color: var(--color-primary);
  font-size: var(--text-base);
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: var(--leading-snug);
}

.why-item span {
  font-size: 0.9375rem;
  line-height: var(--leading-normal);
  color: var(--color-text-muted);
}

/* CTA band */
.cta-band {
  background: linear-gradient(145deg, #050f1a 0%, var(--color-primary) 42%, #0c2d4a 100%);
  color: #fff;
  text-align: center;
  padding: clamp(3.5rem, 9vw, 5.25rem) var(--section-x);
  position: relative;
  overflow: hidden;
}

.cta-band::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -20%;
  width: 60%;
  height: 200%;
  background: radial-gradient(circle, rgba(74, 155, 196, 0.15) 0%, transparent 70%);
  pointer-events: none;
}

.cta-band .section-inner {
  position: relative;
  z-index: 1;
}

.cta-band h2 {
  margin: 0 0 var(--space-4);
  font-family: var(--font-display);
  font-size: clamp(1.875rem, 4.2vw, 2.5rem);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: var(--leading-tight);
}

.cta-band p {
  margin: 0 auto var(--space-7);
  max-width: 38ch;
  color: rgba(255, 255, 255, 0.9);
  font-size: var(--text-md);
  line-height: var(--leading-relaxed);
}

.cta-band .btn-primary {
  background: #fff;
  color: var(--color-primary);
}

.cta-band .btn-primary:hover {
  background: #e8f4f8;
}

.cta-band__btn {
  min-width: min(100%, 16rem);
}

@media (max-width: 599px) {
  .cta-band__btn {
    width: 100%;
    max-width: 20rem;
    margin-left: auto;
    margin-right: auto;
  }
}

/* Contact */
.contact-layout {
  display: grid;
  gap: var(--space-9);
}

@media (min-width: 800px) {
  .contact-layout {
    grid-template-columns: 1fr 1.1fr;
    gap: clamp(2.5rem, 4vw, 3.75rem);
    align-items: start;
  }
}

.contact-details > .section-label {
  margin-bottom: var(--space-3);
}

.contact-details > .section-title {
  margin-bottom: var(--space-6);
}

.contact-details > .section-label::after {
  display: none;
}

.contact-details > h2 + p {
  margin: 0 0 var(--space-7);
  max-width: 42ch;
  line-height: var(--leading-relaxed);
  color: var(--color-text-muted);
}

.contact-details > h3 {
  margin: 0 0 var(--space-3);
  font-size: var(--text-lg);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: var(--leading-tight);
  color: var(--color-primary);
}

.contact-details > p.contact-phone {
  margin: 0 0 var(--space-2);
}

.contact-details > p.contact-note {
  margin: 0;
  font-size: 0.9375rem;
  line-height: var(--leading-normal);
  color: var(--color-text-muted);
}

.contact-phone {
  font-size: 1.3125rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: var(--leading-tight);
  color: var(--color-primary);
}

.contact-phone a {
  color: inherit;
  text-decoration: none;
}

.contact-phone a:hover {
  color: var(--color-accent);
}

.contact-form {
  background: var(--color-bg-elevated);
  padding: var(--space-8) var(--space-7);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
}

.form-row {
  margin-bottom: var(--space-5);
}

.form-row:last-of-type {
  margin-bottom: var(--space-6);
}

.form-row label {
  display: block;
  margin-bottom: var(--space-2);
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: var(--leading-tight);
  color: var(--color-primary);
}

.form-row input,
.form-row textarea {
  width: 100%;
  padding: var(--space-4) var(--space-5);
  font-family: var(--font-sans);
  font-size: var(--text-base);
  line-height: var(--leading-snug);
  border: 1px solid var(--color-border);
  border-radius: 8px;
  background: var(--color-bg);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-row input:focus,
.form-row textarea:focus {
  outline: none;
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(44, 125, 160, 0.2);
}

@media (max-width: 599px) {
  .form-row input {
    min-height: var(--touch-min);
  }
}

.form-row textarea {
  min-height: 120px;
  resize: vertical;
}

.form-hint {
  margin: var(--space-4) 0 0;
  font-size: var(--text-sm);
  line-height: var(--leading-normal);
  color: var(--color-text-muted);
}

.btn-submit {
  width: 100%;
  margin-top: var(--space-2);
}

@media (min-width: 600px) {
  .btn-submit {
    width: auto;
    min-width: 12rem;
    margin-top: 0;
  }
}

/* Footer */
.site-footer {
  padding-top: var(--space-8);
  padding-right: max(var(--section-x), var(--safe-right));
  padding-bottom: calc(var(--space-8) + var(--safe-bottom));
  padding-left: max(var(--section-x), var(--safe-left));
  border-top: 1px solid rgba(7, 26, 46, 0.08);
  background: linear-gradient(180deg, #fbfbf8 0%, var(--color-bg-elevated) 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  align-items: center;
  text-align: center;
  font-size: 0.9375rem;
  line-height: var(--leading-snug);
  color: var(--color-text-muted);
}

@media (min-width: 600px) {
  .footer-inner {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-end;
    text-align: left;
  }
}

.footer-brand-block {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 0.9rem;
}

.footer-brand-copy {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.footer-logo-icon {
  width: 44px;
  height: auto;
  display: block;
  flex-shrink: 0;
}

.footer-brand {
  font-weight: 700;
  font-size: 1.0625rem;
  letter-spacing: -0.02em;
  color: var(--color-primary);
}

.footer-tag {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-accent);
}

.footer-meta {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  align-items: center;
  font-size: 0.875rem;
  line-height: 1.45;
  opacity: 0.92;
}

@media (min-width: 600px) {
  .footer-meta {
    align-items: flex-end;
    text-align: right;
  }
}

.footer-meta__loc,
.footer-meta__contact {
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--color-text-muted);
  letter-spacing: 0.02em;
}

.footer-meta__contact a {
  color: var(--color-text-muted);
  text-decoration: none;
}

.footer-meta__contact a:hover {
  color: var(--color-accent);
}

/* Scroll animations */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
