:root {
    --bg: #f6f8fb;
    --surface: #ffffff;
    --surface-muted: #eef3f7;
    --text: #17202a;
    --muted: #617182;
    --primary: #0f7b6c;
    --primary-dark: #0a5d52;
    --border: #d9e2ea;
    --shadow: 0 12px 30px rgba(23, 32, 42, 0.08);
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    color: var(--text);
    background: var(--bg);
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.5;
}

a {
    color: var(--primary);
    text-decoration: none;
}

a:hover {
    color: var(--primary-dark);
}

.site-header,
.site-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem clamp(1rem, 4vw, 3rem);
    background: var(--surface);
    border-bottom: 1px solid var(--border);
}

.site-footer {
    justify-content: center;
    border-top: 1px solid var(--border);
    border-bottom: 0;
}

.brand {
    color: var(--text);
    font-weight: 700;
}

.main-nav,
.admin-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.hero {
    padding: clamp(3rem, 8vw, 6rem) clamp(1rem, 4vw, 3rem);
    background: linear-gradient(135deg, #e7f5f2 0%, #f7fbfc 52%, #ffffff 100%);
}

.neighborhood-hero {
    background: linear-gradient(135deg, #e7f5f2 0%, #ffffff 58%, #eef3f7 100%);
}

.company-hero {
    background-position: center;
    background-size: cover;
}

.content-hero {
    background: linear-gradient(135deg, #eef7fb 0%, #ffffff 60%, #e7f5f2 100%);
}

.banner-section {
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
}

.banner-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1rem;
}

.banner-card {
    overflow: hidden;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 8px;
}

.banner-card img {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 5;
    object-fit: cover;
}

.banner-card div {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.8rem 1rem;
}

.banner-card strong {
    text-align: right;
}

.paid-ad-section {
    width: min(970px, 100%);
    margin: 1.35rem auto 0;
}

.paid-ad-label {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.45rem;
    color: var(--muted);
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
}

.paid-ad-label::after {
    content: "";
    flex: 1;
    height: 1px;
    background: var(--border);
}

.paid-ad-slot {
    overflow: hidden;
    background: var(--surface);
    border: 1px solid var(--border);
    box-shadow: 0 10px 24px rgba(23, 32, 42, 0.08);
}

.paid-ad-carousel {
    position: relative;
    aspect-ratio: 970 / 250;
}

.paid-ad-carousel::after {
    position: absolute;
    inset: 0;
    content: "";
    pointer-events: none;
    background: radial-gradient(circle at center, rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0) 58%);
    opacity: 0;
    transform: scale(0.25);
}

.paid-ad-carousel.is-bursting::after {
    animation: ad-flash 680ms ease-out;
}

.paid-ad-slot a,
.paid-ad-slot img {
    display: block;
}

.paid-ad-slot img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.paid-ad-slide {
    position: absolute;
    inset: 0;
    z-index: 0;
    opacity: 0;
    pointer-events: none;
    transform: scale(0.9);
    clip-path: circle(0% at 50% 50%);
}

.paid-ad-slide.is-active {
    z-index: 2;
    opacity: 1;
    pointer-events: auto;
    transform: scale(1);
    clip-path: circle(145% at 50% 50%);
    animation: ad-burst-in 760ms cubic-bezier(0.16, 1, 0.3, 1);
}

.paid-ad-slide.is-leaving {
    z-index: 1;
    opacity: 0;
    transform: scale(1.12);
    clip-path: circle(145% at 50% 50%);
    animation: ad-burst-out 560ms ease-in;
}

.paid-ad-slide a {
    width: 100%;
    height: 100%;
}

.paid-ad-dots {
    position: absolute;
    right: 1rem;
    bottom: 0.8rem;
    z-index: 4;
    display: flex;
    gap: 0.4rem;
}

.paid-ad-dots button {
    width: 0.62rem;
    height: 0.62rem;
    border: 1px solid rgba(255, 255, 255, 0.85);
    padding: 0;
    background: rgba(23, 32, 42, 0.45);
    border-radius: 999px;
    cursor: pointer;
}

.paid-ad-dots button.is-active {
    width: 1.5rem;
    background: #ffffff;
}

@keyframes ad-burst-in {
    0% {
        opacity: 0;
        filter: brightness(1.18) saturate(1.25);
        transform: scale(0.72);
        clip-path: circle(0% at 50% 50%);
    }

    58% {
        opacity: 1;
        filter: brightness(1.08) saturate(1.08);
        transform: scale(1.045);
        clip-path: circle(78% at 50% 50%);
    }

    100% {
        opacity: 1;
        filter: none;
        transform: scale(1);
        clip-path: circle(145% at 50% 50%);
    }
}

@keyframes ad-burst-out {
    0% {
        opacity: 1;
        filter: none;
        transform: scale(1);
    }

    100% {
        opacity: 0;
        filter: blur(4px) brightness(1.16);
        transform: scale(1.14);
    }
}

@keyframes ad-flash {
    0% {
        opacity: 0;
        transform: scale(0.2);
    }

    35% {
        opacity: 0.7;
    }

    100% {
        opacity: 0;
        transform: scale(2.1);
    }
}

.section-highlighted {
    background: #f7fbfc;
}

.sponsored-card {
    border-color: rgba(15, 123, 108, 0.28);
    box-shadow: var(--shadow);
}

.sponsored-card .card-actions {
    align-items: center;
}

.sponsored-card .whatsapp-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    padding: 0.48rem 0.8rem;
    color: #178c47;
    background: rgba(37, 211, 102, 0.1);
    border: 1px solid rgba(37, 211, 102, 0.22);
    border-radius: 999px;
    box-shadow: none;
    font-size: 0.86rem;
    line-height: 1;
    white-space: nowrap;
}

.sponsored-card .whatsapp-cta:hover {
    color: #0f6f37;
    background: rgba(37, 211, 102, 0.16);
    border-color: rgba(37, 211, 102, 0.3);
}

.sponsored-card .whatsapp-cta-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.3rem;
    height: 1.3rem;
    flex: 0 0 1.3rem;
    color: #25d366;
}

.sponsored-card .whatsapp-cta-icon svg {
    display: block;
    width: 100%;
    height: 100%;
}

.sponsored-card .whatsapp-cta-icon svg path {
    fill: currentColor;
}

.hero-content,
.section,
.empty-state {
    width: min(1120px, 100%);
    margin: 0 auto;
}

.hero h1,
.empty-state h1,
.admin-page-header h1 {
    max-width: 760px;
    margin: 0 0 1rem;
    font-size: clamp(2rem, 6vw, 4rem);
    line-height: 1.05;
}

.hero p,
.section-heading p,
.empty-state p,
.admin-page-header p {
    max-width: 680px;
    color: var(--muted);
}

.notice {
    display: inline-block;
    padding: 0.65rem 0.85rem;
    color: #7a4b00;
    background: #fff2d5;
    border: 1px solid #f0c978;
    border-radius: 8px;
}

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

.eyebrow,
.card-label {
    margin: 0 0 0.5rem;
    color: var(--primary);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0;
    text-transform: uppercase;
}

.search-form {
    display: flex;
    max-width: 760px;
    margin-top: 2rem;
    padding: 0.4rem;
    background: var(--surface);
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
}

.search-form input {
    min-width: 0;
    flex: 1;
    border: 0;
    padding: 0.9rem 1rem;
    font: inherit;
}

.search-form select {
    min-width: 170px;
    border: 0;
    border-left: 1px solid var(--border);
    padding: 0.9rem 1rem;
    background: #ffffff;
    font: inherit;
}

.search-form-expanded {
    max-width: 980px;
    margin-right: auto;
    margin-left: auto;
}

.search-inline {
    margin-top: 1.5rem;
}

.public-filter-form {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.9rem;
    padding: 1rem;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.public-filter-form label {
    display: grid;
    gap: 0.35rem;
}

.public-filter-form span {
    font-weight: 700;
}

.public-filter-form input,
.public-filter-form select {
    width: 100%;
    min-width: 0;
    border: 1px solid var(--border);
    padding: 0.78rem 0.85rem;
    border-radius: 8px;
    background: #ffffff;
    font: inherit;
}

.public-filter-wide {
    grid-column: span 2;
}

.public-filter-checks,
.public-filter-actions {
    grid-column: span 2;
}

.public-filter-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1rem;
}

.public-filter-actions button {
    border: 0;
    padding: 0.78rem 1rem;
    color: #ffffff;
    background: var(--primary);
    border-radius: 8px;
    cursor: pointer;
    font: inherit;
    font-weight: 700;
}

.public-filter-actions button:hover {
    background: var(--primary-dark);
}

.public-filter-actions a {
    font-weight: 700;
}

.search-form button,
.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 0;
    padding: 0.9rem 1.2rem;
    color: #ffffff;
    background: var(--primary);
    font: inherit;
    font-weight: 700;
    cursor: pointer;
}

.button.secondary {
    color: var(--primary);
    background: var(--surface);
    border: 1px solid var(--border);
}

.button.secondary:hover {
    color: var(--primary-dark);
    background: var(--surface-muted);
}

.search-form button:hover,
.button:hover {
    color: #ffffff;
    background: var(--primary-dark);
}

.section {
    padding: clamp(2.5rem, 6vw, 4rem) clamp(1rem, 4vw, 3rem);
}

.section-muted {
    width: 100%;
    max-width: none;
    background: var(--surface-muted);
}

.section-muted > * {
    width: min(1120px, 100%);
    margin-right: auto;
    margin-left: auto;
}

.section-inner {
    width: min(1120px, 100%);
}

.section-heading {
    margin-bottom: 1.5rem;
}

.section-heading.with-action {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
}

.section-heading h2 {
    margin: 0 0 0.5rem;
    font-size: clamp(1.5rem, 4vw, 2.3rem);
}

.grid {
    display: grid;
    gap: 1rem;
}

.cards-grid {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.card,
.admin-card {
    min-height: 150px;
    padding: 1.25rem;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 8px;
}

.card h3,
.admin-card strong {
    display: block;
    margin: 0.25rem 0 0.75rem;
    font-size: 1.25rem;
}

.company-card p {
    color: var(--muted);
}

.category-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.category-list span {
    padding: 0.65rem 0.9rem;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 999px;
    font-weight: 700;
}

.category-list-rich a {
    display: inline-grid;
    gap: 0.15rem;
    padding: 0.75rem 0.95rem;
    color: var(--text);
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 8px;
}

.category-list-rich a:hover {
    border-color: rgba(15, 123, 108, 0.45);
}

.category-list-rich span {
    padding: 0;
    color: var(--muted);
    border: 0;
    font-size: 0.9rem;
    font-weight: 400;
}

.hero-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1.5rem;
}

.hero-stats div {
    min-width: 130px;
    padding: 0.9rem 1rem;
    background: rgba(255, 255, 255, 0.78);
    border: 1px solid var(--border);
    border-radius: 8px;
}

.hero-stats strong {
    display: block;
    font-size: 1.45rem;
}

.hero-stats span {
    color: var(--muted);
}

.hero-stats-compact {
    align-items: center;
    gap: 0;
    width: min(520px, 100%);
    margin: 1rem auto 0;
    padding: 0.55rem 0;
    border-top: 1px solid rgba(217, 226, 234, 0.9);
    border-bottom: 1px solid rgba(217, 226, 234, 0.9);
}

.hero-stats-compact div {
    display: inline-flex;
    min-width: 0;
    align-items: baseline;
    gap: 0.35rem;
    padding: 0 0.85rem;
    background: transparent;
    border: 0;
    border-right: 1px solid var(--border);
    border-radius: 0;
}

.hero-stats-compact div:first-child {
    padding-left: 0;
}

.hero-stats-compact div:last-child {
    padding-right: 0;
    border-right: 0;
}

.hero-stats-compact strong {
    display: inline;
    font-size: 1rem;
}

.hero-stats-compact span {
    font-size: 0.92rem;
}

.company-hero-content {
    display: grid;
    gap: 1.25rem;
}

.company-title-wrap {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.company-logo {
    width: 92px;
    height: 92px;
    object-fit: cover;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 8px;
}

.company-badges,
.company-actions,
.social-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
}

.company-badges span {
    padding: 0.35rem 0.6rem;
    color: #0a5d52;
    background: #dff5ee;
    border: 1px solid #9ddfcf;
    border-radius: 999px;
    font-size: 0.84rem;
    font-weight: 700;
}

.company-badges.compact {
    justify-content: flex-end;
    gap: 0.35rem;
}

.company-badges.compact span {
    padding: 0.25rem 0.45rem;
    font-size: 0.76rem;
}

.company-page {
    width: min(1200px, 100%);
}

.company-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 1.25rem;
    align-items: start;
}

.company-main,
.company-sidebar,
.related-list {
    display: grid;
    gap: 1rem;
}

.company-panel {
    padding: 1.25rem;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 8px;
}

.company-panel h2 {
    margin: 0 0 0.75rem;
    font-size: 1.3rem;
}

.company-panel p {
    color: var(--muted);
}

.contact-list {
    display: grid;
    gap: 0.8rem;
    margin: 0;
}

.contact-list div {
    display: grid;
    gap: 0.15rem;
}

.contact-list dt {
    color: var(--muted);
    font-size: 0.82rem;
    font-weight: 700;
    text-transform: uppercase;
}

.contact-list dd {
    margin: 0;
    overflow-wrap: anywhere;
    font-weight: 700;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 0.85rem;
}

.gallery-grid figure {
    margin: 0;
}

.gallery-grid img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: 8px;
}

.gallery-grid figcaption {
    margin-top: 0.35rem;
    color: var(--muted);
    font-size: 0.9rem;
}

.hours-list {
    display: grid;
    gap: 0.55rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.hours-list li {
    display: flex;
    justify-content: space-between;
    gap: 0.75rem;
    padding-bottom: 0.55rem;
    border-bottom: 1px solid var(--border);
}

.hours-list li:last-child {
    padding-bottom: 0;
    border-bottom: 0;
}

.hours-list span {
    color: var(--muted);
}

.related-list article {
    padding: 1rem;
    background: var(--surface-muted);
    border: 1px solid var(--border);
    border-radius: 8px;
}

.related-list h3 {
    margin: 0.2rem 0 0.5rem;
}

.social-list a {
    padding: 0.55rem 0.7rem;
    background: var(--surface-muted);
    border: 1px solid var(--border);
    border-radius: 8px;
    font-weight: 700;
}

.full-width {
    width: 100%;
}

.search-results-grid {
    align-items: stretch;
}

.search-company-card {
    display: flex;
    flex-direction: column;
}

.search-company-card .card-actions {
    margin-top: auto;
}

.neighborhood-card p {
    color: var(--muted);
}

.card-topline {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
}

.mini-badge {
    padding: 0.3rem 0.45rem;
    color: #0a5d52;
    background: #dff5ee;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 700;
}

.card-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1rem;
}

.card-actions a {
    font-weight: 700;
}

.public-empty {
    padding: 1.25rem;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 8px;
}

.public-empty.compact {
    min-height: 180px;
}

.public-empty h3 {
    margin: 0 0 0.45rem;
}

.public-empty p {
    max-width: 620px;
    color: var(--muted);
}

.section-split {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.25rem;
}

.stack-list {
    display: grid;
    gap: 1rem;
}

.stack-list article {
    padding: 1rem;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 8px;
}

.stack-list h3 {
    margin: 0 0 0.4rem;
}

.stack-list p {
    color: var(--muted);
}

.content-list-grid {
    display: grid;
    gap: 1rem;
}

.content-card {
    display: grid;
    grid-template-columns: 220px minmax(0, 1fr);
    gap: 1rem;
    align-items: start;
    padding: 1rem;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 8px;
}

.content-card img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: 8px;
}

.content-card h3 {
    margin: 0.2rem 0 0.45rem;
    font-size: 1.3rem;
}

.content-card p,
.article-header p {
    color: var(--muted);
}

.content-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin: 0.7rem 0;
    color: var(--muted);
    font-size: 0.92rem;
}

.content-meta span {
    padding: 0.25rem 0.45rem;
    background: var(--surface-muted);
    border-radius: 8px;
}

.article-page {
    max-width: 900px;
}

.article-header h1 {
    max-width: 820px;
    margin: 0 0 1rem;
    font-size: clamp(2rem, 5vw, 3.4rem);
    line-height: 1.08;
}

.article-image {
    width: 100%;
    max-height: 460px;
    object-fit: cover;
    margin: 1.5rem 0;
    border-radius: 8px;
}

.article-body {
    padding: 1.25rem;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 8px;
    font-size: 1.05rem;
    line-height: 1.75;
}

.article-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1.25rem;
}

.announce-band {
    display: grid;
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
    gap: 1.25rem;
    align-items: start;
    color: #ffffff;
    background: #111827;
}

.announce-band .eyebrow,
.announce-band p {
    color: #c9d4e5;
}

.announce-band h2 {
    margin: 0 0 0.75rem;
    font-size: clamp(1.7rem, 4vw, 2.6rem);
}

.plan-strip {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.9rem;
}

.plan-strip article {
    padding: 1rem;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 8px;
}

.plan-strip strong,
.plan-strip span {
    display: block;
}

.plan-strip span {
    margin: 0.35rem 0;
    color: #ffffff;
    font-weight: 700;
}

.plan-card strong {
    display: block;
    margin: 0.5rem 0;
    font-size: 1.2rem;
}

.plan-intro-meta {
    margin-top: 1rem;
}

.plan-card {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.plan-card h2 {
    margin: 0;
    font-size: 1.55rem;
}

.plan-card-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
}

.plan-card.is-featured {
    border-color: rgba(21, 128, 61, 0.22);
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.08);
}

.plan-badge {
    padding: 0.35rem 0.65rem;
    color: #0f172a;
    background: rgba(16, 185, 129, 0.18);
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 700;
}

.plan-summary,
.plan-fit,
.plan-note p {
    margin: 0;
    color: var(--muted);
}

.plan-fit {
    font-size: 0.95rem;
}

.plan-card .button {
    margin-top: auto;
    align-self: flex-start;
}

.plan-note strong {
    display: block;
    margin-bottom: 0.55rem;
    font-size: 1.05rem;
}

.empty-state {
    min-height: 58vh;
    padding: clamp(3rem, 8vw, 6rem) clamp(1rem, 4vw, 3rem);
}

.admin-body {
    display: grid;
    min-height: 100vh;
    grid-template-columns: 260px 1fr;
}

.admin-sidebar {
    padding: 1.25rem;
    background: #111827;
    color: #ffffff;
}

.admin-sidebar a {
    color: #ffffff;
}

.admin-brand {
    display: block;
    margin-bottom: 2rem;
}

.admin-user {
    display: grid;
    gap: 0.15rem;
    margin-bottom: 1.5rem;
    padding: 0.9rem;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 8px;
}

.admin-user span {
    color: #c9d4e5;
    font-size: 0.9rem;
}

.admin-nav {
    flex-direction: column;
    gap: 0.35rem;
}

.admin-nav a {
    padding: 0.55rem 0.7rem;
    border-radius: 8px;
}

.admin-nav a:hover,
.admin-nav a.active {
    background: rgba(255, 255, 255, 0.1);
}

.admin-nav-section {
    margin-top: 0.75rem;
    color: #91a2b8;
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0;
    text-transform: uppercase;
}

.logout-form {
    margin-top: 2rem;
}

.logout-form button {
    width: 100%;
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 0.7rem 0.9rem;
    color: #ffffff;
    background: transparent;
    border-radius: 8px;
    cursor: pointer;
    font: inherit;
    text-align: left;
}

.logout-form button:hover {
    background: rgba(255, 255, 255, 0.08);
}

.admin-main {
    padding: clamp(1.5rem, 4vw, 3rem);
}

.admin-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1rem;
    margin-top: 1.5rem;
}

.admin-section {
    margin-top: 2rem;
}

.admin-section-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.25rem;
}

.admin-section-heading h2,
.module-group h3 {
    margin: 0;
}

.admin-section-heading span {
    color: var(--muted);
    font-weight: 700;
}

.admin-section h2 {
    margin: 0 0 1rem;
}

.module-group {
    margin-top: 1.5rem;
}

.module-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1rem;
    margin-top: 0.85rem;
}

.module-card {
    display: grid;
    min-height: 170px;
    align-content: start;
    gap: 0.55rem;
    padding: 1.15rem;
    color: var(--text);
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 8px;
}

.module-card:hover {
    color: var(--text);
    border-color: rgba(15, 123, 108, 0.45);
    box-shadow: var(--shadow);
}

.module-card span {
    font-weight: 700;
}

.module-card p {
    margin: 0;
    color: var(--muted);
}

.module-card strong {
    margin-top: auto;
    color: var(--primary);
}

.admin-empty {
    margin-top: 2rem;
    padding: 1.25rem;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 8px;
}

.admin-empty h2 {
    margin: 0 0 0.5rem;
}

.admin-empty p {
    max-width: 760px;
    color: var(--muted);
}

.admin-empty.in-panel {
    margin-top: 0;
}

.page-title-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
}

.admin-panel {
    margin-top: 1.25rem;
    padding: 1.25rem;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 8px;
}

.flash {
    margin-top: 1rem;
    padding: 0.8rem 1rem;
    border-radius: 8px;
    font-weight: 700;
}

.flash-success {
    color: #0a5d52;
    background: #dff5ee;
    border: 1px solid #9ddfcf;
}

.flash-error {
    color: #8a1f11;
    background: #ffe4df;
    border: 1px solid #ffc3b8;
}

.filter-form {
    display: grid;
    grid-template-columns: minmax(220px, 1fr) 160px 130px auto auto;
    align-items: end;
    gap: 0.9rem;
}

.filter-form.wide {
    grid-template-columns: minmax(220px, 1fr) 140px 170px 170px 130px auto auto;
}

.filter-form label,
.resource-form label {
    display: grid;
    gap: 0.35rem;
}

.filter-form span,
.resource-form span {
    font-weight: 700;
}

.filter-form input,
.filter-form select,
.resource-form input,
.resource-form select,
.resource-form textarea {
    width: 100%;
    border: 1px solid var(--border);
    padding: 0.75rem 0.85rem;
    border-radius: 8px;
    font: inherit;
}

.filter-form button,
.resource-form button {
    border: 0;
    padding: 0.78rem 1rem;
    color: #ffffff;
    background: var(--primary);
    border-radius: 8px;
    cursor: pointer;
    font: inherit;
    font-weight: 700;
}

.filter-form button:hover,
.resource-form button:hover {
    background: var(--primary-dark);
}

.filter-form a {
    padding: 0.78rem 0;
    font-weight: 700;
}

.table-wrap {
    overflow-x: auto;
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 760px;
}

.admin-table th,
.admin-table td {
    padding: 0.9rem;
    border-bottom: 1px solid var(--border);
    text-align: left;
    vertical-align: top;
}

.admin-table th {
    color: var(--muted);
    font-size: 0.84rem;
    text-transform: uppercase;
}

.admin-table td span {
    display: block;
    color: var(--muted);
}

.status-pill {
    display: inline-flex;
    padding: 0.35rem 0.55rem;
    border-radius: 999px;
    font-size: 0.84rem;
    font-weight: 700;
}

.status-ativo {
    color: #0a5d52;
    background: #dff5ee;
}

.status-inativo {
    color: #5b6370;
    background: #e6ebf1;
}

.status-pendente {
    color: #7a4b00;
    background: #fff2d5;
}

.status-rascunho,
.status-arquivada,
.status-rejeitado,
.status-expirado {
    color: #5b6370;
    background: #e6ebf1;
}

.status-publicada,
.status-aprovado {
    color: #0a5d52;
    background: #dff5ee;
}

.status-bloqueado {
    color: #8a1f11;
    background: #ffe4df;
}

.row-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem;
}

.row-actions form {
    margin: 0;
}

.row-actions button {
    border: 0;
    padding: 0;
    color: #8a1f11;
    background: transparent;
    cursor: pointer;
    font: inherit;
    font-weight: 700;
}

.resource-form {
    display: grid;
    gap: 1rem;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.form-grid.three {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.resource-form small {
    color: #8a1f11;
    font-weight: 700;
}

.checkbox-row {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    padding: 0.8rem;
    background: var(--surface-muted);
    border: 1px solid var(--border);
    border-radius: 8px;
}

.checkbox-row label {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    font-weight: 700;
}

.checkbox-row input {
    width: auto;
}

.form-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1rem;
    padding-top: 0.5rem;
}

.pagination {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border);
}

.pagination-summary {
    color: var(--muted);
    font-weight: 700;
}

.pagination-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}

.pagination-links a,
.pagination-links span {
    display: inline-flex;
    min-width: 2.4rem;
    min-height: 2.4rem;
    align-items: center;
    justify-content: center;
    padding: 0.45rem 0.7rem;
    border: 1px solid var(--border);
    border-radius: 8px;
    font-weight: 700;
}

.pagination-links span {
    color: var(--muted);
    background: var(--surface-muted);
}

.pagination-links span.active {
    color: #ffffff;
    background: var(--primary);
    border-color: var(--primary);
}

.admin-card.compact {
    min-height: 110px;
}

.admin-card span {
    color: var(--muted);
}

.metrics-summary {
    margin-top: 1.25rem;
}

.admin-stack-list article {
    background: var(--surface-muted);
}

.status-ok,
.status-error {
    display: inline-flex;
    margin-top: 0.5rem;
    padding: 0.5rem 0.75rem;
    border-radius: 8px;
    font-weight: 700;
}

.status-ok {
    color: #0a5d52;
    background: #dff5ee;
}

.status-error {
    color: #8a1f11;
    background: #ffe4df;
}

.auth-body {
    display: grid;
    min-height: 100vh;
    place-items: center;
    padding: 1rem;
    background: linear-gradient(135deg, #e7f5f2 0%, #f6f8fb 100%);
}

.auth-shell {
    width: min(440px, 100%);
}

.login-panel {
    display: grid;
    gap: 1.3rem;
    padding: clamp(1.5rem, 5vw, 2.25rem);
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.login-panel h1 {
    margin: 0 0 0.5rem;
    font-size: 2rem;
    line-height: 1.1;
}

.login-panel p {
    margin: 0;
    color: var(--muted);
}

.admin-form {
    display: grid;
    gap: 0.7rem;
}

.admin-form label {
    font-weight: 700;
}

.admin-form input {
    width: 100%;
    border: 1px solid var(--border);
    padding: 0.85rem 0.95rem;
    border-radius: 8px;
    font: inherit;
}

.admin-form input:focus {
    border-color: var(--primary);
    outline: 3px solid rgba(15, 123, 108, 0.14);
}

.admin-form button {
    border: 0;
    margin-top: 0.4rem;
    padding: 0.9rem 1rem;
    color: #ffffff;
    background: var(--primary);
    border-radius: 8px;
    cursor: pointer;
    font: inherit;
    font-weight: 700;
}

.admin-form button:hover {
    background: var(--primary-dark);
}

.form-error {
    padding: 0.75rem 0.9rem;
    color: #8a1f11;
    background: #ffe4df;
    border: 1px solid #ffc3b8;
    border-radius: 8px;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

@media (max-width: 720px) {
    .site-header {
        align-items: flex-start;
        flex-direction: column;
    }

    .search-form {
        flex-direction: column;
    }

    .search-form select {
        width: 100%;
        border-top: 1px solid var(--border);
        border-left: 0;
    }

    .admin-body {
        grid-template-columns: 1fr;
    }

    .admin-sidebar {
        position: static;
    }

    .page-title-row,
    .filter-form,
    .public-filter-form,
    .form-grid,
    .form-grid.three,
    .pagination {
        grid-template-columns: 1fr;
    }

    .page-title-row {
        display: grid;
    }

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

    .section-split,
    .announce-band,
    .plan-strip,
    .company-layout,
    .content-card {
        grid-template-columns: 1fr;
    }

    .section-heading.with-action {
        display: grid;
    }

    .company-title-wrap {
        align-items: flex-start;
        flex-direction: column;
    }

    .public-filter-wide,
    .public-filter-checks,
    .public-filter-actions {
        grid-column: span 1;
    }

    .company-badges.compact {
        justify-content: flex-start;
    }
}

@media (prefers-reduced-motion: reduce) {
    .paid-ad-carousel.is-bursting::after,
    .paid-ad-slide.is-active,
    .paid-ad-slide.is-leaving {
        animation: none;
    }

    .paid-ad-slide {
        transition: opacity 180ms ease;
    }
}

:root {
    --bg: #f4f4ef;
    --surface: rgba(255, 255, 255, 0.94);
    --surface-muted: #edf1ed;
    --surface-strong: #ffffff;
    --text: #15212d;
    --muted: #5e6d79;
    --primary: #0f766a;
    --primary-dark: #0a4f48;
    --accent: #bb955e;
    --border: rgba(21, 33, 45, 0.1);
    --border-strong: rgba(21, 33, 45, 0.18);
    --shadow: 0 28px 64px rgba(20, 29, 39, 0.1);
    --shadow-soft: 0 16px 32px rgba(20, 29, 39, 0.07);
    --radius-lg: 30px;
    --radius-md: 22px;
    --radius-sm: 16px;
}

html {
    scroll-behavior: smooth;
}

body {
    color: var(--text);
    background:
        radial-gradient(circle at top left, rgba(15, 118, 106, 0.08), transparent 28%),
        radial-gradient(circle at top right, rgba(187, 149, 94, 0.08), transparent 24%),
        linear-gradient(180deg, #f7f5f0 0%, #f5f6f2 38%, #f2f4ef 100%);
    font-family: "Aptos", "Segoe UI", "Trebuchet MS", sans-serif;
}

h1,
h2,
h3,
.brand {
    font-family: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Georgia, serif;
    letter-spacing: -0.04em;
}

a,
button,
input,
select,
textarea {
    transition:
        color 180ms ease,
        background-color 180ms ease,
        border-color 180ms ease,
        box-shadow 180ms ease,
        transform 180ms ease;
}

.site-header,
.site-footer {
    padding: 1rem clamp(1rem, 4vw, 3rem);
    background: rgba(247, 245, 240, 0.82);
    backdrop-filter: blur(18px);
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 30;
    border-bottom: 1px solid rgba(21, 33, 45, 0.08);
}

.site-header-shell,
.site-footer-shell {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    width: min(1180px, 100%);
    margin: 0 auto;
}

.site-footer-shell {
    justify-content: center;
}

.brand {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 0.85rem;
    color: var(--text);
    font-size: 1.12rem;
    font-weight: 700;
}

.brand::before {
    width: 2.35rem;
    height: 2.35rem;
    content: "";
    border-radius: 0.9rem;
    background:
        linear-gradient(145deg, rgba(187, 149, 94, 0.92), rgba(15, 118, 106, 0.9)),
        #0f766a;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35);
}

.main-nav {
    gap: 0.45rem;
}

.main-nav a {
    padding: 0.72rem 1rem;
    color: var(--muted);
    border-radius: 999px;
    font-weight: 700;
}

.main-nav a:hover {
    color: var(--text);
    background: rgba(255, 255, 255, 0.72);
}

.hero {
    position: relative;
    overflow: clip;
    padding: clamp(3rem, 8vw, 6rem) clamp(1rem, 4vw, 3rem);
    background:
        radial-gradient(circle at top left, rgba(15, 118, 106, 0.12), transparent 32%),
        radial-gradient(circle at 85% 20%, rgba(187, 149, 94, 0.16), transparent 24%),
        linear-gradient(135deg, #eef6f2 0%, #fbfaf7 48%, #f4f5f1 100%);
}

.hero-home::before,
.hero-home::after {
    position: absolute;
    content: "";
    pointer-events: none;
    border-radius: 999px;
    filter: blur(16px);
}

.hero-home::before {
    top: 4rem;
    right: -5rem;
    width: 17rem;
    height: 17rem;
    background: rgba(187, 149, 94, 0.12);
}

.hero-home::after {
    bottom: 2rem;
    left: -4rem;
    width: 15rem;
    height: 15rem;
    background: rgba(15, 118, 106, 0.08);
}

.hero-home-content {
    display: grid;
    grid-template-columns: minmax(0, 1.12fr) minmax(320px, 0.88fr);
    gap: 1.5rem;
    align-items: end;
}

.hero-copy,
.hero-premium-card,
.hero-banner-wrap {
    position: relative;
    z-index: 1;
    animation: hero-rise 700ms cubic-bezier(0.22, 1, 0.36, 1);
}

.hero-copy {
    max-width: 700px;
}

.hero h1,
.empty-state h1,
.admin-page-header h1 {
    max-width: 880px;
    margin: 0 0 1.1rem;
    font-size: clamp(3.1rem, 6vw, 5.35rem);
    line-height: 0.94;
}

.hero h1 span {
    color: var(--primary-dark);
}

.hero p,
.section-heading p,
.empty-state p,
.admin-page-header p {
    font-size: 1.04rem;
    line-height: 1.75;
}

.eyebrow,
.card-label {
    color: var(--accent);
    letter-spacing: 0.12em;
}

.hero-trust {
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem;
    margin-top: 1.5rem;
}

.hero-trust span,
.hero-market-tags a {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.68rem 0.95rem;
    color: var(--text);
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(255, 255, 255, 0.78);
    border-radius: 999px;
    box-shadow: 0 10px 24px rgba(20, 29, 39, 0.06);
    font-size: 0.92rem;
    font-weight: 700;
}

.hero-trust span::before {
    width: 0.45rem;
    height: 0.45rem;
    content: "";
    border-radius: 999px;
    background: linear-gradient(135deg, var(--accent), var(--primary));
}

.search-form {
    margin-top: 2rem;
    padding: 0.5rem;
    background: rgba(255, 255, 255, 0.82);
    border: 1px solid rgba(255, 255, 255, 0.92);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    backdrop-filter: blur(20px);
}

.search-form input,
.search-form select {
    color: var(--text);
    background: transparent;
}

.search-form input::placeholder {
    color: #6e7b87;
}

.search-form input:focus,
.search-form select:focus,
.public-filter-form input:focus,
.public-filter-form select:focus,
.filter-form input:focus,
.filter-form select:focus,
.resource-form input:focus,
.resource-form select:focus,
.resource-form textarea:focus,
.admin-form input:focus {
    outline: none;
    border-color: rgba(15, 118, 106, 0.28);
    box-shadow: 0 0 0 4px rgba(15, 118, 106, 0.1);
}

.search-form-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.65fr) repeat(2, minmax(170px, 0.8fr)) auto;
    align-items: center;
    width: 100%;
    max-width: 100%;
    margin-right: 0;
    margin-left: 0;
}

.search-form-hero input,
.search-form-hero select {
    min-height: 4.2rem;
}

.search-form-hero button {
    min-height: 4rem;
    margin-left: 0.35rem;
}

.hero-cta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
    margin-top: 1rem;
}

.search-form button,
.button {
    border-radius: 1.1rem;
    background: linear-gradient(135deg, var(--primary) 0%, #14907f 100%);
    box-shadow: 0 14px 28px rgba(15, 118, 106, 0.24);
}

.search-form button:hover,
.button:hover {
    background: linear-gradient(135deg, #0c6258 0%, #127364 100%);
    transform: translateY(-1px);
}

.button.secondary {
    color: var(--text);
    background: rgba(255, 255, 255, 0.78);
    border: 1px solid rgba(21, 33, 45, 0.1);
    box-shadow: none;
}

.button.secondary:hover {
    color: var(--text);
    background: #ffffff;
}

.hero-aside {
    align-self: stretch;
}

.hero-premium-card {
    display: grid;
    gap: 1.25rem;
    height: 100%;
    padding: clamp(1.5rem, 3vw, 2rem);
    color: #ffffff;
    background:
        radial-gradient(circle at top right, rgba(187, 149, 94, 0.28), transparent 34%),
        linear-gradient(165deg, rgba(18, 28, 43, 0.98) 0%, rgba(12, 73, 67, 0.96) 100%);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 2rem;
    box-shadow: 0 38px 72px rgba(10, 22, 35, 0.22);
    overflow: hidden;
}

.hero-premium-card::after {
    position: absolute;
    inset: auto -3rem -4rem auto;
    width: 12rem;
    height: 12rem;
    content: "";
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    filter: blur(8px);
}

.hero-premium-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.hero-premium-head .eyebrow {
    margin-bottom: 0;
    color: rgba(255, 236, 210, 0.9);
}

.hero-status {
    display: inline-flex;
    align-items: center;
    padding: 0.42rem 0.72rem;
    color: #fff4e5;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 999px;
    font-size: 0.82rem;
    font-weight: 700;
}

.hero-premium-card h2 {
    margin: 0;
    color: #ffffff;
    font-size: clamp(1.6rem, 3vw, 2.4rem);
    line-height: 1.08;
}

.hero-stat-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.85rem;
}

.hero-stat-grid article {
    padding: 1rem;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 1.2rem;
    backdrop-filter: blur(12px);
}

.hero-stat-grid strong {
    display: block;
    margin-bottom: 0.25rem;
    font-size: 1.7rem;
    font-weight: 700;
}

.hero-stat-grid span {
    color: rgba(230, 237, 245, 0.82);
    font-size: 0.92rem;
}

.hero-market-list {
    display: grid;
    gap: 0.75rem;
    padding-top: 0.25rem;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.hero-market-label {
    color: rgba(230, 237, 245, 0.76);
    font-size: 0.84rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.hero-market-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem;
}

.hero-market-tags a {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.12);
    box-shadow: none;
}

.hero-market-tags a:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.14);
}

.hero-banner-wrap {
    grid-column: 1 / -1;
    margin-top: 0.3rem;
}

.paid-ad-section {
    width: 100%;
    margin-top: 0;
}

.paid-ad-label {
    margin-bottom: 0.7rem;
    color: var(--accent);
    letter-spacing: 0.12em;
}

.paid-ad-label::after {
    background: linear-gradient(90deg, rgba(187, 149, 94, 0.22), rgba(21, 33, 45, 0.08));
}

.paid-ad-slot {
    border-color: rgba(255, 255, 255, 0.72);
    border-radius: 2rem;
    box-shadow: var(--shadow);
}

.paid-ad-carousel {
    overflow: hidden;
}

.paid-ad-dots {
    right: 1.3rem;
    bottom: 1.1rem;
}

.paid-ad-dots button {
    background: rgba(21, 33, 45, 0.38);
    backdrop-filter: blur(6px);
}

.paid-ad-dots button.is-active {
    background: linear-gradient(135deg, var(--accent), #f8e3b8);
    border-color: rgba(248, 227, 184, 0.95);
}

.section {
    padding: clamp(2.75rem, 6vw, 4.5rem) clamp(1rem, 4vw, 3rem);
}

.section-highlighted {
    margin-top: 0.5rem;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.8), rgba(237, 241, 237, 0.84));
    border: 1px solid rgba(255, 255, 255, 0.72);
    border-radius: 2rem;
    box-shadow: var(--shadow-soft);
}

.section-muted {
    background:
        linear-gradient(180deg, rgba(232, 238, 235, 0.7), rgba(244, 247, 243, 0.94)),
        var(--surface-muted);
    border-top: 1px solid rgba(255, 255, 255, 0.6);
    border-bottom: 1px solid rgba(255, 255, 255, 0.6);
}

.section-heading {
    margin-bottom: 1.9rem;
}

.section-heading h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1.02;
}

.section-heading p {
    max-width: 760px;
}

.card,
.admin-card,
.banner-card,
.public-empty,
.stack-list article,
.content-card,
.company-panel,
.admin-panel,
.login-panel,
.module-card {
    background: var(--surface);
    border: 1px solid rgba(255, 255, 255, 0.72);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-soft);
    backdrop-filter: blur(14px);
}

.card,
.banner-card,
.stack-list article,
.content-card,
.company-panel,
.module-card {
    transition:
        transform 220ms ease,
        box-shadow 220ms ease,
        border-color 220ms ease;
}

.card:hover,
.banner-card:hover,
.stack-list article:hover,
.content-card:hover,
.company-panel:hover,
.module-card:hover {
    transform: translateY(-4px);
    border-color: rgba(15, 118, 106, 0.16);
    box-shadow: 0 24px 48px rgba(20, 29, 39, 0.1);
}

.company-card p,
.neighborhood-card p,
.stack-list p,
.public-empty p,
.content-card p,
.article-header p {
    color: var(--muted);
}

.mini-badge,
.company-badges span {
    color: #734d1e;
    background: rgba(244, 221, 184, 0.7);
    border: 1px solid rgba(187, 149, 94, 0.28);
}

.card-actions a,
.stack-list a,
.category-list-rich a,
.social-list a {
    font-weight: 700;
}

.card-actions a:hover,
.stack-list a:hover {
    color: var(--primary-dark);
}

.category-list-rich a {
    gap: 0.4rem;
    padding: 1rem 1.05rem;
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.78);
    border-radius: 1.15rem;
    box-shadow: 0 14px 24px rgba(20, 29, 39, 0.05);
}

.category-list-rich a:hover {
    transform: translateY(-2px);
    border-color: rgba(15, 118, 106, 0.24);
    box-shadow: 0 22px 36px rgba(20, 29, 39, 0.08);
}

.announce-band {
    position: relative;
    overflow: hidden;
    gap: 1.5rem;
    background:
        radial-gradient(circle at top right, rgba(187, 149, 94, 0.25), transparent 28%),
        linear-gradient(140deg, #112130 0%, #102d39 50%, #0d5d55 100%);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 2rem;
    box-shadow: 0 34px 64px rgba(10, 22, 35, 0.16);
}

.announce-band::before {
    position: absolute;
    inset: auto -3rem -4rem auto;
    width: 13rem;
    height: 13rem;
    content: "";
    background: rgba(255, 255, 255, 0.06);
    border-radius: 999px;
}

.announce-band h2 {
    max-width: 520px;
}

.plan-strip article {
    padding: 1.15rem;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 1.25rem;
}

.site-footer {
    margin-top: 2rem;
    color: var(--muted);
    border-top: 1px solid rgba(21, 33, 45, 0.08);
}

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

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 1080px) {
    .hero-home-content {
        grid-template-columns: 1fr;
    }

    .hero-copy {
        max-width: none;
    }

    .search-form-hero {
        grid-template-columns: minmax(0, 1fr) repeat(2, minmax(0, 1fr));
    }

    .search-form-hero button {
        grid-column: 1 / -1;
        margin-left: 0;
    }
}

@media (max-width: 720px) {
    .site-header,
    .site-footer {
        padding-right: 1rem;
        padding-left: 1rem;
    }

    .site-header-shell {
        align-items: flex-start;
        flex-direction: column;
    }

    .main-nav {
        width: 100%;
    }

    .hero {
        padding-right: 1rem;
        padding-left: 1rem;
    }

    .hero h1,
    .empty-state h1,
    .admin-page-header h1 {
        font-size: clamp(2.55rem, 12vw, 3.6rem);
        line-height: 0.98;
    }

    .search-form-hero {
        grid-template-columns: 1fr;
    }

    .search-form-hero select {
        border-left: 0;
    }

    .hero-cta-row {
        display: grid;
        grid-template-columns: 1fr;
    }

    .hero-stat-grid {
        grid-template-columns: 1fr;
    }

    .paid-ad-slot {
        border-radius: 1.4rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .hero-copy,
    .hero-premium-card,
    .hero-banner-wrap {
        animation: none;
    }
}

.site-header {
    background: rgba(6, 22, 34, 0.94);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.site-header-shell {
    width: min(1280px, calc(100vw - 2rem));
}

.brand,
.main-nav a {
    color: #ffffff;
}

.main-nav a:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.08);
}

.hero-home {
    padding-top: 1rem;
    background: linear-gradient(180deg, #071c2a 0%, #0d2432 30%, #f3f5f0 30.1%, #f3f5f0 100%);
}

.hero-home::before,
.hero-home::after {
    display: none;
}

.hero-home .hero-content {
    width: min(1280px, calc(100vw - 2rem));
}

.hero-home-content {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 1rem;
    align-items: stretch;
}

.hero-stage-single {
    position: relative;
    width: 100%;
    min-height: clamp(420px, 58vh, 560px);
    padding: clamp(1.6rem, 3.2vw, 2.5rem);
    background:
        linear-gradient(0deg, rgba(5, 18, 28, 0.64), rgba(5, 18, 28, 0.56)),
        radial-gradient(circle at 50% 15%, rgba(24, 144, 129, 0.14), transparent 24%),
        linear-gradient(135deg, #173749 0%, #0a2333 48%, #071c2a 100%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 2.4rem;
    box-shadow: 0 34px 80px rgba(10, 22, 35, 0.22);
    overflow: hidden;
}

.hero-stage-single::before,
.hero-stage-single::after {
    position: absolute;
    content: "";
    pointer-events: none;
}

.hero-stage-single::before {
    inset: 1.4rem;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0)),
        radial-gradient(circle at 50% 0%, rgba(255, 255, 255, 0.08), transparent 44%);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 1.9rem;
}

.hero-stage-single::after {
    inset: auto -3rem -5rem auto;
    width: 18rem;
    height: 18rem;
    background: rgba(187, 149, 94, 0.16);
    border-radius: 999px;
    filter: blur(18px);
}

.hero-copy-single {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    max-width: 980px;
    min-height: clamp(320px, 42vh, 420px);
    margin: 0 auto;
    padding: 0;
    color: #ffffff;
    background: transparent;
    border: 0;
    backdrop-filter: none;
    text-align: left;
}

.hero-copy-single > p:not(.eyebrow):not(.notice) {
    max-width: 48rem;
    color: rgba(229, 237, 244, 0.84);
}

.hero-copy-single .notice {
    width: fit-content;
    margin-right: 0;
    margin-left: 0;
}

.hero-home h1 {
    max-width: none;
    color: #ffffff;
    font-size: clamp(2.8rem, 5vw, 4.8rem);
    line-height: 0.94;
}

.hero-title-line {
    display: block;
}

.hero-home h1 span {
    color: inherit;
}

.hero-copy-single .eyebrow {
    color: #d9b987;
}

.hero-copy-single .hero-trust span {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.14);
    box-shadow: none;
}

.hero-copy-single .hero-trust span::before {
    background: linear-gradient(135deg, #d9b987, #2bc0ab);
}

.search-form-hero {
    max-width: min(960px, 100%);
    margin-top: 2.2rem;
    margin-right: 0;
    margin-left: 0;
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 1.75rem;
    box-shadow: 0 24px 48px rgba(10, 22, 35, 0.18);
}

.search-form-hero input,
.search-form-hero select {
    min-height: 4.25rem;
}

.search-form-hero button {
    min-height: 4rem;
    margin-left: 0.35rem;
}

.hero-copy-single .button.secondary {
    color: #ffffff;
    background: transparent;
    border-color: rgba(255, 255, 255, 0.22);
}

.hero-copy-single .button.secondary:hover {
    background: rgba(255, 255, 255, 0.08);
}

.hero-inline-list {
    display: grid;
    gap: 0.85rem;
    margin-top: 1.4rem;
    justify-items: start;
}

.hero-inline-label {
    color: rgba(229, 237, 244, 0.72);
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.hero-inline-tags {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 0.65rem;
}

.hero-inline-tags a {
    display: inline-flex;
    align-items: center;
    padding: 0.7rem 1rem;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 999px;
    font-size: 0.94rem;
    font-weight: 700;
}

.hero-inline-tags a:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.14);
}

.hero-banner-inline .paid-ad-section {
    width: min(1040px, 100%);
    margin-top: 0;
    margin-right: auto;
    margin-left: auto;
    padding-top: 0;
}

.hero-banner-inline .paid-ad-label {
    padding: 0 0.2rem;
    color: var(--muted);
}

.hero-banner-inline .paid-ad-slot {
    border-radius: 1.75rem;
    box-shadow: 0 24px 48px rgba(10, 22, 35, 0.12);
}

.hero-banner-inline .paid-ad-carousel {
    aspect-ratio: 1280 / 250;
    min-height: 200px;
}

@media (max-width: 1080px) {
    .site-header-shell,
    .hero-home .hero-content {
        width: min(100%, calc(100vw - 1.8rem));
    }

    .hero-home-content {
        grid-template-columns: minmax(0, 1fr);
    }

    .hero-stage-single::before {
        inset: 1.1rem;
    }

    .hero-home h1 {
        max-width: none;
        font-size: clamp(2.7rem, 7vw, 4.2rem);
    }

    .search-form-hero {
        grid-template-columns: minmax(0, 1fr) repeat(2, minmax(0, 1fr));
    }

    .search-form-hero button {
        grid-column: 1 / -1;
        margin-left: 0;
    }
}

@media (max-width: 720px) {
    .site-header-shell {
        width: min(100%, calc(100vw - 1rem));
    }

    .hero-home {
        padding-right: 0.5rem;
        padding-left: 0.5rem;
    }

    .hero-home .hero-content {
        width: min(100%, calc(100vw - 1rem));
    }

    .hero-stage-single {
        min-height: auto;
        padding: 1.25rem;
        border-radius: 1.7rem;
    }

    .hero-stage-single::before {
        inset: 0.85rem;
    }

    .hero-copy-single {
        min-height: auto;
    }

    .hero-home h1 {
        max-width: none;
        font-size: clamp(2.35rem, 10vw, 3.3rem);
        line-height: 0.95;
    }

    .hero-title-line {
        display: inline;
    }

    .search-form-hero {
        grid-template-columns: 1fr;
        border-radius: 1.35rem;
    }

    .search-form-hero select {
        border-left: 0;
    }

    .hero-inline-tags {
        display: grid;
        grid-template-columns: 1fr 1fr;
    }

    .hero-inline-tags a {
        justify-content: center;
    }

    .hero-banner-inline .paid-ad-carousel {
        aspect-ratio: auto;
        min-height: 170px;
    }
}
