/* RODO — aloldalak közös stílusa (termékoldalak, ajtótervező) */
:root {
    --red: #C62828; --red-light: #E53935; --red-dark: #8E0000;
    --black: #0A0A0A; --white: #FFFFFF; --white-muted: #F8F8F6; --light-gray: #F2F2EF;
    --gray: #777777; --gray-light: #999999; --gray-dark: #333333;
    --text: #1a1a1a; --text-muted: #555555; --gold: #C9A96E;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: 'Inter', -apple-system, sans-serif; background: var(--white); color: var(--text); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
h1, h2, h3, h4 { font-family: 'DM Serif Display', Georgia, serif; font-weight: 400; }
.accent { color: var(--red); }
img { max-width: 100%; display: block; }

/* NAV */
nav.sub-nav {
    position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
    padding: 18px 60px; display: flex; align-items: center; justify-content: space-between;
    background: rgba(255,255,255,0.97); backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0,0,0,0.08); box-shadow: 0 2px 20px rgba(0,0,0,0.06);
}
.nav-logo { font-family: 'Nunito', sans-serif; font-size: 22px; letter-spacing: 4px; text-transform: uppercase; color: var(--red); text-decoration: none; font-weight: 900; }
.nav-logo span { color: var(--gray-light); font-size: 10px; display: block; letter-spacing: 4px; margin-top: 2px; font-weight: 400; }
.nav-logo span span { color: var(--gold); display: inline; }
.nav-links { display: flex; gap: 32px; list-style: none; align-items: center; }
.nav-links a { color: var(--text); text-decoration: none; font-size: 12px; letter-spacing: 3px; text-transform: uppercase; opacity: 0.85; transition: all 0.3s; font-weight: 500; }
.nav-links a:hover { opacity: 1; color: var(--red); }
.nav-links a.active { color: var(--red); opacity: 1; }
.nav-cta { padding: 12px 28px; border: 2px solid var(--red) !important; color: var(--red) !important; opacity: 1 !important; font-weight: 600 !important; }
.nav-cta:hover { background: var(--red); color: var(--white) !important; }
.nav-menu-btn { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.nav-menu-btn span { display: block; width: 24px; height: 1.5px; background: var(--red); margin: 6px 0; }
.nav-links.mobile-open { display: flex !important; flex-direction: column; position: fixed; inset: 0; background: rgba(10,10,10,0.98); justify-content: center; align-items: center; gap: 28px; z-index: 9998; }
.nav-links.mobile-open a { font-size: 15px; color: var(--white); opacity: 1; }
.nav-links.mobile-open .nav-cta { border-color: var(--white) !important; color: var(--white) !important; }
.mobile-close { display: none; position: absolute; top: 24px; right: 24px; background: none; border: none; color: var(--red); font-size: 28px; cursor: pointer; }
.nav-links.mobile-open .mobile-close { display: block; }

/* PAGE HERO */
.page-hero { position: relative; padding: 170px 60px 90px; background: var(--black); color: var(--white); overflow: hidden; }
.page-hero .hero-img { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: 0.55; }
.page-hero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10,10,10,0.92) 0%, rgba(10,10,10,0.55) 60%, rgba(10,10,10,0.25) 100%); }
.page-hero .inner { position: relative; z-index: 2; max-width: 1200px; margin: 0 auto; }
.section-label { font-size: 12px; letter-spacing: 5px; text-transform: uppercase; color: var(--red); margin-bottom: 18px; font-weight: 600; }
.page-hero h1 { font-size: clamp(36px, 5vw, 64px); line-height: 1.1; margin-bottom: 20px; max-width: 760px; }
.page-hero .lead { font-size: clamp(15px, 1.4vw, 18px); color: rgba(255,255,255,0.85); max-width: 600px; line-height: 1.7; margin-bottom: 36px; }
.hero-badges { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 36px; }
.hero-badges span { font-size: 11px; letter-spacing: 2px; text-transform: uppercase; padding: 8px 14px; border: 1px solid rgba(255,255,255,0.25); color: rgba(255,255,255,0.9); }
.hero-badges span.hot { background: var(--red); border-color: var(--red); color: var(--white); font-weight: 700; }
.breadcrumb { font-size: 12px; margin-bottom: 28px; letter-spacing: 1px; }
.breadcrumb a { color: rgba(255,255,255,0.55); text-decoration: none; }
.breadcrumb a:hover { color: var(--red); }
.breadcrumb span { color: rgba(255,255,255,0.3); margin: 0 8px; }
.btn-primary { padding: 18px 44px; background: var(--red); color: var(--white); text-decoration: none; font-size: 12px; letter-spacing: 3px; text-transform: uppercase; font-weight: 600; font-family: 'Inter', sans-serif; transition: all 0.4s; display: inline-block; border: none; cursor: pointer; }
.btn-primary:hover { background: var(--red-dark); transform: translateY(-2px); box-shadow: 0 8px 32px rgba(198,40,40,0.3); }
.btn-ghost { padding: 18px 44px; border: 2px solid rgba(255,255,255,0.6); color: var(--white); text-decoration: none; font-size: 12px; letter-spacing: 3px; text-transform: uppercase; font-family: 'Inter', sans-serif; transition: all 0.3s; display: inline-block; }
.btn-ghost:hover { border-color: var(--red); color: var(--red); }
.btn-ghost.dark { border-color: rgba(0,0,0,0.25); color: var(--text); }
.btn-ghost.dark:hover { border-color: var(--red); color: var(--red); }
.hero-ctas { display: flex; gap: 16px; flex-wrap: wrap; }

/* SECTIONS */
section { padding: 110px 60px; }
section.alt { background: var(--light-gray); }
.container { max-width: 1200px; margin: 0 auto; }
.section-title { font-size: clamp(30px, 3.6vw, 48px); line-height: 1.15; margin-bottom: 20px; color: var(--text); }
.section-text { font-size: 16px; line-height: 1.8; color: var(--text-muted); max-width: 640px; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; }
.two-col.reverse > :first-child { order: 2; }
.img-frame { border-radius: 6px; overflow: hidden; box-shadow: 0 20px 60px rgba(0,0,0,0.12); aspect-ratio: 4/3; }
.img-frame img { width: 100%; height: 100%; object-fit: cover; }
.checklist { list-style: none; margin-top: 28px; }
.checklist li { padding: 12px 0; border-bottom: 1px solid rgba(0,0,0,0.07); font-size: 15px; color: var(--text); display: flex; gap: 14px; align-items: flex-start; line-height: 1.6; }
.checklist li::before { content: '◆'; color: var(--red); font-size: 9px; margin-top: 8px; flex-shrink: 0; }
.checklist li strong { font-weight: 600; }

/* VÁLASZTÓK (szín / kilincs / üveg / méret) */
.chooser { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 1.3fr 1fr; gap: 56px; align-items: start; }
.chooser-stage { position: relative; border-radius: 6px; overflow: hidden; background: var(--light-gray); aspect-ratio: 4/3; box-shadow: 0 20px 60px rgba(0,0,0,0.12); }
.chooser-stage img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 0.5s ease; }
.chooser-stage img.on { opacity: 1; }
.chooser-stage canvas { width: 100%; height: 100%; display: block; object-fit: contain; }
.chooser-caption { position: absolute; left: 16px; bottom: 16px; background: rgba(10,10,10,0.72); color: var(--white); backdrop-filter: blur(8px); padding: 10px 16px; font-size: 12px; letter-spacing: 2px; text-transform: uppercase; border-radius: 99px; }
.chooser-caption b { color: var(--gold); font-weight: 600; }
.chooser-panel h3 { font-size: 26px; margin-bottom: 8px; }
.chooser-panel .sub { font-size: 14px; color: var(--text-muted); margin-bottom: 22px; line-height: 1.6; }
.swatch-row { display: grid; grid-template-columns: repeat(auto-fill, minmax(78px, 1fr)); gap: 10px; }
.swatch { cursor: pointer; border: 2px solid transparent; border-radius: 6px; padding: 5px; background: var(--white); transition: all 0.2s; text-align: center; touch-action: manipulation; }
.swatch:hover { transform: translateY(-2px); box-shadow: 0 6px 16px rgba(0,0,0,0.1); }
.swatch.active { border-color: var(--red); background: #fff5f5; }
.swatch .tile { width: 100%; aspect-ratio: 1.1/1; border-radius: 4px; box-shadow: inset 0 0 0 1px rgba(0,0,0,0.12); background-size: cover; }
.swatch .name { font-size: 10.5px; font-weight: 600; margin-top: 6px; line-height: 1.2; min-height: 24px; color: var(--text); }
.swatch .code { font-size: 9px; color: var(--gray); margin-top: 1px; }
.chooser-note { margin-top: 18px; font-size: 12px; color: var(--gray); line-height: 1.6; }
.option-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; max-width: 1200px; margin: 48px auto 0; }
.option-card { background: var(--white); border: 1px solid rgba(0,0,0,0.08); border-radius: 6px; overflow: hidden; transition: all 0.3s; }
.option-card:hover { border-color: rgba(198,40,40,0.4); box-shadow: 0 8px 28px rgba(0,0,0,0.08); }
.option-card .oc-img { aspect-ratio: 4/3; overflow: hidden; background: var(--light-gray); position: relative; }
.option-card .oc-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s; }
.option-card:hover .oc-img img { transform: scale(1.05); }
.option-card .oc-body { padding: 20px 22px 24px; }
.option-card h4 { font-size: 20px; margin-bottom: 6px; }
.option-card p { font-size: 14px; color: var(--text-muted); line-height: 1.6; }
.option-card .oc-tag { display: inline-block; font-size: 10px; letter-spacing: 2px; text-transform: uppercase; color: var(--red); font-weight: 700; margin-bottom: 8px; }
.spec-table { width: 100%; border-collapse: collapse; max-width: 760px; }
.spec-table th, .spec-table td { text-align: left; padding: 16px 18px; border-bottom: 1px solid rgba(0,0,0,0.07); font-size: 15px; }
.spec-table th { font-size: 11px; letter-spacing: 3px; text-transform: uppercase; color: var(--gray); font-weight: 600; }
.spec-table td:last-child { font-weight: 600; }
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; max-width: 1000px; margin: 48px auto 0; }
.compare-col { padding: 36px 32px; border-radius: 6px; border: 1px solid rgba(0,0,0,0.08); background: var(--white); }
.compare-col.win { border: 2px solid var(--red); position: relative; }
.compare-col.win::before { content: 'Ajánlott'; position: absolute; top: -12px; left: 24px; background: var(--red); color: var(--white); font-size: 10px; letter-spacing: 2px; text-transform: uppercase; padding: 5px 12px; font-weight: 700; }
.compare-col h4 { font-size: 24px; margin-bottom: 18px; }
.compare-col li { list-style: none; padding: 9px 0; border-bottom: 1px solid rgba(0,0,0,0.06); font-size: 14px; color: var(--text-muted); display: flex; gap: 10px; }
.compare-col li::before { content: '—'; color: var(--gray-light); }
.compare-col.win li::before { content: '✓'; color: var(--red); font-weight: 700; }

/* GYIK */
.faq { max-width: 820px; margin: 0 auto; }
.faq details { border-bottom: 1px solid rgba(0,0,0,0.08); }
.faq summary { cursor: pointer; list-style: none; padding: 22px 0; font-family: 'DM Serif Display', serif; font-size: 20px; display: flex; justify-content: space-between; gap: 20px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; color: var(--red); font-size: 26px; line-height: 1; }
.faq details[open] summary::after { content: '–'; }
.faq p { padding: 0 0 22px; font-size: 15px; line-height: 1.75; color: var(--text-muted); }

/* CTA + FOOTER */
.cta-band { background: var(--black); color: var(--white); text-align: center; padding: 110px 60px; }
.cta-band h2 { font-size: clamp(30px, 4vw, 52px); margin-bottom: 14px; }
.cta-band p { font-size: 16px; color: rgba(255,255,255,0.7); margin-bottom: 36px; }
.cta-band .phone { display: block; margin-top: 22px; font-size: 14px; color: rgba(255,255,255,0.6); }
.cta-band .phone a { color: var(--white); text-decoration: none; font-weight: 600; }
footer { background: var(--black); color: var(--white); padding: 36px 60px; border-top: 1px solid rgba(255,255,255,0.08); display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
footer p { font-size: 12px; color: rgba(255,255,255,0.4); }
footer a { color: rgba(255,255,255,0.6); text-decoration: none; font-size: 13px; }
footer a:hover { color: var(--red); }
.reveal { opacity: 0; transform: translateY(30px); transition: all 0.8s cubic-bezier(.25,.1,.25,1); }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* MOBIL HÍVÁSSÁV */
.mobile-callbar { display: none; }
@media (max-width: 768px) {
    .mobile-callbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 9995; display: grid; grid-template-columns: 1fr 1fr; background: var(--black); border-top: 1px solid rgba(255,255,255,0.08); padding-bottom: env(safe-area-inset-bottom, 0px); box-shadow: 0 -4px 20px rgba(0,0,0,0.25); }
    .mobile-callbar a { display: flex; align-items: center; justify-content: center; gap: 7px; padding: 15px 6px; text-decoration: none; white-space: nowrap; font-size: 11px; letter-spacing: 1px; text-transform: uppercase; font-weight: 700; color: var(--white); }
    .mobile-callbar a svg { width: 15px; height: 15px; fill: currentColor; flex-shrink: 0; }
    .mobile-callbar .cb-quote { background: var(--red); letter-spacing: 1.5px; }
    body { padding-bottom: calc(48px + env(safe-area-inset-bottom, 0px)); }
}

/* RESPONSIVE */
@media (max-width: 1024px) {
    nav.sub-nav { padding: 16px 32px; }
    section { padding: 80px 32px; }
    .page-hero { padding: 140px 32px 70px; }
    .two-col, .chooser { grid-template-columns: 1fr; gap: 36px; }
    .two-col.reverse > :first-child { order: 0; }
    .compare { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
    nav.sub-nav { padding: 14px 20px; }
    .nav-links { display: none; }
    .nav-menu-btn { display: block; }
    section { padding: 64px 20px; }
    .page-hero { padding: 120px 20px 56px; }
    .page-hero::after { background: linear-gradient(180deg, rgba(10,10,10,0.75) 0%, rgba(10,10,10,0.9) 100%); }
    .hero-ctas a { width: 100%; text-align: center; }
    .cta-band { padding: 70px 20px; }
    footer { flex-direction: column; text-align: center; padding: 28px 20px; }
    .swatch-row { grid-template-columns: repeat(4, 1fr); }
}
