/* ==========================================================
   ORTODENT – ÎNTREBĂRI FRECVENTE
   Feedback octombrie 2026:
   - fotografie actualizată în template-ul PHP
   - secțiune întrebări/formular pe alb
   - recenzii Google adăugate înaintea formularului
   - întrebările și formularul existente rămân funcționale
========================================================== */

:root {
    --odf-orange: #ff6a13;
    --odf-orange-dark: #e65300;
    --odf-cream: #fff7f1;
    --odf-ink: #292929;
    --odf-charcoal: #343434;
    --odf-muted: #6e7478;
    --odf-line: #e2e6e8;
    --odf-pale: #f3f7f9;
    --odf-white: #ffffff;
    --odf-shadow: 0 24px 70px rgba(29, 39, 45, .11);
}

body.ortodent-faq-page {
    overflow-x: hidden;
    background: var(--odf-white);
}

body.ortodent-faq-page #content,
body.ortodent-faq-page #content > .ast-container,
body.ortodent-faq-page #primary,
body.ortodent-faq-page .content-area,
body.ortodent-faq-page .site-main {
    display: block !important;
    float: none !important;
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

.odf-page {
    color: var(--odf-ink);
    font-size: 16px;
    line-height: 1.7;
}

.odf-page *,
.odf-page *::before,
.odf-page *::after {
    box-sizing: border-box;
}

.odf-page h1,
.odf-page h2,
.odf-page h3,
.odf-page p {
    margin-top: 0;
}

.odf-page h1,
.odf-page h2,
.odf-page h3 {
    color: inherit;
    line-height: 1.08;
}

.odf-page h1 {
    margin-bottom: 20px;
    font-size: clamp(3.5rem, 8vw, 7.2rem);
    letter-spacing: -.065em;
}

.odf-page h2 {
    margin-bottom: 18px;
    font-size: clamp(2.15rem, 4.2vw, 4.25rem);
    letter-spacing: -.045em;
}

.odf-page a {
    text-decoration: none;
}

.odf-shell {
    width: min(1180px, calc(100% - 40px));
    margin-inline: auto;
}

.odf-section {
    padding: clamp(85px, 9vw, 135px) 0;
}

.odf-eyebrow {
    margin-bottom: 14px;
    color: var(--odf-orange);
    font-size: .73rem;
    font-weight: 900;
    letter-spacing: .18em;
    text-transform: uppercase;
}

.odf-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    padding: 13px 24px;
    border-radius: 999px;
    background: var(--odf-orange);
    color: var(--odf-white);
    font-weight: 900;
    transition: transform .2s ease, background .2s ease, box-shadow .2s ease;
}

.odf-button:hover,
.odf-button:focus {
    background: var(--odf-orange-dark);
    color: var(--odf-white);
    transform: translateY(-2px);
    box-shadow: 0 14px 30px rgba(255, 106, 19, .24);
}

/* Hero păstrat pentru compatibilitate, chiar dacă template-ul actual
   afișează direct zona de întrebări fără acest bloc. */
.odf-hero {
    position: relative;
    overflow: hidden;
    padding: clamp(95px, 13vw, 185px) 0 clamp(125px, 16vw, 230px);
    background: var(--odf-white);
    text-align: center;
}

.odf-hero .odf-shell {
    position: relative;
    z-index: 2;
    max-width: 820px;
}

.odf-hero__subtitle {
    color: var(--odf-muted);
    font-size: 1.08rem;
}

.odf-scroll {
    display: inline-grid;
    width: 44px;
    height: 44px;
    margin-top: 25px;
    place-items: center;
    border: 1px solid #d8dfe2;
    border-radius: 50%;
    color: var(--odf-ink);
    font-size: 1.25rem;
}

.odf-hero__ghost {
    position: absolute;
    left: 50%;
    bottom: -1%;
    transform: translateX(-50%);
    color: #e4eaed;
    font-size: clamp(9rem, 23vw, 22rem);
    font-weight: 900;
    letter-spacing: -.08em;
    line-height: .74;
}

/* ==========================================================
   ÎNTREBĂRI – DOCTOR STÂNGA, ACORDEOANE DREAPTA
========================================================== */

.odf-main {
    background: var(--odf-white);
}

.odf-main__grid {
    display: grid;
    grid-template-columns: 330px minmax(0, 1fr);
    align-items: start;
    gap: clamp(45px, 7vw, 85px);
}

.odf-doctor {
    position: sticky;
    top: 45px;
    overflow: hidden;
    border: 1px solid var(--odf-line);
    border-radius: 24px;
    background: var(--odf-white);
    box-shadow: var(--odf-shadow);
}

.admin-bar .odf-doctor {
    top: 77px;
}

.odf-doctor__image {
    padding: 28px 28px 0;
    background: var(--odf-cream);
}

.odf-doctor__image img {
    display: block;
    width: 100%;
    height: 390px;
    object-fit: contain;
    object-position: center bottom;
    border-radius: 18px 18px 0 0;
}

.odf-doctor__content {
    padding: 28px;
}

.odf-doctor__content h2 {
    font-size: 2rem;
}

.odf-doctor__content > p:not(.odf-eyebrow) {
    color: var(--odf-muted);
}

.odf-faqs {
    min-width: 0;
    border-top: 1px solid var(--odf-line);
}

.odf-faq {
    border-bottom: 1px solid var(--odf-line);
    background: var(--odf-white);
}

.odf-faq summary {
    position: relative;
    padding: 26px 58px 26px 0;
    cursor: pointer;
    font-size: clamp(1.05rem, 1.6vw, 1.3rem);
    font-weight: 900;
    line-height: 1.35;
    list-style: none;
}

.odf-faq summary::-webkit-details-marker {
    display: none;
}

.odf-faq summary::after {
    position: absolute;
    right: 0;
    top: 23px;
    display: grid;
    width: 34px;
    height: 34px;
    place-items: center;
    border-radius: 50%;
    background: var(--odf-cream);
    color: var(--odf-orange);
    content: "+";
    font-size: 1.35rem;
    font-weight: 500;
    transition: transform .2s ease, background .2s ease;
}

.odf-faq[open] summary::after {
    background: var(--odf-orange);
    color: var(--odf-white);
    content: "–";
    transform: rotate(180deg);
}

.odf-answer {
    padding: 0 54px 30px 0;
    color: var(--odf-muted);
}

.odf-answer p {
    margin-bottom: 18px;
}

.odf-answer ul {
    margin: 0 0 20px;
    padding-left: 22px;
}

.odf-answer li {
    margin-bottom: 8px;
}

.odf-answer li::marker {
    color: var(--odf-orange);
}

.odf-answer footer {
    display: inline-flex;
    margin-top: 8px;
    padding: 8px 13px;
    border-radius: 999px;
    background: var(--odf-cream);
    color: var(--odf-orange);
    font-size: .76rem;
    font-weight: 900;
}

/* ==========================================================
   RECENZII GOOGLE – NOI
   Folosește pluginul existent prin [grw id=11422].
========================================================== */

.odf-reviews {
    padding: clamp(64px, 7vw, 104px) 0;
    border-top: 1px solid var(--odf-line);
    background: var(--odf-white);
}

.odf-reviews__heading {
    max-width: 860px;
    margin-bottom: clamp(28px, 3.6vw, 48px);
}

.odf-reviews__heading h2 {
    margin-bottom: 18px;
    color: var(--odf-ink);
    font-size: clamp(2.3rem, 4.6vw, 4.7rem);
    line-height: 1.08;
}

.odf-reviews__heading > p:not(.odf-eyebrow) {
    margin-bottom: 0;
    color: var(--odf-muted);
}

.odf-reviews__widget {
    width: 100%;
    min-width: 0;
}

/* ==========================================================
   ÎNTREABĂ MEDICUL – ALB, NU PORTOCALIU
========================================================== */

.odf-question {
    padding: clamp(75px, 9vw, 120px) 0;
    border-top: 1px solid var(--odf-line);
    background: var(--odf-white);
    color: var(--odf-ink);
}

.odf-question .odf-eyebrow {
    color: var(--odf-orange);
    opacity: 1;
}

.odf-question__grid {
    display: grid;
    grid-template-columns: .8fr 1.2fr;
    align-items: start;
    gap: clamp(50px, 8vw, 105px);
}

.odf-question__grid > div:first-child > p:not(.odf-eyebrow) {
    color: var(--odf-muted);
}

.odf-question h2 {
    color: var(--odf-ink);
}

/* Formularul existent [ortodent_programare] este păstrat complet. */
.odf-question__form {
    padding: clamp(28px, 4vw, 46px);
    border: 1px solid var(--odf-line);
    border-radius: 22px;
    background: var(--odf-white);
    color: var(--odf-ink);
    box-shadow: 0 18px 56px rgba(29, 39, 45, .08);
}

/* Stiluri păstrate pentru compatibilitate cu Contact Form 7,
   dacă shortcode-ul din pagină este schimbat ulterior. */
.odf-question__form .wpcf7-form {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 15px;
}

.odf-question__form .wpcf7-form > p {
    margin: 0;
}

.odf-question__form .wpcf7-form > p:last-of-type,
.odf-question__form .wpcf7-response-output {
    grid-column: 1 / -1;
}

.odf-question__form label {
    display: block;
    font-size: .87rem;
    font-weight: 800;
}

.odf-question__form input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]),
.odf-question__form select,
.odf-question__form textarea {
    width: 100%;
    margin-top: 7px;
    border: 1px solid #dadfe2;
    border-radius: 10px;
    background: var(--odf-white);
}

.odf-question__form textarea {
    min-height: 150px;
    resize: vertical;
}

.odf-question__form input[type="submit"] {
    width: 100%;
    min-height: 52px;
    border-radius: 999px;
    background: var(--odf-orange);
    color: var(--odf-white);
    font-weight: 900;
}

/* ==========================================================
   RESPONSIVE
========================================================== */

@media (max-width: 1024px) {
    .odf-main__grid,
    .odf-question__grid {
        grid-template-columns: 1fr;
    }

    .odf-doctor {
        position: relative;
        top: auto;
        display: grid;
        grid-template-columns: .75fr 1.25fr;
    }

    .admin-bar .odf-doctor {
        top: auto;
    }

    .odf-doctor__image {
        padding: 24px 0 0 24px;
    }

    .odf-doctor__image img {
        height: 330px;
    }
}

@media (max-width: 767px) {
    .odf-shell {
        width: min(100% - 28px, 1180px);
    }

    .odf-section {
        padding: 72px 0;
    }

    .odf-main__grid {
        gap: 45px;
    }

    .odf-doctor {
        grid-template-columns: 1fr;
    }

    .odf-doctor__image {
        padding: 24px 24px 0;
    }

    .odf-doctor__image img {
        height: 380px;
    }

    .odf-faq summary {
        padding-right: 48px;
    }

    .odf-answer {
        padding-right: 0;
    }

    .odf-reviews {
        padding: 55px 0;
    }

    .odf-question {
        padding: 58px 0 66px;
    }

    .odf-question__grid {
        gap: 32px;
    }

    .odf-question__form {
        padding: 24px 18px;
    }

    .odf-question__form .wpcf7-form {
        grid-template-columns: 1fr;
    }
}
