/* ============================================
   UNITY HCM - Components CSS
   Botones, Cards, Formularios y Componentes UI
   ============================================ */

/* ===== BOTONES ===== */
.btn-primary {
    display: inline-block;
    min-width: 140px;
    border-radius: 9999px;
    background-color: rgb(var(--navy-dark));
    padding: 0.75rem 1rem;
    text-align: center;
    font-size: 0.8125rem;
    line-height: 1.25rem;
    font-weight: 600;
    text-transform: uppercase;
    color: rgb(var(--text-white));
    transition: all var(--transition-normal);
    cursor: pointer;
    border: none;
    white-space: nowrap;
}

.btn-primary:hover {
    transform: scale(1.05);
    opacity: 0.9;
}

.btn-outline {
    display: inline-block;
    border-radius: 0.25rem;
    border-width: 1.5px;
    border-color: rgba(255, 255, 255, 0.75);
    background-color: transparent;
    padding: 0.75rem 1.5rem;
    text-align: center;
    font-size: 1.125rem;
    line-height: 1.6;
    font-weight: 600;
    color: rgb(var(--text-white));
    transition: all var(--transition-normal);
    cursor: pointer;
}

.btn-outline:hover {
    background-color: rgb(var(--bg-white));
    color: rgb(var(--navy-dark));
}

.btn-secondary {
    display: inline-block;
    border-radius: 0.25rem;
    border-width: 1px;
    border-color: rgb(var(--text-white));
    background-color: transparent;
    padding: 0.5rem 1rem;
    text-align: center;
    font-size: 0.75rem;
    line-height: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    color: rgb(var(--text-white));
    transition: all var(--transition-normal);
    cursor: pointer;
}

.btn-secondary:hover {
    background-color: rgb(var(--bg-white));
    color: rgb(var(--navy-dark));
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
}

/* Mejorar contraste de botones en secciones CTA */
.cta-content .btn-secondary {
    background-color: rgba(255, 255, 255, 0.95);
    color: rgb(var(--navy-dark));
    border-color: rgba(255, 255, 255, 0.95);
    font-weight: 700;
    padding: 0.75rem 1.5rem;
    font-size: 0.875rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.3), 0 2px 4px -2px rgba(0, 0, 0, 0.2);
    text-shadow: none;
}

.cta-content .btn-secondary:hover {
    background-color: rgb(var(--bg-white));
    color: rgb(var(--navy-dark));
    transform: translateY(-2px);
    box-shadow: 0 8px 12px -2px rgba(0, 0, 0, 0.4), 0 4px 6px -2px rgba(0, 0, 0, 0.3);
}

/* ===== CARDS ===== */
.card {
    background-color: rgb(var(--bg-white));
    border-radius: 0.25rem;
    padding: 1.5rem;
    padding-bottom: 1.75rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
    transition: box-shadow var(--transition-normal);
    overflow-x: hidden;
    overflow-y: visible;
    word-wrap: break-word;
    overflow-wrap: break-word;
    min-height: fit-content;
}

.card:hover {
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
}

.card-feature {
    background-color: rgb(var(--bg-white));
    padding: 1.5rem;
    border-radius: 0.25rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
    transition: all var(--transition-normal);
}

.card-feature:hover {
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
}

/* ===== FORMULARIOS ===== */
.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    color: rgb(var(--navy-dark));
    margin-bottom: 0.5rem;
}

.form-input,
.form-textarea,
.form-select {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid #d1d5db;
    border-radius: 0.25rem;
    font-size: 1rem;
    line-height: 1.5rem;
    color: rgb(var(--text-dark));
    transition: all var(--transition-normal);
    font-family: inherit;
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
    outline: none;
    border-color: rgb(var(--navy-primary));
    box-shadow: 0 0 0 2px rgba(var(--navy-primary), 0.2);
}

.form-textarea {
    resize: vertical;
    min-height: 120px;
}

.form-select {
    background-color: rgb(var(--bg-white));
    cursor: pointer;
}

.form-help-text {
    font-size: 0.75rem;
    color: rgb(var(--text-gray));
    margin-top: 0.25rem;
}

/* Form container styles */
#apply {
    scroll-margin-top: 6rem;
}

#apply > div {
    background-color: rgb(var(--bg-white));
    border-radius: 0.5rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
    padding: 2.5rem;
    margin-top: 3rem;
}

#apply h3 {
    color: rgb(var(--navy-dark));
    font-weight: 700;
    font-size: 1.5rem;
    line-height: 1.4;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid rgba(var(--blue-secondary), 0.2);
}

@media (min-width: 768px) {
    #apply h3 {
        font-size: 1.75rem;
    }
}

#apply form {
    margin-top: 1.5rem;
}

#apply .form-group:last-of-type {
    margin-bottom: 0;
}

/* ===== HEADER ===== */
.site-header {
    background-color: rgb(var(--bg-white));
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    width: 100%;
    box-sizing: border-box;
    overflow-y: hidden;
    overflow-x: hidden;
    max-height: 100vh;
}

.site-header nav {
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
    width: 100%;
    box-sizing: border-box;
    overflow-y: hidden;
    overflow-x: hidden;
}

/* Container-custom dentro del header no debe causar overflow */
.site-header .container-custom {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box;
    padding-left: 0.5rem !important;
    padding-right: 0.5rem !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
}

@media (min-width: 640px) {
    .site-header .container-custom {
        padding-left: 0.75rem !important;
        padding-right: 0.75rem !important;
    }
}

@media (min-width: 1024px) {
    .site-header .container-custom {
        padding-left: 1rem !important;
        padding-right: 1rem !important;
    }
}

@media (min-width: 1280px) {
    .site-header .container-custom {
        padding-left: 1.25rem !important;
        padding-right: 1.25rem !important;
    }
}

.site-header nav > div {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    gap: 0.375rem;
    box-sizing: border-box;
    flex-wrap: nowrap;
    min-width: 0;
    overflow-y: hidden;
    overflow-x: hidden;
}

@media (min-width: 1280px) {
    .site-header nav > div {
        gap: 0.5rem;
    }
}

/* Forzar que los elementos flex no excedan el ancho disponible */
.site-header nav > div > * {
    min-width: 0;
}

/* Logo responsive mejorado */
.site-header .flex-shrink-0 {
    flex-shrink: 0;
    min-width: 0;
}

/* Logo container - permitir que se vea completo */
.site-header .flex-shrink-0 > a > div {
    max-width: 100% !important;
    overflow: visible !important;
}

/* Limitar tamaño del logo en desktop para evitar overflow, pero permitir que se vea completo */
/* La imagen tiene relación de aspecto 976x244 (aproximadamente 4:1) */
@media (min-width: 1024px) {
    .site-header .flex-shrink-0 > a > div {
        width: min(240px, 16vw) !important;
        max-width: min(240px, 16vw) !important;
        min-width: 200px !important;
        height: auto !important;
        aspect-ratio: 976 / 244 !important; /* Relación de aspecto real del logo */
    }
}

@media (min-width: 1280px) {
    .site-header .flex-shrink-0 > a > div {
        width: min(300px, 18vw) !important;
        max-width: min(300px, 18vw) !important;
        min-width: 260px !important;
        height: auto !important;
        aspect-ratio: 976 / 244 !important;
    }
}

@media (min-width: 1400px) {
    .site-header .flex-shrink-0 > a > div {
        width: 350px !important;
        max-width: 350px !important;
        min-width: 300px !important;
        height: auto !important;
        aspect-ratio: 976 / 244 !important;
    }
}

.site-header img[alt*="Logo"] {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
    object-position: left center;
}

/* Desktop Navigation Container */
.site-header .hidden.lg\\:flex {
    flex-shrink: 1;
    min-width: 0;
    box-sizing: border-box;
}

/* Reducir márgenes en desktop navigation */
@media (min-width: 1024px) {
    .site-header .hidden.lg\\:flex[class*="ml-"] {
        margin-left: 1.5rem !important;
    }
    
    .site-header .hidden.lg\\:flex[class*="gap-x-"] {
        gap: 1.5rem !important;
    }
}

@media (min-width: 1280px) {
    .site-header .hidden.lg\\:flex[class*="ml-"] {
        margin-left: 2rem !important;
    }
    
    .site-header .hidden.lg\\:flex[class*="gap-x-"] {
        gap: 2rem !important;
    }
}

/* Desktop CTA Buttons Container */
.site-header .hidden.lg\\:flex.lg\\:gap-x-3 {
    flex-shrink: 0;
    min-width: 0;
    box-sizing: border-box;
    gap: 1.5rem !important;
}

/* Reducir márgenes en CTA buttons */
@media (min-width: 1024px) {
    .site-header .hidden.lg\\:flex.lg\\:gap-x-3[class*="ml-"] {
        margin-left: 6rem !important;
    }
}

@media (min-width: 1280px) {
    .site-header .hidden.lg\\:flex.lg\\:gap-x-3 {
        gap: 2rem !important;
    }
    
    .site-header .hidden.lg\\:flex.lg\\:gap-x-3[class*="ml-"] {
        margin-left: 8rem !important;
    }
}

/* Asegurar que los botones dentro del header no causen overflow */
.site-header .btn-primary {
    white-space: nowrap;
    font-size: 0.7rem;
    padding: 0.45rem 0.625rem;
    min-width: auto;
    box-sizing: border-box;
    flex-shrink: 1;
}

/* En pantallas más grandes, permitir tamaño completo de botones */
@media (min-width: 1280px) {
    .site-header .btn-primary {
        font-size: 0.75rem;
        padding: 0.5rem 0.75rem;
    }
}

@media (min-width: 1400px) {
    .site-header .btn-primary {
        font-size: 0.8125rem;
        padding: 0.5rem 0.875rem;
    }
    
    .site-header .hidden.lg\\:flex.lg\\:gap-x-3[class*="ml-"] {
        margin-left: 9rem !important;
    }
}

/* Asegurar que los enlaces de navegación no causen overflow */
.site-header nav a:not(.btn-primary) {
    white-space: nowrap;
    max-width: 100%;
    font-size: 0.875rem;
}

@media (min-width: 1280px) {
    .site-header nav a:not(.btn-primary) {
        font-size: 1rem;
    }
}

@media (min-width: 768px) {
    .site-header nav {
        padding-top: 1rem;
        padding-bottom: 1rem;
    }
}

/* ===== SERVICES DROPDOWN ===== */
.services-dropdown {
    position: relative;
}

.services-dropdown > a {
    cursor: pointer;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    margin-top: 0.5rem;
    min-width: 220px;
    max-width: calc(100vw - 2rem);
    background-color: rgb(var(--bg-white));
    border-radius: 0.375rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all var(--transition-normal);
    z-index: 1000;
    padding: 0.5rem 0;
    box-sizing: border-box;
    overflow-x: hidden;
}

.services-dropdown:hover .dropdown-menu,
.services-dropdown.active .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.services-dropdown:hover .dropdown-arrow,
.services-dropdown.active .dropdown-arrow {
    transform: rotate(180deg);
}

.dropdown-arrow {
    transition: transform var(--transition-normal);
}

.dropdown-item {
    display: block;
    padding: 0.625rem 1rem;
    color: rgb(var(--text-gray));
    font-size: 0.875rem;
    font-weight: 500;
    text-decoration: none;
    transition: all var(--transition-fast);
}

.dropdown-item:hover {
    background-color: rgba(var(--blue-secondary), 0.1);
    color: rgb(var(--blue-secondary));
    padding-left: 1.25rem;
}

.dropdown-item:first-child {
    border-top-left-radius: 0.375rem;
    border-top-right-radius: 0.375rem;
}

.dropdown-item:last-child {
    border-bottom-left-radius: 0.375rem;
    border-bottom-right-radius: 0.375rem;
}

/* ===== KNOWLEDGE LINK TOOLTIP ===== */
.knowledge-link-wrapper {
    cursor: not-allowed;
}

.knowledge-link-wrapper::before {
    content: attr(data-tooltip);
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(-8px);
    padding: 0.5rem 0.75rem;
    background-color: rgb(var(--navy-dark));
    color: rgb(var(--text-white));
    font-size: 0.75rem;
    font-weight: 500;
    white-space: nowrap;
    border-radius: 0.375rem;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity var(--transition-fast), transform var(--transition-fast), visibility var(--transition-fast);
    z-index: 50;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
}

.knowledge-link-wrapper::after {
    content: '';
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(-2px);
    width: 0;
    height: 0;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-top: 6px solid rgb(var(--navy-dark));
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity var(--transition-fast), transform var(--transition-fast), visibility var(--transition-fast);
    z-index: 50;
}

.knowledge-link-wrapper:hover::before,
.knowledge-link-wrapper:hover::after {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

/* ===== MOBILE MENU - REDISEÑADO ===== */
.mobile-menu-btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.75rem;
    display: none; /* Oculto por defecto, se mostrará solo en móvil */
    align-items: center;
    justify-content: center;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
    user-select: none;
    z-index: 101;
    position: relative;
    width: 48px;
    height: 48px;
    margin-left: 0.5rem;
    flex-shrink: 0;
}

/* Mostrar el botón hamburguesa solo en pantallas menores a lg (1024px) */
@media (max-width: 1023px) {
    .mobile-menu-btn {
        display: flex;
    }
}

.mobile-menu-icon {
    width: 24px;
    height: 18px;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.mobile-menu-icon span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: rgb(var(--navy-primary));
    border-radius: 2px;
    transition: all 0.3s ease;
    transform-origin: center;
}

.mobile-menu-btn.active .mobile-menu-icon span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.mobile-menu-btn.active .mobile-menu-icon span:nth-child(2) {
    opacity: 0;
    transform: scale(0);
}

.mobile-menu-btn.active .mobile-menu-icon span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* Mobile Menu Overlay - Pantalla completa */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.6);
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    will-change: opacity, visibility;
}

.mobile-menu-overlay.active {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    display: block !important;
}

.mobile-menu-content {
    position: fixed;
    top: 0;
    right: 0;
    width: 85%;
    max-width: 400px;
    height: 100vh;
    height: 100dvh; /* Dynamic viewport height para móviles */
    background-color: rgb(var(--bg-white));
    box-shadow: -4px 0 20px rgba(0, 0, 0, 0.2);
    transform: translateX(100%);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    overflow-y: auto;
    overflow-x: hidden;
    z-index: 10000;
    -webkit-overflow-scrolling: touch;
    display: flex;
    flex-direction: column;
    will-change: transform;
}

.mobile-menu-overlay.active .mobile-menu-content {
    transform: translateX(0) !important;
}

.mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.mobile-menu-close {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    color: rgb(var(--navy-primary));
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    transition: background-color 0.2s;
}

.mobile-menu-close:hover {
    background-color: rgba(0, 0, 0, 0.05);
}

.mobile-nav {
    padding: 1rem 0;
    display: flex;
    flex-direction: column;
    gap: 0;
    flex: 1;
}

.mobile-nav-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem 1.5rem;
    font-size: 1.125rem;
    font-weight: 600;
    color: rgb(var(--navy-primary));
    text-decoration: none;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    transition: background-color 0.2s ease, color 0.2s ease;
}

.mobile-nav-link span:first-child {
    flex: 1;
}

.mobile-nav-link:active,
.mobile-nav-link:hover {
    background-color: rgba(var(--navy-primary), 0.05);
    color: rgb(var(--blue-secondary));
}

.mobile-nav-link.disabled {
    color: rgb(var(--text-gray));
    cursor: not-allowed;
    pointer-events: none;
}

.mobile-nav-buttons {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    border-top: 2px solid rgba(0, 0, 0, 0.1);
    background-color: rgba(0, 0, 0, 0.02);
}

/* Prevenir scroll del body cuando el menú está abierto */
body.menu-open {
    overflow: hidden;
    position: fixed;
    width: 100%;
    height: 100%;
    touch-action: none;
}

/* Mejorar el header en móvil */
@media (max-width: 1023px) {
    .site-header nav {
        padding-top: 0.75rem;
        padding-bottom: 0.75rem;
    }
    
    .site-header nav > div {
        gap: 0.5rem;
    }
}

/* ===== FOOTER ===== */
.site-footer {
    background-color: rgb(var(--footer-dark));
    color: rgb(var(--footer-light));
}

/* Footer Grid Layout */
.footer-grid {
    display: grid;
    grid-template-columns: repeat(1, minmax(0, 1fr));
    gap: 2rem;
}

@media (min-width: 768px) {
    .footer-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 2rem;
    }
}

@media (min-width: 1024px) {
    .footer-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 2rem;
    }
}

@media (min-width: 1280px) {
    .footer-grid {
        gap: 3rem;
    }
}

/* ===== HERO SECTION ===== */
/* Compensar altura del header fixed - Aplicar a todas las hero sections que son primera en main */
main > .hero-section:first-child {
    margin-top: 80px;
}

@media (min-width: 768px) {
    main > .hero-section:first-child {
        margin-top: 120px;
    }
}

.hero-section {
    position: relative;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow-x: hidden;
    overflow-y: visible;
    margin-bottom: 0;
    padding-top: 2rem;
    padding-bottom: 2.5rem;
    background: linear-gradient(135deg, rgb(var(--navy-primary)) 0%, rgb(var(--navy-dark)) 100%);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-section.text-white {
    color: #ffffff;
}

.hero-section.text-white * {
    color: #ffffff;
}

@media (min-width: 640px) {
    .hero-section {
        min-height: 550px;
        padding-top: 3rem;
        padding-bottom: 3rem;
    }
}

@media (min-width: 768px) {
    .hero-section {
        min-height: 600px;
        margin-bottom: 0;
        padding-top: 4rem;
        padding-bottom: 3.5rem;
    }
}

@media (min-width: 1024px) {
    .hero-section {
        min-height: 650px;
        padding-top: 5rem;
        padding-bottom: 4rem;
    }
}

/* Hero Section Compact - Para páginas con menos contenido */
.hero-section-compact {
    min-height: 280px;
    padding-top: 2rem;
    padding-bottom: 2.5rem;
    margin-bottom: 0;
}

@media (min-width: 640px) {
    .hero-section-compact {
        min-height: 300px;
        padding-top: 3rem;
        padding-bottom: 3rem;
    }
}

@media (min-width: 768px) {
    .hero-section-compact {
        min-height: 400px;
        padding-top: 4rem;
        padding-bottom: 4rem;
    }
}

@media (min-width: 1024px) {
    .hero-section-compact {
        min-height: 450px;
        padding-top: 5rem;
        padding-bottom: 4.5rem;
    }
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.25);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    color: #ffffff;
    width: 100%;
    max-width: 100%;
    padding: 0;
    overflow-x: hidden;
    overflow-y: visible;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

@media (min-width: 640px) {
    .hero-content {
        padding: 0 1rem;
    }
}

/* Asegurar que el container-custom dentro de hero-content tenga padding adecuado */
.hero-content.container-custom {
    padding-left: 1.25rem;
    padding-right: 1.25rem;
}

@media (min-width: 640px) {
    .hero-content.container-custom {
        padding-left: 2rem;
        padding-right: 2rem;
    }
}

@media (min-width: 768px) {
    .hero-content.container-custom {
        padding-left: 3rem;
        padding-right: 3rem;
    }
}

@media (min-width: 1024px) {
    .hero-content.container-custom {
        padding-left: 4rem;
        padding-right: 4rem;
    }
    
    /* Padding superior adicional para hero-section-compact en desktop */
    .hero-section-compact .hero-content {
        padding-top: 2rem;
    }
}

/* Espaciado uniforme después de las hero sections */
.hero-section + section,
.hero-section-compact + section {
    margin-top: 0;
}

/* Asegurar que las secciones después de hero sections tengan padding-top uniforme */
.hero-section + .section-spacing,
.hero-section-compact + .section-spacing {
    padding-top: 3rem;
}

@media (min-width: 768px) {
    .hero-section + .section-spacing,
    .hero-section-compact + .section-spacing {
        padding-top: 4rem;
    }
}

@media (min-width: 1024px) {
    .hero-section + .section-spacing,
    .hero-section-compact + .section-spacing {
        padding-top: 4.5rem;
    }
}

.hero-section-with-slider .hero-content {
    position: relative;
    z-index: 10;
    width: 100%;
    max-width: 100%;
}

.hero-content h1,
.hero-title-white {
    color: #ffffff !important;
    text-shadow: 0 4px 30px rgba(0, 0, 0, 1), 0 3px 15px rgba(0, 0, 0, 0.9), 0 2px 8px rgba(0, 0, 0, 0.7), 0 1px 4px rgba(0, 0, 0, 0.5);
    font-weight: 700;
    letter-spacing: -0.02em;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.8));
    line-height: 1.3;
    padding: 0;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
    word-wrap: normal;
    overflow-wrap: normal;
    hyphens: none;
    word-break: normal;
}

@media (min-width: 640px) {
    .hero-content h1,
    .hero-title-white {
        padding: 0 1rem;
        line-height: 1.25;
    }
}

@media (min-width: 768px) {
    .hero-content h1,
    .hero-title-white {
        padding: 0;
        line-height: 1.3;
        max-width: 900px;
    }
}

@media (min-width: 1024px) {
    .hero-content h1,
    .hero-title-white {
        line-height: 1.35;
        max-width: 1000px;
    }
}

.hero-content p,
.hero-text-white {
    color: #ffffff !important;
    text-shadow: 0 3px 25px rgba(0, 0, 0, 1), 0 2px 12px rgba(0, 0, 0, 0.8), 0 1px 6px rgba(0, 0, 0, 0.6);
    font-weight: 500;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    filter: drop-shadow(0 1px 3px rgba(0, 0, 0, 0.7));
    word-wrap: normal;
    overflow-wrap: normal;
    hyphens: none;
    word-break: normal;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.3);
    z-index: 1;
}

.hero-buttons {
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 0;
    overflow-x: hidden;
    overflow-y: visible;
}

@media (min-width: 640px) {
    .hero-buttons {
        flex-direction: row;
    }
}

/* Botones en Hero Section con mejor contraste */
.hero-buttons .btn-outline {
    background-color: rgb(var(--bg-white));
    color: rgb(var(--navy-dark));
    border-color: rgb(var(--bg-white));
    border-width: 2px;
    font-weight: 700;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.2), 0 2px 4px -2px rgba(0, 0, 0, 0.15);
}

.hero-buttons .btn-outline:hover {
    background-color: rgba(255, 255, 255, 0.95);
    color: rgb(var(--navy-dark));
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.3), 0 4px 6px -4px rgba(0, 0, 0, 0.2);
}

/* ===== HERO SLIDER ===== */
.hero-section-with-slider {
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-slider {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    margin: 0;
    padding: 0;
    pointer-events: none;
    display: block;
}

.hero-slider > * {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
    z-index: 0;
    visibility: hidden;
    pointer-events: none;
    display: block;
}

.hero-slide.active {
    opacity: 1;
    z-index: 1;
    visibility: visible;
}

.hero-slide picture {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    display: block;
}

.hero-slide img {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100% !important;
    height: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    object-fit: cover;
    object-position: center;
    display: block !important;
    border: none;
    max-width: none !important;
    max-height: none !important;
    float: none !important;
    clear: both !important;
}

/* Asegurar que en móvil todo esté correctamente posicionado */
@media (max-width: 767px) {
    .hero-section-with-slider {
        flex-direction: column;
    }
    
    .hero-slider {
        display: block !important;
    }
    
    .hero-slide {
        display: block !important;
        float: none !important;
        clear: both !important;
    }
    
    .hero-slide picture {
        display: block !important;
        float: none !important;
    }
    
    .hero-slide img {
        display: block !important;
        float: none !important;
        clear: both !important;
    }
    
    .hero-content {
        position: relative !important;
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 auto !important;
        padding: 0 1rem !important;
    }
}

/* Slider Navigation Dots */
.hero-slider-dots {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.75rem;
    z-index: 20;
    align-items: center;
    justify-content: center;
}

.hero-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.7);
    background-color: transparent;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
    outline: none;
}

.hero-dot:hover {
    background-color: rgba(255, 255, 255, 0.5);
    border-color: rgba(255, 255, 255, 0.9);
    transform: scale(1.2);
}

.hero-dot.active {
    background-color: rgb(var(--bg-white));
    border-color: rgb(var(--bg-white));
    width: 14px;
    height: 14px;
}

@media (min-width: 768px) {
    .hero-slider-dots {
        bottom: 2.5rem;
    }
    
    .hero-dot {
        width: 14px;
        height: 14px;
    }
    
    .hero-dot.active {
        width: 16px;
        height: 16px;
    }
}

/* ===== SERVICE CARDS ===== */
.service-card {
    height: 100%;
    padding: 1.25rem;
    padding-bottom: 1.5rem;
    border-radius: 0.5rem;
    background-color: rgb(var(--bg-white));
    transition: all var(--transition-normal);
    box-shadow: 0 2px 4px -1px rgba(0, 0, 0, 0.06), 0 1px 2px -1px rgba(0, 0, 0, 0.04);
    border: 1px solid #e5e7eb;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
    overflow-y: visible;
    word-wrap: break-word;
    overflow-wrap: break-word;
    min-height: fit-content;
}

.service-card:hover {
    background-color: #f9fafb;
    box-shadow: 0 8px 12px -2px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    border-color: rgb(var(--blue-secondary));
    transform: translateY(-2px);
}

/* ===== SERVICE DETAIL SECTIONS ===== */
.service-detail-section {
    padding: 4rem 0;
    border-bottom: 1px solid #e5e7eb;
}

.service-detail-section:last-child {
    border-bottom: none;
}

.service-detail-section h2 {
    color: rgb(var(--navy-dark));
    font-weight: 700;
    margin-bottom: 0;
    line-height: 1.2;
}

.service-detail-section p {
    color: rgb(var(--text-gray));
    line-height: 1.7;
    margin-bottom: 0;
}

.service-detail-section ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.service-detail-section li {
    color: rgb(var(--text-gray));
    margin-bottom: 0;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    line-height: 1.6;
}

.service-detail-section li strong {
    display: block;
    margin-bottom: 0.25rem;
    color: rgb(var(--navy-dark));
    font-weight: 600;
}

.service-detail-section li svg {
    color: rgb(var(--blue-secondary));
    flex-shrink: 0;
    margin-top: 0.125rem;
}

.service-info-box {
    background-color: #f9fafb;
    padding: 2rem;
    border-radius: 0.5rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
    height: 100%;
    transition: all var(--transition-normal);
}

.service-info-box:hover {
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.service-info-box h3 {
    color: rgb(var(--navy-dark));
    font-weight: 600;
    margin-bottom: 1rem;
    font-size: 1.25rem;
    line-height: 1.4;
}

.service-info-box p {
    color: rgb(var(--text-gray));
    font-size: 0.875rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

/* Estilos para imágenes de servicios */
.service-detail-section img,
[id^="payroll"] img,
[id^="compliance"] img,
[id^="benefits"] img,
[id^="recruiting"] img,
[id^="relations"] img,
[id^="dedicated"] img {
    width: 128px;
    height: 128px;
    object-fit: contain;
    display: block;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.service-detail-section .relative,
[id^="payroll"] .relative,
[id^="compliance"] .relative,
[id^="benefits"] .relative,
[id^="recruiting"] .relative,
[id^="relations"] .relative,
[id^="dedicated"] .relative {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 128px;
}

@media (min-width: 1024px) {
    .service-detail-section .relative,
    [id^="payroll"] .relative,
    [id^="compliance"] .relative,
    [id^="benefits"] .relative,
    [id^="recruiting"] .relative,
    [id^="relations"] .relative,
    [id^="dedicated"] .relative {
        justify-content: flex-start;
    }
}

/* Mejorar espaciado de secciones de servicios */
#payroll,
#compliance,
#benefits,
#recruiting,
#relations,
#dedicated {
    padding: 2rem 0;
    min-height: 400px;
}

#payroll h2,
#compliance h2,
#benefits h2,
#recruiting h2,
#relations h2,
#dedicated h2 {
    font-size: 2rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: rgb(var(--navy-dark));
}

#payroll p,
#compliance p,
#benefits p,
#recruiting p,
#relations p,
#dedicated p {
    color: rgb(var(--text-gray));
    font-size: 1rem;
    line-height: 1.7;
}

#payroll ul,
#compliance ul,
#benefits ul,
#recruiting ul,
#relations ul,
#dedicated ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

#payroll li,
#compliance li,
#benefits li,
#recruiting li,
#relations li,
#dedicated li {
    color: rgb(var(--text-gray));
    font-size: 0.875rem;
    line-height: 1.6;
    margin-bottom: 0.75rem;
}

#payroll li span,
#compliance li span,
#benefits li span,
#recruiting li span,
#relations li span,
#dedicated li span {
    color: rgb(var(--text-gray));
}

@media (min-width: 768px) {
    #payroll h2,
    #compliance h2,
    #benefits h2,
    #recruiting h2,
    #relations h2,
    #dedicated h2 {
        font-size: 2.25rem;
    }
}

.service-card h3 {
    font-size: 1.125rem;
    font-weight: 700;
    color: rgb(var(--navy-dark));
    margin-bottom: 0.5rem;
    line-height: 1.4;
    transition: color var(--transition-normal);
}

.service-card:hover h3 {
    color: rgb(var(--blue-secondary));
}

.service-card p {
    font-size: 0.875rem;
    line-height: 1.5;
    margin-bottom: 0;
}

.service-icon {
    width: 3.5rem;
    height: 3.5rem;
    margin-bottom: 0.75rem;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(var(--blue-secondary), 0.1);
    border-radius: 0.5rem;
    padding: 0.75rem;
}

.service-icon svg {
    width: 100%;
    height: 100%;
    color: rgb(var(--blue-secondary));
}

.service-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* ===== FEATURE BOXES ===== */
.feature-box {
    background-color: rgb(var(--bg-white));
    padding: 1.5rem;
    border-radius: 0.25rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
    transition: box-shadow var(--transition-normal);
    overflow-x: hidden;
    overflow-y: visible;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.feature-box:hover {
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    background-color: rgba(var(--navy-primary), 0.1);
    padding: 0.75rem;
    border-radius: 9999px;
    display: inline-flex;
    flex-shrink: 0;
}

.feature-icon svg {
    width: 1.5rem;
    height: 1.5rem;
    color: rgb(var(--navy-primary));
}

/* ===== TESTIMONIAL ===== */
.testimonial-box {
    background-color: rgba(var(--navy-primary), 0.05);
    padding: 2rem;
    border-radius: 0.25rem;
    border-left-width: 4px;
    border-left-color: rgb(var(--navy-primary));
    overflow-x: hidden;
    overflow-y: visible;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

/* ===== CTA SECTIONS ===== */
.cta-section {
    background: linear-gradient(to bottom right, rgb(var(--navy-primary)), rgb(var(--navy-dark)));
    color: rgb(var(--text-white));
    padding: 4rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.2);
    z-index: 0;
}

.cta-section > * {
    position: relative;
    z-index: 1;
}

@media (min-width: 768px) {
    .cta-section {
        padding: 5rem 0;
    }
}

/* ===== CTA CONTENT STYLES (Textos sobre fondos oscuros) ===== */
.cta-content {
    color: #ffffff;
}

.cta-content .cta-label {
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
    font-weight: 600;
    letter-spacing: 0.1em;
}

.cta-content .cta-title {
    color: #ffffff;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.7), 0 1px 3px rgba(0, 0, 0, 0.5);
    font-weight: 800;
    line-height: 1.1;
}

.cta-content .cta-description {
    color: rgba(255, 255, 255, 0.95);
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.6);
    font-weight: 400;
    line-height: 1.6;
}

.cta-content svg {
    filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.5));
    color: #ffffff;
}

/* Asegurar que el overlay oscuro no sea demasiado opaco */
.cta-content::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.3);
    z-index: -1;
    pointer-events: none;
}

/* ===== JOB LISTING ===== */
.job-listing {
    background-color: rgb(var(--bg-white));
    border-radius: 0.5rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
    padding: 2.5rem;
    margin-bottom: 3rem;
    transition: all var(--transition-normal);
}

.job-listing:hover {
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    transform: translateY(-2px);
}

.job-code {
    display: inline-block;
    background-color: rgba(var(--blue-secondary), 0.15);
    color: rgb(var(--blue-secondary));
    padding: 0.375rem 0.875rem;
    border-radius: 0.375rem;
    font-size: 0.75rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border: 1px solid rgba(var(--blue-secondary), 0.2);
}

.job-listing h2 {
    color: rgb(var(--navy-dark));
    font-weight: 700;
    font-size: 1.875rem;
    line-height: 1.3;
    margin-bottom: 1.5rem;
}

.job-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    font-size: 0.875rem;
    color: rgb(var(--text-gray));
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #e5e7eb;
}

.job-meta-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: rgb(var(--text-gray));
}

.job-meta-item svg {
    width: 1.125rem;
    height: 1.125rem;
    color: rgb(var(--blue-secondary));
    flex-shrink: 0;
}

.job-meta-item span {
    color: rgb(var(--text-gray));
    font-weight: 500;
}

/* Job listing prose styles */
.job-listing .prose {
    color: rgb(var(--text-gray));
}

.job-listing .prose h3 {
    color: rgb(var(--navy-dark));
    font-weight: 700;
    font-size: 1.25rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.job-listing .prose p {
    color: rgb(var(--text-gray));
    line-height: 1.7;
    margin-bottom: 1rem;
}

.job-listing .prose ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.job-listing .prose li {
    color: rgb(var(--text-gray));
    line-height: 1.7;
    margin-bottom: 0.75rem;
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
}

/* Desactivar el bullet automático ::before ya que usamos span manual */
.job-listing .prose li::before {
    content: none;
}

.job-listing .prose li span:first-child {
    color: rgb(var(--blue-secondary));
    font-weight: 600;
    font-size: 1rem;
    line-height: 1.5;
    margin-top: 0.25rem;
    flex-shrink: 0;
}

.job-listing .prose li span:last-child {
    flex: 1;
    color: rgb(var(--text-gray));
}

/* ===== RESUME UPLOAD SECTION ===== */
section.bg-white h2 {
    color: rgb(var(--navy-dark));
    font-weight: 700;
    margin-bottom: 1.5rem;
}

section.bg-white p {
    color: rgb(var(--text-gray));
    line-height: 1.7;
}

/* ===== FORM RESOURCES ===== */
.resource-card {
    background-color: rgb(var(--bg-white));
    padding: 1.5rem;
    border-radius: 0.25rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
    transition: all var(--transition-normal);
}

.resource-card:hover {
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
}

.resource-card h3 {
    font-size: 1.125rem;
    font-weight: 600;
    color: rgb(var(--navy-dark));
    margin-bottom: 0.5rem;
    transition: color var(--transition-normal);
}

.resource-card:hover h3 {
    color: rgb(var(--blue-secondary));
}

/* ===== CONTACT INFO BOX ===== */
.contact-info-box {
    background-color: rgb(var(--bg-white));
    padding: 1.5rem;
    border-radius: 0.25rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
}

.contact-info-item {
    display: flex;
    align-items: start;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.contact-info-icon {
    background-color: rgba(var(--navy-primary), 0.1);
    padding: 0.5rem;
    border-radius: 9999px;
    flex-shrink: 0;
}

.contact-info-icon svg {
    width: 1.25rem;
    height: 1.25rem;
    color: rgb(var(--navy-primary));
}

/* ===== WHY CHOOSE BOX ===== */
.why-choose-box {
    background-color: rgba(var(--navy-primary), 0.05);
    padding: 1.5rem;
    border-radius: 0.25rem;
    border-left-width: 4px;
    border-left-color: rgb(var(--navy-primary));
}

.why-choose-box ul {
    list-style: none;
    padding: 0;
}

.why-choose-box li {
    font-size: 0.875rem;
    color: rgb(var(--text-gray));
    margin-bottom: 0.5rem;
}

/* ===== PROSE CONTENT ===== */
.prose {
    max-width: none;
}

.prose ul {
    list-style: none;
    padding: 0;
}

.prose li {
    display: flex;
    align-items: start;
    gap: 0.5rem;
    color: rgb(var(--text-gray));
    margin-bottom: 0.5rem;
}

.prose li::before {
    content: "•";
    color: rgb(var(--blue-secondary));
    margin-top: 0.375rem;
    flex-shrink: 0;
}

/* ===== BACKGROUND GRADIENTS ===== */
.bg-gradient-to-b {
    background-image: linear-gradient(to bottom, var(--tw-gradient-stops));
}

.bg-gradient-to-br {
    background-image: linear-gradient(to bottom right, var(--tw-gradient-stops));
}

.from-gray-50 {
    --tw-gradient-from: #f9fafb;
    --tw-gradient-to: rgba(249, 250, 251, 0);
    --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
}

.from-navy-primary {
    --tw-gradient-from: rgb(var(--navy-primary));
    --tw-gradient-to: rgba(var(--navy-primary), 0);
    --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
}

.from-blue-secondary {
    --tw-gradient-from: rgb(var(--blue-secondary));
    --tw-gradient-to: rgba(var(--blue-secondary), 0);
    --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
}

.to-white {
    --tw-gradient-to: #fff;
}

.to-navy-dark {
    --tw-gradient-to: rgb(var(--navy-dark));
}

.to-navy-primary {
    --tw-gradient-to: rgb(var(--navy-primary));
}

/* ===== BACKGROUND IMAGES ===== */
.bg-cover {
    background-size: cover;
}

.bg-center {
    background-position: center;
}

.bg-no-repeat {
    background-repeat: no-repeat;
}

/* ===== OPACITY ===== */
.opacity-80 {
    opacity: 0.8;
}

.opacity-0 {
    opacity: 0;
}

/* ===== GROUP HOVER EFFECTS ===== */
.group:hover .group-hover\:scale-110 {
    transform: scale(1.1);
}

.group:hover .group-hover\:text-blue-secondary {
    color: rgb(var(--blue-secondary));
}

/* ===== DISABLED STATES ===== */
.disabled {
    opacity: 0.5;
    cursor: not-allowed;
    pointer-events: none;
}

/* ===== RESPONSIVE UTILITIES ===== */
@media (min-width: 640px) {
    .sm\:flex-row {
        flex-direction: row;
    }
    
    .sm\:flex-col {
        flex-direction: column;
    }
}

@media (min-width: 768px) {
    .md\:flex-row {
        flex-direction: row;
    }
    
    .md\:items-start {
        align-items: flex-start;
    }
    
    .md\:justify-between {
        justify-content: space-between;
    }
    
    .md\:gap-10 {
        gap: 2.5rem;
    }
    
    .md\:p-12 {
        padding: 3rem;
    }
}

@media (min-width: 1024px) {
    .lg\:flex-row {
        flex-direction: row;
    }
    
    .lg\:flex-row-reverse {
        flex-direction: row-reverse;
    }
    
    .lg\:items-center {
        align-items: center;
    }
    
    .lg\:gap-12 {
        gap: 3rem;
    }
    
    .lg\:gap-x-3 {
        column-gap: 0.75rem;
    }
    
    .lg\:gap-x-8 {
        column-gap: 2rem;
    }
    
    .lg\:p-16 {
        padding: 4rem;
    }
    
    .lg\:col-span-1 {
        grid-column: span 1 / span 1;
    }
    
    .lg\:col-span-2 {
        grid-column: span 2 / span 2;
    }
    
    .lg\:col-span-3 {
        grid-column: span 3 / span 3;
    }
    
    .lg\:grid-cols-3 {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

/* ===== CTA GRID SECTION ===== */
.cta-grid {
    display: grid;
    grid-template-columns: repeat(1, minmax(0, 1fr));
    gap: 0;
}

@media (min-width: 768px) {
    .cta-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

