/* ==========================================================================
   Floristería Manu Serrano — estilos
   1. Tokens y base
   2. Utilidades y tipografía
   3. Botones y chips
   4. Fotos y tarjetas de producto
   5. Banner de temporada, cabecera, pie y botón de WhatsApp
   6. Páginas
   7. Animaciones
   ========================================================================== */

/* 1. Tokens y base ------------------------------------------------------- */

:root {
  /* Paleta (proporción aproximada en la web) */
  --blanco: #faf8f5; /* 60 % · fondo principal, secciones, espacio alrededor de las fotos */
  --ciruela: #542a5f; /* 20 % · logo, títulos, botones principales, menú, destacados */
  --verde: #263d35; /* 10 % · texto, descripciones, pie, contacto */
  --lavanda: #b99ac4; /* 7 % · fondos de bloques, hover de botones, etiquetas, separadores */
  --coral: #e78c7a; /* 3 % · botón principal de cada página y pequeños detalles */

  /* Derivados. Lavanda y coral no sirven como texto sobre fondo claro
     (contraste 2,3:1): se usan de fondo con texto verde/ciruela encima,
     o como texto solo sobre verde o ciruela. */
  --lavanda-suave: #eae1e9; /* lavanda al 25 % sobre blanco, para bloques grandes */
  --verde-suave: #465952; /* texto secundario (7:1 sobre blanco) */

  /* Usos */
  --bg: var(--blanco);
  --ink: var(--verde);
  --ink-muted: var(--verde-suave);
  --accent: var(--ciruela);
  --paper: #ffffff;
  --border-input: #b9b3a8;
  --line: rgba(185, 154, 196, 0.45);
  --line-strong: rgba(185, 154, 196, 0.6);
  --whatsapp: #1f8f4e; /* verde oficial de WhatsApp, solo en el botón flotante */

  --serif: 'Instrument Serif', Georgia, serif;
  --sans: Figtree, system-ui, -apple-system, sans-serif;

  --header-h: 69px;
  --container: 1160px;

  --ease-reveal: cubic-bezier(0.2, 0.75, 0.2, 1);
  --ease-img: cubic-bezier(0.2, 0.7, 0.2, 1);
  --shadow-hover: 0 10px 22px -10px rgba(38, 61, 53, 0.4);
}

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

html {
  -webkit-text-size-adjust: 100%;
}

html.menu-open {
  overflow: hidden;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--accent);
}
a:hover {
  color: var(--ink);
}

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

input,
select,
textarea,
button {
  font-family: inherit;
}

summary::-webkit-details-marker {
  display: none;
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

[hidden] {
  display: none !important;
}

/* 2. Utilidades y tipografía --------------------------------------------- */

.container {
  max-width: var(--container);
  margin: 0 auto;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 50;
  padding: 12px 16px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--bg);
  font: 600 14px/1 var(--sans);
  text-decoration: none;
}
.skip-link:focus {
  top: 12px;
  color: var(--bg);
}

.stack {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.section-head {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 20px;
}

.grid-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(160px, 44%), 1fr));
  gap: 22px 14px;
}

.eyebrow {
  font: 600 11px/1 var(--sans);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ciruela);
}

.h1 {
  margin: 0;
  color: var(--ciruela);
  font: 400 clamp(44px, 11vw, 72px) / 0.95 var(--serif);
  letter-spacing: -0.02em;
}
.h1 em {
  color: var(--verde);
}
.h1--home {
  font-size: clamp(50px, 13vw, 84px);
  line-height: 0.92;
}
.h1--bodas {
  font-size: clamp(46px, 12vw, 80px);
  line-height: 0.94;
}
.h1--temporada {
  font-size: clamp(46px, 12vw, 78px);
  line-height: 0.94;
}

.h2 {
  margin: 0;
  color: var(--ciruela);
  font: 400 36px/1 var(--serif);
  letter-spacing: -0.01em;
}

.text {
  margin: 0;
  font: 400 16px/1.55 var(--sans);
  color: var(--ink-muted);
  text-wrap: pretty;
}

.link-arrow {
  font: 600 14px var(--sans);
  color: var(--accent);
  text-decoration: none;
}

/* 3. Botones y chips ----------------------------------------------------- */

.btn {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--ink);
  font: 600 14px/1 var(--sans);
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    background-color 0.25s ease,
    border-color 0.25s ease,
    color 0.25s ease;
}
.btn:active {
  transform: scale(0.97);
}

/* Principal: ciruela */
.btn--accent,
.btn--accent:hover {
  background: var(--ciruela);
  color: #fff;
}
/* Acento: coral con texto verde (el blanco no se lee sobre coral) */
.btn--coral,
.btn--coral:hover {
  background: var(--coral);
  color: var(--verde);
}
.btn--dark,
.btn--dark:hover {
  background: var(--verde);
  color: var(--blanco);
}
.btn--outline,
.btn--outline:hover {
  border: 1.5px solid var(--ciruela);
  color: var(--ciruela);
}

/* Hover (solo con ratón): fondo lavanda y texto ciruela */
@media (hover: hover) {
  .btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
  }
  .btn--accent:hover,
  .btn--coral:hover,
  .btn--dark:hover,
  .btn--outline:hover {
    border-color: var(--lavanda);
    background: var(--lavanda);
    color: var(--ciruela);
  }
}

/* Tamaños */
.btn--xl {
  min-height: 58px;
  font-size: 17px;
}
.btn--lg {
  min-height: 56px;
  font-size: 16px;
}
.btn--md {
  min-height: 54px;
  font-size: 16px;
}
.btn--narrow {
  max-width: 340px;
}

.chip {
  flex: none;
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1.5px solid var(--lavanda);
  background: transparent;
  color: var(--ink);
  font: 600 14px/1 var(--sans);
  white-space: nowrap;
  cursor: pointer;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    background-color 0.25s ease;
}
@media (hover: hover) {
  .chip:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
    background: var(--lavanda-suave);
  }
}
.chip:active {
  transform: scale(0.97);
}
.chip[aria-pressed='true'],
input:checked + .chip {
  background: var(--ciruela);
  border-color: var(--ciruela);
  color: #fff;
}
input:focus-visible + .chip {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

/* 4. Fotos y tarjetas de producto ----------------------------------------
   Cada foto es un <div class="photo">. Mientras no haya foto real lleva
   dentro un <div class="photo__ph"> con el texto de lo que debe ir.
   Para poner la foto: sustituir ese div por <img src="fotos/..." alt="...">. */

.photo {
  position: relative;
  overflow: hidden;
  border-radius: 0;
  background: #ebe6dd;
}
.photo > * {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.photo > img {
  object-fit: cover;
}
.photo__ph {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px;
  text-align: center;
  font: 500 12.5px/1.4 var(--sans);
  color: #6f6b62;
  text-wrap: balance;
  background:
    repeating-linear-gradient(135deg, rgba(185, 154, 196, 0.16) 0 10px, transparent 10px 20px),
    #ebe6dd;
}

.card {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.card__media {
  transition: transform 0.5s var(--ease-img);
}
@media (hover: hover) {
  .card__media:hover {
    transform: scale(1.015);
  }
}
.card .photo {
  aspect-ratio: 4 / 5;
  border-radius: 14px;
}
.card__text {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.card__cat {
  font: 600 10.5px/1 var(--sans);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ciruela);
}
.card__name {
  margin: 0;
  font: 400 21px/1.1 var(--serif);
}
.card__price {
  font: 500 14px/1.3 var(--sans);
  color: var(--ink-muted);
}
.card__price strong {
  color: var(--ink);
  white-space: nowrap;
}
.card__cta {
  margin-top: auto;
  padding: 0 12px;
}

/* 5. Elementos globales -------------------------------------------------- */

/* Banner de temporada */
.season-banner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 10px 16px;
  background: var(--ciruela);
  color: var(--blanco);
  text-decoration: none;
  font: 500 13px/1.35 var(--sans);
  text-align: center;
  text-wrap: pretty;
}
.season-banner:hover {
  color: var(--blanco);
}
.season-banner__cta {
  color: var(--coral);
  font-weight: 700;
  white-space: nowrap;
  transition: transform 0.3s ease;
}
.season-banner:hover .season-banner__cta {
  transform: translateX(4px);
}

/* Cabecera */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(250, 248, 245, 0.94);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header__bar {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 12px 20px;
}

.logo {
  display: flex;
  flex-direction: column;
  gap: 3px;
  margin-right: auto;
  color: var(--ink);
  text-decoration: none;
}
.logo:hover {
  color: var(--ink);
}
.logo__top {
  font: 700 9.5px/1 var(--sans);
  letter-spacing: 0.26em;
  color: var(--verde);
}
.logo__name {
  color: var(--ciruela);
  font: 400 27px/0.95 var(--serif);
  letter-spacing: -0.01em;
}

.nav-desktop {
  display: none;
  gap: 22px;
}
.nav-desktop a {
  padding: 8px 0;
  border-bottom: 1.5px solid transparent;
  color: var(--ink);
  text-decoration: none;
  font: 500 14.5px/1 var(--sans);
}
.nav-desktop a:hover {
  color: var(--accent);
}
.nav-desktop a[aria-current='page'] {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

.header-call {
  font-size: 14.5px;
}

.menu-btn {
  min-height: 44px;
  min-width: 44px;
  padding: 0 4px;
  border: 0;
  background: transparent;
  color: var(--ink);
  font: 600 14.5px/1 var(--sans);
  cursor: pointer;
}

.nav-mobile {
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  display: flex;
  flex-direction: column;
  padding: 6px 20px 22px;
  overflow-y: auto;
  overscroll-behavior: contain;
  background: var(--bg);
  border-top: 1px solid var(--line);
}
.nav-mobile a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 0;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  text-decoration: none;
  font: 400 28px/1 var(--serif);
  opacity: 0;
  transform: translateX(-14px);
}
.nav-mobile.is-open a {
  opacity: 1;
  transform: none;
  transition:
    opacity 0.45s ease calc(var(--i, 0) * 45ms),
    transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1) calc(var(--i, 0) * 45ms);
}
.nav-mobile a[aria-current='page'] > span:first-child {
  color: var(--accent);
}
.nav-mobile__arrow {
  font: 500 14px var(--sans);
  color: var(--lavanda);
}
.nav-mobile a.nav-mobile__season {
  border-bottom: 0;
  color: var(--accent);
  font-style: italic;
}
.nav-mobile__season .nav-mobile__arrow {
  color: var(--accent);
  font-style: normal;
}

@media (min-width: 900px) {
  .nav-desktop {
    display: flex;
  }
  .menu-btn,
  .nav-mobile {
    display: none !important;
  }
}

/* Pie */
.site-footer {
  background: var(--ink);
  color: #e9ece4;
}
.site-footer__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
  gap: 30px;
  padding: 48px 20px 110px;
}
.site-footer__col {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.site-footer .logo {
  gap: 4px;
  margin: 0;
}
.site-footer .logo__top {
  color: var(--lavanda);
}
.site-footer .logo__name {
  font-size: 34px;
  letter-spacing: 0;
  color: var(--bg);
}
.site-footer__addr {
  margin: 0;
  font: 400 14.5px/1.55 var(--sans);
  color: #c9d0c3;
}
.site-footer__hours {
  display: flex;
  flex-direction: column;
  gap: 2px;
  font: 400 14.5px/1.55 var(--sans);
  color: #c9d0c3;
}
.site-footer__hours span {
  font: 600 11px/1.8 var(--sans);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--lavanda);
}
.site-footer__links {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.site-footer__links a {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(185, 154, 196, 0.3);
  color: var(--bg);
  text-decoration: none;
  font: 500 15px var(--sans);
}
.site-footer__links a:last-child {
  border-bottom: 0;
}
.site-footer__links a:hover {
  color: #fff;
}
.site-footer__links a:hover span:last-child {
  color: var(--coral);
}
.site-footer__map {
  height: 180px;
  border-radius: 14px;
  overflow: hidden;
  background: #31493f;
}
.site-footer__map iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  filter: grayscale(0.4);
}
.site-footer__legal {
  padding: 0 20px 28px;
  font: 400 12.5px var(--sans);
  color: var(--lavanda);
}

/* Botón flotante de WhatsApp */
.wa-float {
  position: fixed;
  right: 16px;
  bottom: calc(18px + env(safe-area-inset-bottom, 0px));
  z-index: 30;
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 56px;
  padding: 0 20px 0 14px;
  border-radius: 999px;
  background: var(--whatsapp);
  color: #fff;
  text-decoration: none;
  font: 700 15px/1 var(--sans);
  box-shadow: 0 8px 24px rgba(20, 60, 35, 0.3);
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
  animation: waIn 0.7s cubic-bezier(0.2, 0.9, 0.25, 1.2) 0.7s backwards;
}
.wa-float:hover {
  color: #fff;
}
@media (hover: hover) {
  .wa-float:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
  }
}
.wa-float:active {
  transform: scale(0.97);
}
.wa-float__icon {
  position: relative;
  display: flex;
  width: 26px;
  height: 26px;
}
.wa-float__icon svg {
  width: 26px;
  height: 26px;
}
.wa-float__ring {
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.7);
  animation: msPulse 2.6s ease-out 1.6s infinite;
}

/* 6. Páginas ------------------------------------------------------------- */

/* --- Inicio --- */
.hero {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr));
  align-items: center;
  padding-bottom: 8px;
}
.hero__photo {
  height: min(118vw, 620px);
}
.hero__text {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 34px 22px 40px;
}
.hero__lead {
  font-size: 17px;
  max-width: 440px;
}
.hero__ctas {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 440px;
}
/* Badge de Trustindex: se pinta tras la primera interacción, se reserva su hueco */
.hero__badge {
  max-width: 440px;
  min-height: 60px;
}

.cats {
  padding: 40px 0 20px;
}
.cats__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding: 0 20px 18px;
}
.cats__track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(150px, 1fr);
  gap: 12px;
  overflow-x: auto;
  padding: 0 20px 8px;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: 20px;
}
.tile {
  display: flex;
  flex-direction: column;
  gap: 10px;
  color: var(--ink);
  text-decoration: none;
  scroll-snap-align: start;
}
.tile:hover {
  color: var(--ink);
}
.tile__media {
  transition: transform 0.4s var(--ease-img);
}
@media (hover: hover) {
  .tile:hover .tile__media {
    transform: translateY(-4px);
  }
}
.tile .photo {
  height: 190px;
  border-radius: 14px;
}
.tile__label {
  font: 400 22px/1.05 var(--serif);
}

.destacados {
  padding: 44px 20px 56px;
}
.destacados .section-head {
  margin-bottom: 22px;
}

.eventos {
  background: var(--lavanda);
}
.eventos__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr));
  align-items: center;
}
.eventos__photo {
  height: 340px;
}
/* Foto vertical en hueco apaisado: encuadrar en los novios */
.eventos__photo img {
  object-position: 50% 62%;
}
.eventos__text {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 40px 22px 48px;
}
.eventos__text .eyebrow {
  color: var(--verde);
}
.eventos__text p {
  margin: 0;
  font: 400 28px/1.18 var(--serif);
  color: var(--ink);
  text-wrap: pretty;
}
/* Sobre fondo lavanda el hover lavanda no se vería */
@media (hover: hover) {
  .eventos .btn--dark:hover {
    border-color: var(--ciruela);
    background: var(--ciruela);
    color: #fff;
  }
}

.resenas {
  padding: 56px 20px;
}
/* El widget de Trustindex trae sus propios estilos; aquí solo se reserva
   altura para que la página no salte mientras carga. */
.resenas__widget {
  min-height: 200px;
}
.resenas__more {
  display: inline-block;
  margin-top: 14px;
}

.envio {
  padding: 0 20px 56px;
}
.envio__card {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: 22px;
  align-items: center;
  padding: 30px 22px;
  border-radius: 22px;
  background: var(--paper);
  border: 1px solid rgba(38, 61, 53, 0.08);
}
.envio__card .h2 {
  font-size: 34px;
  line-height: 1.02;
}
.envio__card .text {
  font-size: 15.5px;
}
.envio__rows {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.envio__row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  font: 500 15px var(--sans);
}
.envio__rows .link-arrow {
  padding-top: 6px;
  font-size: 14.5px;
}

.insta {
  padding: 0 20px 64px;
}
.insta__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
}
.insta .photo {
  aspect-ratio: 1 / 1;
  border-radius: 6px;
}
.insta .btn {
  margin-top: 18px;
}

/* --- Catálogo --- */
.catalogo {
  padding: 40px 0 64px;
}
.catalogo__intro {
  padding: 0 20px;
}
.catalogo__intro .text {
  max-width: 520px;
}
.filters {
  position: sticky;
  top: var(--header-h);
  z-index: 5;
  padding: 18px 0 14px;
  background: var(--bg);
}
.filters__track {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 0 20px;
  scrollbar-width: none;
}
.filters__track::-webkit-scrollbar {
  display: none;
}
.catalogo .grid-cards {
  gap: 26px 14px;
  padding: 8px 20px 0;
}
.custom {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 44px 20px 0;
  padding: 24px 22px;
  border-radius: 18px;
  background: var(--lavanda-suave);
}
.custom h3 {
  margin: 0;
  color: var(--ciruela);
  font: 400 26px/1.1 var(--serif);
}
.custom p {
  margin: 0;
  font: 400 15px/1.5 var(--sans);
  color: var(--ink-muted);
}
.custom .btn {
  min-height: 52px;
  font-size: 15.5px;
}

/* --- Bodas y eventos --- */
.bodas__intro {
  gap: 14px;
  padding: 40px 20px 28px;
}
.bodas__intro .text {
  font-size: 16.5px;
  max-width: 560px;
}
.galeria-wrap {
  padding: 0 20px;
}
.galeria {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-auto-rows: clamp(150px, 22vw, 250px);
  gap: 8px;
}
.galeria .photo {
  border-radius: 12px;
}
.galeria .photo--tall {
  grid-row: span 2;
}
.galeria .photo--big {
  grid-column: span 2;
  grid-row: span 2;
}
/* Foto vertical en hueco apaisado: encuadrar en los novios y el ramo */
.galeria .photo--big img {
  object-position: 50% 62%;
}

.presupuesto {
  max-width: 720px;
  margin: 0 auto;
  padding: 56px 20px 72px;
}
.presupuesto .section-head {
  gap: 10px;
  margin-bottom: 24px;
}
.presupuesto .h2 {
  font-size: 38px;
}
.presupuesto .text {
  font-size: 15.5px;
}
.form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.field {
  display: flex;
  flex-direction: column;
  gap: 7px;
  font: 600 13.5px var(--sans);
}
.field input,
.field select,
.field textarea {
  min-height: 52px;
  padding: 0 16px;
  border-radius: 12px;
  border: 1.5px solid var(--border-input);
  background: var(--paper);
  color: var(--ink);
  font-size: 16px;
  font-weight: 400;
}
.field select {
  padding: 0 14px;
}
.field textarea {
  padding: 14px 16px;
  resize: vertical;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--ink);
  outline: none;
}
.field input:focus-visible,
.field select:focus-visible,
.field textarea:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 1px;
}
.form__two {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
  gap: 18px;
}
.budget {
  margin: 0;
  padding: 0;
  border: 0;
}
.budget legend {
  padding: 0;
  margin-bottom: 9px;
  font: 600 13.5px var(--sans);
}
.budget__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.budget .chip {
  padding: 0 16px;
}
.field--files {
  gap: 9px;
}
.drop {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  min-height: 96px;
  padding: 14px;
  border: 1.5px dashed var(--lavanda);
  border-radius: 14px;
  background: var(--paper);
  text-align: center;
  cursor: pointer;
}
.field--files:focus-within .drop {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}
.drop__title {
  font: 600 15px var(--sans);
  color: var(--accent);
}
.drop__hint {
  font: 400 13px var(--sans);
  color: var(--ink-muted);
}
.form__error {
  margin: 0;
  font: 500 14px/1.4 var(--sans);
  color: var(--ciruela);
  text-align: center;
}
.form__alt {
  font: 400 13px/1.4 var(--sans);
  color: var(--ink-muted);
  text-align: center;
}
.sent {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 28px 22px;
  border-radius: 18px;
  background: var(--lavanda-suave);
  outline: none;
}
.sent h3 {
  margin: 0;
  color: var(--ciruela);
  font: 400 30px/1.05 var(--serif);
}
.sent p {
  margin: 0;
  font: 400 15.5px/1.55 var(--sans);
  color: var(--ink);
}
.sent__again {
  min-height: 44px;
  border: 0;
  background: transparent;
  color: var(--ink);
  font: 600 14px var(--sans);
  cursor: pointer;
}

/* --- Envíos --- */
.envios {
  display: flex;
  flex-direction: column;
  gap: 36px;
  max-width: 820px;
  margin: 0 auto;
  padding: 40px 20px 72px;
}
.limite {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 26px 22px;
  border-radius: 20px;
  background: var(--ink);
  color: var(--bg);
}
.limite__label {
  font: 600 11px/1 var(--sans);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--lavanda);
}
.limite__hora {
  font: 400 44px/1 var(--serif);
}
.limite__txt {
  font: 400 15px/1.5 var(--sans);
  color: #d9dfd4;
}
.envios__sub {
  margin: 0 0 8px;
  color: var(--ciruela);
  font: 400 30px/1 var(--serif);
}
.zona {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line-strong);
}
.zona__txt {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.zona__name {
  font: 600 16px/1.2 var(--sans);
}
.zona__det {
  font: 400 13.5px/1.3 var(--sans);
  color: var(--ink-muted);
}
.zona strong {
  font: 400 24px/1 var(--serif);
  white-space: nowrap;
}
.faq {
  border-bottom: 1px solid var(--line-strong);
}
.faq summary {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 17px 0;
  list-style: none;
  cursor: pointer;
  font: 600 16px/1.3 var(--sans);
}
.faq summary span {
  color: var(--coral);
}
.faq p {
  margin: 0 0 18px;
  font: 400 15px/1.55 var(--sans);
  color: var(--ink-muted);
  text-wrap: pretty;
}

/* --- Contacto --- */
.contacto {
  display: flex;
  flex-direction: column;
  gap: 26px;
  padding: 40px 20px 72px;
}
.contacto__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 360px), 1fr));
  gap: 24px;
  align-items: start;
}
.contacto__map {
  height: 320px;
  border-radius: 18px;
  overflow: hidden;
  background: #e4e0d6;
}
.contacto__map iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}
.contacto__item {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line-strong);
  font: 500 16px/1.45 var(--sans);
}
.contacto__item a {
  color: var(--ink);
}
.contacto__label {
  font: 600 11px/1 var(--sans);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ciruela);
}
.contacto__actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-top: 20px;
}
.contacto__two {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.contacto__puesto {
  height: 260px;
  border-radius: 18px;
}
/* Franja apaisada: encuadrar arriba para que se vea el letrero del puesto */
.contacto__puesto img {
  object-position: 50% 12%;
}

/* --- Landing de temporada --- */
.t-hero {
  background: var(--season-bg);
}
.t-hero__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr));
  align-items: center;
}
.t-hero__photo {
  height: min(100vw, 560px);
}
.t-hero__text {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 34px 22px 40px;
}
.t-hero__text .eyebrow {
  color: var(--season-accent);
}
.t-hero__text .text {
  font-size: 16.5px;
  color: var(--ink-muted);
  max-width: 460px;
}
.deadline-wrap {
  padding: 0 20px;
}
.deadline {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: center;
  gap: 6px 10px;
  margin-top: -1px;
  padding: 18px 20px;
  border-radius: 0 0 18px 18px;
  background: var(--ink);
  color: var(--bg);
  text-align: center;
}
.deadline span {
  font: 500 15px/1.3 var(--sans);
}
.deadline strong {
  color: var(--coral);
  font: italic 400 26px/1 var(--serif);
}
.t-productos {
  padding: 44px 20px 24px;
}
.t-productos .h2 {
  font-size: 34px;
  margin-bottom: 22px;
}
.t-productos .grid-cards {
  gap: 24px 14px;
}
.cierre {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  max-width: 720px;
  margin: 0 auto;
  padding: 32px 20px 72px;
  text-align: center;
}
.cierre p {
  margin: 0;
  font: 400 26px/1.2 var(--serif);
  text-wrap: pretty;
}
.cierre .btn {
  width: 100%;
  max-width: 420px;
}
.cierre__tel {
  font: 600 14.5px var(--sans);
  color: var(--ink);
}

/* --- 404 --- */
.nf {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 64px 20px 96px;
}
.nf__ctas {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 340px;
  margin-top: 8px;
}

/* 7. Animaciones ----------------------------------------------------------
   Revelado al hacer scroll: los elementos con [data-rv] parten ocultos solo
   si hay JS (clase .js en <html>) y js/main.js les añade .is-in al verse. */

.js [data-rv] {
  opacity: 0;
  transform: translateY(22px);
  transition:
    opacity 0.8s ease var(--rv-d, 0ms),
    transform 0.85s var(--ease-reveal) var(--rv-d, 0ms);
}
.js [data-rv='h1'] {
  --rv-d: 80ms;
  transform: translateY(34px);
  transition:
    opacity 0.8s ease var(--rv-d),
    transform 1.1s var(--ease-reveal) var(--rv-d);
}
.js [data-rv='img'] {
  transform: none;
}
.js [data-rv='img'] > * {
  transform: scale(1.07);
  transition: transform 1.6s var(--ease-img);
}
.js [data-rv].is-in {
  opacity: 1;
  transform: none;
}
.js [data-rv='img'].is-in > * {
  transform: none;
}

@keyframes msPulse {
  0% {
    transform: scale(0.8);
    opacity: 0.9;
  }
  70% {
    transform: scale(1.9);
    opacity: 0;
  }
  100% {
    opacity: 0;
  }
}

@keyframes waIn {
  from {
    opacity: 0;
    transform: translateY(30px) scale(0.9);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    transition: none !important;
    animation: none !important;
  }
  .js [data-rv],
  .js [data-rv] > * {
    opacity: 1 !important;
    transform: none !important;
  }
}
