/*
  Sistema de diseño del sitio público (landing y reserva). Todo sale de unas pocas variables:
  los colores de marca del negocio (--brand, --accent, --bg, --text y sus derivados con contraste
  seguro, inyectados en <head>) y los tokens de cada estilo (themes/*.css: tipografía, radios,
  sombras). Los colores derivados usan color-mix(), así un fondo claro y uno oscuro funcionan igual.
*/

@font-face {
  font-family: 'Inter';
  src: url('../fonts/inter-var.woff2') format('woff2');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Oswald';
  src: url('../fonts/oswald-var.woff2') format('woff2');
  font-weight: 200 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Playfair Display';
  src: url('../fonts/playfair-var.woff2') format('woff2');
  font-weight: 400 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Playfair Display';
  src: url('../fonts/playfair-italic-var.woff2') format('woff2');
  font-weight: 400 900;
  font-style: italic;
  font-display: swap;
}

:root {
  --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --font-head: var(--font-body);
  --head-weight: 700;
  --head-tracking: -0.02em;
  --head-transform: none;

  --radius: 14px;
  --radius-lg: 24px;
  --radius-btn: 12px;
  --shadow-sm: 0 1px 2px rgb(15 23 42 / 0.06), 0 1px 3px rgb(15 23 42 / 0.05);
  --shadow-md: 0 8px 24px -8px rgb(15 23 42 / 0.18);
  --shadow-lg: 0 24px 48px -16px rgb(15 23 42 / 0.28);

  --surface: color-mix(in srgb, var(--bg) 95%, var(--text));
  --surface-2: color-mix(in srgb, var(--bg) 90%, var(--text));
  --border: color-mix(in srgb, var(--text) 14%, var(--bg));
  --muted: color-mix(in srgb, var(--text) 72%, var(--bg));
  --accent-soft: color-mix(in srgb, var(--accent) 13%, var(--bg));
  --brand-soft: color-mix(in srgb, var(--brand) 9%, var(--bg));
  --star: #f59e0b;

  --header-h: 68px;
  --section-y: clamp(3.5rem, 8vw, 6.5rem);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);

  color-scheme: light;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

a {
  color: var(--link);
  text-underline-offset: 3px;
}

h1,
h2,
h3 {
  font-family: var(--font-head);
  font-weight: var(--head-weight);
  letter-spacing: var(--head-tracking);
  text-transform: var(--head-transform);
  color: var(--heading);
  line-height: 1.12;
  margin: 0;
}

p {
  margin: 0;
}

ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

:focus-visible {
  outline: 3px solid var(--link);
  outline-offset: 3px;
  border-radius: 6px;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 100;
  background: var(--brand);
  color: var(--on-brand);
  padding: 0.6rem 1rem;
  border-radius: 8px;
  transition: top 0.2s;
}

.skip-link:focus {
  top: 1rem;
}

.container {
  width: min(1160px, 100% - 2rem);
  margin-inline: auto;
}

.container-narrow {
  width: min(780px, 100% - 2rem);
}

.icon {
  width: 1.15em;
  height: 1.15em;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.icon-fill {
  fill: currentColor;
  stroke-width: 1;
}

.muted {
  color: var(--muted);
}

/* --- Botones --------------------------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.75rem 1.35rem;
  border: 1.5px solid transparent;
  border-radius: var(--radius-btn);
  font: inherit;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease), background 0.2s,
    border-color 0.2s, color 0.2s;
}

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

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

.btn-accent {
  background: var(--accent);
  color: var(--on-accent);
  box-shadow: 0 6px 16px -6px color-mix(in srgb, var(--accent) 70%, transparent);
}

.btn-accent:hover {
  box-shadow: 0 10px 22px -8px color-mix(in srgb, var(--accent) 80%, transparent);
  filter: brightness(1.05);
}

.btn-ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--border);
}

.btn-ghost:hover {
  background: var(--surface);
  border-color: color-mix(in srgb, var(--text) 30%, var(--bg));
}

.btn-ghost-inverse {
  background: transparent;
  color: var(--on-brand);
  border-color: color-mix(in srgb, var(--on-brand) 45%, transparent);
}

.btn-ghost-inverse:hover {
  background: color-mix(in srgb, var(--on-brand) 12%, transparent);
}

.btn-sm {
  padding: 0.55rem 1rem;
  font-size: 0.9rem;
}

.btn-lg {
  padding: 0.95rem 1.7rem;
  font-size: 1.05rem;
}

.btn[disabled],
.btn[aria-disabled='true'] {
  opacity: 0.55;
  cursor: not-allowed;
  transform: none;
}

/* --- Header ---------------------------------------------------------------------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--bg) 86%, transparent);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s, box-shadow 0.25s;
}

.site-header.is-scrolled {
  border-bottom-color: var(--border);
  box-shadow: 0 6px 18px -12px rgb(0 0 0 / 0.35);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  color: var(--heading);
  text-decoration: none;
  margin-right: auto;
  min-width: 0;
}

.brand-name {
  font-family: var(--font-head);
  font-weight: var(--head-weight);
  letter-spacing: var(--head-tracking);
  text-transform: var(--head-transform);
  font-size: 1.3rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.brand-logo {
  height: 40px;
  width: auto;
  max-width: 200px;
  object-fit: contain;
}

.site-nav {
  display: flex;
  gap: 0.25rem;
}

.site-nav a {
  padding: 0.5rem 0.8rem;
  border-radius: 8px;
  color: var(--muted);
  font-weight: 500;
  font-size: 0.95rem;
  text-decoration: none;
  transition: color 0.2s, background 0.2s;
}

.site-nav a:hover,
.site-nav a[aria-current='true'] {
  color: var(--text);
  background: var(--surface);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text);
  font-weight: 500;
  text-decoration: none;
  padding: 0.5rem 0.75rem;
  border-radius: 8px;
}

.back-link:hover {
  background: var(--surface);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text);
  border-radius: 10px;
  cursor: pointer;
}

.nav-toggle .icon {
  width: 22px;
  height: 22px;
}

.nav-toggle .icon-close,
.site-header.is-open .nav-toggle .icon-open {
  display: none;
}

.site-header.is-open .nav-toggle .icon-close {
  display: block;
}

@media (max-width: 880px) {
  .nav-toggle {
    display: inline-flex;
  }

  .site-nav {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    flex-direction: column;
    gap: 0;
    padding: 0.5rem 1rem 1rem;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    box-shadow: 0 18px 30px -18px rgb(0 0 0 / 0.4);
    display: none;
  }

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

  .site-nav a {
    padding: 0.85rem 0.5rem;
    font-size: 1.05rem;
    border-radius: 0;
    border-bottom: 1px solid var(--border);
  }
}

.header-actions .btn {
  white-space: nowrap;
}

@media (max-width: 560px) {
  .header-inner {
    gap: 0.75rem;
  }

  .header-actions {
    gap: 0.5rem;
  }

  .header-actions .btn-sm {
    padding: 0.5rem 0.75rem;
    font-size: 0.85rem;
  }

  .brand-name {
    font-size: 1.05rem;
    line-height: 1.15;
    white-space: normal;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
  }
}

/* --- Hero ------------------------------------------------------------------------------ */

.hero {
  position: relative;
  overflow: hidden;
  padding-block: clamp(3rem, 8vw, 6.5rem);
  background:
    radial-gradient(900px 420px at 88% -8%, var(--accent-soft), transparent 65%),
    linear-gradient(180deg, var(--bg), var(--surface));
}

.hero-inner {
  display: grid;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.hero-copy,
.hero-visual {
  position: relative;
  z-index: 1;
}

.hero.has-image .hero-inner {
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
}

.hero:not(.has-image) .hero-inner {
  max-width: 820px;
  text-align: center;
}

.hero:not(.has-image) .hero-actions,
.hero:not(.has-image) .hero-facts,
.hero:not(.has-image) .lead {
  justify-content: center;
  margin-inline: auto;
}

.hero h1 {
  font-size: clamp(2.4rem, 6vw, 4.2rem);
  line-height: 1.04;
  margin-top: 0.75rem;
}

.lead {
  margin-top: 1.25rem;
  font-size: clamp(1.05rem, 1.7vw, 1.25rem);
  color: var(--muted);
  max-width: 56ch;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 2rem;
}

.hero-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1.25rem;
  margin-top: 1.75rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.fact {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.fact .icon-fill {
  color: var(--star);
}

.hero-visual img {
  width: 100%;
  aspect-ratio: 4 / 3.3;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

@media (max-width: 880px) {
  .hero.has-image .hero-inner {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-visual img {
    aspect-ratio: 16 / 10;
    max-height: 320px;
  }
}

.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--link);
}

.dot {
  display: inline-block;
  vertical-align: middle;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #dc2626;
  flex: none;
}

.is-open > .dot,
.is-open .dot {
  background: #16a34a;
  box-shadow: 0 0 0 4px rgb(22 163 74 / 0.22);
}

.fact-status,
.status-pill {
  font-weight: 500;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.3rem 0.8rem;
  border-radius: 999px;
  background: var(--surface-2);
  font-size: 0.88rem;
  margin: 0.25rem 0 1rem;
}

/* --- Secciones ------------------------------------------------------------------------- */

.section {
  padding-block: var(--section-y);
}

.section-alt {
  background: var(--surface);
}

.section-head {
  max-width: 660px;
  margin-bottom: clamp(1.75rem, 4vw, 3rem);
}

.section-head h2 {
  font-size: clamp(1.85rem, 3.6vw, 2.65rem);
  margin-top: 0.5rem;
}

.section-sub {
  margin-top: 0.85rem;
  color: var(--muted);
  font-size: 1.08rem;
}

.grid {
  display: grid;
  gap: 1.25rem;
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
}

.section-alt .card {
  background: var(--bg);
}

/* Servicios */

.services-grid {
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 290px), 1fr));
}

.service-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease),
    border-color 0.25s;
}

.service-card:hover,
.service-card:focus-within {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: color-mix(in srgb, var(--accent) 55%, var(--border));
}

.service-top {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
}

.service-top h3 {
  font-size: 1.2rem;
}

.price {
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--heading);
  white-space: nowrap;
}

.service-bottom {
  margin-top: auto;
  padding-top: 0.75rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.25rem 0.7rem;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--text);
  font-size: 0.85rem;
  font-weight: 500;
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 600;
  text-decoration: none;
  color: var(--link);
}

.link-arrow .icon {
  transition: transform 0.2s var(--ease);
}

.link-arrow:hover .icon,
.service-card:hover .link-arrow .icon {
  transform: translateX(4px);
}

.stretched::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
}

/* Nosotros */

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: start;
}

.about-solo {
  grid-template-columns: minmax(0, 720px);
}

.about-copy h2 {
  font-size: clamp(1.85rem, 3.6vw, 2.65rem);
  margin: 0.5rem 0 1.25rem;
}

.prose p + p {
  margin-top: 1rem;
}

.prose {
  color: var(--muted);
  font-size: 1.08rem;
}

.team-title {
  font-size: 1.1rem;
  margin-bottom: 1.25rem;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
  gap: 1.5rem 1rem;
}

.team-member {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.6rem;
}

.team-name {
  font-weight: 600;
  font-size: 0.95rem;
}

.avatar {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 0 0 3px var(--bg), 0 0 0 5px var(--accent-soft);
}

.avatar-sm {
  width: 44px;
  height: 44px;
  box-shadow: none;
}

.avatar-initials {
  display: grid;
  place-items: center;
  background: var(--brand);
  color: var(--on-brand);
  font-weight: 700;
  font-size: 1.5rem;
  letter-spacing: 0.02em;
}

.avatar-sm.avatar-initials {
  font-size: 1rem;
}

@media (max-width: 800px) {
  .about-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* Galería */

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 230px), 1fr));
  gap: 0.85rem;
}

.gallery-button {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: var(--surface-2);
  cursor: zoom-in;
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: var(--radius);
}

.gallery-button img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease);
}

.gallery-button:hover img {
  transform: scale(1.06);
}

.lightbox {
  width: 100%;
  height: 100%;
  max-width: 100vw;
  max-height: 100vh;
  padding: 0;
  border: 0;
  background: transparent;
  color: #fff;
}

.lightbox::backdrop {
  background: rgb(6 8 12 / 0.9);
}

.lightbox[open] {
  display: grid;
  place-items: center;
}

.lightbox figure {
  margin: 0;
  text-align: center;
  max-width: 92vw;
}

.lightbox img {
  max-width: 92vw;
  max-height: 80vh;
  object-fit: contain;
  border-radius: 8px;
  margin-inline: auto;
}

.lightbox figcaption {
  margin-top: 0.75rem;
  color: #e5e7eb;
}

.lightbox-close,
.lightbox-nav {
  position: absolute;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: rgb(255 255 255 / 0.14);
  color: #fff;
  cursor: pointer;
}

.lightbox-close:hover,
.lightbox-nav:hover {
  background: rgb(255 255 255 / 0.28);
}

.lightbox-close {
  top: 1rem;
  right: 1rem;
}

.lightbox-nav {
  top: 50%;
  transform: translateY(-50%);
}

.lightbox-prev {
  left: 1rem;
}

.lightbox-next {
  right: 1rem;
}

/* Opiniones */

.testimonials-grid {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
}

.testimonial-card {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.stars {
  display: flex;
  gap: 2px;
  color: var(--star);
}

.stars .is-empty {
  color: var(--border);
}

.testimonial-card blockquote {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.65;
}

.testimonial-card figcaption {
  margin-top: auto;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 600;
}

/* Preguntas */

.faq-list {
  display: grid;
  gap: 0.75rem;
}

.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: border-color 0.2s;
}

.faq-item[open] {
  border-color: color-mix(in srgb, var(--accent) 45%, var(--border));
}

.faq-item summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1.1rem 1.35rem;
  cursor: pointer;
  font-weight: 600;
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item .chevron {
  transition: transform 0.25s var(--ease);
  color: var(--muted);
}

.faq-item[open] .chevron {
  transform: rotate(180deg);
}

.faq-answer {
  padding: 0 1.35rem 1.25rem;
  color: var(--muted);
}

/* Llamado a reservar */

.cta-band {
  position: relative;
  overflow: hidden;
  background: var(--brand);
  color: var(--on-brand);
  padding-block: clamp(3rem, 7vw, 5rem);
}

.cta-band::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(600px 300px at 90% 0%, color-mix(in srgb, var(--accent) 45%, transparent), transparent 70%),
    radial-gradient(500px 260px at 0% 100%, color-mix(in srgb, var(--accent) 25%, transparent), transparent 70%);
  pointer-events: none;
}

.cta-inner {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.75rem 2.5rem;
}

.cta-band h2 {
  color: var(--on-brand);
  font-size: clamp(1.7rem, 3.4vw, 2.5rem);
}

.cta-band p {
  margin-top: 0.6rem;
  opacity: 0.85;
  font-size: 1.08rem;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

/* Contacto */

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr);
  gap: 1.25rem;
  align-items: start;
}

.contact-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
  gap: 1.25rem;
}

.contact-card {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.contact-icon {
  flex: none;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: var(--accent-soft);
  color: var(--link);
}

.contact-card strong {
  display: block;
  margin-bottom: 0.15rem;
}

.contact-card p {
  color: var(--muted);
  overflow-wrap: anywhere;
}

.contact-card .link-arrow {
  margin-top: 0.5rem;
}

.inline-links {
  display: flex;
  gap: 0.5rem 1.1rem;
  flex-wrap: wrap;
}

.inline-links a {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.hours-card h3 {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.15rem;
  margin-bottom: 0.75rem;
}

.hours-list {
  margin: 0;
}

.hours-row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.55rem 0;
  border-bottom: 1px dashed var(--border);
  color: var(--muted);
}

.hours-row:last-child {
  border-bottom: 0;
}

.hours-row dt,
.hours-row dd {
  margin: 0;
}

.hours-row.is-today {
  color: var(--text);
  font-weight: 700;
}

@media (max-width: 860px) {
  .contact-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* Footer */

.site-footer {
  background: var(--surface-2);
  border-top: 1px solid var(--border);
  padding-top: 2.5rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1.5rem 3rem;
}

.footer-name {
  font-family: var(--font-head);
  font-weight: var(--head-weight);
  text-transform: var(--head-transform);
  letter-spacing: var(--head-tracking);
  font-size: 1.2rem;
  color: var(--heading);
}

.footer-links {
  display: grid;
  gap: 0.35rem;
}

.footer-links a {
  color: var(--text);
  text-decoration: none;
}

.footer-links a:hover {
  text-decoration: underline;
}

.social {
  display: flex;
  gap: 0.6rem;
}

.social-link {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid var(--border);
  color: var(--text);
  transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.2s;
}

.social-link:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--on-accent);
  transform: translateY(-2px);
}

.footer-bottom {
  margin-top: 2rem;
  padding: 1.25rem 0 calc(1.5rem + env(safe-area-inset-bottom, 0px));
  border-top: 1px solid var(--border);
  font-size: 0.85rem;
}

/* --- Animación de entrada (sólo con JS, y respetando "reducir movimiento") ---------------- */

.js .reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
  transition-delay: calc(var(--i, 0) * 60ms);
}

.js .reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }

  .js .reveal {
    opacity: 1;
    transform: none;
  }
}

.hero-decor {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

/* Vista previa de un estilo (sólo la ve el equipo del negocio) */

.preview-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 60;
  box-shadow: 0 -10px 30px -12px rgb(0 0 0 / 0.5);
  padding-bottom: calc(0.65rem + env(safe-area-inset-bottom, 0px));
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1.5rem;
  padding: 0.65rem 1rem;
  background: #1e1b4b;
  color: #fff;
  font-size: 0.92rem;
}

.preview-bar p {
  margin: 0;
}

.preview-bar form {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.preview-bar .btn-ghost-inverse {
  color: #fff;
  border-color: rgb(255 255 255 / 0.5);
}

body:has(.preview-bar) {
  padding-bottom: 5.5rem;
}
