/* ============================================
   VITTORIA LANDER — COMPONENTES
   ============================================ */

/* ─────────────────────────────────────────────
   NAV
───────────────────────────────────────────── */

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: var(--z-nav);
  padding-block: var(--space-md);
  transition:
    background var(--transition-base),
    padding var(--transition-base),
    backdrop-filter var(--transition-base);
}

.nav.is-scrolled {
  padding-block: 0.875rem;
  background: rgba(15, 12, 14, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: var(--border-gold-subtle);
}

.nav__inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: var(--space-md);
}

.nav__logo {
  justify-self: start;
  grid-column: 1;
}

.nav__logo img {
  height: 52px;
  width: auto;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
  justify-self: center;
  grid-column: 2;
}

.nav__links a {
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gray-light);
  transition: color var(--transition-fast);
  position: relative;
}

.nav__links a::after {
  content: "";
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--gold-primary);
  transition: width var(--transition-base);
}

.nav__links a:hover {
  color: var(--gold-light);
}

.nav__links a:hover::after {
  width: 100%;
}

.nav__actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: var(--space-sm);
  grid-column: 3;
}

/* Hamburger mobile */
.nav__hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 28px;
  height: 28px;
  cursor: pointer;
}

.nav__hamburger span {
  display: block;
  height: 1px;
  background: var(--white);
  transition:
    transform var(--transition-base),
    opacity var(--transition-base);
  transform-origin: center;
}

.nav__hamburger.is-open span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}
.nav__hamburger.is-open span:nth-child(2) {
  opacity: 0;
}
.nav__hamburger.is-open span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

/* Mobile menu overlay */
.nav__mobile {
  position: fixed;
  inset: 0;
  background: var(--bg-base);
  z-index: calc(var(--z-nav) - 1);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-md);
  padding-top: 80px; /* espacio para la nav bar */
  opacity: 0;
  pointer-events: none;
  transform: translateY(-8px);
  transition:
    opacity var(--transition-slow),
    transform var(--transition-slow);
}

.nav__mobile.is-open {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.nav__mobile a {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 300;
  letter-spacing: 0.05em;
  color: var(--white);
  transition: color var(--transition-fast);
  padding-block: 0.375rem;
}

.nav__mobile a:hover {
  color: var(--gold-light);
}

.nav__mobile-divider {
  width: 40px;
  height: 1px;
  background: rgba(175, 121, 18, 0.2);
}

/* ─────────────────────────────────────────────
   BOTONES
───────────────────────────────────────────── */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 0.875rem 2rem;
  border-radius: var(--radius-sm);
  transition: all var(--transition-base);
  white-space: nowrap;
  cursor: pointer;
}

/* Primario — oro sólido */
.btn--primary {
  background: var(--gold-primary);
  color: var(--bg-base);
  border: 1px solid var(--gold-primary);
}

.btn--primary:hover {
  background: var(--gold-light);
  border-color: var(--gold-light);
  color: var(--bg-base);
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(175, 121, 18, 0.3);
}

/* Contorno — ghost dorado */
.btn--outline {
  background: transparent;
  color: var(--gold-light);
  border: 1px solid var(--gold-primary);
}

.btn--outline:hover {
  background: rgba(175, 121, 18, 0.1);
  border-color: var(--gold-light);
  color: var(--gold-light);
  transform: translateY(-1px);
}

/* Ghost blanco */
.btn--ghost {
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.btn--ghost:hover {
  border-color: var(--white);
  background: rgba(255, 255, 255, 0.05);
}

/* WhatsApp */
.btn--whatsapp {
  background: #25d366;
  color: #fff;
  border: none;
  gap: 0.625rem;
}

.btn--whatsapp:hover {
  background: #1ebe5d;
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.25);
}

.btn--whatsapp svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

/* Grande */
.btn--lg {
  font-size: var(--text-xs);
  padding: 1.1rem 2.5rem;
}

/* ─────────────────────────────────────────────
   SERVICE CARD
───────────────────────────────────────────── */

.service-card {
  background: var(--bg-surface);
  border: var(--border-gold-subtle);
  padding: var(--space-lg) var(--space-md);
  transition:
    border-color var(--transition-base),
    transform var(--transition-base),
    box-shadow var(--transition-base);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--gold-gradient);
  transform: scaleX(0);
  transition: transform var(--transition-slow);
  transform-origin: left;
}

.service-card:hover {
  border-color: var(--gold-primary);
  transform: translateY(-4px);
  box-shadow: var(--shadow-gold);
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-card__icon {
  font-size: 1.5rem;
  margin-bottom: var(--space-sm);
  color: var(--gold-primary);
}

.service-card__title {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 400;
  color: var(--white);
  margin-bottom: var(--space-xs);
}

.service-card__desc {
  font-size: var(--text-sm);
  color: var(--gray-mid);
  line-height: 1.65;
  margin-bottom: var(--space-md);
}

.service-card__price {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  color: var(--gold-light);
  font-weight: 300;
}

/* ─────────────────────────────────────────────
   PRODUCT CARD
───────────────────────────────────────────── */

.product-card {
  display: flex;
  flex-direction: column;
  background: var(--bg-surface);
  border: var(--border-gold-subtle);
  overflow: hidden;
  transition:
    transform var(--transition-base),
    box-shadow var(--transition-base);
}

.product-card[hidden] {
  display: none;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-gold);
}

.product-card__img-wrap {
  position: relative;
  height: 260px;
  background: #ffffff;
  overflow: hidden;
  flex-shrink: 0;
}

.product-card__img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: var(--space-sm);
  box-sizing: border-box;
  display: block;
  transition: transform var(--transition-slow);
}

.product-card__img-wrap .img-placeholder {
  transition: transform var(--transition-slow);
}

.product-card:hover .product-card__img-wrap img,
.product-card:hover .product-card__img-wrap .img-placeholder {
  transform: scale(1.04);
}

/* Badge sobre la imagen del producto */
.product-card__badge {
  position: absolute;
  top: var(--space-sm);
  left: var(--space-sm);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--bg-base);
  background: var(--gold-light);
  padding: 4px 10px;
  z-index: 1;
}

.product-card__body {
  padding: var(--space-md);
  flex: 1;
  display: flex;
  flex-direction: column;
}

.product-card__brand {
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-primary);
  margin-bottom: 0.25rem;
}

/* Colección — subtag bajo la marca */
.product-card__coleccion {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gray-dark);
  margin-bottom: 0.2rem;
  line-height: 1;
}

.product-card__name {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 400;
  color: var(--white);
  margin-bottom: var(--space-xs);
  line-height: 1.25;
}

.product-card__desc {
  font-size: var(--text-sm);
  color: var(--gray-mid);
  flex: 1;
  margin-bottom: var(--space-sm);
}

.product-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: var(--space-sm);
  border-top: var(--border-white-subtle);
}

.product-card__price {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  color: var(--gold-light);
  font-weight: 300;
}

/* ─────────────────────────────────────────────
   TESTIMONIAL CARD
───────────────────────────────────────────── */

.testimonial-card {
  padding: var(--space-lg);
  border: var(--border-white-subtle);
  background: var(--bg-surface);
  position: relative;
}

.testimonial-card__quote {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 300;
  line-height: 1.5;
  color: var(--white);
  margin-bottom: var(--space-md);
  font-style: italic;
}

.testimonial-card__author {
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-primary);
}

.testimonial-card__stars {
  display: flex;
  gap: 4px;
  margin-bottom: var(--space-sm);
  color: var(--gold-light);
  font-size: 14px;
}

/* ─────────────────────────────────────────────
   BLOG CARD
───────────────────────────────────────────── */

.blog-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.blog-card__img {
  position: relative;
  display: block;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  margin-bottom: var(--space-md);
}

.blog-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform var(--transition-slow);
}

.blog-card__img .img-placeholder {
  width: 100%;
  height: 100%;
  aspect-ratio: unset;
  transition: transform var(--transition-slow);
}

.blog-card:hover .blog-card__img img,
.blog-card:hover .blog-card__img .img-placeholder {
  transform: scale(1.04);
}

.blog-card__category {
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-primary);
  margin-bottom: var(--space-xs);
}

.blog-card__title {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 400;
  color: var(--white);
  margin-bottom: var(--space-xs);
  line-height: 1.25;
  transition: color var(--transition-fast);
}

.blog-card:hover .blog-card__title {
  color: var(--gold-light);
}

.blog-card__excerpt {
  font-size: var(--text-sm);
  color: var(--gray-mid);
  margin-bottom: var(--space-md);
  flex: 1;
}

.blog-card__meta {
  font-size: var(--text-xs);
  color: var(--gray-dark);
  letter-spacing: 0.08em;
}

/* ─────────────────────────────────────────────
   WHATSAPP FLOTANTE
───────────────────────────────────────────── */

.whatsapp-float {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: var(--z-sticky);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: #25d366;
  color: #fff;
  padding: 0.875rem 1.375rem;
  border-radius: var(--radius-pill);
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 600;
  box-shadow: 0 4px 24px rgba(37, 211, 102, 0.35);
  transition:
    transform var(--transition-base),
    box-shadow var(--transition-base);
  text-decoration: none;
}

.whatsapp-float:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 8px 32px rgba(37, 211, 102, 0.45);
  color: #fff;
}

.whatsapp-float svg {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}

/* En mobile: solo ícono */
@media (max-width: 640px) {
  .whatsapp-float {
    bottom: 1.25rem;
    right: 1.25rem;
    padding: 1rem;
    border-radius: 50%;
  }
  .whatsapp-float__label {
    display: none;
  }
}

/* ─────────────────────────────────────────────
   FOOTER
───────────────────────────────────────────── */

.footer {
  background: var(--near-black);
  border-top: var(--border-gold-subtle);
  padding-block: var(--space-3xl) var(--space-xl);
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: var(--space-xl);
  margin-bottom: var(--space-2xl);
}

.footer__brand img {
  width: auto;
  margin-bottom: var(--space-md);
}

.footer__tagline {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 300;
  font-style: italic;
  color: var(--gray-mid);
  line-height: 1.4;
  margin-bottom: var(--space-lg);
}

.footer__social {
  display: flex;
  gap: var(--space-sm);
}

.footer__social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border: var(--border-gold-subtle);
  color: var(--gray-mid);
  transition: all var(--transition-base);
}

.footer__social-link:hover {
  border-color: var(--gold-primary);
  color: var(--gold-light);
}

.footer__col-title {
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-primary);
  margin-bottom: var(--space-md);
}

.footer__links {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer__links a {
  font-size: var(--text-sm);
  color: var(--gray-mid);
  transition: color var(--transition-fast);
}

.footer__links a:hover {
  color: var(--gold-light);
}

.footer__contact-item {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  font-size: var(--text-sm);
  color: var(--gray-mid);
  margin-bottom: 0.75rem;
}

.footer__contact-item svg {
  width: 16px;
  height: 16px;
  color: var(--gold-primary);
  flex-shrink: 0;
  margin-top: 3px;
}

.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: var(--space-lg);
  border-top: var(--border-white-subtle);
}

.footer__copy {
  font-size: var(--text-xs);
  color: var(--gray-dark);
  letter-spacing: 0.05em;
}

.footer__legal {
  display: flex;
  gap: var(--space-md);
}

.footer__legal a {
  font-size: var(--text-xs);
  color: var(--gray-dark);
  transition: color var(--transition-fast);
}

.footer__legal a:hover {
  color: var(--gray-mid);
}

.footer__dev {
  font-size: var(--text-xs);
  color: var(--gray-dark);
  letter-spacing: 0.05em;
}

.footer__dev a {
  color: var(--gray-mid);
  transition: color var(--transition-fast);
}

.footer__dev a:hover {
  color: var(--gold-light);
}

/* ─────────────────────────────────────────────
   ANIMACIONES DE SCROLL (Intersection Observer)
───────────────────────────────────────────── */

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity var(--transition-xslow),
    transform var(--transition-xslow);
}

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

.reveal-delay-1 {
  transition-delay: 100ms;
}
.reveal-delay-2 {
  transition-delay: 200ms;
}
.reveal-delay-3 {
  transition-delay: 300ms;
}
.reveal-delay-4 {
  transition-delay: 400ms;
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ─────────────────────────────────────────────
   CTA BAND — Reserva
───────────────────────────────────────────── */

.cta-band {
  background: var(--bg-surface-2);
  padding-block: var(--space-3xl);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-band::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse 70% 90% at 50% 110%,
    rgba(175, 121, 18, 0.08) 0%,
    transparent 65%
  );
  pointer-events: none;
}

.cta-band::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(
    to right,
    transparent,
    rgba(175, 121, 18, 0.4) 30%,
    rgba(175, 121, 18, 0.4) 70%,
    transparent
  );
}

.cta-band__inner {
  position: relative;
  z-index: 1;
  max-width: 660px;
  margin: 0 auto;
}

.cta-band__location {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: 0.15em;
  color: var(--gold-primary);
  margin-bottom: var(--space-md);
}

.cta-band__title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.75rem);
  font-weight: 300;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: var(--space-md);
  letter-spacing: -0.02em;
  text-wrap: balance;
}

.cta-band__title em {
  font-style: italic;
  color: var(--gold-light);
}

.cta-band__detail {
  font-size: var(--text-sm);
  color: var(--gray-mid);
  margin-bottom: var(--space-2xl);
}

.cta-band__actions {
  display: flex;
  justify-content: center;
  gap: var(--space-sm);
  flex-wrap: wrap;
}


/* ─────────────────────────────────────────────
   RESPONSIVE GLOBAL
───────────────────────────────────────────── */

@media (max-width: 1024px) {
  .footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-lg);
  }
}

@media (max-width: 768px) {
  .nav__links {
    display: none;
  }
  .nav__hamburger {
    display: flex;
  }

  .footer__grid {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }

  .footer__bottom {
    flex-direction: column;
    gap: var(--space-sm);
    text-align: center;
    align-items: center;
  }

  .footer__dev {
    text-align: center;
  }

  .cta-band {
    padding-block: var(--space-2xl);
  }

  .cta-band__actions {
    flex-direction: column;
    align-items: center;
    gap: var(--space-md);
  }
}

@media (max-width: 480px) {
  /* Oculta el botón CTA del nav en pantallas muy pequeñas para no apretar el hamburger */
  .nav__actions .btn {
    display: none;
  }
}

@media (max-width: 380px) {
  .product-card__img-wrap {
    height: 220px;
  }
}
