/* ==========================================
   SharpCraft Cabinets — Style Sheet
   Palette: Teal #1B5E6B / Orange #E8871E
   ========================================== */

:root {
    --teal:        #1B5E6B;
    --teal-dark:   #12434D;
    --teal-light:  #2A8899;
    --orange:      #E8871E;
    --orange-light:#F5A623;
    --orange-grad: linear-gradient(135deg, #E8871E, #F5A623);
    --bg:          #FAFAFA;
    --bg-alt:      #F0F4F5;
    --text:        #2D3436;
    --text-light:  #636E72;
    --white:       #FFFFFF;
    --shadow:      0 4px 24px rgba(27,94,107,0.08);
    --shadow-hover:0 8px 32px rgba(27,94,107,0.14);
    --radius:      12px;
    --radius-sm:   8px;
    --transition:  0.3s cubic-bezier(0.4,0,0.2,1);
    --font-heading:'Montserrat', sans-serif;
    --font-body:   'Open Sans', sans-serif;
    --nav-height:  72px;
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--nav-height);
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.7;
    color: var(--text);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
}

h1,h2,h3,h4,h5,h6 {
    font-family: var(--font-heading);
    line-height: 1.2;
    color: var(--teal-dark);
}

a { color: var(--teal); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--orange); }

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

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

/* ---- Buttons ---- */
.btn {
    display: inline-flex; align-items: center; justify-content: center;
    padding: 14px 32px;
    font-family: var(--font-heading);
    font-weight: 700; font-size: 0.95rem;
    border-radius: 50px;
    border: 2px solid transparent;
    cursor: pointer;
    transition: all var(--transition);
    text-decoration: none;
    gap: 8px;
}
.btn-primary {
    background: var(--orange-grad);
    color: var(--white);
    border-color: var(--orange);
}
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(232,135,30,0.35);
    color: var(--white);
}
.btn-outline {
    background: transparent;
    color: var(--white);
    border-color: var(--white);
}
.btn-outline:hover {
    background: var(--white);
    color: var(--teal-dark);
}
.btn-nav {
    padding: 10px 24px;
    background: var(--orange-grad);
    color: var(--white) !important;
    border-color: var(--orange);
    font-size: 0.85rem;
}
.btn-nav:hover { transform: translateY(-1px); box-shadow: 0 4px 12px rgba(232,135,30,0.3); color: var(--white) !important; }
.btn-full { width: 100%; }

/* ---- Section ---- */
.section { padding: 100px 0; }
.section-alt { background: var(--bg-alt); }

.section-title {
    font-size: 2.4rem;
    font-weight: 800;
    margin-bottom: 8px;
}
.section-title.center { text-align: center; }

.accent-bar {
    width: 60px; height: 4px;
    background: var(--orange-grad);
    border-radius: 2px;
    margin-bottom: 32px;
}
.accent-bar.center { margin-left: auto; margin-right: auto; }

.section-subtitle {
    text-align: center;
    color: var(--text-light);
    font-size: 1.1rem;
    margin-bottom: 48px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* ==========================================
   NAVIGATION
   ========================================== */
.nav {
    position: fixed; top: 0; left: 0; right: 0;
    height: var(--nav-height);
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    z-index: 1000;
    box-shadow: 0 1px 0 rgba(0,0,0,0.06);
    transition: box-shadow var(--transition);
}
.nav.scrolled { box-shadow: 0 2px 20px rgba(0,0,0,0.08); }

.nav-inner {
    max-width: 1200px; margin: 0 auto;
    padding: 0 24px;
    display: flex; align-items: center; justify-content: space-between;
    height: 100%;
}

.nav-logo-img { height: 54px; width: auto; }

.nav-links {
    display: flex; align-items: center; gap: 32px;
    list-style: none;
}
.nav-links a {
    font-family: var(--font-heading);
    font-weight: 600; font-size: 0.9rem;
    color: var(--teal-dark);
    letter-spacing: 0.02em;
    position: relative;
}
.nav-links a:not(.btn)::after {
    content: '';
    position: absolute; bottom: -4px; left: 0;
    width: 0; height: 2px;
    background: var(--orange);
    transition: width var(--transition);
}
.nav-links a:not(.btn):hover::after { width: 100%; }

.nav-toggle {
    display: none;
    flex-direction: column; gap: 5px;
    background: none; border: none; cursor: pointer; padding: 8px;
}
.nav-toggle span {
    width: 24px; height: 2px;
    background: var(--teal-dark);
    border-radius: 2px;
    transition: all var(--transition);
}

/* ==========================================
   HERO
   ========================================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex; align-items: center; justify-content: center;
    background: var(--teal-dark);
    overflow: hidden;
}
.hero::before {
    content: '';
    position: absolute; inset: 0;
    background:
        radial-gradient(circle at 20% 50%, rgba(232,135,30,0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 30%, rgba(42,136,153,0.2) 0%, transparent 50%),
        linear-gradient(135deg, var(--teal-dark) 0%, #1B5E6B 50%, var(--teal-dark) 100%);
}

/* Geometric construction lines (like the logo) */
.hero::after {
    content: '';
    position: absolute; inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
    background-size: 60px 60px;
}

.hero-overlay { position: absolute; inset: 0; z-index: 1; }

.hero-content {
    position: relative; z-index: 2;
    text-align: center;
    padding: 0 24px;
    padding-top: var(--nav-height);
}

.hero-logo {
    max-width: 300px;
    width: 100%;
    margin: 0 auto 28px;
    background: #fff;
    padding: 26px 30px;
    border-radius: 20px;
    box-shadow: 0 16px 50px rgba(0,0,0,0.32);
}

.hero-tagline {
    font-family: var(--font-heading);
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 12px;
    letter-spacing: -0.02em;
}

.hero-sub {
    font-size: 1.2rem;
    color: rgba(255,255,255,0.75);
    margin-bottom: 8px;
    letter-spacing: 0.05em;
}

.hero-location {
    display: inline-flex; align-items: center; gap: 6px;
    color: var(--orange-light);
    font-weight: 600;
    font-size: 0.95rem;
    margin-bottom: 36px;
}

.hero-btns {
    display: flex; gap: 16px; justify-content: center; flex-wrap: wrap;
}

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

.about-text p {
    margin-bottom: 16px;
    color: var(--text-light);
    font-size: 1.05rem;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 32px;
}

.stat {
    display: flex; flex-direction: column; align-items: center;
    text-align: center;
    padding: 20px 12px;
    background: var(--bg-alt);
    border-radius: var(--radius);
}
.stat-icon {
    display: flex; align-items: center; justify-content: center;
    width: 44px; height: 44px;
    margin-bottom: 10px;
    color: var(--orange);
    background: rgba(232,135,30,0.10);
    border-radius: 50%;
    flex-shrink: 0;
}
.stat-icon svg { width: 24px; height: 24px; }
.stat-label { font-family: var(--font-heading); font-weight: 700; color: var(--teal-dark); font-size: 0.9rem; }
.stat-desc { font-size: 0.8rem; color: var(--text-light); margin-top: 4px; }

/* About side panel — used instead of a photo until Tom wants one up */
.about-panel {
    display: flex; flex-direction: column;
    align-items: center; justify-content: center;
    gap: 22px;
    width: 100%;
    padding: 56px 36px;
    background: linear-gradient(160deg, var(--teal-dark) 0%, var(--teal) 100%);
    border-radius: var(--radius);
    text-align: center;
    position: relative;
    overflow: hidden;
}
.about-panel::after {
    content: '';
    position: absolute; inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
    background-size: 40px 40px;
    pointer-events: none;
}
.about-panel > * { position: relative; z-index: 1; }

.about-panel-eyebrow {
    font-family: var(--font-heading);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--orange-light);
}

.about-panel-logo {
    width: 200px;
    height: auto;
    background: #fff;
    padding: 16px 18px;
    border-radius: 14px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.25);
}

.about-panel-quote {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 600;
    line-height: 1.5;
    color: var(--white);
    max-width: 330px;
}

.about-panel-attr {
    font-size: 0.82rem;
    color: rgba(255,255,255,0.6);
    letter-spacing: 0.04em;
}

/* Drop a real photo in later and it fills the same space */
.about-photo {
    width: 100%;
    height: 100%;
    max-height: 560px;
    object-fit: cover;
    border-radius: var(--radius);
}

/* ==========================================
   SERVICES
   ========================================== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.service-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 40px 28px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: all var(--transition);
    border: 1px solid rgba(27,94,107,0.06);
}
.service-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
}
.service-icon { margin-bottom: 20px; }
.service-card h3 {
    font-size: 1.2rem;
    margin-bottom: 12px;
    color: var(--teal-dark);
}
.service-card p {
    font-size: 0.92rem;
    color: var(--text-light);
    line-height: 1.6;
}

/* ==========================================
   GALLERY
   ========================================== */
.gallery-filters {
    display: flex; justify-content: center; gap: 8px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 10px 24px;
    font-family: var(--font-heading);
    font-weight: 600; font-size: 0.85rem;
    border: 2px solid var(--teal);
    background: transparent;
    color: var(--teal);
    border-radius: 50px;
    cursor: pointer;
    transition: all var(--transition);
}
.filter-btn:hover, .filter-btn.active {
    background: var(--teal);
    color: var(--white);
}

/* Grid rather than masonry: columns scramble reading order, which split the
   kitchens across the row. A grid keeps each room next to its own kind. */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

/* ---- Project cards ---- */
.gallery-item {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    aspect-ratio: 4 / 3;
    margin: 0;
    display: block;
    background: var(--bg-alt);
}

.gallery-open {
    /* must fill the card, otherwise the cover's height:100% falls back to
       intrinsic size, portrait images overflow and clip their caption */
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    padding: 0;
    border: 0;
    background: none;
    cursor: pointer;
    text-align: left;
    font: inherit;
    color: inherit;
}

.gallery-cover {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* portrait covers crop top and bottom in a 4:3 box, so bias the
       frame downward to keep benchtops and desks in shot */
    object-position: center 62%;
    display: block;
    transition: transform 0.5s ease;
}
.gallery-item:hover .gallery-cover { transform: scale(1.04); }

.gallery-count {
    position: absolute;
    top: 10px; right: 10px;
    z-index: 4;
    background: rgba(18,67,77,0.85);
    backdrop-filter: blur(4px);
    color: var(--white);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.7rem;
    letter-spacing: 0.04em;
    padding: 4px 11px;
    border-radius: 50px;
    pointer-events: none;
}

/* hover collage: the rest of the photos for that project */
.gallery-collage {
    position: absolute;
    inset: 0;
    z-index: 3;
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-auto-rows: 1fr;
    gap: 3px;
    background: rgba(10,32,38,0.6);
    opacity: 0;
    transition: opacity 0.35s ease;
    pointer-events: none;
}
.gallery-collage img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.gallery-collage img:nth-child(n+5) { display: none; }
.gallery-item:hover .gallery-collage,
.gallery-open:focus-visible .gallery-collage { opacity: 1; }

.gallery-caption {
    position: absolute;
    inset: auto 0 0 0;
    z-index: 5;
    padding: 34px 14px 13px;
    background: linear-gradient(transparent, rgba(18,67,77,0.94));
    pointer-events: none;
}
.gallery-caption strong {
    display: block;
    font-family: var(--font-heading);
    font-size: 1rem;
    line-height: 1.25;
    color: var(--white);
}
.gallery-caption em {
    display: block;
    font-style: normal;
    font-size: 0.78rem;
    line-height: 1.35;
    color: rgba(255,255,255,0.8);
    margin-top: 2px;
}

/* ---- Album viewer ---- */
.album {
    position: fixed;
    inset: 0;
    z-index: 2000;
    background: rgba(6,20,25,0.995);
    backdrop-filter: blur(6px);
    display: none;
    flex-direction: column;
}
.album.active { display: flex; }

.album-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 18px 8px;
    flex-shrink: 0;
}
.album-title {
    color: var(--white);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.05rem;
    line-height: 1.2;
}
.album-counter {
    color: rgba(255,255,255,0.6);
    font-size: 0.8rem;
    margin-top: 2px;
}
.album-close {
    background: none;
    border: 0;
    color: var(--white);
    font-size: 2.2rem;
    line-height: 1;
    cursor: pointer;
    padding: 0 6px;
    opacity: 0.7;
    transition: opacity var(--transition);
}
.album-close:hover { opacity: 1; }

.album-stage {
    position: relative;
    flex: 1;
    min-height: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 6px;
}
.album-img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 6px;
    display: block;
}
.album-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px; height: 44px;
    border: 0;
    border-radius: 50%;
    background: rgba(255,255,255,0.14);
    color: var(--white);
    font-size: 1.7rem;
    line-height: 1;
    cursor: pointer;
    opacity: 0.85;
    transition: background var(--transition), opacity var(--transition);
}
.album-nav:hover { background: rgba(255,255,255,0.28); opacity: 1; }
.album-prev { left: 8px; }
.album-next { right: 8px; }

.album-caption {
    flex-shrink: 0;
    padding: 10px 18px 2px;
    text-align: center;
    color: rgba(255,255,255,0.85);
    font-size: 0.86rem;
    line-height: 1.4;
}
.album-badge {
    display: none;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.62rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 3px 9px;
    border-radius: 50px;
    margin-right: 8px;
    vertical-align: 1px;
    background: rgba(255,255,255,0.16);
    color: var(--white);
}
.album-badge.show { display: inline-block; }
.album-badge.is-after { background: var(--orange); color: #2a1600; }

.album-thumbs {
    flex-shrink: 0;
    display: flex;
    gap: 6px;
    padding: 10px 18px 18px;
    overflow-x: auto;
    justify-content: center;
    scrollbar-width: thin;
}
.album-thumb {
    width: 64px; height: 48px;
    object-fit: cover;
    border-radius: 4px;
    cursor: pointer;
    opacity: 0.45;
    border: 2px solid transparent;
    flex-shrink: 0;
    transition: opacity var(--transition), border-color var(--transition);
}
.album-thumb:hover { opacity: 0.8; }
.album-thumb.active { opacity: 1; border-color: var(--orange); }

/* ==========================================
   REVIEWS
   ========================================== */
.reviews-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 64px;
}

.review-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 32px;
    box-shadow: var(--shadow);
    transition: all var(--transition);
    border: 1px solid rgba(27,94,107,0.06);
}
.review-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-hover); }

/* Single card (empty state) sits centred instead of stranded left */
.reviews-grid .review-card:only-child {
    grid-column: 1 / -1;
    max-width: 620px;
    margin: 0 auto;
    text-align: center;
}

.review-stars { color: var(--orange); font-size: 1.1rem; letter-spacing: 2px; margin-bottom: 16px; }
.review-text { color: var(--text-light); font-size: 0.95rem; line-height: 1.7; margin-bottom: 20px; font-style: italic; }
.review-author { font-family: var(--font-heading); font-weight: 700; color: var(--teal-dark); font-size: 0.95rem; }
.review-meta { color: var(--text-light); font-size: 0.8rem; margin-top: 4px; }

/* Review Form */
.review-form-wrapper {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}
.review-form-wrapper h3 {
    font-size: 1.5rem;
    margin-bottom: 8px;
}
.review-form-wrapper > p {
    color: var(--text-light);
    margin-bottom: 24px;
}

.review-form {
    text-align: left;
    margin-top: 32px;
    background: var(--white);
    padding: 32px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

/* Star Rating */
.star-rating { display: flex; gap: 4px; }
.star-rating .star {
    font-size: 1.8rem;
    color: #ddd;
    cursor: pointer;
    transition: color var(--transition);
}
.star-rating .star.active,
.star-rating .star:hover { color: var(--orange); }

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

.contact-card {
    display: flex; flex-direction: column; gap: 24px;
    margin-bottom: 32px;
}

.contact-item {
    display: flex; align-items: flex-start; gap: 16px;
}
.contact-icon {
    width: 48px; height: 48px;
    background: rgba(232,135,30,0.1);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
}
.contact-item strong {
    display: block;
    font-family: var(--font-heading);
    color: var(--teal-dark);
    margin-bottom: 2px;
}
.contact-item a {
    color: var(--text);
    font-weight: 500;
    display: inline-block;
    padding: 6px 0;
    min-height: 32px;
}
.contact-item a:hover { color: var(--orange); }
.contact-item span { color: var(--text-light); }

/* Social */
.social-links h4 {
    font-size: 1rem;
    margin-bottom: 12px;
}
.social-icons { display: flex; gap: 12px; }
.social-icon {
    width: 44px; height: 44px;
    background: var(--teal);
    color: var(--white);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    transition: all var(--transition);
}
.social-icon:hover {
    background: var(--orange);
    color: var(--white);
    transform: translateY(-2px);
}

/* Contact Form */
.contact-form-wrap {
    background: var(--white);
    padding: 40px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

/* ---- Forms (shared) ---- */
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

.form-group {
    margin-bottom: 20px;
}
.form-group label {
    display: block;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.85rem;
    color: var(--teal-dark);
    margin-bottom: 6px;
}
.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #E0E6E8;
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--text);
    background: var(--bg);
    transition: border-color var(--transition);
    outline: none;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    border-color: var(--teal-light);
}
.form-group textarea { resize: vertical; min-height: 100px; }
.form-group select { cursor: pointer; }

/* Honeypot: hidden from humans, catches bots */
.hp-field { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }

.form-note {
    text-align: center;
    color: var(--text-light);
    font-size: 0.85rem;
    margin-top: 12px;
}

/* ==========================================
   FOOTER
   ========================================== */
.footer {
    background: var(--teal-dark);
    color: rgba(255,255,255,0.7);
    padding: 64px 0 0;
}

.footer-inner {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr;
    gap: 48px;
    padding-bottom: 48px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-logo {
    height: 44px;
    width: auto;
    margin-bottom: 16px;
    background: #fff;
    padding: 8px 14px;
    border-radius: 8px;
}
.footer-brand p { font-size: 0.9rem; line-height: 1.6; }

.footer-links { display: flex; flex-direction: column; gap: 8px; }
.footer-links h4, .footer-service-area h4 {
    color: var(--white);
    font-size: 1rem;
    margin-bottom: 8px;
}
.footer-links a {
    color: rgba(255,255,255,0.6);
    font-size: 0.9rem;
    transition: color var(--transition);
}
.footer-links a:hover { color: var(--orange-light); }

.footer-service-area p { font-size: 0.85rem; line-height: 1.7; }

.footer-bottom {
    padding: 24px 0;
    text-align: center;
    font-size: 0.8rem;
    color: rgba(255,255,255,0.4);
}

/* ==========================================
   BACK TO TOP
   ========================================== */
.back-to-top {
    position: fixed; bottom: 24px; right: 24px;
    width: 48px; height: 48px;
    background: var(--teal);
    color: var(--white);
    border: none; border-radius: 50%;
    cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    opacity: 0; transform: translateY(16px);
    transition: all var(--transition);
    z-index: 900;
    box-shadow: 0 4px 12px rgba(27,94,107,0.3);
}
.back-to-top.visible { opacity: 1; transform: translateY(0); }
.back-to-top:hover { background: var(--orange); }

/* ==========================================
   RESPONSIVE
   ========================================== */
@media (max-width: 1024px) {
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .reviews-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    :root { --nav-height: 64px; }

    .nav-toggle { display: flex; }
    .nav-logo-img { height: 40px; }

    .nav-links {
        position: fixed;
        top: var(--nav-height);
        left: 0; right: 0;
        background: var(--white);
        flex-direction: column;
        padding: 24px;
        gap: 16px;
        box-shadow: 0 8px 32px rgba(0,0,0,0.1);
        transform: translateY(-100%);
        opacity: 0;
        pointer-events: none;
        transition: all var(--transition);
    }
    .nav-links.open {
        transform: translateY(0);
        opacity: 1;
        pointer-events: all;
    }

    /* comfortable tap targets for the mobile menu */
    .nav-links a {
        display: block;
        padding: 12px 4px;
        font-size: 1rem;
    }
    .nav-links a:not(.btn)::after { display: none; }
    .nav-links .btn { padding: 14px 28px; }

    .hero-tagline { font-size: 2rem; }
    .hero-sub { font-size: 1rem; }
    .hero-logo { max-width: 220px; padding: 18px 20px; }

    .section { padding: 64px 0; }
    .section-title { font-size: 1.8rem; }

    .about-grid { grid-template-columns: 1fr; gap: 40px; }
    .about-stats { grid-template-columns: 1fr; gap: 12px; }
    .stat {
        display: grid;
        grid-template-columns: 44px 1fr;
        column-gap: 14px;
        align-items: center;
        text-align: left;
        padding: 16px;
    }
    .stat-icon {
        grid-column: 1;
        grid-row: 1 / 3;
        margin-bottom: 0;
    }
    .stat-label { grid-column: 2; grid-row: 1; }
    .stat-desc { grid-column: 2; grid-row: 2; margin-top: 2px; }

    .services-grid { grid-template-columns: 1fr; }
    .service-card { padding: 28px 20px; }

    .gallery-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }

    /* no hover on touch: collage never shows, captions already permanent */
    .gallery-collage { display: none; }
    .gallery-item:hover .gallery-cover { transform: none; }
    .gallery-caption { padding: 28px 12px 11px; }
    .gallery-caption strong { font-size: 0.92rem; }
    .gallery-caption em { font-size: 0.72rem; }
    .gallery-count { top: 8px; right: 8px; font-size: 0.64rem; padding: 3px 9px; }
    .album-thumb { width: 52px; height: 40px; }
    .album-caption { font-size: 0.8rem; padding: 8px 14px 2px; }
    .album-thumbs { padding: 8px 14px 14px; justify-content: flex-start; }
    /* on a phone the photo is width-limited, so pin the header and centre
       the photo, caption and strip as one group instead of leaving a gap */
    .album { padding-top: 66px; justify-content: center; }
    .album-top {
        position: absolute;
        top: 0; left: 0; right: 0;
        z-index: 3;
        padding: 10px 14px 6px;
        background: rgba(6,20,25,0.9);
    }
    .album-stage { flex: 0 1 auto; min-height: 0; }
    .album-nav { width: 38px; height: 38px; font-size: 1.4rem; }
    .album-prev { left: 2px; }
    .album-next { right: 2px; }

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

    .contact-grid { grid-template-columns: 1fr; }
    .contact-form-wrap { padding: 24px; }
    .form-row { grid-template-columns: 1fr; }

    .footer-inner { grid-template-columns: 1fr; gap: 32px; }

    .hero-btns { flex-direction: column; align-items: center; }
    .btn { width: 100%; max-width: 280px; }
}

@media (max-width: 480px) {
    .gallery-grid { grid-template-columns: 1fr; }
    .hero-tagline { font-size: 1.6rem; }
}

/* ---- Animation ---- */
.fade-up {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}
