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

body {
    font-family: 'Montserrat', sans-serif;
    background: #F7F4EB;
    color: #0D1F08;
    overflow-x: hidden;
    width: 100%;
    position: relative;
}

/* ===========================
   NAVBAR
   =========================== */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 20px 50px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #8C1515;
    z-index: 1000;
    border-bottom: 2px solid #8C1515;
}

.logo {
    font-size: 28px;
    font-weight: bold;
    color: #F7F4EB;
    letter-spacing: 1px;
    cursor: pointer;
    transition: color 0.3s;
    display: flex;
    align-items: center;
    text-decoration: none; /* Agregado para links */
}

.navbar .logo img {
    max-height: 60px;
    margin-right: 8px;
}

.logo:hover {
    color: #FFFFFF;
}

.nav-links {
    display: flex;
    gap: 35px;
    align-items: center;
}

.nav-links a {
    color: #F7F4EB;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s, transform 0.3s;
    position: relative;
    cursor: pointer;
}

.nav-links a:hover,
.nav-links a.active { /* Agregado estado activo */
    color: #FFFFFF;
    transform: translateY(-2px);
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background: #FFFFFF;
    transition: width 0.3s;
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

/* ===========================
   HERO (HOME)
   =========================== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    padding: 0 50px 0;
}

.hero-bg {
    position: absolute;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 30% 40%, rgba(140, 21, 21, 0.08), transparent 60%),
                radial-gradient(circle at 70% 60%, rgba(13, 31, 8, 0.05), transparent 60%);
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.decorative-circle {
    position: absolute;
    border-radius: 50%;
    opacity: 0.1;
}

.circle-1 {
    width: 500px;
    height: 500px;
    background: #8C1515;
    top: -200px;
    right: -100px;
    animation: float 20s ease-in-out infinite;
}

.circle-2 {
    width: 300px;
    height: 300px;
    background: #1F0808;
    bottom: -100px;
    left: -50px;
    animation: float 15s ease-in-out infinite reverse;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(30px, -30px) scale(1.1); }
}

.hero-content {
    text-align: center;
    z-index: 1;
    max-width: 1000px;
    animation: fadeInUp 1s ease-out;
    padding-top: 100px;
}

.hero h1 {
    font-size: 68px;
    font-weight: 800;
    margin-bottom: 25px;
    color: #1F0808;
    line-height: 1.2;
}

.hero h1 .highlight {
    color: #8C1515;
}

.slogan {
    font-size: 24px;
    color: #8C1515;
    margin-bottom: 30px;
    font-weight: 600;
    font-style: italic;
    text-shadow: 2px 2px 2px #F7F4EB;
}

.hero p {
    font-size: 20px;
    color: #0D1F08;
    margin-bottom: 40px;
    line-height: 1.6;
    opacity: 0.9;
}

.cta-button {
    display: inline-block;
    padding: 18px 45px;
    background: #8C1515;
    color: #F7F4EB;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 18px;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(140, 21, 21, 0.3);
    cursor: pointer;
}

.cta-button:hover {
    background: #1F0808;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(31, 8, 8, 0.4);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.mission-section {
    padding: 120px 50px;
    background: #F7F4EB;
    position: relative;
    overflow: hidden;
    margin-top: 50px;
}

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

.welcome-text {
    text-align: left;
    font-size: 32px;
    color: #0D1F08;
    margin-bottom: 60px;
    font-weight: 500;
    line-height: 1.09;
    letter-spacing: -1.6px;
}

.mission-content {
    display: flex;
    gap: 48px;
    margin-bottom: 50px;
}

.mission-column {
    flex: 1;
    font-size: 18px;
    color: #0D1F08;
    line-height: 1.35;
    letter-spacing: -0.36px;
}

.mission-column h3 {
    font-weight: 400;
    margin-bottom: 8px;
    color: #0D1F08;
    font-size: 18px;
}

.mission-column p {
    margin-bottom: 24px;
    font-weight: 400;
}

.mission-column ul {
    list-style: disc;
    padding-left: 27px;
}

.mission-column li {
    margin-bottom: 8px;
    font-weight: 400;
}

.mission-column li:last-child {
    margin-bottom: 0;
}

.contact-button {
    display: inline-block;
    padding: 18px 24px;
    background: #31110f;
    color: #F7F4EB;
    text-decoration: none;
    border-radius: 500px;
    font-weight: 400;
    font-size: 18px;
    letter-spacing: -0.36px;
    transition: all 0.3s;
    text-align: center;
    cursor: pointer;
}

.contact-button:hover {
    background: #8C1515;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(49, 17, 15, 0.3);
}

.testimonials-section {
    background: white;
    padding: 116px 271px;
    display: block; /* Asegura visibilidad */
}

.testimonials-container {
    max-width: 942px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 74px;
    align-items: center;
}

.testimonials-content {
    display: flex;
    flex-direction: column;
    gap: 56px;
    align-items: center;
    width: 100%;
}

.testimonials-intro {
    display: flex;
    flex-direction: column;
    gap: 32px;
    align-items: center;
    text-align: center;
    width: 100%;
}

.testimonials-intro h2 {
    font-size: 32px;
    line-height: 1.09;
    letter-spacing: -1.6px;
    color: #0D1F08;
    font-weight: 500;
}

.testimonials-intro p {
    font-size: 18px;
    line-height: 1.35;
    letter-spacing: -0.36px;
    color: #0D1F08;
    font-weight: 400;
    max-width: 480px;
}

.carousel-container {
    background: #f6f6f6;
    max-width: 738px;
    width: 100%;
    min-height: 445px;
    padding: 30px 50px;
    display: flex;
    flex-direction: column;
    gap: 80px;
    align-items: center;
    justify-content: center;
}

.carousel-quote {
    display: flex;
    flex-direction: column;
    gap: 32px;
    align-items: center;
    text-align: center;
    font-size: 32px;
    line-height: 1.09;
    letter-spacing: -1.6px;
    color: #0D1F08;
    font-weight: 500;
}

.carousel-nav {
    display: flex;
    gap: 20px;
    align-items: center;
}

.carousel-arrow {
    width: 24px;
    height: 24px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
}

.carousel-dots {
    display: flex;
    gap: 10px;
    align-items: center;
}

.carousel-dot {
    width: 10.222px;
    height: 10.222px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.25);
    border: none;
    padding: 0;
    cursor: pointer;
}

.carousel-dot.active {
    background: #31110f;
}

.testimonials-outro {
    font-size: 18px;
    line-height: 1.35;
    letter-spacing: -0.36px;
    color: #0D1F08;
    font-weight: 400;
    text-align: center;
    max-width: 480px;
}

.cta-button-dark {
    display: inline-block;
    padding: 18px 24px;
    background: #31110f;
    color: #F7F4EB;
    text-decoration: none;
    border-radius: 500px;
    font-weight: 400;
    font-size: 18px;
    letter-spacing: -0.36px;
    transition: all 0.3s;
    text-align: center;
    cursor: pointer;
}

.cta-button-dark:hover {
    background: #8C1515;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(49, 17, 15, 0.3);
}

.offerings-section {
    padding: 100px 50px;
    background: #1F0808;
    color: #F7F4EB;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.background-img-section {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative; 
}

.background-img {
    width: 100%;
    max-height: 550px; 
    overflow: hidden; 
    display: flex;
    align-items: flex-start; 
    justify-content: center;
}

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

.offerings-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    gap: 0;
    align-items: flex-start;
    justify-content: space-between;
    width: 100%;
}

.offerings-left {
    flex: 0 0 auto;
    padding-right: 74px;
}

.offerings-left h2 {
    font-size: 32px;
    color: #F7F4EB;
    font-weight: 500;
    line-height: 1.09;
    letter-spacing: -1.6px;
    white-space: nowrap;
}

.offerings-right {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 64px;
}

.offerings-list {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.offering-item {
    font-size: 56px;
    font-weight: 400;
    color: #F7F4EB;
    line-height: 0.95;
    letter-spacing: -3.36px;
    transition: all 0.3s;
    cursor: pointer;
    text-transform: capitalize;
    white-space: nowrap;
}

.offering-item:hover {
    color: #8C1515;
    transform: translateX(10px);
}

.offering-item.muted {
    color: rgba(255, 240, 196, 0.5);
}

.offering-cta {
    display: inline-block;
    padding: 18px 24px;
    background: white;
    color: #0D1F08;
    text-decoration: none;
    border-radius: 500px;
    font-size: 18px;
    font-weight: 400;
    letter-spacing: -0.36px;
    transition: all 0.3s;
    align-self: flex-start;
    cursor: pointer;
}

.offering-cta:hover {
    background: #F7F4EB;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(255, 255, 255, 0.2);
}

/* ===========================
   SOLUTIONS (CORREGIDO: Visible por defecto)
   =========================== */
.solutions-section {
    padding: 0;
    background: #F7F4EB;
    display: block; /* CAMBIO: Eliminado el 'none' */
}

.stats-solutions {
    background: #F7F4EB;
    padding: 40px 160px 96px; 
}

.stats-solutions-container {
    max-width: 1180px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.stat-solution {
    display: flex;
    flex-direction: column;
    gap: 56px;
}

.stat-solution-number {
    font-size: 120px;
    line-height: 0.95;
    letter-spacing: -3.6px;
    color: #31110f;
    font-weight: 400;
}

.stat-solution-text {
    font-size: 24px;
    line-height: 1.09;
    letter-spacing: -1.2px;
    color: #31110f;
    font-weight: 400;
}

.services-solutions-container {
    max-width: 1180px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 170px;
    position: relative;
    padding-bottom: 20px;
    border-bottom: 0.5px solid white;
}

.services-title {
    font-size: 32px;
    line-height: 1.09;
    letter-spacing: -1.6px;
    color: white;
    font-weight: 400;
    max-width: 548px;
}

.services-list-solutions {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.service-item-solution {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 20px 0;
    border-top: 0.5px solid white;
}

.service-item-solution:first-child {
    border-top: none;
}

.service-name {
    font-size: 18px;
    line-height: 1.35;
    letter-spacing: -0.36px;
    color: white;
    font-weight: 700;
    white-space: nowrap;
}

.service-description {
    width: 520px;
    font-size: 18px;
    line-height: 1.35;
    letter-spacing: -0.36px;
    color: white;
    font-weight: 400;
}

.service-description ul {
    list-style: disc;
    padding-left: 27px;
    margin: 0;
}

.service-description li {
    margin-bottom: 0;
}

.service-description li:last-child {
    margin-bottom: 0;
}

/* ===========================
   CONTACT / NEXT STEPS (CORREGIDO: Visible por defecto)
   =========================== */
.next-steps-section {
    background: #1f0808;
    padding: 0;
    display: block; /* CAMBIO: Eliminado el 'none' */
}

.next-steps-container {
    padding: 114px 5px 220px;
    max-width: 1180px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 220px;
}
.text-on-image {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%; 
    
    display: flex;
    align-items: flex-end; 
    justify-content: flex-start; 
    
    padding: 0 0 40px 60px; 
    pointer-events: none; 
}
.text-on-image-text {
    font-size: clamp(36px, 8vw, 80px); 
    line-height: 1.1;
    letter-spacing: -1.5px; 
    color: white;
    font-weight: 600; 
    text-align: left;
    text-shadow: 0 4px 15px rgba(0,0,0,0.5); 
}
.next-steps-content {
    display: flex;
    flex-direction: column;
    gap: 36px;
    border-bottom: 0.5px solid white;
    padding-bottom: 20px;
}

.next-steps-title {
    font-size: 32px;
    line-height: 1.09;
    letter-spacing: -1.6px;
    color: white;
    font-weight: 400;
    max-width: 548px;
}

.next-steps-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.next-step-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 50px 0;
    border-top: 0.5px solid white;
}

.next-step-item:first-child {
    border-top: none;
}

.next-step-number {
    font-size: 300px;
    line-height: 1.09;
    letter-spacing: -15px;
    color: white;
    font-weight: 200;
    white-space: pre;
}

.next-step-content {
    display: flex;
    flex-direction: column;
    gap: 56px;
    max-width: 481px;
}

.next-step-subtitle {
    font-size: 18px;
    line-height: 1.35;
    letter-spacing: -0.36px;
    color: white;
    font-weight: 700;
}

.next-step-description {
    font-size: 18px;
    line-height: 1.35;
    letter-spacing: -0.36px;
    color: white;
    font-weight: 400;
}

.next-steps-cta {
    display: flex;
    gap: 100px;
    align-items: center;
}

.next-steps-cta-text {
    font-size: 32px;
    line-height: 1.09;
    letter-spacing: -1.6px;
    color: white;
    font-weight: 400;
    max-width: 398px;
}

.next-steps-button {
    display: inline-block;
    padding: 18px 24px;
    background: white;
    color: #0D1F08;
    text-decoration: none;
    border-radius: 500px;
    font-size: 18px;
    font-weight: 400;
    letter-spacing: -0.36px;
    transition: all 0.3s;
    cursor: pointer;
}

.next-steps-button:hover {
    background: #F7F4EB;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(255, 255, 255, 0.2);
}

/* ===========================
   ABOUT (CORREGIDO: Visible por defecto)
   =========================== */
.about-section {
    background: #1f0808;
    padding: 0;
    display: block; /* CAMBIO: Eliminado el 'none' */
}

.about-container {
    padding: 114px 5px 220px;
    max-width: 1180px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 220px;
}

.about-content {
    display: flex;
    flex-direction: column;
    gap: 36px;
    border-bottom: 0.5px solid white;
    padding-bottom: 50px;
}

.about-title {
    font-size: 32px;
    line-height: 1.09;
    letter-spacing: -1.6px;
    color: white;
    font-weight: 400;
    max-width: 980px;
}

.about-description {
    font-size: 18px;
    line-height: 1.35;
    letter-spacing: -0.36px;
    color: white;
    font-weight: 400;
    max-width: 970px;
    padding: 50px 0;
    border-top: 0.5px solid white;
}

.footer {
    padding: 40px 50px;
    text-align: center;
    background: #1F0808;
    color: #F7F4EB;
}

.about-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 0; 
}

.about-intro-split {
    display: flex;
    gap: 80px;
    align-items: flex-start;
    margin-bottom: 30px; 
    padding-bottom: 30px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}
.about-intro-left, .about-intro-right {
    flex: 1;
}

.about-title {
    font-size: 36px;
    line-height: 1.2;
    color: white;
    font-weight: 500;
}

.decorative-line {
    width: 60px;
    height: 4px;
    background: #8C1515;
    margin-top: 30px;
}

.about-description {
    font-size: 18px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
    border: none; 
    padding: 0;
}

.about-description strong {
    color: #F7F4EB;
    font-weight: 700;
    text-decoration: underline;
    text-decoration-color: #8C1515;
}

.about-pillars {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 40px; 
}

.pillar-card {
    background: rgba(255, 255, 255, 0.03);
    padding: 35px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.pillar-card:hover {
    transform: translateY(-10px);
    border-color: #8C1515;
    background: rgba(255, 255, 255, 0.05);
}

.pillar-number {
    font-size: 42px;
    font-weight: 700;
    color: #8C1515;
    margin-bottom: 15px;
    opacity: 0.9;
    font-family: 'Montserrat', sans-serif; 
}

.pillar-card h3 {
    color: #F7F4EB;
    font-size: 22px;
    margin-bottom: 12px;
    font-weight: 500;
}

.pillar-card p {
    color: rgba(247, 244, 235, 0.7);
    line-height: 1.5;
    font-size: 16px;
}

.team-section {
    margin-bottom: 80px;
}

.team-title {
    font-size: 32px;
    color: #F7F4EB;
    margin-bottom: 60px;
    text-align: center;
    font-weight: 400;
}

.team-grid {
    display: flex;
    justify-content: center; 
    gap: 40px;
    flex-wrap: wrap;
}

.team-member {
    width: 380px; 
    background: #F7F4EB; 
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    transition: transform 0.3s ease;
}

.team-member:hover {
    transform: translateY(-5px);
}

.member-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center; 
    transition: transform 0.3s ease;
}

.photo-placeholder {
    color: rgba(255,255,255,0.2);
    font-size: 20px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.member-info {
    padding: 30px;
}

.member-info h4 {
    font-size: 22px;
    font-weight: 700;
    color: #8C1515;
    margin-bottom: 4px;
}

.member-role {
    display: block;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #0D1F08;
    margin-bottom: 16px;
    opacity: 0.6;
}

.member-info p {
    font-size: 15px;
    line-height: 1.5;
    color: #333;
}

.stats-solutions {
    background: #F7F4EB;
    padding: 40px 160px 96px; 
}

.stats-intro-container {
    max-width: 1180px; 
    margin: 0 auto 25px auto; 
    text-align: left; 
}

.stats-intro-container p {
    font-size: 24px;
    line-height: 1.4;
    color: #31110f;
    font-weight: 500;
    letter-spacing: -0.5px;
}

.services-solutions {
    background: #0d1f08 !important; 
    padding: 114px 150px;
}

.services-title, 
.service-name, 
.service-description {
    color: white !important;
}

.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 30px;
    right: 30px;
    background-color: #25d366; 
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.3);
    z-index: 10000; 
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease-in-out;
}

.whatsapp-float:hover {
    background-color: #128C7E; 
    transform: scale(1.1); 
    box-shadow: 2px 2px 15px rgba(0, 0, 0, 0.4);
}

.linkedin-button {
    display: inline-flex;       
    align-items: center;        
    gap: 8px;                   
    background-color: #0077b5;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    padding: 8px 16px;          
    border-radius: 4px;
    text-decoration: none;
    margin-bottom: 15px;
    transition: all 0.3s ease;
    line-height: 1;             
}

.linkedin-button:hover {
    background-color: #005582;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 119, 181, 0.3);
}

.linkedin-button svg {
    margin-top: -1px; 
}

/* ===========================
   MEDIA QUERIES (RESPONSIVE)
   =========================== */
@media (max-width: 1024px) {
    .background-img {
        height: 400px; 
        max-height: 400px; 
        display: block; 
    }

    .background-img img {
        width: 100%;
        height: 100%;
        object-fit: cover; 
        object-position: center; 
    }

    .text-on-image-text {
        font-size: 42px; 
        padding-bottom: 20px;
    }
    
    .text-on-image {
        padding: 0 0 30px 20px; 
    }
    
    .hero h1 {
        font-size: 42px; 
        word-wrap: break-word; 
    }
    
    .slogan {
        font-size: 20px;
        padding: 0 20px;
    }

    .navbar {
        padding: 15px 20px;
        flex-direction: column;
        gap: 15px;
        position: relative; 
    }

    .hero-content {
        padding-top: 140px;
    }

    .nav-links {
        gap: 15px;
        flex-wrap: wrap;
        justify-content: center;
        width: 100%;
    }
    
    .nav-links a {
        font-size: 16px;
        padding: 5px 10px; 
    }

    .offerings-section {
        padding: 60px 20px;
        min-height: auto; 
    }

    .offerings-container {
        flex-direction: column;
        gap: 40px;
        width: 100%; 
    }

    .offerings-left {
        padding-right: 0;
        text-align: center;
    }

    .offerings-left h2 {
        font-size: 28px;
        white-space: normal; 
    }

    .offerings-right {
        gap: 30px;
        width: 100%;
    }

    .offering-item {
        font-size: 32px; 
        padding-left: 0;
        text-align: center; 
        white-space: normal !important; 
        word-wrap: break-word; 
        line-height: 1.2;
    }

    .offering-cta {
        align-self: center; 
        margin-top: 20px;
    }

    .stats-solutions {
        padding: 60px 20px;
    }

    .stats-solutions-container {
        flex-direction: column; 
        gap: 50px;
        align-items: center;
    }

    .stat-solution {
        text-align: center;
        gap: 10px;
    }

    .stat-solution-number {
        font-size: 80px; 
    }

    .stat-solution-text {
        font-size: 20px;
    }
    
    .stats-intro-container {
        text-align: center; 
    }

    .services-solutions {
        padding: 60px 20px;
    }

    .services-solutions-container {
        gap: 60px;
    }

    .services-title {
        font-size: 26px;
        max-width: 100%;
        text-align: center;
    }

    .service-item-solution {
        flex-direction: column;
        gap: 20px;
        text-align: left;
    }

    .service-name {
        font-size: 22px;
        color: #8C1515 !important; 
        width: 100%;
    }

    .service-description {
        width: 100%;
        font-size: 16px;
    }

    .next-steps-container, 
    .about-container {
        padding: 60px 20px 100px; 
        gap: 60px;
    }

    .next-step-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }

    .next-step-number {
        font-size: 80px; 
        line-height: 1;
        letter-spacing: 0;
    }
    
    .next-steps-cta {
        flex-direction: column;
        gap: 30px;
        text-align: center;
    }

    .about-intro-split {
        flex-direction: column;
        gap: 30px;
        padding-bottom: 30px;
    }

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

    .team-grid {
        flex-direction: column;
        align-items: center;
    }

    .team-member {
        width: 100%;
        max-width: 400px;
    }

    .testimonials-section {
        padding: 60px 20px;
    }
    
    .carousel-container {
        padding: 30px 20px;
        min-height: auto;
    }
    
    .carousel-quote {
        font-size: 20px; 
    }
}

@media (max-width: 900px) {
    .about-intro-split {
        flex-direction: column;
        gap: 30px;
    }
    
    .about-pillars {
        grid-template-columns: 1fr; 
    }
    
    .team-grid {
        gap: 40px;
    }
    
    .team-member {
        width: 100%;
        max-width: 400px;
    }
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 42px;
    }
    
    .slogan {
        font-size: 18px;
    }
        
    .hero-content {
        padding-top: 140px;
    }
    
    .navbar {
        padding: 15px 20px;
        flex-direction: column;
        gap: 15px;
    }

    .nav-links {
        gap: 20px;
        flex-wrap: wrap;
        justify-content: center;
        font-size: 14px;
        width: 100%; 
    }
    
    .offerings-section, .solutions-section {
        padding: 60px 20px;
    }

    .offerings-container {
        flex-direction: column;
        gap: 40px;
    }

    .offerings-left {
        flex: none;
        padding-right: 0;
    }

    .offerings-left h2 {
        font-size: 24px;
        text-align: center;
        white-space: normal;
    }

    .offering-item {
        font-size: 28px; 
        padding-left: 20px;
        white-space: normal; 
        word-wrap: break-word; 
    }
    
    .stats-solutions {
        padding: 40px 28px;
    }

    .stats-solutions-container {
        flex-direction: column;
        gap: 64px;
        align-items: center;
    }

    .stat-solution {
        gap: 24px;
        text-align: center;
    }

    .services-solutions {
        padding: 64px 28px;
    }

    .services-solutions-container {
        gap: 64px;
    }

    .services-title {
        font-size: 24px;
    }

    .service-item-solution {
        flex-direction: column;
        gap: 24px;
    }

    .service-name {
        white-space: normal;
    }

    .service-description {
        width: 100%;
    }

    .next-steps-section, .about-section {
        padding: 64px 28px;
    }

    .next-steps-container, .about-container {
        gap: 56px;
    }

    .next-step-item {
        flex-direction: column;
        gap: 16px;
        padding: 50px 0;
    }

    .next-step-number {
        font-size: 200px;
        align-self: flex-start;
    }

    .next-step-content {
        max-width: 100%;
    }

    .next-steps-cta {
        flex-direction: column;
        gap: 56px;
    }

    .next-steps-cta-text {
        max-width: 100%;
    }
    
    .stats-intro-container p {
        font-size: 20px;
        padding: 0;
    }

    .whatsapp-float {
        width: 50px;
        height: 50px;
        bottom: 20px;
        right: 20px;
    }
    .whatsapp-float svg {
        width: 28px;
        height: 28px;
    }

@media (max-width: 480px) {
    .hero h1 { font-size: 32px; }
    .stat-solution-number { font-size: 60px; }
}
/* =======================================================
   CORRECCIONES FINALES MÓVIL (Versión 3 - Centrado Total)
   ======================================================= */
@media only screen and (max-width: 768px) {
    
    /* --- 1. AJUSTES GENERALES DE TEXTO --- */
    html {
        -webkit-text-size-adjust: 100%;
    }

    p, li, a {
        font-family: 'Montserrat', sans-serif !important;
        font-size: 20px !important;
        line-height: 1.6 !important;
        font-weight: 500 !important;
        letter-spacing: 0.3px !important;
    }

    p span, li span, div span:not(.highlight) {
        font-size: 20px !important;
    }

    /* --- 2. PROTECCIÓN DEL TÍTULO ROJO --- */
    .hero h1 .highlight, .highlight {
        font-size: inherit !important;
        color: #8C1515 !important;
        font-weight: 800 !important;
    }

    /* --- 3. INDEX: ARREGLO MISIÓN Y VALORES --- */
    .mission-content {
        display: flex !important;
        flex-direction: column !important;
        gap: 40px !important;
    }

    .mission-column {
        width: 100% !important;
        flex: none !important;
        padding-right: 0 !important;
    }
    
    .mission-column h3 {
        font-size: 26px !important;
        margin-bottom: 15px !important;
        font-weight: 700 !important;
    }

    .mission-column ul {
        padding-left: 25px !important;
    }
    
    .mission-column p, .mission-column li {
        color: #0D1F08 !important;
    }

    /* --- 4. SOLUCIONES Y OTROS --- */
    .service-item-solution, .next-step-item {
        flex-direction: column !important;
        padding: 30px 0 !important;
    }

    .service-name {
        font-size: 26px !important;
        margin-bottom: 15px !important;
        color: #f7f4eb !important;
        display: block !important;
        width: 100% !important;
        text-align: center !important; /* Centrar títulos de servicios */
    }

    .service-description, .next-step-description {
        width: 100% !important;
        padding-right: 0 !important;
        color: #ffffff !important;
    }
    
    .next-step-description {
        font-size: 21px !important;
    }

    .next-step-subtitle {
        font-size: 24px !important;
        margin-bottom: 10px !important;
    }

    /* --- 5. CENTRADO DE BOTONES Y MENÚ (NUEVO) --- */
    
    /* Menú de navegación: asegura que si el texto baja de línea, quede centrado */
    .nav-links a {
        text-align: center !important;
        display: block !important;
        width: 100% !important;
    }
    
    /* Botones de acción (Cotiza..., Contáctanos, etc.) */
    .cta-button, 
    .cta-button-dark, 
    .contact-button, 
    .offering-cta,
    .next-steps-button {
        margin-left: auto !important;
        margin-right: auto !important;
        display: table !important; /* Truco para centrar botones con ancho variable */
        text-align: center !important;
    }
}
}
