/* ============================================
   TNT Custom Metal Art Creations
   Classic & Elegant — Midnight Blue + Mint
   ============================================ */

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

:root {
    --midnight: #0a1628;
    --midnight-light: #132038;
    --midnight-mid: #1a2d4a;
    --mint: #5fb8a0;
    --mint-light: #7ecfb8;
    --mint-pale: #e8f5f0;
    --gold: #c9a84c;
    --gold-light: #dfc06e;
    --cream: #f7f4ef;
    --cream-dark: #ede8df;
    --white: #ffffff;
    --text-dark: #1a1a1a;
    --text-muted: #5a5a5a;
    --text-light: #f0ece4;
    --font-serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
    --font-sans: 'Lato', 'Helvetica Neue', Arial, sans-serif;
    --shadow-sm: 0 1px 3px rgba(10, 22, 40, 0.08);
    --shadow-md: 0 4px 20px rgba(10, 22, 40, 0.10);
    --shadow-lg: 0 8px 40px rgba(10, 22, 40, 0.14);
    --radius: 4px;
    --radius-lg: 8px;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
    font-family: var(--font-sans);
    color: var(--text-dark);
    background-color: var(--cream);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

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

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

ul {
    list-style: none;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ---------- SKIP LINK ---------- */
.skip-link {
    position: absolute;
    top: -100%;
    left: 16px;
    background: var(--midnight);
    color: var(--white);
    padding: 8px 16px;
    border-radius: var(--radius);
    z-index: 9999;
    font-size: 0.875rem;
}
.skip-link:focus {
    top: 16px;
}

/* ---------- PRELOADER ---------- */
.preloader {
    position: fixed;
    inset: 0;
    background: var(--midnight);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}
.preloader.hidden {
    opacity: 0;
    visibility: hidden;
}
.preloader-inner {
    text-align: center;
}
.preloader-icon {
    font-size: 3rem;
    display: block;
    animation: pulse 1s ease-in-out infinite;
    color: var(--mint);
}
@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.15); opacity: 0.7; }
}

/* ---------- HEADER ---------- */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(10, 22, 40, 0.0);
    transition: background var(--transition), box-shadow var(--transition), padding var(--transition);
    padding: 20px 0;
}
.site-header.scrolled {
    background: rgba(10, 22, 40, 0.97);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
    padding: 12px 0;
}

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

/* ---------- LOGO ---------- */
.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    z-index: 1001;
}
.logo-mark {
    font-size: 1.5rem;
    color: var(--mint);
    line-height: 1;
}
.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}
.logo-name {
    font-family: var(--font-serif);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--white);
    letter-spacing: 0.08em;
}
.logo-sub {
    font-size: 0.65rem;
    color: var(--mint-light);
    letter-spacing: 0.2em;
    text-transform: uppercase;
    font-weight: 500;
}

/* ---------- NAV ---------- */
.nav-main {
    display: block;
}
.nav-list {
    display: flex;
    align-items: center;
    gap: 32px;
}
.nav-link {
    font-size: 0.8125rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.8);
    transition: color var(--transition);
    position: relative;
}
.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--mint);
    transition: width var(--transition);
}
.nav-link:hover,
.nav-link:focus {
    color: var(--mint-light);
}
.nav-link:hover::after,
.nav-link:focus::after {
    width: 100%;
}
.nav-cta {
    background: var(--mint);
    color: var(--midnight) !important;
    padding: 10px 22px;
    border-radius: var(--radius);
    font-weight: 700;
    letter-spacing: 0.08em;
    transition: background var(--transition), transform var(--transition);
}
.nav-cta::after {
    display: none;
}
.nav-cta:hover {
    background: var(--mint-light);
    transform: translateY(-1px);
}

/* ---------- NAV TOGGLE ---------- */
.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
}
.hamburger {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--white);
    position: relative;
    transition: background var(--transition);
}
.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    width: 24px;
    height: 2px;
    background: var(--white);
    left: 0;
    transition: transform var(--transition);
}
.hamburger::before { top: -7px; }
.hamburger::after { top: 7px; }
.nav-toggle[aria-expanded="true"] .hamburger {
    background: transparent;
}
.nav-toggle[aria-expanded="true"] .hamburger::before {
    transform: rotate(45deg);
    top: 0;
}
.nav-toggle[aria-expanded="true"] .hamburger::after {
    transform: rotate(-45deg);
    top: 0;
}

/* ---------- HERO ---------- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: var(--midnight);
    overflow: hidden;
}
.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(10, 22, 40, 0.92) 0%, rgba(10, 22, 40, 0.7) 50%, rgba(10, 22, 40, 0.4) 100%);
    z-index: 1;
}
.hero-container {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
    padding-top: 100px;
    padding-bottom: 60px;
}
.hero-content {
    max-width: 560px;
}
.hero-eyebrow {
    font-family: var(--font-sans);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--mint);
    margin-bottom: 20px;
}
.hero-title {
    font-family: var(--font-serif);
    font-size: clamp(1.75rem, 3.5vw, 2.75rem);
    font-weight: 700;
    line-height: 1.25;
    color: var(--white);
    margin-bottom: 24px;
}
.hero-title em {
    color: var(--mint-light);
    font-style: italic;
}
.hero-description {
    font-size: 1.0625rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.72);
    margin-bottom: 36px;
    max-width: 480px;
}
.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 52px;
}

/* ---------- BUTTONS ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-sans);
    font-size: 0.8125rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 14px 30px;
    border-radius: var(--radius);
    border: 2px solid transparent;
    cursor: pointer;
    transition: all var(--transition);
    white-space: nowrap;
}
.btn-primary {
    background: var(--mint);
    color: var(--midnight);
    border-color: var(--mint);
}
.btn-primary:hover,
.btn-primary:focus {
    background: var(--mint-light);
    border-color: var(--mint-light);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(95, 184, 160, 0.3);
}
.btn-secondary {
    background: transparent;
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.35);
}
.btn-secondary:hover,
.btn-secondary:focus {
    border-color: var(--mint);
    color: var(--mint-light);
    transform: translateY(-2px);
}
.btn-full {
    width: 100%;
    justify-content: center;
}
.btn-large {
    padding: 18px 38px;
    font-size: 0.875rem;
}
.btn-icon {
    width: 18px;
    height: 18px;
}

/* ---------- HERO STATS ---------- */
.hero-stats {
    display: flex;
    align-items: center;
    gap: 24px;
}
.hero-stat {
    display: flex;
    flex-direction: column;
}
.stat-number {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--mint);
    line-height: 1;
}
.stat-label {
    font-size: 0.6875rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.5);
    margin-top: 6px;
}
.hero-stat-divider {
    width: 1px;
    height: 40px;
    background: rgba(255, 255, 255, 0.15);
}

/* ---------- HERO IMAGE ---------- */
.hero-image {
    position: relative;
}
.hero-image img {
    width: 100%;
    height: 820px;
    object-fit: cover;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}
.hero-image-accent {
    position: absolute;
    bottom: -20px;
    left: -20px;
    width: 200px;
    height: 200px;
    border: 2px solid var(--mint);
    border-radius: var(--radius-lg);
    z-index: -1;
    opacity: 0.4;
}

/* ---------- SECTION COMMON ---------- */
.section-eyebrow {
    font-family: var(--font-sans);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--mint);
    margin-bottom: 16px;
}
.section-title {
    font-family: var(--font-serif);
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    font-weight: 700;
    line-height: 1.2;
    color: var(--midnight);
    margin-bottom: 20px;
}
.section-subtitle {
    font-size: 1.0625rem;
    line-height: 1.7;
    color: var(--text-muted);
    max-width: 600px;
}
.section-header {
    text-align: center;
    margin-bottom: 64px;
}
.section-header .section-subtitle {
    margin: 0 auto;
}

/* ---------- ABOUT ---------- */
.about {
    padding: 100px 0;
    background: var(--cream);
}
.about-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}
.about-content .section-title {
    text-align: left;
}
.about-lead {
    font-size: 1.125rem;
    line-height: 1.8;
    color: var(--text-dark);
    margin-bottom: 20px;
    font-weight: 400;
}
.about-content p {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--text-muted);
    margin-bottom: 16px;
}
.about-image {
    position: relative;
}
.about-image img {
    width: 100%;
    height: 700px;
    object-fit: cover;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}
.about-image-badge {
    position: absolute;
    bottom: 32px;
    right: -24px;
    background: var(--midnight);
    color: var(--white);
    padding: 20px 28px;
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: var(--shadow-lg);
}
.badge-icon {
    font-size: 1.25rem;
    color: var(--mint);
}
.badge-text {
    font-family: var(--font-serif);
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.05em;
}

/* ---------- SERVICES ---------- */
.services {
    padding: 100px 0;
    background: var(--white);
}
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}
.service-card {
    background: var(--cream);
    border-radius: var(--radius-lg);
    padding: 40px 32px;
    transition: transform var(--transition), box-shadow var(--transition);
    border: 1px solid transparent;
}
.service-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(95, 184, 160, 0.2);
}
.service-icon {
    width: 52px;
    height: 52px;
    color: var(--mint);
    margin-bottom: 24px;
}
.service-icon svg {
    width: 100%;
    height: 100%;
}
.service-title {
    font-family: var(--font-serif);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--midnight);
    margin-bottom: 14px;
    line-height: 1.3;
}
.service-description {
    font-size: 0.9375rem;
    line-height: 1.75;
    color: var(--text-muted);
}

/* ---------- GALLERY ---------- */
.gallery {
    padding: 100px 0;
    background: var(--cream);
}
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-template-rows: repeat(2, 280px);
    gap: 20px;
}
.gallery-item {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    cursor: pointer;
}
.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}
.gallery-item:hover img {
    transform: scale(1.05);
}
.gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(10, 22, 40, 0.8) 0%, transparent 60%);
    display: flex;
    align-items: flex-end;
    padding: 24px;
    opacity: 0;
    transition: opacity var(--transition);
}
.gallery-item:hover .gallery-overlay {
    opacity: 1;
}
.gallery-label {
    font-family: var(--font-serif);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--white);
}
.gallery-item--large {
    grid-column: span 5;
    grid-row: span 2;
}
.gallery-item--large img {
    height: 100%;
}
.gallery-item--wide {
    grid-column: span 7;
}
.gallery-item:not(.gallery-item--large):not(.gallery-item--wide) {
    grid-column: span 3;
}

/* ---------- PROCESS ---------- */
.process {
    padding: 100px 0;
    background: var(--midnight);
}
.process .section-title {
    color: var(--white);
}
.process .section-subtitle {
    color: rgba(255, 255, 255, 0.6);
}
.process-timeline {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    position: relative;
}
.process-timeline::before {
    content: '';
    position: absolute;
    top: 36px;
    left: 12.5%;
    right: 12.5%;
    height: 1px;
    background: rgba(95, 184, 160, 0.3);
}
.process-step {
    text-align: center;
    position: relative;
}
.step-number {
    font-family: var(--font-serif);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--mint);
    line-height: 1;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}
.step-title {
    font-family: var(--font-serif);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 14px;
}
.step-description {
    font-size: 0.9375rem;
    line-height: 1.75;
    color: rgba(255, 255, 255, 0.58);
    max-width: 240px;
    margin: 0 auto;
}

/* ---------- TESTIMONIALS ---------- */
.testimonials {
    padding: 100px 0;
    background: var(--cream-dark);
}
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}
.testimonial-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 40px 32px;
    position: relative;
    box-shadow: var(--shadow-sm);
    transition: box-shadow var(--transition);
}
.testimonial-card:hover {
    box-shadow: var(--shadow-md);
}
.testimonial-quote-mark {
    font-family: var(--font-serif);
    font-size: 5rem;
    line-height: 0.8;
    color: var(--mint);
    position: absolute;
    top: 16px;
    left: 28px;
    opacity: 0.3;
}
.testimonial-text {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--text-dark);
    margin-bottom: 24px;
    position: relative;
    z-index: 1;
}
.testimonial-author {
    font-style: normal;
}
.testimonial-name {
    font-family: var(--font-serif);
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--midnight);
}

/* ---------- CTA BANNER ---------- */
.cta-banner {
    position: relative;
    padding: 100px 0;
    background: var(--midnight-light);
    overflow: hidden;
}
.cta-banner::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: rgba(95, 184, 160, 0.06);
}
.cta-banner::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: rgba(95, 184, 160, 0.04);
}
.cta-container {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 48px;
    align-items: center;
}
.cta-eyebrow {
    color: var(--mint);
}
.cta-title {
    font-family: var(--font-serif);
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    font-weight: 700;
    color: var(--white);
    line-height: 1.2;
    margin-bottom: 20px;
}
.cta-description {
    font-size: 1.0625rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.65);
    max-width: 480px;
}
.cta-actions {
    display: flex;
    flex-direction: column;
    gap: 16px;
    flex-shrink: 0;
}

/* ---------- CONTACT ---------- */
.contact {
    padding: 100px 0;
    background: var(--white);
}
.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: start;
}
.contact-info .section-title {
    text-align: left;
}
.contact-intro {
    font-size: 1.0625rem;
    line-height: 1.8;
    color: var(--text-muted);
    margin-bottom: 40px;
}
.contact-details {
    display: flex;
    flex-direction: column;
    gap: 28px;
    margin-bottom: 32px;
}
.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}
.contact-icon {
    width: 44px;
    height: 44px;
    flex-shrink: 0;
    color: var(--mint);
    background: var(--mint-pale);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.contact-icon svg {
    width: 20px;
    height: 20px;
}
.contact-label {
    display: block;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 4px;
}
.contact-value {
    display: block;
    font-size: 1rem;
    color: var(--text-dark);
    line-height: 1.6;
}
.contact-link {
    font-size: 1rem;
    color: var(--midnight);
    font-weight: 500;
    transition: color var(--transition);
}
.contact-link:hover {
    color: var(--mint);
}
.contact-map {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

/* ---------- FORM ---------- */
.contact-form-wrapper {
    background: var(--cream);
    border-radius: var(--radius-lg);
    padding: 44px;
    box-shadow: var(--shadow-sm);
}
.form-title {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--midnight);
    margin-bottom: 8px;
}
.form-intro {
    font-size: 0.9375rem;
    color: var(--text-muted);
    margin-bottom: 32px;
    line-height: 1.6;
}
.form-group {
    margin-bottom: 20px;
}
.form-label {
    display: block;
    font-size: 0.8125rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-dark);
    margin-bottom: 8px;
}
.form-input {
    width: 100%;
    padding: 14px 16px;
    font-family: var(--font-sans);
    font-size: 0.9375rem;
    color: var(--text-dark);
    background: var(--white);
    border: 1.5px solid var(--cream-dark);
    border-radius: var(--radius);
    transition: border-color var(--transition), box-shadow var(--transition);
    outline: none;
}
.form-input:focus {
    border-color: var(--mint);
    box-shadow: 0 0 0 3px rgba(95, 184, 160, 0.15);
}
.form-input::placeholder {
    color: var(--text-muted);
    opacity: 0.6;
}
.form-select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%235a5a5a' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 40px;
    cursor: pointer;
}
.form-textarea {
    resize: vertical;
    min-height: 120px;
}
.form-success {
    text-align: center;
    padding: 40px 20px;
}
.success-icon {
    width: 64px;
    height: 64px;
    background: var(--mint);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    font-weight: 700;
    margin: 0 auto 20px;
}
.success-title {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--midnight);
    margin-bottom: 12px;
}
.success-text {
    font-size: 0.9375rem;
    color: var(--text-muted);
    line-height: 1.7;
}

/* ---------- FOOTER ---------- */
.site-footer {
    background: var(--midnight);
    color: var(--white);
    padding: 64px 0 0;
}
.footer-inner {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1.5fr;
    gap: 48px;
    padding-bottom: 48px;
}
.footer-tagline {
    font-size: 0.9375rem;
    color: rgba(255, 255, 255, 0.55);
    line-height: 1.7;
    margin-top: 16px;
    max-width: 280px;
}
.footer-nav-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.footer-nav a {
    font-size: 0.9375rem;
    color: rgba(255, 255, 255, 0.6);
    transition: color var(--transition);
}
.footer-nav a:hover {
    color: var(--mint-light);
}
.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.footer-phone,
.footer-email {
    font-size: 0.9375rem;
    color: rgba(255, 255, 255, 0.7);
    transition: color var(--transition);
}
.footer-phone:hover,
.footer-email:hover {
    color: var(--mint-light);
}
.footer-address {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.45);
    line-height: 1.6;
}
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 24px 0;
}
.footer-bottom-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.footer-copyright,
.footer-location {
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.35);
}

/* ---------- BACK TO TOP ---------- */
.back-to-top {
    position: fixed;
    bottom: 32px;
    right: 32px;
    width: 48px;
    height: 48px;
    background: var(--midnight);
    color: var(--mint);
    border: 1px solid var(--mint);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(16px);
    transition: all var(--transition);
    z-index: 999;
}
.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.back-to-top:hover {
    background: var(--mint);
    color: var(--midnight);
}
.back-to-top svg {
    width: 20px;
    height: 20px;
}

/* ---------- SCROLL REVEAL (progressive enhancement) ---------- */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(24px);
        transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1), transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
    }
    .reveal.revealed {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ---------- MOBILE NAV OVERLAY ---------- */
.nav-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(10, 22, 40, 0.97);
    z-index: 999;
    align-items: center;
    justify-content: center;
}
.nav-overlay.active {
    display: flex;
}
.nav-overlay .nav-list {
    flex-direction: column;
    gap: 28px;
}
.nav-overlay .nav-link {
    font-size: 1.25rem;
    color: var(--white);
}
.nav-overlay .nav-cta {
    font-size: 1rem;
    padding: 14px 36px;
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .hero-content {
        max-width: 100%;
    }
    .hero-description {
        max-width: 100%;
        margin-left: auto;
        margin-right: auto;
    }
    .hero-actions {
        justify-content: center;
    }
    .hero-stats {
        justify-content: center;
    }
    .hero-image {
        max-width: 500px;
        margin: 0 auto;
    }
    .hero-image img {
        height: 500px;
    }
    .about-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .about-content .section-title {
        text-align: center;
    }
    .about-image {
        max-width: 500px;
        margin: 0 auto;
    }
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: auto;
    }
    .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) {
        grid-column: span 1;
    }
    .gallery-item img {
        height: 280px;
    }
    .process-timeline {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }
    .process-timeline::before {
        display: none;
    }
    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .cta-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .cta-actions {
        flex-direction: row;
        justify-content: center;
    }
    .contact-container {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    .contact-info .section-title {
        text-align: center;
    }
    .contact-intro {
        text-align: center;
    }
    .footer-inner {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .nav-main {
        display: none;
    }
    .nav-toggle {
        display: block;
    }
    .hero {
        min-height: auto;
        padding: 120px 0 60px;
    }
    .hero-container {
        padding-top: 0;
    }
    .hero-image-accent {
        display: none;
    }
    .services-grid {
        grid-template-columns: 1fr;
    }
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    .gallery-item--large,
    .gallery-item--wide {
        grid-column: span 1;
    }
    .process-timeline {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    .cta-actions {
        flex-direction: column;
    }
    .contact-form-wrapper {
        padding: 28px;
    }
    .footer-inner {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    .footer-bottom-inner {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }
    .about-image-badge {
        right: 16px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }
    .hero-actions {
        flex-direction: column;
        align-items: center;
    }
    .hero-stats {
        flex-direction: column;
        gap: 16px;
    }
    .hero-stat-divider {
        width: 40px;
        height: 1px;
    }
    .btn {
        width: 100%;
        justify-content: center;
    }
}
