/* ============================================
   4D Gestión - Estilos Globales
   ============================================ */

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

html {
    scroll-padding-top: 5rem;
}

body {
    font-family: 'Manrope', sans-serif;
    background-color: #f7f9fb;
    color: #191c1e;
    antialiased: true;
    overflow-x: clip;
}

.serif-text {
    font-family: 'Noto Serif', serif;
}

.material-symbols-outlined {
    font-variation-settings: 'FILL' 0, 'wght' 300, 'GRAD' 0, 'opsz' 24;
    display: inline-block;
}

/* ============================================
   NAVEGACIÓN
   ============================================ */

nav {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 50;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 48px;
    height: 80px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.logo {
    font-size: 24px;
    font-weight: bold;
    letter-spacing: -0.025em;
    color: #1e293b;
    cursor: pointer;
    transition: all 0.3s ease;
}

.logo:hover {
    opacity: 0.8;
}

.nav-links {
    display: none;
    gap: 40px;
}

.nav-links.show {
    display: flex;
}

.nav-link {
    color: #64748b;
    font-weight: 500;
    font-size: 14px;
    transition: all 0.3s ease;
    text-decoration: none;
    padding-bottom: 2px;
}

.nav-link:hover {
    color: #1e293b;
}

.nav-link.active {
    color: #000;
    border-bottom: 2px solid #000;
}

.nav-actions {
    display: flex;
    gap: 24px;
    align-items: center;
}

.login-btn {
    color: #64748b;
    font-weight: 500;
    font-size: 14px;
    padding: 8px 16px;
    background: transparent;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.login-btn:hover {
    color: #1e293b;
}

.start-btn {
    background: #011c3a;
    color: #ffffff;
    padding: 12px 32px;
    border-radius: 9999px;
    font-weight: 600;
    font-size: 14px;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 6px rgba(1, 28, 58, 0.1);
    transition: all 0.3s ease;
}

.start-btn:hover {
    box-shadow: 0 10px 15px rgba(1, 28, 58, 0.2);
}

.start-btn:active {
    transform: scale(0.95);
}

/* ============================================
   MAIN
   ============================================ */

main {
    padding-top: 80px;
}

section {
    position: relative;
}

/* ============================================
   HERO SECTION
   ============================================ */

.hero {
    min-height: 921px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0 48px;
    padding-top: 96px;
    padding-bottom: 96px;
    background: #f7f9fb;
    overflow: hidden;
}

.hero-container {
    max-width: 1344px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.hero-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 40px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 8px 16px;
    border-radius: 9999px;
    background: #eceef0;
    color: #314868;
    font-weight: 500;
    font-size: 14px;
    width: fit-content;
}

.hero-badge::before {
    content: '';
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #011c3a;
}

.hero h1 {
    font-family: 'Noto Serif', serif;
    font-size: 96px;
    font-weight: 900;
    line-height: 1.1;
    letter-spacing: -0.03em;
    color: #011c1e;
    max-width: 500px;
}

.hero h1 .highlight {
    font-style: italic;
    color: #011c3a;
}

.hero p {
    font-size: 18px;
    color: #575f6d;
    line-height: 1.6;
    max-width: 448px;
    font-weight: 300;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    padding-top: 16px;
}

.btn {
    padding: 20px 40px;
    border-radius: 9999px;
    font-weight: 700;
    font-size: 16px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-primary {
    background: #011c3a;
    color: #ffffff;
    box-shadow: 0 10px 16px rgba(1, 28, 58, 0.2);
}

.btn-primary:hover {
    box-shadow: 0 15px 25px rgba(1, 28, 58, 0.3);
}

.btn-primary:active {
    transform: scale(0.95);
}

.btn-secondary {
    background: transparent;
    border: 1px solid rgba(116, 119, 126, 0.2);
    color: #191c1e;
}

.btn-secondary:hover {
    background: #eceef0;
}

.hero-image {
    position: relative;
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 48px;
    box-shadow: 0 20px 25px rgba(0, 0, 0, 0.1);
}

.hero-stats {
    position: absolute;
    bottom: -40px;
    left: -40px;
    background: #ffffff;
    padding: 32px;
    border-radius: 32px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    max-width: 280px;
    display: none;
}

.hero-stats.show {
    display: block;
}

.hero-stats p {
    font-family: 'Noto Serif', serif;
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 8px;
}

.hero-stats span {
    font-size: 12px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #575f6d;
    font-weight: 600;
}

/* ============================================
   TRUSTED BY SECTION
   ============================================ */

.trusted-section {
    padding: 64px 48px;
    background: #f2f4f6;
}

.trusted-container {
    max-width: 1024px;
    margin: 0 auto;
    text-align: center;
}

.trusted-label {
    font-size: 12px;
    font-weight: bold;
    letter-spacing: 0.3em;
    color: #74777e;
    margin-bottom: 40px;
    text-transform: uppercase;
}

.trusted-logos {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 48px;
    align-items: center;
    opacity: 0.4;
    filter: grayscale(100%);
}

.trusted-logo {
    font-family: 'Noto Serif', serif;
    font-size: 24px;
    font-weight: 900;
    font-style: italic;
}

/* ============================================
   SERVICIOS SECTION
   ============================================ */

.servicios {
    padding: 128px 48px;
    background: #f7f9fb;
}

.section-header {
    max-width: 1408px;
    margin: 0 auto;
    margin-bottom: 80px;
    text-align: center;
}

.section-title {
    font-family: 'Noto Serif', serif;
    font-size: 48px;
    font-weight: 900;
    margin-bottom: 24px;
}

.section-description {
    color: #575f6d;
    font-size: 18px;
    max-width: 640px;
    margin: 0 auto;
}

.servicios-grid {
    max-width: 1408px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.servicio-card {
    padding: 48px;
    border-radius: 48px;
    transition: all 0.5s ease;
    cursor: pointer;
}

.servicio-card.card-1 {
    grid-column: span 2;
    background: #ffffff;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.servicio-card.card-1:hover {
    background: #011c3a;
}

.servicio-card.card-1:hover h3,
.servicio-card.card-1:hover p {
    color: #ffffff;
}

.servicio-card.card-2 {
    grid-column: span 2;
    background: #e0e3e5;
    position: relative;
    overflow: hidden;
}

.servicio-card.card-2::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 192px;
    height: 192px;
    background: rgba(1, 28, 58, 0.05);
    border-radius: 50%;
    margin-right: -64px;
    margin-bottom: -64px;
    transition: transform 0.7s ease;
}

.servicio-card.card-2:hover::after {
    transform: scale(1.5);
}

.servicio-card.card-3,
.servicio-card.card-4 {
    background: #f2f4f6;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.servicio-card.card-5 {
    grid-column: span 2;
    background: #011c3a;
    color: #ffffff;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: 0 20px 25px rgba(1, 28, 58, 0.2);
}

.servicio-card h3 {
    font-family: 'Noto Serif', serif;
    font-size: 32px;
    font-weight: bold;
    margin-bottom: 16px;
    margin-top: 32px;
    transition: color 0.3s ease;
}

.servicio-card p {
    font-size: 14px;
    color: #575f6d;
    line-height: 1.6;
    transition: color 0.3s ease;
}

.servicio-icon {
    font-size: 36px;
    margin-bottom: 32px;
    color: #011c3a;
}

.servicio-card.card-5 .servicio-icon {
    color: #ffffff;
}

.servicio-card.card-1:hover .servicio-icon {
    color: #ffffff;
}

.servicio-cta {
    display: flex;
    align-items: center;
    gap: 16px;
    color: #ffffff;
    font-weight: bold;
    margin-top: 32px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.servicio-cta span {
    transition: transform 0.3s ease;
}

.servicio-cta:hover span {
    transform: translateX(8px);
}

/* ============================================
   CARRUSEL Y VIDEOS
   ============================================ */

.carousel-container {
    overflow: hidden;
    position: relative;
}

.carousel-slide {
    transition: opacity 0.3s ease-in-out;
}

.carousel-slide.hidden {
    display: none;
}

.fade-in {
    animation: fadeIn 0.5s ease-in;
}

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

/* ============================================
   EXPERIENCIA SECTION
   ============================================ */

.experiencia {
    padding: 128px 48px;
    background: #f2f4f6;
}

.experiencia-header {
    max-width: 1408px;
    margin: 0 auto;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-end;
    gap: 32px;
    margin-bottom: 64px;
}

.experiencia-header h2 {
    font-family: 'Noto Serif', serif;
    font-size: 48px;
    font-weight: 900;
}

.experiencia-header p {
    color: #575f6d;
    max-width: 640px;
}

.carousel-controls {
    display: flex;
    gap: 16px;
}

.carousel-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 1px solid #c4c6ce;
    background: transparent;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.carousel-btn:hover {
    background: #ffffff;
}

.main-video {
    max-width: 1408px;
    margin: 0 auto;
    border-radius: 48px;
    overflow: hidden;
    background: #000;
    aspect-ratio: 16 / 9;
    box-shadow: 0 20px 25px rgba(0, 0, 0, 0.1);
    margin-bottom: 48px;
    position: relative;
    group: true;
}

.main-video img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.6;
    transition: transform 1s ease;
}

.main-video:hover img {
    transform: scale(1.05);
}

.play-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.play-btn {
    width: 96px;
    height: 96px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(12px);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
}

.play-btn:hover {
    transform: scale(1.1);
}

.play-btn .material-symbols-outlined {
    color: #ffffff;
    font-size: 48px;
}

.video-label {
    position: absolute;
    bottom: 32px;
    left: 32px;
    color: #ffffff;
}

.video-label p {
    font-size: 12px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    font-weight: bold;
    margin-bottom: 8px;
}

.video-label h4 {
    font-family: 'Noto Serif', serif;
    font-size: 30px;
}

.video-thumbnails {
    max-width: 1408px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.thumbnail {
    cursor: pointer;
}

.thumbnail-image {
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: 32px;
    overflow: hidden;
    background: #eceef0;
    position: relative;
    margin-bottom: 16px;
}

.thumbnail-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%);
    transition: all 0.3s ease;
}

.thumbnail:hover .thumbnail-image img {
    filter: grayscale(0%);
}

.thumbnail-overlay {
    position: absolute;
    inset: 0;
    background: rgba(1, 28, 58, 0.2);
    opacity: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.3s ease;
}

.thumbnail:hover .thumbnail-overlay {
    opacity: 1;
}

.play-circle {
    color: #ffffff;
    font-size: 32px;
}

.thumbnail h5 {
    font-family: 'Noto Serif', serif;
    font-weight: bold;
    font-size: 18px;
}

.thumbnail p {
    font-size: 12px;
    color: #575f6d;
}

/* ============================================
   WORKFLOW SECTION
   ============================================ */

.workflow {
    padding: 128px 48px;
    background: #ffffff;
    overflow: hidden;
}

.workflow-container {
    max-width: 1408px;
    margin: 0 auto;
}

.workflow-header {
    text-align: center;
    margin-bottom: 96px;
}

.workflow-header h2 {
    font-family: 'Noto Serif', serif;
    font-size: 48px;
    font-weight: 900;
    margin-bottom: 16px;
}

.workflow-header p {
    color: #575f6d;
    max-width: 560px;
    margin: 0 auto;
}

.workflow-timeline {
    position: relative;
}

.timeline-line {
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 0.5px;
    background: rgba(116, 119, 126, 0.3);
    transform: translateY(-50%);
}

.timeline-stages {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 16px;
    position: relative;
    z-index: 10;
}

.timeline-stage {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.timeline-dot {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #d8dadc;
    margin-bottom: 48px;
    ring: 8px solid #ffffff;
    transition: all 0.3s ease;
    cursor: pointer;
    border: 8px solid #ffffff;
    box-sizing: border-box;
}

.timeline-stage:hover .timeline-dot {
    background: #011c3a;
    transform: scale(1.25);
}

.timeline-stage.active .timeline-dot {
    background: #011c3a;
    transform: scale(1.25);
    box-shadow: 0 0 0 4px rgba(1, 28, 58, 0.1);
}

.timeline-label {
    font-size: 10px;
    font-weight: bold;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #575f6d;
    margin-bottom: 8px;
    text-align: center;
}

.timeline-stage.active .timeline-label {
    color: #011c3a;
}

.timeline-name {
    font-family: 'Noto Serif', serif;
    font-weight: bold;
    font-size: 16px;
    text-align: center;
}

/* ============================================
   TESTIMONIOS SECTION
   ============================================ */

.testimonios {
    padding: 128px 48px;
    background: #e0e3e5;
}

.testimonios-container {
    max-width: 1408px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 64px;
    align-items: start;
}

.testimonios-header {
    position: sticky;
    top: 128px;
}

.testimonios-header h2 {
    font-family: 'Noto Serif', serif;
    font-size: 48px;
    font-weight: 900;
    margin-bottom: 32px;
    line-height: 1.2;
}

.testimonios-header p {
    color: #575f6d;
    margin-bottom: 32px;
    line-height: 1.6;
}

.testimonios-link {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #011c3a;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
}

.testimonios-link:hover {
    transform: translateX(8px);
}

.testimonios-grid {
    display: grid;
    gap: 32px;
}

.testimonial-card {
    background: #ffffff;
    padding: 48px;
    border-radius: 48px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.testimonial-text {
    font-family: 'Noto Serif', serif;
    font-size: 24px;
    font-style: italic;
    line-height: 1.6;
    color: #191c1e;
    margin-bottom: 32px;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 16px;
}

.author-avatar {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    overflow: hidden;
    background: #d8dadc;
}

.author-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.author-info h4 {
    font-weight: bold;
    color: #191c1e;
    margin-bottom: 0;
}

.author-info p {
    font-size: 12px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #575f6d;
    font-weight: 600;
    margin: 0;
}

/* ============================================
   CTA SECTION
   ============================================ */

.cta-section {
    padding: 96px 48px;
    background: #ffffff;
}

.cta-box {
    max-width: 1280px;
    margin: 0 auto;
    background: #011c3a;
    border-radius: 48px;
    padding: 64px 96px;
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 25px rgba(1, 28, 58, 0.2);
}

.cta-box::before,
.cta-box::after {
    content: '';
    position: absolute;
    width: 384px;
    height: 384px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    filter: blur(48px);
}

.cta-box::before {
    top: -96px;
    right: -96px;
}

.cta-box::after {
    bottom: -96px;
    left: -96px;
}

.cta-content {
    position: relative;
    z-index: 10;
}

.cta-box h2 {
    font-family: 'Noto Serif', serif;
    font-size: 48px;
    font-weight: bold;
    color: #ffffff;
    margin-bottom: 40px;
    line-height: 1.2;
}

.cta-box p {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 48px;
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    flex-direction: column;
    gap: 24px;
    align-items: center;
}

@media (min-width: 768px) {
    .cta-buttons {
        flex-direction: row;
        justify-content: center;
    }
}

.cta-btn {
    padding: 20px 48px;
    border-radius: 9999px;
    font-weight: bold;
    font-size: 16px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.cta-btn-primary {
    background: #ffffff;
    color: #011c3a;
}

.cta-btn-primary:hover {
    transform: scale(1.05);
}

.cta-btn-secondary {
    background: #011c3a;
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #ffffff;
}

.cta-btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
}

/* ============================================
   FOOTER
   ============================================ */

footer {
    background: #f1f5f9;
    padding: 64px 48px;
}

footer-content {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    gap: 32px;
    max-width: 1408px;
    margin: 0 auto;
}

@media (min-width: 768px) {
    footer-content {
        flex-direction: row;
    }
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.footer-brand .logo {
    font-size: 24px;
}

.footer-brand p {
    font-size: 12px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #64748b;
}

.footer-links {
    display: flex;
    gap: 48px;
}

.footer-link {
    font-size: 12px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #64748b;
    text-decoration: none;
    cursor: pointer;
    transition: opacity 0.3s ease;
}

.footer-link:hover {
    opacity: 0.8;
    text-decoration: underline;
    text-decoration-color: #94a3b8;
    text-decoration-offset: 4px;
}

/* ============================================
   MODALES
   ============================================ */

.modal {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 50;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
}

.modal-content {
    background: #ffffff;
    border-radius: 48px;
    padding: 32px;
    max-width: 384px;
    width: 100%;
    box-shadow: 0 20px 25px rgba(0, 0, 0, 0.2);
    animation: modalIn 0.3s ease;
}

@keyframes modalIn {
    from {
        opacity: 0;
        transform: scale(0.95) translateY(-20px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.modal-header h3 {
    font-family: 'Noto Serif', serif;
    font-size: 24px;
    font-weight: bold;
}

.modal-close {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    transition: opacity 0.3s ease;
}

.modal-close:hover {
    opacity: 0.6;
}

.modal-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 8px;
}

.form-group input,
.form-group textarea {
    padding: 8px 16px;
    border: 1px solid #c4c6ce;
    border-radius: 8px;
    font-family: inherit;
    font-size: 14px;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #011c3a;
    ring: 2px solid #011c3a;
    box-shadow: 0 0 0 2px rgba(1, 28, 58, 0.1);
}

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

.modal-actions {
    display: flex;
    gap: 12px;
    padding-top: 16px;
}

.modal-actions button {
    flex: 1;
    padding: 8px 16px;
    border-radius: 8px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.modal-actions .cancel {
    background: transparent;
    border: 1px solid #c4c6ce;
}

.modal-actions .cancel:hover {
    background: #eceef0;
}

.modal-actions .submit {
    background: #011c3a;
    color: #ffffff;
}

.modal-actions .submit:hover {
    box-shadow: 0 4px 12px rgba(1, 28, 58, 0.2);
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .hero h1 {
        font-size: 48px;
    }

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

    .servicio-card {
        grid-column: span 1 !important;
    }

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

    .testimonios-container {
        grid-template-columns: 1fr;
    }

    .experiencia-header {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 768px) {
    nav {
        padding: 0 24px;
        height: 64px;
    }

    main {
        padding-top: 64px;
    }

    .nav-links {
        display: none;
    }

    .hero {
        padding: 0 24px;
        padding-top: 48px;
        padding-bottom: 48px;
        min-height: auto;
    }

    .hero-container {
        grid-template-columns: 1fr;
    }

    .hero h1 {
        font-size: 32px;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .btn {
        width: 100%;
    }

    .servicios {
        padding: 64px 24px;
    }

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

    .section-title {
        font-size: 32px;
    }

    .timeline-stages {
        grid-template-columns: repeat(7, 1fr);
        gap: 8px;
    }

    .timeline-label {
        font-size: 8px;
    }

    .timeline-name {
        font-size: 12px;
    }

    .video-thumbnails {
        grid-template-columns: 1fr;
    }

    .cta-box {
        padding: 32px 24px;
    }

    .cta-box h2 {
        font-size: 28px;
    }

    .cta-buttons {
        flex-direction: column;
    }

    .cta-btn {
        width: 100%;
    }
}

@media (max-width: 480px) {
    nav {
        padding: 0 16px;
    }

    .hero {
        padding: 0 16px;
    }

    .hero h1 {
        font-size: 28px;
    }

    .hero p {
        font-size: 14px;
    }

    .servicios {
        padding: 48px 16px;
    }

    .section-title {
        font-size: 24px;
    }

    .section-description {
        font-size: 14px;
    }

    .servicio-card {
        padding: 24px;
    }

    .servicio-card h3 {
        font-size: 20px;
    }

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

    .experiencia {
        padding: 48px 16px;
    }

    .testimonios {
        padding: 48px 16px;
    }

    .testimonios-header h2 {
        font-size: 28px;
    }

    .testimonial-text {
        font-size: 18px;
    }

    .footer-content {
        gap: 16px;
    }

    .footer-links {
        flex-direction: column;
        gap: 12px;
    }
}
