/* ========================================
   Arrowtown Builders — Professional CSS
   Mobile-First Responsive Design
   ======================================== */

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

:root {
    --cream: #F4F4F4;
    --white: #FFFFFF;
    --brown: #2A2522;
    --brown-dark: #2A2522;
    --brown-mid: #3A3430;
    --text: #2A2522;
    --text-muted: #6B7280;
    --border: #E5E7EB;
    --cream-dark: #EBEBEB;
}

html { scroll-behavior: smooth; }

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text);
    background-color: var(--white);
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
h1, h2, h3, h4 { line-height: 1.2; margin-bottom: 1rem; font-weight: 700; }
h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.25rem; }
p { margin-bottom: 1rem; }

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ========================================
   HEADER — single row, Remarks style
   ======================================== */
header {
    background-color: var(--brown-dark);
    color: var(--white);
    padding: 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
    gap: 1.5rem;
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.logo img {
    height: 48px;
    width: auto;
    display: block;
}

/* Nav — centered between logo and CTA */
nav {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex: 1;
}

.nav-list {
    list-style: none;
    display: flex;
    gap: 1.15rem;
    align-items: center;
    justify-content: flex-end;
}

.nav-list a {
    color: rgba(255,255,255,0.65);
    font-size: 0.82rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    transition: color 0.2s;
    white-space: nowrap;
}

.nav-list a:hover,
.nav-list a.active {
    color: var(--white);
}

/* Header CTA button */
.header-cta {
    background: var(--white);
    color: var(--brown-dark);
    padding: 10px 22px;
    border-radius: 4px;
    font-size: 0.82rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    white-space: nowrap;
    transition: background 0.2s, color 0.2s;
    flex-shrink: 0;
}

.header-cta:hover {
    background: rgba(255,255,255,0.85);
}

/* Mobile Toggle */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--white);
    cursor: pointer;
    padding: 8px;
    flex-shrink: 0;
}

/* Mobile Nav */
@media (max-width: 768px) {
    .menu-toggle { display: flex; align-items: center; }
    .header-cta { display: none; }
    nav {
        display: none;
        position: absolute;
        top: 60px;
        left: 0;
        right: 0;
        background: var(--brown-dark);
        padding: 0.5rem 0 1rem;
        border-top: 1px solid rgba(255,255,255,0.08);
        box-shadow: 0 4px 16px rgba(0,0,0,0.3);
    }
    nav.open { display: block; }
    .nav-list {
        flex-direction: column;
        gap: 0;
        padding: 0 20px;
    }
    .nav-list li { border-bottom: 1px solid rgba(255,255,255,0.08); }
    .nav-list a {
        display: block;
        padding: 12px 0;
        color: rgba(255,255,255,0.65);
    }
    .nav-list li:last-child { border-bottom: none; }
    .header-inner { height: 60px; }
}

/* ========================================
   HERO — above fold always
   ======================================== */
.hero {
    position: relative;
    height: 100svh;
    min-height: 560px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background-image: url('hero.jpg');
    background-size: cover;
    background-position: center 30%;
    z-index: 0;
}

.hero-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(24,23,22,0.62) 0%, rgba(24,23,22,0.42) 100%);
}

.hero .container {
    position: relative;
    z-index: 1;
}

.hero-content {
    padding: 90px 0 40px;
    max-width: 680px;
}

.hero-badge {
    display: inline-block;
    background: rgba(250,241,223,0.15);
    border: 1px solid rgba(250,241,223,0.4);
    color: var(--cream);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 6px 14px;
    border-radius: 3px;
    margin-bottom: 1.1rem;
}

.hero h1 {
    color: var(--white);
    font-size: 3rem;
    margin-bottom: 1rem;
    text-shadow: 0 2px 8px rgba(0,0,0,0.4);
}

.hero p {
    color: rgba(255,255,255,0.85);
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

@media (max-width: 768px) {
    .hero h1 { font-size: 2rem; }
    .hero p { font-size: 0.97rem; }
    .hero-content { padding: 80px 0 30px; }
    .hero-badge { font-size: 0.72rem; margin-bottom: 0.85rem; }
}

/* ========================================
   BUTTONS
   ======================================== */
.btn {
    display: inline-block;
    padding: 13px 26px;
    border-radius: 4px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.2s;
    border: 2px solid transparent;
    text-align: center;
}

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

.btn-primary:hover {
    background-color: var(--brown-mid);
    border-color: var(--brown-mid);
}

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

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

.btn-outline {
    background: transparent;
    color: var(--brown);
    border-color: var(--brown);
}

.btn-outline:hover {
    background: var(--brown);
    color: var(--white);
}

.btn-full { width: 100%; }

/* ========================================
   TRUST SIGNALS
   ======================================== */
.trust-signals {
    background-color: var(--brown-dark);
    padding: 2.25rem 0;
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.trust-item {
    display: flex;
    align-items: flex-start;
    gap: 0.85rem;
    color: var(--white);
}

.trust-icon {
    flex-shrink: 0;
    color: var(--cream);
    margin-top: 2px;
}

.trust-item h3 {
    font-size: 0.95rem;
    margin-bottom: 0.2rem;
    color: var(--white);
}

.trust-item p {
    font-size: 0.82rem;
    color: rgba(255,255,255,0.55);
    margin: 0;
}

@media (max-width: 900px) {
    .trust-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 480px) {
    .trust-grid { grid-template-columns: 1fr; }
    .trust-item { justify-content: center; text-align: center; flex-direction: column; align-items: center; }
    .trust-icon { margin-top: 0; }
}

/* ========================================
   SECTION HELPERS
   ======================================== */
section { padding: 72px 0; }

.section-title {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title h2 {
    color: var(--text);
    margin-bottom: 0.75rem;
}

.section-title p {
    color: var(--text-muted);
    font-size: 1.05rem;
    max-width: 560px;
    margin: 0 auto;
}

.section-accent {
    display: inline-block;
    width: 36px;
    height: 3px;
    background: var(--brown);
    margin-bottom: 1rem;
    border-radius: 2px;
}

/* ========================================
   SERVICES
   ======================================== */
.services-section {
    background-color: var(--cream);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.service-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 6px;
    padding: 2rem 1.75rem;
    transition: box-shadow 0.2s, transform 0.2s;
}

.service-card:hover {
    box-shadow: 0 6px 24px rgba(42,37,34,0.1);
    transform: translateY(-2px);
}

.service-card .service-icon {
    color: var(--brown);
    margin-bottom: 1rem;
}

.service-card h3 {
    color: var(--text);
    margin-bottom: 0.5rem;
    font-size: 1.05rem;
}

.service-card p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin: 0;
    line-height: 1.65;
}

@media (max-width: 900px) {
    .services-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 580px) {
    .services-grid { grid-template-columns: 1fr; }
}

/* ========================================
   ABOUT
   ======================================== */
.about-section {
    background-color: var(--white);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-content p {
    color: var(--text-muted);
    line-height: 1.75;
}

.about-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
}

.stat-box {
    background: var(--cream);
    border: 1px solid var(--border);
    border-radius: 6px;
    padding: 1.5rem;
    text-align: center;
}

.stat-box .stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--brown);
    line-height: 1;
    margin-bottom: 0.4rem;
}

.stat-box .stat-label {
    font-size: 0.82rem;
    color: var(--text-muted);
    line-height: 1.3;
}

@media (max-width: 768px) {
    .about-grid { grid-template-columns: 1fr; gap: 2.5rem; }
}

/* ========================================
   CTA BAND
   ======================================== */
.cta-band {
    background-color: var(--brown);
    padding: 3.5rem 0;
    text-align: center;
}

.cta-band h2 {
    color: var(--white);
    margin-bottom: 0.75rem;
    font-size: 1.85rem;
}

.cta-band p {
    color: rgba(255,255,255,0.8);
    margin-bottom: 2rem;
    font-size: 1.05rem;
}

.cta-band .btn-light {
    background: var(--white);
    color: var(--brown);
    border-color: var(--white);
    font-weight: 700;
}

.cta-band .btn-light:hover {
    background: rgba(255,255,255,0.85);
    border-color: rgba(255,255,255,0.85);
}

.cta-band-btns {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* ========================================
   CONTACT — Muffs style
   ======================================== */
.contact-section {
    background-color: var(--brown-dark);
    padding: 28px 0 44px;
}

.contact-section .section-title h2 {
    color: var(--white);
}

.contact-section .section-title p {
    color: rgba(255,255,255,0.65);
}

.contact-section .section-accent {
    background: var(--cream);
}

.contact-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(420px, 0.82fr);
    gap: 30px;
    align-items: start;
}

/* Left column */
.contact-info-eyebrow {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: rgba(255,255,255,0.48);
    margin-bottom: 12px;
}

.contact-info-heading {
    font-size: clamp(2rem, 4vw, 3.25rem);
    font-weight: 800;
    color: var(--white);
    line-height: 1.08;
    margin-bottom: 16px;
    letter-spacing: -0.03em;
}

.contact-info-intro {
    font-size: 1rem;
    color: rgba(255,255,255,0.72);
    line-height: 1.7;
    margin-bottom: 28px;
    max-width: 470px;
}

.contact-rows {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.contact-row {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 18px 0;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.contact-row:first-child {
    padding-top: 0;
}

.contact-row:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.contact-row-icon {
    flex-shrink: 0;
    color: rgba(255,255,255,0.92);
    width: 18px;
    height: 18px;
    padding: 10px;
    border-radius: 10px;
    background: rgba(0,0,0,0.3);
    box-sizing: content-box;
    margin-top: 0;
}

.contact-row-label {
    display: block;
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: rgba(255,255,255,0.45);
    margin-bottom: 4px;
}

.contact-row-value {
    display: block;
    font-size: 1.03rem;
    font-weight: 600;
    color: rgba(255,255,255,0.94);
    line-height: 1.45;
}

a.contact-row-value:hover {
    color: var(--white);
    text-decoration: underline;
}

/* Right column — form card */
.contact-form-wrap {
    background: var(--white);
    border-radius: 10px;
    padding: 22px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.2);
    max-width: 520px;
    width: 100%;
    justify-self: end;
}

.contact-form-wrap h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 16px;
}

.quote-form {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

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

.form-group label {
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--text);
}

.required-star { color: #c0392b; }

.form-group input,
.form-group select,
.form-group textarea {
    padding: 10px 13px;
    border: 1.5px solid var(--border);
    border-radius: 6px;
    font-size: 0.95rem;
    color: var(--text);
    background: var(--white);
    transition: border-color 0.2s, box-shadow 0.2s;
    font-family: inherit;
    outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--brown);
    box-shadow: 0 0 0 3px rgba(92,45,14,0.1);
}

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

.btn-submit {
    width: 100%;
    padding: 13px;
    background: var(--brown-dark);
    color: var(--white);
    border: none;
    border-radius: 6px;
    font-size: 0.97rem;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s;
    margin-top: 4px;
}

.btn-submit:hover { background: var(--brown); }

@media (max-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }
    .contact-form-wrap {
        max-width: 100%;
        justify-self: stretch;
    }
}

/* ========================================
   FOOTER
   ======================================== */
footer {
    background-color: var(--brown-dark);
    color: rgba(255,255,255,0.5);
    padding: 3rem 0 1.5rem;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 3rem;
    padding-bottom: 2rem;
    margin-bottom: 1.5rem;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-brand img {
    height: 52px;
    width: auto;
    filter: none;
    opacity: 1;
    margin-bottom: 1rem;
}

.footer-brand p {
    font-size: 0.86rem;
    line-height: 1.65;
    color: rgba(255,255,255,0.38);
    margin: 0 0 1.25rem;
}

.footer-contact-quick {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.footer-contact-link {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.88rem;
    color: rgba(255,255,255,0.55);
    transition: color 0.2s;
}

.footer-contact-link:hover { color: var(--white); }

.footer-col h4 {
    color: var(--white);
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1.1rem;
}

.footer-col ul { list-style: none; }

.footer-col ul li { margin-bottom: 0.5rem; }

.footer-col ul li a {
    color: rgba(255,255,255,0.45);
    font-size: 0.88rem;
    transition: color 0.2s;
}

.footer-col ul li a:hover { color: var(--white); }

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
    font-size: 0.8rem;
}

.footer-built-by {
    color: rgba(255,255,255,0.3);
    transition: color 0.2s;
}

.footer-built-by:hover { color: var(--white); }

@media (max-width: 768px) {
    .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
    .footer-bottom { flex-direction: column; text-align: center; }
}
