:root {
    --navy: #001133;
    --blue: #001f5b;
    --ink: #07162d;
    --muted: rgba(0, 31, 91, 0.68);
    --soft-line: rgba(0, 17, 51, 0.1);
    --white: #ffffff;
    --cream: #fff8ed;
    --sky: #edf6ff;
    --mint: #e0f4ee;
    --gold: #f6cf72;
    --coral: #f29a72;
    --shadow: 0 18px 50px rgba(0, 17, 51, 0.13);
    --accent: #0d7467;
    --accent-soft: #e0f4ee;
    --warm: #fff2d8;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100vh;
    overflow-x: hidden;
    background:
        linear-gradient(135deg, rgba(237, 246, 255, 0.78) 0%, rgba(255, 255, 255, 0.92) 38%, rgba(255, 248, 237, 0.88) 100%),
        #ffffff;
    color: var(--navy);
    font-family: "Inter", Arial, sans-serif;
}

body.about-page {
    --accent: #0d7467;
    --accent-soft: #e0f4ee;
    --warm: #fff0d0;
}

body.treatments-page {
    --accent: #1d5d9f;
    --accent-soft: #e7f2ff;
    --warm: #fff2d8;
}

body.contact-page {
    --accent: #b95736;
    --accent-soft: #fff0e8;
    --warm: #e8f6f2;
}

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

a {
    color: inherit;
}

h1,
h2,
h3 {
    margin: 0;
    font-family: "Playfair Display", Georgia, serif;
    letter-spacing: 0;
}

p {
    margin: 0;
}

.site-nav {
    position: fixed;
    top: 0;
    width: 100%;
    height: 80px;
    background-color: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(0, 17, 51, 0.05);
    z-index: 1000;
    display: flex;
    align-items: center;
}

.nav-container {
    max-width: 1200px;
    width: 90%;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    text-decoration: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.12rem;
    min-width: 210px;
    transform: translateY(-3px);
}

.nav-logo-text {
    display: flex;
    align-items: baseline;
    justify-content: center;
    line-height: 1;
}

.nav-logo-brighta {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    color: #001133;
    font-size: 1.5rem;
}

.nav-logo-dental {
    font-family: 'Inter', sans-serif;
    font-weight: 300;
    color: #001F5B;
    font-size: 0.78rem;
    letter-spacing: 0.05em;
    margin-left: 4px;
}

.nav-logo-mark {
    width: 86px;
    height: 32px;
    object-fit: contain;
    display: block;
}

.nav-links {
    display: flex;
    gap: 2.5rem;
}

.nav-links a {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    color: #001133;
    text-decoration: none;
    font-size: 1.125rem;
    transition: opacity 0.3s ease;
}

.nav-links a:hover {
    opacity: 0.7;
}

.nav-links a.active {
    font-weight: 500;
    opacity: 0.95;
    color: #001F5B;
}

.nav-button {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    color: #001133;
    text-decoration: none;
    padding: 0.6rem 1.75rem;
    font-size: 1.125rem;
    border: 1px solid #001133;
    border-radius: 999px;
    background-color: transparent;
    transition: all 0.3s ease;
}

.nav-button:hover {
    background-color: rgba(0, 17, 51, 0.05);
}

.nav-secondary-logo {
    height: 38px;
    width: auto;
    object-fit: contain;
    margin-left: 15px;
}

.hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 44px;
    height: 44px;
    cursor: pointer;
    background: none;
    border: none;
    padding: 0;
    gap: 5px;
}

.hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background-color: #001133;
    border-radius: 2px;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    transform-origin: center;
}

.hamburger.open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}
.hamburger.open span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}
.hamburger.open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.mobile-drawer {
    position: fixed;
    top: 80px;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0, 17, 51, 0.06);
    z-index: 999;
    padding: 1.5rem 1.75rem 2rem;
    display: flex;
    flex-direction: column;
    gap: 0;
    transform: translateY(-110%);
    opacity: 0;
    transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.35s ease;
    pointer-events: none;
}

.mobile-drawer.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
}

.mobile-drawer a {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 1.15rem;
    color: #001133;
    text-decoration: none;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(0, 17, 51, 0.06);
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: color 0.2s ease;
}

.mobile-drawer a:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.mobile-drawer a:hover,
.mobile-drawer a.active {
    color: #001F5B;
}

.mobile-drawer .drawer-call-btn {
    margin-top: 1.25rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background-color: #001133;
    color: #fff;
    border-radius: 999px;
    padding: 1rem 2rem;
    font-size: 1.05rem;
    font-weight: 500;
    text-decoration: none;
    border-bottom: none;
    transition: background-color 0.3s ease;
}

.mobile-drawer .drawer-call-btn:hover {
    background-color: #001F5B;
}

.hamburger {
    display: flex;
}

.nav-links,
.nav-button {
    display: none;
}

/* Responsive navbar overrides matching style.css */
@media (min-width: 1200px) {
    .nav-logo-brighta {
        font-size: 1.65rem;
    }
    .nav-links a,
    .nav-button {
        font-size: 1.2rem;
    }
}

@media (min-width: 768px) and (max-width: 1199px) {
    .nav-container {
        width: 95%;
    }
    .nav-links {
        gap: 1.5rem;
    }
    .nav-links a {
        font-size: 1rem;
    }
    .nav-button {
        font-size: 1rem;
        padding: 0.55rem 1.25rem;
    }
}

@media (max-width: 767px) {
    .site-nav {
        height: 66px;
    }
    .mobile-drawer {
        top: 66px;
    }
    .nav-container {
        width: 88%;
    }
    .nav-logo {
        min-width: 190px;
        align-items: center;
        transform: translateY(-1px);
        gap: 0;
    }
    .nav-logo-brighta {
        font-size: 1.2rem;
    }
    .nav-logo-dental {
        font-size: 0.75rem;
        margin-left: 3px;
        letter-spacing: 0.08em;
    }
    .nav-logo-mark {
        width: 100%;
        height: 30px;
        margin-top: 6px;
    }
    .hamburger {
        width: 40px;
        height: 40px;
        display: flex;
    }
    .nav-links {
        display: none;
    }
    .nav-button {
        display: none;
    }
    .nav-secondary-logo { margin-left: auto; margin-right: 5px; height: 32px; }
}

@media (min-width: 768px) and (max-width: 1024px) {
    .site-nav {
        padding: 0 10px;
    }
    .nav-links {
        display: none;
    }
}

.icon {
    width: 18px;
    height: 18px;
    flex: 0 0 auto;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

main {
    padding-top: 80px;
}

@media (max-width: 767px) {
    main {
        padding-top: 66px;
    }
}

.page-hero {
    position: relative;
    min-height: calc(100svh - 80px);
    padding: 34px 18px 28px;
    display: grid;
    align-items: center;
    overflow: hidden;
    isolation: isolate;
}

@media (max-width: 767px) {
    .page-hero {
        min-height: calc(100svh - 66px);
    }
}

.page-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -2;
    background:
        linear-gradient(128deg, var(--accent-soft) 0%, rgba(255, 255, 255, 0.92) 42%, var(--warm) 100%);
}

.page-hero::after {
    content: "";
    position: absolute;
    left: -20%;
    right: -20%;
    bottom: -1px;
    z-index: -1;
    height: 34%;
    background:
        linear-gradient(173deg, transparent 0 36%, rgba(255, 255, 255, 0.72) 36% 51%, #ffffff 51% 100%);
}

.hero-grid {
    width: min(1080px, 100%);
    margin: 0 auto;
    display: grid;
    gap: 26px;
}

.hero-copy {
    position: relative;
    z-index: 2;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
    color: var(--accent);
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0;
}

.eyebrow::before {
    content: "";
    width: 34px;
    height: 1px;
    background: currentColor;
}

.hero-title {
    max-width: 670px;
    color: var(--navy);
    font-size: 3.2rem;
    line-height: 0.96;
}

.hero-title span {
    color: var(--accent);
}

.hero-text {
    max-width: 560px;
    margin-top: 18px;
    color: var(--muted);
    font-size: 1rem;
    font-weight: 300;
    line-height: 1.72;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 24px;
}

.primary-action,
.form-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-width: 172px;
    height: 48px;
    padding: 0 24px;
    border-radius: 8px;
    background: linear-gradient(180deg, #08265e 0%, var(--navy) 100%);
    color: #ffffff;
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    font-weight: 500;
    text-decoration: none;
    border: none;
    cursor: pointer;
    box-shadow: 0 18px 35px rgba(0, 17, 51, 0.22);
    transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.ghost-action,
.mini-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-width: 148px;
    height: 48px;
    padding: 0 24px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(0, 17, 51, 0.1);
    color: var(--navy);
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    font-weight: 500;
    text-decoration: none;
    cursor: pointer;
    transition: transform 0.25s ease, border-color 0.25s ease, background-color 0.25s ease;
}

.primary-action:hover,
.form-button:hover,
.ghost-action:hover,
.mini-link:hover {
    transform: translateY(-2px);
}

.hero-media {
    position: relative;
    min-height: 360px;
    display: grid;
    align-items: end;
}

.image-frame,
.mini-image,
.clinic-snapshot,
.doctor-mini-card,
.treatment-card,
.action-card,
.contact-panel,
.values-lane,
.form-panel {
    border-radius: 8px;
}

.image-frame {
    position: relative;
    overflow: hidden;
    background: #ffffff;
    box-shadow: var(--shadow);
}

.image-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
}

.main-frame {
    width: min(76vw, 328px);
    height: 420px;
    margin-left: auto;
    border: 1px solid rgba(255, 255, 255, 0.8);
}

.side-frame {
    position: absolute;
    left: 0;
    bottom: 28px;
    width: 152px;
    height: 184px;
    border: 6px solid rgba(255, 255, 255, 0.86);
    box-shadow: 0 16px 34px rgba(0, 17, 51, 0.16);
}

.float-card {
    position: absolute;
    right: 10px;
    bottom: 18px;
    max-width: 184px;
    padding: 14px;
    border: 1px solid rgba(255, 255, 255, 0.64);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.86);
    box-shadow: 0 16px 32px rgba(0, 17, 51, 0.11);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    color: var(--blue);
    font-size: 0.86rem;
    line-height: 1.45;
}

.float-card strong {
    display: block;
    color: var(--navy);
    font-family: "Playfair Display", Georgia, serif;
    font-size: 1.5rem;
    line-height: 1;
}

.mini-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    max-width: 520px;
    margin-top: 28px;
}

.mini-stat {
    padding: 14px 10px;
    border-top: 1px solid rgba(0, 17, 51, 0.12);
}

.mini-stat strong {
    display: block;
    font-family: "Playfair Display", Georgia, serif;
    color: var(--navy);
    font-size: 1.6rem;
    line-height: 1;
}

.mini-stat span {
    display: block;
    margin-top: 6px;
    color: rgba(0, 31, 91, 0.68);
    font-size: 0.78rem;
    line-height: 1.35;
}

.compact-section {
    padding: 54px 18px;
    background: #ffffff;
}

.section-inner {
    width: min(1080px, 100%);
    margin: 0 auto;
}

.section-head {
    max-width: 640px;
    margin-bottom: 24px;
}

.section-kicker {
    margin-bottom: 8px;
    color: var(--accent);
    font-size: 0.84rem;
    font-weight: 600;
}

.section-title {
    color: var(--navy);
    font-size: 2.15rem;
    line-height: 1.05;
}

.section-copy {
    margin-top: 12px;
    color: var(--muted);
    font-size: 0.96rem;
    font-weight: 300;
    line-height: 1.7;
}

.doctor-mini-grid {
    display: grid;
    gap: 14px;
}

.doctor-mini-card {
    overflow: hidden;
    display: grid;
    grid-template-columns: 116px 1fr;
    min-height: 164px;
    background: linear-gradient(180deg, #ffffff, #fbfdff);
    border: 1px solid var(--soft-line);
    box-shadow: 0 12px 28px rgba(0, 17, 51, 0.07);
}

.doctor-mini-card img {
    width: 100%;
    height: 100%;
    min-height: 164px;
    object-fit: cover;
    object-position: top center;
}

.doctor-mini-body {
    padding: 16px;
}

.doctor-role {
    margin-bottom: 8px;
    color: var(--accent);
    font-size: 0.76rem;
    font-weight: 600;
}

.doctor-mini-body h3 {
    color: var(--navy);
    font-size: 1.3rem;
    line-height: 1.12;
}

.doctor-mini-body p {
    margin-top: 8px;
    color: var(--muted);
    font-size: 0.85rem;
    line-height: 1.55;
}

/* Stacked doctor card variant — full portrait on top, text below */
.doctor-mini-card--stacked {
    grid-template-columns: 1fr;
    grid-template-rows: auto 1fr;
}

.doctor-mini-portrait {
    position: relative;
    width: 100%;
    overflow: hidden;
    background: #f0f4fa;
}

@media (max-width: 767px) {
    .doctor-mini-portrait {
        background: radial-gradient(circle at center, #ffffff 0%, #e6eef6 70%);
    }
}

.doctor-mini-portrait img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
    transition: transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
}

.doctor-mini-card--stacked:hover .doctor-mini-portrait img {
    transform: scale(1.04);
}

/* Crop empty whitespace at bottom of first doctor photo */
.doctor-mini-card--stacked:first-child .doctor-mini-portrait {
    aspect-ratio: 4 / 3.5;
}

.doctor-mini-card--stacked:first-child .doctor-mini-portrait img {
    height: 100%;
    object-fit: cover;
    object-position: top center;
}

/* Zoom in second doctor photo */
.doctor-mini-card--stacked:nth-child(2) .doctor-mini-portrait img {
    transform: scale(1.15) translateY(4%);
    transform-origin: center;
}

.doctor-mini-card--stacked:nth-child(2):hover .doctor-mini-portrait img {
    transform: scale(1.2) translateY(4%);
}

.doctor-mini-card--stacked .doctor-mini-body {
    padding: 20px 18px 22px;
}

.doctor-mini-card--stacked .doctor-mini-body h3 {
    font-size: 1.45rem;
}

.doctor-mini-card--stacked .doctor-mini-body p {
    font-size: 0.88rem;
    line-height: 1.62;
}

.tag-row {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 12px;
}

.tag-row span,
.pill-list span {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 0 10px;
    border-radius: 999px;
    background: var(--accent-soft);
    color: var(--blue);
    font-size: 0.74rem;
}

.values-lane {
    margin-top: 18px;
    padding: 18px;
    display: grid;
    gap: 12px;
    background:
        linear-gradient(120deg, rgba(0, 17, 51, 0.94), rgba(0, 31, 91, 0.84)),
        var(--navy);
    color: #ffffff;
}

.value-item {
    padding: 14px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.value-item:first-child {
    border-top: 0;
}

.value-item strong {
    display: block;
    font-family: "Playfair Display", Georgia, serif;
    font-size: 1.35rem;
}

.value-item span {
    display: block;
    margin-top: 6px;
    color: rgba(255, 255, 255, 0.76);
    font-size: 0.88rem;
    line-height: 1.55;
}

.treatment-showcase {
    display: grid;
    gap: 12px;
}

.treatment-card {
    overflow: hidden;
    display: grid;
    grid-template-columns: 104px 1fr;
    min-height: 132px;
    background: #ffffff;
    border: 1px solid var(--soft-line);
    box-shadow: 0 12px 28px rgba(0, 17, 51, 0.07);
}

.treatment-card img {
    width: 100%;
    height: 100%;
    min-height: 132px;
    object-fit: cover;
}

.treatment-body {
    padding: 14px;
}

.treatment-body h3 {
    color: var(--navy);
    font-size: 1.12rem;
    line-height: 1.18;
}

.treatment-body p {
    margin-top: 7px;
    color: var(--muted);
    font-size: 0.84rem;
    line-height: 1.55;
}

.treatment-code {
    display: inline-flex;
    margin-bottom: 8px;
    color: var(--accent);
    font-size: 0.75rem;
    font-weight: 700;
}

.pill-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 18px;
}

.treatment-mosaic {
    position: relative;
    min-height: 374px;
}

.mosaic-card {
    position: absolute;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: var(--shadow);
}

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

.mosaic-card.large {
    right: 0;
    top: 12px;
    width: 72%;
    height: 272px;
}

.mosaic-card.small-a {
    left: 0;
    top: 0;
    width: 44%;
    height: 156px;
}

.mosaic-card.small-b {
    left: 16px;
    bottom: 0;
    width: 56%;
    height: 178px;
    border: 6px solid rgba(255, 255, 255, 0.86);
}

.treatment-note {
    position: absolute;
    right: 8px;
    bottom: 20px;
    width: 180px;
    padding: 14px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 14px 28px rgba(0, 17, 51, 0.12);
    color: var(--blue);
    font-size: 0.86rem;
    line-height: 1.45;
}

.treatment-note strong {
    display: block;
    color: var(--navy);
    font-family: "Playfair Display", Georgia, serif;
    font-size: 1.35rem;
}

.treatment-room-section {
    padding-top: 18px;
    background:
        linear-gradient(180deg, #ffffff 0%, #f6faff 52%, #ffffff 100%);
}

.treatment-room-highlight {
    overflow: hidden;
    display: grid;
    gap: 0;
    border: 1px solid rgba(0, 17, 51, 0.08);
    border-radius: 8px;
    background: #ffffff;
    box-shadow: 0 22px 54px rgba(0, 17, 51, 0.1);
}

.treatment-room-image {
    position: relative;
    min-height: 284px;
    overflow: hidden;
    background: var(--accent-soft);
}

.treatment-room-image::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(0, 17, 51, 0.38), transparent 48%),
        linear-gradient(180deg, transparent 55%, rgba(0, 17, 51, 0.38));
    opacity: 0.74;
    pointer-events: none;
}

.treatment-room-image img {
    width: 100%;
    height: 100%;
    min-height: 284px;
    object-fit: cover;
    transform: scale(1.02);
    transition: transform 0.75s cubic-bezier(0.16, 1, 0.3, 1);
}

.treatment-room-highlight:hover .treatment-room-image img {
    transform: scale(1.07);
}

.room-scan-line {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    z-index: 2;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.9), rgba(246, 207, 114, 0.85), transparent);
    box-shadow: 0 0 24px rgba(255, 255, 255, 0.72);
    animation: roomScan 3.8s cubic-bezier(0.16, 1, 0.3, 1) infinite;
}

.treatment-room-copy {
    padding: 24px 18px;
}

.room-feature-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 18px;
}

.room-feature-list span {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 0 12px;
    border-radius: 999px;
    background: var(--accent-soft);
    color: var(--blue);
    font-size: 0.78rem;
    font-weight: 500;
}

@keyframes roomScan {
    0% {
        transform: translateY(-18px);
        opacity: 0;
    }

    18% {
        opacity: 1;
    }

    72% {
        opacity: 1;
    }

    100% {
        transform: translateY(330px);
        opacity: 0;
    }
}

.contact-layout {
    display: grid;
    gap: 16px;
}

.action-grid {
    display: grid;
    gap: 12px;
}

.action-card {
    padding: 18px;
    min-height: 142px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background: #ffffff;
    border: 1px solid var(--soft-line);
    box-shadow: 0 12px 28px rgba(0, 17, 51, 0.07);
    text-decoration: none;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.action-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 18px 34px rgba(0, 17, 51, 0.1);
}

.action-card .icon {
    color: var(--accent);
}

.action-card h3 {
    margin-top: 18px;
    color: var(--navy);
    font-size: 1.25rem;
}

.action-card p {
    margin-top: 7px;
    color: var(--muted);
    font-size: 0.86rem;
    line-height: 1.5;
}

.contact-panel,
.form-panel {
    overflow: hidden;
    border: 1px solid var(--soft-line);
    background: #ffffff;
    box-shadow: 0 12px 28px rgba(0, 17, 51, 0.07);
}

.clinic-snapshot {
    overflow: hidden;
    height: 228px;
}

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

.contact-panel-body {
    padding: 18px;
}

.contact-panel-body h3 {
    color: var(--navy);
    font-size: 1.5rem;
}

.info-list {
    display: grid;
    gap: 12px;
    margin-top: 16px;
}

.info-list div {
    display: grid;
    gap: 4px;
    padding-top: 12px;
    border-top: 1px solid rgba(0, 17, 51, 0.08);
}

.info-list strong {
    color: var(--navy);
    font-size: 0.86rem;
}

.info-list span,
.info-list a {
    color: var(--muted);
    font-size: 0.92rem;
    line-height: 1.45;
    text-decoration: none;
}

.form-panel {
    padding: 18px;
}

.form-panel h3 {
    color: var(--navy);
    font-size: 1.45rem;
}

.contact-form {
    display: grid;
    gap: 12px;
    margin-top: 16px;
}

.contact-form label {
    display: grid;
    gap: 6px;
    color: var(--blue);
    font-size: 0.82rem;
    font-weight: 600;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    border: 1px solid rgba(0, 17, 51, 0.12);
    border-radius: 8px;
    padding: 13px 12px;
    color: var(--navy);
    background: #fbfdff;
    font: inherit;
    outline: 0;
}

.contact-form textarea {
    min-height: 100px;
    resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(0, 31, 91, 0.08);
}

.form-button {
    width: 100%;
}

.bottom-cta {
    padding: 42px 18px 54px;
    background:
        linear-gradient(115deg, rgba(0, 17, 51, 0.94), rgba(0, 31, 91, 0.88)),
        var(--navy);
    color: #ffffff;
}

.bottom-cta-inner {
    width: min(920px, 100%);
    margin: 0 auto;
    display: grid;
    gap: 18px;
}

.bottom-cta h2 {
    font-size: 2rem;
    line-height: 1.05;
}

.bottom-cta p {
    color: rgba(255, 255, 255, 0.76);
    font-size: 0.95rem;
    font-weight: 300;
    line-height: 1.65;
}

.bottom-cta .primary-action {
    width: fit-content;
    background: #ffffff;
    color: var(--navy);
}

.site-footer {
    padding: 26px 18px;
    background: #ffffff;
    border-top: 1px solid rgba(0, 17, 51, 0.08);
}

.footer-inner {
    width: min(1080px, 100%);
    margin: 0 auto;
    display: grid;
    gap: 8px;
    color: rgba(0, 31, 91, 0.62);
    font-size: 0.86rem;
    line-height: 1.5;
}

.footer-inner strong {
    color: var(--navy);
    font-family: "Playfair Display", Georgia, serif;
    font-size: 1.15rem;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.footer-links a {
    color: var(--blue);
    text-decoration: none;
}

.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.in-view,
body.is-ready .hero-copy,
body.is-ready .hero-media {
    opacity: 1;
    transform: translateY(0);
}

.hero-copy,
.hero-media {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-media {
    transition-delay: 0.12s;
}

.image-frame img,
.treatment-card img,
.treatment-room-image img,
.doctor-mini-card img,
.clinic-snapshot img,
.mosaic-card img {
    transition: transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
}

.image-frame:hover img,
.treatment-card:hover img,
.doctor-mini-card:hover img,
.contact-panel:hover .clinic-snapshot img,
.mosaic-card:hover img {
    transform: scale(1.04);
}

@media (min-width: 680px) {
    .hero-title {
        font-size: 4.2rem;
    }

    .section-title {
        font-size: 2.65rem;
    }

    .doctor-mini-grid,
    .action-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .treatment-showcase {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 860px) {
    .page-hero {
        padding: 54px 32px 46px;
    }

    .hero-grid {
        grid-template-columns: 1.04fr 0.96fr;
        align-items: center;
    }

    .main-frame {
        width: 380px;
        height: 472px;
    }

    .side-frame {
        width: 178px;
        height: 214px;
    }

    .compact-section {
        padding: 70px 32px;
    }

    .doctor-mini-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .values-lane {
        grid-template-columns: repeat(3, 1fr);
    }

    .value-item {
        border-top: 0;
        border-left: 1px solid rgba(255, 255, 255, 0.16);
        padding: 4px 18px;
    }

    .value-item:first-child {
        border-left: 0;
    }

    .contact-layout {
        grid-template-columns: 0.9fr 1.1fr;
        align-items: start;
    }

    .treatment-room-highlight {
        grid-template-columns: 1.05fr 0.95fr;
        align-items: stretch;
    }

    .treatment-room-image,
    .treatment-room-image img {
        min-height: 430px;
    }

    .treatment-room-copy {
        padding: 46px;
        align-self: center;
    }

    .bottom-cta-inner {
        grid-template-columns: 1fr auto;
        align-items: center;
    }
}

@media (min-width: 1040px) {
    .treatment-showcase {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .hero-title {
        font-size: 4.8rem;
    }
}

@media (max-width: 360px) {
    .hero-title {
        font-size: 2.7rem;
    }

    .mini-stats {
        grid-template-columns: 1fr;
    }

    .doctor-mini-card,
    .treatment-card {
        grid-template-columns: 1fr;
    }

    .doctor-mini-card img,
    .treatment-card img {
        height: 180px;
    }
}

/* Premium Gallery Section CSS */
.premium-gallery-section {
    background: linear-gradient(180deg, #ffffff 0%, #f9fbfd 50%, #ffffff 100%);
    padding-top: 60px;
    padding-bottom: 60px;
}

.gallery-header {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 40px;
}

.bento-gallery {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    max-width: 1200px;
    margin: 0 auto;
}

.bento-card {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    background: #ffffff;
    box-shadow: 0 10px 30px rgba(0, 17, 51, 0.08);
    height: 160px; /* Standard card height for mobile */
    cursor: pointer;
    transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.4s ease;
    border: 1px solid rgba(0, 17, 51, 0.04);
}

.bento-large {
    grid-column: span 2;
    height: 220px;
}

.bento-tall {
    grid-column: span 2;
    height: 260px;
}

.bento-wide {
    grid-column: span 2;
    height: 180px;
}

.bento-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1), filter 0.4s ease;
}

.bento-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(0, 17, 51, 0.15), 0 0 0 1px rgba(29, 93, 159, 0.1);
    z-index: 2;
}

.bento-card:hover img {
    transform: scale(1.05);
    filter: contrast(1.05) saturate(1.1);
}

.bento-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 17, 51, 0.6) 0%, rgba(0, 17, 51, 0) 50%);
    display: flex;
    align-items: flex-end;
    padding: 16px;
    opacity: 0.8;
    transition: opacity 0.4s ease;
}

.bento-card:hover .bento-overlay {
    opacity: 1;
    background: linear-gradient(to top, rgba(0, 17, 51, 0.8) 0%, rgba(0, 17, 51, 0.1) 60%);
}

.bento-label {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #ffffff;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 0.8rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    transform: translateY(10px);
    opacity: 0;
    transition: transform 0.4s ease, opacity 0.4s ease;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.bento-large .bento-label,
.bento-tall .bento-label,
.bento-wide .bento-label {
    font-size: 0.95rem;
}

.bento-label svg {
    width: 16px;
    height: 16px;
    stroke-width: 2.5;
    color: var(--accent);
    filter: drop-shadow(0 2px 2px rgba(0,0,0,0.2));
}

.bento-card:hover .bento-label {
    transform: translateY(0);
    opacity: 1;
}

/* Tablet Layouts */
@media (min-width: 640px) {
    .bento-gallery {
        gap: 16px;
    }
    
    .bento-card {
        height: 200px;
    }
    
    .bento-large {
        height: 320px;
    }
    
    .bento-tall {
        height: 400px;
    }
    
    .bento-wide {
        height: 280px;
    }
}

@media (min-width: 1024px) {
    .bento-gallery {
        grid-template-columns: repeat(4, 1fr);
        grid-auto-rows: 280px;
        gap: 20px;
    }
    
    /* Create an asymmetrical, masonry-like bento layout */
    .bento-large {
        grid-column: span 2;
        grid-row: span 2;
    }
    
    .bento-tall {
        grid-column: span 1;
        grid-row: span 2;
    }
    
    .bento-wide {
        grid-column: span 2;
        grid-row: span 1;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition: none !important;
        animation: none !important;
    }

    .reveal,
    .hero-copy,
    .hero-media {
        opacity: 1 !important;
        transform: none !important;
    }
}

.floating-whatsapp-button {
    position: fixed;
    left: 1.35rem;
    bottom: 1.35rem;
    z-index: 1100;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: #ffffff;
    box-shadow: 0 18px 48px rgba(0, 17, 51, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(0, 17, 51, 0.05);
    transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1), background 0.4s ease, box-shadow 0.4s ease;
}

.floating-whatsapp-button svg {
    width: 32px;
    height: 32px;
    fill: #25D366;
}

.floating-whatsapp-button:hover {
    transform: translateY(-4px);
    box-shadow: 0 24px 60px rgba(0, 17, 51, 0.24), inset 0 1px 0 rgba(255, 255, 255, 0.95);
}

@media (max-width: 768px) {
    .floating-whatsapp-button {
        left: 1rem;
        bottom: 1rem;
        width: 54px;
        height: 54px;
    }

    .floating-whatsapp-button svg {
        width: 28px;
        height: 28px;
    }
}
