/* ============================================
   Cane's Sharpening Service — Stylesheet
   ============================================ */

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

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    font-size: 1rem;
    line-height: 1.6;
    color: #1e293b;
    background-color: #ffffff;
    overflow-x: hidden;
}

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

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

ul {
    list-style: none;
}

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

.skip-link {
    position: absolute;
    top: -100%;
    left: 1rem;
    background: #0d9488;
    color: #fff;
    padding: 0.5rem 1rem;
    border-radius: 0 0 0.5rem 0.5rem;
    z-index: 1000;
    font-weight: 600;
}

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

/* --- Custom Properties --- */
:root {
    --teal-50: #f0fdfa;
    --teal-100: #ccfbf1;
    --teal-200: #99f6e4;
    --teal-400: #2dd4bf;
    --teal-500: #14b8a6;
    --teal-600: #0d9488;
    --teal-700: #0f766e;
    --teal-800: #115e59;
    --teal-900: #134e4a;

    --slate-50: #f8fafc;
    --slate-100: #f1f5f9;
    --slate-200: #e2e8f0;
    --slate-300: #cbd5e1;
    --slate-400: #94a3b8;
    --slate-500: #64748b;
    --slate-600: #475569;
    --slate-700: #334155;
    --slate-800: #1e293b;
    --slate-900: #0f172a;
    --slate-950: #020617;

    --radius-sm: 0.375rem;
    --radius-md: 0.75rem;
    --radius-lg: 1rem;
    --radius-xl: 1.5rem;

    --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(15, 23, 42, 0.07), 0 2px 4px -2px rgba(15, 23, 42, 0.05);
    --shadow-lg: 0 10px 15px -3px rgba(15, 23, 42, 0.08), 0 4px 6px -4px rgba(15, 23, 42, 0.04);
    --shadow-xl: 0 20px 25px -5px rgba(15, 23, 42, 0.08), 0 8px 10px -6px rgba(15, 23, 42, 0.04);

    --font-sans: 'Inter', system-ui, sans-serif;
    --font-serif: 'Playfair Display', Georgia, serif;
}

/* --- Container --- */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* ============================================
   HEADER
   ============================================ */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--slate-200);
    transition: box-shadow 0.3s ease;
}

.site-header.scrolled {
    box-shadow: var(--shadow-md);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    color: var(--slate-900);
    font-weight: 700;
    transition: color 0.2s;
}

.logo:hover {
    color: var(--teal-600);
}

.logo-icon {
    color: var(--teal-600);
}

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

.logo-primary {
    font-family: var(--font-serif);
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--slate-900);
}

.logo-secondary {
    font-size: 0.65rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--slate-500);
}

.logo--light .logo-primary {
    color: #fff;
}

.logo--light .logo-secondary {
    color: rgba(255, 255, 255, 0.7);
}

/* Navigation */
.site-nav {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.nav-list {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.nav-list a {
    padding: 0.5rem 0.875rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--slate-600);
    border-radius: var(--radius-sm);
    transition: color 0.2s, background-color 0.2s;
}

.nav-list a:hover {
    color: var(--teal-700);
    background-color: var(--teal-50);
}

.nav-cta {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    margin-left: 1rem;
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--teal-700);
    background-color: var(--teal-50);
    border: 1px solid var(--teal-200);
    border-radius: var(--radius-sm);
    transition: background-color 0.2s, color 0.2s;
}

.nav-cta:hover {
    background-color: var(--teal-100);
    color: var(--teal-800);
}

/* Mobile menu button */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    border-radius: var(--radius-sm);
    transition: background-color 0.2s;
}

.mobile-menu-btn:hover {
    background-color: var(--slate-100);
}

.hamburger,
.hamburger::before,
.hamburger::after {
    display: block;
    width: 18px;
    height: 2px;
    background-color: var(--slate-700);
    border-radius: 2px;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.hamburger {
    position: relative;
}

.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    left: 0;
}

.hamburger::before {
    top: -6px;
}

.hamburger::after {
    top: 6px;
}

.mobile-menu-btn[aria-expanded="true"] .hamburger {
    background-color: transparent;
}

.mobile-menu-btn[aria-expanded="true"] .hamburger::before {
    transform: translateY(6px) rotate(45deg);
}

.mobile-menu-btn[aria-expanded="true"] .hamburger::after {
    transform: translateY(-6px) rotate(-45deg);
}

/* ============================================
   HERO
   ============================================ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background-color: var(--slate-950);
    overflow: hidden;
    padding: 6rem 0 4rem;
}

.hero-pattern {
    position: absolute;
    inset: 0;
    color: var(--teal-400);
    pointer-events: none;
    opacity: 0.5;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

/* Hero Content */
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.375rem 1rem;
    background-color: rgba(13, 148, 136, 0.15);
    border: 1px solid rgba(13, 148, 136, 0.3);
    border-radius: 100px;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--teal-400);
    margin-bottom: 1.5rem;
}

.badge-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: var(--teal-400);
    animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}

.hero-title {
    font-family: var(--font-serif);
    font-size: clamp(2.25rem, 4.5vw, 3.75rem);
    font-weight: 700;
    line-height: 1.12;
    color: #ffffff;
    margin-bottom: 1.5rem;
    max-width: 560px;
}

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

.hero-subtitle {
    font-size: 1.125rem;
    line-height: 1.7;
    color: var(--slate-400);
    margin-bottom: 2rem;
    max-width: 480px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 3rem;
}

.hero-stats {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(148, 163, 184, 0.15);
}

.stat {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.2;
}

.stat-label {
    font-size: 0.75rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--slate-500);
}

.stat-divider {
    width: 1px;
    height: 32px;
    background-color: rgba(148, 163, 184, 0.2);
}

/* Hero Image Stack */
.hero-visual {
    position: relative;
}

.hero-image-stack {
    position: relative;
    padding-right: 2rem;
}

.hero-img {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.hero-img-primary {
    width: 100%;
    aspect-ratio: 4/5;
}

.hero-img-primary img,
.hero-img-secondary img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-img-secondary {
    position: absolute;
    bottom: -2rem;
    left: -2rem;
    width: 55%;
    aspect-ratio: 4/3;
    border: 4px solid var(--slate-950);
}

.hero-accent {
    position: absolute;
    top: -1.5rem;
    right: -1.5rem;
    width: 120px;
    height: 120px;
    background: var(--teal-600);
    border-radius: var(--radius-lg);
    z-index: -1;
    opacity: 0.3;
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    font-size: 0.9375rem;
    font-weight: 600;
    border-radius: var(--radius-md);
    border: 2px solid transparent;
    transition: all 0.25s ease;
    white-space: nowrap;
}

.btn-primary {
    background-color: var(--teal-600);
    color: #ffffff;
    border-color: var(--teal-600);
}

.btn-primary:hover {
    background-color: var(--teal-700);
    border-color: var(--teal-700);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(13, 148, 136, 0.35);
}

.btn-ghost {
    background-color: transparent;
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.25);
}

.btn-ghost:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
}

.btn-outline-light {
    background-color: transparent;
    color: var(--teal-600);
    border-color: var(--teal-600);
}

.btn-outline-light:hover {
    background-color: var(--teal-50);
    transform: translateY(-1px);
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1rem;
}

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

/* ============================================
   SECTION COMMON
   ============================================ */
.section-header {
    margin-bottom: 3.5rem;
}

.section-header--centered {
    text-align: center;
}

.section-label {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--teal-600);
    margin-bottom: 0.75rem;
}

.section-title {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 3.5vw, 2.75rem);
    font-weight: 700;
    line-height: 1.15;
    color: var(--slate-900);
    margin-bottom: 1rem;
}

.text-teal {
    color: var(--teal-600);
}

.section-subtitle {
    font-size: 1.0625rem;
    line-height: 1.7;
    color: var(--slate-500);
    max-width: 560px;
}

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

/* ============================================
   SERVICES
   ============================================ */
.services {
    padding: 6rem 0;
    background-color: var(--slate-50);
}

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

.service-card {
    background-color: #ffffff;
    border: 1px solid var(--slate-200);
    border-radius: var(--radius-lg);
    padding: 2rem;
    transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

.service-card:hover {
    border-color: var(--teal-200);
    box-shadow: var(--shadow-lg);
    transform: translateY(-2px);
}

.service-icon {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--teal-50);
    border: 1px solid var(--teal-100);
    border-radius: var(--radius-md);
    color: var(--teal-700);
    margin-bottom: 1.25rem;
}

.service-title {
    font-family: var(--font-serif);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--slate-900);
    margin-bottom: 0.625rem;
}

.service-desc {
    font-size: 0.9375rem;
    line-height: 1.65;
    color: var(--slate-600);
    margin-bottom: 1.25rem;
}

.service-features {
    display: flex;
    flex-direction: column;
    gap: 0.375rem;
}

.service-features li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: var(--slate-700);
}

.service-features li::before {
    content: '';
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background-color: var(--teal-500);
    flex-shrink: 0;
}

/* ============================================
   ABOUT
   ============================================ */
.about {
    padding: 6rem 0;
    background-color: #ffffff;
}

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

.about-visual {
    position: relative;
}

.about-img-main {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.about-img-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    aspect-ratio: 7/8;
}

.about-img-accent {
    position: absolute;
    bottom: -1.5rem;
    right: -1.5rem;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 4px solid #ffffff;
}

.about-img-accent img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1.25rem;
    padding: 0.625rem 1.25rem;
    background-color: var(--slate-900);
    color: #ffffff;
    border-radius: var(--radius-sm);
    font-size: 0.8125rem;
    font-weight: 600;
}

.about-badge svg {
    color: var(--teal-400);
}

.about-content .section-label {
    margin-bottom: 0.75rem;
}

.about-body {
    font-size: 1rem;
    line-height: 1.75;
    color: var(--slate-600);
    margin-bottom: 1rem;
}

.about-values {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
    margin-top: 2rem;
}

.value-item {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--slate-800);
}

.value-check {
    color: var(--teal-600);
    flex-shrink: 0;
}

/* ============================================
   PROCESS
   ============================================ */
.process {
    padding: 6rem 0;
    background-color: var(--slate-900);
    position: relative;
    overflow: hidden;
}

.process::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 20% 50%, rgba(13, 148, 136, 0.12) 0%, transparent 60%);
    pointer-events: none;
}

.process .section-label {
    color: var(--teal-400);
}

.process .section-title {
    color: #ffffff;
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    position: relative;
    z-index: 1;
}

.process-step {
    padding: 2rem;
    position: relative;
}

.step-number {
    font-family: var(--font-serif);
    font-size: 4rem;
    font-weight: 800;
    line-height: 1;
    color: rgba(13, 148, 136, 0.2);
    margin-bottom: 1rem;
}

.step-title {
    font-family: var(--font-serif);
    font-size: 1.375rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 0.75rem;
}

.step-desc {
    font-size: 0.9375rem;
    line-height: 1.7;
    color: var(--slate-400);
}

.step-connector {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 60%;
    background: linear-gradient(to bottom, transparent, var(--slate-700), transparent);
}

.process-step:last-child .step-connector {
    display: none;
}

/* ============================================
   GALLERY
   ============================================ */
.gallery {
    padding: 6rem 0;
    background-color: #ffffff;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: auto auto;
    gap: 1rem;
}

.gallery-item {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    cursor: default;
}

.gallery-item--large {
    grid-column: span 2;
    grid-row: span 2;
}

.gallery-item--wide {
    grid-column: span 2;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item--large img {
    aspect-ratio: 4/3;
}

.gallery-item:not(.gallery-item--large):not(.gallery-item--wide) img {
    aspect-ratio: 5/4;
}

.gallery-item--wide img {
    aspect-ratio: 2/1;
}

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

.gallery-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1.5rem 1.25rem 1rem;
    background: linear-gradient(to top, rgba(2, 6, 23, 0.8), transparent);
    font-size: 0.875rem;
    font-weight: 600;
    color: #ffffff;
    opacity: 0;
    transform: translateY(4px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.gallery-item:hover .gallery-caption {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================
   CTA BANNER
   ============================================ */
.cta-banner {
    padding: 5rem 0;
    background: linear-gradient(135deg, var(--teal-700) 0%, var(--teal-900) 100%);
    position: relative;
    overflow: hidden;
}

.cta-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 80% 50%, rgba(255, 255, 255, 0.06) 0%, transparent 60%);
    pointer-events: none;
}

.cta-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    position: relative;
    z-index: 1;
    flex-wrap: wrap;
}

.cta-content {
    flex: 1;
    min-width: 280px;
}

.cta-heading {
    font-family: var(--font-serif);
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    font-weight: 700;
    color: #ffffff;
    line-height: 1.2;
    margin-bottom: 0.75rem;
}

.cta-text {
    font-size: 1.0625rem;
    line-height: 1.7;
    color: var(--teal-200);
    max-width: 480px;
}

.cta-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.btn-outline-light {
    border-color: rgba(255, 255, 255, 0.4);
    color: #ffffff;
}

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

/* ============================================
   CONTACT
   ============================================ */
.contact {
    padding: 6rem 0;
    background-color: var(--slate-50);
}

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

.contact-intro {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--slate-600);
    margin-bottom: 2rem;
}

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

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

.detail-icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #ffffff;
    border: 1px solid var(--slate-200);
    border-radius: var(--radius-md);
    color: var(--teal-600);
    flex-shrink: 0;
}

.detail-label {
    display: block;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--slate-400);
    margin-bottom: 0.25rem;
}

.detail-value {
    display: block;
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--slate-800);
    line-height: 1.5;
}

.detail-link {
    color: var(--teal-700);
    font-weight: 600;
    transition: color 0.2s;
}

.detail-link:hover {
    color: var(--teal-600);
}

/* Contact Form */
.contact-form-wrapper {
    background-color: #ffffff;
    border: 1px solid var(--slate-200);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    box-shadow: var(--shadow-md);
}

.form-title {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--slate-900);
    margin-bottom: 1.5rem;
}

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

.form-group {
    margin-bottom: 1rem;
}

.form-group label {
    display: block;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--slate-700);
    margin-bottom: 0.375rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.625rem 0.875rem;
    font-family: var(--font-sans);
    font-size: 0.9375rem;
    color: var(--slate-900);
    background-color: var(--slate-50);
    border: 1px solid var(--slate-200);
    border-radius: var(--radius-sm);
    transition: border-color 0.2s, box-shadow 0.2s;
    outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--teal-500);
    box-shadow: 0 0 0 3px rgba(13, 148, 136, 0.1);
    background-color: #ffffff;
}

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

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

.form-success {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-top: 1rem;
    padding: 1rem;
    background-color: var(--teal-50);
    border: 1px solid var(--teal-200);
    border-radius: var(--radius-sm);
    color: var(--teal-800);
    font-size: 0.9375rem;
    font-weight: 500;
}

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

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
    background-color: var(--slate-950);
    color: var(--slate-400);
    padding: 4rem 0 0;
}

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

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

.footer-heading {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--slate-300);
    margin-bottom: 1rem;
}

.footer-nav {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-nav a {
    font-size: 0.9375rem;
    color: var(--slate-500);
    transition: color 0.2s;
}

.footer-nav a:hover {
    color: var(--teal-400);
}

.footer-address {
    font-style: normal;
    font-size: 0.9375rem;
    line-height: 1.7;
    color: var(--slate-500);
}

.footer-link {
    color: var(--teal-400);
    font-weight: 600;
    transition: color 0.2s;
}

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

.footer-bottom {
    border-top: 1px solid rgba(148, 163, 184, 0.1);
    padding: 1.5rem 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.8125rem;
    color: var(--slate-600);
}

/* ============================================
   MOBILE NAV OVERLAY
   ============================================ */
.nav-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(2, 6, 23, 0.5);
    z-index: 98;
}

.nav-overlay.active {
    display: block;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
    .hero-grid {
        gap: 2rem;
    }

    .hero-img-secondary {
        width: 50%;
    }

    .about-grid,
    .contact-grid {
        gap: 2.5rem;
    }
}

@media (max-width: 768px) {
    .header-inner {
        height: 64px;
    }

    .mobile-menu-btn {
        display: flex;
        z-index: 101;
    }

    .site-nav {
        position: fixed;
        top: 0;
        right: 0;
        bottom: 0;
        width: min(320px, 85vw);
        background-color: #ffffff;
        flex-direction: column;
        align-items: stretch;
        padding: 5rem 1.5rem 2rem;
        gap: 0.25rem;
        box-shadow: var(--shadow-xl);
        transform: translateX(100%);
        transition: transform 0.3s ease;
        z-index: 99;
    }

    .site-nav.open {
        transform: translateX(0);
    }

    .nav-list {
        flex-direction: column;
        gap: 0.25rem;
    }

    .nav-list a {
        padding: 0.75rem 1rem;
        font-size: 1rem;
    }

    .nav-cta {
        margin-left: 0;
        margin-top: 1rem;
        justify-content: center;
    }

    /* Hero */
    .hero {
        padding: 5rem 0 3rem;
        min-height: auto;
    }

    .hero-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .hero-visual {
        order: -1;
    }

    .hero-image-stack {
        padding-right: 0;
        max-width: 400px;
        margin: 0 auto;
    }

    .hero-img-secondary {
        left: -0.5rem;
        bottom: -1rem;
        width: 55%;
    }

    .hero-title {
        font-size: clamp(1.875rem, 6vw, 2.5rem);
    }

    .hero-stats {
        gap: 1rem;
    }

    /* Services */
    .services {
        padding: 4rem 0;
    }

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

    /* About */
    .about {
        padding: 4rem 0;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .about-img-accent {
        right: 0;
        bottom: -1rem;
    }

    .about-values {
        grid-template-columns: 1fr;
    }

    /* Process */
    .process {
        padding: 4rem 0;
    }

    .process-steps {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .step-connector {
        display: none;
    }

    .step-number {
        font-size: 2.5rem;
    }

    /* Gallery */
    .gallery {
        padding: 4rem 0;
    }

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

    .gallery-item--large {
        grid-column: span 2;
        grid-row: span 1;
    }

    .gallery-item--wide {
        grid-column: span 2;
    }

    .gallery-item:not(.gallery-item--large):not(.gallery-item--wide) img {
        aspect-ratio: 1/1;
    }

    .gallery-item--large img {
        aspect-ratio: 16/9;
    }

    .gallery-item--wide img {
        aspect-ratio: 16/9;
    }

    .gallery-caption {
        opacity: 1;
        transform: translateY(0);
    }

    /* CTA */
    .cta-banner {
        padding: 3.5rem 0;
    }

    .cta-inner {
        flex-direction: column;
        text-align: center;
    }

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

    /* Contact */
    .contact {
        padding: 4rem 0;
    }

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

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

    /* Footer */
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1.125rem;
    }

    .hero-actions {
        flex-direction: column;
    }

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

    .hero-stats {
        flex-wrap: wrap;
    }

    .stat-divider {
        display: none;
    }

    .contact-form-wrapper {
        padding: 1.5rem;
    }

    .cta-actions {
        flex-direction: column;
        width: 100%;
    }

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

/* --- Reduced motion --- */
@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;
    }

    .gallery-item img {
        transition: none;
    }

    .service-card:hover {
        transform: none;
    }
}
