/* Church Technology: site styles
   Plain CSS, no build step. Colours follow the logo (cyan, violet, magenta) on a light ground. */

:root {
  --ink: #0f1432;
  --ink-2: #3b4166;
  --muted: #5a6080;
  --line: #e1e4f0;
  --line-2: #eef0f6;
  --soft: #f5f6fb;
  --white: #ffffff;
  --violet: #5a3de6;
  --violet-ink: #4b32d6;
  --violet-dark: #3a24b8;
  --violet-tint: #eeeafe;
  --cyan: #0a7fa8;
  --cyan-ink: #086a8c;
  --cyan-tint: #e2f6fd;
  --magenta: #a21caf;
  --magenta-ink: #8b1896;
  --magenta-tint: #fbe7fc;
  --green: #0e8a5f;
  --green-tint: #e3f6ee;
  --navy-2: #1a2045;
  --on-dark: #c9ccE0;
  --on-dark-accent: #b9adff;
  --radius: 20px;
  --radius-sm: 12px;
  --shadow: 0 24px 48px -28px rgba(15, 20, 50, 0.3);
  --font-display: "Bricolage Grotesque", "Figtree", system-ui, sans-serif;
  --font-body: "Figtree", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --container: 1200px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; }
a { color: var(--violet-ink); }
a:hover { color: var(--violet-dark); }
h1, h2, h3 { margin: 0; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
figure { margin: 0; }
strong { font-weight: 700; }

:focus-visible { outline: 3px solid var(--violet); outline-offset: 3px; border-radius: 6px; }

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 200;
  padding: 10px 16px; border-radius: 10px; background: var(--ink); color: #fff; font-weight: 600;
  text-decoration: none; transition: top 0.2s;
}
.skip-link:focus { top: 12px; color: #fff; }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; margin: -1px; padding: 0; border: 0;
}

.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }

/* ---------- Type ---------- */

.display {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(38px, 5vw, 62px);
  line-height: 1.04;
  letter-spacing: -0.025em;
  text-wrap: balance;
}
.h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(30px, 3.6vw, 44px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  text-wrap: balance;
}
.h3 { font-family: var(--font-display); font-weight: 700; font-size: 24px; line-height: 1.2; }
.lead { font-size: clamp(18px, 1.6vw, 20px); color: var(--ink-2); max-width: 560px; }
.sub { font-size: 19px; color: var(--ink-2); }
.muted { color: var(--muted); }
.kicker { font-weight: 600; font-size: 15px; color: var(--violet-ink); letter-spacing: 0.02em; }

.pill {
  display: inline-flex; align-self: flex-start; align-items: center; gap: 8px;
  padding: 6px 12px; border-radius: 999px; font-weight: 600; font-size: 14px;
  background: var(--line-2); color: var(--ink-2);
}
.pill-violet { background: var(--violet-tint); color: var(--violet-ink); }
.pill-cyan { background: var(--cyan-tint); color: var(--cyan-ink); }
.pill-magenta { background: var(--magenta-tint); color: var(--magenta-ink); }

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 52px; padding: 0 26px; border-radius: var(--radius-sm);
  font: inherit; font-weight: 600; font-size: 17px; text-decoration: none; cursor: pointer;
  border: 1px solid transparent;
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease), background-color 0.2s, border-color 0.2s, color 0.2s;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-sm { min-height: 44px; padding: 0 20px; font-size: 16px; border-radius: 10px; }
.btn-primary { background: var(--violet); color: #fff; box-shadow: 0 10px 24px -12px rgba(90, 61, 230, 0.7); }
.btn-primary:hover { background: var(--violet-ink); color: #fff; box-shadow: 0 14px 28px -12px rgba(90, 61, 230, 0.8); }
.btn-secondary { background: #fff; border-color: #d5d8e8; color: var(--ink); }
.btn-secondary:hover { border-color: var(--violet); color: var(--violet-ink); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #222a5a; color: #fff; }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { color: var(--violet-ink); }
.btn-outline-dark { border-color: #4a5288; color: #fff; }
.btn-outline-dark:hover { border-color: var(--on-dark-accent); color: #fff; }
.btn[disabled] { opacity: 0.6; cursor: progress; transform: none; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 6px; min-height: 44px;
  font-weight: 600; text-decoration: none;
}
.link-arrow span { transition: transform 0.2s var(--ease); }
.link-arrow:hover span { transform: translateX(4px); }

/* ---------- Header ---------- */

.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(160%) blur(12px);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid #e6e8f2;
  transition: box-shadow 0.3s;
}
.site-header.is-scrolled { box-shadow: 0 8px 24px -18px rgba(15, 20, 50, 0.35); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 76px; }

.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); }
.brand:hover { color: var(--ink); }
.brand img { width: 44px; height: 44px; transition: transform 0.4s var(--ease); }
.brand:hover img { transform: rotate(-6deg) scale(1.06); }
.brand-name { font-family: var(--font-display); font-weight: 700; font-size: 20px; letter-spacing: -0.01em; }

.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  position: relative; padding: 10px 14px; border-radius: 8px;
  text-decoration: none; color: var(--ink-2); font-weight: 500;
  transition: color 0.2s, background-color 0.2s;
}
.nav a:hover { color: var(--ink); background: var(--soft); }
.nav a[aria-current="page"] { color: var(--ink); font-weight: 600; background: var(--line-2); }
.nav a.nav-phones[aria-current="page"] { background: var(--violet-tint); }
.nav a.nav-internet[aria-current="page"] { background: var(--cyan-tint); }
.nav a.nav-websites[aria-current="page"] { background: var(--magenta-tint); }

.header-cta { display: flex; align-items: center; gap: 12px; }
.header-phone { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--ink); text-decoration: none; padding: 8px 10px; border-radius: 8px; white-space: nowrap; transition: color 0.2s, background-color 0.2s; }
.header-phone:hover { color: var(--violet-ink); background: var(--soft); }
.header-phone svg { width: 18px; height: 18px; }
.call-strip .btn svg { width: 18px; height: 18px; margin-right: 8px; }
.mobile-bar .btn svg { margin-right: 6px; flex-shrink: 0; }

.menu-toggle {
  display: none; width: 44px; height: 44px; border-radius: 10px;
  border: 1px solid var(--line); background: #fff; cursor: pointer;
  align-items: center; justify-content: center; color: var(--ink);
}
.menu-toggle svg { width: 22px; height: 22px; }
.menu-toggle .icon-close { display: none; }
.menu-open .menu-toggle .icon-open { display: none; }
.menu-open .menu-toggle .icon-close { display: block; }

.mobile-nav { display: none; }

@media (max-width: 920px) {
  .nav, .header-cta .btn, .header-phone { display: none; }
  .menu-toggle { display: inline-flex; }
  .header-inner { min-height: 64px; }
  .brand img { width: 40px; height: 40px; }
  .brand-name { font-size: 18px; }
  .mobile-nav {
    display: block; overflow: hidden; max-height: 0;
    transition: max-height 0.35s var(--ease);
    border-top: 1px solid transparent;
  }
  .menu-open .mobile-nav { max-height: 520px; border-top-color: var(--line); }
  .mobile-nav ul { padding: 8px 16px 20px; display: flex; flex-direction: column; gap: 2px; }
  .mobile-nav a:not(.btn) {
    display: flex; align-items: center; min-height: 48px; padding: 0 8px;
    font-size: 18px; font-weight: 600; text-decoration: none; color: var(--ink);
    border-bottom: 1px solid var(--line-2);
  }
  .mobile-nav .btn { width: 100%; margin-top: 14px; }
}

/* ---------- Sections ---------- */

.section { padding: 96px 0; }
.section-tight { padding: 72px 0; }
.section-soft { background: var(--soft); }
.section-dark { background: var(--ink); color: #fff; }
.section-dark .sub, .section-dark .muted { color: var(--on-dark); }
.section-head { display: flex; flex-direction: column; gap: 12px; max-width: 700px; margin-bottom: 44px; }
.stack { display: flex; flex-direction: column; gap: 22px; }
.row-between { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

@media (max-width: 640px) {
  .section { padding: 64px 0; }
  .section-tight { padding: 52px 0; }
  .section-head { margin-bottom: 32px; }
  .container { padding: 0 16px; }
}

/* ---------- Grids ---------- */

.grid { display: grid; gap: 20px; }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 440px), 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); }
.split { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 460px), 1fr)); gap: 56px; align-items: center; }

/* ---------- Hero ---------- */

.hero { background: var(--soft); position: relative; overflow: hidden; }
.hero .container { position: relative; padding-top: 88px; padding-bottom: 96px; }
.hero::before {
  content: ""; position: absolute; inset: auto -10% -45% auto; width: 720px; height: 720px; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(95, 211, 245, 0.18), rgba(185, 173, 255, 0.12) 55%, transparent 72%);
  pointer-events: none;
}
.hero-page .container { padding-top: 72px; padding-bottom: 80px; }

.trust { display: flex; flex-wrap: wrap; gap: 10px 24px; color: var(--ink-2); font-size: 15px; font-weight: 500; }
.trust li { display: flex; align-items: center; gap: 8px; }
.trust svg { width: 18px; height: 18px; color: var(--green); flex-shrink: 0; }

.breadcrumb { font-size: 14px; color: var(--muted); margin-bottom: 18px; }
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: 6px; }
.breadcrumb li + li::before { content: "/"; margin-right: 6px; color: #9aa0bd; }
.breadcrumb a { color: var(--muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--violet-ink); }

/* Hero visual: three floating product moments */
.hero-visual { position: relative; min-height: 460px; }
.mock-browser {
  position: absolute; top: 0; left: 0; right: 40px;
  background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow); overflow: hidden;
}
.mock-bar { display: flex; align-items: center; gap: 6px; padding: 12px 14px; border-bottom: 1px solid var(--line-2); background: #fafbfd; }
.mock-bar i { width: 10px; height: 10px; border-radius: 50%; background: var(--line); }
.mock-url { margin-left: 12px; font-size: 12px; color: var(--muted); background: var(--line-2); padding: 3px 12px; border-radius: 6px; }
.mock-site { padding: 28px 28px 32px; display: flex; flex-direction: column; gap: 12px; background: #fdf7f0; }
.mock-site .m-kicker { font-family: var(--font-display); font-size: 13px; font-weight: 600; color: #8a5a2b; letter-spacing: 0.06em; }
.mock-site .m-title { font-family: var(--font-display); font-size: 30px; font-weight: 700; line-height: 1.1; color: #2a1a0c; }
.mock-site .m-meta { font-size: 14px; color: #5c4a38; }
.mock-site .m-btns { display: flex; gap: 8px; margin-top: 6px; }
.mock-site .m-btns span { font-size: 13px; font-weight: 600; padding: 8px 14px; border-radius: 8px; }
.m-btn-solid { background: #2a1a0c; color: #fff; }
.m-btn-line { border: 1px solid #cdb89f; color: #2a1a0c; }

.float-card {
  position: absolute; background: #fff; border: 1px solid var(--line); border-radius: 16px;
  box-shadow: 0 24px 48px -20px rgba(15, 20, 50, 0.32); padding: 18px;
}
.call-card { left: -8px; bottom: 28px; width: 296px; display: flex; gap: 14px; align-items: center; animation: float 7s ease-in-out infinite; }
.call-card .lines { display: flex; flex-direction: column; line-height: 1.35; }
.call-card .lines small { font-size: 12px; color: var(--muted); }
.call-card .lines strong { font-size: 15px; font-weight: 600; }
.net-card {
  right: 0; bottom: 0; width: 236px; background: var(--ink); color: #fff; border: 0;
  display: flex; flex-direction: column; gap: 10px; animation: float 8s ease-in-out -3s infinite;
}
.net-card .net-label { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--on-dark); }
.net-card .net-status { display: flex; align-items: center; gap: 8px; font-weight: 600; font-size: 18px; }
.net-card .net-note { font-size: 13px; color: var(--on-dark); }
.mock-browser { animation: float 9s ease-in-out -1.5s infinite; }

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.icon-tile {
  flex-shrink: 0; width: 52px; height: 52px; border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
}
.icon-tile svg { width: 26px; height: 26px; }
.icon-tile.sm { width: 44px; height: 44px; border-radius: 12px; }
.icon-tile.sm svg { width: 22px; height: 22px; }
.tile-violet { background: var(--violet-tint); color: var(--violet); }
.tile-cyan { background: var(--cyan-tint); color: var(--cyan); }
.tile-magenta { background: var(--magenta-tint); color: var(--magenta); }

.ringing { position: relative; }
.ringing::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit;
  border: 2px solid var(--violet); opacity: 0; animation: ring 2.4s ease-out infinite;
}
.ringing svg { animation: wiggle 2.4s ease-in-out infinite; transform-origin: 50% 50%; }
@keyframes ring {
  0% { transform: scale(1); opacity: 0.6; }
  70%, 100% { transform: scale(1.45); opacity: 0; }
}
@keyframes wiggle {
  0%, 40%, 100% { transform: rotate(0); }
  5%, 15%, 25% { transform: rotate(-12deg); }
  10%, 20%, 30% { transform: rotate(12deg); }
}

.dot { width: 9px; height: 9px; border-radius: 50%; background: #3ddc97; position: relative; flex-shrink: 0; }
.dot.live::after {
  content: ""; position: absolute; inset: -4px; border-radius: 50%; background: #3ddc97; opacity: 0.4;
  animation: pulse 2s ease-out infinite;
}
@keyframes pulse { 0% { transform: scale(0.6); opacity: 0.5; } 100% { transform: scale(1.8); opacity: 0; } }

.wifi path { animation: wave 2.4s ease-in-out infinite; }
.wifi path:nth-of-type(2) { animation-delay: 0.2s; }
.wifi path:nth-of-type(3) { animation-delay: 0.4s; }
@keyframes wave { 0%, 100% { opacity: 1; } 50% { opacity: 0.35; } }

@media (max-width: 640px) {
  .hero .container { padding-top: 48px; padding-bottom: 56px; }
  .hero-visual { min-height: 470px; }
  .mock-browser { right: 0; }
  .mock-site .m-title { font-size: 24px; }
  .call-card { width: 260px; left: 0; bottom: 104px; }
  .net-card { width: 200px; }
}

/* ---------- Cards ---------- */

.card { border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; background: #fff; display: flex; flex-direction: column; gap: 12px; }
.card-soft { border: 0; background: var(--soft); }
.card-white { border: 0; background: #fff; }
.card-dark { border: 0; background: var(--navy-2); color: #fff; }
.card-dark .muted { color: var(--on-dark); }
/* Light cards sitting inside a dark section keep dark text. */
.section-dark .card:not(.card-dark) { color: var(--ink); }
.section-dark .card:not(.card-dark) .muted { color: var(--muted); }
.card-title { font-weight: 700; font-size: 19px; line-height: 1.35; }
.card-hover { transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s; }
.card-hover:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: #d2d6ea; }

.service-card { padding: 32px; gap: 18px; }
.service-card .h3 { font-size: 28px; }
.price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px; }
.price .from, .price .per { font-size: 15px; color: var(--muted); }
.price .amount { font-family: var(--font-display); font-size: 44px; font-weight: 700; letter-spacing: -0.02em; line-height: 1.1; }
.service-card .checklist { padding-top: 18px; border-top: 1px solid var(--line-2); }
.service-card .link-arrow { margin-top: auto; }

.note-box { padding: 14px 16px; border-radius: var(--radius-sm); background: var(--soft); font-size: 15px; line-height: 1.5; color: var(--ink-2); }
.note-box strong { color: var(--ink); }

.checklist { display: flex; flex-direction: column; gap: 10px; font-size: 16px; }
.checklist li { display: flex; gap: 10px; }
.checklist svg { flex-shrink: 0; width: 18px; height: 18px; margin-top: 4px; }
.check-violet svg { color: var(--violet); }
.check-cyan svg { color: var(--cyan); }
.check-magenta svg { color: var(--magenta); }
.check-light svg { color: #5fd3f5; }
.checklist.lg { font-size: 18px; gap: 14px; }
.checklist.lg svg { width: 20px; height: 20px; }

.bundle-band { margin-top: 24px; padding: 28px 32px; border-radius: var(--radius); background: var(--soft); }
.bundle-band .h3 { font-size: 22px; }

/* ---------- Steps ---------- */

.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); gap: 20px; counter-reset: step; }
.step { padding: 28px; border-radius: var(--radius); background: var(--navy-2); display: flex; flex-direction: column; gap: 12px; }
.step-num {
  font-family: var(--font-display); font-weight: 700; font-size: 18px; width: 40px; height: 40px; border-radius: 50%;
  background: #fff; color: var(--ink); display: flex; align-items: center; justify-content: center;
}
.step-label { color: var(--on-dark-accent); font-weight: 700; }
.step .card-title { font-family: var(--font-display); font-size: 21px; }
.step p { color: var(--on-dark); }
.steps-light .step { background: #fff; border: 1px solid var(--line); }
.steps-light .step p { color: var(--ink-2); }
.steps-light .step-label { color: var(--magenta); }

/* ---------- Call flow (Phones) ---------- */

.flow { display: flex; flex-wrap: wrap; align-items: stretch; gap: 12px; }
.flow-step {
  flex: 1 1 200px; padding: 24px; border-radius: 18px; background: var(--soft);
  display: flex; flex-direction: column; gap: 8px; position: relative;
  transition: background-color 0.4s, box-shadow 0.4s, transform 0.4s var(--ease);
}
.flow-step .flow-kicker { font-size: 13px; font-weight: 700; color: var(--violet-ink); letter-spacing: 0.04em; text-transform: uppercase; }
.flow-step p { color: var(--ink-2); font-size: 15px; }
.flow-step.is-active { background: #fff; box-shadow: 0 0 0 2px var(--violet), var(--shadow); transform: translateY(-4px); }
.flow-arrow { display: flex; align-items: center; color: #9aa0bd; }
.flow-arrow svg { width: 28px; height: 28px; }
.flow-end { flex: 1 1 260px; background: var(--ink); color: #fff; gap: 12px; }
.flow-end .flow-kicker { color: var(--on-dark-accent); }
.flow-end.is-active { background: var(--ink); box-shadow: 0 0 0 2px var(--on-dark-accent), var(--shadow); }
.flow-out { display: flex; gap: 10px; align-items: flex-start; }
.flow-out i { width: 8px; height: 8px; border-radius: 50%; margin-top: 9px; flex-shrink: 0; }
@media (max-width: 900px) {
  .flow { flex-direction: column; }
  .flow-arrow { justify-content: center; transform: rotate(90deg); height: 28px; }
}

/* ---------- Example table ---------- */

.example-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; gap: 14px; box-shadow: var(--shadow); }
.example-card .row { display: flex; justify-content: space-between; gap: 12px; padding-bottom: 12px; border-bottom: 1px solid var(--line-2); }
.example-card .row span:last-child { color: var(--ink-2); }
.example-card .total { display: flex; justify-content: space-between; align-items: baseline; }
.big-num { font-family: var(--font-display); font-size: 32px; font-weight: 700; }

/* ---------- FAQ ---------- */

.faq { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 460px), 1fr)); gap: 16px; align-items: start; }
.faq details { background: #fff; border-radius: 16px; border: 1px solid transparent; transition: border-color 0.2s, box-shadow 0.3s; }
.faq details[open] { border-color: var(--line); box-shadow: 0 16px 32px -28px rgba(15, 20, 50, 0.4); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 22px 26px; font-weight: 700; font-size: 18px; line-height: 1.4; min-height: 44px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .plus { flex-shrink: 0; width: 28px; height: 28px; border-radius: 50%; background: var(--soft); position: relative; transition: transform 0.3s var(--ease), background-color 0.2s; }
.faq summary .plus::before, .faq summary .plus::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; background: var(--ink); border-radius: 2px; transform: translate(-50%, -50%); }
.faq summary .plus::after { transform: translate(-50%, -50%) rotate(90deg); transition: transform 0.3s var(--ease); }
.faq details[open] .plus { background: var(--violet-tint); }
.faq details[open] .plus::after { transform: translate(-50%, -50%) rotate(0deg); }
.faq .answer { padding: 0 26px 22px; color: var(--ink-2); }

/* ---------- Forms ---------- */

.form { display: flex; flex-direction: column; gap: 16px; }
.form-panel { padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--soft); }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label, .label { font-weight: 600; font-size: 15px; }
.field .hint { font-size: 14px; color: var(--muted); }
.input, .textarea {
  width: 100%; min-height: 50px; padding: 12px 14px; border-radius: 10px; border: 1px solid #c3c8de;
  font: inherit; color: var(--ink); background: #fff; transition: border-color 0.2s, box-shadow 0.2s;
}
.textarea { min-height: 110px; resize: vertical; }
.input:focus, .textarea:focus { outline: none; border-color: var(--violet); box-shadow: 0 0 0 4px rgba(90, 61, 230, 0.15); }
.input::placeholder, .textarea::placeholder { color: #8a90ab; }
.fields-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 14px 16px; }

.file-drop {
  display: flex; align-items: center; justify-content: center; gap: 10px; text-align: center;
  min-height: 76px; padding: 12px; border: 2px dashed #c3c8de; border-radius: var(--radius-sm); background: #fff;
  color: var(--ink-2); font-weight: 500; cursor: pointer; transition: border-color 0.2s, background-color 0.2s;
}
.file-drop:hover, .file-drop.is-dragover { border-color: var(--violet); background: var(--violet-tint); }
.file-drop svg { width: 20px; height: 20px; flex-shrink: 0; }
.file-input:focus-visible + .file-drop { outline: 3px solid var(--violet); outline-offset: 3px; }

.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

.captcha { min-height: 0; }
.form-status { font-size: 15px; min-height: 1.4em; }
.form-status.is-error { color: #b42318; font-weight: 600; }
.form-status.is-ok { color: var(--green); font-weight: 600; }

.success {
  display: none; flex-direction: column; align-items: flex-start; gap: 12px; padding: 28px;
  border-radius: var(--radius); background: var(--green-tint);
}
.success.is-visible { display: flex; animation: pop 0.5s var(--ease); }
.success .tick { width: 56px; height: 56px; border-radius: 50%; background: #fff; display: flex; align-items: center; justify-content: center; color: var(--green); }
.success .tick svg { width: 28px; height: 28px; }
@keyframes pop { from { opacity: 0; transform: scale(0.96); } to { opacity: 1; transform: scale(1); } }

/* ---------- Quote builder ---------- */

.quote-layout { display: flex; flex-wrap: wrap; gap: 32px; align-items: flex-start; }
.quote-main { flex: 999 1 560px; min-width: 0; display: flex; flex-direction: column; gap: 32px; }
.quote-aside {
  flex: 1 1 320px; min-width: 0; position: sticky; top: 100px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px;
  display: flex; flex-direction: column; gap: 16px; box-shadow: var(--shadow);
}
fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
legend { font-weight: 700; font-size: 20px; margin-bottom: 14px; padding: 0; }
.choice-list { display: flex; flex-direction: column; gap: 12px; }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.choice label {
  display: flex; align-items: center; gap: 16px; padding: 18px 20px; border-radius: 16px;
  background: #fff; border: 2px solid var(--line); cursor: pointer;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s var(--ease);
}
.choice label:hover { border-color: #c3c8de; }
.choice input:checked + label { border-color: var(--violet); box-shadow: 0 10px 24px -18px rgba(90, 61, 230, 0.8); }
.choice input:focus-visible + label { outline: 3px solid var(--violet); outline-offset: 3px; }
.choice .c-text { flex: 1; display: flex; flex-direction: column; line-height: 1.4; }
.choice .c-name { font-weight: 700; font-size: 19px; }
.choice .c-blurb { color: var(--ink-2); font-size: 15px; }
.choice .c-price { font-weight: 600; font-size: 15px; color: var(--ink-2); white-space: nowrap; }
.choice .c-check {
  flex-shrink: 0; width: 26px; height: 26px; border-radius: 8px; border: 2px solid #c3c8de; background: #fff;
  display: flex; align-items: center; justify-content: center; color: #fff; transition: background-color 0.2s, border-color 0.2s;
}
.choice .c-check svg { width: 16px; height: 16px; opacity: 0; transform: scale(0.5); transition: opacity 0.2s, transform 0.25s var(--ease); }
.choice input:checked + label .c-check { background: var(--violet); border-color: var(--violet); }
.choice input:checked + label .c-check svg { opacity: 1; transform: scale(1); }
@media (max-width: 520px) {
  .choice label { flex-wrap: wrap; }
  .choice .c-text { flex-basis: calc(100% - 140px); }
  .choice .c-price { order: 5; width: 100%; padding-left: 64px; }
}

.stepper-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 24px; border-radius: 16px; background: #fff; border: 1px solid var(--line); }
.stepper-row[hidden] { display: none; }
.stepper { display: flex; align-items: center; gap: 8px; }
.stepper button {
  width: 44px; height: 44px; border-radius: 10px; border: 1px solid #c3c8de; background: #fff;
  font: inherit; font-size: 22px; line-height: 1; cursor: pointer; color: var(--ink);
}
.stepper button:hover { border-color: var(--violet); color: var(--violet-ink); }
.stepper output, .stepper input {
  width: 56px; text-align: center; font-family: var(--font-display); font-weight: 700; font-size: 24px;
  border: 0; background: transparent; color: var(--ink); -moz-appearance: textfield;
}
.stepper input::-webkit-outer-spin-button, .stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

.estimate-rows { display: flex; flex-direction: column; gap: 12px; }
.estimate-rows li { display: flex; justify-content: space-between; gap: 12px; padding-bottom: 12px; border-bottom: 1px solid var(--line-2); animation: slideIn 0.35s var(--ease); }
.estimate-rows li span:last-child { font-weight: 600; white-space: nowrap; }
@keyframes slideIn { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
.estimate-total { font-family: var(--font-display); font-weight: 700; font-size: 48px; line-height: 1; letter-spacing: -0.02em; }
.estimate-total.bump { animation: bump 0.4s var(--ease); }
@keyframes bump { 40% { transform: scale(1.06); color: var(--violet); } }
.small { font-size: 14px; color: var(--muted); }

/* ---------- Address check (Internet) ---------- */

.check-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; gap: 14px; box-shadow: var(--shadow); }
.inline-form { display: flex; flex-wrap: wrap; gap: 10px; }
.inline-form .input { flex: 1 1 240px; }

/* ---------- Website styles ---------- */

.style-thumb { border-radius: 14px; overflow: hidden; border: 1px solid var(--line); background: #fff; transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease); }
figure:hover .style-thumb { transform: translateY(-6px) rotate(-0.6deg); box-shadow: var(--shadow); }
.style-hero { padding: 36px 22px; display: flex; flex-direction: column; gap: 8px; }
.style-hero b { font-size: 24px; line-height: 1.15; }
.style-hero span { font-size: 12px; }
.style-body { height: 72px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; padding: 14px; }
.style-body i { border-radius: 6px; background: var(--line-2); }
.style-garden { background: #e9efe4; } .style-garden b { font-family: "Fraunces", Georgia, serif; color: #1f2a1c; } .style-garden span { color: #3f4d3b; }
.style-city { background: #14213d; } .style-city b { font-family: var(--font-display); color: #fff; } .style-city span { color: #c7cee0; }
.style-hearth { background: #fff4e6; } .style-hearth b { color: #7a3e00; } .style-hearth span { color: #8c5a2b; }
figcaption { margin-top: 12px; }

/* ---------- About ---------- */

.partner-slot { min-height: 110px; border-radius: 16px; border: 1px dashed #c3c8de; display: flex; align-items: center; justify-content: center; color: var(--muted); font-weight: 600; text-align: center; padding: 16px; }

/* ---------- CTA ---------- */

.cta-center { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 20px; }
.cta-center img { width: 88px; height: 88px; }
.cta-center .sub { max-width: 560px; }

/* ---------- Footer ---------- */

.site-footer { background: var(--ink); color: var(--on-dark); font-size: 15px; }
.site-footer .container { padding-top: 56px; padding-bottom: 32px; display: flex; flex-direction: column; gap: 32px; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: 32px; }
.footer-col { display: flex; flex-direction: column; gap: 8px; }
.footer-col h2 { font-family: var(--font-body); font-size: 15px; font-weight: 600; color: #fff; margin-bottom: 4px; }
.site-footer a { color: var(--on-dark); text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-brand { display: flex; align-items: center; gap: 10px; color: #fff; font-family: var(--font-display); font-weight: 700; font-size: 18px; }
.footer-brand img { width: 36px; height: 36px; }
.footer-bottom { padding-top: 24px; border-top: 1px solid #2a3060; font-size: 14px; }

/* Phone-only sticky action bar */
.mobile-bar { display: none; }
@media (max-width: 640px) {
  .mobile-bar {
    display: flex; gap: 10px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: rgba(255, 255, 255, 0.96);
    border-top: 1px solid var(--line); box-shadow: 0 -12px 24px -16px rgba(15, 20, 50, 0.25);
    transform: translateY(110%); transition: transform 0.35s var(--ease);
  }
  .mobile-bar.is-visible { transform: none; }
  .mobile-bar .btn { flex: 1; }
  .site-footer .container { padding-bottom: 96px; }
}

/* ---------- Scroll reveal ----------
   Content is visible by default. The hidden start state only applies once JS has added .js
   to <html>, so crawlers, no-JS visitors and reduced-motion users always see everything. */

.js [data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
  transition-delay: calc(var(--d, 0) * 90ms);
}
.js [data-reveal="left"] { transform: translateX(-28px); }
.js [data-reveal="right"] { transform: translateX(28px); }
.js [data-reveal="scale"] { transform: scale(0.96); }
.js [data-reveal].is-in { opacity: 1; transform: none; }

.hero-anim > * { animation: heroIn 0.9s var(--ease) both; }
.hero-anim > *:nth-child(2) { animation-delay: 0.08s; }
.hero-anim > *:nth-child(3) { animation-delay: 0.16s; }
.hero-anim > *:nth-child(4) { animation-delay: 0.24s; }
.hero-anim > *:nth-child(5) { animation-delay: 0.32s; }
.hero-anim > *:nth-child(6) { animation-delay: 0.4s; }
@keyframes heroIn { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

.hero-visual-anim { animation: visualIn 1.1s var(--ease) 0.2s both; }
@keyframes visualIn { from { opacity: 0; transform: translateY(30px) scale(0.98); } to { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important; animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important; scroll-behavior: auto !important;
  }
  .js [data-reveal] { opacity: 1; transform: none; }
}
