/* ============================================
   DESIGN TOKENS
   ============================================ */
:root {
  /* Colors */
  --color-primary: #C0544E;
  --color-secondary: #E07B6C;
  --color-accent: #2A5C7B;
  --color-bg: #FFF8F6;
  --color-surface: #FFFFFF;
  --color-text: #3A1F1D;
  --color-text-light: #8A6B66;
  --color-dark: #2C1A18;

  /* Typography */
  --font-heading: Impact, 'Arial Black', sans-serif;
  --font-body: Tahoma, Geneva, Verdana, sans-serif;

  /* Golden Ratio Type Scale */
  --text-small: clamp(0.8rem, 0.78rem + 0.1vw, 0.875rem);
  --text-base: clamp(0.95rem, 0.9rem + 0.25vw, 1.0625rem);
  --text-lg: clamp(1.15rem, 1.05rem + 0.5vw, 1.25rem);
  --text-xl: clamp(1.35rem, 1.15rem + 1vw, 1.618rem);
  --text-2xl: clamp(1.6rem, 1.3rem + 1.5vw, 2.058rem);
  --text-3xl: clamp(2rem, 1.5rem + 2.5vw, 2.618rem);
  --text-4xl: clamp(2.5rem, 1.8rem + 3.5vw, 4rem);

  /* Spacing Scale (Compact) */
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;

  /* Layout */
  --max-width: 72rem;
  --rail-width: 80px;
  --section-padding: 48px;

  /* Borders & Radius */
  --radius: 0px;

  /* Shadows — None */
  --shadow-sm: none;
  --shadow-md: none;
  --shadow-lg: none;

  /* Transitions */
  --transition-fast: 150ms ease;
  --transition-base: 250ms ease;
  --transition-slow: 400ms ease;
}

/* ============================================
   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: var(--text-base);
  line-height: 1.7;
  color: var(--color-text);
  background-color: var(--color-bg);
  /* Gradient mesh texture */
  background-image:
    radial-gradient(ellipse at 15% 20%, rgba(192, 84, 78, 0.04) 0%, transparent 50%),
    radial-gradient(ellipse at 85% 60%, rgba(42, 92, 123, 0.035) 0%, transparent 50%),
    radial-gradient(ellipse at 50% 90%, rgba(224, 123, 108, 0.03) 0%, transparent 50%),
    radial-gradient(ellipse at 70% 10%, rgba(192, 84, 78, 0.025) 0%, transparent 50%);
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: var(--color-accent);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--color-primary);
}

ul, ol {
  padding-inline-start: var(--space-lg);
}

/* ============================================
   SKIP LINK
   ============================================ */
.skip-link {
  position: absolute;
  top: -100%;
  left: var(--space-md);
  background: var(--color-accent);
  color: var(--color-surface);
  padding: var(--space-sm) var(--space-md);
  z-index: 100000;
  font-weight: 700;
  font-size: var(--text-small);
}

.skip-link:focus {
  top: var(--space-md);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ============================================
   PAGE TRANSITION OVERLAY
   ============================================ */
.page-transition-overlay {
  position: fixed;
  inset: 0;
  background: var(--color-surface);
  z-index: 10000;
  opacity: 1;
  pointer-events: none;
  transition: opacity var(--transition-slow) ease;
}

.page-transition-overlay.fade-out {
  opacity: 0;
}

.page-transition-overlay.fade-in {
  opacity: 1;
}

/* ============================================
   SCROLL PROGRESS BAR
   ============================================ */
.scroll-progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0%;
  background: var(--color-accent);
  z-index: 10001;
  transition: width 50ms linear;
}

/* ============================================
   LEFT RAIL
   ============================================ */
.left-rail {
  position: fixed;
  top: 0;
  left: 0;
  width: var(--rail-width);
  height: 100vh;
  background: var(--color-primary);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-xl) 0;
  z-index: 100;
}

.rail-logo {
  font-family: var(--font-heading);
  font-size: var(--text-xl);
  color: var(--color-surface);
  font-weight: 900;
  line-height: 1;
}

.rail-nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-lg);
}

.rail-dot {
  display: block;
  width: 12px;
  height: 12px;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  transition: background var(--transition-base), transform var(--transition-base);
  position: relative;
}

.rail-dot span {
  display: none;
}

.rail-dot:hover,
.rail-dot.active {
  background: var(--color-surface);
  transform: scale(1.3);
}

.rail-dot:focus-visible {
  outline: 2px solid var(--color-surface);
  outline-offset: 4px;
}

.rail-bottom {
  width: 2px;
  height: 40px;
  background: rgba(255, 255, 255, 0.2);
}

/* ============================================
   MAIN WRAPPER
   ============================================ */
.main-wrapper {
  margin-left: var(--rail-width);
}

/* ============================================
   HEADER
   ============================================ */
.site-header {
  position: fixed;
  top: 0;
  left: var(--rail-width);
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-md) var(--space-2xl);
  z-index: 999;
  background: transparent;
}

.header-logo .logo-link {
  font-family: var(--font-heading);
  font-size: var(--text-xl);
  color: var(--color-text);
  text-decoration: none;
  font-weight: 900;
  letter-spacing: 0.02em;
}

.hamburger {
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: var(--space-sm);
  z-index: 10001;
  position: relative;
}

.hamburger:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 4px;
}

.hamburger-line {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-text);
  transition: transform var(--transition-base), opacity var(--transition-fast);
  transform-origin: center;
}

.hamburger.active .hamburger-line:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
  background: var(--color-surface);
}

.hamburger.active .hamburger-line:nth-child(2) {
  opacity: 0;
}

.hamburger.active .hamburger-line:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
  background: var(--color-surface);
}

/* ============================================
   FULLSCREEN NAV OVERLAY
   ============================================ */
.fullscreen-nav {
  position: fixed;
  inset: 0;
  background: var(--color-dark);
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-base);
}

.fullscreen-nav.open {
  opacity: 1;
  pointer-events: auto;
}

.fullscreen-nav nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-sm);
}

.fullscreen-nav nav a {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 700;
  color: var(--color-surface);
  line-height: 1.8;
  text-decoration: none;
  position: relative;
  transition: color var(--transition-fast);
}

.fullscreen-nav nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background: var(--color-accent);
  transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.fullscreen-nav nav a:hover::after,
.fullscreen-nav nav a[aria-current="page"]::after {
  width: 100%;
}

.fullscreen-nav nav a:hover {
  color: var(--color-secondary);
}

.fullscreen-nav nav a[aria-current="page"] {
  color: var(--color-secondary);
}

.nav-footer-info {
  position: absolute;
  bottom: var(--space-2xl);
  text-align: center;
  color: rgba(255, 255, 255, 0.5);
  font-size: var(--text-small);
  line-height: 1.8;
}

/* ============================================
   TYPOGRAPHY — Golden Ratio + Numbered Sections
   ============================================ */
body {
  counter-reset: section;
}

h1, h2, h3 {
  font-family: var(--font-heading);
  color: var(--color-text);
  line-height: 1.15;
}

h1 {
  font-size: var(--text-4xl);
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

main > section {
  counter-increment: section;
}

main > section > h2::before {
  content: counter(section, decimal-leading-zero);
  display: block;
  font-family: var(--font-heading);
  font-size: 3.5rem;
  font-weight: 900;
  color: rgba(42, 92, 123, 0.15);
  line-height: 1;
  margin-bottom: var(--space-sm);
}

h2 {
  font-size: var(--text-2xl);
  font-weight: 700;
  margin-block-end: var(--space-lg);
}

h3 {
  font-size: var(--text-lg);
  font-weight: 400;
  font-style: italic;
  margin-block-end: var(--space-sm);
}

p {
  margin-block-end: var(--space-md);
}

p:last-child {
  margin-block-end: 0;
}

.lead-text {
  font-size: var(--text-lg);
  line-height: 1.6;
}

.small-note {
  font-size: var(--text-small);
  font-style: italic;
  color: var(--color-text-light);
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-size: var(--text-base);
  font-weight: 700;
  padding: var(--space-md) var(--space-xl);
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  text-decoration: none;
  transition: background var(--transition-base), border-color var(--transition-base), color var(--transition-base);
  text-align: center;
  line-height: 1.4;
  position: relative;
}

.btn::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 0px;
  background: var(--color-accent);
  transition: height var(--transition-base);
}

.btn:hover::after {
  height: 3px;
}

.btn:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 4px;
}

.btn-primary {
  background: var(--color-primary);
  color: var(--color-surface);
}

.btn-primary:hover {
  background: var(--color-dark);
  color: var(--color-surface);
}

.btn-secondary {
  background: transparent;
  color: var(--color-primary);
  border: 2px solid var(--color-primary);
}

.btn-secondary:hover {
  background: var(--color-primary);
  color: var(--color-surface);
}

.btn-accent {
  background: var(--color-accent);
  color: var(--color-surface);
}

.btn-accent:hover {
  background: var(--color-dark);
  color: var(--color-surface);
}

.btn-text {
  background: transparent;
  color: var(--color-accent);
  padding: 0;
  font-weight: 600;
}

.btn-text::after {
  bottom: -2px;
}

.btn-text:hover {
  color: var(--color-primary);
}

/* ============================================
   LINK UNDERLINE SLIDE
   ============================================ */
.footer-nav a,
.contact-info-col a,
.legal-content a {
  position: relative;
  display: inline-block;
}

.footer-nav a::after,
.contact-info-col a::after,
.legal-content a::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 0%;
  height: 2px;
  background: var(--color-accent);
  transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.footer-nav a:hover::after,
.contact-info-col a:hover::after,
.legal-content a:hover::after {
  width: 100%;
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
  min-height: 85vh;
  padding: clamp(6rem, 10vh, 8rem) clamp(var(--space-xl), 4vw, var(--space-3xl));
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--color-bg) 0%, rgba(42, 92, 123, 0.04) 100%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: var(--space-2xl);
  align-items: center;
  max-width: var(--max-width);
}

.hero-content h1 {
  margin-block-end: var(--space-lg);
}

.hero-subtitle {
  font-size: var(--text-lg);
  color: var(--color-text-light);
  margin-block-end: var(--space-2xl);
  max-width: 55ch;
  line-height: 1.6;
}

.hero-stats {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  position: relative;
}

.stat-card {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: var(--space-lg) var(--space-xl);
  border-left: 4px solid var(--color-accent);
  transition: transform var(--transition-base);
}

.stat-card-1 { margin-left: 0; }
.stat-card-2 { margin-left: var(--space-2xl); }
.stat-card-3 { margin-left: var(--space-md); }
.stat-card-4 { margin-left: var(--space-3xl); }

.stat-number {
  display: block;
  font-family: var(--font-heading);
  font-size: var(--text-3xl);
  font-weight: 900;
  color: var(--color-accent);
  line-height: 1.1;
}

.stat-label {
  font-size: var(--text-small);
  color: var(--color-text-light);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* ============================================
   PAGE HERO (Inner Pages)
   ============================================ */
.page-hero {
  min-height: 50vh;
  padding: clamp(6rem, 10vh, 8rem) clamp(var(--space-xl), 4vw, var(--space-3xl));
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.page-hero h1 {
  max-width: 18ch;
}

.page-hero .hero-subtitle {
  font-size: var(--text-lg);
  color: var(--color-text-light);
  margin-block-start: var(--space-lg);
  max-width: 55ch;
  line-height: 1.6;
}

.page-hero-compact {
  min-height: 35vh;
}

/* ============================================
   SECTIONS
   ============================================ */
section {
  padding: var(--section-padding) clamp(var(--space-xl), 4vw, var(--space-3xl));
  position: relative;
  overflow: hidden;
}

.section-intro {
  font-size: var(--text-lg);
  color: var(--color-text-light);
  max-width: 60ch;
  margin-block-end: var(--space-2xl);
}

/* Section counter reset — exclude hero and non-numbered sections */
.hero h2::before,
.page-hero h2::before,
.cta-section h2::before,
.about-cta h2::before,
.testimonials-cta-section h2::before,
.services-faq h2::before,
.contact-expectations h2::before,
.legal-content h2::before,
.terms-cards h2::before {
  display: none;
}

/* ============================================
   SECTION DIVIDERS — Zigzag Triangle
   ============================================ */
.section-divider {
  position: relative;
  width: 100px;
  height: 2px;
  background: var(--color-accent);
  margin: 0 auto;
}

/* ============================================
   CONCENTRIC RINGS DECORATION
   ============================================ */
.concentric-rings {
  position: absolute;
  top: 20%;
  right: -80px;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: transparent;
  box-shadow:
    0 0 0 40px transparent,
    0 0 0 42px rgba(42, 92, 123, 0.05),
    0 0 0 80px transparent,
    0 0 0 82px rgba(42, 92, 123, 0.05),
    0 0 0 120px transparent,
    0 0 0 122px rgba(42, 92, 123, 0.04),
    0 0 0 160px transparent,
    0 0 0 162px rgba(42, 92, 123, 0.03);
  pointer-events: none;
}

.rings-right {
  top: auto;
  bottom: 10%;
  right: auto;
  left: -60px;
}

.rings-cta {
  top: 50%;
  right: -100px;
}

/* ============================================
   LEAF DECORATIONS — Organic Botanical Motif
   ============================================ */
.leaf-decoration {
  position: absolute;
  width: 60px;
  height: 60px;
  border-radius: 0% 80% 0% 80%;
  background: rgba(42, 92, 123, 0.06);
  transform: rotate(20deg);
  pointer-events: none;
}

.leaf-1 {
  bottom: 15%;
  left: 5%;
  width: 80px;
  height: 80px;
  transform: rotate(15deg);
}

.leaf-2 {
  top: 10%;
  right: 3%;
  width: 50px;
  height: 50px;
  transform: rotate(-25deg);
  background: rgba(192, 84, 78, 0.05);
}

.leaf-3 {
  bottom: 5%;
  right: 8%;
  width: 70px;
  height: 70px;
  transform: rotate(30deg);
  background: rgba(224, 123, 108, 0.05);
}

/* ============================================
   PROCESS SECTION
   ============================================ */
.process-timeline {
  display: flex;
  flex-direction: column;
  gap: var(--space-xl);
}

.process-step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: var(--space-xl);
  align-items: start;
}

.step-marker {
  font-family: var(--font-heading);
  font-size: var(--text-3xl);
  font-weight: 900;
  color: rgba(42, 92, 123, 0.15);
  line-height: 1;
  min-width: 60px;
  text-align: center;
}

.step-content h3 {
  font-style: normal;
  font-weight: 700;
  font-size: var(--text-xl);
  color: var(--color-text);
}

.step-timeframe {
  font-size: var(--text-small);
  font-style: italic;
  color: var(--color-accent);
  margin-block-end: var(--space-sm);
}

/* ============================================
   SERVICES GRID
   ============================================ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-xl);
}

.service-card {
  padding: var(--space-xl);
  background: var(--color-surface);
  border-left: 4px solid var(--color-primary);
  transition: transform var(--transition-base);
}

.service-card:hover {
  transform: scale(1.01) rotate(1deg);
}

.card-accent-primary { border-left-color: var(--color-primary); }
.card-accent-accent { border-left-color: var(--color-accent); }
.card-accent-secondary { border-left-color: var(--color-secondary); }

.card-separator {
  width: 100%;
  height: 1px;
  background: rgba(0, 0, 0, 0.1);
  margin: var(--space-md) 0;
}

.service-card h3 {
  font-style: normal;
  font-weight: 700;
}

/* ============================================
   DIFFERENTIATORS / WHY US
   ============================================ */
.differentiators-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-xl);
}

.diff-block {
  padding: var(--space-lg) 0;
}

.diff-icon {
  font-size: var(--text-2xl);
  color: var(--color-accent);
  margin-block-end: var(--space-sm);
}

.diff-block h3 {
  font-style: normal;
  font-weight: 700;
}

/* ============================================
   TESTIMONIALS — Speech Bubble
   ============================================ */
.testimonials-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: var(--space-xl);
  margin-block-end: var(--space-2xl);
}

.testimonial-bubble {
  margin-block-end: var(--space-2xl);
}

.bubble-content {
  background: var(--color-surface);
  padding: var(--space-xl) var(--space-2xl);
  border: 1px solid rgba(42, 92, 123, 0.1);
  position: relative;
}

.bubble-content::after {
  content: '';
  position: absolute;
  bottom: -12px;
  left: var(--space-2xl);
  width: 0;
  height: 0;
  border-left: 12px solid transparent;
  border-right: 12px solid transparent;
  border-top: 12px solid var(--color-surface);
}

.bubble-content p {
  font-size: var(--text-base);
  font-style: italic;
  color: var(--color-text);
  line-height: 1.7;
}

.testimonial-author {
  padding-block-start: var(--space-lg);
  padding-inline-start: var(--space-2xl);
}

.testimonial-author strong {
  display: block;
  font-size: var(--text-base);
  color: var(--color-text);
}

.testimonial-author span {
  font-size: var(--text-small);
  color: var(--color-text-light);
}

.testimonials-cta {
  text-align: center;
}

/* ============================================
   STATS — Icon + Number Inline
   ============================================ */
.stats-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2xl);
  justify-content: center;
}

.stat-inline {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  padding: var(--space-md) 0;
}

.stat-symbol {
  font-size: var(--text-xl);
  color: var(--color-accent);
}

.stat-inline .stat-number {
  font-family: var(--font-heading);
  font-size: var(--text-2xl);
  font-weight: 900;
  color: var(--color-accent);
  line-height: 1;
}

.stat-inline .stat-label {
  font-size: var(--text-small);
  color: var(--color-text-light);
  max-width: 140px;
}

/* ============================================
   CTA SECTIONS
   ============================================ */
.cta-section,
.about-cta,
.testimonials-cta-section {
  text-align: center;
  background: var(--color-bg);
  position: relative;
}

.cta-inner {
  max-width: 600px;
  margin: 0 auto;
}

.cta-inner h2 {
  margin-block-end: var(--space-lg);
}

.cta-inner p {
  color: var(--color-text-light);
  margin-block-end: var(--space-lg);
}

.cta-inner .btn {
  margin-block-start: var(--space-md);
}

/* ============================================
   TWO COLUMN LAYOUT
   ============================================ */
.two-col-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-2xl);
  align-items: start;
}

.two-col-layout.reverse {
  direction: rtl;
}

.two-col-layout.reverse > * {
  direction: ltr;
}

/* ============================================
   CSS ILLUSTRATIONS (Image Placeholders)
   ============================================ */
.css-illustration {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(42, 92, 123, 0.06) 0%, rgba(192, 84, 78, 0.04) 100%);
}

.shape {
  position: absolute;
  transition: transform var(--transition-base);
}

.shape-circle-1 {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: rgba(192, 84, 78, 0.25);
  top: 20%;
  left: 15%;
}

.shape-circle-2 {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(42, 92, 123, 0.2);
  bottom: 25%;
  right: 20%;
}

.shape-rect-1 {
  width: 100px;
  height: 60px;
  background: rgba(224, 123, 108, 0.3);
  top: 40%;
  right: 30%;
  transform: rotate(12deg);
}

.shape-rect-2 {
  width: 70px;
  height: 40px;
  background: rgba(42, 92, 123, 0.15);
  bottom: 15%;
  left: 25%;
  transform: rotate(-8deg);
}

.shape-triangle-1 {
  width: 0;
  height: 0;
  border-left: 35px solid transparent;
  border-right: 35px solid transparent;
  border-bottom: 60px solid rgba(42, 92, 123, 0.15);
  top: 15%;
  right: 15%;
}

/* Unique illustrations via nth-child */
.illustration-about .shape-circle-1 { width: 100px; height: 100px; top: 10%; left: 10%; background: rgba(42, 92, 123, 0.2); }
.illustration-about .shape-rect-1 { transform: rotate(-15deg); top: 50%; left: 45%; }

.illustration-pm .shape-rect-1 { width: 120px; height: 20px; top: 30%; left: 20%; background: rgba(42, 92, 123, 0.2); transform: none; }
.illustration-pm .shape-rect-2 { width: 90px; height: 20px; top: 45%; left: 20%; background: rgba(192, 84, 78, 0.2); transform: none; }

.illustration-bc .shape-circle-1 { width: 120px; height: 120px; top: 15%; left: 30%; background: rgba(224, 123, 108, 0.15); }

.illustration-qa .shape-circle-1 { background: rgba(42, 92, 123, 0.12); width: 140px; height: 140px; top: 10%; left: 5%; }
.illustration-qa .shape-circle-2 { background: rgba(192, 84, 78, 0.12); width: 100px; height: 100px; bottom: 10%; right: 10%; }

.illustration-ss .shape-triangle-1 { border-bottom-color: rgba(192, 84, 78, 0.2); top: 20%; right: 25%; }

/* ============================================
   ABOUT PAGE
   ============================================ */
.scene-content {
  max-width: 65ch;
}

.community-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-xl);
  margin-block-start: var(--space-xl);
}

.community-item {
  padding: var(--space-lg);
  border-left: 4px solid var(--color-accent);
  background: var(--color-surface);
}

.community-item h3 {
  font-style: normal;
  font-weight: 700;
}

/* Team */
.team-member {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: var(--space-2xl);
  align-items: start;
}

.member-avatar {
  width: 120px;
  height: 120px;
  background: var(--color-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.member-avatar::before {
  content: attr(data-initials);
  font-family: var(--font-heading);
  font-size: var(--text-2xl);
  color: var(--color-surface);
  font-weight: 900;
}

.member-role {
  font-style: italic;
  color: var(--color-text-light);
  margin-block-end: var(--space-md);
}

.member-quote {
  border-left: 3px solid var(--color-secondary);
  padding-inline-start: var(--space-lg);
  font-style: italic;
  color: var(--color-text);
  margin-block: var(--space-lg);
}

/* ============================================
   SERVICES DETAIL
   ============================================ */
.service-detail {
  position: relative;
}

.benefit-lead {
  font-size: var(--text-lg);
  font-weight: 600;
  color: var(--color-text);
  margin-block-end: var(--space-lg);
}

.deliverables-list {
  margin-block: var(--space-md);
}

.deliverables-list li {
  margin-block-end: var(--space-sm);
  padding-inline-start: var(--space-sm);
}

.deliverables-list li::marker {
  color: var(--color-accent);
}

/* ============================================
   ACCORDION / FAQ
   ============================================ */
.accordion {
  max-width: 700px;
}

.accordion-item {
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.accordion-header {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: none;
  border: none;
  padding: var(--space-lg) 0;
  font-family: var(--font-body);
  font-size: var(--text-base);
  font-weight: 700;
  color: var(--color-text);
  cursor: pointer;
  text-align: left;
  gap: var(--space-md);
  transition: color var(--transition-fast);
}

.accordion-header:hover {
  color: var(--color-accent);
}

.accordion-header:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
}

.accordion-icon {
  font-size: var(--text-xl);
  color: var(--color-accent);
  transition: transform var(--transition-base);
  flex-shrink: 0;
}

.accordion-item.active .accordion-icon {
  transform: rotate(45deg);
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-base);
}

.accordion-content p {
  padding-block-end: var(--space-lg);
  color: var(--color-text-light);
}

/* ============================================
   CONTACT PAGE
   ============================================ */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: var(--space-2xl);
  align-items: start;
}

.contact-detail {
  margin-block-end: var(--space-xl);
}

.contact-detail h3 {
  font-style: normal;
  font-weight: 700;
  color: var(--color-text);
  margin-block-end: var(--space-xs);
}

/* Dark Contrast Form */
.dark-form-card {
  background: var(--color-dark);
  padding: var(--space-2xl);
  color: var(--color-surface);
}

.dark-form-card label {
  display: block;
  font-size: var(--text-small);
  font-weight: 700;
  color: rgba(255, 255, 255, 0.8);
  margin-block-end: var(--space-xs);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.dark-form-card .optional {
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0;
  color: rgba(255, 255, 255, 0.5);
}

.form-group {
  margin-block-end: var(--space-lg);
}

.dark-form-card input,
.dark-form-card select,
.dark-form-card textarea {
  width: 100%;
  padding: var(--space-md);
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: var(--color-surface);
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: var(--text-base);
  border-radius: var(--radius);
  transition: border-color var(--transition-fast);
}

.dark-form-card input:focus,
.dark-form-card select:focus,
.dark-form-card textarea:focus {
  outline: none;
  border-color: var(--color-accent);
  box-shadow: 0 0 0 2px rgba(42, 92, 123, 0.3);
}

.dark-form-card textarea {
  resize: vertical;
  min-height: 120px;
}

.form-reassurance {
  margin-block-end: var(--space-lg);
}

.form-reassurance p {
  font-size: var(--text-small);
  color: rgba(255, 255, 255, 0.5);
  font-style: italic;
}

.dark-form-card .btn-accent {
  width: 100%;
}

/* Contact expectations */
.expectations-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--space-xl);
}

.expectation-item {
  text-align: center;
  padding: var(--space-lg);
}

.expectation-number {
  font-family: var(--font-heading);
  font-size: var(--text-3xl);
  font-weight: 900;
  color: rgba(42, 92, 123, 0.15);
  line-height: 1;
  margin-block-end: var(--space-sm);
}

.expectation-item h3 {
  font-style: normal;
  font-weight: 700;
}

/* ============================================
   TESTIMONIALS PAGE
   ============================================ */
.testimonials-full {
  max-width: 750px;
}

.testimonial-large {
  margin-block-end: var(--space-2xl);
}

/* ============================================
   LEGAL CONTENT
   ============================================ */
.legal-content {
  padding: var(--section-padding) clamp(var(--space-xl), 4vw, var(--space-3xl));
  max-width: 750px;
}

.legal-content h2 {
  font-size: var(--text-xl);
  margin-block-start: var(--space-2xl);
  margin-block-end: var(--space-md);
  padding-block-start: var(--space-lg);
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.legal-content h2:first-of-type {
  border-top: none;
  margin-block-start: 0;
  padding-block-start: 0;
}

.legal-content ul {
  margin-block: var(--space-md);
}

.legal-content li {
  margin-block-end: var(--space-sm);
}

/* Terms — Card-style blocks */
.terms-cards {
  max-width: 750px;
}

.terms-card {
  padding: var(--space-xl);
  border: 1px solid rgba(0, 0, 0, 0.08);
  margin-block-end: var(--space-lg);
  background: var(--color-surface);
}

.terms-card h2 {
  border-top: none;
  margin-block-start: 0;
  padding-block-start: 0;
  margin-block-end: var(--space-md);
  font-size: var(--text-xl);
}

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
  margin-block-start: var(--space-3xl);
}

.footer-newsletter {
  padding: 0 clamp(var(--space-xl), 4vw, var(--space-3xl));
}

.newsletter-inner {
  background: var(--color-primary);
  color: var(--color-surface);
  padding: var(--space-2xl);
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
  position: relative;
  top: -var(--space-2xl);
}

.newsletter-inner h2 {
  color: var(--color-surface);
  font-size: var(--text-xl);
  margin-block-end: var(--space-sm);
}

.newsletter-inner h2::before {
  display: none;
}

.newsletter-inner p {
  color: rgba(255, 255, 255, 0.8);
  font-size: var(--text-small);
  margin-block-end: var(--space-lg);
}

.newsletter-form {
  display: flex;
  max-width: 440px;
  margin: 0 auto;
}

.newsletter-form input {
  flex: 1;
  padding: 0.8rem 1.2rem;
  border: none;
  border-radius: 0;
  font-family: var(--font-body);
  font-size: var(--text-base);
  color: var(--color-text);
}

.newsletter-form input:focus {
  outline: 2px solid var(--color-accent);
  outline-offset: -2px;
}

.newsletter-form button {
  background: var(--color-dark);
  color: var(--color-surface);
  padding: 0.8rem 1.5rem;
  border: none;
  border-radius: 0;
  font-family: var(--font-body);
  font-weight: 700;
  cursor: pointer;
  transition: background var(--transition-base);
}

.newsletter-form button:hover {
  background: var(--color-accent);
}

.newsletter-form button:focus-visible {
  outline: 2px solid var(--color-surface);
  outline-offset: 2px;
}

.footer-bottom {
  padding: var(--space-xl) clamp(var(--space-xl), 4vw, var(--space-3xl));
  text-align: center;
}

.footer-logo {
  font-family: var(--font-heading);
  font-size: var(--text-lg);
  font-weight: 900;
  color: var(--color-text);
  margin-block-end: var(--space-md);
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-md) var(--space-lg);
  margin-block-end: var(--space-lg);
}

.footer-nav a {
  font-size: var(--text-small);
  color: var(--color-text-light);
}

.footer-nav a:hover {
  color: var(--color-primary);
}

.footer-contact-info {
  margin-block-end: var(--space-md);
}

.footer-contact-info p {
  font-size: var(--text-small);
  color: var(--color-text-light);
  margin-block-end: var(--space-xs);
}

.copyright {
  font-size: var(--text-small);
  color: var(--color-text-light);
}

/* ============================================
   FLOATING CTA
   ============================================ */
.floating-cta {
  position: fixed;
  bottom: 0;
  left: var(--rail-width);
  right: 0;
  background: var(--color-surface);
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  padding: var(--space-sm) var(--space-xl);
  text-align: center;
  z-index: 900;
  transform: translateY(100%);
  transition: transform var(--transition-base);
}

.floating-cta.visible {
  transform: translateY(0);
}

.floating-cta .btn {
  width: 100%;
  max-width: 400px;
}

/* ============================================
   COOKIE BANNER
   ============================================ */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--color-dark);
  color: var(--color-surface);
  z-index: 10002;
  padding: var(--space-lg) var(--space-xl);
  display: none;
}

.cookie-banner.visible {
  display: block;
}

.cookie-content {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-xl);
}

.cookie-content p {
  font-size: var(--text-small);
  color: rgba(255, 255, 255, 0.8);
  margin: 0;
  flex: 1;
}

.cookie-buttons {
  display: flex;
  gap: var(--space-sm);
  flex-shrink: 0;
}

.cookie-buttons .btn {
  padding: var(--space-sm) var(--space-lg);
  font-size: var(--text-small);
}

.cookie-buttons .btn-secondary {
  color: var(--color-surface);
  border-color: rgba(255, 255, 255, 0.3);
}

.cookie-buttons .btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.5);
}

/* ============================================
   SLIDE-IN ANIMATIONS
   ============================================ */
.slide-in {
  opacity: 0;
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.slide-in:nth-child(odd) {
  transform: translateX(-50px);
}

.slide-in:nth-child(even) {
  transform: translateX(50px);
}

.slide-in.visible {
  opacity: 1;
  transform: translateX(0);
}

/* ============================================
   RESPONSIVE — Mobile First
   ============================================ */

/* Small screens (< 640px) */
@media (max-width: 639px) {
  .left-rail {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 50px;
    flex-direction: row;
    padding: 0 var(--space-md);
    z-index: 100;
  }

  .rail-nav {
    flex-direction: row;
    gap: var(--space-md);
  }

  .rail-dot {
    width: 8px;
    height: 8px;
  }

  .rail-bottom {
    display: none;
  }

  .main-wrapper {
    margin-left: 0;
    margin-top: 50px;
  }

  .site-header {
    left: 0;
    top: 50px;
    padding: var(--space-sm) var(--space-md);
  }

  .hero {
    min-height: 80vh;
    padding: clamp(5rem, 8vh, 6rem) var(--space-md);
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }

  .hero-stats {
    flex-direction: row;
    flex-wrap: wrap;
    gap: var(--space-sm);
  }

  .stat-card {
    margin-left: 0 !important;
    flex: 1 1 45%;
    padding: var(--space-md);
  }

  .stat-number {
    font-size: var(--text-xl);
  }

  .page-hero {
    min-height: 40vh;
    padding: clamp(5rem, 8vh, 6rem) var(--space-md);
  }

  section {
    padding: var(--section-padding) var(--space-md);
  }

  .two-col-layout,
  .two-col-layout.reverse {
    grid-template-columns: 1fr;
    direction: ltr;
  }

  .contact-layout {
    grid-template-columns: 1fr;
  }

  .process-step {
    grid-template-columns: 1fr;
    gap: var(--space-sm);
  }

  .step-marker {
    font-size: var(--text-xl);
  }

  .testimonials-row {
    grid-template-columns: 1fr;
  }

  .stats-row {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-lg);
  }

  .team-member {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }

  .member-avatar {
    width: 80px;
    height: 80px;
  }

  .cookie-content {
    flex-direction: column;
    text-align: center;
    gap: var(--space-md);
  }

  .floating-cta {
    left: 0;
    padding: var(--space-sm) var(--space-md);
  }

  .fullscreen-nav nav a {
    font-size: clamp(1.5rem, 4vw, 2rem);
  }

  .newsletter-form {
    flex-direction: column;
  }

  .newsletter-form input,
  .newsletter-form button {
    border-radius: 0;
    width: 100%;
  }

  main > section > h2::before {
    font-size: 2.5rem;
  }
}

/* Medium screens (640px – 1023px) */
@media (min-width: 640px) and (max-width: 1023px) {
  .left-rail {
    width: 60px;
  }

  :root {
    --rail-width: 60px;
  }

  .main-wrapper {
    margin-left: 60px;
  }

  .site-header {
    left: 60px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
  }

  .hero-stats {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .stat-card {
    margin-left: 0 !important;
    flex: 1 1 200px;
  }

  .two-col-layout {
    grid-template-columns: 1fr;
  }

  .two-col-layout.reverse {
    direction: ltr;
  }

  .contact-layout {
    grid-template-columns: 1fr;
  }

  .floating-cta {
    left: 60px;
  }
}

/* Large screens (1024px – 1279px) */
@media (min-width: 1024px) {
  .floating-cta {
    display: none;
  }

  .hero-grid {
    grid-template-columns: 1.2fr 0.8fr;
  }

  .two-col-layout {
    grid-template-columns: 1fr 1fr;
  }

  .contact-layout {
    grid-template-columns: 1fr 1.2fr;
  }
}

/* Extra large screens (1280px+) */
@media (min-width: 1280px) {
  .hero {
    padding: 8rem clamp(var(--space-2xl), 5vw, 6rem);
  }

  section {
    padding: var(--section-padding) clamp(var(--space-2xl), 5vw, 6rem);
  }

  .legal-content,
  .testimonials-full {
    padding-inline: clamp(var(--space-2xl), 5vw, 6rem);
  }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  html {
    scroll-behavior: auto;
  }

  .slide-in {
    opacity: 1;
    transform: none;
  }

  .page-transition-overlay {
    display: none;
  }
}

/* Focus visible */
*:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
}

/* Tap target sizing */
@media (pointer: coarse) {
  .btn,
  .accordion-header,
  .hamburger,
  .rail-dot,
  .footer-nav a {
    min-height: 44px;
    min-width: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
}