/* ===== Estemol Hair — Design Tokens ===== */
:root {
  --ink: #17140f;
  --ink-soft: #4a4438;
  --cream: #faf6ee;
  --cream-2: #f2ead9;
  --gold: #b9924a;
  --gold-light: #e4c98a;
  --gold-deep: #8a6a2f;
  --line: rgba(23, 20, 15, 0.1);
  --shadow: 0 20px 60px rgba(23, 20, 15, 0.12);
  --radius: 18px;
  --maxw: 1180px;
  --ff-display: "Playfair Display", "Times New Roman", serif;
  --ff-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--ff-body);
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--ff-display); margin: 0; line-height: 1.15; }
p { margin: 0; }
.container { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.section { padding: 110px 0; position: relative; }
.section-alt { background: var(--cream-2); }
.eyebrow {
  display: inline-block;
  font-size: 13px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-deep);
  font-weight: 600;
  margin-bottom: 18px;
}
.section-head { text-align: center; max-width: 640px; margin: 0 auto 64px; }
.section-head h2 { font-size: clamp(28px, 4vw, 42px); }
.section-head .sub { margin-top: 16px; color: var(--ink-soft); font-size: 17px; line-height: 1.6; }

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 32px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform .35s cubic-bezier(.2,.8,.2,1), box-shadow .35s, background .3s, color .3s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-3px); }
.btn-gold {
  background: linear-gradient(135deg, var(--gold-light), var(--gold) 60%, var(--gold-deep));
  color: #211a0d;
  box-shadow: 0 12px 30px rgba(185, 146, 74, 0.35);
}
.btn-gold:hover { box-shadow: 0 18px 40px rgba(185, 146, 74, 0.5); }
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}
.btn-ghost:hover { border-color: var(--gold); color: var(--gold-deep); }
.btn-dark {
  background: var(--ink);
  color: var(--cream);
}
.btn-dark:hover { box-shadow: 0 18px 40px rgba(23,20,15,0.35); }
.btn-ghost-dark { background: transparent; color: #fff; border-color: rgba(255,255,255,.3); }
.btn-ghost-dark:hover { border-color: var(--gold-light); color: var(--gold-light); }

/* ===== Navbar ===== */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 18px 0;
  transition: background .4s ease, box-shadow .4s ease, padding .4s ease;
}
.nav.scrolled {
  padding: 10px 0;
  background: rgba(250, 246, 238, 0.78);
  backdrop-filter: blur(14px) saturate(160%);
  -webkit-backdrop-filter: blur(14px) saturate(160%);
  box-shadow: 0 4px 30px rgba(23,20,15,0.08);
}
.nav .container { display: flex; align-items: center; justify-content: space-between; }
.logo {
  font-family: var(--ff-display);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 0.02em;
}
.logo span { color: var(--gold); }
.nav-links { display: flex; align-items: center; gap: 34px; }
.nav-links a {
  font-size: 14.5px;
  font-weight: 500;
  color: var(--ink-soft);
  position: relative;
  padding: 4px 0;
}
.nav-links a::after {
  content: "";
  position: absolute; left: 0; bottom: -2px;
  width: 0; height: 1.5px; background: var(--gold);
  transition: width .3s ease;
}
.nav-links a:hover { color: var(--ink); }
.nav-links a:hover::after { width: 100%; }
.nav-right { display: flex; align-items: center; gap: 18px; }

.lang-switch { position: relative; }
.lang-btn {
  display: flex; align-items: center; gap: 6px;
  font-size: 13.5px; font-weight: 600;
  padding: 8px 14px; border-radius: 999px;
  border: 1px solid var(--line); background: rgba(255,255,255,0.5);
  cursor: pointer;
}
.lang-menu {
  position: absolute; top: calc(100% + 10px); right: 0;
  background: #fff; border-radius: 12px; box-shadow: var(--shadow);
  padding: 6px; min-width: 150px;
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: all .25s ease;
}
.lang-switch.open .lang-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.lang-menu button {
  display: block; width: 100%; text-align: left;
  padding: 9px 12px; border-radius: 8px; border: none; background: none;
  font-size: 14px; cursor: pointer; font-family: var(--ff-body);
}
.lang-menu button:hover { background: var(--cream-2); }
.lang-menu button.active { color: var(--gold-deep); font-weight: 700; }

.burger { display: none; flex-direction: column; gap: 5px; cursor: pointer; background:none; border:none; padding: 6px;}
.burger span { width: 24px; height: 2px; background: var(--ink); border-radius: 2px; }

/* ===== Hero ===== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  background: radial-gradient(ellipse 80% 60% at 70% 0%, rgba(228,201,138,0.35), transparent),
              linear-gradient(180deg, var(--cream) 0%, var(--cream-2) 100%);
  overflow: hidden;
}
.hero-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: .55;
  pointer-events: none;
  animation: float 14s ease-in-out infinite;
}
.hero-blob.b1 { width: 480px; height: 480px; background: radial-gradient(circle, var(--gold-light), transparent 70%); top: -120px; right: -100px; }
.hero-blob.b2 { width: 360px; height: 360px; background: radial-gradient(circle, var(--gold), transparent 70%); bottom: -140px; left: -80px; animation-delay: -6s; }
@keyframes float {
  0%, 100% { transform: translate(0,0) scale(1); }
  50% { transform: translate(-20px, 30px) scale(1.06); }
}
.hero .container { position: relative; z-index: 2; padding-top: 110px; }
.hero-inner { max-width: 720px; }
.hero h1 {
  font-size: clamp(38px, 6vw, 68px);
  letter-spacing: -0.01em;
  background: linear-gradient(100deg, var(--ink) 30%, var(--gold-deep) 60%, var(--gold) 80%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero .subtitle { margin-top: 24px; font-size: 19px; color: var(--ink-soft); line-height: 1.7; max-width: 560px; }
.hero-cta { margin-top: 40px; display: flex; gap: 16px; flex-wrap: wrap; }
.hero-stats { display: flex; gap: 48px; margin-top: 72px; flex-wrap: wrap; }
.hero-stats .stat b { font-family: var(--ff-display); font-size: 32px; display:block; color: var(--gold-deep); }
.hero-stats .stat span { font-size: 13.5px; color: var(--ink-soft); }
.scroll-cue {
  position: absolute; bottom: 34px; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--ink-soft);
}
.scroll-cue .line { width: 1px; height: 34px; background: linear-gradient(var(--gold), transparent); animation: pulse-line 2s ease-in-out infinite; }
@keyframes pulse-line { 0%,100%{opacity:.3;} 50%{opacity:1;} }

/* ===== Intro / Dermamol split sections ===== */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.split .media {
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4/5;
  background: linear-gradient(140deg, var(--gold-light), var(--gold));
  position: relative;
  box-shadow: var(--shadow);
}
.split .media img { width: 100%; height: 100%; object-fit: cover; }
.split h2 { font-size: clamp(26px, 3.4vw, 38px); margin-bottom: 22px; }
.split p { color: var(--ink-soft); font-size: 16.5px; line-height: 1.8; }
.split.reverse { grid-template-columns: 1fr 1fr; }
.split.reverse .media { order: 2; }
.split.reverse .text { order: 1; }

/* ===== Services grid ===== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.service-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 36px 30px;
  transition: transform .4s cubic-bezier(.2,.8,.2,1), box-shadow .4s, border-color .4s;
}
.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow);
  border-color: transparent;
}
.service-card .icon {
  width: 56px; height: 56px; border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 26px;
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  margin-bottom: 22px;
}
.service-card h3 { font-size: 19px; margin-bottom: 10px; font-family: var(--ff-body); font-weight: 700; }
.service-card p { color: var(--ink-soft); font-size: 14.5px; line-height: 1.6; }

/* ===== Branches ===== */
.branches-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.branch-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 3/4;
  box-shadow: var(--shadow);
  background: linear-gradient(160deg, #2a2418, #17140f);
}
.branch-card img { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; opacity:.55; transition: transform .6s ease, opacity .4s; }
.branch-card:hover img { transform: scale(1.08); opacity: .4; }
.branch-card .branch-art { position: absolute; inset: 0; width: 100%; height: 100%; transition: transform .6s ease, opacity .4s; }
.branch-card .branch-art svg { width: 100%; height: 100%; display: block; }
.branch-card:hover .branch-art { transform: scale(1.08); opacity: .75; }

/* ----- Kurtköy: sunrise over waves ----- */
.bv-sun { animation: bv-pulse 4s ease-in-out infinite; transform-origin: 150px 120px; }
.bv-wave { animation: bv-wave-move 6s ease-in-out infinite; }
.bv-wave.w2 { animation-delay: -2s; }
.bv-wave.w3 { animation-delay: -4s; }
@keyframes bv-wave-move { 0%, 100% { transform: translateX(0); } 50% { transform: translateX(10px); } }
@keyframes bv-pulse { 0%, 100% { opacity: .4; } 50% { opacity: .75; } }

/* ----- GOP: radiating hub (merkez şube) — rotation handled by native SVG animateTransform ----- */
.bv-hub-core { animation: bv-pulse 3.5s ease-in-out infinite; transform-origin: 150px 180px; }

/* ----- Baku: Flame Towers silhouette ----- */
.bv-flame { animation: bv-flicker 3.4s ease-in-out infinite; transform-origin: 50% 100%; }
.bv-flame.f2 { animation-delay: -1.1s; }
.bv-flame.f3 { animation-delay: -2.2s; }
@keyframes bv-flicker {
  0%, 100% { opacity: .5; transform: scaleY(1); }
  50% { opacity: .85; transform: scaleY(1.03); }
}

@media (prefers-reduced-motion: reduce) {
  .bv-sun, .bv-wave, .bv-hub-core, .bv-flame { animation: none !important; }
}
.branch-card .overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 30%, rgba(10,8,4,0.9) 100%);
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 30px; color: #fff;
}
.branch-card .tag {
  align-self: flex-start;
  font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase;
  background: rgba(255,255,255,0.15); backdrop-filter: blur(6px);
  padding: 6px 12px; border-radius: 999px; margin-bottom: 14px;
}
.branch-card h3 { font-size: 24px; color: #fff; margin-bottom: 6px; }
.branch-card .city { font-size: 13.5px; opacity: .8; margin-bottom: 18px; }
.branch-card .view { display:inline-flex; align-items:center; gap:8px; font-size:14px; font-weight:600; color: var(--gold-light); }
.branch-card .view svg { transition: transform .3s ease; }
.branch-card:hover .view svg { transform: translateX(6px); }

/* ===== CTA banner ===== */
.cta-banner {
  background: linear-gradient(120deg, #17140f, #2c2414);
  border-radius: 28px;
  padding: 70px 50px;
  text-align: center;
  color: var(--cream);
  position: relative;
  overflow: hidden;
}
.cta-banner h2 { font-size: clamp(26px, 3.6vw, 40px); color: #fff; }
.cta-banner p { color: rgba(250,246,238,0.75); margin: 18px auto 34px; max-width: 520px; }
.cta-banner::before {
  content: ""; position: absolute; inset: -40%;
  background: radial-gradient(circle at 30% 20%, rgba(228,201,138,0.25), transparent 55%);
  animation: rotate 18s linear infinite;
}
@keyframes rotate { to { transform: rotate(360deg); } }

/* ===== Footer ===== */
footer { background: var(--ink); color: rgba(250,246,238,0.65); padding: 70px 0 30px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 50px; }
footer .logo { color: var(--cream); }
footer h4 { color: var(--cream); font-family: var(--ff-body); font-size: 14px; text-transform: uppercase; letter-spacing: .1em; margin-bottom: 18px; }
footer ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 12px; font-size: 14.5px; }
footer a:hover { color: var(--gold-light); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 24px; display:flex; justify-content: space-between; font-size: 13px; flex-wrap: wrap; gap: 10px; }

/* ===== Branch page specific ===== */
.branch-hero {
  min-height: 60vh;
  display: flex; align-items: flex-end;
  padding: 160px 0 60px;
  position: relative;
  background: linear-gradient(180deg, rgba(23,20,15,0.35), rgba(23,20,15,0.85)), linear-gradient(140deg, var(--gold-light), var(--gold-deep));
  color: #fff;
}
.branch-hero .container { position: relative; z-index: 2; }
.branch-hero h1 { font-size: clamp(34px, 5vw, 54px); color: #fff; }
.branch-hero .city { margin-top: 10px; font-size: 16px; opacity: .85; }
.branch-info-bar {
  display: flex; gap: 40px; flex-wrap: wrap;
  background: #fff; border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 30px 40px;
  margin-top: -50px; position: relative; z-index: 3;
}
.branch-info-bar .item { display: flex; gap: 14px; align-items: flex-start; }
.branch-info-bar .item .ic { font-size: 20px; }
.branch-info-bar .item b { display:block; font-size: 14px; margin-bottom: 3px; }
.branch-info-bar .item span { font-size: 13.5px; color: var(--ink-soft); }

.service-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.service-list .row {
  display: flex; align-items: center; gap: 14px;
  background: #fff; border: 1px solid var(--line);
  border-radius: 14px; padding: 18px 22px;
  font-size: 15px; font-weight: 500;
}
.service-list .row .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--gold); flex-shrink: 0; }

.clinic-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--cream-2); border: 1px solid var(--line);
  padding: 8px 16px; border-radius: 999px; font-size: 13px; margin-bottom: 20px;
  color: var(--gold-deep); font-weight: 600;
}

/* ===== Analysis visual (animated SVG, intro + pre-analysis sections) ===== */
.analysis-visual { width: 100%; height: 100%; overflow: visible; }
.analysis-visual .ring-a { transform-origin: 200px 230px; animation: spin-ring 34s linear infinite; }
.analysis-visual .ring-b { transform-origin: 200px 230px; animation: spin-ring-rev 24s linear infinite; }
@keyframes spin-ring { to { transform: rotate(360deg); } }
@keyframes spin-ring-rev { to { transform: rotate(-360deg); } }
.analysis-visual .strand { animation: strand-sway 6s ease-in-out infinite; transform-origin: center; }
.analysis-visual .strand-2 { animation-delay: -2s; }
.analysis-visual .strand-3 { animation-delay: -4s; }
@keyframes strand-sway {
  0%, 100% { transform: translateX(0); }
  50% { transform: translateX(7px); }
}
.analysis-visual .node { animation: node-pulse 3.2s ease-in-out infinite; transform-origin: center; }
@keyframes node-pulse {
  0%, 100% { opacity: .55; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.35); }
}
.analysis-visual .magnifier { animation: mag-float 5s ease-in-out infinite; transform-origin: 235px 195px; }
@keyframes mag-float {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-9px) scale(1.05); }
}
@media (prefers-reduced-motion: reduce) {
  .analysis-visual * { animation: none !important; }
}

/* ===== Dermamol molecule visual (pure CSS 3D, no photography) ===== */
.media.molecule-stage {
  background: radial-gradient(ellipse at 50% 40%, var(--cream-2), var(--cream) 70%);
  overflow: visible;
  display: flex; align-items: center; justify-content: center;
  perspective: 1200px;
}
.molecule {
  position: relative;
  width: 260px; height: 260px;
  transform-style: preserve-3d;
  animation: molecule-tilt 9s ease-in-out infinite;
}
@keyframes molecule-tilt {
  0%, 100% { transform: rotateX(10deg) rotateY(-16deg); }
  50% { transform: rotateX(6deg) rotateY(16deg); }
}
.molecule-core {
  position: absolute; inset: 0; margin: auto;
  width: 116px; height: 116px; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, var(--gold-light), var(--gold) 55%, var(--gold-deep));
  box-shadow: 0 18px 46px rgba(138, 106, 47, .5), inset 0 -6px 14px rgba(23,20,15,0.25);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--ff-display); font-weight: 700; color: #211a0d;
  font-size: 14px; letter-spacing: .04em; text-align: center;
  transform: translateZ(30px);
}
.orbit-ring {
  position: absolute; inset: 0; margin: auto;
  border: 1px solid var(--gold);
  border-radius: 50%;
  opacity: .3;
}
.orbit-ring.r1 { width: 210px; height: 210px; transform: rotateX(72deg); }
.orbit-ring.r2 { width: 260px; height: 260px; transform: rotateX(72deg) rotateZ(55deg); opacity: .18; }
.orbit-node { position: absolute; transform-style: preserve-3d; }
.orbit-node .pill {
  display: inline-block;
  background: #fff; border: 1px solid var(--line);
  box-shadow: var(--shadow); border-radius: 999px;
  padding: 9px 18px; font-size: 12.5px; font-weight: 700;
  color: var(--ink); white-space: nowrap;
}
.orbit-node.n1 { top: -8%; left: 50%; transform: translate(-50%, 0) translateZ(64px); animation: node-bob 5s ease-in-out infinite; }
.orbit-node.n2 { bottom: 6%; left: -14%; transform: translateZ(-30px); animation: node-bob 6s ease-in-out infinite -1.6s; }
.orbit-node.n3 { bottom: 6%; right: -18%; transform: translateZ(40px); animation: node-bob 5.5s ease-in-out infinite -3.2s; }
@keyframes node-bob {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -8px; }
}
@media (prefers-reduced-motion: reduce) {
  .molecule, .orbit-node { animation: none !important; }
}
@media (max-width: 900px) {
  .molecule { width: 220px; height: 220px; transform: none; }
  .orbit-node.n2 { left: -6%; }
  .orbit-node.n3 { right: -8%; }
}

/* ===== Quick hair test (interactive) ===== */
.quiz-card {
  background: #fff; border-radius: var(--radius); box-shadow: var(--shadow);
  padding: 52px 48px; max-width: 640px; margin: 0 auto;
}
.quiz-progress { display: flex; gap: 8px; justify-content: center; margin-bottom: 34px; }
.quiz-progress .dot { width: 36px; height: 4px; border-radius: 2px; background: var(--line); transition: background .3s ease; }
.quiz-progress .dot.done { background: var(--gold); }
.quiz-progress .dot.active { background: var(--gold-deep); }
.quiz-step { animation: quiz-fade .45s cubic-bezier(.2,.8,.2,1); }
@keyframes quiz-fade { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }
.quiz-question { text-align: center; font-family: var(--ff-display); font-size: clamp(20px, 2.6vw, 26px); margin-bottom: 30px; }
.quiz-options { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }
.quiz-option {
  padding: 14px 28px; border-radius: 999px; border: 1.5px solid var(--line);
  background: #fff; font-weight: 600; font-size: 15px; font-family: var(--ff-body);
  cursor: pointer; transition: border-color .25s ease, color .25s ease, transform .25s ease, background .25s ease;
}
.quiz-option:hover { border-color: var(--gold); color: var(--gold-deep); transform: translateY(-3px); }
.quiz-option:active { transform: translateY(0); }
.quiz-result { text-align: center; animation: quiz-fade .5s cubic-bezier(.2,.8,.2,1); }
.quiz-result .badge {
  display: inline-block; background: var(--cream-2); color: var(--gold-deep);
  padding: 7px 16px; border-radius: 999px; font-size: 12px; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase; margin-bottom: 20px;
}
.quiz-result h3 { font-size: 28px; margin-bottom: 16px; }
.quiz-result p { color: var(--ink-soft); font-size: 16px; line-height: 1.75; max-width: 500px; margin: 0 auto 30px; }
.quiz-ctas { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-bottom: 20px; }
.quiz-restart {
  background: none; border: none; color: var(--ink-soft); font-size: 13.5px;
  text-decoration: underline; cursor: pointer; font-family: inherit;
}
.quiz-restart:hover { color: var(--gold-deep); }
@media (max-width: 680px) {
  .quiz-card { padding: 34px 22px; }
}

/* ===== Pre-analysis (Ön Analiz) section ===== */
.pre-analysis {
  display: grid;
  grid-template-columns: 0.85fr 1fr;
  gap: 56px;
  align-items: center;
  background: linear-gradient(120deg, #17140f, #2c2414);
  border-radius: 28px;
  padding: 60px;
  color: var(--cream);
  overflow: hidden;
  position: relative;
}
.pre-analysis .scan-stage { position: relative; aspect-ratio: 1/1; }
.pre-analysis .scan-line {
  position: absolute; left: 6%; right: 6%; height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold-light), transparent);
  box-shadow: 0 0 14px 2px rgba(228, 201, 138, 0.6);
  animation: scan-move 3.2s ease-in-out infinite;
}
@keyframes scan-move {
  0% { top: 12%; opacity: 0; }
  10% { opacity: 1; }
  90% { opacity: 1; }
  100% { top: 88%; opacity: 0; }
}
.pre-analysis h2 { color: #fff; font-size: clamp(26px, 3.4vw, 36px); margin-bottom: 18px; }
.pre-analysis p { color: rgba(250, 246, 238, 0.75); font-size: 16px; line-height: 1.8; margin-bottom: 30px; }
@media (prefers-reduced-motion: reduce) {
  .pre-analysis .scan-line { animation: none !important; opacity: .7; top: 50%; }
}
@media (max-width: 900px) {
  .pre-analysis { grid-template-columns: 1fr; padding: 40px 30px; }
  .pre-analysis .scan-stage { max-width: 280px; margin: 0 auto; }
}

/* ===== Contact section (homepage) ===== */
.contact-card {
  background: linear-gradient(120deg, #17140f, #2c2414);
  border-radius: 28px;
  padding: 64px 56px;
  color: var(--cream);
  position: relative;
  overflow: hidden;
}
.contact-card::before {
  content: ""; position: absolute; inset: -40%;
  background: radial-gradient(circle at 80% 10%, rgba(228,201,138,0.18), transparent 55%);
  pointer-events: none;
}
.contact-card .inner { position: relative; z-index: 1; }
.contact-card h2 { color: #fff; font-size: clamp(26px, 3.4vw, 38px); margin-bottom: 14px; }
.contact-card .sub { color: rgba(250,246,238,0.7); font-size: 16px; max-width: 520px; margin-bottom: 38px; }
.contact-info-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-bottom: 36px; }
.contact-info-grid .item { border: 1px solid rgba(255,255,255,0.12); border-radius: 16px; padding: 22px 24px; background: rgba(255,255,255,0.04); }
.contact-info-grid .item .ic { font-size: 20px; margin-bottom: 10px; display: block; }
.contact-info-grid .item b { display: block; font-size: 13px; text-transform: uppercase; letter-spacing: .08em; color: var(--gold-light); margin-bottom: 6px; }
.contact-info-grid .item span { font-size: 15px; color: rgba(250,246,238,0.85); line-height: 1.5; }
.contact-card .cta-row { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.contact-card .other-branches { margin-top: 22px; font-size: 13.5px; color: rgba(250,246,238,0.55); }
@media (max-width: 900px) {
  .contact-card { padding: 40px 28px; }
  .contact-info-grid { grid-template-columns: 1fr; }
}

/* ===== Floating WhatsApp ===== */
.wa-float {
  position: fixed; bottom: 26px; right: 26px; z-index: 900;
  width: 58px; height: 58px; border-radius: 50%;
  background: #25D366; color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 12px 30px rgba(37,211,102,0.45);
  font-size: 26px;
  animation: pop-in .6s cubic-bezier(.2,1.4,.4,1) both;
  animation-delay: 1.2s;
  opacity: 0; transform: scale(.4);
}
@keyframes pop-in { to { opacity: 1; transform: scale(1); } }

/* ===== AOS-lite (fallback reveal, in case AOS CDN fails) ===== */
[data-aos] { opacity: 0; transition: opacity .8s ease, transform .8s cubic-bezier(.2,.8,.2,1); }
[data-aos].aos-animate { opacity: 1; }
[data-aos="fade-up"] { transform: translateY(36px); }
[data-aos="fade-up"].aos-animate { transform: translateY(0); }
[data-aos="fade-right"] { transform: translateX(-36px); }
[data-aos="fade-right"].aos-animate { transform: translateX(0); }
[data-aos="fade-left"] { transform: translateX(36px); }
[data-aos="fade-left"].aos-animate { transform: translateX(0); }
[data-aos="zoom-in"] { transform: scale(.92); }
[data-aos="zoom-in"].aos-animate { transform: scale(1); }

/* ===== Responsive ===== */
@media (max-width: 900px) {
  .split, .split.reverse { grid-template-columns: 1fr; }
  .split.reverse .media, .split.reverse .text { order: initial; }
  .services-grid, .branches-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .service-list { grid-template-columns: 1fr; }
}
@media (max-width: 680px) {
  .nav-links { position: fixed; top: 0; right: 0; height: 100vh; width: 78%; max-width: 320px;
    background: var(--cream); flex-direction: column; justify-content: center; align-items: flex-start;
    padding: 40px; gap: 26px; transform: translateX(100%); transition: transform .4s ease; box-shadow: var(--shadow); }
  .nav-links.open { transform: translateX(0); }
  .burger { display: flex; }
  .services-grid, .branches-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .section { padding: 80px 0; }
  .hero-stats { gap: 30px; }
  .branch-info-bar { flex-direction: column; gap: 20px; }
}
