:root {
    --ink: #0b1528;
    --muted: #64748b;
    --line: rgba(11, 21, 40, .12);
    --paper: #ffffff;
    --soft: #f1f5f9;
    --canvas: #f8fafc;
    --navy: #061225;
    --navy-mid: #0a1a33;
    --blue: #3b66f5;
    --blue-deep: #061225;
    --coral: #ff6b4a;
    --coral-hot: #ff7152;
    --coral-deep: #e85a3a;
    --green: #22c55e;
    --green-soft: rgba(34, 197, 94, .12);
    --gold: #c98116;
    --hero-text: #ffffff;
    --radius: 12px;
    --radius-pill: 999px;
    --shadow: 0 28px 60px rgba(6, 18, 37, .18);
    --shadow-soft: 0 14px 36px rgba(6, 18, 37, .1);
    --font-display: "Syne", sans-serif;
    --font-accent: "Fraunces", Georgia, serif;
    --font-body: "Plus Jakarta Sans", sans-serif;
    --ease-out: cubic-bezier(.22, 1, .36, 1);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background:
        radial-gradient(ellipse 70% 45% at 85% 0%, rgba(255, 107, 74, .07), transparent 50%),
        radial-gradient(ellipse 55% 40% at 0% 30%, rgba(59, 102, 245, .06), transparent 48%),
        linear-gradient(180deg, #f8fafc 0%, var(--canvas) 45%, #f1f5f9 100%);
    color: var(--ink);
    font-family: var(--font-body);
    font-weight: 500;
    -webkit-font-smoothing: antialiased;
}

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

button,
input,
select,
textarea {
    font: inherit;
}

.site-shell {
    overflow: hidden;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    border-bottom: 1px solid rgba(255, 255, 255, .06);
    background: rgba(6, 18, 37, .82);
    backdrop-filter: blur(18px) saturate(1.2);
}

.site-header .brand strong,
.site-header .nav-links a,
.site-header .button.secondary {
    color: #f8fafc;
}

.site-header .brand small {
    color: rgba(248, 250, 252, .55);
}

.site-header .nav-links a {
    border-bottom-color: transparent;
}

.site-header .nav-links a:hover,
.site-header .nav-links a.active {
    color: #fff;
    border-bottom-color: var(--coral);
}

.site-header .button.secondary {
    border-color: rgba(255, 255, 255, .28);
    background: transparent;
}

.site-header .button.secondary:hover {
    border-color: rgba(255, 255, 255, .5);
    background: rgba(255, 255, 255, .08);
    box-shadow: none;
}

.site-header .button.primary {
    background: var(--coral);
    box-shadow: 0 10px 28px rgba(255, 107, 74, .35);
}

.site-header .button.primary:hover {
    background: var(--coral-deep);
}

.site-header .brand-mark {
    background: linear-gradient(145deg, var(--blue), #2547d4);
}

.topbar {
    width: 100%;
    background: transparent;
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    width: min(1180px, calc(100% - 32px));
    min-height: 72px;
    margin: 0 auto;
    padding: 10px 0;
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.brand-mark {
    display: grid;
    width: 40px;
    height: 40px;
    place-items: center;
    border-radius: 10px;
    background: linear-gradient(145deg, var(--blue), #2547d4);
    color: #fff;
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 14px;
    letter-spacing: .04em;
}

.brand strong,
.brand small {
    display: block;
    line-height: 1.1;
}

.brand strong {
    font-family: var(--font-display);
    font-weight: 700;
    letter-spacing: .02em;
}

.brand small {
    margin-top: 3px;
    color: var(--muted);
    font-size: 12px;
    font-weight: 500;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-left: auto;
    color: #385464;
    font-size: 14px;
    font-weight: 600;
}

.nav-links a {
    display: inline-flex;
    align-items: center;
    min-height: 48px;
    border-bottom: 2px solid transparent;
    transition: color .2s ease, border-color .2s ease;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--blue);
    border-bottom-color: var(--coral);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* —— Hero: full-bleed —— */
.hero {
    position: relative;
    display: grid;
    align-items: end;
    min-height: min(92vh, 860px);
    margin: 0;
    padding: 0;
    overflow: hidden;
    color: var(--hero-text);
}

.hero-media {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 35%;
    transform: scale(1.06);
    animation: hero- ken 18s var(--ease-out) forwards;
}

.hero-veil {
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        linear-gradient(105deg, rgba(6, 18, 37, .92) 0%, rgba(6, 18, 37, .62) 46%, rgba(6, 18, 37, .35) 100%),
        linear-gradient(180deg, rgba(6, 18, 37, .4) 0%, transparent 30%, rgba(6, 18, 37, .78) 100%),
        radial-gradient(circle at 78% 32%, rgba(255, 107, 74, .28), transparent 42%);
}

.hero-content {
    position: relative;
    z-index: 2;
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
    padding: 120px 0 72px;
    animation: rise-in .9s var(--ease-out) both;
}

.hero-brand {
    margin: 0 0 18px;
    font-family: var(--font-display);
    font-size: clamp(28px, 4.5vw, 48px);
    font-weight: 800;
    letter-spacing: .04em;
    line-height: 1;
    color: #fff;
}

.hero h1 {
    max-width: 15ch;
    margin-bottom: 18px;
    color: #fff;
    font-family: var(--font-display);
    font-size: clamp(36px, 5.8vw, 68px);
    font-weight: 700;
    line-height: 1.02;
    letter-spacing: -.02em;
}

.accent-word {
    font-family: var(--font-accent);
    font-style: italic;
    font-weight: 700;
    color: var(--coral-hot);
}

.hero-lead {
    max-width: 38ch;
    margin: 0;
    color: rgba(247, 250, 249, .82);
    font-size: clamp(16px, 1.6vw, 19px);
    font-weight: 500;
    line-height: 1.65;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 32px;
}

.eyebrow,
.section-kicker {
    display: inline-block;
    margin-bottom: 14px;
    color: var(--coral);
    font-family: var(--font-display);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
}

h1,
h2,
h3,
p {
    margin-top: 0;
}

h1,
h2,
h3 {
    font-family: var(--font-display);
    font-weight: 700;
    letter-spacing: -.02em;
}

h1 {
    max-width: 650px;
    margin-bottom: 20px;
    font-size: clamp(42px, 6.5vw, 74px);
    line-height: .98;
}

h2 {
    margin-bottom: 14px;
    font-size: clamp(28px, 3.4vw, 44px);
    line-height: 1.08;
}

h3 {
    margin-bottom: 10px;
    font-size: 20px;
    line-height: 1.2;
}

p {
    color: var(--muted);
    line-height: 1.72;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    padding: 0 24px;
    border: 1px solid transparent;
    border-radius: var(--radius-pill);
    cursor: pointer;
    font-weight: 700;
    font-size: 14px;
    letter-spacing: .01em;
    transition: transform .2s var(--ease-out), box-shadow .2s ease, border-color .2s ease, background .2s ease, color .2s ease;
}

.button:hover {
    transform: translateY(-2px);
}

.button.primary {
    background: var(--coral);
    color: #fff;
    box-shadow: 0 14px 32px rgba(255, 107, 74, .32);
}

.button.primary:hover {
    background: var(--coral-deep);
}

.button.secondary {
    border-color: var(--line);
    background: #fff;
    color: var(--ink);
}

.button.secondary:hover {
    border-color: rgba(59, 102, 245, .35);
    box-shadow: var(--shadow-soft);
}

.button.ghost {
    border-color: rgba(255, 255, 255, .42);
    background: transparent;
    color: #fff;
}

.button.ghost:hover {
    border-color: #fff;
    background: rgba(255, 255, 255, .1);
}

.button.small {
    min-height: 42px;
    padding: 0 18px;
    font-size: 13px;
}

.problem-band,
.solution-section,
.listing-section,
.workflow-section,
.listing-page-section {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
    padding: 96px 0;
}

.problem-band {
    display: grid;
    grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
    gap: 48px;
    align-items: start;
    border-top: none;
}

.problem-intro h2 {
    max-width: 16ch;
}

.problem-grid,
.feature-grid,
.property-grid {
    display: grid;
    gap: 0;
}

.problem-grid {
    grid-template-columns: 1fr;
    border-top: 1px solid var(--line);
}

.problem-grid article {
    padding: 28px 0;
    border: none;
    border-bottom: 1px solid var(--line);
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    animation: rise-in .7s var(--ease-out) both;
}

.problem-grid article:nth-child(1) { animation-delay: .05s; }
.problem-grid article:nth-child(2) { animation-delay: .12s; }
.problem-grid article:nth-child(3) { animation-delay: .19s; }

.problem-grid strong {
    display: block;
    margin-bottom: 8px;
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 700;
}

.problem-grid p,
.feature-grid p {
    margin-bottom: 0;
    max-width: 42ch;
}

.section-heading {
    max-width: 640px;
    margin-bottom: 48px;
}

.section-heading.compact {
    max-width: 560px;
}

.section-heading p {
    font-size: 17px;
}

.feature-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    border-top: 1px solid var(--line);
}

.feature-grid article {
    min-height: 0;
    padding: 32px 28px 32px 0;
    border: none;
    border-right: 1px solid var(--line);
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    transition: transform .25s var(--ease-out);
}

.feature-grid article:last-child {
    border-right: none;
    padding-right: 0;
}

.feature-grid article:hover {
    transform: translateY(-4px);
    border-color: var(--line);
    box-shadow: none;
}

.feature-icon {
    display: block;
    width: auto;
    height: auto;
    margin-bottom: 28px;
    place-items: unset;
    border-radius: 0;
    background: none;
    color: var(--coral);
    font-family: var(--font-display);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: .12em;
}

.filters {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 28px;
}

.filters button {
    min-height: 40px;
    padding: 0 16px;
    border: 1px solid var(--line);
    border-radius: var(--radius-pill);
    background: transparent;
    color: #3d5560;
    cursor: pointer;
    font-weight: 600;
    font-size: 13px;
    transition: background .18s ease, color .18s ease, border-color .18s ease;
}

.filters button:hover {
    border-color: rgba(59, 102, 245, .35);
    color: var(--blue);
}

.filters button:first-child {
    border-color: var(--navy);
    background: var(--navy);
    color: #fff;
}

.section-actions {
    margin-top: 32px;
}

.property-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.property-card,
.property-row {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--paper);
    box-shadow: none;
    overflow: hidden;
    transition: transform .25s var(--ease-out), box-shadow .25s ease, border-color .25s ease;
}

.property-card:hover,
.property-row:hover {
    transform: translateY(-4px);
    border-color: rgba(255, 107, 74, .28);
    box-shadow: var(--shadow-soft);
}

.property-card-link {
    display: block;
    height: 100%;
}

.property-media {
    position: relative;
    height: 220px;
    background:
        linear-gradient(135deg, rgba(16, 35, 49, .08), rgba(16, 35, 49, .16)),
        linear-gradient(135deg, #dbeaf0 0%, #f7fbfd 45%, #b7cfda 100%);
}

.property-media::before,
.property-media::after {
    content: "";
    position: absolute;
    border-radius: var(--radius) var(--radius) 0 0;
    background: rgba(255, 255, 255, .82);
    box-shadow: inset 0 0 0 1px rgba(16, 35, 49, .06);
}

.property-media::before {
    left: 38px;
    right: 78px;
    bottom: 0;
    height: 116px;
}

.property-media::after {
    right: 36px;
    bottom: 0;
    width: 90px;
    height: 152px;
}

.property-media.green {
    background:
        linear-gradient(135deg, rgba(21, 122, 91, .12), rgba(21, 122, 91, .2)),
        linear-gradient(135deg, #d9eee4 0%, #f8fbf8 50%, #b9d8c7 100%);
}

.property-media.gold {
    background:
        linear-gradient(135deg, rgba(217, 141, 24, .16), rgba(217, 141, 24, .22)),
        linear-gradient(135deg, #f3dfbc 0%, #fffaf1 50%, #d8bd7d 100%);
}

.property-media.has-image {
    background: #dfe7ec;
}

.property-media.has-image::before,
.property-media.has-image::after {
    display: none;
}

.property-media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .5s var(--ease-out);
}

.property-card:hover .property-media img,
.property-row:hover .property-media img {
    transform: scale(1.04);
}

.property-media span {
    position: absolute;
    top: 14px;
    left: 14px;
    z-index: 1;
    padding: 7px 11px;
    border-radius: var(--radius);
    background: rgba(255, 255, 255, .94);
    color: var(--blue);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.property-body {
    padding: 22px;
}

.badge {
    display: inline-flex;
    margin-bottom: 10px;
    color: var(--coral);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .08em;
}

.property-body dl {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin: 18px 0;
}

.property-body dt {
    color: var(--muted);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.property-body dd {
    margin: 4px 0 0;
    color: var(--ink);
    font-weight: 700;
}

.price {
    color: var(--blue);
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 700;
    line-height: 1.1;
}

.details-link,
.back-link {
    display: inline-flex;
    margin-top: 14px;
    color: var(--coral);
    font-size: 13px;
    font-weight: 700;
    transition: color .18s ease, gap .18s ease;
}

.property-card:hover .details-link,
.back-link:hover {
    color: var(--blue);
}

.back-link {
    margin: 0 0 18px;
}

.empty-state {
    grid-column: 1 / -1;
    padding: 28px;
    border: 1px dashed var(--line);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, .6);
}

.workflow-section {
    border-top: 1px solid var(--line);
}

.steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    margin: 0;
    padding: 0;
    list-style: none;
    counter-reset: none;
    border-top: 1px solid var(--line);
}

.steps li {
    position: relative;
    min-height: 220px;
    padding: 32px 28px 32px 0;
    border: none;
    border-right: 1px solid var(--line);
    border-radius: 0;
    background: transparent;
    color: var(--ink);
    box-shadow: none;
    transition: transform .25s var(--ease-out);
}

.steps li:last-child {
    border-right: none;
    padding-right: 0;
}

.steps li:hover {
    transform: translateY(-4px);
}

.steps span {
    display: block;
    width: auto;
    height: auto;
    margin-bottom: 28px;
    place-items: unset;
    border-radius: 0;
    background: none;
    color: var(--coral);
    font-family: var(--font-display);
    font-size: 28px;
    font-weight: 800;
    letter-spacing: -.02em;
}

.steps p {
    margin-bottom: 0;
    color: var(--muted);
    font-size: 15px;
}

.listing-hero {
    width: min(1180px, calc(100% - 32px));
    margin: 48px auto 0;
    padding: 48px 0 40px;
    border-bottom: 1px solid var(--line);
}

.listing-hero h1 {
    max-width: 820px;
}

.listing-hero p {
    max-width: 700px;
    font-size: 18px;
}

.listing-toolbar {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 24px;
}

.listing-toolbar h2 {
    margin-bottom: 0;
}

.property-list {
    display: grid;
    gap: 18px;
}

.property-row {
    display: grid;
    grid-template-columns: 250px 1fr;
    overflow: hidden;
}

.property-row .property-media {
    height: 100%;
    min-height: 230px;
}

.property-row-body {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 220px;
    gap: 24px;
    padding: 26px;
}

.property-row-main p {
    margin-bottom: 0;
}

.property-specs {
    display: grid;
    grid-column: 1 / 2;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin: 10px 0 0;
}

.property-specs dt {
    color: var(--muted);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.property-specs dd {
    margin: 4px 0 0;
    color: var(--ink);
    font-weight: 700;
}

.property-row-side {
    display: flex;
    grid-column: 2 / 3;
    grid-row: 1 / 3;
    flex-direction: column;
    align-items: flex-end;
    justify-content: space-between;
    gap: 18px;
    text-align: right;
}

.trust-label {
    display: inline-flex;
    padding: 7px 10px;
    border-radius: var(--radius);
    background: var(--green-soft);
    color: var(--green);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.trust-label.pending {
    background: rgba(217, 141, 24, .12);
    color: #99620d;
}

.property-detail-hero,
.property-detail-layout {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
}

.property-detail-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 34px;
    align-items: end;
    padding: 68px 0 38px;
    border-bottom: 1px solid var(--line);
}

.property-detail-copy h1 {
    max-width: 780px;
}

.property-detail-copy p {
    max-width: 720px;
    font-size: 18px;
}

.property-summary-card,
.detail-panel {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #fff;
    box-shadow: none;
}

.property-summary-card {
    display: grid;
    gap: 14px;
    padding: 24px;
    border-top: 3px solid var(--coral);
}

.detail-price {
    color: var(--blue);
    font-family: var(--font-display);
    font-size: 30px;
    line-height: 1;
}

.property-detail-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 24px;
    padding: 42px 0 82px;
}

.property-detail-main,
.detail-sidebar {
    display: grid;
    align-content: start;
    gap: 20px;
}

.property-detail-media {
    min-height: 420px;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
}

.detail-panel {
    padding: 26px;
}

.detail-panel h2 {
    font-size: 28px;
}

.detail-panel.accent {
    background: linear-gradient(155deg, var(--navy), var(--navy-mid));
    color: #fff;
}

.detail-panel.accent p {
    color: rgba(255, 255, 255, .82);
}

.detail-panel.accent .button {
    width: 100%;
    background: var(--coral);
    color: #fff;
}

.detail-specs {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
    margin: 22px 0 0;
}

.detail-specs div {
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #fbfdfd;
}

.detail-specs dt {
    color: var(--muted);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.detail-specs dd {
    margin: 6px 0 0;
    color: var(--ink);
    font-size: 16px;
    font-weight: 700;
}

.check-list {
    display: grid;
    gap: 10px;
    margin: 16px 0 0;
    padding: 0;
    list-style: none;
}

.check-list li {
    padding-left: 18px;
    color: var(--muted);
    font-weight: 600;
    line-height: 1.5;
    position: relative;
}

.check-list li::before {
    content: "";
    position: absolute;
    top: 10px;
    left: 0;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--coral);
}

.site-footer {
    margin-top: 0;
    border-top: 1px solid transparent;
    background: var(--navy);
    color: #e8f0ee;
}

.site-footer .footer-title,
.site-footer .footer-logo strong,
.site-footer .footer-copy,
.site-footer .footer-list a,
.site-footer .footer-bottom p {
    color: rgba(232, 240, 238, .78);
}

.site-footer .footer-logo strong {
    color: #fff;
}

.site-footer .footer-logo small {
    color: rgba(232, 240, 238, .5);
}

.site-footer .footer-list a:hover {
    color: #fff;
}

.site-footer .brand-mark {
    background: linear-gradient(145deg, var(--blue), #2547d4);
}

.site-footer .social-links a {
    border-color: rgba(255, 255, 255, .14);
    background: rgba(255, 255, 255, .06);
    color: rgba(232, 240, 238, .8);
}

.site-footer .social-links a:hover {
    background: var(--coral);
    color: #fff;
}

.site-footer .footer-bottom {
    border-top-color: rgba(255, 255, 255, .1);
}

.footer-container {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
    padding: 64px 0 40px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.35fr repeat(3, 1fr);
    gap: 34px;
}

.footer-title {
    margin: 0 0 14px;
    font-family: var(--font-display);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.footer-logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
}

.footer-logo strong,
.footer-logo small {
    display: block;
    line-height: 1.1;
}

.footer-logo strong {
    font-family: var(--font-display);
}

.footer-logo small {
    margin-top: 3px;
    font-size: 12px;
}

.footer-copy {
    max-width: 340px;
    margin-bottom: 16px;
    font-size: 14px;
}

.social-links {
    display: flex;
    gap: 9px;
}

.social-links a {
    display: grid;
    width: 40px;
    height: 40px;
    place-items: center;
    border: 1px solid rgba(16, 35, 49, .08);
    border-radius: 50%;
    background: #fff;
    color: var(--muted);
    font-size: 12px;
    font-weight: 700;
    transition: .2s ease;
}

.social-links a:hover {
    transform: translateY(-2px);
    background: var(--blue);
    color: #fff;
}

.footer-list {
    display: grid;
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.footer-list a {
    color: var(--muted);
    font-size: 14px;
    font-weight: 600;
}

.footer-list a:hover {
    color: var(--blue);
}

.footer-bottom {
    border-top: 1px solid rgba(16, 35, 49, .1);
}

.footer-bottom p {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
    padding: 18px 0;
    font-size: 13px;
    text-align: center;
}

@keyframes hero-ken {
    from { transform: scale(1.06); }
    to { transform: scale(1); }
}

@keyframes rise-in {
    from {
        opacity: 0;
        transform: translateY(22px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (prefers-reduced-motion: reduce) {
    .hero-media img,
    .hero-content,
    .problem-grid article {
        animation: none;
    }

    .hero-media img {
        transform: none;
    }
}

@media (max-width: 980px) {
    .nav-container {
        align-items: flex-start;
        flex-direction: column;
        gap: 8px;
    }

    .nav-links {
        margin-left: 0;
    }

    .nav-actions {
        width: 100%;
    }

    .nav-actions .button {
        flex: 1;
    }

    .hero {
        min-height: min(88vh, 720px);
    }

    .hero-content {
        padding: 100px 0 56px;
    }

    .problem-band {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .feature-grid,
    .property-grid,
    .steps,
    .property-specs {
        grid-template-columns: repeat(2, 1fr);
    }

    .feature-grid article,
    .steps li {
        border-right: none;
        border-bottom: 1px solid var(--line);
        padding: 28px 16px 28px 0;
    }

    .feature-grid article:nth-child(odd),
    .steps li:nth-child(odd) {
        padding-right: 16px;
        border-right: 1px solid var(--line);
    }

    .feature-grid article:nth-last-child(-n+2),
    .steps li:nth-last-child(-n+2) {
        border-bottom: none;
    }

    .property-row,
    .property-row-body,
    .property-detail-hero,
    .property-detail-layout {
        grid-template-columns: 1fr;
    }

    .property-row-side {
        grid-column: auto;
        grid-row: auto;
        align-items: flex-start;
        text-align: left;
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 680px) {
    .nav-links {
        width: 100%;
        overflow-x: auto;
        padding-bottom: 4px;
    }

    .nav-actions {
        flex-direction: column;
    }

    .hero {
        min-height: 78vh;
    }

    .hero-content {
        padding: 88px 0 48px;
    }

    .hero h1 {
        max-width: none;
    }

    .hero-actions,
    .hero-actions .button {
        width: 100%;
    }

    .problem-grid,
    .feature-grid,
    .property-grid,
    .steps,
    .property-specs,
    .detail-specs {
        grid-template-columns: 1fr;
    }

    .feature-grid article,
    .feature-grid article:nth-child(odd),
    .steps li,
    .steps li:nth-child(odd) {
        border-right: none;
        border-bottom: 1px solid var(--line);
        padding: 24px 0;
    }

    .feature-grid article:last-child,
    .steps li:last-child {
        border-bottom: none;
    }

    .problem-band,
    .solution-section,
    .listing-section,
    .workflow-section,
    .listing-page-section {
        padding-top: 64px;
        padding-bottom: 64px;
    }

    .listing-toolbar {
        align-items: flex-start;
        flex-direction: column;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }
}
