/* =========================================================
   StockLink — Design System
   Palette, type and spacing are deliberate choices for a
   premium, calm SaaS-style site aimed at phone store owners.
   ========================================================= */

:root {
  /* Brand palette */
  --color-primary: #2563EB;
  --color-primary-dark: #1D4ED8;
  --color-accent: #3B82F6;
  --color-bg: #FFFFFF;
  --color-bg-secondary: #F8FAFC;
  --color-text: #111827;
  --color-text-muted: #4B5563;
  --color-text-faint: #6B7280;
  --color-border: #E5E7EB;
  --color-success: #16A34A;
  --color-success-bg: #F0FDF4;
  --color-error: #DC2626;

  /* Deep ink — used sparingly for the footer & signature panels,
     so the brand blue has somewhere dark to glow against. */
  --color-ink: #0B1220;
  --color-ink-soft: #121B2E;
  --color-ink-border: #1F2A40;
  --color-ink-text: #CBD5E1;

  /* Type */
  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  /* Spacing scale (8px base) */
  --space-1: 0.5rem;
  --space-2: 0.75rem;
  --space-3: 1rem;
  --space-4: 1.5rem;
  --space-5: 2rem;
  --space-6: 3rem;
  --space-7: 4rem;
  --space-8: 6rem;
  --space-9: 8rem;

  /* Radius */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-full: 999px;

  /* Shadow */
  --shadow-sm: 0 1px 2px rgba(17, 24, 39, 0.06);
  --shadow-md: 0 8px 24px rgba(17, 24, 39, 0.08);
  --shadow-lg: 0 24px 64px rgba(17, 24, 39, 0.12);
  --shadow-glow: 0 0 0 1px rgba(37, 99, 235, 0.08), 0 12px 32px rgba(37, 99, 235, 0.12);

  /* Motion */
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --dur-fast: 150ms;
  --dur-med: 320ms;

  --container: 1180px;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--color-text);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  line-height: 1.6;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, p { margin: 0; }
input, textarea, select { font-family: inherit; font-size: inherit; }

:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 3px;
  border-radius: 4px;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--space-4);
}

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

.skip-link {
  position: absolute;
  left: var(--space-3);
  top: -60px;
  background: var(--color-ink);
  color: #fff;
  padding: var(--space-2) var(--space-3);
  border-radius: var(--radius-sm);
  z-index: 200;
  transition: top var(--dur-fast) var(--ease);
}
.skip-link:focus { top: var(--space-3); }

/* ---------- Typography ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--color-primary);
}
.eyebrow::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--color-primary);
}

h1, .h1 {
  font-size: clamp(2.5rem, 5vw + 1rem, 4rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.05;
}
h2, .h2 {
  font-size: clamp(1.9rem, 2.6vw + 1rem, 2.75rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.15;
}
h3, .h3 {
  font-size: clamp(1.25rem, 1vw + 1rem, 1.5rem);
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.3;
}
.lede {
  font-size: clamp(1.05rem, 1vw + 0.9rem, 1.25rem);
  color: var(--color-text-muted);
  line-height: 1.6;
  max-width: 58ch;
}
.section-head {
  max-width: 640px;
  margin-bottom: var(--space-6);
}
.section-head.center { margin-inline: auto; text-align: center; }
.section-head p { margin-top: var(--space-2); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
  padding: 0.85em 1.5em;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid transparent;
  transition: transform var(--dur-fast) var(--ease), box-shadow var(--dur-fast) var(--ease), background var(--dur-fast) var(--ease), border-color var(--dur-fast) var(--ease);
  white-space: nowrap;
}
.btn-primary {
  background: var(--color-primary);
  color: #fff;
  box-shadow: var(--shadow-glow);
}
.btn-primary:hover { background: var(--color-primary-dark); transform: translateY(-1px); }
.btn-secondary {
  background: transparent;
  color: var(--color-text);
  border-color: var(--color-border);
}
.btn-secondary:hover { border-color: var(--color-primary); color: var(--color-primary); }
.btn-ghost-light {
  background: rgba(255,255,255,0.06);
  color: #fff;
  border-color: rgba(255,255,255,0.16);
}
.btn-ghost-light:hover { background: rgba(255,255,255,0.12); }
.btn-block { width: 100%; }
.btn-lg { padding: 1em 1.9em; font-size: 1rem; }
.btn svg { width: 1.1em; height: 1.1em; }

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  align-items: center;
}

/* ---------- Navigation ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(12px) saturate(1.4);
  -webkit-backdrop-filter: blur(12px) saturate(1.4);
  border-bottom: 1px solid var(--color-border);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: var(--space-2);
  gap: var(--space-4);
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.55em;
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
  color: var(--color-text);
}
.brand .brand-mark {
  width: 32px; height: 32px;
  border-radius: 9px;
  background: linear-gradient(155deg, var(--color-accent), var(--color-primary-dark));
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-sm);
}
.brand .brand-mark svg { width: 18px; height: 18px; }

.nav-links {
  display: flex;
  align-items: center;
  gap: var(--space-5);
}
.nav-links a {
  font-size: 0.94rem;
  font-weight: 500;
  color: var(--color-text-muted);
  padding: 0.4em 0.1em;
  border-bottom: 2px solid transparent;
  transition: color var(--dur-fast) var(--ease), border-color var(--dur-fast) var(--ease);
}
.nav-links a:hover, .nav-links a[aria-current="page"] {
  color: var(--color-text);
  border-color: var(--color-primary);
}
.nav-actions { display: flex; align-items: center; gap: var(--space-3); }
.nav-actions .btn-primary { padding: 0.7em 1.3em; font-size: 0.9rem; }

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  width: 42px; height: 42px;
  align-items: center;
  justify-content: center;
}
.nav-toggle svg { width: 20px; height: 20px; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--color-ink);
  color: var(--color-ink-text);
  padding-block: var(--space-7) var(--space-5);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: var(--space-6);
  padding-bottom: var(--space-6);
  border-bottom: 1px solid var(--color-ink-border);
}
.footer-brand .brand { color: #fff; }
.footer-brand p {
  margin-top: var(--space-3);
  max-width: 32ch;
  color: var(--color-ink-text);
  font-size: 0.94rem;
}
.footer-col h4 {
  color: #fff;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  margin-bottom: var(--space-3);
}
.footer-col ul { display: flex; flex-direction: column; gap: var(--space-2); }
.footer-col a, .footer-col span {
  font-size: 0.94rem;
  color: var(--color-ink-text);
  transition: color var(--dur-fast) var(--ease);
}
.footer-col a:hover { color: #fff; }
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-3);
  padding-top: var(--space-5);
  font-size: 0.85rem;
  color: var(--color-text-faint);
}
.footer-socials { display: flex; gap: var(--space-2); }
.footer-socials a {
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 1px solid var(--color-ink-border);
  display: flex; align-items: center; justify-content: center;
  transition: border-color var(--dur-fast) var(--ease), background var(--dur-fast) var(--ease);
}
.footer-socials a:hover { border-color: var(--color-accent); background: rgba(59,130,246,0.12); }
.footer-socials svg { width: 16px; height: 16px; }

/* ---------- Sections / generic ---------- */
section { padding-block: var(--space-8); }
.section-alt { background: var(--color-bg-secondary); }
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 700ms var(--ease), transform 700ms var(--ease);
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-6); align-items: center; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-4); }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-4); }

/* ---------- Cards ---------- */
.card {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: var(--space-4);
  transition: transform var(--dur-med) var(--ease), box-shadow var(--dur-med) var(--ease), border-color var(--dur-med) var(--ease);
}
.card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); border-color: #DCE3F0; }
.card-icon {
  width: 44px; height: 44px;
  border-radius: 11px;
  background: #EFF4FF;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: var(--space-3);
}
.card-icon svg { width: 22px; height: 22px; color: var(--color-primary); }
.card h3 { margin-bottom: var(--space-2); }
.card p { color: var(--color-text-muted); font-size: 0.96rem; }

/* ---------- Hero ---------- */
.hero {
  padding-top: var(--space-8);
  padding-bottom: var(--space-8);
  overflow: hidden;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: var(--space-7);
  align-items: center;
}
.hero-copy h1 { margin-block: var(--space-3) var(--space-4); }
.hero-badges {
  display: flex;
  gap: var(--space-4);
  margin-top: var(--space-6);
  flex-wrap: wrap;
}
.hero-badge {
  display: flex;
  align-items: center;
  gap: 0.6em;
  font-size: 0.9rem;
  color: var(--color-text-muted);
}
.hero-badge svg { width: 18px; height: 18px; color: var(--color-primary); flex-shrink: 0; }

/* Signature visual: a browser-frame catalog mockup */
.catalog-frame {
  position: relative;
  background: var(--color-ink);
  border-radius: var(--radius-lg);
  padding: 14px;
  box-shadow: var(--shadow-lg);
  transform: perspective(1400px) rotateY(-6deg) rotateX(2deg);
}
.catalog-frame .chrome-dots {
  display: flex;
  gap: 6px;
  padding: 4px 6px 12px;
}
.catalog-frame .chrome-dots span {
  width: 9px; height: 9px; border-radius: 50%;
  background: #2A3752;
}
.catalog-screen {
  background: var(--color-bg-secondary);
  border-radius: 12px;
  padding: var(--space-3);
}
.catalog-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--space-3);
}
.catalog-toolbar .store-name { font-weight: 700; font-size: 0.95rem; }
.catalog-toolbar .pill {
  font-size: 0.7rem;
  font-weight: 600;
  padding: 0.3em 0.7em;
  border-radius: var(--radius-full);
  background: var(--color-success-bg);
  color: var(--color-success);
}
.catalog-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-2);
}
.catalog-card {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 10px;
  padding: var(--space-2);
  animation: cardIn 900ms var(--ease) both;
}
.catalog-card .swatch {
  height: 64px;
  border-radius: 8px;
  margin-bottom: 8px;
  background: linear-gradient(155deg, #E0EAFF, #C7D9FF);
}
.catalog-card .swatch.alt { background: linear-gradient(155deg, #E7ECFB, #DCE6FF); }
.catalog-card .name { font-size: 0.78rem; font-weight: 600; }
.catalog-card .price { font-size: 0.78rem; color: var(--color-primary); font-weight: 700; margin-top: 2px; }
.catalog-card:nth-child(1) { animation-delay: 60ms; }
.catalog-card:nth-child(2) { animation-delay: 160ms; }
.catalog-card:nth-child(3) { animation-delay: 260ms; }
.catalog-card:nth-child(4) { animation-delay: 360ms; }

@keyframes cardIn {
  from { opacity: 0; transform: translateY(10px) scale(0.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.float-chip {
  position: absolute;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  padding: 0.6em 0.9em;
  display: flex;
  align-items: center;
  gap: 0.5em;
  font-size: 0.82rem;
  font-weight: 600;
  animation: floaty 5s ease-in-out infinite;
}
.float-chip svg { width: 16px; height: 16px; color: var(--color-success); }
.float-chip.chip-1 { top: -18px; right: -22px; }
.float-chip.chip-2 { bottom: 20px; left: -28px; animation-delay: 1.2s; }
@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
@media (prefers-reduced-motion: reduce) {
  .float-chip { animation: none; }
  .catalog-card { animation: none; }
}

/* ---------- Logos / trust strip (no fake logos, uses honest labels) ---------- */
.trust-strip {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-6);
  align-items: center;
  justify-content: space-between;
  padding-block: var(--space-4);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  color: var(--color-text-faint);
  font-size: 0.88rem;
}
.trust-strip .trust-item { display: flex; align-items: center; gap: 0.55em; }
.trust-strip svg { width: 18px; height: 18px; color: var(--color-primary); }

/* ---------- Steps (how it works) ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-5); position: relative; }
.step { position: relative; padding-left: var(--space-1); }
.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--color-bg);
  border: 1.5px solid var(--color-primary);
  color: var(--color-primary);
  font-weight: 700;
  margin-bottom: var(--space-3);
}
.step h3 { margin-bottom: var(--space-2); }
.step p { color: var(--color-text-muted); font-size: 0.95rem; }

/* ---------- FAQ ---------- */
.faq-list { max-width: 760px; margin-inline: auto; }
.faq-item {
  border-bottom: 1px solid var(--color-border);
}
.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
  padding-block: var(--space-4);
  background: none;
  border: none;
  text-align: left;
  font-size: 1.02rem;
  font-weight: 600;
  color: var(--color-text);
}
.faq-question .icon-plus {
  flex-shrink: 0;
  width: 24px; height: 24px;
  border-radius: 50%;
  border: 1.5px solid var(--color-border);
  display: flex; align-items: center; justify-content: center;
  position: relative;
  transition: transform var(--dur-med) var(--ease), border-color var(--dur-fast) var(--ease);
}
.faq-question .icon-plus::before, .faq-question .icon-plus::after {
  content: "";
  position: absolute;
  background: var(--color-text);
  transition: transform var(--dur-med) var(--ease), opacity var(--dur-med) var(--ease);
}
.faq-question .icon-plus::before { width: 10px; height: 1.5px; }
.faq-question .icon-plus::after { width: 1.5px; height: 10px; }
.faq-item[open] .faq-question .icon-plus { transform: rotate(45deg); border-color: var(--color-primary); }
.faq-answer {
  padding-bottom: var(--space-4);
  color: var(--color-text-muted);
  max-width: 65ch;
}
.faq-item summary { list-style: none; }
.faq-item summary::-webkit-details-marker { display: none; }

/* ---------- Final CTA banner ---------- */
.cta-banner {
  background: var(--color-ink);
  border-radius: var(--radius-lg);
  padding: var(--space-7) var(--space-6);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: "";
  position: absolute;
  inset: -40%;
  background: radial-gradient(closest-side, rgba(59,130,246,0.35), transparent);
  opacity: 0.6;
}
.cta-banner > * { position: relative; }
.cta-banner h2 { color: #fff; }
.cta-banner p { color: var(--color-ink-text); margin-top: var(--space-2); max-width: 50ch; margin-inline: auto; }
.cta-banner .cta-row { justify-content: center; margin-top: var(--space-5); }

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  padding-block: var(--space-7) var(--space-6);
  text-align: center;
}
.page-hero .eyebrow { justify-content: center; }
.page-hero h1 { margin-top: var(--space-3); }
.page-hero .lede { margin-inline: auto; margin-top: var(--space-3); text-align: center; }

/* ---------- Services ---------- */
.service-row {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: var(--space-6);
  align-items: center;
  padding-block: var(--space-6);
  border-bottom: 1px solid var(--color-border);
}
.service-row:last-child { border-bottom: none; }
.service-row:nth-child(even) .service-visual { order: 2; }
.service-index { font-size: 0.85rem; font-weight: 700; color: var(--color-primary); letter-spacing: 0.04em; }
.service-visual {
  background: var(--color-bg-secondary);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-5);
  display: flex; align-items: center; justify-content: center;
  min-height: 220px;
}
.service-visual svg { width: 100%; max-width: 220px; height: auto; }
.service-list { margin-top: var(--space-3); display: flex; flex-direction: column; gap: var(--space-2); }
.service-list li { display: flex; gap: 0.6em; font-size: 0.95rem; color: var(--color-text-muted); }
.service-list svg { width: 18px; height: 18px; color: var(--color-success); flex-shrink: 0; margin-top: 2px; }

/* ---------- Pricing ---------- */
.pricing-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-3);
  margin-bottom: var(--space-6);
  color: var(--color-text-muted);
  font-size: 0.92rem;
}
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-4);
  align-items: stretch;
}
.price-card {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-5);
  display: flex;
  flex-direction: column;
}
.price-card.featured {
  border-color: var(--color-primary);
  box-shadow: var(--shadow-glow);
  position: relative;
  transform: translateY(-8px);
}
.price-card .badge {
  position: absolute;
  top: -13px; left: var(--space-4);
  background: var(--color-primary);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.3em 0.8em;
  border-radius: var(--radius-full);
  letter-spacing: 0.02em;
}
.price-card h3 { font-size: 1.1rem; }
.price-card .price-tagline { color: var(--color-text-muted); font-size: 0.88rem; margin-top: 0.3em; min-height: 2.6em; }
.price-amount { display: flex; align-items: baseline; gap: 0.3em; margin-block: var(--space-4) var(--space-4); }
.price-amount .amount { font-size: 2.1rem; font-weight: 700; letter-spacing: -0.02em; }
.price-amount .unit { color: var(--color-text-faint); font-size: 0.85rem; }
.price-features { display: flex; flex-direction: column; gap: var(--space-2); margin-bottom: var(--space-5); flex-grow: 1; }
.price-features li { display: flex; gap: 0.6em; font-size: 0.92rem; color: var(--color-text-muted); }
.price-features svg { width: 17px; height: 17px; color: var(--color-primary); flex-shrink: 0; margin-top: 2px; }

.compare-note {
  text-align: center;
  color: var(--color-text-muted);
  max-width: 60ch;
  margin: var(--space-5) auto 0;
  font-size: 0.95rem;
}

.compare-table-wrap { overflow-x: auto; margin-top: var(--space-8); }
.compare-table { width: 100%; border-collapse: collapse; min-width: 640px; }
.compare-table th, .compare-table td {
  padding: var(--space-3);
  text-align: left;
  border-bottom: 1px solid var(--color-border);
  font-size: 0.92rem;
}
.compare-table th { font-weight: 600; color: var(--color-text-faint); font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.03em; }
.compare-table td:not(:first-child), .compare-table th:not(:first-child) { text-align: center; }
.compare-table td:first-child { color: var(--color-text-muted); }
.compare-table svg.yes { width: 18px; height: 18px; color: var(--color-success); }
.compare-table svg.no { width: 18px; height: 18px; color: var(--color-border); }

/* ---------- About ---------- */
.value-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--space-4); }
.pillar {
  display: flex;
  gap: var(--space-3);
  padding: var(--space-4);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
}
.pillar .card-icon { flex-shrink: 0; margin-bottom: 0; }

.quote-block {
  border-left: 3px solid var(--color-primary);
  padding-left: var(--space-4);
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--color-text);
  letter-spacing: -0.01em;
  max-width: 60ch;
}

/* ---------- Contact ---------- */
.contact-wrap {
  max-width: 800px;
}
.contact-info-grid {
  display: flex;
  flex-direction: column;
  gap:12px;
}
.contact-card {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: var(--space-4);
  display: flex;
  gap: var(--space-3);
  align-items: flex-start;
  margin-bottom: 0;
  background: var(--color-bg);
  transition: border-color var(--dur-fast) var(--ease), box-shadow var(--dur-fast) var(--ease), transform var(--dur-fast) var(--ease);
}
.contact-card:hover {
  border-color: var(--color-primary);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.contact-card--wide { grid-column: 1 / -1; }
.contact-card h3 { font-size: 1rem; margin-bottom: 0.2em; }
.contact-card p, .contact-card a { color: var(--color-text-muted); font-size: 0.94rem; }
.contact-card a:hover { color: var(--color-primary); }

.map-placeholder {
  grid-column: 1 / -1;
  border: 1px dashed var(--color-border);
  border-radius: var(--radius-md);
  background: var(--color-bg-secondary);
  height: 140px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  color: var(--color-text-faint);
  font-size: 0.88rem;
  margin-top: 0;
}
.map-placeholder svg { width: 28px; height: 28px; color: var(--color-primary); }

.hours-list { display: flex; flex-direction: column; gap: 0.5em; margin-top: var(--space-2); }
.hours-list li {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: baseline;
  column-gap: var(--space-2);
  row-gap: 0.15em;
  font-size: 0.92rem;
  color: var(--color-text-muted);
}
.hours-list li span:first-child { flex-shrink: 0; }
.hours-list li span:last-child { color: var(--color-text); font-weight: 500; margin-left: auto; text-align: right; }

@media (max-width: 400px) {
  .hours-list li { flex-direction: column; align-items: flex-start; gap: 0.1em; }
  .hours-list li span:last-child { margin-left: 0; text-align: left; }
}

/* ---------- Forms ---------- */
.form-panel {
  background: var(--color-bg-secondary);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-5);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-3); }
.field { margin-bottom: var(--space-4); }
.field label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  margin-bottom: 0.5em;
  color: var(--color-text);
}
.field .required { color: var(--color-primary); }
.field input, .field textarea {
  width: 100%;
  padding: 0.85em 1em;
  border-radius: var(--radius-sm);
  border: 1px solid var(--color-border);
  background: #fff;
  color: var(--color-text);
  transition: border-color var(--dur-fast) var(--ease), box-shadow var(--dur-fast) var(--ease);
}
.field input:focus, .field textarea:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(37,99,235,0.14);
  outline: none;
}
.field textarea { resize: vertical; min-height: 120px; }
.field .hint { font-size: 0.8rem; color: var(--color-text-faint); margin-top: 0.4em; }
.field .error-msg {
  display: none;
  font-size: 0.82rem;
  color: var(--color-error);
  margin-top: 0.4em;
}
.field.invalid input, .field.invalid textarea { border-color: var(--color-error); }
.field.invalid .error-msg { display: block; }

.form-success {
  display: none;
  text-align: center;
  padding: var(--space-6) var(--space-4);
}
.form-success.is-visible { display: block; }
.form-success .success-icon {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--color-success-bg);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto var(--space-3);
}
.form-success .success-icon svg { width: 26px; height: 26px; color: var(--color-success); }
.form-success h3 { margin-bottom: var(--space-2); }
.form-success p { color: var(--color-text-muted); max-width: 40ch; margin-inline: auto; }
#contactForm.is-hidden { display: none; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { order: -1; max-width: 420px; margin-inline: auto; width: 100%; }
  .grid-2 { grid-template-columns: 1fr; }
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .service-row, .service-row:nth-child(even) .service-visual { grid-template-columns: 1fr; }
  .service-row { grid-template-columns: 1fr; }
  .service-row:nth-child(even) .service-visual { order: 0; }
  .pricing-grid { grid-template-columns: 1fr; max-width: 420px; margin-inline: auto; }
  .price-card.featured { transform: none; }
  .value-grid { grid-template-columns: 1fr; }
}

@media (max-width: 620px) {
  .contact-info-grid { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .nav-links, .nav-actions .btn-secondary { display: none; }
  .nav-toggle { display: flex; }
  .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  section { padding-block: var(--space-7); }
}

/* Mobile nav panel */
.nav-links.is-open {
  display: flex;
  position: absolute;
  top: 100%; left: 0; right: 0;
  flex-direction: column;
  background: #fff;
  border-bottom: 1px solid var(--color-border);
  padding: var(--space-3) var(--space-4) var(--space-4);
  gap: var(--space-1);
  box-shadow: var(--shadow-md);
}
.nav-links.is-open a { padding: 0.7em 0; border-bottom: 1px solid var(--color-border); width: 100%; }

/* WhatsApp floating button */
.wa-float {
  position: fixed;
  right: var(--space-4);
  bottom: var(--space-4);
  z-index: 90;
  width: 56px; height: 56px;
  border-radius: 50%;
  background: #25D366;
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-lg);
  transition: transform var(--dur-fast) var(--ease);
}
.wa-float:hover { transform: scale(1.06); }
.wa-float svg { width: 28px; height: 28px; }
