/* ============================================================
   DOMINIK GERMAN SCHOOL — styles.css
   Aesthetic: Structured European Elegance
   ============================================================ */

/* --- FONTS --- */
@font-face {
  font-family: 'Playfair Display';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/playfair-display-400.woff2') format('woff2');
}
@font-face {
  font-family: 'Playfair Display';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/playfair-display-400italic.woff2') format('woff2');
}
@font-face {
  font-family: 'Playfair Display';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('fonts/playfair-display-700.woff2') format('woff2');
}
@font-face {
  font-family: 'Lato';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url('fonts/lato-300.woff2') format('woff2');
}
@font-face {
  font-family: 'Lato';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/lato-400.woff2') format('woff2');
}
@font-face {
  font-family: 'Lato';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('fonts/lato-700.woff2') format('woff2');
}

/* --- CSS VARIABLES --- */
:root {
  --primary:       #1F456E;
  --primary-dark:  #152f4e;
  --primary-light: #2a5a8e;
  --secondary:     #4F7096;
  --secondary-2:   #A67C52;
  --accent:        #E0AC18;
  --accent-dark:   #b88a0f;
  --neutral-light: #FBFAF6;
  --neutral-mid:   #BCC7D4;
  --neutral-dark:  #2A2F3A;
  --text:          #2A2F3A;
  --text-muted:    #5a6472;
  --white:         #ffffff;

  --font-heading:  'Playfair Display', Georgia, serif;
  --font-body:     'Lato', 'Helvetica Neue', Arial, sans-serif;

  --container-max: 1180px;
  --section-gap:   7rem;
  --radius:        6px;
  --radius-lg:     12px;

  --shadow-sm:  0 2px 8px rgba(31,69,110,0.08);
  --shadow-md:  0 8px 32px rgba(31,69,110,0.12);
  --shadow-lg:  0 20px 64px rgba(31,69,110,0.18);

  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--neutral-light);
  line-height: 1.7;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font: inherit; }

.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 2rem;
}

/* --- TYPOGRAPHY --- */
.section-label {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--secondary);
  margin-bottom: 1rem;
}
.section-label.light { color: var(--neutral-mid); }

.section-heading {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.2;
  color: var(--primary);
  margin-bottom: 1.5rem;
}
.section-heading em {
  font-style: italic;
  color: var(--accent);
}
.section-heading.light { color: var(--white); }
.section-heading.light em { color: var(--accent); }

/* --- BUTTONS --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 2rem;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: var(--transition);
  cursor: pointer;
  position: relative;
  overflow: hidden;
}
.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.12);
  opacity: 0;
  transition: opacity 0.2s;
}
.btn:hover::after { opacity: 1; }

.btn-primary {
  background: var(--accent);
  color: var(--primary-dark);
  box-shadow: 0 4px 20px rgba(224,172,24,0.3);
}
.btn-primary:hover {
  background: var(--accent-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(224,172,24,0.4);
}

.btn-ghost {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,0.5);
}
.btn-ghost:hover {
  border-color: var(--white);
  background: rgba(255,255,255,0.08);
  transform: translateY(-2px);
}

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

/* ============================================================
   NAVIGATION
   ============================================================ */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 999;
  padding: 1.25rem 0;
  transition: background 0.4s, padding 0.4s, box-shadow 0.4s;
}
.site-header.scrolled {
  background: rgba(21, 47, 78, 0.97);
  padding: 0.75rem 0;
  box-shadow: 0 2px 24px rgba(0,0,0,0.2);
  backdrop-filter: blur(10px);
}

.nav-inner {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}
.logo-mark {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  background: var(--accent);
  color: var(--primary-dark);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.9rem;
  border-radius: var(--radius);
  letter-spacing: 0.04em;
  flex-shrink: 0;
}
.logo-text {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1.2;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2.5rem;
}
.nav-links li a {
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.85);
  transition: color var(--transition);
  padding-bottom: 2px;
  border-bottom: 1.5px solid transparent;
}
.nav-links li a:hover {
  color: var(--accent);
  border-bottom-color: var(--accent);
}
.nav-cta {
  background: var(--accent) !important;
  color: var(--primary-dark) !important;
  padding: 0.6rem 1.25rem !important;
  border-radius: var(--radius) !important;
  border-bottom: none !important;
  transition: background var(--transition), transform var(--transition) !important;
}
.nav-cta:hover {
  background: var(--accent-dark) !important;
  transform: translateY(-1px) !important;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  transition: var(--transition);
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  min-height: 100vh;
  background: linear-gradient(
    135deg,
    var(--primary-dark) 0%,
    var(--primary) 45%,
    var(--secondary) 100%
  );
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 8rem 2rem 4rem;
  overflow: hidden;
}

/* Mesh overlay */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 80% 20%, rgba(79,112,150,0.4) 0%, transparent 60%),
    radial-gradient(ellipse 50% 50% at 10% 80%, rgba(31,69,110,0.6) 0%, transparent 60%);
  pointer-events: none;
}

/* Subtle grid lines */
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(188,199,212,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(188,199,212,0.05) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}

.hero-bg-word {
  position: absolute;
  right: -5rem;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: clamp(10rem, 22vw, 22rem);
  color: rgba(255,255,255,0.03);
  letter-spacing: -0.04em;
  line-height: 1;
  pointer-events: none;
  user-select: none;
  white-space: nowrap;
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
  margin: 0 auto 3rem;
  text-align: center;
}

.hero-eyebrow {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.25rem;
  opacity: 0;
  animation: fadeSlideUp 0.8s 0.2s forwards;
}

.hero-headline {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: clamp(2.8rem, 7vw, 5.5rem);
  line-height: 1.08;
  color: var(--white);
  margin-bottom: 1.5rem;
  opacity: 0;
  animation: fadeSlideUp 0.9s 0.4s forwards;
}
.hero-headline em {
  font-style: italic;
  color: var(--accent);
}

.hero-sub {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.78);
  line-height: 1.7;
  max-width: 560px;
  margin: 0 auto 2.5rem;
  font-weight: 300;
  opacity: 0;
  animation: fadeSlideUp 0.9s 0.6s forwards;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeSlideUp 0.9s 0.8s forwards;
}

.hero-stats {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  background: rgba(255,255,255,0.06);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-lg);
  padding: 1.5rem 2.5rem;
  max-width: 600px;
  margin: 0 auto;
  opacity: 0;
  animation: fadeSlideUp 0.9s 1s forwards;
}

.stat-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  padding: 0 2.5rem;
  text-align: center;
}

.stat-num {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.75rem;
  color: var(--accent);
  line-height: 1;
}

.stat-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
}

.stat-divider {
  width: 1px;
  height: 48px;
  background: rgba(255,255,255,0.15);
  flex-shrink: 0;
}

.hero-scroll-hint {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  z-index: 2;
  opacity: 0;
  animation: fadeIn 1s 1.4s forwards;
}
.hero-scroll-hint span {
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
}
.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.4), transparent);
  animation: scrollPulse 2s infinite;
}

/* ============================================================
   ABOUT
   ============================================================ */
.about {
  padding: var(--section-gap) 0;
  background: var(--neutral-light);
  position: relative;
  overflow: hidden;
}

.about-inner {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 0 3rem;
  position: relative;
}

.about-label-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 0.25rem;
}
.about-label-col .section-label {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  letter-spacing: 0.18em;
  margin-bottom: 0;
}
.vertical-rule {
  width: 1px;
  flex: 1;
  background: var(--neutral-mid);
  margin-top: 1rem;
}

.about-text-col {
  padding: 0;
}
.about-text-col .section-heading {
  margin-bottom: 1.5rem;
}
.about-body {
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.8;
  margin-bottom: 1.25rem;
}
.about-body strong { color: var(--primary); }

.about-highlight {
  margin-top: 2.5rem;
  border-left: 3px solid var(--accent);
  padding: 1.25rem 1.75rem;
  background: rgba(31,69,110,0.04);
  border-radius: 0 var(--radius) var(--radius) 0;
}
.about-highlight blockquote {
  font-family: var(--font-heading);
  font-style: italic;
  font-size: 1.2rem;
  color: var(--primary);
  line-height: 1.5;
  margin-bottom: 0.5rem;
}
.about-highlight cite {
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  font-style: normal;
}

.about-deco-word {
  position: absolute;
  bottom: -2rem;
  right: -3rem;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: clamp(6rem, 14vw, 13rem);
  color: rgba(31,69,110,0.04);
  letter-spacing: -0.03em;
  pointer-events: none;
  user-select: none;
  line-height: 1;
}

/* ============================================================
   SERVICES
   ============================================================ */
.services {
  padding: var(--section-gap) 0;
  background: var(--primary);
  position: relative;
  overflow: hidden;
}

/* Diagonal top clip */
.services::before {
  content: '';
  position: absolute;
  top: -3px;
  left: 0; right: 0;
  height: 80px;
  background: var(--neutral-light);
  clip-path: polygon(0 0, 100% 0, 100% 0, 0 100%);
}

/* Diagonal bottom clip */
.services::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0; right: 0;
  height: 80px;
  background: var(--neutral-light);
  clip-path: polygon(0 100%, 100% 0, 100% 100%, 0 100%);
}

.services-inner {
  position: relative;
  z-index: 1;
  padding-top: 2rem;
  padding-bottom: 2rem;
}

.services-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 4rem;
}
.services-intro {
  color: rgba(255,255,255,0.7);
  font-size: 1.05rem;
  line-height: 1.7;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  position: relative;
}

.service-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2rem;
  position: relative;
  transition: transform var(--transition), background var(--transition), box-shadow var(--transition);
  backdrop-filter: blur(4px);
}
.service-card:hover {
  transform: translateY(-6px);
  background: rgba(255,255,255,0.1);
  box-shadow: 0 20px 50px rgba(0,0,0,0.3);
}
.service-card.featured {
  background: rgba(224,172,24,0.12);
  border-color: rgba(224,172,24,0.35);
}
.service-card.featured:hover {
  background: rgba(224,172,24,0.18);
}

.service-badge {
  position: absolute;
  top: -0.75rem;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: var(--primary-dark);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.3rem 0.9rem;
  border-radius: 20px;
  white-space: nowrap;
}

.service-icon {
  width: 48px;
  height: 48px;
  color: var(--accent);
  margin-bottom: 1.5rem;
}
.service-icon svg { width: 100%; height: 100%; }

.service-card h3 {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.75rem;
  line-height: 1.3;
}
.service-card p {
  color: rgba(255,255,255,0.7);
  font-size: 0.92rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.service-features {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.service-features li {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.6);
  padding-left: 1.25rem;
  position: relative;
}
.service-features li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-size: 0.8rem;
}

.services-deco-word {
  position: absolute;
  top: 50%;
  left: -4rem;
  transform: translateY(-50%);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: clamp(8rem, 16vw, 16rem);
  color: rgba(255,255,255,0.025);
  letter-spacing: -0.03em;
  pointer-events: none;
  user-select: none;
  line-height: 1;
  z-index: 0;
  writing-mode: vertical-rl;
}

/* ============================================================
   WHY CHOOSE US
   ============================================================ */
.why {
  padding: var(--section-gap) 0;
  background: var(--neutral-light);
}

.why-inner { }

.why-header {
  margin-bottom: 4rem;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem 3rem;
}

.why-item {
  padding: 0;
  position: relative;
}
.why-item::before {
  content: '';
  display: block;
  width: 40px;
  height: 2px;
  background: var(--accent);
  margin-bottom: 1.25rem;
  transition: width var(--transition);
}
.why-item:hover::before { width: 60px; }

.why-num {
  font-family: var(--font-heading);
  font-size: 3.5rem;
  font-weight: 700;
  color: rgba(31,69,110,0.07);
  line-height: 1;
  margin-bottom: 0.5rem;
  letter-spacing: -0.03em;
}

.why-item h4 {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 0.75rem;
}

.why-item p {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ============================================================
   PROCESS
   ============================================================ */
.process {
  padding: var(--section-gap) 0;
  background: var(--neutral-dark);
  position: relative;
  overflow: hidden;
}
.process::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 50% at 30% 50%, rgba(31,69,110,0.5) 0%, transparent 60%);
  pointer-events: none;
}

.process-inner { position: relative; z-index: 1; }

.process-header {
  margin-bottom: 4rem;
  max-width: 500px;
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
}
.process-steps::before {
  content: '';
  position: absolute;
  top: 28px;
  left: 14%;
  right: 14%;
  height: 2px;
  background: rgba(188,199,212,0.2);
  z-index: 0;
}

.process-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  z-index: 1;
  padding: 0 1.5rem;
}

.step-num {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--primary);
  border: 2px solid var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.3rem;
  color: var(--accent);
  margin-bottom: 1.5rem;
  transition: background var(--transition), transform var(--transition);
}
.process-step:hover .step-num {
  background: var(--accent);
  color: var(--primary-dark);
  transform: scale(1.1);
}

.step-content h4 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  color: var(--white);
  margin-bottom: 0.5rem;
}
.step-content p {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.55);
  line-height: 1.6;
}

/* ============================================================
   CONTACT
   ============================================================ */
.contact {
  padding: var(--section-gap) 0;
  background: var(--neutral-light);
}

.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 5rem;
  align-items: start;
}

.contact-left .section-heading {
  margin-bottom: 1rem;
}
.contact-sub {
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 2.5rem;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.contact-item {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  font-size: 0.95rem;
  color: var(--text-muted);
}
.contact-item svg {
  width: 20px;
  height: 20px;
  color: var(--primary);
  flex-shrink: 0;
}
.contact-item a:hover { color: var(--primary); }

/* Form */
.contact-form {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--neutral-mid);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-bottom: 1.25rem;
}

.form-group label {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--primary);
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 0.75rem 1rem;
  border: 1.5px solid var(--neutral-mid);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--text);
  background: var(--neutral-light);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
  width: 100%;
  -webkit-appearance: none;
  appearance: none;
}
.form-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='%235a6472' d='M4 6l4 4 4-4'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  background-size: 16px;
  padding-right: 2.5rem;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(31,69,110,0.1);
  background: var(--white);
}
.form-group textarea { resize: vertical; min-height: 100px; }

.form-note {
  text-align: center;
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 1rem;
}

/* Form success state */
.form-success {
  display: none;
  text-align: center;
  padding: 3rem 2rem;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--neutral-mid);
}
.form-success.visible { display: block; }
.success-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--primary-dark);
  font-size: 1.8rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  font-weight: 700;
  animation: scaleIn 0.4s var(--transition);
}
.form-success h3 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  color: var(--primary);
  margin-bottom: 0.5rem;
}
.form-success p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--neutral-dark);
  padding-top: 5rem;
}

.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3.5rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-brand .logo-mark {
  margin-bottom: 0.75rem;
}
.footer-brand .logo-text {
  display: block;
  margin-bottom: 0.5rem;
}
.footer-tagline {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.4);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-top: 0.5rem;
}

.footer-links-group h5 {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  margin-bottom: 1.25rem;
}
.footer-links-group ul {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.footer-links-group li,
.footer-links-group li a {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.6);
  transition: color var(--transition);
}
.footer-links-group li a:hover { color: var(--accent); }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem 2rem;
  flex-wrap: wrap;
  gap: 1rem;
}
.footer-copy {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.3);
}
.footer-legal {
  display: flex;
  gap: 1.5rem;
}
.footer-legal a {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.4);
  transition: color var(--transition);
}
.footer-legal a:hover { color: var(--accent); }

.footer-ai-disclosure {
  padding: 0.75rem 2rem 1.5rem;
  text-align: center;
}
.footer-ai-disclosure small {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.35);
}

/* ============================================================
   ANIMATIONS
   ============================================================ */
@keyframes fadeSlideUp {
  from {
    opacity: 0;
    transform: translateY(28px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes scrollPulse {
  0%, 100% { transform: scaleY(1); opacity: 1; }
  50% { transform: scaleY(0.5); opacity: 0.4; }
}

@keyframes scaleIn {
  from { transform: scale(0.5); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1),
              transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}
.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; }
.reveal-delay-5 { transition-delay: 0.5s; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .services-grid {
    grid-template-columns: 1fr 1fr;
  }
  .service-card:last-child {
    grid-column: 1 / -1;
    max-width: 420px;
    margin: 0 auto;
  }
  .why-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .process-steps {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }
  .process-steps::before { display: none; }
  .contact-inner {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .footer-inner {
    grid-template-columns: 1fr 1fr;
  }
  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 768px) {
  :root { --section-gap: 5rem; }

  .nav-toggle { display: flex; }
  .nav-links {
    display: none;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(21,47,78,0.98);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    z-index: 998;
  }
  .nav-links.open { display: flex; }
  .nav-links li a {
    font-size: 1.25rem;
  }

  .hero-stats {
    flex-direction: column;
    gap: 1rem;
    padding: 1.5rem;
  }
  .stat-card { padding: 0; }
  .stat-divider {
    width: 60px;
    height: 1px;
  }

  .about-inner {
    grid-template-columns: 1fr;
  }
  .about-label-col {
    flex-direction: row;
    align-items: center;
    gap: 1rem;
  }
  .about-label-col .section-label {
    writing-mode: horizontal-tb;
    transform: none;
  }
  .vertical-rule {
    width: 100%;
    height: 1px;
    flex: 1;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }
  .service-card:last-child {
    grid-column: auto;
    max-width: none;
  }

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

  .process-steps {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    grid-template-columns: 1fr;
  }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .hero-bg-word {
    font-size: 40vw;
    right: -2rem;
  }
}

@media (max-width: 480px) {
  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }
  .hero-actions .btn {
    text-align: center;
    justify-content: center;
  }
  .contact-form {
    padding: 1.75rem 1.25rem;
  }
}
