/* Siifter SEO landing-page engine — shared styling.
   Loaded by every /keyword-near-me/ page. Keep this file in sync with the
   main app's color/typography tokens (index.html) by eye — it's a separate
   file on purpose (index.html is the master file and is never touched by
   this project), so a rebrand needs updating in both places. */
:root{
  --ink:#0d1b3b; --blue:#1762d8; --bg:#f6f8fb; --surface:#ffffff;
  --border:#e7ecf3; --border-soft:#eef2f6; --text:#0d1b3b; --text-muted:#68728a;
  --text-faint:#6c7688; --shadow:0 12px 32px rgba(22,43,78,.10);
}
@media (prefers-color-scheme: dark){
  :root:not([data-theme="light"]){
    --bg:#0b1220; --surface:#131c30; --border:#232f47; --border-soft:#1c2740;
    --text:#eef2f8; --text-muted:#a7b1c4; --text-faint:#8a93a8;
  }
}
:root[data-theme="dark"]{
  --bg:#0b1220; --surface:#131c30; --border:#232f47; --border-soft:#1c2740;
  --text:#eef2f8; --text-muted:#a7b1c4; --text-faint:#8a93a8;
}
*{box-sizing:border-box}
body{margin:0;background:var(--bg);color:var(--text);font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif}
a{color:inherit}
.wrap{width:min(1100px,calc(100% - 28px));margin:auto}
header{height:72px;background:var(--surface);display:flex;align-items:center;border-bottom:1px solid var(--border-soft);position:sticky;top:0;z-index:20}
.nav{display:flex;align-items:center;justify-content:space-between}
.brand{display:flex;align-items:center;gap:10px;font-weight:900;font-size:20px;color:var(--text);text-decoration:none}
.brandmark svg{display:block}
.homeLink{border:1px solid var(--blue);background:var(--blue);color:#fff;border-radius:999px;padding:10px 17px;font-weight:900;font-size:13px;text-decoration:none;white-space:nowrap;box-shadow:0 6px 16px rgba(23,98,216,.18)}
.homeLink:hover{filter:brightness(.96);transform:translateY(-1px)}

.seo-hero{padding:40px 0 28px;border-bottom:1px solid var(--border-soft)}
.seo-breadcrumb{font-size:12px;color:var(--text-faint);margin:0 0 14px}
.seo-breadcrumb a{text-decoration:none;color:var(--text-faint)}
.seo-breadcrumb a:hover{text-decoration:underline}
.seo-hero h1{font-size:34px;line-height:1.1;margin:0 0 12px;letter-spacing:-.02em;color:var(--text)}
.seo-hero .lede{font-size:16px;color:var(--text-muted);max-width:680px;margin:0 0 24px;line-height:1.6}

.searchBar{position:relative;display:flex;gap:10px;flex-wrap:wrap;background:var(--surface);border:1px solid var(--border);border-radius:16px;padding:14px;box-shadow:var(--shadow)}
.searchBar input{flex:1 1 220px;min-width:0;border:1px solid var(--border);border-radius:10px;padding:12px 14px;font-size:14px;font-family:inherit;color:var(--text);background:var(--surface)}
.searchBar button{border:0;border-radius:10px;padding:12px 18px;font-weight:800;cursor:pointer;font-size:14px;white-space:nowrap}
.useLocBtn{background:var(--surface);border:1px solid var(--border) !important;color:var(--text)}
.goBtn{background:var(--blue);color:#fff}
.goBtn:disabled{opacity:.6;cursor:default}
.loc-suggest{position:absolute;top:100%;left:14px;right:14px;margin-top:6px;background:var(--surface);border:1px solid var(--border);border-radius:12px;box-shadow:var(--shadow);z-index:10;overflow:hidden}
.loc-suggest[hidden]{display:none}
.loc-suggest-item{display:block;width:100%;text-align:left;border:0;background:none;padding:10px 14px;font-size:13px;color:var(--text);cursor:pointer;font-family:inherit}
.loc-suggest-item:hover{background:var(--border-soft)}

.seo-status{font-size:13px;color:var(--text-faint);margin:14px 2px 0;min-height:18px}

.seo-results{display:grid;grid-template-columns:1.15fr .85fr;gap:14px;align-items:start;margin:26px 0}
.seo-results[hidden]{display:none}
@media(max-width:820px){.seo-results{grid-template-columns:1fr}}
.seo-list{display:flex;flex-direction:column;gap:10px}
.seo-card{border:1px solid var(--border);border-radius:13px;padding:14px;display:grid;grid-template-columns:60px 1fr;gap:12px;background:var(--surface)}
.seo-card .thumb{width:60px;height:60px;border-radius:10px;background:linear-gradient(135deg,#c2c9d2,#f3f5f7);display:grid;place-items:center;font-size:24px}
.seo-card img.thumb{object-fit:cover;flex:0 0 auto}
.seo-card h3{margin:0 0 4px;font-size:14px;color:var(--text)}
.seo-card .meta{font-size:11px;color:var(--text-faint);line-height:1.5}
.seo-card .rating{color:#f19b16;font-weight:700}
.seo-card .open-yes{color:#21854f;font-weight:800}
.seo-card .open-no{color:#a1281f;font-weight:800}
.seo-card .actions{margin-top:8px;display:flex;gap:8px;flex-wrap:wrap}
.seo-card .actions a,.seo-card .actions button{border:1px solid var(--border);background:var(--surface);color:var(--text);border-radius:999px;padding:6px 11px;font-size:11px;font-weight:800;text-decoration:none;font-family:inherit;cursor:pointer;white-space:nowrap}
.seo-card .actions a:hover,.seo-card .actions button:hover{border-color:var(--blue);color:var(--blue)}
.seo-card .actions button.active{background:var(--blue);border-color:var(--blue);color:#fff}

.seo-detail{margin-top:10px;padding:10px 12px;background:var(--border-soft);border:1px solid var(--border);border-radius:10px;font-size:11px;color:var(--text-faint);line-height:1.6}
.seo-detail[hidden]{display:none}
.detail-status{margin-bottom:4px;font-size:12px}
.detail-photos{display:flex;gap:6px;margin:8px 0;overflow-x:auto;-webkit-overflow-scrolling:touch}
.detail-photos img{width:84px;height:72px;object-fit:cover;border-radius:8px;flex:0 0 auto;background:var(--border-soft)}
.detail-hours-row{display:flex;justify-content:space-between;gap:10px}
.detail-hours-row.today{color:var(--text);font-weight:800}
.detail-addr{margin-top:6px;color:var(--text)}
.detail-maps-link{display:inline-block;margin-top:8px;margin-right:12px;color:var(--blue);font-weight:800;text-decoration:none;font-size:11px}
.detail-maps-link:hover{text-decoration:underline}

/* "Add to Trip" — Drinks & Experiences / Things to Do pages only. Ported
   from the main app's My Trip builder; see seo-engine.js's initTripUi(). */
.pour-action{margin-top:10px;display:flex}
.pourAdd{border:1px solid #d8c3e0;background:#faf5fc;color:#7d3cc4;border-radius:999px;padding:7px 12px;font-size:11px;font-weight:800;cursor:pointer;font-family:inherit}
.pourAdd.added{background:#7d3cc4;color:#fff;border-color:#7d3cc4}
.pourAdd.teal{border-color:#a9dade;background:#eafbfc;color:#168b93}
.pourAdd.teal.added{background:#168b93;color:#fff;border-color:#168b93}
.pourFloat{position:fixed;right:22px;bottom:22px;z-index:90;border:0;background:#7d3cc4;color:#fff;border-radius:999px;padding:14px 18px;box-shadow:0 14px 32px rgba(125,60,196,.32);font-weight:900;cursor:pointer;display:none;font-family:inherit;font-size:14px}
.pourFloat.teal{background:#168b93;box-shadow:0 14px 32px rgba(22,139,147,.32)}
.pourFloat.show{display:block}
.pourPanel{position:fixed;right:22px;bottom:80px;z-index:89;width:min(390px,calc(100vw - 30px));max-height:70vh;overflow:auto;background:var(--surface);border:1px solid var(--border);border-radius:22px;box-shadow:var(--shadow);padding:18px;display:none}
.pourPanel.show{display:block}
.pourHead{display:flex;align-items:center;justify-content:space-between;gap:12px}
.pourHead h3{margin:0;font-size:1.05rem;color:var(--text)}
.pourHead .meta{color:var(--text-faint);font-size:.82rem;margin-top:2px}
.pourClose{border:0;background:transparent;font-size:1.25rem;cursor:pointer;color:var(--text)}
.pourList{display:grid;gap:8px;margin:14px 0}
.pourStop{display:flex;align-items:flex-start;gap:10px;border:1px solid var(--border);background:var(--border-soft);border-radius:14px;padding:10px}
.stopNum{width:26px;height:26px;border-radius:50%;background:#7d3cc4;color:#fff;display:grid;place-items:center;font-size:.76rem;font-weight:900;flex:0 0 auto}
.pourPanel.teal .stopNum{background:#168b93}
.stopText{flex:1}
.stopText strong{display:block;font-size:.9rem;color:var(--text)}
.stopText small{display:block;color:var(--text-faint);margin-top:2px}
.removeStop{border:0;background:transparent;color:var(--text-faint);cursor:pointer;font-size:1rem}
.pourEmpty{color:var(--text-faint);font-size:.85rem;line-height:1.5}
.pourActions{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.pourActions button,.pourActions a{border:1px solid var(--border);border-radius:12px;padding:11px;text-align:center;text-decoration:none;font-weight:900;background:var(--surface);cursor:pointer;color:var(--text);font-family:inherit;font-size:13px}
.pourActions .route{background:#7d3cc4;color:#fff;border-color:#7d3cc4}
.pourPanel.teal .pourActions .route{background:#168b93;border-color:#168b93}
.pourActions .route[aria-disabled="true"]{opacity:.45;pointer-events:none}
@media(max-width:560px){.pourFloat{right:15px;bottom:15px}.pourPanel{right:15px;bottom:72px}}

.seo-map-col{min-width:0;align-self:stretch;border-radius:14px;overflow:hidden;position:relative;display:flex;flex-direction:column;background:linear-gradient(90deg,#dbe6ee 1px,transparent 1px),linear-gradient(#dbe6ee 1px,transparent 1px),linear-gradient(135deg,#eaf0f3,#d9e8dd);background-size:34px 34px,34px 34px,auto}
@media (prefers-color-scheme: dark){:root:not([data-theme="light"]) .seo-map-col{background:linear-gradient(90deg,#25324a 1px,transparent 1px),linear-gradient(#25324a 1px,transparent 1px),linear-gradient(135deg,#101a26,#132118);background-size:34px 34px,34px 34px,auto}}
:root[data-theme="dark"] .seo-map-col{background:linear-gradient(90deg,#25324a 1px,transparent 1px),linear-gradient(#25324a 1px,transparent 1px),linear-gradient(135deg,#101a26,#132118);background-size:34px 34px,34px 34px,auto}
.seo-map{position:relative;min-height:260px;height:420px;flex:0 0 auto}
.seo-map img{display:block;width:100%;height:100%;object-fit:cover}
.seo-pin{position:absolute;width:27px;height:27px;border-radius:50%;background:var(--blue);color:#fff;display:grid;place-items:center;font-size:11px;font-weight:900;box-shadow:0 6px 14px rgba(23,98,216,.3);transform:translate(-50%,-50%)}

.seo-empty{border:1px dashed var(--border);border-radius:13px;padding:28px 16px;text-align:center;font-size:13px;color:var(--text-faint);background:var(--surface)}

.seo-section{padding:36px 0;border-top:1px solid var(--border-soft)}
.seo-section h2{font-size:22px;margin:0 0 14px;color:var(--text)}
.seo-section p{font-size:14.5px;line-height:1.7;color:var(--text-muted);margin:0 0 14px;max-width:760px}

.seo-faq{border-top:1px solid var(--border-soft)}
.seo-faq-item{border-bottom:1px solid var(--border-soft);padding:16px 0}
.seo-faq-item h3{font-size:15px;margin:0 0 8px;color:var(--text)}
.seo-faq-item p{font-size:13.5px;line-height:1.6;color:var(--text-muted);margin:0}

.seo-related{display:flex;flex-wrap:wrap;gap:8px}
.seo-related a{border:1px solid var(--border);background:var(--surface);color:var(--text);border-radius:999px;padding:8px 14px;font-size:12.5px;font-weight:700;text-decoration:none}
.seo-related a:hover{border-color:var(--blue);color:var(--blue)}

.seo-cta{background:var(--blue);border-radius:20px;padding:34px 28px;text-align:center;color:#fff;margin:36px 0}
.seo-cta h2{margin:0 0 8px;font-size:22px}
.seo-cta p{margin:0 0 18px;opacity:.92;font-size:14px}
.seo-cta a{display:inline-block;background:#fff;color:var(--blue);border-radius:999px;padding:12px 22px;font-weight:900;text-decoration:none;font-size:14px}

footer{border-top:1px solid var(--border-soft);padding:26px 0;text-align:center;font-size:12px;color:var(--text-faint)}
footer a{color:var(--text-faint)}


/* Main-site discovery bridge: keeps SEO landing pages useful while clearly
   inviting visitors into Siifter's broader search experience. */
.siifter-discovery{margin:22px 0 26px;padding:20px 22px;border:1px solid #cfe0ff;border-radius:18px;background:linear-gradient(135deg,#edf4ff,#ffffff);display:flex;align-items:center;justify-content:space-between;gap:22px;box-shadow:0 8px 24px rgba(23,98,216,.08)}
.siifter-discovery-copy{display:flex;flex-direction:column;gap:5px;min-width:0}
.siifter-discovery-copy strong{font-size:17px;line-height:1.25;color:#0d1b3b}
.siifter-discovery-copy span{font-size:13.5px;line-height:1.55;color:#58657b;max-width:690px}
.siifter-discovery-btn{flex:0 0 auto;display:inline-block;background:var(--blue);color:#fff;border-radius:999px;padding:12px 18px;font-size:13px;font-weight:900;text-decoration:none;white-space:nowrap;box-shadow:0 8px 18px rgba(23,98,216,.20)}
.siifter-discovery-btn:hover{filter:brightness(.96);transform:translateY(-1px)}
@media (prefers-color-scheme: dark){:root:not([data-theme="light"]) .siifter-discovery{background:linear-gradient(135deg,#142443,#131c30);border-color:#29446f}:root:not([data-theme="light"]) .siifter-discovery-copy strong{color:#eef2f8}:root:not([data-theme="light"]) .siifter-discovery-copy span{color:#a7b1c4}}
:root[data-theme="dark"] .siifter-discovery{background:linear-gradient(135deg,#142443,#131c30);border-color:#29446f}
:root[data-theme="dark"] .siifter-discovery-copy strong{color:#eef2f8}
:root[data-theme="dark"] .siifter-discovery-copy span{color:#a7b1c4}
@media(max-width:700px){.siifter-discovery{align-items:stretch;flex-direction:column;padding:18px}.siifter-discovery-btn{text-align:center;width:100%}.homeLink{padding:9px 13px;font-size:12px}}
