/* ช่างซ่อมหลังคา รามอินทรา — site styles */
:root {
  --ink: #15202B;
  --ink-2: #1E2B38;
  --ink-3: #0E161E;
  --ground: #F5F2EC;
  --paper: #FFFFFF;
  --line: #DDD6CA;
  --line-2: #CFC7B9;
  --text-2: #3E4955;
  --muted: #5B6470;
  --muted-light: #B9C2CC;
  --orange: #D9611A;
  --orange-light: #F28A3C;
  --orange-text: #B4500F;
  --orange-soft: #FBE7D7;
  --green: #047A35;
  --green-soft: #DDF3E5;
  --radius: 14px;
  --display: 'Kanit', 'Sukhumvit Set', sans-serif;
  --body: 'IBM Plex Sans Thai', 'Sukhumvit Set', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--ground); color: var(--ink);
  font-family: var(--body); font-size: 17px; line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; }
a { color: var(--orange-text); }
a:hover { color: #8A3B09; }
h1, h2, h3 { font-family: var(--display); font-weight: 600; line-height: 1.2; margin: 0; }
p { margin: 0; }
.icon { flex: none; vertical-align: middle; }
.muted { color: var(--muted); }
.small { font-size: 15px; }
.center { text-align: center; }
.skip { position: absolute; left: -999px; top: 8px; background: #fff; padding: 8px 14px; z-index: 100; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--orange-light); outline-offset: 2px; }

.wrap { max-width: 1200px; margin: 0 auto; padding-left: 24px; padding-right: 24px; }
.wrap-narrow { max-width: 880px; margin: 0 auto; padding-left: 24px; padding-right: 24px; }
.section { padding-top: 88px; padding-bottom: 40px; }
.section-tight { padding-top: 32px; padding-bottom: 72px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 24px; border-radius: 10px; border: 0;
  font: inherit; font-weight: 600; text-decoration: none; cursor: pointer;
  transition: transform .15s ease, filter .15s ease, background-color .15s;
}
.btn:hover { transform: translateY(-1px); filter: brightness(1.06); }
.btn-sm { min-height: 44px; padding: 0 18px; border-radius: 8px; font-size: 16px; gap: 8px; }
.btn-lg { min-height: 56px; padding: 0 28px; font-size: 18px; }
.btn-block { width: 100%; }
.btn-orange { background: var(--orange); color: var(--ink); }
.btn-orange:hover { color: var(--ink); }
.btn-ink { background: var(--ink); color: #fff; }
.btn-ink:hover { color: #fff; }
.btn-line { background: var(--green); color: #fff; }
.btn-line:hover { color: #fff; }
.btn-outline { background: transparent; color: var(--ink); border: 1.5px solid var(--ink); }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }
.center-row { justify-content: center; margin: 28px 0; }

/* ---------- header ---------- */
.site-header { background: var(--ink); color: #fff; border-bottom: 1px solid #2A3744; position: sticky; top: 0; z-index: 40; }
.header-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 28px; padding-top: 12px; padding-bottom: 12px; }
.brand { display: flex; align-items: center; gap: 12px; color: #fff; text-decoration: none; }
.brand:hover { color: #fff; }
.brand-text { display: flex; flex-direction: column; line-height: 1.2; }
.brand-name { font-family: var(--display); font-weight: 600; font-size: 19px; }
.brand-sub { font-size: 13px; color: var(--muted-light); }
.main-nav { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 26px; font-size: 16px; }
.navlink { color: #E9E4DA; text-decoration: none; padding: 8px 0; }
.navlink:hover, .navlink.is-active { color: var(--orange-light); }
.navlink.is-active { font-weight: 600; }
.nav-toggle { display: none; background: none; border: 0; color: #fff; width: 48px; height: 48px; cursor: pointer; }

/* ---------- hero ---------- */
.hero {
  color: #fff;
  background:
    linear-gradient(90deg, rgba(21,32,43,.97) 0%, rgba(21,32,43,.9) 45%, rgba(21,32,43,.35) 100%),
    url('../img/steel.jpg') right center / cover no-repeat, var(--ink);
}
.hero-inner { padding-top: 96px; padding-bottom: 104px; display: flex; flex-direction: column; gap: 28px; }
.pill-outline { align-self: flex-start; padding: 6px 14px; border: 1px solid var(--orange-light); border-radius: 999px; color: #F7B07A; font-size: 15px; font-weight: 500; }
.hero h1 { max-width: 760px; font-weight: 700; font-size: clamp(38px, 5.4vw, 64px); line-height: 1.15; }
.accent { color: var(--orange-light); }
.lead { max-width: 620px; font-size: 19px; color: #D5DBE1; }
.lead-dark { font-size: 19px; color: var(--text-2); margin-top: 12px; }
.stats { display: flex; flex-wrap: wrap; gap: 14px 44px; margin: 18px 0 0; padding-top: 28px; border-top: 1px solid rgba(255,255,255,.18); max-width: 760px; }
.stats div { display: flex; flex-direction: column-reverse; }
.stats dd { margin: 0; font-family: var(--display); font-size: 34px; font-weight: 600; line-height: 1.3; }
.stats dt { color: var(--muted-light); font-size: 15px; }

.page-hero { background: var(--ink); color: #fff; padding: 72px 0 64px; }
.page-hero h1 { font-weight: 700; font-size: clamp(34px, 4.6vw, 54px); line-height: 1.15; margin: 10px 0 14px; }
.page-hero-sm { padding: 48px 0 44px; }
.page-hero-sm h1 { font-size: clamp(30px, 3.8vw, 44px); margin-top: 18px; }
.page-hero-overlap { padding-bottom: 128px; }

/* ---------- section heads ---------- */
.section-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px; margin-bottom: 36px; }
.section-head h2, .areas h2, .wrap-narrow h2 { font-size: clamp(30px, 3.4vw, 40px); }
.section-head > p { max-width: 440px; }
.eyebrow { display: block; color: var(--orange-text); font-weight: 600; font-size: 15px; letter-spacing: .04em; margin-bottom: 8px; }
.eyebrow-light { color: var(--orange-light); }
.link-more { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; font-weight: 600; text-decoration: none; }
.link-more:hover .icon { transform: translateX(3px); }
.link-more .icon { transition: transform .15s; }

/* ---------- cards ---------- */
.card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); }
.grid-services { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 20px; }
.service-card { padding: 26px; display: flex; flex-direction: column; gap: 12px; color: var(--ink); text-decoration: none; transition: border-color .15s, transform .15s, box-shadow .15s; }
.service-card h3 { font-size: 21px; }
.service-card p { color: var(--muted); font-size: 15.5px; }
.service-card.is-link:hover { border-color: var(--orange); transform: translateY(-3px); box-shadow: 0 10px 24px rgba(21,32,43,.08); color: var(--ink); }
.card-more { margin-top: auto; padding-top: 6px; display: inline-flex; align-items: center; gap: 6px; color: var(--orange-text); font-weight: 600; font-size: 15px; }
.icon-box { width: 52px; height: 52px; border-radius: 12px; background: var(--orange-soft); color: var(--orange-text); display: flex; align-items: center; justify-content: center; }
.icon-box-green { background: var(--green-soft); color: var(--green); }

/* ---------- work cards ---------- */
.grid-works { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 24px; }
.work-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: transform .2s, box-shadow .2s; }
.work-card:hover { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(21,32,43,.09); }
.work-card-media { position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden; background: #E9E4DA; }
.work-card-media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s ease; }
.work-card:hover .work-card-media img { transform: scale(1.04); }
.img-count { position: absolute; right: 10px; bottom: 10px; background: rgba(21,32,43,.82); color: #fff; font-size: 13px; padding: 2px 10px; border-radius: 999px; }
.work-card-body { padding: 18px 22px 22px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.work-card-title { font-size: 21px; line-height: 1.3; }
.work-card-title a { color: var(--ink); text-decoration: none; }
.work-card-title a:hover { color: var(--orange-text); }
.work-card-title a::after { content: ''; position: absolute; inset: 0; }
.work-card { position: relative; }
.work-card .tag-list { position: relative; z-index: 2; }
.work-card-desc { color: var(--muted); font-size: 15.5px; }
.work-card-meta { margin-top: auto; padding-top: 10px; border-top: 1px solid #ECE6DB; display: flex; flex-wrap: wrap; gap: 4px 16px; color: var(--muted); font-size: 14px; }
.work-card-meta span, .work-meta span { display: inline-flex; align-items: center; gap: 5px; }

/* ---------- tags & chips ---------- */
.tag-list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.tag {
  display: inline-flex; align-items: center; gap: 4px; padding: 3px 12px; border-radius: 999px;
  background: var(--orange-soft); color: #8A3B09; font-size: 13.5px; font-weight: 600; text-decoration: none;
  transition: background-color .15s, color .15s, transform .15s;
}
.tag:hover { background: var(--orange); color: var(--ink); transform: translateY(-1px); }
.tag.is-active { background: var(--ink); color: #fff; }
.tag small { font-weight: 500; opacity: .75; }
.tag-list-light .tag { background: rgba(255,255,255,.1); color: #F7B07A; border: 1px solid rgba(242,138,60,.45); padding: 5px 14px; font-size: 14.5px; }
.tag-list-light .tag:hover { background: var(--orange); color: var(--ink); }
.tag-cloud { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 28px; }
.tag-cloud .tag { padding: 6px 14px; font-size: 14.5px; }

.filter-bar { padding-top: 36px; position: sticky; top: 72px; z-index: 20; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; padding: 12px 0; background: var(--ground); }
.chip {
  display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 18px; border-radius: 999px;
  background: var(--paper); color: var(--ink); border: 1px solid var(--line-2);
  font-size: 16px; font-weight: 500; text-decoration: none; transition: all .15s;
}
.chip small { color: var(--muted); font-size: 13px; }
.chip:hover { border-color: var(--orange); color: var(--ink); }
.chip.is-active { background: var(--ink); color: #fff; border-color: var(--ink); }
.chip.is-active small { color: var(--muted-light); }
.results-head { margin-bottom: 20px; color: var(--muted); }
.results-head strong { color: var(--ink); }
.clear-tag { display: inline-flex; align-items: center; gap: 4px; margin-left: 12px; font-size: 15px; }
#works-results { transition: opacity .2s ease; }
#works-results.is-loading { opacity: .35; pointer-events: none; }
.grid-works.is-entering .work-card { animation: rise .4s ease both; }
.grid-works.is-entering .work-card:nth-child(2) { animation-delay: .05s; }
.grid-works.is-entering .work-card:nth-child(3) { animation-delay: .1s; }
.grid-works.is-entering .work-card:nth-child(4) { animation-delay: .15s; }
.grid-works.is-entering .work-card:nth-child(n+5) { animation-delay: .2s; }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.empty { background: var(--paper); border: 1px dashed var(--line-2); border-radius: var(--radius); padding: 48px; text-align: center; color: var(--muted); }
.pager { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-top: 40px; }
.pager-item { min-width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; border-radius: 10px; background: var(--paper); border: 1px solid var(--line-2); color: var(--ink); text-decoration: none; font-weight: 600; }
.pager-item.is-active { background: var(--ink); color: #fff; border-color: var(--ink); }

/* ---------- placeholders ---------- */
.ph { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; min-height: 200px; color: var(--muted); font-weight: 500; font-size: 15px; background: repeating-linear-gradient(135deg, #E4DED3 0 14px, #EDE8DF 14px 28px); }

/* ---------- dark band / steps ---------- */
.band-dark { background: var(--ink); color: #fff; }
.band-dark .section { padding-bottom: 88px; }
.h2-light { font-size: clamp(30px, 3.4vw, 38px); margin-bottom: 40px; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 28px; }
.steps li { display: flex; flex-direction: column; gap: 10px; padding-top: 20px; border-top: 2px solid var(--orange); }
.step-n { font-family: var(--display); font-size: 44px; font-weight: 600; color: var(--orange-light); line-height: 1; }
.steps h3 { font-size: 21px; }
.steps p { color: var(--muted-light); font-size: 15.5px; }

/* ---------- areas ---------- */
.areas { display: flex; flex-wrap: wrap; gap: 40px; align-items: center; }
.areas-text { flex: 1 1 360px; display: flex; flex-direction: column; gap: 12px; }
.area-list { flex: 2 1 520px; list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.area-list li { padding: 10px 18px; background: var(--paper); border: 1px solid var(--line); border-radius: 999px; font-weight: 500; }
.area-list li.is-dark { background: var(--ink); color: #fff; border-color: var(--ink); }

/* ---------- CTA band ---------- */
.cta-band { background: var(--orange); border-radius: 20px; padding: 48px; display: flex; flex-wrap: wrap; gap: 36px; align-items: center; justify-content: space-between; }
.cta-text { flex: 1 1 420px; display: flex; flex-direction: column; gap: 12px; color: var(--ink); }
.cta-text h2 { font-weight: 700; font-size: clamp(28px, 3.2vw, 38px); }
.cta-text p { font-size: 18px; }
.cta-text .btn-row { margin-top: 8px; gap: 12px; }
.cta-qr { display: flex; align-items: center; gap: 18px; background: #fff; border-radius: var(--radius); padding: 16px 22px 16px 16px; color: var(--ink); text-decoration: none; }
.cta-qr:hover { color: var(--ink); }
.cta-qr img { width: 132px; height: 132px; display: block; }
.cta-qr span { display: flex; flex-direction: column; gap: 4px; }
.cta-qr strong { font-family: var(--display); font-weight: 600; font-size: 20px; }
.cta-qr small { color: var(--muted); font-size: 15px; }

/* ---------- video band ---------- */
.video-band { background: var(--paper); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.video-inner { padding-top: 72px; padding-bottom: 72px; display: flex; flex-wrap: wrap; gap: 48px; align-items: center; }
.video-thumb { flex: 0 1 300px; position: relative; display: block; border-radius: 16px; overflow: hidden; aspect-ratio: 9 / 14; background: var(--ink); }
.video-thumb img { width: 100%; height: 100%; object-fit: cover; opacity: .85; display: block; transition: transform .4s; }
.video-thumb:hover img { transform: scale(1.04); }
.play { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 72px; height: 72px; border-radius: 50%; background: var(--orange); color: var(--ink); display: flex; align-items: center; justify-content: center; }
.video-text { flex: 1 1 420px; display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }
.video-text h2 { font-size: clamp(28px, 3.2vw, 38px); }

/* ---------- work detail ---------- */
.back-link { display: inline-flex; align-items: center; gap: 6px; color: var(--muted-light); text-decoration: none; font-size: 15px; }
.back-link:hover { color: var(--orange-light); }
.work-meta { display: flex; flex-wrap: wrap; gap: 6px 22px; color: #D5DBE1; margin-bottom: 16px; }
.work-detail { display: flex; flex-wrap: wrap; gap: 40px; align-items: flex-start; padding-top: 40px; }
.work-main { flex: 999 1 560px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.work-side { flex: 1 1 280px; position: sticky; top: 96px; }
.gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.gallery-item { position: relative; display: block; border-radius: 12px; overflow: hidden; aspect-ratio: 4 / 3; background: #E9E4DA; cursor: zoom-in; }
.gallery-item.is-lead { grid-column: 1 / -1; aspect-ratio: 16 / 10; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .35s; }
.gallery-item:hover img { transform: scale(1.03); }
.kind { position: absolute; left: 10px; top: 10px; padding: 2px 12px; border-radius: 999px; font-size: 13px; font-weight: 600; }
.kind-before { background: var(--ink); color: #fff; }
.kind-after { background: var(--orange); color: var(--ink); }
.work-summary { font-size: 19px; color: var(--text-2); font-weight: 500; }
.prose { color: var(--text-2); font-size: 17px; line-height: 1.8; }
.side-card { background: var(--paper); border: 1px solid var(--line); border-radius: 16px; padding: 26px; display: flex; flex-direction: column; gap: 12px; }
.side-card h2 { font-size: 22px; }

/* ---------- lightbox ---------- */
.lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(8,12,17,.94); display: flex; align-items: center; justify-content: center; padding: 56px 72px; }
.lightbox[hidden] { display: none; }
.lightbox figure { margin: 0; max-width: 100%; max-height: 100%; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.lightbox img { max-width: 100%; max-height: calc(100vh - 150px); border-radius: 8px; animation: rise .25s ease; }
.lightbox figcaption { color: #E9E4DA; font-size: 15px; min-height: 1em; }
.lightbox button { position: absolute; background: rgba(255,255,255,.1); border: 0; color: #fff; width: 52px; height: 52px; border-radius: 50%; cursor: pointer; display: flex; align-items: center; justify-content: center; }
.lightbox button:hover { background: var(--orange); color: var(--ink); }
.lb-close { top: 14px; right: 14px; }
.lb-prev { left: 12px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 12px; top: 50%; transform: translateY(-50%); }

/* ---------- about ---------- */
.about-intro { display: flex; flex-wrap: wrap; gap: 56px; align-items: center; padding-bottom: 88px; padding-top: 80px; }
.about-text { flex: 1 1 480px; display: flex; flex-direction: column; gap: 18px; }
.about-text h1 { font-weight: 700; font-size: clamp(34px, 4.6vw, 54px); line-height: 1.15; }
.about-text p { color: var(--text-2); font-size: 18px; }
.about-photos { flex: 1 1 400px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.about-photos img { width: 100%; object-fit: cover; border-radius: 16px; display: block; height: 182px; }
.about-photos img.tall { height: 380px; }
.about-photos div { display: flex; flex-direction: column; gap: 16px; }
.grid-values { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 24px; }
.value-card { background: var(--ink-2); border-radius: var(--radius); padding: 26px; display: flex; flex-direction: column; gap: 10px; }
.value-card .icon { color: var(--orange-light); }
.value-card h3 { font-size: 21px; }
.value-card p { color: var(--muted-light); font-size: 15.5px; }
.grid-team { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 24px; }
.team-card { margin: 0; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.team-card img, .team-card .ph { height: 240px; width: 100%; object-fit: cover; display: flex; }
.team-card figcaption { padding: 18px 20px; display: flex; flex-direction: column; }
.team-card strong { font-family: var(--display); font-weight: 600; font-size: 20px; }
.team-card span { color: var(--muted); font-size: 15px; }
.faq { display: flex; flex-direction: column; gap: 12px; margin-top: 24px; }
.faq details { background: var(--paper); border: 1px solid var(--line); border-radius: 12px; padding: 0 22px; }
.faq summary { min-height: 60px; display: flex; align-items: center; justify-content: space-between; gap: 16px; font-weight: 600; font-size: 18px; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary span { color: var(--orange-text); font-size: 24px; transition: transform .2s; }
.faq details[open] summary span { transform: rotate(45deg); }
.faq details p { padding-bottom: 20px; color: var(--text-2); }

/* ---------- contact ---------- */
.overlap-cards { margin-top: -80px; display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; position: relative; }
.contact-card { background: var(--paper); border: 1px solid var(--line); border-radius: 16px; padding: 30px; display: flex; flex-direction: column; gap: 16px; }
.contact-card h2 { font-size: 24px; }
.phone-btn { display: flex; align-items: center; justify-content: space-between; min-height: 56px; padding: 0 20px; border-radius: 10px; background: var(--ink); color: #fff; font-family: var(--display); font-weight: 600; font-size: 22px; text-decoration: none; }
.phone-btn:hover { color: #fff; background: var(--ink-2); }
.phone-btn small { font-family: var(--body); font-size: 14px; color: var(--orange-light); font-weight: 500; }
.line-box { display: flex; flex-wrap: wrap; gap: 20px; align-items: center; }
.line-box img { border: 1px solid var(--line); border-radius: 10px; display: block; }
.line-box > div { flex: 1 1 140px; display: flex; flex-direction: column; gap: 10px; }
.contact-form-row { display: flex; flex-wrap: wrap; gap: 40px; padding-bottom: 88px; }
.contact-form { flex: 1 1 520px; background: var(--paper); border: 1px solid var(--line); border-radius: 16px; padding: 36px; display: flex; flex-direction: column; gap: 18px; }
.contact-form h2 { font-size: 28px; }
.contact-form .btn { align-self: flex-start; }
.form-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; }
.contact-form label { display: flex; flex-direction: column; gap: 6px; font-weight: 500; font-size: 15.5px; }
.contact-form input, .contact-form select, .contact-form textarea {
  font: inherit; color: var(--ink); min-height: 48px; padding: 0 14px; border: 1px solid var(--line-2); border-radius: 8px; background: #FBFAF7; font-weight: 400;
}
.contact-form textarea { padding: 12px 14px; resize: vertical; }
.contact-form input[type=file] { padding: 10px 14px; border-style: dashed; }
.contact-form [aria-invalid=true] { border-color: #B42318; background: #FEF3F2; }
.field-error { color: #B42318; font-size: 14px; font-weight: 500; }
.req { color: #B42318; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.file-preview { display: flex; flex-wrap: wrap; gap: 8px; }
.file-preview img { width: 72px; height: 72px; object-fit: cover; border-radius: 8px; border: 1px solid var(--line); }
.contact-aside { flex: 1 1 360px; display: flex; flex-direction: column; gap: 16px; }
.map { flex: 1 1 auto; min-height: 320px; width: 100%; border-radius: 16px; border: 1px solid var(--line); }
.base-card { background: var(--ink); color: #fff; border-radius: 16px; padding: 24px 26px; display: flex; flex-direction: column; gap: 6px; }
.base-card strong { font-family: var(--display); font-weight: 600; font-size: 20px; }
.base-card span { color: #D5DBE1; }
.base-card small { color: var(--muted-light); font-size: 15px; }
.alert { padding: 14px 18px; border-radius: 10px; font-weight: 500; }
.alert-error { background: #FEF3F2; color: #B42318; border: 1px solid #FECDCA; }
.big-check { display: inline-flex; width: 88px; height: 88px; border-radius: 50%; background: var(--green-soft); color: var(--green); align-items: center; justify-content: center; margin-bottom: 20px; }
.big-404 { display: block; font-family: var(--display); font-weight: 700; font-size: 96px; color: var(--orange); line-height: 1; margin-bottom: 12px; }

/* ---------- footer ---------- */
.site-footer { background: var(--ink-3); color: var(--muted-light); font-size: 15px; }
.footer-row { padding-top: 48px; padding-bottom: 48px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 28px; }
.footer-brand { display: flex; flex-direction: column; gap: 6px; max-width: 420px; }
.footer-brand strong { font-family: var(--display); font-weight: 600; font-size: 20px; color: #fff; }
.footer-col { display: flex; flex-direction: column; gap: 6px; }
.footer-col a:not(.navlink) { color: var(--orange-light); }
.footer-col .navlink { padding: 0; }
.footer-head { color: #fff; font-weight: 600; }
.footer-copy { border-top: 1px solid #22303D; padding: 16px 24px; text-align: center; font-size: 14px; }

/* ---------- mobile call bar ---------- */
.callbar { display: none; }

@media (max-width: 760px) {
  body { font-size: 16px; padding-bottom: 64px; }
  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .main-nav { display: none; width: 100%; flex-direction: column; align-items: stretch; gap: 0; padding: 8px 0 12px; }
  .main-nav.is-open { display: flex; }
  .main-nav .navlink { padding: 12px 0; border-bottom: 1px solid #2A3744; }
  .main-nav .btn { margin-top: 12px; }
  .hero-inner { padding-top: 56px; padding-bottom: 64px; }
  .hero { background-position: 70% center; }
  .section { padding-top: 56px; }
  .cta-band { padding: 32px 24px; }
  .contact-form { padding: 24px; }
  .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .filter-bar { top: 64px; }
  .chips { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin: 0 -24px; padding: 12px 24px; }
  .chip { flex: none; }
  .work-side { position: static; }
  .lightbox { padding: 56px 8px; }
  .lb-prev, .lb-next { top: auto !important; bottom: 14px; transform: none !important; }
  .callbar { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; box-shadow: 0 -4px 16px rgba(0,0,0,.15); }
  .callbar a { flex: 1; display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 60px; font-weight: 600; text-decoration: none; }
  .callbar-phone { background: var(--orange); color: var(--ink); }
  .callbar-line { background: var(--green); color: #fff; }
  .grid-works { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

@media (max-width: 760px) {
  .brand { flex: 1 1 0; min-width: 0; }
  .brand-text { min-width: 0; }
  .brand-sub { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
}
