:root {
  --rosa-principal: #f6c7d8;
  --rosa-suave: #fff5f8;
  --rosa-intenso: #df8faa;
  --negro: #1f1a1d;
  --gris: #6e6168;
  --blanco: #ffffff;
  --dorado: #c9a96a;
  --sombra: 0 12px 35px rgba(31, 26, 29, 0.12);
  --borde: 1px solid rgba(31, 26, 29, 0.08);
  --radio-xl: 30px;
  --radio-lg: 24px;
  --radio-md: 18px;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--negro);
  background: linear-gradient(180deg, #ffffff 0%, #fff8fb 100%);
  line-height: 1.55;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

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

a:focus-visible {
  outline: 3px solid #9d4e6a;
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--negro);
  color: var(--blanco);
  transform: translateY(-150%);
  transition: transform 0.2s ease;
}

.skip-link:focus {
  transform: translateY(0);
}

section[id] {
  scroll-margin-top: 110px;
}

h1,
h2,
h3 {
  margin: 0 0 14px;
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.12;
}

p {
  margin: 0 0 16px;
}

ul {
  margin: 0;
  padding-left: 18px;
}

.container {
  width: min(calc(100% - 32px), var(--max));
  margin: 0 auto;
}

.topbar {
  background: var(--negro);
  color: var(--blanco);
  text-align: center;
  padding: 10px 16px;
  font-size: 0.95rem;
}

.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: var(--borde);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 16px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  min-width: 0;
}

.brand-badge {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: grid;
  place-items: center;  
  color: var(--blanco);
  box-shadow: var(--sombra);
}

.brand-text {
  max-width: 235px;
  font-size: 0.98rem;
  letter-spacing: 0.015em;
  overflow-wrap: anywhere;
}

.nav-links {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  color: var(--gris);
}

.nav-links a:hover {
  color: var(--negro);
}

.nav-links a {
  position: relative;
  padding: 8px 0;
}

.nav-links a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 3px;
  left: 0;
  height: 2px;
  border-radius: 2px;
  background: var(--rosa-intenso);
  transform: scaleX(0);
  transition: transform 0.2s ease;
}

.nav-links a:hover::after,
.nav-links a:focus-visible::after {
  transform: scaleX(1);
}

.nav-cta,
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-weight: 700;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.nav-cta,
.btn-primary {
  background: var(--negro);
  color: var(--blanco);
  box-shadow: var(--sombra);
}

.nav-cta {
  padding: 12px 18px;
}

.btn {
  padding: 14px 22px;
}

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

.btn-secondary {
  background: var(--blanco);
  color: var(--negro);
  border: var(--borde);
}

.btn-small {
  padding: 10px 16px;
  font-size: 0.95rem;
}

.hero {
  padding: 76px 0 50px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 36px;
  align-items: center;
}

.eyebrow {
  display: inline-block;
  margin-bottom: 18px;
  padding: 8px 14px;
  border-radius: 999px;
  background: #fde7ef;
  color: #9d4e6a;
  font-weight: 700;
  font-size: 0.9rem;
}

.hero h1 {
  font-size: clamp(2.5rem, 4vw, 4.6rem);
  margin-bottom: 18px;
}

.hero p {
  color: var(--gris);
  font-size: 1.06rem;
  max-width: 580px;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 24px;
}

.hero-metrics {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 26px;
}

.metric {
  min-width: 140px;
  background: var(--blanco);
  border: var(--borde);
  border-radius: var(--radio-md);
  padding: 14px 16px;
  box-shadow: var(--sombra);
}

.metric strong {
  display: block;
  font-size: 1rem;
  margin-bottom: 4px;
}

.metric span {
  color: var(--gris);
  font-size: 0.92rem;
}

.hero-card {
  background: var(--blanco);
  padding: 18px;
  border-radius: var(--radio-xl);
  box-shadow: var(--sombra);
}

.hero-image {
  min-height: 520px;
  border-radius: 24px;
  background: linear-gradient(135deg, #f9d8e4, #fff1f6);
  border: 1px dashed rgba(157, 78, 106, 0.3);
  display: grid;
  place-items: center;
  text-align: center;
  color: #944d68;
  padding: 30px;
  overflow: hidden;
}

.hero-image .img-producto {
  width: 100%;
  max-height: 520px;
  object-fit: contain;
}

.hero-image strong {
  display: block;
  margin-bottom: 10px;
  font-size: 2rem;
  font-family: Georgia, "Times New Roman", serif;
}

.section {
  padding: 76px 0;
}

.soft-bg {
  background: linear-gradient(180deg, rgba(255, 245, 248, 0.65), rgba(255, 255, 255, 0.35));
}

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

.section-title h2 {
  font-size: clamp(2rem, 3vw, 3rem);
  margin-bottom: 12px;
}

.section-title p {
  color: var(--gris);
}

.features-grid,
.products-grid,
.testimonials-grid {
  display: grid;
  gap: 20px;
}

.features-grid {
  grid-template-columns: repeat(4, 1fr);
}

.products-grid,
.testimonials-grid {
  grid-template-columns: repeat(3, 1fr);
}

.feature-card,
.product-card,
.testimonial-card {
  background: var(--blanco);
  border-radius: var(--radio-lg);
  box-shadow: var(--sombra);
}

.feature-card {
  padding: 24px;
}

.feature-icon {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  background: #fdebf2;
  display: grid;
  place-items: center;
  font-size: 1.35rem;
  margin-bottom: 16px;
}

.feature-card p,
.product-body p,
.product-body ul,
.testimonial-card p,
.footer p {
  color: var(--gris);
}

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

.product-image {
  aspect-ratio: 4 / 3;
  background: linear-gradient(135deg, #f9dde8, #fff6f9);
  display: grid;
  place-items: center;
  text-align: center;
  color: #9e5771;
  font-weight: 700;
  padding: 20px;
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.product-card:hover .product-image img {
  transform: scale(1.035);
}

.product-body {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 22px;
  flex: 1;
}

.img-producto {
  width: 100%;
  height: auto;
  object-fit: cover; /* o contain según lo que quieras */
}

.tag {
  display: inline-block;
  width: fit-content;
  padding: 7px 12px;
  border-radius: 999px;
  background: #fff1f6;
  color: #9d4e6a;
  font-size: 0.84rem;
  font-weight: 700;
}

.product-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
  padding-top: 4px;
}

.price {
  font-size: 1.35rem;
}

.gallery-grid {
  display: grid;
  grid-template-columns: 1.00fr 1.00fr 1.00fr;
  gap: 18px;
}

.gallery-card {
  aspect-ratio: 4 / 5;
  border-radius: var(--radio-lg);
  background: linear-gradient(135deg, #ffffff, #fdeef4);
  box-shadow: var(--sombra);
  padding: 0;
  display: flex;
  align-items: flex-end;
  color: #8d5167;
  font-weight: 700;
  overflow: hidden;
}

.gallery-large {
  min-height: 320px;
}

.gallery-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.gallery-card:hover img {
  transform: scale(1.035);
}


.testimonial-card {
  padding: 24px;
}

.stars {
  color: var(--dorado);
  margin-bottom: 12px;
  font-size: 1.05rem;
}

.cta-box {
  background: linear-gradient(135deg, #1f1a1d, #3a2b31);
  color: var(--blanco);
  border-radius: 34px;
  padding: 46px 32px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: center;
  box-shadow: var(--sombra);
}

.cta-box p {
  color: rgba(255, 255, 255, 0.82);
}

.footer {
  padding: 30px 0 44px;
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  border-top: var(--borde);
  padding-top: 22px;
}

.footer a:hover,
.footer a:focus-visible {
  color: #9d4e6a;
}

.whatsapp-float {
  position: fixed;
  right: 18px;
  bottom: 18px;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #c8f5d900;
  color: var(--blanco);
  font-size: 1.6rem;
  box-shadow: 0 10px 25px rgba(37, 211, 102, 0.35);
  z-index: 60;
  transition: transform 0.2s ease;
}

.whatsapp-float:hover {
  transform: translateY(-3px) scale(1.03);
}

.whatsapp-icon {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

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

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

@media (max-width: 1080px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .products-grid,
  .testimonials-grid,
  .gallery-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 760px) {
  section[id] {
    scroll-margin-top: 160px;
  }

  .nav {
    flex-wrap: wrap;
    gap: 10px 14px;
  }

  .nav-links {
    order: 3;
    width: 100%;
    justify-content: center;
    gap: 12px;
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-bottom: 2px;
  }

  .nav-links a {
    flex: 0 0 auto;
  }

  .brand-text {
    max-width: 190px;
    font-size: 0.86rem;
  }

  .hero,
  .section {
    padding: 56px 0;
  }

  .hero-grid,
  .features-grid,
  .products-grid,
  .gallery-grid,
  .testimonials-grid,
  .cta-box {
    grid-template-columns: 1fr;
  }

  .hero-image {
    min-height: 360px;
  }

  .hero-actions {
    flex-direction: column;
  }

  .hero-actions .btn,
  .cta-box .btn {
    width: 100%;
  }

  .product-footer {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 420px) {
  .brand-badge {
    width: 44px;
    height: 44px;
  }

  .logors {
    width: 44px;
    height: 44px;
  }

  .brand-text {
    max-width: 138px;
    font-size: 0.76rem;
  }

  .nav-cta {
    padding: 10px 14px;
    font-size: 0.9rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
