/* ============================================
   MOTORSOFT - Estilos Corporativos
   Versión: 1.0
   ============================================ */

/* --- Google Fonts Import --- */
@import url('https://fonts.googleapis.com/css2?family=Unbounded:wght@300;400;500;600;700;800;900&family=Montserrat:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,400&display=swap');

/* --- Variables de Marca --- */
:root {
    /* Colores Primarios */
    --color-navy:       #010A1F;
    --color-azul:       #008EF8;
    --color-gris:       #EAEAEA;

    /* Colores Secundarios */
    --color-light-blue: #CBE7F7;
    --color-orange:     #FF9E29;

    /* Colores de Productos/Servicios */
    --color-gear:       #FF1A37;
    --color-wfp:        #F05A24;
    --color-bc:         #8048F8;
    --color-dms:        #0006B8;
    --color-team:       #008A20;
    --color-account:    #EFA600;
    --color-wab:        #00AEB2;

    /* Tipografías */
    --font-titulo:  'Unbounded', sans-serif;
    --font-cuerpo:  'Montserrat', sans-serif;

    /* Espaciados */
    --section-py:   5rem;
    --container-px: clamp(1.5rem, 5vw, 4rem);

    /* Bordes */
    --radius-sm:    0.5rem;
    --radius-md:    1rem;
    --radius-lg:    1.5rem;
    --radius-xl:    2rem;

    /* Sombras */
    --shadow-card:  0 4px 24px rgba(1, 10, 31, 0.10);
    --shadow-hover: 0 8px 40px rgba(0, 142, 248, 0.18);

    /* Transiciones */
    --transition:   0.3s ease;
}

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

html { scroll-behavior: smooth; font-size: 16px; }

body {
    font-family: var(--font-cuerpo);
    background-color: #fff;
    color: var(--color-navy);
    line-height: 1.6;
    overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a  { text-decoration: none; color: inherit; transition: var(--transition); }
ul { list-style: none; }

/* --- Tipografía --- */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-titulo);
    line-height: 1.2;
    color: var(--color-navy);
}

h1 { font-size: clamp(2rem, 5vw, 3.5rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.5rem); font-weight: 700; }
h3 { font-size: clamp(1.1rem, 2vw, 1.4rem); font-weight: 600; }
h4 { font-size: 1.1rem; font-weight: 600; }

p  { font-family: var(--font-cuerpo); line-height: 1.75; }

.text-azul   { color: var(--color-azul); }
.text-navy   { color: var(--color-navy); }
.text-orange { color: var(--color-orange); }
.text-white  { color: #fff; }

/* --- Layout --- */
.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 var(--container-px);
}

.section { padding: var(--section-py) 0; }
.section--dark  { background-color: var(--color-navy); color: #fff; }
.section--dark h1, .section--dark h2, .section--dark h3 { color: #fff; }
.section--grey  { background-color: var(--color-gris); }
.section--light { background-color: var(--color-light-blue); }

/* --- Badge / Etiqueta --- */
.badge {
    display: inline-block;
    font-family: var(--font-titulo);
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--color-azul);
    border: 1.5px solid var(--color-azul);
    border-radius: 2rem;
    padding: 0.3rem 1rem;
    margin-bottom: 1rem;
}

.badge--white {
    color: #fff;
    border-color: rgba(255,255,255,0.4);
}

.badge--orange {
    color: var(--color-orange);
    border-color: var(--color-orange);
}

/* --- Botones --- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-titulo);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    border-radius: 3rem;
    padding: 0.85rem 2rem;
    border: 2px solid transparent;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
}

.btn--primary {
    background-color: var(--color-azul);
    color: #fff;
    border-color: var(--color-azul);
}
.btn--primary:hover {
    background-color: #0078d4;
    border-color: #0078d4;
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

.btn--outline {
    background-color: transparent;
    color: var(--color-azul);
    border-color: var(--color-azul);
}
.btn--outline:hover {
    background-color: var(--color-azul);
    color: #fff;
    transform: translateY(-2px);
}

.btn--outline-white {
    background-color: transparent;
    color: #fff;
    border-color: rgba(255,255,255,0.5);
}
.btn--outline-white:hover {
    background-color: rgba(255,255,255,0.12);
    border-color: #fff;
}

.btn--orange {
    background-color: var(--color-orange);
    color: var(--color-navy);
    border-color: var(--color-orange);
}
.btn--orange:hover {
    background-color: #e88c1a;
    border-color: #e88c1a;
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(255,158,41,0.35);
}

.btn--sm { padding: 0.6rem 1.4rem; font-size: 0.72rem; }
.btn--lg { padding: 1rem 2.5rem; font-size: 0.85rem; }

/* --- Navbar --- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background-color: #fff;
    padding: 0.9rem 0;
    transition: var(--transition);
    border-bottom: 1px solid var(--color-gris);
}

.navbar.scrolled {
    box-shadow: 0 2px 20px rgba(1,10,31,0.08);
}

.navbar__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
}

.navbar__logo img {
    height: 36px;
    width: auto;
}

.navbar__menu {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.navbar__link {
    font-family: var(--font-titulo);
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    color: var(--color-navy);
    padding: 0.5rem 0.9rem;
    border-radius: 2rem;
    transition: var(--transition);
    text-transform: uppercase;
}

.navbar__link:hover,
.navbar__link.active {
    color: var(--color-azul);
    background-color: rgba(0,142,248,0.08);
}

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

.navbar__lang {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.navbar__lang a {
    font-family: var(--font-titulo);
    font-size: 0.65rem;
    font-weight: 700;
    color: #999;
    letter-spacing: 0.05em;
    transition: var(--transition);
    padding: 0.25rem 0.5rem;
    border-radius: 0.25rem;
}

.navbar__lang a.active,
.navbar__lang a:hover {
    color: var(--color-azul);
    background-color: rgba(0,142,248,0.08);
}

.navbar__lang span {
    color: #ccc;
    font-size: 0.7rem;
}

/* Mobile menu toggle */
.navbar__toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    flex-direction: column;
    gap: 5px;
}

.navbar__toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background-color: var(--color-navy);
    border-radius: 2px;
    transition: var(--transition);
}

/* --- Hero Home --- */
.hero {
    min-height: 100vh;
    background-color: var(--color-navy);
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding-top: 80px;
}

.hero__bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero__bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.08;
}

.hero__gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--color-navy) 50%, rgba(0,142,248,0.15) 100%);
    z-index: 1;
}

/* Animated glow orb */
.hero__orb {
    position: absolute;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0,142,248,0.12) 0%, transparent 70%);
    top: -100px;
    right: -100px;
    z-index: 1;
    animation: pulse-orb 6s ease-in-out infinite;
}

@keyframes pulse-orb {
    0%, 100% { transform: scale(1); opacity: 0.6; }
    50%       { transform: scale(1.15); opacity: 1; }
}

.hero__content {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.hero__text { }

.hero__phone {
    font-family: var(--font-cuerpo);
    font-size: 0.78rem;
    color: rgba(255,255,255,0.55);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.hero__phone a {
    color: var(--color-azul);
    font-weight: 600;
    transition: var(--transition);
}
.hero__phone a:hover { color: var(--color-light-blue); }

.hero__title {
    color: #fff;
    margin-bottom: 2rem;
}

.hero__title span { color: var(--color-azul); }

.hero__ctas {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero__image img {
    border-radius: var(--radius-lg);
    /*box-shadow: 0 20px 60px rgba(0,142,248,0.2);*/
}

/* --- Intro Section --- */
.intro {
    padding: var(--section-py) 0;
    background: var(--color-navy);
    position: relative;
    overflow: hidden;
}

.intro__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.intro__text h2 { color: #fff; margin-bottom: 1.25rem; }
.intro__text p  { color: rgba(255,255,255,0.7); margin-bottom: 2rem; }

.intro__stat {
    background: rgba(0,142,248,0.1);
    border: 1px solid rgba(0,142,248,0.25);
    border-radius: var(--radius-md);
    padding: 1.25rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: 2rem;
}

.intro__stat-icon {
    width: 48px;
    height: 48px;
    background-color: var(--color-azul);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.intro__stat-text {
    font-family: var(--font-titulo);
    font-size: 0.75rem;
    font-weight: 700;
    color: #fff;
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

.intro__counter {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.counter-item {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: var(--radius-md);
    padding: 1.5rem;
    text-align: center;
    transition: var(--transition);
}

.counter-item:hover {
    border-color: rgba(0,142,248,0.3);
    background: rgba(0,142,248,0.06);
}

.counter-item__number {
    font-family: var(--font-titulo);
    font-size: 2rem;
    font-weight: 800;
    color: var(--color-azul);
    margin-bottom: 0.3rem;
}

.counter-item__label {
    font-size: 0.78rem;
    color: rgba(255,255,255,0.6);
    font-weight: 500;
}

/* --- Cards de Servicios y Productos --- */
.cards-grid {
    display: grid;
    gap: 1.5rem;
}

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

.card {
    background: #fff;
    border: 1px solid rgba(1,10,31,0.08);
    border-radius: var(--radius-lg);
    padding: 2rem;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
    border-color: var(--color-azul);
}

.card--dark {
    background: rgba(255,255,255,0.04);
    border-color: rgba(255,255,255,0.08);
}

.card--dark:hover {
    background: rgba(255,255,255,0.07);
    border-color: rgba(0,142,248,0.35);
}

.card__numero {
    font-family: var(--font-titulo);
    font-size: 0.7rem;
    font-weight: 800;
    color: rgba(255,255,255,0.2);
    margin-bottom: 1.25rem;
    letter-spacing: 0.1em;
}

.card__icon {
    width: 52px;
    height: 52px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
}

.card__icon svg { width: 26px; height: 26px; }

.card__titulo {
    font-family: var(--font-titulo);
    font-size: 0.9rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.card__subtitulo {
    font-size: 0.72rem;
    color: var(--color-azul);
    font-weight: 600;
    margin-bottom: 1rem;
    letter-spacing: 0.03em;
}

.card__texto {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.65);
    line-height: 1.7;
}

/* Producto card (claro) */
.producto-card {
    background: #fff;
    border: 1px solid var(--color-gris);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: var(--transition);
}

.producto-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-hover);
}

.producto-card__header {
    padding: 2rem 2rem 0;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
}

.producto-card__badge {
    display: inline-block;
    font-family: var(--font-titulo);
    font-size: 0.65rem;
    font-weight: 700;
    color: #fff;
    padding: 0.3rem 0.9rem;
    border-radius: 2rem;
    letter-spacing: 0.05em;
}

.producto-card__img {
    padding: 1.5rem 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 160px;
}

.producto-card__img img {
    max-height: 130px;
    object-fit: contain;
    transition: var(--transition);
}

.producto-card:hover .producto-card__img img {
    transform: scale(1.05);
}

.producto-card__body {
    padding: 0 2rem 2rem;
}

.producto-card__nombre {
    font-family: var(--font-titulo);
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--color-navy);
    margin-bottom: 0.25rem;
}

.producto-card__subtitulo {
    font-size: 0.75rem;
    color: #888;
    font-weight: 500;
    margin-bottom: 1rem;
}

.producto-card__texto {
    font-size: 0.85rem;
    color: #555;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.producto-card__link {
    font-family: var(--font-titulo);
    font-size: 0.72rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    transition: var(--transition);
}

.producto-card__link:hover { gap: 0.7rem; }

/* --- Sección Diferenciadores --- */
.diff-section {
    padding: var(--section-py) 0;
    background: var(--color-navy);
    position: relative;
    overflow: hidden;
}

.diff-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.diff-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 2rem;
}

.diff-list__item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.5rem;
    background: rgba(0,142,248,0.08);
    border: 1px solid rgba(0,142,248,0.2);
    border-radius: var(--radius-md);
    font-size: 0.9rem;
    color: rgba(255,255,255,0.85);
    font-weight: 500;
    transition: var(--transition);
}

.diff-list__item:hover {
    background: rgba(0,142,248,0.15);
    border-color: var(--color-azul);
}

.diff-list__check {
    width: 28px;
    height: 28px;
    background-color: var(--color-azul);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.diff-comparison {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: var(--radius-xl);
    padding: 2rem;
}

/* --- Stats Section --- */
.stats-section {
    padding: var(--section-py) 0;
    background: linear-gradient(135deg, var(--color-azul) 0%, #0057c8 100%);
    text-align: center;
    color: #fff;
}

.stats__number {
    font-family: var(--font-titulo);
    font-size: clamp(3.5rem, 8vw, 6rem);
    font-weight: 900;
    color: #fff;
    line-height: 1;
    margin: 1rem 0 0.5rem;
}

.stats__label {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.85);
    font-weight: 500;
    max-width: 500px;
    margin: 0 auto 2rem;
}

/* --- Sección CTA Final --- */
.cta-section {
    padding: var(--section-py) 0;
    background: var(--color-navy);
    position: relative;
    overflow: hidden;
    text-align: center;
}

.cta-section::before {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(0,142,248,0.1) 0%, transparent 70%);
    bottom: -200px;
    left: 50%;
    transform: translateX(-50%);
    pointer-events: none;
}

.cta-section h2 { color: #fff; margin-bottom: 0.75rem; }
.cta-section p  { color: rgba(255,255,255,0.6); margin-bottom: 2rem; font-size: 1.05rem; }

.cta-section__btns {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* --- Footer --- */
.footer {
    background: #fff;
    border-top: 1px solid var(--color-gris);
    padding: 3rem 0 1.5rem;
}

.footer__grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 2.5rem;
}

.footer__brand img {
    height: 32px;
    margin-bottom: 1rem;
}

.footer__tagline {
    font-family: var(--font-titulo);
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--color-azul);
    margin-bottom: 0.75rem;
}

.footer__desc {
    font-size: 0.82rem;
    color: #666;
    line-height: 1.7;
    max-width: 280px;
}

.footer__heading {
    font-family: var(--font-titulo);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--color-navy);
    margin-bottom: 1rem;
}

.footer__links {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.footer__links a {
    font-size: 0.85rem;
    color: #666;
    transition: var(--transition);
}

.footer__links a:hover { color: var(--color-azul); }

.footer__contact-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.footer__contact-icon {
    width: 32px;
    height: 32px;
    background: rgba(0,142,248,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 0.1rem;
}

.footer__contact-icon svg { width: 15px; height: 15px; color: var(--color-azul); }

.footer__contact-text {
    font-size: 0.82rem;
    color: #666;
    line-height: 1.5;
}

.footer__contact-text a {
    color: var(--color-navy);
    transition: var(--transition);
}
.footer__contact-text a:hover { color: var(--color-azul); }

.footer__social {
    display: flex;
    gap: 0.75rem;
    margin-top: 1.5rem;
}

.footer__social a {
    width: 36px;
    height: 36px;
    background: var(--color-gris);
    border: 1px solid #ddd;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    color: var(--color-navy);
}

.footer__social a:hover {
    background: var(--color-azul);
    border-color: var(--color-azul);
    color: #fff;
    transform: translateY(-2px);
}

.footer__social svg { width: 16px; height: 16px; }

.footer__bottom {
    border-top: 1px solid var(--color-gris);
    padding-top: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer__copy {
    font-size: 0.78rem;
    color: #999;
}

.footer__legal {
    display: flex;
    gap: 1.5rem;
}

.footer__legal a {
    font-size: 0.78rem;
    color: #999;
    transition: var(--transition);
}

.footer__legal a:hover { color: var(--color-azul); }

/* --- WhatsApp Button --- */
.whatsapp-btn {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 999;
    width: 58px;
    height: 58px;
    background-color: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(37,211,102,0.4);
    transition: var(--transition);
    animation: whatsapp-pulse 2.5s ease-in-out infinite;
}

.whatsapp-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 30px rgba(37,211,102,0.6);
}

.whatsapp-btn svg { width: 30px; height: 30px; }

@keyframes whatsapp-pulse {
    0%, 100% { box-shadow: 0 4px 20px rgba(37,211,102,0.4); }
    50%       { box-shadow: 0 4px 30px rgba(37,211,102,0.7), 0 0 0 8px rgba(37,211,102,0.08); }
}

/* --- Page Hero (servicios/productos/contacto) --- */
.page-hero {
    background: var(--color-navy);
    padding: 7rem 0 4rem;
    position: relative;
    overflow: hidden;
}

.page-hero::after {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(0,142,248,0.1) 0%, transparent 70%);
    top: -100px;
    right: -50px;
    pointer-events: none;
}

.page-hero__inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.page-hero__text h1 { color: #fff; margin-bottom: 1rem; }
.page-hero__text p  { color: rgba(255,255,255,0.65); font-size: 1rem; max-width: 500px; }

.page-hero__image { text-align: center; }
.page-hero__image img {
    max-height: 260px;
    object-fit: contain;
    filter: drop-shadow(0 10px 30px rgba(0,142,248,0.25));
}

/* --- Servicio / Producto Detail Card --- */
.detail-section { padding: 5rem 0; }

.detail-item {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-bottom: 5rem;
}

.detail-item:last-child { margin-bottom: 0; }

.detail-item--reverse { direction: rtl; }
.detail-item--reverse > * { direction: ltr; }

.detail-item__image {
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-gris);
    border-radius: var(--radius-xl);
    padding: 3rem;
    min-height: 300px;
}

.detail-item__image img {
    max-height: 220px;
    object-fit: contain;
    transition: var(--transition);
}

.detail-item:hover .detail-item__image img {
    transform: scale(1.03);
}

.detail-item__content {}
.detail-item__content h2 { margin-bottom: 0.5rem; }
.detail-item__content .detail-item__subtitulo {
    font-family: var(--font-titulo);
    font-size: 0.75rem;
    font-weight: 600;
    color: #888;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
    display: block;
}

.detail-item__content p {
    color: #555;
    line-height: 1.8;
    margin-bottom: 1.75rem;
}

/* --- Contacto --- */
.contact-section {
    padding: var(--section-py) 0;
    background: var(--color-gris);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 4rem;
    align-items: start;
}

.contact-info__item {
    display: flex;
    align-items: flex-start;
    gap: 1.25rem;
    margin-bottom: 2rem;
}

.contact-info__icon {
    width: 50px;
    height: 50px;
    background-color: var(--color-navy);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-info__icon svg { width: 22px; height: 22px; color: var(--color-azul); }

.contact-info__label {
    font-family: var(--font-titulo);
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #888;
    margin-bottom: 0.3rem;
}

.contact-info__value {
    font-size: 0.92rem;
    color: var(--color-navy);
    font-weight: 500;
    line-height: 1.5;
}

.contact-info__value a { color: var(--color-azul); }
.contact-info__value a:hover { text-decoration: underline; }

/* Form */
.contact-form {
    background: #fff;
    border-radius: var(--radius-xl);
    padding: 2.5rem;
    box-shadow: var(--shadow-card);
}

.form-group {
    margin-bottom: 1.25rem;
}

.form-label {
    display: block;
    font-family: var(--font-titulo);
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #666;
    margin-bottom: 0.5rem;
}

.form-control {
    width: 100%;
    font-family: var(--font-cuerpo);
    font-size: 0.92rem;
    color: var(--color-navy);
    background: var(--color-gris);
    border: 2px solid transparent;
    border-radius: var(--radius-md);
    padding: 0.85rem 1.1rem;
    transition: var(--transition);
    outline: none;
    appearance: none;
}

.form-control:focus {
    background: #fff;
    border-color: var(--color-azul);
    box-shadow: 0 0 0 3px rgba(0,142,248,0.1);
}

.form-control.is-invalid {
    border-color: var(--color-gear);
    background: #fff5f5;
}

textarea.form-control {
    resize: vertical;
    min-height: 130px;
}

select.form-control { cursor: pointer; }

.invalid-feedback {
    display: block;
    font-size: 0.78rem;
    color: var(--color-gear);
    margin-top: 0.4rem;
    font-weight: 500;
}

/* Alert messages */
.alert {
    padding: 1rem 1.5rem;
    border-radius: var(--radius-md);
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.alert--success {
    background: #ecfdf5;
    border: 1px solid #6ee7b7;
    color: #065f46;
}

.alert--error {
    background: #fff1f2;
    border: 1px solid #fca5a5;
    color: #991b1b;
}

/* --- Separador decorativo --- */
.divider {
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--color-azul), var(--color-orange));
    border-radius: 2px;
    margin: 1rem 0 1.5rem;
}

.divider--center { margin: 1rem auto 1.5rem; }

/* --- Hero Image Animation --- */
.hero__image {
    animation: slideInRight 0.8s ease-out 0.3s both;
    background: transparent !important;
}

/* --- Responsivo --- */
@media (max-width: 1024px) {
    .cards-grid--4 { grid-template-columns: repeat(2, 1fr); }
    .footer__grid  { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    :root { --section-py: 3.5rem; }

    .navbar__menu,
    .navbar__actions .btn { display: none; }

    .navbar__menu.is-open {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #fff;
        padding: 1rem;
        border-top: 1px solid var(--color-gris);
        box-shadow: 0 4px 20px rgba(0,0,0,0.08);
        gap: 0.25rem;
    }

    .navbar__toggle { display: flex; }

    .hero__content,
    .intro__grid,
    .diff-grid,
    .page-hero__inner,
    .detail-item,
    .detail-item--reverse,
    .contact-grid { grid-template-columns: 1fr; }

    .detail-item--reverse { direction: ltr; }

    .hero__image,
    .page-hero__image { display: none; }

    .cards-grid--2,
    .cards-grid--3,
    .cards-grid--4 { grid-template-columns: 1fr; }

    .footer__grid { grid-template-columns: 1fr; gap: 2rem; }

    .footer__bottom { flex-direction: column; text-align: center; }
}

@media (max-width: 480px) {
    .hero__ctas { flex-direction: column; }
    .cta-section__btns { flex-direction: column; align-items: center; }
}

/* --- Animaciones de entrada --- */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.fade-up:nth-child(2) { transition-delay: 0.1s; }
.fade-up:nth-child(3) { transition-delay: 0.2s; }
.fade-up:nth-child(4) { transition-delay: 0.3s; }

/* --- Clientes Carrusel --- */
.clients-section {
    background-color: #fff;
    padding: 4rem 0;
}

.clients-carousel {
    overflow: hidden;
    position: relative;
}

.clients-carousel__inner {
    display: flex;
    gap: 3rem;
    animation: slideClients 30s linear infinite;
}

.clients-carousel__item {
    flex: 0 0 auto;
    width: 150px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.clients-carousel__logo {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    opacity: 0.7;
    transition: opacity 0.3s ease;
    filter: grayscale(100%);
}

.clients-carousel__logo:hover {
    opacity: 1;
    filter: grayscale(0%);
}

@keyframes slideClients {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* --- Entrada Hero Image --- */
@keyframes slideInRight {
    0% {
        opacity: 0;
        transform: translateX(-100px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeSlide {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

/* --- News Slider --- */
.news-slider-section {
    background-color: #fff;
    padding: 3rem 0;
}

.news-slider {
    position: relative;
    overflow: visible;
    min-height: 300px;
}

.news-slider__inner {
    position: relative;
    min-height: 300px;
}

.news-slider__slide {
    opacity: 0;
    display: none;
    transition: opacity 0.5s ease;
}

.news-slider__slide.active {
    display: block !important;
    opacity: 1;
}

.news-card {
    background: linear-gradient(135deg, var(--color-light-blue) 0%, rgba(203, 231, 247, 0.5) 100%);
    border: 1px solid rgba(0, 142, 248, 0.15);
    border-radius: 1rem;
    padding: 2.5rem;
    max-width: 600px;
    margin: 0 auto;
}

.news-card__tag {
    display: inline-block;
    font-family: var(--font-titulo);
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    color: #fff;
    padding: 0.4rem 1rem;
    border-radius: 2rem;
    margin-bottom: 1rem;
}

.news-card__title {
    font-size: clamp(1.3rem, 2.5vw, 1.8rem);
    color: var(--color-navy);
    margin-bottom: 0.8rem;
}

.news-card__text {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.news-card__link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--color-azul);
    font-weight: 600;
    font-family: var(--font-titulo);
    transition: var(--transition);
    font-size: 0.9rem;
}

.news-card__link:hover {
    color: var(--color-navy);
    gap: 0.75rem;
}

.news-slider__arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 2px solid var(--color-azul);
    background: #fff;
    color: var(--color-azul);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    z-index: 10;
}

.news-slider__arrow:hover {
    background: var(--color-azul);
    color: #fff;
}

.news-slider__arrow--prev {
    left: -65px;
}

.news-slider__arrow--next {
    right: -65px;
}

@media (max-width: 1200px) {
    .news-slider__arrow--prev {
        left: 10px;
    }

    .news-slider__arrow--next {
        right: 10px;
    }
}

.news-slider__dots {
    display: flex;
    justify-content: center;
    gap: 0.8rem;
    margin-top: 2rem;
}

.news-slider__dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid var(--color-azul);
    background: transparent;
    cursor: pointer;
    transition: var(--transition);
}

.news-slider__dot.active {
    background: var(--color-azul);
}

.news-slider__dot:hover {
    transform: scale(1.2);
}

@media (max-width: 768px) {
    .news-slider__arrow--prev,
    .news-slider__arrow--next {
        position: static;
        margin: 1rem 0.5rem;
        transform: none;
    }

    .news-slider__arrow {
        width: 40px;
        height: 40px;
    }
}
