/* ==========================================================================
   Landing · Social x Winelover (/experiencias/cata-de-vinos/)
   Estilos independientes de la web Astro (vive en /public)
   ========================================================================== */

/* Fuentes locales (public/fonts) */
@font-face {
  font-family: "Brunches Stamp";
  src: url("/fonts/brunches-stamp.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Montserrat Menu";
  src: url("/fonts/montserrat-light.ttf") format("truetype");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

/* Variables (paleta "new" de la web) */
:root {
  --color-background: #000000;
  --color-text: #fdfdfd;
  --color-accent: #bc1321;
  --color-line: rgb(253 253 253 / 0.25);

  --font-heading: "Brunches Stamp", serif;
  --font-body: "Montserrat Menu", system-ui, sans-serif;

  --space-main: 1rem;
  --space-section: 4rem;
  --container-width: 1440px;
}

@media (min-width: 768px) {
  :root {
    --space-main: 1.5rem;
    --space-section: 7.5rem;
  }
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--color-background);
  color: var(--color-text);
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 1.125rem;
  line-height: 1.5;
}

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

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

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

h1,
h2,
p {
  margin: 0;
}

::selection {
  background: #f3404d;
  color: #fff;
}

.container {
  width: 100%;
  max-width: var(--container-width);
  margin-inline: auto;
  padding-inline: var(--space-main);
}

/* ==========================================================================
   Hero (solo imagen)
   ========================================================================== */
.hero {
  line-height: 0;
}

.hero__picture {
  display: block;
}

.hero__image {
  width: 100%;
  height: auto;
}

/* Mobile: la imagen se muestra completa; si hay versión mobile, se carga con <source> */
@media (max-width: 767px) {
  .hero__image {
    aspect-ratio: auto;
    object-fit: cover;
  }
}

/* ==========================================================================
   Info
   ========================================================================== */
.info {
  padding-block: var(--space-section);
  text-align: center;
}

.info__eyebrow {
  font-size: 0.95rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--color-accent);
}

.info__title {
  margin-top: 1rem;
  font-family: var(--font-heading);
  font-weight: 400;
  font-size: clamp(3rem, 11vw, 9rem);
  line-height: 0.95;
  text-transform: uppercase;
}

.info__x {
  color: var(--color-accent);
}

.info__details {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  margin-top: 3rem;
  border-block: 1px solid var(--color-line);
}

.info__detail {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  padding: 1.75rem 0.75rem;
  border-bottom: 1px solid var(--color-line);
}

.info__detail:nth-child(odd) {
  border-right: 1px solid var(--color-line);
}

.info__detail:nth-last-child(-n + 2) {
  border-bottom: 0;
}

.info__label {
  font-size: 0.85rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  opacity: 0.65;
}

.info__value {
  font-family: var(--font-heading);
  font-size: clamp(1.75rem, 5vw, 2.75rem);
  line-height: 1.1;
  text-transform: uppercase;
}

.info__value small {
  display: block;
  margin-top: 0.35rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  opacity: 0.85;
}

@media (min-width: 768px) {
  .info__details {
    grid-template-columns: repeat(4, 1fr);
    margin-top: 4.5rem;
  }

  .info__detail {
    padding: 2.5rem 1rem;
    border-bottom: 0;
  }

  .info__detail:not(:last-child) {
    border-right: 1px solid var(--color-line);
  }
}

/* Sorteo */
.raffle {
  margin-top: 3.5rem;
}

.raffle__title {
  font-family: var(--font-heading);
  font-size: clamp(1.75rem, 5vw, 3rem);
  text-transform: uppercase;
  color: var(--color-accent);
}

.raffle__list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.raffle__item {
  padding: 0.6rem 1.5rem;
  border: 1px solid var(--color-text);
  border-radius: 999px;
  font-size: 0.95rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

/* CTA */
.info__cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  margin-top: 3.5rem;
}

.info__notice {
  font-size: 0.95rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 2.5rem;
  border: 1px solid var(--color-accent);
  border-radius: 999px;
  background: var(--color-accent);
  color: var(--color-text);
  font-size: 1rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  transition: background 0.3s ease, color 0.3s ease;
}

.btn:hover,
.btn:focus-visible {
  background: transparent;
}

/* ==========================================================================
   Reserva
   ========================================================================== */
.booking {
  padding-bottom: var(--space-section);
  scroll-margin-top: 1rem;
}

.booking__title {
  margin-bottom: 2rem;
  font-family: var(--font-heading);
  font-weight: 400;
  font-size: clamp(2rem, 6vw, 3.5rem);
  text-align: center;
  text-transform: uppercase;
}

.booking__iframe {
  display: block;
  width: 100%;
  max-width: 720px;
  min-height: 800px;
  margin-inline: auto;
  border: 0;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
  padding-block: calc(var(--space-section) * 1.5) 2rem;
}

.footer__inner {
  display: flex;
  flex-direction: column;
  gap: 5rem;
}

.footer__hours {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  font-family: var(--font-heading);
  text-align: center;
}

.footer__hours-label {
  font-size: clamp(1.75rem, 4vw, 3.75rem);
}

.footer__hours-text {
  font-size: clamp(1.5rem, 4vw, 3.75rem);
  text-transform: uppercase;
}

.footer__info {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2.5rem;
  font-size: 1rem;
  text-align: center;
}

.footer__link {
  transition: color 0.3s ease;
}

.footer__link:hover,
.footer__link:focus-visible {
  color: var(--color-accent);
}

.footer__link--address {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  line-height: 1.2;
  text-transform: uppercase;
}

.footer__contact {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer__side {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
}

.footer__social {
  display: flex;
  gap: 1.25rem;
}

.footer__social-link {
  transition: color 0.3s ease;
}

.footer__social-link:hover,
.footer__social-link:focus-visible {
  color: var(--color-accent);
}

.footer__icon {
  display: block;
  width: 2.125rem;
  height: 2.125rem;
}

.footer__legal {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem 2rem;
}

.footer__credits {
  opacity: 0.6;
}

.footer__credits-link {
  margin-left: 0.25rem;
}

.footer__credits-link:hover {
  opacity: 1;
}

@media (min-width: 768px) {
  .footer__info {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
    text-align: left;
  }

  .footer__address {
    flex: 5;
    padding-right: 4rem;
  }

  .footer__link--address {
    font-size: 2.25rem;
  }

  .footer__contact {
    flex: 3;
  }

  .footer__side {
    flex: 4;
    align-items: flex-end;
  }

  .footer__legal {
    justify-content: flex-end;
  }
}

/* ==========================================================================
   Botón flotante WhatsApp (siempre visible, mismo hover que la web)
   ========================================================================== */
.wsp {
  position: fixed;
  right: 2rem;
  bottom: 2rem;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  width: 2.8125rem;
  height: 2.8125rem;
  overflow: hidden;
  border: 1px solid var(--color-text);
  border-radius: 50%;
  background-color: rgb(253 253 253 / 0.15);
  box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.2);
  color: var(--color-text);
  cursor: pointer;
  transition: width 0.3s, border-radius 0.3s, background-color 0.3s, transform 0.3s;
}

.wsp__sign {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  transition: width 0.3s, padding 0.3s;
}

.wsp__icon {
  width: 1.5625rem;
}

.wsp__icon path {
  fill: var(--color-text);
}

.wsp__text {
  position: absolute;
  right: 0;
  width: 0;
  opacity: 0;
  color: var(--color-text);
  font-size: 1.2em;
  font-weight: 600;
  white-space: nowrap;
  transition: width 0.3s, opacity 0.3s, padding 0.3s;
}

.wsp:hover {
  width: 9.375rem;
  border-radius: 2.5rem;
  background-color: #00d757;
}

.wsp:hover .wsp__sign {
  width: 30%;
  padding-left: 0.625rem;
}

.wsp:hover .wsp__text {
  width: 70%;
  padding-right: 0.625rem;
  opacity: 1;
}

.wsp:active {
  transform: translate(0.125rem, 0.125rem);
}

@media (min-width: 768px) {
  .wsp {
    width: 3.25rem;
    height: 3.25rem;
  }

  .wsp:hover {
    width: 9.375rem;
  }
}
