:root {
  --orange: #ff4001;
  --orange-2: #ff6a2d;
  --ink: #201e1f;
  --night: #0b0b0c;
  --steel: #171719;
  --paper: #ffffff;
  --muted: #b9b5b2;
  --line: rgba(255, 255, 255, 0.14);
  --shadow: 0 30px 80px rgba(0, 0, 0, 0.34);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--night);
  color: var(--paper);
  font-family: Inter, sans-serif;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(110deg, rgba(255, 64, 1, 0.16), transparent 28%),
    radial-gradient(circle at 80% 10%, rgba(255, 255, 255, 0.08), transparent 28%),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.035) 0 1px, transparent 1px 90px),
    var(--night);
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.16;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 250 250' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='250' height='250' filter='url(%23n)' opacity='.55'/%3E%3C/svg%3E");
  mix-blend-mode: screen;
}

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

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

.cursor-light {
  position: fixed;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  pointer-events: none;
  z-index: 5;
  opacity: 0;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(255, 64, 1, 0.18), transparent 62%);
  transition: opacity 220ms ease;
}

.site-header {
  position: fixed;
  top: 16px;
  left: 50%;
  z-index: 20;
  width: min(1180px, calc(100% - 32px));
  min-height: 72px;
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  align-items: center;
  gap: 24px;
  padding: 10px 12px 10px 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: transparent;
  box-shadow: none;
  transform: translateX(-50%);
  backdrop-filter: blur(20px);
  transition: min-height 220ms ease, background 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.site-header.scrolled {
  min-height: 62px;
  border-color: var(--line);
  background: rgba(12, 12, 13, 0.94);
  box-shadow: var(--shadow);
}

.site-header.compact {
  position: sticky;
  transform: none;
  margin: 16px auto 0;
  left: auto;
}

.brand img {
  width: 194px;
  height: auto;
}

.site-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
}

.site-nav a,
.header-cta,
.social-cta {
  border-radius: var(--radius);
  padding: 12px 14px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
  transition: color 180ms ease, background 180ms ease, transform 180ms ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--paper);
  background: rgba(255, 255, 255, 0.08);
}

.header-cta {
  color: var(--paper);
  background: var(--orange);
}

.social-cta {
  width: 46px;
  height: 46px;
  display: inline-grid;
  place-items: center;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.07);
}

.social-cta svg,
.whatsapp-float svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

.social-cta:hover,
.social-cta:focus-visible {
  color: var(--paper);
  transform: translateY(-2px) rotate(-3deg);
  border-color: rgba(255, 64, 1, 0.58);
  background: rgba(255, 64, 1, 0.18);
}

.header-cta:hover,
.header-cta:focus-visible {
  transform: translateY(-2px);
  background: var(--orange-2);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: transparent;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 5px auto;
  background: var(--paper);
  transition: transform 200ms ease;
}

.hero {
  position: relative;
  min-height: 92vh;
  display: grid;
  align-items: end;
  padding: 150px 24px 54px;
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: -1;
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(11, 11, 12, 0.95), rgba(11, 11, 12, 0.58) 48%, rgba(11, 11, 12, 0.32)),
    linear-gradient(0deg, var(--night), transparent 34%);
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.82) contrast(1.05);
  animation: heroZoom 14s ease-in-out infinite alternate;
}

.hero-grid {
  width: min(1180px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 44px;
  align-items: end;
}

.eyebrow,
.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--orange-2);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.eyebrow::before,
.section-kicker::before {
  content: "";
  width: 34px;
  height: 2px;
  background: var(--orange);
}

h1,
h2,
h3 {
  margin: 0;
  font-family: Inter, sans-serif;
  letter-spacing: 0;
  line-height: 0.92;
}

h1,
h2,
h3,
.site-nav a,
.footer a,
.contact-details a,
.testimonial-card strong {
  background-image: linear-gradient(90deg, currentColor, currentColor), linear-gradient(90deg, var(--orange), var(--orange-2));
  background-position: 0 100%, 0 100%;
  background-repeat: no-repeat;
  background-size: 0 2px, 0 2px;
  transition: background-size 280ms ease, color 220ms ease, transform 220ms ease;
}

.hero-copy:hover h1,
.section-heading:hover h2,
.feature-copy:hover h2,
.insurance-copy:hover h2,
.contact-card:hover h2,
.map-copy:hover h2 {
  background-size: 0 2px, 100% 2px;
  transform: translateX(4px);
}

.site-nav a:hover,
.footer a:hover,
.contact-details a:hover,
.testimonial-card:hover strong {
  background-size: 100% 2px, 0 2px;
}

h1 {
  max-width: 830px;
  margin-top: 20px;
  font-size: clamp(3.2rem, 8vw, 7.9rem);
  font-weight: 900;
  text-transform: uppercase;
}

h2 {
  font-size: clamp(2.4rem, 5vw, 5.7rem);
  font-weight: 900;
  text-transform: uppercase;
}

h3 {
  font-size: 1.55rem;
  font-weight: 900;
  line-height: 1;
}

p {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.7;
}

.hero-copy p {
  max-width: 680px;
  font-size: 1.1rem;
}

.hero-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.btn::after {
  content: "";
  position: absolute;
  inset: 0;
  transform: translateX(-105%);
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.22), transparent);
  transition: transform 520ms ease;
}

.btn:hover::after,
.btn:focus-visible::after {
  transform: translateX(105%);
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-3px);
}

.btn-primary {
  border-color: var(--orange);
  background: var(--orange);
  color: var(--paper);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.06);
  color: var(--paper);
}

.diagnostic-card {
  position: relative;
  min-height: 350px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: linear-gradient(145deg, rgba(255, 64, 1, 0.22), rgba(255, 255, 255, 0.07));
  box-shadow: var(--shadow);
}

.diagnostic-card::before {
  content: "";
  position: absolute;
  inset: 16px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
}

.diagnostic-card > * {
  position: relative;
  z-index: 1;
}

.diagnostic-card span {
  color: var(--orange-2);
  font-weight: 900;
  text-transform: uppercase;
}

.diagnostic-card strong {
  display: block;
  margin-top: 74px;
  font-family: Inter, sans-serif;
  font-size: 2.15rem;
  font-weight: 900;
  line-height: 0.98;
  text-transform: uppercase;
}

.scan-line {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 2px;
  background: var(--orange);
  box-shadow: 0 0 30px var(--orange);
  animation: scan 3s ease-in-out infinite;
}

.metric-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 24px;
}

.metric-row div {
  padding: 14px 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(0, 0, 0, 0.26);
}

.metric-row b,
.metric-row small {
  display: block;
}

.metric-row b {
  color: var(--orange-2);
  font-size: 1.6rem;
}

.metric-row small {
  color: rgba(255, 255, 255, 0.7);
  font-size: 11px;
  text-transform: uppercase;
}

.service-ribbon {
  position: relative;
  border-block: 1px solid var(--line);
  overflow: hidden;
  background: var(--orange);
  color: var(--paper);
}

.service-ribbon::before {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(115deg, rgba(255, 255, 255, 0.16) 0 1px, transparent 1px 34px);
  animation: ribbonTexture 8s linear infinite;
}

.ribbon-track {
  position: relative;
  display: flex;
  width: fit-content;
  min-width: max-content;
  transform: translate3d(0, 0, 0);
  will-change: transform;
}

.ribbon-group {
  display: flex;
  flex-shrink: 0;
}

.ribbon-group span {
  padding: 16px 26px;
  font-family: Inter, sans-serif;
  font-size: 1rem;
  font-weight: 900;
  text-transform: uppercase;
  white-space: nowrap;
  text-shadow: 0 10px 24px rgba(0, 0, 0, 0.22);
  animation: ribbonWords 2.8s ease-in-out infinite;
}

.ribbon-group span:nth-child(2n) {
  animation-delay: 450ms;
}

.section {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 110px 0;
}

.split {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 56px;
  align-items: end;
  margin-top: 18px;
}

.split p {
  margin: 0 0 8px;
  font-size: 1.05rem;
}

.section-heading {
  display: grid;
  gap: 18px;
  margin-bottom: 36px;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.service-card {
  position: relative;
  min-height: 280px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: rgba(255, 255, 255, 0.055);
  transition: transform 260ms ease, border-color 260ms ease, background 260ms ease;
}

.service-card img {
  width: 100%;
  height: 166px;
  object-fit: cover;
  border-bottom: 1px solid var(--line);
  filter: saturate(0.86) contrast(1.05);
  transition: transform 520ms ease, filter 520ms ease;
}

.service-card::after {
  content: "";
  position: absolute;
  right: -40px;
  bottom: -40px;
  width: 130px;
  height: 130px;
  border: 1px solid rgba(255, 64, 1, 0.5);
  transform: rotate(18deg);
  transition: transform 360ms ease;
}

.service-card:hover {
  transform: translateY(-8px);
  border-color: rgba(255, 64, 1, 0.58);
  background: rgba(255, 64, 1, 0.11);
}

.service-card:hover img {
  transform: scale(1.06);
  filter: saturate(1.08) contrast(1.1);
}

.service-card:hover::after {
  transform: rotate(18deg) scale(1.3);
}

.service-card span {
  display: inline-block;
  margin: 20px 22px 44px;
  color: var(--orange-2);
  font-family: Inter, sans-serif;
  font-size: 2rem;
  font-weight: 900;
}

.service-card h3,
.service-card p {
  margin-inline: 22px;
}

.service-card p {
  margin-bottom: 24px;
}

.feature-band,
.insurance,
.contact-section {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 18px;
  align-items: stretch;
  padding: 36px 0 100px;
}

.feature-image,
.insurance-stack {
  position: relative;
  min-height: 560px;
  border-radius: var(--radius);
  overflow: hidden;
}

.feature-image img,
.insurance-stack img,
.gallery-strip img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.9) contrast(1.06);
  transition: transform 700ms ease, filter 700ms ease;
}

.feature-image:hover img,
.insurance-stack:hover img,
.gallery-strip img:hover {
  transform: scale(1.05);
  filter: saturate(1.1) contrast(1.1);
}

.feature-copy,
.insurance-copy,
.contact-card,
.contact-details {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(24px, 4vw, 48px);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.035));
}

.check-list {
  display: grid;
  gap: 12px;
  padding: 0;
  margin: 28px 0 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 30px;
  color: rgba(255, 255, 255, 0.82);
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 22px rgba(255, 64, 1, 0.72);
}

.values {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  padding-top: 0;
}

.value-panel {
  min-height: 240px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  color: var(--ink);
  transition: transform 240ms ease, box-shadow 240ms ease;
}

.value-panel:hover {
  transform: translateY(-8px);
  box-shadow: 0 26px 60px rgba(255, 64, 1, 0.16);
}

.value-panel span {
  color: var(--orange);
  font-weight: 900;
  text-transform: uppercase;
}

.value-panel p {
  color: #454242;
  font-size: 1.05rem;
}

.convenience-section {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto 100px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.convenience-copy,
.systems-panel {
  min-height: 420px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(24px, 4vw, 44px);
  overflow: hidden;
}

.convenience-copy {
  position: relative;
  background:
    linear-gradient(135deg, rgba(255, 64, 1, 0.2), transparent 45%),
    rgba(255, 255, 255, 0.06);
}

.convenience-copy::after {
  content: "";
  position: absolute;
  right: -80px;
  bottom: -80px;
  width: 260px;
  height: 260px;
  border: 1px solid rgba(255, 64, 1, 0.42);
  transform: rotate(18deg);
  transition: transform 420ms ease;
}

.convenience-copy:hover::after {
  transform: rotate(18deg) scale(1.18);
}

.convenience-copy h2 {
  margin-top: 20px;
  font-size: clamp(2.25rem, 4.2vw, 4.8rem);
}

.systems-panel {
  background: var(--paper);
  color: var(--ink);
}

.systems-panel h3 {
  margin-top: 20px;
  color: var(--ink);
  font-size: clamp(1.6rem, 3vw, 3rem);
}

.systems-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 34px;
}

.systems-grid span {
  display: grid;
  min-height: 62px;
  place-items: center;
  padding: 12px;
  border: 1px solid rgba(32, 30, 31, 0.14);
  border-radius: var(--radius);
  color: var(--ink);
  font-size: 0.84rem;
  font-weight: 900;
  text-align: center;
  text-transform: uppercase;
  transition: transform 220ms ease, background 220ms ease, color 220ms ease, border-color 220ms ease;
}

.systems-grid span:hover {
  transform: translateY(-4px);
  border-color: var(--orange);
  background: var(--orange);
  color: var(--paper);
}

.insurance {
  grid-template-columns: 1fr 0.8fr;
  padding-top: 0;
}

.floating-note {
  position: absolute;
  right: 18px;
  bottom: 18px;
  max-width: 260px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(11, 11, 12, 0.82);
  backdrop-filter: blur(16px);
}

.floating-note b,
.floating-note span {
  display: block;
}

.floating-note b {
  color: var(--orange-2);
  text-transform: uppercase;
}

.floating-note span {
  margin-top: 6px;
  color: var(--paper);
  font-family: Inter, sans-serif;
  font-size: 1.4rem;
  font-weight: 900;
  line-height: 1;
}

.gallery-strip {
  width: min(1180px, calc(100% - 32px));
  height: 310px;
  margin: 0 auto 100px;
  display: grid;
  grid-template-columns: 1fr 0.7fr 1.15fr;
  gap: 14px;
}

.gallery-strip img {
  border-radius: var(--radius);
}

.testimonials {
  padding-top: 0;
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.testimonial-card {
  min-height: 255px;
  display: flex;
  flex-direction: column;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(255, 64, 1, 0.12), transparent 42%),
    rgba(255, 255, 255, 0.06);
  transition: transform 240ms ease, border-color 240ms ease, background 240ms ease;
}

.testimonial-avatar {
  width: 66px;
  height: 66px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  border: 2px solid rgba(255, 64, 1, 0.78);
  border-radius: 50%;
  color: var(--paper);
  font-size: 1.6rem;
  font-weight: 900;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.28);
  transition: transform 260ms ease, border-color 260ms ease, box-shadow 260ms ease;
}

.avatar-red {
  background: #c51f1a;
}

.avatar-yellow {
  background: #d8aa15;
}

.avatar-lilac {
  background: #8d66d6;
}

.avatar-green {
  background: #1f8f55;
}

.avatar-pink {
  background: #d65a9c;
}

.avatar-blue {
  background: #2878d7;
}

.testimonial-card:hover {
  transform: translateY(-7px);
  border-color: rgba(255, 64, 1, 0.58);
  background:
    linear-gradient(135deg, rgba(255, 64, 1, 0.2), transparent 48%),
    rgba(255, 255, 255, 0.08);
}

.testimonial-card:hover .testimonial-avatar {
  transform: translateY(-4px) rotate(-4deg) scale(1.06);
  border-color: var(--paper);
  box-shadow: 0 18px 44px rgba(255, 64, 1, 0.22);
}

.stars {
  color: var(--orange-2);
  font-size: 0.98rem;
  letter-spacing: 0;
}

.testimonial-card p {
  flex: 1;
  color: rgba(255, 255, 255, 0.84);
  font-size: 1rem;
}

.testimonial-card strong {
  color: var(--paper);
  font-size: 1rem;
}

.testimonial-card span {
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 800;
  text-transform: uppercase;
}

.contact-section {
  grid-template-columns: 1.15fr 0.85fr;
  padding-top: 0;
  padding-bottom: 28px;
}

.contact-card h2 {
  max-width: 780px;
}

.contact-details {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.instagram-card-image {
  width: 100%;
  height: 210px;
  margin-bottom: 24px;
  border-radius: var(--radius);
  object-fit: cover;
  border: 1px solid var(--line);
  filter: saturate(1.05) contrast(1.04);
  transition: transform 420ms ease, filter 420ms ease;
}

.contact-details:hover .instagram-card-image {
  transform: translateY(-4px) scale(1.015);
  filter: saturate(1.16) contrast(1.08);
}

.social-label {
  color: var(--orange-2);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.contact-details a {
  color: var(--orange-2);
  font-family: Inter, sans-serif;
  font-size: 1.55rem;
  font-weight: 900;
}

.instagram-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 14px;
}

.instagram-link svg {
  width: 32px;
  height: 32px;
  flex: 0 0 auto;
  fill: currentColor;
  transition: transform 220ms ease;
}

.instagram-link:hover svg,
.instagram-link:focus-visible svg {
  transform: rotate(-6deg) scale(1.08);
}

.map-section {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto 100px;
  display: grid;
  grid-template-columns: 1.32fr 0.68fr;
  gap: 18px;
}

.map-copy {
  position: relative;
  min-height: 420px;
  padding: clamp(24px, 4vw, 42px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(11, 11, 12, 0.72), rgba(11, 11, 12, 0.34)),
    linear-gradient(0deg, rgba(11, 11, 12, 0.64), rgba(11, 11, 12, 0.1)),
    url("fachada-auto-center-aguanambi-optimized.jpg") center / cover;
  color: var(--paper);
  box-shadow: var(--shadow);
}

.map-copy::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 18% 24%, rgba(255, 64, 1, 0.32), transparent 34%);
  pointer-events: none;
}

.map-copy > * {
  position: relative;
  z-index: 1;
}

.map-copy h2 {
  margin-top: 18px;
  color: var(--paper);
  font-size: clamp(2.1rem, 4vw, 4.2rem);
  text-shadow: 0 18px 44px rgba(0, 0, 0, 0.72);
}

.map-copy p {
  max-width: 420px;
  color: rgba(255, 255, 255, 0.88);
  text-shadow: 0 10px 26px rgba(0, 0, 0, 0.7);
}

.location-mini-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 34px;
}

.location-mini-grid div,
.location-route-card {
  min-height: 112px;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  background: rgba(10, 10, 11, 0.46);
  transition: transform 220ms ease, background 220ms ease, border-color 220ms ease;
}

.location-mini-grid div:hover,
.location-route-card:hover,
.location-route-card:focus-visible {
  transform: translateY(-4px);
  border-color: rgba(255, 64, 1, 0.68);
  background: rgba(255, 64, 1, 0.28);
}

.location-mini-grid svg {
  width: 24px;
  height: 24px;
  fill: var(--orange-2);
}

.location-mini-grid span,
.location-mini-grid strong {
  display: block;
}

.location-mini-grid span {
  margin-top: 18px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
}

.location-mini-grid strong {
  margin-top: 4px;
  color: var(--paper);
  font-size: 0.95rem;
}

.location-route-card {
  color: inherit;
}

.map-frame {
  min-height: 320px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.map-frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
  filter: grayscale(0.22) contrast(1.04);
}

.whatsapp-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 24;
  width: 62px;
  height: 62px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--paper);
  background: #25d366;
  box-shadow: 0 18px 42px rgba(37, 211, 102, 0.35);
  animation: whatsappPulse 1.45s ease-in-out infinite;
  transition: transform 180ms ease;
}

.whatsapp-float::before,
.whatsapp-float::after {
  content: "";
  position: absolute;
  inset: -6px;
  z-index: -1;
  border-radius: 50%;
  border: 2px solid rgba(37, 211, 102, 0.58);
  animation: whatsappRing 1.9s ease-out infinite;
}

.whatsapp-float::after {
  animation-delay: 0.55s;
}

.whatsapp-float:hover,
.whatsapp-float:focus-visible {
  transform: translateY(-4px) scale(1.04);
}

.whatsapp-float svg {
  width: 34px;
  height: 34px;
}

.cookie-banner {
  position: fixed;
  left: 22px;
  bottom: 22px;
  z-index: 25;
  width: min(520px, calc(100% - 44px));
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 18px;
  align-items: center;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(12, 12, 13, 0.94);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
  transform: translateY(calc(100% + 34px));
  opacity: 0;
  pointer-events: none;
  transition: transform 360ms ease, opacity 360ms ease;
}

.cookie-banner.show {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.cookie-banner strong {
  display: block;
  color: var(--paper);
}

.cookie-banner p {
  margin: 4px 0 0;
  font-size: 0.9rem;
  line-height: 1.45;
}

.cookie-banner a {
  color: var(--orange-2);
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto 24px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 18px;
  align-items: center;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.06);
}

.footer img {
  width: 70px;
  height: 70px;
  object-fit: cover;
  flex: 0 0 auto;
  border-radius: var(--radius);
}

.footer p {
  margin: 4px 0 0;
  font-size: 0.9rem;
}

.footer nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 14px;
}

.footer a {
  color: rgba(255, 255, 255, 0.74);
  font-size: 0.9rem;
}

.footer a:hover {
  color: var(--orange-2);
}

.legal-body {
  min-height: 100vh;
}

.legal-shell {
  width: min(900px, calc(100% - 32px));
  margin: 76px auto 80px;
}

.legal-shell h1 {
  margin-top: 18px;
  font-size: clamp(3rem, 8vw, 6.2rem);
}

.legal-lead {
  max-width: 720px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.1rem;
}

.legal-shell section {
  margin-top: 26px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
}

.legal-shell h2 {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  line-height: 1;
}

.legal-footer {
  grid-template-columns: 1fr auto;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 700ms ease var(--delay, 0ms), transform 700ms ease var(--delay, 0ms);
}

.delay-80 {
  --delay: 80ms;
}

.delay-100 {
  --delay: 100ms;
}

.delay-120 {
  --delay: 120ms;
}

.delay-160 {
  --delay: 160ms;
}

.delay-200 {
  --delay: 200ms;
}

.delay-240 {
  --delay: 240ms;
}

.delay-320 {
  --delay: 320ms;
}

.delay-400 {
  --delay: 400ms;
}

.delay-480 {
  --delay: 480ms;
}

.delay-560 {
  --delay: 560ms;
}

.delay-640 {
  --delay: 640ms;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes heroZoom {
  from {
    transform: scale(1);
  }
  to {
    transform: scale(1.08);
  }
}

@keyframes scan {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(348px);
  }
}

@keyframes ribbon {
  from {
    transform: translate3d(0, 0, 0);
  }
  to {
    transform: translate3d(-50%, 0, 0);
  }
}

@keyframes ribbonTexture {
  to {
    background-position: 120px 0;
  }
}

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

@keyframes whatsappPulse {
  0%, 100% {
    transform: scale(1);
    box-shadow: 0 18px 42px rgba(37, 211, 102, 0.38), 0 0 0 0 rgba(37, 211, 102, 0.36);
  }
  50% {
    transform: scale(1.08);
    box-shadow: 0 22px 54px rgba(37, 211, 102, 0.44), 0 0 0 16px rgba(37, 211, 102, 0);
  }
}

@keyframes whatsappRing {
  0% {
    opacity: 0.72;
    transform: scale(0.84);
  }
  100% {
    opacity: 0;
    transform: scale(1.42);
  }
}

@media (max-width: 900px) {
  .site-header {
    grid-template-columns: auto 1fr auto;
  }

  .brand img {
    width: 156px;
  }

  .brand {
    order: 1;
  }

  .social-cta {
    order: 2;
    justify-self: end;
  }

  .nav-toggle {
    display: block;
    justify-self: end;
    order: 3;
  }

  .site-nav {
    position: absolute;
    left: 0;
    right: 0;
    top: calc(100% + 8px);
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: rgba(12, 12, 13, 0.96);
  }

  .site-nav.open {
    display: flex;
    order: 4;
  }

  .site-nav a {
    text-align: center;
  }

  .header-cta {
    display: none;
  }

  .legal-nav {
    position: static;
    display: flex;
    flex-direction: row;
    grid-column: 1 / -1;
    padding: 0;
    border: 0;
    background: transparent;
  }

  .hero {
    min-height: auto;
    padding: 126px 16px 40px;
  }

  .hero-grid,
  .split,
  .feature-band,
  .insurance,
  .contact-section,
  .convenience-section {
    grid-template-columns: 1fr;
  }

  .diagnostic-card {
    min-height: 290px;
  }

  .service-grid,
  .values,
  .testimonial-grid {
    grid-template-columns: 1fr;
  }

  .systems-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .feature-image,
  .insurance-stack {
    min-height: 360px;
  }

  .gallery-strip {
    height: auto;
    grid-template-columns: 1fr;
  }

  .map-section {
    grid-template-columns: 1fr;
  }

  .map-copy {
    min-height: 360px;
  }

  .location-mini-grid {
    grid-template-columns: 1fr;
  }

  .map-frame {
    min-height: 260px;
  }

  .gallery-strip img {
    height: 260px;
  }

  .footer {
    grid-template-columns: 1fr;
  }

  .footer nav {
    justify-content: flex-start;
  }
}

@media (max-width: 560px) {
  h1 {
    font-size: 3rem;
  }

  h2 {
    font-size: 2.3rem;
  }

  .hero-actions,
  .contact-actions {
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }

  .metric-row {
    grid-template-columns: 1fr;
  }

  .systems-grid {
    grid-template-columns: 1fr;
  }

  .cookie-banner {
    left: 12px;
    right: 12px;
    bottom: 92px;
    width: auto;
    grid-template-columns: 1fr;
  }

  .cookie-banner .btn {
    width: 100%;
  }

  .whatsapp-float {
    right: 16px;
    bottom: 16px;
  }

  .section {
    padding: 76px 0;
  }
}

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