/* Savanta Solutions: site styles */

:root {
  --color-primary: #0f172a;
  --color-accent: #2563eb;       /* darker blue: passes WCAG AA on white */
  --color-accent-light: #60a5fa; /* for use on dark backgrounds */
  --color-bg: #ffffff;
  --color-surface: #f8fafc;
  --color-text: #1e293b;
  --color-muted: #526179;
  --color-border: #e2e8f0;
  --font-display: 'Plus Jakarta Sans', sans-serif;
  --font-body: 'Outfit', sans-serif;
  --nav-height: 70px;
  --section-pad: clamp(5rem, 10vw, 9rem);
  --max-width: 1200px;
  --radius-card: 16px;
  --radius-btn: 50px;
  --shadow-card: 0 2px 12px rgba(0,0,0,0.07);
  --shadow-hover: 0 16px 40px rgba(0,0,0,0.14);
  --transition: all 0.3s ease;
}

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

html { scroll-behavior: smooth; scroll-padding-top: var(--nav-height); font-size: 16px; }

body {
  font-family: var(--font-body);
  background: var(--color-bg);
  color: var(--color-text);
  line-height: 1.75;
  overflow-x: hidden;
}

h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.2; }

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

a { color: inherit; text-decoration: none; }

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

/* ── Eyebrow labels ── */
.eyebrow {
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--color-accent);
  font-family: var(--font-body);
  margin-bottom: 0.75rem;
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 2.2rem;
  border-radius: var(--radius-btn);
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: var(--transition);
}
.btn-primary {
  background: var(--color-accent);
  color: #fff;
}
.btn-primary:hover {
  filter: brightness(1.1);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.18);
}
.btn-outline {
  background: transparent;
  border: 2px solid currentColor;
}
.btn-outline:hover {
  background: var(--color-accent);
  border-color: var(--color-accent);
  color: #fff;
  transform: translateY(-2px);
}

/* ── Cards ── */
.card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  padding: 2rem;
  box-shadow: var(--shadow-card);
  transition: var(--transition);
}
.card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
}

/* ── Section headings centred ── */
.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto clamp(3rem, 6vw, 5rem);
}
.section-header h2 {
  font-size: clamp(1.9rem, 4vw, 3rem);
  margin-bottom: 1rem;
}
.section-header p {
  color: var(--color-muted);
  font-size: 1.05rem;
}

/* ── Animations ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}
.fade-up            { animation: fadeUp 0.75s ease both; }
.fade-up-d1         { animation-delay: 0.1s; }
.fade-up-d2         { animation-delay: 0.22s; }
.fade-up-d3         { animation-delay: 0.34s; }
.fade-up-d4         { animation-delay: 0.46s; }

/* ── Navigation ── */
.nav {
  position: fixed; top: 0; left: 0; right: 0;
  height: var(--nav-height);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 2rem;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--color-border);
  z-index: 1000;
}
.nav-links { display: flex; gap: 2rem; list-style: none; align-items: center; }
.nav-links a:not(.btn) { font-size: 0.9rem; font-weight: 500; position: relative; padding-bottom: 2px; }
.nav-links a:not(.btn)::after {
  content: ''; position: absolute; bottom: 0; left: 0;
  width: 0; height: 2px;
  background: var(--color-accent);
  transition: width 0.25s ease;
}
.nav-links a:not(.btn):hover::after { width: 100%; }
.hamburger {
  display: none; flex-direction: column; gap: 5px;
  cursor: pointer; background: none; border: none; padding: 4px;
}
.hamburger span {
  display: block; width: 24px; height: 2px;
  background: var(--color-text); border-radius: 2px; transition: var(--transition);
}
@media (max-width: 767px) {
  .hamburger { display: flex; }
  .nav-links  { display: none; }
  .nav-links.open {
    display: flex; flex-direction: column; position: absolute;
    top: var(--nav-height); left: 0; right: 0;
    background: var(--color-primary);
    padding: 2rem; gap: 1.5rem;
  }
  .nav-links.open a { color: #fff; font-size: 1.1rem; }
}

/* ── Hero ── */
.hero {
  min-height: 100svh;
  padding-top: var(--nav-height);
  background: var(--color-bg);
  display: flex;
  align-items: center;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}
.hero-image figure {
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0,0,0,0.1);
  transform: rotate(1deg);
}
.hero-image img {
  width: 100%;
  height: 400px;
  object-fit: cover;
}
.hero h1 {
  font-size: clamp(2.4rem, 5vw, 4rem);
  letter-spacing: -0.02em;
  margin-bottom: 1.5rem;
}
.hero-sub {
  color: var(--color-muted);
  font-size: 1.15rem;
  margin-bottom: 2rem;
  max-width: 500px;
}
.cta-row {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* ── Services Grid ── */
.services-section {
  background: var(--color-surface);
  padding: var(--section-pad) 0;
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
@media (max-width: 899px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .services-grid { grid-template-columns: 1fr; }
}
.service-icon {
  width: 52px;
  height: 52px;
  background: rgba(59, 130, 246, 0.12);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 1.25rem;
}
.service-card h3 {
  font-size: 1.2rem;
  margin-bottom: 0.75rem;
}
.service-card p {
  color: var(--color-muted);
  font-size: 0.95rem;
}
.service-card {
  border-top: 3px solid var(--color-accent);
}

/* ── About Section ── */
.about-section {
  padding: var(--section-pad) 0;
}
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}
@media (max-width: 767px) {
  .about-grid { grid-template-columns: 1fr; }
}
.about-image figure {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 10px 10px 0 var(--color-accent);
}
.about-image img {
  width: 100%;
  height: 350px;
  object-fit: cover;
}
.stats-row {
  display: flex;
  gap: 2rem;
  margin-top: 2rem;
}
.stat-item strong {
  display: block;
  font-size: 2.4rem;
  color: var(--color-accent);
  font-family: var(--font-display);
}
.stat-item span {
  font-size: 0.85rem;
  color: var(--color-muted);
}

/* ── Case Studies / Gallery ── */
.case-studies-section {
  background: var(--color-surface);
  padding: var(--section-pad) 0;
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.25rem;
}
.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 14px;
}
.gallery-item img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  transition: transform 0.45s ease;
}
.gallery-item:hover img {
  transform: scale(1.06);
}
.gallery-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(15, 23, 42, 0.85);
  color: #fff;
  padding: 1rem;
  transform: translateY(100%);
  transition: transform 0.3s ease;
}
.gallery-item:hover .gallery-caption {
  transform: translateY(0);
}

/* ── Why Choose Us ── */
.why-us-section {
  padding: var(--section-pad) 0;
}
.why-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}
@media (max-width: 767px) {
  .why-grid { grid-template-columns: 1fr; }
}
.why-card {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}
.why-number {
  font-family: var(--font-display);
  font-size: 2.5rem;
  color: var(--color-accent);
  opacity: 0.6;
  flex-shrink: 0;
}
.why-card h3 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}
.why-card p {
  color: var(--color-muted);
  font-size: 0.95rem;
}

/* ── Process Section ── */
.process-section {
  background: var(--color-primary);
  color: #fff;
  padding: var(--section-pad) 0;
}
.process-section .section-header h2 {
  color: #fff;
}
.process-section .section-header p {
  color: rgba(255,255,255,0.7);
}
.process-section .eyebrow {
  color: var(--color-accent-light);
}
.process-timeline {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
.process-step {
  flex: 1;
  min-width: 200px;
  text-align: center;
  padding: 2rem 1rem;
  background: rgba(255,255,255,0.05);
  border-radius: var(--radius-card);
  border: 1px solid rgba(255,255,255,0.1);
}
.process-step h3 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
  color: var(--color-accent-light);
}
.process-step p {
  color: rgba(255,255,255,0.7);
  font-size: 0.9rem;
}

/* ── Testimonials ── */
.testimonials-section {
  padding: var(--section-pad) 0;
}
.testimonials-grid {
  display: flex;
  gap: 1.5rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 1rem;
}
@media (min-width: 768px) {
  .testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    overflow-x: unset;
  }
}
.testimonial-card {
  scroll-snap-align: start;
  min-width: 280px;
  flex-shrink: 0;
}
.quote-mark {
  font-size: 4rem;
  line-height: 1;
  font-family: var(--font-display);
  color: var(--color-accent);
  opacity: 0.25;
}
.testimonial-card p {
  font-style: italic;
  margin: 1rem 0;
}
.testimonial-card hr {
  border: none;
  border-top: 1px solid var(--color-border);
  margin: 1rem 0;
}
.muted {
  color: var(--color-muted);
  font-size: 0.85rem;
}

/* ── Contact Section ── */
.contact-section {
  background: var(--color-primary);
  color: #fff;
  padding: var(--section-pad) 0;
}
.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3rem;
}
@media (max-width: 767px) {
  .contact-grid { grid-template-columns: 1fr; }
}
.contact-section .section-header h2 {
  color: #fff;
}
.contact-section .section-header p {
  color: rgba(255,255,255,0.7);
}
.contact-detail {
  display: flex;
  gap: 0.75rem;
  align-items: center;
  margin-bottom: 1rem;
}
.contact-detail svg {
  width: 20px;
  height: 20px;
  fill: var(--color-accent-light);
  flex-shrink: 0;
}
.contact-detail span,
.contact-detail a {
  color: rgba(255,255,255,0.9);
}

/* ── Footer ── */
footer {
  background: #0a0f1d;
  padding: var(--section-pad) 0 0;
  color: rgba(255,255,255,0.75);
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  margin-bottom: 2rem;
}
@media (max-width: 767px) {
  .footer-grid { grid-template-columns: 1fr; }
}
.footer-col h4 {
  color: #fff;
  font-size: 1rem;
  margin-bottom: 1rem;
}
.footer-col ul {
  list-style: none;
}
.footer-col ul li {
  margin-bottom: 0.5rem;
}
.footer-col ul li a:hover {
  color: var(--color-accent-light);
}
.footer-bar {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 1.25rem 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}
  


.contact-section .eyebrow { color: var(--color-accent-light); }


/* ── Third-party widgets (WhatsApp button, site attribution) ── */
.whatsapp-container {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 2147483647;
    display: flex;
    align-items: center;
    transform: translateZ(0);
    backface-visibility: hidden;
  }
  .whatsapp-container.position-left { left: 20px; right: auto; }
  .whatsapp-container.position-right { right: 20px; left: auto; }
  .whatsapp-container .whatsapp-fab {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background-color: #25D366;
    box-shadow: 4px 4px 10px rgba(0, 0, 0, 0.3);
    cursor: pointer;
    text-decoration: none;
    border: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    animation: wa-pop-in 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) both;
  }
  .whatsapp-container .whatsapp-fab:hover {
    transform: scale(1.1);
    box-shadow: 6px 6px 14px rgba(0, 0, 0, 0.35);
  }
  .whatsapp-container .whatsapp-fab svg { width: 36px; height: 36px; color: #fff; }
  @keyframes wa-pop-in {
    from { opacity: 0; transform: scale(0.6); }
    to   { opacity: 1; transform: scale(1); }
  }
  @media (max-width: 768px) {
    .whatsapp-container { bottom: 90px; }
  }




/* ══════════════════════════════════════════════
   Components added in the refactor
   ══════════════════════════════════════════════ */

/* ── Accessibility ── */
:focus-visible {
  outline: 3px solid var(--color-accent);
  outline-offset: 3px;
  border-radius: 4px;
}
.process-section :focus-visible,
.contact-section :focus-visible,
footer :focus-visible {
  outline-color: var(--color-accent-light);
}
.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 2000;
  padding: 0.6rem 1rem;
  background: var(--color-primary);
  color: #fff;
  border-radius: 8px;
}
.skip-link:focus { top: 1rem; }

@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;
  }
}

/* ── Navigation extras ── */
.nav-brand {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--color-primary);
}
.btn-sm { padding: 0.5rem 1.5rem; font-size: 0.85rem; }
.hamburger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.hamburger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── Hero / gallery tweaks ── */
.hero-highlight { background: var(--color-accent); color: #fff; padding: 0 0.2em; }
.gallery-item:focus-within .gallery-caption { transform: translateY(0); }
@media (hover: none) {
  .gallery-caption { transform: none; }
}
.quote-mark { display: block; }

/* ── Contact + footer helpers ── */
.contact-intro { color: rgba(255,255,255,0.8); margin-bottom: 2rem; }
.contact-cta { margin-top: 2rem; }
.footer-brand { font-family: var(--font-display); font-size: 1.3rem; }
.footer-blurb { color: rgba(255,255,255,0.6); font-size: 0.9rem; margin-top: 0.5rem; }
.footer-meta { color: rgba(255,255,255,0.6); font-size: 0.9rem; }
.footer-meta--gap { margin-top: 0.5rem; }
.footer-meta a:hover { color: var(--color-accent-light); }
.footer-col strong { color: rgba(255,255,255,0.9); }
.footer-copy { color: rgba(255,255,255,0.5); font-size: 0.85rem; }

/* ── Forms ── */
.form {
  --field-bg: #fff;
  --field-border: #cbd5e1;
  --field-text: var(--color-text);
  --field-label: var(--color-text);
  --status-ok: #15803d;
  --status-error: #b91c1c;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  width: 100%;
  max-width: 540px;
}
.contact-section .form {
  --field-bg: rgba(255,255,255,0.07);
  --field-border: rgba(255,255,255,0.3);
  --field-text: #fff;
  --field-label: rgba(255,255,255,0.9);
  --status-ok: #4ade80;
  --status-error: #fca5a5;
}
.field { display: flex; flex-direction: column; gap: 0.35rem; }
.field label { font-size: 0.875rem; font-weight: 600; color: var(--field-label); }
.field input,
.field textarea,
.field select {
  width: 100%;
  padding: 0.7rem 0.95rem;
  font: inherit;
  color: var(--field-text);
  background: var(--field-bg);
  border: 1.5px solid var(--field-border);
  border-radius: 10px;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}
.field textarea { min-height: 120px; resize: vertical; }
.field ::placeholder { color: var(--field-text); opacity: 0.5; }
.field input:focus-visible,
.field textarea:focus-visible,
.field select:focus-visible {
  outline: none;
  border-color: var(--color-accent-light);
  box-shadow: 0 0 0 3px rgba(96,165,250,0.35);
}
.field input:user-invalid,
.field textarea:user-invalid { border-color: var(--status-error); }
.form .btn { align-self: flex-start; }
.form .btn:disabled { opacity: 0.6; cursor: wait; transform: none; }
.form-status { min-height: 1.5em; font-size: 0.95rem; }
.form-status.is-success { color: var(--status-ok); }
.form-status.is-error { color: var(--status-error); }
/* Spam trap: visually hidden but still in the DOM. */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ── Modal (support ticket) ── */
.modal {
  margin: auto; /* the global reset removes the default centring */
  padding: 0;
  width: min(520px, calc(100% - 2rem));
  max-height: calc(100dvh - 2rem);
  border: none;
  border-radius: var(--radius-card);
  color: var(--color-text);
  background: var(--color-bg);
  box-shadow: 0 30px 80px rgba(0,0,0,0.35);
}
.modal::backdrop { background: rgba(15,23,42,0.65); backdrop-filter: blur(3px); }
.modal-inner { position: relative; padding: 2rem; }
.modal-inner h2 { font-size: 1.6rem; margin-bottom: 0.5rem; padding-right: 2rem; }
.modal-lead { color: var(--color-muted); margin-bottom: 1.5rem; font-size: 0.95rem; }
.modal-close {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  width: 40px;
  height: 40px;
  border: none;
  border-radius: 50%;
  background: transparent;
  color: var(--color-muted);
  font-size: 1.75rem;
  line-height: 1;
  cursor: pointer;
}
.modal-close:hover { background: var(--color-surface); color: var(--color-text); }

/* ── Hero layout fixes ── */
.hero .container { width: 100%; }
.hero-grid > *, .about-grid > * { min-width: 0; }
@media (max-width: 899px) {
  .hero-grid { grid-template-columns: 1fr; gap: 2rem; }
  .hero-image img { height: 280px; }
  .hero { padding-bottom: 3rem; }
}

/* ── Testimonials: sensible card width in the mobile swipe row ── */
@media (max-width: 767px) {
  .testimonial-card { flex: 0 0 min(85%, 340px); }
}

/* ══════════════════════════════════════════════
   Logo, project wizard, case-study tweaks
   ══════════════════════════════════════════════ */
[hidden] { display: none !important; }

/* ── Logo ── */
.nav-brand { display: inline-flex; align-items: center; }
.nav-brand img { height: 52px; width: auto; }
.footer-logo { display: inline-block; margin-bottom: 0.5rem; }
.footer-logo img { height: 52px; width: auto; }

/* ── Case studies without an image ── */
.gallery-item.no-image {
  min-height: 250px;
  display: flex;
  align-items: flex-end;
  background: linear-gradient(135deg, var(--color-primary), #1e3a8a);
}
.gallery-item.no-image .gallery-caption { position: static; transform: none; background: transparent; }

/* ── Wider modal for the project form ── */
.modal-wide { width: min(680px, calc(100% - 2rem)); }
.modal-wide .form { max-width: none; }
.modal-inner > .eyebrow { margin-bottom: 0.25rem; }

/* ── Progress indicator ── */
.wizard-progress {
  list-style: none;
  display: flex;
  gap: 0.5rem;
  margin: 0 0 1.75rem;
}
.wizard-progress li {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding-top: 0.75rem;
  border-top: 3px solid var(--color-border);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-muted);
  transition: var(--transition);
}
.wizard-progress li span {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--color-surface);
  border: 1.5px solid var(--color-border);
  font-size: 0.78rem;
}
.wizard-progress li.is-active { color: var(--color-primary); border-top-color: var(--color-accent); }
.wizard-progress li.is-active span { background: var(--color-accent); border-color: var(--color-accent); color: #fff; }
.wizard-progress li.is-done { border-top-color: var(--color-accent); color: var(--color-accent); }
.wizard-progress li.is-done span { background: rgba(37,99,235,0.12); border-color: var(--color-accent); color: var(--color-accent); }

/* ── Steps and layout ── */
.wizard-step { display: flex; flex-direction: column; gap: 1rem; animation: fadeUp 0.35s ease both; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 560px) { .field-row { grid-template-columns: 1fr; } }
.optional { font-weight: 400; color: var(--color-muted); }

/* ── Selectable chips (services, budget) ── */
fieldset.field { border: none; min-width: 0; }
fieldset.field legend {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--field-label);
  margin-bottom: 0.6rem;
  padding: 0;
}
.chips { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.chip { position: relative; cursor: pointer; }
.chip input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; cursor: pointer; }
.chip span {
  display: inline-block;
  padding: 0.5rem 1rem;
  border: 1.5px solid var(--field-border);
  border-radius: var(--radius-btn);
  background: var(--field-bg);
  font-size: 0.9rem;
  font-weight: 500;
  transition: var(--transition);
}
.chip:hover span { border-color: var(--color-accent); }
.chip input:checked + span {
  background: var(--color-accent);
  border-color: var(--color-accent);
  color: #fff;
}
.chip input:focus-visible + span { outline: 3px solid var(--color-accent-light); outline-offset: 2px; }

/* ── Actions ── */
.wizard-actions { display: flex; justify-content: space-between; gap: 1rem; margin-top: 0.5rem; }
.wizard-actions .btn:last-child { margin-left: auto; }
.form .wizard-actions .btn { align-self: auto; }
.btn-ghost { background: transparent; color: var(--color-muted); border: 1.5px solid var(--color-border); }
.btn-ghost:hover { color: var(--color-text); border-color: var(--color-muted); }

/* ── Success state ── */
.wizard-done { text-align: center; padding: 1.5rem 0 0.5rem; }
.wizard-done h3 { font-size: 1.4rem; margin: 1rem 0 0.5rem; }
.wizard-done p { color: var(--color-muted); margin-bottom: 1.5rem; }
.form .wizard-done .btn { align-self: center; }
.wizard-done-icon {
  width: 64px; height: 64px; margin: 0 auto;
  display: grid; place-items: center;
  border-radius: 50%;
  background: rgba(21,128,61,0.12);
  color: #15803d;
  font-size: 2rem;
}

/* ── Vendors & partners ── */
.vendors-section { padding: var(--section-pad) 0; background: var(--color-surface); }
.vendor-grid {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1.25rem;
}
.vendor-item a,
.vendor-item > span {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 96px;
  padding: 1rem 1.5rem;
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--color-primary);
  text-align: center;
  transition: var(--transition);
}
.vendor-item a:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); border-color: var(--color-accent); }
.vendor-item img {
  max-height: 48px;
  max-width: 100%;
  width: auto;
  object-fit: contain;
  filter: grayscale(1);
  opacity: 0.75;
  transition: var(--transition);
}
.vendor-item a:hover img { filter: none; opacity: 1; }

/* ══════════════════════════════════════════════
   v3 additions
   ══════════════════════════════════════════════ */

/* Service icons are inline SVG now (emoji looked different on every device). */
.service-icon svg {
  width: 26px;
  height: 26px;
  fill: none;
  stroke: var(--color-accent);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.stats-row { flex-wrap: wrap; }

/* Process steps are a real ordered list. */
ol.process-timeline { list-style: none; padding: 0; }

/* Direct-contact line under the hero buttons. */
.hero-alt { margin-top: 1.25rem; font-size: 0.95rem; color: var(--color-muted); }
.hero-alt a { color: var(--color-accent); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.hero-alt a:hover { color: var(--color-primary); }

/* Privacy consent tick box. */
.consent { font-size: 0.85rem; line-height: 1.5; color: var(--field-label); }
.consent label { display: flex; gap: 0.6rem; align-items: flex-start; cursor: pointer; }
.consent input { flex: 0 0 auto; width: 1.1rem; height: 1.1rem; margin-top: 0.15rem; accent-color: var(--color-accent); }
.consent a { text-decoration: underline; text-underline-offset: 2px; }
.contact-section .consent a { color: var(--color-accent-light); }
.consent input:focus-visible { outline: 3px solid var(--color-accent-light); outline-offset: 2px; }
.turnstile-box:not(:empty) { min-height: 65px; }

/* Keep the page still while a dialog is open. */
body:has(dialog[open]) { overflow: hidden; }

.footer-link { color: rgba(255,255,255,0.6); text-decoration: underline; text-underline-offset: 3px; }
.footer-link:hover { color: var(--color-accent-light); }
.contact-detail a[target="_blank"]:hover { text-decoration: underline; }

/* ── Privacy policy page ── */
.legal-header { background: var(--color-primary); padding: 1rem 0; }
.legal-header .container { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; }
.legal-header img { height: 44px; width: auto; }
.legal-header a.back { color: rgba(255,255,255,0.85); font-weight: 600; }
.legal-header a.back:hover { color: #fff; }
.legal { max-width: 760px; margin: 0 auto; padding: 3rem 1.25rem 4rem; }
.legal h1 { font-size: clamp(1.9rem, 4vw, 2.5rem); margin-bottom: 0.5rem; }
.legal .updated { color: var(--color-muted); margin-bottom: 2rem; }
.legal h2 { font-size: 1.3rem; margin: 2rem 0 0.6rem; }
.legal p, .legal li { line-height: 1.7; margin-bottom: 0.75rem; }
.legal ul { padding-left: 1.25rem; list-style: disc; }
.legal a { color: var(--color-accent); text-decoration: underline; text-underline-offset: 3px; }
.legal table { width: 100%; border-collapse: collapse; margin: 1rem 0 1.5rem; font-size: 0.95rem; }
.legal th, .legal td { text-align: left; padding: 0.6rem 0.75rem; border-bottom: 1px solid #e2e8f0; vertical-align: top; }
.legal th { color: var(--color-text); }
.legal .table-wrap { overflow-x: auto; }
