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

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

:root {
    /* Code Contract Brand Colors */
    --primary-color: #eb5c66;
    --primary-dark: #d94450;
    --primary-light: #fef7f7;
    --accent-color: #ff6b7d;
    --secondary-color: #82868b;
    --secondary-light: #f8f9fa;
    --secondary-dark: #5a5d61;

    /* Dark theme */
    --dark-bg: #000000;
    --dark-secondary: #1a1a1a;
    --dark-tertiary: #2a2a2a;

    /* Text colors */
    --text-dark: #000000;
    --text-light: #333333;
    --text-muted: #666666;
    --light-text: #ffffff;
    --gray-text: #82868b;

    /* Borders */
    --border-light: #e2e8f0;

    /* Gradients - Code Contract style */
    --gradient-primary: linear-gradient(135deg, #eb5c66 0%, #ff6b7d 100%);
    --gradient-subtle: linear-gradient(135deg, #fef7f7 0%, #ffffff 100%);

    /* Shadows */
    --shadow-standard: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
    --shadow-large: 0 35px 60px -12px rgba(235, 92, 102, 0.1);
    --shadow-card: 0 10px 30px rgba(235, 92, 102, 0.1);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-light);
    background: #ffffff;
}

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

/* Header */
header {
    background: rgba(255, 255, 255, 0.98) !important;
    backdrop-filter: blur(10px);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05) !important;
    border-bottom: 1px solid var(--border-light);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem 2rem;
    max-width: 100%;
    margin: 0 auto;
}

.logo h2 {
    color: var(--text-dark);
    font-size: 1.6rem;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

.nav-links li a {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    position: relative;
}

.nav-links li a:not(.btn-primary):hover {
    color: var(--primary-color);
}

.nav-links li a:not(.btn-primary)::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: width 0.3s ease;
}

.nav-links li a:not(.btn-primary):hover::after {
    width: 100%;
}

/* Buttons */
.btn {
    padding: 0.75rem 1.8rem;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-block;
    font-size: 0.95rem;
}

.btn-primary {
    background: var(--gradient-primary);
    color: white !important;
    box-shadow: 0 4px 12px rgba(235, 92, 102, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(235, 92, 102, 0.4);
    color: white !important;
}

.btn-primary-large {
    background: var(--gradient-primary);
    color: white;
    padding: 1.1rem 2.8rem;
    font-size: 1.1rem;
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(235, 92, 102, 0.3);
}

.btn-primary-large:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(235, 92, 102, 0.4);
}

.btn-secondary-large {
    background: white;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    padding: 1.1rem 2.8rem;
    font-size: 1.1rem;
    border-radius: 12px;
}

.btn-secondary-large:hover {
    background: var(--gradient-primary);
    color: white;
    border-color: transparent;
    transform: translateY(-2px);
}

/* Hero Section */
.hero {
    background: var(--gradient-primary);
    color: white;
    padding: 10rem 0 6rem;
    margin-top: 76px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.hero-content {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    line-height: 1.15;
    font-weight: 700;
}

.hero-subtitle {
    font-size: 1.35rem;
    margin-bottom: 2rem;
    opacity: 0.95;
    line-height: 1.6;
}

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

.stat {
    text-align: center;
    position: relative;
}

.stat::after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 60%;
    background: rgba(255, 255, 255, 0.3);
}

.stat:last-child::after {
    display: none;
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 700;
    color: white;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.stat-label {
    font-size: 1rem;
    opacity: 0.9;
    margin-top: 0.5rem;
}

.cta-buttons {
    display: flex;
    gap: 1.2rem;
    margin-top: 2.5rem;
}

.feature-card-hero {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(20px);
    padding: 2.5rem;
    border-radius: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

.feature-card-hero .icon {
    font-size: 3.5rem;
    margin-bottom: 1.2rem;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.feature-card-hero h3 {
    font-size: 1.6rem;
    margin-bottom: 0.8rem;
}

/* Value Proposition */
.value-proposition {
    padding: 6rem 0;
    background: var(--gradient-primary);
}

.section-title {
    font-size: 2.8rem;
    text-align: center;
    margin-bottom: 1rem;
    color: var(--text-dark);
    font-weight: 700;
}

.value-proposition .section-title {
    color: white;
}

.section-subtitle {
    text-align: center;
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 4rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.value-proposition .section-subtitle {
    color: rgba(255, 255, 255, 0.9);
}

.value-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    margin-top: 4rem;
}

.value-item {
    text-align: center;
    padding: 2.5rem;
    background: white;
    border-radius: 1.5rem;
    box-shadow: var(--shadow-card);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 3px solid white;
}

.value-item:hover {
    transform: translateY(-10px) scale(1.05);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
    border-color: white;
}

.value-icon {
    font-size: 4rem;
    margin-bottom: 1.5rem;
}

.value-item h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
    font-weight: 600;
}

.value-item p {
    color: var(--text-muted);
    line-height: 1.7;
}

/* Features Section */
.features {
    padding: 6rem 0;
    background: white;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
    margin-top: 4rem;
}

.feature-card {
    background: white;
    padding: 2.5rem;
    border-radius: 1.5rem;
    border: 2px solid var(--primary-color);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

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

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-card);
    border-color: var(--primary-light);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
    font-weight: 600;
}

.feature-card p {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.feature-list {
    list-style: none;
    padding-left: 0;
}

.feature-list li {
    padding: 0.7rem 0;
    padding-left: 2rem;
    position: relative;
    color: var(--text-light);
    line-height: 1.6;
}

.feature-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
    font-size: 1.2rem;
}

/* Normativa Section */
.normativa {
    padding: 6rem 0;
    background: var(--gradient-primary);
    color: white;
}

.normativa .section-title {
    color: white;
}

.normativa .section-subtitle {
    color: rgba(255, 255, 255, 0.9);
}

/* Normativa Intro Stats */
.normativa-intro {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin: 4rem 0;
    padding: 3rem;
    background: white;
    border-radius: 1.5rem;
    border: 2px solid var(--primary-color);
}

.normativa-stat {
    text-align: center;
    padding: 2rem;
    background: white;
    border-radius: 1rem;
    transition: all 0.3s ease;
    border: 3px solid white;
}

.normativa-stat:hover {
    transform: translateY(-5px) scale(1.05);
    background: white;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.normativa-stat-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.normativa-stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.normativa-stat-label {
    font-size: 0.95rem;
    color: var(--text-dark);
    line-height: 1.4;
}

.timeline {
    margin: 4rem 0;
    position: relative;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 3px;
    background: var(--gradient-primary);
    transform: translateX(-50%);
}

.timeline-item {
    display: grid;
    grid-template-columns: 1fr 120px 1fr;
    gap: 3rem;
    margin-bottom: 4rem;
    align-items: center;
}

.timeline-item:nth-child(even) .timeline-content {
    grid-column: 1;
    grid-row: 1;
}

.timeline-item:nth-child(even) .timeline-marker {
    grid-column: 2;
    grid-row: 1;
}

.timeline-marker {
    background: white;
    color: var(--primary-color);
    width: 120px;
    height: 120px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.6rem;
    position: relative;
    z-index: 2;
    box-shadow: 0 0 0 8px rgba(255, 255, 255, 0.3), 0 15px 40px rgba(0, 0, 0, 0.3);
}

.timeline-marker.critical {
    background: white;
    color: var(--primary-color);
    box-shadow: 0 0 0 12px rgba(255, 255, 255, 0.5), 0 15px 40px rgba(0, 0, 0, 0.4), 0 0 60px rgba(255, 255, 255, 0.3);
    animation: pulse-glow 2s ease-in-out infinite;
}

@keyframes pulse-glow {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.timeline-marker-inner {
    font-size: 1.6rem;
}

.timeline-content {
    background: white;
    padding: 3rem;
    border-radius: 1.5rem;
    border: 3px solid white;
    transition: all 0.3s ease;
    position: relative;
}

.timeline-content:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
}

.timeline-year-badge {
    display: inline-block;
    background: white;
    color: var(--primary-color);
    padding: 0.5rem 1.2rem;
    border-radius: 2rem;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1rem;
    border: 2px solid var(--primary-color);
}

.timeline-year-badge.critical {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
    animation: pulse 2s ease-in-out infinite;
}

.timeline-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.timeline-content h3 {
    color: var(--primary-color);
    margin-bottom: 0.8rem;
    font-size: 1.7rem;
    font-weight: 700;
}

.timeline-desc {
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    font-weight: 500;
}

.timeline-list {
    margin-top: 1.5rem;
    padding-left: 0;
    list-style: none;
}

.timeline-list li {
    margin: 1rem 0;
    color: var(--text-muted);
    line-height: 1.7;
    padding-left: 2rem;
    position: relative;
}

.timeline-list li::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-size: 1.2rem;
}

.timeline-list li strong {
    color: var(--text-dark);
}

.regulatory-framework {
    margin: 5rem 0;
}

.regulatory-framework h3 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    text-align: center;
}

.framework-subtitle {
    text-align: center;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 3rem;
    font-size: 1.1rem;
}

.framework-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.framework-item {
    background: white;
    padding: 3rem;
    border-radius: 1.5rem;
    border: 3px solid white;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.framework-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.framework-item:hover::before {
    transform: scaleX(1);
}

.framework-item:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
}

.framework-item.featured {
    border: 4px solid white;
    background: white;
    box-shadow: 0 0 0 2px var(--primary-color), 0 20px 40px rgba(0, 0, 0, 0.2);
}

.framework-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.framework-item h4 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-size: 2rem;
    font-weight: 700;
}

.framework-item h5 {
    color: var(--text-dark);
    margin-bottom: 1rem;
    font-size: 1.1rem;
    font-weight: 600;
}

.framework-item p {
    color: var(--text-muted);
    line-height: 1.7;
}

.framework-item.featured p strong {
    color: var(--accent-color);
    font-weight: 600;
}

.levels-framework {
    margin: 5rem 0;
}

.levels-framework h3 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    text-align: center;
}

.levels-subtitle {
    text-align: center;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 4rem;
    font-size: 1.1rem;
}

.levels-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.level-item {
    background: white;
    padding: 2.5rem;
    border-radius: 1.5rem;
    border: 3px solid white;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.level-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.level-item:hover::before {
    transform: scaleX(1);
}

.level-item:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
}

.level-number {
    background: var(--gradient-primary);
    color: white;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    font-weight: bold;
    margin-bottom: 1rem;
    box-shadow: 0 8px 20px rgba(235, 92, 102, 0.4);
}

.level-icon {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.level-item p {
    color: var(--text-muted);
    line-height: 1.7;
    font-size: 0.95rem;
}

/* Sectores */
.sectores {
    padding: 6rem 0;
    background: white;
}

.sector-category {
    margin: 3rem 0;
    padding: 3rem;
    background: white;
    border-radius: 1.5rem;
    box-shadow: var(--shadow-card);
    border: 3px solid var(--primary-color);
}

.sector-category h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
    font-weight: 700;
}

.sector-priority {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

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

.material-item {
    background: var(--gradient-primary);
    color: white;
    padding: 1.2rem;
    border-radius: 12px;
    text-align: center;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(235, 92, 102, 0.2);
}

.material-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(235, 92, 102, 0.3);
}

.certifications-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.cert-item {
    background: var(--gradient-primary);
    color: white;
    padding: 2rem;
    border-radius: 1.5rem;
    border: 3px solid var(--primary-color);
    transition: all 0.3s ease;
}

.cert-item:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 20px 40px rgba(235, 92, 102, 0.4);
}

.cert-item h4 {
    color: white;
    margin-bottom: 0.8rem;
    font-size: 1.3rem;
}

.cert-item p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.95rem;
    line-height: 1.6;
}

.constructor-benefits {
    padding-left: 1.5rem;
    margin-top: 1.5rem;
}

.constructor-benefits li {
    margin: 1rem 0;
    color: var(--text-light);
    line-height: 1.7;
}

.highlight-text {
    background: var(--gradient-primary);
    color: white;
    padding: 1.5rem;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1.1rem;
}

/* Workflow */
.workflow {
    padding: 6rem 0;
    background: white;
    color: var(--text-dark);
}

.workflow .section-title {
    color: var(--text-dark);
}

.workflow .section-subtitle {
    color: var(--text-muted);
}

.workflow-objective {
    background: white;
    padding: 3rem;
    border-radius: 1.5rem;
    margin: 4rem 0;
    border: 3px solid var(--primary-color);
    box-shadow: var(--shadow-large);
}

.workflow-objective h3 {
    font-size: 2.2rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.objective-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
}

.objective-item {
    background: var(--gradient-primary);
    padding: 1.5rem;
    border-radius: 12px;
    text-align: center;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 3px solid var(--primary-color);
    color: white;
}

.objective-item:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 15px 30px rgba(235, 92, 102, 0.4);
}

.workflow-phases {
    margin: 5rem 0;
}

.phase {
    background: white;
    border-radius: 1.5rem;
    margin: 3rem 0;
    overflow: hidden;
    border: 2px solid var(--primary-color);
    box-shadow: var(--shadow-card);
}

.phase-header {
    background: var(--gradient-primary);
    padding: 2rem 2.5rem;
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.phase-number {
    background: rgba(255, 255, 255, 0.25);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    font-weight: bold;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.phase-header h3 {
    font-size: 1.6rem;
    font-weight: 700;
}

.phase-content {
    padding: 2.5rem;
}

.phase-step {
    margin: 2.5rem 0;
}

.phase-step h4 {
    color: var(--primary-color);
    font-size: 1.4rem;
    margin-bottom: 1.2rem;
    font-weight: 600;
}

.phase-step p {
    color: var(--text-muted);
    margin-bottom: 1.2rem;
    line-height: 1.7;
}

.phase-step ul {
    padding-left: 1.5rem;
    margin: 1.2rem 0;
}

.phase-step li {
    margin: 0.8rem 0;
    color: var(--text-muted);
    line-height: 1.6;
}

.critical-materials {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin-top: 1.5rem;
}

.critical-materials span {
    background: var(--gradient-primary);
    color: white;
    padding: 0.7rem 1.3rem;
    border-radius: 2rem;
    font-size: 0.95rem;
    box-shadow: 0 4px 12px rgba(235, 92, 102, 0.2);
}

.doc-checklist {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.8rem;
    margin-top: 1.5rem;
}

.doc-item {
    background: white;
    padding: 1rem;
    border-radius: 12px;
    color: var(--text-dark);
    transition: all 0.3s ease;
    border: 2px solid var(--primary-color);
}

.doc-item:hover {
    background: var(--gradient-primary);
    transform: translateX(5px);
    color: white;
    border-color: var(--primary-dark);
}

.alert-box {
    background: rgba(255, 107, 125, 0.1);
    border: 2px solid var(--accent-color);
    padding: 2rem;
    border-radius: 12px;
    margin: 2rem 0;
}

.alert-box strong {
    color: var(--accent-color);
    display: block;
    margin-bottom: 0.8rem;
    font-size: 1.1rem;
}

.alert-box p {
    color: var(--text-muted);
    line-height: 1.6;
}

.highlight {
    color: var(--primary-color);
    font-weight: 600;
}

.audit-requirements {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

.audit-section {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    border: 3px solid var(--primary-color);
}

.audit-section h5 {
    color: var(--primary-color);
    margin-bottom: 1.2rem;
    font-size: 1.2rem;
}

.audit-section ul {
    padding-left: 1.5rem;
}

.highlight-box {
    background: var(--gradient-primary);
    padding: 2rem;
    border-radius: 12px;
    margin-top: 2rem;
    box-shadow: 0 10px 30px rgba(235, 92, 102, 0.3);
}

.highlight-box p {
    color: white;
    margin: 0.7rem 0;
    line-height: 1.7;
}

.project-phases-table {
    margin: 5rem 0;
}

.project-phases-table h3 {
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
}

.project-phases-table > p {
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    font-size: 1.1rem;
}

table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    border-radius: 1.5rem;
    overflow: hidden;
    box-shadow: var(--shadow-card);
    border: 2px solid var(--primary-color);
}

thead {
    background: var(--gradient-primary);
}

th {
    padding: 1.5rem;
    text-align: left;
    font-weight: 600;
    font-size: 1rem;
}

td {
    padding: 1.5rem;
    border-bottom: 1px solid var(--border-light);
    color: var(--text-muted);
    line-height: 1.6;
}

tbody tr {
    transition: all 0.3s ease;
}

tbody tr:hover {
    background: rgba(235, 92, 102, 0.05);
}

.highlight-row {
    background: rgba(235, 92, 102, 0.1);
}

/* CTA Section */
.cta-section {
    background: var(--gradient-primary);
    color: white;
    padding: 6rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 30% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 70% 80%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
}

.cta-section h2 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
}

.cta-section p {
    font-size: 1.4rem;
    margin-bottom: 2.5rem;
    position: relative;
    z-index: 1;
}

.cta-buttons-center {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    position: relative;
    z-index: 1;
}

/* Footer */
footer {
    background: white;
    color: var(--text-dark);
    padding: 4rem 0 3rem;
}

.footer-social {
    display: flex;
    gap: 2rem;
    justify-content: center;
    padding: 3rem 0;
}

.social-link {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    border-radius: 50%;
    transition: all 0.3s ease;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(235, 92, 102, 0.3);
}

.social-link:hover {
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 8px 20px rgba(235, 92, 102, 0.5);
}

.social-link svg {
    width: 24px;
    height: 24px;
    fill: white;
    transition: fill 0.3s ease;
}

/* Responsive */
@media (max-width: 1024px) {
    .hero h1 {
        font-size: 2.8rem;
    }

    .hero-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

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

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

    .normativa-intro {
        grid-template-columns: 1fr;
    }

    .timeline-item {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .timeline::before {
        left: 60px;
    }

    .timeline-marker {
        grid-column: 1;
        justify-self: start;
        margin-left: 0;
        width: 100px;
        height: 100px;
    }

    .timeline-content {
        grid-column: 1;
    }
}

@media (max-width: 768px) {
    nav {
        padding: 1rem;
    }

    .hero {
        padding: 7rem 0 4rem;
    }

    .hero h1 {
        font-size: 2.2rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .hero-stats {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .stat::after {
        display: none;
    }

    .section-title {
        font-size: 2.2rem;
    }

    .framework-grid,
    .levels-grid {
        grid-template-columns: 1fr;
    }

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

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

    .doc-checklist,
    .audit-requirements {
        grid-template-columns: 1fr;
    }


    .nav-links {
        position: fixed;
        top: 76px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 76px);
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(10px);
        flex-direction: column;
        justify-content: flex-start;
        padding: 2rem;
        gap: 1.5rem;
        transition: left 0.3s ease;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    }

    .nav-links.active {
        left: 0;
    }

    table {
        font-size: 0.85rem;
    }

    th, td {
        padding: 1rem;
    }

    .cta-section h2 {
        font-size: 2.2rem;
    }

    .cta-buttons-center {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }

    .hero h1 {
        font-size: 1.8rem;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .btn-primary-large,
    .btn-secondary-large {
        padding: 1rem 2rem;
        font-size: 1rem;
    }
}