/* =============================================
   BuildHer Properties — "The Blueprint"
   Design tokens pulled from claude.ai/design tokens
   (colors / typography / spacing).
   ============================================= */
:root {
    /* ---- Brand scale ---- */
    --navy-900: #0a1a4d;   /* deepest — footer */
    --navy-800: #09206c;   /* PRIMARY brand navy */
    --navy-700: #0d2a82;   /* navy hover / raised */
    --teal-600: #357489;   /* teal pressed */
    --teal-500: #428aa1;   /* SECONDARY accent teal */
    --teal-300: #7fc4d6;   /* light teal — accents on navy */
    --teal-50:  #eef4f6;   /* teal tint surface */

    /* ---- Neutrals / ink ---- */
    --white:    #ffffff;
    --ink-900:  #15171c;
    --ink-700:  #4a5160;   /* primary body text */
    --ink-600:  #5a6273;
    --ink-500:  #6b7280;
    --ink-400:  #9aa3b2;

    /* ---- On-navy text ---- */
    --on-navy:        #ffffff;
    --on-navy-muted:  #c2cce4;
    --on-navy-dim:    #aab6d6;
    --on-navy-faint:  #7d89ab;

    /* ---- Lines & surfaces ---- */
    --border:        #e7ebf1;
    --border-strong: #d8dee8;
    --border-soft:   #eef1f5;
    --surface:        #ffffff;
    --surface-muted:  #f6f8fb;
    --surface-muted-2:#f4f7fa;

    /* ---- Type ---- */
    --font-display: "Space Grotesk", system-ui, -apple-system, sans-serif;
    --font-body:    "Public Sans", system-ui, -apple-system, sans-serif;

    --text-hero: clamp(40px, 5.6vw, 72px);
    --text-h2:   clamp(28px, 3.8vw, 48px);
    --text-lead: clamp(17px, 1.6vw, 20px);

    --track-display: -0.02em;
    --track-eyebrow: 0.14em;

    /* ---- Layout ---- */
    --container: 1240px;
    --container-narrow: 880px;
    --gutter: 28px;
    --section-y: clamp(56px, 7vw, 104px);

    /* ---- Radius ---- */
    --radius-sm:  7px;
    --radius-md:  9px;
    --radius-lg:  12px;
    --radius-xl:  16px;
    --radius-pill: 99px;

    /* ---- Shadow — navy-tinted ---- */
    --shadow-sm:   0 10px 30px -10px rgba(9, 32, 108, 0.40);
    --shadow-card: 0 22px 44px -28px rgba(9, 32, 108, 0.40);

    --accent-bar: 3px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--ink-900);
    line-height: 1.5;
    background-color: var(--white);
    -webkit-font-smoothing: antialiased;
    min-width: 320px;
}

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

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

::selection {
    background: var(--teal-500);
    color: #fff;
}

.container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 var(--gutter);
}

/* =============================================
   SHARED
   ============================================= */
.eyebrow {
    font-family: var(--font-display);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: var(--track-eyebrow);
    text-transform: uppercase;
    color: var(--teal-500);
    margin-bottom: 18px;
}

.eyebrow--on-navy {
    color: var(--teal-300);
}

.eyebrow--pill {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    border: 1px solid rgba(127, 196, 214, 0.4);
    border-radius: var(--radius-pill);
    padding: 7px 16px;
    margin-bottom: 28px;
}

.section-title {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: var(--text-h2);
    line-height: 1.06;
    letter-spacing: var(--track-display);
    color: var(--navy-800);
    margin: 0 0 22px;
}

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

.lead-muted {
    font-size: 16.5px;
    color: var(--ink-700);
    line-height: 1.65;
    margin: 0 0 16px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    font-family: var(--font-body);
    font-weight: 700;
    border-radius: var(--radius-md);
    padding: 15px 28px;
    font-size: 16px;
    border: 1.5px solid transparent;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.btn--sm  { padding: 11px 20px; font-size: 14px; border-radius: var(--radius-sm); font-weight: 600; }
.btn--lg  { padding: 16px 32px; font-size: 17px; }

.btn--accent  { background: var(--teal-500); color: #fff; }
.btn--accent:hover { background: var(--teal-600); }

.btn--light  { background: #fff; color: var(--navy-800); }
.btn--light:hover { background: var(--on-navy-muted); }

.btn--outline { background: transparent; color: #fff; border-color: var(--teal-500); font-weight: 600; }
.btn--outline:hover { background: var(--teal-500); }

.link-arrow {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: var(--teal-300);
    font-weight: 600;
    font-size: 15px;
    border-bottom: 1px solid rgba(127, 196, 214, 0.5);
    padding-bottom: 4px;
}
.link-arrow:hover { color: #fff; border-color: #fff; }

/* =============================================
   NAVIGATION
   ============================================= */
.navbar {
    position: sticky;
    top: 0;
    z-index: 40;
    background: var(--navy-800);
    border-bottom: 1px solid rgba(127, 196, 214, 0.25);
}

.navbar__inner {
    max-width: var(--container);
    margin: 0 auto;
    padding: 14px var(--gutter);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.navbar__logo {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #fff;
    padding: 7px 11px;
    border-radius: var(--radius-sm);
}
.navbar__logo img {
    height: 38px;
    width: auto;
}

.navbar__links {
    display: flex;
    align-items: center;
    gap: 30px;
    font-size: 15px;
    font-weight: 500;
    color: var(--on-navy-muted);
}
.navbar__links a:not(.btn) {
    color: inherit;
    transition: color 0.2s ease;
}
.navbar__links a:not(.btn):hover {
    color: #fff;
}

.navbar__toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.6rem;
    line-height: 1;
    cursor: pointer;
    color: #fff;
}

/* =============================================
   HERO
   ============================================= */
.hero {
    background: var(--navy-800);
    color: #fff;
    position: relative;
    overflow: hidden;
}

/* subtle running-bond brick texture overlay.
   One SVG tile = two brick rows; the lower row is shifted half a brick
   so the vertical seams stagger (true brick bond, not a grid). */
.hero__grid,
.cta__grid {
    position: absolute;
    inset: 0;
    /* tile is 128x64 = two 64x32 brick rows; mortar = faint teal strokes */
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='128' height='64'%3E%3Cg fill='none' stroke='%237fc4d6' stroke-width='1' stroke-opacity='0.10'%3E%3Cpath d='M0 0.5H128M0 32.5H128M0 63.5H128'/%3E%3Cpath d='M0.5 0V32M64.5 0V32'/%3E%3Cpath d='M32.5 32V64M96.5 32V64'/%3E%3C/g%3E%3C/svg%3E");
    background-size: 128px 64px;
    pointer-events: none;
}

.hero__inner {
    padding-top: clamp(56px, 7vw, 104px);
    padding-bottom: clamp(0px, 2vw, 24px);
    position: relative;
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: clamp(32px, 5vw, 64px);
    align-items: end;
}

.hero__title {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: var(--text-hero);
    line-height: 1.0;
    letter-spacing: -0.025em;
    margin: 0 0 24px;
    text-wrap: balance;
}

.hero__subtitle {
    font-size: var(--text-lead);
    color: var(--on-navy-muted);
    max-width: 540px;
    margin: 0 0 36px;
    line-height: 1.55;
}

.hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.hero__stats {
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding-bottom: 8px;
}

.stat {
    border-left: 2px solid var(--teal-500);
    padding-left: 16px;
}
.stat__value {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 30px;
    line-height: 1;
}
.stat__label {
    font-size: 13.5px;
    color: var(--on-navy-dim);
    margin-top: 5px;
}

.hero__band {
    margin-top: clamp(36px, 4vw, 56px);
    position: relative;
}
.hero__band img {
    width: 100%;
    height: clamp(220px, 28vw, 380px);
    object-fit: cover;
    object-position: center;
    border-radius: 14px 14px 0 0;
}

/* =============================================
   ABOUT [01]
   ============================================= */
.about {
    background: var(--white);
    border-bottom: 1px solid var(--border-soft);
}
.about__inner {
    padding: var(--section-y) var(--gutter);
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: clamp(36px, 5vw, 72px);
    align-items: center;
}
.about__media img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    object-position: center;
    border-radius: var(--radius-xl);
}
.about__stats {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    margin-top: 12px;
}
.ministat {
    border-left: 2px solid var(--teal-500);
    padding-left: 14px;
}
.ministat__value {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 22px;
    color: var(--navy-800);
}
.ministat__label {
    font-size: 13px;
    color: var(--ink-500);
}

/* =============================================
   THE PROBLEM [02]
   ============================================= */
.problem {
    background: var(--surface-muted);
    border-top: 1px solid var(--border-soft);
    border-bottom: 1px solid var(--border-soft);
}
.problem__inner {
    padding: var(--section-y) var(--gutter);
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    gap: clamp(36px, 5vw, 72px);
    align-items: start;
}
.problem__intro {
    position: sticky;
    top: 100px;
}
.problem__intro .lead-muted {
    max-width: 380px;
    margin: 0;
    font-size: 17px;
    line-height: 1.6;
}
.problem__row {
    display: flex;
    gap: 20px;
    padding: 24px 4px;
    border-top: 1px solid var(--border);
}
.problem__list .problem__row:last-of-type {
    border-bottom: 1px solid var(--border);
}
.problem__num {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 15px;
    color: var(--teal-500);
    flex: 0 0 auto;
    width: 34px;
}
.problem__title {
    font-family: var(--font-display);
    font-weight: 600;
    color: var(--navy-800);
    font-size: 19px;
    margin-bottom: 6px;
}
.problem__desc {
    font-size: 15px;
    color: var(--ink-600);
    line-height: 1.55;
    max-width: 520px;
}

.blueprint-card {
    margin-top: 28px;
    background: var(--navy-800);
    border-radius: 14px;
    padding: 28px 30px;
    color: #fff;
}
.blueprint-card__label {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 18px;
    margin-bottom: 18px;
    color: var(--teal-300);
}
.blueprint-card__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.blueprint-card__title {
    font-weight: 700;
    font-size: 16px;
    margin-bottom: 5px;
}
.blueprint-card__desc {
    font-size: 13.5px;
    color: var(--on-navy-dim);
    line-height: 1.5;
}

/* =============================================
   SERVICES [03] — advisory hairline grid
   ============================================= */
.services {
    background: var(--navy-800);
    color: #fff;
}
.services .container {
    padding-top: var(--section-y);
    padding-bottom: var(--section-y);
}
.services__header {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: end;
    gap: 24px;
    margin-bottom: 44px;
}
.services__heading { max-width: 620px; }
.services__heading .section-title { margin-bottom: 0; }
.services__heading .eyebrow { margin-bottom: 18px; }

.services__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1px;
    background: rgba(127, 196, 214, 0.2);
    border: 1px solid rgba(127, 196, 214, 0.2);
    border-radius: 14px;
    overflow: hidden;
}
.service {
    background: var(--navy-800);
    padding: 30px 28px;
    transition: background 0.2s ease;
}
.service:hover { background: var(--navy-700); }
.service__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
}
.service__num {
    font-family: var(--font-display);
    font-size: 13px;
    color: #5e6da0;
}
.service__title {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 19px;
    margin: 0 0 10px;
}
.service__desc {
    font-size: 14.5px;
    color: var(--on-navy-dim);
    margin: 0;
    line-height: 1.55;
}

/* =============================================
   PROPERTY MANAGEMENT SERVICES [03b] — 8 cards
   ============================================= */
.pm-services {
    background: var(--surface-muted-2);
    border-bottom: 1px solid var(--border);
}
.pm-services .container {
    padding-top: var(--section-y);
    padding-bottom: var(--section-y);
}
.pm-services__intro {
    display: grid;
    grid-template-columns: 1fr 0.8fr;
    gap: clamp(28px, 4vw, 56px);
    align-items: center;
    margin-bottom: 44px;
}
.pm-services__header {
    max-width: 620px;
    margin: 0;
}
.pm-services__header .section-title { margin-bottom: 14px; }
.pm-services__header .lead-muted { margin: 0; font-size: 17px; }
.pm-services__media {
    margin: 0;
}
.pm-services__media img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    object-position: center;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-card);
}

.pm-services__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 16px;
}
.pm-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 26px;
    border-top: var(--accent-bar) solid var(--teal-500);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.pm-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-card);
}
.pm-card__icon {
    width: 46px;
    height: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-md);
    background: var(--teal-50);
    color: var(--teal-500);
    margin-bottom: 18px;
}
.pm-card__title {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 17px;
    color: var(--navy-800);
    margin: 0 0 8px;
}
.pm-card__desc {
    font-size: 14.5px;
    color: var(--ink-600);
    line-height: 1.55;
    margin: 0;
}

/* =============================================
   HOW IT WORKS [04]
   ============================================= */
.process .container {
    padding-top: var(--section-y);
    padding-bottom: var(--section-y);
}
.process__header {
    max-width: 620px;
    margin: 0 0 50px;
}
.process__header .section-title { margin-bottom: 0; }
.process__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 0;
}
.step {
    padding: 22px 26px 0 0;
    border-top: var(--accent-bar) solid var(--teal-500);
}
.step__num {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 42px;
    color: var(--teal-500);
    line-height: 1;
    margin-bottom: 18px;
}
.step__title {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 19px;
    color: var(--navy-800);
    margin: 0 0 9px;
}
.step__desc {
    font-size: 14.5px;
    color: var(--ink-600);
    margin: 0;
    line-height: 1.55;
}

/* =============================================
   WHY BUILDHER [05]
   ============================================= */
.why {
    background: var(--surface-muted-2);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}
.why .container {
    padding-top: var(--section-y);
    padding-bottom: var(--section-y);
}
.why__header {
    max-width: 620px;
    margin: 0 0 44px;
}
.why__header .section-title { margin-bottom: 14px; }
.why__header .lead-muted { margin: 0; font-size: 17px; }

.why__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 16px;
}
.why-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 26px;
    border-top: var(--accent-bar) solid var(--teal-500);
}
.why-card__title {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 17px;
    color: var(--navy-800);
    margin-bottom: 8px;
}
.why-card__desc {
    font-size: 14.5px;
    color: var(--ink-600);
    line-height: 1.55;
}
.why-card--invert {
    background: var(--navy-800);
    border-top-color: var(--teal-300);
}
.why-card--invert .why-card__title { color: var(--teal-300); }
.why-card--invert .why-card__desc  { color: var(--on-navy-muted); }
.why-card--media {
    padding: 0;
    overflow: hidden;
}
.why-card--media img {
    width: 100%;
    height: 100%;
    min-height: 200px;
    object-fit: cover;
    object-position: center;
}

/* =============================================
   FAQ [06]
   ============================================= */
.faq__inner {
    max-width: var(--container-narrow);
    margin: 0 auto;
    padding: var(--section-y) var(--gutter);
}
.faq__header { margin-bottom: 44px; }
.faq__header .section-title { margin-bottom: 0; }

.faq__item {
    border-top: 1px solid var(--border);
}
.faq__list .faq__item:last-child {
    border-bottom: 1px solid var(--border);
}
.faq__item > summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 22px 0;
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 18px;
    color: var(--navy-800);
    list-style: none;
    cursor: pointer;
}
.faq__item > summary::-webkit-details-marker { display: none; }
.faq__sign {
    color: var(--teal-500);
    font-size: 24px;
    font-weight: 400;
    line-height: 1;
    flex: 0 0 auto;
    transition: transform 0.2s ease;
}
.faq__item[open] .faq__sign { transform: rotate(45deg); }
.faq__item > p {
    margin: 0 0 22px;
    font-size: 15.5px;
    color: var(--ink-600);
    line-height: 1.6;
}

/* =============================================
   FINAL CTA
   ============================================= */
.cta {
    background: var(--navy-800);
    color: #fff;
    position: relative;
    overflow: hidden;
}
.cta__inner {
    max-width: 920px;
    margin: 0 auto;
    padding: var(--section-y) var(--gutter);
    text-align: center;
    position: relative;
}
.cta__title {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: clamp(32px, 4.4vw, 56px);
    line-height: 1.02;
    letter-spacing: -0.025em;
    margin: 0 0 18px;
    text-wrap: balance;
}
.cta__subtitle {
    font-size: var(--text-lead);
    color: var(--on-navy-muted);
    margin: 0 auto 36px;
    max-width: 560px;
    line-height: 1.6;
}
.cta__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    justify-content: center;
    align-items: center;
}
.cta__text {
    font-size: 16px;
    color: #cdd7ef;
}
.cta__text strong { color: #fff; }
.cta__phone {
    color: var(--teal-300);
    font-weight: 700;
}
.cta__media {
    margin: clamp(36px, 4vw, 56px) auto 0;
    max-width: 720px;
}
.cta__media img {
    width: 100%;
    height: clamp(200px, 26vw, 320px);
    object-fit: cover;
    object-position: center;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-card);
}

/* =============================================
   FOOTER
   ============================================= */
.footer {
    background: var(--navy-900);
    color: var(--on-navy-dim);
}
.footer__cols {
    padding: clamp(44px, 5vw, 68px) var(--gutter) clamp(28px, 3vw, 40px);
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
    gap: 36px;
}
.footer__logo {
    background: #fff;
    display: inline-block;
    padding: 9px 11px;
    border-radius: var(--radius-md);
    margin-bottom: 16px;
}
.footer__logo img {
    height: 42px;
    width: auto;
}
.footer__brand p {
    font-size: 14px;
    line-height: 1.6;
    margin: 0;
    max-width: 280px;
    color: #9aa6c8;
}
.footer__eho {
    height: 56px;
    width: auto;
    margin-top: 18px;
    opacity: 0.85;
}
.footer__heading {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 14px;
    color: #fff;
    margin-bottom: 14px;
}
.footer__col {
    display: flex;
    flex-direction: column;
    gap: 10px;
    font-size: 14px;
}
.footer__col a {
    color: var(--on-navy-dim);
    transition: color 0.2s ease;
}
.footer__col a:hover { color: #fff; }
.footer__contact {
    font-size: 14px;
    line-height: 1.7;
    color: #9aa6c8;
}
.footer__contact strong { color: #fff; }
.footer__phone { color: var(--teal-300); font-weight: 600; }
.footer__area {
    display: inline-block;
    margin-top: 10px;
}
.footer__bar {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.footer__bar-inner {
    padding-top: 18px;
    padding-bottom: 18px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: space-between;
    font-size: 13px;
    color: var(--on-navy-faint);
}
.footer__bar-inner a { color: inherit; text-decoration: underline; }
.footer__bar-inner a:hover { color: #fff; }

/* =============================================
   RESPONSIVE
   ============================================= */

/* Tablet */
@media (max-width: 900px) {
    .hero__inner {
        grid-template-columns: 1fr;
        gap: 36px;
        align-items: start;
    }
    .hero__stats {
        flex-direction: row;
        flex-wrap: wrap;
    }
    .hero__stats .stat { flex: 1 1 140px; }

    .about__inner {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .about__media { order: -1; }
    .about__media img { aspect-ratio: 16 / 10; }

    .problem__inner {
        grid-template-columns: 1fr;
        gap: 36px;
    }
    .problem__intro { position: static; }

    .pm-services__intro {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    .pm-services__media img { aspect-ratio: 16 / 10; }

    .step {
        padding: 22px 0 0 0;
    }
}

/* Phone */
@media (max-width: 600px) {
    .navbar__inner {
        flex-wrap: wrap;
    }
    .navbar__toggle { display: block; }

    .navbar__links {
        display: none;
        flex-direction: column;
        align-items: flex-start;
        width: 100%;
        gap: 4px;
        padding: 12px 0 6px;
    }
    .navbar__links.open { display: flex; }
    .navbar__links a:not(.btn) { padding: 8px 0; }
    .navbar__links .btn { margin-top: 8px; }

    .blueprint-card__grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .footer__cols {
        grid-template-columns: 1fr 1fr;
        gap: 28px;
    }
    .footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 420px) {
    .hero__stats { flex-direction: column; }
    .footer__cols { grid-template-columns: 1fr; }
}
