/* Patine Brașov — landing page. Tokens mirror the Patine Brașov design system. */
:root {
  --surface: #ECEEF4;
  --surface-raised: #FFFFFF;
  --line: #DADDE6;
  --line-strong: #868C9C;
  --ink: #12192B;
  --ink-muted: #5B6271;
  --on-ink: #FFFFFF;
  --on-ink-muted: #AEB6C7;
  --ice: #DCEAF6;
  --lavanda: #E2E1F5;
  --unt: #F5EDB5;
  --menta: #DCF0E7;
  --piersica: #F2E2D2;
  --jar: #FF6A3D;
  --jar-deep: #A93A0C;
  --jar-soft: #FDE3DA;
  --focus: var(--jar-deep);

  --font-display: Poppins, "Avenir Next", system-ui, sans-serif;
  --font-body: Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-hand: Caveat, "Bradley Hand", "Comic Sans MS", cursive;

  --space-1: 4px; --space-2: 8px; --space-3: 12px; --space-4: 16px;
  --space-6: 24px; --space-8: 32px; --space-12: 48px; --space-16: 64px;
  --radius-sm: 12px; --radius-md: 22px; --radius-lg: 28px; --radius-pill: 999px;
  --shadow-float: 0 18px 40px -24px rgba(18, 25, 43, .35);
  --control-h: 46px; --control-border: 1.4px;
  --hero-overlap: clamp(56px, 9vw, 120px); /* how far "Despre noi" rides up over the hero */
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--surface); color: var(--ink); font-family: var(--font-body); font-size: 16px; line-height: 1.6; }
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3 { font-family: var(--font-display); margin: 0; letter-spacing: -.02em; text-wrap: balance; }
h2 { font-size: clamp(30px, 4.6vw, 44px); font-weight: 700; line-height: 1.1; }
h3 { font-size: 18px; font-weight: 600; line-height: 1.3; letter-spacing: -.01em; }
p { margin: 0; }
a { color: inherit; }
.muted { color: var(--ink-muted); }
.eyebrow { font-family: var(--font-display); font-size: 13px; font-weight: 500; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: var(--space-4); top: -60px; z-index: 50; background: var(--ink); color: var(--on-ink); padding: var(--space-2) var(--space-4); border-radius: var(--radius-pill); text-decoration: none; }
.skip:focus { top: var(--space-4); }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; }
main > .card:focus, .hero:focus { outline: none; }

.tone-ice { --tone: var(--ice); } .tone-lavanda { --tone: var(--lavanda); } .tone-unt { --tone: var(--unt); }
.tone-menta { --tone: var(--menta); } .tone-piersica { --tone: var(--piersica); }

/* Layout */
.page { max-width: 1180px; margin: 0 auto; padding: 0 max(var(--space-4), env(safe-area-inset-right)) var(--space-8) max(var(--space-4), env(safe-area-inset-left)); display: grid; gap: var(--space-4); }
main { display: grid; gap: var(--space-4); }
/* First section rides up over the bottom of the hero. */
main > .card:first-child { margin-top: calc(-1 * var(--hero-overlap)); z-index: 3; box-shadow: 0 -18px 40px -24px rgba(18, 25, 43, .3); }
.card { background: var(--surface-raised); border-radius: var(--radius-lg); padding: clamp(28px, 5vw, var(--space-16)) clamp(20px, 5vw, var(--space-16)); position: relative; overflow: hidden; scroll-margin-top: var(--space-4); }
.head { display: grid; gap: var(--space-3); max-width: 640px; margin-bottom: var(--space-8); }
.head.center { margin-inline: auto; text-align: center; justify-items: center; }
.stack { display: grid; gap: var(--space-4); align-content: start; justify-items: start; }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 5vw, 64px); align-items: center; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }
.center-row { display: flex; justify-content: center; margin-top: var(--space-8); }

/* Wordmark */
.wm { display: inline-grid; justify-items: start; line-height: 1; color: var(--ink); text-decoration: none; font-size: 32px; }
.wm-w { font-family: var(--font-display); font-weight: 800; letter-spacing: .02em; display: inline-flex; align-items: flex-end; padding-top: .25em; position: relative; }
.wm-i { position: relative; display: inline-block; }
.wm-flake { position: absolute; left: 50%; top: -.4em; width: .48em; height: .48em; transform: translateX(-50%); color: var(--jar); }
.wm-tag { position: absolute; left: 0; top: 0; font-family: var(--font-display); font-weight: 600; font-size: max(.19em, 6.5px); line-height: 1; letter-spacing: .14em; white-space: nowrap; opacity: .7; }
.wm-sub { font-family: var(--font-display); font-weight: 600; font-size: max(.2em, 7.5px); letter-spacing: .62em; margin-top: .45em; padding-left: .08em; opacity: .7; }
.wm-sm { font-size: 34px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: var(--space-2); min-height: var(--control-h); padding: 0 var(--space-6); border-radius: var(--radius-pill); border: var(--control-border) solid var(--ink); font-family: var(--font-display); font-weight: 500; font-size: 14.4px; line-height: 1; text-decoration: none; white-space: nowrap; cursor: pointer; transition: background-color .2s, color .2s, transform .2s; }
.btn .ico { width: 16px; height: 16px; }
.btn-solid { background: var(--ink); color: var(--on-ink); }
.btn-solid:hover { transform: translateY(-2px); }
.btn-line { background: transparent; color: var(--ink); }
.btn-line:hover { background: var(--ink); color: var(--on-ink); }
.btn-sm { min-height: 40px; padding: 0 var(--space-4); }
.round { width: var(--control-h); height: var(--control-h); border-radius: var(--radius-pill); border: var(--control-border) solid var(--ink); display: inline-grid; place-items: center; color: var(--ink); transition: background-color .2s, color .2s; }
.round svg { width: 20px; height: 20px; }
.round:hover { background: var(--ink); color: var(--on-ink); }
.ico { width: 20px; height: 20px; flex: none; }

/* Decorations */
.spark { position: absolute; width: 16px; height: 16px; fill: var(--ink); z-index: 1; pointer-events: none; }
.spark.hot { fill: var(--jar); }
.sticker { font-family: var(--font-hand); font-weight: 700; font-size: 26px; line-height: .9; color: var(--jar-deep); display: inline-block; transform: rotate(-16deg); }
.ghost { position: absolute; right: 10px; top: -12px; font-family: var(--font-display); font-weight: 800; font-size: 120px; line-height: 1; letter-spacing: -.05em; color: var(--ink); opacity: .07; pointer-events: none; }

/* ---------- Hero ---------- */
/* Full-width hero: spans the window, contents aligned to the page column. */
.hero { position: relative; overflow: hidden; background: var(--surface-raised); border-radius: 0 0 var(--radius-lg) var(--radius-lg); }
.hero > .nav, .hero > .hero-in, .hero > .hero-foot { width: 100%; max-width: 1148px; margin-inline: auto; }
.hero > .nav { padding-top: calc(var(--space-6) + env(safe-area-inset-top, 0px)); }
.hero-dome { position: absolute; left: -12%; right: -12%; top: 150px; height: 1600px; border-radius: 50%; background: var(--ice); }
.nav { position: relative; z-index: 3; display: flex; align-items: center; justify-content: space-between; gap: var(--space-4); padding: var(--space-6) clamp(20px, 4vw, 40px) 0; }
.nav-links { display: flex; align-items: center; gap: clamp(14px, 2.4vw, 28px); }
.nav-links a:not(.btn) { font-family: var(--font-display); font-size: 14px; font-weight: 500; text-decoration: none; padding: var(--space-1) 0; border-bottom: 1.4px solid transparent; }
.nav-links a:not(.btn):hover { border-bottom-color: var(--ink); }
.nav-toggle { display: none; width: var(--control-h); height: var(--control-h); border-radius: var(--radius-pill); border: var(--control-border) solid var(--ink); background: var(--surface-raised); cursor: pointer; place-items: center; padding: 0; }
.nav-toggle .bars, .nav-toggle .bars::before { display: block; height: 1.6px; background: var(--ink); border-radius: 2px; }
.nav-toggle .bars { width: 18px; position: relative; transform: translateY(-3px); }
.nav-toggle .bars::before { content: ""; position: absolute; right: 0; top: 7px; width: 11px; }
.hero-in { position: relative; z-index: 2; display: grid; justify-items: center; text-align: center; padding: clamp(32px, 5vw, 48px) var(--space-6) var(--space-4); }
.hero h1 { font-size: clamp(48px, 9.6vw, 120px); font-weight: 700; line-height: .98; letter-spacing: -.04em; max-width: 11ch; margin-top: var(--space-2); }
.hero h1 .h1-sub { display: block; margin-top: .45em; font-size: max(.3em, 20px); font-weight: 600; line-height: 1.2; letter-spacing: -.01em; }
.hero-media { position: relative; width: min(420px, 82%); margin-top: var(--space-6); }
.hero-skate { width: 100%; filter: drop-shadow(0 18px 18px rgba(18, 25, 43, .08)); }
.hero .s1 { right: 18%; top: 44%; width: 18px; height: 18px; }
.hero .s2 { left: 22%; top: 70%; width: 11px; height: 11px; fill: var(--jar); }
/* Sticker sits on the skate's frame, just off its heel, so it stays close at every width. */
.hero-sticker { position: absolute; left: -14%; top: 26%; z-index: 2; font-size: 30px; white-space: nowrap; }
.hero-foot { position: relative; z-index: 2; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: var(--space-6); padding: var(--space-4) clamp(20px, 4vw, 40px) calc(var(--hero-overlap) + clamp(32px, 5vw, 56px)); }
.hero-foot p { font-size: 14px; max-width: 32ch; }
.cta-row { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--space-3); }

@media (max-width: 860px) {
  .nav-toggle { display: grid; }
  .nav-links { display: none; position: absolute; top: calc(100% + var(--space-2)); left: var(--space-4); right: var(--space-4); flex-direction: column; align-items: stretch; gap: 0; padding: var(--space-2) var(--space-4) var(--space-4); background: var(--surface-raised); border-radius: var(--radius-md); box-shadow: 0 0 0 1px var(--line), var(--shadow-float); }
  .nav-links.open { display: flex; }
  .nav-links a:not(.btn) { padding: var(--space-3) 0; border-bottom: 1px solid var(--line); font-size: 16px; }
  .nav-links .btn { margin-top: var(--space-4); }
  .hero-foot { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  .hero .s1 { right: 8%; }
  .hero-dome { top: 130px; }
}
@media (max-width: 560px) {
  .hero-sticker { left: -6%; top: 2%; font-size: 22px; }
  .hero .s2 { display: none; }
  .hero .s1 { top: 38%; }
}

/* ---------- About ---------- */
.brands { list-style: none; padding: 0; margin: var(--space-2) 0 0; display: flex; flex-wrap: wrap; gap: var(--space-2); }
.brands li { font-family: var(--font-display); font-weight: 600; font-size: 14px; padding: var(--space-2) var(--space-4); border-radius: var(--radius-pill); box-shadow: inset 0 0 0 1.4px var(--line-strong); }
.facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-3); }
.fact { position: relative; overflow: hidden; background: var(--tone); border-radius: var(--radius-md); padding: var(--space-6) var(--space-4) var(--space-4); min-height: 150px; display: flex; flex-direction: column; justify-content: flex-end; gap: 2px; }
.fact .ghost { font-size: 96px; }
.fact strong { font-family: var(--font-display); font-weight: 700; font-size: 26px; letter-spacing: -.02em; line-height: 1.1; position: relative; }
.fact span:not(.ghost) { font-size: 14px; color: var(--ink-muted); position: relative; }
.photos { display: grid; grid-template-columns: 1.5fr 1fr; gap: var(--space-3); margin-top: clamp(24px, 4vw, 40px); }
@media (max-width: 640px) { .photos { grid-template-columns: 1fr; } }
.photo { margin: 0; position: relative; min-height: 260px; border-radius: var(--radius-md); background: var(--tone); display: flex; align-items: flex-end; padding: var(--space-3); overflow: hidden; }
.photo-media { position: absolute; inset: 0; }
.photo-media img { width: 100%; height: 100%; object-fit: cover; }
.photo figcaption { position: relative; display: grid; gap: 0; background: var(--surface-raised); border-radius: var(--radius-sm); padding: var(--space-2) var(--space-4); }
.photo figcaption b { font-family: var(--font-display); font-weight: 600; font-size: 15px; }
.photo figcaption span { font-size: 13px; color: var(--ink-muted); }

/* Rink ticket notice */
.ticket-note { display: flex; align-items: center; gap: var(--space-4) var(--space-6); flex-wrap: wrap; margin-top: var(--space-4); padding: var(--space-6); border-radius: var(--radius-md); background: var(--piersica); }
.ticket-ico { width: 44px; height: 44px; padding: 10px; border-radius: 50%; background: var(--surface-raised); box-sizing: border-box; }
.ticket-text { flex: 1 1 320px; display: grid; gap: var(--space-1); }
.ticket-text p { font-size: 15px; color: var(--ink-muted); max-width: 62ch; }
.hero-foot p a { color: var(--ink); font-weight: 500; text-underline-offset: 3px; }
.faq details p a { font-weight: 500; text-underline-offset: 3px; word-break: break-word; }
.cta-row.left { justify-content: flex-start; }

/* ---------- Prices ---------- */
.prices { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-4); }
@media (max-width: 860px) { .prices { grid-template-columns: 1fr; } }
.price { position: relative; overflow: hidden; background: var(--tone); border-radius: var(--radius-md); padding: var(--space-6); min-height: 230px; display: flex; flex-direction: column; justify-content: flex-end; gap: var(--space-1); }
.price h3 { margin-bottom: var(--space-2); position: relative; }
.price .amt { font-family: var(--font-display); font-weight: 700; font-size: 46px; line-height: 1; letter-spacing: -.03em; font-variant-numeric: tabular-nums; position: relative; }
.price .amt small { font-size: .42em; font-weight: 600; margin-left: .25em; letter-spacing: 0; }
.price .per { font-size: 14px; color: var(--ink-muted); position: relative; }

/* ---------- Sizes ---------- */
.size-groups { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: var(--space-4); }
@media (max-width: 860px) { .size-groups { grid-template-columns: 1fr; } }
.size-group { position: relative; background: var(--tone); border-radius: var(--radius-md); padding: var(--space-6); display: grid; gap: var(--space-4); align-content: start; }
.sizes { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: var(--space-2); }
.sizes li { min-width: 52px; height: var(--control-h); padding: 0 var(--space-3); display: grid; place-items: center; border-radius: var(--radius-pill); background: var(--surface-raised); font-family: var(--font-display); font-weight: 600; font-size: 15px; font-variant-numeric: tabular-nums; }
.sizes li.wide { min-width: 74px; }
.size-group .note { font-size: 14px; color: var(--ink-muted); }

/* ---------- Steps ---------- */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--space-4); }
@media (max-width: 1000px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .steps { grid-template-columns: 1fr; } }
.step-link { display: inline-flex; align-items: center; gap: var(--space-2); margin-top: var(--space-2); font-family: var(--font-display); font-weight: 600; font-size: 14px; text-underline-offset: 3px; }
.step-link .ico { width: 16px; height: 16px; }
.step { position: relative; overflow: hidden; border-radius: var(--radius-md); padding: var(--space-6); padding-top: 0; display: grid; gap: var(--space-2); align-content: start; box-shadow: inset 0 0 0 1px var(--line); }
.step::before { content: ""; position: absolute; left: -30%; right: -30%; top: 92px; height: 600px; border-radius: 50%; background: var(--tone); z-index: 0; }
.step > * { position: relative; z-index: 1; }
.step .num { font-family: var(--font-display); font-weight: 800; font-size: 96px; line-height: 1; letter-spacing: -.05em; color: var(--ink); opacity: .12; margin-top: var(--space-2); }
.step h3 { margin-top: var(--space-6); }
.step p { color: var(--ink-muted); font-size: 15px; }

/* ---------- Schedule ---------- */
.schedule { display: grid; gap: var(--space-3); }
.day { background: var(--surface); border-radius: var(--radius-md); padding: var(--space-6); display: grid; gap: var(--space-4); align-content: start; }
.day h3 { font-size: 16px; }
.slots { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-2); }
.slots li { background: var(--surface-raised); border-radius: var(--radius-pill); padding: var(--space-3) var(--space-4); font-family: var(--font-display); font-weight: 500; font-size: 14.5px; font-variant-numeric: tabular-nums; text-align: center; }

/* ---------- FAQ ---------- */
.faq { width: 100%; max-width: 820px; margin: 0 auto; display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--space-2); }
.faq details { width: 100%; }
.faq details { border-radius: var(--radius-md); background: var(--surface); }
.faq details[open] { background: var(--ice); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: var(--space-4); padding: var(--space-4) var(--space-6); font-family: var(--font-display); font-weight: 600; font-size: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 34px; height: 34px; border-radius: 50%; border: var(--control-border) solid var(--ink); background: no-repeat center / 14px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M8 3v10M3 8h10' stroke='%2312192B' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E"); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 var(--space-6) var(--space-6); color: var(--ink); max-width: 64ch; }

/* ---------- Contact ---------- */
.contact { list-style: none; padding: 0; margin: var(--space-2) 0 0; display: grid; gap: var(--space-4); }
.contact li { display: flex; gap: var(--space-3); align-items: flex-start; }
.contact .ico { margin-top: 3px; }
.contact a { font-weight: 500; text-decoration-thickness: 1px; text-underline-offset: 3px; word-break: break-word; }
.socials { display: flex; gap: var(--space-3); }
.map { border-radius: var(--radius-md); overflow: hidden; background: var(--ice); aspect-ratio: 4 / 3; max-width: 100%; }
.map iframe { width: 100%; height: 100%; border: 0; display: block; }

/* ---------- Final CTA ---------- */
.cta-final { text-align: center; padding-block: clamp(48px, 8vw, 96px); }
.cta-dome { position: absolute; left: -10%; right: -10%; top: 45%; height: 1200px; border-radius: 50%; background: var(--lavanda); }
.cta-in { position: relative; display: grid; justify-items: center; gap: var(--space-4); }
.cta-in h2 { font-size: clamp(36px, 6vw, 60px); }
.cta-final .s3 { right: 22%; top: 24%; width: 20px; height: 20px; fill: var(--jar); }

/* ---------- Footer: full-width dark band ---------- */
.footer { background: var(--ink); color: var(--on-ink); border-radius: var(--radius-lg) var(--radius-lg) 0 0; }
.footer-in { max-width: 1148px; margin: 0 auto; box-sizing: content-box; padding: var(--space-12) max(var(--space-6), env(safe-area-inset-right)) calc(var(--space-8) + env(safe-area-inset-bottom, 0px)) max(var(--space-6), env(safe-area-inset-left)); display: grid; gap: var(--space-8); }
.footer .wm { color: var(--on-ink); }
.footer :focus-visible { outline-color: var(--on-ink); }
.footer-top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: var(--space-6); }
.footer-links { display: flex; flex-wrap: wrap; gap: var(--space-2) var(--space-6); }
.footer-links a { font-family: var(--font-display); font-size: 14px; font-weight: 500; text-decoration: none; color: var(--on-ink); }
.footer-links a:hover { text-decoration: underline; text-underline-offset: 4px; }
.legal { display: grid; gap: var(--space-2); font-size: 13px; color: var(--on-ink-muted); border-top: 1px solid rgba(255, 255, 255, .14); padding-top: var(--space-6); }
.legal p { display: flex; flex-wrap: wrap; gap: var(--space-1) var(--space-4); }
.legal a { color: var(--on-ink-muted); text-underline-offset: 3px; }
.legal a:hover { color: var(--on-ink); }

/* ---------- Motion ---------- */

@keyframes jiggle {
  0%, 100% { transform: rotate(0deg) scale(1); }
  15% { transform: rotate(-16deg) scale(1.18); }
  30% { transform: rotate(12deg) scale(.9); }
  45% { transform: rotate(-8deg) scale(1.1); }
  60% { transform: rotate(5deg) scale(.96); }
  75% { transform: rotate(-2deg) scale(1.02); }
}
.spark { transform-origin: 50% 50%; animation: jiggle 2.6s ease-in-out infinite; }
.hero .s1 { animation-duration: 2.4s; }
.hero .s2 { animation-duration: 3.1s; animation-delay: .7s; }
.cta-final .s3 { animation-duration: 2.8s; animation-delay: 1.2s; }

/* Extra hero stars: a mix of jiggle and twinkle, each on its own rhythm. */
@keyframes twinkle {
  0%, 100% { transform: rotate(0deg) scale(.55); opacity: .35; }
  50% { transform: rotate(45deg) scale(1.15); opacity: 1; }
}
.spark.tw { animation-name: twinkle; }
.hero .s4  { left: 8%;   top: 22%; width: 14px; height: 14px; animation-duration: 3.2s; }
.hero .s5  { left: 17%;  top: 38%; width: 9px;  height: 9px;  animation-duration: 2.9s; animation-delay: .3s; }
.hero .s6  { right: 9%;  top: 18%; width: 12px; height: 12px; animation-duration: 2.6s; animation-delay: 1s; }
.hero .s7  { right: 25%; top: 64%; width: 10px; height: 10px; animation-duration: 3.4s; animation-delay: .5s; }
.hero .s8  { left: 20%;  top: 54%; width: 8px;  height: 8px;  animation-duration: 2.2s; animation-delay: .8s; }
.hero .s9  { right: 6%;  top: 50%; width: 16px; height: 16px; animation-duration: 3s;   animation-delay: 1.4s; }
.hero .s10 { right: 31%; top: 11%; width: 10px; height: 10px; animation-duration: 3.6s; animation-delay: .2s; }
@media (max-width: 560px) {
  .hero .s5, .hero .s7, .hero .s8, .hero .s9, .hero .s10 { display: none; }
  .hero .s4 { left: 6%; top: 46%; }
  .hero .s6 { right: 7%; top: 16%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .round, .faq summary::after { transition: none; }
  .spark { animation: none; }
}
