/* =========================================================
   TSIGRIS EYE CLINIC
   Base / Header / Hero
========================================================= */

:root {
    --navy: #073b68;
    --navy-dark: #052c4d;
    --blue: #0b5c93;
    --teal: #12a8b8;
    --teal-dark: #078b99;

    --sky-50: #f4fbfd;
    --sky-100: #eaf7fb;
    --sky-200: #d7f0f6;

    --text: #17324a;
    --text-soft: #617487;
    --white: #ffffff;

    --border: #dceaf0;

    --shadow-sm:
        0 8px 24px rgba(15, 55, 85, 0.08);

    --shadow-md:
        0 18px 45px rgba(15, 55, 85, 0.12);

    --radius-sm: 12px;
    --radius-md: 20px;
    --radius-lg: 30px;

    --container: 1180px;

    --transition: 0.25s ease;
}


/* =========================================================
   RESET
========================================================= */

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

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family:
        Inter,
        "Segoe UI",
        Roboto,
        Helvetica,
        Arial,
        sans-serif;

    color: var(--text);
    background: var(--white);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

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

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

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

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

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


/* =========================================================
   COMMON
========================================================= */

.section-label {
    display: inline-block;
    margin-bottom: 8px;

    color: var(--blue);

    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.18em;
}

.section-line {
    width: 54px;
    height: 3px;

    margin: 16px 0 24px;

    border-radius: 999px;
    background: var(--teal);
}

.button {
    min-height: 50px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 0 24px;

    border-radius: 11px;

    font-weight: 700;
    font-size: 0.95rem;

    transition:
        transform var(--transition),
        box-shadow var(--transition),
        background var(--transition),
        border-color var(--transition);
}

.button:hover {
    transform: translateY(-2px);
}

.button-primary {
    color: var(--white);
    background:
        linear-gradient(
            135deg,
            var(--teal),
            #0b98ad
        );

    box-shadow:
        0 10px 28px rgba(18, 168, 184, 0.22);
}

.button-primary:hover {
    box-shadow:
        0 14px 34px rgba(18, 168, 184, 0.30);
}

.button-secondary {
    color: var(--navy);
    background: rgba(255, 255, 255, 0.72);

    border: 1px solid rgba(7, 59, 104, 0.28);
}

.button-secondary:hover {
    background: var(--white);
    border-color: var(--navy);
}

.image-placeholder,
.hero-image-placeholder,
.map-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;

    color: #7b94a7;

    background:
        linear-gradient(
            135deg,
            #f5fafc,
            #dcecf3
        );

    border: 1px dashed #b8d1dc;
}


/* =========================================================
   HEADER
========================================================= */

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;

    background:
        rgba(255, 255, 255, 0.94);

    border-bottom:
        1px solid rgba(7, 59, 104, 0.08);

    backdrop-filter: blur(16px);
}

.header-inner {
    min-height: 84px;

    display: flex;
    align-items: center;
    gap: 30px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;

    flex-shrink: 0;
}

.brand-icon {
    width: 52px;
    height: 38px;

    display: flex;
    align-items: center;
    justify-content: center;

    color: var(--teal);

    border: 2px solid var(--navy);
    border-radius: 60% 40% 60% 40%;

    font-size: 1.4rem;

    transform: rotate(-4deg);
}

.brand-text {
    display: flex;
    flex-direction: column;

    line-height: 1.15;
}

.brand-text strong {
    color: var(--navy);

    font-size: 1.12rem;
    font-weight: 800;
}

.brand-text span {
    margin-top: 4px;

    color: var(--blue);

    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.main-nav {
    margin-left: auto;

    display: flex;
    align-items: center;
    gap: 24px;
}

.main-nav a {
    position: relative;

    color: #52687b;

    font-size: 0.88rem;
    font-weight: 600;

    transition: color var(--transition);
}

.main-nav a::after {
    content: "";

    position: absolute;
    left: 0;
    right: 0;
    bottom: -10px;

    width: 0;
    height: 2px;

    margin: auto;

    background: var(--teal);

    transition: width var(--transition);
}

.main-nav a:hover {
    color: var(--navy);
}

.main-nav a:hover::after {
    width: 100%;
}

.header-cta {
    min-height: 44px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 0 19px;

    color: var(--white);

    background:
        linear-gradient(
            135deg,
            var(--teal),
            #0892a6
        );

    border-radius: 10px;

    font-size: 0.86rem;
    font-weight: 800;

    box-shadow:
        0 9px 24px rgba(18, 168, 184, 0.18);

    transition:
        transform var(--transition),
        box-shadow var(--transition);
}

.header-cta:hover {
    transform: translateY(-2px);

    box-shadow:
        0 12px 30px rgba(18, 168, 184, 0.26);
}

.mobile-menu-button {
    display: none;

    margin-left: auto;

    border: 0;
    background: transparent;

    color: var(--navy);

    font-size: 1.7rem;
    cursor: pointer;
}


/* =========================================================
   HERO
========================================================= */

.hero {
    position: relative;
    overflow: hidden;

    min-height: 620px;

    background:
        radial-gradient(
            circle at 78% 30%,
            rgba(18, 168, 184, 0.12),
            transparent 32%
        ),
        linear-gradient(
            110deg,
            #ffffff 0%,
            #f7fcfe 48%,
            #eaf6fa 100%
        );
}

.hero::before {
    content: "";

    position: absolute;
    width: 420px;
    height: 420px;

    left: -180px;
    bottom: -220px;

    border-radius: 50%;

    background:
        rgba(18, 168, 184, 0.05);

    filter: blur(1px);
}

.hero-grid {
    min-height: 620px;

    display: grid;
    grid-template-columns: 1.02fr 0.98fr;
    align-items: center;

    gap: 40px;
}

.hero-content {
    position: relative;
    z-index: 2;

    padding: 78px 0;
}

.eyebrow {
    display: inline-flex;
    align-items: center;

    margin-bottom: 18px;
    padding: 7px 12px;

    color: var(--blue);

    background:
        rgba(18, 168, 184, 0.08);

    border:
        1px solid rgba(18, 168, 184, 0.18);

    border-radius: 999px;

    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.hero h1 {
    max-width: 650px;

    margin-bottom: 18px;

    color: var(--navy);

    font-size:
        clamp(2.6rem, 5vw, 4.65rem);

    line-height: 1.02;
    letter-spacing: -0.045em;
}

.hero h1 span {
    display: block;

    color: var(--teal);
}

.hero-description {
    max-width: 600px;

    margin-bottom: 28px;

    color: var(--text-soft);

    font-size: 1.05rem;
    line-height: 1.75;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;

    margin-bottom: 42px;
}

.hero-features {
    display: flex;
    flex-wrap: wrap;
    gap: 26px;
}

.hero-feature {
    display: flex;
    align-items: center;
    gap: 10px;

    color: #476479;

    font-size: 0.82rem;
    font-weight: 650;

    line-height: 1.35;
}

.feature-icon {
    width: 38px;
    height: 38px;

    display: flex;
    align-items: center;
    justify-content: center;

    flex-shrink: 0;

    color: var(--teal);

    background: var(--white);

    border:
        1px solid rgba(18, 168, 184, 0.18);

    border-radius: 50%;

    box-shadow: var(--shadow-sm);

    font-size: 1rem;
}


/* =========================================================
   HERO VISUAL
========================================================= */

.hero-visual {
    position: relative;

    min-height: 540px;

    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-image-placeholder {
    width: 100%;
    height: 500px;

    position: relative;
    overflow: hidden;

    border: 0;
    border-radius:
        45% 0 0 45%;

    color: rgba(7, 59, 104, 0.45);

    background:
        radial-gradient(
            circle at 65% 48%,
            rgba(13, 113, 145, 0.30) 0,
            rgba(13, 113, 145, 0.12) 17%,
            transparent 18%
        ),
        radial-gradient(
            circle at 65% 48%,
            rgba(255, 255, 255, 0.9) 0,
            rgba(255, 255, 255, 0.45) 28%,
            transparent 44%
        ),
        linear-gradient(
            135deg,
            #d9eef4,
            #bddce7 48%,
            #edf7fa
        );

    box-shadow: var(--shadow-md);

    font-weight: 700;
}

.hero-image-placeholder::before {
    content: "";

    position: absolute;

    width: 270px;
    height: 270px;

    border:
        1px solid rgba(255, 255, 255, 0.72);

    border-radius: 50%;
}

.hero-image-placeholder::after {
    content: "";

    position: absolute;

    width: 170px;
    height: 170px;

    border:
        1px solid rgba(255, 255, 255, 0.58);

    border-radius: 50%;
}

.hero-message {
    position: absolute;
    right: 28px;
    bottom: 42px;

    display: flex;
    flex-direction: column;
    align-items: flex-end;

    color: var(--navy);

    font-size: 0.82rem;
    font-weight: 800;

    letter-spacing: 0.11em;
    line-height: 1.45;

    text-shadow:
        0 1px 0 rgba(255, 255, 255, 0.9);
}


/* =========================================================
   TEMPORARY SECTION SPACING
========================================================= */

.doctor-section,
.services-section,
.gallery-section,
.reviews-section,
.contact-section {
    padding: 90px 0;
}

.doctor-section,
.gallery-section,
.contact-section {
    background: var(--white);
}

.services-section,
.reviews-section {
    background: var(--sky-50);
}


/* =========================================================
   RESPONSIVE - HEADER / HERO
========================================================= */

@media (max-width: 1050px) {

    .main-nav {
        display: none;
    }

    .mobile-menu-button {
        display: block;
    }

    .header-cta {
        display: none;
    }

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

    .hero-content {
        padding-bottom: 20px;
    }

    .hero-visual {
        min-height: 420px;
    }

    .hero-image-placeholder {
        height: 420px;
        border-radius: var(--radius-lg);
    }
}


@media (max-width: 700px) {

    .container {
        width: min(calc(100% - 28px), var(--container));
    }

    .header-inner {
        min-height: 72px;
    }

    .brand-icon {
        width: 44px;
        height: 32px;
    }

    .brand-text strong {
        font-size: 0.98rem;
    }

    .brand-text span {
        font-size: 0.58rem;
    }

    .hero {
        min-height: auto;
    }

    .hero-grid {
        min-height: auto;
    }

    .hero-content {
        padding-top: 55px;
    }

    .hero h1 {
        font-size:
            clamp(2.4rem, 12vw, 3.4rem);
    }

    .hero-description {
        font-size: 0.98rem;
    }

    .hero-actions {
        flex-direction: column;
    }

    .hero-actions .button {
        width: 100%;
    }

    .hero-features {
        flex-direction: column;
        gap: 16px;
    }

    .hero-visual {
        min-height: 340px;
    }

    .hero-image-placeholder {
        height: 330px;
    }

    .hero-message {
        right: 18px;
        bottom: 22px;

        font-size: 0.69rem;
    }

    .doctor-section,
    .services-section,
    .gallery-section,
    .reviews-section,
    .contact-section {
        padding: 65px 0;
    }
}

/* =========================================================
   DOCTOR SECTION
========================================================= */

.doctor-grid {
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    align-items: center;
    gap: 64px;
}

.doctor-photo .image-placeholder {
    min-height: 470px;

    border-radius: var(--radius-md);

    background:
        linear-gradient(
            135deg,
            #e6f3f7,
            #cbdfe7
        );

    box-shadow: var(--shadow-md);

    font-weight: 700;
}

.doctor-content h2 {
    margin-bottom: 2px;

    color: var(--navy);

    font-size: clamp(2.2rem, 4vw, 3.6rem);
    line-height: 1.05;
    letter-spacing: -0.035em;
}

.doctor-specialty {
    margin-bottom: 0;

    color: var(--teal);

    font-size: 1.15rem;
    font-weight: 700;
}

.doctor-content > p:not(.doctor-specialty) {
    max-width: 650px;

    color: var(--text-soft);

    font-size: 1rem;
    line-height: 1.8;
}

.doctor-highlights {
    margin-top: 34px;

    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.doctor-highlights > div {
    padding: 18px;

    background: var(--sky-50);

    border:
        1px solid rgba(7, 59, 104, 0.08);

    border-radius: var(--radius-sm);
}

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

.doctor-highlights strong {
    color: var(--navy);

    font-size: 0.9rem;
}

.doctor-highlights span {
    margin-top: 3px;

    color: var(--text-soft);

    font-size: 0.78rem;
}


/* =========================================================
   SERVICES
========================================================= */

.section-heading {
    margin-bottom: 34px;

    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 24px;
}

.section-heading h2,
.gallery-section h2,
.reviews-section h2,
.contact-section h2 {
    margin-bottom: 0;

    color: var(--navy);

    font-size:
        clamp(2rem, 4vw, 3.1rem);

    line-height: 1.1;
    letter-spacing: -0.03em;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.service-card {
    position: relative;
    overflow: hidden;

    min-height: 230px;

    padding: 30px;

    background: var(--white);

    border:
        1px solid rgba(7, 59, 104, 0.08);

    border-radius: var(--radius-md);

    box-shadow: var(--shadow-sm);

    transition:
        transform var(--transition),
        box-shadow var(--transition),
        border-color var(--transition);
}

.service-card::before {
    content: "";

    position: absolute;
    inset: 0 auto 0 0;

    width: 4px;

    background:
        linear-gradient(
            to bottom,
            var(--teal),
            var(--blue)
        );

    opacity: 0;

    transition: opacity var(--transition);
}

.service-card:hover {
    transform: translateY(-6px);

    border-color:
        rgba(18, 168, 184, 0.24);

    box-shadow: var(--shadow-md);
}

.service-card:hover::before {
    opacity: 1;
}

.service-icon {
    width: 52px;
    height: 52px;

    margin-bottom: 20px;

    display: flex;
    align-items: center;
    justify-content: center;

    color: var(--teal);

    background:
        linear-gradient(
            135deg,
            rgba(18, 168, 184, 0.08),
            rgba(11, 92, 147, 0.08)
        );

    border:
        1px solid rgba(18, 168, 184, 0.14);

    border-radius: 50%;

    font-size: 1.15rem;
}

.service-card h3 {
    margin-bottom: 10px;

    color: var(--navy);

    font-size: 1.1rem;
}

.service-card p {
    margin-bottom: 0;

    color: var(--text-soft);

    font-size: 0.9rem;
    line-height: 1.7;
}


/* =========================================================
   RESPONSIVE - DOCTOR / SERVICES
========================================================= */

@media (max-width: 950px) {

    .doctor-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .doctor-photo {
        max-width: 650px;
        width: 100%;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}


@media (max-width: 650px) {

    .doctor-photo .image-placeholder {
        min-height: 360px;
    }

    .doctor-highlights {
        grid-template-columns: 1fr;
    }

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

    .service-card {
        min-height: auto;
    }
}


/* =========================================================
   GALLERY
========================================================= */

.gallery-section {
    background:
        linear-gradient(
            to bottom,
            #ffffff,
            #f7fbfd
        );
}

.gallery-section .section-label,
.gallery-section h2 {
    margin-left: 0;
}

.gallery-grid {
    margin-top: 34px;

    display: grid;
    grid-template-columns: 1.35fr 0.9fr 1fr 1fr;
    gap: 18px;
}

.gallery-item {
    overflow: hidden;

    min-height: 280px;

    border-radius: var(--radius-md);

    box-shadow: var(--shadow-sm);

    transition:
        transform var(--transition),
        box-shadow var(--transition);
}

.gallery-item:hover {
    transform: translateY(-5px);

    box-shadow: var(--shadow-md);
}

.gallery-item .image-placeholder {
    width: 100%;
    height: 100%;
    min-height: 280px;

    border: 0;

    background:
        linear-gradient(
            135deg,
            #eaf4f8,
            #cddfe6
        );

    font-weight: 700;
}


/* =========================================================
   REVIEWS
========================================================= */

.reviews-section {
    position: relative;

    overflow: hidden;
}

.reviews-section::before {
    content: "";

    position: absolute;

    width: 380px;
    height: 380px;

    right: -170px;
    top: -170px;

    border-radius: 50%;

    background:
        rgba(18, 168, 184, 0.06);
}

.reviews-slider {
    position: relative;
    z-index: 2;

    margin-top: 34px;

    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 22px;
}

#review-container {
    min-height: 265px;
}

.review-card {
    position: relative;

    min-height: 265px;

    display: flex;
    flex-direction: column;
    justify-content: center;

    padding: 42px 48px;

    background: var(--white);

    border:
        1px solid rgba(7, 59, 104, 0.08);

    border-radius: var(--radius-md);

    box-shadow: var(--shadow-md);

    animation:
        reviewFade 0.45s ease;
}

.review-stars {
    margin-bottom: 18px;

    color: #f5b21b;

    font-size: 1.15rem;
    letter-spacing: 0.12em;
}

.review-text {
    max-width: 850px;

    margin-bottom: 24px;

    color: var(--text);

    font-size: 1.13rem;
    line-height: 1.8;
}

.review-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.review-avatar {
    width: 42px;
    height: 42px;

    display: flex;
    align-items: center;
    justify-content: center;

    flex-shrink: 0;

    color: var(--white);

    background:
        linear-gradient(
            135deg,
            var(--teal),
            var(--blue)
        );

    border-radius: 50%;

    font-weight: 800;
}

.review-author strong {
    display: block;

    color: var(--navy);
}

.review-author span {
    display: block;

    color: var(--text-soft);

    font-size: 0.78rem;
}

.review-arrow {
    width: 46px;
    height: 46px;

    display: flex;
    align-items: center;
    justify-content: center;

    border:
        1px solid rgba(7, 59, 104, 0.12);

    border-radius: 50%;

    color: var(--navy);

    background: var(--white);

    box-shadow: var(--shadow-sm);

    font-size: 2rem;
    line-height: 1;

    cursor: pointer;

    transition:
        transform var(--transition),
        background var(--transition),
        color var(--transition);
}

.review-arrow:hover {
    transform: scale(1.07);

    color: var(--white);
    background: var(--teal);
}

@keyframes reviewFade {

    from {
        opacity: 0;
        transform: translateY(8px);
    }

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


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

.contact-grid {
    margin-top: 36px;

    display: grid;
    grid-template-columns: 0.9fr 1.25fr 0.85fr;
    gap: 24px;
    align-items: stretch;
}

.contact-details,
.opening-hours,
.map-placeholder {
    min-height: 330px;

    border-radius: var(--radius-md);
}

.contact-details,
.opening-hours {
    padding: 32px;

    background: var(--sky-50);

    border:
        1px solid rgba(7, 59, 104, 0.08);
}

.contact-details {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 30px;
}

.contact-item {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.contact-item strong {
    color: var(--navy);

    font-size: 0.88rem;
}

.contact-item span,
.contact-item a {
    color: var(--text-soft);

    font-size: 0.92rem;
}

.contact-item a:hover {
    color: var(--teal);
}

.map-placeholder {
    border: 0;

    background:
        linear-gradient(
            135deg,
            #e8f2f5,
            #d3e4e9
        );

    box-shadow: var(--shadow-sm);

    font-weight: 700;
}

.opening-hours {
    background: var(--white);

    box-shadow: var(--shadow-sm);
}

.opening-hours h3 {
    margin-bottom: 22px;

    color: var(--navy);

    font-size: 1.05rem;
}

.hours-row {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 18px;

    padding: 7px 0;

    color: var(--text-soft);

    font-size: 0.84rem;
}

.hours-row strong {
    color: var(--navy);

    font-size: 0.82rem;
}

.hours-divider {
    height: 1px;

    margin: 10px 0;

    background: var(--border);
}


/* =========================================================
   FINAL CTA
========================================================= */

.final-cta {
    position: relative;
    overflow: hidden;

    padding: 48px 0;

    color: var(--white);

    background:
        linear-gradient(
            110deg,
            var(--navy-dark),
            var(--navy) 58%,
            #075b76
        );
}

.final-cta::after {
    content: "";

    position: absolute;

    width: 360px;
    height: 360px;

    right: 7%;
    top: -260px;

    border:
        1px solid rgba(255, 255, 255, 0.08);

    border-radius: 50%;
}

.final-cta-inner {
    position: relative;
    z-index: 2;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.final-cta h2 {
    max-width: 610px;

    margin-bottom: 0;

    color: var(--white);

    font-size:
        clamp(1.6rem, 3vw, 2.6rem);

    line-height: 1.18;
}

.final-cta h2 span {
    display: block;

    color: #78d9e2;
}

.final-cta-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 12px;
}

.button-outline-light {
    color: var(--white);

    border:
        1px solid rgba(255, 255, 255, 0.6);

    background:
        rgba(255, 255, 255, 0.04);
}

.button-outline-light:hover {
    background:
        rgba(255, 255, 255, 0.12);
}


/* =========================================================
   FOOTER
========================================================= */

.site-footer {
    padding: 30px 0;

    background: var(--white);

    border-top:
        1px solid rgba(7, 59, 104, 0.08);
}

.footer-inner {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 30px;
}

.footer-brand {
    display: flex;
    flex-direction: column;

    line-height: 1.2;
}

.footer-brand strong {
    color: var(--navy);

    font-size: 1rem;
}

.footer-brand span {
    margin-top: 4px;

    color: var(--text-soft);

    font-size: 0.68rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.footer-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 18px;
}

.footer-nav a {
    color: var(--text-soft);

    font-size: 0.77rem;
    font-weight: 600;
}

.footer-nav a:hover {
    color: var(--teal);
}

.footer-contact {
    text-align: right;
}

.footer-contact a {
    color: var(--navy);

    font-weight: 800;
}


/* =========================================================
   RESPONSIVE - LOWER SECTIONS
========================================================= */

@media (max-width: 1000px) {

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .contact-grid {
        grid-template-columns: 1fr 1fr;
    }

    .map-placeholder {
        grid-column: span 2;
    }

    .footer-inner {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-contact {
        text-align: center;
    }
}


@media (max-width: 720px) {

    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .reviews-slider {
        grid-template-columns: 1fr;
    }

    .review-arrow {
        display: none;
    }

    .review-card {
        min-height: 320px;
        padding: 30px 24px;
    }

    .review-text {
        font-size: 1rem;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .map-placeholder {
        grid-column: auto;
    }

    .final-cta-inner {
        flex-direction: column;
        align-items: flex-start;
    }

    .final-cta-actions {
        width: 100%;
        justify-content: flex-start;
    }

    .final-cta-actions .button {
        flex: 1;
    }

    .footer-nav {
        gap: 12px;
    }
}


/* =========================================================
   MOBILE MENU BEHAVIOR
========================================================= */

@media (max-width: 1050px) {

    .header-inner {
        position: relative;
    }

    .main-nav.mobile-open {
        position: absolute;

        top: calc(100% + 1px);
        left: 20px;
        right: 20px;

        display: flex;
        flex-direction: column;
        align-items: stretch;

        gap: 0;

        padding: 12px;

        background: rgba(255, 255, 255, 0.98);

        border:
            1px solid rgba(7, 59, 104, 0.10);

        border-radius: 16px;

        box-shadow:
            0 18px 45px rgba(15, 55, 85, 0.14);

        backdrop-filter: blur(16px);
    }

    .main-nav.mobile-open a {
        padding: 13px 14px;

        border-radius: 10px;
    }

    .main-nav.mobile-open a:hover {
        background: var(--sky-50);
    }

    .main-nav.mobile-open a::after {
        display: none;
    }
}


/* =========================================================
   VISUAL UPGRADE 01
   Header + Hero refinement
========================================================= */

.site-header {
    box-shadow: 0 6px 22px rgba(7, 59, 104, 0.05);
}

.header-inner {
    min-height: 78px;
}

.brand-icon {
    position: relative;
    width: 58px;
    height: 34px;

    border: 3px solid var(--navy);
    border-radius: 50% / 65%;

    transform: none;
}

.brand-icon {
    font-size: 0;
}

.brand-icon::before {
    content: "";

    width: 16px;
    height: 16px;

    position: absolute;
    left: 50%;
    top: 50%;

    transform: translate(-50%, -50%);

    border-radius: 50%;

    background:
        radial-gradient(
            circle at center,
            #ffffff 0 18%,
            var(--teal) 19% 55%,
            var(--navy) 56% 100%
        );
}

.brand-text strong {
    font-size: 1.18rem;
    letter-spacing: -0.02em;
}

.main-nav {
    gap: 22px;
}

.main-nav a {
    font-size: 0.84rem;
}

.header-cta {
    padding-inline: 22px;
}


/* =========================================================
   HERO - PREMIUM LAYOUT
========================================================= */

.hero {
    min-height: 540px;

    background:
        radial-gradient(
            circle at 78% 45%,
            rgba(18, 168, 184, 0.18),
            transparent 24%
        ),
        linear-gradient(
            110deg,
            #ffffff 0%,
            #f7fcfe 46%,
            #e7f5f9 100%
        );
}

.hero-grid {
    min-height: 540px;

    grid-template-columns: 1.05fr 0.95fr;

    gap: 38px;
}

.hero-content {
    padding: 58px 0 62px;
}

.eyebrow {
    margin-bottom: 14px;

    padding: 6px 11px;

    font-size: 0.72rem;
}

.hero h1 {
    max-width: 620px;

    margin-bottom: 20px;

    font-size:
        clamp(2.65rem, 4.4vw, 4.15rem);

    line-height: 0.98;
    letter-spacing: -0.05em;
}

.hero h1 span {
    margin-top: 6px;
}

.hero-description {
    max-width: 570px;

    margin-bottom: 25px;

    font-size: 1rem;
    line-height: 1.72;
}

.hero-actions {
    margin-bottom: 34px;
}

.hero-features {
    gap: 20px;
}

.hero-feature {
    padding-right: 15px;

    border-right:
        1px solid rgba(7, 59, 104, 0.09);
}

.hero-feature:last-child {
    border-right: 0;
}


/* =========================================================
   HERO VISUAL - CSS EYE
========================================================= */

.hero-visual {
    min-height: 465px;
}

.hero-image-placeholder {
    position: relative;

    height: 430px;

    overflow: hidden;

    border-radius:
        150px 24px 24px 150px;

    color: transparent;

    background:
        linear-gradient(
            135deg,
            #edf8fb 0%,
            #d5edf3 42%,
            #bedfe8 100%
        );

    box-shadow:
        0 22px 55px rgba(7, 59, 104, 0.12);
}

.hero-image-placeholder::before {
    content: "";

    position: absolute;

    width: 310px;
    height: 185px;

    left: 50%;
    top: 49%;

    transform:
        translate(-50%, -50%)
        rotate(-4deg);

    border-radius:
        50% 50% 46% 46%
        / 55% 55% 45% 45%;

    background:
        radial-gradient(
            circle at 50% 50%,
            #071e2f 0 9%,
            #0b6e8c 10% 24%,
            #3fbac5 25% 36%,
            #9cdce0 37% 43%,
            #ffffff 44% 58%,
            #eef8fa 59% 100%
        );

    box-shadow:
        inset 0 0 0 1px rgba(7, 59, 104, 0.08),
        0 12px 35px rgba(7, 59, 104, 0.10);
}

.hero-image-placeholder::after {
    content: "";

    position: absolute;

    width: 390px;
    height: 390px;

    left: 50%;
    top: 50%;

    transform: translate(-50%, -50%);

    border-radius: 50%;

    border:
        1px solid rgba(255, 255, 255, 0.8);

    box-shadow:
        0 0 0 55px rgba(255, 255, 255, 0.10),
        0 0 0 105px rgba(255, 255, 255, 0.05);
}

.hero-message {
    right: 24px;
    bottom: 28px;

    z-index: 3;

    font-size: 0.74rem;
}

.hero-visual::before {
    content: "";

    position: absolute;

    width: 155px;
    height: 155px;

    left: 10%;
    top: 9%;

    border-radius: 50%;

    background:
        rgba(255, 255, 255, 0.26);

    filter: blur(2px);
}

.hero-visual::after {
    content: "";

    position: absolute;

    width: 95px;
    height: 95px;

    right: 8%;
    top: 16%;

    border-radius: 50%;

    background:
        rgba(255, 255, 255, 0.28);

    filter: blur(3px);
}


/* =========================================================
   SECTION RHYTHM
========================================================= */

.doctor-section,
.services-section,
.gallery-section,
.reviews-section,
.contact-section {
    padding: 78px 0;
}


/* =========================================================
   HERO RESPONSIVE REFINEMENT
========================================================= */

@media (max-width: 1050px) {

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

    .hero-content {
        padding-bottom: 15px;
    }

    .hero-visual {
        min-height: 390px;
    }

    .hero-image-placeholder {
        height: 380px;

        border-radius: 26px;
    }
}


@media (max-width: 700px) {

    .hero h1 {
        font-size:
            clamp(2.35rem, 11vw, 3.2rem);
    }

    .hero-feature {
        border-right: 0;
    }

    .hero-image-placeholder {
        height: 300px;
    }

    .hero-image-placeholder::before {
        width: 240px;
        height: 145px;
    }

    .hero-image-placeholder::after {
        width: 270px;
        height: 270px;
    }
}



/* =========================================================
   REAL GALLERY IMAGES
========================================================= */

.gallery-item {
    margin: 0;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    min-height: 280px;

    display: block;

    object-fit: cover;
    object-position: center;

    transition:
        transform var(--transition),
        filter var(--transition);
}

.gallery-item:hover img {
    transform: scale(1.03);
    filter: saturate(1.02);
}

.gallery-item-large {
    grid-column: span 2;
}

@media (max-width: 1000px) {
    .gallery-item-large {
        grid-column: span 2;
    }
}

@media (max-width: 720px) {
    .gallery-item-large {
        grid-column: span 1;
    }

    .gallery-item img {
        min-height: 240px;
    }
}


/* =========================================================
   GALLERY REFINEMENT 02
========================================================= */

.gallery-grid {
    margin-top: 32px;

    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));

    gap: 16px;
}

.gallery-item,
.gallery-item-large {
    grid-column: auto;

    min-height: 0;
    height: 245px;

    margin: 0;

    overflow: hidden;

    border-radius: 16px;

    background: #eef6f8;

    box-shadow:
        0 10px 28px rgba(7, 59, 104, 0.08);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    min-height: 0;

    display: block;

    object-fit: cover;
    object-position: center;

    transform: scale(1.001);

    transition:
        transform 0.4s ease,
        filter 0.4s ease;
}

.gallery-item:hover img {
    transform: scale(1.045);
}

.gallery-item:nth-child(1) img {
    object-position: center 52%;
}

.gallery-item:nth-child(2) img {
    object-position: center 50%;
}

.gallery-item:nth-child(3) img {
    object-position: center 55%;
}

.gallery-item:nth-child(4) img {
    object-position: center 50%;
}


@media (max-width: 1000px) {

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .gallery-item,
    .gallery-item-large {
        height: 260px;
    }
}


@media (max-width: 620px) {

    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .gallery-item,
    .gallery-item-large {
        height: 240px;
    }
}



/* =========================================================
   GALLERY REFINEMENT 03
   7 photos + clickable lightbox
========================================================= */

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 16px;
}

.gallery-item,
.gallery-item-large {
    grid-column: span 3;

    height: 235px;
    min-height: 0;

    margin: 0;

    overflow: hidden;

    border-radius: 16px;

    background: #edf6f8;

    box-shadow:
        0 10px 28px rgba(7, 59, 104, 0.08);
}

.gallery-item:nth-child(n+5) {
    grid-column: span 4;
}

.gallery-open {
    position: relative;

    width: 100%;
    height: 100%;

    display: block;

    padding: 0;

    border: 0;
    background: transparent;

    cursor: zoom-in;

    overflow: hidden;
}

.gallery-open::after {
    content: "⌕";

    position: absolute;
    right: 14px;
    bottom: 14px;

    width: 38px;
    height: 38px;

    display: flex;
    align-items: center;
    justify-content: center;

    color: #ffffff;

    background:
        rgba(5, 44, 77, 0.74);

    border:
        1px solid rgba(255, 255, 255, 0.35);

    border-radius: 50%;

    font-size: 1.2rem;

    opacity: 0;

    transform: translateY(5px);

    transition:
        opacity 0.25s ease,
        transform 0.25s ease;
}

.gallery-open:hover::after {
    opacity: 1;
    transform: translateY(0);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    min-height: 0;

    display: block;

    object-fit: cover;
    object-position: center;

    transition:
        transform 0.4s ease,
        filter 0.4s ease;
}

.gallery-open:hover img {
    transform: scale(1.045);
    filter: brightness(0.92);
}


/* =========================================================
   LIGHTBOX
========================================================= */

body.lightbox-open {
    overflow: hidden;
}

.gallery-lightbox {
    position: fixed;
    inset: 0;
    z-index: 9999;

    display: none;
    align-items: center;
    justify-content: center;

    padding: 34px 90px;

    background:
        rgba(3, 18, 31, 0.94);

    backdrop-filter: blur(8px);
}

.gallery-lightbox.is-open {
    display: flex;

    animation:
        lightboxFadeIn 0.22s ease;
}

.lightbox-content {
    position: relative;

    max-width: min(1180px, 86vw);
    max-height: 88vh;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

#lightbox-image {
    display: block;

    max-width: 100%;
    max-height: 82vh;

    width: auto;
    height: auto;

    object-fit: contain;

    border-radius: 12px;

    box-shadow:
        0 30px 80px rgba(0, 0, 0, 0.45);
}

.lightbox-counter {
    margin-top: 14px;

    color:
        rgba(255, 255, 255, 0.72);

    font-size: 0.84rem;
    font-weight: 700;

    letter-spacing: 0.08em;
}

.lightbox-close {
    position: absolute;
    top: 22px;
    right: 28px;

    width: 48px;
    height: 48px;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 0;

    color: #ffffff;

    background:
        rgba(255, 255, 255, 0.10);

    border:
        1px solid rgba(255, 255, 255, 0.22);

    border-radius: 50%;

    font-size: 2rem;
    line-height: 1;

    cursor: pointer;

    transition:
        background 0.2s ease,
        transform 0.2s ease;
}

.lightbox-close:hover {
    background:
        rgba(255, 255, 255, 0.18);

    transform: rotate(5deg);
}

.lightbox-arrow {
    position: absolute;
    top: 50%;

    width: 54px;
    height: 54px;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 0;

    color: #ffffff;

    background:
        rgba(255, 255, 255, 0.10);

    border:
        1px solid rgba(255, 255, 255, 0.20);

    border-radius: 50%;

    font-size: 2.2rem;

    cursor: pointer;

    transform: translateY(-50%);

    transition:
        background 0.2s ease,
        transform 0.2s ease;
}

.lightbox-arrow:hover {
    background: var(--teal);
}

.lightbox-prev {
    left: 24px;
}

.lightbox-next {
    right: 24px;
}

@keyframes lightboxFadeIn {

    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}


@media (max-width: 1000px) {

    .gallery-item,
    .gallery-item-large,
    .gallery-item:nth-child(n+5) {
        grid-column: span 6;
        height: 250px;
    }

    .gallery-lightbox {
        padding:
            70px 60px 35px;
    }
}


@media (max-width: 620px) {

    .gallery-item,
    .gallery-item-large,
    .gallery-item:nth-child(n+5) {
        grid-column: span 12;
        height: 235px;
    }

    .gallery-lightbox {
        padding:
            70px 16px 28px;
    }

    .lightbox-arrow {
        width: 44px;
        height: 44px;

        top: auto;
        bottom: 18px;

        transform: none;
    }

    .lightbox-prev {
        left: 18px;
    }

    .lightbox-next {
        right: 18px;
    }

    .lightbox-close {
        top: 14px;
        right: 14px;
    }

    #lightbox-image {
        max-height: 72vh;
    }
}


/* =========================================================
   GOOGLE MAP
========================================================= */

.map-embed {
    position: relative;
    overflow: hidden;
    padding: 0;
}

.map-embed iframe {
    width: 100%;
    height: 100%;
    min-height: 330px;

    display: block;

    border: 0;
}

.map-open-button {
    position: absolute;
    left: 18px;
    bottom: 18px;

    padding: 11px 16px;

    color: #ffffff;
    background: rgba(7, 59, 104, 0.92);

    border-radius: 10px;

    font-size: 0.82rem;
    font-weight: 800;

    box-shadow:
        0 8px 22px rgba(0, 0, 0, 0.18);

    transition:
        transform 0.2s ease,
        background 0.2s ease;
}

.map-open-button:hover {
    transform: translateY(-2px);
    background: var(--teal);
}



/* =========================================================
   DOCTOR REAL PHOTO
========================================================= */

.doctor-photo-img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center top;
    border-radius: inherit;
}
