/* =========================================================================
   Salon Fryzur Aneta Rataj — landing page
   Aesthetic: refined editorial salon · brand crimson on warm ivory · espresso dark
   Type: Fraunces (display) + Manrope (body)
   ========================================================================= */

/* ---------- Self-hosted fonts (were Google Fonts CDN; now no pre-consent 3rd party) ---------- */
@font-face {
  font-family: "Fraunces"; font-style: normal; font-weight: 400 600; font-display: swap;
  src: url("/assets/fonts/fraunces-normal-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Fraunces"; font-style: normal; font-weight: 400 600; font-display: swap;
  src: url("/assets/fonts/fraunces-normal-latinext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Fraunces"; font-style: italic; font-weight: 400 500; font-display: swap;
  src: url("/assets/fonts/fraunces-italic-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Fraunces"; font-style: italic; font-weight: 400 500; font-display: swap;
  src: url("/assets/fonts/fraunces-italic-latinext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Manrope"; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url("/assets/fonts/manrope-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Manrope"; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url("/assets/fonts/manrope-latinext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* Metric-matched fallback faces (size-adjust/overrides computed from the woff2 vs
   Georgia/Arial) so the swap fallback→webfont causes no reflow/CLS on large headings. */
@font-face {
  font-family: "Fraunces Fallback";
  src: local("Georgia");
  size-adjust: 119.78%;
  ascent-override: 81.65%;
  descent-override: 21.29%;
  line-gap-override: 0.00%;
}
@font-face {
  font-family: "Manrope Fallback";
  src: local("Arial");
  size-adjust: 102.68%;
  ascent-override: 103.82%;
  descent-override: 29.22%;
  line-gap-override: 0.00%;
}

:root {
  /* Brand palette (from logo crimson + warm grey wordmark) */
  --crimson: #A4161A;
  --crimson-bright: #C5242A;
  --crimson-deep: #7C0E12;
  --ink: #211A17;          /* warm near-black text */
  --espresso: #1B1411;     /* dark section bg */
  --taupe: #756558;        /* warm grey-brown — passes WCAG AA on ivory & sand */
  --bg: #FBF7F1;           /* warm ivory */
  --bg-alt: #F2E9DE;       /* deeper warm sand */
  --bg-card: #FFFFFF;
  --line: rgba(33, 26, 23, 0.12);
  --line-soft: rgba(33, 26, 23, 0.07);

  --font-display: "Fraunces", "Fraunces Fallback", Georgia, "Times New Roman", serif;
  --font-body: "Manrope", "Manrope Fallback", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --wrap: 1160px;
  --r: 4px;                /* sharp, editorial radius */
  --shadow: 0 18px 50px -24px rgba(33, 26, 23, 0.45);
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, iframe { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 500; line-height: 1.05; margin: 0; letter-spacing: -0.01em; }
p { margin: 0 0 1rem; }
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: clamp(1.1rem, 4vw, 2.5rem); }

::selection { background: var(--crimson); color: #fff; }

.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 200;
  background: var(--ink); color: #fff; padding: .7rem 1.2rem; border-radius: var(--r);
}
.skip-link:focus { left: 1rem; top: 1rem; }

:focus-visible { outline: 2px solid var(--crimson); outline-offset: 3px; }
/* On dark surfaces the crimson ring is too low-contrast — use white instead */
.site-footer :focus-visible, .section-dark :focus-visible, .cookie-banner :focus-visible { outline-color: #fff; }

/* ---------- Buttons ---------- */
.btn {
  --b: var(--ink);
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  font-family: var(--font-body); font-weight: 600; font-size: .95rem; letter-spacing: .01em;
  padding: .82em 1.5em; border-radius: var(--r); border: 1px solid var(--b);
  text-decoration: none; cursor: pointer; background: transparent; color: var(--b);
  transition: background .3s var(--ease), color .3s var(--ease), transform .3s var(--ease), box-shadow .3s var(--ease);
}
.btn-lg { padding: 1em 1.9em; font-size: 1rem; }
.btn-primary { --b: var(--crimson); background: var(--crimson); color: #fff; }
.btn-primary:hover { background: var(--crimson-deep); border-color: var(--crimson-deep); transform: translateY(-2px); box-shadow: 0 12px 26px -12px rgba(124,14,18,.6); }
.btn-ghost:hover { background: var(--ink); color: var(--bg); transform: translateY(-2px); }
.section-dark .btn-ghost { --b: rgba(255,255,255,.5); color: #fff; }
.section-dark .btn-ghost:hover { background: #fff; color: var(--espresso); }
.ico { width: 1.1em; height: 1.1em; fill: currentColor; flex: none; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(251, 247, 241, 0);
  transition: background .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease);
  border-bottom: 1px solid transparent;
}
.site-header.is-stuck {
  background: rgba(251, 247, 241, .98);
  border-bottom-color: var(--line);
  box-shadow: 0 6px 24px -18px rgba(33,26,23,.5);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 76px; }
.brand { display: flex; align-items: center; gap: .6rem; text-decoration: none; font-family: var(--font-display); font-size: 1.35rem; }
.brand-mark { height: 30px; width: auto; }
.brand-text { color: var(--ink); letter-spacing: -.01em; }
.brand-text em { font-style: normal; color: var(--crimson); }

.nav { display: flex; gap: 2rem; }
.nav a {
  text-decoration: none; font-weight: 500; font-size: .98rem; color: var(--ink);
  position: relative; padding: .3rem 0;
}
.nav a::after {
  content: ""; position: absolute; left: 0; bottom: -2px; height: 2px; width: 0;
  background: var(--crimson); transition: width .3s var(--ease);
}
.nav a:hover::after, .nav a:focus-visible::after { width: 100%; }

.header-cta { display: flex; align-items: center; gap: 1rem; }
.tel-link { display: inline-flex; align-items: center; gap: .45rem; text-decoration: none; font-weight: 600; color: var(--ink); white-space: nowrap; }
.tel-link:hover { color: var(--crimson); }

.nav-toggle { display: none; }

/* ---------- Hero ---------- */
.hero { position: relative; padding: clamp(3.5rem, 9vw, 7rem) 0 clamp(2.5rem, 5vw, 4rem); overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -2;
  background:
    radial-gradient(120% 90% at 88% -10%, rgba(164,22,26,.10), transparent 55%),
    radial-gradient(90% 70% at -5% 10%, rgba(140,123,110,.16), transparent 55%),
    var(--bg);
}
.hero-grain {
  position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: .5;
  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)' opacity='0.05'/%3E%3C/svg%3E");
}
.hero-inner { max-width: 900px; }
.eyebrow {
  font-family: var(--font-body); font-weight: 600; font-size: .82rem; letter-spacing: .22em;
  text-transform: uppercase; color: var(--crimson); margin: 0 0 1.4rem;
}
.hero h1 { font-size: clamp(2.8rem, 8vw, 6rem); font-weight: 400; letter-spacing: -.025em; }
.hero h1 .accent-name { font-style: italic; color: var(--crimson); }
.hero-loc { display: block; font-family: var(--font-body); font-weight: 600; font-size: clamp(1rem, 2.4vw, 1.3rem); line-height: 1.3; letter-spacing: .015em; color: var(--taupe); margin-top: 1rem; }
.hero-lead { font-size: clamp(1.05rem, 2.1vw, 1.3rem); max-width: 42ch; color: #4a3f38; margin-top: 1.8rem; }
.hero-lead strong { color: var(--ink); font-weight: 700; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2.2rem; }
.hero-actions.is-centered { justify-content: center; } /* 404 CTA — avoids an inline style attribute (CSP) */

/* Trust strip */
.trust {
  list-style: none; margin: clamp(3rem, 7vw, 5rem) 0 0; padding: 1.8rem 0 0;
  border-top: 1px solid var(--line);
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem;
}
.trust li { display: flex; flex-direction: column; gap: .15rem; }
.trust strong { font-family: var(--font-display); font-size: 1.45rem; font-weight: 500; color: var(--crimson); }
.trust span { font-size: .85rem; color: var(--taupe); letter-spacing: .01em; }

/* ---------- Section scaffolding ---------- */
.section { padding: clamp(3.8rem, 9vw, 7rem) 0; scroll-margin-top: 90px; }
.section-alt { background: var(--bg-alt); }
.section-head { max-width: 640px; margin-bottom: clamp(2.2rem, 5vw, 3.5rem); }
.kicker {
  font-family: var(--font-body); font-weight: 600; font-size: .78rem; letter-spacing: .2em;
  text-transform: uppercase; color: var(--taupe); margin: 0 0 .9rem; display: flex; align-items: center; gap: .8rem;
}
.kicker span { color: var(--crimson); font-family: var(--font-display); font-size: 1rem; letter-spacing: 0; }
.kicker::after { content: ""; height: 1px; flex: 1; max-width: 60px; background: var(--line); }
.section h2 { font-size: clamp(2.1rem, 5vw, 3.4rem); font-weight: 400; }
.section-intro { margin-top: 1rem; color: #5a4f47; font-size: 1.05rem; }

/* ---------- Usługi (cards) ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1rem, 2vw, 1.6rem); }
.card {
  background: var(--bg-card); border: 1px solid var(--line-soft); border-radius: var(--r);
  padding: 2rem 1.8rem 1.6rem; position: relative; overflow: hidden;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease);
}
.card::before {
  content: ""; position: absolute; top: 0; left: 0; width: 100%; height: 3px;
  background: var(--crimson); transform: scaleX(0); transform-origin: left; transition: transform .4s var(--ease);
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.card:hover::before { transform: scaleX(1); }
.card h3 { font-size: 1.4rem; margin-bottom: .7rem; }
.card p { color: #5a4f47; font-size: .97rem; margin-bottom: 1.1rem; }
.card .price { font-family: var(--font-display); font-style: italic; font-size: 1.15rem; color: var(--crimson); margin: 0; }

/* ---------- Galeria (Metamorfozy) ---------- */
.gallery { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(.6rem, 1.5vw, 1rem); }
.gallery li { margin: 0; overflow: hidden; border-radius: var(--r); border: 1px solid var(--line-soft); background: var(--bg-alt); }
.gallery img { display: block; width: 100%; height: auto; aspect-ratio: 9 / 16; object-fit: cover; transition: transform .5s var(--ease); }
.gallery li:hover img { transform: scale(1.04); }

/* ---------- Brand band (typographic, license-safe) ---------- */
.band {
  position: relative; overflow: hidden; text-align: center; color: var(--bg);
  padding: clamp(3.5rem, 8vw, 6rem) 0;
  background: linear-gradient(135deg, var(--crimson) 0%, var(--crimson-deep) 100%);
}
.band-grain {
  position: absolute; inset: 0; z-index: 0; pointer-events: none; opacity: .35;
  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)' opacity='0.06'/%3E%3C/svg%3E");
}
.band-content { position: relative; z-index: 1; }
.band-eyebrow { font-family: var(--font-body); font-weight: 600; font-size: .8rem; letter-spacing: .22em; text-transform: uppercase; color: rgba(255,255,255,.72); margin: 0 0 1rem; }
.band-text { font-family: var(--font-display); font-size: clamp(2.4rem, 7vw, 4.6rem); font-weight: 400; line-height: 1; margin: 0; }
.band-text em { font-style: italic; }
.band-sub { max-width: 46ch; margin: 1.4rem auto 2rem; color: rgba(255,255,255,.85); font-size: 1.05rem; }
.btn-cream { background: var(--bg); color: var(--crimson); border-color: var(--bg); }
.btn-cream:hover { background: #fff; color: var(--crimson-deep); border-color: #fff; transform: translateY(-2px); }

/* ---------- O nas (dark) ---------- */
.section-dark { background: var(--espresso); color: #f3ece6; }
.section-dark h2 { color: #fff; }
.section-dark .kicker { color: rgba(243,236,230,.6); }
.section-dark .kicker span { color: #f3ece6; } /* crimson '0x' marker fails AA on espresso — use light token */
.section-dark .kicker::after { background: rgba(255,255,255,.18); }
.onas-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.onas-text p { color: rgba(243,236,230,.82); font-size: 1.06rem; }
.onas-text strong { color: #fff; font-weight: 700; }
.onas-stats { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.2rem; }
.onas-stats li {
  display: flex; flex-direction: column; padding: 1.3rem 1.5rem;
  border: 1px solid rgba(255,255,255,.14); border-radius: var(--r);
  background: rgba(255,255,255,.03);
}
.stat-num { font-family: var(--font-display); font-size: 2rem; color: var(--crimson-bright); line-height: 1; }
.stat-label { font-size: .85rem; color: rgba(243,236,230,.65); letter-spacing: .08em; text-transform: uppercase; margin-top: .5rem; }

/* ---------- Cennik ---------- */
.price-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(1.6rem, 4vw, 3rem) clamp(2rem, 6vw, 5rem); }
.price-group h3 { font-size: 1.3rem; padding-bottom: .8rem; margin-bottom: .4rem; border-bottom: 2px solid var(--crimson); display: inline-block; }
.price-group dl { margin: 0; }
.price-group dl > div {
  display: flex; align-items: baseline; gap: .6rem; padding: .55rem 0; border-bottom: 1px solid var(--line-soft);
}
.price-group dt { color: var(--ink); }
.price-group dd {
  margin: 0; margin-left: auto; font-weight: 600; white-space: nowrap; color: var(--ink);
  font-variant-numeric: tabular-nums;
}
.price-group dl > div::after { /* leader dots */
  content: ""; order: 1; flex: 1; border-bottom: 1px dotted var(--line);
  position: relative; top: -.25em; min-width: 1rem;
}
.price-group dt { order: 0; }
.price-group dd { order: 2; }
.cennik-note { margin-top: clamp(1.6rem, 4vw, 2.6rem); text-align: center; color: #5a4f47; font-size: 1.02rem; }
.cennik-note a { color: var(--crimson); font-weight: 600; text-decoration: none; border-bottom: 1px solid var(--crimson); white-space: nowrap; }
.cennik-note a:hover { color: var(--crimson-deep); border-color: var(--crimson-deep); }

/* ---------- Instagram ---------- */
.ig-embed { display: block; }
.ig-feed { display: block; }
.ig-feed:empty { display: none; }
.ig-placeholder {
  display: flex; flex-direction: column; align-items: center; gap: 1rem; text-align: center;
  padding: clamp(2.6rem, 6vw, 4rem) 1.5rem; border: 1px solid var(--line); border-radius: var(--r);
  background: var(--bg-card);
}
.ig-placeholder p { max-width: 44ch; margin: 0; color: #5a4f47; font-size: .98rem; }
.ig-placeholder-actions { display: flex; flex-wrap: wrap; gap: .7rem; justify-content: center; }
.ig-card-icon { width: 46px; height: 46px; fill: var(--crimson); }
#igFeed behold-widget { display: block; width: 100%; }

/* ---------- Opinie ---------- */
.review-score { text-align: center; max-width: 540px; margin: 0 auto clamp(2.5rem, 6vw, 3.5rem); }
.score-big { font-family: var(--font-display); font-size: clamp(3.5rem, 9vw, 5.5rem); color: var(--crimson); line-height: 1; margin: 0; }
.score-label { font-size: 1rem; color: #5a4f47; margin: .4rem 0 0; }
.score-sub { color: var(--taupe); margin: .2rem 0 1.4rem; }
.review-quotes { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(265px, 1fr)); gap: clamp(1rem, 2.5vw, 1.5rem); }
.review-quote { margin: 0; height: 100%; background: var(--bg-card); border: 1px solid var(--line-soft); border-left: 3px solid var(--crimson); border-radius: var(--r); padding: 1.5rem 1.6rem; }
.review-quote p { font-family: var(--font-display); font-style: italic; font-size: 1.15rem; line-height: 1.45; color: var(--ink); margin: 0 0 .8rem; }
.review-quote cite { font-style: normal; font-size: .85rem; color: var(--taupe); letter-spacing: .04em; }

/* ---------- Kontakt ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(2rem, 5vw, 4rem); }
.contact-block { margin-bottom: 1.8rem; }
.contact-block h3 { font-size: 1.1rem; color: var(--crimson); margin-bottom: .5rem; font-family: var(--font-body); font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.contact-block p { color: var(--ink); }
.contact-block a { color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--line); }
.contact-block a:hover { color: var(--crimson); border-color: var(--crimson); }
.hours { border-collapse: collapse; width: 100%; max-width: 360px; }
.hours th, .hours td { text-align: left; padding: .45rem 0; border-bottom: 1px solid var(--line-soft); font-weight: 500; }
.hours td { text-align: right; font-variant-numeric: tabular-nums; }
.hours th { color: #5a4f47; font-weight: 500; }
.contact-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin: 1.5rem 0; }
.socials { display: flex; gap: .8rem; }
.socials a {
  width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 50%;
  display: grid; place-items: center; transition: background .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease), transform .3s var(--ease);
}
.socials svg { width: 20px; height: 20px; fill: var(--ink); transition: fill .3s var(--ease); }
.socials a:hover { background: var(--crimson); border-color: var(--crimson); transform: translateY(-2px); }
.socials a:hover svg { fill: #fff; }
.map-embed { position: relative; width: 100%; min-height: 380px; height: 100%; border-radius: var(--r); overflow: hidden; background: var(--bg-alt); border: 1px solid var(--line-soft); }
.map-embed iframe { width: 100%; height: 100%; min-height: 380px; border: 0; display: block; filter: grayscale(.2) contrast(1.02); }
.map-placeholder { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1rem; text-align: center; padding: 1.5rem; color: #5a4f47; }
.map-placeholder p { margin: 0; max-width: 34ch; font-size: .95rem; }

/* ---------- Footer ---------- */
.site-footer { background: var(--espresso); color: rgba(243,236,230,.78); padding: clamp(2.5rem, 6vw, 4rem) 0 2.5rem; }
.footer-top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1.5rem; align-items: center; padding-bottom: 2rem; border-bottom: 1px solid rgba(255,255,255,.12); }
.footer-brand { display: flex; align-items: center; gap: .9rem; }
.footer-brand img { height: 38px; width: auto; }
.footer-brand p { margin: 0; color: #fff; font-family: var(--font-display); font-size: 1.15rem; line-height: 1.25; }
.footer-brand span { font-family: var(--font-body); font-size: .85rem; color: rgba(243,236,230,.6); }
.footer-nav { display: flex; flex-wrap: wrap; gap: 1.4rem; }
.footer-nav a { text-decoration: none; color: rgba(243,236,230,.8); font-size: .95rem; }
.footer-nav a:hover { color: var(--crimson-bright); text-decoration: underline; }
.footer-cookie { background: none; border: 0; padding: 0; font: inherit; font-size: .95rem; cursor: pointer; color: rgba(243,236,230,.8); }
.footer-cookie:hover { color: var(--crimson-bright); text-decoration: underline; }
.footer-rodo { margin-top: 1.8rem; }
.footer-rodo p { font-size: .8rem; line-height: 1.6; color: rgba(243,236,230,.55); margin-bottom: .8rem; }
.footer-rodo a { color: rgba(243,236,230,.8); }
.footer-rodo .copy { color: rgba(243,236,230,.7); font-size: .85rem; }

/* ---------- Mobile sticky CTA ---------- */
.mobile-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; display: none; gap: .7rem;
  padding: .7rem clamp(.8rem, 4vw, 1.2rem); background: rgba(251,247,241,.98);
  border-top: 1px solid var(--line); box-shadow: 0 -8px 24px -18px rgba(33,26,23,.5);
}
.mobile-bar .btn { flex: 1; }

/* ---------- Cookie consent ---------- */
.cookie-banner {
  position: fixed; left: 1rem; right: 1rem; bottom: 1rem; z-index: 120;
  max-width: 760px; margin-inline: auto; display: none;
  background: var(--espresso); color: rgba(243,236,230,.9);
  border-radius: var(--r); padding: 1.3rem 1.4rem; box-shadow: var(--shadow);
}
.cookie-banner.is-shown { display: block; }
.cookie-banner p { margin: 0 0 1rem; font-size: .88rem; line-height: 1.55; }
.cookie-banner a { color: #fff; text-decoration: underline; }
.cookie-actions { display: flex; flex-wrap: wrap; gap: .6rem; }
.cookie-actions .btn { font-size: .85rem; padding: .6em 1.2em; }
.cookie-actions .btn-ghost { --b: rgba(255,255,255,.5); color: #fff; }
.cookie-actions .btn-ghost:hover { background: #fff; color: var(--espresso); }

/* ---------- Standalone pages (legal, 404) ---------- */
.simple-header { border-bottom: 1px solid var(--line); }
.simple-header .header-inner { min-height: 70px; }
.legal { padding: clamp(2.5rem, 6vw, 4.5rem) 0; }
.legal .legal-inner { max-width: 760px; }
.legal h1 { font-size: clamp(2rem, 5vw, 3rem); margin-bottom: .4rem; }
.legal .updated { color: var(--taupe); margin-bottom: 2.2rem; font-size: .9rem; }
.legal h2 { font-family: var(--font-display); font-size: 1.5rem; margin: 2.2rem 0 .7rem; }
.legal h3 { font-size: 1.1rem; margin: 1.4rem 0 .4rem; }
.legal p, .legal li { color: #3f3630; }
.legal ul { padding-left: 1.2rem; }
.legal li { margin-bottom: .4rem; }
.legal a { color: var(--crimson); }
.cookie-table { border-collapse: collapse; width: 100%; margin: 1rem 0 1.5rem; font-size: .92rem; }
.cookie-table th, .cookie-table td { text-align: left; padding: .5rem .6rem; border: 1px solid var(--line); vertical-align: top; }
.cookie-table th { background: var(--bg-alt); font-weight: 700; }
.cookie-table code { font-size: .9em; background: var(--bg-alt); padding: .05rem .3rem; border-radius: 3px; }
.legal .back { display: inline-block; margin-top: 2.5rem; }
.error-page { min-height: 72vh; display: grid; place-items: center; text-align: center; padding: 3rem 1rem; }
.error-page .code { font-family: var(--font-display); font-size: clamp(5rem, 18vw, 11rem); color: var(--crimson); line-height: 1; }
.error-page h1 { font-size: clamp(1.6rem, 4vw, 2.4rem); margin: .5rem 0 1rem; }
.error-page p { color: #5a4f47; max-width: 40ch; margin: 0 auto 1.8rem; }

/* ---------- Reveal animations ---------- */
.js-reveal [data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js-reveal [data-reveal].is-visible { opacity: 1; transform: none; }

/* =========================================================================
   Responsive
   ========================================================================= */
@media (max-width: 960px) {
  /* Collapse the header to the hamburger here (not 720): between ~720–960px the
     full nav + tel + CTA do not fit and would clip/wrap. Only the nav links move
     into the toggle menu; the phone + booking CTA stay visible until 720. */
  .nav { display: none; }
  .nav-toggle {
    display: inline-flex; flex-direction: column; gap: 5px; width: 46px; height: 46px;
    align-items: center; justify-content: center; background: transparent; border: 1px solid var(--line);
    border-radius: var(--r); cursor: pointer;
  }
  .nav-toggle span { width: 22px; height: 2px; background: var(--ink); transition: transform .3s var(--ease), opacity .3s var(--ease); }
  .nav.is-open {
    display: flex; flex-direction: column; gap: 0;
    position: absolute; top: 76px; left: 0; right: 0;
    background: var(--bg); border-bottom: 1px solid var(--line); padding: .5rem clamp(1.1rem,4vw,2.5rem) 1rem;
    box-shadow: var(--shadow);
  }
  .nav.is-open a { padding: .9rem 0; border-bottom: 1px solid var(--line-soft); font-size: 1.05rem; }
  .nav.is-open a::after { display: none; }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .cards { grid-template-columns: repeat(2, 1fr); }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  /* Odd image count leaves an empty cell in the 2-col grid — hide the lone
     last item so an even number of photos shows on mobile/tablet. */
  .gallery li:last-child:nth-child(odd) { display: none; }
  .onas-grid, .contact-grid { grid-template-columns: 1fr; }
  .onas-stats { grid-template-columns: repeat(3, 1fr); }
  .price-grid { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .header-cta .tel-link, .header-cta .btn-primary { display: none; }

  .trust { grid-template-columns: repeat(2, 1fr); gap: 1.4rem 1rem; }
  .cards { grid-template-columns: 1fr; }
  .mobile-bar { display: flex; }
  body { padding-bottom: 70px; }
  .cookie-banner { bottom: 80px; left: .7rem; right: .7rem; }
}

@media (max-width: 420px) {
  .gallery { grid-template-columns: 1fr 1fr; }
  .onas-stats { grid-template-columns: 1fr; }
}

/* ---------- Motion / print preferences ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js-reveal [data-reveal] { opacity: 1; transform: none; transition: none; }
  * { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}
