/* ============================================
   AADIV DENTAL CLINIC - Complete Stylesheet
   Premium Dental Clinic Website
   ============================================ */

/* ---------- CSS Variables ---------- */
:root {
    --primary: #6f46b8;
    --primary-dark: #4f2f8d;
    --secondary: #8c63d6;
    --secondary-dark: #6845ad;
    --dark: #1d193d;
    --light: #f5f1fb;
    --slate-50: #f8f4fc;
    --slate-100: #efe8f8;
    --slate-200: #ddd1ee;
    --slate-300: #c4b2df;
    --slate-400: #a08cbf;
    --slate-500: #776891;
    --slate-600: #5a4e73;
    --slate-700: #42385d;
    --slate-800: #2b2549;
    --slate-900: #1d193d;
    --white: #ffffff;
    --green-100: #ede7fa;
    --green-500: #7c58c8;
    --green-600: #5e3aa7;
    --yellow-400: #f5c76b;
    --red-500: #ef4444;
    --sky-50: #f4effb;
    --sky-100: #e9dff8;
    --sky-300: #b79de3;
    --sky-400: #9068d5;
    --teal-50: #f1ebfb;
    --teal-100: #e3d7f7;
    --teal-300: #b796e8;
    --teal-400: #9165d8;
    --blue-100: #e6ddf8;
    --blue-900: #2a204e;
}

/* ---------- Reset & Base ---------- */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: var(--light);
    color: var(--slate-700);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

.skip-link {
    position: absolute;
    left: 1rem;
    top: -3rem;
    background: var(--dark);
    color: var(--white);
    padding: 0.75rem 1rem;
    border-radius: 0.5rem;
    z-index: 2000;
    transition: top 0.2s ease;
}

.skip-link:focus {
    top: 1rem;
}

::selection {
    background-color: var(--primary);
    color: var(--white);
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

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

ul {
    list-style: none;
}

button {
    cursor: pointer;
    border: none;
    background: none;
    font-family: inherit;
}

input, textarea, select {
    font-family: inherit;
    font-size: inherit;
}

/* ---------- Container ---------- */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1rem;
}

@media (min-width: 640px) {
    .container { padding: 0 1.5rem; }
}

@media (min-width: 1024px) {
    .container { padding: 0 2rem; }
}

/* ---------- Section Utilities ---------- */
.section {
    padding: 4rem 0;
}

@media (min-width: 768px) {
    .section { padding: 6rem 0; }
}

@media (max-width: 767px) {
    .section {
        padding: 3rem 0;
    }
}

.section-header {
    text-align: center;
    max-width: 42rem;
    margin: 0 auto 4rem;
}

@media (max-width: 767px) {
    .section-header {
        margin: 0 auto 2rem;
    }
}

.section-label {
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 0.5rem;
    display: block;
}

.section-label.primary { color: var(--primary); }
.section-label.secondary { color: var(--secondary); }

.section-title {
    font-size: 1.875rem;
    color: var(--dark);
    margin-bottom: 1rem;
}

@media (min-width: 768px) {
    .section-title { font-size: 2.25rem; }
}

.section-desc {
    color: var(--slate-600);
    font-size: 1rem;
}

@media (max-width: 767px) {
    .section-title {
        font-size: 1.55rem;
        line-height: 1.2;
        margin-bottom: 0.75rem;
    }

    .section-desc {
        font-size: 0.93rem;
        line-height: 1.65;
    }
}

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.875rem 2rem;
    font-weight: 600;
    border-radius: 9999px;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.btn-primary {
    background-color: var(--primary);
    color: var(--white);
    box-shadow: 0 12px 30px rgba(79, 47, 141, 0.28);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    box-shadow: 0 18px 36px rgba(79, 47, 141, 0.38);
    transform: translateY(-2px);
}

.btn-outline {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: var(--white);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.2);
}

.btn-white {
    background-color: var(--white);
    color: var(--primary);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    font-weight: 700;
    font-size: 1.125rem;
    padding: 1rem 2rem;
}

.btn-white:hover {
    background-color: var(--slate-50);
    transform: translateY(-4px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.btn-outline-dark {
    background: rgba(15, 23, 42, 0.08);
    color: var(--dark);
    border: 1px solid rgba(15, 23, 42, 0.14);
}

.btn-outline-dark:hover {
    background: rgba(15, 23, 42, 0.14);
}

.btn-nav {
    background-color: var(--primary);
    color: var(--white);
    padding: 0.625rem 1.5rem;
    font-weight: 500;
    box-shadow: 0 8px 20px rgba(79, 47, 141, 0.25);
}

.btn-nav:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 10px 26px rgba(79, 47, 141, 0.34);
}

/* ---------- Animations ---------- */
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

@keyframes fadeInUp {
    0% { opacity: 0; transform: translateY(20px); }
    100% { opacity: 1; transform: translateY(0); }
}

.animate-float {
    animation: float 6s ease-in-out infinite;
}

.animate-fade-in-up {
    animation: fadeInUp 0.8s ease-out forwards;
}

.scroll-reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.scroll-reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================
   NAVBAR
   ============================================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(249, 245, 253, 0.9);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(150, 126, 200, 0.18);
    transition: background-color 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.navbar.scrolled {
    box-shadow: 0 16px 36px rgba(29, 25, 61, 0.1);
    background: rgba(255, 255, 255, 0.94);
    border-bottom-color: rgba(111, 70, 184, 0.12);
}

.navbar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
    transition: height 0.3s ease;
}

.navbar-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    min-width: 0;
    transition: gap 0.3s ease, transform 0.3s ease;
}

.navbar-logo-mark {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    flex-shrink: 0;
}

.navbar-brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.05;
    max-width: 16rem;
    overflow: hidden;
    transition: max-width 0.3s ease, opacity 0.25s ease, transform 0.25s ease;
}

.navbar-logo img {
    height: 52px;
    width: auto;
    max-width: 180px;
    object-fit: contain;
    object-position: left center;
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.12));
    transition: height 0.3s ease, max-width 0.3s ease, transform 0.3s ease, filter 0.3s ease;
}

.navbar-logo span {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 1rem;
    color: var(--dark);
    letter-spacing: -0.025em;
}

.navbar-brand-text small {
    font-size: 0.68rem;
    color: var(--slate-500);
    font-weight: 600;
    margin-top: 0.2rem;
    white-space: nowrap;
}

.navbar.compact-brand .navbar-content {
    height: 72px;
}

.navbar.compact-brand .navbar-logo {
    gap: 0;
}

.navbar.compact-brand .navbar-logo-mark {
    width: auto;
    height: auto;
    overflow: visible;
}

.navbar.compact-brand .navbar-logo img {
    height: 48px;
    width: auto;
    max-width: 180px;
    object-fit: contain;
    object-position: left center;
    transform: none;
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.12));
}

.navbar.compact-brand .navbar-brand-text {
    max-width: 0;
    opacity: 0;
    transform: translateX(-0.4rem);
    pointer-events: none;
}

@media (max-width: 767px) {
    .navbar-content {
        height: 76px;
        gap: 0.35rem;
    }

    .navbar-logo {
        gap: 0.25rem;
        flex: 1 1 auto;
        min-width: 0;
        max-width: none;
    }

    .navbar-logo img {
        height: 40px;
        max-width: 104px;
    }

    .navbar-logo span {
        font-size: 0.82rem;
        max-width: 9.5rem;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: clip;
    }

    .navbar-brand-text small {
        display: none;
    }

    .navbar-cta {
        display: flex;
        flex: 0 0 auto;
    }

    .navbar-cta .btn-nav {
        padding: 0.46rem 0.66rem;
        border-radius: 999px;
        font-size: 0.72rem;
        line-height: 1;
        font-weight: 700;
        box-shadow: 0 8px 18px rgba(79, 47, 141, 0.2);
        white-space: nowrap;
    }

    .nav-cta-desktop {
        display: none;
    }

    .nav-cta-mobile {
        display: inline;
    }

    .mobile-menu-btn {
        flex: 0 0 auto;
        font-size: 1.28rem;
    }

    .navbar.compact-brand .navbar-content {
        height: 68px;
    }

    .navbar.compact-brand .navbar-logo-mark {
        width: auto;
        height: auto;
        overflow: visible;
    }

    .navbar.compact-brand .navbar-logo img {
        width: auto;
        max-width: min(58vw, 230px);
        height: 48px;
        object-fit: contain;
        object-position: left center;
        transform: none;
    }
}

.navbar-menu {
    display: none;
    gap: 2rem;
}

@media (min-width: 768px) {
    .navbar-menu { display: flex; }
}

.navbar-menu a {
    color: var(--slate-600);
    font-weight: 500;
    transition: color 0.3s ease;
}

.navbar-menu a:hover {
    color: var(--primary);
}

.navbar-cta {
    display: none;
}

@media (min-width: 768px) {
    .navbar-cta { display: flex; }
}

.nav-cta-mobile {
    display: none;
}

@media (max-width: 767px) {
    .navbar-cta {
        display: flex;
        flex: 0 0 auto;
    }

    .navbar-cta .btn-nav {
        padding: 0.48rem 0.78rem;
        border-radius: 999px;
        font-size: 0.76rem;
        line-height: 1;
        font-weight: 700;
        box-shadow: 0 8px 18px rgba(79, 47, 141, 0.2);
        white-space: nowrap;
    }

    .nav-cta-desktop {
        display: none;
    }

    .nav-cta-mobile {
        display: inline;
    }
}

.mobile-menu-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--slate-600);
    font-size: 1.5rem;
}

@media (min-width: 768px) {
    .mobile-menu-btn { display: none; }
}

.mobile-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: var(--white);
    border-top: 1px solid var(--slate-100);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    padding: 1rem 0 1.5rem;
}

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

.mobile-menu a {
    display: block;
    text-align: center;
    padding: 0.75rem 1rem;
    color: var(--slate-700);
    font-weight: 500;
}

.mobile-menu a:hover {
    color: var(--primary);
}

.mobile-menu .btn {
    margin-top: 1rem;
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
    position: relative;
    min-height: 88svh;
    display: flex;
    align-items: center;
    padding-top: 80px;
    padding-bottom: 2.5rem;
    overflow: hidden;
}

.hero > .container {
    width: 100%;
}

@media (min-width: 768px) {
    .hero {
        padding-top: 120px;
        padding-bottom: 5rem;
        min-height: 84vh;
    }

    .hero > .container {
        max-width: none;
        padding-left: clamp(1.5rem, 4.5vw, 5rem);
        padding-right: 2rem;
    }
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transform: none;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(20, 17, 41, 0.82) 0%, rgba(29, 25, 61, 0.68) 34%, rgba(41, 31, 75, 0.28) 66%, rgba(49, 35, 86, 0.16) 100%),
        radial-gradient(circle at top right, rgba(168, 106, 233, 0.2), transparent 28%),
        linear-gradient(180deg, rgba(29, 25, 61, 0.08), rgba(29, 25, 61, 0.36));
}

.hero-content {
    position: relative;
    z-index: 10;
    max-width: 31rem;
    color: var(--white);
}

@media (min-width: 768px) and (max-width: 1023px) {
    .hero-content {
        max-width: 25rem;
    }
}

@media (min-width: 1024px) {
    .hero-content {
        max-width: 29rem;
    }
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.35rem 0.85rem;
    border-radius: 9999px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(8px);
    color: var(--white);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    margin-bottom: 1.1rem;
}

.hero h1 {
    font-size: 2.3rem;
    font-weight: 800;
    line-height: 1.08;
    margin-bottom: 0.9rem;
}

@media (min-width: 768px) {
    .hero h1 { font-size: 2.95rem; }
}

@media (min-width: 1024px) {
    .hero h1 { font-size: 3.05rem; }
}

.hero h1 .gradient-text {
    background: linear-gradient(to right, #d7c4fb, #b48ef0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-desc {
    font-size: 1rem;
    color: rgba(226, 232, 240, 0.92);
    margin-bottom: 1.5rem;
    max-width: 28rem;
    font-weight: 400;
}

@media (min-width: 768px) {
    .hero-desc { font-size: 1.08rem; }
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
}

@media (max-width: 767px) {
    .hero {
        min-height: 76svh;
        padding-top: 76px;
        padding-bottom: 2rem;
    }

    .hero-bg img {
        object-position: center;
        transform: none;
    }

    .hero-overlay {
        background:
            linear-gradient(180deg, rgba(21, 18, 44, 0.3) 0%, rgba(29, 25, 61, 0.56) 22%, rgba(29, 25, 61, 0.84) 60%, rgba(20, 17, 41, 0.94) 100%),
            radial-gradient(circle at top right, rgba(172, 115, 239, 0.24), transparent 30%);
    }

    .hero-content {
        max-width: 100%;
        padding-right: 0.25rem;
        margin-top: 0.75cm;
    }

    .hero h1 {
        font-size: 1.72rem;
        line-height: 1.1;
        margin-bottom: 0.8rem;
    }

    .hero-desc {
        font-size: 0.9rem;
        line-height: 1.6;
        margin-bottom: 1.1rem;
    }

    .hero-badge {
        font-size: 0.72rem;
        padding: 0.3rem 0.7rem;
        margin-bottom: 0.9rem;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 0.7rem;
        align-items: flex-start;
    }

    .hero-buttons .btn {
        width: auto;
        min-width: 0;
        padding: 0.68rem 1rem;
        font-size: 0.82rem;
        border-radius: 999px;
        line-height: 1;
    }
}

/* ============================================
   TRUST BAR / HIGHLIGHTS
   ============================================ */
.trust-bar {
    position: relative;
    z-index: 20;
    margin-top: -2.5rem;
    margin-bottom: 0.75rem;
    padding: 0 1rem;
}

@media (max-width: 767px) {
    .trust-bar {
        display: none;
    }
}

.trust-card {
    background: rgba(255, 255, 255, 0.94);
    border-radius: 1rem;
    box-shadow: 0 28px 60px rgba(29, 25, 61, 0.12);
    padding: 1.5rem 2.5rem;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .trust-card {
        grid-template-columns: repeat(4, 1fr);
        gap: 1rem;
    }
}

.trust-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 1rem;
}

@media (min-width: 768px) {
    .trust-item {
        border-right: 1px solid var(--slate-100);
    }
    .trust-item:last-child {
        border-right: none;
    }
}

.trust-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

.trust-icon.sky {
    background: var(--sky-50);
    color: var(--primary);
}

.trust-icon.teal {
    background: var(--teal-50);
    color: var(--secondary);
}

.trust-item h3 {
    font-size: 1.125rem;
    color: var(--dark);
    margin-bottom: 0.25rem;
}

.trust-item p {
    font-size: 0.875rem;
    color: var(--slate-500);
}

/* ============================================
   ABOUT SECTION
   ============================================ */
.about {
    background:
        radial-gradient(circle at top left, rgba(146, 104, 213, 0.08), transparent 22%),
        var(--light);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
}

@media (min-width: 768px) {
    .about-grid {
        grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
        gap: 3.5rem;
    }
}

@media (max-width: 767px) {
    .about-grid {
        gap: 2rem;
    }
}

.about-image {
    position: relative;
}

.about-image img {
    border-radius: 1.5rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    position: relative;
    z-index: 10;
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    object-position: center;
}

@media (min-width: 768px) {
    .about-image img {
        max-width: 460px;
        margin: 0 auto;
    }
}

.about-decoration {
    position: absolute;
    width: 12rem;
    height: 12rem;
    border-radius: 50%;
    filter: blur(40px);
    opacity: 0.6;
    z-index: 0;
}

.about-decoration.teal {
    background: var(--teal-100);
    bottom: -1.5rem;
    right: -1.5rem;
}

.about-decoration.sky {
    background: var(--sky-100);
    top: -1.5rem;
    left: -1.5rem;
}

.about-badge {
    position: absolute;
    bottom: 2rem;
    left: -1rem;
    background: var(--white);
    padding: 1rem;
    border-radius: 0.75rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    z-index: 20;
    display: flex;
    align-items: center;
    gap: 1rem;
}

@media (min-width: 768px) {
    .about-badge { left: -2rem; }
}

.about-badge-icon {
    background: var(--green-100);
    color: var(--green-500);
    padding: 0.75rem;
    border-radius: 50%;
}

.about-badge-text h4 {
    font-size: 1rem;
    color: var(--dark);
}

.about-badge-text p {
    font-size: 0.75rem;
    color: var(--slate-500);
}

.about-content h4 {
    color: var(--primary);
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 0.5rem;
}

.about-content h2 {
    font-size: 1.875rem;
    color: var(--dark);
    margin-bottom: 1rem;
    line-height: 1.2;
}

@media (min-width: 768px) {
    .about-content h2 { font-size: 2rem; }
}

.about-content > p {
    color: var(--slate-600);
    font-size: 1rem;
    margin-bottom: 1.15rem;
}

@media (max-width: 767px) {
    .about-image img {
        max-width: 100%;
        margin: 0 auto;
    }

    .about-badge {
        padding: 0.8rem;
        gap: 0.75rem;
        bottom: 1rem;
        left: 0.35rem;
    }

    .about-badge-text h4 {
        font-size: 0.9rem;
    }

    .about-badge-text p {
        font-size: 0.68rem;
    }

    .about-content h2 {
        font-size: 1.45rem;
        margin-bottom: 0.8rem;
    }

    .about-content > p {
        font-size: 0.9rem;
        margin-bottom: 0.95rem;
    }
}

.doctor-card {
    background: var(--white);
    padding: 1.2rem;
    border-radius: 1rem;
    box-shadow: 0 16px 40px rgba(29, 25, 61, 0.08);
    border: 1px solid rgba(111, 70, 184, 0.1);
    border-left: 4px solid var(--primary);
    margin-bottom: 1.35rem;
}

@media (max-width: 767px) {
    .doctor-card {
        padding: 1rem;
        margin-bottom: 1rem;
    }

    .doctor-card-inner {
        gap: 0.8rem;
    }
}

.doctor-card-inner {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.doctor-card-icon {
    color: var(--primary);
    font-size: 1.5rem;
    margin-top: 0.25rem;
}

.doctor-card h3 {
    font-size: 1rem;
    color: var(--dark);
    margin-bottom: 0.25rem;
}

.doctor-card .subtitle {
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--slate-500);
    margin-bottom: 0.5rem;
}

.doctor-card p {
    font-size: 0.82rem;
    color: var(--slate-600);
    line-height: 1.6;
}

@media (max-width: 767px) {
    .doctor-card h3 {
        font-size: 0.95rem;
    }

    .doctor-card p,
    .doctor-card .subtitle {
        font-size: 0.78rem;
    }
}

.about-features {
    margin-bottom: 1.2rem;
}

.about-features li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--slate-700);
    font-weight: 500;
    margin-bottom: 0.6rem;
    font-size: 0.94rem;
}

.about-features li i {
    color: var(--secondary);
}

.about-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary);
    font-weight: 600;
    font-size: 0.92rem;
}

.about-link:hover {
    color: var(--primary-dark);
}

/* ============================================
   SERVICES SECTION
   ============================================ */
.services {
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.96) 0%, rgba(248, 244, 252, 0.98) 100%);
}

.services .section-header {
    max-width: 36rem;
    margin-bottom: 2.4rem;
}

.services-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.3rem;
}

@media (max-width: 767px) {
    .services .section-header {
        margin-bottom: 1.4rem;
    }

    .services-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.75rem;
    }
}

@media (min-width: 768px) {
    .services-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
    .services-grid { grid-template-columns: repeat(3, 1fr); }
}

.service-card {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(244, 238, 251, 0.98));
    padding: 1.45rem;
    border-radius: 0.95rem;
    border: 1px solid rgba(111, 70, 184, 0.1);
    cursor: pointer;
    transition: all 0.3s ease;
}

@media (max-width: 767px) {
    .service-card {
        padding: 0.9rem 0.8rem;
        border-radius: 0.8rem;
    }

    .service-card h3 {
        font-size: 0.84rem;
        line-height: 1.3;
        margin-bottom: 0.35rem;
    }

    .service-card p {
        font-size: 0.74rem;
        line-height: 1.45;
    }

    .service-icon {
        width: 36px;
        height: 36px;
        font-size: 0.9rem;
        margin-bottom: 0.7rem;
    }
}

.service-card:hover {
    box-shadow: 0 30px 60px rgba(29, 25, 61, 0.14);
    transform: translateY(-8px);
}

.service-icon {
    width: 50px;
    height: 50px;
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}

.service-icon.sky {
    background: var(--sky-100);
    color: var(--primary);
}

.service-icon.teal {
    background: var(--teal-100);
    color: var(--secondary);
}

.service-card:hover .service-icon.sky {
    background: var(--primary);
    color: var(--white);
}

.service-card:hover .service-icon.teal {
    background: var(--secondary);
    color: var(--white);
}

.service-card h3 {
    font-size: 1.08rem;
    color: var(--dark);
    margin-bottom: 0.55rem;
}

.service-card p {
    color: var(--slate-600);
    font-size: 0.9rem;
    line-height: 1.6;
}

/* ============================================
   WHY CHOOSE US
   ============================================ */
.why-us {
    background:
        radial-gradient(circle at top right, rgba(144, 104, 213, 0.18), transparent 24%),
        linear-gradient(135deg, #1d193d, #2b2153 55%, #392c5d 100%);
    color: var(--white);
    padding: 4rem 0;
}

@media (max-width: 767px) {
    .why-us {
        padding: 3rem 0;
    }
}

.why-us-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (max-width: 767px) {
    .why-us-grid {
        gap: 1.1rem;
    }
}

@media (min-width: 768px) {
    .why-us-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
    .why-us-grid { grid-template-columns: repeat(4, 1fr); }
}

.why-us-header h2 {
    font-size: 1.875rem;
    margin-bottom: 1rem;
}

.why-us-header p {
    color: var(--slate-400);
    font-size: 0.875rem;
}

.why-us-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1rem;
    border-radius: 0.75rem;
    transition: background 0.3s ease;
}

@media (min-width: 768px) {
    .why-us-item { align-items: flex-start; }
}

.why-us-item:hover {
    background: rgba(255, 255, 255, 0.05);
}

.why-us-icon {
    font-size: 1.875rem;
    padding: 0.75rem;
    border-radius: 50%;
    background: var(--slate-800);
    margin-bottom: 1rem;
}

.why-us-icon.sky { color: #c7a8ff; }
.why-us-icon.teal { color: #a67be7; }

.why-us-item h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.why-us-item p {
    color: var(--slate-400);
    font-size: 0.875rem;
    text-align: center;
}

@media (max-width: 767px) {
    .why-us-header h2 {
        font-size: 1.55rem;
    }

    .why-us-header p,
    .why-us-item p {
        font-size: 0.9rem;
        line-height: 1.6;
    }

    .why-us-item {
        padding: 0.9rem;
    }

    .why-us-item h3 {
        font-size: 1.02rem;
    }
}

@media (min-width: 768px) {
    .why-us-item p { text-align: left; }
}

/* ============================================
   DOCTORS TEAM
   ============================================ */
.doctors {
    background: var(--light);
}

.doctors-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 768px) {
    .doctors-grid { grid-template-columns: repeat(3, 1fr); }
}

.doctor-profile {
    background: var(--white);
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    border: 1px solid var(--slate-100);
    transition: box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.doctor-profile:hover {
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
    transform: translateY(-6px);
}

.doctor-image {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4 / 3;
    background: #f8fafc;
}

.doctor-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: none;
}

.doctor-profile:hover .doctor-image img {
    transform: none;
}

.doctor-info {
    padding: 1.5rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.doctor-info h3 {
    font-size: 1.25rem;
    color: var(--dark);
    margin-bottom: 0.25rem;
}

.doctor-info .specialty {
    font-weight: 500;
    font-size: 0.875rem;
    margin-bottom: 0.75rem;
}

.doctor-info .specialty.primary { color: var(--primary); }
.doctor-info .specialty.secondary { color: var(--secondary); }

.doctor-info .experience {
    color: var(--slate-500);
    font-size: 0.875rem;
    margin-bottom: 1rem;
}

.doctor-socials {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
}

.doctor-socials a {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--slate-100);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--slate-500);
    transition: all 0.3s ease;
}

.doctor-socials a:hover {
    background: var(--primary);
    color: var(--white);
}

.doctor-socials a.teal:hover {
    background: var(--secondary);
}

/* ============================================
   CTA BANNER
   ============================================ */
.cta-banner {
    position: relative;
    padding: 5rem 0;
    overflow: hidden;
}

.cta-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

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

.cta-overlay {
    position: absolute;
    inset: 0;
    background: rgba(36, 25, 74, 0.76);
    mix-blend-mode: multiply;
}

.cta-content {
    position: relative;
    z-index: 10;
    text-align: center;
    color: var(--white);
    max-width: 56rem;
    margin: 0 auto;
}

.cta-content h2 {
    font-size: 1.875rem;
    margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
    .cta-content h2 { font-size: 3rem; }
}

.cta-content p {
    font-size: 1.125rem;
    color: var(--blue-100);
    margin-bottom: 2.5rem;
    max-width: 42rem;
    margin-left: auto;
    margin-right: auto;
}

@media (min-width: 768px) {
    .cta-content p { font-size: 1.25rem; }
}

/* ============================================
   GALLERY SECTION
   ============================================ */
.gallery {
    background: linear-gradient(180deg, #fbf9fe 0%, #f4eefb 100%);
}

.gallery-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 2.5rem;
}

@media (max-width: 767px) {
    .gallery-header {
        margin-bottom: 1.25rem;
    }

    .gallery-header h2 {
        font-size: 1.55rem;
    }
}

.gallery-header h4 {
    color: var(--secondary);
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 0.5rem;
}

.gallery-header h2 {
    font-size: 1.875rem;
    color: var(--dark);
}

@media (min-width: 768px) {
    .gallery-header h2 { font-size: 2.25rem; }
}

.gallery-nav {
    display: none;
    gap: 0.5rem;
}

@media (min-width: 768px) {
    .gallery-nav { display: flex; }
}

.gallery-nav button {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid var(--slate-200);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--slate-600);
    transition: all 0.3s ease;
}

.gallery-nav button:hover {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}

.gallery-slider {
    display: flex;
    overflow-x: auto;
    gap: 1.5rem;
    padding-bottom: 2rem;
    scroll-snap-type: x mandatory;
    cursor: grab;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

@media (max-width: 767px) {
    .gallery-slider {
        gap: 1rem;
        padding-bottom: 1.25rem;
    }
}

.gallery-slider::-webkit-scrollbar {
    display: none;
}

.gallery-slider:active {
    cursor: grabbing;
}

.gallery-item {
    min-width: 85vw;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    scroll-snap-align: center;
}

@media (max-width: 767px) {
    .gallery-item {
        min-width: 88vw;
    }
}

@media (min-width: 768px) {
    .gallery-item { min-width: 400px; }
}

.gallery-item img {
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    display: block;
    transition: none;
}

@media (max-width: 767px) {
    .gallery-item img {
        height: auto;
        aspect-ratio: 4 / 3;
    }
}

.gallery-item:hover img {
    transform: none;
}

/* ============================================
   BEFORE & AFTER
   ============================================ */
.before-after {
    background:
        radial-gradient(circle at top right, rgba(144, 104, 213, 0.16), transparent 28%),
        linear-gradient(180deg, #fffefe 0%, #f6f0fb 100%);
}

.before-after-header {
    margin-bottom: 2.5rem;
}

.before-after-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (max-width: 767px) {
    .before-after-header {
        margin-bottom: 1.6rem;
    }

    .before-after-grid {
        gap: 1rem;
    }
}

.case-card {
    background: var(--white);
    border: 1px solid var(--slate-100);
    border-radius: 1.3rem;
    overflow: hidden;
    box-shadow: 0 18px 42px rgba(15, 23, 42, 0.08);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.case-visual {
    display: grid;
    grid-template-columns: 1fr;
    position: relative;
}

.case-pane {
    min-height: 220px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 0.75rem;
}

@media (max-width: 767px) {
    .case-pane {
        min-height: 0;
        padding: 0.7rem;
    }
}

.case-pane-before {
    background: linear-gradient(135deg, #fbf8fe, #ece2f8);
}

.case-pane-after {
    background: linear-gradient(135deg, #f5effd, #e8def9);
}

.case-divider {
    position: absolute;
    left: 1rem;
    right: 1rem;
    top: 50%;
    height: 1px;
    background: rgba(15, 23, 42, 0.08);
}

.case-label {
    align-self: flex-start;
    display: inline-flex;
    padding: 0.4rem 0.72rem;
    border-radius: 999px;
    background: rgba(29, 25, 61, 0.82);
    color: var(--white);
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.case-pane-image {
    gap: 0.7rem;
}

.case-pane-image img {
    width: min(100%, 340px);
    height: auto;
    aspect-ratio: auto;
    object-fit: contain;
    object-position: center;
    border-radius: 1rem;
    box-shadow: 0 14px 32px rgba(29, 25, 61, 0.08);
    background: #f3eef9;
    margin: 0 auto;
}

.case-composite-frame {
    padding: 0.8rem;
    background: linear-gradient(180deg, rgba(247, 241, 252, 0.98), rgba(237, 228, 248, 0.98));
}

.case-composite-frame img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: 1rem;
    box-shadow: 0 14px 32px rgba(29, 25, 61, 0.08);
}

.case-comparison-strip {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.8rem;
    align-items: stretch;
}

.case-comparison-shot {
    position: relative;
    overflow: hidden;
    border-radius: 1rem;
    background: #f3eef9;
}

.case-comparison-shot .case-label {
    position: absolute;
    left: 0.7rem;
    top: 0.7rem;
    z-index: 2;
}

.case-comparison-shot img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    object-position: center;
    border-radius: 1rem;
    box-shadow: 0 14px 32px rgba(29, 25, 61, 0.08);
    background: #f3eef9;
    display: block;
}

.case-card-patient1 .case-comparison-shot img {
    object-position: center 36%;
}

.case-detail-strip {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.8rem;
    padding: 0.8rem;
    background: linear-gradient(180deg, rgba(247, 241, 252, 0.98), rgba(237, 228, 248, 0.98));
}

.detail-shot img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: 1rem;
    box-shadow: 0 14px 32px rgba(29, 25, 61, 0.08);
    display: block;
}

.case-content {
    padding: 1.15rem 1.2rem 1.25rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    flex: 1;
}

@media (max-width: 767px) {
    .case-content {
        padding: 0.9rem;
    }
}

.case-content h3 {
    color: var(--dark);
    font-size: 1.05rem;
    margin-bottom: 0.35rem;
}

@media (max-width: 767px) {
    .case-content h3 {
        font-size: 0.95rem;
        margin-bottom: 0.25rem;
    }
}

.case-content p {
    color: var(--slate-600);
    font-size: 0.88rem;
    line-height: 1.55;
    margin: 0;
}

@media (max-width: 767px) {
    .case-label {
        font-size: 0.62rem;
        padding: 0.36rem 0.64rem;
    }

    .case-pane-image img {
        width: min(100%, 280px);
        height: auto;
        aspect-ratio: auto;
        border-radius: 0.9rem;
    }

    .case-composite-frame,
    .case-detail-strip {
        padding: 0.65rem;
        gap: 0.65rem;
    }

    .case-comparison-strip {
        gap: 0.65rem;
    }

    .case-composite-frame img,
    .detail-shot img,
    .case-comparison-shot img {
        aspect-ratio: 4 / 3;
        border-radius: 0.9rem;
    }

    .case-comparison-shot .case-label {
        left: 0.55rem;
        top: 0.55rem;
    }

    .case-content p {
        font-size: 0.84rem;
        line-height: 1.55;
    }
}

/* ============================================
   TESTIMONIALS
   ============================================ */
.testimonials {
    background:
        radial-gradient(circle at top left, rgba(146, 104, 213, 0.08), transparent 22%),
        var(--light);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    max-width: 64rem;
    margin: 0 auto;
}

@media (max-width: 767px) {
    .testimonials-grid {
        gap: 1.4rem;
    }
}

@media (min-width: 768px) {
    .testimonials-grid { grid-template-columns: repeat(3, 1fr); }
}

.testimonial-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: 0 18px 45px rgba(29, 25, 61, 0.08);
    border: 1px solid rgba(111, 70, 184, 0.08);
    position: relative;
    margin-top: 2rem;
}

@media (max-width: 767px) {
    .testimonial-card {
        padding: 1.3rem;
        margin-top: 1.6rem;
    }
}

.testimonial-avatar {
    position: absolute;
    top: -2rem;
    left: 2rem;
}

.testimonial-avatar img {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    border: 4px solid var(--white);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    object-fit: cover;
}

.testimonial-stars {
    display: flex;
    gap: 0.25rem;
    color: var(--yellow-400);
    font-size: 0.875rem;
    margin-bottom: 1rem;
    margin-top: 1.5rem;
}

.testimonial-card blockquote {
    color: var(--slate-600);
    font-style: italic;
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

@media (max-width: 767px) {
    .testimonial-card blockquote {
        font-size: 0.92rem;
        line-height: 1.65;
    }
}

.testimonial-card h4 {
    font-weight: 700;
    color: var(--dark);
}

.testimonial-card .role {
    font-size: 0.75rem;
    color: var(--slate-500);
}

/* ============================================
   FAQ & CONTACT SECTION
   ============================================ */
.contact-section {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(247, 242, 252, 0.98));
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 4rem;
    align-items: center;
}

@media (max-width: 767px) {
    .contact-grid {
        gap: 2rem;
    }
}

@media (min-width: 1024px) {
    .contact-grid { grid-template-columns: repeat(2, 1fr); }
}

.contact-info h4 {
    color: var(--secondary);
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 0.5rem;
}

.contact-info h2 {
    font-size: 1.875rem;
    color: var(--dark);
    margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
    .contact-info h2 { font-size: 2.25rem; }
}

/* FAQ Accordion */
.faq-list {
    margin-bottom: 2.5rem;
}

.faq-item {
    border: 1px solid rgba(111, 70, 184, 0.12);
    border-radius: 0.75rem;
    overflow: hidden;
    margin-bottom: 1rem;
}

.faq-btn {
    width: 100%;
    padding: 1rem 1.5rem;
    text-align: left;
    font-weight: 600;
    color: var(--dark);
    background: rgba(245, 240, 251, 0.9);
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.3s ease;
}

.faq-btn:hover {
    background: rgba(235, 226, 247, 0.95);
}

.faq-btn i {
    color: var(--primary);
    transition: transform 0.3s ease;
}

.faq-content {
    display: none;
    padding: 1rem 1.5rem;
    color: var(--slate-600);
    background: var(--white);
    border-top: 1px solid var(--slate-100);
}

.faq-content.active {
    display: block;
}

/* Contact Info Box */
.contact-details {
    background: linear-gradient(180deg, rgba(250, 246, 253, 0.98), rgba(242, 234, 250, 0.98));
    padding: 1.5rem;
    border-radius: 1rem;
    border: 1px solid rgba(111, 70, 184, 0.1);
}

.contact-details h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.contact-details ul {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-details li {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.contact-details .icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--white);
    box-shadow: 0 10px 22px rgba(29, 25, 61, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-details .icon.primary { color: var(--primary); }
.contact-details .icon.secondary { color: var(--secondary); }

.contact-details h4 {
    font-weight: 600;
    color: var(--dark);
    font-size: 1rem;
}

.contact-details p {
    font-size: 0.875rem;
    color: var(--slate-500);
}

.contact-subline {
    margin-top: 0.35rem;
    font-size: 0.78rem !important;
}

.contact-details a:hover {
    color: var(--primary);
}

/* Appointment Form */
.appointment-form-wrapper {
    background: var(--white);
    border-radius: 1.5rem;
    box-shadow: 0 28px 60px rgba(29, 25, 61, 0.12);
    padding: 2rem;
    border: 1px solid rgba(111, 70, 184, 0.1);
    position: relative;
    overflow: hidden;
    scroll-margin-top: 6rem;
}

@media (max-width: 767px) {
    .contact-details,
    .appointment-form-wrapper {
        padding: 1.2rem;
        border-radius: 1rem;
    }

    .contact-details h3,
    .appointment-form-wrapper h3 {
        font-size: 1.15rem;
    }

    .contact-details p,
    .appointment-form-wrapper > p,
    .faq-content {
        font-size: 0.9rem;
    }

    .faq-btn {
        padding: 0.95rem 1rem;
        font-size: 0.94rem;
    }
}

.form-decoration {
    position: absolute;
    top: 0;
    right: 0;
    width: 128px;
    height: 128px;
    background: rgba(140, 99, 214, 0.14);
    border-bottom-left-radius: 100%;
    pointer-events: none;
}

.appointment-form-wrapper h3 {
    font-size: 1.5rem;
    color: var(--dark);
    margin-bottom: 0.5rem;
    position: relative;
    z-index: 10;
}

.appointment-form-wrapper > p {
    color: var(--slate-500);
    font-size: 0.875rem;
    margin-bottom: 2rem;
    position: relative;
    z-index: 10;
}

.appointment-form {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    position: relative;
    z-index: 10;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
}

@media (min-width: 768px) {
    .form-row { grid-template-columns: repeat(2, 1fr); }
}

.form-group label {
    display: block;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--slate-600);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 0.5rem;
}

.form-group label .required {
    color: var(--red-500);
}

.form-group label .optional {
    color: var(--slate-400);
    font-weight: 500;
    text-transform: none;
    letter-spacing: 0;
}

.field-hint {
    display: block;
    color: var(--slate-500);
    font-size: 0.72rem;
    line-height: 1.35;
    margin-top: 0.35rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    background: rgba(248, 244, 252, 0.9);
    border: 1px solid rgba(111, 70, 184, 0.12);
    border-radius: 0.5rem;
    padding: 0.75rem 1rem;
    outline: none;
    transition: all 0.3s ease;
    color: var(--slate-700);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(111, 70, 184, 0.14);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--slate-400);
}

.form-group select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%2394a3b8'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'%3E%3C/path%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
    background-size: 1.25rem;
    padding-right: 2.5rem;
}

.form-group textarea {
    resize: none;
    min-height: 80px;
}

.btn-submit {
    width: 100%;
    background: var(--primary);
    color: var(--white);
    font-weight: 700;
    padding: 1rem;
    border-radius: 0.75rem;
    box-shadow: 0 16px 36px rgba(79, 47, 141, 0.24);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.btn-submit:hover {
    background: var(--primary-dark);
    box-shadow: 0 18px 42px rgba(79, 47, 141, 0.34);
    transform: translateY(-2px);
}

.form-note {
    text-align: center;
    font-size: 0.8rem;
    color: var(--slate-500);
    line-height: 1.6;
}

.form-message {
    text-align: center;
    font-size: 0.875rem;
    font-weight: 500;
    margin-top: 0.75rem;
    display: none;
}

.form-message.success {
    color: var(--green-600);
    display: block;
}

.form-message.error {
    color: var(--red-500);
    display: block;
}

/* ============================================
   MAP SECTION
   ============================================ */
.map-section {
    min-height: 384px;
    width: 100%;
    background:
        radial-gradient(circle at top left, rgba(144, 104, 213, 0.2), transparent 30%),
        linear-gradient(135deg, #f5effb, #f0e7fa 55%, #faf7fd);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 3rem 1rem;
}

@media (max-width: 767px) {
    .map-section {
        padding: 2rem 1rem;
    }
}

.map-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
    width: 100%;
}

.map-embed-card {
    overflow: hidden;
    border-radius: 1.5rem;
    box-shadow: 0 24px 80px rgba(15, 23, 42, 0.12);
    min-height: 320px;
}

.map-embed-card iframe {
    width: 100%;
    height: 100%;
    min-height: 320px;
    border: 0;
}

.map-card {
    max-width: 720px;
    width: 100%;
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(14px);
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: 1.5rem;
    box-shadow: 0 24px 80px rgba(29, 25, 61, 0.12);
    padding: 2rem;
    text-align: center;
}

@media (max-width: 767px) {
    .map-card {
        padding: 1.25rem;
        border-radius: 1rem;
    }
}

.map-card i {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--primary);
}

.map-card p {
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--dark);
    margin-bottom: 0.75rem;
}

@media (max-width: 767px) {
    .map-card p {
        font-size: 1.2rem;
    }
}

@media (max-width: 767px) {
    .about-features li {
        font-size: 0.86rem;
        margin-bottom: 0.5rem;
    }

    .about-link {
        font-size: 0.86rem;
    }
}

.map-card span {
    display: block;
    font-size: 1rem;
    color: var(--slate-600);
    line-height: 1.7;
}

@media (max-width: 767px) {
    .map-card span {
        font-size: 0.92rem;
    }
}

.map-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    margin-top: 1.75rem;
}

@media (max-width: 767px) {
    .map-actions {
        gap: 0.75rem;
    }

    .map-actions .btn {
        width: 100%;
    }
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background:
        radial-gradient(circle at top right, rgba(144, 104, 213, 0.16), transparent 26%),
        linear-gradient(135deg, #1d193d, #241f49 55%, #2d2454);
    color: var(--slate-300);
    padding-top: 5rem;
    padding-bottom: 2.5rem;
}

@media (max-width: 767px) {
    .footer {
        padding-top: 3.5rem;
        padding-bottom: 2rem;
    }
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    margin-bottom: 4rem;
}

@media (max-width: 767px) {
    .footer-grid {
        gap: 2rem;
        margin-bottom: 2rem;
    }
}

@media (min-width: 768px) {
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
    .footer-grid { grid-template-columns: repeat(4, 1fr); }
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    min-width: 0;
}

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

.footer-logo img {
    height: 64px;
    width: auto;
    max-width: 240px;
    object-fit: contain;
    object-position: left center;
    filter: drop-shadow(0 8px 18px rgba(0, 0, 0, 0.22));
}

.footer-logo span {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 1.2rem;
    color: var(--white);
}

.footer-brand-text small {
    font-size: 0.78rem;
    color: var(--slate-500);
    margin-top: 0.15rem;
}

@media (max-width: 767px) {
    .footer-logo {
        align-items: flex-start;
    }

    .footer-logo img {
        height: 54px;
        max-width: 194px;
    }
}

.footer-brand p {
    color: var(--slate-400);
    font-size: 0.875rem;
    line-height: 1.7;
}

.footer-socials {
    display: flex;
    gap: 1rem;
}

.footer-socials a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--slate-800);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--slate-400);
    transition: all 0.3s ease;
}

.footer-socials a:hover {
    background: var(--primary);
    color: var(--white);
}

.footer-column h4 {
    color: var(--white);
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.footer-column ul {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-column a {
    font-size: 0.875rem;
    transition: color 0.3s ease;
}

.footer-column a:hover {
    color: var(--primary);
}

.footer-newsletter p {
    color: var(--slate-400);
    font-size: 0.875rem;
    margin-bottom: 1rem;
}

.footer-contact-list {
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
}

.footer-contact-list a,
.footer-contact-list p {
    font-size: 0.875rem;
    color: var(--slate-300);
    line-height: 1.7;
}

@media (max-width: 767px) {
    .footer-brand p,
    .footer-column a,
    .footer-contact-list a,
    .footer-contact-list p,
    .footer-bottom p,
    .footer-links a {
        font-size: 0.88rem;
    }
}

@media (min-width: 768px) {
    .case-visual {
        grid-template-columns: 1fr 1fr;
    }

    .case-divider {
        top: 1rem;
        bottom: 1rem;
        left: 50%;
        right: auto;
        width: 1px;
        height: auto;
    }

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

    .case-card-details {
        grid-column: 1 / -1;
    }

    .case-card-details .case-detail-strip {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .map-layout {
        grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
        align-items: stretch;
    }
}

.footer-bottom {
    border-top: 1px solid var(--slate-800);
    padding-top: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

@media (min-width: 768px) {
    .footer-bottom {
        flex-direction: row;
        justify-content: space-between;
    }
}

.footer-bottom p {
    color: var(--slate-500);
    font-size: 0.875rem;
}

.footer-legal {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    text-align: center;
}

.footer-credit a {
    color: var(--slate-300);
    font-weight: 600;
}

.footer-credit a:hover {
    color: var(--white);
}

.footer-links {
    display: flex;
    gap: 1rem;
}

.footer-links a {
    color: var(--slate-500);
    font-size: 0.875rem;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--white);
}

/* ============================================
   FLOATING ELEMENTS
   ============================================ */
.whatsapp-btn {
    position: fixed;
    bottom: 1.5rem;
    left: 1.5rem;
    z-index: 1000;
    background: var(--primary);
    color: var(--white);
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.875rem;
    box-shadow: 0 12px 26px rgba(79, 47, 141, 0.28);
    transition: all 0.3s ease;
}

.whatsapp-btn:hover {
    background: var(--primary-dark);
    transform: scale(1.1);
}

.whatsapp-guide {
    position: fixed;
    left: 1.5rem;
    bottom: 5.5rem;
    z-index: 1001;
    width: min(280px, calc(100vw - 2rem));
    display: flex;
    align-items: center;
    gap: 0.85rem;
    padding: 0.9rem 0.9rem 0.9rem 1rem;
    border: 1px solid rgba(124, 88, 200, 0.16);
    border-radius: 0.9rem;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 18px 42px rgba(29, 25, 61, 0.22);
    color: var(--dark);
    opacity: 0;
    pointer-events: none;
    transform: translateY(0.7rem) scale(0.98);
    transition: opacity 0.25s ease, transform 0.25s ease;
}

.whatsapp-guide::after {
    content: "";
    position: absolute;
    left: 1.45rem;
    bottom: -0.48rem;
    width: 0.95rem;
    height: 0.95rem;
    background: rgba(255, 255, 255, 0.96);
    border-right: 1px solid rgba(124, 88, 200, 0.16);
    border-bottom: 1px solid rgba(124, 88, 200, 0.16);
    transform: rotate(45deg);
}

.whatsapp-guide.visible {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0) scale(1);
}

.whatsapp-guide p {
    margin: 0;
    font-size: 0.92rem;
    line-height: 1.35;
    font-weight: 700;
    color: var(--dark);
}

.whatsapp-guide-close {
    flex: 0 0 auto;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(124, 88, 200, 0.1);
    color: var(--primary);
    font-size: 0.85rem;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.whatsapp-guide-close:hover {
    background: var(--primary);
    color: var(--white);
}

.back-to-top {
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    z-index: 1000;
    background: var(--dark);
    color: var(--white);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    opacity: 0;
    pointer-events: none;
    transform: translateY(16px);
}

.back-to-top.visible {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

.back-to-top:hover {
    background: var(--primary);
}

@media (max-width: 480px) {
    .whatsapp-guide {
        left: 1rem;
        bottom: 5.1rem;
        width: min(270px, calc(100vw - 1.5rem));
    }
}

/* ============================================
   RESPONSIVE UTILITIES
   ============================================ */
@media (max-width: 767px) {
    .hide-mobile { display: none !important; }
}

@media (min-width: 768px) {
    .hide-desktop { display: none !important; }
}

/* ---------- Mobile Compact Polish ---------- */
@media (max-width: 767px) {
    .section {
        padding: 2.2rem 0;
    }

    .section-header,
    .services .section-header,
    .before-after-header,
    .gallery-header {
        margin-bottom: 1.15rem;
    }

    .section-label {
        font-size: 0.76rem;
        margin-bottom: 0.35rem;
    }

    .section-title,
    .about-content h2,
    .contact-info h2,
    .gallery-header h2,
    .why-us-header h2 {
        font-size: 1.34rem;
        line-height: 1.16;
        margin-bottom: 0.6rem;
    }

    .section-desc,
    .hero-desc,
    .about-content > p,
    .why-us-header p,
    .why-us-item p,
    .testimonial-card blockquote,
    .contact-details p,
    .appointment-form-wrapper > p,
    .faq-content,
    .map-card span,
    .footer-brand p,
    .footer-column a,
    .footer-contact-list a,
    .footer-contact-list p,
    .footer-bottom p,
    .footer-links a {
        font-size: 0.84rem;
        line-height: 1.52;
    }

    .hero-desc {
        margin-bottom: 0.9rem;
    }

    .about-grid,
    .contact-grid,
    .testimonials-grid,
    .before-after-grid,
    .why-us-grid,
    .footer-grid {
        gap: 1.15rem;
    }

    .services-grid,
    .gallery-slider,
    .map-actions {
        gap: 0.7rem;
    }

    .service-card,
    .doctor-card,
    .testimonial-card,
    .contact-details,
    .appointment-form-wrapper,
    .map-card {
        border-radius: 0.85rem;
    }

    .doctor-card,
    .testimonial-card,
    .contact-details,
    .appointment-form-wrapper {
        padding: 1rem;
    }

    .testimonial-card {
        margin-top: 1.35rem;
    }

    .faq-btn {
        padding: 0.85rem 0.95rem;
        font-size: 0.88rem;
    }

    .contact-details h3,
    .appointment-form-wrapper h3,
    .map-card p {
        font-size: 1.05rem;
    }

    .map-section,
    .footer {
        padding-top: 2.2rem;
        padding-bottom: 2.2rem;
    }

    .footer-grid {
        margin-bottom: 1.5rem;
    }

    .why-us {
        padding: 1.75rem 0;
    }

    .why-us .container {
        padding: 0 0.85rem;
    }

    .why-us-grid {
        gap: 0.65rem;
    }

    .why-us-header h2 {
        font-size: 1.12rem;
        line-height: 1.15;
        margin-bottom: 0.4rem;
    }

    .why-us-header p,
    .why-us-item p {
        font-size: 0.74rem;
        line-height: 1.42;
    }

    .why-us-item {
        align-items: flex-start;
        padding: 0.65rem 0.7rem;
        border-radius: 0.6rem;
    }

    .why-us-icon {
        font-size: 1.05rem;
        padding: 0.45rem;
        margin-bottom: 0.5rem;
    }

    .why-us-item h3 {
        font-size: 0.86rem;
        line-height: 1.22;
        margin-bottom: 0.25rem;
    }

    .why-us-item p {
        text-align: left;
    }

    .testimonials .section-header {
        margin-bottom: 0.9rem;
    }

    .testimonials-grid {
        gap: 0.7rem;
    }

    .testimonial-card {
        display: grid;
        grid-template-columns: 3rem minmax(0, 1fr);
        grid-template-areas:
            "avatar stars"
            "avatar quote"
            "avatar name"
            "avatar role";
        column-gap: 0.8rem;
        align-items: start;
        padding: 0.85rem;
        margin-top: 0;
        border-radius: 0.7rem;
        box-shadow: 0 10px 28px rgba(29, 25, 61, 0.07);
    }

    .testimonial-avatar {
        grid-area: avatar;
        position: static;
    }

    .testimonial-avatar img {
        width: 48px;
        height: 48px;
        border-width: 3px;
    }

    .testimonial-stars {
        grid-area: stars;
        font-size: 0.72rem;
        gap: 0.18rem;
        margin: 0 0 0.32rem;
    }

    .testimonial-card blockquote {
        grid-area: quote;
        font-size: 0.78rem;
        line-height: 1.42;
        margin-bottom: 0.55rem;
    }

    .testimonial-card h4 {
        grid-area: name;
        font-size: 0.86rem;
        line-height: 1.2;
        margin-bottom: 0.05rem;
    }

    .testimonial-card .role {
        grid-area: role;
        font-size: 0.7rem;
        line-height: 1.25;
    }

    #book-appointment {
        padding: 0.8rem;
        border-radius: 0.75rem;
        box-shadow: 0 12px 30px rgba(29, 25, 61, 0.08);
    }

    #book-appointment .form-decoration {
        width: 84px;
        height: 84px;
    }

    .appointment-form-wrapper h3 {
        font-size: 0.98rem;
        line-height: 1.2;
        margin-bottom: 0.3rem;
    }

    .appointment-form-wrapper > p {
        font-size: 0.74rem;
        line-height: 1.4;
        margin-bottom: 0.75rem;
        max-width: 18rem;
    }

    .appointment-form,
    .form-row {
        gap: 0.62rem;
    }

    .form-group label {
        font-size: 0.66rem;
        letter-spacing: 0.07em;
        margin-bottom: 0.28rem;
    }

    .form-group input,
    .form-group select,
    .form-group textarea {
        min-height: 2.55rem;
        border-radius: 0.55rem;
        padding: 0.58rem 0.75rem;
        font-size: 0.82rem;
    }

    .form-group select {
        background-position: right 0.65rem center;
        background-size: 1rem;
        padding-right: 2rem;
    }

    .form-group textarea {
        min-height: 4.25rem;
    }

    .field-hint {
        font-size: 0.66rem;
        margin-top: 0.22rem;
    }

    .btn-submit {
        min-height: 2.65rem;
        padding: 0.65rem 0.75rem;
        border-radius: 0.6rem;
        font-size: 0.82rem;
        box-shadow: 0 10px 24px rgba(79, 47, 141, 0.2);
    }

    .form-note {
        font-size: 0.68rem;
        line-height: 1.35;
    }

    .form-message {
        font-size: 0.76rem;
        margin-top: 0.45rem;
    }

    .footer {
        padding-top: 1.55rem;
        padding-bottom: 1.35rem;
    }

    .footer-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.85rem;
        margin-bottom: 1rem;
    }

    .footer-brand {
        grid-column: 1 / -1;
        gap: 0.65rem;
    }

    .footer-newsletter {
        display: none;
    }

    .footer-logo {
        gap: 0.55rem;
    }

    .footer-logo img {
        height: 52px;
        max-width: 188px;
    }

    .footer-logo span {
        font-size: 1rem;
    }

    .footer-brand-text small {
        display: none;
    }

    .footer-brand p,
    .footer-newsletter p,
    .footer-contact-list a,
    .footer-contact-list p,
    .footer-bottom p,
    .footer-links a {
        font-size: 0.82rem;
        line-height: 1.42;
    }

    .footer-column h4 {
        font-size: 0.94rem;
        margin-bottom: 0.55rem;
    }

    .footer-column ul {
        gap: 0.38rem;
    }

    .footer-column a {
        font-size: 0.82rem;
        line-height: 1.35;
    }

    .footer-newsletter p {
        margin-bottom: 0.55rem;
    }

    .footer-contact-list {
        gap: 0.45rem;
    }

    .footer-bottom {
        padding-top: 0.85rem;
        gap: 0.65rem;
    }

    .footer-legal {
        gap: 0.22rem;
    }

    .footer-links {
        gap: 0.75rem;
    }
}
