/* =========================================================
   IC BROKER — IDENTIDAD VISUAL OFICIAL
   ========================================================= */

:root {
    --azul-profundo: #102A43;
    --azul-petroleo: #1F5A8A;
    --naranja: #E8752A;
    --gris-claro: #F4F7F9;
    --gris-oscuro: #243B53;
    --blanco: #FFFFFF;

    --texto: #243B53;
    --texto-suave: #66788A;
    --borde: #DFE7ED;

    --max-width: 1180px;

    --shadow:
        0 18px 45px rgba(16, 42, 67, 0.09);

    --transition: 0.25s ease;
}


/* =========================================================
   RESET
   ========================================================= */

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 90px;
}

body {
    font-family: "Lato", sans-serif;
    color: var(--texto);
    background: var(--blanco);
    line-height: 1.65;
    overflow-x: hidden;
}

body.menu-open {
    overflow: hidden;
}

h1,
h2,
h3,
h4 {
    font-family: "Poppins", sans-serif;
    font-weight: 600;
}

a {
    color: inherit;
    text-decoration: none;
}

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

button,
input,
select,
textarea {
    font: inherit;
}

.container {
    width: min(92%, var(--max-width));
    margin-inline: auto;
}


/* =========================================================
   HEADER
   ========================================================= */

.header {
    position: sticky;
    top: 0;
    z-index: 1000;

    background: rgba(255, 255, 255, 0.97);

    border-bottom:
        1px solid rgba(16, 42, 67, 0.08);

    backdrop-filter: blur(14px);
}

.nav-container {
    min-height: 86px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 32px;
}

.brand {
    flex-shrink: 0;
}

.header-logo {
    width: 340px;
    max-height: 70px;
    object-fit: contain;
    object-position: left center;
}

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

.nav a {
    position: relative;

    padding: 30px 0;

    font-family: "Poppins", sans-serif;
    font-size: 12px;
    font-weight: 500;

    color: var(--azul-profundo);

    transition: var(--transition);
}

.nav a::after {
    content: "";

    position: absolute;

    left: 0;
    bottom: 22px;

    width: 0;
    height: 2px;

    background: var(--naranja);

    transition: var(--transition);
}

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

.nav a:hover::after {
    width: 100%;
}

.menu-toggle {
    display: none;

    padding: 5px;

    background: transparent;
    border: 0;

    cursor: pointer;
}

.menu-toggle span {
    display: block;

    width: 26px;
    height: 2px;

    margin: 5px;

    background: var(--azul-profundo);
}


/* =========================================================
   BOTONES
   ========================================================= */

.btn {
    min-height: 48px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 0 23px;

    border: 1px solid transparent;
    border-radius: 3px;

    font-family: "Poppins", sans-serif;
    font-size: 12px;
    font-weight: 600;

    cursor: pointer;

    transition: var(--transition);
}

.btn-nav {
    background: var(--azul-profundo);
    color: var(--blanco);
}

.btn-nav:hover {
    background: var(--azul-petroleo);
}

.btn-primary {
    background: var(--naranja);
    color: var(--blanco);
}

.btn-primary:hover {
    transform: translateY(-2px);

    box-shadow:
        0 12px 25px rgba(232, 117, 42, 0.25);
}

.btn-ghost {
    color: var(--blanco);

    border-color:
        rgba(255, 255, 255, 0.45);
}

.btn-ghost:hover {
    background: var(--blanco);
    color: var(--azul-profundo);
}

.btn-white {
    margin-top: 12px;

    background: var(--blanco);
    color: var(--azul-profundo);
}

.btn-white:hover {
    transform: translateY(-2px);
}


/* =========================================================
   EYEBROWS / SUBTÍTULOS
   ========================================================= */

.eyebrow {
    display: inline-block;

    position: relative;

    margin-bottom: 20px;
    padding-bottom: 10px;

    font-family: "Poppins", sans-serif;
    font-size: 11px;
    font-weight: 600;

    letter-spacing: 1.8px;

    color: var(--azul-profundo);
}

.eyebrow::after {
    content: "";

    position: absolute;

    left: 0;
    bottom: 0;

    width: 32px;
    height: 2px;

    background: var(--naranja);
}

.eyebrow.light {
    color: rgba(255, 255, 255, 0.8);
}

.eyebrow.orange {
    color: var(--naranja);
}


/* =========================================================
   HERO
   ========================================================= */

.hero {
    position: relative;

    min-height: 690px;

    display: flex;
    align-items: center;

    overflow: hidden;

    color: var(--blanco);

    background:
        linear-gradient(
            125deg,
            #102A43 0%,
            #102A43 52%,
            #173F60 75%,
            #1F5A8A 100%
        );
}

.hero-grid {
    position: relative;
    z-index: 3;

    display: grid;

  grid-template-columns:
    minmax(0, 1.05fr)
    minmax(420px, 0.95fr);

gap: 70px;

    padding: 105px 0;
}

.hero-content {
    max-width: 680px;
}

.hero h1 {
    max-width: 680px;

    font-size: clamp(48px, 5.6vw, 74px);
    line-height: 1.04;

    letter-spacing: -2.7px;
}

.hero h1 span {
    display: block;

    color: var(--blanco);
}

.hero-subtitle {
    margin-top: 20px;

    font-family: "Poppins", sans-serif;
    font-size: 20px;
    font-weight: 500;

    color: var(--naranja);
}

.hero-description {
    max-width: 580px;

    margin: 25px 0 32px;

    font-size: 18px;

    color:
        rgba(255, 255, 255, 0.74);
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;

    gap: 14px;
}


/* Hero concept */

.hero-concept {
    position: relative;

    padding: 42px 40px 42px 44px;

    background:
        rgba(4, 24, 42, 0.32);

    border:
        1px solid rgba(255, 255, 255, 0.11);

    backdrop-filter: blur(8px);
}

.concept-line {
    position: absolute;

    left: 0;
    top: 43px;

    width: 4px;
    height: 42px;

    background: var(--naranja);
}

.concept-label {
    font-family: "Poppins", sans-serif;

    font-size: 10px;
    font-weight: 600;

    letter-spacing: 1.7px;

    color: rgba(255, 255, 255, 0.6);
}

.hero-concept h2 {
    margin: 17px 0 18px;

    font-size: 29px;
    line-height: 1.25;
}

.hero-concept h2 strong {
    color: var(--naranja);
}

.hero-concept > p {
    font-size: 15px;

    color:
        rgba(255, 255, 255, 0.72);
}

.concept-steps {
    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 15px;

    margin-top: 32px;
    padding-top: 24px;

    border-top:
        1px solid rgba(255, 255, 255, 0.15);
}

.concept-steps div {
    display: flex;
    flex-direction: column;
}

.concept-steps span {
    margin-bottom: 5px;

    font-family: "Poppins", sans-serif;
    font-size: 10px;

    color: var(--naranja);
}

.concept-steps strong {
    font-size: 12px;
}


/* Decoración hero */

.hero-circle {
    position: absolute;

    border-radius: 50%;

    border:
        1px solid rgba(255, 255, 255, 0.05);
}

.circle-one {
    width: 650px;
    height: 650px;

    right: -320px;
    top: -270px;
}

.circle-two {
    width: 850px;
    height: 850px;

    right: -410px;
    top: -365px;
}

.hero-orange-line {
    position: absolute;

    left: 0;
    bottom: 0;

    width: 34%;
    height: 5px;

    background: var(--naranja);
}


/* =========================================================
   SECCIONES GENERALES
   ========================================================= */

.section {
    padding: 110px 0;
}

.section-intro {
    margin-bottom: 55px;
}

.section-intro h2,
.section-heading h2,
.expertise-copy h2,
.contact-copy h2 {
    font-size: clamp(35px, 4vw, 51px);
    line-height: 1.15;

    letter-spacing: -1.5px;

    color: var(--azul-profundo);
}


/* =========================================================
   NOSOTROS
   ========================================================= */

.about {
    background: var(--blanco);
}

.about-grid {
    display: grid;

    grid-template-columns:
        minmax(0, 0.9fr)
        minmax(0, 1.1fr);

    gap: 100px;
}

.about-main {
    max-width: 520px;
}

.about-main .large-text {
    margin-bottom: 25px;

    font-family: "Poppins", sans-serif;
    font-size: 25px;
    font-weight: 500;

    line-height: 1.45;

    color: var(--azul-profundo);
}

.about-main p:not(.large-text) {
    margin-bottom: 20px;

    font-size: 17px;

    color: var(--texto-suave);
}

.values-grid {
    display: grid;

    grid-template-columns:
        repeat(2, 1fr);

    gap: 0;
}

.value {
    min-height: 160px;

    padding: 24px;

    border-top: 1px solid var(--borde);
}

.value:nth-child(odd) {
    border-right: 1px solid var(--borde);
}

.value > span {
    font-family: "Poppins", sans-serif;
    font-size: 10px;

    color: var(--naranja);
}

.value h3 {
    margin: 12px 0 5px;

    font-size: 16px;

    color: var(--azul-profundo);
}

.value p {
    font-size: 14px;

    color: var(--texto-suave);
}


/* =========================================================
   SOLUCIONES
   ========================================================= */

.solutions {
    background: var(--gris-claro);
}

.section-heading {
    display: grid;

    grid-template-columns:
        1fr 0.55fr;

    align-items: end;

    gap: 80px;

    margin-bottom: 60px;
}

.section-heading > p {
    padding-bottom: 5px;

    color: var(--texto-suave);
    font-size: 16px;
}

.solutions-grid {
    display: grid;

    grid-template-columns:
        repeat(4, 1fr);

    gap: 16px;
}

.solution-card {
    position: relative;

    min-height: 505px;

    display: flex;
    flex-direction: column;

    padding: 34px 28px;

    background: var(--blanco);

    border:
        1px solid rgba(16, 42, 67, 0.09);

    transition: var(--transition);
}

.solution-card:hover {
    transform: translateY(-5px);

    box-shadow: var(--shadow);
}

.solution-number {
    font-family: "Poppins", sans-serif;
    font-size: 10px;

    color: var(--naranja);
}

.solution-icon {
    width: 53px;
    height: 53px;

    display: grid;
    place-items: center;

    margin: 35px 0 24px;

    border: 2px solid var(--azul-profundo);

    color: var(--azul-profundo);

    font-family: "Poppins", sans-serif;
    font-size: 23px;
}

.solution-card h3 {
    margin-bottom: 12px;

    font-size: 22px;

    color: var(--azul-profundo);
}

.solution-card > p {
    min-height: 76px;

    margin-bottom: 20px;

    font-size: 15px;

    color: var(--texto-suave);
}

.solution-card ul {
    margin-bottom: 25px;

    list-style: none;
}

.solution-card li {
    position: relative;

    padding: 4px 0 4px 15px;

    font-size: 13px;

    color: var(--texto);
}

.solution-card li::before {
    content: "";

    position: absolute;

    left: 0;
    top: 13px;

    width: 5px;
    height: 2px;

    background: var(--naranja);
}

.solution-card > a {
    margin-top: auto;

    font-family: "Poppins", sans-serif;
    font-size: 11px;
    font-weight: 600;

    color: var(--azul-petroleo);
}

.solution-card > a:hover {
    color: var(--naranja);
}


/* Caución destacada */

.solution-card.featured {
    background: var(--azul-profundo);
    color: var(--blanco);

    border-color: var(--azul-profundo);
}

.solution-card.featured .solution-icon {
    border-color: var(--naranja);
    color: var(--naranja);
}

.solution-card.featured h3 {
    color: var(--blanco);
}

.solution-card.featured > p,
.solution-card.featured li {
    color:
        rgba(255, 255, 255, 0.72);
}

.solution-card.featured > a {
    color: var(--blanco);
}

.specialty {
    position: absolute;

    top: 0;
    right: 0;

    padding: 7px 10px;

    background: var(--naranja);

    font-family: "Poppins", sans-serif;
    font-size: 7px;
    font-weight: 600;

    letter-spacing: 0.8px;

    color: var(--blanco);
}


/* =========================================================
   EXPERTISE / CAUCIÓN
   ========================================================= */

.expertise-section {
    position: relative;

    padding: 115px 0;

    overflow: hidden;

    background:
        linear-gradient(
            125deg,
            #102A43 0%,
            #102A43 62%,
            #1F5A8A 150%
        );

    color: var(--blanco);
}

.expertise-section::after {
    content: "";

    position: absolute;

    right: -180px;
    bottom: -350px;

    width: 650px;
    height: 650px;

    border:
        1px solid rgba(255, 255, 255, 0.06);

    border-radius: 50%;
}

.expertise-grid {
    position: relative;
    z-index: 2;

    display: grid;

    grid-template-columns:
        minmax(0, 1fr)
        minmax(0, 0.9fr);

    gap: 110px;
}

.expertise-copy h2 {
    color: var(--blanco);
}

.expertise-copy > p {
    max-width: 560px;

    margin: 24px 0;

    font-size: 17px;

    color:
        rgba(255, 255, 255, 0.7);
}

.expertise-list {
    border-top:
        1px solid rgba(255, 255, 255, 0.18);
}

.expertise-list article {
    display: grid;

    grid-template-columns:
        55px 1fr;

    gap: 10px;

    padding: 26px 0;

    border-bottom:
        1px solid rgba(255, 255, 255, 0.18);
}

.expertise-list article > span {
    font-family: "Poppins", sans-serif;
    font-size: 11px;

    color: var(--naranja);
}

.expertise-list h3 {
    margin-bottom: 4px;

    font-size: 18px;
}

.expertise-list p {
    font-size: 14px;

    color:
        rgba(255, 255, 255, 0.62);
}


/* =========================================================
   FILOSOFÍA
   ========================================================= */

.philosophy {
    text-align: center;
}

.philosophy-content {
    max-width: 900px;
}

.philosophy-main {
    font-family: "Poppins", sans-serif;
    font-size: clamp(29px, 4vw, 45px);
    font-weight: 500;

    line-height: 1.3;

    color: var(--azul-profundo);
}

.philosophy-main strong {
    display: block;

    color: var(--naranja);
}

.orange-rule {
    width: 55px;
    height: 3px;

    margin: 35px auto;

    background: var(--naranja);
}

.philosophy-small {
    font-size: 15px;

    color: var(--texto-suave);
}


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

.contact-section {
    padding: 110px 0;

    background: var(--azul-petroleo);

    color: var(--blanco);
}

.contact-grid {
    display: grid;

    grid-template-columns:
        minmax(0, 0.8fr)
        minmax(0, 1.2fr);

    gap: 100px;
}

.contact-copy h2 {
    color: var(--blanco);
}

.contact-copy > p {
    max-width: 450px;

    margin-top: 22px;

    font-size: 18px;

    color:
        rgba(255, 255, 255, 0.72);
}

.contact-data {
    display: flex;
    flex-direction: column;

    gap: 9px;

    margin: 35px 0;
}

.contact-data a,
.contact-data span {
    font-size: 15px;
}

.contact-data a:hover {
    color: var(--naranja);
}

.btn-whatsapp {
    background: var(--blanco);
    color: var(--azul-profundo);
}

.btn-whatsapp:hover {
    transform: translateY(-2px);
}


/* FORMULARIO */

.contact-form {
    padding: 40px;

    background: var(--blanco);

    color: var(--texto);

    box-shadow:
        0 25px 60px rgba(4, 24, 42, 0.18);
}

.form-title {
    margin-bottom: 28px;
}

.form-title span {
    font-family: "Poppins", sans-serif;
    font-size: 10px;
    font-weight: 600;

    letter-spacing: 1.5px;

    color: var(--naranja);
}

.form-title h3 {
    margin-top: 5px;

    font-size: 24px;

    color: var(--azul-profundo);
}

.form-row {
    display: grid;

    grid-template-columns:
        1fr 1fr;

    gap: 18px;
}

.contact-form > div:not(.form-title) {
    margin-bottom: 17px;
}

.contact-form label {
    display: block;

    margin-bottom: 6px;

    font-size: 12px;
    font-weight: 700;

    color: var(--azul-profundo);
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;

    padding: 13px 14px;

    background: var(--blanco);

    border: 1px solid var(--borde);
    border-radius: 2px;

    outline: none;

    color: var(--texto);

    transition: var(--transition);
}

.contact-form textarea {
    resize: vertical;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    border-color: var(--azul-petroleo);

    box-shadow:
        0 0 0 3px rgba(31, 90, 138, 0.08);
}

.form-button {
    width: 100%;

    border: 0;
}

.contact-form small {
    display: block;

    margin-top: 12px;

    text-align: center;

    color: var(--texto-suave);
}


/* =========================================================
   FOOTER
   ========================================================= */

.footer {
    background: #0A2238;

    color:
        rgba(255, 255, 255, 0.65);
}

.footer-top {
    display: grid;

    grid-template-columns:
        1.4fr 0.6fr 1fr;

    gap: 70px;

    padding-top: 65px;
    padding-bottom: 55px;
}

.footer-brand {
    max-width: 330px;

    padding: 14px;

    background: var(--blanco);
  
}

.footer-logo {
    width: 100%;
}

.footer-navigation,
.footer-contact {
    display: flex;
    flex-direction: column;

    gap: 7px;

    font-size: 13px;
}

.footer-navigation strong,
.footer-contact strong {
    margin-bottom: 10px;

    font-family: "Poppins", sans-serif;
    font-size: 12px;

    color: var(--blanco);
}

.footer-navigation a:hover,
.footer-contact a:hover {
    color: var(--naranja);
}

.footer-bottom {
    display: flex;

    align-items: center;
    justify-content: space-between;

    gap: 30px;

    padding: 24px 0;

    border-top:
        1px solid rgba(255, 255, 255, 0.12);

    font-size: 11px;
}

.footer-bottom strong {
    font-family: "Poppins", sans-serif;
    font-weight: 500;

    color: var(--blanco);
}


/* =========================================================
   WHATSAPP FLOTANTE
   ========================================================= */

.whatsapp-floating {
    position: fixed;

    right: 24px;
    bottom: 24px;

    z-index: 900;

    min-height: 52px;

    display: flex;
    align-items: center;
    justify-content: center;

    gap: 9px;

    padding: 0 19px;

    border-radius: 28px;

    background: #25D366;
    color: #073D20;

    font-family: "Poppins", sans-serif;
    font-size: 12px;
    font-weight: 600;

    box-shadow:
        0 12px 30px rgba(0, 0, 0, 0.18);

    transition: var(--transition);
}

.whatsapp-floating:hover {
    transform: translateY(-3px);
}

.wa-icon {
    font-size: 11px;
}


/* =========================================================
   ANIMACIONES
   ========================================================= */

.reveal {
    opacity: 0;

    transform:
        translateY(24px);

    transition:
        opacity 0.7s ease,
        transform 0.7s ease;
}

.reveal.visible {
    opacity: 1;

    transform:
        translateY(0);
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 1080px) {

   .header-logo {
        width: 235px;
    }

    .nav {
        gap: 18px;
    }

    .btn-nav {
        display: none;
    }

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

}


@media (max-width: 900px) {

    .nav {
        display: none;
    }

    .menu-toggle {
        display: block;
    }

    .nav.active {
        position: absolute;

        top: 86px;
        left: 0;

        width: 100%;

        display: flex;
        flex-direction: column;
        align-items: flex-start;

        gap: 0;

        padding: 15px 4% 25px;

        background: var(--blanco);

        border-bottom: 1px solid var(--borde);

        box-shadow: var(--shadow);
    }

    .nav.active a {
        width: 100%;

        padding: 15px 0;

        border-bottom:
            1px solid var(--borde);
    }

    .nav.active a::after {
        display: none;
    }

    .hero-grid,
    .about-grid,
    .expertise-grid,
    .contact-grid {
        grid-template-columns: 1fr;

        gap: 55px;
    }

    .hero {
        min-height: auto;
    }

    .hero-grid {
        padding: 85px 0;
    }

    .hero-content {
        max-width: 720px;
    }

    .hero-concept {
        max-width: 620px;
    }

    .section-heading {
        grid-template-columns: 1fr;

        gap: 20px;
    }

    .footer-top {
        grid-template-columns:
            1fr 1fr;
    }

    .footer-brand {
        grid-column:
            1 / -1;
    }

}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 600px) {

    .nav-container {
        min-height: 74px;
    }

   .header-logo {
        width: 215px;
        max-height: 52px;
    }

    .nav.active {
        top: 74px;
    }

    .section,
    .contact-section,
    .expertise-section {
        padding: 75px 0;
    }

    .hero-grid {
        padding: 70px 0;
    }

    .hero h1 {
        font-size: 44px;

        letter-spacing: -1.8px;
    }

    .hero-subtitle {
        font-size: 17px;
    }

    .hero-description {
        font-size: 16px;
    }

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

    .hero-actions .btn {
        width: 100%;
    }

    .hero-concept {
        padding:
            35px 25px 30px 30px;
    }

    .hero-concept h2 {
        font-size: 25px;
    }

    .concept-steps {
        grid-template-columns: 1fr;

        gap: 14px;
    }

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

    .value:nth-child(odd) {
        border-right: 0;
    }

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

    .solution-card {
        min-height: auto;
    }

    .solution-card > p {
        min-height: auto;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .contact-form {
        padding: 27px 22px;
    }

    .footer-top {
        grid-template-columns: 1fr;

        gap: 35px;
    }

    .footer-brand {
        grid-column: auto;

        max-width: 300px;
    }

    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;

        gap: 8px;
    }

    .whatsapp-floating {
        right: 14px;
        bottom: 14px;
    }

}


/* =========================================================
   ACCESIBILIDAD
   ========================================================= */

@media (prefers-reduced-motion: reduce) {

    html {
        scroll-behavior: auto;
    }

    .reveal {
        opacity: 1;

        transform: none;

        transition: none;
    }

}
/* =========================================================
   AJUSTES VISUALES V2.1
   ========================================================= */

@media (min-width: 901px) {

    .hero {
        min-height: 630px;
    }

    .hero-grid {
        grid-template-columns: 1.25fr 0.95fr;
        gap: 80px;
        padding: 82px 0;
    }

    .hero-content {
        max-width: 760px;
    }

    .hero h1 {
        max-width: 760px;
        font-size: clamp(46px, 4.6vw, 66px);
        line-height: 1.06;
        letter-spacing: -2.2px;
    }

    .hero-concept {
        transform: translateY(-5px);
        padding: 45px 42px 42px 48px;
    }

}
/* =========================================================
   ICONOGRAFÍA IC BROKER
   ========================================================= */

.solution-icon.brand-icon {
    width: 64px;
    height: 64px;

    display: flex;
    align-items: center;
    justify-content: center;

    margin: 34px 0 25px;

    border: none;
}

.solution-icon.brand-icon svg {
    width: 58px;
    height: 58px;

    fill: none;

    stroke: #102A43;
    stroke-width: 2.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.solution-icon.brand-icon svg .accent {
    stroke: #E8752A;
}

/* Caución sobre fondo azul */

.solution-card.featured
.solution-icon.brand-icon {
    border: none;
}

.solution-card.featured
.solution-icon.brand-icon svg {
    stroke: #FFFFFF;
}

.solution-card.featured
.solution-icon.brand-icon svg .accent {
    stroke: #E8752A;
}
/* =========================================================
   LO QUE NOS DIFERENCIA — IC BROKER
   ========================================================= */

.difference-section {
    position: relative;

    padding: 100px 0 0;

    overflow: hidden;

    background: #FFFFFF;
}


/* ENCABEZADO */

.difference-heading {
    max-width: 760px;

    margin-bottom: 55px;
}

.difference-heading h2 {
    font-family: "Poppins", sans-serif;

    font-size: clamp(38px, 4.3vw, 56px);
    font-weight: 600;

    line-height: 1.1;
    letter-spacing: -1.7px;

    color: #102A43;
}

.difference-heading h2 strong {
    color: #E8752A;
}

.difference-heading > p {
    max-width: 680px;

    margin-top: 22px;

    font-size: 17px;
    line-height: 1.7;

    color: #526D82;
}


/* =========================================================
   GRILLA
   ========================================================= */

.difference-grid {
    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 14px;

    max-width: 1100px;

    margin: 0 auto;
}


/* =========================================================
   TARJETAS
   ========================================================= */

.difference-card {
    min-height: 330px;

    display: flex;
    flex-direction: column;
    align-items: center;

    padding: 35px 30px;

    text-align: center;

    border-radius: 5px;

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

.difference-card:hover {
    transform: translateY(-5px);

    box-shadow:
        0 18px 45px rgba(16, 42, 67, 0.12);
}


/* TARJETAS CLARAS */

.light-card {
    background: #F4F7F9;

    border:
        1px solid rgba(16, 42, 67, 0.06);

    color: #102A43;
}


/* TARJETAS AZULES */

.blue-card {
    background:
        linear-gradient(
            145deg,
            #102A43 0%,
            #1F5A8A 140%
        );

    color: #FFFFFF;
}


/* =========================================================
   ICONOS
   ========================================================= */

.difference-icon {
    width: 78px;
    height: 78px;

    display: flex;
    align-items: center;
    justify-content: center;

    margin-bottom: 17px;
}

.difference-icon svg {
    width: 72px;
    height: 72px;

    fill: none;

    stroke: #102A43;
    stroke-width: 2.6;

    stroke-linecap: round;
    stroke-linejoin: round;
}

.difference-icon svg .accent {
    stroke: #E8752A;
}


/* Iconos sobre fondo azul */

.blue-card .difference-icon svg {
    stroke: #FFFFFF;
}

.blue-card .difference-icon svg .accent {
    stroke: #E8752A;
}


/* =========================================================
   TEXTO TARJETAS
   ========================================================= */

.difference-card h3 {
    font-family: "Poppins", sans-serif;

    font-size: 16px;
    font-weight: 600;

    letter-spacing: 0.2px;
}

.card-rule {
    width: 30px;
    height: 2px;

    margin: 10px 0 15px;

    background: #E8752A;
}

.difference-card p {
    max-width: 270px;

    font-size: 14px;
    line-height: 1.55;
}


/* Texto tarjetas claras */

.light-card p {
    color: #526D82;
}


/* Texto tarjetas azules */

.blue-card p {
    color:
        rgba(255, 255, 255, 0.82);
}


/* =========================================================
   CIERRE / FRASE DE MARCA
   ========================================================= */

.difference-quote {
    position: relative;

    max-width: 1100px;

    margin: 14px auto 0;

    padding: 58px 70px 50px;

    overflow: hidden;

    text-align: center;

    background:
        linear-gradient(
            120deg,
            #102A43 0%,
            #0D3555 55%,
            #1F5A8A 130%
        );

    color: #FFFFFF;
}


/* Curva decorativa */

.difference-quote::before {
    content: "";

    position: absolute;

    width: 800px;
    height: 260px;

    left: -250px;
    bottom: -190px;

    border-radius: 50%;

    background:
        rgba(31, 90, 138, 0.55);

    transform: rotate(-4deg);
}


/* Línea naranja decorativa */

.difference-quote::after {
    content: "";

    position: absolute;

    left: -30px;
    bottom: 40px;

    width: 240px;
    height: 2px;

    background: #E8752A;

    transform: rotate(23deg);
}


/* Comillas */

.quote-mark {
    position: relative;
    z-index: 2;

    height: 43px;

    font-family: Georgia, serif;

    font-size: 72px;
    font-weight: bold;

    line-height: 1;

    color: #E8752A;
}


/* Frase */

.difference-quote p {
    position: relative;
    z-index: 2;

    max-width: 780px;

    margin: 5px auto 0;

    font-family: "Poppins", sans-serif;

    font-size: clamp(19px, 2.2vw, 27px);
    font-weight: 500;

    line-height: 1.5;
}

.difference-quote p strong {
    color: #E8752A;
}


/* Línea pequeña */

.quote-line {
    position: relative;
    z-index: 2;

    width: 42px;
    height: 3px;

    margin: 27px auto 18px;

    background: #E8752A;
}


/* Claim */

.difference-quote > span {
    position: relative;
    z-index: 2;

    font-family: "Lato", sans-serif;

    font-size: 13px;
    font-style: italic;

    letter-spacing: 1.4px;

    color:
        rgba(255, 255, 255, 0.72);
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 900px) {

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

}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 600px) {

    .difference-section {
        padding-top: 70px;
    }

    .difference-heading {
        margin-bottom: 40px;
    }

    .difference-grid {
        grid-template-columns: 1fr;

        gap: 10px;
    }

    .difference-card {
        min-height: auto;

        padding: 32px 25px;
    }

    .difference-quote {
        margin-top: 10px;

        padding:
            48px 25px 42px;
    }

}
/* =========================================================
   AJUSTE DE RITMO VERTICAL — IC BROKER
   ========================================================= */

/* SOLUCIONES
   Reduce el espacio sobrante debajo de las tarjetas */

/* SOLUCIONES — control específico del espacio vertical */

#soluciones {
    padding-top: 80px !important;
    padding-bottom: 35px !important;
    min-height: auto !important;
    height: auto !important;
}

.solutions-grid {
    margin-bottom: 0 !important;
}


/* CAUCIÓN
   Evita que la sección genere una gran zona azul vacía */

#caucion {
    min-height: auto !important;
    height: auto !important;

    padding-top: 90px !important;
    padding-bottom: 90px !important;
}


/* El contenido interno de Caución no debe
   forzar una altura de pantalla completa */

#caucion .container,
#caucion .caution-grid {
    min-height: 0 !important;
    height: auto !important;
}


/* SECCIÓN FRASE / MANERA DE TRABAJAR
   La convertimos en una pausa visual más compacta */

.philosophy-section {
    min-height: auto !important;

    padding-top: 95px !important;
    padding-bottom: 95px !important;
}


/* Evita alturas forzadas dentro de esa sección */

.philosophy-section .container {
    min-height: 0 !important;
}
/* =========================================================
   HERO — AJUSTE DE PROPORCIONES
   ========================================================= */

@media (min-width: 1000px) {

    .hero h1 {
        max-width: 760px !important;

        font-size: clamp(52px, 4.4vw, 68px) !important;

        line-height: 1.05 !important;

        letter-spacing: -2px !important;
    }

    .hero-content {
        max-width: 780px !important;
    }

}
/* =========================================================
   BLOQUE FRASE — LO QUE NOS DIFERENCIA
   ========================================================= */

.difference-quote {
    padding-top: 42px !important;
    padding-bottom: 38px !important;
}

.difference-quote p {
    max-width: 820px;
}

.quote-mark {
    height: 35px;
    font-size: 62px;
}

.quote-line {
    margin-top: 20px;
    margin-bottom: 14px;
}
/* =========================================================
   AJUSTE FINAL — TRANSICIÓN SOLUCIONES / CAUCIÓN
   ========================================================= */

#soluciones {
    min-height: auto !important;
    height: auto !important;

    padding-bottom: 45px !important;
}

#soluciones .container {
    min-height: 0 !important;
    height: auto !important;
}

#soluciones .solutions-grid {
    min-height: 0 !important;
    height: auto !important;

    margin-bottom: 0 !important;
}
/* =========================================================
   HERO — TITULAR EN DOS LÍNEAS
   ========================================================= */

@media (min-width: 901px) {

    .hero h1 {
        max-width: none !important;
        width: 800px !important;
        font-size: 62px !important;
        line-height: 1.05 !important;
        letter-spacing: -2px !important;
    }

    .hero h1 span {
        display: block;
    }
}


/* En tablet y celular dejamos que el texto
   se adapte naturalmente al ancho disponible */

@media (max-width: 900px) {

    .hero h1 {
        width: auto !important;
    }

    .hero h1 span {
        display: block;
    }
}
/* =========================================================
   FILOSOFÍA — NUESTRA MANERA DE TRABAJAR
   ========================================================= */

.philosophy {
    background: #ffffff;
    padding: 80px 0 85px !important;
}

.philosophy-content {
    text-align: center;
    max-width: 1200px;
    margin: 0 auto;
}


/* TÍTULO SUPERIOR */

.philosophy .eyebrow {
    display: inline-block;
    margin-bottom: 28px;
}


/* FRASE PRINCIPAL */

.philosophy-main {
    max-width: 1050px;
    margin: 0 auto;

    font-family: "Poppins", sans-serif;
    font-size: clamp(34px, 3.6vw, 54px);
    font-weight: 400;
    line-height: 1.2;
    letter-spacing: -1.5px;

    color: var(--azul-profundo);
}

.philosophy-main strong {
    display: block;

    margin-top: 5px;

    font-weight: 600;
    color: var(--naranja);
}


/* LÍNEA NARANJA */

.philosophy .orange-rule {
    width: 52px;
    height: 3px;

    margin: 34px auto 25px;

    background: var(--naranja);
}


/* TEXTO INTRODUCTORIO */

.philosophy-intro {
    margin: 0 auto 40px;

    font-size: 17px;
    line-height: 1.6;

    color: #66788a;
}


/* LOS CINCO PILARES */

.philosophy-pillars {
    display: grid;
    grid-template-columns: repeat(5, 1fr);

    max-width: 1100px;
    margin: 0 auto;

    border-top: 1px solid #d9e0e6;
    border-bottom: 1px solid #d9e0e6;
}


/* CADA PILAR */

.philosophy-pillar {
    position: relative;

    min-height: 120px;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;

    padding: 25px 28px;

    text-align: left;

    border-right: 1px solid #d9e0e6;
}

.philosophy-pillar:last-child {
    border-right: none;
}


/* NUMERACIÓN */

.philosophy-pillar span {
    display: block;

    margin-bottom: 10px;

    font-family: "Poppins", sans-serif;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1px;

    color: var(--naranja);
}


/* NOMBRE DEL PILAR */

.philosophy-pillar strong {
    font-family: "Poppins", sans-serif;
    font-size: 16px;
    font-weight: 600;

    color: var(--azul-profundo);
}


/* INTERACCIÓN SUTIL */

.philosophy-pillar {
    transition:
        background-color 0.25s ease,
        transform 0.25s ease;
}

.philosophy-pillar:hover {
    background: #f4f7f9;
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 1000px) {

    .philosophy {
        padding: 70px 0 !important;
    }

    .philosophy-pillars {
        grid-template-columns: repeat(3, 1fr);
    }

    .philosophy-pillar {
        border-bottom: 1px solid #d9e0e6;
    }

    .philosophy-pillar:nth-child(3) {
        border-right: none;
    }

}


/* =========================================================
   MÓVIL
   ========================================================= */

@media (max-width: 650px) {

    .philosophy {
        padding: 60px 0 !important;
    }

    .philosophy-main {
        font-size: 32px;
        line-height: 1.22;
        letter-spacing: -1px;
    }

    .philosophy-intro {
        font-size: 15px;
        margin-bottom: 30px;
    }

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

    .philosophy-pillar {
        min-height: auto;
        padding: 20px 5px;

        border-right: none;
        border-bottom: 1px solid #d9e0e6;
    }

    .philosophy-pillar:last-child {
        border-bottom: none;
    }

}

/* =========================================================
   CIERRE FINAL WEBSITE — IC BROKER
   Ajustes aprobados: marca + pilares
   ========================================================= */

.philosophy-pillars {
    align-items: stretch;
}

.philosophy-pillar {
    min-height: 205px;
    justify-content: flex-start;
    padding: 24px 22px 22px;
}

.pillar-icon {
    width: 44px;
    height: 44px;
    margin-bottom: 14px;
}

.pillar-icon svg {
    width: 100%;
    height: 100%;
    fill: none;
    stroke: var(--azul-profundo);
    stroke-width: 2.4;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.pillar-icon svg .accent {
    stroke: var(--naranja);
}

.philosophy-pillar span {
    margin-bottom: 5px;
    font-size: 10px;
}

.philosophy-pillar strong {
    display: block;
    margin-bottom: 8px;
    font-size: 15px;
}

.philosophy-pillar p {
    max-width: 170px;
    font-size: 13px;
    line-height: 1.45;
    color: var(--texto-suave);
}

@media (max-width: 1000px) {
    .header-logo { width: 300px; }
    .philosophy-pillar { min-height: 190px; }
}

@media (max-width: 650px) {
    .header-logo { width: 235px; max-height: 58px; }
    .philosophy-pillar {
        min-height: auto;
        padding: 22px 8px;
        align-items: center;
        text-align: center;
    }
    .philosophy-pillar p { max-width: 280px; }
}

/* =========================================================
   EQUIPO — PERSONAS QUE SABEN DE SEGUROS
   ========================================================= */
.team-section {
    padding: 95px 0;
    background: #f4f7f9;
}
.team-heading {
    max-width: 780px;
    margin: 0 auto 52px;
    text-align: center;
}
.team-heading h2 {
    margin-top: 16px;
    font-family: "Poppins", sans-serif;
    font-size: clamp(34px, 4vw, 50px);
    line-height: 1.12;
    color: var(--azul-profundo);
}
.team-heading > p {
    margin: 20px auto 0;
    max-width: 700px;
    font-size: 17px;
    line-height: 1.7;
    color: var(--texto-suave);
}
.team-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px;
    max-width: 1080px;
    margin: 0 auto;
}
.advisor-card {
    display: grid;
    grid-template-columns: 190px minmax(0, 1fr);
    align-items: center;
    gap: 30px;
    padding: 34px;
    background: #fff;
    border: 1px solid #dfe6eb;
}
.advisor-photo {
    width: 190px;
    height: 190px;
    border-radius: 50%;
    object-fit: cover;
}
.advisor-area {
    display: block;
    margin-bottom: 9px;
    font-family: "Poppins", sans-serif;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1.4px;
    color: var(--naranja);
}
.advisor-content h3 {
    font-family: "Poppins", sans-serif;
    font-size: 25px;
    line-height: 1.15;
    color: var(--azul-profundo);
}
.advisor-role {
    margin-top: 7px;
    font-weight: 600;
    color: var(--azul-petroleo);
}
.advisor-content > p:not(.advisor-role) {
    margin-top: 14px;
    font-size: 14px;
    line-height: 1.6;
    color: var(--texto-suave);
}
.advisor-btn {
    margin-top: 20px;
    padding: 12px 17px;
    background: var(--azul-profundo);
    color: #fff;
    font-size: 12px;
}
.advisor-btn:hover { background: var(--naranja); }
.contact-advisors {
    display: grid;
    gap: 12px;
    margin: 32px 0 22px;
}
.contact-advisor {
    padding: 14px 16px;
    border-left: 3px solid var(--naranja);
    background: rgba(255,255,255,.07);
}
.contact-advisor strong,
.contact-advisor span,
.contact-advisor a { display: block; }
.contact-advisor strong { font-family: "Poppins", sans-serif; font-size: 14px; }
.contact-advisor span { margin: 2px 0 5px; font-size: 12px; color: rgba(255,255,255,.72); }
.contact-advisor a { font-size: 13px; }

@media (max-width: 1000px) {
    .team-grid { grid-template-columns: 1fr; max-width: 720px; }
    .advisor-card { grid-template-columns: 170px 1fr; }
    .advisor-photo { width: 170px; height: 170px; }
}
@media (max-width: 650px) {
    .team-section { padding: 65px 0; }
    .team-heading { margin-bottom: 36px; }
    .advisor-card { grid-template-columns: 1fr; text-align: center; padding: 28px 22px; }
    .advisor-photo { width: 155px; height: 155px; margin: 0 auto; }
    .advisor-btn { width: 100%; }
}

/* PERSONAS DETRÁS DE IC BROKER — PERFIL PROFESIONAL */
.advisor-card { display:block; padding:36px; align-self:stretch; }
.advisor-profile-head { display:grid; grid-template-columns:145px minmax(0,1fr); align-items:center; gap:24px; padding-bottom:26px; border-bottom:1px solid #e4e9ed; }
.advisor-profile-head .advisor-photo { width:145px; height:145px; }
.advisor-content { padding-top:24px; }
.advisor-content > p:not(.advisor-role) { margin-top:0; margin-bottom:14px; font-size:14px; line-height:1.72; }
.advisor-path { margin-top:22px; padding:13px 0; border-top:1px solid #e4e9ed; border-bottom:1px solid #e4e9ed; font-family:"Poppins",sans-serif; font-size:11px; font-weight:600; line-height:1.6; color:var(--azul-petroleo); }
.advisor-specialties { margin-top:14px; font-size:12px; font-weight:700; line-height:1.6; color:var(--azul-profundo); }
.advisor-actions { display:flex; align-items:center; justify-content:space-between; gap:16px; margin-top:22px; }
.advisor-linkedin { font-family:"Poppins",sans-serif; font-size:12px; font-weight:600; color:var(--azul-petroleo); }
.advisor-linkedin:hover { color:var(--naranja); }
.advisor-actions .advisor-btn { margin-top:0; white-space:nowrap; }
.team-closing { max-width:820px; margin:34px auto 0; text-align:center; font-size:16px; line-height:1.65; color:var(--azul-profundo); }
@media (max-width:650px) { .advisor-card{padding:26px 22px}.advisor-profile-head{grid-template-columns:105px minmax(0,1fr);gap:17px}.advisor-profile-head .advisor-photo{width:105px;height:105px}.advisor-actions{align-items:stretch;flex-direction:column}.advisor-actions .advisor-btn{text-align:center} }


/* COMPAÑÍAS CON LAS QUE TRABAJAMOS — PRUEBA VISUAL */
.companies-section { padding: 92px 0; background: #fff; border-top: 1px solid #edf0f3; border-bottom: 1px solid #edf0f3; }
.companies-heading { max-width: 850px; margin: 0 auto 46px; text-align: center; }
.companies-heading .eyebrow { display: inline-block; }
.companies-heading .eyebrow::after { content: ""; display: block; width: 38px; height: 2px; margin: 13px auto 0; background: var(--naranja); }
.companies-heading h2 { max-width: 780px; margin: 25px auto 17px; font-family: "Poppins", sans-serif; font-size: clamp(32px, 3.2vw, 48px); line-height: 1.14; color: var(--azul-profundo); }
.companies-heading p { max-width: 760px; margin: 0 auto; font-size: 16px; line-height: 1.75; color: var(--texto-suave); }
.companies-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; align-items: stretch; }
.company-logo-card { min-height: 150px; padding: 22px; display: flex; align-items: center; justify-content: center; background: #f8fafb; border: 1px solid #e4e9ed; overflow: hidden; }
.company-logo-card img { display: block; width: 100%; height: 100px; object-fit: contain; }
.company-logo-card.company-logo-dark { padding: 0; background: #35414e; }
.company-logo-card.company-logo-dark img { height: 150px; object-fit: cover; }
.companies-lines { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 20px; margin: 32px auto 0; max-width: 940px; font-family: "Poppins", sans-serif; font-size: 11px; font-weight: 600; color: var(--azul-petroleo); text-transform: uppercase; letter-spacing: .04em; }
.companies-lines span:not(:last-child)::after { content: "·"; margin-left: 20px; color: var(--naranja); }
.companies-note { max-width: 780px; margin: 36px auto 0; padding-top: 26px; border-top: 1px solid #e4e9ed; text-align: center; }
.companies-note strong { font-family: "Poppins", sans-serif; font-size: 15px; color: var(--azul-profundo); }
.companies-note p { margin: 7px 0 0; font-size: 14px; line-height: 1.65; color: var(--texto-suave); }
@media (max-width: 1000px) { .companies-grid { grid-template-columns: repeat(3, minmax(0,1fr)); } }
@media (max-width: 650px) { .companies-section { padding: 65px 0; } .companies-heading { margin-bottom: 34px; } .companies-grid { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 10px; } .company-logo-card { min-height: 112px; padding: 14px; } .company-logo-card img { height: 78px; } .company-logo-card.company-logo-dark img { height: 112px; } .companies-lines { gap: 7px 12px; } .companies-lines span:not(:last-child)::after { margin-left: 12px; } }


/* =========================================================
   AJUSTES CONSOLIDADOS — PERFILES + CARRUSEL DE COMPAÑÍAS
   ========================================================= */
html { scroll-padding-top: 112px; }
.team-section, .companies-section, .expertise-section, .solutions-section, .contact-section { scroll-margin-top: 112px; }
.advisor-profile-head { grid-template-columns: 175px minmax(0,1fr); }
.advisor-profile-head .advisor-photo { width:175px; height:175px; }

.companies-section { padding: 68px 0 62px; overflow: hidden; }
.companies-heading { margin-bottom: 30px; }
.companies-heading h2 { font-size: clamp(30px, 3vw, 43px); }
.companies-marquee {
    position: relative;
    width: 100%;
    overflow: hidden;
    padding: 6px 0;
    -webkit-mask-image: linear-gradient(to right, transparent, #000 5%, #000 95%, transparent);
    mask-image: linear-gradient(to right, transparent, #000 5%, #000 95%, transparent);
}
.companies-track {
    display: flex;
    width: max-content;
    animation: ic-companies-scroll 30s linear infinite;
    will-change: transform;
}
.companies-marquee:hover .companies-track { animation-play-state: paused; }
.companies-set { display: flex; align-items: center; gap: 18px; padding-right: 18px; }
.company-logo-card {
    flex: 0 0 245px;
    width: 245px;
    height: 112px;
    min-height: 0;
    padding: 15px 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8fafb;
    border: 1px solid #e4e9ed;
    overflow: hidden;
}
.company-logo-card img { width: 100%; height: 78px; object-fit: contain; }
.company-logo-card.company-logo-dark { padding: 0; background: #35414e; }
.company-logo-card.company-logo-dark img { width:100%; height:100%; object-fit:cover; }
.companies-lines { margin-top: 23px; }
.companies-note { margin-top: 24px; padding-top: 20px; }
@keyframes ic-companies-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
    .companies-track { animation: none; }
    .companies-marquee { overflow-x: auto; mask-image: none; -webkit-mask-image: none; }
}
@media (max-width: 650px) {
    html { scroll-padding-top: 86px; }
    .team-section, .companies-section, .expertise-section, .solutions-section, .contact-section { scroll-margin-top: 86px; }
    .advisor-profile-head { grid-template-columns: 125px minmax(0,1fr); }
    .advisor-profile-head .advisor-photo { width:125px; height:125px; }
    .companies-section { padding: 54px 0 50px; }
    .companies-heading { margin-bottom: 24px; }
    .company-logo-card { flex-basis: 175px; width:175px; height:88px; padding:10px 14px; }
    .company-logo-card img { height:60px; }
    .companies-set { gap:12px; padding-right:12px; }
    .companies-track { animation-duration: 25s; }
    .companies-lines { margin-top:18px; }
}


/* =========================================================
   AJUSTE FINAL — CARRUSEL + PERFILES PROFESIONALES
   ========================================================= */
.companies-section { padding: 56px 0 48px; }
.companies-heading { margin-bottom: 22px; }
.companies-heading h2 { margin-top: 20px; margin-bottom: 12px; }
.companies-heading p { line-height: 1.6; }
.company-logo-card,
.company-logo-card.company-logo-dark {
    flex: 0 0 220px;
    width: 220px;
    height: 94px;
    min-height: 94px;
    padding: 12px 18px;
    background: #f8fafb;
    border: 1px solid #e4e9ed;
}
.company-logo-card img,
.company-logo-card.company-logo-dark img {
    width: 100%;
    height: 66px;
    max-width: 178px;
    object-fit: contain;
}
.companies-set { gap: 15px; padding-right: 15px; }
.companies-lines {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    column-gap: 0;
    row-gap: 8px;
    margin-top: 18px;
}
.companies-lines span { display: inline-flex; align-items: center; white-space: nowrap; }
.companies-lines span:not(:last-child)::after {
    content: "·";
    display: inline-block;
    margin: 0 12px;
    color: var(--naranja);
}
.companies-note { margin-top: 18px; padding-top: 16px; }
.advisor-profile-head { grid-template-columns: 180px minmax(0,1fr); }
.advisor-profile-head .advisor-photo { width:180px; height:180px; }
@media (max-width:650px) {
    .companies-section { padding: 46px 0 42px; }
    .company-logo-card,
    .company-logo-card.company-logo-dark { flex-basis: 158px; width:158px; height:78px; min-height:78px; padding:9px 12px; }
    .company-logo-card img,
    .company-logo-card.company-logo-dark img { height:54px; max-width:132px; }
    .companies-lines span:not(:last-child)::after { margin:0 8px; }
    .advisor-profile-head { grid-template-columns: 128px minmax(0,1fr); }
    .advisor-profile-head .advisor-photo { width:128px; height:128px; }
}


/* =========================================================
   AJUSTE CARRUSEL — MAYOR PRESENCIA DE LOGOS
   ========================================================= */
.company-logo-card,
.company-logo-card.company-logo-dark {
    flex-basis: 235px;
    width: 235px;
    height: 118px;
    min-height: 118px;
    padding: 14px 15px;
}

.company-logo-card img,
.company-logo-card.company-logo-dark img {
    width: 100%;
    height: 84px;
    max-width: 205px;
    object-fit: contain;
}

@media (max-width:650px) {
    .company-logo-card,
    .company-logo-card.company-logo-dark {
        flex-basis: 175px;
        width: 175px;
        height: 94px;
        min-height: 94px;
        padding: 10px 12px;
    }

    .company-logo-card img,
    .company-logo-card.company-logo-dark img {
        height: 66px;
        max-width: 150px;
    }
}
.company-logo-more {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.company-logo-more span {
    font-family: "Poppins", sans-serif;
    font-size: 17px;
    font-weight: 600;
    line-height: 1.35;
    color: #0F1F3C;
}

/* =========================================================
   CARRUSEL COMPAÑÍAS — INTEGRACIÓN FINAL
   ========================================================= */
.companies-section {
    padding: 56px 0 48px;
    overflow: hidden;
}

.companies-marquee {
    position: relative;
    width: 100%;
    overflow: hidden;
    margin-top: 0;
    padding: 6px 0;
    -webkit-mask-image: linear-gradient(to right, transparent, #000 5%, #000 95%, transparent);
    mask-image: linear-gradient(to right, transparent, #000 5%, #000 95%, transparent);
}

.companies-track {
    display: flex;
    width: max-content;
    animation: ic-companies-scroll 42s linear infinite;
    will-change: transform;
}

.companies-marquee:hover .companies-track {
    animation-play-state: paused;
}

.companies-set {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    gap: 18px;
    padding-right: 18px;
}

.company-logo-card,
.company-logo-card.company-logo-dark {
    flex: 0 0 235px;
    width: 235px;
    height: 118px;
    min-height: 118px;
    padding: 15px 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    border: 1px solid #e2e7ed;
    overflow: hidden;
}

.company-logo-card img,
.company-logo-card.company-logo-dark img {
    display: block;
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 84px;
    object-fit: contain;
}

/* Compensación óptica para formatos muy verticales/cuadrados */
.company-logo-card img[src*="gestion.png"] { max-height: 91px; }
.company-logo-card img[src*="andina-art.jpg"] { max-height: 92px; }
.company-logo-card img[src*="prevencion.png"] { max-height: 90px; }

.companies-more {
    max-width: 850px;
    margin: 20px auto 0;
    padding: 0 12px;
    text-align: center;
    font-size: 15px;
    line-height: 1.55;
    color: var(--texto-suave);
}

.company-logo-more {
    display: none !important;
}

@keyframes ic-companies-scroll {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
    .companies-track { animation: none; }
    .companies-marquee {
        overflow-x: auto;
        -webkit-mask-image: none;
        mask-image: none;
    }
}

@media (max-width: 650px) {
    .companies-section { padding: 46px 0 42px; }

    .companies-set {
        gap: 12px;
        padding-right: 12px;
    }

    .company-logo-card,
    .company-logo-card.company-logo-dark {
        flex: 0 0 175px;
        width: 175px;
        height: 94px;
        min-height: 94px;
        padding: 10px 12px;
    }

    .company-logo-card img,
    .company-logo-card.company-logo-dark img {
        max-width: 150px;
        max-height: 66px;
    }

    .companies-track { animation-duration: 34s; }
    .companies-more { font-size: 14px; }
}


/* Cierre institucional debajo del carrusel */
.companies-more strong {
    display: block;
    margin-bottom: 5px;
    font-family: "Poppins", sans-serif;
    font-size: 16px;
    font-weight: 700;
    color: var(--azul-oscuro);
}

.companies-more span {
    display: block;
}