/* ========================================
   SARAOMA - ESTILOS PRINCIPALES
   ======================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #ffffff;
}

/* ========================================
   NAVEGACIÓN
   ======================================== */

.navbar {
    background: #ffffff;
    padding: 1em 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.navbar-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-link {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo {
    height: 50px;
    max-width: 200px;
    object-fit: contain;
    transition: transform 0.3s ease;
    cursor: pointer;
}

.logo:hover {
    transform: scale(1.05);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2em;
}

.nav-link {
    color: #1e3a8a;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    padding: 8px 16px;
    border-radius: 5px;
}

.nav-link:hover,
.nav-link.active {
    background-color: #2518b5;
    color: white;
}

/* Menú Hamburguesa */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    z-index: 101;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: #1e3a8a;
    margin: 5px 0;
    border-radius: 3px;
    transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(10px, 10px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* Estilos móviles del navbar */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: #ffffff;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0,0,0,0.05);
        padding: 20px 0;
        gap: 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-link {
        display: block;
        padding: 15px;
        transition: all 0.3s ease;
        border-radius: 0;
        color: #1e3a8a;
    }

    .nav-link:hover,
    .nav-link.active {
        background-color: #f0f0f0;
        color: #2518b5;
    }
}

/* ========================================
   SECCIÓN HERO
   ======================================== */

.hero {
    background: #f8f9fa;
    color: #333;
    padding: 60px 20px;
    text-align: left;
}

.hero .container {
    max-width: 1200px;
    margin: 0 auto;
}

.hero-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4em;
    align-items: center;
}

.hero-label {
    display: inline-block;
    background-color: #ea7f61;
    color: white;
    padding: 0.4em 1.2em;
    border-radius: 20px;
    font-size: 0.75em;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1.5em;
}

.hero-content h1 {
    font-size: 3em;
    margin-bottom: 1.2em;
    animation: slideDown 0.8s ease-out;
    font-weight: 700;
    letter-spacing: -1px;
    color: #1e3a8a;
    line-height: 1.2;
}

.hero-content h1 .highlight-orange {
    color: #ea7f61;
}

.hero-content h1 .highlight-blue {
    color: #1e3a8a;
}

.hero-content p {
    font-size: 1em;
    margin-bottom: 2.5em;
    opacity: 0.85;
    max-width: 500px;
    color: #555;
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    gap: 1.5em;
    justify-content: flex-start;
    flex-wrap: wrap;
}

.cta-button {
    display: inline-block;
    padding: 15px 40px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    font-size: 0.95em;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: none;
    cursor: pointer;
}

.cta-button.btn-primary {
    background: linear-gradient(135deg, #2518b5 0%, #4c56af 100%);
    color: white;
    border: 2px solid #2518b5;
    box-shadow: 0 4px 15px rgba(37, 24, 181, 0.3);
}

.cta-button.btn-primary:hover {
    background: linear-gradient(135deg, #1d1590 0%, #3a4290 100%);
    border-color: #1d1590;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 24, 181, 0.4);
}

.cta-button.btn-secondary {
    background-color: transparent;
    color: #1e3a8a;
    border: 2px solid #1e3a8a;
    box-shadow: 0 4px 15px rgba(30, 58, 138, 0.1);
}

.cta-button.btn-secondary:hover {
    background-color: #1e3a8a;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(30, 58, 138, 0.2);
}

/* Hero Images */
.hero-images {
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 400px;
}

.hero-main-image {
    width: 100%;
    height: auto;
    max-width: 600px;
    object-fit: contain;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.12);
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ========================================
   CONTENEDOR Y ESPACIADO
   ======================================== */

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.intro-section,
.servicios-section,
.empastados-section,
.nuestros-servicios {
    padding: 60px 20px;
}

.intro-section {
    background-color: #f8f9fa;
}

.nuestros-servicios {
    background-color: #ffffff;
}

.nuestros-servicios h2,
.intro-section h2,
.servicios-section h2,
.empastados-section h2,
.process-section h2 {
    text-align: center;
    font-size: 2.5em;
    color: #1e3a8a;
    margin-bottom: 3em;
    position: relative;
    padding-bottom: 1.5em;
}

.nuestros-servicios h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: #ea7f61;
}

.intro-section > .container > p,
.empastados-intro p {
    text-align: center;
    font-size: 1.1em;
    color: #555;
    margin-bottom: 2em;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* ========================================
   SECCIÓN NUESTROS SERVICIOS
   ======================================== */

.servicios-layout {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 3em;
    align-items: start;
    margin-bottom: 4em;
}

.servicio-principal {
    display: flex;
    align-items: start;
}

.servicio-card-large {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
    transition: all 0.3s ease;
    width: 100%;
    cursor: pointer;
}

.servicio-card-large:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.15);
}

.servicio-card-large .servicio-img {
    width: 100%;
    height: 300px;
    object-fit: contain;
    background-color: #f5f5f5;
}

.servicio-card-large h3 {
    font-size: 1.6em;
    color: #1e3a8a;
    padding: 1.5em 1.5em 0.5em;
    margin-bottom: 0;
}

.servicio-card-large p {
    color: #666;
    font-size: 0.95em;
    padding: 0 1.5em;
    margin-bottom: 1.5em;
    line-height: 1.6;
}

.btn-solicitar {
    display: block;
    background: linear-gradient(135deg, #ea7f61 0%, #d97050 100%);
    color: white;
    text-align: center;
    padding: 14px;
    margin: 0 1.5em 1.5em;
    text-decoration: none;
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9em;
}

.btn-solicitar:hover {
    background: linear-gradient(135deg, #d97050 0%, #c45c3f 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(234, 127, 97, 0.3);
}

.servicios-lista {
    display: flex;
    flex-direction: column;
    gap: 1.8em;
}

.servicio-item {
    display: flex;
    gap: 1.5em;
    align-items: flex-start;
    padding: 1.5em;
    background-color: #f8f9fa;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.servicio-item:hover {
    background-color: #f0f1f3;
    transform: translateX(8px);
}

.servicio-icon {
    font-size: 2.5em;
    min-width: 40px;
    text-align: center;
}

.servicio-text h4 {
    color: #1e3a8a;
    font-size: 1.1em;
    margin-bottom: 0.5em;
    font-weight: 600;
}

.servicio-text p {
    color: #666;
    font-size: 0.9em;
    line-height: 1.5;
}

/* ========================================
   SECCIÓN DE CITA
   ======================================== */

.quote-wrap {
    background: #ffffff;
    padding: 60px 20px;
}

.quote-wrap .container {
    max-width: 1200px;
    margin: 0 auto;
}

.quote-section {
    text-align: center;
    padding: 3em 2em;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border-radius: 12px;
    border-left: 5px solid #ea7f61;
}

.quote-section blockquote {
    font-size: 1.3em;
    font-style: italic;
    color: #1e3a8a;
    margin-bottom: 1.5em;
    line-height: 1.8;
}

.quote-section blockquote::before {
    content: '"';
    font-size: 3em;
    color: #ea7f61;
    line-height: 0;
    margin-right: 0.1em;
}

.quote-author {
    color: #1e3a8a;
    font-weight: 700;
    font-size: 1em;
    margin-bottom: 0.3em;
}

.quote-role {
    color: #ea7f61;
    font-size: 0.8em;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-weight: 600;
}

/* ========================================
   TARJETAS DE CARACTERÍSTICAS
   ======================================== */

.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5em;
    margin-top: 2em;
}

.feature-card {
    background: white;
    padding: 2.5em 2em;
    border-radius: 8px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-top: 4px solid #2518b5;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 25px rgba(30, 58, 138, 0.15);
}

.feature-icon {
    font-size: 3em;
    margin-bottom: 1em;
}

.feature-card h3 {
    color: #1e3a8a;
    margin-bottom: 1em;
    font-size: 1.3em;
    font-weight: 600;
}

.feature-card p {
    color: #666;
    font-size: 0.95em;
    line-height: 1.6;
}

/* ========================================
   ENCABEZADO DE PÁGINAS
   ======================================== */

.page-header {
    background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
    color: white;
    padding: 60px 20px;
    text-align: center;
    margin-bottom: 3em;
}

.page-header h1 {
    font-size: 2.5em;
    margin-bottom: 0.5em;
}

.page-header p {
    font-size: 1.2em;
    opacity: 0.9;
}

/* ========================================
   GRID DE SERVICIOS
   ======================================== */

.servicios-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2em;
    margin-top: 2em;
}

.servicio-card {
    background: white;
    padding: 2em;
    border-radius: 10px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    cursor: pointer;
}

.servicio-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 25px rgba(30, 58, 138, 0.2);
}

.servicio-header {
    font-size: 2.5em;
    margin-bottom: 1em;
}

.servicio-card h3 {
    color: #1e3a8a;
    margin-bottom: 1em;
    font-size: 1.5em;
}

.servicio-card p {
    color: #666;
    margin-bottom: 1.5em;
}

.servicio-features {
    list-style: none;
    background-color: #f8f9fa;
    padding: 1.5em;
    border-radius: 5px;
}

.servicio-features li {
    padding: 0.5em 0;
    color: #333;
    font-weight: 500;
}

/* ========================================
   GRID DE EMPASTADOS
   ======================================== */

.empastados-intro {
    text-align: center;
    margin-bottom: 3em;
}

.empastados-intro h2 {
    margin-bottom: 1em;
}

.empastados-intro p {
    font-size: 1.1em;
    color: #666;
}

.empastados-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5em;
    margin-top: 2em;
}

.empastado-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    cursor: pointer;
}

.empastado-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 25px rgba(30, 58, 138, 0.15);
}

.empastado-card .card-image {
    width: 100%;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3em;
    overflow: hidden;
    background-color: #f0f0f0;
}

.empastado-card .card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.empastado-card:hover .card-image img {
    transform: scale(1.05);
}

.empastado-card .card-content {
    padding: 2em;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.empastado-card h3 {
    color: #1e3a8a;
    margin-bottom: 1em;
    font-size: 1.4em;
    font-weight: 600;
}

.empastado-card p {
    color: #666;
    margin-bottom: 1.5em;
    font-size: 0.95em;
    line-height: 1.6;
    flex-grow: 1;
}

.empastado-card-featured {
    border-top: 4px solid #2518b5;
}

.empastado-card-featured .card-image {
    background-color: #2d5080;
}

/* ========================================
   HERO SERVICIOS
   ======================================== */

.hero-servicios {
    background: #ffffff;
    padding: 0 40px 60px 40px;
    min-height: 600px;
    display: flex;
    align-items: center;
}

.hero-servicios .hero-content {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    width: 100%;
    position: relative;
}

.hero-servicios .hero-content > div:first-child {
    padding-right: 40px;
}

.hero-servicios .hero-content > div:first-child::before {
    content: 'EXCELENCIA EN PAPEL';
    display: block;
    color: #7cb342;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin-bottom: 15px;
}

.hero-servicios h1 {
    font-size: 3.8rem;
    color: #020b6f;
    line-height: 1.1;
    margin-bottom: 20px;
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-top: 0;
}

.hero-servicios .highlight {
    color: #d9512f;
    font-style: italic;
    display: block;
    font-size: 2.3rem;
    margin-top: 5px;
}

.hero-servicios p {
    font-size: 0.95rem;
    color: #44474e;
    line-height: 1.7;
    margin-bottom: 30px;
    max-width: 550px;
    font-weight: 400;
}

.hero-servicios .hero-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    align-items: center;
}

.hero-servicios .cta-button {
    padding: 20px 50px;
    font-size: 0.95rem;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 700;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    text-align: center;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.hero-servicios .btn-orange {
    background: #020b6f;
    color: white;
    border: 2px solid #020b6f;
}

.hero-servicios .btn-orange::after {
    content: '→';
    margin-left: 10px;
    font-size: 1.2rem;
}

.hero-servicios .btn-orange:hover {
    background: #202983;
    border-color: #202983;
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(2, 11, 111, 0.3);
}

.hero-servicios .btn-outline {
    display: none;
}

.hero-servicios .hero-content > div:nth-child(2) {
    position: relative;
    height: 480px;
    display: flex;
    align-items: center;
    justify-content: center;
    perspective: 1000px;
}

.hero-servicios .hero-content > div:nth-child(2)::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(2, 11, 111, 0.1) 0%, rgba(212, 81, 47, 0.08) 100%);
    border-radius: 20px;
    z-index: -1;
}

.hero-image-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f5f5f5;
    border-radius: 15px;
    font-size: 4rem;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.15));
}

@media (max-width: 1200px) {
    .hero-servicios {
        padding: 0 35px 55px 35px;
        min-height: auto;
    }

    .hero-servicios h1 {
        font-size: 3.4rem;
        margin-bottom: 18px;
    }

    .hero-servicios .highlight {
        font-size: 2.1rem;
        margin-top: 3px;
    }

    .hero-servicios .hero-content {
        gap: 50px;
    }
}

@media (max-width: 1024px) {
    .hero-servicios {
        padding: 50px 30px;
        min-height: 500px;
    }

    .hero-servicios h1 {
        font-size: 2.9rem;
        margin-bottom: 15px;
    }

    .hero-servicios .highlight {
        font-size: 1.9rem;
        margin-top: 3px;
    }

    .hero-servicios .hero-content {
        grid-template-columns: 1fr 0.9fr;
        gap: 40px;
    }

    .hero-servicios .hero-content > div:first-child {
        padding-right: 0;
    }

    .hero-servicios p {
        font-size: 0.9rem;
        margin-bottom: 25px;
    }

    .hero-servicios .hero-content > div:nth-child(2) {
        height: 420px;
    }

    .hero-servicios .cta-button {
        padding: 16px 40px;
        font-size: 0.9rem;
    }
}

@media (max-width: 768px) {
    .hero-servicios {
        padding: 45px 25px;
        min-height: auto;
    }

    .hero-servicios h1 {
        font-size: 2.2rem;
        margin-bottom: 12px;
    }

    .hero-servicios .highlight {
        font-size: 1.4rem;
        margin-top: 3px;
    }

    .hero-servicios .hero-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .hero-servicios p {
        font-size: 0.9rem;
        line-height: 1.6;
        margin-bottom: 25px;
    }

    .hero-servicios .hero-content > div:nth-child(2) {
        height: 350px;
    }

    .hero-servicios .cta-button {
        padding: 15px 35px;
        font-size: 0.8rem;
    }

    .hero-servicios .hero-buttons {
        gap: 12px;
    }
}

@media (max-width: 480px) {
    .hero-servicios {
        padding: 35px 18px;
    }

    .hero-servicios h1 {
        font-size: 1.8rem;
        margin-bottom: 10px;
    }

    .hero-servicios .highlight {
        font-size: 1.1rem;
        margin-top: 3px;
    }

    .hero-servicios p {
        font-size: 0.85rem;
        margin-bottom: 20px;
    }

    .hero-servicios .hero-content > div:nth-child(2) {
        height: 280px;
    }

    .hero-servicios .cta-button {
        padding: 12px 28px;
        font-size: 0.75rem;
    }

    .hero-servicios .btn-orange::after {
        margin-left: 5px;
        font-size: 0.9rem;
    }
}

.cta-button.btn-orange {
    background-color: #2518b5;
    color: white;
    padding: 12px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95em;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: none;
    cursor: pointer;
    display: inline-block;
}

.cta-button.btn-orange:hover {
    background-color: #2518b5;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 107, 53, 0.3);
}

.cta-button.btn-outline {
    background-color: transparent;
    color: white;
    border: 2px solid white;
    padding: 10px 28px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95em;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    display: inline-block;
}

.cta-button.btn-outline:hover {
    background-color: white;
    color: #1a3a52;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 255, 255, 0.2);
}

/* ========================================
   GRID DE SERVICIOS ACTUALIZADO
   ======================================== */

.servicios-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2em;
    margin-top: 2em;
}

.servicio-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    cursor: pointer;
}

.servicio-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 25px rgba(30, 58, 138, 0.15);
}

.servicio-card .card-image {
    width: 100%;
    height: 220px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3em;
    background-size: cover;
    background-position: center;
    overflow: hidden;
    background-color: #f0f0f0;
    transition: transform 0.3s ease;
}

.servicio-card:hover .card-image {
    transform: scale(1.05);
}

.servicio-card .card-content {
    padding: 1.5em;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.servicio-card h3 {
    color: #1e3a8a;
    margin-bottom: 0.7em;
    font-size: 1.2em;
    font-weight: 600;
}

.servicio-card p {
    color: #666;
    margin-bottom: 1em;
    font-size: 0.85em;
    line-height: 1.5;
    flex-grow: 1;
}

.btn-detalles {
    align-self: flex-start;
    background: transparent;
    color: #1e3a8a;
    border: 2px solid #1e3a8a;
    padding: 8px 18px;
    border-radius: 3px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.8em;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-decoration: none;
    display: inline-block;
}

.btn-detalles:hover {
    background-color: #1e3a8a;
    color: white;
    transform: translateY(-2px);
}

.servicio-card-featured {
    border-top: none;
}

.servicio-card-featured .card-image {
    background-color: #f5d9b5;
}

.btn-detalles-featured {
    border-color: #1e3a8a;
    color: #1e3a8a;
}

.btn-detalles-featured:hover {
    background-color: #1e3a8a;
    color: white;
}

/* ========================================
   HERO EMPASTADOS
   ======================================== */

.hero-empastados {
    background: linear-gradient(135deg, #1a3a52 0%, #2d5080 100%);
    color: white;
    padding: 100px 20px;
    text-align: center;
}

.hero-empastados h1 {
    font-size: 2.8em;
    margin-bottom: 1em;
    line-height: 1.2;
    font-weight: 400;
    letter-spacing: -0.5px;
}

.hero-empastados .highlight {
    color: #ff6b35;
    font-style: italic;
    font-weight: 400;
}

.hero-empastados p {
    font-size: 1.1em;
    margin-bottom: 2em;
    opacity: 0.9;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    font-weight: 300;
}

.hero-empastados .hero-buttons {
    display: flex;
    gap: 1.5em;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-buttons {
    display: flex;
    gap: 1.5em;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-primary,
.btn-secondary {
    padding: 12px 30px;
    border: none;
    border-radius: 5px;
    font-size: 1em;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: #2518b5;
    color: white;
}

.btn-primary:hover {
    background-color: #2518b5;
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: transparent;
    color: white;
    border: 2px solid white;
}

.btn-secondary:hover {
    background-color: white;
    color: #1a2a4e;
}

/* ========================================
   SECCIÓN TÍTULO EMPASTADOS
   ======================================== */

.section-title {
    text-align: center;
    font-size: 2.2em;
    color: #1e3a8a;
    margin-bottom: 0.15em;
}

.section-subtitle {
    text-align: center;
    font-size: 1.3em;
    color: #1a1a1a;
    font-weight: 700;
    margin-bottom: 2.5em;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.process-section {
    background: linear-gradient(135deg, #f0f4f8 0%, #e6eef5 100%);
    padding: 60px 20px;
}

.process-section h2 {
    margin-bottom: 3em;
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2em;
    margin-top: 2em;
}

.step {
    background: white;
    padding: 2em;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    position: relative;
}

.step-number {
    background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8em;
    font-weight: bold;
    margin: 0 auto 1em auto;
}

.step h4 {
    color: #1e3a8a;
    margin-bottom: 0.5em;
}

.step p {
    color: #666;
}

/* ========================================
   SECCIÓN DE CONTACTO
   ======================================== */

.contact-section {
    background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
    color: white;
    padding: 60px 20px;
    text-align: center;
    margin-bottom: 0;
}

.contact-section h2 {
    color: white;
    margin-bottom: 1em;
}

.contact-section p {
    font-size: 1.1em;
    opacity: 0.95;
}

/* ========================================
   SECCIÓN DE RESEÑAS
   ======================================== */

.resenas {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    padding: 60px 20px;
}

.resenas .container {
    max-width: 1200px;
    margin: 0 auto;
}

.resenas h2 {
    text-align: center;
    font-size: 2.5em;
    color: #1e3a8a;
    margin-bottom: 1em;
    position: relative;
    padding-bottom: 1.5em;
}

.resenas h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: #ea7f61;
}

.resenas-subtitle {
    text-align: center;
    font-size: 1.1em;
    color: #666;
    margin-bottom: 3em;
}

.resenas-content {
    display: flex;
    flex-direction: column;
    gap: 2.5em;
    align-items: center;
}

.resenas-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2em;
    width: 100%;
    margin-bottom: 2em;
}

.resena-card {
    background: white;
    border: 2px solid #f0f0f0;
    border-radius: 12px;
    padding: 2em;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.resena-card:hover {
    border-color: #ea7f61;
    box-shadow: 0 8px 25px rgba(234, 127, 97, 0.15);
    transform: translateY(-4px);
}

.resena-header {
    display: flex;
    gap: 1em;
    margin-bottom: 1.5em;
    align-items: flex-start;
}

.resena-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, #87CEEB 0%, #4FA3FF 100%);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.2em;
    flex-shrink: 0;
}

.resena-info h4 {
    margin: 0;
    color: #1e3a8a;
    font-size: 1em;
    font-weight: 600;
}

.resena-stars {
    font-size: 0.9em;
    margin-top: 0.3em;
    letter-spacing: 2px;
}

.resena-text {
    color: #555;
    font-size: 0.95em;
    line-height: 1.6;
    margin: 0;
    font-style: italic;
}

.google-maps-embed {
    display: none;
}

.reviews-cta {
    text-align: center;
    padding: 2em;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border-radius: 12px;
    border: 2px solid #f0f0f0;
    width: 100%;
    max-width: 600px;
}

.reviews-cta p {
    font-size: 1.05em;
    color: #555;
    margin-bottom: 1.5em;
    font-weight: 500;
}

.btn-reviews {
    display: inline-block;
    background: linear-gradient(135deg, #ea7f61 0%, #d97050 100%);
    color: white;
    padding: 14px 40px;
    text-decoration: none;
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9em;
    box-shadow: 0 4px 15px rgba(234, 127, 97, 0.3);
}

.btn-reviews:hover {
    background: linear-gradient(135deg, #d97050 0%, #c45c3f 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(234, 127, 97, 0.4);
}

.reviews-container {
    display: none;
}

.reviewfeedr-widget {
    display: none;
}

/* Responsive para reseñas */
@media (max-width: 768px) {
    .resenas {
        padding: 40px 20px;
    }

    .resenas h2 {
        font-size: 1.8em;
        margin-bottom: 0.8em;
    }

    .resenas-subtitle {
        font-size: 0.95em;
        margin-bottom: 2em;
    }

    .resenas-grid {
        grid-template-columns: 1fr;
        gap: 1.5em;
    }

    .resena-card {
        padding: 1.5em;
    }

    .resena-text {
        font-size: 0.9em;
    }

    .reviews-cta {
        padding: 1.5em;
    }

    .reviews-cta p {
        font-size: 0.95em;
    }

    .btn-reviews {
        font-size: 0.85em;
        padding: 12px 30px;
    }
}

/* ========================================
   FOOTER
   ======================================== */

/* ========================================
   FOOTER MEJORADO
   ======================================== */

footer {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    color: #e0e0e0;
    padding: 3em 0 0 0;
    margin-top: 4em;
}

.footer-main {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2em;
    padding: 2em 0;
    border-bottom: 1px solid #444;
}

.footer-section {
    padding: 0 1em;
}

.footer-section.logo-section {
    display: flex;
    flex-direction: column;
}

.footer-section.logo-section img {
    width: 80%;
    margin-bottom: 1em;
    opacity: 0.9;
    transition: opacity 0.3s ease;
}

.footer-section.logo-section img:hover {
    opacity: 1;
}

.footer-section h3 {
    font-size: 1.2em;
    color: #ffffff;
    margin-bottom: 1em;
    padding-bottom: 0.5em;
    border-bottom: 2px solid #ff6b35;
    display: inline-block;
}

.footer-section ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-section li {
    margin-bottom: 0.8em;
    display: flex;
    align-items: flex-start;
    gap: 0.5em;
}

.footer-section a {
    color: #b0b0b0;
    text-decoration: none;
    transition: color 0.3s ease;
    word-break: break-word;
}

.footer-section a:hover {
    color: #ff6b35;
}

.footer-icon {
    min-width: 20px;
    font-size: 1.1em;
    color: #ff6b35;
}

.footer-bottom {
    background: #0a0a0a;
    padding: 1.5em;
    text-align: center;
    color: #888;
    font-size: 0.9em;
}

.footer-content p {
    margin: 0.3em 0;
}

/* Media queries para responsividad */
@media (max-width: 768px) {
    .footer-main {
        grid-template-columns: 1fr;
        gap: 1.5em;
        padding: 1.5em 0;
    }
    
    .footer-section h3 {
        font-size: 1.1em;
    }
    
    .footer-section li {
        font-size: 0.95em;
    }
}

/* ========================================
   MODAL DE DETALLES
   ======================================== */

.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    align-items: center;
    justify-content: center;
    overflow-y: auto;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.modal-contenido {
    background-color: white;
    padding: 3em;
    border-radius: 12px;
    max-width: 1100px;
    width: 95%;
    position: relative;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: slideUp 0.3s ease;
    max-height: 95vh;
    overflow-y: scroll;
}

/* Vista específica para empastados - Layout mejorado */
.detalles-libro {
    display: grid;
    grid-template-columns: 1fr 1.8fr;
    gap: 3.5em;
    align-items: start;
}

.libro-preview {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 1.5em;
    align-items: stretch;
}

.book-image {
    width: 200px;
    height: 300px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 5em;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    position: relative;
}

.precio-badge {
    background: linear-gradient(135deg, #2518b5 0%, #2518b5 100%);
    color: white;
    padding: 12px 24px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.1em;
    text-align: center;
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3);
}

.libro-info {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.libro-info h2 {
    color: #1e3a8a;
    font-size: 2em;
    margin-bottom: 0.2em;
    border-bottom: 3px solid #ff6b35;
    padding-bottom: 0.6em;
    line-height: 1.3;
}

.subtitulo {
    color: #ff6b35;
    font-weight: 600;
    font-size: 1em;
    margin-bottom: 1.2em;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.descripcion {
    color: #666;
    font-size: 1.05em;
    line-height: 1.8;
    margin-bottom: 2.2em;
}

.caracteristicas-rapidas {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1em 1.5em;
    margin-bottom: 2em;
    padding: 0;
    background: transparent;
    border-radius: 0;
    border-left: none;
}

.caract {
    display: flex;
    align-items: flex-start;
    gap: 0.8em;
    color: #333;
    font-size: 0.9em;
    padding: 1em;
    background: #f5f6f7;
    border-radius: 6px;
}

.caract .icono {
    color: #28a745;
    font-weight: bold;
    font-size: 1.3em;
    flex-shrink: 0;
    margin-top: -3px;
}

.colores-disponibles {
    margin-bottom: 2.5em;
}

.colores-disponibles h4 {
    color: #1e3a8a;
    font-size: 1em;
    margin-bottom: 1.2em;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.color-grid {
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    gap: 1.2em;
    padding: 1em 0;
    margin-bottom: 1.5em;
    align-items: start;
}

.book-image-container {
    width: 100%;
    height: 320px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #e8e8e8;
    border-radius: 12px;
    overflow: hidden;
    padding: 15px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    position: relative;
    touch-action: pan-y;
}

.book-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.3s ease;
    user-select: none;
    -webkit-user-select: none;
}

.color-muestra,
.color-selector {
    width: 40px;
    height: 40px;
    border-radius: 6px;
    border: 2px solid #ddd;
    cursor: pointer;
    transition: all 0.3s ease;
    background: none;
    padding: 0;
}

.color-muestra:hover,
.color-selector:hover {
    transform: scale(1.15);
    border-color: #ff6b35;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.color-selector:focus {
    outline: none;
}

.color-selector[data-imagen] {
    width: 50px;
    height: 50px;
    border-radius: 8px;
}

/* Indicador de swipe en dispositivos móviles */
@media (max-width: 1024px) {
    .book-image-container::after {
        content: '← Desliza →';
        position: absolute;
        bottom: 15px;
        left: 50%;
        transform: translateX(-50%);
        background: rgba(0, 0, 0, 0.6);
        color: white;
        padding: 8px 16px;
        border-radius: 20px;
        font-size: 0.75rem;
        font-weight: 600;
        pointer-events: none;
        opacity: 0;
        animation: fadeInOut 3s ease-in-out;
        z-index: 10;
    }
    
    @keyframes fadeInOut {
        0% { opacity: 0; }
        20% { opacity: 1; }
        80% { opacity: 1; }
        100% { opacity: 0; }
    }
}

.color-card-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5em;
    cursor: pointer;
    transition: all 0.15s ease;
    opacity: 0.85;
    padding: 0.5em;
    border-radius: 8px;
    flex-shrink: 0;
}

.color-card-item:hover {
    opacity: 1;
    background-color: #f5f5f5;
}

.color-thumbnail {
    width: 50px;
    height: 50px;
    border-radius: 8px;
    border: 2px solid #ddd;
    transition: all 0.15s ease;
}

.color-card-item:hover .color-thumbnail {
    transform: scale(1.1);
    border-color: #ff6b35;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.color-preview-img {
    width: 48px;
    height: 48px;
    border-radius: 6px;
    border: 2px solid #ddd;
    object-fit: cover;
    transition: all 0.15s ease;
}

.color-preview-img:hover {
    transform: scale(1.08);
    border-color: #ff6b35;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.color-name {
    font-size: 0.65em;
    color: #666;
    text-align: center;
    font-weight: 600;
    max-width: 70px;
    line-height: 1.2;
    text-transform: capitalize;
}

.color-card-item.selected {
    opacity: 1;
    border: 3px solid #ff6b35;
    border-radius: 8px;
    background-color: #fff5f0;
}

.color-card-item.selected .color-preview-img {
    box-shadow: 0 4px 16px rgba(255, 107, 53, 0.3);
    border-color: #ff6b35;
}

.info-entrega {
    color: #666;
    font-size: 0.9em;
    padding: 1em 1.2em;
    background: #fff3cd;
    border-radius: 6px;
    border-left: 5px solid #ffc107;
    display: flex;
    align-items: center;
    gap: 0.8em;
    width: 100%;
}

.btn-cotizar {
    background-color: #2518b5;
    color: white;
    padding: 16px 40px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: none;
    display: block;
    font-size: 1em;
    text-align: center;
    width: 100%;
    margin-top: 0.5em;
    background: linear-gradient(135deg, #2518b5 0%, #4c56af 100%);
}

.btn-cotizar:hover {
    background-color: #2518b5;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(37, 24, 181, 0.3);
}

.btn-cotizar.btn-express {
    background: linear-gradient(135deg, #d9512f 0%, #e67a4a 100%);
    margin-top: 0.8em;
}

.btn-cotizar.btn-express:hover {
    background: linear-gradient(135deg, #c73f1e 0%, #d96739 100%);
    box-shadow: 0 8px 24px rgba(217, 81, 47, 0.4);
}

/* Footer wrapper for entrega and button */
.libro-info > div:last-child {
    display: flex;
    flex-direction: column;
    gap: 1.2em;
    margin-top: auto;
    padding-top: 2em;
    border-top: 1px solid #e8e8e8;
}

@keyframes slideUp {
    from {
        transform: translateY(50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.btn-cerrar {
    position: absolute;
    right: 1.5em;
    top: 1.5em;
    background: none;
    border: none;
    font-size: 2.5em;
    color: #1e3a8a;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-cerrar:hover {
    color: #ff6b35;
    transform: rotate(90deg);
}

.detalles-container {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.detalles-container h2 {
    color: #1e3a8a;
    font-size: 1.8em;
    margin-bottom: 1em;
    border-bottom: 3px solid #ff6b35;
    padding-bottom: 0.5em;
}

.descripcion-detalle {
    font-size: 1em;
    color: #555;
    margin-bottom: 1.8em;
    line-height: 1.7;
    padding: 1.2em;
    background: linear-gradient(135deg, #f0f8ff 0%, #f5f0ff 100%);
    border-radius: 8px;
    border-left: 4px solid #2518b5;
    font-weight: 500;
}

.detalles-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2em;
    margin-bottom: 2em;
}

.detalle-seccion {
    background: #f8f9fa;
    padding: 1.8em;
    border-radius: 8px;
    border-left: 4px solid #ff6b35;
}

.detalle-seccion h3 {
    color: #1e3a8a;
    font-size: 1.2em;
    margin-bottom: 1.2em;
    display: flex;
    align-items: center;
    gap: 0.5em;
}

.detalle-seccion ul {
    list-style: none;
}

.detalle-seccion li {
    padding: 0.6em 0;
    padding-left: 1.6em;
    color: #333;
    position: relative;
    line-height: 1.6;
    font-weight: 500;
    font-size: 0.95em;
}

.detalle-seccion li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #ff6b35;
    font-weight: bold;
    font-size: 1em;
}

.especificaciones-section {
    grid-column: 1 / -1;
}

.detalles-info {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2em;
    background: linear-gradient(135deg, #1e3a8a 0%, #2518b5 100%);
    padding: 2em;
    border-radius: 8px;
    margin-bottom: 2em;
}

.info-item strong {
    display: block;
    color: #ffffff;
    font-size: 1em;
    margin-bottom: 0.6em;
    letter-spacing: 0.3px;
}

.info-item p {
    color: #e6eef5;
    font-size: 1em;
    margin: 0;
    font-weight: 500;
}

/* Selector de Colores para Engargolados */
.color-selector {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(85px, 1fr));
    gap: 1.5em;
    padding: 2em;
    background: linear-gradient(135deg, #f8f9fa 0%, #e6eef5 100%);
    border-radius: 8px;
    margin: 2em 0;
    border: 2px solid #e0e7ff;
    width: 100%;
    box-sizing: border-box;
}

.color-option {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.8em;
    cursor: pointer;
    padding: 1em;
    border-radius: 8px;
    border: 2px solid #e0e7ff;
    transition: all 0.3s ease;
    background: white;
}

.color-option:hover {
    border-color: #2518b5;
    background: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(37, 24, 181, 0.12);
}

.color-option img {
    width: 75px;
    height: 75px;
    object-fit: cover;
    border-radius: 6px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.color-option span {
    font-weight: 600;
    color: #1e3a8a;
    font-size: 0.9em;
    text-align: center;
    letter-spacing: 0.2px;
}

.color-option.selected {
    border-color: #ff6b35;
    background: linear-gradient(135deg, #fff5f0 0%, #ffe8dc 100%);
    box-shadow: 0 4px 12px rgba(255, 107, 53, 0.25);
}

.color-option.selected img {
    box-shadow: 0 4px 12px rgba(255, 107, 53, 0.3);
}

.color-option.selected span {
    color: #ff6b35;
}

.acciones-modal {
    display: flex;
    gap: 1em;
    justify-content: center;
    margin-top: 1.5em;
}

.btn-cotizar:hover {
    background-color: #2518b5;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 107, 53, 0.3);
}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */

/* Tablet y dispositivos medianos (768px - 1024px) */
@media (max-width: 1024px) {
    .hero-wrapper {
        grid-template-columns: 1fr;
        gap: 2.5em;
    }

    .hero-content h1 {
        font-size: 2.5em;
    }

    .hero-images {
        max-height: 400px;
    }

    .servicios-layout {
        grid-template-columns: 1fr;
        gap: 2em;
    }

    .hero-servicios h1,
    .hero-empastados h1 {
        font-size: 2.2em;
    }
}

/* Tablet pequeño y celular grande (768px) */
@media (max-width: 768px) {
    .hero {
        padding: 40px 20px;
    }

    .hero-wrapper {
        grid-template-columns: 1fr;
        gap: 2em;
    }

    .hero-content h1 {
        font-size: 1.8em;
        line-height: 1.3;
    }

    .hero-content p {
        font-size: 0.95em;
    }

    .hero-label {
        font-size: 0.65em;
    }

    .hero-images {
        height: 300px;
    }

    .stack-img {
        width: 180px;
        height: 220px;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 0.8em;
        width: 100%;
    }

    .cta-button {
        width: 100%;
        display: block;
        text-align: center;
    }

    .servicios-layout {
        grid-template-columns: 1fr;
        gap: 1.5em;
    }

    .servicio-card-large {
        flex-direction: column;
        text-align: center;
    }

    .servicio-item {
        padding: 1.5em;
    }

    .page-header h1 {
        font-size: 1.8em;
    }

    .nav-menu {
        gap: 0;
    }

    .nav-link {
        padding: 12px;
        font-size: 0.95em;
    }

    .features,
    .servicios-grid,
    .empastados-grid,
    .process-steps {
        grid-template-columns: 1fr;
    }

    .intro-section h2,
    .servicios-section h2,
    .empastados-section h2,
    .process-section h2,
    .nuestros-servicios h2 {
        font-size: 1.6em;
    }

    .modal {
        padding: 10px;
    }

    .modal-contenido {
        padding: 0;
        width: 98%;
        max-height: 95vh;
        overflow-y: scroll;
        border-radius: 12px;
    }

    .btn-cerrar {
        font-size: 1.8em;
        right: 0.5em;
        top: 0.5em;
        padding: 5px 8px;
    }

    .detalles-container {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .detalles-container > .detalles-imagen {
        border-radius: 12px 12px 0 0;
        height: 250px;
        min-height: 250px;
    }

    .detalles-container > .detalles-contenido {
        padding: 15px 15px 20px 15px;
        gap: 12px;
    }

    .detalles-header {
        flex-direction: column;
        margin-bottom: 0;
    }

    .detalles-header h2 {
        font-size: 1.2em;
        margin: 0 0 8px 0;
        padding-bottom: 8px;
        border-bottom: 2px solid #ac3509;
    }

    .btn-cerrar {
        position: absolute;
        right: 8px;
        top: 8px;
    }

    .detalles-descripcion {
        font-size: 0.85em;
        line-height: 1.4;
        margin: 0;
        padding-bottom: 0;
    }

    .detalles-section {
        grid-template-columns: 1fr;
        gap: 1.2em;
        padding-top: 8px;
    }

    .detalles-section h3 {
        font-size: 0.65em;
        margin: 0 0 8px 0;
    }

    .detalles-section li {
        font-size: 0.8em;
        padding: 6px 0 6px 24px;
    }

    .detalles-info-card {
        grid-template-columns: 1fr;
        gap: 12px;
        padding: 12px;
        border-left: 3px solid #020b6f;
    }

    .detalles-info-item {
        gap: 4px;
    }

    .detalles-info-item strong {
        font-size: 0.85em;
        gap: 5px;
    }

    .detalles-info-item p {
        font-size: 0.85em;
        line-height: 1.3;
    }

    .btn-cotizar {
        padding: 12px 16px;
        font-size: 0.85em;
        margin-top: 4px;
    }

    .btn-cotizar.btn-express {
        margin-top: 6px;
    }

    .detalles-grid {
        grid-template-columns: 1fr;
        gap: 1.2em;
    }

    .detalles-libro {
        grid-template-columns: 1fr;
        gap: 1.2em;
    }

    .detalles-section {
        grid-template-columns: 1fr;
        gap: 1.2em;
    }

    .book-image-container {
        width: 100%;
        height: 250px;
    }

    .caracteristicas-rapidas {
        grid-template-columns: 1fr;
        gap: 0.6em;
    }

    .caract {
        padding: 0.6em;
        font-size: 0.85em;
    }

    .color-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.6em;
    }

    .color-preview-img {
        width: 50px;
        height: 50px;
    }

    .color-name {
        font-size: 0.65em;
    }

    .precio-badge {
        width: 100%;
        max-width: 150px;
    }

    .libro-info h2 {
        font-size: 1.2em;
        margin-bottom: 0.8em;
    }

    .detalles-info-card {
        grid-template-columns: 1fr;
        gap: 1em;
    }

    .detalles-info {
        grid-template-columns: 1fr;
        padding: 1.2em;
        gap: 1.2em;
    }

    .info-item {
        gap: 0.4em;
    }

    .footer-main {
        grid-template-columns: 1fr;
        gap: 1.5em;
    }

    .footer-section {
        text-align: center;
    }

    .hero-servicios {
        padding: 30px 20px;
    }

    .hero-servicios h1 {
        font-size: 1.8em;
    }

    .hero-servicios p {
        font-size: 0.9em;
    }

    .hero-empastados {
        padding: 30px 20px;
    }

    .hero-empastados h1 {
        font-size: 1.6em;
    }

    .hero-empastados .highlight {
        font-size: 1.2em;
    }

    .hero-empastados p {
        font-size: 0.9em;
    }
}

/* Celular pequeño (480px) */
@media (max-width: 480px) {
    .navbar {
        padding: 0.8em 0;
    }

    .navbar-container {
        padding: 0 15px;
    }

    .logo {
        height: 40px;
    }

    .hero {
        padding: 30px 15px;
    }

    .hero-wrapper {
        gap: 1.5em;
    }

    .hero-content h1 {
        font-size: 1.4em;
        margin-bottom: 0.8em;
        line-height: 1.25;
    }

    .hero-content p {
        font-size: 0.9em;
        margin-bottom: 1.5em;
    }

    .hero-label {
        font-size: 0.6em;
        padding: 0.3em 0.8em;
        margin-bottom: 1em;
    }

    .hero-images {
        height: 250px;
    }

    .stack-img {
        width: 150px;
        height: 180px;
    }

    .hero-buttons {
        gap: 0.6em;
    }

    .cta-button {
        padding: 10px 20px;
        font-size: 0.85em;
    }

    .hero-servicios {
        padding: 20px 15px;
        min-height: auto;
    }

    .hero-servicios .hero-content {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .hero-servicios h1 {
        font-size: 1.4em;
        line-height: 1.2;
        margin-bottom: 8px;
    }

    .hero-servicios .highlight {
        font-size: 1.1em;
    }

    .hero-servicios p {
        font-size: 0.8em;
    }

    .hero-servicios .cta-button {
        padding: 10px 20px;
        font-size: 0.8em;
    }

    .hero-empastados {
        padding: 20px 15px;
        min-height: auto;
    }

    .hero-empastados h1 {
        font-size: 1.3em;
        margin-bottom: 0.8em;
        line-height: 1.2;
    }

    .hero-empastados .highlight {
        font-size: 1em;
    }

    .hero-empastados p {
        font-size: 0.8em;
    }

    .hero-empastados .hero-content {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .hero-empastados .hero-content > div:nth-child(2) {
        height: 280px;
    }

    .modal-contenido {
        padding: 0;
        width: 98%;
        border-radius: 8px;
        max-height: 95vh;
    }

    .btn-cerrar {
        font-size: 1.4em;
        right: 5px;
        top: 5px;
        padding: 4px 6px;
    }

    .detalles-container {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .detalles-container > .detalles-imagen {
        border-radius: 8px 8px 0 0;
        height: 220px;
        min-height: 220px;
    }

    .detalles-container > .detalles-contenido {
        padding: 12px 12px 16px 12px;
        gap: 10px;
    }

    .detalles-header {
        flex-direction: column;
        margin-bottom: 0;
    }

    .detalles-header h2 {
        font-size: 1.1em;
        margin: 0 0 6px 0;
        padding-bottom: 6px;
        border-bottom: 2px solid #ac3509;
    }

    .detalles-descripcion {
        font-size: 0.8em;
        line-height: 1.3;
        margin: 0;
        padding-bottom: 0;
    }

    .detalles-section {
        grid-template-columns: 1fr;
        gap: 1em;
        padding-top: 6px;
    }

    .detalles-section h3 {
        font-size: 0.6em;
        margin: 0 0 6px 0;
    }

    .detalles-section li {
        font-size: 0.75em;
        padding: 5px 0 5px 22px;
    }

    .detalles-info-card {
        grid-template-columns: 1fr;
        gap: 10px;
        padding: 10px;
        border-left: 3px solid #020b6f;
    }

    .detalles-info-item {
        gap: 3px;
    }

    .detalles-info-item strong {
        font-size: 0.8em;
        gap: 4px;
    }

    .detalles-info-item p {
        font-size: 0.8em;
        line-height: 1.2;
    }

    .btn-cotizar {
        padding: 10px 14px;
        font-size: 0.75em;
        margin-top: 2px;
    }

    .btn-cotizar.btn-express {
        margin-top: 4px;
    }

    .detalles-header h2 {
        font-size: 1.1em;
    }

    .detalles-descripcion {
        font-size: 0.8em;
    }

    .detalles-section h3 {
        font-size: 0.6em;
    }

    .detalles-section li {
        font-size: 0.75em;
        padding: 5px 0 5px 22px;
    }

    .color-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.6em;
    }

    .color-preview-img {
        width: 50px;
        height: 50px;
    }

    .color-name {
        font-size: 0.7em;
    }

    .info-entrega {
        font-size: 0.85em;
        padding: 8px;
    }

    .btn-cotizar {
        padding: 10px 20px;
        font-size: 0.8em;
    }

    .btn-cotizar.btn-express {
        margin-top: 4px;
    }

    .section-title {
        font-size: 1.4em;
    }

    .section-subtitle {
        font-size: 1em;
        font-weight: 700;
    }

    .servicio-card-large {
        padding: 1.2em;
    }

    .servicio-card-large h3 {
        font-size: 1.1em;
    }

    .servicio-card-large p {
        font-size: 0.85em;
    }

    .servicio-card-large .servicio-img {
        height: 220px;
    }

    .btn-solicitar {
        padding: 10px 20px;
        font-size: 0.75em;
    }

    .footer-section h3 {
        font-size: 1em;
    }

    .footer-section a {
        font-size: 0.85em;
    }

    .quote-section blockquote {
        font-size: 1.1em;
    }

    .quote-author {
        font-size: 0.9em;
    }

    .quote-role {
        font-size: 0.8em;
    }
}

/* Celular extra pequeño (menos de 370px) */
@media (max-width: 370px) {
    .hero-content h1 {
        font-size: 1.2em;
    }

    .hero-content p {
        font-size: 0.85em;
    }

    .hero-images {
        height: 220px;
    }

    .cta-button {
        padding: 8px 16px;
        font-size: 0.75em;
    }

    .hero-servicios h1,
    .hero-empastados h1 {
        font-size: 1.2em;
    }

    .color-grid {
        grid-template-columns: 1fr;
    }
}
