:root {
  --ink: #15223a;
  --muted: #5d687a;
  --navy: #153a64;
  --blue: #1f6fb2;
  --blue-soft: #eaf4fb;
  --red: #c63b42;
  --green: #3d7b4f;
  --paper: #ffffff;
  --wash: #f3f7fa;
  --line: #dce5ec;
  --shadow: 0 16px 46px rgba(21, 58, 100, .11);
  --radius: 18px;
  --gold: #f2c96d;
  --deep: #071b35;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--wash);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.65;
}
a { color: var(--blue); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--navy); }
button, input { font: inherit; }
.skip { position: fixed; top: -100px; left: 1rem; background: #fff; padding: .8rem 1rem; z-index: 30; }
.skip:focus { top: 1rem; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255,255,255,.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}
.header-inner, .wrap { width: min(1180px, calc(100% - 32px)); margin: 0 auto; }
.header-inner { min-height: 74px; display: flex; align-items: center; gap: 28px; }
.brand { display: flex; align-items: center; gap: 11px; color: var(--ink); text-decoration: none; white-space: nowrap; }
.brand-mark { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; color: #fff; background: linear-gradient(135deg, var(--red), var(--navy)); font-weight: 800; letter-spacing: -.04em; }
.brand-name { font-weight: 800; letter-spacing: -.03em; }
.brand-name em { color: var(--green); font-style: normal; }
.desktop-nav { margin-left: auto; display: flex; gap: 20px; font-size: .93rem; }
.desktop-nav a { color: var(--ink); text-decoration: none; font-weight: 650; }
.desktop-nav a:hover { color: var(--blue); }
.menu-button { display: none; margin-left: auto; border: 1px solid var(--line); background: #fff; border-radius: 10px; padding: .5rem .75rem; }

.hero { position: relative; isolation: isolate; color: #fff; overflow: hidden; background-image: linear-gradient(90deg, rgba(4,20,42,.92) 0%, rgba(7,35,66,.74) 42%, rgba(7,27,53,.24) 100%), url("media/utazas-hollandiaba.webp"); background-position: center; background-size: cover; }
.hero::before { content: ""; position: absolute; z-index: 1; inset: -35%; pointer-events: none; background: linear-gradient(105deg, transparent 42%, rgba(242,201,109,.15) 50%, transparent 58%); transform: translateX(-85%); }
.hero::after { content: ""; position: absolute; inset: auto 0 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(242,201,109,.8), transparent); }
.hero-grid { position: relative; z-index: 2; min-height: 670px; padding: 74px 0 68px; display: grid; grid-template-columns: minmax(0,1.28fr) minmax(300px,.58fr); gap: 68px; align-items: center; }
.hero-content { max-width: 790px; }
.hero-glow { position: absolute; z-index: -1; border-radius: 50%; filter: blur(4px); opacity: .55; }
.glow-one { width: 420px; height: 420px; left: -190px; top: -190px; background: radial-gradient(circle, rgba(242,201,109,.24), transparent 67%); }
.glow-two { width: 520px; height: 520px; right: -210px; bottom: -260px; background: radial-gradient(circle, rgba(81,205,174,.28), transparent 65%); }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 12px; font-size: .8rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: #bfe4ff; }
.eyebrow::before { content: ""; width: 34px; height: 2px; border-radius: 2px; background: var(--gold); box-shadow: 0 0 16px rgba(242,201,109,.65); }
h1, h2, h3 { line-height: 1.15; letter-spacing: -.035em; }
h1 { margin: 0 0 24px; max-width: 850px; font-size: clamp(2.65rem, 5.5vw, 5rem); font-weight: 900; text-shadow: 0 4px 30px rgba(0,0,0,.32); }
h1 span { color: #d8f2f2; font-weight: 700; }
.hero-copy { max-width: 680px; margin: 0; color: #e8f4fb; font-size: clamp(1.05rem, 1.4vw, 1.22rem); line-height: 1.7; }
.hero-actions { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 12px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: .72rem 1.05rem; border: 1px solid transparent; border-radius: 12px; background: #fff; color: var(--navy); text-decoration: none; font-weight: 850; box-shadow: 0 10px 30px rgba(0,0,0,.15); transition: transform .18s ease, box-shadow .18s ease; }
.button:hover { color: var(--navy); transform: translateY(-2px); box-shadow: 0 14px 36px rgba(0,0,0,.22); }
.button.alt { color: #fff; background: transparent; border-color: rgba(255,255,255,.5); }
.button.alt:hover { color: #fff; background: rgba(255,255,255,.1); }
.trust-line { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 27px; color: #d8e9f4; font-size: .88rem; font-weight: 750; }
.trust-line span::before { content: "✓"; margin-right: 7px; color: var(--gold); }
.video-portal { position: relative; width: min(100%, 350px); margin: 74px 0 0 auto; }
.video-halo { position: absolute; inset: -28px; border-radius: 45% 55% 48% 52%; background: conic-gradient(from 20deg, rgba(242,201,109,.5), rgba(65,190,183,.18), rgba(255,255,255,.42), rgba(242,201,109,.5)); filter: blur(18px); opacity: .78; animation: halo-drift 8s ease-in-out infinite alternate; }
.video-frame { position: relative; aspect-ratio: 1348 / 1080; overflow: hidden; border: 1px solid rgba(255,255,255,.6); border-radius: 30px; background: #102f54; box-shadow: 0 30px 80px rgba(0,0,0,.38), 0 0 0 8px rgba(255,255,255,.06); }
.video-frame iframe { width: 100%; height: 100%; display: block; border: 0; }
.video-frame::after { content: ""; pointer-events: none; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(255,255,255,.12), transparent 25%, transparent 70%, rgba(5,22,44,.38)); }
.video-portal figcaption { position: relative; display: flex; flex-direction: column; align-items: center; margin-top: 18px; text-align: center; }
.video-portal figcaption strong { color: #fff; font-size: 1.08rem; }
.video-portal figcaption span { color: #cfe2ee; font-size: .88rem; }
.journey { color: #fff; background: var(--deep); border-bottom: 1px solid rgba(255,255,255,.08); }
.journey-inner { min-height: 142px; display: grid; grid-template-columns: .72fr 2fr; gap: 45px; align-items: center; }
.journey-intro { display: flex; flex-direction: column; }
.journey-intro span { color: var(--gold); font-size: .75rem; font-weight: 850; letter-spacing: .13em; text-transform: uppercase; }
.journey-intro strong { margin-top: 5px; font-size: 1.25rem; line-height: 1.3; }
.journey-steps { position: relative; display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; margin: 0; padding: 0; list-style: none; }
.journey-steps::before { content: ""; position: absolute; top: 21px; left: 8%; right: 8%; height: 1px; background: linear-gradient(90deg, #c63b42, var(--gold), #3d7b4f); opacity: .75; }
.journey-steps li { position: relative; display: flex; gap: 12px; align-items: flex-start; }
.journey-steps li > span { z-index: 1; display: grid; flex: 0 0 43px; height: 43px; place-items: center; border: 1px solid rgba(255,255,255,.32); border-radius: 50%; color: var(--gold); background: var(--deep); font-size: .72rem; font-weight: 900; }
.journey-steps div { display: flex; flex-direction: column; padding-top: 1px; }
.journey-steps strong { color: #fff; }
.journey-steps small { max-width: 180px; color: #b9cada; font-size: .78rem; line-height: 1.35; }
@keyframes halo-drift { to { transform: rotate(8deg) scale(1.04); opacity: .95; } }

.services-overview { padding: 54px 0 34px; background: #fff; }
.services-heading { display: grid; grid-template-columns: .65fr 1.1fr; gap: 8px 34px; align-items: end; margin-bottom: 24px; }
.services-heading .section-label { grid-column: 1 / -1; margin: 0; color: var(--blue); font-size: .8rem; font-weight: 850; letter-spacing: .13em; text-transform: uppercase; }
.services-heading h2 { margin: 0; color: var(--navy); font-size: clamp(2rem, 4vw, 3.1rem); font-weight: 850; }
.services-heading > p:last-child { margin: 0; max-width: 680px; color: #45536a; }
.service-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.service-tile { position: relative; min-height: 150px; padding: 23px 20px 20px; overflow: hidden; border: 1px solid #d3dee8; border-top: 6px solid var(--blue); border-radius: 15px; color: var(--ink); background: #f9fbfd; text-decoration: none; box-shadow: 0 6px 18px rgba(21,58,100,.06); transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease; }
.service-tile::after { content: "→"; position: absolute; right: 17px; bottom: 13px; color: var(--blue); font-size: 1.35rem; font-weight: 900; }
.service-tile:hover, .service-tile:focus-visible { color: var(--ink); transform: translateY(-3px); border-color: #aebfce; box-shadow: 0 13px 28px rgba(21,58,100,.12); }
.service-tile strong { display: block; margin-bottom: 9px; padding-right: 10px; color: #102f54; font-size: 1.16rem; font-weight: 850; line-height: 1.2; }
.service-tile span { display: block; padding-right: 18px; color: #4c5a6f; font-size: .92rem; line-height: 1.45; }
.service-tile.family, .service-tile.benefits { border-top-color: var(--red); }
.service-tile.health { border-top-color: #1687a7; }
.service-tile.work, .service-tile.car { border-top-color: #d47a22; }
.service-tile.pension { border-top-color: #7053a8; }
.service-tile.housing { border-top-color: var(--green); }
.service-tile.start { border-top-color: #507090; }
.service-tile.documents { border-top-color: #9b4d74; }

.topic-bar { position: relative; z-index: 2; padding: 0 0 18px; background: #fff; }
.search-panel { padding: 18px; background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow); }
.search-panel label { display: block; margin-bottom: 7px; font-weight: 800; }
.search-row { display: flex; gap: 10px; }
.search-row input { width: 100%; min-height: 50px; padding: 0 16px; border: 1px solid #b9c8d5; border-radius: 11px; color: var(--ink); background: #fff; }
.search-row input:focus { outline: 3px solid #b9dcf6; border-color: var(--blue); }

main { padding: 56px 0 90px; }
.intro-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-bottom: 58px; }
.notice, .contact-card { padding: 24px; border-radius: var(--radius); }
.notice { border-left: 5px solid var(--blue); background: var(--blue-soft); }
.notice h2, .contact-card h2 { margin: 0 0 9px; font-size: 1.45rem; }
.notice p, .contact-card p { margin: 0; }
.contact-card { color: #fff; background: var(--navy); }
.contact-card a { color: #fff; }

.section-title { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin: 70px 0 24px; padding-left: 17px; border-left: 7px solid var(--navy); }
.section-title h2 { margin: 0; color: #102f54; font-size: clamp(2rem, 4vw, 2.85rem); font-weight: 850; }
.section-title p { max-width: 620px; margin: 0; color: var(--muted); }
.topic-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 20px; }
.topic-card { scroll-margin-top: 100px; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); box-shadow: 0 7px 24px rgba(21,58,100,.06); }
.topic-head { padding: 25px 24px 21px; border-top: 7px solid var(--blue); background: linear-gradient(135deg, #fff 0%, #f4f8fc 100%); }
.topic-card[data-topic="family"] .topic-head { border-color: var(--red); }
.topic-card[data-topic="benefits"] .topic-head { border-color: #b44378; }
.topic-card[data-topic="housing"] .topic-head { border-color: var(--green); }
.topic-card[data-topic="health"] .topic-head { border-color: #1687a7; }
.topic-card[data-topic="work"] .topic-head { border-color: #d47a22; }
.topic-card[data-topic="pension"] .topic-head { border-color: #7053a8; }
.topic-card[data-topic="car"] .topic-head { border-color: #a55718; }
.topic-card[data-topic="start"] .topic-head { border-color: #507090; }
.topic-kicker { display: inline-block; padding: 4px 9px; border-radius: 6px; color: #fff; background: var(--navy); font-weight: 850; font-size: .76rem; text-transform: uppercase; letter-spacing: .08em; }
.topic-head h3 { margin: 10px 0 9px; color: #102f54; font-size: 1.72rem; font-weight: 850; }
.topic-head p { margin: 0; color: var(--muted); }
details { border-top: 1px solid var(--line); }
summary { position: relative; padding: 19px 54px 19px 24px; cursor: pointer; color: #172b47; background: #fff; font-size: 1.03rem; font-weight: 800; line-height: 1.35; list-style: none; }
summary:hover { background: #f3f7fa; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; position: absolute; right: 24px; top: 14px; font-size: 1.45rem; color: var(--blue); }
details[open] summary::after { content: "−"; }
.detail-body { padding: 0 24px 23px; color: #344158; }
.detail-body p:first-child { margin-top: 0; }
.detail-body ul, .detail-body ol { padding-left: 1.2rem; }
.detail-body li + li { margin-top: .45rem; }
.source-link { display: inline-block; margin-top: 6px; font-weight: 750; }
.warning { padding: 13px 15px; border-radius: 10px; background: #fff5e8; border-left: 4px solid #df892d; color: #654215; }

.housing-tools { display: flex; flex-wrap: wrap; gap: 9px; margin: 18px 0; }
.filter { border: 1px solid #b8c7d2; border-radius: 999px; padding: .5rem .8rem; background: #fff; color: var(--ink); cursor: pointer; font-weight: 700; }
.filter[aria-pressed="true"] { color: #fff; background: var(--navy); border-color: var(--navy); }
.region-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 14px; }
.region { padding: 18px; border: 1px solid var(--line); border-radius: 14px; background: #fff; }
.region h3 { margin: 0 0 10px; font-size: 1.12rem; }
.region ul { margin: 0; padding: 0; list-style: none; }
.region li + li { margin-top: 7px; }
.region a { font-weight: 720; }
.region small { display: block; color: var(--muted); }

.checklist { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 14px; }
.check { padding: 20px; border-radius: 14px; background: #fff; border: 1px solid var(--line); }
.check strong { display: block; margin-bottom: 6px; color: var(--navy); font-size: 1.08rem; }
.first-steps-detail { margin-top: 20px; }
.documents-alert { margin-bottom: 20px; padding: 17px 19px; border-left: 5px solid #9b4d74; border-radius: 12px; color: #3d2940; background: #fbf0f6; }
.documents-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 18px; }
.document-card { display: flex; flex-direction: column; align-items: flex-start; padding: 25px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: 0 7px 24px rgba(21,58,100,.06); }
.document-card.featured { border-top: 7px solid #9b4d74; }
.document-type { margin-bottom: 8px; color: #7a3159; font-size: .77rem; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; }
.document-card h3 { margin: 0 0 12px; color: var(--navy); font-size: 1.55rem; font-weight: 850; }
.document-card p { margin: 0 0 15px; }
.tag-row { display: flex; flex-wrap: wrap; gap: 7px; margin: 2px 0 13px; }
.tag-row span { padding: 4px 10px; border-radius: 999px; color: #fff; background: var(--navy); font-size: .82rem; font-weight: 800; }
.language-list { margin-bottom: 15px; padding: 11px 13px; border-radius: 9px; color: #33445c; background: #edf4f9; }
.document-steps { margin: 0 0 19px; padding-left: 1.25rem; }
.document-steps li + li { margin-top: .35rem; }
.document-note { padding: 11px 13px; border-left: 4px solid #d47a22; border-radius: 8px; color: #60431f; background: #fff5e8; }
.document-button { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; margin-top: auto; padding: .62rem .85rem; border-radius: 10px; color: #fff; background: var(--navy); text-decoration: none; font-weight: 800; }
.document-button:hover { color: #fff; background: var(--blue); }
.document-links { margin: 0; padding-left: 1.15rem; }
.document-links li + li { margin-top: .8rem; }
.address-panel { margin-top: 20px; padding: 26px; border-radius: var(--radius); color: #fff; background: var(--navy); }
.address-panel h3 { margin: 0 0 18px; font-size: 1.6rem; }
.address-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 14px; }
.address-grid > div { padding: 18px; border: 1px solid rgba(255,255,255,.2); border-radius: 12px; background: rgba(255,255,255,.08); }
.address-grid strong { display: block; margin-bottom: 7px; color: #fff; }
.address-grid address, .address-grid p { margin: 0; color: #e3edf5; font-style: normal; line-height: 1.55; }
.empty { display: none; margin: 25px 0; padding: 20px; border: 1px dashed #98aabc; border-radius: 14px; color: var(--muted); text-align: center; }

footer { color: #dce9f3; background: #102a49; }
.footer-grid { padding: 42px 0; display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 28px; }
footer h2, footer h3 { color: #fff; margin-top: 0; }
footer a { color: #fff; }
.legal { border-top: 1px solid rgba(255,255,255,.16); padding: 18px 0 26px; color: #b9cada; font-size: .9rem; }
.hidden { display: none !important; }

@media (max-width: 920px) {
  .hero-grid { grid-template-columns: 1fr; min-height: auto; gap: 48px; }
  .video-portal { width: min(82vw, 420px); margin: 0 auto; }
  .journey-inner { grid-template-columns: 1fr; gap: 20px; padding: 28px 0; }
  .topic-grid { grid-template-columns: 1fr; }
  .service-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .region-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .checklist { grid-template-columns: 1fr; }
  .desktop-nav { display: none; position: absolute; top: 73px; left: 0; right: 0; padding: 18px 24px; flex-direction: column; background: #fff; border-bottom: 1px solid var(--line); }
  .desktop-nav.open { display: flex; }
  .menu-button { display: block; }
}
@media (max-width: 650px) {
  body { font-size: 16px; }
  .header-inner, .wrap { width: min(100% - 22px, 1180px); }
  .brand-name { font-size: .93rem; }
  .hero-grid { padding: 48px 0 42px; gap: 38px; }
  h1 { font-size: clamp(2.4rem, 12vw, 3.5rem); }
  .trust-line { display: grid; gap: 7px; }
  .journey-steps { grid-template-columns: 1fr; gap: 14px; }
  .journey-steps::before { top: 12px; bottom: 12px; left: 21px; right: auto; width: 1px; height: auto; }
  .intro-grid, .footer-grid { grid-template-columns: 1fr; }
  .services-overview { padding-top: 42px; }
  .services-heading { grid-template-columns: 1fr; }
  .services-heading .section-label { grid-column: auto; }
  .service-grid { grid-template-columns: 1fr; }
  .documents-grid, .address-grid { grid-template-columns: 1fr; }
  .service-tile { min-height: 0; padding: 20px 18px 40px; }
  .region-grid { grid-template-columns: 1fr; }
  .section-title { align-items: start; flex-direction: column; }
  .topic-head, summary { padding-left: 18px; }
  .detail-body { padding-left: 18px; padding-right: 18px; }
}

@media print {
  .site-header, .topic-bar, .hero-actions, .housing-tools, footer { display: none; }
  body { background: #fff; color: #000; }
  .hero { color: #000; background: #fff; }
  .hero-grid { min-height: auto; padding: 20px 0; display: block; }
  .hero-copy { color: #000; }
  .video-portal, .journey, .trust-line { display: none; }
  main { padding: 10px 0; }
  details > * { display: block; }
  .topic-card { break-inside: avoid; box-shadow: none; }
}

@media (prefers-reduced-motion: no-preference) {
  .is-ready .hero::before { animation: journey-light 1.9s .15s cubic-bezier(.2,.7,.2,1) both; }
  .is-ready .hero-content { animation: reveal-up .9s cubic-bezier(.2,.75,.2,1) both; }
  .is-ready .video-portal { animation: reveal-portal 1.05s .12s cubic-bezier(.2,.75,.2,1) both; }
  .reveal-ready { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
  .reveal-ready.in-view { opacity: 1; transform: none; }
  @keyframes reveal-up { from { opacity: 0; transform: translateY(28px); } }
  @keyframes reveal-portal { from { opacity: 0; transform: translateY(20px) scale(.94); } }
  @keyframes journey-light { to { transform: translateX(85%); } }
}
