/* BaeCooks — design system per BUILD-PROMPT §9 */
:root {
  --bg: #FAF7F2;
  --text: #1E1D1B;
  --accent: #C24E1B;
  --success: #4A7C59;
  --muted: #8C8378;
  --border: rgba(30,29,27,.12);
  --card: #fff;
  --pill-bg: #F1EAE0;
  --shadow: 0 1px 2px rgba(30,29,27,.06), 0 4px 12px rgba(30,29,27,.04);
  --radius: 12px;
  --content: 720px;
  --grid: 1200px;
  --serif: "Fraunces", Georgia, serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}
/* Manual dark mode override (via data-theme attribute) */
:root[data-theme="dark"] {
  --bg: #1A1917;
  --text: #F1EDE6;
  --card: #24221F;
  --pill-bg: #2E2A25;
  --border: rgba(241,237,230,.14);
  --muted: #A89F94;
  --shadow: 0 1px 2px rgba(0,0,0,.4), 0 4px 12px rgba(0,0,0,.25);
}
/* Auto dark mode from OS (only when user hasn't manually chosen light) */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #1A1917;
    --text: #F1EDE6;
    --card: #24221F;
    --pill-bg: #2E2A25;
    --border: rgba(241,237,230,.14);
    --muted: #A89F94;
    --shadow: 0 1px 2px rgba(0,0,0,.4), 0 4px 12px rgba(0,0,0,.25);
  }
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 600; letter-spacing: -0.01em; line-height: 1.2; }
h1 { font-size: 2.25rem; margin: 0 0 .5rem; }
h2 { font-size: 1.5rem; margin: 2rem 0 .75rem; }
h3 { font-size: 1.15rem; margin: 1.5rem 0 .5rem; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

/* Layout */
.wrap { max-width: var(--grid); margin: 0 auto; padding: 0 20px; }
.prose { max-width: var(--content); margin: 0 auto; padding: 0 20px; }
.prose p, .prose li { font-size: 1.05rem; }

/* Header */
.site-header {
  border-bottom: 1px solid var(--border);
  background: var(--bg);
  position: sticky; top: 0; z-index: 20;
  backdrop-filter: saturate(140%) blur(6px);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; padding-block: 14px; }
.brand { font-family: var(--serif); font-weight: 700; font-size: 1.35rem; color: var(--text); }
.brand span { color: var(--accent); }
.nav a {
  color: var(--text);
  margin-left: 18px;
  font-weight: 500;
  font-size: .95rem;
}
.nav a:hover { color: var(--accent); text-decoration: none; }

/* Hero */
.hero {
  padding: 64px 20px 40px;
  text-align: center;
}
.hero h1 { font-size: clamp(2rem, 5vw, 3.25rem); }
.hero p.lede { color: var(--muted); font-size: 1.15rem; max-width: 560px; margin: .5rem auto 1.5rem; }
.cta {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--accent); color: #fff;
  padding: 12px 20px; border-radius: 999px;
  font-weight: 600; transition: transform .15s ease, opacity .15s ease;
}
.cta:hover { opacity: .92; text-decoration: none; }
.cta.secondary { background: transparent; color: var(--text); border: 1px solid var(--border); }

/* Cards / grid */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 20px; }
.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform .15s ease;
}
.card:hover { transform: translateY(-2px); }
.card img { width: 100%; height: 180px; object-fit: cover; display: block; }
.card .body { padding: 14px 16px; }
.card h3 { margin: 0 0 4px; font-size: 1.05rem; }

/* Tag / pill */
.pill {
  display: inline-block;
  background: var(--pill-bg);
  color: var(--text);
  border-radius: 999px;
  padding: 3px 10px;
  font-size: .78rem;
  margin-right: 6px;
}

/* Affiliate card (per BUILD-PROMPT §9) */
.partner-card {
  background: var(--card);
  border: 1px solid var(--accent);
  border-radius: var(--radius);
  padding: 20px;
  margin: 24px 0;
  position: relative;
  box-shadow: var(--shadow);
}
.partner-card::before {
  content: "Partner";
  position: absolute;
  top: 12px; right: 12px;
  background: var(--accent); color: #fff;
  border-radius: 999px;
  padding: 2px 10px;
  font-size: .7rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase;
}
.partner-card h3 { margin: 0 0 6px; }
.partner-card .disclosure {
  font-size: .78rem; color: var(--muted); margin-top: 8px;
}

/* Filter bar */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin: 20px 0; }
.filters button {
  background: var(--card); border: 1px solid var(--border); border-radius: 999px;
  padding: 6px 14px; font-size: .9rem; cursor: pointer; color: var(--text);
}
.filters button.active, .filters button:hover { background: var(--accent); color: #fff; border-color: var(--accent); }

/* Forms */
input[type="search"], input[type="text"], select, textarea {
  width: 100%; padding: 10px 14px; border: 1px solid var(--border);
  border-radius: 10px; background: var(--card); color: var(--text);
  font-size: 1rem; font-family: inherit;
}
input:focus, select:focus, textarea:focus { outline: 2px solid var(--accent); outline-offset: 1px; }

/* Disclaimer banner */
.banner {
  background: var(--pill-bg);
  color: var(--text);
  border-left: 3px solid var(--accent);
  padding: 12px 16px;
  margin: 20px 0;
  border-radius: 8px;
  font-size: .92rem;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 32px 20px;
  margin-top: 60px;
  color: var(--muted);
  font-size: .9rem;
}
.site-footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 20px; }
.site-footer a { color: var(--muted); margin-right: 14px; }
.site-footer a:hover { color: var(--accent); }

/* Focus + a11y */
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; } }

/* =========================================================
   REDESIGN — animated bg, Walmart-style header, Mobbin-style
   search modal, modern footer
   ========================================================= */

/* Animated food-icon background */
.food-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}
.food-bg svg {
  position: absolute;
  color: var(--accent);
  opacity: 0.07;
  will-change: transform;
  animation: drift 22s ease-in-out infinite;
}
@keyframes drift {
  0%   { transform: translate(0, 0) rotate(0deg); }
  33%  { transform: translate(30px, -25px) rotate(12deg); }
  66%  { transform: translate(-20px, 20px) rotate(-8deg); }
  100% { transform: translate(0, 0) rotate(0deg); }
}
.food-bg svg:nth-child(1) { top: 8%;  left: 6%;   width: 64px; height: 64px; animation-delay: 0s; }
.food-bg svg:nth-child(2) { top: 20%; right: 8%;  width: 84px; height: 84px; animation-delay: -4s; opacity: 0.06; }
.food-bg svg:nth-child(3) { top: 55%; left: 12%;  width: 56px; height: 56px; animation-delay: -8s; }
.food-bg svg:nth-child(4) { top: 70%; right: 15%; width: 72px; height: 72px; animation-delay: -12s; opacity: 0.05; }
.food-bg svg:nth-child(5) { top: 35%; left: 45%;  width: 48px; height: 48px; animation-delay: -16s; }
.food-bg svg:nth-child(6) { top: 85%; left: 30%;  width: 60px; height: 60px; animation-delay: -20s; }
.food-bg svg:nth-child(7) { top: 12%; right: 40%; width: 52px; height: 52px; animation-delay: -6s;  opacity: 0.05; }
.food-bg svg:nth-child(8) { top: 60%; right: 5%;  width: 68px; height: 68px; animation-delay: -14s; }
.hero { position: relative; z-index: 1; }
.hero > .wrap { position: relative; z-index: 2; }

/* Redesigned Header — Walmart-adapted with brand punch */
.site-header {
  background: var(--accent);
  border-bottom: none;
  backdrop-filter: none;
  color: #fff;
}
.site-header .wrap {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 20px;
  align-items: center;
  padding: 14px 20px;
}
.site-header .brand { color: #fff; font-size: 1.5rem; }
.site-header .brand span { color: #FBE0C7; }
.header-search {
  width: 100%;
  padding: 12px 20px;
  border: none;
  border-radius: 999px;
  background: #fff;
  color: var(--muted);
  cursor: pointer;
  text-align: left;
  font-family: inherit;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}
.header-search:hover { color: var(--text); }
.header-search kbd {
  background: var(--pill-bg);
  color: var(--text);
  padding: 2px 8px;
  border-radius: 6px;
  font-size: 0.75rem;
  font-family: var(--sans);
  border: 1px solid var(--border);
}
.header-actions {
  display: flex;
  gap: 18px;
  align-items: center;
}
.header-actions a {
  color: #fff;
  font-weight: 500;
  font-size: 0.92rem;
  display: flex;
  align-items: center;
  gap: 4px;
}
.header-actions a:hover { color: #FBE0C7; text-decoration: none; }

/* Subnav row below the accent header */
.site-subnav {
  background: var(--card);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 15;
}
.site-subnav .wrap {
  display: flex;
  gap: 22px;
  padding: 10px 20px;
  overflow-x: auto;
  scrollbar-width: none;
}
.site-subnav .wrap::-webkit-scrollbar { display: none; }
.site-subnav a {
  color: var(--text);
  font-size: 0.92rem;
  font-weight: 500;
  white-space: nowrap;
  padding: 4px 0;
  border-bottom: 2px solid transparent;
}
.site-subnav a:hover, .site-subnav a.active {
  color: var(--accent);
  border-bottom-color: var(--accent);
  text-decoration: none;
}

@media (max-width: 720px) {
  .site-header .wrap { grid-template-columns: auto 1fr; }
  .header-actions { display: none; }
  .site-header .brand { font-size: 1.25rem; }
}

/* Mobbin-inspired search modal */
.search-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(30, 29, 27, 0.55);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 100;
  display: none;
  align-items: flex-start;
  justify-content: center;
  padding: 12vh 20px 20px;
}
.search-modal-backdrop.open {
  display: flex;
  animation: fadeIn 0.15s ease-out;
}
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
.search-modal {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 20px;
  width: min(92vw, 620px);
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.4);
  animation: slideUp 0.2s ease-out;
}
@keyframes slideUp {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}
.search-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--muted);
  font-size: 0.85rem;
  margin-bottom: 12px;
  font-weight: 500;
}
.search-modal-close {
  background: none;
  border: none;
  color: var(--muted);
  cursor: pointer;
  font-size: 1.4rem;
  padding: 0 4px;
  line-height: 1;
}
.search-modal-close:hover { color: var(--text); }
.search-modal input[type="search"] {
  width: 100%;
  padding: 14px 18px;
  font-size: 1.05rem;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--bg);
  color: var(--text);
}
.search-modal input:focus { outline: 2px solid var(--accent); outline-offset: 1px; border-color: transparent; }
.search-modal-results {
  margin-top: 14px;
  max-height: 50vh;
  overflow-y: auto;
}
.search-modal-result {
  display: flex;
  gap: 14px;
  align-items: center;
  padding: 10px;
  border-radius: 12px;
  cursor: pointer;
  color: var(--text);
}
.search-modal-result:hover {
  background: var(--pill-bg);
  text-decoration: none;
}
.search-modal-result img {
  width: 52px;
  height: 52px;
  border-radius: 10px;
  object-fit: cover;
  flex-shrink: 0;
}
.search-modal-result .r-title { font-weight: 500; line-height: 1.3; }
.search-modal-result .r-meta { color: var(--muted); font-size: 0.85rem; margin-top: 2px; }
.search-modal-hint {
  color: var(--muted);
  font-size: 0.78rem;
  margin-top: 10px;
  text-align: center;
}
.search-modal-hint kbd {
  background: var(--pill-bg);
  border: 1px solid var(--border);
  border-radius: 5px;
  padding: 1px 6px;
  font-family: var(--sans);
  font-size: 0.72rem;
  color: var(--text);
}

/* New Footer — CodedUI/Stay-Clean inspired, adapted for our no-signup site */
.site-footer {
  background: var(--card);
  border-top: 1px solid var(--border);
  padding: 60px 20px 24px;
  margin-top: 80px;
  color: var(--text);
}
.footer-columns {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  max-width: var(--grid);
  margin: 0 auto;
}
.footer-col h4 {
  font-family: var(--sans);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin: 0 0 14px;
}
.footer-col a {
  display: block;
  color: var(--text);
  padding: 5px 0;
  font-size: 0.95rem;
  margin: 0;
}
.footer-col a:hover { color: var(--accent); text-decoration: none; }
.footer-brand {
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text);
}
.footer-brand span { color: var(--accent); }
.footer-tagline {
  color: var(--muted);
  font-size: 0.92rem;
  margin: 10px 0 16px;
  max-width: 320px;
  line-height: 1.5;
}
.footer-socials {
  display: flex;
  gap: 12px;
}
.footer-socials a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--pill-bg);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--text);
  padding: 0;
  transition: background 0.15s ease;
}
.footer-socials a:hover { background: var(--accent); color: #fff; }
.footer-bar {
  border-top: 1px solid var(--border);
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--muted);
  font-size: 0.85rem;
  max-width: var(--grid);
  margin: 40px auto 0;
  flex-wrap: wrap;
  gap: 12px;
}
@media (max-width: 720px) {
  .footer-columns { grid-template-columns: 1fr 1fr; }
  .footer-col:first-child { grid-column: 1 / -1; }
}

/* =========================================================
   ROUND 2 REDESIGN — PawPal hero, image services, genstarters
   blog article, partner cards, notification badge, footer CTA
   ========================================================= */

/* New split hero (PawPal-inspired) */
.hero-split {
  position: relative;
  padding: 40px 20px 60px;
  overflow: hidden;
}
.hero-split .wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  position: relative;
  z-index: 2;
}
.hero-copy h1 {
  font-size: clamp(2rem, 4.5vw, 3.5rem);
  line-height: 1.1;
  margin-bottom: 12px;
}
.hero-copy h1 .accent { color: var(--accent); font-style: italic; }
.hero-copy .lede {
  color: var(--muted);
  font-size: 1.1rem;
  margin: 0 0 24px;
  max-width: 480px;
}
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.trust-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 40px;
  max-width: 520px;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--text);
}
.trust-icon {
  width: 32px; height: 32px;
  background: var(--pill-bg);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  flex-shrink: 0;
}
.hero-visual {
  position: relative;
  aspect-ratio: 1 / 1;
  max-width: 480px;
  justify-self: center;
}
.hero-visual .blob {
  position: absolute; inset: 0;
  background: radial-gradient(circle at 55% 45%, rgba(194, 78, 27, 0.15), rgba(194, 78, 27, 0.03) 65%, transparent 75%);
  border-radius: 50%;
}
.hero-visual svg {
  position: relative;
  width: 100%;
  height: 100%;
}
@media (max-width: 720px) {
  .hero-split .wrap { grid-template-columns: 1fr; text-align: left; }
  .hero-visual { max-width: 320px; margin: 20px auto 0; }
  .trust-row { grid-template-columns: 1fr; gap: 12px; }
}

/* Services grid — image cards (PawPal service style) */
.services {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 20px;
  margin: 30px 0 10px;
}
.service-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 22px 20px;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  text-decoration: none;
  color: var(--text);
  display: block;
  position: relative;
  overflow: hidden;
}
.service-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(0,0,0,0.08);
  text-decoration: none;
}
.service-illust {
  width: 84px; height: 84px;
  border-radius: 20px;
  background: var(--pill-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  margin-bottom: 16px;
}
.service-illust svg { width: 46px; height: 46px; }
.service-card h3 { margin: 0 0 6px; font-size: 1.1rem; }
.service-card p { color: var(--muted); font-size: 0.92rem; margin: 0 0 12px; }
.service-card .learn-more {
  color: var(--accent);
  font-weight: 500;
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

/* Section heading */
.section-heading {
  text-align: center;
  margin: 40px 0 24px;
}
.section-heading h2 { font-size: 2rem; margin: 0 0 8px; }
.section-heading p { color: var(--muted); margin: 0; }

/* Stats row (PawPal-style) */
.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  background: var(--pill-bg);
  border-radius: 20px;
  padding: 24px;
  margin: 40px 0;
}
.stat-item { text-align: center; }
.stat-item .num {
  font-family: var(--serif);
  font-size: 1.75rem;
  font-weight: 600;
  color: var(--accent);
}
.stat-item .label {
  color: var(--muted);
  font-size: 0.85rem;
  margin-top: 4px;
}
@media (max-width: 640px) {
  .stats-row { grid-template-columns: 1fr 1fr; }
}

/* Notification badge on nav */
.nav-badge {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.nav-badge .dot {
  display: inline-block;
  min-width: 20px;
  height: 20px;
  padding: 0 6px;
  background: #fff;
  color: var(--accent);
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
  text-align: center;
  line-height: 20px;
  box-shadow: 0 0 0 2px var(--accent);
  animation: pulse-badge 2.4s ease-in-out infinite;
}
@keyframes pulse-badge {
  0%, 100% { transform: scale(1); }
  50%      { transform: scale(1.08); }
}
.site-subnav .nav-badge .dot {
  background: var(--accent);
  color: #fff;
  box-shadow: none;
}

/* Deals page — partner category groups & cards */
.deals-hero {
  padding: 40px 20px 20px;
  text-align: center;
}
.deals-hero h1 { font-size: 2.5rem; margin: 0 0 8px; }
.deals-hero p { color: var(--muted); max-width: 620px; margin: 0 auto; }
.category-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin: 24px 0;
}
.category-tabs button {
  padding: 8px 16px;
  border-radius: 999px;
  background: var(--card);
  border: 1px solid var(--border);
  cursor: pointer;
  color: var(--text);
  font-family: inherit;
  font-size: 0.9rem;
}
.category-tabs button.active, .category-tabs button:hover {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}
.partner-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
  margin: 20px 0 40px;
}
.p-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  text-decoration: none;
  color: var(--text);
}
.p-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(0,0,0,0.08);
  text-decoration: none;
}
.p-card .p-head {
  display: flex; align-items: center; gap: 12px;
  margin-bottom: 12px;
}
.p-logo {
  width: 52px; height: 52px;
  border-radius: 14px;
  background: var(--accent);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--serif);
  font-weight: 700;
  font-size: 1.25rem;
  flex-shrink: 0;
}
.p-cat {
  font-size: 0.72rem;
  text-transform: uppercase;
  color: var(--muted);
  letter-spacing: 0.06em;
  font-weight: 600;
}
.p-name { font-family: var(--serif); font-size: 1.2rem; font-weight: 600; }
.p-tagline { color: var(--muted); font-size: 0.9rem; margin: 0 0 12px; }
.p-offer {
  background: var(--pill-bg);
  color: var(--accent);
  padding: 8px 12px;
  border-radius: 10px;
  font-size: 0.85rem;
  font-weight: 600;
  margin: 8px 0 14px;
}
.p-card .p-cta {
  margin-top: auto;
  color: var(--accent);
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

/* Partner detail page */
.partner-detail {
  max-width: 780px;
  margin: 0 auto;
  padding: 30px 20px 60px;
}
.partner-detail .p-back { color: var(--muted); font-size: 0.9rem; }
.partner-detail-header {
  display: flex; gap: 20px; align-items: center;
  margin: 20px 0 24px;
}
.partner-detail .p-logo { width: 72px; height: 72px; font-size: 1.6rem; }
.partner-detail h1 { margin: 0 0 4px; font-size: 2.25rem; }
.partner-detail .p-tagline { font-size: 1.05rem; }
.partner-detail .p-offer-big {
  background: var(--accent);
  color: #fff;
  padding: 16px 20px;
  border-radius: 14px;
  margin: 20px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
.partner-detail .p-offer-big .btn {
  background: #fff;
  color: var(--accent);
  padding: 10px 18px;
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}
.partner-detail h2 { font-size: 1.35rem; margin-top: 32px; }
.partner-detail .highlights {
  display: grid;
  gap: 10px;
  margin: 12px 0 24px;
  padding: 0;
  list-style: none;
}
.partner-detail .highlights li {
  padding: 12px 16px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  position: relative;
  padding-left: 42px;
}
.partner-detail .highlights li::before {
  content: "✓";
  position: absolute;
  left: 14px;
  top: 12px;
  color: var(--accent);
  font-weight: 700;
}
.partner-detail .disclosure { color: var(--muted); font-size: 0.85rem; margin-top: 30px; }

/* Blog article layout (genstarters-inspired) */
.blog-article {
  max-width: 780px;
  margin: 0 auto;
  padding: 40px 20px 60px;
}
.blog-article .breadcrumbs {
  color: var(--muted);
  font-size: 0.9rem;
  margin-bottom: 24px;
}
.blog-article .breadcrumbs a { color: var(--muted); }
.blog-article .breadcrumbs a:hover { color: var(--accent); text-decoration: none; }
.blog-article-header { text-align: center; margin-bottom: 30px; }
.blog-article-header .chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--pill-bg);
  color: var(--text);
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 500;
}
.blog-article-header .chip::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--success);
}
.blog-article-header .updated { color: var(--muted); margin-left: 8px; font-size: 0.85rem; }
.blog-article-header h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  line-height: 1.1;
  margin: 20px 0 16px;
}
.blog-article-header .dek {
  color: var(--muted);
  font-size: 1.1rem;
  max-width: 620px;
  margin: 0 auto 24px;
  line-height: 1.55;
}
.blog-article-author {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-size: 0.95rem;
}
.blog-article-author .avatar {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.85rem;
}
.blog-article .article-disclosure {
  color: var(--muted);
  font-style: italic;
  font-size: 0.9rem;
  margin-top: 12px;
}
.blog-article .article-disclosure a { text-decoration: underline; }
.blog-article .hero-img {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 20px;
  object-fit: cover;
  margin: 20px 0 30px;
}
.blog-article-body h2 { font-size: 1.6rem; margin-top: 40px; }
.blog-article-body h3 { font-size: 1.2rem; }
.blog-article-body p, .blog-article-body li { font-size: 1.05rem; line-height: 1.7; color: var(--text); }
.blog-article-body a { color: var(--accent); text-decoration: underline; }

/* Blog index cards */
.blog-index-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
  margin: 30px 0;
}
.blog-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 18px;
  overflow: hidden;
  color: var(--text);
  text-decoration: none;
  display: block;
}
.blog-card:hover { transform: translateY(-2px); text-decoration: none; }
.blog-card .thumb {
  aspect-ratio: 16 / 10;
  background: linear-gradient(135deg, var(--pill-bg), var(--accent));
}
.blog-card .body { padding: 18px 20px; }
.blog-card h3 { margin: 8px 0 6px; font-size: 1.1rem; line-height: 1.3; }
.blog-card p { color: var(--muted); font-size: 0.9rem; margin: 0; }

/* Footer contact CTA */
.footer-cta {
  background: var(--pill-bg);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 22px 24px;
  margin-top: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.footer-cta h3 { margin: 0 0 4px; font-size: 1.1rem; }
.footer-cta p { color: var(--muted); margin: 0; font-size: 0.9rem; }
.footer-cta .cta { background: var(--accent); color: #fff; padding: 10px 20px; border-radius: 999px; font-weight: 600; }

/* Pending / status chip */
.p-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--pill-bg);
  color: var(--muted);
  padding: 5px 10px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 500;
  margin: 8px 0 12px;
}
.p-status::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: #D9A441;
  display: inline-block;
}
.p-status.live { color: var(--success); }
.p-status.live::before { background: var(--success); }

/* =========================================================
   HOMEPAGE V2 SECTIONS — trending strip, mood grid, featured
   partner spotlight
   ========================================================= */

/* Trending strip */
.trending {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 18px;
}
.t-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  text-decoration: none;
  color: var(--text);
  display: block;
  transition: transform .15s ease, box-shadow .15s ease;
}
.t-card:hover { transform: translateY(-3px); box-shadow: 0 12px 28px rgba(0,0,0,.08); text-decoration: none; }
.t-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; }
.t-card .body { padding: 12px 14px 16px; }
.t-card h3 { font-size: 1rem; margin: 0 0 4px; line-height: 1.3; }
.t-card .meta { color: var(--muted); font-size: .8rem; }

/* Cook by mood tiles */
.moods {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 14px;
}
.mood {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 20px;
  text-decoration: none;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 12px;
  transition: background .15s ease, transform .15s ease;
}
.mood:hover { background: var(--pill-bg); text-decoration: none; transform: translateY(-2px); }
.mood .m-icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: var(--pill-bg);
  color: var(--accent);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.mood:hover .m-icon { background: var(--accent); color: #fff; }
.mood .m-icon svg { width: 22px; height: 22px; }
.mood .m-title { font-weight: 600; font-size: .98rem; line-height: 1.2; }
.mood .m-sub { color: var(--muted); font-size: .8rem; margin-top: 2px; }

/* Featured partner spotlight (replaces old basic CTA) */
.spotlight {
  background: linear-gradient(135deg, #FCF3E9 0%, #F8E5D0 100%);
  border-radius: 24px;
  padding: 40px;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 32px;
  align-items: center;
  border: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}
:root[data-theme="dark"] .spotlight { background: linear-gradient(135deg, #2A2521 0%, #332B24 100%); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .spotlight { background: linear-gradient(135deg, #2A2521 0%, #332B24 100%); } }
.spotlight-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--accent);
  color: #fff;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: .75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
}
.spotlight h2 { font-size: 2rem; margin: 12px 0 8px; line-height: 1.15; }
.spotlight .s-tag { color: var(--muted); font-size: 1rem; margin: 0 0 16px; }
.spotlight ul { margin: 16px 0; padding: 0; list-style: none; }
.spotlight ul li {
  padding-left: 26px;
  position: relative;
  margin-bottom: 8px;
  font-size: .95rem;
}
.spotlight ul li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
}
.spotlight .actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 20px; }
.spotlight-visual {
  aspect-ratio: 1;
  background: var(--card);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  font-family: var(--serif);
  font-weight: 700;
  font-size: 4rem;
  box-shadow: 0 20px 40px rgba(0,0,0,0.08);
  position: relative;
  overflow: hidden;
}
.spotlight-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 20%, rgba(255,255,255,.6), transparent 50%);
  pointer-events: none;
}

@media (max-width: 720px) {
  .spotlight { grid-template-columns: 1fr; padding: 28px 22px; }
  .spotlight-visual { aspect-ratio: 16 / 9; font-size: 3rem; }
  .spotlight h2 { font-size: 1.5rem; }
}

/* =========================================================
   MOBILE RESPONSIVENESS PASS
   ========================================================= */
@media (max-width: 720px) {
  h1 { font-size: 1.7rem !important; }
  h2 { font-size: 1.35rem !important; }
  .site-header .wrap { padding: 10px 14px; }
  .site-header .brand { font-size: 1.15rem; }
  .header-search { padding: 9px 14px; font-size: .88rem; }
  .header-search kbd { display: none; }
  .site-subnav .wrap { padding: 10px 14px; gap: 16px; }
  .site-subnav a { font-size: .88rem; }
  .hero-split { padding: 20px 0 30px; }
  .hero-split .wrap { padding: 0 18px; gap: 20px; }
  .hero-copy .lede { font-size: 1rem; }
  .hero-actions .cta { padding: 10px 16px; font-size: .95rem; }
  .services { gap: 14px; grid-template-columns: 1fr; }
  .service-card { padding: 18px; }
  .service-illust { width: 64px; height: 64px; margin-bottom: 12px; }
  .service-illust svg { width: 34px; height: 34px; }
  .section-heading h2 { font-size: 1.5rem; }
  .section-heading { margin: 30px 0 18px; }
  .deals-hero { padding: 30px 16px 12px; }
  .deals-hero h1 { font-size: 1.9rem !important; }
  .category-tabs { gap: 6px; }
  .category-tabs button { padding: 6px 12px; font-size: .82rem; }
  .partner-grid { grid-template-columns: 1fr; gap: 14px; }
  .p-card { padding: 18px; }
  .partner-detail-header { flex-direction: column; align-items: flex-start; gap: 12px; }
  .partner-detail .p-logo { width: 56px; height: 56px; font-size: 1.35rem; }
  .partner-detail h1 { font-size: 1.7rem !important; }
  .partner-detail .p-offer-big { flex-direction: column; align-items: flex-start; padding: 16px; }
  .footer-cta { flex-direction: column; align-items: flex-start; padding: 18px 20px; }
  .footer-cta .cta { padding: 9px 16px; font-size: .9rem; }
  .search-modal-backdrop { padding-top: 6vh; padding-left: 12px; padding-right: 12px; }
  .search-modal { padding: 16px; }
  .search-modal input { padding: 12px 14px; font-size: 1rem; }
  .blog-article { padding: 24px 18px 40px; }
  .blog-article-header h1 { font-size: 1.9rem !important; }
  .blog-article-header .dek { font-size: 1rem; }
  .site-footer { padding: 40px 18px 20px; }
  .footer-bar { flex-direction: column; align-items: flex-start; gap: 6px; }
  .trending { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .t-card .body { padding: 10px 12px 14px; }
  .t-card h3 { font-size: .9rem; }
  .moods { grid-template-columns: 1fr 1fr; }
  .mood { padding: 14px; }
  .mood .m-icon { width: 36px; height: 36px; }
}

/* Prevent horizontal overflow globally */
html, body { overflow-x: hidden; }
img, svg { max-width: 100%; height: auto; }

/* Partner logo — Clearbit fetch with letter fallback */
.p-logo {
  background: #fff;
  color: var(--accent);
  overflow: hidden;
  position: relative;
}
.p-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 6px;
  display: block;
}
.p-logo .letter {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  background: var(--accent);
  color: #fff;
  font-family: var(--serif);
  font-weight: 700;
  font-size: 1.25rem;
}
.partner-detail .p-logo .letter { font-size: 1.6rem; }
.spotlight-visual { background: #fff; padding: 24px; }
.spotlight-visual img { max-width: 70%; max-height: 70%; object-fit: contain; }

/* Logo overlay pattern: letter always painted first, image sits on top when it loads */
.p-logo .brand-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 6px;
  background: #fff;
  opacity: 0;
  transition: opacity .2s ease;
  border-radius: inherit;
}
.p-logo { position: relative; }

/* Spotlight pair — 2 featured partners side by side */
.spotlight-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.spotlight-pair .spotlight {
  padding: 28px;
  grid-template-columns: 1.3fr 1fr;
  gap: 20px;
}
.spotlight-pair .spotlight h2 { font-size: 1.4rem; margin: 10px 0 6px; }
.spotlight-pair .spotlight .s-tag { font-size: .9rem; }
.spotlight-pair .spotlight ul li { font-size: .88rem; }
.spotlight-pair .spotlight-visual { font-size: 2.5rem; padding: 18px; }
@media (max-width: 900px) {
  .spotlight-pair { grid-template-columns: 1fr; }
  .spotlight-pair .spotlight { grid-template-columns: 1fr; padding: 24px; }
  .spotlight-pair .spotlight-visual { aspect-ratio: 16/9; }
}

/* "Become a partner" CTA section */
.partner-request {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 40px;
  margin: 40px 0;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 40px;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.partner-request::before {
  content: "";
  position: absolute;
  top: -80px; right: -80px;
  width: 260px; height: 260px;
  background: radial-gradient(circle, rgba(194,78,27,0.15), transparent 65%);
  border-radius: 50%;
  pointer-events: none;
}
.partner-request .tag {
  display: inline-flex;
  background: var(--pill-bg);
  color: var(--accent);
  padding: 5px 12px;
  border-radius: 999px;
  font-size: .78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
}
.partner-request h2 { font-size: 1.75rem; margin: 12px 0 8px; }
.partner-request p { color: var(--muted); margin: 0 0 16px; font-size: 1rem; line-height: 1.55; }
.partner-request ul {
  margin: 0 0 20px; padding: 0; list-style: none;
  display: flex; flex-wrap: wrap; gap: 12px;
}
.partner-request ul li {
  background: var(--pill-bg);
  color: var(--text);
  padding: 6px 12px;
  border-radius: 999px;
  font-size: .85rem;
}
.partner-request .actions { display: flex; gap: 10px; flex-wrap: wrap; }
.partner-request-visual {
  text-align: center;
  padding: 20px;
  position: relative;
  z-index: 1;
}
.partner-request-visual svg { width: 100%; max-width: 240px; }
@media (max-width: 720px) {
  .partner-request { grid-template-columns: 1fr; padding: 28px 22px; }
  .partner-request-visual { order: -1; }
  .partner-request-visual svg { max-width: 160px; }
}

/* Nutrition detail expansion */
.n-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
  gap: 10px;
  padding: 14px 0 4px;
}
.n-cell {
  background: var(--pill-bg);
  padding: 10px 12px;
  border-radius: 10px;
}
.n-value { font-family: var(--serif); font-weight: 600; color: var(--accent); font-size: 1.1rem; }
.n-unit { color: var(--muted); font-size: .75rem; font-family: var(--sans); }
.n-label { color: var(--text); font-size: .8rem; margin-top: 2px; }
.n-toggle:hover { background: var(--pill-bg); }

/* ============ v3 UI polish ============ */

/* Sticky header (whole thing) */
.site-header { position: sticky; top: 0; z-index: 20; }
.site-subnav { position: sticky; top: 66px; z-index: 15; }
@media (max-width: 720px) {
  .site-subnav { top: 58px; }
}

/* Theme toggle button in header */
.theme-toggle {
  background: rgba(255,255,255,0.15);
  border: none;
  color: #fff;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-left: 8px;
  transition: background .15s ease;
}
.theme-toggle:hover { background: rgba(255,255,255,0.28); }
.theme-toggle svg { width: 18px; height: 18px; }
.theme-toggle .sun { display: none; }
.theme-toggle .moon { display: block; }
:root[data-theme="dark"] .theme-toggle .sun { display: block; }
:root[data-theme="dark"] .theme-toggle .moon { display: none; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .theme-toggle .sun { display: block; }
  :root:not([data-theme="light"]) .theme-toggle .moon { display: none; }
}

/* Back-to-top button */
.to-top {
  position: fixed;
  right: 20px;
  bottom: 20px;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  border: none;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(0,0,0,0.2);
  z-index: 40;
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s ease, transform .2s ease;
  display: flex; align-items: center; justify-content: center;
}
.to-top.visible { opacity: 1; pointer-events: auto; }
.to-top:hover { transform: translateY(-2px); }
.to-top svg { width: 20px; height: 20px; }

/* Page description block */
.page-hero {
  padding: 40px 20px 20px;
  max-width: 900px;
  margin: 0 auto;
}
.page-hero h1 { margin: 0 0 10px; font-size: clamp(1.75rem, 3.5vw, 2.5rem); }
.page-hero .lede { color: var(--muted); font-size: 1.05rem; max-width: 640px; margin: 0 0 18px; line-height: 1.55; }
.page-hero .features {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 10px;
}
.page-hero .features .chip {
  background: var(--pill-bg);
  color: var(--text);
  padding: 6px 12px;
  border-radius: 999px;
  font-size: .82rem;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.page-hero .features .chip::before {
  content: "✓";
  color: var(--accent);
  font-weight: 700;
}

/* Search CTA that opens the modal (matches header style) */
.search-cta {
  width: 100%;
  max-width: 720px;
  padding: 14px 20px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--card);
  color: var(--muted);
  cursor: pointer;
  text-align: left;
  font-family: inherit;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
  margin: 20px auto;
}
.search-cta:hover { border-color: var(--accent); color: var(--text); }
.search-cta kbd {
  background: var(--pill-bg);
  color: var(--text);
  padding: 2px 8px;
  border-radius: 6px;
  font-size: .75rem;
  font-family: var(--sans);
  border: 1px solid var(--border);
}

/* Result rows (Mobbin-style) — no cards on search results */
.result-list { display: flex; flex-direction: column; gap: 2px; margin: 20px 0; }
.result-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  border-radius: 12px;
  cursor: pointer;
  color: var(--text);
  text-decoration: none;
  background: transparent;
  border: 1px solid transparent;
  transition: background .1s ease, border-color .1s ease;
}
.result-row:hover, .result-row:focus-visible {
  background: var(--pill-bg);
  border-color: var(--border);
  text-decoration: none;
}
.result-row .r-thumb {
  width: 46px; height: 46px;
  border-radius: 10px;
  background: var(--pill-bg);
  color: var(--accent);
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
  flex-shrink: 0;
}
.result-row .r-thumb img { width: 100%; height: 100%; object-fit: cover; }
.result-row .r-main { flex: 1; min-width: 0; }
.result-row .r-title { font-weight: 500; line-height: 1.3; }
.result-row .r-meta { color: var(--muted); font-size: .85rem; margin-top: 2px; }
.result-row .r-side { color: var(--muted); font-size: .78rem; text-align: right; flex-shrink: 0; }

/* Nutrition detail inline (opens under result row) */
.n-detail-inline {
  padding: 10px 20px 20px 76px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 6px;
}

/* ============ Brand — round logo only ============ */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0;
  color: inherit;
  text-decoration: none;
  line-height: 1;
}
.brand-mark {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0,0,0,0.12);
  transition: transform .2s ease, box-shadow .2s ease;
}
.brand:hover .brand-mark {
  transform: scale(1.06);
  box-shadow: 0 4px 14px rgba(0,0,0,0.18);
}
.brand-mark svg { width: 26px; height: 26px; display: block; }
.brand-mark svg .bowl { fill: var(--accent); }
.brand-mark svg .steam { stroke: var(--accent); }
.site-header .brand-mark svg .bowl { fill: var(--accent); }

/* Footer version — same round mark but sits inline with tagline block */
.footer-brand { display: inline-flex; align-items: center; }
.footer-brand .brand-mark {
  width: 44px; height: 44px;
  background: var(--accent);
  box-shadow: none;
}
.footer-brand .brand-mark svg .bowl { fill: #fff; }
.footer-brand .brand-mark svg .steam { stroke: #fff; }

/* Subtle spin animation on hover */
@keyframes brand-spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}
/* .brand:hover .brand-mark { animation: brand-spin 1.2s ease; } */


/* ============ Hero Slider — auto-advancing services carousel ============ */
.hero-slider {
  position: relative;
  height: 480px;
  border-radius: 24px;
  overflow: hidden;
  margin: 40px 0;
  box-shadow: 0 20px 60px rgba(0,0,0,0.15);
}
.hero-slider .slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1s ease, transform 1s ease;
  transform: scale(1.02);
  display: flex;
  align-items: flex-end;
  padding: 48px;
}
.hero-slider .slide.active {
  opacity: 1;
  transform: scale(1);
  z-index: 1;
}
.hero-slider .slide::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.15) 0%, rgba(0,0,0,0.35) 40%, rgba(0,0,0,0.85) 100%);
}
.hero-slider .slide-content {
  position: relative;
  z-index: 2;
  color: #fff;
  max-width: 620px;
  transform: translateY(20px);
  opacity: 0;
  transition: transform .8s ease .3s, opacity .8s ease .3s;
}
.hero-slider .slide.active .slide-content {
  transform: translateY(0);
  opacity: 1;
}
.hero-slider .slide-tag {
  display: inline-flex;
  background: var(--accent);
  color: #fff;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 12px;
}
.hero-slider .slide-content h3 {
  color: #fff;
  font-size: clamp(1.75rem, 3.5vw, 2.75rem);
  margin: 0 0 10px;
  line-height: 1.1;
  text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}
.hero-slider .slide-content p {
  color: rgba(255,255,255,0.92);
  font-size: 1.05rem;
  margin: 0 0 20px;
  max-width: 500px;
  line-height: 1.5;
}
.hero-slider .slide-content .cta {
  background: #fff;
  color: var(--accent);
  font-weight: 600;
}
.hero-slider .slide-content .cta:hover {
  background: var(--accent);
  color: #fff;
}
/* Dot indicators */
.slide-dots {
  position: absolute;
  bottom: 24px;
  right: 24px;
  display: flex;
  gap: 8px;
  z-index: 3;
}
.slide-dots .dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.4);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: all .3s ease;
}
.slide-dots .dot.active {
  background: #fff;
  width: 28px;
  border-radius: 4px;
}
/* Slide counter */
.slide-counter {
  position: absolute;
  top: 24px;
  right: 24px;
  z-index: 3;
  background: rgba(0,0,0,0.4);
  color: #fff;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 600;
  backdrop-filter: blur(6px);
}
/* Progress bar */
.slide-progress {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 3px;
  background: rgba(255,255,255,0.15);
  z-index: 3;
}
.slide-progress-fill {
  height: 100%;
  background: var(--accent);
  width: 0;
  transition: width .1s linear;
}
@media (max-width: 720px) {
  .hero-slider { height: 420px; margin: 20px 0; border-radius: 18px; }
  .hero-slider .slide { padding: 28px 20px; }
  .hero-slider .slide-content p { font-size: .95rem; }
  .slide-dots { bottom: 16px; right: 16px; }
}

/* Fade-in-on-scroll */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .8s ease, transform .8s ease; }
.reveal.in { opacity: 1; transform: translateY(0); }
