/* ============================================
   Brandt Painting — Modern Industrial Design
   ============================================ */

:root {
    --graphite:  #2A2F36;
    --red:       #D6342C;
    --steel:     #9AA6B2;
    --slate:     #39414B;
    --frost:     #C7D0D9;
    --carbon:    #1F2329;
    --white:     #FFFFFF;
    --off-white: #F5F6F8;

    --font-display: 'Barlow Condensed', 'Arial Narrow', sans-serif;
    --font-body:    'Inter', system-ui, -apple-system, sans-serif;

    --radius:    6px;
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.08);
    --shadow-md: 0 8px 24px rgba(0,0,0,0.12);
    --shadow-lg: 0 20px 60px rgba(0,0,0,0.18);

    --transition: 0.25s ease;
}

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

html { scroll-behavior: smooth; }

body {
    font-family: var(--font-body);
    color: var(--graphite);
    background: var(--white);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}

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

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

/* ── Accent rule ── */
.section-label {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-display);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--red);
    margin-bottom: 16px;
}

.section-label::before {
    content: '';
    display: block;
    width: 28px;
    height: 2px;
    background: var(--red);
    flex-shrink: 0;
}

/* =====================
   NAVIGATION
   ===================== */
.navbar {
    background: var(--graphite);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 16px rgba(0,0,0,0.25);
}

.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.logo-image {
    height: 64px;
    width: auto;
}

.nav-links {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-links a {
    color: var(--frost);
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.5px;
    padding: 8px 14px;
    border-radius: var(--radius);
    transition: color var(--transition), background var(--transition);
}

.nav-links a:hover {
    color: var(--white);
    background: rgba(255,255,255,0.08);
}

.nav-links .nav-cta a {
    background: var(--red);
    color: var(--white);
    font-weight: 600;
}

.nav-links .nav-cta a:hover {
    background: #B8291D;
}

/* Hamburger */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 6px;
    background: none;
    border: none;
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--white);
    border-radius: 2px;
    transition: all 0.3s;
}

.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Hero photo variant */
.hero.hero-photo {
    background:
        linear-gradient(
            to right,
            rgba(31, 35, 41, 0.93) 0%,
            rgba(31, 35, 41, 0.80) 50%,
            rgba(31, 35, 41, 0.55) 100%
        ),
        url('../assets/roller-ladder-red-wall-landscape.jpeg') center center / cover no-repeat;
}

.hero.hero-photo .hero-stats {
    background: rgba(31, 35, 41, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}

/* =====================
   HERO
   ===================== */
.hero {
    background: var(--carbon);
    color: var(--white);
    padding: 100px 0 90px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        linear-gradient(135deg, rgba(214,52,44,0.08) 0%, transparent 60%),
        repeating-linear-gradient(
            -45deg,
            transparent,
            transparent 40px,
            rgba(255,255,255,0.015) 40px,
            rgba(255,255,255,0.015) 41px
        );
    pointer-events: none;
}

.hero-inner {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-left {}

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-display);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: var(--red);
    margin-bottom: 20px;
}

.hero-eyebrow::before {
    content: '';
    display: block;
    width: 28px;
    height: 2px;
    background: var(--red);
}

.hero h1 {
    font-family: var(--font-display);
    font-size: clamp(42px, 5vw, 66px);
    font-weight: 700;
    line-height: 1.05;
    letter-spacing: 0.5px;
    margin-bottom: 24px;
    text-transform: uppercase;
}

.hero h1 em {
    font-style: normal;
    color: var(--red);
}

.hero-desc {
    font-size: 17px;
    color: var(--steel);
    line-height: 1.75;
    margin-bottom: 40px;
    max-width: 460px;
}

.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

/* Hero stats panel */
.hero-stats {
    background: var(--slate);
    border-radius: 12px;
    padding: 40px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    border: 1px solid rgba(255,255,255,0.06);
}

.stat-item {}

.stat-number {
    font-family: var(--font-display);
    font-size: 48px;
    font-weight: 700;
    color: var(--white);
    line-height: 1;
    margin-bottom: 6px;
}

.stat-number span {
    color: var(--red);
}

.stat-label {
    font-size: 13px;
    color: var(--steel);
    font-weight: 500;
    line-height: 1.4;
}

/* =====================
   BUTTONS
   ===================== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    font-family: var(--font-display);
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-decoration: none;
    border-radius: var(--radius);
    border: 2px solid transparent;
    cursor: pointer;
    transition: all var(--transition);
    white-space: nowrap;
}

.btn-primary {
    background: var(--red);
    color: var(--white);
    border-color: var(--red);
}

.btn-primary:hover {
    background: #B8291D;
    border-color: #B8291D;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(214,52,44,0.3);
}

.btn-outline {
    background: transparent;
    color: var(--white);
    border-color: rgba(255,255,255,0.3);
}

.btn-outline:hover {
    border-color: var(--white);
    background: rgba(255,255,255,0.08);
}

.btn-dark {
    background: var(--graphite);
    color: var(--white);
    border-color: var(--graphite);
}

.btn-dark:hover {
    background: var(--carbon);
    border-color: var(--carbon);
    transform: translateY(-2px);
}

/* =====================
   TRUST BAR
   ===================== */
.trust-bar {
    background: var(--red);
    padding: 14px 0;
}

.trust-bar .container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.trust-item {
    font-family: var(--font-display);
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--white);
    display: flex;
    align-items: center;
    gap: 8px;
}

.trust-dot {
    width: 5px;
    height: 5px;
    background: rgba(255,255,255,0.5);
    border-radius: 50%;
}

/* =====================
   SERVICES SECTION
   ===================== */
.services-section {
    padding: 100px 0;
    background: var(--white);
}

.section-header {
    margin-bottom: 56px;
}

.section-header h2 {
    font-family: var(--font-display);
    font-size: clamp(32px, 4vw, 48px);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    line-height: 1.1;
    color: var(--graphite);
}

.section-header p {
    margin-top: 16px;
    font-size: 16px;
    color: var(--steel);
    max-width: 560px;
    line-height: 1.75;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2px;
    background: var(--frost);
    border-radius: 10px;
    overflow: hidden;
}

.service-card {
    background: var(--white);
    padding: 40px 36px;
    transition: background var(--transition);
    position: relative;
}

.service-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 36px;
    right: 36px;
    height: 3px;
    background: var(--red);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--transition);
}

.service-card:hover {
    background: var(--off-white);
}

.service-card:hover::after {
    transform: scaleX(1);
}

.service-card-icon {
    width: 44px;
    height: 44px;
    background: var(--graphite);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.service-card-icon svg {
    width: 22px;
    height: 22px;
    stroke: var(--white);
    fill: none;
    stroke-width: 1.75;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.service-card h3 {
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: var(--graphite);
    margin-bottom: 12px;
}

.service-card p {
    font-size: 14px;
    color: var(--steel);
    line-height: 1.75;
}

/* =====================
   WHY BRANDT
   ===================== */
.why-section {
    padding: 100px 0;
    background: var(--carbon);
    color: var(--white);
}

.why-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.why-left h2 {
    font-family: var(--font-display);
    font-size: clamp(32px, 4vw, 48px);
    font-weight: 700;
    text-transform: uppercase;
    line-height: 1.1;
    margin-bottom: 20px;
}

.why-left h2 em {
    font-style: normal;
    color: var(--red);
}

.why-left p {
    font-size: 16px;
    color: var(--steel);
    line-height: 1.75;
    margin-bottom: 36px;
}

.why-points {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.why-points li {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    font-size: 15px;
    color: var(--frost);
    line-height: 1.6;
}

.why-points li::before {
    content: '';
    display: block;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--red);
    flex-shrink: 0;
    margin-top: 2px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
}

.why-right {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.proof-card {
    background: var(--slate);
    border-radius: 10px;
    padding: 28px 24px;
    border: 1px solid rgba(255,255,255,0.05);
}

.proof-number {
    font-family: var(--font-display);
    font-size: 40px;
    font-weight: 700;
    color: var(--white);
    line-height: 1;
    margin-bottom: 8px;
}

.proof-number sup {
    font-size: 22px;
    color: var(--red);
}

.proof-label {
    font-size: 13px;
    color: var(--steel);
    line-height: 1.4;
}

/* =====================
   CTA BANNER
   ===================== */
.cta-section {
    background: var(--red);
    padding: 80px 0;
}

.cta-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    flex-wrap: wrap;
}

.cta-text h2 {
    font-family: var(--font-display);
    font-size: clamp(28px, 3.5vw, 42px);
    font-weight: 700;
    text-transform: uppercase;
    color: var(--white);
    line-height: 1.1;
}

.cta-text p {
    margin-top: 10px;
    font-size: 16px;
    color: rgba(255,255,255,0.8);
}

.cta-section .btn-outline {
    border-color: rgba(255,255,255,0.5);
    color: var(--white);
    font-size: 16px;
    padding: 16px 36px;
}

.cta-section .btn-outline:hover {
    background: rgba(255,255,255,0.15);
    border-color: var(--white);
}

/* =====================
   FOOTER
   ===================== */
.footer {
    background: var(--carbon);
    color: var(--steel);
    padding: 48px 0 32px;
}

.footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
    padding-bottom: 32px;
    margin-bottom: 32px;
    border-bottom: 1px solid rgba(255,255,255,0.07);
}

.footer-logo img {
    height: 44px;
    width: auto;
    opacity: 0.85;
}

.footer-links {
    display: flex;
    gap: 24px;
    list-style: none;
    flex-wrap: wrap;
}

.footer-links a {
    color: var(--steel);
    text-decoration: none;
    font-size: 13px;
    transition: color var(--transition);
}

.footer-links a:hover {
    color: var(--white);
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    font-size: 13px;
}

.footer-bottom p {
    color: rgba(154,166,178,0.6);
}

/* Page hero photo variants */
.page-hero.page-hero-services {
    background:
        linear-gradient(
            135deg,
            rgba(31, 35, 41, 0.70) 0%,
            rgba(31, 35, 41, 0.60) 100%
        ),
        url('../assets/roller-white-wall-detail.jpeg') center center / cover no-repeat;
}

.page-hero.page-hero-about {
    background:
        linear-gradient(
            135deg,
            rgba(31, 35, 41, 0.70) 0%,
            rgba(31, 35, 41, 0.60) 100%
        ),
        url('../assets/roller-brush-tray-tools.jpeg') center center / cover no-repeat;
}

.page-hero.page-hero-contact {
    background:
        linear-gradient(
            135deg,
            rgba(31, 35, 41, 0.55) 0%,
            rgba(31, 35, 41, 0.45) 100%
        ),
        url('../assets/wasatch-mountains-sunset.jpeg') center bottom / cover no-repeat;
}

/* =====================
   INNER PAGE HERO
   ===================== */
.page-hero {
    background: var(--carbon);
    color: var(--white);
    padding: 100px 0 80px;
    position: relative;
    overflow: hidden;
}

.page-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(
        -45deg,
        transparent,
        transparent 40px,
        rgba(255,255,255,0.015) 40px,
        rgba(255,255,255,0.015) 41px
    );
    pointer-events: none;
}

.page-hero-inner {
    position: relative;
}

.page-hero h1 {
    font-family: var(--font-display);
    font-size: clamp(36px, 5vw, 56px);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    line-height: 1.05;
    margin-bottom: 12px;
}

.page-hero p {
    font-size: 16px;
    color: var(--steel);
    max-width: 560px;
}

/* =====================
   CONTENT SECTIONS
   ===================== */
.content-section {
    padding: 80px 0;
    background: var(--white);
}

.content-section h2 {
    font-family: var(--font-display);
    font-size: 34px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--graphite);
    margin-bottom: 20px;
}

.content-section h3 {
    font-family: var(--font-display);
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 0.5px;
    color: var(--graphite);
    margin-bottom: 10px;
}

.content-section p {
    color: var(--steel);
    margin-bottom: 20px;
    line-height: 1.8;
}

/* About Content */
.about-content {
    max-width: 780px;
}

.about-list {
    list-style: none;
    margin: 32px 0 48px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 0;
}

.about-list li {
    font-size: 15px;
    color: var(--steel);
    line-height: 1.7;
    padding-left: 0;
}

.about-list li strong {
    display: block;
    color: var(--graphite);
    font-weight: 700;
    margin-bottom: 6px;
    font-size: 16px;
}

/* Services inner page */
.services-grid-inner {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
    margin-bottom: 72px;
}

.service-card-inner {
    padding: 32px;
    background: var(--off-white);
    border-radius: 10px;
    border: 1px solid var(--frost);
    transition: all var(--transition);
    border-top: 3px solid transparent;
}

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

.service-card-inner h3 {
    margin-bottom: 10px;
    font-size: 20px;
}

.service-card-inner p {
    font-size: 14px;
    margin-bottom: 0;
}

/* Why list inner */
.why-list-inner {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2px;
    background: var(--frost);
    border-radius: 10px;
    overflow: hidden;
}

.why-item-inner {
    background: var(--white);
    padding: 36px 28px;
    text-align: center;
}

.why-number {
    font-family: var(--font-display);
    font-size: 32px;
    font-weight: 700;
    color: var(--red);
    display: block;
    margin-bottom: 8px;
    letter-spacing: 0.5px;
}

.why-item-inner p {
    font-size: 14px;
    color: var(--steel);
    margin-bottom: 0;
}

/* Contact Page */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 60px;
    margin-bottom: 72px;
    align-items: start;
}

.contact-info h2 {
    margin-bottom: 16px;
}

.info-block {
    margin: 32px 0;
}

.info-block h3 {
    font-size: 13px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--red);
    font-family: var(--font-display);
    font-weight: 600;
    margin-bottom: 10px;
}

.info-block p {
    margin-bottom: 0;
}

.info-list {
    list-style: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.info-list li {
    font-size: 14px;
    color: var(--steel);
    display: flex;
    align-items: center;
    gap: 10px;
}

.info-list li::before {
    content: '';
    display: block;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--red);
    flex-shrink: 0;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
}

/* Contact Form */
.contact-form-wrapper {
    background: var(--off-white);
    padding: 44px 40px;
    border-radius: 12px;
    border: 1px solid var(--frost);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--graphite);
    font-family: var(--font-display);
}

.form-group input,
.form-group textarea {
    padding: 13px 16px;
    border: 1.5px solid var(--frost);
    border-radius: var(--radius);
    font-family: var(--font-body);
    font-size: 15px;
    color: var(--graphite);
    background: var(--white);
    transition: border-color var(--transition), box-shadow var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--red);
    box-shadow: 0 0 0 3px rgba(214,52,44,0.1);
}

.form-group textarea { resize: vertical; }

.contact-form .btn {
    margin-top: 4px;
    justify-content: center;
}

.form-message {
    padding: 13px 16px;
    border-radius: var(--radius);
    font-size: 14px;
    font-weight: 500;
    display: none;
}

.form-message.success {
    display: block;
    background: #E8F5E9;
    color: #2E7D32;
    border: 1px solid #C8E6C9;
}

.form-message.error {
    display: block;
    background: #FFEBEE;
    color: #C62828;
    border: 1px solid #FFCDD2;
}

/* Map */
.map-section {
    padding-top: 60px;
    border-top: 1px solid var(--frost);
}

.map-section h2 {
    margin-bottom: 20px;
}

/* CTA (inner pages) */
.cta {
    background: var(--graphite);
    color: var(--white);
    padding: 80px 0;
    text-align: center;
}

.cta h2 {
    font-family: var(--font-display);
    font-size: clamp(28px, 3.5vw, 40px);
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 14px;
}

.cta p {
    font-size: 17px;
    color: var(--steel);
    margin-bottom: 32px;
}

/* =====================
   RESPONSIVE
   ===================== */
@media (max-width: 900px) {
    .hero-inner,
    .why-inner {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .hero-stats {
        grid-template-columns: repeat(4, 1fr);
    }

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

    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width: 680px) {
    .navbar { position: sticky; top: 0; }
    .navbar .container { height: 70px; }

    .logo-image { height: 50px; }

    .nav-toggle { display: flex; }

    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 70px;
        left: 0;
        right: 0;
        background: var(--carbon);
        padding: 12px 0 20px;
        gap: 0;
        border-top: 2px solid var(--red);
        box-shadow: 0 12px 32px rgba(0,0,0,0.4);
        z-index: 999;
    }

    .nav-links.open { display: flex; }

    .nav-links li { width: 100%; }

    .nav-links a {
        display: block;
        padding: 14px 24px;
        font-size: 16px;
        font-family: var(--font-display);
        font-weight: 600;
        letter-spacing: 1px;
        text-transform: uppercase;
        color: var(--frost);
        border-radius: 0;
        border-bottom: 1px solid rgba(255,255,255,0.05);
    }

    .nav-links a:hover {
        background: rgba(255,255,255,0.06);
        color: var(--white);
        padding-left: 30px;
    }

    .nav-links .nav-cta {
        margin: 12px 24px 0;
    }

    .nav-links .nav-cta a {
        display: block;
        text-align: center;
        background: var(--red);
        color: var(--white);
        border-radius: var(--radius);
        padding: 14px 24px;
        border-bottom: none;
    }

    .nav-links .nav-cta a:hover {
        background: #B8291D;
        padding-left: 24px;
    }

    .hero { padding: 72px 0 60px; }

    .hero-stats { grid-template-columns: 1fr 1fr; }

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

    .why-right { grid-template-columns: 1fr 1fr; }

    .cta-inner { flex-direction: column; text-align: center; }

    .footer-inner { flex-direction: column; align-items: flex-start; }

    .footer-bottom { flex-direction: column; align-items: flex-start; }

    .contact-form-wrapper { padding: 28px 20px; }

    .trust-bar .container { gap: 20px; }
}

/* active nav link (set by build via data-nav/active) */
.nav-links a.active { color: #D6342C; }
