:root {
    --line: rgba(255, 255, 255, 0.12);
    --text: #fff5ef;
    --muted: #ead2c6;
    --accent: #ff8456;
    --accent-strong: #ff6a3d;
    --shadow: 0 24px 60px rgba(0, 0, 0, 0.28);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: "Avenir Next", "Segoe UI", sans-serif;
    background:
        radial-gradient(circle at top, rgba(255, 121, 76, 0.18), transparent 26%),
        linear-gradient(180deg, #130806 0%, #2c130d 48%, #180906 100%);
    color: var(--text);
}

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

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

.page-shell {
    min-height: 100vh;
}

.hero {
    position: relative;
    background-image:
        linear-gradient(180deg, rgba(12, 5, 3, 0.38), rgba(12, 5, 3, 0.84)),
        url("./img/lomo-saltado-fondo.jpg");
    background-size: cover;
    background-position: center;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 70% 35%, rgba(255, 139, 92, 0.22), transparent 22%),
        linear-gradient(180deg, rgba(18, 8, 5, 0.28), rgba(18, 8, 5, 0.72));
    pointer-events: none;
}

.hero-content,
.section-shell {
    position: relative;
    width: min(1120px, calc(100% - 32px));
    margin: 0 auto;
}

.hero-content {
    padding: 26px 0 48px;
}

.topbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    margin-bottom: 34px;
}

.brand {
    font-size: 1.4rem;
    font-weight: 800;
    letter-spacing: 0.03em;
}

.primary-button,
.secondary-button {
    border-radius: 999px;
    padding: 12px 18px;
    font-weight: 700;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.primary-button {
    background: linear-gradient(135deg, var(--accent), var(--accent-strong));
    box-shadow: 0 12px 28px rgba(255, 106, 61, 0.28);
}

.secondary-button {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid var(--line);
}

.primary-button:hover,
.secondary-button:hover {
    transform: translateY(-1px);
}

.hero-panel {
    display: grid;
    grid-template-columns: 1fr;
    padding: 42px;
    border-radius: 28px;
    background-image:
        linear-gradient(rgba(24, 10, 7, 0.7), rgba(24, 10, 7, 0.7)),
        url("./img/lomo-saltado-fondo.jpg");
    background-size: cover;
    background-position: center;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: var(--shadow);
}

.eyebrow {
    margin: 0 0 12px;
    color: #ffc2ae;
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.hero-copy h1,
.section-heading h2 {
    margin: 0;
    line-height: 1.05;
}

.hero-copy h1 {
    max-width: 11ch;
    font-size: clamp(2.4rem, 5vw, 4.3rem);
}

.hero-text {
    max-width: 560px;
    margin: 20px 0 0;
    color: var(--muted);
    font-size: 1rem;
    line-height: 1.65;
}

.hero-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-top: 28px;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    margin-top: 22px;
}

.feature-card,
.benefit-card,
.step-card {
    overflow: hidden;
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: var(--shadow);
}

.feature-card {
    background: linear-gradient(180deg, rgba(77, 39, 25, 0.94), rgba(37, 18, 12, 0.96));
}

.feature-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.card-content {
    padding: 20px 20px 22px;
}

.card-kicker {
    display: inline-block;
    margin-bottom: 8px;
    color: #ffbd9f;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.card-content h2,
.benefit-card h3,
.step-card h3 {
    margin: 0 0 8px;
}

.card-content h2 {
    font-size: 1.18rem;
    line-height: 1.2;
}

.card-content p,
.benefit-card p,
.step-card p {
    margin: 0;
    color: var(--muted);
    line-height: 1.55;
}

.benefits,
.steps {
    padding: 56px 0 0;
}

.section-heading {
    max-width: 720px;
    margin-bottom: 22px;
}

.section-heading h2 {
    font-size: clamp(2rem, 3.4vw, 3rem);
}

.section-heading.center {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

.benefits-banner {
    position: relative;
    overflow: hidden;
    border-radius: 30px;
    min-height: 420px;
    box-shadow: var(--shadow);
}

.benefits-banner > img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.benefits-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(24, 10, 7, 0.3), rgba(24, 10, 7, 0.82));
}

.benefits-grid {
    position: relative;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
    padding: 220px 24px 24px;
}

.benefit-card {
    padding: 22px;
    background: linear-gradient(180deg, rgba(94, 58, 44, 0.86), rgba(42, 20, 14, 0.94));
}

.benefit-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    margin-bottom: 14px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.08);
    font-weight: 800;
    color: #ffd2bf;
}

.steps {
    padding-bottom: 64px;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.step-card {
    padding: 28px 24px;
    background: linear-gradient(180deg, rgba(87, 48, 32, 0.96), rgba(36, 18, 12, 0.98));
}

.step-icon {
    width: 72px;
    height: 72px;
    margin-bottom: 18px;
}

@media (max-width: 940px) {
    .hero-panel,
    .feature-grid,
    .benefits-grid,
    .steps-grid {
        grid-template-columns: 1fr;
    }

    .hero-copy h1 {
        max-width: 100%;
    }

    .benefits-grid {
        padding-top: 24px;
    }

    .benefits-banner {
        min-height: auto;
    }

    .benefits-banner > img,
    .benefits-overlay {
        height: 100%;
    }
}

@media (max-width: 640px) {
    .hero-content,
    .section-shell {
        width: min(100% - 20px, 1120px);
    }

    .hero-content {
        padding-top: 18px;
    }

    .topbar,
    .topbar-actions {
        flex-direction: column;
        align-items: flex-start;
    }

    .hero-panel {
        padding: 24px;
        border-radius: 24px;
    }

    .feature-card img {
        height: 210px;
    }
}


/* Footer styles */
.site-footer {
    border-top: 1px solid var(--line);
    background: linear-gradient(180deg, rgba(12,6,4,0.02), rgba(12,6,4,0.02));
    color: var(--muted);
}

.site-footer .footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    width: min(1120px, calc(100% - 32px));
    margin: 0 auto;
    padding: 28px 0;
}

.site-footer .brand {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--text);
}

.footer-desc {
    margin-top: 6px;
    max-width: 420px;
    color: var(--muted);
}

.footer-right {
    display: flex;
    gap: 28px;
    align-items: center;
}

.footer-nav a {
    color: var(--muted);
    margin-right: 12px;
    font-weight: 800;
    font-size: 0.78rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.footer-contact span {
    display: block;
    color: #ffc2ae;
    font-weight: 800;
    font-size: 0.78rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.footer-contact a {
    display: block;
    margin-top: 6px;
    color: var(--accent);
    font-weight: 700;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.04);
    padding: 12px 0 20px;
    color: var(--muted);
    text-align: center;
}

@media (max-width: 640px) {
    .site-footer .footer-inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .footer-right {
        width: 100%;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
}

