/* Import Poppins font family */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600;700&display=swap');

/* CSS VARIABLES */
:root {
  /* Colors */
  --color-white: #FFFFFF;
  --color-blue-dark: #2D47EF;
  --color-blue-light: #2AEFFF;
  --gradient-primary: linear-gradient(30deg, #2D47EF, #2AEFFF);

  /* Typography */
  --font-family: 'Poppins', sans-serif;
  --font-light: 300;
  --font-regular: 400;
  --font-semibold: 600;
  --font-bold: 700;

  /* Font Sizes */
  --font-h1: 27pt;
  --font-h2: 18pt;
  --font-h3: 13pt;
  --font-h4: 16pt;
  --font-p-white: 10pt;
  --font-p-blue: 10pt;

  /* Spacing */
  --spacing-xs: 10px;
  --spacing-sm: 20px;
  --spacing-md: 40px;
  --spacing-lg: 60px;
  --spacing-xl: 80px;

  /* Border Radius */
  --border-radius-sm: 1mm;
  --border-radius-md: 8px;
  --border-radius-circle: 50%;
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px; /* Prevents content from hiding behind fixed header */
}

/* Ensure page sections have proper scroll margin */
.page-section {
    scroll-margin-top: 100px;
}

body {
    font-family: var(--font-family);
    line-height: 1.8;
    color: var(--color-blue-dark);
    background: var(--color-white);
    overflow-x: hidden;
}

/* UTILITY CLASSES */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

.container-fluid {
    width: 100%;
    padding: 0;
}

.gradient-bg {
    background: var(--gradient-primary);
}

/* TYPOGRAPHY */
h1 {
    font-family: var(--font-family);
    font-weight: var(--font-regular);
    font-size: var(--font-h1);
    color: var(--color-white);
    line-height: 1.3;
}

h2 {
    font-family: var(--font-family);
    font-weight: var(--font-semibold);
    font-size: var(--font-h2);
    margin-bottom: 3rem;
}

h3 {
    font-family: var(--font-family);
    font-weight: var(--font-semibold);
    font-size: var(--font-h3);
}

h4 {
    font-family: var(--font-family);
    font-weight: var(--font-regular);
    font-size: var(--font-h4);
}

p {
    font-family: var(--font-family);
    font-weight: var(--font-regular);
    font-size: var(--font-p-white);
    line-height: 1.7;
}

/* HEADER AND NAVIGATION */
header {
    background: var(--gradient-primary);
    color: var(--color-white);
    padding: 1.5rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    transition: opacity 0.3s;
    cursor: pointer;
}

.logo img {
    height: 110px;
    width: auto;
}

.logo:hover {
    opacity: 0.8;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2.5rem;
    align-items: center;
    margin-left: auto;
    margin-right: 3rem;
}

.nav-links a {
    font-family: var(--font-family);
    font-weight: var(--font-regular);
    font-size: var(--font-p-white);
    color: var(--color-white);
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
}

.nav-links a:hover {
    opacity: 0.8;
    transform: translateY(-2px);
}

.nav-links a.nav-active {
    font-weight: var(--font-bold);
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

/* MOBILE MENU TOGGLE */
.mobile-menu-toggle {
    display: none;
    background: transparent;
    border: none;
    color: var(--color-white);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
    transition: opacity 0.3s;
}

.mobile-menu-toggle:hover {
    opacity: 0.8;
}

.nav-menu {
    display: flex;
    align-items: center;
    flex: 1;
}

/* LANGUAGE SELECTOR */
.language-selector {
    position: relative;
    display: inline-block;
}

.lang-icon-btn {
    background: transparent;
    border: none;
    color: var(--color-white);
    padding: 0.5rem;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lang-icon-btn:hover {
    opacity: 0.8;
}

.language-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    background: var(--color-white);
    border-radius: 4px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    min-width: 120px;
    margin-top: 0.5rem;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s;
    z-index: 1000;
}

.language-selector.active .language-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.lang-option {
    display: block;
    width: 100%;
    background: transparent;
    border: none;
    color: var(--color-blue-dark);
    padding: 0.75rem 1rem;
    font-size: 0.9rem;
    font-weight: 400;
    cursor: pointer;
    text-align: left;
    transition: all 0.2s;
}

.lang-option:first-child {
    border-radius: 4px 4px 0 0;
}

.lang-option:last-child {
    border-radius: 0 0 4px 4px;
}

.lang-option:hover {
    background: rgba(45, 71, 239, 0.1);
}

.lang-option.active {
    background: var(--color-blue-dark);
    color: var(--color-white);
    font-weight: 500;
}

/* BUTTONS */
.contact-btn {
    font-family: var(--font-family);
    font-weight: var(--font-regular);
    font-size: var(--font-p-white);
    color: var(--color-white);
    background: transparent;
    border: 1pt solid var(--color-white);
    border-radius: var(--border-radius-sm);
    padding: 0.7rem 1.5rem;
    text-decoration: none;
    transition: all 0.3s;
    display: inline-block;
}

.contact-btn:hover {
    background: var(--color-white);
    color: var(--color-blue-dark);
}

.btn-outline {
    font-family: var(--font-family);
    font-weight: var(--font-regular);
    font-size: var(--font-p-blue);
    color: var(--color-blue-dark);
    background: transparent;
    border: 1pt solid var(--color-blue-dark);
    border-radius: var(--border-radius-sm);
    padding: 0.7rem 1.5rem;
    text-decoration: none;
    transition: all 0.3s;
    display: inline-block;
}

.btn-outline:hover {
    background: var(--color-blue-dark);
    color: var(--color-white);
}

.btn-white {
    font-family: var(--font-family);
    font-weight: var(--font-regular);
    font-size: var(--font-p-white);
    color: var(--color-blue-dark);
    background: var(--color-white);
    border: 1pt solid var(--color-white);
    border-radius: var(--border-radius-sm);
    padding: 0.7rem 1.5rem;
    text-decoration: none;
    transition: all 0.3s;
    display: inline-block;
}

.btn-white:hover {
    background: transparent;
    color: var(--color-white);
}

.btn-submit {
    font-family: var(--font-family);
    font-weight: var(--font-regular);
    font-size: var(--font-p-white);
    color: var(--color-white);
    background: var(--color-blue-dark);
    border: 1pt solid var(--color-blue-dark);
    border-radius: var(--border-radius-sm);
    padding: 0.7rem 1.5rem;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-submit:hover {
    background: var(--color-blue-light);
    border-color: var(--color-blue-light);
}

/* PAGE NAVIGATION SYSTEM */
.page-section {
    display: none;
}

.page-section.active {
    display: block;
}

/* HERO SECTION */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 2rem;
    margin-top: 0;
    position: relative;
}

.hero.video-bg {
    background: var(--gradient-primary);
    position: relative;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    opacity: 0.9;
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
    padding-bottom: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-content h1 {
    margin-bottom: 2rem;
    color: var(--color-white);
}

.hero-text p {
    font-size: 1.1rem;
    color: var(--color-white);
    margin-bottom: 1rem;
}

.decorative-icon {
    margin-top: 2rem;
}

.decorative-icon img {
    width: auto;
    max-height: 125px;
    filter: brightness(0) invert(1);
}

/* SCROLL INDICATOR */
.scroll-indicator {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 2.5rem;
    position: static; /* Remove absolute positioning */
    margin-top: auto; /* Push to bottom using flexbox */
    padding-top: 3rem; /* Space from content above */
    padding-bottom: 2rem; /* Space from section bottom */
    color: var(--color-white);
    text-decoration: none;
    cursor: pointer;
    transition: opacity 0.3s;
    animation: bounce 2s infinite;
    z-index: 3;
}

.scroll-indicator:hover {
    opacity: 0.8;
}

.scroll-arrow {
    width: 24px;
    height: 24px;
    filter: brightness(0) invert(1);
    transform: rotate(90deg);
}

.scroll-indicator span {
    font-size: 1rem;
    font-weight: 300;
    letter-spacing: 1px;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

/* HOME PAGE - CÓMO LO HACEMOS */
.how-we-do {
    padding: var(--spacing-xl) 2rem;
    background: var(--color-white);
    text-align: center;
}

.how-we-do h2 {
    color: var(--color-blue-dark);
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-md);
    max-width: 1200px;
    margin: 0 auto;
}

.service-card {
    background: var(--color-white);
    padding: 2.5rem;
    border: 1px solid #e0e0e0;
    border-radius: var(--border-radius-md);
    transition: box-shadow 0.3s, transform 0.3s;
    text-align: left;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

.service-card h3 {
    color: var(--color-blue-dark);
    margin-bottom: 1rem;
}

.service-card p {
    color: var(--color-blue-dark);
    font-weight: var(--font-light);
    margin-bottom: 1.5rem;
}

/* PERSON BEHIND RITMO */
.person-behind {
    padding: var(--spacing-xl) 2rem;
}

.person-behind h2 {
    color: var(--color-white);
    text-align: center;
}

.person-content {
    display: grid;
    grid-template-columns: 40% 60%;
    gap: var(--spacing-lg);
    max-width: 1200px;
    margin: 0 auto;
}

.person-image .image-placeholder {
    width: 100%;
    height: 500px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: var(--border-radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-white);
}

.person-text p {
    color: var(--color-white);
    margin-bottom: 2rem;
}

.mission-vision {
    margin-top: 2rem;
}

.mission, .vision {
    margin-bottom: 2rem;
}

.mission h3, .vision h3 {
    color: var(--color-white);
    margin-bottom: 1rem;
}

.mission p, .vision p {
    color: var(--color-white);
}

/* CLIENT LOGOS */
.client-logos {
    padding: var(--spacing-xl) 2rem;
    text-align: center;
}

.client-logos h2 {
    color: var(--color-blue-dark);
}

.client-logos.gradient-bg h2 {
    color: var(--color-white);
}

.logos-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--spacing-md);
    max-width: 1000px;
    margin: 0 auto;
}

.logo-circle {
    width: 120px;
    height: 120px;
    border-radius: var(--border-radius-circle);
    background: var(--color-blue-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}

.logo-circle span {
    color: var(--color-white);
    font-size: 12pt;
}

/* WHY RITMO */
.why-ritmo {
    padding: var(--spacing-xl) 2rem;
}

.why-ritmo h2 {
    color: var(--color-white);
    text-align: left;
}

.why-ritmo-text {
    max-width: 900px;
}

.why-ritmo-text p {
    color: var(--color-white);
    margin-bottom: 1.5rem;
}

/* CTA SECTION */
.cta-section {
    padding: var(--spacing-lg) 0;
    background: var(--color-white);
}

.cta-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 500px;
}

.cta-content {
    background: var(--color-blue-dark);
    padding: var(--spacing-lg);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.cta-content h2 {
    color: var(--color-white);
    margin-bottom: 1.5rem;
}

.cta-content p {
    color: var(--color-white);
    margin-bottom: 2rem;
}

.cta-image {
    background: #e0e0e0;
    position: relative;
}

.cta-image .image-placeholder {
    width: 100%;
    height: 100%;
    background: #e0e0e0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
}

/* DESIGN TOGETHER */
.design-together {
    padding: var(--spacing-xl) 2rem;
}

.design-together h2 {
    color: var(--color-white);
    margin-bottom: 1.5rem;
}

.design-together p {
    color: var(--color-white);
    max-width: 800px;
}

/* TRAINING SECTION */
.training-section {
    padding: var(--spacing-xl) 2rem;
    background: var(--color-white);
    text-align: center;
}

.training-section h2 {
    color: var(--color-blue-dark);
}

.training-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-md);
    max-width: 1200px;
    margin: 0 auto;
}

.training-image .image-placeholder {
    width: 100%;
    height: 300px;
    background: #e0e0e0;
    border-radius: var(--border-radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
}

/* SERVICIOS PAGE */
.services-section {
    padding: var(--spacing-xl) 2rem;
    background: var(--color-white);
    text-align: center;
}

.services-section h2 {
    color: var(--color-blue-dark);
}

.service-grid-blue {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-md);
    max-width: 1200px;
    margin: 0 auto;
}

.service-card-blue {
    background: var(--color-blue-dark);
    padding: 2.5rem;
    border-radius: var(--border-radius-md);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 300px;
}

.service-card-blue h3 {
    color: var(--color-white);
    margin-bottom: 1rem;
    text-align: left;
}

.service-card-blue p {
    color: var(--color-white);
    font-weight: var(--font-light);
    margin-bottom: 1.5rem;
    text-align: left;
}

.service-card-blue .btn-white {
    align-self: flex-start;
}

/* SOBRE MÍ PAGE */
.bio-section {
    padding: var(--spacing-xl) 2rem;
    background: var(--color-white);
}

.bio-grid {
    display: grid;
    grid-template-columns: 45% 55%;
    gap: var(--spacing-lg);
    max-width: 1200px;
    margin: 0 auto;
}

.bio-image .image-placeholder {
    width: 100%;
    height: 600px;
    background: #e0e0e0;
    border-radius: var(--border-radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
}

.bio-content {
    padding-left: var(--spacing-lg);
}

.bio-headline {
    font-size: var(--font-h4);
    font-weight: var(--font-semibold);
    color: var(--color-blue-dark);
    margin-bottom: 1.5rem;
}

.bio-content h3 {
    color: var(--color-blue-dark);
    margin: 2rem 0 1rem;
}

.bio-content p {
    color: var(--color-blue-dark);
    font-weight: var(--font-light);
    margin-bottom: 1.5rem;
}

.values-list {
    list-style: none;
    padding: 0;
}

.values-list li {
    color: var(--color-blue-dark);
    padding: 0.5rem 0;
    line-height: 1.8;
}

/* TESTIMONIALS */
.testimonials-section {
    padding: var(--spacing-xl) 2rem;
}

.testimonials-section h2 {
    color: var(--color-white);
    text-align: center;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-md);
    max-width: 1200px;
    margin: 0 auto;
}

.testimonial-card-glass {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border-radius: var(--border-radius-md);
    padding: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.rating {
    color: #f39c12;
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.testimonial-quote {
    color: var(--color-white);
    font-weight: var(--font-light);
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

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

.author-photo {
    width: 50px;
    height: 50px;
    border-radius: var(--border-radius-circle);
    background: rgba(255, 255, 255, 0.3);
    border: 2px solid var(--color-white);
}

.author-name {
    color: var(--color-white);
    font-weight: var(--font-semibold);
    margin-bottom: 0.25rem;
}

.author-company {
    color: var(--color-white);
    opacity: 0.8;
    font-size: 9pt;
}

/* ========================================
   CONTACTO PAGE
======================================== */

.hero-contacto {
    min-height: 100vh;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background: var(--gradient-primary);
    margin-top: 0;
    padding: 2rem;
}

.hero-contacto .video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    opacity: 0.9;
    z-index: 1;
}

/* CONTACT PAGE */
.contact-social-section {
    padding: var(--spacing-xl) 2rem;
    background: var(--color-white);
    text-align: center;
}

.contact-social-section h2 {
    color: var(--color-blue-dark);
    margin-bottom: 1rem;
}

.contact-social-links {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 60px;
    margin-top: 60px;
    flex-wrap: nowrap;
}

.contact-social-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    color: var(--color-blue-dark);
    text-decoration: none;
    transition: all 0.3s ease;
    padding: 30px;
    border-radius: 12px;
    background: #F8F9FA;
    min-width: 180px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.contact-social-link:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 24px rgba(45, 71, 239, 0.15);
    background: var(--gradient-primary);
    color: var(--color-white);
}

.contact-social-link svg {
    width: 60px;
    height: 60px;
    transition: all 0.3s ease;
}

.contact-social-link span {
    font-family: var(--font-family);
    font-weight: var(--font-semibold);
    font-size: 14pt;
    transition: all 0.3s ease;
}

/* SOCIAL SECTION */
.social-section {
    padding: var(--spacing-lg) 2rem;
    text-align: center;
}

.social-section h2 {
    color: var(--color-white);
}

.social-icons {
    display: flex;
    gap: 2rem;
    justify-content: center;
    margin-top: 2rem;
}

.social-icons a {
    color: var(--color-white);
    font-size: 48px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.social-icons a:hover {
    opacity: 0.7;
    transform: scale(1.1);
}

.social-icons a i {
    font-size: 48px;
}

/* MAP SECTION */
.map-section {
    height: 400px;
}

.map-container {
    width: 100%;
    height: 100%;
}

.map-placeholder {
    width: 100%;
    height: 100%;
    background: #e0e0e0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
}

/* FOOTER */
.footer {
    padding: var(--spacing-xl) 2rem var(--spacing-md);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-md);
    max-width: 1400px;
    margin: 0 auto 2rem;
}

.footer-grid-single {
    grid-template-columns: 1fr;
    justify-items: center;
}

.footer-column-center {
    text-align: center;
}

.footer-column p {
    color: var(--color-white);
    margin-bottom: 0.5rem;
}

.footer-logo {
    display: inline-block;
    margin-bottom: 1rem;
    text-decoration: none;
    transition: opacity 0.3s;
    cursor: pointer;
}

.footer-logo img {
    height: 140px;
    width: auto;
}

.footer-logo:hover {
    opacity: 0.8;
}

.footer-nav, .footer-legal {
    list-style: none;
    padding: 0;
}

.footer-nav li, .footer-legal li {
    margin-bottom: 0.5rem;
}

.footer-nav a, .footer-legal a {
    color: var(--color-white);
    text-decoration: none;
    font-size: var(--font-p-white);
    transition: opacity 0.3s;
}

.footer-nav a:hover, .footer-legal a:hover {
    opacity: 0.7;
}

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

.footer-social {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-bottom: 1rem;
}

.footer-social a {
    color: var(--color-white);
    text-decoration: none;
    font-size: 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    transition: all 0.3s ease;
}

.footer-social a:hover {
    opacity: 0.7;
    transform: translateY(-2px);
}

.footer-social a i {
    font-size: 24px;
}

.copyright {
    color: var(--color-white);
    opacity: 0.7;
    font-size: 9pt;
}

/* RESPONSIVE DESIGN */
@media (max-width: 1024px) {
    .person-content,
    .bio-grid {
        grid-template-columns: 1fr;
    }

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

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

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

@media (max-width: 768px) {
    h1 {
        font-size: 24pt;
    }

    h2 {
        font-size: 16pt;
    }

    h3 {
        font-size: 12pt;
    }

    /* Mobile Navigation */
    header {
        padding: 0.8rem 0;
        height: auto; /* Let header calculate its own height */
    }

    .logo img {
        height: 70px;
    }

    .mobile-menu-toggle {
        display: block;
    }

    .nav-menu {
        position: fixed;
        top: 90px;
        left: 0;
        width: 100%;
        background: var(--gradient-primary);
        flex-direction: column;
        align-items: stretch;
        padding: 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease, padding 0.3s ease;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    }

    .nav-menu.active {
        max-height: 500px;
        padding: 0;
    }

    .nav-links {
        flex-direction: column;
        gap: 0;
        margin: 0;
        width: 100%;
    }

    .nav-links li {
        width: 100%;
        text-align: center;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .nav-links a {
        display: block;
        padding: 1.2rem 1rem;
        font-size: 1rem;
        border-bottom: none;
        transform: none;
    }

    .nav-links a:hover {
        background: rgba(255, 255, 255, 0.1);
        transform: none;
    }

    .nav-links a.nav-active {
        background: rgba(255, 255, 255, 0.15);
        font-weight: 600;
        border-bottom: none;
        padding-bottom: 1.2rem;
    }

    .logo {
        font-size: 1.3rem;
    }

    .nav-right {
        flex-direction: column;
        gap: 0;
        width: 100%;
        margin-top: 0;
    }

    .language-selector {
        width: 100%;
        padding: 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .lang-icon-btn {
        display: none;
    }

    .language-dropdown {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        background: transparent;
        box-shadow: none;
        display: flex;
        flex-direction: row;
        width: 100%;
        margin: 0;
        border-radius: 0;
    }

    .lang-option {
        flex: 1;
        padding: 1.2rem 1rem;
        font-size: 1rem;
        border-radius: 0;
        border-right: 1px solid rgba(255, 255, 255, 0.1);
        border-bottom: none;
        color: var(--color-white);
        background: transparent;
        text-align: center;
    }

    .lang-option:first-child {
        border-radius: 0;
    }

    .lang-option:last-child {
        border-right: none;
        border-radius: 0;
    }

    .lang-option:hover {
        background: rgba(255, 255, 255, 0.1);
    }

    .lang-option.active {
        background: rgba(255, 255, 255, 0.15);
        color: var(--color-white);
        font-weight: 600;
    }

    .contact-btn {
        padding: 1.2rem 1rem;
        font-size: 1rem;
        text-align: center;
        border: none;
        border-radius: 0;
        background: transparent;
        display: block;
        width: 100%;
        text-decoration: none;
    }

    .contact-btn:hover {
        background: rgba(255, 255, 255, 0.1);
    }

    /* Hero sections - ELEGANT SOLUTION: Center content within section */
    /* Instead of fixed padding, we center the content vertically within the available space */

    html {
        scroll-padding-top: 100px; /* Mobile specific scroll padding */
    }

    .page-section {
        scroll-margin-top: 100px; /* Mobile specific scroll margin */
    }

    .hero,
    .hero-metodologia,
    .hero-referencias,
    .hero-contacto {
        /* Account for fixed header by starting section below it */
        margin-top: 96px; /* Header actual height (padding + logo + padding) */

        /* Use remaining viewport height */
        min-height: calc(100vh - 96px);

        /* Horizontal padding only */
        padding-left: 2rem;
        padding-right: 2rem;
        padding-top: 2rem;
        padding-bottom: 2rem;

        /* Center content within the section */
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center; /* Center vertically */

        box-sizing: border-box;
    }

    .hero-contacto {
        min-height: calc(100vh - 96px);
        height: auto; /* Allow natural height for contact page */
    }

    /* Content containers take natural size */
    .hero-content,
    .hero-content-two-column {
        margin: 0;
        padding: 0;
        width: 100%;
        max-width: 100%;
    }

    /* Scroll indicator adjustments for mobile */
    .scroll-indicator {
        gap: 1.5rem; /* Reduce gap for mobile */
        padding-top: 2rem;
        padding-bottom: 1.5rem;
    }

    .scroll-indicator span {
        font-size: 0.9rem; /* Slightly smaller text on mobile */
    }

    .service-grid,
    .service-grid-blue,
    .testimonials-grid,
    .training-grid,
    .logos-grid,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .contact-social-links {
        flex-direction: column;
        gap: 30px;
        align-items: stretch;
    }

    .contact-social-link {
        min-width: auto;
        width: 100%;
        max-width: 100%;
        margin: 0 auto;
    }

    .bio-content {
        padding-left: 0;
    }
}

/* ========================================
   NEW STRUCTURE STYLES - RITMO PAGE
======================================== */

/* Bold utility class */
.bold {
    font-weight: var(--font-semibold);
}

/* LinkedIn icon in header */
.linkedin-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-left: 1rem;
    transition: opacity 0.3s ease;
}

.linkedin-icon:hover {
    opacity: 0.8;
}

/* SECTION: SOLUCIONES */
.soluciones {
    padding: var(--spacing-xl) 0;
    background: var(--color-white);
}

.soluciones h2 {
    text-align: center;
    color: var(--color-blue-dark);
    margin-bottom: 60px;
}

.service-grid-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.service-card-image {
    background: #F8F9FA;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

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

.service-card-image .card-image {
    width: 100%;
    height: 250px;
    overflow: hidden;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-white);
    padding: 40px;
}

.service-card-image .card-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.service-card-image .card-body {
    padding: 30px;
    background: #F8F9FA;
    flex-grow: 1;
}

.service-card-image .card-body h3 {
    color: var(--color-blue-dark);
    margin-bottom: 15px;
}

.service-card-image .card-body p {
    color: var(--color-blue-dark);
    font-weight: var(--font-light);
    font-size: 10pt;
    line-height: 1.7;
    margin-bottom: 10px;
}

/* SECTION: LE DAMOS RITMO */
.le-damos-ritmo {
    padding: var(--spacing-xl) 0;
    background: var(--gradient-primary);
}

.le-damos-ritmo-grid {
    display: grid;
    grid-template-columns: 55% 45%;
    gap: 60px;
    align-items: center;
}

.le-damos-ritmo .content-left h2 {
    color: var(--color-white);
    text-align: left;
    margin-bottom: 30px;
}

.le-damos-ritmo .bio-text {
    margin-bottom: 40px;
}

.le-damos-ritmo .bio-text p {
    color: var(--color-white);
    font-weight: var(--font-regular);
    font-size: 10pt;
    line-height: 1.7;
    margin-bottom: 20px;
}

.le-damos-ritmo .mission-gift-vertical {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.le-damos-ritmo .mission-block h3,
.le-damos-ritmo .gift-block h3 {
    color: var(--color-white);
    margin-bottom: 15px;
}

.le-damos-ritmo .mission-block p,
.le-damos-ritmo .gift-block p {
    color: var(--color-white);
    font-weight: var(--font-regular);
    font-size: 10pt;
    line-height: 1.7;
    margin-bottom: 10px;
}

.le-damos-ritmo .image-right {
    width: 100%;
    height: 100%;
    min-height: 500px;
}

.le-damos-ritmo .image-right img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
}

/* SECTION: CLIENTES SATISFECHOS */
.clientes-satisfechos {
    padding: var(--spacing-xl) 0 15px 0;
    background: var(--color-white);
}

.clientes-satisfechos h2 {
    text-align: center;
    color: var(--color-blue-dark);
    margin-bottom: 60px;
}

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

.client-card {
    text-align: center;
}

.client-card .client-photo {
    width: 250px;
    height: 250px;
    margin: 0 auto 15px;
    border-radius: 50%;
    object-fit: cover;
    display: block;
}

.client-card .client-name {
    font-weight: var(--font-semibold);
    font-size: 11pt;
    color: var(--color-blue-dark);
    margin-bottom: 5px;
}

.client-card .client-position {
    font-weight: var(--font-regular);
    font-size: 9pt;
    color: var(--color-blue-dark);
    opacity: 0.7;
}

/* SECTION: FLOATING CTA CARD */
.floating-cta-wrapper {
    position: relative;
    padding: var(--spacing-xl) 0 0 0;
    margin-bottom: -40px;
}

.floating-cta-card {
    max-width: 1000px;
    margin: 0 auto;
    background: var(--color-white);
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.15);
    display: grid;
    grid-template-columns: 1fr 1fr;
    overflow: hidden;
    position: relative;
    transform: translateY(0);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    z-index: 10;
}

.floating-cta-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 70px rgba(0,0,0,0.2);
}

.floating-cta-card .cta-left {
    background: var(--color-blue-dark);
    padding: 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.floating-cta-card .cta-left h2 {
    color: var(--color-white);
    margin-bottom: 20px;
}

.floating-cta-card .cta-left p {
    color: var(--color-white);
    font-weight: var(--font-regular);
    font-size: 10pt;
    line-height: 1.7;
    margin-bottom: 30px;
}

.btn-outline-white {
    display: inline-block;
    padding: 10px 20px;
    border: 1pt solid var(--color-white);
    border-radius: 1mm;
    background: transparent;
    color: var(--color-white);
    font-family: var(--font-family);
    font-weight: var(--font-regular);
    font-size: 10pt;
    text-decoration: none;
    transition: all 0.3s ease;
    align-self: flex-start;
}

.btn-outline-white:hover {
    background: var(--color-white);
    color: var(--color-blue-dark);
}

.floating-cta-card .cta-right {
    padding: 0;
    overflow: hidden;
}

.floating-cta-card .cta-right img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* SECTION: DISEÑAR JUNTOS */
.disenar-juntos {
    padding: 140px 0 var(--spacing-xl);
    background: var(--gradient-primary);
}

.disenar-juntos .disenar-grid {
    display: grid;
    grid-template-columns: 40% 60%;
    gap: 60px;
}

.disenar-juntos .disenar-left h2 {
    color: var(--color-white);
    text-align: left;
    line-height: 1.4;
}

.disenar-juntos .disenar-right p {
    color: var(--color-white);
    font-weight: var(--font-regular);
    font-size: 10pt;
    line-height: 1.7;
    margin-bottom: 20px;
}

/* SECTION: NETWORKING SUMA */
.networking-suma {
    padding: var(--spacing-xl) 0;
    background: var(--color-white);
}

.networking-suma .networking-grid {
    display: grid;
    grid-template-columns: 40% 60%;
    gap: 60px;
    margin-bottom: 50px;
}

.networking-suma .networking-left h2 {
    color: var(--color-blue-dark);
    text-align: left;
    margin-bottom: 20px;
}

.networking-suma .networking-right p {
    color: var(--color-blue-dark);
    font-weight: var(--font-light);
    font-size: 10pt;
    line-height: 1.7;
    margin-bottom: 20px;
}

.networking-suma .networking-right p:first-of-type {
    font-weight: var(--font-light);
}

.networking-suma .networking-right p:nth-of-type(2) {
    font-weight: var(--font-regular);
    margin-bottom: 15px;
}

.networking-suma .eventos-list {
    list-style: none;
    padding-left: 0;
}

.networking-suma .eventos-list li {
    color: var(--color-blue-dark);
    font-weight: var(--font-regular);
    font-size: 10pt;
    line-height: 1.8;
    padding-left: 20px;
    position: relative;
}

.networking-suma .eventos-list li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--color-blue-dark);
}

.networking-suma .eventos-gallery {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.networking-suma .gallery-image {
    height: 300px;
    border-radius: 8px;
    overflow: hidden;
}

.networking-suma .gallery-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.networking-suma .gallery-image:hover img {
    transform: scale(1.05);
}

/* ========================================
   METODOLOGÍA PAGE
======================================== */

.hero-metodologia {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background: var(--gradient-primary);
    margin-top: 0;
    padding: 2rem;
}

.hero-metodologia .video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    opacity: 0.9;
    z-index: 1;
}

.hero-content-two-column {
    display: grid;
    grid-template-columns: 40% 60%;
    gap: 60px;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    z-index: 2;
}

.hero-content-two-column .hero-left h1 {
    color: var(--color-white);
    text-align: left;
}

.hero-content-two-column .hero-subtitle {
    color: var(--color-white);
    font-size: var(--font-h4);
    font-weight: var(--font-regular);
    margin-top: 10px;
}

.hero-content-two-column .hero-right p {
    color: var(--color-white);
    font-weight: var(--font-regular);
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 20px;
}

/* SECTION: PLANNING */
.planning-section {
    padding: var(--spacing-xl) 0;
    background: var(--color-white);
}

.planning-section h2 {
    text-align: center;
    color: var(--color-blue-dark);
    margin-bottom: 60px;
}

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

.planning-left h3 {
    color: var(--color-blue-dark);
    margin-bottom: 20px;
}

.metodologia-list {
    list-style: none;
    padding-left: 0;
}

.metodologia-list li {
    color: var(--color-blue-dark);
    font-weight: var(--font-regular);
    font-size: 10pt;
    line-height: 1.8;
    margin-bottom: 25px;
    padding-left: 0;
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.metodologia-list li .bullet-icon {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    object-fit: contain;
}

.metodologia-list li span {
    flex: 1;
    padding-top: 8px;
}

.planning-right {
    display: flex;
    align-items: center;
}

.planning-right .highlighted-box {
    background: rgba(42, 239, 255, 0.1);
    border-left: 4px solid var(--color-blue-dark);
    border-radius: 8px;
    padding: 30px;
    width: 100%;
}

.planning-right .highlighted-box p {
    color: var(--color-blue-dark);
    font-weight: var(--font-semibold);
    font-size: 11pt;
    line-height: 1.7;
    margin: 0;
}

/* SECTION: GALERÍA METODOLOGÍA */
.metodologia-gallery-section {
    padding: var(--spacing-xl) 0;
    background: var(--color-white);
}

.metodologia-gallery {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 20px;
}

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

.gallery-column-center {
    display: flex;
    align-items: stretch;
}

.gallery-item {
    overflow: hidden;
    border-radius: 8px;
    cursor: pointer;
    position: relative;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

/* Columnas izquierda y derecha - 2 imágenes cada una */
.gallery-column-left .gallery-item,
.gallery-column-right .gallery-item {
    height: 300px;
}

/* Columna central - 1 imagen que ocupa toda la altura */
.gallery-item-large {
    height: 100%;
    min-height: 620px;
}

/* ========================================
   REFERENCIAS PAGE
======================================== */

.hero-referencias {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    margin-top: 0;
    padding: 2rem;
}

.hero-referencias .hero-content {
    text-align: center;
    max-width: 1400px;
    margin: 0 auto;
}

.hero-referencias h1 {
    color: var(--color-white);
    font-size: var(--font-h1);
    line-height: 1.3;
}

/* SECTION: TESTIMONIALS */
.testimonials-section {
    padding: var(--spacing-xl) 0;
    background: var(--color-white);
}

.testimonials-section h2 {
    text-align: center;
    color: var(--color-blue-dark);
    margin-bottom: 60px;
}

.testimonials-grid-two-col {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.testimonial-card {
    background: var(--color-white);
    border: 1px solid #E0E0E0;
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    transition: box-shadow 0.3s ease;
}

.testimonial-card:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.12);
}

.testimonial-card .rating-text {
    font-weight: var(--font-regular);
    font-size: 9pt;
    color: var(--color-blue-dark);
    opacity: 0.7;
    margin-bottom: 10px;
}

.testimonial-card .stars {
    color: #FFD700;
    font-size: 16px;
    margin-bottom: 15px;
}

.testimonial-card .testimonial-quote {
    color: var(--color-blue-dark);
    font-weight: var(--font-light);
    font-size: 10pt;
    line-height: 1.7;
    margin-bottom: 20px;
}

.testimonial-card .testimonial-name {
    font-weight: var(--font-semibold);
    font-size: 11pt;
    color: var(--color-blue-dark);
    margin-bottom: 5px;
}

.testimonial-card .testimonial-company {
    font-weight: var(--font-regular);
    font-size: 9pt;
    color: var(--color-blue-dark);
    opacity: 0.7;
}

/* ========================================
   RESPONSIVE DESIGN
======================================== */

@media (max-width: 1199px) {
    .service-grid-cards {
        grid-template-columns: repeat(2, 1fr);
    }

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

    .networking-suma .eventos-gallery {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .service-grid-cards {
        grid-template-columns: 1fr;
    }

    .le-damos-ritmo-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .le-damos-ritmo .image-right {
        min-height: 300px;
    }

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

    .floating-cta-card {
        grid-template-columns: 1fr;
        margin: 0 1rem;
    }

    .disenar-juntos .disenar-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .networking-suma .networking-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .networking-suma .eventos-gallery {
        grid-template-columns: 1fr;
    }

    /* Two-column hero content adjustments for mobile */
    .hero-content-two-column {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 0;
        margin: 0;
        width: 100%;
    }

    /* Remove all extra spacing from hero children elements */
    .hero-content-two-column .hero-left,
    .hero-content-two-column .hero-right,
    .hero-content-two-column .hero-left h1,
    .hero-content-two-column .hero-right p {
        margin-top: 0;
        padding-top: 0;
    }

    .planning-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .metodologia-gallery {
        grid-template-columns: 1fr;
    }

    .gallery-column-left .gallery-item,
    .gallery-column-right .gallery-item,
    .gallery-item-large {
        height: 250px;
        min-height: 250px;
    }

    .testimonials-grid-two-col {
        grid-template-columns: 1fr;
    }

    .hero-referencias h1 {
        font-size: 24pt;
    }
}

/* ========================================
   LIGHTBOX GALLERY
======================================== */

.lightbox {
    display: flex;
    align-items: center;
    justify-content: center;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(45, 71, 239, 0.20);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease, backdrop-filter 0.4s ease;
}

.lightbox.active {
    opacity: 1;
    visibility: visible;
}

.lightbox-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
    display: flex;
    flex-direction: column;
    align-items: center;
    opacity: 0;
    transform: scale(0.9);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.lightbox.active .lightbox-content {
    opacity: 1;
    transform: scale(1);
}

.lightbox-content img {
    max-width: 100%;
    max-height: 85vh;
    object-fit: contain;
    border-radius: 4px;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

/* Animaciones de slide */
@keyframes slideInFromRight {
    from {
        opacity: 0;
        transform: translateX(100px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInFromLeft {
    from {
        opacity: 0;
        transform: translateX(-100px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideOutToLeft {
    from {
        opacity: 1;
        transform: translateX(0);
    }
    to {
        opacity: 0;
        transform: translateX(-100px);
    }
}

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

.lightbox-content img.slide-in-right {
    animation: slideInFromRight 0.4s ease-out;
}

.lightbox-content img.slide-in-left {
    animation: slideInFromLeft 0.4s ease-out;
}

.lightbox-content img.slide-out-left {
    animation: slideOutToLeft 0.4s ease-out;
}

.lightbox-content img.slide-out-right {
    animation: slideOutToRight 0.4s ease-out;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 40px;
    background: transparent;
    border: none;
    color: var(--color-white);
    font-size: 50px;
    font-weight: 300;
    cursor: pointer;
    z-index: 10000;
    transition: opacity 0.3s ease;
    line-height: 1;
}

.lightbox-close:hover {
    opacity: 0.7;
}

.lightbox-prev,
.lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid var(--color-white);
    color: var(--color-white);
    font-size: 24px;
    padding: 20px;
    cursor: pointer;
    z-index: 10000;
    transition: all 0.3s ease;
    border-radius: 4px;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-prev:hover,
.lightbox-next:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-50%) scale(1.1);
}

.lightbox-prev {
    left: 40px;
}

.lightbox-next {
    right: 40px;
}

.lightbox-counter {
    color: var(--color-white);
    font-size: 16px;
    margin-top: 20px;
    text-align: center;
    font-weight: var(--font-regular);
}

/* Cursor pointer en imágenes de galería */
.networking-suma .gallery-image {
    cursor: pointer;
}

.networking-suma .gallery-image img {
    cursor: pointer;
}

/* Responsive Lightbox */
@media (max-width: 768px) {
    .lightbox-close {
        top: 10px;
        right: 15px;
        font-size: 40px;
    }

    .lightbox-prev,
    .lightbox-next {
        padding: 15px;
        width: 50px;
        height: 50px;
        font-size: 20px;
    }

    .lightbox-prev {
        left: 15px;
    }

    .lightbox-next {
        right: 15px;
    }

    .lightbox-content img {
        max-height: 70vh;
    }
}
