/* ==========================================================================
   HumanClickz — main stylesheet
   --------------------------------------------------------------------------
   Contents
     01. Design tokens
     02. Base & typography
     03. 24-column grid
     04. Buttons & links
     05. Logo mark (animated) & brand motifs
     06. Website loader & scroll progress
     07. Top strip, header & navigation
     08. Mobile drawer & search modal
     09. Section scaffolding
     10. Home: hero (full-width banner)
     12. Home: about split
     13. Prime Listing (auto-scrolling spotlight)
     14. Advertisement band
     15. Category flip cards
     16. Numbers band
     17. News cards & auto-scroll track
     18. Closing call to action
     19. Footer & back-to-top
     20. Inner page hero
     21. Directory: filters, listing cards, sidebar
     22. Single listing
     23. Blog pages
     24. Forms, prose, services, sitemap, 404
     25. Scroll & hover animation utilities
     26. Reduced motion
   ========================================================================== */


/* 01. Design tokens ------------------------------------------------------- */
:root {
  /* brand colours (sampled from the HumanClickz logo) */
  --navy: #0A2A66;
  --navy-2: #0F3A86;
  --blue: #1565E0;
  --cyan: #19B6F2;
  --orange: #F7931E;
  --orange-dark: #E07B05;
  --amber: #FFD23F;

  /* neutrals */
  --ink: #0D1730;
  --body: #46536D;
  --muted: #6B7891;
  --paper: #F5F8FD;
  --line: #E1E8F3;
  --white: #FFFFFF;

  /* gradients taken from the logo shapes */
  --grad-blue: linear-gradient(135deg, #1FC3F5 0%, #1565E0 55%, #0A2A66 100%);
  --grad-orange: linear-gradient(135deg, #FFD23F 0%, #F7931E 60%, #EF6C00 100%);

  /* grid: 24 columns · 38px column · 15px gutter · centred */
  --wrap: 1257px;
  --gutter: 15px;

  /* shape & depth */
  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-sm: 10px;
  --shadow-1: 0 1px 2px rgba(10, 42, 102, .06), 0 8px 24px -12px rgba(10, 42, 102, .18);
  --shadow-2: 0 24px 60px -24px rgba(10, 42, 102, .35);

  /* type */
  --font-head: "Outfit", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;

  /* motion */
  --ease: cubic-bezier(.2, .7, .2, 1);
}


/* 02. Base & typography --------------------------------------------------- */
*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16.5px;
  line-height: 1.65;
  color: var(--body);
  background: var(--white);
  overflow-x: hidden;
}

img { display: block; max-width: 100%; height: auto; }
a { color: var(--blue); text-decoration: none; transition: color .25s; }
a:hover { color: var(--navy); }

h1, h2, h3, h4, h5 {
  margin: 0 0 .5em;
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -.015em;
  color: var(--ink);
}
h1 { font-size: clamp(2.3rem, 4.6vw, 4rem); letter-spacing: -.03em; }
h2 { font-size: clamp(1.85rem, 3.2vw, 2.85rem); letter-spacing: -.025em; }
h3 { font-size: clamp(1.2rem, 1.8vw, 1.45rem); }
p  { margin: 0 0 1em; }

:focus-visible { outline: 3px solid var(--cyan); outline-offset: 3px; border-radius: 6px; }

.skip-link { position: absolute; left: -999px; top: 8px; z-index: 400; padding: 10px 16px; border-radius: 8px; background: var(--navy); color: #fff; }
.skip-link:focus { left: 12px; color: #fff; }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }


/* 03. 24-column grid -------------------------------------------------------
   .grid-24 makes a 24-column row. Children take .span-N (width) and
   optionally .start-N (the column they begin on).                          */
.wrap { width: 100%; max-width: calc(var(--wrap) + 48px); margin-inline: auto; padding-inline: 24px; }
.grid-24 { display: grid; grid-template-columns: repeat(24, minmax(0, 1fr)); column-gap: var(--gutter); row-gap: 28px; }
.grid-24 > [class*="span-"] { grid-column: span var(--span); }
.span-24 { --span: 24; } .span-17 { --span: 17; } .span-16 { --span: 16; } .span-15 { --span: 15; }
.span-14 { --span: 14; } .span-13 { --span: 13; } .span-12 { --span: 12; } .span-11 { --span: 11; }
.span-10 { --span: 10; } .span-9  { --span: 9;  } .span-8  { --span: 8;  } .span-7  { --span: 7;  }
.span-6  { --span: 6;  } .span-5  { --span: 5;  }
.start-10 { grid-column: 10 / span var(--span) !important; }
.start-11 { grid-column: 11 / span var(--span) !important; }
.start-13 { grid-column: 13 / span var(--span) !important; }
.start-14 { grid-column: 14 / span var(--span) !important; }
.start-15 { grid-column: 15 / span var(--span) !important; }
.start-16 { grid-column: 16 / span var(--span) !important; }
.start-17 { grid-column: 17 / span var(--span) !important; }
.start-18 { grid-column: 18 / span var(--span) !important; }
.grid-center { align-items: center; }
@media (max-width: 980px) {
  .grid-24 { grid-template-columns: minmax(0, 1fr); }
  .grid-24 > [class*="span-"] { grid-column: 1 / -1 !important; }
}


/* 04. Buttons & links ----------------------------------------------------- */
.btn {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  gap: .6em;
  padding: 15px 26px;
  border: 2px solid transparent;
  border-radius: 999px;
  font: 600 15.5px/1 var(--font-head);
  cursor: pointer;
  isolation: isolate;
  transition: background .3s, color .3s, border-color .3s, transform .3s var(--ease), box-shadow .3s;
}
.btn svg { width: 18px; height: 18px; transition: transform .35s var(--ease); }
.btn:hover { transform: translateY(-2px); }
.btn:hover svg { transform: translateX(4px); }
/* shine sweep on hover */
.btn::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .45) 50%, transparent 70%);
  transform: translateX(-120%);
  transition: transform .7s var(--ease);
}
.btn:hover::after { transform: translateX(120%); }

.btn-primary { background: var(--orange); color: var(--ink); box-shadow: 0 10px 24px -12px rgba(247, 147, 30, .8); }
.btn-primary:hover { background: var(--orange-dark); color: var(--ink); }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--blue); color: #fff; }
.btn-outline { border-color: currentColor; background: transparent; color: var(--navy); }
.btn-outline:hover { border-color: var(--navy); background: var(--navy); color: #fff; }
.btn-light { border-color: rgba(255, 255, 255, .5); color: #fff; }
.btn-light:hover { background: #fff; color: var(--navy); }

.link-arrow { display: inline-flex; align-items: center; gap: 6px; font: 600 15px var(--font-head); color: var(--blue); }
.link-arrow svg { width: 16px; height: 16px; transition: transform .3s var(--ease); }
.link-arrow:hover svg { transform: translateX(5px); }

.icon-btn {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: #fff;
  color: var(--navy);
  cursor: pointer;
  transition: background .25s, color .25s, transform .25s var(--ease);
}
.icon-btn:hover { background: var(--navy); color: #fff; transform: scale(1.06); }
.icon-btn svg { width: 20px; height: 20px; }


/* 05. Logo mark (animated) & brand motifs --------------------------------
   The logo is rebuilt as inline SVG so each part can move:
     .mk-person   – the three people (gentle bob)
     .mk-swoosh   – blue and orange swooshes (slow sway)
     .mk-ring     – the target rings (pulse outward)
     .mk-cursor   – the pointer (clicks)
     .mk-spark    – the three click sparks (flash on each click)        */
.hc-mark { display: block; overflow: visible; }
.hc-mark .mk-person { transform-box: fill-box; transform-origin: 50% 100%; animation: mk-bob 3.6s ease-in-out infinite; }
.hc-mark .mk-person-center { animation-delay: -.6s; }
.hc-mark .mk-person-right  { animation-delay: -1.2s; }
.hc-mark .mk-swoosh { transform-box: view-box; transform-origin: 120px 120px; animation: mk-sway 6s ease-in-out infinite; }
.hc-mark .mk-swoosh-orange { animation-delay: -3s; }
.hc-mark .mk-ring { transform-box: view-box; transform-origin: 120px 118px; animation: mk-pulse 2.4s ease-in-out infinite; }
.hc-mark .mk-ring-2 { animation-delay: .15s; }
.hc-mark .mk-ring-1 { animation-delay: .3s; }
.hc-mark .mk-cursor { transform-box: fill-box; transform-origin: 0 0; animation: mk-click 2.4s ease-in-out infinite; }
.hc-mark .mk-spark { opacity: 0; transform-box: fill-box; transform-origin: 0 100%; animation: mk-spark 2.4s ease-out infinite; }
.hc-mark .mk-spark:nth-child(2) { animation-delay: .06s; }
.hc-mark .mk-spark:nth-child(3) { animation-delay: .12s; }

@keyframes mk-bob   { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-4px); } }
@keyframes mk-sway  { 0%, 100% { transform: rotate(0); } 50% { transform: rotate(-4deg); } }
@keyframes mk-pulse { 0%, 100% { transform: scale(1); } 40% { transform: scale(1.07); } }
@keyframes mk-click { 0%, 30%, 60%, 100% { transform: translate(0, 0) scale(1); } 40% { transform: translate(-3px, -3px) scale(.9); } }
@keyframes mk-spark { 0%, 38% { opacity: 0; transform: scale(.4); } 46% { opacity: 1; transform: scale(1.15); } 70%, 100% { opacity: 0; transform: scale(1); } }

/* brand lock-up: animated mark + wordmark with a light sweep */
.brand { display: inline-flex; align-items: center; gap: 10px; }
.brand .hc-mark { width: 58px; height: auto; }
.wordmark { position: relative; display: block; }
.wordmark img { height: 24px; width: auto; }
.wordmark img { animation: wordmark-glow 5s ease-in-out infinite; }
@keyframes wordmark-glow { 0%, 70%, 100% { filter: none; } 80% { filter: brightness(1.25) drop-shadow(0 0 6px rgba(25, 182, 242, .55)); } }

/* sparks icon used as the section label marker */
.sparks { display: inline-block; width: 18px; height: 18px; color: var(--orange); }
.sparks line { transform-box: fill-box; transform-origin: 0 100%; animation: mk-spark-soft 2.4s ease-in-out infinite; }
.sparks line:nth-child(2) { animation-delay: .15s; }
.sparks line:nth-child(3) { animation-delay: .3s; }
@keyframes mk-spark-soft { 0%, 100% { opacity: .35; transform: scale(.75); } 45% { opacity: 1; transform: scale(1.1); } }

/* swoosh underline that draws itself when its section scrolls in */
.swoosh-rule { display: block; width: 150px; height: 18px; margin-top: 10px; overflow: visible; }
.swoosh-rule path { fill: none; stroke-width: 5; stroke-linecap: round; stroke-dasharray: 160; stroke-dashoffset: 160; transition: stroke-dashoffset 1.2s var(--ease); }
.swoosh-rule path:last-child { transition-delay: .25s; }
.is-visible .swoosh-rule path,
.swoosh-rule.is-visible path { stroke-dashoffset: 0; }

/* triangle bullet (the orange "A" notch from the wordmark) */
.tri-list { list-style: none; padding: 0; margin: 0; }
.tri-list li { position: relative; padding-left: 22px; }
.tri-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .55em;
  border-left: 7px solid transparent;
  border-right: 7px solid transparent;
  border-bottom: 11px solid var(--orange);
  transition: transform .4s var(--ease);
}
.tri-list li:hover::before { transform: rotate(180deg); }

/* concentric target rings used as backgrounds */
.rings { pointer-events: none; }
.rings circle { fill: none; stroke-width: 1.5; transform-box: view-box; transform-origin: 360px 360px; animation: ring-breathe 6s ease-in-out infinite; }
.rings circle:nth-child(2) { animation-delay: .4s; }
.rings circle:nth-child(3) { animation-delay: .8s; }
.rings circle:nth-child(4) { animation-delay: 1.2s; }
.rings circle:nth-child(5) { animation-delay: 1.6s; }
.rings circle:nth-child(6) { animation-delay: 2s; }
.rings circle:nth-child(7) { animation-delay: 2.4s; }
.rings circle:nth-child(8) { animation-delay: 2.8s; }
.rings circle:nth-child(9) { animation-delay: 3.2s; }
@keyframes ring-breathe { 0%, 100% { transform: scale(1); opacity: 1; } 50% { transform: scale(1.04); opacity: .6; } }


/* 06. Website loader & scroll progress --------------------------------- */
.preloader { position: fixed; inset: 0; z-index: 500; display: grid; place-items: center; background: radial-gradient(circle at 50% 45%, #fff 0, #EEF5FE 70%); transition: opacity .3s, visibility .3s; }
.preloader.is-done { opacity: 0; visibility: hidden; }
/* Safety net: if the script cannot run, the loader still leaves after 1.5s */
.preloader { animation: preloader-out .3s 1.5s forwards; }
@keyframes preloader-out { to { opacity: 0; visibility: hidden; } }
.preloader-box { position: relative; display: grid; justify-items: center; gap: 16px; width: 260px; }
.preloader-box .rings { position: absolute; left: 50%; top: 70px; width: 360px; height: 360px; transform: translate(-50%, -50%); }
.preloader-box .hc-mark { position: relative; width: 140px; }
.preloader-word { position: relative; height: 22px; width: auto; }
.preloader-bar { position: relative; width: 100%; height: 6px; overflow: hidden; border-radius: 999px; background: var(--line); }
.preloader-bar span { position: absolute; inset: 0 auto 0 0; width: 0; border-radius: inherit; background: linear-gradient(90deg, var(--blue), var(--cyan), var(--orange)); transition: width .1s linear; }
.preloader-pct { font: 600 13px var(--font-head); color: var(--muted); }

/* thin bar under the header that fills as you scroll the page */
.scroll-progress { position: fixed; top: 0; left: 0; right: 0; z-index: 120; height: 4px; pointer-events: none; }
.scroll-progress span { display: block; height: 100%; background: linear-gradient(90deg, var(--blue), var(--cyan) 55%, var(--orange)); transform: scaleX(0); transform-origin: left; }


/* 07. Top strip, header & navigation ------------------------------------- */
.top-strip { background: var(--navy); color: #C9D6EE; font-size: 13.5px; }
.top-strip .wrap { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 40px; }
.social-row { display: flex; align-items: center; gap: 10px; }
.social-row a { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: rgba(255, 255, 255, .08); transition: background .25s, transform .3s var(--ease); }
.social-row a:hover { background: var(--cyan); transform: translateY(-3px) rotate(-8deg); }
.social-row svg { width: 13px; height: 13px; fill: #fff; }

.site-header { position: sticky; top: 0; z-index: 90; background: rgba(255, 255, 255, .93); backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid transparent; transition: box-shadow .3s, border-color .3s; }
.site-header.is-scrolled { border-color: var(--line); box-shadow: 0 10px 30px -18px rgba(10, 42, 102, .35); }
.header-row { display: flex; align-items: center; gap: 24px; min-height: 84px; transition: min-height .3s; }
.site-header.is-scrolled .header-row { min-height: 68px; }

.main-nav { display: flex; gap: 2px; margin-left: auto; }
.main-nav a { position: relative; padding: 10px 13px; border-radius: 999px; font: 500 15.5px var(--font-head); color: var(--ink); }
.main-nav a::after { content: ""; position: absolute; left: 13px; right: 13px; bottom: 5px; height: 2px; background: var(--orange); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.main-nav a:hover::after,
.main-nav a[aria-current="page"]::after { transform: scaleX(1); }
.header-actions { display: flex; align-items: center; gap: 10px; }
.menu-toggle { display: none; }
@media (max-width: 1180px) {
  .main-nav, .header-actions .btn { display: none; }
  .menu-toggle { display: grid; }
  .header-actions { margin-left: auto; }
  .top-strip-note { display: none; }
}


/* 08. Mobile drawer & search modal --------------------------------------- */
.drawer { position: fixed; inset: 0; z-index: 150; display: flex; flex-direction: column; padding: 22px 24px 40px; overflow-y: auto; background: var(--navy); color: #fff; transform: translateY(-102%); transition: transform .5s var(--ease); }
.drawer.is-open { transform: none; }
.drawer-top { display: flex; justify-content: space-between; align-items: center; }
.drawer .icon-btn { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .25); }
.drawer-nav { display: flex; flex-direction: column; margin: 34px 0 28px; }
.drawer-nav a { padding: 8px 0; border-bottom: 1px solid rgba(255, 255, 255, .1); font: 600 clamp(1.6rem, 7vw, 2.3rem)/1.25 var(--font-head); color: #fff; transition: color .25s, padding .3s var(--ease); }
.drawer-nav a:hover { color: var(--cyan); padding-left: 8px; }

.search-modal { position: fixed; inset: 0; z-index: 160; display: grid; place-items: start center; padding: 12vh 20px 20px; background: rgba(6, 20, 52, .72); backdrop-filter: blur(6px); opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s; }
.search-modal.is-open { opacity: 1; visibility: visible; }
.search-modal-box { width: min(720px, 100%); padding: 26px; border-radius: var(--radius-lg); background: #fff; box-shadow: var(--shadow-2); transform: translateY(16px); transition: transform .35s var(--ease); }
.search-modal.is-open .search-modal-box { transform: none; }
.search-modal form { display: flex; gap: 10px; }
.search-modal input { flex: 1; padding: 14px 22px; border: 2px solid var(--line); border-radius: 999px; font: 500 18px var(--font-body); color: var(--ink); }
.search-modal input:focus { outline: none; border-color: var(--cyan); }
.search-modal-hint { margin: 14px 6px 0; font-size: 14px; color: var(--muted); }
.search-modal-hint a { margin-right: 12px; }


/* 09. Section scaffolding ------------------------------------------------- */
.section { padding: clamp(72px, 9vw, 120px) 0; }
.section-tint { background: var(--paper); }
.section-flush-top { padding-top: 0; }
.section-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 44px; }
.section-head h2 { margin: 0; max-width: 20ch; }
.section-head p { max-width: 46ch; margin: 0; }
.label { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 12px; font: 600 14.5px var(--font-head); color: var(--blue); }


/* 10. Home: hero (full-width banner) -----------------------------------
   The live site's photo fills the width behind a navy wash. The search bar
   sits on the logo's target rings; the logo's pointer clicks it.          */
.hero { position: relative; display: flex; align-items: center; min-height: min(86vh, 780px); overflow: hidden; padding: 96px 0 120px; color: #DCE6F7; isolation: isolate; }
.hero-bg { position: absolute; inset: -40px 0 0; z-index: -2; transform: scale(1.08); will-change: transform; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(100deg, rgba(7, 30, 77, .94) 0%, rgba(10, 42, 102, .82) 45%, rgba(21, 101, 224, .35) 100%); }
.hero > .rings { position: absolute; right: -180px; top: 50%; z-index: -1; width: 760px; height: 760px; transform: translateY(-50%); opacity: .8; }
.hero-inner { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 40px; }
.hero .label { color: var(--cyan); }
.hero-copy h1 { max-width: 16ch; margin-bottom: 30px; font-size: clamp(2.4rem, 5vw, 4.4rem); color: #fff; }

.search-target { position: relative; max-width: 700px; padding: 14px; border-radius: 30px; background: rgba(255, 255, 255, .96); box-shadow: 0 30px 70px -30px rgba(0, 0, 0, .6); }
.search-bar { display: grid; grid-template-columns: 1.3fr 1fr auto; gap: 8px; }
.search-bar label { display: flex; align-items: center; gap: 10px; min-height: 58px; padding: 0 16px; border-radius: 18px; background: var(--paper); transition: box-shadow .25s; }
.search-bar label:focus-within { box-shadow: inset 0 0 0 2px var(--cyan); }
.search-bar label svg { flex: none; width: 20px; height: 20px; color: var(--blue); }
.search-bar input,
.search-bar select { width: 100%; min-width: 0; height: 56px; border: 0; background: transparent; font: 500 15.5px var(--font-body); color: var(--ink); }
.search-bar input:focus,
.search-bar select:focus { outline: none; }
.search-bar .btn { justify-content: center; min-height: 58px; border-radius: 18px; }
.hero-cursor { position: absolute; right: 58px; bottom: -26px; width: 46px; pointer-events: none; filter: drop-shadow(0 6px 10px rgba(10, 42, 102, .3)); animation: cursor-arrive 1.2s 1.6s var(--ease) both; }
.hero-cursor .mk-spark { opacity: 0; animation: mk-spark 2.4s 2.8s ease-out infinite; }
.hero-cursor .mk-cursor { transform-box: fill-box; transform-origin: 0 0; animation: mk-click 2.4s 2.8s ease-in-out infinite; }
@keyframes cursor-arrive { from { transform: translate(90px, 70px); opacity: 0; } to { transform: none; opacity: 1; } }

.quick-links { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 22px; font-size: 14px; }
.quick-links a { padding: 6px 14px; border: 1px solid var(--line); border-radius: 999px; background: #fff; font-weight: 500; color: var(--navy); transition: border-color .25s, transform .25s var(--ease); }
.quick-links a:hover { border-color: var(--cyan); color: var(--blue); transform: translateY(-2px); }
.hero .quick-links { color: #C9D7F0; }
.hero .quick-links a { border-color: rgba(255, 255, 255, .25); background: rgba(255, 255, 255, .08); color: #fff; backdrop-filter: blur(4px); }
.hero .quick-links a:hover { background: #fff; color: var(--navy); }

.hero-badges { display: grid; gap: 14px; }
.hero-badge { display: flex; align-items: center; gap: 12px; max-width: 290px; padding: 14px 16px; border-radius: 20px; background: #fff; box-shadow: var(--shadow-2); color: var(--body); animation: float 6s ease-in-out infinite; }
.hero-badge + .hero-badge { animation-delay: -3s; }
.hero-badge:hover { color: var(--body); }
.hero-badge b { display: block; font: 700 15px/1.2 var(--font-head); color: var(--ink); }
.hero-badge small { font-size: 13px; color: var(--muted); }
.hero-badge .hc-mark { width: 52px; }
.hero-badge .big { margin-right: 6px; font: 800 30px/1 var(--font-head); color: var(--navy); }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
.verified { display: inline-flex; align-items: center; gap: 5px; padding: 3px 10px; border-radius: 999px; background: #E3F7EC; font: 600 12.5px var(--font-head); color: #0E7A43; }
.verified svg { width: 13px; height: 13px; }

/* animated "scroll" cue at the bottom of the hero */
.scroll-cue { position: absolute; left: 50%; bottom: 26px; display: grid; justify-items: center; gap: 6px; transform: translateX(-50%); font: 600 12px var(--font-head); letter-spacing: .04em; color: #C9D7F0; }
.scroll-cue:hover { color: #fff; }
.scroll-cue .mouse { display: block; width: 24px; height: 38px; border: 2px solid currentColor; border-radius: 14px; }
.scroll-cue .wheel { display: block; width: 4px; height: 8px; margin: 7px auto 0; border-radius: 2px; background: var(--orange); animation: wheel 1.6s ease-in-out infinite; }
@keyframes wheel { 0% { transform: translateY(0); opacity: 1; } 70% { transform: translateY(12px); opacity: 0; } 100% { transform: translateY(0); opacity: 0; } }

@media (max-width: 980px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-badges { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
}
@media (max-width: 640px) {
  .hero { padding: 64px 0 110px; }
  .search-bar { grid-template-columns: 1fr; }
  .hero-cursor { display: none; }
}


/* 12. Home: about split --------------------------------------------------- */
.photo-stack { position: relative; padding-bottom: 60px; }
.photo-stack .photo-main { aspect-ratio: 5 / 4; overflow: hidden; border-radius: var(--radius-lg); box-shadow: var(--shadow-1); }
.photo-stack .photo-round { position: absolute; right: -4%; bottom: 0; width: 46%; aspect-ratio: 1; overflow: hidden; border: 10px solid #fff; border-radius: 50%; box-shadow: var(--shadow-2); }
.photo-stack img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.photo-stack div:hover img { transform: scale(1.06); }
.photo-stack .stack-swoosh { position: absolute; left: -30px; bottom: 10px; width: 180px; }

.tick-list { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 24px; margin: 26px 0 34px; padding: 0; list-style: none; }
.tick-list li { display: flex; gap: 12px; }
.tick-list svg { flex: none; width: 26px; height: 26px; color: var(--orange); transition: transform .4s var(--ease); }
.tick-list li:hover svg { transform: scale(1.15) rotate(-10deg); }
.tick-list b { display: block; font: 600 16.5px var(--font-head); color: var(--ink); }
.tick-list span { font-size: 15px; }
@media (max-width: 640px) { .tick-list { grid-template-columns: 1fr; } }


/* 13. Prime Listing (auto-scrolling spotlight) ---------------------------
   Navy "spotlight" cards on a track that scrolls by itself (see main.js →
   AutoScroll). Each business logo sits inside the logo's target rings.   */
.prime { position: relative; overflow: hidden; background: var(--navy); color: #C9D7F0; }
.prime .section-head h2 { color: #fff; }
.prime .section-head p { color: #AFC1E3; }
.prime.section { padding-bottom: clamp(56px, 7vw, 90px); }
.prime .label { color: var(--cyan); }
.prime > .rings { position: absolute; left: -260px; top: -200px; width: 760px; height: 760px; opacity: .55; }

.track { position: relative; overflow: hidden; padding: 6px 0 14px max(24px, calc((100vw - var(--wrap)) / 2)); touch-action: pan-y; }
.track-inner { display: flex; gap: var(--gutter); will-change: transform; }
.track-inner > * { flex: none; }
.track-controls { display: flex; gap: 10px; }
.track-controls .icon-btn { background: transparent; color: inherit; border-color: currentColor; }
.prime .track-controls { color: #fff; }
.prime .track-controls .icon-btn:hover { background: #fff; color: var(--navy); }

.spot-card {
  position: relative;
  display: grid;
  grid-template-columns: 116px 1fr;
  gap: 22px;
  width: min(460px, 82vw);
  padding: 26px;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: var(--radius-lg);
  background: linear-gradient(160deg, rgba(255, 255, 255, .08), rgba(255, 255, 255, .02));
  color: #C9D7F0;
  transition: transform .45s var(--ease), border-color .3s, background .3s;
}
.spot-card:hover { transform: translateY(-6px); border-color: rgba(25, 182, 242, .6); background: linear-gradient(160deg, rgba(25, 182, 242, .16), rgba(255, 255, 255, .03)); color: #DCE6F7; }
.spot-logo { position: relative; display: grid; place-items: center; width: 116px; height: 116px; }
.spot-logo .rings { position: absolute; inset: -14px; width: calc(100% + 28px); height: calc(100% + 28px); }
.spot-logo .rings circle { animation-play-state: paused; }
.spot-card:hover .spot-logo .rings circle { animation-play-state: running; }
.spot-logo-disc { position: relative; display: grid; place-items: center; width: 88px; height: 88px; overflow: hidden; padding: 12px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 4px rgba(255, 255, 255, .15); transition: transform .5s var(--ease); }
.spot-card:hover .spot-logo-disc { transform: scale(1.06); }
.spot-logo-disc img { max-height: 100%; object-fit: contain; }
.spot-logo-disc .monogram { width: 64px; height: 64px; font-size: 24px; box-shadow: none; }
.spot-tag { position: absolute; top: 18px; right: 18px; display: inline-flex; align-items: center; gap: 6px; padding: 4px 11px; border-radius: 999px; background: var(--grad-orange); font: 700 12px var(--font-head); color: var(--ink); }
.spot-tag .sparks { width: 14px; height: 14px; color: var(--ink); }
.spot-body { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.spot-cat { font: 600 13px var(--font-head); color: var(--cyan); }
.spot-card h3 { margin: 0; padding-right: 60px; font-size: 19px; line-height: 1.3; color: #fff; }
.spot-card p { margin: 0; font-size: 14.5px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.spot-meta { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: 13.5px; color: #AFC1E3; }
.spot-meta span { display: inline-flex; align-items: center; gap: 6px; }
.spot-meta svg { width: 15px; height: 15px; }
.spot-go { display: inline-flex; align-items: center; gap: 8px; margin-top: 6px; font: 600 15px var(--font-head); color: #fff; }
.spot-go svg { width: 18px; height: 18px; transition: transform .35s var(--ease); }
.spot-card:hover .spot-go svg { transform: translate(3px, -3px) rotate(-12deg); }
@media (max-width: 560px) { .spot-card { grid-template-columns: 1fr; } }


/* 14. Advertisement band ------------------------------------------------- */
.ad-band { position: relative; overflow: hidden; padding: clamp(36px, 5vw, 64px); border-radius: var(--radius-lg); background: var(--grad-blue); color: #DCE6F7; }
.ad-band h2 { max-width: 20ch; color: #fff; }
.ad-band p { max-width: 60ch; }
.ad-tag { position: absolute; top: 18px; right: 22px; padding: 3px 10px; border: 1px solid rgba(255, 255, 255, .3); border-radius: 999px; font-size: 12px; color: #DCE6F7; }
.ad-band .hc-mark { width: min(260px, 100%); margin-inline: auto; filter: drop-shadow(0 20px 30px rgba(6, 20, 52, .35)); }


/* 15. Category flip cards -----------------------------------------------
   Front: category photo and name. Back (on hover, focus or first tap):
   the logo's rings, listing count and a button.                          */
.cat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--gutter); }
.flip-card { display: block; aspect-ratio: 4 / 3; perspective: 1400px; color: #fff; transition: transform .6s var(--ease); }
.flip-card:hover { color: #fff; transform: translateY(-6px); }
/* Smooth turn: a soft ease-in-out, a short hover delay so cards don't flip
   when the pointer just passes over them, and a shadow that grows with it. */
.flip-inner {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  border-radius: var(--radius-md);
  transform-style: preserve-3d;
  box-shadow: 0 10px 24px -16px rgba(10, 42, 102, .35);
  transition: transform .9s cubic-bezier(.45, .05, .25, 1), box-shadow .9s ease;
}
.flip-card:hover .flip-inner,
.flip-card:focus-visible .flip-inner,
.flip-card.is-flipped .flip-inner { transform: rotateY(180deg); box-shadow: 0 30px 50px -24px rgba(10, 42, 102, .55); transition-delay: .08s; }
.flip-front,
.flip-back { position: absolute; inset: 0; overflow: hidden; border-radius: var(--radius-md); -webkit-backface-visibility: hidden; backface-visibility: hidden; }
.flip-front { transform: rotateY(0deg) translateZ(1px); }
/* Some browsers paint a mirrored front face mid-turn, so each face is also
   hidden/shown exactly halfway through the flip (0.08s delay + 0.45s). */
.flip-front { visibility: visible; transition: visibility 0s .53s; }
.flip-back  { visibility: hidden;  transition: visibility 0s .53s; }
.flip-card:hover .flip-front,
.flip-card:focus-visible .flip-front,
.flip-card.is-flipped .flip-front { visibility: hidden; }
.flip-card:hover .flip-back,
.flip-card:focus-visible .flip-back,
.flip-card.is-flipped .flip-back { visibility: visible; }
.flip-card:not(:hover):not(.is-flipped) .flip-front,
.flip-card:not(:hover):not(.is-flipped) .flip-back { transition-delay: .45s; }
.flip-front img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.02); transition: transform 1.2s var(--ease); }
.flip-card:hover .flip-front img { transform: scale(1.1); }
.flip-front::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(8, 26, 66, 0) 35%, rgba(8, 26, 66, .88)); }
.flip-front-text { position: absolute; left: 18px; right: 18px; bottom: 16px; z-index: 1; }
.flip-front-text b { display: block; font: 600 18px/1.2 var(--font-head); }
.flip-front-text small { font-size: 13px; color: #CFDCF3; }
.flip-back { display: grid; place-content: center; justify-items: center; gap: 2px; padding: 20px; background: var(--grad-blue); text-align: center; transform: rotateY(180deg) translateZ(1px); }
.flip-back .rings { position: absolute; left: 50%; top: 50%; width: 260px; height: 260px; transform: translate(-50%, -50%); opacity: .5; }
.flip-back b { position: relative; font: 600 17px/1.25 var(--font-head); }
.flip-back > *:not(.rings) { opacity: 0; transform: translateY(10px); transition: opacity .4s ease, transform .5s var(--ease); }
.flip-card:hover .flip-back > *:not(.rings),
.flip-card:focus-visible .flip-back > *:not(.rings),
.flip-card.is-flipped .flip-back > *:not(.rings) { opacity: 1; transform: none; transition-delay: .55s; }
.flip-card:hover .flip-back > *:nth-child(3) { transition-delay: .62s; }
.flip-card:hover .flip-back > *:nth-child(4) { transition-delay: .69s; }
.flip-card:hover .flip-back > *:nth-child(5) { transition-delay: .76s; }
.flip-go:hover { background: var(--amber); }
.flip-count { position: relative; font: 800 40px/1.1 var(--font-head); background: var(--grad-orange); -webkit-background-clip: text; background-clip: text; color: transparent; }
.flip-back small { position: relative; color: #DCE6F7; }
.flip-go { position: relative; display: inline-flex; align-items: center; gap: 6px; margin-top: 12px; padding: 9px 16px; border-radius: 999px; background: var(--orange); font: 600 14px var(--font-head); color: var(--ink); }
.flip-go svg { width: 16px; height: 16px; }
@media (max-width: 980px) { .cat-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .cat-grid { grid-template-columns: 1fr; } }


/* 16. Numbers band ------------------------------------------------------- */
.numbers { position: relative; overflow: hidden; background: linear-gradient(120deg, var(--navy), var(--navy-2) 60%, #11489F); color: #C9D7F0; }
.numbers .grid-24 { align-items: end; }
.numbers h2 { color: #fff; }
.number-item { padding-left: 20px; border-left: 1px solid rgba(255, 255, 255, .18); }
.number-item b { display: block; margin-bottom: 8px; font: 700 clamp(2.4rem, 4vw, 3.4rem)/1 var(--font-head); color: #fff; }
.numbers .rings { position: absolute; right: -200px; bottom: -320px; width: 700px; height: 700px; opacity: .5; }


/* 17. News cards & auto-scroll track ------------------------------------- */
.news-card { display: flex; flex-direction: column; width: min(360px, 80vw); overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius-md); background: #fff; color: var(--body); transition: transform .45s var(--ease), box-shadow .3s, border-color .3s; }
.news-card:hover { transform: translateY(-6px); border-color: #BBD3F2; box-shadow: var(--shadow-1); color: var(--body); }
.news-card-img { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: var(--paper); }
.news-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.news-card:hover .news-card-img img { transform: scale(1.06); }
/* stories without a photo get the logo's rings drawn in CSS (no repeated image) */
.news-card-img.no-photo { background: repeating-radial-gradient(circle at 50% 50%, rgba(25, 182, 242, .35) 0 2px, transparent 2px 22px), linear-gradient(135deg, #EAF3FE, #FFF4E6); }
.news-card-body { display: flex; flex: 1; flex-direction: column; gap: 10px; padding: 20px; }
.news-card h3 { margin: 0; font-size: 18px; line-height: 1.3; }
.news-card p { margin: 0; font-size: 14.5px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.news-date { display: inline-flex; align-items: center; gap: 6px; margin-top: auto; font-size: 13.5px; color: var(--muted); }
.news-date svg { width: 15px; height: 15px; }
.skeleton { border-radius: 6px; background: linear-gradient(90deg, #EEF2F8, #F7F9FC, #EEF2F8); background-size: 200% 100%; animation: shimmer 1.2s infinite; }
.skeleton-card { width: min(360px, 80vw); height: 360px; border-radius: var(--radius-md); }
@keyframes shimmer { to { background-position: -200% 0; } }


/* 18. Closing call to action -------------------------------------------- */
.closing { position: relative; overflow: hidden; padding: clamp(56px, 8vw, 104px) 24px; border-radius: var(--radius-lg); background: var(--paper); text-align: center; }
.closing .rings { position: absolute; left: 50%; top: 50%; width: 900px; height: 900px; transform: translate(-50%, -50%); }
.closing h2 { position: relative; max-width: 22ch; margin: 0 auto 30px; }
.closing .btn-row { position: relative; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.closing .closing-mark { position: relative; width: 96px; margin: 0 auto 22px; }


/* 19. Footer & back-to-top ---------------------------------------------- */
.site-footer { margin-top: clamp(72px, 9vw, 120px); padding: 80px 0 0; background: #071E4D; color: #9FB2D6; font-size: 15px; }
.site-footer a { color: #DCE6F7; transition: color .25s, padding .3s var(--ease); }
.site-footer a:hover { color: var(--cyan); }
.site-footer h4 { margin-bottom: 16px; font-size: 17px; color: #fff; }
.footer-links { display: grid; gap: 9px; margin: 0; padding: 0; list-style: none; }
.footer-links a:hover { padding-left: 6px; }
.footer-brand { margin-bottom: 18px; }
.footer-brand .wordmark img { height: 26px; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; padding: 22px 0 30px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: 14px; }
.footer-bottom nav { display: flex; flex-wrap: wrap; gap: 18px; }
.site-footer .social-row a { width: 40px; height: 40px; border: 1px solid rgba(255, 255, 255, .18); background: transparent; }
.site-footer .social-row svg { width: 16px; height: 16px; }
.site-footer .footer-bottom { margin-top: 48px; }

.back-to-top { position: fixed; right: 20px; bottom: 20px; z-index: 80; display: grid; place-items: center; width: 54px; height: 54px; border: 0; border-radius: 50%; background: #fff; box-shadow: var(--shadow-1); cursor: pointer; opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s, transform .3s var(--ease); }
.back-to-top.is-visible { opacity: 1; visibility: visible; }
.back-to-top:hover { transform: translateY(-4px); }
.back-to-top .progress { position: absolute; inset: 0; transform: rotate(-90deg); }
.back-to-top .progress circle { fill: none; stroke: var(--orange); stroke-width: 3; stroke-dasharray: 151; stroke-dashoffset: 151; }
/* the up-pointing orange triangle from the wordmark */
.back-to-top .tri { width: 0; height: 0; border-left: 8px solid transparent; border-right: 8px solid transparent; border-bottom: 13px solid var(--orange); }


/* 20. Inner page hero ---------------------------------------------------- */
.page-hero { position: relative; overflow: hidden; padding: 64px 0 72px; background: var(--navy); color: #C9D7F0; }
.page-hero .rings { position: absolute; right: -180px; top: -200px; width: 640px; height: 640px; opacity: .7; }
.page-hero-bg { position: absolute; inset: 0; opacity: .16; }
.page-hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.page-hero h1 { position: relative; max-width: 22ch; font-size: clamp(2.1rem, 4vw, 3.4rem); color: #fff; }
.page-hero p { position: relative; max-width: 62ch; margin: 0; }
.breadcrumbs { position: relative; display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-bottom: 18px; font-size: 14px; }
.breadcrumbs a { color: #fff; }
.breadcrumbs .sep { width: 0; height: 0; border-top: 4px solid transparent; border-bottom: 4px solid transparent; border-left: 6px solid var(--orange); }


/* 21. Directory: filters, listing cards, sidebar ------------------------ */
.toolbar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 28px; }
.filter { display: flex; align-items: center; gap: 10px; min-width: min(380px, 100%); padding: 0 18px; border: 1px solid var(--line); border-radius: 999px; background: #fff; transition: border-color .25s; }
.filter:focus-within { border-color: var(--cyan); }
.filter svg { width: 18px; height: 18px; color: var(--blue); }
.filter input { width: 100%; height: 50px; border: 0; font: 500 15px var(--font-body); color: var(--ink); }
.filter input:focus { outline: none; }
.count-note { font-size: 14.5px; color: var(--muted); }
.empty-state { display: none; padding: 40px; border: 1px dashed var(--line); border-radius: var(--radius-md); text-align: center; }

.card-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: var(--gutter); }
.listing-card { display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius-md); background: #fff; color: var(--body); transition: transform .45s var(--ease), box-shadow .3s, border-color .3s; }
.listing-card:hover { transform: translateY(-6px); border-color: #BBD3F2; box-shadow: var(--shadow-1); color: var(--body); }
.listing-card-logo { position: relative; display: grid; place-items: center; height: 132px; padding: 20px; overflow: hidden; border-bottom: 1px solid var(--line); background: linear-gradient(135deg, #F2F7FE, #FFF6EA); }
.listing-card-logo img { max-width: 80%; max-height: 84px; object-fit: contain; transition: transform .6s var(--ease); }
.listing-card:hover .listing-card-logo img { transform: scale(1.06); }
.listing-card-logo::before { content: ""; position: absolute; width: 220px; height: 220px; border-radius: 50%; background: repeating-radial-gradient(circle, rgba(25, 182, 242, .18) 0 2px, transparent 2px 22px); opacity: 0; transform: scale(.6); transition: opacity .5s, transform .8s var(--ease); }
.listing-card:hover .listing-card-logo::before { opacity: 1; transform: scale(1); }
.listing-card-body { display: flex; flex: 1; flex-direction: column; gap: 10px; padding: 20px 20px 22px; }
.listing-card h3 { margin: 0; font-size: 18px; line-height: 1.3; }
.listing-card p { margin: 0; font-size: 14.5px; line-height: 1.55; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.listing-card .where { display: flex; align-items: flex-start; gap: 6px; font-size: 13.5px; color: var(--muted); }
.listing-card .where svg { flex: none; width: 15px; height: 15px; margin-top: 3px; }
.listing-card-foot { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-top: auto; padding-top: 12px; border-top: 1px dashed var(--line); font-size: 13.5px; }

/* "View more" button on each business card (the whole card is the link) */
.view-more { display: inline-flex; align-items: center; justify-content: center; gap: 8px; margin-top: 6px; padding: 11px 18px; border-radius: 999px; background: var(--navy); font: 600 14.5px var(--font-head); color: #fff; transition: background .3s, color .3s, gap .3s var(--ease); }
.view-more svg { width: 16px; height: 16px; transition: transform .35s var(--ease); }
.listing-card:hover .view-more { gap: 12px; background: var(--orange); color: var(--ink); }
.listing-card:hover .view-more svg { transform: translateX(3px); }

.chip { align-self: flex-start; padding: 4px 11px; border-radius: 999px; background: #EAF3FE; font: 600 12.5px var(--font-head); color: var(--blue); }
.stars { display: inline-flex; gap: 2px; color: var(--orange); }
.stars svg { width: 15px; height: 15px; }
.stars .off { color: #D5DDEA; }
/* letter avatar used when a business has no logo: ring-framed like the logo target */
.monogram { display: grid; place-items: center; width: 72px; height: 72px; border-radius: 50%; background: var(--grad-blue); font: 700 26px var(--font-head); color: #fff; box-shadow: 0 0 0 6px #fff, 0 0 0 8px var(--cyan), 0 0 0 14px #fff, 0 0 0 16px var(--orange); }

.sidebar-card { position: sticky; top: 110px; padding: 22px; border: 1px solid var(--line); border-radius: var(--radius-md); background: #fff; }
.sidebar-card h3 { font-size: 18px; }
.sidebar-list { max-height: 60vh; margin: 0; padding: 0 6px 0 0; overflow-y: auto; list-style: none; }
.sidebar-list a { display: flex; justify-content: space-between; gap: 10px; padding: 8px 0; border-bottom: 1px solid #F0F3F8; font-size: 14.5px; color: var(--body); transition: color .25s, padding .3s var(--ease); }
.sidebar-list a:hover,
.sidebar-list a[aria-current] { padding-left: 6px; color: var(--blue); }
.sidebar-card .btn { width: 100%; justify-content: center; margin-top: 14px; padding: 12px 18px; }


/* 22. Single listing ----------------------------------------------------- */
.listing-head { padding: 44px 0 0; border-bottom: 1px solid var(--line); background: var(--paper); }
.listing-head .breadcrumbs { color: var(--muted); }
.listing-head .breadcrumbs a { color: var(--blue); }
.listing-head-row { display: flex; flex-wrap: wrap; align-items: center; gap: 28px; padding-bottom: 36px; }
.listing-logo { position: relative; display: grid; place-items: center; flex: none; width: 140px; height: 140px; }
.listing-logo .rings { position: absolute; inset: -20px; width: calc(100% + 40px); height: calc(100% + 40px); }
.listing-logo-disc { position: relative; display: grid; place-items: center; width: 112px; height: 112px; overflow: hidden; padding: 14px; border: 1px solid var(--line); border-radius: 50%; background: #fff; box-shadow: var(--shadow-1); }
.listing-logo-disc img { max-height: 100%; object-fit: contain; }
.listing-head h1 { margin: 8px 0 10px; font-size: clamp(1.9rem, 3.4vw, 2.8rem); }
.listing-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; font-size: 14.5px; }
.listing-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-left: auto; }
.listing-main h2 { font-size: clamp(1.5rem, 2.4vw, 2rem); }
.listing-main .description p { max-width: 68ch; font-size: 17.5px; line-height: 1.75; }
.keyword-link { display: inline-flex; align-items: center; gap: 8px; margin: 6px 0 34px; padding: 12px 18px; border-radius: 14px; background: #FFF4E6; font: 600 15px var(--font-head); color: #8A4A00; transition: background .3s, color .3s, transform .3s var(--ease); }
.keyword-link:hover { background: var(--orange); color: var(--ink); transform: translateY(-2px); }
.keyword-link svg { width: 16px; height: 16px; }
.map-box { aspect-ratio: 16 / 8; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius-md); background: var(--paper); }
.map-box iframe { width: 100%; height: 100%; border: 0; }
.info-card { padding: 24px; border: 1px solid var(--line); border-radius: var(--radius-md); background: #fff; transition: box-shadow .3s; }
.info-card:hover { box-shadow: var(--shadow-1); }
.info-card + .info-card { margin-top: var(--gutter); }
.info-card h3 { font-size: 18px; }
.fact-list { display: grid; gap: 14px; margin: 0; padding: 0; list-style: none; }
.fact-list li { display: flex; gap: 12px; font-size: 15px; word-break: break-word; }
.fact-list svg { flex: none; width: 20px; height: 20px; margin-top: 2px; color: var(--blue); }
.fact-list b { display: block; font: 600 13px var(--font-head); color: var(--muted); }
.rating-big { display: flex; align-items: center; gap: 14px; }
.rating-big b { font: 700 44px/1 var(--font-head); color: var(--ink); }
.premium-note { display: flex; align-items: center; gap: 10px; margin-top: 14px; padding: 12px 14px; border-radius: 12px; background: #F2F7FE; font-size: 14px; }
.premium-note .hc-mark { flex: none; width: 34px; }
.qr-row { display: flex; align-items: center; gap: 16px; }
.qr-row img { width: 116px; height: 116px; padding: 6px; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.info-card .social-row a { width: 40px; height: 40px; border: 1px solid var(--line); background: #fff; }
.info-card .social-row svg { fill: var(--navy); }
.info-card .social-row a:hover svg { fill: #fff; }
.sticky-column { position: sticky; top: 100px; }
.claim-band { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 20px; margin-top: 40px; padding: 26px 30px; border-radius: var(--radius-md); background: var(--navy); color: #C9D7F0; }
.claim-band b { font: 600 20px var(--font-head); color: #fff; }


/* business hours */
.hours-list { display: grid; gap: 2px; margin: 0; padding: 0; list-style: none; }
.hours-list li { display: flex; justify-content: space-between; gap: 12px; padding: 7px 10px; border-radius: 8px; font-size: 14.5px; }
.hours-list li span:last-child { color: var(--muted); }
.hours-list li.is-today { background: #EAF3FE; font-weight: 600; color: var(--navy); }
.hours-list li.is-today span:last-child { color: var(--blue); }
.hours-note { margin: 12px 0 0; font-size: 13.5px; color: var(--muted); }
.hours-card h3 { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.open-badge:empty { display: none; }
.open-badge { padding: 4px 10px; border-radius: 999px; font: 600 12px var(--font-head); }
.open-badge.is-open { background: #E3F7EC; color: #0E7A43; }
.open-badge.is-closed { background: #FDECEC; color: #A12A2A; }

/* single listing: hero ----------------------------------------------------- */
.ls-hero { position: relative; overflow: hidden; padding: 44px 0 34px; border-bottom: 1px solid var(--line); background: var(--paper); }
.ls-hero::after { content: ""; position: absolute; right: -120px; top: -120px; width: 380px; height: 380px; border-radius: 50%; border: 40px solid rgba(25, 182, 242, .07); box-shadow: 0 0 0 40px rgba(247, 147, 30, .05); pointer-events: none; }
.ls-hero .breadcrumbs { color: var(--muted); }
.ls-hero .breadcrumbs a { color: var(--blue); }
.ls-hero-row { position: relative; z-index: 1; display: flex; align-items: center; gap: 34px; }
.ls-hero-text { min-width: 0; }
.ls-hero h1 { margin: 12px 0 6px; font-size: clamp(1.7rem, 3.2vw, 2.6rem); }
.ls-name { margin: 0 0 14px; font: 600 19px var(--font-head); color: var(--blue); }
.ls-badges { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; }
.badge-premium { display: inline-flex; align-items: center; gap: 5px; padding: 3px 10px; border-radius: 999px; background: var(--grad-orange); font: 700 12.5px var(--font-head); color: var(--ink); }
.badge-premium svg { width: 13px; height: 13px; }
.ls-rating { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; color: var(--muted); }
.ls-rating b { font: 700 16px var(--font-head); color: var(--ink); }
.ls-rating span:last-child { text-decoration: underline; text-underline-offset: 3px; }
.ls-actions { position: relative; z-index: 1; display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.ls-actions .btn svg { width: 17px; height: 17px; }
@media (max-width: 720px) { .ls-hero-row { flex-direction: column; align-items: flex-start; gap: 22px; } }

/* single listing: content blocks ------------------------------------------ */
.ls-body { padding-top: 64px; }
.ls-block { padding: 0 0 44px; margin-bottom: 44px; border-bottom: 1px solid var(--line); scroll-margin-top: 110px; }
.ls-block:last-child { border-bottom: 0; margin-bottom: 0; }
.ls-title { position: relative; margin: 0 0 22px; padding-left: 20px; font-size: clamp(1.35rem, 2.2vw, 1.75rem); }
.ls-title::before { content: ""; position: absolute; left: 0; top: .3em; width: 0; height: 0; border-top: 9px solid transparent; border-bottom: 9px solid transparent; border-left: 12px solid var(--orange); transition: transform .4s var(--ease); }
.ls-block:hover .ls-title::before { transform: translateX(4px); }
.listing-main .description h3 { margin: 1.4em 0 .4em; font-size: 1.2rem; }
.ls-sub { margin: 26px 0 10px; font: 600 14px var(--font-head); text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.ls-source, .ls-note { margin: 18px 0 0; font-size: 13.5px; color: var(--muted); }
.ls-empty { margin: 14px 0 0; font-size: 14.5px; color: var(--muted); }
.ls-address { display: flex; align-items: flex-start; gap: 8px; margin: 0 0 14px; }
.ls-address svg { flex: none; width: 19px; height: 19px; margin-top: 3px; color: var(--orange); }

/* services */
.service-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 14px; }
.service-card { position: relative; overflow: hidden; padding: 20px 20px 22px; border: 1px solid var(--line); border-radius: var(--radius-md); background: #fff; transition: transform .45s var(--ease), box-shadow .3s, border-color .3s; }
.service-card::after { content: ""; position: absolute; left: 0; bottom: 0; width: 100%; height: 3px; background: var(--grad-orange); transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease); }
.service-card:hover { transform: translateY(-5px); border-color: #BBD3F2; box-shadow: var(--shadow-1); }
.service-card:hover::after { transform: scaleX(1); }
.service-num { display: grid; place-items: center; width: 40px; height: 40px; margin-bottom: 12px; border-radius: 50%; background: var(--grad-blue); font: 700 14px var(--font-head); color: #fff; box-shadow: 0 0 0 4px #fff, 0 0 0 6px rgba(25, 182, 242, .35); }
.service-card h3 { margin: 0; font-size: 16.5px; line-height: 1.35; }
.tag-row { display: flex; flex-wrap: wrap; gap: 8px; }
.tag-row .tag { padding: 6px 13px; border: 1px solid var(--line); border-radius: 999px; background: #fff; font: 500 14px var(--font-head); color: var(--navy); transition: background .3s, color .3s, border-color .3s; }
.tag-row .tag:hover { border-color: var(--blue); background: var(--blue); color: #fff; }

/* highlights, profile, facts */
.ls-highlights { display: grid; gap: 10px; font-size: 16px; }
.ls-highlights b { color: var(--ink); }
.profile-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; margin: 0; }
.profile-grid div { padding: 14px 16px; border-radius: 14px; background: var(--paper); }
.profile-grid dt { font: 600 12.5px var(--font-head); text-transform: uppercase; letter-spacing: .05em; color: var(--muted); }
.profile-grid dd { margin: 4px 0 0; font-weight: 500; color: var(--ink); }
.fact-tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.fact-tile { padding: 22px 16px; border-radius: var(--radius-md); background: var(--grad-blue); color: #DCE6F7; text-align: center; transition: transform .4s var(--ease); }
.fact-tile:nth-child(even) { background: var(--navy); }
.fact-tile:hover { transform: translateY(-5px) rotate(-1deg); }
.fact-tile b { display: block; font: 800 30px/1.1 var(--font-head); color: #fff; }
.fact-tile span { font-size: 13.5px; }
@media (max-width: 720px) { .fact-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* photo gallery & lightbox */
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 14px; }
.gallery-item { position: relative; overflow: hidden; aspect-ratio: 4 / 3; padding: 0; border: 1px solid var(--line); border-radius: var(--radius-md); background: var(--paper); cursor: zoom-in; }
.gallery-item:first-child { grid-column: span 2; grid-row: span 2; aspect-ratio: auto; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform .7s var(--ease); }
.gallery-item:hover img { transform: scale(1.06); }
.gallery-caption { position: absolute; left: 0; right: 0; bottom: 0; padding: 26px 14px 12px; background: linear-gradient(transparent, rgba(10, 42, 102, .85)); font: 600 13.5px var(--font-head); color: #fff; text-align: left; transform: translateY(6px); opacity: .9; transition: transform .35s var(--ease), opacity .35s; }
.gallery-item:hover .gallery-caption { transform: none; opacity: 1; }
.gallery-zoom { position: absolute; top: 12px; right: 12px; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: #fff; color: var(--blue); box-shadow: var(--shadow-1); transform: scale(.6); opacity: 0; transition: transform .35s var(--ease), opacity .35s; }
.gallery-zoom svg { width: 18px; height: 18px; }
.gallery-item:hover .gallery-zoom { transform: scale(1); opacity: 1; }
@media (max-width: 560px) { .gallery-item:first-child { grid-column: auto; grid-row: auto; aspect-ratio: 4 / 3; } }
.lightbox { position: fixed; inset: 0; z-index: 200; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 12px; padding: 24px; background: rgba(6, 18, 44, .92); }
.lightbox[hidden] { display: none; }
.lightbox figure { margin: 0; text-align: center; animation: lightbox-in .35s var(--ease); }
.lightbox img { max-width: 100%; max-height: 80vh; margin: 0 auto; border-radius: 14px; box-shadow: var(--shadow-2); }
.lightbox figcaption { margin-top: 12px; font: 500 14.5px var(--font-head); color: #DCE6F7; }
.lightbox button { display: grid; place-items: center; width: 50px; height: 50px; border: 0; border-radius: 50%; background: #fff; color: var(--navy); cursor: pointer; transition: background .3s, color .3s; }
.lightbox button:hover { background: var(--orange); color: var(--ink); }
.lightbox button svg { width: 22px; height: 22px; }
.lightbox .lightbox-close { position: absolute; top: 18px; right: 18px; }
@keyframes lightbox-in { from { opacity: 0; transform: scale(.94); } to { opacity: 1; transform: none; } }

/* videos, FAQs, empty cards */
.video-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 14px; }
.video-frame { aspect-ratio: 16 / 9; overflow: hidden; border-radius: var(--radius-md); }
.video-frame iframe { width: 100%; height: 100%; border: 0; }
.empty-card { display: flex; align-items: center; gap: 14px; padding: 20px 22px; border: 1px dashed #C8D6EC; border-radius: var(--radius-md); background: var(--paper); }
.empty-card svg { flex: none; width: 28px; height: 28px; color: var(--blue); }
.empty-card p { margin: 0; }
.faq details { margin-bottom: 10px; border: 1px solid var(--line); border-radius: 14px; background: #fff; transition: border-color .3s, box-shadow .3s; }
.faq details[open] { border-color: #BBD3F2; box-shadow: var(--shadow-1); }
.faq summary { position: relative; display: block; padding: 16px 52px 16px 18px; font: 600 16px var(--font-head); color: var(--ink); cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary i { position: absolute; right: 18px; top: 50%; width: 22px; height: 22px; border-radius: 50%; background: #EAF3FE; transform: translateY(-50%); transition: transform .35s var(--ease), background .3s; }
.faq summary i::before, .faq summary i::after { content: ""; position: absolute; left: 6px; right: 6px; top: 10px; height: 2px; border-radius: 2px; background: var(--blue); }
.faq summary i::after { transform: rotate(90deg); transition: transform .35s var(--ease); }
.faq details[open] summary i { background: var(--orange); transform: translateY(-50%) rotate(180deg); }
.faq details[open] summary i::before, .faq details[open] summary i::after { background: #fff; }
.faq details[open] summary i::after { transform: rotate(0); }
.faq details p { margin: 0; padding: 0 18px 18px; }

/* credentials */
.premium-promo { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; margin-top: 22px; padding: 22px 24px; border-radius: var(--radius-md); background: var(--navy); color: #C9D7F0; }
.premium-promo .hc-mark { flex: none; width: 60px; }
.premium-promo > div { flex: 1 1 240px; }
.premium-promo b { font: 600 19px var(--font-head); color: #fff; }
.premium-promo p { margin: 4px 0 0; font-size: 14.5px; }

/* reviews */
.review-summary { display: grid; grid-template-columns: 180px 1fr; gap: 26px; align-items: center; margin-bottom: 22px; padding: 22px; border-radius: var(--radius-md); background: var(--paper); }
.review-score { text-align: center; }
.review-score b { display: block; font: 800 46px/1 var(--font-head); color: var(--ink); }
.review-score span:last-child { display: block; margin-top: 4px; font-size: 13.5px; color: var(--muted); }
.review-bars { display: grid; gap: 8px; }
.bar-row { display: grid; grid-template-columns: 52px 1fr 40px; align-items: center; gap: 10px; font-size: 13.5px; }
.bar-row .bar { height: 8px; overflow: hidden; border-radius: 99px; background: #DCE6F3; }
.bar-row .bar > span { display: block; height: 100%; border-radius: inherit; background: var(--grad-orange); transition: width .8s var(--ease); }
.review-list { display: grid; gap: 12px; margin-bottom: 22px; }
.review-cta svg { width: 17px; height: 17px; }
.form select { padding: 14px 16px; border: 1px solid var(--line); border-radius: 14px; background: #fff; font: 500 15.5px var(--font-body); color: var(--ink); }
@media (max-width: 560px) { .review-summary { grid-template-columns: 1fr; } }

/* sidebar extras */
.hours-summary { margin: -4px 0 12px; font-size: 14px; color: var(--muted); }
.ls-social { margin-top: 18px; }
.info-card .ls-social a svg { width: 18px; height: 18px; fill: none; stroke: var(--navy); }
.info-card .ls-social a:hover svg { fill: none; stroke: #fff; }
.claim-card { background: var(--navy); color: #C9D7F0; }
.claim-card h3 { color: #fff; }
.qr-row p { margin: 0; font-size: 14px; }

/* highlighted words in descriptions */
.hl { padding: 0 .12em; border-radius: 4px; background: linear-gradient(transparent 58%, rgba(25, 182, 242, .28) 58%); font-weight: 600; color: var(--blue); }
.hl-alt { background: linear-gradient(transparent 58%, rgba(247, 147, 30, .28) 58%); color: #C25E00; }
.hl-phone { color: var(--navy); white-space: nowrap; }
.numbers .hl, .ad-band .hl { color: #fff; background: linear-gradient(transparent 58%, rgba(25, 182, 242, .45) 58%); }
.numbers .hl-alt, .ad-band .hl-alt { color: var(--amber); background: linear-gradient(transparent 58%, rgba(247, 147, 30, .4) 58%); }


/* 23. Blog pages --------------------------------------------------------- */
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gutter); }
.news-grid .news-card { width: auto; }
.news-grid .news-card:first-child { grid-column: span 2; grid-row: span 2; }
.news-grid .news-card:first-child .news-card-img { aspect-ratio: 16 / 10; }
.news-grid .news-card:first-child h3 { font-size: clamp(1.4rem, 2.2vw, 1.9rem); }
.news-grid.no-feature .news-card:first-child { grid-column: auto; grid-row: auto; }
.news-grid.no-feature .news-card:first-child h3 { font-size: 18px; }
.news-grid.no-feature .news-card:first-child .news-card-img { aspect-ratio: 16 / 9; }
.story-figure { margin: 0 0 30px; overflow: hidden; border-radius: var(--radius-lg); }
.story-figure figcaption { padding: 8px 2px; font-size: 13px; color: var(--muted); }
.story-body p { font-size: 19px; line-height: 1.7; }
.story-meta { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; color: var(--muted); }
.story-meta svg { width: 15px; height: 15px; }
.story-note { margin-top: 18px; font-size: 13.5px; color: var(--muted); }
@media (max-width: 980px) { .news-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) {
  .news-grid { grid-template-columns: 1fr; }
  .news-grid .news-card:first-child { grid-column: auto; grid-row: auto; }
}


/* 24. Forms, prose, services, sitemap, 404 ------------------------------ */
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form .full { grid-column: 1 / -1; }
.form label { display: grid; gap: 6px; font: 600 14px var(--font-head); color: var(--ink); }
.form input,
.form textarea { padding: 14px 16px; border: 1px solid var(--line); border-radius: 14px; background: #fff; font: 500 15.5px var(--font-body); color: var(--ink); transition: border-color .25s, box-shadow .25s; }
.form input:focus,
.form textarea:focus { outline: none; border-color: var(--cyan); box-shadow: 0 0 0 3px rgba(25, 182, 242, .18); }
.form textarea { min-height: 150px; resize: vertical; }
.form-message { display: none; grid-column: 1 / -1; padding: 14px 16px; border-radius: 12px; background: #E3F7EC; font-weight: 500; color: #0E6B3B; }
.form-message.is-error { background: #FDECEC; color: #A12A2A; }
@media (max-width: 640px) { .form { grid-template-columns: 1fr; } }

.prose { max-width: 72ch; }
.prose h2 { margin-top: 1.6em; font-size: 1.6rem; }

.service-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: var(--gutter); }
.service-item { display: flex; align-items: center; gap: 14px; padding: 18px; border: 1px solid var(--line); border-radius: var(--radius-md); background: #fff; font: 600 16px/1.3 var(--font-head); color: var(--ink); transition: transform .4s var(--ease), border-color .3s, box-shadow .3s; }
.service-item:hover { transform: translateY(-4px); border-color: var(--cyan); box-shadow: var(--shadow-1); }
.service-item i { display: grid; place-items: center; flex: none; width: 46px; height: 46px; border-radius: 50%; background: var(--grad-orange); color: #fff; transition: transform .5s var(--ease); }
.service-item:hover i { transform: rotate(360deg); background: var(--grad-blue); }
.service-item i svg { width: 20px; height: 20px; }

.sitemap-columns { column-count: 3; column-width: 260px; column-gap: 40px; }
.sitemap-columns section { break-inside: avoid; margin-bottom: 30px; }
.sitemap-columns h2 { font-size: 1.3rem; }

.error-page { padding: 80px 0 40px; text-align: center; }
.error-code { display: flex; justify-content: center; align-items: center; gap: clamp(8px, 2vw, 24px); font: 800 clamp(6rem, 20vw, 13rem)/1 var(--font-head); letter-spacing: -.06em; color: var(--navy); }
.error-code .hc-mark { width: clamp(150px, 26vw, 300px); }
.error-code span { background: var(--grad-blue); -webkit-background-clip: text; background-clip: text; color: transparent; }
.error-code span:last-child { background: var(--grad-orange); -webkit-background-clip: text; background-clip: text; }
.error-page h1 { font-size: 2rem; }
.error-page .search-bar { max-width: 640px; margin: 26px auto; }

mark { padding: 0 2px; border-radius: 3px; background: #FFE7C7; color: inherit; }


/* 25. Scroll & hover animation utilities --------------------------------
   Add data-animate="up | left | right | zoom" to any element. main.js adds
   .is-visible when it scrolls into view; children marked data-stagger get
   increasing delays.                                                        */
[data-animate] { opacity: 0; transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--delay, 0s); }
[data-animate="up"]    { transform: translateY(36px); }
[data-animate="left"]  { transform: translateX(-48px); }
[data-animate="right"] { transform: translateX(48px); }
[data-animate="zoom"]  { transform: scale(.92); }
[data-animate].is-visible { opacity: 1; transform: none; }


/* 26. Reduced motion ------------------------------------------------------ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  [data-animate] { opacity: 1; transform: none; }
  .swoosh-rule path { stroke-dashoffset: 0; }
}
