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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    line-height: 1.6;
    color: #1e293b;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(15px);
    z-index: 1000;
    padding: 1.2rem 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.header.scrolled {
    background: rgba(255, 255, 255, 0.78);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.52);
    padding: 0.25rem 0;
}

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

.logo {
    font-size: 1.8rem;
    font-weight: 800;
    background: linear-gradient(135deg, #0ea5e9, #0284c7);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 1.6rem;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: #475569;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: #0ea5e9;
}

.nav-cta {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: white !important;
    padding: 0.6rem 1.2rem;
    border-radius: 50px;
    font-weight: 700 !important;
    box-shadow: 0 6px 20px rgba(245, 158, 11, 0.35);
    transition: all 0.3s ease;
}

.nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 28px rgba(245, 158, 11, 0.5);
    color: white !important;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 5px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: #475569;
    margin: 3px 0;
    transition: all 0.3s ease;
    border-radius: 2px;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    background: linear-gradient(135deg, rgba(14, 165, 233, 0.7), rgba(2, 132, 199, 0.6)), url('../img/playa.jpg');
    background-size: 110% 110%;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
    animation: backgroundMove 20s ease-in-out infinite;
    padding: 6rem 20px 3rem;
}

@keyframes backgroundMove {
    0%, 100% { background-position: center center; background-size: 110% 110%; }
    25% { background-position: center top; background-size: 115% 115%; }
    50% { background-position: right center; background-size: 110% 110%; }
    75% { background-position: center bottom; background-size: 115% 115%; }
}

.hero::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(45deg, rgba(14, 165, 233, 0.1), rgba(2, 132, 199, 0.2));
    animation: subtleWave 12s ease-in-out infinite;
}

@keyframes subtleWave {
    0%, 100% { transform: scale(1) rotate(0deg); opacity: 0.8; }
    33% { transform: scale(1.01) rotate(0.5deg); opacity: 0.9; }
    66% { transform: scale(1.01) rotate(-0.5deg); opacity: 0.85; }
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 950px;
}

.hero-tagline {
    display: inline-block;
    background: rgba(255,255,255,0.15);
    border: 1px solid rgba(255,255,255,0.3);
    padding: 0.5rem 1.2rem;
    border-radius: 50px;
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    backdrop-filter: blur(10px);
    animation: fadeInUp 1s ease-out;
}

.hero h1 {
    font-size: 3.8rem;
    font-weight: 950;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    animation: fadeInUp 1s ease-out;
    line-height: 1.1;
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 2.2rem;
    opacity: 0.95;
    animation: fadeInUp 1s ease-out 0.2s both;
}

.hero-ctas {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 1s ease-out 0.4s both;
}

.cta-button {
    display: inline-block;
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: white;
    padding: 1.2rem 2rem;
    border-radius: 60px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.15rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 12px 40px rgba(245, 158, 11, 0.35);
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.cta-button.secondary {
    background: rgba(255,255,255,0.12);
    border: 2px solid rgba(255,255,255,0.6);
    box-shadow: none;
    backdrop-filter: blur(10px);
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0; left: -100%;
    width: 100%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.6s;
}

.cta-button:hover::before { left: 100%; }

.cta-button:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 20px 60px rgba(245, 158, 11, 0.5);
    border-color: rgba(255, 255, 255, 0.3);
}

.cta-button.secondary:hover {
    background: rgba(255,255,255,0.2);
    box-shadow: 0 12px 40px rgba(255,255,255,0.2);
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Stats Bar */
.stats-bar {
    background: linear-gradient(135deg, #0284c7, #0369a1);
    color: white;
    padding: 2.5rem 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 1.5rem;
    text-align: center;
}

.stat-item .stat-num {
    font-size: 2.4rem;
    font-weight: 900;
    display: block;
    line-height: 1;
}

.stat-item .stat-label {
    font-size: 0.9rem;
    opacity: 0.9;
    margin-top: 0.4rem;
    display: block;
}

/* Section base */
section { scroll-margin-top: 50px; }

.section-title {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title h2 {
    font-size: 2.6rem;
    font-weight: 800;
    color: #1e293b;
    margin-bottom: 1rem;
}

.section-title p {
    font-size: 1.2rem;
    color: rgb(62, 85, 117);
    max-width: 900px;
    margin: 0 auto;
}

.section-tag {
    display: inline-block;
    color: #0ea5e9;
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 0.75rem;
}

/* Pillars Section */
.pillars {
    padding: 6rem 0;
    background: linear-gradient(135deg, #f8fafc, #e2e8f0);
}

.pillars-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.pillar-card {
    background: white;
    padding: 2.5rem;
    border-radius: 24px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(14, 165, 233, 0.08);
    position: relative;
    overflow: hidden;
}

.pillar-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 4px;
    background: linear-gradient(135deg, #0ea5e9, #0284c7);
    transform: scaleX(0);
    transition: transform 0.4s ease;
    transform-origin: left;
}

.pillar-card:hover::before { transform: scaleX(1); }

.pillar-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 25px 60px rgba(14, 165, 233, 0.18);
    border-color: rgba(14, 165, 233, 0.2);
}

.pillar-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, #0ea5e9, #0284c7);
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
}

.pillar-card h3 {
    font-size: 1.4rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 0.5rem;
}

.pillar-card .pillar-sub {
    color: #0ea5e9;
    font-weight: 600;
    font-size: 0.95rem;
    margin-bottom: 1.2rem;
}

.pillar-card p {
    color: #64748b;
    line-height: 1.7;
    margin-bottom: 1.2rem;
}

.pillar-list {
    list-style: none;
}

.pillar-list li {
    color: #475569;
    margin-bottom: 0.5rem;
    padding-left: 1.5rem;
    position: relative;
}

.pillar-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #0ea5e9;
    font-weight: bold;
}

/* Before/After Section */
.beforeafter {
    padding: 6rem 0;
    background: white;
}

.ba-grid {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 2rem;
    align-items: center;
    margin-top: 3rem;
}

.ba-col {
    border-radius: 20px;
    padding: 2.5rem;
}

.ba-before {
    background: #f1f5f9;
    border: 2px solid #e2e8f0;
}

.ba-after {
    background: linear-gradient(135deg, rgba(14, 165, 233, 0.06), rgba(2, 132, 199, 0.1));
    border: 2px solid rgba(14, 165, 233, 0.2);
}

.ba-col h3 {
    font-size: 1.4rem;
    font-weight: 800;
    margin-bottom: 1.2rem;
}

.ba-before h3 { color: #64748b; }
.ba-after h3 { color: #0284c7; }

.ba-col ul {
    list-style: none;
}

.ba-col li {
    padding: 0.6rem 0;
    font-size: 1.05rem;
    border-bottom: 1px dashed rgba(0,0,0,0.06);
}

.ba-before li { color: #64748b; }
.ba-after li { color: #1e293b; font-weight: 500; }

.ba-arrow {
    font-size: 2.5rem;
    color: #0ea5e9;
    text-align: center;
    font-weight: 900;
}

/* Features / Modules Section */
.modules {
    padding: 6rem 0;
    background: linear-gradient(135deg, #f8fafc, #e2e8f0);
}

.modules-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.module-card {
    background: linear-gradient(135deg, rgba(14, 165, 233, 0.03), rgba(2, 132, 199, 0.06));
    padding: 2.5rem;
    border-radius: 20px;
    border: 2px solid rgba(14, 165, 233, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.module-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(135deg, #0ea5e9, #0284c7);
    transform: scaleX(0);
    transition: transform 0.4s ease;
    transform-origin: left;
}

.module-card:hover::before { transform: scaleX(1); }

.module-card:hover {
    border-color: rgba(14, 165, 233, 0.25);
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 50px rgba(14, 165, 233, 0.15);
    background: linear-gradient(135deg, rgba(14, 165, 233, 0.06), rgba(2, 132, 199, 0.1));
}

.module-icon {
    width: 54px;
    height: 54px;
    background: linear-gradient(135deg, #0ea5e9, #0284c7);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.7rem;
    margin-bottom: 0;
    box-shadow: 0 8px 24px rgba(14, 165, 233, 0.25);
    color: white;
    flex-shrink: 0;
}

.module-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.2rem;
}

.module-header-text {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    min-width: 0;
}

.module-card .module-header .module-badge {
    margin-bottom: 0;
    font-size: 0.75rem;
    padding: 0.35rem 0.8rem;
    border-radius: 20px;
}

.module-card .module-header h3 {
    margin-bottom: 0;
    font-size: 1.1rem;
}

.module-badge {
    display: inline-block;
    background: linear-gradient(135deg, #0ea5e9, #0284c7);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.module-card h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 1rem;
}

.module-features {
    list-style: none;
}

.module-features li {
    color: #475569;
    margin-bottom: 0.5rem;
    padding-left: 1.5rem;
    position: relative;
}

.module-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #0ea5e9;
    font-weight: bold;
}

/* Para quién Section */
.audience {
    padding: 6rem 0;
    background: white;
}

.audience-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.audience-card {
    background: white;
    border-radius: 24px;
    padding: 2.5rem;
    box-shadow: 0 8px 30px rgba(0,0,0,0.06);
    border: 1px solid rgba(14, 165, 233, 0.1);
    transition: all 0.4s ease;
}

.audience-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(14, 165, 233, 0.15);
    border-color: rgba(14, 165, 233, 0.3);
}

.audience-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #0ea5e9, #0284c7);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    font-size: 1.6rem;
}

.audience-card h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 1rem;
}

.audience-card p {
    color: #64748b;
    margin-bottom: 1.2rem;
}

.audience-card .audience-list {
    list-style: none;
}

.audience-card .audience-list li {
    color: #475569;
    padding: 0.4rem 0 0.4rem 1.5rem;
    position: relative;
    font-size: 0.98rem;
}

.audience-card .audience-list li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: #0ea5e9;
    font-weight: bold;
}

/* Casos de éxito */
.casos {
    padding: 6rem 0;
    background: linear-gradient(135deg, #f0f9ff, #e0f2fe);
}

.caso-card {
    background: white;
    border-radius: 24px;
    padding: 0;
    box-shadow: 0 12px 40px rgba(14, 165, 233, 0.12);
    overflow: hidden;
    max-width: 900px;
    margin: 3rem auto 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.caso-info {
    padding: 2.5rem;
}

.caso-badge {
    display: inline-block;
    background: linear-gradient(135deg, #0ea5e9, #0284c7);
    color: white;
    padding: 0.4rem 1rem;
    border-radius: 25px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.caso-info h3 {
    font-size: 1.6rem;
    font-weight: 800;
    color: #1e293b;
    margin-bottom: 1rem;
}

.caso-info .caso-reto {
    color: #64748b;
    margin-bottom: 1.2rem;
}

.caso-info .caso-reto strong { color: #1e293b; }

.caso-metrics {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.8rem;
    margin: 1.5rem 0;
}

.caso-metric {
    background: #f0f9ff;
    border-radius: 12px;
    padding: 0.8rem 1rem;
}

.caso-metric .cm-num {
    font-size: 1.4rem;
    font-weight: 800;
    color: #0284c7;
    display: block;
}

.caso-metric .cm-label {
    font-size: 0.82rem;
    color: #64748b;
}

.caso-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    margin-top: 1.5rem;
    background: linear-gradient(135deg, #0ea5e9, #0284c7);
    color: white;
    padding: 1.1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 800;
    font-size: 1.05rem;
    letter-spacing: 0.3px;
    box-shadow: 0 10px 30px rgba(14, 165, 233, 0.35);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.caso-cta::before {
    content: '';
    width: 10px;
    height: 10px;
    background: #22c55e;
    border-radius: 50%;
    box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7);
    animation: livePulse 1.5s infinite;
    flex-shrink: 0;
}

@keyframes livePulse {
    0% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7); }
    70% { box-shadow: 0 0 0 10px rgba(34, 197, 94, 0); }
    100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); }
}

.caso-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 40px rgba(14, 165, 233, 0.5);
}

.caso-visual {
    background: linear-gradient(135deg, #0ea5e9, #0284c7);
    color: #1e293b;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 1.5rem;
}

.benefit-card {
    background: rgba(255, 255, 255, 0.96);
    border-radius: 18px;
    padding: 1.5rem;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.benefit-header {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 1rem;
}

.benefit-icon {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, #0ea5e9, #0284c7);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: white;
    flex-shrink: 0;
}

.benefit-card h4 {
    font-size: 1.05rem;
    font-weight: 800;
    color: #1e293b;
    margin: 0;
}

.benefit-card ul {
    list-style: none;
}

.benefit-card li {
    padding: 0.45rem 0;
    border-bottom: 1px solid #e2e8f0;
    font-size: 0.95rem;
    color: #475569;
}

.benefit-card li:last-child {
    border-bottom: none;
}

.caso-external {
    margin-top: 1.5rem;
    font-size: 0.88rem;
    background: rgba(255,255,255,0.12);
    padding: 0.8rem 1rem;
    border-radius: 12px;
}

.caso-external a {
    color: white;
    font-weight: 700;
    text-decoration: underline;
}

/* Demo CTA banner */
.demo-banner {
    padding: 5rem 0;
    background: linear-gradient(135deg, #0ea5e9, #0284c7);
    color: white;
    text-align: center;
}

.demo-banner h2 {
    font-size: 2.4rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.demo-banner p {
    font-size: 1.2rem;
    opacity: 0.95;
    max-width: 700px;
    margin: 0 auto 2rem;
}

.demo-preview {
    max-width: 720px;
    margin: 2rem auto 0;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.25);
    border-radius: 20px;
    padding: 1.8rem;
    backdrop-filter: blur(10px);
    text-align: left;
}

.demo-preview .dp-head {
    font-weight: 800;
    font-size: 1.1rem;
    margin-bottom: 1rem;
    border-bottom: 1px solid rgba(255,255,255,0.2);
    padding-bottom: 0.6rem;
}

.demo-preview .dp-row {
    display: flex;
    justify-content: space-between;
    padding: 0.4rem 0;
    font-size: 0.98rem;
}

.demo-preview .dp-row span:last-child {
    font-weight: 700;
}

/* Certificaciones */
.certs {
    padding: 6rem 0;
    background: white;
}

.certs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
    margin-top: 3rem;
}

.cert-card {
    background: linear-gradient(135deg, #f8fafc, #eef6ff);
    border: 2px solid #e0f2fe;
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
}

.cert-card:hover {
    border-color: #0ea5e9;
    transform: translateY(-6px);
    box-shadow: 0 14px 36px rgba(14, 165, 233, 0.12);
}

.cert-icon {
    font-size: 2.4rem;
    margin-bottom: 0.8rem;
}

.cert-card h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 0.5rem;
}

.cert-card p {
    color: #64748b;
    font-size: 0.92rem;
}

.certs-trazabilidad {
    margin-top: 3rem;
    background: linear-gradient(135deg, #0ea5e9, #0284c7);
    color: white;
    border-radius: 24px;
    padding: 2.5rem;
    text-align: center;
}

.certs-trazabilidad h3 {
    font-size: 1.6rem;
    font-weight: 800;
    margin-bottom: 0.8rem;
}

.certs-trazabilidad p {
    opacity: 0.95;
    max-width: 720px;
    margin: 0 auto;
    font-size: 1.1rem;
}

.certs-trazabilidad .trazabilidad-chain {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-top: 2.5rem;
    position: relative;
}

.traz-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 120px;
    max-width: 140px;
    position: relative;
    z-index: 2;
}

.traz-icon {
    width: 76px;
    height: 76px;
    background: rgba(255,255,255,0.16);
    border: 3px solid rgba(255,255,255,0.55);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.7rem;
    margin-bottom: 0.7rem;
    position: relative;
    backdrop-filter: blur(8px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
    transition: all 0.3s ease;
}

.traz-icon:hover {
    transform: translateY(-5px) scale(1.05);
    background: rgba(255,255,255,0.28);
}

.traz-num {
    position: absolute;
    top: -8px;
    right: -10px;
    width: 30px;
    height: 30px;
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 900;
    box-shadow: 0 4px 14px rgba(0,0,0,0.2);
}

.traz-label {
    font-weight: 800;
    font-size: 1.05rem;
    line-height: 1.2;
}

.traz-arrow {
    font-size: 1.8rem;
    opacity: 0.7;
    padding: 0 0.3rem;
    line-height: 1;
    margin-top: -1.6rem;
}

@media (max-width: 700px) {
    .certs-trazabilidad .trazabilidad-chain {
        flex-direction: column;
        gap: 0.8rem;
    }
    .traz-step { flex-direction: row; align-items: center; min-width: auto; max-width: 100%; width: 100%; text-align: left; gap: 1rem; }
    .traz-step .traz-icon { margin: 0; flex-shrink: 0; }
    .traz-arrow { transform: rotate(90deg); margin: 0.3rem 0; }
    .traz-label { flex: 1; font-size: 1.1rem; }
}

/* ¿Por qué Playas Zenkra? */
.why {
    padding: 6rem 0;
    background: linear-gradient(135deg, #f8fafc, #e2e8f0);
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-top: 3rem;
}

.why-item {
    background: white;
    border-radius: 24px;
    padding: 2rem;
    box-shadow: 0 8px 30px rgba(0,0,0,0.06);
    border: 1px solid #e2e8f0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.why-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #0ea5e9, #0284c7);
}

.why-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(14, 165, 233, 0.14);
    border-color: rgba(14, 165, 233, 0.3);
}

.why-icon {
    width: 54px;
    height: 54px;
    background: linear-gradient(135deg, #0ea5e9, #0284c7);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.7rem;
    margin-bottom: 1.2rem;
    box-shadow: 0 6px 20px rgba(14, 165, 233, 0.25);
}

.why-item h3 {
    font-size: 1.15rem;
    font-weight: 800;
    color: #1e293b;
    margin-bottom: 0.6rem;
}

.why-item p {
    color: #64748b;
    font-size: 0.98rem;
    line-height: 1.6;
}

/* Precios */
.precios {
    padding: 6rem 0;
    background: white;
}

.planes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.plan-card {
    background: white;
    border: 2px solid #e2e8f0;
    border-radius: 24px;
    padding: 2.5rem;
    transition: all 0.3s ease;
    position: relative;
}

.plan-card:hover {
    border-color: #0ea5e9;
    box-shadow: 0 16px 44px rgba(14, 165, 233, 0.12);
}

.plan-card.featured {
    border-color: #0ea5e9;
    box-shadow: 0 16px 44px rgba(14, 165, 233, 0.15);
}

.plan-card.featured::before {
    content: 'MÁS POPULAR';
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: white;
    padding: 0.3rem 1rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
}

.plan-name {
    font-size: 1.3rem;
    font-weight: 800;
    color: #1e293b;
    margin-bottom: 0.4rem;
}

.plan-target {
    color: #0ea5e9;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 1.2rem;
}

.plan-desc {
    color: #64748b;
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    min-height: 2.6rem;
}

.plan-includes {
    list-style: none;
    margin-bottom: 1.5rem;
}

.plan-includes li {
    color: #475569;
    padding: 0.4rem 0 0.4rem 1.5rem;
    position: relative;
    font-size: 0.95rem;
}

.plan-includes li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #0ea5e9;
    font-weight: bold;
}

.plan-cta {
    display: block;
    text-align: center;
    background: linear-gradient(135deg, #0ea5e9, #0284c7);
    color: white;
    padding: 0.9rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    transition: all 0.3s ease;
}

.plan-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 28px rgba(14, 165, 233, 0.4);
}

.configurador {
    margin-top: 3rem;
    background: linear-gradient(135deg, #f0f9ff, #e0f2fe);
    border-radius: 24px;
    padding: 2.5rem;
}

.configurador h3 {
    font-size: 1.4rem;
    font-weight: 800;
    color: #1e293b;
    margin-bottom: 0.5rem;
    text-align: center;
}

.configurador p {
    text-align: center;
    color: #64748b;
    margin-bottom: 2rem;
}

.contact-form .configurador {
    margin-top: 0;
    margin-bottom: 2rem;
}

.configurador h3.form-step-title, h3.form-step-title {
    font-size: 1.3rem;
    font-weight: 800;
    color: #1e293b;
    margin: 0 0 1.5rem;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
}

.form-step-title span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    background: linear-gradient(135deg, #0ea5e9, #0284c7);
    color: white;
    border-radius: 50%;
    font-size: 0.95rem;
}

.config-group {
    margin-bottom: 1.5rem;
}

.config-group label {
    display: block;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 0.6rem;
}

.config-options {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
}

.config-options label {
    background: white;
    border: 2px solid #e2e8f0;
    border-radius: 50px;
    padding: 0.5rem 1.1rem;
    font-weight: 500;
    color: #475569;
    cursor: pointer;
    transition: all 0.2s ease;
    margin: 0;
    font-size: 0.95rem;
}

.config-options input[type="radio"],
.config-options input[type="checkbox"] {
    display: none;
}

.config-options input[type="radio"]:checked + label,
.config-options input[type="checkbox"]:checked + label {
    background: linear-gradient(135deg, #0ea5e9, #0284c7);
    color: white;
    border-color: #0ea5e9;
}

.config-estimate {
    text-align: center;
    margin-top: 1.5rem;
}

.config-estimate .est-btn {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.05rem;
    cursor: pointer;
    box-shadow: 0 10px 30px rgba(245, 158, 11, 0.35);
    transition: all 0.3s ease;
}

.config-estimate .est-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 40px rgba(245, 158, 11, 0.5);
}

.config-estimate .est-out {
    margin-top: 1rem;
    font-weight: 700;
    color: #0284c7;
    font-size: 1.1rem;
    min-height: 1.5rem;
}

/* FAQ Section */
.faq {
    padding: 6rem 0;
    background: #f8fafc;
}

.faq-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    max-width: 900px;
    margin: 3rem auto 0;
}

.faq-item {
    background: white;
    border-radius: 16px;
    padding: 1.8rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    border: 1px solid #e2e8f0;
}

.faq-item h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #0ea5e9;
    margin-bottom: 0.8rem;
    line-height: 1.3;
}

.faq-item p {
    color: #475569;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Contact Section */
.contact {
    padding: 6rem 0;
    background: linear-gradient(135deg, #f8fafc, #e2e8f0);
}

.contact-form {
    max-width: 640px;
    margin: 3rem auto 0;
    background: white;
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #374151;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 1rem;
    border: 2px solid #e5e7eb;
    border-radius: 10px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: #0ea5e9;
}

.contact-form,
.contact-form .form-group,
.contact-form .config-group {
    text-align: center;
}

.contact-form .form-group input,
.contact-form .form-group textarea,
.contact-form .form-group select {
    text-align: left;
}

.contact-form .config-options {
    justify-content: center;
}

.submit-btn {
    width: 100%;
    background: linear-gradient(135deg, #0ea5e9, #0284c7);
    color: white;
    padding: 1.2rem;
    border: none;
    border-radius: 16px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.submit-btn::before {
    content: '';
    position: absolute;
    top: 0; left: -100%;
    width: 100%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.6s;
}

.submit-btn:hover::before { left: 100%; }

.submit-btn:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 15px 35px rgba(14, 165, 233, 0.4);
}

/* Modal de confirmación */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(15, 23, 42, 0.65);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal {
    background: white;
    border-radius: 24px;
    padding: 2.5rem;
    max-width: 460px;
    width: 90%;
    text-align: center;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.2);
    transform: translateY(20px) scale(0.95);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.modal-overlay.active .modal {
    transform: translateY(0) scale(1);
}

.modal-icon {
    width: 72px;
    height: 72px;
    background: linear-gradient(135deg, #10b981, #059669);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2rem;
    margin: 0 auto 1.5rem;
    color: white;
    box-shadow: 0 10px 30px rgba(16, 185, 129, 0.3);
}

.modal-icon.error {
    background: linear-gradient(135deg, #ef4444, #dc2626);
    box-shadow: 0 10px 30px rgba(239, 68, 68, 0.3);
}

.modal h3 {
    font-size: 1.4rem;
    font-weight: 800;
    color: #1e293b;
    margin-bottom: 0.8rem;
}

.modal p {
    color: #64748b;
    margin-bottom: 1.8rem;
    line-height: 1.6;
}

.modal-close {
    background: linear-gradient(135deg, #0ea5e9, #0284c7);
    color: white;
    border: none;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.modal-close:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(14, 165, 233, 0.4);
}

/* Footer */
.footer {
    background: #1e293b;
    color: white;
    padding: 3rem 0;
    text-align: center;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #0ea5e9;
}

.footer-section p {
    color: #94a3b8;
    line-height: 1.6;
}

.footer-section a {
    color: #94a3b8;
    text-decoration: none;
}

.footer-section a:hover { color: #0ea5e9; }

.footer-bottom {
    border-top: 1px solid #334155;
    padding-top: 2rem;
    color: #94a3b8;
}

/* Mobile Responsive */
@media (max-width: 900px) {
    .caso-card { grid-template-columns: 1fr; }
    .ba-grid { grid-template-columns: 1fr; }
    .ba-arrow { transform: rotate(90deg); }
    .faq-list { grid-template-columns: 1fr; }
    .caso-cta {
        display: flex;
        justify-content: center;
        width: 90%;
        max-width: 320px;
        margin: 1.5rem auto 0;
        padding: 1rem 1.5rem;
        font-size: 1rem;
    }
}

@media (max-width: 768px) {
    .hamburger { display: flex; }

    .nav-links {
        position: absolute;
        top: 100%;
        left: 0; right: 0;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 1rem 0;
        transform: translateY(-10px);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
        border-radius: 0 0 20px 20px;
        gap: 0;
    }

    .nav-links.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    .nav-links li {
        margin: 0.4rem 0;
        text-align: center;
        width: 100%;
    }

    .nav-links a {
        display: block;
        padding: 0.7rem 1rem;
        border-radius: 12px;
        margin: 0 1rem;
        transition: all 0.3s ease;
    }

    .nav-cta {
        margin: 0.5rem 1rem;
        display: inline-block;
        width: calc(100% - 2rem);
    }

    .hero h1 { font-size: 2.3rem; }
    .hero-subtitle { font-size: 1.1rem; }
    .section-title h2 { font-size: 2rem; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .stats-grid .stat-item:last-child:nth-child(odd) {
        grid-column: 1 / -1;
        justify-self: center;
        max-width: 50%;
    }
    .modules-grid, .pillars-grid, .audience-grid, .planes-grid, .why-grid { grid-template-columns: 1fr; }
    .contact { padding: 4rem 0; }
    .contact-form {
        margin: 2rem 12px 0;
        padding: 1.5rem;
        border-radius: 16px;
    }
    .form-step-title { font-size: 1.1rem; }
    .form-step-title span { width: 28px; height: 28px; font-size: 0.95rem; }
    .config-options label { padding: 0.45rem 0.9rem; font-size: 0.9rem; }
    .form-group { margin-bottom: 1.2rem; }
    .contact-form .form-group input,
    .contact-form .form-group textarea,
    .contact-form .form-group select { padding: 0.9rem; }
    .submit-btn { padding: 1rem; font-size: 1rem; }
}

@media (max-width: 480px) {
    .contact-form {
        margin: 1.5rem 8px 0;
        padding: 1.25rem;
        border-radius: 14px;
    }
    .form-step-title { gap: 0.4rem; }
    .config-options { gap: 0.4rem; }
    .form-group { margin-bottom: 1rem; }
}

/* Smooth scrolling */
html { scroll-behavior: smooth; }

/* Loading animation */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}
