/* CookieHub.ro — homepage. Design: Paper „CookieHub.ro — Brand Book”, pagina „Homepage — variante”, varianta D. */
/* Albert Sans (SIL OFL), subseturi Google Fonts găzduite local: fără cereri către Google. */
@font-face { font-family: "Albert Sans"; src: url("/assets/fonts/albert-sans-latin-ext.woff2") format("woff2"); font-weight: 100 900; font-display: swap; 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: "Albert Sans"; src: url("/assets/fonts/albert-sans-latin.woff2") format("woff2"); font-weight: 100 900; font-display: swap; 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 {
  --navy: #1E416E; --blue: #2850EB; --sand: #DEC896; --sand-bg: #F6EFDF;
  --text: #3D3D3D; --muted: #7D7D7D; --line: #E4E7EE; --panel: #F4F6FB;
  --on-navy: #C9D3E3; --font: "Albert Sans", "Helvetica Neue", Arial, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font); color: var(--text); background: #fff; -webkit-font-smoothing: antialiased; }
h1, h2, h3, h4, p { margin: 0; }
a { color: inherit; }
img { display: block; }
.wrap { max-width: 1440px; margin: 0 auto; padding: 0 80px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.hp { position: absolute; left: -9999px; }
.m-only { display: none; }
p { text-wrap: pretty; }
summary, .report > p, .plans-note { text-wrap: balance; }
h2 { font-size: 50px; line-height: 56px; font-weight: 800; letter-spacing: -0.03em; color: var(--navy); text-wrap: balance; }

.btn { display: inline-flex; justify-content: center; align-items: center; padding: 18px 28px; border-radius: 10px; font: 700 17px/1 var(--font); text-decoration: none; border: 0; cursor: pointer; white-space: nowrap; }
.btn-blue { background: var(--blue); color: #fff; }
.btn-blue:hover { background: #1F43D4; }
.btn-ghost { border: 2px solid #5A7AA6; color: #fff; padding: 16px 26px; }
.btn-sand { background: var(--sand); color: var(--navy); padding: 13px 22px; font-size: 16px; }
:focus-visible { outline: 3px solid var(--sand); outline-offset: 3px; }

/* Hero */
.hero { background: var(--navy); color: #fff; }
.nav { display: flex; justify-content: space-between; align-items: center; padding: 32px 0; }
.nav-links { display: flex; align-items: center; gap: 36px; }
.nav-links a:not(.btn) { color: #E3E9F2; text-decoration: none; font-size: 16px; font-weight: 500; }
.nav-toggle { display: none; background: none; border: 0; color: #fff; padding: 4px; cursor: pointer; }
.hero-grid { display: flex; gap: 64px; align-items: flex-end; padding-top: 72px; }
.hero-copy { width: 640px; flex-shrink: 0; display: flex; flex-direction: column; gap: 28px; padding-bottom: 96px; }
h1 { font-size: 66px; line-height: 70px; font-weight: 800; letter-spacing: -0.035em; white-space: nowrap; }
.lead { font-size: 20px; line-height: 31px; color: var(--on-navy); max-width: 580px; }
.actions { display: flex; gap: 14px; flex-wrap: wrap; }
.panel { flex: 1; background: #fff; color: var(--text); border-radius: 20px 20px 0 0; padding: 32px 32px 40px; display: flex; flex-direction: column; gap: 18px; }
.panel-head { display: flex; justify-content: space-between; align-items: center; color: var(--navy); font-size: 18px; }
.panel-head span { font-size: 15px; color: var(--muted); }
.req { display: flex; align-items: center; gap: 12px; white-space: nowrap; padding: 16px 18px; border-radius: 12px; background: var(--panel); font-size: 16px; }
.req b { width: 150px; flex-shrink: 0; font-weight: 600; }
.req .st { flex-grow: 1; }
.req .due { width: 148px; flex-shrink: 0; font-weight: 600; }
.req.warn { background: #FFF4DC; }
.req.warn .due { color: #8A5A00; font-weight: 700; }
.req .due.ok { color: #1F7A4D; font-weight: 700; }

/* Verificare */
.check { padding: 112px 0 40px; }
.check-grid { display: flex; gap: 72px; align-items: center; }
.check-copy { width: 640px; flex-shrink: 0; display: flex; flex-direction: column; gap: 28px; }
.check-copy h2 { font-size: 54px; line-height: 60px; }
.check-copy > p { font-size: 20px; line-height: 31px; max-width: 540px; }
.check-form { display: flex; align-items: center; gap: 8px; width: 600px; border: 2px solid var(--navy); border-radius: 14px; padding: 6px 6px 6px 22px; }
.check-form input { flex: 1; min-width: 0; border: 0; font: 400 18px var(--font); color: var(--navy); background: transparent; padding: 12px 0; }
.check-form input:focus { outline: none; }
.check-form input[type=email] { border-left: 1px solid #D6D6D6; padding-left: 14px; }
.check-form:focus-within { box-shadow: 0 0 0 3px rgba(40,80,235,.25); }
.check-form .btn { padding: 16px 26px; }
.fine { font-size: 15px; color: var(--muted); }
.fine.ok { color: #1F7A4D; font-weight: 600; }
.fine.err { color: #B3361F; font-weight: 600; }
.report { flex: 1; background: var(--panel); border-radius: 20px; padding: 32px; display: flex; flex-direction: column; gap: 22px; }
.report-head { display: flex; justify-content: space-between; align-items: center; color: var(--navy); font-size: 17px; }
.tag { background: #FDE8E4; color: #B3361F; font-weight: 700; font-size: 14px; padding: 6px 12px; border-radius: 99px; }
.report h3 { font-size: 26px; line-height: 32px; text-wrap: balance; font-weight: 800; letter-spacing: -0.02em; color: var(--navy); }
.cookies { list-style: none; margin: 0; padding: 6px 20px; background: #fff; border-radius: 14px; }
.cookies li { display: flex; justify-content: space-between; padding: 14px 0; border-bottom: 1px solid #ECEEF3; font-size: 16px; }
.cookies li:last-child { border-bottom: 0; }
.cookies b { font-weight: 600; }
.cookies span { color: var(--muted); }
.report > p { font-size: 16px; line-height: 25px; }

/* Comparație */
.compare { padding: 96px 0; }
.compare h2 { max-width: 860px; margin-bottom: 44px; }
.row { display: flex; padding: 20px 0; border-bottom: 1px solid var(--line); font-size: 18px; }
.row:last-child { border-bottom: 0; }
.row > :first-child { width: 520px; flex-shrink: 0; font-size: 19px; font-weight: 600; color: var(--navy); }
.row > :nth-child(2) { width: 340px; flex-shrink: 0; }
.row .us { color: var(--navy); font-weight: 600; }
.row.head { padding: 0 0 16px; border-bottom: 2px solid var(--navy); font-size: 16px; font-weight: 600; color: var(--muted); }
.row.head .us { color: var(--blue); font-weight: 700; }

/* Pachete */
.plans { padding-bottom: 120px; }
.plans-grid { display: flex; gap: 24px; }
.plan { flex: 1; display: flex; justify-content: space-between; align-items: center; gap: 24px; background: var(--panel); border-radius: 20px; padding: 36px 40px; }
.plan h3 { font-size: 26px; font-weight: 800; color: var(--navy); margin-bottom: 6px; }
.plan p { font-size: 17px; }
.plan .price { font-size: 40px; font-weight: 800; letter-spacing: -0.03em; color: var(--navy); white-space: nowrap; }
.plan .price small { font-size: 16px; font-weight: 500; color: var(--muted); letter-spacing: 0; }
.plan-blue { background: var(--blue); }
.plan-blue h3, .plan-blue .price { color: #fff; }
.plan-blue p { color: #E3E9FF; }
.plan-blue .price small { color: #D4DCFB; }
.plans-note { margin-top: 16px; font-size: 15px; color: var(--muted); }

/* Întrebări */
.faq { padding: 120px 0; border-top: 1px solid var(--line); }
.faq-grid { display: flex; gap: 96px; align-items: flex-start; }
.faq-intro { width: 420px; flex-shrink: 0; display: flex; flex-direction: column; gap: 18px; }
.faq-intro p { font-size: 18px; line-height: 29px; }
.faq-list { flex: 1; }
.faq-list details { border-bottom: 1px solid var(--line); padding: 28px 0; }
.faq-list details:first-child { padding-top: 0; }
.faq-list details:last-child { border-bottom: 0; }
.faq-list summary { list-style: none; cursor: pointer; font-size: 21px; font-weight: 700; color: var(--navy); display: flex; justify-content: space-between; gap: 16px; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; color: var(--blue); font-weight: 400; font-size: 26px; line-height: 1; }
.faq-list details[open] summary::after { content: "–"; }
.faq-list details p { font-size: 17px; line-height: 28px; margin-top: 10px; }

/* Închidere */
.closing { background: var(--sand-bg); padding: 112px 0; }
.closing h2 { font-size: 72px; line-height: 78px; letter-spacing: -0.045em; }
.closing-actions { display: flex; align-items: center; gap: 24px; margin-top: 40px; flex-wrap: wrap; }
.closing-alt { font-size: 16px; color: var(--text); }

/* Subsol */
.footer { background: var(--navy); color: #fff; padding: 72px 0 40px; }
.footer-top { display: flex; justify-content: space-between; gap: 48px; }
.footer-brand { width: 360px; display: flex; flex-direction: column; gap: 18px; }
.footer-brand p { font-size: 16px; line-height: 26px; color: var(--on-navy); }
.footer-cols { display: flex; gap: 96px; }
.footer-cols div { display: flex; flex-direction: column; gap: 14px; }
.footer-cols h4 { font-size: 15px; color: var(--sand); }
.footer-cols a { font-size: 16px; text-decoration: none; }
.footer-cols a:hover { text-decoration: underline; }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; margin-top: 56px; padding-top: 24px; border-top: 1px solid #34588A; font-size: 14px; color: #B9C6DA; }

/* Tabletă */
@media (max-width: 1200px) {
  .wrap { padding: 0 40px; }
  .hero-grid, .check-grid { flex-direction: column; align-items: stretch; gap: 48px; }
  .hero-copy, .check-copy { width: auto; padding-bottom: 0; }
  .hero-grid .panel { margin-top: 8px; }
  .check-form { width: 100%; }
  .row > :first-child { width: 42%; }
  .row > :nth-child(2) { width: 30%; }
  .faq-grid { flex-direction: column; gap: 40px; }
  .faq-intro { width: auto; }
  .footer-top { flex-direction: column; }
}

/* Mobil */
@media (max-width: 760px) {
  .wrap { padding: 0 20px; }
  .nav { padding: 20px 0; }
  .nav img { width: 120px; height: auto; }
  .nav-toggle { display: block; }
  .d-only { display: none; }
  .m-only { display: inline; }
  .faq-list details p { text-wrap: balance; }
  .nav-links { display: none; position: absolute; left: 0; right: 0; top: 70px; z-index: 10; background: var(--navy); flex-direction: column; align-items: stretch; gap: 0; padding: 8px 20px 24px; }
  .nav-links.open { display: flex; }
  .nav-links a:not(.btn) { padding: 14px 0; border-bottom: 1px solid #34588A; font-size: 17px; }
  .nav-links .btn { margin-top: 16px; }
  .hero { position: relative; }
  .hero-grid { padding-top: 32px; gap: 40px; }
  h1 { font-size: 38px; line-height: 42px; white-space: normal; }
  .lead { font-size: 17px; line-height: 27px; }
  .actions { flex-direction: column; gap: 10px; }
  .actions .btn { width: 100%; }
  .panel { padding: 20px 16px 24px; gap: 10px; border-radius: 16px 16px 0 0; }
  .panel-head span, .req .st, .hide-sm { display: none; }
  .panel-head { font-size: 15px; }
  .req { justify-content: space-between; padding: 13px 14px; font-size: 15px; }
  .req b { width: auto; }
  .req .due { width: auto; text-align: right; }
  h2 { font-size: 30px; line-height: 35px; }
  .check { padding: 56px 0 48px; }
  .check-copy { gap: 18px; }
  .check-copy h2 { font-size: 32px; line-height: 36px; }
  .check-copy > p { font-size: 17px; line-height: 27px; }
  .check-form { flex-direction: column; align-items: stretch; border: 0; padding: 0; gap: 10px; }
  .check-form input, .check-form input[type=email] { border: 2px solid var(--navy); border-radius: 12px; padding: 15px 18px; font-size: 17px; }
  .check-form:focus-within { box-shadow: none; }
  .check-form input:focus { box-shadow: 0 0 0 3px rgba(40,80,235,.25); }
  .report { padding: 20px; gap: 12px; border-radius: 16px; }
  .report h3 { font-size: 22px; line-height: 27px; }
  .compare { padding: 48px 0; background: var(--panel); }
  .compare h2 { margin-bottom: 20px; }
  .row.head { display: none; }
  .row { flex-direction: column; gap: 4px; padding: 16px 0; border-bottom-color: #DDE2EC; }
  .row > :first-child, .row > :nth-child(2) { width: auto; font-size: 17px; }
  .row > :nth-child(2) { display: none; }
  .row .us { font-size: 16px; font-weight: 400; color: var(--text); }
  .plans { padding: 48px 0; }
  .plans-grid { flex-direction: column; gap: 12px; }
  .plan { flex-direction: column; align-items: stretch; gap: 8px; padding: 22px; border-radius: 16px; position: relative; }
  .plan h3 { font-size: 22px; margin: 0; }
  .plan p { font-size: 15px; line-height: 23px; }
  .plan .price { position: absolute; top: 20px; right: 22px; font-size: 26px; }
  .plan .price small { font-size: 14px; }
  .plan > div p { margin-top: 8px; }
  .faq { padding: 8px 0 48px; border-top: 0; }
  .faq-grid { gap: 12px; }
  .faq-intro p { display: none; }
  .faq-list details, .faq-list details:first-child { padding: 18px 0; }
  .faq-list summary { font-size: 17px; }
  .faq-list summary::after { font-size: 24px; }
  .closing { padding: 56px 0; }
  .closing h2 { font-size: 30px; line-height: 35px; letter-spacing: -0.035em; }
  .closing-actions { margin-top: 24px; flex-direction: column; align-items: stretch; }
  .closing-actions .btn { width: 100%; }
  .closing-alt { text-align: center; }
  .footer { padding: 40px 0 32px; }
  .footer-brand img { width: 120px; height: auto; }
  .footer-cols { flex-direction: column; gap: 28px; }
  .footer-bottom { flex-direction: column; margin-top: 32px; font-size: 13px; }
}
