/* ══════════════════════════════════════════════
   Medcentric — Styles v2
   Design Reference: aznga.com
   ══════════════════════════════════════════════ */

:root {
  --color-accent: #00a0e3;
  --color-accent-dark: #0080b8;
  --color-black: #000000;
  --color-dark: #111111;
  --color-white: #ffffff;
  --color-text: #3d3d3d;
  --color-text-light: #6b6b6b;
  --color-bg: #ffffff;
  --color-bg-alt: #f7f7f8;
  --color-border: #e2e2e2;

  --font-heading: 'Outfit', 'Inter', sans-serif;
  --font-body: 'DM Sans', 'Inter', sans-serif;

  --container: 1200px;
  --section-py: 100px;
  --nav-height: 76px;
  --radius: 4px;
  --radius-lg: 8px;
  --shadow: 0 4px 24px rgba(0,0,0,0.06);
  --shadow-lg: 0 8px 40px rgba(0,0,0,0.1);
}

/* ── Reset ── */
*, *::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(--color-text); background: var(--color-bg); line-height: 1.65; overflow-x: hidden; font-size: 16px; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
h1,h2,h3,h4,h5,h6 { font-family: var(--font-heading); color: var(--color-black); line-height: 1.15; font-weight: 600; }
.container { max-width: var(--container); margin: 0 auto; padding: 0 28px; }

/* ══════════════════════════════════════════════
   HEADER
   ══════════════════════════════════════════════ */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  height: var(--nav-height); display: flex; align-items: center;
  background: transparent;
  transition: height 0.35s ease, background 0.35s ease, box-shadow 0.35s ease, backdrop-filter 0.35s ease;
}
.site-header.scrolled {
  height: 60px;
  background: rgba(0,0,0,0.92);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 1px 0 rgba(255,255,255,0.06);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 28px;
}
.header-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.header-logo .logo-mark { height: 36px; width: auto; transition: height 0.3s ease; }
.header-logo .logo-wordmark {
  font-family: var(--font-heading); font-size: 22px; font-weight: 300;
  color: var(--color-white); letter-spacing: -0.02em;
  transition: font-size 0.3s ease;
}
.site-header.scrolled .header-logo .logo-mark { height: 28px; }
.site-header.scrolled .header-logo .logo-wordmark { font-size: 18px; }

.header-nav { display: flex; align-items: center; gap: 36px; }
.header-nav a {
  font-family: var(--font-heading); font-size: 13px; font-weight: 500;
  letter-spacing: 0.06em; text-transform: uppercase;
  color: rgba(255,255,255,0.85);
  transition: color 0.2s ease;
  position: relative;
}
.header-nav a::after {
  content: ''; position: absolute; bottom: -4px; left: 0; width: 0; height: 1.5px;
  background: var(--color-white); transition: width 0.3s ease;
}
.header-nav a:hover { color: var(--color-white); }
.header-nav a:hover::after { width: 100%; }

.header-cta {
  display: inline-flex; align-items: center; padding: 9px 24px;
  border: 1.5px solid rgba(255,255,255,0.5); color: var(--color-white);
  font-family: var(--font-heading); font-size: 12px; font-weight: 500;
  letter-spacing: 0.08em; text-transform: uppercase;
  border-radius: var(--radius); transition: all 0.3s ease;
}
.header-cta:hover { background: var(--color-white); color: var(--color-black); border-color: var(--color-white); }

.mobile-toggle {
  display: none; background: none; border: none; cursor: pointer; padding: 8px;
  flex-direction: column; gap: 5px;
}
.mobile-toggle span { display: block; width: 22px; height: 1.5px; background: var(--color-white); transition: all 0.3s ease; border-radius: 1px; }

/* ══════════════════════════════════════════════
   HERO
   ══════════════════════════════════════════════ */
.hero {
  position: relative; min-height: 100vh; display: flex; align-items: center;
  background: var(--color-black); overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background: url('images/hero-option4.jpg') center/cover no-repeat;
  opacity: 0.6;
}
.hero::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0.15) 40%, rgba(0,0,0,0.5) 100%);
  z-index: 1;
}
.hero-content {
  position: relative; z-index: 2; padding: 0 28px;
  max-width: var(--container); margin: 0 auto; width: 100%;
}
.hero-eyebrow {
  font-family: var(--font-heading); font-size: 13px; font-weight: 500;
  letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--color-accent); margin-bottom: 20px;
  opacity: 0; animation: heroSlideUp 0.7s cubic-bezier(0.22,1,0.36,1) 0.2s forwards;
}
.hero-headline {
  font-family: var(--font-heading); font-size: clamp(36px, 5vw, 60px); font-weight: 700;
  color: var(--color-white); line-height: 1.08; margin-bottom: 24px; max-width: 640px;
  letter-spacing: -0.02em;
  opacity: 0; animation: heroSlideUp 0.7s cubic-bezier(0.22,1,0.36,1) 0.35s forwards;
}
.hero-subtext {
  font-family: var(--font-body); font-size: clamp(17px, 2vw, 20px);
  color: rgba(255,255,255,0.75); line-height: 1.6; max-width: 480px; margin-bottom: 40px;
  font-weight: 400;
  opacity: 0; animation: heroSlideUp 0.7s cubic-bezier(0.22,1,0.36,1) 0.5s forwards;
}
.hero-cta {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 32px; border: 1.5px solid rgba(255,255,255,0.6); color: var(--color-white);
  font-family: var(--font-heading); font-size: 13px; font-weight: 500;
  letter-spacing: 0.08em; text-transform: uppercase;
  border-radius: var(--radius); transition: all 0.3s ease;
  opacity: 0; animation: heroSlideUp 0.7s cubic-bezier(0.22,1,0.36,1) 0.65s forwards;
}
.hero-cta:hover { background: var(--color-white); color: var(--color-black); border-color: var(--color-white); }

@keyframes heroSlideUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ══════════════════════════════════════════════
   INTRO
   ══════════════════════════════════════════════ */
.section-intro { padding: var(--section-py) 0; }
.intro-lead {
  font-family: var(--font-heading); font-size: clamp(22px, 2.5vw, 30px);
  font-weight: 500; color: var(--color-black); max-width: 680px;
  margin-bottom: 20px; line-height: 1.35; letter-spacing: -0.01em;
}
.intro-body {
  font-size: 17px; color: var(--color-text-light); max-width: 640px; line-height: 1.7;
}

/* ══════════════════════════════════════════════
   SERVICES
   ══════════════════════════════════════════════ */
.section-services { padding: var(--section-py) 0; background: var(--color-bg-alt); }
.section-title {
  font-size: clamp(26px, 3vw, 38px); margin-bottom: 8px; letter-spacing: -0.02em;
}
.section-title.center { text-align: center; }
.section-subtitle {
  font-size: 16px; color: var(--color-text-light); max-width: 540px;
  margin: 0 auto 56px; line-height: 1.6; text-align: center;
}
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.service-card {
  background: var(--color-white); padding: 32px 24px; border-radius: var(--radius-lg);
  text-align: center; border: 1px solid transparent;
  transition: transform 0.4s cubic-bezier(0.22,1,0.36,1), box-shadow 0.4s ease, border-color 0.3s ease;
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--color-border);
}
.service-icon { width: 44px; height: 44px; margin: 0 auto 18px; }
.service-icon img { width: 36px; height: 36px; object-fit: contain; opacity: 0.85; }
.service-card h3 { font-size: 15px; font-weight: 600; margin-bottom: 6px; }
.accent-line { width: 24px; height: 2px; background: var(--color-accent); margin: 0 auto 10px; }
.service-card p { font-size: 13.5px; color: var(--color-text-light); line-height: 1.5; }
.section-eyebrow {
  font-family: var(--font-heading); font-size: 13px; font-weight: 500;
  letter-spacing: 0.08em; text-transform: uppercase; color: var(--color-text-light);
  margin-bottom: 32px;
}

/* ── Intro Statement (italic serif accent — like aznga's large italic line) ── */
.intro-statement {
  font-family: 'DM Sans', sans-serif; font-size: clamp(24px, 3vw, 36px);
  font-style: italic; font-weight: 300; color: var(--color-black);
  line-height: 1.4; max-width: 740px; letter-spacing: -0.01em;
}

/* ══════════════════════════════════════════════
   VISION (gray bg section — like aznga Vision)
   ══════════════════════════════════════════════ */
.section-vision { padding: var(--section-py) 0; background: var(--color-bg-alt); }
.vision-heading { font-size: clamp(28px, 3vw, 40px); margin-bottom: 24px; letter-spacing: -0.02em; }
.vision-body p { font-size: 17px; color: var(--color-text); line-height: 1.75; margin-bottom: 16px; max-width: 640px; }
.vision-body p:last-child { margin-bottom: 0; }

/* ── Mission location label ── */
.mission-location {
  font-family: var(--font-heading); font-size: 12px; font-weight: 500;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: rgba(255,255,255,0.5); margin-bottom: 16px;
}
.mission-content h2 em { font-style: italic; font-weight: 300; }

/* ── Parallax (from krhbuild) ── */
.parallax-img { transition: transform 0.1s linear; will-change: transform; }

/* ══════════════════════════════════════════════
   PROCESS
   ══════════════════════════════════════════════ */
.section-process { padding: var(--section-py) 0; }
.process-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 48px; }
.process-card {
  position: relative; overflow: hidden; border-radius: var(--radius-lg);
  aspect-ratio: 4/3;
}
.process-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.process-card:hover img { transform: scale(1.04); }
.process-overlay {
  position: absolute; bottom: 0; left: 0; right: 0; padding: 28px 24px;
  background: linear-gradient(transparent, rgba(0,0,0,0.85));
}
.process-step {
  font-family: var(--font-heading); font-size: 11px; font-weight: 600;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--color-accent); margin-bottom: 6px;
}
.process-card h3 { font-size: 17px; color: var(--color-white); font-weight: 500; line-height: 1.3; }

/* ══════════════════════════════════════════════
   STATS
   ══════════════════════════════════════════════ */
.section-stats { padding: 72px 0; background: var(--color-dark); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; }
.stat-item img { width: 32px; height: 32px; margin: 0 auto 12px; filter: brightness(0) invert(1); opacity: 0.6; }
.stat-number { font-family: var(--font-heading); font-size: 36px; font-weight: 700; color: var(--color-white); margin-bottom: 4px; letter-spacing: -0.02em; }
.stat-label { font-size: 13px; color: rgba(255,255,255,0.55); font-weight: 400; }

/* ══════════════════════════════════════════════
   MISSION (dark photo break)
   ══════════════════════════════════════════════ */
.section-mission { position: relative; padding: 140px 0; overflow: hidden; }
.mission-bg {
  position: absolute; inset: 0;
  background: url('images/hero-option3.jpg') center/cover no-repeat;
}
.mission-bg::after { content: ''; position: absolute; inset: 0; background: rgba(0,0,0,0.65); }
.mission-content { position: relative; z-index: 2; max-width: 640px; }
.mission-content h2 {
  font-family: var(--font-heading); font-size: clamp(26px, 3.5vw, 40px);
  color: var(--color-white); line-height: 1.3; font-weight: 400; letter-spacing: -0.01em;
}

/* ══════════════════════════════════════════════
   ADVANTAGE
   ══════════════════════════════════════════════ */
.section-advantage { padding: var(--section-py) 0; }
.advantage-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; margin-top: 48px; }
.advantage-card {
  padding: 36px 32px; border: 1px solid var(--color-border); border-radius: var(--radius-lg);
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.advantage-card:hover { border-color: var(--color-accent); box-shadow: 0 4px 20px rgba(0,160,227,0.08); }
.advantage-card h3 { font-size: 18px; font-weight: 600; margin-bottom: 8px; }
.advantage-card .accent-line { margin: 0 0 14px; }
.advantage-card p { font-size: 15px; color: var(--color-text-light); line-height: 1.65; }

/* ══════════════════════════════════════════════
   FOUNDERS
   ══════════════════════════════════════════════ */
.section-founders { padding: var(--section-py) 0; background: var(--color-bg-alt); }
.founders-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 48px;
  margin-top: 48px; max-width: 600px; margin-left: auto; margin-right: auto;
}
.founder-card { text-align: center; }
.founder-photo {
  width: 160px; height: 160px; border-radius: 50%; object-fit: cover;
  margin: 0 auto 18px; border: 3px solid var(--color-border);
  filter: grayscale(20%); transition: filter 0.3s ease, border-color 0.3s ease;
}
.founder-card:hover .founder-photo { filter: grayscale(0%); border-color: var(--color-accent); }
.founder-card h3 { font-size: 18px; font-weight: 600; margin-bottom: 3px; }
.founder-card .role {
  font-family: var(--font-heading); font-size: 12px; color: var(--color-accent);
  font-weight: 500; text-transform: uppercase; letter-spacing: 0.06em;
}

/* ══════════════════════════════════════════════
   CTA
   ══════════════════════════════════════════════ */
.section-cta { padding: var(--section-py) 0; background: var(--color-dark); text-align: center; }
.cta-headline {
  font-family: var(--font-heading); font-size: clamp(30px, 4vw, 46px);
  color: var(--color-white); margin-bottom: 8px; font-weight: 500; letter-spacing: -0.02em;
}
.cta-sub { font-size: 16px; color: rgba(255,255,255,0.55); margin-bottom: 32px; }
.cta-phone { font-family: var(--font-heading); font-size: clamp(24px, 3vw, 36px); font-weight: 700; color: var(--color-white); margin-bottom: 28px; letter-spacing: -0.01em; }
.cta-phone a { color: var(--color-white); transition: color 0.2s ease; }
.cta-phone a:hover { color: var(--color-accent); }
.cta-btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 36px; background: var(--color-accent); color: var(--color-white);
  font-family: var(--font-heading); font-size: 13px; font-weight: 500;
  letter-spacing: 0.06em; text-transform: uppercase;
  border: none; border-radius: var(--radius); cursor: pointer;
  transition: all 0.3s ease;
}
.cta-btn:hover { background: var(--color-accent-dark); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(0,160,227,0.25); }

/* ══════════════════════════════════════════════
   FOOTER
   ══════════════════════════════════════════════ */
.site-footer { padding: 56px 0 28px; background: #0a0a0a; color: rgba(255,255,255,0.5); }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 36px; margin-bottom: 40px; }
.footer-logo { display: flex; align-items: center; gap: 8px; margin-bottom: 14px; }
.footer-logo .logo-mark { height: 28px; width: auto; }
.footer-logo .logo-wordmark {
  font-family: var(--font-heading); font-size: 18px; font-weight: 300;
  color: rgba(255,255,255,0.85); letter-spacing: -0.02em;
}
.footer-brand p { font-size: 13px; line-height: 1.6; }
.footer-col h4 {
  font-family: var(--font-heading); font-size: 12px; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.08em;
  color: rgba(255,255,255,0.8); margin-bottom: 14px;
}
.footer-col a { display: block; font-size: 13px; margin-bottom: 7px; transition: color 0.2s ease; }
.footer-col a:hover { color: var(--color-white); }
.footer-contact-item { display: flex; align-items: flex-start; gap: 8px; font-size: 13px; margin-bottom: 7px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.08); padding-top: 20px; font-size: 11px; line-height: 1.6; }
.footer-disclaimer { margin-top: 10px; font-size: 10.5px; color: rgba(255,255,255,0.3); line-height: 1.5; }

/* ══════════════════════════════════════════════
   ENHANCED ANIMATIONS (KRH Build-inspired)
   ══════════════════════════════════════════════ */

/* Stat counter pulse when counting */
.stat-number.counting { color: var(--color-accent); transition: color 0.3s ease; }
.stat-number { transition: color 0.6s ease; font-variant-numeric: tabular-nums; }

/* Process card parallax depth */
.process-card img { will-change: transform; }
.process-card::after {
  content: ''; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(transparent 40%, rgba(0,0,0,0.85));
  transition: background 0.5s cubic-bezier(0.7,0,0.4,1);
}
.process-card:hover::after { background: linear-gradient(transparent 20%, rgba(0,0,0,0.75)); }
.process-overlay { z-index: 2; }

/* Service card enhanced depth */
.service-card { position: relative; }
.service-card::before {
  content: ''; position: absolute; inset: 0; border-radius: var(--radius-lg);
  box-shadow: 0 12px 40px rgba(0,160,227,0); transition: box-shadow 0.5s cubic-bezier(0.7,0,0.4,1);
}
.service-card:hover::before { box-shadow: 0 12px 40px rgba(0,160,227,0.08); }

/* Advantage card accent line grow on hover */
.advantage-card .accent-line { transition: width 0.5s cubic-bezier(0.7,0,0.4,1); }
.advantage-card:hover .accent-line { width: 48px; }

/* Founder photo scale on hover */
.founder-card:hover .founder-photo { transform: scale(1.04); }
.founder-photo { transition: filter 0.3s ease, border-color 0.3s ease, transform 0.5s cubic-bezier(0.7,0,0.4,1); }

/* CTA button glow pulse */
.cta-btn { position: relative; overflow: hidden; }
.cta-btn::after {
  content: ''; position: absolute; inset: -2px; border-radius: var(--radius);
  background: linear-gradient(45deg, transparent, rgba(0,160,227,0.15), transparent);
  opacity: 0; transition: opacity 0.4s ease;
}
.cta-btn:hover::after { opacity: 1; }

/* Hero CTA shimmer on hover */
.hero-cta { position: relative; overflow: hidden; }
.hero-cta::before {
  content: ''; position: absolute; top: 0; left: -100%; width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.08), transparent);
  transition: left 0.6s ease;
}
.hero-cta:hover::before { left: 100%; }

/* Scroll progress bar */
.scroll-progress {
  position: fixed; top: 0; left: 0; height: 2px; z-index: 1001;
  background: var(--color-accent); width: 0%; transform-origin: left;
  transition: none;
}

/* ══════════════════════════════════════════════
   SCROLL REVEAL ANIMATIONS
   ══════════════════════════════════════════════ */

/* Base: fade up */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.65s cubic-bezier(0.22,1,0.36,1), transform 0.65s cubic-bezier(0.22,1,0.36,1); will-change: opacity, transform; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* Slide from left */
.reveal-left { opacity: 0; transform: translateX(-40px); transition: opacity 0.65s cubic-bezier(0.22,1,0.36,1), transform 0.65s cubic-bezier(0.22,1,0.36,1); }
.reveal-left.visible { opacity: 1; transform: translateX(0); }

/* Slide from right */
.reveal-right { opacity: 0; transform: translateX(40px); transition: opacity 0.65s cubic-bezier(0.22,1,0.36,1), transform 0.65s cubic-bezier(0.22,1,0.36,1); }
.reveal-right.visible { opacity: 1; transform: translateX(0); }

/* Scale in */
.reveal-scale { opacity: 0; transform: scale(0.92); transition: opacity 0.65s cubic-bezier(0.22,1,0.36,1), transform 0.65s cubic-bezier(0.22,1,0.36,1); }
.reveal-scale.visible { opacity: 1; transform: scale(1); }

/* Stagger delays */
[data-delay='1'] { transition-delay: 0.08s; }
[data-delay='2'] { transition-delay: 0.16s; }
[data-delay='3'] { transition-delay: 0.24s; }
[data-delay='4'] { transition-delay: 0.32s; }
[data-delay='5'] { transition-delay: 0.40s; }
[data-delay='6'] { transition-delay: 0.48s; }
[data-delay='7'] { transition-delay: 0.56s; }
[data-delay='8'] { transition-delay: 0.64s; }

/* ══════════════════════════════════════════════
   RESPONSIVE — Tablet
   ══════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .header-logo img { max-height: 30px; }
  .header-nav { display: none; }
  .header-cta { display: none; }
  .mobile-toggle { display: flex; }

  .header-nav.open {
    display: flex; flex-direction: column; gap: 0;
    position: fixed; top: 0; left: 0; right: 0; bottom: 0;
    background: var(--color-white); padding: 80px 28px 40px; z-index: 999;
    animation: navFadeIn 0.25s ease forwards;
  }
  .header-nav.open a {
    color: var(--color-black); font-size: 20px; padding: 18px 0;
    border-bottom: 1px solid var(--color-border); letter-spacing: 0;
  }
  .header-nav.open a::after { display: none; }
  .header-nav.open a:hover { color: var(--color-accent); }

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

  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .process-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 32px; }
  .advantage-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  :root { --section-py: 64px; }
  .services-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-number { font-size: 28px; }
  .founders-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal-left, .reveal-right, .reveal-scale { transition: none; opacity: 1; transform: none; }
  .hero-eyebrow, .hero-headline, .hero-subtext, .hero-cta { animation: none; opacity: 1; }
}

/* ══════════════════════════════════════════════
   SUBPAGE STYLES
   ══════════════════════════════════════════════ */

/* Active nav state */
.header-nav a.nav-active { color: var(--color-white); }
.header-nav a.nav-active::after { width: 100%; }

/* Page Hero (subpages — shorter) */
.page-hero {
  position: relative; min-height: 50vh; display: flex; align-items: flex-end;
  padding-bottom: 64px; background: var(--color-black); overflow: hidden;
}
.page-hero--short { min-height: 40vh; }
.page-hero-bg {
  position: absolute; inset: 0; background-size: cover; background-position: center;
  opacity: 0.45;
}
.page-hero::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.2) 0%, rgba(0,0,0,0.6) 100%);
  z-index: 1;
}
.page-hero .container { position: relative; z-index: 2; }
.page-hero .hero-eyebrow {
  font-family: var(--font-heading); font-size: 13px; font-weight: 500;
  letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--color-accent); margin-bottom: 16px;
  opacity: 0; animation: heroSlideUp 0.7s cubic-bezier(0.22,1,0.36,1) forwards;
}
.page-hero-title {
  font-family: var(--font-heading); font-size: clamp(28px, 4vw, 48px); font-weight: 700;
  color: var(--color-white); line-height: 1.12; letter-spacing: -0.02em;
  opacity: 0; animation: heroSlideUp 0.7s cubic-bezier(0.22,1,0.36,1) forwards;
}

/* Service Detail Cards */
.section-services-detail { padding: var(--section-py) 0; }
.section-services-detail .intro-lead { margin-bottom: 56px; }
.service-detail-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.service-detail-card {
  padding: 36px 32px; border: 1px solid var(--color-border); border-radius: var(--radius-lg);
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.service-detail-card:hover { border-color: var(--color-accent); box-shadow: 0 4px 20px rgba(0,160,227,0.08); }
.service-detail-icon { width: 40px; height: 40px; margin-bottom: 16px; }
.service-detail-icon img { width: 32px; height: 32px; object-fit: contain; opacity: 0.8; }
.service-detail-card h3 { font-size: 19px; font-weight: 600; margin-bottom: 10px; }
.service-detail-card p { font-size: 15px; color: var(--color-text-light); line-height: 1.65; }

/* Contact Page */
.section-contact { padding: var(--section-py) 0; }
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 64px; align-items: start; }
.contact-info h2 { font-size: clamp(24px, 3vw, 34px); margin-bottom: 16px; letter-spacing: -0.02em; }
.contact-intro { font-size: 16px; color: var(--color-text-light); line-height: 1.65; margin-bottom: 40px; }
.contact-block { margin-bottom: 28px; }
.contact-block h3 { font-family: var(--font-heading); font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; color: var(--color-text-light); margin-bottom: 6px; }
.contact-phone { font-family: var(--font-heading); font-size: 28px; font-weight: 700; color: var(--color-black); letter-spacing: -0.01em; transition: color 0.2s ease; }
.contact-phone:hover { color: var(--color-accent); }
.contact-email { font-size: 16px; color: var(--color-accent); transition: opacity 0.2s ease; }
.contact-email:hover { opacity: 0.8; }
.contact-block p { font-size: 15px; color: var(--color-text); line-height: 1.5; }

/* Contact Form */
.contact-form-wrap { background: var(--color-bg-alt); padding: 40px 36px; border-radius: var(--radius-lg); }
.form-group { margin-bottom: 20px; }
.form-group label {
  display: block; font-family: var(--font-heading); font-size: 12px; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.06em; color: var(--color-text);
  margin-bottom: 6px;
}
.form-group input, .form-group select, .form-group textarea {
  width: 100%; padding: 12px 16px; border: 1px solid var(--color-border);
  border-radius: var(--radius); font-family: var(--font-body); font-size: 15px;
  color: var(--color-text); background: var(--color-white);
  transition: border-color 0.2s ease;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  outline: none; border-color: var(--color-accent);
}
.form-group textarea { resize: vertical; min-height: 100px; }
.contact-form .cta-btn { width: 100%; justify-content: center; margin-top: 8px; }

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

@media (max-width: 640px) {
  .page-hero { min-height: 40vh; padding-bottom: 40px; }
  .page-hero--short { min-height: 32vh; }
}
