/* ============================================
   Fagmaleren Fred Thorsen og Sønn AS (Birkeland)
   Built by Agentas on the business-classic mold, re-skinned for this client:
   ink + warm paper, the logo's red/blue/yellow as accents, Fraunces headings over Figtree.
   ============================================ */

:root {
    --bg-primary: #fbf9f6;
    --bg-secondary: #f4efe7;
    --bg-card: #ffffff;
    --bg-dark: #1d1b18;
    --bg-dark-2: #2a2723;
    --border: #e7e0d5;
    --border-light: #d6ccbd;
    --text-primary: #1d1b18;
    --text-secondary: #4a4540;
    --text-muted: #6a645b;
    --text-on-dark: #f6f2ec;
    --text-on-dark-2: #c6c1b9;
    --brand-red: #f1333e;
    --brand-blue: #4664b1;
    --brand-yellow: #ffe418;
    --accent: #4664b1;
    --accent-hover: #3a5498;
    --cta: #f6d21c;
    --cta-hover: #ffe14a;
    --tricolour: linear-gradient(90deg, #f1333e 0 33.3%, #4664b1 33.3% 66.6%, #ffe418 66.6%);
    --shadow-sm: 0 1px 2px rgba(29, 27, 24, 0.05), 0 2px 8px rgba(29, 27, 24, 0.04);
    --shadow-md: 0 12px 32px rgba(29, 27, 24, 0.10);
    --shadow-lg: 0 24px 60px rgba(29, 27, 24, 0.18);
    --font: 'Figtree', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-display: 'Fraunces', Georgia, 'Times New Roman', serif;
    --radius: 16px;
    --radius-sm: 10px;
    --radius-lg: 22px;
    --transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    --max-width: 1200px;
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 84px;
}

body {
    font-family: var(--font);
    font-size: 1.0625rem;
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }

h1, h2, h3 {
    font-family: var(--font-display);
    font-weight: 600;
    line-height: 1.15;
    letter-spacing: -0.01em;
}

:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }

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

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.skip-link {
    position: absolute;
    left: 16px;
    top: -60px;
    z-index: 2000;
    background: var(--cta);
    color: var(--text-primary);
    padding: 10px 16px;
    border-radius: var(--radius-sm);
    font-weight: 700;
}

.skip-link:focus { top: 16px; }

/* ---- Navigation ---- */
#navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(29, 27, 24, 0.94);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(246, 242, 236, 0.07);
    transition: var(--transition);
}

#navbar.scrolled {
    background: rgba(29, 27, 24, 0.98);
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.22);
}

.nav-container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 76px;
}

.nav-logo { display: flex; align-items: center; z-index: 1001; }
.nav-logo img { height: 50px; width: auto; }

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

.nav-links > a:not(.nav-call) {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-on-dark-2);
    transition: color var(--transition);
    position: relative;
}

.nav-links > a:not(.nav-call):hover { color: #fff; }

.nav-links > a:not(.nav-call)::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--cta);
    border-radius: 1px;
    transition: width var(--transition);
}

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

.nav-call {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    background: var(--cta);
    color: var(--text-primary);
    border-radius: 999px;
    font-size: 0.92rem;
    font-weight: 700;
    transition: var(--transition);
}

.nav-call svg { width: 16px; height: 16px; }
.nav-call:hover { background: var(--cta-hover); }

.nav-hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
}

.nav-hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-on-dark);
    transition: var(--transition);
    border-radius: 2px;
}

.nav-hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-hamburger.active span:nth-child(2) { opacity: 0; }
.nav-hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ---- Hero (dark, photo mosaic) ---- */
#hero {
    position: relative;
    overflow: hidden;
    padding: 128px 24px 0;
    background:
        radial-gradient(ellipse 55% 65% at 92% 8%, rgba(70, 100, 177, 0.22), transparent 62%),
        radial-gradient(ellipse 45% 55% at 0% 100%, rgba(241, 51, 62, 0.08), transparent 60%),
        var(--bg-dark);
    color: var(--text-on-dark);
}

.hero-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 56px;
    align-items: center;
}

.hero-eyebrow {
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-on-dark-2);
    margin-bottom: 22px;
}

.brush { width: 58px; height: 24px; flex-shrink: 0; }
.brush path { fill: none; stroke-width: 4.2; stroke-linecap: round; }

.hero-title {
    font-size: clamp(2.4rem, 4.8vw, 3.9rem);
    line-height: 1.05;
    letter-spacing: -0.02em;
    color: #fff;
    margin-bottom: 22px;
}

.hero-lead {
    font-size: 1.15rem;
    line-height: 1.7;
    color: var(--text-on-dark-2);
    max-width: 33em;
    margin-bottom: 32px;
}

.hero-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 24px;
}

.hero-note {
    font-size: 0.93rem;
    color: var(--text-on-dark-2);
    line-height: 1.6;
}

.hero-note + .hero-note { margin-top: 4px; }

.hero-note a {
    color: #fff;
    font-weight: 600;
    text-decoration: underline;
    text-decoration-color: var(--cta);
    text-underline-offset: 3px;
}

.hero-mosaic {
    display: grid;
    grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr);
    grid-template-rows: minmax(0, 1fr) minmax(0, 1fr);
    gap: 14px;
    height: 540px;
}

.hero-mosaic img {
    width: 100%;
    height: 100%;
    min-width: 0;
    min-height: 0;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.35);
}

.hm-main { grid-row: 1 / span 2; object-position: 58% 30%; }
.hm-a { object-position: 50% 55%; }
.hm-b { object-position: 50% 30%; }

.hero-creds-wrap {
    max-width: var(--max-width);
    margin: 56px auto 0;
    border-top: 1px solid rgba(246, 242, 236, 0.12);
}

.hero-creds {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    padding: 28px 0 34px;
}

.hero-creds li { display: flex; align-items: flex-start; gap: 14px; }

.hero-creds svg {
    width: 28px;
    height: 28px;
    color: var(--cta);
    flex-shrink: 0;
    margin-top: 2px;
}

.hero-creds strong {
    display: block;
    color: #fff;
    font-size: 1.02rem;
    font-weight: 700;
    line-height: 1.35;
}

.hero-creds span {
    display: block;
    color: var(--text-on-dark-2);
    font-size: 0.9rem;
    line-height: 1.45;
    margin-top: 2px;
}

/* ---- Buttons ---- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 15px 28px;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 700;
    font-family: var(--font);
    cursor: pointer;
    transition: var(--transition);
    border: none;
    min-height: 52px;
}

.btn-cta { background: var(--cta); color: var(--text-primary); box-shadow: 0 8px 24px rgba(246, 210, 28, 0.22); }
.btn-cta:hover { background: var(--cta-hover); transform: translateY(-2px); }

.btn-ghost {
    background: transparent;
    color: #fff;
    border: 1.5px solid rgba(246, 242, 236, 0.45);
}

.btn-ghost:hover { border-color: #fff; background: rgba(246, 242, 236, 0.07); }

.btn-dark { background: var(--bg-dark); color: #fff; }
.btn-dark:hover { background: #34302a; }

.btn-full { width: 100%; }

.btn-call { padding: 12px 26px; text-align: left; }
.btn-call svg { width: 22px; height: 22px; flex-shrink: 0; }

.btn-call-label {
    display: block;
    font-size: 0.74rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.09em;
    line-height: 1.3;
}

.btn-call-num {
    display: block;
    font-size: 1.2rem;
    font-weight: 800;
    letter-spacing: 0.01em;
    line-height: 1.2;
}

/* ---- Sections common ---- */
.section { padding: 104px 0; }
.section-paper { background: var(--bg-secondary); }
.section-dark { background: var(--bg-dark); color: var(--text-on-dark); }

.section-label {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    margin-bottom: 14px;
}

.section-label::before {
    content: '';
    width: 30px;
    height: 4px;
    border-radius: 2px;
    background: var(--tricolour);
}

.section-dark .section-label { color: var(--cta); }

.section-title {
    font-size: clamp(2rem, 3.6vw, 2.8rem);
    letter-spacing: -0.015em;
    margin-bottom: 18px;
    max-width: 20em;
}

.section-dark .section-title { color: #fff; }

.section-lead {
    color: var(--text-secondary);
    font-size: 1.1rem;
    line-height: 1.7;
    max-width: 40em;
    margin-bottom: 48px;
}

.section-dark .section-lead { color: var(--text-on-dark-2); }

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

.service-card {
    display: flex;
    flex-direction: column;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 30px 28px 26px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    border-color: var(--border-light);
}

.service-icon {
    width: 54px;
    height: 54px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 15px;
    margin-bottom: 20px;
}

.service-icon svg { width: 27px; height: 27px; }

.tint-red .service-icon { background: #fde8e7; color: #b3262f; }
.tint-blue .service-icon { background: #e8edf8; color: #3a5498; }
.tint-yellow .service-icon { background: #fff4bf; color: #7a5c00; }

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

.service-card p {
    font-size: 0.98rem;
    color: var(--text-secondary);
    line-height: 1.65;
    margin-bottom: 18px;
    flex: 1;
}

/* Card keywords as one plain line, not chips (UI rule: no tags/chips as information carriers) */
.service-card .service-keywords {
    flex: 0;
    margin: 0;
    padding-top: 14px;
    border-top: 1px solid var(--border);
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--text-muted);
    line-height: 1.5;
}

/* ---- About ---- */
.about-grid {
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    gap: 64px;
    align-items: start;
}

.about-media { position: relative; }

.about-media img {
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

.about-media::after {
    content: '';
    position: absolute;
    left: 28px;
    right: 28px;
    bottom: -9px;
    height: 9px;
    border-radius: 0 0 6px 6px;
    background: var(--tricolour);
}

.about-content > p {
    color: var(--text-secondary);
    font-size: 1.05rem;
    margin-bottom: 16px;
    max-width: 36em;
}

.about-sub {
    font-size: 1.55rem;
    margin: 38px 0 18px;
}

.work-steps {
    list-style: none;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    counter-reset: step;
}

.work-steps li {
    counter-increment: step;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 20px 22px 22px;
    box-shadow: var(--shadow-sm);
}

.work-steps li::before {
    content: counter(step);
    display: block;
    font-family: var(--font-display);
    font-size: 1.7rem;
    font-weight: 600;
    line-height: 1;
    color: var(--accent);
    margin-bottom: 10px;
}

.work-steps h4 {
    font-size: 1.04rem;
    font-weight: 700;
    line-height: 1.35;
    margin-bottom: 6px;
}

.work-steps p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ---- Our work: gallery + lightbox ---- */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
}

.gallery-thumb {
    position: relative;
    padding: 0;
    border: 0;
    background: var(--bg-dark-2);
    cursor: zoom-in;
    border-radius: var(--radius);
    overflow: hidden;
    aspect-ratio: 4 / 5;
}

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

.gallery-thumb:hover img { transform: scale(1.04); }
.gallery-thumb:focus-visible { outline: 3px solid var(--cta); outline-offset: 3px; }

.lightbox {
    position: fixed;
    inset: 0;
    z-index: 3000;
    background: rgba(15, 14, 12, 0.95);
    display: none;
    align-items: center;
    justify-content: center;
    padding: 56px 84px;
}

.lightbox:not([hidden]) { display: flex; }

.lb-figure {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    max-width: 100%;
}

.lb-img {
    max-width: min(88vw, 1200px);
    max-height: 78vh;
    object-fit: contain;
    border-radius: 10px;
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.55);
}

.lb-cap {
    color: #ece7df;
    font-size: 0.95rem;
    text-align: center;
    max-width: 62ch;
    line-height: 1.5;
}

.lb-count { color: #b9b3aa; margin-left: 6px; white-space: nowrap; }

.lb-close, .lb-prev, .lb-next {
    position: absolute;
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    border: 0;
    cursor: pointer;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    font-size: 30px;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
    font-family: var(--font);
}

.lb-close svg, .lb-prev svg, .lb-next svg { width: 24px; height: 24px; }
.lb-close:hover, .lb-prev:hover, .lb-next:hover { background: rgba(255, 255, 255, 0.26); }
.lb-close:focus-visible, .lb-prev:focus-visible, .lb-next:focus-visible { outline: 3px solid var(--cta); outline-offset: 2px; }
.lb-close { top: 20px; right: 24px; }
.lb-prev { left: 20px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 20px; top: 50%; transform: translateY(-50%); }

/* ---- Area, hours, address ---- */
.info-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
    margin-top: 12px;
}

.info-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 30px;
    box-shadow: var(--shadow-sm);
}

.info-card-title {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.3rem;
    margin-bottom: 18px;
}

.info-card-title svg { width: 24px; height: 24px; color: var(--accent); flex-shrink: 0; }

.info-card p { color: var(--text-secondary); margin-bottom: 12px; }

.area-place {
    font-family: var(--font-display);
    font-size: 1.45rem;
    font-weight: 600;
    line-height: 1.25;
}

.info-card .area-place { color: var(--text-primary); margin-bottom: 10px; }

.info-card .info-card-note {
    font-size: 0.92rem;
    color: var(--text-muted);
    margin-bottom: 0;
}

.hours-list { list-style: none; margin-bottom: 16px; }

.hours-list li {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
    color: var(--text-secondary);
}

.hours-list strong { color: var(--text-primary); font-weight: 700; white-space: nowrap; }

.info-card address {
    font-style: normal;
    font-size: 1.1rem;
    font-weight: 600;
    line-height: 1.6;
    color: var(--text-primary);
    margin-bottom: 14px;
}

.text-link {
    color: var(--accent);
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.text-link:hover { color: var(--accent-hover); }

/* ---- Contact ---- */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 56px;
    align-items: start;
}

.contact-info h2 {
    font-size: clamp(2rem, 3.4vw, 2.6rem);
    margin-bottom: 14px;
}

.contact-info > p {
    color: var(--text-secondary);
    font-size: 1.05rem;
    margin-bottom: 26px;
    max-width: 32em;
}

.contact-phone {
    display: inline-flex;
    align-items: center;
    gap: 16px;
    padding: 16px 28px;
    background: var(--bg-dark);
    color: #fff;
    border-radius: var(--radius);
    box-shadow: var(--shadow-md);
    margin-bottom: 28px;
    transition: var(--transition);
}

.contact-phone:hover { background: #34302a; transform: translateY(-2px); }
.contact-phone svg { width: 26px; height: 26px; color: var(--cta); flex-shrink: 0; }

.contact-phone-label {
    display: block;
    font-size: 0.74rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.09em;
    color: var(--cta);
}

.contact-phone-num {
    display: block;
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: 0.01em;
    line-height: 1.2;
}

.people {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin-bottom: 22px;
}

.person {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 18px 20px;
    box-shadow: var(--shadow-sm);
}

.person h3 {
    font-family: var(--font);
    font-size: 1.04rem;
    font-weight: 700;
    letter-spacing: 0;
    margin-bottom: 8px;
}

.person a {
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 4px 0;
    color: var(--text-secondary);
    font-weight: 500;
    transition: color var(--transition);
    overflow-wrap: anywhere;
}

.person a:hover { color: var(--accent); }
.person svg { width: 16px; height: 16px; color: var(--accent); flex-shrink: 0; }

.contact-meta { font-size: 0.92rem; color: var(--text-muted); }

.contact-form-wrap {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 36px;
    box-shadow: var(--shadow-md);
}

.form-title {
    font-size: 1.5rem;
    margin-bottom: 22px;
}

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

.form-group label {
    display: block;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    background: var(--bg-primary);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    font-size: 1rem;
    font-family: var(--font);
    transition: var(--transition);
    outline: none;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(70, 100, 177, 0.18);
    background: #fff;
}

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

.form-hint {
    font-size: 0.86rem;
    color: var(--text-muted);
    margin-top: 6px;
}

.form-status {
    margin-top: 16px;
    padding: 14px 16px;
    border-radius: var(--radius-sm);
    background: #fff8d1;
    border: 1px solid #ecd36b;
    color: var(--text-primary);
    font-size: 0.95rem;
    line-height: 1.5;
}

/* ---- Footer ---- */
.site-footer {
    background: var(--bg-dark);
    color: var(--text-on-dark-2);
    padding: 64px 0 64px; /* the bottom part is room for the fixed preview bar */
    font-size: 0.95rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 1.1fr 0.7fr;
    gap: 40px;
    padding-bottom: 36px;
}

.footer-brand img { height: 66px; width: auto; margin-bottom: 18px; }
.footer-brand p { max-width: 26em; }

.footer-col h3 {
    font-family: var(--font);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #fff;
    margin-bottom: 14px;
}

.footer-col ul { list-style: none; display: grid; gap: 10px; }
.footer-col a { color: var(--text-on-dark); transition: color var(--transition); }
.footer-col a:hover { color: var(--cta); }

.footer-bottom {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 8px 24px;
    padding-top: 22px;
    border-top: 1px solid rgba(246, 242, 236, 0.12);
    font-size: 0.86rem;
}

/* ---- Animations ---- */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .fade-in { opacity: 1; transform: none; transition: none; }
    .service-card, .gallery-thumb img, .btn, .contact-phone { transition: none; }
}

/* ---- Responsive ---- */
@media (max-width: 1100px) {
    .nav-links { gap: 22px; }
}

@media (max-width: 1024px) {
    .hero-inner { grid-template-columns: 1fr; gap: 44px; }
    .hero-mosaic { height: 460px; max-width: 680px; }
    .hero-creds { grid-template-columns: repeat(2, 1fr); }
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .about-grid { grid-template-columns: 1fr; gap: 48px; }
    .about-media { max-width: 520px; }
    .gallery-grid { grid-template-columns: repeat(3, 1fr); }
    .info-grid { grid-template-columns: 1fr 1fr; }
    .info-grid .info-card:last-child { grid-column: 1 / -1; }
    .contact-grid { grid-template-columns: 1fr; gap: 44px; }
    .contact-form-wrap { max-width: 640px; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 860px) {
    .nav-hamburger { display: flex; }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: min(320px, 86vw);
        height: 100vh;
        height: 100dvh;
        background: var(--bg-dark);
        flex-direction: column;
        align-items: flex-start;
        justify-content: center;
        padding: 40px 36px;
        gap: 22px;
        border-left: 1px solid rgba(246, 242, 236, 0.1);
        box-shadow: -20px 0 40px rgba(0, 0, 0, 0.3);
        transition: right var(--transition);
    }

    .nav-links.open { right: 0; }
    .nav-links > a:not(.nav-call) { font-size: 1.15rem; color: var(--text-on-dark); }
    .nav-call { font-size: 1rem; padding: 12px 22px; margin-top: 8px; }
}

@media (max-width: 768px) {
    .section { padding: 76px 0; }
    #hero { padding-top: 112px; }
    .hero-actions { flex-direction: column; align-items: stretch; }
    .hero-actions .btn { width: 100%; justify-content: center; }
    .hero-mosaic { height: 380px; gap: 10px; }
    .hero-mosaic img { border-radius: 16px; }
    .hero-creds-wrap { margin-top: 44px; }
    .services-grid { grid-template-columns: 1fr; }
    .work-steps { grid-template-columns: 1fr; }
    .gallery-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .info-grid { grid-template-columns: 1fr; }
    .info-grid .info-card:last-child { grid-column: auto; }
    .people { grid-template-columns: 1fr; }
    .contact-phone { width: 100%; }
    .lightbox { padding: 64px 12px 84px; }
    .lb-img { max-width: 94vw; max-height: 70vh; }
    .lb-prev, .lb-next { top: auto; bottom: 18px; transform: none; }
    .lb-prev { left: calc(50% - 64px); }
    .lb-next { right: calc(50% - 64px); }
    .lb-close { top: 12px; right: 14px; }
}

@media (max-width: 480px) {
    .container, .nav-container { padding-left: 18px; padding-right: 18px; }
    #hero { padding-left: 18px; padding-right: 18px; }
    .nav-logo img { height: 44px; }
    .hero-title { font-size: 2.2rem; }
    .hero-lead { font-size: 1.05rem; }
    .hero-mosaic { height: 320px; }
    .hero-creds { grid-template-columns: 1fr; gap: 18px; padding-bottom: 30px; }
    .service-card { padding: 26px 22px 22px; }
    .contact-form-wrap { padding: 26px 22px; }
    .info-card { padding: 26px 22px; }
    .contact-phone-num { font-size: 1.3rem; }
    .footer-grid { grid-template-columns: 1fr; }
}
