/* =============================================
   Posip Gestión - Estilos CSS3
   HTML5, CSS3, JavaScript puro
   ============================================= */

/* Variables */
:root {
    --blue-50: #eff6ff;
    --blue-100: #dbeafe;
    --blue-200: #bfdbfe;
    --blue-500: #3b82f6;
    --blue-600: #2563eb;
    --blue-700: #1d4ed8;
    --blue-900: #1e3a8a;
    --blue-950: #172554;
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-400: #9ca3af;
    --gray-500: #6b7280;
    --gray-600: #4b5563;
    --gray-700: #374151;
    --gray-900: #111827;
    --gray-950: #030712;
    --green-500: #22c55e;
    --green-600: #16a34a;
    --emerald-50: #ecfdf5;
    --emerald-100: #d1fae5;
    --emerald-600: #059669;
    --orange-50: #fff7ed;
    --orange-100: #ffedd5;
    --orange-600: #ea580c;
    --purple-50: #faf5ff;
    --purple-100: #f3e8ff;
    --purple-600: #9333ea;
    --white: #ffffff;
    --slate-300: #cbd5e1;
    --slate-400: #94a3b8;
    --slate-600: #475569;
    --slate-900: #0f172a;
    --brand-400: #60a5fa;
    --brand-500: #3b82f6;
}

/* Reset y Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--gray-50);
    color: var(--gray-900);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body::selection {
    background-color: var(--blue-100);
    color: var(--blue-900);
}

/* Utilidades */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Gradiente de texto */
.gradient-text {
    background: linear-gradient(135deg, #1e40af 0%, #3b82f6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-gradient {
    background: radial-gradient(circle at top right, rgba(59, 130, 246, 0.1), transparent),
                radial-gradient(circle at bottom left, rgba(30, 64, 175, 0.05), transparent);
}

/* ==================== NAVBAR ==================== */
#navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
    transition: all 0.3s ease;
    background-color: transparent;
    padding: 1.25rem 0;
}

#navbar.navbar-scrolled {
    background-color: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.3);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding: 0.75rem 0;
}

#navbar.navbar-scrolled .navbar-links a {
    color: var(--slate-300);
}

#navbar.navbar-scrolled .navbar-links a:hover {
    color: var(--white);
}

#navbar.navbar-scrolled .navbar-cta {
    background-color: var(--brand-500);
    color: white;
}

#navbar.navbar-scrolled .navbar-cta:hover {
    background-color: var(--brand-400);
}

#navbar.navbar-scrolled .menu-toggle {
    color: var(--white);
}

.navbar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    color: inherit;
}

.navbar-logo-img {
    height: 3rem;
    width: auto;
    object-fit: contain;
}

.navbar-title {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--blue-950);
}

.navbar-title span {
    color: var(--blue-600);
    font-weight: 300;
    font-style: italic;
}

.navbar-links {
    display: none;
}

.navbar-links a {
    color: var(--gray-600);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
}

.navbar-links a:hover {
    color: var(--blue-600);
}

.navbar-cta {
    display: none;
    background-color: var(--blue-600);
    color: white;
    padding: 0.625rem 1.5rem;
    border-radius: 9999px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: all 0.2s;
}

.navbar-cta:hover {
    background-color: var(--blue-700);
}

.menu-toggle {
    display: block;
    background: none;
    border: none;
    color: var(--gray-900);
    cursor: pointer;
}

.menu-toggle:focus {
    outline: none;
}

/* Mobile Menu */
.mobile-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: rgb(226, 232, 240);
    padding: 1.5rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    flex-direction: column;
    gap: 1rem;
    border-top: 1px solid var(--gray-100);
    transition: transform 0.3s ease-in-out;
}

.mobile-menu.mobile-menu-open {
    display: flex;
}

.mobile-menu a {
    font-size: 1.125rem;
    color: var(--gray-700);
    font-weight: 500;
    text-decoration: none;
}

.mobile-menu button {
    background-color: var(--blue-600);
    color: white;
    padding: 0.75rem 1rem;
    border-radius: 0.75rem;
    font-weight: 700;
    border: none;
    cursor: pointer;
}

@media (min-width: 768px) {
    .navbar-links {
        display: flex;
        align-items: center;
        gap: 2rem;
    }
    .navbar-cta {
        display: block;
    }
    .menu-toggle {
        display: none;
    }
}

/* ==================== HERO ==================== */
.hero {
    position: relative;
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    align-items: center;
    padding-top: 6rem;
    padding-bottom: 4rem;
    overflow: hidden;
    background: radial-gradient(circle at top right, rgba(59, 130, 246, 0.08), transparent),
                radial-gradient(circle at bottom left, rgba(30, 64, 175, 0.05), transparent);
}

.hero .container {
    width: 100%;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
}

.hero-content {
    text-align: center;
}

.hero-badge {
    display: inline-block;
    padding: 0.375rem 1rem;
    background-color: var(--blue-50);
    color: var(--blue-700);
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1.5rem;
}

.hero h1 {
    font-size: 2.25rem;
    font-weight: 800;
    color: var(--blue-950);
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.hero-desc {
    font-size: 1.125rem;
    color: var(--gray-600);
    margin-bottom: 2.5rem;
    line-height: 1.625;
    max-width: 42rem;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    justify-content: center;
}

.hero-features {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    margin-top: 2.5rem;
    color: var(--gray-500);
    font-weight: 500;
}

.hero-features-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.hero-features-item i {
    color: var(--green-500);
    width: 1.25rem;
    height: 1.25rem;
}

.hero-image {
    width: 100%;
    border-radius: 0.5rem;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}

.hero-image img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

@media (min-width: 640px) {
    .hero-buttons {
        flex-direction: row;
    }
}

@media (min-width: 768px) {
    .hero h1 {
        font-size: 3rem;
    }
}

@media (min-width: 1024px) {
    .hero {
        padding-top: 8rem;
        padding-bottom: 5rem;
    }
    .hero-grid {
        grid-template-columns: 1fr 1fr;
        gap: 4rem;
    }
    .hero-content {
        text-align: left;
    }
    .hero-desc {
        margin-left: 0;
        margin-right: 0;
    }
    .hero-buttons {
        flex-direction: row;
        justify-content: flex-start;
    }
    .hero-features {
        justify-content: flex-start;
    }
}

/* Botones */
.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    background-color: var(--blue-600);
    color: white;
    border-radius: 0.75rem;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
    font-weight: 700;
    font-size: 1.125rem;
    border: none;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-primary:hover {
    background-color: var(--blue-700);
}

.btn-primary i {
    width: 1.25rem;
    height: 1.25rem;
    transition: transform 0.2s;
}

.btn-primary:hover i {
    transform: translateX(4px);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2rem;
    background-color: white;
    border: 2px solid var(--gray-100);
    color: var(--gray-700);
    border-radius: 0.75rem;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
    font-weight: 700;
    font-size: 1.125rem;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-secondary:hover {
    border-color: var(--blue-600);
    color: var(--blue-600);
}

@media (min-width: 640px) {
    .hero-buttons {
        flex-direction: row;
    }
}

/* ==================== SECCIÓN ¿QUÉ ES? ==================== */
.section-que-es {
    padding: 6rem 0;
    background-color: white;
    position: relative;
    overflow: hidden;
}

.section-que-es .section-inner {
    text-align: center;
    max-width: 56rem;
    margin: 0 auto 5rem auto;
}

.section-que-es h2 {
    font-size: 2.25rem;
    font-weight: 800;
    color: var(--blue-950);
    margin-bottom: 2rem;
    font-style: italic;
}

.section-que-es h2 span {
    color: var(--blue-600);
}

.section-divider {
    width: 6rem;
    height: 0.375rem;
    background-color: var(--blue-600);
    margin: 0 auto 2.5rem auto;
    border-radius: 9999px;
}

.section-que-es .section-desc {
    font-size: 1.25rem;
    color: var(--gray-600);
    line-height: 1.625;
    margin-bottom: 1.5rem;
    font-weight: 500;
}

.section-que-es .section-desc-small {
    font-size: 1.125rem;
    color: var(--gray-500);
    line-height: 1.625;
}

.pillars-grid {
    display: grid;
    gap: 2rem;
}

.pillar-card {
    padding: 2rem;
    border-radius: 2rem;
    border: 1px solid;
    transition: all 0.5s;
    text-align: left;
}

.pillar-card-blue {
    background-color: rgba(239, 246, 255, 0.3);
    border-color: var(--blue-100);
}

.pillar-card-blue:hover {
    background-color: white;
}

.pillar-card-emerald {
    background-color: rgba(236, 253, 245, 0.3);
    border-color: var(--emerald-100);
}

.pillar-card-emerald:hover {
    background-color: white;
}

.pillar-card-orange {
    background-color: rgba(255, 247, 237, 0.3);
    border-color: var(--orange-100);
}

.pillar-card-orange:hover {
    background-color: white;
}

.pillar-card-purple {
    background-color: rgba(250, 245, 255, 0.3);
    border-color: var(--purple-100);
}

.pillar-card-purple:hover {
    background-color: white;
}

.pillar-icon {
    width: 3.5rem;
    height: 3.5rem;
    background-color: white;
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    transition: all 0.3s;
}

.pillar-card-blue .pillar-icon {
    color: var(--blue-600);
}

.pillar-card-blue:hover .pillar-icon {
    background-color: var(--blue-600);
    color: white;
}

.pillar-card-emerald .pillar-icon {
    color: var(--emerald-600);
}

.pillar-card-emerald:hover .pillar-icon {
    background-color: var(--emerald-600);
    color: white;
}

.pillar-card-orange .pillar-icon {
    color: var(--orange-600);
}

.pillar-card-orange:hover .pillar-icon {
    background-color: var(--orange-600);
    color: white;
}

.pillar-card-purple .pillar-icon {
    color: var(--purple-600);
}

.pillar-card-purple:hover .pillar-icon {
    background-color: var(--purple-600);
    color: white;
}

.pillar-icon i {
    width: 1.75rem;
    height: 1.75rem;
}

.pillar-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--blue-950);
    margin-bottom: 0.75rem;
    font-style: italic;
}

.pillar-card p {
    color: var(--gray-500);
    line-height: 1.625;
    font-size: 0.875rem;
}

@media (min-width: 768px) {
    .pillars-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .section-que-es h2 {
        font-size: 3rem;
    }
    .pillars-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* ==================== INDUSTRIAS ==================== */
.section-industrias {
    padding: 6rem 0;
    background-color: white;
    position: relative;
    overflow: hidden;
}

.section-industrias-header {
    text-align: center;
    max-width: 48rem;
    margin: 0 auto 4rem auto;
}

.section-industrias-badge {
    display: inline-block;
    padding: 0.25rem 1rem;
    background-color: var(--blue-100);
    color: var(--blue-700);
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1rem;
}

.section-industrias h2 {
    font-size: 2.25rem;
    font-weight: 800;
    color: var(--blue-950);
    margin-bottom: 1.5rem;
}

.section-industrias-header p {
    color: var(--gray-600);
    font-size: 1.125rem;
}

.industrias-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.industria-card {
    padding: 2rem;
    border-radius: 1rem;
    border: 1px solid var(--gray-100);
    background-color: var(--gray-50);
    transition: all 0.3s;
}

.industria-card:hover {
    background-color: white;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    border-color: var(--blue-100);
}

.industria-image {
    width: 100%;
    aspect-ratio: 16 / 10;
    border-radius: 0.75rem;
    overflow: hidden;
    margin-bottom: 1.5rem;
    background-color: var(--gray-200);
}

.industria-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.industria-card:hover .industria-image img {
    transform: scale(1.03);
}

.industria-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--blue-950);
    margin-bottom: 0.5rem;
}

.industria-card p {
    color: var(--gray-600);
    font-size: 0.95rem;
    line-height: 1.6;
}

@media (min-width: 640px) {
    .industrias-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .section-industrias h2 {
        font-size: 3rem;
    }
    .industrias-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* ==================== MÓDULOS ==================== */
.section-modulos {
    padding: 6rem 0;
    background-color: rgba(249, 250, 251, 0.5);
    position: relative;
    overflow: hidden;
}

.section-modulos-header {
    text-align: center;
    max-width: 48rem;
    margin: 0 auto 4rem auto;
}

.section-modulos-badge {
    display: inline-block;
    padding: 0.25rem 1rem;
    background-color: var(--blue-100);
    color: var(--blue-700);
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1rem;
}

.section-modulos h2 {
    font-size: 2.25rem;
    font-weight: 800;
    color: var(--blue-950);
    margin-bottom: 1.5rem;
}

.section-modulos-header p {
    color: var(--gray-600);
    font-size: 1.125rem;
    font-style: italic;
}

.modules-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

@media (min-width: 640px) {
    .modules-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .section-modulos h2 {
        font-size: 3rem;
    }
    .modules-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.module-card {
    border-radius: 1rem;
    border: 1px solid var(--gray-100);
    background-color: white;
    overflow: hidden;
    transition: all 0.3s ease;
    cursor: pointer;
}

.module-card:hover {
    border-color: var(--blue-200);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.module-card.module-expanded {
    border-color: var(--blue-300);
    box-shadow: 0 8px 24px rgba(59, 130, 246, 0.15);
}

.module-image {
    width: 100%;
    aspect-ratio: 2 / 1;
    overflow: hidden;
    background-color: var(--gray-200);
}

.module-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.module-card:hover .module-image img {
    transform: scale(1.03);
}

.module-header {
    display: flex;
    align-items: center;
    padding: 1.25rem 1.5rem;
}

.module-header span {
    font-weight: 700;
    color: var(--blue-950);
    font-size: 1rem;
}

.module-desc {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease;
}

.module-card.module-expanded .module-desc {
    max-height: 400px;
}

.module-desc p {
    padding: 0 1.5rem 1.5rem 1.5rem;
    margin: 0;
    font-size: 0.9rem;
    color: var(--gray-600);
    line-height: 1.6;
}

.module-card-special {
    background-color: var(--blue-900);
    border-color: var(--blue-700);
}

.module-card-special .module-header span {
    color: white;
}


.module-card-special .module-desc p {
    color: var(--slate-300);
}

/* ==================== TESTIMONIOS CAROUSEL ==================== */
.section-testimonios {
    padding: 6rem 0;
    background-color: rgba(239, 246, 255, 0.5);
}

.section-testimonios-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-testimonios-header h2 {
    font-size: 2.25rem;
    font-weight: 800;
    color: var(--blue-950);
    margin-bottom: 1rem;
}

.section-testimonios-header p {
    color: var(--gray-600);
}

.section-testimonios-header p span {
    color: var(--blue-600);
    font-weight: 600;
}

.testimonials-carousel-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.testimonials-carousel-viewport {
    overflow: hidden;
    width: 100%;
    padding: 1.5rem 1rem;
}

.testimonials-carousel-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.testimonial-card {
    flex: 0 0 50%;
    padding: 3.75rem 2.5rem;
    margin: 0 0.5rem;
    box-sizing: border-box;
    background-color: white;
    border-radius: 0.5rem;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25) !important;
    position: relative;
    min-height: 300px;
}

.testimonial-card p {
    color: var(--gray-600);
    font-size: 1.125rem;
    margin-bottom: 2rem;
    font-style: italic;
}

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

.testimonial-author img {
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 50%;
}

.testimonial-author h5 {
    font-weight: 700;
}

.testimonial-author small {
    font-size: 0.875rem;
    color: var(--gray-500);
}

.testimonials-carousel-btn {
    background-color: white;
    border: 1px solid var(--gray-200);
    color: var(--gray-600);
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
    flex-shrink: 0;
}

.testimonials-carousel-btn:hover {
    background-color: var(--blue-600);
    color: white;
    border-color: var(--blue-600);
}

.testimonials-carousel-btn i {
    width: 1.25rem;
    height: 1.25rem;
}

.testimonials-carousel-dots {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 2rem;
}

.testimonials-carousel-dot {
    width: 0.75rem;
    height: 0.75rem;
    border-radius: 50%;
    background-color: var(--gray-300);
    cursor: pointer;
    transition: background-color 0.2s;
}

.testimonials-carousel-dot.active {
    background-color: var(--blue-600);
    transform: scale(1.1);
}


@media (max-width: 767px) {
    .testimonials-carousel-btn {
        display: none;
    }
}

/* ==================== CONTACTO ==================== */
.section-contacto {
    padding: 6rem 0;
    background-color: white;
}

.contact-wrapper {
    max-width: 64rem;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.contact-card {
    background-color: var(--blue-600);
    border-radius: 0.5rem;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
    display: flex;
    flex-direction: column;
}

.contact-card-schedule {
    background-color: white;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}

.contact-info {
    padding: 3rem;
    color: white;
}

.contact-info h2 {
    font-size: 2.25rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
}

.contact-info > p {
    color: var(--blue-100);
    font-size: 1.125rem;
    margin-bottom: 2.5rem;
}

.contact-features {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-features div {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.contact-features i {
    width: 1.25rem;
    height: 1.25rem;
}

.schedule-intro {
    margin-bottom: 2rem;
}

.schedule-intro h2 {
    font-size: 2.25rem;
    font-weight: 800;
    color: var(--gray-900);
    margin-bottom: 0.75rem;
}

.schedule-intro > p {
    font-size: 1.125rem;
    color: var(--gray-600);
    margin-bottom: 1.5rem;
}

.schedule-features {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem 2rem;
}

.schedule-features div {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.95rem;
    color: var(--gray-700);
}

.schedule-features i {
    width: 1.25rem;
    height: 1.25rem;
    color: var(--green-600);
}

.contact-form-wrap,
.contact-schedule-wrap {
    background-color: white;
    padding: 3rem;
}

.contact-schedule-wrap {
    min-height: 600px;
}

.contact-form-wrap {
    flex: 1;
}

.cal-embed-container {
    width: 100%;
    min-height: 580px;
    height: 630px;
    overflow: auto;
    border-radius: 0.5rem;
}

.schedule-fallback {
    margin-top: 1rem;
    font-size: 0.875rem;
    color: var(--gray-500);
}

.schedule-fallback a {
    color: var(--blue-600);
    font-weight: 600;
}

.form-success {
    display: none;
    height: 100%;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.form-success.visible {
    display: flex;
}

.form-success-icon {
    width: 5rem;
    height: 5rem;
    background-color: var(--blue-100);
    color: var(--green-600);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.form-success-icon i {
    width: 2.5rem;
    height: 2.5rem;
}

.form-success h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 0.5rem;
}

.form-success p {
    color: var(--gray-500);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-form.hidden {
    display: none;
}

.contact-form label {
    display: block;
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--gray-700);
    margin-bottom: 0.5rem;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
    width: 100%;
    padding: 1rem 1.25rem;
    border-radius: 0.75rem;
    border: 1px solid var(--gray-200);
    font-size: 1rem;
    font-family: inherit;
}

.contact-form select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 1.25rem;
    padding-right: 2.75rem;
    cursor: pointer;
}

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

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
    outline: none;
    border-color: var(--blue-600);
}

.contact-form button {
    width: 100%;
    padding: 1.25rem;
    background-color: var(--blue-600);
    color: white;
    font-weight: 800;
    border-radius: 1rem;
    border: none;
    cursor: pointer;
    transition: all 0.2s;
}

.contact-form button:hover {
    background-color: var(--blue-700);
}

@media (min-width: 768px) {
    .contact-card {
        flex-direction: row;
    }
    .contact-info {
        width: 42%;
        min-width: 280px;
    }
    .contact-form-wrap {
        width: 58%;
        flex: 1;
    }
    .contact-card-schedule .contact-schedule-wrap {
        width: 100%;
    }
}

/* ==================== EMPRESAS QUE CONFÍAN (LOGO MARQUEE) ==================== */
.section-padding { padding: 4rem 0; }
.bg-light { background-color: var(--gray-100); }

.logos-container {
    text-align: center;
    margin-bottom: 2rem;
    overflow: hidden;
}

.logos-container p {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--slate-600);
    text-transform: uppercase;
    margin-bottom: 2rem;
}

.logo-marquee {
    position: relative;
    width: 100%;
    overflow: hidden;
    padding: 1rem 0;
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.logo-track {
    display: flex;
    align-items: center;
    gap: 4rem;
    width: max-content;
    animation: scroll-logos 40s linear infinite;
    padding-left: 2rem;
}

.logo-track:hover {
    animation-play-state: paused;
}

.client-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 700;
    color: var(--slate-600);
    font-size: 1.25rem;
    white-space: nowrap;
    transition: all 0.3s;
    opacity: 0.7;
}

.client-logo:hover {
    color: var(--blue-600);
    opacity: 1;
    transform: scale(1.05);
}

@keyframes scroll-logos {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ==================== FOOTER ==================== */
footer {
    background-color: var(--slate-900);
    color: var(--slate-300);
    padding: 4rem 0 0 0;
}

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

.footer-col h4 {
    color: white;
    margin-bottom: 1.5rem;
    font-size: 1rem;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 0.75rem;
    display: flex;
    gap: 0.75rem;
    align-items: center;
}

.footer-col a {
    color: var(--slate-400);
    text-decoration: none;
    transition: color 0.2s;
    font-size: 0.9rem;
}

.footer-col a:hover {
    color: white;
}

footer .logo-img {
    height: 2rem;
    width: auto;
}

.socials {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.socials i {
    width: 1.25rem;
    height: 1.25rem;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 2rem 0;
    text-align: center;
    font-size: 0.875rem;
    color: var(--slate-600);
}

@media (min-width: 768px) {
    .footer-grid {
        grid-template-columns: 2fr 1fr 1fr 1.5fr;
    }
}

/* Utilidad hidden */
.hidden {
    display: none !important;
}
