/* ==========================================================
   Maser-Fa Kft. – stylesheet
   Colours are defined once here; change them to re-theme.
   ========================================================== */

/* ---------- Fonts (self-hosted, incl. Hungarian ő/ű) ---------- */
@font-face { font-family: "Zilla Slab"; font-weight: 600; font-display: swap; src: url(../fonts/zilla-slab-latin-600-normal.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: "Zilla Slab"; font-weight: 600; font-display: swap; src: url(../fonts/zilla-slab-latin-ext-600-normal.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: "Zilla Slab"; font-weight: 700; font-display: swap; src: url(../fonts/zilla-slab-latin-700-normal.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: "Zilla Slab"; font-weight: 700; font-display: swap; src: url(../fonts/zilla-slab-latin-ext-700-normal.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: "Source Sans 3"; font-weight: 400; font-display: swap; src: url(../fonts/source-sans-3-latin-400-normal.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: "Source Sans 3"; font-weight: 400; font-display: swap; src: url(../fonts/source-sans-3-latin-ext-400-normal.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: "Source Sans 3"; font-weight: 600; font-display: swap; src: url(../fonts/source-sans-3-latin-600-normal.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: "Source Sans 3"; font-weight: 600; font-display: swap; src: url(../fonts/source-sans-3-latin-ext-600-normal.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: "Source Sans 3"; font-weight: 700; font-display: swap; src: url(../fonts/source-sans-3-latin-700-normal.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: "Source Sans 3"; font-weight: 700; font-display: swap; src: url(../fonts/source-sans-3-latin-ext-700-normal.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; }

/* ---------- Design tokens ---------- */
:root {
  --bg: #f8f3ea;
  --surface: #ffffff;
  --ink: #2a1d14;
  --muted: #6e5d4f;
  --line: #e6dac7;
  --brand: #5b3a1f;
  --brand-dark: #2a1d14;
  --accent: #c8862b;
  --accent-dark: #9c6418;
  --cream: #f6efe3;
  --radius: 12px;
  --shadow: 0 1px 2px rgba(42,29,20,.06), 0 8px 24px rgba(42,29,20,.08);
  --wrap: 1180px;
  --font-head: "Zilla Slab", Georgia, "Times New Roman", serif;
  --font-body: "Source Sans 3", "Segoe UI", Roboto, Arial, sans-serif;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 1.0625rem/1.65 var(--font-body); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent-dark); text-underline-offset: 3px; }
a:hover { color: var(--brand); }
h1, h2, h3 { font-family: var(--font-head); font-weight: 700; line-height: 1.15; margin: 0 0 .5em; color: var(--brand-dark); }
h1 { font-size: clamp(2rem, 4.5vw + .5rem, 3.6rem); }
h2 { font-size: clamp(1.6rem, 2.2vw + .6rem, 2.3rem); }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1em; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.wrap--narrow { max-width: 780px; }
.wrap--mid { max-width: 960px; }
.ico { width: 1.15em; height: 1.15em; flex: none; vertical-align: -.2em; }
.muted { color: var(--muted); }
.small { font-size: .9rem; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--accent); color: #fff; padding: 8px 14px; border-radius: 6px; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.kicker { font: 600 .82rem/1 var(--font-body); letter-spacing: .18em; text-transform: uppercase; color: var(--accent); margin-bottom: .9rem; }
.lead { font-size: clamp(1.08rem, .6vw + .95rem, 1.3rem); max-width: 46rem; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; gap: .55em; padding: .8em 1.35em; border-radius: 999px; border: 2px solid var(--accent); background: var(--accent); color: #fff; font: 700 1rem/1.1 var(--font-body); text-decoration: none; cursor: pointer; transition: background .2s, border-color .2s, transform .2s; }
.btn:hover { background: var(--accent-dark); border-color: var(--accent-dark); color: #fff; transform: translateY(-1px); }
.btn--light { background: transparent; border-color: rgba(255,255,255,.75); color: #fff; }
.btn--light:hover { background: #fff; border-color: #fff; color: var(--brand-dark); }
.btn--ghost { background: transparent; color: var(--brand); border-color: var(--line); }
.btn--ghost:hover { background: var(--cream); color: var(--brand-dark); border-color: var(--accent); }
.btn--small { padding: .55em 1em; font-size: .92rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.btn-row.center { justify-content: center; }
.link-arrow { display: inline-flex; align-items: center; gap: .35em; font-weight: 700; text-decoration: none; color: var(--accent-dark); }
.link-arrow .ico { transition: transform .2s; }
.link-arrow:hover .ico { transform: translateX(3px); }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.97); backdrop-filter: blur(6px); box-shadow: 0 1px 0 var(--line); }
.topbar { background: var(--brand-dark); color: var(--cream); font-size: .9rem; }
.topbar__inner { display: flex; gap: 22px; align-items: center; min-height: 38px; }
.topbar a, .topbar span { color: var(--cream); text-decoration: none; display: inline-flex; align-items: center; gap: .45em; opacity: .92; }
.topbar a:hover { opacity: 1; color: #fff; }
.topbar .ico { color: var(--accent); }
.topbar .lang { margin-left: auto; font-weight: 700; letter-spacing: .08em; border: 1px solid rgba(246,239,227,.35); padding: 2px 10px; border-radius: 999px; }
.nav-row { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 76px; }
.brand { display: block; color: var(--brand-dark); line-height: 0; }
.brand .logo { height: 54px; width: auto; }
.brand--light { color: var(--cream); }
.main-nav { display: flex; align-items: center; gap: 18px; }
.main-nav ul { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.main-nav ul a { display: block; padding: .5em .8em; border-radius: 8px; color: var(--ink); font-weight: 600; text-decoration: none; position: relative; }
.main-nav ul a:hover { background: var(--cream); color: var(--brand); }
.main-nav ul a[aria-current="page"] { color: var(--accent-dark); }
.main-nav ul a[aria-current="page"]::after { content: ""; position: absolute; left: .8em; right: .8em; bottom: .15em; height: 3px; border-radius: 2px; background: var(--accent); }
.nav-toggle { display: none; align-items: center; gap: .4em; background: none; border: 2px solid var(--line); border-radius: 10px; padding: .45em .8em; font: 700 .95rem var(--font-body); color: var(--ink); cursor: pointer; }
.nav-toggle .ico--close { display: none; }
.nav-toggle[aria-expanded="true"] .ico--open { display: none; }
.nav-toggle[aria-expanded="true"] .ico--close { display: inline; }

/* ---------- Home hero ---------- */
.hero { position: relative; color: #fff; overflow: hidden; background: var(--brand-dark); }
.hero__bg { position: absolute; inset: 0; background: url(/assets/img/placeholder/hero.jpg) center/cover no-repeat; transform: scale(1.03); }
.hero__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(26,17,10,.92) 0%, rgba(26,17,10,.72) 45%, rgba(26,17,10,.25) 100%); }
.hero__inner { position: relative; padding: clamp(80px, 12vw, 150px) 20px clamp(120px, 14vw, 190px); }
.hero h1 { color: #fff; max-width: 15em; text-wrap: balance; }
.hero .lead { color: rgba(255,255,255,.88); margin-bottom: 2rem; }

/* ---------- Services strip ---------- */
.services { position: relative; margin-top: -80px; z-index: 2; }
.service-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.service { display: flex; gap: 14px; background: var(--surface); padding: 22px; border-radius: var(--radius); box-shadow: var(--shadow); border-top: 4px solid var(--accent); }
.service h3 { font-size: 1.12rem; margin-bottom: .25em; }
.service p { margin: 0; font-size: .95rem; color: var(--muted); }
.service__icon { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: var(--cream); color: var(--brand); flex: none; }
.service__icon .ico { width: 24px; height: 24px; }

/* ---------- Sections ---------- */
.section { padding: clamp(48px, 7vw, 90px) 0; }
.section--tight { padding-top: 0; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: 28px; flex-wrap: wrap; }
.section-head h2 { margin: 0; }
.section--wood { position: relative; color: var(--cream); background: var(--brand-dark) url(/assets/img/placeholder/g-07.jpg) center/cover; }
.section--wood::before { content: ""; position: absolute; inset: 0; background: rgba(30,20,12,.86); }
.section--wood > * { position: relative; }
.section--wood h2 { color: #fff; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.split--top { align-items: start; }
.split__img { border-radius: var(--radius); box-shadow: 0 20px 50px rgba(0,0,0,.4); aspect-ratio: 4/3; object-fit: cover; width: 100%; }

/* ---------- Cards ---------- */
.card-grid { display: grid; gap: 24px; }
.card-grid--3 { grid-template-columns: repeat(3, 1fr); }
.card { background: var(--surface); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; color: var(--ink); text-decoration: none; }
.card img { aspect-ratio: 16/10; object-fit: cover; width: 100%; transition: transform .4s; }
.card--link:hover img, .post-card:hover img { transform: scale(1.04); }
.card__img-link { overflow: hidden; position: relative; display: block; }
.card__body { padding: 20px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.card__body p { color: var(--muted); font-size: .98rem; }
.card__body .link-arrow { margin-top: auto; }
.card--link { overflow: hidden; }
.card--link:hover { color: var(--ink); }
.post-card time { font-size: .85rem; font-weight: 600; color: var(--accent-dark); text-transform: uppercase; letter-spacing: .06em; margin-bottom: .4em; }
.post-card h3 a { color: inherit; text-decoration: none; }
.post-card h3 a:hover { color: var(--accent-dark); }
.play { position: absolute; width: 56px; height: 56px; left: 50%; top: 50%; transform: translate(-50%,-50%); pointer-events: none; filter: drop-shadow(0 2px 6px rgba(0,0,0,.4)); }

/* ---------- Image strip (home) ---------- */
.strip { display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; }
.strip__item { position: relative; border-radius: 10px; overflow: hidden; aspect-ratio: 1; }
.strip__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.strip__item:hover img { transform: scale(1.06); }

/* ---------- CTA band ---------- */
.cta-band { background: var(--accent); color: #fff; padding: 40px 0; background-image: repeating-linear-gradient(100deg, rgba(255,255,255,.04) 0 2px, transparent 2px 14px); }
.cta-band__inner { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.cta-band h2 { color: #fff; margin-bottom: .2em; }
.cta-band p { margin: 0; opacity: .92; }
.cta-band .btn { background: var(--brand-dark); border-color: var(--brand-dark); }
.cta-band .btn:hover { background: #000; border-color: #000; }
.cta-band .btn--light { background: transparent; border-color: #fff; }
.cta-band .btn--light:hover { background: #fff; color: var(--brand-dark); }

/* ---------- Inner page hero ---------- */
.page-hero { position: relative; color: #fff; background: var(--brand-dark) var(--hero, url(/assets/img/placeholder/g-02.jpg)) center/cover; padding: clamp(56px, 8vw, 100px) 0 clamp(44px, 6vw, 72px); }
.page-hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(26,17,10,.6), rgba(26,17,10,.88)); }
.page-hero > * { position: relative; }
.page-hero h1 { color: #fff; margin-bottom: .3em; }
.page-hero .lead { color: rgba(255,255,255,.88); margin: 0; }
.page-hero--post .back { color: var(--cream); text-decoration: none; font-weight: 600; opacity: .85; display: inline-block; margin-bottom: 1rem; }
.page-hero--post .back:hover { opacity: 1; color: #fff; }
.post-meta { color: var(--accent); font-weight: 600; margin: 0; }

/* ---------- Prose (about, posts) ---------- */
.prose { font-size: 1.1rem; }
.prose h2 { margin-top: 1.6em; font-size: 1.7rem; }
.prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: .35em; }
.prose li::marker { color: var(--accent); }
.prose img { border-radius: var(--radius); }
.article, .post .prose { padding-top: 40px; padding-bottom: 60px; }
.post-figure { margin: 2rem 0; }
.post-figure figcaption { font-size: .92rem; color: var(--muted); margin-top: .5rem; text-align: center; }
.embed { position: relative; aspect-ratio: 16/9; margin: 2rem 0; border-radius: var(--radius); overflow: hidden; background: #000; }
.embed iframe, .embed video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.share { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; border-top: 1px solid var(--line); margin-top: 2.5rem; padding-top: 1.5rem; font-weight: 600; }

/* About facts */
.facts { display: grid; gap: 16px; }
.fact { background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow); padding: 26px 28px; border-left: 5px solid var(--accent); }
.fact strong { display: block; font: 700 2.4rem/1 var(--font-head); color: var(--brand); margin-bottom: .3rem; }
.fact span { color: var(--muted); font-weight: 600; }

/* ---------- Products ---------- */
.product-list { display: grid; gap: 28px; }
.product { display: grid; grid-template-columns: 5fr 7fr; background: var(--surface); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); scroll-margin-top: 140px; }
.product:nth-child(even) { grid-template-columns: 7fr 5fr; }
.product:nth-child(even) img { order: 2; }
.product img { width: 100%; height: 100%; min-height: 240px; object-fit: cover; }
.product__body { padding: clamp(24px, 4vw, 44px); align-self: center; }
.tags { list-style: none; padding: 0; margin: 0 0 1.2rem; display: flex; flex-wrap: wrap; gap: 8px; }
.tags li { background: var(--cream); color: var(--brand); border: 1px solid var(--line); border-radius: 999px; padding: .2em .8em; font-size: .88rem; font-weight: 600; }

/* ---------- Price list ---------- */
.price-updated { display: inline-block; background: var(--cream); border: 1px solid var(--line); padding: .4em 1em; border-radius: 999px; font-weight: 600; color: var(--brand); }
.price-block { margin: 2rem 0 2.5rem; }
.price-block h2 { font-size: 1.55rem; border-bottom: 3px solid var(--accent); display: inline-block; padding-bottom: .15em; }
.price-table { width: 100%; border-collapse: collapse; background: var(--surface); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.price-table th { text-align: left; background: var(--brand-dark); color: var(--cream); font-weight: 600; font-size: .9rem; letter-spacing: .04em; padding: 12px 16px; }
.price-table td { padding: 13px 16px; border-top: 1px solid var(--line); }
.price-table tbody tr:nth-child(even) { background: #fcf9f4; }
.price-table tbody tr:hover { background: var(--cream); }
.price-table .num { text-align: right; white-space: nowrap; }
.price { font-weight: 700; color: var(--brand); font-size: 1.05rem; }
.note { background: var(--surface); border-left: 4px solid var(--accent); padding: 16px 20px; border-radius: 8px; color: var(--muted); }

/* ---------- Gallery ---------- */
.gallery { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.gallery li { position: relative; border-radius: var(--radius); overflow: hidden; background: var(--brand-dark); box-shadow: var(--shadow); }
.gallery a { display: block; position: relative; }
.gallery img { width: 100%; aspect-ratio: 4/3; object-fit: cover; transition: transform .4s, opacity .3s; }
.gallery a:hover img { transform: scale(1.05); opacity: .9; }
.gallery__cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 26px 14px 10px; color: #fff; font-weight: 600; font-size: .95rem; background: linear-gradient(transparent, rgba(0,0,0,.7)); pointer-events: none; }

/* Lightbox */
.lightbox { border: 0; padding: 0; background: transparent; max-width: 100vw; max-height: 100vh; width: 100vw; height: 100vh; }
.lightbox::backdrop { background: rgba(15,10,6,.94); }
.lightbox[open] { display: flex; align-items: center; justify-content: center; }
.lightbox figure { margin: 0; max-width: min(1200px, 92vw); text-align: center; }
.lightbox .lb-media img, .lightbox .lb-media video { max-height: 80vh; width: auto; margin: 0 auto; border-radius: 8px; }
.lightbox .lb-media .embed { width: min(1100px, 92vw); margin: 0; }
.lightbox figcaption { color: var(--cream); margin-top: 12px; font-weight: 600; }
.lightbox button { position: fixed; background: rgba(255,255,255,.12); color: #fff; border: 0; width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; cursor: pointer; }
.lightbox button:hover { background: var(--accent); }
.lightbox button .ico { width: 24px; height: 24px; }
.lb-close { top: 16px; right: 16px; }
.lb-prev { left: 16px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 16px; top: 50%; transform: translateY(-50%); }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 5fr 7fr; gap: 28px; align-items: start; }
.contact-cards { display: grid; gap: 14px; }
.contact-card { display: flex; gap: 16px; align-items: flex-start; background: var(--surface); padding: 18px 20px; border-radius: var(--radius); box-shadow: var(--shadow); text-decoration: none; color: var(--ink); font-weight: 600; font-size: 1.08rem; border: 2px solid transparent; transition: border-color .2s; }
a.contact-card:hover { border-color: var(--accent); color: var(--ink); }
.contact-card > .ico { width: 44px; height: 44px; padding: 11px; border-radius: 50%; background: var(--cream); color: var(--accent-dark); }
.contact-card small { display: block; font-weight: 600; font-size: .8rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); margin-bottom: 2px; }
.contact-card .hours { font-weight: 400; font-size: 1rem; }
.map { position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); background: var(--cream); }
.map iframe { display: block; width: 100%; height: 460px; border: 0; }
.map .btn { position: absolute; right: 14px; bottom: 14px; }
.hours { display: grid; grid-template-columns: auto auto; gap: 2px 18px; margin: 0; }
.hours dt { font-weight: 600; }
.hours dd { margin: 0; }

/* ---------- Footer ---------- */
.site-footer { background: var(--brand-dark); color: rgba(246,239,227,.82); padding-top: 56px; font-size: .97rem; }
.site-footer h3 { color: #fff; font-size: 1.1rem; margin-bottom: .8rem; }
.site-footer a { color: var(--cream); text-decoration: none; }
.site-footer a:hover { color: var(--accent); }
.site-footer .muted { color: rgba(246,239,227,.6); }
.site-footer .brand .logo { height: 50px; margin-bottom: 14px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; padding-bottom: 40px; }
.footer-nav { list-style: none; padding: 0; margin: 0; columns: 2; }
.footer-nav li { margin-bottom: 4px; }
.social { display: flex; gap: 10px; }
.social a { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.08); }
.social a:hover { background: var(--accent); color: #fff; }
.footer-bottom { border-top: 1px solid rgba(246,239,227,.12); padding: 18px 20px; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: .88rem; }

/* 404 */
.notfound { text-align: center; }
.notfound__mark { width: 110px; height: 110px; margin: 0 auto 1rem; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .strip { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 960px) {
  .nav-toggle { display: inline-flex; }
  .main-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: #fff; flex-direction: column; align-items: stretch; padding: 10px 20px 22px; box-shadow: 0 16px 30px rgba(42,29,20,.15); }
  .main-nav.open { display: flex; }
  .main-nav ul { flex-direction: column; }
  .main-nav ul a { padding: .85em .6em; font-size: 1.1rem; border-bottom: 1px solid var(--line); border-radius: 0; }
  .main-nav ul a[aria-current="page"]::after { left: 0; right: auto; width: 4px; top: 25%; bottom: 25%; height: auto; }
  .nav-cta { justify-content: center; margin-top: 12px; }
  .card-grid--3 { grid-template-columns: 1fr 1fr; }
  .split, .contact-grid { grid-template-columns: 1fr; }
  .product, .product:nth-child(even) { grid-template-columns: 1fr; }
  .product:nth-child(even) img { order: 0; }
  .product img { aspect-ratio: 16/9; height: auto; min-height: 0; }
}
@media (max-width: 640px) {
  body { font-size: 1rem; }
  .hide-sm { display: none !important; }
  .nav-row { min-height: 64px; }
  .brand .logo { height: 42px; }
  .services { margin-top: -60px; }
  .service-grid, .card-grid--3, .footer-grid { grid-template-columns: 1fr; }
  .service { padding: 16px 18px; }
  .strip { grid-template-columns: repeat(2, 1fr); }
  .hero__bg::after { background: linear-gradient(180deg, rgba(26,17,10,.75), rgba(26,17,10,.9)); }
  .btn-row .btn { flex: 1 1 auto; justify-content: center; }
  .map iframe { height: 320px; }
  /* Price table becomes stacked cards on phones */
  .price-table thead { display: none; }
  .price-table, .price-table tbody, .price-table tr, .price-table td { display: block; width: 100%; }
  .price-table tr { padding: 12px 16px; border-top: 1px solid var(--line); }
  .price-table td { border: 0; padding: 3px 0; display: flex; justify-content: space-between; gap: 12px; text-align: right; }
  .price-table td::before { content: attr(data-label); font-weight: 600; color: var(--muted); font-size: .88rem; text-align: left; }
  .price-table td:first-child { font-size: 1.08rem; }
  .price-table td:first-child::before { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; }
}

/* Equal column widths across all price tables (desktop) */
@media (min-width: 641px) {
  .price-table { table-layout: fixed; }
  .price-table th:nth-child(1) { width: 38%; }
  .price-table th:nth-child(2) { width: 24%; }
  .price-table th:nth-child(3) { width: 18%; }
  .price-table th:nth-child(4) { width: 20%; }
}

/* Photos attached to a news post */
.post-photos { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; margin: 2rem 0; }
.post-photos figure { margin: 0; }
.post-photos img { aspect-ratio: 4/3; object-fit: cover; width: 100%; border-radius: 10px; }
.post-photos figcaption { font-size: .9rem; color: var(--muted); margin-top: .35rem; }
picture { display: contents; }
picture > source { display: none; }
