/* ============================================================
   David Cruz López — CV
   Diseño plano, colores sólidos (sin degradados)
   ============================================================ */

:root {
    --primary-color: #2563eb;
    --primary-dark: #1d4ed8;
    --primary-soft: #e8efff;
    --dark-color: #0f172a;
    --ink-2: #1e293b;
    --muted: #64748b;
    --light-color: #f4f6fb;
    --border: #e2e8f0;
    --white: #ffffff;

    --radius: 14px;
    --shadow-sm: 0 2px 8px rgba(15, 23, 42, 0.06);
    --shadow-md: 0 8px 24px rgba(15, 23, 42, 0.08);
    --shadow-lg: 0 18px 40px rgba(15, 23, 42, 0.14);
    --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
    overflow-x: clip;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--ink-2);
    background: var(--white);
    width: 100%;
    max-width: 100%;
    overflow-x: clip;
    overflow-wrap: break-word;
    line-height: 1.7;
}

::selection {
    background: var(--primary-color);
    color: #fff;
}

a {
    text-decoration: none;
}

/* ---------- Barra de progreso de scroll ---------- */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    z-index: 1100;
    background: transparent;
    pointer-events: none;
}

.scroll-progress span {
    display: block;
    height: 100%;
    width: 0;
    background: var(--primary-color);
}

/* ---------- Navbar ---------- */
.navbar {
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid transparent;
    padding: 18px 0;
    transition: padding 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s var(--ease);
}

.navbar.scrolled {
    padding: 10px 0;
    box-shadow: var(--shadow-sm);
    border-bottom-color: var(--border);
}

.navbar-brand {
    font-weight: 700;
    color: var(--dark-color) !important;
    font-size: 1.5rem;
    letter-spacing: 1px;
}

.brand-dot {
    color: var(--primary-color);
}

.nav-link {
    color: var(--ink-2) !important;
    font-weight: 500;
    font-size: 0.95rem;
    margin: 0 6px;
    position: relative;
    transition: color 0.25s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    left: 12px;
    right: 12px;
    bottom: 2px;
    height: 2px;
    background: var(--primary-color);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s var(--ease);
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-color) !important;
}

.nav-link:hover::after,
.nav-link.active::after {
    transform: scaleX(1);
}

.nav-link.nav-cta {
    background: var(--primary-color);
    color: #fff !important;
    border-radius: 50px;
    padding: 8px 22px !important;
    margin-left: 12px;
    transition: background 0.25s ease, transform 0.25s var(--ease);
}

.nav-link.nav-cta::after {
    display: none;
}

.nav-link.nav-cta:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

.lang-switcher .dropdown-toggle {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
}

.lang-switcher .dropdown-toggle::after {
    display: none;
}

.lang-switcher .dropdown-menu {
    min-width: 160px;
    padding: 8px;
    border: 1px solid var(--border);
    border-radius: 12px;
    box-shadow: var(--shadow-md);
}

.lang-switcher .dropdown-item {
    border-radius: 8px;
    padding: 8px 14px;
    font-size: 0.92rem;
    font-weight: 500;
    color: var(--ink-2);
    transition: background 0.2s ease, color 0.2s ease;
}

.lang-switcher .dropdown-item:hover,
.lang-switcher .dropdown-item:focus {
    background: var(--primary-soft);
    color: var(--primary-color);
}

.lang-switcher .dropdown-item.active {
    background: var(--primary-color);
    color: #fff;
}

.navbar-toggler {
    border: 1px solid var(--border);
}

.navbar-toggler:focus {
    box-shadow: none;
}

/* ---------- Hero ---------- */
.hero-section {
    min-height: 100vh;
    background: var(--dark-color);
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding: 140px 0 100px;
}

/* Formas decorativas (sin degradados) */
.hero-grid::before,
.hero-grid::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.07);
}

.hero-grid::before {
    width: 620px;
    height: 620px;
    top: -180px;
    right: -160px;
    animation: floatSlow 14s ease-in-out infinite;
}

.hero-grid::after {
    width: 360px;
    height: 360px;
    bottom: -120px;
    right: 120px;
    border-color: rgba(37, 99, 235, 0.35);
    animation: floatSlow 18s ease-in-out infinite reverse;
}

@keyframes floatSlow {
    0%, 100% { transform: translate(0, 0); }
    50%      { transform: translate(-24px, 26px); }
}

.hero-content {
    position: relative;
    z-index: 2;
    color: #fff;
}

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    color: #cbd5e1;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    padding: 6px 16px;
    border-radius: 50px;
    margin-bottom: 24px;
    animation: fadeInUp 0.8s var(--ease) both;
}

.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #22c55e;
    animation: pulseDot 2s ease-in-out infinite;
}

@keyframes pulseDot {
    0%, 100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.55); }
    70%      { box-shadow: 0 0 0 8px rgba(34, 197, 94, 0); }
}

.hero-content h1 {
    font-size: 3.4rem;
    font-weight: 700;
    line-height: 1.15;
    margin-bottom: 14px;
    animation: fadeInUp 0.9s var(--ease) 0.1s both;
}

.hero-content h1 .hl {
    color: var(--primary-color);
}

.hero-content .subtitle {
    font-size: 1.5rem;
    font-weight: 500;
    color: #e2e8f0;
    min-height: 2.2rem;
    margin-bottom: 18px;
    animation: fadeInUp 0.9s var(--ease) 0.2s both;
}

.caret {
    display: inline-block;
    width: 2px;
    height: 1.35rem;
    background: var(--primary-color);
    margin-left: 3px;
    vertical-align: -2px;
    animation: blink 1s step-end infinite;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50%      { opacity: 0; }
}

.hero-text {
    font-size: 1.05rem;
    color: #94a3b8;
    max-width: 720px;
    margin-bottom: 34px;
    animation: fadeInUp 0.9s var(--ease) 0.3s both;
}

.hero-text strong {
    color: #e2e8f0;
    font-weight: 600;
}

.hero-buttons {
    animation: fadeInUp 0.9s var(--ease) 0.4s both;
}

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

.hero-meta {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 12px 28px;
    margin-top: 38px;
    padding-top: 26px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    animation: fadeInUp 0.9s var(--ease) 0.55s both;
}

.hero-meta li {
    font-size: 0.92rem;
    color: #94a3b8;
    display: flex;
    align-items: center;
    gap: 8px;
}

.hero-meta i {
    color: var(--primary-color);
}

.hero-meta a {
    color: #cbd5e1;
    transition: color 0.25s ease;
}

.hero-meta a:hover {
    color: var(--primary-color);
}

.scroll-hint {
    position: absolute;
    bottom: 28px;
    left: 50%;
    transform: translateX(-50%);
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    color: #cbd5e1;
    z-index: 2;
    animation: bounceDown 2.2s ease-in-out infinite;
    transition: background 0.25s ease, color 0.25s ease;
}

.scroll-hint:hover {
    background: var(--primary-color);
    color: #fff;
}

@keyframes bounceDown {
    0%, 100% { transform: translate(-50%, 0); }
    50%      { transform: translate(-50%, 10px); }
}

/* ---------- Botones ---------- */
.btn-custom {
    padding: 12px 32px;
    font-weight: 600;
    font-size: 0.95rem;
    border-radius: 50px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 5px 8px 5px 0;
    transition: transform 0.28s var(--ease), background 0.25s ease, color 0.25s ease, box-shadow 0.28s var(--ease);
}

.btn-primary-custom {
    background: var(--primary-color);
    color: #fff;
}

.btn-primary-custom:hover {
    background: var(--primary-dark);
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 12px 24px rgba(37, 99, 235, 0.35);
}

.btn-outline-custom {
    border: 1px solid rgba(255, 255, 255, 0.35);
    color: #fff;
    background: transparent;
}

.btn-outline-custom:hover {
    background: #fff;
    color: var(--dark-color);
    transform: translateY(-3px);
}

/* ---------- Secciones ---------- */
section {
    padding: 100px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.eyebrow {
    display: inline-block;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--primary-color);
    background: var(--primary-soft);
    padding: 5px 16px;
    border-radius: 50px;
    margin-bottom: 14px;
}

.section-title h2 {
    font-size: 2.4rem;
    font-weight: 700;
    color: var(--dark-color);
    position: relative;
    display: inline-block;
    padding-bottom: 16px;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 56px;
    height: 3px;
    background: var(--primary-color);
    border-radius: 2px;
}

/* ---------- Animación de aparición ---------- */
.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
    will-change: opacity, transform;
}

.reveal.is-visible {
    opacity: 1;
    transform: none;
}

/* ---------- Sobre Mí ---------- */
.about-section {
    background: var(--white);
}

.about-section .lead {
    font-size: 1.15rem;
    font-weight: 500;
    color: var(--dark-color);
    border-left: 3px solid var(--primary-color);
    padding-left: 18px;
    margin-bottom: 22px;
}

.about-section p {
    color: var(--muted);
    margin-bottom: 16px;
}

.stats-row {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 32px;
}

.stat {
    flex: 1 1 140px;
    background: var(--light-color);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 20px 18px;
    text-align: center;
    transition: transform 0.3s var(--ease), border-color 0.3s ease;
}

.stat:hover {
    transform: translateY(-4px);
    border-color: var(--primary-color);
}

.stat-num,
.stat-plus {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1;
}

.stat p {
    font-size: 0.85rem;
    color: var(--muted);
    margin: 8px 0 0;
    line-height: 1.4;
}

.skill-item {
    background: var(--white);
    border: 1px solid var(--border);
    padding: 26px 22px;
    border-radius: var(--radius);
    height: 100%;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.3s ease;
}

.skill-item:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-color);
}

.skill-item i {
    font-size: 1.6rem;
    color: var(--primary-color);
    background: var(--primary-soft);
    width: 54px;
    height: 54px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    margin-bottom: 14px;
    transition: transform 0.35s var(--ease);
}

.skill-item:hover i {
    transform: rotate(-6deg) scale(1.06);
}

.skill-item h5 {
    font-weight: 600;
    color: var(--dark-color);
    font-size: 1.05rem;
    margin-bottom: 6px;
}

.skill-item p {
    font-size: 0.88rem;
    color: var(--muted);
    margin: 0;
    line-height: 1.55;
}

/* ---------- Habilidades ---------- */
.skills-section {
    background: var(--light-color);
}

.stack-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 26px 24px;
    height: 100%;
    transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

.stack-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
}

.stack-head {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-bottom: 14px;
    margin-bottom: 16px;
    border-bottom: 1px solid var(--border);
}

.stack-head i {
    font-size: 1.25rem;
    color: var(--primary-color);
}

.stack-head h5 {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--dark-color);
    margin: 0;
}

.chip-list {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.chip-list li,
.chip-cloud span {
    font-size: 0.85rem;
    color: var(--primary-color);
    background: var(--primary-soft);
    border-radius: 50px;
    padding: 5px 14px;
    transition: background 0.25s ease, color 0.25s ease, transform 0.25s var(--ease);
}

.chip-list li:hover,
.chip-cloud span:hover {
    background: var(--primary-color);
    color: #fff;
    transform: translateY(-2px);
}

.specialties {
    margin-top: 46px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 30px;
    text-align: center;
}

.specialties h5 {
    font-weight: 600;
    color: var(--dark-color);
    margin-bottom: 18px;
}

.chip-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}

/* ---------- Experiencia ---------- */
.experience-section {
    background: var(--white);
}

.timeline {
    position: relative;
    padding-left: 34px;
    max-width: 900px;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 8px;
    top: 8px;
    bottom: 8px;
    width: 2px;
    background: var(--border);
}

.timeline-item {
    position: relative;
    margin-bottom: 34px;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -34px;
    top: 26px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--white);
    border: 3px solid var(--primary-color);
    transition: transform 0.3s var(--ease), background 0.3s ease;
}

.timeline-item:hover::before {
    background: var(--primary-color);
    transform: scale(1.15);
}

.timeline-content {
    background: var(--white);
    border: 1px solid var(--border);
    border-left: 3px solid var(--primary-color);
    padding: 26px 28px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

.timeline-content:hover {
    transform: translateX(6px);
    box-shadow: var(--shadow-md);
}

.timeline-content.alt {
    border-left-color: var(--muted);
}

.badge-role {
    display: inline-block;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.4px;
    text-transform: uppercase;
    color: var(--primary-color);
    background: var(--primary-soft);
    padding: 4px 14px;
    border-radius: 50px;
    margin-bottom: 12px;
}

.badge-role.secondary {
    color: var(--muted);
    background: var(--light-color);
}

.timeline-content h4 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--dark-color);
    margin-bottom: 6px;
}

.timeline-content .date {
    color: var(--muted);
    font-size: 0.88rem;
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.timeline-content > p {
    color: var(--muted);
    font-size: 0.95rem;
}

.timeline-content ul {
    list-style: none;
    padding: 0;
}

.timeline-content ul li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 8px;
    color: var(--muted);
    font-size: 0.94rem;
}

.timeline-content ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 11px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--primary-color);
}

.subproject {
    margin-top: 18px;
    padding: 16px 18px;
    background: var(--light-color);
    border-radius: 10px;
    border-left: 2px solid var(--border);
    transition: border-color 0.3s ease;
}

.subproject:hover {
    border-left-color: var(--primary-color);
}

.subproject h6 {
    font-weight: 600;
    color: var(--dark-color);
    font-size: 0.98rem;
    margin-bottom: 10px;
}

.sub-date {
    display: inline-block;
    font-weight: 400;
    font-size: 0.8rem;
    color: var(--muted);
    margin-left: 6px;
}

.subproject ul li {
    font-size: 0.9rem;
}

/* ---------- Proyectos ---------- */
.projects-section {
    background: var(--light-color);
}

.project-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
    height: 100%;
    display: flex;
    flex-direction: column;
}

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

.project-cover {
    position: relative;
    height: 130px;
    background: var(--dark-color);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.project-cover::after {
    content: attr(data-initials);
    position: absolute;
    right: 14px;
    bottom: -14px;
    font-size: 4.2rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.07);
    letter-spacing: -2px;
    transition: transform 0.45s var(--ease);
}

.project-cover i {
    font-size: 2.6rem;
    color: var(--primary-color);
    position: relative;
    z-index: 1;
    transition: transform 0.45s var(--ease);
}

.project-card:hover .project-cover i {
    transform: scale(1.15) translateY(-4px);
}

.project-card:hover .project-cover::after {
    transform: translateX(-6px);
}

.project-info {
    padding: 24px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.project-info h4 {
    color: var(--dark-color);
    font-weight: 600;
    font-size: 1.15rem;
    margin-bottom: 4px;
}

.project-link {
    font-size: 0.82rem;
    color: var(--primary-color);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 4px;
}

.project-info > p:not(.project-link) {
    color: var(--muted);
    font-size: 0.92rem;
    flex-grow: 1;
    margin-bottom: 0;
}

.project-tags {
    margin-top: 16px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tag {
    display: inline-block;
    background: var(--light-color);
    border: 1px solid var(--border);
    color: var(--muted);
    padding: 4px 13px;
    border-radius: 20px;
    font-size: 0.8rem;
    transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.project-card:hover .tag {
    border-color: var(--primary-soft);
    background: var(--primary-soft);
    color: var(--primary-color);
}

/* ---------- Educación ---------- */
.education-section {
    background: var(--white);
}

.edu-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-top: 3px solid var(--primary-color);
    border-radius: var(--radius);
    padding: 30px 26px;
    height: 100%;
    box-shadow: var(--shadow-sm);
    transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

.edu-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
}

.edu-card i {
    font-size: 1.5rem;
    color: var(--primary-color);
    background: var(--primary-soft);
    width: 52px;
    height: 52px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    margin-bottom: 16px;
}

.edu-card h5 {
    font-weight: 600;
    color: var(--dark-color);
    font-size: 1.08rem;
    margin-bottom: 8px;
}

.edu-place {
    color: var(--muted);
    font-size: 0.92rem;
    margin-bottom: 6px;
}

.edu-card .date {
    color: var(--primary-color);
    font-size: 0.85rem;
    font-weight: 500;
    margin: 0;
}

/* ---------- Footer ---------- */
footer {
    background: var(--dark-color);
    color: #94a3b8;
    padding: 56px 0 24px;
}

footer h4 {
    color: #fff;
    font-weight: 600;
    margin-bottom: 8px;
}

footer p {
    font-size: 0.92rem;
    margin-bottom: 4px;
}

.footer-mail a {
    color: var(--primary-color);
    transition: opacity 0.25s ease;
}

.footer-mail a:hover {
    opacity: 0.8;
}

footer hr {
    border: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    opacity: 1;
    margin: 32px 0 20px;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    background: rgba(255, 255, 255, 0.07);
    color: #fff;
    border-radius: 50%;
    margin: 0 4px;
    font-size: 1.05rem;
    transition: background 0.25s ease, transform 0.3s var(--ease);
}

.social-links a:hover {
    background: var(--primary-color);
    transform: translateY(-4px);
}

/* ---------- Volver arriba ---------- */
.back-to-top {
    position: fixed;
    right: 24px;
    bottom: 24px;
    width: 46px;
    height: 46px;
    border: none;
    border-radius: 50%;
    background: var(--primary-color);
    color: #fff;
    font-size: 1.1rem;
    box-shadow: var(--shadow-md);
    opacity: 0;
    visibility: hidden;
    transform: translateY(14px);
    transition: opacity 0.3s ease, transform 0.3s var(--ease), visibility 0.3s, background 0.25s ease;
    z-index: 1050;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: var(--primary-dark);
}

/* ---------- Responsive ---------- */
@media (max-width: 991px) {
    .navbar {
        padding: 12px 0;
        background: #fff;
    }

    .navbar-collapse {
        padding-top: 12px;
    }

    .nav-link {
        margin: 4px 0;
    }

    .nav-link.nav-cta {
        display: inline-block;
        margin: 10px 0 4px;
    }

    .hero-content h1 {
        font-size: 2.8rem;
    }
}

@media (max-width: 768px) {
    section {
        padding: 70px 0;
    }

    .hero-section {
        padding: 120px 0 90px;
    }

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

    .hero-content .subtitle {
        font-size: 1.2rem;
    }

    .section-title h2 {
        font-size: 1.9rem;
    }

    .timeline {
        padding-left: 26px;
    }

    .timeline-item::before {
        left: -26px;
        width: 14px;
        height: 14px;
    }

    .timeline-content {
        padding: 22px 20px;
    }

    .timeline-content:hover {
        transform: none;
    }

    .scroll-hint {
        display: none;
    }

    .btn-custom {
        padding: 11px 24px;
        font-size: 0.9rem;
    }
}

/* ---------- Accesibilidad: movimiento reducido ---------- */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.001ms !important;
    }

    .reveal {
        opacity: 1;
        transform: none;
    }
}

/* ---------- Impresión ---------- */
@media print {
    .navbar,
    .scroll-progress,
    .back-to-top,
    .scroll-hint,
    .hero-buttons {
        display: none !important;
    }

    .hero-section {
        min-height: auto;
        background: #fff;
        color: #000;
        padding: 20px 0;
    }

    .hero-content,
    .hero-content h1,
    .hero-text,
    .hero-content .subtitle {
        color: #000 !important;
    }

    .reveal {
        opacity: 1 !important;
        transform: none !important;
    }

    section {
        padding: 20px 0;
        page-break-inside: avoid;
    }
}
