/* ════════════════════════════════════════════════════════════
   PARK AFTERSCHOOL — pagină unică (RO + DE)
   Aceeași familie vizuală ca Park Kindergarten: hârtie caldă,
   culorile din logo, fotografie lipită cu bandă, ștampilă.
   ════════════════════════════════════════════════════════════ */
@font-face { font-family: 'Young Serif'; font-style: normal; font-weight: 400; font-display: swap; src: url(fonts/YoungSerif-normal-latin-ext.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: 'Young Serif'; font-style: normal; font-weight: 400; font-display: swap; src: url(fonts/YoungSerif-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: 'Atkinson Hyperlegible Next'; font-style: normal; font-weight: 200 800; font-display: swap; src: url(fonts/AtkinsonHyperlegibleNext-normal-latin-ext.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: 'Atkinson Hyperlegible Next'; font-style: normal; font-weight: 200 800; font-display: swap; src: url(fonts/AtkinsonHyperlegibleNext-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: 'Shantell Sans'; font-style: normal; font-weight: 300 800; font-display: swap; src: url(fonts/ShantellSans-normal-latin-ext.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: 'Shantell Sans'; font-style: normal; font-weight: 300 800; font-display: swap; src: url(fonts/ShantellSans-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; }

:root {
  --paper: #FBF6EC;
  --paper-2: #F4ECDC;
  --ink: #1D3226;
  --ink-2: #44574B;
  --ink-3: #6E7E73;
  --line: rgba(29, 50, 38, .14);
  --orange: #FF7043;
  --yellow: #FFCA28;
  --green: #66BB6A;
  --blue: #42A5F5;
  --forest: #43A047;
  --lime: #8BC34A;
  --green-ink: #2F7A36;
  --stamp: #2F7A36;
  --f-display: 'Young Serif', 'Iowan Old Style', Georgia, serif;
  --f-body: 'Atkinson Hyperlegible Next', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --f-hand: 'Shantell Sans', 'Comic Neue', cursive;
  --shadow-lg: 0 2px 4px rgba(29, 50, 38, .06), 0 30px 60px -24px rgba(29, 50, 38, .45);
  --gutter: clamp(16px, 4.5vw, 48px);
  --max: 1180px;
  --ease: cubic-bezier(.2, .8, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { overflow-x: hidden; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: var(--f-body); font-size: clamp(1.02rem, .97rem + .25vw, 1.125rem); line-height: 1.62;
  overflow-x: clip; -webkit-font-smoothing: antialiased;
}
body::before {
  content: ''; position: fixed; inset: 0; z-index: 50; pointer-events: none; opacity: .32; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .45 0 0 0 0 .38 0 0 0 0 .25 0 0 0 .09 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
p, h1, h2, h3, ul, dl, dd, figure { margin: 0; }
ul { padding: 0; list-style: none; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--yellow); color: var(--ink); }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: var(--paper); padding: 10px 16px; border-radius: 10px; }
.skip:focus { top: 12px; }
.container { width: min(100% - var(--gutter) * 2, var(--max)); margin-inline: auto; }

/* ── header ── */
.top { position: relative; z-index: 5; }
.top .container { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 18px; }
.top__logo img { width: clamp(150px, 30vw, 210px); }
.lang {
  display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px 7px 10px; border-radius: 999px;
  border: 1.5px solid var(--ink); background: var(--paper); font-weight: 700; font-size: .88rem; text-decoration: none;
  transition: transform .2s var(--ease), background .2s;
}
.lang:hover { background: var(--paper-2); transform: rotate(-2deg); }
.lang svg { width: 22px; height: 15px; border-radius: 3px; box-shadow: 0 0 0 1px rgba(0,0,0,.12); }

/* ── hero ── */
.hero { position: relative; padding-block: clamp(12px, 3vw, 40px) clamp(56px, 8vw, 110px); }
.hero__grid { display: grid; gap: clamp(36px, 6vw, 80px); align-items: center; }
@media (min-width: 880px) { .hero__grid { grid-template-columns: 1.08fr .92fr; } }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px; font-family: var(--f-hand); font-weight: 600; font-size: 1rem;
  padding: .3em 1em; border-radius: 999px; border: 1.5px dashed var(--ink-3);
  background: color-mix(in srgb, var(--yellow) 35%, var(--paper));
}
.eyebrow::before { content: ''; width: 9px; height: 9px; border-radius: 50%; background: var(--forest); }
.hero h1 {
  font-family: var(--f-display); font-weight: 400; letter-spacing: -.01em; line-height: 1.04;
  font-size: clamp(2.4rem, 1.4rem + 4.4vw, 4.6rem); margin-top: 20px; text-wrap: balance;
}
.hero h1 .u { position: relative; white-space: nowrap; }
.hero h1 .u svg { position: absolute; left: -2%; bottom: -.12em; width: 104%; height: .32em; overflow: visible; }
.hero h1 .u path { stroke: var(--orange); stroke-width: 7; fill: none; stroke-linecap: round; stroke-dasharray: 400; stroke-dashoffset: 400; animation: draw 1s .5s var(--ease) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.lead { font-size: clamp(1.12rem, 1rem + .5vw, 1.32rem); margin-top: 22px; max-width: 34ch; color: var(--ink); }
.next { margin-top: 14px; max-width: 46ch; color: var(--ink-2); }

.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.btn {
  --bg: var(--ink); --fg: var(--paper);
  display: inline-flex; align-items: center; gap: 10px; min-height: 52px; padding: 12px 22px; border-radius: 999px;
  background: var(--bg); color: var(--fg); border: 2px solid var(--ink); font-weight: 700; text-decoration: none;
  box-shadow: 3px 3px 0 var(--ink); transition: transform .18s var(--ease), box-shadow .18s var(--ease);
}
.btn:hover { transform: translate(-2px, -2px); box-shadow: 5px 5px 0 var(--ink); }
.btn:active { transform: translate(2px, 2px); box-shadow: 1px 1px 0 var(--ink); }
.btn svg { width: 20px; height: 20px; flex: none; }
.btn--call { --bg: var(--forest); --fg: #fff; }
.btn--ghost { --bg: var(--paper); --fg: var(--ink); }
.btn small { display: block; font-weight: 400; font-size: .8rem; opacity: .85; line-height: 1.2; }
.btn span { line-height: 1.2; }
.social { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 18px; margin-top: 22px; color: var(--ink-2); font-size: .95rem; }
.social a { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; }
.social svg { width: 22px; height: 22px; }

/* fotografia lipită + ștampila */
.photo { position: relative; justify-self: center; width: min(100%, 420px); margin-top: 8px; }
.print {
  position: relative; background: #fff; padding: 12px 12px 58px; box-shadow: var(--shadow-lg);
  transform: rotate(2.4deg); transition: transform .5s var(--ease);
}
.photo:hover .print { transform: rotate(.6deg) scale(1.01); }
.print picture img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 50%; background: #b8b09a; }
.print figcaption { position: absolute; left: 0; right: 22px; bottom: 14px; text-align: right; font-family: var(--f-hand); font-size: 1.15rem; font-weight: 500; color: var(--ink-2); }
.tape { position: absolute; z-index: 3; width: 118px; height: 32px; box-shadow: 0 1px 2px rgba(0,0,0,.1); pointer-events: none; }
.tape--tl { top: -12px; left: -28px; transform: rotate(-32deg); background: color-mix(in srgb, var(--yellow) 75%, transparent); }
.tape--br { bottom: -6px; right: -26px; transform: rotate(-28deg); background: color-mix(in srgb, var(--blue) 62%, transparent); }

.stamp {
  position: absolute; z-index: 4; left: -52px; bottom: -34px; width: 176px; height: 176px;
  display: grid; place-items: center; align-content: center; text-align: center; color: var(--stamp);
  transform: rotate(-14deg); opacity: .94;
  animation: stamp .55s 1.1s cubic-bezier(.3, 1.6, .5, 1) both;
}
.stamp svg { position: absolute; inset: 0; width: 100%; height: 100%; filter: drop-shadow(0 6px 14px rgba(29,50,38,.18)); }
.stamp__txt { position: relative; font-family: var(--f-display); font-size: 1.02rem; line-height: 1.08; text-transform: uppercase; letter-spacing: .03em; max-width: 128px; }
.stamp__txt b { display: block; font-weight: 400; }
.stamp__txt b + b { font-size: 1.18em; margin-top: 2px; }
.stamp__year { position: relative; display: block; font-family: var(--f-body); font-weight: 800; font-size: .72rem; letter-spacing: .14em; margin-top: 6px; }
@keyframes stamp {
  0% { opacity: 0; transform: rotate(-4deg) scale(2.2); }
  70% { opacity: .95; }
  100% { opacity: .94; transform: rotate(-14deg) scale(1); }
}
@media (max-width: 520px) {
  .stamp { width: 124px; height: 124px; left: -18px; bottom: -34px; }
  .stamp__txt { font-size: .7rem; max-width: 92px; }
  .stamp__year { font-size: .6rem; margin-top: 4px; }
}
@media (max-width: 879px) {
  .photo { order: -1; width: min(92%, 460px); }
  .print { padding-bottom: 48px; }
  .print picture img { aspect-ratio: 4 / 3; object-position: 50% 68%; }
}

/* frunze care cad */
.leaves { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 0; }
.leaf { position: absolute; top: -40px; width: 22px; height: 22px; opacity: 0; animation: fall linear infinite; }
.leaf path { fill: currentColor; }
@keyframes fall {
  0% { opacity: 0; transform: translate3d(0, 0, 0) rotate(0); }
  8% { opacity: .6; }
  50% { transform: translate3d(40px, 50vh, 0) rotate(200deg); }
  92% { opacity: .5; }
  100% { opacity: 0; transform: translate3d(-20px, 100vh, 0) rotate(420deg); }
}
.hero .container { position: relative; z-index: 1; }

/* ── despre ── */
.about { background: var(--paper-2); border-block: 1.5px solid var(--line); padding-block: clamp(56px, 8vw, 100px); position: relative; }
.about__grid { display: grid; gap: clamp(32px, 5vw, 64px); }
@media (min-width: 880px) { .about__grid { grid-template-columns: 1.1fr .9fr; } }
.about h2 { font-family: var(--f-display); font-weight: 400; font-size: clamp(1.8rem, 1.3rem + 2vw, 2.6rem); line-height: 1.1; }
.tagline { font-family: var(--f-hand); font-size: 1.15rem; color: var(--green-ink); margin-top: 10px; }
.about__text { margin-top: 18px; max-width: 58ch; color: var(--ink-2); }
.facts { display: grid; gap: 14px; margin-top: 28px; }
.facts div { display: grid; grid-template-columns: 14px 1fr; column-gap: 14px; align-items: baseline; }
.facts div::before { content: ''; width: 12px; height: 12px; border-radius: 50%; background: var(--c); transform: translateY(1px); grid-row: span 2; }
.facts div:nth-child(1) { --c: var(--orange); }
.facts div:nth-child(2) { --c: var(--yellow); }
.facts div:nth-child(3) { --c: var(--blue); }
.facts dt { font-size: .82rem; text-transform: uppercase; letter-spacing: .08em; font-weight: 800; color: var(--ink-3); }
.facts dd { font-weight: 600; }

.kg {
  align-self: start; background: var(--paper); border: 2px solid var(--ink); border-radius: 28px; padding: clamp(24px, 4vw, 36px);
  box-shadow: 6px 6px 0 var(--lime); position: relative;
}
.kg img { width: 150px; margin-bottom: 18px; }
.kg h3 { font-family: var(--f-display); font-weight: 400; font-size: 1.45rem; line-height: 1.15; }
.kg p { margin-top: 10px; color: var(--ink-2); }
.kg a { display: inline-flex; align-items: center; gap: 8px; margin-top: 18px; font-weight: 800; color: var(--green-ink); }
.kg a svg { width: 18px; height: 18px; transition: transform .2s var(--ease); }
.kg a:hover svg { transform: translateX(4px); }

/* ── footer ── */
.foot { background: var(--ink); color: rgba(251, 246, 236, .78); padding-block: 56px 32px; font-size: .95rem; }
.foot a { color: var(--paper); }
.foot__grid { display: grid; gap: 32px; }
@media (min-width: 760px) { .foot__grid { grid-template-columns: 1.2fr 1fr 1fr; } }
.foot__brand img { width: 200px; }
.foot__brand p { margin-top: 14px; }
.foot h2 { font-family: var(--f-hand); font-weight: 600; font-size: 1rem; color: var(--lime); margin-bottom: 10px; }
.foot li + li { margin-top: 6px; }
.foot__trust { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 40px; }
.foot__trust img { width: 180px; height: auto; background: #fff; border-radius: 8px; }
.foot__bottom { margin-top: 28px; padding-top: 20px; border-top: 1px solid rgba(251, 246, 236, .14); display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 18px; font-size: .82rem; text-align: center; }

/* ── intrări ── */
.rise { animation: rise .8s var(--ease) both; }
.rise:nth-child(2) { animation-delay: .08s; }
.rise:nth-child(3) { animation-delay: .16s; }
.rise:nth-child(4) { animation-delay: .24s; }
.rise:nth-child(5) { animation-delay: .32s; }
.rise:nth-child(6) { animation-delay: .4s; }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .hero h1 .u path { stroke-dashoffset: 0; }
  .leaves { display: none; }
}
