/* Scheringderma — premium dermocosmetics */
:root {
  --emerald: #0d3b33;
  --emerald-2: #16544a;
  --emerald-3: #1e6b5e;
  --gold: #c5a55a;
  --gold-soft: #e5d5ae;
  --ivory: #faf8f3;
  --sand: #f1ece1;
  --ink: #1d2422;
  --muted: #5c6a66;
  --line: #e4ded0;
  --radius: 20px;
  --shadow: 0 18px 50px -18px rgba(13, 59, 51, .25);
  --font-display: "Playfair Display", Georgia, serif;
  --font-body: "Inter", "Segoe UI", system-ui, sans-serif;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--ivory);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
.container { max-width: 1180px; margin: 0 auto; padding: 0 24px; }

h1, h2, h3, .display { font-family: var(--font-display); font-weight: 600; line-height: 1.15; }
h1 { font-size: clamp(2.4rem, 5.4vw, 4.2rem); letter-spacing: -.01em; }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.7rem); }
h3 { font-size: 1.35rem; }
.eyebrow {
  display: inline-block; font-family: var(--font-body); font-size: .78rem; font-weight: 600;
  letter-spacing: .28em; text-transform: uppercase; color: var(--gold);
  margin-bottom: 18px;
}
.lead { font-size: 1.12rem; color: var(--muted); max-width: 640px; }

/* ---------- header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  transition: background .3s, box-shadow .3s;
  padding: 18px 0;
}
.site-header.scrolled { background: rgba(250, 248, 243, .92); backdrop-filter: blur(14px); box-shadow: 0 4px 30px rgba(13,59,51,.08); padding: 10px 0; }
.nav { display: flex; align-items: center; justify-content: space-between; }
.brand { font-family: var(--font-display); font-size: 1.45rem; font-weight: 700; letter-spacing: .06em; color: var(--emerald); }
.brand span { color: var(--gold); }
.on-dark .brand, .on-dark .nav-links a { color: var(--ivory); }
.site-header.scrolled .brand { color: var(--emerald); }
.site-header.scrolled .nav-links a { color: var(--ink); }
.nav-links { display: flex; gap: 34px; align-items: center; list-style: none; }
.nav-links a { font-size: .92rem; font-weight: 500; letter-spacing: .04em; position: relative; }
.nav-links a::after { content: ""; position: absolute; left: 0; bottom: -6px; width: 0; height: 2px; background: var(--gold); transition: width .3s; }
.nav-links a:hover::after { width: 100%; }
.nav-cta {
  background: var(--emerald); color: #fff !important; padding: 10px 22px; border-radius: 40px;
  font-weight: 600; transition: background .3s, transform .2s;
}
.nav-cta:hover { background: var(--emerald-3); transform: translateY(-1px); }
.nav-cta::after { display: none; }
.burger { display: none; background: none; border: 0; cursor: pointer; width: 40px; height: 40px; }
.burger span { display: block; width: 24px; height: 2px; background: currentColor; margin: 5px auto; transition: .3s; color: var(--emerald); }
.on-dark .burger span { background: var(--ivory); }
.site-header.scrolled .burger span { background: var(--emerald); }

/* ---------- hero ---------- */
.hero {
  position: relative; min-height: 92vh; display: flex; align-items: center;
  background:
    linear-gradient(160deg, rgba(9,40,34,.88) 0%, rgba(13,59,51,.82) 45%, rgba(16,66,52,.86) 100%),
    url("/assets/img/hero-bg.jpg") center/cover no-repeat,
    linear-gradient(160deg, #0b332c 0%, #0d3b33 45%, #14503f 100%);
  color: var(--ivory); overflow: hidden;
  padding: 140px 0 90px;
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 26px 26px; opacity: .4;
}
.hero-grid { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; gap: 50px; align-items: center; }
.hero h1 { color: #fff; margin: 0 0 22px; }
.hero h1 em { font-style: italic; color: var(--gold-soft); }
.hero .lead { color: #c8d8d1; margin-bottom: 36px; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.btn {
  display: inline-flex; align-items: center; gap: 10px; padding: 15px 32px; border-radius: 50px;
  font-weight: 600; font-size: .95rem; letter-spacing: .03em; transition: transform .25s, box-shadow .25s, background .25s;
}
.btn-gold { background: linear-gradient(135deg, #d8bc7c, #c5a55a); color: #2a2413; box-shadow: 0 10px 30px -8px rgba(197,165,90,.5); }
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 16px 38px -8px rgba(197,165,90,.6); }
.btn-ghost { border: 1px solid rgba(255,255,255,.35); color: #fff; }
.btn-ghost:hover { background: rgba(255,255,255,.1); }
.btn-dark { background: var(--emerald); color: #fff; }
.btn-dark:hover { background: var(--emerald-3); transform: translateY(-2px); }
.btn-wa { background: #25d366; color: #06301c; }
.btn-wa:hover { transform: translateY(-2px); box-shadow: 0 14px 34px -10px rgba(37,211,102,.55); }

.hero-visual { position: relative; display: flex; justify-content: center; align-items: flex-end; gap: 0; }
.hero-visual .pedestal {
  position: absolute; bottom: -8px; left: 50%; transform: translateX(-50%);
  width: 88%; height: 46px; border-radius: 50%;
  background: radial-gradient(ellipse at center, rgba(0,0,0,.4), transparent 68%);
}
.hero-visual img { filter: drop-shadow(0 30px 40px rgba(0,0,0,.35)); }
.hero-visual .p1 { height: 380px; width: auto; z-index: 2; }
.hero-visual .p2 { height: 330px; width: auto; margin-left: -30px; z-index: 1; transform: rotate(4deg); }
.hero-visual .p3 { height: 300px; width: auto; margin-left: -26px; z-index: 0; transform: rotate(-3deg); opacity: .96; }
.hero-badges { position: relative; display: flex; gap: 26px; margin-top: 46px; flex-wrap: wrap; }
.hero-badges div { font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; color: #a9c3ba; display: flex; align-items: center; gap: 8px; }
.hero-badges svg { width: 16px; height: 16px; fill: var(--gold); }

/* ---------- sections ---------- */
section { padding: 96px 0; }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 64px; }
.section-head .lead { margin: 14px auto 0; }

/* marquee strip */
.strip { background: var(--emerald); color: var(--gold-soft); padding: 16px 0; overflow: hidden; white-space: nowrap; }
.strip-track { display: inline-block; animation: marquee 30s linear infinite; }
.strip span { margin: 0 34px; font-size: .82rem; letter-spacing: .3em; text-transform: uppercase; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* product grid */
.products { background: var(--sand); }
.product-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 26px; }
.card {
  background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow);
  transition: transform .35s, box-shadow .35s; display: flex; flex-direction: column;
}
.card:hover { transform: translateY(-8px); box-shadow: 0 30px 60px -20px rgba(13,59,51,.35); }
.card-img {
  padding: 34px 24px 10px; display: flex; justify-content: center; align-items: flex-end; height: 280px;
  background: radial-gradient(420px 200px at 50% 115%, rgba(197,165,90,.18), transparent 70%), linear-gradient(180deg, #fdfcf9, #f4efe4);
}
.card-img img { max-height: 240px; width: auto; filter: drop-shadow(0 18px 22px rgba(13,59,51,.22)); transition: transform .4s; }
.card:hover .card-img img { transform: scale(1.05) translateY(-4px); }
.card-body { padding: 22px 26px 28px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.card-tag { font-size: .72rem; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: var(--gold); }
.card-body h3 { color: var(--emerald); }
.card-body p { font-size: .92rem; color: var(--muted); flex: 1; }
.card-link { font-weight: 600; font-size: .9rem; color: var(--emerald); display: inline-flex; align-items: center; gap: 8px; }
.card-link svg { width: 15px; height: 15px; transition: transform .3s; }
.card-link:hover svg { transform: translateX(5px); }

/* science / ingredients */
.science-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 22px; }
.sci {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 26px;
  transition: border-color .3s, transform .3s;
}
.sci:hover { border-color: var(--gold); transform: translateY(-4px); }
.sci .ic { width: 52px; height: 52px; border-radius: 14px; background: linear-gradient(135deg, var(--emerald-2), var(--emerald)); display: flex; align-items: center; justify-content: center; margin-bottom: 18px; }
.sci .ic svg { width: 26px; height: 26px; stroke: var(--gold-soft); fill: none; stroke-width: 1.6; }
.sci h3 { font-size: 1.08rem; margin-bottom: 8px; color: var(--emerald); font-family: var(--font-body); font-weight: 700; }
.sci p { font-size: .9rem; color: var(--muted); }

/* about split */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split-media { position: relative; }
.split-media img { border-radius: var(--radius); box-shadow: var(--shadow); }
.split-media::after {
  content: ""; position: absolute; inset: 24px -24px -24px 24px; border: 1px solid var(--gold);
  border-radius: var(--radius); z-index: -1;
}
.checks { list-style: none; margin-top: 26px; display: grid; gap: 14px; }
.checks li { display: flex; gap: 14px; align-items: flex-start; color: var(--ink); }
.checks svg { width: 22px; height: 22px; flex: none; margin-top: 2px; }

/* stats */
.stats {
  background:
    linear-gradient(120deg, rgba(9,40,34,.92), rgba(13,59,51,.85)),
    url("/assets/img/gel-texture.jpg") center/cover no-repeat fixed,
    var(--emerald);
  color: var(--ivory);
}
.stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 30px; text-align: center; }
.stat b { font-family: var(--font-display); font-size: 3rem; color: var(--gold-soft); display: block; }
.stat span { font-size: .85rem; letter-spacing: .14em; text-transform: uppercase; color: #a9c3ba; }

/* CTA band */
.cta-band {
  background:
    radial-gradient(700px 320px at 85% 30%, rgba(197,165,90,.22), transparent 60%),
    linear-gradient(140deg, #0b332c, #16544a);
  border-radius: 28px; color: #fff; padding: 70px 60px; display: flex; align-items: center;
  justify-content: space-between; gap: 40px; flex-wrap: wrap; box-shadow: var(--shadow);
}
.cta-band h2 { color: #fff; max-width: 520px; }
.cta-band p { color: #bdd2ca; margin-top: 10px; max-width: 460px; }

/* footer */
footer { background: #0a2b25; color: #9db8af; padding: 70px 0 30px; font-size: .92rem; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.4fr; gap: 44px; margin-bottom: 50px; }
footer h4 { color: #fff; font-size: .95rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 18px; }
footer ul { list-style: none; display: grid; gap: 10px; }
footer a:hover { color: var(--gold-soft); }
.footer-brand { font-family: var(--font-display); font-size: 1.5rem; color: #fff; margin-bottom: 14px; }
.footer-brand span { color: var(--gold); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding-top: 26px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: .82rem; }

/* WhatsApp float */
.wa-float {
  position: fixed; right: 26px; bottom: 26px; z-index: 90; width: 62px; height: 62px;
  background: #25d366; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 12px 30px -6px rgba(37,211,102,.55); transition: transform .25s;
}
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 32px; height: 32px; fill: #fff; }
.wa-float::before {
  content: ""; position: absolute; inset: -6px; border-radius: 50%;
  border: 2px solid rgba(37,211,102,.5); animation: pulse 2s infinite;
}
@keyframes pulse { 0% { transform: scale(.9); opacity: 1; } 100% { transform: scale(1.3); opacity: 0; } }

/* product page */
.p-hero { padding: 150px 0 80px; background: linear-gradient(180deg, var(--sand), var(--ivory)); }
.p-hero-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 60px; align-items: center; }
.p-hero-img {
  background: radial-gradient(400px 260px at 50% 110%, rgba(197,165,90,.25), transparent 70%), #fff;
  border-radius: 28px; padding: 50px 30px; display: flex; justify-content: center; box-shadow: var(--shadow);
}
.p-hero-img img { max-height: 440px; width: auto; filter: drop-shadow(0 24px 30px rgba(13,59,51,.25)); }
.p-hero h1 { font-size: clamp(2rem, 4vw, 3.1rem); color: var(--emerald); margin: 6px 0 18px; }
.p-meta { display: flex; gap: 12px; flex-wrap: wrap; margin: 22px 0 30px; }
.pill { background: #fff; border: 1px solid var(--line); padding: 8px 18px; border-radius: 40px; font-size: .82rem; font-weight: 600; color: var(--emerald-2); }
.benefit-list { list-style: none; display: grid; gap: 12px; margin: 26px 0 34px; }
.benefit-list li { display: flex; gap: 12px; align-items: flex-start; }
.benefit-list svg { width: 20px; height: 20px; flex: none; margin-top: 4px; }
.detail-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 26px; }
.detail {
  background: #fff; border-radius: var(--radius); padding: 34px 30px; border: 1px solid var(--line);
}
.detail h3 { color: var(--emerald); margin-bottom: 12px; }
.detail p, .detail li { font-size: .94rem; color: var(--muted); }
.detail ul { padding-left: 18px; display: grid; gap: 6px; }
.note { font-size: .8rem; color: #96a29d; margin-top: 40px; text-align: center; }

/* breadcrumbs */
.crumbs { font-size: .82rem; color: var(--muted); letter-spacing: .04em; }
.crumbs a { color: var(--emerald-2); }

/* reveal animation */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s ease, transform .8s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; }
.contact-card { background: #fff; border-radius: var(--radius); border: 1px solid var(--line); padding: 40px; }
.contact-card h3 { color: var(--emerald); margin-bottom: 8px; }
.contact-card p { color: var(--muted); font-size: .95rem; margin-bottom: 22px; }

@media (max-width: 900px) {
  .hero-grid, .split, .p-hero-grid, .contact-grid { grid-template-columns: 1fr; }
  .hero { padding-top: 120px; min-height: auto; }
  .hero-visual { margin-top: 30px; }
  .hero-visual .p1 { height: 300px; } .hero-visual .p2 { height: 260px; } .hero-visual .p3 { height: 240px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .nav-links {
    position: fixed; inset: 0; background: var(--emerald); flex-direction: column; justify-content: center;
    gap: 30px; transform: translateX(100%); transition: transform .35s; z-index: 99;
  }
  .nav-links.open { transform: none; }
  .nav-links a { color: #fff !important; font-size: 1.2rem; }
  .burger { display: block; position: relative; z-index: 100; }
  .burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); background: #fff; }
  .burger.open span:nth-child(2) { opacity: 0; }
  .burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); background: #fff; }
  .cta-band { padding: 46px 30px; }
  .split-media::after { display: none; }
}

/* ---------- premium motion ---------- */
@keyframes floaty {
  0%, 100% { transform: translateY(0) rotate(var(--rot, 0deg)); }
  50% { transform: translateY(-12px) rotate(var(--rot, 0deg)); }
}
.hero-visual .p1 { --rot: 0deg; animation: floaty 6s ease-in-out infinite; }
.hero-visual .p2 { --rot: 4deg; animation: floaty 7s ease-in-out .8s infinite; }
.hero-visual .p3 { --rot: -3deg; animation: floaty 8s ease-in-out 1.6s infinite; }

@keyframes riseIn {
  from { opacity: 0; transform: translateY(34px); }
  to { opacity: 1; transform: none; }
}
.hero-grid > div:first-child > * { opacity: 0; animation: riseIn .9s cubic-bezier(.2,.7,.2,1) forwards; }
.hero-grid > div:first-child > *:nth-child(1) { animation-delay: .1s; }
.hero-grid > div:first-child > *:nth-child(2) { animation-delay: .25s; }
.hero-grid > div:first-child > *:nth-child(3) { animation-delay: .4s; }
.hero-grid > div:first-child > *:nth-child(4) { animation-delay: .55s; }
.hero-grid > div:first-child > *:nth-child(5) { animation-delay: .7s; }
.hero-visual { opacity: 0; animation: riseIn 1.1s cubic-bezier(.2,.7,.2,1) .35s forwards; }

/* staggered reveals */
.product-grid .card:nth-child(2), .science-grid .sci:nth-child(2) { transition-delay: .1s; }
.product-grid .card:nth-child(3), .science-grid .sci:nth-child(3) { transition-delay: .2s; }
.product-grid .card:nth-child(4), .science-grid .sci:nth-child(4) { transition-delay: .3s; }
.product-grid .card:nth-child(5), .science-grid .sci:nth-child(5) { transition-delay: .4s; }
.science-grid .sci:nth-child(6) { transition-delay: .5s; }

/* gold button shimmer */
.btn-gold { position: relative; overflow: hidden; }
.btn-gold::after {
  content: ""; position: absolute; top: 0; left: -80%; width: 60%; height: 100%;
  background: linear-gradient(105deg, transparent, rgba(255,255,255,.55), transparent);
  transform: skewX(-20deg); animation: shimmer 3.2s ease-in-out infinite;
}
@keyframes shimmer { 0%, 55% { left: -80%; } 85%, 100% { left: 130%; } }

/* eyebrow line grow */
.section-head .eyebrow { position: relative; padding-bottom: 10px; }
.section-head .eyebrow::after {
  content: ""; position: absolute; left: 50%; bottom: 0; height: 2px; width: 0;
  background: var(--gold); transition: width .8s ease .2s; transform: translateX(-50%);
}
.section-head.visible .eyebrow::after { width: 56px; }

/* hero slow zoom on bg */
@keyframes bgDrift { from { background-size: auto, 105% auto; } }

/* card imgs gentle tilt on hover already; add shadow pulse on wa float */
@media (prefers-reduced-motion: reduce) {
  .hero-visual .p1, .hero-visual .p2, .hero-visual .p3, .btn-gold::after { animation: none; }
  .hero-grid > div:first-child > *, .hero-visual { opacity: 1; animation: none; }
}
