:root {
    --color-primary: #1f4e79;
    --color-primary-dark: #163a59;
    --color-secondary: #2f6b99;
    --color-accent: #dbe8f4;
    --color-accent-strong: #c7daeb;
    --color-bg: #fff;
    --color-surface: #ffffff;
    --color-text: #1b2a38;
    --color-muted: #5d7286;
    --color-border: #c9d6e2;
    --shadow-soft: 0 10px 30px rgba(22, 58, 89, 0.08);
    --radius-lg: 22px;
    --radius-md: 14px;
    --radius-sm: 8px;
    --container: 1200px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    background: var(--color-bg);
    color: var(--color-text);
    line-height: 1.5;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    display: block;
    max-width: 100%;
}

.site-wrapper {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.container {
    width: min(100% - 32px, var(--container));
    margin: 0 auto;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 999;
    background: rgba(244, 247, 251, 0.96);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--color-border);
}

.header-inner {
    display: grid;
    grid-template-columns: 280px 1fr auto;
    gap: 20px;
    align-items: center;
    padding: 0px 0;
}

.brand-link {
    display: inline-flex;
    align-items: center;
    gap: 12px;
}

.brand-logo {
    width: 250px;
    /*height: 52px;*/
    object-fit: contain;
    padding: 6px;
    /*border: 1px solid var(--color-border);
    border-radius: 12px;*/
    background: var(--color-surface);
}

.brand-name {
    font-size: 1rem;
    font-weight: 700;
    color: var(--color-primary-dark);
    letter-spacing: 0.02em;
}

.main-nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    padding: 0;
    margin: 0;
}

.main-nav a {
    display: inline-block;
    padding: 12px 14px;
    border-radius: 12px;
    color: var(--color-primary-dark);
    font-weight: 600;
    transition: background-color 0.25s ease, color 0.25s ease;
}

.main-nav a:hover,
.main-nav a.active {
    background: var(--color-accent);
    color: var(--color-primary-dark);
}

.header-contact {
    display: flex;
    align-items: center;
    gap: 10px;
}

.contact-pill {
    display: inline-flex;
    align-items: center;
    min-height: 42px;
    padding: 0 14px;
    border: 1px solid var(--color-border);
    border-radius: 999px;
    background: var(--color-surface);
    color: var(--color-primary-dark);
    font-size: 0.92rem;
    font-weight: 600;
}

.contact-pill-solid {
    background: var(--color-primary);
    border-color: var(--color-primary);
    color: #ffffff;
}

.menu-toggle {
    display: none;
    width: 48px;
    height: 48px;
    border: 1px solid var(--color-border);
    border-radius: 12px;
    background: var(--color-surface);
    cursor: pointer;
    padding: 0;
}

.menu-toggle span {
    display: block;
    width: 20px;
    height: 2px;
    margin: 5px auto;
    background: var(--color-primary-dark);
}

.site-main {
    flex: 1;
}

.box-rounded,
.box-square,
.feature-card,
.stat-card,
.cta-box,
.highlight-block {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    box-shadow: var(--shadow-soft);
}

.box-rounded {
    border-radius: var(--radius-lg);
}

.box-square {
    border-radius: var(--radius-sm);
}

.section-tag {
    display: inline-block;
    padding: 8px 12px;
    border-radius: 999px;
    background: var(--color-accent);
    color: var(--color-primary-dark);
    font-size: 0.84rem;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.hero-section {
    padding: 48px 0 28px;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.35fr 0.85fr;
    gap: 24px;
    align-items: stretch;
}

.hero-content {
    padding: 42px;
}

.hero-content h1 {
    margin: 16px 0;
    font-size: clamp(2rem, 3vw, 3.6rem);
    line-height: 1.1;
    color: var(--color-primary-dark);
}

.hero-content p {
    margin: 0;
    max-width: 64ch;
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--color-muted);
}

.hero-actions,
.cta-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 28px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 22px;
    border-radius: 12px;
    font-weight: 700;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.btn:hover {
    transform: translateY(-1px);
    opacity: 0.96;
}

.btn-primary {
    background: var(--color-primary);
    color: #ffffff;
}

.btn-secondary {
    background: transparent;
    color: var(--color-primary-dark);
    border: 1px solid var(--color-border);
}

.hero-aside {
    padding: 18px;
    display: grid;
    gap: 16px;
    background: linear-gradient(180deg, #eef4fa 0%, #ffffff 100%);
}

.hero-card {
    padding: 24px;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.82);
}

.hero-card h2 {
    margin-top: 0;
    margin-bottom: 10px;
    color: var(--color-primary-dark);
    font-size: 1.35rem;
}

.hero-card p {
    margin: 0;
    color: var(--color-muted);
    line-height: 1.7;
}

.accent-card {
    background: var(--color-primary);
    border-color: var(--color-primary);
}

.accent-card h2,
.accent-card p {
    color: #ffffff;
}

.features-section,
.highlight-section,
.cta-section {
    padding: 28px 0 36px;
}

.section-heading {
    margin-bottom: 20px;
}

.section-heading h2 {
    margin: 14px 0 10px;
    color: var(--color-primary-dark);
    font-size: clamp(1.7rem, 2vw, 2.4rem);
}

.section-intro {
    margin: 0;
    max-width: 70ch;
    color: var(--color-muted);
    line-height: 1.75;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.feature-card {
    padding: 28px;
}

.feature-card h3 {
    margin-top: 0;
    margin-bottom: 12px;
    color: var(--color-primary-dark);
    font-size: 1.25rem;
}

.feature-card p {
    margin: 0;
    color: var(--color-muted);
    line-height: 1.7;
}

.highlight-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    align-items: stretch;
}

.highlight-block {
    padding: 30px;
}

.highlight-block h2 {
    margin: 16px 0 12px;
    color: var(--color-primary-dark);
    font-size: clamp(1.6rem, 2vw, 2.2rem);
}

.highlight-block p {
    margin: 0;
    color: var(--color-muted);
    line-height: 1.75;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.stat-card {
    padding: 22px;
}

.stat-card strong {
    display: block;
    margin-bottom: 8px;
    color: var(--color-primary-dark);
    font-size: 1.1rem;
}

.stat-card span {
    color: var(--color-muted);
    line-height: 1.6;
}

.cta-box {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    padding: 32px;
    border-radius: 10px;
}

.cta-box h2 {
    margin: 14px 0 10px;
    color: var(--color-primary-dark);
    font-size: clamp(1.6rem, 2vw, 2.2rem);
}

.cta-box p {
    margin: 0;
    color: var(--color-muted);
    line-height: 1.7;
}

.site-footer {
    margin-top: 30px;
    background: var(--color-primary-dark);
    color: #e8f0f7;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr;
    gap: 24px;
    padding: 38px 0 20px;
}

.site-footer h3,
.site-footer h4 {
    margin-top: 0;
    margin-bottom: 14px;
    color: #ffffff;
}

.site-footer p,
.site-footer a,
.site-footer li {
    color: #d9e7f2;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.14);
    padding: 16px 0 24px;
    font-size: 0.94rem;
}

@media (max-width: 1100px) {
    .header-inner {
        grid-template-columns: 1fr auto auto;
    }

    .main-nav {
        display: none;
        grid-column: 1 / -1;
        order: 4;
    }

    .main-nav.open {
        display: block;
    }

    .main-nav ul {
        flex-direction: column;
        align-items: stretch;
        padding-top: 10px;
    }

    .header-contact {
        display: none;
    }

    .menu-toggle {
        display: inline-block;
    }

    .hero-grid,
    .features-grid,
    .highlight-grid,
    .footer-grid,
    .cta-box {
        grid-template-columns: 1fr;
    }

    .cta-box {
        align-items: flex-start;
    }
}

@media (max-width: 700px) {
    .hero-content,
    .feature-card,
    .highlight-block,
    .stat-card,
    .cta-box {
        padding: 24px;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }

    .brand-name {
        display: none;
    }
}

/* =========================
   BANNER SLIDER
========================= */

.banner-slider {
    position: relative;
    width: 100%;
    height: 460px;
    overflow: hidden;
    background: #163a59;
}

.banner-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    z-index: 1;
}

.banner-slide.active {
    opacity: 1;
    z-index: 2;
}

.banner-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.banner-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(22, 58, 89, 0.30) 0%,
        rgba(22, 58, 89, 0.62) 100%
    );
    display: flex;
    align-items: center;
}

.banner-overlay .container {
    color: #ffffff;
}

.banner-overlay h2 {
    margin: 0 0 12px;
    font-size: clamp(2rem, 3vw, 3rem);
    line-height: 1.15;
    font-weight: 700;
}

.banner-overlay p {
    margin: 0;
    max-width: 620px;
    font-size: 1.05rem;
    line-height: 1.75;
    opacity: 0.96;
}

/* Flechas */
.banner-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 46px;
    height: 46px;
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.14);
    backdrop-filter: blur(6px);
    color: #ffffff;
    cursor: pointer;
    z-index: 5;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}

.banner-arrow span {
    font-size: 1.2rem;
    line-height: 1;
}

.banner-arrow:hover {
    background: rgba(255, 255, 255, 0.22);
    border-color: rgba(255, 255, 255, 0.42);
}

.banner-arrow:active {
    transform: translateY(-50%) scale(0.97);
}

.banner-arrow-prev {
    left: 24px;
}

.banner-arrow-next {
    right: 24px;
}

/* Indicadores */
.banner-indicators {
    position: absolute;
    left: 50%;
    bottom: 24px;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 10px;
    z-index: 5;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(22, 58, 89, 0.28);
    backdrop-filter: blur(6px);
}

.banner-indicator {
    width: 12px;
    height: 12px;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, 0.45);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.35);
    cursor: pointer;
    transition: transform 0.25s ease, background 0.25s ease, border-color 0.25s ease;
}

.banner-indicator:hover {
    background: rgba(255, 255, 255, 0.6);
}

.banner-indicator.active {
    background: #ffffff;
    border-color: #ffffff;
    transform: scale(1.15);
}

/* Responsive */
@media (max-width: 900px) {
    .banner-slider {
        height: 380px;
    }

    .banner-arrow-prev {
        left: 14px;
    }

    .banner-arrow-next {
        right: 14px;
    }
}

@media (max-width: 768px) {
    .banner-slider {
        height: 300px;
    }

    .banner-overlay h2 {
        font-size: 1.6rem;
    }

    .banner-overlay p {
        font-size: 0.96rem;
        line-height: 1.6;
    }

    .banner-arrow {
        width: 40px;
        height: 40px;
    }

    .banner-indicators {
        bottom: 16px;
        gap: 8px;
        padding: 7px 12px;
    }

    .banner-indicator {
        width: 10px;
        height: 10px;
    }
}

/* =========================
   QUIÉNES SOMOS
========================= */

.inner-page-section {
    padding: 48px 0 32px;
}

.inner-header {
    padding: 36px;
    margin-bottom: 24px;
}

.inner-header h1 {
    margin: 14px 0 10px;
    color: var(--color-primary-dark);
    font-size: clamp(1.8rem, 2.5vw, 2.6rem);
}

.inner-header p {
    margin: 0;
    max-width: 70ch;
    color: var(--color-muted);
    line-height: 1.75;
}

.about-grid {
    display: grid;
    grid-template-columns: 1.4fr 0.9fr;
    gap: 24px;
    align-items: stretch;
}

.about-text {
    padding: 32px;
}

.about-text h2 {
    margin-top: 0;
    margin-bottom: 14px;
    color: var(--color-primary-dark);
}

.about-text p {
    margin-bottom: 16px;
    color: var(--color-muted);
    line-height: 1.75;
}

.about-values {
    display: grid;
    gap: 16px;
}

.value-card {
    padding: 22px;
}

.value-card h3 {
    margin-top: 0;
    margin-bottom: 8px;
    color: var(--color-primary-dark);
}

.value-card p {
    margin: 0;
    color: var(--color-muted);
    line-height: 1.65;
}

.about-cta {
    padding: 0 0 40px;
}

/* Responsive */
@media (max-width: 900px) {
    .about-grid {
        grid-template-columns: 1fr;
    }

    .about-text,
    .value-card {
        padding: 24px;
    }
}

/* =========================
   REGISTRO
========================= */

.register-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.register-card {
    padding: 30px;
}

.register-card-head {
    margin-bottom: 22px;
}

.register-card-head h2 {
    margin: 12px 0 10px;
    color: var(--color-primary-dark);
    font-size: 1.7rem;
    line-height: 1.25;
}

.register-card-head p {
    margin: 0;
    color: var(--color-muted);
    line-height: 1.75;
}

.register-form {
    display: grid;
    gap: 18px;
}

.form-field {
    display: grid;
    gap: 8px;
}

.form-field label {
    font-weight: 700;
    color: var(--color-primary-dark);
}

.form-field input {
    width: 100%;
    min-height: 48px;
    padding: 0 14px;
    border: 1px solid var(--color-border);
    border-radius: 12px;
    background: #ffffff;
    color: var(--color-text);
    font-size: 1rem;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-field input:focus {
    border-color: var(--color-secondary);
    box-shadow: 0 0 0 4px rgba(47, 107, 153, 0.12);
}

.form-checks {
    display: grid;
    gap: 14px;
    margin-top: 4px;
}

.check-row {
    display: grid;
    grid-template-columns: 20px 1fr;
    gap: 12px;
    align-items: start;
    color: var(--color-muted);
    line-height: 1.6;
}

.check-row input[type="checkbox"] {
    margin-top: 3px;
    width: 16px;
    height: 16px;
}

.check-row-legal {
    padding: 14px 16px;
    border: 1px solid var(--color-border);
    border-radius: 12px;
    background: rgba(219, 232, 244, 0.16);
}

.legal-link {
    display: inline-block;
    margin-left: 6px;
    color: var(--color-primary);
    font-weight: 700;
    text-decoration: underline;
}

.legal-help-text {
    margin: -2px 0 0;
    color: var(--color-muted);
    font-size: 0.94rem;
    line-height: 1.6;
}

.form-actions {
    margin-top: 6px;
}

/* Modal */
.modal-overlay {
    position: fixed;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: rgba(22, 58, 89, 0.58);
    z-index: 2000;
}

.modal-overlay.is-open {
    display: flex;
}

.legal-modal {
    position: relative;
    width: min(100%, 760px);
    background: #ffffff;
    border: 1px solid var(--color-border);
    border-radius: 18px;
    box-shadow: 0 20px 50px rgba(22, 58, 89, 0.22);
    overflow: hidden;
}

.legal-modal-content {
    padding: 30px;
}

.legal-modal-content h2 {
    margin: 14px 0 14px;
    color: var(--color-primary-dark);
    font-size: 1.6rem;
}

.legal-text-box {
    max-height: 320px;
    overflow-y: auto;
    padding: 18px;
    border: 1px solid var(--color-border);
    border-radius: 14px;
    background: #f8fbfe;
}

.legal-text-box p {
    margin-top: 0;
    margin-bottom: 14px;
    color: var(--color-muted);
    line-height: 1.75;
}

.legal-text-box p:last-child {
    margin-bottom: 0;
}

.modal-actions {
    display: flex;
    justify-content: flex-end;
    margin-top: 20px;
}

.modal-close {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 40px;
    height: 40px;
    border: 1px solid var(--color-border);
    border-radius: 999px;
    background: #ffffff;
    color: var(--color-primary-dark);
    font-size: 1.5rem;
    line-height: 1;
    cursor: pointer;
}

.modal-close:hover {
    background: var(--color-accent);
}

body.modal-open {
    overflow: hidden;
}

@media (max-width: 900px) {
    .register-grid {
        grid-template-columns: 1fr;
    }

    .register-card,
    .legal-modal-content {
        padding: 24px;
    }
}

.check-row-legal input[type="checkbox"][disabled] {
    opacity: 0.75;
    cursor: not-allowed;
}

.check-row-legal.is-accepted {
    background: rgba(219, 232, 244, 0.28);
    border-color: var(--color-secondary);
}

/* =========================
   CONTACTO
========================= */

.contact-layout {
    display: grid;
    grid-template-columns: 1.3fr 0.8fr;
    gap: 24px;
    align-items: start;
}

.contact-form-card,
.contact-info-card {
    padding: 30px;
}

.contact-card-head {
    margin-bottom: 22px;
}

.contact-card-head h2,
.contact-info-card h2 {
    margin: 12px 0 10px;
    color: var(--color-primary-dark);
    font-size: 1.7rem;
    line-height: 1.25;
}

.contact-card-head p,
.contact-info-card p {
    margin: 0;
    color: var(--color-muted);
    line-height: 1.75;
}

.contact-form {
    display: grid;
    gap: 18px;
}

.contact-fields-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

.form-field select,
.form-field textarea {
    width: 100%;
    border: 1px solid var(--color-border);
    border-radius: 12px;
    background: #ffffff;
    color: var(--color-text);
    font-size: 1rem;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-field select {
    min-height: 48px;
    padding: 0 14px;
}

.form-field textarea {
    padding: 14px;
    resize: vertical;
    min-height: 130px;
    font-family: Arial, Helvetica, sans-serif;
}

.form-field select:focus,
.form-field textarea:focus {
    border-color: var(--color-secondary);
    box-shadow: 0 0 0 4px rgba(47, 107, 153, 0.12);
}

.dynamic-fields-group {
    display: grid;
    gap: 18px;
}

.is-hidden {
    display: none;
}

.contact-info-list {
    display: grid;
    gap: 16px;
    margin-top: 22px;
}

.contact-info-item {
    padding: 18px 20px;
    border: 1px solid var(--color-border);
    border-radius: 14px;
    background: rgba(219, 232, 244, 0.16);
}

.contact-info-item strong {
    display: block;
    margin-bottom: 8px;
    color: var(--color-primary-dark);
    font-size: 1.05rem;
}

.contact-info-item span {
    color: var(--color-muted);
    line-height: 1.65;
}

@media (max-width: 950px) {
    .contact-layout {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 700px) {
    .contact-fields-grid {
        grid-template-columns: 1fr;
    }

    .contact-form-card,
    .contact-info-card {
        padding: 24px;
    }
}

/* Ajuste para bloques dinámicos más largos */
.dynamic-fields-group {
    display: grid;
    gap: 18px;
}

/* Forzar ocultación de bloques dinámicos */
.dynamic-fields-group.is-hidden {
    display: none !important;
}

/* antibt */
.hp-field {
    position: absolute !important;
    left: -9999px !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
}

/* =========================
   SELECTOR REGISTRO
========================= */

.register-selector {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin: 32px 0 40px;
    flex-wrap: wrap;
}

.btn-register {
    padding: 18px 28px;
    font-size: 1.05rem;
    font-weight: 700;
    border: none;
    border-radius: 14px;
    cursor: pointer;
    transition: all 0.25s ease;
    min-width: 260px;
}

/* Azul cobalto */
.btn-centro {
    background: #2f4fb0;
    color: #ffffff;
}

.btn-centro:hover {
    background: #243e8f;
}

/* Verde farmacia */
.btn-medico {
    background: #2e8b57;
    color: #ffffff;
}

.btn-medico:hover {
    background: #256f47;
}

.register-form-wrapper {
    margin-top: 20px;
}


/* =========================
   REGISTRO - TRANSICIÓN SUAVE
========================= */

.register-form-wrapper {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transform: translateY(18px);
    transition:
        max-height 0.55s ease,
        opacity 0.35s ease,
        transform 0.35s ease;
}

.register-form-wrapper.is-visible {
    max-height: 1200px;
    opacity: 1;
    transform: translateY(0);
    margin-top: 24px;
}

.register-form-wrapper.is-hidden {
    display: block !important;
    pointer-events: none;
}

.register-selector .btn-register.active {
    transform: translateY(-2px);
    box-shadow: 0 14px 34px rgba(22, 58, 89, 0.18);
}

.btn-register {
    position: relative;
    overflow: hidden;
}

.btn-register::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(255,255,255,0.12);
    opacity: 0;
    transition: opacity 0.25s ease;
}

.btn-register:hover::after {
    opacity: 1;
}

.form-alert {
    padding: 18px 20px;
    margin: 24px 0;
    border-radius: 14px;
    border: 1px solid var(--color-border);
    background: #ffffff;
    box-shadow: var(--shadow-soft);
}

.form-alert strong {
    display: block;
    margin-bottom: 6px;
}

.form-alert p {
    margin: 0;
    line-height: 1.6;
}

.form-alert-error {
    border-color: #d98b8b;
    background: #fff7f7;
    color: #7a1f1f;
}


/* =========================
   HOME NUEVA
========================= */

.home-hero-new {
    position: relative;
    padding: 58px 0 34px;
    background:
        radial-gradient(circle at 72% 22%, rgba(30, 105, 220, 0.12), transparent 34%),
        linear-gradient(180deg, #ffffff 0%, #f5f9ff 100%);
    overflow: hidden;
}

.home-hero-new::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(31, 78, 121, 0.055) 1px, transparent 1px),
        linear-gradient(90deg, rgba(31, 78, 121, 0.055) 1px, transparent 1px);
    background-size: 42px 42px;
    opacity: 0.45;
    pointer-events: none;
}

.hero-new-grid {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1.05fr;
    gap: 42px;
    align-items: center;
}

.hero-kicker {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #1f67dc;
    font-size: 0.9rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 20px;
}

.hero-kicker-icon {
    width: 24px;
    height: 24px;
    border-radius: 999px;
    border: 2px solid #1f67dc;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
}

.hero-new-content h1 {
    margin: 0 0 22px;
    max-width: 760px;
    color: #061b49;
    font-size: clamp(2.6rem, 4.5vw, 5rem);
    line-height: 1.08;
    letter-spacing: -0.05em;
}

.hero-new-content h1 span {
    color: #ff4545;
}

.hero-new-content p {
    max-width: 660px;
    margin: 0;
    color: #52627d;
    font-size: 1.12rem;
    line-height: 1.75;
}

.hero-new-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    margin-top: 34px;
}

.hero-btn {
    min-height: 62px;
    padding: 0 26px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    gap: 18px;
    color: #ffffff;
    font-weight: 800;
    box-shadow: 0 18px 38px rgba(20, 86, 205, 0.18);
    transition: transform 0.24s ease, box-shadow 0.24s ease;
}

.hero-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 22px 44px rgba(20, 86, 205, 0.24);
}

.hero-btn span {
    font-size: 1.4rem;
}

.hero-btn-blue {
    background: linear-gradient(135deg, #0c56d9 0%, #1468f2 100%);
}

.hero-btn-red {
    background: linear-gradient(135deg, #ff3c35 0%, #ff5750 100%);
}

.hero-trust {
    margin-top: 28px;
    padding-left: 44px;
    position: relative;
    color: #52627d;
}

.hero-trust::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 2px;
    width: 28px;
    height: 28px;
    border-radius: 999px;
    border: 2px solid #1f67dc;
    color: #1f67dc;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
}

.hero-trust strong {
    display: block;
    color: #163a59;
    margin-bottom: 4px;
}

.hero-trust span {
    display: block;
    font-size: 0.95rem;
}

.hero-new-visual {
    position: relative;
    min-height: 500px;
}

.main-dashboard {
    position: absolute;
    right: 0;
    top: 52px;
    width: min(100%, 720px);
    height: 420px;
    border-radius: 28px;
    background: #ffffff;
    border: 1px solid rgba(201, 214, 226, 0.85);
    box-shadow: 0 34px 80px rgba(6, 27, 73, 0.16);
    transform: rotate(-4deg);
    overflow: hidden;
    display: grid;
    grid-template-columns: 150px 1fr;
}

.dashboard-sidebar {
    background: #08275d;
    padding: 30px 20px;
    display: grid;
    align-content: start;
    gap: 16px;
}

.dashboard-sidebar div {
    height: 16px;
    border-radius: 999px;
    background: rgba(255,255,255,0.18);
}

.dashboard-content {
    padding: 30px;
    background: linear-gradient(180deg, #ffffff 0%, #f6f9ff 100%);
}

.dashboard-top {
    height: 36px;
    border-radius: 999px;
    background: #eef4fb;
    margin-bottom: 24px;
}

.dashboard-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
    margin-bottom: 26px;
}

.dashboard-stats div {
    padding: 22px;
    border-radius: 18px;
    background: #ffffff;
    border: 1px solid #e2ebf4;
}

.dashboard-stats strong {
    display: block;
    color: #0c56d9;
    font-size: 2rem;
}

.dashboard-stats span {
    color: #52627d;
}

.dashboard-table {
    display: grid;
    gap: 14px;
}

.dashboard-table span {
    height: 42px;
    border-radius: 12px;
    background: #eef4fb;
}

.floating-card {
    position: absolute;
    padding: 20px 22px;
    border-radius: 20px;
    background: rgba(255,255,255,0.88);
    border: 1px solid #e1ebf6;
    box-shadow: 0 20px 46px rgba(6, 27, 73, 0.12);
    backdrop-filter: blur(10px);
}

.floating-card strong {
    display: block;
    color: #061b49;
    margin-bottom: 6px;
}

.floating-card span {
    color: #52627d;
    font-size: 0.94rem;
}

.card-left {
    left: 10px;
    top: 110px;
}

.card-right {
    right: 10px;
    top: 190px;
}

.card-bottom {
    left: 110px;
    bottom: 24px;
}

.home-services-strip {
    margin-top: -8px;
    padding-bottom: 32px;
    background: #f5f9ff;
}

.services-strip-card {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    background: #ffffff;
    border: 1px solid #e0eaf4;
    border-radius: 22px;
    box-shadow: 0 24px 60px rgba(6, 27, 73, 0.09);
    overflow: hidden;
}

.strip-item {
    display: grid;
    grid-template-columns: 58px 1fr;
    gap: 18px;
    padding: 28px 26px;
    border-right: 1px solid #e0eaf4;
}

.strip-item:last-child {
    border-right: 0;
}

.strip-icon {
    width: 58px;
    height: 58px;
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    font-size: 1.6rem;
}

.strip-icon.blue {
    background: #eaf2ff;
    color: #0c56d9;
}

.strip-icon.red {
    background: #fff0ef;
    color: #ff4545;
}

.strip-item h3 {
    margin: 0 0 8px;
    color: #061b49;
    font-size: 1.05rem;
}

.strip-item p {
    margin: 0;
    color: #52627d;
    line-height: 1.55;
    font-size: 0.95rem;
}

.home-public-summary {
    padding: 46px 0;
    background: #ffffff;
}

.summary-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.summary-block {
    padding: 34px;
    border-radius: 24px;
    border: 1px solid #e0eaf4;
    box-shadow: 0 18px 44px rgba(6, 27, 73, 0.06);
}

.summary-soft {
    background: #f7fbff;
}

.summary-block h2 {
    color: #061b49;
    margin: 16px 0 12px;
    font-size: clamp(1.6rem, 2vw, 2.3rem);
}

.summary-block p {
    color: #52627d;
    line-height: 1.75;
    margin-bottom: 24px;
}

.home-security-note {
    padding: 24px 0 44px;
    background: #ffffff;
    text-align: center;
}

.home-security-note p {
    margin: 0 auto;
    max-width: 880px;
    color: #52627d;
    line-height: 1.7;
}

.home-security-note strong {
    color: #061b49;
}

@media (max-width: 1100px) {
    .hero-new-grid,
    .summary-grid {
        grid-template-columns: 1fr;
    }

    .hero-new-visual {
        min-height: 430px;
    }

    .main-dashboard {
        left: 50%;
        right: auto;
        transform: translateX(-50%) rotate(-3deg);
    }

    .services-strip-card {
        grid-template-columns: repeat(2, 1fr);
    }

    .strip-item:nth-child(2) {
        border-right: 0;
    }
}

@media (max-width: 760px) {
    .home-hero-new {
        padding-top: 36px;
    }

    .hero-new-actions {
        flex-direction: column;
    }

    .hero-btn {
        width: 100%;
        justify-content: space-between;
    }

    .hero-new-visual {
        min-height: 360px;
    }

    .main-dashboard {
        height: 320px;
        grid-template-columns: 100px 1fr;
    }

    .floating-card {
        display: none;
    }

    .services-strip-card {
        grid-template-columns: 1fr;
    }

    .strip-item {
        border-right: 0;
        border-bottom: 1px solid #e0eaf4;
    }

    .strip-item:last-child {
        border-bottom: 0;
    }
}
/* =========================
   FIN HOME NUEVA
========================= */

/* =========================
   QUIÉNES SOMOS - NUEVO
========================= */

.about-hero-new {
    position: relative;
    padding: 64px 0 46px;
    background:
        radial-gradient(circle at 78% 18%, rgba(30, 105, 220, 0.12), transparent 32%),
        linear-gradient(180deg, #ffffff 0%, #f5f9ff 100%);
    overflow: hidden;
}

.about-hero-new::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(31, 78, 121, 0.055) 1px, transparent 1px),
        linear-gradient(90deg, rgba(31, 78, 121, 0.055) 1px, transparent 1px);
    background-size: 42px 42px;
    opacity: 0.42;
    pointer-events: none;
}

.about-hero-grid {
    position: relative;
    display: grid;
    grid-template-columns: 1.2fr 0.75fr;
    gap: 42px;
    align-items: center;
}

.about-hero-content h1 {
    margin: 0 0 22px;
    max-width: 850px;
    color: #061b49;
    font-size: clamp(2.4rem, 4vw, 4.8rem);
    line-height: 1.08;
    letter-spacing: -0.05em;
}

.about-hero-content h1 span {
    color: #ff4545;
}

.about-hero-content p {
    max-width: 720px;
    margin: 0;
    color: #52627d;
    font-size: 1.12rem;
    line-height: 1.75;
}

.about-hero-card {
    padding: 36px;
    border-radius: 28px;
    background: rgba(255,255,255,0.88);
    border: 1px solid #e0eaf4;
    box-shadow: 0 30px 70px rgba(6, 27, 73, 0.11);
    backdrop-filter: blur(10px);
}

.about-experience-number {
    color: #0c56d9;
    font-size: clamp(3.8rem, 6vw, 6.5rem);
    line-height: 1;
    font-weight: 900;
    letter-spacing: -0.06em;
    margin-bottom: 14px;
}

.about-hero-card h2 {
    margin: 0 0 12px;
    color: #061b49;
    font-size: 1.6rem;
}

.about-hero-card p {
    margin: 0;
    color: #52627d;
    line-height: 1.7;
}

.about-story-new {
    padding: 54px 0;
    background: #ffffff;
}

.about-story-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 30px;
    align-items: stretch;
}

.about-story-main {
    padding: 38px;
    border-radius: 28px;
    border: 1px solid #e0eaf4;
    background: #ffffff;
    box-shadow: 0 18px 44px rgba(6, 27, 73, 0.06);
}

.about-story-main h2 {
    margin: 16px 0 18px;
    color: #061b49;
    font-size: clamp(1.8rem, 2.6vw, 3rem);
    line-height: 1.12;
    letter-spacing: -0.035em;
}

.about-story-main p {
    margin: 0 0 18px;
    color: #52627d;
    line-height: 1.8;
    font-size: 1.03rem;
}

.about-story-main p:last-child {
    margin-bottom: 0;
}

.about-values-new {
    display: grid;
    gap: 18px;
}

.about-values-new article {
    padding: 26px;
    border-radius: 22px;
    background: #f7fbff;
    border: 1px solid #e0eaf4;
    box-shadow: 0 16px 36px rgba(6, 27, 73, 0.05);
}

.about-values-new article:nth-child(2) {
    background: #fff7f6;
}

.about-values-new strong {
    display: inline-flex;
    width: 42px;
    height: 42px;
    border-radius: 999px;
    align-items: center;
    justify-content: center;
    background: #eaf2ff;
    color: #0c56d9;
    margin-bottom: 14px;
    font-size: 0.95rem;
}

.about-values-new article:nth-child(2) strong {
    background: #fff0ef;
    color: #ff4545;
}

.about-values-new h3 {
    margin: 0 0 8px;
    color: #061b49;
    font-size: 1.2rem;
}

.about-values-new p {
    margin: 0;
    color: #52627d;
    line-height: 1.65;
}

.about-platform-new {
    padding: 16px 0 54px;
    background: #ffffff;
}

.platform-card-new {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    align-items: center;
    padding: 38px;
    border-radius: 28px;
    background:
        radial-gradient(circle at 90% 20%, rgba(255, 69, 69, 0.08), transparent 30%),
        linear-gradient(135deg, #f5f9ff 0%, #ffffff 100%);
    border: 1px solid #e0eaf4;
    box-shadow: 0 24px 60px rgba(6, 27, 73, 0.08);
}

.platform-card-new h2 {
    margin: 16px 0 14px;
    color: #061b49;
    font-size: clamp(1.8rem, 2.6vw, 3rem);
    line-height: 1.14;
    letter-spacing: -0.035em;
}

.platform-card-new p {
    margin: 0;
    color: #52627d;
    line-height: 1.75;
    max-width: 680px;
}

.platform-mini-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.platform-mini-grid div {
    padding: 22px;
    border-radius: 20px;
    background: #ffffff;
    border: 1px solid #e0eaf4;
}

.platform-mini-grid span {
    display: block;
    color: #0c56d9;
    font-size: 0.86rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 8px;
}

.platform-mini-grid strong {
    display: block;
    color: #061b49;
    line-height: 1.35;
}

.about-cta-new {
    padding: 0 0 54px;
    background: #ffffff;
}

.about-cta-card {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 28px;
    padding: 34px;
    border-radius: 28px;
    background: #061b49;
    box-shadow: 0 26px 70px rgba(6, 27, 73, 0.18);
}

.about-cta-card h2 {
    color: #ffffff;
    margin: 16px 0 10px;
    font-size: clamp(1.6rem, 2vw, 2.4rem);
    line-height: 1.18;
}

.about-cta-card p {
    color: rgba(255,255,255,0.76);
    margin: 0;
    line-height: 1.7;
    max-width: 720px;
}

.about-cta-card .section-tag {
    background: rgba(255,255,255,0.12);
    color: #ffffff;
}

@media (max-width: 1000px) {
    .about-hero-grid,
    .about-story-grid,
    .platform-card-new {
        grid-template-columns: 1fr;
    }

    .about-cta-card {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (max-width: 700px) {
    .about-hero-new {
        padding: 42px 0 34px;
    }

    .about-hero-card,
    .about-story-main,
    .platform-card-new,
    .about-cta-card {
        padding: 26px;
    }

    .platform-mini-grid {
        grid-template-columns: 1fr;
    }

    .about-cta-card .hero-btn {
        width: 100%;
        justify-content: space-between;
    }
}

/* =========================
   FIN QUIÉNES SOMOS - NUEVO
========================= */

/* =========================
   SERVICIOS - NUEVO
========================= */

.services-hero-new {
    position: relative;
    padding: 64px 0 46px;
    background:
        radial-gradient(circle at 76% 20%, rgba(30, 105, 220, 0.13), transparent 32%),
        linear-gradient(180deg, #ffffff 0%, #f5f9ff 100%);
    overflow: hidden;
}

.services-hero-new::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(31, 78, 121, 0.055) 1px, transparent 1px),
        linear-gradient(90deg, rgba(31, 78, 121, 0.055) 1px, transparent 1px);
    background-size: 42px 42px;
    opacity: 0.42;
    pointer-events: none;
}

.services-hero-grid {
    position: relative;
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 42px;
    align-items: center;
}

.services-hero-content h1 {
    margin: 0 0 22px;
    max-width: 900px;
    color: #061b49;
    font-size: clamp(2.4rem, 4vw, 4.7rem);
    line-height: 1.08;
    letter-spacing: -0.05em;
}

.services-hero-content h1 span {
    color: #ff4545;
}

.services-hero-content p {
    max-width: 720px;
    margin: 0;
    color: #52627d;
    font-size: 1.12rem;
    line-height: 1.75;
}

.services-hero-panel {
    display: grid;
    gap: 20px;
}

.services-panel-card {
    padding: 30px;
    border-radius: 26px;
    background: rgba(255,255,255,0.9);
    border: 1px solid #e0eaf4;
    box-shadow: 0 24px 60px rgba(6, 27, 73, 0.09);
    backdrop-filter: blur(10px);
}

.services-panel-card span {
    display: inline-block;
    margin-bottom: 12px;
    color: #0c56d9;
    font-size: 0.86rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.07em;
}

.services-panel-card strong {
    display: block;
    color: #061b49;
    font-size: 1.5rem;
    line-height: 1.25;
    margin-bottom: 10px;
}

.services-panel-card p {
    margin: 0;
    color: #52627d;
    line-height: 1.7;
}

.panel-red span {
    color: #ff4545;
}

.services-audience-new {
    padding: 54px 0;
    background: #ffffff;
}

.audience-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 26px;
}

.audience-card {
    position: relative;
    padding: 38px;
    border-radius: 30px;
    border: 1px solid #e0eaf4;
    box-shadow: 0 22px 54px rgba(6, 27, 73, 0.07);
    overflow: hidden;
}

.audience-centers {
    background:
        radial-gradient(circle at 90% 14%, rgba(255, 69, 69, 0.08), transparent 30%),
        #ffffff;
}

.audience-professionals {
    background:
        radial-gradient(circle at 90% 14%, rgba(12, 86, 217, 0.09), transparent 30%),
        #f7fbff;
}

.audience-icon {
    width: 64px;
    height: 64px;
    border-radius: 20px;
    background: #eaf2ff;
    color: #0c56d9;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.9rem;
    font-weight: 900;
    margin-bottom: 22px;
}

.audience-centers .audience-icon {
    background: #fff0ef;
    color: #ff4545;
}

.audience-card h2 {
    margin: 16px 0 14px;
    color: #061b49;
    font-size: clamp(1.7rem, 2.4vw, 2.6rem);
    line-height: 1.14;
    letter-spacing: -0.035em;
}

.audience-card p {
    color: #52627d;
    line-height: 1.75;
    margin: 0 0 22px;
}

.audience-card ul {
    display: grid;
    gap: 12px;
    padding: 0;
    margin: 0;
    list-style: none;
}

.audience-card li {
    position: relative;
    padding-left: 30px;
    color: #52627d;
    line-height: 1.6;
}

.audience-card li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 0;
    color: #0c56d9;
    font-weight: 900;
}

.audience-centers li::before {
    color: #ff4545;
}

.services-flow-new {
    padding: 54px 0;
    background: #f5f9ff;
}

.services-heading-new {
    text-align: center;
    max-width: 850px;
    margin: 0 auto 30px;
}

.services-heading-new h2 {
    color: #061b49;
    font-size: clamp(1.9rem, 3vw, 3rem);
    line-height: 1.12;
    letter-spacing: -0.035em;
}

.services-heading-new .section-intro {
    margin: 0 auto;
}

.flow-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.flow-card {
    padding: 26px;
    border-radius: 24px;
    background: #ffffff;
    border: 1px solid #e0eaf4;
    box-shadow: 0 16px 40px rgba(6, 27, 73, 0.055);
}

.flow-card strong {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 999px;
    background: #eaf2ff;
    color: #0c56d9;
    margin-bottom: 16px;
}

.flow-card:nth-child(even) strong {
    background: #fff0ef;
    color: #ff4545;
}

.flow-card h3 {
    margin: 0 0 10px;
    color: #061b49;
    font-size: 1.15rem;
    line-height: 1.3;
}

.flow-card p {
    margin: 0;
    color: #52627d;
    line-height: 1.65;
    font-size: 0.96rem;
}

.services-benefits-new {
    padding: 54px 0;
    background: #ffffff;
}

.benefits-new-card {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 34px;
    align-items: center;
    padding: 38px;
    border-radius: 30px;
    background:
        radial-gradient(circle at 92% 12%, rgba(12, 86, 217, 0.09), transparent 28%),
        linear-gradient(135deg, #ffffff 0%, #f7fbff 100%);
    border: 1px solid #e0eaf4;
    box-shadow: 0 24px 60px rgba(6, 27, 73, 0.08);
}

.benefits-new-content h2 {
    margin: 16px 0 14px;
    color: #061b49;
    font-size: clamp(1.8rem, 2.7vw, 3rem);
    line-height: 1.14;
    letter-spacing: -0.035em;
}

.benefits-new-content p {
    margin: 0;
    color: #52627d;
    line-height: 1.75;
}

.benefits-new-list {
    display: grid;
    gap: 16px;
}

.benefits-new-list div {
    padding: 22px;
    border-radius: 20px;
    background: #ffffff;
    border: 1px solid #e0eaf4;
}

.benefits-new-list span {
    display: inline-block;
    color: #0c56d9;
    font-size: 0.86rem;
    font-weight: 900;
    margin-bottom: 8px;
}

.benefits-new-list strong {
    display: block;
    color: #061b49;
    margin-bottom: 6px;
}

.benefits-new-list p {
    margin: 0;
    color: #52627d;
    line-height: 1.6;
}

.services-cta-new {
    padding: 0 0 54px;
    background: #ffffff;
}

.services-cta-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

@media (max-width: 1100px) {
    .services-hero-grid,
    .audience-grid,
    .benefits-new-card {
        grid-template-columns: 1fr;
    }

    .flow-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 700px) {
    .services-hero-new,
    .services-audience-new,
    .services-flow-new,
    .services-benefits-new {
        padding: 38px 0;
    }

    .audience-card,
    .benefits-new-card,
    .services-panel-card {
        padding: 26px;
    }

    .flow-grid {
        grid-template-columns: 1fr;
    }

    .services-cta-actions,
    .services-cta-actions .hero-btn {
        width: 100%;
    }

    .services-cta-actions .hero-btn {
        justify-content: space-between;
    }
}

/* =========================
   FIN SERVICIOS - NUEVO
========================= */

/* =========================
   REGÍSTRATE - NUEVO
========================= */

.register-hero-new {
    position: relative;
    padding: 64px 0 46px;
    background:
        radial-gradient(circle at 78% 18%, rgba(30, 105, 220, 0.13), transparent 32%),
        linear-gradient(180deg, #ffffff 0%, #f5f9ff 100%);
    overflow: hidden;
}

.register-hero-new::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(31, 78, 121, 0.055) 1px, transparent 1px),
        linear-gradient(90deg, rgba(31, 78, 121, 0.055) 1px, transparent 1px);
    background-size: 42px 42px;
    opacity: 0.42;
    pointer-events: none;
}

.register-hero-grid {
    position: relative;
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 42px;
    align-items: center;
}

.register-hero-content h1 {
    margin: 0 0 22px;
    max-width: 860px;
    color: #061b49;
    font-size: clamp(2.4rem, 4vw, 4.7rem);
    line-height: 1.08;
    letter-spacing: -0.05em;
}

.register-hero-content h1 span {
    color: #ff4545;
}

.register-hero-content p {
    max-width: 720px;
    margin: 0;
    color: #52627d;
    font-size: 1.12rem;
    line-height: 1.75;
}

.register-hero-side {
    display: grid;
    gap: 18px;
}

.register-side-card {
    padding: 30px;
    border-radius: 26px;
    background: rgba(255,255,255,0.9);
    border: 1px solid #e0eaf4;
    box-shadow: 0 24px 60px rgba(6, 27, 73, 0.09);
}

.register-side-card strong {
    display: block;
    color: #061b49;
    font-size: 1.45rem;
    margin-bottom: 8px;
}

.register-side-card span {
    display: block;
    color: #52627d;
    line-height: 1.65;
}

.register-side-card-red {
    background: #fff7f6;
}

.register-main-new {
    padding: 54px 0;
    background: #ffffff;
}

.register-selector-new {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 22px;
    margin-bottom: 34px;
}

.register-choice-card {
    width: 100%;
    border: 1px solid #e0eaf4;
    border-radius: 26px;
    padding: 26px;
    background: #ffffff;
    box-shadow: 0 20px 50px rgba(6, 27, 73, 0.07);
    display: grid;
    grid-template-columns: 62px 1fr auto;
    gap: 18px;
    align-items: center;
    text-align: left;
    cursor: pointer;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.register-choice-card:hover,
.register-choice-card.active {
    transform: translateY(-3px);
    box-shadow: 0 28px 64px rgba(6, 27, 73, 0.12);
}

.register-choice-blue.active {
    border-color: rgba(12, 86, 217, 0.45);
}

.register-choice-green.active {
    border-color: rgba(46, 139, 87, 0.45);
}

.register-choice-icon {
    width: 62px;
    height: 62px;
    border-radius: 20px;
    background: #eaf2ff;
    color: #0c56d9;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.9rem;
    font-weight: 900;
}

.register-choice-green .register-choice-icon {
    background: #e9f7ef;
    color: #2e8b57;
}

.register-choice-content strong {
    display: block;
    color: #061b49;
    font-size: 1.24rem;
    margin-bottom: 6px;
}

.register-choice-content em {
    display: block;
    color: #52627d;
    line-height: 1.5;
    font-style: normal;
}

.register-choice-arrow {
    font-size: 1.6rem;
    color: #0c56d9;
    font-weight: 900;
}

.register-choice-green .register-choice-arrow {
    color: #2e8b57;
}

.register-card-new {
    padding: 38px;
    border-radius: 30px;
    background: #ffffff;
    border: 1px solid #e0eaf4;
    box-shadow: 0 24px 60px rgba(6, 27, 73, 0.08);
}

.register-card-centro {
    background:
        radial-gradient(circle at 92% 10%, rgba(12, 86, 217, 0.09), transparent 28%),
        #ffffff;
}

.register-card-medico {
    background:
        radial-gradient(circle at 92% 10%, rgba(46, 139, 87, 0.1), transparent 28%),
        #ffffff;
}

.register-card-head h2 {
    margin: 16px 0 12px;
    color: #061b49;
    font-size: clamp(1.8rem, 2.5vw, 3rem);
    line-height: 1.12;
    letter-spacing: -0.035em;
}

.register-card-head p {
    margin: 0 0 26px;
    color: #52627d;
    line-height: 1.75;
    max-width: 760px;
}

.register-fields-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

.register-card-new .register-form {
    display: grid;
    gap: 18px;
}

.register-card-new .form-field input {
    min-height: 54px;
    border-radius: 14px;
}

.register-card-new .form-checks {
    margin-top: 8px;
}

.register-card-new .form-actions {
    margin-top: 8px;
}

.register-card-new .hero-btn {
    border: 0;
    cursor: pointer;
}

.register-card-medico .hero-btn {
    background: linear-gradient(135deg, #2e8b57 0%, #36a96a 100%);
}

.register-form-wrapper {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transform: translateY(18px);
    transition:
        max-height 0.55s ease,
        opacity 0.35s ease,
        transform 0.35s ease;
}

.register-form-wrapper.is-visible {
    max-height: 1400px;
    opacity: 1;
    transform: translateY(0);
    margin-top: 24px;
}

.register-form-wrapper.is-hidden {
    display: block !important;
    pointer-events: none;
}

@media (max-width: 1000px) {
    .register-hero-grid,
    .register-selector-new {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 700px) {
    .register-hero-new,
    .register-main-new {
        padding: 38px 0;
    }

    .register-choice-card {
        grid-template-columns: 54px 1fr;
    }

    .register-choice-arrow {
        display: none;
    }

    .register-choice-icon {
        width: 54px;
        height: 54px;
    }

    .register-card-new {
        padding: 26px;
    }

    .register-fields-grid {
        grid-template-columns: 1fr;
    }

    .register-card-new .hero-btn {
        width: 100%;
        justify-content: space-between;
    }
}

/* =========================
   FIN REGÍSTRATE - NUEVO
========================= */

/* =========================
   CONTACTO - NUEVO
========================= */

.contact-hero-new {
    position: relative;
    padding: 64px 0 46px;
    background:
        radial-gradient(circle at 78% 18%, rgba(30, 105, 220, 0.13), transparent 32%),
        linear-gradient(180deg, #ffffff 0%, #f5f9ff 100%);
    overflow: hidden;
}

.contact-hero-new::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(31, 78, 121, 0.055) 1px, transparent 1px),
        linear-gradient(90deg, rgba(31, 78, 121, 0.055) 1px, transparent 1px);
    background-size: 42px 42px;
    opacity: 0.42;
    pointer-events: none;
}

.contact-hero-grid {
    position: relative;
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 42px;
    align-items: center;
}

.contact-hero-content h1 {
    margin: 0 0 22px;
    max-width: 860px;
    color: #061b49;
    font-size: clamp(2.4rem, 4vw, 4.7rem);
    line-height: 1.08;
    letter-spacing: -0.05em;
}

.contact-hero-content h1 span {
    color: #ff4545;
}

.contact-hero-content p {
    max-width: 720px;
    margin: 0;
    color: #52627d;
    font-size: 1.12rem;
    line-height: 1.75;
}

.contact-hero-side {
    display: grid;
    gap: 18px;
}

.contact-side-card,
.contact-side-mini {
    padding: 30px;
    border-radius: 26px;
    background: rgba(255,255,255,0.9);
    border: 1px solid #e0eaf4;
    box-shadow: 0 24px 60px rgba(6, 27, 73, 0.09);
}

.contact-side-card strong,
.contact-side-mini strong {
    display: block;
    color: #061b49;
    font-size: 1.45rem;
    margin-bottom: 8px;
}

.contact-side-card span,
.contact-side-mini span {
    display: block;
    color: #52627d;
    line-height: 1.65;
}

.contact-side-card-red {
    background: #fff7f6;
}

.contact-side-mini {
    background: #f7fbff;
}

.contact-side-mini strong {
    font-size: 1.2rem;
}

.contact-main-new {
    padding: 54px 0;
    background: #ffffff;
}

.contact-layout-new {
    display: grid;
    grid-template-columns: 1.18fr 0.82fr;
    gap: 28px;
    align-items: start;
}

.contact-form-card-new {
    padding: 38px;
    border-radius: 30px;
    background:
        radial-gradient(circle at 94% 10%, rgba(12, 86, 217, 0.09), transparent 28%),
        #ffffff;
    border: 1px solid #e0eaf4;
    box-shadow: 0 24px 60px rgba(6, 27, 73, 0.08);
}

.contact-form-card-new .contact-card-head h2 {
    margin: 16px 0 12px;
    color: #061b49;
    font-size: clamp(1.8rem, 2.5vw, 3rem);
    line-height: 1.12;
    letter-spacing: -0.035em;
}

.contact-form-card-new .contact-card-head p {
    margin: 0 0 26px;
    color: #52627d;
    line-height: 1.75;
    max-width: 760px;
}

.contact-form-card-new .contact-form {
    display: grid;
    gap: 18px;
}

.contact-form-card-new .form-field input,
.contact-form-card-new .form-field select {
    min-height: 54px;
    border-radius: 14px;
}

.contact-form-card-new .form-field textarea {
    border-radius: 14px;
}

.contact-form-card-new .form-actions {
    margin-top: 8px;
}

.contact-form-card-new .hero-btn {
    border: 0;
    cursor: pointer;
}

.contact-info-panel-new {
    position: sticky;
    top: 96px;
    padding: 34px;
    border-radius: 30px;
    background:
        radial-gradient(circle at 90% 12%, rgba(255, 69, 69, 0.08), transparent 30%),
        linear-gradient(180deg, #f7fbff 0%, #ffffff 100%);
    border: 1px solid #e0eaf4;
    box-shadow: 0 24px 60px rgba(6, 27, 73, 0.08);
}

.contact-info-panel-new h2 {
    margin: 16px 0 12px;
    color: #061b49;
    font-size: clamp(1.6rem, 2.2vw, 2.4rem);
    line-height: 1.14;
    letter-spacing: -0.035em;
}

.contact-info-panel-new > p {
    margin: 0;
    color: #52627d;
    line-height: 1.75;
}

.contact-info-list-new {
    display: grid;
    gap: 16px;
    margin-top: 24px;
}

.contact-info-list-new div {
    padding: 22px;
    border-radius: 20px;
    background: #ffffff;
    border: 1px solid #e0eaf4;
}

.contact-info-list-new span {
    display: inline-block;
    color: #0c56d9;
    font-size: 0.86rem;
    font-weight: 900;
    margin-bottom: 8px;
}

.contact-info-list-new div:nth-child(2) span {
    color: #ff4545;
}

.contact-info-list-new strong {
    display: block;
    color: #061b49;
    margin-bottom: 6px;
}

.contact-info-list-new p {
    margin: 0;
    color: #52627d;
    line-height: 1.6;
}

.hp-field {
    position: absolute !important;
    left: -9999px !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
}

.dynamic-fields-group.is-hidden {
    display: none !important;
}

@media (max-width: 1050px) {
    .contact-hero-grid,
    .contact-layout-new {
        grid-template-columns: 1fr;
    }

    .contact-info-panel-new {
        position: static;
    }
}

@media (max-width: 700px) {
    .contact-hero-new,
    .contact-main-new {
        padding: 38px 0;
    }

    .contact-form-card-new,
    .contact-info-panel-new {
        padding: 26px;
    }

    .contact-fields-grid {
        grid-template-columns: 1fr;
    }

    .contact-form-card-new .hero-btn {
        width: 100%;
        justify-content: space-between;
    }
}
/* =========================
   FIN CONTACTO - NUEVO
========================= */

/* =========================
   CONTACTO - FORMULARIO EN HERO
========================= */

.contact-hero-with-form {
    padding: 52px 0 54px;
}

.contact-hero-grid-form {
    grid-template-columns: 0.9fr 1.1fr;
    align-items: start;
}

.contact-form-card-hero {
    position: relative;
    z-index: 2;
    padding: 30px;
    max-width: 720px;
    margin-left: auto;
}

.contact-form-card-hero .contact-card-head h2 {
    font-size: clamp(1.5rem, 2vw, 2.1rem);
}

.contact-form-card-hero .contact-card-head p {
    margin-bottom: 20px;
}

.contact-form-card-hero .form-field input,
.contact-form-card-hero .form-field select {
    min-height: 48px;
}

.contact-form-card-hero .form-field textarea {
    min-height: 105px;
}

.contact-form-card-hero .contact-form {
    gap: 14px;
}

.contact-form-card-hero .contact-fields-grid {
    gap: 14px;
}

.contact-form-card-hero .form-checks {
    gap: 10px;
}

.contact-form-card-hero .check-row {
    font-size: 0.92rem;
}

.contact-form-card-hero .legal-help-text {
    font-size: 0.88rem;
}

.contact-info-section-new {
    padding: 40px 0 54px;
    background: #ffffff;
}

.contact-info-panel-horizontal {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.contact-info-panel-horizontal div {
    padding: 26px;
    border-radius: 24px;
    background: #ffffff;
    border: 1px solid #e0eaf4;
    box-shadow: 0 18px 44px rgba(6, 27, 73, 0.06);
}

.contact-info-panel-horizontal div:nth-child(2) {
    background: #fff7f6;
}

.contact-info-panel-horizontal div:nth-child(3) {
    background: #f7fbff;
}

.contact-info-panel-horizontal span {
    display: inline-block;
    color: #0c56d9;
    font-size: 0.86rem;
    font-weight: 900;
    margin-bottom: 8px;
}

.contact-info-panel-horizontal div:nth-child(2) span {
    color: #ff4545;
}

.contact-info-panel-horizontal strong {
    display: block;
    color: #061b49;
    margin-bottom: 8px;
    font-size: 1.1rem;
}

.contact-info-panel-horizontal p {
    margin: 0;
    color: #52627d;
    line-height: 1.6;
}

@media (max-width: 1050px) {
    .contact-hero-grid-form {
        grid-template-columns: 1fr;
    }

    .contact-form-card-hero {
        max-width: none;
        margin-left: 0;
    }

    .contact-info-panel-horizontal {
        grid-template-columns: 1fr;
    }
}

/* =========================
   FIN CONTACTO - FORMULARIO EN HERO
========================= */

/* =========================
   HEADER - BOTÓN DEMO
========================= */

.header-demo-action {
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.header-demo-btn {
    min-height: 48px;
    padding: 0 22px;
    border-radius: 14px;
    background: linear-gradient(135deg, #0c56d9 0%, #1468f2 100%);
    color: #ffffff !important;
    display: inline-flex;
    align-items: center;
    gap: 14px;
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: -0.01em;
    box-shadow: 0 16px 36px rgba(12, 86, 217, 0.22);
    transition:
        transform 0.22s ease,
        box-shadow 0.22s ease,
        opacity 0.22s ease;
}

.header-demo-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 22px 42px rgba(12, 86, 217, 0.28);
    opacity: 0.96;
}

.header-demo-btn span {
    font-size: 1.2rem;
    line-height: 1;
}

@media (max-width: 900px) {
    .header-demo-action {
        width: 100%;
        justify-content: center;
        margin-top: 14px;
    }

    .header-demo-btn {
        width: 100%;
        justify-content: center;
    }
}
/* =========================
   FIN HEADER - BOTÓN DEMO
========================= */

/* =========================
   SOLICITAR DEMO
========================= */

.demo-hero-new {
    position: relative;
    padding: 52px 0 54px;
    background:
        radial-gradient(circle at 78% 18%, rgba(30, 105, 220, 0.13), transparent 32%),
        linear-gradient(180deg, #ffffff 0%, #f5f9ff 100%);
    overflow: hidden;
}

.demo-hero-new::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(31, 78, 121, 0.055) 1px, transparent 1px),
        linear-gradient(90deg, rgba(31, 78, 121, 0.055) 1px, transparent 1px);
    background-size: 42px 42px;
    opacity: 0.42;
    pointer-events: none;
}

.demo-hero-grid {
    position: relative;
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 42px;
    align-items: start;
}

.demo-hero-content h1 {
    margin: 0 0 22px;
    max-width: 860px;
    color: #061b49;
    font-size: clamp(2.4rem, 4vw, 4.7rem);
    line-height: 1.08;
    letter-spacing: -0.05em;
}

.demo-hero-content h1 span {
    color: #ff4545;
}

.demo-hero-content p {
    max-width: 720px;
    margin: 0;
    color: #52627d;
    font-size: 1.12rem;
    line-height: 1.75;
}

.demo-form-card {
    position: relative;
    z-index: 2;
    max-width: 720px;
    margin-left: auto;
}

.demo-info-section-new {
    padding: 40px 0 54px;
    background: #ffffff;
}

@media (max-width: 1050px) {
    .demo-hero-grid {
        grid-template-columns: 1fr;
    }

    .demo-form-card {
        max-width: none;
        margin-left: 0;
    }
}

@media (max-width: 700px) {
    .demo-hero-new {
        padding: 38px 0;
    }
}
/* =========================
   FIN SOLICITAR DEMO
========================= */

/* =========================
   REGISTRO - BOTONES HERO
========================= */

.register-side-btn {
    width: 100%;
    min-height: 46px;
    margin-top: 18px;
    padding: 0 18px;
    border: 0;
    border-radius: 14px;
    color: #ffffff;
    font-weight: 800;
    cursor: pointer;
    transition: transform 0.22s ease, box-shadow 0.22s ease, opacity 0.22s ease;
}

.register-side-btn:hover {
    transform: translateY(-2px);
    opacity: 0.96;
}

.register-side-btn-blue {
    background: linear-gradient(135deg, #0c56d9 0%, #1468f2 100%);
    box-shadow: 0 14px 30px rgba(12, 86, 217, 0.18);
}

.register-side-btn-green {
    background: linear-gradient(135deg, #2e8b57 0%, #36a96a 100%);
    box-shadow: 0 14px 30px rgba(46, 139, 87, 0.18);
}

/* =========================
   REGISTRO - BOTONES HERO
========================= */


/* =========================
   TEXTO LEGAL PRIVACIDAD
========================= */

.privacy-legal-box {
    margin-bottom: 5px;
    padding: 16px 18px;
    border-radius: 16px;
    background: #f5f9ff;
    border: 1px solid #d9e7f7;
}

.privacy-legal-box p {
    margin: 0 0 10px;
    color: #5d6b82;
    font-size: 0.78rem;
    line-height: 1.65;
    font-weight: 400;
}

.privacy-legal-box p:last-child {
    margin-bottom: 0;
}

.privacy-legal-box a {
    color: inherit;
    font-weight: 800;
    text-decoration: none;
}

.privacy-legal-box a:hover {
    text-decoration: underline;
}

/* =========================
   TEXTO LEGAL PRIVACIDAD
========================= */


/* =========================
   PAGINA LEGAL SIMPLE
========================= */

.legal-page-simple {
    padding: 56px 0 70px;
    background: #ffffff;
}

.legal-page-wrapper {
    max-width: 980px;
    margin: 0 auto;
}

.legal-page-wrapper h1 {
    margin: 0 0 38px;
    color: #061b49;
    font-size: clamp(2.4rem, 4vw, 4.6rem);
    line-height: 1.05;
    letter-spacing: -0.05em;
}

.legal-page-content {
    color: #5d6b82;
}

.legal-page-content h2 {
    margin: 0 0 26px;
    color: #061b49;
    font-size: 1.7rem;
    line-height: 1.3;
}

.legal-page-content h3 {
    margin: 42px 0 18px;
    color: #061b49;
    font-size: 1.08rem;
    font-weight: 800;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.legal-page-content p {
    margin: 0 0 18px;
    color: #5d6b82;
    font-size: 0.98rem;
    line-height: 1.9;
}

.legal-page-content ul {
    margin: 0 0 24px 22px;
    padding: 0;
}

.legal-page-content li {
    margin-bottom: 14px;
    color: #5d6b82;
    line-height: 1.8;
    font-size: 0.98rem;
}

.legal-page-content strong {
    color: #061b49;
    font-weight: 700;
}

.legal-page-content a {
    color: inherit;
    font-weight: 700;
    text-decoration: none;
}

.legal-page-content a:hover {
    text-decoration: underline;
}

@media (max-width: 700px) {

    .legal-page-simple {
        padding: 40px 0 52px;
    }

    .legal-page-wrapper h1 {
        margin-bottom: 28px;
    }

    .legal-page-content h2 {
        font-size: 1.45rem;
    }

    .legal-page-content p,
    .legal-page-content li {
        font-size: 0.92rem;
        line-height: 1.8;
    }
}
/* =========================
   POLITICA PRIVACIDAD
========================= */


/* =========================
   FOOTER ENLACES LEGALES
========================= */

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    flex-wrap: wrap;
}

.footer-bottom-left p {
    margin: 0;
}

.footer-bottom-links {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.footer-bottom-links a {
    color: rgba(255,255,255,0.78);
    text-decoration: none;
    font-size: 0.92rem;
    font-weight: 600;
    transition: opacity 0.2s ease;
}

.footer-bottom-links a:hover {
    opacity: 0.78;
    text-decoration: underline;
}

.footer-separator {
    color: rgba(255,255,255,0.32);
}

@media (max-width: 700px) {

    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
    }

    .footer-bottom-links {
        gap: 10px;
    }
}
/* =========================
   FOOTER ENLACES LEGALES
========================= */


/* =========================
   FUENTE GENERAL PAGINA
========================= */

/*body {
    font-family: "Plus Jakarta Sans", sans-serif;
}*/

/*body {
    font-family: "Manrope", sans-serif;
}*/

body {
    font-family: "Outfit", sans-serif;
}
h1, h2, h3, h4, h5, h6 {
    letter-spacing: -0.03em;
}
body {
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}
/* =========================
   FIN FUENTE GENERAL PAGINA
========================= */