/* =========================================================
   Dr DIOURI Lamya — Cabinet d'Imagerie Médicale
   Premium UI/UX • Editorial • Medical Luxury
   ========================================================= */

:root {
  /* Palette */
  --navy-950: #060a18;
  --navy-900: #0a1230;
  --navy-800: #11204f;
  --navy-700: #182d6b;
  --navy-600: #1e3a8a;
  --navy-500: #2849a7;
  --navy-400: #3b62c4;
  --navy-300: #6a8bd6;
  --navy-200: #aabfe6;
  --navy-100: #d6e1f4;
  --navy-50: #eef2fb;

  --ink: #0a1230;
  --ink-soft: #1b2545;
  --muted: #5a6480;
  --muted-soft: #8b94ad;

  --line: #e3e8f2;
  --line-soft: #eef2f8;
  --bg: #fafbfd;
  --bg-tint: #f3f5fb;
  --white: #ffffff;

  --gold: #c8a96a;
  --gold-light: #e8d8b0;

  --accent: #3b62c4;

  /* Type */
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-serif: 'Cormorant Garamond', 'Times New Roman', serif;

  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(10, 18, 48, 0.04);
  --shadow-md: 0 8px 30px rgba(10, 18, 48, 0.06);
  --shadow-lg: 0 30px 60px -20px rgba(10, 18, 48, 0.14);
  --shadow-xl: 0 50px 100px -30px rgba(10, 18, 48, 0.22);

  /* Radius */
  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 22px;
  --r-xl: 32px;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }

body {
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  font-size: 16px;
  font-weight: 400;
  overflow-x: hidden;
  cursor: none;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; transition: all 0.3s var(--ease); }
button { font-family: inherit; cursor: none; border: none; background: none; }
ul { list-style: none; }

.container {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 32px;
  width: 100%;
}

/* ============ LOADER ============ */
.loader {
  position: fixed;
  inset: 0;
  background: var(--navy-950);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.6s var(--ease), visibility 0.6s var(--ease);
}
.loader.hidden { opacity: 0; visibility: hidden; }
.loader-inner { display: flex; flex-direction: column; align-items: center; gap: 28px; color: var(--navy-200); }
.loader-logo svg { width: 90px; height: 90px; animation: pulse 1.6s ease-in-out infinite; }
.loader-bar { width: 220px; height: 2px; background: rgba(255,255,255,0.08); border-radius: 2px; overflow: hidden; }
.loader-bar span { display: block; height: 100%; background: linear-gradient(90deg, transparent, var(--navy-300), transparent); animation: loaderbar 1.4s ease-in-out infinite; }
.loader-text { font-family: var(--font-serif); font-size: 22px; letter-spacing: 2px; font-weight: 300; }
@keyframes pulse { 0%, 100% { opacity: 0.4; transform: scale(0.96); } 50% { opacity: 1; transform: scale(1); } }
@keyframes loaderbar { 0% { transform: translateX(-100%); } 100% { transform: translateX(100%); } }

/* ============ CURSOR ============ */
.cursor, .cursor-follower {
  position: fixed;
  border-radius: 50%;
  pointer-events: none;
  z-index: 10000;
  mix-blend-mode: difference;
  transition: transform 0.15s var(--ease);
}
.cursor { width: 8px; height: 8px; background: #fff; transform: translate(-50%, -50%); }
.cursor-follower {
  width: 38px; height: 38px;
  border: 1.5px solid rgba(255,255,255,0.6);
  transform: translate(-50%, -50%);
  transition: transform 0.4s var(--ease), width 0.3s var(--ease), height 0.3s var(--ease);
}
.cursor.hover { transform: translate(-50%, -50%) scale(0); }
.cursor-follower.hover { width: 70px; height: 70px; border-color: rgba(255,255,255,0.8); }
@media (max-width: 1024px) {
  body { cursor: auto; }
  .cursor, .cursor-follower { display: none; }
  button, a { cursor: pointer; }
}

/* ============ PROGRESS BAR ============ */
.progress-bar {
  position: fixed;
  top: 0; left: 0;
  height: 2px;
  width: 0%;
  background: linear-gradient(90deg, var(--navy-600), var(--navy-400), var(--gold));
  z-index: 9998;
  transition: width 0.1s linear;
}

/* ============ NAV ============ */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 20px 0;
  transition: all 0.45s var(--ease);
}
.navbar.scrolled {
  padding: 12px 0;
  background: rgba(255,255,255,0.85);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid rgba(227, 232, 242, 0.6);
  box-shadow: 0 2px 30px rgba(10, 18, 48, 0.04);
}
.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--navy-600);
}
.logo svg { width: 46px; height: 46px; flex-shrink: 0; }
.logo-text { display: flex; flex-direction: column; line-height: 1.15; }
.logo-name {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--navy-700);
}
.logo-sub {
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 0.04em;
  font-weight: 400;
  margin-top: 2px;
}
.logo-sub-hpim {
  font-size: 10px;
  color: var(--navy-500);
  letter-spacing: 0.02em;
  font-weight: 500;
  margin-top: 3px;
  text-transform: uppercase;
}
@media (max-width: 900px) {
  .logo-sub-hpim { display: none; }
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 36px;
}
.nav-link {
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-soft);
  position: relative;
  padding: 6px 0;
  letter-spacing: 0.01em;
}
.nav-link::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  width: 0;
  height: 1px;
  background: var(--navy-600);
  transition: width 0.35s var(--ease);
}
.nav-link:hover::after,
.nav-link.active::after { width: 100%; }
.nav-link.active { color: var(--navy-700); }

.nav-actions { display: flex; align-items: center; gap: 16px; }

.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  border-radius: 8px;
}
.nav-toggle span {
  display: block;
  width: 22px; height: 1.5px;
  background: var(--ink);
  transition: all 0.35s var(--ease);
}
.nav-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============ BUTTONS ============ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 26px;
  border-radius: 999px;
  font-weight: 500;
  font-size: 14px;
  letter-spacing: 0.02em;
  position: relative;
  overflow: hidden;
  white-space: nowrap;
  transition: all 0.4s var(--ease);
  cursor: none;
}
.btn svg { width: 16px; height: 16px; transition: transform 0.4s var(--ease); }
.btn-sm { padding: 10px 18px; font-size: 13px; }
.btn-lg { padding: 18px 32px; font-size: 14px; }
.btn-block { width: 100%; justify-content: center; }

.btn-primary {
  background: var(--navy-700);
  color: #fff;
  box-shadow: 0 10px 30px -10px rgba(24, 45, 107, 0.4);
}
.btn-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--navy-600), var(--navy-800));
  opacity: 0;
  transition: opacity 0.4s var(--ease);
}
.btn-primary span, .btn-primary svg { position: relative; z-index: 1; }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 18px 40px -12px rgba(24, 45, 107, 0.5); }
.btn-primary:hover::before { opacity: 1; }
.btn-primary:hover svg { transform: translateX(4px); }

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line);
}
.btn-ghost:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.btn-ghost:hover svg { transform: translateX(4px); }

.btn-light {
  background: #fff;
  color: var(--navy-700);
}
.btn-light:hover { background: var(--gold); color: #fff; transform: translateY(-2px); }
.btn-light:hover svg { transform: translateX(4px); }

.btn-outline-light {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255,255,255,0.3);
}
.btn-outline-light:hover { background: rgba(255,255,255,0.1); border-color: #fff; }

.btn-link {
  padding: 12px 0;
  color: var(--ink);
  position: relative;
}
.btn-link::after {
  content: '';
  position: absolute;
  bottom: 8px; left: 0;
  width: 100%; height: 1px;
  background: var(--ink);
  transform-origin: right;
  transform: scaleX(1);
  transition: transform 0.4s var(--ease);
}
.btn-link:hover::after { transform-origin: left; transform: scaleX(1); }

/* ============ HERO ============ */
.hero {
  position: relative;
  min-height: 100vh;
  padding: 140px 0 80px;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(ellipse at 20% 30%, rgba(213, 226, 250, 0.5), transparent 50%),
    radial-gradient(ellipse at 80% 70%, rgba(200, 169, 106, 0.06), transparent 50%),
    linear-gradient(180deg, #f5f7fc 0%, #ffffff 60%);
}
.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(30, 58, 138, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(30, 58, 138, 0.04) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(ellipse at center, #000 0%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at center, #000 0%, transparent 70%);
}
.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.6;
  animation: float 12s ease-in-out infinite;
}
.hero-orb-1 {
  width: 480px; height: 480px;
  background: radial-gradient(circle, rgba(106, 139, 214, 0.4), transparent 70%);
  top: -100px; left: -100px;
}
.hero-orb-2 {
  width: 520px; height: 520px;
  background: radial-gradient(circle, rgba(200, 169, 106, 0.18), transparent 70%);
  bottom: -150px; right: -150px;
  animation-delay: -6s;
}
@keyframes float {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(40px, -40px); }
}

.hero-container {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 80px;
  align-items: center;
  min-height: calc(100vh - 220px);
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 18px;
  background: rgba(255,255,255,0.7);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 13px;
  color: var(--muted);
  backdrop-filter: blur(10px);
  margin-bottom: 32px;
}
.badge-dot {
  width: 8px; height: 8px;
  background: var(--gold);
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(200, 169, 106, 0.2);
  animation: dotpulse 2s ease-in-out infinite;
}
@keyframes dotpulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(200, 169, 106, 0.2); }
  50% { box-shadow: 0 0 0 8px rgba(200, 169, 106, 0.1); }
}

.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(48px, 6.5vw, 88px);
  font-weight: 400;
  line-height: 0.98;
  letter-spacing: -0.025em;
  color: var(--navy-900);
  margin-bottom: 32px;
}
.title-italic {
  font-style: italic;
  font-weight: 400;
  background: linear-gradient(135deg, var(--navy-600), var(--gold));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.hero-description {
  font-size: 18px;
  color: var(--muted);
  max-width: 480px;
  line-height: 1.65;
  margin-bottom: 40px;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 64px;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
}
.stat { position: relative; }
.stat-number {
  font-family: var(--font-serif);
  font-size: 48px;
  font-weight: 500;
  color: var(--navy-700);
  line-height: 1;
  display: inline-block;
  letter-spacing: -0.02em;
}
.stat-suffix {
  font-family: var(--font-serif);
  font-size: 32px;
  color: var(--gold);
  font-weight: 500;
  margin-left: 2px;
}
.stat-label {
  font-size: 13px;
  color: var(--muted);
  margin-top: 6px;
  letter-spacing: 0.02em;
}

/* Hero visual */
.hero-visual {
  position: relative;
  height: 640px;
}
.hero-image-wrap {
  position: relative;
  width: 100%;
  height: 100%;
}
.hero-image-frame {
  position: absolute;
  inset: 0;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  transform: perspective(1200px) rotateY(-4deg) rotateX(2deg);
  transition: transform 0.8s var(--ease);
}
.hero-image-frame:hover { transform: perspective(1200px) rotateY(-2deg) rotateX(1deg) scale(1.01); }
.hero-image-frame img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 1.2s var(--ease);
}
.hero-image-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(10, 18, 48, 0.05), rgba(10, 18, 48, 0.3));
}

.floating-card {
  position: absolute;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.8);
  border-radius: var(--r-md);
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: var(--shadow-lg);
  animation: floatcard 6s ease-in-out infinite;
}
@keyframes floatcard {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
.floating-card-1 { top: 32px; left: -32px; animation-delay: 0s; }
.floating-card-2 { bottom: 80px; right: -32px; animation-delay: -2s; }
.floating-card-3 { bottom: -24px; left: 60px; animation-delay: -4s; flex-direction: column; align-items: flex-start; gap: 4px; }

.fc-icon {
  width: 38px; height: 38px;
  border-radius: 10px;
  background: var(--navy-50);
  color: var(--navy-700);
  display: flex;
  align-items: center;
  justify-content: center;
}
.fc-icon-accent { background: rgba(200, 169, 106, 0.18); color: var(--gold); }
.fc-icon svg { width: 18px; height: 18px; }
.fc-label { font-size: 11px; color: var(--muted); letter-spacing: 0.04em; text-transform: uppercase; }
.fc-value { font-size: 14px; font-weight: 600; color: var(--ink); }
.fc-stars { color: var(--gold); letter-spacing: 2px; font-size: 14px; }

.scroll-indicator {
  position: absolute;
  bottom: 100px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.scroll-line {
  width: 1px;
  height: 50px;
  background: linear-gradient(to bottom, transparent, var(--muted));
  position: relative;
  overflow: hidden;
}
.scroll-line::after {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 30%;
  background: var(--navy-600);
  animation: scrolldown 2s ease-in-out infinite;
}
@keyframes scrolldown {
  0% { top: -30%; }
  100% { top: 100%; }
}

.hero-ticker {
  position: absolute;
  bottom: 0;
  left: 0; right: 0;
  padding: 24px 0;
  overflow: hidden;
  border-top: 1px solid var(--line);
  background: rgba(255,255,255,0.6);
  backdrop-filter: blur(8px);
}
.ticker-track {
  display: flex;
  gap: 32px;
  white-space: nowrap;
  animation: ticker 30s linear infinite;
  font-family: var(--font-serif);
  font-size: 22px;
  font-style: italic;
  color: var(--navy-700);
  font-weight: 400;
}
.ticker-track .dot { color: var(--gold); font-style: normal; }
@keyframes ticker {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ============ FEATURES ============ */
.features {
  padding: 100px 0;
  background: #fff;
  border-bottom: 1px solid var(--line);
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.feature-card {
  padding: 0 32px;
  text-align: left;
  position: relative;
  transition: transform 0.5s var(--ease);
}
.feature-card:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0; top: 10%;
  width: 1px; height: 80%;
  background: var(--line);
}
.feature-card:first-child { padding-left: 0; }
.feature-card:last-child { padding-right: 0; }
.feature-card:hover { transform: translateY(-6px); }

.feature-icon {
  width: 56px; height: 56px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--navy-50), #fff);
  border: 1px solid var(--line);
  color: var(--navy-700);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  transition: all 0.4s var(--ease);
}
.feature-card:hover .feature-icon {
  background: var(--navy-700);
  color: #fff;
  border-color: var(--navy-700);
  transform: rotate(-6deg);
}
.feature-icon svg { width: 24px; height: 24px; }

.feature-card h3 {
  font-family: var(--font-serif);
  font-size: 26px;
  font-weight: 500;
  margin-bottom: 8px;
  letter-spacing: -0.01em;
  color: var(--navy-800);
}
.feature-card p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.65;
}

/* ============ SECTION HEAD ============ */
.section-head { margin-bottom: 64px; max-width: 720px; }
.section-head-center { margin: 0 auto 64px; text-align: center; }
.section-tag {
  display: inline-block;
  padding: 6px 14px;
  background: var(--navy-50);
  color: var(--navy-700);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 999px;
  margin-bottom: 24px;
}
.section-tag.tag-light {
  background: rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.85);
  border: 1px solid rgba(255,255,255,0.15);
}
.section-title {
  font-family: var(--font-serif);
  font-size: clamp(36px, 4.5vw, 60px);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--navy-900);
  margin-bottom: 20px;
}
.section-lead {
  font-size: 18px;
  color: var(--muted);
  line-height: 1.65;
  max-width: 580px;
}
.section-text {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.7;
  margin-top: 16px;
}

/* ============ ABOUT ============ */
.about { padding: 140px 0; background: var(--bg); }
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 100px;
  align-items: center;
}

.about-images {
  position: relative;
  height: 640px;
}
.about-img-main {
  position: absolute;
  top: 0;
  left: 0;
  width: 70%;
  height: 90%;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}
.about-img-main img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.about-img-main:hover img { transform: scale(1.05); }

.about-img-secondary {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 55%;
  height: 50%;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  border: 8px solid var(--bg);
}
.about-img-secondary img { width: 100%; height: 100%; object-fit: cover; }

.about-experience {
  position: absolute;
  top: 20px;
  right: -10px;
  background: var(--navy-700);
  color: #fff;
  border-radius: 50%;
  width: 160px;
  height: 160px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  box-shadow: var(--shadow-lg);
  animation: floatcard 8s ease-in-out infinite;
}
.exp-number {
  font-family: var(--font-serif);
  font-size: 56px;
  font-weight: 500;
  line-height: 1;
  color: var(--gold);
}
.exp-label {
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-top: 6px;
  font-weight: 500;
}

.about-list {
  margin: 36px 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.about-item {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 15px;
  color: var(--ink-soft);
}
.about-item svg {
  width: 18px; height: 18px;
  padding: 4px;
  background: var(--navy-50);
  color: var(--navy-700);
  border-radius: 50%;
  flex-shrink: 0;
  box-sizing: content-box;
}

.about-actions {
  display: flex;
  gap: 28px;
  align-items: center;
  flex-wrap: wrap;
}

/* ============ SERVICES ============ */
.services { padding: 140px 0; background: #fff; }
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.service-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: all 0.6s var(--ease);
  position: relative;
}
.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
  border-color: var(--navy-100);
}

.service-img {
  height: 240px;
  overflow: hidden;
  position: relative;
}
.service-img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 60%, rgba(10, 18, 48, 0.3));
}
.service-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 1s var(--ease);
  filter: grayscale(20%);
}
.service-card:hover .service-img img { transform: scale(1.08); filter: grayscale(0%); }

.service-body {
  padding: 32px 28px 36px;
  position: relative;
}
.service-num {
  position: absolute;
  top: -28px;
  right: 28px;
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 500;
  color: var(--gold);
  background: #fff;
  width: 56px; height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--line);
}
.service-body h3 {
  font-family: var(--font-serif);
  font-size: 30px;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--navy-800);
  margin-bottom: 14px;
}
.service-body p {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 24px;
  line-height: 1.7;
}
.service-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 500;
  color: var(--navy-700);
  letter-spacing: 0.02em;
  position: relative;
}
.service-link svg { width: 14px; height: 14px; transition: transform 0.3s var(--ease); }
.service-link::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 24px; height: 1px;
  background: var(--navy-700);
  transition: width 0.4s var(--ease);
}
.service-card:hover .service-link::after { width: 100%; }
.service-card:hover .service-link svg { transform: translateX(4px); }

/* ============ EXPERTISE ============ */
.expertise {
  padding: 140px 0;
  background: linear-gradient(180deg, var(--navy-950) 0%, var(--navy-900) 100%);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.expertise::before {
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(200, 169, 106, 0.08), transparent 70%);
  border-radius: 50%;
}
.expertise::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(106, 139, 214, 0.1), transparent 70%);
  border-radius: 50%;
}
.expertise .section-title { color: #fff; }
.expertise .section-tag { background: rgba(255,255,255,0.06); color: rgba(255,255,255,0.85); border: 1px solid rgba(255,255,255,0.12); }

.expertise-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 320px;
  gap: 24px;
  position: relative;
  z-index: 1;
}
.expertise-card {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  cursor: none;
}
.expertise-tall { grid-row: span 2; }
.ec-image {
  position: absolute;
  inset: 0;
}
.ec-image img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: grayscale(60%) brightness(0.7);
  transition: all 1s var(--ease);
}
.expertise-card:hover .ec-image img { filter: grayscale(0%) brightness(0.85); transform: scale(1.05); }
.ec-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 30%, rgba(6, 10, 24, 0.95));
}
.ec-content {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 32px 28px;
  z-index: 1;
  transform: translateY(40px);
  transition: transform 0.6s var(--ease);
}
.expertise-card:hover .ec-content { transform: translateY(0); }
.ec-tag {
  display: inline-block;
  padding: 4px 12px;
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 999px;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 14px;
  backdrop-filter: blur(10px);
}
.ec-content h3 {
  font-family: var(--font-serif);
  font-size: 28px;
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.01em;
  margin-bottom: 8px;
}
.ec-content p {
  font-size: 13px;
  color: rgba(255,255,255,0.7);
  opacity: 0;
  transition: opacity 0.5s var(--ease) 0.1s;
}
.expertise-card:hover .ec-content p { opacity: 1; }

/* ============ PROCESS ============ */
.process { padding: 140px 0; background: var(--bg); }
.process-timeline {
  display: flex;
  flex-direction: column;
  max-width: 1000px;
  margin: 0 auto;
  position: relative;
}
.process-timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 40px;
  bottom: 40px;
  width: 1px;
  background: linear-gradient(to bottom, transparent, var(--navy-300), transparent);
}
.process-step {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 60px;
  align-items: center;
  padding: 40px 0;
  position: relative;
}
.process-step:nth-child(odd) .ps-content { text-align: right; grid-column: 1; }
.process-step:nth-child(odd) .ps-number { grid-column: 2; }
.process-step:nth-child(even) .ps-content { grid-column: 3; }
.process-step:nth-child(even) .ps-number { grid-column: 2; }

.ps-number {
  width: 80px; height: 80px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-serif);
  font-size: 28px;
  font-weight: 500;
  color: var(--navy-700);
  position: relative;
  z-index: 1;
  box-shadow: var(--shadow-md);
  transition: all 0.5s var(--ease);
}
.process-step:hover .ps-number {
  background: var(--navy-700);
  color: var(--gold);
  border-color: var(--navy-700);
  transform: scale(1.05);
}
.ps-content h3 {
  font-family: var(--font-serif);
  font-size: 32px;
  font-weight: 500;
  color: var(--navy-800);
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}
.ps-content p {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.65;
}

/* ============ CTA BANNER ============ */
.cta-banner { padding: 100px 0; background: var(--bg); }
.cta-banner-inner {
  position: relative;
  border-radius: var(--r-xl);
  overflow: hidden;
  padding: 80px 80px;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 60px;
  align-items: center;
  color: #fff;
}
.cta-banner-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 30% 30%, rgba(200, 169, 106, 0.15), transparent 50%),
    radial-gradient(ellipse at 70% 70%, rgba(106, 139, 214, 0.2), transparent 50%),
    linear-gradient(135deg, var(--navy-900) 0%, var(--navy-700) 100%);
  z-index: 0;
}
.cta-banner-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at center, #000, transparent);
  -webkit-mask-image: radial-gradient(ellipse at center, #000, transparent);
}
.cta-content { position: relative; z-index: 1; }
.cta-content h2 {
  font-family: var(--font-serif);
  font-size: clamp(36px, 4.5vw, 56px);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}
.cta-content p {
  font-size: 17px;
  color: rgba(255,255,255,0.75);
  margin-bottom: 36px;
  line-height: 1.65;
  max-width: 480px;
}
.cta-actions { display: flex; gap: 14px; flex-wrap: wrap; }

.cta-visual {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.cta-clock {
  width: 200px;
  height: 200px;
  margin: 0 auto 8px;
  color: var(--gold-light);
  animation: rotate 60s linear infinite;
}
@keyframes rotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}
.cta-features {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.1);
}
.cta-feature {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 13px;
  color: rgba(255,255,255,0.85);
  line-height: 1.4;
}
.cta-feature svg {
  width: 22px; height: 22px;
  color: var(--gold);
  flex-shrink: 0;
}

/* ============ TESTIMONIALS ============ */
.testimonials { padding: 140px 0; background: #fff; }
.rating-summary {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 24px;
  font-size: 14px;
  color: var(--muted);
}
.rating-stars {
  color: var(--gold);
  font-size: 18px;
  letter-spacing: 2px;
}
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}
.testimonial-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 40px;
  transition: all 0.5s var(--ease);
  position: relative;
}
.testimonial-card::before {
  content: '"';
  position: absolute;
  top: 16px;
  right: 32px;
  font-family: var(--font-serif);
  font-size: 120px;
  line-height: 1;
  color: var(--navy-50);
  font-weight: 500;
}
.testimonial-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--navy-100);
}
.testimonial-featured {
  background: linear-gradient(135deg, var(--navy-900) 0%, var(--navy-700) 100%);
  color: #fff;
  border-color: transparent;
}
.testimonial-featured::before { color: rgba(200, 169, 106, 0.15); }

.testimonial-stars {
  color: var(--gold);
  font-size: 18px;
  letter-spacing: 2px;
  margin-bottom: 20px;
}
.testimonial-card blockquote {
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 400;
  line-height: 1.5;
  color: var(--navy-800);
  margin-bottom: 32px;
  letter-spacing: -0.005em;
  position: relative;
  z-index: 1;
}
.testimonial-featured blockquote { color: #fff; }

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}
.testimonial-featured .testimonial-author { border-top-color: rgba(255,255,255,0.1); }
.ta-avatar {
  width: 44px; height: 44px;
  background: var(--navy-700);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 14px;
  flex-shrink: 0;
}
.testimonial-featured .ta-avatar { background: var(--gold); color: var(--navy-900); }
.ta-name {
  font-weight: 600;
  font-size: 14px;
  color: var(--navy-800);
}
.testimonial-featured .ta-name { color: #fff; }
.ta-role {
  font-size: 12px;
  color: var(--muted);
}
.testimonial-featured .ta-role { color: rgba(255,255,255,0.6); }

/* ============ RESOURCES ============ */
.resources { padding: 100px 0; background: var(--bg); }
.resources-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.resource-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 40px;
  transition: all 0.5s var(--ease);
  position: relative;
  overflow: hidden;
}
.resource-card::before {
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: 200px; height: 200px;
  background: radial-gradient(circle at top right, var(--navy-50), transparent 70%);
  opacity: 0.6;
}
.resource-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--navy-100);
}
.resource-icon {
  width: 56px; height: 56px;
  border-radius: 14px;
  background: var(--navy-700);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  position: relative;
  transition: all 0.4s var(--ease);
}
.resource-card:hover .resource-icon { background: var(--gold); transform: rotate(-6deg); }
.resource-icon svg { width: 26px; height: 26px; }
.resource-card h3 {
  font-family: var(--font-serif);
  font-size: 26px;
  font-weight: 500;
  color: var(--navy-800);
  margin-bottom: 12px;
  letter-spacing: -0.01em;
  position: relative;
}
.resource-card p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 28px;
  position: relative;
}
.resource-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 500;
  color: var(--navy-700);
  letter-spacing: 0.02em;
  position: relative;
}
.resource-link svg { width: 14px; height: 14px; transition: transform 0.3s var(--ease); }
.resource-card:hover .resource-link svg { transform: translateX(4px); }

/* ============ CONTACT ============ */
.contact { padding: 140px 0; background: #fff; }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.contact-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 40px;
}
.contact-item {
  display: flex;
  gap: 16px;
  padding: 20px;
  background: var(--bg);
  border-radius: var(--r-md);
  border: 1px solid var(--line);
  transition: all 0.4s var(--ease);
}
.contact-item:hover { background: #fff; border-color: var(--navy-100); transform: translateY(-3px); box-shadow: var(--shadow-md); }
.ci-icon {
  width: 40px; height: 40px;
  border-radius: 10px;
  background: var(--navy-700);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.ci-icon svg { width: 18px; height: 18px; }
.ci-label {
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 4px;
}
.ci-value {
  font-size: 14px;
  color: var(--ink);
  font-weight: 500;
  line-height: 1.5;
}

.contact-form-wrap {
  background: var(--bg);
  border-radius: var(--r-xl);
  padding: 48px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-md);
}
.form-header { margin-bottom: 32px; }
.form-header h3 {
  font-family: var(--font-serif);
  font-size: 32px;
  font-weight: 500;
  color: var(--navy-800);
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}
.form-header p { color: var(--muted); font-size: 14px; }

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}
.form-field { margin-bottom: 16px; position: relative; }
.form-field label {
  display: block;
  font-size: 12px;
  font-weight: 500;
  color: var(--ink-soft);
  letter-spacing: 0.04em;
  margin-bottom: 8px;
}
.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  background: #fff;
  font-family: inherit;
  font-size: 14px;
  color: var(--ink);
  transition: all 0.3s var(--ease);
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--navy-600);
  box-shadow: 0 0 0 4px rgba(30, 58, 138, 0.08);
}
.form-field textarea { resize: vertical; min-height: 100px; }
.form-check { display: flex; align-items: flex-start; gap: 10px; margin: 20px 0 28px; }
.form-check input { width: 18px; height: 18px; margin: 0; flex-shrink: 0; margin-top: 2px; accent-color: var(--navy-700); }
.form-check label {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.5;
  margin: 0;
}

.form-success {
  margin-top: 16px;
  padding: 14px 18px;
  background: rgba(34, 197, 94, 0.1);
  color: #15803d;
  border-radius: var(--r-sm);
  font-size: 14px;
  display: none;
  align-items: center;
  gap: 10px;
}
.form-success.active { display: flex; }
.form-success svg { width: 18px; height: 18px; }

/* ============ FOOTER ============ */
.footer {
  background: var(--navy-950);
  color: rgba(255,255,255,0.7);
  padding: 100px 0 0;
  position: relative;
  overflow: hidden;
}
.footer::before {
  content: '';
  position: absolute;
  top: 0; left: 50%;
  width: 800px; height: 1px;
  transform: translateX(-50%);
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.footer-top {
  display: grid;
  grid-template-columns: 1.4fr repeat(4, 1fr);
  gap: 60px;
  padding-bottom: 80px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.footer-brand .logo { color: var(--gold); margin-bottom: 24px; }
.footer-brand .logo-name { color: #fff; }
.footer-brand .logo-sub { color: rgba(255,255,255,0.5); }
.footer-desc {
  font-size: 14px;
  line-height: 1.7;
  margin-bottom: 28px;
  color: rgba(255,255,255,0.6);
  max-width: 320px;
}
.footer-social {
  display: flex;
  gap: 12px;
}
.footer-social a {
  width: 40px; height: 40px;
  border-radius: 10px;
  background: rgba(255,255,255,0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s var(--ease);
}
.footer-social svg { width: 16px; height: 16px; color: rgba(255,255,255,0.8); }
.footer-social a:hover { background: var(--gold); transform: translateY(-3px); }
.footer-social a:hover svg { color: var(--navy-900); }

.footer-col h4 {
  font-family: var(--font-serif);
  font-size: 18px;
  font-weight: 500;
  color: #fff;
  margin-bottom: 24px;
  letter-spacing: -0.005em;
}
.footer-col ul { display: flex; flex-direction: column; gap: 12px; }
.footer-col a {
  font-size: 14px;
  color: rgba(255,255,255,0.6);
  transition: color 0.3s var(--ease);
  position: relative;
  display: inline-block;
}
.footer-col a:hover { color: var(--gold); transform: translateX(4px); }
.footer-contact li {
  font-size: 14px;
  color: rgba(255,255,255,0.6);
  line-height: 1.6;
}
.footer-col .btn { margin-top: 20px; }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 32px 0;
  font-size: 13px;
  color: rgba(255,255,255,0.4);
  flex-wrap: wrap;
  gap: 16px;
}

/* ============ REVEAL ANIMATION ============ */
[data-reveal] {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}
[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============ RESPONSIVE ============ */
@media (max-width: 1200px) {
  .hero-container { grid-template-columns: 1fr; gap: 80px; }
  .hero-visual { height: 520px; max-width: 600px; margin: 0 auto; width: 100%; }
  .about-grid { grid-template-columns: 1fr; gap: 80px; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .expertise-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 300px; }
  .contact-grid { grid-template-columns: 1fr; gap: 60px; }
  .footer-top { grid-template-columns: 1fr 1fr 1fr; }
}

@media (max-width: 900px) {
  .nav-menu {
    position: fixed;
    top: 0; right: -100%;
    width: 80%;
    max-width: 360px;
    height: 100vh;
    background: #fff;
    flex-direction: column;
    align-items: flex-start;
    padding: 100px 32px 32px;
    transition: right 0.5s var(--ease);
    box-shadow: var(--shadow-xl);
    gap: 8px;
  }
  .nav-menu.open { right: 0; }
  .nav-menu li { width: 100%; }
  .nav-link {
    width: 100%;
    padding: 16px 0;
    font-size: 18px;
    border-bottom: 1px solid var(--line);
  }
  .nav-toggle { display: flex; }
  .nav-actions .btn:not(.btn-sm) { display: none; }

  .features-grid { grid-template-columns: repeat(2, 1fr); gap: 40px; }
  .feature-card { padding: 24px; border: 1px solid var(--line); border-radius: var(--r-md); }
  .feature-card::after { display: none; }

  .services-grid { grid-template-columns: 1fr; }
  .expertise-grid { grid-template-columns: 1fr; grid-auto-rows: 260px; }
  .expertise-tall { grid-row: span 1; }

  .process-timeline::before { left: 40px; }
  .process-step {
    grid-template-columns: 80px 1fr;
    gap: 24px;
    padding: 24px 0;
  }
  .process-step:nth-child(odd) .ps-content,
  .process-step:nth-child(even) .ps-content { text-align: left; grid-column: 2; }
  .process-step:nth-child(odd) .ps-number,
  .process-step:nth-child(even) .ps-number { grid-column: 1; }
  .ps-number { width: 64px; height: 64px; font-size: 22px; }
  .ps-content h3 { font-size: 24px; }

  .cta-banner-inner { grid-template-columns: 1fr; gap: 40px; padding: 60px 36px; }
  .cta-visual { display: none; }

  .testimonials-grid { grid-template-columns: 1fr; }
  .resources-grid { grid-template-columns: 1fr; }

  .contact-cards { grid-template-columns: 1fr; }
  .contact-form-wrap { padding: 32px 24px; }

  .footer-top { grid-template-columns: 1fr 1fr; gap: 40px; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-bottom { flex-direction: column; text-align: center; }

  .container { padding: 0 20px; }
  .hero { padding: 120px 0 60px; }
  .features, .about, .services, .expertise, .process, .testimonials, .resources, .contact, .cta-banner { padding: 80px 0; }
  .section-head { margin-bottom: 48px; }
  .hero-stats { grid-template-columns: 1fr 1fr; gap: 20px; }
  .stat-number { font-size: 36px; }
  .floating-card-1 { left: 8px; top: 8px; }
  .floating-card-2 { right: 8px; bottom: 60px; }
  .floating-card-3 { left: 8px; bottom: -16px; }
  .hero-image-frame { transform: none; border-radius: 18px; }
  .form-row { grid-template-columns: 1fr; }
}

@media (max-width: 520px) {
  .hero-title { font-size: 44px; }
  .hero-stats { grid-template-columns: 1fr 1fr; }
  .floating-card { padding: 10px 12px; }
  .fc-icon { width: 32px; height: 32px; }
  .fc-label { font-size: 10px; }
  .fc-value { font-size: 12px; }
  .footer-top { grid-template-columns: 1fr; }
  .ticker-track { font-size: 18px; }
}

/* ============ PAGE HERO (inner pages) ============ */
.page-hero {
  position: relative;
  padding: 180px 0 100px;
  background: linear-gradient(180deg, var(--navy-50) 0%, #fff 100%);
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute; inset: 0;
  background-image: radial-gradient(rgba(26, 58, 92, 0.06) 1px, transparent 1px);
  background-size: 32px 32px;
  opacity: 0.5;
  pointer-events: none;
}
.page-hero-inner { position: relative; z-index: 2; max-width: 900px; }
.page-hero-breadcrumb {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 13px; color: var(--navy-500); margin-bottom: 24px;
  letter-spacing: 0.5px; text-transform: uppercase; font-weight: 500;
}
.page-hero-breadcrumb a { color: var(--navy-500); transition: color .2s; }
.page-hero-breadcrumb a:hover { color: var(--navy-900); }
.page-hero-breadcrumb svg { width: 12px; height: 12px; }
.page-hero h1 {
  font-family: var(--font-serif);
  font-size: clamp(48px, 6vw, 84px);
  line-height: 1.05; font-weight: 400;
  color: var(--navy-900); margin-bottom: 28px;
  letter-spacing: -1.5px;
}
.page-hero h1 .title-italic { font-style: italic; font-weight: 300; }
.page-hero-lead {
  font-size: 19px; line-height: 1.65; color: var(--navy-600);
  max-width: 680px;
}

/* ============ WHATSAPP FLOAT BUTTON ============ */
.whatsapp-float {
  position: fixed;
  bottom: 28px; right: 28px;
  width: 60px; height: 60px;
  background: #25D366;
  color: #fff;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  z-index: 1000;
  box-shadow: 0 10px 30px rgba(37, 211, 102, 0.45), 0 4px 12px rgba(0,0,0,0.15);
  transition: transform .3s cubic-bezier(.34,1.56,.64,1), box-shadow .3s;
  text-decoration: none;
}
.whatsapp-float:hover {
  transform: scale(1.1) rotate(-8deg);
  box-shadow: 0 16px 40px rgba(37, 211, 102, 0.55);
}
.whatsapp-float svg { width: 32px; height: 32px; fill: #fff; }
.whatsapp-float::before {
  content: '';
  position: absolute; inset: -6px;
  border-radius: 50%;
  background: #25D366;
  opacity: 0.4;
  z-index: -1;
  animation: wa-pulse 2.2s ease-out infinite;
}
@keyframes wa-pulse {
  0% { transform: scale(1); opacity: 0.5; }
  100% { transform: scale(1.5); opacity: 0; }
}
@media (max-width: 520px) {
  .whatsapp-float { width: 52px; height: 52px; bottom: 18px; right: 18px; }
  .whatsapp-float svg { width: 26px; height: 26px; }
  .page-hero { padding: 140px 0 70px; }
}

/* ============ FAQ / ACCORDION ============ */
.faq-section { padding: 100px 0; background: #fff; }
.faq-list { max-width: 860px; margin: 60px auto 0; }
.faq-item {
  border-bottom: 1px solid var(--navy-100);
  padding: 4px 0;
}
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 24px 8px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px;
  font-family: var(--font-serif);
  font-size: 22px; font-weight: 500;
  color: var(--navy-900);
  transition: color .2s;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--navy-700); }
.faq-item summary::after {
  content: '+';
  font-family: var(--font-sans);
  font-size: 28px; font-weight: 300;
  color: var(--navy-500);
  transition: transform .3s;
  flex-shrink: 0;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item-body {
  padding: 0 8px 28px;
  color: var(--navy-600);
  line-height: 1.75;
  font-size: 16px;
}

/* ============ EXAMEN DETAIL CARDS (Examens page) ============ */
.exam-detail {
  padding: 80px 0;
  border-bottom: 1px solid var(--navy-100);
}
.exam-detail:last-child { border-bottom: none; }
.exam-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 80px;
  align-items: center;
}
.exam-detail.reverse .exam-detail-grid { grid-template-columns: 1.2fr 1fr; }
.exam-detail.reverse .exam-detail-img { order: 2; }
.exam-detail-img {
  border-radius: var(--r-lg);
  overflow: hidden;
  aspect-ratio: 4/3;
  box-shadow: var(--shadow-lg);
}
.exam-detail-img img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 1s var(--ease);
}
.exam-detail:hover .exam-detail-img img { transform: scale(1.05); }
.exam-detail-num {
  font-family: var(--font-serif);
  font-size: 80px; font-weight: 300;
  color: var(--navy-200);
  line-height: 1; margin-bottom: 16px;
}
.exam-detail h2 {
  font-family: var(--font-serif);
  font-size: 44px; font-weight: 400;
  color: var(--navy-900);
  line-height: 1.1; margin-bottom: 20px;
  letter-spacing: -1px;
}
.exam-detail-lead {
  font-size: 17px; line-height: 1.7;
  color: var(--navy-600); margin-bottom: 28px;
}
.exam-detail-specs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px; margin-bottom: 32px;
}
.spec { display: flex; flex-direction: column; gap: 4px; }
.spec-label {
  font-size: 11px; font-weight: 600;
  text-transform: uppercase; letter-spacing: 1px;
  color: var(--navy-500);
}
.spec-value { font-size: 16px; color: var(--navy-900); font-weight: 500; }
@media (max-width: 1024px) {
  .exam-detail-grid,
  .exam-detail.reverse .exam-detail-grid { grid-template-columns: 1fr; gap: 40px; }
  .exam-detail.reverse .exam-detail-img { order: 0; }
}

/* ============ INFO PATIENTS — 3 STEPS ============ */
.patient-steps { padding: 100px 0; }
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px; margin-top: 60px;
}
.step-card {
  background: #fff;
  border: 1px solid var(--navy-100);
  border-radius: var(--r-lg);
  padding: 40px 32px;
  transition: transform .4s var(--ease), box-shadow .4s, border-color .4s;
}
.step-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--navy-200);
}
.step-icon-wrap {
  width: 56px; height: 56px;
  border-radius: 14px;
  background: var(--navy-50);
  display: flex; align-items: center; justify-content: center;
  color: var(--navy-700);
  margin-bottom: 24px;
}
.step-icon-wrap svg { width: 26px; height: 26px; }
.step-card h3 {
  font-family: var(--font-serif);
  font-size: 24px; font-weight: 500;
  color: var(--navy-900); margin-bottom: 14px;
}
.step-card p { color: var(--navy-600); line-height: 1.7; margin-bottom: 20px; }
.step-list { list-style: none; padding: 0; margin: 0; }
.step-list li {
  position: relative;
  padding: 8px 0 8px 26px;
  color: var(--navy-700);
  font-size: 14px;
  line-height: 1.55;
  border-top: 1px solid var(--navy-50);
}
.step-list li:first-child { border-top: none; }
.step-list li::before {
  content: '';
  position: absolute; left: 0; top: 14px;
  width: 14px; height: 14px;
  background: var(--navy-100);
  border-radius: 50%;
}
.step-list li::after {
  content: '';
  position: absolute; left: 4px; top: 19px;
  width: 6px; height: 3px;
  border-left: 1.5px solid var(--navy-700);
  border-bottom: 1.5px solid var(--navy-700);
  transform: rotate(-45deg);
}
@media (max-width: 900px) {
  .steps-grid { grid-template-columns: 1fr; }
}

/* ============ MAP EMBED ============ */
.map-wrap {
  margin: 60px 0 0;
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--navy-100);
}
.map-wrap iframe {
  display: block;
  width: 100%;
  height: 440px;
  border: 0;
  filter: grayscale(20%) contrast(1.05);
}
@media (max-width: 520px) {
  .map-wrap iframe { height: 320px; }
}
