/* ============================================
   JESIE ART - ESTILOS PRINCIPALES
   ============================================ */

/* Variables CSS */
:root {
    --primary-color: #d8a7b1;
    --primary-dark: #c895a0;
    --primary-light: #e8c4cc;
    --secondary-color: #f5e6e8;
    --accent-color: #d4a5a5;
    --dark-color: #3a2e2e;
    --light-color: #f9f5f6;
    --white: #ffffff;
    --text-color: #4a4a4a;
    --border-radius: 12px;
    --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;
}

/* Reset y Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

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

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 600;
    line-height: 1.2;
    color: var(--dark-color);
}

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

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

ul {
    list-style: none;
}

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

/* Botones */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: var(--border-radius);
    font-weight: 500;
    font-size: 0.95rem;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    text-align: center;
    font-family: 'Poppins', sans-serif;
}

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

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

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

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

.btn-large {
    padding: 16px 32px;
    font-size: 1.05rem;
}

/* Header y Navegación */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: var(--white);
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

body.has-admin-bar .header {
    top: 45px;
    z-index: 1999;
}

/* Asegurar que el header no desaparezca en tablet y móvil */
@media (max-width: 768px) {
    body.has-admin-bar .header {
        top: 45px !important; /* Mantener posición con admin bar */
    }
}

@media (max-width: 480px) {
    body.has-admin-bar .header {
        top: 0 !important; /* Admin bar oculto en móvil */
    }
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    min-height: 60px;
    width: 100%;
    box-sizing: border-box;
}

/* Asegurar alineación vertical cuando hay admin-bar */
body.has-admin-bar .navbar {
    align-items: center;
    padding: 20px 0;
    min-height: 60px;
    display: flex;
    justify-content: space-between;
}

body.has-admin-bar .navbar .logo {
    display: flex;
    align-items: center;
    line-height: 1;
}

body.has-admin-bar .navbar .nav-menu {
    display: flex;
    align-items: center;
}

body.has-admin-bar .navbar .nav-menu li {
    display: flex;
    align-items: center;
}

body.has-admin-bar .navbar .nav-menu a {
    display: flex;
    align-items: center;
    line-height: 1.5;
    vertical-align: middle;
}

body.has-admin-bar .navbar .nav-actions {
    display: flex;
    align-items: center;
    height: auto;
}

body.has-admin-bar .navbar .nav-actions .btn {
    display: inline-flex;
    align-items: center;
    vertical-align: middle;
    line-height: 1.5;
}

/* Asegurar que estos estilos solo se apliquen en escritorio */
@media (min-width: 769px) {
    body.has-admin-bar .navbar {
        align-items: center;
        padding: 20px 0;
    }
    
    body.has-admin-bar .navbar .logo,
    body.has-admin-bar .navbar .nav-menu,
    body.has-admin-bar .navbar .nav-menu li,
    body.has-admin-bar .navbar .nav-menu a,
    body.has-admin-bar .navbar .nav-actions,
    body.has-admin-bar .navbar .nav-actions .btn {
        display: flex;
        align-items: center;
        vertical-align: middle;
    }
}

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

.logo-accent {
    color: var(--primary-color);
}

.nav-menu {
    display: flex;
    gap: 30px;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-menu li {
    display: flex;
    align-items: center;
}

.nav-menu a {
    color: var(--text-color);
    font-weight: 500;
    position: relative;
    padding: 5px 0;
    display: flex;
    align-items: center;
    line-height: 1.5;
}

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

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

.nav-actions {
    display: flex;
    align-items: center;
    gap: 15px;
    height: 100%;
}

.nav-actions .btn {
    display: inline-flex;
    align-items: center;
    vertical-align: middle;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--dark-color);
    cursor: pointer;
    padding: 5px;
    z-index: 1001;
}

/* Overlay para menú móvil */
.nav-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 998;
    opacity: 0;
    transition: opacity 0.3s ease;
    backdrop-filter: blur(2px);
}

.nav-overlay.active {
    display: block;
    opacity: 1;
}

/* Responsive Header */
@media (max-width: 768px) {
    /* Header fixed - siempre visible, logo nunca desaparece */
    .header {
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        z-index: 1000 !important;
        background: var(--white) !important;
        box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08) !important;
        transition: box-shadow 0.3s ease;
        width: 100% !important;
        will-change: transform;
    }
    
    body.has-admin-bar .header {
        top: 45px !important;
    }
    
    /* Ajustar padding del contenido para que no quede oculto detrás del header */
    main {
        padding-top: 75px !important;
    }
    
    body.has-admin-bar main {
        padding-top: 120px !important;
    }
    
    .navbar {
        padding: 15px 0;
        flex-wrap: nowrap;
        position: relative;
        min-height: 50px;
    }
    
    .logo {
        font-size: 1.8rem;
        flex: 1;
        min-width: 0;
    }
    
    .menu-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
        order: 3;
        width: 44px;
        height: 44px;
        background: var(--primary-color);
        color: white;
        border-radius: 8px;
        font-size: 1.3rem;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
        transition: var(--transition);
        border: none;
        cursor: pointer;
    }
    
    .menu-toggle:hover {
        background: var(--primary-dark);
        transform: scale(1.05);
        box-shadow: 0 4px 12px rgba(216, 167, 177, 0.3);
    }
    
    .menu-toggle.active {
        background: var(--primary-dark);
        transform: rotate(90deg);
    }
    
    /* Overlay sutil para el menú móvil */
    .nav-overlay {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(58, 46, 46, 0.4);
        backdrop-filter: blur(3px);
        z-index: 998;
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.3s ease, visibility 0.3s ease;
    }
    
    .nav-overlay.active {
        opacity: 1;
        visibility: visible;
    }
    
    /* Menú desplegable desde el header - justo debajo del header */
    .nav-menu {
        position: fixed;
        top: 75px; /* Altura exacta del header en tablet (15px padding * 2 + 50px min-height) */
        left: 0;
        right: 0;
        width: 100%;
        max-height: 0;
        background: var(--white);
        flex-direction: column;
        align-items: stretch;
        padding: 0;
        box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
        transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), 
                    padding 0.4s cubic-bezier(0.4, 0, 0.2, 1),
                    opacity 0.3s ease;
        z-index: 999;
        gap: 0;
        overflow: hidden;
        opacity: 0;
        border-radius: 0 0 20px 20px;
        border-top: 3px solid var(--primary-color);
    }
    
    body.has-admin-bar .nav-menu {
        top: 120px; /* 45px admin-bar + 75px header */
    }
    
    .nav-menu.active {
        max-height: 600px;
        padding: 20px 0;
        opacity: 1;
        overflow-y: auto;
    }
    
    .nav-menu li {
        width: 100%;
        margin: 0;
        padding: 0 20px;
        opacity: 0;
        transform: translateY(-10px);
        transition: opacity 0.3s ease 0.1s, transform 0.3s ease 0.1s;
    }
    
    .nav-menu.active li {
        opacity: 1;
        transform: translateY(0);
    }
    
    .nav-menu.active li:nth-child(1) { transition-delay: 0.05s; }
    .nav-menu.active li:nth-child(2) { transition-delay: 0.1s; }
    .nav-menu.active li:nth-child(3) { transition-delay: 0.15s; }
    .nav-menu.active li:nth-child(4) { transition-delay: 0.2s; }
    .nav-menu.active li:nth-child(5) { transition-delay: 0.25s; }
    .nav-menu.active li:nth-child(6) { transition-delay: 0.3s; }
    .nav-menu.active li:nth-child(7) { transition-delay: 0.35s; }
    
    .nav-menu a {
        width: 100%;
        padding: 16px 20px;
        font-size: 1rem;
        font-weight: 500;
        color: var(--dark-color);
        display: flex;
        align-items: center;
        gap: 15px;
        transition: all 0.3s ease;
        border-radius: var(--border-radius);
        background: transparent;
        position: relative;
        margin: 4px 0;
    }
    
    .nav-menu a::before {
        content: '';
        position: absolute;
        left: 0;
        top: 50%;
        transform: translateY(-50%) scaleX(0);
        width: 4px;
        height: 0;
        background: var(--primary-color);
        transition: all 0.3s ease;
        border-radius: 0 4px 4px 0;
    }
    
    .nav-menu a::after {
        display: none;
    }
    
    .nav-menu a:hover,
    .nav-menu a.active {
        background: linear-gradient(90deg, var(--secondary-color) 0%, rgba(245, 230, 232, 0.3) 100%);
        color: var(--primary-dark);
        transform: translateX(5px);
        box-shadow: 0 2px 8px rgba(216, 167, 177, 0.15);
    }
    
    .nav-menu a:hover::before,
    .nav-menu a.active::before {
        transform: translateY(-50%) scaleX(1);
        height: 60%;
    }
    
    .nav-menu a i {
        font-size: 1.2rem;
        width: 28px;
        text-align: center;
        color: var(--primary-color);
        transition: transform 0.3s ease;
    }
    
    .nav-menu a:hover i,
    .nav-menu a.active i {
        transform: scale(1.15);
        color: var(--primary-dark);
    }
    
    .nav-menu a.admin-link {
        background: linear-gradient(135deg, var(--primary-light) 0%, var(--secondary-color) 100%);
        color: var(--primary-dark);
        font-weight: 600;
        margin: 12px 20px;
        border-radius: 12px;
        box-shadow: 0 2px 10px rgba(216, 167, 177, 0.25);
    }
    
    .nav-menu a.admin-link::before {
        background: var(--primary-dark);
    }
    
    .nav-menu a.admin-link:hover {
        background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
        color: white;
        transform: translateX(5px) scale(1.02);
        box-shadow: 0 4px 15px rgba(216, 167, 177, 0.4);
    }
    
    .nav-menu a.admin-link:hover i {
        color: white;
    }
    
    .nav-menu a.admin-link i {
        color: var(--primary-dark);
    }
    
    .nav-actions {
        order: 2;
        gap: 10px;
        margin-right: 10px;
    }
    
    .nav-actions .btn {
        padding: 8px 16px;
        font-size: 0.85rem;
        display: none; /* Ocultar botón en móvil, solo mostrar hamburguesa */
    }
}

@media (max-width: 480px) {
    /* Header fixed - siempre visible en móvil también */
    .header {
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08) !important;
        width: 100% !important;
        z-index: 1000 !important;
        background: var(--white) !important;
        will-change: transform;
    }
    
    body.has-admin-bar .header {
        top: 0 !important;
    }
    
    /* Ajustar padding del contenido para móvil */
    main {
        padding-top: 64px !important; /* 12px padding * 2 + 40px altura mínima */
    }
    
    body.has-admin-bar main {
        padding-top: 64px !important;
    }
    
    .navbar {
        padding: 12px 0;
        min-height: 40px;
    }
    
    .logo {
        font-size: 1.6rem;
    }
    
    .menu-toggle {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
    
    /* Menú desplegable justo debajo del header en móvil */
    .nav-menu {
        top: 64px !important; /* Altura exacta del header en móvil (12px padding * 2 + 40px min-height) */
        border-radius: 0 0 16px 16px;
    }
    
    body.has-admin-bar .nav-menu {
        top: 64px !important; /* Admin bar está oculto en móvil */
    }
    
    .nav-menu.active {
        max-height: 500px;
        padding: 15px 0;
    }
    
    .nav-menu li {
        padding: 0 15px;
    }
    
    .nav-menu a {
        padding: 14px 18px;
        font-size: 0.95rem;
        gap: 12px;
        margin: 3px 0;
    }
    
    .nav-menu a i {
        font-size: 1.1rem;
        width: 24px;
    }
    
    .nav-menu a.admin-link {
        margin: 10px 15px;
        padding: 12px 18px;
    }
}

/* Skip to content */
.skip-to-content {
    position: absolute;
    top: -100px;
    left: 0;
    background: var(--primary-color);
    color: var(--white);
    padding: 10px 20px;
    z-index: 10000;
}

.skip-to-content:focus {
    top: 0;
}

/* Hero Section */
.hero {
    padding: 140px 0 80px;
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--white) 100%);
    position: relative;
    overflow: hidden;
}

body.has-admin-bar .hero {
    padding-top: 180px;
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-badge {
    display: inline-block;
    background: var(--primary-color);
    color: var(--white);
    padding: 8px 20px;
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 20px;
}

.hero-title {
    font-size: 3.5rem;
    margin-bottom: 20px;
    line-height: 1.1;
}

.hero-title .highlight {
    color: var(--primary-color);
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-color);
    margin-bottom: 35px;
    line-height: 1.8;
}

.hero-actions {
    display: flex;
    gap: 20px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.hero-stats {
    display: flex;
    gap: 40px;
}

.stat {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    font-family: 'Playfair Display', serif;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-color);
}

.hero-image-container {
    position: relative;
}

.main-image {
    width: 100%;
    height: 400px;
    background: linear-gradient(135deg, var(--primary-light), var(--secondary-color));
    border-radius: var(--border-radius);
    position: relative;
    overflow: hidden;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 3rem;
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--white);
    opacity: 0;
    transition: var(--transition);
    cursor: pointer;
    z-index: 2;
}

.main-image:hover .image-overlay {
    opacity: 1;
}

.image-label {
    position: absolute;
    bottom: 15px;
    left: 15px;
    background: rgba(255, 255, 255, 0.9);
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
}

.image-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}

.grid-item {
    height: 120px;
    background: linear-gradient(135deg, var(--primary-light), var(--secondary-color));
    border-radius: var(--border-radius);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 1.5rem;
}

.item-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.6);
    color: var(--white);
    padding: 8px;
    text-align: center;
    font-size: 0.75rem;
    transform: translateY(100%);
    transition: var(--transition);
}

.grid-item:hover .item-overlay {
    transform: translateY(0);
}

/* Secciones Generales */
section {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-size: 2.8rem;
    margin-bottom: 15px;
}

.section-title .highlight {
    color: var(--primary-color);
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-color);
    max-width: 600px;
    margin: 0 auto;
}

/* Servicios */
.services {
    background: var(--white);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
    align-items: stretch;
    justify-content: center;
}

/* Forzar filas en celulares - debe estar después de todas las reglas de grid */
@media (max-width: 480px) {
    .services-grid,
    .services-grid[data-services-count="1"],
    .services-grid[data-services-count="2"],
    .services-grid[data-services-count="3"],
    .services-grid[data-services-count="4"],
    .services-grid[data-services-count="5"],
    .services-grid[data-services-count="6"],
    .services-grid[data-services-count="7"],
    .services-grid[data-services-count="8"],
    .services-grid[data-services-count="9"],
    .services-grid[data-services-count="10"],
    .services-grid[data-services-count="11"],
    .services-grid[data-services-count="12"] {
        display: flex !important;
        flex-direction: column !important;
        grid-template-columns: none !important;
        grid-template-rows: none !important;
        max-width: 100% !important;
        margin: 0 !important;
        width: 100% !important;
    }
}

/* Adaptación dinámica según número de servicios */
.services-grid[data-services-count="1"] {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin: 0 auto;
}

.services-grid[data-services-count="2"] {
    grid-template-columns: repeat(2, 1fr);
    max-width: 700px;
    margin: 0 auto;
}

.services-grid[data-services-count="3"] {
    grid-template-columns: repeat(3, 1fr);
}

.services-grid[data-services-count="4"] {
    grid-template-columns: repeat(2, 1fr);
    max-width: 700px;
    margin: 0 auto;
}

.services-grid[data-services-count="5"] {
    grid-template-columns: repeat(3, 1fr);
    max-width: 1050px;
    margin: 0 auto;
}

.services-grid[data-services-count="6"] {
    grid-template-columns: repeat(3, 1fr);
}

.services-grid[data-services-count="7"] {
    grid-template-columns: repeat(3, 1fr);
    max-width: 1050px;
    margin: 0 auto;
}

.services-grid[data-services-count="8"] {
    grid-template-columns: repeat(4, 1fr);
}

.services-grid[data-services-count="9"] {
    grid-template-columns: repeat(3, 1fr);
}

.services-grid[data-services-count="10"],
.services-grid[data-services-count="11"],
.services-grid[data-services-count="12"] {
    grid-template-columns: repeat(4, 1fr);
}

@media (min-width: 1200px) {
    .services-grid[data-services-count="1"],
    .services-grid[data-services-count="2"],
    .services-grid[data-services-count="4"] {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .services-grid[data-services-count="3"],
    .services-grid[data-services-count="5"],
    .services-grid[data-services-count="6"],
    .services-grid[data-services-count="7"],
    .services-grid[data-services-count="9"] {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .services-grid[data-services-count="8"],
    .services-grid[data-services-count="10"],
    .services-grid[data-services-count="11"],
    .services-grid[data-services-count="12"] {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (min-width: 768px) and (max-width: 1199px) {
    .services-grid[data-services-count="1"] {
        grid-template-columns: 1fr;
        max-width: 400px;
    }
    
    .services-grid[data-services-count="2"],
    .services-grid[data-services-count="4"] {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .services-grid[data-services-count="3"],
    .services-grid[data-services-count="5"],
    .services-grid[data-services-count="6"],
    .services-grid[data-services-count="7"],
    .services-grid[data-services-count="9"] {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .services-grid[data-services-count="8"],
    .services-grid[data-services-count="10"],
    .services-grid[data-services-count="11"],
    .services-grid[data-services-count="12"] {
        grid-template-columns: repeat(3, 1fr);
    }
}

.service-card {
    background: var(--white);
    padding: 35px 25px;
    border-radius: var(--border-radius);
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    min-height: 100%;
}

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

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

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.service-card p {
    color: var(--text-color);
    line-height: 1.8;
}

/* Galería */
.gallery {
    background: var(--light-color);
}

.gallery-filters {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 10px 25px;
    background: var(--white);
    border: 2px solid var(--primary-color);
    border-radius: 25px;
    color: var(--primary-color);
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--primary-color);
    color: var(--white);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.gallery-item {
    background: var(--white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.gallery-item.hidden {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
    height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
}

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

.gallery-image {
    position: relative;
    width: 100%;
    min-height: 280px;
    height: auto;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: linear-gradient(135deg, var(--primary-light), var(--secondary-color));
    display: flex;
    align-items: center;
    justify-content: center;
}

.gallery-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    transition: var(--transition);
}

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

.gallery-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 3.5rem;
    opacity: 0.6;
}

.gallery-image .image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.6));
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--white);
    opacity: 0;
    transition: var(--transition);
    z-index: 2;
    backdrop-filter: blur(2px);
    cursor: pointer;
}

.gallery-image .image-overlay i {
    font-size: 2rem;
    margin-bottom: 10px;
    transition: var(--transition);
}

.gallery-image .image-overlay span {
    font-size: 0.9rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.gallery-item:hover .image-overlay i {
    transform: scale(1.2);
}

.gallery-item:hover .image-overlay {
    opacity: 1;
}

.image-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--primary-dark);
    color: var(--white);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 2;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.gallery-info {
    padding: 25px;
}

.gallery-item h3 {
    font-size: 1.4rem;
    margin-bottom: 12px;
    color: var(--dark-color);
    font-weight: 600;
}

.gallery-description {
    color: var(--text-color);
    margin-bottom: 15px;
    line-height: 1.7;
    font-size: 0.95rem;
}

.gallery-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 15px;
    border-top: 1px solid var(--secondary-color);
}

.gallery-item .price {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary-color);
    font-family: 'Playfair Display', serif;
}

.gallery-item .time {
    font-size: 0.85rem;
    color: var(--text-color);
    display: flex;
    align-items: center;
    gap: 6px;
}

.gallery-item .time::before {
    content: '\f017';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    color: var(--primary-color);
    font-size: 0.9rem;
}

.gallery-cta {
    margin-top: 30px;
    margin-bottom: 0;
    text-align: center;
    padding: 15px 20px;
}

.gallery-cta p {
    font-size: 1.2rem;
    color: var(--text-color);
    margin: 0;
}

.gallery-cta a {
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    border-bottom: 2px solid transparent;
}

.gallery-cta a:hover {
    color: var(--primary-dark);
    border-bottom-color: var(--primary-color);
}

/* Proceso */
.process {
    background: var(--white);
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.step {
    text-align: center;
    position: relative;
}

.step-number {
    width: 60px;
    height: 60px;
    background: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 20px;
}

.step h3 {
    font-size: 1.4rem;
    margin-bottom: 10px;
}

.step p {
    color: var(--text-color);
    line-height: 1.8;
}

/* Testimonios */
.testimonials {
    background: var(--light-color);
    padding-top: 10px;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 35px;
    row-gap: 40px;
}

.testimonials-list {
    display: flex;
    flex-direction: column;
    gap: 12.5px; /* Mitad del espacio anterior */
    max-width: 1000px; /* Más ancho que antes */
    margin: 0 auto;
}

.testimonial-card {
    background: var(--white);
    padding: 35px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid rgba(216, 167, 177, 0.2);
    margin-bottom: 10px;
}

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

.testimonial-rating {
    color: #ffc107;
    font-size: 1.2rem;
    margin-bottom: 15px;
}

.testimonial-text {
    font-style: italic;
    color: var(--text-color);
    line-height: 1.8;
    margin-bottom: 20px;
    font-size: 1.05rem;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
    padding-top: 20px;
    border-top: 1px solid var(--secondary-color);
}

.author-avatar {
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.3rem;
    overflow: hidden;
    flex-shrink: 0;
}

.author-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.author-info h4 {
    font-size: 1rem;
    margin-bottom: 3px;
}

.author-info p {
    font-size: 0.85rem;
    color: var(--text-color);
}

/* Contacto */
.contact {
    background: var(--white);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 60px;
}

.contact-info h3 {
    font-size: 1.8rem;
    margin-bottom: 30px;
}

.contact-item {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
    align-items: flex-start;
}

.contact-item i {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-top: 5px;
}

.contact-item h4 {
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.contact-item p {
    color: var(--text-color);
}

/* Formulario */
.contact-form {
    background: var(--light-color);
    padding: 40px;
    border-radius: var(--border-radius);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--dark-color);
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group input[type="number"],
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid var(--secondary-color);
    border-radius: 8px;
    font-family: 'Poppins', sans-serif;
    font-size: 0.95rem;
    transition: var(--transition);
    background: var(--white);
    color: var(--dark-color);
    box-sizing: border-box;
}

.form-group input[type="text"]:focus,
.form-group input[type="email"]:focus,
.form-group input[type="tel"]:focus,
.form-group input[type="number"]:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(216, 167, 177, 0.2);
}

.form-group select {
    width: 100%;
    padding: 12px 15px;
    padding-right: 40px;
    border: 2px solid var(--secondary-color);
    border-radius: 8px;
    font-family: 'Poppins', sans-serif;
    font-size: 0.95rem;
    transition: var(--transition);
    background: var(--white);
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23d8a7b1' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 15px center;
    box-sizing: border-box;
}

.form-group select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(216, 167, 177, 0.2);
}

.product-select {
    background: linear-gradient(135deg, var(--light-color) 0%, var(--white) 100%);
    border: 2px solid var(--primary-light);
    font-weight: 500;
    cursor: pointer;
    min-height: 120px;
    padding: 10px;
}

.product-select[multiple] {
    min-height: 150px;
    overflow-y: auto;
}

.product-select option {
    padding: 8px 12px;
    margin: 2px 0;
    border-radius: 4px;
    cursor: pointer;
}

.product-select option:hover {
    background: var(--light-color);
}

.product-select option:checked {
    background: var(--primary-color);
    color: white;
    font-weight: 600;
}

.product-select:hover {
    border-color: var(--primary-color);
    background: var(--white);
}

.product-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(216, 167, 177, 0.2);
    background: var(--white);
    outline: none;
}

/* Productos personalizados */
.custom-product-item {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.custom-product-input {
    flex: 1;
    padding: 10px 15px;
    border: 2px solid var(--secondary-color);
    border-radius: 8px;
    font-family: 'Poppins', sans-serif;
    font-size: 0.95rem;
    transition: var(--transition);
    background: var(--white);
    color: var(--dark-color);
}

.custom-product-input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(216, 167, 177, 0.2);
}

.btn-add-product {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 8px;
    font-family: 'Poppins', sans-serif;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-add-product:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(216, 167, 177, 0.3);
}

.btn-remove-product {
    background: #e74c3c;
    color: white;
    border: none;
    padding: 8px 12px;
    border-radius: 6px;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 36px;
}

.btn-remove-product:hover {
    background: #c0392b;
    transform: scale(1.05);
}

/* Campos de ejemplo de producto */
.file-input {
    width: 100%;
    padding: 10px 15px;
    border: 2px solid var(--secondary-color);
    border-radius: 8px;
    font-family: 'Poppins', sans-serif;
    font-size: 0.95rem;
    transition: var(--transition);
    background: var(--white);
    color: var(--dark-color);
    box-sizing: border-box;
    cursor: pointer;
}

.file-input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(216, 167, 177, 0.2);
}

.custom-product-textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid var(--secondary-color);
    border-radius: 8px;
    font-family: 'Poppins', sans-serif;
    font-size: 0.95rem;
    transition: var(--transition);
    background: var(--white);
    color: var(--dark-color);
    box-sizing: border-box;
    resize: vertical;
}

.custom-product-textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(216, 167, 177, 0.2);
}

.form-hint {
    display: block;
    margin-top: 8px;
    color: #7a6a6a;
    font-size: 0.85rem;
    font-style: italic;
}

.form-hint i {
    color: var(--primary-color);
    margin-right: 5px;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

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

.preference-option {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px;
    background: var(--white);
    border: 2px solid var(--secondary-color);
    border-radius: 8px;
    cursor: pointer;
    transition: var(--transition);
}

.preference-option:hover {
    border-color: var(--primary-color);
    background: var(--secondary-color);
}

.preference-option input[type="checkbox"] {
    width: auto;
    cursor: pointer;
}

.budget-slider {
    margin-top: 10px;
}

.budget-slider input[type="range"] {
    width: 100%;
    height: 8px;
    border-radius: 5px;
    background: var(--secondary-color);
    outline: none;
    -webkit-appearance: none;
}

.budget-slider input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--primary-color);
    cursor: pointer;
    transition: var(--transition);
}

.budget-slider input[type="range"]::-webkit-slider-thumb:hover {
    transform: scale(1.2);
    background: var(--primary-dark);
}

.budget-slider input[type="range"]::-moz-range-thumb {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--primary-color);
    cursor: pointer;
    border: none;
    transition: var(--transition);
}

.budget-labels {
    display: flex;
    justify-content: space-between;
    margin-top: 10px;
    font-size: 0.85rem;
    color: var(--text-color);
}

.budget-labels span {
    font-weight: 500;
}

.form-footer {
    margin-top: 30px;
}

.form-footer .btn-large {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-submit-form {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.form-group textarea#message {
    width: 100%;
    box-sizing: border-box;
}

.form-note {
    margin-top: 15px;
    font-size: 0.85rem;
    color: var(--text-color);
    text-align: center;
}

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

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h3 {
    color: var(--white);
    margin-bottom: 20px;
    font-size: 1.3rem;
}

.footer-section p,
.footer-section li {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.8;
    margin-bottom: 10px;
}

.footer-section a {
    color: rgba(255, 255, 255, 0.8);
    transition: var(--transition);
}

.footer-section a:hover {
    color: var(--primary-color);
}

.footer-social {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.footer-social a:hover {
    background: var(--primary-color);
    transform: translateY(-3px);
}

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

/* Botón WhatsApp Flotante */
.whatsapp-button,
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: #25d366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.8rem;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    transition: var(--transition);
    text-decoration: none;
}

/* Botón para volver al inicio */
.back-to-top {
    position: fixed;
    bottom: 100px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: var(--white);
    border: none;
    border-radius: 50%;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(216, 167, 177, 0.4);
    z-index: 999;
    transition: var(--transition);
    opacity: 0;
    transform: translateY(20px);
}

.back-to-top.show {
    display: flex;
    opacity: 1;
    transform: translateY(0);
}

/* Forzar alineación vertical en tablet y celular */
@media (max-width: 768px) {
    .back-to-top.show {
        bottom: 20px !important;
        transform: none !important;
    }
}

@media (max-width: 480px) {
    .back-to-top.show {
        bottom: 15px !important;
        transform: none !important;
    }
}

.back-to-top:hover {
    background: var(--primary-dark);
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(216, 167, 177, 0.6);
}

/* Responsive para botones flotantes */
@media (max-width: 768px) {
    .whatsapp-float {
        bottom: 20px !important;
        right: 20px;
        width: 55px;
        height: 55px;
        font-size: 1.6rem;
        display: flex !important;
        align-items: center;
        justify-content: center;
        transform: none !important;
    }
    
    .back-to-top {
        bottom: 20px !important;
        left: 20px;
        right: auto !important;
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
        display: flex !important;
        align-items: center;
        justify-content: center;
        transform: none !important;
        opacity: 1 !important;
    }
    
    .back-to-top.show {
        bottom: 20px !important;
        transform: none !important;
        opacity: 1 !important;
    }
    
    /* Asegurar que ambos botones estén exactamente a la misma altura */
    .whatsapp-float,
    .back-to-top {
        vertical-align: bottom !important;
        position: fixed !important;
    }
}

@media (max-width: 480px) {
    .whatsapp-float {
        bottom: 15px !important;
        right: 15px;
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
        display: flex !important;
        align-items: center;
        justify-content: center;
        transform: none !important;
    }
    
    .back-to-top {
        bottom: 15px !important;
        left: 15px;
        right: auto !important;
        width: 42px;
        height: 42px;
        font-size: 1rem;
        display: flex !important;
        align-items: center;
        justify-content: center;
        transform: none !important;
        opacity: 1 !important;
    }
    
    .back-to-top.show {
        bottom: 15px !important;
        transform: none !important;
        opacity: 1 !important;
    }
    
    /* Asegurar que ambos botones estén exactamente a la misma altura */
    .whatsapp-float,
    .back-to-top {
        vertical-align: bottom !important;
        position: fixed !important;
    }
}

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

.whatsapp-tooltip {
    position: absolute;
    right: 70px;
    top: 50%;
    transform: translateY(-50%) translateX(20px);
    background: var(--dark-color);
    color: var(--white);
    padding: 10px 15px;
    border-radius: 8px;
    font-size: 0.85rem;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition);
}

.whatsapp-tooltip::after {
    content: '';
    position: absolute;
    right: -5px;
    top: 50%;
    transform: translateY(-50%);
    border: 5px solid transparent;
    border-left-color: var(--dark-color);
}

.whatsapp-notification {
    position: absolute;
    top: -8px;
    right: -8px;
    background: #e74c3c;
    color: var(--white);
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    font-weight: 700;
    opacity: 0;
    transform: scale(0);
    transition: var(--transition);
}

.whatsapp-button.show-notification .whatsapp-notification,
.whatsapp-float.show-notification .whatsapp-notification {
    opacity: 1;
    transform: scale(1);
}

/* Elementos flotantes decorativos */
.floating-elements {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
    overflow: hidden;
}

.floating-element {
    position: absolute;
    border-radius: 50%;
    opacity: 0.1;
}

.element-1 {
    width: 200px;
    height: 200px;
    background: var(--primary-color);
    top: 10%;
    left: -100px;
}

.element-2 {
    width: 150px;
    height: 150px;
    background: var(--accent-color);
    top: 60%;
    right: -75px;
}

.element-3 {
    width: 100px;
    height: 100px;
    background: var(--secondary-color);
    bottom: 20%;
    left: 5%;
}

.floating {
    animation: float 20s infinite ease-in-out;
}

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

/* Animaciones */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in-up.animated {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive */
@media (max-width: 992px) {
    .nav-menu {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background: var(--white);
        flex-direction: column;
        padding: 40px 20px;
        transition: var(--transition);
        box-shadow: var(--shadow);
    }

    .nav-menu.active {
        left: 0;
    }

    .menu-toggle {
        display: block;
    }

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

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-actions {
        justify-content: center;
    }

    .hero-stats {
        justify-content: center;
    }

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

    .form-row {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    /* Hero Section */
    .hero {
        padding: 100px 0 50px;
    }
    
    body.has-admin-bar .hero {
        padding-top: 140px;
    }

    .hero-title {
        font-size: 1.8rem;
        line-height: 1.2;
        margin-bottom: 15px;
    }

    .hero-subtitle {
        font-size: 0.95rem;
        margin-bottom: 25px;
    }

    .hero-actions {
        flex-direction: column;
        gap: 12px;
        width: 100%;
    }

    .hero-actions .btn {
        width: 100%;
        justify-content: center;
        padding: 12px 20px;
        font-size: 0.9rem;
    }

    .hero-stats {
        flex-wrap: wrap;
        gap: 20px;
        margin-top: 30px;
    }

    .hero-stats .stat {
        flex: 1 1 calc(50% - 10px);
        min-width: 120px;
    }

    /* Secciones */
    .section-title {
        font-size: 1.8rem;
        margin-bottom: 10px;
    }

    .section-subtitle {
        font-size: 0.9rem;
        margin-bottom: 30px;
    }

    /* Servicios */
    .services {
        padding: 50px 0;
    }

    .services-grid {
        display: flex !important;
        flex-direction: column !important;
        grid-template-columns: none !important;
        gap: 20px;
    }
    
    .services-grid[data-services-count="1"],
    .services-grid[data-services-count="2"],
    .services-grid[data-services-count="3"],
    .services-grid[data-services-count="4"],
    .services-grid[data-services-count="5"],
    .services-grid[data-services-count="6"],
    .services-grid[data-services-count="7"],
    .services-grid[data-services-count="8"],
    .services-grid[data-services-count="9"],
    .services-grid[data-services-count="10"],
    .services-grid[data-services-count="11"],
    .services-grid[data-services-count="12"] {
        display: flex !important;
        flex-direction: column !important;
        grid-template-columns: none !important;
        max-width: 100% !important;
        margin: 0 !important;
    }

    .service-card {
        padding: 25px 20px;
    }

    .service-icon {
        width: 60px;
        height: 60px;
        font-size: 1.8rem;
        margin-bottom: 15px;
    }

    .service-card h3 {
        font-size: 1.2rem;
        margin-bottom: 10px;
    }

    .service-card p {
        font-size: 0.9rem;
    }

    /* Galería */
    .gallery {
        padding: 50px 0;
    }

    .gallery-filters {
        flex-wrap: wrap;
        gap: 8px;
        margin-bottom: 25px;
    }

    .filter-btn {
        padding: 8px 16px;
        font-size: 0.85rem;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .gallery-item {
        border-radius: 12px;
        overflow: hidden;
    }

    .gallery-info h3 {
        font-size: 1.1rem;
        margin-bottom: 8px;
    }

    .gallery-description {
        font-size: 0.85rem;
        margin-bottom: 10px;
    }

    /* Testimonios */
    .testimonials {
        padding: 50px 0;
    }

    .testimonials-list,
    .testimonials-grid {
        gap: 20px;
    }

    .testimonial-card {
        padding: 20px;
    }

    .testimonial-text {
        font-size: 0.95rem;
        margin-bottom: 15px;
    }

    .testimonial-author {
        gap: 12px;
    }

    .author-avatar {
        width: 45px;
        height: 45px;
    }

    .author-info h4 {
        font-size: 1rem;
    }

    .author-info p {
        font-size: 0.85rem;
    }

    /* Proceso */
    .process {
        padding: 50px 0;
    }

    .process-steps {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .step {
        padding: 25px 20px;
    }

    .step-number {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
        margin-bottom: 15px;
    }

    .step h3 {
        font-size: 1.2rem;
        margin-bottom: 10px;
    }

    .step p {
        font-size: 0.9rem;
    }

    /* Contacto */
    .contact {
        padding: 50px 0;
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .contact-info {
        order: 2;
    }

    .contact-form {
        order: 1;
        padding: 25px 20px;
    }

    .contact-item {
        margin-bottom: 20px;
    }

    .contact-item i {
        font-size: 1.2rem;
        width: 35px;
    }

    .contact-item h4 {
        font-size: 1rem;
        margin-bottom: 5px;
    }

    .contact-item p {
        font-size: 0.9rem;
    }

    .form-group {
        margin-bottom: 20px;
    }

    .form-group label {
        font-size: 0.9rem;
        margin-bottom: 8px;
    }

    .form-group input,
    .form-group select,
    .form-group textarea {
        font-size: 0.9rem;
        padding: 10px 12px;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .preferences-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .preference-option {
        padding: 10px;
        font-size: 0.9rem;
    }

    .budget-slider {
        margin: 15px 0;
    }

    .budget-labels {
        font-size: 0.85rem;
        margin-top: 8px;
    }

    .form-footer {
        margin-top: 25px;
    }

    .form-footer .btn {
        width: 100%;
        justify-content: center;
        padding: 12px 20px;
        font-size: 0.9rem;
    }

    .form-note {
        font-size: 0.8rem;
        margin-top: 15px;
    }

    /* Modales - Producto y Lightbox */
    .product-modal-content {
        max-width: 95%;
        width: 95%;
        margin: 10px;
        max-height: 90vh;
        border-radius: 16px;
    }

    .product-modal-body {
        padding: 20px 15px;
    }

    .product-modal-image {
        margin-bottom: 20px;
    }

    .product-modal-image img {
        border-radius: 12px;
    }

    .product-modal-info h2 {
        font-size: 1.4rem;
        margin-bottom: 12px;
    }

    .product-modal-info p {
        font-size: 0.9rem;
        margin-bottom: 15px;
    }

    .product-modal-meta {
        flex-direction: column;
        gap: 10px;
        margin-bottom: 20px;
    }

    .lightbox-content {
        max-width: 95%;
        max-height: 90vh;
    }

    .lightbox-content img {
        max-width: 100%;
        max-height: 85vh;
        object-fit: contain;
    }

    .lightbox-close,
    .product-modal-close {
        width: 35px;
        height: 35px;
        font-size: 1.5rem;
        top: 10px;
        right: 10px;
    }
}

/* Mensajes del formulario */
.form-messages {
    padding: 15px 20px;
    border-radius: 8px;
    margin-bottom: 25px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    animation: slideDown 0.3s ease;
}

.form-errors {
    background: #fff3cd;
    border: 2px solid #ffc107;
    color: #856404;
}

.form-errors i {
    color: #ffc107;
    font-size: 1.5rem;
    margin-top: 2px;
}

.form-errors ul {
    margin: 8px 0 0 0;
    padding-left: 20px;
}

.form-errors li {
    margin-bottom: 5px;
}

.form-error {
    background: #f8d7da;
    border: 2px solid #dc3545;
    color: #721c24;
}

.form-error i {
    color: #dc3545;
    font-size: 1.3rem;
}

@keyframes slideDown {
    from {
        transform: translateY(-20px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Modal de éxito */
.success-modal {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    z-index: 10000;
    align-items: center;
    justify-content: center;
    /* Sin animación por defecto para evitar parpadeos */
    transition: opacity 0.3s ease, visibility 0.3s ease;
    pointer-events: none;
}

.success-modal.active {
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
    pointer-events: auto;
}


.success-modal-content {
    background: white;
    border-radius: 20px;
    padding: 40px;
    max-width: 500px;
    width: 90%;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: slideUp 0.4s ease;
    position: relative;
}

.success-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto 25px;
    background: linear-gradient(135deg, #2ecc71, #27ae60);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: scaleIn 0.5s ease;
}

.success-icon i {
    font-size: 3.5rem;
    color: white;
    animation: checkmark 0.6s ease 0.3s both;
}

.success-modal-content h2 {
    color: var(--dark-color);
    font-size: 1.8rem;
    margin-bottom: 15px;
    font-weight: 700;
}

.success-modal-content > p {
    color: #7a6a6a;
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 25px;
}

.success-details {
    background: var(--light-color);
    border-radius: 12px;
    padding: 20px;
    margin: 25px 0;
    text-align: left;
}

.success-details p {
    color: var(--dark-color);
    font-weight: 600;
    margin-bottom: 12px;
    text-align: center;
}

.success-details ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.success-details li {
    padding: 8px 0;
    color: #7a6a6a;
    display: flex;
    align-items: center;
    gap: 10px;
}

.success-details li i {
    color: #2ecc71;
    font-size: 0.9rem;
}

@keyframes fadeIn {
    from { 
        opacity: 0; 
    }
    to { 
        opacity: 1; 
    }
}

@keyframes slideUp {
    from {
        transform: translateY(50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes scaleIn {
    from {
        transform: scale(0);
    }
    to {
        transform: scale(1);
    }
}

@keyframes checkmark {
    0% {
        transform: scale(0) rotate(45deg);
    }
    50% {
        transform: scale(1.2) rotate(45deg);
    }
    100% {
        transform: scale(1) rotate(0deg);
    }
}

/* Lightbox para imágenes del hero */
.image-lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 10001;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease;
}

.image-lightbox.active {
    display: flex;
}

.lightbox-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
    text-align: center;
}

.lightbox-content img {
    max-width: 100%;
    max-height: 85vh;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

.lightbox-content p {
    color: white;
    margin-top: 20px;
    font-size: 1.2rem;
    font-weight: 500;
}

.lightbox-close {
    position: absolute;
    top: -40px;
    right: 0;
    background: none;
    border: none;
    color: white;
    font-size: 3rem;
    cursor: pointer;
    transition: transform 0.3s ease;
    z-index: 10002;
}

.lightbox-close:hover {
    transform: rotate(90deg);
}

/* Modal de detalles de producto */
.product-details-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 10000;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease;
    overflow-y: auto;
    padding: 20px;
}

.product-details-modal.active {
    display: flex;
}

.product-modal-content {
    background: white;
    border-radius: 20px;
    max-width: 800px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    animation: slideUp 0.4s ease;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}


.product-modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    font-size: 2.5rem;
    color: #7a6a6a;
    cursor: pointer;
    z-index: 10001;
    transition: color 0.3s ease, transform 0.3s ease;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.product-modal-close:hover {
    color: #e74c3c;
    transform: rotate(90deg);
    background: rgba(231, 76, 60, 0.1);
}

.product-modal-body {
    padding: 40px;
}

.product-modal-image {
    width: 100%;
    min-height: 400px;
    height: auto;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    border-radius: 12px;
    margin-bottom: 25px;
    background: linear-gradient(135deg, var(--primary-light), var(--secondary-color));
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-modal-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.product-modal-info {
    position: relative;
}

.product-modal-badge {
    display: inline-block;
    background: var(--primary-dark);
    color: white;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 15px;
}

.product-modal-info h2 {
    font-size: 2rem;
    color: var(--dark-color);
    margin-bottom: 15px;
    font-weight: 700;
}

.product-modal-description {
    color: var(--text-color);
    line-height: 1.8;
    margin-bottom: 25px;
    font-size: 1.05rem;
}

.product-modal-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 30px;
    padding: 20px;
    background: var(--light-color);
    border-radius: 12px;
}

.product-modal-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    font-family: 'Playfair Display', serif;
}

.product-modal-time,
.product-modal-category {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-color);
    font-size: 0.95rem;
}

.product-modal-time i,
.product-modal-category i {
    color: var(--primary-color);
}

.product-modal-actions {
    margin-top: 30px;
}

.product-modal-actions .btn {
    width: 100%;
    justify-content: center;
}

/* Cursor pointer para elementos clickeables */
.main-image,
.grid-item,
.gallery-image .image-overlay {
    cursor: pointer;
}

@media (max-width: 992px) {
    /* Tablets */
    .success-modal-content {
        padding: 25px 20px;
        margin: 15px;
        max-width: 90%;
        width: 90%;
    }
    
    .success-icon {
        width: 70px;
        height: 70px;
        margin-bottom: 20px;
    }
    
    .success-icon i {
        font-size: 2.2rem;
    }
    
    .success-modal-content h2 {
        font-size: 1.4rem;
        margin-bottom: 12px;
    }
    
    .success-modal-content > p {
        font-size: 0.95rem;
        margin-bottom: 20px;
    }
    
    .success-details {
        padding: 15px;
        margin: 20px 0;
    }
    
    .success-details p {
        font-size: 0.9rem;
        margin-bottom: 12px;
    }
    
    .success-details ul {
        font-size: 0.85rem;
    }
    
    .success-details ul li {
        margin-bottom: 8px;
        padding-left: 20px;
    }
    
    .success-details ul li i {
        font-size: 0.8rem;
    }
    
    .success-modal-content .btn {
        padding: 12px 24px;
        font-size: 0.9rem;
    }
}

@media (max-width: 768px) {
    /* Móviles */
    .success-modal {
        padding: 10px;
    }
    
    .success-modal-content {
        padding: 20px 15px;
        margin: 10px;
        max-width: 95%;
        width: 95%;
        border-radius: 16px;
        max-height: 90vh;
        overflow-y: auto;
    }
    
    .success-icon {
        width: 60px;
        height: 60px;
        margin-bottom: 15px;
    }
    
    .success-icon i {
        font-size: 1.8rem;
    }
    
    .success-modal-content h2 {
        font-size: 1.3rem;
        margin-bottom: 10px;
        line-height: 1.3;
    }
    
    .success-modal-content > p {
        font-size: 0.9rem;
        margin-bottom: 15px;
        line-height: 1.5;
    }
    
    .success-details {
        padding: 12px;
        margin: 15px 0;
        border-radius: 10px;
    }
    
    .success-details p {
        font-size: 0.85rem;
        margin-bottom: 10px;
        font-weight: 600;
    }
    
    .success-details ul {
        font-size: 0.8rem;
        padding-left: 0;
        margin: 0;
    }
    
    .success-details ul li {
        margin-bottom: 6px;
        padding-left: 18px;
        line-height: 1.4;
    }
    
    .success-details ul li i {
        font-size: 0.75rem;
        margin-right: 6px;
    }
    
    .success-modal-content .btn {
        padding: 10px 20px;
        font-size: 0.85rem;
        width: 100%;
        justify-content: center;
    }
    
    .success-modal-content .modal-close-btn {
        top: 10px !important;
        right: 10px !important;
        font-size: 1.5rem !important;
        width: 32px !important;
        height: 32px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        background: rgba(255, 255, 255, 0.9) !important;
        border-radius: 50% !important;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15) !important;
        padding: 0 !important;
    }
    
    .success-modal-content .modal-close-btn:hover {
        background: rgba(231, 76, 60, 0.1) !important;
        color: #e74c3c !important;
    }
}

@media (max-width: 480px) {
    /* Móviles pequeños */
    .success-modal-content {
        padding: 18px 12px;
        margin: 8px;
        max-width: 98%;
        width: 98%;
        border-radius: 12px;
    }
    
    .success-icon {
        width: 50px;
        height: 50px;
        margin-bottom: 12px;
    }
    
    .success-icon i {
        font-size: 1.5rem;
    }
    
    .success-modal-content h2 {
        font-size: 1.15rem;
        margin-bottom: 8px;
    }
    
    .success-modal-content > p {
        font-size: 0.85rem;
        margin-bottom: 12px;
    }
    
    .success-details {
        padding: 10px;
        margin: 12px 0;
    }
    
    .success-details p {
        font-size: 0.8rem;
        margin-bottom: 8px;
    }
    
    .success-details ul {
        font-size: 0.75rem;
    }
    
    .success-details ul li {
        margin-bottom: 5px;
        padding-left: 16px;
    }
    
    .success-details ul li i {
        font-size: 0.7rem;
    }
    
    .success-modal-content .btn {
        padding: 10px 18px;
        font-size: 0.8rem;
    }
    
    .success-modal-content .modal-close-btn {
        top: 8px !important;
        right: 8px !important;
        font-size: 1.3rem !important;
        width: 28px !important;
        height: 28px !important;
        background: rgba(255, 255, 255, 0.9) !important;
        border-radius: 50% !important;
        box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15) !important;
    }
}
    
    /* Modales - Lightbox y Producto */
    .lightbox-content {
        max-width: 95%;
        max-height: 90vh;
        padding: 10px;
    }
    
    .lightbox-content img {
        max-width: 100%;
        max-height: 85vh;
        object-fit: contain;
        border-radius: 8px;
    }
    
    .lightbox-close {
        top: 10px;
        right: 10px;
        width: 35px;
        height: 35px;
        font-size: 1.5rem;
        background: rgba(255, 255, 255, 0.9);
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .product-modal-content {
        margin: 10px;
        max-width: 95%;
        width: 95%;
        max-height: 90vh;
        border-radius: 16px;
    }
    
    .product-modal-body {
        padding: 20px 15px;
    }
    
    .product-modal-image {
        height: 200px;
        margin-bottom: 15px;
    }
    
    .product-modal-image img {
        border-radius: 12px;
    }
    
    .product-modal-info h2 {
        font-size: 1.4rem;
        margin-bottom: 12px;
    }
    
    .product-modal-description {
        font-size: 0.9rem;
        margin-bottom: 15px;
        line-height: 1.6;
    }
    
    .product-modal-meta {
        flex-direction: column;
        gap: 10px;
        margin-bottom: 15px;
    }
    
    .product-modal-meta .price,
    .product-modal-meta .time,
    .product-modal-meta .category {
        font-size: 0.9rem;
        padding: 8px 12px;
    }
    
    .product-modal-close {
        width: 35px;
        height: 35px;
        font-size: 1.5rem;
        top: 10px;
        right: 10px;
        background: rgba(255, 255, 255, 0.9);
        border-radius: 50%;
    }
}

@media (max-width: 480px) {
    /* Ajustes completos para móviles pequeños - 100% responsive */
    
    /* Container - 100% ancho con padding mínimo */
    .container {
        width: 100%;
        max-width: 100%;
        padding: 0 12px;
        margin: 0;
        box-sizing: border-box;
    }
    
    /* Asegurar que todos los elementos usen box-sizing */
    * {
        box-sizing: border-box;
    }
    
    /* Hero Section */
    .hero {
        padding: 80px 0 40px;
        width: 100%;
        overflow-x: hidden;
    }
    
    .hero .container {
        width: 100%;
        padding: 0 12px;
    }
    
    .hero-content {
        width: 100%;
        padding: 0;
    }
    
    .hero-title {
        font-size: 1.6rem;
        line-height: 1.2;
        word-wrap: break-word;
    }
    
    .hero-subtitle {
        font-size: 0.9rem;
        word-wrap: break-word;
    }
    
    .hero-actions {
        width: 100%;
        flex-direction: column;
    }
    
    .hero-actions .btn {
        width: 100%;
        max-width: 100%;
    }
    
    .hero-stats {
        width: 100%;
        flex-direction: column;
        gap: 15px;
    }
    
    .hero-stats .stat {
        width: 100%;
    }
    
    .hero-image-container {
        width: 100%;
        margin-top: 25px;
    }
    
    /* Secciones */
    .section-header {
        width: 100%;
        padding: 0;
    }
    
    .section-title {
        font-size: 1.6rem;
        word-wrap: break-word;
    }
    
    .section-subtitle {
        font-size: 0.85rem;
        word-wrap: break-word;
    }
    
    /* Servicios - Cambiar de grid a filas en celulares */
    .services {
        width: 100%;
        padding: 40px 0;
    }
    
    .services-grid {
        width: 100% !important;
        display: flex !important;
        flex-direction: column !important;
        grid-template-columns: none !important;
        gap: 15px;
    }
    
    /* Sobrescribir todos los atributos data-services-count en celulares */
    .services-grid[data-services-count="1"],
    .services-grid[data-services-count="2"],
    .services-grid[data-services-count="3"],
    .services-grid[data-services-count="4"],
    .services-grid[data-services-count="5"],
    .services-grid[data-services-count="6"],
    .services-grid[data-services-count="7"],
    .services-grid[data-services-count="8"],
    .services-grid[data-services-count="9"],
    .services-grid[data-services-count="10"],
    .services-grid[data-services-count="11"],
    .services-grid[data-services-count="12"] {
        display: flex !important;
        flex-direction: column !important;
        grid-template-columns: none !important;
        max-width: 100% !important;
        margin: 0 !important;
    }
    
    .service-card {
        width: 100%;
        max-width: 100%;
        padding: 20px 15px;
    }
    
    /* Galería */
    .gallery {
        width: 100%;
        padding: 40px 0;
    }
    
    .gallery-filters {
        width: 100%;
        flex-wrap: wrap;
        gap: 6px;
        padding: 0;
    }
    
    .filter-btn {
        flex: 1 1 auto;
        min-width: calc(50% - 3px);
        max-width: 100%;
    }
    
    .gallery-grid {
        width: 100%;
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .gallery-item {
        width: 100%;
        max-width: 100%;
    }
    
    .gallery-image {
        width: 100%;
    }
    
    .gallery-image img {
        width: 100%;
        max-width: 100%;
        height: auto;
    }
    
    /* Testimonios */
    .testimonials {
        width: 100%;
        padding: 40px 0;
    }
    
    .testimonials-list,
    .testimonials-grid {
        width: 100%;
        gap: 15px;
    }
    
    .testimonial-card {
        width: 100%;
        max-width: 100%;
        padding: 18px 15px;
    }
    
    /* Proceso */
    .process {
        width: 100%;
        padding: 40px 0;
    }
    
    .process-steps {
        width: 100%;
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .step {
        width: 100%;
        max-width: 100%;
        padding: 20px 15px;
    }
    
    /* Contacto */
    .contact {
        width: 100%;
        padding: 40px 0;
    }
    
    .contact-content {
        width: 100%;
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .contact-info {
        width: 100%;
    }
    
    .contact-form {
        width: 100%;
        max-width: 100%;
        padding: 20px 15px;
    }
    
    .form-group {
        width: 100%;
    }
    
    .form-group input,
    .form-group select,
    .form-group textarea {
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }
    
    .form-row {
        width: 100%;
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .preferences-grid {
        width: 100%;
        grid-template-columns: 1fr;
        gap: 10px;
    }
    
    .preference-option {
        width: 100%;
    }
    
    .budget-slider {
        width: 100%;
    }
    
    .budget-slider input[type="range"] {
        width: 100%;
    }
    
    .form-footer {
        width: 100%;
    }
    
    .form-footer .btn {
        width: 100%;
        max-width: 100%;
    }
    
    /* Modales - Lightbox */
    .lightbox-content {
        width: 100%;
        max-width: 100%;
        padding: 10px;
        box-sizing: border-box;
    }
    
    .lightbox-content img {
        width: 100%;
        max-width: 100%;
        max-height: 80vh;
        height: auto;
    }
    
    .lightbox-close {
        width: 32px;
        height: 32px;
        font-size: 1.3rem;
        top: 8px;
        right: 8px;
    }
    
    /* Modales - Producto */
    .product-modal-content {
        width: 100%;
        max-width: 100%;
        margin: 0;
        border-radius: 12px;
        box-sizing: border-box;
    }
    
    .product-modal-body {
        width: 100%;
        padding: 18px 12px;
        box-sizing: border-box;
    }
    
    .product-modal-image {
        width: 100%;
        max-width: 100%;
        height: auto;
        min-height: 200px;
        margin-bottom: 12px;
    }
    
    .product-modal-image img {
        width: 100%;
        max-width: 100%;
        height: auto;
    }
    
    .product-modal-info {
        width: 100%;
    }
    
    .product-modal-info h2 {
        font-size: 1.2rem;
        margin-bottom: 10px;
        word-wrap: break-word;
    }
    
    .product-modal-description {
        font-size: 0.85rem;
        margin-bottom: 12px;
        word-wrap: break-word;
    }
    
    .product-modal-meta {
        width: 100%;
        flex-direction: column;
        gap: 8px;
        margin-bottom: 12px;
    }
    
    .product-modal-meta .price,
    .product-modal-meta .time,
    .product-modal-meta .category {
        width: 100%;
        font-size: 0.85rem;
        padding: 8px 12px;
    }
    
    .product-modal-close {
        width: 32px;
        height: 32px;
        font-size: 1.3rem;
        top: 8px;
        right: 8px;
    }
    
    /* Header y Navbar - Ajustar ancho igual al resto del sitio y reducir espaciado */
    .header {
        width: 100%;
    }
    
    .header .container {
        width: 100%;
        max-width: 100%;
        padding: 0 12px;
        margin: 0;
        box-sizing: border-box;
    }
    
    .navbar {
        width: 100%;
        padding: 12px 0;
        gap: 4px;
        justify-content: space-between;
    }
    
    .logo {
        flex: 0 0 auto;
        font-size: 1.5rem;
        margin-right: 4px;
    }
    
    .nav-actions {
        flex: 0 0 auto;
        gap: 4px;
        margin-left: 4px;
    }
    
    .nav-actions .btn {
        padding: 8px 10px;
        font-size: 0.75rem;
        white-space: nowrap;
    }
    
    .menu-toggle {
        width: 38px;
        height: 38px;
        font-size: 1.1rem;
        flex-shrink: 0;
    }
    
    .nav-menu {
        width: 100%;
        max-width: 100%;
    }
    
    /* Footer - Mismo ancho que el resto */
    footer {
        width: 100%;
        padding: 40px 0 20px;
    }
    
    footer .container {
        width: 100%;
        max-width: 100%;
        padding: 0 12px;
        margin: 0;
        box-sizing: border-box;
    }
    
    /* Asegurar que todas las secciones tengan el mismo padding */
    section .container {
        width: 100%;
        max-width: 100%;
        padding: 0 12px;
        margin: 0;
        box-sizing: border-box;
    }
    
    main .container {
        width: 100%;
        max-width: 100%;
        padding: 0 12px;
        margin: 0;
        box-sizing: border-box;
    }
    
    /* Mensajes del formulario */
    .form-messages {
        width: 100%;
        max-width: 100%;
        padding: 12px 15px;
        box-sizing: border-box;
    }
    
    /* Botón volver arriba */
    .back-to-top {
        bottom: 15px;
        left: 15px;
        right: auto;
        width: 42px;
        height: 42px;
    }
    
    /* Asegurar que no haya overflow horizontal */
    body {
        overflow-x: hidden;
        width: 100%;
    }
    
    html {
        overflow-x: hidden;
        width: 100%;
    }
}

/* En escritorio (PC solamente, min-width: 1024px), el modal de productos ocupa la mitad de la pantalla */
/* Esta regla debe estar al final para tener prioridad sobre las media queries móviles */
@media (min-width: 1024px) {
    .product-details-modal .product-modal-content {
        max-width: 50% !important;
        width: 50% !important;
    }
}
