/* ===== Variables ===== */
:root {
    --primary: #DC143C;
    --primary-dark: #B01030;
    --primary-light: #E8425A;
    --accent-cream: #FFF8F0;
    --text-dark: #2D2D2D;
    --text-light: #666666;
    --white: #FFFFFF;
    --gray-light: #F5F5F5;
    --shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    --shadow-hover: 0 8px 30px rgba(0, 0, 0, 0.12);
    --transition: all 0.3s ease;

    /* Patrón de costura SVG (monocromático, muy ligero ~2KB) */
    --sewing-pattern-svg: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200' viewBox='0 0 200 200'%3E%3Cg fill='none' stroke='%23DC143C' stroke-opacity='0.15'%3E%3Ccircle cx='30' cy='30' r='12' stroke-width='2'/%3E%3Ccircle cx='26' cy='26' r='2.5'/%3E%3Ccircle cx='34' cy='26' r='2.5'/%3E%3Ccircle cx='26' cy='34' r='2.5'/%3E%3Ccircle cx='34' cy='34' r='2.5'/%3E%3Cellipse cx='160' cy='40' rx='10' ry='18' stroke-width='2'/%3E%3Cline x1='150' y1='28' x2='170' y2='28' stroke-width='1.5'/%3E%3Cline x1='150' y1='52' x2='170' y2='52' stroke-width='1.5'/%3E%3Cpath d='M160 22 Q185 40 160 58' stroke-width='1.5'/%3E%3Ccircle cx='100' cy='25' r='5' stroke-width='2'/%3E%3Cline x1='100' y1='30' x2='100' y2='60' stroke-width='2'/%3E%3Cellipse cx='70' cy='100' rx='3' ry='20' stroke-width='2'/%3E%3Ccircle cx='70' cy='83' r='2'/%3E%3Cpath d='M70 81 Q55 70 50 78 Q45 90 58 98' stroke-width='1.5' stroke-linecap='round'/%3E%3Ccircle cx='140' cy='98' r='6' stroke-width='1.5'/%3E%3Ccircle cx='140' cy='115' r='6' stroke-width='1.5'/%3E%3Cline x1='146' y1='94' x2='170' y2='80' stroke-width='2'/%3E%3Cline x1='146' y1='119' x2='170' y2='133' stroke-width='2'/%3E%3Cline x1='146' y1='106' x2='158' y2='106' stroke-width='1.5'/%3E%3Cpath d='M5 160 Q25 145 45 160 Q65 175 85 160 Q105 145 125 160' stroke-width='2' stroke-linecap='round'/%3E%3Ccircle cx='170' cy='170' r='12' stroke-width='2'/%3E%3Ccircle cx='165' cy='170' r='2.5'/%3E%3Ccircle cx='175' cy='170' r='2.5'/%3E%3Cpath d='M25 135 L25 165 Q25 178 40 178 Q55 178 55 165 L55 135' stroke-width='2'/%3E%3Ccircle cx='33' cy='148' r='1.5'/%3E%3Ccircle cx='47' cy='148' r='1.5'/%3E%3Ccircle cx='40' cy='158' r='1.5'/%3E%3Ccircle cx='33' cy='168' r='1.5'/%3E%3Ccircle cx='47' cy='168' r='1.5'/%3E%3Ccircle cx='115' cy='148' r='4' stroke-width='2'/%3E%3Cline x1='115' y1='152' x2='115' y2='180' stroke-width='2'/%3E%3C/g%3E%3C/svg%3E");

    /* Patrón de costura imagen (colorido, 25KB) */
    --sewing-pattern-img: url("./assets/sewing-pattern.jpg");

    /* Patrón activo (cambiar entre svg e img) */
    --sewing-pattern: var(--sewing-pattern-img);
}

/* ===== Reset & Base ===== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Nunito', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--white);
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Simonetta', cursive;
    font-weight: 600;
    line-height: 1.2;
}

.logo-text {
    font-family: 'Simonetta', cursive;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

/* Cursor tijeras de costura para elementos interactivos */
a:hover,
button:hover,
.btn:hover,
.servicio-card:hover,
.valor-card:hover,
.contacto-card:hover,
.galeria-item:hover {
    cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='32' height='32' viewBox='0 0 24 24'%3E%3Cg stroke='%23fff' stroke-width='4' fill='none'%3E%3Ccircle cx='6' cy='6' r='3'/%3E%3Ccircle cx='6' cy='18' r='3'/%3E%3Cline x1='20' y1='4' x2='8.12' y2='15.88'/%3E%3Cline x1='14.47' y1='14.48' x2='20' y2='20'/%3E%3Cline x1='8.12' y1='8.12' x2='12' y2='12'/%3E%3C/g%3E%3Cg stroke='%23DC143C' stroke-width='2' fill='none'%3E%3Ccircle cx='6' cy='6' r='3'/%3E%3Ccircle cx='6' cy='18' r='3'/%3E%3Cline x1='20' y1='4' x2='8.12' y2='15.88'/%3E%3Cline x1='14.47' y1='14.48' x2='20' y2='20'/%3E%3Cline x1='8.12' y1='8.12' x2='12' y2='12'/%3E%3C/g%3E%3C/svg%3E") 0 0, pointer;
}

img {
    max-width: 100%;
    height: auto;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===== Botones ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 50px;
    font-family: 'Nunito', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    border: none;
    transition: var(--transition);
}

.btn-primary {
    background: var(--primary);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

.btn-secondary {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-secondary:hover {
    background: var(--primary);
    color: var(--white);
}

.btn-lg {
    padding: 16px 32px;
    font-size: 1.1rem;
}

/* ===== Navegación ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: var(--white);
    box-shadow: var(--shadow);
    z-index: 1000;
    padding: 15px 0;
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-img {
    width: 45px;
    height: 45px;
}

.logo-text {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 35px;
}

.nav-menu a {
    font-weight: 600;
    color: var(--text-dark);
    position: relative;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: var(--transition);
}

.nav-menu a:hover::after {
    width: 100%;
}

.nav-menu a:hover {
    color: var(--primary);
}

.nav-cta {
    padding: 10px 20px;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--text-dark);
    border-radius: 2px;
    transition: var(--transition);
}

/* ===== Hero ===== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, var(--accent-cream) 0%, var(--white) 100%);
    padding-top: 80px;
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: var(--sewing-pattern);
    background-repeat: repeat;
    background-size: 200px 200px;
    opacity: 0.08;
    pointer-events: none;
    z-index: 0;
}

.hero > * {
    position: relative;
    z-index: 1;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 40px;
    align-items: center;
    justify-content: start;
}

.hero-content {
    text-align: left;
    justify-self: start;
    margin-left: -40px;
}

.hero-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    padding-right: 60px;
}

.hero-logo-img {
    width: 320px;
    height: auto;
    object-fit: contain;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(220, 20, 60, 0.3);
    animation: button-float 4s ease-in-out infinite;
}

@keyframes button-float {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-15px) rotate(3deg);
    }
}


.hero-tagline {
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--primary);
    margin-bottom: 10px;
    font-weight: 600;
}

.hero-title {
    font-size: clamp(3rem, 7vw, 5rem);
    color: var(--text-dark);
    margin-bottom: 20px;
}

.hero-title br {
    display: block;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-light);
    margin-bottom: 40px;
    max-width: 600px;
}

.highlight-location {
    position: relative;
    padding: 1px 3px;
    border-radius: 3px;
    color: var(--primary);
    font-weight: 600;
    white-space: nowrap;
}

.highlight-location::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--primary);
    opacity: 0.12;
    border-radius: inherit;
    z-index: -1;
}

.hero-ctas {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: 30px;
}

.hero-status {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
}

.status-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #ccc;
    animation: pulse 2s infinite;
}

.status-indicator.open {
    background: #22c55e;
}

.status-indicator.closed {
    background: #ef4444;
    animation: none;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

/* ===== Secciones ===== */
section {
    padding: 100px 0;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    text-align: center;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.section-subtitle {
    text-align: center;
    color: var(--text-light);
    font-size: 1.1rem;
    margin-bottom: 60px;
}

/* ===== Servicios ===== */
.servicios {
    background: var(--white);
    position: relative;
}

.servicios::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: var(--sewing-pattern);
    background-repeat: repeat;
    background-size: 200px 200px;
    opacity: 0.08;
    pointer-events: none;
    z-index: 0;
}

.servicios > * {
    position: relative;
    z-index: 1;
}

.servicios-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.servicio-card {
    background: #F5E6D3;
    padding: 40px 30px;
    border-radius: 16px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    text-align: center;
}

.servicio-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
    background: #EED9C4;
}

.servicio-icon {
    width: 80px;
    height: 80px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    color: var(--white);
}

.servicio-card h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.servicio-card p {
    color: var(--text-light);
    line-height: 1.7;
}

/* ===== Valores ===== */
.valores {
    background: var(--accent-cream);
    position: relative;
}

.valores::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: var(--sewing-pattern);
    background-repeat: repeat;
    background-size: 200px 200px;
    opacity: 0.08;
    pointer-events: none;
    z-index: 0;
}

.valores > * {
    position: relative;
    z-index: 1;
}

.valores-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
}

.valor-card {
    text-align: center;
    padding: 20px;
}

.valor-number {
    font-family: 'Playfair Display', serif;
    font-size: 4rem;
    font-weight: 700;
    color: var(--primary);
    opacity: 0.3;
    margin-bottom: 10px;
}

.valor-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.valor-card p {
    color: var(--text-light);
    line-height: 1.7;
}

.valores-container {
    position: relative;
}

.valores-button-decoration {
    display: flex;
    justify-content: center;
    margin-top: 50px;
}

.button-svg {
    width: 100px;
    height: 100px;
    animation: button-float 4s ease-in-out infinite;
    filter: drop-shadow(0 10px 25px rgba(220, 20, 60, 0.35));
    opacity: 0.9;
}

.button-svg .btn-hole {
    opacity: 0.95;
}

/* ===== Galería ===== */
.galeria {
    background: var(--accent-cream);
    position: relative;
}

.galeria::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: var(--sewing-pattern);
    background-repeat: repeat;
    background-size: 200px 200px;
    opacity: 0.08;
    pointer-events: none;
    z-index: 0;
}

.galeria > * {
    position: relative;
    z-index: 1;
}

.galeria-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.galeria-item {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.galeria-item:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
}

.galeria-item img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    display: block;
    transition: var(--transition);
}

.galeria-item:hover img {
    transform: scale(1.05);
}

.galeria-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
    color: var(--white);
    font-weight: 600;
    font-size: 1.1rem;
}

@media (max-width: 768px) {
    .galeria-grid {
        grid-template-columns: 1fr;
    }

    .galeria-item img {
        height: 280px;
    }
}

/* ===== Ubicación ===== */
.ubicacion {
    background: var(--white);
    position: relative;
}

.ubicacion::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: var(--sewing-pattern);
    background-repeat: repeat;
    background-size: 200px 200px;
    opacity: 0.08;
    pointer-events: none;
    z-index: 0;
}

.ubicacion > * {
    position: relative;
    z-index: 1;
}

.ubicacion-content {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 50px;
    align-items: start;
}

.ubicacion-info {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.info-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.info-item svg {
    color: var(--primary);
    flex-shrink: 0;
    margin-top: 4px;
}

.info-item strong {
    display: block;
    font-size: 1.1rem;
    margin-bottom: 5px;
    color: var(--text-dark);
}

.info-item p,
.info-item a {
    color: var(--text-light);
    line-height: 1.6;
}

.info-item a:hover {
    color: var(--primary);
}

.horario-status {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 15px 20px;
    background: var(--gray-light);
    border-radius: 10px;
    font-weight: 600;
}

.ubicacion-mapa {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

/* ===== Contacto ===== */
.contacto {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: var(--white);
}

.contacto .section-title,
.contacto .section-subtitle {
    color: var(--white);
}

.contacto .section-subtitle {
    opacity: 0.9;
}

.contacto-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.contacto-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 40px 30px;
    border-radius: 16px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.contacto-card:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-5px);
}

.contacto-card svg {
    margin-bottom: 10px;
}

.contacto-card span {
    opacity: 0.8;
    font-size: 0.9rem;
}

.contacto-card strong {
    font-size: 1.3rem;
}

/* ===== Footer ===== */
.footer {
    background: var(--text-dark);
    color: var(--white);
    padding: 60px 0 30px;
}

.footer-content {
    text-align: center;
    margin-bottom: 40px;
}

.footer-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 15px;
}

.footer-logo span {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 700;
}

.footer-tagline {
    opacity: 0.8;
    margin-bottom: 10px;
}

.footer-address {
    opacity: 0.6;
    font-size: 0.9rem;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    opacity: 0.5;
    font-size: 0.85rem;
}

/* ===== 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 ===== */
@media (max-width: 968px) {
    .ubicacion-content {
        grid-template-columns: 1fr;
    }

    .ubicacion-info {
        order: 2;
    }

    .ubicacion-mapa {
        order: 1;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 75px;
        left: 0;
        right: 0;
        background: linear-gradient(135deg, var(--white) 0%, var(--accent-cream) 100%);
        flex-direction: column;
        padding: 40px 30px;
        gap: 0;
        box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
        transform: translateY(-150%);
        opacity: 0;
        transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
        border-bottom: 3px solid var(--primary);
    }

    .nav-menu.active {
        transform: translateY(0);
        opacity: 1;
    }

    .nav-menu li {
        opacity: 0;
        transform: translateX(-20px);
        transition: opacity 0.3s ease, transform 0.3s ease;
    }

    .nav-menu.active li {
        opacity: 1;
        transform: translateX(0);
    }

    .nav-menu.active li:nth-child(1) { transition-delay: 0.1s; }
    .nav-menu.active li:nth-child(2) { transition-delay: 0.15s; }
    .nav-menu.active li:nth-child(3) { transition-delay: 0.2s; }
    .nav-menu.active li:nth-child(4) { transition-delay: 0.25s; }

    .nav-menu a {
        display: block;
        padding: 18px 20px;
        font-size: 1.1rem;
        border-radius: 12px;
        margin: 5px 0;
        position: relative;
        overflow: hidden;
    }

    .nav-menu a::before {
        content: '';
        position: absolute;
        left: 0;
        top: 50%;
        transform: translateY(-50%);
        width: 4px;
        height: 0;
        background: var(--primary);
        border-radius: 2px;
        transition: height 0.3s ease;
    }

    .nav-menu a:hover {
        background: rgba(220, 20, 60, 0.08);
        color: var(--primary);
    }

    .nav-menu a:hover::before {
        height: 60%;
    }

    .nav-menu a::after {
        display: none;
    }

    .nav-cta {
        display: none;
    }

    .menu-toggle {
        display: flex;
    }

    .menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
        background: var(--primary);
    }

    .menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
        background: var(--primary);
    }

    .hero {
        padding-top: 100px;
        padding-bottom: 60px;
    }

    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-content {
        text-align: center;
        order: 2;
    }

    .hero-logo {
        order: 1;
        margin-bottom: 20px;
        padding-right: 0;
        justify-content: center;
    }

    .hero-logo-img {
        width: 250px;
        height: auto;
    }

    .hero-ctas {
        flex-direction: column;
        align-items: center;
    }

    section {
        padding: 70px 0;
    }

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

    .contacto-content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2.2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .btn-lg {
        padding: 14px 24px;
        font-size: 1rem;
    }

    .servicio-card {
        padding: 30px 20px;
    }

    .section-title {
        font-size: 1.8rem;
    }
}

/* ===== Botón WhatsApp Flotante ===== */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    left: 30px;
    width: 60px;
    height: 60px;
    background: #25D366;
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    transition: var(--transition);
    animation: whatsapp-pulse 2s infinite;
}

.whatsapp-float:hover {
    background: #128C7E;
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.5);
    animation: none;
}

@keyframes whatsapp-pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.6);
    }
    50% {
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

@media (max-width: 480px) {
    .whatsapp-float {
        bottom: 20px;
        left: 20px;
        width: 55px;
        height: 55px;
    }
}

/* ===== Selector de Colores ===== */
.color-switcher {
    position: fixed;
    bottom: 90px;
    right: 30px;
    z-index: 1000;
}

.color-switcher-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--primary);
    color: var(--white);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-hover);
    transition: var(--transition);
}

.color-switcher-btn:hover {
    background: var(--primary-dark);
    transform: scale(1.1);
}

.color-menu {
    position: absolute;
    bottom: 60px;
    right: 0;
    background: var(--white);
    border-radius: 12px;
    box-shadow: var(--shadow-hover);
    padding: 15px;
    min-width: 180px;
    max-height: 400px;
    overflow-y: auto;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition);
}

.color-menu.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.color-menu-title {
    display: block;
    font-size: 0.8rem;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--gray-light);
}

.color-option {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    padding: 10px 12px;
    margin: 5px 0;
    border: none;
    background: var(--gray-light);
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.95rem;
    text-align: left;
    transition: var(--transition);
    font-family: inherit;
}

.color-option::before {
    content: '';
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--dot-color);
    flex-shrink: 0;
}

.color-option:hover {
    background: var(--accent-cream);
}

.color-option.active {
    background: var(--text-dark);
    color: var(--white);
}

.color-menu-divider {
    display: block;
    font-size: 0.7rem;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 12px 0 6px;
    padding-top: 8px;
    border-top: 1px solid var(--gray-light);
}

/* Variantes de Color - Intensos */
body.color-puro { --primary: #FF0000; --primary-dark: #CC0000; }
body.color-ferrari { --primary: #FF2800; --primary-dark: #CC2000; }
body.color-sangre { --primary: #C41E3A; --primary-dark: #9C182E; }
body.color-rubi { --primary: #E0115F; --primary-dark: #B30D4C; }

/* Variantes de Color - Cadmio */
body.color-cadmio-claro { --primary: #FF3333; --primary-dark: #E02020; }
body.color-cadmio { --primary: #E30022; --primary-dark: #B3001B; }
body.color-cadmio-medio { --primary: #C4001D; --primary-dark: #9A0017; }
body.color-cadmio-oscuro { --primary: #A30018; --primary-dark: #7D0012; }
body.color-cadmio-profundo { --primary: #800012; --primary-dark: #5C000D; }

/* Variantes de Color - Cálidos */
body.color-burdeos { --primary: #800020; --primary-dark: #5C0017; }
body.color-vino { --primary: #722F37; --primary-dark: #5A252C; }
body.color-granate { --primary: #6B1624; --primary-dark: #4D101A; }
body.color-borgona { --primary: #4C0013; --primary-dark: #33000D; }
body.color-terracota { --primary: #A04030; --primary-dark: #7D3226; }
body.color-oxido { --primary: #8B3A3A; --primary-dark: #6B2D2D; }
body.color-caoba { --primary: #5D1F1F; --primary-dark: #421616; }

@media (max-width: 480px) {
    .color-switcher {
        bottom: 85px;
        right: 20px;
    }

    .color-menu {
        right: -10px;
    }
}

/* ===== Selector de Tipografías ===== */
.font-switcher {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
}

.font-switcher-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--primary);
    color: var(--white);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-hover);
    transition: var(--transition);
}

.font-switcher-btn:hover {
    background: var(--primary-dark);
    transform: scale(1.1);
}

.font-menu {
    position: absolute;
    bottom: 60px;
    right: 0;
    background: var(--white);
    border-radius: 12px;
    box-shadow: var(--shadow-hover);
    padding: 15px;
    min-width: 220px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition);
}

.font-menu.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.font-menu-title {
    display: block;
    font-size: 0.8rem;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--gray-light);
}

.font-option {
    display: block;
    width: 100%;
    padding: 10px 12px;
    margin: 5px 0;
    border: none;
    background: var(--gray-light);
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.95rem;
    text-align: left;
    transition: var(--transition);
    font-family: inherit;
}

.font-option:hover {
    background: var(--accent-cream);
}

.font-option.active {
    background: var(--primary);
    color: var(--white);
}

/* ===== Variantes de Tipografía ===== */
body.font-playfair {
    font-family: 'Nunito', sans-serif;
}

body.font-playfair h1,
body.font-playfair h2,
body.font-playfair h3,
body.font-playfair h4,
body.font-playfair h5,
body.font-playfair h6,
body.font-playfair .logo-text {
    font-family: 'Playfair Display', serif;
}

body.font-cormorant {
    font-family: 'Lato', sans-serif;
}

body.font-cormorant h1,
body.font-cormorant h2,
body.font-cormorant h3,
body.font-cormorant h4,
body.font-cormorant h5,
body.font-cormorant h6,
body.font-cormorant .logo-text {
    font-family: 'Cormorant Garamond', serif;
}

body.font-baskerville {
    font-family: 'Open Sans', sans-serif;
}

body.font-baskerville h1,
body.font-baskerville h2,
body.font-baskerville h3,
body.font-baskerville h4,
body.font-baskerville h5,
body.font-baskerville h6,
body.font-baskerville .logo-text {
    font-family: 'Libre Baskerville', serif;
}

body.font-merriweather {
    font-family: 'Source Sans 3', sans-serif;
}

body.font-merriweather h1,
body.font-merriweather h2,
body.font-merriweather h3,
body.font-merriweather h4,
body.font-merriweather h5,
body.font-merriweather h6,
body.font-merriweather .logo-text {
    font-family: 'Merriweather', serif;
}

body.font-berkshire {
    font-family: 'Nunito', sans-serif;
}

body.font-berkshire h1,
body.font-berkshire h2,
body.font-berkshire h3,
body.font-berkshire h4,
body.font-berkshire h5,
body.font-berkshire h6,
body.font-berkshire .logo-text {
    font-family: 'Berkshire Swash', cursive;
}

@media (max-width: 480px) {
    .font-switcher {
        bottom: 20px;
        right: 20px;
    }

    .font-menu {
        right: -10px;
        min-width: 200px;
    }
}
