/* ============================================================
   style.css — Home Remediation Hub (shared across all pages)
   ============================================================ */

:root {
    --bg: #EDF1F7;
    --paper: #FAFBFF;
    --sand: #D9E1EF;
    --sand-2: #BFCDE0;
    --line: #C9D5E6;
    --line-2: #E0E6F0;

    --ink: #17243A;
    --ink-75: rgba(23, 36, 58, .76);
    --ink-45: rgba(23, 36, 58, .48);
    --ink-20: rgba(23, 36, 58, .20);

    --sage: #6554D9;
    --sage-d: #4838AF;
    --sage-s: #E8E4FF;

    --clay: #25B8AD;
    --clay-d: #168D85;
    --clay-s: #D8F4EF;

    --f-d: 'Instrument Serif', Georgia, serif;
    --f-b: 'Plus Jakarta Sans', system-ui, sans-serif;
}
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 92px
}

body {
    font-family: var(--f-b);
    background: var(--bg);
    color: var(--ink);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    font-size: 1rem;
    overflow-x: hidden
}

a {
    text-decoration: none;
    color: inherit
}

ul {
    list-style: none
}

button,
input,
select,
textarea {
    font: inherit
}

::selection {
    background: var(--sage);
    color: #fff
}

::-webkit-scrollbar {
    width: 8px
}

::-webkit-scrollbar-track {
    background: var(--sand)
}

::-webkit-scrollbar-thumb {
    background: var(--sand-2);
    border-radius: 6px
}

.wrap {
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 28px
}

/* ============== NAV ============== */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 9000;
    background: rgba(253, 250, 243, .82);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid transparent;
    transition: .35s
}

.nav.sc {
    border-color: var(--line);
    box-shadow: 0 10px 30px -20px rgba(28, 26, 23, .25)
}

.nav-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 16px 0
}

.brand {
    font-family: var(--f-d);
    font-size: 1.5rem;
    letter-spacing: -.02em;
    display: flex;
    align-items: center;
    gap: 10px
}

.brand em {
    font-style: italic;
    color: var(--sage)
}

.brand .dot {
    width: 9px;
    height: 9px;
    background: var(--clay);
    border-radius: 50%;
    display: inline-block
}

.links {
    display: flex;
    align-items: center;
    gap: 28px
}

.links a {
    font-size: .84rem;
    font-weight: 500;
    color: var(--ink-75);
    transition: .2s
}

.links a:hover,
.links a.on {
    color: var(--ink)
}

.cta-nav {
    background: var(--sage);
    color: #fff !important;
    padding: 11px 20px;
    border-radius: 100px;
    font-size: .82rem;
    font-weight: 600;
    display: inline-flex;
    gap: 8px;
    align-items: center;
    transition: .25s
}

.cta-nav:hover {
    background: var(--sage-d);
    transform: translateY(-1px);
    color: #fff !important
}

.burg {
    display: none;
    width: 42px;
    height: 42px;
    border-radius: 10px;
    border: 1px solid var(--line);
    background: var(--paper);
    font-size: 1.2rem;
    cursor: pointer
}

.mnav {
    position: fixed;
    inset: 0;
    z-index: 8999;
    background: var(--bg);
    padding: 100px 28px 28px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    opacity: 0;
    pointer-events: none;
    transition: .35s
}

.mnav.open {
    opacity: 1;
    pointer-events: auto
}

.mnav a {
    font-family: var(--f-d);
    font-size: 2rem;
    padding: 10px 0;
    border-bottom: 1px solid var(--line)
}

.mnav a.mcta {
    margin-top: 12px;
    background: var(--sage);
    color: #fff;
    border-radius: 100px;
    padding: 16px 26px;
    font-family: var(--f-b);
    font-size: 1rem;
    font-weight: 600;
    text-align: center;
    border: none
}

.mnav .x {
    position: absolute;
    top: 20px;
    right: 28px;
    background: none;
    border: none;
    font-size: 1.8rem;
    cursor: pointer
}

@media(max-width:980px) {
    .links {
        display: none
    }

    .burg {
        display: block
    }
}

.pb {
    height: 3px;
    background: transparent
}

.pb i {
    display: block;
    height: 100%;
    width: 0;
    background: var(--clay);
    transition: width .2s
}

/* ============== SHARED SECTIONS ============== */
.section {
    padding: 110px 0;
    position: relative
}

.page-hero {
    padding: 148px 0 64px;
    position: relative;
    overflow: hidden
}

.page-hero::before {
    content: '';
    position: absolute;
    width: 560px;
    height: 560px;
    right: -160px;
    top: -180px;
    background: radial-gradient(circle, var(--sage-s) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none
}

.page-hero::after {
    content: '';
    position: absolute;
    width: 460px;
    height: 460px;
    left: -140px;
    bottom: -140px;
    background: radial-gradient(circle, var(--clay-s) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none
}

.kicker {
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .22em;
    text-transform: uppercase;
    color: var(--sage);
    margin-bottom: 18px;
    display: flex;
    gap: 10px;
    align-items: center
}

.kicker::before {
    content: '';
    width: 20px;
    height: 1.5px;
    background: var(--sage)
}

h1.hh {
    font-family: var(--f-d);
    font-weight: 400;
    font-size: clamp(2.6rem, 5vw, 3.8rem);
    line-height: 1;
    letter-spacing: -.04em;
    margin-bottom: 22px
}

h1.hh em {
    font-style: italic;
    color: var(--sage-d)
}

h1.hh .ac {
    color: var(--clay)
}

.s-label {
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .22em;
    text-transform: uppercase;
    color: var(--sage);
    margin-bottom: 16px
}

h2.sec {
    font-family: var(--f-d);
    font-weight: 400;
    font-size: clamp(2.2rem, 4.5vw, 3.6rem);
    line-height: 1;
    letter-spacing: -.03em;
    margin-bottom: 16px
}

h2.sec em {
    font-style: italic;
    color: var(--sage-d)
}

h2.sec .ac {
    color: var(--clay)
}

.lead {
    font-size: 1.06rem;
    color: var(--ink-75);
    max-width: 540px
}

.center {
    text-align: center
}

.center .lead {
    margin: 0 auto
}

.rv {
    opacity: 0;
    transform: translateY(22px);
    transition: .7s cubic-bezier(.2, .7, .2, 1)
}

.rv.in {
    opacity: 1;
    transform: none
}

.d1 {
    transition-delay: .08s
}

.d2 {
    transition-delay: .16s
}

.d3 {
    transition-delay: .24s
}

.d4 {
    transition-delay: .32s
}

.btn-p {
    background: var(--ink);
    color: var(--bg);
    padding: 15px 26px;
    border-radius: 100px;
    font-size: .86rem;
    font-weight: 600;
    display: inline-flex;
    gap: 10px;
    align-items: center;
    border: 1px solid var(--ink);
    transition: .25s;
    cursor: pointer
}

.btn-p:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 24px -12px rgba(28, 26, 23, .4);
    color: var(--bg)
}

.btn-s {
    background: var(--paper);
    color: var(--ink);
    padding: 15px 26px;
    border-radius: 100px;
    font-size: .86rem;
    font-weight: 600;
    display: inline-flex;
    gap: 10px;
    align-items: center;
    border: 1px solid var(--line);
    transition: .25s;
    cursor: pointer
}

.btn-s:hover {
    border-color: var(--ink);
    transform: translateY(-2px)
}

/* ============== ABOUT ============== */
.about {
    background: var(--paper);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line)
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 56px;
    align-items: start
}

.qcard {
    background: var(--sand);
    border: 1px solid var(--line);
    border-radius: 20px;
    padding: 32px 30px
}

.qcard blockquote {
    font-family: var(--f-d);
    font-size: clamp(1.4rem, 2.4vw, 1.9rem);
    line-height: 1.3;
    font-style: italic;
    margin-bottom: 18px
}

.qcard blockquote b {
    font-style: normal;
    color: var(--sage-d)
}

.qcard p {
    font-size: .92rem;
    color: var(--ink-75);
    margin: 0
}

.ab-head {
    font-family: var(--f-d);
    font-size: 1.6rem;
    margin-bottom: 12px
}

.ab-p {
    color: var(--ink-75);
    margin-bottom: 18px;
    font-size: 1.02rem
}

.specs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin-top: 26px
}

.spec {
    background: var(--bg);
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 20px
}

.spec .e {
    font-size: 1.5rem;
    margin-bottom: 10px;
    display: block
}

.spec h4 {
    font-family: var(--f-d);
    font-size: 1.05rem;
    margin-bottom: 6px
}

.spec p {
    font-size: .86rem;
    color: var(--ink-75);
    margin: 0
}

.mvs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin-top: 14px
}

.mv {
    padding: 22px;
    border-radius: 16px;
    border: 1px solid var(--line)
}

.mv.one {
    background: var(--sage-s)
}

.mv.two {
    background: var(--clay-s)
}

.mv h4 {
    font-family: var(--f-d);
    font-size: 1.1rem;
    margin-bottom: 6px;
    display: flex;
    gap: 8px;
    align-items: center
}

.mv p {
    font-size: .9rem;
    color: var(--ink-75);
    margin: 0
}

@media(max-width:980px) {
    .about-grid {
        grid-template-columns: 1fr
    }

    .specs {
        grid-template-columns: 1fr
    }

    .mvs {
        grid-template-columns: 1fr
    }
}

/* ============== SERVICES ============== */
.svc-tools {
    display: flex;
    gap: 12px;
    align-items: center;
    flex-wrap: wrap;
    margin: 36px 0 18px
}

.svc-search {
    flex: 1 1 240px;
    position: relative
}

.svc-search input {
    width: 100%;
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: 12px 18px 12px 40px;
    font-size: .86rem
}

.svc-search input:focus {
    outline: none;
    border-color: var(--sage)
}

.svc-search i {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--ink-45)
}

.cats {
    display: flex;
    gap: 8px;
    flex-wrap: wrap
}

.cat {
    border: 1px solid var(--line);
    background: var(--paper);
    border-radius: 999px;
    padding: 8px 14px;
    font-size: .76rem;
    font-weight: 600;
    cursor: pointer;
    transition: .2s
}

.cat:hover {
    border-color: var(--ink)
}

.cat.on {
    background: var(--ink);
    color: var(--paper);
    border-color: var(--ink)
}

.svc-count {
    font-size: .72rem;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--ink-45);
    margin-bottom: 14px
}

.svc-list {
    border-top: 1px solid var(--line)
}

.svc-row {
    border-bottom: 1px solid var(--line);
    transition: .25s
}

.svc-row:hover {
    background: var(--paper)
}

.svc-row.open {
    background: var(--paper);
    box-shadow: 0 10px 30px -18px rgba(28, 26, 23, .18)
}

.svc-top {
    width: 100%;
    display: grid;
    grid-template-columns: 54px 46px 1.3fr .9fr 36px;
    gap: 14px;
    align-items: center;
    padding: 20px 18px;
    background: none;
    border: none;
    text-align: left;
    cursor: pointer
}

.svc-num {
    font-family: var(--f-d);
    font-size: 1.05rem;
    color: var(--ink-45)
}

.svc-ico {
    width: 40px;
    height: 40px;
    border-radius: 11px;
    background: var(--sand);
    border: 1px solid var(--line);
    display: grid;
    place-items: center;
    font-size: 1.2rem;
    transition: .25s
}

.svc-row.open .svc-ico {
    background: var(--sage-s);
    transform: rotate(-6deg)
}

.svc-name {
    font-family: var(--f-d);
    font-size: 1.25rem;
    line-height: 1.1
}

.svc-cat {
    font-size: .68rem;
    font-weight: 600;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--sage);
    background: var(--sage-s);
    border: 1px solid var(--line);
    padding: 5px 10px;
    border-radius: 999px;
    justify-self: start
}

.svc-arrow {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 1px solid var(--line);
    background: var(--paper);
    display: grid;
    place-items: center;
    font-size: .8rem;
    transition: .3s;
    color: var(--ink-45)
}

.svc-row.open .svc-arrow {
    background: var(--ink);
    color: var(--paper);
    transform: rotate(180deg)
}

.svc-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height .5s cubic-bezier(.2, .7, .2, 1)
}

.svc-row.open .svc-body {
    max-height: 420px
}

.svc-body-in {
    padding: 0 18px 22px 126px
}

.svc-body-in p {
    color: var(--ink-75);
    max-width: 620px;
    margin-bottom: 14px
}

.svc-foot {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    align-items: center
}

.svc-foot .tag {
    font-size: .66rem;
    font-weight: 600;
    letter-spacing: .08em;
    text-transform: uppercase;
    background: var(--sand);
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: 6px 12px
}

.svc-foot .req {
    margin-left: auto;
    background: var(--sage);
    color: #fff;
    border: none;
    border-radius: 999px;
    padding: 10px 18px;
    font-size: .78rem;
    font-weight: 600;
    cursor: pointer;
    transition: .2s
}

.svc-foot .req:hover {
    background: var(--sage-d)
}

@media(max-width:780px) {
    .svc-top {
        grid-template-columns: 44px 40px 1fr 30px
    }

    .svc-cat {
        display: none
    }

    .svc-body-in {
        padding: 0 16px 20px
    }
}

/* ============== WHY ============== */
.why {
    background: var(--paper);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line)
}

.why-grid {
    margin-top: 48px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px
}

.w-card {
    background: var(--bg);
    border: 1px solid var(--line);
    border-radius: 20px;
    padding: 28px 24px;
    transition: .3s;
    position: relative;
    overflow: hidden
}

.w-card::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: var(--sage);
    transform: scaleY(0);
    transition: .35s;
    transform-origin: top
}

.w-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 40px -18px rgba(28, 26, 23, .18);
    background: var(--paper)
}

.w-card:hover::before {
    transform: scaleY(1)
}

.w-card .w-ico {
    font-size: 1.6rem;
    margin-bottom: 14px;
    display: block
}

.w-card h4 {
    font-family: var(--f-d);
    font-size: 1.15rem;
    margin-bottom: 8px
}

.w-card p {
    font-size: .9rem;
    color: var(--ink-75);
    margin: 0
}

@media(max-width:980px) {
    .why-grid {
        grid-template-columns: 1fr 1fr
    }
}

@media(max-width:640px) {
    .why-grid {
        grid-template-columns: 1fr
    }
}

/* ============== TESTIMONIALS ============== */
.testi {
    background: var(--sand);
    border-bottom: 1px solid var(--line)
}

.testi-wrap {
    max-width: 820px;
    margin: 44px auto 0;
    position: relative
}

.t-slide {
    display: none;
    text-align: center
}

.t-slide.active {
    display: block;
    animation: fade .5s ease
}

@keyframes fade {
    from {
        opacity: 0;
        transform: translateY(10px)
    }

    to {
        opacity: 1;
        transform: none
    }
}

.t-star {
    color: var(--clay);
    letter-spacing: 3px;
    font-size: .9rem;
    margin-bottom: 18px
}

.t-q {
    font-family: var(--f-d);
    font-size: clamp(1.2rem, 2.5vw, 1.75rem);
    line-height: 1.45;
    font-style: italic;
    margin-bottom: 26px
}

.t-who {
    display: flex;
    gap: 12px;
    align-items: center;
    justify-content: center
}

.t-av {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--paper);
    border: 1px solid var(--line);
    display: grid;
    place-items: center;
    font-size: 1.2rem
}

.t-nm {
    font-weight: 700;
    font-size: .9rem;
    text-align: left;
    line-height: 1.2
}

.t-lc {
    font-size: .72rem;
    color: var(--ink-45);
    text-align: left
}

.t-ctrl {
    display: flex;
    gap: 10px;
    justify-content: center;
    align-items: center;
    margin-top: 28px
}

.t-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid var(--line);
    background: var(--paper);
    display: grid;
    place-items: center;
    cursor: pointer;
    transition: .25s
}

.t-btn:hover {
    border-color: var(--ink);
    background: var(--ink);
    color: var(--paper)
}

.t-dots {
    display: flex;
    gap: 6px;
    align-items: center
}

.t-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--line);
    cursor: pointer;
    transition: .25s
}

.t-dot.on {
    background: var(--sage);
    width: 22px;
    border-radius: 999px
}

/* ============== FAQ ============== */
.faq {
    background: var(--paper);
    border-bottom: 1px solid var(--line)
}

.faq-grid {
    max-width: 860px;
    margin: 44px auto 0
}

.faq-item {
    border-bottom: 1px solid var(--line)
}

.faq-item:first-child {
    border-top: 1px solid var(--line)
}

.faq-q {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    padding: 22px 4px;
    background: none;
    border: none;
    text-align: left;
    cursor: pointer;
    font-family: var(--f-d);
    font-size: 1.18rem
}

.faq-q:hover {
    color: var(--sage-d)
}

.fq-plus {
    width: 32px;
    height: 32px;
    flex: none;
    border-radius: 50%;
    border: 1px solid var(--line);
    display: grid;
    place-items: center;
    font-size: .8rem;
    transition: .3s
}

.faq-item.open .fq-plus {
    background: var(--sage);
    color: #fff;
    border-color: var(--sage);
    transform: rotate(45deg)
}

.faq-a {
    max-height: 0;
    overflow: hidden;
    transition: max-height .45s ease
}

.faq-item.open .faq-a {
    max-height: 360px
}

.faq-a p {
    padding: 0 4px 22px;
    color: var(--ink-75);
    max-width: 700px;
    font-size: .96rem
}

/* ============== NEWSLETTER / SUBSCRIBE ============== */
.news {
    background: var(--sage-s);
    border-bottom: 1px solid var(--line);
    padding: 90px 0
}

.news-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center
}

.news h2 {
    font-family: var(--f-d);
    font-weight: 400;
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1.05;
    margin-bottom: 14px
}

.news p {
    color: var(--ink-75);
    max-width: 420px
}

.news-card {
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 20px;
    padding: 28px;
    box-shadow: 0 16px 40px -20px rgba(28, 26, 23, .15)
}

.nf {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px
}

.fld {
    margin-bottom: 14px
}

.fld label {
    display: block;
    font-size: .68rem;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--ink-45);
    margin-bottom: 6px
}

.fld label b {
    color: var(--clay)
}

.fld input {
    width: 100%;
    background: var(--sand);
    border: 1px solid transparent;
    border-radius: 12px;
    padding: 12px 14px;
    font-size: .9rem;
    transition: .2s
}

.fld input:focus {
    outline: none;
    background: var(--paper);
    border-color: var(--sage)
}

.check {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    margin: 16px 0
}

.check input {
    width: 18px;
    height: 18px;
    accent-color: var(--sage);
    margin-top: 3px
}

.check label {
    font-size: .82rem;
    color: var(--ink-75);
    cursor: pointer
}

.btn-nl {
    width: 100%;
    background: var(--sage);
    color: #fff;
    border: none;
    border-radius: 999px;
    padding: 14px;
    font-weight: 600;
    font-size: .86rem;
    cursor: pointer;
    transition: .25s;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px
}

.btn-nl:hover {
    background: var(--sage-d)
}

.unsub {
    display: block;
    margin: 14px auto 0;
    background: none;
    border: none;
    font-size: .72rem;
    font-weight: 600;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--ink-45);
    text-decoration: underline;
    cursor: pointer
}

@media(max-width:860px) {
    .news-grid {
        grid-template-columns: 1fr
    }

    .nf {
        grid-template-columns: 1fr
    }
}

/* ============== CONTACT ============== */
.contact {
    background: var(--bg)
}

.c-grid {
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    gap: 40px;
    margin-top: 44px
}

.form-card {
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 16px 40px -20px rgba(28, 26, 23, .12)
}

.form-card .g2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px
}

.cfld {
    margin-bottom: 16px
}

.cfld label {
    display: block;
    font-size: .68rem;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--ink-45);
    margin-bottom: 6px
}

.cfld label b {
    color: var(--clay)
}

.cfld input,
.cfld select,
.cfld textarea {
    width: 100%;
    background: var(--sand);
    border: 1px solid transparent;
    border-radius: 12px;
    padding: 13px 14px;
    font-size: .9rem;
    transition: .2s
}

.cfld textarea {
    resize: vertical;
    min-height: 110px
}

.cfld input:focus,
.cfld select:focus,
.cfld textarea:focus {
    outline: none;
    background: var(--paper);
    border-color: var(--sage)
}

select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%237a8a73' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center
}

.info {
    display: flex;
    flex-direction: column;
    gap: 14px
}

.ibox {
    display: flex;
    gap: 14px;
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 20px;
    transition: .25s
}

.ibox:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 24px -16px rgba(28, 26, 23, .18)
}

.ibox .ic {
    width: 42px;
    height: 42px;
    flex: none;
    background: var(--sage-s);
    border: 1px solid var(--line);
    border-radius: 12px;
    display: grid;
    place-items: center;
    font-size: 1.2rem
}

.ibox h5 {
    font-size: .68rem;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--sage);
    margin-bottom: 4px
}

.ibox p {
    font-size: .88rem;
    color: var(--ink-75);
    margin: 0
}

.mapph {
    border: 1px dashed var(--line);
    border-radius: 16px;
    padding: 28px;
    text-align: center;
    color: var(--ink-45);
    font-size: .82rem;
    background: var(--sand)
}

.mapph .pin {
    font-size: 1.6rem;
    display: block;
    margin-bottom: 6px
}

@media(max-width:980px) {
    .c-grid {
        grid-template-columns: 1fr
    }

    .form-card .g2 {
        grid-template-columns: 1fr
    }
}

/* ============== LEGAL PAGES ============== */
.legal-body {
    max-width: 860px;
    margin: 0 auto;
    padding: 20px 0 80px
}

.legal-body h5 {
    font-family: var(--f-d);
    font-size: 1.15rem;
    margin: 28px 0 10px;
    color: var(--sage-d)
}

.legal-body h5:first-child {
    margin-top: 0
}

.legal-body p {
    font-size: .94rem;
    color: var(--ink-75);
    line-height: 1.75;
    margin-bottom: 12px
}

/* ============== FOOTER ============== */
.footer {
    background: var(--ink);
    color: rgba(253, 250, 243, .65);
    padding: 72px 0 0
}

.f-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 40px
}

.f-brand {
    font-family: var(--f-d);
    font-size: 1.5rem;
    color: var(--bg);
    display: flex;
    gap: 10px;
    align-items: center
}

.f-brand .dot {
    width: 8px;
    height: 8px;
    background: var(--clay);
    border-radius: 50%
}

.f-desc {
    font-size: .9rem;
    margin: 14px 0 18px;
    max-width: 300px
}

.f-soc {
    display: flex;
    gap: 8px
}

.f-soc a {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    border: 1px solid rgba(253, 250, 243, .15);
    display: grid;
    place-items: center;
    transition: .25s
}

.f-soc a:hover {
    background: var(--clay);
    border-color: var(--clay);
    color: #fff
}

.f-col h5 {
    font-size: .7rem;
    font-weight: 700;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: var(--bg);
    margin-bottom: 18px;
    margin-left: 25px;
}

.f-col li {
    margin-bottom: 10px
}

.f-col a {
    font-size: .88rem;
    transition: .2s
}

.f-col a:hover {
    color: var(--bg)
}

.f-bottom {
    margin-top: 56px;
    border-top: 1px solid rgba(253, 250, 243, .12);
    padding: 20px 0;
    display: flex;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap
}

.f-bottom p {
    margin: 0;
    font-size: .8rem
}

.f-bottom button,
.f-bottom a {
    background: none;
    border: none;
    color: inherit;
    font-size: .8rem;
    text-decoration: underline;
    cursor: pointer;
    margin-left: 18px
}

.f-bottom button:hover,
.f-bottom a:hover {
    color: var(--clay)
}

@media(max-width:980px) {
    .f-grid {
        grid-template-columns: 1fr 1fr
    }
}

@media(max-width:560px) {
    .f-grid {
        grid-template-columns: 1fr
    }

    .f-bottom {
        flex-direction: column;
        text-align: center
    }

    .f-bottom button,
    .f-bottom a {
        margin: 0 8px
    }
}

/* ============== TOAST + TOP ============== */
.toast {
    position: fixed;
    left: 50%;
    bottom: 28px;
    transform: translate(-50%, 160%);
    background: var(--ink);
    color: var(--bg);
    border-radius: 999px;
    padding: 12px 22px;
    font-size: .84rem;
    font-weight: 600;
    display: flex;
    gap: 10px;
    align-items: center;
    z-index: 9999;
    transition: .45s cubic-bezier(.2, .7, .2, 1)
}

.toast.show {
    transform: translate(-50%, 0)
}

.top {
    position: fixed;
    right: 22px;
    bottom: 22px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--paper);
    border: 1px solid var(--line);
    display: grid;
    place-items: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: .3s;
    z-index: 9000
}

.top.show {
    opacity: 1;
    visibility: visible
}

.top:hover {
    background: var(--ink);
    color: var(--bg)
}

/* ============== HERO (HOME ONLY) ============== */
.hero {
    position: relative;
    padding: 148px 0 64px;
    overflow: hidden
}

.hero::before {
    content: '';
    position: absolute;
    width: 560px;
    height: 560px;
    right: -160px;
    top: -180px;
    background: radial-gradient(circle, var(--sage-s) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none
}

.hero::after {
    content: '';
    position: absolute;
    width: 460px;
    height: 460px;
    left: -140px;
    bottom: -140px;
    background: radial-gradient(circle, var(--clay-s) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none
}

.hgrid {
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    gap: 54px;
    align-items: start;
    position: relative;
    z-index: 2
}

.subb {
    font-size: 1.08rem;
    color: var(--ink-75);
    max-width: 500px;
    margin-bottom: 28px
}

.hacts {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 28px
}

.trust {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-top: 4px
}

.trust span {
    display: inline-flex;
    gap: 8px;
    align-items: center;
    font-size: .8rem;
    color: var(--ink-75);
    font-weight: 500
}

.trust .e {
    font-size: 1.1rem
}

.panel {
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 22px;
    box-shadow: 0 18px 50px -22px rgba(28, 26, 23, .25);
    overflow: hidden;
    position: sticky;
    top: 110px
}

.p-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 22px 16px;
    border-bottom: 1px solid var(--line)
}

.p-head h3 {
    font-family: var(--f-d);
    font-size: 1.25rem;
    font-weight: 400
}

.p-head h3 em {
    font-style: italic;
    color: var(--sage-d)
}

.p-count {
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    background: var(--sage-s);
    color: var(--sage-d);
    border: 1px solid var(--line);
    padding: 6px 12px;
    border-radius: 100px
}

.p-search {
    padding: 14px 16px;
    border-bottom: 1px solid var(--line);
    position: relative
}

.p-search input {
    width: 100%;
    background: var(--sand);
    border: 1px solid transparent;
    border-radius: 12px;
    padding: 12px 14px 12px 40px;
    font-size: .86rem;
    transition: .2s
}

.p-search input:focus {
    outline: none;
    background: var(--paper);
    border-color: var(--sage)
}

.p-search i {
    position: absolute;
    left: 32px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--ink-45)
}

.checklist {
    max-height: 300px;
    overflow: auto;
    padding: 8px
}

.cl-row {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    border-radius: 12px;
    cursor: pointer;
    transition: .2s
}

.cl-row:hover {
    background: var(--sand)
}

.cl-row input {
    width: 18px;
    height: 18px;
    accent-color: var(--sage)
}

.cl-row .emo {
    font-size: 1.15rem;
    width: 28px;
    text-align: center
}

.cl-row .nm {
    font-size: .88rem;
    font-weight: 600;
    flex: 1
}

.cl-row .cat {
    font-size: .65rem;
    font-weight: 600;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--ink-45);
    background: var(--sand);
    border: 1px solid var(--line);
    padding: 4px 9px;
    border-radius: 999px
}

.cl-row.sel {
    background: var(--sage-s);
    border: 1px solid var(--line)
}

.p-foot {
    padding: 16px 20px;
    border-top: 1px solid var(--line);
    background: var(--sand)
}

.p-sel {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 12px;
    min-height: 28px
}

.p-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: 5px 12px;
    font-size: .72rem;
    font-weight: 600
}

.p-chip button {
    border: none;
    background: none;
    cursor: pointer;
    line-height: 1;
    color: var(--ink-45)
}

.p-actions {
    display: flex;
    gap: 10px
}

.p-actions .btn-p,
.p-actions .btn-s {
    flex: 1;
    justify-content: center;
    padding: 13px
}

.p-note {
    font-size: .72rem;
    color: var(--ink-45);
    margin-top: 10px;
    text-align: center
}

.ticker {
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    background: var(--paper);
    padding: 14px 0;
    overflow: hidden;
    margin-top: 50px
}

.tk-track {
    display: flex;
    width: max-content;
    animation: tk 36s linear infinite
}

.tk-track:hover {
    animation-play-state: paused
}

@keyframes tk {
    to {
        transform: translateX(-50%)
    }
}

.tk-track span {
    font-family: var(--f-d);
    font-size: .92rem;
    color: var(--ink-75);
    white-space: nowrap;
    padding: 0 24px;
    display: flex;
    gap: 24px;
    align-items: center
}

.tk-track span i {
    font-size: .45rem;
    color: var(--clay)
}

@media(max-width:980px) {
    .hgrid {
        grid-template-columns: 1fr
    }

    .panel {
        position: static
    }
}

@media(prefers-reduced-motion:reduce) {

    *,
    *::before,
    *::after {
        animation: none !important;
        transition: none !important
    }

    html {
        scroll-behavior: auto
    }

    .rv {
        opacity: 1;
        transform: none
    }
}