/* ===== Lusia — stiluri ===== */
:root {
  --cream: #fff8f1;
  --paper: #ffffff;
  --sand: #f6ebe0;
  --ink: #2a2733;
  --ink-soft: #5d5866;
  --line: #eadfd3;
  --coral: #e8654f;
  --coral-deep: #c84c38;
  --coral-soft: #fde4dd;
  --sky: #2f6f9f;
  --sky-soft: #e3f0f9;
  --sun: #ffc857;
  --sun-soft: #fff1cc;
  --green: #2e8b6a;
  --radius: 20px;
  --radius-sm: 12px;
  --shadow: 0 10px 30px -12px rgba(60, 40, 30, .18);
  --font-head: "Fraunces", Georgia, serif;
  --font-body: "Nunito", system-ui, -apple-system, "Segoe UI", sans-serif;
  --max: 1120px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
}
img { max-width: 100%; display: block; }
a { color: var(--sky); }
h1, h2, h3 { font-family: var(--font-head); line-height: 1.15; margin: 0 0 .5em; font-weight: 600; letter-spacing: -.01em; }
h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.7rem, 3.5vw, 2.4rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; }
.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 16px; }
@media (min-width: 720px) { .container { padding: 0 28px; } }
.muted { color: var(--ink-soft); }
.small { font-size: .9rem; }
.center { text-align: center; }
.eyebrow { display: inline-block; font-weight: 800; font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: var(--coral-deep); margin-bottom: .6em; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* ----- header ----- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 248, 241, .92); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.site-header .container { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 16px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font-family: var(--font-head); font-size: 1.45rem; font-weight: 700; }
.logo svg { width: 34px; height: 34px; flex: none; }
.logo small { display: block; font-family: var(--font-body); font-size: .68rem; font-weight: 700; color: var(--ink-soft); letter-spacing: .04em; margin-top: -3px; }
.nav { display: flex; align-items: center; gap: 22px; }
.nav a { color: var(--ink); text-decoration: none; font-weight: 700; font-size: .95rem; }
.nav a:hover { color: var(--coral-deep); }
.nav-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--ink); margin: 5px 0; border-radius: 2px; }
@media (max-width: 880px) {
  .nav-toggle { display: block; }
  .nav { position: absolute; top: 68px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; background: var(--cream); border-bottom: 1px solid var(--line); padding: 8px 16px 16px; display: none; }
  .nav.open { display: flex; }
  .nav a { padding: 12px 4px; border-bottom: 1px solid var(--line); }
  .nav .btn { margin-top: 12px; text-align: center; }
}

/* ----- buttons ----- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 14px 24px; border-radius: 999px; border: 2px solid transparent; font: inherit; font-weight: 800; text-decoration: none; cursor: pointer; transition: transform .15s ease, background .15s ease, box-shadow .15s ease; line-height: 1.2; }
.btn:hover { transform: translateY(-1px); }
.btn:focus-visible, input:focus-visible, select:focus-visible, button:focus-visible { outline: 3px solid var(--sun); outline-offset: 2px; }
.btn-primary { background: var(--coral); color: #fff; box-shadow: 0 8px 20px -8px rgba(232, 101, 79, .7); }
.btn-primary:hover { background: var(--coral-deep); }
.btn-secondary { background: var(--paper); color: var(--ink); border-color: var(--ink); }
.btn-secondary:hover { background: var(--ink); color: #fff; }
.btn-ghost { background: transparent; color: var(--sky); padding: 10px 14px; }
.btn-sm { padding: 9px 16px; font-size: .9rem; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .55; cursor: not-allowed; transform: none; }

/* ----- sections ----- */
section { padding: 72px 0; }
@media (max-width: 720px) { section { padding: 52px 0; } }
.section-head { max-width: 680px; margin: 0 auto 40px; text-align: center; }
.bg-paper { background: var(--paper); }
.bg-sand { background: var(--sand); }
.bg-sky { background: var(--sky-soft); }

/* ----- hero ----- */
.hero { padding: 48px 0 72px; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
@media (max-width: 880px) { .hero-grid { grid-template-columns: 1fr; gap: 32px; } }
.hero .lead { font-size: 1.2rem; color: var(--ink-soft); max-width: 34em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 20px; }
.trust { display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: .92rem; color: var(--ink-soft); font-weight: 700; }
.trust span::before { content: "✓"; color: var(--green); margin-right: 6px; font-weight: 900; }
.hero-photo { position: relative; }
.hero-photo .photo { aspect-ratio: 4 / 5; border-radius: 180px 180px var(--radius) var(--radius); }
.hero-photo .photo img { object-position: 50% 18%; } /* pozele de tip portret: fața rămâne în cadru */
.hero-badge { position: absolute; left: -18px; bottom: 28px; background: var(--paper); border-radius: var(--radius-sm); box-shadow: var(--shadow); padding: 14px 18px; max-width: 230px; font-size: .9rem; }
.hero-badge strong { display: block; font-family: var(--font-head); font-size: 1.6rem; color: var(--coral-deep); line-height: 1; }
@media (max-width: 880px) { .hero-badge { left: 12px; } }

/* ----- photos / placeholders ----- */
.photo { position: relative; width: 100%; background: linear-gradient(135deg, var(--coral-soft), var(--sun-soft) 55%, var(--sky-soft)); border-radius: var(--radius); overflow: hidden; }
.photo img { width: 100%; height: 100%; object-fit: cover; }
.photo.empty::after { content: attr(data-label); position: absolute; inset: 0; display: grid; place-items: center; text-align: center; padding: 16px; color: var(--ink-soft); font-weight: 700; font-size: .95rem; }
.photo.empty::before { content: ""; position: absolute; left: 50%; top: 38%; width: 48px; height: 48px; transform: translate(-50%, -50%); background: no-repeat center/contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235d5866' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='14' rx='3'/%3E%3Ccircle cx='12' cy='12' r='3.2'/%3E%3Cpath d='M8 5l1.5-2h5L16 5'/%3E%3C/svg%3E"); opacity: .55; }

/* ----- cards ----- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
@media (max-width: 880px) { .cards { grid-template-columns: 1fr; } }
.card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; box-shadow: var(--shadow); }
.card .icon { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; margin-bottom: 18px; font-size: 1.6rem; }
.card .icon.coral { background: var(--coral-soft); }
.card .icon.sky { background: var(--sky-soft); }
.card .icon.sun { background: var(--sun-soft); }
.card p { color: var(--ink-soft); }
.card .btn { margin-top: auto; }
.card .tag { align-self: flex-start; font-size: .78rem; font-weight: 800; background: var(--sun-soft); color: #8a5a00; padding: 4px 10px; border-radius: 999px; margin-bottom: 12px; }
.card.featured { border: 2px solid var(--coral); }

/* ----- countdown strip ----- */
.strip { background: var(--ink); color: #fff; padding: 28px 0; }
.strip .container { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
@media (max-width: 720px) { .strip .container { grid-template-columns: 1fr; } }
.strip-item { display: flex; align-items: center; gap: 18px; }
.strip-item .num { font-family: var(--font-head); font-size: 2.6rem; color: var(--sun); line-height: 1; min-width: 2.4ch; text-align: right; }
.strip-item a { color: #fff; font-weight: 800; }

/* ----- story ----- */
.story-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: center; }
@media (max-width: 880px) { .story-grid { grid-template-columns: 1fr; gap: 28px; } }
.story-grid .photo { aspect-ratio: 1; border-radius: var(--radius) 160px var(--radius) var(--radius); }
.story-grid .photo img { object-position: 50% 55%; }
.quote { font-family: var(--font-head); font-size: 1.35rem; font-style: italic; border-left: 4px solid var(--coral); padding-left: 18px; margin: 24px 0; color: var(--ink); }
.info-box { background: var(--sky-soft); border-radius: var(--radius-sm); padding: 20px 22px; margin-top: 24px; font-size: .97rem; }
.info-box strong { color: var(--sky); }

/* ----- needs / transparency ----- */
.needs { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
@media (max-width: 720px) { .needs { grid-template-columns: 1fr; } }
.need { display: flex; gap: 16px; background: var(--paper); border-radius: var(--radius-sm); padding: 18px 20px; border: 1px solid var(--line); }
.need .emoji { font-size: 1.5rem; }
.need h3 { font-size: 1.08rem; margin-bottom: .2em; font-family: var(--font-body); font-weight: 800; }
.need p { margin: 0; color: var(--ink-soft); font-size: .95rem; }
.progress-wrap { max-width: 640px; margin: 40px auto 0; background: var(--paper); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); }
.progress-nums { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 10px; flex-wrap: wrap; gap: 8px; }
.progress-nums strong { font-family: var(--font-head); font-size: 1.8rem; color: var(--coral-deep); }
.progress-bar { height: 14px; background: var(--sand); border-radius: 999px; overflow: hidden; }
.progress-bar span { display: block; height: 100%; background: linear-gradient(90deg, var(--coral), var(--sun)); border-radius: 999px; width: 0; transition: width 1.2s ease; }

/* ----- donate ----- */
.donate-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
@media (max-width: 880px) { .donate-grid { grid-template-columns: 1fr; } }
.iban-row { display: flex; align-items: center; gap: 10px; background: var(--cream); border: 1px dashed var(--line); border-radius: var(--radius-sm); padding: 12px 14px; margin: 8px 0 14px; flex-wrap: wrap; }
.iban-row code { font-family: ui-monospace, "Cascadia Mono", Consolas, monospace; font-size: 1rem; font-weight: 700; letter-spacing: .03em; flex: 1; min-width: 0; word-break: break-all; }
dl.details { display: grid; grid-template-columns: auto 1fr; gap: 6px 16px; margin: 0; font-size: .95rem; }
dl.details dt { color: var(--ink-soft); }
dl.details dd { margin: 0; font-weight: 700; }

/* ----- gallery ----- */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
/* poze de tip portret: plăci 3:4; prima e mare (2×2); ultima se lățește ca să nu rămână găuri la final */
.gallery .photo { aspect-ratio: 3 / 4; }
.gallery .photo img { position: absolute; inset: 0; object-position: 50% 30%; } /* poza nu dictează înălțimea rândului */
.gallery .photo:nth-child(1) { grid-column: span 2; grid-row: span 2; aspect-ratio: auto; }
@media (min-width: 721px) {
  .gallery .photo:last-child:nth-child(3n+2):not(:nth-child(2)) { grid-column: span 2; aspect-ratio: auto; }
  .gallery .photo:last-child:nth-child(3n+1):not(:first-child) { grid-column: span 3; aspect-ratio: 21 / 9; }
}
@media (max-width: 720px) {
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .gallery .photo:nth-child(1) { grid-row: auto; aspect-ratio: 3 / 4; }
  .gallery .photo:last-child:nth-child(2n):not(:nth-child(2)) { grid-column: span 2; aspect-ratio: 4 / 3; }
}

/* ----- FAQ ----- */
.faq { max-width: 780px; margin: 0 auto; }
.faq details { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-sm); margin-bottom: 12px; padding: 0 20px; }
.faq summary { cursor: pointer; font-weight: 800; padding: 18px 0; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.4rem; line-height: 1; color: var(--coral); }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--ink-soft); }

/* ----- footer ----- */
.site-footer { background: var(--ink); color: #d9d4de; padding: 56px 0 28px; font-size: .95rem; }
.site-footer a { color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; }
@media (max-width: 880px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer h3 { color: #fff; font-size: 1.05rem; font-family: var(--font-body); font-weight: 800; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 6px; }
.footer-bottom { border-top: 1px solid #47434f; margin-top: 36px; padding-top: 20px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: .85rem; }

/* ----- forms ----- */
.page-hero { padding: 48px 0 24px; }
.page-hero .lead { font-size: 1.15rem; color: var(--ink-soft); max-width: 40em; }
.form-card { background: var(--paper); border-radius: var(--radius); box-shadow: var(--shadow); border: 1px solid var(--line); padding: 32px; }
@media (max-width: 600px) { .form-card { padding: 22px 18px; } }
.form-layout { display: grid; grid-template-columns: 1fr 340px; gap: 32px; align-items: start; }
@media (max-width: 960px) { .form-layout { grid-template-columns: 1fr; } }
.side-note { position: sticky; top: 92px; }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; min-width: 0; }
.field label, .field .label { font-weight: 800; font-size: .92rem; }
.field .hint { font-size: .84rem; color: var(--ink-soft); }
.field input, .field select, .field textarea { font: inherit; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: var(--radius-sm); background: var(--cream); color: var(--ink); width: 100%; transition: border-color .15s ease; }
.field input:focus, .field select:focus { border-color: var(--sky); background: #fff; outline: none; }
.field.invalid input, .field.invalid select { border-color: var(--coral-deep); background: #fff6f4; }
.field .error { display: none; color: var(--coral-deep); font-size: .84rem; font-weight: 700; }
.field.invalid .error { display: block; }
.field.valid input { border-color: var(--green); }
.row { display: grid; gap: 0 16px; }
.row-2 { grid-template-columns: 1fr 1fr; }
.row-3 { grid-template-columns: 2fr 1fr 1fr; }
.row-4 { grid-template-columns: repeat(4, 1fr); }
.row-name { grid-template-columns: 1.3fr .6fr 1.3fr; }
@media (max-width: 600px) { .row-2, .row-3, .row-name { grid-template-columns: 1fr; } .row-4 { grid-template-columns: 1fr 1fr; } }
.check { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 14px; font-size: .95rem; cursor: pointer; }
.check input { width: 22px; height: 22px; flex: none; margin-top: 2px; accent-color: var(--coral); }
.check.invalid { color: var(--coral-deep); }
fieldset { border: 0; padding: 0; margin: 0 0 24px; min-width: 0; }
legend { font-family: var(--font-head); font-size: 1.3rem; font-weight: 600; margin-bottom: 14px; padding: 0; display: flex; align-items: center; gap: 10px; }
legend .step { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--coral-soft); color: var(--coral-deep); font-family: var(--font-body); font-size: .95rem; font-weight: 900; }
.divider { height: 1px; background: var(--line); margin: 8px 0 26px; }

/* signature */
.sig-wrap { position: relative; border: 2px dashed var(--line); border-radius: var(--radius-sm); background: #fff; touch-action: none; }
.sig-wrap.invalid { border-color: var(--coral-deep); }
.sig-wrap canvas { display: block; width: 100%; height: 190px; cursor: crosshair; }
.sig-wrap .sig-hint { position: absolute; inset: 0; display: grid; place-items: center; color: #b9b0a6; pointer-events: none; font-weight: 700; }
.sig-wrap.signed .sig-hint { display: none; }
.sig-wrap .sig-line { position: absolute; left: 24px; right: 24px; bottom: 44px; border-bottom: 1px solid #e2d8cd; pointer-events: none; }
.sig-actions { display: flex; justify-content: space-between; align-items: center; margin-top: 8px; }

/* notices */
.notice { border-radius: var(--radius-sm); padding: 16px 18px; font-size: .95rem; margin-bottom: 20px; }
.notice-sun { background: var(--sun-soft); border: 1px solid #f3dc9c; }
.notice-sky { background: var(--sky-soft); border: 1px solid #c4dcee; }
.notice-coral { background: var(--coral-soft); border: 1px solid #f6c2b6; }
.notice strong { display: block; margin-bottom: 2px; }

.steps-list { counter-reset: s; list-style: none; padding: 0; margin: 0; }
.steps-list li { counter-increment: s; position: relative; padding-left: 44px; margin-bottom: 16px; }
.steps-list li::before { content: counter(s); position: absolute; left: 0; top: 0; width: 30px; height: 30px; border-radius: 50%; background: var(--coral); color: #fff; display: grid; place-items: center; font-weight: 900; font-size: .9rem; }

/* success */
.success { text-align: center; padding: 24px 8px; }
.success .big { font-size: 3.4rem; line-height: 1; margin-bottom: 12px; }
.share { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 20px; }
.hidden { display: none !important; }

/* calculator */
.calc { background: var(--sky-soft); border-radius: var(--radius); padding: 28px; }
.calc-result { background: var(--paper); border-radius: var(--radius-sm); padding: 18px 20px; margin-top: 8px; }
.calc-result strong { font-family: var(--font-head); font-size: 2rem; color: var(--coral-deep); display: block; line-height: 1.1; }
.seg { display: flex; background: var(--paper); border-radius: 999px; padding: 4px; gap: 4px; margin-bottom: 18px; border: 1px solid #c4dcee; }
.seg button { flex: 1; border: 0; background: transparent; padding: 10px 12px; border-radius: 999px; font: inherit; font-weight: 800; color: var(--ink-soft); cursor: pointer; }
.seg button[aria-pressed="true"] { background: var(--sky); color: #fff; }

.routes { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
@media (max-width: 880px) { .routes { grid-template-columns: 1fr; } }

.cui-row { display: flex; gap: 10px; }
.cui-row input { flex: 1; }
.lookup-status { font-size: .88rem; margin-top: 4px; font-weight: 700; }
.lookup-status.ok { color: var(--green); }
.lookup-status.err { color: var(--coral-deep); }
.suma-hint { margin: 4px 0 0; padding: 10px 14px; border-radius: var(--radius-sm); background: var(--sun-soft); font-size: .9rem; line-height: 1.5; color: var(--ink); }

/* contract preview modal */
.modal { position: fixed; inset: 0; background: rgba(30, 25, 35, .6); z-index: 100; display: flex; align-items: flex-start; justify-content: center; padding: 24px 12px; overflow-y: auto; }
.modal-inner { background: #fff; width: 100%; max-width: 860px; border-radius: var(--radius); box-shadow: 0 30px 60px rgba(0,0,0,.3); }
.modal-bar { position: sticky; top: 0; display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 14px 18px; background: var(--paper); border-bottom: 1px solid var(--line); border-radius: var(--radius) var(--radius) 0 0; flex-wrap: wrap; }
.modal-bar .actions { display: flex; gap: 8px; flex-wrap: wrap; }
.contract { padding: 40px 48px; font-family: "Times New Roman", Times, serif; font-size: 15px; line-height: 1.55; color: #111; }
@media (max-width: 600px) { .contract { padding: 24px 18px; } }
.contract h2 { font-family: inherit; text-align: center; font-size: 19px; margin-bottom: 4px; letter-spacing: .02em; }
.contract h4 { font-size: 15px; margin: 18px 0 6px; }
.contract .sub { text-align: center; margin-bottom: 24px; }
.contract .signs { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; margin-top: 40px; }
.contract .signs div { min-height: 110px; }

/* dev banner */
.dev-banner { background: var(--sun); color: #3d2c00; font-size: .85rem; padding: 10px 16px; }
.dev-banner summary { cursor: pointer; font-weight: 800; }
.dev-banner ul { margin: 6px 0 0; padding-left: 20px; columns: 2; }
@media (max-width: 600px) { .dev-banner ul { columns: 1; } }

.missing { color: var(--ink-soft); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ----- contor, presă, calculator mic, străinătate ----- */
.counter { display: inline-flex; align-items: center; gap: 6px; background: var(--paper); border: 1px solid var(--line); border-radius: 999px; padding: 8px 16px; font-size: .95rem; margin: 0; }
.press { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; max-width: 900px; margin: 0 auto; }
@media (max-width: 720px) { .press { grid-template-columns: 1fr; } }
.press-item { display: flex; flex-direction: column; gap: 6px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; text-decoration: none; color: var(--ink); box-shadow: var(--shadow); transition: transform .15s ease; }
.press-item:hover { transform: translateY(-2px); }
.press-src { font-size: .78rem; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; color: var(--coral-deep); }
.press-item strong { font-family: var(--font-head); font-size: 1.2rem; font-weight: 600; line-height: 1.3; }
.press-more { color: var(--sky); font-weight: 800; font-size: .92rem; margin-top: auto; }
.mini-calc { padding: 22px; }
.mini-calc h3 { margin-bottom: 12px; }
.mini-calc .calc-result strong { font-size: 1.7rem; }
.abroad { margin-top: 16px; border-top: 1px dashed var(--line); padding-top: 12px; }
.abroad summary { cursor: pointer; font-weight: 800; color: var(--sky); }

/* ----- buton fix pe telefon ----- */
.mobile-cta { display: none; }
@media (max-width: 720px) {
  .mobile-cta {
    display: block; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
    background: rgba(255, 248, 241, .94); backdrop-filter: blur(10px); border-top: 1px solid var(--line);
    transform: translateY(110%); transition: transform .25s ease;
  }
  .mobile-cta.show { transform: translateY(0); }
  .mobile-cta .btn { width: 100%; }
  body.has-mobile-cta { padding-bottom: 76px; }
}

/* ----- optimizări telefon ----- */
@media (max-width: 600px) {
  body { font-size: 16.5px; }
  h1 { font-size: 2.05rem; }
  section { padding: 44px 0; }
  .hero { padding: 26px 0 44px; }
  .hero .lead { font-size: 1.08rem; }
  .hero-actions { margin: 22px 0 16px; }
  .hero-actions .btn { width: 100%; }
  .hero-photo .photo { aspect-ratio: 1 / 0.95; border-radius: 140px 140px var(--radius) var(--radius); }
  .section-head { margin-bottom: 28px; }
  .story-grid .photo { aspect-ratio: 4 / 3; border-radius: var(--radius) 100px var(--radius) var(--radius); }
  .page-hero { padding: 26px 0 8px; }
  .page-hero .lead { font-size: 1.06rem; }
  .card { padding: 22px 18px; }
  .form-card { padding: 22px 16px; }
  .calc { padding: 20px 16px; }
  .seg button { padding: 10px 6px; font-size: .9rem; }
  .strip-item a { display: inline-block; padding: 8px 0; }
  .strip-item .num { font-size: 2.2rem; }
  /* Nume pe tot rândul, apoi Inițiala + Prenume alăturate */
  .row-name { grid-template-columns: 122px 1fr; gap: 0 12px; align-items: end; }
  .row-name label { white-space: nowrap; }
  .row-name > :first-child { grid-column: 1 / -1; }
  /* Strada pe tot rândul, apoi Număr + Cod poștal */
  .row-3 { grid-template-columns: 1fr 1fr; }
  .row-3 > :first-child { grid-column: 1 / -1; }
  .sig-wrap canvas { height: 170px; }
  .sig-wrap .sig-line { bottom: 38px; }
  .iban-row { padding: 10px 12px; }
  .iban-row code { font-size: .95rem; }
  .modal { padding: 0; }
  .modal-inner { border-radius: 0; min-height: 100%; }
  .modal-bar { border-radius: 0; }
  .modal-bar .actions { width: 100%; }
  .modal-bar .actions .btn { flex: 1 1 auto; }
}
.sig-wrap canvas { touch-action: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .progress-bar span { transition: none; }
}

@media print {
  body * { visibility: hidden; }
  .contract, .contract * { visibility: visible; }
  .contract { position: absolute; left: 0; top: 0; padding: 0; width: 100%; }
  .modal { position: static; background: none; padding: 0; }
  .modal-inner { box-shadow: none; }
  @page { margin: 2cm; }
}
