/* =========================================
   THEME VARIABLES
   ========================================= */
:root {
    --green: #25D066;
    --green-mid: #35AC80;
    --green-dark: #125845;
}

[data-theme="dark"] {
    --bg-primary: #0f1419;
    --bg-secondary: #1a1a1a;
    --bg-card: #1e1e1e;
    --bg-contact: #1e1e1e;
    --bg-footer: #0a0e12;
    --text-primary: #ffffff;
    --text-secondary: rgba(255, 255, 255, 0.8);
    --text-muted: rgba(255, 255, 255, 0.6);
    --text-dim: rgba(255, 255, 255, 0.5);
    --text-footer-brand: rgba(255, 255, 255, 0.55);
    --text-footer-disclaimer: rgba(255, 255, 255, 0.28);
    --text-footer-link: rgba(255, 255, 255, 0.5);
    --text-footer-copy: rgba(255, 255, 255, 0.3);
    --header-bg: rgba(15, 20, 25, 0.95);
    --header-bg-scroll: rgba(15, 20, 25, 0.98);
    --header-border: rgba(37, 208, 102, 0.3);
    --header-shadow: rgba(37, 208, 102, 0.1);
    --border-green: rgba(37, 208, 102, 0.3);
    --border-subtle: rgba(255, 255, 255, 0.06);
    --border-form: rgba(255, 255, 255, 0.2);
    --border-submit: rgba(255, 255, 255, 0.3);
    --card-bg: linear-gradient(135deg, #252525 0%, #1a1a1a 100%);
    --card-bg-hover: linear-gradient(135deg, #2a2a2a 0%, #252525 100%);
    --service-card-bg: linear-gradient(135deg, #2a2a2a 0%, #1e1e1e 100%);
    --service-card-bg-hover: linear-gradient(135deg, #2f2f2f 0%, #252525 100%);
    --process-icon-bg: linear-gradient(135deg, #2a2a2a 0%, #1a1a1a 100%);
    --process-icon-bg-hover: linear-gradient(135deg, #2f2f2f 0%, #252525 100%);
    --section-scenarios: linear-gradient(180deg, #1a1a1a 0%, #0f1419 100%);
    --section-process: linear-gradient(180deg, #0f1419 0%, #1a1a1a 50%, #0f1419 100%);
    --section-services: linear-gradient(180deg, #1a1a1a 0%, #0f1419 100%);
    --section-philosophy: linear-gradient(180deg, #0f1419 0%, #1a1a1a 50%, #0f1419 100%);
    --nav-mobile-bg: linear-gradient(135deg, #1a1a1a 0%, #0f1419 100%);
    --nav-mobile-shadow: rgba(0, 0, 0, 0.5);
    --overlay-bg: rgba(0, 0, 0, 0.7);
    --form-text: #ffffff;
    --form-placeholder: rgba(255, 255, 255, 0.5);
    --submit-hover-bg: #ffffff;
    --submit-hover-text: #1e1e1e;
    --social-border: rgba(255, 255, 255, 0.1);
    --social-color: rgba(255, 255, 255, 0.35);
    --toggle-bg: rgba(255, 255, 255, 0.08);
    --toggle-border: rgba(255, 255, 255, 0.15);
    --toggle-icon-color: rgba(255, 255, 255, 0.7);
    --toggle-hover-bg: rgba(255, 255, 255, 0.14);
    --glow-intensity: 0.6;
}

[data-theme="light"] {
    --bg-primary: #f4f6f8;
    --bg-secondary: #eaecef;
    --bg-card: #ffffff;
    --bg-contact: #ffffff;
    --bg-footer: #1a1e24;
    --text-primary: #1a1a1a;
    --text-secondary: rgba(0, 0, 0, 0.75);
    --text-muted: rgba(0, 0, 0, 0.5);
    --text-dim: rgba(0, 0, 0, 0.4);
    --text-footer-brand: rgba(255, 255, 255, 0.55);
    --text-footer-disclaimer: rgba(255, 255, 255, 0.28);
    --text-footer-link: rgba(255, 255, 255, 0.5);
    --text-footer-copy: rgba(255, 255, 255, 0.3);
    --header-bg: rgba(255, 255, 255, 0.95);
    --header-bg-scroll: rgba(255, 255, 255, 0.98);
    --header-border: rgba(37, 208, 102, 0.4);
    --header-shadow: rgba(0, 0, 0, 0.06);
    --border-green: rgba(37, 208, 102, 0.3);
    --border-subtle: rgba(0, 0, 0, 0.07);
    --border-form: rgba(0, 0, 0, 0.18);
    --border-submit: rgba(0, 0, 0, 0.22);
    --card-bg: linear-gradient(135deg, #ffffff 0%, #f7f8fa 100%);
    --card-bg-hover: linear-gradient(135deg, #f9fafb 0%, #f0f2f5 100%);
    --service-card-bg: linear-gradient(135deg, #ffffff 0%, #f8f9fb 100%);
    --service-card-bg-hover: linear-gradient(135deg, #f5f7fa 0%, #eef0f3 100%);
    --process-icon-bg: linear-gradient(135deg, #ffffff 0%, #f4f6f8 100%);
    --process-icon-bg-hover: linear-gradient(135deg, #f0f3f6 0%, #e8ebef 100%);
    --section-scenarios: linear-gradient(180deg, #eaecef 0%, #f4f6f8 100%);
    --section-process: linear-gradient(180deg, #f4f6f8 0%, #eaecef 50%, #f4f6f8 100%);
    --section-services: linear-gradient(180deg, #eaecef 0%, #f4f6f8 100%);
    --section-philosophy: linear-gradient(180deg, #f4f6f8 0%, #eaecef 50%, #f4f6f8 100%);
    --nav-mobile-bg: linear-gradient(135deg, #ffffff 0%, #f4f6f8 100%);
    --nav-mobile-shadow: rgba(0, 0, 0, 0.12);
    --overlay-bg: rgba(0, 0, 0, 0.45);
    --form-text: #1a1a1a;
    --form-placeholder: rgba(0, 0, 0, 0.38);
    --submit-hover-bg: #1a1a1a;
    --submit-hover-text: #ffffff;
    --social-border: rgba(255, 255, 255, 0.1);
    --social-color: rgba(255, 255, 255, 0.35);
    --toggle-bg: rgba(0, 0, 0, 0.05);
    --toggle-border: rgba(0, 0, 0, 0.12);
    --toggle-icon-color: rgba(0, 0, 0, 0.55);
    --toggle-hover-bg: rgba(0, 0, 0, 0.09);
    --glow-intensity: 0.2;
}

/* =========================================
   RESET & BASE
   ========================================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', system-ui, sans-serif;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    transition: background-color 0.4s ease, color 0.4s ease;
}

html {
    scroll-behavior: smooth;
}

/* =========================================
   THEME TOGGLE
   ========================================= */
.theme-toggle {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    border: 1px solid var(--toggle-border);
    background: var(--toggle-bg);
    color: var(--toggle-icon-color);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.theme-toggle:hover {
    background: var(--toggle-hover-bg);
    border-color: var(--green);
    color: var(--green);
}

.theme-toggle svg {
    transition: transform 0.4s ease;
}

.theme-toggle:active svg {
    transform: rotate(180deg);
}

.theme-toggle .icon-sun { display: none; }
.theme-toggle .icon-moon { display: block; }
[data-theme="light"] .theme-toggle .icon-sun { display: block; }
[data-theme="light"] .theme-toggle .icon-moon { display: none; }

/* =========================================
   HEADER
   ========================================= */
header {
    background: var(--header-bg);
    backdrop-filter: blur(10px);
    padding: 1rem 6%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 2px solid var(--header-border);
    box-shadow: 0 4px 20px var(--header-shadow);
    transition: background 0.4s ease;
}

.logo {
    display: flex;
    align-items: center;
    gap: 1rem;
    z-index: 1001;
}

.logo-image {
    height: 50px;
    width: auto;
}

.logo-mobile { display: none; }
.logo-mobile-light { display: none; }
.logo-mobile-dark { display: none; }
.logo-desktop { display: block; }

/* Logo swap por tema: dark activo muestra logo claro, light activo muestra logo oscuro */
.logo-light { display: block; }
.logo-dark { display: none; }
[data-theme="light"] .logo-light { display: none; }
[data-theme="light"] .logo-dark { display: block; }

.header-right {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
    z-index: 1001;
}

.menu-toggle span {
    width: 28px;
    height: 3px;
    background: var(--green);
    border-radius: 3px;
    transition: all 0.3s ease;
}

.menu-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(8px, 8px); }
.menu-toggle.active span:nth-child(2) { opacity: 0; }
.menu-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(7px, -7px); }

nav ul {
    display: flex;
    list-style: none;
    gap: 2.5rem;
    align-items: center;
}

nav a {
    text-decoration: none;
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.3s;
}

nav a:hover { color: var(--green); }

.btn-header {
    background: rgba(37, 208, 102, 0.1);
    color: var(--green);
    padding: 0.7rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    border: 2px solid var(--border-green);
    transition: all 0.3s;
}

.btn-header:hover {
    background: rgba(37, 208, 102, 0.2);
    border-color: rgba(37, 208, 102, 0.5);
}

/* =========================================
   HERO (stays the same in both themes)
   ========================================= */
.hero {
    background: linear-gradient(135deg, #25D066 0%, #35AC80 25%, #125845 60%, #000000 100%);
    padding: 10rem 6% 12rem;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: radial-gradient(circle at 30% 50%, rgba(37, 208, 102, 0.2) 0%, transparent 50%);
    pointer-events: none;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: 0; right: 0;
    width: 50%; height: 50%;
    background: radial-gradient(circle at 100% 100%, rgba(0, 0, 0, 0.4) 0%, transparent 70%);
    pointer-events: none;
}

.hero-content {
    max-width: 900px;
    position: relative;
    z-index: 1;
}

.hero-label {
    display: inline-block;
    padding: 0.6rem 1.2rem;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 25px;
    color: #ffffff;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 2rem;
    letter-spacing: 0.5px;
}

.hero h1 {
    font-size: 4rem;
    line-height: 1.1;
    font-weight: 800;
    margin-bottom: 2rem;
    letter-spacing: -0.03em;
    color: #ffffff;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.hero h1 .highlight {
    color: #ffffff;
    font-weight: 300;
}

.hero p {
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 3rem;
    line-height: 1.7;
    max-width: 650px;
    font-weight: 400;
}

.hero-buttons { display: flex; gap: 1rem; }

.btn {
    padding: 1.1rem 2.5rem;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s;
    display: inline-block;
}

.btn-primary {
    background: #ffffff;
    color: #125845;
    box-shadow: 0 10px 40px rgba(255, 255, 255, 0.2);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 50px rgba(255, 255, 255, 0.3);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
}

/* =========================================
   SCENARIOS
   ========================================= */
.scenarios {
    padding: 6rem 6%;
    background: var(--section-scenarios);
    transition: background 0.4s ease;
}

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

.section-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
    color: var(--text-primary);
}

.scenarios-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto 3rem;
}

.scenario-card {
    background: var(--card-bg);
    border: 2px solid var(--border-green);
    border-radius: 16px;
    padding: 2rem;
    transition: all 0.3s;
    position: relative;
}

.scenario-card::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 16px;
    padding: 2px;
    background: linear-gradient(135deg, rgba(37, 208, 102, 0.2), rgba(53, 172, 128, 0.1));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.3s;
}

.scenario-card:hover {
    background: var(--card-bg-hover);
    border-color: var(--green);
    transform: translateY(-4px);
    box-shadow: 0 0 24px rgba(37, 208, 102, calc(var(--glow-intensity) * 0.5)),
                0 8px 24px rgba(37, 208, 102, calc(var(--glow-intensity) * 0.3));
}

.scenario-card:hover::after { opacity: 1; }

.scenario-card::before {
    content: '—';
    color: var(--green);
    font-size: 1.5rem;
    display: block;
    margin-bottom: 1rem;
}

.scenario-card p {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.6;
}

/* =========================================
   ABOUT
   ========================================= */
.about {
    padding: 6rem 6%;
    background: var(--bg-contact);
    transition: background 0.4s ease;
}

.about-mobile-buttons {
    display: none;
}

.about-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 5rem;
    align-items: start;
    position: relative;
    z-index: 1;
}

/* Bloque izquierdo — contenido dinámico */
.about-content-block {
    display: none;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.35s ease, transform 0.35s ease;
}

.about-content-block.about-visible {
    display: block;
}

.about-content-block.about-animated {
    opacity: 1;
    transform: translateY(0);
}

.about-content-block h3 {
    font-size: 0.68rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: rgba(37, 208, 102, 0.65);
    margin-bottom: 0.65rem;
}

.about-content-block p {
    font-size: 0.97rem;
    color: var(--text-secondary);
    line-height: 1.85;
    font-weight: 300;
    max-width: 520px;
    transition: color 0.4s ease;
}

/* Bloque derecho — línea vertical + timeline */
.about-right {
    position: relative;
    padding-top: 0.4rem;
    min-height: 300px;
}

.about-vert-line {
    position: absolute;
    left: 0; top: 0; bottom: 0;
    width: 1px;
    background: linear-gradient(180deg, var(--green) 0%, transparent 100%);
}

.about-timeline {
    position: absolute;
    left: 0; top: 0;
    display: flex;
    flex-direction: column;
    gap: 56px;
}

.about-tl-item {
    display: flex;
    align-items: center;
    background: none;
    border: none;
    padding: 0;
    font-family: inherit;
    cursor: pointer;
    transition: transform 0.2s ease;
}

.about-tl-item:hover {
    transform: translateX(3px);
}

.about-tl-item:hover .about-tl-label {
    color: rgba(37, 208, 102, 0.5) !important;
}

.about-tl-dot {
    width: 9px; height: 9px;
    border-radius: 50%;
    border: 2px solid var(--green);
    background: var(--bg-primary);
    position: relative;
    left: -4px;
    flex-shrink: 0;
    transition: background 0.3s ease, box-shadow 0.3s ease;
}

.about-tl-dot-active {
    background: var(--green);
    box-shadow: 0 0 8px rgba(37, 208, 102, 0.45);
}

.about-tl-label {
    margin-left: 18px;
    font-size: 0.67rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.13em;
    color: var(--text-dim);
    white-space: nowrap;
    transition: color 0.4s ease;
}

.about-tl-active .about-tl-label {
    color: rgba(37, 208, 102, 0.6);
}

/* =========================================
   PROCESS
   ========================================= */
.process {
    padding: 6rem 6%;
    background: var(--section-process);
    position: relative;
    overflow: hidden;
    transition: background 0.4s ease;
}

.process::before {
    content: '';
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 1200px; height: 1200px;
    background: radial-gradient(circle, rgba(37, 208, 102, 0.08) 0%, transparent 70%);
    border-radius: 50%;
}

.process-container {
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 2rem;
    margin-top: 4rem;
}

.process-step { text-align: center; position: relative; }

.process-number {
    width: 40px; height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(37, 208, 102, 0.15), rgba(53, 172, 128, 0.1));
    border: 2px solid rgba(37, 208, 102, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-weight: 600;
    color: var(--green);
    font-size: 0.9rem;
    box-shadow: 0 0 16px rgba(37, 208, 102, 0.25);
}

.process-icon {
    width: 80px; height: 80px;
    margin: 0 auto 1.5rem;
    background: var(--process-icon-bg);
    border: 2px solid var(--border-green);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    box-shadow: 0 4px 16px rgba(37, 208, 102, 0.12);
}

.process-step:hover .process-icon {
    background: var(--process-icon-bg-hover);
    border-color: rgba(37, 208, 102, 0.6);
    transform: scale(1.05);
    box-shadow: 0 8px 28px rgba(37, 208, 102, 0.25);
}

.process-step h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.process-step p {
    font-size: 0.9rem;
    color: var(--text-muted);
    font-weight: 300;
}

/* =========================================
   SERVICES
   ========================================= */
.services {
    padding: 6rem 6%;
    background: var(--section-services);
    position: relative;
    overflow: hidden;
    transition: background 0.4s ease;
}

.services::before {
    content: '';
    position: absolute;
    bottom: -30%; right: -15%;
    width: 800px; height: 800px;
    background: radial-gradient(circle, rgba(37, 208, 102, 0.08) 0%, transparent 70%);
    border-radius: 50%;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 4rem auto 0;
    position: relative;
    z-index: 1;
}

.service-card {
    background: var(--service-card-bg);
    border: 2px solid var(--border-green);
    border-radius: 20px;
    padding: 3rem;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 4px;
    background: linear-gradient(90deg, #25D066 0%, #35AC80 50%, #25D066 100%);
    opacity: 0;
    transition: opacity 0.3s;
}

.service-card:hover {
    background: var(--service-card-bg-hover);
    border-color: var(--green);
    transform: translateY(-4px);
    box-shadow: 0 0 24px rgba(37, 208, 102, calc(var(--glow-intensity) * 0.5)),
                0 12px 32px rgba(37, 208, 102, calc(var(--glow-intensity) * 0.3));
}

.service-card:hover::before { opacity: 1; }

.service-icon {
    width: 60px; height: 60px;
    background: linear-gradient(135deg, rgba(37, 208, 102, 0.15), rgba(53, 172, 128, 0.1));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
    box-shadow: 0 0 16px rgba(37, 208, 102, 0.15);
}

.service-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

.service-card ul { list-style: none; }

.service-card li {
    padding: 0.8rem 0;
    color: var(--text-secondary);
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.service-card li::before {
    content: '→';
    color: var(--green);
    font-weight: 600;
}

.service-card-full {
    background: var(--service-card-bg);
    border: 2px solid var(--border-green);
    border-radius: 20px;
    padding: 2.5rem 3rem;
    margin-top: 2rem;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    display: flex;
    align-items: center;
    gap: 2rem;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}

.service-card-full .service-icon { flex-shrink: 0; }

.service-full-content { flex: 1; }

.service-full-content h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.service-full-content p {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--green);
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s;
}

.service-link:hover { gap: 0.8rem; color: var(--green-mid); }

.service-card-full:hover {
    border-color: var(--green);
    transform: translateY(-4px);
    box-shadow: 0 0 24px rgba(37, 208, 102, calc(var(--glow-intensity) * 0.5)),
                0 12px 32px rgba(37, 208, 102, calc(var(--glow-intensity) * 0.3));
}

/* =========================================
   PHILOSOPHY
   ========================================= */
.philosophy {
    padding: 6rem 6%;
    background: var(--section-philosophy);
    position: relative;
    overflow: hidden;
    transition: background 0.4s ease;
}

.philosophy::before {
    content: '';
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 1000px; height: 1000px;
    background: radial-gradient(circle, rgba(37, 208, 102, 0.06) 0%, transparent 70%);
    border-radius: 50%;
}

.philosophy-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    max-width: 1200px;
    margin: 4rem auto 0;
    position: relative;
    z-index: 1;
}

.philosophy-column {
    background: var(--service-card-bg);
    border: 2px solid var(--border-green);
    border-radius: 20px;
    padding: 3rem;
    box-shadow: 0 8px 28px rgba(37, 208, 102, calc(var(--glow-intensity) * 0.15));
    transition: all 0.3s;
}

.philosophy-column:hover {
    border-color: var(--green);
    box-shadow: 0 0 24px rgba(37, 208, 102, calc(var(--glow-intensity) * 0.5)),
                0 12px 40px rgba(37, 208, 102, calc(var(--glow-intensity) * 0.25));
}

.philosophy-column h3 {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 2rem;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 1rem;
}

.philosophy-column h3::before {
    content: '';
    width: 4px; height: 30px;
    background: linear-gradient(180deg, #25D066 0%, #35AC80 100%);
    border-radius: 2px;
    box-shadow: 0 0 10px rgba(37, 208, 102, 0.4);
}

.philosophy-column ul { list-style: none; }

.philosophy-column li {
    padding: 1rem 0;
    color: var(--text-secondary);
    font-size: 1rem;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.philosophy-column li::before {
    content: '✓';
    color: var(--green);
    font-weight: 600;
    font-size: 1.2rem;
}

/* =========================================
   CTA (stays green in both themes)
   ========================================= */
.cta {
    padding: 8rem 6%;
    background: linear-gradient(135deg, #25D066 0%, #35AC80 50%, #20b362 100%);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta::before {
    content: '';
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 800px; height: 800px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.05) 0%, transparent 70%);
    border-radius: 50%;
}

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

.cta h2 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
    color: #ffffff;
}

.cta p {
    font-size: 1.4rem;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 3rem;
}

/* =========================================
   CONTACT
   ========================================= */
.contact {
    padding: 6rem 6%;
    background: var(--bg-contact);
    transition: background 0.4s ease;
}

.contact-wrapper {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 6rem;
    align-items: start;
}

.contact-info h2 {
    font-size: 4rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 2rem;
    letter-spacing: -0.02em;
}

.contact-description {
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 3rem;
}

.contact-details {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 2;
}

.contact-details strong {
    color: var(--text-dim);
    font-weight: 400;
}

.contact-form-wrapper { width: 100%; }
.contact-form { width: 100%; }

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

.form-group { margin-bottom: 2rem; }
.form-group label { display: none; }

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.8rem 0;
    background: transparent;
    border: none;
    border-bottom: 1px solid var(--border-form);
    color: var(--form-text);
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.3s;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--form-placeholder);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-bottom-color: var(--green);
}

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

.btn-submit {
    padding: 1rem 3rem;
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--border-submit);
    border-radius: 0;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
    float: right;
}

.btn-submit:hover {
    background: var(--submit-hover-bg);
    color: var(--submit-hover-text);
    border-color: var(--submit-hover-bg);
}

/* =========================================
   FOOTER (always dark)
   ========================================= */
footer {
    background: var(--bg-footer);
    padding: 5rem 6% 0;
    border-top: 1px solid rgba(37, 208, 102, 0.2);
}

.footer-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.8fr 1fr 1.2fr;
    gap: 4rem;
    padding-bottom: 4rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-brand .footer-logo {
    height: 100px;
    width: auto;
    margin-bottom: 1.8rem;
    display: block;
}

.footer-brand > p {
    color: var(--text-footer-brand);
    font-size: 0.92rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.footer-disclaimer {
    color: var(--text-footer-disclaimer) !important;
    font-size: 0.78rem !important;
    line-height: 1.5 !important;
    margin-top: 1.5rem !important;
}

.footer-col h4 {
    color: #ffffff;
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 1.8rem;
}

.footer-col ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
}

.footer-col ul li a {
    color: var(--text-footer-link);
    text-decoration: none;
    font-size: 0.92rem;
    transition: color 0.3s;
    position: relative;
    padding-left: 1rem;
}

.footer-col ul li a::before {
    content: '';
    position: absolute;
    left: 0; top: 50%;
    transform: translateY(-50%);
    width: 4px; height: 4px;
    border-radius: 50%;
    background: rgba(37, 208, 102, 0.4);
    transition: background 0.3s;
}

.footer-col ul li a:hover { color: var(--green); }
.footer-col ul li a:hover::before { background: var(--green); }

.footer-contact-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.8rem;
}

.footer-contact-list li svg {
    flex-shrink: 0;
    margin-top: 2px;
}

.footer-contact-list li a,
.footer-contact-list li span {
    color: var(--text-footer-link);
    font-size: 0.92rem;
    text-decoration: none;
    transition: color 0.3s;
    line-height: 1.5;
}

.footer-contact-list li a:hover { color: var(--green); }

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer-bottom p {
    color: var(--text-footer-copy);
    font-size: 0.82rem;
}

/* =========================================
   RESPONSIVE — 1024px
   ========================================= */
@media (max-width: 1024px) {
    .hero h1 { font-size: 3.5rem; }
    .process-steps { grid-template-columns: repeat(3, 1fr); }
    .contact-wrapper { gap: 4rem; }
    .contact-info h2 { font-size: 3.5rem; }
}

/* =========================================
   RESPONSIVE — 768px
   ========================================= */
@media (max-width: 768px) {
    header { padding: 1rem 5%; }

    .logo-desktop { display: none !important; }
    .logo-light { display: none !important; }
    .logo-dark { display: none !important; }
    .logo-mobile-light { display: block; height: 45px; }
    .logo-mobile-dark { display: none; }
    [data-theme="light"] .logo-mobile-light { display: none; }
    [data-theme="light"] .logo-mobile-dark { display: block; height: 45px; }

    .header-right { gap: 0.8rem; }
    .menu-toggle { display: flex; }

    nav {
        position: fixed;
        top: 0; right: -100%;
        width: 280px; height: 100vh;
        background: var(--nav-mobile-bg);
        border-left: 2px solid var(--border-green);
        box-shadow: -4px 0 20px var(--nav-mobile-shadow);
        padding: 6rem 2rem 2rem;
        transition: right 0.3s ease, background 0.4s ease;
        overflow-y: auto;
    }

    nav.active { right: 0; }

    nav ul { flex-direction: column; gap: 0; align-items: stretch; }
    nav li { border-bottom: 1px solid var(--border-green); }

    nav a {
        display: block;
        padding: 1.2rem 0;
        font-size: 1rem;
        color: var(--text-secondary);
    }

    .btn-header {
        display: block;
        text-align: center;
        margin-top: 1rem;
        background: linear-gradient(135deg, #25D066 0%, #35AC80 100%);
        color: #ffffff;
        border-color: transparent;
    }

    body.menu-open::before {
        content: '';
        position: fixed;
        top: 0; left: 0;
        width: 100%; height: 100%;
        background: var(--overlay-bg);
        z-index: 999;
        animation: fadeIn 0.3s ease;
    }

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

    .hero { padding: 6rem 6% 8rem; }
    .hero h1 { font-size: 2.5rem; }
    .hero p { font-size: 1.1rem; }
    .hero-buttons { flex-direction: column; }

    .section-title { font-size: 2rem; }

    .about {
        padding: 4rem 6%;
    }

    .about-inner {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .about-right {
        display: none;
    }

    .about-content-block {
        margin-top: 2rem;
    }

    /* Botones horizontales para móvil */
    .about-mobile-buttons {
        display: flex !important;
        gap: 0.8rem;
        margin-top: 2rem;
        flex-wrap: wrap;
        justify-content: center;
    }

    .about-mobile-btn {
        background: rgba(37, 208, 102, 0.1);
        color: var(--green);
        padding: 0.7rem 1.5rem;
        border-radius: 8px;
        font-weight: 600;
        border: 2px solid var(--border-green);
        font-size: 0.85rem;
        cursor: pointer;
        transition: all 0.3s;
        font-family: inherit;
        text-transform: uppercase;
        letter-spacing: 0.05em;
    }

    .about-mobile-btn:hover,
    .about-mobile-btn.active {
        background: rgba(37, 208, 102, 0.2);
        border-color: rgba(37, 208, 102, 0.5);
    }

    .scenarios-grid { grid-template-columns: 1fr; }
    .process-steps { grid-template-columns: 1fr; }
    .services-grid { grid-template-columns: 1fr; }

    .service-card-full {
        flex-direction: column;
        text-align: center;
        padding: 2rem;
    }

    .service-full-content p { margin-bottom: 1.5rem; }

    .contact-wrapper { grid-template-columns: 1fr; gap: 4rem; }
    .contact-info h2 { font-size: 3rem; }
    .form-row { grid-template-columns: 1fr; gap: 1.5rem; }

    .btn-submit { width: 100%; float: none; }
    .philosophy-grid { grid-template-columns: 1fr; }
    .cta h2 { font-size: 2rem; }
    .footer-grid { grid-template-columns: 1fr; gap: 2.5rem; }
    .footer-bottom { flex-direction: column; gap: 1.2rem; text-align: center; }
}
