/* ==========================================================================
   TANK IBÉRICA — CSS de la página "Sobre nosotros"
   --------------------------------------------------------------------------
   Destino: wp-content/themes/[child]/assets/css/tank-about.css
   Estilo: Apple/Tesla — tipografía gigante, mucho aire vertical
   Bloques alternando claro/oscuro
   ========================================================================== */


/* === Variables locales === */
:root {
    --tank-accent: #BA7517;
    --tank-accent-bright: #EF9F27;
    --tank-accent-deep: #412402;
    --tank-dark: #1a1a1a;       /* hero */
    --tank-dark-mid: #2C2C2A;   /* servicios + solicitar */
    --tank-dark-deep: #0a0a0a;  /* CTA final */
}


/* Override GeneratePress containers for full-width sections */
.page-template-template-sobre-nosotros {
    background: #1a1a1a;
    scrollbar-color: #333 #1a1a1a;
}
.page-template-template-sobre-nosotros .site.grid-container {
    max-width: 100% !important;
    padding: 0 !important;
}
.page-template-template-sobre-nosotros .site-content {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 !important;
}
.page-template-template-sobre-nosotros .inside-article {
    padding: 0 !important;
    margin: 0 !important;
}
.page-template-template-sobre-nosotros .entry-header {
    display: none !important;
}
.tank-about-main {
    width: 100% !important;
}

/* ==========================================================================
   ESTRUCTURA BASE
   ========================================================================== */

.tank-about-main {
    margin: 0;
    padding: 0;
}

.tank-about-wrap {
    max-width: 1280px;
    margin: 0 auto;
}

.tank-about-text-center { text-align: center; }


/* ==========================================================================
   TIPOGRAFÍA — EYEBROWS, TÍTULOS, ACENTOS
   ========================================================================== */

.tank-about-eyebrow {
    font-size: 12px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    margin: 0 0 18px;
    font-weight: 500;
    line-height: 1;
}

.tank-about-eyebrow--light { color: var(--tank-accent); }
.tank-about-eyebrow--dark  { color: var(--tank-accent-bright); }

.tank-about-h1 {
    font-size: 92px;
    font-weight: 200;
    letter-spacing: -0.035em;
    line-height: 1.0;
    margin: 0 0 48px;
    color: #fff;
}

.tank-about-h1 strong {
    font-weight: 500;
    color: var(--tank-accent-bright);
}

.tank-about-h2 {
    font-size: 52px;
    font-weight: 200;
    letter-spacing: -0.025em;
    line-height: 1.1;
    margin: 0 auto 100px;
    max-width: 880px;
}

.tank-about-h2 strong { font-weight: 500; }
.tank-about-h2 .tank-about-accent strong { color: var(--tank-accent); }

.tank-about-h2--story {
    font-size: 56px;
    letter-spacing: -0.028em;
    margin: 0 0 64px;
    max-width: none;
    text-align: left;
}

.tank-about-h2--services {
    font-size: 56px;
    letter-spacing: -0.028em;
    color: #fff;
    text-align: center;
}

.tank-about-h2--request {
    font-size: 52px;
    margin: 0 0 24px;
    max-width: none;
    text-align: left;
    color: #fff;
}
.tank-about-h2--request strong { color: var(--tank-accent-bright); }

.tank-about-h2--cta {
    font-size: 68px;
    font-weight: 200;
    letter-spacing: -0.03em;
    line-height: 1.05;
    margin: 0 0 32px;
    color: #fff;
    max-width: 920px;
}
.tank-about-h2--cta strong { color: var(--tank-accent-bright); }


/* ==========================================================================
   BLOQUE 1 — HERO (gris oscuro)
   ========================================================================== */

.tank-about-hero {
    background: var(--tank-dark);
    color: #fff;
    padding: 180px 32px 160px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.tank-about-hero-bg {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
    background-size: 80px 80px;
    opacity: 0.5;
}

.tank-about-hero-content {
    position: relative;
    z-index: 2;
    max-width: 1100px;
    margin: 0 auto;
}

.tank-about-hero .tank-about-eyebrow {
    margin-bottom: 56px;
    letter-spacing: 0.28em;
}

.tank-about-hero-sub {
    font-size: 20px;
    color: rgba(255,255,255,0.6);
    margin: 0 auto;
    max-width: 680px;
    line-height: 1.6;
    font-weight: 300;
}


/* ==========================================================================
   BLOQUE 2 — STATS (claro)
   ========================================================================== */

.tank-about-stats {
    background: #fff;
    padding: 160px 32px;
}

.tank-about-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    border-top: 0.5px solid rgba(0,0,0,0.08);
    border-bottom: 0.5px solid rgba(0,0,0,0.08);
}

.tank-about-stat-cell {
    padding: 64px 24px;
    text-align: center;
    border-right: 0.5px solid rgba(0,0,0,0.08);
}

.tank-about-stat-cell:last-child { border-right: none; }

.tank-about-stat-num {
    font-size: 88px;
    font-weight: 200;
    color: var(--tank-accent);
    line-height: 1;
    letter-spacing: -0.04em;
    margin-bottom: 18px;
}

.tank-about-stat-num small {
    font-size: 36px;
    color: rgba(0,0,0,0.55);
    margin-left: 4px;
    font-weight: 200;
}

.tank-about-stat-label {
    font-size: 12px;
    color: rgba(0,0,0,0.6);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-weight: 500;
}


/* ==========================================================================
   BLOQUE 3 — HISTORIA EDITORIAL (gris suave)
   ========================================================================== */

.tank-about-story {
    background: #F1EFE8;
    padding: 180px 32px;
}

.tank-about-story-wrap {
    max-width: 1000px;
    margin: 0 auto;
}

.tank-about-story-text {
    font-size: 19px;
    line-height: 1.8;
    max-width: 860px;
}

.tank-about-story-text p { margin: 0 0 32px; }
.tank-about-story-text p:last-child { margin: 0; }
.tank-about-story-text strong { font-weight: 500; }

.tank-about-accent strong { color: var(--tank-accent); }


/* ==========================================================================
   BLOQUE 4 — SERVICIOS (gris medio)
   ========================================================================== */

.tank-about-services {
    background: var(--tank-dark-mid);
    color: #fff;
    padding: 180px 32px;
}

.tank-about-services-header {
    text-align: center;
    margin-bottom: 120px;
}

.tank-about-services-header .tank-about-h2 { margin: 0 auto; }

.tank-about-services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.08);
}

.tank-about-service {
    background: var(--tank-dark-mid);
    padding: 80px 48px;
    text-align: center;
}

.tank-about-service-num {
    font-size: 12px;
    color: var(--tank-accent-bright);
    letter-spacing: 0.22em;
    margin: 0 0 36px;
    font-weight: 500;
}

.tank-about-service-h {
    font-size: 36px;
    font-weight: 300;
    margin: 0 0 24px;
    color: #fff;
    letter-spacing: -0.015em;
}

.tank-about-service-h strong { font-weight: 500; }

.tank-about-service-p {
    font-size: 15px;
    color: rgba(255,255,255,0.6);
    line-height: 1.75;
    margin: 0;
}


/* ==========================================================================
   BLOQUE 5 — SECTORES (claro)
   ========================================================================== */

.tank-about-sectors {
    background: #fff;
    padding: 180px 32px;
}

.tank-about-sectors-sub {
    font-size: 18px;
    color: rgba(0,0,0,0.55);
    margin: 0 auto 80px;
    max-width: 660px;
    line-height: 1.7;
    font-weight: 300;
}

.tank-about-sectors-flex {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    justify-content: center;
    max-width: 1080px;
    margin: 0 auto;
}

.tank-about-sector-card {
    background: #F1EFE8;
    border-radius: 18px;
    padding: 36px 24px;
    text-align: center;
    transition: transform 0.2s ease;
    flex: 0 0 calc(25% - 14px);
    min-width: 200px;
}

.tank-about-sector-card:hover { transform: translateY(-4px); }

.tank-about-sector-icon {
    width: 48px;
    height: 48px;
    background: rgba(186,117,23,0.1);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: var(--tank-accent);
}

.tank-about-sector-icon svg {
    width: 24px;
    height: 24px;
}

.tank-about-sector-name {
    font-size: 15px;
    font-weight: 500;
    margin: 0;
}


/* ==========================================================================
   BLOQUE 6 — MARCAS (gris suave)
   ========================================================================== */

.tank-about-brands {
    background: #F1EFE8;
    padding: 140px 32px;
}

.tank-about-brands .tank-about-h2 { margin-bottom: 80px; }

.tank-about-brands-group {
    background: #fff;
    border-radius: 20px;
    padding: 48px 56px;
    margin-bottom: 16px;
}

.tank-about-brands-group:last-of-type { margin-bottom: 0; }

.tank-about-brands-group-h {
    font-size: 12px;
    color: rgba(0,0,0,0.5);
    letter-spacing: 0.22em;
    text-transform: uppercase;
    margin: 0 0 32px;
    font-weight: 500;
}

.tank-about-brands-row {
    display: flex;
    flex-wrap: wrap;
    gap: 36px 56px;
    align-items: center;
}

.tank-about-brand-name {
    font-size: 26px;
    font-weight: 600;
    color: rgba(0,0,0,0.5);
    letter-spacing: 0.04em;
    opacity: 0.65;
    transition: opacity 0.2s ease, color 0.2s ease;
}

.tank-about-brand-name:hover {
    opacity: 1;
    color: rgba(0,0,0,0.95);
}

.tank-about-brand-more {
    font-size: 16px;
    font-weight: 400;
    color: rgba(0,0,0,0.5);
    font-style: italic;
    opacity: 0.55;
}


/* ==========================================================================
   BLOQUE 7 — SOLICITAR VEHÍCULO (gris medio)
   ========================================================================== */

.tank-about-request {
    background: var(--tank-dark-mid);
    color: #fff;
    padding: 140px 32px;
}

.tank-about-request-wrap {
    max-width: 1180px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.6fr 1fr;
    gap: 64px;
    align-items: center;
}

.tank-about-request-p {
    font-size: 17px;
    color: rgba(255,255,255,0.65);
    margin: 0;
    line-height: 1.7;
    max-width: 580px;
    font-weight: 300;
}

.tank-about-request-cta { text-align: right; }

.tank-about-request-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 20px 36px;
    background: var(--tank-accent-bright);
    color: var(--tank-accent-deep);
    border: none;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 500;
    text-decoration: none;
    cursor: pointer;
    transition: transform 0.15s ease;
}

.tank-about-request-btn:hover {
    transform: translateY(-2px);
    color: var(--tank-accent-deep);
}

.tank-about-request-btn svg {
    width: 16px;
    height: 16px;
}

.tank-about-request-note {
    display: block;
    font-size: 12px;
    color: rgba(255,255,255,0.5);
    margin-top: 14px;
    letter-spacing: 0.04em;
}


/* ==========================================================================
   BLOQUE 8 — CTA FINAL (negro puro)
   ========================================================================== */

.tank-about-cta {
    background: var(--tank-dark-deep);
    color: #fff;
    padding: 200px 32px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.tank-about-cta-bg {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
    background-size: 80px 80px;
    opacity: 0.5;
}

.tank-about-cta-wrap {
    max-width: 920px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.tank-about-cta .tank-about-eyebrow {
    margin-bottom: 36px;
    letter-spacing: 0.28em;
}

.tank-about-cta-p {
    font-size: 18px;
    color: rgba(255,255,255,0.6);
    margin: 0 auto 56px;
    line-height: 1.6;
    max-width: 580px;
    font-weight: 300;
}

.tank-about-cta-buttons {
    display: inline-flex;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: center;
}

.tank-about-cta-btn {
    padding: 18px 36px;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    border: none;
    cursor: pointer;
    font-family: inherit;
    transition: transform 0.15s ease;
}

.tank-about-cta-btn:hover { transform: translateY(-2px); }

.tank-about-cta-btn--primary {
    background: #fff;
    color: var(--tank-dark-deep);
}
.tank-about-cta-btn--primary:hover { color: var(--tank-dark-deep); }

.tank-about-cta-btn--wa {
    background: #25D366;
    color: #fff;
}
.tank-about-cta-btn--wa:hover { color: #fff; }

.tank-about-cta-btn svg {
    width: 16px;
    height: 16px;
    fill: currentColor;
}


/* ==========================================================================
   RESPONSIVE — TABLET (1024px)
   ========================================================================== */

@media (max-width: 1023px) {

    /* Reducir padding general 25% */
    .tank-about-hero { padding: 120px 24px 100px; }
    .tank-about-stats { padding: 120px 24px; }
    .tank-about-story { padding: 130px 24px; }
    .tank-about-services { padding: 130px 24px; }
    .tank-about-sectors { padding: 130px 24px; }
    .tank-about-brands { padding: 100px 24px; }
    .tank-about-request { padding: 100px 24px; }
    .tank-about-cta { padding: 140px 24px; }

    /* Tipografía -25% aprox */
    .tank-about-h1 { font-size: 64px; }
    .tank-about-h2 { font-size: 40px; margin-bottom: 70px; }
    .tank-about-h2--story { font-size: 42px; margin-bottom: 48px; }
    .tank-about-h2--services { font-size: 42px; }
    .tank-about-h2--request { font-size: 38px; }
    .tank-about-h2--cta { font-size: 50px; }

    .tank-about-stat-num { font-size: 64px; }
    .tank-about-stat-num small { font-size: 28px; }

    .tank-about-services-header { margin-bottom: 80px; }
    .tank-about-service { padding: 56px 32px; }
    .tank-about-service-h { font-size: 28px; }

    .tank-about-sectors-sub { margin-bottom: 56px; }
    .tank-about-sector-card { flex: 0 0 calc(33.33% - 14px); min-width: 180px; }

    .tank-about-brands-group { padding: 36px 40px; }
    .tank-about-brand-name { font-size: 22px; }

    .tank-about-request-wrap { gap: 40px; }

}


/* ==========================================================================
   RESPONSIVE — MÓVIL (768px)
   ========================================================================== */

@media (max-width: 767px) {

    /* === Padding general más ajustado === */
    .tank-about-hero { padding: 70px 24px 60px; }
    .tank-about-stats { padding: 60px 24px; }
    .tank-about-story { padding: 70px 24px; }
    .tank-about-services { padding: 70px 24px; }
    .tank-about-sectors { padding: 70px 24px; }
    .tank-about-brands { padding: 60px 24px; }
    .tank-about-request { padding: 60px 24px; }
    .tank-about-cta { padding: 80px 24px; }

    /* === Eyebrows más pequeños === */
    .tank-about-eyebrow {
        font-size: 10px;
        margin-bottom: 14px;
    }
    .tank-about-hero .tank-about-eyebrow { margin-bottom: 24px; }
    .tank-about-cta .tank-about-eyebrow { margin-bottom: 22px; }

    /* === H1/H2 móvil === */
    .tank-about-h1 {
        font-size: 38px;
        margin-bottom: 22px;
    }

    .tank-about-h2 {
        font-size: 26px;
        margin-bottom: 36px;
    }

    .tank-about-h2--story {
        font-size: 28px;
        margin-bottom: 28px;
    }

    .tank-about-h2--services {
        font-size: 28px;
    }

    .tank-about-h2--request {
        font-size: 26px;
        margin-bottom: 14px;
    }

    .tank-about-h2--cta {
        font-size: 30px;
        margin-bottom: 18px;
    }

    /* === Hero subtítulo === */
    .tank-about-hero-sub { font-size: 14px; }

    /* === Stats: grid 2x2 === */
    .tank-about-stats-grid { grid-template-columns: 1fr 1fr; }
    .tank-about-stat-cell {
        padding: 28px 12px;
        border-bottom: 0.5px solid rgba(0,0,0,0.08);
    }
    .tank-about-stat-cell:nth-child(2n) { border-right: none; }
    .tank-about-stat-cell:nth-last-child(-n+2) { border-bottom: none; }
    .tank-about-stat-num { font-size: 48px; }
    .tank-about-stat-num small { font-size: 22px; }
    .tank-about-stat-label { font-size: 10px; }

    /* === Historia: textos más pequeños === */
    .tank-about-story-text { font-size: 14px; line-height: 1.75; }
    .tank-about-story-text p { margin-bottom: 16px; }

    /* === Servicios: stack vertical === */
    .tank-about-services-header { margin-bottom: 36px; }
    .tank-about-services-grid {
        grid-template-columns: 1fr;
    }
    .tank-about-service { padding: 32px 24px; }
    .tank-about-service-num { margin-bottom: 14px; font-size: 10px; }
    .tank-about-service-h { font-size: 22px; margin-bottom: 10px; }
    .tank-about-service-p { font-size: 13px; }

    /* === Sectores: grid 2x2, último sector ancho completo === */
    .tank-about-sectors-sub {
        font-size: 13px;
        margin-bottom: 28px;
    }
    .tank-about-sectors-flex {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 8px;
    }
    .tank-about-sector-card {
        flex: none;
        min-width: 0;
        padding: 20px 12px;
        border-radius: 12px;
    }
    /* Si hay número impar de sectores, el último ocupa fila entera */
    .tank-about-sector-card:last-child:nth-child(odd) {
        grid-column: 1 / -1;
    }
    .tank-about-sector-icon {
        width: 36px;
        height: 36px;
        border-radius: 10px;
        margin-bottom: 12px;
    }
    .tank-about-sector-icon svg { width: 18px; height: 18px; }
    .tank-about-sector-name { font-size: 12px; }

    /* === Marcas: cajas más compactas === */
    .tank-about-brands .tank-about-h2 { margin-bottom: 32px; }
    .tank-about-brands-group {
        padding: 24px 20px;
        border-radius: 14px;
        margin-bottom: 10px;
    }
    .tank-about-brands-group-h {
        font-size: 9px;
        letter-spacing: 0.18em;
        margin-bottom: 16px;
    }
    .tank-about-brands-row { gap: 14px 22px; }
    .tank-about-brand-name { font-size: 16px; }
    .tank-about-brand-more { font-size: 12px; }

    /* === Solicitar: stack vertical === */
    .tank-about-request-wrap {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    .tank-about-request-p {
        font-size: 13px;
        max-width: none;
    }
    .tank-about-request-cta { text-align: center; }
    .tank-about-request-btn {
        display: flex;
        justify-content: center;
        padding: 14px 24px;
        font-size: 13px;
        gap: 10px;
    }
    .tank-about-request-btn svg { width: 14px; height: 14px; }
    .tank-about-request-note {
        font-size: 11px;
        margin-top: 10px;
    }

    /* === CTA final: stack vertical full width === */
    .tank-about-cta-p {
        font-size: 13px;
        margin-bottom: 28px;
    }
    .tank-about-cta-buttons {
        display: flex;
        flex-direction: column;
        gap: 8px;
        width: 100%;
    }
    .tank-about-cta-btn {
        padding: 14px 20px;
        font-size: 13px;
        justify-content: center;
        gap: 10px;
    }
    .tank-about-cta-btn svg { width: 14px; height: 14px; }
}


/* ==========================================================================
   RESPONSIVE — MÓVIL PEQUEÑO (480px)
   ========================================================================== */

@media (max-width: 480px) {

    .tank-about-h1 { font-size: 34px; }
    .tank-about-h2 { font-size: 24px; }
    .tank-about-h2--story { font-size: 26px; }
    .tank-about-h2--services { font-size: 26px; }
    .tank-about-h2--request { font-size: 24px; }
    .tank-about-h2--cta { font-size: 28px; }
    .tank-about-stat-num { font-size: 42px; }
    .tank-about-stat-num small { font-size: 18px; }
    .tank-about-brand-name { font-size: 14px; }

}
