/*
 * Cundam Design System V2
 * A lightweight visual layer for the public PHP site.
 */
:root {
    --ink: #253329;
    --ink-soft: #45584a;
    --muted: #68756b;
    --line: #d8e1d7;
    --line-strong: #bdcbbb;
    --paper: #fffcf7;
    --paper-pure: #fff;
    --soft: #eef4eb;
    --soft-warm: #fbf0e3;
    --forest: #254e31;
    --forest-deep: #173b29;
    --sea: #087f89;
    --coral: #d16443;
    --gold: #e4ad48;
    --olive: #788b43;
    --blue: #087f89;
    --teal: #2f7b64;
    --shadow-sm: 0 8px 24px rgba(37, 51, 41, .07);
    --shadow: 0 22px 60px rgba(37, 51, 41, .12);
    --shadow-lift: 0 28px 70px rgba(37, 51, 41, .16);
    --content: 1180px;
    --wide: 1320px;
    --ease-out: cubic-bezier(.22, 1, .36, 1);
    --ease-spring: cubic-bezier(.34, 1.56, .64, 1);
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 88px;
}

body {
    min-width: 320px;
    color: var(--ink);
    background: var(--paper);
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
}

::selection {
    color: #fff;
    background: var(--forest);
}

body::before {
    position: fixed;
    z-index: 1000;
    top: 0;
    left: 0;
    width: var(--page-progress, 0%);
    height: 3px;
    content: "";
    pointer-events: none;
    background: linear-gradient(90deg, var(--coral), var(--gold), var(--sea));
    transition: width .1s linear;
}

h1, h2, h3, .brand-type {
    text-wrap: balance;
}

p {
    text-wrap: pretty;
}

a, button, input, select, textarea {
    -webkit-tap-highlight-color: transparent;
}

:focus-visible {
    outline: 3px solid rgba(8, 125, 139, .35);
    outline-offset: 3px;
}

.topbar {
    z-index: 900;
    min-height: 78px;
    padding: 0 max(24px, calc((100% - var(--wide)) / 2));
    background: rgba(255, 252, 247, .92);
    border-bottom-color: rgba(216, 225, 215, .78);
    box-shadow: 0 1px 0 rgba(37, 51, 41, .03);
    transition: min-height .35s var(--ease-out), box-shadow .35s, background .35s;
}

.topbar.is-scrolled {
    min-height: 66px;
    background: rgba(255, 252, 247, .97);
    box-shadow: 0 10px 35px rgba(37, 51, 41, .1);
}

.brand {
    display: inline-flex;
    flex: none;
    min-width: 0;
    align-items: center;
    gap: 0;
}

.brand-logo {
    display: block;
    width: auto;
    height: 56px;
    object-fit: contain;
    transition: transform .35s var(--ease-out), filter .35s;
}

.brand:hover .brand-logo {
    filter: saturate(1.05);
    transform: translateY(-1px);
}

.brand-mark {
    width: 40px;
    height: 40px;
    overflow: hidden;
    background: var(--forest);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .15), 0 8px 18px rgba(29, 75, 60, .18);
    transition: transform .45s var(--ease-spring), box-shadow .3s;
}

.brand:hover .brand-mark {
    transform: rotate(-4deg) scale(1.04);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .15), 0 12px 26px rgba(29, 75, 60, .26);
}

.brand-type {
    color: var(--ink);
    font-size: 25px;
    letter-spacing: 0;
}

.nav {
    gap: 4px;
    color: var(--ink-soft);
    font-size: 13px;
    font-weight: 650;
}

.nav a {
    position: relative;
    padding: 12px 9px;
    border-radius: 6px;
    transition: color .2s, background .2s, transform .2s;
}

.nav a:not(.nav-cta)::after {
    position: absolute;
    right: 9px;
    bottom: 6px;
    left: 9px;
    height: 2px;
    content: "";
    background: var(--coral);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .3s var(--ease-out);
}

.nav a:hover {
    color: var(--forest-deep);
    background: rgba(29, 75, 60, .05);
}

.nav a:hover::after {
    transform: scaleX(1);
}

.nav-cta {
    margin-left: 5px;
    padding: 11px 15px !important;
    background: var(--coral);
    box-shadow: 0 8px 18px rgba(199, 86, 62, .2);
}

.nav-cta:hover {
    color: #fff !important;
    background: #af442f !important;
    transform: translateY(-1px);
}

.menu-button {
    min-height: 42px;
    padding: 0 14px;
    border: 1px solid var(--line);
    border-radius: 7px;
    color: var(--ink);
    background: #fff;
    font: 750 13px inherit;
}

.section,
.detail,
.article,
.contact-panel {
    width: min(var(--content), calc(100% - 48px));
}

.section {
    padding-top: 84px;
    padding-bottom: 84px;
}

.section.muted {
    padding-inline: max(24px, calc((100% - var(--content)) / 2));
    background: var(--soft);
}

.section-head {
    margin-bottom: 32px;
}

.section-head h2 {
    margin-top: 5px;
    font: 500 38px/1.12 Georgia, "Times New Roman", serif;
}

.section-head p {
    line-height: 1.7;
}

.eyebrow,
.card-kicker,
.ad-label {
    letter-spacing: 0;
}

.adsense-unit {
    position: relative;
    width: 100%;
    min-width: 0;
    min-height: 110px;
    padding: 24px 12px 10px;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 7px;
    background: #f7f8f6;
}

.adsense-unit > .ad-label {
    position: absolute;
    top: 7px;
    left: 10px;
    color: var(--muted);
    background: transparent;
    font-size: 9px;
}

.adsense-unit .adsbygoogle {
    width: 100%;
    min-height: 76px;
}

.ad-strip.adsense-strip {
    display: block;
}

.ad-strip[data-placement="listing_sidebar"] .adsense-unit {
    min-height: 250px;
}

.ad-strip[data-placement="site_footer"] {
    margin-top: 38px;
    margin-bottom: 28px;
}

.button,
.smart-search button,
.form button,
.guide-filters button,
.discovery-filters button {
    position: relative;
    min-height: 44px;
    overflow: hidden;
    border-radius: 7px;
    background: var(--sea);
    box-shadow: 0 8px 18px rgba(8, 125, 139, .15);
    transition: transform .25s var(--ease-spring), background .2s, box-shadow .25s;
}

.button:hover,
.smart-search button:hover,
.form button:hover,
.guide-filters button:hover,
.discovery-filters button:hover {
    transform: translateY(-2px);
    box-shadow: 0 13px 25px rgba(8, 125, 139, .22);
}

.button:active,
.smart-search button:active {
    transform: translateY(0) scale(.98);
}

.button.ghost {
    color: var(--forest-deep);
    background: #f0f5f3;
    box-shadow: inset 0 0 0 1px var(--line);
}

.button.ghost:hover {
    background: #e4efeb;
    box-shadow: inset 0 0 0 1px var(--line-strong), 0 10px 22px rgba(20, 37, 42, .08);
}

input, select, textarea {
    transition: border-color .2s, box-shadow .2s, background .2s;
}

input:focus, select:focus, textarea:focus {
    border-color: var(--sea) !important;
    outline: 0;
    box-shadow: 0 0 0 4px rgba(8, 125, 139, .1);
}

/* Homepage */
.smart-hero {
    min-height: min(780px, calc(100svh - 30px));
    overflow: hidden;
    isolation: isolate;
    background-position: center;
}

.smart-hero::before {
    position: absolute;
    z-index: -1;
    inset: 0;
    content: "";
    background: linear-gradient(180deg, transparent 50%, rgba(7, 27, 28, .42));
    pointer-events: none;
}

.smart-hero-content {
    width: min(var(--content), calc(100% - 48px));
    padding: 110px 0 150px;
}

.smart-hero h1 {
    max-width: 830px;
    margin: 14px 0 20px;
    font-size: clamp(54px, 7vw, 92px);
    line-height: .96;
    text-shadow: 0 6px 32px rgba(0, 0, 0, .18);
}

.smart-hero p {
    max-width: 660px;
    font-size: 19px;
}

.smart-search {
    width: min(790px, 100%);
    margin-top: 34px;
    padding: 7px;
    border-radius: 8px;
    box-shadow: 0 25px 75px rgba(0, 0, 0, .3);
    transition: transform .35s var(--ease-out), box-shadow .35s;
}

.smart-search:focus-within {
    transform: translateY(-3px);
    box-shadow: 0 30px 90px rgba(0, 0, 0, .38);
}

.smart-search button {
    background: var(--coral);
    box-shadow: none;
}

.search-suggestions a,
.search-suggestions button,
.recent-searches button {
    transition: transform .25s var(--ease-spring), background .2s, border-color .2s;
}

.search-suggestions a:hover,
.search-suggestions button:hover,
.recent-searches button:hover {
    transform: translateY(-2px);
}

.search-suggestions,
.recent-searches,
.home-category-tabs {
    scrollbar-width: none;
}

.search-suggestions::-webkit-scrollbar,
.recent-searches::-webkit-scrollbar,
.home-category-tabs::-webkit-scrollbar {
    display: none;
}

.hero-plan {
    right: max(24px, calc((100% - var(--content)) / 2));
    bottom: 38px;
    width: 350px;
    padding: 23px 25px;
    background: var(--gold);
    box-shadow: 0 22px 55px rgba(20, 37, 42, .22);
    transition: transform .35s var(--ease-spring), box-shadow .35s;
}

.hero-plan:hover {
    transform: translateY(-6px) rotate(-.4deg);
    box-shadow: 0 28px 70px rgba(20, 37, 42, .28);
}

.local-services {
    width: min(var(--content), calc(100% - 48px));
    margin: 30px auto 0;
    gap: 16px;
}

.local-services a {
    border-color: var(--line);
    box-shadow: var(--shadow-sm);
    transition: transform .3s var(--ease-spring), border-color .2s, box-shadow .3s;
}

.local-services a:hover {
    border-color: var(--line-strong);
    transform: translateY(-4px);
    box-shadow: var(--shadow);
}

.planner-band {
    position: relative;
    grid-template-columns: .9fr 1.1fr;
    gap: 80px;
    padding: 78px max(24px, calc((100% - var(--content)) / 2));
    background: var(--forest-deep);
}

.planner-band::before {
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    height: 4px;
    content: "";
    background: linear-gradient(90deg, var(--gold) 0 32%, var(--coral) 32% 66%, var(--sea) 66%);
}

.planner-copy h2,
.sponsor-band h2 {
    font-size: 48px;
}

.planner-copy {
    align-self: start;
    padding-top: 28px;
}

.planner-copy p {
    font-size: 17px;
}

.planner-controls {
    gap: 18px;
    padding: 26px;
    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: 8px;
    color: var(--ink);
    background: #fff;
    box-shadow: 0 30px 70px rgba(4, 24, 22, .26);
}

.segmented {
    padding: 6px;
}

.planner-controls .segmented {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 7px;
    overflow: visible;
    padding: 6px;
    border-color: var(--line);
    color: var(--ink-soft);
    background: var(--soft);
}

.segmented button {
    transition: color .2s, background .2s, transform .22s var(--ease-spring);
}

.planner-controls .segmented button {
    min-width: 0;
    min-height: 44px;
    padding: 10px 8px;
    border: 1px solid transparent;
    color: var(--ink-soft);
    background: transparent;
}

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

.segmented button.active {
    box-shadow: 0 5px 14px rgba(0, 0, 0, .12);
}

.planner-controls .segmented button.active {
    border-color: var(--forest);
    color: #fff;
    background: var(--forest);
    box-shadow: 0 8px 20px rgba(29, 75, 60, .2);
}

.planner-fields {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.planner-fields label {
    gap: 7px;
    color: var(--ink-soft);
    font-size: 11px;
    text-transform: uppercase;
}

.planner-fields select {
    min-height: 46px;
    border-color: var(--line);
    color: var(--ink);
    background: #fff;
    box-shadow: 0 4px 12px rgba(20, 37, 42, .04);
}

.planner-fields select:hover {
    border-color: var(--line-strong);
}

.planner-button {
    width: 100%;
    min-height: 50px;
    background: var(--coral);
    box-shadow: 0 12px 24px rgba(199, 86, 62, .2);
}

.intent-grid {
    border-color: var(--line);
    box-shadow: var(--shadow-sm);
}

.intent-grid a,
.intent-grid button {
    position: relative;
    min-height: 180px;
    transition: background .25s, color .25s;
}

.intent-grid a::after,
.intent-grid button::after {
    position: absolute;
    right: 18px;
    bottom: 18px;
    content: "→";
    color: var(--coral);
    font-size: 20px;
    transform: translateX(-4px);
    opacity: 0;
    transition: opacity .25s, transform .3s var(--ease-out);
}

.intent-grid a:hover::after,
.intent-grid button:hover::after {
    transform: translateX(0);
    opacity: 1;
}

/* Cards and archives */
.listing-grid,
.article-grid,
.news-grid,
.pricing-grid {
    gap: 22px;
}

.listing-card,
.article-card,
.news-card,
.price-card,
.pharmacy-card {
    border-color: var(--line);
    border-radius: 8px;
    box-shadow: var(--shadow-sm);
    transform: translateZ(0);
    transition: transform .38s var(--ease-spring), border-color .25s, box-shadow .38s;
}

.listing-card:hover,
.article-card:hover,
.news-card:hover,
.price-card:hover,
.pharmacy-card:hover {
    border-color: var(--line-strong);
    transform: translateY(-7px);
    box-shadow: var(--shadow-lift);
}

.listing-card-media {
    height: auto;
    aspect-ratio: 16 / 10;
}

.listing-card-media img,
.article-card img,
.news-card img {
    transition: transform .8s var(--ease-out), filter .4s;
}

.listing-card:hover .listing-card-media img,
.article-card:hover > img,
.news-card:hover > img {
    transform: scale(1.045);
    filter: saturate(1.04);
}

.listing-card-body,
.article-card > div,
.news-card > div {
    padding: 21px;
}

.listing-card h3,
.article-card h3 {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 23px;
    font-weight: 600;
    line-height: 1.18;
}

.home-category-tabs {
    gap: 9px;
    margin-bottom: 26px;
}

.home-category-tabs a {
    min-height: 42px;
    padding: 11px 15px;
    transition: transform .22s var(--ease-spring), border-color .2s, background .2s;
}

.home-category-tabs a:hover {
    transform: translateY(-2px);
}

.pagination {
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding-top: 28px;
}

.pagination a {
    transition: transform .2s var(--ease-spring), border-color .2s, background .2s;
}

.pagination a:hover {
    border-color: var(--forest);
    transform: translateY(-2px);
}

/* Page heroes */
.page-hero,
.search-hero,
.guide-directory-hero,
.map-directory-hero,
.service-hero,
.saved-route-hero,
.ad-page-hero {
    position: relative;
    overflow: hidden;
}

.page-hero {
    padding-top: 92px;
    padding-bottom: 64px;
}

.page-hero h1,
.search-hero h1,
.map-directory-hero h1 {
    font-size: 54px;
}

.search-hero,
.map-directory-hero {
    padding-top: 78px;
    padding-bottom: 38px;
    background: var(--soft-warm);
}

.guide-directory-hero,
.service-hero,
.saved-route-hero,
.ad-page-hero {
    background: var(--forest-deep);
}

.news-hero {
    background: #214a53;
}

.guide-directory-hero::after,
.service-hero::after,
.saved-route-hero::after,
.ad-page-hero::after {
    position: absolute;
    right: -6%;
    bottom: -180px;
    width: 420px;
    height: 420px;
    content: "";
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 50%;
    box-shadow: 0 0 0 55px rgba(255, 255, 255, .025), 0 0 0 110px rgba(255, 255, 255, .018);
    pointer-events: none;
}

.guide-directory-hero > *,
.service-hero > *,
.saved-route-hero > *,
.ad-page-hero > * {
    position: relative;
    z-index: 1;
}

.guide-filters,
.discovery-filters {
    border-color: var(--line);
    background: rgba(255, 255, 255, .96);
    box-shadow: 0 12px 36px rgba(20, 37, 42, .06);
}

.guide-filters {
    padding: 20px;
}

.guide-filters input,
.guide-filters select,
.discovery-filters input,
.discovery-filters select {
    min-height: 46px;
}

/* Search and map */
.discovery-layout {
    width: min(1240px, calc(100% - 48px));
    gap: 28px;
    margin-top: 34px;
}

.discovery-list {
    gap: 20px;
}

.discovery-map-shell,
.map-directory-map,
.route-map {
    border-color: var(--line);
    box-shadow: var(--shadow-sm);
}

.discovery-map-shell {
    top: 82px;
}

.map-search-button {
    background: var(--forest-deep);
    transition: transform .25s var(--ease-spring), box-shadow .25s;
}

.map-search-button:hover {
    transform: translateX(-50%) translateY(-2px);
    box-shadow: var(--shadow);
}

.mobile-view-tabs {
    border-bottom: 1px solid var(--line);
}

/* Listing details */
.breadcrumbs {
    width: min(var(--content), calc(100% - 48px));
    padding: 22px 0 0;
}

.detail {
    grid-template-columns: minmax(0, 1.06fr) minmax(360px, .94fr);
    gap: 54px;
    padding-top: 42px;
}

.detail-media {
    position: sticky;
    top: 96px;
}

.detail-media > img {
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.detail-body {
    padding: 10px 0 0;
}

.detail-body h1 {
    margin: 12px 0 16px;
    font: 500 52px/1.02 Georgia, "Times New Roman", serif;
}

.detail-body .lead {
    color: var(--ink-soft);
    font-size: 18px;
    line-height: 1.75;
}

.answer-box {
    margin: 28px 0;
    padding: 24px 26px;
    border-left-color: var(--coral);
    background: var(--soft);
}

.entity-facts {
    gap: 14px 24px;
}

.action-row {
    gap: 9px;
}

.detail-extended {
    margin-top: 14px;
}

.listing-geo-content {
    gap: 34px 54px;
    margin-top: 34px;
}

.listing-geo-content > section,
.geo-pros-cons > section,
.geo-practical-grid > section {
    padding-top: 30px;
}

.listing-geo-content h2 {
    font-family: Georgia, "Times New Roman", serif;
    font-weight: 600;
}

.geo-ai-summary {
    border-color: #bfd7ce !important;
    border-left: 4px solid var(--forest) !important;
    background: var(--soft) !important;
}

.geo-faq details {
    transition: background .2s, padding .2s;
}

.geo-faq details[open] {
    padding-right: 14px;
    padding-left: 14px;
    background: var(--soft);
}

.nearby-link-list a {
    transition: transform .22s var(--ease-spring), border-color .2s, box-shadow .2s;
}

.nearby-link-list a:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

.source-panel,
.owner-claim {
    border-color: var(--line);
    box-shadow: var(--shadow-sm);
}

/* Articles, forms and utility pages */
.article {
    max-width: 920px;
    padding-top: 62px;
    padding-bottom: 90px;
}

.article h1 {
    margin-top: 10px;
    font: 500 58px/1.03 Georgia, "Times New Roman", serif;
}

.article > img {
    margin: 30px 0;
    aspect-ratio: 16 / 8.5;
    box-shadow: var(--shadow);
}

.rich-text {
    color: var(--ink-soft);
    font-size: 17px;
    line-height: 1.82;
}

.rich-text h2,
.rich-text h3 {
    color: var(--ink);
    font-family: Georgia, "Times New Roman", serif;
    line-height: 1.2;
}

.rich-text h2 {
    margin-top: 46px;
    font-size: 34px;
}

.contact-panel,
.portal-shell {
    margin-top: 58px;
    margin-bottom: 92px;
}

.contact-panel,
.portal-card,
.price-card {
    box-shadow: var(--shadow-sm);
}

.form label,
.portal-card label {
    color: var(--ink-soft);
}

.service-tabs a {
    transition: transform .22s var(--ease-spring), background .2s, border-color .2s;
}

.service-tabs a:hover {
    transform: translateY(-2px);
}

.sponsor-band {
    background: #28543e;
}

/* Sitewide Cundam project promotions */
.sitewide-planlayim {
    padding: 34px 32px;
    background: #f4f6f7;
    border-top: 1px solid #dce3e6;
}

.planlayim-banner {
    position: relative;
    display: block;
    width: min(var(--wide), 100%);
    margin: 0 auto;
    overflow: hidden;
    border: 1px solid rgba(11, 31, 62, .18);
    border-radius: 7px;
    background: #0e2547;
    box-shadow: 0 20px 50px rgba(12, 29, 55, .16);
    transition: transform .35s var(--ease-out), box-shadow .35s;
}

.planlayim-banner:hover {
    box-shadow: 0 26px 62px rgba(12, 29, 55, .23);
    transform: translateY(-3px);
}

.planlayim-banner:focus-visible {
    outline: 3px solid #ff694f;
    outline-offset: 4px;
}

.planlayim-banner img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 3 / 1;
    object-fit: cover;
}

.planlayim-project-label {
    position: absolute;
    z-index: 2;
    top: 16px;
    right: 16px;
    padding: 7px 10px;
    border: 1px solid rgba(255, 255, 255, .42);
    border-radius: 5px;
    color: #fff;
    background: rgba(9, 27, 53, .82);
    backdrop-filter: blur(8px);
    font-size: 10px;
    font-weight: 850;
    letter-spacing: 0;
}

.sitewide-promo {
    position: relative;
    padding: 38px 32px;
    overflow: hidden;
    color: #17201c;
    background: #fff7f0;
    border-top: 1px solid #f1d8c8;
    border-bottom: 1px solid #efcab5;
}

.sitewide-promo::after {
    position: absolute;
    top: 0;
    right: 0;
    width: 150px;
    height: 5px;
    content: "";
    background: #f05218;
}

.sitewide-promo-inner {
    position: relative;
    z-index: 1;
    display: grid;
    width: min(var(--wide), 100%);
    margin: 0 auto;
    grid-template-columns: 220px minmax(0, 1fr);
    align-items: center;
    gap: 42px;
}

.menuzu-promo-media {
    display: block;
    overflow: hidden;
    border: 1px solid rgba(240, 82, 24, .2);
    border-radius: 7px;
    background: #fff;
    box-shadow: 0 18px 45px rgba(91, 43, 22, .13);
    transition: transform .35s var(--ease-out), box-shadow .35s;
}

.menuzu-promo-media:hover {
    box-shadow: 0 24px 55px rgba(91, 43, 22, .18);
    transform: translateY(-3px);
}

.menuzu-promo-media img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 1;
    object-fit: cover;
}

.menuzu-promo-copy {
    display: grid;
    justify-items: start;
    gap: 13px;
}

.menuzu-promo-label {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    color: #6f5d54;
    font-size: 12px;
}

.menuzu-promo-label b {
    color: #e64a12;
    font-size: 11px;
    letter-spacing: 0;
}

.menuzu-promo-label span {
    padding-left: 10px;
    border-left: 1px solid #ddbbaa;
}

.menuzu-promo-copy h2 {
    max-width: 760px;
    margin: 0;
    color: #17201c;
    font-size: clamp(30px, 3vw, 45px);
    line-height: 1.06;
}

.menuzu-promo-copy p {
    max-width: 720px;
    margin: 0;
    color: #62564f;
    font-size: 16px;
    line-height: 1.65;
}

.menuzu-promo-benefits {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.menuzu-promo-benefits span {
    padding: 7px 10px;
    border: 1px solid #ead2c4;
    border-radius: 5px;
    color: #493e38;
    background: rgba(255, 255, 255, .72);
    font-size: 12px;
    font-weight: 750;
}

.menuzu-promo-button {
    display: inline-flex;
    min-height: 46px;
    align-items: center;
    justify-content: center;
    padding: 0 20px;
    border-radius: 6px;
    color: #fff;
    background: #ef5118;
    box-shadow: 0 10px 24px rgba(239, 81, 24, .22);
    font-size: 14px;
    font-weight: 800;
    text-decoration: none;
    transition: transform .25s var(--ease-spring), background .2s, box-shadow .2s;
}

.menuzu-promo-button:hover {
    color: #fff;
    background: #d9430d;
    box-shadow: 0 14px 30px rgba(239, 81, 24, .28);
    transform: translateY(-2px);
}

/* Footer */
.footer {
    position: relative;
    overflow: hidden;
    background: #153a2b;
}

.footer::before {
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    height: 4px;
    content: "";
    background: linear-gradient(90deg, var(--forest), var(--sea), var(--gold), var(--coral));
}

.footer-main {
    width: min(var(--wide), calc(100% - 64px));
    padding-top: 66px;
}

.footer-brand p {
    font-size: 15px;
}

.footer-brand .brand-logo {
    height: 76px;
}

.footer-brand .brand {
    margin-bottom: 14px;
}

.footer-links a {
    transition: color .2s, transform .25s var(--ease-spring);
}

.footer-links a:hover {
    transform: translateX(4px);
}

.footer-bottom {
    width: min(var(--wide), calc(100% - 64px));
}

.cookie-banner {
    border: 1px solid var(--line);
    box-shadow: var(--shadow-lift);
}

/* Motion states, progressively enhanced by motion.js */
.motion-ready [data-motion] {
    opacity: 0;
    transform: translate3d(0, 24px, 0);
    transition: opacity .7s var(--ease-out), transform .75s var(--ease-out);
    transition-delay: var(--motion-delay, 0ms);
}

.motion-ready [data-motion="fade"] {
    transform: none;
}

.motion-ready [data-motion="left"] {
    transform: translate3d(-28px, 0, 0);
}

.motion-ready [data-motion="right"] {
    transform: translate3d(28px, 0, 0);
}

.motion-ready [data-motion].is-visible {
    opacity: 1;
    transform: translate3d(0, 0, 0);
}

.motion-ready .smart-hero-content[data-motion],
.motion-ready .guide-directory-hero > [data-motion],
.motion-ready .service-hero > [data-motion] {
    transform: translate3d(0, 34px, 0);
}

.page-leaving main {
    opacity: .45;
    transform: translateY(-5px);
    transition: opacity .18s, transform .18s;
}

@media (max-width: 1120px) {
    .nav {
        gap: 1px;
    }

    .nav a {
        padding-right: 6px;
        padding-left: 6px;
        font-size: 12px;
    }

    .detail {
        gap: 36px;
    }
}

@media (max-width: 920px) {
    .topbar {
        padding-right: 22px;
        padding-left: 22px;
    }

    .nav {
        top: 68px;
        right: 16px;
        left: 16px;
        max-height: calc(100vh - 90px);
        overflow: auto;
        padding: 12px;
        border: 1px solid var(--line);
        border-radius: 8px;
        background: rgba(255, 252, 247, .98);
        box-shadow: var(--shadow-lift);
    }

    .nav a {
        padding: 12px;
        font-size: 14px;
    }

    .nav-cta {
        margin: 6px 0 0;
        text-align: center;
    }

    .smart-hero {
        min-height: 690px;
    }

    .smart-hero h1 {
        font-size: 62px;
    }

    .planner-band {
        grid-template-columns: minmax(0, 1fr);
        gap: 34px;
    }

    .planner-copy,
    .planner-controls {
        width: 100%;
        min-width: 0;
    }

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

    .detail-media {
        position: relative;
        top: auto;
    }

    .detail-media > img {
        aspect-ratio: 16 / 10;
    }

    .detail-body h1 {
        font-size: 46px;
    }
}

@media (max-width: 720px) {
    html {
        scroll-padding-top: 74px;
    }

    .topbar {
        min-height: 68px;
        padding-right: 18px;
        padding-left: 18px;
    }

    .brand-logo {
        height: 46px;
    }

    .footer-brand .brand-logo {
        height: 66px;
    }

    .sitewide-promo {
        padding: 28px 18px;
    }

    .sitewide-planlayim {
        padding: 18px;
    }

    .planlayim-banner img {
        aspect-ratio: 16 / 9;
        object-position: left center;
    }

    .planlayim-project-label {
        top: 10px;
        right: 10px;
        padding: 5px 7px;
        font-size: 8px;
    }

    .sitewide-promo-inner {
        grid-template-columns: 120px minmax(0, 1fr);
        align-items: start;
        gap: 18px;
    }

    .menuzu-promo-copy {
        gap: 10px;
    }

    .menuzu-promo-label span,
    .menuzu-promo-benefits {
        display: none;
    }

    .menuzu-promo-copy h2 {
        font-size: 24px;
        line-height: 1.1;
    }

    .menuzu-promo-copy p {
        font-size: 13px;
        line-height: 1.5;
    }

    .menuzu-promo-button {
        min-height: 42px;
        padding: 0 15px;
        font-size: 13px;
    }

    .section,
    .detail,
    .article,
    .contact-panel,
    .breadcrumbs {
        width: calc(100% - 36px);
    }

    .section {
        padding-top: 62px;
        padding-bottom: 62px;
    }

    .section.muted {
        padding-right: 18px;
        padding-left: 18px;
    }

    .section-head {
        gap: 18px;
    }

    .section-head h2 {
        font-size: 32px;
    }

    .smart-hero {
        min-height: 720px;
        background-position: 58% center;
    }

    .smart-hero-content {
        width: calc(100% - 36px);
        padding-top: 72px;
        padding-bottom: 190px;
    }

    .smart-hero h1 {
        font-size: 50px;
        line-height: .98;
    }

    .smart-hero p {
        font-size: 17px;
    }

    .hero-plan {
        right: 18px;
        bottom: 22px;
        left: 18px;
        width: auto;
    }

    .local-services {
        width: calc(100% - 36px);
        grid-template-columns: 1fr;
    }

    .local-services a {
        grid-template-columns: 1fr;
    }

    .local-services small {
        grid-column: 1;
        grid-row: auto;
        text-align: left;
    }

    .planner-band {
        padding: 58px 18px;
    }

    .planner-copy {
        padding-top: 0;
    }

    .planner-controls {
        gap: 16px;
        padding: 18px;
    }

    .planner-controls .segmented {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        overflow: visible;
    }

    .planner-controls .segmented button {
        width: 100%;
        min-width: 0;
    }

    .planner-copy h2,
    .sponsor-band h2 {
        font-size: 38px;
    }

    .listing-grid,
    .article-grid,
    .news-grid,
    .pharmacy-grid {
        grid-template-columns: 1fr;
    }

    .listing-card-media {
        aspect-ratio: 16 / 9;
    }

    .page-hero h1,
    .search-hero h1,
    .map-directory-hero h1,
    .service-hero h1,
    .guide-directory-hero h1 {
        font-size: 40px;
    }

    .search-hero,
    .map-directory-hero,
    .service-hero,
    .guide-directory-hero,
    .saved-route-hero,
    .ad-page-hero {
        padding-top: 54px;
        padding-bottom: 42px;
    }

    .discovery-layout {
        width: calc(100% - 24px);
    }

    .detail {
        padding-top: 26px;
    }

    .detail-body h1,
    .article h1 {
        font-size: 40px;
    }

    .listing-geo-content {
        gap: 24px;
    }

    .article {
        padding-top: 42px;
    }

    .article > img {
        aspect-ratio: 4 / 3;
    }

    .rich-text {
        font-size: 16px;
        line-height: 1.76;
    }

    .footer-main,
    .footer-bottom {
        width: calc(100% - 36px);
    }
}

@media (max-width: 480px) {
    .smart-search {
        grid-template-columns: 1fr;
    }

    .smart-search button {
        min-height: 48px;
    }

    .smart-hero h1 {
        font-size: 44px;
    }

    .planner-fields {
        grid-template-columns: 1fr;
    }

    .sitewide-promo-inner {
        grid-template-columns: 92px minmax(0, 1fr);
        gap: 14px;
    }

    .menuzu-promo-copy h2 {
        font-size: 20px;
    }

    .menuzu-promo-copy p {
        display: none;
    }

    .menuzu-promo-button {
        width: 100%;
        min-height: 40px;
        padding: 0 10px;
    }

    .detail-body h1,
    .article h1 {
        font-size: 36px;
    }

    .action-row .button,
    .plan-head-actions .button {
        flex: 1 1 calc(50% - 9px);
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *, *::before, *::after {
        scroll-behavior: auto !important;
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
    }

    .motion-ready [data-motion] {
        opacity: 1;
        transform: none;
    }
}
