/* ==============================================================
   ORTODENT — ORTODONȚIE ADULȚI · VARIANTA FINALĂ
   Hero foto cu text animat + articol editorial + contact sticky
   + cele patru fotografii și recenzii Google
   Înlocuiește integral assets/css/ortodontie-adulti.css
   ============================================================= */

body.ortodent-ortodontie-layout-page {
    overflow-x: hidden;
    background: #ffffff;
}

body.ortodent-ortodontie-layout-page #content,
body.ortodent-ortodontie-layout-page #content > .ast-container,
body.ortodent-ortodontie-layout-page #primary,
body.ortodent-ortodontie-layout-page .content-area,
body.ortodent-ortodontie-layout-page .site-main {
    display: block !important;
    float: none !important;
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

.odaort-page {
    --odaort-orange: #ff6a13;
    --odaort-orange-dark: #e65300;
    --odaort-ink: #252525;
    --odaort-muted: #687178;
    --odaort-pale: #fff7f1;
    --odaort-line: #ebe5e0;
    --odaort-white: #ffffff;
    --odaort-shadow: 0 24px 70px rgba(32, 25, 20, .12);
    width: 100%;
    background: #ffffff;
    color: var(--odaort-ink);
}

.odaort-page *,
.odaort-page *::before,
.odaort-page *::after {
    box-sizing: border-box;
}

.odaort-page a {
    text-decoration: none;
}

/* ==============================================================
   HERO — ÎNCEPUT DIRECT CU IMAGINEA
   ============================================================= */

.odaort-page .odaort-hero {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    isolation: isolate;
    overflow: hidden;
    width: 100%;
    min-height: clamp(540px, 78svh, 810px);
    padding: clamp(100px, 13vw, 180px) 0;
    background: #353535;
}

.odaort-hero__image {
    position: absolute;
    z-index: -2;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
}

.odaort-hero__overlay {
    position: absolute;
    z-index: -1;
    inset: 0;
    background: linear-gradient(90deg,
        rgba(16, 21, 24, .54) 0%,
        rgba(16, 21, 24, .35) 52%,
        rgba(16, 21, 24, .32) 100%);
}

.odaort-hero__inner {
    position: relative;
    z-index: 1;
    width: min(1260px, calc(100% - 48px));
    margin-inline: auto;
}

.odaort-hero__content {
    width: 100%;
    margin-inline: auto;
    text-align: center;
}

.odaort-hero__eyebrow {
    margin: 0 0 22px;
    color: #ffffff;
    font-size: clamp(.7rem, 1vw, .85rem);
    font-weight: 900;
    letter-spacing: .2em;
    line-height: 1.5;
    text-transform: uppercase;
    text-shadow: 0 2px 16px rgba(0, 0, 0, .28);
    opacity: 0;
    transform: translateY(18px);
    animation: odaortHeroIntro .9s cubic-bezier(.22, 1, .36, 1) .18s forwards;
}

.odaort-page .odaort-hero h1 {
    margin: 0;
    max-width: none;
    color: #ffffff;
    font-size: clamp(3.4rem, 8.1vw, 8.6rem);
    font-weight: 900;
    line-height: .98;
    letter-spacing: -.065em;
    text-shadow: 0 5px 32px rgba(0, 0, 0, .27);
}

.odaort-hero__title-line {
    display: flex;
    align-items: baseline;
    justify-content: center;
    flex-wrap: wrap;
    column-gap: .23em;
    row-gap: .08em;
    overflow: visible;
}

.odaort-hero__word {
    display: inline-flex;
    white-space: nowrap;
}

.odaort-hero__char {
    display: inline-block;
    position: relative;
    opacity: 0;
    transform: translateY(100%) rotate(-15deg);
    transform-origin: 50% 50%;
    animation: odaortHeroCharReveal 1.55s cubic-bezier(.165, .84, .44, 1) var(--odaort-char-delay, .35s) forwards;
    will-change: opacity, transform;
}

@keyframes odaortHeroCharReveal {
    from { opacity: 0; transform: translateY(100%) rotate(-15deg); }
    to   { opacity: 1; transform: translateY(0) rotate(0); }
}

@keyframes odaortHeroIntro {
    to { opacity: 1; transform: translateY(0); }
}

/* ==============================================================
   CORPUL ARTICOLULUI + SIDEBAR STICKY
   ============================================================= */

.odaort-content-section {
    padding: clamp(58px, 6vw, 92px) 0 clamp(70px, 7vw, 106px);
    background: #ffffff;
}

.odaort-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(310px, 370px);
    align-items: start;
    gap: clamp(40px, 5vw, 74px);
}

.odaort-article {
    min-width: 0;
    width: 100%;
}

/* Compatibilitate cu clasele din varianta veche */
.odaort-featured-image,
.odaort-content-image {
    overflow: hidden;
    margin: 0;
    border-radius: 24px;
    background: var(--odaort-white);
    box-shadow: var(--odaort-shadow);
}

.odaort-featured-image {
    margin-bottom: clamp(34px, 4vw, 54px);
}

.odaort-featured-image img {
    display: block;
    width: 100%;
    height: clamp(430px, 48vw, 650px);
    object-fit: cover;
    object-position: center;
}

.odaort-content-image {
    margin-bottom: clamp(42px, 5vw, 68px);
}

.odaort-content-image img {
    display: block;
    width: 100%;
    height: clamp(350px, 42vw, 530px);
    object-fit: cover;
    object-position: center;
    transition: transform .8s cubic-bezier(.22, 1, .36, 1);
}

.odaort-content-image:hover img {
    transform: scale(1.025);
}

.odaort-article-intro {
    margin-bottom: 30px;
}

.odaort-article-intro .oda-eyebrow {
    color: var(--odaort-orange);
}

.odaort-article-intro h2 {
    max-width: 760px;
    margin-bottom: 0;
    color: var(--odaort-ink);
    font-size: clamp(2.5rem, 4.2vw, 4.4rem);
    letter-spacing: -.05em;
}

.odaort-copy-section {
    margin-bottom: clamp(42px, 5vw, 68px);
}

.odaort-copy-section--last {
    margin-bottom: 0;
}

.odaort-copy-section h2 {
    margin-bottom: 22px;
    color: var(--odaort-ink);
    font-size: clamp(2rem, 3vw, 3.15rem);
    line-height: 1.1;
    letter-spacing: -.04em;
}

.odaort-copy-section p {
    margin-bottom: 18px;
    color: var(--odaort-muted);
    font-size: clamp(1rem, 1.08vw, 1.08rem);
    line-height: 1.8;
}

.odaort-copy-section strong {
    color: var(--odaort-ink);
}

.odaort-numbered-list,
.odaort-check-list,
.odaort-method-list {
    display: grid;
    gap: 0;
    margin: 26px 0 30px;
    padding: 0;
    list-style: none;
}

.odaort-numbered-list {
    counter-reset: odaort-list;
}

.odaort-numbered-list li,
.odaort-check-list li,
.odaort-method-list li {
    position: relative;
    padding: 14px 0 14px 46px;
    border-top: 1px solid var(--odaort-line);
    color: var(--odaort-muted);
}

.odaort-numbered-list li:last-child,
.odaort-check-list li:last-child,
.odaort-method-list li:last-child {
    border-bottom: 1px solid var(--odaort-line);
}

.odaort-numbered-list li {
    counter-increment: odaort-list;
}

.odaort-numbered-list li::before {
    position: absolute;
    top: 12px;
    left: 0;
    display: grid;
    width: 29px;
    height: 29px;
    place-items: center;
    border-radius: 50%;
    background: var(--odaort-orange);
    color: var(--odaort-white);
    content: counter(odaort-list);
    font-size: .72rem;
    font-weight: 900;
}

.odaort-check-list li::before,
.odaort-method-list li::before {
    position: absolute;
    top: 13px;
    left: 2px;
    display: grid;
    width: 25px;
    height: 25px;
    place-items: center;
    border-radius: 50%;
    background: var(--odaort-orange);
    color: var(--odaort-white);
    content: "✓";
    font-size: .68rem;
    font-weight: 900;
}

.odaort-method-list a {
    color: var(--odaort-ink);
    font-weight: 900;
}

.odaort-method-list a:hover,
.odaort-method-list a:focus {
    color: var(--odaort-orange);
}

/* ==============================================================
   CONTACT STICKY
   ============================================================= */

.odaort-sidebar {
    position: sticky;
    top: 118px;
    align-self: start;
}

.admin-bar .odaort-sidebar {
    top: 150px;
}

.odaort-sidebar-card {
    padding: 30px;
    border: 1px solid var(--odaort-line);
    border-radius: 24px;
    background: var(--odaort-white);
    box-shadow: 0 18px 54px rgba(27, 42, 51, .08);
}

.odaort-sidebar-card__head {
    margin-bottom: 24px;
}

.odaort-sidebar-card__head h2 {
    margin-bottom: 14px;
    color: var(--odaort-ink);
    font-size: clamp(1.9rem, 2.7vw, 2.6rem);
    line-height: 1.05;
}

.odaort-sidebar-card__head > p:last-child {
    margin-bottom: 0;
    color: var(--odaort-muted);
    font-size: .95rem;
    line-height: 1.65;
}

.odaort-contact-info {
    display: grid;
    gap: 0;
    border-top: 1px solid var(--odaort-line);
}

.odaort-contact-info > a,
.odaort-contact-info > div {
    display: grid;
    gap: 4px;
    padding: 14px 0;
    border-bottom: 1px solid var(--odaort-line);
    color: var(--odaort-ink);
}

.odaort-contact-info > a {
    transition: color .2s ease, padding-left .2s ease;
}

.odaort-contact-info > a:hover,
.odaort-contact-info > a:focus {
    padding-left: 5px;
    color: var(--odaort-orange);
}

.odaort-contact-info span {
    color: var(--odaort-muted);
    font-size: .78rem;
}

.odaort-contact-info strong {
    font-size: .94rem;
    line-height: 1.45;
    overflow-wrap: anywhere;
}

.odaort-contact-button {
    display: inline-flex;
    width: 100%;
    min-height: 50px;
    align-items: center;
    justify-content: center;
    margin-top: 24px;
    padding: 13px 20px;
    border-radius: 999px;
    background: var(--odaort-orange);
    color: var(--odaort-white);
    font-weight: 900;
    text-align: center;
    transition: background .2s ease, transform .2s ease, box-shadow .2s ease;
}

.odaort-contact-button:hover,
.odaort-contact-button:focus {
    background: var(--odaort-orange-dark);
    color: var(--odaort-white);
    transform: translateY(-2px);
    box-shadow: 0 14px 30px rgba(255, 106, 19, .22);
}

/* ==============================================================
   DESCOPERĂ ȘI CELELALTE TRATAMENTE
   ============================================================= */

.odaort-related {
    padding: clamp(62px, 7vw, 104px) 0;
    background: var(--odaort-pale);
}

.odaort-related__heading {
    max-width: 760px;
    margin-bottom: 36px;
}

.odaort-related__heading .oda-eyebrow {
    color: var(--odaort-orange);
}

.odaort-related__heading h2 {
    margin-bottom: 0;
    color: var(--odaort-ink);
}

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

.odaort-related-card {
    position: relative;
    display: flex;
    min-height: 470px;
    align-items: flex-end;
    overflow: hidden;
    padding: clamp(28px, 4vw, 48px);
    border-radius: 24px;
    background-image:
        linear-gradient(180deg, rgba(20, 24, 28, .08) 20%, rgba(20, 24, 28, .88) 100%),
        var(--odaort-related-image);
    background-position: center;
    background-size: cover;
    color: var(--odaort-white);
    box-shadow: var(--odaort-shadow);
    transition: transform .25s ease, box-shadow .25s ease;
}

.odaort-related-card:hover,
.odaort-related-card:focus {
    color: var(--odaort-white);
    transform: translateY(-5px);
    box-shadow: 0 30px 80px rgba(27, 42, 51, .18);
}

.odaort-related-card > div {
    position: relative;
    z-index: 1;
    max-width: 540px;
}

.odaort-related-card h3 {
    margin-bottom: 14px;
    color: var(--odaort-white);
    font-size: clamp(2rem, 3.4vw, 3.3rem);
}

.odaort-related-card p {
    margin-bottom: 22px;
    color: rgba(255, 255, 255, .82);
}

.odaort-related-card span {
    display: inline-flex;
    padding-bottom: 4px;
    border-bottom: 2px solid var(--odaort-orange);
    color: var(--odaort-white);
    font-weight: 900;
}

/* ==============================================================
   RECENZII GOOGLE — DUPĂ CELELALTE TRATAMENTE
   ============================================================= */

.odaort-reviews {
    padding: clamp(60px, 6.5vw, 94px) 0;
    background: #ffffff;
    color: var(--odaort-ink);
}

.odaort-reviews__heading {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
    align-items: end;
    gap: clamp(24px, 5vw, 60px);
    margin-bottom: clamp(30px, 4vw, 48px);
}

.odaort-reviews__heading .oda-eyebrow {
    margin-bottom: 12px;
    color: var(--odaort-orange);
}

.odaort-reviews__heading h2 {
    margin-bottom: 0;
    color: var(--odaort-ink);
    font-size: clamp(2.5rem, 4.4vw, 4.6rem);
    line-height: 1.06;
    letter-spacing: -.05em;
}

.odaort-reviews__heading > p {
    max-width: 450px;
    margin-bottom: 0;
    color: var(--odaort-muted);
    line-height: 1.75;
}

.odaort-reviews__widget {
    width: 100%;
    min-width: 0;
}

/* ==============================================================
   REVEAL — ANIMAȚIILE ORIGINALE ALE CONȚINUTULUI
   ============================================================= */

.odaort-motion-enabled .odaort-reveal {
    opacity: 0;
    transition:
        opacity 1.35s cubic-bezier(.22, 1, .36, 1),
        transform 1.08s cubic-bezier(.22, 1, .36, 1);
    transition-delay: var(--odaort-reveal-delay, 0ms);
    will-change: opacity, transform;
}

.odaort-motion-enabled .odaort-reveal--up {
    transform: translate3d(0, 48px, 0);
}

.odaort-motion-enabled .odaort-reveal--left {
    transform: translate3d(-70px, 0, 0);
}

.odaort-motion-enabled .odaort-reveal--right {
    transform: translate3d(70px, 0, 0);
}

.odaort-motion-enabled .odaort-reveal--scale {
    transform: translate3d(0, 30px, 0) scale(.96);
}

.odaort-motion-enabled .odaort-reveal.is-visible {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
}

/* ==============================================================
   TABLETĂ
   ============================================================= */

@media (max-width: 1024px) {
    .odaort-layout {
        grid-template-columns: 1fr;
        gap: 44px;
    }

    .odaort-sidebar,
    .admin-bar .odaort-sidebar {
        position: static;
        top: auto;
    }

    .odaort-related__grid,
    .odaort-reviews__heading {
        grid-template-columns: 1fr;
    }

    .odaort-hero__image {
        object-position: center center;
    }
}

/* ==============================================================
   MOBIL
   ============================================================= */

@media (max-width: 767px) {
    .odaort-page .odaort-hero {
        min-height: 530px;
        min-height: 70svh;
        padding: 100px 0 76px;
    }

    .odaort-hero__inner {
        width: min(100% - 32px, 1260px);
    }

    .odaort-page .odaort-hero h1 {
        font-size: clamp(2.85rem, 11vw, 5.2rem);
        line-height: 1.08;
        letter-spacing: -.055em;
    }

    .odaort-hero__eyebrow {
        font-size: .67rem;
    }

    .odaort-hero__overlay {
        background: linear-gradient(180deg, rgba(16, 21, 24, .38), rgba(16, 21, 24, .55));
    }

    .odaort-content-section {
        padding: 46px 0 64px;
    }

    .odaort-featured-image,
    .odaort-content-image,
    .odaort-sidebar-card,
    .odaort-related-card {
        border-radius: 20px;
    }

    .odaort-featured-image img {
        height: 370px;
    }

    .odaort-content-image img {
        height: clamp(250px, 76vw, 360px);
    }

    .odaort-sidebar-card {
        padding: 24px;
    }

    .odaort-related-card {
        min-height: 430px;
    }

    .odaort-reviews__heading {
        gap: 18px;
    }

    .odaort-reviews__heading h2 {
        font-size: clamp(2.2rem, 9vw, 3.5rem);
    }

    .odaort-motion-enabled .odaort-reveal {
        transition-duration: 1.05s, .9s;
    }

    .odaort-motion-enabled .odaort-reveal--left,
    .odaort-motion-enabled .odaort-reveal--right {
        transform: translate3d(0, 38px, 0);
    }
}

@media (max-width: 400px) {
    .odaort-page .odaort-hero h1 {
        font-size: clamp(2.55rem, 10.7vw, 3.3rem);
    }
}

/* ==============================================================
   ACCESIBILITATE — FĂRĂ ANIMAȚII LA REDUCED MOTION
   ============================================================= */

@media (prefers-reduced-motion: reduce) {
    .odaort-hero__eyebrow,
    .odaort-hero__char {
        opacity: 1 !important;
        transform: none !important;
        animation: none !important;
        will-change: auto !important;
    }

    .odaort-motion-enabled .odaort-reveal {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }

    .odaort-content-image img {
        transition: none;
    }
}


/* ==============================================================
   ORTODENT OCTOMBRIE 2026 — REVIZIE FINALĂ STRICT ACEASTĂ PAGINĂ
   Hero fotografie + titlu animat, recenzii, carduri fără descrieri
   ============================================================= */

body.ortodent-ortodontie-layout-page { background: #ffffff; }

.odaort-page {
    --odaort-orange: #ff6a13;
    --odaort-orange-dark: #e65300;
    --odaort-ink: #252525;
    --odaort-muted: #687178;
    --odaort-line: #e7e3df;
    --odaort-white: #ffffff;
    --odaort-shadow: 0 24px 70px rgba(32,25,20,.12);
    background: #ffffff;
    color: #252525;
}
.odaort-page *, .odaort-page *::before, .odaort-page *::after { box-sizing: border-box; }
.odaort-page .odaort-content-section { background:#ffffff; padding-top:clamp(58px,6vw,92px); }
.odaort-page .odaort-related { background:#ffffff; }

/* CARDURI: numai titlul vizibil peste imaginea de cover actualizată */
.odaort-page .odaort-related-card {
    display:flex;
    align-items:flex-end;
    background-image: linear-gradient(180deg, rgba(15,20,26,.03) 0%, rgba(15,20,26,.18) 43%, rgba(15,20,26,.80) 100%), var(--odaort-related-image);
    text-decoration:none;
}
.odaort-page .odaort-related-card h3,
.odaort-page .odaort-related-card:hover h3,
.odaort-page .odaort-related-card:focus h3 {
    margin:0;
    color:#fff !important;
    text-shadow:0 3px 15px rgba(0,0,0,.50);
    font-size:clamp(2rem,3.2vw,3.2rem);
    line-height:1.12;
}
.odaort-page .odaort-related-card p,
.odaort-page .odaort-related-card span { display:none !important; }
.odaort-page .odaort-related-card:focus-visible { outline: 3px solid #ff6a13; outline-offset:4px; }

@media (max-width: 1024px) {
 .odaort-page .odaort-related__grid, .odaort-reviews__heading { grid-template-columns:1fr; }
}
@media (max-width: 767px) {
 .odaort-page .odaort-hero { min-height:70svh; min-height:max(490px,70svh); padding:100px 0 76px; }
 .odaort-hero__inner { width:min(100% - 32px,1260px); }
 .odaort-page .odaort-hero h1 { font-size:clamp(2.7rem,10.7vw,5.1rem); line-height:1.08; letter-spacing:-.055em; }
 .odaort-hero__eyebrow { font-size:.67rem; }
 .odaort-hero__overlay { background:linear-gradient(180deg,rgba(16,21,24,.38),rgba(16,21,24,.60)); }
 .odaort-page .odaort-content-section { padding:46px 0 64px; }
 .odaort-page .odaort-related-card { min-height:360px; }
 .odaort-reviews__heading { gap:18px; }
 .odaort-reviews__heading h2 { font-size:clamp(2.2rem,9vw,3.5rem); }
}
@media (max-width:400px) {
 .odaort-page .odaort-hero h1 { font-size:clamp(2.3rem,10vw,3rem); }
}
@media (prefers-reduced-motion:reduce) {
 .odaort-hero__eyebrow, .odaort-hero__char { opacity:1 !important; transform:none !important; animation:none !important; }
}
