:root {
  --bg: #0f172a;
  --card: #0b1020;
  --accent: #2a90d1;
  --accent-strong: #2557aa;
  --text: #e6ecff;
  --muted: #9db2ce;
  --border: rgba(255, 255, 255, 0.12);
  --shadow: 0 25px 60px rgba(0, 0, 0, 0.35);
  --ease-smooth: cubic-bezier(0.4, 0, 0.2, 1);
  --radius: 16px;
  --radius-lg: 24px;
}

* {
  box-sizing: border-box;
}

*::before,
*::after {
  box-sizing: inherit;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Space Grotesk", "Segoe UI", sans-serif;
  background: radial-gradient(circle at 20% 20%, #331483, transparent 35%),
    radial-gradient(circle at 80% 10%, #1e2f5a, transparent 25%),
    radial-gradient(circle at 50% 80%, #2a90d1, transparent 35%),
    var(--bg);
  background-size: 140% 140%;
  animation: bg-pan 22s ease-in-out infinite alternate;
  color: var(--text);
  min-height: 100vh;
  line-height: 1.6;
  overflow-x: hidden;
  opacity: 0;
  transition: opacity 0.45s var(--ease-smooth);
}

body.page-ready {
  opacity: 1;
}

img,
svg {
  max-width: 100%;
  height: auto;
}

.page {
  width: min(1200px, 100%);
  margin: 0 auto;
  padding: clamp(20px, 3vw, 32px) clamp(12px, 2.4vw, 20px) clamp(40px, 6vw, 64px);
  animation: page-enter 0.7s var(--ease-smooth);
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 18px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(8px);
  position: sticky;
  top: 16px;
  z-index: 6;
  transition: background 0.35s var(--ease-smooth), border-color 0.35s var(--ease-smooth),
    box-shadow 0.35s var(--ease-smooth), transform 0.35s var(--ease-smooth);
}

.topbar::before {
  content: "";
  position: absolute;
  left: 18px;
  right: 18px;
  top: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(42, 144, 209, 0.7), transparent);
  opacity: 0;
  transition: opacity 0.35s var(--ease-smooth);
}

.topbar.is-scrolled {
  background: rgba(11, 16, 32, 0.8);
  border-color: rgba(42, 144, 209, 0.3);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.24);
}

.topbar.is-scrolled::before {
  opacity: 1;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.06);
  display: grid;
  place-items: center;
  box-shadow: var(--shadow);
  padding: 6px;
  position: relative;
}

.logo::after {
  content: "";
  position: absolute;
  inset: -7px;
  border-radius: 16px;
  border: 1px solid rgba(42, 144, 209, 0.2);
  opacity: 0.6;
  animation: logo-pulse 3.2s ease-in-out infinite;
}

.logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

h1 {
  margin: 0;
  font-size: 22px;
  letter-spacing: -0.5px;
}

nav.nav {
  display: flex;
  gap: 14px;
  align-items: center;
}

nav a {
  color: var(--muted);
  text-decoration: none;
  padding: 8px 14px;
  border-radius: 10px;
  border: 1px solid transparent;
  transition: color 0.25s var(--ease-smooth), background 0.25s var(--ease-smooth),
    border-color 0.25s var(--ease-smooth), transform 0.25s var(--ease-smooth);
  position: relative;
}

nav a:hover {
  color: var(--text);
  border-color: var(--border);
  background: rgba(255, 255, 255, 0.05);
  transform: translateY(-1px);
}

nav a::after {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 6px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: 0;
  transition: opacity 0.25s var(--ease-smooth);
}

nav a:hover::after {
  opacity: 0.9;
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
  font-weight: 700;
  font-size: 20px;
  cursor: pointer;
  transition: background 0.2s ease, border 0.2s ease;
}

.nav-toggle:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--accent);
}

.hero {
  display: flex;
  flex-direction: column;
  gap: 32px;
  margin: 0;
  width: 100%;
  min-height: calc(100dvh - 120px);
  justify-content: center;
  padding: clamp(24px, 4vw, 40px) clamp(8px, 2vw, 20px);
  position: relative;
  overflow: visible;
}

.hero > * {
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.hero__copy {
  text-align: center;
}

.hero__copy h2 {
  font-size: clamp(26px, 4.2vw, 42px);
  letter-spacing: -1px;
  margin: 16px 0 20px;
  line-height: 1.2;
}

.lede {
  color: var(--muted);
  font-size: clamp(15px, 2vw, 18px);
  line-height: 1.7;
  max-width: 700px;
  margin: 0 auto;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin: 32px 0 24px;
  justify-content: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 18px;
  border-radius: 12px;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.25s var(--ease-smooth), box-shadow 0.25s var(--ease-smooth),
    background 0.25s var(--ease-smooth), border-color 0.25s var(--ease-smooth);
  will-change: transform;
}

.btn.primary {
  background: linear-gradient(120deg, var(--accent), var(--accent-strong));
  color: #ffffff;
  box-shadow: 0 6px 18px rgba(42, 144, 209, 0.26), 0 3px 10px rgba(37, 87, 170, 0.24);
  font-weight: 700;
  font-size: 16px;
  padding: 14px 28px;
  position: relative;
  overflow: hidden;
}

.btn.primary::before {
  content: "";
  position: absolute;
  width: 180%;
  height: 180%;
  top: -40%;
  left: -40%;
  background: conic-gradient(from 0deg, transparent, rgba(255, 255, 255, 0.18), transparent 35%);
  animation: button-orbit 5.5s linear infinite;
  pointer-events: none;
}

.btn.primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(42, 144, 209, 0.32), 0 5px 14px rgba(37, 87, 170, 0.28);
}

.btn:active {
  transform: translateY(0) scale(0.99);
}

.btn.primary::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(255, 255, 255, 0.12), transparent 55%);
  transform: translateX(-120%);
  transition: transform 0.4s ease;
}

.btn.primary:hover::after {
  transform: translateX(0);
}

.btn.ghost {
  border: 2px solid rgba(42, 144, 209, 0.38);
  color: var(--text);
  background: rgba(42, 144, 209, 0.08);
  font-weight: 600;
  font-size: 16px;
  padding: 14px 28px;
}

.btn.ghost:hover {
  background: rgba(42, 144, 209, 0.12);
  border-color: rgba(42, 144, 209, 0.5);
}

.trust {
  position: relative;
  overflow: hidden;
  margin-top: 32px;
}

.pill {
  padding: 10px 16px;
  border-radius: 999px;
  border: 1px solid rgba(42, 144, 209, 0.28);
  color: var(--text);
  background: rgba(42, 144, 209, 0.08);
  font-size: 14px;
  font-weight: 500;
}

.trust-track {
  display: flex;
  gap: 10px;
  padding: 6px 0;
  animation: trust-marquee 14s linear infinite;
  width: max-content;
}

.trust:hover .trust-track {
  animation-play-state: paused;
}

@keyframes trust-marquee {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

.card {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.02));
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 22px;
  box-shadow: var(--shadow);
  margin-top: 60px;
  width: min(700px, 100%);
  margin-left: auto;
  margin-right: auto;
  transition: transform 0.4s var(--ease-smooth), box-shadow 0.4s var(--ease-smooth);
  animation: float 10s ease-in-out infinite;
  position: relative;
  overflow: hidden;
}

.card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 0%, rgba(42, 144, 209, 0.12), transparent 55%);
  opacity: 0;
  transition: opacity 0.4s var(--ease-smooth);
  pointer-events: none;
}

.card:last-of-type {
  margin-bottom: 20px;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.45);
}

.card:hover::before {
  opacity: 1;
}

h3 {
  margin: 6px 0 14px;
  font-size: 22px;
  letter-spacing: -0.5px;
}

.lead-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  color: var(--text);
  font-weight: 500;
  transition: transform 0.2s var(--ease-smooth);
}

.lead-form label:focus-within {
  transform: translateY(-1px);
}

input,
select,
textarea {
  width: 100%;
  padding: 12px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
  font-size: 15px;
  outline: none;
  transition: border 0.25s var(--ease-smooth), background 0.25s var(--ease-smooth),
    box-shadow 0.25s var(--ease-smooth);
}

input:hover,
select:hover,
textarea:hover {
  border-color: rgba(42, 144, 209, 0.35);
}

select {
  color: var(--text);
  background-color: rgba(255, 255, 255, 0.03);
}

select option {
  color: #101828;
  background: #ffffff;
}

select option[value=""] {
  color: #667085;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--accent);
  background: rgba(255, 255, 255, 0.06);
  box-shadow: 0 0 0 3px rgba(42, 144, 209, 0.15);
}

textarea {
  resize: vertical;
}

.consent {
  flex-direction: row;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--muted);
}

.legal-consent {
  display: grid;
  gap: 10px;
  margin-top: 2px;
  margin-bottom: 2px;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.02);
}

.consent--stack {
  align-items: flex-start;
  line-height: 1.5;
}

.consent--stack span {
  color: var(--muted);
}

.consent input {
  width: auto;
  margin-top: 2px;
}

.helper {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.status {
  min-height: 20px;
  font-size: 14px;
  margin: 0;
  color: var(--accent);
}

.sc-section {
  margin-top: 20px;
}

.sc-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  text-align: center;
}

.sc-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: center;
  margin-top: 6px;
}

.reveal {
  opacity: 0;
  transform: translateY(18px) scale(0.99);
  filter: blur(2px);
  transition: opacity 0.7s var(--ease-smooth), transform 0.7s var(--ease-smooth),
    filter 0.7s var(--ease-smooth);
  transition-delay: var(--reveal-delay, 0ms);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  filter: blur(0);
}

.section {
  margin: 60px 0;
}

section,
#form {
  scroll-margin-top: 110px;
}

.section__header h3 {
  margin: 8px 0;
  font-size: clamp(22px, 3.2vw, 26px);
}

#ventajas .section__header {
  max-width: 820px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
  margin-top: 24px;
}

.feature {
  padding: 18px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--card);
  box-shadow: 0 18px 35px rgba(0, 0, 0, 0.25);
  transition: transform 0.3s var(--ease-smooth), box-shadow 0.3s var(--ease-smooth),
    border-color 0.3s var(--ease-smooth);
  position: relative;
  overflow: hidden;
}

.feature::before {
  content: "";
  position: absolute;
  width: 140%;
  height: 140%;
  top: -120%;
  left: -20%;
  background: linear-gradient(125deg, transparent 35%, rgba(255, 255, 255, 0.08), transparent 65%);
  transition: transform 0.55s var(--ease-smooth);
  pointer-events: none;
}

.feature:hover {
  transform: translateY(-6px) scale(1.01);
  border-color: rgba(42, 144, 209, 0.4);
  box-shadow: 0 20px 38px rgba(0, 0, 0, 0.3);
}

.feature:hover::before {
  transform: translateY(165%);
}

.icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.06);
  display: grid;
  place-items: center;
  font-size: 22px;
  margin-bottom: 10px;
}

.feature h4 {
  margin: 4px 0 6px;
}

.feature p {
  margin: 0;
  color: var(--muted);
}

.faq {
  display: grid;
  gap: 10px;
  margin-top: 16px;
}

.gallery-section {
  margin-top: 56px;
}

.gallery-section .section__header {
  max-width: 820px;
  margin: 0 auto 12px;
  text-align: center;
}

.gallery-section .section__header .lede {
  margin-top: 10px;
  max-width: 760px;
}

.gallery {
  max-width: 980px;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  margin-top: 24px;
  padding: 0;
  border: 0;
  border-radius: 12px;
  background: transparent;
}

.gallery__viewport {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  min-height: 0;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(10, 19, 40, 0.5);
}

.gallery__track {
  position: relative;
  width: 100%;
}

.gallery__slide {
  display: none;
}

.gallery__slide.is-active {
  display: block;
  animation: fade-in 0.35s var(--ease-smooth);
}

.gallery__slide img {
  width: 100%;
  aspect-ratio: 16 / 9;
  height: auto;
  object-fit: cover;
  object-position: center center;
  display: block;
  transition: transform 6s ease;
}

.gallery__slide.is-active img {
  transform: scale(1.02);
  animation: gallery-kenburns 5.5s ease-out;
}

.gallery__control {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 999px;
  background: rgba(10, 20, 42, 0.72);
  color: #ffffff;
  font-size: 24px;
  line-height: 1;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: background 0.25s var(--ease-smooth), border-color 0.25s var(--ease-smooth),
    transform 0.25s var(--ease-smooth);
  z-index: 2;
}

.gallery__control.is-bump {
  animation: control-bump 0.35s var(--ease-smooth);
}

.gallery__control:hover {
  background: rgba(17, 31, 59, 0.92);
  border-color: rgba(255, 255, 255, 0.55);
  transform: translateY(-50%) scale(1.06);
}

.gallery__control--prev {
  left: 10px;
}

.gallery__control--next {
  right: 10px;
}

@keyframes fade-in {
  from {
    opacity: 0.35;
  }
  to {
    opacity: 1;
  }
}

@keyframes gallery-kenburns {
  from {
    transform: scale(1.05);
  }
  to {
    transform: scale(1.02);
  }
}

@keyframes control-bump {
  0% {
    transform: translateY(-50%) scale(1);
  }
  50% {
    transform: translateY(-50%) scale(1.13);
  }
  100% {
    transform: translateY(-50%) scale(1);
  }
}

summary {
  cursor: pointer;
  font-weight: 600;
}

details {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.03);
  transition: background 0.25s var(--ease-smooth), border-color 0.25s var(--ease-smooth),
    transform 0.25s var(--ease-smooth);
}

details:hover {
  transform: translateY(-1px);
}

details[open] {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(42, 144, 209, 0.35);
}

details p {
  color: var(--muted);
  margin: 8px 0 0;
}

.footer {
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  margin-top: 50px;
  padding-top: 22px;
  padding-bottom: 10px;
  color: var(--muted);
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: center;
  text-align: center;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0));
  border-radius: 18px 18px 0 0;
}

.footer__brand strong {
  color: var(--text);
  font-size: 18px;
  letter-spacing: 0.2px;
}

.footer__brand p {
  margin: 6px 0 0;
  max-width: 520px;
}

.footer__links,
.footer__contact {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

.footer__links a,
.footer__contact a {
  color: var(--muted);
  text-decoration: none;
  padding: 6px 10px;
  border-radius: 10px;
  border: 1px solid transparent;
  transition: color 0.25s var(--ease-smooth), background 0.25s var(--ease-smooth),
    border-color 0.25s var(--ease-smooth), transform 0.25s var(--ease-smooth);
}

.footer__links a:hover,
.footer__contact a:hover {
  color: var(--text);
  border-color: var(--border);
  background: rgba(255, 255, 255, 0.05);
  transform: translateY(-1px);
}

.footer__copy {
  color: rgba(157, 178, 206, 0.8);
}

.whatsapp-float {
  position: fixed;
  right: clamp(10px, 2vw, 18px);
  bottom: calc(clamp(10px, 2vw, 18px) + env(safe-area-inset-bottom, 0px));
  width: clamp(48px, 8vw, 56px);
  height: clamp(48px, 8vw, 56px);
  border-radius: 999px;
  background: #25d366;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.3);
  z-index: 30;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  animation: whatsapp-pulse 2.6s ease-in-out infinite;
}

.whatsapp-float:hover {
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 16px 30px rgba(0, 0, 0, 0.35);
}

.whatsapp-float svg {
  width: 58%;
  height: 58%;
  display: block;
  flex: 0 0 auto;
}

.eyebrow {
  text-transform: uppercase;
  font-size: 13px;
  letter-spacing: 2.2px;
  color: var(--accent);
  margin: 0;
  font-weight: 600;
}

.hero::before {
  content: "";
  position: absolute;
  width: 420px;
  height: 420px;
  background: radial-gradient(circle, rgba(42, 144, 209, 0.35), transparent 55%);
  top: -120px;
  right: -120px;
  filter: blur(30px);
  animation: drift 18s ease-in-out infinite;
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(37, 87, 170, 0.28), transparent 60%);
  bottom: -120px;
  left: -60px;
  filter: blur(26px);
  animation: drift 16s ease-in-out infinite reverse;
  pointer-events: none;
}

@keyframes bg-pan {
  0% {
    background-position: 0% 0%, 80% 0%, 40% 80%, center;
  }
  50% {
    background-position: 20% 10%, 60% 20%, 30% 70%, center;
  }
  100% {
    background-position: 40% 20%, 40% 10%, 60% 60%, center;
  }
}

@keyframes page-enter {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes float {
  0% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
  100% {
    transform: translateY(0);
  }
}

@keyframes drift {
  0% {
    transform: translate3d(0, 0, 0);
  }
  50% {
    transform: translate3d(20px, -20px, 0) scale(1.05);
  }
  100% {
    transform: translate3d(0, 0, 0);
  }
}

@keyframes logo-pulse {
  0%,
  100% {
    transform: scale(0.98);
    opacity: 0.45;
  }
  50% {
    transform: scale(1.04);
    opacity: 0.75;
  }
}

@keyframes button-orbit {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

@keyframes whatsapp-pulse {
  0%,
  100% {
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.3), 0 0 0 0 rgba(37, 211, 102, 0.35);
  }
  50% {
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.32), 0 0 0 10px rgba(37, 211, 102, 0);
  }
}

@media (max-width: 1024px) {
  .hero__copy h2 {
    font-size: 36px;
  }

  .hero {
    min-height: calc(100dvh - 100px);
  }

  nav.nav {
    gap: 10px;
    flex-wrap: wrap;
  }
}

@media (max-width: 900px) {
  .page {
    padding: 26px 18px 52px;
  }

  .nav-toggle {
    display: inline-flex;
  }

  nav.nav {
    display: none;
    position: absolute;
    top: calc(100% + 10px);
    right: 18px;
    width: min(260px, 86vw);
    flex-direction: column;
    gap: 8px;
    padding: 14px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: rgba(12, 18, 36, 0.96);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
    z-index: 8;
  }

  nav.nav.open {
    display: flex;
    animation: nav-drop 0.25s var(--ease-smooth);
  }

  nav a {
    width: 100%;
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.03);
    padding: 10px 12px;
  }
}

@keyframes nav-drop {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 640px) {
  .hero {
    gap: 22px;
    padding: 28px 14px;
    min-height: auto;
  }

  .hero > * {
    max-width: 100%;
  }

  .hero__copy h2 {
    font-size: 30px;
    line-height: 1.3;
  }

  .lede {
    font-size: 15px;
  }

  .cta-row {
    margin: 24px 0 18px;
  }

  .btn,
  nav a {
    width: 100%;
    justify-content: center;
    text-align: center;
  }

  .trust-track {
    animation: trust-marquee 16s linear infinite;
    width: max-content;
    flex-wrap: nowrap;
    justify-content: flex-start;
    gap: 10px;
  }

  .pill {
    width: auto;
    white-space: nowrap;
  }

  .card {
    animation: none;
  }

  .whatsapp-float {
    animation: none;
  }

  .hero::before,
  .hero::after {
    display: none;
  }

  .grid {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  }

  .section {
    margin: 46px 0;
  }

  .gallery {
    padding: 12px;
    margin-top: 18px;
  }

  .gallery__viewport,
  .gallery__slide img {
    min-height: 0;
  }

  .gallery__slide img {
    aspect-ratio: 4 / 3;
  }
}

@media (max-width: 480px) {
  body {
    line-height: 1.55;
  }

  .page {
    padding: 22px 14px 44px;
  }

  .topbar {
    padding: 10px 12px;
    top: 10px;
  }

  .hero {
    gap: 24px;
    max-width: 100%;
    min-height: auto;
    padding: 22px 10px;
  }

  .hero__copy h2 {
    font-size: 24px;
    line-height: 1.25;
  }

  .card,
  .feature {
    padding: 16px;
  }

  .cta-row {
    gap: 12px;
  }

  input,
  select,
  textarea {
    font-size: 16px;
    padding: 11px;
  }

  .footer__contact {
    flex-direction: column;
    align-items: center;
  }

  .gallery__control {
    width: 38px;
    height: 38px;
    font-size: 24px;
  }

  .gallery__control--prev {
    left: 8px;
  }

  .gallery__control--next {
    right: 8px;
  }

  .whatsapp-float {
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.28);
  }
}

@media (max-width: 380px) {
  h1 {
    font-size: 20px;
  }

  .hero__copy h2 {
    font-size: 22px;
    line-height: 1.25;
  }

  .lede {
    font-size: 15px;
  }

  .eyebrow {
    font-size: 11px;
    letter-spacing: 1.6px;
  }

  .logo {
    width: 36px;
    height: 36px;
  }
}

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

  .card,
  .btn.primary,
  .feature,
  .trust-track,
  .reveal {
    animation: none !important;
  }

  body,
  .page,
  .topbar,
  .whatsapp-float {
    transition: none !important;
  }
}
