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

:root {
  --navy: #1B2B4B;
  --gold: #C9A84C;
  --gold-light: #E8C97A;
  --cream: #FAF8F5;
  --text: #2C2C2C;
  --muted: #6B6B6B;
  --border: #E8E4DC;
  --wa: #25D366;
  --radius: 12px;
  --shadow: 0 4px 24px rgba(27,43,75,.08);
  --shadow-hover: 0 12px 40px rgba(27,43,75,.16);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  background: #fff;
  color: var(--text);
  line-height: 1.6;
}

/* ===== HEADER ===== */
.header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.header__inner {
  max-width: 1200px; margin: 0 auto;
  padding: 0 24px;
  height: 68px;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.header__logo {
  display: flex; align-items: center; gap: 10px;
  text-decoration: none; color: var(--navy);
}
.header__logo-img {
  height: 72px;
  width: auto;
  object-fit: contain;
}

.footer__logo-img {
  height: 60px;
  width: auto;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.nav { display: flex; align-items: center; gap: 8px; }
.nav__link {
  padding: 8px 16px;
  color: var(--navy); text-decoration: none;
  font-size: .9rem; font-weight: 500;
  border-radius: 8px;
  transition: background .2s;
}
.nav__link:hover { background: var(--cream); }
.nav__cta {
  padding: 9px 20px;
  background: var(--wa); color: #fff;
  text-decoration: none; font-size: .88rem; font-weight: 600;
  border-radius: 8px;
  transition: opacity .2s;
}
.nav__cta:hover { opacity: .88; }

.header__toggle {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 8px;
}
.header__toggle span {
  display: block; width: 22px; height: 2px;
  background: var(--navy); border-radius: 2px; transition: .3s;
}

/* ===== HERO ===== */
.hero {
  min-height: 60vh;
  display: flex; align-items: center;
  position: relative; overflow: hidden;
  padding: 48px 24px;
}
.hero__bg {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: 50% 55%;
  z-index: 0;
}
.hero__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(255,255,255,.92) 0%, rgba(255,255,255,.75) 35%, rgba(255,255,255,.25) 65%, rgba(255,255,255,0) 100%);
  z-index: 1;
}
.hero__content {
  max-width: 1200px; width: 100%; margin: 0 auto;
  position: relative; z-index: 2;
  text-align: left;
  padding-left: 60px;
}
.hero__title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2rem, 4.5vw, 3.6rem);
  font-weight: 400; line-height: 1.1; white-space: nowrap;
  color: var(--navy); margin-bottom: 16px;
}
.hero__title em { font-style: italic; color: var(--gold); }
.hero__sub {
  font-size: 1rem; color: var(--muted);
  margin-bottom: 28px; max-width: 420px;
}

.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 32px;
  font-size: .95rem; font-weight: 600;
  border-radius: 8px; text-decoration: none;
  transition: transform .2s, box-shadow .2s, opacity .2s;
  cursor: pointer; border: none;
}
.btn:hover { transform: translateY(-2px); }
.btn--primary {
  background: var(--navy); color: #fff;
  box-shadow: 0 4px 16px rgba(27,43,75,.25);
}
.btn--primary:hover { box-shadow: 0 8px 28px rgba(27,43,75,.35); }
.btn--wa {
  background: var(--navy); color: #fff;
  width: 100%;
  justify-content: center;
  font-size: .88rem;
  padding: 12px 20px;
}
.btn--wa:hover { opacity: .9; transform: none; }
.btn--light {
  background: #fff; color: var(--navy);
  box-shadow: 0 4px 16px rgba(0,0,0,.12);
}

.hero__ornament { position: absolute; right: -120px; top: 50%; transform: translateY(-50%); }
.hero__ring {
  border-radius: 50%;
  border: 2px solid var(--gold);
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%,-50%);
  opacity: .15;
}
.hero__ring--1 { width: 400px; height: 400px; }
.hero__ring--2 { width: 560px; height: 560px; opacity: .08; }
.hero__ring--3 { width: 720px; height: 720px; opacity: .05; }

/* ===== STRIP MARQUEE ===== */
.strip {
  background: var(--navy); color: rgba(255,255,255,.8);
  padding: 12px 0; overflow: hidden;
  font-size: .82rem; letter-spacing: .04em;
}
.strip__inner {
  display: flex; gap: 32px; align-items: center;
  width: max-content;
  animation: marquee 22s linear infinite;
}
.strip__dot { color: var(--gold); font-size: 1rem; }
@keyframes marquee {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-33.333%); }
}

/* ===== SECTION HEADER ===== */
.section-header { text-align: center; padding: 32px 24px 48px; max-width: 640px; margin: 0 auto; }
.section-tag {
  display: inline-block;
  font-size: .75rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 12px;
}
.section-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2rem, 4vw, 3rem); font-weight: 400;
  color: var(--navy); margin-bottom: 16px;
}
.section-sub { color: var(--muted); font-size: .95rem; }

/* ===== PRODUCTS ===== */
.products { padding: 0 24px 100px; }
.products__grid {
  max-width: 1200px; margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 28px;
}

.card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform .3s, box-shadow .3s;
  display: flex; flex-direction: column;
}
.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
}
.card__img-wrap {
  position: relative;
  aspect-ratio: 1 / 1;
  background: var(--cream);
  overflow: hidden;
}
.card__img-wrap img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
  cursor: zoom-in;
}
.card:hover .card__img-wrap img { transform: scale(1.05); }

.card__badge {
  position: absolute; top: 12px; left: 12px;
  padding: 4px 12px;
  background: var(--navy); color: #fff;
  font-size: .72rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase;
  border-radius: 100px;
}
.card__badge--gold { background: var(--gold); color: var(--navy); }

.card__body { padding: 20px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.card__name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.3rem; font-weight: 600; color: var(--navy);
}
.card__desc { font-size: .87rem; color: var(--muted); line-height: 1.55; flex: 1; }

/* ===== CTA BANNER ===== */
.cta-banner {
  background: linear-gradient(135deg, var(--navy) 0%, #2d4470 100%);
  padding: 80px 24px;
  text-align: center;
}
.cta-banner__inner { max-width: 600px; margin: 0 auto; }
.cta-banner h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.8rem, 3.5vw, 2.6rem); font-weight: 400;
  color: #fff; margin-bottom: 16px;
}
.cta-banner p { color: rgba(255,255,255,.7); margin-bottom: 32px; font-size: .95rem; }

/* ===== CONTACT ===== */
.contact { padding: 0 24px 100px; }
.contact__grid {
  max-width: 720px; margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  justify-items: center;
}
.contact__item {
  display: flex; flex-direction: column; align-items: center; text-align: center; gap: 12px;
  padding: 28px 20px;
  background: var(--cream);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  width: 100%;
}
.contact__icon {
  width: 44px; height: 44px; min-width: 44px;
  background: var(--navy); color: #fff;
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
}
.contact__item h4 {
  font-size: .8rem; font-weight: 600; text-transform: uppercase;
  letter-spacing: .08em; color: var(--gold); margin-bottom: 4px;
}
.contact__item p { font-size: .9rem; color: var(--navy); }

/* ===== FOOTER ===== */
.footer { background: var(--navy); padding: 40px 24px; }
.footer__inner {
  max-width: 1200px; margin: 0 auto;
  display: flex; flex-direction: column; align-items: center; gap: 16px;
  text-align: center;
}
.footer__copy { color: rgba(255,255,255,.4); font-size: .82rem; }

/* ===== LIGHTBOX ===== */
.lightbox {
  position: fixed; inset: 0; z-index: 500;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none;
  transition: opacity .3s ease;
}
.lightbox.open { opacity: 1; pointer-events: all; }
.lightbox__backdrop {
  position: absolute; inset: 0;
  background: rgba(0,0,0,.82);
  backdrop-filter: blur(6px);
}
.lightbox__img {
  position: relative; z-index: 1;
  max-width: min(90vw, 600px);
  max-height: 85vh;
  object-fit: contain;
  border-radius: 12px;
  box-shadow: 0 24px 80px rgba(0,0,0,.5);
  transform: scale(.9);
  transition: transform .3s ease;
}
.lightbox.open .lightbox__img { transform: scale(1); }
.lightbox__close {
  position: absolute; top: 20px; right: 24px; z-index: 2;
  background: rgba(255,255,255,.15); border: none;
  color: #fff; font-size: 1.4rem; width: 40px; height: 40px;
  border-radius: 50%; cursor: pointer; display: flex;
  align-items: center; justify-content: center;
  transition: background .2s;
}
.lightbox__close:hover { background: rgba(255,255,255,.3); }

/* ===== WA FLOAT ===== */
.wa-float {
  position: fixed; bottom: 24px; right: 24px; z-index: 200;
  width: 56px; height: 56px;
  background: var(--wa);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,.4);
  transition: transform .2s, box-shadow .2s;
}
.wa-float:hover { transform: scale(1.1); box-shadow: 0 8px 28px rgba(37,211,102,.55); }

/* ===== CAROUSEL ===== */
.carousel-section { padding: 0 0 80px; }

.carousel-wrapper {
  display: flex; align-items: center; gap: 12px;
  width: 100%; padding: 0 16px;
  position: relative;
}

.carousel-track-wrap { overflow: hidden; flex: 1; padding: 8px 10px; }

.carousel-track {
  display: flex; gap: 16px;
  transition: transform .4s ease;
}

.carousel-card {
  flex: 0 0 calc(33.333% - 11px);
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  aspect-ratio: 3 / 4;
  background: var(--cream);
  cursor: pointer;
  border: 1px solid rgba(27,43,75,.1);
  transition: transform .3s;
}
.carousel-card:hover { transform: translateY(-4px); }

.carousel-card > img {
  width: 100%; height: 100%;
  object-fit: contain;
  display: block;
}

.carousel-card__overlay {
  position: absolute; inset: 0; top: auto;
  padding: 20px 16px 16px;
  background: linear-gradient(to top, rgba(27,43,75,.92) 0%, rgba(27,43,75,.4) 70%, transparent 100%);
  display: flex; flex-direction: column; gap: 6px;
  transform: translateY(calc(100% - 56px));
  transition: transform .4s cubic-bezier(.4,0,.2,1);
}
.carousel-card:hover .carousel-card__overlay { transform: translateY(0); }

.carousel-card__overlay h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.15rem; color: #fff; font-weight: 600;
}
.carousel-card__overlay p { font-size: .78rem; color: rgba(255,255,255,.8); line-height: 1.4; }
.carousel-card__overlay .btn--wa { margin-top: 4px; padding: 8px 14px; font-size: .78rem; align-self: flex-start; }

/* Mobile: overlay always visible */
@media (hover: none) {
  .carousel-card__overlay { transform: translateY(0); }
}

/* ── Flechas unificadas ── */
.nav-arrow {
  width: 38px; height: 38px; min-width: 38px;
  border-radius: 50%;
  border: 1.5px solid var(--navy);
  background: #fff;
  color: var(--navy);
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background .2s, color .2s;
  flex-shrink: 0;
}
.nav-arrow:hover { background: var(--navy); color: #fff; }
.nav-arrow:hover svg { stroke: #fff; }
.nav-arrow:disabled { opacity: .25; cursor: default; }
.nav-arrow svg { display: block; flex-shrink: 0; }

.carousel-dots {
  display: flex; justify-content: center; gap: 8px;
  margin-top: 20px;
}
.carousel-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--border); border: none; cursor: pointer;
  transition: background .2s, transform .2s;
}
.carousel-dot.active { background: var(--navy); transform: scale(1.3); }

/* ===== FOTOS ESPACIO ===== */
.photos-section { padding: 0 0 80px; }

.photo-reel-wrap {
  display: flex; align-items: center; gap: 14px;
  max-width: 900px; margin: 0 auto; padding: 0 24px;
}

.photo-reel {
  position: relative;
  flex: 1;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--cream);
  height: 420px;
  cursor: zoom-in;
}

.photo-reel__track {
  display: flex; height: 100%;
  transition: transform .6s cubic-bezier(.4,0,.2,1);
}

.photo-reel__slide { flex: 0 0 100%; height: 100%; overflow: hidden; }
.photo-reel__slide img {
  width: 100%; height: 100%;
  object-fit: cover; display: block;
  transition: transform 6s ease;
}
.photo-reel__slide.active img { transform: scale(1.05); }

.photo-reel__dots {
  position: absolute; bottom: 12px; left: 50%; transform: translateX(-50%);
  display: flex; gap: 7px; z-index: 10;
}
.photo-reel__dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: rgba(255,255,255,.55); border: none; cursor: pointer;
  transition: background .3s, transform .3s;
}
.photo-reel__dot.active { background: #fff; transform: scale(1.35); }

@media (max-width: 640px) {
  .photo-reel-wrap { padding: 0 12px; gap: 10px; }
  .photo-reel { height: auto; aspect-ratio: 4/3; cursor: default; }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 960px) {
  .carousel-card { flex: 0 0 calc(50% - 8px); }
}

@media (max-width: 640px) {
  /* Header */
  .header__toggle { display: flex; }
  .nav {
    display: none; position: absolute; top: 68px; left: 0; right: 0;
    background: #fff; border-bottom: 1px solid var(--border);
    flex-direction: column; padding: 16px 24px; gap: 4px;
  }
  .nav.open { display: flex; }
  .nav__link { width: 100%; }
  .nav__cta { text-align: center; }

  /* Hero */
  .hero { min-height: 52vh; padding: 32px 16px; }
  .hero__title { white-space: normal; font-size: clamp(1.6rem, 7vw, 2.4rem); }
  .hero__sub { font-size: .9rem; }
  .hero__content { padding-left: 16px; }
  .hero__overlay {
    background: linear-gradient(90deg, rgba(255,255,255,.96) 0%, rgba(255,255,255,.88) 50%, rgba(255,255,255,.5) 100%);
  }

  /* Products */
  .products__grid { grid-template-columns: 1fr; gap: 12px; }
  .section-header { padding: 24px 16px 32px; }

  /* Carousel */
  .carousel-card { flex: 0 0 100%; }
  .carousel-wrapper { padding: 0 8px; }

  /* Contact */
  .contact__grid { grid-template-columns: 1fr; }
}
