/* ==========================================================================
   Best Towing Service Inc
   Hand-written stylesheet replacing the Tailwind/shadcn build.
   Design tokens mirror the original src/index.css HSL variables.
   ========================================================================== */

:root {
  --background: 216 28% 7%;
  --foreground: 210 40% 98%;
  --card: 216 28% 10%;
  --primary: 199 78% 48%;
  --primary-foreground: 216 28% 7%;
  --secondary: 216 20% 16%;
  --muted-foreground: 210 15% 60%;
  --destructive: 0 84.2% 60.2%;
  --border: 216 20% 18%;
  --glow-primary: 199 78% 48%;
  --glow-soft: 199 60% 70%;
  --surface-glass: 216 28% 12%;
  --radius: 0.75rem;

  --font-display: 'Orbitron', 'Segoe UI', sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  --header-h: 68px;
}

/* ------------------------------------------------------------------ reset */
*, *::before, *::after { box-sizing: border-box; }

* { border-color: hsl(var(--border)); }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: hsl(var(--background));
  color: hsl(var(--foreground));
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
h1, h2, h3, h4, p, figure, blockquote { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }

:focus-visible {
  outline: 2px solid hsl(var(--primary));
  outline-offset: 3px;
  border-radius: 6px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 200;
  padding: 10px 16px;
  background: hsl(var(--primary));
  color: hsl(var(--primary-foreground));
  font-weight: 600;
  border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

/* -------------------------------------------------------------- utilities */
.glass {
  background: hsl(var(--surface-glass) / 0.6);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.glass-strong {
  background: hsl(var(--surface-glass) / 0.8);
  backdrop-filter: blur(28px);
  -webkit-backdrop-filter: blur(28px);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.glow-primary {
  box-shadow: 0 0 20px hsl(var(--glow-primary) / 0.4),
              0 0 60px hsl(var(--glow-primary) / 0.15),
              0 0 100px hsl(var(--glow-primary) / 0.05);
}

.glow-primary-strong {
  box-shadow: 0 0 20px hsl(var(--glow-primary) / 0.6),
              0 0 60px hsl(var(--glow-primary) / 0.3),
              0 0 120px hsl(var(--glow-primary) / 0.1);
}

.glow-text {
  text-shadow: 0 0 20px hsl(var(--glow-primary) / 0.5),
               0 0 40px hsl(var(--glow-primary) / 0.2);
}

.text-gradient {
  background-image: linear-gradient(135deg, hsl(var(--glow-soft)), hsl(var(--primary)), hsl(var(--glow-soft)));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.accent { color: hsl(var(--primary)); font-weight: 600; }

.hover-glow { transition: box-shadow .3s ease, transform .3s ease; }
.hover-glow:hover {
  box-shadow: 0 0 25px hsl(var(--glow-primary) / 0.4);
  transform: translateY(-2px);
}

@keyframes pulse-glow {
  0%, 100% { box-shadow: 0 0 20px hsl(var(--glow-primary) / 0.4), 0 0 60px hsl(var(--glow-primary) / 0.15); }
  50%      { box-shadow: 0 0 30px hsl(var(--glow-primary) / 0.6), 0 0 80px hsl(var(--glow-primary) / 0.3); }
}
.pulse-glow { animation: pulse-glow 2s ease-in-out infinite; }

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-10px); }
}
.float { animation: float 3s ease-in-out infinite; }

@keyframes spin { to { transform: rotate(360deg); } }
.spin { animation: spin 1s linear infinite; }

/* Scroll-reveal (replaces framer-motion whileInView).
   Scoped to .js so every section stays readable without JavaScript. */
.js .reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .6s ease, transform .6s cubic-bezier(.22, 1, .36, 1);
  transition-delay: var(--d, 0s);
}
.js .reveal.is-visible { opacity: 1; transform: none; }

.center { text-align: center; }
.mb-lg { margin-bottom: 2.5rem; }

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; }
}

/* --------------------------------------------------------------- layout */
.container {
  width: 100%;
  max-width: 1400px;
  margin-inline: auto;
  padding-inline: 1.25rem;
}
@media (min-width: 640px) { .container { padding-inline: 2rem; } }
@media (min-width: 1024px) { .container { padding-inline: 2.5rem; } }

.measure-2 { max-width: 42rem; margin-inline: auto; }
.measure-3 { max-width: 48rem; margin-inline: auto; }
.measure-4 { max-width: 56rem; margin-inline: auto; }
.measure-5 { max-width: 64rem; margin-inline: auto; }

.section {
  position: relative;
  overflow: hidden;
  padding-block: 4rem;
}
@media (min-width: 640px) { .section { padding-block: 5rem; } }
@media (min-width: 1024px) { .section { padding-block: 6rem; } }

.section-dark     { background: linear-gradient(180deg, hsl(var(--background)) 0%, hsl(216 28% 5%) 100%); }
.section-gradient { background: linear-gradient(180deg, hsl(216 28% 9%) 0%, hsl(216 28% 6%) 100%); }

.section > .container { position: relative; z-index: 1; }

.orb {
  position: absolute;
  left: 50%;
  width: min(600px, 110vw);
  aspect-ratio: 1;
  border-radius: 50%;
  background: hsl(var(--primary) / 0.05);
  filter: blur(64px);
  transform: translateX(-50%);
  pointer-events: none;
}
.orb-top    { top: 0; }
.orb-bottom { bottom: 0; }
.orb-center { top: 50%; transform: translate(-50%, -50%); background: hsl(var(--primary) / 0.1); width: min(500px, 100vw); }

.section-head { text-align: center; margin-bottom: 2.5rem; }
@media (min-width: 640px) { .section-head { margin-bottom: 4rem; } }

.section-eyebrow {
  display: block;
  color: hsl(var(--primary));
  font-weight: 600;
  font-size: .75rem;
  letter-spacing: .15em;
  text-transform: uppercase;
}

.section-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.5rem, 1.1rem + 1.7vw, 2.25rem);
  line-height: 1.2;
  margin-top: .6rem;
}

.section-lead {
  color: hsl(var(--muted-foreground));
  font-size: .95rem;
  margin-top: .75rem;
}
@media (min-width: 640px) { .section-lead { font-size: 1rem; } }

.section-foot { text-align: center; margin-top: 3rem; }
.section-foot .card-text { margin-bottom: 1rem; }

/* ---------------------------------------------------------------- buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: .75rem 1.5rem;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: .95rem;
  line-height: 1.2;
  cursor: pointer;
  text-align: center;
  transition: transform .3s ease, background-color .3s ease, box-shadow .3s ease, opacity .2s ease;
}
.btn:hover { transform: scale(1.03); }
.btn:active { transform: scale(.98); }
.btn[disabled] { opacity: .7; cursor: default; transform: none; }

.btn-pill { border-radius: 999px; }
.btn-block { width: 100%; }

.btn-primary {
  background: hsl(var(--primary));
  color: hsl(var(--primary-foreground));
}
.btn-primary:hover { background: hsl(var(--primary) / .92); }

.btn-glass {
  background: hsl(var(--surface-glass) / 0.6);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-color: rgba(255, 255, 255, 0.1);
  color: hsl(var(--foreground));
}
.btn-outline { border-color: hsl(var(--primary) / .4); }

.btn-lg { padding: .9rem 1.75rem; font-size: 1rem; }
@media (min-width: 640px) { .btn-lg { padding: 1rem 2rem; font-size: 1.05rem; } }

.btn-xl { padding: 1rem 1.85rem; font-size: 1rem; font-weight: 700; }
@media (min-width: 640px) { .btn-xl { padding: 1.15rem 2.5rem; font-size: 1.15rem; } }

/* Button state swapping for the contact form */
.btn-state { display: none; align-items: center; gap: .5rem; }
.btn[data-state="idle"]    .is-idle,
.btn[data-state="loading"] .is-loading,
.btn[data-state="done"]    .is-done { display: inline-flex; }
.btn:not([data-state])     .is-idle { display: inline-flex; }

/* ----------------------------------------------------------------- header */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  padding-block: .75rem;
  background: transparent;
  transition: background-color .5s ease, padding .5s ease, box-shadow .5s ease, backdrop-filter .5s ease;
  animation: header-drop .6s cubic-bezier(.22, 1, .36, 1) both;
}
@keyframes header-drop { from { transform: translateY(-100%); } to { transform: none; } }

.site-header.is-scrolled {
  padding-block: .5rem;
  background: hsl(var(--surface-glass) / 0.8);
  backdrop-filter: blur(28px);
  -webkit-backdrop-filter: blur(28px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 10px 30px hsl(var(--primary) / .1);
}

.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }

.brand { display: flex; align-items: center; gap: .625rem; }

.brand-mark {
  display: grid;
  place-items: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: .5rem;
  background: hsl(var(--primary));
  color: hsl(var(--primary-foreground));
  font-family: var(--font-display);
  font-weight: 700;
  font-size: .75rem;
  box-shadow: 0 0 20px hsl(var(--glow-primary) / .4), 0 0 60px hsl(var(--glow-primary) / .15);
  transition: transform .3s ease;
}
.brand:hover .brand-mark { transform: scale(1.05); }
@media (min-width: 640px) { .brand-mark { width: 2.5rem; height: 2.5rem; font-size: .8rem; } }

.brand-mark-sm { width: 2rem; height: 2rem; font-size: .7rem; box-shadow: none; }

.brand-text { display: none; }
@media (min-width: 360px) { .brand-text { display: block; } }

.brand-name {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: .75rem;
  letter-spacing: .1em;
  line-height: 1.2;
}
.brand-sub {
  display: block;
  font-size: .625rem;
  letter-spacing: .2em;
  line-height: 1.2;
  color: hsl(var(--muted-foreground));
}

.nav-desktop { display: none; align-items: center; gap: 1.5rem; }
@media (min-width: 900px) { .nav-desktop { display: flex; } }
@media (min-width: 1024px) { .nav-desktop { gap: 2rem; } }

.nav-link {
  position: relative;
  font-size: .875rem;
  font-weight: 500;
  letter-spacing: .02em;
  color: hsl(var(--muted-foreground));
  transition: color .3s ease;
  padding-block: .25rem;
}
.nav-link::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background: hsl(var(--primary));
  transform: scaleX(0);
  transform-origin: bottom right;
  transition: transform .3s ease;
}
.nav-link:hover { color: hsl(var(--primary)); }
.nav-link:hover::after { transform: scaleX(1); transform-origin: bottom left; }

.btn-call-desktop { display: none; padding: .625rem 1.25rem; font-size: .875rem; }
@media (min-width: 900px) { .btn-call-desktop { display: inline-flex; } }

.nav-toggle {
  display: inline-grid;
  place-items: center;
  padding: .5rem;
  border: 0;
  border-radius: .5rem;
  background: transparent;
  cursor: pointer;
  transition: background-color .2s ease;
}
.nav-toggle:hover { background: hsl(var(--secondary) / .5); }
@media (min-width: 900px) { .nav-toggle { display: none; } }

.nav-toggle-close { display: none; }
.nav-toggle[aria-expanded="true"] .nav-toggle-open { display: none; }
.nav-toggle[aria-expanded="true"] .nav-toggle-close { display: block; }

.mobile-menu {
  overflow: hidden;
  background: hsl(var(--surface-glass) / 0.92);
  backdrop-filter: blur(28px);
  -webkit-backdrop-filter: blur(28px);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  animation: menu-open .3s ease both;
}
.mobile-menu[hidden] { display: none; }
@keyframes menu-open { from { opacity: 0; max-height: 0; } to { opacity: 1; max-height: 520px; } }

.mobile-menu-inner { display: flex; flex-direction: column; gap: .25rem; padding-block: 1rem; }

.mobile-link {
  padding: .75rem;
  border-radius: .5rem;
  font-size: .875rem;
  font-weight: 500;
  transition: background-color .2s ease;
  animation: link-in .3s ease both;
  animation-delay: calc(var(--i, 0) * .05s);
}
.mobile-link:hover { background: hsl(var(--secondary) / .5); }
@keyframes link-in { from { opacity: 0; transform: translateX(-20px); } to { opacity: 1; transform: none; } }

.mobile-menu .btn { margin-top: .5rem; }

/* ------------------------------------------------------------------- hero */
.hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 100svh;
  overflow: hidden;
}

.hero-bg { position: absolute; inset: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; }

.hero-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg,
              hsl(var(--background)) 0%,
              hsl(var(--background) / .85) 45%,
              hsl(var(--background) / .3) 100%);
}
@media (min-width: 640px) {
  .hero-scrim {
    background: linear-gradient(90deg,
                hsl(var(--background)) 0%,
                hsl(var(--background) / .75) 45%,
                hsl(var(--background) / .2) 100%);
  }
}
.hero-scrim-v {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, hsl(var(--background)) 0%, transparent 50%, hsl(var(--background) / .3) 100%);
}

.hero-inner {
  position: relative;
  z-index: 1;
  padding-top: 7rem;
  padding-bottom: 3rem;
}
@media (min-width: 640px) { .hero-inner { padding-top: 8rem; } }

.hero-copy { max-width: 42rem; }

.eyebrow {
  display: inline-block;
  padding: .25rem .75rem;
  border-radius: 999px;
  color: hsl(var(--primary));
  font-size: .625rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}
@media (min-width: 640px) { .eyebrow { padding: .375rem 1rem; font-size: .75rem; margin-bottom: 1.5rem; } }

.hero-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.875rem, 1rem + 4vw, 3.75rem);
  line-height: 1.1;
  margin-bottom: 1rem;
}
@media (min-width: 640px) { .hero-title { margin-bottom: 1.5rem; } }
.hero-title .text-gradient { display: inline-block; }

.hero-lead {
  color: hsl(var(--muted-foreground));
  font-size: .9rem;
  max-width: 32rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
}
@media (min-width: 640px) { .hero-lead { font-size: 1rem; margin-bottom: 2rem; } }
@media (min-width: 1024px) { .hero-lead { font-size: 1.125rem; } }

.hero-actions { display: flex; flex-direction: column; gap: .75rem; }
@media (min-width: 640px) { .hero-actions { flex-direction: row; gap: 1rem; } }

.hero-stats { display: flex; gap: 1.5rem; margin-top: 2.5rem; }
@media (min-width: 640px) { .hero-stats { gap: 2rem; margin-top: 3rem; } }

.stat { text-align: center; }
.stat-value {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.25rem;
  color: hsl(var(--primary));
}
@media (min-width: 640px) { .stat-value { font-size: 1.5rem; } }
.stat-label { font-size: .625rem; color: hsl(var(--muted-foreground)); margin-top: .25rem; }
@media (min-width: 640px) { .stat-label { font-size: .75rem; } }

.hero-orb {
  position: absolute;
  bottom: -5rem;
  right: 25%;
  width: min(384px, 70vw);
  aspect-ratio: 1;
  border-radius: 50%;
  background: hsl(var(--primary) / .1);
  filter: blur(64px);
  pointer-events: none;
}

.page-hero { padding-top: 8rem; }
@media (min-width: 640px) { .page-hero { padding-top: 10rem; } }
.page-hero .hero-title span { display: block; }
@media (min-width: 640px) { .page-hero .hero-title span { display: inline; } }
.page-hero .cta-actions { margin-top: 2rem; }

/* ------------------------------------------------------------------ grids */
.grid { display: grid; gap: 1rem; }
@media (min-width: 640px) { .grid { gap: 1.5rem; } }

.grid-2 { grid-template-columns: 1fr; }
@media (min-width: 768px) { .grid-2 { grid-template-columns: repeat(2, 1fr); } }

.grid-3 { grid-template-columns: 1fr; }
@media (min-width: 640px)  { .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } }

.grid-4 { grid-template-columns: repeat(2, 1fr); gap: .75rem; }
@media (min-width: 640px)  { .grid-4 { gap: 1.5rem; } }
@media (min-width: 1024px) { .grid-4 { grid-template-columns: repeat(4, 1fr); } }

.narrow-5 { max-width: 64rem; margin-inline: auto; }
.wide-6   { max-width: 72rem; margin-inline: auto; }

/* ------------------------------------------------------------------ cards */
.card {
  border-radius: 1rem;
  padding: 1.25rem;
}
@media (min-width: 640px) { .card { padding: 1.5rem; } }

.card-center { text-align: center; }
.card-row { display: flex; gap: 1rem; }

.card-icon {
  display: grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  border-radius: .75rem;
  background: hsl(var(--primary) / .1);
  color: hsl(var(--primary));
  margin-bottom: .75rem;
  transition: background-color .3s ease, box-shadow .3s ease;
}
@media (min-width: 640px) { .card-icon { width: 3.5rem; height: 3.5rem; margin-bottom: 1rem; } }
.card:hover .card-icon { background: hsl(var(--primary) / .2); }

.card-icon-round { border-radius: 50%; margin-inline: auto; }
@media (min-width: 640px) { .card-icon-round { width: 4rem; height: 4rem; } }

.card-row .card-icon { margin-bottom: 0; }

.card-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  line-height: 1.35;
  margin-bottom: .4rem;
}
@media (min-width: 640px) { .card-title { font-size: 1.125rem; } }
.card-title-sm { font-size: .8rem; }
@media (min-width: 640px) { .card-title-sm { font-size: .875rem; } }
.card-title-lg { font-size: 1.125rem; }
@media (min-width: 640px) { .card-title-lg { font-size: 1.25rem; } }

.card-text {
  color: hsl(var(--muted-foreground));
  font-size: .8125rem;
  line-height: 1.7;
}
@media (min-width: 640px) { .card-text { font-size: .875rem; } }
.card-text-sm { font-size: .6875rem; }
@media (min-width: 640px) { .card-text-sm { font-size: .75rem; } }

/* ----------------------------------------------------------- testimonials */
.rating-row { display: flex; align-items: center; justify-content: center; gap: .5rem; margin-top: .875rem; }
.stars { display: inline-flex; gap: 2px; color: hsl(var(--primary)); }
.stars svg { width: 1rem; height: 1rem; }
.stars-sm { display: flex; margin-bottom: .75rem; }
.stars-sm svg { width: .875rem; height: .875rem; }
.rating-text { color: hsl(var(--muted-foreground)); font-size: .8125rem; }

.testimonial { position: relative; display: flex; flex-direction: column; }
.quote-mark { position: absolute; top: 1rem; right: 1rem; color: hsl(var(--primary) / .2); }
.testimonial-text { margin-bottom: 1.25rem; flex: 1; }

.testimonial-foot {
  display: flex;
  align-items: center;
  gap: .75rem;
  padding-top: 1rem;
  border-top: 1px solid hsl(var(--border));
}

.avatar {
  display: grid;
  place-items: center;
  flex: none;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  background: hsl(var(--primary) / .15);
  color: hsl(var(--primary));
  font-family: var(--font-display);
  font-weight: 700;
  font-size: .8125rem;
}
@media (min-width: 640px) { .avatar { width: 2.5rem; height: 2.5rem; } }

.testimonial-who { min-width: 0; }
.testimonial-name {
  display: block;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: .8125rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.testimonial-loc {
  display: block;
  color: hsl(var(--muted-foreground));
  font-size: .6875rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* ----------------------------------------------------------- social media */
.social-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 1.25rem; }
@media (min-width: 640px) { .social-row { gap: 2rem; } }

.social-tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .5rem;
  perspective: 600px;
}

.social-badge {
  position: relative;
  display: grid;
  place-items: center;
  width: 4rem;
  height: 4rem;
  border-radius: 1rem;
  color: #fff;
  box-shadow: 0 10px 20px rgba(0, 0, 0, .35);
  transition: transform .3s cubic-bezier(.22, 1, .36, 1), box-shadow .3s ease;
}
@media (min-width: 640px) { .social-badge { width: 5rem; height: 5rem; } }

.social-tile:hover .social-badge {
  transform: translateY(-8px) scale(1.15) rotateY(15deg) rotateX(-10deg);
  box-shadow: 0 24px 40px rgba(0, 0, 0, .45);
}
.social-tile:active .social-badge { transform: scale(.92); }

.social-badge .brand-icon {
  position: relative;
  z-index: 1;
  width: 1.5rem;
  height: 1.5rem;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, .4));
  transition: filter .3s ease;
}
@media (min-width: 640px) { .social-badge .brand-icon { width: 1.75rem; height: 1.75rem; } }
.social-tile:hover .brand-icon { filter: drop-shadow(0 0 12px rgba(255, 255, 255, .6)); }

.social-shine {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(to top right, rgba(255, 255, 255, .3), transparent 60%);
  opacity: .6;
  transition: opacity .3s ease;
}
.social-tile:hover .social-shine { opacity: .85; }

.social-halo {
  position: absolute;
  inset: -4px;
  border-radius: inherit;
  background: inherit;
  opacity: 0;
  filter: blur(12px);
  transition: opacity .3s ease;
  z-index: -1;
}
.social-tile:hover .social-halo { opacity: .4; }

.social-tiktok    { background: linear-gradient(135deg, #010101, #69C9D0); }
.social-instagram { background: linear-gradient(135deg, #F58529, #DD2A7B 55%, #8134AF); }
.social-facebook  { background: linear-gradient(135deg, #1877F2, #0C5DC7); }
.social-youtube   { background: linear-gradient(135deg, #FF0000, #CC0000); }

.social-name {
  font-size: .75rem;
  font-weight: 500;
  color: hsl(var(--muted-foreground));
  transition: color .3s ease;
}
@media (min-width: 640px) { .social-name { font-size: .875rem; } }
.social-tile:hover .social-name { color: hsl(var(--primary)); }

/* ------------------------------------------------------------- whatsapp */
.whatsapp-wrap { display: flex; justify-content: center; margin-top: 3.5rem; }
@media (min-width: 640px) { .whatsapp-wrap { margin-top: 5rem; } }

.whatsapp-card-outer { position: relative; }

.whatsapp-halo {
  position: absolute;
  inset: -8px;
  border-radius: 1.75rem;
  background: linear-gradient(90deg, #25D366, hsl(var(--primary)), #25D366);
  opacity: .3;
  filter: blur(20px);
  transition: opacity .5s ease;
}
.whatsapp-card-outer:hover .whatsapp-halo { opacity: .6; }

.whatsapp-card {
  position: relative;
  max-width: 24rem;
  padding: 1.5rem;
  border-radius: 1.5rem;
  text-align: center;
  border-color: rgba(37, 211, 102, .2);
  transition: border-color .5s ease;
}
@media (min-width: 640px) { .whatsapp-card { padding: 2rem; } }
.whatsapp-card-outer:hover .whatsapp-card { border-color: rgba(37, 211, 102, .45); }

.whatsapp-badge {
  display: grid;
  place-items: center;
  width: 3.5rem;
  height: 3.5rem;
  margin: 0 auto 1rem;
  border-radius: 50%;
  background: linear-gradient(135deg, #25D366, #128C7E);
  color: #fff;
  box-shadow: 0 8px 20px rgba(0, 0, 0, .35);
  transition: transform .5s ease;
}
.whatsapp-card-outer:hover .whatsapp-badge { transform: rotate(-8deg); }

.whatsapp-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.125rem;
  margin-bottom: .35rem;
}
@media (min-width: 640px) { .whatsapp-title { font-size: 1.25rem; } }

.whatsapp-qr {
  position: relative;
  width: 12rem;
  height: 12rem;
  margin: 1.25rem auto 0;
  border-radius: 1rem;
  overflow: hidden;
  border: 2px solid rgba(37, 211, 102, .3);
  box-shadow: 0 14px 30px rgba(0, 0, 0, .4);
  transition: transform .3s cubic-bezier(.22, 1, .36, 1);
}
@media (min-width: 640px) { .whatsapp-qr { width: 14rem; height: 14rem; } }
.whatsapp-qr:hover { transform: scale(1.05) rotateY(5deg) rotateX(-5deg); }
.whatsapp-qr img { width: 100%; height: 100%; object-fit: cover; }

.whatsapp-hint {
  margin-top: 1rem;
  color: #25D366;
  font-weight: 600;
  font-size: .75rem;
  letter-spacing: .05em;
  text-transform: uppercase;
}

/* -------------------------------------------------------------------- CTA */
.cta { text-align: center; }
.cta-wash {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, hsl(var(--primary) / .1), hsl(var(--primary) / .05) 50%, transparent);
  pointer-events: none;
}
.cta-inner { position: relative; z-index: 1; }

.cta-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.5rem, .9rem + 2.6vw, 3rem);
  line-height: 1.15;
  margin-bottom: 1rem;
}

.cta-lead {
  color: hsl(var(--muted-foreground));
  font-size: .95rem;
  max-width: 34rem;
  margin: 0 auto 2rem;
  line-height: 1.7;
}
@media (min-width: 1024px) { .cta-lead { font-size: 1.125rem; margin-bottom: 2.5rem; } }

.cta-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .75rem;
}
@media (min-width: 640px) { .cta-actions { flex-direction: row; gap: 1rem; } }

.cta-note { margin-top: 1.25rem; color: hsl(var(--muted-foreground)); font-size: .8125rem; }

/* ---------------------------------------------------------------- contact */
.contact-grid {
  display: grid;
  gap: 2rem;
  max-width: 56rem;
  margin-inline: auto;
}
@media (min-width: 768px) { .contact-grid { grid-template-columns: repeat(2, 1fr); gap: 3rem; } }

.contact-info { display: flex; flex-direction: column; gap: 1.5rem; }
@media (min-width: 640px) { .contact-info { gap: 2rem; } }

.info-row { display: flex; align-items: flex-start; gap: 1rem; }

.info-icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: .75rem;
  background: hsl(var(--primary) / .1);
  color: hsl(var(--primary));
}
@media (min-width: 640px) { .info-icon { width: 3rem; height: 3rem; } }

.info-title { font-weight: 600; font-size: .9375rem; margin-bottom: .15rem; }

.info-phone {
  display: block;
  color: hsl(var(--primary));
  font-weight: 600;
  font-size: 1.0625rem;
}
.info-phone:hover { text-decoration: underline; }

.contact-form {
  display: flex;
  flex-direction: column;
  gap: .75rem;
  padding: 1.25rem;
  border-radius: 1rem;
}
@media (min-width: 640px) { .contact-form { padding: 1.5rem; gap: 1rem; } }

.field {
  width: 100%;
  padding: .75rem 1rem;
  border: 1px solid hsl(var(--border));
  border-radius: .75rem;
  background: hsl(var(--secondary) / .5);
  color: hsl(var(--foreground));
  font-family: inherit;
  font-size: .9375rem;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.field::placeholder { color: hsl(var(--muted-foreground)); }
.field:focus {
  outline: none;
  border-color: hsl(var(--primary) / .5);
  box-shadow: 0 0 0 3px hsl(var(--primary) / .25);
}
.field:disabled { opacity: .5; }
.field[aria-invalid="true"] { border-color: hsl(var(--destructive)); }

/* honeypot - hidden from humans, visible to naive bots */
.hp-field {
  position: absolute !important;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.form-note { color: hsl(var(--muted-foreground)); font-size: .6875rem; text-align: center; }

/* ------------------------------------------------------------------ prose */
.prose-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.5rem, 1.2rem + 1.2vw, 1.875rem);
  line-height: 1.25;
  margin-bottom: 1.25rem;
}
.prose { display: flex; flex-direction: column; gap: 1rem; }
.prose p { color: hsl(var(--muted-foreground)); font-size: .9375rem; line-height: 1.8; }
@media (min-width: 640px) { .prose p { font-size: 1rem; } }

/* ------------------------------------------------------------------ areas */
.area-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: .75rem; }
@media (min-width: 640px) { .area-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 768px) { .area-grid { grid-template-columns: repeat(4, 1fr); } }

.area-chip {
  display: flex;
  align-items: center;
  gap: .5rem;
  padding: .75rem 1rem;
  border-radius: .75rem;
  font-size: .875rem;
}
.area-chip svg { flex: none; color: hsl(var(--primary)); }

/* -------------------------------------------------------------- accordion */
.accordion { border-radius: 1rem; padding-inline: 1.25rem; }
@media (min-width: 640px) { .accordion { padding-inline: 1.5rem; } }

.accordion-item { border-bottom: 1px solid hsl(var(--border)); }
.accordion-item:last-child { border-bottom: 0; }

.accordion-heading { margin: 0; font-size: inherit; font-weight: inherit; }

.accordion-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: 100%;
  padding: 1rem 0;
  border: 0;
  background: none;
  text-align: left;
  font-weight: 600;
  font-size: .9375rem;
  cursor: pointer;
  transition: color .2s ease;
}
.accordion-trigger:hover { color: hsl(var(--primary)); }

.accordion-chevron { flex: none; transition: transform .2s ease; }
.accordion-trigger[aria-expanded="true"] .accordion-chevron { transform: rotate(180deg); }

.accordion-panel { overflow: hidden; }
.accordion-panel[hidden] { display: none; }
.accordion-body {
  padding-bottom: 1rem;
  color: hsl(var(--muted-foreground));
  font-size: .875rem;
  line-height: 1.75;
}

/* ----------------------------------------------------------------- footer */
.site-footer {
  padding-block: 2.5rem;
  border-top: 1px solid hsl(var(--border));
  background: hsl(var(--background));
}
@media (min-width: 640px) { .site-footer { padding-block: 3rem; } }

.footer-grid { display: grid; gap: 2rem; margin-bottom: 2rem; }
@media (min-width: 640px)  { .footer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .footer-grid { grid-template-columns: repeat(4, 1fr); } }

.footer-brand { display: flex; align-items: center; gap: .5rem; margin-bottom: .75rem; }
.footer-text { color: hsl(var(--muted-foreground)); font-size: .8125rem; line-height: 1.7; }

.footer-heading {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: .875rem;
  margin-bottom: .75rem;
}

.footer-stack { display: flex; flex-direction: column; gap: .5rem; align-items: flex-start; }

.footer-link {
  display: flex;
  align-items: center;
  gap: .5rem;
  color: hsl(var(--muted-foreground));
  font-size: .8125rem;
  transition: color .2s ease;
}
.footer-link:hover { color: hsl(var(--primary)); }
.footer-link-static:hover { color: hsl(var(--muted-foreground)); }

.footer-socials { display: flex; flex-wrap: wrap; gap: .75rem; }

.footer-chip {
  padding: .375rem .75rem;
  border-radius: .5rem;
  color: hsl(var(--muted-foreground));
  font-size: .75rem;
  transition: color .2s ease;
}
.footer-chip:hover { color: hsl(var(--primary)); }

.footer-bottom {
  padding-top: 1.5rem;
  border-top: 1px solid hsl(var(--border));
  text-align: center;
  color: hsl(var(--muted-foreground));
  font-size: .6875rem;
}
@media (min-width: 640px) { .footer-bottom { font-size: .75rem; } }

/* ----------------------------------------------------------- sticky call */
.sticky-call {
  position: fixed;
  right: 1.5rem;
  bottom: 1.5rem;
  z-index: 50;
  display: grid;
  place-items: center;
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 50%;
  background: hsl(var(--primary));
  color: hsl(var(--primary-foreground));
  animation: sticky-in .4s cubic-bezier(.34, 1.56, .64, 1) 1s both, pulse-glow 2s ease-in-out 1.4s infinite;
}
@keyframes sticky-in { from { transform: scale(0); } to { transform: scale(1); } }
@media (min-width: 900px) { .sticky-call { display: none; } }

/* --------------------------------------------------------------- toasts */
.toast-stack {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 100;
  display: flex;
  flex-direction: column;
  gap: .5rem;
  max-width: min(24rem, calc(100vw - 2rem));
}
@media (max-width: 899px) { .toast-stack { bottom: 5.5rem; } }

.toast {
  padding: .875rem 1rem;
  border-radius: .75rem;
  background: hsl(var(--card));
  border: 1px solid hsl(var(--border));
  box-shadow: 0 18px 40px rgba(0, 0, 0, .5);
  animation: toast-in .25s ease both;
}
@keyframes toast-in { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.toast.is-leaving { animation: toast-out .25s ease both; }
@keyframes toast-out { to { opacity: 0; transform: translateY(12px); } }

.toast-title { font-weight: 600; font-size: .875rem; }
.toast-desc  { color: hsl(var(--muted-foreground)); font-size: .8125rem; margin-top: .15rem; }
.toast-error { border-color: hsl(var(--destructive) / .6); }
.toast-error .toast-title { color: hsl(var(--destructive)); }

/* ------------------------------------------------------------------- 404 */
.notfound {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100svh;
  text-align: center;
  padding: 2rem;
}
.notfound h1 { font-family: var(--font-display); font-size: 2.5rem; margin-bottom: 1rem; }
.notfound p  { color: hsl(var(--muted-foreground)); font-size: 1.125rem; margin-bottom: 1.5rem; }
.notfound a  { color: hsl(var(--primary)); text-decoration: underline; }

/* ------------------------------------------------- optional review form */
.review-card { max-width: 42rem; margin: 0 auto 3rem; padding: 1.5rem; }
@media (min-width: 640px) { .review-card { padding: 2rem; } }

.review-form { display: flex; flex-direction: column; gap: 1rem; }
.review-row { display: grid; gap: 1rem; }
@media (min-width: 640px) { .review-row { grid-template-columns: repeat(2, 1fr); } }

.review-message { min-height: 120px; resize: vertical; line-height: 1.6; }

.rating-picker { display: flex; align-items: center; gap: .75rem; }
.rating-stars { display: inline-flex; gap: .25rem; }

.rating-star {
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
  color: hsl(var(--muted-foreground));
  transition: transform .2s ease, color .2s ease;
}
.rating-star svg { width: 1.5rem; height: 1.5rem; fill: none; }
.rating-star:hover { transform: scale(1.25); }
.rating-star.is-active { color: hsl(var(--primary)); }
.rating-star.is-active svg { fill: currentColor; }
