/* =========================================================
   PROMETEO'S - Hoja de estilos global
   ========================================================= */

:root {
    --p-espresso: #24140b;
    --p-brown: #4a2715;
    --p-brown-2: #6d3519;
    --p-orange: #d84a16;
    --p-orange-light: #f27a1a;
    --p-gold: #c58a32;
    --p-cream: #f7f3eb;
    --p-white: #ffffff;
    --p-black: #111111;
    --p-gray: #666666;
    --p-border: #e5ddd2;

    --font-display: Georgia, "Times New Roman", serif;
    --font-body: "Trebuchet MS", Arial, sans-serif;

    --container: 1180px;
    --radius: 8px;
    --shadow: 0 12px 35px rgba(0,0,0,.14);
    --transition: 220ms ease;
}

/* ---------- Reset ---------- */

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 92px;
}

body {
    margin: 0;
    color: var(--p-black);
    background: var(--p-white);
    font-family: var(--font-body);
    line-height: 1.55;
}

img {
    display: block;
    max-width: 100%;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
a {
    -webkit-tap-highlight-color: transparent;
}

button {
    font: inherit;
}

.container {
    width: min(100% - 32px, var(--container));
    margin-inline: auto;
}

/* =========================================================
   LOGOTIPO FLOTANTE
========================================================= */
.logo {
    position: absolute;
    left: 100px;
    top: 0px;
    width: 175px;
    height: 175px;
    z-index: 1100;
    display: block;
}

.logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(
       0 4px 5px rgba(0,0,0,0.35)
    );
    transition: transform 0.3s ease;
}

.logo:hover img {
    transform: scale(1.03);
}

/* ---------- Barra superior ---------- */

.topbar {
    min-height: 34px;
    background: var(--p-espresso);
    color: var(--p-white);
    font-size: .78rem;
}

.topbar__inner {
    min-height: 34px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.topbar__message {
    margin: 0;
}

.topbar__links {
    display: flex;
    align-items: center;
    gap: 14px;
    color: #f4eee5;
}

.topbar__links a {
    opacity: .9;
    transition: opacity var(--transition);
}

.topbar__links a:hover {
    opacity: 1;
}

/* ---------- Header / navegación ---------- */

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255,255,255,.97);
    border-bottom: 1px solid var(--p-border);
    backdrop-filter: blur(8px);
}

.navbar {
    min-height: 88px;
    display: flex;
    align-items: center;
    gap: 0px;
}

.brand {
    display: inline-flex;
    align-items: center;
    flex: 0 0 auto;
}

.brand img {
    width: 118px;
    height: 118px;
    object-fit: contain;
    position: relative;
    z-index: 2;
}

.nav {
    flex: 1;
    display: flex;
    justify-content: center;
}

.nav__list {
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin: 0;
    padding: 0;
}

.nav__link,
.nav__toggle {
    border: 0;
    background: transparent;
    cursor: pointer;
    padding: 12px 11px;
    color: var(--p-black);
    font-weight: 800;
    font-size: .79rem;
    text-transform: uppercase;
    letter-spacing: .02em;
    transition: color var(--transition), background var(--transition);
}

.nav__link:hover,
.nav__link.is-active,
.nav__toggle:hover {
    color: var(--p-orange);
}

.nav__item--dropdown {
    position: relative;
}

.nav__dropdown {
    position: absolute;
    top: calc(100% + 8px);
    left: 50%;
    min-width: 245px;
    transform: translate(-50%, -8px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    list-style: none;
    margin: 0;
    padding: 10px;
    background: var(--p-white);
    border: 1px solid var(--p-border);
    border-top: 3px solid var(--p-orange);
    box-shadow: var(--shadow);
    transition: opacity var(--transition), transform var(--transition), visibility var(--transition);
}

.nav__item--dropdown:hover .nav__dropdown,
.nav__item--dropdown:focus-within .nav__dropdown,
.nav__item--dropdown.is-open .nav__dropdown {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translate(-50%, 0);
}

.nav__dropdown a {
    display: block;
    padding: 9px 12px;
    font-size: .78rem;
    font-weight: 700;
}

.nav__dropdown a:hover {
    background: #fff3ec;
    color: var(--p-orange);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 46px;
    padding: 0 20px;
    border: 1px solid transparent;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .02em;
    transition: transform var(--transition), background var(--transition), color var(--transition), border-color var(--transition);
}

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

.btn--primary {
    background: var(--p-orange);
    color: var(--p-white);
}

.btn--primary:hover {
    background: #b93e10;
}

.btn--outline {
    color: var(--p-white);
    border-color: var(--p-white);
    background: rgba(0,0,0,.2);
}

.btn--outline:hover {
    background: var(--p-white);
    color: var(--p-espresso);
}

.nav__cta {
    flex: 0 0 auto;
}

/* ---------- Menú móvil ---------- */

.menu-toggle {
    display: none;
    width: 44px;
    height: 44px;
    border: 1px solid var(--p-border);
    background: var(--p-white);
    border-radius: 5px;
    cursor: pointer;
}

.menu-toggle span,
.menu-toggle::before,
.menu-toggle::after {
    content: "";
    display: block;
    width: 22px;
    height: 2px;
    margin: 5px auto;
    background: var(--p-espresso);
}

/* ---------- Hero ---------- */

.hero {
    position: relative;
    min-height: min(720px, calc(100vh - 34px));
    overflow: hidden;
    background: var(--p-espresso);
    color: var(--p-white);
}

.hero__slides {
    position: absolute;
    inset: 0;
}

.hero__slide {
    position: absolute;
    inset: 0;
    background-position: center;
    background-size: cover;
    opacity: 0;
    transform: scale(1.025);
    transition: opacity 900ms ease, transform 7000ms linear;
}

.hero__slide::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(0,0,0,.78) 0%, rgba(0,0,0,.42) 45%, rgba(0,0,0,.62) 100%),
        linear-gradient(0deg, rgba(0,0,0,.55), transparent 50%);
}

.hero__slide.is-active {
    opacity: 1;
    transform: scale(1);
}

.hero__content {
    position: relative;
    z-index: 2;
    min-height: inherit;
    display: grid;
    place-items: center;
    text-align: center;
    padding: 80px 0;
}

.hero__eyebrow {
    margin: 0 0 8px;
    color: #f6d8a1;
    font-weight: 900;
    letter-spacing: .14em;
    text-transform: uppercase;
    font-size: clamp(.9rem, 1.5vw, 1.2rem);
}

.hero__title {
    max-width: 980px;
    margin: 0 auto;
    color: #fff7e8;
    font-family: var(--font-display);
    font-size: clamp(3rem, 8vw, 7.5rem);
    line-height: .9;
    letter-spacing: .015em;
    text-transform: uppercase;
    text-shadow: 0 5px 0 #7c2f0e, 0 12px 30px rgba(0,0,0,.55);
}

.hero__slogan {
    margin: 18px auto 0;
    color: #f46b22;
    font-size: clamp(1.2rem, 2.5vw, 2rem);
    font-weight: 900;
    font-style: italic;
}

.hero__subtitle {
    margin: 14px auto 28px;
    max-width: 720px;
    font-size: clamp(1rem, 1.8vw, 1.35rem);
    font-weight: 700;
}

.hero__actions {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
}

.hero__dots {
    position: absolute;
    z-index: 3;
    bottom: 18px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 7px;
}

.hero__dot {
    width: 9px;
    height: 9px;
    padding: 0;
    border: 1px solid var(--p-white);
    border-radius: 50%;
    background: transparent;
    cursor: pointer;
}

.hero__dot.is-active {
    background: var(--p-orange);
}

/* ---------- Opciones   ---------- */
.opciones {
    background: var(--p-white);
    border-bottom: 1px solid var(--p-border);
}

.opciones__grid {
    display: grid;
    grid-template-columns: repeat(8, 1fr);
}
.opcion {
    min-height: 125px;
    padding: 22px 12px;
    display: grid;
    place-items: center;
    align-content: center;
    text-align: center;
    font-size: .88rem;
    font-weight: 900;    
}

/* ---------- Beneficios ---------- */

.benefits {
    background: var(--p-white);
    border-bottom: 1px solid var(--p-border);
}

.benefits__grid {
    display: grid;
    grid-template-columns: repeat(8, 1fr);
}

.benefit {
    min-height: 125px;
    padding: 22px 12px;
    display: grid;
    place-items: center;
    align-content: center;
    text-align: center;
    border-right: 1px solid var(--p-border);
}

.benefit:nth-child(8n) {
    border-right: 0;
}

.benefit__icon {
    color: var(--p-orange);
    font-size: 1.9rem;
    margin-bottom: 6px;
}

.benefit__title {
    margin: 0;
    font-size: .88rem;
    font-weight: 900;
}

/* ---------- Secciones ---------- */

.section {
    padding: 90px 0;
}

.section--white {
    background: var(--p-white);
}

.section--light {
    background: #fafafa;
}

.section--dark {
    background: var(--p-espresso);
    color: var(--p-white);
}

.section__header {
    max-width: 780px;
    margin: 0 auto 42px;
    text-align: center;
}

.section__eyebrow {
    margin: 0 0 8px;
    color: var(--p-orange);
    font-size: .82rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .12em;
}

.section__title {
    margin: 0;
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3.4rem);
    line-height: 1.05;
}

.section__text {
    color: var(--p-gray);
    font-size: 1.05rem;
}

.section--dark .section__text {
    color: #ddd2c6;
}

/* ---------- Experiencia ---------- */

.experience {
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    gap: 48px;
    align-items: center;
}

.experience__image {
    min-height: 440px;
    border-radius: var(--radius);
    background:
        linear-gradient(rgba(0,0,0,.12), rgba(0,0,0,.12)),
        url("../img/experiencia-fuego.jpg") center/cover no-repeat;
    box-shadow: var(--shadow);
}

.experience__content h3 {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3.2rem);
    margin: 0 0 18px;
}

.experience__content p {
    color: var(--p-gray);
}

/* ---------- Tarjetas ---------- */

.cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.card {
    background: var(--p-white);
    border: 1px solid var(--p-border);
    border-radius: var(--radius);
    overflow: hidden;
    transition: transform var(--transition), box-shadow var(--transition);
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}

.card__image {
    aspect-ratio: 16 / 10;
    width: 100%;
    object-fit: cover;
}

.card__body {
    padding: 22px;
}

.card__body h3 {
    margin: 0 0 8px;
    font-family: var(--font-display);
    font-size: 1.45rem;
}

.card__body p {
    margin: 0;
    color: var(--p-gray);
}

/* ---------- Historia ---------- */

.story {
    display: grid;
    grid-template-columns: .85fr 1.15fr;
    align-items: center;
    gap: 60px;
}

.story__art {
    min-height: 460px;
    background:
        url("../img/sierra-norte.jpg") center/cover no-repeat;
    border-radius: var(--radius);
}

.story__content blockquote {
    margin: 25px 0;
    padding-left: 22px;
    border-left: 4px solid var(--p-orange);
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 3vw, 2.3rem);
}

/* ---------- Proceso ---------- */

.steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    counter-reset: paso;
}

.step {
    position: relative;
    padding: 30px;
    background: var(--p-white);
    border: 1px solid var(--p-border);
    border-radius: var(--radius);
}

.step::before {
    counter-increment: paso;
    content: counter(paso);
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    margin-bottom: 16px;
    border-radius: 50%;
    background: var(--p-orange);
    color: var(--p-white);
    font-weight: 900;
}

/* ---------- CTA ---------- */

.cta {
    position: relative;
    overflow: hidden;
    padding: 80px 0;
    color: var(--p-white);
    background:
        linear-gradient(90deg, rgba(36,20,11,.94), rgba(36,20,11,.68)),
        url("../img/cta-fuego.jpg") center/cover no-repeat;
}

.cta__content {
    max-width: 780px;
    text-align: center;
    margin-inline: auto;
}

.cta h2 {
    margin: 0 0 12px;
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3.4rem);
}

/* ---------- Footer ---------- */

.footer {
    background: var(--p-white);
    border-top: 1px solid var(--p-border);
}

.footer__grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
    gap: 36px;
    padding: 60px 0 35px;
}

.footer__logo {
    width: 150px;
    margin-bottom: 14px;
}

.footer h3 {
    margin: 0 0 14px;
    color: var(--p-brown);
    font-size: .95rem;
    text-transform: uppercase;
}

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

.footer li + li {
    margin-top: 7px;
}

.footer a:hover {
    color: var(--p-orange);
}

.footer__bottom {
    padding: 18px 0;
    border-top: 1px solid var(--p-border);
    color: var(--p-gray);
    font-size: .8rem;
}

.footer__bottom-inner {
    display: flex;
    justify-content: space-between;
    gap: 20px;
}

/* ---------- Responsive ---------- */

@media (max-width: 1050px) {
    .nav__list {
        gap: 0;
    }

    .nav__link,
    .nav__toggle {
        padding-inline: 7px;
        font-size: .72rem;
    }

    .nav__cta {
        display: none;
    }
}

@media (max-width: 820px) {
    .topbar__message {
        display: none;
    }

    .topbar__inner {
        justify-content: center;
    }

    .navbar {
        min-height: 72px;
        justify-content: space-between;
    }

    .brand img {
        width: 88px;
        height: 88px;
    }

    .menu-toggle {
        display: block;
    }

    .nav {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        display: none;
        padding: 10px 16px 18px;
        background: var(--p-white);
        border-bottom: 1px solid var(--p-border);
        box-shadow: var(--shadow);
    }

    .nav.is-open {
        display: block;
    }

    .nav__list {
        display: block;
    }

    .nav__link,
    .nav__toggle {
        width: 100%;
        text-align: left;
        padding: 12px;
    }

    .nav__dropdown {
        position: static;
        width: 100%;
        min-width: 0;
        transform: none;
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        display: none;
        box-shadow: none;
        border-top: 0;
        border-left: 2px solid var(--p-orange);
        padding-left: 8px;
    }

    .nav__item--dropdown.is-open .nav__dropdown {
        display: block;
    }

    .benefits__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .benefit:nth-child(2n) {
        border-right: 0;
    }

    .benefit:nth-child(-n+2) {
        border-bottom: 1px solid var(--p-border);
    }

    .experience,
    .story {
        grid-template-columns: 1fr;
    }

    .cards,
    .steps {
        grid-template-columns: 1fr;
    }

    .footer__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer__bottom-inner {
        flex-direction: column;
    }
}

@media (max-width: 560px) {
    .container {
        width: min(100% - 22px, var(--container));
    }

    .hero {
        min-height: 650px;
    }

    .hero__content {
        padding-top: 60px;
    }

    .hero__title {
        font-size: clamp(2.7rem, 15vw, 5rem);
    }

    .hero__actions .btn {
        width: 100%;
    }

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

    .benefit {
        min-height: 110px;
        font-size: .82rem;
    }

    .section {
        padding: 65px 0;
    }

    .experience__image,
    .story__art {
        min-height: 300px;
    }

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