* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', sans-serif;
    line-height: 1.6;
    color: #2c2c2c;
    background: #fff;           /* explicit, so no page can show the browser's dark default */
    overflow-x: hidden;
}

h1, h2, h3, h4 {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 700;
}

/* =====================
   NAVIGATION
   ===================== */
nav {
    background: rgba(114, 5, 56, 0.97);
    padding: 1.2rem 6%;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
    box-shadow: 0 2px 20px rgba(0,0,0,0.3);
    backdrop-filter: blur(10px);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.6rem;
    font-weight: 600;
    color: white;
    letter-spacing: 2px;
    transition: color 0.3s;
    text-decoration: none;
}

.logo img {
    height: 52px;
    width: auto;
    flex-shrink: 0;
    /* the logo is a JPG (no transparency): seat it on a clean white tile so it reads on the burgundy bar */
    background: white;
    border-radius: 10px;
    padding: 3px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2.5rem;
    align-items: center;
}

.nav-links li {
    position: relative;
}

.nav-links a {
    text-decoration: none;
    color: white;
    font-weight: 500;
    font-size: 0.9rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: all 0.3s;
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.nav-links a:after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 1px;
    background: #FB64C3;
    transition: width 0.3s;
}

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

/* Two-line nav label: "Befores" with "& Afters" underneath */
.nav-stack {
    display: block;
    text-align: center;
    line-height: 1.25;
    white-space: nowrap; /* keep "Befores" and "& Afters" each on their own single line */
}

/* Services dropdown */
.nav-dropdown {
    position: relative;
}

.nav-dropdown > a .dropdown-arrow {
    font-size: 0.7rem;
    transition: transform 0.3s;
    display: inline-block;
}

.nav-dropdown:hover > a .dropdown-arrow {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: calc(100% + 1.2rem);
    left: 50%;
    transform: translateX(-50%);
    background: white;
    min-width: 260px;
    box-shadow: 0 15px 50px rgba(0,0,0,0.2);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
    border-top: 3px solid #E60790;
    /* If the list is taller than the window (short laptop windows), scroll the LIST,
       not the page behind it. 100px = nav bar + breathing room. */
    max-height: calc(100vh - 100px);
    max-height: calc(100dvh - 100px);
    overflow-y: auto;
    overscroll-behavior: contain; /* wheel/touch at the ends must not "chain" to the page */
    scrollbar-width: thin;
}

.nav-dropdown:hover .dropdown-menu,
.nav-dropdown:focus-within .dropdown-menu {
    opacity: 1;
    visibility: visible;
}

/* Escape closes the open dropdown (WCAG 1.4.13). js/main.js adds .dismissed and
   removes it once the mouse or keyboard focus leaves the dropdown. */
.nav-dropdown.dismissed .dropdown-menu {
    opacity: 0;
    visibility: hidden;
    transition: none; /* hide at once, so Tab can't land on a fading link */
}

.nav-dropdown.dismissed .dropdown-menu a {
    transition: none; /* the links' own fade would keep them focusable briefly */
}

.nav-dropdown.dismissed > a .dropdown-arrow {
    transform: none;
}

/* Screen-reader-only text: announced by assistive tech, never shown or laid out */
.sr-only {
    position: absolute !important;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.dropdown-menu a {
    display: block !important;
    padding: 0.9rem 1.5rem;
    color: #720538 !important;
    font-size: 0.85rem !important;
    letter-spacing: 1px;
    border-bottom: 1px solid #EADFE4;
    text-transform: uppercase;
    font-weight: 600 !important;
    transition: all 0.2s;
    white-space: nowrap;
}

.dropdown-menu a:after {
    display: none !important;
}

.dropdown-menu a:hover {
    background: #EADFE4;
    color: #E60790 !important;
    padding-left: 2rem;
}

.dropdown-menu a:last-child {
    border-bottom: none;
}

.dropdown-divider {
    height: 1px;
    background: #720538;
    margin: 0.3rem 0;
    opacity: 0.2;
}

.book-now-btn {
    white-space: nowrap;
    background: white;
    color: #720538 !important;
    padding: 0.8rem 1.8rem;
    border-radius: 30px;
    font-weight: 600 !important;
    letter-spacing: 1.5px;
    transition: all 0.4s;
    border: 2px solid white;
}

.book-now-btn:after {
    display: none !important;
}

.book-now-btn:hover {
    background: transparent;
    color: white !important;
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(255, 255, 255, 0.3);
}
/* ── NAV SOCIAL ICONS ── */
.nav-social { display: flex; align-items: center; gap: 0.6rem; }
.nav-social-link { color: white; opacity: 0.8; transition: opacity 0.3s; display: flex; align-items: center; }
.nav-social-link:hover { opacity: 1; }
.nav-social-link::after { display: none !important; }

/* Mobile hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
    /* it is a <button> for keyboard/screen-reader users: drop default button styling */
    background: none;
    border: 0;
    padding: 0;
    color: inherit;
}

.hamburger:focus-visible {
    outline: 2px solid #FB64C3;
    outline-offset: 2px;
}

/* Skip-link target: focusable by script only, no outline box */
main:focus { outline: none; }

.hamburger span {
    display: block;
    width: 25px;
    height: 2px;
    background: white;
    transition: all 0.3s;
}

/* Skip link: hidden until a keyboard user tabs to it */
.skip-link {
    position: absolute;
    left: 1rem;
    top: -100px;
    z-index: 2000;
    background: #720538;
    color: #fff;
    padding: 0.75rem 1.25rem;
    border-radius: 0 0 8px 8px;
    font-weight: 700;
    text-decoration: none;
}
.skip-link:focus {
    top: 0;
    outline: 3px solid #FB64C3;
    outline-offset: 2px;
}

/* =====================
   HERO SECTION
   ===================== */
.hero {
    height: 100vh;
    margin-top: 85px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    overflow: hidden;
    /* Gradient lives on the section itself (not ::before) so accessibility checkers can
       see the background behind the white text. If a photo (.hero-bg) is ever restored,
       move this back onto .hero::before so it tints the photo. */
    background: linear-gradient(135deg, rgba(114, 5, 56, 0.95) 0%, rgba(211, 34, 133, 0.95) 100%);
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: none; /* gradient moved to .hero (see above) */
    z-index: 1;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

/* Watermark logo in hero */
.hero-watermark {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 55%;
    max-width: 600px;
    opacity: 0.28;
    z-index: 2;
    pointer-events: none;
    /* The logo is a JPG, so it has a white background. "multiply" makes pure white
       vanish completely (white x anything = anything) and tints the hero only where the
       logo artwork is, so it reads as a soft, see-through logo in its own colours. It sits
       behind the text and buttons (hero-content is z-index 3). */
    mix-blend-mode: multiply;
}

.hero-content {
    position: relative;
    z-index: 3;
    max-width: 900px;
    padding: 2rem;
    animation: fadeInUp 1s ease-out;
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to   { opacity: 1; transform: translateY(0); }
}

.hero h1 {
    font-size: 5rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: 3px;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 3rem;
    font-weight: 300;
    letter-spacing: 1px;
    opacity: 0.95;
}

.cta-button {
    display: inline-block;
    padding: 1.2rem 3rem;
    background: white;
    color: #720538;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 700;
    transition: all 0.4s;
    font-size: 1rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    border: 2px solid white;
}

.cta-button:hover {
    background: transparent;
    color: white;
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.3);
}

/* Hero: primary + secondary buttons stacked, equal width */
.hero-buttons {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    width: 100%;
}

.hero-buttons .cta-button {
    width: 100%;
    max-width: 320px;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
    text-align: center;
}

/* Secondary (outline) variant: sits below the solid Book Appointment button */
.cta-button-outline {
    background: transparent;
    color: white;
}

.cta-button-outline:hover {
    background: white;
    color: #720538;
}

/* =====================
   SERVICES SECTION (homepage cards)
   ===================== */
.services {
    padding: 8rem 6%;
    background: #fafafa;
}

.section-header {
    text-align: center;
    margin-bottom: 5rem;
}

.section-title {
    font-size: 4rem;
    color: #720538;
    margin-bottom: 1rem;
    font-weight: 700;
    letter-spacing: 2px;
}

.section-subtitle {
    font-size: 1.1rem;
    color: #000000;
    font-weight: 400;
    letter-spacing: 1px;
}

/* =====================
   BEFORE & AFTER
   ===================== */
.before-after {
    padding: 8rem 6%;
    background: #fafafa;
}

/* =====================
   TESTIMONIALS
   ===================== */
.testimonials {
    padding: 8rem 6%;
    background: linear-gradient(135deg, #EADFE4 0%, #fafafa 100%);
    position: relative;
}

/* =====================
   INSTAGRAM
   ===================== */
.instagram {
    padding: 8rem 6%;
    background: white;
}

.instagram-link {
    text-align: center;
    margin-top: 3rem;
}

.instagram-button {
    display: inline-block;
    padding: 1.2rem 3rem;
    background: linear-gradient(135deg, #E60790 0%, #FB64C3 100%);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 700;
    transition: all 0.4s;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-size: 0.95rem;
}

.instagram-button:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(230, 7, 144, 0.4);
}

/* =====================
   FOOTER
   ===================== */
footer {
    background: #1a1a1a;
    color: white;
    padding: 5rem 6% 3rem;
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 4rem;
    margin-bottom: 3rem;
}

.footer-section h2,
.footer-section h4 {
    color: #FB64C3;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-family: 'Montserrat', sans-serif;
}

.footer-section p,
.footer-section a {
    color: #ccc;
    text-decoration: none;
    margin-bottom: 0.8rem;
    display: block;
    transition: color 0.3s;
    font-weight: 300;
    font-size: 0.95rem;
}

/* Fix email inline display */
.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    margin-bottom: 0.8rem;
    color: #ccc;
    font-weight: 300;
    font-size: 0.95rem;
}

.footer-contact-item .footer-icon {
    flex-shrink: 0;
    line-height: 1.4;
}

.footer-contact-item a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s;
    display: inline;
    margin-bottom: 0;
    word-break: break-all;
}

.footer-contact-item a:hover {
    color: #FB64C3;
}

.footer-section a:hover {
    color: #FB64C3;
}

.footer-bottom {
    text-align: center;
    padding-top: 3rem;
    border-top: 1px solid #333;
    color: #999;
    font-weight: 300;
    font-size: 0.9rem;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background: #2c2c2c;
    border-radius: 50%;
    transition: all 0.3s;
    font-size: 1.2rem;
    margin-bottom: 0;
}

.social-links a:hover {
    background: linear-gradient(135deg, #E60790 0%, #FB64C3 100%);
    transform: translateY(-3px);
}

.footer-legal { margin-top: 0.6rem; }

/* Long email addresses in the legal pages' text may break onto a new line
   so narrow screens / 400% zoom never scroll sideways (WCAG 1.4.10). */
.legal a[href^="mailto:"] { overflow-wrap: anywhere; }
.footer-legal a { color: inherit; text-decoration: underline; }
.footer-legal a:hover { color: #FB64C3; }

/* =====================
   SHARED PAGE STYLES
   ===================== */
.page-hero {
    height: 50vh;
    margin-top: 85px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    background: linear-gradient(135deg, rgba(114, 5, 56, 0.95) 0%, rgba(211, 34, 133, 0.95) 100%)  /* deeper pink end keeps white text at 4.5:1+ */;
}

.page-hero h1 {
    font-size: 4rem;
    font-weight: 700;
    letter-spacing: 3px;
}

.page-hero p {
    font-size: 1.2rem;
    font-weight: 300;
    opacity: 0.95;
    margin-top: 0.8rem;
}

/* =====================
   MOBILE RESPONSIVE
   ===================== */
@media (max-width: 1100px) {
    .hero h1 { font-size: 3.5rem; }

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

/* Laptop widths: tighten the desktop nav so the logo, six links and the
   one-line "Book Now" button fit on a single row (no 120-200px tall bar). */
@media (min-width: 1025px) and (max-width: 1799px) {
    nav { padding-left: 4%; padding-right: 4%; }
    .logo { font-size: 1.15rem; letter-spacing: 1.5px; line-height: 1.3; gap: 0.7rem; }
    .logo img { height: 46px; }
    .nav-links { gap: 1.4rem; }
    .nav-links a { font-size: 0.82rem; letter-spacing: 0.8px; }
    .book-now-btn { padding: 0.7rem 1.4rem; }
}

/* Hamburger menu: the full desktop nav (long logo + 6 links + a one-line
   "Book Now") needs ~1100px, so below 1025px it collapses into the menu. */
@media (max-width: 1024px) {
    .logo img { height: 46px; }
    .hamburger { display: flex; padding: 0.8rem 0.6rem; margin-right: -0.6rem; }
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgba(114, 5, 56, 0.98);
        flex-direction: column;
        padding: 2rem;
        gap: 1.5rem;
        align-items: flex-start;
    }
    .nav-links.open { display: flex; }
    /* An open menu (esp. with Services expanded) is taller than a phone screen: confine it
       to the space below the nav bar and let it scroll on its own. */
    .nav-links {
        max-height: calc(100vh - 84px);
        max-height: calc(100dvh - 84px); /* dynamic units follow mobile browser toolbars */
        overflow-y: auto;
        overscroll-behavior: contain;
        -webkit-overflow-scrolling: touch;
    }
    .nav-links > li { flex-shrink: 0; }
    .nav-stack { text-align: left; }
    .dropdown-menu {
        /* inside the scrolling menu the submenu must NOT be its own scroll area */
        max-height: none;
        overflow: visible;
        position: static;
        transform: none;
        box-shadow: none;
        border-top: none;
        background: rgba(255,255,255,0.1);
        opacity: 1;
        visibility: visible;
        display: none;
        min-width: 100%;
    }
    .dropdown-menu.open { display: block; }
    .dropdown-menu a { color: white !important; border-color: rgba(255,255,255,0.2); }
}

@media (max-width: 768px) {
    .hero h1 { font-size: 2.5rem; }
    .section-title { font-size: 2.5rem; }
    .footer-content { grid-template-columns: 1fr; }
    
}

/* =====================
   REVIEWS CAROUSEL
   ===================== */
.reviews-carousel-outer {
    position: relative;
    max-width: 900px;
    margin: 3rem auto 0;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.reviews-track-wrap {
    flex: 1;
    overflow: hidden;
}

.reviews-track {
    display: flex;
    transition: transform 0.5s cubic-bezier(0.4,0,0.2,1);
    will-change: transform;
}

.review-card {
    min-width: 100%;
    background: white;
    padding: 3.5rem 3rem;
    box-shadow: 0 10px 50px rgba(0,0,0,0.08);
    text-align: center;
    position: relative;
    box-sizing: border-box;
}

.review-card::before {
    content: '\201C';
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 7rem;
    color: #FB64C3;
    font-family: 'Cormorant Garamond', serif;
    opacity: 0.25;
    line-height: 1;
    pointer-events: none;
}

.review-stars {
    color: #CC0680; /* darker pink: meets 4.5:1 contrast on white */
    font-size: 1.4rem;
    letter-spacing: 4px;
    margin-bottom: 1.5rem;
}

.review-text {
    font-size: 1.1rem;
    color: #000;
    font-style: italic;
    line-height: 1.9;
    margin-bottom: 2rem;
    font-weight: 300;
}

.review-author {
    font-weight: 700;
    color: #720538;
    font-size: 1.05rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 0.3rem;
}

.review-date {
    font-size: 0.85rem;
    color: #9C5079;
    font-weight: 400;
    letter-spacing: 1px;
}

.reviews-arrow {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(114,5,56,0.85);
    border: 2px solid rgba(255,255,255,0.4);
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.reviews-arrow:hover { background: #E60790; }

.reviews-dots {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1.5rem;
    flex-wrap: wrap;
}

.reviews-pause-wrap { text-align: center; margin-top: 0.9rem; }
.reviews-pause {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.4rem 1rem;
    background: transparent;
    border: 1.5px solid #9C5079;
    border-radius: 999px;
    color: #720538;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    cursor: pointer;
    transition: background 0.3s, color 0.3s;
}
.reviews-pause:hover { background: #720538; color: #fff; }
.reviews-pause:focus-visible { outline: 2px solid #E60790; outline-offset: 2px; }
.reviews-pause-icon { font-size: 0.7rem; line-height: 1; }

.reviews-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #EADFE4;
    border: none;
    cursor: pointer;
    transition: all 0.3s;
    padding: 0;
}

.reviews-dot.active {
    background: #E60790;
    transform: scale(1.4);
}

/* =====================
   SOCIAL SKELETONS
   ===================== */
.social-skeletons-wrap {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.social-skeleton-block {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.social-skeleton-header {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.4rem;
    font-weight: 600;
    color: #720538;
    letter-spacing: 1px;
    padding-bottom: 1rem;
    border-bottom: 2px solid #EADFE4;
}

.social-skeleton-header svg {
    color: #E60790;
    flex-shrink: 0;
}


@keyframes shimmer {
    0%, 100% { opacity: 0.6; }
    50%       { opacity: 1; }
}

@media (max-width: 900px) {
    .social-skeletons-wrap { grid-template-columns: 1fr; gap: 3rem; }
    .reviews-carousel-outer { gap: 0.5rem; }
    .review-card { padding: 2.5rem 1.5rem; }
    .reviews-arrow { width: 36px; height: 36px; font-size: 1rem; }
}

/* =====================
   LIVE REVIEWS & SOCIAL FEEDS
   (filled in by js/reviews.js and js/social.js)
   ===================== */

/* Homepage: "5.0 ★ · 209 Google reviews" line and the small credit under the carousel */
.reviews-summary {
    text-align: center;
    margin-top: 0.75rem;
    color: #720538;
    font-weight: 600;
    font-size: 1rem;
    letter-spacing: 1px;
}

.reviews-credit {
    text-align: center;
    margin-top: 0.75rem;
    font-size: 0.75rem;
    color: #9C5079;
    letter-spacing: 0.5px;
}

.reviews-credit a { color: inherit; }

/* Homepage carousel: each slide (.review-card) holds 1-3 reviews (.review-item),
   grouped by the script in index.html so every slide is similarly full. */
.review-card {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.review-item + .review-item {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid #EADFE4;
}

.review-item .review-stars { margin-bottom: 0.9rem; }
.review-item .review-text { margin-bottom: 1rem; }

/* Homepage social section: headers are now links to the profiles */
a.social-skeleton-header { text-decoration: none; }
a.social-skeleton-header:hover span { color: #E60790; }

/* Keep the two "Follow" buttons level with each other */
.social-skeleton-block .instagram-link { margin-top: auto; padding-top: 1.5rem; }

/* Instagram photo grid */
.ig-feed {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
}

.ig-tile {
    position: relative;
    display: block;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    border-radius: 6px;
    background: #EADFE4;
}

.ig-tile img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.ig-tile:hover img { transform: scale(1.06); }

.ig-tile-skeleton { animation: shimmer 1.8s ease-in-out infinite; }

.ig-badge {
    position: absolute;
    top: 8px;
    right: 9px;
    color: white;
    font-size: 0.9rem;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
    pointer-events: none;
}

.ig-caption {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: flex-end;
    padding: 0.75rem;
    color: white;
    font-size: 0.8rem;
    line-height: 1.4;
    background: linear-gradient(to top, rgba(114, 5, 56, 0.9) 0%, rgba(114, 5, 56, 0) 75%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.ig-tile:hover .ig-caption,
.ig-tile:focus-visible .ig-caption { opacity: 1; }

/* Phones/tablets have no hover, so captions stay hidden there */
@media (hover: none) {
    .ig-caption { display: none; }
}

/* Facebook timeline box (Facebook's own plugin, 180-500px wide) */
.fb-feed {
    display: flex;
    justify-content: center;
    width: 100%;
    min-height: 500px;
}

.fb-feed.is-loading {
    background: #fafafa;
    border: 1px solid #EADFE4;
    animation: shimmer 1.8s ease-in-out infinite;
}

.fb-feed iframe {
    border: none;
    overflow: hidden;
    max-width: 100%;
}

/* Floating review card (every page except those with <body data-no-review-float>) */
.review-float {
    position: fixed;
    left: 20px;
    bottom: 20px;
    z-index: 900;              /* under the nav (1000) and its menus */
    width: 320px;
    max-width: calc(100vw - 32px);
    background: white;
    border-left: 4px solid #E60790;
    border-radius: 12px;
    box-shadow: 0 12px 40px rgba(114, 5, 56, 0.18);
    opacity: 0;
    transform: translateY(20px);
    pointer-events: none;
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.review-float.is-visible {
    opacity: 1;
    transform: none;
    pointer-events: auto;
}

.review-float-body {
    display: block;
    padding: 0.9rem 2.4rem 0.9rem 1rem;
    color: inherit;
    text-decoration: none;
    transition: opacity 0.35s ease;
}

.review-float.is-switching .review-float-body { opacity: 0; }

.review-float-stars {
    color: #CC0680;
    font-size: 0.85rem;
    letter-spacing: 2px;
    margin-bottom: 0.3rem;
}

.review-float-text {
    margin: 0 0 0.4rem;
    font-size: 0.88rem;
    font-style: italic;
    line-height: 1.5;
    color: #222;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.review-float-meta {
    margin: 0;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #720538;
}

.review-float-close {
    position: absolute;
    top: 6px;
    right: 6px;
    width: 28px;
    height: 28px;
    padding: 0;
    border: none;
    border-radius: 50%;
    background: transparent;
    color: #AC658B;
    font-size: 1.25rem;
    line-height: 1;
    cursor: pointer;
}

.review-float-close:hover { background: #EADFE4; color: #720538; }

@media (max-width: 768px) {
    .ig-feed { gap: 0.5rem; }
    .fb-feed { min-height: 480px; }

    .review-float {
        left: 12px;
        right: 12px;
        bottom: 12px;
        width: auto;
        max-width: none;
    }
    .review-float-body { padding: 0.7rem 2.4rem 0.7rem 0.9rem; }
    .review-float-text { -webkit-line-clamp: 2; font-size: 0.85rem; }
}

@media (prefers-reduced-motion: reduce) {
    .review-float,
    .review-float-body { transition: none; }
}

/* =====================================================================
   MOBILE COMPACTING (<= 768px)
   Reduces excess vertical scrolling on phones. Desktop/tablet (>768px)
   is untouched. This block is intentionally LAST in the file: some of
   the base rules it refines (e.g. .review-card, .reviews-arrow) are
   defined above, so these must come after them to take effect.
   ===================================================================== */
@media (max-width: 768px) {

    /* ---- Fixed nav: logo was wrapping to 3-4 lines (120-161px tall).
       Fixed 64px bar; --nav-h is reused so hero offsets always match. ---- */
    :root { --nav-h: 64px; }
    .nav-links { max-height: calc(100vh - var(--nav-h)); max-height: calc(100dvh - var(--nav-h)); }
    nav { padding: 0 5%; height: var(--nav-h); }
    .nav-container { height: 100%; }
    .logo { font-size: clamp(0.78rem, 3.6vw, 0.95rem); letter-spacing: 1px; line-height: 1.2; gap: 0.6rem; }
    .logo img { height: 40px; border-radius: 8px; padding: 2px; }

    /* ---- Homepage hero: was a full 100vh screen ---- */
    .hero { height: auto; min-height: 60vh; margin-top: var(--nav-h); padding: 3rem 0; }
    .hero h1 { margin-bottom: 1rem; letter-spacing: 1px; }
    .hero p { font-size: 1.05rem; line-height: 1.6; margin-bottom: 2rem; }

    /* ---- Homepage section rhythm: 8rem (128px) top/bottom -> 3.5rem ---- */
    
    .testimonials,
    .instagram { padding: 3.5rem 6%; }
    .section-header { margin-bottom: 2.25rem; }

    /* ---- Homepage reviews: the side arrows squeezed text to ~207px wide,
       making the (tallest-card-sized) carousel very tall. Arrows move
       beneath the card so the text uses the full width. DOM/JS unchanged. ---- */
    .testimonials { padding-left: 4%; padding-right: 4%; }
    .reviews-carousel-outer { flex-wrap: wrap; justify-content: center; gap: 0.75rem 1rem; margin-top: 2rem; }
    .reviews-track-wrap { order: -1; flex: 0 0 100%; }
    .reviews-arrow { width: 40px; height: 40px; }
    .review-card { padding: 2rem 1.25rem 1.75rem; }
    .review-stars { font-size: 1.15rem; margin-bottom: 1rem; }
    .review-text { font-size: 1rem; line-height: 1.7; margin-bottom: 1.25rem; }
    .review-author { font-size: 0.95rem; }
    .reviews-dots { gap: 0.4rem; margin-top: 1rem; }

    /* ---- Homepage social block: fixes a horizontal overflow (the long
       handle forced the grid column wide) ---- */
    .social-skeletons-wrap { gap: 2.5rem; }
    .social-skeleton-block { min-width: 0; gap: 1rem; }
    .social-skeleton-header { font-size: 1.15rem; padding-bottom: 0.75rem; overflow-wrap: anywhere; }
    
    .instagram-link { margin-top: 1.5rem; }
    .instagram-button { padding: 1rem 2rem; font-size: 0.85rem; }

    /* ---- Footer (identical on all pages) ---- */
    footer { padding: 3rem 6% 2rem; }
    .footer-content { gap: 2rem; margin-bottom: 2rem; }
    .footer-section h2,
    .footer-section h4 { margin-bottom: 1rem; }
    .footer-section p,
    .footer-section > a { margin-bottom: 0.6rem; }
    .footer-bottom { padding-top: 1.5rem; }

    /* ---- Inner-page hero (shared class, but every page also repeats its own
       desktop .page-hero rules inline, which load after this file; the
       leading "body" raises specificity just enough to win on mobile). ---- */
    body .page-hero { height: auto; min-height: 0; margin-top: var(--nav-h); padding: 2.4rem 6%; }
    body .page-hero > div { max-width: 100%; }
    body .page-hero h1 { font-size: clamp(2rem, 9.5vw, 2.6rem); letter-spacing: 1px; line-height: 1.15; margin-bottom: 0; overflow-wrap: anywhere; }
    body .page-hero p { font-size: 1rem; margin-top: 0.6rem; }
}

/* Very narrow phones: keep "Book Appointment" on one line in the hero */
@media (max-width: 360px) {
    .hero-buttons .cta-button { font-size: 0.9rem; letter-spacing: 1px; }
}