:root {
  --rosado: #f43f91;
  --rosado-pastel: #f7c8de;
  --celeste: #b9e0fa;
  --azul: #102d59;
  --blanco: #ffffff;
  --fondo: #fffafd;
}
html { scroll-behavior: smooth; }
body { font-family: Arial, Helvetica, sans-serif; background: var(--fondo); color: var(--azul); }
a { text-decoration: none; }
.fondo-portada { background: radial-gradient(ellipse at 5% 20%, #ffd5e8 0, transparent 45%), radial-gradient(ellipse at 95% 40%, #c8eaff 0, transparent 48%), #fff9fd; }
.menu-principal { margin: 0 auto; padding: 14px 0; background: rgba(255,255,255,.92); box-shadow: 0 4px 24px #102d5910; }
.marca { display: flex; align-items: center; gap: 10px; color: var(--azul); }
.logo-cs { max-height: 56px; max-width: 100px; object-fit: contain; }
.marca-texto { display: flex; flex-direction: column; font-size: 1.15rem; line-height: 1.15; font-weight: bold; }
.marca-texto strong { display: inline; font-size: 1rem; }
.marca-texto small { font-size: .68rem; font-weight: normal; margin-top: 5px; }
.navbar .nav-link { color: var(--azul); font-weight: 600; }
.navbar .nav-link:hover, .navbar .nav-link.active { color: var(--rosado); }
.hero { min-height: 480px; }
.bienvenida { font-size: 1.25rem; }
.hero h1 { font-size: clamp(2.7rem, 5vw, 4.7rem); font-weight: 800; line-height: 1.1; }
.hero h1 span, .seccion h2 em, .nosotros h2 em { color: var(--rosado); font-style: italic; }
.hero-descripcion { font-size: 1.17rem; max-width: 520px; }
.btn-rosa { background: var(--rosado); color: white; border: 2px solid var(--rosado); border-radius: 50px; padding: 10px 25px; font-weight: 600; }
.btn-rosa:hover, .btn-rosa:focus { background: #d92375; color: white; border-color: #d92375; }
.beneficios { display: flex; gap: 15px; flex-wrap: wrap; font-size: .82rem; }
.beneficios span { background: #ffffffb8; border-radius: 20px; padding: 10px 12px; }
.hero-imagen { min-height: 420px; position: relative; border-radius: 36px; background: linear-gradient(140deg, var(--rosado-pastel), var(--celeste)); display: flex; justify-content: center; align-items: center; overflow: hidden; box-shadow: 0 18px 40px #102d5920; }
.hero-imagen img {width: 100%;height: 100%;object-fit: cover;object-position: center;transform: scale(1.18) translateY(-12px);transform-origin: center center;}
.aviso-imagen { display: none; text-align: center; font-weight: 700; padding: 30px; }
.aviso-imagen small { display: block; font-weight: normal; margin-top: 10px; }
.hero-imagen.sin-imagen .aviso-imagen { display: block; }
.corazon-decorativo { position: absolute; right: 18px; top: 4px; font-size: 4rem; color: var(--rosado); }
.categorias { display: flex; justify-content: space-around; gap: 12px; flex-wrap: wrap; margin-top: 20px; background: white; border-radius: 28px; box-shadow: 0 8px 30px #102d590d; }
.categoria { flex: 1 1 150px; text-align: center; color: var(--azul); font-size: .91rem; font-weight: 600; }
.categoria span { display: block; width: 72px; height: 72px; margin: 0 auto 10px; padding: 18px 0; border-radius: 50%; background: var(--rosado-pastel); font-size: 1.8rem; }
.categoria:nth-child(even) span { background: var(--celeste); }
.categoria:hover { color: var(--rosado); }
.seccion h2, .nosotros h2 { text-align: center; font-size: clamp(1.8rem, 3vw, 2.6rem); font-weight: 800; }
.etiqueta-seccion { text-align: center; color: var(--rosado); font-weight: 600; }
.subtitulo { text-align: center; margin-bottom: 30px; }
.tarjeta { height: 100%; background: white; border: 1px solid #e5eaf6; border-radius: 22px; text-align: center; padding: 30px 22px; box-shadow: 0 8px 24px #102d590b; transition: transform .2s ease; }
.tarjeta:hover { transform: translateY(-4px); }
.tarjeta-icono { font-size: 3.2rem; margin-bottom: 16px; }
.tarjeta h3 { font-size: 1.25rem; font-weight: 700; }
.tarjeta p { min-height: 45px; }
.seccion-celeste { background: linear-gradient(125deg, #fce5f1, #e5f5ff); }
.nosotros p:not(.etiqueta-seccion) { max-width: 680px; margin: 18px auto; }
.pie-pagina { background: #111; color: #f4e5bd; }
.pie-pagina h2 { color: #d4af37; }
.pie-pagina hr { border-color: #d4af37; margin-top: 35px; }
@media (max-width: 767px) {
  .hero { padding-top: 35px !important; }
  .hero-imagen { min-height: 320px; }
  .hero-imagen img {transform: scale(1.08) translateY(-5px);}
  .marca-texto { font-size: .9rem; }
  .marca-texto strong { font-size: .84rem; }
  .logo-cs { max-height: 42px; max-width: 65px; }
  .beneficios { gap: 7px; }
  .beneficios span { font-size: .73rem; }
}


/* NAVBAR - ALTURA FIJA */
.navbar {
    height: 85px;
    min-height: 85px;
    padding: 0;
}

/* CONTENEDOR DEL LOGO */
.navbar-brand {
    position: relative;
    width: 190px;
    height: 85px;
    padding: 0;
    margin: 0;
    display: flex;
    align-items: center;
}

/* AGRANDAR SOLO EL LOGO */
.navbar-brand img {
    position: absolute;
    width: 230px;
    max-width: none;
    height: auto;
    max-height: none;
    object-fit: contain;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
}

/* VERSIÓN CELULAR */
@media (max-width: 768px) {
    .navbar-brand {
        width: 150px;
    }

    .navbar-brand img {
        width: 200px;
    }
}


/* TITULO ELEGANTE DE LA PORTADA */
.hero h1 {
    font-family: 'Great Vibes', cursive;
    font-size: clamp(3.5rem, 7vw, 6.5rem);
    font-weight: 400;
    line-height: 1.2;
    letter-spacing: 1px;
}

/* CONSERVAR EL COLOR ROSADO */
.hero h1 span {
    font-family: inherit;
    font-weight: inherit;
}

/* TITULO EN CELULARES */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 3.5rem;
    }
}


/* Fase 3: catálogo dinámico */
.tarjeta-catalogo { padding:0; overflow:hidden; text-align:left; }
.producto-media { display:block; width:100%; height:235px; object-fit:cover; background:linear-gradient(135deg,#f7c8de,#b9e0fa); }
.producto-vacio { display:flex; flex-direction:column; align-items:center; justify-content:center; font-size:4rem; }
.producto-vacio small { font-size:.85rem; }
.tarjeta-cuerpo { padding:23px; }
.tarjeta-cuerpo p { min-height:0; }
.precio { color:#f43f91; font-weight:800; font-size:1.4rem; }
.duracion { font-weight:600; }
.incluye { padding-left:20px; margin:12px 0; }
.incluye li { margin-bottom:5px; }
.tarjeta-catalogo details summary { cursor:pointer; font-weight:700; }
.panel-wrap { max-width:1020px; margin:auto; }
.panel-box { background:white; padding:22px; border:1px solid #e5eaf6; border-radius:20px; }
.panel-item { display:flex; justify-content:space-between; align-items:center; gap:12px; padding:12px 0; border-bottom:1px solid #eee; }
.panel-item:last-child { border:0; }

/* Fase 3.1: tarjetas compactas y panel de archivos */
.tarjeta-catalogo { border-radius: 16px; }
.tarjeta-catalogo .producto-media { height: 170px; }
.tarjeta-catalogo .tarjeta-cuerpo { padding: 13px; }
.tarjeta-catalogo h3 { font-size: 1rem; line-height: 1.3; }
.tarjeta-catalogo p { font-size: .85rem; margin-bottom: .55rem; }
.tarjeta-catalogo .precio { font-size: 1.1rem; }
.tarjeta-catalogo .btn { padding: 8px 9px; font-size: .78rem; }
.tarjeta-catalogo .incluye { font-size: .8rem; }
.tarjeta-catalogo details { font-size: .82rem; }
.panel-preview { max-width: 130px; max-height: 100px; object-fit: contain; border-radius: 10px; margin-top: 8px; }
@media(max-width:575px) { .tarjeta-catalogo .producto-media { height: 135px; } .tarjeta-catalogo .tarjeta-cuerpo { padding: 10px; } .tarjeta-catalogo .btn { font-size: .7rem; } }
