/* LAWTER v6.0.0 — FLAGSHIP RELEASE
   Final art-direction / production-safe visual layer.
   Principle: reinforce hierarchy and brand geometry without changing the recovered layout contract. */

:root{
  --lawter-v6-edge:rgba(237,207,149,.22);
  --lawter-v6-edge-soft:rgba(237,207,149,.10);
  --lawter-v6-panel:rgba(6,22,43,.72);
  --lawter-v6-panel-deep:rgba(2,11,23,.92);
  --lawter-v6-shadow:0 28px 72px rgba(0,0,0,.30);
  --lawter-v6-radius:0px;
}

/* --- Global rhythm / canvas --- */
html{scroll-padding-top:calc(var(--header) + 26px)}
body.lawter-v6{
  background:
    radial-gradient(circle at 77% 8%,rgba(194,158,106,.035),transparent 28%),
    linear-gradient(180deg,#020b17 0%,#03101f 46%,#020b17 100%);
}
body.lawter-v6 main{overflow:clip}
body.lawter-v6 .section{position:relative}
body.lawter-v6 .section::selection{background:rgba(194,158,106,.28);color:var(--cream-100)}
body.lawter-v6 .section-signature-line{
  opacity:.58;
  background:linear-gradient(90deg,transparent,rgba(237,207,149,.42),transparent);
}
body.lawter-v6 .eyebrow{letter-spacing:.19em}
body.lawter-v6 h1,body.lawter-v6 h2,body.lawter-v6 h3{text-wrap:balance}
body.lawter-v6 p{text-wrap:pretty}

/* --- Header / navigation --- */
body.lawter-v6 .site-header{
  border-bottom-color:rgba(237,207,149,.16);
  background:rgba(2,11,23,.88);
  -webkit-backdrop-filter:blur(16px) saturate(1.05);
  backdrop-filter:blur(16px) saturate(1.05);
}
body.lawter-v6 .site-header::after{
  content:"";
  position:absolute;left:50%;bottom:-1px;width:min(1220px,82vw);height:1px;
  transform:translateX(-50%);
  background:linear-gradient(90deg,transparent,rgba(237,207,149,.18),transparent);
  pointer-events:none;
}
body.lawter-v6 .brand-master-logo{filter:drop-shadow(0 8px 18px rgba(0,0,0,.28))}
body.lawter-v6 .nav-cta{position:relative;overflow:hidden}
body.lawter-v6 .nav-cta::before{
  content:"";position:absolute;inset:0 auto 0 -44%;width:34%;
  background:linear-gradient(105deg,transparent,rgba(255,255,255,.20),transparent);
  transform:skewX(-18deg);transition:left .48s var(--ease);pointer-events:none;
}
body.lawter-v6 .nav-cta:hover::before,body.lawter-v6 .nav-cta:focus-visible::before{left:122%}

/* --- Hero / business-area instrument --- */
body.lawter-v6 .hero-v5{min-height:calc(100svh - var(--header));display:grid;align-items:center}
body.lawter-v6 .hero-grid-v5{gap:clamp(50px,6vw,104px);align-items:center}
body.lawter-v6 .hero-copy{position:relative;z-index:2;max-width:820px}
body.lawter-v6 .hero-copy::before{
  content:"";position:absolute;left:-38px;top:96px;width:1px;height:clamp(120px,18vh,220px);
  background:linear-gradient(180deg,var(--gold-300),transparent);opacity:.28
}
body.lawter-v6 .hero-copy h1{max-width:9.4ch;letter-spacing:-.035em}
body.lawter-v6 .hero-copy .hero-lead{max-width:58ch;color:rgba(225,233,242,.76)}
body.lawter-v6 .hero-ledger{border-top-color:rgba(237,207,149,.16)}

body.lawter-v6 .hero-structure{
  min-height:650px;
  border-color:var(--lawter-v6-edge);
  background:
    linear-gradient(180deg,rgba(5,19,38,.74),rgba(2,11,23,.88)),
    linear-gradient(135deg,rgba(194,158,106,.04),transparent 44%);
  box-shadow:var(--lawter-v6-shadow),inset 0 1px rgba(255,255,255,.025);
}
body.lawter-v6 .hero-structure::after{
  content:"";position:absolute;inset:18px;z-index:1;pointer-events:none;
  border:1px solid rgba(237,207,149,.055);
  clip-path:polygon(0 0,92% 0,100% 8%,100% 100%,0 100%);
}
body.lawter-v6 .hero-sector-backdrop{opacity:.23;filter:saturate(.82) contrast(1.04) brightness(.70)}
body.lawter-v6 .hero-structure-kicker,
body.lawter-v6 .hero-structure-count{background:rgba(2,11,23,.64);border-color:rgba(237,207,149,.22)}
body.lawter-v6 .structure-pillars{gap:10px}
body.lawter-v6 .structure-pillar{
  min-height:72px;
  grid-template-columns:48px minmax(0,1fr);
  border-color:rgba(237,207,149,.16)!important;
  background:linear-gradient(90deg,rgba(2,11,23,.68),rgba(9,28,53,.36))!important;
}
body.lawter-v6 .structure-pillar::after{
  content:"";position:absolute;right:12px;top:50%;width:12px;height:1px;
  background:rgba(237,207,149,.28);transform:translateY(-50%);pointer-events:none;
}
body.lawter-v6 .structure-pillar:hover,
body.lawter-v6 .structure-pillar:focus-visible,
body.lawter-v6 .structure-pillar.is-active{
  transform:translateX(7px)!important;
  border-color:rgba(237,207,149,.48)!important;
  background:linear-gradient(90deg,rgba(194,158,106,.16),rgba(9,28,53,.46))!important;
}
body.lawter-v6 .pillar-no{border-color:rgba(237,207,149,.30);background:rgba(2,11,23,.72)}
body.lawter-v6 .pillar-label{padding-right:22px}
body.lawter-v6 .pillar-label strong{font-size:clamp(14px,1vw,17px);line-height:1.18}
body.lawter-v6 .hero-sector-preview{
  border-color:rgba(237,207,149,.28)!important;
  background:linear-gradient(100deg,rgba(194,158,106,.08),rgba(2,11,23,.94) 20%,rgba(6,22,43,.92))!important;
}
body.lawter-v6 .hero-sector-no{background:rgba(2,11,23,.70)}
body.lawter-v6 .hero-sector-link{letter-spacing:.12em}

/* --- Right-side chapter rail --- */
body.lawter-v6 .section-rail,
body.lawter-v6 .service-chapter-rail{filter:drop-shadow(0 12px 26px rgba(0,0,0,.18))}
body.lawter-v6 .section-rail a,
body.lawter-v6 .service-chapter-rail a{min-height:35px}
body.lawter-v6 .section-rail a::before,
body.lawter-v6 .service-chapter-rail a::before{transition:transform .2s ease,background .2s ease,box-shadow .2s ease}
body.lawter-v6 .section-rail a.is-active::before,
body.lawter-v6 .service-chapter-rail a.is-active::before{
  box-shadow:0 0 0 5px rgba(194,158,106,.055),0 0 18px rgba(237,207,149,.14);
}
body.lawter-v6 .rail-copy{max-width:180px;text-wrap:balance}

/* --- Section intro / editorial hierarchy --- */
body.lawter-v6 .section-intro{align-items:end}
body.lawter-v6 .section-intro>p{max-width:54ch;border-left:1px solid rgba(237,207,149,.18);padding-left:22px}

/* --- Capability matrix --- */
body.lawter-v6 .capability-matrix{
  border-top:1px solid rgba(237,207,149,.12);
  border-bottom:1px solid rgba(237,207,149,.10);
}
body.lawter-v6 .capability-media{
  min-height:720px;
  border-color:rgba(237,207,149,.20)!important;
  background:#020b17;
}
body.lawter-v6 .capability-media::before{
  content:"";position:absolute;inset:0;z-index:1;pointer-events:none;
  background:linear-gradient(90deg,rgba(2,11,23,.10),transparent 52%),linear-gradient(180deg,transparent 52%,rgba(2,11,23,.58));
}
body.lawter-v6 .capability-media figcaption{z-index:3!important;border-color:rgba(237,207,149,.18)!important}
body.lawter-v6 .capability-list{align-self:stretch}
body.lawter-v6 .capability-row>a{min-height:138px;padding-block:22px}
body.lawter-v6 .capability-row .capability-no{flex:0 0 58px;width:58px;height:58px}
body.lawter-v6 .capability-text h3{letter-spacing:-.025em}
body.lawter-v6 .capability-row.is-active .capability-arrow{transform:translate(3px,-3px);color:var(--gold-300)}

/* --- Operating model --- */
body.lawter-v6 .operating{background:linear-gradient(180deg,rgba(7,25,48,.22),rgba(2,11,23,.08))}
body.lawter-v6 .operating-grid{gap:clamp(42px,6vw,94px)}
body.lawter-v6 .operating-copy{position:sticky;top:calc(var(--header) + 60px);align-self:start}
body.lawter-v6 .operating-step{position:relative;padding-block:28px}
body.lawter-v6 .operating-step::before{
  content:"";position:absolute;left:31px;top:0;bottom:0;width:1px;background:rgba(237,207,149,.075);pointer-events:none;
}
body.lawter-v6 .operating-step>span{z-index:2;background:#041126}
body.lawter-v6 .operating-step h3{font-family:var(--serif);font-size:clamp(26px,2vw,36px)}

/* --- About / Budapest --- */
body.lawter-v6 .about{background:linear-gradient(90deg,rgba(194,158,106,.018),transparent 34%)}
body.lawter-v6 .about-grid-v5{gap:clamp(44px,6vw,96px)}
body.lawter-v6 .about-photo-frame{
  max-width:560px;
  border:1px solid rgba(237,207,149,.20);
  box-shadow:0 30px 80px rgba(0,0,0,.28);
}
body.lawter-v6 .about-photo-frame::before{letter-spacing:.18em;opacity:.46}
body.lawter-v6 .about-photo-frame img{height:min(720px,62vw);filter:saturate(.90) contrast(1.02)}
body.lawter-v6 .about-photo-frame figcaption{
  background:linear-gradient(90deg,rgba(2,11,23,.76),rgba(2,11,23,.18));
  border-top:1px solid rgba(237,207,149,.12);
}
body.lawter-v6 .company-facts{border-top:1px solid rgba(237,207,149,.14)}
body.lawter-v6 .company-facts div{min-height:66px}

/* --- Corporate proof --- */
body.lawter-v6 .corporate-proof{background:linear-gradient(180deg,rgba(3,16,33,.30),transparent)}
body.lawter-v6 .corporate-proof-grid{gap:clamp(42px,6vw,90px)}
body.lawter-v6 .entity-summary{border-left-color:var(--gold-300);background:rgba(7,25,48,.34)}
body.lawter-v6 .proof-visual{min-height:430px}
body.lawter-v6 .proof-metric-card{
  border-color:rgba(237,207,149,.14);
  background:linear-gradient(180deg,rgba(6,22,43,.72),rgba(2,11,23,.62));
}
body.lawter-v6 .proof-metric-card:hover{transform:translateY(-2px)}

/* --- Evidence --- */
body.lawter-v6 .evidence-card{border-color:rgba(237,207,149,.16)}
body.lawter-v6 .evidence-card:hover{border-color:rgba(237,207,149,.30)}

/* --- Contact --- */
body.lawter-v6 .contact{background:linear-gradient(180deg,transparent,rgba(194,158,106,.025))}
body.lawter-v6 .contact-grid-v5{align-items:start;gap:clamp(48px,7vw,110px)}
body.lawter-v6 .contact-copy-v5{position:sticky;top:calc(var(--header) + 60px)}
body.lawter-v6 .contact-form-v5{
  border:1px solid rgba(194,158,106,.34);
  box-shadow:0 34px 90px rgba(0,0,0,.28);
}
body.lawter-v6 .contact-form-v5 .form-head{border-bottom-color:rgba(6,19,38,.14)}
body.lawter-v6 .contact-form-v5 input,
body.lawter-v6 .contact-form-v5 select,
body.lawter-v6 .contact-form-v5 textarea{transition:border-color .2s ease,box-shadow .2s ease,background .2s ease}
body.lawter-v6 .contact-form-v5 input:focus,
body.lawter-v6 .contact-form-v5 select:focus,
body.lawter-v6 .contact-form-v5 textarea:focus{background:#fffdf8}

/* --- Service pages: final art direction --- */
body.lawter-v6.lawter-page-telekommunikacio .service-hero,
body.lawter-v6.lawter-page-import-export .service-hero,
body.lawter-v6.lawter-page-ingatlanfejlesztes .service-hero,
body.lawter-v6.lawter-page-energetika .service-hero,
body.lawter-v6.lawter-page-orvostechnika .service-hero{
  min-height:calc(100svh - var(--header));display:grid;align-items:center;
}
body.lawter-v6 .service-hero-grid{gap:clamp(52px,6vw,104px);align-items:center}
body.lawter-v6 .service-hero-copy h1{max-width:12ch;letter-spacing:-.035em}
body.lawter-v6 .service-hero-media{
  border-color:rgba(237,207,149,.20);
  box-shadow:var(--lawter-v6-shadow);
}
body.lawter-v6 .service-hero-media::after{
  content:"";position:absolute;inset:0;pointer-events:none;
  background:linear-gradient(180deg,transparent 52%,rgba(2,11,23,.52));
}
body.lawter-v6 .service-overview-grid{gap:clamp(48px,6vw,96px)}
body.lawter-v6 .service-note{border-color:rgba(237,207,149,.18);background:linear-gradient(180deg,rgba(8,28,54,.60),rgba(4,14,31,.48))}
body.lawter-v6 .focus-rows article{min-height:112px;align-items:center}
body.lawter-v6 .focus-rows article>span,
body.lawter-v6 .engagement-card>span,
body.lawter-v6 .process-step>span{
  display:grid;place-items:center;width:54px;height:54px;flex:0 0 54px;
  border:1px solid rgba(237,207,149,.25);background:rgba(2,11,23,.42);color:var(--gold-300);line-height:1;
}
body.lawter-v6 .engagement-card{border-color:rgba(237,207,149,.14);background:linear-gradient(180deg,rgba(6,22,43,.58),rgba(2,11,23,.46))}
body.lawter-v6 .process-line{position:relative}
body.lawter-v6 .process-line::before{background:linear-gradient(90deg,rgba(237,207,149,.28),rgba(237,207,149,.06))}
body.lawter-v6 .crossnav-card{min-height:360px;border-color:rgba(237,207,149,.18)}
body.lawter-v6 .crossnav-card img{filter:saturate(.86) brightness(.78)}
body.lawter-v6 .crossnav-card:hover img,body.lawter-v6 .crossnav-card:focus-visible img{filter:saturate(.94) brightness(.84);transform:scale(1.025)}
body.lawter-v6 .related-index-strip{border-color:rgba(237,207,149,.14)}
body.lawter-v6 .service-cta{border-top-color:rgba(237,207,149,.18);border-bottom-color:rgba(237,207,149,.10)}

/* --- Legal pages --- */
body.lawter-v6 .legal-wrap{max-width:min(980px,calc(100vw - 48px))}
body.lawter-v6 .legal-card{border-color:rgba(237,207,149,.16);box-shadow:0 24px 64px rgba(0,0,0,.18)}
body.lawter-v6 .legal-card h2{font-family:var(--serif);letter-spacing:-.02em}

/* --- Footer --- */
body.lawter-v6 .site-footer{border-top:1px solid rgba(237,207,149,.14)}
body.lawter-v6 .footer-signature{position:relative}
body.lawter-v6 .footer-wordmark{opacity:.92;filter:drop-shadow(0 18px 40px rgba(0,0,0,.18))}
body.lawter-v6 .footer-grid{position:relative;z-index:2;border-top:1px solid rgba(237,207,149,.09)}
body.lawter-v6 .footer-capabilities a{min-height:44px;display:flex;align-items:center}
body.lawter-v6 .footer-mail{word-break:break-word}
body.lawter-v6 .footer-bottom{border-top-color:rgba(237,207,149,.10)}

/* --- Multilingual optical corrections --- */
body.lawter-v6.lang-de .hero-copy h1,
body.lawter-v6.lang-uk .hero-copy h1,
body.lawter-v6.lang-el .hero-copy h1,
body.lawter-v6.lang-pl .hero-copy h1,
body.lawter-v6.lang-ro .hero-copy h1,
body.lawter-v6.lang-sk .hero-copy h1{max-width:11.5ch;font-size:clamp(58px,6.2vw,118px)}
body.lawter-v6.lang-zh .hero-copy h1{max-width:7.5em;line-height:1.1;letter-spacing:-.01em}
body.lawter-v6.lang-el .pillar-label strong,
body.lawter-v6.lang-pt .pillar-label strong,
body.lawter-v6.lang-it .pillar-label strong{font-size:clamp(13px,.9vw,16px)}

/* --- Tablet / laptop --- */
@media(max-width:1280px){
  body.lawter-v6 .hero-v5{min-height:auto;padding-top:clamp(64px,8vw,100px)}
  body.lawter-v6 .hero-grid-v5{grid-template-columns:1fr;gap:56px}
  body.lawter-v6 .hero-copy{max-width:900px}
  body.lawter-v6 .hero-copy h1{max-width:12ch}
  body.lawter-v6 .hero-copy::before{display:none}
  body.lawter-v6 .hero-structure{min-height:620px;max-width:920px;width:100%;justify-self:center}
  body.lawter-v6 .operating-copy,body.lawter-v6 .contact-copy-v5{position:relative;top:auto}
  body.lawter-v6 .service-hero{min-height:auto!important;padding-top:clamp(64px,8vw,100px)}
}

@media(max-width:960px){
  html{scroll-padding-top:calc(var(--header) + 14px)}
  body.lawter-v6 .section-intro>p{border-left:0;padding-left:0}
  body.lawter-v6 .hero-structure{min-height:auto}
  body.lawter-v6 .structure-pillar{transform:none!important}
  body.lawter-v6 .structure-pillar:hover,body.lawter-v6 .structure-pillar:focus-visible,body.lawter-v6 .structure-pillar.is-active{transform:none!important}
  body.lawter-v6 .capability-media{min-height:520px}
  body.lawter-v6 .operating-step::before{display:none}
  body.lawter-v6 .about-photo-frame img{height:min(680px,112vw)}
  body.lawter-v6 .contact-grid-v5{gap:40px}
  body.lawter-v6 .focus-rows article{min-height:auto}
  body.lawter-v6 .crossnav-card{min-height:300px}
}

@media(max-width:700px){
  body.lawter-v6 .hero-copy h1,
  body.lawter-v6.lang-de .hero-copy h1,
  body.lawter-v6.lang-uk .hero-copy h1,
  body.lawter-v6.lang-el .hero-copy h1,
  body.lawter-v6.lang-pl .hero-copy h1,
  body.lawter-v6.lang-ro .hero-copy h1,
  body.lawter-v6.lang-sk .hero-copy h1{max-width:none;font-size:clamp(48px,14.4vw,74px)}
  body.lawter-v6 .hero-structure{padding:18px}
  body.lawter-v6 .hero-structure::after{inset:10px}
  body.lawter-v6 .structure-pillar{grid-template-columns:42px minmax(0,1fr);padding:12px 14px;min-height:62px}
  body.lawter-v6 .hero-sector-preview{grid-template-columns:52px minmax(0,1fr)!important}
  body.lawter-v6 .hero-sector-link{grid-column:2;justify-self:start}
  body.lawter-v6 .capability-media{min-height:440px}
  body.lawter-v6 .capability-media figcaption{inset:auto 14px 14px 14px!important}
  body.lawter-v6 .capability-row>a{min-height:unset;padding-block:18px}
  body.lawter-v6 .capability-row .capability-no{width:48px;height:48px;flex-basis:48px}
  body.lawter-v6 .about-photo-frame img{height:132vw;max-height:650px}
  body.lawter-v6 .proof-visual{min-height:340px}
  body.lawter-v6 .focus-rows article>span,
  body.lawter-v6 .engagement-card>span,
  body.lawter-v6 .process-step>span{width:48px;height:48px;flex-basis:48px}
}

@media(max-width:390px){
  body.lawter-v6 .hero-copy h1,
  body.lawter-v6.lang-de .hero-copy h1,
  body.lawter-v6.lang-uk .hero-copy h1,
  body.lawter-v6.lang-el .hero-copy h1,
  body.lawter-v6.lang-pl .hero-copy h1,
  body.lawter-v6.lang-ro .hero-copy h1,
  body.lawter-v6.lang-sk .hero-copy h1{font-size:clamp(43px,13vw,58px)}
  body.lawter-v6 .hero-actions{display:grid;grid-template-columns:1fr}
  body.lawter-v6 .hero-actions .btn{width:100%}
  body.lawter-v6 .hero-structure-head{gap:8px}
  body.lawter-v6 .hero-structure-kicker,body.lawter-v6 .hero-structure-count{padding:11px 12px}
  body.lawter-v6 .pillar-label strong{font-size:13px}
  body.lawter-v6 .footer-bottom{gap:18px}
}

/* --- Accessibility / reduced effects --- */
@media(prefers-reduced-motion:reduce){
  body.lawter-v6 .nav-cta::before{display:none}
  body.lawter-v6 .structure-pillar:hover,body.lawter-v6 .structure-pillar:focus-visible,body.lawter-v6 .structure-pillar.is-active,
  body.lawter-v6 .crossnav-card:hover img,body.lawter-v6 .crossnav-card:focus-visible img{transform:none!important}
}
@media(prefers-contrast:more){
  body.lawter-v6 .hero-sector-backdrop{opacity:.10}
  body.lawter-v6 .site-header,body.lawter-v6 .hero-structure,body.lawter-v6 .capability-media,body.lawter-v6 .proof-metric-card{border-color:rgba(255,255,255,.42)!important}
}
