/* ===================================================
   ESTILOS DE LA PÁGINA "CÓMO FUNCIONA" Y TECNOLOGÍA MAP
   =================================================== */
.how-page-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 60px 20px;
}

/* --- ENCABEZADO --- */
.how-header-section {
    text-align: center;
    max-width: 750px;
    margin: 0 auto 60px auto;
}

.how-header-section h1 {
    font-size: 38px;
    color: var(--text-dark);
    margin: 10px 0 20px 0;
}

.section-lead {
    font-size: 16px;
    color: #555E66;
    line-height: 1.6;
}

/* --- LÍNEA DE TIEMPO / PASOS --- */
.how-steps-section {
    position: relative;
    margin-bottom: 80px;
}

/* Cuadrícula limpia para las 4 tarjetas de pasos */
.steps-timeline-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
}

.step-timeline-card {
    background: white;
    padding: 30px 25px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.03);
    position: relative;
    border: 1px solid #E5E7EB;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

/* Efecto hover interactivo para la presentación */
.step-timeline-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(139, 115, 61, 0.1);
    border-color: var(--primary-color);
}

.step-number-badge {
    background-color: var(--primary-color);
    color: white;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 16px;
    margin-bottom: 20px;
    box-shadow: 0 4px 10px rgba(139, 115, 61, 0.3);
}

.step-card-content h3 {
    font-size: 18px;
    color: var(--text-dark);
    margin-bottom: 12px;
    line-height: 1.3;
}

.step-card-content p {
    font-size: 14px;
    color: #6C7278;
    line-height: 1.5;
}

/* --- SECCIÓN TECNOLOGÍA MAP --- */
.technology-map-section {
    background-color: #1A1F24; /* Color oscuro a juego con el header de tu web */
    color: white;
    border-radius: 16px;
    padding: 45px;
    box-shadow: 0 12px 35px rgba(0,0,0,0.15);
}

.map-content-wrapper {
    display: flex;
    align-items: center;
    gap: 50px;
}

.map-info-box {
    flex: 1.4;
}

.tag-tech {
    color: var(--primary-color);
    font-size: 11px;
    font-weight: bold;
    letter-spacing: 2px;
    display: block;
    margin-bottom: 10px;
}

.map-info-box h2 {
    font-size: 32px;
    margin-bottom: 20px;
    line-height: 1.2;
}

.map-info-box p {
    color: #A0A5A9;
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 15px;
}

.map-info-box strong {
    color: white;
}

/* El bloque del Slogan */
.map-slogan-box {
    background-color: #232930;
    padding: 15px;
    border-radius: 8px;
    border-left: 4px solid var(--primary-color);
    margin: 25px 0;
}

.map-slogan-box p {
    color: white;
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 0;
}

.btn-map-action {
    display: inline-block;
    background-color: var(--primary-color);
    color: white !important;
    text-decoration: none;
    padding: 12px 30px;
    border-radius: 6px;
    font-weight: bold;
    font-size: 14px;
    transition: background 0.2s;
    margin-top: 10px;
}

.btn-map-action:hover {
    background-color: #725E31;
}

/* Columna Derecha Gráfica de MAP */
.map-visual-box {
    flex: 0.8;
    display: flex;
    justify-content: center;
    align-items: center;
}

.shield-graphic {
    background-color: #232930;
    border: 1px solid rgba(255,255,255,0.05);
    padding: 40px 30px;
    border-radius: 50%;
    width: 240px;
    height: 240px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

.shield-icon {
    font-size: 40px;
    margin-bottom: 10px;
}

.shield-graphic h4 {
    font-size: 15px;
    color: white;
    margin-bottom: 5px;
}

.shield-graphic p {
    font-size: 11px;
    color: var(--primary-color);
    margin-bottom: 0;
    text-transform: uppercase;
    font-weight: bold;
}

/* Anillo de pulso decorativo */
.pulse-ring {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 2px solid var(--primary-color);
    border-radius: 50%;
    animation: mapPulse 3s infinite;
    opacity: 0;
}

@keyframes mapPulse {
    0% { transform: scale(0.95); opacity: 0.5; }
    50% { opacity: 0.2; }
    100% { transform: scale(1.15); opacity: 0; }
}

/* --- RESPONSIVO --- */
@media (max-width: 992px) {
    .how-page-container { padding: 40px 15px; }
    .how-header-section h1 { font-size: 28px; }
    
    .map-content-wrapper {
        flex-direction: column;
        gap: 40px;
        text-align: center;
    }
    
    .map-visual-box { order: -1; } /* Pone el gráfico circular arriba en móviles */
    .map-slogan-box { border-left: none; border-top: 3px solid var(--primary-color); }
}



/* ===================================================
   GUÍA INTERACTIVA DE RECEPCIÓN Y CONSERVACIÓN (TABS)
   =================================================== */
.customer-guide-section {
    max-width: 1100px;
    margin: 0 auto 50px auto;
}

.guide-header-card {
    text-align: center;
    max-width: 820px;
    margin: 0 auto 35px auto;
}

.guide-header-card h1 {
    font-size: 36px;
    color: var(--text-dark, #2B2B2B);
    margin: 10px 0 15px 0;
    line-height: 1.2;
}

.guide-welcome-msg {
    font-size: 18px;
    font-weight: bold;
    color: var(--primary-color, #8B733D);
    margin-bottom: 12px;
}

.guide-intro-text {
    font-size: 15px;
    color: #555E66;
    line-height: 1.6;
}

/* Barra de Navegación de Pestañas */
.guide-tabs-nav {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 25px;
}

.guide-tab-btn {
    background-color: #FFFFFF;
    border: 1px solid #E5E7EB;
    color: #4B5563;
    padding: 12px 20px;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.25s ease;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.02);
}

.guide-tab-btn .tab-num {
    background-color: #F3F4F6;
    color: #374151;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: bold;
}

.guide-tab-btn:hover {
    border-color: var(--primary-color, #8B733D);
    color: var(--text-dark, #2B2B2B);
}

.guide-tab-btn.active {
    background-color: #1A1F24;
    color: #FFFFFF;
    border-color: #1A1F24;
    box-shadow: 0 6px 15px rgba(26, 31, 36, 0.2);
}

.guide-tab-btn.active .tab-num {
    background-color: var(--primary-color, #8B733D);
    color: #FFFFFF;
}

/* Contenedor de los Paneles */
.guide-panels-wrapper {
    background-color: #FFFFFF;
    border-radius: 16px;
    padding: 35px;
    border: 1px solid #E5E7EB;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
}

.guide-panel {
    display: none;
    animation: fadeSlideUp 0.35s ease forwards;
}

.guide-panel.active {
    display: block;
}

@keyframes fadeSlideUp {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.panel-banner-title {
    border-bottom: 1px solid #F3F4F6;
    padding-bottom: 18px;
    margin-bottom: 25px;
}

.panel-banner-title h2 {
    font-size: 24px;
    color: var(--text-dark, #2B2B2B);
    margin-bottom: 6px;
}

.panel-banner-title p {
    font-size: 15px;
    color: #6B7280;
    margin: 0;
}

/* Diseño Panel 1: Dos Columnas */
.panel-two-cols {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 25px;
}

.guide-box-clean h4,
.guide-box-alert h4 {
    font-size: 16px;
    margin-bottom: 15px;
    color: var(--text-dark, #2B2B2B);
}

.guide-check-list,
.guide-bullet-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.guide-check-list li {
    position: relative;
    padding-left: 26px;
    margin-bottom: 12px;
    font-size: 14px;
    color: #4B5563;
    line-height: 1.5;
}

.guide-check-list li::before {
    content: "✔";
    position: absolute;
    left: 0;
    color: var(--primary-color, #8B733D);
    font-weight: bold;
}

.guide-box-alert {
    background-color: #FAF8F5;
    border-left: 4px solid var(--primary-color, #8B733D);
    padding: 22px;
    border-radius: 10px;
}

.guide-bullet-list li {
    position: relative;
    padding-left: 18px;
    margin-bottom: 10px;
    font-size: 14px;
    color: #374151;
    line-height: 1.5;
}

.guide-bullet-list li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--primary-color, #8B733D);
    font-weight: bold;
    font-size: 18px;
    line-height: 1.1;
}

.conservation-highlight {
    margin-top: 18px;
    padding: 12px 15px;
    background-color: #1A1F24;
    color: #FFFFFF;
    border-radius: 8px;
    font-size: 13px;
    line-height: 1.5;
}

.conservation-highlight strong {
    color: var(--primary-color, #8B733D);
}

/* Diseño Panel 2: 5 Pasos para Disfrutar */
.enjoy-steps-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.enjoy-step-card {
    background-color: #FAF8F5;
    padding: 20px;
    border-radius: 10px;
    border: 1px solid #F3F4F6;
}

.enjoy-step-card.full-span-step {
    grid-column: span 2;
    background-color: #F9FAFB;
}

.step-pill {
    display: inline-block;
    background-color: var(--primary-color, #8B733D);
    color: #FFFFFF;
    font-size: 11px;
    font-weight: bold;
    padding: 4px 10px;
    border-radius: 12px;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.enjoy-step-card h4 {
    font-size: 16px;
    color: var(--text-dark, #2B2B2B);
    margin-bottom: 8px;
}

.enjoy-step-card p {
    font-size: 14px;
    color: #4B5563;
    line-height: 1.5;
    margin: 0;
}

/* Diseño Panel 3: Beneficios MAP */
.map-benefits-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 20px;
}

.benefit-item-card {
    padding: 20px;
    border: 1px solid #E5E7EB;
    border-radius: 10px;
    background-color: #FFFFFF;
}

.benefit-icon {
    font-size: 24px;
    display: block;
    margin-bottom: 10px;
}

.benefit-item-card h4 {
    font-size: 16px;
    color: var(--text-dark, #2B2B2B);
    margin-bottom: 6px;
}

.benefit-item-card p {
    font-size: 14px;
    color: #6B7280;
    line-height: 1.5;
    margin: 0;
}

.panel-footer-note {
    background-color: #FAF8F5;
    padding: 15px;
    border-radius: 8px;
    text-align: center;
    font-size: 14px;
    color: #374151;
    margin: 0;
}

/* Diseño Panel 4: Cierre y CTA */
.next-order-cta-box {
    background-color: #1A1F24;
    color: #FFFFFF;
    padding: 40px 30px;
    border-radius: 12px;
    text-align: center;
}

.next-order-cta-box h2 {
    font-size: 26px;
    margin-bottom: 15px;
}

.next-order-cta-box p {
    color: #D1D5DB;
    font-size: 15px;
    max-width: 650px;
    margin: 0 auto 12px auto;
    line-height: 1.6;
}

.brand-closing-slogan {
    font-size: 18px;
    font-weight: bold;
    color: var(--primary-color, #8B733D);
    font-style: italic;
    margin: 25px 0;
}

.guide-cta-buttons {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

.btn-guide-primary,
.btn-guide-secondary {
    padding: 12px 24px;
    border-radius: 25px;
    font-size: 14px;
    font-weight: bold;
    text-decoration: none;
    transition: transform 0.2s, background-color 0.2s;
}

.btn-guide-primary {
    background-color: var(--primary-color, #8B733D);
    color: #FFFFFF !important;
}

.btn-guide-primary:hover {
    background-color: #725E31;
    transform: translateY(-2px);
}

.btn-guide-secondary {
    background-color: transparent;
    border: 1px solid var(--primary-color, #8B733D);
    color: #FFFFFF !important;
}

.btn-guide-secondary:hover {
    background-color: rgba(139, 115, 61, 0.2);
    transform: translateY(-2px);
}

.section-divider-soft {
    border: 0;
    height: 1px;
    background: #E5E7EB;
    margin: 50px auto;
    max-width: 1100px;
}

/* Responsivo Móvil */
@media (max-width: 768px) {
    .guide-header-card h1 { font-size: 26px; }
    .guide-panels-wrapper { padding: 20px 15px; }
    .panel-two-cols,
    .enjoy-steps-grid,
    .map-benefits-grid {
        grid-template-columns: 1fr;
    }
    .enjoy-step-card.full-span-step {
        grid-column: span 1;
    }
    .guide-tabs-nav {
        flex-direction: column;
    }
    .guide-tab-btn {
        width: 100%;
        justify-content: flex-start;
    }
}



