:root {
    --bg-main: #FFF9F5;
    --bg-soft: #FBEDE6;
    --bg-white: #FFFFFF;

    --primary: #C95F4E;
    --primary-dark: #B94A3F;
    --primary-soft: #E89A7E;

    --accent: #F2B985;

    --text-main: #221A18;
    --text-soft: #6E5A52;
    --text-light: #8A746B;

    --border: #E8D8D0;
    --white: #FFFFFF;

    --shadow:
        0 14px 40px rgba(101, 61, 47, .08);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--bg-main);
    color: var(--text-main);
    font-family: Arial, Helvetica, sans-serif;
}

img {
    max-width: 100%;
}

a {
    color: inherit;
}

.container {
    width: min(100% - 48px, 1320px);
    margin-inline: auto;
}

/* PREVIEW */

.preview-bar {
    position: relative;
    z-index: 100;
    padding: 9px 20px;
    background: var(--primary);
    color: var(--white);
    text-align: center;
    font-size: 12px;
    font-weight: 700;
}

/* HEADER */

.site-header {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 50;
    width: 100%;
    border-bottom: 1px solid rgba(201, 95, 78, .12);
    background: rgba(255, 249, 245, .94);
    backdrop-filter: blur(10px);
}

.preview-bar + .site-header {
    top: 33px;
}

.header-inner {
    min-height: 90px;
    display: grid;
    grid-template-columns: 240px 1fr auto;
    align-items: center;
    gap: 30px;
}

.site-logo {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    color: var(--primary);
    text-decoration: none;
}

.site-logo img {
    display: block;
    width: auto;
    max-width: 205px;
    height: 68px;
    object-fit: contain;
}

.logo-fallback {
    display: flex;
    flex-direction: column;
    line-height: 1;
}

.logo-fallback strong {
    color: var(--primary);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 35px;
    font-style: italic;
    font-weight: 400;
}

.logo-fallback small {
    margin-top: 4px;
    padding-left: 54px;
    color: var(--primary);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 11px;
    letter-spacing: .25em;
}

.main-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(22px, 2.5vw, 38px);
}

.main-nav a {
    position: relative;
    padding: 35px 0 31px;
    color: var(--text-main);
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    transition: color .2s ease;
}

.main-nav a:hover,
.main-nav a.active {
    color: var(--primary);
}

.main-nav a.active::after {
    position: absolute;
    right: 0;
    bottom: 25px;
    left: 0;
    height: 2px;
    background: var(--accent);
    content: "";
}

.nav-with-arrow {
    display: inline-flex;
    align-items: center;
    gap: 7px;
}

.header-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 17px;
    min-width: 165px;
    padding: 14px 22px;
    border-radius: 7px;
    background:
        linear-gradient(
            135deg,
            var(--primary),
            var(--primary-dark)
        );
    color: var(--white);
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 8px 22px rgba(185, 74, 63, .18);
    transition:
        transform .2s ease,
        filter .2s ease;
}

.header-cta:hover {
    transform: translateY(-1px);
    filter: brightness(1.04);
}

.mobile-menu-button {
    display: none;
    width: 42px;
    height: 42px;
    border: 1px solid var(--border);
    border-radius: 5px;
    background: var(--white);
    cursor: pointer;
}

.mobile-menu-button span {
    display: block;
    width: 19px;
    height: 1px;
    margin: 5px auto;
    background: var(--text-main);
}

/* HERO */

.hero {
    position: relative;
    min-height: 720px;
    overflow: hidden;
    display: flex;
    align-items: stretch;
    padding-top: 90px;
    background:
        radial-gradient(
            circle at 73% 35%,
            rgba(242, 185, 133, .27),
            transparent 38%
        ),
        linear-gradient(
            90deg,
            #FFF9F5 0%,
            #FFF6EF 48%,
            #FBE4D8 100%
        );
}

.hero::after {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    height: 1px;
    background: var(--border);
    content: "";
}

.hero-background-glow {
    position: absolute;
    top: 100px;
    right: 4%;
    width: 560px;
    height: 560px;
    border-radius: 50%;
    background: rgba(232, 154, 126, .18);
    filter: blur(80px);
}

.hero-grid {
    position: relative;
    z-index: 2;
    min-height: 630px;
    display: grid;
    grid-template-columns: 44% 56%;
    align-items: center;
}

.hero-copy {
    position: relative;
    z-index: 5;
    padding: 56px 0 34px;
}

.hero-eyebrow {
    margin-bottom: 18px;
    color: var(--primary);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .08em;
}

.hero-title {
    margin: 0;
    color: var(--text-main);
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(48px, 4.7vw, 72px);
    font-weight: 400;
    line-height: 1.04;
    letter-spacing: -.025em;
}

.hero-title-line {
    display: block;
}

.hero-title-accent {
    color: var(--primary);
    font-style: italic;
}

.hero-title-white {
    color: var(--text-main);
    font-style: normal;
}

.hero-description {
    max-width: 485px;
    margin: 24px 0 0;
    color: var(--text-soft);
    font-size: 16px;
    line-height: 1.7;
}

.hero-actions {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-top: 30px;
}

.hero-primary-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    min-width: 146px;
    padding: 15px 22px;
    border-radius: 6px;
    background:
        linear-gradient(
            135deg,
            var(--primary),
            var(--primary-dark)
        );
    color: var(--white);
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 8px 20px rgba(185, 74, 63, .17);
}

.hero-secondary-button {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: var(--text-main);
    font-size: 13px;
    line-height: 1.35;
    text-decoration: none;
}

.hero-play {
    display: grid;
    place-items: center;
    flex: 0 0 42px;
    width: 42px;
    height: 42px;
    border: 1px solid rgba(201,95,78,.35);
    border-radius: 50%;
    color: var(--primary);
    background: rgba(255,255,255,.55);
    font-size: 11px;
}

.hero-features {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    max-width: 515px;
    margin-top: 35px;
}

.hero-feature {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.hero-feature-icon {
    flex: 0 0 34px;
    color: var(--primary-soft);
    font-size: 27px;
    line-height: 1;
}

.hero-feature-copy strong {
    display: block;
    color: var(--text-main);
    font-size: 11px;
    font-weight: 600;
    line-height: 1.4;
}

.hero-feature-copy span {
    display: block;
    margin-top: 2px;
    color: var(--text-soft);
    font-size: 10px;
    line-height: 1.35;
}

/* HERO ART */

.hero-art {
    position: relative;
    align-self: stretch;
    min-height: 630px;
}

.hero-family {
    position: absolute;
    z-index: 5;
    right: 12%;
    bottom: 0;
    width: 68%;
    max-height: 605px;
    object-fit: contain;
    object-position: center bottom;
}

.hero-shield {
    position: absolute;
    z-index: 2;
    top: 60px;
    right: 2%;
    width: 34%;
    max-width: 270px;
    opacity: .92;
}

.hero-waves {
    position: absolute;
    z-index: 6;
    right: -7%;
    bottom: -1px;
    width: 110%;
    max-width: none;
    pointer-events: none;
}

.hero-family-fallback {
    position: absolute;
    z-index: 4;
    right: 12%;
    bottom: 0;
    width: 65%;
    height: 520px;
    display: grid;
    place-items: end center;
    padding-bottom: 25px;
    border-radius: 48% 48% 0 0;
    background:
        radial-gradient(
            circle at 50% 35%,
            rgba(242,185,133,.35),
            rgba(232,154,126,.15) 45%,
            transparent 70%
        );
    color: var(--text-light);
    font-size: 12px;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.hero-shield-fallback {
    position: absolute;
    z-index: 2;
    top: 70px;
    right: 5%;
    width: 220px;
    height: 260px;
    display: grid;
    place-items: center;
    border: 3px solid rgba(201,95,78,.45);
    border-radius: 42% 42% 48% 48%;
    color: rgba(201,95,78,.5);
    font-size: 80px;
}

.hero-wave {
    position: absolute;
    z-index: 6;
    right: -20%;
    border: 2px solid rgba(232,154,126,.72);
    border-radius: 50%;
    transform: rotate(-9deg);
    pointer-events: none;
}

.hero-wave-1 {
    bottom: -310px;
    width: 900px;
    height: 410px;
}

.hero-wave-2 {
    bottom: -345px;
    width: 960px;
    height: 455px;
    border-color: rgba(242,185,133,.66);
}

.hero-wave-3 {
    bottom: -390px;
    width: 1030px;
    height: 520px;
    border-color: rgba(201,95,78,.34);
}

/* SECTION KICKER */

.section-kicker {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    color: var(--primary);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .08em;
}

.section-kicker span {
    display: block;
    width: 40px;
    height: 1px;
    background: rgba(201,95,78,.28);
}

/* INSURANCE */

.insurance-section {
    position: relative;
    padding: 28px 0 38px;
    border-bottom: 1px solid var(--border);
    background: var(--bg-white);
}

.insurance-title {
    margin: 8px 0 18px;
    color: var(--text-main);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 30px;
    font-weight: 400;
    text-align: center;
}

.insurance-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0,1fr));
    gap: 14px;
}

.insurance-card {
    min-height: 200px;
    padding: 20px 18px 16px;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: rgba(255,255,255,.92);
    text-align: center;
    box-shadow: 0 8px 25px rgba(80,55,45,.035);
    transition:
        transform .2s ease,
        border-color .2s ease,
        box-shadow .2s ease;
}

.insurance-card:hover {
    transform: translateY(-3px);
    border-color: rgba(201,95,78,.35);
    box-shadow: var(--shadow);
}

.insurance-icon {
    height: 48px;
    display: grid;
    place-items: center;
    margin-bottom: 8px;
    color: var(--primary);
    font-size: 38px;
}

.insurance-card h3 {
    margin: 5px 0 8px;
    color: var(--text-main);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 16px;
    font-weight: 400;
}

.insurance-card p {
    min-height: 46px;
    margin: 0;
    color: var(--text-soft);
    font-size: 11px;
    line-height: 1.5;
}

.insurance-card a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 12px;
    color: var(--primary);
    font-size: 11px;
    font-weight: 700;
    text-decoration: none;
}

/* BENEFITS */

.benefits-section {
    padding: 65px 0 15px;
    background:
        radial-gradient(
            circle at 12% 20%,
            rgba(242,185,133,.20),
            transparent 35%
        ),
        var(--bg-soft);
}

.benefits-layout {
    display: grid;
    grid-template-columns: 50% 50%;
}

.benefits-copy {
    max-width: 610px;
    padding-right: 55px;
}

.section-kicker-left {
    justify-content: flex-start;
}

.section-kicker-left span:last-child {
    display: none;
}

.benefits-copy h2 {
    margin: 15px 0 20px;
    color: var(--text-main);
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(38px, 4vw, 58px);
    font-weight: 400;
    line-height: 1.05;
}

.benefits-copy h2 em {
    display: block;
    color: var(--primary);
    font-weight: 400;
}

.benefits-intro {
    max-width: 540px;
    margin: 0;
    color: var(--text-soft);
    font-size: 15px;
    line-height: 1.7;
}

.benefits-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0,1fr));
    gap: 22px 28px;
    margin-top: 35px;
}

.benefit-item {
    display: grid;
    grid-template-columns: 42px 1fr;
    gap: 13px;
}

.benefit-icon {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border: 1px solid rgba(201,95,78,.28);
    border-radius: 50%;
    color: var(--primary);
    background: rgba(255,255,255,.55);
    font-size: 20px;
}

.benefit-item h3 {
    margin: 0 0 5px;
    color: var(--text-main);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 16px;
    font-weight: 400;
}

.benefit-item p {
    margin: 0;
    color: var(--text-soft);
    font-size: 11px;
    line-height: 1.55;
}

/* QUOTE */

.quote-section {
    margin-top: -445px;
    padding-bottom: 70px;
    pointer-events: none;
}

.quote-layout {
    display: grid;
    grid-template-columns: 50% 50%;
}

.quote-card {
    pointer-events: auto;
    padding: 30px 34px 26px;
    border: 0;
    border-radius: 12px;
    background:
        linear-gradient(
            145deg,
            #CC6655,
            #B94A3F
        );
    box-shadow: 0 20px 45px rgba(140, 68, 53, .18);
}

.quote-kicker {
    margin-bottom: 9px;
    color: rgba(255,255,255,.76);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .08em;
}

.quote-card h2 {
    margin: 0;
    color: var(--white);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 32px;
    font-weight: 400;
    line-height: 1.05;
}

.quote-card h2 span {
    display: block;
    color: #FFE1D2;
    font-style: italic;
}

.quote-intro {
    margin: 15px 0 24px;
    color: rgba(255,255,255,.79);
    font-size: 12px;
    line-height: 1.55;
}

.quote-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0,1fr));
    gap: 3px;
}

.quote-field {
    margin-bottom: 4px;
}

.quote-field label {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
}

.quote-field input,
.quote-field select,
.quote-field textarea {
    width: 100%;
    padding: 12px 13px;
    border: 1px solid rgba(255,255,255,.45);
    border-radius: 5px;
    outline: none;
    background: rgba(255,255,255,.96);
    color: var(--text-main);
    font: inherit;
}

.quote-field input::placeholder,
.quote-field textarea::placeholder {
    color: #836F67;
}

.quote-field select {
    color: #6E5A52;
}

.quote-field textarea {
    min-height: 72px;
    resize: vertical;
}

.quote-submit {
    width: 100%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    margin-top: 3px;
    padding: 13px 20px;
    border: 0;
    border-radius: 5px;
    background: #FFE2D4;
    color: var(--primary-dark);
    font-weight: 700;
    cursor: pointer;
}

.quote-honeypot {
    position: absolute !important;
    left: -99999px !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
}

.quote-message {
    margin: 15px 0;
    padding: 11px 13px;
    border-radius: 5px;
    font-size: 12px;
    line-height: 1.5;
}

.quote-message-success {
    background: rgba(255,255,255,.92);
    color: #287148;
}

.quote-message-error {
    background: rgba(255,240,240,.95);
    color: #993E3E;
}

.quote-message-error ul {
    margin: 7px 0 0;
    padding-left: 18px;
}

/* COMPANIES */

.companies-section {
    padding: 32px 0 34px;
    border-top: 1px solid var(--border);
    background: var(--bg-white);
}

.companies-title {
    margin: 10px 0 28px;
    color: var(--text-main);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 28px;
    font-weight: 400;
    text-align: center;
}

.companies-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0,1fr));
    gap: 14px;
}

.company-logo-placeholder {
    min-height: 72px;
    display: grid;
    place-items: center;
    padding: 14px;
    border: 0;
    background: transparent;
    color: var(--primary);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 19px;
    font-weight: 700;
    letter-spacing: .03em;
}

/* TESTIMONIALS */

.testimonials-section {
    padding: 38px 0 48px;
    background: var(--bg-white);
}

.testimonials-title {
    margin: 10px 0 28px;
    color: var(--text-main);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 34px;
    font-weight: 400;
    text-align: center;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0,1fr));
    gap: 18px;
}

.testimonial-card {
    min-height: 205px;
    padding: 24px;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: var(--white);
    box-shadow: 0 8px 24px rgba(80,55,45,.035);
}

.testimonial-stars {
    margin-bottom: 14px;
    color: var(--accent);
    font-size: 13px;
    letter-spacing: .12em;
}

.testimonial-card p {
    margin: 0;
    color: var(--text-soft);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 15px;
    line-height: 1.6;
}

.testimonial-author {
    margin-top: 20px;
}

.testimonial-author strong,
.testimonial-author span {
    display: block;
}

.testimonial-author strong {
    color: var(--text-main);
    font-size: 13px;
}

.testimonial-author span {
    margin-top: 4px;
    color: var(--text-light);
    font-size: 11px;
}

/* FOOTER */

.site-footer {
    padding: 45px 0 18px;
    border-top: 0;
    background:
        linear-gradient(
            135deg,
            #C75F4E,
            #B64C41
        );
    color: var(--white);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
    gap: 45px;
}

.footer-logo {
    display: inline-flex;
    flex-direction: column;
    color: #FFE4D5;
    line-height: 1;
}

.footer-logo strong {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 36px;
    font-style: italic;
    font-weight: 400;
}

.footer-logo span {
    margin-top: 5px;
    padding-left: 50px;
    font-size: 10px;
    letter-spacing: .25em;
}

.footer-brand p {
    max-width: 290px;
    margin: 18px 0 0;
    color: rgba(255,255,255,.78);
    font-size: 12px;
    line-height: 1.7;
}

.footer-column {
    display: flex;
    flex-direction: column;
    gap: 9px;
}

.footer-column h3 {
    margin: 0 0 8px;
    color: var(--white);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.footer-column a,
.footer-column p {
    margin: 0;
    color: rgba(255,255,255,.82);
    font-size: 11px;
    line-height: 1.45;
    text-decoration: none;
}

.footer-column a:hover {
    color: #FFE0D2;
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-top: 32px;
    padding-top: 15px;
    border-top: 1px solid rgba(255,255,255,.18);
    color: rgba(255,255,255,.68);
    font-size: 10px;
}

/* =========================================================
   AMELIA HERO — ajuste diseño aprobado
   ========================================================= */

.hero-grid {
    grid-template-columns: 43% 57%;
}

.hero-copy {
    padding-top: 42px;
}

.hero-title {
    max-width: 540px;
    font-size: clamp(48px, 4.25vw, 68px);
    line-height: 1.02;
}

.hero-title-accent {
    color: var(--primary);
    font-style: normal;
}

.hero-description {
    max-width: 470px;
    margin-top: 24px;
}

/* Composición gráfica */

.hero-art {
    overflow: visible;
}

.hero-family {
    z-index: 5;
    right: 13%;
    bottom: 0;
    width: 76%;
    max-height: 625px;
    object-position: center bottom;
}

.hero-shield {
    z-index: 3;
    top: 46px;
    right: -1%;
    width: 37%;
    max-width: 300px;
    opacity: .95;
}

.hero-waves {
    z-index: 7;
    right: -10%;
    bottom: -2px;
    width: 118%;
}

/* =========================================================
   HERO WAVES — corrección de capas y posición
   ========================================================= */

.hero-shield {
    z-index: 2;
}

.hero-waves {
    z-index: 4;
    right: -6%;
    bottom: -34px;
    width: 105%;
    max-width: none;
    opacity: .90;
    pointer-events: none;
}

.hero-family {
    z-index: 5;
}

/* =========================================================
   HERO — ajuste fino composición Amelia
   ========================================================= */

.hero-shield {
    top: 50px;
    right: -5%;
    width: 42%;
    max-width: 330px;
    z-index: 2;
}

.hero-waves {
    right: -10%;
    bottom: -105px;
    width: 112%;
    z-index: 4;
    opacity: .92;
}

.hero-family {
    z-index: 5;
}

/* HERO FEATURE ICONS */

.hero-feature-icon {
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
}

.hero-feature-icon svg {
    width: 28px;
    height: 28px;
    fill: none;
    stroke: var(--primary-soft);
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* INSURANCE ICONS */

.insurance-icon {
    height: 52px;
    display: grid;
    place-items: center;
    margin-bottom: 10px;
}

.insurance-icon svg {
    width: 44px;
    height: 44px;
    fill: none;
    stroke: var(--primary);
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* BENEFITS — ajuste diseño aprobado */

.benefits-copy h2 {
    max-width: 560px;
}

.benefits-copy h2 em {
    color: var(--primary);
}

.benefits-intro {
    display: none;
}

.benefit-icon {
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    border: 0;
    background: transparent;
}

.benefit-icon svg {
    width: 34px;
    height: 34px;
    fill: none;
    stroke: var(--primary-soft);
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.benefits-list {
    grid-template-columns: 1fr;
    gap: 16px;
    max-width: 520px;
}

.benefit-item {
    grid-template-columns: 46px 1fr;
    align-items: start;
}

.benefit-item h3 {
    font-size: 15px;
    font-weight: 700;
}

.benefit-item p {
    font-size: 11px;
    line-height: 1.35;
}

/* COMPANY LOGOS */

.companies-grid {
    align-items: center;
}

.company-logo {
    min-height: 76px;
    display: grid;
    place-items: center;
    padding: 12px 18px;
}

.company-logo img {
    display: block;
    width: auto;
    max-width: 145px;
    max-height: 55px;
    object-fit: contain;
}

.company-logo span {
    color: var(--primary);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 18px;
    font-weight: 700;
}

/* COMPANY LOGOS */

.company-logo {
    min-height: 80px;
    display: grid;
    place-items: center;
    padding: 12px 18px;
}

.company-logo img {
    display: block;
    width: auto;
    max-width: 150px;
    max-height: 58px;
    object-fit: contain;
}

.company-logo span {
    color: var(--primary);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 18px;
    font-weight: 700;
}

/* =========================================================
   ALIADOS — CENTRADO DINÁMICO
   ========================================================= */

.companies-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 36px 70px;
    width: 100%;
    margin: 38px auto 0;
}

.company-logo {
    flex: 0 0 150px;
    min-height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.company-logo a {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.company-logo img {
    display: block;
    max-width: 145px;
    max-height: 70px;
    width: auto;
    height: auto;
    object-fit: contain;
}

.company-logo span {
    text-align: center;
    font-weight: 600;
}

/* Tablet */
@media (max-width: 900px) {
    .companies-grid {
        gap: 30px 45px;
    }

    .company-logo {
        flex-basis: 135px;
    }

    .company-logo img {
        max-width: 130px;
        max-height: 65px;
    }
}

/* Móvil */
@media (max-width: 600px) {
    .companies-grid {
        gap: 25px 30px;
    }

    .company-logo {
        flex: 0 0 120px;
        min-height: 65px;
    }

    .company-logo img {
        max-width: 115px;
        max-height: 55px;
    }
}


/* =========================================================
   TESTIMONIOS — DINÁMICOS Y CENTRADOS
   ========================================================= */

.testimonials-title em {
    color: var(--primary);
    font-weight: 400;
}

.testimonials-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: stretch;
    gap: 20px;
    width: 100%;
    margin-top: 28px;
}

.testimonial-card {
    position: relative;
    flex: 0 1 360px;
    width: min(100%, 360px);
}

.testimonial-quote {
    height: 24px;
    color: var(--primary);
    font-family: Georgia, serif;
    font-size: 36px;
    line-height: 1;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.testimonial-author img {
    width: 46px;
    height: 46px;
    flex: 0 0 46px;
    border-radius: 50%;
    object-fit: cover;
}

.testimonial-author div {
    min-width: 0;
}

@media (max-width: 600px) {
    .testimonial-card {
        flex-basis: 100%;
        width: 100%;
    }
}

/* =========================================================
   SEGUROS — DINÁMICOS Y CENTRADOS
   ========================================================= */

.insurance-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: stretch;
    gap: 14px;
}

.insurance-card {
    flex: 0 1 250px;
    width: min(100%, 250px);
}

.insurance-icon img {
    width: auto;
    max-width: 48px;
    max-height: 48px;
    object-fit: contain;
}

@media (max-width: 600px) {
    .insurance-card {
        flex-basis: 100%;
        width: 100%;
    }
}


/* CWM INTERNAL PAGES */

.internal-hero {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 520px;
    padding: 110px 0 90px;
    background:
        radial-gradient(
            circle at 85% 25%,
            var(--primary-soft),
            transparent 34%
        ),
        linear-gradient(
            135deg,
            var(--bg-main),
            var(--bg-soft)
        );
    background-position: center;
    background-size: cover;
}

.internal-hero-content {
    position: relative;
    z-index: 1;
    max-width: 760px;
}

.internal-kicker,
.internal-section-label {
    display: inline-block;
    margin-bottom: 18px;
    color: var(--primary);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: .16em;
    text-transform: uppercase;
}

.internal-hero h1 {
    max-width: 720px;
    margin: 0 0 22px;
    color: var(--text-main);
    font-size: clamp(42px, 7vw, 78px);
    line-height: 1.02;
}

.internal-hero p {
    max-width: 640px;
    margin: 0 0 34px;
    color: var(--text-soft);
    font-size: 20px;
    line-height: 1.7;
}

.internal-hero[style] h1,
.internal-hero[style] p,
.internal-hero[style] .internal-kicker {
    color: #fff;
}

.internal-button {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 16px 24px;
    border-radius: 999px;
    background: var(--primary);
    color: #fff;
    font-weight: 700;
    text-decoration: none;
    transition:
        transform .2s ease,
        background .2s ease;
}

.internal-button:hover {
    transform: translateY(-2px);
    background: var(--primary-dark);
}

.internal-section {
    padding: 100px 0;
    background: var(--bg-main);
}

.internal-section-soft {
    background: var(--bg-soft);
}

.internal-two-columns {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(320px, .95fr);
    gap: 72px;
    align-items: center;
}

.internal-copy h2,
.internal-heading h2,
.internal-info-card h2 {
    margin: 0 0 22px;
    color: var(--text-main);
    font-size: clamp(34px, 5vw, 54px);
    line-height: 1.1;
}

.internal-rich-text,
.internal-info-card p {
    color: var(--text-soft);
    font-size: 18px;
    line-height: 1.8;
}

.internal-image img,
.internal-image-placeholder {
    width: 100%;
    min-height: 430px;
    border-radius: 30px;
    object-fit: cover;
    box-shadow: 0 28px 70px rgba(34, 26, 24, .13);
}

.internal-image-placeholder {
    display: grid;
    place-items: center;
    background:
        linear-gradient(
            145deg,
            var(--primary),
            var(--primary-dark)
        );
    color: #fff;
    font-size: 34px;
    font-weight: 800;
}

.internal-card-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px;
}

.internal-info-card {
    position: relative;
    min-height: 340px;
    padding: 44px;
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: 26px;
    background: var(--bg-main);
}

.internal-card-number {
    display: block;
    margin-bottom: 70px;
    color: var(--primary);
    font-size: 14px;
    font-weight: 800;
    letter-spacing: .14em;
}

.internal-heading {
    max-width: 700px;
    margin-bottom: 52px;
}

.internal-values-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.internal-value-card {
    padding: 34px;
    border: 1px solid var(--border);
    border-radius: 24px;
    background: var(--bg-soft);
}

.internal-value-card > span {
    display: block;
    margin-bottom: 46px;
    color: var(--primary);
    font-weight: 800;
}

.internal-value-card h3 {
    margin: 0 0 14px;
    color: var(--text-main);
    font-size: 25px;
}

.internal-value-card p {
    margin: 0;
    color: var(--text-soft);
    line-height: 1.7;
}

.internal-cta {
    padding: 75px 0;
    background: var(--primary-dark);
}

.internal-cta-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.internal-cta h2 {
    margin: 0 0 12px;
    color: #fff;
    font-size: clamp(32px, 5vw, 52px);
}

.internal-cta p {
    margin: 0;
    color: rgba(255, 255, 255, .82);
    font-size: 18px;
}

.internal-button-light {
    flex-shrink: 0;
    background: #fff;
    color: var(--primary-dark);
}

.internal-button-light:hover {
    background: var(--bg-soft);
}

@media (max-width: 900px) {
    .internal-two-columns,
    .internal-card-grid,
    .internal-values-grid {
        grid-template-columns: 1fr;
    }

    .internal-two-columns {
        gap: 44px;
    }

    .internal-cta-inner {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (max-width: 640px) {
    .internal-hero {
        min-height: 440px;
        padding: 90px 0 65px;
    }

    .internal-section {
        padding: 72px 0;
    }

    .internal-info-card,
    .internal-value-card {
        padding: 28px;
    }

    .internal-info-card {
        min-height: auto;
    }

    .internal-card-number {
        margin-bottom: 38px;
    }

    .internal-image img,
    .internal-image-placeholder {
        min-height: 320px;
    }
}