/* HomeTabu – site styles. Colors follow the logo: charcoal + glass blue. */
:root {
  --ink: #22272b;
  --ink-2: #454c52;
  --muted: #646c73;
  --line: #e2e6e9;
  --line-2: #cfd6db;
  --paper: #ffffff;
  --paper-2: #f4f7f8;
  --paper-3: #eaf4f8;
  --accent: #4fb3d6;      /* logo glass blue (decorative) */
  --accent-ink: #1b7397;  /* text-safe blue, 5:1 on white */
  --accent-deep: #0f3b52; /* blueprint navy */
  --radius: 14px;
  --radius-sm: 8px;
  --shadow: 0 1px 2px rgba(15, 40, 55, .06), 0 8px 24px rgba(15, 40, 55, .07);
  --shadow-lg: 0 2px 4px rgba(15, 40, 55, .06), 0 20px 48px rgba(15, 40, 55, .12);
  --wrap: 1180px;
  --font: 'Assistant', 'Segoe UI', Arial, sans-serif;
  --header-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: var(--font); font-size: 18px; line-height: 1.7;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent-ink); text-underline-offset: 3px; }
a:hover { color: var(--accent-deep); }
h1, h2, h3 { line-height: 1.2; margin: 0 0 .5em; font-weight: 700; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: 24px; }
.wrap.narrow { max-width: 820px; }
.ico { width: 1.25em; height: 1.25em; flex: none; }

.skip { position: absolute; inset-inline-start: 16px; top: -100px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 18px; border-radius: var(--radius-sm); }
.skip:focus { top: 12px; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px; margin: 0 0 14px;
  font-size: 14px; font-weight: 700; letter-spacing: .08em; color: var(--accent-ink);
}
.eyebrow::before { content: ''; width: 28px; height: 2px; background: var(--accent); }
.lead { font-size: 1.15rem; color: var(--ink-2); max-width: 62ch; }
.meta { font-size: 15px; color: var(--muted); margin-bottom: .4em; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 12px 26px; border-radius: 999px; border: 1.5px solid transparent;
  font: 700 17px/1.2 var(--font); text-decoration: none; cursor: pointer;
  transition: background .2s, color .2s, border-color .2s, transform .2s, box-shadow .2s;
}
.btn:hover { transform: translateY(-1px); }
.btn-sm { min-height: 42px; padding: 8px 18px; font-size: 16px; }
.btn-block { width: 100%; }
.btn-primary { background: var(--ink); color: #fff; }
.btn-primary:hover { background: var(--accent-deep); color: #fff; box-shadow: var(--shadow); }
.btn-outline { border-color: var(--line-2); color: var(--ink); background: #fff; }
.btn-outline:hover { border-color: var(--ink); color: var(--ink); }
.btn-light { background: #fff; color: var(--accent-deep); }
.btn-light:hover { background: var(--paper-3); color: var(--accent-deep); }
.btn-ghost-light { border-color: rgba(255, 255, 255, .5); color: #fff; }
.btn-ghost-light:hover { border-color: #fff; color: #fff; background: rgba(255, 255, 255, .08); }
.btn .ico { width: 1.1em; height: 1.1em; }

.more { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; text-decoration: none; }
.more .ico { transition: transform .2s; }
.more:hover .ico { transform: translateX(-4px); }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .94);
  backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s;
}
.site-header.scrolled { border-bottom-color: var(--line); box-shadow: 0 4px 20px rgba(15, 40, 55, .05); }
.header-inner { display: flex; align-items: center; gap: 28px; min-height: var(--header-h); }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); flex: none; }
.brand-mark { width: 54px; height: auto; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-word { direction: ltr; font-size: 26px; font-weight: 300; letter-spacing: .04em; display: flex; align-items: center; color: #3b3f42; }
.brand-word i { display: inline-block; width: 2px; height: 1.05em; background: var(--accent); margin: 0 4px; }
.brand-sub { font-size: 13px; color: var(--muted); margin-top: 5px; font-weight: 600; letter-spacing: .02em; }
.main-nav { margin-inline-start: auto; }
.main-nav ul { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.main-nav a {
  display: block; padding: 8px 14px; border-radius: 999px; color: var(--ink-2);
  font-weight: 600; text-decoration: none; transition: background .2s, color .2s;
}
.main-nav a:hover { background: var(--paper-2); color: var(--ink); }
.main-nav a[aria-current="page"] { color: var(--ink); background: var(--paper-3); }
.header-cta span { direction: ltr; }
.nav-toggle { display: none; }

@media (max-width: 1020px) {
  .header-cta span { display: none; }
  .header-cta { width: 44px; padding: 0; }
}
@media (max-width: 880px) {
  :root { --header-h: 68px; }
  .brand-mark { width: 46px; }
  .brand-word { font-size: 22px; }
  .header-inner { gap: 12px; }
  .header-cta { margin-inline-start: auto; }
  .nav-toggle {
    display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px;
    border: 1.5px solid var(--line-2); background: #fff; border-radius: 50%; color: var(--ink); cursor: pointer;
  }
  .nav-toggle .i-close, .nav-open .nav-toggle .i-open { display: none; }
  .nav-open .nav-toggle .i-close { display: block; }
  .main-nav {
    position: fixed; inset: var(--header-h) 0 auto 0; background: #fff; border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-lg); padding: 12px 24px 24px; margin: 0;
    transform: translateY(-8px); opacity: 0; visibility: hidden; transition: opacity .2s, transform .2s, visibility .2s;
  }
  .nav-open .main-nav { transform: none; opacity: 1; visibility: visible; }
  .main-nav ul { flex-direction: column; gap: 2px; }
  .main-nav a { padding: 14px 16px; border-radius: var(--radius-sm); font-size: 19px; }
}
@media (max-width: 400px) { .brand-sub { display: none; } }

/* ---------- sections ---------- */
.section { padding-block: clamp(64px, 9vw, 112px); }
.section-head { margin-bottom: clamp(32px, 5vw, 52px); max-width: 760px; }
.section-head h2 { font-size: clamp(30px, 4vw, 44px); font-weight: 300; }
.section-head h2 strong { font-weight: 700; }
.section-head.split { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; max-width: none; }
.section-head.split h2 { margin-bottom: 0; }

/* ---------- hero ---------- */
.hero {
  position: relative; overflow: hidden; padding-block: clamp(40px, 7vw, 96px) clamp(56px, 8vw, 110px);
  background: var(--paper);
}
.hero::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(90deg, rgba(79, 179, 214, .09) 1px, transparent 1px),
    linear-gradient(rgba(79, 179, 214, .09) 1px, transparent 1px);
  background-size: 32px 32px;
  mask-image: radial-gradient(ellipse 70% 80% at 25% 50%, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 70% 80% at 25% 50%, #000 20%, transparent 75%);
}
.hero-grid { position: relative; display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero h1 { font-size: clamp(38px, 5.6vw, 68px); font-weight: 300; line-height: 1.08; margin-bottom: 24px; letter-spacing: -.02em; }
.hero h1 strong { font-weight: 800; color: var(--ink); }
.hero .lead { margin-bottom: 32px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-trust { list-style: none; padding: 0; margin: 32px 0 0; display: grid; gap: 10px; color: var(--ink-2); font-size: 16px; }
.hero-trust li { display: flex; gap: 10px; align-items: center; }
.hero-trust .ico { color: var(--accent-ink); }
.hero-visual { position: relative; }
.hero-frame {
  position: relative; border-radius: 20px; overflow: hidden; background: #fff;
  box-shadow: var(--shadow-lg); border: 1px solid var(--line);
}
.hero-frame img { width: 100%; aspect-ratio: 4 / 3.2; object-fit: cover; object-position: 30% 50%; }
.hero-badge {
  position: absolute; inset-inline-end: -18px; bottom: -26px; display: flex; align-items: center; gap: 14px;
  background: var(--accent-deep); color: #fff; padding: 18px 22px; border-radius: var(--radius); box-shadow: var(--shadow-lg);
}
.hero-badge-v { font-size: 40px; font-weight: 800; line-height: 1; direction: ltr; }
.hero-badge-l { font-size: 15px; line-height: 1.35; opacity: .9; }
.dim { position: absolute; font-size: 12px; color: var(--accent-ink); letter-spacing: .1em; direction: ltr; }
.dim::before, .dim::after { content: ''; position: absolute; background: var(--accent); }
.dim-x { top: -26px; left: 50%; transform: translateX(-50%); }
.dim-x::before { height: 1px; width: 160px; top: 50%; right: calc(100% + 8px); }
.dim-x::after { height: 1px; width: 160px; top: 50%; left: calc(100% + 8px); }
.dim-y { top: 50%; left: -38px; transform: translateY(-50%) rotate(-90deg); }

@media (max-width: 880px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { margin-inline: 8px 18px; }
  .dim { display: none; }
  .hero-badge { inset-inline-end: -10px; bottom: -20px; padding: 14px 18px; }
  .hero-badge-v { font-size: 32px; }
}

/* ---------- stats ---------- */
.stats { background: var(--accent-deep); color: #fff; position: relative; overflow: hidden; }
.stats::before {
  content: ''; position: absolute; inset: 0; opacity: .5;
  background-image: linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px), linear-gradient(rgba(255,255,255,.06) 1px, transparent 1px);
  background-size: 32px 32px;
}
.stats-grid { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 40px 16px; text-align: center; display: flex; flex-direction: column; gap: 6px; }
.stat + .stat { border-inline-start: 1px solid rgba(255, 255, 255, .14); }
.stat-v { font-size: clamp(36px, 4.5vw, 52px); font-weight: 300; line-height: 1; direction: ltr; }
.stat-l { font-size: 16px; opacity: .85; }
@media (max-width: 760px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(3) { border-inline-start: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid rgba(255, 255, 255, .14); }
}

/* ---------- services ---------- */
.service-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.service-card {
  display: flex; flex-direction: column; padding: 28px 24px; border: 1px solid var(--line); border-radius: var(--radius);
  color: var(--ink); text-decoration: none; background: #fff; transition: border-color .2s, box-shadow .2s, transform .2s;
}
.service-card:hover { border-color: var(--accent); box-shadow: var(--shadow); transform: translateY(-3px); color: var(--ink); }
.service-card h3 { font-size: 20px; margin: 18px 0 8px; }
.service-card p { font-size: 16px; color: var(--muted); margin: 0; }
.service-ico {
  width: 52px; height: 52px; padding: 12px; border-radius: 12px; color: var(--accent-deep);
  background: var(--paper-3); stroke-width: 1.5;
}
@media (max-width: 1020px) { .service-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .service-grid { grid-template-columns: 1fr; } }

.subnav { display: flex; gap: 10px; flex-wrap: wrap; padding-top: 28px; }
.subnav a {
  padding: 8px 18px; border: 1px solid var(--line-2); border-radius: 999px; text-decoration: none;
  color: var(--ink); font-weight: 600; font-size: 16px;
}
.subnav a:hover { border-color: var(--ink); }
.service-group + .service-group { padding-top: 0; }
.service-group .section-head h2 { font-size: clamp(24px, 3vw, 32px); }
.service-detail-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.service-detail {
  padding: 32px; border-radius: var(--radius); background: var(--paper-2); border: 1px solid transparent;
  transition: border-color .3s, background .3s;
}
.service-detail:target { border-color: var(--accent); background: var(--paper-3); }
.service-detail h3 { font-size: 22px; margin: 18px 0 10px; }
.service-detail p { margin: 0; color: var(--ink-2); font-size: 17px; }
.service-detail .service-ico { background: #fff; }
@media (max-width: 760px) { .service-detail-grid { grid-template-columns: 1fr; } .service-detail { padding: 24px; } }

/* ---------- about ---------- */
.about-teaser { background: var(--paper-2); }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.about-media img { border-radius: 20px; aspect-ratio: 5 / 4; object-fit: cover; box-shadow: var(--shadow-lg); }
.about-copy h2 { font-size: clamp(30px, 4vw, 44px); font-weight: 300; }
.about-copy p { color: var(--ink-2); }
.about-copy .btn { margin-top: 8px; }
.section:not(.about-teaser) > .about-grid { align-items: start; grid-template-columns: 1.4fr 1fr; }
.about-side { position: sticky; top: calc(var(--header-h) + 24px); }
.owner-card { border: 1px solid var(--line); border-radius: 20px; padding: 32px; box-shadow: var(--shadow); text-align: center; }
.owner-card img { width: 180px; margin: 0 auto 20px; }
.owner-name { font-size: 24px; font-weight: 700; margin: 0; }
.owner-title { color: var(--muted); margin-bottom: 20px; }
.owner-facts { list-style: none; padding: 0; margin: 0 0 24px; text-align: start; display: grid; gap: 10px; }
.owner-facts li { display: flex; gap: 10px; align-items: center; padding-bottom: 10px; border-bottom: 1px solid var(--line); }
.owner-facts .ico { color: var(--accent-ink); }
@media (max-width: 880px) {
  .about-grid, .section:not(.about-teaser) > .about-grid { grid-template-columns: 1fr; }
  .about-side { position: static; }
}

.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: p; }
.pillar { padding: 32px; border-top: 2px solid var(--ink); background: var(--paper-2); border-radius: 0 0 var(--radius) var(--radius); }
.pillar::before { counter-increment: p; content: '0' counter(p); display: block; color: var(--accent-ink); font-weight: 700; margin-bottom: 12px; }
.pillar h3 { font-size: 22px; }
.pillar p { margin: 0; color: var(--ink-2); }
@media (max-width: 760px) { .pillars { grid-template-columns: 1fr; } }

/* ---------- process ---------- */
.process { background: var(--paper); }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(7, 1fr); gap: 0; position: relative; }
.steps::before { content: ''; position: absolute; top: 22px; inset-inline: 22px; height: 1px; background: repeating-linear-gradient(90deg, var(--line-2) 0 6px, transparent 6px 12px); }
.step { position: relative; padding-inline-end: 18px; }
.step-n {
  position: relative; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  background: #fff; border: 1.5px solid var(--ink); font-weight: 700; font-size: 15px; margin-bottom: 18px; direction: ltr;
}
.step:last-child .step-n { background: var(--ink); color: #fff; }
.step h3 { font-size: 19px; margin-bottom: 6px; }
.step p { font-size: 15.5px; color: var(--muted); margin: 0; line-height: 1.6; }
@media (max-width: 1020px) {
  .steps { grid-template-columns: 1fr; gap: 0; }
  .steps::before { top: 22px; bottom: 22px; inset-inline: 21px auto; width: 1px; height: auto; background: repeating-linear-gradient(180deg, var(--line-2) 0 6px, transparent 6px 12px); }
  .step { display: grid; grid-template-columns: 44px 1fr; column-gap: 20px; padding: 0 0 28px; }
  .step-n { grid-row: span 2; margin: 0; }
  .step h3 { margin-top: 8px; }
}

/* ---------- values ---------- */
.values { background: var(--paper-2); }
.values-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.value { background: #fff; border-radius: var(--radius); padding: 36px 32px; box-shadow: var(--shadow); }
.value img { width: 96px; height: 96px; object-fit: contain; margin-bottom: 20px; }
.value h3 { font-size: 24px; }
.value p { color: var(--ink-2); font-size: 17px; margin: 0; }
@media (max-width: 880px) { .values-grid { grid-template-columns: 1fr; } }

/* ---------- promos ---------- */
.promo-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.promo { margin: 0; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow); background: #fff; }
.promo img { width: 100%; aspect-ratio: 1; object-fit: cover; }
@media (max-width: 760px) {
  .promo-grid { grid-template-columns: repeat(3, 78%); overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 12px; margin-inline: -24px; padding-inline: 24px; }
  .promo { scroll-snap-align: center; }
}

/* ---------- clients ---------- */
.clients { padding-bottom: 0; }
.client-list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.client-list li { padding: 10px 18px; border: 1px solid var(--line); border-radius: 999px; font-weight: 600; color: var(--ink-2); font-size: 16px; background: #fff; }
.client-list .and-more { border-style: dashed; color: var(--muted); }

/* ---------- testimonial ---------- */
.testimonial figure { margin: 0; text-align: center; }
.quote-mark { width: 52px; height: 52px; color: var(--accent); margin: 0 auto 20px; }
.testimonial blockquote { margin: 0; }
.testimonial blockquote p { font-size: clamp(20px, 2.4vw, 26px); font-weight: 300; line-height: 1.6; color: var(--ink); }
.testimonial figcaption { font-weight: 700; color: var(--accent-ink); margin-top: 8px; }

/* ---------- articles ---------- */
.articles-teaser { background: var(--paper-2); }
.article-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: box-shadow .2s, transform .2s; }
.card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.card-media { display: block; overflow: hidden; }
.card-media img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; transition: transform .5s; }
.card:hover .card-media img { transform: scale(1.04); }
.card-body { padding: 24px 26px 26px; display: flex; flex-direction: column; flex: 1; }
.card-body h3 { font-size: 21px; margin-bottom: 10px; }
.card-body h3 a { color: var(--ink); text-decoration: none; }
.card-body h3 a:hover { color: var(--accent-ink); }
.card-body p:not(.meta) { color: var(--muted); font-size: 16.5px; flex: 1; }
@media (max-width: 1020px) { .article-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .article-grid { grid-template-columns: 1fr; } }

/* ---------- page head ---------- */
.page-head {
  position: relative; padding-block: clamp(56px, 8vw, 104px) clamp(48px, 6vw, 80px); overflow: hidden;
  background: var(--paper-2); border-bottom: 1px solid var(--line);
}
.page-head::after {
  content: ''; position: absolute; inset: 0 auto 0 0; width: 52%; pointer-events: none;
  background: var(--bg) center / cover no-repeat; opacity: .22;
  mask-image: linear-gradient(to right, #000 30%, transparent); -webkit-mask-image: linear-gradient(to right, #000 30%, transparent);
}
.page-head .wrap { position: relative; z-index: 1; }
.page-head h1 { font-size: clamp(36px, 5vw, 58px); font-weight: 300; max-width: 18ch; }
.page-head .lead { margin: 0; }
@media (max-width: 760px) { .page-head::after { width: 100%; opacity: .1; } }

/* ---------- article ---------- */
.article-head { padding-block: clamp(48px, 7vw, 88px) 36px; background: var(--paper-2); }
.crumbs { display: flex; gap: 8px; font-size: 15px; margin-bottom: 20px; color: var(--muted); }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--accent-ink); text-decoration: underline; }
.article-head h1 { font-size: clamp(32px, 4.6vw, 52px); font-weight: 700; }
.article-head { border-bottom: 1px solid var(--line); }
.article-cover { margin-top: 48px; max-width: 1080px; }
.article-cover img { width: 100%; aspect-ratio: 16 / 8; object-fit: cover; border-radius: 20px; box-shadow: var(--shadow-lg); }
.prose { padding-block: 48px 24px; }
.prose h2 { font-size: 28px; margin-top: 1.6em; }
.prose h3 { font-size: 22px; margin-top: 1.4em; }
.prose > :first-child { margin-top: 0; }
.prose ul { padding-inline-start: 0; list-style: none; margin: 0 0 1.4em; }
.prose li { position: relative; padding-inline-start: 26px; margin-bottom: .7em; }
.prose li::before { content: ''; position: absolute; inset-inline-start: 4px; top: .7em; width: 8px; height: 8px; border: 2px solid var(--accent); border-radius: 2px; transform: rotate(45deg); }
.prose strong { color: var(--ink); }
.prose p, .prose li { color: var(--ink-2); }
.article-cta {
  display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
  margin-block: 24px 0; padding: 32px; border-radius: 20px; background: var(--paper-3); border: 1px solid #d3e9f2;
}
.article-cta h2 { font-size: 24px; margin-bottom: 4px; }
.article-cta p { margin: 0; color: var(--ink-2); }
.cta-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.cta-actions .btn span { direction: ltr; }
.related { background: var(--paper-2); margin-top: clamp(56px, 8vw, 96px); }
.related .section-head h2 { font-size: 30px; }

/* ---------- cta band ---------- */
.cta-band { background: var(--accent-deep); color: #fff; position: relative; overflow: hidden; }
.cta-band::before {
  content: ''; position: absolute; inset: 0;
  background: url('/assets/img/plan-sheet.jpg') left center / 640px auto no-repeat; opacity: .08; filter: invert(1);
}
.cta-inner { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; padding-block: clamp(48px, 7vw, 80px); }
.cta-band h2 { font-size: clamp(28px, 3.6vw, 40px); font-weight: 300; margin-bottom: 8px; }
.cta-band p { margin: 0; opacity: .85; max-width: 52ch; }

/* ---------- contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(32px, 5vw, 64px); align-items: start; }
.contact-cards { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.contact-cards li { display: flex; gap: 18px; padding: 22px; border: 1px solid var(--line); border-radius: var(--radius); }
.cc-ico { display: grid; place-items: center; width: 48px; height: 48px; flex: none; border-radius: 12px; background: var(--paper-3); color: var(--accent-deep); }
.cc-ico .ico { width: 24px; height: 24px; }
.contact-cards h2 { font-size: 15px; font-weight: 600; color: var(--muted); margin: 0 0 2px; }
.cc-big { display: block; font-size: 20px; font-weight: 700; color: var(--ink); text-decoration: none; margin: 0; word-break: break-word; }
a.cc-big:hover { color: var(--accent-ink); }
a.cc-big[href^="tel"], a.cc-big[href^="mailto"] { direction: ltr; text-align: right; unicode-bidi: plaintext; }
.contact-cards p:not(.cc-big) { margin: 2px 0 0; color: var(--muted); font-size: 16px; }
.contact-form-wrap { background: var(--paper-2); border-radius: 20px; padding: clamp(24px, 4vw, 40px); }
.contact-form h2 { font-size: 28px; margin-bottom: 24px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 600; font-size: 16px; margin-bottom: 6px; }
.field input, .field select, .field textarea {
  width: 100%; font: 17px/1.4 var(--font); color: var(--ink); background: #fff;
  border: 1.5px solid var(--line-2); border-radius: var(--radius-sm); padding: 12px 14px; min-height: 50px;
  transition: border-color .2s, box-shadow .2s;
}
.field input[dir="ltr"] { text-align: right; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent-ink); box-shadow: 0 0 0 3px rgba(79, 179, 214, .25); }
.field [aria-invalid="true"] { border-color: #b3261e; }
.field-error { color: #b3261e; font-size: 15px; margin-top: 4px; }
.field textarea { resize: vertical; min-height: 130px; }
.hp { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 15.5px; color: var(--ink-2); margin: 4px 0 22px; cursor: pointer; }
.consent input { width: 20px; height: 20px; margin-top: 3px; accent-color: var(--accent-deep); flex: none; }
.form-note { font-size: 14px; color: var(--muted); margin: 12px 0 0; text-align: center; }
.form-status { padding: 18px 20px; border-radius: var(--radius-sm); margin-bottom: 20px; font-weight: 600; }
.form-status.ok { background: #e6f4ea; color: #1e5631; border: 1px solid #b7dfc2; }
.form-status.err { background: #fdecea; color: #8a1c14; border: 1px solid #f3c2bd; }
.map-wrap iframe { display: block; width: 100%; height: 420px; border: 0; filter: grayscale(.4); }
@media (max-width: 880px) { .contact-grid { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .field-row { grid-template-columns: 1fr; gap: 0; } }

/* ---------- footer ---------- */
.site-footer { background: #171b1e; color: #c9d0d5; padding-top: 72px; font-size: 16px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: 40px; }
.footer-brand img { width: 170px; background: #fff; border-radius: var(--radius); padding: 14px; margin-bottom: 20px; }
.footer-brand p { color: #a9b2b9; max-width: 34ch; }
.footer-title { font-size: 17px; color: #fff; margin-bottom: 16px; }
.footer-links, .footer-contact { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.site-footer a { color: #c9d0d5; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-contact li { display: flex; gap: 10px; align-items: center; }
.footer-contact .ico { color: var(--accent); }
.footer-contact a[href^="tel"], .footer-contact a[href^="mailto"] { direction: ltr; unicode-bidi: plaintext; }
.social { display: flex; gap: 10px; margin-top: 20px; }
.social a { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; border: 1px solid #3a4248; }
.social a:hover { background: #fff; color: #171b1e; text-decoration: none; }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-block: 24px; margin-top: 56px; border-top: 1px solid #2c3338; font-size: 14.5px; color: #8f99a1; }
@media (max-width: 1020px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; gap: 32px; } }

/* ---------- whatsapp float ---------- */
.wa-float {
  position: fixed; bottom: 20px; left: 20px; z-index: 40; display: grid; place-items: center;
  width: 58px; height: 58px; border-radius: 50%; background: #1f9e55; color: #fff; box-shadow: 0 8px 24px rgba(0, 0, 0, .2);
  transition: transform .2s;
}
.wa-float:hover { transform: scale(1.06); color: #fff; }
.wa-float .ico { width: 30px; height: 30px; }

.notfound { text-align: center; min-height: 50vh; display: grid; align-items: center; }
.notfound h1 { font-size: clamp(36px, 5vw, 56px); font-weight: 300; }
.notfound .lead { margin-inline: auto; }
.notfound .hero-actions { justify-content: center; }

/* ---------- reveal on scroll ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}

@media print {
  .site-header, .wa-float, .cta-band, .site-footer, .map-wrap { display: none; }
}
