/* VARIABLES Y TEMAS */
:root {
  --background: hsl(220 30% 7%);
  --foreground: hsl(220 20% 93%);
  --card: hsl(220 25% 10%);
  --card-foreground: hsl(220 20% 93%);
  --secondary: hsl(220 20% 14%);
  --muted-foreground: hsl(220 15% 65%);
  --primary: #54294f;
  --primary-foreground: hsl(0 0% 100%);
  --accent: #54294f;
  --border: hsl(220 15% 18%);
  --radius: 0.75rem;
  --shadow: 0 20px 40px rgba(0, 0, 0, 0.35);
  --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.2);
  --shadow-hover: 0 20px 40px rgba(84, 41, 79, 0.1);
  --font-sans: "Plus Jakarta Sans", "Segoe UI", system-ui, sans-serif;
  --font-serif: "Playfair Display", "Times New Roman", serif;
  --spacing-xs: 0.5rem;
  --spacing-sm: 0.75rem;
  --spacing-md: 1rem;
  --spacing-lg: 1.5rem;
  --spacing-xl: 2rem;
  --spacing-2xl: 2.5rem;
  --spacing-3xl: 3rem;
}

:root[data-theme="light"] {
  --background: hsl(0 0% 100%);
  --foreground: hsl(220 15% 20%);
  --card: hsl(220 14% 97%);
  --card-foreground: hsl(220 15% 20%);
  --secondary: hsl(220 14% 92%);
  --muted-foreground: hsl(220 12% 40%);
  --primary: #54294f;
  --primary-foreground: hsl(0 0% 100%);
  --accent: #54294f;
  --border: hsl(220 15% 88%);
  --shadow: 0 20px 40px rgba(0, 0, 0, 0.06);
  --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.04);
  --shadow-hover: 0 20px 40px rgba(84, 41, 79, 0.12);
}

/* BASE GLOBAL / RESET / TYPOGRAPHY / UTILIDADES */
* {
  box-sizing: border-box;
  border-color: var(--border);
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--foreground);
  background: var(--background);
  transition: background 0.3s ease, color 0.3s ease;
}

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

a {
  color: inherit;
}

h1, h2, h3 {
  font-family: var(--font-serif);
  letter-spacing: -0.02em;
  margin: 0;
  font-weight: 700;
  line-height: 1.2;
}

h1 {
  font-size: clamp(2.25rem, 4.4vw, 3.75rem);
}

h2 {
  font-size: clamp(1.75rem, 2.8vw, 2.25rem);
}

h3 {
  font-size: 1.25rem;
}

p {
  margin: 0;
  line-height: 1.6;
}

.skip {
  position: absolute;
  left: -9999px;
  top: auto;
}

.skip:focus {
  left: var(--spacing-md);
  top: var(--spacing-md);
  background: var(--foreground);
  color: var(--background);
  padding: var(--spacing-sm) var(--spacing-md);
  border-radius: var(--radius);
  z-index: 9999;
  font-weight: 600;
  text-decoration: none;
}

.muted {
  color: var(--muted-foreground);
  line-height: 1.6;
}

.small {
  font-size: 0.875rem;
  line-height: 1.5;
}

.list {
  margin: var(--spacing-xs) 0;
  padding: 0;
  list-style: none;
  color: var(--muted-foreground);
}

.list li {
  margin: var(--spacing-xs) 0;
  display: flex;
  align-items: center;
  gap: var(--spacing-xs);
}

.w-full {
  width: 100%;
}

/* COMPONENTES BASE */
.icon {
  width: 1.125rem;
  height: 1.125rem;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}

.icon--lg {
  width: 2rem;
  height: 2rem;
}

.icon--sm {
  width: 1rem;
  height: 1rem;
}

.icon--xs {
  width: 0.875rem;
  height: 0.875rem;
}

.container {
  width: min(1152px, 100%);
  padding-left: 1rem;
  padding-right: 1rem;
  margin-inline: auto;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--spacing-xs);
  padding: var(--spacing-sm) var(--spacing-lg);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  color: var(--foreground);
  text-decoration: none;
  background: var(--secondary);
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease;
  font-family: var(--font-sans);
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1;
}

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

.btn--primary {
  background: var(--primary);
  border-color: transparent;
  color: var(--primary-foreground) !important;
}

:root[data-theme="light"] .btn--primary {
  color: hsl(0 0% 100%) !important;
}

.btn--ghost {
  background: var(--secondary);
}

.btn--info {
  border-color: rgba(84, 41, 79, 0.4);
  background: rgba(84, 41, 79, 0.1);
  color: var(--foreground);
}

:root[data-theme="light"] .btn--ghost {
  background: hsl(220 14% 92%);
  color: hsl(220 15% 20%);
}

.badge {
  display: inline-flex;
  align-items: center;
  padding: var(--spacing-xs) var(--spacing-md);
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--secondary);
  color: var(--muted-foreground);
  font-size: 0.75rem;
  font-weight: 500;
  line-height: 1;
}

:root[data-theme="light"] .badge {
  background: hsl(220 14% 94%);
  border-color: hsl(220 15% 88%);
  color: hsl(220 12% 40%);
}

.pill {
  padding: var(--spacing-xs) var(--spacing-md);
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--card);
  color: var(--muted-foreground);
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1;
  transition: border-color 0.2s ease, background 0.2s ease;
}

:root[data-theme="light"] .pill {
  background: hsl(220 14% 96%);
  border-color: hsl(220 15% 88%);
  color: hsl(220 12% 40%);
}

/* HEADER / NAV */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(10, 15, 28, 0.85);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
  transition: background 0.3s ease, border-color 0.3s ease;
}

:root[data-theme="light"] .header {
  background: rgba(255, 255, 255, 0.85);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--spacing-md) 0;
}

.brand {
  display: flex;
  gap: var(--spacing-sm);
  align-items: center;
  text-decoration: none;
  font-weight: 700;
}

.brand .icon {
  width: 2rem;
  height: 2rem;
}

.brand__name {
  font-size: 1.125rem;
  font-weight: 700;
  font-family: var(--font-sans);
  color: var(--foreground);
}

:root[data-theme="light"] .brand__name {
  color: var(--primary);
}

.nav {
  display: flex;
  gap: var(--spacing-lg);
  align-items: center;
}

.nav a {
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: bold;
  transition: color 0.2s ease;
  color: hsl(220 20% 93%);
}

:root[data-theme="light"] .nav a {
  color: hsl(220 15% 20%);
}

.nav__toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--border);
  color: var(--foreground);
  padding: var(--spacing-sm);
  border-radius: var(--radius);
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease;
}

/* HERO */
.hero {
  position: relative;
  overflow: hidden;
  padding: var(--spacing-3xl) 0;
}

.hero::before {
  content: "";
  position: absolute;
  width: 540px;
  height: 540px;
  border-radius: 999px;
  filter: blur(90px);
  opacity: 0.45;
  pointer-events: none;
  left: -220px;
  top: -220px;
  background: rgba(84, 41, 79, 0.35);
}

:root[data-theme="light"] .hero::before {
  background: rgba(84, 41, 79, 0.12);
  opacity: 0.3;
}

.hero__grid {
  position: relative;
  display: grid;
  gap: var(--spacing-2xl);
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
}

.hero__content {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-lg);
  align-items: flex-start;
}

.hero__content > * {
  margin: 0;
}

.hero__cta {
  display: flex;
  gap: var(--spacing-sm);
  flex-wrap: wrap;
}

.hero__trust {
  display: flex;
  gap: var(--spacing-sm);
  flex-wrap: wrap;
  padding-top: var(--spacing-xs);
}

.trust__item {
  display: flex;
  gap: var(--spacing-sm);
  align-items: center;
  padding: var(--spacing-sm) var(--spacing-md);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--card);
  transition: border-color 0.2s ease, background 0.2s ease;
}

:root[data-theme="light"] .trust__item {
  background: hsl(220 14% 97%);
  border-color: hsl(220 15% 88%);
}

.trust__icon {
  color: var(--primary);
}

.trust__item strong {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.2;
}

.trust__item span {
  color: var(--muted-foreground);
  font-size: 0.75rem;
  line-height: 1.2;
}

.hero__media {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--card);
  min-height: 360px;
  box-shadow: var(--shadow);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--spacing-lg);
}

.hero__media-logo {
  width: 100%;
  max-width: 420px;
  height: auto;
  object-fit: contain;
}

:root[data-theme="light"] .hero__media {
  background: hsl(220 14% 97%);
}

/* SECTION BASE + GRID */
.section {
  padding: var(--spacing-3xl) 0;
}

.section--alt {
  background: rgba(255, 255, 255, 0.02);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

:root[data-theme="light"] .section--alt {
  background: hsl(220 14% 98%);
}

.section__head {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--spacing-xs);
  margin-bottom: var(--spacing-2xl);
}

.section__head h2 {
  margin: 0;
}

.section__head .muted {
  margin: 0;
}

.grid {
  display: grid;
  gap: var(--spacing-lg);
}

/* CARDS */
.cards {
  grid-template-columns: repeat(3, 1fr);
}

.cards .icon {
  color: var(--primary);
}

.card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--card);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.card img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  transition: transform 0.35s ease;
  -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 70%, transparent 100%);
  mask-image: linear-gradient(180deg, #000 0%, #000 70%, transparent 100%);
}

.card__body {
  text-align: center;
  padding: var(--spacing-lg);
  display: flex;
  flex-direction: column;
  gap: var(--spacing-sm);
}

.card h3 {
  margin: 0;
  font-weight: 700;
}

.cards .card .muted {
  font-size: 0.875rem;
  max-width: 28ch;
  margin-inline: auto;
  text-wrap: balance;
}

.cards .card .list {
  font-size: 0.875rem;
}

.cards .card .btn {
  font-size: 0.875rem;
  font-weight: 600;
}

.card--cta {
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(84, 41, 79, 0.06);
  border-color: rgba(84, 41, 79, 0.2);
}

.card--cta .card__body {
  width: 100%;
}

:root[data-theme="light"] .card--cta {
  background: rgba(84, 41, 79, 0.08);
  border-color: rgba(84, 41, 79, 0.3);
}

.card--cta .muted {
  font-size: 0.875rem;
}

.card--cta .small {
  font-size: 0.75rem;
}

/* FEATURES */
.features {
  grid-template-columns: repeat(3, 1fr);
}

.feature {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: var(--spacing-lg);
  background: var(--card);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
  display: flex;
  flex-direction: column;
  gap: var(--spacing-md);
}

.feature h3 {
  margin: 0;
  font-size: 1.125rem;
  font-weight: 700;
}

.feature p {
  font-size: 0.875rem;
  margin: 0;
}

.feature__icon {
  width: 2.5rem;
  height: 2.5rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius);
  background: rgba(84, 41, 79, 0.12);
  color: var(--primary);
  flex-shrink: 0;
}

:root[data-theme="light"] .feature__icon {
  background: rgba(84, 41, 79, 0.1);
}

/* REVIEWS */
.reviews {
  grid-template-columns: repeat(3, 1fr);
}

.reviews-cta-center {
  display: flex;
  justify-content: center;
  margin-top: var(--spacing-xl);
}

.review {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: var(--spacing-lg);
  background: var(--card);
  display: flex;
  flex-direction: column;
  gap: var(--spacing-md);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.review__header {
  display: flex;
  gap: var(--spacing-md);
  align-items: flex-start;
}

.review__avatar {
  width: 2.5rem;
  height: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: rgba(84, 41, 79, 0.12);
  font-size: 1.25rem;
  flex-shrink: 0;
}

.review__info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: var(--spacing-xs);
}

.review__name {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--foreground);
}

.review__rating {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.star {
  color: #fbbf24;
  font-size: 0.875rem;
}

.review__date {
  color: var(--muted-foreground);
  font-size: 0.75rem;
  margin-left: auto;
}

.review__text {
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--muted-foreground);
  margin: 0;
}

.review__link {
  display: inline-block;
  margin-top: var(--spacing-md);
  color: hsl(320 60% 78%);
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 600;
  transition: color 0.2s ease;
}

:root[data-theme="light"] .review__link {
  color: var(--primary);
}

/* GALLERY */
.gallery-carousel {
  --gallery-gap: 0.5rem;
  --gallery-visible: 4;
  position: relative;
  display: block;
  margin-top: var(--spacing-xl);
}

.gallery-carousel__viewport {
  overflow: hidden;
  width: 100%;
  cursor: grab;
  touch-action: pan-y;
  user-select: none;
}

.gallery-carousel__viewport.is-dragging {
  cursor: grabbing;
}

.gallery {
  display: flex;
  flex-wrap: nowrap;
  align-items: stretch;
  gap: var(--gallery-gap);
  width: 100%;
  will-change: transform;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  flex: 0 0 calc((100% - ((var(--gallery-visible) - 1) * var(--gallery-gap))) / var(--gallery-visible));
  min-width: calc((100% - ((var(--gallery-visible) - 1) * var(--gallery-gap))) / var(--gallery-visible));
}

.gallery img {
  border-radius: var(--radius);
  border: 1px solid var(--border);
  aspect-ratio: 4 / 3;
  object-fit: cover;
  width: 100%;
  height: auto;
  transition: opacity 0.3s ease;
  pointer-events: none;
  user-select: none;
  -webkit-user-drag: none;
}

.gallery-item::after {
  content: attr(data-place);
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 600;
  font-size: 1rem;
  text-align: center;
  padding: var(--spacing-md);
  opacity: 0;
  transition: opacity 0.3s ease;
  border-radius: var(--radius);
  pointer-events: none;
}

:root[data-theme="light"] .gallery-item {
  background: #000000;
}

/* ABOUT */
.about {
  --about-group-gap: var(--spacing-lg);
  display: grid;
  gap: var(--about-group-gap);
  grid-template-columns: 1fr;
  align-items: start;
}

.about > * {
  margin: 0;
}

.about__main {
  display: grid;
  gap: calc(var(--about-group-gap) / 2);
}

.about__core {
  display: grid;
  gap: var(--about-group-gap);
}

.about__intro {
  display: grid;
  gap: 0.2rem;
}

.about__title {
  margin-top: 0.2rem;
}

.about__standards {
  display: grid;
  gap: 0.05rem;
}

.about__lead {
  max-width: 78ch;
  font-size: 0.97rem;
  line-height: 1.58;
}

.about__eyebrow {
  color: var(--muted-foreground);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.about h3 {
  font-size: clamp(1.3rem, 2vw, 1.65rem);
}

.about__subtitle {
  margin-top: 0;
  margin-bottom: 0.4rem;
  color: var(--foreground);
  font-family: var(--font-serif);
  font-size: 1.45rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
}

:root[data-theme="light"] .about__subtitle::before {
  box-shadow: 0 0 0 4px rgba(84, 41, 79, 0.11);
}

.about__list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.35rem;
  margin-top: 0;
}

.about__list li {
  margin: 0;
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  padding: 0.55rem 0.8rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--card);
  color: var(--muted-foreground);
  font-size: 0.9rem;
  line-height: 1.45;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.about__list li::before {
  content: "";
  width: 0.95rem;
  height: 0.95rem;
  margin-top: 0.2rem;
  border-radius: 999px;
  border: 2px solid rgba(84, 41, 79, 0.45);
  background: radial-gradient(circle, rgba(84, 41, 79, 0.9) 40%, transparent 42%);
  flex-shrink: 0;
}

.about__closing {
  display: grid;
  gap: 0.25rem;
}

.about__closing p {
  margin: 0;
}

.about p:last-child {
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.about__commitments {
  display: grid;
  gap: 0.3rem;
  margin-top: 0.2rem;
  padding-left: 0;
  list-style: none;
}

.about__commitments li {
  position: relative;
  margin: 0;
  padding-left: 1.25rem;
  color: var(--muted-foreground);
  line-height: 1.55;
}

.about__commitments li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.48em;
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 999px;
  background: var(--primary);
  box-shadow: 0 0 0 3px rgba(84, 41, 79, 0.14);
}

.about__bullets {
  display: flex;
  gap: var(--spacing-sm);
  flex-wrap: wrap;
  margin-top: var(--spacing-lg);
}

/* INFO / CONTACTO */
.info {
  margin-top: var(--spacing-xl);
  display: grid;
  gap: var(--spacing-md);
  grid-template-columns: repeat(2, minmax(0, 1fr));
  padding: var(--spacing-md);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--card);
}

#contacto .info {
  margin-top: 0;
}

.info__box {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: var(--spacing-lg);
  background: var(--card);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.info__box h3 {
  font-size: 1.125rem;
  font-weight: 700;
  margin: 0 0 var(--spacing-xs) 0;
}

.info__box .muted {
  font-size: 0.875rem;
  margin-bottom: var(--spacing-lg);
}

.steps {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
  font-size: 0.875rem;
  line-height: 1.6;
  display: flex;
  flex-direction: column;
  gap: var(--spacing-md);
}

.steps li {
  counter-increment: step;
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
  margin: 0;
  color: var(--muted-foreground);
}

.steps li::before {
  content: counter(step);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.625rem;
  height: 1.625rem;
  border-radius: 999px;
  background: var(--primary);
  color: var(--primary-foreground);
  font-size: 0.75rem;
  font-weight: 700;
  flex-shrink: 0;
}

.contact__stack {
  display: grid;
  gap: var(--spacing-md);
}

/* FOOTER + WA-FLOAT */
.footer {
  border-top: 1px solid var(--border);
  padding: var(--spacing-lg) 0;
  background: rgba(255, 255, 255, 0.02);
}

:root[data-theme="light"] .footer {
  background: hsl(220 14% 98%);
}

.footer__inner {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: var(--spacing-md);
  flex-wrap: wrap;
}

.footer__brand {
  display: flex;
  align-items: center;
  gap: var(--spacing-xs);
}

.footer__break {
  display: none;
}

.wa-float {
  position: fixed;
  right: 1.125rem;
  bottom: 1.125rem;
  width: 3.5rem;
  height: 3.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: #25d366;
  text-decoration: none;
  color: #ffffff;
  transition: transform 0.2s ease;
  z-index: 40;
}

/* MODAL */
.modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: none;
}

.modal.is-open {
  display: grid;
  place-items: center;
}

.modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(7, 10, 18, 0.72);
  backdrop-filter: blur(3px);
}

.modal__content {
  position: relative;
  width: min(840px, calc(100% - 2rem));
  max-height: 90vh;
  overflow-y: auto;
  background:
    radial-gradient(circle at 15% -15%, rgba(84, 41, 79, 0.28), transparent 46%),
    var(--card);
  border: 1px solid var(--border);
  border-radius: 1rem;
  box-shadow: var(--shadow);
  padding: 1.25rem 1.25rem 1.5rem;
  display: grid;
  gap: 1rem;
  z-index: 1;
  animation: modalPop 220ms ease;
}

.modal__content h3 {
  margin: 0;
  font-size: clamp(1.35rem, 2.2vw, 1.9rem);
}

.caption {
  margin: 0;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent);
  font-weight: 700;
}

.modal__lead {
  margin: 0;
  color: var(--muted-foreground);
  max-width: 72ch;
}

.modal__stops {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}

.modal-stop {
  border: 1px solid rgba(84, 41, 79, 0.28);
  background: rgba(84, 41, 79, 0.07);
  border-radius: 0.85rem;
  padding: 0.85rem;
  display: grid;
  gap: 0.45rem;
}

.modal-stop h4 {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 700;
}

.modal-stop p {
  margin: 0;
  color: var(--muted-foreground);
  font-size: 0.875rem;
  line-height: 1.5;
}

.modal-stop--wide {
  grid-column: 1 / -1;
}

.modal__close {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--secondary);
  color: var(--foreground);
  cursor: pointer;
  font-size: 1.35rem;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* ANIMACIONES */
@keyframes modalPop {
  from {
    opacity: 0;
    transform: translateY(8px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* MEDIA QUERIES: HOVER */
@media (hover: hover) and (pointer: fine) {
  .nav a:hover {
    color: var(--primary);
  }

  :root[data-theme="light"] .nav a:hover {
    color: var(--primary);
  }

  .nav__toggle:hover {
    border-color: var(--primary);
    background: var(--card);
  }

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

  .btn--primary:hover {
    background: #65335f;
    color: hsl(220 20% 93%) !important;
  }

  :root[data-theme="light"] .btn--primary:hover {
    background: #4a2345;
    color: hsl(0 0% 100%) !important;
  }

  .btn--ghost:hover {
    background: var(--card);
    border-color: var(--primary);
  }

  .btn--info:hover {
    background: rgba(84, 41, 79, 0.18);
  }

  :root[data-theme="light"] .btn--ghost:hover {
    background: hsl(220 14% 88%);
    border-color: var(--primary);
  }

  .pill:hover {
    border-color: var(--primary);
    background: rgba(84, 41, 79, 0.06);
  }

  :root[data-theme="light"] .pill:hover {
    background: rgba(84, 41, 79, 0.08);
    border-color: var(--primary);
  }

  .trust__item:hover {
    border-color: rgba(84, 41, 79, 0.4);
    background: rgba(84, 41, 79, 0.04);
  }

  :root[data-theme="light"] .trust__item:hover {
    background: rgba(84, 41, 79, 0.06);
    border-color: rgba(84, 41, 79, 0.5);
  }

  .card:hover {
    border-color: rgba(84, 41, 79, 0.4);
    box-shadow: var(--shadow-hover);
    transform: translateY(-2px);
  }

  .card:hover img {
    transform: scale(1.06);
  }

  .card--cta:hover {
    background: rgba(84, 41, 79, 0.08);
  }

  :root[data-theme="light"] .card--cta:hover {
    background: rgba(84, 41, 79, 0.12);
  }

  .feature:hover {
    border-color: rgba(84, 41, 79, 0.4);
    box-shadow: var(--shadow-hover);
    transform: translateY(-2px);
  }

  .review:hover {
    border-color: rgba(84, 41, 79, 0.4);
    box-shadow: var(--shadow-hover);
    transform: translateY(-2px);
  }

  .review__link:hover {
    color: hsl(320 68% 84%);
    text-decoration: underline;
  }

  :root[data-theme="light"] .review__link:hover {
    color: #65335f;
  }

  .gallery-item:hover::after {
    opacity: 1;
  }

  .gallery-item:hover img {
    opacity: 0.65;
  }

  .about__list li:hover {
    border-color: rgba(84, 41, 79, 0.35);
    box-shadow: var(--shadow-sm);
    transform: translateY(-1px);
  }

  .info__box:hover {
    border-color: rgba(84, 41, 79, 0.3);
    box-shadow: var(--shadow-sm);
  }

  .wa-float:hover {
    transform: scale(1.08);
  }

  .modal__close:hover {
    border-color: var(--primary);
  }
}

/* MEDIA QUERIES: DESKTOP */
@media (min-width: 1024px) {
  .container {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }

  .hero {
    padding: 5rem 0;
  }

  .hero__grid {
    gap: 4rem;
  }

  .section {
    padding: 5rem 0;
  }

  .about {
    --about-group-gap: var(--spacing-xl);
  }
}

@media (max-width: 1200px) {
  .gallery-carousel {
    --gallery-visible: 3;
  }
}

/* MEDIA QUERIES: TABLET */
@media (max-width: 950px) {
  .hero__grid,
  .about {
    grid-template-columns: 1fr;
  }

  .about {
    gap: var(--spacing-lg);
  }

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

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

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

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

  .gallery-carousel {
    --gallery-visible: 2;
  }

  .nav__toggle {
    display: inline-flex;
  }

  .nav {
    position: absolute;
    right: 4%;
    top: 64px;
    flex-direction: column;
    align-items: stretch;
    gap: var(--spacing-xs);
    padding: var(--spacing-xs) var(--spacing-md) var(--spacing-md);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: rgba(10, 15, 28, 0.95);
    backdrop-filter: blur(14px);
    width: min(320px, 92vw);
    box-shadow: var(--shadow);
    display: none;
  }

  :root[data-theme="light"] .nav {
    background: rgba(255, 255, 255, 0.95);
  }

  .nav.is-open {
    display: flex;
  }

  .modal__content {
    padding: var(--spacing-lg);
    width: min(840px, calc(100% - 1rem));
  }

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

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

@media (min-width: 601px) and (max-width: 950px) {
  .cards {
    grid-template-columns: repeat(2, 1fr);
  }

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

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

/* MEDIA QUERIES: MOBILE */
@media (max-width: 640px) {
  .gallery-carousel {
    --gallery-visible: 1;
  }

  .container {
    padding-left: 1.25rem;
    padding-right: 1.25rem;
  }

  .hero {
    padding: var(--spacing-xl) 0;
  }

  .section {
    padding: var(--spacing-xl) 0;
  }

  .hero__media {
    min-height: 160px;
    padding: var(--spacing-sm);
  }

  .hero__media-logo {
    max-width: 220px;
  }

  .hero__cta {
    flex-wrap: wrap;
  }

  .hero__cta .btn {
    flex: 1 1 auto;
    text-align: center;
  }

  .hero__trust {
    gap: var(--spacing-xs);
  }

  .trust__item {
    padding: var(--spacing-xs) var(--spacing-sm);
  }

  .brand__name {
    font-size: 0.95rem;
    max-width: 44vw;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .modal__content {
    padding: var(--spacing-md);
    max-height: 88vh;
  }

  .footer__brand {
    text-align: center;
  }

  .footer__break {
    display: block;
  }
}
