
:root { --brand: #9a3412; --accent: #f97316; --soft: #ffedd5; --bg: #ffffff; --muted-bg: #f9fafb; --text: #111827; --muted: #6b7280; --line: #f3f4f6; --line-strong: #e5e7eb; --font-body: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; --font-display: Georgia, "Times New Roman", serif; --card-radius: 14px; --section-space: 48px; }
* { box-sizing: border-box; }
html { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font-body); background: var(--bg); color: var(--text); }
a { color: inherit; }
main { min-height: 62vh; }
.topbar { position: sticky; top: 0; z-index: 50; display: flex; justify-content: space-between; align-items: center; gap: 18px; min-height: 64px; padding: 0 max(1rem, calc((100vw - 80rem) / 2)); border-bottom: 1px solid var(--line); background: rgba(255,255,255,.96); box-shadow: 0 1px 3px rgba(0,0,0,.10), 0 1px 2px rgba(0,0,0,.06); backdrop-filter: blur(10px); }
.brand-link { display: inline-flex; align-items: center; text-decoration: none; }
.wordmark { display: inline-flex; align-items: baseline; font-size: 18px; font-weight: 800; letter-spacing: -.035em; color: var(--brand); }
.wordmark-rest { color: #111827; }
.topnav { display: flex; gap: 4px; align-items: center; font-size: 14px; font-weight: 600; color: #4b5563; }
.topnav a { border-radius: 9px; padding: 9px 12px; text-decoration: none; transition: background .15s ease, color .15s ease; }
.topnav a:hover { background: #f9fafb; color: #111827; }
.topnav .business-nav-cta { border: 1px solid color-mix(in srgb, var(--brand) 30%, white); background: var(--brand); color: white; box-shadow: 0 8px 18px rgba(17,24,39,.10); }
.topnav .business-nav-cta:hover { background: color-mix(in srgb, var(--brand) 88%, black); color: white; }
.home-hero { position: relative; overflow: hidden; background: var(--brand); color: white; }
.hero-pattern { position: absolute; inset: 0; opacity: .10; background-image: radial-gradient(circle at 25% 50%, white .5px, transparent .5px), radial-gradient(circle at 75% 50%, white .5px, transparent .5px); background-size: 48px 48px; }
.hero-inner { position: relative; max-width: 58rem; margin: 0 auto; padding: clamp(64px, 9vw, 108px) 1rem; text-align: center; }
.home-hero-v2 { background: radial-gradient(circle at 15% 15%, color-mix(in srgb, var(--accent) 55%, white 0%) 0, transparent 30%), linear-gradient(135deg, var(--brand), #111827); }
.home-hero-grid { position: relative; max-width: 80rem; margin: 0 auto; padding: clamp(54px, 8vw, 92px) 1rem; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(300px, .82fr); gap: clamp(28px, 5vw, 70px); align-items: center; }
.hero-copy { max-width: 760px; }
.home-variant-guidebook .home-hero-grid { grid-template-columns: minmax(310px, .82fr) minmax(0, 1fr); }
.home-variant-guidebook .hero-copy { order: 2; }
.home-variant-guidebook .home-city-media { order: 1; }
.home-variant-compass { background: linear-gradient(160deg, #0f172a, var(--brand)); }
.home-variant-atlas { background: radial-gradient(circle at 80% 20%, rgba(255,255,255,.22), transparent 28%), linear-gradient(120deg, var(--brand), color-mix(in srgb, var(--brand) 55%, #020617)); }
.home-variant-editorial { background: linear-gradient(115deg, color-mix(in srgb, var(--brand) 78%, #111827), #111827); }
.home-variant-editorial .home-hero-grid { grid-template-columns: minmax(0, 1.18fr) minmax(280px, .62fr); }
.home-variant-editorial h1 { font-weight: 650; letter-spacing: -.045em; }
.home-variant-signal { background: repeating-linear-gradient(135deg, rgba(255,255,255,.035) 0 2px, transparent 2px 22px), linear-gradient(125deg, #111827, var(--brand)); }
.home-variant-signal .hero-pill { border-radius: 7px; background: var(--accent); color: #111827; }
.home-variant-trust { background: radial-gradient(circle at 88% 15%, rgba(255,255,255,.2), transparent 28%), linear-gradient(145deg, color-mix(in srgb, var(--brand) 88%, #0f172a), #083344); }
.home-variant-trust .home-city-photo, .home-variant-trust .city-postcard { border-radius: 999px 999px 30px 30px; }
.home-variant-mosaic { background: linear-gradient(130deg, color-mix(in srgb, var(--brand) 72%, #111827), var(--brand)); }
.home-variant-mosaic .home-city-media { transform: rotate(1.2deg); }
.hero-pill { display: inline-flex; align-items: center; gap: 8px; border-radius: 999px; background: rgba(255,255,255,.15); padding: 7px 16px; color: rgba(255,255,255,.92); font-size: 14px; font-weight: 600; backdrop-filter: blur(8px); }
.home-hero h1 { margin: 20px 0 0; max-width: 920px; color: white; font-size: clamp(34px, 5vw, 68px); line-height: 1.02; letter-spacing: -.055em; }
.home-hero p { max-width: 720px; margin: 18px 0 0; color: rgba(255,255,255,.84); font-size: clamp(16px, 2vw, 19px); line-height: 1.65; }
.hero-chips { margin-top: 28px; display: flex; gap: 8px; flex-wrap: wrap; }
.hero-chips a { border: 1px solid rgba(255,255,255,.25); border-radius: 999px; background: rgba(255,255,255,.10); padding: 7px 16px; color: rgba(255,255,255,.9); text-decoration: none; font-size: 14px; transition: background .15s ease; }
.hero-chips a:hover { background: rgba(255,255,255,.20); color: white; }
.home-stat-grid { margin-top: 30px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.home-stat-card { border: 1px solid rgba(255,255,255,.18); border-radius: 18px; background: rgba(255,255,255,.11); padding: 14px; backdrop-filter: blur(10px); }
.home-stat-card strong { display: block; color: white; font-size: 28px; letter-spacing: -.04em; }
.home-stat-card span { display: block; margin-top: 2px; color: rgba(255,255,255,.92); font-size: 12px; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; }
.home-stat-card small { display: block; margin-top: 6px; color: rgba(255,255,255,.68); line-height: 1.35; }
.home-city-media { position: relative; min-height: 420px; }
.home-city-media.with-photos { display: grid; grid-template-columns: 1.2fr .85fr; grid-template-rows: 1fr 1fr; gap: 12px; }
.home-city-photo { width: 100%; height: 100%; object-fit: cover; display: block; border: 1px solid rgba(255,255,255,.22); box-shadow: 0 24px 60px rgba(0,0,0,.28); }
.main-photo { grid-row: span 2; border-radius: 30px; }
.tile-photo { border-radius: 24px; min-height: 0; }
.placeholder-media { display: grid; gap: 12px; }
.city-postcard { min-height: 250px; display: grid; align-content: end; gap: 6px; border: 1px solid rgba(255,255,255,.18); border-radius: 30px; background: linear-gradient(145deg, rgba(255,255,255,.28), rgba(255,255,255,.08)); padding: 24px; box-shadow: 0 24px 60px rgba(0,0,0,.22); backdrop-filter: blur(10px); }
.city-postcard small { color: rgba(255,255,255,.72); font-size: 12px; font-weight: 850; letter-spacing: .12em; text-transform: uppercase; }
.city-postcard strong { max-width: 16rem; color: white; font-size: 34px; line-height: 1; letter-spacing: -.045em; }
.city-postcard.secondary { min-height: 150px; grid-template-columns: repeat(2, minmax(0, 1fr)); align-content: center; }
.city-postcard.secondary span { display: inline-flex; align-items: center; border-radius: 999px; background: rgba(255,255,255,.14); padding: 8px 11px; color: rgba(255,255,255,.86); font-size: 13px; }
.trust-bar { display: flex; align-items: center; justify-content: center; gap: clamp(22px, 4vw, 46px); flex-wrap: wrap; border-bottom: 1px solid var(--line); background: #f9fafb; padding: 15px 1rem; color: #4b5563; font-size: 14px; }
.trust-bar strong { color: #111827; }
.section { padding: var(--section-space) 1rem; background: white; }
.muted-section { background: #f9fafb; }
.section-inner { max-width: 80rem; margin: 0 auto; }
.section-inner.narrow { max-width: 56rem; }
.section-label { margin: 0 0 8px; color: #737373; font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
h1 { margin: 10px 0 0; font-family: var(--font-display); font-size: clamp(36px, 5vw, 60px); line-height: 1.04; letter-spacing: -.045em; }
h2 { margin: 0; font-family: var(--font-display); font-size: clamp(24px, 3vw, 34px); line-height: 1.15; letter-spacing: -.035em; }
h3 { margin: 0; }
p { color: var(--muted); line-height: 1.68; }
.home-intent-grid { margin-top: 26px; display: grid; gap: 14px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.home-intent-card { border: 1px solid var(--line); border-radius: 18px; background: white; padding: 20px; box-shadow: 0 1px 2px rgba(0,0,0,.035); }
.home-intent-card span { display: inline-flex; margin-bottom: 18px; border-radius: 999px; background: var(--soft); padding: 5px 10px; color: var(--brand); font-size: 12px; font-weight: 900; }
.home-intent-card h3 { color: #111827; font-size: 18px; letter-spacing: -.02em; }
.home-intent-card p { margin-bottom: 0; font-size: 14px; }
.home-spotlight-grid { margin-top: 28px; display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
.home-spotlight-card { display: grid; gap: 8px; min-height: 150px; border: 1px solid var(--line); border-radius: 18px; background: linear-gradient(180deg, #fff, #fafafa); padding: 20px; text-decoration: none; box-shadow: 0 1px 2px rgba(0,0,0,.035); transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease; }
.home-spotlight-card:hover { transform: translateY(-2px); border-color: var(--line-strong); box-shadow: 0 12px 28px rgba(0,0,0,.08); }
.home-spotlight-card span { color: var(--brand); font-size: 12px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.home-spotlight-card strong { color: #111827; font-size: 19px; line-height: 1.18; letter-spacing: -.025em; }
.home-spotlight-card small { align-self: end; color: #9ca3af; font-size: 13px; }
.split-section { display: grid; grid-template-columns: minmax(0, .9fr) minmax(260px, 1fr); gap: 28px; align-items: center; }
.zone-chip-grid { display: flex; flex-wrap: wrap; gap: 9px; }
.zone-chip-grid span { border: 1px solid var(--line-strong); border-radius: 999px; background: #fff; padding: 9px 13px; color: #374151; font-size: 13px; font-weight: 800; }
.cards-flat .home-intent-card, .cards-flat .home-spotlight-card, .cards-flat .category-card, .cards-flat .ranking-link-card, .cards-flat .content-block { box-shadow: none; background: #fff; }
.cards-outlined .home-intent-card, .cards-outlined .home-spotlight-card, .cards-outlined .category-card, .cards-outlined .ranking-link-card, .cards-outlined .content-block { border-width: 1.5px; box-shadow: none; }
.cards-elevated .home-intent-card, .cards-elevated .home-spotlight-card, .cards-elevated .category-card, .cards-elevated .ranking-link-card { border-color: color-mix(in srgb, var(--brand) 10%, white); box-shadow: 0 14px 34px rgba(17,24,39,.08); }
.radius-sharp .home-intent-card, .radius-sharp .home-spotlight-card, .radius-sharp .category-card, .radius-sharp .ranking-link-card, .radius-sharp .content-block, .radius-sharp .ranking-card { border-radius: 4px; }
.radius-medium .home-intent-card, .radius-medium .home-spotlight-card, .radius-medium .category-card, .radius-medium .ranking-link-card, .radius-medium .content-block, .radius-medium .ranking-card { border-radius: 14px; }
.radius-soft .home-intent-card, .radius-soft .home-spotlight-card, .radius-soft .category-card, .radius-soft .ranking-link-card, .radius-soft .content-block, .radius-soft .ranking-card { border-radius: 22px; }
.design-urgent-services .section-label { color: var(--brand); }
.design-clinical .muted-section { background: color-mix(in srgb, var(--soft) 35%, white); }
.design-academy .home-methodology-section { border-top: 1px solid var(--line-strong); border-bottom: 1px solid var(--line-strong); background: #fafaf9; }
.design-explorer .home-spotlight-grid { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.design-market .category-icon { border-radius: 999px; }
.category-grid { margin-top: 28px; display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.category-card { display: flex; min-height: 86px; align-items: center; gap: 16px; border: 1px solid var(--line); border-radius: 14px; background: white; padding: 16px; text-decoration: none; box-shadow: 0 1px 2px rgba(0,0,0,.04); transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease; }
.category-card:hover { border-color: var(--line-strong); box-shadow: 0 8px 20px rgba(0,0,0,.08); transform: translateY(-1px); }
.category-icon { display: grid; width: 48px; height: 48px; flex: 0 0 48px; place-items: center; border-radius: 14px; background: var(--brand); color: white; font-size: 21px; font-weight: 800; }
.category-copy { min-width: 0; display: grid; gap: 3px; flex: 1; }
.category-copy strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 16px; color: #111827; }
.category-copy small, .ranking-link-copy small { color: #9ca3af; font-size: 14px; }
.card-arrow { color: #d1d5db; transition: transform .15s ease, color .15s ease; }
.category-card:hover .card-arrow, .ranking-link-card:hover .card-arrow { transform: translateX(2px); color: #9ca3af; }
.ranking-link-grid { margin-top: 28px; display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.ranking-link-card { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 94px; border: 1px solid var(--line); border-radius: 14px; background: white; padding: 18px; text-decoration: none; box-shadow: 0 1px 2px rgba(0,0,0,.035); transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease; }
.ranking-link-card:hover { border-color: var(--line-strong); box-shadow: 0 8px 20px rgba(0,0,0,.08); transform: translateY(-1px); }
.ranking-link-copy { display: grid; gap: 8px; }
.ranking-link-copy strong { color: #111827; font-size: 17px; line-height: 1.25; }
.coming-soon { position: absolute; right: 12px; bottom: 10px; border-radius: 999px; background: #f3f4f6; padding: 4px 8px; color: #6b7280; font-size: 11px; font-weight: 800; text-transform: uppercase; }
.disabled-card { opacity: .58; filter: grayscale(.3); }
.page-hero { max-width: 80rem; margin: 0 auto; padding: 40px 1rem 34px; background: white; }
.page-hero h1 { max-width: 920px; }
.page-hero > p { max-width: 760px; margin-top: 14px; }
.ranking-hero-grid { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(290px, .58fr); gap: clamp(24px, 5vw, 56px); align-items: center; }
.ranking-hero-copy > p { max-width: 760px; margin-top: 14px; }
.ranking-hero-media { position: relative; min-height: 300px; overflow: hidden; border: 1px solid var(--line); border-radius: 24px; background: radial-gradient(circle at 30% 20%, rgba(255,255,255,.8), transparent 30%), linear-gradient(135deg, var(--soft), #eef2ff); box-shadow: 0 18px 52px rgba(17,24,39,.10); }
.ranking-hero-media img { width: 100%; height: 100%; min-height: 300px; object-fit: cover; display: block; }
.ranking-hero-media.no-photo { display: grid; place-items: center; padding: 24px; }
.hero-business-avatar { display: grid; place-items: center; align-content: center; gap: 8px; width: 160px; height: 160px; border: 1px solid rgba(255,255,255,.86); border-radius: 38px; background: rgba(255,255,255,.82); color: var(--brand); box-shadow: 0 16px 38px rgba(17,24,39,.12); }
.hero-business-avatar span { font-size: 64px; font-weight: 950; line-height: 1; }
.hero-business-avatar small { color: #6b7280; font-size: 11px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; text-align: center; }
.ranking-hero-media-caption { position: absolute; left: 16px; right: 16px; bottom: 16px; display: grid; gap: 4px; border: 1px solid rgba(255,255,255,.72); border-radius: 16px; background: rgba(255,255,255,.9); padding: 12px; box-shadow: 0 14px 34px rgba(17,24,39,.14); backdrop-filter: blur(10px); }
.ranking-hero-media-caption span { color: #6b7280; font-size: 11px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.ranking-hero-media-caption strong { color: #111827; line-height: 1.2; }
.breadcrumbs { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; margin-bottom: 24px; font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: #9ca3af; }
.breadcrumbs a { color: #6b7280; text-decoration: none; }
.breadcrumbs a:hover { color: #111827; }
.breadcrumbs span::before { content: '/'; margin-right: 8px; color: #d1d5db; }
.hero-stats { display: flex; gap: 28px; flex-wrap: wrap; margin: 24px 0 0; padding: 0; }
.hero-stats div { display: grid; gap: 4px; }
.hero-stats dt { color: #9ca3af; font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.hero-stats dd { margin: 0; color: #111827; font-size: 18px; font-weight: 800; }
.hero-criteria { display: flex; gap: 10px; flex-wrap: wrap; margin: 24px 0 0; padding: 0; list-style: none; }
.hero-criteria li { border: 1px solid var(--line-strong); border-radius: 999px; background: #fff; padding: 8px 12px; color: #374151; font-size: 13px; font-weight: 800; }
.warning { display: inline-block; background: #fffbeb; color: #92400e; padding: 10px 12px; border-radius: 12px; border: 1px solid #fde68a; }
.methodology { font-size: 14px; color: #6b7280; }
.ranking-toolbar { position: sticky; top: 64px; z-index: 30; display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: rgba(255,255,255,.95); padding: 12px 1rem; backdrop-filter: blur(10px); }
.ranking-toolbar a, .ranking-toolbar span { display: inline-flex; align-items: center; min-height: 32px; border: 1px solid var(--line-strong); border-radius: 9px; background: white; padding: 6px 12px; color: #374151; text-decoration: none; font-size: 14px; font-weight: 800; }
.ranking-toolbar a:hover { border-color: #d1d5db; background: #f9fafb; color: #111827; }
.ranking-v2-decision-grid { max-width: 88rem; margin: 26px auto 0; padding: 0 1rem; }
.ranking-top-strip-inner { border: 1px solid var(--line); border-radius: 20px; background: linear-gradient(180deg, #fff, #fafafa); padding: 22px; box-shadow: 0 1px 2px rgba(0,0,0,.035); }
.top-strip-note { max-width: 34rem; margin: 0; color: #6b7280; font-size: 14px; line-height: 1.55; }
.top-option-grid { margin-top: 18px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.top-option-card { display: grid; gap: 9px; border: 1px solid var(--line); border-radius: 16px; background: #fff; padding: 16px; color: inherit; text-decoration: none; transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease; }
.top-option-card:hover { border-color: var(--line-strong); box-shadow: 0 12px 28px rgba(17,24,39,.08); transform: translateY(-1px); }
.top-option-meta { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.top-option-meta b { display: inline-grid; place-items: center; min-width: 34px; height: 28px; border-radius: 999px; background: var(--soft); color: var(--brand); font-size: 13px; }
.top-option-badges { display: flex; gap: 5px; flex-wrap: wrap; justify-content: flex-end; }
.top-option-badges span { border-radius: 999px; background: #f9fafb; padding: 4px 7px; color: #6b7280; font-size: 11px; font-weight: 850; }
.top-option-card strong { color: #111827; line-height: 1.2; }
.top-option-card p { margin: 0; color: #4b5563; font-size: 13px; line-height: 1.5; }
.top-option-card small { color: #9ca3af; line-height: 1.45; }
.decision-kicker { margin: 0 0 5px; color: var(--brand); font-size: 11px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.pros-cons { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 14px; }
.pros-cons div { border: 1px solid var(--line); border-radius: 12px; background: #f9fafb; padding: 12px; }
.pros-cons strong { color: #111827; font-size: 12px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.pros-cons ul { margin: 8px 0 0; padding-left: 18px; color: #4b5563; font-size: 13px; line-height: 1.55; }
.pros-cons li + li { margin-top: 4px; }
.ranking-layout { max-width: 88rem; margin: 0 auto; padding: 32px 1rem; display: grid; grid-template-columns: 170px minmax(0, 1fr); gap: 32px; }
.ranking-index { position: sticky; top: 128px; align-self: start; max-height: calc(100vh - 10rem); overflow: hidden; }
.ranking-index nav { display: grid; gap: 4px; }
.ranking-index a { display: grid; grid-template-columns: 26px 1fr; gap: 8px; align-items: center; border-radius: 9px; padding: 8px; color: #6b7280; text-decoration: none; font-size: 13px; line-height: 1.2; }
.ranking-index a:hover { background: #f9fafb; color: #111827; }
.ranking-index a span { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 999px; background: #f3f4f6; color: #374151; font-size: 12px; font-weight: 800; }
.stack { display: grid; gap: 16px; }
.ranking-card { display: flex; overflow: hidden; border: 1px solid var(--line); border-radius: 16px; background: white; scroll-margin-top: 140px; transition: box-shadow .2s ease, transform .2s ease, border-color .2s ease; }
.ranking-card:hover { border-color: var(--line-strong); box-shadow: 0 12px 32px -8px rgba(0,0,0,.12), 0 4px 12px -4px rgba(0,0,0,.06); transform: translateY(-2px); }
.rank-media { position: relative; display: grid; place-items: center; width: 230px; min-height: 220px; flex: 0 0 230px; overflow: hidden; background: radial-gradient(circle at 25% 20%, rgba(255,255,255,.75), transparent 28%), linear-gradient(135deg, var(--soft), #eef2ff); }
.business-avatar { display: grid; place-items: center; align-content: center; gap: 4px; width: 118px; height: 118px; border: 1px solid rgba(255,255,255,.82); border-radius: 30px; background: rgba(255,255,255,.82); color: var(--brand); box-shadow: 0 14px 32px rgba(17,24,39,.10); }
.business-avatar span { font-size: 46px; font-weight: 950; line-height: 1; }
.business-avatar small { color: #6b7280; font-size: 11px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.business-photo { width: 100%; height: 100%; object-fit: cover; display: block; }
.rank-badge { position: absolute; left: 12px; top: 12px; display: inline-flex; align-items: center; justify-content: center; min-width: 42px; height: 30px; border-radius: 999px; background: rgba(255,255,255,.96); padding: 0 10px; color: #111827; font-size: 14px; font-weight: 900; box-shadow: 0 1px 3px rgba(0,0,0,.10); }
.rank-gold { background: #fef3c7; color: #92400e; }
.rank-silver { background: #f3f4f6; color: #374151; }
.rank-bronze { background: #fef2e9; color: #7c3520; }
.rank-default { background: white; color: #6b7280; }
.ranking-main { flex: 1; min-width: 0; padding: 20px; }
.ranking-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; }
.ranking-head h2 { font-size: 21px; line-height: 1.2; }
.rating-pill { flex-shrink: 0; color: #111827; font-size: 14px; font-weight: 800; }
.commercial-badges { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 8px; }
.commercial-badge { display: inline-flex; align-items: center; border: 1px solid #fde68a; border-radius: 999px; background: #fffbeb; padding: 4px 9px; color: #92400e; font-size: 12px; font-weight: 800; }
.commercial-note { margin: 7px 0 0; color: #92400e; font-size: 13px; line-height: 1.45; }
.facts { margin: 10px 0 0; color: #6b7280; font-size: 13px; line-height: 1.55; }
.summary { margin: 12px 0 0; color: #4b5563; font-size: 14px; line-height: 1.7; }
.muted-note { color: #9ca3af; font-size: 14px; font-style: italic; }
.links { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 14px; color: #374151; font-size: 13px; }
.links a, .links span { display: inline-flex; align-items: center; gap: 5px; color: #374151; text-decoration: none; font-weight: 700; }
.links a:hover { color: #111827; }
.links .commercial-cta { border: 1px solid #fde68a; border-radius: 999px; background: #fffbeb; padding: 6px 10px; color: #92400e; }
.links .commercial-cta:hover { background: #fef3c7; color: #78350f; }
.mini-badges, .related-grid { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 12px; }
.mini-badge, .related-link { display: inline-flex; border-radius: 7px; background: #f9fafb; padding: 4px 8px; color: #4b5563; text-decoration: none; font-size: 12px; }
.content-block { max-width: 75rem; margin: 28px auto 0; border: 1px solid var(--line); border-radius: 16px; background: white; padding: 24px; }
.content-block h2 { margin-bottom: 14px; }
.service-list { display: grid; grid-template-columns: repeat(auto-fit,minmax(220px,1fr)); gap: 12px; padding: 0; list-style: none; }
.service-list li { display: grid; gap: 6px; padding: 14px; border: 1px solid var(--line); border-radius: 12px; background: #f9fafb; }
.service-list span { color: var(--muted); line-height: 1.55; }
ol { color: var(--muted); line-height: 1.8; }
details { border-top: 1px solid var(--line); padding: 14px 0; }
summary { cursor: pointer; color: #111827; font-weight: 800; }
.faq details:first-of-type { border-top: 0; }
.section-heading-row { display: flex; justify-content: space-between; align-items: flex-start; gap: 18px; flex-wrap: wrap; }
.map-section { padding: 0; overflow: hidden; }
.map-section-v2 { max-width: none; height: 100%; margin: 0; }
.map-section .section-heading-row, .map-section > p, .map-section .map-note { padding-left: 24px; padding-right: 24px; }
.map-section .section-heading-row { padding-top: 24px; }
.map-link { display: inline-flex; align-items: center; min-height: 34px; border: 1px solid var(--line-strong); border-radius: 999px; background: white; padding: 8px 12px; color: #374151; text-decoration: none; font-size: 13px; font-weight: 800; }
.map-link:hover { border-color: #d1d5db; background: #f9fafb; color: #111827; }
.map-embed { position: relative; margin-top: 18px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #f3f4f6; }
.map-placeholder-note { position: absolute; left: 14px; top: 14px; z-index: 2; max-width: calc(100% - 28px); border: 1px solid rgba(255,255,255,.9); border-radius: 999px; background: rgba(255,255,255,.92); padding: 7px 11px; color: #4b5563; font-size: 12px; font-weight: 850; box-shadow: 0 8px 22px rgba(17,24,39,.10); pointer-events: none; }
.map-embed iframe { position: relative; z-index: 1; display: block; width: 100%; height: 420px; border: 0; }
.map-note { margin: 14px 0 20px; color: #6b7280; font-size: 14px; }
.text-page { border: 0; padding: 0; }
.text-page p { max-width: 78ch; }
.site-footer { margin-top: 56px; border-top: 1px solid var(--line); background: white; padding: 34px max(1rem, calc((100vw - 80rem) / 2)); display: grid; grid-template-columns: minmax(220px, 1fr) 2fr; gap: 24px; color: var(--muted); }
.site-footer b { color: #111827; }
.site-footer nav { display: flex; gap: 14px; flex-wrap: wrap; justify-content: flex-end; }
.site-footer a { color: #4b5563; text-decoration: none; font-size: 14px; }
.site-footer a:hover { color: #111827; }

/* Ranking v3 — editorial city-guide presentation */
.ranking-v3 { --ranking-paper: #f7f5f0; --ranking-ink: #17202a; --ranking-warm: #fffdf8; background: var(--ranking-paper); padding-bottom: 64px; }
.ranking-v3 .ranking-hero { max-width: none; margin: 0; border-bottom: 1px solid color-mix(in srgb, var(--brand) 10%, #dedbd4); background: linear-gradient(135deg, var(--ranking-warm), color-mix(in srgb, var(--soft) 34%, white)); padding: clamp(48px, 7vw, 88px) 1rem; }
.ranking-v3 .ranking-hero-grid { width: min(80rem, 100%); margin: 0 auto; grid-template-columns: minmax(0, 1.15fr) minmax(310px, .58fr); }
.ranking-v3 .ranking-hero h1 { max-width: 14ch; color: var(--ranking-ink); font-size: clamp(44px, 5.4vw, 76px); line-height: .98; letter-spacing: -.065em; text-wrap: balance; }
.ranking-v3 .ranking-intro { max-width: 68ch; color: #4b5563; font-size: clamp(17px, 1.4vw, 19px); line-height: 1.72; }
.ranking-v3 .ranking-intro strong { color: var(--ranking-ink); font-weight: 780; box-shadow: inset 0 -.34em color-mix(in srgb, var(--accent) 22%, transparent); }
.ranking-v3 .hero-criteria li { border: 0; background: color-mix(in srgb, var(--soft) 55%, white); padding: 7px 11px; color: color-mix(in srgb, var(--brand) 80%, #111); }
.ranking-v3 .methodology { max-width: 72ch; margin-top: 14px; border-left: 2px solid var(--accent); padding-left: 14px; color: #6b7280; line-height: 1.6; }
.ranking-v3 .ranking-hero-media { min-height: 350px; border: 0; border-radius: 30px 30px 8px 30px; box-shadow: 0 28px 70px rgba(23,32,42,.16); }
.ranking-v3 .ranking-hero-media img { min-height: 350px; }
.ranking-v3 .ranking-hero-media-caption { left: 18px; right: 18px; bottom: 18px; border: 0; border-radius: 12px; background: rgba(255,253,248,.94); }
.ranking-v3 .ranking-toolbar { top: 63px; justify-content: flex-start; gap: 24px; border-top: 0; background: rgba(255,253,248,.94); padding: 13px max(1rem, calc((100vw - 80rem) / 2)); box-shadow: 0 8px 24px rgba(23,32,42,.04); }
.ranking-v3 .ranking-toolbar a { min-height: auto; border: 0; border-radius: 0; background: none; padding: 5px 0; color: #69717d; font-size: 13px; }
.ranking-v3 .ranking-toolbar a:hover { background: none; color: var(--brand); box-shadow: inset 0 -2px var(--accent); }
.ranking-v3 .ranking-v2-decision-grid { max-width: 80rem; margin-top: 0; padding-top: 58px; }
.ranking-v3 .ranking-top-strip-inner { border: 0; border-radius: 0; background: transparent; padding: 0; box-shadow: none; }
.ranking-v3 .section-heading-row h2, .ranking-v3 .ranking-stage-heading h2 { font-size: clamp(30px, 3vw, 46px); letter-spacing: -.045em; }
.ranking-v3 .top-option-grid { grid-template-columns: 1.12fr 1fr 1fr; gap: 14px; margin-top: 26px; }
.ranking-v3 .top-option-card { min-height: 188px; align-content: start; border-color: color-mix(in srgb, var(--brand) 12%, white); border-radius: 18px; background: var(--ranking-warm); padding: 22px; box-shadow: 0 10px 30px rgba(23,32,42,.055); }
.ranking-v3 .top-option-card:first-child { background: var(--ranking-ink); color: white; box-shadow: 0 20px 45px rgba(23,32,42,.18); }
.ranking-v3 .top-option-card:first-child strong, .ranking-v3 .top-option-card:first-child p { color: white; }
.ranking-v3 .top-option-card:first-child .top-option-meta b { background: var(--accent); color: #111827; }
.ranking-v3 .top-option-card strong { margin-top: 10px; font-size: 19px; letter-spacing: -.025em; }
.ranking-v3 .top-option-card p { font-size: 14px; line-height: 1.6; }
.ranking-editorial-stage { width: min(76rem, calc(100% - 2rem)); margin: 72px auto 0; }
.ranking-stage-heading { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 24px; border-bottom: 1px solid #dcd8cf; padding-bottom: 20px; }
.ranking-stage-heading .section-label { margin: 0; }
.ranking-stage-heading h2 { margin: 0; }
.ranking-v3 .stack { gap: 22px; }
.ranking-v3 .ranking-card { display: grid; grid-template-columns: 285px minmax(0, 1fr); overflow: hidden; border-color: color-mix(in srgb, var(--brand) 10%, #dedbd4); border-radius: 22px; background: var(--ranking-warm); box-shadow: 0 12px 38px rgba(23,32,42,.055); }
.ranking-v3 .ranking-card:hover { border-color: color-mix(in srgb, var(--brand) 24%, #dedbd4); box-shadow: 0 20px 48px rgba(23,32,42,.11); }
.ranking-v3 .rank-media { width: auto; min-height: 285px; background: linear-gradient(145deg, color-mix(in srgb, var(--soft) 72%, white), #edf1f4); }
.ranking-v3 .business-avatar { width: auto; height: auto; border: 0; background: none; box-shadow: none; }
.ranking-v3 .business-avatar span { color: color-mix(in srgb, var(--brand) 76%, #111); font-size: 92px; letter-spacing: -.08em; }
.ranking-v3 .business-avatar small { color: color-mix(in srgb, var(--brand) 58%, #6b7280); }
.ranking-v3 .rank-badge { left: 18px; top: 18px; min-width: 48px; height: 36px; border-radius: 10px; font-size: 15px; }
.ranking-v3 .ranking-main { padding: 28px clamp(24px, 4vw, 42px) 26px; }
.ranking-v3 .ranking-head h2 { max-width: 30ch; font-size: clamp(24px, 2.4vw, 34px); letter-spacing: -.04em; }
.ranking-v3 .facts { border-bottom: 1px solid #ebe8e1; padding-bottom: 12px; }
.ranking-v3 .mini-badge { border: 1px solid color-mix(in srgb, var(--brand) 12%, white); border-radius: 999px; background: transparent; padding: 5px 9px; }
.ranking-v3 .summary { max-width: 76ch; margin-top: 18px; color: #4b5563; font-size: 15px; line-height: 1.75; }
.ranking-v3 .editorial-lead { color: var(--ranking-ink); font-weight: 800; }
.ranking-v3 .decision-notes { grid-template-columns: minmax(0, 1.4fr) minmax(220px, .75fr); gap: 20px; margin-top: 22px; border-top: 1px solid #e5e1d9; padding-top: 20px; }
.ranking-v3 .pros-cons > div, .ranking-v3 .pros-cons aside { border: 0; border-radius: 0; background: none; padding: 0; }
.ranking-v3 .pros-cons strong { color: var(--ranking-ink); }
.ranking-v3 .strengths ul { display: grid; gap: 10px; margin: 12px 0 0; padding: 0; list-style: none; }
.ranking-v3 .strengths li { display: grid; grid-template-columns: 22px 1fr; gap: 9px; align-items: start; }
.ranking-v3 .strengths li > span { display: grid; width: 20px; height: 20px; place-items: center; border-radius: 50%; background: var(--soft); color: var(--brand); font-size: 11px; font-weight: 900; }
.ranking-v3 .strengths li p { margin: 0; color: #4b5563; font-size: 13px; line-height: 1.55; }
.ranking-v3 .before-call { border-radius: 14px !important; background: color-mix(in srgb, var(--soft) 42%, white) !important; padding: 16px !important; }
.ranking-v3 .before-call ul { margin: 10px 0 0; padding-left: 17px; color: #4b5563; font-size: 13px; line-height: 1.55; }
.ranking-v3 .links { border-top: 1px solid #ebe8e1; padding-top: 14px; }
.ranking-v3 .content-block { max-width: 75rem; margin-top: 0; border: 0; border-top: 1px solid #dcd8cf; border-radius: 0; background: transparent; padding: 52px 0; }
.ranking-v3 .content-block h2 { font-size: clamp(30px, 3vw, 44px); letter-spacing: -.045em; }
.ranking-v3 .service-list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 32px; counter-reset: ranking-service; }
.ranking-v3 .service-list li { counter-increment: ranking-service; grid-template-columns: 44px 1fr; gap: 14px; border: 0; border-top: 1px solid #dedbd4; border-radius: 0; background: transparent; padding: 20px 0; }
.ranking-v3 .service-list li::before { content: counter(ranking-service, decimal-leading-zero); color: var(--brand); font-size: 12px; font-weight: 900; letter-spacing: .08em; }
.ranking-v3 .service-list li div { display: grid; gap: 6px; }
.ranking-v3 #como-elegir ol { display: grid; gap: 14px; margin: 22px 0 0; padding: 0; list-style: none; counter-reset: guide-step; }
.ranking-v3 #como-elegir li { counter-increment: guide-step; position: relative; border-left: 2px solid color-mix(in srgb, var(--brand) 22%, #ddd); padding: 4px 0 4px 48px; color: #4b5563; line-height: 1.65; }
.ranking-v3 #como-elegir li::before { content: counter(guide-step, decimal-leading-zero); position: absolute; left: 14px; top: 5px; color: var(--brand); font-size: 12px; font-weight: 900; }
.ranking-v3 .faq details { border-color: #dcd8cf; padding: 18px 0; }
.ranking-v3 .faq summary { font-size: 17px; }
.ranking-v3 .faq details p { max-width: 76ch; color: #5b6470; line-height: 1.7; }
.ranking-v3 .related-link { border: 1px solid #dedbd4; border-radius: 999px; background: var(--ranking-warm); padding: 9px 13px; }
.ranking-v3 .map-section { display: grid; grid-template-columns: minmax(260px, .72fr) minmax(0, 1.28fr); gap: 0 34px; max-width: 80rem; margin: 72px auto 0; border: 1px solid #dedbd4; border-radius: 24px; background: var(--ranking-warm); padding: 28px; }
.ranking-v3 .map-section .section-heading-row { grid-column: 1; padding: 0; }
.ranking-v3 .map-section > p:not(.map-note) { grid-column: 1; padding: 0; color: #66707c; line-height: 1.7; }
.ranking-v3 .map-section .map-embed { grid-column: 2; grid-row: 1 / span 3; align-self: stretch; margin: 0; overflow: hidden; border: 0; border-radius: 16px; }
.ranking-v3 .map-section .map-embed iframe { height: 100%; min-height: 390px; }
.ranking-v3 .map-section .map-note { grid-column: 1; margin: 12px 0 0; padding: 0; }

@media (max-width: 980px) {
  .home-hero-grid, .home-variant-editorial .home-hero-grid, .home-variant-guidebook .home-hero-grid { grid-template-columns: 1fr; }
  .home-variant-mosaic .home-city-media { transform: none; }
  .home-variant-guidebook .hero-copy, .home-variant-guidebook .home-city-media { order: initial; }
  .home-city-media { min-height: 320px; }
  .home-intent-grid { grid-template-columns: 1fr; }
  .split-section { grid-template-columns: 1fr; }
  .ranking-hero-grid { grid-template-columns: 1fr; }
  .ranking-hero-media { min-height: 240px; }
  .ranking-hero-media img { min-height: 240px; }
  .ranking-layout { grid-template-columns: 1fr; }
  .ranking-v2-decision-grid { grid-template-columns: 1fr; }
  .quick-pick-grid { grid-template-columns: 1fr; }
  .ranking-index { display: none; }
  .ranking-v3 .ranking-hero-grid { grid-template-columns: 1fr; }
  .ranking-v3 .ranking-hero-media { min-height: 280px; }
  .ranking-v3 .top-option-grid { grid-template-columns: 1fr; }
  .ranking-v3 .top-option-card { min-height: auto; }
  .ranking-v3 .ranking-card { grid-template-columns: 230px minmax(0, 1fr); }
  .ranking-v3 .decision-notes { grid-template-columns: 1fr; }
  .ranking-v3 .map-section { grid-template-columns: 1fr; gap: 20px; }
  .ranking-v3 .map-section .section-heading-row,
  .ranking-v3 .map-section > p:not(.map-note),
  .ranking-v3 .map-section .map-embed,
  .ranking-v3 .map-section .map-note { grid-column: 1; grid-row: auto; }
}
@media (max-width: 760px) {
  .topbar { align-items: flex-start; flex-direction: column; padding-top: 12px; padding-bottom: 12px; }
  .topnav { gap: 2px; font-size: 13px; }
  .home-hero-grid { padding-top: 40px; padding-bottom: 44px; }
  .home-hero h1, h1 { font-size: 36px; }
  .home-stat-grid { grid-template-columns: 1fr; }
  .home-city-media.with-photos { grid-template-columns: 1fr; grid-template-rows: auto; }
  .main-photo, .tile-photo { grid-row: auto; min-height: 170px; }
  .city-postcard.secondary { grid-template-columns: 1fr; }
  .ranking-card { flex-direction: column; }
  .rank-media { width: 100%; min-height: 150px; flex-basis: auto; }
  .ranking-head { flex-direction: column; }
  .pros-cons { grid-template-columns: 1fr; }
  .comparison-table { min-width: 560px; }
  .ranking-toolbar { top: 90px; }
  .site-footer { grid-template-columns: 1fr; }
  .site-footer nav { justify-content: flex-start; }
  .ranking-v3 .ranking-hero { padding-top: 42px; }
  .ranking-v3 .ranking-hero h1 { font-size: clamp(39px, 12vw, 54px); }
  .ranking-v3 .ranking-toolbar { top: 106px; flex-wrap: nowrap; overflow-x: auto; padding-inline: 1rem; }
  .ranking-v3 .ranking-toolbar a { flex: 0 0 auto; }
  .ranking-editorial-stage { margin-top: 52px; }
  .ranking-stage-heading { display: block; }
  .ranking-stage-heading h2 { margin-top: 5px; }
  .ranking-v3 .ranking-card { grid-template-columns: 1fr; }
  .ranking-v3 .rank-media { min-height: 210px; }
  .ranking-v3 .ranking-main { padding: 24px 20px; }
  .ranking-v3 .service-list { grid-template-columns: 1fr; }
  .ranking-v3 .content-block { width: calc(100% - 2rem); padding: 42px 0; }
  .ranking-v3 .map-section { width: calc(100% - 2rem); margin-top: 52px; padding: 20px; }
  .ranking-v3 .map-section .map-embed iframe { min-height: 310px; }
}
