/* ===== Variables ===== */
:root {
    --primary: #DC143C;
    --primary-dark: #B01030;
    --primary-light: #E8425A;
    --accent-cream: #FFF8F0;
    --beige: #EDE4D3;
    --beige-light: #F5F0E6;
    --azul-marino: #2C5F7C;
    --azul-marino-light: #4A8BAD;
    --azul-marino-dark: #1E4259;
    --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) */
    --sewing-pattern-img: url("./assets/sewing-pattern-200.webp");

    /* 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;
    transition: box-shadow 0.3s ease;
}

.navbar.scrolled {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.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: var(--beige-light);
    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: var(--beige);
}

.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: #444444;
    line-height: 1.7;
}

/* Servicio destacado */
.servicio-destacado {
    background: #FFFDD0;
    grid-column: span 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.servicio-destacado::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='560' height='400' viewBox='0 0 560 400'%3E%3Cdefs%3E%3ClinearGradient id='puertaBase' x1='0%25' y1='0%25' x2='100%25' y2='100%25'%3E%3Cstop offset='0%25' style='stop-color:%234A8BAD'/%3E%3Cstop offset='100%25' style='stop-color:%232C5F7C'/%3E%3C/linearGradient%3E%3ClinearGradient id='panelRelieve' x1='0%25' y1='0%25' x2='100%25' y2='100%25'%3E%3Cstop offset='0%25' style='stop-color:%231E4259'/%3E%3Cstop offset='50%25' style='stop-color:%232C5F7C'/%3E%3Cstop offset='100%25' style='stop-color:%231E4259'/%3E%3C/linearGradient%3E%3ClinearGradient id='panelInterno' x1='0%25' y1='0%25' x2='100%25' y2='100%25'%3E%3Cstop offset='0%25' style='stop-color:%234A8BAD'/%3E%3Cstop offset='100%25' style='stop-color:%233A7A9D'/%3E%3C/linearGradient%3E%3ClinearGradient id='ventanaBase' x1='0%25' y1='0%25' x2='100%25' y2='0%25'%3E%3Cstop offset='0%25' style='stop-color:%232C5F7C'/%3E%3Cstop offset='100%25' style='stop-color:%234A8BAD'/%3E%3C/linearGradient%3E%3C/defs%3E%3C!-- PUERTA A LA IZQUIERDA --%3E%3Cg transform='translate(0,0)'%3E%3C!-- Marco exterior puerta relleno --%3E%3Crect x='20' y='20' width='180' height='360' rx='8' fill='url(%23puertaBase)' stroke='%231E4259' stroke-width='6'/%3E%3C!-- Paneles superiores largos --%3E%3Crect x='38' y='40' width='62' height='180' rx='4' fill='url(%23panelRelieve)' stroke='%231E4259' stroke-width='2'/%3E%3Crect x='120' y='40' width='62' height='180' rx='4' fill='url(%23panelRelieve)' stroke='%231E4259' stroke-width='2'/%3E%3C!-- Paneles medios rectangulares pequeños --%3E%3Crect x='38' y='235' width='62' height='35' rx='4' fill='url(%23panelRelieve)' stroke='%231E4259' stroke-width='2'/%3E%3Crect x='120' y='235' width='62' height='35' rx='4' fill='url(%23panelRelieve)' stroke='%231E4259' stroke-width='2'/%3E%3C!-- Paneles inferiores cuadrados hasta abajo --%3E%3Crect x='38' y='285' width='62' height='80' rx='4' fill='url(%23panelRelieve)' stroke='%231E4259' stroke-width='2'/%3E%3Crect x='120' y='285' width='62' height='80' rx='4' fill='url(%23panelRelieve)' stroke='%231E4259' stroke-width='2'/%3E%3C!-- Detalles internos paneles superiores --%3E%3Crect x='48' y='50' width='42' height='160' rx='2' fill='url(%23panelInterno)' stroke='%235A9BBD' stroke-width='1'/%3E%3Crect x='130' y='50' width='42' height='160' rx='2' fill='url(%23panelInterno)' stroke='%235A9BBD' stroke-width='1'/%3E%3C!-- Detalles internos paneles medios --%3E%3Crect x='48' y='242' width='42' height='21' rx='2' fill='url(%23panelInterno)' stroke='%235A9BBD' stroke-width='1'/%3E%3Crect x='130' y='242' width='42' height='21' rx='2' fill='url(%23panelInterno)' stroke='%235A9BBD' stroke-width='1'/%3E%3C!-- Detalles internos paneles inferiores --%3E%3Crect x='48' y='295' width='42' height='60' rx='2' fill='url(%23panelInterno)' stroke='%235A9BBD' stroke-width='1'/%3E%3Crect x='130' y='295' width='42' height='60' rx='2' fill='url(%23panelInterno)' stroke='%235A9BBD' stroke-width='1'/%3E%3C!-- Argolla/Aldaba --%3E%3Ccircle cx='69' cy='130' r='10' fill='%231E4259' stroke='%230F2030' stroke-width='2'/%3E%3Ccircle cx='69' cy='130' r='6' fill='%232C5F7C' stroke='%231E4259' stroke-width='1'/%3E%3Ccircle cx='69' cy='155' r='12' fill='none' stroke='%231E4259' stroke-width='4'/%3E%3Ccircle cx='69' cy='155' r='12' fill='none' stroke='%234A8BAD' stroke-width='2'/%3E%3C!-- Clavos --%3E%3Ccircle cx='30' cy='35' r='3' fill='%231E4259' stroke='%230F2030' stroke-width='1'/%3E%3Ccircle cx='190' cy='35' r='3' fill='%231E4259' stroke='%230F2030' stroke-width='1'/%3E%3Ccircle cx='30' cy='365' r='3' fill='%231E4259' stroke='%230F2030' stroke-width='1'/%3E%3Ccircle cx='190' cy='365' r='3' fill='%231E4259' stroke='%230F2030' stroke-width='1'/%3E%3C/g%3E%3C!-- VENTANAL 1 (CENTRO) --%3E%3Cg transform='translate(320,0)'%3E%3C!-- Marco ventana --%3E%3Crect x='15' y='60' width='80' height='180' rx='4' fill='url(%23puertaBase)' stroke='%231E4259' stroke-width='4'/%3E%3C!-- Hoja izquierda abierta --%3E%3Cg transform='skewY(-5)'%3E%3Crect x='5' y='68' width='35' height='170' rx='3' fill='url(%23ventanaBase)' stroke='%231E4259' stroke-width='2'/%3E%3Cline x1='8' y1='80' x2='37' y2='80' stroke='%231E4259' stroke-width='2'/%3E%3Cline x1='8' y1='95' x2='37' y2='95' stroke='%231E4259' stroke-width='2'/%3E%3Cline x1='8' y1='110' x2='37' y2='110' stroke='%231E4259' stroke-width='2'/%3E%3Cline x1='8' y1='125' x2='37' y2='125' stroke='%231E4259' stroke-width='2'/%3E%3Cline x1='8' y1='140' x2='37' y2='140' stroke='%231E4259' stroke-width='2'/%3E%3Cline x1='8' y1='155' x2='37' y2='155' stroke='%231E4259' stroke-width='2'/%3E%3Cline x1='8' y1='170' x2='37' y2='170' stroke='%231E4259' stroke-width='2'/%3E%3Cline x1='8' y1='185' x2='37' y2='185' stroke='%231E4259' stroke-width='2'/%3E%3Cline x1='8' y1='200' x2='37' y2='200' stroke='%231E4259' stroke-width='2'/%3E%3Cline x1='8' y1='215' x2='37' y2='215' stroke='%231E4259' stroke-width='2'/%3E%3Cline x1='8' y1='230' x2='37' y2='230' stroke='%231E4259' stroke-width='2'/%3E%3C/g%3E%3C!-- Hoja derecha abierta --%3E%3Cg transform='skewY(5)'%3E%3Crect x='70' y='52' width='35' height='170' rx='3' fill='url(%23ventanaBase)' stroke='%231E4259' stroke-width='2'/%3E%3Cline x1='73' y1='64' x2='102' y2='64' stroke='%231E4259' stroke-width='2'/%3E%3Cline x1='73' y1='79' x2='102' y2='79' stroke='%231E4259' stroke-width='2'/%3E%3Cline x1='73' y1='94' x2='102' y2='94' stroke='%231E4259' stroke-width='2'/%3E%3Cline x1='73' y1='109' x2='102' y2='109' stroke='%231E4259' stroke-width='2'/%3E%3Cline x1='73' y1='124' x2='102' y2='124' stroke='%231E4259' stroke-width='2'/%3E%3Cline x1='73' y1='139' x2='102' y2='139' stroke='%231E4259' stroke-width='2'/%3E%3Cline x1='73' y1='154' x2='102' y2='154' stroke='%231E4259' stroke-width='2'/%3E%3Cline x1='73' y1='169' x2='102' y2='169' stroke='%231E4259' stroke-width='2'/%3E%3Cline x1='73' y1='184' x2='102' y2='184' stroke='%231E4259' stroke-width='2'/%3E%3Cline x1='73' y1='199' x2='102' y2='199' stroke='%231E4259' stroke-width='2'/%3E%3Cline x1='73' y1='214' x2='102' y2='214' stroke='%231E4259' stroke-width='2'/%3E%3C/g%3E%3C/g%3E%3C!-- VENTANAL 2 (DERECHA) --%3E%3Cg transform='translate(440,0)'%3E%3C!-- Marco ventana --%3E%3Crect x='15' y='60' width='80' height='180' rx='4' fill='url(%23puertaBase)' stroke='%231E4259' stroke-width='4'/%3E%3C!-- Hoja izquierda abierta --%3E%3Cg transform='skewY(-5)'%3E%3Crect x='5' y='68' width='35' height='170' rx='3' fill='url(%23ventanaBase)' stroke='%231E4259' stroke-width='2'/%3E%3Cline x1='8' y1='80' x2='37' y2='80' stroke='%231E4259' stroke-width='2'/%3E%3Cline x1='8' y1='95' x2='37' y2='95' stroke='%231E4259' stroke-width='2'/%3E%3Cline x1='8' y1='110' x2='37' y2='110' stroke='%231E4259' stroke-width='2'/%3E%3Cline x1='8' y1='125' x2='37' y2='125' stroke='%231E4259' stroke-width='2'/%3E%3Cline x1='8' y1='140' x2='37' y2='140' stroke='%231E4259' stroke-width='2'/%3E%3Cline x1='8' y1='155' x2='37' y2='155' stroke='%231E4259' stroke-width='2'/%3E%3Cline x1='8' y1='170' x2='37' y2='170' stroke='%231E4259' stroke-width='2'/%3E%3Cline x1='8' y1='185' x2='37' y2='185' stroke='%231E4259' stroke-width='2'/%3E%3Cline x1='8' y1='200' x2='37' y2='200' stroke='%231E4259' stroke-width='2'/%3E%3Cline x1='8' y1='215' x2='37' y2='215' stroke='%231E4259' stroke-width='2'/%3E%3Cline x1='8' y1='230' x2='37' y2='230' stroke='%231E4259' stroke-width='2'/%3E%3C/g%3E%3C!-- Hoja derecha abierta --%3E%3Cg transform='skewY(5)'%3E%3Crect x='70' y='52' width='35' height='170' rx='3' fill='url(%23ventanaBase)' stroke='%231E4259' stroke-width='2'/%3E%3Cline x1='73' y1='64' x2='102' y2='64' stroke='%231E4259' stroke-width='2'/%3E%3Cline x1='73' y1='79' x2='102' y2='79' stroke='%231E4259' stroke-width='2'/%3E%3Cline x1='73' y1='94' x2='102' y2='94' stroke='%231E4259' stroke-width='2'/%3E%3Cline x1='73' y1='109' x2='102' y2='109' stroke='%231E4259' stroke-width='2'/%3E%3Cline x1='73' y1='124' x2='102' y2='124' stroke='%231E4259' stroke-width='2'/%3E%3Cline x1='73' y1='139' x2='102' y2='139' stroke='%231E4259' stroke-width='2'/%3E%3Cline x1='73' y1='154' x2='102' y2='154' stroke='%231E4259' stroke-width='2'/%3E%3Cline x1='73' y1='169' x2='102' y2='169' stroke='%231E4259' stroke-width='2'/%3E%3Cline x1='73' y1='184' x2='102' y2='184' stroke='%231E4259' stroke-width='2'/%3E%3Cline x1='73' y1='199' x2='102' y2='199' stroke='%231E4259' stroke-width='2'/%3E%3Cline x1='73' y1='214' x2='102' y2='214' stroke='%231E4259' stroke-width='2'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    opacity: 0.05;
    pointer-events: none;
    z-index: 0;
}

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

.servicio-destacado .servicio-icon {
    background: var(--azul-marino);
    color: var(--white);
    width: 100px;
    height: 100px;
}

.servicio-destacado h3 {
    color: var(--azul-marino-dark);
    font-size: 1.6rem;
}

.servicio-destacado p {
    color: #1a1a1a;
    max-width: 600px;
    font-weight: 600;
}

.servicio-destacado:hover {
    background: #FFF8B0;
}

.servicio-badge {
    background: var(--azul-marino);
    color: var(--white);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
}

@media (max-width: 768px) {
    .servicio-destacado {
        grid-column: span 1;
    }
}

/* Separador Puerta Animada */
.puerta-separador {
    display: flex;
    justify-content: center;
    padding: 40px 0;
    background: var(--accent-cream);
}

.puerta-svg {
    width: 400px;
    height: 280px;
    filter: drop-shadow(0 15px 30px rgba(44, 95, 124, 0.4));
}

/* Animación de entrada/salida para la puerta */
.puerta-separador {
    overflow: hidden;
}

.puerta-separador .puerta-svg {
    opacity: 0;
    transform: translateX(-100%);
    transition: opacity 1.5s ease-out, transform 1.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.puerta-separador.visible .puerta-svg {
    opacity: 1;
    transform: translateX(0);
}

.puerta-separador.exit-right .puerta-svg {
    opacity: 0;
    transform: translateX(100%);
}

.puerta-separador.exit-left .puerta-svg {
    opacity: 0;
    transform: translateX(-100%);
}

/* ===== 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: 40px 30px;
    background: var(--beige-light);
    border-radius: 16px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.valor-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.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;
    align-items: center;
    gap: 50px;
    margin-top: 50px;
    overflow: hidden;
    padding: 20px 0;
}

.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;
}

.button-svg-yellow {
    width: 100px;
    height: 100px;
    filter: drop-shadow(0 10px 25px rgba(255, 215, 0, 0.35));
    opacity: 0.9;
}

.button-svg-blue {
    width: 100px;
    height: 100px;
    filter: drop-shadow(0 10px 25px rgba(44, 95, 124, 0.35));
    opacity: 0.9;
}

.button-roll {
    animation: button-roll 6s ease-in-out infinite;
}

.button-roll-reverse {
    animation: button-roll-reverse 6s ease-in-out infinite;
}

@keyframes button-roll-reverse {
    0% {
        transform: translateX(150px) rotate(0deg);
    }
    50% {
        transform: translateX(-150px) rotate(-720deg);
    }
    100% {
        transform: translateX(150px) rotate(0deg);
    }
}

@keyframes button-roll {
    0% {
        transform: translateX(-150px) rotate(0deg);
    }
    50% {
        transform: translateX(150px) rotate(720deg);
    }
    100% {
        transform: translateX(-150px) rotate(0deg);
    }
}

/* ===== 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: linear-gradient(135deg, var(--azul-marino) 0%, var(--azul-marino-dark) 100%);
    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;
}

.powered-by { font-size: 0.75rem; margin-top: 8px; }
.powered-by a { color: rgba(255, 255, 255, 0.6); text-decoration: none; transition: color 0.2s; }
.powered-by a:hover { color: white; }

/* ===== 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;
    }
}

/* Cadmio oscuro - color de producción (dayse.es) */
body.color-cadmio-oscuro { --primary: #A30018; --primary-dark: #7D0012; }

/* ===== Banner de Cookies GDPR ===== */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--white);
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15);
    z-index: 10000;
    padding: 20px;
    transform: translateY(100%);
    transition: transform 0.4s ease;
}

.cookie-banner.visible {
    transform: translateY(0);
}

.cookie-banner.hidden {
    display: none;
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.cookie-text h3 {
    font-size: 1.1rem;
    margin-bottom: 5px;
    color: var(--text-dark);
}

.cookie-text p {
    font-size: 0.9rem;
    color: var(--text-light);
    margin: 0;
    line-height: 1.5;
}

.cookie-buttons {
    display: flex;
    gap: 12px;
    flex-shrink: 0;
}

.cookie-btn {
    padding: 12px 24px;
    border-radius: 50px;
    font-family: 'Nunito', sans-serif;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: var(--transition);
    border: none;
}

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

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

.cookie-btn-reject {
    background: var(--gray-light);
    color: var(--text-dark);
    border: 1px solid #ddd;
}

.cookie-btn-reject:hover {
    background: #e5e5e5;
}

@media (max-width: 768px) {
    .cookie-content {
        flex-direction: column;
        text-align: center;
    }

    .cookie-buttons {
        width: 100%;
        justify-content: center;
    }

    .cookie-btn {
        flex: 1;
        max-width: 150px;
    }
}

/* ===== Modo Producción - Ocultar switchers ===== */
body.production-mode .color-switcher,
body.production-mode .font-switcher {
    display: none !important;
}
