/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700&family=Space+Mono:wght@400;700&display=swap');

/* Fix específico para Chrome en iOS */
@supports (-webkit-touch-callout: none) {
    html {
        position: relative;
        overflow-y: scroll !important;
        overflow-x: hidden !important;
        -webkit-overflow-scrolling: touch !important;
        height: 100% !important;
    }
    
    body {
        position: relative;
        overflow-y: scroll !important;
        overflow-x: hidden !important;
        -webkit-overflow-scrolling: touch !important;
        min-height: 100vh !important;
        height: auto !important;
    }
}

/* CSS Variables */
:root {
    --primary-dark: #1a1d2e;
    --primary-darker: #0f1119;
    --accent-yellow: #f4b944;
    --accent-yellow-hover: #f7c866;
    --accent-blue: #2563eb;
    --accent-blue-low: #5987ec;
    --text-light: #ffffff;
    --text-dark: #1a1d2e;
    --text-gray: #a8a8b3;
    --border-white: #ffffff;
    --modal-bg: rgba(0, 0, 0, 0.85);
    --spacing-xs: 8px;
    --spacing-sm: 16px;
    --spacing-md: 24px;
    --spacing-lg: 48px;
    --spacing-xl: 64px;
    --header-height: 80px;
    --footer-height: auto;
    --green-accent: #10b981;
}

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

body {
    font-family: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
    background-color: white;
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    height: auto;
    min-height: 100vh;
}

html {
    overflow-y: auto;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
    height: 100%;
}

/* ============================================
   SPLASH SCREEN - VERSIÓN SEMITRANSPARENTE
   ============================================ */
.splash-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 1;
    visibility: visible;
    transition: opacity 0.8s ease, visibility 0.8s ease;
    overflow-y:auto;
}

.splash-screen::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.01) 0%, rgba(244, 185, 68, 0.01) 100%);
    z-index: -1;
}

.splash-screen.fade-out {
    opacity: 0;
    visibility: hidden;
}

.splash-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 var(--spacing-lg);
    animation: fadeInUp 1s ease;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.splash-logo {
    width: 200px;
    height: auto;
    margin-bottom: var(--spacing-lg);
    filter: drop-shadow(0 4px 12px rgba(37, 99, 235, 0.15));
    animation: fadeInUp 1s ease 0.2s both;
}

.splash-title {
    font-size: 64px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: var(--spacing-md);
    color: var(--text-dark);
    animation: fadeInUp 1s ease 0.4s both;
}

.text-blue {
    color: var(--accent-blue);
}

.text-white {
    color: #ffffff;
}

.text-black {
    color: #000000;
}

.text-green {
    color: var(--green-accent);
    font-weight: 600;
}

.splash-subtitle {
    font-size: 30px;
    font-weight: 500;
    line-height: 1.2;
    margin-top: -15px;
    margin-bottom: 20px;
    color: #9ca3af;
    animation: fadeInUp 1s ease 0.6s both;
}

.splash-description {
    font-size: 19px;
    font-weight: 400;
    line-height: 1.6;
    margin-bottom: var(--spacing-xl);
    color: var(--accent-blue-low);
    animation: fadeInUp 1s ease 0.8s both;
    margin-top: -15px;
}

.splash-btn {
    background-color: transparent;
    color: var(--accent-blue);
    border: 2px solid var(--accent-blue);
    padding: 16px 48px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    border-radius: 50px;
    transition: all 0.3s ease;
    font-family: 'Outfit', sans-serif;
    letter-spacing: 0.5px;
    animation: fadeInUp 1s ease 1s both;
}

.splash-btn:hover {
    background-color: var(--accent-blue);
    color: var(--text-light);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.3);
}

/* Responsive Splash Screen */
@media (max-width: 768px) {
    .splash-logo {
        width: 150px;
        margin-bottom: var(--spacing-md);
    }

    .splash-title {
        font-size: 36px;
    }

    .splash-subtitle {
        font-size: 20px;
        margin-top: -10px;
    }

    .splash-description {
        font-size: 15px;
        margin-bottom: var(--spacing-lg);
    }

    .splash-btn {
        padding: 14px 36px;
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .splash-content {
        padding: 0 20px;
    }

    .splash-logo {
        width: 130px;
    }

    .splash-title {
        font-size: 28px;
    }

    .splash-subtitle {
        font-size: 18px;
        line-height: 1.3;
    }

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

    .splash-btn {
        padding: 12px 32px;
        font-size: 15px;
    }
}

/* ============================================
   HEADER - SOLO LOGOTIPO FIJO
   ============================================ */
.header {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
    padding: 20px 30px;
    pointer-events: none;
}

.header-container {
    pointer-events: auto;
}

.header-logo {
    height: 25px;
    margin-left: -20px;
    margin-top: -10px;
    width: auto;
    display: block;
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.1));
    transition: transform 0.3s ease;
}

.header-logo:hover {
    transform: scale(1.05);
}

/* Responsive Header */
@media (max-width: 768px) {
    .header {
        padding: 15px 20px;
    }

    .header-logo {
        height: 22px;
        margin-left: -10px;
    }
}

@media (max-width: 480px) {
    .header {
        padding: 12px 15px;
    }

    .header-logo {
        height: 20px;
        margin-left: -5px;
    }
}

/* ============================================
   MAIN CONTENT - MOSAIC
   ============================================ */
.mosaic-container {
    margin-top: 0;
    min-height: 100vh;
    padding: 0;
    background-color: #ffffff;
    margin-bottom: 90px;
}

.mosaic-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0px;
    width: 100%;
    background-color: var(--border-white);
    padding: 0;
}

.mosaic-item {
    position: relative;
    overflow: hidden;
    background-color: #f0f0f0;
    aspect-ratio: 1 / 1;
    cursor: pointer;
}

.mosaic-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: transparent;
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 1;
}

.mosaic-item:hover::before {
    opacity: 0;
}

.mosaic-item:hover {
    z-index: 10;
    box-shadow: none;
}

.mosaic-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.mosaic-item:hover img {
    transform: scale(1.15);
}

/* Responsive Mosaic Grid */
@media (min-width: 1400px) {
    .mosaic-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 1000px) and (max-width: 1399px) {
    .mosaic-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 600px) and (max-width: 999px) {
    .mosaic-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 599px) {
    .mosaic-grid {
        grid-template-columns: 1fr;
    }

    .mosaic-container {
        margin-bottom: 50px;
    }
}

/* ============================================
   STRATEGIC SECTION (REALISMO ESTRATÉGICO)
   ============================================ */
.strategic-section {
    background-color: #ffffff;
    padding: var(--spacing-xl) var(--spacing-lg);
}

.strategic-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header y Textos introductorios */
.strategic-header {
    text-align: center;
    margin-bottom: var(--spacing-lg);
}

.strategic-header h2 {
    font-size: 48px;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: var(--spacing-sm);
}

.strategic-subtitle {
    font-size: 20px;
    color: var(--text-gray);
    font-weight: 500;
}

.strategic-intro {
    max-width: 1100px;
    margin: 0 auto var(--spacing-xl);
    text-align: center;
}

.strategic-intro p {
    font-size: 17px;
    line-height: 1.8;
    color: var(--primary-dark);
    margin-bottom: var(--spacing-md);
}

/* --- LAYOUT POR FILAS --- */
.strategic-layout-rows {
    display: flex;
    flex-direction: column;
    gap: 120px;
    width: 100%;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
    margin-top: var(--spacing-xl);
}

.strategic-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 60px;
}

.strategic-text-block h3 {
    font-size: 42px;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: var(--spacing-md);
    line-height: 1.1;
}

.strategic-text-block p {
    font-size: 22px;
    line-height: 1.5;
    color: #333;
    margin-bottom: var(--spacing-md);
}

.strategic-image-block {
    width: 100%;
    margin: 0;
    border-radius: 32px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.strategic-image-block img {
    width: 100%;
    height: auto;
    display: block;
}

/* ============================================
   OPTIMIZACIÓN MÓVIL - TEXTOS ESTRATÉGICOS
   ============================================ */

@media (max-width: 1200px) {
    .strategic-section {
        padding: 60px 20px;
    }

    .strategic-row {
        gap: 40px;
    }

    .strategic-layout-rows {
        gap: 80px;
    }

    .strategic-text-block h3 {
        font-size: 32px;
    }

    .strategic-text-block p {
        font-size: 18px;
    }
}

@media (max-width: 1024px) {
    .strategic-row {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: left;
    }

    .strategic-layout-rows {
        gap: 60px;
    }

    .strategic-image-block {
        border-radius: 24px;
        width: 100%;
    }

    .strategic-text-block h3 {
        font-size: 28px;
    }

    .strategic-text-block p {
        font-size: 17px;
    }
}

@media (max-width: 768px) {
    .strategic-section {
        padding: 40px 15px;
    }

    .strategic-container {
        padding: 0 15px;
    }

    .strategic-header h2 {
        font-size: 32px;
    }

    .strategic-subtitle {
        font-size: 16px;
    }

    .strategic-intro p {
        font-size: 15px;
    }

    .strategic-layout-rows {
        gap: 50px;
        margin-top: 30px;
    }

    .strategic-row {
        gap: 25px;
    }

    .strategic-text-block h3 {
        font-size: 24px;
        margin-bottom: 15px;
    }

    .strategic-text-block p {
        font-size: 16px;
        line-height: 1.6;
    }

    .strategic-image-block {
        border-radius: 16px;
    }
}

@media (max-width: 480px) {
    .strategic-section {
        padding: 30px 10px;
    }

    .strategic-header h2 {
        font-size: 26px;
    }

    .strategic-subtitle {
        font-size: 14px;
    }

    .strategic-intro p {
        font-size: 14px;
        line-height: 1.6;
    }

    .strategic-layout-rows {
        gap: 40px;
    }

    .strategic-text-block h3 {
        font-size: 22px;
    }

    .strategic-text-block p {
        font-size: 15px;
    }
}

/* ============================================
   SERVICES SECTION
   ============================================ */
.services-section {
    background-color: #ffffff;
    padding: var(--spacing-xl) var(--spacing-lg);
}

.services-container {
    max-width: 1400px;
    margin: 0 auto;
}

.services-header {
    text-align: center;
    margin-bottom: var(--spacing-xl);
}

.services-header h2 {
    font-size: 48px;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: var(--spacing-sm);
}

.services-intro {
    font-size: 20px;
    color: var(--text-gray);
    font-weight: 400;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-xl);
}

.service-card {
    background: white;
    padding: var(--spacing-lg);
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
}

.service-card h3 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: var(--spacing-md);
    color: var(--primary-dark);
}

.highlight-3d {
    color: var(--accent-blue);
    margin-left: 4px;
}

.service-subtitle {
    margin-bottom: var(--spacing-md);
}

.subtitle-primary {
    font-size: 18px;
    font-weight: 600;
    color: var(--primary-dark);
    margin-bottom: 4px;
}

.subtitle-secondary {
    font-size: 16px;
    font-weight: 500;
    color: var(--accent-blue);
    margin-bottom: 2px;
}

.subtitle-tertiary {
    font-size: 14px;
    font-weight: 400;
    color: var(--text-gray);
}

.service-card p {
    line-height: 1.8;
    margin-bottom: var(--spacing-sm);
    font-size: 15px;
}

.service-lead {
    font-size: 16px;
    font-weight: 500;
    color: var(--primary-dark);
}

.service-highlight {
    color: var(--accent-blue);
    font-weight: 500;
    font-style: italic;
}

.service-emphasis {
    font-size: 18px;
    font-weight: 600;
    margin: var(--spacing-md) 0;
}

.service-quote {
    font-style: italic;
    color: var(--accent-blue-low);
    padding: var(--spacing-sm);
    border-left: 3px solid var(--accent-blue);
    margin-top: var(--spacing-md);
    background: rgba(37, 99, 235, 0.05);
}

/* Responsive Services */
@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .services-header h2 {
        font-size: 32px;
    }

    .services-intro {
        font-size: 16px;
    }

    .service-card {
        padding: 20px;
    }

    .service-card h3 {
        font-size: 24px;
    }
}

@media (max-width: 480px) {
    .services-section {
        padding: 40px 15px;
    }

    .services-header h2 {
        font-size: 26px;
    }

    .services-intro {
        font-size: 15px;
    }

    .service-card {
        padding: 18px;
    }

    .service-card h3 {
        font-size: 22px;
    }

    .service-card p {
        font-size: 14px;
    }
}

/* ============================================
   FOOTER CONTACTO SECTION
   ============================================ */
.contacto-section {
    background: #10161C !important;
    color: var(--text-light);
    padding: 120px 0 60px 0;
    margin-top: 120px;
}

.contacto-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 60px;
    padding: 0 40px;
    align-items: start;
}

/* Columna Izquierda */
.contacto-left {
    padding-right: 20px;
}

.contacto-logo {
    margin-bottom: 40px;
}

.contacto-logo img {
    width: 240px;
    height: auto;
    margin-bottom: 15px;
    filter: brightness(1.1);
}

.contacto-tagline {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 1);
    margin: 0;
    line-height: 1.5;
    margin-top: -25px;
}

.contacto-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.contacto-nav li {
    margin-bottom: -2px;
}

.contacto-nav a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.3s ease;
    display: block;
    padding: 4px 0;
}

.contacto-nav a:hover {
    color: var(--accent-blue);
}

/* Columna Centro */
.contacto-center {
    padding: 0 20px;
}

.contacto-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--text-light);
    line-height: 1.3;
}

.contacto-subtitle {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 40px;
    line-height: 1.5;
}

.contacto-info {
    font-style: normal;
}

.contacto-info-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 24px;
    gap: 14px;
}

.contacto-icon {
    color: var(--accent-blue);
    margin-top: 2px;
    flex-shrink: 0;
}

.contacto-icon svg {
    display: block;
}

.contacto-details {
    font-size: 0.95rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.8);
}

.contacto-details a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

.contacto-details a:hover {
    color: var(--accent-blue);
}

.contacto-details strong {
    color: var(--text-light);
    font-weight: 600;
}

/* Columna Derecha - Formulario */
.contacto-right {
    padding-left: 20px;
}

.contacto-form-container {
    background: var(--text-light);
    padding: 32px;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.contacto-form {
    background: transparent;
    padding: 0;
    border-radius: 0;
}

.form-group {
    margin-bottom: 16px;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.contacto-form input,
.contacto-form textarea {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    background: white;
    color: var(--primary-dark);
    font-size: 1rem;
    font-family: 'Outfit', sans-serif;
    transition: all 0.3s ease;
}

.contacto-form input::placeholder,
.contacto-form textarea::placeholder {
    color: #999;
}

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

.contacto-form textarea {
    resize: vertical;
    min-height: 100px;
    line-height: 1.5;
}

.checkbox-group {
    margin-bottom: 20px;
}

.checkbox-container {
    display: flex;
    align-items: flex-start;
    cursor: pointer;
    font-size: 0.85rem;
    line-height: 1.5;
    gap: 10px;
    color: #666;
}

.checkbox-container input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
    margin: 0;
    z-index: -1;
}

.checkmark {
    width: 18px;
    height: 18px;
    border: 2px solid #ddd;
    border-radius: 4px;
    position: relative;
    flex-shrink: 0;
    margin-top: 2px;
    transition: all 0.3s ease;
    background: white;
}

.checkbox-container:hover .checkmark {
    border-color: var(--accent-blue);
}

.checkbox-container input:checked+.checkmark {
    background: var(--accent-blue);
    border-color: var(--accent-blue);
}

.checkbox-container input:checked+.checkmark::after {
    content: '✓';
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 12px;
    font-weight: bold;
}

.checkbox-text a {
    color: var(--accent-blue);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.checkbox-text a:hover {
    color: var(--accent-blue-hover);
    text-decoration: underline;
}

.contacto-btn {
    width: 100%;
    padding: 16px 32px;
    background: var(--accent-blue);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Outfit', sans-serif;
}

.contacto-btn:hover {
    background: var(--accent-blue-low);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(37, 99, 235, 0.35);
}

.contacto-btn:active {
    transform: translateY(0);
}

/* Footer Bottom */
.footer-bottom {
    text-align: center;
    padding: 30px 0 0 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 80px;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.85rem;
    margin: 0;
}

/* Imágenes ofuscadas para email y teléfono */
.email-image {
    height: 1.5em;
    width: auto;
    display: inline-block;
    vertical-align: middle;
    object-fit: contain;
    filter: brightness(1.4);
    transition: all 0.3s ease;
}

.phone-image {
    height: 1.1em;
    width: auto;
    display: inline-block;
    vertical-align: middle;
    object-fit: contain;
    filter: brightness(1.4);
    transition: all 0.3s ease;
    margin-top: -3px;
}

.email-image:hover,
.phone-image:hover {
    filter: brightness(1.6);
    transform: scale(1.02);
}

.phone-image {
    margin-right: 4px;
}

/* Responsive Footer */
@media (max-width: 1200px) {
    .contacto-container {
        gap: 40px;
        padding: 0 30px;
    }

    .contacto-logo img {
        width: 200px;
    }

    .contacto-tagline {
        font-size: 1.1rem;
    }
}

@media (max-width: 1024px) {
    .contacto-section {
        padding: 80px 0 60px 0;
        margin-top: 80px;
    }

    .contacto-container {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .contacto-left,
    .contacto-center,
    .contacto-right {
        padding: 0;
    }

    .contacto-logo {
        text-align: center;
        margin-bottom: 30px;
    }

    .contacto-logo img {
        width: 180px;
    }

    .contacto-tagline {
        font-size: 1rem;
    }

    .contacto-nav {
        text-align: center;
    }

    .contacto-title,
    .contacto-subtitle {
        text-align: center;
    }

    .contacto-title {
        font-size: 1.75rem;
    }

    .contacto-info {
        max-width: 400px;
        margin: 0 auto;
    }

    .contacto-form-container {
        max-width: 500px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .contacto-section {
        padding: 60px 0 40px 0;
        margin-top: 60px;
    }

    .contacto-container {
        padding: 0 20px;
        gap: 40px;
    }

    .contacto-logo img {
        width: 160px;
    }

    .contacto-tagline {
        font-size: 0.95rem;
        margin-top: -20px;
    }

    .contacto-title {
        font-size: 1.5rem;
    }

    .contacto-subtitle {
        font-size: 0.9rem;
    }

    .contacto-form-container {
        padding: 24px;
    }

    .contacto-form input,
    .contacto-form textarea {
        padding: 12px 14px;
        font-size: 0.95rem;
    }

    .footer-bottom {
        margin-top: 60px;
        padding-top: 20px;
    }

    .footer-bottom p {
        font-size: 0.8rem;
        padding: 0 10px;
    }
}

@media (max-width: 480px) {
    .contacto-section {
        padding: 40px 0 30px 0;
        margin-top: 40px;
    }

    .contacto-container {
        padding: 0 15px;
        gap: 35px;
    }

    .contacto-logo {
        margin-bottom: 25px;
    }

    .contacto-logo img {
        width: 140px;
    }

    .contacto-tagline {
        font-size: 0.9rem;
        line-height: 1.4;
    }

    .contacto-title {
        font-size: 1.35rem;
        margin-bottom: 12px;
    }

    .contacto-subtitle {
        font-size: 0.85rem;
        margin-bottom: 30px;
    }

    .contacto-nav a {
        font-size: 0.9rem;
    }

    .contacto-info-item {
        margin-bottom: 20px;
        gap: 12px;
    }

    .contacto-details {
        font-size: 0.9rem;
    }

    .contacto-form-container {
        padding: 20px;
    }

    .contacto-form input,
    .contacto-form textarea {
        padding: 11px 13px;
        font-size: 0.9rem;
    }

    .contacto-btn {
        padding: 14px 28px;
        font-size: 0.95rem;
    }

    .checkbox-container {
        font-size: 0.8rem;
    }

    .footer-bottom {
        margin-top: 50px;
    }

    .footer-bottom p {
        font-size: 0.75rem;
        line-height: 1.4;
    }
}

/* ============================================
   CONTACT MODAL
   ============================================ */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--modal-bg);
    backdrop-filter: blur(8px);
    z-index: 2000;
    justify-content: center;
    align-items: center;
    animation: fadeIn 0.3s ease;
}

.modal.active {
    display: flex;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.modal-content {
    background-color: var(--text-light);
    padding: 50px;
    border-radius: 30px;
    max-width: 500px;
    width: 90%;
    position: relative;
    animation: slideUp 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    color: var(--primary-dark);
}

@keyframes slideUp {
    from {
        transform: translateY(50px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.modal-close {
    position: absolute;
    top: var(--spacing-sm);
    right: var(--spacing-sm);
    background: none;
    border: none;
    font-size: 32px;
    cursor: pointer;
    color: var(--primary-dark);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.modal-close:hover {
    background-color: rgba(0, 0, 0, 0.05);
    transform: rotate(90deg);
}

.modal-content h2 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: var(--spacing-sm);
    line-height: 1.2;
    color: var(--primary-dark);
}

.modal-subtitle {
    color: #666;
    margin-bottom: var(--spacing-lg);
    font-size: 16px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
}

.contact-form input,
.contact-form textarea {
    padding: var(--spacing-sm);
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
    font-family: 'Outfit', sans-serif;
    transition: border-color 0.3s ease;
    background-color: #f8f8f8;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--accent-yellow);
    background-color: white;
}

.checkbox-container {
    display: flex;
    align-items: flex-start;
    gap: var(--spacing-xs);
    font-size: 13px;
    color: #666;
}

.checkbox-container a {
    color: var(--accent-yellow);
    text-decoration: none;
}

.checkbox-container a:hover {
    text-decoration: underline;
}

.submit-btn {
    background-color: var(--accent-yellow);
    color: var(--primary-dark);
    border: none;
    padding: var(--spacing-sm) var(--spacing-md);
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    border-radius: 14px;
    transition: all 0.3s ease;
    font-family: 'Outfit', sans-serif;
    margin-top: var(--spacing-sm);
}

.submit-btn:hover {
    background-color: var(--accent-yellow-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(244, 185, 68, 0.3);
}

@media (max-width: 768px) {
    .modal-content {
        padding: 35px 25px;
        width: 95%;
    }

    .modal-content h2 {
        font-size: 26px;
    }

    .modal-subtitle {
        font-size: 14px;
    }

    .contact-form input,
    .contact-form textarea {
        font-size: 15px;
        padding: 12px;
    }

    .submit-btn {
        font-size: 15px;
        padding: 12px 20px;
    }
}

@media (max-width: 480px) {
    .modal-content {
        padding: 30px 20px;
    }

    .modal-content h2 {
        font-size: 24px;
    }

    .modal-subtitle {
        font-size: 13px;
        margin-bottom: 20px;
    }

    .modal-close {
        top: 10px;
        right: 10px;
        width: 35px;
        height: 35px;
        font-size: 28px;
    }

    .checkbox-container {
        font-size: 12px;
    }
}

/* ============================================
   IMAGE MODAL
   ============================================ */
.image-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
    z-index: 3000;
    justify-content: center;
    align-items: center;
    animation: fadeIn 0.3s ease;
    padding: 20px;
}

.image-modal.active {
    display: flex;
}

.image-modal-content {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
    width: auto;
    height: auto;
    border-radius: 36px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    animation: zoomIn 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes zoomIn {
    from {
        transform: scale(0.8);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

.image-modal-content img {
    display: block;
    max-width: 90vw;
    max-height: 90vh;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 36px;
}

.image-modal-close {
    position: absolute;
    top: 30px;
    right: 30px;
    width: 40px;
    height: 40px;
    background-color: #6b6b6b;
    border: 2px solid #ffffff;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 3001;
    padding: 0;
}

.image-modal-close:hover {
    background-color: #505050;
    border-color: #ffffff;
    transform: rotate(90deg) scale(1.1);
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

.image-modal-close::before,
.image-modal-close::after {
    content: '';
    position: absolute;
    width: 21px;
    height: 3px;
    background-color: #ffffff;
    border-radius: 2px;
}

.image-modal-close::before {
    transform: rotate(45deg);
}

.image-modal-close::after {
    transform: rotate(-45deg);
}

@media (max-width: 768px) {
    .image-modal {
        padding: 15px;
    }

    .image-modal-content {
        border-radius: 20px;
    }

    .image-modal-content img {
        border-radius: 20px;
        max-width: 90vw;
        max-height: 85vh;
    }

    .image-modal-close {
        top: 20px;
        right: 20px;
        width: 36px;
        height: 36px;
    }

    .image-modal-close::before,
    .image-modal-close::after {
        width: 18px;
    }
}

@media (max-width: 480px) {
    .image-modal {
        padding: 10px;
    }

    .image-modal-content {
        border-radius: 16px;
    }

    .image-modal-content img {
        border-radius: 16px;
        max-width: 95vw;
        max-height: 80vh;
    }

    .image-modal-close {
        top: 15px;
        right: 15px;
        width: 32px;
        height: 32px;
    }

    .image-modal-close::before,
    .image-modal-close::after {
        width: 16px;
        height: 2.5px;
    }
}

/* ============================================
   LOADING ANIMATIONS
   ============================================ */
.mosaic-item {
    animation: fadeInItem 0.6s ease forwards;
    opacity: 0;
}

@keyframes fadeInItem {
    to {
        opacity: 1;
    }
}

/* Stagger animation delays */
.mosaic-item:nth-child(1) {
    animation-delay: 0.05s;
}

.mosaic-item:nth-child(2) {
    animation-delay: 0.1s;
}

.mosaic-item:nth-child(3) {
    animation-delay: 0.15s;
}

.mosaic-item:nth-child(4) {
    animation-delay: 0.2s;
}

.mosaic-item:nth-child(5) {
    animation-delay: 0.25s;
}

.mosaic-item:nth-child(6) {
    animation-delay: 0.3s;
}

.mosaic-item:nth-child(7) {
    animation-delay: 0.35s;
}

.mosaic-item:nth-child(8) {
    animation-delay: 0.4s;
}

.mosaic-item:nth-child(n+9) {
    animation-delay: 0.45s;
}

/* Anular la animación automática solo dentro de la sección estratégica */
.strategic-section .splash-content {
    animation: none;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 1.0s ease, transform 1.0s ease;
}

.strategic-section .splash-content.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================
   ESTILOS PARA LA SECCIÓN ESTRATÉGICA (-int)
   ============================================ */

.splash-title-int {
    font-size: 90px;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: var(--spacing-md);
    color: var(--text-dark);
    text-align: center;
}

.splash-subtitle-int {
    font-size: 40px;
    font-weight: 500;
    line-height: 1.05;
    margin-top: -10px !important;
    color: #9ca3af;
    text-align: center;
}

.splash-description-int {
    font-size: 28px;
    font-weight: 400;
    line-height: 1.6;
    margin-bottom: var(--spacing-xl);
    margin-top: 15px;
    color: var(--accent-blue-low);
    text-align: center;
}

.strategic-intro-int {
    font-size: 20px;
    font-weight: 400;
    line-height: 1.6;
    margin-bottom: var(--spacing-xl);
    color: black;
    text-align: center;
}

.text-blue-int {
    color: var(--accent-blue);
}

.text-black-int {
    color: #000000;
}

/* ============================================
   RESPONSIVE PARA TEXTOS GIGANTES (-int)
   ============================================ */

@media (max-width: 1200px) {
    .splash-title-int {
        font-size: 70px;
    }

    .splash-subtitle-int {
        font-size: 32px;
    }

    .splash-description-int {
        font-size: 24px;
    }

    .strategic-intro-int {
        font-size: 18px;
    }
}

@media (max-width: 1024px) {
    .splash-title-int {
        font-size: 60px;
    }

    .splash-subtitle-int {
        font-size: 28px;
    }

    .splash-description-int {
        font-size: 20px;
    }

    .strategic-intro-int {
        font-size: 17px;
    }
}

@media (max-width: 768px) {
    .splash-title-int {
        font-size: 42px;
        line-height: 1.2;
        margin-bottom: 15px;
    }

    .splash-subtitle-int {
        font-size: 22px;
        line-height: 1.3;
        margin-top: -8px !important;
    }

    .splash-description-int {
        font-size: 16px;
        margin-top: 10px;
        margin-bottom: 40px;
    }

    .strategic-intro-int {
        font-size: 15px;
        line-height: 1.7;
        padding: 0 10px;
    }

    .strategic-intro-int p {
        margin-bottom: 15px;
    }
}

@media (max-width: 480px) {
    .splash-title-int {
        font-size: 34px;
        line-height: 1.15;
    }

    .splash-subtitle-int {
        font-size: 18px;
        line-height: 1.35;
        margin-top: -6px !important;
    }

    .splash-description-int {
        font-size: 14px;
        line-height: 1.5;
        margin-top: 8px;
    }

    .strategic-intro-int {
        font-size: 14px;
        line-height: 1.6;
    }
}

/* Solo aplicamos whitespace nowrap en pantallas grandes */
@media (min-width: 1200px) {
    .strategic-section .splash-content {
        max-width: 100% !important;
        width: 100%;
        padding-left: 20px;
        padding-right: 20px;
    }

    .splash-title-int,
    .splash-subtitle-int {
        white-space: nowrap;
        width: auto;
        display: inline-block;
        max-width: 100%;
    }

    .splash-subtitle-int {
        margin-top: -40px;
    }
}

/* Evita que las imágenes sean seleccionables */
img {
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -o-user-select: none;
    user-select: none;
    -webkit-user-drag: none;
}

/* ============================================
   BOTÓN PLUS (+) EN MOSAICO
   ============================================ */
.mosaic-plus-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    background-color: #6b6b6b;
    border: 2px solid #ffffff;
    border-radius: 50%;
    cursor: pointer;
    z-index: 20;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: scale(0.8);
    transition: opacity 0.3s ease, transform 0.3s ease, background-color 0.3s, box-shadow 0.3s;
}

.mosaic-item:hover .mosaic-plus-btn {
    opacity: 1;
    transform: scale(1);
}

.mosaic-plus-btn:hover {
    background-color: #505050;
    border-color: #ffffff;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
    transform: scale(1);
}

.mosaic-plus-btn::before,
.mosaic-plus-btn::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 3px;
    background-color: #ffffff;
    border-radius: 2px;
    top: 50%;
    left: 50%;
}

.mosaic-plus-btn::before {
    transform: translate(-50%, -50%) rotate(90deg);
}

.mosaic-plus-btn::after {
    transform: translate(-50%, -50%) rotate(0deg);
}

@media (max-width: 768px) {
    .mosaic-plus-btn {
        width: 36px;
        height: 36px;
        top: 15px;
        right: 15px;
    }

    .mosaic-plus-btn::before,
    .mosaic-plus-btn::after {
        width: 18px;
    }
}

@media (max-width: 480px) {
    .mosaic-plus-btn {
        width: 32px;
        height: 32px;
        top: 12px;
        right: 12px;
    }

    .mosaic-plus-btn::before,
    .mosaic-plus-btn::after {
        width: 16px;
        height: 2.5px;
    }
}

.advertising_note {
    font-size: 0.8rem;
    color: rgb(160, 160, 160);
    font-style: italic;
    text-align: center;
}

@media (max-width: 768px) {
    .advertising_note {
        font-size: 0.75rem;
        padding: 0 10px;
        margin-top: -40px !important;
    }
}

@media (max-width: 480px) {
    .advertising_note {
        font-size: 0.7rem;
        margin-top: -30px !important;
    }
}

/* ============================================
   NOTIFICACIÓN FLOTANTE (TOAST)
   ============================================ */
.toast {
    visibility: hidden;
    min-width: 300px;
    background-color: var(--primary-darker);
    color: var(--text-light);
    text-align: left;
    border-radius: 12px;
    padding: 16px 24px;
    position: fixed;
    z-index: 10000;
    right: 30px;
    top: 30px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
    font-family: 'Outfit', sans-serif;
    font-size: 16px;
    display: flex;
    align-items: center;
    gap: 15px;
    transform: translateX(120%);
    transition: transform 0.4s cubic-bezier(0.68, -0.55, 0.27, 1.55), visibility 0.4s;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.toast.show {
    visibility: visible;
    transform: translateX(0);
}

.toast.success {
    border-left: 5px solid var(--green-accent);
}

.toast.success .toast-icon::before {
    content: '✓';
    color: var(--green-accent);
    font-weight: bold;
    font-size: 20px;
}

.toast.error {
    border-left: 5px solid #ef4444;
}

.toast.error .toast-icon::before {
    content: '!';
    color: #ef4444;
    font-weight: bold;
    font-size: 20px;
}

@media (max-width: 768px) {
    .toast {
        min-width: auto;
        width: 85%;
        right: 7.5%;
        left: 7.5%;
        top: 20px;
        font-size: 15px;
        padding: 14px 20px;
    }
}

@media (max-width: 480px) {
    .toast {
        width: 90%;
        right: 5%;
        left: 5%;
        top: 15px;
        font-size: 14px;
        padding: 12px 18px;
        gap: 12px;
    }

    .toast.success .toast-icon::before,
    .toast.error .toast-icon::before {
        font-size: 18px;
    }
}

/* ============================================
   MODAL ESTILO ELEVAVISION (NEURONA©)
   ============================================ */

.modal-overlay-eleva {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.modal-overlay-eleva.active {
    opacity: 1;
    visibility: visible;
}

.modal-content-eleva {
    background: var(--text-light);
    border-radius: 30px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    max-height: 80vh;
    overflow: hidden;
    transform: scale(0.9) translateY(20px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.modal-overlay-eleva.active .modal-content-eleva {
    transform: scale(1) translateY(0);
}

.modal-medium-eleva {
    width: 725px;
    max-width: 90vw;
    max-height: 80vh;
    overflow-y: auto;
    overflow-x: hidden;
    border-radius: 30px;
    position: relative;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.modal-medium-eleva::-webkit-scrollbar {
    width: 0px;
    background: transparent;
}

.modal-header-eleva {
    padding: 45px 75px 20px 75px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    border-radius: 30px 30px 0 0;
    background: var(--text-light);
    position: sticky;
    top: 0;
    z-index: 15;
}

.modal-header-eleva h3 {
    margin: 0;
    padding-top: 0;
    font-size: 3rem;
    font-weight: 500;
    color: var(--primary-dark);
    display: block;
    width: 100%;
    line-height: 1.05;
    order: 0;
}

.modal-header-eleva .modal-subtitle-eleva {
    font-size: 1rem;
    font-weight: 600;
    color: #000000;
    margin: 5px 0 0 0;
    line-height: 1.3;
    display: block;
    width: 100%;
    order: 1;
}

.modal-close-eleva {
    position: absolute;
    top: 25px;
    right: 25px;
    width: 34px;
    height: 34px;
    background-color: #000000;
    border: 2px solid #ffffff;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 20;
    padding: 0;
}


.modal-close-eleva::before,
.modal-close-eleva::after {
    content: '';
    position: absolute;
    width: 18px;
    height: 3px;
    background-color: #ffffff;
    border-radius: 2px;
}


.modal-close-eleva::before {
    transform: rotate(45deg);
}

.modal-close-eleva::after {
    transform: rotate(-45deg);
}

.modal-close-eleva:hover {
    background-color: #1a1a1a;
    border-color: #ffffff;
    transform: rotate(90deg) scale(1.1);
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}


.modal-body-eleva {
    padding: 20px 75px 75px;
    border-radius: 0 0 30px 30px;
    position: relative;
}


.modal-content-eleva.has-scroll::after {
    opacity: 1;
}

.modal-body-eleva p {
    margin: 0 0 16px 0;
    line-height: 1.6;
    color: #000000;
    font-size: 1rem;
}

.modal-body-eleva p:last-child {
    margin-bottom: 0;
}

.modal-body-eleva h4 {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--primary-dark);
    margin: 30px 0 12px 0;
    line-height: 1.3;
}

.modal-body-eleva h4:first-child {
    margin-top: 0;
}

.modal-body-eleva ul {
    margin: 0 0 16px 0;
    padding-left: 25px;
    color: #000000;
}

.modal-body-eleva li {
    margin-bottom: 8px;
    line-height: 1.6;
    color: #000000;
}

.modal-body-eleva strong {
    color: var(--primary-dark);
    font-weight: 700;
}

/* Responsive */
@media (max-width: 768px) {
    .modal-header-eleva {
        padding: 30px 35px 15px 35px;
    }

    .modal-header-eleva h3 {
        font-size: 2rem;
    }

    .modal-header-eleva .modal-subtitle-eleva {
        font-size: 0.9rem;
    }

    .modal-body-eleva {
        padding: 20px 35px 50px;
    }

    .modal-body-eleva p {
        font-size: 0.95rem;
    }

    .modal-body-eleva h4 {
        font-size: 1.15rem;
    }

    .modal-close-eleva {
        width: 31px;
        height: 31px;
        top: 20px;
        right: 20px;
    }

    .modal-close-eleva::before,
    .modal-close-eleva::after {
        width: 15px;
    }
}

@media (max-width: 480px) {
    .modal-header-eleva {
        padding: 25px 25px 12px 25px;
    }

    .modal-header-eleva h3 {
        font-size: 1.5rem;
    }

    .modal-header-eleva .modal-subtitle-eleva {
        font-size: 0.85rem;
    }

    .modal-body-eleva {
        padding: 18px 25px 40px;
    }

    .modal-body-eleva p {
        font-size: 0.9rem;
    }

    .modal-body-eleva h4 {
        font-size: 1.05rem;
        margin: 25px 0 10px 0;
    }

    .modal-body-eleva ul {
        padding-left: 20px;
    }

    .modal-close-eleva {
        width: 27px;
        height: 27px;
        top: 18px;
        right: 18px;
    }

    .modal-close-eleva::before,
    .modal-close-eleva::after {
        width: 14px;
        height: 2.5px;
    }
}

/* Hacer el texto NEURONA© clicable */
.neurona-link {
    color: var(--accent-blue);
    cursor: pointer;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.neurona-link:hover {
    color: var(--accent-blue-low);
}

/* ============================================
   ESTILO PARA MODAL LARGO (METODOLOGÍA)
   ============================================ */

.modal-large-eleva {
    width: 950px;
    max-width: 90vw;
    max-height: 85vh;
    overflow-y: auto;
    overflow-x: hidden;
    border-radius: 30px;
    position: relative;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.modal-large-eleva::-webkit-scrollbar {
    width: 0px;
    background: transparent;
}

/* Estilo para el enlace "Metodología de Trabajo" */
.metodologia-link {
    color: var(--accent-blue);
    cursor: pointer;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.metodologia-link:hover {
    color: var(--accent-blue-low);
}

/* Responsive para modal largo */
@media (max-width: 768px) {
    .modal-large-eleva {
        max-height: 80vh;
    }
}

@media (max-width: 480px) {
    .modal-large-eleva {
        max-height: 75vh;
    }
}

/* ============================================
   ESTILO PARA ENLACE "QUIÉNES SOMOS"
   ============================================ */

.quienes-link {
    color: var(--accent-blue);
    cursor: pointer;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.quienes-link:hover {
    color: var(--accent-blue-low);
}

/* ============================================
   ESTILO PARA ENLACE "APLICACIONES Y CASOS DE USO"
   ============================================ */

.aplicaciones-link {
    color: var(--accent-blue);
    cursor: pointer;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.aplicaciones-link:hover {
    color: var(--accent-blue-low);
}

/* ============================================
   ESTILO PARA ENLACE "FORMATOS DE ENTRADA"
   ============================================ */

.formatos-link {
    color: var(--accent-blue);
    cursor: pointer;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.formatos-link:hover {
    color: var(--accent-blue-low);
}

/* ============================================
   SECCIÓN LOS RESULTADOS - GRID 4 COLUMNAS
   ============================================ */

.resultados-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

.resultado-card {
    background: white;
    padding: 30px;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.resultado-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
}

.resultado-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 16px;
    line-height: 1.2;
}

.resultado-card p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #333;
    margin-bottom: 16px;
    flex-grow: 1;
}

.leer-mas-link {
    color: var(--accent-blue);
    cursor: pointer;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    display: inline-block;
    margin-top: auto;
}

.leer-mas-link:hover {
    color: var(--accent-blue-low);
}

/* Responsive para grid de resultados */
@media (max-width: 1200px) {
    .resultados-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
}

@media (max-width: 768px) {
    .resultados-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 0 15px;
    }

    .resultado-card {
        padding: 25px;
    }

    .resultado-card h3 {
        font-size: 1.3rem;
    }

    .resultado-card p {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .resultado-card {
        padding: 20px;
    }

    .resultado-card h3 {
        font-size: 1.2rem;
        margin-bottom: 12px;
    }

    .resultado-card p {
        font-size: 0.85rem;
        margin-bottom: 12px;
    }

    .leer-mas-link {
        font-size: 0.85rem;
    }
}

/* ============================================
   ENLACE VALOR DEL RENDER
   ============================================ */

.valor-render-link {
    color: var(--accent-blue);
    cursor: pointer;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.valor-render-link:hover {
    color: var(--accent-blue-low);
}


/* ============================================
   SECCIÓN FAQ - PREGUNTAS FRECUENTES (CORREGIDO)
   ============================================ */

.faq-section {
    background-color: #ffffff;
    padding: 60px 20px 0 20px;
    margin-bottom: 0;
}

.faq-container {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    margin-bottom: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    border-color: var(--accent-blue);
    box-shadow: 0 4px 20px rgba(37, 99, 235, 0.08);
}

.faq-item.active {
    border-color: transparent;
    box-shadow: 0 4px 24px rgba(37, 99, 235, 0.1);
    background: rgba(37, 99, 235, 0.01);
}

.faq-question {
    width: 100%;
    padding: 24px 28px;
    background: transparent;
    border: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    text-align: left;
    transition: all 0.3s ease;
    gap: 20px;
}

.faq-question:hover {
    background: rgba(37, 99, 235, 0.02);
}

.faq-question-text {
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--primary-dark);
    line-height: 1.4;
    flex: 1;
}

.faq-icon {
    font-size: 2rem;
    font-weight: 300;
    color: var(--accent-blue);
    transition: transform 0.3s ease;
    flex-shrink: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

/* AQUÍ ESTÁ EL CAMBIO - Aplicar padding directamente a .faq-answer */
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    background: transparent;
    padding: 0 28px 0 60px;
    /* 60px a la izquierda cuando está cerrado */
}

.faq-item.active .faq-answer {
    max-height: 2000px;
    padding: 12px 28px 32px 60px;
    /* Padding completo cuando está abierto */
}

.faq-answer p {
    font-size: 1rem;
    line-height: 1.7;
    color: #374151;
    margin-bottom: 16px;
}

.faq-answer p:first-child {
    margin-top: 0;
}

.faq-answer p:last-child {
    margin-bottom: 0;
}

.faq-answer ul {
    margin: 12px 0 16px 0;
    padding-left: 24px;
}

.faq-answer li {
    font-size: 0.98rem;
    line-height: 1.7;
    color: #374151;
    margin-bottom: 10px;
}

.faq-answer li:last-child {
    margin-bottom: 0;
}

.faq-answer strong {
    color: var(--primary-dark);
    font-weight: 600;
}

.faq-item.active .faq-question {
    background: transparent;
}

/* Responsive FAQ */
@media (max-width: 768px) {
    .faq-section {
        padding: 40px 15px 0 15px;
    }

    .faq-container {
        padding: 0;
    }

    .faq-item {
        border-radius: 12px;
        margin-bottom: 12px;
    }

    .faq-question {
        padding: 20px 22px;
        gap: 15px;
    }

    .faq-question-text {
        font-size: 1.05rem;
        line-height: 1.35;
    }

    .faq-icon {
        font-size: 1.75rem;
        width: 26px;
        height: 26px;
    }

    .faq-answer {
        padding: 0 22px 0 45px;
    }

    .faq-item.active .faq-answer {
        padding: 10px 22px 26px 45px;
    }

    .faq-answer p {
        font-size: 0.95rem;
        line-height: 1.65;
        margin-bottom: 14px;
    }

    .faq-answer ul {
        padding-left: 20px;
        margin: 10px 0 14px 0;
    }

    .faq-answer li {
        font-size: 0.93rem;
        margin-bottom: 8px;
    }
}

@media (max-width: 480px) {
    .faq-section {
        padding: 30px 10px 0 10px;
    }

    .faq-item {
        border-radius: 10px;
        margin-bottom: 10px;
    }

    .faq-question {
        padding: 18px 18px;
        gap: 12px;
    }

    .faq-question-text {
        font-size: 0.98rem;
        line-height: 1.3;
    }

    .faq-icon {
        font-size: 1.6rem;
        width: 24px;
        height: 24px;
    }

    .faq-answer {
        padding: 0 18px 0 35px;
    }

    .faq-item.active .faq-answer {
        padding: 8px 18px 22px 35px;
    }

    .faq-answer p {
        font-size: 0.9rem;
        line-height: 1.6;
        margin-bottom: 12px;
    }

    .faq-answer ul {
        padding-left: 18px;
        margin: 8px 0 12px 0;
    }

    .faq-answer li {
        font-size: 0.88rem;
        margin-bottom: 7px;
        line-height: 1.5;
    }
}