/* Medicong UI v2: compact, search-first medical directory */
:root {
    --m-bg: #f4f6f9;
    --m-surface: #ffffff;
    --m-surface-soft: #f8f9fc;
    --m-line: #e5e8ef;
    --m-line-strong: #d6dce7;
    --m-text: #171a24;
    --m-muted: #667085;
    --m-soft: #98a2b3;
    --m-primary: #3568f4;
    --m-primary-dark: #2452d6;
    --m-primary-soft: #edf3ff;
    --m-mint: #19b886;
    --m-mint-soft: #eafaf5;
    --m-orange: #ff8a34;
    --m-orange-soft: #fff3e9;
    --m-danger: #f0445e;
    --m-danger-soft: #fff0f3;
    --m-radius-sm: 12px;
    --m-radius: 18px;
    --m-radius-lg: 24px;
    --m-shadow: 0 8px 24px rgba(16, 24, 40, 0.06);
    --m-shadow-hover: 0 14px 34px rgba(16, 24, 40, 0.10);
}

html {
    background: var(--m-bg);
}

body {
    background: var(--m-bg);
    color: var(--m-text);
    padding-bottom: 0;
}

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

:focus-visible {
    outline: 3px solid rgba(53, 104, 244, 0.24);
    outline-offset: 2px;
}

.container {
    max-width: 1180px;
    padding-left: 20px;
    padding-right: 20px;
}

/* Header */
.site-header {
    border-bottom: 1px solid var(--m-line);
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 1px 0 rgba(16, 24, 40, 0.02);
}

.site-header-inner {
    min-height: 72px;
    gap: 22px;
}

.site-logo {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: var(--m-primary);
    font-size: 20px;
    letter-spacing: -0.055em;
}

.site-logo-mark {
    width: 34px;
    height: 34px;
    flex: 0 0 auto;
}

.site-logo-mark svg,
.site-logo-mark img {
    display: block;
    width: 100%;
    height: 100%;
}

.site-header-search {
    display: flex;
    align-items: center;
    gap: 10px;
    width: min(340px, 30vw);
    height: 42px;
    padding: 0 15px;
    border: 1px solid var(--m-line);
    border-radius: 999px;
    background: var(--m-surface-soft);
    transition: border-color 0.18s ease, background 0.18s ease, box-shadow 0.18s ease;
}

.site-header-search:focus-within {
    border-color: rgba(53, 104, 244, 0.6);
    background: #fff;
    box-shadow: 0 0 0 4px rgba(53, 104, 244, 0.08);
}

.site-header-search svg,
.site-mobile-search svg {
    width: 19px;
    height: 19px;
    fill: none;
    stroke: var(--m-muted);
    stroke-width: 2;
    stroke-linecap: round;
    flex: 0 0 auto;
}

.site-header-search input {
    min-width: 0;
    width: 100%;
    border: 0;
    outline: 0;
    background: transparent;
    color: var(--m-text);
    font-size: 13px;
    font-weight: 650;
}

.site-header-search input::placeholder {
    color: var(--m-soft);
}

.site-nav {
    margin-left: auto;
    gap: 2px;
}

.site-nav a,
.site-nav-button {
    padding: 10px 11px;
    color: #424a5b;
    font-size: 13px;
    font-weight: 750;
    border-radius: 10px;
}

.site-nav a:hover,
.site-nav-button:hover,
.site-nav a.active,
.site-nav-button.active {
    color: var(--m-primary);
    background: var(--m-primary-soft);
}

.site-dropdown {
    top: calc(100% + 8px);
    min-width: 210px;
    padding: 8px;
    border-color: var(--m-line);
    border-radius: 15px;
    background: #fff;
    box-shadow: 0 16px 40px rgba(16, 24, 40, 0.13);
}

.site-dropdown a {
    padding: 11px 12px;
    border-radius: 10px;
}

.site-mobile-search,
.mobile-bottom-nav {
    display: none;
}

/* Home */
.home-page {
    padding-top: 30px;
    padding-bottom: 28px;
}

.home-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(330px, 0.92fr);
    min-width: 0;
    min-height: 390px;
    overflow: hidden;
    border: 1px solid #dfe6f2;
    border-radius: 28px;
    background: #fff;
    box-shadow: var(--m-shadow);
}

.home-hero-copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
    padding: 46px 48px;
}

.home-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    width: fit-content;
    margin-bottom: 16px;
    padding: 7px 11px;
    border-radius: 999px;
    background: var(--m-primary-soft);
    color: var(--m-primary);
    font-size: 12px;
    font-weight: 850;
}

.home-eyebrow-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    flex: 0 0 auto;
}

.home-eyebrow-mark svg {
    display: block;
    width: 100%;
    height: 100%;
    fill: #75b94f;
    stroke: #4f9436;
    stroke-width: 1.4;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.home-hero h1 {
    max-width: 560px;
    margin: 0;
    color: #101828;
    font-size: clamp(34px, 4vw, 50px);
    font-weight: 900;
    line-height: 1.12;
    letter-spacing: -0.065em;
    word-break: keep-all;
}

.home-hero-copy > p {
    max-width: 510px;
    margin: 18px 0 0;
    color: var(--m-muted);
    font-size: 16px;
    font-weight: 550;
    line-height: 1.75;
    word-break: keep-all;
}

.home-search {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    min-width: 0;
    gap: 8px;
    margin-top: 28px;
    padding: 7px;
    border: 2px solid var(--m-primary);
    border-radius: 17px;
    background: #fff;
    box-shadow: 0 12px 28px rgba(53, 104, 244, 0.13);
}

.home-search label {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
    padding: 0 10px;
}

.home-search svg {
    width: 21px;
    height: 21px;
    fill: none;
    stroke: var(--m-primary);
    stroke-width: 2;
    stroke-linecap: round;
    flex: 0 0 auto;
}

.home-search input {
    min-width: 0;
    width: 100%;
    height: 48px;
    border: 0;
    outline: 0;
    background: transparent;
    color: var(--m-text);
    font-size: 15px;
    font-weight: 700;
}

.home-search input::placeholder {
    color: var(--m-soft);
}

.home-search button {
    min-width: 92px;
    border: 0;
    border-radius: 12px;
    background: var(--m-primary);
    color: #fff;
    cursor: pointer;
    font-size: 14px;
    font-weight: 850;
    transition: background 0.18s ease, transform 0.18s ease;
}

.home-search button:hover {
    background: var(--m-primary-dark);
    transform: translateY(-1px);
}

.home-hero-links {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 14px;
    color: var(--m-muted);
    font-size: 12px;
    font-weight: 700;
}

.home-hero-links a {
    color: var(--m-primary);
    font-weight: 800;
}

.home-hero-visual {
    position: relative;
    min-height: 390px;
    background: linear-gradient(145deg, #e7f1ff 0%, #dbeaff 100%);
}

.home-hero-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.home-trust-pill {
    position: absolute;
    right: 20px;
    bottom: 20px;
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 11px 14px;
    border: 1px solid rgba(255, 255, 255, 0.7);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.88);
    color: #344054;
    box-shadow: 0 10px 24px rgba(16, 24, 40, 0.10);
    backdrop-filter: blur(10px);
    font-size: 12px;
    font-weight: 750;
}

.home-trust-pill strong {
    color: var(--m-primary);
    font-size: 14px;
}

.home-shortcuts {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    margin-top: 18px;
}

.home-shortcut {
    display: flex;
    align-items: center;
    gap: 14px;
    min-width: 0;
    padding: 18px;
    border: 1px solid var(--m-line);
    border-radius: var(--m-radius);
    background: #fff;
    transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.home-shortcut:hover {
    transform: translateY(-2px);
    border-color: #cfd8e8;
    box-shadow: var(--m-shadow);
}

.home-shortcut-icon,
.home-service-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    border-radius: 14px;
    background: var(--m-primary-soft);
    color: var(--m-primary);
    font-weight: 900;
    line-height: 1;
}

.home-shortcut-icon {
    width: 48px;
    height: 48px;
    font-size: 18px;
}

.home-shortcut:nth-child(2) .home-shortcut-icon,
.home-service-card.is-mint .home-service-icon {
    background: var(--m-mint-soft);
    color: var(--m-mint);
}

.home-shortcut:nth-child(3) .home-shortcut-icon,
.home-service-card.is-orange .home-service-icon {
    background: var(--m-orange-soft);
    color: var(--m-orange);
}

.home-shortcut:nth-child(4) .home-shortcut-icon,
.home-service-card.is-danger .home-service-icon {
    background: var(--m-danger-soft);
    color: var(--m-danger);
}

.home-shortcut-copy {
    min-width: 0;
}

.home-shortcut strong {
    display: block;
    margin-bottom: 3px;
    color: var(--m-text);
    font-size: 15px;
    font-weight: 850;
}

.home-shortcut small {
    display: block;
    overflow: hidden;
    color: var(--m-muted);
    font-size: 12px;
    font-weight: 600;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.home-section {
    margin-top: 52px;
}

.home-section-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 18px;
}

.home-section-head h2 {
    margin: 0 0 5px;
    color: var(--m-text);
    font-size: 23px;
    font-weight: 900;
    letter-spacing: -0.045em;
}

.home-section-head p {
    margin: 0;
    color: var(--m-muted);
    font-size: 13px;
    font-weight: 600;
}

.home-section-head a {
    color: var(--m-primary);
    font-size: 13px;
    font-weight: 800;
    white-space: nowrap;
}

.home-service-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.home-service-card {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 14px;
    min-width: 0;
    padding: 18px;
    border: 1px solid var(--m-line);
    border-radius: var(--m-radius);
    background: #fff;
    transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.home-service-card:hover {
    transform: translateY(-2px);
    border-color: #cad5e7;
    box-shadow: var(--m-shadow);
}

.home-service-icon {
    width: 44px;
    height: 44px;
    font-size: 14px;
}

.home-service-copy {
    min-width: 0;
}

.home-service-copy strong {
    display: block;
    margin-bottom: 4px;
    color: var(--m-text);
    font-size: 15px;
    font-weight: 850;
}

.home-service-copy span {
    display: block;
    overflow: hidden;
    color: var(--m-muted);
    font-size: 12px;
    font-weight: 600;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.home-service-arrow {
    color: var(--m-soft);
    font-size: 19px;
    font-weight: 700;
}

.home-urgent {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto auto;
    align-items: center;
    gap: 18px;
    margin-top: 52px;
    padding: 26px 30px;
    border-radius: var(--m-radius-lg);
    background: #17213b;
    color: #fff;
}

.home-urgent-copy strong {
    display: block;
    margin-bottom: 4px;
    font-size: 19px;
    font-weight: 900;
}

.home-urgent-copy span {
    color: #c8d1e5;
    font-size: 13px;
    font-weight: 600;
}

.home-urgent a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0 17px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.09);
    color: #fff;
    font-size: 13px;
    font-weight: 800;
}

.home-urgent a:last-child {
    border-color: var(--m-danger);
    background: var(--m-danger);
}

/* Region landing pages */
.hospital-regions-page,
.pharmacy-regions-page,
.hospital-region-page,
.pharmacy-region-page,
.drug-page,
.facility-results-page {
    padding-top: 28px;
}

.regions-shell,
.hospital-region-shell,
.pharmacy-region-shell,
.drug-page-inner {
    max-width: 1100px;
}

.breadcrumb {
    margin-bottom: 22px;
    color: var(--m-soft);
    font-size: 12px;
    font-weight: 650;
}

.regions-hero,
.region-hero,
.list-hero {
    border: 1px solid #dfe6f2;
    border-radius: var(--m-radius-lg);
    background: linear-gradient(135deg, #ffffff 0%, #f2f6ff 100%);
    box-shadow: none;
}

.regions-hero {
    padding: 34px 36px;
}

.region-hero {
    grid-template-columns: minmax(0, 1fr) 230px;
    padding: 30px 32px;
    border-radius: var(--m-radius-lg);
}

.region-hero::after {
    display: none;
}

.regions-hero h1,
.region-hero h1,
.list-hero h1 {
    color: var(--m-text);
    font-size: clamp(31px, 4vw, 40px);
    line-height: 1.17;
    letter-spacing: -0.055em;
}

.regions-hero p,
.region-hero p,
.list-hero p,
.hero-desc {
    color: var(--m-muted);
    font-size: 14px;
    line-height: 1.7;
}

.regions-card,
.region-hero-stat {
    border-color: var(--m-line);
    border-radius: var(--m-radius);
    background: #fff;
    box-shadow: var(--m-shadow);
}

.region-hero-stat {
    padding: 20px;
}

.region-hero-stat strong,
.hero-count strong {
    color: var(--m-primary);
}

.region-grid {
    gap: 12px;
}

.region-link-top {
    padding: 20px;
    border: 1px solid var(--m-line);
    border-radius: 15px;
    background: #fff;
    box-shadow: none;
}

.region-link-top:hover {
    border-color: #c9d5e8;
    box-shadow: var(--m-shadow);
    transform: translateY(-2px);
}

.region-icon {
    border-radius: 12px;
    background: var(--m-primary-soft);
    color: var(--m-primary);
}

.region-count-badge {
    background: var(--m-primary-soft);
    color: var(--m-primary);
}

/* Search bars and filters */
.search-shell {
    margin-bottom: 18px;
}

.search-bar,
.facility-result-search {
    padding: 8px;
    border: 1px solid var(--m-line);
    border-radius: 17px;
    background: #fff;
    box-shadow: var(--m-shadow);
}

.search-input,
.search-select,
.search-btn,
.facility-result-search input,
.facility-result-search button {
    height: 48px;
    border-radius: 12px;
}

.search-input,
.search-select,
.facility-result-search input {
    border-color: var(--m-line);
    background: var(--m-surface-soft);
}

.search-btn,
.facility-result-search button {
    background: var(--m-primary);
    box-shadow: none;
}

.search-btn:hover,
.facility-result-search button:hover {
    background: var(--m-primary-dark);
}

.region-nav,
.category-strip,
.result-filters {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding: 2px 0 7px;
    scrollbar-width: thin;
}

.region-pill,
.category-chip-link,
.filter-chip {
    flex: 0 0 auto;
    border-color: var(--m-line);
    background: #fff;
}

.region-pill.active,
.category-chip-link.is-active,
.filter-chip.is-active {
    border-color: var(--m-primary);
    background: var(--m-primary-soft);
    color: var(--m-primary);
}

/* Result cards */
.hospital-grid,
.pharmacy-grid,
.drug-grid,
.facility-result-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.hospital-card,
.pharmacy-card,
.drug-card,
.facility-result-card {
    min-height: 0;
    padding: 22px;
    border: 1px solid var(--m-line);
    border-radius: var(--m-radius);
    background: #fff;
    box-shadow: none;
}

.hospital-card:hover,
.pharmacy-card:hover,
.drug-card:hover,
.facility-result-card:hover {
    transform: translateY(-2px);
    border-color: #c9d4e6;
    box-shadow: var(--m-shadow-hover);
}

.hospital-name,
.pharmacy-name,
.drug-name,
.facility-result-name {
    color: var(--m-text);
    font-size: 19px;
    letter-spacing: -0.04em;
}

.hospital-address,
.pharmacy-address,
.drug-desc,
.facility-result-meta {
    min-height: 0;
    color: var(--m-muted);
    line-height: 1.65;
}

.hospital-meta,
.pharmacy-meta,
.drug-meta {
    margin-bottom: 16px;
}

.meta-chip {
    padding: 6px 9px;
    font-size: 11px;
}

.chip-type {
    background: var(--m-danger-soft);
    color: var(--m-danger);
}

.chip-region {
    background: var(--m-primary-soft);
    color: var(--m-primary);
}

.chip-phone {
    background: var(--m-orange-soft);
    color: #d86a15;
}

.hospital-card-bottom,
.pharmacy-card-bottom,
.drug-bottom {
    padding-top: 14px;
    border-color: #edf0f5;
}

.detail-link,
.facility-result-link {
    color: var(--m-primary);
}

.page-btn {
    min-width: 40px;
    height: 40px;
    border-color: var(--m-line);
    border-radius: 12px;
    box-shadow: none;
}

.page-btn.active {
    border-color: var(--m-primary);
    background: var(--m-primary);
}

/* Detail pages */
.detail-page,
.pharmacy-detail-page,
.drug-detail-page {
    max-width: 1040px;
    padding-top: 28px;
}

.detail-head,
.detail-title {
    color: var(--m-text);
}

.detail-title {
    font-size: 32px;
    font-weight: 900;
    letter-spacing: -0.055em;
}

.detail-top-link,
.back-link {
    color: var(--m-primary);
}

.address-box,
.detail-card,
.two-col-card,
.section-card,
.hero-box,
.empty-box,
.nearby-table-wrap {
    border: 1px solid var(--m-line);
    border-radius: var(--m-radius);
    background: #fff;
    box-shadow: none;
}

.address-box {
    padding: 18px 20px;
}

.address-badge,
.hero-badge {
    border-color: var(--m-line);
    background: var(--m-surface-soft);
    color: var(--m-muted);
}

.section-title {
    gap: 10px;
    margin-top: 34px;
    margin-bottom: 13px;
}

.section-title .dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--m-primary);
}

.section-title h2 {
    color: var(--m-text);
    font-size: 20px;
    font-weight: 900;
    letter-spacing: -0.035em;
}

.detail-card,
.two-col-card,
.section-card {
    padding: 24px;
}

.status-chip {
    border-color: #cfe7dc;
    background: var(--m-mint-soft);
    color: #0c8e66;
}

.summary-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
}

.summary-item,
.info-item,
.staff-card {
    border: 1px solid var(--m-line);
    border-radius: 14px;
    background: var(--m-surface-soft);
}

.summary-item {
    padding: 15px;
}

.summary-item .label,
.info-item .label {
    color: var(--m-muted);
}

.summary-item .value,
.info-item .value {
    color: var(--m-text);
}

.phone-search-card {
    padding: 0;
    border: 0;
    background: transparent;
}

.phone-search-label {
    display: none;
}

.phone-search-button,
.call-btn {
    min-height: 52px;
    border-radius: 13px;
    background: var(--m-primary);
    box-shadow: none;
}

.phone-search-button:hover,
.call-btn:hover {
    background: var(--m-primary-dark);
}

.route-btn {
    min-height: 50px;
    border-color: var(--m-line-strong);
    border-radius: 13px;
}

.time-highlight {
    border-color: #d9e4fb;
    border-radius: 14px;
    background: var(--m-primary-soft);
}

.time-highlight .small {
    color: var(--m-primary);
}

.day-list {
    gap: 0;
    overflow: hidden;
    border: 1px solid var(--m-line);
    border-radius: 14px;
}

.day-row {
    border: 0;
    border-bottom: 1px solid var(--m-line);
    border-radius: 0;
    padding: 14px 16px;
}

.day-row:last-child {
    border-bottom: 0;
}

.day-row.active {
    border-color: var(--m-primary);
    background: var(--m-primary);
}

.day-time {
    white-space: normal;
    text-align: right;
}

.info-grid {
    gap: 10px;
}

.mini-card,
.blog-review-card,
.related-card {
    border-color: var(--m-line);
    border-radius: 15px;
    box-shadow: none;
}

.map-frame,
.panorama-frame,
.map-fallback {
    border-radius: 14px;
}

/* Footer */
.site-footer {
    margin-top: 64px;
    padding: 0 0 34px;
    background: #fff;
    border-top: 1px solid var(--m-line);
}

.site-footer-inner {
    grid-template-columns: minmax(260px, 1.5fr) repeat(3, minmax(140px, 1fr));
    gap: 36px;
    padding-top: 34px;
    border-top: 0;
}

.footer-logo {
    color: var(--m-primary);
}

.footer-column a,
.footer-column span,
.footer-description,
.footer-text {
    color: var(--m-muted);
}

@media (max-width: 1080px) {
    .site-header-search {
        width: min(280px, 27vw);
    }

    .home-hero-copy {
        padding: 38px 34px;
    }

    .home-service-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 900px) {
    body {
        padding-bottom: 76px;
    }

    .container {
        padding-left: 16px;
        padding-right: 16px;
    }

    .site-header {
        position: sticky;
    }

    .site-header-inner {
        min-height: 62px;
        padding-top: 0;
        padding-bottom: 0;
        flex-direction: row;
        align-items: center;
    }

    .site-logo-mark {
        width: 31px;
        height: 31px;
    }

    .site-header-search,
    .site-nav {
        display: none;
    }

    .site-mobile-search {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 40px;
        height: 40px;
        margin-left: auto;
        border: 1px solid var(--m-line);
        border-radius: 12px;
        background: var(--m-surface-soft);
    }

    .mobile-bottom-nav {
        position: fixed;
        left: 50%;
        bottom: 0;
        z-index: 5000;
        display: grid;
        grid-template-columns: repeat(5, minmax(0, 1fr));
        width: min(100%, 720px);
        height: calc(68px + env(safe-area-inset-bottom));
        padding: 7px 10px env(safe-area-inset-bottom);
        transform: translateX(-50%);
        border-top: 1px solid var(--m-line);
        background: rgba(255, 255, 255, 0.97);
        box-shadow: 0 -8px 24px rgba(16, 24, 40, 0.08);
        backdrop-filter: blur(12px);
    }

    .mobile-bottom-nav a {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 2px;
        min-width: 0;
        color: #8991a2;
        font-size: 10px;
        font-weight: 750;
    }

    .mobile-bottom-nav a.active {
        color: var(--m-primary);
    }

    .mobile-nav-icon {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 25px;
        height: 25px;
        font-size: 20px;
        font-weight: 900;
        line-height: 1;
    }

    .mobile-nav-rx {
        font-size: 13px;
        letter-spacing: -0.04em;
    }

    .home-hero {
        grid-template-columns: 1fr;
        min-height: 0;
        width: 100%;
    }

    .home-hero-visual {
        min-height: 280px;
        order: -1;
    }

    .home-hero-copy {
        padding: 32px;
    }

    .home-shortcuts {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .home-urgent {
        grid-template-columns: 1fr 1fr;
    }

    .home-urgent-copy {
        grid-column: 1 / -1;
    }

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

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

    .site-footer {
        margin-bottom: 0;
    }

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

@media (max-width: 680px) {
    .home-page {
        padding-top: 14px;
    }

    .home-hero {
        border-radius: 20px;
    }

    .home-hero-visual {
        min-height: 210px;
        max-height: 260px;
    }

    .home-hero-copy {
        min-width: 0;
        padding: 25px 20px 22px;
    }

    .home-hero h1 {
        font-size: 31px;
    }

    .home-hero-copy > p {
        margin-top: 12px;
        font-size: 14px;
    }

    .home-search {
        grid-template-columns: minmax(0, 1fr) 72px;
        width: 100%;
        margin-top: 22px;
    }

    .home-search input {
        font-size: 14px;
    }

    .home-trust-pill {
        right: 12px;
        bottom: 12px;
    }

    .home-shortcut {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
        padding: 15px;
    }

    .home-shortcut-icon {
        width: 42px;
        height: 42px;
        border-radius: 12px;
    }

    .home-shortcut small {
        white-space: normal;
    }

    .home-section,
    .home-urgent {
        margin-top: 38px;
    }

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

    .home-service-grid {
        grid-template-columns: 1fr;
    }

    .home-urgent {
        gap: 10px;
        padding: 22px 18px;
        border-radius: 18px;
    }

    .home-urgent a {
        padding: 0 12px;
    }

    .regions-hero,
    .region-hero,
    .list-hero {
        padding: 24px 20px;
        border-radius: 18px;
    }

    .regions-hero h1,
    .region-hero h1,
    .list-hero h1 {
        font-size: 29px;
    }

    .regions-card,
    .hospital-card,
    .pharmacy-card,
    .drug-card,
    .facility-result-card,
    .address-box,
    .detail-card,
    .two-col-card,
    .section-card,
    .hero-box {
        border-radius: 15px;
    }

    .hospital-grid,
    .pharmacy-grid,
    .drug-grid,
    .facility-result-list {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .hospital-card,
    .pharmacy-card,
    .drug-card,
    .facility-result-card {
        padding: 19px;
    }

    .detail-page,
    .pharmacy-detail-page,
    .drug-detail-page {
        padding-top: 18px;
    }

    .detail-title {
        font-size: 27px;
    }

    .detail-card,
    .two-col-card,
    .section-card {
        padding: 19px 16px;
    }

    .summary-grid,
    .info-grid {
        grid-template-columns: 1fr;
    }

    .day-row {
        grid-template-columns: minmax(84px, auto) minmax(0, 1fr);
    }

    .day-time {
        font-size: 13px;
    }

    .site-footer-inner {
        grid-template-columns: 1fr;
        gap: 24px;
    }
}
