/* ============================================================
   Kosmetika Petra Treterová — design system
   Palette: Terracotta & Sand · Type: Fraunces + Hanken Grotesk
   ============================================================ */

:root {
  /* color tokens */
  --sand: #f7f1ea;
  --sand-deep: #efe5d9;
  --paper: #fcfaf6;
  --oat: #eedbb8;
  --espresso: #332c25;
  --espresso-soft: #6e6359;
  /* one brand gold — used uniformly everywhere (accents + gold text) */
  --terracotta: #A9814E;
  --clay: #A9814E;
  --clay-dark: #2b2620;
  --line: rgba(51, 44, 37, 0.14);

  /* type */
  --display: "Fraunces", Georgia, "Times New Roman", serif;
  --body: "Hanken Grotesk", system-ui, -apple-system, sans-serif;
  --script: "Great Vibes", "Segoe Script", "Brush Script MT", cursive;

  /* spacing rhythm */
  --gutter: clamp(1.25rem, 5vw, 4rem);
  --section-y: clamp(4.5rem, 10vw, 9rem);
  --maxw: 1240px;

  /* motion */
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--sand);
  color: var(--espresso);
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.7;
  font-weight: 400;
  letter-spacing: 0.005em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

/* warm ambient gradient + grain, fixed behind everything */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(60% 50% at 12% 0%, rgba(169, 129, 78, 0.13), transparent 60%),
    radial-gradient(50% 45% at 100% 8%, rgba(232, 216, 200, 0.55), transparent 60%),
    radial-gradient(70% 60% at 80% 100%, rgba(138, 90, 67, 0.07), transparent 60%);
  pointer-events: none;
}
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  opacity: 0.04;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }

/* ---------- layout helpers ---------- */
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section-y); }
.section--tight { padding-block: clamp(3rem, 7vw, 6rem); }
.section--clay { background: var(--clay-dark); color: var(--sand); }
.section--oat { background: var(--sand-deep); }

/* ---------- typography ---------- */
.eyebrow {
  font-family: var(--body);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--clay);
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  margin: 0 0 1.25rem;
}
.eyebrow::before {
  content: "";
  width: 1.6rem;
  height: 1px;
  background: currentColor;
  opacity: 0.7;
}
.section--clay .eyebrow { color: var(--oat); }

h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 400;
  font-optical-sizing: auto;
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin: 0;
  font-variation-settings: "SOFT" 30, "WONK" 0;
}
.display {
  font-size: clamp(2.9rem, 8.5vw, 6.2rem);
  line-height: 0.98;
  letter-spacing: -0.03em;
}
.display em { font-style: italic; font-variation-settings: "SOFT" 60, "WONK" 1; color: var(--clay); }
h2.title { font-size: clamp(2rem, 4.5vw, 3.4rem); }
h3.sub { font-size: clamp(1.4rem, 2.6vw, 1.9rem); }
.lead {
  font-size: clamp(1.1rem, 1.6vw, 1.35rem);
  line-height: 1.65;
  color: var(--espresso-soft);
  max-width: 46ch;
}
.section--clay .lead { color: rgba(247, 241, 234, 0.78); }
p { max-width: 64ch; }
.measure { max-width: 60ch; }

/* ---------- buttons ---------- */
.btn {
  --bg: var(--clay-dark);
  --fg: var(--sand);
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--body);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  padding: 0.95rem 1.6rem;
  border-radius: 100px;
  border: 1px solid transparent;
  background: var(--bg);
  color: var(--fg);
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out), background 0.3s var(--ease);
  box-shadow: 0 10px 22px -14px rgba(65, 49, 42, 0.6);
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 18px 34px -16px rgba(65, 49, 42, 0.7); }
.btn:active { transform: translateY(0); }
.btn .arrow { transition: transform 0.4s var(--ease-out); }
.btn:hover .arrow { transform: translateX(4px); }
.btn--primary { --bg: var(--terracotta); --fg: #fff; }
.btn--primary:hover { filter: brightness(0.94); }
.btn--ghost {
  --bg: transparent;
  --fg: var(--espresso);
  border-color: var(--line);
  box-shadow: none;
}
.btn--ghost:hover { background: rgba(61, 49, 40, 0.05); box-shadow: none; }
.section--clay .btn--ghost { --fg: var(--sand); border-color: rgba(247, 241, 234, 0.28); }

/* link with growing terracotta underline */
.ulink {
  text-decoration: none;
  font-weight: 600;
  color: var(--clay);
  position: relative;
  padding-bottom: 2px;
}
.ulink::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 1.5px;
  background: var(--terracotta);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease-out);
}
.ulink:hover::after { transform: scaleX(1); }

/* ---------- focus visibility (a11y floor) ---------- */
:focus-visible { outline: 2.5px solid var(--clay-dark); outline-offset: 3px; border-radius: 4px; }

/* ---------- lash-arc signature divider ---------- */
.lash {
  display: block;
  width: clamp(80px, 12vw, 130px);
  height: auto;
  color: var(--terracotta);
}
.lash path { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.lash--center { margin-inline: auto; }
.divider { display: flex; align-items: center; justify-content: center; gap: 1.2rem; color: var(--terracotta); }
.divider::before, .divider::after {
  content: ""; height: 1px; flex: 1; max-width: 120px;
  background: linear-gradient(to var(--dir, right), transparent, currentColor);
}
.divider::before { --dir: left; }

/* ============================================================
   NAVBAR
   ============================================================ */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  transition: background 0.4s var(--ease), box-shadow 0.4s var(--ease), backdrop-filter 0.4s;
}
.nav.scrolled {
  background: rgba(247, 241, 234, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 var(--line);
}
.nav__inner {
  display: flex; align-items: center; justify-content: space-between;
  padding-block: 1.15rem;
}
.brand { display: inline-flex; align-items: center; line-height: 1; text-decoration: none; }
.brand__name { font-family: var(--script); font-size: 2.1rem; font-weight: 400; line-height: 0.9; letter-spacing: 0.01em; color: var(--espresso); }
.brand__lash { width: 100px; height: 9px; color: var(--terracotta); margin-left: 2px; }
.brand__lash path { fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; }
.brand__logo { height: 74px; width: auto; display: block; }
/* lift the gold logo off the light header so it stays legible */
.nav .brand__logo { filter: brightness(0.78) contrast(1.22) saturate(1.12) drop-shadow(0 1px 1.5px rgba(61, 49, 40, 0.5)); }
.brand__logo--footer { height: 108px; filter: none; }
@media (max-width: 600px) { .brand__logo { height: 54px; } .brand__logo--footer { height: 82px; } }

.nav__links { display: flex; align-items: center; gap: clamp(1.2rem, 2.4vw, 2.4rem); }
.nav__menu { display: flex; align-items: center; gap: clamp(1rem, 2vw, 2rem); list-style: none; margin: 0; padding: 0; }
.nav__link {
  text-decoration: none;
  font-size: 0.96rem;
  font-weight: 500;
  color: var(--espresso);
  position: relative;
  padding: 0.35rem 0;
}
.nav__link::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 1.5px; width: 100%;
  background: var(--terracotta); transform: scaleX(0); transform-origin: left;
  transition: transform 0.35s var(--ease-out);
}
.nav__link:hover::after, .nav__link[aria-current="page"]::after { transform: scaleX(1); }
.nav__link[aria-current="page"] { color: var(--clay); }

.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none; border: 0; cursor: pointer; padding: 8px;
}
.nav__toggle span { width: 24px; height: 2px; background: var(--espresso); border-radius: 2px; transition: transform 0.35s var(--ease), opacity 0.25s; }
.nav.open .nav__toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav.open .nav__toggle span:nth-child(2) { opacity: 0; }
.nav.open .nav__toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 860px) {
  .nav__toggle { display: flex; position: relative; z-index: 95; }
  .brand { position: relative; z-index: 95; }
  .nav__menu {
    position: fixed;
    inset: 0;
    width: 100%;
    z-index: 90;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1.7rem;
    padding: var(--gutter);
    background: var(--sand);
    transform: translateX(100%);
    transition: transform 0.5s var(--ease-out);
  }
  .nav.open .nav__menu { transform: translateX(0); }
  .nav__menu .nav__link { font-size: 1.95rem; font-family: var(--display); }
  .nav__cta-mobile { margin-top: 1rem; }
  /* keep underbar background visible behind the open overlay's top bar */
  .nav.open { background: var(--sand); }
}

/* ============================================================
   HERO
   ============================================================ */
.hero { position: relative; padding-top: clamp(8rem, 16vh, 11rem); padding-bottom: var(--section-y); }
.hero__grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}
.hero__copy { position: relative; z-index: 2; }
.hero__copy .lead { margin-top: 1.6rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2.4rem; }

.hero__media { position: relative; }
.hero__img {
  position: relative;
  border-radius: 200px 200px 18px 18px;
  overflow: hidden;
  aspect-ratio: 3 / 4;
  box-shadow: 0 50px 90px -50px rgba(65, 49, 42, 0.65);
}
.hero__img img { width: 100%; height: 100%; object-fit: cover; }
.hero__img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(65, 49, 42, 0.28), transparent 45%); mix-blend-mode: multiply; }
.hero__chip {
  position: absolute;
  left: -1.5rem; bottom: 2.2rem;
  background: var(--paper);
  padding: 1rem 1.3rem;
  border-radius: 16px;
  box-shadow: 0 24px 50px -28px rgba(65, 49, 42, 0.6);
  display: flex; align-items: center; gap: 0.85rem;
  max-width: 230px;
}
.hero__chip .star { color: var(--terracotta); flex: none; }
.hero__chip span { font-size: 0.85rem; line-height: 1.4; color: var(--espresso-soft); }
.hero__chip b { color: var(--espresso); font-weight: 700; }

@media (max-width: 860px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__media { max-width: 440px; margin-inline: auto; width: 100%; }
  .hero__chip { left: 0; }
}

/* marquee of services */
.marquee {
  overflow: hidden;
  border-block: 1px solid var(--line);
  background: var(--sand-deep);
  padding-block: 1.1rem;
}
.marquee__track { display: flex; gap: 3rem; width: max-content; animation: marquee 36s linear infinite; }
.marquee__track span {
  font-family: var(--display); font-style: italic; font-size: clamp(1.4rem, 3vw, 2.2rem);
  color: var(--clay); white-space: nowrap; display: inline-flex; align-items: center; gap: 3rem;
}
.marquee__track span::after { content: "❋"; color: var(--terracotta); font-style: normal; font-size: 0.8em; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ============================================================
   SERVICES
   ============================================================ */
.svc-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(1.2rem, 2.5vw, 1.8rem); margin-top: 3.5rem; }
@media (max-width: 720px) { .svc-grid { grid-template-columns: 1fr; } }

.svc-card {
  position: relative;
  display: flex; flex-direction: column;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 22px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: transform 0.5s var(--ease-out), box-shadow 0.5s var(--ease-out);
  box-shadow: 0 18px 40px -34px rgba(65, 49, 42, 0.5);
}
.svc-card:hover { transform: translateY(-6px); box-shadow: 0 36px 60px -38px rgba(65, 49, 42, 0.6); }
.svc-card__media { position: relative; aspect-ratio: 16 / 11; overflow: hidden; }
.svc-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s var(--ease-out); }
.svc-card:hover .svc-card__media img { transform: scale(1.05); }
.svc-card__media::after { content: ""; position: absolute; inset: 0; background: var(--clay); opacity: 0.16; mix-blend-mode: multiply; }
.svc-card__num {
  position: absolute; top: 1rem; left: 1.1rem;
  font-family: var(--display); font-style: italic; font-size: 1.1rem; color: var(--sand);
  text-shadow: 0 2px 12px rgba(65, 49, 42, 0.5);
}
.svc-card__body { padding: 1.7rem 1.7rem 1.9rem; display: flex; flex-direction: column; gap: 0.7rem; flex: 1; }
.svc-card__body h3 { font-size: 1.5rem; }
.svc-card__body p { color: var(--espresso-soft); font-size: 0.98rem; margin: 0; }
.svc-card__more { margin-top: auto; padding-top: 0.6rem; display: inline-flex; align-items: center; gap: 0.5rem; color: var(--clay); font-weight: 600; font-size: 0.92rem; }
.svc-card__more .arrow { transition: transform 0.4s var(--ease-out); }
.svc-card:hover .svc-card__more .arrow { transform: translateX(5px); }

/* ============================================================
   SPLIT / EDITORIAL BLOCKS
   ============================================================ */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.split--rev .split__media { order: -1; }
@media (max-width: 820px) { .split { grid-template-columns: 1fr; } .split--rev .split__media { order: 0; } }
.split__media { position: relative; border-radius: 20px; overflow: hidden; aspect-ratio: 4 / 5; box-shadow: 0 40px 80px -46px rgba(65, 49, 42, 0.6); }
.split__media img { width: 100%; height: 100%; object-fit: cover; }
.split__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(65, 49, 42, 0.3), transparent 50%); mix-blend-mode: multiply; }

/* stacked feature list */
.feature-list { list-style: none; margin: 2rem 0 0; padding: 0; display: grid; gap: 1.1rem; }
.feature-list li { display: flex; gap: 1rem; align-items: flex-start; }
.feature-list .tick { flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--oat); display: grid; place-items: center; color: var(--clay); margin-top: 2px; }
.feature-list b { display: block; font-weight: 600; }
.feature-list span { color: var(--espresso-soft); font-size: 0.96rem; }
.section--clay .feature-list b { color: var(--sand); }
.section--clay .feature-list span { color: rgba(247, 241, 234, 0.74); }
.section--clay .feature-list .tick { background: rgba(247, 241, 234, 0.14); color: var(--oat); }
.section--clay .measure, .section--clay p { color: rgba(247, 241, 234, 0.78); }

/* stats row */
.stats { display: flex; flex-wrap: wrap; gap: clamp(1.5rem, 5vw, 4rem); margin-top: 2.5rem; }
@media (max-width: 600px) {
  .stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem 0.5rem; text-align: center; }
  .stats > div { min-width: 0; }
  .stat__l { font-size: 0.78rem; }
}
.stat__n { font-family: var(--display); font-size: clamp(2.4rem, 5vw, 3.4rem); line-height: 1; color: var(--clay); }
.section--clay .stat__n { color: var(--terracotta); }
.stat__l { font-size: 0.9rem; letter-spacing: 0.04em; color: var(--espresso-soft); margin-top: 0.5rem; }
.section--clay .stat__l { color: rgba(247, 241, 234, 0.7); }

/* ============================================================
   CTA BAND
   ============================================================ */
.cta-band { text-align: center; }
.cta-band .title { max-width: 16ch; margin-inline: auto; }
.cta-band__actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 1rem; margin-top: 2.4rem; }

/* ============================================================
   PAGE HEADER (interior pages)
   ============================================================ */
.page-head { padding-top: clamp(9rem, 18vh, 12rem); padding-bottom: clamp(2.5rem, 6vw, 4.5rem); }
.page-head .display { font-size: clamp(2.6rem, 7vw, 5rem); }
.page-head .lead { margin-top: 1.4rem; }
.crumb { font-size: 0.85rem; letter-spacing: 0.04em; color: var(--espresso-soft); margin-bottom: 1.6rem; }
.crumb a { text-decoration: none; }
.crumb a:hover { color: var(--clay); }

/* service detail hero image */
.detail-hero { border-radius: 24px; overflow: hidden; aspect-ratio: 21 / 9; position: relative; box-shadow: 0 40px 80px -50px rgba(65,49,42,.6); }
.detail-hero img { width: 100%; height: 100%; object-fit: cover; }
.detail-hero::after { content:""; position:absolute; inset:0; background: var(--clay); opacity:.12; mix-blend-mode: multiply; }

/* faq */
.faq { display: grid; gap: 0.8rem; margin-top: 2.5rem; }
.faq details {
  background: var(--paper); border: 1px solid var(--line); border-radius: 14px; padding: 0 1.4rem; overflow: hidden;
}
.faq summary {
  list-style: none; cursor: pointer; padding: 1.2rem 0; font-family: var(--display); font-size: 1.2rem;
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .pm { flex: none; width: 24px; height: 24px; position: relative; transition: transform 0.4s var(--ease); }
.faq summary .pm::before, .faq summary .pm::after { content:""; position:absolute; inset:0; margin:auto; background: var(--terracotta); }
.faq summary .pm::before { width: 14px; height: 2px; }
.faq summary .pm::after { width: 2px; height: 14px; transition: transform 0.4s var(--ease); }
.faq details[open] summary .pm::after { transform: scaleY(0); }
.faq details > p { margin: 0 0 1.3rem; color: var(--espresso-soft); }

/* steps / process */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1rem, 2.5vw, 1.8rem); margin-top: 3rem; }
@media (max-width: 760px) { .steps { grid-template-columns: 1fr; } }
.step { background: var(--paper); border: 1px solid var(--line); border-radius: 18px; padding: 1.7rem; box-shadow: 0 18px 40px -36px rgba(65,49,42,.5); }
.step__n { font-family: var(--display); font-style: italic; font-size: 2rem; color: var(--terracotta); line-height: 1; }
.step h4 { font-family: var(--display); font-size: 1.3rem; margin: 0.8rem 0 0.45rem; }
.step p { color: var(--espresso-soft); font-size: 0.96rem; margin: 0; }

/* ---------- price-free service info row ---------- */
.info-row { display: flex; flex-wrap: wrap; gap: 1.5rem 3rem; margin-top: 2rem; padding-top: 1.6rem; border-top: 1px solid var(--line); }
.info-row > div .k { font-size: 0.78rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--clay); }
.info-row > div .v { font-family: var(--display); font-size: 1.3rem; }
.info-note { margin-top: 1.1rem; font-size: 0.9rem; color: var(--espresso-soft); display: flex; align-items: center; gap: 0.55rem; }
.info-note svg { flex: none; color: var(--clay); }

/* ---------- treatment line: numbered process list ---------- */
.line-proc { margin-top: clamp(2.2rem, 4vw, 3.4rem); }
.proc-list {
  list-style: none; counter-reset: proc; margin: 1.4rem 0 0; padding: 0;
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.85rem 2.6rem;
}
@media (max-width: 680px) { .proc-list { grid-template-columns: 1fr; } }
.proc-list li {
  counter-increment: proc; display: flex; gap: 0.85rem; align-items: baseline;
  color: var(--espresso-soft); font-size: 0.97rem; line-height: 1.55;
}
.proc-list li::before {
  content: counter(proc, decimal-leading-zero); flex: none;
  font-family: var(--display); font-style: italic; font-size: 1.1rem; color: var(--terracotta); min-width: 1.7rem;
}
.proc-list li i { font-style: italic; color: var(--clay); }

/* ---------- contraindications list ---------- */
.contra { list-style: none; margin: 2.4rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 0.7rem 2.4rem; }
.contra li { position: relative; padding-left: 1.2rem; color: var(--espresso-soft); font-size: 0.96rem; line-height: 1.55; }
.contra li::before { content: ""; position: absolute; left: 0; top: 0.62em; width: 6px; height: 6px; border-radius: 50%; background: var(--clay); }
.note-warn { margin-top: 2.2rem; display: flex; gap: 0.85rem; align-items: flex-start; padding: 1.1rem 1.3rem; border: 1px solid var(--line); border-radius: 14px; background: var(--sand); color: var(--espresso); font-size: 0.96rem; line-height: 1.6; }
.note-warn svg { flex: none; color: var(--terracotta); margin-top: 3px; }
.note-warn b { color: var(--espresso); }

/* ---------- legal / long-form document pages ---------- */
.legal { max-width: 760px; }
.legal h2 { font-family: var(--display); font-size: clamp(1.4rem, 3vw, 1.9rem); letter-spacing: -0.01em; margin: 2.8rem 0 0.8rem; }
.legal h2:first-of-type { margin-top: 0; }
.legal h3 { font-family: var(--display); font-size: 1.2rem; margin: 1.6rem 0 0.5rem; }
.legal p { color: var(--espresso-soft); margin: 0 0 1rem; }
.legal ul { color: var(--espresso-soft); margin: 0 0 1.2rem; padding-left: 1.2rem; display: grid; gap: 0.4rem; }
.legal a { color: var(--clay); }
.legal .upd { font-size: 0.9rem; color: var(--espresso-soft); margin: 0 0 2.4rem; }
.legal .ph { background: var(--oat); color: var(--clay-dark); padding: 0.04em 0.42em; border-radius: 5px; font-size: 0.92em; white-space: nowrap; }
.footer__legal a { text-decoration: none; }
.footer__legal a:hover { color: #fff; }

/* ============================================================
   PŘÍSTROJOVÁ PÉČE (device-based care)
   ============================================================ */
.tech-figure {
  border-radius: 24px; overflow: hidden; background: var(--paper);
  border: 1px solid var(--line); box-shadow: 0 40px 80px -50px rgba(65, 49, 42, 0.55);
}
.tech-figure img { width: 100%; height: auto; display: block; }
/* Flex (not grid) so an incomplete last row centres instead of hanging left */
.tech-grid { --tech-gap: clamp(1rem, 2vw, 1.4rem); display: flex; flex-wrap: wrap; justify-content: center; gap: var(--tech-gap); margin-top: clamp(1.6rem, 3vw, 2.4rem); }
/* -1px absorbs sub-pixel rounding, min-width:0 stops a long word (Hydrodermabraze)
   from inflating a card past its basis and pushing the fifth one onto a second row */
.tech-grid > * { flex: 0 1 calc((100% - var(--tech-gap) * 4) / 5 - 1px); min-width: 0; }
@media (max-width: 1100px) { .tech-grid > * { flex-basis: calc((100% - var(--tech-gap) * 2) / 3 - 1px); } }
@media (max-width: 820px) { .tech-grid > * { flex-basis: calc((100% - var(--tech-gap)) / 2 - 1px); } }
@media (max-width: 460px) { .tech-grid > * { flex-basis: 100%; } }
.tech-card { background: var(--paper); border: 1px solid var(--line); border-radius: 18px; padding: clamp(1.05rem, 1.4vw, 1.35rem); box-shadow: 0 18px 40px -36px rgba(65, 49, 42, 0.5); }
.tech-card .ic { width: 42px; height: 42px; border-radius: 12px; background: var(--oat); display: grid; place-items: center; color: var(--clay); margin-bottom: 1rem; }
.tech-card h4 { font-family: var(--display); font-size: clamp(1.02rem, 1.25vw, 1.12rem); margin: 0 0 0.4rem; text-wrap: balance; }
.tech-card p { color: var(--espresso-soft); font-size: 0.9rem; margin: 0; }

/* ============================================================
   GALLERY (service photo grid)
   ============================================================ */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.9rem; margin-top: clamp(2rem, 4vw, 3rem); }
@media (max-width: 820px) { .gallery { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 460px) { .gallery { grid-template-columns: 1fr; } }
.gallery__item {
  position: relative; margin: 0; overflow: hidden; border-radius: 16px; aspect-ratio: 1; cursor: zoom-in;
  border: 1px solid var(--line); box-shadow: 0 18px 40px -34px rgba(65, 49, 42, 0.5);
}
.gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s var(--ease-out); }
.gallery__item:hover img { transform: scale(1.05); }
.gallery__item::after {
  content: ""; position: absolute; inset: 0; background: var(--clay-dark);
  opacity: 0; transition: opacity 0.35s var(--ease);
}
.gallery__item:hover::after, .gallery__item:focus-visible::after { opacity: 0.18; }
.gallery__item .zoom {
  position: absolute; right: 0.7rem; bottom: 0.7rem; width: 34px; height: 34px; border-radius: 50%;
  background: rgba(252, 250, 246, 0.92); color: var(--clay); display: grid; place-items: center; z-index: 1;
  opacity: 0; transform: scale(0.85); transition: opacity 0.35s var(--ease), transform 0.35s var(--ease-out);
  box-shadow: 0 8px 20px -10px rgba(65, 49, 42, 0.6);
}
.gallery__item:hover .zoom, .gallery__item:focus-visible .zoom { opacity: 1; transform: scale(1); }

/* ============================================================
   LIGHTBOX
   ============================================================ */
.lightbox {
  position: fixed; inset: 0; z-index: 200;
  display: grid; place-items: center; padding: clamp(1rem, 5vw, 4rem);
  background: rgba(40, 30, 24, 0.82);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  opacity: 0; pointer-events: none; transition: opacity 0.3s var(--ease);
}
.lightbox.open { opacity: 1; pointer-events: auto; }
.lightbox img {
  max-width: min(1100px, 92vw); max-height: 86vh; border-radius: 16px;
  box-shadow: 0 40px 90px -30px rgba(0, 0, 0, 0.6); transform: scale(0.97); transition: transform 0.3s var(--ease-out);
}
.lightbox.open img { transform: scale(1); }
.lightbox__close {
  position: absolute; top: clamp(1rem, 3vw, 2rem); right: clamp(1rem, 3vw, 2rem);
  width: 48px; height: 48px; border-radius: 50%; border: 1px solid rgba(247, 241, 234, 0.3);
  background: rgba(247, 241, 234, 0.1); color: var(--sand); font-size: 1.7rem; line-height: 1;
  cursor: pointer; display: grid; place-items: center;
  transition: background 0.25s var(--ease), transform 0.25s var(--ease-out);
}
.lightbox__close:hover { background: rgba(247, 241, 234, 0.2); transform: scale(1.05); }

/* ============================================================
   CONTACT
   ============================================================ */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); }
@media (max-width: 820px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-card { display: grid; gap: 1.6rem; }
.contact-item { display: flex; gap: 1rem; align-items: flex-start; }
.contact-item .ic { flex: none; width: 44px; height: 44px; border-radius: 12px; background: var(--oat); display: grid; place-items: center; color: var(--clay); }
.contact-item .k { font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--clay); margin-bottom: 0.2rem; }
.contact-item a { text-decoration: none; }
.contact-item a:hover { color: var(--clay); }
.map { border-radius: 20px; overflow: hidden; aspect-ratio: 4 / 3; box-shadow: 0 40px 80px -50px rgba(65,49,42,.55); border: 1px solid var(--line); }
.map img { width: 100%; height: 100%; object-fit: cover; }

/* ============================================================
   INSTAGRAM FEED
   ============================================================ */
.ig-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 0.7rem; margin-top: 3rem; }
@media (max-width: 900px) { .ig-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 520px) { .ig-grid { grid-template-columns: repeat(2, 1fr); } }
.ig-tile {
  position: relative; display: block; aspect-ratio: 1; overflow: hidden; border-radius: 14px;
  background: var(--oat); box-shadow: 0 18px 40px -34px rgba(65, 49, 42, 0.5);
}
.ig-tile img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s var(--ease-out); }
.ig-tile:hover img { transform: scale(1.07); }
.ig-tile::after { content: ""; position: absolute; inset: 0; background: var(--clay-dark); opacity: 0; transition: opacity 0.4s var(--ease); }
.ig-tile:hover::after { opacity: 0.4; }
.ig-tile .ig-ic {
  position: absolute; inset: 0; margin: auto; width: 30px; height: 30px; color: #fff; z-index: 1;
  opacity: 0; transform: scale(0.8); transition: opacity 0.4s var(--ease), transform 0.4s var(--ease-out);
}
.ig-tile:hover .ig-ic { opacity: 1; transform: scale(1); }
.ig-feed__cta { display: flex; justify-content: center; flex-wrap: wrap; gap: 1rem; margin-top: 2.4rem; }
.ig-note { text-align: center; margin: 1.2rem auto 0; max-width: 60ch; font-size: 0.85rem; color: var(--espresso-soft); }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { background: var(--clay-dark); color: var(--sand); padding-block: clamp(3.5rem, 7vw, 5.5rem) 2.5rem; }
.footer__top { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); }
@media (max-width: 760px) { .footer__top { grid-template-columns: 1fr; gap: 2.5rem; } }
.footer__brand .brand__name { color: var(--sand); font-size: 2.4rem; line-height: 1; }
.footer p { color: rgba(247, 241, 234, 0.7); }
.footer h4 { font-family: var(--body); font-size: 0.8rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--oat); margin-bottom: 1.1rem; font-weight: 600; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.7rem; }
.footer a { color: rgba(247, 241, 234, 0.82); text-decoration: none; transition: color 0.25s; }
.footer a:hover { color: #fff; }
.footer__social { display: inline-flex; align-items: center; gap: 0.6rem; }
.footer__social .ig { width: 38px; height: 38px; border-radius: 10px; border: 1px solid rgba(247,241,234,.25); display: grid; place-items: center; transition: background .3s, transform .3s var(--ease-out); }
.footer__social .ig:hover { background: rgba(247,241,234,.12); transform: translateY(-2px); }
.footer__bottom {
  margin-top: clamp(2.5rem, 5vw, 3.5rem); padding-top: 1.6rem; border-top: 1px solid rgba(247, 241, 234, 0.16);
  display: flex; flex-wrap: wrap; gap: 0.6rem 1.5rem; justify-content: space-between; align-items: center;
  font-size: 0.85rem; color: rgba(247, 241, 234, 0.6);
}

/* ============================================================
   SCROLL REVEAL ANIMATIONS
   ============================================================ */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out); transition-delay: var(--d, 0s); }
.reveal.in { opacity: 1; transform: none; }
.reveal--img { transform: translateY(30px) scale(0.98); }
.reveal--img.in { transform: none; }

/* hero entrance (runs on load) */
.enter { opacity: 0; transform: translateY(26px); }
.loaded .enter { opacity: 1; transform: none; transition: opacity 1s var(--ease-out), transform 1s var(--ease-out); transition-delay: var(--d, 0s); }

/* lash-arc self-draw */
.lash path { stroke-dasharray: 240; stroke-dashoffset: 240; }
.lash.in path { transition: stroke-dashoffset 1.4s var(--ease-out); stroke-dashoffset: 0; }

/* ---------- mobile polish ---------- */
@media (max-width: 600px) {
  :root { --section-y: 3.9rem; }
  .display { font-size: clamp(2.4rem, 9vw, 3.4rem); }
  .hero { padding-top: 6.8rem; }
  .hero__actions { gap: 0.75rem; }
  .hero__actions .btn, .cta-band__actions .btn { width: 100%; justify-content: center; }
  .page-head { padding-top: 7.5rem; padding-bottom: 1.75rem; }
  .page-head .display { font-size: clamp(2.15rem, 8.5vw, 2.9rem); }
  h2.title { font-size: clamp(1.7rem, 6.4vw, 2.3rem); }
  .lead { font-size: 1.05rem; }
  .marquee { padding-block: 0.85rem; }
  .marquee__track { gap: 2rem; }
  .marquee__track span { font-size: 1.2rem; gap: 2rem; }
  .svc-card__body { padding: 1.4rem 1.4rem 1.6rem; }
  .svc-card__body h3 { font-size: 1.35rem; }
  .feature-list { gap: 0.9rem; }
  .faq summary { font-size: 1.08rem; }
}

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
  .reveal, .enter { opacity: 1 !important; transform: none !important; }
  .lash path { stroke-dashoffset: 0 !important; }
  .marquee__track { animation: none; }
}
