@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500;600;700;900&display=swap');

/* ============================
   RESET Y ESTILOS BASE
   ============================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', sans-serif;
    background-color: #1a1a1a;
    color: #f0f0f0;
    min-height: 100vh;
    text-align: center;
    position: relative;
    padding-top: 92px;
    padding-left: 20px;
    padding-right: 20px;
    padding-bottom: 20px;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('https://images.unsplash.com/photo-1581152399908-4d7392f873e6?q=80&w=1974&auto=format&fit=crop') no-repeat center center/cover;
    opacity: 0.2;
    z-index: -1;
}

/* ============================
   HEADER Y NAVEGACIÓN
   ============================ */
.main-header {
    background-color: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid #ffc107;
    padding: 10px 20px;
    position: fixed !important;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
}

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

.nav-logo img {
    height: 50px;
    width: auto;
}

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

.nav-menu li a {
    color: #f0f0f0;
    text-decoration: none;
    font-weight: 700;
    font-size: 1em;
    padding: 5px 10px;
    border-radius: 5px;
    transition: background-color 0.3s, color 0.3s;
}

.nav-menu li a:hover {
    background-color: #ffc107;
    color: #1a1a1a;
}

.hamburger {
    display: none;
    background: none;
    border: none;
    color: #ffc107;
    font-size: 2em;
    cursor: pointer;
}

.mobile-menu {
    display: none;
    background-color: rgba(0, 0, 0, 0.95);
    position: fixed;
    top: 72px;
    left: 0;
    width: 100%;
    text-align: center;
    padding: 20px 0;
    z-index: 999;
}

.mobile-menu.active {
    display: block;
}

.mobile-menu ul {
    list-style: none;
}

.mobile-menu ul li {
    margin-bottom: 20px;
}

.mobile-menu ul li a {
    color: #f0f0f0;
    text-decoration: none;
    font-size: 1.5em;
    font-weight: 700;
}

/* ============================
   CONTENEDOR PRINCIPAL
   ============================ */
.container {
    background-color: rgba(0, 0, 0, 0.75);
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 0 25px rgba(255, 193, 7, 0.3);
    border: 1px solid #ffc107;
    width: 100%;
    max-width: 1200px;
    margin: 40px auto;
}

.estanterias-container {
    max-width: 1200px !important;
    margin: 40px auto !important;
    padding: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    border: none !important;
}

/* ============================
   HERO MODERNO ESTANTERÍAS
   ============================ */
.estanterias-hero-modern {
    background: linear-gradient(135deg, rgba(0,0,0,0.95) 0%, rgba(26,26,26,0.9) 50%, rgba(42,42,42,0.85) 100%),
                url('logo.webp') center/cover;
    padding: 60px 20px;
    margin: -40px -40px 40px -40px;
    border-bottom: 3px solid #ffc107;
    position: relative;
    overflow: hidden;
    text-align: center;
}

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

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 193, 7, 0.15);
    border: 1px solid #ffc107;
    padding: 10px 20px;
    border-radius: 25px;
    margin-bottom: 25px;
    font-size: 0.9em;
    color: #ffc107;
    font-weight: 600;
}

.estanterias-title-hero {
    font-size: 2.8em;
    color: #ffc107;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.estanterias-subtitle-hero {
    font-size: 1.25em;
    color: #e0e0e0;
    margin-bottom: 35px;
    line-height: 1.7;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.hero-cta-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
}

/* ============================
   BOTONES
   ============================ */
.btn {
    display: inline-block;
    padding: 14px 28px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1em;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    text-align: center;
    cursor: pointer;
    margin: 5px;
}

.btn-llamada {
    background: #ffc107;
    color: #1a1a1a;
    padding: 16px 40px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.2em;
    display: inline-flex;
    align-items: center;
    gap: 15px;
    transition: all 0.3s ease;
    border: 2px solid #ffc107;
    min-width: 280px;
    justify-content: center;
}

.btn-llamada:hover {
    background: #e0a800;
    border-color: #e0a800;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(255, 193, 7, 0.2);
}

.btn-whatsapp {
    background: #25D366;
    color: white;
    padding: 16px 40px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.2em;
    display: inline-flex;
    align-items: center;
    gap: 15px;
    transition: all 0.3s ease;
    border: 2px solid #25D366;
    min-width: 280px;
    justify-content: center;
}

.btn-whatsapp:hover {
    background: #1da851;
    border-color: #1da851;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.2);
}

.btn-primario {
    background: #ffc107;
    color: #1a1a1a;
    padding: 14px 28px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.05em;
    display: inline-block;
    transition: all 0.3s ease;
    border: 2px solid #ffc107;
}

.btn-primario:hover {
    background: #e0a800;
    border-color: #e0a800;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(255, 193, 7, 0.2);
}

.btn-secundario {
    background-color: transparent;
    color: #ffc107;
    border: 2px solid #ffc107;
    padding: 14px 28px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.05em;
    display: inline-block;
    transition: all 0.3s ease;
}

.btn-secundario:hover {
    background-color: #ffc107;
    color: #1a1a1a;
    transform: translateY(-3px);
}

/* ============================
   SECCIONES GENERALES
   ============================ */
.section-title {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    font-size: 2.2em;
    color: #ffc107;
    margin-bottom: 20px;
}

.section-intro {
    font-size: 1.15em;
    color: #ddd;
    text-align: center;
    margin-bottom: 50px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
}

/* ============================
   INTRODUCCIÓN
   ============================ */
.intro-personal-section {
    margin: 80px 0;
    padding: 0 20px;
}

.intro-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: left;
}

.intro-content .section-title {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 15px;
    font-size: 2.2em;
    color: #ffc107;
    margin-bottom: 30px;
}

.intro-text {
    font-size: 1.1em;
    color: #ddd;
    line-height: 1.8;
    margin-bottom: 20px;
}

/* ============================
   TIPOS DE ESTRUCTURAS
   ============================ */
.tipos-estructuras-section {
    margin: 80px 0;
    padding: 0 20px;
}

.tipos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.tipo-card {
    background: rgba(42, 42, 42, 0.7);
    border-radius: 12px;
    padding: 35px 30px;
    border: 1px solid rgba(255, 193, 7, 0.2);
    transition: all 0.3s ease;
    text-align: left;
}

.tipo-card.destacado {
    border-color: #ffc107;
    background: rgba(255, 193, 7, 0.05);
}

.tipo-card:hover {
    border-color: #ffc107;
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(255, 193, 7, 0.15);
}

.tipo-icon {
    font-size: 3em;
    color: #ffc107;
    margin-bottom: 20px;
    display: block;
}

.tipo-title {
    color: #ffc107;
    font-size: 1.5em;
    margin-bottom: 15px;
}

.tipo-descripcion {
    color: #ddd;
    font-size: 1.05em;
    line-height: 1.7;
    margin-bottom: 25px;
}

.tipo-detalles {
    margin-top: 25px;
}

.tipo-detalles h4 {
    color: #ffc107;
    font-size: 1.1em;
    margin: 20px 0 12px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.tipo-detalles ul {
    list-style: none;
    padding: 0;
    margin: 0 0 15px 20px;
}

.tipo-detalles li {
    color: #ddd;
    font-size: 0.95em;
    line-height: 1.7;
    margin-bottom: 8px;
    position: relative;
}

.tipo-detalles li::before {
    content: '•';
    color: #ffc107;
    font-weight: bold;
    position: absolute;
    left: -15px;
}

/* ============================
   MATERIALES Y ACABADOS
   ============================ */
.materiales-acabados-section {
    margin: 80px 0;
    padding: 0 20px;
}

.materiales-grid-detalles {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    max-width: 1100px;
    margin: 0 auto;
}

.material-detalle {
    background: rgba(42, 42, 42, 0.6);
    border-radius: 12px;
    padding: 30px;
    border: 1px solid rgba(255, 193, 7, 0.15);
    transition: all 0.3s ease;
    text-align: left;
}

.material-detalle:hover {
    border-color: #ffc107;
    transform: translateY(-3px);
}

.material-detalle h3 {
    color: #ffc107;
    font-size: 1.3em;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.material-detalle > p {
    color: #ddd;
    font-size: 1em;
    line-height: 1.7;
    margin-bottom: 15px;
}

.material-detalle ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.material-detalle li {
    color: #ddd;
    font-size: 0.95em;
    line-height: 1.7;
    margin-bottom: 10px;
    padding-left: 20px;
    position: relative;
}

.material-detalle li::before {
    content: '•';
    color: #ffc107;
    position: absolute;
    left: 0;
}

/* ============================
   NORMATIVA APLICABLE
   ============================ */
.normativa-estanterias-section {
    margin: 80px 0;
    padding: 0 20px;
}

.normativa-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    max-width: 1100px;
    margin: 0 auto;
}

.normativa-card {
    background: rgba(42, 42, 42, 0.7);
    border-radius: 12px;
    padding: 1.5rem;
    border-left: 4px solid rgba(255, 193, 7, 0.3);
    transition: all 0.3s ease;
    text-align: left;
}

.normativa-card:hover {
    border-color: #ffc107;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 193, 7, 0.15);
}

.normativa-card.error {
    border-left-color: #e74c3c;
}

.normativa-card h3 {
    font-size: 1.2em;
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.normativa-card.error h3 {
    color: #e74c3c;
}

.normativa-card p {
    font-size: 0.9rem;
    color: #ccc;
    line-height: 1.7;
}

.normativa-card .normativa-note {
    font-size: 0.85rem;
    color: #999;
    margin-top: 0.5rem;
    display: flex;
    align-items: flex-start;
    gap: 0.4rem;
}

.normativa-aviso {
    background: rgba(255, 193, 7, 0.08);
    border-left: 4px solid #ffc107;
    padding: 1.25rem;
    border-radius: 8px;
    max-width: 1100px;
    margin: 2rem auto 0;
    text-align: left;
}

.normativa-aviso p {
    font-size: 0.9rem;
    color: #ccc;
    line-height: 1.7;
    margin: 0;
}

/* ============================
   PROYECTO REAL
   ============================ */
.proyecto-real-section {
    margin: 80px 0;
    padding: 0 20px;
}

.proyecto-destacado {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    margin-top: 30px;
    background: rgba(42, 42, 42, 0.7);
    border: 1px solid rgba(255, 193, 7, 0.2);
    border-radius: 12px;
    overflow: hidden;
}

.proyecto-imagen img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    min-height: 400px;
}

.proyecto-info {
    padding: 40px;
    text-align: left;
}

.proyecto-info h3 {
    color: #ffc107;
    font-size: 1.6em;
    margin-bottom: 15px;
}

.proyecto-ubicacion {
    color: #bbb;
    font-size: 1.05em;
    margin-bottom: 20px;
}

.proyecto-ubicacion i {
    color: #ffc107;
    margin-right: 8px;
}

.proyecto-descripcion {
    color: #ddd;
    font-size: 1.1em;
    line-height: 1.7;
    margin-bottom: 25px;
}

.proyecto-caracteristicas {
    list-style: none;
    margin-bottom: 25px;
}

.proyecto-caracteristicas li {
    color: #ddd;
    margin-bottom: 10px;
    padding-left: 30px;
    position: relative;
    line-height: 1.6;
}

.proyecto-caracteristicas li i {
    position: absolute;
    left: 0;
    color: #25D366;
}

/* ============================
   PROCESO DE TRABAJO
   ============================ */
.proceso-trabajo-section {
    margin: 80px 0;
    padding: 0 20px;
}

.proceso-timeline {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
}

.proceso-timeline::before {
    content: '';
    position: absolute;
    left: 30px;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(to bottom, #ffc107, rgba(255, 193, 7, 0.3));
}

.proceso-paso {
    display: flex;
    gap: 30px;
    margin-bottom: 40px;
    position: relative;
}

.paso-numero {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #ffc107, #ffb300);
    color: #1a1a1a;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5em;
    font-weight: 900;
    box-shadow: 0 4px 15px rgba(255, 193, 7, 0.4);
    z-index: 2;
    position: relative;
}

.paso-content {
    flex: 1;
    background: rgba(42, 42, 42, 0.6);
    padding: 25px;
    border-radius: 10px;
    border: 2px solid rgba(255, 193, 7, 0.3);
    transition: all 0.3s ease;
    text-align: left;
}

.paso-content:hover {
    border-color: #ffc107;
    box-shadow: 0 5px 15px rgba(255, 193, 7, 0.2);
}

.paso-content h3 {
    color: #ffc107;
    font-size: 1.3em;
    margin-bottom: 12px;
    font-weight: 700;
}

.paso-content p {
    color: #ddd;
    line-height: 1.6;
    margin: 0;
}

.paso-content p strong {
    color: #fff;
}

/* ============================
   FAQ ESTANTERÍAS
   ============================ */
.faq-estanterias-section {
    margin: 80px 0;
    padding: 0 20px;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 25px;
    max-width: 1100px;
    margin: 0 auto;
}

.faq-item {
    background: rgba(42, 42, 42, 0.6);
    border-radius: 12px;
    padding: 25px;
    border: 1px solid rgba(255, 193, 7, 0.15);
    transition: all 0.3s ease;
    text-align: left;
}

.faq-item:hover {
    border-color: #ffc107;
}

.faq-question {
    color: #ffc107;
    font-size: 1.15em;
    margin-bottom: 15px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.faq-question i {
    color: #ffc107;
    flex-shrink: 0;
    margin-top: 3px;
}

.faq-answer {
    color: #ddd;
    font-size: 0.95em;
    line-height: 1.7;
    margin: 0;
}

/* ============================
   CTA FINAL
   ============================ */
.cta-final-section {
    text-align: center;
    margin: 80px 0 40px;
    padding: 50px 30px;
    background: rgba(255, 193, 7, 0.05);
    border-radius: 15px;
    border: 1px solid rgba(255, 193, 7, 0.2);
}

.cta-title {
    font-size: 2.2em;
    color: #ffc107;
    margin-bottom: 20px;
    line-height: 1.3;
}

.cta-subtitle {
    font-size: 1.2em;
    color: #ddd;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.cta-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 25px;
    margin-bottom: 30px;
}

.cta-garantia {
    color: #aaa;
    font-size: 0.95em;
    margin: 0;
}

.cta-garantia i {
    color: #25D366;
    margin-right: 8px;
}

.separator {
    margin: 0 15px;
    color: #666;
}

/* ============================
   FOOTER
   ============================ */
.main-footer {
    background-color: rgba(0, 0, 0, 0.85);
    border-top: 1px solid rgba(255, 193, 7, 0.2);
    padding: 30px 20px;
    margin-top: 60px;
    text-align: center;
}

.footer-content a {
    color: #ffc107;
    text-decoration: none;
    font-weight: bold;
    margin: 0 15px;
}

.footer-content a:hover {
    color: #ffffff;
    text-decoration: underline;
}

.footer-content p {
    margin: 10px 0;
    color: #aaa;
}

/* ============================
   RESPONSIVE
   ============================ */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }

    .hamburger {
        display: block;
    }

    .main-header {
        padding: 10px 15px;
    }

    .container {
        padding: 25px 20px;
    }

    .estanterias-hero-modern {
        padding: 40px 15px;
        margin: -20px -20px 30px -20px;
    }

    .estanterias-title-hero {
        font-size: 2em;
    }

    .estanterias-subtitle-hero {
        font-size: 1.1em;
    }

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

    .btn-llamada, .btn-whatsapp {
        width: 100%;
        max-width: 300px;
    }

    .section-title {
        font-size: 1.6em;
        flex-direction: column;
        gap: 10px;
    }

    .intro-content .section-title {
        flex-direction: row;
    }

    .tipos-estructuras-section {
        padding: 0 15px;
    }

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

    .materiales-acabados-section {
        padding: 0 15px;
    }

    .materiales-grid-detalles {
        grid-template-columns: 1fr;
    }

    .proyecto-real-section {
        padding: 0 15px;
    }

    .proyecto-destacado {
        grid-template-columns: 1fr;
    }

    .proceso-trabajo-section {
        padding: 0 15px;
    }

    .proceso-timeline::before {
        left: 20px;
    }

    .paso-numero {
        width: 50px;
        height: 50px;
        font-size: 1.3em;
    }

    .proceso-paso {
        gap: 20px;
    }

    .faq-estanterias-section {
        padding: 0 15px;
    }

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

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .cta-garantia {
        display: flex;
        flex-direction: column;
        gap: 10px;
    }

    .separator {
        display: none;
    }
}

@media (max-width: 480px) {
    .estanterias-title-hero {
        font-size: 1.6em;
    }

    .estanterias-subtitle-hero {
        font-size: 1em;
    }

    .section-title {
        font-size: 1.4em;
    }

    .intro-text {
        font-size: 1em;
    }

    .tipo-title {
        font-size: 1.2em;
    }

    .paso-numero {
        width: 40px;
        height: 40px;
        font-size: 1.1em;
    }

    .paso-content {
        padding: 20px;
    }

    .container {
        padding: 20px 15px;
    }

    body {
        padding-left: 15px;
        padding-right: 15px;
    }
}
