/* We Buy Property - Minimal, fast, mobile-first */

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

:root {
    --bg: #f8f9fa;
    --text: #1a1a1a;
    --muted: #555;
    --accent: #0d6efd;
    --accent-dark: #0a58ca;
    --border: #dee2e6;
    --white: #fff;
    --success: #198754;
    --error: #dc3545;
    --radius: 6px;
    --max: 720px;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    line-height: 1.6;
    color: var(--text);
    background: var(--bg);
    min-height: 100vh;
}

.container {
    width: 100%;
    max-width: var(--max);
    margin: 0 auto;
    padding: 0 1.25rem;
}

/* Header */
.site-header {
    background: var(--white);
    border-bottom: 1px solid var(--border);
    padding: 1.5rem 0;
    text-align: center;
}

.logo {
    font-size: 1.6rem;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.tagline {
    color: var(--muted);
    font-size: 0.95rem;
    margin-top: 0.25rem;
}

/* Hero */
.hero {
    background: var(--white);
    padding: 3rem 0 2.5rem;
    text-align: center;
    border-bottom: 1px solid var(--border);
}

.hero h2 {
    font-size: 1.75rem;
    line-height: 1.3;
    margin-bottom: 1rem;
    font-weight: 700;
}

.lead {
    color: var(--muted);
    margin-bottom: 1.75rem;
    font-size: 1.05rem;
}

/* Buttons */
.btn {
    display: inline-block;
    background: var(--accent);
    color: var(--white);
    padding: 0.75rem 1.75rem;
    border-radius: var(--radius);
    text-decoration: none;
    font-weight: 600;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    transition: background 0.15s ease;
}

.btn:hover,
.btn:focus {
    background: var(--accent-dark);
}

button.btn {
    width: 100%;
    max-width: 280px;
}

/* Sections */
section {
    padding: 2.75rem 0;
}

section h2 {
    font-size: 1.4rem;
    margin-bottom: 1.25rem;
    text-align: center;
}

.benefits {
    background: var(--bg);
}

.grid {
    display: grid;
    gap: 1.5rem;
}

@media (min-width: 560px) {
    .grid {
        grid-template-columns: 1fr 1fr;
    }
}

.grid article {
    background: var(--white);
    padding: 1.25rem;
    border-radius: var(--radius);
    border: 1px solid var(--border);
}

.grid h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: var(--accent-dark);
}

.grid p {
    font-size: 0.95rem;
    color: var(--muted);
}

.about p {
    margin-bottom: 1rem;
    color: var(--muted);
}

.about p:last-child {
    margin-bottom: 0;
}

/* Contact */
.contact {
    background: var(--white);
    border-top: 1px solid var(--border);
}

.contact > .container > p {
    text-align: center;
    color: var(--muted);
    margin-bottom: 1.75rem;
}

.contact-form {
    max-width: 480px;
    margin: 0 auto 2.5rem;
}

.form-group {
    margin-bottom: 1.1rem;
}

label {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 0.35rem;
}

input[type="text"],
input[type="tel"],
input[type="email"],
textarea {
    width: 100%;
    padding: 0.65rem 0.75rem;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-size: 1rem;
    font-family: inherit;
    background: var(--white);
}

input:focus,
textarea:focus {
    outline: 2px solid var(--accent);
    outline-offset: 1px;
    border-color: var(--accent);
}

textarea {
    resize: vertical;
    min-height: 120px;
}

/* Honeypot - hidden from real users */
.hp {
    position: absolute;
    left: -9999px;
    opacity: 0;
    height: 0;
    overflow: hidden;
}

.alert {
    max-width: 480px;
    margin: 0 auto 1.5rem;
    padding: 0.85rem 1rem;
    border-radius: var(--radius);
    font-size: 0.95rem;
    text-align: center;
}

.alert-success {
    background: #d1e7dd;
    color: #0f5132;
    border: 1px solid #badbcc;
}

.alert-error {
    background: #f8d7da;
    color: #842029;
    border: 1px solid #f5c2c7;
}

.direct-contact {
    text-align: center;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border);
}

.direct-contact p {
    margin-bottom: 0.4rem;
    color: var(--muted);
}

.phone a {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--accent-dark);
    text-decoration: none;
}

.phone a:hover {
    text-decoration: underline;
}

.x-link a {
    color: var(--accent);
}

/* Footer */
.site-footer {
    background: #e9ecef;
    padding: 1.5rem 0;
    text-align: center;
    font-size: 0.85rem;
    color: var(--muted);
    border-top: 1px solid var(--border);
}

.site-footer .small {
    margin-top: 0.5rem;
    font-size: 0.8rem;
    max-width: 520px;
    margin-left: auto;
    margin-right: auto;
}

/* Tiny bit of breathing room on very small screens */
@media (max-width: 380px) {
    .hero h2 {
        font-size: 1.45rem;
    }
    .logo {
        font-size: 1.4rem;
    }
}

/* Locations */
.locations {
    background: var(--bg);
    border-top: 1px solid var(--border);
}

.locations-intro {
    text-align: center;
    color: var(--muted);
    margin-bottom: 1.75rem;
    max-width: 520px;
    margin-left: auto;
    margin-right: auto;
}

.locations-grid {
    display: grid;
    gap: 1.5rem;
}

@media (min-width: 560px) {
    .locations-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (min-width: 800px) {
    .locations-grid {
        grid-template-columns: 1fr 1fr 1fr 1fr;
    }
}

.loc-group {
    background: var(--white);
    padding: 1.15rem 1.25rem;
    border-radius: var(--radius);
    border: 1px solid var(--border);
}

.loc-group h3 {
    font-size: 1.05rem;
    margin-bottom: 0.6rem;
    color: var(--accent-dark);
}

.loc-group ul {
    list-style: none;
    font-size: 0.9rem;
    color: var(--muted);
    line-height: 1.55;
}

.loc-group li {
    margin-bottom: 0.25rem;
}

.locations-note {
    text-align: center;
    margin-top: 1.5rem;
    font-size: 0.95rem;
    color: var(--muted);
}
