/* Fide's Bliss - Single Page Styles */

/* Variables CSS */
:root {
    --color-chocolate: #4E342E;
    --color-dorado: #C8A165;
    --color-rosa: #eb8181;
    --color-blanco: #FFFFFF;
    --color-gris: #F5F5F5;
    --color-gris-texto: #666666;
    --color-negro: #333333;
    --color-whatsapp: #25D366;
    
    --font-dancing: 'Dancing Script', cursive;
    --font-roboto: 'Roboto', sans-serif;
    
    --shadow-light: 0 2px 4px rgba(0,0,0,0.1);
    --shadow-medium: 0 4px 8px rgba(0,0,0,0.15);
    --shadow-heavy: 0 8px 24px rgba(0,0,0,0.2);
    
    --border-radius: 8px;
    --transition: all 0.3s ease;
    
    --container-width: 1200px;
}

/* Reset y Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-roboto);
    line-height: 1.6;
    color: var(--color-negro);
    background-color: var(--color-blanco);
    scroll-behavior: smooth;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* Utilidades */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border: none;
    border-radius: var(--border-radius);
    text-decoration: none;
    font-family: var(--font-roboto);
    font-weight: 500;
    font-size: 16px;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
    line-height: 1.4;
}

.btn-primary {
    background: linear-gradient(135deg, var(--color-rosa), #d16565);
    color: var(--color-blanco);
    box-shadow: var(--shadow-medium);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #d16565, var(--color-rosa));
    transform: translateY(-2px);
    box-shadow: var(--shadow-heavy);
}

.btn-secondary {
    background: var(--color-blanco);
    color: var(--color-chocolate);
    border: 2px solid var(--color-chocolate);
    box-shadow: var(--shadow-light);
}

.btn-secondary:hover {
    background: var(--color-chocolate);
    color: var(--color-blanco);
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

.btn-whatsapp {
    background: linear-gradient(135deg, var(--color-rosa), #d16565);
    color: white !important;
    box-shadow: 0 4px 12px rgba(235, 129, 129, 0.4);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
    border: none;
    white-space: nowrap;
    text-shadow: none;
}

.btn-whatsapp:hover {
    background: linear-gradient(135deg, #e98888, #d16565);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(235, 129, 129, 0.5);
    text-decoration: none;
    color: white !important;
}

.btn-full {
    width: 100%;
}

.btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none !important;
}

.btn:disabled:hover {
    transform: none;
}

/* Cards */
.card {
    background: var(--color-blanco);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-medium);
    overflow: hidden;
    transition: var(--transition);
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-heavy);
}

.card-body {
    padding: 24px;
}

.card-icon {
    text-align: center;
    margin-bottom: 16px;
}

.icon-circle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--color-blanco);
    font-size: 24px;
    background: linear-gradient(135deg, var(--color-rosa), #d16565);
}

.icon-circle.primary {
    background: linear-gradient(135deg, var(--color-chocolate), #3E2723);
}

.icon-circle.secondary {
    background: linear-gradient(135deg, var(--color-dorado), #B8860B);
}

.icon-circle.accent {
    background: linear-gradient(135deg, var(--color-rosa), #d16565);
}

.icon-circle.whatsapp {
    background: linear-gradient(135deg, var(--color-whatsapp), #128C7E);
}

/* Secciones */
.section {
    padding: 80px 0;
}

.section.bg-light {
    background-color: var(--color-gris);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-family: var(--font-dancing);
    font-size: 3rem;
    font-weight: 700;
    color: var(--color-chocolate);
    margin-bottom: 16px;
}

.section-subtitle {
    font-size: 1.25rem;
    color: var(--color-gris-texto);
    max-width: 600px;
    margin: 0 auto;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    transition: var(--transition);
    box-shadow: var(--shadow-light);
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow-medium);
}

.navbar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
}

.navbar-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: var(--color-chocolate);
    font-family: var(--font-dancing);
    font-size: 2.2rem;
    font-weight: 700;
    transition: all 0.3s ease;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    letter-spacing: 0.5px;
}

.navbar-logo:hover {
    transform: scale(1.05);
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.5);
    color: #654321;
}

.navbar-logo span {
    color: #8B4513;
    font-size: 2.2rem;
    font-weight: 800;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.navbar-logo img {
    width: 55px;
    height: 55px;
    margin-right: 15px;
    border-radius: 50%;
    border: 3px solid var(--color-chocolate);
    box-shadow: 0 4px 12px rgba(139, 69, 19, 0.3);
    transition: all 0.3s ease;
    background: white;
    padding: 3px;
}

.navbar-logo img:hover {
    box-shadow: 0 6px 20px rgba(139, 69, 19, 0.5);
    border-color: var(--color-gold);
}

.navbar-nav {
    display: flex;
    list-style: none;
    gap: 8px;
}

.navbar-nav li {
    border-radius: 8px;
    transition: all 0.3s ease;
}

.nav-link {
    text-decoration: none;
    color: var(--color-chocolate);
    font-weight: 500;
    font-size: 16px;
    transition: var(--transition);
    position: relative;
    padding: 12px 16px;
    border-radius: 8px;
    border: 2px solid transparent;
    display: block;
}

.nav-link:hover,
.nav-link.active {
    color: var(--color-rosa);
    border-color: var(--color-chocolate);
    background: rgba(139, 69, 19, 0.05);
    box-shadow: 0 2px 8px rgba(139, 69, 19, 0.15);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-rosa);
    transition: var(--transition);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.navbar-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--color-chocolate);
    font-size: 28px;
    cursor: pointer;
    padding: 8px;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.navbar-toggle:hover {
    background: rgba(139, 69, 19, 0.1);
    transform: scale(1.1);
}

.navbar-toggle:active {
    transform: scale(0.95);
}

/* Dropdown Navigation */
.dropdown {
    position: relative;
}

.dropdown-toggle::after {
    content: '';
    margin-left: 0px;
    font-size: 0px;
    transition: transform 0.3s ease;
}

.dropdown:hover .dropdown-toggle::after {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(252, 248, 248, 0.95));
    min-width: 220px;
    box-shadow: 0 6px 25px rgba(235, 129, 129, 0.15);
    border-radius: 12px;
    padding: 12px 0;
    list-style: none;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
    border: 1px solid rgba(235, 129, 129, 0.2);
    backdrop-filter: blur(10px);
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li {
    margin: 0;
}

.dropdown-menu a {
    display: block;
    padding: 14px 16px 14px 32px;
    color: var(--color-chocolate);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    border-radius: 0;
    margin: 2px 8px;
    border-radius: 8px;
    position: relative;
    background: linear-gradient(135deg, rgba(235, 129, 129, 0.05), rgba(209, 101, 101, 0.1));
    border-left: 3px solid transparent;
}

.dropdown-menu a:hover {
    background: linear-gradient(135deg, rgba(235, 129, 129, 0.15), rgba(209, 101, 101, 0.25));
    color: var(--color-rosa);
    padding-left: 40px;
    border-left: 3px solid var(--color-rosa);
    box-shadow: 0 2px 8px rgba(235, 129, 129, 0.2);
    transform: translateX(4px);
}

.dropdown-menu a::after {
    display: none;
}

/* Hero Section */
.hero {
    height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        var(--color-chocolate) 0%, 
        #5D4037 50%, 
        var(--color-dorado) 100%);
    z-index: 1;
}

.hero-background::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="chocolate" patternUnits="userSpaceOnUse" width="20" height="20"><rect width="20" height="20" fill="none"/><circle cx="10" cy="10" r="2" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23chocolate)"/></svg>');
    opacity: 0.3;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    color: var(--color-blanco);
}

.hero-title {
    font-family: var(--font-dancing);
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 16px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 32px;
    opacity: 0.9;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

.hero-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
}

.scroll-arrow {
    width: 30px;
    height: 30px;
    border: 2px solid var(--color-blanco);
    border-radius: 50%;
    position: relative;
    animation: bounce 2s infinite;
}

.scroll-arrow::after {
    content: '';
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 6px;
    height: 6px;
    border-right: 2px solid var(--color-blanco);
    border-bottom: 2px solid var(--color-blanco);
    transform: translateX(-50%) rotate(45deg);
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-10px);
    }
    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

/* Productos */
.productos-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

/* Grid específico para BlissBox - mantiene 4 columnas en pantallas grandes */
.blissbox-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    max-width: 1400px;
}

.producto-card {
    transition: var(--transition);
}

.producto-card .card {
    height: 100%;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.card-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(78, 52, 46, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.card-overlay .material-icons {
    color: var(--color-blanco);
    font-size: 48px;
}

.producto-card:hover .card-image img {
    transform: scale(1.1);
}

.producto-card:hover .card-overlay {
    opacity: 1;
}

.producto-card .card-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 24px;
}

.producto-card .card-body h3 {
    font-family: var(--font-dancing);
    font-size: 2rem;
    color: var(--color-chocolate);
    margin-bottom: 12px;
    text-align: center;
}

.producto-card .card-body p {
    color: var(--color-gris-texto);
    line-height: 1.6;
    margin-bottom: 20px;
    flex: 1;
    text-align: center;
}

.producto-card .card-body .btn {
    align-self: center;
    width: fit-content;
    min-width: 120px;
}

/* Categorías de Chocolates */
.chocolates-category {
    margin-bottom: 4rem;
}

.category-title {
    font-family: 'Dancing Script', cursive;
    font-size: 2.5rem;
    color: var(--color-chocolate);
    text-align: center;
    margin-bottom: 2rem;
    font-weight: 700;
    position: relative;
}

.category-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--color-rosa), var(--color-dorado));
    border-radius: 2px;
}

.btn-whatsapp.btn-small {
    padding: 0.6rem 1.2rem;
    font-size: 0.85rem;
}

.chocolates-category .productos-grid {
    margin-top: 2rem;
}

/* Responsive design para productos */
@media (max-width: 1024px) {
    .productos-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .productos-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
}

@media (max-width: 480px) {
    .productos-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
}

/* Hero pequeño para páginas internas */
.hero-small {
    height: 60vh;
    min-height: 400px;
}

/* Intro content */
.intro-content {
    max-width: 800px;
    margin: 0 auto;
}

.intro-content .card-body h2 {
    font-family: var(--font-dancing);
    font-size: 2rem;
    color: var(--color-chocolate);
    margin-bottom: 20px;
    text-align: center;
}

.intro-content .card-body p {
    color: var(--color-gris-texto);
    line-height: 1.8;
    margin-bottom: 16px;
    text-align: center;
}

/* Precio en tarjetas de productos */
.precio {
    display: block;
    font-weight: 700;
    color: var(--color-rosa);
    font-size: 1.1rem;
    text-align: center;
    margin-top: 12px;
}

/* CTA Cards */
.cta-content {
    max-width: 700px;
    margin: 0 auto;
}

.cta-card {
    background: linear-gradient(135deg, var(--color-rosa), #d16565);
    color: var(--color-blanco);
}

.cta-card .card-body h2 {
    font-family: var(--font-dancing);
    font-size: 2rem;
    margin-bottom: 16px;
    text-align: center;
}

.cta-card .card-body p {
    font-size: 1.1rem;
    margin-bottom: 24px;
    text-align: center;
    opacity: 0.9;
}

.cta-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-buttons .btn {
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Características grid para Bliss Box */
.caracteristicas-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    max-width: 1400px;
    margin: 0 auto;
    align-items: stretch;
}

.caracteristica-card {
    height: 100%;
}

.caracteristica-card .card {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.caracteristica-card .card-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.caracteristica-card .card-body h4 {
    font-size: 1.25rem;
    color: var(--color-chocolate);
    margin-bottom: 12px;
    text-align: center;
}

.caracteristica-card .card-body p {
    color: var(--color-gris-texto);
    text-align: center;
    line-height: 1.6;
}

/* Servicios grid para postres */
.servicios-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    max-width: 900px;
    margin: 0 auto;
}

.servicio-card .card-body h4 {
    font-size: 1.25rem;
    color: var(--color-chocolate);
    margin-bottom: 12px;
    text-align: center;
}

.servicio-card .card-body p {
    color: var(--color-gris-texto);
    text-align: center;
    line-height: 1.6;
}

/* Tarjeta de servicio destacada */
.featured-service {
    position: relative;
    transform: scale(1.02);
    z-index: 2;
}

.featured-service .card {
    background: linear-gradient(135deg, var(--color-rosa) 0%, rgba(255,255,255,0.95) 100%);
    border: 2px solid var(--color-dorado);
    box-shadow: 0 8px 30px rgba(78, 52, 46, 0.15), 0 4px 15px rgba(255, 182, 193, 0.3);
    animation: gentle-pulse 3s ease-in-out infinite;
}

.featured-service .card-icon .icon-circle {
    background: linear-gradient(135deg, var(--color-dorado), #FFD700);
    transform: scale(1.1);
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.4);
    animation: icon-glow 2s ease-in-out infinite alternate;
}

.featured-service .card-body h4 {
    color: var(--color-chocolate);
    font-weight: 700;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.1);
    font-size: 1.4rem;
}

.featured-service .card-body p {
    color: var(--color-chocolate);
    font-weight: 500;
}

.feature-badge {
    position: absolute;
    top: -8px;
    right: -8px;
    background: linear-gradient(135deg, #FF4081, #E91E63);
    color: white;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    box-shadow: 0 2px 8px rgba(233, 30, 99, 0.4);
    animation: badge-bounce 2s ease-in-out infinite;
}

.featured-service:hover {
    transform: scale(1.05);
}

.featured-service:hover .card {
    box-shadow: 0 12px 40px rgba(78, 52, 46, 0.2), 0 6px 20px rgba(255, 182, 193, 0.4);
}

/* Animaciones */
@keyframes gentle-pulse {
    0%, 100% { 
        box-shadow: 0 8px 30px rgba(78, 52, 46, 0.15), 0 4px 15px rgba(255, 182, 193, 0.3);
    }
    50% { 
        box-shadow: 0 12px 35px rgba(78, 52, 46, 0.2), 0 6px 20px rgba(255, 182, 193, 0.5);
    }
}

@keyframes icon-glow {
    0% { 
        box-shadow: 0 4px 15px rgba(255, 215, 0, 0.4);
    }
    100% { 
        box-shadow: 0 6px 20px rgba(255, 215, 0, 0.6);
    }
}

@keyframes badge-bounce {
    0%, 100% { 
        transform: translateY(0);
    }
    50% { 
        transform: translateY(-3px);
    }
}

/* Eventos grid para mesas */
.eventos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.evento-card .card {
    height: 100%;
}

.evento-card .card-body h3 {
    font-family: var(--font-dancing);
    font-size: 1.5rem;
    color: var(--color-chocolate);
    margin-bottom: 16px;
    text-align: center;
}

.evento-card .card-body p {
    color: var(--color-gris-texto);
    margin-bottom: 16px;
    text-align: center;
}

.servicios-lista {
    list-style: none;
    padding: 0;
}

.servicios-lista li {
    padding: 6px 0;
    color: var(--color-gris-texto);
    position: relative;
    padding-left: 20px;
}

.servicios-lista li:before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--color-rosa);
    font-weight: bold;
}

/* Paquetes para mesas */
.paquetes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
}

.paquete-card {
    position: relative;
}

.paquete-card.featured .card {
    border: 3px solid var(--color-rosa);
    transform: scale(1.05);
}

.badge-popular {
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--color-rosa);
    color: var(--color-blanco);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
    z-index: 10;
}

.paquete-card .card-body h3 {
    font-family: var(--font-dancing);
    font-size: 1.8rem;
    color: var(--color-chocolate);
    margin-bottom: 16px;
    text-align: center;
}

.precio-paquete {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-rosa);
    text-align: center;
    margin-bottom: 12px;
}

.descripcion-paquete {
    color: var(--color-gris-texto);
    text-align: center;
    margin-bottom: 20px;
    font-style: italic;
}

.incluye-lista {
    list-style: none;
    padding: 0;
}

.incluye-lista li {
    padding: 8px 0;
    color: var(--color-gris-texto);
    position: relative;
    padding-left: 24px;
}

.incluye-lista li:before {
    content: '●';
    position: absolute;
    left: 0;
    color: var(--color-dorado);
    font-weight: bold;
}

/* Quiénes Somos */
.about-content {
    max-width: 1000px;
    margin: 0 auto;
}

.about-main-card {
    margin-bottom: 40px;
}

.about-main-card .card-body h3 {
    font-family: var(--font-dancing);
    font-size: 2rem;
    color: var(--color-chocolate);
    margin-bottom: 20px;
    text-align: center;
}

.about-main-card .card-body p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--color-gris-texto);
    margin-bottom: 16px;
    text-align: center;
}

.about-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    align-items: stretch;
}

.about-card {
    display: flex;
    height: 100%;
}

.about-card .card {
    display: flex;
    flex-direction: column;
    height: 100%;
    width: 100%;
}

.about-card .card-body {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    justify-content: center;
    padding: 1.5rem;
}

.about-card .card-body h4 {
    font-size: 1.25rem;
    color: var(--color-chocolate);
    margin-bottom: 12px;
    text-align: center;
}

.about-card .card-body p {
    color: var(--color-gris-texto);
    text-align: center;
    line-height: 1.6;
}

/* Visión */
.vision-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
}

.vision-card .card-body h3 {
    font-size: 1.5rem;
    color: var(--color-chocolate);
    margin-bottom: 16px;
    text-align: center;
}

.vision-card .card-body p {
    color: var(--color-gris-texto);
    text-align: center;
    line-height: 1.6;
}

/* Valores en una sola tarjeta */
.vision-content {
    max-width: 800px;
    margin: 0 auto;
}

.vision-main-card .card-body {
    padding: 2rem;
}

.valores-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.valor-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem;
    border-radius: var(--border-radius);
    background: var(--color-gris);
    transition: var(--transition);
}

.valor-item:hover {
    transform: translateX(5px);
    box-shadow: var(--shadow-light);
}

.valor-icon {
    font-size: 1.5rem;
    min-width: 40px;
    text-align: center;
}

.valor-content h4 {
    font-weight: 600;
    color: var(--color-chocolate);
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.valor-content p {
    color: var(--color-gris-texto);
    margin: 0;
    line-height: 1.5;
}

/* Divider styles */
.divider {
    border: none;
    height: 1px;
    background: linear-gradient(to right, transparent, var(--color-gris), transparent);
    margin: 60px 0;
    opacity: 0.5;
}

/* Family photo styles */
.family-photo {
    animation: fadeInUp 0.8s ease-out;
}

.family-photo .photo-container {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.family-photo .photo-container:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

/* Profile avatar styles */
.profile-avatar .avatar-container {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    animation: fadeInDown 0.8s ease-out;
}

.profile-avatar .avatar-container:hover {
    transform: scale(1.05);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
}

/* Responsive para foto familiar */
@media (max-width: 768px) {
    .family-photo .photo-container {
        max-width: 300px;
    }
    
    .profile-avatar .avatar-container {
        width: 100px;
        height: 100px;
    }
}

@media (max-width: 480px) {
    .family-photo .photo-container {
        max-width: 250px;
    }
    
    .family-photo p {
        font-size: 0.9rem;
        margin-top: 1rem;
    }
    
    .profile-avatar .avatar-container {
        width: 80px;
        height: 80px;
        border-width: 3px;
    }
}

/* Contacto */
.contact-content {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.contact-cards-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

/* Nueva tarjeta consolidada de contacto */
.contact-info-card .card-body h3 {
    font-family: var(--font-dancing);
    font-size: 1.6rem;
    color: var(--color-chocolate);
    margin-bottom: 16px;
    text-align: center;
}

.contact-info-grid {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.contact-info-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 12px;
    padding: 20px 12px;
    border-radius: var(--border-radius);
    background: var(--color-gris);
    transition: var(--transition);
}

.contact-info-item:hover {
    transform: translateX(5px);
    box-shadow: var(--shadow-light);
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--color-rosa), #d16565);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-blanco);
    flex-shrink: 0;
    margin: 0 auto 12px auto;
}

.contact-details {
    text-align: center;
}

.contact-details h4 {
    font-weight: 600;
    color: var(--color-chocolate);
    margin-bottom: 8px;
    font-size: 1.1rem;
}

.contact-details p {
    color: var(--color-gris-texto);
    margin-bottom: 12px;
    font-size: 0.95rem;
}

.btn-small {
    padding: 8px 16px;
    font-size: 0.9rem;
}

.text-muted {
    color: var(--color-gris-texto);
    font-style: italic;
    font-size: 0.9rem;
}

.contact-options {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.contact-card .card-body h4 {
    font-size: 1.25rem;
    color: var(--color-chocolate);
    margin-bottom: 8px;
    text-align: center;
}

.contact-card .card-body p {
    color: var(--color-gris-texto);
    margin-bottom: 16px;
    text-align: center;
}

.contact-form-container .card-body h3 {
    font-family: var(--font-dancing);
    font-size: 2rem;
    color: var(--color-chocolate);
    margin-bottom: 24px;
    text-align: center;
}

/* Formulario */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-weight: 500;
    color: var(--color-chocolate);
    margin-bottom: 8px;
    font-size: 14px;
}

.form-group input,
.form-group textarea {
    padding: 12px 16px;
    border: 2px solid #E0E0E0;
    border-radius: var(--border-radius);
    font-family: var(--font-roboto);
    font-size: 16px;
    transition: var(--transition);
    background-color: var(--color-blanco);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-rosa);
    box-shadow: 0 0 0 3px rgba(233, 30, 99, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

/* Footer */
.footer {
    background: var(--color-chocolate);
    color: var(--color-blanco);
    padding: 40px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 30px;
}

.footer-brand {
    text-align: center;
}

.footer-logo {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin-bottom: 20px;
    border: 4px solid var(--color-chocolate);
    box-shadow: 0 6px 20px rgba(139, 69, 19, 0.4);
    transition: all 0.3s ease;
    background: white;
    padding: 4px;
}

.footer-logo:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 25px rgba(139, 69, 19, 0.6);
    border-color: var(--color-gold);
}

.footer-brand h4 {
    font-family: var(--font-dancing);
    font-size: 1.5rem;
    margin-bottom: 8px;
}

.footer-brand p {
    opacity: 0.8;
    font-style: italic;
}

.footer-nav h5,
.footer-social h5 {
    margin-bottom: 16px;
    font-size: 1.1rem;
}

.footer-nav ul {
    list-style: none;
}

.footer-nav ul li {
    margin-bottom: 8px;
}

.footer-nav ul li a {
    color: var(--color-blanco);
    text-decoration: none;
    opacity: 0.8;
    transition: var(--transition);
}

.footer-nav ul li a:hover {
    opacity: 1;
    color: var(--color-dorado);
}

.social-links {
    display: flex;
    gap: 16px;
    justify-content: center;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-blanco);
    text-decoration: none;
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--color-dorado);
    transform: translateY(-2px);
}

/* Colores específicos para cada red social */
.social-facebook:hover {
    background: #1877F2 !important;
}

.social-instagram:hover {
    background: linear-gradient(45deg, #f09433 0%,#e6683c 25%,#dc2743 50%,#cc2366 75%,#bc1888 100%) !important;
}

.social-whatsapp:hover {
    background: #25D366 !important;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    opacity: 0.8;
    font-size: 14px;
}

/* WhatsApp Float Button */
#whatsapp-float {
    position: fixed;
    top: 150px;
    right: 20px;
    z-index: 1000;
}

/* Carrito flotante */
#cart-float {
    position: fixed;
    top: 80px;
    right: 20px;
    z-index: 1000;
}

#cart-button {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--color-chocolate), #8B4513);
    color: white;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(139, 69, 19, 0.3);
    transition: all 0.3s ease;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

#cart-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(139, 69, 19, 0.4);
}

.cart-count {
    position: absolute;
    top: -5px;
    right: -5px;
    background: var(--color-rosa);
    color: white;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: bold;
    opacity: 0;
    transform: scale(0);
    transition: all 0.3s ease;
}

.cart-count.show {
    opacity: 1;
    transform: scale(1);
}

.cart-tooltip {
    position: absolute;
    top: 70px;
    right: 0;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 0.9rem;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    pointer-events: none;
}

#cart-button:hover .cart-tooltip {
    opacity: 1;
    visibility: visible;
}

#whatsapp-float a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: var(--color-whatsapp);
    border-radius: 50%;
    color: var(--color-blanco);
    text-decoration: none;
    box-shadow: var(--shadow-heavy);
    transition: var(--transition);
    position: relative;
}

#whatsapp-float a:hover {
    background: #128C7E;
    transform: scale(1.1);
    box-shadow: 0 8px 30px rgba(37, 211, 102, 0.4);
}

#whatsapp-float svg {
    width: 28px;
    height: 28px;
}

.whatsapp-tooltip {
    position: absolute;
    right: 70px;
    top: 50%;
    transform: translateY(-50%);
    background: var(--color-negro);
    color: var(--color-blanco);
    padding: 8px 12px;
    border-radius: var(--border-radius);
    font-size: 14px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition);
}

.whatsapp-tooltip::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 100%;
    transform: translateY(-50%);
    border: 6px solid transparent;
    border-left-color: var(--color-negro);
}

#whatsapp-float a:hover .whatsapp-tooltip {
    opacity: 1;
}

/* ============================================
   WHATSAPP ICON
   ============================================ */

/* Ícono de WhatsApp limpio y simple */
.whatsapp-chocolate {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    position: relative;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    border-radius: 50%;
    background: linear-gradient(145deg, #25D366 0%, #22C55E 100%);
    box-shadow: 
        0 4px 12px rgba(37, 211, 102, 0.3),
        0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Logo de WhatsApp */
.whatsapp-chocolate .whatsapp-logo {
    position: relative;
    width: 26px;
    height: 26px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M17.472 14.382c-.297-.149-1.758-.867-2.03-.967-.273-.099-.471-.148-.67.15-.197.297-.767.966-.94 1.164-.173.199-.347.223-.644.075-.297-.15-1.255-.463-2.39-1.475-.883-.788-1.48-1.761-1.653-2.059-.173-.297-.018-.458.13-.606.134-.133.298-.347.446-.52.149-.174.198-.298.298-.497.099-.198.05-.371-.025-.52-.075-.149-.669-1.612-.916-2.207-.242-.579-.487-.5-.669-.51-.173-.008-.371-.01-.57-.01-.198 0-.52.074-.792.372-.272.297-1.04 1.016-1.04 2.479 0 1.462 1.065 2.875 1.213 3.074.149.198 2.096 3.2 5.077 4.487.709.306 1.262.489 1.694.625.712.227 1.36.195 1.871.118.571-.085 1.758-.719 2.006-1.413.248-.694.248-1.289.173-1.413-.074-.124-.272-.198-.57-.347m-5.421 7.403h-.004a9.87 9.87 0 01-5.031-1.378l-.361-.214-3.741.982.998-3.648-.235-.374a9.86 9.86 0 01-1.51-5.26c.001-5.45 4.436-9.884 9.888-9.884 2.64 0 5.122 1.03 6.988 2.898a9.825 9.825 0 012.893 6.994c-.003 5.45-4.437 9.884-9.885 9.884m8.413-18.297A11.815 11.815 0 0012.05 0C5.495 0 .16 5.335.157 11.892c0 2.096.547 4.142 1.588 5.945L.057 24l6.305-1.654a11.882 11.882 0 005.683 1.448h.005c6.554 0 11.89-5.335 11.893-11.893A11.821 11.821 0 0020.893 3.488'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    pointer-events: none;
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.2));
    transition: transform 0.3s ease;
}

/* Hover effect simple */
.whatsapp-chocolate:hover {
    transform: translateY(-2px) scale(1.05);
    box-shadow: 
        0 6px 20px rgba(37, 211, 102, 0.4),
        0 4px 8px rgba(0, 0, 0, 0.15);
}

.whatsapp-chocolate:hover .whatsapp-logo {
    transform: scale(1.1);
}

/* Variante pequeña para uso en tarjetas */
.whatsapp-chocolate.small {
    width: 42px;
    height: 42px;
}

.whatsapp-chocolate.small .whatsapp-logo {
    width: 22px;
    height: 22px;
}

/* Variante grande para botones principales */
.whatsapp-chocolate.large {
    width: 58px;
    height: 58px;
}

.whatsapp-chocolate.large .whatsapp-logo {
    width: 30px;
    height: 30px;
}

/* Responsive */
@media (max-width: 768px) {
    .whatsapp-chocolate {
        width: 46px;
        height: 46px;
    }
    
    .whatsapp-chocolate .whatsapp-logo {
        width: 24px;
        height: 24px;
    }
    
    .whatsapp-chocolate.large {
        width: 52px;
        height: 52px;
    }
    
    .whatsapp-chocolate.large .whatsapp-logo {
        width: 28px;
        height: 28px;
    }
}

/* Logo de WhatsApp centrado sobre el corazón */
.whatsapp-chocolate .whatsapp-logo {
    position: relative;
    width: 26px;
    height: 26px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M17.472 14.382c-.297-.149-1.758-.867-2.03-.967-.273-.099-.471-.148-.67.15-.197.297-.767.966-.94 1.164-.173.199-.347.223-.644.075-.297-.15-1.255-.463-2.39-1.475-.883-.788-1.48-1.761-1.653-2.059-.173-.297-.018-.458.13-.606.134-.133.298-.347.446-.52.149-.174.198-.298.298-.497.099-.198.05-.371-.025-.52-.075-.149-.669-1.612-.916-2.207-.242-.579-.487-.5-.669-.51-.173-.008-.371-.01-.57-.01-.198 0-.52.074-.792.372-.272.297-1.04 1.016-1.04 2.479 0 1.462 1.065 2.875 1.213 3.074.149.198 2.096 3.2 5.077 4.487.709.306 1.262.489 1.694.625.712.227 1.36.195 1.871.118.571-.085 1.758-.719 2.006-1.413.248-.694.248-1.289.173-1.413-.074-.124-.272-.198-.57-.347m-5.421 7.403h-.004a9.87 9.87 0 01-5.031-1.378l-.361-.214-3.741.982.998-3.648-.235-.374a9.86 9.86 0 01-1.51-5.26c.001-5.45 4.436-9.884 9.888-9.884 2.64 0 5.122 1.03 6.988 2.898a9.825 9.825 0 012.893 6.994c-.003 5.45-4.437 9.884-9.885 9.884m8.413-18.297A11.815 11.815 0 0012.05 0C5.495 0 .16 5.335.157 11.892c0 2.096.547 4.142 1.588 5.945L.057 24l6.305-1.654a11.882 11.882 0 005.683 1.448h.005c6.554 0 11.89-5.335 11.893-11.893A11.821 11.821 0 0020.893 3.488'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    z-index: 15;
    pointer-events: none;
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.2));
    transition: transform 0.3s ease;
}

/* Animación sutil del corazón de chocolate */
@keyframes heartbeat {
    0%, 100% {
        opacity: 0.18;
        transform: translate(-50%, -55%) rotate(-45deg) scale(1);
    }
    50% {
        opacity: 0.22;
        transform: translate(-50%, -55%) rotate(-45deg) scale(1.05);
    }
}

/* Hover effect: corazón se hace más visible y cálido */
.whatsapp-chocolate:hover {
    transform: translateY(-2px) scale(1.05);
    box-shadow: 
        0 6px 20px rgba(37, 211, 102, 0.4),
        0 4px 8px rgba(0, 0, 0, 0.15);
}

.whatsapp-chocolate:hover::before {
    opacity: 0.28;
    background: linear-gradient(145deg, #8b5a3c 0%, #a0673f 50%, #f4c7b9 100%);
    transform: translate(-50%, -55%) rotate(-45deg) scale(1.1);
}

.whatsapp-chocolate:hover::after {
    opacity: 0.28;
    background: linear-gradient(145deg, #8b5a3c 0%, #a0673f 50%, #f4c7b9 100%);
    transform: translate(-35%, -75%) rotate(45deg) scale(1.1);
}

.whatsapp-chocolate:hover .whatsapp-logo {
    transform: scale(1.1);
}

/* Variante pequeña para uso en tarjetas */
.whatsapp-chocolate.small {
    width: 42px;
    height: 42px;
}

.whatsapp-chocolate.small .whatsapp-logo {
    width: 22px;
    height: 22px;
}

.whatsapp-chocolate.small::before {
    width: 16px;
    height: 14px;
    transform: translate(-50%, -55%) rotate(-45deg) scale(0.8);
}

.whatsapp-chocolate.small::after {
    width: 12px;
    height: 16px;
    transform: translate(-35%, -75%) rotate(45deg) scale(0.8);
}

/* Variante grande para botones principales */
.whatsapp-chocolate.large {
    width: 58px;
    height: 58px;
}

.whatsapp-chocolate.large .whatsapp-logo {
    width: 30px;
    height: 30px;
}

.whatsapp-chocolate.large::before {
    width: 24px;
    height: 22px;
    transform: translate(-50%, -55%) rotate(-45deg) scale(1.2);
}

.whatsapp-chocolate.large::after {
    width: 18px;
    height: 24px;
    transform: translate(-35%, -75%) rotate(45deg) scale(1.2);
}

/* FINAL DE WHATSAPP ICON */

/* Contenedor para ícono + texto */
.whatsapp-contact {
    display: flex;
    align-items: center;
    gap: 10px;
    justify-content: center;
    margin-top: 15px;
    margin-bottom: 20px; /* Espacio extra para las gotas */
}

.whatsapp-text {
    color: #eb8181; /* Color rosita como las tarjetas */
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    transition: color 0.3s ease;
}

.whatsapp-contact:hover .whatsapp-text {
    color: #d16565; /* Versión más oscura del rosita en hover */
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 100px;
    right: 30px;
    background: linear-gradient(135deg, #D2691E 0%, #CD853F 50%, #F4A460 100%);
    border: 3px solid #8B4513;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    box-shadow: 
        0 4px 15px rgba(139, 69, 19, 0.4),
        inset 0 2px 0 rgba(255, 255, 255, 0.3),
        inset 0 -2px 0 rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Textura de galleta con puntos */
.back-to-top::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background-image: 
        radial-gradient(circle at 20% 30%, #8B4513 2px, transparent 2px),
        radial-gradient(circle at 70% 25%, #654321 1.5px, transparent 1.5px),
        radial-gradient(circle at 40% 70%, #8B4513 1.8px, transparent 1.8px),
        radial-gradient(circle at 80% 60%, #654321 1.2px, transparent 1.2px),
        radial-gradient(circle at 15% 80%, #8B4513 1.5px, transparent 1.5px),
        radial-gradient(circle at 60% 15%, #654321 1.3px, transparent 1.3px);
    background-size: 100% 100%;
    pointer-events: none;
}

/* Flecha hacia arriba */
.back-to-top::after {
    content: '▲';
    position: relative;
    color: white;
    font-size: 16px;
    font-weight: bold;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
    z-index: 2;
    pointer-events: none;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: linear-gradient(135deg, #CD853F 0%, #F4A460 50%, #DEB887 100%);
    transform: translateY(-5px) scale(1.1);
    box-shadow: 
        0 8px 25px rgba(139, 69, 19, 0.5),
        inset 0 2px 0 rgba(255, 255, 255, 0.4),
        inset 0 -2px 0 rgba(0, 0, 0, 0.3);
}

.back-to-top:active {
    transform: translateY(-2px) scale(1.05);
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 2000;
    align-items: center;
    justify-content: center;
}

.modal.show {
    display: flex;
}

.modal-content {
    background: var(--color-blanco);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-heavy);
    max-width: 400px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    border-bottom: 1px solid #E0E0E0;
}

.modal-header h3 {
    color: var(--color-chocolate);
    font-family: var(--font-dancing);
    font-size: 1.5rem;
}

.modal-close {
    background: none;
    border: none;
    font-size: 24px;
    color: var(--color-gris-texto);
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-close:hover {
    color: var(--color-negro);
}

.modal-body {
    padding: 24px;
}

.modal-body p {
    color: var(--color-gris-texto);
    margin-bottom: 20px;
    text-align: center;
}

.modal-actions {
    display: flex;
    justify-content: center;
}

/* Animaciones */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive Design */
@media (max-width: 768px) {
    .navbar-nav {
        position: fixed;
        top: 100%;
        left: 0;
        right: 0;
        width: 100%;
        background: var(--color-blanco);
        flex-direction: column;
        padding: 15px;
        box-shadow: var(--shadow-medium);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: var(--transition);
        gap: 8px;
        z-index: 1000;
        max-height: 90vh;
        overflow-y: auto;
    }
    
    .navbar-nav.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    
    .navbar-nav li {
        border-radius: 8px;
        border: 1px solid rgba(139, 69, 19, 0.1);
        background: rgba(255, 255, 255, 0.8);
        margin-bottom: 4px;
        box-shadow: 0 1px 4px rgba(139, 69, 19, 0.1);
        width: 100%;
        box-sizing: border-box;
    }
    
    .nav-link {
        padding: 12px 16px;
        font-size: 1rem;
        font-weight: 500;
        border-radius: 8px;
        border: 1px solid transparent;
        width: 100%;
        box-sizing: border-box;
        display: block;
        text-align: left;
    }
    
    .nav-link:hover,
    .nav-link.active {
        border-color: var(--color-chocolate);
        background: rgba(139, 69, 19, 0.1);
        color: var(--color-chocolate);
    }
    
    /* Dropdown mobile styles */
    .dropdown {
        position: relative;
        border-radius: 8px;
        border: 1px solid rgba(139, 69, 19, 0.15);
        background: rgba(255, 255, 255, 0.9);
        margin-bottom: 4px;
        overflow: hidden;
        width: 100%;
        box-sizing: border-box;
    }
    
    .dropdown-menu {
        position: static;
        box-shadow: none;
        border: none;
        border-top: 1px solid rgba(139, 69, 19, 0.2);
        background: rgba(255, 255, 255, 0.98);
        border-radius: 0 0 8px 8px;
        margin: 0;
        opacity: 0;
        visibility: hidden;
        max-height: 0;
        overflow: hidden;
        transition: all 0.3s ease;
        width: 100%;
    }
    
    .dropdown.active .dropdown-menu,
    .dropdown:hover .dropdown-menu {
        opacity: 1;
        visibility: visible;
        max-height: 200px;
    }
    
    .dropdown-menu a {
        padding: 10px 16px;
        font-size: 0.9rem;
        color: var(--color-chocolate);
        border-bottom: 1px solid rgba(139, 69, 19, 0.1);
        transition: all 0.2s ease;
        width: 100%;
        box-sizing: border-box;
        display: block;
    }
    
    .dropdown-menu a:hover {
        background: rgba(139, 69, 19, 0.1);
        padding-left: 20px;
    }
    
    .dropdown-menu li:last-child a {
        border-bottom: none;
    }
    
    .dropdown-toggle {
        padding: 10px 14px;
        font-size: 1rem;
        font-weight: 500;
        cursor: pointer;
        width: 100%;
        box-sizing: border-box;
        display: block;
        text-align: left;
    }
    
    .dropdown.active .dropdown-menu,
    .dropdown:hover .dropdown-menu {
        opacity: 1;
        visibility: visible;
        max-height: 400px;
    }
    
    .dropdown-menu a {
        padding: 12px 16px 12px 28px;
        font-size: 0.95rem;
        color: var(--color-chocolate);
        border-bottom: 1px solid rgba(235, 129, 129, 0.1);
        transition: all 0.3s ease;
        margin: 2px 8px;
        border-radius: 6px;
        background: linear-gradient(135deg, rgba(235, 129, 129, 0.08), rgba(209, 101, 101, 0.12));
        border-left: 3px solid transparent;
        font-weight: 500;
    }
    
    .dropdown-menu a:hover {
        background: linear-gradient(135deg, rgba(235, 129, 129, 0.2), rgba(209, 101, 101, 0.3));
        padding-left: 36px;
        border-left: 3px solid var(--color-rosa);
        color: var(--color-rosa);
        box-shadow: 0 2px 6px rgba(235, 129, 129, 0.15);
        transform: translateX(4px);
    }
    
    .dropdown-menu li:last-child a {
        border-bottom: none;
    }
    
    .dropdown-toggle {
        padding: 12px 16px;
        font-size: 1.1rem;
        font-weight: 500;
        cursor: pointer;
    }
    
    .dropdown-toggle::after {
        content: '';
        display: none;
        float: right;
        margin-top: 5px;
        transition: transform 0.3s ease;
    }
    
    .dropdown.active .dropdown-toggle::after {
        transform: rotate(180deg);
    }
    
    .navbar-toggle {
        display: block;
    }
    
    .hero-title {
        font-size: 3rem;
    }
    
    .hero-subtitle {
        font-size: 1.25rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-buttons .btn {
        width: 200px;
    }
    
    .section-title {
        font-size: 2.5rem;
    }
    
    .section-subtitle {
        font-size: 1.1rem;
    }
    
    .productos-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    /* BlissBox mantiene 4 columnas en tablets */
    .blissbox-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 20px;
    }
    
    /* Características grid también mantiene 4 columnas en tablets */
    .caracteristicas-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 25px;
    }
    
    .contact-content {
        gap: 40px;
    }
    
    .contact-cards-row {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .contact-info-item {
        flex-direction: column;
        text-align: center;
        gap: 12px;
    }
    
    .contact-icon {
        align-self: center;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }
    
    .social-links {
        justify-content: center;
    }
    
    .about-cards-grid {
        grid-template-columns: 1fr;
    }
    
    .vision-grid {
        grid-template-columns: 1fr;
    }
    
    /* Responsive para valores */
    .vision-main-card .card-body {
        padding: 1.5rem;
    }
    
    .valores-list {
        gap: 1rem;
    }
    
    .valor-item {
        padding: 0.75rem;
    }
    
    .valor-icon {
        font-size: 1.25rem;
        min-width: 35px;
    }
    
    .valor-content h4 {
        font-size: 1rem;
    }
    
    .valor-content p {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .section {
        padding: 60px 0;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .card-body {
        padding: 20px;
    }
    
    #whatsapp-float {
        bottom: 16px;
        right: 16px;
    }
    
    .back-to-top {
        bottom: 80px;
        right: 16px;
        width: 50px;
        height: 50px;
    }
    
    .back-to-top::after {
        font-size: 14px;
    }
    
    #whatsapp-float a {
        width: 50px;
        height: 50px;
    }
    
    #whatsapp-float svg {
        width: 24px;
        height: 24px;
    }
    
    .productos-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    /* BlissBox se ajusta a 1 columna en móvil para mejor legibilidad */
    .blissbox-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    /* Características grid se ajusta a 1 columna en móvil */
    .caracteristicas-grid {
        grid-template-columns: 1fr;
        gap: 25px;
        max-width: 400px;
    }
    
    /* Logo responsive adjustments */
    .navbar-logo {
        font-size: 1.9rem;
    }
    
    .navbar-logo span {
        font-size: 1.9rem;
    }
    
    .navbar-logo img {
        width: 50px;
        height: 50px;
        margin-right: 12px;
    }
    
    .footer-logo {
        width: 70px;
        height: 70px;
    }
}

/* Extra small devices */
@media (max-width: 480px) {
    .navbar-logo {
        font-size: 1.6rem;
    }
    
    .navbar-logo span {
        font-size: 1.6rem;
    }
    
    .navbar-logo img {
        width: 45px;
        height: 45px;
        margin-right: 10px;
        border-width: 2px;
        padding: 2px;
    }
    
    .footer-logo {
        width: 65px;
        height: 65px;
        border-width: 3px;
        padding: 3px;
    }
}

/* ============================================
   CHOCOLATE PERSONALIZADO
   ============================================ */

/* Tarjeta destacada con efectos especiales */
.card-destacada {
    position: relative;
    border: 3px solid var(--color-dorado);
    background: linear-gradient(135deg, #fef9f3, #ffffff);
    box-shadow: 0 8px 25px rgba(200, 161, 101, 0.3);
    transform: scale(1.02);
    animation: destacadaPulse 3s ease-in-out infinite;
}

.card-destacada::before {
    content: '';
    position: absolute;
    top: -3px;
    left: -3px;
    right: -3px;
    bottom: -3px;
    background: linear-gradient(45deg, var(--color-rosa), var(--color-dorado), var(--color-rosa), var(--color-dorado));
    z-index: -1;
    border-radius: var(--border-radius);
    animation: borderGlow 2s linear infinite;
    background-size: 400% 400%;
}

@keyframes destacadaPulse {
    0%, 100% { 
        transform: scale(1.02);
        box-shadow: 0 8px 25px rgba(200, 161, 101, 0.3);
    }
    50% { 
        transform: scale(1.05);
        box-shadow: 0 12px 35px rgba(200, 161, 101, 0.5);
    }
}

@keyframes borderGlow {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.card-destacada .card-body {
    background: linear-gradient(135deg, rgba(254, 249, 243, 0.9), rgba(255, 255, 255, 0.9));
}

.card-destacada h4 {
    color: var(--color-chocolate);
    text-shadow: 0 2px 4px rgba(200, 161, 101, 0.2);
    font-weight: 700;
    position: relative;
}

.card-destacada h4::after {
    content: '✨';
    position: absolute;
    right: -25px;
    top: 50%;
    transform: translateY(-50%);
    animation: sparkleRotate 2s ease-in-out infinite;
}

@keyframes sparkleRotate {
    0%, 100% { transform: translateY(-50%) rotate(0deg) scale(1); }
    50% { transform: translateY(-50%) rotate(180deg) scale(1.2); }
}

.card-destacada:hover {
    transform: scale(1.08);
    box-shadow: 0 15px 40px rgba(200, 161, 101, 0.6);
}

.card-destacada:hover .personalizado-icon {
    animation-duration: 1s;
    transform: rotate(360deg);
}

.card-destacada:hover .sparkle {
    animation-duration: 1s;
}

/* Imagen personalizada simplificada */
.personalizado-image {
    background: linear-gradient(135deg, var(--color-rosa) 0%, var(--color-dorado) 50%, #f8d7a1 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.personalizado-background {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.personalizado-icon {
    font-size: 64px !important;
    color: white;
    text-shadow: 0 4px 8px rgba(0,0,0,0.3);
    animation: floatIcon 2s ease-in-out infinite;
}

@keyframes floatIcon {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

.sparkles {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
}

.sparkle {
    position: absolute;
    font-size: 20px;
    animation: sparkleFloat 2.5s ease-in-out infinite;
}

.sparkle:nth-child(1) {
    top: 20%;
    left: 15%;
    animation-delay: 0s;
}

.sparkle:nth-child(2) {
    top: 60%;
    right: 20%;
    animation-delay: 1s;
}

.sparkle:nth-child(3) {
    bottom: 25%;
    left: 70%;
    animation-delay: 2s;
}

@keyframes sparkleFloat {
    0%, 100% { 
        transform: translateY(0px) scale(1);
        opacity: 0.8;
    }
    50% { 
        transform: translateY(-15px) scale(1.2);
        opacity: 1;
    }
}

/* ============================================
   CARRITO DE COMPRAS
   ============================================ */

/* Controles de cantidad */
.quantity-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-top: 15px;
    padding: 10px;
    background: linear-gradient(135deg, #f8f6f3, #ffffff);
    border-radius: 12px;
    border: 2px solid var(--color-beige);
}

.quantity-btn {
    width: 36px;
    height: 36px;
    border: none;
    border-radius: 50%;
    background: var(--color-chocolate);
    color: white;
    font-size: 1.2rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.quantity-btn:hover {
    background: #654321;
    transform: scale(1.1);
}

.quantity-btn:active {
    transform: scale(0.95);
}

.quantity-btn.minus {
    background: var(--color-rosa);
}

.quantity-btn.minus:hover {
    background: #d4948a;
}

.quantity-display {
    min-width: 32px;
    text-align: center;
    font-weight: bold;
    font-size: 1.1rem;
    color: var(--color-chocolate);
    background: white;
    padding: 8px 12px;
    border-radius: 8px;
    border: 2px solid var(--color-beige);
}

/* Modal del carrito */
.cart-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 2000;
    animation: fadeIn 0.3s ease;
}

.cart-modal.show {
    display: flex;
    align-items: center;
    justify-content: center;
}

.cart-modal-content {
    background: white;
    border-radius: 20px;
    width: 90%;
    max-width: 500px;
    max-height: 80vh;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: slideIn 0.3s ease;
}

.cart-header {
    background: linear-gradient(135deg, var(--color-chocolate), #8B4513);
    color: white;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cart-header h3 {
    margin: 0;
    font-family: var(--font-dancing);
    font-size: 1.8rem;
}

.close-cart {
    background: none;
    border: none;
    color: white;
    font-size: 2rem;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background 0.3s ease;
}

.close-cart:hover {
    background: rgba(255, 255, 255, 0.2);
}

.cart-body {
    padding: 20px;
    max-height: 60vh;
    overflow-y: auto;
}

.cart-items {
    margin-bottom: 20px;
}

.empty-cart {
    text-align: center;
    padding: 40px 20px;
    color: #666;
}

.empty-cart p:first-child {
    font-size: 1.2rem;
    margin-bottom: 8px;
}

.cart-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    border-bottom: 1px solid var(--color-beige);
}

.cart-item:last-child {
    border-bottom: none;
}

.cart-item-info {
    flex: 1;
}

.cart-item-name {
    font-weight: bold;
    color: var(--color-chocolate);
    margin-bottom: 4px;
}

.cart-item-quantity {
    color: #666;
    font-size: 0.9rem;
}

.cart-item-controls {
    display: flex;
    align-items: center;
    gap: 8px;
}

.cart-item-controls .quantity-btn {
    width: 28px;
    height: 28px;
    font-size: 1rem;
}

.cart-item-controls .quantity-display {
    min-width: 24px;
    padding: 4px 8px;
    font-size: 0.9rem;
}

.cart-footer {
    border-top: 2px solid var(--color-beige);
    padding-top: 20px;
}

.cart-total {
    text-align: center;
    margin-bottom: 15px;
    font-size: 1.1rem;
    color: var(--color-chocolate);
}

/* Animaciones del carrito */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideIn {
    from { 
        opacity: 0;
        transform: scale(0.8) translateY(-20px);
    }
    to { 
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

/* Responsive para carrito */
@media (max-width: 768px) {
    .cart-modal-content {
        width: 95%;
        margin: 20px;
    }
    
    .quantity-controls {
        gap: 8px;
        padding: 8px;
    }
    
    .quantity-btn {
        width: 32px;
        height: 32px;
        font-size: 1rem;
    }
    
    #cart-float {
        top: 70px;
        right: 15px;
    }
    
    #whatsapp-float {
        top: 140px;
        right: 15px;
    }
}

/* Estilos para botón llamativo "Detrás de Fide's" */
@keyframes shimmer {
    0% { left: -100%; }
    100% { left: 100%; }
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

@keyframes glow {
    0% { box-shadow: 0 8px 30px rgba(200, 161, 101, 0.4); }
    50% { box-shadow: 0 12px 40px rgba(200, 161, 101, 0.7); }
    100% { box-shadow: 0 8px 30px rgba(200, 161, 101, 0.4); }
}

.llamativo-card {
    animation: glow 2s ease-in-out infinite;
}

.llamativo-card:hover {
    transform: perspective(1000px) rotateX(0deg) scale(1.05) !important;
    box-shadow: 0 15px 45px rgba(235, 129, 129, 0.6) !important;
    animation: pulse 0.6s ease-in-out;
}

.btn-llamativo {
    transition: all 0.3s ease !important;
    position: relative;
    overflow: hidden;
}

.btn-llamativo:hover {
    transform: translateY(-2px) scale(1.1) !important;
    box-shadow: 0 8px 25px rgba(200, 161, 101, 0.8) !important;
    background: linear-gradient(45deg, var(--color-dorado), var(--color-rosa)) !important;
    animation: pulse 0.4s ease-in-out;
    color: var(--color-chocolate) !important;
}

.btn-llamativo:active {
    transform: translateY(0) scale(1.05) !important;
}

/* Efecto de brillo en el botón */
.btn-llamativo::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
    transition: left 0.5s;
}

.btn-llamativo:hover::before {
    left: 100%;
}

/* Responsive para botón llamativo */
@media (max-width: 768px) {
    .llamativo-card {
        margin: 1rem 0 !important;
    }
    
    .llamativo-card .card-body {
        padding: 1.5rem 1rem !important;
    }
    
    .llamativo-card h4 {
        font-size: 1.1rem !important;
    }
    
    .btn-llamativo {
        font-size: 0.9rem !important;
        padding: 0.6rem 1.2rem !important;
    }
}

/* Estilos para página "Detrás de Fide's" */
.family-member-card {
    transition: all 0.3s ease;
}

.family-member-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15) !important;
}

.family-member-card:hover > div:first-child > div:first-child {
    transform: scale(1.1);
}

.hero-about {
    position: relative;
}

.hero-about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><path d="M0,20 Q50,0 100,20 L100,100 L0,100 Z" fill="rgba(255,255,255,0.05)"/></svg>');
    background-size: cover;
}

.final-message {
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

.family-photo-section:hover .family-photo-section > div {
    transform: scale(1.05);
}

.family-photo-section > div {
    transition: transform 0.3s ease;
}

/* Responsive para página "Detrás de Fide's" */
@media (max-width: 768px) {
    .hero-about h1 {
        font-size: 2rem !important;
    }
    
    .hero-about p {
        font-size: 1.1rem !important;
    }
    
    .story-card {
        padding: 2rem 1.5rem !important;
        margin-bottom: 2rem !important;
    }
    
    .family-member-card {
        margin-bottom: 1.5rem;
    }
    
    .final-message {
        padding: 2rem 1.5rem !important;
    }
    
    .family-photo-section > div {
        padding: 1.5rem !important;
        max-width: 100% !important;
    }
    
    /* Layout responsivo para historia y foto */
    .container > div:first-child {
        grid-template-columns: 1fr !important;
        gap: 1.5rem !important;
    }
    
    .family-photo-card {
        order: -1;
        margin-bottom: 1rem !important;
    }
}