/* Vantage Homes — 2026 redesign */

:root {
    --vh-navy: #1a2f3f;
    --vh-slate: #2c4251;
    --vh-blue: #0060ad;
    --vh-blue-light: #0077cc;
    --vh-cream: #f8f6f3;
    --vh-warm-white: #fdfcfa;
    --vh-gray: #5a6570;
    --vh-gray-light: #e8e6e3;
    --vh-gold: #b8956a;
    --vh-font: "DM Sans", "Open Sans", system-ui, sans-serif;
    --vh-font-display: "DM Sans", "Mada", system-ui, sans-serif;
    --vh-max: 1200px;
    --vh-radius: 4px;
    --vh-shadow: 0 4px 24px rgba(26, 47, 63, 0.08);
}

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

html { scroll-behavior: smooth; }

body {
    font-family: var(--vh-font);
    font-size: 1.0625rem;
    line-height: 1.65;
    color: var(--vh-slate);
    background: var(--vh-warm-white);
    margin: 0;
}

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

a { color: var(--vh-blue); text-decoration: none; }
a:hover { color: var(--vh-blue-light); text-decoration: underline; }

h1, h2, h3, h4 {
    font-family: var(--vh-font-display);
    color: var(--vh-navy);
    line-height: 1.2;
    font-weight: 600;
}

h1 { font-size: clamp(2rem, 5vw, 2.75rem); margin: 0 0 1rem; }
h2 { font-size: clamp(1.5rem, 3.5vw, 2rem); margin: 0 0 0.75rem; }
h3 { font-size: 1.25rem; }

.vh-container {
    width: min(var(--vh-max), 100% - 2rem);
    margin-inline: auto;
}

/* Header / Nav */
.vh-header {
    background: var(--vh-navy);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 12px rgba(0,0,0,0.15);
}

.vh-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 0;
    gap: 1rem;
}

.vh-nav__logo img { height: 36px; width: auto; }

.vh-nav__toggle {
    display: none;
    background: none;
    border: none;
    color: #fff;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.25rem;
}

.vh-nav__links {
    display: flex;
    align-items: center;
    gap: 0.25rem 1.5rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.vh-nav__links a {
    color: rgba(255,255,255,0.9);
    font-size: 0.9375rem;
    font-weight: 500;
    text-decoration: none;
    letter-spacing: 0.02em;
}
.vh-nav__links a:hover,
.vh-nav__links a.is-active { color: #fff; }

.vh-nav__cta {
    background: var(--vh-gold) !important;
    color: var(--vh-navy) !important;
    padding: 0.5rem 1rem !important;
    border-radius: var(--vh-radius);
    font-weight: 600 !important;
}
.vh-nav__cta:hover { background: #c9a67a !important; color: var(--vh-navy) !important; text-decoration: none !important; }

@media (max-width: 900px) {
    .vh-nav__toggle { display: block; }
    .vh-nav__links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--vh-navy);
        padding: 1rem;
        gap: 0.75rem;
    }
    .vh-nav__links.is-open { display: flex; }
}

/* Hero */
.vh-hero {
    position: relative;
    min-height: 70vh;
    display: flex;
    align-items: center;
    color: #fff;
    overflow: hidden;
}

.vh-hero__bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}
.vh-hero__bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.vh-hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(26,47,63,0.82) 0%, rgba(26,47,63,0.55) 100%);
    z-index: 1;
}
.vh-hero__content {
    position: relative;
    z-index: 2;
    padding: 4rem 0;
    max-width: 640px;
}
.vh-hero__eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.15em;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--vh-gold);
    margin-bottom: 0.75rem;
}
.vh-hero h1 { color: #fff; }
.vh-hero__lead {
    font-size: 1.125rem;
    opacity: 0.95;
    margin-bottom: 2rem;
    line-height: 1.6;
}

/* Buttons */
.vh-btn {
    display: inline-block;
    padding: 0.875rem 1.75rem;
    font-weight: 600;
    font-size: 0.9375rem;
    border-radius: var(--vh-radius);
    text-decoration: none !important;
    transition: background 0.2s, transform 0.15s;
    border: 2px solid transparent;
    cursor: pointer;
}
.vh-btn--primary {
    background: var(--vh-gold);
    color: var(--vh-navy) !important;
}
.vh-btn--primary:hover { background: #c9a67a; color: var(--vh-navy) !important; }
.vh-btn--outline {
    background: transparent;
    color: #fff !important;
    border-color: rgba(255,255,255,0.6);
}
.vh-btn--outline:hover { border-color: #fff; background: rgba(255,255,255,0.1); color: #fff !important; }
.vh-btn--blue {
    background: var(--vh-blue);
    color: #fff !important;
}
.vh-btn--blue:hover { background: var(--vh-blue-light); color: #fff !important; }

.vh-btn-group { display: flex; flex-wrap: wrap; gap: 1rem; }

/* Sections */
.vh-section { padding: 4.5rem 0; }
.vh-section--cream { background: var(--vh-cream); }
.vh-section--dark { background: var(--vh-navy); color: rgba(255,255,255,0.9); }
.vh-section--dark h2, .vh-section--dark h3 { color: #fff; }

.vh-section__header {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 3rem;
}
.vh-section__header p { color: var(--vh-gray); margin: 0; }

/* Grid layouts */
.vh-grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}
.vh-grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}
.vh-grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
}

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

/* Cards */
.vh-card {
    background: #fff;
    border-radius: var(--vh-radius);
    overflow: hidden;
    box-shadow: var(--vh-shadow);
    transition: transform 0.2s, box-shadow 0.2s;
}
.vh-card:hover { transform: translateY(-2px); box-shadow: 0 8px 32px rgba(26,47,63,0.12); }
.vh-card__img { aspect-ratio: 4/3; overflow: hidden; }
.vh-card__img img { width: 100%; height: 100%; object-fit: cover; }
.vh-card__body { padding: 1.25rem; }
.vh-card__body h3 { margin: 0 0 0.5rem; font-size: 1.125rem; }
.vh-card__body p { margin: 0; font-size: 0.9375rem; color: var(--vh-gray); }

/* Team */
.vh-team-member {
    text-align: center;
}
.vh-team-member img {
    width: 160px;
    height: 160px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 1rem;
}
.vh-team-member .name { font-weight: 600; color: var(--vh-navy); }
.vh-team-member .title { font-size: 0.875rem; color: var(--vh-gray); }

/* Process steps */
.vh-steps { counter-reset: step; list-style: none; padding: 0; margin: 0; }
.vh-steps li {
    counter-increment: step;
    padding: 1rem 0 1rem 3rem;
    position: relative;
    border-bottom: 1px solid var(--vh-gray-light);
}
.vh-steps li::before {
    content: counter(step);
    position: absolute;
    left: 0;
    top: 1rem;
    width: 2rem;
    height: 2rem;
    background: var(--vh-blue);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.875rem;
    font-weight: 700;
}

/* Gallery */
.vh-gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1rem;
}
.vh-gallery-grid a {
    display: block;
    border-radius: var(--vh-radius);
    overflow: hidden;
    aspect-ratio: 3/2;
}
.vh-gallery-grid img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}
.vh-gallery-grid a:hover img { transform: scale(1.03); }

/* Contact form */
.vh-form .form-control {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid var(--vh-gray-light);
    border-radius: var(--vh-radius);
    font-family: inherit;
    font-size: 1rem;
    margin-bottom: 1rem;
    background: #fff;
}
.vh-form .form-control:focus {
    outline: none;
    border-color: var(--vh-blue);
    box-shadow: 0 0 0 3px rgba(0,96,173,0.15);
}
.vh-form textarea.form-control { min-height: 120px; resize: vertical; }
.vh-form .submit {
    background: var(--vh-blue);
    color: #fff;
    border: none;
    font-weight: 600;
    cursor: pointer;
    padding: 1rem;
}
.vh-form .submit:hover { background: var(--vh-blue-light); }
.vh-form .hp { position: absolute; left: -9999px; opacity: 0; height: 0; width: 0; }

/* Footer */
.vh-footer {
    background: var(--vh-navy);
    color: rgba(255,255,255,0.75);
    padding: 3rem 0 2rem;
    font-size: 0.9375rem;
}
.vh-footer a { color: rgba(255,255,255,0.85); }
.vh-footer a:hover { color: #fff; }
.vh-footer__grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}
.vh-footer__logo { height: 40px; margin-bottom: 1rem; }
.vh-footer__heading {
    color: #fff;
    font-size: 0.8125rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 0.75rem;
}
.vh-footer__links { list-style: none; padding: 0; margin: 0; }
.vh-footer__links li { margin-bottom: 0.4rem; }
.vh-footer__social { display: flex; gap: 1rem; margin-top: 1rem; }
.vh-footer__social a { font-size: 1.25rem; }
.vh-footer__bottom {
    border-top: 1px solid rgba(255,255,255,0.15);
    padding-top: 1.5rem;
    font-size: 0.8125rem;
    opacity: 0.7;
}

@media (max-width: 768px) {
    .vh-footer__grid { grid-template-columns: 1fr; }
    .vh-section { padding: 3rem 0; }
    .vh-hero { min-height: 60vh; }
}

/* Page hero (inner pages) */
.vh-page-hero {
    background: var(--vh-navy);
    color: #fff;
    padding: 3.5rem 0;
    text-align: center;
}
.vh-page-hero h1 { color: #fff; margin-bottom: 0.5rem; }
.vh-page-hero p { opacity: 0.85; max-width: 560px; margin: 0 auto; }

/* Stats bar */
.vh-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: center;
    padding: 2rem 0;
    border-top: 1px solid var(--vh-gray-light);
    margin-top: 2rem;
}
.vh-stat { text-align: center; }
.vh-stat__value { font-size: 1.75rem; font-weight: 700; color: var(--vh-blue); }
.vh-stat__label { font-size: 0.8125rem; color: var(--vh-gray); text-transform: uppercase; letter-spacing: 0.05em; }

/* Area pills */
.vh-pills { display: flex; flex-wrap: wrap; gap: 0.75rem; justify-content: center; }
.vh-pill {
    display: inline-block;
    padding: 0.5rem 1.25rem;
    background: #fff;
    border: 1px solid var(--vh-gray-light);
    border-radius: 999px;
    font-weight: 500;
    color: var(--vh-navy);
    text-decoration: none !important;
}
.vh-pill:hover { border-color: var(--vh-blue); color: var(--vh-blue); }

/* Breadcrumb */
.vh-breadcrumb {
    font-size: 0.875rem;
    color: var(--vh-gray);
    margin-bottom: 1rem;
}
.vh-breadcrumb a { color: var(--vh-gray); }

/* Utility */
.vh-text-center { text-align: center; }
.vh-mt-2 { margin-top: 2rem; }
.vh-mb-0 { margin-bottom: 0; }
