/*
Theme Name: Chelsea Cosmetics
Theme URI: https://caffeinateddevelopment.com.au
Author: Caffeinated Development
Author URI: https://caffeinateddevelopment.com.au
Description: A premium Bootstrap 5 theme for cosmetic surgery clinics, built with ACF/SCF custom fields.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: chelsea-cosmetics
Tags: bootstrap, custom-fields, medical, clinic, responsive
*/

/* =============================================
   CSS CUSTOM PROPERTIES
   ============================================= */
:root {
    --gold:        #c9a96e;
    --gold-light:  #e8d5b0;
    --gold-dark:   #a07d45;
    --navy:        #1a2035;
    --navy-light:  #2c3558;
    --white:       #ffffff;
    --off-white:   #f8f6f3;
    --light-grey:  #f0ede8;
    --mid-grey:    #999089;
    --dark-grey:   #3d3830;
    --text:        #2a2520;

    --font-heading: 'Cormorant Garamond', Georgia, serif;
    --font-body:    'Jost', 'Helvetica Neue', sans-serif;

    --transition: 0.3s ease;
    --shadow-sm: 0 2px 12px rgba(26,32,53,0.08);
    --shadow-md: 0 8px 32px rgba(26,32,53,0.12);
    --shadow-lg: 0 20px 60px rgba(26,32,53,0.18);
    --radius: 4px;
}

/* =============================================
   BASE & RESET
   ============================================= */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.7;
    color: var(--text);
    background: var(--white);
    -webkit-font-smoothing: antialiased;
}

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

a {
    color: var(--gold-dark);
    text-decoration: none;
    transition: color var(--transition);
}
a:hover { color: var(--gold); }

/* =============================================
   TYPOGRAPHY
   ============================================= */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 400;
    line-height: 1.2;
    color: var(--navy);
    margin-bottom: 0.75em;
}

h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); }
h3 { font-size: clamp(1.4rem, 2.5vw, 2rem); }
h4 { font-size: 1.4rem; }
h5 { font-size: 1.2rem; }

p { margin-bottom: 1.25rem; }

.lead {
    font-size: 1.15rem;
    line-height: 1.8;
    color: var(--mid-grey);
}

/* =============================================
   UTILITY CLASSES
   ============================================= */
.text-gold    { color: var(--gold) !important; }
.text-navy    { color: var(--navy) !important; }
.bg-navy      { background-color: var(--navy) !important; }
.bg-off-white { background-color: var(--off-white) !important; }
.bg-light-grey{ background-color: var(--light-grey) !important; }

.section-pad  { padding: 80px 0; }
.section-pad-lg { padding: 120px 0; }

.divider-gold {
    width: 60px;
    height: 2px;
    background: var(--gold);
    margin: 1rem 0 2rem;
}
.divider-gold.center { margin-left: auto; margin-right: auto; }

/* =============================================
   BUTTONS
   ============================================= */
.btn {
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    padding: 14px 36px;
    border-radius: var(--radius);
    transition: all var(--transition);
    border: 1px solid transparent;
    cursor: pointer;
    display: inline-block;
}

.btn-primary, .btn-gold {
    background: var(--gold);
    color: var(--white);
    border-color: var(--gold);
}
.btn-primary:hover, .btn-gold:hover {
    background: var(--gold-dark);
    border-color: var(--gold-dark);
    color: var(--white);
}

.btn-outline-gold {
    background: transparent;
    color: var(--gold);
    border-color: var(--gold);
}
.btn-outline-gold:hover {
    background: var(--gold);
    color: var(--white);
}

.btn-outline-white {
    background: transparent;
    color: var(--white);
    border-color: rgba(255,255,255,0.6);
}
.btn-outline-white:hover {
    background: var(--white);
    color: var(--navy);
}

.btn-navy {
    background: var(--navy);
    color: var(--white);
    border-color: var(--navy);
}
.btn-navy:hover {
    background: var(--navy-light);
    border-color: var(--navy-light);
    color: var(--white);
}

/* =============================================
   NAVBAR
   ============================================= */
#main-nav {
    background: var(--white);
    border-bottom: 1px solid var(--light-grey);
    padding: 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: box-shadow var(--transition);
}
#main-nav.scrolled { box-shadow: var(--shadow-md); }

#main-nav .navbar-brand img {
    max-height: 55px;
    width: auto;
}

#main-nav .navbar-nav > .nav-item > .nav-link {
    font-size: 0.78rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-weight: 500;
    color: var(--navy);
    padding: 24px 14px;
    transition: color var(--transition);
}
#main-nav .navbar-nav > .nav-item > .nav-link:hover,
#main-nav .navbar-nav > .nav-item.active > .nav-link {
    color: var(--gold);
}

/* Dropdown */
.dropdown-menu {
    border: none;
    border-top: 2px solid var(--gold);
    border-radius: 0 0 var(--radius) var(--radius);
    box-shadow: var(--shadow-md);
    padding: 12px 0;
    min-width: 220px;
    animation: dropIn 0.2s ease;
}
@keyframes dropIn {
    from { opacity: 0; transform: translateY(-8px); }
    to   { opacity: 1; transform: translateY(0); }
}

.dropdown-item {
    font-size: 0.82rem;
    letter-spacing: 0.04em;
    padding: 8px 20px;
    color: var(--dark-grey);
    transition: all var(--transition);
}
.dropdown-item:hover, .dropdown-item:focus {
    background: var(--off-white);
    color: var(--gold-dark);
    padding-left: 28px;
}

/* Mega dropdown for large menus */
.mega-menu {
    min-width: 680px;
    display: flex;
    flex-wrap: wrap;
    padding: 20px;
    gap: 0;
}
.mega-menu-col {
    flex: 1;
    min-width: 160px;
    padding: 0 16px;
    border-right: 1px solid var(--light-grey);
}
.mega-menu-col:last-child { border-right: none; }
.mega-menu-col-title {
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 10px;
    padding-bottom: 6px;
    border-bottom: 1px solid var(--light-grey);
}

/* Top contact bar */
.top-bar {
    background: var(--navy);
    color: rgba(255,255,255,0.7);
    font-size: 0.78rem;
    padding: 8px 0;
    letter-spacing: 0.04em;
}
.top-bar a { color: var(--gold-light); }
.top-bar a:hover { color: var(--white); }

/* =============================================
   HERO SECTION
   ============================================= */
.hero {
    position: relative;
    min-height: 85vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: var(--navy);
}

.hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0.35;
    transition: transform 8s ease;
}
.hero:hover .hero-bg { transform: scale(1.03); }

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        120deg,
        rgba(26,32,53,0.9) 0%,
        rgba(26,32,53,0.5) 60%,
        transparent 100%
    );
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 620px;
}

.hero-eyebrow {
    font-size: 0.75rem;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 12px;
}
.hero-eyebrow::before {
    content: '';
    display: block;
    width: 40px;
    height: 1px;
    background: var(--gold);
}

.hero h1 {
    color: var(--white);
    font-weight: 300;
    margin-bottom: 1.5rem;
}
.hero h1 em {
    font-style: italic;
    color: var(--gold-light);
}

.hero p {
    color: rgba(255,255,255,0.75);
    font-size: 1.1rem;
    max-width: 500px;
    margin-bottom: 2.5rem;
}

.hero-stats {
    display: flex;
    gap: 40px;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.15);
}
.hero-stat-number {
    font-family: var(--font-heading);
    font-size: 2rem;
    color: var(--gold);
    line-height: 1;
}
.hero-stat-label {
    font-size: 0.72rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.5);
    margin-top: 4px;
}

/* =============================================
   PROCEDURE CARDS
   ============================================= */
.procedure-card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition);
    height: 100%;
    display: flex;
    flex-direction: column;
}
.procedure-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

.procedure-card-image {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4/3;
}
.procedure-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.procedure-card:hover .procedure-card-image img {
    transform: scale(1.06);
}

.procedure-card-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    background: var(--gold);
    color: var(--white);
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding: 4px 12px;
    border-radius: 2px;
}

.procedure-card-body {
    padding: 28px;
    flex: 1;
    display: flex;
    flex-direction: column;
}
.procedure-card-body h4 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}
.procedure-card-body p {
    color: var(--mid-grey);
    font-size: 0.9rem;
    flex: 1;
}

.procedure-card-meta {
    display: flex;
    gap: 20px;
    padding: 16px 28px;
    background: var(--off-white);
    border-top: 1px solid var(--light-grey);
    font-size: 0.78rem;
    color: var(--mid-grey);
}
.procedure-card-meta span {
    display: flex;
    align-items: center;
    gap: 6px;
}

/* =============================================
   CATEGORY TILES
   ============================================= */
.category-tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; }

@media (max-width: 768px) {
    .category-tiles { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
    .category-tiles { grid-template-columns: 1fr; }
}

.category-tile {
    position: relative;
    aspect-ratio: 1;
    overflow: hidden;
    cursor: pointer;
}
.category-tile img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}
.category-tile:hover img { transform: scale(1.08); }

.category-tile-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(26,32,53,0.8) 0%, transparent 60%);
    display: flex;
    align-items: flex-end;
    padding: 24px;
    transition: background var(--transition);
}
.category-tile:hover .category-tile-overlay {
    background: linear-gradient(to top, rgba(26,32,53,0.9) 0%, rgba(26,32,53,0.3) 60%);
}

.category-tile-title {
    color: var(--white);
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 400;
    margin: 0;
}
.category-tile-arrow {
    color: var(--gold);
    font-size: 1.2rem;
    opacity: 0;
    transform: translateX(-8px);
    transition: all var(--transition);
    margin-left: auto;
}
.category-tile:hover .category-tile-arrow {
    opacity: 1;
    transform: translateX(0);
}

/* =============================================
   BEFORE / AFTER GALLERY
   ============================================= */
.before-after-wrapper {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius);
    cursor: ew-resize;
    user-select: none;
}
.before-after-wrapper img {
    display: block;
    width: 100%;
}
.before-after-after {
    position: absolute;
    inset: 0;
    overflow: hidden;
}
.before-after-after img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
}
.before-after-divider {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--white);
    left: 50%;
    transform: translateX(-50%);
}
.before-after-handle {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 44px;
    height: 44px;
    background: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-md);
    color: var(--navy);
    font-size: 1rem;
}
.before-after-label {
    position: absolute;
    top: 12px;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    background: var(--gold);
    color: var(--white);
    padding: 3px 10px;
    border-radius: 2px;
}
.before-after-label.before { left: 12px; }
.before-after-label.after  { right: 12px; }

/* =============================================
   TESTIMONIALS
   ============================================= */
.testimonial-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 40px;
    box-shadow: var(--shadow-sm);
    position: relative;
}
.testimonial-card::before {
    content: '\201C';
    font-family: var(--font-heading);
    font-size: 6rem;
    color: var(--gold-light);
    position: absolute;
    top: -10px;
    left: 24px;
    line-height: 1;
}

.testimonial-text {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--dark-grey);
    margin-bottom: 1.5rem;
    position: relative;
}
.testimonial-author {
    display: flex;
    align-items: center;
    gap: 14px;
}
.testimonial-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--gold-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-size: 1.2rem;
    color: var(--gold-dark);
    flex-shrink: 0;
}
.testimonial-name {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--navy);
}
.testimonial-procedure {
    font-size: 0.78rem;
    color: var(--mid-grey);
}
.testimonial-stars { color: var(--gold); font-size: 0.9rem; }

/* =============================================
   DOCTOR / ABOUT SECTION
   ============================================= */
.doctor-image-wrap {
    position: relative;
}
.doctor-image-wrap img {
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
}
.doctor-credentials {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background: var(--navy);
    color: var(--white);
    padding: 24px 28px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-md);
    min-width: 200px;
}
.doctor-credentials-title {
    font-size: 0.68rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 10px;
}
.doctor-credentials ul {
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: 0.82rem;
    line-height: 1.9;
    color: rgba(255,255,255,0.8);
}

/* =============================================
   PROCEDURE DETAIL PAGE
   ============================================= */
.procedure-hero {
    background: var(--navy);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}
.procedure-hero::after {
    content: '';
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    width: 40%;
    background: linear-gradient(to left, rgba(201,169,110,0.1), transparent);
    pointer-events: none;
}

.procedure-quick-facts {
    background: var(--off-white);
    border-radius: var(--radius);
    padding: 32px;
    border-left: 3px solid var(--gold);
}
.procedure-quick-facts-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}
.procedure-fact-label {
    font-size: 0.72rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--mid-grey);
    margin-bottom: 4px;
}
.procedure-fact-value {
    font-weight: 600;
    color: var(--navy);
    font-size: 0.95rem;
}

/* FAQ Accordion */
.faq-item {
    border-bottom: 1px solid var(--light-grey);
}
.faq-question {
    padding: 20px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-weight: 500;
    color: var(--navy);
    gap: 16px;
}
.faq-question:hover { color: var(--gold-dark); }
.faq-icon {
    width: 24px;
    height: 24px;
    border: 1px solid var(--light-grey);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    flex-shrink: 0;
    color: var(--gold);
    transition: all var(--transition);
}
.faq-item.open .faq-icon {
    background: var(--gold);
    color: var(--white);
    border-color: var(--gold);
    transform: rotate(45deg);
}
.faq-answer {
    display: none;
    padding-bottom: 20px;
    color: var(--mid-grey);
    line-height: 1.8;
}
.faq-item.open .faq-answer { display: block; }

/* Sidebar Booking Box */
.booking-box {
    background: var(--navy);
    border-radius: var(--radius);
    padding: 32px;
    color: var(--white);
    position: sticky;
    top: 100px;
}
.booking-box h4 {
    color: var(--white);
    margin-bottom: 0.5rem;
}
.booking-box p {
    color: rgba(255,255,255,0.6);
    font-size: 0.9rem;
}
.booking-box .btn { width: 100%; margin-bottom: 12px; }
.booking-box-divider {
    border-color: rgba(255,255,255,0.1);
    margin: 20px 0;
}
.booking-box-contact {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.5);
}
.booking-box-phone {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    color: var(--gold);
    display: block;
    margin: 4px 0;
}

/* =============================================
   GALLERY PAGE
   ============================================= */
.gallery-filter {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 40px;
}
.gallery-filter-btn {
    font-size: 0.75rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 8px 20px;
    border: 1px solid var(--light-grey);
    background: var(--white);
    color: var(--mid-grey);
    border-radius: 100px;
    cursor: pointer;
    transition: all var(--transition);
}
.gallery-filter-btn:hover,
.gallery-filter-btn.active {
    background: var(--navy);
    border-color: var(--navy);
    color: var(--white);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 24px;
}

.gallery-item {
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    cursor: pointer;
    transition: all var(--transition);
}
.gallery-item:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-3px);
}

/* =============================================
   CONTACT PAGE
   ============================================= */
.contact-form-wrap {
    background: var(--white);
    border-radius: var(--radius);
    padding: 48px;
    box-shadow: var(--shadow-md);
}

.form-label {
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--mid-grey);
    margin-bottom: 6px;
}
.form-control {
    border: 1px solid var(--light-grey);
    border-radius: var(--radius);
    padding: 12px 16px;
    font-size: 0.95rem;
    color: var(--text);
    transition: border-color var(--transition), box-shadow var(--transition);
    background: var(--off-white);
}
.form-control:focus {
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(201,169,110,0.15);
    background: var(--white);
    outline: none;
}

.contact-info-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    margin-bottom: 28px;
}
.contact-info-icon {
    width: 44px;
    height: 44px;
    background: var(--gold-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold-dark);
    flex-shrink: 0;
    font-size: 1rem;
}

/* =============================================
   FOOTER
   ============================================= */
#main-footer {
    background: var(--navy);
    color: rgba(255,255,255,0.65);
    padding: 80px 0 0;
}

.footer-logo {
    max-height: 50px;
    margin-bottom: 20px;
    filter: brightness(0) invert(1);
    opacity: 0.85;
}

.footer-tagline {
    font-size: 0.9rem;
    line-height: 1.7;
    color: rgba(255,255,255,0.45);
    margin-bottom: 2rem;
}

.footer-heading {
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 20px;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}
.footer-links li { margin-bottom: 10px; }
.footer-links a {
    color: rgba(255,255,255,0.5);
    font-size: 0.88rem;
    transition: color var(--transition), padding-left var(--transition);
    display: block;
}
.footer-links a:hover {
    color: var(--gold-light);
    padding-left: 6px;
}

.footer-social {
    display: flex;
    gap: 12px;
    margin-top: 20px;
}
.footer-social a {
    width: 36px;
    height: 36px;
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.4);
    font-size: 0.85rem;
    transition: all var(--transition);
}
.footer-social a:hover {
    border-color: var(--gold);
    background: var(--gold);
    color: var(--white);
}

.footer-bottom {
    margin-top: 60px;
    padding: 24px 0;
    border-top: 1px solid rgba(255,255,255,0.08);
    font-size: 0.8rem;
    color: rgba(255,255,255,0.3);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}
.footer-bottom a { color: rgba(255,255,255,0.4); }
.footer-bottom a:hover { color: var(--gold); }

/* Disclaimer */
.footer-disclaimer {
    background: rgba(0,0,0,0.2);
    padding: 20px;
    border-radius: var(--radius);
    font-size: 0.78rem;
    color: rgba(255,255,255,0.3);
    line-height: 1.6;
    margin-top: 40px;
}

/* =============================================
   PAGE BANNER (inner pages)
   ============================================= */
.page-banner {
    background: var(--navy);
    padding: 60px 0;
    position: relative;
    overflow: hidden;
}
.page-banner::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(to right, var(--gold), var(--gold-light), var(--gold));
}
.page-banner h1 { color: var(--white); margin: 0; }
.page-banner .breadcrumb {
    background: none;
    padding: 0;
    margin-bottom: 12px;
}
.page-banner .breadcrumb-item,
.page-banner .breadcrumb-item a { color: rgba(255,255,255,0.45); font-size: 0.82rem; }
.page-banner .breadcrumb-item.active { color: var(--gold); }
.page-banner .breadcrumb-item + .breadcrumb-item::before { color: rgba(255,255,255,0.25); }

/* =============================================
   STATS BAR
   ============================================= */
.stats-bar {
    background: var(--gold);
    padding: 40px 0;
}
.stat-item { text-align: center; }
.stat-number {
    font-family: var(--font-heading);
    font-size: 2.8rem;
    color: var(--white);
    line-height: 1;
    display: block;
}
.stat-label {
    font-size: 0.75rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.75);
    margin-top: 6px;
    display: block;
}

/* =============================================
   LIGHTBOX (modal)
   ============================================= */
.lightbox-overlay {
    position: fixed;
    inset: 0;
    background: rgba(10,12,20,0.95);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}
.lightbox-overlay.active {
    opacity: 1;
    pointer-events: all;
}
.lightbox-close {
    position: absolute;
    top: 24px;
    right: 24px;
    color: var(--white);
    font-size: 1.5rem;
    cursor: pointer;
    width: 44px;
    height: 44px;
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition);
}
.lightbox-close:hover { background: var(--gold); border-color: var(--gold); }
.lightbox-img { max-width: 90vw; max-height: 90vh; border-radius: var(--radius); }

/* =============================================
   ANIMATIONS & SCROLL REVEAL
   ============================================= */
[data-reveal] {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}
[data-reveal].revealed {
    opacity: 1;
    transform: translateY(0);
}
[data-reveal-delay="1"] { transition-delay: 0.1s; }
[data-reveal-delay="2"] { transition-delay: 0.2s; }
[data-reveal-delay="3"] { transition-delay: 0.3s; }
[data-reveal-delay="4"] { transition-delay: 0.4s; }

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 991px) {
    .section-pad    { padding: 60px 0; }
    .section-pad-lg { padding: 80px 0; }

    .hero { min-height: 70vh; }
    .hero-stats { gap: 24px; }

    .doctor-credentials { position: static; margin-top: 24px; }

    #main-nav .navbar-nav > .nav-item > .nav-link { padding: 14px 0; }
    .dropdown-menu { border-top: none; border-left: 3px solid var(--gold); border-radius: 0; }
    .mega-menu { flex-direction: column; min-width: 0; }
    .mega-menu-col { border-right: none; border-bottom: 1px solid var(--light-grey); padding: 12px 0; }
}

@media (max-width: 767px) {
    .category-tiles { grid-template-columns: repeat(2, 1fr); }
    .contact-form-wrap { padding: 28px 20px; }
    .procedure-quick-facts-grid { grid-template-columns: 1fr; }
    .footer-bottom { flex-direction: column; text-align: center; }
    .hero-stats { flex-direction: column; gap: 16px; }
}
