/* ═══════════════════════════════════════════════════════════════════
   CREACIONES VINANTI — style.css
   Variables globales, reset, tipografía, layout, botones, utilidades
   ═══════════════════════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400;1,600&family=Nunito:wght@300;400;500;600;700;800&display=swap');

/* ── VARIABLES ─────────────────────────────────────────────────── */
:root {
  --rosa-suave:      #F8C8D4;
  --rosa-medio:      #E8A0B0;
  --rosa-oscuro:     #D4789A;
  --rosa-profundo:   #B85678;
  --dorado:          #C9996A;
  --dorado-claro:    #E8C4A0;
  --dorado-oscuro:   #A07848;
  --blanco-calido:   #FFF9FB;
  --blanco-puro:     #FFFFFF;
  --fondo-producto:  #FFF0F5;
  --fondo-seccion:   #FEF4F7;
  --texto-oscuro:    #2D1B2E;
  --texto-medio:     #6B4C5E;
  --texto-suave:     #A07890;
  --borde:           #F0D0DC;
  --borde-suave:     #FAE8EE;
  --sombra-rosa:     rgba(200, 100, 140, 0.12);
  --sombra-rosa-m:   rgba(200, 100, 140, 0.2);
  --sombra-rosa-f:   rgba(200, 100, 140, 0.3);

  --font-titulo:     'Playfair Display', Georgia, serif;
  --font-cuerpo:     'Nunito', 'Trebuchet MS', sans-serif;

  --navbar-h:        72px;
  --banner-h:        38px;
  --total-top:       calc(var(--navbar-h) + var(--banner-h));

  --radio-sm:        8px;
  --radio-md:        14px;
  --radio-lg:        22px;
  --radio-xl:        32px;
  --radio-pill:      100px;

  --trans:           all 0.3s ease;
  --trans-lenta:     all 0.5s ease;
}

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

html { font-size: 16px; scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: hidden; }

body {
  font-family: var(--font-cuerpo);
  background: #F8DDE5;
  color: var(--texto-oscuro);
  line-height: 1.65;
  overflow-x: hidden;
  padding-top: var(--total-top);
}

img  { max-width: 100%; height: auto; display: block; }
a    { color: inherit; text-decoration: none; transition: var(--trans); }
ul   { list-style: none; }
button { cursor: pointer; font-family: var(--font-cuerpo); border: none; outline: none; transition: var(--trans); }
input, select, textarea { font-family: var(--font-cuerpo); outline: none; }

/* ── TIPOGRAFÍA ─────────────────────────────────────────────────── */
h1, h2, h3, h4, h5 {
  font-family: var(--font-titulo);
  font-weight: 700;
  line-height: 1.2;
  color: var(--texto-oscuro);
}
h1 { font-size: clamp(2rem,   5vw,  3.6rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.6rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.8rem); }
h4 { font-size: 1.15rem; }

p  { font-size: 1rem; color: var(--texto-medio); line-height: 1.75; }

/* ── LAYOUT ─────────────────────────────────────────────────────── */
.contenedor        { max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }
.contenedor-angosto{ max-width: 840px;  margin: 0 auto; padding: 0 1.5rem; }

.seccion           { padding: 5rem 0; }
.seccion-gris      { background: #F8DDE5; }

/* Título de sección centrado */
.seccion-header {
  text-align: center;
  margin-bottom: 3rem;
}
.seccion-header h2 { margin-bottom: 0.6rem; }
.seccion-header p  { max-width: 560px; margin: 0 auto 1rem; font-size: 1.05rem; }

.ornamento {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin: 0.8rem auto 0;
}
.ornamento::before,
.ornamento::after {
  content: '';
  display: block;
  width: 60px;
  height: 1px;
  background: var(--rosa-medio);
}
.ornamento-icono { color: var(--dorado); font-size: 1.1rem; }

/* ── BOTONES ─────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: var(--radio-pill);
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.4px;
  transition: var(--trans);
  min-height: 44px;
  white-space: nowrap;
  font-family: var(--font-cuerpo);
}

.btn-primario {
  background: linear-gradient(135deg, var(--rosa-medio), var(--rosa-profundo));
  color: #fff;
  box-shadow: 0 4px 16px rgba(212, 120, 154, 0.4);
}
.btn-primario:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(212, 120, 154, 0.5);
}

.btn-secundario {
  background: transparent;
  border: 2px solid var(--rosa-medio);
  color: var(--rosa-oscuro);
}
.btn-secundario:hover {
  background: var(--rosa-suave);
  border-color: var(--rosa-oscuro);
  transform: translateY(-1px);
}

.btn-dorado {
  background: linear-gradient(135deg, var(--dorado-claro), var(--dorado));
  color: #fff;
  box-shadow: 0 4px 16px rgba(201, 153, 106, 0.35);
}
.btn-dorado:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(201, 153, 106, 0.5);
}

.btn-blanco {
  background: #fff;
  color: var(--rosa-oscuro);
  box-shadow: 0 2px 12px var(--sombra-rosa);
}
.btn-blanco:hover { background: var(--fondo-producto); transform: translateY(-2px); }

.btn-whatsapp {
  background: #25D366;
  color: #fff;
  box-shadow: 0 4px 16px rgba(37,211,102,0.35);
}
.btn-whatsapp:hover { background: #1da851; transform: translateY(-2px); }

.btn-sm  { padding: 8px 18px; font-size: 0.8rem; }
.btn-lg  { padding: 16px 40px; font-size: 1rem; }
.btn-full{ width: 100%; }

/* ── BADGE ───────────────────────────────────────────────────────── */
.badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: var(--radio-pill);
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.6px;
}
.badge-rosa   { background: var(--rosa-suave);   color: var(--rosa-profundo); }
.badge-dorado { background: var(--dorado-claro); color: var(--dorado-oscuro); }
.badge-verde  { background: #d4f5e2;             color: #1a7a44; }

/* ── PRECIO ──────────────────────────────────────────────────────── */
.precio {
  font-family: var(--font-titulo);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--rosa-oscuro);
}
.precio-consultar { font-size: 0.88rem; color: var(--dorado); font-weight: 700; }

/* ── PRODUCT IMAGE PLACEHOLDER ───────────────────────────────────── */
.product-image {
  width: 100%;
  aspect-ratio: 1 / 1;
  background: var(--fondo-producto);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
  color: var(--rosa-medio);
  border-radius: var(--radio-md) var(--radio-md) 0 0;
  transition: var(--trans-lenta);
}
.product-image svg { opacity: 0.35; transition: var(--trans); }
.product-image img {
  width: 100%; height: 100%;
  object-fit: cover;
  position: absolute; inset: 0;
  transition: transform 0.5s ease;
}

/* ── OVERLAY GLOBAL ──────────────────────────────────────────────── */
.overlay-oscuro {
  position: fixed; inset: 0;
  background: rgba(45, 27, 46, 0.55);
  z-index: 300;
  opacity: 0; visibility: hidden;
  transition: var(--trans);
  backdrop-filter: blur(2px);
}
.overlay-oscuro.activo { opacity: 1; visibility: visible; }

/* ── UTILITIES ───────────────────────────────────────────────────── */
.text-center { text-align: center; }
.text-rosa   { color: var(--rosa-oscuro); }
.text-dorado { color: var(--dorado); }

.d-flex  { display: flex; }
.gap-1   { gap: 0.5rem; }
.gap-2   { gap: 1rem; }
.gap-3   { gap: 1.5rem; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }

.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }

/* Screen-reader only */
.sr-only {
  position: absolute; width: 1px; height: 1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap;
}

/* ── RESPONSIVE BASE ─────────────────────────────────────────────── */
@media (max-width: 768px) {
  .seccion { padding: 3rem 0; }
  .seccion-header { margin-bottom: 2rem; }
  body { padding-top: var(--total-top); }
}
@media (max-width: 480px) {
  :root { --navbar-h: 64px; --banner-h: 34px; }
}
@media (max-width: 768px) {
  :root { --navbar-h: 56px; --banner-h: 34px; }
}
