/* =============================================
   STYLE.CSS — NorfolkRoofSeal
   Human-made, editorial feel.
   Palette: dark slate + teal + warm amber
   ============================================= */

/* ---- Variables ---- */
:root {
    --teal: #06b6d4;
    --teal-dark: #0891b2;
    --amber: #f59e0b;
    --night: #0b1120;
    --ink: #111827;
    --card: #1a2537;
    --border: rgba(255, 255, 255, .08);
    --text: #e2e8f0;
    --muted: #94a3b8;
    --radius: 10px;
    --max: 1160px;
}

/* ---- Reset ---- */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Inter', system-ui, sans-serif;
    background: var(--night);
    color: var(--text);
    line-height: 1.7;
    overflow-x: hidden;
}

img {
    display: block;
    width: 100%;
    object-fit: cover;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

address {
    font-style: normal;
}

/* ---- Scroll reveal ---- */
.reveal {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity .6s ease, transform .6s ease;
}

.reveal.visible {
    opacity: 1;
    transform: none;
}

/* ---- Container ---- */
.container {
    max-width: var(--max);
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* =====================
   TOP BAR
===================== */
.topbar {
    background: var(--ink);
    border-bottom: 1px solid var(--border);
    padding: .45rem 1.5rem;
    font-size: .78rem;
    color: var(--muted);
}

.topbar-inner {
    max-width: var(--max);
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: .75rem;
    flex-wrap: wrap;
}

.topbar-sep {
    opacity: .3;
}

.topbar-phone {
    color: var(--teal);
    font-weight: 600;
    margin-left: auto;
    letter-spacing: .02em;
}

.topbar-phone:hover {
    color: #fff;
}

/* =====================
   NAVBAR
===================== */
.navbar {
    position: sticky;
    top: 0;
    z-index: 900;
    background: rgba(11, 17, 32, .0);
    padding: 1rem 1.5rem;
    transition: background .3s, box-shadow .3s, backdrop-filter .3s;
}

.navbar.scrolled {
    background: rgba(11, 17, 32, .96);
    backdrop-filter: blur(14px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, .4);
}

.nav-inner {
    max-width: var(--max);
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: .55rem;
    font-size: .95rem;
    font-weight: 500;
    color: rgba(255, 255, 255, .85);
    letter-spacing: -.01em;
    white-space: nowrap;
}

.nav-logo strong {
    color: #fff;
    font-weight: 700;
}

.logo-mark {
    flex-shrink: 0;
}

.logo-text {
    line-height: 1;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: .1rem;
    margin-left: auto;
}

.nav-link {
    padding: .45rem .85rem;
    border-radius: 6px;
    font-size: .875rem;
    color: var(--muted);
    transition: color .2s, background .2s;
}

.nav-link:hover {
    color: #fff;
    background: rgba(255, 255, 255, .06);
}

.nav-cta {
    padding: .5rem 1.3rem;
    background: var(--teal);
    color: #fff;
    border-radius: 6px;
    font-size: .875rem;
    font-weight: 600;
    transition: background .2s, box-shadow .2s;
    white-space: nowrap;
}

.nav-cta:hover {
    background: var(--teal-dark);
    box-shadow: 0 4px 18px rgba(6, 182, 212, .35);
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: .4rem;
    margin-left: auto;
}

.hamburger span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--text);
    border-radius: 2px;
    transition: transform .3s, opacity .3s;
}

/* =====================
   HERO
===================== */
.hero {
    position: relative;
    min-height: 96vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.04);
    transition: transform .12s linear;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(105deg,
            rgba(11, 17, 32, .92) 0%,
            rgba(11, 17, 32, .75) 55%,
            rgba(11, 17, 32, .4) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 680px;
    padding: 9rem 2rem 5rem 3rem;
}

.hero-location {
    font-size: .78rem;
    font-weight: 600;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--teal);
    margin-bottom: 1.2rem;
}

.hero-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: clamp(2.6rem, 5.5vw, 4.4rem);
    font-weight: 800;
    line-height: 1.08;
    color: #fff;
    margin-bottom: 1.4rem;
}

.hero-accent {
    color: var(--amber);
}

.hero-sub {
    font-size: 1.05rem;
    color: rgba(226, 232, 240, .72);
    margin-bottom: 2.2rem;
    max-width: 520px;
    line-height: 1.75;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    padding: .75rem 1.75rem;
    border-radius: 7px;
    font-weight: 600;
    font-size: .9rem;
    cursor: pointer;
    border: none;
    transition: background .2s, box-shadow .2s, transform .2s;
}

.btn:hover {
    transform: translateY(-2px);
}

.btn-primary {
    background: var(--teal);
    color: #fff;
}

.btn-primary:hover {
    background: var(--teal-dark);
    box-shadow: 0 6px 22px rgba(6, 182, 212, .35);
}

.btn-ghost {
    background: transparent;
    color: rgba(255, 255, 255, .8);
    border: 1.5px solid rgba(255, 255, 255, .2);
}

.btn-ghost:hover {
    border-color: rgba(255, 255, 255, .4);
    color: #fff;
    background: rgba(255, 255, 255, .05);
}

.btn-block {
    width: 100%;
    justify-content: center;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 2.8rem;
}

/* Proof bar */
.hero-proof {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.proof-item strong {
    display: block;
    font-size: 1.1rem;
    font-weight: 800;
    color: #fff;
    line-height: 1;
}

.proof-item span {
    font-size: .75rem;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: .06em;
}

.proof-dot {
    width: 4px;
    height: 4px;
    background: rgba(255, 255, 255, .2);
    border-radius: 50%;
}

/* Scroll hint */
.scroll-hint {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 50%;
    animation: nudge 2.5s ease-in-out infinite;
}

@keyframes nudge {

    0%,
    100% {
        transform: translateX(-50%) translateY(0);
    }

    50% {
        transform: translateX(-50%) translateY(7px);
    }
}

/* =====================
   INTRO STRIP
===================== */
.intro-strip {
    background: var(--card);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    padding: 2rem 1.5rem;
}

.intro-strip-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    flex-wrap: wrap;
}

.intro-strip p {
    font-size: .95rem;
    color: var(--muted);
    max-width: 720px;
    line-height: 1.75;
}

.strip-link {
    white-space: nowrap;
    color: var(--teal);
    font-weight: 700;
    font-size: .9rem;
    border-bottom: 1.5px solid transparent;
    transition: border-color .2s;
}

.strip-link:hover {
    border-color: var(--teal);
}

/* =====================
   SECTION TYPOGRAPHY
===================== */
.section-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
    font-weight: 800;
    color: #fff;
    line-height: 1.15;
    margin-bottom: .85rem;
    text-align: center;
}

.section-sub {
    font-size: .975rem;
    color: var(--muted);
    text-align: center;
    max-width: 560px;
    margin: 0 auto 3.5rem;
    line-height: 1.8;
}

/* =====================
   SERVICES
===================== */
.services {
    padding: 6rem 0;
}

.services-layout {
    display: flex;
    flex-direction: column;
    gap: 5rem;
    margin-top: 3.5rem;
}

.service-item {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.service-item--flip {
    direction: rtl;
}

.service-item--flip>* {
    direction: ltr;
}

.service-photo {
    border-radius: var(--radius);
    overflow: hidden;
    aspect-ratio: 4/3;
}

.service-photo img {
    width: 100%;
    height: 100%;
    transition: transform .6s ease;
}

.service-item:hover .service-photo img {
    transform: scale(1.04);
}

.service-tag {
    display: inline-block;
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--teal);
    margin-bottom: .8rem;
}

.service-text h3 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.85rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.service-text p {
    font-size: .95rem;
    color: var(--muted);
    margin-bottom: .85rem;
    line-height: 1.8;
}

.service-features {
    margin: 1.2rem 0 1.5rem;
    display: flex;
    flex-direction: column;
    gap: .45rem;
}

.service-features li {
    font-size: .875rem;
    color: var(--text);
    padding-left: 1.1rem;
    position: relative;
}

.service-features li::before {
    content: '—';
    position: absolute;
    left: 0;
    color: var(--amber);
    font-weight: 700;
}

.text-link {
    color: var(--teal);
    font-weight: 600;
    font-size: .9rem;
    border-bottom: 1.5px solid transparent;
    transition: border-color .2s;
}

.text-link:hover {
    border-color: var(--teal);
}

/* =====================
   CTA BAND
===================== */
.cta-band {
    background: var(--teal-dark);
    padding: 3rem 1.5rem;
}

.cta-band-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    flex-wrap: wrap;
}

.cta-band-text h3 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.55rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: .35rem;
}

.cta-band-text p {
    font-size: .9rem;
    color: rgba(255, 255, 255, .75);
}

.cta-band .btn-primary {
    background: #fff;
    color: var(--teal-dark);
    flex-shrink: 0;
}

.cta-band .btn-primary:hover {
    background: rgba(255, 255, 255, .92);
    box-shadow: 0 6px 22px rgba(0, 0, 0, .2);
}

/* =====================
   ABOUT
===================== */
.about {
    padding: 6rem 0;
    background: var(--card);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4.5rem;
    align-items: start;
}

.about-photos {
    position: relative;
    display: grid;
    grid-template-columns: 3fr 2fr;
    grid-template-rows: auto auto;
    gap: .85rem;
}

.about-photo-main {
    grid-column: 1 / 2;
    grid-row: 1 / 3;
    border-radius: var(--radius);
    overflow: hidden;
    aspect-ratio: 4/5;
}

.about-photo-main img {
    width: 100%;
    height: 100%;
}

.about-photo-small {
    border-radius: var(--radius);
    overflow: hidden;
    align-self: end;
    aspect-ratio: 4/3;
}

.about-photo-small img {
    width: 100%;
    height: 100%;
}

.about-text {
    padding-top: .5rem;
}

.about-text .section-title {
    text-align: left;
    margin-bottom: 1.2rem;
}

.about-text p {
    font-size: .95rem;
    color: var(--muted);
    line-height: 1.82;
    margin-bottom: 1rem;
}

.about-badges {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border);
}

.about-badge strong {
    display: block;
    font-size: .95rem;
    font-weight: 700;
    color: #fff;
}

.about-badge span {
    font-size: .78rem;
    color: var(--muted);
}

/* =====================
   GALLERY
===================== */
.gallery {
    padding: 6rem 0 0;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: 230px 230px;
    gap: .6rem;
    margin-top: 3rem;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius);
    cursor: pointer;
    background: var(--card);
}

.g-tall {
    grid-row: span 2;
}

.g-wide {
    grid-column: span 2;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    transition: transform .55s ease;
}

.gallery-item:hover img {
    transform: scale(1.06);
}

.gallery-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: .65rem .9rem;
    background: linear-gradient(to top, rgba(0, 0, 0, .75) 0%, transparent 100%);
    font-size: .75rem;
    font-weight: 600;
    color: rgba(255, 255, 255, .85);
    transform: translateY(100%);
    transition: transform .3s ease;
}

.gallery-item:hover .gallery-caption {
    transform: translateY(0);
}

/* =====================
   REVIEWS
===================== */
.reviews {
    padding: 6rem 0;
    background: var(--card);
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 3rem;
}

.review-card {
    background: var(--night);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.8rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    transition: border-color .25s;
}

.review-card:hover {
    border-color: rgba(6, 182, 212, .3);
}

.review-stars {
    color: var(--amber);
    font-size: 1rem;
    letter-spacing: .05em;
}

.review-card blockquote {
    font-size: .9rem;
    color: var(--muted);
    line-height: 1.78;
    flex: 1;
    font-style: italic;
}

.review-author strong {
    display: block;
    font-size: .875rem;
    color: var(--text);
    font-style: normal;
}

.review-author span {
    font-size: .78rem;
    color: var(--muted);
    font-style: normal;
}

/* =====================
   PROCESS
===================== */
.process {
    padding: 6rem 0;
}

.process-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.process-item {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 1.8rem;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    transition: border-color .25s;
}

.process-item:hover {
    border-color: rgba(6, 182, 212, .25);
}

.process-num {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--teal);
    line-height: 1;
    opacity: .5;
}

.process-info h4 {
    font-size: 1rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: .5rem;
}

.process-info p {
    font-size: .875rem;
    color: var(--muted);
    line-height: 1.72;
}

/* =====================
   CONTACT
===================== */
.contact {
    padding: 6rem 0;
    background: var(--ink);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.contact-sub {
    font-size: .95rem;
    color: rgba(255, 255, 255, .55);
    margin-bottom: 2rem;
    line-height: 1.75;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    margin-bottom: 2rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.ci-icon {
    font-size: 1.2rem;
    flex-shrink: 0;
    margin-top: .1rem;
}

.ci-label {
    display: block;
    font-size: .72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .06em;
    color: var(--muted);
    margin-bottom: .15rem;
}

.ci-value {
    font-size: .95rem;
    font-weight: 600;
    color: #fff;
}

a.ci-value:hover {
    color: var(--teal);
}

.map-embed {
    border-radius: var(--radius);
    overflow: hidden;
}

/* Form */
.contact-form-wrap {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 2rem;
}

.form-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.3rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 1.5rem;
}

.form-group {
    margin-bottom: 1.1rem;
}

.form-group label {
    display: block;
    font-size: .78rem;
    font-weight: 600;
    color: var(--muted);
    margin-bottom: .35rem;
    text-transform: uppercase;
    letter-spacing: .04em;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: .7rem 1rem;
    background: rgba(255, 255, 255, .04);
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 7px;
    color: var(--text);
    font-family: inherit;
    font-size: .9rem;
    outline: none;
    transition: border-color .2s, background .2s;
    appearance: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--teal);
    background: rgba(6, 182, 212, .05);
}

.form-group select {
    cursor: pointer;
}

.form-note {
    margin-top: .75rem;
    font-size: .75rem;
    color: var(--muted);
    text-align: center;
}

.form-success {
    display: none;
    margin-top: .9rem;
    padding: .85rem 1.1rem;
    background: rgba(16, 185, 129, .12);
    border: 1px solid rgba(16, 185, 129, .25);
    border-radius: 7px;
    color: #34d399;
    font-weight: 600;
    font-size: .875rem;
    text-align: center;
}

/* =====================
   FOOTER
===================== */
.footer {
    background: #070c18;
    padding: 3.5rem 0 0;
}

.footer-inner {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 3rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid rgba(255, 255, 255, .06);
}

.footer-brand {
    display: block;
    font-family: 'Playfair Display', Georgia, serif;
    font-weight: 800;
    font-size: 1.1rem;
    color: #fff;
    margin-bottom: .75rem;
}

.footer-desc {
    font-size: .84rem;
    color: rgba(255, 255, 255, .38);
    line-height: 1.75;
}

.footer-links h5,
.footer-contact-col h5 {
    font-size: .72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: var(--muted);
    margin-bottom: 1rem;
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: .55rem;
}

.footer-links a {
    font-size: .875rem;
    color: rgba(255, 255, 255, .45);
    transition: color .2s;
}

.footer-links a:hover {
    color: var(--teal);
}

.footer-contact-col address {
    font-size: .875rem;
    color: rgba(255, 255, 255, .45);
    line-height: 1.8;
    margin-bottom: .6rem;
}

.footer-contact-col a {
    font-size: .9rem;
    color: var(--teal);
    font-weight: 600;
}

.footer-bottom {
    padding: 1.1rem 1.5rem;
    text-align: center;
    font-size: .75rem;
    color: rgba(255, 255, 255, .2);
}

/* =====================
   RESPONSIVE
===================== */
@media (max-width: 960px) {

    .service-item,
    .service-item--flip {
        grid-template-columns: 1fr;
        direction: ltr;
        gap: 2rem;
    }

    .about-grid {
        grid-template-columns: 1fr;
    }

    .about-photos {
        grid-template-columns: 1fr 1fr;
    }

    .about-photo-main {
        grid-column: 1;
        grid-row: 1;
        aspect-ratio: 16/9;
    }

    .about-photo-small {
        aspect-ratio: 16/9;
        align-self: start;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .footer-inner {
        grid-template-columns: 1fr 1fr;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: auto;
    }

    .g-tall {
        grid-row: span 1;
    }

    .g-wide {
        grid-column: span 2;
    }
}

@media (max-width: 640px) {
    .topbar-inner {
        flex-direction: column;
        align-items: flex-start;
        gap: .3rem;
    }

    .topbar-phone {
        margin-left: 0;
    }

    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(11, 17, 32, .98);
        backdrop-filter: blur(14px);
        padding: 1.2rem 1.5rem;
        gap: .3rem;
        border-top: 1px solid var(--border);
    }

    .nav-links.open {
        display: flex;
    }

    .hamburger {
        display: flex;
    }

    .hero-content {
        padding: 8rem 1.5rem 4rem;
    }

    .hero-sub {
        font-size: .95rem;
    }

    .hero-proof {
        gap: 1rem;
    }

    .footer-inner {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .g-wide {
        grid-column: span 1;
    }

    .intro-strip-inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .cta-band-inner {
        flex-direction: column;
    }

    .process-list {
        grid-template-columns: 1fr;
    }
}