@font-face { font-family: "Archivo"; font-style: normal; font-weight: 400 900; font-stretch: 75% 125%; font-display: swap; src: url("../fonts/archivo-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Archivo"; font-style: normal; font-weight: 400 900; font-stretch: 75% 125%; font-display: swap; src: url("../fonts/archivo-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Work Sans"; font-style: normal; font-weight: 400 700; font-display: swap; src: url("../fonts/work-sans-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Work Sans"; font-style: normal; font-weight: 400 700; font-display: swap; src: url("../fonts/work-sans-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --ink: #0e2230;
  --navy: #12303f;
  --petrol: #1b4a5c;
  --copper: #b5551f;
  --copper-hi: #e08a4f;
  --copper-soft: #f6e4d6;
  --paper: #f7f3ee;
  --card: #ffffff;
  --line: #e4dcd2;
  --text: #22323c;
  --muted: #5a6871;
  --hot: #d8452e;
  --cold: #2f7fb8;
  --radius: 10px;
  --shadow: 0 1px 2px rgba(14, 34, 48, .06), 0 12px 32px -12px rgba(14, 34, 48, .18);
  --head: "Archivo", "Work Sans", system-ui, sans-serif;
  --body: "Work Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--body); font-size: 17px; line-height: 1.6; color: var(--text); background: var(--paper); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--copper); }
h1, h2, h3 { font-family: var(--head); color: var(--ink); line-height: 1.12; margin: 0; text-wrap: balance; }
h1 { font-size: clamp(2.3rem, 5.4vw, 4.1rem); font-weight: 800; font-stretch: 88%; letter-spacing: -.02em; }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.6rem); font-weight: 750; font-stretch: 90%; letter-spacing: -.015em; }
h3 { font-size: 1.2rem; font-weight: 700; }
p { margin: 0; text-wrap: pretty; }
.wrap { width: min(1180px, 100% - 40px); margin-inline: auto; }
.ico { width: 1.25em; height: 1.25em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 12px; top: 12px; z-index: 100; background: #fff; padding: 10px 14px; border-radius: 8px; }
:focus-visible { outline: 3px solid var(--copper-hi); outline-offset: 2px; }

/* header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(247, 243, 238, .92); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.header-in { display: flex; align-items: center; gap: 26px; min-height: 76px; }
.brand-group { display: flex; align-items: center; gap: 14px; margin-right: auto; min-width: 0; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); }
/* Partneri jelzés a fejlécben: Hajduk Róbert × COGMA (gépelt felirat, mint a cogma.hu-n) */
.collab { display: inline-flex; align-items: center; text-decoration: none; padding-left: 14px; border-left: 1px solid var(--line); line-height: 1.6; transition: opacity .15s; }
.collab:hover { opacity: .7; }
.collab-name { font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; font-weight: 800; letter-spacing: .04em; font-size: .95rem; color: #14161a; white-space: pre; }
.collab-name .collab-x { font-weight: 300; font-size: .9em; margin-right: .05em; position: relative; top: -.1em; }
.js .collab-name:not(.tw-ready) { visibility: hidden; animation: tw-failsafe 0s 3s forwards; }
@keyframes tw-failsafe { to { visibility: visible; } }
.tw-ch { visibility: hidden; }
.tw-ch.on { visibility: visible; }
.tw-ch.cur { box-shadow: .06em 0 0 0 #e8410f; animation: tw-caret .9s steps(1) infinite; }
@keyframes tw-caret { 50% { box-shadow: .06em 0 0 0 transparent; } }
.brand-mark { width: 44px; height: 44px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; white-space: nowrap; }
.brand-text strong { font-family: var(--head); font-weight: 800; font-size: 1.15rem; letter-spacing: -.01em; }
.brand-text span { font-size: .78rem; text-transform: uppercase; letter-spacing: .14em; color: var(--copper); font-weight: 600; }
.nav { display: flex; gap: 24px; }
.nav a { white-space: nowrap; color: var(--text); text-decoration: none; font-weight: 500; font-size: .97rem; padding: 6px 0; border-bottom: 2px solid transparent; }
.nav a:hover { border-color: var(--copper); color: var(--ink); }
.nav-toggle { display: none; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; font: 600 1rem var(--body); text-decoration: none; border: 0; border-radius: 8px; padding: 14px 22px; cursor: pointer; transition: transform .15s, background .15s, box-shadow .15s; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--copper); color: #fff; box-shadow: 0 8px 20px -8px rgba(181, 85, 31, .7); }
.btn-primary:hover { background: #9d4716; }
.btn-ghost { color: #fff; border: 1.5px solid rgba(255, 255, 255, .45); background: rgba(255, 255, 255, .06); }
.btn-ghost:hover { background: rgba(255, 255, 255, .14); }
.btn-block { width: 100%; }
.btn-call { background: var(--ink); color: #fff; padding: 9px 16px; }
.btn-call .ico { color: var(--copper-hi); }
.btn-call span { display: flex; flex-direction: column; line-height: 1.15; font-family: var(--head); font-weight: 700; white-space: nowrap; }
.btn-call small { font: 500 .68rem var(--body); text-transform: uppercase; letter-spacing: .1em; opacity: .7; }

.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: .8rem; font-weight: 600; text-transform: uppercase; letter-spacing: .14em; color: var(--copper-hi); margin-bottom: 16px; }
.eyebrow.dark { color: var(--copper); }
.eyebrow .dot { flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--copper-hi); box-shadow: 0 0 0 4px rgba(224, 138, 79, .25); }

/* hero */
.hero { position: relative; color: #fff; background: var(--ink); overflow: hidden; }
.hero-bg { position: absolute; inset: 0; background: linear-gradient(100deg, rgba(14, 34, 48, .96) 0%, rgba(14, 34, 48, .88) 42%, rgba(18, 48, 63, .55) 100%), url("../img/padlofutes.jpg") center / cover no-repeat; }
.hero-bg::after { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px); background-size: 48px 48px; mask-image: linear-gradient(90deg, #000, transparent 70%); }
.hero-in { position: relative; display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(320px, .7fr); gap: 64px; align-items: center; padding-block: clamp(56px, 8vw, 104px) clamp(72px, 9vw, 116px); }
.hero h1 { color: #fff; }
.hero h1 em { font-style: normal; color: var(--copper-hi); display: block; }
/* a második sor balról jobbra „felmelegszik”: izzó él fut végig rajta, mögötte réz színre áll be */
@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  @media (prefers-reduced-motion: no-preference) {
    .hero h1 em { width: fit-content; max-width: 100%; color: transparent; -webkit-background-clip: text; background-clip: text;
      background-image: linear-gradient(90deg, var(--copper-hi) 0 40%, #ffe6cf 47%, #fff 50%, rgba(255, 255, 255, 0) 54% 100%);
      background-size: 240% 100%; background-repeat: no-repeat; background-position: 100% 0;
      animation: heat-in 1.9s cubic-bezier(.45, .1, .35, 1) .3s forwards; }
  }
}
@keyframes heat-in { to { background-position: 0 0; } }
.lead { font-size: 1.15rem; max-width: 58ch; margin-top: 22px; color: #d5dfe5; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }

.call-card { background: #fff; color: var(--text); border-radius: 14px; padding: 30px; box-shadow: 0 30px 60px -24px rgba(0, 0, 0, .55); border-top: 4px solid var(--copper); }
.call-label { font-size: .75rem; font-weight: 600; text-transform: uppercase; letter-spacing: .14em; color: var(--copper); }
.call-number { display: flex; align-items: center; gap: 12px; margin-top: 10px; font: 800 clamp(1.6rem, 2.4vw, 1.95rem) var(--head); font-stretch: 92%; letter-spacing: -.01em; color: var(--ink); text-decoration: none; white-space: nowrap; }
.call-number .ico { width: 1em; height: 1em; color: var(--copper); stroke-width: 2; }
.call-number:hover { color: var(--copper); }
.call-hours { display: flex; align-items: center; gap: 8px; margin-top: 8px; font-size: .95rem; color: var(--muted); }
.call-prep { margin-top: 22px; padding-top: 20px; border-top: 1px solid var(--line); }
.call-prep h2 { font-size: 1.05rem; font-stretch: 100%; letter-spacing: 0; }
.call-prep ul { list-style: none; padding: 0; margin: 12px 0 0; display: grid; gap: 8px; font-size: .95rem; }
.call-prep li { display: flex; gap: 10px; align-items: flex-start; }
.call-prep .ico { color: var(--copper); stroke-width: 2.4; margin-top: .18em; width: 1.05em; height: 1.05em; }
.call-note { margin-top: 18px; font-size: .88rem; color: var(--muted); }

.pipes { position: absolute; left: 0; right: 0; bottom: 0; height: 22px; display: grid; gap: 4px; align-content: end; padding-bottom: 6px; }
.pipes i { display: block; height: 5px; border-radius: 0 4px 4px 0; }
.pipes .hot { width: 72%; background: linear-gradient(90deg, var(--hot), #f08a4f); }
.pipes .cold { width: 58%; background: linear-gradient(90deg, var(--cold), #7cc0e6); }

/* vállalások sora a nyitó alatt */
.facts { background: #fff; border-bottom: 1px solid var(--line); }
.facts-in { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px 36px; padding-block: 30px; }
.facts-in li { display: flex; gap: 14px; align-items: flex-start; }
.facts-in .ico { width: 26px; height: 26px; color: var(--copper); stroke-width: 1.6; margin-top: 2px; }
.facts-in strong { display: block; font: 700 1.02rem var(--head); letter-spacing: -.005em; color: var(--ink); line-height: 1.3; }
.facts-in span { display: block; margin-top: 3px; font-size: .9rem; line-height: 1.45; color: var(--muted); }

/* season */
.season { background: var(--copper-soft); border-bottom: 1px solid #ecd3bf; }
.season-in { display: grid; grid-template-columns: 220px 1fr; gap: 36px; align-items: center; padding-block: 36px; }
.season img { border-radius: var(--radius); aspect-ratio: 4 / 3; object-fit: cover; box-shadow: var(--shadow); }
.season h2 { font-size: clamp(1.35rem, 2.4vw, 1.8rem); margin-bottom: 10px; }
.season .eyebrow { margin-bottom: 8px; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; margin-top: 12px; text-decoration: none; }
.link-arrow:hover { text-decoration: underline; }

/* sections */
.section { padding-block: clamp(64px, 8vw, 104px); }
.section.alt { background: #efe9e1; }
.section.dark { background: var(--ink); color: #c9d5dc; }
.section.dark h2, .section.dark h3 { color: #fff; }
.section-head { max-width: 720px; margin: 0 auto 48px; text-align: center; }
.section-head.left { text-align: left; margin-inline: 0; }
.section-head h2 + p { margin-top: 14px; color: var(--muted); font-size: 1.08rem; }
.section.dark .section-head h2 + p { color: #a9bac4; }

.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.service { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; transition: transform .2s, box-shadow .2s, border-color .2s; position: relative; overflow: hidden; }
.service::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--copper); transform: scaleY(0); transform-origin: top; transition: transform .25s; }
.service:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: #d9cdbf; }
.service:hover::before { transform: scaleY(1); }
.service > .ico { width: 46px; height: 46px; padding: 10px; border-radius: 12px; background: var(--copper-soft); color: var(--copper); margin-bottom: 16px; }
.service h3 { margin-bottom: 8px; }
.service p { color: var(--muted); font-size: .98rem; }

.cases { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.case { background: var(--card); border-radius: var(--radius); padding: 30px; border: 1px solid var(--line); display: flex; flex-direction: column; }
.case-no { font: 800 .95rem var(--head); color: var(--copper); letter-spacing: .08em; }
.case h3 { font-size: 1.4rem; margin: 8px 0 12px; }
.case p { color: var(--muted); font-size: .98rem; }
.case ul { list-style: none; padding: 16px 0 0; margin: auto 0 0; border-top: 1px dashed var(--line); font-size: .93rem; font-weight: 500; color: var(--ink); }
.case p + ul { margin-top: 20px; }
.case li { padding-left: 18px; position: relative; margin-top: 4px; }
.case li::before { content: ""; position: absolute; left: 0; top: .62em; width: 8px; height: 3px; border-radius: 2px; background: var(--copper); }

/* steps: copper pipe with fittings */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 24px; position: relative; }
.steps::before { content: ""; position: absolute; left: 0; right: 0; top: 23px; height: 6px; border-radius: 3px; background: linear-gradient(180deg, #e08a4f, #b5551f); }
.steps li { position: relative; }
.fitting { position: relative; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; font: 800 1.2rem var(--head); color: var(--ink); background: var(--copper-hi); border: 4px solid var(--ink); box-shadow: 0 0 0 2px var(--copper-hi); margin-bottom: 20px; }
.steps h3 { font-size: 1.12rem; margin-bottom: 8px; }
.steps p { font-size: .95rem; }

/* about */
.about { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.about-photo { margin: 0; position: relative; }
.about-photo img { border-radius: 14px; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 25%; box-shadow: var(--shadow); }
.about-photo::before { content: ""; position: absolute; inset: 18px -18px -18px 18px; border: 2px solid var(--copper-hi); border-radius: 14px; z-index: -1; }
figcaption { font-size: .8rem; color: var(--muted); }
.about-photo figcaption { position: absolute; left: 12px; bottom: 12px; background: rgba(14, 34, 48, .75); color: #fff; padding: 3px 10px; border-radius: 20px; }
.about-copy h2 { margin-bottom: 18px; }
.about-copy > p { color: var(--muted); font-size: 1.05rem; }
.why { list-style: none; padding: 0; margin: 28px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 20px 28px; }
.why li { display: flex; gap: 12px; }
.why .ico { color: #fff; background: var(--copper); border-radius: 50%; padding: 5px; width: 26px; height: 26px; stroke-width: 2.6; margin-top: 2px; }
.why strong { display: block; color: var(--ink); font-family: var(--head); }
.why span { font-size: .93rem; color: var(--muted); }

/* gallery */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 250px; gap: 14px; }
.gallery figure { margin: 0; position: relative; border-radius: var(--radius); overflow: hidden; background: var(--ink); }
.gallery .g-wide { grid-column: span 2; grid-row: span 2; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.gallery figure:hover img { transform: scale(1.04); }
.gallery figcaption { position: absolute; inset: auto 0 0 0; padding: 40px 18px 14px; color: #dbe4e9; font-size: .88rem; background: linear-gradient(transparent, rgba(14, 34, 48, .9)); }
.gallery figcaption strong { display: block; font: 700 1.05rem var(--head); color: #fff; }

/* faq */
.faq-wrap { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.faq-wrap .section-head { position: sticky; top: 110px; margin-bottom: 0; }
.faq details { background: var(--card); border: 1px solid var(--line); border-radius: 12px; margin-bottom: 10px; }
.faq summary { cursor: pointer; list-style: none; padding: 18px 54px 18px 22px; font: 700 1.05rem var(--head); color: var(--ink); position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 20px; top: 50%; transform: translateY(-50%); font-size: 1.5rem; font-weight: 400; color: var(--copper); transition: transform .2s; }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { padding: 0 22px 20px; color: var(--muted); }

/* contact */
.contact { background: linear-gradient(135deg, var(--ink), var(--petrol)); color: #c9d5dc; }
.contact h2 { color: #fff; margin-bottom: 14px; }
.contact-in { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.contact-copy > p:not(.eyebrow) { font-size: 1.08rem; max-width: 52ch; }
.contact-cta { margin-top: 30px; }
.contact-cta .btn { font: 800 1.35rem var(--head); padding: 16px 28px; }
.contact-card { list-style: none; margin: 0; padding: 8px 28px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .14); border-radius: 14px; }
.contact-card li { display: flex; gap: 16px; align-items: center; padding: 18px 0; border-top: 1px solid rgba(255, 255, 255, .12); }
.contact-card li:first-child { border-top: 0; }
.contact-card .ico { width: 22px; height: 22px; color: var(--copper-hi); }
.contact-card span { display: block; font-size: .72rem; text-transform: uppercase; letter-spacing: .14em; color: #9fb2bd; font-weight: 600; }
.contact-card a, .contact-card b { color: #fff; text-decoration: none; font: 700 1.1rem var(--head); overflow-wrap: anywhere; }
.contact-card a:hover { color: var(--copper-hi); }

/* footer */
.site-footer { background: #0a1922; color: #9fb2bd; padding-block: 56px 28px; font-size: .93rem; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 32px 56px; }
.footer-brand strong { color: #fff; font-family: var(--head); font-size: 1.1rem; }
.footer-brand p { margin-top: 10px; max-width: 38ch; }
.site-footer h2 { font: 600 .72rem var(--body); text-transform: uppercase; letter-spacing: .14em; color: #6f8593; margin-bottom: 12px; }
.site-footer nav, .footer-contact { display: flex; flex-direction: column; align-items: flex-start; gap: 7px; }
.site-footer a { color: #c9d5dc; text-decoration: none; }
.site-footer a:hover { color: var(--copper-hi); }
.footer-bottom { display: flex; flex-wrap: wrap; gap: 8px 28px; justify-content: space-between; margin-top: 40px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: .85rem; }
.footer-credit a { text-decoration: underline; text-underline-offset: .2em; }

.mobile-bar { display: none; }

/* subpage */
.page { padding-block: 56px 80px; max-width: 820px; }
.page h1 { font-size: clamp(2rem, 4vw, 2.8rem); margin-bottom: 24px; }
.page h2 { font-size: 1.4rem; margin: 36px 0 12px; }
.page p, .page li { color: var(--text); margin-bottom: 8px; }
.credits { list-style: none; padding: 0; font-size: .92rem; }
.credits li { padding: 10px 0; border-bottom: 1px solid var(--line); }

/* COGMA közösség: a COGMA által gondozott vállalkozások csempéi + térkép */
.community { padding-block: clamp(48px, 7vw, 88px) clamp(64px, 8vw, 104px); }
.community .section-head h1 { font-size: clamp(2.1rem, 4.6vw, 3.2rem); }
.community .section-head h1 + p { margin-top: 14px; color: var(--muted); font-size: 1.08rem; }
.community-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; align-items: stretch; }
.member-card { display: flex; flex-direction: column; color: inherit; text-decoration: none; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: transform .2s, box-shadow .2s; }
.member-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.member-photo { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--ink); }
.member-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.member-card:hover .member-photo img { transform: scale(1.04); }
.member-here { position: absolute; top: 14px; left: 14px; background: var(--copper); color: #fff; font: 700 .78rem var(--body); letter-spacing: .04em; line-height: 1; padding: .55em .9em; border-radius: 999px; }
.member-body { display: flex; flex-direction: column; gap: 8px; padding: 22px 24px 24px; flex: 1; }
.member-kind { font-size: .75rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--copper); }
.member-card h2 { font-size: 1.4rem; font-stretch: 94%; }
.member-place { display: flex; align-items: center; gap: .4em; font-weight: 600; font-size: .92rem; color: var(--ink); }
.member-place .ico { width: 16px; height: 16px; color: var(--copper); }
.member-body p:not(.member-place) { color: var(--muted); font-size: .97rem; }
.member-link { margin-top: auto; padding-top: 8px; display: inline-flex; align-items: center; gap: .4em; font-weight: 600; color: var(--copper); }
.member-join { justify-content: center; gap: 12px; padding: 30px 28px; border: 0; background: var(--ink); color: #c9d5dc; }
.member-join .member-kind { color: var(--copper-hi); }
.member-join h2 { color: #fff; font-size: clamp(1.5rem, 2.4vw, 1.9rem); }
.member-join-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 22px; }
.member-sign { font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; font-weight: 800; letter-spacing: .04em; font-size: 1.1rem; color: #fff; }
.member-sign-x { font-weight: 300; font-size: .9em; position: relative; top: -.1em; margin-right: .05em; }
@media (min-width: 981px) {
  .member-join { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr) auto; align-items: center; gap: 8px 40px; padding: 34px 40px; }
  .member-join .member-kind { grid-column: 1; grid-row: 1; align-self: end; }
  .member-join h2 { grid-column: 1; grid-row: 2; align-self: start; }
  .member-join p { grid-column: 2; grid-row: 1 / 3; }
  .member-join-cta { grid-column: 3; grid-row: 1 / 3; flex-direction: column; align-items: flex-start; }
}
@media (max-width: 980px) { .community-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .community-grid { grid-template-columns: minmax(0, 1fr); } }

.community-map-wrap { margin-top: clamp(44px, 6vw, 72px); }
.community-map-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 20px; margin-bottom: 16px; }
.community-map-head h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); }
.map-views { display: inline-flex; gap: 4px; padding: 4px; background: var(--card); border-radius: 999px; border: 1px solid var(--line); }
.map-views button { border: 0; background: none; cursor: pointer; padding: .5em 1.05em; border-radius: 999px; font: 600 .93rem var(--body); color: var(--ink); transition: background .15s, color .15s; }
.map-views button:hover { background: var(--copper-soft); }
.map-views button[aria-pressed="true"] { background: var(--ink); color: #fff; }
.community-map-note { margin-top: 12px; text-align: center; color: var(--muted); font-size: .92rem; }
.community-map { height: clamp(360px, 56vh, 540px); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: #efe9e1; }
.map-placeholder { display: grid; place-content: center; justify-items: center; gap: 16px; height: 100%; padding: 24px; text-align: center; color: var(--muted); }
.map-placeholder p { max-width: 36ch; }
.map-flag { cursor: pointer; width: 44px; height: 52px; }
.map-flag:focus-visible { outline: none; }
.map-flag-pin { position: absolute; left: 2px; top: 0; width: 40px; height: 40px; border-radius: 50% 50% 50% 4px; transform: rotate(-45deg); background: var(--c); border: 3px solid #fff; box-shadow: 0 6px 14px -4px rgba(14, 34, 48, .5); display: grid; place-items: center; transition: transform .15s; }
.map-flag-icon { transform: rotate(45deg); font-size: 19px; line-height: 1; }
.map-flag:hover .map-flag-pin { transform: rotate(-45deg) scale(1.1); }
.map-flag:focus-visible .map-flag-pin { box-shadow: 0 0 0 3px #fff, 0 0 0 6px var(--copper); }
/* MapLibre-buborék és vezérlők az oldal stílusában (a maplibre-gl.css később töltődik be, ezért a .community-map előtag) */
.community-map .maplibregl-popup { z-index: 10; }
.community-map .maplibregl-popup-content { border-radius: 12px; background: #fff; box-shadow: var(--shadow); padding: 14px 34px 14px 18px; font-family: var(--body); }
.community-map .maplibregl-popup-close-button { font-size: 20px; width: 30px; height: 30px; color: var(--ink); border-radius: 0 12px 0 8px; }
.map-pop { display: grid; gap: 3px; }
.map-pop-kind { font-weight: 600; font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: var(--copper); }
.map-pop strong { font: 700 1.08rem var(--head); color: var(--ink); line-height: 1.2; }
.map-pop span:not(.map-pop-kind) { color: var(--muted); font-size: .88rem; }
.community-map .map-pop a { margin-top: 4px; font-weight: 600; color: var(--copper); }
.community-map .maplibregl-ctrl-group { border-radius: 10px; box-shadow: var(--shadow); overflow: hidden; }
.community-map .maplibregl-ctrl-attrib { background: rgba(247, 243, 238, .85); }
.community-map .maplibregl-cooperative-gesture-screen { background: rgba(14, 34, 48, .6); font-family: var(--head); font-weight: 600; font-size: 1.1rem; }
.community-map.is-failed::after { content: "A térkép most nem tölthető be."; display: grid; place-items: center; height: 100%; color: var(--muted); }

.header-back { margin: 0; white-space: nowrap; }

.only-narrow { display: none; }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s, transform .6s; }
.reveal.in { opacity: 1; transform: none; }

@media (max-width: 1200px) {
  .nav-toggle { display: grid; gap: 5px; width: 44px; height: 44px; place-content: center; background: none; border: 1.5px solid var(--line); border-radius: 10px; cursor: pointer; order: 3; }
  .nav-toggle span { display: block; width: 20px; height: 2px; background: var(--ink); border-radius: 2px; }
  .nav { position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; gap: 0; background: var(--paper); border-bottom: 1px solid var(--line); padding: 8px 20px 16px; display: none; box-shadow: var(--shadow); }
  .nav.open { display: flex; }
  .nav a { padding: 12px 0; border-bottom: 1px solid var(--line); }
  .header-in { gap: 12px; }
}
@media (max-width: 1020px) {
  .hero-in { grid-template-columns: 1fr; gap: 40px; }
  .call-card { max-width: 480px; }
  .services, .cases { grid-template-columns: 1fr 1fr; }
  .facts-in { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .steps { grid-template-columns: 1fr; gap: 0; }
  .steps::before { left: 23px; right: auto; top: 0; bottom: 0; width: 6px; height: auto; background: linear-gradient(90deg, #e08a4f, #b5551f); }
  .steps li { padding: 0 0 30px 76px; min-height: 70px; }
  .steps li:last-child { padding-bottom: 0; }
  .fitting { position: absolute; left: 0; top: 0; margin: 0; }
  .about, .faq-wrap, .contact-in { grid-template-columns: 1fr; }
  .faq-wrap .section-head { position: static; margin-bottom: 28px; }
  .about-photo { max-width: 460px; }
  .about-photo img { aspect-ratio: 4 / 3; }
  .gallery { grid-template-columns: 1fr 1fr; grid-auto-rows: 210px; }
}
@media (max-width: 800px) {
  .hero-bg { background-image: linear-gradient(100deg, rgba(14, 34, 48, .96) 0%, rgba(14, 34, 48, .88) 42%, rgba(18, 48, 63, .55) 100%), url("../img/padlofutes-1200.jpg"); }
}
@media (max-width: 640px) {
  /* vállalások mobilon: 2×2 rács, ikon felül, csak a cím */
  .facts .wrap { width: 100%; }
  .facts-in { grid-template-columns: 1fr 1fr; gap: 1px; padding-block: 0; background: var(--line); }
  .facts-in li { flex-direction: column; gap: 10px; padding: 20px 20px 22px; background: #fff; }
  .facts-in .ico { width: 24px; height: 24px; margin-top: 0; }
  .facts-in strong { font-size: .98rem; }
  .facts-in span { display: none; }
  h1 { font-size: clamp(1.7rem, 8.6vw, 2.3rem); }
  /* mobilon rövidebb nyitó: tömör szöveg, egy gomb, kis hívókártya */
  .only-wide { display: none !important; }
  .only-narrow { display: inline; }
  .hero-in { min-height: calc(100svh - 128px); align-content: center; padding-block: 48px 64px; }
  .hero .eyebrow { margin-bottom: 12px; }
  .lead { font-size: 1.05rem; margin-top: 14px; }
  .hero-cta { margin-top: 22px; }
  .call-card { display: none; }
  .hero-copy { min-width: 0; }
  body { font-size: 16px; padding-bottom: 64px; }
  .btn-call { display: none; }
  .services, .cases, .why { grid-template-columns: 1fr; }
  .header-in { min-height: 64px; }
  .brand-group { gap: 10px; }
  .brand { gap: 9px; }
  .brand-mark { width: 36px; height: 36px; }
  .brand-text strong { font-size: 1rem; }
  .brand-text span { font-size: .66rem; letter-spacing: .12em; }
  .collab { padding-left: 10px; }
  .collab-name { font-size: .8rem; }
  .contact-card { padding: 4px 20px; }
  .contact-cta .btn { width: 100%; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; }
  .season-in { grid-template-columns: 1fr; gap: 18px; }
  .season img { aspect-ratio: 16 / 7; }
  .hero-cta .btn { width: 100%; }
  .gallery { grid-template-columns: 1fr; grid-auto-rows: 220px; }
  .gallery .g-wide { grid-column: auto; grid-row: auto; }
  .about-photo::before { display: none; }
  .mobile-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; display: grid; grid-template-columns: 1fr; gap: 8px; padding: 8px 12px calc(8px + env(safe-area-inset-bottom)); background: rgba(14, 34, 48, .96); backdrop-filter: blur(8px); }
  .mobile-bar a { display: flex; align-items: center; justify-content: center; gap: 8px; height: 48px; border-radius: 10px; color: #fff; text-decoration: none; font-weight: 600; border: 1.5px solid rgba(255, 255, 255, .3); }
  .mobile-bar a.primary { background: var(--copper); border-color: var(--copper); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  * { transition: none !important; }
}
