
:root{
 --navy:#071a33;--navy-2:#0b2a4d;--ink:#162338;--gold:#c6a05b;
 --cream:#f5f2ec;--paper:#ffffff;--muted:#697486;--line:#e2ddd4;--soft:#ece7de;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;background:var(--cream);color:var(--ink);font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;line-height:1.62}
img{display:block;max-width:100%}
a{color:inherit;text-decoration:none}
button,input,textarea{font:inherit}
.container{width:min(1180px,calc(100% - 40px));margin:auto}
.eyebrow{margin:0 0 14px;font-size:11px;letter-spacing:.22em;font-weight:800;color:var(--gold);text-transform:uppercase}
h1,h2,h3{font-family:Georgia,"Times New Roman",serif;font-weight:400;letter-spacing:-.032em}
.site-header{position:fixed;top:0;left:0;right:0;z-index:80;background:rgba(4,17,36,.92);backdrop-filter:blur(14px);border-bottom:1px solid rgba(255,255,255,.1)}
.nav{height:80px;display:flex;align-items:center;justify-content:space-between;gap:28px}
.brand img{width:220px;max-height:54px;object-fit:contain;object-position:left center}
.main-nav{display:flex;align-items:center;gap:26px;color:#fff;font-size:14px}
.main-nav>a{opacity:.83;transition:.2s}
.main-nav>a:hover,.main-nav>a.active{opacity:1}
.nav-cta{border:1px solid rgba(198,160,91,.75);color:#f1d79f!important;border-radius:999px;padding:10px 17px}
.menu-toggle{display:none;background:none;border:0;padding:10px}
.menu-toggle span{display:block;width:27px;height:2px;background:#fff;margin:5px}
.hero{min-height:810px;height:94vh;position:relative;display:flex;align-items:flex-end;background:var(--navy);overflow:hidden}
.hero>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.hero:after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(2,14,31,.95) 0%,rgba(3,18,40,.78) 42%,rgba(3,18,40,.23) 74%),linear-gradient(0deg,rgba(2,14,31,.62),transparent 57%)}
.hero-content{position:relative;z-index:2;color:#fff;padding:145px 0 64px}
.hero h1{font-size:clamp(54px,7.3vw,106px);line-height:.97;margin:0;max-width:930px}
.hero h1 span{color:#dfc28b}
.hero-lead{max-width:720px;font-size:19px;color:rgba(255,255,255,.83);margin:28px 0 30px}
.actions{display:flex;gap:12px;flex-wrap:wrap}
.btn{min-height:50px;display:inline-flex;align-items:center;justify-content:center;border-radius:999px;padding:0 22px;border:1px solid transparent;font-size:14px;font-weight:760;cursor:pointer}
.btn-gold{background:var(--gold);color:var(--navy)}
.btn-gold:hover{background:#d7b778}
.btn-ghost{border-color:rgba(255,255,255,.42);color:#fff;background:rgba(255,255,255,.04)}
.btn-light{background:#fff;color:var(--navy)}
.hero-stats{margin-top:50px;border-top:1px solid rgba(255,255,255,.2);padding-top:22px;display:grid;grid-template-columns:repeat(3,1fr);gap:24px;max-width:820px}
.hero-stats strong{display:block;font-size:20px}
.hero-stats span{display:block;color:rgba(255,255,255,.57);font-size:11px;letter-spacing:.09em;text-transform:uppercase}
.section{padding:100px 0}
.white{background:#fff}
.navy{background:var(--navy);color:#fff}
.section h2,.page-section h2{font-size:clamp(38px,4.8vw,64px);line-height:1.06;margin:0;color:var(--navy)}
.navy h2{color:#fff}
.intro-grid{display:grid;grid-template-columns:1fr 1fr;gap:74px;align-items:start}
.intro-copy{padding-top:28px;color:var(--muted);font-size:18px}
.intro-copy p:first-child{font-size:21px;color:#24354c}
.section-head{max-width:810px;margin-bottom:46px}
.service-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}
.service{border:1px solid var(--line);background:#fbfaf7;padding:34px 30px;min-height:360px;display:flex;flex-direction:column}
.service.featured{background:var(--navy);color:#fff;border-color:var(--navy)}
.service-num{font-size:11px;letter-spacing:.16em;color:#97733a}
.service.featured .service-num{color:#dcc38f}
.service h3{font-size:31px;line-height:1.08;margin:40px 0 17px}
.service p{color:var(--muted)}
.service.featured p{color:rgba(255,255,255,.69)}
.service a{margin-top:auto;color:#9a7539;font-weight:800;font-size:14px}
.principles-head{display:grid;grid-template-columns:1fr 1fr;gap:70px;align-items:end;margin-bottom:54px}
.principles-head>p{color:rgba(255,255,255,.67);font-size:18px;margin:0}
.principles{display:grid;grid-template-columns:repeat(4,1fr);border-left:1px solid rgba(255,255,255,.16);border-top:1px solid rgba(255,255,255,.16)}
.principle{padding:30px 25px;border-right:1px solid rgba(255,255,255,.16);border-bottom:1px solid rgba(255,255,255,.16)}
.principle>span{font-size:11px;color:#dcc18a;letter-spacing:.12em}
.principle h3{font-size:25px;margin:32px 0 12px}
.principle p{font-size:14px;color:rgba(255,255,255,.62)}
.about-grid{display:grid;grid-template-columns:1fr 1fr;gap:72px;align-items:center}
.about-photo{position:relative}
.about-photo img{width:100%;height:630px;object-fit:cover}
.badge{position:absolute;right:-26px;bottom:32px;width:148px;height:148px;border-radius:50%;background:var(--navy);border:8px solid #fff;color:#fff;display:flex;align-items:center;justify-content:center;flex-direction:column;box-shadow:0 18px 50px rgba(0,0,0,.15)}
.badge strong{font-family:Georgia,serif;font-size:37px;font-weight:400;color:#dfc28b;line-height:1}
.badge span{font-size:11px;letter-spacing:.08em;text-transform:uppercase}
.about-copy .lead{font-size:21px;color:#203149}
.about-copy p{color:var(--muted)}
.trust-line{display:flex;gap:12px;align-items:flex-start;border-top:1px solid var(--line);margin-top:28px;padding-top:20px}
.trust-mark{width:11px;height:11px;border-radius:50%;background:var(--gold);margin-top:7px;flex:0 0 auto}
.signature{border-top:1px solid var(--line);margin-top:24px;padding-top:20px}
.signature small{display:block;text-transform:uppercase;letter-spacing:.12em;color:#92774c}
.signature strong{font-family:Georgia,serif;font-size:25px;font-weight:400}
.refs-home{background:#efebe4}
.refs-heading{display:grid;grid-template-columns:1.1fr .9fr;gap:70px;align-items:end;margin-bottom:42px}
.refs-heading p:last-child{margin:0;color:var(--muted)}
.project-cards{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}
.project-card{position:relative;min-height:360px;overflow:hidden;background:var(--navy)}
.project-card img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;transition:transform .5s}
.project-card:after{content:"";position:absolute;inset:30% 0 0;background:linear-gradient(transparent,rgba(3,17,35,.88))}
.project-card:hover img{transform:scale(1.035)}
.project-card .content{position:absolute;z-index:2;left:22px;right:22px;bottom:20px;color:#fff}
.project-card .content small{display:block;color:#e2c88e;letter-spacing:.11em;text-transform:uppercase;margin-bottom:4px}
.project-card .content h3{font-size:29px;line-height:1.1;margin:0}
.refs-actions{display:flex;justify-content:center;margin-top:34px}
.property-band{background:#a57e41;color:#fff;padding:64px 0}
.property-band .inner{display:flex;align-items:center;justify-content:space-between;gap:50px}
.property-band h2{font-size:44px;color:#fff;margin:0}
.property-band p{max-width:780px;color:rgba(255,255,255,.86)}
.contact-teaser{background:#fff}
.contact-teaser .inner{display:grid;grid-template-columns:1fr auto;align-items:center;gap:50px;padding:70px 0}
.contact-teaser p{max-width:760px;color:var(--muted);font-size:18px}
.site-footer{background:#041326;color:#fff;padding:54px 0 30px}
.footer-grid{display:grid;grid-template-columns:1.2fr .8fr 1fr;gap:54px}
.footer-logo img{width:210px}
.footer-tag{font-size:13px;color:rgba(255,255,255,.5)}
.footer-links{display:flex;flex-direction:column;gap:8px;color:rgba(255,255,255,.72);font-size:14px}
.footer-meta{color:rgba(255,255,255,.55);font-size:13px}
.footer-meta p{margin:4px 0}
.legal-links{border-top:1px solid rgba(255,255,255,.12);margin-top:32px;padding-top:20px;display:flex;gap:22px;font-size:12px;color:rgba(255,255,255,.56)}
.page-hero{padding:150px 0 72px;background:linear-gradient(135deg,#06172e,#0d2d52);color:#fff}
.page-hero h1{font-size:clamp(46px,6vw,76px);line-height:1;margin:0}
.page-hero p{max-width:760px;color:rgba(255,255,255,.72);font-size:18px;margin:20px 0 0}
.page-section{padding:88px 0}
.project-section{padding:76px 0;border-bottom:1px solid var(--line)}
.project-section:nth-child(even){background:#fff}
.project-head{display:flex;justify-content:space-between;align-items:end;gap:28px;margin-bottom:24px}
.project-head h2{font-size:clamp(33px,4vw,48px)}
.project-head small{font-size:11px;letter-spacing:.14em;color:#9a7b46;text-transform:uppercase}
.project-gallery{display:grid;grid-template-columns:repeat(12,1fr);grid-auto-rows:220px;gap:10px}
.project-gallery button{border:0;padding:0;overflow:hidden;background:#ddd;cursor:pointer}
.project-gallery button img{width:100%;height:100%;object-fit:cover;transition:transform .4s}
.project-gallery button:hover img{transform:scale(1.025)}
.project-gallery button:nth-child(5n+1){grid-column:span 7;grid-row:span 2}
.project-gallery button:nth-child(5n+2){grid-column:span 5;grid-row:span 2}
.project-gallery button:nth-child(5n+3){grid-column:span 4}
.project-gallery button:nth-child(5n+4){grid-column:span 4}
.project-gallery button:nth-child(5n+5){grid-column:span 4}
.project-gallery.two button{grid-column:span 6!important;grid-row:span 2!important}
.project-nav{display:flex;gap:9px;flex-wrap:wrap;margin-top:28px}
.project-nav a{font-size:12px;border:1px solid rgba(255,255,255,.25);border-radius:999px;padding:8px 12px;color:rgba(255,255,255,.78)}
.contact-page{background:#fff}
.contact-grid{display:grid;grid-template-columns:.85fr 1.15fr;gap:72px}
.contact-info h2,.legal h2{font-size:42px}
.contact-info p{color:var(--muted);font-size:17px}
.contact-list{border-top:1px solid var(--line);margin-top:32px}
.contact-list a,.contact-list .row{display:flex;justify-content:space-between;gap:20px;padding:17px 0;border-bottom:1px solid var(--line)}
.contact-list span{font-size:11px;letter-spacing:.09em;text-transform:uppercase;color:#8a7654}
.contact-list strong{text-align:right;color:var(--navy)}
.form-card{background:var(--navy);color:#fff;padding:40px}
.form-card h2{color:#fff;font-size:40px;margin-bottom:26px}
.form-card label{display:flex;flex-direction:column;gap:7px;font-size:12px;color:rgba(255,255,255,.72);margin-bottom:15px}
.form-card input,.form-card textarea{width:100%;background:rgba(255,255,255,.06);border:1px solid rgba(255,255,255,.18);color:#fff;padding:13px 14px;outline:none}
.form-card input:focus,.form-card textarea:focus{border-color:#d7b675}
.form-row{display:grid;grid-template-columns:1fr 1fr;gap:14px}
.consent{display:flex!important;flex-direction:row!important;align-items:flex-start;gap:10px!important;font-size:12px!important;line-height:1.45;margin:6px 0 18px!important}
.consent input{width:auto!important;margin-top:3px}
.consent a{text-decoration:underline;color:#f1d69e}
.form-note{font-size:11px;color:rgba(255,255,255,.48)}
.legal{background:#fff}
.legal article{max-width:900px}
.legal h2{margin-top:42px;color:var(--navy)}
.legal h3{font-size:25px;margin-top:28px;color:var(--navy)}
.legal p,.legal li{color:#556173}
.legal table{width:100%;border-collapse:collapse;margin:18px 0 26px}
.legal td,.legal th{border:1px solid var(--line);padding:11px;text-align:left;vertical-align:top}
.notice{padding:14px 16px;background:#f1eee7;border-left:3px solid var(--gold);color:#5f6875}
.lightbox{border:0;padding:0;background:#07111f;max-width:min(94vw,1280px);max-height:94vh;box-shadow:0 30px 90px rgba(0,0,0,.5)}
.lightbox::backdrop{background:rgba(0,0,0,.88)}
.lightbox img{max-width:94vw;max-height:90vh;object-fit:contain;margin:auto}
.lightbox-close{position:absolute;right:10px;top:10px;width:42px;height:42px;border:0;border-radius:50%;background:rgba(0,0,0,.62);color:#fff;font-size:27px;cursor:pointer;z-index:2}

@media(max-width:900px){
 .container{width:min(100% - 28px,1180px)}.nav{height:70px}.brand img{width:180px}
 .menu-toggle{display:block}.main-nav{display:none;position:absolute;top:70px;left:0;right:0;background:#071a33;padding:16px 22px 25px;flex-direction:column;align-items:stretch;gap:4px}.main-nav.open{display:flex}.main-nav>a{padding:11px 4px}.nav-cta{text-align:center;margin-top:8px}
 .hero{min-height:740px;height:auto}.hero-content{padding:160px 0 52px}.hero h1{font-size:clamp(46px,11vw,72px)}.hero-lead{font-size:17px}
 .hero-stats{grid-template-columns:1fr;gap:10px}.section,.page-section{padding:74px 0}
 .intro-grid,.principles-head,.about-grid,.refs-heading,.contact-grid{grid-template-columns:1fr;gap:34px}
 .service-grid{grid-template-columns:1fr}.service{min-height:auto}.principles{grid-template-columns:1fr 1fr}
 .about-photo img{height:520px}.badge{right:12px}
 .project-cards{grid-template-columns:1fr 1fr}.project-card{min-height:310px}
 .property-band .inner,.contact-teaser .inner{align-items:flex-start;flex-direction:column;display:flex}
 .footer-grid{grid-template-columns:1fr;gap:26px}
 .project-gallery{grid-template-columns:repeat(2,1fr);grid-auto-rows:230px}
 .project-gallery button:nth-child(n){grid-column:auto;grid-row:auto}
 .project-gallery.two button{grid-column:auto!important;grid-row:auto!important}
}
@media(max-width:560px){
 .hero{min-height:710px}.hero h1{font-size:47px}.section h2{font-size:38px}.principles{grid-template-columns:1fr}
 .project-cards{grid-template-columns:1fr}.project-card{min-height:300px}
 .about-photo img{height:420px}.property-band h2{font-size:34px}.form-row{grid-template-columns:1fr}.form-card{padding:28px 20px}
 .contact-list a,.contact-list .row{flex-direction:column;gap:3px}.contact-list strong{text-align:left}
 .project-gallery{grid-template-columns:1fr;grid-auto-rows:270px}
 .project-head{align-items:flex-start;flex-direction:column}
}


/* V5 finomítások */
.main-nav .property-link{
  color:#e4c47f;
  font-weight:760;
  opacity:1;
}
.main-nav .property-link:hover{color:#f4dda9}

.refs-heading{
  display:block;
  max-width:760px;
  margin-bottom:42px;
}

.service-note{
  margin-top:18px;
  padding:22px 24px;
  border-left:3px solid var(--gold);
  background:#f3efe7;
  color:#5d6877;
  font-size:15px;
}
.service-note strong{
  color:var(--navy);
  margin-right:4px;
}

@media(max-width:1100px){
  .main-nav{gap:20px;font-size:13px}
}


/* ===== V6 referencia galériák ===== */
.hero>img{object-position:center 48%}
.project-cards.all-projects{grid-template-columns:repeat(3,1fr)}
.project-card .count{margin-top:8px;font-size:12px;color:rgba(255,255,255,.68)}
.project-detail-hero{padding:145px 0 56px;background:linear-gradient(135deg,#06172e,#0d2d52);color:#fff}
.project-detail-hero h1{margin:0;font-size:clamp(42px,5.6vw,72px);line-height:1.02;color:#fff}
.project-detail-hero p{margin:18px 0 0;color:rgba(255,255,255,.65)}
.back-link{display:inline-flex;margin-bottom:22px;color:#e4c47f;font-size:13px;font-weight:750}
.project-detail{background:#fff;padding:72px 0 90px}
.project-detail-grid{display:grid;grid-template-columns:repeat(12,1fr);grid-auto-rows:220px;gap:10px}
.project-detail-grid .gallery-item{border:0;padding:0;overflow:hidden;background:#ddd;cursor:pointer}
.project-detail-grid .gallery-item img{width:100%;height:100%;object-fit:cover;transition:transform .35s ease}
.project-detail-grid .gallery-item:hover img{transform:scale(1.025)}
.project-detail-grid .gallery-item:nth-child(6n+1){grid-column:span 7;grid-row:span 2}
.project-detail-grid .gallery-item:nth-child(6n+2){grid-column:span 5;grid-row:span 2}
.project-detail-grid .gallery-item:nth-child(6n+3),.project-detail-grid .gallery-item:nth-child(6n+4),.project-detail-grid .gallery-item:nth-child(6n+5){grid-column:span 4}
.project-detail-grid .gallery-item:nth-child(6n+6){grid-column:span 12}
.gallery-item.is-extra{display:none}.project-detail-grid.show-all .gallery-item.is-extra{display:block}
.more-wrap{display:flex;justify-content:center;margin-top:30px}.more-btn{min-height:50px;border:1px solid #b8904d;color:var(--navy);background:#fff;border-radius:999px;padding:0 22px;font-weight:760;cursor:pointer}.more-btn:hover{background:#f4efe6}
@media(max-width:900px){.project-cards.all-projects{grid-template-columns:1fr 1fr}.project-detail-grid{grid-template-columns:repeat(2,1fr);grid-auto-rows:230px}.project-detail-grid .gallery-item:nth-child(n){grid-column:auto;grid-row:auto}}
@media(max-width:560px){.project-cards.all-projects{grid-template-columns:1fr}.project-detail-grid{grid-template-columns:1fr;grid-auto-rows:275px}}

/* Lapozható képnagyító */
.lightbox{width:min(94vw,1280px);height:92vh;max-height:92dvh;overflow:hidden;background:#07111f}
.lightbox img{width:100%;height:100%;max-width:100%;max-height:100%;padding:64px 62px 58px;object-fit:contain}
.lightbox-prev,.lightbox-next{position:absolute;top:50%;transform:translateY(-50%);z-index:2;width:48px;height:56px;border:1px solid #768597;border-radius:6px;background:#071a33;color:white;font-size:2.5rem;line-height:1;cursor:pointer}
.lightbox-prev{left:8px}.lightbox-next{right:8px}
.lightbox-close{width:46px;height:46px;background:#071a33;border:1px solid #768597}
.lightbox-count{position:absolute;bottom:12px;left:50%;transform:translateX(-50%);margin:0;color:white;font-size:1rem}

.lightbox button:focus-visible{outline:3px solid #bc914d;outline-offset:3px}
@media(max-width:560px){
 .lightbox{width:100%;max-width:100%;height:100%;max-height:100dvh;margin:0}
 .lightbox img{padding:64px 8px 100px}
 .lightbox-prev,.lightbox-next{top:auto;bottom:20px;transform:none;height:48px}
 .lightbox-prev{left:20px}.lightbox-next{right:20px}.lightbox-count{bottom:31px}
}
