:root {
    --c3l-green-dark: #14401f;
    --c3l-green-mid: #1a5c2e;
    --c3l-green-accent: #6abf7b;
    --c3l-white: #ffffff;
    --c3l-bg-light: #f5f5f2;
    --c3l-text-gray: #4a4a48;
    --c3l-black: #1a1a18;
    --gas-color: #247cc4;
    --gas-accent: #5cd9ff;
}

.gas-sub {
    font-family: 'DM Sans', sans-serif;
    color: var(--c3l-text-gray);
}

/* ══════════════════════════════════════════
   LAYOUT GENERAL
══════════════════════════════════════════ */

.gas-sub-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 60px 20px;
}

.gas-sub-title {
    text-align: center;
    margin-bottom: 40px;
}

.gas-sub-title h1 {
    font-size: clamp(32px, 4vw, 44px);
    font-weight: 600;
    color: var(--c3l-black);
    letter-spacing: -0.02em;
    margin: 0 0 12px;
    line-height: 1.2;
}

.gas-sub-title p {
    font-size: 16px;
    color: var(--c3l-text-gray);
    margin: 0;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
}

.gas-sub-divider {
    width: 60px;
    height: 3px;
    background: var(--gas-color);
    border-radius: 2px;
    margin: 20px auto;
}

/* ══════════════════════════════════════════
   CONTENIDO
══════════════════════════════════════════ */

.gas-sub-content {
    background: var(--c3l-white);
    padding: 40px;
    border-radius: 14px;
    border: 1px solid #e8e8e4;
}

.gas-sub-content h2 {
    font-size: 28px;
    font-weight: 600;
    color: var(--c3l-black);
    margin: 32px 0 16px;
    letter-spacing: -0.01em;
    position: relative;
    padding-bottom: 12px;
}

.gas-sub-content h2:first-child {
    margin-top: 0;
}

.gas-sub-content h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--gas-color);
}

.gas-sub-content h3 {
    font-size: 20px;
    font-weight: 600;
    color: var(--c3l-black);
    margin: 24px 0 12px;
    line-height: 1.3;
}

.gas-sub-content h4 {
    font-size: 16px;
    font-weight: 600;
    color: var(--c3l-black);
    margin: 18px 0 10px;
    line-height: 1.3;
}

.gas-sub-content p {
    font-size: 15px;
    line-height: 1.8;
    color: var(--c3l-text-gray);
    margin: 0 0 16px;
}

.gas-sub-content p:last-of-type {
    margin-bottom: 0;
}

.gas-sub-content ul {
    list-style: none;
    padding: 0;
    margin: 16px 0 24px;
}

.gas-sub-content li {
    font-size: 15px;
    line-height: 1.8;
    color: var(--c3l-text-gray);
    padding-left: 28px;
    position: relative;
    margin-bottom: 12px;
}

.gas-sub-content li::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: var(--gas-color);
    font-size: 18px;
    font-weight: 600;
}

.gas-sub-content a {
    color: var(--gas-color);
    font-weight: 600;
    text-decoration: none;
}

.gas-sub-content a:visited {
    color: #1a4f7d;
}

/* ══════════════════════════════════════════
   IMAGEN DESTACADA
══════════════════════════════════════════ */

.gas-sub-image {
    text-align: center;
    margin: 32px 0;
}

.gas-sub-image img {
    max-width: 280px;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 4px 12px rgba(36, 124, 196, 0.15));
}

/* ══════════════════════════════════════════
   ALERTA EMERGENCIA
══════════════════════════════════════════ */

.gas-sub-emergency {
    background: linear-gradient(135deg, var(--gas-color) 0%, #1a4f7d 100%);
    border-radius: 14px;
    padding: 32px;
    color: var(--c3l-white);
    text-align: center;
    margin-top: 40px;
    box-shadow: 0 8px 24px rgba(36, 124, 196, 0.2);
}

.gas-sub-emergency h3 {
    font-size: 20px;
    margin: 0 0 16px;
    color: var(--c3l-white);
}

.gas-sub-emergency-numbers {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.gas-sub-emergency-number {
    background: rgba(255, 255, 255, 0.15);
    padding: 10px 16px;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 600;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

/* ══════════════════════════════════════════
   HIGHLIGHT BOX
══════════════════════════════════════════ */

.gas-sub-highlight {
    background: rgba(36, 124, 196, 0.08);
    border-left: 4px solid var(--gas-color);
    padding: 20px;
    border-radius: 8px;
    margin: 24px 0;
}

.gas-sub-highlight p {
    margin: 0;
    color: var(--c3l-black);
    font-weight: 500;
}

/* ══════════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════════ */

@media (max-width: 768px) {
    .gas-sub-container {
        padding: 40px 16px;
    }

    .gas-sub-content {
        padding: 28px 20px;
    }

    .gas-sub-content h2 {
        font-size: 24px;
        margin: 24px 0 12px;
    }

    .gas-sub-content h3 {
        font-size: 18px;
        margin: 18px 0 10px;
    }

    .gas-sub-content h4 {
        font-size: 15px;
        margin: 14px 0 8px;
    }

    .gas-sub-content p {
        font-size: 14px;
    }

    .gas-sub-content li {
        font-size: 14px;
        margin-bottom: 10px;
    }

    .gas-sub-image img {
        max-width: 240px;
    }

    .gas-sub-emergency {
        padding: 24px 16px;
    }

    .gas-sub-emergency h3 {
        font-size: 18px;
    }
}

@media (max-width: 480px) {
    .gas-sub-container {
        padding: 32px 12px;
    }

    .gas-sub-title h1 {
        font-size: 28px;
        margin-bottom: 10px;
    }

    .gas-sub-title p {
        font-size: 14px;
    }

    .gas-sub-content {
        padding: 20px 16px;
        border-radius: 10px;
    }

    .gas-sub-content h2 {
        font-size: 20px;
        margin: 20px 0 10px;
    }

    .gas-sub-content h3 {
        font-size: 16px;
        margin: 16px 0 8px;
    }

    .gas-sub-content h4 {
        font-size: 14px;
        margin: 12px 0 6px;
    }

    .gas-sub-content p,
    .gas-sub-content li {
        font-size: 13px;
        line-height: 1.6;
    }

    .gas-sub-content li {
        padding-left: 24px;
        margin-bottom: 8px;
    }

    .gas-sub-image img {
        max-width: 200px;
    }

    .gas-sub-emergency {
        padding: 20px 12px;
        margin-top: 32px;
    }

    .gas-sub-emergency h3 {
        font-size: 16px;
        margin-bottom: 12px;
    }

    .gas-sub-emergency-number {
        padding: 8px 12px;
        font-size: 14px;
    }

    .gas-sub-highlight {
        padding: 16px;
    }
}

/* ══════════════════════════════════════════
   TARJETAS DE TARIFAS
══════════════════════════════════════════ */

.gas-tarifas-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    margin-top: 40px;
}

.tarifa-card {
    background: var(--c3l-white);
    border: 1px solid #e8e8e4;
    border-radius: 14px;
    padding: 28px 24px;
    text-align: center;
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    transition: box-shadow 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
}

.tarifa-card:hover {
    box-shadow: 0 12px 32px rgba(36, 124, 196, 0.12);
    border-color: var(--gas-color);
}

.tarifa-icon {
    width: 64px;
    height: 64px;
    border-radius: 12px;
    background: rgba(36, 124, 196, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    flex-shrink: 0;
}

.tarifa-icon i {
    color: var(--gas-color);
}

.tarifa-card h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--c3l-black);
    margin: 0;
    line-height: 1.3;
}

.tarifa-card p {
    font-size: 14px;
    line-height: 1.6;
    color: var(--c3l-text-gray);
    margin: 0;
    flex-grow: 1;
}

.tarifa-cta {
    color: var(--gas-color);
    font-weight: 600;
    font-size: 14px;
    margin-top: auto;
}

@media (max-width: 768px) {
    .gas-tarifas-grid {
        gap: 20px;
    }

    .tarifa-card {
        padding: 24px 20px;
    }

    .tarifa-icon {
        width: 56px;
        height: 56px;
        font-size: 24px;
    }

    .tarifa-card h3 {
        font-size: 16px;
    }

    .tarifa-card p {
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .gas-tarifas-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .tarifa-card {
        padding: 20px 16px;
    }

    .tarifa-icon {
        width: 48px;
        height: 48px;
        font-size: 20px;
    }

    .tarifa-card h3 {
        font-size: 15px;
    }

    .tarifa-card p {
        font-size: 12px;
    }

    .tarifa-cta {
        font-size: 13px;
    }
}