/* Variables de Colores Corporativos Requeridos y Utilitarios */
:root {
    --bg-color: #595959;
    --accent-light: #D7A993;
    --brand-orange: #e06126;

    --text-primary: #ffffff;
    --text-secondary: #d1d1d1;
    --card-bg: rgba(255, 255, 255, 0.04);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

html { scroll-behavior: smooth; }

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* ======= HEADER ======= */
.header {
    padding: 1.5rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 100;
    transition: background-color 0.3s ease, backdrop-filter 0.3s ease;
}

.header.scrolled {
    background-color: rgba(89, 89, 89, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--text-primary);
    letter-spacing: -0.5px;
}

.nav a {
    color: var(--text-secondary);
    text-decoration: none;
    margin-left: 2rem;
    font-weight: 600;
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

.nav a:hover { color: var(--brand-orange); }

.nav-cta {
    border: 2px solid var(--accent-light);
    padding: 0.5rem 1.2rem;
    border-radius: 50px;
    color: var(--accent-light) !important;
}

.nav-cta:hover {
    background-color: var(--accent-light);
    color: var(--bg-color) !important;
}

/* ======= ANIMACIONES ======= */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.2, 0.8, 0.2, 1), transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ======= BOTONES ======= */
.btn {
    display: inline-block;
    text-decoration: none;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    text-align: center;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

.btn-primary {
    background-color: var(--brand-orange);
    color: #fff;
    box-shadow: 0 10px 25px rgba(224, 97, 38, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 15px 35px rgba(224, 97, 38, 0.5);
    background-color: #f26f33;
}

.btn-secondary {
    background-color: transparent;
    color: var(--text-primary);
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.btn-secondary:hover {
    background-color: #ffffff;
    color: var(--bg-color);
}

/* ======= HERO ======= */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-top: 80px;
    background: radial-gradient(circle at 50% 15%, rgba(215, 169, 147, 0.15) 0%, var(--bg-color) 60%);
}

.hero-content { max-width: 900px; }

.pill {
    display: inline-block;
    padding: 0.4rem 0.9rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--text-secondary);
    font-weight: 600;
    font-size: 0.95rem;
    margin-bottom: 1.2rem;
}

.hero-content h2 {
    font-size: 4rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -1px;
}

.hero-content h2 span { color: var(--accent-light); }

.hero-content p {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin: 0 auto 2.2rem auto;
    font-weight: 300;
    max-width: 820px;
}

.trust-row {
    display: flex;
    justify-content: center;
    gap: 1.2rem;
    flex-wrap: wrap;
    margin-top: 2rem;
    color: var(--text-secondary);
}

.trust-item {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.06);
    padding: 0.7rem 1rem;
    border-radius: 16px;
    font-weight: 600;
}

.trust-item span { color: var(--brand-orange); margin-right: 0.4rem; }

/* ======= SECTIONS GLOBALES ======= */
.features, .process-section, .faq-section { padding: 6rem 0; }
.process-section { background-color: rgba(255, 255, 255, 0.02); }

.section-title {
    text-align: center;
    font-size: 2.5rem;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    font-weight: 800;
}

.section-subtitle {
    text-align: center;
    color: var(--text-secondary);
    font-size: 1.15rem;
    max-width: 720px;
    margin: 0 auto 4rem auto;
}

/* ======= GRID FEATURES ======= */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: var(--card-bg);
    padding: 2.5rem;
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: transform 0.4s ease, border-color 0.4s ease, background 0.4s ease;
}

.feature-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(224, 97, 38, 0.3);
}

.feature-card .icon {
    font-size: 2.5rem;
    margin-bottom: 1.2rem;
    color: var(--brand-orange);
}

.feature-card h5 {
    font-size: 1.5rem;
    margin-bottom: 0.8rem;
    color: var(--accent-light);
    font-weight: 600;
}

.feature-card p { color: var(--text-secondary); }

/* ======= 2 COL ======= */
.two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-top: 2.5rem;
}

.card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 24px;
    padding: 2.2rem;
}

.card h4 {
    font-size: 1.8rem;
    margin-bottom: 0.8rem;
    font-weight: 800;
}

.card p { color: var(--text-secondary); margin-bottom: 1.2rem; }

.bullet-list {
    list-style: none;
    display: grid;
    gap: 0.8rem;
}

.bullet-list li {
    display: flex;
    gap: 0.8rem;
    color: var(--text-primary);
}

.bullet-list .dot { color: var(--accent-light); }

.stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin: 1.2rem 0 0.5rem 0;
}

.stat {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 18px;
    padding: 1.2rem 1rem;
    text-align: center;
}

.stat-number {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--accent-light);
    line-height: 1.1;
}

.stat-label {
    margin-top: 0.4rem;
    color: var(--text-secondary);
    font-weight: 600;
    font-size: 0.95rem;
}

.fineprint {
    color: var(--text-secondary);
    opacity: 0.85;
    font-size: 0.95rem;
    margin-top: 0.7rem;
}

/* ======= PROCESS ======= */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.6rem;
}

.step-card {
    background: var(--card-bg);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 24px;
    padding: 2rem;
}

.step-number {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    background: rgba(224, 97, 38, 0.18);
    border: 1px solid rgba(224, 97, 38, 0.35);
    color: #fff;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.step-card h5 {
    font-size: 1.4rem;
    color: var(--accent-light);
    margin-bottom: 0.6rem;
}

.step-card p { color: var(--text-secondary); }

/* ======= FAQ ======= */
.faq-grid {
    max-width: 900px;
    margin: 0 auto;
    display: grid;
    gap: 1rem;
}

.faq-item {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 18px;
    padding: 1.2rem 1.4rem;
}

.faq-item summary {
    cursor: pointer;
    font-weight: 800;
    list-style: none;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
    content: "+";
    float: right;
    color: var(--accent-light);
    font-size: 1.2rem;
}

.faq-item[open] summary::after { content: "–"; }

.faq-item p {
    color: var(--text-secondary);
    margin-top: 0.8rem;
}

/* ======= CTA BANNER ======= */
.cta-section { padding: 2rem 0 6rem 0; }

.cta-section .container {
    background: linear-gradient(135deg, var(--brand-orange) 0%, rgba(224, 97, 38, 0.7) 100%);
    padding: 4rem 2rem;
    border-radius: 32px;
    text-align: center;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.cta-section h2 {
    font-size: 2.8rem;
    margin-bottom: 1.2rem;
    color: #fff;
}

.cta-section p {
    font-size: 1.2rem;
    margin: 0 auto 2.2rem auto;
    max-width: 760px;
    opacity: 0.95;
}

/* ======= FOOTER ======= */
.footer {
    text-align: center;
    padding: 2rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--text-secondary);
}

.footer a {
    display: inline-block;
    margin-top: 0.6rem;
    color: var(--text-secondary);
}

.footer a:hover { color: var(--accent-light); }

/* ======= MOBILE ======= */
@media (max-width: 900px) {
    .two-col { grid-template-columns: 1fr; }
    .stats { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .header-container { flex-direction: column; gap: 1rem; }
    .nav { display: flex; gap: 1rem; flex-wrap: wrap; justify-content: center; }
    .nav a { margin-left: 0; }
    .hero-content h2 { font-size: 2.7rem; }
    .hero { padding-top: 140px; }
    .btn { width: 100%; }
}
