:root {
    --primary-color: #0ea5e9;
    --primary-dark: #0284c7;
    --primary-light: #38bdf8;
    --secondary-color: #64748b;
    --accent-color: #0ea5e9;
    --success-color: #10b981;
    --text-primary: #1e293b;
    --text-secondary: #64748b;
    --bg-primary: #ffffff;
    --bg-secondary: #f1f5f9;
    --bg-tertiary: #e2e8f0;
    --bg-dark: #0f172a;
    --border-color: #e2e8f0;
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
    --shadow-glow: 0 0 40px rgba(14, 165, 233, 0.15);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

section h1, article h1, aside h1, nav h1 {
    font-size: 2em;
    margin-block-start: 0.67em;
    margin-block-end: 0.67em;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 90px; /* Espacio para navbar sticky al hacer scroll a anclas */
    overflow-y: scroll; /* Siempre mostrar barra de scroll para evitar saltos */
}

body {
    overflow-x: hidden;
    font-family: 'Plus Jakarta Sans', 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--bg-primary);
    font-size: 16px;
}

.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--primary-color);
    color: white;
    padding: 8px 16px;
    z-index: 10000;
    text-decoration: none;
    font-weight: 600;
    border-radius: 0 0 4px 0;
    transition: top 0.3s ease;
}

.skip-link:focus {
    top: 0;
    outline: 2px solid var(--primary-dark);
    outline-offset: 2px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
.navbar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    box-shadow: 0 1px 0 rgba(14, 165, 233, 0.08);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 1rem 0;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-brand a {
    display: flex;
    align-items: center;
    gap: 1rem;
    text-decoration: none;
}

.nav-brand-name {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    line-height: 1.2;
}

.nav-brand-line1 {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: -0.02em;
}

.nav-brand-line2 {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--primary-color);
    letter-spacing: 0.08em;
}

.nav-brand .logo {
    height: 50px;
    width: auto;
    max-width: 250px;
    object-fit: contain;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-menu a {
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-menu a:hover {
    color: var(--primary-color);
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

.nav-menu a:hover::after {
    width: 100%;
}

.nav-menu a.nav-highlight {
    color: var(--primary-color);
    font-weight: 600;
}

.btn-nav {
    background: var(--primary-color);
    color: white !important;
    padding: 0.5rem 1.5rem;
    border-radius: 8px;
    transition: background 0.3s ease;
}

.btn-nav:hover {
    background: var(--primary-dark);
}

.btn-nav::after {
    display: none;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    gap: 4px;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* Lead CTA - encima del mockup, captación */
.lead-cta-inline {
    background: linear-gradient(145deg, rgba(255,255,255,0.2) 0%, rgba(255,255,255,0.08) 100%);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 16px;
    padding: 1.5rem 1.5rem;
    text-align: center;
    margin-bottom: 1.25rem;
    max-width: 300px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15), inset 0 1px 0 rgba(255,255,255,0.2);
}

.lead-cta-badge {
    display: inline-block;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    padding: 0.35rem 0.75rem;
    border-radius: 50px;
    margin-bottom: 1rem;
    text-transform: uppercase;
    box-shadow: 0 2px 12px rgba(16, 185, 129, 0.4);
}

.lead-cta-headline {
    color: white;
    font-size: 1.1rem;
    font-weight: 800;
    line-height: 1.25;
    margin: 0 0 0.5rem;
    letter-spacing: -0.02em;
}

.lead-cta-text {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.85rem;
    font-weight: 500;
    margin: 0 0 1rem;
    line-height: 1.4;
}

.lead-cta-list {
    list-style: none;
    margin: 0 0 1.25rem;
    padding: 0;
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.lead-cta-list li {
    color: rgba(255, 255, 255, 0.95);
    font-size: 0.8rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.lead-cta-list li::before {
    content: '✓';
    color: #10b981;
    font-weight: 800;
}

.lead-cta-inline .lead-cta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    padding: 0.85rem 1.5rem;
    font-size: 1rem;
    background: white;
    color: var(--primary-color);
    border-radius: 12px;
    font-weight: 800;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.lead-cta-inline .lead-cta-btn:hover {
    background: white;
    color: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.25);
}

.lead-cta-inline .lead-cta-btn svg {
    flex-shrink: 0;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #0f172a 0%, #1e3a5f 50%, #0ea5e9 100%);
    color: white;
    padding: 5rem 0;
    position: relative;
    overflow: hidden;
    min-height: 90vh;
    display: flex;
    align-items: center;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.06'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.5;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -100px;
    right: -100px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(14, 165, 233, 0.25) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.hero-layout {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 3rem;
    align-items: center;
    position: relative;
    z-index: 1;
    width: 100%;
}

.hero-main {
    max-width: 640px;
    text-align: left;
}

.hero-badge-top {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-title {
    margin-bottom: 1.25rem;
}

.hero-brand {
    display: block;
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -1px;
}

.hero-tagline {
    display: block;
    font-size: 1.75rem;
    font-weight: 400;
    opacity: 0.9;
    margin-top: 0.25rem;
}

.hero-subtitle {
    font-size: 1.1rem;
    margin-bottom: 1.75rem;
    opacity: 0.9;
    line-height: 1.7;
}

.hero-key-points {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 1.75rem;
    padding: 1.25rem 1.5rem;
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(12px);
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.1);
}

.key-point {
    font-size: 0.95rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.95);
    line-height: 1.5;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.75rem;
    flex-wrap: wrap;
}

.hero-stats {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1.25rem 1.75rem;
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(12px);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.hero-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.15rem;
}

.hero-stat-value {
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    color: white;
}

.hero-stat-label {
    font-size: 0.75rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    opacity: 0.85;
}

.hero-stat-divider {
    width: 1px;
    height: 36px;
    background: rgba(255, 255, 255, 0.3);
}

.hero-trust {
    display: flex;
    gap: 1.25rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.875rem;
    opacity: 0.85;
}

.btn {
    padding: 1rem 2rem;
    border-radius: 10px;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background: white;
    color: var(--primary-color);
    box-shadow: var(--shadow-lg);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-xl);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.3);
}

.btn-block {
    width: 100%;
    text-align: center;
}

.btn-submit {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
    padding: 1.1rem 2rem;
    font-size: 1.1rem;
    font-weight: 700;
    border: none;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    box-shadow: 0 4px 15px rgba(14, 165, 233, 0.4);
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-submit:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(14, 165, 233, 0.5);
}

/* Section Badge & Patterns */
.section-badge {
    display: inline-block;
    padding: 0.4rem 1rem;
    background: linear-gradient(135deg, rgba(14, 165, 233, 0.15) 0%, rgba(2, 132, 199, 0.1) 100%);
    color: var(--primary-color);
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 50px;
    border: 1px solid rgba(14, 165, 233, 0.3);
    margin-bottom: 1rem;
}

.section-bg-pattern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    opacity: 0.4;
}

.compliance-pattern,
.caracteristicas-pattern {
    background-image: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%230ea5e9' fill-opacity='0.04' fill-rule='evenodd'%3E%3Cpath d='M0 40L40 0H20L0 20M40 40V20L20 40'/%3E%3C/g%3E%3C/svg%3E");
}

.compliance,
.caracteristicas {
    position: relative;
}

/* Section Header */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header .section-badge {
    display: inline-block;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.section-header p {
    font-size: 1.125rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

/* Compliance, Funcionalidades, Características, Sectores, Precios, FAQ, Contacto */
.compliance, .funcionalidades, .caracteristicas, .sectores, .precios, .faq, .contacto {
    padding: 5rem 0;
}

.compliance, .caracteristicas, .contacto {
    background: var(--bg-secondary);
}

.urgencia {
    padding: 4rem 0;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #1e3a5f 100%);
    color: white;
    position: relative;
    overflow: hidden;
}

.urgencia::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M50 0L100 50L50 100L0 50Z' fill='%23ffffff' fill-opacity='0.02'/%3E%3C/svg%3E");
    opacity: 0.5;
}

/* Layout split: imagen a un lado, contenido al otro */
.urgencia-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 0;
    padding: 0;
    min-height: 0;
}

.urgencia-imagen {
    width: 100%;
    height: 100%;
    min-height: 400px;
    overflow: hidden;
}

.urgencia-imagen img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.urgencia-split .urgencia-content {
    text-align: left;
    max-width: none;
    margin: 0;
    padding: 4rem 3rem;
}

.urgencia-content { text-align: center; max-width: 700px; margin: 0 auto; position: relative; z-index: 1; }
.urgencia h2 { font-size: 1.75rem; font-weight: 700; margin-bottom: 1rem; color: white; }
.urgencia p { font-size: 1.1rem; color: rgba(255,255,255,0.9); margin-bottom: 1rem; line-height: 1.7; }
.urgencia-cta { display: flex; gap: 1rem; justify-content: flex-start; flex-wrap: wrap; margin-top: 2rem; }
.urgencia-split .urgencia-cta { justify-content: flex-start; }
.urgencia-cta .btn-primary { background: white; color: var(--bg-dark); }
.urgencia-cta .btn-primary:hover { background: var(--primary-color); color: white; }
.urgencia-cta .btn-secondary { border-color: rgba(255,255,255,0.6); color: white; }
.urgencia-cta .btn-secondary:hover { background: rgba(255,255,255,0.15); border-color: white; }

.compliance-content { text-align: center; position: relative; z-index: 1; }
.compliance-content .section-badge { display: inline-block; }
.compliance h2 { font-size: 2.5rem; font-weight: 700; margin-bottom: 1rem; }
.compliance > .container > .compliance-content > p { font-size: 1.125rem; color: var(--text-secondary); margin-bottom: 3rem; }

.compliance-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
    position: relative;
    z-index: 1;
}

.compliance-item {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(14, 165, 233, 0.08);
    position: relative;
    overflow: hidden;
}

.compliance-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--primary-light));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.compliance-item:hover::before {
    opacity: 1;
}

.compliance-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.compliance-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.funcionalidades-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.funcionalidad-card {
    background: white;
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.funcionalidad-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-color);
}

.funcionalidad-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

.funcionalidad-card h3 { font-size: 1.5rem; font-weight: 600; margin-bottom: 1.5rem; }
.funcionalidad-card ul { list-style: none; }
.funcionalidad-card ul li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: var(--text-secondary);
}
.funcionalidad-card ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--success-color);
    font-weight: bold;
}

.caracteristicas .container { position: relative; z-index: 1; }
.caracteristicas-content { max-width: 900px; margin: 0 auto; }
.caracteristica-item {
    display: flex;
    gap: 2rem;
    margin-bottom: 3rem;
    align-items: flex-start;
}
.caracteristica-number {
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary-color);
    opacity: 0.2;
    min-width: 80px;
}
.caracteristica-text h3 { font-size: 1.5rem; font-weight: 600; margin-bottom: 0.75rem; }
.caracteristica-text p { color: var(--text-secondary); line-height: 1.7; }

.sectores-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.sector-card {
    background: white;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    border: 2px solid var(--border-color);
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
    overflow: hidden;
}

.sector-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-color);
}

.sector-thumbnail {
    width: 100%;
    height: 180px;
    overflow: hidden;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 50%, #0369a1 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.sector-thumbnail::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, transparent 0%, rgba(0,0,0,0.15) 100%);
    pointer-events: none;
}

.sector-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.sector-content {
    padding: 1.5rem;
    flex-grow: 1;
}

.sector-content h3 { font-size: 1.25rem; font-weight: 700; margin-bottom: 0.5rem; }
.sector-content p { font-size: 0.95rem; color: var(--text-secondary); line-height: 1.6; }
.sector-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-top: 1rem;
}

.precios-tranquilizador { font-size: 1.25rem !important; font-weight: 600 !important; color: var(--primary-color) !important; }
.precios-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 900px;
    margin: 0 auto 2rem;
}
.precios-grid-planes { max-width: 1100px; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
.precio-vehiculos { font-size: 0.95rem; color: var(--text-secondary); margin-bottom: 0.5rem; }

.precio-card {
    background: white;
    padding: 3rem 2.5rem;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    border: 2px solid var(--border-color);
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.precio-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

.precio-badge {
    position: absolute;
    top: -15px;
    right: 2rem;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
}

.precio-card h3 { font-size: 1.5rem; font-weight: 600; margin-bottom: 1.5rem; }
.precio-amount { display: flex; align-items: baseline; gap: 0.5rem; margin-bottom: 0.5rem; }
.precio-number { font-size: 3.5rem; font-weight: 800; color: var(--primary-color); }
.precio-periodo { font-size: 1.125rem; color: var(--text-secondary); }
.precio-total { color: var(--text-secondary); margin-bottom: 2rem; font-size: 0.95rem; }
.precio-features { list-style: none; margin-bottom: 2.5rem; }
.precio-features li { padding: 0.75rem 0; color: var(--text-primary); font-weight: 500; }
.precio-garantia { margin-top: 1rem; font-size: 0.85rem; color: var(--text-secondary); text-align: center; }
.precios-volumen { text-align: center; margin-top: 2rem; font-size: 1rem; color: var(--text-secondary); }
.precios-volumen a { color: var(--primary-color); font-weight: 600; text-decoration: none; }

/* Simulador de precios */
.hidden { display: none !important; }
.sim-precios-layout {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    align-items: flex-start;
    justify-content: center;
    margin-bottom: 2rem;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}
.sim-destacado {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
    padding: 2rem 2.5rem;
    border-radius: 20px;
    text-align: center;
    min-width: 220px;
    flex-shrink: 0;
    box-shadow: var(--shadow-xl);
}
.sim-destacado-numero {
    display: block;
    font-size: 4.5rem;
    font-weight: 800;
    line-height: 1;
    letter-spacing: -0.02em;
}
.sim-destacado-label {
    display: block;
    font-size: 1.25rem;
    font-weight: 600;
    opacity: 0.95;
    margin-top: 0.25rem;
}
.sim-destacado-sub {
    font-size: 0.9rem;
    opacity: 0.9;
    margin-top: 1rem;
    font-weight: 500;
}
.simulador-precios {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    border: 2px solid var(--border-color);
    flex: 1;
    min-width: 300px;
    max-width: 560px;
    position: relative;
}

.simulador-precios::before {
    content: '';
    position: absolute;
    top: -2px;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--primary-light));
    border-radius: 0 0 4px 4px;
}
.sim-header { text-align: center; margin-bottom: 1.5rem; }
.sim-header h3 { font-size: 1.5rem; margin-bottom: 0.5rem; }
.sim-header p { color: var(--text-secondary); font-size: 0.95rem; }
.sim-controls { margin-bottom: 1.5rem; }
.sim-slider-wrap { margin-bottom: 1rem; }
.sim-slider {
    width: 100%;
    height: 10px;
    -webkit-appearance: none;
    appearance: none;
    background: linear-gradient(to right, var(--primary-color), var(--primary-dark));
    border-radius: 5px;
    outline: none;
}
.sim-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: white;
    border: 3px solid var(--primary-color);
    cursor: pointer;
    box-shadow: var(--shadow-md);
}
.sim-slider::-moz-range-thumb {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: white;
    border: 3px solid var(--primary-color);
    cursor: pointer;
    box-shadow: var(--shadow-md);
}
.sim-slider-labels {
    display: flex;
    justify-content: space-between;
    font-size: 0.75rem;
    color: var(--text-secondary);
    margin-top: 0.25rem;
}
.sim-input-wrap {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    justify-content: center;
}
.sim-input-wrap label { font-weight: 600; }
.sim-input-num {
    width: 5rem;
    padding: 0.5rem;
    font-size: 1.125rem;
    font-weight: 600;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    text-align: center;
}
.sim-modos {
    display: flex;
    gap: 0.5rem;
    justify-content: center;
    margin-bottom: 1rem;
}
.sim-modo {
    padding: 0.5rem 1rem;
    border: 2px solid var(--border-color);
    border-radius: 10px;
    background: white;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}
.sim-modo:hover { border-color: var(--primary-color); color: var(--primary-color); }
.sim-modo.active {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
}
.sim-modo-desc { font-size: 0.9rem; color: var(--text-secondary); text-align: center; margin-bottom: 1.5rem; }
.sim-resultado {
    text-align: center;
    padding: 1.5rem;
    background: var(--bg-secondary);
    border-radius: 12px;
}
.sim-precio-veh-wrap { margin-bottom: 0.75rem; }
.sim-precio-veh { font-size: 2rem; font-weight: 800; color: var(--primary-color); }
.sim-precio-veh-label { font-size: 1rem; color: var(--text-secondary); font-weight: normal; }
.sim-totales { font-size: 1.1rem; margin-bottom: 0.5rem; }
.sim-totales strong { color: var(--text-primary); }
.sim-tramo { font-size: 0.85rem; color: var(--text-secondary); }
.sim-zona-contactar { text-align: center; padding: 2rem; }
.sim-contactar-msg { font-size: 1.25rem; font-weight: 700; color: var(--primary-color); margin-bottom: 0.5rem; }
.sim-features { margin-top: 1.5rem; text-align: center; font-size: 0.9rem; color: var(--text-secondary); }
.sim-recomendacion { margin-top: 1.5rem; padding: 1rem; background: #eff6ff; border-radius: 10px; font-size: 0.9rem; color: var(--text-primary); border-left: 4px solid var(--primary-color); }

/* Formulario */
.contacto-content { max-width: 700px; margin: 0 auto; }
.contacto-form {
    background: white;
    padding: 3rem;
    border-radius: 20px;
    box-shadow: var(--shadow-lg), 0 0 60px rgba(14, 165, 233, 0.08);
    border: 1px solid rgba(14, 165, 233, 0.1);
}

.form-group { margin-bottom: 1.5rem; }
.form-group label { display: block; margin-bottom: 0.5rem; font-weight: 600; color: var(--text-primary); }
.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 2px solid var(--border-color);
    border-radius: 10px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.3s ease;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-color);
}
.form-group textarea { resize: vertical; }

/* Sector / Tipo de transporte - combo mejorado */
.form-group-sector .sector-label-main { display: block; font-weight: 600; color: var(--text-primary); }
.form-group-sector .sector-label-sub { display: block; font-size: 0.9rem; font-weight: 500; color: var(--text-secondary); margin-top: 0.15rem; }
.form-group-sector .sector-select-wrap {
    position: relative;
    display: block;
}
.form-group-sector .sector-select-wrap select {
    appearance: none;
    padding-right: 2.75rem;
    background-color: var(--bg-primary);
    cursor: pointer;
}
.form-group-sector .sector-select-wrap select:hover { border-color: var(--primary-light); }
.form-group-sector .sector-select-icon {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    color: var(--text-secondary);
}
.form-group-sector .sector-desc {
    display: block;
    font-size: 0.8rem;
    color: var(--text-secondary);
    margin-top: 0.5rem;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    cursor: pointer;
    font-weight: normal;
}
.checkbox-label input[type="checkbox"] {
    margin-top: 0.25rem;
    width: 1.25rem;
    height: 1.25rem;
    cursor: pointer;
    flex-shrink: 0;
}
.checkbox-label a { color: var(--primary-color); text-decoration: underline; }

.form-group-checkbox { margin-bottom: 1rem; }
.form-group input.error, .form-group textarea.error, .form-group select.error { border-color: #ef4444; background-color: #fef2f2; }
.error-message { color: #ef4444; font-size: 0.875rem; margin-top: 0.5rem; }
.form-message {
    padding: 1rem 1.5rem;
    border-radius: 10px;
    margin-bottom: 1.5rem;
    font-weight: 500;
}
.form-message.success { background-color: #d1fae5; color: #065f46; border: 1px solid #10b981; }
.form-message.error { background-color: #fee2e2; color: #991b1b; border: 1px solid #ef4444; }
.spinner {
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255,255,255,0.3);
    border-radius: 50%;
    border-top-color: white;
    animation: spin 0.8s linear infinite;
    vertical-align: middle;
    margin-right: 0.5rem;
}
@keyframes spin { to { transform: rotate(360deg); } }

.popup-overlay {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.6);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    opacity: 0;
    transition: opacity 0.3s ease;
}
.popup-overlay.active { opacity: 1; }
.thank-you-popup {
    background: white;
    border-radius: 20px;
    padding: 3rem 2.5rem;
    max-width: 500px;
    width: 90%;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
    text-align: center;
}
.popup-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    background: #e0f2fe;
    border-radius: 50%;
}
.btn-popup-close {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 0.875rem 2rem;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

/* FAQ */
.faq { padding: 6rem 0; background: var(--bg-secondary); }
.faq-container { max-width: 900px; margin: 3rem auto 0; }
.faq-item {
    background: white;
    border-radius: 12px;
    margin-bottom: 1rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    overflow: hidden;
}
.faq-item.faq-destacado {
    border: 2px solid var(--primary-color);
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
}
.faq-question {
    width: 100%;
    padding: 1.5rem 2rem;
    background: none;
    border: none;
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-primary);
    font-family: inherit;
}
.faq-question span { flex: 1; margin-right: 1rem; }
.faq-icon {
    width: 24px;
    height: 24px;
    color: var(--primary-color);
    transition: transform 0.3s ease;
    flex-shrink: 0;
}
.faq-question[aria-expanded="true"] .faq-icon { transform: rotate(180deg); }
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
    padding: 0 2rem;
}
.faq-question[aria-expanded="true"] + .faq-answer {
    max-height: 1000px;
    padding: 0 2rem 1.5rem;
}
.faq-answer p { color: var(--text-secondary); line-height: 1.8; margin-bottom: 1rem; }
.faq-answer ul { margin: 1rem 0 1rem 1.5rem; }
.faq-answer a { color: var(--primary-color); text-decoration: underline; }

/* Páginas de sectores - bloques informativos */
.sector-hero-img {
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
}
.sector-hero-img img {
    width: 100%;
    height: auto;
    display: block;
}

.sector-page .compliance-content { text-align: left; }
.sector-page .compliance-content h2 { font-size: 1.75rem; margin-top: 2.5rem; margin-bottom: 1rem; }
.sector-page .compliance-content h2:first-of-type { margin-top: 0; }
.sector-page .compliance-content p { max-width: none; margin: 0 auto 1rem; text-align: left; }
.sector-page .compliance-content ul { max-width: none; margin: 0 0 1.5rem; text-align: left; }
.sector-page .compliance-content h3 + ul { padding-left: 1.75rem; }
.sector-key-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin: 2rem 0;
}
.sector-key-card {
    background: var(--bg-secondary);
    border-radius: 12px;
    padding: 1.25rem;
    text-align: center;
}
.sector-key-card strong { display: block; font-size: 0.9rem; color: var(--primary-color); margin-bottom: 0.5rem; }
.sector-key-card span { font-size: 0.95rem; color: var(--text-secondary); }
.sector-consejo {
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    border-left: 4px solid var(--primary-color);
    padding: 1.25rem 1.5rem;
    margin: 2rem 0;
    border-radius: 0 12px 12px 0;
}
.sector-consejo strong { color: var(--primary-dark); }

.sector-normativa-link {
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    border-left: 4px solid var(--primary-color);
    padding: 1.25rem 1.5rem;
    margin: 2rem 0;
    border-radius: 0 12px 12px 0;
}
.sector-normativa-link h2 { margin-bottom: 0.5rem; }
.sector-normativa-link a {
    color: var(--primary-color);
    font-weight: 600;
}
.sector-normativa-link a:hover { text-decoration: underline; }
.sector-fuentes {
    background: var(--bg-secondary);
    border-radius: 12px;
    padding: 2rem;
    margin-top: 3rem;
}
.sector-fuentes h3 { font-size: 1.25rem; margin-bottom: 1rem; }
.sector-fuentes ul { list-style: none; padding: 0; margin: 0; }
.sector-fuentes li { margin-bottom: 0.75rem; }
.sector-fuentes a { color: var(--primary-color); text-decoration: underline; }
.sector-cta-final {
    text-align: center;
    padding: 3rem 0 2rem;
    border-top: 1px solid var(--border-color);
    margin-top: 3rem;
}
@media (max-width: 768px) {
    .sector-key-cards { grid-template-columns: 1fr; }
    .sector-hero-img { max-width: 100%; margin-left: 0; margin-right: 0; border-radius: 8px; }
}

/* Footer */
.footer {
    background: var(--bg-dark);
    color: white;
    padding: 4rem 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 3fr;
    gap: 4rem;
    margin-bottom: 3rem;
}

.footer-brand .logo-footer {
    height: 60px;
    width: auto;
    max-width: 280px;
    object-fit: contain;
    filter: brightness(0) invert(1);
}

.footer-brand p { color: rgba(255,255,255,0.7); line-height: 1.6; }
.footer-links { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.footer-column h4 { font-size: 1.125rem; font-weight: 600; margin-bottom: 1rem; }
.footer-column ul { list-style: none; }
.footer-column ul li { margin-bottom: 0.75rem; }
.footer-column ul li a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    transition: color 0.3s ease;
}
.footer-column ul li a:hover { color: white; }
.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.6);
}

.footer-bottom a {
    color: rgba(255,255,255,0.85);
    text-decoration: underline;
}

.footer-bottom a:hover {
    color: white;
}

/* Legal Page */
.legal-page { padding: 6rem 0 4rem; min-height: 80vh; }
.legal-content { max-width: 900px; margin: 0 auto; line-height: 1.8; }
.legal-content h1 { font-size: 2.5rem; font-weight: 800; margin-bottom: 0.5rem; }
.last-updated { color: var(--text-secondary); font-size: 0.95rem; margin-bottom: 3rem; font-style: italic; }
.legal-content h2 { font-size: 1.75rem; font-weight: 700; margin-top: 2.5rem; margin-bottom: 1rem; }
.legal-content h3 { font-size: 1.25rem; font-weight: 600; margin-top: 1.5rem; margin-bottom: 0.75rem; }
.legal-content p { margin-bottom: 1rem; color: var(--text-secondary); }
.legal-content ul { margin-bottom: 1.5rem; padding-left: 1.5rem; }
.legal-content a { color: var(--primary-color); text-decoration: underline; }

/* Hero Demo - Mockup móvil DCDT */
.hero-demo {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
}

.hero-demo-wrapper {
    position: relative;
    padding: 20px;
}

.hero-demo-wrapper::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 280px;
    height: 280px;
    background: radial-gradient(circle, rgba(255,255,255,0.15) 0%, transparent 70%);
    border-radius: 50%;
    animation: glow-pulse 3s ease-in-out infinite;
}

@keyframes glow-pulse {
    0%, 100% { opacity: 0.5; transform: translate(-50%, -50%) scale(1); }
    50% { opacity: 0.8; transform: translate(-50%, -50%) scale(1.1); }
}

.hero-phone-frame {
    width: 220px;
    height: 440px;
    background: linear-gradient(145deg, #2a2a2a 0%, #1a1a1a 100%);
    border-radius: 36px;
    padding: 8px;
    position: relative;
    box-shadow: 
        0 0 0 1px rgba(255,255,255,0.1),
        0 25px 50px rgba(0, 0, 0, 0.5),
        inset 0 1px 0 rgba(255,255,255,0.1);
}

@media (prefers-reduced-motion: reduce) {
    .dcdt-anim { animation: none; opacity: 1; }
    .dcdt-check { animation: none; }
}

.phone-notch {
    position: absolute;
    top: 12px;
    left: 50%;
    transform: translateX(-50%);
    width: 70px;
    height: 22px;
    background: #0a0a0a;
    border-radius: 12px;
    z-index: 10;
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: #ffffff;
    border-radius: 28px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.screen-header-dcdt {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1.5rem 0.5rem 0.6rem;
    background: linear-gradient(135deg, #0f172a 0%, #1e3a5f 60%, #0f172a 100%);
}

.screen-header-dcdt .screen-logo {
    width: 20px;
    height: 20px;
    object-fit: contain;
}

.screen-header-dcdt span {
    font-size: 0.6rem;
    font-weight: 700;
    color: white;
    letter-spacing: 0.2px;
}

.dcdt-screen {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0.6rem;
    gap: 0.5rem;
    background: linear-gradient(180deg, #e0f2fe 0%, #f0f9ff 35%, #f8fafc 100%);
    border-top: 3px solid var(--primary-color);
    position: relative;
    overflow: hidden;
}

.dcdt-scroll-inner {
    overflow-y: auto;
    overflow-x: hidden;
    flex: 1;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
}

.dcdt-scroll-inner::-webkit-scrollbar {
    width: 3px;
}

.dcdt-scroll-inner::-webkit-scrollbar-track {
    background: rgba(14, 165, 233, 0.1);
    border-radius: 100px;
}

.dcdt-scroll-inner::-webkit-scrollbar-thumb {
    background: rgba(14, 165, 233, 0.4);
    border-radius: 100px;
}

/* Animaciones de entrada */
.dcdt-anim {
    opacity: 0;
    animation: dcdt-fade-in 0.6s ease forwards;
    animation-delay: var(--anim-delay, 0s);
}

@keyframes dcdt-fade-in {
    from {
        opacity: 0;
        transform: translateY(12px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.dcdt-screen::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='20' height='20' viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='1' cy='1' r='0.5' fill='%230ea5e9' fill-opacity='0.06'/%3E%3C/svg%3E");
    pointer-events: none;
}

.dcdt-doc-preview,
.dcdt-qr-section,
.dcdt-status {
    position: relative;
    z-index: 1;
}

.dcdt-doc-preview {
    width: 100%;
    background: white;
    border-radius: 12px;
    padding: 0.65rem;
    box-shadow: 0 2px 12px rgba(14, 165, 233, 0.12), 0 1px 3px rgba(0,0,0,0.06);
    border: 1px solid rgba(14, 165, 233, 0.2);
    position: relative;
}

.dcdt-doc-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
    padding-bottom: 0.4rem;
    border-bottom: 1px solid #e2e8f0;
}

.dcdt-doc-title {
    font-size: 0.7rem;
    font-weight: 800;
    color: var(--primary-color);
    letter-spacing: 0.5px;
}

.dcdt-doc-id {
    font-size: 0.5rem;
    color: #64748b;
    font-family: 'SF Mono', 'Consolas', monospace;
}

.dcdt-doc-fields {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.35rem 0.6rem;
}

.dcdt-field {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
}

.dcdt-field-row {
    grid-column: 1 / -1;
}

.dcdt-field-label {
    font-size: 0.45rem;
    font-weight: 600;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.dcdt-field-value {
    font-size: 0.6rem;
    font-weight: 600;
    color: #1e293b;
}

.dcdt-check {
    position: absolute;
    bottom: 0.5rem;
    right: 0.5rem;
    width: 28px;
    height: 28px;
    background: #10b981;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.dcdt-check svg {
    width: 14px;
    height: 14px;
}

.dcdt-check {
    animation: check-pulse 2s ease-in-out 1;
}

@keyframes check-pulse {
    0% { transform: scale(0.8); opacity: 0.6; }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); opacity: 1; }
}

.dcdt-qr-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.35rem;
    padding: 0.5rem;
    background: rgba(255, 255, 255, 0.7);
    border-radius: 12px;
    border: 1px dashed rgba(14, 165, 233, 0.35);
    width: 100%;
}

.dcdt-qr-box {
    width: 64px;
    height: 64px;
    background: white;
    border-radius: 10px;
    padding: 6px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #e2e8f0;
}

.dcdt-qr-box .qr-placeholder {
    width: 100%;
    height: 100%;
    color: #1e293b;
}

.dcdt-qr-label {
    font-size: 0.5rem;
    font-weight: 600;
    color: var(--primary-color);
    text-align: center;
    line-height: 1.2;
}

.dcdt-status {
    margin-top: auto;
    padding-top: 0.25rem;
}

.dcdt-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.4rem 0.75rem;
    border-radius: 50px;
    font-size: 0.55rem;
    font-weight: 700;
}

.dcdt-badge svg {
    flex-shrink: 0;
}

.dcdt-badge-ok {
    background: linear-gradient(135deg, #dcfce7 0%, #bbf7d0 100%);
    color: #15803d;
    border: 1px solid #22c55e;
    box-shadow: 0 2px 6px rgba(34, 197, 94, 0.2);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    cursor: default;
}

.dcdt-btn-ready:hover {
    transform: scale(1.02);
    box-shadow: 0 4px 12px rgba(34, 197, 94, 0.2);
}

.dcdt-btn-ready:active {
    transform: scale(0.98);
}

/* Transición suave al cambiar datos */
.dcdt-field-value { transition: opacity 0.3s ease; }
.dcdt-doc-id { transition: opacity 0.3s ease; }
.dcdt-field-value.fade-out { opacity: 0; }
.dcdt-doc-id.fade-out { opacity: 0; }

.whatsapp-hidden {
    display: none !important;
}

/* Pasos / Cómo funciona */
.pasos-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 900px;
    margin: 0 auto;
}
.paso-card {
    background: white;
    padding: 2.25rem;
    border-radius: 18px;
    box-shadow: var(--shadow-md);
    text-align: center;
    border: 2px solid var(--border-color);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.paso-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--primary-light));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.paso-card:hover::before {
    opacity: 1;
}

.paso-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-5px);
}
.paso-numero {
    width: 48px;
    height: 48px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.25rem;
    margin: 0 auto 1rem;
}
.paso-card h3 { font-size: 1.25rem; margin-bottom: 0.75rem; }
.paso-card p { color: var(--text-secondary); font-size: 0.95rem; }

/* Ventajas */
.ventajas-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    max-width: 900px;
    margin: 0 auto;
}
.ventaja-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.5rem;
    background: linear-gradient(135deg, white 0%, #f8fafc 100%);
    border-radius: 14px;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    position: relative;
}

.ventaja-item:hover {
    border-color: rgba(14, 165, 233, 0.3);
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.ventaja-item svg {
    width: 24px;
    height: 24px;
    color: var(--primary-color);
    flex-shrink: 0;
}

.ventaja-item {
    background: linear-gradient(135deg, white 0%, #f8fafc 100%);
}

.ventaja-item::before {
    content: '';
    position: absolute;
    left: 1.5rem;
    top: 1.5rem;
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, rgba(14, 165, 233, 0.12) 0%, rgba(2, 132, 199, 0.06) 100%);
    border-radius: 12px;
    z-index: 0;
}

.ventaja-item svg {
    position: relative;
    z-index: 1;
    margin-top: 2px;
}

/* WhatsApp */
.whatsapp-button {
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.8rem 1.2rem;
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    border: 2px solid rgba(255,255,255,0.2);
    border-radius: 50px;
    cursor: pointer;
    z-index: 2500;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(37,211,102,0.4);
}
.whatsapp-button:hover {
    transform: scale(1.05) translateY(-2px);
    box-shadow: 0 6px 30px rgba(37,211,102,0.6);
}
.whatsapp-button .wa-icon { color: white; }
.whatsapp-button .wa-main { color: white; font-weight: 600; font-size: 0.85rem; }
.whatsapp-button .wa-sub { color: rgba(255,255,255,0.85); font-size: 0.7rem; }

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--bg-dark);
    color: white;
    padding: 1.5rem 2rem;
    z-index: 10000;
    box-shadow: 0 -4px 20px rgba(0,0,0,0.3);
    transform: translateY(100%);
    transition: transform 0.4s ease-out;
}
.cookie-banner.show { transform: translateY(0); }
.cookie-banner.hide { transform: translateY(100%); }
.cookie-banner-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    flex-wrap: wrap;
}
.cookie-text h4 { font-size: 1.125rem; font-weight: 700; margin-bottom: 0.5rem; display: flex; align-items: center; gap: 0.5rem; }
.cookie-text p { font-size: 0.95rem; color: rgba(255,255,255,0.85); line-height: 1.6; margin: 0; }
.cookie-text a { color: var(--primary-color); text-decoration: underline; }
.cookie-buttons { display: flex; gap: 1rem; flex-wrap: wrap; }
.cookie-btn {
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    border: none;
    font-family: inherit;
}
.cookie-btn-accept { background: var(--primary-color); color: white; }
.cookie-btn-reject { background: transparent; color: white; border: 2px solid rgba(255,255,255,0.3); }

body.cookie-banner-visible .whatsapp-button { bottom: 7rem; }

/* Responsive */
@media (max-width: 1024px) {
    .nav-brand-line1 { font-size: 0.8rem; }
    .nav-brand-line2 { font-size: 0.7rem; }
    .nav-brand-line3 { font-size: 0.7rem; }
    .urgencia-split {
        grid-template-columns: 1fr;
    }
    .urgencia-imagen {
        min-height: 300px;
    }
    .urgencia-split .urgencia-content {
        padding: 3rem 2rem;
        text-align: center;
    }
    .urgencia-split .urgencia-cta {
        justify-content: center;
    }
    .hero-layout { grid-template-columns: 1fr; text-align: center; }
    .hero-main { margin: 0 auto; text-align: center; }
    .hero-actions { justify-content: center; }
    .hero-stats { justify-content: center; }
    .hero-trust { justify-content: center; }
    .hero-brand { font-size: 2.5rem; }
    .hero-tagline { font-size: 1.5rem; }
    .pasos-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .lead-cta-inline { max-width: 100%; }
    .nav-brand-name { display: none; }
    .hero-phone-frame { width: 180px; height: 360px; }
    .dcdt-doc-fields { gap: 0.25rem 0.4rem; }
    .dcdt-field-label { font-size: 0.4rem; }
    .dcdt-field-value { font-size: 0.55rem; }
    .dcdt-qr-box { width: 52px; height: 52px; }
    .dcdt-qr-section { padding: 0.35rem; }
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: white;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: var(--shadow-lg);
        padding: 2rem 0;
    }
    .nav-menu.active { left: 0; }
    .nav-toggle { display: flex; }
    .hero-brand { font-size: 1.75rem; }
    .hero-tagline { font-size: 1.25rem; }
    .compliance-grid, .funcionalidades-grid { grid-template-columns: 1fr; }
    .caracteristica-item { flex-direction: column; gap: 1rem; }
    .precios-grid { grid-template-columns: 1fr; }
    .sim-precios-layout { flex-direction: column; align-items: stretch; }
    .sim-destacado { min-width: auto; }
    .footer-content { grid-template-columns: 1fr; }
    .footer-links { grid-template-columns: 1fr; }
    .sectores-grid { grid-template-columns: 1fr; }
}

/* ===== Página Normativa DCDT (pedagógica) ===== */
.normativa-page .hero-subtitle { max-width: 700px; margin-left: auto; margin-right: auto; }

.normativa-section {
    padding: 4rem 0;
}
.normativa-section--alt {
    background: var(--bg-secondary);
}
.normativa-section-title {
    font-size: 2rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
}
.normativa-section-intro {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    max-width: 700px;
}

/* Timeline - Cronología vertical */
.normativa-timeline { padding: 4rem 0; }
.timeline {
    position: relative;
    max-width: 720px;
    margin: 3rem auto 0;
}
/* Línea vertical central - muy visible (a la derecha de las fechas) */
.timeline-line {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 8px;
    margin-left: 8rem;
    background: linear-gradient(180deg, var(--primary-light) 0%, var(--primary-color) 50%, var(--primary-dark) 100%);
    border-radius: 4px;
    box-shadow: 0 0 0 2px rgba(14, 165, 233, 0.15);
}
.timeline-list {
    list-style: none;
    margin: 0;
    padding: 0;
}
.timeline-item {
    position: relative;
    display: flex;
    gap: 2rem;
    padding-bottom: 2.5rem;
}
.timeline-item:last-child { padding-bottom: 0; }
/* Nodo: fecha alineada a la derecha + punto sobre la línea */
.timeline-node {
    flex-shrink: 0;
    width: 8rem;
    text-align: right;
    padding-top: 0.15rem;
    padding-right: 1.25rem; /* Separación para no tocar la línea */
}
.timeline-node-date {
    display: block;
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--primary-color);
    letter-spacing: -0.02em;
}
.timeline-node-dot {
    position: absolute;
    left: calc(8rem - 6px); /* Centrado en la línea de 8px */
    width: 20px;
    height: 20px;
    margin-top: 0.5rem;
    background: var(--primary-color);
    border: 4px solid white;
    border-radius: 50%;
    box-shadow: 0 2px 8px rgba(14, 165, 233, 0.5);
}
.timeline-node--highlight .timeline-node-date {
    color: var(--primary-dark);
}
.timeline-node--highlight .timeline-node-dot {
    background: var(--primary-dark);
    width: 24px;
    height: 24px;
    left: calc(8rem - 8px);
    margin-top: 0.35rem;
    box-shadow: 0 2px 12px rgba(2, 132, 199, 0.6);
}
/* Contenido */
.timeline-content {
    flex: 1;
    padding: 1rem 1.5rem;
    background: white;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
}
.timeline-content h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
}
.timeline-content-label {
    font-size: 0.8rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.5rem;
}
.timeline-content p:not(.timeline-content-label) {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 0.75rem;
}
.timeline-link {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 0.9rem;
}
.timeline-link:hover { text-decoration: underline; }
.timeline-link::after { content: ' →'; }

/* Glosario */
.glosario-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}
.glosario-item {
    background: white;
    padding: 1.75rem;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
}
.glosario-icon {
    width: 48px;
    height: 48px;
    color: var(--primary-color);
    margin-bottom: 1rem;
}
.glosario-item h3 {
    font-size: 1.15rem;
    margin-bottom: 0.5rem;
}
.glosario-item p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Diagramas */
.diagrama-obligados,
.diagrama-responsabilidad {
    margin-top: 2rem;
}
.diagrama-obligados-flow {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}
.diagrama-box {
    padding: 1.25rem 2rem;
    border-radius: 12px;
    font-weight: 600;
    text-align: center;
}
.diagrama-box--inicio {
    background: var(--bg-tertiary);
    color: var(--text-primary);
}
.diagrama-box--obligados {
    background: var(--primary-color);
    color: white;
}
.diagrama-box--obligados p {
    font-size: 0.9rem;
    font-weight: 500;
    opacity: 0.95;
    margin-top: 0.25rem;
}
.diagrama-arrow {
    color: var(--primary-color);
    font-size: 1.5rem;
    font-weight: 700;
}
.diagrama-desc {
    text-align: center;
    color: var(--text-secondary);
    font-size: 0.95rem;
    max-width: 600px;
    margin: 0 auto;
}

.diagrama-responsabilidad-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}
.diagrama-responsabilidad-box {
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    border: 2px solid var(--border-color);
}
.diagrama-responsabilidad-box--pero {
    border-color: var(--primary-light);
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
}
.diagrama-responsabilidad-box h4 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}
.diagrama-responsabilidad-box p {
    font-size: 0.95rem;
    color: var(--text-secondary);
}
.diagrama-responsabilidad-conclusion {
    background: var(--primary-color);
    color: white;
    padding: 1.25rem 2rem;
    border-radius: 12px;
    text-align: center;
    font-size: 1.1rem;
}

/* Inspección flow */
.inspeccion-flow {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
}
.inspeccion-step {
    background: white;
    padding: 1.5rem 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    text-align: center;
    min-width: 160px;
}
.inspeccion-num {
    display: block;
    width: 2.5rem;
    height: 2.5rem;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    font-weight: 700;
    margin: 0 auto 0.75rem;
    line-height: 2.5rem;
}
.inspeccion-step p {
    font-size: 0.95rem;
    color: var(--text-secondary);
}
.inspeccion-arrow {
    color: var(--primary-color);
    font-size: 1.25rem;
    font-weight: 700;
}

/* Requisitos (reutiliza compliance-grid) */
.normativa-requisitos { margin-top: 2rem; }

/* Fuentes */
.normativa-fuentes .sector-fuentes {
    margin-top: 0;
}

/* CTA final */
.normativa-cta {
    background: linear-gradient(135deg, #0f172a 0%, #1e3a5f 50%, #0ea5e9 100%);
    color: white;
    padding: 4rem 0;
    text-align: center;
}
.normativa-cta h2 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}
.normativa-cta p {
    opacity: 0.9;
    margin-bottom: 1.5rem;
}
.normativa-cta-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
}

/* Responsive normativa */
@media (max-width: 768px) {
    .timeline {
        max-width: 100%;
        margin-left: 0;
        margin-right: 0;
    }
    .timeline-line {
        margin-left: 5rem;
        width: 5px;
    }
    .timeline-item {
        gap: 1rem;
        padding-bottom: 2rem;
    }
    .timeline-node {
        width: 5rem;
        padding-right: 1rem;
    }
    .timeline-node-date {
        font-size: 1rem;
    }
    .timeline-node-dot {
        left: calc(5rem - 9px);
        width: 18px;
        height: 18px;
    }
    .timeline-node--highlight .timeline-node-dot {
        left: calc(5rem - 10px);
    }
    .timeline-content {
        padding: 1rem;
    }

    .diagrama-obligados-flow { flex-direction: column; }
    .diagrama-arrow { transform: rotate(90deg); }

    .diagrama-responsabilidad-grid { grid-template-columns: 1fr; }

    .inspeccion-flow { flex-direction: column; }
    .inspeccion-arrow { transform: rotate(90deg); }

    .glosario-grid { grid-template-columns: 1fr; }
}

