:root{
  --navy:#071f33;
  --navy2:#0c2b45;
  --gold:#c89a48;
  --gold2:#e0bd79;
  --cream:#f6f3ed;
  --ink:#18222d;
  --muted:#66717c;
  --line:#d9dee3;
  --white:#fff;
  --shadow:0 12px 36px rgba(7,31,51,.10);
  --radius:12px;
  --max:1180px;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;font-family:Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",Roboto,Arial,sans-serif;color:var(--ink);background:#fff;line-height:1.55;font-size:15px}
a{color:inherit;text-decoration:none}
img{max-width:100%;display:block}
.container{width:min(var(--max),calc(100% - 48px));margin-inline:auto}
h1,h2,h3,.brand-name{font-family:Georgia,"Times New Roman",serif}

/* Header */
.topbar{position:sticky;top:0;z-index:50;background:rgba(255,255,255,.98);border-bottom:1px solid rgba(7,31,51,.08)}
.nav{min-height:68px;display:flex;align-items:center;gap:20px}
.brand{display:flex;align-items:center;gap:10px;min-width:250px}
.brand img{width:29px;height:46px;object-fit:contain}
.brand-text{display:flex;flex-direction:column;justify-content:center;line-height:1}
.brand-name{font-size:17px;font-weight:700;color:var(--navy);white-space:nowrap}
.brand-role{font-size:10px;line-height:1;margin-top:7px;letter-spacing:.14em;text-transform:uppercase;color:#7b6b4d;font-weight:700}
.menu{margin-left:auto;display:flex;align-items:center;gap:18px;font-size:11px;font-weight:800;color:#102133}
.menu a{position:relative;padding:26px 0}
.menu a:hover:after,.menu a.active:after{content:"";position:absolute;left:0;right:0;bottom:17px;height:2px;background:var(--gold)}
.phone-btn,.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;border-radius:4px;font-weight:800;letter-spacing:.02em}
.phone-btn{background:var(--navy);color:#fff;padding:9px 11px;font-size:11px;white-space:nowrap}
.hamb{display:none;margin-left:auto;background:none;border:0;font-size:27px;color:var(--navy);cursor:pointer}

/* Home hero */
.hero{background:var(--navy);color:#fff;overflow:hidden}
.hero-grid{position:relative;min-height:330px}
.hero-copy{position:relative;z-index:3;width:70%;padding:31px 24px 25px 0}
.hero h1{font-size:30px;line-height:1.12;font-weight:500;margin:0 0 14px;max-width:560px}
.hero p{font-size:13.8px;line-height:1.5;color:#edf3f7;max-width:690px;margin:0 0 9px}
.hero-actions{display:flex;gap:10px;margin:16px 0 15px;flex-wrap:wrap}
.btn{padding:9px 14px;border:1px solid var(--gold);font-size:11.5px}
.btn.gold{background:var(--gold2);color:#132130}
.btn.outline{color:#fff;background:transparent}
.hero-values{display:grid;grid-template-columns:repeat(3,1fr);max-width:650px;border-top:1px solid rgba(255,255,255,.18);padding-top:12px}
.value{padding-right:12px;font-size:11.5px;color:#f5f7f8}
.value strong{display:block;color:#fff;font-size:12px;line-height:1.35}
.value+.value{border-left:1px solid rgba(255,255,255,.20);padding-left:12px}
.hero-photo{position:absolute;right:0;top:0;width:27%;height:100%;z-index:1;overflow:hidden}
.hero-photo img{width:100%;height:100%;object-fit:cover;object-position:center 18%}
.hero-photo:before{content:"";position:absolute;inset:0;z-index:2;background:linear-gradient(90deg,var(--navy) 0%,rgba(7,31,51,.58) 18%,rgba(7,31,51,.08) 48%,transparent 74%);pointer-events:none}

/* Shared sections */
section{padding:34px 0}
.section-kicker{text-align:center;color:var(--gold);font-size:10.5px;font-weight:800;text-transform:uppercase;letter-spacing:.08em}
.section-title{text-align:center;color:var(--navy);font-size:27px;line-height:1.15;margin:4px 0 18px;font-weight:500}
.cards{display:grid;grid-template-columns:repeat(4,1fr);gap:11px}
.card{border:1px solid #e1e5e8;border-radius:9px;padding:15px;background:#fff;box-shadow:0 5px 18px rgba(11,38,59,.045);transition:.2s}
.card:hover{transform:translateY(-2px);box-shadow:var(--shadow)}
.card .icon{font-size:21px;color:var(--gold)}
.card h3{font-size:17px;color:var(--navy);margin:6px 0 4px}
.card p{font-size:12.5px;line-height:1.44;color:var(--muted);margin:0}
.center{text-align:center}
.center[style]{margin-top:16px!important}

.about-strip{background:linear-gradient(90deg,#f7f5f1 0%,#fff 72%)}
.about-grid{display:grid;grid-template-columns:1.08fr .92fr;gap:26px;align-items:center}
.about-grid .section-kicker{text-align:left}
.about-grid h2{text-align:left;margin:2px 0 10px}
.about-grid p{font-size:13.8px;line-height:1.5;color:#3d4954;margin:0 0 8px}
.quote-box{background:var(--navy);color:#fff;border-radius:10px;padding:20px;box-shadow:var(--shadow)}
.quote-box p{color:#fff;margin:0;font-size:14px;line-height:1.5}
.quote-box strong{color:var(--gold2)}

.reviews{background:var(--cream);padding:28px 0}
.reviews .section-title{margin-bottom:11px}

.contact-band{background:var(--navy);color:#fff;padding:32px 0}
.contact-band .section-kicker{text-align:left}
.contact-band .section-title{color:#fff;text-align:left;margin:2px 0 10px}
.contact-grid{display:grid;grid-template-columns:.9fr 1.1fr;gap:28px;align-items:start}
.contact-band p{font-size:13.8px;line-height:1.5}
.contact-list{display:grid;gap:9px;margin:15px 0}
.contact-item{display:flex;gap:11px;align-items:flex-start;font-size:13px}
.contact-item b{display:block;color:var(--gold2)}
.form{display:grid;grid-template-columns:1fr 1fr;gap:9px}
.form .full{grid-column:1/-1}
.form input,.form textarea{width:100%;padding:10px 11px;border:1px solid #cdd4da;border-radius:7px;font:inherit;font-size:13px}
.form textarea{min-height:95px;resize:vertical}
.form button{cursor:pointer}

/* Inner pages */
.page-hero{background:var(--navy);color:#fff;padding:44px 0}
.page-hero h1{font-size:36px;line-height:1.15;margin:0 0 8px;font-weight:500}
.page-hero p{color:#dce5eb;max-width:760px;font-size:15px;margin:0}
.content{padding:44px 0}
.prose{max-width:860px}
.prose p{font-size:16px;line-height:1.62;color:#34424e;margin:0 0 16px}
.prose h2{color:var(--navy);font-size:29px;margin:32px 0 12px}
.cta-box{margin-top:30px;background:var(--cream);border-left:4px solid var(--gold);padding:20px;border-radius:8px}
.map{width:100%;height:340px;border:0;border-radius:10px}
.details{background:#f8fafb;border:1px solid #e5e9ec;border-radius:10px;padding:18px;margin-top:16px}
.details summary{cursor:pointer;font-weight:800;color:var(--navy)}
.bank-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}
.bank{background:#fff;border:1px solid #e0e5e8;border-radius:10px;padding:16px}
.copy-btn{margin-top:8px;border:1px solid var(--gold);background:#fff;padding:7px 9px;border-radius:5px;cursor:pointer;font-weight:700;color:var(--navy)}

/* Footer */
.site-footer{background:#051827;color:#c8d1d8;padding:20px 0 0}
.footer-top{display:flex;justify-content:space-between;gap:20px;align-items:flex-start;padding-bottom:14px}
.footer-brand{display:flex;gap:10px;align-items:center}
.footer-brand img{width:27px;height:46px;object-fit:contain}
.footer-links{display:flex;gap:16px;flex-wrap:wrap;font-size:12px}
.legal-note{border-top:1px solid rgba(255,255,255,.12);padding:11px 0 15px;font-size:11px;line-height:1.5;color:#aebac3}
.legal-note a{color:#e7c77f;text-decoration:underline}
.muted{color:var(--muted)}

/* Large desktops: do not scale content up */
@media(min-width:1440px){
  :root{--max:1180px}
  .hero-grid{min-height:330px}
  .hero h1{font-size:30px}
  section{padding:34px 0}
}

/* Laptop / small desktop */
@media(max-width:1200px) and (min-width:981px){
  .container{width:min(1080px,calc(100% - 36px))}
  .brand{min-width:225px}
  .brand-name{font-size:16px}
  .menu{gap:13px}
  .menu a{font-size:10.5px}
  .hero-copy{width:69%;padding-right:18px}
  .hero-photo{width:29%}
  .hero h1{font-size:28px}
}

/* Tablet */
@media(max-width:980px){
  .container{width:min(100% - 36px,var(--max))}
  .nav{min-height:66px}
  .menu,.phone-btn{display:none}
  .hamb{display:block}
  .nav.open .menu{display:flex;position:absolute;left:0;right:0;top:66px;background:#fff;flex-direction:column;align-items:flex-start;gap:0;padding:6px 18px 14px;border-bottom:1px solid #e7ebee}
  .nav.open .menu a{padding:11px 0;width:100%}
  .hero-grid{min-height:0;display:grid;grid-template-columns:62% 38%}
  .hero-copy{width:auto;padding:28px 20px 24px 0}
  .hero-photo{position:relative;width:auto;height:auto;min-height:330px}
  .hero-photo:before{background:linear-gradient(90deg,var(--navy) 0%,rgba(7,31,51,.45) 12%,transparent 44%)}
  .hero h1{font-size:28px}
  .hero p{font-size:13.2px}
  .hero-values{grid-template-columns:1fr;gap:7px}
  .value+.value{border-left:0;padding-left:0}
  .cards{grid-template-columns:repeat(2,1fr)}
  .about-grid,.contact-grid{grid-template-columns:1fr}
  .footer-top{flex-direction:column}
  .page-hero h1{font-size:32px}
}

/* Mobile */
@media(max-width:640px){
  body{font-size:14px}
  .container{width:min(100% - 28px,var(--max))}
  .nav{min-height:62px}
  .brand{min-width:0}
  .brand img{width:25px;height:40px}
  .brand-name{font-size:15.5px}
  .brand-role{font-size:9px;margin-top:5px}
  .nav.open .menu{top:62px}
  .hero-grid{display:flex;flex-direction:column}
  .hero-copy{order:1;padding:24px 0 18px}
  .hero-photo{order:2;min-height:260px;height:260px;margin:0 -14px}
  .hero-photo img{object-position:center 16%}
  .hero-photo:before{background:linear-gradient(180deg,var(--navy) 0%,rgba(7,31,51,.08) 24%,transparent 45%)}
  .hero h1{font-size:26px}
  .hero p{font-size:13.5px}
  .hero-values{grid-template-columns:1fr;gap:6px}
  .value{padding:0}
  .value+.value{padding-left:0}
  section{padding:28px 0}
  .section-title{font-size:24px;margin-bottom:14px}
  .cards{grid-template-columns:1fr}
  .card{padding:14px}
  .about-grid{gap:18px}
  .contact-band{padding:28px 0}
  .form{grid-template-columns:1fr}
  .bank-grid{grid-template-columns:1fr}
  .map{height:280px}
  .page-hero{padding:34px 0}
  .page-hero h1{font-size:29px}
  .content{padding:34px 0}
  .prose p{font-size:15px}
  .footer-links{flex-direction:column;gap:6px}
}

/* V8 — compact homepage refinements */
.hero-grid{min-height:282px}
.hero-copy{padding-top:18px;padding-bottom:18px}
.hero h1{font-size:23px;line-height:1.14;margin-bottom:11px;max-width:520px}
.hero p{margin-bottom:7px}
.hero-actions{margin:12px 0 0}
section{padding:24px 0}
.section-title{font-size:25px;margin:2px 0 12px}
.section-kicker{margin:0;line-height:1.2}
.cards{gap:9px}
.card{padding:12px 13px}
.card .icon{font-size:18px;line-height:1}
.card h3{font-size:16px;margin:5px 0 3px}
.card p{font-size:12.2px;line-height:1.4}
.center[style]{margin-top:12px!important}
.about-strip{padding:23px 0}
.about-grid.single{display:block;max-width:860px;margin-inline:auto}
.about-grid.single .section-title{text-align:left}
.about-grid.single p{margin-bottom:7px}
.reviews{padding:21px 0}
.reviews .section-title{margin-bottom:9px}
.contact-band{padding:25px 0}
.site-footer{padding-top:16px}
.footer-top{padding-bottom:11px}
.footer-brand img{width:29px;height:46px;object-fit:contain}
@media(min-width:1440px){
  .hero-grid{min-height:282px}
  .hero h1{font-size:23px}
  section{padding:24px 0}
}
@media(max-width:1200px) and (min-width:981px){
  .hero h1{font-size:22px}
  .hero-copy{padding-top:17px}
}
@media(max-width:980px){
  .hero h1{font-size:23px}
  .hero-copy{padding-top:20px;padding-bottom:18px}
  section{padding:23px 0}
}
@media(max-width:640px){
  .hero h1{font-size:22px}
  section{padding:22px 0}
  .section-title{font-size:23px}
}

/* V9 refinements */
.card .icon{display:none!important}
.card h3{margin:0 0 4px}
.about-cta{text-align:center;margin-top:10px}
.footer-brand{gap:0}
.footer-brand img{display:none!important}

/* V10 főoldali finomítások */
.card h3{color:var(--gold) !important;}


/* V12 — egységes aloldalak, navigáció és űrlap */
.menu a{transition:color .18s ease;}
.menu a:hover,.menu a.active{color:var(--gold);}
.menu a:hover:after,.menu a.active:after{display:none!important;content:none!important;}

.page-hero{padding:26px 0 24px;}
.page-hero h1{font-size:31px;margin:0 0 5px;}
.page-hero p{font-size:14px;line-height:1.45;}
.content{padding:26px 0 30px;}
.prose{max-width:900px;}
.prose p{text-align:justify;hyphens:auto;font-size:15px;line-height:1.58;margin-bottom:13px;}

/* Szakterületek oldal: cím után közvetlenül a kártyák */
body:has(.page-hero h1) .cards{margin-top:0;}
.card h3{color:var(--gold)!important;}
.card .icon{display:none!important;}

/* A kapcsolat oldali form kényelmes, de kompakt */
.content .contact-grid{gap:24px;}
.content .contact-list{margin-top:0;}

@media(max-width:980px){
  .nav.open .menu a:hover,.nav.open .menu a.active{color:var(--gold);}
  .page-hero{padding:23px 0 21px;}
  .content{padding:23px 0 27px;}
}
@media(max-width:640px){
  .page-hero{padding:21px 0 19px;}
  .page-hero h1{font-size:27px;}
  .content{padding:20px 0 24px;}
  .prose p{text-align:justify;hyphens:auto;font-size:15px;}
}

/* V13 — kompakt, jobb oldalról lenyíló menü tablet/kisebb asztali nézetben */
@media(max-width:980px){
  .nav{position:relative}
  .nav.open .menu{
    display:flex;
    position:absolute;
    left:auto;
    right:0;
    top:calc(100% + 1px);
    width:min(280px,calc(100vw - 28px));
    background:#fff;
    flex-direction:column;
    align-items:stretch;
    gap:0;
    padding:8px 0;
    border:1px solid rgba(7,31,51,.10);
    border-top:0;
    border-radius:0 0 8px 8px;
    box-shadow:0 14px 30px rgba(7,31,51,.14);
    z-index:80;
  }
  .nav.open .menu a{
    width:auto;
    padding:11px 18px;
    text-align:left;
    background:#fff;
  }
  .nav.open .menu a:hover,
  .nav.open .menu a.active{
    background:rgba(191,147,61,.08);
    color:var(--gold);
  }
}
@media(max-width:640px){
  .nav.open .menu{
    right:0;
    width:min(260px,calc(100vw - 28px));
    top:calc(100% + 1px);
  }
}


/* V19 – egységes sorkizárás asztali és mobil nézetben */
.hero-copy p,
.about-grid p,
.services-grid .service-card p,
.contact-band p,
.page-hero p,
.prose p,
.details p,
.legal-note{
  text-align:justify;
  hyphens:auto;
  -webkit-hyphens:auto;
}
@media (max-width: 760px){
  .hero-copy p,
  .about-grid p,
  .services-grid .service-card p,
  .contact-band p,
  .page-hero p,
  .prose p,
  .details p,
  .legal-note{
    text-align:justify!important;
    hyphens:auto!important;
    -webkit-hyphens:auto!important;
  }
}


/* V20 – végleges vizuális finomítások */
/* A főoldali nyitóblokk közelebb kerül a fejléchez. */
.hero-copy{padding-top:9px;}

/* Szakterületi aloldalak: arany cím, arany dőlt alcím. */
body.specialty-page .page-hero h1{color:var(--gold);}
body.specialty-page .page-hero p{color:var(--gold);font-style:italic;}

@media(max-width:980px){
  .hero-copy{padding-top:9px;}
}
@media(max-width:760px){
  .hero-copy{padding-top:10px;}
}

/* V21 – kompaktabb főoldali portré és nyitóblokk */
@media(min-width:981px){
  .hero-grid{min-height:240px;}
  .hero-photo{width:23%;height:88%;top:6%;}
  .hero-copy{width:74%;padding-bottom:12px;}
}
@media(max-width:980px) and (min-width:641px){
  .hero-grid{grid-template-columns:68% 32%;}
  .hero-photo{min-height:280px;margin-block:18px;}
}
@media(max-width:640px){
  .hero-photo{min-height:215px;height:215px;margin:0 -14px;}
}

/* V22 – asztali főoldali hero tényleges tömörítése */
@media (min-width:981px){
  .hero-grid{min-height:0;}
  .hero-copy{width:78%;padding-top:7px;padding-bottom:9px;}
  .hero-photo{width:20%;height:76%;top:12%;right:0;}
  .hero + section{padding-top:10px;}
}

/* V23 – végleges szakterületi és kapcsolat fejléc finomítás */
body.specialty-page .page-hero h1{color:var(--navy);font-weight:700;}
body.specialty-page .page-hero p{color:var(--gold);font-style:italic;}
body.contact-page .page-hero .eyebrow{color:var(--gold);font-size:31px;line-height:1.15;font-weight:700;text-transform:none;letter-spacing:0;margin:0;}

/* V24 – végleges korrekció: szakterületi kiemelés vissza aranyra, asztali portré határozottan kisebb */
body.specialty-page .page-hero h1{color:var(--gold);font-weight:700;}
body.specialty-page .page-hero p{color:var(--gold);font-style:italic;}

@media (min-width:1101px){
  .hero-grid{min-height:0;}
  .hero-copy{width:81%;padding-top:7px;padding-bottom:9px;}
  .hero-photo{width:17%;height:62%;top:19%;right:0;}
  .hero-photo img{width:100%;height:100%;object-fit:cover;object-position:center 18%;}
}

.details-title{font-weight:800;color:var(--navy);margin-bottom:10px}


/* V27 – végleges asztali portréméret: fix, egyértelműen kisebb kép */
@media (min-width:1101px){
  .hero-grid{min-height:0;}
  .hero-copy{width:82%;padding-top:7px;padding-bottom:9px;}
  .hero-photo{
    width:150px;
    height:178px;
    top:50%;
    right:8px;
    transform:translateY(-50%);
  }
  .hero-photo img{width:100%;height:100%;object-fit:cover;object-position:center 18%;}
  .hero + section{padding-top:8px;}
}

/* V29: main navigation gold in all views */
.menu, .menu a, .nav.open .menu a{color:var(--gold)!important;}
.menu a:hover,.menu a.active,.nav.open .menu a:hover,.nav.open .menu a.active{color:var(--navy)!important;}
.menu a:hover:after,.menu a.active:after{display:none!important;content:none!important;}


/* V30 – Rólam fejléc és mobil portrékorrekció */
body.about-page .page-hero h1{color:var(--gold);font-weight:700;}
body.about-page .page-hero p{color:var(--gold);font-style:italic;}

@media(max-width:640px){
  /* Mobilon a portré felső része maradjon látható, a PC-s elrendezés érintése nélkül. */
  .hero-photo{min-height:225px;height:225px;margin:8px -14px 0;}
  .hero-photo img{object-position:center 4%;}
}

/* V31 – végleges adatkezelési tájékoztató */
body.privacy-page .page-hero h1{color:var(--gold);}
body.privacy-page .page-hero p{color:var(--gold);font-style:italic;}
.privacy-prose{max-width:1100px;}
.privacy-prose h2{font-size:23px;margin:30px 0 12px;}
.privacy-prose ul{color:#34424e;line-height:1.62;margin:0 0 18px;padding-left:24px;}
.privacy-prose li{margin:5px 0;}
.privacy-prose a{color:#8a641f;text-decoration:underline;text-underline-offset:2px;}
.privacy-table-wrap{margin:18px 0 24px;overflow-x:auto;}
.privacy-table{width:100%;border-collapse:collapse;font-size:13px;line-height:1.45;color:#34424e;background:#fff;}
.privacy-table th{background:var(--navy);color:var(--gold2);text-align:left;padding:11px 10px;vertical-align:top;}
.privacy-table td{border:1px solid #d9dee2;padding:10px;vertical-align:top;}
.privacy-table tbody tr:nth-child(even){background:#f7f5ef;}
.privacy-notice{font-size:12px;line-height:1.45;color:#52606b;margin:2px 0 4px;}
.privacy-notice a{color:#8a641f;text-decoration:underline;}
@media(max-width:760px){
  .privacy-table,.privacy-table tbody,.privacy-table tr,.privacy-table td{display:block;width:100%;}
  .privacy-table thead{display:none;}
  .privacy-table tr{margin:0 0 15px;border:1px solid #d9dee2;border-radius:8px;overflow:hidden;background:#fff!important;box-shadow:0 4px 12px rgba(7,31,51,.06);}
  .privacy-table td{border:0;border-bottom:1px solid #e6e9eb;padding:9px 12px;}
  .privacy-table td:last-child{border-bottom:0;}
  .privacy-table td:before{content:attr(data-label);display:block;color:var(--navy);font-size:11px;font-weight:800;text-transform:uppercase;letter-spacing:.04em;margin-bottom:3px;}
  .privacy-prose h2{font-size:21px;}
}
