/* Brand color tokens — override via Live Edit Style Editor */
:root {
  --primary-color: #ffffff;
  --accent-color: #666666;
  --bg-color: #ffffff;
  --text-color: #1f2937;
}


  :root{
    --yellow:#1A5BB8;        /* primary brand blue (var name kept for compat) */
    --yellow-hi:#2570D0;
    --yellow-ink:#FFFFFF;
    --accent:#F5C518;        /* yellow used sparingly */
    --bg-dark:#0E2E50;
    --bg-darker:#08203E;
    --bg-stone:#F1F3F6;
    --bg-card:#FFFFFF;
    --ink:#14283F;
    --ink-muted:#525D6B;
    --ink-mute2:#8892A0;
    --line-dark:#1A3960;
    --line-soft:#DEE3EA;
    --line-soft2:#C8CFDA;
    --light:#FFFFFF;

    --sp-1:8px; --sp-2:16px; --sp-3:24px; --sp-4:32px; --sp-5:48px; --sp-6:64px; --sp-7:96px; --sp-8:128px;
    --section-y:96px;        /* density-driven */
    --container:1240px;

    --f-display:"Archivo","Helvetica Neue",Helvetica,Arial,sans-serif;
    --f-sans:"IBM Plex Sans","Helvetica Neue",Helvetica,Arial,sans-serif;
    --f-mono:"IBM Plex Mono",ui-monospace,SFMono-Regular,Menlo,monospace;
  }

  *,*::before,*::after{box-sizing:border-box}
  html,body{margin:0;padding:0}
  body{
    font-family:var(--f-sans);
    background:var(--bg-stone);
    color:var(--ink);
    -webkit-font-smoothing:antialiased;
    text-rendering:optimizeLegibility;
    line-height:1.55;
  }
  img{max-width:100%;display:block}
  a{color:inherit;text-decoration:none}
  button{font:inherit;cursor:pointer}

  .container{max-width:var(--container);margin:0 auto;padding:0 24px}
  .section{padding:var(--section-y) 0}
  .section-tight{padding:calc(var(--section-y) * .65) 0}

  /* ── Typography scale ── */
  .eyebrow{
    font-family:var(--f-mono);
    font-size:12px; font-weight:500;
    letter-spacing:.18em; text-transform:uppercase;
    color:var(--ink-muted);
    display:inline-flex; align-items:center; gap:10px;
  }
  .eyebrow::before{
    content:""; width:24px; height:1px; background:currentColor; display:inline-block;
  }
  .eyebrow.on-dark{color:var(--accent)}
  .eyebrow.on-dark::before{background:var(--accent)}

  h1,h2,h3,h4{font-family:var(--f-display);font-weight:700;letter-spacing:-.015em;text-wrap:balance;margin:0}
  h1{font-size:clamp(40px,5.6vw,76px);line-height:1.02;letter-spacing:-.025em;font-weight:800}
  h2{font-size:clamp(32px,3.6vw,52px);line-height:1.06;letter-spacing:-.02em}
  h3{font-size:24px;line-height:1.18}
  h4{font-size:18px;line-height:1.25;font-weight:600}
  p{margin:0;text-wrap:pretty}

  /* ── Buttons ── */
  .btn{
    display:inline-flex; align-items:center; gap:10px;
    padding:14px 22px;
    font-family:var(--f-display); font-weight:600; font-size:14.5px;
    letter-spacing:.02em;
    border:1px solid transparent; border-radius:2px;
    transition:transform .15s ease, background .15s ease, color .15s ease, border-color .15s ease;
  }
  .btn:hover{transform:translateY(-1px)}
  .btn .arr{transition:transform .2s ease}
  .btn:hover .arr{transform:translateX(3px)}
  .btn-primary{background:var(--yellow);color:var(--yellow-ink)}
  .btn-primary:hover{background:var(--yellow-hi)}
  .btn-ghost-light{background:transparent;color:var(--light);border-color:rgba(255,255,255,.25)}
  .btn-ghost-light:hover{border-color:var(--accent);color:var(--accent)}
  .btn-ghost-dark{background:transparent;color:var(--ink);border-color:var(--line-soft2)}
  .btn-ghost-dark:hover{border-color:var(--ink);}

  /* ── Header ── */
  .header{
    position:sticky; top:0; z-index:50;
    background:var(--bg-dark);
    color:var(--light);
    border-bottom:1px solid var(--line-dark);
  }
  .header-inner{
    display:flex; align-items:center; justify-content:space-between;
    height:76px; gap:24px;
  }
  .logo{display:flex; align-items:center; gap:12px}
  .logo-mark{width:36px;height:36px}
  .logo-text{font-family:var(--f-display);font-weight:800;font-size:18px;letter-spacing:.04em}
  .logo-text small{
    display:block; font-family:var(--f-mono); font-size:9.5px; font-weight:400;
    letter-spacing:.18em; text-transform:uppercase; color:var(--ink-mute2);
    margin-top:-2px;
  }
  .nav{display:flex; gap:2px}
  .nav ul, .nav ul.nav, nav.nav ul {
    list-style: none; margin: 0; padding: 0;
    display: flex; gap: 2px; align-items: center;
  }
  .nav ul li, .nav ul.nav li, nav.nav ul li {
    list-style: none; margin: 0; padding: 0;
  }
  .nav ul li::marker, nav.nav ul li::marker { content: none; }
  .nav a{
    padding:10px 16px;
    font-size:14.5px; font-weight:500;
    color:var(--light);
    position:relative;
  }
  .nav a:hover{color:var(--accent)}
  .nav a.active::after{
    content:""; position:absolute; left:16px; right:16px; bottom:0; height:2px; background:var(--accent);
  }
  .header-right{display:flex; align-items:center; gap:20px}
  .lang{
    display:flex; gap:0; font-family:var(--f-mono); font-size:12px; font-weight:500;
    border:1px solid var(--line-dark); border-radius:2px; overflow:hidden;
  }
  .lang button{
    background:transparent; color:var(--ink-mute2); border:0;
    padding:7px 11px; letter-spacing:.06em; cursor:pointer;
    border-right:1px solid var(--line-dark);
  }
  .lang button:last-child{border-right:0}
  .lang button.is-active{background:var(--yellow); color:var(--yellow-ink)}
  .header-cta{
    font-family:var(--f-display); font-weight:600; font-size:13.5px; letter-spacing:.02em;
    display:inline-flex; align-items:center; gap:8px;
    padding:10px 14px; border:1px solid var(--accent); color:var(--accent);
    border-radius:2px;
  }
  .header-cta:hover{background:var(--accent); color:var(--bg-dark)}

  /* ── Hero ── */
  .hero{
    position:relative;
    background:var(--bg-dark);
    color:var(--light);
    overflow:hidden;
    border-bottom:1px solid var(--line-dark);
  }
  .hero-grid{
    display:grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
    gap:64px;
    align-items:stretch;
    padding-top:96px;
    padding-bottom:0;
  }
  .hero-copy{padding-bottom:96px; max-width:640px}
  .hero h1{margin-top:24px}
  .hero h1 .y{color:var(--accent)}
  .hero-sub{
    margin-top:28px;
    font-size:18px; line-height:1.55;
    color:#C8CACD;
    max-width:540px;
  }
  .hero-actions{margin-top:40px; display:flex; gap:14px; flex-wrap:wrap}
  .hero-meta{
    margin-top:64px;
    display:grid; grid-template-columns:repeat(3,minmax(0,1fr));
    gap:0;
    border-top:1px solid var(--line-dark);
    padding-top:28px;
  }
  .hero-meta div{padding-right:16px}
  .hero-meta .k{font-family:var(--f-display);font-weight:700;font-size:32px;color:var(--light);letter-spacing:-.02em}
  .hero-meta .l{font-family:var(--f-mono);font-size:11px;letter-spacing:.12em;text-transform:uppercase;color:var(--ink-mute2);margin-top:6px}

  .hero-visual{
    position:relative;
    align-self:stretch;
    min-height:560px;
    border-left:1px solid var(--line-dark);
  }
  .hero-visual image-slot{
    position:absolute; inset:0; width:100%; height:100%;
  }
  .hero-visual::after{
    content:""; position:absolute; inset:0;
    background:linear-gradient(90deg, var(--bg-dark) 0%, rgba(26,29,33,0) 30%, rgba(26,29,33,0) 100%);
    pointer-events:none;
  }
  .hero-badge{
    position:absolute; left:24px; bottom:24px; z-index:2;
    background:rgba(26,29,33,.78);
    backdrop-filter:blur(8px);
    border:1px solid rgba(255,212,0,.4);
    padding:14px 18px;
    color:var(--light);
    display:flex; gap:14px; align-items:center;
    max-width:320px;
  }
  .hero-badge .dot{
    width:10px; height:10px; border-radius:50%; background:var(--accent);
    box-shadow:0 0 0 4px rgba(255,212,0,.18);
    flex-shrink:0;
    animation:pulse 2s ease-in-out infinite;
  }
  @keyframes pulse{
    0%,100%{box-shadow:0 0 0 4px rgba(255,212,0,.18)}
    50%{box-shadow:0 0 0 8px rgba(255,212,0,.06)}
  }
  .hero-badge .label{font-family:var(--f-mono);font-size:10.5px;letter-spacing:.14em;text-transform:uppercase;color:var(--ink-mute2)}
  .hero-badge .value{font-family:var(--f-display);font-weight:600;font-size:14px;margin-top:2px}

  /* tick scale on left edge of hero visual */
  .hero-scale{
    position:absolute; left:-1px; top:0; bottom:0; width:28px;
    display:flex; flex-direction:column; justify-content:space-between;
    padding:24px 0; pointer-events:none; z-index:1;
  }
  .hero-scale span{
    font-family:var(--f-mono); font-size:9.5px; color:var(--ink-mute2);
    padding-left:8px; border-left:2px solid var(--accent);
    line-height:1; letter-spacing:.1em;
  }

  /* ── Trust strip ── */
  .strip{
    background:var(--bg-darker);
    color:#9A9D9F;
    border-bottom:1px solid var(--line-dark);
  }
  .strip-inner{
    display:flex; align-items:center; gap:48px;
    padding:18px 0;
    font-family:var(--f-mono); font-size:11.5px;
    letter-spacing:.14em; text-transform:uppercase;
    overflow-x:auto;
  }
  .strip-inner b{color:var(--accent); font-weight:500}
  .strip-inner span{white-space:nowrap}

  /* ── Intro section ── */
  .intro{background:var(--bg-stone)}
  .intro-grid{
    display:grid;
    grid-template-columns: minmax(0,.9fr) minmax(0,1.1fr);
    gap:80px;
    align-items:start;
  }
  .intro-lead{
    font-family:var(--f-display);
    font-size:clamp(24px,2.2vw,32px);
    font-weight:500;
    line-height:1.3;
    letter-spacing:-.012em;
    color:var(--ink);
    text-wrap:balance;
  }
  .intro-lead em{font-style:normal;background:linear-gradient(0deg,var(--yellow) 0 36%,transparent 36% 100%);padding:0 4px}
  .intro-body{color:var(--ink-muted);font-size:16px;line-height:1.7;max-width:520px}
  .intro-body p+p{margin-top:16px}
  .intro-stats{
    margin-top:32px;
    display:grid; grid-template-columns:repeat(2,1fr); gap:24px;
    border-top:1px solid var(--line-soft); padding-top:24px;
  }
  .intro-stats .k{font-family:var(--f-display);font-weight:700;font-size:28px;letter-spacing:-.02em}
  .intro-stats .l{font-family:var(--f-mono);font-size:11px;letter-spacing:.12em;text-transform:uppercase;color:var(--ink-mute2);margin-top:4px}

  /* ── Services ── */
  .services{background:var(--bg-card);border-top:1px solid var(--line-soft)}
  .services-head{
    display:flex; align-items:end; justify-content:space-between; gap:48px;
    margin-bottom:56px;
  }
  .services-head .l{max-width:520px}
  .services-head h2{margin-top:16px}
  .services-head .r{max-width:380px;color:var(--ink-muted);font-size:15px;line-height:1.6}

  .svc-grid{
    display:grid;
    grid-template-columns:repeat(4,minmax(0,1fr));
    gap:0;
    border:1px solid var(--line-soft);
  }
  .svc{
    padding:36px 28px 32px;
    background:var(--bg-card);
    border-right:1px solid var(--line-soft);
    position:relative;
    display:flex; flex-direction:column;
    min-height:340px;
    transition:background .2s ease;
  }
  .svc:last-child{border-right:0}
  .svc:hover{background:var(--bg-stone)}
  .svc-num{
    font-family:var(--f-mono); font-size:11px;
    color:var(--ink-mute2); letter-spacing:.14em;
  }
  .svc-icon{
    width:48px; height:48px; margin:32px 0 28px;
    color:var(--ink);
  }
  .svc:hover .svc-icon{color:var(--ink)}
  .svc-icon svg{width:100%;height:100%;display:block}
  .svc-icon .accent{stroke:var(--yellow)}
  .svc h3{font-size:20px;line-height:1.25;font-weight:600;letter-spacing:-.01em}
  .svc p{margin-top:12px;font-size:14.5px;line-height:1.55;color:var(--ink-muted);flex-grow:1}
  .svc-link{
    margin-top:24px;
    display:inline-flex; align-items:center; gap:8px;
    font-family:var(--f-display); font-weight:600; font-size:13px;
    letter-spacing:.02em; text-transform:uppercase;
    color:var(--ink);
    padding-top:16px; border-top:1px solid var(--line-soft);
  }
  .svc-link:hover{color:var(--ink); }
  .svc-link:hover .arr{transform:translateX(3px); color:var(--ink)}
  .svc-link .arr{transition:transform .2s ease}

  /* ── RD7200 spotlight ── */
  .product{
    background:var(--bg-dark);
    color:var(--light);
    border-top:1px solid var(--line-dark);
    border-bottom:1px solid var(--line-dark);
    position:relative;
    overflow:hidden;
  }
  .product::before{
    content:""; position:absolute; inset:0;
    background-image:
      linear-gradient(rgba(255,212,0,.04) 1px, transparent 1px),
      linear-gradient(90deg, rgba(255,212,0,.04) 1px, transparent 1px);
    background-size:48px 48px;
    background-position:-1px -1px;
    pointer-events:none;
    mask-image:radial-gradient(ellipse at 70% 50%, black 0%, transparent 70%);
  }
  .product-grid{
    display:grid;
    grid-template-columns: minmax(0,.85fr) minmax(0,1.15fr);
    gap:80px;
    align-items:center;
    position:relative;
  }
  .product-copy{position:relative}
  .product-copy h2{margin-top:20px}
  .product-tag{
    display:inline-flex; align-items:center; gap:8px;
    font-family:var(--f-mono); font-size:11px;
    padding:6px 10px;
    background:rgba(245,197,24,.12); color:var(--accent);
    border:1px solid rgba(245,197,24,.3);
    letter-spacing:.14em; text-transform:uppercase;
    margin-top:24px;
  }
  .product-copy>p{
    margin-top:24px; font-size:16px; line-height:1.65;
    color:#C8CACD; max-width:480px;
  }
  .features{
    margin-top:36px;
    display:grid; grid-template-columns:1fr; gap:0;
    border-top:1px solid var(--line-dark);
  }
  .feature{
    display:grid; grid-template-columns:32px 1fr;
    gap:18px; align-items:start;
    padding:18px 0;
    border-bottom:1px solid var(--line-dark);
  }
  .feature .ic{
    width:24px; height:24px; color:var(--accent);
    margin-top:3px;
  }
  .feature .ic svg{width:100%;height:100%}
  .feature .t{font-family:var(--f-display);font-weight:600;font-size:15.5px;color:var(--light)}
  .feature .d{font-size:13.5px;color:var(--ink-mute2);margin-top:3px;line-height:1.5}

  .product-visual{
    position:relative; aspect-ratio: 5 / 6;
    border:1px solid var(--line-dark);
    background:var(--bg-darker);
  }
  .product-visual image-slot{position:absolute; inset:0; width:100%; height:100%}
  .product-spec{
    position:absolute; right:-1px; top:24px;
    background:var(--accent); color:var(--bg-dark);
    padding:18px 22px;
    font-family:var(--f-mono);
    z-index:2;
  }
  .product-spec .l{font-size:10.5px;letter-spacing:.14em;text-transform:uppercase;opacity:.7}
  .product-spec .v{font-family:var(--f-display);font-weight:700;font-size:24px;margin-top:2px;letter-spacing:-.01em}
  .product-cta{margin-top:36px;display:flex;gap:14px;flex-wrap:wrap}

  /* corner markers on product visual */
  .corners{position:absolute; inset:-1px; pointer-events:none; z-index:1}
  .corners i{position:absolute; width:14px; height:14px; border:1.5px solid var(--accent)}
  .corners i:nth-child(1){top:0;left:0;border-right:0;border-bottom:0}
  .corners i:nth-child(2){top:0;right:0;border-left:0;border-bottom:0}
  .corners i:nth-child(3){bottom:0;left:0;border-right:0;border-top:0}
  .corners i:nth-child(4){bottom:0;right:0;border-left:0;border-top:0}

  /* ── Process / Why us ── */
  .why{background:var(--bg-stone);border-top:1px solid var(--line-soft)}
  .why-grid{
    display:grid; grid-template-columns:repeat(3,1fr); gap:32px;
    margin-top:48px;
  }
  .why-card{
    padding:32px 28px;
    background:var(--bg-card);
    border:1px solid var(--line-soft);
    position:relative;
  }
  .why-card .step{
    font-family:var(--f-mono); font-size:11px;
    color:var(--yellow-ink); background:var(--yellow);
    padding:3px 8px; letter-spacing:.14em;
    display:inline-block;
  }
  .why-card h4{margin-top:20px;font-size:19px;font-weight:600}
  .why-card p{margin-top:10px;font-size:14.5px;color:var(--ink-muted);line-height:1.6}

  /* ── Gallery ── */
  .gallery{background:var(--bg-card);border-top:1px solid var(--line-soft)}
  .gal-grid{
    display:grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    grid-auto-rows: 220px;
    gap:2px;
    background:var(--line-soft);
    border:1px solid var(--line-soft);
    margin-top:48px;
  }
  .gal-grid > div{
    position:relative; background:var(--bg-stone); overflow:hidden;
  }
  .gal-grid > div:nth-child(1){grid-row:span 2}
  .gal-grid image-slot{position:absolute; inset:0; width:100%; height:100%}
  .gal-cap{
    position:absolute; left:14px; bottom:14px;
    background:rgba(26,29,33,.82);
    color:var(--light);
    padding:6px 10px;
    font-family:var(--f-mono); font-size:10.5px;
    letter-spacing:.12em; text-transform:uppercase;
    z-index:2;
  }

  /* ── Contact CTA ── */
  .cta{
    background:var(--yellow);
    color:var(--yellow-ink);
    position:relative;
    overflow:hidden;
  }
  .cta-inner{
    display:grid; grid-template-columns:minmax(0,1.4fr) minmax(0,1fr);
    gap:64px; align-items:center;
    padding:88px 0;
  }
  .cta h2{font-size:clamp(28px,3.2vw,44px);letter-spacing:-.02em;line-height:1.05}
  .cta p{margin-top:20px;font-size:17px;line-height:1.5;max-width:520px;color:rgba(255,255,255,.85)}
  .cta-card{
    background:var(--bg-dark); color:var(--light);
    padding:32px;
    border:1px solid var(--bg-darker);
  }
  .cta-card .lbl{font-family:var(--f-mono);font-size:11px;letter-spacing:.14em;text-transform:uppercase;color:var(--ink-mute2)}
  .cta-card .v{font-family:var(--f-display);font-weight:600;font-size:22px;margin-top:6px;letter-spacing:-.01em}
  .cta-card .v a:hover{color:var(--accent)}
  .cta-card hr{border:0;border-top:1px solid var(--line-dark);margin:22px 0}
  .cta-actions{margin-top:36px;display:flex;gap:14px;flex-wrap:wrap}
  .btn-on-yellow{background:#FFFFFF; color:var(--bg-dark)}
  .btn-on-yellow:hover{background:var(--accent); color:var(--bg-dark)}
  .btn-ghost-yellow{background:transparent;color:#FFFFFF;border-color:rgba(255,255,255,.55)}
  .btn-ghost-yellow:hover{background:#FFFFFF;color:var(--bg-dark);border-color:#FFFFFF}

  /* ── Footer ── */
  .footer{background:var(--bg-darker);color:var(--ink-mute2);border-top:1px solid var(--line-dark)}
  .foot-top{
    display:grid; grid-template-columns:1.4fr 1fr 1fr 1fr; gap:48px;
    padding:80px 0 56px;
  }
  .foot-top h5{
    font-family:var(--f-mono);font-size:11px;font-weight:500;
    color:var(--ink-mute2); letter-spacing:.14em; text-transform:uppercase;
    margin:0 0 18px;
  }
  .foot-top ul{list-style:none;padding:0;margin:0;display:flex;flex-direction:column;gap:10px;font-size:14px;color:#C8CACD}
  .foot-top a:hover{color:var(--accent)}
  .foot-brand .logo-text{color:var(--light)}
  .foot-brand p{margin-top:20px;font-size:13.5px;color:var(--ink-mute2);line-height:1.6;max-width:320px}
  .foot-bottom{
    display:flex; justify-content:space-between; align-items:center;
    gap:24px; flex-wrap:wrap;
    padding:24px 0;
    border-top:1px solid var(--line-dark);
    font-family:var(--f-mono); font-size:11.5px;
    letter-spacing:.06em; color:var(--ink-mute2);
  }
  .foot-bottom a:hover{color:var(--accent)}
  .foot-domains{display:flex;gap:18px}
  .foot-domains b{color:var(--light);font-weight:500;letter-spacing:.04em}

  /* ── Density modifiers ── */
  body[data-density="compact"]{ --section-y:64px }
  body[data-density="comfy"]{ --section-y:128px }

  /* ── Responsive ── */
  @media (max-width: 1080px){
    .hero-grid{grid-template-columns:1fr;gap:0;padding-top:64px}
    .hero-visual{min-height:420px;border-left:0;border-top:1px solid var(--line-dark)}
    .hero-copy{padding-bottom:64px}
    .hero-visual::after{display:none}
    .intro-grid{grid-template-columns:1fr;gap:32px}
    .product-grid{grid-template-columns:1fr;gap:48px}
    .svc-grid{grid-template-columns:repeat(2,1fr)}
    .svc:nth-child(2){border-right:0}
    .svc:nth-child(1),.svc:nth-child(2){border-bottom:1px solid var(--line-soft)}
    .why-grid{grid-template-columns:1fr}
    .gal-grid{grid-template-columns:1fr 1fr;grid-auto-rows:180px}
    .gal-grid > div:nth-child(1){grid-row:span 1; grid-column:span 2}
    .cta-inner{grid-template-columns:1fr;gap:40px;padding:64px 0}
    .foot-top{grid-template-columns:1fr 1fr;gap:36px;padding:56px 0 36px}
  }
  @media (max-width: 720px){
    h1{font-size:clamp(34px,8vw,48px)}
    .header-inner{height:64px;gap:12px}
    .nav{display:none}
    .header-cta{display:none}
    .lang button{padding:6px 9px}
    .services-head{flex-direction:column;align-items:stretch;gap:16px;margin-bottom:32px}
    .svc-grid{grid-template-columns:1fr}
    .svc{border-right:0;border-bottom:1px solid var(--line-soft);min-height:auto}
    .svc:last-child{border-bottom:0}
    .hero-meta{grid-template-columns:1fr 1fr; gap:20px 0}
    .gal-grid{grid-template-columns:1fr}
    .gal-grid > div:nth-child(1){grid-column:span 1}
    .foot-top{grid-template-columns:1fr}
    .foot-bottom{flex-direction:column;align-items:flex-start}
  }

  /* ── Cookie banner ── */
  .cookie{
    position:fixed; left:16px; right:16px; bottom:16px; z-index:40;
    max-width:560px;
    background:var(--bg-dark); color:var(--light);
    border:1px solid var(--accent);
    padding:18px 20px;
    display:flex; align-items:center; gap:20px;
    font-size:13.5px; line-height:1.5;
    box-shadow:0 12px 40px rgba(0,0,0,.25);
  }
  .cookie p{flex:1; color:#C8CACD}
  .cookie a{color:var(--accent); text-decoration:underline; text-underline-offset:3px}
  .cookie button{
    background:var(--yellow); color:var(--yellow-ink); border:0;
    padding:9px 16px; font-family:var(--f-display); font-weight:600; font-size:13px; letter-spacing:.02em;
    flex-shrink:0;
  }
  .cookie .x{
    background:transparent; color:var(--ink-mute2); padding:8px;
    font-size:18px; line-height:1;
  }
  .cookie.is-hidden{display:none}

  /* image-slot placeholders look in keeping */
  image-slot{
    --image-slot-bg:#1F2226;
    --image-slot-border:#2D3137;
    --image-slot-color:#7A8088;
  }
  .gallery image-slot, .intro image-slot{
    --image-slot-bg:#E9ECEF;
    --image-slot-border:#D1D5DB;
    --image-slot-color:#8A9099;
  }


/* === MW Live Edit overrides (auto-generated) === */

.mw-live-edit [data-layout-container] { min-height: 0 !important; }

.brand img, .nav-logo img, .logo img { max-width: 48px; max-height: 48px; width: auto; height: auto; object-fit: contain; }
.f-brand .logo img, footer .logo img { max-width: 40px; max-height: 40px; }

.image-slot-canonicalized { width: 100%; height: auto; display: block; }
.image-slot-shape-circle { border-radius: 50%; }

.mw-live-edit .hero-sub {
  opacity: 1 !important;
  transform: none !important;
  animation: none !important;
}


/* add-generator-hardening: hero full-viewport rules (override of upstream defaults) */
.hero { min-height: 100vh; padding: 0; display: flex; }
.hero .mw-layout-container { flex: 1; padding: 40px 0; }


/* add-generator-hardening: Posts module wrapper transparency.
   The `<div class="module module-posts">` wrapper MW injects between the
   section container and the skin output breaks `parent > child` selectors
   from the source design. Two-part fix: (a) `display:contents` so the box
   model is transparent, and (b) class-level selectors so flex/grid layout
   matches regardless of wrapper depth. */
.module-posts { display: contents; }

/* Class-level flex/grid layouts — match regardless of `.module-posts` depth. */
.carousel-track { display: flex; }
.carousel-track > article.carousel-slide,
.carousel-track > .carousel-slide { flex: 0 0 100%; width: 100%; }


/* ===== MDI-SVG-INFLATE-FIX ===== */
/* MW Live Edit inflates `<i class="mdi …">` to inline <svg viewBox="0 0 24 24">
   without width/height — without these rules the SVG fills its parent. */
.mdi svg { width: 1em; height: 1em; fill: currentColor; display: inline-block; vertical-align: -0.125em; }
i.mdi svg, .mdi > svg { width: 1em; height: 1em; }


/* ===== STATIC-PAGE-CLEARANCE-BLOCK ===== */
/* Static pages (subtype=static) bypass inner.php and inject content
   directly into the body. Without padding the fixed header overlaps. */
body.page-impresszum > .main-content { padding-top: 80px; }
body.page-adatvedelmi > .main-content { padding-top: 80px; }


/* ===== FONT-COLOR-RUNTIME-OVERRIDE ===== */
/* Live Edit inserts inline <font color="…">; override to brand color
   non-destructively. !important is required (inline attribute beats rules). */
font[color] { color: var(--brand) !important; }


/* ===== LEGAL-PAGES-DEFAULT-STYLES ===== */
/* Impresszum + Adatvédelmi page styling (add-default-legal-pages-v2 — rk-teto pattern). */
.impresszum-wrap, .adatvedelmi-wrap { max-width: 980px; margin: 0 auto; padding: 32px 20px 80px; line-height: 1.65; color: #4a4a4a; }

/* Intro box — left brand-border, soft gray bg. */
.impresszum-intro-box, .adatvedelmi-intro-box {
  background: #f5f5f5;
  border-left: 4px solid var(--primary, currentColor);
  padding: 24px 28px;
  border-radius: 8px;
  margin: 0 0 48px;
  line-height: 1.75;
}
.impresszum-intro-box p, .adatvedelmi-intro-box p { margin: 0; }

/* Section heading — UPPERCASE + MDI-icon + thin divider. */
.impresszum-section, .adatvedelmi-section { margin: 48px 0; }
.impresszum-h2, .adatvedelmi-h2 {
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 1.1rem;
  font-weight: 700;
  margin: 0 0 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid #eaeaea;
  display: flex;
  align-items: center;
  gap: 12px;
  color: #1a1a1a;
}
.impresszum-h2 > i, .adatvedelmi-h2 > i { color: var(--primary, currentColor); font-size: 1.4em; line-height: 1; }

/* Card grid for identity data (Üzemeltető / Adatkezelő). */
.impresszum-grid, .adatvedelmi-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}
.impresszum-card, .adatvedelmi-card {
  background: #fff;
  border: 1px solid #eaeaea;
  border-radius: 8px;
  padding: 18px 20px;
}
.impresszum-label, .adatvedelmi-label {
  text-transform: uppercase;
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  color: #888;
  font-weight: 600;
  margin-bottom: 8px;
}
.impresszum-value, .adatvedelmi-value { color: #1a1a1a; font-weight: 500; }
.adatvedelmi-value a { color: inherit; text-decoration: none; }
.adatvedelmi-value a:hover { text-decoration: underline; }

/* TODO placeholders — italic + brand color. */
.impresszum-todo, .adatvedelmi-todo {
  color: var(--primary, currentColor) !important;
  font-style: italic;
  font-weight: 500;
}

/* Pill-style contact links. */
.impresszum-contact-row, .adatvedelmi-contact-row { display: flex; flex-wrap: wrap; gap: 12px; }
.impresszum-pill, .adatvedelmi-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  border: 1px solid #eaeaea;
  border-radius: 8px;
  padding: 14px 22px;
  color: #1a1a1a;
  text-decoration: none;
  font-weight: 500;
}
.impresszum-pill > i, .adatvedelmi-pill > i { color: var(--primary, currentColor); font-size: 1.15em; }
.impresszum-pill:hover, .adatvedelmi-pill:hover { background: #fafafa; }

/* Lists (Adatvédelmi célok + Érintetti jogok). */
.adatvedelmi-list { padding-left: 22px; margin: 0; }
.adatvedelmi-list li { margin: 6px 0; }

/* Body paragraphs in legal sections. */
.impresszum-section > p, .adatvedelmi-section > p { margin: 0; }

/* Footer legal-link separator. */
.footer-legal-sep { opacity: 0.5; margin: 0 4px; user-select: none; }
.footer-bottom-links .footer-legal-link { text-decoration: none; }
.footer-bottom-links .footer-legal-link:hover { text-decoration: underline; }

@media (max-width: 640px) {
  .impresszum-wrap, .adatvedelmi-wrap { padding: 24px 16px 60px; }
  .impresszum-grid, .adatvedelmi-grid { grid-template-columns: 1fr; }
  .impresszum-section, .adatvedelmi-section { margin: 36px 0; }
}

/* === ad-osz manual overrides (re-applied 2026-05-28) === */

/* Hero full-viewport with editable background-image-holder + dark overlay */
.hero.hero-full {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  color: #fff;
  padding: 96px 0;
}
.hero.hero-full > .hero-bg.background-image-holder {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.hero.hero-full > .hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(8, 32, 62, 0.78) 0%, rgba(8, 32, 62, 0.55) 60%, rgba(8, 32, 62, 0.85) 100%);
  pointer-events: none;
}
.hero.hero-full > .mw-layout-container { position: relative; z-index: 2; width: 100%; }

/* 1-column layout — hero-visual removed; copy gets full width */
.hero .hero-single {
  display: block;
  max-width: 900px;
  margin: 0 auto;
}
.hero .hero-copy { max-width: 100%; }

/* White hero headlines on dark overlay */
.hero h1, .hero .hero-copy h1, .hero .hero-copy h1 .y {
  color: #fff !important;
}
.hero .hero-sub { color: rgba(255,255,255,0.92); }
.hero .eyebrow.on-dark { color: rgba(255,255,255,0.85); }

/* SZTP fekvő kedvezményezetti infóblokk strip (NEM DSP — Széchenyi Terv Plusz) */
.sztp-strip {
  background: #ffffff;
  width: 100%;
  padding: 26px 0 28px;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
}
.sztp-strip .sztp-strip-inner {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  gap: 18px;
}
.sztp-strip .sztp-statement {
  font-size: 17px;
  color: #1a1a1a;
  font-weight: 500;
  margin: 0;
  max-width: 1200px;
  white-space: nowrap;
  line-height: 1.5;
}
.sztp-strip .sztp-logos {
  display: flex;
  justify-content: center;
  align-items: center;
}
.sztp-strip .sztp-infoblokk {
  display: block;
  max-width: 100%;
  height: 175px !important;
  width: auto !important;
  object-fit: contain;
}
@media (max-width: 1100px) {
  .sztp-strip .sztp-statement { white-space: normal; font-size: 15px; max-width: 720px; }
}
@media (max-width: 720px) {
  .sztp-strip { padding: 22px 16px 24px; }
  .sztp-strip .sztp-statement { font-size: 14px; margin-bottom: 4px; }
  .sztp-strip .sztp-infoblokk { height: auto !important; max-height: 150px; max-width: 100%; }
}

/* Multilanguage MW module — custom link-list switcher (clean.php template-override) */
.lang-mw, .lang-mw .module-multilanguage { display: inline-block; }
.ad-osz-lang-switch {
  position: relative;
  display: inline-block;
  font-family: var(--f-mono, inherit);
  font-size: 12.5px;
  letter-spacing: .08em;
}
.ad-osz-lang-current {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: transparent;
  border: 1px solid rgba(255,255,255,0.25);
  color: #fff;
  border-radius: 6px;
  padding: 6px 10px 6px 12px;
  font: inherit;
  cursor: pointer;
  text-transform: uppercase;
  line-height: 1;
}
.ad-osz-lang-current:hover { border-color: rgba(255,255,255,0.55); background: rgba(255,255,255,0.06); }
.ad-osz-lang-current .mdi { font-size: 16px; opacity: 0.75; }
.ad-osz-lang-menu {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  min-width: 80px;
  list-style: none;
  margin: 0;
  padding: 6px 0;
  background: rgba(8, 32, 62, 0.96);
  border: 1px solid var(--line-dark, rgba(255,255,255,0.15));
  border-radius: 8px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.35);
  display: none;
  z-index: 50;
}
.ad-osz-lang-menu.is-open { display: block; }
.ad-osz-lang-menu li { list-style: none; padding: 0; margin: 0; }
.ad-osz-lang-link {
  display: block;
  padding: 8px 14px;
  color: #fff;
  text-decoration: none;
  text-transform: uppercase;
  white-space: nowrap;
}
.ad-osz-lang-link:hover { background: rgba(255,255,255,0.08); color: #fff; }
.ad-osz-lang-fullname { display: none; } /* short label only — full name redundant */

/* === footer bottom legal-links — inline right inside .foot-bottom flex row === */
.footer .foot-bottom { border-top: none; }
.footer .foot-bottom .footer-bottom-links {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-family: var(--f-mono);
  font-size: 11.5px;
  letter-spacing: .06em;
  color: var(--ink-mute2);
}
.footer .foot-bottom .footer-bottom-links .footer-legal-link {
  color: var(--light) !important;
  text-decoration: none;
}
.footer .foot-bottom .footer-bottom-links .footer-legal-link:hover { text-decoration: underline; }
.footer .foot-bottom .footer-bottom-links .footer-legal-sep { opacity: .5; }
@media (max-width: 720px) {
  .footer .foot-bottom .footer-bottom-links { width: 100%; justify-content: flex-start; }
}

/* Footer logo (MW <module type=logo template=ad-osz>) — image + text variants */
.foot-brand a.logo {
  display: inline-flex; align-items: center; gap: 12px;
  text-decoration: none; color: inherit;
}
.foot-brand a.logo .logo-img {
  max-height: 48px; max-width: 200px;
  width: auto; height: auto;
  object-fit: contain; display: block;
}
.foot-brand a.logo .logo-mark {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px;
  background: var(--line-dark); border-radius: 8px;
  color: var(--light); font-size: 22px;
}
.foot-brand a.logo .logo-text { color: var(--light); font-weight: 600; }
.foot-brand a.logo .logo-text small {
  display: block; font-size: 11px; color: var(--ink-mute2);
  font-weight: 400; margin-top: 2px;
}
