/* ===================================
   VARIABLES Y RESET
   =================================== */
:root {
    --primary-orange: #F47920;
    --primary-blue: #2B4C7E;
    --dark-blue: #1A3355;
    --light-blue: #4A6FA5;
    --accent-blue: #5B8BC4;
    --white: #FFFFFF;
    --light-gray: #F5F7FA;
    --medium-gray: #E0E5EB;
    --dark-gray: #4A5568;
    --text-dark: #2D3748;
    --green: #2E7D32;
    --light-green: #E8F5E9;
    --red: #D32F2F;
    --light-red: #FFEBEE;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.15);
    --shadow-xl: 0 20px 60px rgba(0, 0, 0, 0.2);
}

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

/* Prevenir scroll horizontal en móvil */
html {
    scroll-behavior: smooth;
    overflow-x: hidden;
    max-width: 100vw;
}

html, body {
    overflow-x: hidden;
    max-width: 100%;
    position: relative;
}

body {
    font-family: 'Open Sans', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
    /* Prevenir overflow horizontal */
    max-width: 100vw;
}

/* Prevenir overflow en todos los elementos */
* {
    box-sizing: border-box;
    word-wrap: break-word;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    /* Prevenir títulos muy largos */
    overflow-wrap: break-word;
    word-break: break-word;
    hyphens: auto;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    /* Prevenir enlaces largos */
    overflow-wrap: break-word;
    word-break: break-word;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    /* Asegurar que nunca exceda el viewport */
    width: 100%;
    overflow-x: hidden;
}

/* ===================================
   HEADER & NAVIGATION
   =================================== */
.header {
    background: var(--white);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
}

.logo-image {
    height: 50px;
    width: auto;
    transition: transform 0.3s ease;
}

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

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-menu a {
    color: var(--dark-blue);
    font-weight: 600;
    transition: color 0.3s ease;
    font-size: 0.95rem;
}

.nav-menu a:hover {
    color: var(--primary-orange);
}

.btn-cta-nav {
    background: var(--primary-orange);
    color: var(--white) !important;
    padding: 0.6rem 1.5rem;
    border-radius: 25px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.btn-cta-nav:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--primary-blue);
    transition: all 0.3s ease;
}

/* ===================================
   HERO SECTION
   =================================== */
.hero {
    background: linear-gradient(135deg, var(--light-gray) 0%, var(--white) 100%);
    padding: 80px 20px;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 60px;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.hero-content {
    animation: fadeInLeft 1s ease;
}

.hero-title {
    font-size: 3rem;
    color: var(--primary-blue);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.hero-subtitle {
    font-size: 1.4rem;
    color: var(--dark-gray);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.highlight {
    color: var(--primary-orange);
    font-weight: 700;
}

.hero-benefits {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin: 2rem 0;
}

.benefit-badge {
    background: var(--white);
    padding: 1.5rem 1rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease;
}

.benefit-badge:hover {
    transform: translateY(-5px);
}

.benefit-icon {
    font-size: 2.5rem;
    display: block;
    margin-bottom: 0.5rem;
}

.benefit-badge p {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--primary-blue);
}

.hero-cta {
    display: flex;
    gap: 20px;
    margin-top: 2rem;
}

.hero-image {
    animation: fadeInRight 1s ease;
}

.hero-image img {
    width: 100%;
    border-radius: 15px;
    box-shadow: var(--shadow-lg);
}

.btn-primary {
    display: inline-block;
    background: var(--primary-orange);
    color: var(--white);
    padding: 1rem 2.5rem;
    border-radius: 30px;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: var(--shadow);
    border: none;
    cursor: pointer;
}

.btn-primary:hover {
    background: var(--dark-blue);
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    display: inline-block;
    background: var(--white);
    color: var(--primary-blue);
    padding: 1rem 2.5rem;
    border-radius: 30px;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: var(--shadow);
    border: 2px solid var(--primary-blue);
}

.btn-secondary:hover {
    background: var(--primary-blue);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

/* ===================================
   STATS BAR
   =================================== */
.stats-bar {
    background: var(--primary-blue);
    color: var(--white);
    padding: 2.5rem 20px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 800;
    font-family: 'Montserrat', sans-serif;
    color: var(--primary-orange);
}

.stat-label {
    display: block;
    font-size: 1rem;
    margin-top: 0.5rem;
    opacity: 0.95;
}

/* ===================================
   FOR WHO SECTION
   =================================== */
.for-who {
    background: var(--white);
    padding: 80px 20px;
}

.section-title {
    font-size: 2.5rem;
    color: var(--primary-blue);
    text-align: center;
    margin-bottom: 1rem;
    font-weight: 800;
}

.section-intro {
    text-align: center;
    font-size: 1.2rem;
    color: var(--dark-gray);
    margin-bottom: 3rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.section-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: var(--primary-orange);
    font-weight: 600;
    margin-bottom: 3rem;
}

.scenarios-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-bottom: 3rem;
}

.scenario-card {
    background: var(--light-gray);
    border-radius: 15px;
    padding: 2rem;
    transition: all 0.3s ease;
}

.scenario-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.scenario-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 1.5rem;
}

.scenario-icon {
    font-size: 2rem;
}

.scenario-header h3 {
    color: var(--primary-blue);
    font-size: 1.2rem;
}

.scenario-content {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.challenge-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.check-red {
    color: var(--red);
    font-size: 1.2rem;
    font-weight: bold;
    flex-shrink: 0;
}

.challenge-item p {
    color: var(--dark-gray);
    line-height: 1.5;
}

.trainteq-serves {
    background: linear-gradient(135deg, var(--primary-orange) 0%, #D86515 100%);
    color: var(--white);
    padding: 2.5rem;
    border-radius: 15px;
    margin-top: 3rem;
}

.trainteq-serves h3 {
    color: var(--white);
    font-size: 1.8rem;
    margin-bottom: 2rem;
    text-align: center;
}

.serves-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.serve-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    background: rgba(255, 255, 255, 0.1);
    padding: 1.5rem;
    border-radius: 10px;
}

.arrow-icon {
    font-size: 2rem;
    color: var(--white);
    font-weight: bold;
}

.serve-content h4 {
    color: var(--white);
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.serve-content p {
    opacity: 0.95;
}

/* ===================================
   SOLUTION SECTION
   =================================== */
.solution {
    background: var(--light-gray);
    padding: 80px 20px;
}

.transformation-box {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 15px;
    margin-bottom: 3rem;
    box-shadow: var(--shadow);
}

.transformation-box h3 {
    color: var(--primary-blue);
    font-size: 2rem;
    text-align: center;
    margin-bottom: 2rem;
}

.transformation-grid {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.transform-row {
    display: grid;
    grid-template-columns: 2fr auto 2fr;
    align-items: center;
    gap: 20px;
    padding: 1rem;
    background: var(--light-gray);
    border-radius: 10px;
}

.transform-before {
    background: var(--light-red);
    color: var(--red);
    padding: 0.8rem 1.2rem;
    border-radius: 8px;
    font-weight: 700;
    text-align: center;
}

.transform-arrow {
    font-size: 1.5rem;
    color: var(--primary-orange);
    font-weight: bold;
}

.transform-after {
    background: var(--light-green);
    color: var(--green);
    padding: 0.8rem 1.2rem;
    border-radius: 8px;
    font-weight: 700;
    text-align: center;
}

.methodology {
    background: var(--primary-blue);
    color: var(--white);
    padding: 3rem;
    border-radius: 15px;
    margin-bottom: 3rem;
}

.methodology h3 {
    color: var(--white);
    font-size: 2rem;
    text-align: center;
    margin-bottom: 1rem;
}

.methodology-intro {
    text-align: center;
    font-size: 1.1rem;
    margin-bottom: 2.5rem;
    opacity: 0.95;
}

.methodology-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 2rem;
}

.method-step {
    background: rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: 12px;
}

.step-number {
    width: 50px;
    height: 50px;
    background: var(--primary-orange);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.method-step h4 {
    color: var(--white);
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.method-step ul {
    list-style: none;
    padding: 0;
}

.method-step li {
    padding: 0.5rem 0 0.5rem 1.5rem;
    position: relative;
}

.method-step li:before {
    content: "→";
    position: absolute;
    left: 0;
    color: var(--primary-orange);
    font-weight: bold;
}

.methodology-result {
    display: flex;
    align-items: center;
    gap: 20px;
    background: var(--white);
    color: var(--primary-blue);
    padding: 2rem;
    border-radius: 12px;
    margin-top: 2rem;
}

.result-icon {
    font-size: 3rem;
}

.result-content h4 {
    color: var(--primary-orange);
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.result-content p {
    font-size: 1.05rem;
    line-height: 1.6;
}

.results-box {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 15px;
    margin-bottom: 3rem;
    box-shadow: var(--shadow);
}

.results-box h3 {
    color: var(--primary-blue);
    font-size: 2rem;
    text-align: center;
    margin-bottom: 2rem;
}

.results-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 2rem;
}

.result-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    background: var(--light-gray);
    padding: 1.5rem;
    border-radius: 10px;
}

.result-bullet {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.result-item p {
    font-size: 1.05rem;
    line-height: 1.5;
}

.scientific-base {
    background: var(--primary-orange);
    color: var(--white);
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
}

.scientific-base h4 {
    color: var(--white);
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.scientific-base p {
    font-size: 1.05rem;
}

.solution-image {
    text-align: center;
    margin-top: 3rem;
}

.solution-image img {
    max-width: 700px;
    margin: 0 auto;
    border-radius: 15px;
    box-shadow: var(--shadow-lg);
}

/* ===================================
   PROGRAMS SECTION
   =================================== */
.programs {
    background: var(--white);
    padding: 80px 20px;
}

.program-featured {
    background: linear-gradient(135deg, var(--primary-orange) 0%, #D86515 100%);
    color: var(--white);
    padding: 3rem;
    border-radius: 15px;
    margin-bottom: 3rem;
    box-shadow: var(--shadow-lg);
}

.program-icon-large {
    font-size: 4rem;
    text-align: center;
    margin-bottom: 1rem;
}

.program-featured h3 {
    color: var(--white);
    font-size: 2rem;
    text-align: center;
    margin-bottom: 0.5rem;
}

.program-tagline {
    text-align: center;
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 2rem;
    opacity: 0.95;
}

.program-details {
    background: rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: 12px;
}

.program-for,
.program-includes,
.program-format {
    margin-bottom: 2rem;
}

.program-for h4,
.program-includes h4,
.program-format h4 {
    color: var(--white);
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.program-for ul,
.program-format ul {
    list-style: none;
    padding-left: 0;
}

.program-for li,
.program-format li {
    padding: 0.5rem 0 0.5rem 2rem;
    position: relative;
}

.program-for li:before,
.program-format li:before {
    content: "•";
    position: absolute;
    left: 0.5rem;
    font-size: 1.5rem;
}

.includes-grid {
    display: grid;
    gap: 12px;
}

.include-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.check {
    color: #4CAF50;
    font-size: 1.3rem;
    font-weight: bold;
    flex-shrink: 0;
}

.include-item p {
    line-height: 1.5;
}

.program-card {
    background: var(--light-gray);
    padding: 2.5rem;
    border-radius: 15px;
    margin-bottom: 3rem;
}

.program-card.highlight {
    background: var(--primary-blue);
    color: var(--white);
}

.program-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 2rem;
}

.program-icon {
    font-size: 2.5rem;
}

.program-header h3 {
    font-size: 1.8rem;
}

.program-card.highlight h3,
.program-card.highlight h4 {
    color: var(--white);
}

.program-content {
    background: rgba(255, 255, 255, 0.05);
    padding: 2rem;
    border-radius: 10px;
}

.includes-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.program-result {
    background: rgba(255, 255, 255, 0.1);
    padding: 1.5rem;
    border-radius: 8px;
    margin-top: 1.5rem;
}

.program-result p {
    margin: 0;
    line-height: 1.6;
}

.complementary-modules {
    margin-bottom: 3rem;
}

.complementary-modules h3 {
    color: var(--primary-blue);
    font-size: 2rem;
    margin-bottom: 2rem;
}

.modules-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.module-card {
    background: var(--light-gray);
    padding: 2rem;
    border-radius: 15px;
    transition: all 0.3s ease;
}

.module-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.module-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.module-card h4 {
    color: var(--primary-blue);
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.module-card p {
    margin-bottom: 1rem;
    line-height: 1.6;
}

.module-card ul {
    list-style: none;
    padding: 0;
}

.module-card li {
    padding: 0.3rem 0 0.3rem 1.5rem;
    position: relative;
}

.module-card li:before {
    content: "→";
    position: absolute;
    left: 0;
    color: var(--primary-orange);
}

.consultancy-box {
    background: var(--white);
    border: 3px solid var(--primary-orange);
    padding: 2.5rem;
    border-radius: 15px;
    margin-bottom: 3rem;
}

.consultancy-icon {
    font-size: 3rem;
    text-align: center;
    margin-bottom: 1rem;
}

.consultancy-box h3 {
    color: var(--primary-blue);
    font-size: 2rem;
    text-align: center;
    margin-bottom: 1rem;
}

.consultancy-intro {
    text-align: center;
    font-size: 1.1rem;
    color: var(--dark-gray);
    margin-bottom: 2rem;
}

.consultancy-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 30px;
}

.consultancy-includes h4 {
    color: var(--primary-blue);
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.consultancy-includes ul {
    list-style: none;
    padding: 0;
}

.consultancy-includes li {
    padding: 0.5rem 0 0.5rem 1.5rem;
    position: relative;
}

.consultancy-includes li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #4CAF50;
    font-weight: bold;
}

.consultancy-result {
    background: var(--light-blue);
    color: var(--white);
    padding: 1.5rem;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.delivery-box {
    background: var(--light-gray);
    padding: 2.5rem;
    border-radius: 15px;
    margin-bottom: 3rem;
}

.delivery-box h3 {
    color: var(--primary-blue);
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.delivery-box > p {
    margin-bottom: 1.5rem;
}

.delivery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.delivery-item {
    display: flex;
    align-items: center;
    gap: 12px;
}

.programs-image {
    text-align: center;
    margin-top: 3rem;
}

.programs-image img {
    max-width: 700px;
    margin: 0 auto;
    border-radius: 15px;
    box-shadow: var(--shadow-lg);
}

/* ===================================
   ABOUT SECTION
   =================================== */
.about {
    background: var(--light-gray);
    padding: 80px 20px;
}

.about-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 3rem;
}

.about-intro p {
    font-size: 1.2rem;
    color: var(--dark-gray);
    line-height: 1.7;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 3rem;
}

.about-section {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: var(--shadow);
}

.about-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.about-section h3 {
    color: var(--primary-blue);
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.companies {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 1.5rem;
}

.company {
    background: var(--light-gray);
    padding: 0.8rem;
    border-radius: 8px;
    font-weight: 600;
    color: var(--primary-blue);
    text-align: center;
}

.experience-list,
.specialization {
    margin-top: 1.5rem;
}

.experience-list p,
.education p,
.specialization p {
    font-weight: 600;
    color: var(--primary-blue);
    margin-bottom: 0.5rem;
}

.experience-list ul,
.specialization ul {
    list-style: none;
    padding: 0;
}

.experience-list li,
.specialization li {
    padding: 0.3rem 0 0.3rem 1.5rem;
    position: relative;
}

.experience-list li:before,
.specialization li:before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--primary-orange);
    font-size: 1.3rem;
}

.education {
    margin-bottom: 1.5rem;
}

.dual-experience {
    background: var(--primary-blue);
    color: var(--white);
    padding: 3rem;
    border-radius: 15px;
    margin-bottom: 3rem;
}

.dual-experience h3 {
    color: var(--white);
    font-size: 2rem;
    text-align: center;
    margin-bottom: 1rem;
}

.dual-intro {
    text-align: center;
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

.dual-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.dual-item {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(255, 255, 255, 0.1);
    padding: 1rem;
    border-radius: 8px;
}

.trained-section {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 15px;
    margin-bottom: 3rem;
    box-shadow: var(--shadow);
}

.trained-section h3 {
    color: var(--primary-blue);
    font-size: 2rem;
    margin-bottom: 1rem;
}

.trained-section > p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

.trained-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 2rem;
}

.trained-item {
    background: var(--light-gray);
    padding: 1rem;
    border-radius: 8px;
    color: var(--dark-gray);
}

.sectors {
    background: var(--primary-orange);
    color: var(--white);
    padding: 1.5rem;
    border-radius: 10px;
}

.sectors h4 {
    color: var(--white);
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.sectors p {
    font-size: 1.05rem;
}

.approach-box {
    background: var(--light-gray);
    padding: 2.5rem;
    border-radius: 15px;
    margin-bottom: 3rem;
}

.approach-box h3 {
    color: var(--primary-blue);
    font-size: 2rem;
    margin-bottom: 1rem;
}

.approach-box > p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

.approach-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-bottom: 2rem;
}

.approach-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.approach-highlight {
    background: var(--white);
    padding: 1.5rem;
    border-radius: 10px;
    border-left: 4px solid var(--primary-orange);
}

.approach-highlight p {
    margin-bottom: 0.5rem;
}

.team-images {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.team-images img {
    border-radius: 15px;
    box-shadow: var(--shadow-lg);
}

.team-image-single {
    text-align: center;
    margin-top: 2rem;
}

.team-image-single img {
    max-width: 600px;
    margin: 0 auto;
    border-radius: 15px;
    box-shadow: var(--shadow-lg);
}

.program-result h4,
.consultancy-result h4 {
    color: var(--white);
    font-size: 1.2rem;
    margin: 0;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
}

.consultancy-result p {
    margin: 0;
    line-height: 1.6;
    font-size: 1.05rem;
}

.corporate-training {
    margin-top: 1.5rem;
}

.corporate-training p {
    font-weight: 600;
    color: var(--primary-blue);
    margin-bottom: 0.5rem;
}

.corporate-training ul {
    list-style: none;
    padding: 0;
}

.corporate-training li {
    padding: 0.3rem 0 0.3rem 1.5rem;
    position: relative;
}

.corporate-training li:before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--primary-orange);
    font-size: 1.3rem;
}

/* ===================================
   PROCESS SECTION
   =================================== */
.process {
    background: var(--white);
    padding: 80px 20px;
}

.process-steps {
    margin-bottom: 3rem;
}

.process-step {
    background: var(--light-gray);
    padding: 2.5rem;
    border-radius: 15px;
    margin-bottom: 2rem;
    display: flex;
    gap: 30px;
    align-items: flex-start;
}

.step-number-large {
    width: 80px;
    height: 80px;
    background: var(--primary-orange);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    font-weight: 800;
    flex-shrink: 0;
}

.step-content {
    flex: 1;
}

.step-content h3 {
    color: var(--primary-blue);
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.free-badge,
.optional-badge {
    font-size: 1rem;
    color: var(--primary-orange);
    font-weight: 600;
}

.step-intro {
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

.step-content ul {
    list-style: none;
    padding: 0;
    margin-bottom: 1rem;
}

.step-content li {
    padding: 0.5rem 0 0.5rem 1.5rem;
    position: relative;
}

.step-content li:before {
    content: "→";
    position: absolute;
    left: 0;
    color: var(--primary-orange);
    font-weight: bold;
}

.step-note {
    font-style: italic;
    color: var(--dark-gray);
    margin-top: 1rem;
}

.formation-details {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin: 1.5rem 0;
}

.detail-box {
    background: var(--white);
    padding: 1.5rem;
    border-radius: 10px;
}

.detail-box h4 {
    color: var(--primary-blue);
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

.detail-box ul {
    list-style: none;
    padding: 0;
}

.detail-box li {
    padding: 0.3rem 0 0.3rem 1.2rem;
    position: relative;
    font-size: 0.95rem;
}

.detail-box li:before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--primary-orange);
}

.followup-box {
    background: var(--primary-blue);
    color: var(--white);
    padding: 2rem;
    border-radius: 12px;
    margin-top: 1.5rem;
}

.followup-box h4 {
    color: var(--white);
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.followup-box p {
    margin-bottom: 1rem;
}

.followup-box ul {
    list-style: none;
    padding: 0;
    margin-bottom: 1rem;
}

.followup-box li {
    padding: 0.3rem 0 0.3rem 1.5rem;
    position: relative;
}

.followup-box li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #4CAF50;
    font-weight: bold;
}

.guarantee {
    background: rgba(255, 255, 255, 0.1);
    padding: 1rem;
    border-radius: 8px;
    font-weight: 600;
    margin-top: 1rem;
}

.process-cta {
    background: linear-gradient(135deg, var(--primary-orange) 0%, #D86515 100%);
    color: var(--white);
    padding: 3rem;
    border-radius: 15px;
    text-align: center;
}

.process-cta h3 {
    color: var(--white);
    font-size: 2rem;
    margin-bottom: 1rem;
}

.process-cta p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

.btn-primary-large {
    display: inline-block;
    background: var(--white);
    color: var(--primary-orange);
    padding: 1.2rem 3rem;
    border-radius: 35px;
    font-weight: 800;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-xl);
}

.btn-primary-large:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

/* ===================================
   CONTACT SECTION
   =================================== */
.contact {
    background: var(--light-gray);
    padding: 80px 20px;
}

.contact-subtitle {
    text-align: center;
    font-size: 1.3rem;
    color: var(--primary-orange);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.contact-intro {
    text-align: center;
    font-size: 1.1rem;
    color: var(--dark-gray);
    margin-bottom: 3rem;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 50px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-item {
    background: var(--white);
    padding: 1.5rem;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 20px;
    transition: all 0.3s ease;
}

.contact-item:hover {
    transform: translateX(5px);
    box-shadow: var(--shadow);
}

.contact-icon {
    font-size: 2rem;
}

.contact-details h4 {
    color: var(--primary-blue);
    font-size: 1.1rem;
    margin-bottom: 0.3rem;
}

.contact-details a {
    color: var(--primary-orange);
    font-weight: 600;
    transition: color 0.3s ease;
}

.contact-details a:hover {
    color: var(--primary-blue);
}

.location-note {
    font-size: 0.9rem;
    color: var(--dark-gray);
}

.contact-checkpoints {
    background: var(--primary-blue);
    color: var(--white);
    padding: 2rem;
    border-radius: 12px;
}

.contact-checkpoints h4 {
    color: var(--white);
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.checkpoint-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 0.8rem;
}

.arrow-small {
    color: var(--primary-orange);
    font-weight: bold;
    font-size: 1.2rem;
}

.checkpoint-item p {
    font-size: 0.95rem;
    line-height: 1.4;
}

.checkpoint-conclusion {
    margin-top: 1rem;
    font-weight: 600;
    font-style: italic;
}

.contact-form-container {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: var(--shadow);
}

.contact-form {
    display: grid;
    gap: 20px;
}

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

.form-group label {
    color: var(--primary-blue);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 0.8rem;
    border: 2px solid var(--medium-gray);
    border-radius: 8px;
    font-family: 'Open Sans', sans-serif;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-orange);
}

.form-note {
    text-align: center;
    font-size: 0.9rem;
    color: var(--dark-gray);
    margin-top: 0.5rem;
}

/* ===================================
   FOOTER
   =================================== */
.footer {
    background: var(--dark-blue);
    color: var(--white);
    padding: 50px 20px 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 2rem;
}

.footer-logo {
    height: 40px;
    width: auto;
    margin-bottom: 1rem;
}

.footer-brand p {
    opacity: 0.9;
}

.footer-links h4,
.footer-contact h4 {
    color: var(--primary-orange);
    margin-bottom: 1rem;
}

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

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: var(--white);
    transition: color 0.3s ease;
    opacity: 0.9;
}

.footer-links a:hover {
    color: var(--primary-orange);
    opacity: 1;
}

.footer-contact p {
    margin-bottom: 0.5rem;
    opacity: 0.9;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    opacity: 0.8;
}

/* ===================================
   BACK TO TOP BUTTON
   =================================== */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: var(--primary-orange);
    color: var(--white);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-lg);
    transition: all 0.3s ease;
    z-index: 999;
}

.back-to-top:hover {
    background: var(--primary-blue);
    transform: translateY(-3px);
}

.back-to-top.show {
    display: flex;
}

/* ===================================
   ANIMATIONS
   =================================== */
@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* ===================================
   RESPONSIVE DESIGN
   =================================== */
@media (max-width: 1024px) {
    .hero {
        grid-template-columns: 1fr;
    }

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

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

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

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

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

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

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

    .consultancy-content {
        grid-template-columns: 1fr;
    }

    .about-content {
        grid-template-columns: 1fr;
    }

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

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

    .formation-details {
        grid-template-columns: 1fr;
    }

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

    .team-images {
        grid-template-columns: 1fr;
    }

    .team-image-single img {
        max-width: 100%;
    }
}

@media (max-width: 968px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: var(--white);
        width: 100%;
        text-align: center;
        transition: left 0.3s ease;
        box-shadow: var(--shadow-lg);
        padding: 2rem 0;
        gap: 1.5rem;
    }

    .nav-menu.active {
        left: 0;
    }

    .hamburger {
        display: flex;
    }

    .hero-title {
        font-size: 2rem;
        word-break: break-word;
    }

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

    .transform-row {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .transform-arrow {
        transform: rotate(90deg);
    }

    .section-title {
        font-size: 2rem;
        padding: 0 15px;
    }

    /* Prevenir overflow en todos los contenedores */
    section {
        overflow-x: hidden;
        max-width: 100vw;
    }

    .container {
        padding: 0 15px;
        max-width: 100%;
    }

    /* Ajustar grids para tablet/móvil */
    .hero-benefits {
        grid-template-columns: 1fr;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    /* Ajustar textos largos */
    h1, h2, h3, h4, h5, h6 {
        word-break: break-word;
        overflow-wrap: break-word;
    }

    /* Cards y boxes */
    .scenario-card,
    .program-card,
    .module-card {
        overflow: hidden;
    }
}

@media (max-width: 600px) {
    .hero-title {
        font-size: 1.6rem;
        line-height: 1.3;
        word-break: break-word;
    }

    .stat-number {
        font-size: 2rem;
    }

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

    .process-step {
        flex-direction: column;
    }

    .step-number-large {
        align-self: center;
    }

    /* Arreglar elementos con checks que desbordan */
    .challenge-item,
    .benefit-item,
    .include-item,
    .checkpoint-item,
    .approach-item,
    .dual-item,
    .delivery-item {
        display: flex;
        align-items: flex-start;
        gap: 8px;
        padding-right: 0;
        word-break: break-word;
    }

    .challenge-item p,
    .benefit-item p,
    .include-item p,
    .checkpoint-item p,
    .approach-item p,
    .dual-item p,
    .delivery-item p {
        flex: 1;
        overflow-wrap: break-word;
        word-break: break-word;
        hyphens: auto;
        min-width: 0;
    }

    /* Checkmarks y iconos */
    .check,
    .check-red,
    .check-white,
    .arrow-small {
        flex-shrink: 0;
        font-size: 1rem;
    }

    /* Títulos de secciones */
    .section-title {
        font-size: 1.8rem;
        line-height: 1.2;
        word-break: break-word;
        padding: 0 10px;
    }

    .section-subtitle,
    .section-intro {
        font-size: 1rem;
        padding: 0 10px;
        word-break: break-word;
    }

    /* Tarjetas */
    .scenario-card,
    .challenge-card,
    .program-card,
    .module-card {
        padding: 1.5rem;
        overflow: hidden;
    }

    .scenario-header h3,
    .program-header h3 {
        font-size: 1.1rem;
        line-height: 1.3;
        word-break: break-word;
    }

    /* Transformación */
    .transform-before,
    .transform-after {
        font-size: 0.9rem;
        padding: 0.6rem 0.8rem;
        word-break: break-word;
    }

    /* Badges y etiquetas */
    .result-badge,
    .benefit-badge {
        padding: 1rem 0.8rem;
    }

    /* Formulario */
    .form-group label {
        font-size: 0.95rem;
    }

    .form-group input,
    .form-group select,
    .form-group textarea {
        font-size: 1rem;
        padding: 0.7rem;
    }

    /* Botones */
    .btn-primary,
    .btn-secondary {
        padding: 0.9rem 1.5rem;
        font-size: 1rem;
        width: 100%;
    }

    .btn-primary-large {
        padding: 1rem 2rem;
        font-size: 1.1rem;
        width: 100%;
    }

    /* Hero benefits */
    .hero-benefits {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    /* Stats bar para móvil */
    .stats-bar {
        padding: 2rem 10px;
    }

    .stat-label {
        font-size: 0.9rem;
        line-height: 1.2;
    }

    /* Metodología */
    .method-step h4 {
        font-size: 1.1rem;
    }

    /* Listas */
    ul, ol {
        padding-left: 20px;
    }

    li {
        word-break: break-word;
        margin-bottom: 0.5rem;
    }

    /* Tablas responsivas (si hay) */
    table {
        display: block;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    /* Imágenes hero */
    .hero-image img {
        margin: 0 auto;
    }

    /* Footer */
    .footer-content {
        gap: 30px;
    }

    /* Cajas de contenido */
    .consultancy-box,
    .delivery-box,
    .approach-box,
    .trained-section {
        padding: 1.5rem;
    }

    /* Evitar overflow en cajas específicas */
    .trainteq-serves,
    .transformation-box,
    .methodology,
    .results-box {
        padding: 1.5rem;
        overflow: hidden;
    }

    .trainteq-serves h3 {
        font-size: 1.5rem;
        word-break: break-word;
    }
}

/* Media query extra para pantallas MUY pequeñas */
@media (max-width: 375px) {
    /* Reducir fuentes aún más para pantallas pequeñas */
    .hero-title {
        font-size: 1.4rem;
    }

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

    .scenario-header h3,
    .program-header h3 {
        font-size: 1rem;
    }

    body {
        font-size: 0.95rem;
    }

    .stat-number {
        font-size: 1.8rem;
    }

    .stat-label {
        font-size: 0.85rem;
    }

    .transform-before,
    .transform-after {
        font-size: 0.85rem;
        padding: 0.5rem 0.7rem;
    }

    .method-step h4 {
        font-size: 1rem;
    }

    .btn-primary,
    .btn-secondary {
        font-size: 0.95rem;
        padding: 0.8rem 1.2rem;
    }

    /* Reducir padding en contenedores */
    .container {
        padding: 0 12px;
    }

    section {
        padding: 60px 15px;
    }

    .stats-bar {
        padding: 1.5rem 10px;
    }
}
/* ===================================
   CHECKBOX DE PRIVACIDAD
   =================================== */
.checkbox-group {
    margin: 25px 0;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    cursor: pointer;
    font-size: 0.95rem;
    line-height: 1.5;
}

.checkbox-label input[type="checkbox"] {
    margin-top: 3px;
    width: 18px;
    height: 18px;
    cursor: pointer;
    flex-shrink: 0;
}

.checkbox-text {
    color: var(--text-dark);
}

.privacy-link {
    color: var(--primary-blue);
    text-decoration: underline;
    font-weight: 600;
}

.privacy-link:hover {
    color: var(--primary-orange);
}

/* ===================================
   MODAL DE POLÍTICA DE PRIVACIDAD
   =================================== */
.privacy-modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.6);
    animation: fadeIn 0.3s ease;
}

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

.privacy-modal-content {
    background-color: white;
    margin: 3% auto;
    padding: 0;
    width: 90%;
    max-width: 800px;
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    animation: slideDown 0.4s ease;
    max-height: 90vh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

@keyframes slideDown {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.privacy-modal-content h2 {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--dark-blue) 100%);
    color: white;
    padding: 25px 30px;
    margin: 0;
    border-radius: 15px 15px 0 0;
    font-size: 1.5rem;
}

.privacy-text {
    padding: 30px;
    overflow-y: auto;
    max-height: calc(90vh - 180px);
}

.privacy-text h3 {
    color: var(--primary-blue);
    margin-top: 25px;
    margin-bottom: 12px;
    font-size: 1.2rem;
}

.privacy-text p {
    margin-bottom: 15px;
    color: var(--text-dark);
    line-height: 1.7;
}

.privacy-text ul {
    margin: 10px 0;
    padding-left: 25px;
}

.privacy-text li {
    margin-bottom: 8px;
    line-height: 1.6;
}

.privacy-text a {
    color: var(--primary-orange);
    font-weight: 600;
}

.privacy-text a:hover {
    text-decoration: underline;
}

.privacy-close {
    color: white;
    position: absolute;
    right: 20px;
    top: 20px;
    font-size: 32px;
    font-weight: bold;
    cursor: pointer;
    transition: transform 0.2s ease;
}

.privacy-close:hover {
    transform: scale(1.2);
}

.privacy-accept-btn {
    background: var(--primary-orange);
    color: white;
    border: none;
    padding: 15px 40px;
    margin: 20px 30px 30px;
    border-radius: 25px;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
}

.privacy-accept-btn:hover {
    background: #d86515;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(244, 121, 32, 0.3);
}

/* Responsive para móvil */
@media (max-width: 768px) {
    .privacy-modal-content {
        width: 95%;
        margin: 5% auto;
        max-height: 85vh;
    }

    .privacy-modal-content h2 {
        font-size: 1.2rem;
        padding: 20px;
    }

    .privacy-text {
        padding: 20px;
        font-size: 0.9rem;
    }

    .privacy-text h3 {
        font-size: 1.1rem;
    }

    .privacy-close {
        right: 15px;
        top: 15px;
        font-size: 28px;
    }

    .privacy-accept-btn {
        width: calc(100% - 60px);
        margin: 15px 30px 25px;
    }

    .checkbox-label {
        font-size: 0.9rem;
    }
}

/* ==========================================
   CATÁLOGO BOX - Tarjeta destacada
   ========================================== */
.catalog-box {
    background: linear-gradient(135deg, #DBEAFE 0%, #FEF3C7 100%);
    border-left: 6px solid #F97316;
    border-radius: 16px;
    padding: 45px;
    margin: 50px 0;
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.15);
}

.catalog-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.catalog-icon {
    font-size: 52px;
}

.catalog-box h3 {
    font-size: 32px;
    color: #1E40AF;
    margin: 0;
    font-weight: 800;
    line-height: 1.2;
}

.catalog-tagline {
    font-size: 19px;
    color: #64748B;
    margin-bottom: 35px;
    line-height: 1.6;
    font-weight: 500;
}

.catalog-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    align-items: center;
}

.catalog-highlights {
    display: grid;
    gap: 18px;
}

.catalog-highlight {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 15px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.catalog-highlight:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.15);
}

.catalog-highlight .check {
    color: #F97316;
    font-weight: bold;
    font-size: 22px;
    flex-shrink: 0;
}

.catalog-highlight p {
    margin: 0;
    font-size: 16px;
    line-height: 1.6;
    color: #1E293B;
}

.catalog-highlight strong {
    color: #1E40AF;
    font-weight: 700;
}

.catalog-cta-section {
    text-align: center;
    padding: 35px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.btn-catalog {
    font-size: 18px;
    padding: 18px 35px;
    display: inline-block;
    margin-bottom: 15px;
    white-space: nowrap;
}

.catalog-note {
    font-size: 14px;
    color: #64748B;
    margin: 10px 0 0 0;
    font-weight: 500;
}

@media (max-width: 992px) {
    .catalog-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .catalog-box {
        padding: 30px 25px;
        margin: 35px 0;
    }
    
    .catalog-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .catalog-icon {
        font-size: 42px;
    }
    
    .catalog-box h3 {
        font-size: 24px;
    }
    
    .catalog-tagline {
        font-size: 16px;
    }
    
    .catalog-highlight p {
        font-size: 15px;
    }
    
    .btn-catalog {
        font-size: 16px;
        padding: 15px 28px;
    }
}
/* FIX para menú de navegación */
.nav-menu {
    display: flex;
    align-items: center;
    gap: 25px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-menu li a {
    white-space: nowrap;
    padding: 8px 0;
    font-size: 15px;
}

/* Asegurar que el logo no empuje el menú */
.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 30px;
    max-width: 1400px;
    margin: 0 auto;
}

@media (max-width: 1200px) {
    .nav-menu {
        gap: 18px;
    }
    
    .nav-menu li a {
        font-size: 14px;
    }
}

@media (max-width: 992px) {
    .nav-menu {
        gap: 15px;
    }
}
/* ==========================================
   NUEVO HEADER - Hamburguesa siempre visible + Botones en desktop
   ========================================== */

/* Container del header */
.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 30px;
    max-width: 1400px;
    margin: 0 auto;
    gap: 20px;
}

/* Logo */
.logo {
    flex-shrink: 0;
}

/* Hamburguesa SIEMPRE visible */
.hamburger {
    display: flex !important;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 10px;
    z-index: 1001;
    order: 2;
}

.hamburger span {
    width: 28px;
    height: 3px;
    background: #1E40AF;
    border-radius: 3px;
    transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* Botones header (visibles solo en desktop) */
.header-buttons {
    display: none;
    gap: 15px;
    align-items: center;
    order: 3;
}

.btn-header-catalogo {
    padding: 10px 20px;
    background: white;
    color: #3B82F6;
    border: 2px solid #3B82F6;
    border-radius: 8px;
    font-weight: 600;
    font-size: 15px;
    text-decoration: none;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.btn-header-catalogo:hover {
    background: #3B82F6;
    color: white;
}

.btn-header-contacto {
    padding: 12px 28px;
    background: linear-gradient(135deg, #F97316, #EA580C);
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 700;
    font-size: 15px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(249, 115, 22, 0.3);
    white-space: nowrap;
}

.btn-header-contacto:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(249, 115, 22, 0.4);
}

/* Menú desplegable - CORREGIDO */
.nav-menu {
    position: fixed;
    top: 80px;
    right: -100%;
    width: 280px;
    background: white;
    padding: 30px 0;
    box-shadow: -2px 0 10px rgba(0,0,0,0.1);
    transition: right 0.3s ease;
    z-index: 1000;
    list-style: none;
    margin: 0;
    border-radius: 12px 0 0 12px;
    display: flex;
    flex-direction: column;  /* ← AÑADIR ESTA LÍNEA */
}

.nav-menu.active {
    right: 0;
}

.nav-menu li {
    margin: 0;
}

.nav-menu li a {
    display: block;
    padding: 15px 30px;
    color: #1E293B;
    text-decoration: none;
    font-weight: 500;
    font-size: 16px;
    transition: all 0.3s ease;
    border-left: 4px solid transparent;
}

.nav-menu li a:hover {
    background: #F8FAFC;
    border-left-color: #F97316;
    padding-left: 35px;
}

/* Desktop (>992px) - Mostrar botones */
@media (min-width: 992px) {
    .header-buttons {
        display: flex;
    }
    
    .nav-container {
        padding: 0 50px;
    }
}

/* Tablet */
@media (max-width: 768px) {
    .nav-container {
        padding: 0 20px;
    }
    
    .nav-menu {
        width: 250px;
        top: 70px;
    }
    
    .hamburger span {
        width: 25px;
    }
}

/* Mobile pequeño */
@media (max-width: 480px) {
    .nav-menu {
        width: 100%;
        right: -100%;
        border-radius: 0;
    }
    
    .nav-menu.active {
        right: 0;
    }
}

/* Fix para que el header no se rompa */
.header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: white;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

/* ===================================
   LANGUAGE SELECTOR
   =================================== */
.language-selector {
    position: fixed;
    top: 90px;
    right: 20px;
    z-index: 10000;
}

.lang-link {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    background: rgba(43, 76, 126, 0.95);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 25px;
    color: white;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.lang-link:hover {
    background: rgba(244, 121, 32, 0.95);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(244, 121, 32, 0.4);
}

.lang-link span {
    font-size: 0.9rem;
    font-weight: 600;
}

@media (max-width: 768px) {
    .language-selector {
        position: fixed;
        top: 80px;
        right: 15px;
        z-index: 9999;
    }
    
    .lang-link {
        padding: 8px 14px;
        font-size: 0.85rem;
    }
    
    .lang-link span {
        font-size: 0.8rem;
    }
}
