/* ============ Tokens ============ */
:root {
  --navy: #16385e;
  --navy-deep: #0e2440;
  --teal: #2bb8b3;
  --teal-soft: #e4f6f5;
  --ink: #1c2b3a;
  --muted: #5d6b7a;
  --line: #e6eaef;
  --bg: #ffffff;
  --bg-soft: #f6f8fa;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(14, 36, 64, 0.08);
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-display: "Ibarra Real Nova", Georgia, "Times New Roman", serif;
  --font-mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

[hidden] { display: none !important; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

/* ============ Scroll reveal ============ */
.reveal { opacity: 0; }
.reveal.in { animation: rise 0.8s cubic-bezier(0.22, 0.61, 0.36, 1) forwards; }
.reveal.done { animation: none; opacity: 1; }
@keyframes rise {
  from { opacity: 0; transform: translateY(28px); }
  to { opacity: 1; transform: none; }
}

/* ============ Buttons ============ */
.btn {
  display: inline-block;
  border: none;
  cursor: pointer;
  font: inherit;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.8rem 1.6rem;
  border-radius: 999px;
  text-decoration: none;
  text-align: center;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-primary { background: var(--navy); color: #fff; }
.btn-primary:hover { background: var(--navy-deep); box-shadow: var(--shadow); }
.btn-teal { background: var(--teal); color: #fff; }
.btn-teal:hover { background: #239e9a; }
.btn-ghost { background: transparent; color: var(--navy); box-shadow: inset 0 0 0 1.5px var(--line); }
.btn-ghost:hover { box-shadow: inset 0 0 0 1.5px var(--navy); }
.btn-sm { padding: 0.55rem 1.15rem; font-size: 0.85rem; }
.btn-block { width: 100%; }

/* ============ Header ============ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem clamp(1.25rem, 5vw, 4rem);
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.brand { display: flex; align-items: center; gap: 0.6rem; text-decoration: none; }
.brand-mark { height: 32px; width: auto; }
.brand-name { font-size: 1.15rem; font-weight: 400; color: var(--navy); letter-spacing: -0.01em; }
.brand-name strong { font-weight: 700; }

.site-nav { display: flex; align-items: center; gap: clamp(0.75rem, 2.5vw, 1.75rem); }
.site-nav a {
  color: var(--muted);
  text-decoration: none;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.site-nav a:hover { color: var(--navy); }

.lang-toggle {
  font: inherit;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--navy);
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0.35rem 0.65rem;
  cursor: pointer;
  letter-spacing: 0.04em;
}
.lang-toggle:hover { border-color: var(--teal); color: var(--teal); }

/* ============ Hero ============ */
.hero {
  max-width: 1100px;
  margin: 0 auto;
  padding: clamp(4.5rem, 13vh, 9rem) clamp(1.25rem, 5vw, 4rem) clamp(3rem, 8vh, 5rem);
}
.hero-eyebrow {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 2rem;
}
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6.5vw, 4.6rem);
  line-height: 1.08;
  font-weight: 600;
  color: var(--navy);
  letter-spacing: -0.01em;
  max-width: 18ch;
  margin-bottom: 1.75rem;
}
.hero-title em {
  font-style: italic;
  color: var(--teal);
}
.hero-title .w { display: inline-block; white-space: nowrap; }
.hero-title .ch {
  display: inline-block;
  opacity: 0;
  transform: translateY(0.65em);
  animation: chIn 0.7s cubic-bezier(0.22, 0.61, 0.36, 1) forwards;
}
@keyframes chIn { to { opacity: 1; transform: none; } }
.hero-sub {
  font-size: clamp(1rem, 2vw, 1.15rem);
  color: var(--muted);
  max-width: 480px;
  margin-bottom: 2.5rem;
}
.hero-actions { display: flex; gap: 0.9rem; flex-wrap: wrap; }

.scroll-hint {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 0.7rem;
  margin-top: clamp(3rem, 8vh, 5.5rem);
}
.scroll-hint span {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
}
.scroll-hint i {
  position: relative;
  width: 1px;
  height: 48px;
  background: var(--line);
  overflow: hidden;
}
.scroll-hint i::after {
  content: "";
  position: absolute;
  top: -45%;
  left: 0;
  width: 100%;
  height: 45%;
  background: var(--teal);
  animation: scrollLine 1.9s ease-in-out infinite;
}
@keyframes scrollLine { to { top: 115%; } }

/* ============ Sections ============ */
.section-head {
  max-width: 1100px;
  margin: 0 auto;
}
.section-meta {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  border-top: 1px solid var(--line);
  padding-top: 1rem;
  margin-bottom: clamp(1.75rem, 4vh, 2.75rem);
}
.section-label, .section-index {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 4.5vw, 3rem);
  font-weight: 600;
  color: var(--navy);
  letter-spacing: -0.01em;
}
.section-sub {
  color: var(--muted);
  font-size: 0.95rem;
  margin-top: 0.6rem;
}

/* ============ Services grid ============ */
.services { padding: clamp(3rem, 8vh, 5.5rem) clamp(1.25rem, 5vw, 4rem); background: var(--bg-soft); }

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.25rem;
  max-width: 1100px;
  margin: 0 auto;
}

.service-card {
  position: relative;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 1.75rem;
  min-height: 265px;
  overflow: hidden;
  transition: box-shadow 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
  cursor: default;
  outline: none;
}
.service-card:hover, .service-card:focus-visible, .service-card.active {
  border-color: var(--teal);
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}

.card-front { transition: opacity 0.25s ease; }
.card-icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: var(--teal-soft);
  color: var(--teal);
  display: grid;
  place-items: center;
  margin-bottom: 1.1rem;
}
.card-icon svg { width: 24px; height: 24px; }
.card-front h3 { font-family: var(--font-display); font-size: 1.3rem; font-weight: 600; color: var(--navy); margin-bottom: 0.4rem; }
.card-front p { font-size: 0.92rem; color: var(--muted); }

/* Preview layer */
.card-preview {
  position: absolute;
  inset: 0;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: var(--bg);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}
.service-card:hover .card-preview,
.service-card:focus-visible .card-preview,
.service-card.active .card-preview {
  opacity: 1;
  visibility: visible;
}
.service-card:hover .card-front,
.service-card:focus-visible .card-front,
.service-card.active .card-front { opacity: 0; }

.preview-cta { align-self: center; margin-top: 0.75rem; }

/* --- Chatbot preview --- */
.preview-chat { display: flex; flex-direction: column; gap: 0.5rem; }
.chat-bubble {
  max-width: 85%;
  padding: 0.5rem 0.8rem;
  border-radius: 12px;
  font-size: 0.82rem;
  opacity: 0;
  transform: translateY(8px);
}
.chat-bubble.bot { background: var(--bg-soft); color: var(--ink); border-bottom-left-radius: 4px; align-self: flex-start; }
.chat-bubble.user { background: var(--navy); color: #fff; border-bottom-right-radius: 4px; align-self: flex-end; }
.service-card:hover .chat-bubble, .service-card.active .chat-bubble, .service-card:focus-visible .chat-bubble {
  animation: bubbleIn 0.4s ease forwards;
}
.service-card:hover .chat-bubble:nth-child(1), .service-card.active .chat-bubble:nth-child(1), .service-card:focus-visible .chat-bubble:nth-child(1) { animation-delay: 0.2s; }
.service-card:hover .chat-bubble:nth-child(2), .service-card.active .chat-bubble:nth-child(2), .service-card:focus-visible .chat-bubble:nth-child(2) { animation-delay: 1s; }
.service-card:hover .chat-bubble:nth-child(3), .service-card.active .chat-bubble:nth-child(3), .service-card:focus-visible .chat-bubble:nth-child(3) { animation-delay: 2s; }
@keyframes bubbleIn { to { opacity: 1; transform: translateY(0); } }

.chat-typing { display: flex; gap: 3px; padding: 0.25rem 0; }
.chat-typing span {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--teal);
  animation: typingDot 1s infinite ease-in-out;
}
.chat-typing span:nth-child(2) { animation-delay: 0.15s; }
.chat-typing span:nth-child(3) { animation-delay: 0.3s; }
@keyframes typingDot { 0%, 60%, 100% { opacity: 0.3; transform: translateY(0); } 30% { opacity: 1; transform: translateY(-3px); } }

/* --- Automation preview --- */
.preview-tasks { display: flex; flex-direction: column; gap: 0.9rem; padding-top: 0.5rem; }
.task-row { display: flex; align-items: center; gap: 0.6rem; font-size: 0.82rem; color: var(--ink); }
.task-check {
  width: 20px; height: 20px; flex-shrink: 0;
  border-radius: 50%;
  background: var(--teal);
  color: #fff;
  font-size: 0.7rem;
  display: grid; place-items: center;
  opacity: 0;
  transform: scale(0.4);
}
.task-label { flex: 1; }
.task-bar { width: 52px; height: 5px; border-radius: 4px; background: var(--line); overflow: hidden; flex-shrink: 0; }
.task-bar i { display: block; height: 100%; width: 0; background: var(--teal); border-radius: 4px; }
.service-card:hover .task-bar i, .service-card.active .task-bar i, .service-card:focus-visible .task-bar i { animation: barFill 0.9s ease forwards; }
.service-card:hover .task-check, .service-card.active .task-check, .service-card:focus-visible .task-check { animation: checkPop 0.35s ease forwards; }
.service-card:hover .task-row:nth-child(1) .task-bar i { animation-delay: 0.2s; } .service-card:hover .task-row:nth-child(1) .task-check { animation-delay: 1s; }
.service-card:hover .task-row:nth-child(2) .task-bar i { animation-delay: 0.7s; } .service-card:hover .task-row:nth-child(2) .task-check { animation-delay: 1.5s; }
.service-card:hover .task-row:nth-child(3) .task-bar i { animation-delay: 1.2s; } .service-card:hover .task-row:nth-child(3) .task-check { animation-delay: 2s; }
.service-card.active .task-row:nth-child(1) .task-bar i, .service-card:focus-visible .task-row:nth-child(1) .task-bar i { animation-delay: 0.2s; }
.service-card.active .task-row:nth-child(1) .task-check, .service-card:focus-visible .task-row:nth-child(1) .task-check { animation-delay: 1s; }
.service-card.active .task-row:nth-child(2) .task-bar i, .service-card:focus-visible .task-row:nth-child(2) .task-bar i { animation-delay: 0.7s; }
.service-card.active .task-row:nth-child(2) .task-check, .service-card:focus-visible .task-row:nth-child(2) .task-check { animation-delay: 1.5s; }
.service-card.active .task-row:nth-child(3) .task-bar i, .service-card:focus-visible .task-row:nth-child(3) .task-bar i { animation-delay: 1.2s; }
.service-card.active .task-row:nth-child(3) .task-check, .service-card:focus-visible .task-row:nth-child(3) .task-check { animation-delay: 2s; }
@keyframes barFill { to { width: 100%; } }
@keyframes checkPop { to { opacity: 1; transform: scale(1); } }

/* --- Website preview --- */
.preview-browser {
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
  background: var(--bg);
}
.browser-bar { display: flex; gap: 5px; padding: 8px 10px; background: var(--bg-soft); border-bottom: 1px solid var(--line); }
.browser-bar i { width: 8px; height: 8px; border-radius: 50%; background: var(--line); }
.browser-body { padding: 12px; }
.sk { background: var(--teal-soft); border-radius: 5px; opacity: 0; transform: translateY(6px); }
.sk-hero { height: 34px; margin-bottom: 8px; background: linear-gradient(120deg, var(--teal-soft), #d3edf6); }
.sk-line { height: 8px; margin-bottom: 6px; }
.sk-line.w70 { width: 70%; } .sk-line.w45 { width: 45%; }
.sk-cols { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 6px; margin-top: 8px; }
.sk-cols .sk { height: 26px; }
.service-card:hover .sk, .service-card.active .sk, .service-card:focus-visible .sk { animation: bubbleIn 0.5s ease forwards; }
.service-card:hover .sk:nth-of-type(1), .service-card.active .sk:nth-of-type(1), .service-card:focus-visible .sk:nth-of-type(1) { animation-delay: 0.15s; }
.service-card:hover .sk-line.w70, .service-card.active .sk-line.w70, .service-card:focus-visible .sk-line.w70 { animation-delay: 0.45s; }
.service-card:hover .sk-line.w45, .service-card.active .sk-line.w45, .service-card:focus-visible .sk-line.w45 { animation-delay: 0.65s; }
.service-card:hover .sk-cols .sk:nth-child(1), .service-card.active .sk-cols .sk:nth-child(1), .service-card:focus-visible .sk-cols .sk:nth-child(1) { animation-delay: 0.9s; }
.service-card:hover .sk-cols .sk:nth-child(2), .service-card.active .sk-cols .sk:nth-child(2), .service-card:focus-visible .sk-cols .sk:nth-child(2) { animation-delay: 1.05s; }
.service-card:hover .sk-cols .sk:nth-child(3), .service-card.active .sk-cols .sk:nth-child(3), .service-card:focus-visible .sk-cols .sk:nth-child(3) { animation-delay: 1.2s; }

/* --- Store preview --- */
.preview-checkout { display: flex; flex-direction: column; gap: 0.85rem; padding-top: 0.4rem; }
.checkout-step { display: flex; align-items: center; gap: 0.6rem; font-size: 0.85rem; color: var(--muted); opacity: 0; transform: translateX(-8px); }
.step-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--teal); flex-shrink: 0; }
.service-card:hover .checkout-step, .service-card.active .checkout-step, .service-card:focus-visible .checkout-step { animation: stepIn 0.4s ease forwards; }
.service-card:hover .checkout-step:nth-child(1), .service-card.active .checkout-step:nth-child(1), .service-card:focus-visible .checkout-step:nth-child(1) { animation-delay: 0.2s; }
.service-card:hover .checkout-step:nth-child(2), .service-card.active .checkout-step:nth-child(2), .service-card:focus-visible .checkout-step:nth-child(2) { animation-delay: 0.9s; }
.service-card:hover .checkout-step:nth-child(3), .service-card.active .checkout-step:nth-child(3), .service-card:focus-visible .checkout-step:nth-child(3) { animation-delay: 1.6s; }
@keyframes stepIn { to { opacity: 1; transform: translateX(0); color: var(--ink); } }
.checkout-progress { height: 6px; border-radius: 4px; background: var(--line); overflow: hidden; margin-top: 0.2rem; }
.checkout-progress i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--teal), var(--navy)); border-radius: 4px; }
.service-card:hover .checkout-progress i, .service-card.active .checkout-progress i, .service-card:focus-visible .checkout-progress i { animation: barFill 2s ease 0.2s forwards; }

/* --- Mobile preview --- */
.preview-phone { display: flex; justify-content: center; }
.phone-frame {
  width: 92px; height: 150px;
  border: 2.5px solid var(--navy);
  border-radius: 16px;
  overflow: hidden;
  background: var(--bg);
}
.phone-screens { display: flex; width: 200%; height: 100%; }
.service-card:hover .phone-screens, .service-card.active .phone-screens, .service-card:focus-visible .phone-screens {
  animation: screenSlide 3.5s ease-in-out infinite;
}
@keyframes screenSlide {
  0%, 38% { transform: translateX(0); }
  50%, 88% { transform: translateX(-50%); }
  100% { transform: translateX(0); }
}
.phone-screen { width: 50%; height: 100%; padding: 12px 10px; display: flex; flex-direction: column; align-items: center; gap: 7px; }
.phone-screen.s2 { background: var(--teal-soft); justify-content: center; }
.ps-block { width: 100%; height: 38px; border-radius: 7px; background: var(--teal-soft); }
.ps-line { height: 6px; border-radius: 4px; background: var(--line); }
.ps-line.w60 { width: 60%; } .ps-line.w50 { width: 50%; } .ps-line.w40 { width: 40%; }
.ps-circle { width: 30px; height: 30px; border-radius: 50%; background: var(--teal); }
.ps-btn { width: 70%; height: 16px; border-radius: 8px; background: var(--navy); }

/* --- CTA card --- */
.card-cta {
  background: var(--navy);
  border-color: var(--navy);
  display: flex;
  align-items: center;
}
.card-cta .card-front { text-align: center; width: 100%; }
.card-cta h3 { font-family: var(--font-display); color: #fff; font-size: 1.4rem; font-weight: 600; margin-bottom: 0.4rem; }
.card-cta p { color: rgba(255, 255, 255, 0.75); margin-bottom: 1.2rem; }
.card-cta .btn-primary { background: var(--teal); }
.card-cta .btn-primary:hover { background: #239e9a; }
.card-cta:hover .card-front { opacity: 1; }

/* ============ Process ============ */
.process { padding: clamp(4rem, 10vh, 7rem) clamp(1.25rem, 5vw, 4rem); }
.process-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2.5rem;
  max-width: 1100px;
  margin: 0 auto;
}
.process-step {
  border-top: 1px solid var(--line);
  padding-top: 1.25rem;
}
.process-num {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--teal);
  letter-spacing: 0.18em;
}
.process-step h3 {
  font-family: var(--font-display);
  color: var(--navy);
  font-size: 1.35rem;
  font-weight: 600;
  margin: 0.7rem 0 0.4rem;
}
.process-step p { font-size: 0.92rem; color: var(--muted); }

/* ============ Bottom CTA ============ */
.bottom-cta {
  text-align: center;
  padding: clamp(4.5rem, 11vh, 8rem) 1.5rem;
  background: linear-gradient(180deg, var(--bg-soft), var(--bg));
}
.bottom-cta .section-label { display: block; margin-bottom: 1.5rem; }
.bottom-cta h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.4rem);
  font-weight: 600;
  color: var(--navy);
  letter-spacing: -0.01em;
  max-width: 22ch;
  margin: 0 auto 0.9rem;
}
.bottom-cta-sub { color: var(--muted); margin-bottom: 2rem; }

/* ============ Footer ============ */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 3rem clamp(1.25rem, 5vw, 4rem) 1.5rem;
  font-size: 0.88rem;
  color: var(--muted);
  overflow: hidden;
}
.footer-top {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  align-items: flex-start;
  justify-content: space-between;
}
.site-footer .brand-name { font-size: 1.05rem; }
.footer-brand p { margin-top: 0.25rem; }
.footer-meta {
  text-align: right;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  line-height: 1.7;
}
.footer-meta p + p { margin-top: 0.6rem; }
.footer-meta a { color: var(--teal); text-decoration: none; }
.footer-meta a:hover { text-decoration: underline; }
.footer-word {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(3.4rem, 13.5vw, 11.5rem);
  line-height: 0.95;
  letter-spacing: -0.02em;
  color: var(--bg-soft);
  -webkit-text-stroke: 1px var(--line);
  text-align: center;
  margin: clamp(1.5rem, 5vh, 3rem) 0 1rem;
  user-select: none;
  white-space: nowrap;
}
.footer-copy {
  text-align: center;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
}

/* ============ Quote modal ============ */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(14, 36, 64, 0.45);
  backdrop-filter: blur(4px);
  display: grid;
  place-items: center;
  padding: 1.25rem;
}
.modal-overlay[hidden] { display: none; }

.modal {
  position: relative;
  width: 100%;
  max-width: 480px;
  background: var(--bg);
  border-radius: 18px;
  padding: 2.25rem 2rem 1.5rem;
  box-shadow: 0 24px 60px rgba(14, 36, 64, 0.25);
  animation: modalIn 0.3s ease;
  max-height: 90vh;
  overflow-y: auto;
}
@keyframes modalIn { from { opacity: 0; transform: translateY(14px) scale(0.98); } }

.modal-close {
  position: absolute;
  top: 0.9rem; right: 1rem;
  font-size: 1.5rem;
  line-height: 1;
  border: none;
  background: none;
  color: var(--muted);
  cursor: pointer;
  padding: 0.25rem;
}
.modal-close:hover { color: var(--navy); }

.modal-progress {
  height: 4px;
  border-radius: 4px;
  background: var(--line);
  overflow: hidden;
  margin-bottom: 1.75rem;
}
.modal-progress i {
  display: block;
  height: 100%;
  width: 0;
  background: var(--teal);
  border-radius: 4px;
  transition: width 0.35s ease;
}

.quote-step h3 { font-family: var(--font-display); color: var(--navy); font-size: 1.45rem; font-weight: 600; margin-bottom: 1.25rem; }

.option-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0.7rem; }
.option {
  font: inherit;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--ink);
  background: var(--bg);
  border: 1.5px solid var(--line);
  border-radius: 12px;
  padding: 0.9rem 0.75rem;
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease, color 0.15s ease;
  text-align: center;
}
.option:hover { border-color: var(--teal); }
.option.selected { border-color: var(--teal); background: var(--teal-soft); color: var(--navy); font-weight: 600; }

/* Contact form */
#quoteForm { display: flex; flex-direction: column; gap: 0.9rem; }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
#quoteForm label { display: flex; flex-direction: column; gap: 0.3rem; font-size: 0.85rem; font-weight: 600; color: var(--navy); }
#quoteForm input, #quoteForm textarea {
  font: inherit;
  font-size: 0.92rem;
  padding: 0.65rem 0.8rem;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  color: var(--ink);
  resize: vertical;
}
#quoteForm input:focus, #quoteForm textarea:focus { outline: none; border-color: var(--teal); }
#quoteForm input.invalid { border-color: #d9534f; }

/* Done step */
.quote-done { text-align: center; }
.done-check {
  width: 56px; height: 56px;
  margin: 0 auto 1rem;
  border-radius: 50%;
  background: var(--teal);
  color: #fff;
  font-size: 1.6rem;
  display: grid;
  place-items: center;
  animation: checkPop 0.4s ease both 0.1s;
}
.quote-done p { color: var(--muted); font-size: 0.92rem; }
.done-summary {
  margin: 1rem 0 1.25rem;
  padding: 0.85rem 1rem;
  background: var(--bg-soft);
  border-radius: 10px;
  font-size: 0.85rem !important;
  text-align: left;
}

.modal-nav { margin-top: 1.5rem; min-height: 2rem; }

/* ============ Responsive ============ */
@media (max-width: 640px) {
  .site-nav a { display: none; }
  .option-grid { grid-template-columns: 1fr; }
  .footer-meta { text-align: left; }
  .service-card { min-height: 250px; }
}

/* ============ Reduced motion ============ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-delay: 0s !important; transition-duration: 0.01ms !important; }
  html { scroll-behavior: auto; }
}
