/*
Theme Name: CDSO
Theme URI: https://costadelsolonline.com/
Description: Costa del Sol Online (CDSO) — an online business directory theme for the Costa del Sol. Businesses can sign up, subscribe, and list their business with an SEO-optimised profile, searchable by business type and location.
Author: Paul Fraser
Author URI: https://costadelsolonline.com/
Version: 2.0.6
Tested up to: 7.0
Requires at least: 6.0
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags: two-columns, custom-header, custom-menu, featured-images
Text Domain: cdso
*/

/* =========================================================
   Design tokens — "Brand (Orange Sun)" palette from the
   Claude Design handoff. oklch with hex fallbacks.
   ========================================================= */
:root {
  --head: 'Manrope', system-ui, sans-serif;
  --body: 'Manrope', system-ui, sans-serif;

  --c-primary:    #c75e1f;
  --c-primary-dk: #a34a14;
  --c-accent:     #fb791d;
  --c-ink:        #2e2924;
  --c-sub:        #7d756c;
  --c-bg:         #fcfaf7;
  --c-surface:    #ffffff;
  --c-sand:       #f5efe7;
  --c-line:       #e6e0d8;
  --c-on-primary: #fffaf5;
  --c-hero-tint:  rgba(38, 30, 23, 1);

  --c-open:   #2e8b57;
  --c-closed: #c44536;

  --shadow-card: 0 26px 50px -30px rgba(46, 36, 25, 0.45);
  --shadow-pill: 0 24px 60px -28px rgba(40, 32, 22, 0.45);
  --shadow-soft: 0 2px 8px -4px rgba(46, 36, 25, 0.28);
  --radius: 16px;
}
@supports (color: oklch(0.5 0.1 50)) {
  :root {
    --c-primary:    oklch(0.64 0.18 47);
    --c-primary-dk: oklch(0.54 0.16 47);
    --c-accent:     oklch(0.72 0.175 50);
    --c-ink:        oklch(0.265 0.012 50);
    --c-sub:        oklch(0.57 0.014 55);
    --c-bg:         oklch(0.987 0.006 70);
    --c-surface:    oklch(1 0 0);
    --c-sand:       oklch(0.966 0.012 64);
    --c-line:       oklch(0.916 0.008 60);
    --c-on-primary: oklch(0.99 0.01 50);
    --c-hero-tint:  oklch(0.27 0.02 50);
    --c-open:       oklch(0.55 0.11 150);
    --c-closed:     oklch(0.57 0.14 25);
  }
}

/* ============================ Reset ============================ */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--body);
  background: var(--c-bg);
  color: var(--c-ink);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
::selection { background: rgba(199, 94, 31, 0.18); }
img { max-width: 100%; display: block; }
a { color: inherit; }
button { font-family: var(--body); }
h1, h2, h3, h4 { font-family: var(--head); letter-spacing: -0.02em; }
::-webkit-scrollbar { width: 11px; height: 11px; }
::-webkit-scrollbar-thumb { background: var(--c-line); border-radius: 6px; border: 3px solid transparent; background-clip: content-box; }

.wrap { max-width: 1240px; margin: 0 auto; padding: 0 30px; }
.screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.icon { flex-shrink: 0; vertical-align: middle; }

/* ============================ Header ============================ */
.site-header {
  position: sticky; top: var(--wp-admin--admin-bar--height, 0px); left: 0; right: 0; z-index: 50;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--c-line);
  transition: background .25s ease, border-color .25s ease;
}
.site-header.is-overlay { position: fixed; }
.site-header.is-transparent {
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-bottom-color: transparent;
}
.header-inner {
  max-width: 1240px; margin: 0 auto; padding: 0 30px; height: 74px;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 20px;
}

/* Brand */
.brand { display: flex; align-items: center; gap: 11px; text-decoration: none; justify-self: start; }

/* Header logo (image lockup, swaps on scroll). */
.brand-logo { display: block; height: 34px; width: auto; }
/* Default (solid header): show the orange lockup. */
.brand-logo--white { display: none; }
/* Transparent header (front-page hero overlay): show the white lockup. */
.is-transparent .brand-logo--white { display: block; }
.is-transparent .brand-logo--orange { display: none; }

/* Footer brand (icon mark + text). */
.brand-mark {
  width: 36px; height: 36px; border-radius: 10px; background: var(--c-accent);
  display: grid; place-items: center; flex-shrink: 0; color: #fff;
}
.brand-text { display: flex; flex-direction: column; line-height: 1.04; }
.brand-name { font-family: var(--head); font-weight: 700; font-size: 17px; color: var(--c-primary); letter-spacing: -0.015em; }
.brand-tag { font-size: 10px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--c-sub); opacity: 0.78; font-weight: 600; }

/* Compact pill (appears in header on scroll) */
.header-pill { justify-self: center; opacity: 0; transform: translateY(-8px); pointer-events: none; transition: opacity .25s ease, transform .25s ease; }
.header-pill.is-visible { opacity: 1; transform: translateY(0); pointer-events: auto; }
.compact-pill {
  display: inline-flex; align-items: center; cursor: pointer;
  background: var(--c-surface); border: 1px solid var(--c-line); border-radius: 999px;
  padding: 5px 5px 5px 18px; box-shadow: var(--shadow-soft); transition: box-shadow .18s ease;
}
.compact-pill:hover { box-shadow: 0 8px 24px -12px rgba(46, 36, 25, 0.4); }
.compact-pill .cp-loc { font-size: 13.5px; font-weight: 700; color: var(--c-ink); white-space: nowrap; }
.compact-pill .cp-sep { width: 1px; height: 18px; background: var(--c-line); margin: 0 14px; }
.compact-pill .cp-cat { font-size: 13.5px; font-weight: 500; color: var(--c-sub); white-space: nowrap; margin-right: 14px; }
.compact-pill .cp-btn { width: 32px; height: 32px; border-radius: 999px; background: var(--c-primary); display: grid; place-items: center; color: var(--c-on-primary); }

/* Nav */
.header-nav { justify-self: end; display: flex; align-items: center; gap: 26px; }
.header-nav a.nav-link { font-size: 14.5px; font-weight: 500; text-decoration: none; color: var(--c-ink); opacity: 0.85; white-space: nowrap; }
.is-transparent .header-nav a.nav-link { color: var(--c-on-primary); opacity: 0.95; }
.btn-list-business {
  display: inline-flex; align-items: center; gap: 7px; padding: 10px 18px;
  border-radius: 999px; border: 1px solid var(--c-line); background: var(--c-surface);
  color: var(--c-ink); font-weight: 600; font-size: 14px; cursor: pointer; text-decoration: none; white-space: nowrap;
}
.is-transparent .btn-list-business {
  border-color: rgba(255, 255, 255, 0.55); background: rgba(255, 255, 255, 0.1);
  color: var(--c-on-primary); backdrop-filter: blur(4px);
}

/* ============================ Pill search ============================ */
.pill-search {
  display: flex; align-items: stretch; height: 70px; text-align: left;
  background: var(--c-surface); border-radius: 999px; border: 1px solid var(--c-line);
  box-shadow: var(--shadow-pill); position: relative;
}
.pill-search.is-minimal { height: 58px; box-shadow: 0 2px 10px -6px rgba(46, 36, 25, 0.3); }
.ps-seg {
  position: relative; display: flex; align-items: center; gap: 11px; padding: 0 22px;
  border-radius: 999px; cursor: text; transition: background .14s ease; flex: 1 1 0;
}
.ps-seg:hover, .ps-seg:focus-within { background: var(--c-sand); }
.ps-seg.ps-where { flex: 1.25 1 0; }
.ps-seg .icon { color: var(--c-primary); }
.ps-field { flex: 1; display: flex; flex-direction: column; min-width: 0; }
.ps-label { font-size: 10.5px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--c-ink); font-weight: 700; }
.ps-input, .ps-select {
  border: none; outline: none; background: transparent; font-size: 15.5px;
  font-family: var(--body); color: var(--c-ink); width: 100%; font-weight: 500; padding: 0; margin-top: 2px;
}
.ps-input::placeholder { color: var(--c-sub); }
.ps-select { appearance: none; cursor: pointer; padding-right: 22px; }
.ps-select-wrap { position: relative; margin-top: 2px; }
.ps-select-wrap .icon { position: absolute; right: 0; top: 50%; transform: translateY(-50%); pointer-events: none; color: var(--c-sub); }
.ps-divider { width: 1px; background: var(--c-line); margin: 14px 0; align-self: stretch; }
.ps-submit-wrap { display: flex; align-items: center; padding-right: 9px; }
.is-minimal .ps-submit-wrap { padding-right: 7px; }
.ps-submit {
  height: 52px; border-radius: 999px; border: none; background: var(--c-primary);
  color: var(--c-on-primary); padding: 0 24px; cursor: pointer;
  display: inline-flex; align-items: center; gap: 9px; font-weight: 700; font-size: 15px; white-space: nowrap;
}
.is-minimal .ps-submit { height: 44px; padding: 0 18px; }
.ps-submit:hover { background: var(--c-primary-dk); }

/* Autocomplete dropdown */
.ps-dropdown {
  position: absolute; top: calc(100% + 12px); left: 0; width: 340px; max-width: 78vw;
  background: var(--c-surface); border-radius: 18px; border: 1px solid var(--c-line);
  box-shadow: 0 30px 70px -22px rgba(40, 32, 22, 0.4); z-index: 60; overflow: hidden; cursor: default;
  display: none;
}
.ps-dropdown.is-open { display: block; }
.ps-dd-head { padding: 12px 18px 6px; font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--c-sub); font-weight: 700; }
.ps-dd-empty { padding: 12px 18px; color: var(--c-sub); font-size: 14px; }
.ps-dd-item {
  display: flex; align-items: center; gap: 13px; width: 100%; text-align: left;
  padding: 12px 18px; border: none; cursor: pointer; background: transparent;
}
.ps-dd-item:hover, .ps-dd-item.is-active { background: var(--c-sand); }
.ps-dd-icon { width: 34px; height: 34px; border-radius: 9px; background: var(--c-sand); display: grid; place-items: center; flex-shrink: 0; color: var(--c-primary); }
.ps-dd-name { display: block; font-size: 14.5px; font-weight: 600; color: var(--c-ink); }
.ps-dd-area { display: block; font-size: 12.5px; color: var(--c-sub); }

/* ============================ Hero ============================ */
.hero { position: relative; min-height: min(880px, 94vh); display: flex; align-items: center; overflow: hidden; }
.hero-media { position: absolute; inset: 0; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: center 38%; }
.hero-scrim {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(38, 30, 23, 0.52) 0%, rgba(38, 30, 23, 0.26) 40%, rgba(38, 30, 23, 0.78) 100%);
}
.hero-content { position: relative; max-width: 980px; margin: 0 auto; padding: 150px 30px 96px; width: 100%; text-align: center; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 7px; padding: 8px 16px; border-radius: 999px;
  background: rgba(255, 255, 255, 0.14); border: 1px solid rgba(255, 255, 255, 0.32);
  color: var(--c-on-primary); font-size: 13.5px; font-weight: 600; margin-bottom: 26px;
  backdrop-filter: blur(6px);
}
.hero h1 {
  font-size: clamp(40px, 5.6vw, 66px); font-weight: 800; color: var(--c-on-primary);
  margin: 0; line-height: 1.04; letter-spacing: -0.035em; text-wrap: balance;
}
.hero-sub { font-size: 20px; color: var(--c-on-primary); opacity: 0.94; margin: 22px auto 40px; line-height: 1.5; max-width: 580px; text-wrap: pretty; }
.hero-search { max-width: 800px; margin: 0 auto; }

/* Popular chips */
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; justify-content: center; align-items: center; }
.chips-label { font-size: 13.5px; font-weight: 500; color: var(--c-sub); }
.chips.is-light .chips-label { color: var(--c-on-primary); opacity: 0.85; }
.chip {
  padding: 8px 16px; border-radius: 999px; cursor: pointer; font-size: 13.5px; font-weight: 500;
  white-space: nowrap; border: 1px solid var(--c-line); background: var(--c-surface);
  color: var(--c-ink); text-decoration: none;
}
.chips.is-light .chip {
  border-color: rgba(255, 255, 255, 0.4); background: rgba(255, 255, 255, 0.12);
  color: var(--c-on-primary); backdrop-filter: blur(4px);
}

/* ============================ Trust strip ============================ */
.trust-strip { background: var(--c-surface); border-bottom: 1px solid var(--c-line); }
.trust-inner { max-width: 1240px; margin: 0 auto; padding: 38px 30px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.trust-stat { text-align: center; }
.trust-n { font-family: var(--head); font-size: 36px; font-weight: 800; color: var(--c-ink); letter-spacing: -0.03em; }
.trust-l { font-size: 14px; color: var(--c-sub); margin-top: 4px; }

/* ============================ Section headers ============================ */
.section { max-width: 1240px; margin: 0 auto; padding: 72px 30px; }
.section.section-first { padding-top: 96px; padding-bottom: 24px; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 34px; gap: 20px; }
.section-head h2 { font-size: 34px; font-weight: 700; margin: 0; color: var(--c-ink); letter-spacing: -0.025em; }
.section-head p { margin: 10px 0 0; font-size: 16.5px; color: var(--c-sub); }
.section-link { display: inline-flex; align-items: center; gap: 6px; color: var(--c-primary); font-weight: 600; font-size: 15px; text-decoration: none; white-space: nowrap; }

/* ============================ Category grid ============================ */
.cat-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.cat-tile {
  background: var(--c-surface); border: 1px solid var(--c-line); border-radius: 18px;
  padding: 24px 16px; cursor: pointer; display: flex; flex-direction: column; align-items: center; gap: 13px;
  text-decoration: none; transition: border-color .18s ease, transform .18s ease, box-shadow .18s ease;
}
.cat-tile:hover { border-color: var(--c-primary); transform: translateY(-2px); box-shadow: 0 18px 36px -26px rgba(40, 32, 22, 0.4); }
.cat-icon { width: 50px; height: 50px; border-radius: 14px; background: var(--c-sand); display: grid; place-items: center; color: var(--c-primary); }
.cat-label { font-size: 14px; font-weight: 600; color: var(--c-ink); text-align: center; line-height: 1.25; }
.cat-count { font-size: 12.5px; color: var(--c-sub); }

/* ============================ Business card (grid) ============================ */
.biz-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; }
.biz-grid.is-three { grid-template-columns: repeat(3, 1fr); gap: 16px; }
.biz-card { cursor: pointer; display: flex; flex-direction: column; gap: 12px; text-decoration: none; }
.biz-card-media { position: relative; height: 210px; border-radius: 16px; overflow: hidden; background: var(--c-sand); }
.biz-card.is-compact .biz-card-media { height: 168px; }
.biz-card-media img, .biz-card-media .ph { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .5s cubic-bezier(.2, .6, .2, 1); }
.biz-card:hover .biz-card-media img, .biz-card:hover .biz-card-media .ph { transform: scale(1.05); }
.badge-featured {
  position: absolute; top: 12px; left: 12px; padding: 6px 12px; border-radius: 999px;
  background: rgba(255, 255, 255, 0.92); color: var(--c-ink); font-size: 11.5px; font-weight: 700;
  display: inline-flex; align-items: center; gap: 5px; backdrop-filter: blur(4px); box-shadow: var(--shadow-soft);
}
.badge-featured .icon { color: var(--c-accent); }
.biz-card-body { display: flex; flex-direction: column; gap: 4px; }
.biz-card-title-row { display: flex; align-items: baseline; gap: 10px; }
.biz-card h3 { margin: 0; font-size: 18px; font-weight: 700; color: var(--c-ink); letter-spacing: -0.01em; line-height: 1.2; flex: 1; min-width: 0; }
.biz-card.is-compact h3 { font-size: 16.5px; }
.biz-card-meta { display: flex; align-items: center; gap: 7px; font-size: 13.5px; color: var(--c-sub); flex-wrap: wrap; }
.biz-card-meta .meta-type { font-weight: 600; color: var(--c-primary); }
.biz-card-meta .icon-verified { color: var(--c-primary); }
.biz-card-meta .meta-loc { display: inline-flex; align-items: center; gap: 3px; white-space: nowrap; }
.biz-card-tagline {
  margin: 2px 0 0; font-size: 13.5px; color: var(--c-sub); line-height: 1.4; text-wrap: pretty;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}

/* Striped placeholder for businesses without photos */
.ph {
  background: repeating-linear-gradient(135deg, #ede9e2 0 14px, #e5e0d8 14px 28px);
  display: flex; align-items: center; justify-content: center;
}
.ph span {
  font-family: ui-monospace, 'SF Mono', Menlo, monospace; font-size: 11px; letter-spacing: 0.04em;
  text-transform: uppercase; color: #8d857a; background: rgba(250, 248, 244, 0.72);
  padding: 4px 9px; border-radius: 5px; text-align: center; max-width: 85%;
}

/* ============================ Pricing band ============================ */
.pricing-band { background: var(--c-sand); padding: 92px 28px; }
.pricing-inner { max-width: 1100px; margin: 0 auto; }
.pricing-card {
  background: var(--c-surface); border-radius: 28px; border: 1px solid var(--c-line);
  padding: 8px; box-shadow: 0 40px 90px -50px rgba(40, 32, 22, 0.4);
  display: grid; grid-template-columns: 1.1fr 0.9fr; align-items: stretch;
}
.pricing-copy { padding: 44px 44px 44px 48px; }
.pricing-kicker { font-size: 12.5px; letter-spacing: 0.16em; text-transform: uppercase; font-weight: 700; color: var(--c-primary); }
.pricing-copy h2 { font-size: 38px; font-weight: 700; margin: 14px 0 16px; letter-spacing: -0.025em; line-height: 1.08; color: var(--c-ink); text-wrap: balance; }
.pricing-copy > p { font-size: 16.5px; line-height: 1.6; color: var(--c-sub); max-width: 440px; text-wrap: pretty; }
.pricing-features { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 12px; }
.pricing-features li { display: flex; align-items: center; gap: 12px; font-size: 15px; color: var(--c-ink); }
.pricing-check { width: 22px; height: 22px; border-radius: 999px; background: var(--c-primary); display: grid; place-items: center; flex-shrink: 0; color: var(--c-on-primary); }
.pricing-box {
  background: var(--c-bg); border-radius: 22px; padding: 40px 38px;
  display: flex; flex-direction: column; justify-content: center; border: 1px solid var(--c-line);
}
.pricing-pill { display: inline-block; align-self: flex-start; padding: 6px 13px; border-radius: 999px; background: var(--c-surface); border: 1px solid var(--c-line); color: var(--c-primary); font-size: 12.5px; font-weight: 700; }
.pricing-price { display: flex; align-items: baseline; gap: 8px; margin: 22px 0 4px; }
.pricing-amount { font-family: var(--head); font-size: 52px; font-weight: 800; letter-spacing: -0.03em; color: var(--c-ink); }
.pricing-per { font-size: 16px; color: var(--c-sub); font-weight: 500; }
.pricing-setup { margin: 0 0 24px; font-size: 14.5px; color: var(--c-sub); }
.pricing-setup strong { color: var(--c-ink); }
.btn-primary {
  width: 100%; padding: 15px; border-radius: 14px; border: none;
  background: var(--c-primary); color: var(--c-on-primary); font-weight: 700; font-size: 16px;
  cursor: pointer; display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  white-space: nowrap; text-decoration: none;
}
.btn-primary:hover { background: var(--c-primary-dk); }
.pricing-note { margin: 14px 0 0; font-size: 12.5px; color: var(--c-sub); text-align: center; }

/* ============================ Footer ============================ */
.site-footer { background: var(--c-surface); color: var(--c-ink); padding: 64px 28px 40px; border-top: 1px solid var(--c-line); }
.footer-inner { max-width: 1240px; margin: 0 auto; }
.footer-grid { display: grid; grid-template-columns: 1.5fr repeat(4, 1fr); gap: 40px; }
.footer-blurb { margin-top: 18px; font-size: 14px; color: var(--c-sub); line-height: 1.65; max-width: 240px; }
.footer-col h4 { margin: 0 0 15px; font-size: 12.5px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--c-sub); font-weight: 700; }
.footer-col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer-col a { font-size: 14px; color: var(--c-ink); opacity: 0.78; text-decoration: none; }
.footer-col a:hover { opacity: 1; }
.footer-bottom { margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--c-line); display: flex; justify-content: space-between; font-size: 13px; color: var(--c-sub); }

/* ============================ Results page ============================ */
.search-ribbon { background: var(--c-surface); border-bottom: 1px solid var(--c-line); position: sticky; top: calc(74px + var(--wp-admin--admin-bar--height, 0px)); z-index: 30; }
.search-ribbon .wrap { padding-top: 16px; padding-bottom: 16px; }
.results-layout { max-width: 1240px; margin: 0 auto; padding: 26px 30px 80px; }
.results-head { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 24px; flex-wrap: wrap; gap: 16px; }
.results-crumb { font-size: 13px; color: var(--c-sub); }
.results-head h1 { font-size: 32px; font-weight: 700; color: var(--c-ink); margin: 4px 0 0; letter-spacing: -0.025em; }
.results-count { margin: 6px 0 0; font-size: 15px; color: var(--c-sub); }
.results-tools { display: flex; align-items: center; gap: 10px; }
.sort-box { display: flex; align-items: center; gap: 8px; background: var(--c-surface); border: 1px solid var(--c-line); border-radius: 11px; padding: 9px 13px; }
.sort-box label { font-size: 13.5px; color: var(--c-sub); }
.sort-box select { border: none; background: transparent; font-family: var(--body); font-size: 14px; font-weight: 600; color: var(--c-ink); cursor: pointer; outline: none; }
.view-toggle { display: flex; background: var(--c-sand); border-radius: 11px; padding: 4px; gap: 4px; }
.view-toggle button {
  display: inline-flex; align-items: center; gap: 6px; padding: 8px 15px; border-radius: 8px;
  border: none; cursor: pointer; background: transparent; color: var(--c-sub); font-weight: 600; font-size: 14px;
}
.view-toggle button.is-active { background: var(--c-surface); color: var(--c-primary); box-shadow: 0 1px 4px rgba(46, 36, 25, 0.12); }

.results-grid { display: grid; grid-template-columns: 270px 1fr; gap: 32px; align-items: start; }

/* Filters sidebar */
.filters { position: sticky; top: calc(168px + var(--wp-admin--admin-bar--height, 0px)); }
.filters-card { background: var(--c-surface); border: 1px solid var(--c-line); border-radius: 18px; padding: 8px 20px 16px; }
.filters-head { display: flex; align-items: center; justify-content: space-between; padding: 14px 0 4px; }
.filters-head .filters-title { font-family: var(--head); font-size: 16px; font-weight: 700; color: var(--c-ink); }
.filters-clear { border: none; background: none; color: var(--c-primary); font-size: 13px; font-weight: 600; cursor: pointer; text-decoration: none; }
.filter-group { padding: 18px 0; border-bottom: 1px solid var(--c-line); }
.filter-group:last-of-type { border-bottom: none; }
.filter-group h4 { margin: 0 0 13px; font-size: 13.5px; font-weight: 700; color: var(--c-ink); }
.cat-rows { display: grid; gap: 3px; max-height: 232px; overflow-y: auto; }
.cat-row {
  display: flex; align-items: center; gap: 8px; padding: 8px 10px; border-radius: 9px;
  border: none; cursor: pointer; text-align: left; background: transparent; color: var(--c-ink);
  font-weight: 500; font-size: 14px; width: 100%; text-decoration: none;
}
.cat-row.is-on { background: var(--c-sand); color: var(--c-primary); font-weight: 700; }
.cat-row .row-label { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin-left: 22px; }
.cat-row.is-on .row-label { margin-left: 0; }
.cat-row .row-count { margin-left: auto; font-size: 12.5px; color: var(--c-sub); font-weight: 500; }
.filter-select-wrap { position: relative; }
.filter-select-wrap select {
  width: 100%; padding: 11px 12px; border-radius: 10px; border: 1px solid var(--c-line);
  background: var(--c-bg); font-family: var(--body); font-size: 14px; color: var(--c-ink);
  appearance: none; cursor: pointer;
}
.filter-select-wrap .icon { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); pointer-events: none; color: var(--c-sub); }
.price-seg { display: flex; gap: 6px; }
.price-seg a {
  flex: 1; padding: 9px 0; border-radius: 9px; cursor: pointer; font-size: 13px; font-weight: 600;
  border: 1px solid var(--c-line); background: var(--c-surface); color: var(--c-ink);
  text-align: center; text-decoration: none;
}
.price-seg a.is-on { border-color: var(--c-primary); background: var(--c-primary); color: var(--c-on-primary); }
.toggle-row { display: flex; align-items: center; gap: 11px; width: 100%; border: none; background: none; cursor: pointer; padding: 5px 0; text-decoration: none; }
.toggle-track { width: 40px; height: 23px; border-radius: 999px; background: var(--c-line); position: relative; transition: background .16s ease; flex-shrink: 0; }
.toggle-row.is-on .toggle-track { background: var(--c-primary); }
.toggle-knob { position: absolute; top: 2px; left: 2px; width: 19px; height: 19px; border-radius: 999px; background: #fff; transition: left .16s ease; box-shadow: 0 1px 3px rgba(46, 36, 25, 0.3); }
.toggle-row.is-on .toggle-knob { left: 19px; }
.toggle-row .toggle-label { font-size: 14px; font-weight: 500; color: var(--c-ink); }
.filters-cta { background: var(--c-sand); border-radius: 14px; padding: 16px; margin-top: 16px; }
.filters-cta .cta-title { font-family: var(--head); font-weight: 700; font-size: 15px; color: var(--c-ink); }
.filters-cta p { font-size: 13px; color: var(--c-sub); margin: 6px 0 12px; line-height: 1.45; }
.filters-cta .btn-primary { padding: 11px; border-radius: 10px; font-size: 13.5px; }

/* Listing cards (horizontal) */
.listing-list { display: flex; flex-direction: column; gap: 18px; }
.listing-card {
  display: flex; background: var(--c-surface); border: 1px solid var(--c-line);
  border-radius: 20px; overflow: hidden; cursor: pointer; text-decoration: none;
  transition: transform .18s ease, box-shadow .18s ease;
  box-shadow: 0 1px 2px rgba(46, 36, 25, 0.04);
}
.listing-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-card); }
.listing-media { position: relative; width: 312px; flex-shrink: 0; overflow: hidden; background: var(--c-sand); }
.listing-media img, .listing-media .ph { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .5s cubic-bezier(.2, .6, .2, 1); }
.listing-card:hover .listing-media img, .listing-card:hover .listing-media .ph { transform: scale(1.05); }
.photo-count {
  position: absolute; bottom: 12px; left: 14px; padding: 5px 11px; border-radius: 999px;
  background: rgba(28, 24, 20, 0.6); color: #fff; font-size: 11.5px; font-weight: 600;
  backdrop-filter: blur(4px); white-space: nowrap;
}
.listing-body { flex: 1; min-width: 0; padding: 20px 24px; display: flex; flex-direction: column; gap: 9px; }
.listing-top { display: flex; align-items: center; gap: 9px; }
.listing-type { font-size: 12px; font-weight: 700; color: var(--c-primary); text-transform: uppercase; letter-spacing: 0.05em; }
.badge-verified { display: inline-flex; align-items: center; gap: 4px; font-size: 11.5px; font-weight: 600; color: var(--c-primary); }
.listing-price { margin-left: auto; font-size: 15px; font-weight: 700; color: var(--c-ink); white-space: nowrap; }
.listing-body h3, .listing-body h2 { margin: 0; font-size: 22px; font-weight: 700; color: var(--c-ink); letter-spacing: -0.02em; line-height: 1.15; }
.listing-meta { display: flex; align-items: center; gap: 9px; flex-wrap: wrap; font-size: 13.5px; color: var(--c-sub); }
.listing-meta .dot { color: var(--c-line); }
.meta-pin { display: inline-flex; align-items: center; gap: 4px; white-space: nowrap; }
.open-status { display: inline-flex; align-items: center; gap: 5px; font-weight: 600; white-space: nowrap; }
.open-status .status-dot { width: 7px; height: 7px; border-radius: 999px; background: currentColor; }
.open-status.is-open { color: var(--c-open); }
.open-status.is-closed { color: var(--c-closed); }
.listing-tagline { margin: 1px 0 0; font-size: 14.5px; color: var(--c-sub); line-height: 1.5; text-wrap: pretty; }
.tag-pills { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 2px; }
.tag-pill { padding: 5px 11px; border-radius: 999px; background: var(--c-sand); border: 1px solid var(--c-line); font-size: 12px; font-weight: 500; color: var(--c-ink); }
.listing-actions { display: flex; align-items: center; gap: 16px; margin-top: auto; padding-top: 14px; }
.listing-contact { display: inline-flex; align-items: center; gap: 6px; font-size: 13.5px; font-weight: 600; color: var(--c-ink); text-decoration: none; white-space: nowrap; }
.listing-contact .icon { color: var(--c-primary); }
.btn-view {
  margin-left: auto; display: inline-flex; align-items: center; gap: 7px; padding: 10px 18px;
  border-radius: 999px; background: var(--c-primary); color: var(--c-on-primary);
  font-weight: 700; font-size: 14px; white-space: nowrap;
}

/* Empty state */
.results-empty { padding: 80px 20px; text-align: center; border: 1px dashed var(--c-line); border-radius: 18px; background: var(--c-surface); }
.results-empty .icon { color: var(--c-sub); }
.results-empty .empty-title { font-size: 18px; color: var(--c-ink); font-weight: 700; margin: 14px 0 4px; }
.results-empty p { font-size: 14.5px; color: var(--c-sub); margin: 0 0 18px; }
.btn-pill { display: inline-flex; padding: 10px 20px; border-radius: 999px; border: none; background: var(--c-primary); color: var(--c-on-primary); font-weight: 600; font-size: 14px; cursor: pointer; text-decoration: none; }

/* Map view */
.map-view { display: none; grid-template-columns: 400px 1fr; border: 1px solid var(--c-line); border-radius: 20px; overflow: hidden; height: 680px; }
.results-layout.is-map-view .map-view { display: grid; }
.results-layout.is-map-view .listing-list, .results-layout.is-map-view .results-pagination { display: none; }
.map-list { overflow-y: auto; border-right: 1px solid var(--c-line); background: var(--c-surface); }
.map-list-item { display: flex; gap: 13px; padding: 15px; cursor: pointer; border-bottom: 1px solid var(--c-line); text-decoration: none; }
.map-list-item:hover, .map-list-item.is-active { background: var(--c-sand); }
.map-list-thumb { width: 88px; height: 88px; border-radius: 13px; overflow: hidden; flex-shrink: 0; position: relative; background: var(--c-sand); }
.map-list-thumb img, .map-list-thumb .ph { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.map-list-type { font-size: 11.5px; font-weight: 700; color: var(--c-primary); text-transform: uppercase; letter-spacing: 0.04em; }
.map-list-item h3 { margin: 3px 0; font-size: 16.5px; font-weight: 700; color: var(--c-ink); }
.map-list-loc { font-size: 12.5px; color: var(--c-sub); }
.map-canvas { position: relative; background: var(--c-sand); z-index: 0; }
#cdso-map { position: absolute; inset: 0; }
.leaflet-popup-content-wrapper { border-radius: 12px; font-family: var(--body); }
.map-popup-name { font-weight: 700; font-size: 14px; }
.map-popup-link { color: var(--c-primary); font-weight: 600; font-size: 13px; }

/* Pagination */
.results-pagination { margin-top: 36px; display: flex; justify-content: center; gap: 6px; }
.results-pagination .page-numbers {
  min-width: 40px; height: 40px; display: inline-flex; align-items: center; justify-content: center;
  padding: 0 13px; border-radius: 11px; border: 1px solid var(--c-line); background: var(--c-surface);
  color: var(--c-ink); font-weight: 600; font-size: 14px; text-decoration: none;
}
.results-pagination .page-numbers.current { background: var(--c-primary); border-color: var(--c-primary); color: var(--c-on-primary); }

/* ============================ Profile page ============================ */
.profile-top { max-width: 1200px; margin: 0 auto; padding: 20px 28px 0; }
.back-link { display: inline-flex; align-items: center; gap: 6px; color: var(--c-sub); font-size: 14px; text-decoration: none; margin-bottom: 14px; white-space: nowrap; }
.gallery-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 1fr 1fr;
  gap: 10px; height: 380px; border-radius: 20px; overflow: hidden;
}
.gallery-grid > div { position: relative; background: var(--c-sand); }
.gallery-grid > div:first-child { grid-row: 1 / 3; }
.gallery-grid img, .gallery-grid .ph { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.gallery-more { position: absolute; inset: 0; background: rgba(28, 24, 20, 0.4); display: grid; place-items: center; color: #fff; font-weight: 700; font-size: 16px; }

.profile-layout { max-width: 1200px; margin: 0 auto; padding: 28px 28px 70px; display: grid; grid-template-columns: 1fr 360px; gap: 40px; align-items: start; }
.profile-kicker { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.profile-kicker .listing-type { font-size: 13px; }
.badge-verified-lg { display: inline-flex; align-items: center; gap: 5px; padding: 4px 10px; border-radius: 999px; background: var(--c-sand); color: var(--c-primary); font-size: 12.5px; font-weight: 700; }
.profile-main h1 { font-size: 42px; font-weight: 700; color: var(--c-ink); margin: 0; letter-spacing: -0.025em; line-height: 1.05; }
.profile-meta { display: flex; align-items: center; gap: 14px; margin: 14px 0 0; flex-wrap: wrap; font-size: 14.5px; color: var(--c-sub); }
.profile-meta .dot { color: var(--c-line); }
.profile-meta .meta-hours { display: inline-flex; align-items: center; gap: 6px; color: var(--c-primary); font-weight: 600; white-space: nowrap; }
.profile-tagline { font-size: 19px; color: var(--c-ink); margin: 24px 0 0; line-height: 1.45; font-weight: 500; text-wrap: pretty; }
.profile-desc { font-size: 16px; color: var(--c-sub); margin: 16px 0 0; line-height: 1.65; text-wrap: pretty; }
.profile-desc p { margin: 0 0 14px; }
.profile-tags { display: flex; flex-wrap: wrap; gap: 9px; margin: 24px 0 0; }
.profile-tags .tag-pill { padding: 8px 14px; background: var(--c-surface); font-size: 13.5px; }
.profile-section { margin-top: 44px; }
.profile-section h2 { font-size: 24px; font-weight: 700; color: var(--c-ink); margin: 0 0 18px; letter-spacing: -0.02em; }

/* Opening hours table */
.hours-table { width: 100%; border-collapse: collapse; background: var(--c-surface); border: 1px solid var(--c-line); border-radius: 14px; overflow: hidden; }
.hours-table td { padding: 11px 18px; font-size: 14.5px; border-bottom: 1px solid var(--c-line); }
.hours-table tr:last-child td { border-bottom: none; }
.hours-table .day { font-weight: 600; color: var(--c-ink); }
.hours-table .time { text-align: right; color: var(--c-sub); }
.hours-table tr.is-today .day, .hours-table tr.is-today .time { color: var(--c-primary); font-weight: 700; }

/* Contact card */
.contact-aside { position: sticky; top: calc(90px + var(--wp-admin--admin-bar--height, 0px)); }
.contact-card {
  background: var(--c-surface); border: 1px solid var(--c-line); border-radius: 18px;
  padding: 22px; box-shadow: 0 20px 50px -30px rgba(40, 50, 80, 0.4);
}
.contact-card .btn-primary { border-radius: 12px; padding: 14px; }
.contact-row-btns { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 10px; }
.btn-outline {
  padding: 12px; border-radius: 11px; border: 1px solid var(--c-line); background: var(--c-surface);
  color: var(--c-ink); font-weight: 600; font-size: 14px; cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center; gap: 7px; text-decoration: none;
}
.btn-outline .icon { color: var(--c-primary); }
.contact-divider { height: 1px; background: var(--c-line); margin: 20px 0; }
.contact-info-row { display: flex; gap: 12px; margin-bottom: 16px; align-items: flex-start; }
.contact-info-row .icon { color: var(--c-primary); margin-top: 2px; }
.contact-info-h { font-size: 12px; color: var(--c-sub); font-weight: 600; text-transform: uppercase; letter-spacing: 0.04em; }
.contact-info-v { font-size: 14.5px; color: var(--c-ink); margin-top: 2px; line-height: 1.4; overflow-wrap: anywhere; }
.contact-map { height: 150px; border-radius: 12px; overflow: hidden; margin-top: 4px; position: relative; background: var(--c-sand); z-index: 0; }
#cdso-mini-map { position: absolute; inset: 0; }
.claim-card { margin-top: 14px; background: var(--c-sand); border-radius: 16px; padding: 18px 20px; }
.claim-head { display: flex; align-items: center; gap: 8px; }
.claim-head .icon { color: var(--c-primary); }
.claim-title { font-weight: 700; font-size: 14.5px; color: var(--c-ink); font-family: var(--head); }
.claim-card p { font-size: 13.5px; color: var(--c-sub); margin: 8px 0 12px; line-height: 1.5; }
.btn-claim {
  width: 100%; padding: 11px; border-radius: 10px; border: 1px solid var(--c-primary);
  background: transparent; color: var(--c-primary); font-weight: 700; font-size: 14px;
  cursor: pointer; text-align: center; display: block; text-decoration: none;
}

/* Social links */
.social-links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.social-links a {
  padding: 7px 14px; border-radius: 999px; border: 1px solid var(--c-line); background: var(--c-surface);
  font-size: 13px; font-weight: 600; color: var(--c-ink); text-decoration: none;
}
.social-links a:hover { border-color: var(--c-primary); color: var(--c-primary); }

/* ============================ About page ============================ */
.about-hero { position: relative; min-height: 420px; display: flex; align-items: center; overflow: hidden; }
.about-hero-media { position: absolute; inset: 0; }
.about-hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: center 32%; }
.about-hero-content { position: relative; max-width: 860px; margin: 0 auto; padding: 96px 30px 76px; width: 100%; text-align: center; }
.about-hero h1 {
  font-size: clamp(34px, 4.4vw, 54px); font-weight: 800; color: var(--c-on-primary);
  margin: 0; line-height: 1.06; letter-spacing: -0.03em; text-wrap: balance;
}
.about-hero p { font-size: 18.5px; color: var(--c-on-primary); opacity: 0.94; margin: 18px auto 0; max-width: 580px; line-height: 1.55; text-wrap: pretty; }

/* Story */
.about-story-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 60px; align-items: center; }
.about-story-copy h2 { font-size: 34px; font-weight: 700; color: var(--c-ink); letter-spacing: -0.025em; line-height: 1.12; margin: 14px 0 20px; text-wrap: balance; }
.about-lede { font-size: 18.5px; font-weight: 500; color: var(--c-ink); line-height: 1.55; margin-bottom: 18px; text-wrap: pretty; }
.about-lede p { margin: 0 0 14px; }
.about-prose p { font-size: 16px; color: var(--c-sub); line-height: 1.7; margin: 0 0 16px; text-wrap: pretty; }
.about-prose p:last-child { margin-bottom: 0; }
.about-story-media { position: relative; }
.about-story-media > img { display: block; width: 100%; height: 480px; object-fit: cover; border-radius: 24px; }
.about-float-card {
  position: absolute; left: -26px; bottom: 28px; display: flex; align-items: center; gap: 13px;
  background: var(--c-surface); border: 1px solid var(--c-line); border-radius: 16px;
  padding: 15px 20px; box-shadow: var(--shadow-card);
}
.about-float-icon { width: 42px; height: 42px; border-radius: 12px; background: var(--c-sand); display: grid; place-items: center; color: var(--c-primary); flex-shrink: 0; }
.about-float-title { display: block; font-family: var(--head); font-weight: 700; font-size: 14.5px; color: var(--c-ink); }
.about-float-sub { display: block; font-size: 12.5px; color: var(--c-sub); margin-top: 1px; }

/* Values */
.about-values { background: var(--c-sand); }
.about-values-head { text-align: center; max-width: 560px; margin: 0 auto 38px; }
.about-values-head h2 { font-size: 32px; font-weight: 700; color: var(--c-ink); letter-spacing: -0.025em; margin: 12px 0 0; line-height: 1.15; text-wrap: balance; }
.value-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.value-card { background: var(--c-surface); border: 1px solid var(--c-line); border-radius: 18px; padding: 28px 24px; }
.value-icon { width: 48px; height: 48px; border-radius: 14px; background: var(--c-sand); display: grid; place-items: center; color: var(--c-primary); }
.value-card h3 { font-size: 16.5px; font-weight: 700; color: var(--c-ink); margin: 16px 0 7px; letter-spacing: -0.01em; }
.value-card p { font-size: 14px; color: var(--c-sub); line-height: 1.55; margin: 0; text-wrap: pretty; }

/* How it works */
.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.step-card { position: relative; background: var(--c-surface); border: 1px solid var(--c-line); border-radius: 18px; padding: 28px 24px; }
.step-n { position: absolute; top: 24px; right: 24px; font-family: var(--head); font-size: 13px; font-weight: 800; letter-spacing: 0.08em; color: var(--c-primary); opacity: 0.7; }
.step-icon { width: 48px; height: 48px; border-radius: 14px; background: var(--c-sand); display: grid; place-items: center; color: var(--c-primary); }
.step-card h3 { font-size: 17px; font-weight: 700; color: var(--c-ink); margin: 16px 0 7px; letter-spacing: -0.01em; }
.step-card p { font-size: 14px; color: var(--c-sub); line-height: 1.55; margin: 0; text-wrap: pretty; }

/* CTA band */
.about-cta { padding: 24px 28px 96px; }
.about-cta-inner { max-width: 1100px; margin: 0 auto; }
.about-cta-card {
  background: var(--c-ink); border-radius: 28px; padding: 64px 48px; text-align: center;
  box-shadow: 0 40px 90px -50px rgba(40, 32, 22, 0.5);
}
.about-cta-card h2 { font-size: 36px; font-weight: 700; color: var(--c-on-primary); margin: 14px 0 14px; letter-spacing: -0.025em; line-height: 1.1; text-wrap: balance; }
.about-cta-card > p { font-size: 16.5px; color: var(--c-on-primary); opacity: 0.82; margin: 0 auto; max-width: 480px; line-height: 1.6; text-wrap: pretty; }
.about-cta-actions { display: flex; justify-content: center; gap: 14px; margin-top: 32px; flex-wrap: wrap; }
.about-cta-actions .btn-primary { width: auto; padding: 15px 28px; }
.btn-ghost {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 15px 28px;
  border-radius: 14px; border: 1px solid rgba(255, 255, 255, 0.4); background: rgba(255, 255, 255, 0.08);
  color: var(--c-on-primary); font-weight: 700; font-size: 16px; text-decoration: none; white-space: nowrap;
}
.btn-ghost:hover { background: rgba(255, 255, 255, 0.16); }

@media (max-width: 1080px) {
  .about-story-grid { grid-template-columns: 1fr; gap: 36px; }
  .about-story-media > img { height: 380px; }
  .about-float-card { left: 18px; }
  .value-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 760px) {
  .about-hero { min-height: 340px; }
  .about-hero-content { padding: 80px 18px 60px; }
  .value-grid, .steps-grid { grid-template-columns: 1fr; }
  .about-cta { padding: 12px 18px 64px; }
  .about-cta-card { padding: 44px 24px; }
  .about-cta-card h2 { font-size: 28px; }
  .about-cta-actions { flex-direction: column; }
  .about-cta-actions .btn-primary, .btn-ghost { width: 100%; }
}

/* ============================ Contact page ============================ */
.page-head { background: var(--c-sand); border-bottom: 1px solid var(--c-line); }
.page-head-inner { max-width: 860px; margin: 0 auto; padding: 72px 30px 56px; text-align: center; }
.page-head h1 { font-size: clamp(32px, 4vw, 46px); font-weight: 800; color: var(--c-ink); margin: 12px 0 0; letter-spacing: -0.03em; line-height: 1.08; text-wrap: balance; }
.page-head-sub { font-size: 17px; color: var(--c-sub); margin: 16px auto 0; max-width: 520px; line-height: 1.55; text-wrap: pretty; }
.page-head-sub p { margin: 0; }

.contact-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 32px; align-items: start; }
.contact-side { display: grid; gap: 14px; }
.contact-info-card {
  display: flex; gap: 16px; align-items: flex-start;
  background: var(--c-surface); border: 1px solid var(--c-line); border-radius: 18px; padding: 22px;
}
.contact-info-icon { width: 46px; height: 46px; border-radius: 13px; background: var(--c-sand); display: grid; place-items: center; color: var(--c-primary); flex-shrink: 0; }
.contact-info-card h3 { font-size: 16px; font-weight: 700; color: var(--c-ink); margin: 2px 0 5px; letter-spacing: -0.01em; }
.contact-info-card p { font-size: 13.5px; color: var(--c-sub); line-height: 1.5; margin: 0; }
.contact-info-card a { display: inline-block; margin-top: 7px; font-size: 14.5px; font-weight: 700; color: var(--c-primary); text-decoration: none; overflow-wrap: anywhere; }
.contact-info-card a:hover { text-decoration: underline; }
.contact-side .filters-cta { margin-top: 4px; padding: 20px; }

.contact-form-card { background: var(--c-surface); border: 1px solid var(--c-line); border-radius: 22px; padding: 36px 38px; box-shadow: 0 20px 50px -36px rgba(40, 32, 22, 0.4); }
.contact-form-card h2 { font-size: 26px; font-weight: 700; color: var(--c-ink); margin: 0 0 6px; letter-spacing: -0.02em; }
.contact-form-sub { font-size: 15px; color: var(--c-sub); margin: 0 0 26px; }

.cform { display: grid; gap: 18px; }
.cform-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.cform-field { display: flex; flex-direction: column; gap: 7px; }
.cform-field label { font-size: 13px; font-weight: 700; color: var(--c-ink); }
.cform-field input, .cform-field select, .cform-field textarea {
  width: 100%; padding: 13px 15px; border-radius: 12px; border: 1px solid var(--c-line);
  background: var(--c-bg); font-family: var(--body); font-size: 15px; color: var(--c-ink); outline: none;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.cform-field input::placeholder, .cform-field textarea::placeholder { color: var(--c-sub); opacity: 0.8; }
.cform-field input:focus, .cform-field select:focus, .cform-field textarea:focus {
  border-color: var(--c-primary); box-shadow: 0 0 0 3px color-mix(in srgb, var(--c-primary) 18%, transparent);
}
.cform-field textarea { resize: vertical; min-height: 130px; line-height: 1.5; }
.cform-select-wrap { position: relative; }
.cform-select-wrap select { appearance: none; cursor: pointer; padding-right: 40px; }
.cform-select-wrap .icon { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); pointer-events: none; color: var(--c-sub); }
.cform-submit { width: auto; justify-self: start; padding: 15px 28px; }
.cform-note { font-size: 12.5px; color: var(--c-sub); line-height: 1.5; margin: 0; }

@media (max-width: 1080px) {
  .contact-grid { grid-template-columns: 1fr; }
  .contact-form-card { order: -1; }
}
@media (max-width: 760px) {
  .page-head-inner { padding: 52px 18px 42px; }
  .contact-form-card { padding: 26px 20px; }
  .cform-row { grid-template-columns: 1fr; }
  .cform-submit { width: 100%; }
}

/* ============================ Pricing page ============================ */
.plan-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 28px; align-items: start; max-width: 1020px; margin: 0 auto; }
.plan-card-lg {
  background: var(--c-surface); border: 1px solid var(--c-line); border-radius: 26px;
  padding: 40px 42px; box-shadow: 0 40px 90px -50px rgba(40, 32, 22, 0.4);
}
.plan-feats { list-style: none; padding: 0; margin: 4px 0 28px; display: grid; grid-template-columns: 1fr 1fr; gap: 12px 20px; }
.plan-feats li { display: flex; align-items: center; gap: 11px; font-size: 14.5px; color: var(--c-ink); }
.plan-cta { width: auto; padding: 15px 30px; }
.plan-card-lg .pricing-note { text-align: left; }

.plan-aside { display: grid; gap: 16px; }
.setup-card { background: var(--c-sand); border: 1px solid var(--c-line); border-radius: 22px; padding: 28px; }
.setup-card h3 { font-size: 17px; font-weight: 700; color: var(--c-ink); margin: 0 0 18px; letter-spacing: -0.01em; }
.setup-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; }
.setup-list li { display: flex; gap: 13px; align-items: flex-start; }
.setup-icon { width: 38px; height: 38px; border-radius: 11px; background: var(--c-surface); border: 1px solid var(--c-line); display: grid; place-items: center; color: var(--c-primary); flex-shrink: 0; }
.setup-list strong { display: block; font-size: 14px; color: var(--c-ink); margin-bottom: 2px; }
.setup-list span > span, .setup-list li > span:last-child { font-size: 13px; color: var(--c-sub); line-height: 1.5; }
.plan-aside .filters-cta { margin-top: 0; padding: 20px; }

.feat-groups { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.feat-group { background: var(--c-surface); border: 1px solid var(--c-line); border-radius: 18px; padding: 26px 22px; }
.feat-group h3 { font-size: 16px; font-weight: 700; color: var(--c-ink); margin: 15px 0 12px; letter-spacing: -0.01em; }
.feat-group ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; }
.feat-group li { position: relative; padding-left: 18px; font-size: 13.5px; color: var(--c-sub); line-height: 1.45; }
.feat-group li::before { content: ''; position: absolute; left: 0; top: 8px; width: 7px; height: 7px; border-radius: 999px; background: var(--c-primary); opacity: 0.65; }

/* FAQ */
.faq-section { max-width: 820px; }
.faq-list { display: grid; gap: 12px; }
.faq-list details { background: var(--c-surface); border: 1px solid var(--c-line); border-radius: 16px; overflow: hidden; }
.faq-list summary {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 19px 24px; cursor: pointer; list-style: none;
  font-family: var(--head); font-size: 16px; font-weight: 700; color: var(--c-ink);
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary .icon { color: var(--c-sub); transition: transform .2s ease; }
.faq-list details[open] summary .icon { transform: rotate(180deg); }
.faq-list details[open] summary { border-bottom: 1px solid var(--c-line); }
.faq-list details p { margin: 0; padding: 18px 24px 22px; font-size: 14.5px; color: var(--c-sub); line-height: 1.6; }

@media (max-width: 1080px) {
  .plan-grid { grid-template-columns: 1fr; }
  .feat-groups { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 760px) {
  .plan-card-lg { padding: 28px 22px; }
  .plan-feats { grid-template-columns: 1fr; }
  .plan-cta { width: 100%; }
  .feat-groups { grid-template-columns: 1fr; }
}

/* ============================ List your business page ============================ */
.signup-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 28px; align-items: start; max-width: 1100px; margin: 0 auto; }
.plan-summary {
  background: var(--c-surface); border: 1px solid var(--c-line); border-radius: 22px; padding: 28px;
  box-shadow: 0 20px 50px -36px rgba(40, 32, 22, 0.4);
}
.plan-summary .pricing-price { margin: 18px 0 4px; }
.plan-summary .pricing-amount { font-size: 42px; }
.plan-summary .pricing-setup { margin-bottom: 18px; }
.plan-summary-feats { list-style: none; padding: 18px 0 0; margin: 0; border-top: 1px solid var(--c-line); display: grid; gap: 11px; }
.plan-summary-feats li { display: flex; align-items: center; gap: 11px; font-size: 14px; color: var(--c-ink); }
.plan-summary-link { display: inline-flex; align-items: center; gap: 5px; margin-top: 18px; font-size: 14px; font-weight: 700; color: var(--c-primary); text-decoration: none; }
.plan-summary-link:hover { text-decoration: underline; }
.cform-field label em { font-style: normal; font-weight: 500; color: var(--c-sub); }

@media (max-width: 1080px) {
  .signup-grid { grid-template-columns: 1fr; }
}

/* ============================ Generic content (blog/pages) ============================ */
.content-narrow { max-width: 760px; margin: 0 auto; padding: 60px 28px; }
.content-narrow h1 { font-size: 36px; }
.content-narrow .profile-desc h2 { font-size: 21px; font-weight: 700; color: var(--c-ink); letter-spacing: -0.015em; margin: 34px 0 12px; }
.content-narrow .profile-desc ul, .content-narrow .profile-desc ol { margin: 0 0 16px; padding-left: 24px; display: grid; gap: 8px; line-height: 1.6; }
.content-narrow .profile-desc li::marker { color: var(--c-primary); font-weight: 700; }
.content-narrow .profile-desc a { color: var(--c-primary); font-weight: 600; }
.content-narrow .profile-desc strong { color: var(--c-ink); }

/* ============================ Responsive ============================ */
@media (max-width: 1080px) {
  .cat-grid { grid-template-columns: repeat(4, 1fr); }
  .biz-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr 1fr; }
  .results-grid { grid-template-columns: 1fr; }
  .filters { position: static; margin-bottom: 22px; }
  .profile-layout { grid-template-columns: 1fr; }
  .contact-aside { position: static; }
  .header-nav a.nav-link { display: none; }
}
@media (max-width: 760px) {
  .wrap, .header-inner { padding-left: 18px; padding-right: 18px; }
  .hero-content { padding: 120px 18px 70px; }
  .pill-search { flex-direction: column; height: auto; border-radius: 24px; padding: 8px; }
  .ps-seg { padding: 12px 16px; }
  .ps-divider { display: none; }
  .ps-submit-wrap { padding: 6px 8px 8px; }
  .ps-submit { width: 100%; height: 48px; justify-content: center; }
  .trust-inner { grid-template-columns: repeat(2, 1fr); }
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .biz-grid, .biz-grid.is-three { grid-template-columns: 1fr 1fr; }
  .pricing-card { grid-template-columns: 1fr; }
  .pricing-copy { padding: 30px 26px; }
  .listing-card { flex-direction: column; }
  .listing-media { width: 100%; height: 210px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .gallery-grid { grid-template-columns: 1fr 1fr; height: 280px; }
  .gallery-grid > div:nth-child(n+4) { display: none; }
  .profile-main h1 { font-size: 32px; }
  .map-view { grid-template-columns: 1fr; }
  .map-list { display: none; }
  .header-pill { display: none; }
  .section { padding: 48px 18px; }
  .section-head h2 { font-size: 27px; }
}
.icon.flip { transform: rotate(180deg); }
