:root {
  --rosa-blush: #F5E8E4;
  --rosa-palido: #EDCAC4;
  --rosa-medio: #D4718A;
  --vino-oscuro: #8B2E4A;
  --dorado: #C9A84C;
  --dorado-claro: #E8D5A3;
  --crema: #FAF5F0;
  --marron-oscuro: #4A3728;

  --font-title: 'Playfair Display', serif;
  --font-body: 'Inter', sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--marron-oscuro);
  background: var(--crema);
  line-height: 1.6;
}

h1, h2, h3 {
  font-family: var(--font-title);
  font-weight: 700;
  color: var(--vino-oscuro);
  line-height: 1.25;
  margin: 0 0 1rem;
}

h1 { font-size: clamp(2rem, 5vw, 3.2rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); }
h3 { font-size: 1.2rem; }

p { margin: 0 0 1rem; }

strong { color: var(--vino-oscuro); }

.eyebrow {
  font-family: var(--font-body);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--dorado);
  font-size: 0.85rem;
  margin-bottom: 0.75rem;
}

.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 600;
  text-decoration: none;
  padding: 0.9rem 2rem;
  border-radius: 999px;
  transition: background-color 0.2s ease, transform 0.15s ease;
}

.btn-primary {
  background: var(--vino-oscuro);
  color: var(--crema);
}

.btn-primary:hover {
  background: var(--rosa-medio);
  transform: translateY(-2px);
}

.section {
  padding: 4.5rem 1.5rem;
}

.section-alt {
  background: var(--rosa-blush);
}

.section-narrow {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}

.section-intro {
  font-size: 1.1rem;
}

/* Hero */
.hero {
  display: flex;
  flex-direction: column-reverse;
  align-items: center;
  gap: 2rem;
  padding: 3rem 1.5rem;
  background: linear-gradient(160deg, var(--crema) 0%, var(--rosa-blush) 60%, var(--rosa-palido) 100%);
}

.hero-content {
  max-width: 640px;
  text-align: center;
}

.hero-name {
  color: var(--marron-oscuro);
  font-size: clamp(1.4rem, 3vw, 1.8rem);
}

.hero-body {
  font-size: 1.05rem;
}

.hero-image img {
  width: 100%;
  max-width: 380px;
  border-radius: 1.25rem;
  box-shadow: 0 20px 40px rgba(139, 46, 74, 0.2);
}

/* Quién soy */
.section-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  max-width: 1000px;
  margin: 0 auto;
  align-items: center;
}

.section-image img {
  width: 100%;
  border-radius: 1.25rem;
  box-shadow: 0 20px 40px rgba(139, 46, 74, 0.15);
}

.section-text {
  text-align: left;
}

/* Cards */
.cards-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  max-width: 1100px;
  margin: 2.5rem auto 0;
}

.card {
  background: var(--crema);
  border-radius: 1rem;
  padding: 1.75rem;
  text-align: left;
  box-shadow: 0 8px 24px rgba(74, 55, 40, 0.08);
}

.card-icon {
  font-size: 1.8rem;
  display: block;
  margin-bottom: 0.75rem;
}

/* Resultados: carrusel */
.carousel {
  position: relative;
  max-width: 420px;
  margin: 2.5rem auto 0;
  width: 100%;
}

.carousel-viewport {
  overflow: hidden;
  border-radius: 1rem;
  box-shadow: 0 16px 32px rgba(74, 55, 40, 0.15);
  background: var(--crema);
  width: 100%;
  touch-action: pan-y;
}

.carousel-track {
  display: flex;
  width: 100%;
  transition: transform 0.55s cubic-bezier(0.65, 0, 0.35, 1);
  will-change: transform;
}

.carousel-slide {
  margin: 0;
  flex: 0 0 100%;
  width: 100%;
  min-width: 100%;
  aspect-ratio: 3 / 4;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem;
}

.carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 0.5rem;
  user-select: none;
  -webkit-user-drag: none;
}

.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  width: 2.6rem;
  height: 2.6rem;
  border: none;
  border-radius: 50%;
  background: var(--crema);
  color: var(--vino-oscuro);
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 6px 16px rgba(74, 55, 40, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.2s ease, transform 0.15s ease, color 0.2s ease;
}

.carousel-arrow:hover {
  background: var(--vino-oscuro);
  color: var(--crema);
  transform: translateY(-50%) scale(1.08);
}

.carousel-arrow-prev { left: -0.5rem; }
.carousel-arrow-next { right: -0.5rem; }

.carousel-dots {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.25rem;
  padding: 0 0.5rem;
}

.carousel-dot {
  width: 0.6rem;
  height: 0.6rem;
  border-radius: 50%;
  border: none;
  background: var(--rosa-palido);
  cursor: pointer;
  padding: 0;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.carousel-dot.active {
  background: var(--vino-oscuro);
  transform: scale(1.35);
}

@media (min-width: 640px) {
  .carousel {
    max-width: 480px;
  }

  .carousel-arrow-prev { left: -3.2rem; }
  .carousel-arrow-next { right: -3.2rem; }
}

/* Para quién */
.para-quien-list {
  list-style: none;
  padding: 0;
  text-align: left;
  display: inline-block;
  margin: 0 auto;
}

.para-quien-list li {
  margin-bottom: 0.9rem;
  font-size: 1.05rem;
}

/* CTA final */
.cta-final {
  background: linear-gradient(160deg, var(--rosa-palido) 0%, var(--vino-oscuro) 100%);
}

.cta-final h2 {
  color: var(--marron-oscuro);
}

.cta-final p {
  color: var(--marron-oscuro);
}

/* Footer */
.footer {
  text-align: center;
  padding: 2.5rem 1.5rem;
  background: var(--marron-oscuro);
  color: var(--crema);
}

.footer p {
  margin: 0.25rem 0;
}

@media (min-width: 720px) {
  .hero {
    flex-direction: row;
    justify-content: center;
    text-align: left;
    padding: 5rem 3rem;
  }

  .hero-content {
    text-align: left;
  }

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

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

@media (min-width: 1024px) {
  .cards-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
