/* Dr. Ahmed Helmy - RTL static frontend, prepared for WordPress template conversion.
   Content width requested by client: 1320px. */
:root {
    --container: 1320px;
    --teal: #7ebbc1;
    --teal-dark: #439fa9;
    --aqua: #d5eaed;
    --aqua-2: #edf6f6;
    --blue: #3564ad;
    --blue-deep: #285499;
    --red: #e83954;
    --red-dark: #cb2948;
    --ink: #4d4e53;
    --body: #f1f1f1;
    --white: #fff;
    --muted: #7c8185;
    --line: #d7dee1;
    --radius: 20px;
    --shadow: 0 9px 24px rgba(24,53,68,.09);
    --ease: 250ms cubic-bezier(.2,.75,.28,1)
}

* {
    box-sizing: border-box
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 24px
}

body {
    margin: 0;
    background: var(--body);
    color: var(--ink);
    font: 500 16px/1.85 'Cairo','Noto Kufi Arabic',Tahoma,sans-serif;
    overflow-x: hidden
}

button,input,select,textarea {
    font: inherit
}

button {
    cursor: pointer
}

a {
    color: inherit;
    text-decoration: none
}

a,button {
    touch-action: manipulation
}

a:focus-visible,button:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible,summary:focus-visible {
    outline: 3px solid #efbd48;
    outline-offset: 3px
}

img {
    max-width: 100%;
    display: block
}

h1,h2,h3,h4,p,figure {
    margin-top: 0
}

h1,h2,h3 {
    line-height: 1.4
}

p {
    margin-bottom: 16px
}

ul,ol {
    padding-inline-start:22px}

.container {
    width: min(var(--container),calc(100% - 64px));
    margin-inline:auto}

.skip-link {
    position: fixed;
    z-index: 999;
    top: -90px;
    right: 12px;
    padding: 7px 18px;
    background: #fff;
    color: var(--blue);
    border-radius: 10px
}

.skip-link:focus {
    top: 10px
}

.sr-only {
    position: absolute;
    clip: rect(0 0 0 0);
    width: 1px;
    height: 1px;
    overflow: hidden;
    white-space: nowrap
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    min-height: 44px;
    padding: 8px 28px;
    border: 0;
    border-radius: 100px;
    background: var(--red);
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.35;
    white-space: nowrap;
    transition: transform var(--ease),background var(--ease),box-shadow var(--ease)
}

.btn:hover {
    background: var(--red-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px #e839542f
}

.btn-blue {
    background: var(--blue);
}

.btn-blue:hover {
    background: var(--blue-deep);
    box-shadow: 0 8px 20px #3564ad30
}

.btn-whatsapp {
    background: #20b974
}

.btn-whatsapp:hover {
    background: #159f62
}

.btn span {
    font-size: 19px;
    line-height: 1
}

.center-action {
    text-align: left;
    padding-top: 32px
}

.center-action .btn {
    min-width: 240px
}

/* Header and turquoise page title */
.hero {
    position: relative
}

.hero-inner {
    height: 400px;
    background: var(--teal);
    border-radius: 0 0 30px 30px
}

.hero-home {
    height: 650px;
    background: #76b9c2 url('../images/fig-00.webp') center center/cover no-repeat;
    border-radius: 0 0 28px 28px
}

.site-header {
    position: absolute;
    z-index: 60;
    top: 60px;
    right: 0;
    left: 0
}

.nav-pill {
    display: flex;
    align-items: center;
    gap: 20px;
    min-height: 70px;
    padding: 8px 24px;
    background: #fff;
    border-radius: 999px;
    box-shadow: 0 12px 12px #2b6b7450
}

.brand-mark {
    flex: 0 0 68px;
    display: flex;
    align-items: center;
    justify-content: flex-start
}

.brand-icon {
    width: 53px;
    height: 54px;
    object-fit: contain
}

.main-nav {
    display: flex;
    gap: 24px;
    align-items: center;
    justify-content: center;
    flex: 1
}

.main-nav a {
    font-size: 14px;
    line-height: 1.5;
    font-weight: 600;
    color: #454649;
    white-space: nowrap;
    transition: color var(--ease)
}

.main-nav a:hover,.main-nav a.active {
    color: #171819;
}

.top-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 160px;
    min-height: 31px;
    padding: 5px 18px;
    border-radius: 70px;
    background: var(--red);
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    white-space: nowrap;
    transition: background var(--ease)
}

.top-cta:hover {
    background: var(--red-dark)
}

.menu-toggle {
    display: none;
    border: 0;
    background: transparent;
    padding: 10px
}

.menu-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    margin: 4px 0;
    background: var(--blue);
    border-radius: 5px;
    transition: transform var(--ease)
}

.inner-headline {
    position: relative;
    padding-top: 210px;
    text-align: right;
    color: #fff
}

.inner-headline h1 {
    margin: 0;
    font-size: clamp(40px,4vw,63px);
    font-weight: 900;
    line-height: 1.2;
    letter-spacing: -1px
}

.hero-kicker {
    font-size: 35px;
    font-weight: 500;
    line-height: 1.3
}

.hero-container {
    height: 100%;
    position: relative
}

.home-headline {
    position: absolute;
    left: 10%;
    top: 240px;
    width: 620px;
    max-width: 56%;
    color: #fff;
    text-align: center
}

.home-headline>span {
    display: block;
    font-size: 39px;
    line-height: 1.35
}

.home-headline h1 {
    font-size: 61px;
    font-weight: 900;
    line-height: 1.32;
    margin-bottom: 8px;
    white-space: nowrap
}

.home-headline p {
    font-size: 27px;
    margin-bottom: 15px;
    line-height: 1.5
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 10px
}

.hero-buttons .btn {
    font-size: 17px;
    min-height: 40px;
    padding: 4px 21px
}

.hero-buttons .btn span {
    display: none
}

.hero-contact-strip {
    position: absolute;
    bottom: 0;
    left: 0;
    background: #fff;
    border-radius: 17px 17px 0 0;
    display: flex;
    align-items: center;
    gap: 22px;
    min-height: 55px;
    padding: 3px 22px;
    font-size: 24px;
    color: #4c4b4e
}

.hero-contact-strip a,.location-hero {
    display: flex;
    align-items: center;
    gap: 10px
}

.hero-icon,.location-hero img {
    width: 37px;
    display: inline-flex;
    align-items: center
}

.tiny-icon {
    width: 100%;
    height: auto;
    max-height: 39px;
    object-fit: contain
}

.hero-contact-strip i {
    width: 2px;
    height: 36px;
    background: var(--blue);
    display: block
}

.hero-contact-strip b {
    font-weight: 500
}

/* Section titles */
.section-title {
    text-align: center;
    margin: 0 auto 42px;
    color: var(--blue)
}

.section-title h2 {
    margin: 0;
    font-size: 27px;
    font-weight: 900;
    line-height: 1.6
}

.section-title p {
    font-size: 17px;
    color: #53545a;
    margin: 0
}

.bar-heading {
    display: flex;
    align-items: center;
    gap: 16px;
    margin: 0 0 18px;
    color: var(--blue);
    font-size: 26px;
    font-weight: 900;
    line-height: 1.45;
    white-space: normal
}

.bar-heading::before {
    content: '';
    height: 2px;
    width: 155px;
    max-width: 25%;
    background: var(--blue);
    flex: 0 0 auto
}

/* Home intro */
.about-teaser {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 54px;
    align-items: center;
    min-height: 595px;
    padding-top: 75px;
    padding-bottom: 85px
}

.teaser-copy {
    max-width: 600px;
    text-align: right
}

.teaser-copy p {
    font-size: 22px;
    line-height: 1.6;
    margin: 22px 0 30px
}

.teaser-image {
    position: relative;
    height: 490px;
    align-self: end;
    order: 2;
    display: flex;
    align-items: end;
    justify-content: center
}

.teaser-shape {
    position: absolute;
    z-index: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 84%;
    background: var(--teal);
    border-radius: 0 56% 56% 0
}

.teaser-doctor {
    position: relative;
    height: 100%;
    width: auto;
    max-width: 100%;
    object-fit: contain;
    object-position: bottom
}

/* Home services and featured panel */
.home-services {
    padding: 30px 0 70px
}

.home-service-tabs {
    display: flex;
    flex-wrap: nowrap;
    justify-content: center;
    gap: 11px;
    overflow: auto;
    scrollbar-width: none;
    padding: 2px 0 22px
}

.home-service-tabs::-webkit-scrollbar {
    display: none
}

.home-service-tab {
    flex: 1;
    min-width: 180px;
    max-width: 245px;
    min-height: 50px;
    border: 0;
    border-radius: 80px;
    padding: 7px 16px;
    background: #d9e9e9;
    color: var(--blue);
    font-weight: 700;
    font-size: 15px;
    transition: background var(--ease),color var(--ease);
    line-height: 1.4
}

.home-service-tab.active,.home-service-tab:hover {
    background: var(--blue);
    color: #fff
}

.featured-service {
    padding: 16px;
    border-radius: 22px;
    background: #fff;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 22px;
    align-items: stretch;
    min-height: 450px;
    box-shadow: 0 6px 18px rgba(38,67,75,.035)
}

.featured-service-image {
    border-radius: 18px;
    min-height: 395px;
    overflow: hidden;
    background: var(--aqua)
}

.featured-service-image img {
    width: 100%;
    height: 100%;
    max-height: 490px;
    object-fit: cover
}

.featured-service-text {
    padding: 35px 24px 28px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center
}

.featured-service-text h3 {
    font-size: 28px;
    font-weight: 900;
    color: var(--blue);
    line-height: 1.5;
    margin-bottom: 16px
}

.featured-service-text p {
    font-size: 19px;
    line-height: 1.85;
    max-width: 580px
}

.featured-service-text .btn {
    margin-top: 15px;
    min-width: 220px
}

/* Video channel and video placeholders in Figma */
.channel-section {
    padding: 45px 0 95px
}

.channel-intro,.video-intro {
    display: flex;
    gap: 65px;
    align-items: center;
    justify-content: space-between;
    margin: 0 0 65px
}

.channel-photo {
    position: relative;
    flex: 0 0 40%;
    height: 405px;
    background: #fff;
    border-radius: 130px 130px 22px 22px;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    margin-bottom: 20px
}

.channel-doctor {
    height: 110%;
    max-width: 100%;
    object-fit: contain;
    object-position: center bottom
}

.youtube-ribbon {
    position: absolute;
    bottom: -25px;
    left: 7%;
    width: 260px;
    height: auto
}

.channel-copy {
    flex: 1;
    text-align: right
}

.channel-copy p {
    font-size: 23px;
    line-height: 1.65
}

.video-grid-home {
    display: grid;
    gap: 30px
}

.video-card {
    padding: 15px;
    border: 0;
    border-radius: 20px;
    background: #fff;
    text-align: right;
    color: var(--ink);
    display: flex;
    flex-direction: column;
    transition: transform var(--ease),box-shadow var(--ease);
    width: 100%
}

.video-card:hover {
    box-shadow: var(--shadow);
    transform: translateY(-2px)
}

.video-empty {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    aspect-ratio: 1.75;
    background: #f0f0f0;
    border-radius: 12px
}

.play-button {
    width: 85px;
    height: 85px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-right: 0;
    padding-left: 5px;
    border-radius: 50%;
    background: var(--red);
    color: #fff;
    font-size: 38px;
    line-height: 1;
    transition: transform var(--ease)
}

.video-card:hover .play-button {
    transform: scale(1.08)
}

.video-big .video-empty {
    aspect-ratio: 2.15
}

.video-big .play-button {
    width: 220px;
    height: 220px;
    font-size: 100px
}

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

.small-videos .play-button,.video-grid-inner .play-button {
    height: 72px;
    width: 72px;
    font-size: 30px
}

.video-caption {
    font-size: 17px;
    line-height: 1.5;
    padding: 10px 4px 0;
    text-align: right
}

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

.video-grid-inner .video-big {
    grid-column: 1/-1
}

.video-grid-inner .video-big .play-button {
    width: 180px;
    height: 180px;
    font-size: 90px
}

/* Articles */
.home-articles {
    padding: 15px 0 90px
}

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

.article-card {
    display: block;
    text-align: right;
    overflow: hidden;
    transition: transform var(--ease)
}

.article-card:hover {
    transform: translateY(-4px)
}

.article-card-placeholder {
    width: 100%;
    height: 200px;
    background: #d5d5d5;
    border-radius: 11px 11px 0 0
}

.article-card-copy {
    padding: 14px 9px
}

.article-card h3 {
    font-size: 19px;
    font-weight: 800;
    color: var(--red);
    line-height: 1.5;
    margin: 0 0 7px
}

.article-card p {
    font-size: 15px;
    line-height: 1.75;
    margin-bottom: 0;
    color: #4e4e53;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow: hidden
}

.home-contact {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 20px;
    padding-bottom: 100px
}

.article-listing-grid {
    display: grid;
    grid-template-columns: repeat(3,minmax(0,1fr));
    gap: 28px 22px;
    background: #fff;
    padding: 24px;
    border-radius: 18px
}

.article-listing-grid .article-card-placeholder {
    height: 225px
}

.article-listing-grid .article-card-copy {
    padding: 10px 4px 3px
}

/* Booking form and branch locations */
.booking-form {
    background: var(--blue);
    color: #fff;
    border-radius: 18px;
    padding: 18px 20px 22px;
    max-width: 100%
}

.booking-form h3 {
    text-align: center;
    color: #e5eff5;
    margin: 0 0 15px;
    font-size: 26px;
    font-weight: 800
}

.form-fields {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px
}

.form-fields input,.form-fields select,.booking-form textarea {
    min-width: 0;
    width: 100%;
    border: 1px solid transparent;
    background: #fff;
    border-radius: 5px;
    color: #333;
    padding: 6px 13px;
    font-size: 16px;
    line-height: 1.7;
    text-align: right;
    min-height: 42px;
    outline-offset: 1px
}

.form-fields input::placeholder,.booking-form textarea::placeholder {
    color: #9d9d9d
}

.form-fields select {
    color: #8f8f8f;
    cursor: pointer
}

.booking-form textarea {
    height: 180px;
    resize: vertical;
    margin-top: 12px;
    min-height: 140px
}

.form-hint {
    font-size: 16px;
    line-height: 1.7;
    text-align: center;
    margin: 11px 0 6px;
    color: #fff
}

.form-submit {
    min-width: 235px;
    min-height: 48px;
    background: var(--red);
    border: 0;
    border-radius: 40px;
    color: #fff;
    padding: 7px 22px;
    margin-top: 8px;
    font-size: 19px;
    font-weight: 700;
    transition: background var(--ease)
}

.form-submit:hover {
    background: var(--red-dark)
}

.form-status {
    display: block;
    font-size: 13px;
    min-height: 5px;
    margin-top: 6px;
    color: #fff
}

.branches-widget {
    background: var(--aqua);
    border-radius: 18px;
    padding: 15px 18px 18px
}

.branches-widget h3 {
    text-align: center;
    font-size: 25px;
    color: var(--blue);
    margin: 0 0 14px
}

.branch-display {
    min-height: 200px;
    background: #fff;
    border-radius: 9px;
    padding: 24px 16px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--blue)
}

.branch-display span {
    font-size: 20px;
    font-weight: 800
}

.branch-display p {
    font-size: 15px;
    margin-top: 7px
}

.branch-tabs {
    display: flex;
    gap: 10px;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 20px
}

.branch-tab {
    border: 0;
    min-height: 41px;
    border-radius: 50px;
    padding: 6px 20px;
    font-size: 15px;
    line-height: 1.35;
    background: #949d9e;
    color: #fff;
    transition: background var(--ease)
}

.branch-tab:hover,.branch-tab.active {
    background: var(--red)
}

/* Inner pages shared layouts */
.inner-page {
    padding: 85px 0 90px
}

.content-with-aside {
    display: grid;
    grid-template-columns: minmax(0,1fr) 390px;
    align-items: start;
    gap: 22px
}

.primary-column {
    min-width: 0
}

.side-column {
    display: flex;
    flex-direction: column;
    gap: 15px
}

.side-services {
    background: var(--aqua);
    padding: 16px 18px;
    border-radius: 16px;
    text-align: center
}

.side-services h3 {
    font-size: 24px;
    font-weight: 900;
    color: var(--blue);
    margin: 0 0 13px
}

.sidebar-service {
    display: block;
    border-radius: 9px;
    background: #fff;
    color: var(--blue);
    font-size: 15px;
    font-weight: 700;
    line-height: 1.5;
    padding: 9px 10px;
    margin-bottom: 9px;
    transition: background var(--ease),color var(--ease)
}

.sidebar-service:hover {
    background: var(--blue);
    color: #fff
}

.inner-page .booking-form {
    padding: 15px 19px
}

.inner-page .form-fields {
    grid-template-columns: 1fr 1fr
}

.inner-page .booking-form textarea {
    height: 180px
}

.inner-page .branch-display {
    min-height: 135px
}

.inner-page .branch-tabs {
    gap: 5px
}

.inner-page .branch-tab {
    padding: 7px 11px;
    font-size: 13px
}

/* Doctor about page */
.about-page {
    padding-top: 85px
}

.doctor-profile {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 42px
}

.profile-copy {
    flex: 1
}

.profile-copy h2 {
    font-size: 32px;
    color: var(--blue);
    margin: 0 0 24px
}

.profile-copy p {
    font-size: 17px;
    line-height: 1.65;
    text-align: right
}

.profile-image {
    flex: 0 0 42%;
    height: 480px;
    display: flex;
    align-items: end;
    justify-content: center;
    overflow: hidden;
    position: relative
}

.teal-portrait {
    background: var(--teal);
    border-radius: 52% 52% 18px 18px
}

.profile-image img {
    object-fit: contain;
    object-position: center bottom;
    height: 100%
}

.tinted-list {
    display: grid;
    gap: 10px
}

.tinted-list>div {
    background: var(--aqua);
    border-radius: 9px;
    padding: 10px 15px;
    color: var(--blue);
    text-align: right;
    font-size: 17px;
    font-weight: 600
}

.about-page .section-title {
    margin-bottom: 18px
}

.about-page .section-title h2 {
    font-size: 33px
}

.about-page .primary-column>section {
    margin: 48px 0
}

.career-list>div {
    padding: 10px 18px
}

.hospital-grid {
    display: grid;
    grid-template-columns: repeat(3,minmax(0,1fr));
}

.hospital-logo {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 6px;
    background: #fff;
    border-radius: 8px;
    min-height: 175px;
    padding: 13px
}

.hospital-logo img {
    width: auto;
    max-height: 203px;
    max-width: 95%;
    object-fit: contain
}

.hospital-logo small {
    font-size: 22px;
    text-align: center;
    color: #3360A9;
}

.experience-panels {
    display: grid;
    gap: 10px
}

.experience-panel {
    background: var(--aqua);
    padding: 15px 23px;
    border-radius: 9px
}

.experience-panel h3 {
    color: var(--blue);
    font-size: 23px;
    margin-bottom: 7px
}

.experience-panel p {
    font-size: 17px;
    margin-bottom: 6px
}

.certificate-slide {
    height: 240px;
    background: #fff;
    border-radius: 13px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px
}

.certificate-slide img {
    height: 100%;
    width: auto;
    max-width: 100%;
    object-fit: contain
}

.certificates-carousel {
    display: flex;
    gap: 15px;
    overflow-x: auto;
    scroll-snap-type: x mandatory
}

.certificates-carousel:not(.owl-loaded)>.certificate-slide {
    flex: 0 0 calc(33.33% - 10px);
    scroll-snap-align: start
}

.certificates-carousel.owl-loaded {
    display: block;
    overflow: visible
}

.owl-carousel .owl-nav button.owl-next,.owl-carousel .owl-nav button.owl-prev {
    background: var(--blue)!important;
    color: #fff!important;
    font-size: 35px!important;
    width: 42px;
    height: 42px;
    border-radius: 50%!important;
    line-height: 1!important;
    margin: 8px!important
}

.owl-carousel .owl-dot.active span {
    background: var(--red)!important
}

/* Videos & gallery & filters */
.video-intro {
    margin: 0 0 45px;
    gap: 60px
}

.video-intro .channel-photo {
    height: 360px;
    flex: 0 0 39%
}

.video-intro .channel-copy p {
    font-size: 21px
}

.filter-pills {
    display: flex;
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0 0 25px
}

.filter-pill {
    border: 0;
    color: var(--blue);
    background: #d8e9e9;
    border-radius: 35px;
    min-height: 34px;
    padding: 5px 14px;
    font-size: 14px;
    font-weight: 700;
    transition: background var(--ease),color var(--ease)
}

.filter-pill.active,.filter-pill:hover {
    color: #fff;
    background: var(--blue)
}

.gallery-grid {
    background: #fff;
    border-radius: 16px;
    padding: 16px;
    display: grid;
    grid-template-columns: repeat(2,minmax(0,1fr));
    gap: 13px
}

.gallery-tile {
    padding: 0;
    border: 0;
    background: #d7eced;
    aspect-ratio: 1.4;
    overflow: hidden;
    border-radius: 12px;
    transition: transform var(--ease)
}

.gallery-tile:hover {
    transform: scale(.98)
}

.gallery-tile img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .4s ease
}

.gallery-tile:hover img {
    transform: scale(1.08)
}

.gallery-lightbox {
    position: fixed;
    z-index: 2000;
    inset: 0;
    background: #0c172ce8;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 55px
}

.gallery-lightbox[hidden] {
    display: none
}

.gallery-lightbox img {
    max-width: min(950px,100%);
    max-height: 90vh;
    object-fit: contain;
    border: 8px solid #fff;
    border-radius: 16px
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 20px;
    color: #fff;
    background: transparent;
    border: 0;
    font-size: 42px;
    line-height: 1
}

.empty-filter {
    padding: 30px;
    text-align: center;
    color: var(--blue)
}

.pagination {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 8px;
    margin: 20px 0 0
}

.pagination button {
    min-width: 50px;
    min-height: 38px;
    border: 0;
    border-radius: 45px;
    background: var(--teal);
    color: #fff;
    font-size: 16px;
    padding: 5px 18px;
    transition: background var(--ease)
}

.pagination button:hover,.pagination button.current {
    background: var(--blue)
}

/* Services grid from reference */
.services-page .section-title {
    margin-bottom: 44px
}

.service-cards-grid {
    display: grid;
    grid-template-columns: repeat(2,minmax(0,1fr));
    gap: 22px;
    padding: 24px;
    background: #fff;
    border-radius: 16px
}

.service-card {
    display: block;
    min-width: 0
}

.service-card-placeholder {
    width: 100%;
    height: 245px;
    border-radius: 12px;
    background: var(--aqua)
}

.service-card-art {
    width: 100%;
    height: 260px;
    border-radius: 12px;
    background: var(--aqua);
    overflow: hidden
}

.service-card-art img {
    width: 100%;
    height: 100%;
    object-fit: cover
}

.service-card-copy {
    padding: 12px 6px 16px
}

.service-card h3 {
    margin: 0 0 8px;
    color: var(--red);
    font-size: 20px;
    font-weight: 900
}

.service-card p {
    margin: 0;
    font-size: 16px;
    line-height: 1.7;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow: hidden
}

.service-card:hover h3 {
    text-decoration: underline;
    text-underline-offset: 3px
}

/* Testimonials */
.review-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px
}

.review-card {
    background: #fff;
    padding: 17px 20px 12px;
    border-radius: 16px;
    min-height: 258px
}

.review-card-head {
    display: flex;
    gap: 12px;
    align-items: center;
    color: var(--blue)
}

.review-avatar {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    object-fit: cover
}

.review-card-head strong {
    display: block;
    font-size: 17px;
    line-height: 1.3
}

.review-card-head small {
    display: block;
    font-size: 13px;
    color: #777
}

.stars {
    color: #f6be2e;
    letter-spacing: 2px;
    font-size: 17px;
    white-space: nowrap
}

.review-score {
    font-size: 13px;
    color: var(--muted)
}

.fb-mini {
    margin-right: auto;
    color: #3376d5;
    font-size: 24px;
    font-weight: 900
}

.review-card p {
    font-size: 15px;
    line-height: 1.75;
    margin: 12px 0 0;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 4;
    overflow: hidden
}

.review-card.expanded p {
    -webkit-line-clamp: unset;
    display: block
}

.review-expand {
    border: 0;
    border-radius: 28px;
    background: var(--aqua);
    padding: 2px 25px;
    min-height: 27px;
    display: block;
    margin: 12px auto 0;
    color: var(--blue);
    font-size: 13px
}

.review-expand:hover {
    background: var(--teal);
    color: #fff
}

/* Contact page */
.contact-main {
    display: grid;
    grid-template-columns: 1fr 1.05fr;
    gap: 22px;
    align-items: start
}

.contact-info {
    text-align: right;
    padding: 0 0 15px
}

.contact-info>h2 {
    font-size: 26px;
    color: var(--blue);
    margin-bottom: 12px
}

.contact-info>p {
    font-size: 19px;
    line-height: 1.65
}

.contact-info>h3 {
    color: var(--blue);
    font-size: 24px;
    margin: 25px 0 14px
}

.clinic-card {
    background: #fff;
    border-radius: 22px;
    padding: 14px 20px;
    margin-bottom: 12px
}

.clinic-card h3 {
    color: var(--blue);
    font-size: 17px;
    margin-bottom: 7px
}

.clinic-card p {
    font-size: 14px;
    color: #5b5b5e;
    margin: 0 0 5px
}

.clinic-meta {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 8px;
    color: #596176;
    font-size: 13px
}

.clinic-card>a {
    display: block;
    text-align: center;
    color: var(--blue);
    font-weight: 700;
    font-size: 14px;
    border-radius: 28px;
    background: var(--aqua);
    margin-top: 8px
}

.contact-form-column .booking-form {
    padding: 20px 22px
}

.contact-form-column .booking-form h3 {
    display: none
}

.contact-page .form-fields {
    gap: 10px 16px
}

.contact-map-section {
    margin-top: 85px
}

.contact-map-section .branch-tabs {
    margin-bottom: 16px
}

.map-placeholder {
    background: var(--aqua);
    border-radius: 18px;
    min-height: 360px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 30px;
    text-align: center;
    color: var(--blue)
}

.map-pin {
    font-size: 75px;
    color: var(--teal-dark);
    line-height: 1.1
}

.map-placeholder strong {
    font-size: 25px
}

.map-placeholder p {
    font-size: 17px
}

/* Individual service article pages */
.service-cover {
    width: 100%;
    aspect-ratio: 2.08;
    border-radius: 17px;
    overflow: hidden;
    background: #d4ecf3;
    margin-bottom: 28px
}

.service-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover
}

.service-article-title {
    color: var(--blue);
    font-size: 29px;
    margin: 15px 0 12px;
    line-height: 1.5
}

.service-article>.lead {
    font-size: 19px;
    line-height: 2;
    color: var(--ink);
    padding-bottom: 16px
}

.detail-section {
    font-size: 17px;
    line-height: 2;
    text-align: right;
    margin: 18px 0 27px
}

.detail-section h2 {
    font-size: 24px;
    color: var(--blue);
    margin: 22px 0 15px;
    font-weight: 800
}

.detail-section h3 {
    color: var(--blue);
    font-size: 21px;
    margin: 14px 0 9px
}

.detail-section p {
    margin: 12px 0 20px
}

.info-section {
    background: var(--aqua);
    padding: 20px 23px;
    border-radius: 12px
}

.info-section h2 {
    margin-top: 0
}

.check-list {
    padding: 0;
    list-style: none
}

.check-list li {
    position: relative;
    margin: 10px 0;
    padding: 9px 40px 9px 9px;
    border-radius: 8px;
    background: var(--aqua-2);
    color: var(--blue);
    font-weight: 700
}

.check-list li::before {
    content: '✓';
    position: absolute;
    right: 12px;
    color: var(--teal-dark);
    font-weight: 900
}

.number-list {
    padding: 0;
    list-style: none;
    counter-reset: step
}

.number-list li {
    position: relative;
    min-height: 48px;
    padding: 9px 57px 9px 12px;
    counter-increment: step;
    margin-bottom: 9px;
    border-radius: 9px;
    background: var(--aqua)
}

.number-list li::before {
    content: counter(step,decimal-leading-zero);
    position: absolute;
    right: 11px;
    top: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 800;
    font-size: 15px;
    width: 36px;
    height: 36px;
    background: var(--blue);
    border-radius: 50%
}

.faq-item {
    background: #d7eaec;
    border-radius: 10px;
    margin: 9px 0;
    overflow: hidden
}

.faq-item summary {
    list-style: none;
    cursor: pointer;
    padding: 12px 20px;
    color: var(--blue);
    font-weight: 800;
    font-size: 17px;
    display: flex;
    align-items: center;
    justify-content: space-between
}

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

.faq-item summary::after {
    content: '+';
    font-size: 27px;
    font-weight: 500;
    line-height: 1
}

.faq-item[open] summary::after {
    content: '−'
}

.faq-item p {
    margin: 0;
    padding: 0 20px 16px;
    font-size: 16px
}

.service-article-cta {
    text-align: center;
    margin: 35px 0;
    padding: 25px 15px;
    border-top: 1px solid #cbd3d6;
    border-bottom: 1px solid #cbd3d6
}

.service-article-cta h3 {
    font-size: 21px;
    color: var(--blue);
    margin: 0 0 18px
}

.cta-row {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap
}

.cta-row .btn {
    min-width: 220px
}

.related-section {
    margin: 35px 0
}

.related-section .section-title {
    text-align: right;
    margin: 0 0 25px
}

.related-section .section-title h2 {
    font-size: 25px
}

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

.related-grid .article-card-placeholder {
    height: 150px
}

.related-grid .article-card h3 {
    font-size: 17px
}

.related-grid .article-card p {
    font-size: 14px
}

.article-cover {
    height: 400px;
    border-radius: 13px
}

/* Video modal */
.video-modal {
    position: fixed;
    z-index: 3000;
    inset: 0;
    background: #0b1732d9;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px
}

.video-modal[hidden] {
    display: none
}

.modal-panel {
    position: relative;
    width: min(540px,100%);
    border-radius: 20px;
    background: #fff;
    padding: 35px;
    text-align: center;
    box-shadow: 0 20px 50px #061b2b44
}

.modal-panel h3 {
    color: var(--blue);
    font-size: 24px
}

.modal-panel p {
    font-size: 16px
}

.modal-close {
    position: absolute;
    left: 15px;
    top: 8px;
    background: transparent;
    border: 0;
    font-size: 34px;
    color: #666
}

.modal-play {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    background: var(--red);
    color: #fff;
    font-size: 42px;
    margin: 0 auto 15px
}

/* Footer */
.site-footer {
    background: var(--aqua);
    margin-top: 0
}

.footer-contact {
    background: linear-gradient(90deg,#d8ecec,#7ebbc1);
    color: var(--blue)
}

.foot-contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1.55fr;
    gap: 24px;
    align-items: center;
    min-height: 103px
}

.foot-contact-grid>a {
    display: grid;
    grid-template-columns: 75px 1fr;
    grid-template-rows: auto auto;
    align-items: center;
    column-gap: 12px
}

.foot-contact-grid a span {
    grid-row: 1/3;
    grid-column: 1;
    width: 70px;
    height: 70px;
    display: flex;
    justify-content: center;
    align-items: center
}

.foot-symbol {
    width: 63px;
    height: 63px;
    object-fit: contain
}

.foot-contact-grid small {
    font-size: 17px;
    line-height: 1.4
}

.foot-contact-grid b {
    font-size: 18px;
    line-height: 1.5;
    font-weight: 800;
}
.foot-contact-grid a[href*="tel"] b {
    width:fit-content
}
.footer-body {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 70px;
    padding-top: 40px;
    padding-bottom: 28px
}

.footer-about {
    padding: 10px 25px 0;
    text-align: right
}

.footer-logo {
    width: min(520px,100%);
    height: auto;
    object-fit: contain;
    margin: 0 auto 28px 0;
    display: inline-block;
}

.footer-about h2 {
    font-size: 30px;
    font-weight: 900;
    color: #4c5051;
    margin-bottom: 18px
}

.footer-about p {
    font-size: 18px;
    line-height: 1.6
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 13px;
    margin-top: 30px
}

.social-links>a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 51px;
    height: 51px;
    background: var(--blue);
    color: #fff;
    font-size: 28px;
    font-weight: 900;
    border-radius: 50%;
    transition: transform var(--ease)
}

.social-links>a:hover {
    transform: translateY(-3px)
}

.footer-services {
    background: #eaf6f6;
    border-radius: 20px;
    text-align: right;
    padding: 28px 40px
}

.footer-services h3 {
    font-size: 25px;
    margin: 0 0 14px
}

.footer-service-links {
    display: grid;
    gap: 2px
}

.footer-service-links a {
    font-size: 17px;
    line-height: 1.55
}

.footer-service-links a:hover {
    color: var(--blue)
}

.footer-bottom {
    border-radius: 50px;
    background: var(--teal);
    text-align: center;
    color: #fff;
    font-size: 16px;
    min-height: 44px;
    padding: 7px 12px;
    margin-bottom: 14px
}

/* Tablet */
@media (max-width: 1250px) {
    .main-nav {
        gap:12px
    }

    .main-nav a {
        font-size: 12px
    }

    .nav-pill {
        gap: 10px
    }

    .top-cta {
        font-size: 12px;
        min-width: 138px
    }

    .home-headline {
        left: 7%;
        max-width: 60%
    }

    .home-headline h1 {
        font-size: 50px
    }

    .home-headline>span {
        font-size: 32px
    }

    .home-headline p {
        font-size: 22px
    }

    .content-with-aside {
        grid-template-columns: minmax(0,1fr) 335px
    }

    .about-teaser {
        gap: 25px
    }

    .teaser-copy p {
        font-size: 19px
    }
}

@media (max-width: 1050px) {
    .container {
        width:calc(100% - 40px)
    }

    .site-header {
        top: 25px
    }

    .menu-toggle {
        display: block;
        order: 2
    }

    .nav-pill {
        height: 62px;
        min-height: 62px
    }

    .brand-mark {
        flex-basis: 55px
    }

    .brand-icon {
        width: 45px;
        height: 45px
    }

    .main-nav {
        display: none;
        position: absolute;
        right: 12px;
        left: 12px;
        top: calc(100% + 10px);
        background: #fff;
        border-radius: 18px;
        box-shadow: var(--shadow);
        padding: 15px;
        z-index: 100;
        flex-direction: column;
        gap: 0;
        align-items: stretch
    }

    .main-nav.open {
        display: flex
    }

    .main-nav a {
        font-size: 15px;
        min-height: 42px;
        line-height: 42px;
        border-bottom: 1px solid #f0f0f0;
        padding: 0 10px
    }

    .top-cta {
        margin-right: auto;
        order: 3
    }

    .inner-headline {
        padding-top: 160px
    }

    .hero-inner {
        height: 315px
    }

    .content-with-aside {
        grid-template-columns: minmax(0,1fr) 315px
    }

    .home-headline {
        top: 205px
    }

    .about-teaser {
        min-height: 465px
    }

    .teaser-image {
        height: 380px
    }

    .teaser-copy p {
        font-size: 17px
    }

    .featured-service {
        min-height: 390px
    }

    .featured-service-image {
        min-height: 360px
    }

    .channel-photo {
        height: 320px
    }

    .channel-copy p {
        font-size: 17px
    }

    .service-cards-grid .service-card-placeholder {
        height: 210px
    }

    .foot-contact-grid b {
        font-size: 14px
    }
}

/* Mobile layouts provided in the PDF frames */
@media (max-width: 767px) {
    body {
        font-size:15px;
        line-height: 1.7
    }

    .container {
        width: calc(100% - 26px)
    }

    .site-header {
        top: 14px
    }

    .nav-pill {
        padding: 4px 10px;
        min-height: 48px;
        height: 48px;
        border-radius: 80px;
        gap: 6px
    }

    .brand-mark {
        flex: 0 0 38px
    }

    .brand-icon {
        width: 36px;
        height: 36px
    }

    .menu-toggle {
        width: 40px;
        padding: 8px;
        order: 1
    }

    .menu-toggle span {
        width: 19px;
        margin: 4px auto
    }

    .top-cta {
        min-height: 30px;
        min-width: 0;
        font-size: 12px;
        padding: 3px 13px;
        order: 3
    }

    .hero-inner {
        height: 230px;
        border-radius: 0 0 22px 22px
    }

    .inner-headline {
        padding-top: 107px
    }

    .hero-kicker {
        font-size: 18px
    }

    .inner-headline h1 {
        font-size: 35px;
        letter-spacing: 0
    }

    .hero-home {
        height: 322px;
        background-position: 70% center
    }

    .home-headline {
        top: 96px;
        left: 1%;
        max-width: 58%;
        width: 58%;
        text-align: center
    }

    .home-headline>span {
        font-size: 16px
    }

    .home-headline h1 {
        font-size: 26px;
        white-space: normal
    }

    .home-headline p {
        font-size: 12px;
        line-height: 1.5;
        margin-bottom: 9px
    }

    .hero-buttons {
        gap: 5px
    }

    .hero-buttons .btn {
        font-size: 10px;
        min-height: 26px;
        padding: 3px 8px;
        gap: 0
    }

    .hero-contact-strip {
        width: auto;
        max-width: 100%;
        left: 0;
        right: 0;
        min-height: 33px;
        padding: 2px 7px;
        justify-content: center;
        gap: 6px;
        font-size: 11px;
        border-radius: 12px 12px 0 0
    }

    .hero-contact-strip b {
        font-size: 11px
    }

    .hero-icon,.location-hero img {
        width: 21px
    }

    .hero-contact-strip i {
        height: 22px;
        width: 1px
    }

    .hero-contact-strip a,.location-hero {
        gap: 4px
    }

    .about-teaser {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
        min-height: 250px;
        padding-top: 26px;
        padding-bottom: 26px
    }

    .teaser-image {
        height: 227px;
        order: 2
    }

    .teaser-shape {
        height: 82%
    }

    .teaser-copy {
        align-self: center
    }

    .teaser-copy .bar-heading {
        font-size: 15px;
        gap: 6px;
        margin-bottom: 9px
    }

    .teaser-copy .bar-heading::before {
        width: 26px
    }

    .teaser-copy p {
        font-size: 11px;
        line-height: 1.6;
        margin: 4px 0 12px
    }

    .teaser-copy .btn {
        min-height: 28px;
        font-size: 12px;
        padding: 3px 13px
    }

    .teaser-copy .btn span {
        font-size: 12px
    }

    .section-title {
        margin-bottom: 18px
    }

    .section-title h2 {
        font-size: 20px
    }

    .section-title p {
        font-size: 13px
    }

    .bar-heading {
        font-size: 19px;
        gap: 10px
    }

    .bar-heading::before {
        width: 90px
    }

    .home-services {
        padding: 10px 0 25px
    }

    .home-service-tabs {
        justify-content: flex-start;
        gap: 6px;
        margin-bottom: 4px
    }

    .home-service-tab {
        min-width: 133px;
        max-width: none;
        min-height: 35px;
        font-size: 11px;
        padding: 7px
    }

    .featured-service {
        grid-template-columns: 1fr 1fr;
        gap: 9px;
        padding: 9px;
        min-height: 238px;
        border-radius: 14px
    }

    .featured-service-image {
        min-height: 216px;
        border-radius: 9px
    }

    .featured-service-image img {
        height: 100%
    }

    .featured-service-text {
        padding: 8px 2px;
        align-items: stretch
    }

    .featured-service-text h3 {
        font-size: 16px;
        line-height: 1.35;
        margin: 0 0 8px
    }

    .featured-service-text p {
        font-size: 11px;
        line-height: 1.5;
        margin: 0 0 9px;
        display: -webkit-box;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 7;
        overflow: hidden
    }

    .featured-service-text .btn {
        font-size: 11px;
        min-width: 0;
        min-height: 27px;
        margin-top: auto;
        padding: 5px 9px
    }

    .featured-service-text .btn span {
        display: none
    }

    .channel-section {
        padding: 25px 0 35px
    }

    .channel-intro,.video-intro {
        display: flex;
        flex-direction: column-reverse;
        align-items: stretch;
        gap: 16px;
        margin: 0 0 35px
    }

    .channel-copy {
        text-align: right
    }

    .channel-copy .bar-heading {
        font-size: 17px
    }

    .channel-copy p {
        font-size: 12px;
        line-height: 1.7
    }

    .channel-photo {
        flex: 0 0 auto;
        align-self: center;
        width: 100%;
        max-width: 460px;
        height: 380px;
        margin: 10px auto 18px;
        border-radius: 50% 50% 15px 15px
    }

    .channel-doctor {
        height: 104%
    }

    .youtube-ribbon {
        width: 220px;
        bottom: -21px
    }

    .video-grid-home {
        gap: 16px
    }

    .video-card {
        padding: 9px;
        border-radius: 12px
    }

    .video-empty {
        border-radius: 8px
    }

    .video-big .video-empty {
        aspect-ratio: 1.8
    }

    .video-big .play-button {
        width: 90px;
        height: 90px;
        font-size: 48px
    }

    .small-videos {
        grid-template-columns: repeat(2,minmax(0,1fr));
        gap: 10px
    }

    .small-videos .play-button,.video-grid-inner .play-button {
        width: 42px;
        height: 42px;
        font-size: 21px
    }

    .video-caption {
        font-size: 12px;
        padding: 4px 2px 0
    }

    .center-action {
        padding-top: 18px
    }

    .center-action .btn {
        min-width: 180px;
        font-size: 13px;
        min-height: 35px
    }

    .home-articles {
        padding: 20px 0 48px
    }

    .articles-grid-home {
        grid-template-columns: repeat(2,minmax(0,1fr));
        gap: 13px
    }

    .article-card-placeholder {
        height: 120px
    }

    .article-card-copy {
        padding: 8px 2px
    }

    .article-card h3 {
        font-size: 13px
    }

    .article-card p {
        font-size: 11px;
        line-height: 1.45
    }

    .home-contact {
        grid-template-columns: 1fr;
        gap: 16px;
        padding-bottom: 50px
    }

    .booking-form {
        padding: 12px 14px;
        border-radius: 12px
    }

    .booking-form h3 {
        font-size: 20px;
        margin-bottom: 8px
    }

    .form-fields {
        gap: 6px
    }

    .form-fields input,.form-fields select {
        font-size: 13px;
        min-height: 38px;
        padding: 4px 8px
    }

    .booking-form textarea {
        font-size: 13px;
        height: 105px;
        min-height: 105px;
        margin-top: 8px
    }

    .form-hint {
        font-size: 12px;
        margin: 5px 0
    }

    .form-submit {
        min-width: 165px;
        min-height: 36px;
        font-size: 14px;
        padding: 5px 15px
    }

    .branches-widget {
        border-radius: 13px
    }

    .branches-widget h3 {
        font-size: 20px
    }

    .branch-display {
        min-height: 150px
    }

    .branch-tabs {
        gap: 6px
    }

    .branch-tab {
        font-size: 12px;
        min-height: 33px;
        padding: 5px 12px
    }

    .inner-page {
        padding: 38px 0 45px
    }

    .content-with-aside {
        grid-template-columns: 1fr;
        gap: 22px
    }

    .side-column {
        order: 2;
        max-width: 100%;
        gap: 10px
    }

    .side-services h3 {
        font-size: 19px
    }

    .sidebar-service {
        font-size: 13px;
        margin-bottom: 5px
    }

    .video-intro .channel-photo {
        flex-basis: auto;
        height: 345px
    }

    .video-intro .channel-copy p {
        font-size: 13px
    }

    .video-grid-inner {
        gap: 11px
    }

    .video-grid-inner .video-big .play-button {
        width: 90px;
        height: 90px;
        font-size: 44px
    }

    .filter-pills {
        gap: 5px;
        margin-bottom: 12px
    }

    .filter-pill {
        font-size: 11px;
        padding: 5px 11px;
        min-height: 29px
    }

    .gallery-grid {
        gap: 7px;
        padding: 8px;
        border-radius: 11px
    }

    .gallery-tile {
        aspect-ratio: 1.05
    }

    .gallery-lightbox {
        padding: 12px
    }

    .gallery-lightbox img {
        border-width: 3px
    }

    .pagination {
        gap: 5px;
        justify-content: center
    }

    .pagination button {
        min-height: 29px;
        min-width: 31px;
        font-size: 12px;
        padding: 4px 11px
    }

    .services-page .section-title {
        margin-bottom: 20px
    }

    .service-cards-grid {
        grid-template-columns: repeat(2,minmax(0,1fr));
        gap: 11px;
        padding: 11px
    }

    .service-card-placeholder {
        height: 120px
    }

    .service-card h3 {
        font-size: 14px
    }

    .service-card p {
        font-size: 11px;
        line-height: 1.5
    }

    .service-card-copy {
        padding: 7px 2px
    }

    .article-listing-grid {
        grid-template-columns: repeat(2,minmax(0,1fr));
        padding: 11px;
        gap: 10px
    }

    .article-listing-grid .article-card-placeholder {
        height: 125px
    }

    .review-grid {
        gap: 10px
    }

    .review-card {
        padding: 9px;
        min-height: 230px;
        border-radius: 9px
    }

    .review-card-head {
        gap: 7px
    }

    .review-avatar {
        width: 36px;
        height: 36px
    }

    .review-card-head strong {
        font-size: 11px
    }

    .review-card-head small {
        font-size: 10px
    }

    .stars {
        font-size: 10px;
        letter-spacing: 0
    }

    .review-score {
        font-size: 10px
    }

    .fb-mini {
        font-size: 16px
    }

    .review-card p {
        font-size: 10px;
        line-height: 1.6;
        margin-top: 6px;
        -webkit-line-clamp: 6
    }

    .review-expand {
        font-size: 11px;
        padding: 2px 14px
    }

    .contact-main {
        grid-template-columns: 1fr;
        gap: 18px
    }

    .contact-info>h2 {
        font-size: 22px
    }

    .contact-info>p {
        font-size: 14px
    }

    .contact-info>h3 {
        font-size: 19px
    }

    .clinic-card {
        border-radius: 13px;
        padding: 12px 15px
    }

    .clinic-card h3 {
        font-size: 16px
    }

    .clinic-card p,.clinic-meta {
        font-size: 12px
    }

    .contact-form-column .booking-form {
        padding: 15px
    }

    .contact-map-section {
        margin-top: 40px
    }

    .map-placeholder {
        min-height: 230px
    }

    .map-placeholder strong {
        font-size: 20px
    }

    .map-placeholder p {
        font-size: 13px
    }

    .about-page {
        padding-top: 35px
    }

    .doctor-profile {
        display: flex;
        flex-direction: column-reverse;
        gap: 18px
    }

    .profile-image {
        width: 75%;
        height: 365px;
        flex: 0 0 auto;
        align-self: center
    }

    .profile-copy h2 {
        font-size: 23px
    }

    .profile-copy p {
        font-size: 14px
    }

    .tinted-list>div {
        font-size: 13px;
        padding: 8px 11px
    }

    .about-page .section-title h2 {
        font-size: 23px
    }

    .hospital-grid {
        grid-template-columns: repeat(3,minmax(0,1fr))
    }

    .hospital-logo {
        min-height: 100px;
        padding: 5px
    }

    .hospital-logo img {
        max-height: 65px
    }

    .hospital-logo small {
        font-size: 9px
    }

    .experience-panel h3 {
        font-size: 17px
    }

    .experience-panel p {
        font-size: 13px
    }

    .certificate-slide {
        height: 195px
    }

    .certificates-carousel:not(.owl-loaded)>.certificate-slide {
        flex-basis: calc(75% - 10px)
    }

    .service-cover {
        margin-bottom: 16px
    }

    .service-article-title {
        font-size: 22px
    }

    .service-article>.lead {
        font-size: 14px;
        line-height: 1.8
    }

    .detail-section {
        font-size: 14px;
        margin: 12px 0 20px
    }

    .detail-section h2 {
        font-size: 19px
    }

    .detail-section p {
        margin: 10px 0
    }

    .info-section {
        padding: 12px
    }

    .check-list li,.number-list li {
        font-size: 13px;
        padding-top: 7px;
        padding-bottom: 7px
    }

    .number-list li {
        padding-right: 50px
    }

    .faq-item summary {
        font-size: 13px;
        padding: 9px 12px
    }

    .faq-item p {
        font-size: 13px;
        padding: 0 12px 12px
    }

    .service-article-cta h3 {
        font-size: 17px
    }

    .cta-row .btn {
        min-width: 140px;
        font-size: 12px
    }

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

    .related-grid .article-card-placeholder {
        height: 78px
    }

    .related-grid .article-card h3 {
        font-size: 11px
    }

    .related-grid .article-card p {
        font-size: 10px
    }

    .footer-contact {
        padding: 8px 0
    }

    .foot-contact-grid {
        min-height: 55px;
        gap: 5px;
        grid-template-columns: 1fr 1fr 1.3fr
    }

    .foot-contact-grid>a {
        grid-template-columns: 25px 1fr;
        column-gap: 4px
    }

    .foot-contact-grid a span {
        width: 24px;
        height: 28px
    }

    .foot-symbol {
        width: 24px;
        height: 24px
    }

    .foot-contact-grid small {
        font-size: 10px
    }

    .foot-contact-grid b {
        font-size: 10px;
        overflow-wrap: anywhere
    }

    .footer-body {
        grid-template-columns: 1fr 1fr;
        gap: 15px;
        padding-top: 20px
    }

    .footer-about {
        padding: 3px 2px
    }

    .footer-logo {
        width: 100%;
        margin-bottom: 10px
    }

    .footer-about h2 {
        font-size: 16px;
        line-height: 1.5
    }

    .footer-about p {
        font-size: 11px;
        line-height: 1.65
    }

    .footer-services {
        padding: 14px;
        border-radius: 12px
    }

    .footer-services h3 {
        font-size: 15px
    }

    .footer-service-links a {
        font-size: 10px;
        line-height: 1.5
    }

    .social-links {
        gap: 6px;
        margin-top: 13px
    }

    .social-links>a {
        width: 31px;
        height: 31px;
        font-size: 18px
    }

    .footer-bottom {
        font-size: 11px;
        min-height: 28px;
        padding: 4px 10px
    }

    .modal-panel {
        padding: 20px
    }

    .modal-panel h3 {
        font-size: 18px
    }

    .modal-panel p {
        font-size: 13px
    }
}

@media (max-width: 390px) {
    .hero-home {
        height:293px
    }

    .home-headline {
        top: 89px
    }

    .home-headline h1 {
        font-size: 22px
    }

    .hero-contact-strip {
        font-size: 9px
    }

    .hero-contact-strip b {
        font-size: 9px
    }

    .featured-service-text h3 {
        font-size: 14px
    }

    .featured-service-text p {
        font-size: 10px
    }

    .section-title h2 {
        font-size: 18px
    }

    .channel-photo {
        height: 325px
    }

    .foot-contact-grid b {
        font-size: 9px
    }

    .review-grid {
        grid-template-columns: 1fr 1fr
    }
}

@media (prefers-reduced-motion:reduce) {
    html {
        scroll-behavior: auto
    }

    *,*::before,*::after {
        animation-duration: .01ms!important;
        transition-duration: .01ms!important;
        scroll-behavior: auto!important
    }
}

/* Reveal with accessible reduced-motion fallback */
@media (prefers-reduced-motion:no-preference) {
    .rise-on-scroll {
        opacity: .25;
        transform: translateY(16px);
        transition: opacity .4s ease,transform .4s ease
    }

    .rise-on-scroll.is-visible {
        opacity: 1;
        transform: none
    }
}

[hidden] {
    display: none!important
}

/* Figma's desktop doctor-profile portrait spans across the full top row;
   the sidebar begins below it alongside the training timeline. */
@media (min-width: 768px) {
    .about-page .content-with-aside {
        position:relative;
        padding-top: 540px
    }

    .about-page .doctor-profile {
        position: absolute;
        inset-inline: 0;
        top: 0;
        display: grid;
        grid-template-columns: minmax(0,1fr) 390px;
        gap: 22px;
        width: 100%;
        height: 490px
    }

    .about-page .doctor-profile .profile-copy {
        grid-column: 1;
        align-self: center
    }

    .about-page .doctor-profile .profile-image {
        grid-column: 2;
        width: 100%;
        height: 490px;
        align-self: end
    }

    .about-page .content-with-aside>.primary-column>.section-title:first-of-type {
        margin-top: 5px
    }
}

@media (min-width: 768px) and (max-width:1250px) {
    .about-page .doctor-profile {
        grid-template-columns:minmax(0,1fr) 335px
    }
}

.hero-contact-strip {
    flex-direction: row-reverse
}

/* Reset user-agent figure inline margins (prevents RTL mobile overflow). */
.service-cover {
    margin: 0 0 28px
}

@media (max-width: 767px) {
    .service-cover {
        margin-bottom:16px
    }
}

.owl-item {
    display: inline-block;
}
.articles-grid-home-carousel {
    overflow:hidden
}
.articles-grid-home-carousel  .owl-nav ,
.articles-grid-home-carousel .owl-dots {
    display:none
}