/* ============================================================
   KRG Concreting — public marketing site
   Self-contained: the app's app.css is NOT loaded on these pages.
   Zero JavaScript; the mobile menu is a CSS checkbox toggle.
   ============================================================ */

:root {
    --ink: #10151C;          /* near-black headings */
    --body: #414B5A;         /* body copy */
    --muted: #66707F;        /* secondary text */
    --line: #E6E4DD;         /* hairlines on warm bg */
    --bg: #F7F7F4;           /* warm concrete off-white */
    --card: #FFFFFF;
    --dark: #0E1116;         /* hero / footer slab */
    --dark-2: #161C24;
    --dark-line: #232B36;
    --accent: #0A84FF;       /* brand blue (matches quotes/portal) */
    --accent-dark: #0070E0;
    --accent-tint: #EAF3FF;
    --ok: #10B981;
    --radius: 16px;
    --shadow: 0 6px 22px rgba(16, 23, 38, .06);
    --shadow-lift: 0 14px 34px rgba(16, 23, 38, .12);
    --shell: 1160px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    font-family: 'Inter', -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background: var(--bg);
    color: var(--body);
    font-size: 16px;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }

h1, h2, h3 { color: var(--ink); letter-spacing: -0.025em; line-height: 1.12; }
h1 { font-size: clamp(34px, 4.6vw, 54px); font-weight: 900; }
h2 { font-size: clamp(26px, 3.2vw, 36px); font-weight: 800; }
h3 { font-size: 18px; font-weight: 700; }

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

.kicker {
    text-transform: uppercase; letter-spacing: .16em; font-size: 12px;
    font-weight: 800; color: var(--accent); margin-bottom: 12px;
}
.kicker-light { color: #6FB3FF; }

.skip-link {
    position: absolute; left: -9999px; top: 0; background: var(--ink); color: #fff;
    padding: 10px 16px; border-radius: 0 0 8px 0; z-index: 100;
}
.skip-link:focus { left: 0; }

/* ---------- Buttons ---------- */
.btn {
    display: inline-block; padding: 13px 26px; border-radius: 10px;
    font-size: 15px; font-weight: 700; text-decoration: none; text-align: center;
    border: 2px solid transparent;
    transition: background .15s, color .15s, border-color .15s, transform .15s;
}
.btn:active { transform: translateY(1px); }
.btn-lg { padding: 16px 32px; font-size: 16px; }
.btn-block { display: block; width: 100%; }
.btn-primary { background: var(--accent); color: #fff; box-shadow: 0 8px 20px rgba(10,132,255,.25); }
.btn-primary:hover { background: var(--accent-dark); }
.btn-secondary { background: var(--ink); color: #fff; }
.btn-secondary:hover { background: var(--dark-2); }
.btn-outline-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.5); }
.btn-outline-light:hover { border-color: #fff; background: rgba(255,255,255,.08); }

.text-link { color: var(--accent); font-weight: 700; text-decoration: none; }
.text-link:hover { text-decoration: underline; }

/* ---------- Top utility bar ---------- */
.topbar { background: var(--dark); font-size: 13px; }
.topbar-row { display: flex; justify-content: space-between; align-items: center; min-height: 44px; gap: 16px; padding-top: 6px; padding-bottom: 6px; }
.topbar-tag { color: #8A95A5; font-weight: 600; font-size: 12.5px; letter-spacing: .01em; }
.topbar-right { display: flex; align-items: center; gap: 10px; }
/* Portal logins: deliberately a deeper steel blue than the marketing CTA so
   they read as "app buttons", not sales buttons. */
.btn-portal {
    display: inline-flex; align-items: center; gap: 7px;
    background: #1E55B8; color: #fff; text-decoration: none;
    font-size: 12.5px; font-weight: 700; letter-spacing: .01em;
    padding: 9px 14px; border-radius: 8px;
    transition: background .15s;
}
.btn-portal:hover { background: #2966D6; color: #fff; }
.btn-portal svg { flex-shrink: 0; opacity: .85; }
@media (max-width: 720px) {
    .topbar-tag { display: none; }
    .topbar-row { justify-content: flex-end; }
    /* Thumb-sized login buttons on phones. */
    .btn-portal { padding: 11px 16px; font-size: 13px; }
}

/* ---------- Header ---------- */
.site-header {
    position: sticky; top: 0; z-index: 50;
    background: rgba(255,255,255,.97); backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--line);
}
.header-row { display: flex; align-items: center; gap: 18px; min-height: 76px; position: relative; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; margin-right: auto; }
.brand-logo { height: 46px; width: auto; }
.brand-text { display: flex; flex-direction: column; line-height: 1.25; }
.brand-name { font-weight: 800; font-size: 18px; color: var(--ink); letter-spacing: -0.02em; }
.brand-sub { font-size: 11px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .09em; }

.site-nav { display: flex; align-items: center; gap: 26px; }
.nav-link {
    color: var(--ink); text-decoration: none; font-weight: 600; font-size: 15px;
    display: inline-flex; align-items: center; gap: 5px; padding: 8px 0;
}
.nav-link:hover { color: var(--accent); }
.caret { opacity: .55; }
.nav-cta { padding: 11px 20px; font-size: 14.5px; box-shadow: none; }

.nav-dropdown { position: relative; }
.nav-dropdown .dropdown {
    display: none; position: absolute; top: 100%; left: -12px; padding: 8px;
    background: #fff; border: 1px solid var(--line); border-radius: 12px;
    box-shadow: var(--shadow-lift); min-width: 240px; z-index: 60;
}
.nav-dropdown:hover .dropdown,
.nav-dropdown:focus-within .dropdown { display: block; }
.nav-dropdown .dropdown a {
    display: block; padding: 10px 14px; border-radius: 8px;
    color: var(--ink); text-decoration: none; font-weight: 600; font-size: 14.5px;
}
.nav-dropdown .dropdown a:hover { background: var(--accent-tint); color: var(--accent); }

/* Mobile menu toggle (CSS-only) */
.nav-toggle { display: none; }
.nav-burger { display: none; cursor: pointer; padding: 8px; margin-left: auto; }
.nav-burger span { display: block; width: 23px; height: 2.5px; background: var(--ink); border-radius: 2px; margin: 5px 0; }

@media (max-width: 1020px) {
    .nav-burger { display: block; }
    .site-nav {
        display: none; position: absolute; top: 100%; left: 0; right: 0;
        flex-direction: column; align-items: stretch; gap: 0;
        background: #fff; border-bottom: 1px solid var(--line);
        padding: 10px 24px 20px; box-shadow: var(--shadow-lift);
    }
    .nav-toggle:checked ~ .site-nav { display: flex; }
    .nav-link { padding: 12px 0; border-bottom: 1px solid var(--line); }
    .nav-dropdown .dropdown {
        display: block; position: static; border: 0; box-shadow: none;
        padding: 0 0 6px 14px; min-width: 0;
    }
    .nav-cta { margin-top: 14px; }
    .brand-sub { display: none; }
}

/* ---------- Hero ---------- */
.hero {
    background: linear-gradient(120deg, var(--dark) 0%, var(--dark-2) 100%);
    background-size: cover; background-position: center;
    color: #fff; padding: 104px 0 110px;
}
.hero-inner { max-width: 700px; }
.hero h1 { color: #fff; margin: 4px 0 20px; }
.hero-lead { font-size: 18.5px; line-height: 1.65; color: rgba(255,255,255,.88); max-width: 600px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.hero-ticks { display: flex; flex-wrap: wrap; gap: 8px 26px; margin-top: 30px; }
.hero-ticks span {
    font-size: 13.5px; font-weight: 600; color: rgba(255,255,255,.75);
    display: inline-flex; align-items: center; gap: 8px;
}
.hero-ticks span::before {
    content: ""; width: 13px; height: 7px; margin-top: -3px;
    border-left: 2.5px solid var(--ok); border-bottom: 2.5px solid var(--ok);
    transform: rotate(-45deg); flex-shrink: 0;
}
@media (max-width: 640px) { .hero { padding: 72px 0 78px; } }

.page-hero {
    background: linear-gradient(120deg, var(--dark) 0%, var(--dark-2) 100%);
    color: #fff; padding: 72px 0;
}
.page-hero h1 { color: #fff; margin: 4px 0 16px; }
.page-hero .hero-kicker {
    text-transform: uppercase; letter-spacing: .16em; font-size: 12px;
    font-weight: 800; color: #6FB3FF;
}
.page-hero .hero-lead { color: rgba(255,255,255,.85); max-width: 680px; font-size: 17.5px; }
.page-hero .hero-actions { margin-top: 26px; }

/* ---------- Trust strip ---------- */
.trust-strip { background: #fff; border-bottom: 1px solid var(--line); }
.trust-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; padding: 22px 24px; }
.trust-item { display: flex; align-items: center; gap: 12px; }
.trust-item svg { color: var(--accent); flex-shrink: 0; }
.trust-item div { display: flex; flex-direction: column; line-height: 1.35; }
.trust-item strong { font-size: 14.5px; color: var(--ink); font-weight: 800; }
.trust-item span { font-size: 13px; color: var(--muted); }
@media (max-width: 880px) { .trust-row { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .trust-row { grid-template-columns: 1fr; padding: 16px 24px; } }

/* ---------- Sections ---------- */
.section { padding: 92px 0; }
.section-alt { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { max-width: 680px; margin-bottom: 44px; }
.section-head p:not(.kicker) { margin-top: 14px; color: var(--muted); font-size: 16.5px; }
.section-head-center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head-split {
    display: flex; align-items: flex-end; justify-content: space-between;
    gap: 20px; max-width: none; flex-wrap: wrap;
}
.section-foot { margin-top: 36px; text-align: center; }
@media (max-width: 640px) { .section { padding: 64px 0; } }

/* ---------- Service cards ---------- */
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card-grid-3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 920px) { .card-grid, .card-grid-3 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 580px) { .card-grid, .card-grid-3 { grid-template-columns: 1fr; } }

.service-card {
    background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
    padding: 30px 28px; text-decoration: none; box-shadow: var(--shadow);
    display: flex; flex-direction: column; gap: 10px;
    transition: transform .18s, box-shadow .18s, border-color .18s;
}
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); border-color: #BFD7F5; }
.service-icon {
    width: 52px; height: 52px; border-radius: 13px; background: var(--accent-tint);
    color: var(--accent); display: flex; align-items: center; justify-content: center;
    margin-bottom: 6px;
}
.service-icon svg { width: 26px; height: 26px; }
.service-card p { color: var(--muted); font-size: 14.5px; line-height: 1.6; flex: 1; }
.card-more { color: var(--accent); font-weight: 700; font-size: 14px; }

/* ---------- Work / gallery ---------- */
.work-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.work-grid-page { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 920px) { .work-grid, .work-grid-page { grid-template-columns: 1fr 1fr; } }
@media (max-width: 580px) { .work-grid, .work-grid-page { grid-template-columns: 1fr; } }

.work-tile {
    position: relative; border-radius: var(--radius); overflow: hidden;
    box-shadow: var(--shadow); background: var(--dark-2);
}
.work-tile img {
    width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block;
    transition: transform .3s;
}
.work-tile:hover img { transform: scale(1.04); }
.work-tile figcaption {
    position: absolute; left: 0; right: 0; bottom: 0;
    padding: 36px 18px 14px;
    background: linear-gradient(180deg, rgba(10,13,18,0) 0%, rgba(10,13,18,.82) 65%);
    color: #fff; display: flex; flex-direction: column; line-height: 1.4;
}
.work-tile figcaption strong { font-size: 14.5px; font-weight: 800; }
.work-tile figcaption span { font-size: 12.5px; color: rgba(255,255,255,.75); }

.empty-note {
    max-width: 560px; margin: 0 auto; text-align: center;
    background: var(--card); border: 1px dashed var(--line); border-radius: var(--radius);
    padding: 48px 32px;
}
.empty-note p { margin-bottom: 12px; }
.empty-note .btn { margin-top: 8px; }

/* ---------- Owner ("G'day, I'm Kyle") ---------- */
.owner-row { display: grid; grid-template-columns: .85fr 1.15fr; gap: 60px; align-items: center; }
@media (max-width: 880px) { .owner-row { grid-template-columns: 1fr; gap: 34px; } }
.owner-photo { position: relative; }
.owner-photo img {
    border-radius: 18px; box-shadow: var(--shadow-lift);
    aspect-ratio: 4 / 4.6; object-fit: cover; width: 100%;
}
.owner-badge {
    position: absolute; right: -14px; bottom: 26px;
    background: var(--accent); color: #fff; border-radius: 12px;
    padding: 14px 18px; text-align: center; box-shadow: var(--shadow-lift);
    display: flex; flex-direction: column; line-height: 1.2;
}
.owner-badge strong { font-size: 24px; font-weight: 900; }
.owner-badge span { font-size: 11.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }
@media (max-width: 880px) { .owner-badge { right: 14px; } }
.owner-copy h2 { margin-bottom: 16px; }
.owner-copy p { margin-bottom: 18px; }
.owner-copy .btn { margin-top: 22px; }

/* ---------- Process band ---------- */
.process-band {
    background: linear-gradient(120deg, var(--dark) 0%, var(--dark-2) 100%);
    color: #fff; padding: 92px 0;
}
.process-band h2 { color: #fff; }
.process-band .section-head p:not(.kicker) { color: rgba(255,255,255,.7); }
.process-grid {
    list-style: none; display: grid; grid-template-columns: repeat(5, 1fr); gap: 28px;
}
@media (max-width: 980px) { .process-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 640px) { .process-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 440px) { .process-grid { grid-template-columns: 1fr; } }
.process-step { border-top: 2px solid var(--dark-line); padding-top: 18px; }
.process-num {
    display: block; font-size: 15px; font-weight: 800; color: var(--accent);
    letter-spacing: .06em; margin-bottom: 10px;
}
.process-step strong { display: block; color: #fff; font-size: 16px; font-weight: 800; margin-bottom: 6px; }
.process-step p { font-size: 13.5px; color: #98A2B3; line-height: 1.6; }

/* ---------- Reviews ---------- */
.review-card {
    background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
    padding: 28px; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 18px;
}
.review-card p { font-size: 15px; line-height: 1.7; flex: 1; }
.review-card footer { display: flex; flex-direction: column; line-height: 1.4; }
.review-card footer strong { color: var(--ink); font-size: 14.5px; }
.review-card footer span { color: var(--muted); font-size: 13px; }
.reviews-fallback { text-align: center; }
.reviews-fallback h2 { margin-bottom: 22px; }

/* ---------- FAQ ---------- */
.faq-shell { max-width: 780px; }
.faq-list { display: flex; flex-direction: column; gap: 12px; margin-top: 6px; }
.faq-item {
    background: var(--card); border: 1px solid var(--line); border-radius: 12px;
    padding: 0 22px; box-shadow: var(--shadow);
}
.faq-item summary {
    cursor: pointer; font-weight: 700; color: var(--ink); font-size: 15.5px;
    padding: 18px 0; list-style: none; position: relative; padding-right: 30px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
    content: "+"; position: absolute; right: 2px; top: 50%; transform: translateY(-50%);
    font-size: 22px; font-weight: 500; color: var(--muted);
}
.faq-item[open] summary::after { content: "\2013"; }
.faq-item p { padding: 0 0 20px; font-size: 14.5px; }

/* ---------- Service page body ---------- */
.service-body { display: grid; grid-template-columns: 1fr 350px; gap: 52px; align-items: start; }
@media (max-width: 920px) { .service-body { grid-template-columns: 1fr; gap: 32px; } }
.service-main h2 { margin: 34px 0 14px; font-size: 24px; }
.service-main h2:first-child { margin-top: 0; }
.service-main p { margin-bottom: 15px; }

.service-side { display: flex; flex-direction: column; gap: 20px; position: sticky; top: 130px; }
@media (max-width: 920px) { .service-side { position: static; } }
.side-card {
    background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
    padding: 26px; box-shadow: var(--shadow);
}
.side-card h3 { margin-bottom: 14px; }
.side-card p { font-size: 14.5px; color: var(--muted); margin-bottom: 16px; }
.side-card-cta { border-color: #BFD7F5; background: linear-gradient(180deg, #FDFEFF 0%, #F3F8FF 100%); }
.side-phone { display: block; text-align: center; margin-top: 14px; color: var(--ink); font-weight: 700; text-decoration: none; font-size: 14.5px; }
.side-phone:hover { color: var(--accent); }

.check-list { list-style: none; }
.check-list li {
    position: relative; padding: 0 0 11px 28px; font-size: 14.5px; color: var(--body);
}
.check-list li::before {
    content: ""; position: absolute; left: 0; top: 7px; width: 14px; height: 7px;
    border-left: 2.5px solid var(--ok); border-bottom: 2.5px solid var(--ok);
    transform: rotate(-45deg);
}
.check-list-bold li { font-size: 15.5px; padding-bottom: 13px; }
.check-list-bold li strong, .check-list li strong { color: var(--ink); }

/* ---------- About page ---------- */
.about-body { display: grid; grid-template-columns: 1fr 330px; gap: 52px; align-items: start; }
@media (max-width: 920px) { .about-body { grid-template-columns: 1fr; gap: 32px; } }
.about-main h2 { margin: 30px 0 14px; font-size: 24px; }
.about-main h2:first-child { margin-top: 0; }
.about-main p { margin-bottom: 15px; }

.steps-list { list-style: none; counter-reset: step; }
.steps-list li { counter-increment: step; position: relative; padding: 0 0 16px 44px; }
.steps-list li:last-child { padding-bottom: 0; }
.steps-list li::before {
    content: counter(step); position: absolute; left: 0; top: 0;
    width: 28px; height: 28px; border-radius: 50%;
    background: var(--ink); color: #fff; font-weight: 800; font-size: 13px;
    display: flex; align-items: center; justify-content: center;
}
.steps-list strong { display: block; color: var(--ink); font-size: 15px; }
.steps-list span { font-size: 14px; color: var(--muted); }
.steps-list-compact li { padding-bottom: 12px; }

/* ---------- Terms & Conditions ---------- */
.terms-shell { max-width: 820px; }
.terms-body {
    background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
    padding: 40px 44px; box-shadow: var(--shadow);
}
@media (max-width: 640px) { .terms-body { padding: 26px 22px; } }
.terms-body .tc-h {
    font-size: 16px; font-weight: 800; color: var(--ink);
    margin: 26px 0 8px; letter-spacing: -0.01em;
}
.terms-body .tc-h:first-child { margin-top: 0; }
.terms-body .tc-sub { margin: 0 0 8px; font-size: 14.5px; }
.terms-body .tc-item { margin: 0 0 8px 22px; font-size: 14.5px; }
.terms-body .tc-p { margin: 0 0 10px; font-size: 14.5px; }

/* ---------- Service areas ---------- */
.areas-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; max-width: 780px; }
@media (max-width: 640px) { .areas-grid { grid-template-columns: 1fr; } }
.area-col {
    background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
    padding: 28px; box-shadow: var(--shadow);
}
.area-col h2 { font-size: 19px; margin-bottom: 16px; }
.town-list { list-style: none; columns: 2; column-gap: 18px; }
.town-list li { padding: 4px 0; font-size: 14.5px; break-inside: avoid; }
.areas-note { margin-top: 28px; color: var(--muted); max-width: 640px; }
.areas-grid-wide { max-width: none; }
.band-group { margin-bottom: 40px; }
.band-group:last-of-type { margin-bottom: 0; }
.band-title { font-size: 21px; margin-bottom: 16px; }
.area-state {
    font-size: 12.5px; text-transform: uppercase; letter-spacing: .12em;
    color: var(--muted); margin-bottom: 12px;
}

/* Town link pills (service-areas hub + per-town "also around here") */
.town-links { display: flex; flex-wrap: wrap; gap: 8px; }
.town-pill {
    display: inline-block; padding: 8px 14px; border-radius: 999px;
    background: var(--bg); border: 1px solid var(--line);
    color: var(--ink); text-decoration: none; font-weight: 600; font-size: 13.5px;
    transition: border-color .12s, color .12s, background .12s;
}
.section-alt .town-pill, .area-col .town-pill { background: #fff; }
.town-pill:hover { border-color: var(--accent); color: var(--accent); }
.town-pill-all { background: var(--ink); color: #fff; border-color: var(--ink); }
.town-pill-all:hover { background: var(--dark-2); color: #fff; }
.town-why .town-check li { font-size: 15.5px; padding-bottom: 13px; }

/* ---------- CTA band ---------- */
.cta-band {
    background: linear-gradient(120deg, var(--dark) 0%, var(--dark-2) 100%);
    color: #fff; padding: 88px 0; text-align: center;
}
.cta-band h2 { color: #fff; margin-bottom: 14px; }
.cta-band-inner { max-width: 660px; }
.cta-band-sub { color: rgba(255,255,255,.78); font-size: 17px; }
.cta-band-actions { display: flex; gap: 16px; flex-wrap: wrap; justify-content: center; margin-top: 32px; }

/* ---------- Footer ---------- */
.site-footer { background: #0B0E12; color: #98A2B3; font-size: 14px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; padding: 64px 24px 44px; }
@media (max-width: 880px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-brand {
    color: #fff; font-weight: 800; font-size: 17px; margin-bottom: 12px;
    display: flex; align-items: center; gap: 10px;
}
.footer-logo { height: 34px; width: auto; }
.footer-about p { margin-bottom: 10px; line-height: 1.65; }
.footer-col h3 {
    color: #fff; font-size: 12.5px; text-transform: uppercase; letter-spacing: .12em;
    margin-bottom: 16px;
}
.footer-logins { margin-top: 24px; }
.footer-col a { display: block; color: #98A2B3; text-decoration: none; padding: 5px 0; }
.footer-col a:hover { color: #fff; }
.footer-fine { font-size: 12.5px; color: #66707F; margin-top: 6px; }
.footer-bottom {
    border-top: 1px solid var(--dark-line); padding-top: 20px; padding-bottom: 26px;
    font-size: 12.5px; color: #66707F;
}
