/* ImigrareUK — design system v2 */
:root {
  --navy-950: #08122E;
  --navy-900: #0E1F4D;
  --navy-800: #142A66;
  --primary: #1E3A8A;
  --ink: #0F172A;
  --paper: #FBF9F5;
  --paper-2: #F3EFE7;
  --card: #FFFFFF;
  --muted-fg: #4B5563;
  --border: #E2DCCF;
  --border-strong: #C9C1B0;
  --accent: #B45309;
  --accent-hover: #92400E;
  --gold: #F2B84B;
  --gold-hover: #FFD27A;
  --gold-ink: #7A4B06;
  --uk-red: #C8102E;
  --wa: #0B6B57;
  --wa-hover: #08574E;
  --danger: var(--uk-red);
  --ring: #1E3A8A;

  --font-head: "EB Garamond", Georgia, "Times New Roman", serif;
  --font-body: "Lato", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --radius: 16px;
  --radius-sm: 10px;
  --shadow-1: 0 1px 2px rgba(15, 23, 42, .05), 0 4px 14px rgba(15, 23, 42, .06);
  --shadow-2: 0 18px 50px -12px rgba(8, 18, 46, .28);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --ease-settle: cubic-bezier(.16, 1, .3, 1);
  --header-h: 72px;
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='matrix' values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0.05 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 400 1.0625rem/1.7 var(--font-body); color: var(--ink); background: var(--paper); -webkit-font-smoothing: antialiased; padding-bottom: 72px; }
img, svg { max-width: 100%; }
h1, h2, h3 { font-family: var(--font-head); line-height: 1.12; margin: 0; letter-spacing: -.012em; color: var(--navy-900); font-weight: 600; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
a { color: var(--primary); text-underline-offset: 3px; }
address { font-style: normal; }

.container { width: 100%; max-width: 1200px; margin-inline: auto; padding-inline: 20px; }
.container.narrow { max-width: 860px; }
.icon { width: 1.2em; height: 1.2em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; vertical-align: -.2em; }

:focus-visible { outline: 3px solid var(--ring); outline-offset: 3px; border-radius: 6px; }
.hero :focus-visible, .page-hero :focus-visible, .contact :focus-visible, .site-footer :focus-visible, .verify :focus-visible, .cta-band :focus-visible, .topbar :focus-visible { outline-color: var(--gold); }
.skip-link { position: absolute; left: 12px; top: -80px; z-index: 300; background: var(--navy-900); color: #fff; padding: 12px 18px; border-radius: 10px; }
.skip-link:focus { top: 12px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 12px 24px; font: 700 1rem/1.2 var(--font-body);
  border: 2px solid transparent; border-radius: 12px; text-decoration: none; cursor: pointer;
  transition: background-color .22s var(--ease), color .22s var(--ease), border-color .22s var(--ease), transform .22s var(--ease), box-shadow .22s var(--ease);
  touch-action: manipulation;
}
.btn:active { transform: translateY(1px); }
.btn-sm { min-height: 44px; padding: 10px 18px; font-size: .95rem; }
.btn-lg { min-height: 56px; padding: 14px 28px; font-size: 1.05rem; }
.btn-block { width: 100%; }
.btn-accent { background: var(--accent); color: #fff; box-shadow: 0 6px 18px -6px rgba(180, 83, 9, .55); }
.btn-accent:hover { background: var(--accent-hover); }
.btn-gold { background: var(--gold); color: var(--navy-950); box-shadow: 0 8px 24px -8px rgba(242, 184, 75, .6); }
.btn-gold:hover { background: var(--gold-hover); transform: translateY(-1px); }
.btn-wa { background: var(--wa); color: #fff; }
.btn-wa:hover { background: var(--wa-hover); }
.btn-wa-outline { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .5); }
.btn-wa-outline:hover { background: rgba(255, 255, 255, .12); border-color: #fff; }
.btn-outline { background: transparent; color: var(--navy-900); border-color: var(--navy-900); }
.btn-outline:hover { background: var(--navy-900); color: #fff; }
.btn-ghost { background: transparent; color: var(--navy-900); border-color: var(--border-strong); }
.btn-ghost:hover { border-color: var(--navy-900); }

/* Top bar */
.topbar { background: var(--navy-950); color: rgba(255, 255, 255, .85); font-size: .85rem; }
.topbar-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 40px; }
.topbar a { color: #fff; text-decoration: none; font-weight: 700; }
.topbar a:hover { text-decoration: underline; }
.topbar .icon { color: var(--gold); }
.topbar-mid { display: none; }
@media (max-width: 639px) {
  .topbar-inner { justify-content: center; }
  .topbar-inner > a { display: none; }
}
.topbar-inner > span:first-child { white-space: nowrap; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 100; background: rgba(251, 249, 245, .94); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--border); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: var(--header-h); }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--navy-900); }
.brand-mark { width: 40px; height: 40px; flex: none; }
.brand-name { font-family: var(--font-head); font-size: 1.7rem; font-weight: 700; letter-spacing: -.015em; }
.brand-name span { color: var(--uk-red); }
.brand-light { color: #fff; }
.brand-light .brand-name span { color: #FF8A9B; }
.header-actions { display: flex; align-items: center; gap: 10px; }
.header-cta { display: none; }
.nav-toggle { display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px; background: #fff; border: 1px solid var(--border-strong); border-radius: 12px; color: var(--navy-900); cursor: pointer; }
.nav-toggle .icon { width: 24px; height: 24px; }
.nav-toggle .icon-close { display: none; }
.nav-toggle[aria-expanded="true"] .icon-open { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: block; }

.main-nav { position: absolute; left: 0; right: 0; top: 100%; background: var(--paper); border-bottom: 1px solid var(--border); box-shadow: var(--shadow-2); display: none; padding: 8px 20px 20px; max-height: calc(100vh - var(--header-h) - 40px); overflow-y: auto; }
.main-nav.is-open { display: block; }
.main-nav > ul > li > a, .sub-toggle { display: flex; align-items: center; justify-content: space-between; width: 100%; padding: 15px 4px; color: var(--ink); text-decoration: none; font: 700 1rem var(--font-body); border: 0; border-bottom: 1px solid var(--border); background: none; cursor: pointer; text-align: left; }
.main-nav a[aria-current="page"] { color: var(--accent); }
.sub-toggle .icon { transition: transform .2s var(--ease); }
.sub-toggle[aria-expanded="true"] .icon { transform: rotate(180deg); }
.sub { display: none; padding: 6px 0 10px 12px; }
.sub.is-open { display: block; }
.sub a { display: flex; align-items: center; gap: 10px; padding: 12px 8px; color: var(--ink); text-decoration: none; font-weight: 700; border-radius: 10px; }
.sub a .icon { color: var(--accent); width: 20px; height: 20px; }
.sub a:hover { background: var(--paper-2); }

/* Hero */
.hero {
  position: relative; color: #fff; overflow: hidden;
  background-image: var(--grain),
    radial-gradient(900px 500px at 85% -10%, rgba(242, 184, 75, .16), transparent 60%),
    radial-gradient(700px 500px at -5% 110%, rgba(200, 16, 46, .16), transparent 60%),
    linear-gradient(165deg, var(--navy-800) 0%, var(--navy-950) 100%);
  background-blend-mode: overlay, normal, normal, normal;
}
.skyline { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: 190px; color: rgba(255, 255, 255, .13); pointer-events: none; }
.skyline-accent { color: var(--gold); opacity: .55; }
.hero-grid { position: relative; display: grid; gap: 36px; padding-block: 56px 130px; }
.eyebrow { display: flex; align-items: flex-start; gap: 10px; font: 900 .78rem/1.35 var(--font-body); letter-spacing: .16em; text-transform: uppercase; color: var(--accent); margin-bottom: 16px; }
.eyebrow::before { content: ""; display: inline-block; width: 28px; height: 2px; margin-top: .5em; background: currentColor; flex: none; }
.section-head.center .eyebrow, .footer-cta .eyebrow { justify-content: center; }
.hero .eyebrow, .page-hero .eyebrow, .eyebrow-light { color: var(--gold); }
.hero h1 { color: #fff; font-size: clamp(2.4rem, 7.4vw, 4.4rem); font-weight: 600; }
.hero h1 em { font-style: italic; color: var(--gold); font-weight: 500; }
.lead { font-size: 1.18rem; line-height: 1.6; margin-top: 20px; max-width: 60ch; color: rgba(255, 255, 255, .88); }
.hero-actions { display: flex; flex-direction: column; gap: 12px; margin-top: 30px; }
.hero-chips { display: flex; flex-wrap: wrap; gap: 8px 10px; margin-top: 28px; }
.hero-chips li { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border: 1px solid rgba(255, 255, 255, .22); border-radius: 999px; font-size: .9rem; font-weight: 700; color: rgba(255, 255, 255, .92); background: rgba(255, 255, 255, .06); }
.hero-chips .icon { color: var(--gold); }

/* Hero entrance: choreographed on load, not a scroll trigger (it's above the fold) */
@keyframes hero-in { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.hero-copy > .eyebrow { animation: hero-in .7s var(--ease-settle) both; }
.hero-copy > h1 { animation: hero-in .8s .09s var(--ease-settle) both; }
.hero-copy > .lead { animation: hero-in .8s .18s var(--ease-settle) both; }
.hero-copy > .hero-actions { animation: hero-in .8s .27s var(--ease-settle) both; }
.hero-copy > .hero-chips { animation: hero-in .8s .36s var(--ease-settle) both; }
.hero-card { animation: hero-in .9s .3s var(--ease-settle) both; }

.hero-card { background: #fff; color: var(--ink); border-radius: 20px; padding: 26px; box-shadow: var(--shadow-2); }
.hero-card h2 { font-size: 1.75rem; }
.hero-card > p { color: var(--muted-fg); margin: 4px 0 12px; }
.quick-list li + li { border-top: 1px solid var(--border); }
.quick-list a { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 60px; padding: 10px 4px; text-decoration: none; color: var(--ink); transition: padding .2s var(--ease), color .2s var(--ease); }
.quick-list a:hover { padding-left: 10px; color: var(--primary); }
.quick-list strong { display: block; line-height: 1.3; }
.quick-list small { display: block; color: var(--muted-fg); font-size: .86rem; line-height: 1.4; }
.quick-list .icon { color: var(--accent); }

/* Proof bar */
.proof { position: relative; z-index: 2; margin-top: -56px; }
.proof-grid { display: grid; grid-template-columns: 1fr; gap: 0; background: #fff; border: 1px solid var(--border); border-radius: 20px; box-shadow: var(--shadow-2); overflow: hidden; }
.proof-item { display: flex; align-items: center; gap: 14px; padding: 18px 22px; color: var(--ink); text-decoration: none; transition: background-color .2s var(--ease); }
a.proof-item:hover { background: var(--paper); }
.proof-item + .proof-item { border-top: 1px solid var(--border); }
.proof-item strong { display: block; color: var(--navy-900); line-height: 1.2; }
.proof-item small { display: block; color: var(--muted-fg); font-size: .85rem; line-height: 1.3; }
.proof-item > .icon { width: 34px; height: 34px; color: var(--accent); }
.proof-logo { height: 46px; width: auto; }
.proof-score { font: 700 2rem/1 var(--font-head); min-width: 54px; color: var(--navy-900); }
.proof-score.tp { color: #00875A; }
.proof-score.g { color: #B7791F; }

/* Stats band */
.stats-band { background: var(--paper); border-bottom: 1px solid var(--border); padding-block: 44px; }
.stats-grid { display: grid; gap: 28px; text-align: center; }
.stat { display: grid; gap: 6px; justify-items: center; }
.stat-num { font: 600 2.6rem/1 var(--font-head); color: var(--navy-900); }
.stat-label { max-width: 26ch; color: var(--muted-fg); font-size: .95rem; }

/* Employer band: reuses .eurowin-band, adds an accent edge */
.employer-band { border-left: 4px solid var(--accent); }

/* Newsletter */
.newsletter-band { display: grid; gap: 24px; align-items: center; background: var(--paper-2); border: 1px solid var(--border); border-radius: 20px; padding: 30px; }
.newsletter-copy h2 { font-size: 1.8rem; }
.newsletter-copy p:not(.eyebrow) { margin-top: 10px; color: var(--muted-fg); }
.newsletter-form { display: grid; gap: 12px; }
.newsletter-form .field label { font-size: .95rem; }
.newsletter-form .form-status { text-align: left; font-size: .95rem; }

/* Review quotes (real Google reviews, fetched via api/google-rating.php) */
.review-quotes { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); max-width: 980px; margin: 28px auto 0; }
.review-quote { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 22px 24px; box-shadow: var(--shadow-1); }
.review-quote .stars { color: #00B67A; margin-bottom: 10px; }
.review-quote .stars .icon { width: 18px; height: 18px; }
.review-text { color: var(--ink); font-style: italic; line-height: 1.6; }
.review-author { margin-top: 10px; font-weight: 700; color: var(--muted-fg); font-size: .9rem; }

/* Sections */
.section { padding-block: 72px; }
.section-sm { padding-block: 40px; }
.section-alt { background: var(--paper-2); }
.section-head { max-width: 740px; margin-bottom: 40px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.left { margin-bottom: 0; }
.section-head h2, .contact h2 { font-size: clamp(2rem, 5vw, 3rem); }
.section-head > p:not(.eyebrow) { margin-top: 16px; color: var(--muted-fg); font-size: 1.1rem; }
.section-head .btn { margin-top: 24px; }

/* Cards */
.cards { display: grid; gap: 18px; }
.card { display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; color: var(--ink); text-decoration: none; box-shadow: var(--shadow-1); transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease); }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-2); border-color: var(--border-strong); }
.card-icon { display: inline-flex; align-items: center; justify-content: center; width: 54px; height: 54px; border-radius: 14px; background: linear-gradient(145deg, #EEF2FF, #E3EAFB); color: var(--primary); margin-bottom: 18px; }
.card-icon .icon { width: 28px; height: 28px; }
.card h3 { font-size: 1.6rem; }
.card > p { margin-top: 10px; color: var(--muted-fg); }
.card-link { display: inline-flex; align-items: center; gap: 8px; margin-top: auto; padding-top: 20px; min-height: 44px; font-weight: 700; color: var(--accent); text-decoration: none; }
.card-link .icon { transition: transform .2s var(--ease); }
.card:hover .card-link .icon, .card-link:hover .icon { transform: translateX(5px); }
.card-link:hover { color: var(--accent-hover); text-decoration: underline; }

/* Audience */
.audience { display: grid; gap: 18px; max-width: 980px; margin-inline: auto; }
.audience-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow-1); }
.audience-card h3 { font-size: 1.7rem; margin-bottom: 14px; }

.checks { display: grid; gap: 10px; margin-top: 14px; }
.checks li { position: relative; padding-left: 30px; }
.checks li::before { content: ""; position: absolute; left: 0; top: .5em; width: 15px; height: 8px; border-left: 2.5px solid var(--accent); border-bottom: 2.5px solid var(--accent); transform: rotate(-45deg); }
.audience-card .checks a { font-weight: 700; text-decoration: none; }
.audience-card .checks a:hover { text-decoration: underline; }

/* Steps */
.steps { display: grid; gap: 18px; }
.steps li { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 28px 24px; }
.step-no { display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px; border-radius: 50%; background: var(--navy-900); color: var(--gold); font: 600 1.5rem/1 var(--font-head); margin-bottom: 16px; }
.steps h3 { font-size: 1.45rem; }
.steps p { margin-top: 8px; color: var(--muted-fg); }

/* Verify */
.verify { position: relative; background-image: var(--grain), linear-gradient(165deg, var(--navy-900), var(--navy-950)); background-blend-mode: overlay, normal; color: #fff; }
.verify h2 { color: #fff; font-size: clamp(2rem, 5vw, 3rem); }
.verify-grid { display: grid; gap: 36px; align-items: center; }
.verify-list { display: grid; gap: 10px; margin-top: 22px; font-weight: 700; }
.verify-list li { display: flex; align-items: center; gap: 10px; }
.verify-list .icon { color: var(--gold); }
.verify-card { background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .16); border-radius: 20px; padding: 26px; display: grid; gap: 16px; color: rgba(255, 255, 255, .88); }

/* Creds */
.split { display: grid; gap: 36px; align-items: start; }
.creds { display: grid; gap: 12px; }
.creds li { display: flex; align-items: center; gap: 16px; background: #fff; border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 16px 18px; }
.creds .icon { width: 30px; height: 30px; color: var(--primary); }
.creds strong { display: block; color: var(--navy-900); }
.creds span { display: block; color: var(--muted-fg); font-size: .92rem; }

/* IAA badge */
.iaa-badge { display: inline-flex; align-items: center; gap: 14px; background: #fff; color: var(--ink); border-radius: 14px; padding: 12px 18px 12px 14px; box-shadow: var(--shadow-1); max-width: 100%; }
.iaa-badge strong { display: block; font-size: .95rem; line-height: 1.3; color: var(--navy-900); }
.iaa-badge span { display: block; font-size: .88rem; color: var(--muted-fg); }
.iaa-badge a { color: var(--primary); font-weight: 700; }
.iaa-logo { display: block; height: 64px; width: auto; max-width: 120px; object-fit: contain; }
.iaa-logo ~ .iaa-shield { display: none; }
.iaa-shield { width: 32px; height: 32px; color: var(--primary); }
.iaa-badge.compact { margin-top: 6px; box-shadow: none; border: 1px solid var(--border); }
.iaa-badge.compact .iaa-logo { height: 48px; }

/* Ratings */
.ratings { display: grid; gap: 18px; max-width: 820px; margin-inline: auto; }
.rating-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow-1); }
.rating-source { font: 900 .78rem/1 var(--font-body); letter-spacing: .16em; text-transform: uppercase; color: var(--muted-fg); margin-bottom: 14px; }
.rating-score { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.score-num { font: 600 3.4rem/1 var(--font-head); color: var(--navy-900); }
.stars { display: inline-flex; gap: 3px; color: #00B67A; }
.stars .icon, .stars-fill .icon { width: 26px; height: 26px; }
.stars-fill { position: relative; display: inline-flex; }
.stars-base, .stars-top { display: inline-flex; gap: 3px; }
.stars-base { color: #D9D3C4; }
.stars-top { position: absolute; inset: 0; color: #F5A623; clip-path: inset(0 calc(100% - var(--fill, 100%)) 0 0); }
.rating-meta { margin-top: 12px; color: var(--muted-fg); }
.trustpilot-widget { min-height: 150px; margin-top: -8px; }
.trustpilot-widget[hidden] { display: none; }
.trustpilot-widget > a { color: var(--muted-fg); }

/* Related / guides */
.related { display: grid; gap: 16px; }
.related-title { font-size: 1.7rem; margin-bottom: 16px; }
.related-card { display: flex; flex-direction: column; gap: 8px; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 22px 24px; text-decoration: none; color: var(--ink); box-shadow: var(--shadow-1); transition: transform .25s var(--ease), box-shadow .25s var(--ease); }
.related-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-2); }
.related-card strong { font: 600 1.35rem/1.25 var(--font-head); color: var(--navy-900); }
.related-card span { color: var(--muted-fg); font-size: .96rem; }
.related-card .icon { color: var(--accent); }

/* FAQ */
.faq { display: grid; gap: 12px; }
.faq details { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-sm); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 60px; padding: 14px 22px; cursor: pointer; list-style: none; font-weight: 700; color: var(--navy-900); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .icon { transition: transform .25s var(--ease); color: var(--accent); }
.faq details[open] summary .icon { transform: rotate(180deg); }
.faq details[open] summary { border-bottom: 1px solid var(--border); }
.faq-a { padding: 16px 22px 22px; color: var(--muted-fg); }
.faq-a a { color: var(--primary); }

/* Contact + form */
.contact { position: relative; background-image: var(--grain), linear-gradient(165deg, var(--navy-800), var(--navy-950)); background-blend-mode: overlay, normal; color: #fff; }
.contact h2 { color: #fff; }
.contact-grid { display: grid; gap: 36px; align-items: start; }
.contact .lead { margin-bottom: 26px; }
/* Butoanele aflate direct în coloana de contact sunt blocuri, nu conținut inline:
   ca inline-flex depășeau rândul de text și se suprapuneau peste titlul de deasupra. */
.contact-copy > .btn { display: flex; width: fit-content; max-width: 100%; margin: 20px 0 0; }
.contact-points { display: grid; gap: 8px; margin-top: 26px; font-weight: 700; }
.contact-points li { display: flex; align-items: center; gap: 10px; }
.contact-points .icon { color: var(--gold); }
.contact-nap { display: grid; gap: 10px; margin: 24px 0; }
.contact-nap a, .contact-nap span { display: inline-flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; font-weight: 700; }
.contact-nap a:hover { text-decoration: underline; }
.contact-nap .icon { color: var(--gold); }

.form { background: #fff; color: var(--ink); border-radius: 20px; padding: 26px; box-shadow: var(--shadow-2); display: grid; gap: 18px; }
.field { display: grid; gap: 6px; }
.field label { font-weight: 700; color: var(--navy-900); }
.opt { font-weight: 400; color: var(--muted-fg); }
.field input[type="text"], .field input[type="tel"], .field select, .field textarea { width: 100%; min-height: 50px; padding: 12px 14px; font: 400 1rem/1.4 var(--font-body); color: var(--ink); background: #fff; border: 1.5px solid var(--border-strong); border-radius: 12px; transition: border-color .2s var(--ease), box-shadow .2s var(--ease); }
.field textarea { resize: vertical; min-height: 110px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 4px rgba(30, 58, 138, .18); }
.field [aria-invalid="true"] { border-color: var(--danger); }
.hint { font-size: .88rem; color: var(--muted-fg); }
.error { font-size: .92rem; font-weight: 700; color: var(--danger); }
.field-check { grid-template-columns: 24px 1fr; column-gap: 12px; align-items: start; }
.field-check input { width: 22px; height: 22px; margin-top: 3px; accent-color: var(--primary); }
.field-check label { font-weight: 400; font-size: .95rem; color: var(--ink); }
.field-check .error { grid-column: 1 / -1; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { min-height: 1.4em; font-weight: 700; color: var(--wa); text-align: center; }
.form-status.is-error { color: var(--danger); }
.form-status a { color: inherit; }

/* Page hero + crumbs */
.page-hero { position: relative; color: #fff; padding-block: 44px 56px; background-image: var(--grain), radial-gradient(800px 400px at 90% -20%, rgba(242, 184, 75, .16), transparent 60%), linear-gradient(165deg, var(--navy-800), var(--navy-950)); background-blend-mode: overlay, normal, normal; }
.page-hero h1 { color: #fff; font-size: clamp(2.2rem, 6vw, 3.6rem); max-width: 22ch; }
.page-hero .lead { max-width: 64ch; }
.crumbs { margin-bottom: 22px; font-size: .88rem; }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 4px 8px; }
.crumbs li { color: rgba(255, 255, 255, .7); }
.crumbs li + li::before { content: "/"; margin-right: 8px; color: rgba(255, 255, 255, .4); }
.crumbs a { color: rgba(255, 255, 255, .85); text-decoration: none; }
.crumbs a:hover { text-decoration: underline; color: #fff; }

/* Article */
.article-grid { display: grid; gap: 32px; padding-block: 48px; align-items: start; }
.prose { min-width: 0; }
.prose section + section { margin-top: 44px; }
.prose h2 { font-size: clamp(1.7rem, 4vw, 2.2rem); margin-bottom: 14px; scroll-margin-top: 100px; }
.prose p + p { margin-top: 14px; }
.prose p, .prose li { max-width: 72ch; }
.prose a { font-weight: 700; }
.prose .note { font-size: .92rem; color: var(--muted-fg); margin-top: 12px; }
.prose .sources { margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--border); font-size: .95rem; color: var(--muted-fg); }
.prose .checks { margin-top: 12px; }
.steps-list { counter-reset: n; display: grid; gap: 14px; margin-top: 14px; }
.steps-list li { position: relative; padding-left: 52px; counter-increment: n; }
.steps-list li::before { content: counter(n); position: absolute; left: 0; top: -2px; width: 36px; height: 36px; border-radius: 50%; background: var(--navy-900); color: var(--gold); display: flex; align-items: center; justify-content: center; font: 600 1.15rem var(--font-head); }
.callout { margin-top: 18px; padding: 18px 20px; border-left: 4px solid var(--gold); background: #FFF8E6; border-radius: 0 12px 12px 0; color: #3B2A08; }
.table-wrap { overflow-x: auto; margin: 16px 0; border: 1px solid var(--border); border-radius: 12px; background: #fff; }
table { width: 100%; border-collapse: collapse; font-size: .97rem; }
th, td { text-align: left; padding: 14px 16px; vertical-align: top; }
th { background: var(--paper-2); color: var(--navy-900); font-weight: 900; font-size: .85rem; letter-spacing: .04em; text-transform: uppercase; }
tr + tr td { border-top: 1px solid var(--border); }

.sidebar { display: grid; gap: 16px; }
.side-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow-1); display: grid; gap: 12px; }
.side-card h2 { font-size: 1.4rem; }
.side-card p { color: var(--muted-fg); font-size: .96rem; }
.side-toc ul { display: grid; gap: 4px; }
.side-toc a { display: block; padding: 8px 4px; color: var(--ink); text-decoration: none; font-size: .95rem; border-bottom: 1px solid var(--border); }
.side-toc a:hover { color: var(--accent); }
.legal .prose h2 { margin-top: 34px; }
.legal { padding-block: 40px 72px; }

/* CTA bands */
.cta-band { position: relative; background-image: var(--grain), linear-gradient(120deg, var(--navy-900), var(--navy-800)); background-blend-mode: overlay, normal; color: #fff; padding-block: 56px; }
.cta-band-inner { display: grid; gap: 24px; align-items: center; }
.cta-band h2 { color: #fff; font-size: clamp(1.9rem, 4.5vw, 2.6rem); }
.cta-band p { margin-top: 10px; color: rgba(255, 255, 255, .85); }
.cta-band-actions { display: flex; flex-direction: column; gap: 12px; }
.eurowin-band { display: grid; gap: 20px; align-items: center; background: #fff; border: 1px solid var(--border); border-radius: 20px; padding: 30px; box-shadow: var(--shadow-1); }
.eurowin-band h2 { font-size: 1.9rem; }
.eurowin-band p { margin-top: 10px; color: var(--muted-fg); }

/* Footer */
.site-footer { position: relative; background-image: var(--grain), linear-gradient(var(--navy-950), var(--navy-950)); background-blend-mode: overlay, normal; color: rgba(255, 255, 255, .82); padding-block: 0 32px; }
.footer-cta { display: grid; gap: 20px; align-items: center; padding-block: 44px; border-bottom: 1px solid rgba(255, 255, 255, .14); }
.footer-cta h2 { color: #fff; font-size: 2rem; }
.footer-cta p { margin-top: 6px; }
.footer-grid { display: grid; gap: 36px; padding-block: 48px; }
.footer-about { margin-top: 16px; max-width: 44ch; }
.footer-nap { display: grid; gap: 8px; margin-top: 18px; }
.footer-nap a, .footer-nap span { display: inline-flex; align-items: center; gap: 10px; }
.footer-nap .icon { color: var(--gold); }
.footer-title { font: 900 .78rem/1 var(--font-body); letter-spacing: .16em; text-transform: uppercase; color: var(--gold); margin-bottom: 14px; }
.site-footer ul { display: grid; gap: 2px; }
.site-footer a { color: rgba(255, 255, 255, .85); text-decoration: none; display: inline-block; padding-block: 6px; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-legal { padding-top: 26px; border-top: 1px solid rgba(255, 255, 255, .14); display: grid; gap: 14px; font-size: .9rem; color: rgba(255, 255, 255, .72); }
.footer-legal .iaa-badge { justify-self: start; }
.footer-legal a { display: inline; padding: 0; text-decoration: underline; }
.footer-copy { font-size: .88rem; }

/* Sticky mobile bar + cookie */
.wa-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: rgba(251, 249, 245, .96); border-top: 1px solid var(--border); }
.cookie { position: fixed; left: 12px; right: 12px; bottom: 84px; z-index: 120; max-width: 640px; margin-inline: auto; background: #fff; border: 1px solid var(--border-strong); border-radius: 16px; box-shadow: var(--shadow-2); padding: 18px 20px; }
.cookie[hidden] { display: none; }
.cookie h2 { font-size: 1.25rem; margin-bottom: 4px; }
.cookie p { font-size: .92rem; color: var(--muted-fg); }
.cookie-inner { display: grid; gap: 14px; }
.cookie-actions { display: flex; gap: 10px; flex-wrap: wrap; }

/* Reveal: subtle settle, not a generic fade-up */
.js .reveal { opacity: 0; transform: translateY(10px) scale(.985); transition: opacity .7s var(--ease-settle), transform .7s var(--ease-settle); }
.js .reveal.is-visible { opacity: 1; transform: none; }

@media (min-width: 640px) {
  .container { padding-inline: 28px; }
  .hero-actions { flex-direction: row; flex-wrap: wrap; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .proof-grid { grid-template-columns: repeat(2, 1fr); }
  .proof-item:nth-child(2) { border-top: 0; }
  .proof-item:nth-child(even) { border-left: 1px solid var(--border); }
  .related { grid-template-columns: repeat(2, 1fr); }
  .audience { grid-template-columns: repeat(2, 1fr); }
  .cta-band-actions { flex-direction: row; flex-wrap: wrap; }
  .cookie-inner { grid-template-columns: 1fr auto; align-items: center; }
  .stats-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 960px) {
  body { padding-bottom: 0; }
  .wa-bar { display: none; }
  .cookie { bottom: 24px; left: 24px; right: auto; margin: 0; }
  .topbar-mid { display: inline; }
  .nav-toggle { display: none; }
  .header-cta { display: inline-flex; }
  .main-nav { position: static; display: block; background: transparent; border: 0; box-shadow: none; padding: 0; max-height: none; overflow: visible; }
  .main-nav > ul { display: flex; align-items: center; gap: 2px; }
  .main-nav > ul > li > a, .sub-toggle { position: relative; width: auto; padding: 10px 14px; border: 0; border-radius: 10px; gap: 6px; }
  .main-nav > ul > li > a::after, .sub-toggle::after {
    content: ""; position: absolute; left: 14px; right: 14px; bottom: 6px; height: 2px; background: var(--accent);
    transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease-settle);
  }
  .main-nav > ul > li > a:hover::after, .main-nav > ul > li > a:focus-visible::after,
  .sub-toggle:hover::after, .sub-toggle[aria-expanded="true"]::after { transform: scaleX(1); }
  .main-nav > ul > li > a[aria-current="page"]::after { transform: scaleX(1); background: var(--accent); }
  .has-sub { position: relative; }
  .sub { position: absolute; top: calc(100% + 8px); left: 0; min-width: 300px; padding: 10px; background: #fff; border: 1px solid var(--border); border-radius: 16px; box-shadow: var(--shadow-2); }
  .hero-grid { grid-template-columns: 1.2fr .8fr; gap: 64px; align-items: center; padding-block: 88px 150px; }
  .skyline { height: 230px; }
  .proof-grid { grid-template-columns: repeat(4, 1fr); }
  .proof-item + .proof-item { border-top: 0; border-left: 1px solid var(--border); }
  .section { padding-block: 100px; }
  .cards { grid-template-columns: repeat(3, 1fr); gap: 24px; }
  .steps { grid-template-columns: repeat(4, 1fr); }
  .verify-grid { grid-template-columns: 1.3fr .7fr; gap: 64px; }
  .split { grid-template-columns: 1fr 1fr; gap: 64px; }
  .ratings { grid-template-columns: repeat(2, 1fr); max-width: 900px; }
  .stat-num { font-size: 3rem; }
  .related { grid-template-columns: repeat(3, 1fr); }
  .contact-grid { grid-template-columns: 1fr 1fr; gap: 64px; }
  .article-grid { grid-template-columns: minmax(0, 1fr) 340px; gap: 56px; padding-block: 64px; }
  .sidebar { position: sticky; top: calc(var(--header-h) + 20px); }
  .cta-band-inner { grid-template-columns: 1.3fr 1fr; }
  .cta-band-actions { justify-content: flex-end; }
  .eurowin-band { grid-template-columns: 1fr auto; padding: 40px; }
  .newsletter-band { grid-template-columns: 1.15fr .85fr; gap: 48px; padding: 40px; }
  .footer-cta { grid-template-columns: 1fr auto; }
  .footer-grid { grid-template-columns: 1.5fr 1fr 1fr; gap: 56px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
}
