/* ============================================================
   BDH Accounting Services — shared stylesheet
   ============================================================ */

:root {
  --bg: #f3f7f4;
  --surface: #ffffff;
  --ink: #16261f;
  --ink-soft: #5d6f67;
  --primary: #1f7a64;
  --primary-deep: #14584a;
  --mint: #dcefe6;
  --mint-soft: #ebf4ef;
  --accent: #eaa64e;
  --line: #e1eae5;
  --r: 18px;
  --r-lg: 26px;
  --shadow-sm: 0 2px 10px rgba(20, 60, 48, 0.05);
  --shadow-md: 0 18px 44px -22px rgba(20, 60, 48, 0.32);
  --shadow-lg: 0 34px 70px -34px rgba(20, 60, 48, 0.4);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { background: var(--bg); }
body {
  font-family: 'Plus Jakarta Sans', sans-serif;
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
::selection { background: var(--primary); color: #fff; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

h1, h2, h3 { line-height: 1.12; letter-spacing: -0.02em; font-weight: 700; }
.serif-em { font-family: 'Fraunces', serif; font-style: italic; font-weight: 500; }

.wrap { max-width: 1200px; margin: 0 auto; padding: 0 32px; }
.section { padding: 110px 0; }
.section-sm { padding: 80px 0; }

/* visible keyboard focus */
a:focus-visible, button:focus-visible, input:focus-visible,
textarea:focus-visible, select:focus-visible, summary:focus-visible {
  outline: 3px solid var(--primary);
  outline-offset: 2px;
  border-radius: 4px;
}

/* skip link */
.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 200;
  background: var(--primary); color: #fff; padding: 10px 18px;
  border-radius: 8px; font-weight: 600; font-size: 0.9rem;
  transition: top 0.25s ease;
}
.skip-link:focus { top: 16px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 9px;
  font-weight: 600; font-size: 0.96rem; letter-spacing: -0.01em;
  padding: 15px 28px; border-radius: 100px;
  transition: transform 0.3s cubic-bezier(0.16,1,0.3,1), background 0.3s ease, box-shadow 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  cursor: pointer; border: 1px solid transparent;
  font-family: inherit;
}
.btn-primary { background: var(--primary); color: #fff; box-shadow: 0 12px 26px -12px rgba(31,122,100,0.7); }
.btn-primary:hover { transform: translateY(-3px); background: var(--primary-deep); box-shadow: 0 18px 34px -14px rgba(31,122,100,0.8); }
.btn-ghost { background: var(--surface); color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { transform: translateY(-3px); border-color: var(--primary); color: var(--primary); }
.btn-light { background: #fff; color: var(--primary-deep); }
.btn-light:hover { transform: translateY(-3px); background: var(--accent); color: #3a2708; }
.btn .ico { width: 17px; height: 17px; }

/* ---------- nav ---------- */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 32px; transition: background 0.35s ease, box-shadow 0.35s ease, padding 0.35s ease;
}
nav.scrolled { background: rgba(243, 247, 244, 0.92); backdrop-filter: blur(12px); box-shadow: var(--shadow-sm); padding: 12px 32px; }
.logo { display: flex; align-items: center; gap: 11px; font-weight: 800; font-size: 1.12rem; letter-spacing: -0.03em; color: var(--ink); }
.logo-mark {
  width: 38px; height: 38px; border-radius: 11px;
  background: linear-gradient(145deg, var(--primary), var(--primary-deep));
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-weight: 800; font-size: 1.05rem; box-shadow: var(--shadow-sm);
}
.nav-links { display: flex; gap: 32px; }
.nav-links a { font-size: 0.94rem; font-weight: 500; color: var(--ink-soft); transition: color 0.25s ease; }
.nav-links a:hover, .nav-links a.active { color: var(--primary); }
.nav-right { display: flex; align-items: center; gap: 18px; }
.nav-phone { font-weight: 600; font-size: 0.94rem; display: flex; align-items: center; gap: 7px; color: var(--ink); }

/* hamburger */
.nav-toggle {
  display: none; width: 44px; height: 44px; border: 1px solid var(--line);
  background: var(--surface); border-radius: 11px; cursor: pointer;
  align-items: center; justify-content: center; flex-direction: column; gap: 5px;
}
.nav-toggle span { width: 18px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform 0.3s ease, opacity 0.3s ease; }
body.menu-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
body.menu-open .nav-toggle span:nth-child(2) { opacity: 0; }
body.menu-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* mobile drawer */
.mobile-drawer {
  position: fixed; inset: 0 0 0 auto; width: min(86vw, 340px);
  background: var(--surface); z-index: 110; box-shadow: var(--shadow-lg);
  transform: translateX(100%); transition: transform 0.4s cubic-bezier(0.16,1,0.3,1);
  display: flex; flex-direction: column; padding: 96px 28px 32px;
}
body.menu-open .mobile-drawer { transform: translateX(0); }
.mobile-drawer a { font-size: 1.05rem; font-weight: 600; padding: 14px 0; border-bottom: 1px solid var(--line); color: var(--ink); }
.mobile-drawer .btn { margin-top: 22px; justify-content: center; }
.drawer-scrim {
  position: fixed; inset: 0; background: rgba(20,38,31,0.45); z-index: 105;
  opacity: 0; pointer-events: none; transition: opacity 0.35s ease;
}
body.menu-open .drawer-scrim { opacity: 1; pointer-events: auto; }

@media (max-width: 940px) {
  .nav-links, .nav-phone { display: none; }
  .nav-toggle { display: flex; }
  .nav-right .btn { display: none; }
}

/* ---------- generic section heading ---------- */
.head { max-width: 640px; margin-bottom: 56px; }
.head.center { margin-left: auto; margin-right: auto; text-align: center; }
.eyebrow { font-size: 0.82rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--primary); margin-bottom: 14px; }
.head h2 { font-size: clamp(2rem, 3.8vw, 2.95rem); }
.head p { margin-top: 16px; color: var(--ink-soft); font-size: 1.05rem; }

/* ---------- home hero ---------- */
.hero { padding: 168px 0 90px; position: relative; overflow: hidden; }
.hero::before {
  content: ''; position: absolute; top: -180px; right: -160px;
  width: 620px; height: 620px; border-radius: 50%;
  background: radial-gradient(circle, var(--mint) 0%, transparent 70%);
  z-index: 0;
}
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 60px; align-items: center; }

.pill {
  display: inline-flex; align-items: center; gap: 9px;
  background: var(--surface); border: 1px solid var(--line);
  padding: 8px 16px; border-radius: 100px; font-size: 0.82rem; font-weight: 600;
  box-shadow: var(--shadow-sm); margin-bottom: 26px;
}
.pill .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--primary); }
.hero h1 { font-size: clamp(2.5rem, 5.4vw, 4.15rem); }
.hero h1 .serif-em { color: var(--primary); }
.hero-sub { margin-top: 22px; font-size: 1.1rem; color: var(--ink-soft); max-width: 480px; }
.hero-actions { margin-top: 34px; display: flex; gap: 14px; flex-wrap: wrap; }
.hero-trust { margin-top: 38px; display: flex; gap: 30px; flex-wrap: wrap; align-items: center; }
.trust-item { display: flex; align-items: center; gap: 10px; }
.trust-item .stars { color: var(--accent); font-size: 0.95rem; letter-spacing: 2px; }
.trust-item .t-label { font-size: 0.84rem; color: var(--ink-soft); font-weight: 500; }
.trust-item .t-label strong { color: var(--ink); font-weight: 700; }

.hero-card {
  background: var(--surface); border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg); padding: 32px; position: relative;
}
.hero-card .ribbon {
  position: absolute; top: 24px; right: -8px;
  background: var(--accent); color: #3a2708; font-weight: 700; font-size: 0.78rem;
  padding: 7px 16px; border-radius: 8px 0 0 8px; box-shadow: var(--shadow-sm);
}
.hero-card h3 { font-size: 1.15rem; }
.hero-card .price { margin: 14px 0 4px; display: flex; align-items: baseline; gap: 10px; }
.hero-card .price .now { font-size: 3rem; font-weight: 800; letter-spacing: -0.04em; color: var(--primary); }
.hero-card .price .was { font-size: 1.2rem; color: var(--ink-soft); text-decoration: line-through; }
.hero-card .price .per { font-size: 0.9rem; color: var(--ink-soft); font-weight: 500; }
.hero-card .sub-note { font-size: 0.86rem; color: var(--ink-soft); }
.hero-card ul { list-style: none; margin: 22px 0; display: flex; flex-direction: column; gap: 12px; }
.hero-card li { display: flex; gap: 11px; font-size: 0.93rem; align-items: flex-start; }
.check {
  flex: none; width: 21px; height: 21px; border-radius: 50%;
  background: var(--mint); display: flex; align-items: center; justify-content: center;
}
.check svg { width: 12px; height: 12px; stroke: var(--primary); }
.hero-card .btn { width: 100%; justify-content: center; }

@media (max-width: 900px) { .hero-grid { grid-template-columns: 1fr; gap: 44px; } }

/* ---------- inner page hero ---------- */
.page-hero {
  padding: 160px 0 70px; position: relative; overflow: hidden; text-align: center;
}
.page-hero::before {
  content: ''; position: absolute; top: -200px; left: 50%; transform: translateX(-50%);
  width: 760px; height: 560px; border-radius: 50%;
  background: radial-gradient(circle, var(--mint) 0%, transparent 70%); z-index: 0;
}
.page-hero > .wrap { position: relative; z-index: 1; }
.breadcrumb { font-size: 0.86rem; color: var(--ink-soft); margin-bottom: 16px; }
.breadcrumb a:hover { color: var(--primary); }
.page-hero h1 { font-size: clamp(2.3rem, 5vw, 3.7rem); max-width: 760px; margin: 0 auto; }
.page-hero h1 .serif-em { color: var(--primary); }
.page-hero p { margin: 18px auto 0; max-width: 540px; color: var(--ink-soft); font-size: 1.08rem; }

/* ---------- logo strip ---------- */
.strip { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--surface); }
.strip-inner { display: flex; align-items: center; justify-content: space-between; padding: 28px 0; gap: 28px; flex-wrap: wrap; }
.strip-label { font-size: 0.8rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-soft); }
.strip-logos { display: flex; gap: 40px; flex-wrap: wrap; align-items: center; }
.strip-logos span { font-weight: 700; font-size: 1.1rem; color: var(--ink-soft); letter-spacing: -0.02em; opacity: 0.8; }

/* ---------- services grid ---------- */
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.svc {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r); padding: 30px;
  transition: transform 0.35s cubic-bezier(0.16,1,0.3,1), box-shadow 0.35s ease, border-color 0.35s ease;
  display: block; color: var(--ink);
}
.svc:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: transparent; }
.svc-ico {
  width: 52px; height: 52px; border-radius: 14px; background: var(--mint-soft);
  display: flex; align-items: center; justify-content: center; margin-bottom: 20px;
  transition: background 0.35s ease;
}
.svc:hover .svc-ico { background: var(--mint); }
.svc-ico svg { width: 25px; height: 25px; stroke: var(--primary); fill: none; stroke-width: 1.8; }
.svc h3 { font-size: 1.18rem; }
.svc p { margin-top: 9px; color: var(--ink-soft); font-size: 0.94rem; }
.svc .more {
  margin-top: 16px; font-size: 0.88rem; font-weight: 600; color: var(--primary);
  display: inline-flex; align-items: center; gap: 6px;
}
.svc .more svg { width: 14px; height: 14px; transition: transform 0.3s ease; }
.svc:hover .more svg { transform: translateX(4px); }
@media (max-width: 880px) { .svc-grid { grid-template-columns: 1fr; } }

/* ---------- why / stats ---------- */
.why { background: var(--primary-deep); color: #eaf3ef; }
/* lighter accent on the dark band so the eyebrow clears WCAG AA (4.5:1) */
.why .eyebrow { color: #f4c074; }
.why h2 { color: #fff; }
.why-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.why p { color: #b7ccc4; font-size: 1.04rem; }
.why .why-copy p + p { margin-top: 14px; }
.why .btn { margin-top: 26px; }
.stats-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.stat {
  background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--r); padding: 28px;
}
.stat .num { font-size: 2.7rem; font-weight: 800; letter-spacing: -0.04em; color: #fff; }
.stat .num .unit { color: var(--accent); }
.stat .lbl { margin-top: 4px; font-size: 0.9rem; color: #b7ccc4; }
@media (max-width: 880px) { .why-grid { grid-template-columns: 1fr; gap: 40px; } }

/* ---------- process steps ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.step { padding-top: 18px; }
.step .n {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--mint); color: var(--primary-deep);
  font-weight: 800; display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
}
.step h3 { font-size: 1.1rem; }
.step p { margin-top: 7px; color: var(--ink-soft); font-size: 0.93rem; }
@media (max-width: 880px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }

/* ---------- testimonial ---------- */
.quote-band { background: var(--mint-soft); }
.quote-card { max-width: 820px; margin: 0 auto; text-align: center; }
.quote-stars { color: var(--accent); font-size: 1.1rem; letter-spacing: 3px; margin-bottom: 22px; }
.quote-card blockquote {
  font-family: 'Fraunces', serif; font-style: italic; font-weight: 400;
  font-size: clamp(1.35rem, 2.8vw, 1.95rem); line-height: 1.4; color: var(--ink);
}
.quote-author { margin-top: 26px; display: flex; align-items: center; justify-content: center; gap: 13px; }
.quote-avatar {
  width: 46px; height: 46px; border-radius: 50%;
  background: linear-gradient(145deg, var(--primary), var(--primary-deep));
  color: #fff; font-weight: 700; display: flex; align-items: center; justify-content: center;
}
.quote-author .meta { text-align: left; }
.quote-author .meta strong { display: block; font-weight: 700; font-size: 0.96rem; }
.quote-author .meta span { font-size: 0.86rem; color: var(--ink-soft); }

/* ---------- CTA band ---------- */
.cta-band {
  background: linear-gradient(145deg, var(--primary), var(--primary-deep));
  border-radius: var(--r-lg); padding: 64px; text-align: center; color: #fff;
  position: relative; overflow: hidden;
}
.cta-band::before, .cta-band::after { content: ''; position: absolute; border-radius: 50%; background: rgba(255,255,255,0.07); }
.cta-band::before { width: 320px; height: 320px; top: -140px; left: -90px; }
.cta-band::after { width: 240px; height: 240px; bottom: -130px; right: -60px; }
.cta-band > * { position: relative; z-index: 1; }
.cta-band h2 { font-size: clamp(1.9rem, 3.6vw, 2.8rem); }
.cta-band p { margin-top: 14px; color: #d5e7e0; max-width: 480px; margin-left: auto; margin-right: auto; }
.cta-band .btn { margin-top: 30px; background: #fff; color: var(--primary-deep); }
.cta-band .btn:hover { background: var(--accent); color: #3a2708; }
@media (max-width: 560px) { .cta-band { padding: 48px 28px; } }

/* ---------- split (about story) ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split.reverse .split-visual { order: -1; }
.split-visual {
  border-radius: var(--r-lg); min-height: 380px; position: relative; overflow: hidden;
  background: linear-gradient(150deg, var(--mint) 0%, var(--mint-soft) 100%);
  border: 1px solid var(--line); display: flex; align-items: center; justify-content: center;
}
.split-visual .badge {
  background: var(--surface); border-radius: var(--r); box-shadow: var(--shadow-md);
  padding: 26px 30px; text-align: center;
}
.split-visual .badge .big { font-size: 3.2rem; font-weight: 800; color: var(--primary); letter-spacing: -0.04em; line-height: 1; }
.split-visual .badge .cap { font-size: 0.9rem; color: var(--ink-soft); margin-top: 6px; }
.split-text h2 { font-size: clamp(1.9rem, 3.6vw, 2.7rem); }
.split-text p { margin-top: 16px; color: var(--ink-soft); }
.split-text p + p { margin-top: 12px; }
@media (max-width: 880px) {
  .split { grid-template-columns: 1fr; gap: 36px; }
  .split.reverse .split-visual { order: 0; }
}

/* ---------- values grid ---------- */
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.value {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r); padding: 30px;
}
.value .v-ico {
  width: 50px; height: 50px; border-radius: 13px; background: var(--mint-soft);
  display: flex; align-items: center; justify-content: center; margin-bottom: 18px;
}
.value .v-ico svg { width: 24px; height: 24px; stroke: var(--primary); fill: none; stroke-width: 1.8; }
.value h3 { font-size: 1.12rem; }
.value p { margin-top: 8px; color: var(--ink-soft); font-size: 0.93rem; }
@media (max-width: 880px) { .values { grid-template-columns: 1fr; } }

/* ---------- service detail rows ---------- */
.svc-detail { display: flex; flex-direction: column; gap: 20px; }
.svc-row {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 38px; display: grid; grid-template-columns: 70px 1fr auto; gap: 26px; align-items: start;
}
.svc-row .r-ico {
  width: 70px; height: 70px; border-radius: 18px; background: var(--mint-soft);
  display: flex; align-items: center; justify-content: center;
}
.svc-row .r-ico svg { width: 32px; height: 32px; stroke: var(--primary); fill: none; stroke-width: 1.7; }
.svc-row h3 { font-size: 1.35rem; }
.svc-row p { margin-top: 10px; color: var(--ink-soft); }
.svc-row .r-list { list-style: none; margin-top: 14px; display: flex; flex-wrap: wrap; gap: 8px 18px; }
.svc-row .r-list li { font-size: 0.88rem; color: var(--ink-soft); display: flex; align-items: center; gap: 7px; }
.svc-row .r-list li::before {
  content: ''; width: 15px; height: 15px; border-radius: 50%; background: var(--mint);
  flex: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231f7a64' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E");
  background-size: 10px; background-repeat: no-repeat; background-position: center;
}
.svc-row .r-cta { align-self: center; }
@media (max-width: 760px) {
  .svc-row { grid-template-columns: 1fr; gap: 18px; padding: 30px; }
  .svc-row .r-cta { align-self: start; }
}

/* ---------- FAQ accordion ---------- */
.faq { max-width: 760px; margin: 0 auto; }
.faq details {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r);
  padding: 4px 24px; margin-bottom: 12px;
}
.faq summary {
  cursor: pointer; list-style: none; padding: 20px 0; font-weight: 600; font-size: 1.02rem;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: '+'; font-size: 1.5rem; color: var(--primary); font-weight: 400; line-height: 1;
  transition: transform 0.3s ease;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 0 22px; color: var(--ink-soft); font-size: 0.96rem; }

/* ---------- contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.contact-info { display: flex; flex-direction: column; gap: 16px; }
.info-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r);
  padding: 24px; display: flex; gap: 16px; align-items: flex-start;
}
.info-card .i-ico {
  width: 46px; height: 46px; border-radius: 12px; background: var(--mint-soft); flex: none;
  display: flex; align-items: center; justify-content: center;
}
.info-card .i-ico svg { width: 22px; height: 22px; stroke: var(--primary); fill: none; stroke-width: 1.8; }
.info-card .i-label { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.05em; color: var(--ink-soft); font-weight: 600; }
.info-card .i-val { font-weight: 600; font-size: 1rem; margin-top: 2px; }
.info-card .i-val a:hover { color: var(--primary); }
.info-card .i-note { font-size: 0.86rem; color: var(--ink-soft); margin-top: 3px; }

.form-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 38px; box-shadow: var(--shadow-md);
}
.form-card h3 { font-size: 1.3rem; }
.form-card .form-sub { color: var(--ink-soft); font-size: 0.94rem; margin-top: 6px; margin-bottom: 22px; }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: 0.88rem; font-weight: 600; margin-bottom: 6px; }
.field input, .field textarea, .field select {
  width: 100%; font-family: inherit; font-size: 0.96rem; color: var(--ink);
  padding: 13px 15px; border: 1px solid var(--line); border-radius: 12px;
  background: var(--bg); transition: border-color 0.25s ease, background 0.25s ease;
}
.field input:focus, .field textarea:focus, .field select:focus {
  border-color: var(--primary); background: var(--surface);
}
.field textarea { min-height: 120px; resize: vertical; }
.form-card .btn { width: 100%; justify-content: center; margin-top: 6px; }
.form-note { font-size: 0.82rem; color: var(--ink-soft); margin-top: 14px; text-align: center; }

.booking-embed {
  margin-top: 18px; border: 1px solid var(--line); border-radius: var(--r);
  overflow: hidden; background: var(--surface);
}
.booking-embed iframe { width: 100%; height: 640px; border: 0; display: block; }

.map-embed {
  margin-top: 48px; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden;
}
.map-embed iframe { width: 100%; height: 360px; border: 0; display: block; filter: grayscale(0.2); }

@media (max-width: 880px) { .contact-grid { grid-template-columns: 1fr; gap: 32px; } }

/* ---------- footer ---------- */
footer { background: var(--ink); color: #aebbb5; padding: 72px 0 32px; }
.foot-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.3fr; gap: 40px; }
.foot-brand .logo { color: #fff; margin-bottom: 16px; }
.foot-brand p { font-size: 0.92rem; max-width: 300px; }
.foot-social { display: flex; gap: 10px; margin-top: 18px; }
.foot-social a {
  width: 36px; height: 36px; border-radius: 9px; background: rgba(255,255,255,0.08);
  display: flex; align-items: center; justify-content: center; transition: background 0.25s ease;
}
.foot-social a:hover { background: var(--primary); }
.foot-social svg { width: 16px; height: 16px; fill: #cdd8d3; }
footer h4 { color: #fff; font-size: 0.92rem; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; margin-bottom: 16px; }
footer ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
footer ul a { font-size: 0.92rem; transition: color 0.25s ease; }
footer ul a:hover { color: #fff; }
.foot-contact div { margin-bottom: 14px; }
.foot-contact .ct-label { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.05em; color: #6f817a; }
.foot-contact .ct-val { font-size: 0.95rem; color: #e7edeb; }
.foot-bottom {
  margin-top: 56px; padding-top: 26px; border-top: 1px solid rgba(255,255,255,0.1);
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  font-size: 0.84rem; color: #6f817a;
}
@media (max-width: 820px) { .foot-grid { grid-template-columns: 1fr 1fr; gap: 32px; } }
@media (max-width: 500px) { .foot-grid { grid-template-columns: 1fr; } }

/* ---------- reveal animation ---------- */
.reveal {
  opacity: 0; transform: translateY(34px);
  transition: opacity 0.75s cubic-bezier(0.16,1,0.3,1), transform 0.75s cubic-bezier(0.16,1,0.3,1);
}
.reveal.is-visible { opacity: 1; transform: none; }

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

/* ---------- mobile overflow safety ---------- */
html { overflow-x: hidden; }

/* allow long emails, URLs and big numbers to wrap inside their cards */
.info-card .i-val,
.foot-contact .ct-val,
.svc-row .r-list li { overflow-wrap: anywhere; word-break: break-word; }

/* let grid cells shrink below their content's natural width so wide stats don't push the page wider than the viewport */
.stats-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.stat { min-width: 0; }
.stat .num { overflow-wrap: anywhere; }

.hero-card .price { flex-wrap: wrap; }

@media (max-width: 560px) {
  .stats-grid { grid-template-columns: 1fr; }
  .stat .num { font-size: 2.2rem; }
  .strip-logos { gap: 22px; }
  .strip-logos span { font-size: 1rem; }
  .cta-band { padding: 44px 24px; }
  .hero-card { padding: 28px; }
  .hero-card .price .now { font-size: 2.4rem; }
  .svc-row { padding: 26px; }
}
