/* ============================================
   Linda-Rae Olsen Real Estate — Styles
   Bold editorial · Forest green + off-white
   ============================================ */

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

:root {
    --green-900: #0D2818;
    --green-800: #1B4332;
    --green-700: #2D6A4F;
    --green-600: #40916C;
    --green-500: #52B788;
    --gold-500: #D4A84B;
    --gold-400: #E0BC5E;
    --cream-100: #F7F5F0;
    --cream-200: #EDE9E0;
    --cream-300: #E5E0D6;
    --white: #FFFFFF;
    --text-dark: #1A1A1A;
    --text-muted: #555555;
    --text-light: #F7F5F0;
    --font-serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --nav-height: 72px;
}

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

body {
    font-family: var(--font-sans);
    color: var(--text-dark);
    background-color: var(--cream-100);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

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

a {
    color: inherit;
    text-decoration: none;
}

.skip-link {
    position: absolute;
    top: -100%;
    left: 1rem;
    background: var(--green-800);
    color: var(--white);
    padding: 0.5rem 1rem;
    border-radius: 0 0 4px 4px;
    z-index: 9999;
    font-size: 0.875rem;
}
.skip-link:focus {
    top: 0;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* ============================================
   NAVIGATION
   ============================================ */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--nav-height);
    z-index: 1000;
    background: rgba(247, 245, 240, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(27, 67, 50, 0.08);
    transition: box-shadow 0.3s ease;
}
.nav.scrolled {
    box-shadow: 0 2px 24px rgba(27, 67, 50, 0.1);
}

.nav-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-family: var(--font-serif);
    font-weight: 700;
    font-size: 1.125rem;
    color: var(--green-800);
    letter-spacing: -0.01em;
}

.nav-brand-mark {
    width: 28px;
    height: 28px;
    background: var(--green-800);
    clip-path: polygon(50% 0%, 100% 40%, 85% 100%, 15% 100%, 0% 40%);
    flex-shrink: 0;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-menu a {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-dark);
    letter-spacing: 0.02em;
    transition: color 0.2s;
    position: relative;
}
.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1.5px;
    background: var(--gold-500);
    transition: width 0.3s ease;
}
.nav-menu a:hover {
    color: var(--green-700);
}
.nav-menu a:hover::after {
    width: 100%;
}

.nav-cta {
    background: var(--green-800) !important;
    color: var(--white) !important;
    padding: 0.5rem 1.25rem;
    border-radius: 4px;
    font-size: 0.8125rem !important;
    letter-spacing: 0.04em !important;
    text-transform: uppercase;
    transition: background 0.2s, transform 0.15s !important;
}
.nav-cta::after {
    display: none !important;
}
.nav-cta:hover {
    background: var(--green-700) !important;
    color: var(--white) !important;
    transform: translateY(-1px);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    z-index: 1001;
}
.nav-toggle-line {
    width: 22px;
    height: 2px;
    background: var(--green-800);
    border-radius: 2px;
    transition: transform 0.3s ease, opacity 0.3s ease;
}
.nav-toggle[aria-expanded="true"] .nav-toggle-line:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] .nav-toggle-line:nth-child(2) {
    opacity: 0;
}
.nav-toggle[aria-expanded="true"] .nav-toggle-line:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* ============================================
   SECTION UTILITIES
   ============================================ */
.section {
    padding: 6rem 0;
}

.section-eyebrow {
    font-family: var(--font-sans);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--green-700);
    margin-bottom: 1rem;
}

.section-eyebrow-light {
    color: var(--gold-500);
}

.section-title {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 4vw, 3.25rem);
    font-weight: 900;
    line-height: 1.1;
    letter-spacing: -0.02em;
    color: var(--green-800);
    margin-bottom: 1.5rem;
}

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

.section-subtitle {
    font-size: 1.0625rem;
    color: var(--text-muted);
    max-width: 560px;
    line-height: 1.7;
}

.section-dark .section-subtitle {
    color: rgba(247, 245, 240, 0.7);
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.875rem 1.75rem;
    border-radius: 4px;
    font-family: var(--font-sans);
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    border: 1.5px solid transparent;
    cursor: pointer;
    transition: all 0.25s ease;
    white-space: nowrap;
}
.btn:hover {
    transform: translateY(-2px);
}
.btn:active {
    transform: translateY(0);
}

.btn-primary {
    background: var(--green-800);
    color: var(--white);
    border-color: var(--green-800);
}
.btn-primary:hover {
    background: var(--green-700);
    border-color: var(--green-700);
}

.btn-outline-light {
    background: transparent;
    color: var(--white);
    border-color: rgba(255,255,255,0.4);
}
.btn-outline-light:hover {
    background: rgba(255,255,255,0.1);
    border-color: var(--white);
}

.btn-outline-dark {
    background: transparent;
    color: var(--green-800);
    border-color: var(--green-800);
}
.btn-outline-dark:hover {
    background: var(--green-800);
    color: var(--white);
}

.btn-full {
    width: 100%;
}

/* ============================================
   HERO
   ============================================ */
.hero {
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: var(--nav-height);
    overflow: hidden;
    background: var(--green-900);
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}
.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.hero-scrim {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to right,
        rgba(13, 40, 24, 0.88) 0%,
        rgba(13, 40, 24, 0.72) 50%,
        rgba(13, 40, 24, 0.4) 100%
    );
}

.hero-inner {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 1.5rem;
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 3rem;
    align-items: center;
    width: 100%;
}

.hero-eyebrow {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--gold-500);
    margin-bottom: 1.25rem;
}

.hero-headline {
    font-family: var(--font-serif);
    font-size: clamp(2.5rem, 5.5vw, 4.5rem);
    font-weight: 900;
    line-height: 1.05;
    letter-spacing: -0.03em;
    color: var(--white);
    margin-bottom: 1.5rem;
}

.hero-headline .accent {
    color: var(--gold-500);
    font-style: italic;
}

.hero-sub {
    font-size: 1.0625rem;
    line-height: 1.75;
    color: rgba(247, 245, 240, 0.8);
    max-width: 480px;
    margin-bottom: 2rem;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 3rem;
}

.hero-stats {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.hero-stat {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}
.hero-stat-num {
    font-size: 1.25rem;
}
.hero-stat-label {
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(247, 245, 240, 0.6);
}

.hero-card {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    aspect-ratio: 5/6.5;
    box-shadow: 0 32px 64px rgba(0,0,0,0.4);
}

.hero-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-card-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 2rem 1.5rem;
    background: linear-gradient(to top, rgba(13, 40, 24, 0.9), transparent);
}

.hero-card-caption {
    font-family: var(--font-serif);
    font-size: 1.125rem;
    font-style: italic;
    color: var(--white);
    line-height: 1.4;
}

/* ============================================
   ABOUT
   ============================================ */
.about {
    background: var(--cream-100);
}

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

.about-image-wrap {
    position: relative;
}

.about-image {
    width: 100%;
    height: 500px;
    object-fit: cover;
    border-radius: 6px;
}

.about-accent {
    position: absolute;
    top: -16px;
    left: -16px;
    width: 120px;
    height: 120px;
    border: 3px solid var(--gold-500);
    border-radius: 6px;
    z-index: -1;
}

.about-content {
    padding: 1rem 0;
}

.about-content p {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--text-muted);
    margin-bottom: 1rem;
}

.about-details {
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.about-detail {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.about-detail-icon {
    width: 40px;
    height: 40px;
    background: var(--green-800);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--white);
}
.about-detail-icon svg {
    width: 18px;
    height: 18px;
}

.about-detail strong {
    display: block;
    font-size: 0.875rem;
    color: var(--green-800);
    margin-bottom: 0.125rem;
}
.about-detail span,
.about-detail a {
    font-size: 0.9375rem;
    color: var(--text-muted);
}
.about-detail a:hover {
    color: var(--green-700);
    text-decoration: underline;
}

/* ============================================
   SERVICES
   ============================================ */
.services {
    background: var(--green-800);
}

.services .container {
    text-align: center;
}

.services .section-subtitle {
    margin: 0 auto 3rem;
}

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

.service-card {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 2.25rem;
    transition: background 0.3s ease, transform 0.3s ease;
}
.service-card:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-4px);
}

.service-card-num {
    font-family: var(--font-serif);
    font-size: 3rem;
    font-weight: 900;
    color: var(--gold-500);
    line-height: 1;
    margin-bottom: 1rem;
    opacity: 0.6;
}

.service-card-title {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 0.75rem;
}

.service-card p {
    font-size: 0.9375rem;
    line-height: 1.75;
    color: rgba(247, 245, 240, 0.7);
}

/* ============================================
   AREA
   ============================================ */
.area {
    background: var(--cream-200);
}

.area-header {
    text-align: center;
    margin-bottom: 3rem;
}

.area-header .section-subtitle {
    margin: 0 auto;
}

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

.area-card {
    background: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 16px rgba(27, 67, 50, 0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.area-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 32px rgba(27, 67, 50, 0.12);
}

.area-card-img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.area-card-body {
    padding: 1.5rem;
}

.area-card-body h3 {
    font-family: var(--font-serif);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--green-800);
    margin-bottom: 0.5rem;
}

.area-card-body p {
    font-size: 0.9375rem;
    color: var(--text-muted);
    line-height: 1.65;
}

/* ============================================
   TESTIMONIALS
   ============================================ */
.testimonials {
    background: var(--green-900);
}

.testimonials .container {
    text-align: center;
}

.testimonials .section-subtitle {
    margin: 0 auto 3rem;
}

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

.testimonial-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    padding: 2rem;
    position: relative;
}

.testimonial-quote-mark {
    font-family: var(--font-serif);
    font-size: 5rem;
    line-height: 0.8;
    color: var(--gold-500);
    opacity: 0.3;
    position: absolute;
    top: 0.5rem;
    left: 1.25rem;
}

.testimonial-text {
    font-size: 0.9375rem;
    line-height: 1.8;
    color: rgba(247, 245, 240, 0.85);
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
}

.testimonial-footer {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1rem;
}

.testimonial-author {
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--gold-500);
}

/* ============================================
   CTA
   ============================================ */
.cta {
    background: var(--cream-100);
    text-align: center;
}

.cta-inner {
    max-width: 680px;
    margin: 0 auto;
}

.cta-headline {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 900;
    line-height: 1.1;
    letter-spacing: -0.02em;
    color: var(--green-800);
    margin-bottom: 1.25rem;
}

.cta-sub {
    font-size: 1.0625rem;
    color: var(--text-muted);
    line-height: 1.75;
    margin-bottom: 2rem;
}

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

/* ============================================
   CONTACT
   ============================================ */
.contact {
    background: var(--cream-200);
}

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

.contact-info {
    padding-top: 0.5rem;
}

.contact-info p {
    font-size: 1rem;
    line-height: 1.75;
    color: var(--text-muted);
    margin-bottom: 2rem;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.contact-detail {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.contact-detail-icon {
    width: 44px;
    height: 44px;
    background: var(--green-800);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--white);
}
.contact-detail-icon svg {
    width: 18px;
    height: 18px;
}

.contact-detail strong {
    display: block;
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--green-800);
    margin-bottom: 0.25rem;
}

.contact-detail p,
.contact-detail a {
    font-size: 0.9375rem;
    color: var(--text-muted);
    line-height: 1.6;
}
.contact-detail a:hover {
    color: var(--green-700);
    text-decoration: underline;
}

.contact-map {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 16px rgba(27, 67, 50, 0.08);
}

/* Form */
.contact-form-wrap {
    background: var(--white);
    border-radius: 8px;
    padding: 2.5rem;
    box-shadow: 0 4px 24px rgba(27, 67, 50, 0.08);
}

.contact-form-title {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--green-800);
    margin-bottom: 1.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

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

.form-group label {
    display: block;
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--green-800);
    margin-bottom: 0.4rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1.5px solid var(--cream-300);
    border-radius: 4px;
    font-family: var(--font-sans);
    font-size: 0.9375rem;
    color: var(--text-dark);
    background: var(--cream-100);
    transition: border-color 0.2s, box-shadow 0.2s;
    appearance: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--green-700);
    box-shadow: 0 0 0 3px rgba(45, 106, 79, 0.15);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #aaa;
}

.form-group textarea {
    resize: vertical;
}

.form-success {
    text-align: center;
    padding: 2rem;
}
.form-success-icon {
    width: 56px;
    height: 56px;
    background: var(--green-800);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 1rem;
}
.form-success h4 {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    color: var(--green-800);
    margin-bottom: 0.5rem;
}
.form-success p {
    color: var(--text-muted);
    font-size: 0.9375rem;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background: var(--green-900);
    color: var(--white);
    padding: 4rem 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-logo {
    width: 36px;
    height: 36px;
    background: var(--gold-500);
    clip-path: polygon(50% 0%, 100% 40%, 85% 100%, 15% 100%, 0% 40%);
}

.footer-name {
    font-family: var(--font-serif);
    font-size: 1.25rem;
    font-weight: 700;
}

.footer-brand p {
    font-size: 0.9375rem;
    color: rgba(247, 245, 240, 0.6);
    line-height: 1.6;
}

.footer-links strong,
.footer-contact strong {
    display: block;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--gold-500);
    margin-bottom: 1rem;
}

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

.footer-links a {
    font-size: 0.9375rem;
    color: rgba(247, 245, 240, 0.7);
    transition: color 0.2s;
}
.footer-links a:hover {
    color: var(--white);
}

.footer-contact p {
    font-size: 0.9375rem;
    line-height: 1.75;
    color: rgba(247, 245, 240, 0.7);
}
.footer-contact a {
    color: rgba(247, 245, 240, 0.7);
    transition: color 0.2s;
}
.footer-contact a:hover {
    color: var(--white);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    text-align: center;
}

.footer-bottom p {
    font-size: 0.8125rem;
    color: rgba(247, 245, 240, 0.4);
}

/* ============================================
   SCROLL REVEAL (progressive enhancement)
   ============================================ */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(24px);
        transition: opacity 0.7s ease, transform 0.7s ease;
    }
    .reveal.revealed {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
    .hero-inner {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .hero-sub {
        margin-left: auto;
        margin-right: auto;
    }
    .hero-actions {
        justify-content: center;
    }
    .hero-stats {
        justify-content: center;
    }
    .hero-card {
        display: none;
    }
    .about-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    .about-image {
        height: 360px;
    }
    .services-grid {
        grid-template-columns: 1fr;
    }
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .section {
        padding: 4rem 0;
    }
    .nav-menu {
        position: fixed;
        top: 0;
        right: 0;
        bottom: 0;
        width: min(320px, 85vw);
        background: var(--cream-100);
        flex-direction: column;
        justify-content: center;
        gap: 1.5rem;
        padding: 2rem;
        transform: translateX(100%);
        transition: transform 0.35s ease;
        box-shadow: -8px 0 32px rgba(0,0,0,0.15);
    }
    .nav-menu.open {
        transform: translateX(0);
    }
    .nav-menu a {
        font-size: 1.125rem;
    }
    .nav-toggle {
        display: flex;
    }
    .hero {
        min-height: auto;
        padding-top: calc(var(--nav-height) + 3rem);
        padding-bottom: 3rem;
    }
    .hero-headline {
        font-size: clamp(2rem, 8vw, 3rem);
    }
    .area-grid {
        grid-template-columns: 1fr;
    }
    .form-row {
        grid-template-columns: 1fr;
    }
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .about-accent {
        display: none;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }
    .hero-actions {
        flex-direction: column;
        align-items: center;
    }
    .btn {
        width: 100%;
    }
    .cta-actions {
        flex-direction: column;
        align-items: center;
    }
}
