/* Pure One — Japanese minimal: washi paper, dusty blue, generous whitespace */
:root {
  --paper: #f7f5f0;
  --paper-2: #efebe3;
  --white: #ffffff;
  --brand: #658599;
  --brand-600: #557488;
  --brand-700: #435d6e;
  --brand-50: #e9eff3;
  --ink: #2b3d49;
  --muted: #66757f;
  --line: #ddd8cd;
  --sand: #b9a88a;
  --wa: #25a35a;
  --radius: 4px;
  --radius-lg: 10px;
  --shadow: 0 1px 2px rgba(43, 61, 73, 0.05), 0 8px 28px rgba(43, 61, 73, 0.07);
  --header-h: 72px;
  --serif: 'Noto Serif TC', 'Songti TC', 'PMingLiU', serif;
  --sans: 'Noto Sans TC', -apple-system, BlinkMacSystemFont, 'PingFang HK', 'Microsoft JhengHei', sans-serif;
  --latin: 'Cormorant Garamond', 'Times New Roman', serif;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.8;
  letter-spacing: 0.02em;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body.lang-en { letter-spacing: 0; line-height: 1.7; }

img { max-width: 100%; height: auto; display: block; }
a { color: var(--brand-600); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--brand-700); }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.35; color: var(--ink); margin: 0 0 0.5em; letter-spacing: 0.04em; }
.lang-en h1, .lang-en h2, .lang-en h3 { letter-spacing: 0; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
address { font-style: normal; }
button, input, select, textarea { font: inherit; color: inherit; }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 8px 16px; border-radius: var(--radius); }
.skip:focus { top: 12px; color: #fff; }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; border-radius: 2px; }

.container { width: min(1180px, 100% - 40px); margin-inline: auto; }
.narrow { width: min(820px, 100% - 40px); }

.icon { width: 1.15em; height: 1.15em; flex: none; }

/* ---------------------------------------------------------------- buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5em;
  min-height: 46px; padding: 0.6em 1.4em;
  border: 1px solid transparent; border-radius: 999px;
  font-weight: 500; letter-spacing: 0.06em; line-height: 1.2; cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.2s, box-shadow 0.2s;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--brand); color: #fff; box-shadow: 0 6px 18px rgba(101, 133, 153, 0.28); }
.btn-primary:hover { background: var(--brand-700); color: #fff; }
.btn-ghost { border-color: var(--brand); color: var(--brand-700); background: transparent; }
.btn-ghost:hover { background: var(--brand-50); color: var(--brand-700); }
.btn-light { background: #fff; color: var(--brand-700); }
.btn-light:hover { background: var(--paper); color: var(--brand-700); }
.btn-outline-light { border-color: rgba(255, 255, 255, 0.7); color: #fff; }
.btn-outline-light:hover { background: rgba(255, 255, 255, 0.12); color: #fff; }
.btn-lg { min-height: 54px; padding-inline: 1.8em; font-size: 1.02rem; }
.btn-sm { min-height: 40px; padding: 0.4em 1em; font-size: 0.92rem; }
.btn-block { width: 100%; }

/* ---------------------------------------------------------------- header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  border-bottom: 1px solid transparent; transition: border-color 0.3s, box-shadow 0.3s;
}
/* Blur lives on a pseudo-element: backdrop-filter on the header itself would trap the fixed mobile nav. */
.site-header::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: rgba(247, 245, 240, 0.88);
  backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px);
}
.site-header.is-scrolled { border-color: var(--line); box-shadow: 0 4px 20px rgba(43, 61, 73, 0.05); }
.header-inner { display: flex; align-items: center; gap: 24px; height: var(--header-h); }
.brand { display: flex; align-items: center; gap: 12px; color: var(--ink); margin-right: auto; }
.brand-mark { width: 44px; height: auto; }
.brand-text { display: flex; flex-direction: column; line-height: 1.2; }
.brand-zh { font-family: var(--serif); font-weight: 600; font-size: 1.08rem; letter-spacing: 0.14em; }
.brand-en { font-family: var(--latin); font-size: 0.9rem; color: var(--brand); letter-spacing: 0.08em; }

.nav { display: flex; align-items: center; gap: 4px; }
.nav > a { position: relative; padding: 8px 14px; color: var(--ink); font-size: 0.96rem; letter-spacing: 0.08em; }
.nav > a::after { content: ''; position: absolute; left: 14px; right: 14px; bottom: 2px; height: 1px; background: var(--brand); transform: scaleX(0); transition: transform 0.25s; }
.nav > a:hover::after, .nav > a[aria-current='page']::after { transform: scaleX(1); }
.nav > a[aria-current='page'] { color: var(--brand-700); }
.nav-services, .nav-cta { display: none; }

.header-actions { display: flex; align-items: center; gap: 10px; }
.lang-switch {
  display: inline-flex; align-items: center; gap: 6px; height: 40px; padding: 0 12px;
  border: 1px solid var(--line); border-radius: 999px; color: var(--ink); font-size: 0.9rem; font-weight: 500;
}
.lang-switch:hover { border-color: var(--brand); color: var(--brand-700); }
.burger { display: none; width: 44px; height: 44px; border: 0; background: transparent; color: var(--ink); cursor: pointer; padding: 10px; }
.burger .icon { width: 24px; height: 24px; }
.burger .icon-close { display: none; }

@media (max-width: 960px) {
  :root { --header-h: 64px; }
  .burger { display: inline-flex; }
  .header-wa span { display: none; }
  .header-wa { width: 40px; padding: 0; }
  .brand-mark { width: 38px; }
  .brand-zh { font-size: 1rem; }
  .brand-en { font-size: 0.8rem; }
  .nav {
    position: fixed; inset: var(--header-h) 0 0 0; z-index: 49;
    flex-direction: column; align-items: stretch; gap: 0;
    padding: 12px 20px 120px; overflow-y: auto;
    background: var(--paper);
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity 0.25s, transform 0.25s, visibility 0.25s;
  }
  .nav.is-open { opacity: 1; visibility: visible; transform: none; }
  .nav > a { padding: 16px 4px; font-family: var(--serif); font-size: 1.2rem; border-bottom: 1px solid var(--line); }
  .nav > a::after { display: none; }
  .nav-services { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 18px 0; }
  .nav-services a { display: flex; align-items: center; gap: 8px; padding: 12px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); color: var(--ink); font-size: 0.95rem; }
  .nav-services .icon { color: var(--brand); }
  .nav-cta { display: grid; gap: 10px; }
  body.nav-open { overflow: hidden; }
  body.nav-open .burger .icon-open { display: none; }
  body.nav-open .burger .icon-close { display: block; }
}
@media (max-width: 380px) {
  .brand-en { display: none; }
  .lang-switch .icon { display: none; }
}

/* ---------------------------------------------------------------- shared */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; margin: 0 0 14px;
  font-family: var(--latin); font-style: italic; font-size: 1.12rem; letter-spacing: 0.08em; color: var(--brand);
  font-synthesis: none;
}
.eyebrow-star { width: 14px; height: 14px; }
.section { padding: clamp(64px, 9vw, 120px) 0; }
.section-alt { background: var(--paper-2); }
.section-head { max-width: 680px; margin-bottom: clamp(32px, 5vw, 56px); }
.section-title { font-size: clamp(1.6rem, 3.2vw, 2.35rem); }
.section-lead { color: var(--muted); font-size: 1.04rem; margin: 0; }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-size: 0.92rem; letter-spacing: 0.08em; color: var(--brand-600); }
.link-arrow .icon { transition: transform 0.25s; }
a:hover .link-arrow .icon, .link-arrow:hover .icon { transform: translateX(4px); }

.wave { position: absolute; left: 0; right: 0; bottom: -1px; width: 100%; height: clamp(30px, 5vw, 70px); fill: var(--paper); pointer-events: none; }

.reveal { transition: opacity 0.8s ease, transform 0.8s ease; }
.js .reveal { opacity: 0; transform: translateY(18px); }
.js .reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js .reveal { opacity: 1; transform: none; transition: none; } }

/* ---------------------------------------------------------------- hero */
.hero { position: relative; padding: clamp(32px, 6vw, 80px) 0 clamp(80px, 10vw, 140px); background: linear-gradient(180deg, var(--paper) 0%, var(--paper-2) 100%); overflow: hidden; }
.hero::before {
  content: ''; position: absolute; width: 640px; height: 640px; right: -180px; top: -160px;
  border: 1px solid rgba(101, 133, 153, 0.22); border-radius: 50%; pointer-events: none;
}
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.hero-title { font-size: clamp(2.3rem, 5.6vw, 4rem); font-weight: 500; line-height: 1.3; letter-spacing: 0.12em; margin-bottom: 24px; }
.lang-en .hero-title { letter-spacing: 0.01em; font-family: var(--latin); font-weight: 500; font-size: clamp(2.6rem, 6vw, 4.5rem); line-height: 1.1; }
.hero-lead { font-size: clamp(1rem, 1.6vw, 1.12rem); color: var(--muted); max-width: 560px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0; }
.hero-actions.center { justify-content: center; }
.trust { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 20px; max-width: 520px; }
.trust li { display: flex; align-items: center; gap: 8px; font-size: 0.92rem; color: var(--ink); }
.trust .icon { color: var(--brand); }

.hero-visual { position: relative; aspect-ratio: 1 / 1.02; }
.hero-photo { position: absolute; overflow: hidden; border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; }
.hero-photo-main { inset: 0 18% 14% 0; border-radius: 200px 200px var(--radius-lg) var(--radius-lg); }
.hero-photo-sub { width: 44%; aspect-ratio: 1; right: 0; bottom: 0; border: 6px solid var(--paper); }
.hero-badge {
  position: absolute; left: -12px; bottom: 6%; display: flex; align-items: center; gap: 12px;
  padding: 12px 20px 12px 12px; background: var(--white); border-radius: 999px; box-shadow: var(--shadow);
  font-family: var(--serif); font-size: 0.92rem; line-height: 1.4; color: var(--ink); letter-spacing: 0.1em;
}
.lang-en .hero-badge { letter-spacing: 0.02em; }
.hero-badge img { width: 48px; }

@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { max-width: 520px; width: 100%; margin-inline: auto; }
  .hero-badge { left: 0; }
}
@media (max-width: 420px) {
  .trust { grid-template-columns: 1fr; }
  .hero-actions .btn { flex: 1 1 100%; }
}

/* ---------------------------------------------------------------- page hero */
.page-hero { position: relative; padding: clamp(32px, 5vw, 64px) 0 clamp(72px, 9vw, 120px); background: linear-gradient(180deg, var(--paper) 0%, var(--paper-2) 100%); overflow: hidden; }
.page-hero .section-head { margin-bottom: 0; }
.page-hero .section-title, .page-title { font-size: clamp(2rem, 4.5vw, 3rem); font-weight: 500; letter-spacing: 0.1em; }
.lang-en .page-title, .lang-en .page-hero .section-title { letter-spacing: 0; }
.service-hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.service-hero-img { border-radius: 180px 180px var(--radius-lg) var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 4 / 4.4; }
.service-hero-img img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 860px) {
  .service-hero-grid { grid-template-columns: 1fr; }
  .service-hero-img { max-width: 480px; width: 100%; margin-inline: auto; aspect-ratio: 4 / 3.6; border-radius: 140px 140px var(--radius-lg) var(--radius-lg); }
}

.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: 6px; font-size: 0.86rem; color: var(--muted); margin-bottom: 24px; }
.breadcrumbs li + li::before { content: '/'; margin-right: 6px; color: var(--line); }
.breadcrumbs a { color: var(--muted); }
.breadcrumbs a:hover { color: var(--brand-700); }

/* ---------------------------------------------------------------- service cards */
.service-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2.4vw, 28px); }
@media (max-width: 1000px) { .service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .service-grid { grid-template-columns: 1fr; } }
.service-card { display: flex; flex-direction: column; background: var(--white); border-radius: var(--radius-lg); overflow: hidden; color: var(--ink); box-shadow: 0 1px 0 var(--line); transition: transform 0.35s, box-shadow 0.35s; }
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); color: var(--ink); }
.service-card-img { aspect-ratio: 4 / 3; overflow: hidden; }
.service-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s; }
.service-card:hover .service-card-img img { transform: scale(1.04); }
.service-card-body { position: relative; padding: 32px 26px 26px; display: flex; flex-direction: column; flex: 1; }
.service-card-body h3 { font-size: 1.3rem; margin-bottom: 8px; }
.service-card-body p { color: var(--muted); font-size: 0.95rem; flex: 1; }
.service-icon { position: absolute; top: -26px; left: 24px; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: var(--brand); color: #fff; box-shadow: 0 0 0 5px var(--white); }
.service-icon .icon { width: 24px; height: 24px; }

/* ---------------------------------------------------------------- split / why */
.split { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(32px, 6vw, 88px); align-items: center; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }
.split-media { position: relative; }
.split-media img { border-radius: var(--radius-lg); aspect-ratio: 4 / 5; object-fit: cover; width: 100%; box-shadow: var(--shadow); }
.vertical-label {
  position: absolute; top: 24px; right: -18px; margin: 0;
  writing-mode: vertical-rl; font-family: var(--serif); font-size: 1.05rem; letter-spacing: 0.6em;
  padding: 18px 10px; background: var(--paper); color: var(--brand-700); border-radius: var(--radius);
}
@media (max-width: 860px) { .split-media { max-width: 520px; } .vertical-label { right: 12px; } }
.why-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px 32px; }
@media (max-width: 520px) { .why-grid { grid-template-columns: 1fr; } }
.why h3 { font-size: 1.15rem; margin: 12px 0 6px; }
.why p { color: var(--muted); font-size: 0.95rem; margin: 0; }
.why-icon { display: inline-grid; place-items: center; width: 46px; height: 46px; border: 1px solid var(--brand); border-radius: 50%; color: var(--brand); }
.why-icon .icon { width: 22px; height: 22px; }

/* ---------------------------------------------------------------- steps / features */
.steps, .feature-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; counter-reset: step; }
@media (max-width: 960px) { .steps, .feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .steps, .feature-grid { grid-template-columns: 1fr; } }
.step, .feature { position: relative; padding: 28px 24px; background: var(--white); border-radius: var(--radius-lg); border-top: 2px solid var(--brand); }
.section-alt .feature { background: var(--paper); }
.step-num { display: block; font-family: var(--latin); font-size: 2.6rem; line-height: 1; color: var(--brand); opacity: 0.55; margin-bottom: 14px; }
.step h3, .feature h3 { font-size: 1.15rem; margin-bottom: 6px; }
.step p, .feature p { color: var(--muted); font-size: 0.95rem; margin: 0; }

/* ---------------------------------------------------------------- chips */
.chips { display: flex; flex-wrap: wrap; gap: 12px; }
.chips li { display: inline-flex; align-items: center; gap: 8px; padding: 10px 18px; background: var(--white); border: 1px solid var(--line); border-radius: 999px; font-size: 0.97rem; }
.chips .icon { color: var(--brand); }

/* ---------------------------------------------------------------- gallery */
.gallery { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
@media (max-width: 860px) { .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.gallery-item { position: relative; display: block; aspect-ratio: 1; overflow: hidden; border-radius: var(--radius-lg); background: var(--line); }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s, filter 0.4s; }
.gallery-item:hover img { transform: scale(1.05); filter: brightness(1.04); }

.lightbox { max-width: min(92vw, 1000px); max-height: 92vh; padding: 0; border: 0; border-radius: var(--radius-lg); background: var(--paper); overflow: hidden; }
.lightbox::backdrop { background: rgba(30, 42, 50, 0.82); backdrop-filter: blur(4px); }
.lightbox img { max-height: 80vh; width: auto; margin: 0 auto; }
.lightbox p { margin: 0; padding: 12px 20px; font-size: 0.92rem; color: var(--muted); text-align: center; }
.lightbox-close { position: absolute; top: 10px; right: 10px; width: 40px; height: 40px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, 0.9); cursor: pointer; display: grid; place-items: center; }

/* ---------------------------------------------------------------- quote */
.quote { margin: 0; padding: clamp(28px, 5vw, 48px); background: var(--white); border-radius: var(--radius-lg); position: relative; }
.quote::before { content: '“'; position: absolute; top: -10px; left: 24px; font-family: var(--latin); font-size: 6rem; line-height: 1; color: var(--brand); opacity: 0.35; }
.quote blockquote { margin: 0; font-family: var(--serif); font-size: clamp(1.02rem, 1.8vw, 1.2rem); line-height: 2; }
.quote figcaption { margin-top: 16px; color: var(--brand-700); font-size: 0.94rem; }
.quote small { color: var(--muted); }

/* ---------------------------------------------------------------- areas */
.areas { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
@media (max-width: 760px) { .areas { grid-template-columns: 1fr; } }
.area { padding: 26px; background: var(--paper); border-radius: var(--radius-lg); }
.area h3 { font-size: 1.12rem; padding-bottom: 10px; border-bottom: 1px solid var(--line); }
.area ul { display: flex; flex-wrap: wrap; gap: 8px; }
.area li { padding: 4px 12px; font-size: 0.9rem; border: 1px solid var(--line); border-radius: 999px; background: var(--white); }

/* ---------------------------------------------------------------- faq */
.faq { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 22px 4px; cursor: pointer; list-style: none; font-family: var(--serif); font-size: 1.08rem; font-weight: 600; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-plus { position: relative; flex: none; width: 18px; height: 18px; }
.faq-plus::before, .faq-plus::after { content: ''; position: absolute; top: 50%; left: 0; width: 100%; height: 1.5px; background: var(--brand); transition: transform 0.3s; }
.faq-plus::after { transform: rotate(90deg); }
.faq-item[open] .faq-plus::after { transform: rotate(0); }
.faq-a { padding: 0 4px 22px; color: var(--muted); }
.faq-a p { margin: 0; }

/* ---------------------------------------------------------------- price table */
.price-table { width: 100%; border-collapse: collapse; background: var(--white); border-radius: var(--radius-lg); overflow: hidden; }
.price-table th, .price-table td { padding: 18px 24px; border-bottom: 1px solid var(--line); text-align: left; font-weight: 400; }
.price-table td { text-align: right; font-family: var(--serif); font-weight: 600; color: var(--brand-700); font-size: 1.12rem; white-space: nowrap; }
.price-table tr:last-child th, .price-table tr:last-child td { border-bottom: 0; }
.price-table th small { display: block; margin-top: 2px; font-size: 0.84rem; color: var(--muted); }
.includes { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 20px; margin-top: 20px; padding: 20px 24px; background: var(--white); border-radius: var(--radius-lg); }
.includes li { display: flex; gap: 8px; align-items: flex-start; font-size: 0.94rem; }
.includes .icon { color: var(--brand); margin-top: 0.3em; }
@media (max-width: 600px) { .includes { grid-template-columns: 1fr; } }
.note { margin-top: 16px; font-size: 0.9rem; color: var(--muted); }
@media (max-width: 520px) { .price-table th, .price-table td { padding: 14px 16px; } .price-table td { white-space: normal; } }

/* ---------------------------------------------------------------- about */
.prose p { font-size: 1.03rem; color: var(--ink); }
.about-logo { width: 120px; margin-bottom: 24px; }
.values { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
@media (max-width: 760px) { .values { grid-template-columns: 1fr; } }
.value { padding: 36px 28px; background: var(--paper); border-radius: var(--radius-lg); text-align: center; }
.value h3 { font-size: 1.6rem; font-weight: 500; letter-spacing: 0.3em; color: var(--brand-700); }
.lang-en .value h3 { letter-spacing: 0.04em; }
.value p { margin: 0; color: var(--muted); }

/* ---------------------------------------------------------------- contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 4vw, 56px); align-items: start; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 520px) { .contact-cards { grid-template-columns: 1fr; } }
.contact-card { display: flex; gap: 14px; align-items: flex-start; padding: 20px; background: var(--white); border-radius: var(--radius-lg); border: 1px solid var(--line); color: var(--ink); transition: border-color 0.2s, transform 0.2s; min-width: 0; }
a.contact-card:hover { border-color: var(--brand); transform: translateY(-2px); color: var(--ink); }
.contact-card > .icon { width: 26px; height: 26px; color: var(--brand); margin-top: 2px; }
.contact-card span { display: flex; flex-direction: column; min-width: 0; }
.contact-card small { color: var(--muted); font-size: 0.82rem; letter-spacing: 0.06em; }
.contact-card strong { font-weight: 500; overflow-wrap: anywhere; }
.contact-card em { font-style: normal; color: var(--muted); font-size: 0.86rem; margin-top: 4px; }
.contact-card .link-arrow { margin-top: 8px; }
.contact-card-wide { grid-column: 1 / -1; }

.quote-form { padding: clamp(24px, 4vw, 40px); background: var(--white); border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.quote-form h2 { font-size: 1.5rem; }
.quote-form > p { color: var(--muted); font-size: 0.95rem; }
.quote-form label { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; font-size: 0.9rem; color: var(--muted); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
@media (max-width: 520px) { .field-row { grid-template-columns: 1fr; } }
.quote-form input, .quote-form select, .quote-form textarea {
  width: 100%; padding: 12px 14px; font-size: 16px; color: var(--ink);
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  transition: border-color 0.2s, background 0.2s;
}
.quote-form input:focus, .quote-form select:focus, .quote-form textarea:focus { outline: none; border-color: var(--brand); background: var(--white); }
.form-alt { margin: 14px 0 0; text-align: center; font-size: 0.9rem; color: var(--muted); }

.map-section iframe { display: block; width: 100%; height: clamp(320px, 45vw, 460px); border: 0; filter: grayscale(0.35) contrast(0.95); }

.social { display: flex; flex-wrap: wrap; gap: 10px; }
.social a { display: grid; place-items: center; width: 42px; height: 42px; border: 1px solid var(--line); border-radius: 50%; color: var(--brand-700); transition: background 0.2s, color 0.2s, border-color 0.2s; }
.social a:hover { background: var(--brand); border-color: var(--brand); color: #fff; }
.social-light a { border-color: rgba(255, 255, 255, 0.3); color: #fff; }
.social-light a:hover { background: #fff; color: var(--brand-700); border-color: #fff; }
.social-big { justify-content: center; gap: 16px; }
.social-big a { width: 60px; height: 60px; background: var(--white); }
.social-big .icon { width: 26px; height: 26px; }
.narrow .section-head { margin-inline: auto; text-align: center; }

/* ---------------------------------------------------------------- CTA band */
.cta-band { background: var(--brand); color: #fff; padding: clamp(48px, 7vw, 80px) 0; position: relative; overflow: hidden; }
.cta-band::before { content: ''; position: absolute; width: 520px; height: 520px; left: -160px; top: -200px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, 0.18); }
.cta-inner { position: relative; display: grid; grid-template-columns: auto 1fr auto; gap: 28px; align-items: center; }
.cta-inner h2 { color: #fff; font-size: clamp(1.4rem, 2.8vw, 2rem); margin-bottom: 6px; }
.cta-inner p { margin: 0; opacity: 0.85; }
.cta-mark { width: 72px; opacity: 0.9; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }
@media (max-width: 860px) {
  .cta-inner { grid-template-columns: 1fr; text-align: center; justify-items: center; }
  .cta-actions { justify-content: center; }
}

/* ---------------------------------------------------------------- footer */
.site-footer { background: #2f4350; color: rgba(255, 255, 255, 0.78); padding: clamp(56px, 7vw, 88px) 0 0; font-size: 0.94rem; }
.site-footer a { color: rgba(255, 255, 255, 0.85); }
.site-footer a:hover { color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.2fr 0.8fr 1.3fr; gap: 48px; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr; gap: 36px; } }
.footer-brand img { width: 110px; margin-bottom: 20px; }
.footer-brand p { max-width: 340px; }
.footer-title { color: #fff; font-size: 1rem; letter-spacing: 0.2em; margin-bottom: 18px; }
.footer-links li { margin-bottom: 8px; }
.footer-contact p { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 12px; }
.footer-contact .icon { margin-top: 5px; color: #a9c0cf; }
.footer-contact small { opacity: 0.7; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; margin-top: 56px; padding: 22px 0; border-top: 1px solid rgba(255, 255, 255, 0.12); font-size: 0.84rem; opacity: 0.75; }
.footer-bottom p { margin: 0; }

/* ---------------------------------------------------------------- mobile bar */
.mobile-bar { display: none; }
@media (max-width: 760px) {
  .mobile-bar {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; display: grid; grid-template-columns: 1fr 1.6fr; gap: 8px;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
    background: rgba(247, 245, 240, 0.95); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
    border-top: 1px solid var(--line);
  }
  .mobile-bar a { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; border-radius: 999px; font-weight: 500; letter-spacing: 0.06em; }
  .mobile-bar-call { border: 1px solid var(--brand); color: var(--brand-700); }
  .mobile-bar-wa { background: var(--wa); color: #fff; }
  .mobile-bar-wa:hover { color: #fff; }
  body { padding-bottom: calc(70px + env(safe-area-inset-bottom)); }
}

/* ---------------------------------------------------------------- 404 */
.not-found { text-align: center; padding-block: 100px; }
.not-found img { margin: 0 auto 24px; width: 96px; }
.not-found .hero-lead { margin-inline: auto; }

@media print {
  .site-header, .mobile-bar, .cta-band, .map-section, .lightbox { display: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}
