/* ==========================================
   CORNERSTONE | CORPORATE MINIMALIST
   ========================================== */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

:root {
    --brand-espresso: #262320; /* Matches logo background */
    --brand-blue: #0A4FA6;     /* High-trust corporate CTA color */
    --text-dark: #1F2937;      /* Soft charcoal */
    --text-muted: #6B7280;
    --bg-white: #FFFFFF;
    --bg-light-gray: #F9FAFB;
    --border-color: #E5E7EB;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Inter', sans-serif; color: var(--text-dark); background-color: var(--bg-white); line-height: 1.6; }
h1, h2, h3, h4 { font-weight: 600; line-height: 1.3; color: var(--text-dark); }

.container { max-width: 1200px; margin: 0 auto; padding: 0 5%; }
.section-pad { padding: 80px 0; }
.bg-light-gray { background-color: var(--bg-light-gray); }
.bg-white { background-color: var(--bg-white); }
.text-center { text-align: center; }
.mb-4 { margin-bottom: 2rem; }

/* NAVIGATION */
.corp-nav { background-color: var(--brand-espresso); padding: 15px 0; position: sticky; top: 0; z-index: 1000; }
.nav-container { max-width: 1200px; margin: 0 auto; padding: 0 5%; display: flex; justify-content: space-between; align-items: center; }
.nav-logo { height: 65px; width: auto; display: block; }

.btn-outline { border: 2px solid #fff; color: #fff; padding: 10px 24px; text-decoration: none; font-weight: 600; border-radius: 4px; transition: background 0.2s; }
.btn-outline:hover { background: #fff; color: var(--brand-espresso); }

/* ==========================================
   HERO 2-COLUMN LAYOUT & OVERLAYS
   ========================================== */
.hero-wrapper {
    position: relative; width: 100%; min-height: 90vh; display: flex; align-items: center; padding: 60px 0;
}
.hero-carousel { position: absolute; inset: 0; z-index: 1; }
.hero-carousel .slide { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 1.5s ease-in-out; }
.hero-carousel .slide.active { opacity: 1; }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(to right, rgba(10, 15, 25, 0.85) 0%, rgba(10, 15, 25, 0.6) 50%, rgba(10, 15, 25, 0.8) 100%); }

.hero-content { position: relative; z-index: 2; width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 5%; display: grid; grid-template-columns: 1.1fr 430px; gap: 50px; align-items: center; }

/* Hero Text */
.hero-text { color: #FFFFFF; }
.hero-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.35);
    padding: 6px 14px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 2px; /* Fixed from 1.5px */
    border-radius: 3px;
    margin-bottom: 20px;
}
.hero-text h1 { font-size: clamp(2.8rem, 4.5vw, 4.2rem); color: #FFFFFF; line-height: 1.1; margin-bottom: 15px; font-weight: 700; }
.hero-subline { font-size: 0.65em; font-weight: 300; color: #E5E7EB; }
.hero-lead { font-size: 1.15rem; color: #D1D5DB; max-width: 540px; line-height: 1.6; margin-bottom: 30px; }

/* Hero Pills */
.hero-pills { display: flex; flex-wrap: wrap; gap: 15px; }
.pill { background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.18); backdrop-filter: blur(8px); padding: 10px 16px; border-radius: 4px; display: flex; flex-direction: column; }
.pill-label { font-size: 0.65rem; letter-spacing: 1px; color: #9CA3AF; font-weight: 600; }
.pill-val { font-size: 1rem; font-weight: 700; color: #FFFFFF; }

/* ==========================================
   FLOATING FORM (HERO)
   ========================================== */
.form-panel { background: var(--bg-white); padding: 35px 30px; border-radius: 8px; width: 100%; box-shadow: 0 20px 45px rgba(0,0,0,0.25); box-sizing: border-box; overflow: hidden; }
.form-panel h2 { margin-bottom: 5px; font-size: 1.7rem; }
.form-panel p { color: var(--text-muted); font-size: 0.9rem; margin-bottom: 20px; }

.clean-form { display: flex; flex-direction: column; gap: 14px; width: 100%; }
.clean-form input {
    width: 100%; min-width: 0; box-sizing: border-box; padding: 13px 14px;
    border: 1px solid var(--border-color); border-radius: 4px; font-family: 'Inter', sans-serif; font-size: 0.95rem;
}
.clean-form input:focus { outline: none; border-color: var(--brand-blue); }

.form-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 10px; width: 100%; }
.radio-group { display: flex; align-items: center; gap: 14px; font-size: 0.9rem; padding: 4px 0; }
.radio-group label { cursor: pointer; display: flex; align-items: center; gap: 4px; font-weight: 500; }

.btn-solid { background: var(--brand-blue); color: #fff; border: none; padding: 15px; font-size: 1rem; font-weight: 600; border-radius: 4px; cursor: pointer; transition: opacity 0.2s; }
.btn-solid:hover { opacity: 0.92; }
.form-disclaimer { font-size: 0.7rem !important; margin: 4px 0 0 !important; color: var(--text-muted); line-height: 1.35; text-align: center; }

/* ==========================================
   INTRO TEXT SECTION
   ========================================== */
.intro-section { border-bottom: 1px solid var(--border-color); }
.intro-header { max-width: 780px; margin-bottom: 35px; }
.section-tag {
    display: inline-block;
    color: var(--brand-blue);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 2px; /* Fixed from 1.5px */
    margin-bottom: 10px;
}
.intro-header h2 { font-size: 2.3rem; margin-bottom: 10px; line-height: 1.25; }
.intro-subtitle { font-size: 1.15rem; color: var(--text-muted); }

.intro-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; margin-bottom: 50px; }
.intro-copy p { font-size: 1rem; line-height: 1.7; color: #374151; margin-bottom: 16px; }
.intro-copy p:last-child { margin-bottom: 0; }

.feature-bar { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; padding-top: 35px; border-top: 1px solid var(--border-color); }
.feature-col h4 { font-size: 1.1rem; margin-bottom: 8px; color: var(--brand-espresso); }
.feature-col p { font-size: 0.9rem; color: var(--text-muted); line-height: 1.5; }

/* ==========================================
   FULL WIDTH IMAGES
   ========================================== */
.feature-image-section { width: 100%; display: block; line-height: 0; }
.full-width-img { width: 100%; height: auto; max-height: 75vh; object-fit: cover; }

/* ==========================================
   SNAPSHOT GRID
   ========================================== */
.section-title { font-size: 2.2rem; margin-bottom: 40px; text-align: center; }
.snapshot-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2px; background: var(--border-color); border: 2px solid var(--border-color); }
.snap-item { background: var(--bg-white); padding: 25px 20px; display: flex; flex-direction: column; text-align: center; }
.snap-label { font-size: 0.85rem; text-transform: uppercase; letter-spacing: 1px; color: var(--text-muted); margin-bottom: 8px; font-weight: 600; }
.snap-value { font-size: 1.1rem; font-weight: 600; color: var(--brand-espresso); }

/* CONTENT COLUMNS (Neighbourhood) */
.content-columns { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.content-block h3 { font-size: 1.3rem; margin-bottom: 15px; border-bottom: 2px solid var(--brand-blue); padding-bottom: 10px; display: inline-block; }
.content-block p { color: var(--text-muted); font-size: 0.95rem; }

/* GALLERY MASONRY */
.gallery-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.gal-img { width: 100%; height: 100%; object-fit: cover; border-radius: 6px; aspect-ratio: 16/9; }
.span-2 { grid-column: span 2; aspect-ratio: 21/9; }

/* BUILDER SECTION */
.builder-section { max-width: 800px; text-align: center; }
.builder-text h2 { margin-bottom: 20px; }
.builder-text p { color: var(--text-muted); font-size: 1.1rem; }

/* ==========================================
   WIDE REGISTRATION FORM (BOTTOM)
   ========================================== */
.form-wide-container { max-width: 950px; margin: 0 auto; background: var(--bg-white); padding: 50px 60px; border-radius: 8px; box-shadow: 0 15px 40px rgba(0,0,0,0.06); box-sizing: border-box; }
.wide-form { display: flex; flex-direction: column; gap: 20px; }
.wide-form input { width: 100%; min-width: 0; box-sizing: border-box; padding: 15px 18px; border: 1px solid var(--border-color); border-radius: 4px; font-family: 'Inter', sans-serif; font-size: 1rem; }
.wide-form input:focus { outline: none; border-color: var(--brand-blue); }

.form-row-wide { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; width: 100%; }
.form-row-wide-2 { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) max-content; gap: 20px; width: 100%; align-items: center; }

.radio-group-wide { display: flex; gap: 18px; align-items: center; font-size: 1rem; font-weight: 500; color: var(--text-dark); padding: 0 10px; }
.radio-group-wide label { display: flex; align-items: center; gap: 6px; cursor: pointer; }
.btn-wide { padding: 18px; font-size: 1.15rem; margin-top: 10px; }

/* FOOTER */
.corp-footer { background-color: var(--brand-espresso); color: #fff; padding: 40px 0; }
.disclosure { font-size: 0.50rem; color: #fff; margin-bottom: 10px; font-weight: 500; }
.copyright { font-size: 0.85rem; color: #9CA3AF; }

/* ==========================================
   RESPONSIVE OVERRIDES
   ========================================== */
@media (max-width: 1024px) {
    .hero-content { grid-template-columns: 1fr; gap: 40px; }
    .hero-text { text-align: center; }
    .hero-lead { margin: 0 auto 25px auto; }
    .hero-pills { justify-content: center; }
    .form-panel { max-width: 520px; margin: 0 auto; }
    .intro-grid { grid-template-columns: 1fr; gap: 20px; }
    .feature-bar { grid-template-columns: 1fr; gap: 20px; }
    .form-row-wide { grid-template-columns: 1fr 1fr; }
    .form-row-wide-2 { grid-template-columns: 1fr 1fr; }
    .radio-group-wide { grid-column: span 2; justify-content: center; margin-top: 10px; }
}

@media (max-width: 768px) {
    .snapshot-grid { grid-template-columns: repeat(2, 1fr); }
    .content-columns { grid-template-columns: 1fr; gap: 30px; }
    .form-wide-container { padding: 40px 20px; }
}

@media (max-width: 600px) {
    .form-row, .form-row-wide, .form-row-wide-2 { grid-template-columns: 1fr; }
    .radio-group-wide { grid-column: span 1; justify-content: flex-start; }
    .hero-pills { flex-direction: column; width: 100%; }
    .pill { text-align: center; }
    .snapshot-grid { grid-template-columns: 1fr; }
    .gallery-grid { grid-template-columns: 1fr; }
    .span-2 { grid-column: span 1; aspect-ratio: 16/9; }
    .nav-logo { height: 50px; }
}