/* ============================================================
   PRESERVATIVOS AMOR - Estilos principales
   ============================================================ */

:root {
    --color-gold: #ceb19c;
    --color-gold-light: #dcbaa1;
    --color-gold-dark: #a28672;
    --color-brown: #b9560f;
    --color-red: #f1345d;
    --color-red-btn: #e83e5e;
    --color-dark: #192101;
    --color-text: #494949;
    --color-bg-gray: #ebebeb;
    --color-white: #ffffff;
    --font-heading: 'Cormorant Garamond', Georgia, serif;
    --font-body: 'Cormorant Garamond', Georgia, serif;
    --font-menu: 'Poppins', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--color-text);
    font-size: 21px;
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5 {
    font-family: var(--font-heading);
}

a {
    text-decoration: none;
    transition: color 0.3s ease;
}

/* ============================================================
   NAVBAR - Desktop
   ============================================================ */
.navbar-amor {
    background: var(--color-white);
    padding: 20px 30px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.03);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar-logo {
    display: block;
    margin: 0 30px;
}

.navbar-logo img {
    max-height: 65px;
    display: block;
}

.navbar-nav-custom {
    list-style: none;
    display: flex;
    margin: 0;
    padding: 0;
    gap: 0;
}

.nav-link-custom {
    font-family: var(--font-menu);
    font-weight: 600;
    font-size: 14px;
    color: var(--color-dark);
    text-transform: uppercase;
    padding: 8px 25px;
    letter-spacing: 0.5px;
    transition: background 0.3s ease, color 0.3s ease;
    border-radius: 4px;
    display: block;
    text-decoration: none;
}

.nav-link-custom:hover,
.nav-link-custom.active {
    background: rgba(226,129,129,0.77);
    color: #000;
}

/* Navbar - Mobile */
.navbar-amor .navbar-brand img {
    max-height: 50px;
}

.navbar-amor .nav-link {
    font-family: var(--font-menu);
    font-weight: 600;
    font-size: 14px;
    color: var(--color-dark) !important;
    text-transform: uppercase;
    padding: 12px 20px !important;
    letter-spacing: 0.5px;
    transition: background 0.3s ease, color 0.3s ease;
    border-radius: 4px;
}

.navbar-amor .nav-link:hover,
.navbar-amor .nav-link.active {
    background: rgba(226,129,129,0.77);
    color: #000 !important;
}

.navbar-amor .navbar-toggler {
    border: none;
    padding: 0;
}

.navbar-amor .navbar-toggler:focus {
    box-shadow: none;
}

/* ============================================================
   HERO
   ============================================================ */
.hero-section {
    background: url('../img/hero.jpg') center center / cover no-repeat;
    min-height: 825px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.15);
}

.hero-content {
    position: relative;
    z-index: 1;
    animation: fadeInUp 0.8s ease-out;
}

.hero-content h1 {
    color: var(--color-white);
    font-size: 40px;
    margin-bottom: 10px;
    text-shadow: 1px 1px 4px rgba(0,0,0,0.3);
}

.hero-content .hero-slogan {
    color: var(--color-white);
    font-family: var(--font-heading);
    font-size: 56px;
    font-weight: 400;
    margin-bottom: 30px;
    text-shadow: 1px 1px 4px rgba(0,0,0,0.3);
}

.btn-amor {
    background: var(--color-red-btn);
    color: var(--color-white);
    font-family: var(--font-menu);
    font-weight: 600;
    font-size: 13px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 14px 35px;
    border: none;
    border-radius: 0;
    transition: background 0.3s ease;
}

.btn-amor:hover {
    background: #d12f4d;
    color: var(--color-white);
}

/* ============================================================
   SECCIONES - Elementos comunes
   ============================================================ */
.section-subtitle {
    color: var(--color-gold);
    font-family: var(--font-heading);
    font-style: italic;
    font-size: 30px;
    line-height: 36px;
    text-align: center;
    margin-bottom: 0;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 54px;
    text-align: center;
    margin-top: 5px;
    margin-bottom: 15px;
    color: #333;
}

.section-divider {
    width: 80px;
    height: 1px;
    background: var(--color-gold-light);
    margin: 0 auto 25px;
}

.section-divider-red {
    width: 80px;
    height: 1px;
    background: #ff0000;
    margin: 0 auto 25px;
}

/* ============================================================
   EMPRESA
   ============================================================ */
.section-empresa {
    padding: 40px 0 60px;
    background: url('../img/intro-bg.jpg') center bottom repeat-x var(--color-white);
}

.empresa-intro-icon {
    text-align: center;
    margin-bottom: 10px;
}

.empresa-intro-icon img {
    width: 50px;
}

.empresa-sub-title {
    color: var(--color-brown);
    font-family: var(--font-heading);
    font-style: italic;
    font-size: 30px;
    text-align: center;
    margin-bottom: 0;
}

.empresa-name {
    font-family: var(--font-heading);
    font-size: 40px;
    text-align: center;
    margin-top: 5px;
    margin-bottom: 5px;
}

.empresa-address {
    text-align: center;
    color: #3d3c3c;
    font-size: 21px;
    line-height: 30px;
}

.empresa-desc {
    text-align: center;
    padding: 0 12%;
    margin-bottom: 10px;
}

/* ============================================================
   PRODUCTOS
   ============================================================ */
.section-productos {
    padding: 70px 0 60px;
    background: var(--color-bg-gray) url('../img/stylist-bg.jpg') center bottom repeat-x;
}

.producto-card {
    background: var(--color-white);
    border-radius: 0;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    height: 100%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.producto-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

.producto-card img {
    width: 100%;
    display: block;
}

.producto-card .card-body {
    padding: 0 30px 30px;
}

.producto-tipo {
    font-family: var(--font-menu);
    font-weight: 400;
    font-size: 16px;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #000;
    margin-bottom: 0;
}

.producto-nombre {
    font-family: var(--font-heading);
    font-size: 28px;
    font-weight: 700;
    margin-top: 8px;
    margin-bottom: 15px;
}

.producto-desc {
    font-size: 19px;
    line-height: 1.5;
}

.producto-packs {
    font-size: 19px;
}

/* Colores por producto */
.color-wild-dreams { color: #a4333a; }
.color-rose { color: #013587; }
.color-thin { color: #93877c; }
.color-long-love { color: #9d6f40; }
.color-fruit { color: #00a274; }
.color-wild-love { color: #88775c; }
.color-strong { color: #e7b103; }
.color-xxl { color: #ff4e00; }

/* ============================================================
   CALIDAD
   ============================================================ */
.section-calidad {
    padding: 70px 0 50px;
    background: var(--color-white);
}

.calidad-images {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-top: 30px;
}

.calidad-img-wrapper {
    flex: 1;
    max-width: 320px;
    overflow: hidden;
    border-radius: 4px;
}

.calidad-img-wrapper img {
    width: 100%;
    display: block;
    transition: transform 0.4s ease;
}

.calidad-img-wrapper:hover img {
    transform: scale(1.05);
}

/* ============================================================
   PRECIOS
   ============================================================ */
.section-precios {
    padding: 70px 0 50px;
    background: var(--color-white);
}

.precios-pack-title {
    font-family: var(--font-heading);
    font-size: 40px;
    text-align: center;
    margin-bottom: 20px;
}

.precio-table {
    width: 100%;
    background: #f1f1f1;
    border-collapse: collapse;
}

.precio-table td {
    padding: 10px 20px;
    border: none;
}

.precio-table .producto-nombre-precio {
    color: var(--color-gold-dark);
    text-align: left;
}

.precio-table .producto-dots {
    text-align: center;
    color: #ccc;
    letter-spacing: 3px;
}

.precio-table .producto-precio {
    text-align: right;
    font-weight: 500;
    color: #000;
}

/* ============================================================
   CONTACTO
   ============================================================ */
.section-contacto {
    padding: 70px 0 60px;
    background: var(--color-white) url('../img/booking-bg.png') center top repeat-x;
}

.contacto-info {
    text-align: center;
    color: var(--color-gold);
    line-height: 1.8;
}

.contacto-info a {
    color: var(--color-gold);
}

.contacto-info a:hover {
    color: var(--color-gold-dark);
}

/* Botón WhatsApp en sección contacto */
.btn-whatsapp-contacto {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: #25D366;
    color: #fff;
    font-family: var(--font-menu);
    font-weight: 600;
    font-size: 18px;
    padding: 16px 40px;
    border-radius: 50px;
    border: none;
    transition: background 0.3s ease, transform 0.2s ease;
    text-decoration: none;
}

.btn-whatsapp-contacto:hover {
    background: #1fb855;
    color: #fff;
    transform: scale(1.03);
}

.btn-whatsapp-contacto i {
    font-size: 26px;
}

/* Redes sociales */
.social-icons {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 15px;
}

.social-icons a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--color-white);
    color: #f90c0c;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    transition: transform 0.3s ease, background 0.3s ease;
}

.social-icons a:hover {
    transform: scale(1.1);
    background: #f5f5f5;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer-amor {
    background: var(--color-white);
    padding: 15px 0;
    text-align: center;
    font-size: 14px;
    color: var(--color-gold);
    border-top: 1px solid #eee;
}

/* ============================================================
   WHATSAPP FLOTANTE
   ============================================================ */
.whatsapp-float {
    position: fixed;
    bottom: 25px;
    right: 25px;
    width: 60px;
    height: 60px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    box-shadow: 0 4px 15px rgba(37,211,102,0.4);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-decoration: none;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 25px rgba(37,211,102,0.5);
}

.whatsapp-float svg {
    width: 32px;
    height: 32px;
    fill: #fff;
}

/* Pulso animado */
.whatsapp-float::before {
    content: '';
    position: absolute;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #25D366;
    opacity: 0;
    animation: whatsappPulse 2s ease-out infinite;
}

@keyframes whatsappPulse {
    0% {
        transform: scale(1);
        opacity: 0.5;
    }
    100% {
        transform: scale(1.6);
        opacity: 0;
    }
}

/* ============================================================
   BACK TO TOP
   ============================================================ */
.back-to-top {
    position: fixed;
    bottom: 100px;
    right: 30px;
    width: 45px;
    height: 45px;
    background: var(--color-gold);
    color: var(--color-white);
    border: none;
    border-radius: 50%;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    cursor: pointer;
    z-index: 998;
    transition: background 0.3s ease, opacity 0.3s ease;
    opacity: 0;
}

.back-to-top.show {
    display: flex;
    opacity: 1;
}

.back-to-top:hover {
    background: var(--color-gold-dark);
}

/* ============================================================
   ANIMATIONS
   ============================================================ */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 991px) {
    .hero-section {
        min-height: 500px;
    }

    .hero-content .hero-slogan {
        font-size: 38px;
    }

    .hero-content h1 {
        font-size: 28px;
    }

    .section-title {
        font-size: 42px;
    }

    .calidad-images {
        flex-wrap: wrap;
    }
}

@media (max-width: 767px) {
    body {
        font-size: 18px;
    }

    .navbar-amor {
        padding: 15px;
    }

    .hero-section {
        min-height: 400px;
    }

    .hero-content .hero-slogan {
        font-size: 30px;
    }

    .hero-content h1 {
        font-size: 22px;
    }

    .section-title {
        font-size: 36px;
    }

    .section-subtitle {
        font-size: 24px;
    }

    .empresa-sub-title {
        font-size: 24px;
    }

    .empresa-name {
        font-size: 32px;
    }

    .empresa-desc {
        padding: 0 5%;
    }

    .section-productos {
        padding: 50px 0 40px;
    }

    .producto-card {
        max-width: 350px;
        margin: 0 auto;
    }

    .precios-pack-title {
        font-size: 32px;
    }

    .btn-whatsapp-contacto {
        font-size: 16px;
        padding: 14px 30px;
    }

    .whatsapp-float {
        bottom: 20px;
        right: 20px;
        width: 55px;
        height: 55px;
    }

    .whatsapp-float::before {
        width: 55px;
        height: 55px;
    }

    .back-to-top {
        bottom: 90px;
        right: 25px;
    }

    /* FIX: Calidad - imágenes en columna única en mobile */
    .calidad-images {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }

    .calidad-img-wrapper {
        max-width: 280px;
        width: 100%;
    }

    /* FIX: Imagen empresa no desborda */
    .section-empresa img.img-fluid {
        max-width: 100% !important;
        height: auto;
    }

    /* FIX: Tabla precios - ocultar dots en mobile */
    .precio-table .producto-dots {
        display: none;
    }

    .precio-table td {
        padding: 8px 12px;
    }

    /* FIX: Productos - 1 columna en pantallas < 576px ya lo maneja BS,
       pero forzar que las cards no se aprieten en 2 columnas */
    .section-productos .row.g-4 {
        padding-left: 10px !important;
        padding-right: 10px !important;
    }
}

/* FIX: Pantallas muy chicas (< 400px) */
@media (max-width: 400px) {
    .hero-content .hero-slogan {
        font-size: 26px;
    }

    .hero-content h1 {
        font-size: 19px;
    }

    .section-title {
        font-size: 30px;
    }

    .producto-card .card-body {
        padding: 0 15px 20px;
    }

    .producto-desc {
        font-size: 16px;
    }
}

#faqAccordion .accordion-button {
    font-size: 21px;
}

.precio-table .producto-precio {
    white-space: nowrap;
}