/* ==========================================================================
   BAYU ACTIVEWEAR · Hoja de estilos principal
   Paleta oficial (brand board): Ocean, Teal, Sand, Terracotta, Blush, Stone
   ========================================================================== */

:root {
  --ocean: #0E4D4F;
  --ocean-dark: #0A3A3C;
  --teal: #5F8F8A;
  --sand: #E3C9A8;
  --terracotta: #C98F7A;
  --blush: #E7B7B3;
  --stone: #F5F2ED;
  --white: #FFFFFF;
  --ink: #16302F;
  --muted: #5E6E6C;
  --line: #E4DED5;

  --font-sans: "Jost", "Helvetica Neue", Arial, sans-serif;
  --font-serif: "Cormorant Garamond", Georgia, serif;

  --radius: 14px;
  --radius-sm: 8px;
  --shadow: 0 10px 30px rgba(14, 77, 79, .10);
  --container: 1240px;
  --header-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-weight: 400;
  color: var(--ink);
  background: var(--stone);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
h1, h2, h3, h4 { font-weight: 400; line-height: 1.15; margin: 0 0 .5em; color: var(--ocean); }
h1 { font-size: clamp(2.2rem, 5vw, 4rem); letter-spacing: .02em; }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.7rem); }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1em; }

.container { width: min(var(--container), 100% - 2.5rem); margin-inline: auto; }
.section { padding: clamp(3.5rem, 8vw, 6.5rem) 0; }
.section--white { background: var(--white); }
.section--sand { background: #EFE2D0; }
.section--ocean { background: var(--ocean); color: var(--stone); }
.section--ocean h2, .section--ocean h3 { color: var(--stone); }

.eyebrow {
  display: inline-block;
  font-size: .78rem;
  letter-spacing: .32em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 1rem;
  font-weight: 500;
}
.section--ocean .eyebrow { color: var(--sand); }
.serif { font-family: var(--font-serif); font-style: italic; font-weight: 500; }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 640px; }
.section--ocean .lead { color: rgba(245, 242, 237, .8); }
.section-head { text-align: center; margin: 0 auto 3rem; max-width: 720px; }
.section-head .lead { margin-inline: auto; }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  padding: .95rem 2rem;
  border-radius: 999px;
  border: 1.5px solid var(--ocean);
  background: var(--ocean); color: var(--stone);
  font-size: .82rem; letter-spacing: .2em; text-transform: uppercase; font-weight: 500;
  transition: background .25s, color .25s, border-color .25s, transform .25s;
}
.btn:hover { background: var(--ocean-dark); border-color: var(--ocean-dark); transform: translateY(-2px); }
.btn--outline { background: transparent; color: var(--ocean); }
.btn--outline:hover { background: var(--ocean); color: var(--stone); }
.btn--light { background: var(--stone); border-color: var(--stone); color: var(--ocean); }
.btn--light:hover { background: var(--sand); border-color: var(--sand); }
.btn--ghost-light { background: transparent; border-color: var(--stone); color: var(--stone); }
.btn--ghost-light:hover { background: var(--stone); color: var(--ocean); }
.btn--whatsapp { background: #1F8F5F; border-color: #1F8F5F; }
.btn--whatsapp:hover { background: #17744C; border-color: #17744C; }
.btn--block { width: 100%; }
.link-arrow {
  font-size: .82rem; letter-spacing: .2em; text-transform: uppercase; font-weight: 500;
  color: var(--ocean); border-bottom: 1px solid currentColor; padding-bottom: 3px;
}

/* ---------- Marcadores de imagen ----------
   Cada imagen va dentro de <figure class="ph" data-ph="...">.
   Si el archivo no existe todavía, se muestra un fondo de marca
   con el nombre del archivo esperado. Al copiar la foto con ese
   nombre en la carpeta img/, aparece automáticamente. */
.ph {
  position: relative; margin: 0; overflow: hidden;
  background: linear-gradient(135deg, var(--teal) 0%, var(--ocean) 100%);
  aspect-ratio: var(--ratio, 4 / 5);
}
.ph > img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s ease; }
.ph.ph--vacio > img { display: none; }
.ph.ph--vacio::before {
  content: ""; position: absolute; inset: 0;
  background: url("../img/marca/icono-blanco.png") center / 22% auto no-repeat;
  opacity: .16;
}
.ph.ph--vacio::after {
  content: attr(data-ph);
  position: absolute; left: 50%; bottom: 1rem; transform: translateX(-50%);
  width: max-content; max-width: 90%;
  font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; text-align: center;
  color: rgba(245, 242, 237, .85);
  background: rgba(10, 58, 60, .45); padding: .35rem .8rem; border-radius: 999px;
}
.ph--sand { background: linear-gradient(135deg, var(--sand), var(--terracotta)); }
.ph--blush { background: linear-gradient(135deg, var(--blush), var(--terracotta)); }
.ph--teal { background: linear-gradient(135deg, #8FB3AE, var(--teal)); }
.ph--stone { background: linear-gradient(135deg, #EDE6DC, var(--sand)); }
.ph--stone.ph--vacio::after, .ph--sand.ph--vacio::after, .ph--blush.ph--vacio::after { background: rgba(14, 77, 79, .55); }

/* ---------- Barra de anuncio ---------- */
.announce {
  background: var(--ocean-dark); color: var(--sand);
  font-size: .74rem; letter-spacing: .22em; text-transform: uppercase;
  text-align: center; padding: .55rem 1rem;
}

/* ---------- Encabezado ---------- */
.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(245, 242, 237, .92);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, box-shadow .3s;
}
.header.is-scrolled { border-color: var(--line); box-shadow: 0 4px 20px rgba(14, 77, 79, .06); }
.header__inner { height: var(--header-h); display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.header__logo img { height: 40px; width: auto; }
.nav { display: flex; align-items: center; gap: 2rem; }
.nav a {
  font-size: .8rem; letter-spacing: .18em; text-transform: uppercase; font-weight: 500;
  color: var(--ocean); position: relative; padding: .4rem 0;
}
.nav a::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: 0; height: 1.5px;
  background: var(--terracotta); transition: right .3s;
}
.nav a:hover::after, .nav a[aria-current="page"]::after { right: 0; }
.nav .btn { padding: .65rem 1.3rem; color: var(--stone); }
.nav .btn::after { display: none; }
.nav-toggle {
  display: none; background: none; border: 0; padding: .5rem;
  width: 44px; height: 44px; position: relative;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  content: ""; position: absolute; left: 10px; right: 10px; height: 1.5px; background: var(--ocean);
  transition: transform .3s, opacity .3s;
}
.nav-toggle span { top: 50%; }
.nav-toggle span::before { top: -7px; left: 0; right: 0; }
.nav-toggle span::after { top: 7px; left: 0; right: 0; }
.nav-open .nav-toggle span { background: transparent; }
.nav-open .nav-toggle span::before { transform: translateY(7px) rotate(45deg); }
.nav-open .nav-toggle span::after { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 1020px) {
  .header { backdrop-filter: none; -webkit-backdrop-filter: none; background: var(--stone); }
  .nav-toggle { display: block; }
  .nav {
    position: fixed; inset: var(--header-h) 0 0 0; z-index: 49;
    flex-direction: column; justify-content: flex-start; gap: 1.6rem; padding: 3rem 1.5rem;
    background: var(--stone);
    opacity: 0; visibility: hidden; transform: translateY(-12px);
    transition: opacity .3s ease, transform .3s ease, visibility .3s;
  }
  .nav a { font-size: 1rem; }
  .nav-open .nav { opacity: 1; visibility: visible; transform: none; }
  .nav-open { overflow: hidden; }
}

/* ---------- Hero / Slider ---------- */
.hero { position: relative; height: min(88vh, 820px); min-height: 520px; overflow: hidden; background: var(--ocean); }
.hero__slide {
  position: absolute; inset: 0; opacity: 0; visibility: hidden;
  transition: opacity 1.1s ease, visibility 1.1s;
}
.hero__slide.is-active { opacity: 1; visibility: visible; }
.hero__slide .ph { position: absolute; inset: 0; aspect-ratio: auto; }
.hero__slide.is-active .ph > img { animation: kenburns 9s ease-out forwards; }
@keyframes kenburns { from { transform: scale(1.08); } to { transform: scale(1); } }
.hero__slide::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(10, 58, 60, .72) 0%, rgba(10, 58, 60, .25) 55%, rgba(10, 58, 60, 0) 100%);
}
.hero__content {
  position: relative; z-index: 2; height: 100%;
  display: flex; flex-direction: column; justify-content: center; align-items: flex-start;
  color: var(--stone); max-width: 640px;
}
.hero__content .eyebrow { color: var(--sand); }
.hero__content h1, .hero__content h2 { color: var(--stone); font-size: clamp(2.4rem, 6vw, 4.6rem); }
.hero__content p { font-size: 1.15rem; color: rgba(245, 242, 237, .88); max-width: 480px; margin-bottom: 2rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 1rem; }
.hero__slide .hero__content > * { opacity: 0; transform: translateY(18px); transition: opacity .8s ease, transform .8s ease; }
.hero__slide.is-active .hero__content > * { opacity: 1; transform: none; }
.hero__slide.is-active .hero__content > *:nth-child(2) { transition-delay: .15s; }
.hero__slide.is-active .hero__content > *:nth-child(3) { transition-delay: .3s; }
.hero__slide.is-active .hero__content > *:nth-child(4) { transition-delay: .45s; }
.hero__dots { position: absolute; z-index: 3; bottom: 2rem; left: 50%; transform: translateX(-50%); display: flex; gap: .7rem; }
.hero__dots button {
  width: 34px; height: 3px; padding: 0; border: 0; border-radius: 2px;
  background: rgba(245, 242, 237, .4); transition: background .3s, width .3s;
}
.hero__dots button.is-active { background: var(--sand); width: 54px; }
.hero__arrow {
  position: absolute; z-index: 3; top: 50%; transform: translateY(-50%);
  width: 48px; height: 48px; border-radius: 50%;
  border: 1px solid rgba(245, 242, 237, .5); background: rgba(10, 58, 60, .2); color: var(--stone);
  font-size: 1.2rem; display: grid; place-items: center; transition: background .3s;
}
.hero__arrow:hover { background: rgba(245, 242, 237, .2); }
.hero__arrow--prev { left: 1.5rem; }
.hero__arrow--next { right: 1.5rem; }
@media (max-width: 700px) { .hero__arrow { display: none; } }

/* ---------- Encabezado de páginas internas ---------- */
.page-hero { position: relative; min-height: 380px; display: flex; align-items: flex-end; overflow: hidden; background: var(--ocean); }
.page-hero .ph { position: absolute; inset: 0; aspect-ratio: auto; }
.page-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(10, 58, 60, .75), rgba(10, 58, 60, .1)); }
.page-hero__content { position: relative; z-index: 2; padding: 4rem 0 3.5rem; color: var(--stone); }
.page-hero__content h1 { color: var(--stone); margin: 0; }
.page-hero__content .eyebrow { color: var(--sand); }
.page-hero__content p { max-width: 560px; margin: 1rem 0 0; color: rgba(245, 242, 237, .85); font-size: 1.1rem; }
.page-hero--simple { min-height: 0; background: var(--ocean); }
.page-hero--simple::after { display: none; }

/* ---------- Franja de valores ---------- */
.values-strip { background: var(--white); border-bottom: 1px solid var(--line); }
.values-strip__grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.value-item { padding: 2rem 1.5rem; text-align: center; border-right: 1px solid var(--line); }
.value-item:last-child { border-right: 0; }
.value-item svg { width: 34px; height: 34px; color: var(--terracotta); margin: 0 auto .8rem; }
.value-item h3 { font-size: .85rem; letter-spacing: .3em; text-transform: uppercase; margin-bottom: .3rem; font-weight: 500; }
.value-item p { font-size: .92rem; color: var(--muted); margin: 0; }
@media (max-width: 800px) {
  .values-strip__grid { grid-template-columns: repeat(2, 1fr); }
  .value-item:nth-child(2) { border-right: 0; }
  .value-item:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
}

/* ---------- Categorías ---------- */
.cat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; }
.cat-card { position: relative; border-radius: var(--radius); overflow: hidden; display: block; }
.cat-card .ph { --ratio: 3 / 4; }
.cat-card:hover .ph > img { transform: scale(1.06); }
.cat-card__label {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 2;
  padding: 3rem 1.4rem 1.4rem;
  background: linear-gradient(0deg, rgba(10, 58, 60, .8), transparent);
  color: var(--stone); display: flex; justify-content: space-between; align-items: flex-end;
}
.cat-card__label h3 { color: var(--stone); margin: 0; font-size: 1.35rem; }
.cat-card__label span { font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; opacity: .85; }
.cat-card .ph.ph--vacio::after { display: none; }
@media (max-width: 900px) { .cat-grid { grid-template-columns: repeat(2, 1fr); } }

/* ---------- Productos ---------- */
.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem 1.4rem; }
@media (max-width: 1020px) { .product-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 720px) { .product-grid { grid-template-columns: repeat(2, 1fr); gap: 1.6rem 1rem; } }
.product-card { cursor: pointer; text-align: left; background: none; border: 0; padding: 0; color: inherit; }
.product-card__media { position: relative; border-radius: var(--radius); overflow: hidden; margin-bottom: 1rem; }
.product-card__media .ph { --ratio: 4 / 5; }
.product-card:hover .ph > img { transform: scale(1.05); }
.product-card__tag {
  position: absolute; top: .9rem; left: .9rem; z-index: 2;
  background: var(--stone); color: var(--ocean);
  font-size: .64rem; letter-spacing: .2em; text-transform: uppercase; font-weight: 500;
  padding: .35rem .7rem; border-radius: 999px;
}
.product-card__tag--terra { background: var(--terracotta); color: var(--white); }
.product-card__quick {
  position: absolute; left: .9rem; right: .9rem; bottom: .9rem; z-index: 2;
  background: rgba(245, 242, 237, .95); color: var(--ocean);
  text-align: center; padding: .75rem; border-radius: 999px;
  font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; font-weight: 500;
  opacity: 0; transform: translateY(10px); transition: opacity .3s, transform .3s;
}
.product-card:hover .product-card__quick, .product-card:focus-visible .product-card__quick { opacity: 1; transform: none; }
.product-card__cat { font-size: .7rem; letter-spacing: .22em; text-transform: uppercase; color: var(--teal); }
.product-card__name { font-size: 1.05rem; color: var(--ocean); margin: .2rem 0 .3rem; font-weight: 500; }
.product-card__row { display: flex; justify-content: space-between; align-items: center; gap: .5rem; }
.product-card__price { color: var(--ink); }
.swatches { display: flex; gap: .35rem; }
.swatch { width: 14px; height: 14px; border-radius: 50%; border: 1px solid rgba(0, 0, 0, .12); display: inline-block; }

/* ---------- Catálogo: filtros ---------- */
.catalog-bar {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem;
  padding-bottom: 1.5rem; margin-bottom: 2.5rem; border-bottom: 1px solid var(--line);
}
.chips { display: flex; flex-wrap: wrap; gap: .6rem; }
.chip {
  border: 1px solid var(--line); background: var(--white); color: var(--ocean);
  padding: .55rem 1.1rem; border-radius: 999px;
  font-size: .76rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 500;
  transition: all .25s;
}
.chip:hover { border-color: var(--ocean); }
.chip.is-active { background: var(--ocean); border-color: var(--ocean); color: var(--stone); }
.select {
  border: 1px solid var(--line); background: var(--white); color: var(--ocean);
  padding: .6rem 2.4rem .6rem 1rem; border-radius: 999px; font: inherit; font-size: .88rem;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%230E4D4F' stroke-width='1.5'%3E%3Cpath d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 1rem center;
}
.catalog-count { color: var(--muted); font-size: .9rem; }
.catalog-note {
  display: flex; gap: 1rem; align-items: center;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.2rem 1.5rem; margin-bottom: 2.5rem; color: var(--muted);
}
.catalog-note svg { flex: none; width: 28px; height: 28px; color: var(--terracotta); }
.catalog-note strong { color: var(--ocean); font-weight: 500; }
.empty-state { text-align: center; padding: 4rem 1rem; color: var(--muted); grid-column: 1 / -1; }

/* ---------- Modal de producto ---------- */
.modal {
  position: fixed; inset: 0; z-index: 100;
  display: grid; place-items: center; padding: 1.5rem;
  background: rgba(10, 40, 41, .55);
  opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s;
}
.modal.is-open { opacity: 1; visibility: visible; }
.modal__box {
  position: relative; width: min(1000px, 100%); max-height: calc(100vh - 3rem); overflow: auto;
  background: var(--stone); border-radius: var(--radius);
  display: grid; grid-template-columns: 1.05fr 1fr;
  transform: translateY(20px); transition: transform .35s;
}
.modal.is-open .modal__box { transform: none; }
.modal__close {
  position: absolute; top: 1rem; right: 1rem; z-index: 3;
  width: 42px; height: 42px; border-radius: 50%; border: 0;
  background: var(--white); color: var(--ocean); font-size: 1.4rem; line-height: 1;
  box-shadow: var(--shadow);
}
.modal__gallery { padding: 1rem; display: grid; gap: .6rem; align-content: start; }
.modal__gallery .ph { border-radius: var(--radius-sm); }
.modal__thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: .6rem; }
.modal__thumbs button { padding: 0; border: 2px solid transparent; border-radius: var(--radius-sm); overflow: hidden; background: none; }
.modal__thumbs button.is-active { border-color: var(--terracotta); }
.modal__thumbs .ph { --ratio: 1; border-radius: 6px; }
.modal__thumbs .ph.ph--vacio::after { display: none; }
.modal__info { padding: 2.5rem 2.2rem 2.2rem 1.4rem; }
.modal__info h2 { font-size: 2rem; margin-bottom: .3rem; }
.modal__price { font-size: 1.25rem; margin-bottom: 1.2rem; }
.modal__desc { color: var(--muted); }
.opt-label { font-size: .74rem; letter-spacing: .2em; text-transform: uppercase; font-weight: 500; color: var(--ocean); margin: 1.4rem 0 .6rem; }
.opt-label span { color: var(--muted); letter-spacing: .05em; text-transform: none; font-weight: 400; }
.color-opts { display: flex; gap: .6rem; flex-wrap: wrap; }
.color-opt { width: 32px; height: 32px; border-radius: 50%; border: 2px solid var(--stone); outline: 1px solid var(--line); padding: 0; }
.color-opt.is-active { outline: 2px solid var(--ocean); }
.size-opts { display: flex; gap: .5rem; flex-wrap: wrap; }
.size-opt {
  min-width: 48px; padding: .6rem .8rem; border-radius: var(--radius-sm);
  border: 1px solid var(--line); background: var(--white); color: var(--ocean); font-weight: 500;
}
.size-opt.is-active { background: var(--ocean); color: var(--stone); border-color: var(--ocean); }
.modal__features { list-style: none; padding: 0; margin: 1.6rem 0; display: grid; gap: .5rem; }
.modal__features li { padding-left: 1.6rem; position: relative; font-size: .95rem; }
.modal__features li::before { content: ""; position: absolute; left: 0; top: .55em; width: 9px; height: 9px; border-radius: 50%; background: var(--sand); }
.modal__actions { display: grid; gap: .7rem; margin-top: 1.5rem; }
.modal__small { font-size: .82rem; color: var(--muted); margin-top: 1rem; }
.modal__small a { color: var(--ocean); text-decoration: underline; }
@media (max-width: 820px) {
  .modal { padding: 0; place-items: end center; }
  .modal__box { grid-template-columns: 1fr; max-height: 92vh; border-radius: var(--radius) var(--radius) 0 0; }
  .modal__info { padding: 1rem 1.4rem 2rem; }
}

/* ---------- Bloque dividido (texto + imagen) ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.split--reverse > :first-child { order: 2; }
.split__media { position: relative; }
.split__media .ph { border-radius: var(--radius); }
.split__media-accent {
  position: absolute; width: 42%; right: -6%; bottom: -8%;
  border: 8px solid var(--stone); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow);
}
.section--white .split__media-accent { border-color: var(--white); }
.split__media-accent .ph { --ratio: 1; border-radius: 0; }
.split__media-accent .ph.ph--vacio::after { display: none; }
@media (max-width: 860px) {
  .split { grid-template-columns: 1fr; }
  .split--reverse > :first-child { order: 0; }
  .split__media-accent { right: 4%; }
}

/* ---------- Banner de lema ---------- */
.flow-banner { position: relative; min-height: 520px; display: grid; place-items: center; text-align: center; overflow: hidden; }
.flow-banner .ph { position: absolute; inset: 0; aspect-ratio: auto; }
.flow-banner::after { content: ""; position: absolute; inset: 0; background: rgba(10, 58, 60, .45); }
.flow-banner__content { position: relative; z-index: 2; color: var(--stone); padding: 4rem 1.5rem; }
.flow-banner__content .eyebrow { color: var(--sand); }
.flow-banner__content h2 { color: var(--stone); font-family: var(--font-serif); font-style: italic; font-size: clamp(2.8rem, 8vw, 6rem); margin-bottom: 1.5rem; }

/* ---------- Galería / Instagram ---------- */
.gallery { display: grid; grid-template-columns: repeat(6, 1fr); gap: .5rem; }
.gallery .ph { --ratio: 1; }
.gallery a { position: relative; overflow: hidden; display: block; }
.gallery a:hover .ph > img { transform: scale(1.07); }
.gallery .ph.ph--vacio::after { font-size: .58rem; bottom: .5rem; }
@media (max-width: 800px) { .gallery { grid-template-columns: repeat(3, 1fr); } }

/* ---------- Testimonios ---------- */
.testimonials { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.testimonial { background: var(--white); border-radius: var(--radius); padding: 2.2rem; border: 1px solid var(--line); }
.testimonial__stars { color: var(--terracotta); letter-spacing: .2em; margin-bottom: 1rem; }
.testimonial blockquote { margin: 0 0 1.4rem; font-family: var(--font-serif); font-size: 1.35rem; font-style: italic; color: var(--ocean); line-height: 1.4; }
.testimonial cite { font-style: normal; font-size: .8rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
@media (max-width: 900px) { .testimonials { grid-template-columns: 1fr; } }

/* ---------- Newsletter ---------- */
.newsletter { text-align: center; max-width: 640px; margin-inline: auto; }
.newsletter form { display: flex; gap: .7rem; margin-top: 2rem; }
.newsletter input {
  flex: 1; min-width: 0; padding: .95rem 1.4rem; border-radius: 999px;
  border: 1px solid rgba(245, 242, 237, .4); background: rgba(245, 242, 237, .08); color: var(--stone); font: inherit;
}
.newsletter input::placeholder { color: rgba(245, 242, 237, .6); }
.form-msg { margin-top: 1rem; font-size: .95rem; min-height: 1.5em; }
@media (max-width: 560px) { .newsletter form { flex-direction: column; } }

/* ---------- Tarjetas genéricas ---------- */
.cards-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.cards-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
@media (max-width: 960px) { .cards-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 860px) { .cards-3 { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .cards-4 { grid-template-columns: 1fr; } }
.card { background: var(--white); border-radius: var(--radius); padding: 2rem; border: 1px solid var(--line); }
.section--ocean .card { background: rgba(245, 242, 237, .06); border-color: rgba(245, 242, 237, .15); }
.section--ocean .card p { color: rgba(245, 242, 237, .78); }
.card__icon { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: #EFE2D0; color: var(--ocean); margin-bottom: 1.2rem; }
.section--ocean .card__icon { background: rgba(227, 201, 168, .18); color: var(--sand); }
.card__icon svg { width: 26px; height: 26px; }
.card p { color: var(--muted); margin: 0; }
.card--media { padding: 0; overflow: hidden; }
.card--media .ph { --ratio: 4 / 3; }
.card--media .card__body { padding: 1.6rem; }
.card__meta { font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; color: var(--terracotta); margin-bottom: .5rem; }

/* ---------- Línea de tiempo (Historia) ---------- */
.timeline { position: relative; max-width: 860px; margin-inline: auto; }
.timeline::before { content: ""; position: absolute; left: 50%; top: 0; bottom: 0; width: 1px; background: var(--sand); }
.tl-item { position: relative; width: 50%; padding: 0 3rem 3rem 0; text-align: right; }
.tl-item:nth-child(even) { margin-left: 50%; padding: 0 0 3rem 3rem; text-align: left; }
.tl-item::before {
  content: ""; position: absolute; top: .4rem; right: -8px; width: 15px; height: 15px; border-radius: 50%;
  background: var(--terracotta); border: 3px solid var(--stone);
}
.tl-item:nth-child(even)::before { right: auto; left: -7px; }
.tl-item__year { font-family: var(--font-serif); font-style: italic; font-size: 2rem; color: var(--terracotta); line-height: 1; margin-bottom: .4rem; }
.tl-item p { color: var(--muted); }
@media (max-width: 700px) {
  .timeline::before { left: 7px; }
  .tl-item, .tl-item:nth-child(even) { width: 100%; margin-left: 0; padding: 0 0 2.5rem 2.5rem; text-align: left; }
  .tl-item::before, .tl-item:nth-child(even)::before { left: 0; right: auto; }
}

/* ---------- Cita grande ---------- */
.big-quote { text-align: center; max-width: 900px; margin-inline: auto; }
.big-quote p { font-family: var(--font-serif); font-style: italic; font-size: clamp(1.7rem, 3.6vw, 2.8rem); line-height: 1.3; color: var(--ocean); }
.section--ocean .big-quote p { color: var(--stone); }
.big-quote img { width: 60px; margin: 0 auto 1.5rem; }

/* ---------- Paleta ---------- */
.palette { display: grid; grid-template-columns: repeat(6, 1fr); gap: 1rem; }
.palette__item { text-align: center; }
.palette__swatch { aspect-ratio: 1; width: min(100%, 120px); margin: 0 auto .8rem; border-radius: 50%; border: 1px solid rgba(0, 0, 0, .06); }
.palette__item strong { display: block; font-weight: 500; font-size: .8rem; letter-spacing: .2em; text-transform: uppercase; color: var(--ocean); }
.palette__item span { font-size: .78rem; color: var(--muted); }
@media (max-width: 700px) { .palette { grid-template-columns: repeat(3, 1fr); } }

/* ---------- Tablas (guía de tallas) ---------- */
.tabs { display: flex; justify-content: center; flex-wrap: wrap; gap: .6rem; margin-bottom: 2rem; }
.tab-panel { display: none; }
.tab-panel.is-active { display: block; }
.table-wrap { overflow-x: auto; background: var(--white); border-radius: var(--radius); border: 1px solid var(--line); }
table { width: 100%; border-collapse: collapse; min-width: 560px; }
th, td { padding: 1rem 1.2rem; text-align: center; border-bottom: 1px solid var(--line); }
th { background: var(--ocean); color: var(--stone); font-weight: 500; font-size: .78rem; letter-spacing: .18em; text-transform: uppercase; }
td:first-child { font-weight: 500; color: var(--ocean); }
tr:last-child td { border-bottom: 0; }
tbody tr:nth-child(even) { background: #FAF8F4; }
.how-measure { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; counter-reset: paso; }
.how-measure .card { position: relative; padding-top: 2.6rem; }
.how-measure .card::before {
  counter-increment: paso; content: counter(paso);
  position: absolute; top: -18px; left: 2rem; width: 38px; height: 38px; border-radius: 50%;
  background: var(--terracotta); color: var(--white); display: grid; place-items: center; font-weight: 500;
}
@media (max-width: 900px) { .how-measure { grid-template-columns: repeat(2, 1fr); row-gap: 2.2rem; } }
@media (max-width: 520px) { .how-measure { grid-template-columns: 1fr; } }

/* ---------- Preguntas frecuentes ---------- */
.faq-group { max-width: 860px; margin: 0 auto 3rem; }
.faq-group h2 { font-size: 1.6rem; margin-bottom: 1rem; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary {
  list-style: none; cursor: pointer; padding: 1.3rem 3rem 1.3rem 0; position: relative;
  font-size: 1.08rem; color: var(--ocean); font-weight: 500;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+"; position: absolute; right: .5rem; top: 50%; transform: translateY(-50%);
  font-size: 1.6rem; font-weight: 300; color: var(--terracotta); transition: transform .3s;
}
.faq-item[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq-item p { color: var(--muted); padding-right: 3rem; margin-bottom: 1.4rem; }

/* ---------- Contacto ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.25fr; gap: 3rem; align-items: start; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-list { list-style: none; margin: 2rem 0; padding: 0; display: grid; gap: 1.4rem; }
.contact-list li { display: flex; gap: 1rem; align-items: flex-start; }
.contact-list .card__icon { margin: 0; flex: none; width: 46px; height: 46px; }
.contact-list strong { display: block; font-weight: 500; color: var(--ocean); font-size: .78rem; letter-spacing: .18em; text-transform: uppercase; }
.contact-list a:hover { color: var(--terracotta); }
.form { background: var(--white); border-radius: var(--radius); padding: clamp(1.5rem, 4vw, 2.6rem); border: 1px solid var(--line); }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 560px) { .form__row { grid-template-columns: 1fr; } }
.field { margin-bottom: 1.1rem; }
.field label { display: block; font-size: .74rem; letter-spacing: .18em; text-transform: uppercase; font-weight: 500; color: var(--ocean); margin-bottom: .45rem; }
.field input, .field select, .field textarea {
  width: 100%; padding: .9rem 1rem; border-radius: var(--radius-sm);
  border: 1px solid var(--line); background: var(--stone); font: inherit; color: var(--ink);
  transition: border-color .2s, background .2s;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--teal); background: var(--white); }
.field textarea { min-height: 140px; resize: vertical; }
.map-ph { border-radius: var(--radius); overflow: hidden; margin-top: 1rem; }
.map-ph .ph { --ratio: 16 / 9; }
.socials { display: flex; gap: .7rem; }
.socials a {
  width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center;
  border: 1px solid currentColor; transition: background .25s, color .25s;
}
.socials svg { width: 18px; height: 18px; }

/* ---------- Pie de página ---------- */
.footer { background: var(--ocean-dark); color: rgba(245, 242, 237, .78); padding: 4.5rem 0 2rem; font-size: .95rem; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 2.5rem; }
.footer__brand img { width: 170px; margin-bottom: 1.2rem; }
.footer__brand p { max-width: 280px; }
.footer h4 { color: var(--sand); font-size: .76rem; letter-spacing: .26em; text-transform: uppercase; font-weight: 500; margin-bottom: 1.2rem; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .6rem; }
.footer a:hover { color: var(--sand); }
.footer .socials a { color: var(--stone); border-color: rgba(245, 242, 237, .3); }
.footer .socials a:hover { background: var(--sand); color: var(--ocean); border-color: var(--sand); }
.footer__bottom {
  margin-top: 3.5rem; padding-top: 1.6rem; border-top: 1px solid rgba(245, 242, 237, .12);
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem; font-size: .82rem;
}
.footer__tagline { font-family: var(--font-serif); font-style: italic; color: var(--sand); font-size: 1.1rem; }
@media (max-width: 900px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer__grid { grid-template-columns: 1fr; } }

/* ---------- Botón flotante WhatsApp ---------- */
.wa-float {
  position: fixed; right: 1.4rem; bottom: 1.4rem; z-index: 60;
  width: 58px; height: 58px; border-radius: 50%; background: #1F8F5F; color: #fff;
  display: grid; place-items: center; box-shadow: 0 8px 24px rgba(0, 0, 0, .2);
  transition: transform .25s;
}
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 28px; height: 28px; }

/* ---------- Animaciones al hacer scroll ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .9s ease, transform .9s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- Utilidades ---------- */
.text-center { text-align: center; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }
.stack > * + * { margin-top: 1rem; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Etiqueta del marcador arriba en banners grandes (no choca con los puntos del slider) */
.hero .ph.ph--vacio::after, .page-hero .ph.ph--vacio::after, .flow-banner .ph.ph--vacio::after { bottom: auto; top: 1.2rem; }

/* Banners: en escritorio la foto ocupa el lado derecho y el texto va sobre fondo Ocean */
.hero__slide { background: var(--ocean); }
@media (min-width: 901px) {
  .hero__slide .ph { left: 42%; }
  .hero__slide::after {
    background: linear-gradient(90deg, var(--ocean) 0%, var(--ocean) 42%, rgba(14, 77, 79, .55) 52%, rgba(14, 77, 79, 0) 68%);
  }
}
@media (max-width: 900px) {
  .hero__slide::after { background: linear-gradient(0deg, rgba(10, 58, 60, .85) 0%, rgba(10, 58, 60, .35) 60%, rgba(10, 58, 60, .15) 100%); }
  .hero__content { justify-content: flex-end; padding-bottom: 4.5rem; }
}
/* Fotos de producto: fondo claro como el de las fotos */
.product-card__media .ph, .modal__gallery .ph { background: #EEEDEB; }
.product-card__price { color: var(--muted); font-size: .9rem; }
