/* =============================================================================
   Playa del Rey Local — styles
   Coastal theme, responsive, light + dark aware.
   ============================================================================= */

:root {
  --ocean-900: #0a2a43;
  --ocean-700: #0e4b6e;
  --ocean-500: #1583b8;
  --ocean-300: #6bc5e8;
  --sand: #f5ecd9;
  --sand-deep: #e9d9b8;
  --sunset: #ff7a45;
  --sunset-deep: #e8562a;
  --gold: #f4b740;
  --silver: #b9c2cc;
  --bronze: #cd8b52;

  --bg: #f4f8fb;
  --surface: #ffffff;
  --surface-2: #f0f5f9;
  --text: #14212c;
  --text-soft: #55646f;
  --border: #dbe6ee;
  --shadow: 0 6px 24px rgba(10, 42, 67, 0.08);
  --shadow-lg: 0 14px 40px rgba(10, 42, 67, 0.14);
  --radius: 16px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0a1620;
    --surface: #12222f;
    --surface-2: #0e1c27;
    --text: #eaf2f8;
    --text-soft: #9db0be;
    --border: #21384a;
    --shadow: 0 6px 24px rgba(0, 0, 0, 0.35);
    --shadow-lg: 0 14px 40px rgba(0, 0, 0, 0.5);
  }
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: "Helvetica Neue", Helvetica, Arial, "Segoe UI", Roboto, system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--ocean-500); }

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 20px; }

/* ---------- Header / Hero ---------- */
.hero {
  position: relative;
  background:
    radial-gradient(1200px 400px at 80% -20%, rgba(255, 122, 69, 0.35), transparent 60%),
    linear-gradient(160deg, var(--ocean-900), var(--ocean-700) 55%, var(--ocean-500));
  color: #fff;
  padding: 30px 0 120px;
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -1px; height: 70px;
  background: var(--bg);
  clip-path: polygon(0 100%, 100% 100%, 100% 40%, 75% 65%, 50% 35%, 25% 62%, 0 30%);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; flex-wrap: wrap;
}
.brand { display: flex; align-items: center; gap: 12px; font-weight: 800; font-size: 20px; letter-spacing: .2px; }
.brand .logo {
  width: 40px; height: 40px; border-radius: 12px;
  display: grid; place-items: center; font-size: 22px;
  background: rgba(255,255,255,.14); backdrop-filter: blur(6px);
}
.nav-links { display: flex; gap: 6px; flex-wrap: wrap; }
.nav-links a {
  color: #eaf6ff; text-decoration: none; font-weight: 600; font-size: 14px;
  padding: 8px 12px; border-radius: 999px;
}
.nav-links a:hover { background: rgba(255,255,255,.14); }
.nav-links a.cta { background: var(--sunset); color: #fff; }
.nav-links a.cta:hover { background: var(--sunset-deep); }

.hero-copy { position: relative; z-index: 1; max-width: 720px; margin-top: 48px; }
.eyebrow {
  display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: 1.5px;
  text-transform: uppercase; color: var(--ocean-300); margin-bottom: 12px;
}
.hero h1 { font-size: clamp(30px, 5vw, 52px); line-height: 1.05; margin: 0 0 14px; font-weight: 850; }
.hero p { font-size: clamp(16px, 2vw, 19px); color: #d7ecf7; margin: 0 0 24px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.btn {
  display: inline-flex; align-items: center; gap: 8px; text-decoration: none;
  font-weight: 700; padding: 12px 20px; border-radius: 999px; border: 0; cursor: pointer;
  font-size: 15px;
}
.btn-primary { background: var(--sunset); color: #fff; }
.btn-primary:hover { background: var(--sunset-deep); }
.btn-ghost { background: rgba(255,255,255,.12); color: #fff; }
.btn-ghost:hover { background: rgba(255,255,255,.22); }

/* ---------- Category filter chips ---------- */
.controls { margin: -60px 0 8px; position: relative; z-index: 2; }
.chips {
  display: flex; gap: 8px; overflow-x: auto; padding: 6px 2px 14px;
  -webkit-overflow-scrolling: touch; scrollbar-width: thin;
}
.chip {
  white-space: nowrap; border: 1px solid var(--border); background: var(--surface);
  color: var(--text); padding: 9px 14px; border-radius: 999px; font-weight: 600;
  font-size: 14px; cursor: pointer; box-shadow: var(--shadow); transition: .15s;
}
.chip:hover { transform: translateY(-1px); }
.chip.active { background: var(--ocean-700); color: #fff; border-color: var(--ocean-700); }

/* ---------- Category sections ---------- */
.category { margin: 40px 0; scroll-margin-top: 20px; }
.category-head { display: flex; align-items: center; gap: 14px; margin-bottom: 6px; }
.category-icon {
  width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center;
  font-size: 26px; background: var(--surface-2); box-shadow: var(--shadow);
}
.category-head h2 { margin: 0; font-size: 24px; font-weight: 800; }
.category-blurb { color: var(--text-soft); margin: 0 0 18px; }

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
@media (max-width: 860px) { .cards { grid-template-columns: 1fr; } }

.card {
  position: relative; background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow);
  transition: transform .15s, box-shadow .15s; display: flex; flex-direction: column;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.rank {
  position: absolute; top: -12px; left: 18px; width: 30px; height: 30px; border-radius: 50%;
  display: grid; place-items: center; font-weight: 800; font-size: 14px; color: #3a2a06;
  box-shadow: var(--shadow);
}
.rank-1 { background: var(--gold); }
.rank-2 { background: var(--silver); }
.rank-3 { background: var(--bronze); color: #fff; }

.card h3 { margin: 8px 0 6px; font-size: 18px; }
.stars { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; font-size: 14px; }
.stars .val { font-weight: 800; }
.stars .count { color: var(--text-soft); }
.star-row { color: var(--gold); letter-spacing: 1px; }
.card .note { color: var(--text-soft); font-size: 14px; margin: 0 0 16px; flex: 1; }
.card-actions { display: flex; gap: 8px; flex-wrap: wrap; margin-top: auto; }
.pill {
  display: inline-flex; align-items: center; gap: 6px; text-decoration: none;
  font-weight: 700; font-size: 13px; padding: 8px 12px; border-radius: 999px;
}
.pill-call { background: var(--ocean-700); color: #fff; }
.pill-web { background: var(--surface-2); color: var(--text); border: 1px solid var(--border); }
.badge-nolink {
  font-size: 12px; font-weight: 700; color: var(--sunset-deep);
  background: rgba(255,122,69,.12); padding: 6px 10px; border-radius: 999px;
}

/* ---------- Coming soon verticals ---------- */
.verticals { margin: 56px 0; }
.verticals h2 { font-size: 24px; margin: 0 0 6px; }
.vgrid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 18px; }
@media (max-width: 860px) { .vgrid { grid-template-columns: repeat(2, 1fr); } }
.vcard {
  background: var(--surface); border: 1px dashed var(--border); border-radius: 14px;
  padding: 18px; text-align: center;
}
.vcard .emoji { font-size: 28px; }
.vcard .t { font-weight: 700; margin-top: 6px; }
.vcard .s { font-size: 12px; color: var(--text-soft); }

/* ---------- Footer ---------- */
.foot { background: var(--surface-2); border-top: 1px solid var(--border); margin-top: 60px; padding: 30px 0; }
.foot .wrap { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; color: var(--text-soft); font-size: 14px; }
.disclaimer {
  background: var(--surface); border: 1px solid var(--border); border-radius: 12px;
  padding: 14px 16px; font-size: 13px; color: var(--text-soft); margin: 24px 0;
}
.disclaimer b { color: var(--text); }

/* ---------- Outreach table page ---------- */
.page-head { padding: 30px 0 10px; }
.page-head h1 { margin: 0 0 6px; font-size: clamp(26px, 4vw, 38px); }
.page-head p { color: var(--text-soft); margin: 0; }
.table-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow); background: var(--surface); }
table { width: 100%; border-collapse: collapse; min-width: 680px; }
th, td { text-align: left; padding: 14px 16px; border-bottom: 1px solid var(--border); font-size: 14px; }
th { background: var(--surface-2); font-size: 12px; text-transform: uppercase; letter-spacing: .5px; color: var(--text-soft); position: sticky; top: 0; }
tr:last-child td { border-bottom: 0; }
tr:hover td { background: var(--surface-2); }
.tag { display: inline-block; background: var(--ocean-700); color: #fff; font-size: 11px; font-weight: 700; padding: 3px 9px; border-radius: 999px; }
.rating-cell { font-weight: 800; color: var(--ocean-500); }
.count-cell { color: var(--text-soft); font-size: 12px; }

/* =============================================================================
   UBER-STYLE HOMEPAGE (ub-*) — clean black/white, Helvetica family
   ============================================================================= */
:root{
  --ub-ink:#000000; --ub-ink2:#1a1a1a; --ub-paper:#ffffff;
  --ub-field:#eeeeee; --ub-field-2:#e2e2e2; --ub-mut:#6b6b6b; --ub-line:#e6e6e6;
  --ub-accent:#00c2a8;
}
.ub-nav, .ub-hero, .ub-explore, body:has(.ub-nav){ background:#fff; color:#000; }
body:has(.ub-nav){ color:#000; }

/* nav */
.ub-nav{ position:sticky; top:0; z-index:50; background:#fff; border-bottom:1px solid var(--ub-line); }
.ub-nav-inner{ max-width:1180px; margin:0 auto; padding:14px 24px; display:flex; align-items:center; justify-content:space-between; gap:20px; }
.ub-nav-left{ display:flex; align-items:center; gap:26px; }
.ub-word{ font-size:24px; font-weight:800; letter-spacing:-.03em; color:#000; text-decoration:none; }
.ub-links{ display:flex; gap:20px; }
.ub-links a{ color:#000; text-decoration:none; font-size:15px; font-weight:600; }
.ub-links a:hover{ color:var(--ub-mut); }
.ub-nav-right{ display:flex; align-items:center; gap:18px; }
.ub-link-plain{ color:#000; text-decoration:none; font-size:15px; font-weight:600; }
.ub-link-plain:hover{ color:var(--ub-mut); }
@media(max-width:760px){ .ub-links, .ub-nav-right .ub-link-plain{ display:none; } }

/* buttons — shared look across the site */
.ub-btn{ display:inline-flex; align-items:center; justify-content:center; border:none; cursor:pointer;
  font:inherit; font-weight:700; font-size:17px; border-radius:10px; padding:16px 24px; text-decoration:none;
  transition:transform .04s, background .15s, opacity .15s; }
.ub-btn:active{ transform:scale(.99); }
.ub-btn-sm{ font-size:15px; padding:11px 18px; }
.ub-btn-dark{ background:#000; color:#fff; }
.ub-btn-dark:hover{ background:#2a2a2a; }
.ub-btn-light{ background:#fff; color:#000; }
.ub-btn-light:hover{ background:#f1f1f1; }

/* hero */
.ub-hero{ padding:20px 0 40px; }
.ub-hero-wrap{ max-width:1180px; margin:0 auto; padding:24px; display:grid; grid-template-columns:1fr 1fr; gap:40px; align-items:center; }
@media(max-width:900px){ .ub-hero-wrap{ grid-template-columns:1fr; gap:24px; } }
.ub-loc{ display:inline-flex; align-items:center; gap:7px; font-size:15px; font-weight:600; color:#000; margin-bottom:14px; }
.ub-h1{ font-size:clamp(40px, 6vw, 60px); line-height:1.02; letter-spacing:-.03em; font-weight:800; margin:0 0 26px; color:#000; }
.ub-h2{ font-size:clamp(26px,4vw,34px); letter-spacing:-.02em; font-weight:800; margin:0 0 8px; color:#000; }

/* the bid module */
.ub-module{ max-width:440px; }
.ub-pill{ display:inline-flex; align-items:center; gap:8px; background:#eeeeee; border:none; cursor:pointer;
  font:inherit; font-weight:700; font-size:15px; color:#000; padding:11px 16px; border-radius:999px; margin-bottom:12px; }
.ub-pill .chev{ margin-left:2px; }
.ub-field{ display:flex; align-items:center; gap:12px; background:var(--ub-field); border-radius:12px; padding:0 16px; margin-bottom:10px; height:56px; }
.ub-field:focus-within{ box-shadow:0 0 0 2px #000 inset; }
.ub-dot{ width:9px; height:9px; border-radius:50%; background:#000; flex:none; }
.ub-square{ width:9px; height:9px; background:#000; flex:none; }
.ub-input{ flex:1; border:none; background:transparent; font:inherit; font-size:16px; font-weight:500; color:#000; outline:none; height:100%; }
.ub-input::placeholder{ color:#6b6b6b; }
.ub-select{ appearance:none; -webkit-appearance:none; cursor:pointer; }
.ub-field-ic{ color:#000; flex:none; }
.ub-actions{ display:flex; align-items:center; gap:20px; margin-top:16px; flex-wrap:wrap; }
.ub-recent{ color:#000; font-size:15px; font-weight:600; text-decoration:underline; text-underline-offset:3px; }
.ub-recent:hover{ color:var(--ub-mut); }

/* hero illustration */
.ub-hero-right{ display:flex; justify-content:center; }
.ub-illus{ position:relative; width:100%; max-width:560px; }
.ub-illus svg{ width:100%; height:auto; display:block; border-radius:24px; }
.ub-illus-card{ position:absolute; left:16px; right:16px; bottom:16px; background:rgba(17,19,24,.86);
  backdrop-filter:blur(4px); color:#fff; border-radius:16px; padding:14px 16px; display:flex; align-items:center; justify-content:space-between; gap:12px; }
.ub-illus-card b{ display:block; font-size:16px; }
.ub-illus-card span{ font-size:13px; color:#c7ccd6; }

/* explore section spacing */
.ub-explore{ padding-top:20px; }
.ub-explore-sub{ color:var(--ub-mut); font-size:14px; margin:0 0 12px; }

/* =============================================================================
   Coastal hero with bid module on the right (rolled-back look + module)
   ============================================================================= */
.hero-grid{ position:relative; z-index:1; display:grid; grid-template-columns:1.05fr .95fr; gap:36px; align-items:center; margin-top:40px; }
@media (max-width:900px){ .hero-grid{ grid-template-columns:1fr; gap:22px; } }
.hero-grid .hero-copy{ max-width:none; margin-top:0; }
.hero-module-card{ background:#fff; color:#000; border-radius:20px; padding:22px; box-shadow:var(--shadow-lg); }
.hero-module-card .ub-module{ max-width:none; }
.hero-module-card .ub-input, .hero-module-card .ub-field-ic, .hero-module-card .ub-recent, .hero-module-card .ub-lead{ color:#000; }
.ub-pill-static{ cursor:default; }
.ub-lead{ flex:none; }
