:root {
  --bg: #f7f7f4;
  --white: #ffffff;
  --ink: #10131c;
  --muted: #5d6475;
  --line: #e8e8e3;
  --red: #e62430;
  --yellow: #ffc927;
  --black: #090b12;
  --soft: #f2f3f7;
  --radius: 24px;
  --shadow: 0 18px 60px rgba(16, 19, 28, 0.08);
  --max: 1180px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Manrope', ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--white);
  color: var(--ink);
  line-height: 1.58;
  -webkit-font-smoothing: antialiased;
}
body.menu-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--red); }
img { max-width: 100%; height: auto; }
button, input, select, textarea { font: inherit; }
.container { width: min(var(--max), calc(100% - 32px)); margin: 0 auto; }
.skip-link { position: absolute; left: -9999px; }
.skip-link:focus { left: 10px; top: 10px; background: var(--yellow); color: var(--black); padding: 8px 12px; border-radius: 999px; z-index: 9999; }

.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 3000;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(16,19,28,0.07);
  transition: transform .28s ease, box-shadow .2s ease;
}
.site-header.is-hidden { transform: translateY(-100%); }
.site-header.is-scrolled { box-shadow: 0 10px 30px rgba(16,19,28,0.08); }
.nav-row { min-height: 74px; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 16px; }
.brand-logo, .custom-logo-link { display: inline-flex; align-items: center; }
.brand-logo img, .custom-logo { display: block; max-width: 215px; max-height: 48px; width: auto; }
.desktop-nav { display: flex; justify-content: center; }
.primary-menu { list-style: none; padding: 0; margin: 0; display: flex; gap: 6px; align-items: center; }
.primary-menu a { display: inline-flex; min-height: 40px; align-items: center; padding: 0 14px; border-radius: 999px; font-size: 14px; font-weight: 800; color: #222738; }
.primary-menu a:hover { background: #fff1f3; color: var(--red); }
.header-actions { display: flex; gap: 10px; align-items: center; }
.mobile-menu-toggle { display: none; border: 0; background: var(--black); color: #fff; border-radius: 999px; min-height: 44px; padding: 0 14px; align-items: center; gap: 4px; font-weight: 800; }
.mobile-menu-toggle span { display: block; width: 18px; height: 2px; background: var(--yellow); border-radius: 999px; }
.mobile-menu-toggle b { margin-left: 6px; font-size: 13px; }

.drawer-backdrop { position: fixed; inset: 0; background: rgba(9,11,18,0.55); z-index: 3990; opacity: 0; pointer-events: none; transition: opacity .2s ease; }
.drawer-backdrop.is-open { opacity: 1; pointer-events: auto; }
.mobile-drawer {
  position: fixed; top: 0; right: 0; bottom: 0; width: min(410px, 92vw); z-index: 4000; background: var(--white);
  transform: translateX(104%); transition: transform .24s ease; padding: 20px; overflow-y: auto; box-shadow: -24px 0 60px rgba(16,19,28,0.24);
}
.mobile-drawer.is-open { transform: translateX(0); }
.drawer-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 18px; }
.drawer-close { width: 42px; height: 42px; border: 0; border-radius: 999px; background: var(--black); color: #fff; font-size: 32px; line-height: 1; }
.drawer-menu { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.drawer-menu a { display: flex; justify-content: space-between; align-items: center; min-height: 54px; padding: 0 16px; border-radius: 16px; background: var(--soft); border: 1px solid var(--line); font-size: 18px; font-weight: 800; }
.drawer-menu a::after { content: '→'; color: var(--red); }
.drawer-actions { display: grid; gap: 10px; margin-top: 18px; }
.drawer-phone { display: block; text-align: center; font-weight: 800; }

.btn, .wp-block-button__link, .directorist-btn, .wpforms-submit, .adverts-button, .woocommerce a.button, .woocommerce button.button, .woocommerce input.button, button[type="submit"], input[type="submit"] {
  display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 12px 18px; border: 0; border-radius: 999px; font-weight: 800; cursor: pointer; transition: transform .18s ease, box-shadow .18s ease;
}
.btn:hover, .wp-block-button__link:hover, .directorist-btn:hover, .wpforms-submit:hover, .adverts-button:hover { transform: translateY(-1px); }
.btn-primary, .directorist-btn.directorist-btn-primary, .wpforms-submit, .adverts-button, .woocommerce a.button, .woocommerce button.button, .woocommerce input.button, input[type="submit"] { background: var(--red); color: #fff !important; box-shadow: 0 10px 28px rgba(230,36,48,0.22); }
.btn-ghost { background: #fff; color: var(--ink); border: 1px solid var(--line); box-shadow: 0 6px 20px rgba(16,19,28,0.05); }
.btn-dark { background: var(--black); color: #fff; }
.btn-yellow { background: var(--yellow); color: var(--black); box-shadow: 0 10px 28px rgba(255,201,39,0.22); }
.btn-light { background: #fff; color: var(--black); }
.btn-small { min-height: 40px; padding: 10px 14px; font-size: 13px; }
.btn-xl { min-height: 54px; padding: 15px 22px; font-size: 16px; }
.btn-wide { width: 100%; }

.site-main { padding-top: 74px; overflow: hidden; }
.eyebrow { margin: 0 0 12px; color: var(--red); font-size: 12px; text-transform: uppercase; letter-spacing: .08em; font-weight: 800; }
h1, .h1 { margin: 0 0 16px; font-size: clamp(36px, 9vw, 66px); line-height: 0.98; letter-spacing: -0.06em; }
h2 { margin: 0 0 12px; font-size: clamp(28px, 6vw, 48px); line-height: 1.02; letter-spacing: -0.05em; }
h3 { margin: 0 0 10px; font-size: 22px; line-height: 1.1; letter-spacing: -0.03em; }
p { margin: 0 0 16px; }
.lead { font-size: clamp(17px, 2.2vw, 20px); color: #40475b; }
.section { padding: 70px 0; }
.section-soft { background: var(--soft); }
.section-head { text-align: center; max-width: 760px; margin: 0 auto 28px; }
.compact-head p { color: var(--muted); }

.parallax-hero {
  position: relative;
  background:
    radial-gradient(circle at right top, rgba(230,36,48,0.12), transparent 28%),
    radial-gradient(circle at left bottom, rgba(255,201,39,0.18), transparent 26%),
    linear-gradient(180deg, #fff, #f8f7f2);
  background-attachment: fixed;
}
.hero-minimal { padding: 54px 0 44px; }
.hero-grid.simple { display: grid; grid-template-columns: 1.05fr .95fr; gap: 24px; align-items: center; }
.hero-copy { max-width: 620px; }
.hero-actions.compact { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 18px; }
.locator-shell { display: flex; justify-content: end; }
.locator-card { background: rgba(255,255,255,0.9); border: 1px solid var(--line); box-shadow: var(--shadow); border-radius: 28px; padding: 24px; width: 100%; max-width: 470px; }
.locator-card h2 { font-size: 26px; margin-bottom: 6px; }
.locator-card p { color: var(--muted); }
.locator-form { display: grid; gap: 10px; margin-top: 16px; }
.locator-form input, .locator-form select, input, textarea, select, .directorist-form-element { width: 100%; min-height: 48px; padding: 12px 14px !important; border-radius: 14px !important; border: 1px solid var(--line) !important; background: #fff; }
.quick-links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.quick-links a { display: inline-flex; min-height: 36px; align-items: center; padding: 0 12px; border-radius: 999px; background: var(--soft); font-size: 14px; font-weight: 700; }

.action-strip { padding-top: 30px; }
.action-grid, .cards-3, .pricing-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 18px; }
.action-card, .mini-card, .price-card, .panel, .agency-card, .post-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 22px;
}
.action-card span { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 999px; background: var(--yellow); color: var(--black); font-size: 13px; font-weight: 800; margin-bottom: 12px; }
.action-card p, .mini-card p, .price-card p { color: var(--muted); }
.mini-card a, .action-card:hover h3 { color: var(--red); }

.pricing-grid-simple { grid-template-columns: repeat(4, minmax(0,1fr)); }
.price-card .price { font-size: 34px; font-weight: 800; letter-spacing: -0.04em; margin: 10px 0 12px; }
.price-card .price small { font-size: 14px; font-weight: 700; color: var(--muted); }
.price-card ul { margin: 0 0 18px; padding-left: 18px; color: var(--muted); }
.price-card li { margin-bottom: 8px; }
.plan-badge { display: inline-block; margin-bottom: 10px; padding: 5px 10px; border-radius: 999px; background: #fff1f3; color: var(--red); font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; }
.plan-badge.yellow { background: #fff3cc; color: #6e5000; }
.plan-badge.red { background: #ffe4e7; color: var(--red); }
.price-card.highlight { border-color: rgba(255,201,39,0.8); box-shadow: 0 18px 60px rgba(255,201,39,0.18); }

.parallax-band { position: relative; background: linear-gradient(135deg, #0e1018, #171a24); color: #fff; background-attachment: fixed; }
.simple-split { display: grid; grid-template-columns: 1fr 360px; gap: 22px; align-items: center; }
.parallax-band .lead { color: rgba(255,255,255,0.76); }
.bullet-panel { background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.12); border-radius: var(--radius); padding: 24px; }
.bullet-panel ul { margin: 0 0 16px; padding-left: 18px; }
.bullet-panel li { margin-bottom: 8px; }

.page-hero { padding: 72px 0 48px; background: linear-gradient(180deg, #fff, #f8f7f2); }
.content-wrap { width: min(900px, calc(100% - 32px)); margin: 0 auto; padding: 44px 0 70px; }
.entry-content { font-size: 18px; }
.entry-content p, .entry-content li { color: #3f4657; }
.post-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 18px; }
.post-body { padding: 20px; }
.post-thumb { display: grid; place-items: center; min-height: 170px; background: var(--soft); font-size: 44px; font-weight: 800; }

.directorist-search-form, .directorist-listing-single, .directorist-card, .directorist-pricing__single, .wpforms-container-full form, .adverts-form, .adverts-flexbox-item, .job_listing, .woocommerce ul.products li.product, .woocommerce div.product {
  border-radius: var(--radius) !important; border: 1px solid var(--line) !important; box-shadow: var(--shadow) !important;
}
.directorist-search-form, .wpforms-container-full form, .adverts-form { background: #fff !important; padding: 22px !important; }
.woocommerce ul.products li.product .price, .woocommerce div.product p.price { color: var(--red) !important; font-weight: 800 !important; }

.site-footer { background: var(--black); color: #fff; padding: 56px 0 94px; }
.simple-footer-cta { display: grid; grid-template-columns: 1fr auto; gap: 20px; align-items: center; background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1); border-radius: 28px; padding: 26px; margin-bottom: 30px; }
.footer-cta-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.simple-footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 22px; }
.site-footer p, .site-footer a { color: rgba(255,255,255,0.75); }
.site-footer h3 { color: var(--yellow); margin-bottom: 12px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); margin-top: 28px; padding-top: 16px; font-size: 14px; }
.back-to-top {
  position: fixed; right: 16px; bottom: 90px; z-index: 2600; width: 50px; height: 50px; border: 0; border-radius: 999px; background: var(--yellow); color: var(--black); font-size: 24px; font-weight: 800;
  box-shadow: 0 12px 30px rgba(0,0,0,0.22); opacity: 0; pointer-events: none; transform: translateY(12px); transition: opacity .2s ease, transform .2s ease;
}
.back-to-top.is-visible { opacity: 1; pointer-events: auto; transform: translateY(0); }
.mobile-sticky-cta {
  display: none; position: fixed; left: 10px; right: 10px; bottom: max(10px, env(safe-area-inset-bottom)); z-index: 2500; gap: 8px; padding: 8px; border-radius: 999px; background: rgba(9,11,18,0.94); box-shadow: 0 16px 36px rgba(0,0,0,0.22);
}
.mobile-sticky-cta a { flex: 1; display: flex; align-items: center; justify-content: center; min-height: 42px; border-radius: 999px; color: #fff; font-size: 13px; font-weight: 800; }
.mobile-sticky-cta a:nth-child(2) { background: var(--red); }
.mobile-sticky-cta a:nth-child(3) { background: var(--yellow); color: var(--black); }

@media (max-width: 1024px) {
  .desktop-nav, .header-actions { display: none; }
  .mobile-menu-toggle { display: inline-flex; justify-self: end; }
  .hero-grid.simple, .simple-split, .simple-footer-cta, .simple-footer-grid { grid-template-columns: 1fr; }
  .action-grid, .cards-3 { grid-template-columns: 1fr 1fr; }
  .pricing-grid-simple, .post-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .site-main { padding-top: 74px; }
  .parallax-hero, .parallax-band { background-attachment: scroll; }
  .hero-minimal { padding: 38px 0 28px; }
  .hero-actions.compact { flex-direction: column; }
  .locator-card { padding: 18px; border-radius: 22px; }
  .section { padding: 56px 0; }
  .mobile-sticky-cta { display: flex; }
  .site-footer { padding-bottom: 108px; }
}
@media (max-width: 560px) {
  .container { width: calc(100% - 24px); }
  h1, .h1 { font-size: clamp(34px, 11vw, 52px); }
  h2 { font-size: clamp(26px, 8vw, 38px); }
  .lead { font-size: 16px; }
  .action-grid, .cards-3, .pricing-grid-simple, .post-grid { grid-template-columns: 1fr; }
  .nav-row { min-height: 70px; }
  .brand-logo img, .custom-logo { max-width: 185px; max-height: 42px; }
}
