/* ===== VARIABLES ===== */
:root {
  --black: #000;
  --white: #fff;
  --pink: #d61e7a;
  --pink-light: #e8549b;
  --font-title: 'Playfair Display', serif;
  --font-body: 'Poppins', sans-serif;
  /* Margen lateral común: el contenido de todas las secciones
     queda alineado en una columna de --container px centrada,
     y nunca a menos de --gutter del borde de la pantalla */
  --container: 1240px;
  --gutter: 40px;
  --side: max(var(--gutter), calc((100% - var(--container)) / 2));
}

/* ===== RESET ===== */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background: var(--black);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.6;
}

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

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

/* ===== CABECERA ===== */
.header {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 10;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 var(--side);
  height: 72px;
}

.logo {
  display: inline-block;
}

.logo--header {
  width: 160px;
}

.logo--footer {
  width: 240px;
  margin-bottom: 30px;
}

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

.nav__link {
  font-family: var(--font-title);
  font-size: 18px;
  transition: color .3s;
}

.nav__link:hover,
.nav__link--active,
.footer__link:hover {
  color: var(--pink);
}

/* ===== BLOQUES DE PRODUCTO ===== */
.feature {
  display: flex;
  align-items: center;
  gap: 60px;
  padding: 0 var(--side);
}

.feature--reverse {
  flex-direction: row-reverse;
}

.feature__text,
.feature__img {
  flex: 1;
}

.feature__img {
  display: flex;
  justify-content: flex-end;
}

.feature--reverse .feature__img {
  justify-content: flex-start;
}

.feature__img img {
  max-width: 560px;
}

.feature__title {
  font-family: var(--font-title);
  font-weight: 400;
  font-size: 44px;
  line-height: 1.3;
  color: var(--pink);
  margin-bottom: 22px;
}

.feature__title--sm {
  font-size: 26px;
  margin-bottom: 14px;
}

.feature__desc {
  font-size: 15px;
  line-height: 1.6;
  max-width: 640px;
}

.feature__desc strong {
  font-weight: 600;
}

/* ===== LLAMADA A LA ACCIÓN ===== */
.cta {
  position: relative;
  min-height: 460px;
  display: flex;
  align-items: center;
  padding: 0 var(--side);
  background: url('img/banners/reserva-momento-peccati.jpg') right center / cover no-repeat;
}

.cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(0, 0, 0, .8) 25%, rgba(0, 0, 0, .1) 70%);
}

.cta__content {
  position: relative;
  max-width: 900px;
}

.cta__title {
  font-family: var(--font-title);
  font-weight: 400;
  font-size: 22px;
  color: var(--pink);
  margin-bottom: 4px;
}

.cta__text {
  font-size: 20px;
  line-height: 1.3;
  margin-bottom: 18px;
}

.btn {
  display: inline-block;
  font-family: var(--font-title);
  font-size: 17px;
  padding: 8px 16px;
  border: 1px solid var(--pink);
  transition: background .3s;
}

.btn--solid {
  background: var(--pink);
}

.btn--sm {
  font-size: 15px;
  padding: 6px 14px;
}

.btn:hover {
  background: var(--pink);
}

/* ===== ORNAMENTO (línea rosa bajo los títulos) ===== */
.ornament {
  display: block;
  width: 90px;
  height: 1px;
  margin: 18px auto 0;
  background: var(--pink);
  position: relative;
}

.ornament::after {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  width: 7px;
  height: 7px;
  background: var(--pink);
  transform: translate(-50%, -50%) rotate(45deg);
}

/* ===== HORARIO (home y contacto) ===== */
.hours {
  list-style: none;
  margin: 10px 0 24px;
}

.hours__row {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 12px 0;
  border-bottom: 1px dotted rgba(214, 30, 122, .6);
  font-size: 15px;
}

.hours__row span:last-child {
  color: var(--pink-light);
}

.hours__row--closed span {
  color: #888;
}

.hours__row--closed span:last-child {
  color: #888;
  font-style: italic;
}

/* ===== MARCAS COLABORADORAS (carrusel) ===== */
.brands {
  --brands-visible: 4;
  padding: 90px var(--side) 70px;
  text-align: center;
}

.brands__title {
  font-family: var(--font-title);
  font-weight: 400;
  font-size: 36px;
  line-height: 1.2;
  color: var(--pink);
}

.brands__viewport {
  overflow: hidden;
  margin-top: 50px;
  mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
}

.brands__track {
  display: flex;
  width: max-content;
  list-style: none;
  animation: brands-scroll 36s linear infinite;
}

.brands__viewport:hover .brands__track {
  animation-play-state: paused;
}

.brands__item {
  /* cada logo ocupa 1/4 del ancho visible: se ven 4 a la vez */
  width: calc(min(100vw - 2 * var(--gutter), var(--container)) / var(--brands-visible));
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 30px;
}

.brands__item img {
  width: auto;
  max-width: min(100%, 190px);
  max-height: 95px;
  opacity: .85;
  transition: opacity .3s;
}

.brands__item img:hover {
  opacity: 1;
}

@keyframes brands-scroll {
  to {
    transform: translateX(-50%);
  }
}

/* Quien tenga activado "reducir movimiento" ve los logos quietos */
@media (prefers-reduced-motion: reduce) {
  .brands__track {
    animation: none;
    flex-wrap: wrap;
    width: auto;
    justify-content: center;
  }

  .brands__item[aria-hidden] {
    display: none;
  }
}

/* ===== PIE ===== */
.footer {
  text-align: center;
  padding: 25px 0 15px;
}

.footer__nav {
  font-size: 11px;
}

.footer__links {
  margin-top: 8px;
}

.footer__legal {
  font-size: 11px;
  margin-top: 18px;
  padding: 0 20px;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .brands {
    --brands-visible: 2;
    padding-top: 70px;
  }

  .brands__title {
    font-size: 28px;
  }

  .brands__item {
    padding: 0 18px;
  }

  .brands__item img {
    max-height: 60px;
  }

  :root {
    --gutter: 20px;
  }

  .nav {
    gap: 14px;
  }

  .nav__link {
    font-size: 15px;
  }

  .feature,
  .feature--reverse {
    flex-direction: column;
    min-height: auto;
  }

  .feature {
    gap: 30px;
  }

  .feature__text,
  .feature__img {
    flex: none;
    width: 100%;
  }

  .feature__img,
  .feature--reverse .feature__img {
    justify-content: center;
  }

  .feature__title {
    font-size: 32px;
  }
}
