:root {
  --azul-noche: #062f4f;
  --azul-marca: #00538a;
  --azul-suave: #1b5b8f;
  --oro: #dcb32d;
  --marfil: #f9f6ef;
  --tinta: #182029;
  --blanco: #ffffff;
  --sombra: 0 22px 44px rgba(6, 47, 79, 0.2);
  --radio: 20px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--tinta);
  font-family: "Avenir Next", "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at 20% 0%, #fdf4d8 0%, rgba(253, 244, 216, 0) 46%),
    radial-gradient(circle at 85% 35%, #dce9f5 0%, rgba(220, 233, 245, 0) 42%),
    var(--blanco);
}

body.nav-open {
  overflow: hidden;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: "Bodoni MT", "Didot", "Times New Roman", serif;
  letter-spacing: 0.02em;
}

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

a {
  color: inherit;
}

.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 5vw;
  backdrop-filter: blur(10px);
  background: rgba(255, 255, 255, 0.78);
  border-bottom: 1px solid rgba(6, 47, 79, 0.08);
}

.nav__brand {
  font-weight: 700;
  letter-spacing: 0.06em;
  text-decoration: none;
  text-transform: uppercase;
  color: var(--azul-noche);
}

.nav__toggle {
  display: none;
  width: 2.7rem;
  height: 2.7rem;
  border: 0;
  border-radius: 999px;
  background: rgba(6, 47, 79, 0.08);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  padding: 0;
  color: var(--azul-noche);
}

.nav__links {
  display: flex;
  gap: 1.25rem;
  font-size: 0.94rem;
}

.nav__links a {
  text-decoration: none;
  color: var(--azul-suave);
}

.nav__toggle .icon {
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.nav__toggle .icon--close {
  display: none;
}

.nav.is-open .nav__toggle .icon--menu {
  display: none;
}

.nav.is-open .nav__toggle .icon--close {
  display: inline-block;
}

.hero {
  min-height: 100vh;
  position: relative;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 7rem 1.25rem 4rem;
  background-image: url("./assets/img/moda-intima.jpg");
  background-size: cover;
  background-position: center;
  overflow: hidden;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(125deg, rgba(6, 47, 79, 0.86), rgba(0, 83, 138, 0.55));
}

.hero__shape {
  position: absolute;
  border-radius: 50%;
  filter: blur(1px);
}

.hero__shape--one {
  width: 320px;
  height: 320px;
  background: rgba(220, 179, 45, 0.32);
  right: -80px;
  top: 16%;
}

.hero__shape--two {
  width: 250px;
  height: 250px;
  background: rgba(255, 255, 255, 0.14);
  left: -70px;
  bottom: 12%;
}

.hero__content {
  position: relative;
  z-index: 1;
  width: min(760px, 100%);
  padding: 2.2rem;
  border-radius: var(--radio);
  background: rgba(7, 33, 55, 0.53);
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: var(--sombra);
}

.hero__logo {
  width: min(340px, 68vw);
  height: auto;
  display: block;
  margin-inline: auto;
}

.hero__eyebrow {
  margin-top: 0.85rem;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #ffe086;
}

.hero h1 {
  margin-top: 0.8rem;
  font-size: clamp(2rem, 4vw, 3.45rem);
  color: var(--blanco);
}

.hero__lead {
  margin: 1rem auto 0;
  max-width: 60ch;
  color: #e7eef4;
}

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

.btn {
  display: inline-block;
  border-radius: 999px;
  padding: 0.72rem 1.3rem;
  text-decoration: none;
  font-weight: 700;
  border: 1px solid transparent;
  transition: transform 0.24s ease, background-color 0.24s ease, color 0.24s ease;
}

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

.btn--primary {
  color: var(--azul-noche);
  background: var(--oro);
}

.btn--secondary {
  color: var(--blanco);
  border-color: rgba(255, 255, 255, 0.66);
}

.highlights {
  margin: -2rem auto 2rem;
  width: min(1100px, calc(100% - 2rem));
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  position: relative;
  z-index: 2;
}

.highlights article {
  padding: 1.2rem;
  border-radius: 16px;
  text-align: center;
  background: var(--blanco);
  box-shadow: 0 14px 28px rgba(0, 45, 79, 0.12);
}

.highlights__value {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--azul-marca);
}

.highlights__label {
  margin-top: 0.4rem;
  font-size: 0.95rem;
}

.section {
  width: min(1120px, calc(100% - 2.2rem));
  margin: 0 auto;
  padding: 4rem 0;
}

.section__heading {
  text-align: center;
  max-width: 760px;
  margin: 0 auto;
}

.section__kicker {
  color: var(--azul-suave);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 700;
  font-size: 0.79rem;
}

.section__heading h2 {
  margin-top: 0.65rem;
  font-size: clamp(1.75rem, 3.2vw, 2.8rem);
  color: var(--azul-noche);
}

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

.card {
  padding: 1.45rem;
  border-radius: 18px;
  background: linear-gradient(165deg, #f6f9fc 10%, #eef4fa 100%);
  border: 1px solid rgba(0, 83, 138, 0.1);
}

.card h3 {
  font-size: 1.36rem;
  color: var(--azul-noche);
}

.card p {
  margin-top: 0.65rem;
}

.section--tallas {
  padding-top: 1rem;
}

.tallas-layout {
  margin-top: 2rem;
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 1rem;
}

.tallas-focus {
  padding: 1.45rem;
  border-radius: 18px;
  background: linear-gradient(165deg, #f7fbff 0%, #edf5fb 100%);
  border: 1px solid rgba(0, 83, 138, 0.12);
}

.tallas-focus__tag {
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  background: rgba(0, 83, 138, 0.1);
  color: var(--azul-marca);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.tallas-focus h3 {
  margin-top: 0.7rem;
  color: var(--azul-noche);
  font-size: 1.55rem;
}

.tallas-focus p {
  margin-top: 0.75rem;
}

.tallas-focus__list {
  margin: 1rem 0 0;
  padding-left: 1.1rem;
}

.tallas-focus__list li + li {
  margin-top: 0.42rem;
}

.tallas-confidence {
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  padding: 1.35rem;
  background: linear-gradient(165deg, #083e64 0%, #0b5e93 100%);
  color: #eef6ff;
  border: 1px solid rgba(255, 255, 255, 0.22);
}

.tallas-confidence::before {
  content: "";
  position: absolute;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  right: -70px;
  top: -90px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.22) 0%, rgba(255, 255, 255, 0) 72%);
}

.tallas-confidence__kicker {
  position: relative;
  z-index: 1;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.74rem;
  font-weight: 700;
  color: #ffda7b;
}

.tallas-confidence__grid {
  position: relative;
  z-index: 1;
  margin-top: 0.9rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.6rem;
}

.tallas-confidence__grid article {
  padding: 0.7rem;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(2px);
}

.tallas-confidence__grid h4 {
  margin: 0;
  font-size: 1.02rem;
  font-family: "Avenir Next", "Segoe UI", sans-serif;
  color: #fff;
}

.tallas-confidence__grid p {
  margin-top: 0.3rem;
  font-size: 0.88rem;
  line-height: 1.5;
}

.tallas-confidence__note {
  position: relative;
  z-index: 1;
  margin-top: 0.95rem;
  font-size: 0.93rem;
}

.section--ajuste-visual {
  padding-top: 0.8rem;
}

.fit-process {
  margin-top: 2rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
}

.fit-step {
  position: relative;
  padding: 1.2rem;
  border-radius: 16px;
  background: linear-gradient(170deg, #f4f9ff 0%, #eaf3fb 100%);
  border: 1px solid rgba(0, 83, 138, 0.12);
}

.fit-step__index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.1rem;
  height: 2.1rem;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: #fff;
  background: linear-gradient(145deg, #00538a, #1a74ae);
}

.fit-step h3 {
  margin-top: 0.6rem;
  color: var(--azul-noche);
  font-size: 1.35rem;
}

.fit-step p {
  margin-top: 0.55rem;
}

.fit-check {
  margin-top: 1rem;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.75rem;
}

.fit-check__item {
  padding: 1rem;
  border-radius: 14px;
  background: linear-gradient(180deg, #fff9e9 0%, #ffffff 100%);
  border: 1px solid rgba(220, 179, 45, 0.34);
}

.fit-check__item h3 {
  color: var(--azul-noche);
  font-size: 1.15rem;
}

.fit-check__item p {
  margin-top: 0.45rem;
  font-size: 0.93rem;
}

.section--split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.4rem;
  align-items: center;
}

.section--servicios {
  padding-top: 1rem;
}

.section--zonas {
  padding-top: 1rem;
}

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

.zonas-card {
  padding: 1.35rem;
  border-radius: 18px;
  background: linear-gradient(165deg, #f6f9fc 0%, #ecf3fa 100%);
  border: 1px solid rgba(0, 83, 138, 0.12);
}

.zonas-card h3 {
  color: var(--azul-noche);
  font-size: 1.4rem;
}

.zonas-card p + p {
  margin-top: 0.7rem;
}

.zonas-list {
  margin: 0.85rem 0 0;
  padding-left: 1.1rem;
}

.zonas-list li + li {
  margin-top: 0.4rem;
}

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

.service-grid > *:last-child:nth-child(odd) {
  grid-column: 1 / -1;
  justify-self: center;
  width: min(540px, 100%);
}

.service-card {
  padding: 1.4rem;
  border-radius: 18px;
  background: linear-gradient(165deg, #0a3c60 0%, #0f5b8d 100%);
  color: #eff6ff;
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.service-card__tag {
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #ffd972;
}

.service-card h3 {
  margin-top: 0.45rem;
  font-size: 1.7rem;
}

.service-card p {
  margin-top: 0.7rem;
}

.section--productos {
  padding-top: 1rem;
}

.carousel {
  margin-top: 1.8rem;
  position: relative;
  border-radius: var(--radio);
  background: linear-gradient(180deg, #f5f9fd 0%, #eaf2f9 100%);
  border: 1px solid rgba(0, 83, 138, 0.14);
  padding: 1rem;
}

.carousel__viewport {
  overflow: hidden;
  border-radius: 14px;
}

.carousel__track {
  display: flex;
  transition: transform 0.45s ease;
  will-change: transform;
}

.carousel__slide {
  min-width: 100%;
  margin: 0;
  position: relative;
  aspect-ratio: 16 / 9;
}

.carousel__slide img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.carousel__slide figcaption {
  position: absolute;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  padding: 0.5rem 0.8rem;
  border-radius: 999px;
  width: fit-content;
  max-width: calc(100% - 2rem);
  background: rgba(6, 47, 79, 0.78);
  color: #fff;
  font-weight: 700;
  font-size: 0.9rem;
}

.carousel__slide figcaption.carousel__empty {
  position: static;
  margin: 0;
  width: 100%;
  max-width: none;
  height: 100%;
  min-height: 280px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  text-align: center;
  background: linear-gradient(180deg, #f2f7fc 0%, #e3edf8 100%);
  color: var(--azul-noche);
}

.carousel__control {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  display: grid;
  place-items: center;
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 50%;
  border: 0;
  cursor: pointer;
  color: #fff;
  background: rgba(6, 47, 79, 0.76);
  z-index: 1;
}

.carousel__control .icon {
  width: 1.15rem;
  height: 1.15rem;
}

.carousel__control--prev {
  left: 1.45rem;
}

.carousel__control--next {
  right: 1.45rem;
}

.carousel__dots {
  margin-top: 0.8rem;
  display: flex;
  justify-content: center;
  gap: 0.45rem;
}

.carousel__dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  border: 0;
  background: rgba(0, 83, 138, 0.28);
  cursor: pointer;
  padding: 0;
}

.carousel__dot.is-active {
  background: var(--azul-marca);
}

.split--image img {
  width: 100%;
  border-radius: var(--radio);
  object-fit: cover;
  box-shadow: var(--sombra);
}

.split--content {
  background: linear-gradient(180deg, #fff8e2 0%, #ffffff 100%);
  border-radius: var(--radio);
  padding: 1.7rem;
  border: 1px solid rgba(220, 179, 45, 0.28);
}

.split--content h2 {
  margin-top: 0.55rem;
  font-size: clamp(1.6rem, 3vw, 2.35rem);
  color: var(--azul-noche);
}

.split--content p {
  margin-top: 0.85rem;
}

.split--content .btn {
  margin-top: 1rem;
}

.section--marcas {
  padding-top: 1rem;
}

.brand-logos {
  margin-top: 1.8rem;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 0.8rem;
}

.brand-logo-item {
  background: var(--blanco);
  border: 1px solid rgba(0, 83, 138, 0.14);
  border-radius: 14px;
  display: grid;
  place-items: center;
  min-height: 90px;
  padding: 0.8rem;
}

.brand-logos img {
  max-width: 100%;
  max-height: 45px;
  width: auto;
  height: auto;
}

.contact {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 1rem;
  background: var(--blanco);
  border-radius: var(--radio);
  box-shadow: var(--sombra);
  overflow: hidden;
}

.contact__image {
  width: 100%;
  height: 100%;
  min-height: 460px;
  object-fit: cover;
}

.contact__panel {
  padding: 1.6rem;
  background: linear-gradient(170deg, #07273f 0%, #0f486f 100%);
  color: #f3f8ff;
}

.contact__panel h2 {
  margin-top: 0.45rem;
  color: var(--blanco);
  font-size: clamp(1.5rem, 2.7vw, 2.2rem);
}

.contact__panel p {
  margin-top: 0.75rem;
}

.contact__actions {
  margin-top: 1.15rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.contact__panel .btn--secondary {
  border-color: rgba(255, 255, 255, 0.62);
}

.mapa-tienda {
  margin-top: 1rem;
  padding: 1.2rem;
  border-radius: var(--radio);
  background: linear-gradient(180deg, #f3f8fc 0%, #ffffff 100%);
  border: 1px solid rgba(0, 83, 138, 0.14);
}

.mapa-tienda h3 {
  margin-top: 0.4rem;
  font-size: clamp(1.2rem, 2.5vw, 1.6rem);
  color: var(--azul-noche);
}

.mapa-tienda iframe {
  margin-top: 0.9rem;
  width: 100%;
  height: 360px;
  border: 0;
  border-radius: 14px;
}

.footer {
  margin-top: 2rem;
  padding: 2rem 1rem 2.6rem;
  text-align: center;
  color: #3a4a5a;
  font-size: 0.92rem;
}

.footer p + p {
  margin-top: 0.45rem;
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.64s ease, transform 0.64s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.consejos-page {
  background:
    radial-gradient(circle at 15% 0%, #f7edd2 0%, rgba(247, 237, 210, 0) 45%),
    radial-gradient(circle at 95% 35%, #e0ebf6 0%, rgba(224, 235, 246, 0) 40%),
    var(--blanco);
}

.tips-hero {
  min-height: 72vh;
  position: relative;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 7rem 1.2rem 4rem;
  background-image: url("./assets/img/consejos-copas.jpg");
  background-size: cover;
  background-position: center;
}

.tips-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(140deg, rgba(6, 47, 79, 0.82), rgba(27, 91, 143, 0.55));
}

.tips-hero__content {
  position: relative;
  z-index: 1;
  width: min(820px, 100%);
  padding: 2rem;
  border-radius: var(--radio);
  background: rgba(8, 35, 58, 0.56);
  border: 1px solid rgba(255, 255, 255, 0.16);
}

.tips-hero__content h1 {
  margin-top: 0.65rem;
  color: #fff;
  font-size: clamp(2rem, 4vw, 3.2rem);
}

.tips-hero__content .hero__lead {
  color: #e8f0f7;
}

.tips-source {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
  align-items: start;
}

.tips-source__image img {
  width: 100%;
  border-radius: var(--radio);
  box-shadow: var(--sombra);
}

.tips-source__content {
  padding: 1.4rem;
  border-radius: var(--radio);
  background: linear-gradient(180deg, #fff8e3 0%, #ffffff 100%);
  border: 1px solid rgba(220, 179, 45, 0.32);
}

.tips-source__content h2 {
  margin-top: 0.45rem;
  color: var(--azul-noche);
  font-size: clamp(1.5rem, 2.8vw, 2.2rem);
}

.tips-source__content h3 {
  margin-top: 1rem;
  color: var(--azul-noche);
  font-size: 1.3rem;
}

.tips-source__content p {
  margin-top: 0.8rem;
}

.tips-source__content ol {
  margin: 0.8rem 0 0;
  padding-left: 1.2rem;
  display: grid;
  gap: 0.45rem;
}

.section--extra-tips {
  padding-top: 1.2rem;
}

.extra-tips-grid {
  margin-top: 1.8rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.9rem;
}

.extra-tip {
  padding: 1.2rem;
  border-radius: 16px;
  background: linear-gradient(170deg, #f4f9ff 0%, #eaf3fb 100%);
  border: 1px solid rgba(0, 83, 138, 0.12);
}

.extra-tip h3 {
  color: var(--azul-noche);
  font-size: 1.2rem;
}

.extra-tip p {
  margin-top: 0.55rem;
}

.section--tips-photo {
  padding-top: 0.2rem;
  padding-bottom: 0.2rem;
}

.tips-photo {
  margin: 0;
}

.tips-photo img {
  width: 100%;
  max-height: 520px;
  object-fit: cover;
  border-radius: var(--radio);
  box-shadow: var(--sombra);
}

@media (max-width: 960px) {
  .cards {
    grid-template-columns: 1fr;
  }

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

  .tallas-layout {
    grid-template-columns: 1fr;
  }

  .fit-process {
    grid-template-columns: 1fr;
  }

  .fit-check {
    grid-template-columns: 1fr;
  }

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

  .brand-logos {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .section--split,
  .contact {
    grid-template-columns: 1fr;
  }

  .tips-source {
    grid-template-columns: 1fr;
  }

  .extra-tips-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .contact__image {
    min-height: 320px;
  }
}

@media (max-width: 740px) {
  .service-grid {
    grid-template-columns: 1fr;
  }

  .nav {
    min-height: 72px;
  }

  .nav__toggle {
    display: flex;
  }

  .nav__links {
    position: absolute;
    top: calc(100% + 0.6rem);
    right: 5vw;
    width: min(84vw, 320px);
    display: grid;
    gap: 0.15rem;
    padding: 0.6rem;
    border-radius: 16px;
    background: linear-gradient(175deg, rgba(6, 47, 79, 0.97), rgba(12, 77, 118, 0.97));
    border: 1px solid rgba(255, 255, 255, 0.22);
    box-shadow: 0 20px 42px rgba(0, 26, 46, 0.36);
    opacity: 0;
    transform: translateY(-8px) scale(0.98);
    transform-origin: top right;
    pointer-events: none;
    visibility: hidden;
    transition: opacity 0.24s ease, transform 0.24s ease, visibility 0.24s ease;
  }

  .nav__links a {
    color: #eff7ff;
    text-decoration: none;
    font-weight: 600;
    border-radius: 10px;
    padding: 0.64rem 0.72rem;
  }

  .nav__links a:hover,
  .nav__links a:focus-visible {
    background: rgba(255, 255, 255, 0.12);
    outline: none;
  }

  .nav.is-open .nav__links {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: auto;
    visibility: visible;
  }

  .hero__content {
    padding: 1.3rem;
  }

  .highlights {
    grid-template-columns: 1fr;
    margin-top: -1.2rem;
  }

  .section {
    padding: 3.2rem 0;
  }

  .tips-hero__content {
    padding: 1.35rem;
  }

  .carousel {
    padding: 0.7rem;
  }

  .carousel__control {
    width: 2rem;
    height: 2rem;
    font-size: 1.4rem;
  }

  .carousel__control--prev {
    left: 0.95rem;
  }

  .carousel__control--next {
    right: 0.95rem;
  }

  .brand-logos {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .extra-tips-grid {
    grid-template-columns: 1fr;
  }

  .mapa-tienda iframe {
    height: 300px;
  }
}
