/* BES Classroom — paginile pentru părinți (login, linkul vechi, „Ați uitat…”). 16.10.2026.
   Fonturile și culorile site-ului britishenglishschool.ro (Lato, Poppins; navy #053A97), găzduite aici (fără Google la încărcare).
   Regula: tot textul are aceeași culoare și aceeași mărime; doar titlurile sunt mai mari. Fără text gri sau mic. */
/* fonturi: Lato și Poppins (SIL Open Font License), găzduite aici */
/* Lato 2.015 (latofonts.com, OFL), un fișier per grosime = latin + latin-ext complet, cu ă â î ș ț Ă Â Î Ș Ț (ș U+0219, ț U+021B, virgulă dedesubt).
   NU Lato de pe Google Fonts (v1.104): acolo lipsesc ă/ș/ț și browserul le lua din alt font (mai groase). 20.10.2026 */
@font-face{font-family:'Lato';font-style:normal;font-weight:400;font-display:swap;src:url(fonts/lato2-400.woff2) format('woff2');unicode-range:U+0000-02BA,U+02BB-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2000-206F,U+20A0-20C4,U+2113,U+2122,U+2191,U+2193,U+2212,U+2215,U+2C60-2C7F,U+A720-A7FF,U+FEFF,U+FFFD}
@font-face{font-family:'Lato';font-style:normal;font-weight:700;font-display:swap;src:url(fonts/lato2-700.woff2) format('woff2');unicode-range:U+0000-02BA,U+02BB-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2000-206F,U+20A0-20C4,U+2113,U+2122,U+2191,U+2193,U+2212,U+2215,U+2C60-2C7F,U+A720-A7FF,U+FEFF,U+FFFD}
@font-face{font-family:'Poppins';font-style:normal;font-weight:600;font-display:swap;src:url(fonts/poppins-600-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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF}
@font-face{font-family:'Poppins';font-style:normal;font-weight:600;font-display:swap;src:url(fonts/poppins-600-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:'Poppins';font-style:normal;font-weight:700;font-display:swap;src:url(fonts/poppins-700-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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF}
@font-face{font-family:'Poppins';font-style:normal;font-weight:700;font-display:swap;src:url(fonts/poppins-700-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 {
  --ink: #0B2A6F;        /* tot textul */
  --navy: #053A97;       /* butoane, accente */
  --navy-dark: #042C73;
  --red: #E30613;
  --pale: #EAF1FB;
  --line: #C9D5EC;
  --ok: #E6F6EA;
  --err: #FDECEC;
  --fs: 18px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: #fff; color: var(--ink); font: 400 var(--fs)/1.55 Lato, "Segoe UI", Roboto, Arial, sans-serif; }
p { margin: 0; }
a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
a:hover { color: var(--navy); }
a:focus-visible, button:focus-visible, input:focus-visible { outline: 3px solid var(--red); outline-offset: 2px; }
.nowrap { white-space: nowrap; }
.ic { flex: none; }

.page { position: relative; display: grid; min-height: 100vh;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr); grid-template-rows: 1fr auto;
  grid-template-areas: "hero panel" "foot panel"; }

/* stânga: ilustrația acoperă tot panoul (ancorată jos-dreapta: scara rămâne întreagă, se taie doar cerul / norii din stânga-sus);
   logoul și titlul stau peste cerul liber; etichetele A1–C1 sunt în % din imagine, deci rămân pe trepte la orice mărime */
.hero { grid-column: 1; grid-row: 1 / span 2; position: relative; overflow: hidden; min-height: 100vh; background: #E6EFFB; container-type: size; }
.stage-box { position: absolute; inset: 0; }
.stage { position: absolute; right: 0; bottom: 0; width: 100%; width: max(100cqw, 100cqh); aspect-ratio: 1 / 1; container-type: inline-size; }
.ill { position: absolute; inset: 0; display: block; width: 100%; height: 100%; }
.step { position: absolute; transform: translate(-50%, -50%); font: 700 3.9cqw/1 Poppins, Lato, sans-serif; color: var(--ink); letter-spacing: .01em; white-space: nowrap; }
.hero-text { position: relative; z-index: 1; padding: 44px 56px 0; }
.logo { display: block; width: clamp(200px, 19vw, 290px); height: auto; }
.hero-title { font: 700 clamp(34px, 3.6vw, 60px)/1.1 Poppins, Lato, sans-serif; color: var(--ink); margin: 22px 0 0; max-width: 15ch; letter-spacing: -0.01em; text-wrap: balance; }
.foot { grid-column: 1; grid-row: 2; z-index: 2; align-self: end; display: flex; flex-wrap: wrap; gap: 10px 32px; padding: 0 56px 30px; }
.foot a { display: inline-flex; align-items: center; gap: 6px; }
.foot .ic { width: 18px; height: 18px; }

/* dreapta */
.panel { grid-area: panel; display: flex; align-items: center; justify-content: center; padding: 84px 64px 32px; }
.panel-in { width: 100%; max-width: 500px; }
.lang { position: absolute; top: 28px; right: 40px; display: flex; align-items: center; gap: 4px; padding: 4px; background: var(--pale); border-radius: 999px; }
.lang a { min-width: 52px; padding: 6px 14px; border-radius: 999px; text-align: center; text-decoration: none; font-weight: 700; }
.lang a[aria-current] { background: var(--navy); color: #fff; }
.lang span { opacity: .5; }
.kicker { font: 600 var(--fs) Poppins, Lato, sans-serif; letter-spacing: .14em; text-transform: uppercase; }
h1 { font: 700 clamp(32px, 3vw, 46px)/1.15 Poppins, Lato, sans-serif; margin: 6px 0 8px; color: var(--ink); letter-spacing: -0.01em; }
.sub { margin: 0 0 22px; }

.msg { display: flex; align-items: center; gap: 12px; margin: 0 0 18px; padding: 12px 16px; border-radius: 12px; }
.msg.ok { background: var(--ok); }
.msg.ok .ic { color: #1a7f3c; }
.msg.err { background: var(--err); }
.msg.err .ic { color: var(--red); }

label { display: block; margin: 14px 0 6px; font-weight: 700; }
.field { position: relative; }
.field > .ic { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); color: var(--navy); pointer-events: none; }
input[type=text], input[type=email], input[type=password] { width: 100%; padding: 12px 54px 12px 50px; border: 2px solid var(--line); border-radius: 12px;
  background: #fff; color: var(--ink); font: inherit; }
input::placeholder { color: var(--ink); opacity: .7; }
input:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 3px rgba(5, 58, 151, .15); }
.hint { margin: 6px 0 0; }
.eye { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); display: flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; padding: 0; border: 0; border-radius: 10px; background: transparent; color: var(--navy); cursor: pointer; }
.eye[hidden] { display: none; }
.eye .ic-eyeoff, .eye[aria-pressed="true"] .ic-eye { display: none; }
.eye[aria-pressed="true"] .ic-eyeoff { display: block; }
.remember { margin-top: 10px; }
label.chk { display: flex; align-items: center; gap: 12px; margin: 0; font-weight: 400; cursor: pointer; min-height: 44px; }
.chk input { width: 24px; height: 24px; margin: 0; accent-color: var(--navy); flex: none; }
.remember .hint { margin: 0 0 0 36px; }

.btn { display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; margin-top: 18px; padding: 15px 20px;
  border: 0; border-radius: 12px; background: var(--navy); color: #fff; font: 700 var(--fs) Poppins, Lato, sans-serif; text-decoration: none; cursor: pointer; }
.btn:hover { background: var(--navy-dark); color: #fff; }
.btn-pair { display: grid; grid-template-columns: 1fr; gap: 12px; margin-top: 12px; }
.btn-pair .btn { margin-top: 0; }
.btn-line { background: #fff; color: var(--navy); border: 2px solid var(--navy); padding: 13px 14px; }
.btn-line:hover { background: var(--pale); color: var(--navy); }
.btn-line .ic { width: 20px; height: 20px; }
.old-help { margin: 22px 0 0; }
.old-contact { margin-top: 6px; }
.links { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px 16px; margin: 16px 0 0; }
.links a { padding: 4px 0; }
hr { border: 0; border-top: 1px solid var(--line); margin: 18px 0; }
.help { display: flex; gap: 16px; padding: 14px 20px; border-radius: 14px; background: var(--pale); }
.help > .ic { width: 30px; height: 30px; color: var(--navy); margin-top: 2px; }
.help strong { display: block; }
.contact { display: flex; flex-wrap: wrap; gap: 6px 22px; margin-top: 8px; }
.contact a { display: inline-flex; align-items: center; gap: 8px; }
.contact .ic { width: 20px; height: 20px; color: var(--navy); }
.cf-turnstile { margin-top: 18px; min-height: 65px; }

/* telefon: ilustrația mică deasupra formularului; totul se citește fără zoom */
@media (max-width: 900px) {
  .page { grid-template-columns: 1fr; grid-template-rows: auto auto 1fr; grid-template-areas: "hero" "panel" "foot"; }
  /* telefon: logoul și titlul sus, apoi ilustrația scurtată la scară (etichetele rămân pe trepte) */
  /* Silvian 16.10: logoul sus-stânga, pe rândul comutatorului RO | EN; titlul sub logo, la stânga; apoi ilustrația */
  .hero { grid-area: hero; grid-row: auto; grid-column: auto; min-height: 0; container-type: normal; display: flex; flex-direction: column; text-align: left; }
  .hero-text { order: 1; padding: 14px 20px 0; }
  .logo { width: 120px; margin: 0; }
  .hero-title { font-size: 26px; max-width: 16ch; margin-top: 8px; }
  .stage-box { order: 2; position: relative; inset: auto; height: 250px; margin-top: 4px; }
  .stage { width: max(500px, 118%); right: -10px; left: auto; bottom: -35px; }   /* ancorată la dreapta: acoperă toată lățimea */
  .foot { grid-area: foot; grid-row: auto; grid-column: auto; align-self: stretch; align-content: flex-start; background: #E6EFFB; }
  .panel { padding: 12px 20px 32px; }
  .lang { top: 30px; right: 14px; }                 /* centrat pe înălțimea logoului (120 × 76 px, de la 14 px) */
  h1 { font-size: 30px; }
  .kicker, .panel-in > h1, .panel-in > .sub { text-align: center; }   /* capul formularului centrat; etichetele câmpurilor la stânga */
  .foot { justify-content: center; padding: 20px; }
}
@media (max-width: 480px) {
  .btn-pair { grid-template-columns: 1fr; }
}
@media (max-width: 380px) {
  .links { flex-direction: column; }
}
