/* ========================================
   MODERN ROOTS SALON — STYLESHEET
   Classic & Elegant · Teal + Slate Grey
   ======================================== */

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

:root {
    /* Palette */
    --teal-900: #073038;
    --teal-800: #0A414C;
    --teal-700: #0F4C5C;
    --teal-600: #146376;
    --teal-500: #1A7F96;
    --teal-400: #2A9DB6;
    --teal-100: #D1EAF0;
    --teal-50:  #EBF6F9;

    --slate-950: #0B1120;
    --slate-900: #0F172A;
    --slate-800: #1E293B;
    --slate-700: #334155;
    --slate-600: #475569;
    --slate-500: #64748B;
    --slate-400: #94A3B8;
    --slate-300: #CBD5E1;
    --slate-200: #E2E8F0;
    --slate-100: #F1F5F9;
    --slate-50:  #F8FAFC;

    --cream: #FAFAF8;
    --warm-white: #FDFCFA;

    /* Typography */
    --font-serif: 'Cormorant Garamond', 'Georgia', serif;
    --font-sans: 'Montserrat', 'Helvetica Neue', Arial, sans-serif;

    /* Spacing */
    --section-padding: clamp(80px, 12vw, 140px) 0;
    --container-max: 1280px;
    --container-padding: clamp(20px, 4vw, 48px);

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-base: 0.35s ease;
    --transition-slow: 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-sans);
    color: var(--slate-800);
    background-color: var(--warm-white);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

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

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

.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

/* ---------- SKIP LINK ---------- */
.skip-link {
    position: absolute;
    top: -100%;
    left: 16px;
    background: var(--teal-700);
    color: white;
    padding: 8px 16px;
    z-index: 200;
    font-size: 0.875rem;
    border-radius: 0 0 4px 4px;
    transition: top var(--transition-fast);
}

.skip-link:focus {
    top: 0;
}

/* ---------- CUSTOM CURSOR ---------- */
.cursor-dot {
    display: none;
}

.cursor-ring {
    display: none;
}

@media (hover: hover) and (pointer: fine) {
    .cursor-dot {
        display: block;
        position: fixed;
        width: 8px;
        height: 8px;
        background: var(--teal-600);
        border-radius: 50%;
        pointer-events: none;
        z-index: 9999;
        transform: translate(-50%, -50%);
        transition: width 0.15s, height 0.15s, background 0.15s;
        mix-blend-mode: difference;
    }

    .cursor-ring {
        display: block;
        position: fixed;
        width: 36px;
        height: 36px;
        border: 1.5px solid var(--teal-500);
        border-radius: 50%;
        pointer-events: none;
        z-index: 9998;
        transform: translate(-50%, -50%);
        transition: width 0.3s ease, height 0.3s ease, border-color 0.3s ease;
    }

    .cursor-ring.hover {
        width: 56px;
        height: 56px;
        border-color: var(--teal-300);
    }
}

/* ---------- NAVBAR ---------- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 0 var(--container-padding);
    transition: background var(--transition-base), box-shadow var(--transition-base), padding var(--transition-base);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
    transition: height var(--transition-base);
}

.navbar.scrolled {
    background: rgba(253, 252, 250, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 1px 0 rgba(15, 76, 92, 0.08);
}

.navbar.scrolled .nav-container {
    height: 68px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 101;
}

.logo-mark {
    width: 40px;
    height: 40px;
    border: 1.5px solid var(--teal-600);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-serif);
    font-size: 1rem;
    font-weight: 600;
    color: var(--teal-700);
    letter-spacing: -0.02em;
    transition: background var(--transition-fast), color var(--transition-fast);
}

.logo:hover .logo-mark {
    background: var(--teal-700);
    color: white;
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.logo-main {
    font-family: var(--font-serif);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--slate-900);
    letter-spacing: -0.01em;
}

.logo-sub {
    font-family: var(--font-sans);
    font-size: 0.6rem;
    font-weight: 500;
    color: var(--slate-500);
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-links a:not(.btn) {
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--slate-600);
    position: relative;
    transition: color var(--transition-fast);
}

.nav-links a:not(.btn)::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--teal-600);
    transition: width var(--transition-base);
}

.nav-links a:not(.btn):hover {
    color: var(--teal-700);
}

.nav-links a:not(.btn):hover::after {
    width: 100%;
}

/* ---------- BUTTONS ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    font-family: var(--font-sans);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    border-radius: 0;
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
}

.btn--primary {
    background: var(--teal-700);
    color: white;
    border: 1.5px solid var(--teal-700);
}

.btn--primary:hover {
    background: var(--teal-800);
    border-color: var(--teal-800);
    transform: translateY(-1px);
    box-shadow: 0 8px 24px rgba(15, 76, 92, 0.25);
}

.btn--outline {
    background: transparent;
    color: var(--teal-700);
    border: 1.5px solid var(--teal-700);
}

.btn--outline:hover {
    background: var(--teal-700);
    color: white;
}

.btn--nav {
    padding: 10px 22px;
    font-size: 0.72rem;
}

.btn--light {
    background: white;
    color: var(--teal-800);
    border: 1.5px solid white;
}

.btn--light:hover {
    background: transparent;
    color: white;
    border-color: white;
}

.btn--outline-light {
    background: transparent;
    color: white;
    border: 1.5px solid rgba(255, 255, 255, 0.5);
}

.btn--outline-light:hover {
    border-color: white;
    background: rgba(255, 255, 255, 0.1);
}

.btn--full {
    width: 100%;
    justify-content: center;
}

.btn--mobile {
    margin-top: 24px;
    justify-content: center;
}

/* ---------- HAMBURGER ---------- */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    width: 28px;
    height: 20px;
    z-index: 101;
    position: relative;
}

.hamburger {
    display: block;
    width: 100%;
    height: 1.5px;
    background: var(--slate-800);
    transition: all var(--transition-base);
    transform-origin: center;
}

.nav-toggle[aria-expanded="true"] .hamburger:nth-child(1) {
    transform: translateY(5.5px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .hamburger:nth-child(2) {
    opacity: 0;
}

.nav-toggle[aria-expanded="true"] .hamburger:nth-child(3) {
    transform: translateY(-5.5px) rotate(-45deg);
}

/* ---------- MOBILE MENU ---------- */
.mobile-menu {
    position: fixed;
    inset: 0;
    z-index: 99;
    background: var(--warm-white);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity var(--transition-base), visibility var(--transition-base);
}

.mobile-menu.active {
    opacity: 1;
    visibility: visible;
}

.mobile-menu-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
}

.mobile-menu-item {
    font-family: var(--font-serif);
    font-size: 2rem;
    font-weight: 400;
    color: var(--slate-800);
    transition: color var(--transition-fast);
}

.mobile-menu-item:hover {
    color: var(--teal-600);
}

/* ---------- HERO ---------- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: var(--slate-900);
}

.hero-bg {
    position: absolute;
    inset: 0;
    background: url('https://images.pexels.com/photos/8834037/pexels-photo-8834037.jpeg?auto=compress&cs=tinysrgb&fit=crop&w=1920&h=1080') center center / cover no-repeat;
    opacity: 0.35;
    transform: scale(1.05);
    animation: heroZoom 20s ease-in-out infinite alternate;
}

@keyframes heroZoom {
    from { transform: scale(1.05); }
    to { transform: scale(1.12); }
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(11, 17, 32, 0.88) 0%,
        rgba(15, 76, 92, 0.72) 50%,
        rgba(11, 17, 32, 0.82) 100%
    );
}

.hero-container {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(40px, 6vw, 80px);
    align-items: center;
    padding-top: 80px;
    padding-bottom: 80px;
}

.hero-content {
    padding-right: 20px;
}

.hero-eyebrow {
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--teal-300);
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.hero-eyebrow::before {
    content: '';
    width: 40px;
    height: 1px;
    background: var(--teal-400);
}

.hero-title {
    font-family: var(--font-serif);
    font-size: clamp(2.2rem, 4.5vw, 3.8rem);
    font-weight: 300;
    line-height: 1.15;
    color: white;
    margin-bottom: 28px;
    letter-spacing: -0.02em;
}

.hero-title .accent-italic {
    font-style: italic;
    color: var(--teal-200);
    font-weight: 400;
}

.hero-description {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--slate-300);
    margin-bottom: 40px;
    max-width: 480px;
    font-weight: 300;
}

.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.hero-image {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.hero-image-frame {
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-image-frame img {
    width: 100%;
    max-width: 480px;
    height: auto;
    display: block;
    filter: saturate(0.85) contrast(1.02);
    transition: transform var(--transition-slow);
}

.hero-image-frame:hover img {
    transform: scale(1.03);
}

.hero-accent-line {
    width: 80px;
    height: 2px;
    background: linear-gradient(90deg, var(--teal-400), transparent);
    margin-top: 20px;
    margin-right: 4px;
}

.hero-scroll {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    z-index: 2;
}

.hero-scroll span {
    font-size: 0.65rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--slate-400);
}

.scroll-line {
    width: 1px;
    height: 48px;
    background: linear-gradient(180deg, var(--slate-400), transparent);
    animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
    0%, 100% { opacity: 1; transform: scaleY(1); }
    50% { opacity: 0.4; transform: scaleY(0.6); }
}

/* ---------- SECTION UTILITIES ---------- */
.section-eyebrow {
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--teal-600);
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.section-eyebrow::before {
    content: '';
    width: 24px;
    height: 1px;
    background: var(--teal-500);
}

.section-title {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 4vw, 3.2rem);
    font-weight: 400;
    line-height: 1.15;
    color: var(--slate-900);
    letter-spacing: -0.02em;
    margin-bottom: 20px;
}

.section-title .accent-italic {
    font-style: italic;
    color: var(--teal-600);
    font-weight: 400;
}

.section-subtitle {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--slate-500);
    max-width: 560px;
    font-weight: 300;
}

/* ---------- INTRO SECTION ---------- */
.intro {
    padding: var(--section-padding);
    background: var(--warm-white);
}

.intro-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(40px, 6vw, 80px);
    align-items: center;
}

.intro-image-col {
    position: relative;
}

.intro-image-col img {
    width: 100%;
    height: auto;
    display: block;
    filter: saturate(0.88);
}

.intro-image-accent {
    position: absolute;
    bottom: -24px;
    right: -24px;
    width: 120px;
    height: 120px;
    border: 1px solid var(--teal-200);
    z-index: -1;
}

.intro-text-col {
    padding: clamp(20px, 3vw, 40px) 0;
}

.intro-body {
    font-size: 1rem;
    line-height: 1.85;
    color: var(--slate-600);
    margin-bottom: 20px;
    font-weight: 300;
}

.intro-stats {
    display: flex;
    gap: 40px;
    margin-top: 48px;
    padding-top: 40px;
    border-top: 1px solid var(--slate-200);
}

.stat-number {
    display: block;
    font-family: var(--font-serif);
    font-size: 2.8rem;
    font-weight: 400;
    color: var(--teal-700);
    line-height: 1;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--slate-500);
    line-height: 1.5;
}

.stat-divider {
    width: 1px;
    background: var(--slate-200);
    align-self: stretch;
}

/* ---------- SERVICES ---------- */
.services {
    padding: var(--section-padding);
    background: var(--slate-50);
}

.services-header {
    text-align: center;
    margin-bottom: clamp(48px, 6vw, 72px);
}

.services-header .section-eyebrow {
    justify-content: center;
}

.services-header .section-eyebrow::before {
    display: none;
}

.services-header .section-subtitle {
    margin: 0 auto;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2px;
}

.service-card {
    background: white;
    padding: clamp(28px, 3vw, 44px);
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--teal-600), var(--teal-400));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--transition-base);
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 60px rgba(15, 76, 92, 0.1);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-icon {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--teal-100);
    border-radius: 50%;
    color: var(--teal-700);
    margin-bottom: 24px;
    transition: all var(--transition-base);
}

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

.service-name {
    font-family: var(--font-serif);
    font-size: 1.35rem;
    font-weight: 600;
    color: var(--slate-900);
    margin-bottom: 12px;
    letter-spacing: -0.01em;
}

.service-desc {
    font-size: 0.9rem;
    line-height: 1.75;
    color: var(--slate-500);
    font-weight: 300;
}

/* ---------- GALLERY ---------- */
.gallery {
    padding: var(--section-padding);
    background: var(--warm-white);
}

.gallery-header {
    text-align: center;
    margin-bottom: clamp(48px, 6vw, 72px);
}

.gallery-header .section-eyebrow {
    justify-content: center;
}

.gallery-header .section-eyebrow::before {
    display: none;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-template-rows: repeat(2, clamp(200px, 25vw, 320px));
    gap: 16px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
    filter: saturate(0.85);
}

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

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(11, 17, 32, 0.7) 0%, transparent 60%);
    display: flex;
    align-items: flex-end;
    padding: 24px;
    opacity: 0;
    transition: opacity var(--transition-base);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay span {
    font-family: var(--font-serif);
    font-size: 1.2rem;
    font-weight: 400;
    font-style: italic;
    color: white;
}

.gallery-item:nth-child(1) { grid-column: 1 / 5; grid-row: 1 / 3; }
.gallery-item:nth-child(2) { grid-column: 5 / 9; }
.gallery-item:nth-child(3) { grid-column: 9 / 13; }
.gallery-item:nth-child(4) { grid-column: 1 / 5; grid-row: 2 / 3; }
.gallery-item:nth-child(5) { grid-column: 5 / 9; }
.gallery-item:nth-child(6) { grid-column: 9 / 13; }

/* ---------- CTA BANNER ---------- */
.cta-banner {
    position: relative;
    padding: clamp(80px, 12vw, 120px) 0;
    overflow: hidden;
    background: var(--teal-900);
}

.cta-bg {
    position: absolute;
    inset: 0;
    background: url('https://images.pexels.com/photos/4783288/pexels-photo-4783288.jpeg?auto=compress&cs=tinysrgb&fit=crop&w=1920&h=800') center center / cover no-repeat;
    opacity: 0.2;
}

.cta-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 720px;
    margin: 0 auto;
}

.cta-eyebrow {
    justify-content: center;
    color: var(--teal-300);
}

.cta-eyebrow::before {
    background: var(--teal-400);
}

.cta-title {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 4.5vw, 3.4rem);
    font-weight: 300;
    line-height: 1.2;
    color: white;
    margin-bottom: 20px;
    letter-spacing: -0.02em;
}

.cta-body {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--slate-300);
    margin-bottom: 40px;
    font-weight: 300;
}

.cta-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ---------- CONTACT ---------- */
.contact {
    padding: var(--section-padding);
    background: var(--slate-50);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(40px, 6vw, 80px);
}

.contact-intro {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--slate-500);
    margin-bottom: 40px;
    font-weight: 300;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.contact-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.contact-icon {
    width: 48px;
    height: 48px;
    min-width: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--teal-100);
    border-radius: 50%;
    color: var(--teal-700);
    transition: all var(--transition-base);
}

.contact-item:hover .contact-icon {
    background: var(--teal-700);
    border-color: var(--teal-700);
    color: white;
}

.contact-item span:first-child {
    display: block;
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--slate-400);
    margin-bottom: 4px;
}

.contact-item span:last-child,
.contact-item a {
    display: block;
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--slate-700);
    font-weight: 400;
}

.contact-item a:hover {
    color: var(--teal-600);
    text-decoration: underline;
    text-decoration-color: var(--teal-300);
    text-underline-offset: 4px;
}

/* ---------- FORM ---------- */
.contact-form-col {
    background: white;
    padding: clamp(32px, 4vw, 48px);
    border: 1px solid var(--slate-100);
}

.form-title {
    font-family: var(--font-serif);
    font-size: 1.6rem;
    font-weight: 500;
    color: var(--slate-900);
    margin-bottom: 32px;
    letter-spacing: -0.01em;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    margin-bottom: 20px;
}

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

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    font-family: var(--font-sans);
    font-size: 0.9rem;
    color: var(--slate-800);
    background: var(--slate-50);
    border: 1px solid var(--slate-200);
    border-radius: 0;
    outline: none;
    transition: border-color var(--transition-fast), background var(--transition-fast);
    -webkit-appearance: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--teal-500);
    background: white;
}

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

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-group select {
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12' fill='none'%3E%3Cpath d='M3 4.5l3 3 3-3' stroke='%2364748B' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 40px;
}

.form-success {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    background: var(--teal-50);
    border: 1px solid var(--teal-100);
    color: var(--teal-800);
    font-size: 0.9rem;
    font-weight: 500;
    margin-top: 16px;
}

.form-success svg {
    color: var(--teal-600);
    flex-shrink: 0;
}

/* ---------- FOOTER ---------- */
.footer {
    background: var(--slate-900);
    padding: clamp(56px, 8vw, 80px) 0 0;
    color: var(--slate-400);
}

.footer-top {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1.2fr;
    gap: clamp(32px, 5vw, 64px);
    padding-bottom: clamp(48px, 6vw, 64px);
    border-bottom: 1px solid rgba(148, 163, 184, 0.15);
}

.footer-brand .logo-main {
    color: white;
}

.footer-brand .logo-sub {
    color: var(--slate-500);
}

.footer-brand .logo-mark {
    border-color: var(--teal-500);
    color: var(--teal-400);
}

.footer-tagline {
    margin-top: 16px;
    font-size: 0.9rem;
    line-height: 1.7;
    color: var(--slate-500);
    max-width: 280px;
    font-weight: 300;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    font-size: 0.85rem;
    color: var(--slate-400);
    transition: color var(--transition-fast);
}

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

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-contact a {
    font-size: 0.85rem;
    color: var(--slate-400);
    transition: color var(--transition-fast);
}

.footer-contact a:hover {
    color: var(--teal-300);
}

.footer-contact span {
    font-size: 0.85rem;
    color: var(--slate-500);
}

.footer-bottom {
    padding: 24px 0;
    text-align: center;
}

.footer-bottom p {
    font-size: 0.75rem;
    color: var(--slate-600);
    letter-spacing: 0.05em;
}

/* ---------- REVEAL ANIMATIONS ---------- */
.reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-content {
        padding-right: 0;
        order: 2;
    }

    .hero-eyebrow {
        justify-content: center;
    }

    .hero-description {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-actions {
        justify-content: center;
    }

    .hero-image {
        order: 1;
        align-items: center;
    }

    .hero-image-frame img {
        max-width: 360px;
    }

    .hero-accent-line {
        margin-right: 0;
    }

    .intro-grid {
        grid-template-columns: 1fr;
    }

    .intro-image-col {
        max-width: 500px;
        margin: 0 auto;
    }

    .intro-text-col {
        padding: 40px 0;
    }

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

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: auto;
    }

    .gallery-item:nth-child(1) { grid-column: 1 / 3; grid-row: auto; }
    .gallery-item:nth-child(2) { grid-column: 1 / 2; }
    .gallery-item:nth-child(3) { grid-column: 2 / 3; }
    .gallery-item:nth-child(4) { grid-column: 1 / 2; }
    .gallery-item:nth-child(5) { grid-column: 2 / 3; }
    .gallery-item:nth-child(6) { grid-column: 1 / 3; }

    .gallery-item img {
        min-height: 220px;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .footer-top {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .nav-toggle {
        display: flex;
    }

    .hero {
        min-height: auto;
        padding-top: 100px;
        padding-bottom: 60px;
    }

    .hero-container {
        padding-top: 0;
        padding-bottom: 0;
    }

    .hero-image-frame img {
        max-width: 100%;
    }

    .hero-scroll {
        display: none;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .gallery-item:nth-child(1) { grid-column: auto; }
    .gallery-item:nth-child(4) { grid-column: auto; }
    .gallery-item:nth-child(6) { grid-column: auto; }

    .gallery-item img {
        min-height: 200px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .footer-top {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .intro-stats {
        gap: 24px;
    }
}

@media (max-width: 480px) {
    .hero-actions {
        flex-direction: column;
        align-items: center;
    }

    .hero-actions .btn {
        width: 100%;
        justify-content: center;
    }

    .cta-actions {
        flex-direction: column;
        align-items: center;
    }

    .cta-actions .btn {
        width: 100%;
        justify-content: center;
    }

    .intro-stats {
        flex-direction: column;
        gap: 24px;
    }

    .stat-divider {
        display: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    html {
        scroll-behavior: auto;
    }

    .reveal {
        opacity: 1;
        transform: none;
    }

    .cursor-dot, .cursor-ring {
        display: none !important;
    }
}
