/* Tanaw — shared styles */

:root {
  --bg: #ffffff;
  --bg-alt: #f7f7f5;
  --ink: #14161a;
  --ink-soft: #14161a;   /* no grays: all text is ink */
  --ink-faint: #14161a;
  --line: #14161a;       /* crisp black hairline */
  --line-soft: #14161a;
  --card: #ffffff;
  --placeholder: #edf2ee;
  --accent: #0a7d55;     /* status dots / bullets only */
  --btn: #14161a;
  --btn-ink: #ffffff;
  --radius: 10px;
  --radius-btn: 8px;
  --maxw: 1140px;
  --font: "Segoe UI", system-ui, Roboto, Arial, sans-serif;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #101114;
    --bg-alt: #16171b;
    --ink: #eef0f2;
    --ink-soft: #eef0f2;
    --ink-faint: #eef0f2;
    --line: #eef0f2;
    --line-soft: #eef0f2;
    --card: #14161a;
    --placeholder: #1a201c;
    --accent: #3bd693;
    --btn: #eef0f2;
    --btn-ink: #101114;
  }
}
:root[data-theme="dark"] {
  --bg: #101114;
  --bg-alt: #16171b;
  --ink: #eef0f2;
  --ink-soft: #eef0f2;
  --ink-faint: #eef0f2;
  --line: #eef0f2;
  --line-soft: #eef0f2;
  --card: #14161a;
  --placeholder: #1a201c;
  --accent: #3bd693;
  --btn: #eef0f2;
  --btn-ink: #101114;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 15px;
  font-weight: 400;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
h1, h2, h3 { margin: 0; line-height: 1.2; text-wrap: balance; font-weight: 600; letter-spacing: 0; }
p { margin: 0; }
a { color: inherit; }
img { max-width: 100%; display: block; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.eyebrow {
  text-transform: uppercase; letter-spacing: 0.1em; font-size: 11px;
  font-weight: 600; color: var(--ink);
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font: inherit; font-weight: 500; font-size: 13.5px; cursor: pointer;
  padding: 10px 18px; border-radius: var(--radius-btn);
  border: 1px solid var(--line); text-decoration: none;
  transition: background .15s ease, color .15s ease, border-color .15s ease;
  white-space: nowrap;
}
.btn-primary { background: var(--btn); color: var(--btn-ink); border-color: var(--btn); }
.btn-primary:hover { background: #33363c; border-color: #33363c; }
.btn-ghost { background: transparent; color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: var(--bg); }
.btn-sm { padding: 8px 13px; font-size: 12.5px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 4px; }

/* Header */
header.nav {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--bg) 92%, transparent);
  backdrop-filter: saturate(120%) blur(8px);
  border-bottom: 1px solid var(--line);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 20px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand .logo { height: 48px; width: auto; display: block; }
.brand-div { color: var(--ink); opacity: .3; font-weight: 300; font-size: 16px; }
.brand-tag { font-size: 12px; color: var(--ink); font-weight: 500; }
@media (max-width: 460px) { .brand-div, .brand-tag { display: none; } }
.nav-links { display: flex; align-items: center; gap: 26px; }
.nav-links a { text-decoration: none; font-weight: 400; font-size: 13.5px; color: var(--ink); }
.nav-links a:hover, .nav-links a.active { color: var(--ink); }
.nav-links a.active { font-weight: 600; }
.nav-cta { display: flex; align-items: center; gap: 12px; }
@media (max-width: 880px) { .nav-links { display: none; } }

/* Hero */
.hero { padding: 56px 0 38px; border-bottom: 1px solid var(--line); }
.hero h1 { font-size: clamp(26px, 3.8vw, 40px); font-weight: 500; max-width: 18ch; letter-spacing: -0.005em; }
.hero .lede { margin-top: 16px; font-size: clamp(15px, 1.5vw, 17.5px); color: var(--ink); font-weight: 400; max-width: 54ch; }

/* Search (functional) */
.search {
  margin-top: 26px; display: flex; align-items: stretch; gap: 0;
  border: 1px solid var(--line); border-radius: var(--radius-btn);
  max-width: 640px; background: var(--card); overflow: hidden;
}
.search select {
  border: 0; border-right: 1px solid var(--line); background: var(--bg-alt);
  font: inherit; font-size: 13.5px; font-weight: 500; color: var(--ink);
  padding: 0 13px; cursor: pointer;
}
.search select:focus { outline: none; }
.search input {
  border: 0; background: transparent; font: inherit; font-size: 13.5px; color: var(--ink);
  flex: 1; min-width: 0; padding: 12px 15px;
}
.search input::placeholder { color: var(--ink); opacity: .5; }
.search input:focus { outline: none; }
.search button {
  border: 0; background: var(--btn); color: var(--btn-ink);
  font: inherit; font-weight: 500; font-size: 13.5px; padding: 0 20px; cursor: pointer;
  display: inline-flex; align-items: center; gap: 8px;
}
.search button:hover { background: #33363c; }
@media (max-width: 560px) {
  .search { flex-wrap: wrap; }
  .search select { border-right: 0; border-bottom: 1px solid var(--line); padding: 11px 13px; flex: 1; }
  .search input { flex-basis: 70%; }
  .search button { flex: 1; padding: 11px; }
}

.hero-loc { margin-top: 22px; display: inline-flex; align-items: center; gap: 7px; font-size: 12.5px; font-weight: 500; color: var(--ink); }
.hero-loc + .search { margin-top: 12px; }
.trust { margin-top: 18px; display: flex; flex-wrap: wrap; gap: 8px 22px; color: var(--ink); font-size: 12.5px; font-weight: 400; }
.trust span { display: inline-flex; align-items: center; gap: 7px; }
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); flex: none; }

/* Sections */
section { padding: 50px 0; }
section.alt { background: var(--bg-alt); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 24px; flex-wrap: wrap; }
.sec-head h2 { font-size: clamp(20px, 2.7vw, 27px); font-weight: 500; }
.sec-head p { color: var(--ink); margin-top: 8px; max-width: 58ch; font-size: 14px; }
.link-more { text-decoration: none; font-weight: 500; font-size: 13.5px; color: var(--ink); border-bottom: 1px solid var(--line); padding-bottom: 2px; white-space: nowrap; }
.link-more:hover { opacity: .6; }

/* Grids */
.grid { display: grid; gap: 18px; }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 940px) { .grid-4 { grid-template-columns: repeat(2, 1fr); } .grid-3 { grid-template-columns: 1fr; } }
@media (max-width: 600px) { .grid-4, .grid-2 { grid-template-columns: 1fr; } }

/* Service cards */
.service {
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: 20px; background: var(--card); display: flex; flex-direction: column; gap: 10px;
}
.service .ic {
  width: 44px; height: 44px; border-radius: 11px;
  display: grid; place-items: center;
  color: var(--c, var(--ink));
  background: color-mix(in srgb, var(--c, var(--ink)) 14%, transparent);
}
.service .ic svg { width: 24px; height: 24px; }
.ic-green  { --c: #0a7d55; }
.ic-blue   { --c: #2456c9; }
.ic-amber  { --c: #c67a12; }
.ic-violet { --c: #6b3fd4; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .ic-green  { --c: #3bd693; }
  :root:not([data-theme="light"]) .ic-blue   { --c: #6f9bff; }
  :root:not([data-theme="light"]) .ic-amber  { --c: #f0b45c; }
  :root:not([data-theme="light"]) .ic-violet { --c: #a888f5; }
}
:root[data-theme="dark"] .ic-green  { --c: #3bd693; }
:root[data-theme="dark"] .ic-blue   { --c: #6f9bff; }
:root[data-theme="dark"] .ic-amber  { --c: #f0b45c; }
:root[data-theme="dark"] .ic-violet { --c: #a888f5; }
.service h3 { font-size: 15px; font-weight: 600; }
.service p { font-size: 13px; color: var(--ink); }

/* Steps */
.steps { counter-reset: step; display: grid; gap: 18px; grid-template-columns: repeat(3, 1fr); }
@media (max-width: 820px) { .steps { grid-template-columns: 1fr; } }
.step { border-top: 2px solid var(--line); padding-top: 16px; }
.step .n { counter-increment: step; font-weight: 600; font-size: 11px; color: var(--ink); margin-bottom: 8px; letter-spacing: .04em; }
.step .n::before { content: "STEP " counter(step); }
.step h3 { font-size: 15px; font-weight: 600; margin-bottom: 6px; }
.step p { font-size: 13px; color: var(--ink); }

/* Listing cards */
.card {
  border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  background: var(--card); display: flex; flex-direction: column; cursor: pointer;
  transition: box-shadow .16s ease, transform .16s ease;
}
.card:hover { box-shadow: 0 6px 20px rgba(20,22,26,.10); transform: translateY(-2px); }
.thumb {
  aspect-ratio: 3 / 2; border-bottom: 1px solid var(--line);
  display: grid; place-items: center; position: relative;
  background: var(--placeholder); color: var(--ink);
}
/* Photo placeholders — soft category tints, rotating by position */
.grid .card:nth-child(4n+1) .thumb { background: linear-gradient(135deg, #e9f5ee, #d8ece0); }
.grid .card:nth-child(4n+2) .thumb { background: linear-gradient(135deg, #e9effb, #d7e2f6); }
.grid .card:nth-child(4n+3) .thumb { background: linear-gradient(135deg, #fdf1e4, #f6e4ce); }
.grid .card:nth-child(4n+4) .thumb { background: linear-gradient(135deg, #efeafc, #e2d9f6); }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .grid .card:nth-child(4n+1) .thumb { background: linear-gradient(135deg, #15251d, #101d16); }
  :root:not([data-theme="light"]) .grid .card:nth-child(4n+2) .thumb { background: linear-gradient(135deg, #151d2c, #101627); }
  :root:not([data-theme="light"]) .grid .card:nth-child(4n+3) .thumb { background: linear-gradient(135deg, #2a2015, #1f1810); }
  :root:not([data-theme="light"]) .grid .card:nth-child(4n+4) .thumb { background: linear-gradient(135deg, #201b2e, #171226); }
}
:root[data-theme="dark"] .grid .card:nth-child(4n+1) .thumb { background: linear-gradient(135deg, #15251d, #101d16); }
:root[data-theme="dark"] .grid .card:nth-child(4n+2) .thumb { background: linear-gradient(135deg, #151d2c, #101627); }
:root[data-theme="dark"] .grid .card:nth-child(4n+3) .thumb { background: linear-gradient(135deg, #2a2015, #1f1810); }
:root[data-theme="dark"] .grid .card:nth-child(4n+4) .thumb { background: linear-gradient(135deg, #201b2e, #171226); }
.thumb .ph { display: inline-flex; align-items: center; gap: 6px; font-size: 11.5px; font-weight: 500; letter-spacing: .02em; }
.thumb .ph svg { width: 16px; height: 16px; }
.tag {
  position: absolute; top: 11px; left: 11px; background: var(--card); color: var(--ink);
  border: 1px solid var(--line); border-radius: 5px;
  font-size: 11px; font-weight: 500; padding: 3px 9px;
}
.card-body { padding: 14px 15px 16px; display: flex; flex-direction: column; gap: 5px; flex: 1; }
.card-body h3 { font-size: 15px; font-weight: 600; }
.meta { font-size: 12.5px; color: var(--ink); font-weight: 400; }
.card-body p { font-size: 13px; color: var(--ink); }
.card-foot { margin-top: auto; padding-top: 14px; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.price { font-weight: 600; font-size: 14px; font-variant-numeric: tabular-nums; }

/* Listing page toolbar */
.toolbar { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-bottom: 22px; }
.filter {
  display: flex; align-items: center; gap: 0; border: 1px solid var(--line);
  border-radius: var(--radius-btn); background: var(--card); overflow: hidden; flex: 1; max-width: 460px;
}
.filter svg { width: 17px; height: 17px; color: var(--ink); margin-left: 14px; flex: none; }
.filter input { border: 0; background: transparent; font: inherit; font-size: 13.5px; color: var(--ink); flex: 1; min-width: 0; padding: 10px 13px; }
.filter input::placeholder { color: var(--ink); opacity: .5; }
.filter input:focus { outline: none; }
.result-count { font-size: 13px; color: var(--ink); font-weight: 400; }
.no-results { padding: 38px 0; color: var(--ink); font-size: 14px; }
.page-head { padding: 42px 0 8px; }
.page-head h1 { font-size: clamp(24px, 3.2vw, 33px); font-weight: 500; letter-spacing: -0.005em; }
.page-head p { margin-top: 12px; color: var(--ink); max-width: 62ch; font-size: 14px; }

/* Pricing */
.pcard { border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; background: var(--card); }
.pcard h3 { font-size: 16px; font-weight: 600; margin-bottom: 4px; }
.pcard .amt { font-size: 12.5px; color: var(--ink); font-weight: 500; margin-bottom: 12px; text-transform: uppercase; letter-spacing: .04em; }
.pcard p { font-size: 13px; color: var(--ink); }

/* About */
.about-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: center; }
@media (max-width: 820px) { .about-grid { grid-template-columns: 1fr; } }
.about-copy h2 { font-size: clamp(20px, 2.7vw, 27px); font-weight: 500; margin-bottom: 14px; }
.about-copy p { color: var(--ink); margin-bottom: 13px; font-size: 14px; }
.about-photo { aspect-ratio: 4/5; border: 1px solid var(--line); border-radius: var(--radius); display: grid; place-items: center; color: var(--ink); background: linear-gradient(135deg, #e9f5ee, #d8ece0); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .about-photo { background: linear-gradient(135deg, #15251d, #101d16); } }
:root[data-theme="dark"] .about-photo { background: linear-gradient(135deg, #15251d, #101d16); }

/* CTA band */
.cta-band { text-align: center; }
.cta-band h2 { font-size: clamp(22px, 3vw, 32px); font-weight: 500; max-width: 22ch; margin: 0 auto 12px; }
.cta-band p { color: var(--ink); max-width: 48ch; margin: 0 auto 22px; font-size: 15px; }
.cta-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.social { margin-top: 20px; display: flex; gap: 12px; justify-content: center; }
.social a { width: 42px; height: 42px; border: 1px solid var(--line); border-radius: 50%; display: grid; place-items: center; color: var(--ink); text-decoration: none; transition: background .15s ease, color .15s ease; }
.social a:hover { background: var(--ink); color: var(--bg); }
.social a svg { width: 20px; height: 20px; }

/* Footer */
footer { border-top: 1px solid var(--line); padding: 38px 0 38px; }
.foot-top { display: flex; justify-content: space-between; gap: 30px; flex-wrap: wrap; margin-bottom: 22px; }
.foot-top .brand .logo { height: 40px; }
.foot-links { display: flex; gap: 24px; flex-wrap: wrap; }
.foot-links a { text-decoration: none; font-weight: 400; font-size: 13px; color: var(--ink); }
.foot-links a:hover { opacity: .6; }
.disclaimer {
  border: 1px solid var(--line); border-radius: 8px; padding: 14px 16px;
  font-size: 11.5px; color: var(--ink); line-height: 1.6; max-width: 800px;
}
.legal { margin-top: 16px; font-size: 11.5px; color: var(--ink); }
.hero-cta { margin-top: 26px; display: flex; gap: 12px; flex-wrap: wrap; }

/* Listing detail pages */
.breadcrumb { padding: 22px 0 0; font-size: 12.5px; color: var(--ink); }
.breadcrumb a { color: var(--ink); text-decoration: none; }
.breadcrumb a:hover { opacity: .6; }
.detail-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 38px; align-items: start; padding: 24px 0 8px; }
@media (max-width: 840px) { .detail-grid { grid-template-columns: 1fr; gap: 26px; } }
.detail-media { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.detail-media .thumb { aspect-ratio: 4 / 3; border-bottom: 0; background: linear-gradient(135deg, #e9f5ee, #d8ece0); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .detail-media .thumb { background: linear-gradient(135deg, #15251d, #101d16); } }
:root[data-theme="dark"] .detail-media .thumb { background: linear-gradient(135deg, #15251d, #101d16); }
.detail-info .tag-inline { display: inline-block; border: 1px solid var(--line); border-radius: 5px; font-size: 11px; font-weight: 500; padding: 3px 10px; margin-bottom: 14px; }
.detail-info h1 { font-size: clamp(23px, 3vw, 31px); font-weight: 500; }
.detail-loc { color: var(--ink); font-weight: 400; margin-top: 7px; font-size: 14px; }
.detail-price { font-size: 19px; font-weight: 600; margin-top: 16px; font-variant-numeric: tabular-nums; }
.detail-long { margin-top: 18px; display: flex; flex-direction: column; gap: 12px; color: var(--ink); font-size: 14px; }
.feat-title { font-size: 14px; font-weight: 600; margin: 24px 0 12px; }
.features { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 9px; }
.features li { position: relative; padding-left: 22px; color: var(--ink); font-size: 14px; }
.features li::before { content: ""; position: absolute; left: 2px; top: 7px; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }
.detail-info .btn-primary { margin-top: 26px; }
.detail-note { margin-top: 14px; font-size: 11.5px; color: var(--ink); max-width: 48ch; }

/* Video section */
.videos-block + .videos-block { margin-top: 36px; }
.videos-sub { font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .09em; margin-bottom: 15px; display: flex; align-items: center; gap: 8px; }
.videos-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 15px; flex-wrap: wrap; }
.videos-head .videos-sub { margin-bottom: 0; }
.videos-sub svg { width: 16px; height: 16px; }
.reels-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
@media (max-width: 900px) { .reels-row { grid-template-columns: repeat(2, 1fr); } }
.video-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
@media (max-width: 820px) { .video-grid { grid-template-columns: 1fr; } }
.vframe { position: relative; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.vframe.reel { aspect-ratio: 9 / 16; }
.vframe.wide { aspect-ratio: 16 / 9; }
.vframe iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; display: block; }
.vframe.facebook { background: linear-gradient(135deg, #e9effb, #d7e2f6); }
.vframe.youtube { background: linear-gradient(135deg, #fdeaea, #f6d7d7); }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .vframe.facebook { background: linear-gradient(135deg, #151d2c, #101627); }
  :root:not([data-theme="light"]) .vframe.youtube { background: linear-gradient(135deg, #2a1616, #1d1010); }
}
:root[data-theme="dark"] .vframe.facebook { background: linear-gradient(135deg, #151d2c, #101627); }
:root[data-theme="dark"] .vframe.youtube { background: linear-gradient(135deg, #2a1616, #1d1010); }
.vph { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 11px; text-align: center; color: var(--ink); padding: 16px; }
.vph .play { width: 50px; height: 50px; border: 1px solid var(--line); border-radius: 50%; display: grid; place-items: center; background: color-mix(in srgb, var(--bg) 68%, transparent); }
.vph .play svg { width: 20px; height: 20px; }
.vph .lbl { font-size: 12px; font-weight: 500; }
.vcap { margin-top: 9px; font-size: 12.5px; color: var(--ink); }
