/* ==========================================================
   REGISTRO DE CENTROS SANITARIOS - V11
   Hoja exclusiva de registro-centros-v11.asp
   ========================================================== */

.pd-clinicas-v11 {
    --pd-v11-navy: #163a59;
    --pd-v11-navy-dark: #102d47;
    --pd-v11-blue: #1f4e79;
    --pd-v11-soft: #f4f7fa;
    --pd-v11-blue-soft: #eef4f9;
    --pd-v11-line: #dbe4ec;
    --pd-v11-text: #1b2a38;
    --pd-v11-muted: #5d7286;
    --pd-v11-shadow: 0 20px 55px rgba(22, 58, 89, 0.13);
    overflow: hidden;
    color: var(--pd-v11-text);
}

.pd-clinicas-v11 * {
    box-sizing: border-box;
}

.pd-clinicas-v11 a {
    text-decoration: none;
}

.pd-v11-eyebrow {
    margin: 0 0 12px;
    color: #ff514d;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.11em;
    text-transform: uppercase;
}

.pd-v11-eyebrow-light {
    color: #f4b5af;
}

.pd-v11-hero {
    padding: 70px 0 66px;
    background: linear-gradient(135deg, #ffffff 0%, #ffffff 58%, #f2f6fa 100%);
}

.pd-v11-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
    gap: 58px;
    align-items: center;
}

.pd-v11-hero h1 {
    margin: 0 0 20px;
    max-width: 760px;
    color: var(--pd-v11-navy-dark);
    font-size: clamp(2.45rem, 4.2vw, 4.35rem);
    line-height: 1.04;
    letter-spacing: -0.045em;
}

.pd-v11-hero h1 span,
.pd-v11-section-heading h2 span {
    color: #ff514d;
}

.pd-v11-hero h2 {
    margin: 0 0 22px;
    max-width: 700px;
    color: var(--pd-v11-navy);
    font-size: clamp(1.2rem, 2vw, 1.52rem);
    line-height: 1.35;
}

.pd-v11-hero-copy > p:not(.pd-v11-eyebrow) {
    max-width: 700px;
    margin: 0 0 14px;
    color: #34485b;
    font-size: 1.03rem;
    line-height: 1.7;
}

.pd-v11-hero-copy .pd-v11-hero-strong {
    margin-top: 20px;
    color: var(--pd-v11-navy-dark);
    font-weight: 800;
}

.pd-v11-actions {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 28px;
}

.pd-v11-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 52px;
    padding: 14px 20px;
    border: 1px solid transparent;
    border-radius: 10px;
    font: inherit;
    font-weight: 800;
    line-height: 1.2;
    cursor: pointer;
    transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, border-color 0.18s ease;
}

.pd-v11-btn:hover,
.pd-v11-btn:focus-visible {
    transform: translateY(-2px);
}

.pd-v11-btn-primary {
    background: #ff514d;
    color: #fff;
    box-shadow: 0 10px 24px rgba(255, 81, 77, 0.27);
}

.pd-v11-btn-primary:hover,
.pd-v11-btn-primary:focus-visible {
    background: #ff6a5f;
    color: #fff;
}

.pd-v11-btn-outline {
    border-color: var(--pd-v11-navy);
    background: #fff;
    color: var(--pd-v11-navy);
}

.pd-v11-text-link {
    color: var(--pd-v11-navy-dark);
    font-weight: 800;
    border-bottom: 2px solid #ff514d;
    padding-bottom: 2px;
}

.pd-v11-micro-benefits {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 20px;
}

.pd-v11-micro-benefits span {
    padding: 7px 11px;
    border-radius: 999px;
    background: var(--pd-v11-blue-soft);
    color: var(--pd-v11-navy);
    font-size: 0.83rem;
    font-weight: 700;
}

.pd-v11-hero-visual {
    position: relative;
    min-height: 520px;
}

.pd-v11-hero-photo-wrap {
    position: absolute;
    inset: 0 0 48px 28px;
    overflow: hidden;
    border-radius: 78px 0 78px 78px;
    background: #dbe6ef;
    box-shadow: var(--pd-v11-shadow);
}

.pd-v11-hero-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.pd-v11-hero-photo-wrap::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(22, 58, 89, 0.02), rgba(22, 58, 89, 0.12));
}

.pd-v11-free-card {
    position: absolute;
    right: 8px;
    bottom: 0;
    display: flex;
    gap: 17px;
    width: min(370px, 80%);
    padding: 25px;
    border-radius: 16px;
    background: var(--pd-v11-navy-dark);
    color: #fff;
    box-shadow: 0 22px 44px rgba(16, 45, 71, 0.27);
}

.pd-v11-free-card i {
    flex: 0 0 auto;
    width: 54px;
    height: 54px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    font-size: 1.45rem;
}

.pd-v11-free-card h3 {
    margin: 0 0 7px;
    color: #fff;
    font-size: 1.24rem;
}

.pd-v11-free-card p {
    margin: 0;
    color: #fff;
    line-height: 1.55;
}

.pd-v11-dot-pattern {
    position: absolute;
    right: -8px;
    bottom: 74px;
    width: 96px;
    height: 84px;
    opacity: 0.7;
    background-image: radial-gradient(rgba(255, 81, 77, 0.78) 2px, transparent 2px);
    background-size: 13px 13px;
}

.pd-v11-section {
    padding: 86px 0;
}

.pd-v11-section-heading {
    max-width: 860px;
    margin: 0 auto 42px;
    text-align: center;
}

.pd-v11-section-heading h2 {
    margin: 0 0 16px;
    color: var(--pd-v11-navy-dark);
    font-size: clamp(2rem, 3.4vw, 3.1rem);
    line-height: 1.13;
    letter-spacing: -0.035em;
}

.pd-v11-section-heading > p:last-child {
    max-width: 780px;
    margin: 0 auto;
    color: var(--pd-v11-muted);
    font-size: 1.05rem;
    line-height: 1.65;
}

.pd-v11-free-section {
    background: #fff;
}

.pd-v11-free-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    border-top: 1px solid var(--pd-v11-line);
    border-bottom: 1px solid var(--pd-v11-line);
}

.pd-v11-feature-card {
    padding: 38px 34px 34px;
}

.pd-v11-feature-card + .pd-v11-feature-card {
    border-left: 1px solid var(--pd-v11-line);
}

.pd-v11-icon {
    width: 66px;
    height: 66px;
    display: grid;
    place-items: center;
    margin-bottom: 20px;
    border-radius: 18px;
    background: var(--pd-v11-blue-soft);
    color: var(--pd-v11-blue);
    font-size: 1.65rem;
}

.pd-v11-feature-card h3,
.pd-v11-service-card h3 {
    color: var(--pd-v11-navy-dark);
}

.pd-v11-feature-card h3 {
    margin: 0 0 14px;
    font-size: 1.3rem;
    line-height: 1.28;
}

.pd-v11-feature-card p,
.pd-v11-service-card p,
.pd-v11-service-card li {
    color: #4e6173;
    line-height: 1.65;
}

.pd-v11-feature-card p {
    margin: 0 0 12px;
}

.pd-v11-action-row {
    margin-top: 34px;
    text-align: center;
}

.pd-v11-premium-section {
    background: linear-gradient(180deg, #f5f8fb, #edf3f8);
}

.pd-v11-premium-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 22px;
}

.pd-v11-service-card {
    position: relative;
    grid-column: span 3;
    overflow: hidden;
    padding: 28px;
    border: 1px solid rgba(22, 58, 89, 0.09);
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 10px 30px rgba(22, 58, 89, 0.06);
}

.pd-v11-service-card-wide {
    grid-column: span 2;
}

.pd-v11-service-card::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--pd-v11-navy), #ff514d);
}

.pd-v11-service-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 15px;
}

.pd-v11-service-top .pd-v11-icon {
    width: 56px;
    height: 56px;
    margin: 0;
    border-radius: 16px;
    font-size: 1.4rem;
}

.pd-v11-service-number {
    color: #ff514d;
    font-size: 1.04rem;
    font-weight: 900;
    letter-spacing: 0.04em;
}

.pd-v11-service-card h3 {
    margin: 0 0 15px;
    font-size: 1.32rem;
    line-height: 1.28;
}

.pd-v11-service-card p {
    margin: 0 0 13px;
}

.pd-v11-service-card ul {
    margin: 0 0 15px;
    padding-left: 20px;
}

.pd-v11-service-card li {
    margin-bottom: 7px;
}

.pd-v11-service-card li::marker {
    color: #ff514d;
}

.pd-v11-service-card .pd-v11-two-cols {
    columns: 2;
    column-gap: 30px;
}

.pd-v11-card-closing {
    color: var(--pd-v11-navy) !important;
    font-weight: 700;
}

.pd-v11-ai-card {
    min-height: 410px;
    padding-right: 3%;
}

.pd-v11-ai-photo {
    position: absolute;
    right: 0;
    bottom: 0;
    width: 34%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 35%);
    mask-image: linear-gradient(90deg, transparent 0%, #000 35%);
}

.pd-v11-register-section {
    position: relative;
    padding: 64px 0;
    overflow: hidden;
    background: linear-gradient(135deg, var(--pd-v11-navy-dark), #1f4e79);
    color: #fff;
}

.pd-v11-register-section::after {
    content: "";
    position: absolute;
    right: -90px;
    bottom: -110px;
    width: 260px;
    height: 260px;
    border: 2px solid rgba(255, 81, 77, 0.62);
    border-radius: 48px;
    transform: rotate(45deg);
}

.pd-v11-register-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 0.82fr) minmax(520px, 1.18fr);
    gap: 52px;
    align-items: start;
}

.pd-v11-register-copy {
    padding-top: 28px;
}

.pd-v11-register-copy h2 {
    margin: 0 0 18px;
    color: #fff;
    font-size: clamp(2rem, 3.5vw, 3rem);
    line-height: 1.12;
}

.pd-v11-register-copy > p:not(.pd-v11-eyebrow) {
    margin: 0 0 13px;
    color: #e6edf4;
    font-size: 1.02rem;
    line-height: 1.7;
}

.pd-v11-register-points {
    display: grid;
    gap: 14px;
    margin-top: 27px;
}

.pd-v11-register-point {
    display: flex;
    gap: 13px;
    align-items: flex-start;
    color: #fff;
    font-weight: 700;
}

.pd-v11-register-point i {
    width: 30px;
    height: 30px;
    flex: 0 0 auto;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    color: #f6beb9;
}

.pd-v11-form-card {
    padding: 30px;
    border-radius: 20px;
    background: #fff;
    color: var(--pd-v11-text);
    box-shadow: 0 24px 60px rgba(4, 20, 35, 0.26);
}

.pd-v11-form-head {
    margin-bottom: 22px;
}

.pd-v11-form-head span {
    display: inline-block;
    margin-bottom: 8px;
    color: #ff514d;
    font-size: 0.76rem;
    font-weight: 900;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.pd-v11-form-head h3 {
    margin: 0 0 8px;
    color: var(--pd-v11-navy-dark);
    font-size: 1.65rem;
}

.pd-v11-form-head p {
    margin: 0;
    color: var(--pd-v11-muted);
    line-height: 1.55;
}

.pd-clinicas-v11 .form-alert {
    margin-bottom: 20px;
}

.pd-v11-fields {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 17px;
}

.pd-v11-field label,
.pd-v11-label-row label {
    display: block;
    margin-bottom: 7px;
    color: var(--pd-v11-navy-dark);
    font-size: 0.91rem;
    font-weight: 800;
}

.pd-v11-label-row {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    align-items: baseline;
}

.pd-v11-label-row span {
    color: var(--pd-v11-muted);
    font-size: 0.76rem;
}

.pd-v11-field input[type="text"],
.pd-v11-field input[type="email"],
.pd-v11-field input[type="tel"],
.pd-v11-field input[type="password"] {
    width: 100%;
    min-height: 46px;
    padding: 10px 12px;
    border: 1px solid #c9d6e2;
    border-radius: 9px;
    background: #fff;
    color: var(--pd-v11-text);
    font: inherit;
    outline: none;
}

.pd-v11-field input:focus {
    border-color: var(--pd-v11-blue);
    box-shadow: 0 0 0 3px rgba(31, 78, 121, 0.1);
}

.pd-v11-legal {
    margin-top: 21px;
}

.pd-v11-privacy {
    max-height: 138px;
    overflow: auto;
    margin-bottom: 16px;
    padding: 15px 16px;
    border: 1px solid var(--pd-v11-line);
    border-radius: 10px;
    background: var(--pd-v11-soft);
    color: #4e6173;
    font-size: 0.81rem;
    line-height: 1.5;
}

.pd-v11-privacy p {
    margin: 0 0 9px;
}

.pd-v11-privacy p:last-child {
    margin-bottom: 0;
}

.pd-v11-privacy a,
.pd-v11-check a {
    color: var(--pd-v11-blue);
    font-weight: 800;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.pd-v11-check {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    margin-top: 11px;
    color: #33495b;
    font-size: 0.88rem;
    line-height: 1.45;
}

.pd-v11-check input[type="checkbox"] {
    flex: 0 0 auto;
    width: 17px;
    height: 17px;
    margin: 2px 0 0;
    accent-color: var(--pd-v11-blue);
}

.pd-v11-help {
    margin: 7px 0 0 27px;
    color: var(--pd-v11-muted);
    font-size: 0.77rem;
    line-height: 1.4;
}

.pd-v11-form-actions {
    margin-top: 22px;
}

.pd-v11-form-actions .pd-v11-btn {
    width: 100%;
}

.pd-v11-trust-strip {
    padding: 30px 0;
    border-bottom: 1px solid var(--pd-v11-line);
    background: #fff;
}

.pd-v11-trust-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 25px;
}

.pd-v11-trust-item {
    display: flex;
    align-items: center;
    gap: 13px;
    color: var(--pd-v11-navy-dark);
    font-size: 0.9rem;
    font-weight: 700;
    line-height: 1.4;
}

.pd-v11-trust-item i {
    width: 48px;
    height: 48px;
    flex: 0 0 auto;
    display: grid;
    place-items: center;
    border-radius: 14px;
    background: var(--pd-v11-blue-soft);
    color: var(--pd-v11-blue);
    font-size: 1.25rem;
}

/* Reutiliza el modal legal ya existente, limitando los ajustes a esta pagina. */
.pd-clinicas-v11 + .modal-overlay .legal-modal {
    border-radius: 18px;
}

@media (max-width: 1080px) {
    .pd-v11-hero-grid {
        gap: 35px;
    }

    .pd-v11-service-card-wide {
        grid-column: span 3;
    }

    .pd-v11-register-grid {
        grid-template-columns: 1fr 1.15fr;
        gap: 34px;
    }
}

@media (max-width: 860px) {
    .pd-v11-hero {
        padding: 48px 0 58px;
    }

    .pd-v11-hero-grid,
    .pd-v11-register-grid {
        grid-template-columns: 1fr;
    }

    .pd-v11-hero-visual {
        min-height: 445px;
        width: 100%;
        max-width: 650px;
        margin: 0 auto;
    }

    .pd-v11-free-grid,
    .pd-v11-premium-grid {
        grid-template-columns: 1fr;
    }

    .pd-v11-feature-card {
        border: 1px solid var(--pd-v11-line) !important;
        border-radius: 16px;
        box-shadow: 0 10px 28px rgba(22, 58, 89, 0.05);
    }

    .pd-v11-free-grid {
        gap: 16px;
        border: 0;
    }

    .pd-v11-service-card,
    .pd-v11-service-card-wide {
        grid-column: auto;
    }

    .pd-v11-ai-card {
        min-height: 0;
        padding-right: 28px;
        padding-bottom: 235px;
    }

    .pd-v11-ai-photo {
        width: 100%;
        height: 220px;
        -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 35%);
        mask-image: linear-gradient(180deg, transparent 0%, #000 35%);
    }

    .pd-v11-register-copy {
        padding-top: 0;
    }

    .pd-v11-trust-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 600px) {
    .pd-v11-hero h1 {
        font-size: 2.55rem;
    }

    .pd-v11-actions .pd-v11-btn {
        width: 100%;
    }

    .pd-v11-hero-visual {
        min-height: 380px;
    }

    .pd-v11-hero-photo-wrap {
        left: 0;
        bottom: 60px;
        border-radius: 48px 0 48px 48px;
    }

    .pd-v11-free-card {
        right: 0;
        width: 90%;
        padding: 20px;
    }

    .pd-v11-section {
        padding: 66px 0;
    }

    .pd-v11-feature-card,
    .pd-v11-service-card,
    .pd-v11-form-card {
        padding: 24px 22px;
    }

    .pd-v11-service-card .pd-v11-two-cols {
        columns: 1;
    }

    .pd-v11-fields,
    .pd-v11-trust-grid {
        grid-template-columns: 1fr;
    }
}
