/* =========================
   RESET GENERAL
========================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    background: #FFEEDC;
    color: #23140f;
    overflow-x: hidden;
}

/* =========================
   NAVBAR
========================= */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    min-height: 92px;
    padding: 18px 46px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    z-index: 10000;
    background: rgba(255, 255, 255, 0.78);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.main-header.scrolled,
header.scrolled {
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.10);
}

.logo img {
    height: 72px;
    width: auto;
    display: block;
}

.navbar {
    flex: 1;
    display: flex;
    justify-content: center;
}

.menu {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 34px;
    list-style: none;
}

.menu li {
    position: relative;
}

.menu a {
    text-decoration: none;
    color: #23140f;
    font-size: 16px;
    font-weight: 600;
    line-height: 1;
    transition: color 0.25s ease;
}

.menu a:hover {
    color: #9B5422;
}

.arrow {
    font-size: 13px;
    margin-left: 4px;
}

/* =========================
   DROPDOWN CORREGIDO
========================= */
.dropdown .submenu {
    position: absolute;
    top: 34px;
    left: 0;
    min-width: 260px;
    background: #FFFFFF;
    border-radius: 14px;
    list-style: none;
    padding: 8px;
    display: none;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.16);
    overflow: hidden;
    z-index: 10001;
}

.dropdown.active .submenu {
    display: block;
}

.submenu li {
    width: 100%;
}

.submenu li a {
    display: block;
    width: 100%;
    padding: 14px 16px;
    border-radius: 10px;
    color: #795246;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.2;
}

.submenu li a:hover {
    background: #FFEEDC;
    color: #9B5422;
}

/* =========================
   HEADER ACTIONS
========================= */
.header-actions {
    display: flex;
    align-items: center;
    gap: 14px;
}

.header-whatsapp {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    border: 1px solid rgba(121, 82, 70, 0.45);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #25D366;
    background: rgba(255, 255, 255, 0.78);
    font-size: 24px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.header-whatsapp:hover {
    transform: translateY(-2px);
    background: #FFFFFF;
    box-shadow: 0 10px 24px rgba(0,0,0,0.12);
}

.btn-header {
    background: linear-gradient(135deg, #A85D25, #C87938);
    color: #FFFFFF;
    text-decoration: none;
    padding: 17px 28px;
    border-radius: 999px;
    font-size: 15px;
    font-weight: 800;
    text-transform: uppercase;
    box-shadow: 0 12px 26px rgba(168, 93, 37, 0.30);
    transition: all 0.3s ease;
}

.btn-header:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 30px rgba(168, 93, 37, 0.40);
}

/* =========================
   HERO PRINCIPAL
========================= */
.hero {
    position: relative;
    min-height: 100vh;
    padding: 150px 46px 120px;
    background-image: url("img/FondoOsos.png");
    background-size: cover;
    background-position: center right;
    background-repeat: no-repeat;
    overflow: hidden;
    display: flex;
    align-items: center;
}

/* Degradado claro izquierdo para que el texto se lea como en la referencia */
.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(
            90deg,
            rgba(255, 246, 236, 0.98) 0%,
            rgba(255, 246, 236, 0.92) 24%,
            rgba(255, 246, 236, 0.64) 41%,
            rgba(255, 246, 236, 0.14) 62%,
            rgba(255, 246, 236, 0.00) 100%
        );
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 12% 30%, rgba(255,255,255,0.72), transparent 28%),
        linear-gradient(180deg, rgba(255,255,255,0.08), rgba(0,0,0,0.03));
    z-index: 2;
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 3;
    max-width: 660px;
    animation: fadeUp 0.9s ease both;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: linear-gradient(135deg, #A85D25, #C87938);
    color: #FFFFFF;
    padding: 11px 18px;
    border-radius: 999px;
    box-shadow: 0 12px 28px rgba(168, 93, 37, 0.25);
    margin-bottom: 26px;
}

.hero-badge span {
    font-size: 20px;
}

.hero-badge p {
    font-size: 15px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.hero h1 {
    font-size: clamp(44px, 5vw, 78px);
    line-height: 0.98;
    letter-spacing: -2px;
    color: #2A1710;
    font-weight: 900;
    margin-bottom: 24px;
}

.hero h1 span {
    color: #9B5422;
}

.hero-description {
    max-width: 570px;
    color: #3F3A37;
    font-size: 22px;
    line-height: 1.45;
    margin-bottom: 30px;
}

/* =========================
   BOTONES HERO
========================= */
.hero-buttons {
    display: flex;
    align-items: center;
    gap: 18px;
    flex-wrap: wrap;
    margin-bottom: 36px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 58px;
    padding: 0 30px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 800;
    font-size: 15px;
    transition: all 0.3s ease;
}

.btn-primary {
    background: linear-gradient(135deg, #9B5422, #B8662C);
    color: #FFFFFF;
    box-shadow: 0 12px 26px rgba(155, 84, 34, 0.30);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 18px 34px rgba(155, 84, 34, 0.38);
}

.btn-outline {
    background: rgba(255, 255, 255, 0.55);
    color: #2A1710;
    border: 1.5px solid rgba(121, 82, 70, 0.45);
    backdrop-filter: blur(6px);
}

.btn-outline:hover {
    background: #FFFFFF;
    transform: translateY(-3px);
}

/* =========================
   FEATURES HERO
========================= */
.hero-features {
    display: grid;
    grid-template-columns: repeat(4, minmax(90px, 1fr));
    max-width: 600px;
    gap: 0;
}

.feature-item {
    padding: 0 20px;
    text-align: center;
    border-right: 1px solid rgba(121, 82, 70, 0.22);
}

.feature-item:first-child {
    padding-left: 0;
}

.feature-item:last-child {
    border-right: none;
}

.feature-item span {
    display: block;
    font-size: 36px;
    color: #9B5422;
    margin-bottom: 8px;
}

.feature-item p {
    color: #2A1710;
    font-weight: 700;
    font-size: 15px;
    line-height: 1.15;
}

/* =========================
STATS NUEVO DISEÑO
=========================*/

.stats.stats-reference {
    padding: 42px 20px;
    background: linear-gradient(180deg, #FFF7EE 0%, #FBEAD7 100%);
}

.stats-wrapper {
    width: min(1180px, 100%);
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    background: rgba(255, 250, 244, 0.76);
    border-radius: 18px;
    padding: 18px 10px;
}

.stat-item {
    position: relative;
    min-height: 155px;
    padding: 8px 28px 4px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.stat-item:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 18px;
    right: 0;
    width: 1px;
    height: 120px;
    background: rgba(121, 82, 70, 0.18);
}

.stat-icon {
    width: 58px;
    height: 58px;
    margin-bottom: 8px;
    color: #A85D25;
}

.stat-icon svg {
    width: 100%;
    height: 100%;
    display: block;
}

.stat-icon svg path,
.stat-icon svg circle {
    fill: none;
    stroke: currentColor;
    stroke-width: 3;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.stat-item h2 {
    font-size: clamp(34px, 4vw, 44px);
    line-height: 1;
    font-weight: 900;
    color: #A85D25;
    margin: 0 0 8px;
    letter-spacing: -1px;
}

.stat-item p {
    color: #221713;
    font-size: 17px;
    line-height: 1.18;
    font-weight: 700;
    margin: 0;
}

/* =========================
RESPONSIVE STATS
========================= */

@media (max-width: 900px) {
    .stats-wrapper {
        grid-template-columns: repeat(2, 1fr);
        gap: 0;
    }

    .stat-item {
        min-height: 160px;
        padding: 18px 20px;
    }

    .stat-item:not(:last-child)::after {
        display: none;
    }

    .stat-item:nth-child(1),
    .stat-item:nth-child(2) {
        border-bottom: 1px solid rgba(121, 82, 70, 0.16);
    }

    .stat-item:nth-child(1),
    .stat-item:nth-child(3) {
        border-right: 1px solid rgba(121, 82, 70, 0.16);
    }
}

@media (max-width: 520px) {
    .stats.stats-reference {
        padding: 34px 16px;
    }

    .stats-wrapper {
        grid-template-columns: 1fr;
        padding: 0;
        overflow: hidden;
    }

    .stat-item {
        min-height: auto;
        padding: 28px 18px;
        border-right: none !important;
        border-bottom: 1px solid rgba(121, 82, 70, 0.16);
    }

    .stat-item:last-child {
        border-bottom: none;
    }

    .stat-icon {
        width: 52px;
        height: 52px;
    }

    .stat-item h2 {
        font-size: 38px;
    }

    .stat-item p {
        font-size: 16px;
    }
}

.hero-seal span {
    font-size: 15px;
    font-weight: 900;
    text-transform: uppercase;
}

/* =========================
   BARRA ASEGURADORAS
========================= */
.insurance-bar {
    position: absolute;
    left: 46px;
    right: 46px;
    bottom: 28px;
    z-index: 5;
    min-height: 82px;
    background: rgba(255, 255, 255, 0.88);
    border: 1px solid rgba(121, 82, 70, 0.12);
    border-radius: 20px;
    box-shadow: 0 18px 40px rgba(0,0,0,0.13);
    backdrop-filter: blur(10px);
    display: grid;
    grid-template-columns: 1.35fr repeat(5, 1fr) 1.35fr;
    align-items: center;
    gap: 18px;
    padding: 14px 28px;
}

.insurance-title {
    color: #2A1710;
    font-size: 13px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.insurance-brand {
    color: #2A1710;
    font-size: 20px;
    font-weight: 900;
    text-align: center;
    opacity: 0.82;
}

.insurance-clients {
    display: flex;
    align-items: center;
    gap: 12px;
    border-left: 1px solid rgba(121, 82, 70, 0.18);
    padding-left: 20px;
}

.insurance-clients span {
    font-size: 34px;
    color: #9B5422;
}

.insurance-clients p {
    color: #2A1710;
    font-size: 14px;
    font-weight: 900;
    text-transform: uppercase;
    line-height: 1.2;
}

/* =========================
   STATS
========================= */
.stats {
    display: flex;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
    padding: 70px 20px;
    background: #FFEEDC;
}

.stats .stat {
    background: #FFFFFF;
    border: 1px solid rgba(121, 82, 70, 0.12);
    border-radius: 18px;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.08);
    padding: 34px 28px;
    width: 240px;
    text-align: center;
}

.stats .stat h2 {
    font-size: 44px;
    margin-bottom: 10px;
    color: #9B5422;
}

.stats .stat p {
    color: #4d3d33;
    font-weight: 700;
}

/* =========================
   SERVICIOS
========================= */
.servicios {
    padding: 80px 20px;
    text-align: center;
    background: #FFFFFF;
}

.servicios h2 {
    font-size: 40px;
    color: #795246;
    margin-bottom: 12px;
}

.section-subtitle {
    max-width: 640px;
    margin: 0 auto 44px;
    color: #4d3d33;
    font-size: 17px;
    line-height: 1.5;
}

.cards {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.card {
    background: #FFFFFF;
    padding: 34px;
    border-radius: 18px;
    width: 310px;
    box-shadow: 0 14px 35px rgba(0,0,0,0.10);
    border: 1px solid rgba(121, 82, 70, 0.12);
    transition: all 0.3s ease;
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 45px rgba(0,0,0,0.14);
}

.card h3 {
    color: #795246;
    font-size: 22px;
    margin-bottom: 14px;
}

.card p {
    color: #4d3d33;
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 24px;
}

.card-link {
    color: #9B5422;
    font-weight: 800;
    text-decoration: none;
}

/* =========================
CONFIANZA
========================= */

.confianza {
    background: linear-gradient(135deg, #795246, #4d3d33);
    color: white;
    padding: 80px 20px;
    text-align: center;
}

.confianza h2 {
    font-size: 38px;
    margin-bottom: 38px;
    font-weight: 900;
    color: #FFFFFF;
}

.confianza-reference .confianza-grid {
    max-width: 920px;
    margin: auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 18px;
    overflow: hidden;
}

.confianza-reference .confianza-item {
    position: relative;
    min-height: 150px;
    padding: 24px 24px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
}

.confianza-reference .confianza-item:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 24px;
    right: 0;
    width: 1px;
    height: 100px;
    background: rgba(255, 255, 255, 0.22);
}

.confianza-icon {
    width: 58px;
    height: 58px;
    margin-bottom: 12px;
    color: #FFFFFF;
}

.confianza-icon svg {
    width: 100%;
    height: 100%;
    display: block;
}

.confianza-icon svg path,
.confianza-icon svg circle {
    fill: none;
    stroke: currentColor;
    stroke-width: 3;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.confianza-reference .confianza-item h3 {
    color: #FFFFFF;
    font-size: 19px;
    line-height: 1.15;
    font-weight: 900;
    margin: 0;
}

/* =========================
RESPONSIVE CONFIANZA
========================= */

@media (max-width: 900px) {
    .confianza-reference .confianza-grid {
        grid-template-columns: repeat(2, 1fr);
        max-width: 620px;
    }

    .confianza-reference .confianza-item:not(:last-child)::after {
        display: none;
    }

    .confianza-reference .confianza-item:nth-child(1),
    .confianza-reference .confianza-item:nth-child(2) {
        border-bottom: 1px solid rgba(255, 255, 255, 0.18);
    }

    .confianza-reference .confianza-item:nth-child(1),
    .confianza-reference .confianza-item:nth-child(3) {
        border-right: 1px solid rgba(255, 255, 255, 0.18);
    }
}

@media (max-width: 520px) {
    .confianza {
        padding: 70px 16px;
    }

    .confianza h2 {
        font-size: 32px;
        margin-bottom: 30px;
    }

    .confianza-reference .confianza-grid {
        grid-template-columns: 1fr;
    }

    .confianza-reference .confianza-item {
        min-height: auto;
        padding: 28px 18px;
        border-right: none !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.18);
    }

    .confianza-reference .confianza-item:last-child {
        border-bottom: none;
    }

    .confianza-icon {
        width: 54px;
        height: 54px;
    }

    .confianza-reference .confianza-item h3 {
        font-size: 18px;
    }
}

/* =========================
   CTA
========================= */
.cta {
    background: #D39267;
    color: white;
    text-align: center;
    padding: 70px 20px;
}

.cta h2 {
    font-size: 36px;
    margin-bottom: 12px;
}

.cta p {
    margin-bottom: 24px;
    font-size: 18px;
}

/* =========================
   FOOTER
========================= */
footer {
    background: #010200;
    color: white;
    text-align: center;
    padding: 24px 20px;
}

.footer-credit {
    margin: 10px auto 0;
    max-width: 1200px;
    padding: 0 20px;
    text-align: center;
    font-size: 14px;
    opacity: 0.9;
}

.footer-credit a {
    color: inherit;
    text-decoration: none;
}

.footer-credit a:hover {
    text-decoration: underline;
}

/* =========================
   WHATSAPP FLOAT
========================= */
.whatsapp-float {
    position: fixed;
    bottom: 22px;
    right: 22px;
    width: 58px;
    height: 58px;
    background: #25D366;
    color: white;
    border-radius: 50%;
    text-decoration: none;
    font-size: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    box-shadow: 0 14px 28px rgba(37, 211, 102, 0.32);
    transition: all 0.3s ease;
}

.whatsapp-float:hover {
    transform: translateY(-4px) scale(1.04);
}

/* =========================
   ANIMACIONES
========================= */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(35px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.reveal {
    opacity: 0;
    transform: translateY(45px);
    transition: all 0.8s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* =========================
   RESPONSIVE
========================= */
@media (max-width: 1180px) {
    .menu {
        gap: 20px;
    }

    .main-header {
        padding: 16px 28px;
    }

    .insurance-bar {
        grid-template-columns: repeat(3, 1fr);
        bottom: 20px;
    }

    .insurance-title,
    .insurance-clients {
        display: none;
    }

    .hero-seal {
        display: none;
    }
}

@media (max-width: 900px) {
    .main-header {
        flex-wrap: wrap;
        gap: 14px;
        min-height: auto;
    }

    .navbar {
        order: 3;
        width: 100%;
        justify-content: flex-start;
        overflow-x: auto;
    }

    .menu {
        justify-content: flex-start;
        gap: 22px;
        padding-bottom: 8px;
    }

    .header-actions {
        margin-left: auto;
    }

    .hero {
        min-height: auto;
        padding: 190px 24px 160px;
        background-position: center right;
    }

    .hero::before {
        background:
            linear-gradient(
                90deg,
                rgba(255, 246, 236, 0.98) 0%,
                rgba(255, 246, 236, 0.90) 52%,
                rgba(255, 246, 236, 0.36) 100%
            );
    }

    .hero h1 {
        font-size: 48px;
    }

    .hero-description {
        font-size: 18px;
    }

    .hero-features {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .feature-item {
        border-right: none;
        padding: 0;
    }

    .insurance-bar {
        left: 20px;
        right: 20px;
        grid-template-columns: repeat(2, 1fr);
        padding: 16px;
    }

    .confianza-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 600px) {
    .logo img {
        height: 58px;
    }

    .btn-header {
        display: none;
    }

    .header-whatsapp {
        width: 48px;
        height: 48px;
    }

    .hero {
        padding: 180px 18px 150px;
    }

    .hero h1 {
        font-size: 39px;
        letter-spacing: -1px;
    }

    .hero-description {
        font-size: 16px;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .btn {
        width: 100%;
    }

    .hero-features {
        grid-template-columns: 1fr 1fr;
    }

    .insurance-bar {
        display: none;
    }

    .stats {
        padding: 50px 18px;
    }

    .stats .stat {
        width: 100%;
    }
}


/* =========================
SOLUCIONES NUEVO DISEÑO
========================= */

.solutions-showcase {
    position: relative;
    padding: 90px 20px 85px;
    background:
        radial-gradient(circle at 15% 10%, rgba(255,255,255,0.95), transparent 28%),
        linear-gradient(180deg, #FFF7EE 0%, #FBEAD7 100%);
    overflow: hidden;
}

.solutions-container {
    width: min(1240px, 100%);
    margin: 0 auto;
}

.solutions-heading {
    text-align: center;
    margin-bottom: 34px;
}

.solutions-eyebrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 34px;
    border-radius: 999px;
    background: linear-gradient(135deg, #713915, #9B5422);
    color: #FFFFFF;
    font-size: 16px;
    font-weight: 900;
    letter-spacing: 6px;
    line-height: 1;
    margin-bottom: 14px;
    box-shadow: 0 10px 24px rgba(113, 57, 21, 0.20);
}

.solutions-heading h2 {
    font-size: clamp(38px, 5vw, 64px);
    line-height: 0.95;
    letter-spacing: -2.6px;
    color: #2A1710;
    font-weight: 900;
    margin-bottom: 14px;
}

.solutions-heading p {
    color: #2D2621;
    font-size: clamp(17px, 2vw, 22px);
    line-height: 1.4;
    max-width: 920px;
    margin: 0 auto;
}

.solutions-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 30px;
    align-items: stretch;
}

.solution-card {
    position: relative;
    min-height: 555px;
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    grid-template-rows: 1fr auto auto;
    overflow: hidden;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(121, 82, 70, 0.10);
    box-shadow: 0 18px 42px rgba(0, 0, 0, 0.14);
}

.solution-image {
    grid-row: 1 / 4;
    position: relative;
    min-height: 100%;
    overflow: hidden;
}

.solution-image::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        90deg,
        rgba(255,255,255,0) 0%,
        rgba(255,255,255,0.10) 48%,
        rgba(255,255,255,0.88) 100%
    );
    pointer-events: none;
}

.solution-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Ajuste específico para que las imágenes se parezcan más a la referencia */
.solution-card-brown .solution-image img {
    object-position: center center;
}

.solution-card-green .solution-image img {
    object-position: center center;
}

.solution-content {
    position: relative;
    z-index: 2;
    padding: 34px 34px 16px 18px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.solution-icon {
    width: 78px;
    height: 78px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 18px;
    color: #FFFFFF;
    font-size: 36px;
    font-weight: 900;
}

.solution-card-brown .solution-icon {
    background: #7A3D18;
}

.solution-card-green .solution-icon {
    background: #276839;
}

.solution-content h3 {
    font-size: clamp(27px, 3vw, 36px);
    line-height: 1;
    font-weight: 900;
    letter-spacing: -1px;
    margin-bottom: 10px;
}

.solution-card-brown .solution-content h3 {
    color: #5A2B15;
}

.solution-card-green .solution-content h3 {
    color: #276839;
}

.solution-content h4 {
    color: #17110E;
    font-size: 20px;
    line-height: 1.22;
    font-weight: 900;
    margin-bottom: 18px;
}

.solution-line {
    display: block;
    width: 34px;
    height: 2px;
    margin-bottom: 18px;
}

.solution-card-brown .solution-line {
    background: #7A3D18;
}

.solution-card-green .solution-line {
    background: #276839;
}

.solution-content p {
    color: #241A15;
    font-size: 17px;
    line-height: 1.45;
    font-weight: 500;
}

.solution-benefits {
    position: relative;
    z-index: 4;
    grid-column: 1 / 3;
    width: calc(100% - 32px);
    margin: 0 auto 14px;
    min-height: 104px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    align-items: center;
    border-radius: 16px;
    overflow: hidden;
    backdrop-filter: blur(8px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

.solution-card-brown .solution-benefits {
    background: rgba(255, 241, 224, 0.88);
}

.solution-card-green .solution-benefits {
    background: rgba(235, 244, 229, 0.88);
}

.benefit-item {
    min-height: 74px;
    padding: 10px 8px;
    text-align: center;
    border-right: 1px solid rgba(121, 82, 70, 0.22);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.benefit-item:last-child {
    border-right: none;
}

.benefit-item span {
    font-size: 30px;
    line-height: 1;
    margin-bottom: 6px;
    font-weight: 900;
}

.solution-card-brown .benefit-item span {
    color: #7A3D18;
}

.solution-card-green .benefit-item span {
    color: #276839;
}

.benefit-item p {
    font-size: 13px;
    line-height: 1.1;
    color: #15100C;
    font-weight: 800;
}

.solution-btn {
    position: relative;
    z-index: 5;
    grid-column: 1 / 3;
    width: min(410px, calc(100% - 70px));
    min-height: 58px;
    margin: 0 auto 18px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 22px;
    color: #FFFFFF;
    text-decoration: none;
    font-size: 22px;
    font-weight: 900;
    box-shadow: 0 12px 28px rgba(0,0,0,0.16);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.solution-card-brown .solution-btn {
    background: linear-gradient(135deg, #783812, #9B5422);
}

.solution-card-green .solution-btn {
    background: linear-gradient(135deg, #1F6A38, #2F7C43);
}

.solution-btn span {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: #FFF7EE;
    color: #4A2A18;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 42px;
    line-height: 1;
    font-weight: 500;
}

.solution-card-green .solution-btn span {
    color: #276839;
}

.solution-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 18px 34px rgba(0,0,0,0.22);
}

.solutions-help {
    width: min(830px, 100%);
    min-height: 74px;
    margin: 18px auto 0;
    padding: 12px 22px;
    border-radius: 22px;
    background: rgba(255, 247, 238, 0.95);
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 16px;
    box-shadow: 0 12px 30px rgba(0,0,0,0.06);
}

.help-icon {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background: linear-gradient(135deg, #7A3D18, #A85D25);
    color: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
}

.help-text strong {
    display: block;
    color: #1F1510;
    font-size: 20px;
    font-weight: 900;
    margin-bottom: 2px;
}

.help-text p {
    color: #1F1510;
    font-size: 16px;
    margin: 0;
}

.help-whatsapp {
    min-height: 50px;
    padding: 0 28px;
    border-radius: 999px;
    background: #FFFFFF;
    color: #1F1510;
    text-decoration: none;
    font-size: 16px;
    font-weight: 900;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.help-whatsapp span {
    color: #25D366;
    font-size: 24px;
}

.help-whatsapp:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(0,0,0,0.10);
}

/* =========================
RESPONSIVE SOLUCIONES
========================= */

@media (max-width: 1100px) {
    .solutions-grid {
        grid-template-columns: 1fr;
        max-width: 720px;
        margin: 0 auto;
    }

    .solution-card {
        min-height: 560px;
    }
}

@media (max-width: 720px) {
    .solutions-showcase {
        padding: 70px 16px;
    }

    .solutions-eyebrow {
        font-size: 12px;
        letter-spacing: 3px;
        padding: 8px 22px;
    }

    .solutions-heading h2 {
        letter-spacing: -1.5px;
    }

    .solution-card {
        display: flex;
        flex-direction: column;
        min-height: auto;
    }

    .solution-image {
        height: 340px;
        min-height: 340px;
    }

    .solution-image::after {
        background: linear-gradient(
            180deg,
            rgba(255,255,255,0) 0%,
            rgba(255,255,255,0.78) 100%
        );
    }

    .solution-content {
        padding: 28px 24px 16px;
        text-align: center;
    }

    .solution-line {
        margin-left: auto;
        margin-right: auto;
    }

    .solution-benefits {
        width: calc(100% - 24px);
        grid-template-columns: repeat(2, 1fr);
        margin-bottom: 16px;
    }

    .benefit-item:nth-child(2) {
        border-right: none;
    }

    .benefit-item:nth-child(1),
    .benefit-item:nth-child(2) {
        border-bottom: 1px solid rgba(121, 82, 70, 0.18);
    }

    .solution-btn {
        width: calc(100% - 40px);
        font-size: 19px;
        margin-bottom: 22px;
    }

    .solutions-help {
        grid-template-columns: 1fr;
        text-align: center;
        justify-items: center;
        padding: 20px;
    }
}

@media (max-width: 420px) {
    .solution-image {
        height: 300px;
        min-height: 300px;
    }

    .solution-content h4 {
        font-size: 18px;
    }

    .solution-content p {
        font-size: 16px;
    }

    .benefit-item p {
        font-size: 12px;
    }

    .solution-btn {
        font-size: 17px;
        gap: 14px;
    }
}

/* =========================
HERO NOSOTROS NUEVO
========================= */
.hero-nosotros-new {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: flex-start;
    padding: 120px 50px 140px;
    background: url("img/FondoNosotros.png") no-repeat center right;
    background-size: cover;
    overflow: hidden;
}

/* Degradado como la referencia */
.hero-nosotros-new::before {
    content: "";
    position: absolute;
    inset: 0;

    background: linear-gradient(
        90deg,
        rgba(255, 246, 236, 0.98) 0%,
        rgba(255, 246, 236, 0.92) 25%,
        rgba(255, 246, 236, 0.60) 45%,
        rgba(255, 246, 236, 0.10) 65%,
        rgba(255, 246, 236, 0) 100%
    );
    z-index: 1;
}

.hero-container {
    position: relative;
    z-index: 2;
    max-width: 650px;
}

/* BADGE */
.badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, #A85D25, #C87938);
    color: #fff;
    padding: 12px 22px;
    border-radius: 999px;
    font-weight: 800;
    margin-bottom: 25px;
}

/* TITULO */
.hero-left h1 {
    font-size: clamp(44px, 5vw, 72px);
    line-height: 1;
    font-weight: 900;
    color: #23140f;
    margin-bottom: 20px;
}

.hero-left h1 span {
    color: #9B5422;
}

/* TEXTO */
.hero-text {
    font-size: 20px;
    color: #3d2a22;
    margin-bottom: 35px;
}

/* FEATURES */
.hero-features {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
}

.feature {
    text-align: center;
    font-size: 26px;
}

.feature p {
    font-size: 14px;
    font-weight: 700;
    margin-top: 8px;
}

/* =========================
PROCESO BOX
========================= */
.proceso-box {
    position: absolute;   
    bottom: 80px;
    transform: translateX(-50%);

    width: 90%;
    max-width: 1150px;

    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    padding: 30px 20px;

    box-shadow: 0 18px 40px rgba(0,0,0,0.15);
    z-index: 3;
}

.proceso-box h3 {
    text-align: center;
    font-weight: 800;
    color: #8a4c21;
    margin-bottom: 20px;
}

/* STEPS */
.steps {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}

.step {
    text-align: center;
    max-width: 140px;
}

.step span {
    display: inline-flex;
    width: 40px;
    height: 40px;
    background: #9B5422;
    color: white;
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    margin-bottom: 10px;
}

.step p {
    font-size: 14px;
    font-weight: 700;
}

.arrow {
    font-size: 20px;
    color: #9B5422;
}

/* =========================
RESPONSIVE
========================= */
@media(max-width: 900px) {
    .steps {
        gap: 15px;
        justify-content: center;
    }

    .arrow {
        display: none;
    }

    .proceso-box {
        position: relative;
        bottom: 0;
        transform: none;
        margin-top: 40px;
    }
}

/* =========================================================
LANDING PÓLIZAS DE CUMPLIMIENTO - DELAOSSA
========================================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.landing-polizas-page {
    background: #FFF4E8;
    color: #23140f;
}

.lp-container {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
}

.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    min-height: 92px;
    padding: 18px 46px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    z-index: 10000;
    background: rgba(255, 255, 255, 0.82);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.main-header.scrolled,
header.scrolled {
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.10);
}

.navbar {
    flex: 1;
    display: flex;
    justify-content: center;
}

.menu a:hover {
    color: #9B5422;
}

.submenu li a:hover {
    background: #FFF4E8;
    color: #9B5422;
}

/* HERO */
.lp-hero {
    position: relative;
    min-height: 100vh;
    padding: 150px 0 90px;
    overflow: hidden;
    background: linear-gradient(135deg, #FFF7EF 0%, #FBE5CD 100%);
}

.lp-hero-bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 75% 22%, rgba(168, 93, 37, 0.18), transparent 32%),
        radial-gradient(circle at 18% 72%, rgba(255, 255, 255, 0.85), transparent 28%);
    pointer-events: none;
}

.lp-hero-grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 56px;
    align-items: center;
}

.lp-eyebrow,
.lp-tag {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    padding: 9px 16px;
    border-radius: 999px;
    background: rgba(168, 93, 37, 0.12);
    color: #8A4318;
    font-size: 13px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 18px;
}

.lp-hero h1 {
    font-size: clamp(44px, 5.8vw, 76px);
    line-height: 0.98;
    letter-spacing: -2.5px;
    color: #24130D;
    font-weight: 900;
    margin-bottom: 22px;
}

.lp-hero-lead {
    font-size: clamp(22px, 2.4vw, 30px);
    line-height: 1.18;
    font-weight: 900;
    color: #8A4318;
    margin-bottom: 16px;
}

.lp-hero-text {
    max-width: 650px;
    font-size: 19px;
    line-height: 1.55;
    color: #46362E;
    margin-bottom: 30px;
}

.lp-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 28px;
}

.lp-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 58px;
    padding: 0 28px;
    border-radius: 14px;
    border: none;
    cursor: pointer;
    text-decoration: none;
    font-size: 15px;
    font-weight: 900;
    transition: all 0.25s ease;
}

.lp-btn-primary {
    background: linear-gradient(135deg, #8E4619, #B8662C);
    color: #FFFFFF;
    box-shadow: 0 14px 30px rgba(155, 84, 34, 0.30);
}

.lp-btn-outline {
    background: rgba(255, 255, 255, 0.72);
    color: #2A1710;
    border: 1.5px solid rgba(121, 82, 70, 0.28);
}

.lp-btn:hover {
    transform: translateY(-3px);
}

.lp-btn-full {
    width: 100%;
}

.lp-hero-note {
    display: flex;
    align-items: center;
    gap: 12px;
    max-width: 560px;
    padding: 14px 16px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.65);
    border: 1px solid rgba(121, 82, 70, 0.12);
}

.lp-hero-note span {
    font-size: 24px;
}

.lp-hero-note p {
    font-weight: 800;
    color: #2A1710;
}

/* Visual hero */
.lp-hero-visual {
    position: relative;
    min-height: 540px;
}

.lp-visual-card {
    position: absolute;
    inset: 55px 40px 30px 0;
    border-radius: 30px;
    background: linear-gradient(145deg, #FFFFFF, #FFE7CF);
    box-shadow: 0 30px 70px rgba(69, 35, 18, 0.20);
    border: 1px solid rgba(121, 82, 70, 0.12);
    padding: 26px;
}

.lp-visual-topbar {
    display: flex;
    gap: 7px;
    margin-bottom: 20px;
}

.lp-visual-topbar span {
    width: 11px;
    height: 11px;
    border-radius: 50%;
    background: #C87938;
}

.lp-tablet {
    min-height: 250px;
    border-radius: 24px;
    background: #23140F;
    color: #FFFFFF;
    padding: 22px;
    box-shadow: inset 0 0 0 10px #3A251C;
}

.lp-tablet.big {
    min-height: 360px;
    max-width: 470px;
    margin: 0 auto;
}

.lp-tablet-header {
    font-size: 28px;
    font-weight: 900;
    color: #FFD9B5;
    margin-bottom: 22px;
}

.lp-check-row {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 13px 0;
    border-bottom: 1px solid rgba(255,255,255,0.12);
    font-weight: 800;
}

.lp-check-row span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: #2F9E44;
    color: #FFFFFF;
}

.lp-contractor-card {
    position: absolute;
    left: 26px;
    bottom: 26px;
    right: 26px;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px;
    border-radius: 18px;
    background: #FFFFFF;
    box-shadow: 0 16px 34px rgba(0,0,0,0.12);
}

.lp-avatar {
    width: 54px;
    height: 54px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #FFF0DF;
    font-size: 28px;
}

.lp-contractor-card p {
    color: #795246;
    font-weight: 700;
}

.lp-seal {
    position: absolute;
    right: 0;
    top: 28px;
    width: 160px;
    height: 160px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: linear-gradient(135deg, #7A3511, #C87938);
    color: #FFFFFF;
    font-size: 16px;
    font-weight: 900;
    transform: rotate(8deg);
    box-shadow: 0 20px 40px rgba(122, 53, 17, 0.30);
}

.lp-seal strong {
    font-size: 24px;
}

.lp-shield {
    position: absolute;
    left: 0;
    bottom: 50px;
    width: 90px;
    height: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 24px;
    background: #FFFFFF;
    font-size: 42px;
    box-shadow: 0 18px 40px rgba(0,0,0,0.15);
}

/* Trust bar */
.lp-trust-bar {
    padding: 28px 0;
    background: #FFFFFF;
    box-shadow: 0 12px 30px rgba(0,0,0,0.06);
}

.lp-trust-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    border-radius: 18px;
    overflow: hidden;
}

.lp-trust-grid div {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    min-height: 86px;
    padding: 16px;
    border-right: 1px solid rgba(121, 82, 70, 0.14);
    background: #FFF8F0;
}

.lp-trust-grid div:last-child {
    border-right: none;
}

.lp-trust-grid span {
    font-size: 30px;
}

.lp-trust-grid p {
    font-weight: 900;
    line-height: 1.2;
}

/* Sections */
.lp-section {
    padding: 92px 0;
}

.lp-section-heading {
    text-align: center;
    max-width: 850px;
    margin: 0 auto 42px;
}

.lp-section h2,
.lp-section-heading h2,
.lp-final-cta h2 {
    font-size: clamp(34px, 4.6vw, 56px);
    line-height: 1;
    letter-spacing: -1.8px;
    color: #24130D;
    font-weight: 900;
    margin-bottom: 16px;
}

.lp-section-heading p,
.lp-copy p,
.lp-final-cta p {
    font-size: 18px;
    line-height: 1.55;
    color: #514138;
}

.lp-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.lp-negative-list,
.lp-positive-list {
    list-style: none;
    margin-top: 24px;
    display: grid;
    gap: 14px;
}

.lp-negative-list li,
.lp-positive-list li {
    padding: 15px 18px;
    border-radius: 14px;
    background: #FFFFFF;
    font-weight: 900;
    box-shadow: 0 10px 26px rgba(0,0,0,0.06);
}

/* Problema */
.lp-problem {
    background: #FFF4E8;
}

.lp-problem-visual {
    position: relative;
    min-height: 380px;
}

.lp-doc-stack {
    position: relative;
    height: 310px;
}

.lp-doc {
    position: absolute;
    width: 78%;
    min-height: 95px;
    padding: 26px;
    border-radius: 18px;
    background: #FFFFFF;
    color: #2A1710;
    font-weight: 900;
    box-shadow: 0 18px 38px rgba(0,0,0,0.12);
    border-left: 8px solid #C87938;
}

.lp-doc-1 {
    top: 0;
    left: 40px;
    transform: rotate(-3deg);
}

.lp-doc-2 {
    top: 105px;
    left: 10px;
    transform: rotate(2deg);
}

.lp-doc-3 {
    top: 210px;
    left: 70px;
    transform: rotate(-1deg);
}

.lp-worry-card {
    position: absolute;
    right: 10px;
    bottom: 10px;
    padding: 18px 20px;
    border-radius: 999px;
    background: #23140F;
    color: #FFFFFF;
    font-weight: 900;
}

/* Proceso */
.lp-solution {
    background: linear-gradient(180deg, #FFFFFF 0%, #FFF4E8 100%);
}

.lp-process {
    display: grid;
    grid-template-columns: 1fr 80px 1fr 80px 1fr;
    align-items: center;
    gap: 12px;
}

.lp-process-step {
    min-height: 230px;
    padding: 28px;
    border-radius: 22px;
    text-align: center;
    background: #FFFFFF;
    box-shadow: 0 16px 36px rgba(0,0,0,0.08);
}

.lp-process-step span {
    width: 58px;
    height: 58px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #8E4619, #B8662C);
    color: #FFFFFF;
    font-weight: 900;
    font-size: 24px;
    margin-bottom: 18px;
}

.lp-process-step h3 {
    color: #24130D;
    font-size: 23px;
    margin-bottom: 10px;
}

.lp-process-step p {
    color: #514138;
    line-height: 1.45;
}

.lp-process-line {
    height: 3px;
    background: linear-gradient(90deg, #C87938, transparent);
}

.lp-highlight {
    width: fit-content;
    margin: 36px auto 0;
    padding: 18px 28px;
    border-radius: 999px;
    background: #23140F;
    color: #FFFFFF;
    font-weight: 900;
    font-size: 22px;
}

/* Cards */
.lp-benefits {
    background: #FFFFFF;
}

.lp-card-grid,
.lp-testimonial-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.lp-benefit-card,
.lp-testimonial-card {
    padding: 30px;
    border-radius: 22px;
    background: #FFF8F0;
    border: 1px solid rgba(121, 82, 70, 0.10);
    box-shadow: 0 14px 30px rgba(0,0,0,0.06);
}

.lp-benefit-card span {
    font-size: 38px;
    display: block;
    margin-bottom: 18px;
}

.lp-benefit-card h3,
.lp-testimonial-card strong {
    color: #24130D;
    font-size: 22px;
    margin-bottom: 10px;
}

.lp-benefit-card p,
.lp-testimonial-card p {
    color: #514138;
    line-height: 1.5;
}

/* Comparativa */
.lp-difference {
    background: linear-gradient(135deg, #2A1710, #795246);
}

.lp-difference .lp-tag {
    background: rgba(255,255,255,0.12);
    color: #FFFFFF;
}

.lp-difference h2,
.lp-difference p {
    color: #FFFFFF;
}

.lp-comparison {
    max-width: 920px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    overflow: hidden;
    border-radius: 22px;
    background: #FFFFFF;
    box-shadow: 0 20px 45px rgba(0,0,0,0.22);
}

.lp-comparison > div {
    padding: 20px 24px;
    font-weight: 850;
    border-bottom: 1px solid rgba(121, 82, 70, 0.12);
}

.lp-comparison > div:nth-child(even):not(.lp-comparison-head) {
    background: #FFF4E8;
    color: #8A4318;
}

.lp-comparison-head {
    color: #FFFFFF;
    font-size: 20px;
    font-weight: 900;
}

.lp-comparison-head.other {
    background: #6D625E;
}

.lp-comparison-head.us {
    background: #A85D25;
}

/* SECOP */
.lp-secop {
    background: #FFF4E8;
}

.lp-secop-visual {
    position: relative;
}

.lp-approved {
    position: absolute;
    right: 12px;
    bottom: -16px;
    padding: 16px 24px;
    border: 4px solid #2F9E44;
    border-radius: 16px;
    color: #2F9E44;
    background: #FFFFFF;
    font-weight: 900;
    transform: rotate(-6deg);
    box-shadow: 0 12px 28px rgba(0,0,0,0.12);
}

/* Social proof */
.lp-social-proof,
.lp-testimonials {
    background: #FFFFFF;
}

.lp-logo-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.lp-logo-row div {
    min-height: 110px;
    border-radius: 18px;
    background: #FFF4E8;
    border: 1px dashed rgba(121, 82, 70, 0.30);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #795246;
    font-weight: 900;
}

.lp-testimonial-grid {
    grid-template-columns: repeat(3, 1fr);
}

.lp-testimonial-card {
    background: #FFFFFF;
}

.lp-testimonial-card p {
    font-size: 18px;
    margin-bottom: 20px;
}

/* Oferta + form */
.lp-offer {
    background: linear-gradient(180deg, #FFF4E8 0%, #FFFFFF 100%);
}

.lp-offer-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 40px;
    align-items: start;
}

.lp-offer-box,
.lp-form {
    border-radius: 26px;
    background: #FFFFFF;
    box-shadow: 0 18px 45px rgba(0,0,0,0.10);
    border: 1px solid rgba(121, 82, 70, 0.10);
}

.lp-offer-box {
    padding: 38px;
}

.lp-form {
    padding: 34px;
}

.lp-form h3 {
    font-size: 28px;
    color: #24130D;
    margin-bottom: 22px;
}

.lp-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.lp-form-group {
    margin-bottom: 16px;
}

.lp-form-group label {
    display: block;
    font-weight: 900;
    color: #24130D;
    margin-bottom: 8px;
}

.lp-form input,
.lp-form select,
.lp-form textarea {
    width: 100%;
    min-height: 52px;
    border: 1px solid rgba(121, 82, 70, 0.20);
    border-radius: 13px;
    padding: 0 15px;
    font: inherit;
    background: #FFF8F0;
    color: #24130D;
    outline: none;
}

.lp-form textarea {
    min-height: 116px;
    padding-top: 14px;
    resize: vertical;
}

.lp-form input:focus,
.lp-form select:focus,
.lp-form textarea:focus {
    border-color: #A85D25;
    box-shadow: 0 0 0 4px rgba(168, 93, 37, 0.12);
}

.lp-form small {
    display: block;
    color: #795246;
    margin-top: 12px;
    line-height: 1.4;
}

.contacto-main {
    padding-top: 44px;
}

.contacto-medios {
    background: #FFFFFF;
    padding-top: 10px;
}

.contacto-medios-wrap {
    text-align: center;
    padding-bottom: 22px;
}

.contacto-medios-wrap h2 {
    font-size: clamp(30px, 4vw, 42px);
    line-height: 1.05;
    color: #24130D;
    margin-bottom: 10px;
}

.contacto-medios-wrap p {
    color: #5A463E;
    font-size: 18px;
    margin-bottom: 26px;
}

.contacto-medios-buttons {
    display: flex;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
}

.contacto-medio-btn {
    min-height: 52px;
    min-width: 190px;
    padding: 0 22px;
    border-radius: 999px;
    text-decoration: none;
    color: #FFFFFF;
    font-size: 16px;
    font-weight: 900;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.contacto-medio-instagram {
    background: linear-gradient(135deg, #D62976, #F58529);
    box-shadow: 0 12px 24px rgba(214, 41, 118, 0.28);
}


.contacto-medio-whatsapp {
    background: linear-gradient(135deg, #25D366, #159947);
    box-shadow: 0 12px 24px rgba(37, 211, 102, 0.28);
}

.contacto-medio-btn:hover {
    transform: translateY(-2px);
}

/* FAQ */
.lp-faq {
    background: #FFFFFF;
}

.lp-faq-list {
    max-width: 900px;
    margin: 0 auto;
    display: grid;
    gap: 14px;
}

.lp-faq details {
    border-radius: 18px;
    background: #FFF8F0;
    border: 1px solid rgba(121, 82, 70, 0.10);
    padding: 20px 22px;
}

.lp-faq summary {
    cursor: pointer;
    font-size: 18px;
    font-weight: 900;
    color: #24130D;
}

.lp-faq details p {
    color: #514138;
    line-height: 1.5;
    margin-top: 12px;
}

/* CTA final */
.lp-final-cta {
    padding: 90px 0;
    text-align: center;
    background: linear-gradient(135deg, #7A3511, #C87938);
    color: #FFFFFF;
}

.lp-final-cta h2,
.lp-final-cta p {
    color: #FFFFFF;
}

.lp-final-cta p {
    margin-bottom: 26px;
    font-size: 20px;
}

/* Responsive */
@media (max-width: 1050px) {
    .lp-hero-grid,
    .lp-split,
    .lp-offer-grid {
        grid-template-columns: 1fr;
    }

    .lp-hero-visual {
        min-height: 480px;
    }

    .lp-card-grid,
    .lp-trust-grid,
    .lp-logo-row {
        grid-template-columns: repeat(2, 1fr);
    }

    .lp-process {
        grid-template-columns: 1fr;
    }

    .lp-process-line {
        width: 3px;
        height: 40px;
        margin: 0 auto;
        background: linear-gradient(180deg, #C87938, transparent);
    }
}

@media (max-width: 760px) {
    .main-header {
        position: sticky;
        padding: 14px 18px;
        flex-wrap: wrap;
    }

    .navbar {
        order: 3;
        width: 100%;
    }

    .menu {
        width: 100%;
        gap: 16px;
        justify-content: center;
        flex-wrap: wrap;
    }

    .header-actions {
        gap: 8px;
    }

    .btn-header {
        padding: 14px 18px;
        font-size: 12px;
    }

    .lp-hero {
        padding-top: 80px;
    }

    .lp-hero h1 {
        letter-spacing: -1.3px;
    }

    .lp-hero-visual {
        min-height: 430px;
    }

    .lp-visual-card {
        inset: 50px 0 30px 0;
    }

    .lp-seal {
        width: 130px;
        height: 130px;
        font-size: 13px;
    }

    .lp-seal strong {
        font-size: 20px;
    }

    .lp-card-grid,
    .lp-testimonial-grid,
    .lp-trust-grid,
    .lp-logo-row,
    .lp-form-row {
        grid-template-columns: 1fr;
    }

    .lp-trust-grid div {
        border-right: none;
        border-bottom: 1px solid rgba(121, 82, 70, 0.14);
    }

    .lp-trust-grid div:last-child {
        border-bottom: none;
    }

    .lp-section {
        padding: 70px 0;
    }

    .lp-comparison {
        font-size: 14px;
    }

    .lp-comparison > div {
        padding: 16px;
    }

    .contacto-main {
        padding-top: 28px;
    }

    .contacto-medios-wrap p {
        font-size: 16px;
    }

    .contacto-medio-btn {
        width: 100%;
        min-width: 0;
    }
}

@media (max-width: 480px) {
    .lp-container {
        width: min(100% - 28px, 1180px);
    }

    .lp-hero-actions .lp-btn {
        width: 100%;
    }

    .lp-hero-visual {
        min-height: 390px;
    }

    .lp-tablet {
        padding: 18px;
        box-shadow: inset 0 0 0 7px #3A251C;
    }
}

/* ===== HERO NUEVO DISEÑO ===== */

.lp-hero-poliza {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

/* IMAGEN DE FONDO */
.lp-hero-bg-img {
    position: absolute;
    inset: 0;
    background: url("img/FondoPoliza.png") no-repeat center right;
    background-size: cover;
    z-index: 1;
}

/* DEGRADADO IZQUIERDO */
.lp-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        90deg,
        rgba(255,245,235,0.97) 0%,
        rgba(255,245,235,0.92) 30%,
        rgba(255,245,235,0.5) 55%,
        rgba(255,245,235,0) 80%
    );
    z-index: 2;
}

/* CONTENEDOR */
.lp-hero-container {
    position: relative;
    z-index: 3;
    width: min(1200px, 90%);
    margin: auto;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 40px;
}

/* TEXTO */
.lp-hero-left h1 {
    font-size: clamp(40px, 5vw, 70px);
    font-weight: 900;
    line-height: 1.05;
}

.lp-hero-left h1 span {
    color: #B8662C;
}

/* BADGE SUPERIOR */
.lp-badge-main {
    background: #7A3D18;
    color: #fff;
    padding: 10px 18px;
    border-radius: 999px;
    font-weight: 800;
    margin-bottom: 20px;
    display: inline-block;
}

/* BOTONES */
.lp-btn-primary {
    background: linear-gradient(135deg, #9B5422, #C87938);
    color: #fff;
    border-radius: 10px;
}

.lp-btn-outline {
    background: transparent;
    border: 2px solid #7A3D18;
}

/* FEATURES */
.lp-hero-features {
    margin-top: 30px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    text-align: center;
    gap: 10px;
    font-weight: 700;
}

/* BADGES DERECHA */
.lp-hero-badges {
    position: relative;
}

.badge-poliza {
    position: absolute;
    padding: 20px;
    color: #fff;
    font-weight: bold;
}

/* ESCUDO */
.badge.shield {
    top: 60px;
    right: 40px;
    background: linear-gradient(135deg, #8a5a2b, #c89c66);
    border-radius: 20px;
}

/* CIRCULO */
.badge.circle {
    bottom: 120px;
    right: 20px;
    width: 140px;
    height: 140px;
    border-radius: 50%;
    background: #c87032;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

/* BARRA INFERIOR */
.lp-hero-bottom {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    padding: 18px;
    background: #2b160c;
    color: #fff;
    text-align: center;
    font-weight: 600;
}

/* ======================================================
   AJUSTES HERO PÓLIZAS - DISEÑO REFERENCIA
====================================================== */

/* HERO GENERAL */
.lp-hero-poliza {
    position: relative;
    min-height: 100vh;
    padding: 130px 0 70px;
    overflow: hidden;
    display: flex;
    align-items: center;
}

/* Imagen de fondo más alejada */
.lp-hero-bg-img {
    position: absolute;
    inset: 0;
    background-image: url("img/FondoPoliza.png");
    background-repeat: no-repeat;
    background-size: cover;

    /* Mueve la imagen hacia la derecha para alejar el personaje del texto */
    background-position: 90% center;

    z-index: 1;
}

/* Degradado más fuerte a la izquierda */
.lp-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        90deg,
        rgba(255, 247, 238, 0.98) 0%,
        rgba(255, 247, 238, 0.95) 24%,
        rgba(255, 247, 238, 0.74) 43%,
        rgba(255, 247, 238, 0.28) 62%,
        rgba(255, 247, 238, 0.04) 82%,
        rgba(255, 247, 238, 0) 100%
    );
    z-index: 2;
}

/* Contenedor pegado al margen izquierdo */
.lp-hero-container {
    position: relative;
    z-index: 3;
    width: 100%;
    max-width: none;
    margin: 0;
    padding-left: 58px;
    padding-right: 58px;

    display: grid;
    grid-template-columns: minmax(420px, 620px) 1fr;
    align-items: center;
    gap: 40px;
}

/* Texto izquierda */
.lp-hero-left {
    max-width: 620px;
    margin-left: 0;
}

.lp-hero-left h1 {
    font-size: clamp(46px, 5.3vw, 76px);
    line-height: 0.98;
    letter-spacing: -2.4px;
    font-weight: 950;
    color: #24130d;
    margin-bottom: 22px;
}

.lp-hero-left h1 span {
    color: #bd642b;
}

.lp-hero-text {
    max-width: 560px;
    font-size: 19px;
    line-height: 1.45;
    color: #31241e;
    margin-bottom: 26px;
}

/* Badge superior izquierdo */
.lp-badge-main {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, #7b3513, #a95b25);
    color: #ffffff;
    padding: 11px 19px;
    border-radius: 999px;
    font-size: 15px;
    font-weight: 900;
    letter-spacing: 0.2px;
    box-shadow: 0 12px 26px rgba(123, 53, 19, 0.26);
    margin-bottom: 26px;
}

/* Botones */
.lp-hero-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 34px;
}

.lp-btn-primary {
    background: linear-gradient(135deg, #8e4619, #bd642b);
    color: #ffffff;
    border-radius: 12px;
    box-shadow: 0 14px 28px rgba(142, 70, 25, 0.28);
}

.lp-btn-outline {
    background: rgba(255, 255, 255, 0.42);
    color: #4b2514;
    border: 1.7px solid rgba(75, 37, 20, 0.72);
    border-radius: 12px;
    backdrop-filter: blur(6px);
}

/* Beneficios inferiores del hero */
.lp-hero-features {
    max-width: 610px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    margin-top: 26px;
}

.lp-hero-features div {
    text-align: center;
    padding: 0 14px;
    font-size: 14px;
    line-height: 1.18;
    font-weight: 900;
    color: #24130d;
    border-right: 1px solid rgba(121, 82, 70, 0.22);
}

.lp-hero-features div:last-child {
    border-right: none;
}


/* Barra inferior */
.lp-hero-bottom {
    position: absolute;
    left: 0;
    bottom: 0;
    z-index: 5;
    width: 100%;
    padding: 18px 58px;
    background: linear-gradient(90deg, #31180d, #67331b);
    color: #ffffff;
    font-size: 18px;
    font-weight: 500;
    text-align: center;
}

.lp-hero-bottom strong {
    color: #ffd09f;
}

/* ======================================================
   RESPONSIVE
====================================================== */

@media (max-width: 1100px) {
    .lp-hero-container {
        grid-template-columns: 1fr;
        padding-left: 34px;
        padding-right: 34px;
    }

    .lp-hero-bg-img {
        background-position: 66% center;
    }

    .lp-hero-badges {
        top: 110px;
        right: 28px;
        transform: scale(0.88);
        transform-origin: top right;
    }

    .lp-hero-left {
        max-width: 590px;
    }
}

@media (max-width: 760px) {
    .lp-hero-poliza {
        padding-top: 120px;
        padding-bottom: 110px;
        min-height: auto;
    }

    .lp-hero-container {
        padding-left: 22px;
        padding-right: 22px;
    }

    .lp-hero-bg-img {
        background-position: 70% center;
        opacity: 0.48;
    }

    .lp-hero-overlay {
        background: linear-gradient(
            90deg,
            rgba(255, 247, 238, 0.98) 0%,
            rgba(255, 247, 238, 0.92) 58%,
            rgba(255, 247, 238, 0.65) 100%
        );
    }

    .lp-hero-badges {
        position: relative;
        top: auto;
        right: auto;
        margin-top: 26px;
        transform: none;
        justify-content: flex-start;
    }

    .lp-premium-badge {
        width: 116px;
        min-height: 116px;
    }

    .lp-hero-features {
        grid-template-columns: repeat(2, 1fr);
        gap: 18px 0;
    }

    .lp-hero-features div:nth-child(2) {
        border-right: none;
    }

    .lp-hero-bottom {
        padding: 16px 22px;
        font-size: 15px;
    }
}

@media (max-width: 480px) {
    .lp-hero-left h1 {
        font-size: 42px;
    }

    .lp-hero-actions {
        flex-direction: column;
    }

    .lp-hero-actions .lp-btn {
        width: 100%;
    }

    .lp-hero-badges {
        gap: 12px;
    }

    .lp-premium-badge {
        width: 104px;
        min-height: 104px;
    }

    .lp-premium-badge strong {
        font-size: 20px;
    }

    .lp-badge-hours strong {
        font-size: 24px;
    }
}

/* RESPONSIVE */
@media (max-width: 900px) {
    .problema-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .problema-img img {
        max-width: 320px;
        margin: auto;
    }

    .problema-list li {
        justify-content: center;
    }
}

/* =========================
PROBLEMA FULL IMAGE + FADE
========================= */

.problema-section {
    position: relative;
    padding: 110px 0;
    overflow: hidden;
}

/* IMAGEN IZQUIERDA */
.problema-bg {
    position: absolute;
    inset: 0;

    background-image: url("img/OsoIngeniero.png");
    background-repeat: no-repeat;   /* 🔴 CLAVE (evita repetición) */
    background-size: contain;       /* 🔴 mantiene una sola imagen */
    background-position: left center;

    z-index: 1;
}


/* DIFUMINADO HACIA LA DERECHA */
.problema-bg::after {
    content: "";
    position: absolute;
    inset: 0;

    background: linear-gradient(
        90deg,
        rgba(255,245,235,0.0) 0%,
        rgba(255,245,235,0.3) 30%,
        rgba(255,245,235,0.75) 55%,
        rgba(255,245,235,0.95) 75%,
        rgba(255,245,235,1) 100%
    );
}

/* CONTENEDOR */
.problema-container {
    position: relative;
    z-index: 2;
    width: min(1200px, 90%);
    margin: auto;

    display: flex;
    justify-content: flex-end;
}

/* BLOQUE DE TEXTO */


/* BADGE */
.problema-badge {
    display: inline-block;
    background: #C43D2C;
    color: #fff;
    padding: 9px 18px;
    border-radius: 999px;
    font-weight: 900;
    font-size: 14px;
    margin-bottom: 20px;
}

/* TITULO */
.problema-content h2 {
    font-size: clamp(44px, 5vw, 72px);
    font-weight: 950;
    line-height: 1.02;
    color: #24130D;
    margin-bottom: 26px;
}

.problema-content h2 span {
    color: #C87938;
}

/* LISTA */
.problema-list {
    list-style: none;
    display: grid;
    gap: 16px;
}

.problema-list li {
    font-size: 18px;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 12px;
    color: #2A1710;
}

/* ICONO X */
.problema-list li::before {
    content: "✖";
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #C43D2C;
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
}

/* RESPONSIVE */
@media (max-width: 900px) {

    .problema-section {
        padding: 80px 20px;
    }

    .problema-bg {
        background-position: center;
    }

    .problema-bg::after {
        background: rgba(255,245,235,0.9);
    }

    .problema-container {
        justify-content: center;
        text-align: center;
    }

    .problema-list li {
        justify-content: center;
    }
}

/* =====================================================
NAMESPACE SEGURO ESCOLAR
===================================================== */
.seguro-escolar {
    font-family: Arial, sans-serif;
    background: #FFF7EE;
  color: #23140f;
}

.seguro-escolar-container {
    width: min(1220px, 92%);
  margin: auto;
}

/* HERO */
.seguro-escolar-hero {
    position: relative;
    min-height: 1020px;
    padding: 170px 0 210px;
    background: #ECE4D7 url("img/FondoEscolar.png") 76% center / cover no-repeat;
    overflow: hidden;
}

.seguro-escolar-hero .seguro-escolar-container {
    width: 100%;
    margin: 0;
}

.seguro-escolar-hero-overlay {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 8% 26%, rgba(255, 247, 234, 0.9), rgba(255, 247, 234, 0.62) 30%, rgba(255, 247, 234, 0) 52%),
        linear-gradient(90deg, rgba(255, 247, 234, 0.88) 0%, rgba(255, 247, 234, 0.72) 26%, rgba(255, 247, 234, 0.24) 43%, rgba(255, 247, 234, 0) 57%);
    z-index: 1;
}

.seguro-escolar-hero-content {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    min-height: 600px;
    padding: 0 46px;
}

.seguro-escolar-copy {
    max-width: 660px;
    padding-left: 0;
    animation: fadeUp 0.9s ease both;
}

.seguro-escolar-copy h1 {
    font-size: clamp(44px, 5vw, 76px);
    line-height: 0.95;
    letter-spacing: -1.8px;
    font-weight: 900;
    color: #28160f;
    margin-bottom: 18px;
}

.seguro-escolar-copy h1 span {
    color: #CB7A3D;
}

.seguro-escolar-copy p {
    max-width: 620px;
    font-size: clamp(21px, 1.9vw, 36px);
    line-height: 1.25;
    color: #4B4B4B;
    margin-bottom: 26px;
}

/* BOTONES */
.se-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 62px;
    padding: 0 28px;
    border-radius: 12px;
    font-weight: 800;
    font-size: 18px;
  text-decoration: none;
    transition: all 0.3s ease;
}

.se-btn-primary {
    background: linear-gradient(135deg, #C97435, #B9652D);
  color: #fff;
    box-shadow: 0 12px 30px rgba(185, 101, 45, 0.3);
}

.se-btn-outline {
    border: 2px solid #7A5139;
    color: #3A241A;
    background: rgba(255, 255, 255, 0.72);
}

.se-btn:hover {
    transform: translateY(-2px);
}

.seguro-escolar-buttons {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
    margin: 26px 0 0;
}

/* FEATURES */
.seguro-escolar-features {
  display: grid;
    grid-template-columns: repeat(4, minmax(120px, 1fr));
    gap: 14px;
    max-width: 760px;
}

.seguro-escolar-feature-item {
    background: rgba(248, 230, 206, 0.72);
    border: 1px solid rgba(179, 135, 109, 0.35);
    border-radius: 16px;
    padding: 16px 12px;
    text-align: center;
    backdrop-filter: blur(3px);
}

.seguro-escolar-feature-item span {
    display: block;
    font-size: 34px;
    margin-bottom: 10px;
}

.seguro-escolar-feature-item p {
    margin: 0;
    font-size: 16px;
    color: #3A2A21;
    line-height: 1.18;
}

.seguro-escolar-feature-item strong {
    color: #C97435;
}

.seguro-escolar-hero-trust {
    position: absolute;
    left: 46px;
    right: 46px;
    bottom: 26px;
    z-index: 4;
    width: auto;
    min-height: 126px;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(95, 57, 36, 0.16);
    background: rgba(255, 249, 240, 0.95);
    box-shadow: 0 18px 44px rgba(35, 20, 15, 0.2);
    display: grid;
    grid-template-columns: 1.35fr repeat(4, 1fr);
}

.seguro-escolar-hero-trust-main {
    position: relative;
    padding: 22px 40px 22px 30px;
    color: #FFFFFF;
    background: radial-gradient(circle at 0% 80%, #A15A2F 0%, #5D301A 70%);
}

.seguro-escolar-hero-trust-main::after {
    content: "";
    position: absolute;
    right: -13px;
    top: 0;
    width: 26px;
    height: 100%;
    background: #5D301A;
    border-radius: 0 60px 60px 0;
}

.seguro-escolar-hero-trust-main strong {
    display: block;
    font-size: clamp(32px, 2.6vw, 44px);
    line-height: 0.98;
    margin-bottom: 10px;
}

.seguro-escolar-hero-trust-main p {
    max-width: 280px;
    font-size: 16px;
    line-height: 1.18;
    margin: 0;
}

.seguro-escolar-hero-trust-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 18px 20px;
    color: #3D2418;
    font-size: 16px;
    line-height: 1.2;
    border-left: 1px solid rgba(121, 82, 70, 0.22);
}

.seguro-escolar-hero-trust-item:nth-child(2) {
    padding-left: 32px;
}

.seguro-escolar-hero-trust-item span {
    font-size: 28px;
}

.seguro-escolar-hero-trust-item p {
    margin: 0;
}

@media (max-width: 1200px) {
    .seguro-escolar-hero {
        min-height: 950px;
        background-position: 74% center;
    }

    .seguro-escolar-hero-content {
        padding: 0 30px;
    }

    .seguro-escolar-hero-trust {
        left: 30px;
        right: 30px;
        grid-template-columns: 1fr 1fr;
        border-radius: 22px;
    }

    .seguro-escolar-hero-trust-main {
        grid-column: 1 / 3;
        border-radius: 0;
    }

    .seguro-escolar-hero-trust-main::after {
        display: none;
    }

    .seguro-escolar-hero-trust-item {
        font-size: 20px;
    }
}

@media (max-width: 900px) {
    .seguro-escolar-hero {
        min-height: auto;
        padding: 138px 0 270px;
        background-position: 73% center;
        background-size: cover;
    }

    .seguro-escolar-hero-content {
        padding: 0 20px;
    }

    .seguro-escolar-copy h1 {
        font-size: clamp(38px, 10vw, 56px);
    }

    .seguro-escolar-copy p {
        font-size: 18px;
        max-width: 560px;
    }

    .seguro-escolar-features {
        grid-template-columns: repeat(2, minmax(130px, 1fr));
    }

    .seguro-escolar-hero-trust {
        left: 16px;
        right: 16px;
        width: auto;
        bottom: 18px;
    }

    .seguro-escolar-hero-trust-main strong {
        font-size: clamp(30px, 7vw, 40px);
    }

    .seguro-escolar-hero-trust-main p {
        max-width: 100%;
        font-size: 16px;
    }
}

@media (max-width: 600px) {
    .seguro-escolar-hero {
        padding: 120px 0 360px;
        background-position: 76% center;
        background-size: cover;
    }

    .seguro-escolar-copy h1 {
        letter-spacing: -1px;
    }

    .seguro-escolar-copy p {
        font-size: 17px;
    }

    .seguro-escolar-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .se-btn {
        width: 100%;
        font-size: 17px;
    }

    .seguro-escolar-hero-trust {
        grid-template-columns: 1fr;
    }

    .seguro-escolar-hero-trust-main {
        grid-column: auto;
    }

    .seguro-escolar-hero-trust-item {
        border-left: none;
        border-top: 1px solid rgba(121, 82, 70, 0.2);
        font-size: 15px;
    }
}

/* CONFIANZA */
.seguro-escolar-confianza {
  background: #fff;
  padding: 40px 0;
}

.seguro-escolar-confianza-grid {
  display: grid;
  grid-template-columns: repeat(5,1fr);
}

/* PROBLEMA */
.seguro-escolar-problema {
    padding: 68px 0;
    background: #F2F4F8;
}

.seguro-escolar-problema .seguro-escolar-container {
    width: min(1420px, 99%);
}

.seguro-escolar-problema-layout {
    display: grid;
    grid-template-columns: minmax(0, 65.8%) minmax(330px, 34.2%);
    gap: 12px;
    align-items: stretch;
}

.seguro-escolar-beneficios-panel {
    background: #FFFFFF;
    border: 1px solid #E6EAF0;
    border-radius: 16px;
    box-shadow: 0 8px 18px rgba(15, 33, 62, 0.07);
    padding: 14px 14px 16px;
    height: 100%;
}

.seguro-escolar-beneficios-head {
    text-align: center;
    margin-bottom: 12px;
}

.seguro-escolar-beneficios-head h2 {
    position: relative;
    display: inline-block;
    color: #0E2A59;
    font-size: clamp(24px, 2vw, 38px);
    line-height: 1.05;
    font-weight: 900;
    margin-bottom: 6px;
    padding: 0 72px;
}

.seguro-escolar-beneficios-head h2::before,
.seguro-escolar-beneficios-head h2::after {
    content: "";
    position: absolute;
    top: 50%;
    width: 52px;
    height: 2px;
    background: #DE7A46;
    transform: translateY(-50%);
}

.seguro-escolar-beneficios-head h2::before {
    left: 0;
}

.seguro-escolar-beneficios-head h2::after {
    right: 0;
}

.seguro-escolar-beneficios-head p {
    color: #2F3B52;
    font-size: 15px;
    font-weight: 500;
}

.seguro-escolar-beneficios-image {
    width: 100%;
    display: block;
    border-radius: 12px;
    margin-bottom: 4px;
}

.seguro-escolar-beneficios-textos {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 10px;
    margin-top: -2px;
}

.seguro-escolar-beneficios-textos article {
    text-align: center;
    padding: 0 4px;
}

.seguro-escolar-beneficios-textos strong {
    display: block;
    color: #0E2A59;
    font-size: 14px;
    line-height: 1.2;
    margin-bottom: 3px;
}

.seguro-escolar-beneficios-textos p {
    color: #3A465A;
    font-size: 12px;
    line-height: 1.28;
}

.seguro-escolar-video-panel {
    background: linear-gradient(180deg, #062F5F 0%, #042750 52%, #052447 100%);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 12px 26px rgba(7, 26, 51, 0.25);
    padding: 14px;
    color: #FFFFFF;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.seguro-escolar-video-panel h3 {
    text-align: center;
    font-size: clamp(17px, 1.7vw, 26px);
    line-height: 1.12;
    font-weight: 800;
    margin-bottom: 8px;
}

.seguro-escolar-video-panel h3 span {
    color: #FD8E45;
}

.seguro-escolar-video-wrap {
    position: relative;
    width: 100%;
    padding-top: 56.25%;
    border-radius: 12px;
    overflow: hidden;
    background: #02152E;
    margin-bottom: 6px;
}

.seguro-escolar-video-wrap iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.seguro-escolar-video-btn {
    margin: 0 auto;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 0 22px;
    border-radius: 999px;
    background: linear-gradient(135deg, #F18A46, #D96C2F);
    color: #FFFFFF;
    font-size: 14px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.2px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.seguro-escolar-video-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(217, 108, 47, 0.3);
}

@media (max-width: 980px) {
    .seguro-escolar-problema-layout {
        grid-template-columns: 1fr;
    }

    .seguro-escolar-problema .seguro-escolar-container {
        width: min(900px, 95%);
    }

    .seguro-escolar-beneficios-textos {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .seguro-escolar-beneficios-head p {
        font-size: 16px;
    }
}

@media (max-width: 560px) {
    .seguro-escolar-problema {
        padding: 56px 0;
    }

    .seguro-escolar-beneficios-panel,
    .seguro-escolar-video-panel {
        padding: 14px;
        border-radius: 14px;
    }

    .seguro-escolar-beneficios-head h2 {
        padding: 0 42px;
    }

    .seguro-escolar-beneficios-head h2::before,
    .seguro-escolar-beneficios-head h2::after {
        width: 28px;
    }

    .seguro-escolar-beneficios-textos {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px 8px;
    }

    .seguro-escolar-beneficios-textos strong {
        font-size: 14px;
    }

    .seguro-escolar-beneficios-textos p {
        font-size: 12px;
    }

    .seguro-escolar-video-btn {
        width: 100%;
        font-size: 14px;
    }
}

/* SOLUCION */
.seguro-escolar-solucion {
    padding: 76px 0;
    background: #F2F5FA;
}

.seguro-escolar-solucion .seguro-escolar-container {
    width: min(1380px, 95%);
}

.seguro-escolar-how-box {
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid #DCE3ED;
    background: linear-gradient(180deg, #EEF3FA 0%, #E5EDF7 100%);
    box-shadow: 0 14px 34px rgba(16, 43, 80, 0.12);
}

.seguro-escolar-how-head {
    text-align: center;
    padding: 20px 18px 8px;
}

.seguro-escolar-how-head p {
    color: #D4763A;
    font-size: 16px;
    font-weight: 900;
    letter-spacing: 1px;
    margin-bottom: 6px;
}

.seguro-escolar-how-head h2 {
    color: #0D2A59;
    font-size: clamp(28px, 2.3vw, 40px);
    line-height: 1.04;
    font-weight: 900;
}

.seguro-escolar-how-main {
    display: grid;
    grid-template-columns: minmax(0, 2.45fr) minmax(320px, 1.25fr);
    align-items: end;
    gap: 18px;
    padding: 0 18px 0 24px;
}

.seguro-escolar-how-side {
    width: 100%;
    object-fit: contain;
    align-self: end;
}

.seguro-escolar-how-left {
    display: none;
}

.seguro-escolar-how-right {
    order: 2;
    max-width: 500px;
    justify-self: end;
}

.seguro-escolar-how-steps {
    order: 1;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    align-items: start;
    position: relative;
    padding: 6px 6px 8px;
}

.seguro-escolar-how-step {
    text-align: center;
    position: relative;
    padding: 0 6px;
}

.seguro-escolar-how-step:not(:last-child)::after {
    content: "➜";
    position: absolute;
    top: 66px;
    right: -15px;
    color: #1A4C8D;
    font-size: 30px;
    line-height: 1;
}

.seguro-escolar-how-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #FFFFFF;
    color: #0D2A59;
    font-size: 25px;
    font-weight: 900;
    margin-bottom: 10px;
    box-shadow: 0 7px 16px rgba(17, 52, 97, 0.15);
}

.seguro-escolar-how-icon {
    width: 110px;
    height: 110px;
    margin: 0 auto 12px;
    border-radius: 50%;
    border: 6px solid rgba(255, 255, 255, 0.85);
    background: radial-gradient(circle at 30% 30%, #FFFFFF, #E1EAF5);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 46px;
}

.seguro-escolar-how-step h3 {
    color: #0D2A59;
    font-size: clamp(19px, 1.45vw, 25px);
    line-height: 1.08;
    font-weight: 900;
    margin-bottom: 7px;
}

.seguro-escolar-how-step p {
    color: #2D466A;
    font-size: clamp(13px, 1vw, 16px);
    line-height: 1.3;
}

.seguro-escolar-how-footer {
    margin-top: 8px;
    background: #052E66;
    color: #FFFFFF;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 0;
    padding: 14px 8px;
}

.seguro-escolar-how-footer div {
    padding: 0 14px;
}

.seguro-escolar-how-footer div:not(:last-child) {
    border-right: 1px solid rgba(255, 255, 255, 0.25);
}

.seguro-escolar-how-footer strong {
    display: block;
    font-size: 14px;
    font-weight: 800;
    margin-bottom: 5px;
}

.seguro-escolar-how-footer p {
    font-size: 12px;
    line-height: 1.28;
    opacity: 0.92;
}

@media (max-width: 1100px) {
    .seguro-escolar-how-main {
        grid-template-columns: 1fr;
        gap: 14px;
        padding: 0 14px;
    }

    .seguro-escolar-how-side {
        max-width: 320px;
        margin: 0 auto;
    }

    .seguro-escolar-how-left,
    .seguro-escolar-how-right {
        max-width: 320px;
        justify-self: center;
    }

    .seguro-escolar-how-right {
        order: 2;
    }

    .seguro-escolar-how-steps {
        order: 1;
    }

    .seguro-escolar-how-footer {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .seguro-escolar-how-footer div:nth-child(2),
    .seguro-escolar-how-footer div:nth-child(4) {
        border-right: none;
    }

    .seguro-escolar-how-footer div {
        padding: 10px 14px;
    }
}

@media (max-width: 760px) {
    .seguro-escolar-solucion {
        padding: 58px 0;
    }

    .seguro-escolar-how-head p {
        font-size: 14px;
    }

    .seguro-escolar-how-head h2 {
        font-size: clamp(27px, 8vw, 40px);
    }

    .seguro-escolar-how-steps {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .seguro-escolar-how-step:not(:last-child)::after {
        content: "↓";
        top: auto;
        bottom: -16px;
        right: 50%;
        transform: translateX(50%);
    }

    .seguro-escolar-how-footer {
        grid-template-columns: 1fr;
    }

    .seguro-escolar-how-footer div {
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    }

    .seguro-escolar-how-footer div:last-child {
        border-bottom: none;
    }
}

/* CARDS */
.seguro-escolar-cards {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 20px;
}

.seguro-escolar-card {
  background: #fff;
  padding: 20px;
  border-radius: 12px;
}

/* PROCESO */
.seguro-escolar-steps {
  display: flex;
  gap: 20px;
}

.seguro-escolar-step {
  background: #fff;
  padding: 20px;
  border-radius: 10px;
}

/* DIFERENCIADOR */
.seguro-escolar-diferenciador {
    background: transparent;
    padding: 0;
    line-height: 0;
}

.seguro-escolar-tabla {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.seguro-escolar-diferenciador .seguro-escolar-container {
    width: 100%;
}

.seguro-escolar-diferenciador-image {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 0;
    box-shadow: none;
}

@media (max-width: 760px) {
    .seguro-escolar-diferenciador {
        padding: 0;
    }

    .seguro-escolar-diferenciador .seguro-escolar-container {
        width: 100%;
    }

    .seguro-escolar-diferenciador-image {
        border-radius: 0;
    }
}

/* TESTIMONIOS */
.seguro-escolar-testimonial {
  background: #fff;
  padding: 20px;
  border-radius: 10px;
}

/* FORM */
.seguro-escolar-formulario input,
.seguro-escolar-formulario textarea {
  width: 100%;
  margin-bottom: 10px;
  padding: 10px;
}

/* CTA */
.seguro-escolar-cta {
  background: #A85D25;
  color: white;
  text-align: center;
  padding: 60px;
}

/* =====================================================
TODO RIESGO - INSTITUCIONES EDUCATIVAS
===================================================== */
.tr-page {
    background: #FFEEDC;
    color: #23140f;
}

.tr-page .main-header,
.tr-page .main-header.scrolled {
    background: #FFFFFF;
}

.tr-container {
    width: min(1220px, calc(100% - 40px));
    margin: 0 auto;
}

.tr-hero {
    padding: 120px;
    position: relative;
    min-height: calc(100vh - 128px);
    background: url("img/FondoEscolar.png") center / cover no-repeat;
    overflow: hidden;
    display: flex;
    align-items: center;
}

.tr-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, rgba(1, 2, 0, 0.84) 0%, rgba(43, 28, 21, 0.66) 48%, rgba(43, 28, 21, 0.38) 100%);
}

.tr-hero-grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
    align-items: center;
    padding: 32px 0;
}

.tr-hero-copy {
    color: #FFFFFF;
}

.tr-badge {
    display: inline-block;
    background: rgba(121, 82, 70, 0.36);
    border: 1px solid rgba(255, 255, 255, 0.42);
    padding: 9px 14px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 800;
    margin-bottom: 16px;
}

.tr-hero h1 {
    font-size: clamp(34px, 4.6vw, 64px);
    line-height: 0.96;
    font-weight: 900;
    margin-bottom: 18px;
}

.tr-lead {
    font-size: clamp(17px, 1.6vw, 24px);
    line-height: 1.35;
    margin-bottom: 18px;
    color: #F9EFE4;
}

.tr-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 56px;
    padding: 0 24px;
    border-radius: 12px;
    text-decoration: none;
    font-size: 15px;
    font-weight: 900;
}

.tr-btn-primary {
    background: linear-gradient(135deg, #795246, #D39267);
    color: #FFFFFF;
    box-shadow: 0 14px 30px rgba(121, 82, 70, 0.34);
}

.tr-hero-copy small {
    display: block;
    margin-top: 12px;
    color: #F4E7DA;
    font-size: 14px;
}

.tr-vsl-wrap {
    position: relative;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 20px 44px rgba(0, 0, 0, 0.35);
    background: #010200;
    padding: 0;
    aspect-ratio: 16 / 9;
}

.tr-vsl-wrap iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.tr-vimeo-wrap {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    padding: 0;
}

.tr-vimeo-wrap iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.tr-vsl-play {
    position: absolute;
    right: 12px;
    bottom: 12px;
    min-height: 38px;
    padding: 0 14px;
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.64);
    color: #FFFFFF;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    font-weight: 900;
}

.tr-trust {
    background: #FFFFFF;
    padding: 22px 0;
    border-bottom: 1px solid rgba(30, 36, 48, 0.1);
}

.tr-trust-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
}

.tr-trust-grid article {
    background: #FFF7EE;
    border: 1px solid rgba(121, 82, 70, 0.2);
    border-radius: 14px;
    padding: 14px;
    font-weight: 800;
    text-align: center;
}

.tr-section {
    padding: 74px 0;
}

.tr-section h2 {
    font-size: clamp(30px, 4vw, 52px);
    line-height: 1;
    margin-bottom: 16px;
    color: #2A1710;
}

.tr-sub {
    color: #4d3d33;
    margin-bottom: 20px;
}

.tr-card-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.tr-card {
    background: #FFFFFF;
    border: 1px solid rgba(121, 82, 70, 0.2);
    border-radius: 16px;
    padding: 20px;
    box-shadow: 0 12px 28px rgba(43, 28, 21, 0.08);
}

.tr-card h3 {
    font-size: 20px;
    margin-bottom: 8px;
    color: #795246;
}

.tr-card p {
    color: #4d3d33;
    line-height: 1.45;
}

.tr-impacto {
    background: #FFF4E8;
}

.tr-impact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 22px;
    align-items: center;
}

.tr-loss-list {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.tr-loss-list li {
    background: #FFFFFF;
    border-radius: 12px;
    padding: 12px;
    border: 1px solid rgba(121, 82, 70, 0.22);
    font-weight: 700;
}

.tr-solution-hero {
    background: linear-gradient(135deg, #795246, #A96A45);
    border-radius: 22px;
    padding: 28px;
    margin-bottom: 18px;
}

.tr-solution-hero h2 {
    color: #FFFFFF;
    margin: 0;
    font-size: clamp(24px, 2.8vw, 40px);
}

.tr-hotspots {
    background: #FFFFFF;
    border: 1px solid rgba(121, 82, 70, 0.22);
    border-radius: 18px;
    padding: 22px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.tr-hotspots span {
    display: block;
    padding: 12px;
    border-radius: 12px;
    background: #FFF7EE;
    border: 1px solid rgba(121, 82, 70, 0.2);
    font-weight: 800;
    text-align: center;
}

.tr-accordion {
    display: grid;
    gap: 10px;
}

.tr-accordion details {
    background: #FFFFFF;
    border: 1px solid rgba(121, 82, 70, 0.22);
    border-radius: 12px;
    padding: 16px;
}

.tr-accordion summary {
    cursor: pointer;
    font-weight: 900;
    color: #5A2B15;
}

.tr-accordion p {
    color: #4d3d33;
    margin-top: 10px;
    line-height: 1.4;
}

.tr-timeline {
    background: #FFFFFF;
}

.tr-timeline ol {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 12px;
}

.tr-timeline li {
    position: relative;
    background: #FFF7EE;
    border: 1px solid rgba(121, 82, 70, 0.2);
    border-radius: 12px;
    padding: 18px 12px;
    text-align: center;
    font-weight: 900;
}

.tr-timeline li::before {
    content: counter(item);
    counter-increment: item;
    display: inline-flex;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    background: #795246;
    color: #FFFFFF;
    margin-bottom: 8px;
}

.tr-timeline ol {
    counter-reset: item;
}

.tr-case-grid,
.tr-video-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.tr-compare {
    display: grid;
    grid-template-columns: 1fr 1fr;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 16px 34px rgba(43, 28, 21, 0.12);
}

.tr-compare > div {
    padding: 14px;
    background: #FFFFFF;
    border-bottom: 1px solid rgba(121, 82, 70, 0.2);
    font-weight: 700;
}

.tr-compare > div:nth-child(1),
.tr-compare > div:nth-child(2) {
    font-weight: 900;
    color: #FFFFFF;
}

.tr-compare > div:nth-child(1) { background: #795246; }
.tr-compare > div:nth-child(2) { background: #A85D25; }

.tr-diagnostico {
    background: linear-gradient(180deg, #FFF4E8 0%, #FFFFFF 100%);
}

.tr-form {
    margin-top: 14px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.tr-form input,
.tr-form select,
.tr-form textarea {
    width: 100%;
    min-height: 50px;
    border: 1px solid rgba(121, 82, 70, 0.26);
    border-radius: 10px;
    padding: 0 14px;
    font: inherit;
    background: #FFFFFF;
}

.tr-form textarea {
    grid-column: 1 / 3;
    min-height: 96px;
    padding-top: 12px;
    resize: vertical;
}

.tr-form .tr-btn {
    grid-column: 1 / 3;
}

.tr-cta-final {
    background: url("img/FondoEscolar.png") center / cover no-repeat;
    position: relative;
}

.tr-cta-final::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(1, 2, 0, 0.66);
}

.tr-cta-final .tr-container {
    position: relative;
    z-index: 2;
    text-align: center;
}

.tr-cta-final h2 {
    color: #FFFFFF;
}

.tr-footer {
    background: #010200;
    color: #FFEEDC;
    padding: 32px 0;
}

.tr-footer-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    gap: 14px;
    align-items: start;
}

.tr-footer-logo {
    max-width: 160px;
}

.tr-footer a {
    color: #FFEEDC;
    text-decoration: none;
    display: block;
    margin-bottom: 6px;
}

@media (max-width: 980px) {
    .tr-hero-grid,
    .tr-impact-grid,
    .tr-card-grid,
    .tr-case-grid,
    .tr-video-grid,
    .tr-footer-grid,
    .tr-form,
    .tr-timeline ol,
    .tr-loss-list,
    .tr-hotspots {
        grid-template-columns: 1fr;
    }

    .tr-form textarea,
    .tr-form .tr-btn {
        grid-column: auto;
    }

    .tr-main {
        padding-top: 118px;
    }
}

@media (max-width: 760px) {
    .tr-main {
        padding-top: 98px;
    }

    .tr-hero {
        min-height: auto;
        padding-bottom: 70px;
    }

    .tr-hero-grid {
        gap: 16px;
    }

    .tr-btn {
        width: 100%;
    }

    .tr-section {
        padding: 58px 0;
    }
}
