/*
Theme Name: Tiba Care
Theme URI: https://example.com/tiba-care
Author: Custom WordPress Development
Description: Bilingual theme for Tiba Care Specialized Clinics.
Version: 1.4.1
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 7.4
Text Domain: tiba-care
*/

:root {
    --orange: #f58220;
    --orange-dark: #d96610;
    --green: #16a36a;
    --green-dark: #0d7a4f;
    --white: #ffffff;
    --gray-50: #f7faf9;
    --gray-100: #edf3f1;
    --gray-200: #dbe6e3;
    --gray-600: #5b6d68;
    --gray-800: #21312d;
    --shadow: 0 18px 42px rgba(21, 54, 45, .12);
    --radius: 20px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: "IBM Plex Sans Arabic", sans-serif;
    color: var(--gray-800);
    background: var(--white);
    line-height: 1.8;
    text-align: right;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3, p { margin-top: 0; }
h1 { font-size: clamp(2.25rem, 6vw, 4.8rem); line-height: 1.15; margin-bottom: 1rem; }
h2 { font-size: clamp(1.7rem, 3vw, 2.7rem); line-height: 1.25; margin-bottom: 1rem; }
h3 { font-size: 1.25rem; line-height: 1.35; }
p { color: var(--gray-600); }

.container {
    width: min(100% - 32px, 1180px);
    margin-inline: auto;
}

.skip-link {
    position: fixed;
    top: 8px;
    right: 8px;
    transform: translateY(-140%);
    background: var(--green-dark);
    color: white;
    padding: 8px 12px;
    z-index: 200;
}
.skip-link:focus { transform: translateY(0); }

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255,255,255,.92);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid rgba(219,230,227,.75);
}
.header-inner {
    min-height: 82px;
    display: flex;
    align-items: center;
    gap: 24px;
}
.site-brand img { width: 168px; max-height: 62px; object-fit: contain; }
.brand-fallback { display: inline-flex; align-items: center; }
.primary-nav { margin-inline-start: auto; }
.menu,
.footer-menu {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0;
    gap: 18px;
}
.menu a {
    display: inline-flex;
    padding: 10px 0;
    color: var(--gray-800);
    font-weight: 700;
}
.menu a:hover { color: var(--green); }
.header-call {
    display: grid;
    gap: 0;
    min-width: 142px;
    padding: 10px 16px;
    border-radius: 999px;
    color: var(--green-dark);
    background: #eaf8f2;
    font-weight: 800;
    line-height: 1.35;
}
.header-call span { font-size: .78rem; color: var(--gray-600); }
.language-switcher {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px;
    border: 1px solid var(--gray-200);
    border-radius: 999px;
    background: white;
}
.language-switcher a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 42px;
    min-height: 32px;
    padding: 6px 10px;
    border-radius: 999px;
    color: var(--gray-600);
    font-weight: 800;
    font-size: .82rem;
}
.language-switcher a.is-active {
    background: var(--green);
    color: white;
}
.menu-toggle {
    display: none;
    border: 0;
    background: transparent;
    padding: 8px;
    color: var(--gray-800);
}
.menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: currentColor;
    margin: 5px 0;
}
.menu-toggle strong { position: absolute; opacity: 0; pointer-events: none; }

body.ltr {
    direction: ltr;
    text-align: left;
    font-family: "Roboto", sans-serif;
}
body.ltr .primary-nav { margin-inline-start: auto; }
body.ltr .hero-grid,
body.ltr .two-col,
body.ltr .booking-layout,
body.ltr .contact-grid,
body.ltr .single-grid {
    direction: ltr;
}
body.ltr .hero-copy,
body.ltr .section-head,
body.ltr .booking-layout,
body.ltr .contact-grid,
body.ltr .site-footer {
    text-align: left;
}
body.ltr .contact-list,
body.ltr .check-list {
    padding-left: 0;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 12px 22px;
    border-radius: 999px;
    font-weight: 800;
    border: 1px solid transparent;
    cursor: pointer;
    transition: .2s ease;
}
.btn-primary {
    background: var(--orange);
    color: white;
    box-shadow: 0 12px 24px rgba(245,130,32,.24);
}
.btn-primary:hover { background: var(--orange-dark); transform: translateY(-1px); }
.btn-secondary {
    background: white;
    color: var(--green-dark);
    border-color: var(--gray-200);
}
.btn-whatsapp {
    gap: 8px;
}
.btn-whatsapp svg {
    width: 20px;
    height: 20px;
    flex: 0 0 auto;
    fill: currentColor;
}

.hero-section {
    background:
        radial-gradient(circle at 15% 20%, rgba(245,130,32,.13), transparent 28%),
        linear-gradient(135deg, #f8fffc 0%, #eef8f4 54%, #fff8f0 100%);
    padding: 76px 0 44px;
    overflow: hidden;
}
.hero-grid {
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    align-items: center;
    gap: 48px;
}
.section-kicker {
    display: inline-flex;
    color: var(--green);
    font-weight: 800;
    margin-bottom: 10px;
}
.hero-copy p {
    font-size: 1.2rem;
    max-width: 620px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero-panel {
    min-height: 420px;
    position: relative;
    display: grid;
    place-items: center;
}
.doctor-visual {
    width: min(100%, 560px);
    aspect-ratio: 1;
    border-radius: 42px;
    background: white;
    box-shadow: var(--shadow);
    position: relative;
    overflow: hidden;
}
.hero-panel-image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}
.visual-circle {
    position: absolute;
    width: 230px;
    height: 230px;
    border-radius: 50%;
    background: rgba(255,255,255,.22);
    left: 38px;
    top: 42px;
}
.visual-badge,
.medical-card {
    position: absolute;
    background: white;
    border-radius: 18px;
    box-shadow: var(--shadow);
    padding: 16px 20px;
    font-weight: 800;
}
.visual-badge { left: 0; bottom: 48px; color: var(--orange-dark); }
.medical-card { right: 0; top: 48px; z-index: 2; display: grid; }
.medical-card span { color: var(--gray-600); font-size: .9rem; }
.medical-card strong { color: var(--green-dark); }

.stats-section { margin-top: -24px; position: relative; z-index: 4; }
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
    background: white;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 18px;
}
.stats-grid div {
    padding: 18px;
    background: var(--gray-50);
    border-radius: 16px;
    display: grid;
}
.stats-grid strong { color: var(--green-dark); font-size: 1.7rem; line-height: 1.2; }
.stats-grid span { color: var(--gray-600); font-weight: 700; }

.section { padding: 76px 0; }
.muted { background: var(--gray-50); }
.two-col,
.booking-layout,
.contact-grid,
.single-grid {
    display: grid;
    grid-template-columns: .9fr 1.1fr;
    gap: 42px;
    align-items: start;
}
.section-head {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 28px;
}
.section-head a,
.read-more,
.clinic-link {
    color: var(--green-dark);
    font-weight: 800;
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}
.card {
    background: white;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius);
    box-shadow: 0 12px 28px rgba(21,54,45,.07);
    transition: .2s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card-link { display: block; height: 100%; padding: 22px; }
.doctor-card .card-link {
    display: grid;
    align-content: start;
    gap: 12px;
    padding: 22px;
}
.doctor-card h3 {
    margin: 0;
    font-size: 1.18rem;
    line-height: 1.35;
}
.doctor-card p {
    margin: 0;
    min-height: 0;
    color: var(--gray-600);
    font-size: .98rem;
    line-height: 1.55;
}
.doctor-card small {
    display: block;
    margin-top: 2px;
    color: var(--orange-dark);
    font-size: .92rem;
    line-height: 1.45;
    font-weight: 800;
}
.doctor-card .read-more {
    display: inline-flex;
    width: fit-content;
    margin-top: 4px;
    color: var(--green-dark);
    font-size: .94rem;
    line-height: 1.35;
}
.doctor-role {
    display: block;
    color: var(--green-dark);
    font-size: .92rem;
    font-weight: 700;
    line-height: 1.5;
}
.icon-badge {
    width: 54px;
    height: 54px;
    display: inline-grid;
    place-items: center;
    border-radius: 16px;
    background: #fff3e7;
    color: var(--orange-dark);
    font-size: 1.55rem;
    margin-bottom: 14px;
}
.clinic-card p,
.partner-card p { min-height: 58px; }
.doctor-photo,
.doctor-photo-large {
    position: relative;
    display: grid;
    place-items: center;
    overflow: hidden;
    background: linear-gradient(135deg, #e8f7f1, #fff3e7);
    color: var(--green-dark);
    font-weight: 900;
}
.doctor-photo {
    width: 74px;
    height: 74px;
    border-radius: 50%;
    margin-bottom: 2px;
}
.doctor-photo img,
.doctor-photo-large img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}
.doctor-photo span { font-size: 1.65rem; }
/* Frame the portrait inside the supplied announcement; keep the original image intact. */
.doctor-photo img.doctor-portrait-from-announcement,
.doctor-photo-large img.doctor-portrait-from-announcement {
    position: absolute;
    width: 195%;
    max-width: none;
    height: auto;
    inset-inline-start: -47.5%;
    top: -103%;
}
.doctor-card small,
.partner-card small {
    color: var(--orange-dark);
    font-weight: 800;
}
.partner-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
}
.partner-card { padding: 26px; }
.partner-logo {
    min-height: 74px;
    display: flex;
    align-items: center;
    color: var(--green-dark);
    font-weight: 900;
    font-size: 1.4rem;
}

.online-consultation-section {
    background:
        linear-gradient(180deg, #ffffff 0%, #f7faf9 100%);
}
.online-consultation-card {
    display: grid;
    grid-template-columns: minmax(0, .95fr) minmax(320px, .75fr);
    gap: 28px;
    align-items: center;
    padding: 34px;
    border: 1px solid var(--gray-200);
    border-radius: 28px;
    background:
        radial-gradient(circle at 12% 20%, rgba(245,130,32,.12), transparent 24%),
        linear-gradient(135deg, #ffffff 0%, #f4fbf8 100%);
    box-shadow: 0 18px 46px rgba(21,54,45,.08);
}
.online-consultation-copy {
    max-width: 680px;
}
.online-consultation-copy h2 {
    margin-bottom: 14px;
}
.online-consultation-copy p {
    max-width: 640px;
    font-size: 1.08rem;
    font-weight: 700;
}
.online-consultation-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 26px;
}
.online-consultation-panel {
    display: grid;
    gap: 12px;
}
.online-consultation-panel div {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 3px 14px;
    padding: 16px;
    border-radius: 18px;
    background: white;
    border: 1px solid rgba(219,230,227,.86);
    box-shadow: 0 10px 24px rgba(21,54,45,.055);
}
.online-consultation-panel em {
    grid-row: span 2;
    width: 42px;
    height: 42px;
    display: inline-grid;
    place-items: center;
    border-radius: 14px;
    background: #eaf8f2;
    color: var(--green-dark);
    font-style: normal;
    font-weight: 900;
    line-height: 1;
}
.online-consultation-panel div:nth-child(2) em {
    background: #fff3e7;
    color: var(--orange-dark);
}
.online-consultation-panel strong {
    color: var(--gray-800);
    font-size: 1.04rem;
}
.online-consultation-panel span {
    color: var(--gray-600);
    font-size: .94rem;
    font-weight: 700;
    line-height: 1.65;
}

.booking-section {
    position: relative;
    overflow: hidden;
    background:
        linear-gradient(135deg, rgba(13,122,79,.96), rgba(22,163,106,.94)),
        radial-gradient(circle at 16% 20%, rgba(255,255,255,.16), transparent 30%);
    color: white;
}
.booking-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(16,35,30,.22), transparent 42%),
        radial-gradient(circle at 78% 70%, rgba(245,130,32,.16), transparent 28%);
    pointer-events: none;
}
.booking-section > .container {
    position: relative;
    z-index: 1;
}
.booking-section .booking-layout {
    grid-template-columns: minmax(320px, .9fr) minmax(420px, 1fr);
    align-items: center;
    gap: 54px;
}
.booking-copy {
    max-width: 560px;
}
.booking-copy .section-kicker {
    color: rgba(255,255,255,.74);
}
.booking-copy h2 {
    margin-bottom: 14px;
    color: white;
    font-size: clamp(2rem, 4vw, 3.6rem);
}
.booking-copy p {
    max-width: 520px;
    color: rgba(255,255,255,.82);
    font-size: 1.08rem;
    font-weight: 700;
}
.booking-benefits {
    display: grid;
    gap: 12px;
    margin-top: 28px;
}
.booking-benefits div {
    display: grid;
    gap: 2px;
    padding: 14px 16px;
    border: 1px solid rgba(255,255,255,.16);
    border-radius: 18px;
    background: rgba(255,255,255,.08);
    backdrop-filter: blur(10px);
}
.booking-benefits strong {
    color: white;
    font-size: 1rem;
}
.booking-benefits span {
    color: rgba(255,255,255,.74);
    font-size: .92rem;
    font-weight: 600;
}
.booking-section p,
.booking-section .section-kicker { color: rgba(255,255,255,.82); }
.booking-card {
    background: white;
    color: var(--gray-800);
    border-radius: var(--radius);
    padding: 28px;
    box-shadow: var(--shadow);
}
.home-booking-card {
    max-width: 720px;
    margin-inline: auto;
    padding: 24px;
    border: 1px solid rgba(255,255,255,.5);
    border-radius: 26px;
    box-shadow: 0 30px 70px rgba(16,35,30,.24);
}
.home-booking-card .booking-form {
    display: grid;
    gap: 18px;
}
.home-booking-card .form-grid {
    gap: 16px 18px;
}
.home-booking-card label,
.home-booking-card .gender-field {
    font-size: .95rem;
}
.home-booking-card input,
.home-booking-card select,
.home-booking-card textarea {
    min-height: 50px;
    border-radius: 16px;
    background: #fbfefd;
    font-weight: 700;
}
.home-booking-card textarea {
    min-height: 116px;
}
.home-booking-card .booking-form .btn {
    min-height: 54px;
    margin-top: 0;
    border-radius: 18px;
    box-shadow: 0 14px 30px rgba(245,130,32,.22);
}
.booking-card.narrow { max-width: 880px; }
.form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}
label {
    display: grid;
    gap: 7px;
    color: var(--gray-800);
    font-weight: 800;
}
input, select, textarea {
    width: 100%;
    border: 1px solid var(--gray-200);
    border-radius: 14px;
    padding: 12px 14px;
    font: inherit;
    color: var(--gray-800);
    background: white;
}
input:focus, select:focus, textarea:focus {
    outline: 3px solid rgba(22,163,106,.16);
    border-color: var(--green);
}
.form-wide { grid-column: 1 / -1; }
.gender-field {
    display: grid;
    gap: 8px;
    color: var(--gray-800);
    font-weight: 800;
}
.gender-label {
    line-height: 1.4;
}
.gender-options {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}
.gender-option {
    position: relative;
    display: block;
    min-width: 0;
    cursor: pointer;
}
.gender-option input {
    position: absolute;
    inset: 0;
    opacity: 0;
    cursor: pointer;
}
.gender-option span {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    padding: 10px 14px;
    border: 1px solid var(--gray-200);
    border-radius: 16px;
    background: #fbfefd;
    color: var(--gray-600);
    font-weight: 800;
    transition: background .2s ease, border-color .2s ease, color .2s ease, box-shadow .2s ease;
}
.gender-option input:focus-visible + span {
    outline: 3px solid rgba(22,163,106,.16);
    border-color: var(--green);
}
.gender-option input:checked + span {
    border-color: rgba(22,163,106,.45);
    background: #eaf8f2;
    color: var(--green-dark);
    box-shadow: inset 0 0 0 1px rgba(22,163,106,.18);
}
.booking-form .btn { margin-top: 18px; width: 100%; border: 0; }
.success-message {
    background: rgba(255,255,255,.16);
    border: 1px solid rgba(255,255,255,.28);
    padding: 14px 18px;
    border-radius: 14px;
    color: white;
    font-weight: 800;
}

.check-list {
    list-style: none;
    padding: 0;
    margin: 16px 0 0;
    display: grid;
    gap: 10px;
}
.check-list li {
    position: relative;
    padding-inline-start: 30px;
    color: var(--gray-600);
    font-weight: 700;
}
.check-list li::before {
    content: "";
    position: absolute;
    inset-inline-start: 0;
    top: .55em;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--green);
    box-shadow: inset 0 0 0 5px #dff5ec;
}
.feature-grid,
.doctor-details-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}
.doctor-details-grid > :only-child { grid-column: 1 / -1; }
.feature-grid div,
.soft-panel {
    background: white;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius);
    padding: 26px;
    box-shadow: 0 12px 28px rgba(21,54,45,.06);
}
.feature-grid strong,
.feature-grid span { display: block; }
.feature-grid strong { font-size: 1.2rem; margin-bottom: 8px; }
.feature-grid span { color: var(--gray-600); }

.why-section {
    background:
        linear-gradient(180deg, #ffffff 0%, #f7faf9 100%);
}
.why-head {
    align-items: center;
    margin-bottom: 30px;
}
.why-head > div {
    max-width: 760px;
}
.why-head h2 {
    margin-bottom: 0;
}
.why-head p {
    max-width: 360px;
    margin: 0;
    color: var(--gray-600);
    font-weight: 700;
}
.why-section .feature-grid {
    gap: 20px;
}
.why-section .feature-grid div {
    position: relative;
    overflow: hidden;
    min-height: 190px;
    padding: 26px;
    border-radius: 18px;
    background:
        linear-gradient(180deg, #ffffff, #fbfefd);
    box-shadow: 0 18px 40px rgba(21,54,45,.08);
}
.why-section .feature-grid div::before {
    content: "";
    position: absolute;
    inset-inline: 0;
    top: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--green), var(--orange));
}
.why-section .feature-grid em {
    width: 46px;
    height: 46px;
    display: inline-grid;
    place-items: center;
    margin-bottom: 20px;
    border-radius: 14px;
    background: #eaf8f2;
    color: var(--green-dark);
    font-style: normal;
    font-weight: 900;
    line-height: 1;
}
.why-section .feature-grid strong {
    margin-bottom: 10px;
    font-size: 1.22rem;
}
.why-section .feature-grid span {
    line-height: 1.75;
    font-weight: 700;
}
.why-section .feature-grid div:nth-child(2) em {
    background: #fff3e7;
    color: var(--orange-dark);
}

.map-box {
    min-height: 280px;
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--gray-100);
    display: grid;
    place-items: center;
    color: var(--gray-600);
}
.map-box iframe { width: 100%; height: 100%; border: 0; }
.contact-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 10px;
}
.contact-list.large { font-size: 1.1rem; font-weight: 800; }

.contact-section {
    background:
        linear-gradient(180deg, #ffffff 0%, #f7faf9 100%);
}
.home-contact-card {
    display: grid;
    grid-template-columns: minmax(0, .9fr) minmax(300px, .75fr);
    gap: 28px;
    align-items: center;
    padding: 34px;
    border-radius: 28px;
    background:
        radial-gradient(circle at 12% 18%, rgba(22,163,106,.12), transparent 28%),
        linear-gradient(135deg, #ffffff, #f4fbf8);
    border: 1px solid var(--gray-200);
    box-shadow: 0 18px 46px rgba(21,54,45,.08);
}
.home-contact-copy h2 {
    margin-bottom: 12px;
}
.home-contact-copy p {
    max-width: 620px;
    font-size: 1.06rem;
    font-weight: 700;
}
.home-contact-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
    margin-top: 24px;
}
.contact-more-link {
    color: var(--green-dark);
    font-weight: 900;
}
.home-contact-info {
    display: grid;
    gap: 12px;
}
.home-contact-info div {
    padding: 18px;
    border-radius: 18px;
    background: white;
    border: 1px solid rgba(219,230,227,.86);
    box-shadow: 0 10px 24px rgba(21,54,45,.055);
}
.home-contact-info span,
.home-contact-info strong {
    display: block;
}
.home-contact-info span {
    margin-bottom: 5px;
    color: var(--green-dark);
    font-size: .9rem;
    font-weight: 900;
}
.home-contact-info strong {
    color: var(--gray-800);
    font-size: 1.05rem;
    line-height: 1.55;
}

.contact-page-hero p {
    max-width: 780px;
    font-size: 1.15rem;
}
.contact-page-grid {
    display: grid;
    grid-template-columns: minmax(280px, .85fr) minmax(0, 1.15fr);
    gap: 28px;
    align-items: start;
}
.contact-methods {
    display: grid;
    gap: 14px;
}
.contact-method {
    display: grid;
    gap: 4px;
    padding: 18px 20px;
    border: 1px solid var(--gray-200);
    border-radius: 18px;
    background: white;
    box-shadow: 0 12px 28px rgba(21,54,45,.06);
}
.contact-method span {
    color: var(--green-dark);
    font-size: .9rem;
    font-weight: 800;
}
.contact-method strong {
    color: var(--gray-800);
    font-size: 1.04rem;
    line-height: 1.55;
    overflow-wrap: anywhere;
}
.contact-social-panel {
    padding: 20px;
    border-radius: 18px;
    background: #10231e;
    color: white;
}
.contact-social-panel h2 {
    margin-bottom: 14px;
    color: white;
    font-size: 1.05rem;
}
.contact-social { margin-top: 0; }
.contact-page-side {
    display: grid;
    gap: 18px;
    min-width: 0;
}
.contact-map-row {
    grid-column: 1 / -1;
    display: grid;
    gap: 14px;
    margin-top: 10px;
}
.contact-map-row h2 {
    margin: 0;
    font-size: 1.55rem;
}
.contact-map-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
}
.contact-map-heading p { margin: 8px 0 0; }
.contact-map-heading .btn { flex-shrink: 0; }
.contact-map {
    min-height: 420px;
    width: 100%;
}
.contact-booking-card h2 {
    font-size: 1.55rem;
}

.offers-hero {
    background:
        linear-gradient(135deg, rgba(12,95,67,.94), rgba(20,152,96,.9)),
        radial-gradient(circle at 14% 22%, rgba(255,255,255,.28), transparent 30%);
    color: white;
}
.offers-hero .section-kicker,
.offers-hero h1,
.offers-hero p {
    color: white;
}
.offers-hero-inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(260px, 360px);
    gap: 28px;
    align-items: center;
}
.offers-hero-panel {
    display: grid;
    gap: 8px;
    padding: 24px;
    border: 1px solid rgba(255,255,255,.28);
    border-radius: 22px;
    background: rgba(255,255,255,.14);
    box-shadow: 0 22px 56px rgba(6,47,35,.2);
    backdrop-filter: blur(8px);
}
.offers-hero-panel span {
    width: fit-content;
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(255,126,24,.98);
    font-size: .85rem;
    font-weight: 900;
}
.offers-hero-panel strong {
    font-size: 1.45rem;
    line-height: 1.35;
}
.offers-hero-panel small {
    color: rgba(255,255,255,.82);
    font-size: .98rem;
    line-height: 1.8;
}
.offers-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 22px;
}
.offers-section {
    background:
        linear-gradient(135deg, #0f1f2c 0%, #142736 52%, #10231e 100%);
}
.offer-card {
    display: grid;
    gap: 16px;
    padding: 24px;
    border: 1px solid rgba(219,230,227,.95);
    border-radius: 22px;
    background: white;
    box-shadow: 0 18px 42px rgba(21,54,45,.07);
}
.offer-media-card {
    grid-template-rows: auto 1fr auto;
    gap: 0;
    overflow: hidden;
    min-height: 520px;
    padding: 0 0 28px;
    border-color: rgba(255,255,255,.14);
    border-radius: 8px;
    background: #ffffff;
    box-shadow: 0 22px 55px rgba(3,18,28,.28);
}
.offer-card-image {
    position: relative;
    overflow: hidden;
    aspect-ratio: 1 / .98;
    background: #eef8f7;
}
.offer-card-image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}
.offer-card-image span {
    position: absolute;
    inset-block-start: 16px;
    inset-inline-end: 16px;
    max-width: calc(100% - 32px);
    padding: 7px 12px;
    border-radius: 999px;
    background: var(--orange);
    color: #ffffff;
    font-size: .82rem;
    font-weight: 900;
    box-shadow: 0 10px 24px rgba(255,126,24,.28);
}
.offer-card-body {
    display: grid;
    align-content: start;
    gap: 10px;
    padding: 26px 22px 18px;
    text-align: center;
}
.offer-media-card h2 {
    margin: 0;
    color: #17231f;
    font-size: clamp(1.25rem, 1.5vw, 1.62rem);
    line-height: 1.45;
}
.offer-media-card p {
    margin: 0;
    color: #17231f;
    font-size: 1.05rem;
    font-weight: 900;
    line-height: 1.7;
}
.offer-media-card .btn {
    justify-self: center;
    width: auto;
    min-width: 136px;
    min-height: 54px;
    padding-inline: 26px;
    border-radius: 999px;
    background: #0f1f2c;
    color: #ffffff;
}
.offer-media-card.is-selected {
    border-color: rgba(255,126,24,.9);
    box-shadow: 0 24px 60px rgba(255,126,24,.22);
}
.offer-card.is-selected {
    border-color: rgba(255,126,24,.55);
    box-shadow: 0 22px 52px rgba(255,126,24,.16);
}
.offer-card-head {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    align-items: center;
}
.offer-card-head span,
.offer-card-head strong {
    padding: 7px 12px;
    border-radius: 999px;
    font-size: .82rem;
    font-weight: 900;
}
.offer-card-head span {
    background: #edf8f2;
    color: var(--green-dark);
}
.offer-card-head strong {
    background: #fff3e7;
    color: var(--orange-dark);
}
.offer-card h2 {
    margin: 0;
    color: var(--gray-800);
    font-size: 1.38rem;
    line-height: 1.35;
}
.offer-card p {
    margin: 0;
    color: var(--gray-600);
    line-height: 1.85;
}
.offer-card ul {
    display: grid;
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
}
.offer-card li {
    position: relative;
    padding-inline-start: 24px;
    color: var(--gray-700);
    font-weight: 700;
}
.offer-card li::before {
    content: "";
    position: absolute;
    inset-inline-start: 0;
    top: .65em;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--orange);
}
body.rtl .offer-card li {
    padding-inline-start: 0;
    padding-inline-end: 24px;
}
body.rtl .offer-card li::before {
    inset-inline-start: auto;
    inset-inline-end: 0;
}
.offer-card .btn {
    width: 100%;
    margin-top: 4px;
}
.offer-media-card h2 {
    color: #17231f;
    font-size: clamp(1.25rem, 1.5vw, 1.62rem);
}
.offer-media-card p {
    color: #17231f;
    font-size: 1.05rem;
    font-weight: 900;
}
.offer-media-card .btn {
    width: auto;
    justify-self: center;
    min-width: 136px;
    margin-top: 0;
    background: #0f1f2c;
    color: #ffffff;
}
.offer-media-card.is-selected {
    border-color: rgba(255,126,24,.9);
    box-shadow: 0 24px 60px rgba(255,126,24,.22);
}
.offer-booking-layout {
    display: grid;
    grid-template-columns: minmax(260px, .55fr) minmax(0, 1fr);
    gap: 28px;
    align-items: start;
}
.offer-booking-copy {
    position: sticky;
    top: 110px;
    display: grid;
    gap: 12px;
}
.offer-booking-copy h2 {
    margin: 0;
    font-size: clamp(1.8rem, 3vw, 2.7rem);
    line-height: 1.25;
}
.offer-booking-copy p {
    color: var(--gray-600);
    font-size: 1.08rem;
    line-height: 1.9;
}
.selected-offer-note,
.offer-empty-state {
    display: grid;
    gap: 6px;
    padding: 16px 18px;
    border: 1px solid rgba(255,126,24,.28);
    border-radius: 18px;
    background: #fff8f0;
}
.selected-offer-note span,
.offer-empty-state span {
    color: var(--gray-600);
    font-size: .9rem;
    font-weight: 800;
}
.selected-offer-note strong,
.offer-empty-state strong {
    color: var(--green-dark);
    font-size: 1.08rem;
}
.offer-empty-state {
    min-height: 260px;
    align-content: center;
    padding: 32px;
    background: linear-gradient(135deg, #f5fbf8, #fff8f0);
    box-shadow: 0 18px 42px rgba(21,54,45,.07);
}

.patient-rights-hero p {
    max-width: 820px;
    font-size: 1.15rem;
}
.patient-rights-layout {
    display: grid;
    grid-template-columns: minmax(250px, .35fr) minmax(0, 1fr);
    gap: 24px;
    align-items: start;
}
.patient-rights-summary {
    position: sticky;
    top: 104px;
    display: grid;
    gap: 14px;
    padding: 24px;
    border-radius: var(--radius);
    background: linear-gradient(155deg, #10231e, #0d7a4f);
    color: white;
    box-shadow: var(--shadow);
}
.patient-rights-summary span,
.patient-rights-summary p {
    color: rgba(255,255,255,.78);
}
.patient-rights-summary > span {
    font-weight: 800;
}
.patient-rights-summary h2 {
    margin: 0;
    color: white;
    font-size: 1.55rem;
}
.patient-rights-summary p {
    margin: 0;
}
.patient-rights-stats {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 2px 12px;
    align-items: center;
    padding-top: 10px;
    border-top: 1px solid rgba(255,255,255,.16);
}
.patient-rights-stats strong {
    color: white;
    font-size: 1.7rem;
    line-height: 1;
}
.patient-rights-content {
    display: grid;
    gap: 20px;
}
.patient-policy-card {
    padding: 28px;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius);
    background: white;
    box-shadow: 0 14px 34px rgba(21,54,45,.07);
}
.policy-card-head {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 12px;
}
.policy-card-head span {
    width: 44px;
    height: 44px;
    display: inline-grid;
    place-items: center;
    border-radius: 14px;
    background: #eaf8f2;
    color: var(--green-dark);
    font-weight: 900;
}
.policy-card-head h2 {
    margin: 0;
    font-size: 1.65rem;
}
.patient-policy-card > p {
    max-width: 760px;
    margin-bottom: 18px;
}
.policy-list {
    margin: 0;
    padding: 0;
    list-style: none;
    counter-reset: policy-counter;
    display: grid;
    gap: 10px;
}
.policy-list li {
    counter-increment: policy-counter;
    position: relative;
    padding: 14px 54px 14px 16px;
    border-radius: 16px;
    background: var(--gray-50);
    color: var(--gray-800);
    font-weight: 700;
    line-height: 1.75;
}
body.ltr .policy-list li {
    padding: 14px 16px 14px 54px;
}
.policy-list li::before {
    content: counter(policy-counter);
    position: absolute;
    inset-inline-start: 14px;
    top: 16px;
    width: 28px;
    height: 28px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: white;
    color: var(--green-dark);
    font-size: .82rem;
    font-weight: 900;
    box-shadow: inset 0 0 0 1px var(--gray-200);
}
body.rtl .policy-list li::before {
    inset-inline-start: auto;
    inset-inline-end: 14px;
}
.rights-card .policy-card-head span {
    background: #fff3e7;
    color: var(--orange-dark);
}

.contact-booking-card {
    padding: 24px;
    border: 1px solid rgba(219,230,227,.9);
    box-shadow: 0 18px 46px rgba(21,54,45,.09);
}
.contact-booking-card h2 {
    max-width: 720px;
    margin-bottom: 20px;
    font-size: clamp(1.45rem, 2.4vw, 2rem);
    line-height: 1.3;
}
.contact-booking-card .booking-form {
    display: grid;
    gap: 18px;
}
.contact-booking-card .form-grid {
    gap: 18px 20px;
    align-items: start;
}
.contact-booking-card label {
    gap: 8px;
    color: var(--gray-800);
    font-size: .98rem;
    line-height: 1.4;
}
.contact-booking-card .gender-field {
    font-size: .98rem;
}
.contact-booking-card input,
.contact-booking-card select,
.contact-booking-card textarea {
    min-height: 52px;
    border-radius: 16px;
    padding: 12px 16px;
    font-size: .98rem;
    font-weight: 700;
    background-color: #fbfefd;
}
.contact-booking-card textarea {
    min-height: 132px;
    resize: vertical;
}
.contact-booking-card .form-wide {
    grid-column: 1 / -1;
}
.contact-booking-card .booking-form .btn {
    min-height: 54px;
    margin-top: 0;
    border-radius: 18px;
    font-size: 1rem;
    box-shadow: 0 14px 30px rgba(245,130,32,.2);
}
body.rtl .contact-booking-card input,
body.rtl .contact-booking-card select,
body.rtl .contact-booking-card textarea {
    text-align: right;
}
body.ltr .contact-booking-card input,
body.ltr .contact-booking-card select,
body.ltr .contact-booking-card textarea {
    text-align: left;
}

.page-hero,
.single-hero {
    background: linear-gradient(135deg, #f8fffc, #fff7ef);
    padding: 64px 0;
}
.page-hero p { max-width: 640px; }
.page-hero.offers-hero {
    position: relative;
    overflow: hidden;
    padding: 86px 0 78px;
    background:
        linear-gradient(135deg, rgba(9,54,42,.98) 0%, rgba(12,103,73,.96) 50%, rgba(18,151,95,.94) 100%);
    border-bottom: 1px solid rgba(12,103,73,.18);
}
.page-hero.offers-hero::before {
    content: "";
    position: absolute;
    inset: auto 0 0;
    height: 10px;
    background: linear-gradient(90deg, var(--orange), rgba(255,255,255,.34), var(--green));
    opacity: .75;
}
.page-hero.offers-hero .offers-hero-inner {
    position: relative;
    z-index: 1;
}
.page-hero.offers-hero .section-kicker {
    color: #ffcf9f;
}
.page-hero.offers-hero h1 {
    max-width: 780px;
    margin-bottom: 18px;
    color: #ffffff;
    text-shadow: 0 14px 36px rgba(0,0,0,.18);
}
.page-hero.offers-hero p {
    max-width: 720px;
    color: rgba(255,255,255,.84);
    font-size: 1.12rem;
    font-weight: 700;
    line-height: 2;
}
.page-hero.offers-hero .offers-hero-panel {
    border-color: rgba(255,255,255,.24);
    background: rgba(255,255,255,.12);
    color: #ffffff;
    box-shadow: 0 26px 70px rgba(0,0,0,.18);
}
.page-hero.offers-hero .offers-hero-panel strong {
    color: #ffffff;
}
.page-hero.offers-hero .offers-hero-panel small {
    color: rgba(255,255,255,.82);
}
.breadcrumbs {
    width: min(100% - 32px, 1180px);
    margin: 18px auto 0;
    color: var(--gray-600);
    font-size: .92rem;
}
.breadcrumbs a { color: var(--green-dark); font-weight: 800; }
.breadcrumbs span { margin-inline: 6px; }
.archive-filter { margin-bottom: 24px; }
.archive-filter input { max-width: 420px; }
.single-image,
.image-placeholder {
    min-height: 330px;
    border-radius: var(--radius);
    overflow: hidden;
    background: linear-gradient(135deg, #eaf8f2, #fff3e7);
}
.single-image img { width: 100%; height: 100%; object-fit: cover; }
.image-placeholder { display: grid; place-items: center; color: var(--green-dark); font-weight: 900; font-size: 2rem; }
.doctor-profile {
    display: grid;
    grid-template-columns: 240px 1fr;
    gap: 32px;
    align-items: center;
}
.doctor-photo-large {
    width: 240px;
    height: 240px;
    border-radius: 34px;
}
.doctor-photo-large span { font-size: 4rem; }
.doctor-specialty { font-size: 1.2rem; font-weight: 800; color: var(--gray-800); }
.mini-stat {
    margin-top: 18px;
    display: inline-grid;
    padding: 14px 18px;
    border-radius: 16px;
    background: var(--gray-50);
}
.mini-stat strong { color: var(--orange-dark); font-size: 1.8rem; }

.site-footer {
    background: #10231e;
    color: white;
    padding-top: 46px;
}
.site-footer p,
.site-footer a,
.site-footer li { color: rgba(255,255,255,.76); }
.site-footer h2 {
    font-size: 1.08rem;
    color: white;
    margin-bottom: 18px;
}
.footer-grid {
    display: grid;
    grid-template-columns: minmax(260px, 1.05fr) minmax(160px, .55fr) minmax(260px, .8fr);
    align-items: start;
    gap: 58px;
}
.footer-about {
    display: grid;
    gap: 18px;
    max-width: 420px;
}
.footer-logo { width: 132px; }
.footer-logo .custom-logo-link,
.footer-logo .brand-fallback {
    display: inline-flex;
    align-items: center;
    width: 132px;
}
.footer-logo img,
.site-footer .footer-logo .custom-logo-link img,
.site-footer .custom-logo {
    width: 132px !important;
    max-width: 132px !important;
    height: auto !important;
    max-height: 92px !important;
    object-fit: contain;
    object-position: center;
}
.footer-description {
    max-width: 410px;
    margin: 0;
    font-size: .98rem;
    line-height: 1.9;
}
.footer-links,
.footer-contact {
    padding-top: 8px;
}
.footer-menu {
    display: grid;
    gap: 10px;
}
.footer-menu a,
.footer-contact a {
    transition: color .2s ease;
}
.footer-menu a:hover,
.footer-contact a:hover {
    color: white;
}
.footer-social {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 18px;
}
.footer-social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    padding: 0;
    border: 1px solid rgba(255,255,255,.16);
    border-radius: 50%;
    background: rgba(255,255,255,.06);
    color: #ffffff !important;
    transition: background .2s ease, border-color .2s ease, transform .2s ease;
}
.footer-social-link svg {
    width: 20px;
    height: 20px;
    display: block;
    color: #ffffff;
    fill: currentColor;
}
.footer-social-link svg path,
.footer-social-link svg rect,
.footer-social-link svg circle {
    fill: currentColor !important;
    stroke: none !important;
}
.footer-social-link.is-instagram svg rect {
    fill: none !important;
    stroke: currentColor !important;
    stroke-width: 1.9;
    stroke-linecap: round;
    stroke-linejoin: round;
}
.footer-social-link.is-instagram svg circle {
    fill: none !important;
    stroke: currentColor !important;
    stroke-width: 1.9;
}
.footer-social-link:hover {
    transform: translateY(-1px);
    border-color: rgba(255,255,255,.32);
    background: rgba(255,255,255,.12);
}
.footer-social-link.is-facebook { color: #dbeafe !important; }
.footer-social-link.is-instagram { color: #ffe4ef !important; }
.footer-social-link.is-whatsapp { color: #dcfce7 !important; }
.footer-bottom {
    margin-top: 36px;
    padding: 18px 0;
    border-top: 1px solid rgba(255,255,255,.12);
    color: rgba(255,255,255,.7);
}
.whatsapp-float {
    position: fixed;
    left: 18px;
    bottom: 18px;
    z-index: 90;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: #25d366;
    color: white;
    font-weight: 900;
    box-shadow: 0 14px 30px rgba(37,211,102,.35);
    font-size: .85rem;
}

.pagination-wrap { margin-top: 28px; }
.nav-links { display: flex; gap: 8px; justify-content: center; }
.page-numbers {
    min-width: 40px;
    height: 40px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    background: white;
    border: 1px solid var(--gray-200);
    font-weight: 800;
}
.page-numbers.current { background: var(--green); color: white; }

@media (max-width: 980px) {
    .header-inner { min-height: 72px; }
    .menu-toggle { display: block; margin-inline-start: auto; }
    .language-switcher { margin-inline-start: auto; }
    .primary-nav {
        position: fixed;
        top: 72px;
        right: 0;
        left: 0;
        background: white;
        border-bottom: 1px solid var(--gray-200);
        padding: 18px;
        transform: translateY(-130%);
        opacity: 0;
        pointer-events: none;
        transition: .2s ease;
    }
    .primary-nav.is-open {
        transform: translateY(0);
        opacity: 1;
        pointer-events: auto;
    }
    .menu { display: grid; gap: 4px; }
    .header-call { display: none; }
    .hero-grid,
    .two-col,
    .booking-layout,
    .contact-grid,
    .home-contact-card,
    .contact-page-grid,
    .patient-rights-layout,
    .offers-hero-inner,
    .offer-booking-layout,
    .single-grid { grid-template-columns: 1fr; }
    .offer-booking-copy { position: static; }
    .offers-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .online-consultation-card {
        grid-template-columns: 1fr;
    }
    .booking-section .booking-layout {
        grid-template-columns: 1fr;
        gap: 28px;
    }
    .booking-copy {
        max-width: none;
    }
    .booking-benefits {
        grid-template-columns: repeat(3, 1fr);
    }
    .patient-rights-summary { position: static; }
    .hero-panel { min-height: 320px; }
    .stats-grid,
    .cards-grid,
    .feature-grid,
    .doctor-details-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 34px;
    }
    .footer-about {
        grid-column: 1 / -1;
        max-width: 520px;
    }
    .footer-logo { width: 128px; }
    .footer-logo .custom-logo-link,
    .footer-logo .brand-fallback { width: 128px; }
    .footer-logo img,
    .site-footer .footer-logo .custom-logo-link img,
    .site-footer .custom-logo {
        width: 128px !important;
        max-width: 128px !important;
        max-height: 88px !important;
    }
}

@media (max-width: 640px) {
    .container { width: min(100% - 24px, 1180px); }
    .section { padding: 54px 0; }
    .hero-section { padding: 52px 0 34px; }
    .doctor-visual { width: min(100%, 360px); border-radius: 28px; }
    .hero-actions .btn { width: 100%; }
    .online-consultation-card {
        padding: 22px;
        border-radius: 22px;
    }
    .online-consultation-actions .btn {
        width: 100%;
    }
    .home-contact-card {
        padding: 22px;
        border-radius: 22px;
    }
    .home-contact-actions .btn,
    .home-contact-actions .contact-more-link {
        width: 100%;
        justify-content: center;
        text-align: center;
    }
    .online-consultation-panel div {
        grid-template-columns: 1fr;
    }
    .online-consultation-panel em {
        grid-row: auto;
    }
    .stats-grid,
    .cards-grid,
    .partner-grid,
    .feature-grid,
    .offers-grid,
    .doctor-details-grid,
    .form-grid,
    .doctor-profile { grid-template-columns: 1fr; }
    .offers-hero-panel,
    .offer-card,
    .offer-empty-state {
        border-radius: 18px;
        padding: 20px;
    }
    .offer-card-head {
        align-items: flex-start;
        flex-direction: column;
    }
    .contact-method { padding: 16px; }
    .contact-map-row h2 { font-size: 1.35rem; }
    .contact-map { min-height: 280px; }
    .contact-booking-card {
        padding: 18px;
        border-radius: 18px;
    }
    .contact-booking-card h2 {
        margin-bottom: 16px;
        font-size: 1.35rem;
    }
    .contact-booking-card .form-grid {
        gap: 14px;
    }
    .contact-booking-card input,
    .contact-booking-card select {
        min-height: 50px;
    }
    .contact-booking-card textarea {
        min-height: 118px;
    }
    .patient-policy-card,
    .patient-rights-summary {
        padding: 20px;
    }
    .policy-card-head h2 {
        font-size: 1.35rem;
    }
    .policy-list li {
        padding-block: 12px;
    }
    .section-head { display: grid; align-items: start; }
    .booking-card { padding: 20px; }
    .home-booking-card { padding: 18px; border-radius: 20px; }
    .booking-benefits { grid-template-columns: 1fr; }
    .booking-copy h2 { font-size: 2rem; }
    .home-booking-card textarea { min-height: 104px; }
    .why-head {
        gap: 12px;
    }
    .why-head p {
        max-width: none;
    }
    .why-section .feature-grid div {
        min-height: 0;
        padding: 22px;
    }
    .doctor-photo-large { width: 180px; height: 180px; }
    .site-footer { padding-top: 38px; }
    .footer-grid { grid-template-columns: 1fr; gap: 28px; }
    .footer-about { max-width: none; }
    .footer-logo { width: 118px; }
    .footer-logo .custom-logo-link,
    .footer-logo .brand-fallback { width: 118px; }
    .footer-logo img,
    .site-footer .footer-logo .custom-logo-link img,
    .site-footer .custom-logo {
        width: 118px !important;
        max-width: 118px !important;
        max-height: 82px !important;
    }
    .footer-links,
    .footer-contact { padding-top: 0; }
    .footer-bottom { margin-top: 30px; }
    .whatsapp-float { width: 58px; height: 58px; font-size: .78rem; }
}
