/* =========================================
   Distinct Dental (demo-1) — Monochrome Dark
   Mobile-first, modern motion, black/white.
   ========================================= */

:root {
    --bg: #0b0c0f;
    --bg-2: #07070a;
    --surface: #101216;
    --surface-2: #141723;
    --text: #f5f5f7;
    --muted: rgba(245, 245, 247, 0.7);
    --border: rgba(255, 255, 255, 0.12);
    --border-strong: rgba(255, 255, 255, 0.22);

    --shadow: 0 22px 70px rgba(0, 0, 0, 0.65);
    --shadow-soft: 0 12px 40px rgba(0, 0, 0, 0.45);

    --radius: 18px;
    --radius-lg: 28px;

    --container: 1120px;
    --gutter: clamp(18px, 4vw, 44px);
    --section-y: clamp(64px, 8vw, 110px);

    --font-body: "Manrope", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
    --font-heading: "Sora", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;

    --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
    --dur-fast: 140ms;
    --dur: 240ms;
    --dur-slow: 760ms;
}

/* =========================================
   RESET & BASE
   ========================================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    color-scheme: dark;
}

body {
    font-family: var(--font-body);
    background: radial-gradient(1200px 700px at 15% 10%, rgba(255, 255, 255, 0.08), transparent 55%),
        radial-gradient(900px 600px at 85% 0%, rgba(255, 255, 255, 0.06), transparent 50%),
        linear-gradient(180deg, var(--bg), var(--bg-2));
    color: var(--text);
    line-height: 1.55;
    overflow-x: hidden;
    width: 100%;
    min-height: 100vh;
}

/* Bypassable copy-friction layer */
body.protect {
    -webkit-user-select: none;
    user-select: none;
}

body.protect :where(input, textarea, select, option, button, [contenteditable="true"]) {
    -webkit-user-select: text;
    user-select: text;
}

body.protect :where(input, textarea) {
    cursor: text;
}

/* Custom right-click panel */
.dd-context {
    position: fixed;
    left: 0;
    top: 0;
    z-index: 99999;
    opacity: 0;
    pointer-events: none;
    transform: translate3d(0, 6px, 0) scale(0.98);
    transition: opacity 120ms var(--ease), transform 120ms var(--ease);
}

.dd-context.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translate3d(0, 0, 0) scale(1);
}

.dd-context__panel {
    width: min(280px, calc(100vw - 24px));
    border-radius: 16px;
    padding: 12px;
    background: rgba(16, 18, 22, 0.92);
    border: 1px solid rgba(255, 255, 255, 0.14);
    backdrop-filter: blur(18px);
    box-shadow: 0 26px 80px rgba(0, 0, 0, 0.65);
}

.dd-context__title {
    font-family: var(--font-heading);
    font-weight: 800;
    letter-spacing: -0.01em;
    color: rgba(255, 255, 255, 0.92);
    margin-bottom: 8px;
}

.dd-context__link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 10px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: rgba(255, 255, 255, 0.92);
    text-decoration: none;
    transition: background var(--dur) var(--ease), transform var(--dur) var(--ease), border-color var(--dur) var(--ease);
}

.dd-context__link:hover {
    background: rgba(255, 255, 255, 0.10);
    border-color: rgba(255, 255, 255, 0.18);
    transform: translateY(-1px);
}

.dd-context__arrow {
    opacity: 0.9;
}

body::before {
    content: "";
    position: fixed;
    inset: -20%;
    pointer-events: none;
    z-index: -1;
    opacity: 0.65;
    background:
        radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.06), transparent 40%),
        radial-gradient(circle at 80% 10%, rgba(255, 255, 255, 0.05), transparent 35%),
        repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.045) 0 1px, transparent 1px 9px);
    filter: blur(0.2px);
}

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

ul {
    list-style: none;
}

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

:where(a, button, input, select, textarea):focus-visible {
    outline: 2px solid rgba(255, 255, 255, 0.9);
    outline-offset: 3px;
    border-radius: 10px;
}

.container {
    width: min(var(--container), calc(100% - (var(--gutter) * 2)));
    margin-inline: auto;
}

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

h1, h2, h3, h4 {
    font-family: var(--font-heading);
    letter-spacing: -0.02em;
}

/* =========================================
   BUTTONS & LINKS
   ========================================= */
.btn-primary,
.btn-secondary {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    padding: 14px 18px;
    border-radius: 999px;
    font-size: 0.92rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease), background var(--dur) var(--ease),
        border-color var(--dur) var(--ease), color var(--dur) var(--ease);
    user-select: none;
    -webkit-tap-highlight-color: transparent;
}

.btn-primary {
    background: #fff;
    color: #000;
    border: 1px solid rgba(255, 255, 255, 0.18);
    box-shadow: 0 14px 40px rgba(255, 255, 255, 0.10);
    position: relative;
    overflow: hidden;
}

.btn-primary::after {
    content: "";
    position: absolute;
    inset: -2px;
    background: linear-gradient(110deg, transparent 0%, rgba(0, 0, 0, 0.12) 18%, rgba(0, 0, 0, 0.02) 32%, transparent 54%);
    transform: translateX(-120%);
    transition: transform 700ms var(--ease);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 50px rgba(255, 255, 255, 0.14);
}

.btn-primary:hover::after {
    transform: translateX(120%);
}

.btn-primary:active {
    transform: translateY(0);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-strong);
    color: var(--text);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.10);
    transform: translateY(-2px);
    box-shadow: var(--shadow-soft);
}

.btn-text {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: rgba(255, 255, 255, 0.92);
    font-weight: 650;
    letter-spacing: 0.02em;
    transition: gap var(--dur) var(--ease), opacity var(--dur) var(--ease);
    opacity: 0.85;
}

.btn-text:hover {
    gap: 14px;
    opacity: 1;
}

/* Legacy class used in markup; now solid monochrome accent */
.text-gold {
    color: rgba(255, 255, 255, 0.92);
}

/* Monochrome "wipe" accent for hero headlines */
.text-wipe {
    position: relative;
    display: inline-block;
    color: transparent;
    -webkit-text-stroke: 1px rgba(255, 255, 255, 0.45);
    text-stroke: 1px rgba(255, 255, 255, 0.45);
    letter-spacing: -0.03em;
}

.text-wipe::before {
    content: attr(data-text);
    position: absolute;
    inset: 0;
    color: rgba(255, 255, 255, 0.94);
    -webkit-text-stroke: 0 transparent;
    text-stroke: 0 transparent;
    clip-path: inset(0 100% 0 0);
    filter: drop-shadow(0 18px 28px rgba(0, 0, 0, 0.45));
    animation: textWipe 1100ms var(--ease) 260ms both;
}

@keyframes textWipe {
    0% { clip-path: inset(0 100% 0 0); }
    100% { clip-path: inset(0 0% 0 0); }
}

/* =========================================
   NAVIGATION (Mobile-first)
   ========================================= */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(11, 12, 15, 0.55);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(16px);
    transition: background var(--dur) var(--ease), border-color var(--dur) var(--ease);
}

.navbar.scrolled {
    background: rgba(11, 12, 15, 0.82);
    border-color: rgba(255, 255, 255, 0.10);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 64px;
}

.logo img {
    height: 42px;
    width: auto;
}

.mobile-menu-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.04);
    color: var(--text);
    font-size: 1.35rem;
    cursor: pointer;
    transition: transform var(--dur) var(--ease), background var(--dur) var(--ease), border-color var(--dur) var(--ease);
    -webkit-tap-highlight-color: transparent;
}

.mobile-menu-btn:active {
    transform: scale(0.98);
}

.nav-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--dur) var(--ease);
    z-index: 999;
}

.nav-links {
    position: fixed;
    top: 0;
    right: 0;
    width: min(86vw, 360px);
    height: 100dvh;
    padding: 88px 18px 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    background: rgba(16, 18, 22, 0.92);
    border-left: 1px solid rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(18px);
    transform: translate3d(105%, 0, 0);
    transition: transform var(--dur-slow) var(--ease);
    z-index: 1000;
}

.nav-links li a {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 12px 12px;
    border-radius: 14px;
    font-size: 1.06rem;
    font-family: var(--font-heading);
    font-weight: 650;
    letter-spacing: 0.01em;
    transition: background var(--dur) var(--ease), transform var(--dur) var(--ease), opacity var(--dur) var(--ease);
}

.nav-links li a:not(.btn-primary):hover {
    background: rgba(255, 255, 255, 0.06);
}

.nav-links li a.btn-primary {
    margin-top: 6px;
    width: 100%;
}

.nav-links.active {
    transform: translate3d(0, 0, 0);
}

body.menu-open {
    overflow: hidden;
}

body.menu-open .nav-backdrop {
    opacity: 1;
    pointer-events: auto;
}

/* Desktop navigation */
@media (min-width: 900px) {
    .nav-backdrop { display: none; }
    .mobile-menu-btn { display: none; }

    .nav-container { height: 72px; }
    .logo img { height: 48px; }

    .nav-links {
        position: static;
        height: auto;
        width: auto;
        padding: 0;
        transform: none;
        background: transparent;
        border: 0;
        backdrop-filter: none;
        flex-direction: row;
        align-items: center;
        gap: 10px;
    }

    .nav-links li a {
        font-size: 0.92rem;
        letter-spacing: 0.1em;
        text-transform: uppercase;
        padding: 10px 12px;
        opacity: 0.86;
    }

    .nav-links li a:not(.btn-primary):hover {
        background: rgba(255, 255, 255, 0.04);
        opacity: 1;
    }

    .nav-links li a.btn-primary {
        width: auto;
        margin-top: 0;
        padding: 12px 18px;
    }
}

/* =========================================
   HERO
   ========================================= */
.hero {
    position: relative;
    min-height: 100svh;
    padding-top: 64px;
    display: grid;
    align-items: end;
    overflow: hidden;
}

.hero-bg-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -2;
    filter: contrast(1.05) saturate(0.75) brightness(0.7);
    transform: scale(1.08);
    animation: heroDrift 22s var(--ease) infinite alternate;
}

@keyframes heroDrift {
    from { transform: scale(1.10) translate3d(-1.2%, -0.8%, 0); }
    to { transform: scale(1.03) translate3d(1.2%, 0.8%, 0); }
}

.hero-bg-overlay {
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        linear-gradient(180deg, rgba(11, 12, 15, 0.65) 0%, rgba(11, 12, 15, 0.55) 35%, rgba(11, 12, 15, 0.92) 100%),
        radial-gradient(800px 420px at 50% 35%, rgba(255, 255, 255, 0.10), transparent 62%);
}

.hero-content {
    padding: 86px 0 52px;
    text-align: center;
    max-width: 62ch;
    margin-inline: auto;
}

.hero-title {
    font-size: clamp(2.6rem, 8.2vw, 4.9rem);
    line-height: 0.98;
    margin-bottom: 18px;
    letter-spacing: -0.045em;
    text-wrap: balance;
}

.hero-title-line {
    display: block;
    overflow: hidden;
}

.hero-title-line:first-child {
    color: rgba(255, 255, 255, 0.92);
    opacity: 0;
    transform: translate3d(0, 18px, 0);
    filter: blur(10px);
    animation: titleLineIn 900ms var(--ease) 70ms both;
}

.hero-title-line:last-child {
    margin-top: 6px;
    opacity: 0;
    transform: translate3d(0, 14px, 0);
    filter: blur(10px);
    animation: titleLineIn 900ms var(--ease) 180ms both;
}

@keyframes titleLineIn {
    0% { opacity: 0; transform: translate3d(0, 18px, 0); filter: blur(10px); }
    100% { opacity: 1; transform: translate3d(0, 0, 0); filter: blur(0px); }
}

.hero-subtitle {
    font-size: clamp(1.02rem, 2.6vw, 1.2rem);
    color: var(--muted);
    max-width: 44ch;
    margin: 0 auto 26px;
    opacity: 0;
    transform: translate3d(0, 14px, 0);
    animation: titleLineIn 900ms var(--ease) 320ms both;
}

.hero-btns {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: min(420px, 100%);
    margin-inline: auto;
}

.hero-btns .btn-primary,
.hero-btns .btn-secondary {
    width: 100%;
}

@media (prefers-reduced-motion: no-preference) {
    .hero-bg-overlay::after {
        content: "";
        position: absolute;
        inset: -40%;
        background: radial-gradient(circle at 50% 40%, rgba(255, 255, 255, 0.10), transparent 55%);
        animation: haloFloat 7s var(--ease) infinite alternate;
        pointer-events: none;
        opacity: 0.55;
    }

    .hero-btns {
        opacity: 0;
        transform: translate3d(0, 12px, 0);
        animation: titleLineIn 900ms var(--ease) 460ms both;
    }
}

@keyframes haloFloat {
    from { transform: translate3d(-1.2%, -0.8%, 0) scale(1.0); }
    to { transform: translate3d(1.2%, 0.8%, 0) scale(1.04); }
}

@media (min-width: 900px) {
    .hero { padding-top: 72px; align-items: center; }
    .hero-content { text-align: left; padding: 0; max-width: 58ch; margin-inline: 0; align-self: center; }
    .hero-subtitle { margin: 0 0 34px; }
    .hero-btns { flex-direction: row; width: auto; margin-inline: 0; }
    .hero-btns .btn-primary, .hero-btns .btn-secondary { width: auto; padding-inline: 22px; }
}

@media (min-width: 1100px) {
    .hero-content {
        padding-left: clamp(18px, 4vw, 96px);
    }
}

/* =========================================
   SECTIONS
   ========================================= */
.section {
    padding: var(--section-y) 0;
}

.section-header {
    margin-bottom: 28px;
}

.section-subtitle {
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
    letter-spacing: 0.18em;
    font-size: 0.82rem;
    margin-bottom: 10px;
}

.section-title {
    font-size: clamp(1.8rem, 5.6vw, 3.1rem);
    line-height: 1.1;
    margin-bottom: 14px;
}

/* =========================================
   ABOUT
   ========================================= */
.about-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 26px;
    align-items: center;
}

.about-image {
    position: relative;
    isolation: isolate;
}

.about-image img {
    width: 100%;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    border: 1px solid rgba(255, 255, 255, 0.10);
    background: rgba(255, 255, 255, 0.03);
}

.exp-badge {
    position: absolute;
    bottom: 16px;
    right: 16px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.18);
    color: var(--text);
    padding: 14px 14px;
    border-radius: 16px;
    text-align: left;
    backdrop-filter: blur(14px);
}

.badg-num {
    display: block;
    font-size: 1.7rem;
    font-weight: 800;
    line-height: 1;
    letter-spacing: -0.02em;
}

.badg-text {
    display: block;
    margin-top: 4px;
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.75);
    text-transform: uppercase;
    letter-spacing: 0.12em;
}

.about-text p {
    margin: 14px 0 18px;
    color: rgba(255, 255, 255, 0.78);
    max-width: 65ch;
}

.feature-list {
    display: grid;
    gap: 12px;
    margin: 16px 0 22px;
}

.feature-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px 12px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.feature-list i {
    color: rgba(255, 255, 255, 0.92);
    font-size: 1.15rem;
    margin-top: 1px;
}

@media (min-width: 900px) {
    .about-grid { grid-template-columns: 1.05fr 0.95fr; gap: 56px; }
    .exp-badge { bottom: -18px; right: -18px; }
}

/* =========================================
   SERVICES
   ========================================= */
.services-section {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0.00));
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.services-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
}

.service-card {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.03));
    border: 1px solid rgba(255, 255, 255, 0.10);
    border-radius: var(--radius);
    padding: 20px 18px;
    box-shadow: 0 16px 50px rgba(0, 0, 0, 0.35);
    transition: transform var(--dur) var(--ease), border-color var(--dur) var(--ease), background var(--dur) var(--ease),
        box-shadow var(--dur) var(--ease);
}

.service-card:hover {
    transform: translateY(-6px);
    border-color: rgba(255, 255, 255, 0.22);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.03));
    box-shadow: var(--shadow);
}

.icon-box {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.10);
    margin-bottom: 14px;
}

.icon-box i,
.icon-box svg {
    color: rgba(255, 255, 255, 0.92);
    transition: transform var(--dur) var(--ease);
}

.icon-box i {
    font-size: 1.45rem;
}

.icon-box svg {
    width: 24px;
    height: 24px;
}

.service-card:hover .icon-box i,
.service-card:hover .icon-box svg {
    transform: rotate(-6deg) scale(1.06);
}

.service-card h3 {
    font-size: 1.22rem;
    margin-bottom: 10px;
}

.service-card p {
    color: rgba(255, 255, 255, 0.72);
}

.read-more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 14px;
    font-size: 0.82rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    opacity: 0.85;
    transition: opacity var(--dur) var(--ease), gap var(--dur) var(--ease);
}

.read-more:hover {
    opacity: 1;
    gap: 12px;
}

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

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

/* =========================================
   TRANSFORMATION SLIDER
   ========================================= */
.transformation-section {
    position: relative;
}

.split-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    align-items: center;
}

.trans-content p {
    margin: 14px 0 18px;
    color: rgba(255, 255, 255, 0.78);
    max-width: 60ch;
}

.comparison-slider {
    position: relative;
    width: 100%;
    padding-bottom: 66%;
    overflow: hidden;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.02);
    touch-action: pan-x;
}

.slider-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

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

.before-img { z-index: 1; }

.after-img {
    z-index: 2;
    width: 100%;
    overflow: hidden;
    clip-path: inset(0 50% 0 0);
    transition: clip-path 160ms var(--ease);
    will-change: clip-path;
}

.label {
    position: absolute;
    bottom: 14px;
    background: rgba(0, 0, 0, 0.55);
    color: rgba(255, 255, 255, 0.92);
    padding: 6px 12px;
    border-radius: 999px;
    font-size: 0.76rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    pointer-events: none;
    border: 1px solid rgba(255, 255, 255, 0.10);
    backdrop-filter: blur(10px);
}

.before-img .label { right: 14px; }
.after-img .label { left: 14px; }

.slider-handle {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 44px;
    height: 44px;
    margin-left: -22px;
    transform: translateY(-50%);
    z-index: 3;
    pointer-events: none;
    display: grid;
    place-items: center;
    transition: left 160ms var(--ease);
}

.slider-handle::before {
    content: "";
    position: absolute;
    top: -1000px;
    bottom: -1000px;
    width: 2px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.55), transparent);
    opacity: 0.7;
}

.handle-line {
    display: none;
}

.handle-circle {
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.92);
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-size: 1.18rem;
    color: #000;
    box-shadow: 0 22px 40px rgba(0, 0, 0, 0.55);
    border: 1px solid rgba(0, 0, 0, 0.18);
}

.slider-range {
    position: absolute;
    inset: 0;
    z-index: 4;
    opacity: 0;
    cursor: ew-resize;
    touch-action: pan-x;
}

.comparison-slider.is-dragging .after-img,
.comparison-slider.is-dragging .slider-handle {
    transition: none;
}

@media (min-width: 900px) {
    .split-layout { grid-template-columns: 0.9fr 1.1fr; gap: 56px; }
}

/* =========================================
   GALLERY (Swipe-first on mobile)
   ========================================= */
.gallery-grid {
    display: flex;
    gap: 14px;
    overflow-x: auto;
    padding-bottom: 8px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
}

.gallery-grid::-webkit-scrollbar {
    height: 8px;
}

.gallery-grid::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.14);
    border-radius: 999px;
}

.gallery-item {
    flex: 0 0 84%;
    scroll-snap-align: start;
    overflow: hidden;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.10);
    background: rgba(255, 255, 255, 0.02);
    box-shadow: 0 16px 50px rgba(0, 0, 0, 0.40);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    transition: transform 600ms var(--ease);
    filter: saturate(0.85) contrast(1.05);
}

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

@media (min-width: 900px) {
    .gallery-grid {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        grid-template-rows: repeat(2, 250px);
        gap: 15px;
        overflow: visible;
        padding-bottom: 0;
        scroll-snap-type: none;
    }

    .gallery-item {
        border-radius: var(--radius);
        box-shadow: var(--shadow-soft);
    }

    .gallery-item img {
        height: 100%;
        aspect-ratio: auto;
    }

    .item-1 { grid-column: 1 / 3; grid-row: 1 / 3; }
    .item-2 { grid-column: 3 / 5; grid-row: 1 / 2; }
    .item-3 { grid-column: 3 / 4; grid-row: 2 / 3; }
    .item-4 { grid-column: 4 / 5; grid-row: 2 / 3; }
}

/* =========================================
   FOOTER
   ========================================= */
.footer {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), transparent);
    padding: 56px 0 26px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 26px;
    margin-bottom: 26px;
}

.footer-logo {
    max-width: 180px;
    margin-bottom: 14px;
}

.footer-info p {
    color: rgba(255, 255, 255, 0.72);
    max-width: 46ch;
}

.social-links {
    display: flex;
    gap: 12px;
    margin-top: 16px;
}

.social-links a {
    width: 42px;
    height: 42px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 50%;
    display: grid;
    place-items: center;
    transition: transform var(--dur) var(--ease), background var(--dur) var(--ease), border-color var(--dur) var(--ease);
    background: rgba(255, 255, 255, 0.04);
}

.social-links a:hover {
    background: rgba(255, 255, 255, 0.10);
    border-color: rgba(255, 255, 255, 0.22);
    transform: translateY(-2px);
}

.footer h4 {
    margin-bottom: 14px;
    font-size: 1.05rem;
    letter-spacing: -0.01em;
}

.footer-links li {
    margin-bottom: 10px;
    color: rgba(255, 255, 255, 0.76);
}

.footer-links a:hover {
    color: rgba(255, 255, 255, 0.95);
}

.footer-contact p {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
    color: rgba(255, 255, 255, 0.76);
}

.footer-contact a {
    color: rgba(255, 255, 255, 0.92);
    text-decoration: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.18);
    transition: border-color var(--dur) var(--ease), opacity var(--dur) var(--ease);
}

.footer-contact a:hover {
    border-color: rgba(255, 255, 255, 0.35);
    opacity: 0.95;
}

.map-embed {
    margin-top: 14px;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.10);
    background: rgba(255, 255, 255, 0.02);
    aspect-ratio: 16 / 10;
}

.map-embed iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

.footer-contact i {
    color: rgba(255, 255, 255, 0.92);
}

.footer-bottom {
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.56);
    font-size: 0.9rem;
}

@media (min-width: 900px) {
    .footer { padding: 80px 0 30px; }
    .footer-grid { grid-template-columns: 1.5fr 1fr 1fr; gap: 46px; margin-bottom: 46px; }
}

/* =========================================
   TESTIMONIALS (Google reviews style)
   ========================================= */
.testimonials-section {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0.00));
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.reviews-header {
    display: grid;
    gap: 12px;
    align-items: start;
}

.reviews-summary {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    color: rgba(255, 255, 255, 0.82);
}

.reviews-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.10);
    color: rgba(255, 255, 255, 0.88);
    font-family: var(--font-heading);
    font-weight: 700;
    letter-spacing: 0.02em;
}

.reviews-badge i {
    font-size: 1.05rem;
}

.reviews-rating {
    font-family: var(--font-heading);
    font-weight: 800;
    letter-spacing: -0.02em;
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.92);
}

.reviews-stars {
    display: inline-flex;
    gap: 2px;
    color: rgba(255, 255, 255, 0.92);
    align-items: center;
}

.reviews-count {
    color: rgba(255, 255, 255, 0.68);
    font-size: 0.95rem;
}

.reviews-track {
    display: flex;
    gap: 14px;
    overflow-x: auto;
    padding: 10px 2px 6px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
}

.reviews-track::-webkit-scrollbar {
    height: 8px;
}

.reviews-track::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.14);
    border-radius: 999px;
}

.review-card {
    flex: 0 0 88%;
    scroll-snap-align: start;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.10);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.03));
    box-shadow: 0 18px 60px rgba(0, 0, 0, 0.45);
    padding: 18px 16px;
    transition: transform var(--dur) var(--ease), border-color var(--dur) var(--ease), background var(--dur) var(--ease);
}

.review-card:hover {
    transform: translateY(-6px);
    border-color: rgba(255, 255, 255, 0.18);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.03));
}

.review-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 12px;
}

.review-user {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}

.review-avatar {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    font-family: var(--font-heading);
    font-weight: 800;
    letter-spacing: 0.02em;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.14);
    color: rgba(255, 255, 255, 0.92);
}

.review-user-meta {
    min-width: 0;
}

.review-name {
    font-family: var(--font-heading);
    font-weight: 780;
    letter-spacing: -0.01em;
    color: rgba(255, 255, 255, 0.92);
    line-height: 1.2;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 18ch;
}

.review-time {
    margin-top: 3px;
    color: rgba(255, 255, 255, 0.62);
    font-size: 0.92rem;
}

.review-stars[aria-label] {
    font-size: 0.96rem;
}

.review-text {
    color: rgba(255, 255, 255, 0.78);
    font-size: 1.0rem;
    line-height: 1.55;
}

.reviews-cta {
    margin-top: 18px;
    display: flex;
    justify-content: center;
}

@media (min-width: 900px) {
    .reviews-header {
        grid-template-columns: 1fr auto;
        align-items: end;
    }

    .reviews-track {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 16px;
        overflow: visible;
        padding: 18px 0 0;
        scroll-snap-type: none;
    }

    .review-card {
        flex: initial;
        padding: 20px 18px;
        border-radius: var(--radius);
    }

    .reviews-cta {
        justify-content: flex-start;
    }
}

/* =========================================
   REVEALS & MOTION
   ========================================= */
.fade-in,
.reveal-left,
.reveal-right,
.reveal-bottom {
    opacity: 0;
    transform: translate3d(0, 18px, 0);
    transition: opacity var(--dur-slow) var(--ease), transform var(--dur-slow) var(--ease);
    will-change: transform, opacity;
}

.reveal-left { transform: translate3d(-18px, 0, 0); }
.reveal-right { transform: translate3d(18px, 0, 0); }
.reveal-bottom { transform: translate3d(0, 22px, 0); }

.visible {
    opacity: 1;
    transform: translate3d(0, 0, 0);
}

.delay-1 { transition-delay: 120ms; }
.delay-2 { transition-delay: 220ms; }
.delay-3 { transition-delay: 320ms; }
.delay-4 { transition-delay: 420ms; }

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .hero-bg-img,
    .text-wipe::before,
    .hero-title-line,
    .hero-subtitle {
        animation: none !important;
    }
    .text-wipe {
        color: rgba(255, 255, 255, 0.94) !important;
        -webkit-text-stroke: 0 transparent !important;
        text-stroke: 0 transparent !important;
    }
    .fade-in,
    .reveal-left,
    .reveal-right,
    .reveal-bottom {
        transition: none !important;
        transform: none !important;
        opacity: 1 !important;
    }
    .after-img,
    .slider-handle {
        transition: none !important;
    }
    .btn-primary::after { display: none; }
}
