/* ===================================
   AquaCat Container Solutions
   Static Site CSS — V2 Design System
   Direction: Modern-Utility-Warm (B)
   =================================== */

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-padding-top: 80px;
}

/* --- Design Tokens --- */
:root {
  /* Color palette */
  --navy:       #0A1628;
  --navy-light: #1E3A5F;
  --navy-900:   #060E1B;
  --coral:      #D97757;
  --coral-dark: #B45A3B;
  --cyan:       #22D3EE;
  --cyan-hover: #06B6D4;
  --mist:       #C8D4E4;
  --paper:      #F7F5F1;
  --stone:      #E8E4DD;
  --ink:        #0F1B2E;
  --graphite:   #4B5563;

  /* Legacy aliases (keep for backward compat with inline Tailwind classes) */
  --primary-dark: #0A1628;
  --blue: #3B82F6;
  --indigo: #6366F1;
  --off-white: #F7F5F1;
  --dark-footer: #30302E;
  --gray-200: #E5E7EB;
  --gray-400: #9CA3AF;
  --gray-600: #4B5563;
  --gray-800: #1F2937;
  --white: #ffffff;

  /* Spacing scale (8-pt grid) */
  --space-xs:   8px;
  --space-sm:   12px;
  --space-md:   16px;
  --space-lg:   24px;
  --space-xl:   32px;
  --space-2xl:  48px;
  --space-3xl:  64px;
  --space-4xl:  80px;
  --space-5xl:  96px;

  /* Container */
  --max-width: 1280px;
  --section-padding: 80px 24px;
  --container-radius: 8px;
  --card-radius: 12px;
  --button-radius: 8px;

  /* Typography scale */
  --fs-hero:  clamp(2.5rem, 5vw, 4.5rem);
  --fs-h1:    clamp(2rem, 4vw, 3.25rem);
  --fs-h2:    clamp(1.5rem, 3vw, 2.25rem);
  --fs-h3:    clamp(1.25rem, 2vw, 1.5rem);
  --fs-body:  1rem;
  --fs-small: 0.875rem;
  --fs-micro: 0.75rem;

  /* Line heights */
  --lh-tight:  1.1;
  --lh-snug:   1.3;
  --lh-normal: 1.55;
  --lh-loose:  1.7;
}

/* --- Global Body --- */
body {
  font-family: 'Manrope', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-weight: 400;
  color: var(--ink);
  line-height: 1.6;
  background: #FFFFFF;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color 0.2s;
}

ul { list-style: none; }

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

/* --- Heading defaults --- */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Manrope', system-ui, sans-serif;
  font-weight: 700;
  letter-spacing: -0.015em;
  line-height: var(--lh-snug);
  color: var(--ink);
}

h1 { line-height: var(--lh-tight); }
h2 { line-height: 1.2; }
h3 { line-height: 1.3; }

/* --- Typography utilities --- */
.serif {
  font-family: 'Instrument Serif', Georgia, 'Times New Roman', serif;
  font-weight: 400;
}

.serif-italic {
  font-family: 'Instrument Serif', Georgia, 'Times New Roman', serif;
  font-weight: 400;
  font-style: italic;
}

.overline {
  font-family: 'Manrope', system-ui, sans-serif;
  font-size: var(--fs-micro);
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--coral-dark);
}

/* --- Section rhythm helpers --- */
.section {
  padding: clamp(48px, 8vw, 96px) 0;
}

.section-paper {
  background: var(--paper);
}

.section-stone {
  background: var(--stone);
}

.section-dark {
  background: var(--navy);
  color: var(--white);
}

.section-light {
  background: var(--white);
}

/* --- Utility --- */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-md);
}

@media (min-width: 768px) {
  .container { padding: 0 var(--space-xl); }
}

@media (min-width: 1024px) {
  .container { padding: 0 48px; }
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* --- Brand-spine accent (vertical coral line) --- */
.brand-spine {
  position: relative;
}

.brand-spine::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 3px;
  height: 60%;
  background: var(--coral);
  border-radius: 2px;
}

/* --- Navigation --- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(10, 22, 40, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

.nav__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.nav__logo img {
  height: 40px;
  width: auto;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 32px;
}

/* Nav link hover underline animation */
.nav-link {
  position: relative;
  font-family: 'Manrope', system-ui, sans-serif;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: -0.01em;
  color: rgba(255, 255, 255, 0.85);
  transition: color 0.2s;
  padding: 4px 0;
}

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

.nav-link:hover {
  color: #fff;
}

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

.nav__links a {
  color: rgba(255, 255, 255, 0.85);
  font-family: 'Manrope', system-ui, sans-serif;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.01em;
  transition: color 0.2s;
}

.nav__links a:hover {
  color: var(--white);
}

.nav__phone {
  color: var(--cyan);
  font-size: 14px;
  font-weight: 600;
}

.nav__phone:hover {
  color: var(--cyan-hover);
}

.nav__cta {
  display: inline-flex;
  align-items: center;
  padding: 10px 24px;
  background: var(--coral);
  color: var(--white);
  font-family: 'Manrope', system-ui, sans-serif;
  font-size: 14px;
  font-weight: 600;
  border-radius: var(--button-radius);
  border: none;
  cursor: pointer;
  transition: background 0.2s, transform 0.1s, box-shadow 0.2s;
}

.nav__cta:hover {
  background: var(--coral-dark);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(217, 119, 87, 0.35);
}

/* Mobile menu toggle */
.nav__toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.nav__toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  margin: 5px 0;
  transition: 0.3s;
}

/* --- Hero --- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: left;
  background: var(--navy);
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
}

.hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    rgba(10, 22, 40, 0.88) 0%,
    rgba(10, 22, 40, 0.55) 45%,
    rgba(10, 22, 40, 0.1) 80%
  );
}

.hero__content {
  position: relative;
  z-index: 2;
  max-width: 720px;
  padding: 120px 24px 80px;
}

.hero__eyebrow {
  display: block;
  font-family: 'Instrument Serif', Georgia, serif;
  font-style: italic;
  color: var(--coral);
  font-size: 1rem;
  margin-bottom: 16px;
}

.hero__title {
  font-family: 'Manrope', system-ui, sans-serif;
  font-size: var(--fs-hero);
  font-weight: 800;
  color: var(--white);
  line-height: 1.05;
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}

.hero__title span {
  display: block;
  color: var(--cyan);
}

.hero__subtitle {
  font-size: 1.125rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.80);
  margin-bottom: 32px;
  max-width: 560px;
  line-height: 1.6;
}

/* Hero brand-spine rule */
.hero__rule {
  display: flex;
  margin-bottom: 28px;
}

.hero__rule-line {
  width: 64px;
  height: 2px;
  background: var(--coral);
  border-radius: 1px;
}

/* Stats row */
.hero__stats {
  display: grid;
  grid-template-columns: repeat(2, auto);
  gap: 20px 32px;
  margin-bottom: 32px;
}

@media (min-width: 640px) {
  .hero__stats {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0;
  }
}

.hero__stat {
  text-align: left;
}

@media (min-width: 640px) {
  .hero__stat {
    padding: 0 24px;
    border-right: 1px solid rgba(255, 255, 255, 0.2);
  }

  .hero__stat:first-child {
    padding-left: 0;
  }

  .hero__stat:last-child {
    border-right: none;
  }
}

.hero__stat-number {
  font-family: 'Manrope', system-ui, sans-serif;
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1;
}

.hero__stat-label {
  font-size: 0.75rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.6);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-top: 2px;
}

.hero__actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* --- Buttons --- */
.btn--primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  background: var(--coral);
  color: var(--white);
  font-family: 'Manrope', system-ui, sans-serif;
  font-size: 1rem;
  font-weight: 700;
  border-radius: var(--button-radius);
  border: none;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
  min-height: 48px;
}

.btn--primary:hover {
  background: var(--coral-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(217, 119, 87, 0.35);
}

.btn--outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  background: transparent;
  color: var(--white);
  font-family: 'Manrope', system-ui, sans-serif;
  font-size: 1rem;
  font-weight: 700;
  border-radius: var(--button-radius);
  border: 2px solid rgba(255, 255, 255, 0.4);
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s, transform 0.15s;
  min-height: 48px;
}

.btn--outline:hover {
  border-color: var(--white);
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(-2px);
}

/* --- Button lift: apply to any inline-flex / rounded button with bg-coral or bg-accent --- */
a.hover\:bg-coral-dark,
a.hover\:bg-accent\/90,
a[class*="bg-coral"],
a[class*="bg-accent"] {
  transition-property: background-color, transform, box-shadow;
  transition-duration: 0.2s;
  transition-timing-function: ease;
}
a.hover\:bg-coral-dark:hover,
a.hover\:bg-accent\/90:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(217, 119, 87, 0.3);
}

/* --- Trust bar tiles --- */
.trust-tile {
  display: inline-flex;
  align-items: center;
  padding: 8px 20px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 8px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.06);
  color: var(--graphite);
  font-family: 'Manrope', system-ui, sans-serif;
  font-size: 0.875rem;
  font-weight: 600;
  white-space: nowrap;
  transition: box-shadow 0.2s, transform 0.2s;
  animation: shimmer 0.6s ease-out both;
}

.trust-tile:nth-child(2) { animation-delay: 0.05s; }
.trust-tile:nth-child(3) { animation-delay: 0.10s; }
.trust-tile:nth-child(4) { animation-delay: 0.15s; }
.trust-tile:nth-child(5) { animation-delay: 0.20s; }
.trust-tile:nth-child(6) { animation-delay: 0.25s; }
.trust-tile:nth-child(7) { animation-delay: 0.30s; }
.trust-tile:nth-child(8) { animation-delay: 0.35s; }

@keyframes shimmer {
  0% { opacity: 0.4; transform: translateY(4px); }
  100% { opacity: 1; transform: translateY(0); }
}

/* --- Card components --- */
.card-service {
  background: var(--white);
  border-radius: var(--card-radius);
  border: 1px solid var(--gray-200);
  box-shadow: 0 1px 4px rgba(0,0,0,0.06);
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  border-left: 3px solid transparent;
}

.card-service:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(0,0,0,0.1);
  border-left-color: var(--coral);
}

.card-service__img {
  width: 100%;
  aspect-ratio: 3/2;
  overflow: hidden;
}

.card-service__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.card-service:hover .card-service__img img {
  transform: scale(1.04);
}

.card-service__body {
  padding: 24px;
}

.card-service__title {
  font-family: 'Manrope', system-ui, sans-serif;
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 8px;
}

.card-service__text {
  font-size: 0.875rem;
  color: var(--graphite);
  line-height: 1.6;
}

.card-service__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--coral);
  margin-top: 14px;
  transition: gap 0.2s;
}

.card-service__link:hover {
  gap: 10px;
}

/* Stat cards */
.card-stat {
  text-align: center;
  padding: 32px 24px;
}

.card-stat__number {
  font-family: 'Manrope', system-ui, sans-serif;
  font-size: clamp(2.5rem, 4vw, 4rem);
  font-weight: 800;
  color: var(--cyan);
  line-height: 1;
  margin-bottom: 6px;
}

.card-stat__label {
  font-family: 'Manrope', system-ui, sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--navy);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* Case study cards */
.card-case-study {
  padding: 32px;
  background: var(--paper);
  border-radius: var(--card-radius);
}

.card-case-study__quote {
  font-family: 'Instrument Serif', Georgia, serif;
  font-style: italic;
  font-size: 1.25rem;
  line-height: 1.5;
  color: var(--navy);
  margin-bottom: 16px;
}

.card-case-study__attr {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--coral);
}

/* --- "Inside AquaCat" section --- */
.inside-aquacat {
  background: var(--paper);
  padding: clamp(48px, 6vw, 96px) 0;
}

.inside-aquacat__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-md);
}

@media (min-width: 768px) {
  .inside-aquacat__grid { padding: 0 var(--space-xl); }
}

@media (min-width: 1024px) {
  .inside-aquacat__grid {
    grid-template-columns: 8fr 4fr;
    gap: 64px;
    padding: 0 48px;
  }
}

.inside-aquacat__photo {
  border-radius: var(--card-radius);
  overflow: hidden;
  position: relative;
}

.inside-aquacat__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 360px;
  display: block;
}

/* Vignette on photo */
.inside-aquacat__photo::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    transparent 60%,
    rgba(10,22,40,0.25) 100%
  );
  pointer-events: none;
  border-radius: var(--card-radius);
}

.inside-aquacat__content {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.inside-aquacat__quote {
  font-family: 'Instrument Serif', Georgia, serif;
  font-style: italic;
  font-size: clamp(1.25rem, 2.5vw, 1.5rem);
  line-height: 1.45;
  color: var(--navy);
}

.inside-aquacat__copy {
  font-size: 1rem;
  font-weight: 500;
  color: var(--graphite);
  line-height: 1.7;
}

.inside-aquacat__link {
  font-family: 'Manrope', system-ui, sans-serif;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--coral);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap 0.2s;
}

.inside-aquacat__link:hover {
  gap: 10px;
}

/* --- Testimonial section --- */
.testimonial {
  background: var(--navy);
  padding: clamp(64px, 8vw, 96px) 0;
}

.testimonial__inner {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 var(--space-md);
  text-align: center;
}

@media (min-width: 768px) {
  .testimonial__inner { padding: 0 var(--space-xl); }
}

.testimonial__mark {
  font-family: 'Instrument Serif', Georgia, serif;
  font-size: 5rem;
  line-height: 0.6;
  color: rgba(217, 119, 87, 0.3);
  margin-bottom: 24px;
  display: block;
}

.testimonial__quote {
  font-family: 'Instrument Serif', Georgia, serif;
  font-style: italic;
  font-size: clamp(1.125rem, 2.5vw, 2rem);
  color: rgba(255, 255, 255, 0.92);
  line-height: 1.4;
  margin-bottom: 32px;
}

.testimonial__avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--mist);
  margin: 0 auto 16px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.testimonial__name {
  font-family: 'Manrope', system-ui, sans-serif;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 2px;
}

.testimonial__company {
  font-size: 0.875rem;
  font-weight: 400;
  color: var(--mist);
}

.testimonial__stars {
  display: flex;
  justify-content: center;
  gap: 4px;
  margin: 20px 0 8px;
}

.testimonial__stars svg {
  width: 20px;
  height: 20px;
  color: var(--coral);
  fill: currentColor;
}

.testimonial__review-count {
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 20px;
}

.testimonial__reviews-link {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--coral);
  transition: opacity 0.2s;
}

.testimonial__reviews-link:hover {
  opacity: 0.8;
}

/* --- WhatsApp floating button (enhanced) --- */
.wa-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 50;
  width: 56px;
  height: 56px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(0,0,0,0.2);
  transition: transform 0.2s, background 0.2s;
}

.wa-float:hover {
  transform: scale(1.1);
  background: #20bd5a;
}

.wa-float svg {
  width: 28px;
  height: 28px;
  color: #fff;
  fill: #fff;
}

@media print {
  .wa-float { display: none; }
}

/* WhatsApp pulse animation */
@keyframes wa-pulse {
  0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5); }
  70% { box-shadow: 0 0 0 14px rgba(37, 211, 102, 0); }
  100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

.wa-btn {
  animation: wa-pulse 2s infinite;
}

/* --- Mobile CTA bar --- */
.mobile-cta-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 40;
  background: var(--navy);
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 10px 16px;
  gap: 10px;
}

@media (max-width: 1023px) {
  .mobile-cta-bar {
    display: flex;
  }
}

.mobile-cta-bar a {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  border-radius: 8px;
  font-family: 'Manrope', system-ui, sans-serif;
  font-size: 0.875rem;
  font-weight: 700;
  transition: opacity 0.2s;
}

.mobile-cta-bar a:hover {
  opacity: 0.9;
}

.mobile-cta-bar__wa {
  background: #25D366;
  color: #fff;
}

.mobile-cta-bar__call {
  background: var(--coral);
  color: #fff;
}

/* Offset fixed bottom bar on mobile */
@media (max-width: 1023px) {
  body {
    padding-bottom: 72px;
  }
}

/* --- Features / Why AquaCat blocks --- */
.features {
  padding: var(--section-padding);
  background: var(--navy);
}

.features__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
  max-width: var(--max-width);
  margin: 0 auto;
}

.feature-card {
  text-align: center;
  padding: 40px 24px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.feature-card__icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: rgba(34, 211, 238, 0.15);
}

.feature-card__icon svg {
  width: 28px;
  height: 28px;
  color: var(--cyan);
}

.feature-card__value {
  font-family: 'Manrope', system-ui, sans-serif;
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 4px;
}

.feature-card__title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--cyan);
  margin-bottom: 8px;
}

.feature-card__desc {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.6;
}

/* --- Section header pattern --- */
.section-header {
  text-align: center;
  margin-bottom: 56px;
}

.section-header__label {
  display: inline-block;
  font-size: var(--fs-micro);
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--coral);
  margin-bottom: 12px;
}

.section-header__title {
  font-family: 'Manrope', system-ui, sans-serif;
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 700;
  color: var(--navy);
  line-height: 1.2;
  letter-spacing: -0.015em;
}

/* --- Detail Sections --- */
.detail {
  padding: var(--section-padding);
}

.detail--dark {
  background: var(--navy);
  color: var(--white);
}

.detail--light {
  background: var(--white);
}

.detail--alt {
  background: var(--paper);
}

.detail__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  max-width: var(--max-width);
  margin: 0 auto;
}

.detail__inner--reverse {
  direction: rtl;
}

.detail__inner--reverse > * {
  direction: ltr;
}

.detail__image {
  border-radius: 16px;
  overflow: hidden;
}

.detail__image img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: 16px;
}

.detail__label {
  display: inline-block;
  font-size: var(--fs-micro);
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--coral);
  margin-bottom: 12px;
}

.detail__heading {
  font-family: 'Manrope', system-ui, sans-serif;
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 700;
  margin-bottom: 16px;
  line-height: 1.2;
  letter-spacing: -0.015em;
}

.detail--dark .detail__heading { color: var(--white); }
.detail--light .detail__heading,
.detail--alt .detail__heading { color: var(--navy); }

.detail__text {
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 24px;
}

.detail--dark .detail__text { color: rgba(255, 255, 255, 0.7); }
.detail--light .detail__text,
.detail--alt .detail__text { color: var(--graphite); }

.detail__list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 24px;
}

.detail__list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.9375rem;
}

.detail--dark .detail__list li { color: rgba(255, 255, 255, 0.8); }
.detail--light .detail__list li,
.detail--alt .detail__list li { color: var(--graphite); }

.detail__list-icon {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  margin-top: 2px;
  color: var(--coral);
}

.detail__badge {
  display: inline-block;
  padding: 6px 16px;
  background: rgba(217, 119, 87, 0.12);
  color: var(--coral);
  font-size: 0.8125rem;
  font-weight: 600;
  border-radius: 100px;
}

/* --- Services Section --- */
.services {
  padding: var(--section-padding);
  background: var(--white);
}

.services__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  max-width: var(--max-width);
  margin: 0 auto;
}

/* Card hover left-border accent */
.card-accent-hover {
  border-left: 3px solid transparent;
  transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.card-accent-hover:hover {
  border-left-color: var(--coral);
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(0,0,0,0.08);
}

/* --- FAQ details transitions --- */
details summary {
  cursor: pointer;
  list-style: none;
}

details summary::-webkit-details-marker { display: none; }
details summary::marker { display: none; content: ''; }

details .faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
  padding: 0 1.5rem;
}

details[open] .faq-answer {
  max-height: 500px;
  padding: 1rem 1.5rem 1.5rem;
}

details summary .faq-chevron {
  transition: transform 0.3s ease;
}

details[open] summary .faq-chevron {
  transform: rotate(180deg);
}

details[open] {
  border-left: 3px solid var(--coral) !important;
}

/* --- Teams Section --- */
.teams {
  padding: var(--section-padding);
  background: var(--paper);
}

.teams__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  max-width: var(--max-width);
  margin: 0 auto;
}

.team-card {
  background: var(--white);
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--gray-200);
}

.team-card__image {
  width: 100%;
  height: 200px;
  overflow: hidden;
}

.team-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.team-card__title {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 8px;
}

.team-card__text {
  font-size: 0.875rem;
  color: var(--graphite);
  line-height: 1.6;
}

/* --- Coverage Section --- */
.coverage {
  padding: var(--section-padding);
  background: var(--white);
  text-align: center;
}

.coverage__heading {
  font-family: 'Manrope', system-ui, sans-serif;
  font-size: clamp(1.75rem, 3.5vw, 2.625rem);
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 16px;
  letter-spacing: -0.015em;
}

.coverage__text {
  font-size: 1.125rem;
  color: var(--graphite);
  max-width: 600px;
  margin: 0 auto 40px;
}

.coverage__regions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  max-width: 800px;
  margin: 0 auto;
}

.coverage__tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: var(--paper);
  border: 1px solid var(--stone);
  border-radius: 100px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--graphite);
}

.coverage__tag svg {
  width: 16px;
  height: 16px;
  color: var(--coral);
}

/* --- Gallery Section --- */
.gallery {
  padding: var(--section-padding);
  background: var(--paper);
}

.gallery__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px;
  max-width: var(--max-width);
  margin: 0 auto 64px;
}

.gallery__grid img {
  border-radius: var(--card-radius);
  aspect-ratio: 4/3;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.gallery__grid img:hover {
  transform: scale(1.03);
}

.gallery__stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 24px;
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.gallery__stat {
  padding: 24px;
}

.gallery__stat-value {
  font-family: 'Manrope', system-ui, sans-serif;
  font-size: 2.625rem;
  font-weight: 800;
  color: var(--navy);
  line-height: 1;
  margin-bottom: 4px;
}

.gallery__stat-label {
  font-size: 0.875rem;
  color: var(--graphite);
  font-weight: 500;
}

/* --- Quote Form Section --- */
.quote {
  padding: var(--section-padding);
  background: var(--navy);
}

.quote__inner {
  max-width: 800px;
  margin: 0 auto;
}

.quote__header {
  text-align: center;
  margin-bottom: 48px;
}

.quote__label {
  color: var(--coral);
}

.quote__heading {
  color: var(--white);
}

.quote__text {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.6);
  margin-top: 12px;
}

.quote__form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.quote__field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.quote__field--full {
  grid-column: 1 / -1;
}

.quote__field label {
  font-size: 0.8125rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.8);
  letter-spacing: 0.02em;
}

.quote__field label .required {
  color: var(--coral);
}

.quote__field input,
.quote__field select,
.quote__field textarea {
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  color: var(--white);
  font-size: 0.9375rem;
  min-height: 48px;
  transition: border-color 0.2s, background 0.2s;
}

.quote__field input::placeholder,
.quote__field textarea::placeholder {
  color: rgba(255, 255, 255, 0.3);
}

.quote__field input:focus,
.quote__field select:focus,
.quote__field textarea:focus {
  outline: none;
  border-color: var(--coral);
  background: rgba(255, 255, 255, 0.08);
}

.quote__field select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='rgba(255,255,255,0.5)' viewBox='0 0 16 16'%3E%3Cpath d='M4 6l4 4 4-4'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 36px;
}

.quote__field select option {
  background: var(--navy);
  color: var(--white);
}

.quote__field textarea {
  resize: vertical;
  min-height: 120px;
}

.quote__submit {
  grid-column: 1 / -1;
  display: flex;
  justify-content: center;
  margin-top: 12px;
}

.btn--full {
  padding: 16px 48px;
  font-size: 1rem;
  width: 100%;
  justify-content: center;
}

/* --- Footer --- */
.footer {
  background: var(--dark-footer);
  color: rgba(255, 255, 255, 0.7);
  padding: 64px 24px 0;
}

.footer__top {
  display: grid;
  grid-template-columns: 1.5fr repeat(4, 1fr);
  gap: 40px;
  max-width: var(--max-width);
  margin: 0 auto;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer__brand {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer__logo img {
  height: 36px;
  width: auto;
  filter: brightness(0) invert(1);
}

.footer__tagline {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.5);
  font-style: italic;
}

.footer__col h4 {
  font-family: 'Manrope', system-ui, sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
  margin-bottom: 20px;
}

.footer__col ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer__col a {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.6);
  transition: color 0.2s;
  min-height: 28px;
  display: inline-flex;
  align-items: center;
}

.footer__col a:hover {
  color: var(--white);
}

.footer__bottom {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 32px 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  font-size: 0.8125rem;
}

.footer__info-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.footer__info-item strong {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.3);
}

.footer__info-item span {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.8125rem;
}

.footer__info-item a {
  color: rgba(255, 255, 255, 0.6);
}

.footer__info-item a:hover {
  color: var(--coral);
}

.footer__copyright {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 24px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.3);
}

.footer__social {
  display: flex;
  gap: 16px;
}

.footer__social a {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.5);
  transition: background 0.2s, color 0.2s;
  min-height: 36px;
}

.footer__social a:hover {
  background: rgba(217, 119, 87, 0.15);
  color: var(--coral);
}

.footer__social svg {
  width: 18px;
  height: 18px;
}

/* --- Scroll reveal --- */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

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

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* --- Trust bar marquee --- */
@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee 30s linear infinite;
}

.marquee-track:hover {
  animation-play-state: paused;
}

/* --- Scroll indicator bounce --- */
@keyframes bounce-slow {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(8px); }
}

.scroll-bounce {
  animation: bounce-slow 2s ease-in-out infinite;
}

/* --- Mobile menu --- */
.mobile-menu {
  transform: translateX(100%);
  transition: transform 0.3s ease;
}

.mobile-menu.open {
  transform: translateX(0);
}

.mobile-overlay {
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.mobile-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

/* --- Desktop dropdown --- */
.nav-dropdown {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(8px);
  transition: all 0.2s ease;
}

.nav-dropdown-parent:hover .nav-dropdown {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

/* --- Header transition --- */
.header-solid {
  background-color: rgba(10, 22, 40, 0.97) !important;
  box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}

/* --- Focus rings (accessibility) --- */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
details summary:focus-visible {
  outline: 2px solid var(--coral);
  outline-offset: 3px;
  border-radius: 3px;
}

/* --- Guide pages — drop cap + prose width --- */
.guide-prose {
  max-width: 65ch;
}

.guide-prose p:first-of-type::first-letter {
  font-family: 'Instrument Serif', Georgia, serif;
  font-size: 4rem;
  font-style: normal;
  color: var(--coral);
  float: left;
  line-height: 0.75;
  margin-right: 8px;
  margin-top: 6px;
}

/* Guide metadata strip */
.guide-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 32px;
}

.guide-meta__badge {
  display: inline-flex;
  align-items: center;
  padding: 6px 14px;
  border-radius: 100px;
  font-size: 0.8125rem;
  font-weight: 600;
}

.guide-meta__badge--read {
  background: rgba(34, 211, 238, 0.1);
  color: #0891b2;
}

.guide-meta__badge--level {
  background: rgba(217, 119, 87, 0.1);
  color: var(--coral-dark);
}

.guide-meta__badge--for {
  background: var(--stone);
  color: var(--graphite);
}

/* --- Responsive --- */
@media (max-width: 1024px) {
  .detail__inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .detail__inner--reverse {
    direction: ltr;
  }

  .footer__top {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }

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

@media (max-width: 768px) {
  :root {
    --section-padding: 64px 20px;
  }

  .nav__links {
    display: none;
  }

  .nav__toggle {
    display: block;
  }

  .nav__links--open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--navy);
    padding: 24px;
    gap: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
  }

  .hero__content {
    padding: 100px 20px 80px;
  }

  .hero__actions {
    flex-direction: column;
  }

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

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

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

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

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

  .footer__copyright {
    flex-direction: column;
    text-align: center;
    gap: 16px;
  }

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

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