.deti2-page {
    --child-forest: #123d34;
    --child-green: #0b7768;
    --child-mint: #dff1ea;
    --child-coral: #c96f4c;
    --child-cream: #f7f3eb;
    --serif: "NunitoLocal", system-ui, sans-serif;
}

.deti2-page,
.deti2-page h1,
.deti2-page h2,
.deti2-page h3,
.deti2-page h4,
.deti2-page button,
.deti2-page input,
.deti2-page select,
.deti2-page textarea {
    font-family: "NunitoLocal", system-ui, sans-serif;
    letter-spacing: 0;
}

.deti2-page .site-header {
    background: rgba(251, 250, 247, 0.93);
    border-bottom-color: rgba(18, 61, 52, 0.1);
}

.fallback-success {
    display: none;
    position: fixed;
    inset: var(--header-h) 0 auto;
    z-index: 950;
    padding: 14px 0;
    background: #dff1ea;
    color: var(--child-forest);
    box-shadow: 0 14px 32px rgba(18, 61, 52, 0.14);
}

.fallback-success:target {
    display: block;
}

.fallback-success .container {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}

.fallback-success a {
    margin-left: auto;
    color: var(--child-green);
    font-weight: 800;
}

.child-hero {
    position: relative;
    min-height: 780px;
    padding: calc(var(--header-h) + 52px) 0 54px;
    overflow: hidden;
    color: #fff;
    isolation: isolate;
}

.child-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -2;
    background: url("deti-hero.webp") 58% center / cover no-repeat;
    transform: scale(1.015);
}

.child-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(90deg, rgba(8, 32, 27, 0.94) 0%, rgba(8, 32, 27, 0.84) 43%, rgba(8, 32, 27, 0.34) 72%, rgba(8, 32, 27, 0.18) 100%), linear-gradient(0deg, rgba(8, 32, 27, 0.7), transparent 48%);
}

.child-hero__layout {
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(380px, 0.72fr);
    gap: clamp(42px, 6vw, 82px);
    align-items: center;
    min-height: 670px;
}

.child-hero__copy {
    max-width: 720px;
}

.child-hero .eyebrow {
    max-width: 650px;
    margin-bottom: 22px;
}

.child-hero h1 {
    max-width: 720px;
    font-size: clamp(38px, 3.8vw, 52px);
    font-weight: 800;
    line-height: 1.02;
    text-wrap: balance;
}

.child-hero__lead {
    max-width: 690px;
    margin-top: 24px;
    color: rgba(255, 255, 255, 0.84);
    font-size: clamp(18px, 1.7vw, 22px);
    line-height: 1.45;
}

.child-hero__actions,
.child-cta__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 30px;
}

.child-hero__response {
    max-width: 650px;
    margin-top: 18px;
    color: rgba(255, 255, 255, 0.68);
    font-size: 14px;
}

.deti2-page .medical-note {
    max-width: 760px;
    color: rgba(255, 255, 255, 0.78);
    font-size: 14px;
    line-height: 1.45;
}

.hero-consultation {
    align-self: center;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.34);
    border-radius: 8px;
    background: rgba(250, 253, 250, 0.94);
    color: var(--ink);
    box-shadow: 0 30px 90px rgba(5, 24, 20, 0.3);
    backdrop-filter: blur(18px);
}

.hero-consultation__doctor {
    display: grid;
    grid-template-columns: 96px 1fr;
    gap: 18px;
    align-items: center;
    padding: 18px;
    border-bottom: 1px solid var(--line);
    background: rgba(223, 241, 234, 0.7);
}

.hero-consultation__doctor img {
    width: 96px;
    height: 112px;
    border-radius: 6px;
    object-fit: cover;
    object-position: center 18%;
}

.hero-consultation__doctor span,
.hero-consultation__doctor p {
    color: var(--muted);
    font-size: 13px;
}

.hero-consultation__doctor strong {
    display: block;
    margin: 3px 0 4px;
    color: var(--child-forest);
    font-size: 22px;
    line-height: 1.04;
}

.hero-consultation__body {
    padding: 26px;
}

.hero-consultation__body h2 {
    max-width: 390px;
    font-size: clamp(27px, 2.4vw, 35px);
    line-height: 1.04;
}

.hero-consultation__price {
    display: flex;
    align-items: baseline;
    gap: 14px;
    margin-top: 22px;
}

.hero-consultation__price strong {
    color: var(--child-forest);
    font-size: 35px;
    line-height: 1;
    white-space: nowrap;
}

.hero-consultation__price span {
    color: var(--muted);
    font-size: 14px;
}

.hero-consultation ul {
    display: grid;
    gap: 10px;
    margin: 24px 0;
    padding: 0;
    color: #4d5c57;
    font-size: 15px;
    list-style: none;
}

.hero-consultation li {
    position: relative;
    padding-left: 22px;
}

.hero-consultation li::before {
    content: "";
    position: absolute;
    top: 0.62em;
    left: 0;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--accent);
}

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

.trust-bar {
    border-bottom: 1px solid var(--line);
    background: #fff;
}

.trust-bar__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.trust-bar__grid > * {
    min-width: 0;
    padding: 24px 22px;
    border-right: 1px solid var(--line);
    text-decoration: none;
}

.trust-bar__grid > *:first-child {
    padding-left: 0;
}

.trust-bar__grid > *:last-child {
    border-right: 0;
}

.trust-bar strong,
.trust-bar span {
    display: block;
}

.trust-bar strong {
    color: var(--child-forest);
    font-size: 18px;
}

.trust-bar span {
    margin-top: 4px;
    color: var(--muted);
    font-size: 13px;
}

.trust-bar a:hover strong,
.trust-bar a:focus-visible strong {
    color: var(--accent);
}

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

.situation-card {
    min-height: 310px;
    padding: 30px;
    border: 1px solid rgba(18, 61, 52, 0.14);
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 18px 54px rgba(18, 61, 52, 0.06);
    transition: border-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.situation-card:hover {
    border-color: rgba(11, 119, 104, 0.36);
    transform: translateY(-4px);
    box-shadow: 0 24px 64px rgba(18, 61, 52, 0.11);
}

.situation-card__number {
    display: inline-flex;
    color: var(--child-coral);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.13em;
}

.situation-card h3 {
    margin-top: 54px;
    font-size: 26px;
    line-height: 1.08;
}

.situation-card p {
    margin-top: 14px;
    color: var(--muted);
}

.outcome-layout {
    display: grid;
    grid-template-columns: minmax(320px, 0.8fr) minmax(0, 1.2fr);
    gap: clamp(48px, 7vw, 100px);
    align-items: start;
}

.outcome-layout .section-head {
    position: sticky;
    top: calc(var(--header-h) + 36px);
    margin-bottom: 0;
}

.outcome-list {
    border-top: 1px solid rgba(18, 61, 52, 0.18);
}

.outcome-item {
    display: grid;
    grid-template-columns: 72px 1fr;
    gap: 20px;
    padding: 30px 0;
    border-bottom: 1px solid rgba(18, 61, 52, 0.18);
}

.outcome-item > span {
    color: var(--child-green);
    font-size: 28px;
    font-weight: 800;
}

.outcome-item h3 {
    font-size: 24px;
    line-height: 1.1;
}

.outcome-item p {
    margin-top: 8px;
    color: var(--muted);
}

.doctor-section {
    background: var(--child-cream);
}

.doctor-profile {
    display: grid;
    grid-template-columns: 270px minmax(0, 1fr);
    gap: clamp(40px, 6vw, 76px);
    align-items: start;
}

.doctor-profile__media {
    position: relative;
    width: 250px;
    max-width: 100%;
}

.doctor-profile__media img {
    width: 100%;
    height: 330px;
    border-radius: 8px;
    object-fit: cover;
    object-position: center 14%;
    box-shadow: 0 28px 80px rgba(18, 61, 52, 0.15);
}

.doctor-profile__badge {
    position: absolute;
    right: -22px;
    bottom: 24px;
    width: 128px;
    padding: 18px;
    border-radius: 8px;
    background: var(--child-forest);
    color: #fff;
    box-shadow: 0 18px 48px rgba(18, 61, 52, 0.22);
}

.doctor-profile__badge strong,
.doctor-profile__badge span {
    display: block;
}

.doctor-profile__badge strong {
    font-size: 34px;
    line-height: 1;
}

.doctor-profile__badge span {
    margin-top: 5px;
    color: rgba(255, 255, 255, 0.68);
    font-size: 12px;
}

.doctor-profile__content h2 {
    display: grid;
    margin-top: 8px;
    color: var(--child-forest);
    font-size: clamp(42px, 5vw, 66px);
    line-height: 0.91;
}

.doctor-profile__role {
    max-width: 700px;
    margin-top: 24px;
    color: var(--child-forest);
    font-size: 22px;
    font-weight: 800;
}

.doctor-profile__intro {
    max-width: 720px;
    margin-top: 14px;
    color: var(--muted);
    font-size: 17px;
}

.doctor-profile__facts {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1px;
    margin-top: 28px;
    border: 1px solid var(--line);
    border-radius: 8px;
    overflow: hidden;
    background: var(--line);
}

.doctor-profile__facts div {
    padding: 18px;
    background: rgba(255, 255, 255, 0.72);
}

.doctor-profile__facts strong,
.doctor-profile__facts span {
    display: block;
}

.doctor-profile__facts strong {
    color: var(--child-forest);
}

.doctor-profile__facts span {
    margin-top: 4px;
    color: var(--muted);
    font-size: 12px;
}

.doctor-profile__details {
    margin: 26px 0;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.doctor-profile__details summary {
    position: relative;
    padding: 20px 46px 20px 0;
    color: var(--child-forest);
    font-weight: 800;
    cursor: pointer;
    list-style: none;
}

.doctor-profile__details summary::-webkit-details-marker {
    display: none;
}

.doctor-profile__details summary::after {
    content: "+";
    position: absolute;
    top: 14px;
    right: 0;
    display: grid;
    width: 32px;
    height: 32px;
    place-items: center;
    border-radius: 50%;
    background: var(--accent);
    color: #fff;
    font-size: 20px;
}

.doctor-profile__details[open] summary::after {
    content: "−";
}

.doctor-profile__details ol {
    display: grid;
    gap: 12px;
    margin: 0 0 22px;
    padding: 0;
    list-style: none;
}

.doctor-profile__details li {
    display: grid;
    grid-template-columns: 100px 1fr;
    gap: 14px;
}

.doctor-profile__details time {
    color: var(--child-green);
    font-weight: 800;
}

.process-layout {
    display: grid;
    grid-template-columns: minmax(320px, 0.84fr) minmax(0, 1.16fr);
    gap: clamp(48px, 8vw, 110px);
    align-items: start;
}

.process-intro {
    position: sticky;
    top: calc(var(--header-h) + 36px);
}

.prepare-note {
    margin-top: 30px;
    padding: 22px;
    border-left: 3px solid var(--child-coral);
    background: rgba(255, 255, 255, 0.62);
}

.prepare-note strong {
    color: var(--child-forest);
}

.prepare-note p {
    margin-top: 7px;
    color: var(--muted);
    font-size: 15px;
}

.process-steps {
    margin: 0;
    padding: 0;
    border-top: 1px solid rgba(18, 61, 52, 0.18);
    list-style: none;
}

.process-steps li {
    display: grid;
    grid-template-columns: 120px 1fr;
    gap: 24px;
    padding: 30px 0;
    border-bottom: 1px solid rgba(18, 61, 52, 0.18);
}

.process-steps > li > span {
    color: var(--child-green);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.process-steps h3 {
    font-size: 23px;
    line-height: 1.1;
}

.process-steps p {
    margin-top: 8px;
    color: var(--muted);
}

.price-section {
    background: var(--child-forest);
    color: #fff;
}

.price-section .kicker,
.child-cta .kicker {
    color: #8edbd0;
}

.price-section .section-copy {
    color: rgba(255, 255, 255, 0.66);
}

.price-focus {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto auto;
    gap: 34px;
    align-items: center;
    padding: 34px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.07);
}

.price-focus__main > span,
.supporting-services article > div > span {
    color: #8edbd0;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.price-focus h3 {
    margin-top: 8px;
    font-size: 29px;
    line-height: 1.06;
}

.price-focus p {
    max-width: 620px;
    margin-top: 10px;
    color: rgba(255, 255, 255, 0.66);
}

.price-focus__value {
    text-align: right;
}

.price-focus__value strong,
.price-focus__value span {
    display: block;
    white-space: nowrap;
}

.price-focus__value strong {
    font-size: 38px;
}

.price-focus__value span {
    margin-top: 5px;
    color: rgba(255, 255, 255, 0.6);
}

.supporting-services {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    margin-top: 18px;
}

.supporting-services article {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 24px;
    align-items: end;
    padding: 28px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 8px;
}

.supporting-services h3 {
    margin-top: 8px;
    font-size: 22px;
}

.supporting-services p {
    margin-top: 8px;
    color: rgba(255, 255, 255, 0.62);
    font-size: 14px;
}

.supporting-services article > strong {
    font-size: 24px;
    white-space: nowrap;
}

.supporting-services small {
    display: block;
    margin-top: 4px;
    color: rgba(255, 255, 255, 0.54);
    font-size: 12px;
    font-weight: 400;
}

.medical-note--dark {
    color: rgba(255, 255, 255, 0.7);
}

.trust-layout .section-head {
    max-width: 850px;
}

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

.evidence-card {
    min-height: 310px;
    padding: 28px;
    border: 1px solid rgba(18, 61, 52, 0.14);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.68);
}

.evidence-card > span {
    color: var(--child-green);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.evidence-card h3 {
    margin-top: 28px;
    font-size: 25px;
}

.evidence-card p {
    margin: 12px 0 22px;
    color: var(--muted);
}

.evidence-card a {
    display: block;
    width: fit-content;
    margin-top: 9px;
    color: var(--child-green);
    font-weight: 800;
    text-underline-offset: 4px;
}

.evidence-card--accent {
    background: var(--child-forest);
    color: #fff;
}

.evidence-card--accent > span,
.evidence-card--accent a {
    color: #8edbd0;
}

.evidence-card--accent p {
    color: rgba(255, 255, 255, 0.68);
}

.faq-layout {
    display: grid;
    grid-template-columns: minmax(300px, 0.72fr) minmax(0, 1.28fr);
    gap: clamp(42px, 7vw, 96px);
    align-items: start;
}

.faq-list {
    border-top: 1px solid var(--line);
}

.faq-list details {
    border-bottom: 1px solid var(--line);
}

.faq-list summary {
    position: relative;
    padding: 22px 52px 22px 0;
    color: var(--child-forest);
    font-size: 19px;
    font-weight: 800;
    cursor: pointer;
    list-style: none;
}

.faq-list summary::-webkit-details-marker {
    display: none;
}

.faq-list summary::after {
    content: "+";
    position: absolute;
    top: 18px;
    right: 0;
    color: var(--child-green);
    font-size: 28px;
    line-height: 1;
}

.faq-list details[open] summary::after {
    content: "−";
}

.faq-list details p {
    max-width: 680px;
    padding: 0 48px 22px 0;
    color: var(--muted);
}

.child-cta h2 {
    max-width: 720px;
    font-size: clamp(38px, 5vw, 62px);
}

.child-cta > .container > div > p:not(.medical-note) {
    max-width: 650px;
    margin-top: 18px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 17px;
}

.deti2-page.modal-open .online-consult-sticker,
.deti2-page.modal-open .a11y-toolbar,
.deti2-page.modal-open .cookie-consent {
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
}

.deti2-page .online-consult-sticker.is-cookie-visible {
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
}

.deti2-page .modal__header p {
    max-width: 520px;
}

.deti2-page .consent-check a {
    color: var(--accent-dark);
    font-weight: 800;
}

.deti2-page #booking-form .consent-check {
    order: 1;
}

.deti2-page #booking-form button[type="submit"] {
    order: 2;
}

.deti2-page #booking-form .booking-status {
    order: 3;
}

.deti2-page #booking-form > .privacy:not(.consent-check) {
    order: 4;
}

.deti2-page #booking-form .booking-channels {
    order: 5;
    margin-top: 4px;
}

@media (max-width: 1040px) {
    .child-hero__layout {
        grid-template-columns: minmax(0, 1fr) 380px;
        gap: 30px;
    }

    .child-hero h1 {
        font-size: clamp(38px, 5vw, 50px);
    }

    .price-focus {
        grid-template-columns: 1fr auto;
    }

    .price-focus .btn {
        grid-column: 1 / -1;
        width: fit-content;
    }
}

@media (max-width: 820px) {
    .child-hero {
        padding-top: calc(var(--header-h) + 34px);
    }

    .child-hero::before {
        background-position: 66% center;
    }

    .child-hero::after {
        background: linear-gradient(180deg, rgba(8, 32, 27, 0.84) 0%, rgba(8, 32, 27, 0.78) 56%, rgba(8, 32, 27, 0.94) 100%);
    }

    .child-hero__layout,
    .outcome-layout,
    .doctor-profile,
    .process-layout,
    .faq-layout {
        grid-template-columns: 1fr;
    }

    .child-hero__layout {
        min-height: auto;
    }

    .child-hero__copy {
        padding-top: 20px;
    }

    .hero-consultation {
        width: min(100%, 560px);
    }

    .trust-bar__grid,
    .situation-grid,
    .evidence-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .trust-bar__grid > *:nth-child(2) {
        border-right: 0;
    }

    .trust-bar__grid > *:nth-child(-n + 2) {
        border-bottom: 1px solid var(--line);
    }

    .trust-bar__grid > *:nth-child(3) {
        padding-left: 0;
    }

    .outcome-layout .section-head,
    .process-intro {
        position: static;
    }

    .doctor-profile__media {
        width: 240px;
    }

    .supporting-services {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 620px) {
    .child-hero {
        min-height: auto;
        padding-bottom: 34px;
    }

    .child-hero::before {
        background-position: 72% top;
    }

    .child-hero .eyebrow {
        font-size: 11px;
        letter-spacing: 0.1em;
    }

    .child-hero h1 {
        font-size: clamp(34px, 9.5vw, 43px);
        line-height: 1;
    }

    .child-hero__lead {
        font-size: 17px;
    }

    .child-hero__actions,
    .child-cta__actions {
        display: grid;
    }

    .child-hero__actions .btn,
    .child-cta__actions .btn {
        width: 100%;
    }

    .hero-consultation__doctor {
        grid-template-columns: 80px 1fr;
    }

    .hero-consultation__doctor img {
        width: 80px;
        height: 96px;
    }

    .hero-consultation__body {
        padding: 22px;
    }

    .hero-consultation__price {
        justify-content: space-between;
    }

    .hero-consultation__price strong {
        font-size: 31px;
    }

    .trust-bar__grid,
    .situation-grid,
    .evidence-grid,
    .doctor-profile__facts {
        grid-template-columns: 1fr;
    }

    .trust-bar__grid > * {
        padding: 18px 0;
        border-right: 0;
        border-bottom: 1px solid var(--line);
    }

    .trust-bar__grid > *:last-child {
        border-bottom: 0;
    }

    .situation-card {
        min-height: 0;
        padding: 24px;
    }

    .situation-card h3 {
        margin-top: 34px;
    }

    .outcome-item {
        grid-template-columns: 48px 1fr;
        gap: 14px;
    }

    .doctor-profile {
        gap: 38px;
    }

    .doctor-profile__media {
        width: 220px;
    }

    .doctor-profile__media img {
        height: 290px;
    }

    .doctor-profile__badge {
        right: -22px;
        bottom: 18px;
    }

    .doctor-profile__content h2 {
        font-size: 44px;
    }

    .doctor-profile__facts div {
        border-bottom: 1px solid var(--line);
    }

    .doctor-profile__facts div:last-child {
        border-bottom: 0;
    }

    .doctor-profile__details li,
    .process-steps li {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .price-focus {
        grid-template-columns: 1fr;
        gap: 24px;
        padding: 24px;
    }

    .price-focus__value {
        text-align: left;
    }

    .price-focus .btn {
        width: 100%;
    }

    .supporting-services article {
        grid-template-columns: 1fr;
    }

    .supporting-services article > strong {
        padding-top: 18px;
        border-top: 1px solid rgba(255, 255, 255, 0.14);
    }

    .faq-list summary {
        font-size: 17px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .situation-card {
        transition: none;
    }
}
