/* ========================================
   ENARTI - Web Institucional
   CSS Global
   ======================================== */

/* --- Reset & Base --- */
:root {
    --primary: #0a1628;
    --primary-light: #1a2d4a;
    --accent: #2563eb;
    --accent-light: #3b82f6;
    --accent-glow: #60a5fa;
    --secondary: #06b6d4;
    --success: #10b981;
    --warning: #f59e0b;
    --danger: #ef4444;
    --white: #ffffff;
    --gray-50: #f8fafc;
    --gray-100: #f1f5f9;
    --gray-200: #e2e8f0;
    --gray-300: #cbd5e1;
    --gray-400: #94a3b8;
    --gray-500: #64748b;
    --gray-600: #475569;
    --gray-700: #334155;
    --gray-800: #1e293b;
    --gray-900: #0f172a;
    --font-main: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
    --font-display: 'Inter', 'Segoe UI', system-ui, sans-serif;
    --max-width: 1200px;
    --header-height: 72px;
    --radius: 12px;
    --radius-sm: 8px;
    --radius-lg: 16px;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.1);
    --shadow-lg: 0 8px 30px rgba(0,0,0,0.12);
    --shadow-xl: 0 20px 60px rgba(0,0,0,0.15);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html { scroll-behavior: smooth; font-size: 16px; }

body {
    font-family: var(--font-main);
    color: var(--gray-800);
    background: var(--white);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; transition: var(--transition); }
ul, ol { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, textarea, select { font-family: inherit; font-size: inherit; }

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: 700;
    line-height: 1.2;
    color: var(--primary);
}

h1 { font-size: clamp(2.2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.8rem, 4vw, 2.5rem); }
h3 { font-size: clamp(1.3rem, 3vw, 1.75rem); }
h4 { font-size: 1.25rem; }

p { margin-bottom: 1rem; color: var(--gray-600); }

.text-accent { color: var(--accent); }
.text-center { text-align: center; }
.text-white { color: var(--white); }

.section-label {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 0.75rem;
}

.section-title {
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--gray-500);
    max-width: 640px;
    margin: 0 auto 2.5rem;
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.85rem 2rem;
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: var(--radius-sm);
    transition: var(--transition);
    white-space: nowrap;
}

.btn-primary {
    background: var(--accent);
    color: var(--white);
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.35);
}

.btn-primary:hover {
    background: var(--accent-light);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.45);
}

.btn-secondary {
    background: transparent;
    color: var(--accent);
    border: 2px solid var(--accent);
}

.btn-secondary:hover {
    background: var(--accent);
    color: var(--white);
    transform: translateY(-2px);
}

.btn-white {
    background: var(--white);
    color: var(--primary);
    box-shadow: var(--shadow-md);
}

.btn-white:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-cta {
    background: linear-gradient(135deg, var(--accent) 0%, var(--secondary) 100%);
    color: var(--white);
    padding: 1rem 2.5rem;
    font-size: 1.05rem;
    border-radius: var(--radius);
    box-shadow: 0 4px 20px rgba(37, 99, 235, 0.4);
}

.btn-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(37, 99, 235, 0.5);
}

.btn-sm {
    padding: 0.55rem 1.25rem;
    font-size: 0.85rem;
}

.btn-group {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

/* --- Header / Nav --- */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--header-height);
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--gray-200);
    z-index: 1000;
    transition: var(--transition);
}

.site-header.scrolled {
    box-shadow: var(--shadow-md);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 1.5rem;
}

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

.logo span { color: var(--accent); }

.nav-links {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.nav-links a {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--gray-600);
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

.nav-links a:hover {
    color: var(--accent);
    background: var(--gray-50);
}

.nav-links a.active {
    color: var(--accent);
    font-weight: 600;
}

.nav-links .nav-cta {
    background: var(--accent);
    color: var(--white);
    padding: 0.55rem 1.25rem;
    margin-left: 0.5rem;
    font-weight: 600;
}

.nav-links .nav-cta:hover {
    background: var(--accent-light);
}

/* Mobile menu */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 0.5rem;
}

.menu-toggle span {
    width: 24px;
    height: 2px;
    background: var(--primary);
    transition: var(--transition);
    border-radius: 2px;
}

/* --- Hero Sections (full screen first slide) --- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: var(--header-height);
    overflow: hidden;
}

.hero-dark {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 50%, #0d2847 100%);
    color: var(--white);
}

.hero-dark h1, .hero-dark h2, .hero-dark h3, .hero-dark p {
    color: var(--white);
}

.hero-dark p { opacity: 0.85; }

.hero-gradient {
    background: linear-gradient(135deg, #0a1628 0%, #1a2d4a 40%, #0e3a6e 100%);
    color: var(--white);
}

.hero-gradient h1, .hero-gradient h2, .hero-gradient p { color: var(--white); }
.hero-gradient p { opacity: 0.85; }

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 700px;
}

.hero-content h1 {
    margin-bottom: 1.25rem;
}

.hero-content p {
    font-size: 1.15rem;
    margin-bottom: 2rem;
    line-height: 1.7;
}

.hero-visual {
    position: absolute;
    right: -5%;
    top: 50%;
    transform: translateY(-50%);
    width: 45%;
    opacity: 0.1;
    z-index: 1;
}

/* Rotating text effect */
.rotating-text {
    display: inline-block;
    color: var(--accent-glow);
    position: relative;
}

.rotating-text .word {
    display: none;
    animation: fadeWord 0.6s ease forwards;
}

.rotating-text .word.active { display: inline; }

@keyframes fadeWord {
    0% { opacity: 0; transform: translateY(10px); }
    100% { opacity: 1; transform: translateY(0); }
}

/* Hero decorative elements */
.hero-bg-pattern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        radial-gradient(circle at 20% 50%, rgba(37,99,235,0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(6,182,212,0.06) 0%, transparent 50%);
    z-index: 1;
}

/* --- Sections --- */
.section {
    padding: 5rem 0;
}

.section-alt {
    background: var(--gray-50);
}

.section-dark {
    background: var(--primary);
    color: var(--white);
}

.section-dark h2, .section-dark h3, .section-dark h4 { color: var(--white); }
.section-dark p { color: rgba(255,255,255,0.75); }

/* --- Cards --- */
.card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 2rem;
    border: 1px solid var(--gray-200);
    transition: var(--transition);
}

.card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
    border-color: var(--accent);
}

.card-icon {
    width: 56px;
    height: 56px;
    border-radius: var(--radius-sm);
    background: linear-gradient(135deg, rgba(37,99,235,0.1), rgba(6,182,212,0.1));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1.25rem;
    color: var(--accent);
}

.card h3 {
    font-size: 1.15rem;
    margin-bottom: 0.75rem;
}

.card p {
    font-size: 0.9rem;
    color: var(--gray-500);
}

/* --- Grid Layouts --- */
.grid {
    display: grid;
    gap: 1.5rem;
}

.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

/* --- Stats / Numbers --- */
.stats-row {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
    padding: 2rem 0;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--accent);
    line-height: 1;
    margin-bottom: 0.25rem;
}

.stat-label {
    font-size: 0.85rem;
    color: var(--gray-500);
    font-weight: 500;
}

/* --- Testimonials --- */
.testimonial {
    background: var(--white);
    border-radius: var(--radius);
    padding: 2rem;
    border: 1px solid var(--gray-200);
    position: relative;
}

.testimonial::before {
    content: '\201C';
    font-size: 4rem;
    color: var(--accent);
    opacity: 0.2;
    position: absolute;
    top: 0.5rem;
    left: 1.5rem;
    line-height: 1;
    font-family: Georgia, serif;
}

.testimonial p {
    font-size: 0.95rem;
    font-style: italic;
    margin-bottom: 1.25rem;
    padding-top: 1.5rem;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.testimonial-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent), var(--secondary));
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 0.9rem;
}

.testimonial-name {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--primary);
}

.testimonial-role {
    font-size: 0.8rem;
    color: var(--gray-500);
}

/* --- Before / After --- */
.before-after {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 2rem;
    align-items: center;
}

.before-panel, .after-panel {
    padding: 2rem;
    border-radius: var(--radius);
}

.before-panel {
    background: #fef2f2;
    border: 1px solid #fecaca;
}

.before-panel h3 { color: var(--danger); }

.after-panel {
    background: #ecfdf5;
    border: 1px solid #a7f3d0;
}

.after-panel h3 { color: var(--success); }

.divider-arrow {
    font-size: 2rem;
    color: var(--accent);
    font-weight: 700;
}

/* --- Accordion --- */
.accordion-item {
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-sm);
    margin-bottom: 0.75rem;
    overflow: hidden;
}

.accordion-header {
    width: 100%;
    padding: 1.15rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--white);
    font-weight: 600;
    font-size: 1rem;
    color: var(--primary);
    cursor: pointer;
    transition: var(--transition);
}

.accordion-header:hover {
    background: var(--gray-50);
}

.accordion-icon {
    font-size: 1.2rem;
    transition: transform 0.3s ease;
    color: var(--accent);
}

.accordion-item.open .accordion-icon {
    transform: rotate(45deg);
}

.accordion-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
}

.accordion-body-inner {
    padding: 0 1.5rem 1.5rem;
    color: var(--gray-600);
    font-size: 0.9rem;
}

/* --- Calculator / Interactive --- */
.calculator-card {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    border-radius: var(--radius-lg);
    padding: 3rem;
    color: var(--white);
}

.calculator-card h3 { color: var(--white); margin-bottom: 1.5rem; }

.calc-row {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.25rem;
    flex-wrap: wrap;
}

.calc-label {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.8);
    min-width: 200px;
}

.calc-input {
    padding: 0.65rem 1rem;
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: var(--radius-sm);
    background: rgba(255,255,255,0.1);
    color: var(--white);
    font-size: 1rem;
    width: 120px;
    text-align: center;
    outline: none;
    transition: var(--transition);
}

.calc-input:focus {
    border-color: var(--accent-glow);
    background: rgba(255,255,255,0.15);
}

.calc-result {
    text-align: center;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.15);
}

.calc-result-number {
    font-size: 3rem;
    font-weight: 800;
    color: var(--accent-glow);
    line-height: 1.1;
}

.calc-result-label {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.7);
    margin-top: 0.5rem;
}

/* --- Tables --- */
.table-wrapper {
    overflow-x: auto;
    border-radius: var(--radius);
    border: 1px solid var(--gray-200);
}

table {
    width: 100%;
    border-collapse: collapse;
}

th {
    background: var(--primary);
    color: var(--white);
    padding: 0.85rem 1.25rem;
    text-align: left;
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

td {
    padding: 0.85rem 1.25rem;
    border-bottom: 1px solid var(--gray-100);
    font-size: 0.9rem;
}

tr:hover td { background: var(--gray-50); }

/* --- Tags / Badges --- */
.badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
}

.badge-blue { background: #dbeafe; color: var(--accent); }
.badge-green { background: #d1fae5; color: var(--success); }
.badge-yellow { background: #fef3c7; color: var(--warning); }
.badge-red { background: #fee2e2; color: var(--danger); }

/* --- Tabs --- */
.tabs {
    display: flex;
    gap: 0.25rem;
    border-bottom: 2px solid var(--gray-200);
    margin-bottom: 2rem;
    overflow-x: auto;
}

.tab {
    padding: 0.75rem 1.5rem;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--gray-500);
    border-bottom: 2px solid transparent;
    margin-bottom: -2px;
    cursor: pointer;
    white-space: nowrap;
    transition: var(--transition);
}

.tab:hover { color: var(--accent); }

.tab.active {
    color: var(--accent);
    border-bottom-color: var(--accent);
    font-weight: 600;
}

.tab-content { display: none; }
.tab-content.active { display: block; }

/* --- Team --- */
.team-card {
    text-align: center;
    padding: 1.5rem;
}

.team-photo {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent), var(--secondary));
    margin: 0 auto 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: var(--white);
    box-shadow: 0 4px 20px rgba(37, 99, 235, 0.3);
}

.team-name {
    font-weight: 700;
    font-size: 1rem;
    color: var(--primary);
}

.team-role {
    font-size: 0.85rem;
    color: var(--gray-500);
    margin: 0.25rem 0 0.5rem;
}

.team-linkedin {
    color: var(--accent);
    font-size: 0.85rem;
    font-weight: 500;
}

.team-linkedin:hover { text-decoration: underline; }

/* --- Blog Cards --- */
.blog-card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--gray-200);
    transition: var(--transition);
}

.blog-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

.blog-card-img {
    height: 200px;
    background: linear-gradient(135deg, var(--primary-light), var(--accent));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 2.5rem;
}

.blog-card-body {
    padding: 1.5rem;
}

.blog-card-tag {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.blog-card-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary);
    margin: 0.5rem 0;
    line-height: 1.4;
}

.blog-card-excerpt {
    font-size: 0.88rem;
    color: var(--gray-500);
    margin-bottom: 1rem;
}

.blog-card-meta {
    display: flex;
    justify-content: space-between;
    font-size: 0.8rem;
    color: var(--gray-400);
}

/* --- Form --- */
.form-group {
    margin-bottom: 1.25rem;
}

.form-label {
    display: block;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--gray-700);
    margin-bottom: 0.4rem;
}

.form-input,
.form-select,
.form-textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid var(--gray-300);
    border-radius: var(--radius-sm);
    font-size: 0.95rem;
    transition: var(--transition);
    background: var(--white);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.form-textarea { resize: vertical; min-height: 120px; }

/* --- Chatbot Button --- */
.chatbot-btn {
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent), var(--secondary));
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    box-shadow: 0 4px 20px rgba(37, 99, 235, 0.4);
    z-index: 999;
    transition: var(--transition);
    cursor: pointer;
}

.chatbot-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 30px rgba(37, 99, 235, 0.5);
}

.chatbot-tooltip {
    position: fixed;
    bottom: 5.5rem;
    right: 1.5rem;
    background: var(--white);
    color: var(--primary);
    padding: 0.75rem 1.25rem;
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-lg);
    font-size: 0.85rem;
    font-weight: 500;
    z-index: 999;
    display: none;
    max-width: 220px;
}

.chatbot-tooltip::after {
    content: '';
    position: absolute;
    bottom: -6px;
    right: 20px;
    width: 12px;
    height: 12px;
    background: var(--white);
    transform: rotate(45deg);
    box-shadow: 3px 3px 3px rgba(0,0,0,0.05);
}

/* --- Footer --- */
.site-footer {
    background: var(--primary);
    color: rgba(255,255,255,0.7);
    padding: 4rem 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 2.5rem;
    margin-bottom: 3rem;
}

.footer-brand {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 1rem;
}

.footer-brand span { color: var(--accent-glow); }

.footer-desc {
    font-size: 0.88rem;
    line-height: 1.7;
    margin-bottom: 1.25rem;
}

.footer-title {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--white);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1rem;
}

.footer-links a {
    display: block;
    padding: 0.35rem 0;
    font-size: 0.88rem;
    color: rgba(255,255,255,0.6);
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--white);
    padding-left: 0.25rem;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-bottom a {
    color: rgba(255,255,255,0.5);
}

.footer-bottom a:hover { color: var(--white); }

.social-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    color: rgba(255,255,255,0.7);
    font-size: 0.88rem;
}

.social-link:hover { color: var(--accent-glow); }

/* --- Slide sections (full viewport) --- */
.slide-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 5rem 0;
}

/* --- Collaboration Levels --- */
.collab-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 2rem;
    border: 2px solid var(--gray-200);
    text-align: center;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.collab-card:hover {
    border-color: var(--accent);
    box-shadow: var(--shadow-lg);
}

.collab-card.featured {
    border-color: var(--accent);
    box-shadow: 0 4px 20px rgba(37, 99, 235, 0.15);
}

.collab-card.featured::before {
    content: 'Recomendado';
    position: absolute;
    top: 1rem;
    right: -2rem;
    background: var(--accent);
    color: var(--white);
    padding: 0.25rem 2.5rem;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    transform: rotate(45deg);
}

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

/* --- Values Cards (interactive hover) --- */
.value-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 2rem;
    border: 1px solid var(--gray-200);
    text-align: center;
    transition: var(--transition);
    cursor: default;
}

.value-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: var(--accent);
}

.value-card:hover .value-icon {
    transform: scale(1.15);
}

.value-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    transition: transform 0.3s ease;
}

.value-card h4 { margin-bottom: 0.5rem; }
.value-card p { font-size: 0.88rem; color: var(--gray-500); }

/* --- Progress/Steps --- */
.steps {
    display: flex;
    justify-content: center;
    gap: 0;
    margin: 2rem 0;
    flex-wrap: wrap;
}

.step {
    flex: 1;
    min-width: 180px;
    text-align: center;
    padding: 1.5rem 1rem;
    position: relative;
}

.step::after {
    content: '';
    position: absolute;
    top: 2.25rem;
    right: 0;
    width: 50%;
    height: 2px;
    background: var(--gray-300);
}

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

.step-number {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--accent);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.1rem;
    margin: 0 auto 0.75rem;
    position: relative;
    z-index: 2;
}

.step h4 { font-size: 0.95rem; margin-bottom: 0.3rem; }
.step p { font-size: 0.82rem; color: var(--gray-500); }

/* --- Qualification / Radio buttons --- */
.qualification-options {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin: 1.5rem 0;
}

.qual-option {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1.25rem;
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: var(--transition);
}

.qual-option:hover {
    border-color: var(--accent);
    background: rgba(37, 99, 235, 0.03);
}

.qual-option.selected {
    border-color: var(--accent);
    background: rgba(37, 99, 235, 0.05);
}

.qual-radio {
    width: 20px;
    height: 20px;
    border: 2px solid var(--gray-300);
    border-radius: 50%;
    flex-shrink: 0;
    position: relative;
}

.qual-option.selected .qual-radio {
    border-color: var(--accent);
}

.qual-option.selected .qual-radio::after {
    content: '';
    width: 10px;
    height: 10px;
    background: var(--accent);
    border-radius: 50%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

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

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

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

/* --- Responsive --- */
@media (max-width: 1024px) {
    .grid-4 { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .before-after { grid-template-columns: 1fr; }
    .divider-arrow { text-align: center; transform: rotate(90deg); }
}

@media (max-width: 768px) {
    .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .stats-row { gap: 1.5rem; }
    .steps { flex-direction: column; align-items: center; }
    .step::after { display: none; }
    .section { padding: 3.5rem 0; }
    .hero-content h1 { font-size: 2rem; }

    .menu-toggle { display: flex; }

    .nav-links {
        position: fixed;
        top: var(--header-height);
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        padding: 1.5rem;
        gap: 0.5rem;
        border-bottom: 1px solid var(--gray-200);
        box-shadow: var(--shadow-lg);
        transform: translateY(-100%);
        opacity: 0;
        pointer-events: none;
        transition: var(--transition);
    }

    .nav-links.open {
        transform: translateY(0);
        opacity: 1;
        pointer-events: all;
    }

    .nav-links a {
        padding: 0.75rem 1rem;
        width: 100%;
        text-align: center;
    }

    .nav-links .nav-cta { margin-left: 0; }
}

@media print {
    .site-header, .chatbot-btn, .chatbot-tooltip { display: none; }
    .hero { min-height: auto; padding: 2rem 0; }
    .slide-section { min-height: auto; }
    .section { padding: 2rem 0; break-inside: avoid; }
}
