/* ============================================================
   SAMA SIPPAR COMPANY — Kinetic Minimalism Design System
   Brand: Dark Blue #0f172a · Gold #d5af37
   Aesthetic: Premium, Trust-focused, Industrial
   ============================================================ */

/* --- CSS Custom Properties --- */
:root {
  --navy: #0f172a;
  --navy-90: rgba(15, 23, 42, 0.9);
  --navy-80: rgba(15, 23, 42, 0.8);
  --navy-60: rgba(15, 23, 42, 0.6);
  --navy-light: #1e293b;
  --navy-lighter: #334155;
  --gold: #d5af37;
  --gold-light: #e8c84a;
  --gold-dark: #b8941f;
  --gold-10: rgba(213, 175, 55, 0.1);
  --gold-20: rgba(213, 175, 55, 0.2);
  --white: #ffffff;
  --off-white: #f8fafc;
  --gray-50: #f9fafb;
  --gray-100: #f1f5f9;
  --gray-200: #e2e8f0;
  --gray-300: #cbd5e1;
  --gray-400: #94a3b8;
  --gray-500: #64748b;
  --gray-600: #475569;
  --gray-700: #334155;
  --text-primary: #0f172a;
  --text-secondary: #475569;
  --text-muted: #94a3b8;
  --font-display: 'Montserrat', sans-serif;
  --font-body: 'Open Sans', sans-serif;
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-out-quart: cubic-bezier(0.25, 1, 0.5, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --duration-fast: 0.2s;
  --duration-normal: 0.4s;
  --duration-slow: 0.7s;
  --duration-slower: 1s;
  --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.06);
  --shadow-md: 0 4px 16px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 8px 32px rgba(15, 23, 42, 0.1);
  --shadow-xl: 0 16px 48px rgba(15, 23, 42, 0.12);
  --shadow-gold: 0 4px 24px rgba(213, 175, 55, 0.2);
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 20px;
}

/* --- 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;
}

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

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; transition: color var(--duration-fast) ease; }
ul { list-style: none; }

/* --- Typography --- */
h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(2.4rem, 5vw, 4rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.6rem); }
p { font-size: 1.05rem; color: var(--text-secondary); }

/* --- Layout --- */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

section { padding: 6rem 0; }

/* --- Scroll Reveal System --- */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity var(--duration-slow) var(--ease-out-expo),
              transform var(--duration-slow) var(--ease-out-expo);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-left {
  opacity: 0;
  transform: translateX(-60px);
  transition: opacity var(--duration-slow) var(--ease-out-expo),
              transform var(--duration-slow) var(--ease-out-expo);
}
.reveal-left.visible {
  opacity: 1;
  transform: translateX(0);
}
.reveal-right {
  opacity: 0;
  transform: translateX(60px);
  transition: opacity var(--duration-slow) var(--ease-out-expo),
              transform var(--duration-slow) var(--ease-out-expo);
}
.reveal-right.visible {
  opacity: 1;
  transform: translateX(0);
}
.reveal-scale {
  opacity: 0;
  transform: scale(0.9);
  transition: opacity var(--duration-slow) var(--ease-out-expo),
              transform var(--duration-slow) var(--ease-out-expo);
}
.reveal-scale.visible {
  opacity: 1;
  transform: scale(1);
}

/* Stagger children */
.stagger > *:nth-child(1) { transition-delay: 0s; }
.stagger > *:nth-child(2) { transition-delay: 0.1s; }
.stagger > *:nth-child(3) { transition-delay: 0.2s; }
.stagger > *:nth-child(4) { transition-delay: 0.3s; }
.stagger > *:nth-child(5) { transition-delay: 0.4s; }
.stagger > *:nth-child(6) { transition-delay: 0.5s; }

/* --- Navigation --- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--navy);
  transition: background var(--duration-normal) ease,
              box-shadow var(--duration-normal) ease;
}
.nav.scrolled {
  background: var(--navy-90);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 1px 0 rgba(213, 175, 55, 0.15);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
  padding: 0 2rem;
  max-width: 1400px;
  margin: 0 auto;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.nav-logo-mark {
  background: var(--gold);
  color: var(--navy);
  padding: 0.4rem 0.6rem;
  border-radius: var(--radius-sm);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.1rem;
  letter-spacing: 0.02em;
}
.nav-logo-text {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--white);
  letter-spacing: 0.04em;
}
.nav-logo-text span {
  color: var(--gold);
}
.nav-logo-sub {
  font-size: 0.6rem;
  color: var(--gray-400);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  display: block;
  margin-top: -1px;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 0;
}
.nav-link {
  position: relative;
  padding: 0.5rem 1.15rem;
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--gray-300);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: color var(--duration-fast) ease;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: width var(--duration-normal) var(--ease-out-expo),
              left var(--duration-normal) var(--ease-out-expo);
}
.nav-link:hover,
.nav-link.active {
  color: var(--gold);
}
.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
  left: 0;
}
.nav-cta {
  margin-left: 1rem;
  padding: 0.55rem 1.5rem;
  background: var(--gold);
  color: var(--navy);
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border-radius: var(--radius-sm);
  transition: all var(--duration-normal) var(--ease-out-expo);
}
.nav-cta:hover {
  background: var(--gold-light);
  transform: translateY(-1px);
  box-shadow: var(--shadow-gold);
  color: var(--navy);
}

/* Mobile menu */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  transition: transform var(--duration-normal) var(--ease-out-expo),
              opacity var(--duration-fast) ease;
}
.nav-toggle.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* --- Hero Slideshow --- */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  max-height: 1000px;
  overflow: hidden;
  display: flex;
  align-items: center;
}
.hero-slideshow {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.2s ease-in-out;
}
.hero-slide.active {
  opacity: 1;
}
.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1);
  transition: transform 8s ease-out;
}
.hero-slide.active img {
  transform: scale(1.06);
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(15, 23, 42, 0.65) 0%,
    rgba(15, 23, 42, 0.5) 50%,
    rgba(15, 23, 42, 0.6) 100%
  );
  z-index: 1;
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
  padding: 0 2rem;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1rem;
  background: var(--gold-10);
  border: 1px solid var(--gold-20);
  border-radius: 100px;
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--gold);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  opacity: 0;
  transform: translateY(20px);
  animation: heroFadeUp 0.8s var(--ease-out-expo) 0.3s forwards;
}
.hero-badge::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
  animation: pulseDot 2s ease infinite;
}
.hero h1 {
  color: var(--white);
  margin-bottom: 1.25rem;
  opacity: 0;
  transform: translateY(30px);
  animation: heroFadeUp 0.8s var(--ease-out-expo) 0.5s forwards;
}
.hero h1 .accent {
  color: var(--gold);
}
.hero-description {
  font-size: 1.1rem;
  color: var(--gray-300);
  line-height: 1.8;
  margin-bottom: 2rem;
  opacity: 0;
  transform: translateY(30px);
  animation: heroFadeUp 0.8s var(--ease-out-expo) 0.7s forwards;
}
.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  opacity: 0;
  transform: translateY(30px);
  animation: heroFadeUp 0.8s var(--ease-out-expo) 0.9s forwards;
}

/* Hero indicators */
.hero-indicators {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  gap: 1rem;
}
.hero-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  border: 2px solid rgba(255, 255, 255, 0.6);
  cursor: pointer;
  transition: all var(--duration-normal) var(--ease-out-expo);
}
.hero-dot:hover {
  background: rgba(255, 255, 255, 0.8);
  transform: scale(1.2);
}
.hero-dot.active {
  background: var(--gold);
  border-color: var(--gold-light);
  transform: scale(1.6);
  box-shadow: 0 0 16px rgba(213, 175, 55, 0.6);
}

.hero-scroll {
  position: absolute;
  bottom: 2rem;
  right: 2rem;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: var(--gray-400);
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-family: var(--font-display);
  animation: float 3s ease-in-out infinite;
}
.hero-scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--gold), transparent);
  animation: scrollLine 2s ease infinite;
}

@keyframes heroFadeUp {
  to { opacity: 1; transform: translateY(0); }
}
@keyframes pulseDot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.5); }
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
@keyframes scrollLine {
  0% { opacity: 0; transform: scaleY(0); transform-origin: top; }
  50% { opacity: 1; transform: scaleY(1); transform-origin: top; }
  51% { transform-origin: bottom; }
  100% { opacity: 0; transform: scaleY(0); transform-origin: bottom; }
}

/* --- Page Hero (subpages) --- */
.page-hero {
  position: relative;
  height: 50vh;
  min-height: 380px;
  max-height: 520px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.page-hero .hero-slideshow,
.page-hero .hero-overlay,
.page-hero .hero-slide {
  position: absolute;
  inset: 0;
}
.page-hero .hero-overlay {
  background: linear-gradient(180deg, rgba(15,23,42,0.7) 0%, rgba(15,23,42,0.85) 100%);
}
.page-hero-content {
  position: relative;
  z-index: 2;
  opacity: 0;
  transform: translateY(30px);
  animation: heroFadeUp 0.8s var(--ease-out-expo) 0.3s forwards;
}
.page-hero h1 { color: var(--white); margin-bottom: 0.75rem; }
.page-hero-breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--gray-400);
}
.page-hero-breadcrumb a { color: var(--gold); }
.page-hero-breadcrumb a:hover { text-decoration: underline; }
.page-hero-breadcrumb .sep { color: var(--gray-500); }

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 2rem;
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all var(--duration-normal) var(--ease-out-expo);
  position: relative;
  overflow: hidden;
}
.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent, rgba(255,255,255,0.15), transparent);
  transform: translateX(-100%);
  transition: transform 0.6s ease;
}
.btn:hover::before { transform: translateX(100%); }
.btn-primary {
  background: var(--gold);
  color: var(--navy);
}
.btn-primary:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow-gold);
}
.btn-outline {
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(255,255,255,0.3);
}
.btn-outline:hover {
  border-color: var(--gold);
  color: var(--gold);
  transform: translateY(-2px);
}
.btn-dark {
  background: var(--navy);
  color: var(--white);
}
.btn-dark:hover {
  background: var(--navy-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}
.btn-icon {
  transition: transform var(--duration-fast) var(--ease-spring);
}
.btn:hover .btn-icon { transform: translateX(4px); }

/* --- Section Headers --- */
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--gold);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}
.section-label::before {
  content: '';
  width: 32px;
  height: 2px;
  background: var(--gold);
}
.section-title { margin-bottom: 1rem; }
.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 640px;
  line-height: 1.8;
}

/* --- Cards --- */
.card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--duration-normal) var(--ease-out-expo);
  border: 1px solid var(--gray-200);
}
.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
  border-color: var(--gold-20);
}
.card-image {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16/10;
}
.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--duration-slow) var(--ease-out-expo);
}
.card:hover .card-image img { transform: scale(1.06); }
.card-image-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, var(--navy-80), transparent 60%);
  opacity: 0;
  transition: opacity var(--duration-normal) ease;
}
.card:hover .card-image-overlay { opacity: 1; }
.card-body { padding: 1.75rem; }
.card-body h3 {
  margin-bottom: 0.75rem;
  transition: color var(--duration-fast) ease;
}
.card:hover .card-body h3 { color: var(--gold-dark); }
.card-body p { font-size: 0.95rem; line-height: 1.7; }

/* --- Service Cards (icon-based) --- */
.service-card {
  padding: 2.5rem 2rem;
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-200);
  transition: all var(--duration-normal) var(--ease-out-expo);
  position: relative;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--duration-normal) var(--ease-out-expo);
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
  border-color: transparent;
}
.service-card:hover::before { transform: scaleX(1); }
.service-icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gold-10);
  border-radius: var(--radius-md);
  margin-bottom: 1.5rem;
  font-size: 1.5rem;
  transition: all var(--duration-normal) var(--ease-out-expo);
}
.service-card:hover .service-icon {
  background: var(--gold);
  transform: scale(1.1) rotate(-3deg);
}

/* --- Content Sections (split layout) --- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.split-reverse { direction: rtl; }
.split-reverse > * { direction: ltr; }
.split-image {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.split-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius-lg);
  transition: transform var(--duration-slow) var(--ease-out-expo);
}
.split-image:hover img { transform: scale(1.03); }
.split-image-accent {
  position: absolute;
  width: 100%;
  height: 100%;
  border: 2px solid var(--gold);
  border-radius: var(--radius-lg);
  top: 16px;
  left: 16px;
  z-index: -1;
  transition: all var(--duration-normal) var(--ease-out-expo);
}
.split-image:hover .split-image-accent { top: 12px; left: 12px; }

/* --- Image Slideshow (inline) --- */
.inline-slideshow {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/3;
}
.inline-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.8s ease-in-out;
}
.inline-slide.active { opacity: 1; }
.inline-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.inline-dots {
  position: absolute;
  bottom: 1rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.5rem;
  z-index: 2;
}
.inline-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.4);
  border: none;
  cursor: pointer;
  transition: all var(--duration-fast) ease;
  padding: 0;
}
.inline-dot.active {
  background: var(--gold);
  transform: scale(1.3);
}

/* --- Stats Counter --- */
.stats-bar {
  background: var(--navy);
  padding: 4rem 0;
  position: relative;
  overflow: hidden;
}
.stats-bar::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}
.stat-item { position: relative; }
.stat-item::after {
  content: '';
  position: absolute;
  right: 0; top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 40px;
  background: rgba(255,255,255,0.1);
}
.stat-item:last-child::after { display: none; }
.stat-number {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 0.5rem;
}
.stat-label {
  font-size: 0.85rem;
  color: var(--gray-400);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* --- Service List --- */
.service-list { margin-top: 1.5rem; }
.service-list li {
  position: relative;
  padding: 0.6rem 0 0.6rem 1.75rem;
  font-size: 0.95rem;
  color: var(--text-secondary);
  border-bottom: 1px solid var(--gray-100);
  transition: all var(--duration-fast) ease;
}
.service-list li::before {
  content: '';
  position: absolute;
  left: 0; top: 50%;
  transform: translateY(-50%);
  width: 8px; height: 8px;
  border: 2px solid var(--gold);
  border-radius: 50%;
  transition: all var(--duration-fast) var(--ease-spring);
}
.service-list li:hover {
  padding-left: 2rem;
  color: var(--text-primary);
}
.service-list li:hover::before {
  background: var(--gold);
  transform: translateY(-50%) scale(1.2);
}

/* --- Process Steps --- */
.process-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.5rem;
  position: relative;
}
.process-grid::before {
  content: '';
  position: absolute;
  top: 32px;
  left: 10%; right: 10%;
  height: 2px;
  background: var(--gray-200);
  z-index: 0;
}
.process-step {
  text-align: center;
  position: relative;
  z-index: 1;
}
.process-number {
  width: 64px; height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--white);
  border: 2px solid var(--gold);
  border-radius: 50%;
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--gold);
  margin: 0 auto 1.25rem;
  transition: all var(--duration-normal) var(--ease-out-expo);
}
.process-step:hover .process-number {
  background: var(--gold);
  color: var(--navy);
  transform: scale(1.15);
  box-shadow: var(--shadow-gold);
}
.process-step h4 { font-size: 0.9rem; margin-bottom: 0.5rem; }
.process-step p { font-size: 0.8rem; color: var(--text-muted); }

/* --- Values Grid --- */
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.value-card {
  padding: 2rem;
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-200);
  text-align: center;
  transition: all var(--duration-normal) var(--ease-out-expo);
}
.value-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--gold-20);
}
.value-icon {
  font-size: 2rem;
  margin-bottom: 1rem;
  display: block;
  transition: transform var(--duration-normal) var(--ease-spring);
}
.value-card:hover .value-icon { transform: scale(1.2) rotate(-5deg); }
.value-card h3 { font-size: 1.1rem; margin-bottom: 0.5rem; }
.value-card p { font-size: 0.9rem; }

/* --- Timeline --- */
.timeline { position: relative; padding: 2rem 0; }
.timeline::before {
  content: '';
  position: absolute;
  left: 50%; top: 0; bottom: 0;
  width: 2px;
  background: var(--gray-200);
  transform: translateX(-50%);
}
.timeline-item {
  display: flex;
  align-items: center;
  margin-bottom: 3rem;
  position: relative;
}
.timeline-item:nth-child(odd) { flex-direction: row; }
.timeline-item:nth-child(even) { flex-direction: row-reverse; }
.timeline-content {
  width: 45%;
  padding: 1.5rem 2rem;
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-200);
  transition: all var(--duration-normal) var(--ease-out-expo);
}
.timeline-content:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
  border-color: var(--gold-20);
}
.timeline-dot {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 16px; height: 16px;
  background: var(--gold);
  border-radius: 50%;
  border: 3px solid var(--white);
  box-shadow: 0 0 0 3px var(--gold-20);
  z-index: 1;
}
.timeline-year {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--gold);
  font-size: 1.1rem;
  margin-bottom: 0.25rem;
}
.timeline-spacer { width: 45%; }

/* --- Contact Form --- */
.form-group { margin-bottom: 1.5rem; }
.form-label {
  display: block;
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-primary);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}
.form-input,
.form-textarea,
.form-select {
  width: 100%;
  padding: 0.85rem 1rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--text-primary);
  background: var(--white);
  border: 1px solid var(--gray-300);
  border-radius: var(--radius-sm);
  transition: all var(--duration-fast) ease;
  outline: none;
}
.form-input:focus,
.form-textarea:focus,
.form-select:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px var(--gold-10);
}
.form-textarea { min-height: 140px; resize: vertical; }
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}
.form-error {
  color: #e74c3c;
  font-size: 0.8rem;
  margin-top: 0.25rem;
  display: none;
}

/* --- Footer --- */
.footer {
  background: var(--navy);
  color: var(--gray-400);
  padding: 4rem 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-brand p {
  color: var(--gray-400);
  font-size: 0.9rem;
  margin-top: 1rem;
  line-height: 1.7;
}
.footer h4 {
  color: var(--white);
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}
.footer-links li { margin-bottom: 0.6rem; }
.footer-links a {
  font-size: 0.9rem;
  color: var(--gray-400);
  transition: all var(--duration-fast) ease;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}
.footer-links a::before {
  content: '';
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: width var(--duration-normal) var(--ease-out-expo);
}
.footer-links a:hover { color: var(--gold); }
.footer-links a:hover::before { width: 12px; }
.footer-bottom {
  padding: 1.5rem 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
}
.footer-certs {
  display: flex;
  gap: 1rem;
  align-items: center;
}
.footer-cert {
  padding: 0.25rem 0.75rem;
  border: 1px solid rgba(213, 175, 55, 0.3);
  border-radius: var(--radius-sm);
  font-size: 0.7rem;
  color: var(--gold);
  font-weight: 600;
  letter-spacing: 0.05em;
}

/* --- Utility --- */
.bg-light { background: var(--gray-50); }
.bg-navy { background: var(--navy); color: var(--white); }
.bg-navy p { color: var(--gray-300); }
.bg-navy h2, .bg-navy h3 { color: var(--white); }
.text-gold { color: var(--gold); }
.text-center { text-align: center; }
.mx-auto { margin-left: auto; margin-right: auto; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; }

/* --- CTA Section --- */
.cta-section {
  background: var(--navy);
  padding: 5rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute;
  top: -50%; left: -50%;
  width: 200%; height: 200%;
  background: radial-gradient(circle at 30% 50%, var(--gold-10), transparent 50%);
  animation: ctaGlow 8s ease-in-out infinite alternate;
}
@keyframes ctaGlow {
  0% { transform: translate(0, 0); }
  100% { transform: translate(5%, 5%); }
}
.cta-section h2 { color: var(--white); position: relative; }
.cta-section p { color: var(--gray-300); position: relative; max-width: 600px; margin: 0 auto; }

/* --- Magnetic Hover (micro-interaction) --- */
.magnetic { transition: transform var(--duration-fast) var(--ease-spring); }

/* --- Counter Animation --- */
.counter-animated {
  display: inline-block;
  transition: transform var(--duration-fast) var(--ease-spring);
}
.counter-animated:hover { transform: scale(1.05); }

/* --- Prefers Reduced Motion --- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .hero-slide.active img { transform: none; }
  .reveal, .reveal-left, .reveal-right, .reveal-scale {
    opacity: 1; transform: none;
  }
}

/* --- Responsive --- */
@media (max-width: 1024px) {
  .split { grid-template-columns: 1fr; gap: 2.5rem; }
  .split-reverse { direction: ltr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-item:nth-child(2)::after { display: none; }
  .process-grid { grid-template-columns: repeat(3, 1fr); }
  .process-grid::before { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .values-grid { grid-template-columns: repeat(2, 1fr); }
  .timeline::before { left: 2rem; }
  .timeline-item,
  .timeline-item:nth-child(even) { flex-direction: row; }
  .timeline-content { width: auto; flex: 1; margin-left: 3rem; }
  .timeline-spacer { display: none; }
  .timeline-dot { left: 2rem; }
}

@media (max-width: 768px) {
  section { padding: 4rem 0; }
  .nav-links {
    position: fixed;
    top: 0; right: -100%;
    width: 280px; height: 100vh;
    background: var(--navy);
    flex-direction: column;
    padding: 6rem 2rem 2rem;
    gap: 0;
    transition: right var(--duration-normal) var(--ease-out-expo);
    box-shadow: -8px 0 32px rgba(0,0,0,0.3);
  }
  .nav-links.open { right: 0; }
  .nav-link {
    padding: 1rem 0;
    font-size: 1rem;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    width: 100%;
  }
  .nav-cta { margin-left: 0; margin-top: 1rem; text-align: center; display: block; }
  .nav-toggle { display: flex; }
  .hero { min-height: 500px; }
  .hero h1 { font-size: 2rem; }
  .hero-content { padding: 0 1.5rem; }
  .hero-scroll { display: none; }
  .stats-grid { grid-template-columns: 1fr 1fr; gap: 1.5rem; }
  .stat-item::after { display: none; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .process-grid { grid-template-columns: 1fr 1fr; }
  .values-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; gap: 1rem; text-align: center; }
}

@media (max-width: 480px) {
  .hero { min-height: 450px; }
  .hero h1 { font-size: 1.75rem; }
  .hero-actions { flex-direction: column; }
  .btn { width: 100%; justify-content: center; }
  .stats-grid { grid-template-columns: 1fr; }
  .process-grid { grid-template-columns: 1fr; }
}
