/* =====================================================================
   Focus Ablak 2026-10 rebuild: shared components added on top of base.css
   Brand tokens unchanged: #0088cc / #004d73 / #00111a / #333 / #e6f4fa
   ===================================================================== */
:root { --topbar-h: 36px; --nav-h: 108px; --header-h: calc(var(--topbar-h) + var(--nav-h)); }
@media (max-width: 1023px) { :root { --nav-h: 84px; } }

html { scroll-padding-top: calc(var(--header-h) + 16px); }
::selection { background: rgba(0,136,204,0.18); color: var(--brand-darkest); }
a:focus-visible, button:focus-visible, summary:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, [tabindex]:focus-visible {
  outline: 3px solid var(--brand); outline-offset: 3px; border-radius: 6px;
}
p { max-width: 70ch; }
.text-center p, p.mx-auto { margin-left: auto; margin-right: auto; }

/* ---------- Header: larger logo (client + review comment request) ---------- */
.site-nav { height: var(--nav-h); top: var(--topbar-h); }
.site-logo { height: 92px; width: auto; display: block; }
@media (max-width: 1023px) { .site-logo { height: 70px; } }
.nav-link { position: relative; padding: 8px 0; color: var(--text-dark); font-size: 15px; font-weight: 600; transition: color .2s; }
.nav-link:hover { color: var(--brand); }
.nav-link.is-active { color: var(--brand); font-weight: 700; }
.nav-link.is-active::after { content: ''; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px; background: var(--brand); border-radius: 2px; }
.nav-dropdown a { display: flex; flex-direction: column; gap: 2px; padding: 12px 20px; transition: background .2s; }
.nav-dropdown a:hover, .nav-dropdown a.is-active { background: var(--primaryLight); }
.nav-dropdown a strong { font-size: 14px; color: var(--brand-darkest); font-family: 'Montserrat', sans-serif; }
.nav-dropdown a span { font-size: 12.5px; color: #5f6b73; }
.nav-phone { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--brand-dark); font-size: 15px; white-space: nowrap; }
.nav-phone:hover { color: var(--brand); }

/* Page hero offset shared by every inner page */
.page-hero { padding-top: calc(var(--header-h) + 72px); padding-bottom: 80px; }
@media (max-width: 768px) { .page-hero { padding-top: calc(var(--header-h) + 40px); padding-bottom: 56px; } }

/* Large logo panel in the home hero (review comment: "nagyobb logo, mint a képen") */
.hero-logo-panel { background: rgba(255,255,255,0.94); border-radius: 24px; padding: 28px 40px; box-shadow: 0 24px 60px rgba(0,17,26,0.35); display: inline-block; }
.hero-logo-panel img { height: 210px; width: auto; display: block; }
@media (max-width: 768px) { .hero-logo-panel { padding: 18px 22px; } .hero-logo-panel img { height: 132px; } }

/* ---------- Section rhythm ---------- */
.section { padding: 96px 0; }
.section-sm { padding: 64px 0; }
@media (max-width: 768px) { .section { padding: 64px 0; } .section-sm { padding: 48px 0; } }
.section-head { margin-bottom: 48px; }
.section-head h2 { margin-bottom: 0; }
.section-head p { margin-top: 20px; margin-bottom: 0; font-size: 1.075rem; }
.btn-secondary { display: inline-flex; align-items: center; justify-content: center; gap: 12px; padding: 14px 30px; border-radius: var(--radius-global); font-weight: 800; font-size: 1rem; font-family: 'Montserrat', sans-serif; text-transform: uppercase; letter-spacing: .05em; color: var(--brand-dark); border: 2px solid var(--brand-dark); background: transparent; transition: all .25s; }
.btn-secondary:hover { background: var(--brand-dark); color: #fff; }
.btn-on-dark { color: #fff; border-color: rgba(255,255,255,.7); }
.btn-on-dark:hover { background: #fff; color: var(--brand-darkest); border-color: #fff; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: #006b9e; }
.link-arrow:hover { color: var(--brand-dark); gap: 12px; }
.link-arrow, .link-arrow i { transition: all .2s; }

/* ---------- Category tiles (home + cross links) ---------- */
.cat-tile { position: relative; display: flex; flex-direction: column; border-radius: var(--radius-global); overflow: hidden; background: #fff; border: 1px solid var(--gray-200); box-shadow: var(--shadow-md); transition: transform .3s, box-shadow .3s; }
.cat-tile:hover { transform: translateY(-4px); box-shadow: var(--shadow-xl); }
.cat-tile .cat-img { aspect-ratio: 4/3; overflow: hidden; background: var(--primaryLight); }
.cat-tile .cat-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.cat-tile:hover .cat-img img { transform: scale(1.05); }
.cat-tile .cat-body { padding: 28px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.cat-tile .cat-body h3 { margin: 0; font-size: 22px; line-height: 28px; color: var(--brand-darkest); }
.cat-tile .cat-body p { margin: 0; font-size: 15px; line-height: 23px; }
.cat-tile .cat-body .link-arrow { margin-top: auto; padding-top: 8px; }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 4px 12px; border-radius: 999px; background: var(--primaryLight); color: var(--brand-dark); font-size: 12.5px; font-weight: 700; }

/* ---------- FAQ accordion (details/summary, works without JS) ---------- */
.faq-list { display: flex; flex-direction: column; gap: 12px; }
.faq-item { background: #fff; border: 1px solid var(--gray-200); border-radius: 14px; transition: border-color .2s, box-shadow .2s; }
.faq-item[open] { border-color: rgba(0,136,204,.45); box-shadow: var(--shadow-md); }
.faq-item summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 20px 24px; font-family: 'Montserrat', sans-serif; font-weight: 700; font-size: 17px; line-height: 24px; color: var(--brand-darkest); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '\f078'; font-family: 'Font Awesome 6 Free'; font-weight: 900; font-size: 13px; color: var(--brand); flex-shrink: 0; width: 32px; height: 32px; border-radius: 50%; background: var(--primaryLight); display: flex; align-items: center; justify-content: center; transition: transform .25s; }
.faq-item[open] summary::after { transform: rotate(180deg); }
.faq-item .faq-a { padding: 0 24px 22px; }
.faq-item .faq-a p { margin: 0 0 10px; color: #4a5560; }
.faq-item .faq-a p:last-child { margin-bottom: 0; }
@media (max-width: 576px) { .faq-item summary { padding: 18px; font-size: 16px; } .faq-item .faq-a { padding: 0 18px 18px; } }

/* ---------- Catalogue tiles + viewer (meeting: csempe -> PDF, nyilak, X) ---------- */
.catalog-card { background: var(--primaryLight); padding: 32px; border-radius: var(--radius-global); text-align: center; border: 1px solid rgba(0,136,204,.1); box-shadow: 0px 1px 3px 0px rgba(0,0,0,0.12), 0px 4px 8px 3px rgba(0,0,0,0.06); transition: transform .3s, box-shadow .3s; display: flex; flex-direction: column; align-items: center; }
.catalog-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-xl); }
.catalog-card .cc-icon { width: 80px; height: 80px; background: #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--brand); font-size: 30px; margin-bottom: 24px; box-shadow: var(--shadow-sm); }
.catalog-card h3 { font-size: 20px; line-height: 28px; margin-bottom: 12px; }
.catalog-card p { font-size: 14px; line-height: 22px; color: #4a5560; margin-bottom: 24px; }
.catalog-card .cc-count { font-size: 12.5px; font-weight: 700; color: var(--brand-dark); margin-bottom: 16px; }
.catalog-card button { margin-top: auto; width: 100%; padding: 12px 24px; background: #fff; color: var(--brand); font-weight: 700; border-radius: 10px; border: 1px solid var(--gray-200); transition: all .2s; cursor: pointer; }
.catalog-card button:hover { border-color: var(--brand); color: var(--brand-dark); }

.cv { position: fixed; inset: 0; z-index: 9998; background: rgba(0,17,26,.86); backdrop-filter: blur(8px); display: flex; align-items: center; justify-content: center; padding: 24px; opacity: 0; pointer-events: none; transition: opacity .25s; }
.cv.is-open { opacity: 1; pointer-events: auto; }
.cv-panel { position: relative; width: min(1180px, 100%); height: min(860px, calc(100vh - 48px)); background: #fff; border-radius: 20px; overflow: hidden; display: flex; flex-direction: column; box-shadow: 0 30px 80px rgba(0,0,0,.45); }
.cv-head { display: flex; align-items: center; gap: 16px; padding: 18px 24px; border-bottom: 1px solid var(--gray-200); }
.cv-head h3 { margin: 0; font-size: 20px; line-height: 26px; flex: 1; min-width: 0; }
.cv-head .cv-sub { font-size: 13px; color: #5f6b73; font-weight: 600; }
.cv-btn { width: 44px; height: 44px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: var(--primaryLight); color: var(--brand-dark); font-size: 18px; border: 0; cursor: pointer; transition: all .2s; flex-shrink: 0; }
.cv-btn:hover { background: var(--brand); color: #fff; }
.cv-btn[disabled] { opacity: .35; pointer-events: none; }
.cv-body { flex: 1; overflow: auto; background: var(--lightBg); position: relative; }
.cv-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 20px; padding: 28px; }
.cv-tile { text-align: left; background: #fff; border: 1px solid var(--gray-200); border-radius: 14px; overflow: hidden; cursor: pointer; transition: transform .25s, box-shadow .25s, border-color .25s; display: flex; flex-direction: column; }
.cv-tile:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: rgba(0,136,204,.4); }
.cv-tile .cv-cover { aspect-ratio: 3/4; background: linear-gradient(160deg, var(--primaryLight), #fff); display: flex; align-items: center; justify-content: center; overflow: hidden; }
.cv-tile .cv-cover img { width: 100%; height: 100%; object-fit: cover; }
.cv-tile .cv-cover i { font-size: 48px; color: var(--brand); opacity: .55; }
.cv-tile .cv-meta { padding: 14px 16px 16px; }
.cv-tile .cv-meta strong { display: block; font-family: 'Montserrat', sans-serif; color: var(--brand-darkest); font-size: 15px; line-height: 20px; }
.cv-tile .cv-meta span { display: block; font-size: 13px; color: #5f6b73; margin-top: 4px; line-height: 18px; }
.cv-doc { position: absolute; inset: 0; display: none; }
.cv-doc.is-on { display: block; }
.cv-doc iframe { width: 100%; height: 100%; border: 0; background: #525659; }
.cv-pending { height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 14px; padding: 32px; }
.cv-pending i { font-size: 56px; color: var(--brand); opacity: .6; }
.cv-pending h4 { margin: 0; font-size: 20px; }
.cv-pending p { margin: 0; color: #4a5560; }
.cv-side { position: absolute; top: 50%; transform: translateY(-50%); z-index: 3; box-shadow: 0 6px 18px rgba(0,0,0,.18); background: #fff; }
.cv-side.prev { left: 16px; } .cv-side.next { right: 16px; }
.cv-side:hover { transform: translateY(-50%) scale(1.06); }
@media (max-width: 640px) { .cv { padding: 0; } .cv-panel { height: 100vh; height: 100dvh; border-radius: 0; } .cv-grid { grid-template-columns: 1fr 1fr; gap: 12px; padding: 16px; } .cv-side.prev { left: 8px; } .cv-side.next { right: 8px; } .cv-head { padding: 14px 16px; } }

/* ---------- Owner story ---------- */
.owner-photo { position: relative; border-radius: 20px; overflow: hidden; aspect-ratio: 4/5; background: linear-gradient(160deg, var(--primaryLight), #cfe8f4); box-shadow: var(--shadow-xl); }
.owner-photo img { width: 100%; height: 100%; object-fit: cover; }
.owner-photo .ph { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; color: var(--brand-dark); text-align: center; padding: 24px; }
.owner-photo .ph i { font-size: 64px; opacity: .5; }
.owner-photo .ph span { font-weight: 700; font-size: 14px; max-width: 24ch; }
.owner-sign { font-family: 'Montserrat', sans-serif; font-weight: 800; color: var(--brand-darkest); font-size: 18px; margin: 0; }
.owner-role { font-size: 14px; color: #5f6b73; margin: 0; }
.owner-quote { font-size: 1.2rem; line-height: 1.6; color: var(--brand-darkest); font-weight: 500; margin: 0; }

/* ---------- Google reviews ---------- */
.g-badge { display: inline-flex; align-items: center; gap: 12px; background: #fff; border: 1px solid var(--gray-200); border-radius: 999px; padding: 10px 20px 10px 12px; box-shadow: var(--shadow-sm); font-weight: 700; color: var(--brand-darkest); }
.g-badge .g-logo { width: 28px; height: 28px; }
.review-card { background: #fff; border-radius: var(--radius-global); padding: 28px; border: 1px solid var(--gray-200); box-shadow: var(--shadow-md); display: flex; flex-direction: column; gap: 16px; height: 100%; }
.review-card .stars { color: #f5b301; font-size: 15px; letter-spacing: 2px; }
.review-card p { margin: 0; color: #4a5560; font-size: 15.5px; line-height: 25px; }
.review-card .who { margin-top: auto; display: flex; align-items: center; gap: 12px; }
.review-card .avatar { width: 42px; height: 42px; border-radius: 50%; background: var(--brand); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 800; font-family: 'Montserrat', sans-serif; }
.review-card .who strong { display: block; color: var(--brand-darkest); font-size: 15px; }
.review-card .who span { display: block; color: #5f6b73; font-size: 12.5px; }

/* ---------- Thank-you / notes ---------- */
.check-list { display: flex; flex-direction: column; gap: 14px; }
.check-list li { display: flex; gap: 14px; align-items: flex-start; }
.check-list li i { color: var(--brand); margin-top: 4px; }

/* ---------- Review-only: variant switcher (removed before launch) ---------- */
.variant-group { position: relative; }
.variant-group > [data-variant] { display: none; }
.variant-group > [data-variant].is-shown { display: block; }
.vbar { position: relative; z-index: 20; display: flex; justify-content: center; padding: 14px 16px; background: repeating-linear-gradient(0deg, transparent 0 0); }
.vbar-inner { display: inline-flex; align-items: center; flex-wrap: wrap; justify-content: center; gap: 10px; background: #fff8e6; border: 1.5px dashed #d99a00; color: #5a4300; border-radius: 14px; padding: 8px 10px 8px 16px; font-size: 13.5px; font-weight: 600; box-shadow: 0 6px 18px rgba(90,67,0,.12); }
.vbar-inner .vbar-label i { margin-right: 6px; color: #b07d00; }
.vbar-inner button { border: 1px solid #e5c56b; background: #fff; color: #5a4300; border-radius: 10px; padding: 6px 12px; font-weight: 700; cursor: pointer; font-size: 13px; transition: all .15s; }
.vbar-inner button.is-active { background: #5a4300; border-color: #5a4300; color: #fff; }
.vbar-inner button:not(.is-active):hover { background: #fff1c7; }
.vbar-note { flex-basis: 100%; text-align: center; font-weight: 500; font-size: 12.5px; color: #7a5d00; }

/* Mobile: floating widgets must not cover content on small screens */
@media (max-width: 576px) { .widget-phone { right: 16px; bottom: 92px; width: 54px; height: 54px; } .widget-chat { right: 16px; bottom: 24px; width: 54px; height: 54px; } .widget-phone .icon-wrapper { min-width: 50px; height: 50px; } .widget-chat .icon-wrapper { min-width: 54px; height: 54px; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; } }
.lb-close, .lb-nav { border: 0; }
.lb-close { background: transparent; }
.footer-links a { line-height: 1.4; }

/* Galleries that set an aspect-ratio utility size themselves */
.gallery-item[class*="aspect-"] { height: auto; }

/* Topbar stays one line on small phones */
.fixed.top-0 .m3-nav { white-space: nowrap; }
@media (max-width: 480px) { .fixed.top-0 .m3-nav { font-size: 13px; } }
/* Keep the footer's last row clear of the floating phone/chat buttons */
@media (max-width: 576px) { .footer-bottom { padding-bottom: 150px; } }
.gallery-item[class*="aspect-"] { min-width: 0; width: 100%; }
@media (max-width: 992px) { .service-gallery { min-height: 0; } }
/* Mobile menu: current page */
.m-link.is-active { color: var(--brand); }
/* Eyebrow labels on dark photo heroes need a lighter blue */
.page-hero .m3-label.text-brand { color: #8fd3f7; }
html { overflow-x: clip; }
