/* ============================================================
   MEDPOTTER v2 — Design System
   Palette: Red-Brown / Terracotta / Gold / Off-white
   ============================================================ */
:root {
  --brown-900: #2A100C;
  --brown-800: #3B1712;
  --brown-700: #4C1E16;
  --teal-600: #A03A14;
  --teal-500: #C2491B;
  --teal-400: #E2591F;
  --teal-300: #F2A05A;
  --amber-500: #F5A623;
  --amber-400: #FBBF24;
  --ink: #0B1B2A;
  --body: #33465C;
  --muted: #6B7A90;
  --bg: #F7F3EE;
  --bg-soft: #F0E9E1;
  --white: #FFFFFF;
  --line: #E8DED2;
  --danger: #E11D48;
  --ok: #10B981;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow-sm: 0 4px 14px rgba(42,16,12,.10);
  --shadow: 0 12px 34px rgba(42,16,12,.14);
  --shadow-lg: 0 26px 60px rgba(42,16,12,.24);
  --grad-brand: linear-gradient(120deg, #E2591F 0%, #B4350F 100%);
  --grad-amber: linear-gradient(120deg, #FBBF24 0%, #F59E0B 100%);
  --grad-dark: linear-gradient(135deg, #2A100C 0%, #3B1712 60%, #5C2518 100%);
  --font-head: 'Manrope', 'Segoe UI', system-ui, sans-serif;
  --font-body: 'Inter', 'Segoe UI', system-ui, sans-serif;
  --header-h: 76px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  color: var(--body);
  background: var(--bg);
  line-height: 1.7;
  font-size: 16px;
  overflow-x: hidden;
}
img, video { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
h1, h2, h3, h4, h5 { font-family: var(--font-head); color: var(--ink); line-height: 1.22; font-weight: 800; letter-spacing: -0.02em; }
.container { width: min(1180px, 92%); margin: 0 auto; }
.section { padding: 88px 0; position: relative; }
.section-alt { background: var(--white); }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-head); font-weight: 700; font-size: .82rem;
  letter-spacing: .18em; text-transform: uppercase; color: var(--teal-600);
  background: rgba(226,89,31,.10); padding: 8px 16px; border-radius: 999px;
  margin-bottom: 18px;
}
.eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--amber-500); }
.section-title { font-size: clamp(1.7rem, 3.6vw, 2.7rem); margin-bottom: 14px; }
.section-sub { max-width: 640px; color: var(--muted); font-size: 1.04rem; }
.sec-head { text-align: center; max-width: 760px; margin: 0 auto 52px; }
.sec-head.left { text-align: left; margin: 0 0 40px; }
.center { text-align: center; }
.hidden { display: none !important; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-family: var(--font-head); font-weight: 700; font-size: .98rem;
  padding: 14px 28px; border-radius: 999px; border: 2px solid transparent;
  cursor: pointer; transition: transform .25s ease, box-shadow .25s ease, background .25s ease, color .25s ease;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; }
.btn-primary { background: var(--grad-brand); color: #fff; box-shadow: 0 10px 24px rgba(14,116,144,.35); }
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 16px 32px rgba(14,116,144,.45); }
.btn-amber { background: var(--grad-amber); color: var(--ink); box-shadow: 0 10px 24px rgba(245,158,11,.35); }
.btn-amber:hover { transform: translateY(-3px); box-shadow: 0 16px 32px rgba(245,158,11,.45); }
.btn-ghost { border-color: rgba(255,255,255,.55); color: #fff; background: rgba(255,255,255,.08); backdrop-filter: blur(4px); }
.btn-ghost:hover { background: rgba(255,255,255,.18); transform: translateY(-3px); }
.btn-outline { border-color: var(--teal-500); color: var(--teal-600); background: transparent; }
.btn-outline:hover { background: var(--teal-500); color: #fff; }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: var(--brown-800); transform: translateY(-3px); }
.btn-block { width: 100%; }
.btn-sm { padding: 10px 20px; font-size: .9rem; }

/* ---------- Topbar ---------- */
.topbar { background: var(--brown-800); color: #C9D6E6; font-size: .82rem; }
.topbar .container { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 8px 4%; height: 42px; }
.topbar a { display: inline-flex; align-items: center; gap: 6px; transition: color .2s; }
.topbar a:hover { color: var(--teal-300); }
.topbar svg { width: 14px; height: 14px; color: var(--teal-400); }
.topbar .tb-left, .topbar .tb-right { display: flex; align-items: center; gap: 20px; }

/* ---------- Header / Nav ---------- */
.site-header { position: sticky; top: 0; z-index: 1000; background: rgba(255,255,255,.85); backdrop-filter: blur(14px); box-shadow: 0 1px 0 var(--line); }
.site-header.scrolled { box-shadow: var(--shadow-sm); }
.nav { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); gap: 20px; }
.logo img { height: 46px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links > li > a {
  font-family: var(--font-head); font-weight: 600; font-size: .95rem; color: var(--ink);
  padding: 10px 14px; border-radius: 10px; transition: color .2s, background .2s; position: relative;
}
.nav-links > li > a:hover, .nav-links > li > a.active { color: var(--teal-600); background: rgba(226,89,31,.09); }
.nav-cta { display: flex; align-items: center; gap: 12px; }
.nav-toggle {
  display: none; background: none; border: none; cursor: pointer; width: 42px; height: 42px;
  border-radius: 10px; position: relative;
}
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--ink); margin: 5px auto; border-radius: 2px; transition: .3s; }
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.nav-mobile { display: none; }

/* ---------- Hero Slider ---------- */
.hero { position: relative; min-height: calc(100vh - var(--header-h)); overflow: hidden; background: var(--brown-900); }
.hero-slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity .9s ease; }
.hero-slide.active { opacity: 1; visibility: visible; z-index: 2; }
.hero-bg { position: absolute; inset: 0; background-size: cover; background-position: center; transform: scale(1.08); transition: transform 6s linear; }
.hero-slide.active .hero-bg { transform: scale(1); }
.hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-veil { position: absolute; inset: 0; background: linear-gradient(100deg, rgba(42,16,12,.94) 0%, rgba(42,16,12,.75) 45%, rgba(42,16,12,.30) 100%); }
.hero-content { position: relative; z-index: 3; height: 100%; display: flex; align-items: center; }
.hero-inner { width: min(1180px, 92%); margin: 0 auto; padding: 96px 0 120px; max-width: 640px; }
.hero-kicker { display: inline-flex; align-items: center; gap: 8px; color: var(--teal-300); font-family: var(--font-head); font-weight: 700; letter-spacing: .14em; text-transform: uppercase; font-size: .8rem; background: rgba(226,89,31,.14); border: 1px solid rgba(242,160,90,.35); padding: 8px 16px; border-radius: 999px; margin-bottom: 22px; }
.hero-kicker::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--amber-400); animation: pulse 1.6s infinite; }
.hero h1 { color: #fff; font-size: clamp(2.2rem, 5.6vw, 3.9rem); margin-bottom: 20px; }
.hero h1 .accent { background: linear-gradient(90deg, var(--teal-300), var(--amber-400)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero p.lead { color: #C7D6E4; font-size: clamp(1rem, 1.6vw, 1.15rem); max-width: 540px; margin-bottom: 34px; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-controls { position: absolute; bottom: 44px; left: 0; right: 0; z-index: 5; display: flex; align-items: center; justify-content: space-between; }
.hero-arrows { display: flex; gap: 10px; }
.hero-arrow { width: 48px; height: 48px; border-radius: 50%; border: 1px solid rgba(255,255,255,.35); background: rgba(255,255,255,.08); color: #fff; cursor: pointer; font-size: 20px; display: grid; place-items: center; transition: .25s; backdrop-filter: blur(4px); }
.hero-arrow:hover { background: var(--teal-500); border-color: var(--teal-500); }
.hero-dots { display: flex; gap: 10px; }
.hero-dot { width: 34px; height: 5px; border-radius: 999px; background: rgba(255,255,255,.3); cursor: pointer; transition: .3s; }
.hero-dot.active { background: var(--amber-400); width: 52px; }
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: .35; } }

/* ---------- Marquee strip ---------- */
.strip { background: var(--grad-brand); color: #fff; overflow: hidden; padding: 13px 0; }
.strip-track { display: flex; gap: 46px; width: max-content; animation: marquee 26s linear infinite; font-family: var(--font-head); font-weight: 700; font-size: .92rem; letter-spacing: .06em; text-transform: uppercase; white-space: nowrap; }
.strip-track span { display: inline-flex; align-items: center; gap: 46px; }
.strip-track span::after { content: "✦"; color: rgba(255,255,255,.7); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Stats ---------- */
.stats { background: var(--grad-dark); position: relative; overflow: hidden; }
.stats::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(242,160,90,.16) 1.5px, transparent 1.5px); background-size: 26px 26px; }
.stats-grid { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.stat { text-align: center; color: #fff; padding: 20px 8px; }
.stat-num { font-family: var(--font-head); font-weight: 800; font-size: clamp(2rem, 4vw, 3rem); background: linear-gradient(90deg, var(--teal-300), #fff); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat-label { color: #AFC2D6; margin-top: 4px; font-size: .95rem; }

/* ---------- Services ---------- */
.svc-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; }
.svc-card { position: relative; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 34px; overflow: hidden; transition: transform .3s, box-shadow .3s, border-color .3s; }
.svc-card::before { content: ""; position: absolute; top: 0; left: 0; width: 100%; height: 4px; background: var(--grad-brand); transform: scaleX(0); transform-origin: left; transition: transform .35s ease; }
.svc-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); border-color: transparent; }
.svc-card:hover::before { transform: scaleX(1); }
.svc-icon { width: 60px; height: 60px; border-radius: 16px; display: grid; place-items: center; background: rgba(226,89,31,.12); color: var(--teal-600); margin-bottom: 20px; }
.svc-icon svg { width: 30px; height: 30px; }
.svc-card h3 { font-size: 1.3rem; margin-bottom: 10px; }
.svc-card p { color: var(--muted); font-size: .97rem; }
.svc-more { display: inline-flex; align-items: center; gap: 6px; margin-top: 18px; font-family: var(--font-head); font-weight: 700; color: var(--teal-600); font-size: .92rem; }
.svc-more svg { width: 16px; height: 16px; transition: transform .25s; }
.svc-card:hover .svc-more svg { transform: translateX(5px); }

/* ---------- Showcase ---------- */
.show-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.show-card { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 3/4; background: var(--brown-800); box-shadow: var(--shadow-sm); }
.show-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.show-card:hover img { transform: scale(1.08); }
.show-cap { position: absolute; inset: auto 0 0 0; padding: 18px 20px; background: linear-gradient(to top, rgba(42,16,12,.94), rgba(42,16,12,.40) 70%, transparent); color: #fff; }
.show-cap .tag { font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--amber-400); }
.show-cap h4 { color: #fff; font-size: 1.05rem; margin: 4px 0 2px; }
.show-cap p { font-size: .82rem; color: #BFD0E1; }
.show-card::after { content: ""; position: absolute; top: 14px; right: 14px; width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,.16); display: grid; place-items: center; opacity: 0; transition: .3s; }
.show-card:hover::after { opacity: 1; }

/* ---------- Split feature ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.split-img { position: relative; }
.split-img img { border-radius: var(--radius); box-shadow: var(--shadow-lg); }
.split-img .float-card { position: absolute; bottom: -22px; left: -22px; background: #fff; border-radius: var(--radius-sm); box-shadow: var(--shadow-lg); padding: 16px 20px; display: flex; gap: 14px; align-items: center; max-width: 260px; }
.float-card .fc-ic { width: 46px; height: 46px; border-radius: 12px; background: rgba(245,158,11,.15); color: var(--amber-500); display: grid; place-items: center; flex-shrink: 0; }
.fc-ic svg { width: 24px; height: 24px; }
.float-card b { display: block; font-family: var(--font-head); color: var(--ink); font-size: .98rem; }
.float-card span { font-size: .78rem; color: var(--muted); }
.split-body h2 { margin-bottom: 16px; }
.split-body p { margin-bottom: 16px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 12px; }
.check-list .ck { flex-shrink: 0; width: 24px; height: 24px; border-radius: 50%; background: rgba(16,185,129,.12); color: var(--ok); display: grid; place-items: center; margin-top: 2px; }
.check-list .ck svg { width: 14px; height: 14px; }
.check-list b { color: var(--ink); font-family: var(--font-head); }
.check-list p { color: var(--muted); font-size: .93rem; margin: 0; }

/* ---------- Gallery / Lightbox ---------- */
.gal-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.gal-item { position: relative; border-radius: var(--radius-sm); overflow: hidden; aspect-ratio: 4/3; cursor: pointer; background: var(--brown-800); }
.gal-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.gal-item:hover img { transform: scale(1.1); }
.gal-item .gal-ov { position: absolute; inset: 0; background: linear-gradient(to top, rgba(42,16,12,.85), transparent 55%); display: flex; flex-direction: column; justify-content: flex-end; padding: 14px; color: #fff; opacity: 0; transition: .3s; }
.gal-item:hover .gal-ov { opacity: 1; }
.gal-item .play-badge { position: absolute; inset: 0; display: grid; place-items: center; }
.gal-item .play-badge svg { width: 58px; height: 58px; color: rgba(255,255,255,.95); filter: drop-shadow(0 6px 16px rgba(0,0,0,.4)); }
.lightbox { position: fixed; inset: 0; z-index: 5000; background: rgba(30,12,9,.95); display: none; align-items: center; justify-content: center; padding: 24px; }
.lightbox.open { display: flex; }
.lightbox-media { max-width: min(1100px, 96vw); max-height: 86vh; border-radius: 12px; box-shadow: var(--shadow-lg); }
.lightbox-close { position: absolute; top: 22px; right: 26px; width: 46px; height: 46px; border-radius: 50%; background: rgba(255,255,255,.14); border: none; color: #fff; font-size: 22px; cursor: pointer; }
.lightbox-close:hover { background: var(--danger); }
.lightbox-caption { position: absolute; bottom: 30px; left: 0; right: 0; text-align: center; color: #fff; font-family: var(--font-head); }

/* ---------- Testimonials ---------- */
.testi { background: var(--grad-dark); position: relative; overflow: hidden; }
.testi::before { content: ""; position: absolute; width: 420px; height: 420px; border-radius: 50%; background: radial-gradient(circle, rgba(242,160,90,.22), transparent 70%); top: -120px; right: -120px; }
.testi-slider { position: relative; max-width: 780px; margin: 0 auto; }
.testi-track { overflow: hidden; }
.testi-slide { padding: 8px 6px; }
.testi-card { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); border-radius: var(--radius); padding: 36px; text-align: center; backdrop-filter: blur(6px); }
.testi-card .quote-mark { font-family: Georgia, serif; font-size: 56px; line-height: 1; color: var(--amber-400); }
.testi-card blockquote { color: #DCE7F2; font-size: 1.05rem; margin: 12px auto 22px; max-width: 560px; font-style: italic; }
.testi-stars { color: var(--amber-400); letter-spacing: 3px; margin-bottom: 14px; }
.testi-name { color: #fff; font-family: var(--font-head); font-weight: 800; }
.testi-role { color: var(--teal-300); font-size: .85rem; }
.testi-ctrl { display: flex; justify-content: center; gap: 12px; margin-top: 30px; }
.testi-btn { width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255,255,255,.3); background: transparent; color: #fff; cursor: pointer; font-size: 18px; transition: .25s; }
.testi-btn:hover { background: var(--teal-500); border-color: var(--teal-500); }

/* ---------- FAQ ---------- */
.faq-wrap { max-width: 820px; margin: 0 auto; }
.faq-item { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-sm); margin-bottom: 14px; overflow: hidden; transition: box-shadow .25s, border-color .25s; }
.faq-item.open { box-shadow: var(--shadow); border-color: rgba(226,89,31,.45); }
.faq-q { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 24px; cursor: pointer; font-family: var(--font-head); font-weight: 700; color: var(--ink); font-size: 1.02rem; }
.faq-q .fc { width: 30px; height: 30px; border-radius: 50%; background: rgba(226,89,31,.12); color: var(--teal-600); display: grid; place-items: center; flex-shrink: 0; transition: transform .3s, background .3s; font-size: 18px; font-weight: 600; }
.faq-item.open .fc { transform: rotate(45deg); background: var(--teal-500); color: #fff; }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .35s ease; }
.faq-a p { padding: 0 24px 20px; color: var(--muted); font-size: .97rem; }

/* ---------- News ---------- */
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.news-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: transform .3s, box-shadow .3s; }
.news-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.news-card img { width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.news-body { padding: 22px; }
.news-date { font-size: .78rem; color: var(--teal-600); font-weight: 700; text-transform: uppercase; letter-spacing: .08em; }
.news-body h3 { font-size: 1.1rem; margin: 8px 0 8px; }
.news-body p { color: var(--muted); font-size: .92rem; }

/* ---------- Process ---------- */
.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; counter-reset: step; }
.process-step { position: relative; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 24px 26px; transition: transform .3s, box-shadow .3s; }
.process-step:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.process-step .step-no { font-family: var(--font-head); font-weight: 800; font-size: 3rem; color: transparent; -webkit-text-stroke: 2px rgba(226,89,31,.55); margin-bottom: 10px; }
.process-step h3 { font-size: 1.08rem; margin-bottom: 8px; }
.process-step p { color: var(--muted); font-size: .92rem; }

/* ---------- CTA band ---------- */
.cta-band { background: var(--grad-brand); border-radius: 26px; padding: 56px 50px; display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; box-shadow: var(--shadow-lg); position: relative; overflow: hidden; }
.cta-band::after { content: "✦"; position: absolute; right: 30px; bottom: -40px; font-size: 200px; color: rgba(255,255,255,.1); }
.cta-band h2 { color: #fff; font-size: clamp(1.5rem, 3vw, 2.2rem); margin-bottom: 8px; }
.cta-band p { color: rgba(255,255,255,.85); max-width: 520px; }

/* ---------- Forms ---------- */
.form-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 36px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-grid .full { grid-column: 1 / -1; }
.f-label { display: block; font-family: var(--font-head); font-weight: 600; color: var(--ink); font-size: .9rem; margin-bottom: 7px; }
.f-label .req { color: var(--danger); }
.f-input, .f-select, .f-textarea {
  width: 100%; padding: 13px 16px; border: 1.5px solid var(--line); border-radius: var(--radius-sm);
  font-family: var(--font-body); font-size: .95rem; color: var(--ink); background: var(--bg);
  transition: border-color .2s, box-shadow .2s; outline: none;
}
.f-input:focus, .f-select:focus, .f-textarea:focus { border-color: var(--teal-500); box-shadow: 0 0 0 4px rgba(226,89,31,.14); background: #fff; }
.f-textarea { resize: vertical; min-height: 130px; }
.f-note { font-size: .82rem; color: var(--muted); margin-top: 10px; }
.form-msg { display: none; margin-top: 16px; padding: 14px 18px; border-radius: var(--radius-sm); font-size: .92rem; font-weight: 600; }
.form-msg.ok { display: block; background: rgba(16,185,129,.12); color: #087A4D; border: 1px solid rgba(16,185,129,.35); }
.form-msg.err { display: block; background: rgba(225,29,72,.1); color: var(--danger); border: 1px solid rgba(225,29,72,.35); }

/* ---------- Contact cards ---------- */
.contact-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-bottom: 60px; }
.contact-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; text-align: center; transition: transform .3s, box-shadow .3s; }
.contact-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.contact-card .cc-ic { width: 58px; height: 58px; margin: 0 auto 16px; border-radius: 16px; background: rgba(226,89,31,.12); color: var(--teal-600); display: grid; place-items: center; }
.contact-card .cc-ic svg { width: 28px; height: 28px; }
.contact-card h3 { font-size: 1.05rem; margin-bottom: 6px; }
.contact-card p, .contact-card a { color: var(--muted); font-size: .93rem; word-break: break-word; }
.contact-card a:hover { color: var(--teal-600); }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { position: relative; background: var(--grad-dark); color: #fff; padding: 90px 0 84px; overflow: hidden; }
.page-hero::after { content: ""; position: absolute; width: 340px; height: 340px; border-radius: 50%; background: radial-gradient(circle, rgba(242,160,90,.25), transparent 70%); top: -100px; right: -80px; }
.page-hero h1 { color: #fff; font-size: clamp(1.9rem, 4.4vw, 3rem); margin-bottom: 14px; }
.page-hero p { color: #BFD0E1; max-width: 640px; font-size: 1.05rem; }
.crumbs { display: flex; gap: 8px; align-items: center; font-size: .85rem; color: var(--teal-300); margin-bottom: 18px; }
.crumbs a { color: var(--teal-300); }
.crumbs span { color: #8FA6BE; }

/* ---------- Values ---------- */
.value-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.value-card { text-align: center; padding: 30px 22px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); transition: transform .3s, box-shadow .3s; }
.value-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.value-card .vc-ic { width: 56px; height: 56px; margin: 0 auto 16px; border-radius: 50%; background: rgba(245,158,11,.12); color: var(--amber-500); display: grid; place-items: center; }
.value-card .vc-ic svg { width: 26px; height: 26px; }
.value-card h3 { font-size: 1.02rem; margin-bottom: 6px; }
.value-card p { color: var(--muted); font-size: .9rem; }

/* ---------- Timeline ---------- */
.timeline { position: relative; max-width: 720px; margin: 0 auto; padding-left: 30px; }
.timeline::before { content: ""; position: absolute; left: 9px; top: 6px; bottom: 6px; width: 2px; background: linear-gradient(var(--teal-500), var(--amber-500)); }
.tl-item { position: relative; margin-bottom: 30px; }
.tl-item::before { content: ""; position: absolute; left: -27px; top: 6px; width: 14px; height: 14px; border-radius: 50%; background: var(--teal-500); border: 3px solid var(--bg); box-shadow: 0 0 0 3px rgba(226,89,31,.32); }
.tl-year { font-family: var(--font-head); font-weight: 800; color: var(--teal-600); font-size: 1.05rem; }
.tl-item p { color: var(--muted); }

/* ---------- Milestones band ---------- */
.mile-band { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 40px; box-shadow: var(--shadow-sm); }

/* ---------- Footer ---------- */
.site-footer { background: var(--brown-900); color: #D9C3B4; padding: 74px 0 0; position: relative; overflow: hidden; }
.site-footer::before { content: ""; position: absolute; width: 480px; height: 480px; border-radius: 50%; background: radial-gradient(circle, rgba(242,160,90,.14), transparent 70%); bottom: -240px; left: -160px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.4fr; gap: 44px; position: relative; }
.footer-brand .logo img { filter: brightness(0) invert(1); margin-bottom: 18px; }
.footer-brand p { font-size: .93rem; max-width: 320px; }
.footer-social { display: flex; gap: 10px; margin-top: 20px; }
.footer-social a { width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,.08); display: grid; place-items: center; transition: .25s; }
.footer-social a svg { width: 17px; height: 17px; color: #C9D6E6; }
.footer-social a:hover { background: var(--teal-500); transform: translateY(-3px); }
.footer-social a:hover svg { color: #fff; }
.footer-col h4 { color: #fff; font-size: 1rem; margin-bottom: 18px; }
.footer-col li { margin-bottom: 11px; }
.footer-col li a { color: #AFC2D6; font-size: .93rem; transition: color .2s, padding-left .2s; }
.footer-col li a:hover { color: var(--teal-300); padding-left: 5px; }
.footer-contact li { display: flex; gap: 10px; align-items: flex-start; font-size: .93rem; }
.footer-contact svg { width: 17px; height: 17px; color: var(--teal-400); flex-shrink: 0; margin-top: 4px; }
.footer-contact a:hover { color: var(--teal-300); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.09); margin-top: 56px; padding: 20px 0; display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: .85rem; position: relative; }
.footer-bottom a { color: var(--teal-300); }

/* ---------- Floating buttons ---------- */
.float-btns { position: fixed; right: 20px; bottom: 20px; z-index: 900; display: flex; flex-direction: column; gap: 12px; }
.float-btns a { width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; box-shadow: var(--shadow-lg); transition: transform .25s; }
.float-btns a:hover { transform: scale(1.12); }
.float-wa { background: #25D366; color: #fff; }
.float-wa svg { width: 28px; height: 28px; }
.float-call { background: var(--grad-brand); color: #fff; }
.float-call svg { width: 24px; height: 24px; }

/* ---------- Scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .1s; }
.reveal[data-delay="2"] { transition-delay: .2s; }
.reveal[data-delay="3"] { transition-delay: .3s; }

/* ---------- Back to top ---------- */
#toTop { position: fixed; left: 20px; bottom: 20px; z-index: 900; width: 46px; height: 46px; border-radius: 50%; background: var(--ink); color: #fff; border: none; cursor: pointer; display: none; place-items: center; box-shadow: var(--shadow-lg); font-size: 18px; }
#toTop.show { display: grid; }
#toTop:hover { background: var(--teal-600); }

/* ---------- Dynamic pages ---------- */
.dyn-section { padding: 60px 0; }
.dyn-hero { position: relative; background: var(--grad-dark); color: #fff; padding: 90px 0 84px; overflow: hidden; }
.dyn-hero h1 { color: #fff; font-size: clamp(1.9rem, 4.4vw, 3rem); margin-bottom: 14px; }
.dyn-hero p { color: #BFD0E1; max-width: 640px; }
.dyn-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.dyn-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; transition: transform .3s, box-shadow .3s; }
.dyn-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.dyn-card .dc-ic { width: 50px; height: 50px; border-radius: 14px; background: rgba(226,89,31,.12); color: var(--teal-600); display: grid; place-items: center; margin-bottom: 16px; }
.dyn-card .dc-ic svg { width: 26px; height: 26px; }
.dyn-card h3 { font-size: 1.08rem; margin-bottom: 8px; }
.dyn-card p { color: var(--muted); font-size: .93rem; }
.dyn-columns { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.dyn-col h3 { margin-bottom: 10px; font-size: 1.1rem; }
.dyn-col p { color: var(--muted); font-size: .95rem; }
.dyn-quote { background: var(--grad-dark); color: #fff; border-radius: var(--radius); padding: 40px; text-align: center; }
.dyn-quote blockquote { font-size: 1.15rem; font-style: italic; color: #E5EEF6; }
.dyn-quote .by { margin-top: 12px; color: var(--teal-300); font-family: var(--font-head); font-weight: 700; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .show-grid { grid-template-columns: repeat(2, 1fr); }
  .news-grid, .process-grid, .value-grid, .dyn-cards, .dyn-columns { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
  .gal-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .nav-links, .nav-cta .btn-desktop { display: none; }
  .nav-mobile {
    display: none; position: absolute; top: var(--header-h); left: 0; right: 0; background: #fff;
    box-shadow: var(--shadow-lg); border-top: 1px solid var(--line); padding: 18px 4%;
  }
  .nav-mobile.open { display: block; }
  .nav-mobile a { display: block; padding: 14px 12px; font-family: var(--font-head); font-weight: 600; color: var(--ink); border-radius: 10px; }
  .nav-mobile a:hover, .nav-mobile a.active { background: rgba(226,89,31,.09); color: var(--teal-600); }
  .nav-mobile .btn { margin-top: 14px; width: 100%; }
  .split { grid-template-columns: 1fr; gap: 44px; }
  .split-img .float-card { left: 12px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 18px; }
  .svc-grid { grid-template-columns: 1fr; }
  .contact-cards { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .cta-band { padding: 40px 28px; }
}

@media (max-width: 600px) {
  .section { padding: 60px 0; }
  .topbar .tb-right { display: none; }
  .topbar .container { justify-content: center; }
  .show-grid, .news-grid, .process-grid, .value-grid, .gal-grid, .dyn-cards, .dyn-columns { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .hero-arrows { display: none; }
  .hero-inner { padding: 70px 0 90px; }
  .hero-controls { bottom: 30px; justify-content: center; }
  .process-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .cta-band { justify-content: center; text-align: center; }
  .cta-band p { margin: 0 auto; }
  .float-btns { right: 14px; bottom: 14px; }
  .split-img .float-card { max-width: 210px; }
}
