/* ============================================================
   BLUE ESCAPE — Property Management
   Palette: deep navy (stability) · champagne gold (prosperity)
   Type: Marcellus (display) · Source Sans 3 (body)
   ============================================================ */

:root {
    --navy-deep: #0E2038;
    --navy: #14324F;
    --blue: #1D579D;      /* logo blue */
    --slate: #566D91;     /* logo slate */
    --gold: #B9985A;
    --gold-light: #D6BE8A;
    --paper: #F8F7F3;
    --white: #FFFFFF;
    --ink: #1D2634;
    --muted: #5E6B7E;
    --line: #E4E1D8;
    --maxw: 1180px;
    --display: 'Marcellus', 'Times New Roman', serif;
    --body: 'Source Sans 3', 'Segoe UI', Arial, sans-serif;
}

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

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    * { animation: none !important; transition: none !important; }
}

body {
    font-family: var(--body);
    font-size: 17px;
    line-height: 1.7;
    color: var(--ink);
    background: var(--paper);
}

img { max-width: 100%; display: block; }
a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--gold); }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible {
    outline: 2px solid var(--gold);
    outline-offset: 2px;
}

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.container.narrow { max-width: 860px; }
.center { text-align: center; }
.muted { color: var(--muted); }

h1, h2, h3, h4 { font-family: var(--display); font-weight: 400; color: var(--navy); }

.eyebrow {
    font-family: var(--body);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--slate);
    margin-bottom: 14px;
}
.eyebrow.gold { color: var(--gold-light); }

/* ---------- buttons ---------- */
.btn {
    display: inline-block;
    font-family: var(--body);
    font-weight: 600;
    font-size: 15px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 14px 34px;
    border: 1px solid var(--gold);
    transition: background 0.25s, color 0.25s;
}
.btn-gold { background: var(--gold); color: var(--white); }
.btn-gold:hover { background: transparent; color: var(--gold); }
.btn-ghost { background: transparent; color: var(--white); border-color: rgba(255,255,255,0.5); }
.btn-ghost:hover { border-color: var(--gold-light); color: var(--gold-light); }

/* ---------- top bar ---------- */
.topbar {
    background: var(--navy-deep);
    color: rgba(255,255,255,0.75);
    font-size: 13px;
}
.topbar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 38px;
    gap: 16px;
}
.topbar a { color: rgba(255,255,255,0.75); }
.topbar a:hover { color: var(--gold-light); }
.topbar .sep { margin: 0 10px; opacity: 0.4; }

.social-links { display: flex; gap: 6px; }
.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    color: rgba(255,255,255,0.7);
}
.social-links a:hover { color: var(--gold-light); }
.social-links svg { width: 17px; height: 17px; }

/* ---------- header ---------- */
.site-header {
    background: var(--white);
    border-bottom: 1px solid var(--line);
    position: sticky;
    top: 0;
    z-index: 50;
}
.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    min-height: 86px;
    flex-wrap: wrap;
}
.brand { display: flex; align-items: center; gap: 14px; }
.brand img { width: 54px; height: 54px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-name {
    font-family: var(--display);
    font-size: 22px;
    letter-spacing: 0.14em;
    color: var(--blue);
}
.brand-tag {
    font-size: 10.5px;
    font-weight: 600;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--slate);
}

.site-nav { display: flex; align-items: center; gap: 4px; flex-wrap: wrap; }
.site-nav a {
    font-size: 13.5px;
    font-weight: 600;
    letter-spacing: 0.03em;
    color: var(--navy);
    padding: 10px 11px;
    border-bottom: 2px solid transparent;
}
.site-nav a:hover { color: var(--gold); }
.site-nav a.active { color: var(--blue); border-bottom-color: var(--gold); }

.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--navy);
    margin: 5px 0;
}

/* ---------- hero (home) ---------- */
.hero {
    position: relative;
    background: linear-gradient(160deg, var(--navy-deep) 0%, var(--navy) 55%, #1A3E63 100%);
    color: var(--white);
    overflow: hidden;
}
.hero-lines { position: absolute; inset: 0; }
.hero-lines svg { width: 100%; height: 100%; }
.hero-inner {
    position: relative;
    padding: 110px 24px 70px;
    text-align: center;
}
.hero h1 {
    font-size: clamp(34px, 5vw, 58px);
    color: var(--white);
    max-width: 900px;
    margin: 0 auto 22px;
    line-height: 1.18;
}
.hero-sub {
    font-size: 19px;
    color: rgba(255,255,255,0.82);
    max-width: 720px;
    margin: 0 auto 36px;
}
.hero-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; margin-bottom: 70px; }

/* ---------- horizon signature ---------- */
.horizon {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 0;
}
.horizon-line {
    flex: 1;
    max-width: 80px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold));
    margin-top: 5px;
}
.horizon-line:last-child { background: linear-gradient(90deg, var(--gold), transparent); }
.horizon-stop {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    padding: 0 4px;
    flex: 1;
    max-width: 130px;
}
.horizon-stop::before {
    content: '';
    position: absolute;
    top: 5px;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--gold);
    opacity: 0.55;
}
.horizon-stop i {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--gold-light);
    border: 1px solid var(--gold);
    position: relative;
    z-index: 1;
    margin-top: 1px;
}
.horizon-stop em {
    font-style: normal;
    font-size: 11px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    margin-top: 10px;
    color: rgba(255,255,255,0.65);
    white-space: nowrap;
}
.hero-horizon { max-width: 900px; margin: 0 auto; }

/* ---------- home blocks ---------- */
.home-blocks { padding: 84px 0 40px; }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 34px; }
.card {
    background: var(--white);
    border: 1px solid var(--line);
    padding: 38px 32px;
}
.card-rule { display: block; width: 44px; height: 3px; background: var(--gold); margin-bottom: 22px; }
.card h3 { font-size: 22px; margin-bottom: 14px; }
.card p { color: var(--muted); font-size: 15.5px; }
.card-image { margin: 0 0 16px; }
.card-image img { width: 100%; height: 180px; object-fit: cover; }

/* ---------- home explore ---------- */
.home-links { padding: 50px 0 90px; }
.center-title {
    text-align: center;
    font-size: 32px;
    margin-bottom: 44px;
    position: relative;
    padding-bottom: 18px;
}
.center-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 56px;
    height: 2px;
    background: var(--gold);
}
.link-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.link-tile {
    display: block;
    background: var(--white);
    border: 1px solid var(--line);
    border-top: 3px solid var(--navy);
    padding: 30px 28px;
    color: var(--ink);
    transition: border-color 0.25s, transform 0.25s, box-shadow 0.25s;
}
.link-tile:hover {
    border-top-color: var(--gold);
    transform: translateY(-3px);
    box-shadow: 0 14px 34px rgba(14, 32, 56, 0.10);
    color: var(--ink);
}
.link-tile h3 { font-size: 19px; margin-bottom: 10px; }
.link-tile p { font-size: 14.5px; color: var(--muted); margin-bottom: 14px; }
.tile-more {
    font-size: 12.5px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--gold);
}

/* ---------- inner page hero ---------- */
.page-hero {
    background: linear-gradient(150deg, var(--navy-deep), var(--navy));
    color: var(--white);
    padding: 76px 0 60px;
    border-bottom: 3px solid var(--gold);
}
.page-hero .eyebrow { color: var(--gold-light); }
.page-hero h1 {
    color: var(--white);
    font-size: clamp(30px, 4vw, 46px);
    max-width: 860px;
}
.page-intro {
    margin-top: 18px;
    max-width: 760px;
    font-size: 18px;
    color: rgba(255,255,255,0.82);
}

/* ---------- page body ---------- */
.page-body { padding: 72px 0 40px; }
.content-block { margin-bottom: 52px; }
.content-block:last-child { margin-bottom: 0; }
.content-block h2 {
    font-size: 27px;
    margin-bottom: 18px;
    padding-bottom: 12px;
    position: relative;
}
.content-block h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 44px;
    height: 2px;
    background: var(--gold);
}
.content-block p { margin-bottom: 16px; text-align: justify; }
.content-image { margin: 0 0 22px; }
.content-image img { width: 100%; max-height: 440px; object-fit: cover; }

/* ---------- CTA band ---------- */
.page-cta {
    padding: 60px 0 84px;
}
.cta-line {
    font-family: var(--display);
    font-size: 24px;
    color: var(--navy);
    margin-bottom: 22px;
}

/* ---------- contact ---------- */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.6fr;
    gap: 56px;
    align-items: start;
}
.contact-info h2 { font-size: 26px; margin-bottom: 4px; }
.contact-info p { margin: 16px 0; font-size: 15.5px; }
.contact-info strong {
    display: block;
    font-size: 12px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--slate);
    margin-bottom: 2px;
}
.contact-social { margin-top: 22px; }
.contact-social a { color: var(--slate); border: 1px solid var(--line); }
.contact-social a:hover { color: var(--gold); border-color: var(--gold); }

.contact-form-wrap {
    background: var(--white);
    border: 1px solid var(--line);
    border-top: 3px solid var(--navy);
    padding: 40px 38px;
}
.contact-form label {
    display: block;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--slate);
    margin-bottom: 18px;
}
.contact-form input, .contact-form textarea {
    display: block;
    width: 100%;
    margin-top: 7px;
    padding: 12px 14px;
    font-family: var(--body);
    font-size: 16px;
    color: var(--ink);
    background: var(--paper);
    border: 1px solid var(--line);
}
.contact-form input:focus, .contact-form textarea:focus {
    border-color: var(--gold);
    outline: none;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.hp-field { position: absolute; left: -9999px; top: -9999px; }

.notice { padding: 22px 26px; margin-bottom: 24px; border-left: 3px solid; }
.notice.success { background: #F0F6EF; border-color: #4C7A4F; }
.notice.success h3 { color: #2F5232; margin-bottom: 6px; }
.notice.error { background: #FBF1F0; border-color: #A94442; color: #7A2E2C; }

/* ---------- footer ---------- */
.site-footer {
    background: var(--navy-deep);
    color: rgba(255,255,255,0.75);
    padding: 56px 0 0;
    margin-top: 30px;
}
.site-footer .horizon { margin-bottom: 48px; }
.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1.2fr;
    gap: 44px;
    padding-bottom: 44px;
}
.footer-logo { width: 84px; margin-bottom: 18px; opacity: 0.95; }
.footer-note { font-size: 14.5px; max-width: 320px; }
.footer-col h4 {
    color: var(--gold-light);
    font-size: 15px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    margin-bottom: 16px;
}
.footer-col a { display: block; color: rgba(255,255,255,0.75); font-size: 14.5px; padding: 4px 0; }
.footer-col a:hover { color: var(--gold-light); }
.footer-col p { font-size: 14.5px; margin-bottom: 10px; }
.footer-social { margin-top: 14px; }
.footer-base {
    border-top: 1px solid rgba(255,255,255,0.12);
    padding: 20px 0;
    font-size: 13px;
    color: rgba(255,255,255,0.5);
    text-align: center;
}

/* ---------- responsive ---------- */
@media (max-width: 980px) {
    .cards, .link-grid { grid-template-columns: 1fr 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .contact-grid { grid-template-columns: 1fr; }
    .horizon-stop em { font-size: 9.5px; letter-spacing: 0.08em; }
}

@media (max-width: 720px) {
    .cards, .link-grid, .footer-grid, .form-row { grid-template-columns: 1fr; }
    .topbar-inner { justify-content: center; }
    .topbar-contact { display: none; }

    .nav-toggle { display: block; }
    .site-nav {
        display: none;
        flex-direction: column;
        width: 100%;
        align-items: stretch;
        padding-bottom: 14px;
    }
    body.nav-open .site-nav { display: flex; }
    .site-nav a { border-bottom: 1px solid var(--line); padding: 13px 4px; }
    .site-nav a.active { border-bottom-color: var(--gold); }

    .hero-inner { padding: 70px 20px 50px; }
    .hero-horizon .horizon-stop em { display: none; }
    .site-footer .horizon .horizon-stop em { display: none; }
    .contact-form-wrap { padding: 28px 22px; }
}
