/* =========================================================
   RIDEL-SIP - VISTA NOSOTROS
========================================================= */

:root {
    --about-black: #050505;
    --about-dark: #101010;
    --about-card: #151515;
    --about-orange: #ff7a00;
    --about-orange-soft: #ff9a25;
    --about-white: #ffffff;
    --about-gray: #c7c7c7;
    --about-green: #25D366;
    --about-border: rgba(255, 122, 0, 0.18);
}

/* =========================================================
   BASE
========================================================= */

body.nosotros-page {
    background: #050505;
    color: #ffffff;
}

.nosotros-wrapper {
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
    background:
        radial-gradient(circle at 78% 10%, rgba(255, 122, 0, 0.18), transparent 34%),
        linear-gradient(90deg, #020202 0%, #070707 45%, #101010 100%);
}

.nosotros-wrapper::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background:
        linear-gradient(90deg, rgba(0, 0, 0, 0.92) 0%, rgba(0, 0, 0, 0.58) 42%, rgba(0, 0, 0, 0.15) 100%),
        linear-gradient(180deg, rgba(0, 0, 0, 0.02) 0%, rgba(0, 0, 0, 0.9) 100%);
}

.nosotros-wrapper > :not(.decor) {
    position: relative;
    z-index: 2;
}

.nosotros-wrapper img {
    display: block;
    max-width: 100%;
}

body.nosotros-page .decor {
    position: absolute !important;
    z-index: 1 !important;
    pointer-events: none;
}

/* Quita la línea naranja que molestaba debajo del título principal */
body.nosotros-page .decor-left::after,
body.nosotros-page .about-hero-content::before,
body.nosotros-page .about-hero-content::after,
body.nosotros-page .about-hero-content h1::before,
body.nosotros-page .about-hero-content h1::after {
    display: none !important;
    content: none !important;
}

/* =========================================================
   HEADER: usa .site-header (ver bloque HEADER al final del archivo,
   mismo header que index.php / modelos.php)
========================================================= */

/* =========================================================
   HERO NOSOTROS
========================================================= */

.about-hero {
    max-width: 1400px;
    margin: 0 auto;
    padding: 28px 42px 28px;
    display: grid;
    grid-template-columns: 42% 58%;
    gap: 24px;
    align-items: start;
}

.about-kicker,
.about-label {
    display: inline-block;
    color: var(--about-orange);
    text-transform: uppercase;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 1.5px;
    margin-bottom: 8px;
}

.about-hero-content h1 {
    font-family: "Anton", Impact, sans-serif;
    font-size: clamp(58px, 6vw, 92px);
    line-height: 0.9;
    text-transform: uppercase;
    font-weight: 400;
    margin: 0;
}

.about-hero-content h1 strong {
    display: block;
    color: var(--about-orange);
    font-weight: 400;
}

.about-hero-content p {
    max-width: 560px;
    margin-top: 16px;
    color: var(--about-gray);
    font-size: 15px;
    line-height: 1.55;
}

.about-actions {
    margin-top: 22px;
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.about-primary-btn,
.about-secondary-btn {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    text-transform: uppercase;
    font-weight: 950;
    letter-spacing: 0.6px;
    text-decoration: none;
}

.about-primary-btn {
    gap: 16px;
    background: linear-gradient(90deg, var(--about-orange), var(--about-orange-soft));
    color: #050505;
    padding: 15px 14px 15px 28px;
}

.about-primary-btn span {
    width: 42px;
    height: 42px;
    background: #050505;
    color: #ffffff;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-size: 30px;
}

.about-secondary-btn {
    border: 2px solid var(--about-orange);
    color: var(--about-orange);
    padding: 16px 22px;
}

.about-secondary-btn:hover {
    background: var(--about-orange);
    color: #050505;
}

/* =========================================================
   PORTADA HERO CON LOGO
========================================================= */

.about-cover-box {
    position: relative;
    width: min(100%, 560px);
    aspect-ratio: 1.18 / 1;
    justify-self: center;
    border-radius: 22px;
    overflow: hidden;
    background:
        radial-gradient(circle at center, rgba(255, 122, 0, 0.14), transparent 48%),
        linear-gradient(135deg, #050505 0%, #111111 48%, #050505 100%);
    border: 1px solid rgba(255, 122, 0, 0.28);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.45);
    display: flex;
    align-items: center;
    justify-content: center;
}

.about-cover-bg {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(255, 122, 0, 0.35) 1.2px, transparent 1.2px);
    background-size: 22px 22px;
    opacity: 0.16;
    pointer-events: none;
}

.about-cover-logo {
    position: relative;
    z-index: 2;
    width: 82%;
    max-width: 430px;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 18px 35px rgba(0, 0, 0, 0.65));
}

.about-cover-tags {
    position: absolute;
    right: 18px;
    bottom: 16px;
    display: flex;
    gap: 8px;
    z-index: 3;
}

.about-cover-tags span {
    background: rgba(0, 0, 0, 0.75);
    color: #ff7a00;
    border: 1px solid rgba(255, 122, 0, 0.45);
    padding: 6px 11px;
    border-radius: 999px;
    font-size: 0.68rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.7px;
}

/* =========================================================
   TÍTULOS
========================================================= */

.about-section,
.values-section {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 42px 44px;
}

.about-title {
    margin-bottom: 20px;
}

.about-title h2 {
    white-space: nowrap;
}

/* =========================================================
   HISTORIA
========================================================= */

.about-story-card {
    background: rgba(15, 15, 15, 0.96);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 24px;
    padding: 22px;
    display: grid;
    grid-template-columns: 60% 40%;
    gap: 22px;
    align-items: center;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.4);
}

.about-story-text h3 {
    font-family: "Anton", Impact, sans-serif;
    font-size: 38px;
    line-height: 1;
    text-transform: uppercase;
    font-weight: 400;
    margin-bottom: 14px;
}

.about-story-text p {
    color: var(--about-gray);
    font-size: 14px;
    line-height: 1.55;
    margin-bottom: 12px;
}

.about-story-image {
    height: 300px;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(255, 122, 0, 0.18);
    background: #111111;
}

.about-story-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* =========================================================
   MISIÓN Y VISIÓN
========================================================= */

.mission-vision-section {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 42px 44px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.mission-card {
    position: relative;
    background: rgba(15, 15, 15, 0.96);
    border: 1px solid rgba(255, 122, 0, 0.18);
    border-radius: 22px;
    padding: 24px;
    overflow: hidden;
    box-shadow: 0 16px 34px rgba(0, 0, 0, 0.35);
}

.mission-card::before {
    content: "";
    position: absolute;
    right: -80px;
    top: -80px;
    width: 220px;
    height: 220px;
    border-radius: 50%;
    background: rgba(255, 122, 0, 0.13);
}

.mission-icon {
    color: var(--about-orange);
    font-family: "Anton", Impact, sans-serif;
    font-size: 48px;
    line-height: 1;
    margin-bottom: 10px;
}

.mission-card span {
    color: var(--about-orange);
    text-transform: uppercase;
    font-weight: 900;
    letter-spacing: 2px;
}

.mission-card h3 {
    font-family: "Anton", Impact, sans-serif;
    font-weight: 400;
    text-transform: uppercase;
    font-size: 34px;
    margin: 8px 0 10px;
}

.mission-card p {
    color: var(--about-gray);
    font-size: 14px;
    line-height: 1.55;
}

/* =========================================================
   VALORES
========================================================= */

.values-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 14px;
}

.value-card {
    background: #f4f4f4;
    color: #111111;
    border-radius: 18px;
    padding: 18px;
    min-height: 190px;
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.28);
    transition: 0.25s ease;
}

.value-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 0 35px rgba(255, 122, 0, 0.25);
}

.value-icon {
    width: 52px;
    height: 52px;
    background: var(--about-orange);
    color: #050505;
    display: grid;
    place-items: center;
    border-radius: 16px;
    font-weight: 950;
    font-size: 24px;
    margin-bottom: 18px;
}

.value-card h3 {
    font-size: 18px;
    text-transform: uppercase;
    font-weight: 950;
    margin-bottom: 8px;
}

.value-card p {
    color: #333333;
    font-size: 12px;
    line-height: 1.45;
}

/* =========================================================
   CTA FINAL
========================================================= */

.about-final-cta {
    max-width: 1400px;
    margin: 0 auto 42px;
    padding: 24px 32px;
    background: rgba(15, 15, 15, 0.96);
    border: 1px solid rgba(255, 122, 0, 0.18);
    border-radius: 22px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    box-shadow: 0 16px 34px rgba(0, 0, 0, 0.35);
}

.about-final-cta span {
    color: var(--about-orange);
    text-transform: uppercase;
    font-weight: 900;
    letter-spacing: 2px;
}

.about-final-cta h2 {
    font-family: "Anton", Impact, sans-serif;
    font-size: 34px;
    text-transform: uppercase;
    font-weight: 400;
    margin: 6px 0;
}

.about-final-cta p {
    color: var(--about-gray);
    max-width: 760px;
    line-height: 1.55;
}

.about-final-cta a {
    background: var(--about-green);
    color: #050505;
    padding: 15px 22px;
    border-radius: 999px;
    font-weight: 950;
    text-transform: uppercase;
    white-space: nowrap;
    text-decoration: none;
}

/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 1200px) {
    .about-hero,
    .about-story-card,
    .mission-vision-section {
        grid-template-columns: 1fr;
    }

    .values-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .about-cover-box {
        width: min(100%, 560px);
        margin-top: 18px;
    }
}

@media (max-width: 768px) {
    body.nosotros-page .main-header {
        height: auto !important;
        min-height: 85px !important;
        max-height: none !important;
        padding: 14px 18px !important;
        grid-template-columns: auto 1fr auto !important;
    }

    body.nosotros-page .brand-logo {
        width: 120px !important;
        max-width: 120px !important;
    }

    .about-hero,
    .about-section,
    .values-section,
    .mission-vision-section {
        padding-left: 18px;
        padding-right: 18px;
    }

    .about-hero {
        padding-top: 24px;
        padding-bottom: 55px;
    }

    .about-hero-content h1 {
        font-size: clamp(58px, 17vw, 86px);
    }

    .about-hero-content p {
        font-size: 16px;
    }

    .about-cover-box {
        width: 100%;
        aspect-ratio: 1.08 / 1;
    }

    .about-cover-logo {
        width: 78%;
        min-width: 210px;
    }

    .about-cover-tags {
        left: 14px;
        right: 14px;
        bottom: 14px;
        flex-wrap: wrap;
    }

    .about-cover-tags span {
        font-size: 0.65rem;
        padding: 6px 10px;
    }

    .about-story-card,
    .mission-card {
        padding: 22px;
    }

    .about-story-text h3,
    .mission-card h3,
    .about-final-cta h2 {
        font-size: 32px;
    }

    .about-story-image {
        height: 300px;
    }

    .values-grid {
        grid-template-columns: 1fr;
    }

    .about-final-cta {
        margin-left: 18px;
        margin-right: 18px;
        padding: 26px;
        flex-direction: column;
        align-items: flex-start;
    }

    .about-final-cta a {
        width: 100%;
        text-align: center;
    }
}

/* =========================================================
   HEADER (mismo header usado en modelos.php)
========================================================= */

.site-header {
    padding: 20px 40px 10px;
    position: sticky !important;
    top: 0 !important;
    z-index: 80 !important;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.header-inner {
    max-width: 1450px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 28px;
    justify-content: space-between;
}

.logo-block img {
    width: 110px;
    display: block;
}

.site-header .main-nav {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 28px;
    flex-wrap: wrap;
}

.site-header .main-nav a {
    color: #ffffff;
    font-size: 14px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: 0.25s ease;
}

.site-header .main-nav a:hover,
.site-header .main-nav a.active {
    color: #ff7a00;
}

.header-inner .btn-whatsapp {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: 2px solid #ff7a00;
    color: #ff7a00;
    padding: 10px 18px;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 900;
    text-transform: uppercase;
    transition: 0.25s ease;
}

.header-inner .btn-whatsapp:hover {
    background: #ff7a00;
    color: #000000;
}

.header-inner .btn-whatsapp img {
    width: 22px;
    height: 22px;
    object-fit: contain;
}

.header-inner .cotiza {
    white-space: nowrap;
}

.header-inner .menu-toggle {
    display: none;
    background: transparent;
    color: #ff7a00;
    border: none;
    font-size: 38px;
    cursor: pointer;
}

@media (max-width: 768px) {
    .site-header {
        padding: 14px 16px;
    }

    .header-inner {
        flex-wrap: nowrap;
        align-items: center;
    }

    .logo-block {
        position: relative;
        z-index: 10005;
    }

    .logo-block img {
        width: 90px;
    }

    .header-inner .btn-whatsapp {
        display: none;
    }

    .header-inner .menu-toggle {
        display: flex;
        position: relative;
        z-index: 10005;
        align-items: center;
        justify-content: center;
        width: 48px;
        height: 48px;
        background: transparent;
        color: #ff7a00;
        border: none;
        font-size: 34px;
        line-height: 1;
        cursor: pointer;
    }

    #mainNav.main-nav {
        position: fixed !important;
        z-index: 10000 !important;
        top: 0 !important;
        left: 0 !important;
        width: 100vw !important;
        height: 100dvh !important;
        margin: 0 !important;
        padding: 120px 28px 38px !important;
        background: linear-gradient(180deg, rgba(0, 0, 0, 0.98), rgba(8, 8, 8, 0.98)) !important;

        display: flex !important;
        flex-direction: column !important;
        align-items: flex-start !important;
        justify-content: flex-start !important;
        gap: 0 !important;

        opacity: 0 !important;
        visibility: hidden !important;
        pointer-events: none !important;
        transform: translateX(100%) !important;
        transition: transform 0.28s ease, opacity 0.28s ease, visibility 0.28s ease !important;

        overflow-y: auto !important;
        overflow-x: hidden !important;
    }

    #mainNav.main-nav.show {
        opacity: 1 !important;
        visibility: visible !important;
        pointer-events: auto !important;
        transform: translateX(0) !important;
    }

    #mainNav.main-nav a {
        width: 100% !important;
        display: block !important;
        padding: 19px 0 !important;
        font-size: 18px !important;
        border-bottom: 1px solid rgba(255, 122, 0, 0.26);
    }

    #mainNav.main-nav a.nav-cart-link {
        display: inline-flex !important;
        align-items: center !important;
        justify-content: flex-start !important;
        gap: 8px !important;
    }

    #mainNav.main-nav a.nav-cart-link .nav-cart-badge {
        position: static !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        flex: 0 0 auto !important;
        width: 22px !important;
        min-width: 22px !important;
    }
}