/* =========================================================
   Citrus & Shore Group — site styles (v7)
   Brand colors live in :root below. Change them in one place.
   ========================================================= */
:root {
    --navy: #0f2a55;
    --navy-deep: #0b2145;
    --orange: #f26b1d;
    --orange-dark: #d9560c;
    --tint: #eaf1fa;
    --ink: #1d2b3f;
    --muted: #5b6878;
    --line: #e1e7ef;
    --white: #ffffff;
    --font-display: "Fraunces", Georgia, serif;
    --font-body: "DM Sans", Arial, sans-serif;
    --font-script: "Mrs Saint Delafield", cursive;
    --space-section: clamp(4rem, 9vw, 7rem);
    --shadow: 0 1.25rem 3rem rgba(15, 42, 85, 0.12);
}

* { box-sizing: border-box; }

html {
    max-width: 100%;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

body {
    margin: 0;
    max-width: 100%;
    overflow-x: hidden;
    background: var(--white);
    color: var(--ink);
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.65;
}

::selection { background: var(--orange); color: var(--white); }
a { color: inherit; }

.skip-link {
    position: absolute;
    top: 0.75rem;
    left: 0.75rem;
    z-index: 2000;
    padding: 0.6rem 0.9rem;
    border-radius: 0.4rem;
    background: var(--navy);
    color: var(--white);
    transform: translateY(-200%);
    transition: transform 180ms ease;
}
.skip-link:focus { transform: translateY(0); }

/* ---------- Type ---------- */
h1, h2, h3 {
    margin: 0;
    color: var(--navy);
    font-family: var(--font-display);
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: -0.015em;
}

h1 { font-size: clamp(3rem, 6.2vw, 5.4rem); line-height: 1.02; }
h2 { font-size: clamp(2.1rem, 3.8vw, 3.1rem); }
h3 { font-size: 1.3rem; font-weight: 700; }

.section-sub {
    max-width: 34rem;
    margin: 0.75rem 0 0;
    color: var(--muted);
}

.section-lead {
    margin: 1.4rem 0 1rem;
    color: var(--navy);
    font-size: 1.15rem;
    font-weight: 500;
}

.body-copy { color: var(--muted); }

/* ---------- Dot list (BUY • SELL • INVEST • ...) ---------- */
.dot-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.25rem 0;
    margin: 0;
    padding: 0;
    list-style: none;
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}
.dot-list li + li::before {
    content: "";
    display: inline-block;
    width: 0.4rem;
    height: 0.4rem;
    margin: 0 0.8rem 0.12rem;
    border-radius: 50%;
    background: var(--orange);
    vertical-align: middle;
}

/* ---------- Tags / ribbons ---------- */
.tag {
    display: inline-block;
    margin: 0 0 1rem;
    padding: 0.45rem 1rem 0.45rem 1.3rem;
    background: var(--navy);
    color: var(--white);
    font-size: 0.66rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    clip-path: polygon(0.7rem 0, 100% 0, 100% 100%, 0.7rem 100%, 0 50%);
    box-shadow: inset -0.35rem 0 0 var(--orange);
}
.tag-orange {
    background: var(--orange);
    clip-path: polygon(0.7rem 0, 100% 0, calc(100% - 0.7rem) 50%, 100% 100%, 0.7rem 100%, 0 50%);
    box-shadow: none;
    padding-right: 1.6rem;
}

/* ---------- Buttons & links ---------- */
.btn {
    border-radius: 999px;
    padding: 0.8rem 1.5rem;
    font-size: 0.9rem;
    font-weight: 700;
    transition: background 180ms ease, color 180ms ease, border-color 180ms ease, transform 180ms ease;
}
.btn:hover { transform: translateY(-1px); }

.btn-orange { border: 2px solid var(--orange); background: var(--orange); color: var(--white); }
.btn-orange:hover, .btn-orange:focus { border-color: var(--orange-dark); background: var(--orange-dark); color: var(--white); }

.btn-navy { border: 2px solid var(--navy); background: var(--navy); color: var(--white); }
.btn-navy:hover, .btn-navy:focus { border-color: var(--orange); background: var(--orange); color: var(--white); }

.btn-outline-navy { border: 2px solid var(--navy); background: transparent; color: var(--navy); }
.btn-outline-navy:hover, .btn-outline-navy:focus { background: var(--navy); color: var(--white); }

.underline-link {
    display: inline-block;
    padding-bottom: 0.2rem;
    border-bottom: 2px solid var(--orange);
    color: var(--navy);
    font-size: 0.88rem;
    font-weight: 700;
    text-decoration: none;
}
.underline-link:hover, .underline-link:focus { color: var(--orange-dark); }

/* ---------- Top bar ---------- */
.topbar {
    padding: 0.5rem 0;
    background: var(--navy);
    color: var(--white);
}
.topbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}
.topbar .dot-list { font-size: 0.66rem; }
.topbar-contact {
    display: flex;
    gap: 1.5rem;
    font-size: 0.8rem;
}
.topbar-contact a { text-decoration: none; }
.topbar-contact a:hover { color: var(--orange); }

/* ---------- Header ---------- */
.site-header {
    position: relative;
    z-index: 10;
    background: var(--white);
    border-bottom: 3px solid var(--orange);
}
.navbar { padding: 0.9rem 0; }
.brand-logo { display: block; height: 4.6rem; width: auto; } /* logo size in the top menu */
.navbar-nav { gap: 0.5rem; }
.nav-link {
    padding: 0.5rem 0.8rem !important;
    color: var(--navy);
    font-size: 0.9rem;
    font-weight: 700;
}
.nav-link:hover, .nav-link:focus { color: var(--orange); }
.nav-cta { margin-left: 0.6rem; padding: 0.65rem 1.4rem; }
.navbar-toggler { border-color: var(--navy); }
.navbar-toggler:focus { box-shadow: 0 0 0 0.2rem rgba(242, 107, 29, 0.3); }

/* ---------- Hero ---------- */
.hero-section {
    position: relative;
    overflow: hidden;
    padding: clamp(3rem, 6vw, 5rem) 0 0;
}
.hero-text { padding-bottom: clamp(3rem, 6vw, 5rem); }
.hero-rule {
    display: block;
    width: min(100%, 26rem);
    height: 3px;
    margin: 1.6rem 0 0;
    background: var(--orange);
}
.hero-copy {
    max-width: 30rem;
    margin: 1.4rem 0 0;
    color: var(--muted);
    font-size: 1.1rem;
}
.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 2rem;
}
.hero-slice {
    position: absolute;
    bottom: -6rem;
    left: -6rem;
    width: 14rem;
    height: 14rem;
    pointer-events: none;
}
.hero-art {
    position: relative;
    height: clamp(24rem, 42vw, 34rem);
    margin-right: calc(-1 * (100vw - 100%) / 2);
    overflow: hidden;
    border-top-left-radius: 70% 55%;
    box-shadow: -0.8rem -0.8rem 0 0 var(--orange);
}
.hero-art svg,
.hero-art img { display: block; width: 100%; height: 100%; object-fit: cover; }

/* ---------- Navy call band + waves ---------- */
.call-band {
    padding: 2rem 0 0.75rem;
    background: var(--navy);
    color: var(--white);
}
.call-band-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
}
.call-band-phone { text-align: right; }
.call-band-phone a {
    display: block;
    color: var(--white);
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 800;
    line-height: 1;
    text-decoration: none;
    letter-spacing: -0.01em;
}
.call-band-phone a:hover { color: var(--orange); }
.call-band-phone p {
    margin: 0.4rem 0 0;
    font-size: 0.8rem;
    font-weight: 700;
}
.call-band-phone p span { margin: 0 0.4rem; color: var(--orange); }

.wave { display: block; width: 100%; height: clamp(2.5rem, 5vw, 4.4rem); }
.wave-down { margin-top: -1px; }
.wave-up { margin-bottom: -1px; }

/* ---------- Sections ---------- */
.page-section { padding: var(--space-section) 0; }
.tint-section { background: var(--tint); }

.section-head-split {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 2rem;
    margin-bottom: 2.5rem;
}

/* ---------- Listings / IDX ---------- */
.idx-placeholder {
    position: relative;
    padding: 1.5rem;
    border: 2px dashed var(--orange);
    border-radius: 1rem;
    background: #fffaf6;
}
.skeleton-card {
    padding: 0.75rem;
    border-radius: 0.75rem;
    background: var(--white);
    box-shadow: 0 0.5rem 1.5rem rgba(15, 42, 85, 0.06);
}
.skeleton-card span {
    display: block;
    height: 9rem;
    margin-bottom: 0.9rem;
    border-radius: 0.5rem;
    background: #dfe6ef;
}
.skeleton-card i {
    display: block;
    height: 0.55rem;
    margin-bottom: 0.5rem;
    border-radius: 1rem;
    background: #ecdfd4;
}
.skeleton-card i + i { width: 60%; background: #e6ebf2; }
.idx-note {
    position: absolute;
    top: 50%;
    left: 50%;
    width: min(20rem, 85%);
    padding: 1.1rem 1.3rem;
    border-radius: 0.6rem;
    background: var(--navy);
    color: var(--white);
    text-align: center;
    transform: translate(-50%, -50%);
    box-shadow: var(--shadow);
}
.idx-note strong { font-family: var(--font-display); font-size: 1.05rem; }
.idx-note p { margin: 0.35rem 0 0; font-size: 0.78rem; color: rgba(255, 255, 255, 0.8); }

/* ---------- Services ---------- */
.services-section {
    position: relative;
    overflow: hidden;
    background: var(--navy);
    color: var(--white);
}
.services-section h2 { max-width: 14ch; color: var(--white); }
.services-section .section-sub { color: rgba(255, 255, 255, 0.8); }
.services-palm {
    position: absolute;
    --leaf: rgba(255, 255, 255, 0.05);
    --trunk: rgba(255, 255, 255, 0.05);
    pointer-events: none;
}
.services-palm-one { top: -2rem; right: -3rem; width: 16rem; height: 32rem; }
.services-palm-two { bottom: -8rem; left: -4rem; width: 13rem; height: 26rem; transform: scaleX(-1); }

.service-card {
    position: relative;
    display: flex;
    height: 100%;
    flex-direction: column;
    overflow: hidden;
    padding: 1.6rem 1.4rem;
    border-radius: 0.6rem;
    background: var(--white);
    color: var(--ink);
    transition: transform 180ms ease, box-shadow 180ms ease;
}
.service-card:hover { transform: translateY(-0.3rem); box-shadow: 0 1.25rem 2.5rem rgba(0, 0, 0, 0.25); }
.card-slice {
    position: absolute;
    top: -2.6rem;
    right: -2.6rem;
    width: 6.5rem;
    height: 6.5rem;
    opacity: 0.35;
}
.service-icon {
    display: grid;
    width: 2.6rem;
    height: 2.6rem;
    place-items: center;
    margin-bottom: 1.4rem;
    border-radius: 50%;
    background: var(--navy);
}
.service-icon svg {
    width: 1.2rem;
    height: 1.2rem;
    fill: none;
    stroke: var(--white);
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}
.service-card p { margin: 0.6rem 0 1.4rem; color: var(--muted); font-size: 0.9rem; }
.service-card .underline-link { margin-top: auto; align-self: flex-start; }

/* ---------- About / portrait ---------- */
.portrait {
    position: relative;
    width: min(100%, 24rem);
    aspect-ratio: 1;
    margin: 2rem auto 0;
}
.portrait-slice {
    position: absolute;
    top: -2.5rem;
    right: -2.5rem;
    width: 72%;
    height: 72%;
}
.portrait img {
    position: relative;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 68% center;
    border: 0.5rem solid var(--white);
    border-radius: 50%;
    box-shadow: 0 0 0 0.4rem var(--orange), var(--shadow);
}
.portrait-badge {
    position: absolute;
    bottom: 0.5rem;
    left: -0.5rem;
    display: grid;
    width: 7rem;
    height: 7rem;
    place-content: center;
    border: 0.25rem solid var(--orange);
    border-radius: 50%;
    background: var(--navy);
    color: var(--white);
    text-align: center;
    transform: rotate(-12deg);
}
.portrait-badge strong { font-family: var(--font-display); font-size: 1.9rem; line-height: 1; color: var(--orange); }
.portrait-badge span {
    max-width: 5rem;
    margin-top: 0.2rem;
    font-size: 0.55rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    line-height: 1.3;
    text-transform: uppercase;
}
.signature {
    margin: 1.2rem 0 0;
    color: var(--navy);
    font-family: var(--font-script);
    font-size: 3.4rem;
    line-height: 1;
}
.signature-title {
    margin: 0.2rem 0 0;
    color: var(--orange);
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 0.35em;
}
.about-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1.2rem;
    margin-top: 1.8rem;
}

/* ---------- Home value map ---------- */
.map-card { margin: 0; text-align: center; }
.map-card svg {
    display: block;
    width: 100%;
    height: auto;
    border: 0.5rem solid var(--white);
    border-radius: 0.6rem;
    box-shadow: var(--shadow);
    transform: rotate(-2deg);
}
.map-card figcaption { margin-top: 1.2rem; color: var(--muted); font-size: 0.82rem; }

/* ---------- Process steps ---------- */
.process-heading { margin-bottom: 3.5rem; }
.steps {
    position: relative;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin: 0;
    padding: 0;
    list-style: none;
}
.steps::before {
    position: absolute;
    top: 1.5rem;
    left: 16.6%;
    right: 16.6%;
    border-top: 2px dotted var(--orange);
    content: "";
}
.step-number {
    position: relative;
    display: grid;
    width: 3rem;
    height: 3rem;
    place-items: center;
    margin: 0 auto 1.2rem;
    border-radius: 50%;
    background: var(--navy);
    box-shadow: 0 0 0 0.25rem var(--white), 0 0 0 0.45rem var(--orange);
    color: var(--white);
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 800;
}
.steps p { max-width: 17rem; margin: 0.5rem auto 0; color: var(--muted); font-size: 0.92rem; }

/* ---------- Reviews ---------- */
.stars { margin: 0 0 0.8rem; color: var(--orange); font-size: 1.4rem; letter-spacing: 0.2em; }
#reviews .section-sub { margin-bottom: 1.8rem; }

/* ---------- Contact ---------- */
.contact-list { margin: 2.2rem 0 0; }
.contact-list dt {
    padding-top: 1rem;
    border-top: 1px solid var(--line);
    color: var(--orange);
    font-size: 0.66rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}
.contact-list dd { margin: 0.2rem 0 1rem; color: var(--navy); font-weight: 700; }
.contact-list a { text-decoration: none; }
.contact-list a:hover { color: var(--orange); }

.contact-form {
    position: relative;
    padding: clamp(1.6rem, 4vw, 2.4rem);
    padding-top: 2.6rem;
    border-top: 4px solid var(--navy);
    border-radius: 0.8rem;
    background: var(--white);
    box-shadow: var(--shadow);
}
.form-tag {
    position: absolute;
    top: -0.95rem;
    left: 50%;
    margin: 0;
    padding: 0.35rem 1.2rem;
    background: var(--orange);
    color: var(--white);
    font-size: 0.64rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    white-space: nowrap;
    transform: translateX(-50%);
}
.contact-form label {
    display: block;
    margin-bottom: 0.35rem;
    color: var(--navy);
    font-size: 0.8rem;
    font-weight: 700;
}
.contact-form label span:not(.optional-label) { color: var(--orange); }
.optional-label { color: var(--muted); font-weight: 400; }

.form-control,
.form-select {
    min-height: 3rem;
    border: 1px solid var(--line);
    border-radius: 0.45rem;
    background: #fbfcfe;
    color: var(--ink);
}
.form-control:focus,
.form-select:focus {
    border-color: var(--orange);
    box-shadow: 0 0 0 0.2rem rgba(242, 107, 29, 0.18);
}
textarea.form-control { min-height: 8rem; resize: vertical; }
.form-control:user-invalid,
.form-select:user-invalid { border-color: var(--orange-dark); }

.form-consent { margin: 0 0 1rem; color: var(--muted); font-size: 0.74rem; line-height: 1.5; }
.form-submit { min-width: 10rem; }
.form-submit:disabled { cursor: wait; opacity: 0.7; }
.form-status { min-height: 1.5rem; margin: 0.8rem 0 0; color: var(--muted); font-size: 0.85rem; }
.form-status.is-error { color: var(--orange-dark); }
.form-status.is-success { color: #2f7d4e; }

/* ---------- Footer ---------- */
.site-footer {
    padding: 2.5rem 0 1.5rem;
    background: var(--navy);
    color: rgba(255, 255, 255, 0.85);
}
.footer-logo {
    display: block;
    height: 3.6rem; /* footer logo size */
    width: auto;
}
.footer-disclosure { max-width: 22rem; margin: 1rem 0 0; font-size: 0.82rem; }
.footer-label {
    margin: 0 0 0.8rem;
    color: var(--orange);
    font-size: 0.66rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}
.footer-links { margin: 0; padding: 0; list-style: none; font-size: 0.88rem; }
.footer-links li { margin-bottom: 0.45rem; }
.footer-links a { text-decoration: none; }
.footer-links a:hover { color: var(--orange); }
.footer-bottom {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    margin-top: 2.5rem;
    padding-top: 1.2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    font-size: 0.75rem;
}
.footer-bottom p { margin: 0; color: rgba(255, 255, 255, 0.6); }
.footer-bottom .dot-list { font-size: 0.62rem; }

/* ---------- Tablet & mobile ---------- */
@media (max-width: 991.98px) {
    .navbar-collapse { display: none; padding-top: 1rem; }
    .navbar-collapse.is-open { display: block; }
    .navbar-nav { align-items: flex-start !important; }
    .nav-cta { margin: 0.5rem 0 0; }

    .hero-text { padding-bottom: 0; }
    .hero-art { margin-right: 0; border-top-left-radius: 45% 35%; }
    .portrait { margin-bottom: 1rem; }
}

@media (min-width: 992px) {
    .navbar-collapse { display: flex; }
}

@media (max-width: 767.98px) {
    .topbar .dot-list { display: none; }
    .topbar-inner { justify-content: center; }
    .topbar-contact { gap: 1rem; font-size: 0.74rem; }

    .brand-logo { height: 3.6rem; } /* logo size on phones */

    .call-band-inner,
    .section-head-split {
        align-items: flex-start;
        flex-direction: column;
    }
    .call-band-phone { text-align: left; }

    .idx-placeholder .col-md-4:not(:first-child) { display: none; }

    .steps { grid-template-columns: 1fr; gap: 2.5rem; }
    .steps::before { display: none; }

    .hero-slice { width: 9rem; height: 9rem; bottom: -4rem; left: -4rem; }
    .portrait-slice { top: -1.5rem; right: -1rem; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after {
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
    }
}
