:root {
  color-scheme: light;
  --paper: #ffffff;
  --surface: #ffffff;
  --surface-soft: #fff4ee;
  --ink: #2d2522;
  --muted: #70635d;
  --line: #ead8cf;
  --green: #bd4819;
  --green-dark: #96340f;
  --green-soft: #fff0e5;
  --coral: #c7483e;
  --coral-soft: #ffe8e2;
  --gold: #f3b13f;
  --dark: #30231e;
  --dark-muted: #d8c8c0;
  --shadow-sm: 0 10px 28px rgba(112, 53, 33, .055);
  --shadow: 0 18px 48px rgba(112, 53, 33, .1);
  --shadow-accent: 0 14px 30px rgba(189, 72, 25, .17);
  --radius: 20px;
  --radius-sm: 14px;
  --radius-xs: 10px;
  --max: 1120px;
  --reading: 760px;
  --aside: 240px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.7;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; }
a { color: var(--green); text-decoration-thickness: .08em; text-underline-offset: .22em; }
a:hover { color: var(--coral); }
button, input { font: inherit; }
p { margin-top: 0; }
::selection { color: var(--ink); background: #ffd8c9; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

.skip-link {
  position: fixed;
  top: .75rem;
  left: .75rem;
  z-index: 100;
  padding: .65rem 1rem;
  border-radius: 10px;
  color: white;
  background: var(--ink);
  transform: translateY(-150%);
}
.skip-link:focus { transform: translateY(0); }

:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
}

.shell { width: min(calc(100% - 2rem), var(--max)); margin-inline: auto; }
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid rgba(189, 72, 25, .14);
  background: rgba(255, 255, 255, .94);
  box-shadow: 0 8px 24px rgba(101, 47, 28, .04);
  backdrop-filter: blur(16px);
}
.nav-wrap { min-height: 68px; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.brand { display: inline-flex; align-items: center; gap: .65rem; color: var(--ink); font-size: 1rem; font-weight: 850; letter-spacing: -.02em; text-decoration: none; }
.brand img { width: 40px; height: 40px; filter: drop-shadow(0 7px 12px rgba(189, 72, 25, .16)); }
.brand span span { color: var(--coral); }
.desktop-nav { display: flex; align-items: center; gap: .25rem; }
.desktop-nav a { display: inline-flex; min-height: 40px; align-items: center; padding: .42rem .64rem; border-radius: var(--radius-xs); color: var(--ink); font-size: .82rem; font-weight: 750; text-decoration: none; transition: color .18s ease, background .18s ease; }
.desktop-nav a:hover, .desktop-nav a[aria-current="page"] { color: var(--green-dark); background: var(--green-soft); }
.menu { display: none; }

main { overflow-x: clip; }
.hero { padding: clamp(2.7rem, 5vw, 4.8rem) 0 3.25rem; }
.search-hero {
  position: relative;
  min-height: 650px;
  padding: clamp(3rem, 5vw, 4.75rem) 0 3rem;
  overflow: hidden;
  color: white;
  background:
    linear-gradient(90deg, rgba(100, 38, 25, .86) 0%, rgba(210, 74, 53, .75) 39%, rgba(255, 124, 0, .29) 63%, rgba(255, 255, 255, .03) 84%),
    url("search-hero.jpg") 50% 50% / cover no-repeat;
  background-image:
    linear-gradient(90deg, rgba(100, 38, 25, .86) 0%, rgba(210, 74, 53, .75) 39%, rgba(255, 124, 0, .29) 63%, rgba(255, 255, 255, .03) 84%),
    image-set(url("search-hero.webp") type("image/webp"), url("search-hero.jpg") type("image/jpeg"));
}
.search-hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 110px;
  pointer-events: none;
  background: linear-gradient(180deg, transparent, rgba(20, 35, 31, .16));
}
.search-hero .shell { position: relative; z-index: 1; }
.search-hero-content { max-width: var(--reading); }
.search-hero h1 {
  max-width: 15ch;
  color: white;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: clamp(2.45rem, 4.2vw, 3.6rem);
  font-weight: 850;
  letter-spacing: -.055em;
  text-wrap: balance;
  text-shadow: 0 3px 24px rgba(77, 27, 19, .28);
}
.search-hero .eyebrow, .search-hero .lead { color: white; }
.search-hero .eyebrow::before { background: #ffd8ce; }
.search-hero .lead { max-width: 680px; text-shadow: 0 2px 14px rgba(77, 27, 19, .3); }
.hero-search-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 54px auto;
  gap: .45rem;
  width: min(100%, var(--reading));
  margin-top: 1.5rem;
  padding: .55rem;
  border: 2px solid rgba(189, 72, 25, .9);
  border-radius: calc(var(--radius) + 2px);
  background: rgba(255, 255, 255, .96);
  box-shadow: 0 24px 60px rgba(96, 36, 25, .22);
}
.hero-search-form input {
  min-width: 0;
  min-height: 60px;
  padding: .85rem 1.1rem;
  border: 0;
  outline: 0;
  color: var(--ink);
  background: transparent;
  font-size: 1rem;
}
.hero-search-form input::placeholder { color: var(--muted); opacity: 1; }
.hero-search-form input:focus-visible { border-radius: 14px; outline: 3px solid var(--gold); outline-offset: -2px; }
.visual-search-link {
  display: grid;
  width: 54px;
  height: 54px;
  place-items: center;
  align-self: center;
  border-radius: var(--radius-sm);
  color: var(--muted);
  text-decoration: none;
}
.visual-search-link:hover { color: var(--coral); background: var(--coral-soft); }
.visual-search-link svg { width: 29px; height: 29px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.hero-search-form button {
  display: inline-flex;
  min-width: 165px;
  min-height: 58px;
  align-items: center;
  justify-content: center;
  gap: .65rem;
  padding: .75rem 1.35rem;
  border: 0;
  border-radius: var(--radius-sm);
  color: white;
  background: linear-gradient(135deg, var(--green), var(--coral));
  font-weight: 850;
  cursor: pointer;
}
.hero-search-form button:hover { background: linear-gradient(135deg, var(--green-dark), #b93d35); }
.hero-search-form button svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.search-modes { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: .85rem; }
.search-modes span { padding: .32rem .62rem; border: 1px solid rgba(255, 255, 255, .38); border-radius: 999px; color: white; background: rgba(96, 36, 25, .18); font-size: .72rem; font-weight: 750; backdrop-filter: blur(6px); }
.search-hero .external-note { color: rgba(255, 255, 255, .84); }
.search-hero .trust-note { max-width: var(--reading); color: white; border-left-color: #ffd8ce; background: rgba(66, 25, 19, .28); backdrop-filter: blur(8px); }
.search-hero .button.secondary { color: var(--ink); border-color: white; background: white; }
.search-hero .button.tertiary { color: white; }
.search-hero .button.tertiary:hover { color: white; background: rgba(255, 255, 255, .12); }
.eyebrow { display: inline-flex; align-items: center; gap: .55rem; margin: 0 0 .8rem; color: var(--green); font-size: .76rem; font-weight: 850; letter-spacing: .14em; text-transform: uppercase; }
.eyebrow::before { content: ""; width: 1.8rem; height: 2px; background: var(--coral); }
h1, h2, h3 { margin-top: 0; color: var(--ink); line-height: 1.1; text-wrap: balance; }
h1 { max-width: 16ch; margin-bottom: 1rem; font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; font-size: clamp(2.65rem, 5.3vw, 4.4rem); font-weight: 850; letter-spacing: -.048em; }
h2 { margin-bottom: .8rem; font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; font-size: clamp(1.7rem, 2.85vw, 2.55rem); font-weight: 820; letter-spacing: -.034em; }
h3 { margin-bottom: .65rem; font-size: 1.15rem; letter-spacing: -.018em; }
.lead { max-width: 62ch; margin: 0 0 1.15rem; color: #514641; font-size: clamp(1.06rem, 2vw, 1.27rem); }
.hero-actions, .button-row { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 1.25rem; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; min-height: 48px; padding: .72rem 1.1rem; border: 1px solid var(--green); border-radius: 999px; color: white; background: linear-gradient(135deg, var(--green), var(--coral)); box-shadow: var(--shadow-accent); font-size: .9rem; font-weight: 800; text-decoration: none; transition: color .18s ease, border-color .18s ease, background .18s ease, box-shadow .18s ease, transform .18s ease; }
.button:hover { color: white; border-color: var(--green-dark); background: linear-gradient(135deg, var(--green-dark), #b93d35); box-shadow: 0 16px 32px rgba(150, 52, 15, .2); transform: translateY(-2px); }
.button.secondary { color: var(--ink); border-color: var(--line); background: var(--surface); box-shadow: none; }
.button.secondary:hover { color: var(--green-dark); border-color: #d8a28c; background: var(--surface-soft); box-shadow: var(--shadow-sm); }
.button.tertiary { padding-inline: .45rem; color: var(--green-dark); border-color: transparent; background: transparent; box-shadow: none; }
.button.tertiary:hover { color: var(--green-dark); border-color: transparent; background: var(--green-soft); box-shadow: none; }
.external-note { margin: .6rem 0 0; color: var(--muted); font-size: .78rem; }
.trust-note { margin-top: 1.35rem; padding: .85rem 1rem; border-left: 3px solid var(--coral); color: #544843; background: rgba(255,255,255,.52); font-size: .86rem; }


.section { padding: clamp(2.1rem, 4vw, 3.4rem) 0; }
.section.tight { padding-block: 1.4rem; }
.section.alt { border-block: 1px solid rgba(189, 72, 25, .08); background: var(--surface); }
.section.dark { color: #fff0e9; background: var(--dark); }
.section.dark h2, .section.dark h3 { color: white; }
.section.dark p { color: var(--dark-muted); }
.section-head { display: grid; grid-template-columns: .7fr 1.3fr; gap: 1.25rem; align-items: start; margin-bottom: 1.15rem; }
.section-head > :first-child h2 { max-width: 19ch; }
.section-head > :last-child { max-width: 65ch; }
.section-head > :last-child > :last-child { margin-bottom: 0; }
.section-kicker { margin: .25rem 0; color: var(--coral); font-size: .76rem; font-weight: 850; letter-spacing: .13em; text-transform: uppercase; }
.quick-answer { display: grid; grid-template-columns: auto 1fr; gap: .85rem; align-items: start; padding: 1.1rem 1.2rem; border: 1px solid #efc7b7; border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow-sm); }
.quick-answer .label { padding: .3rem .55rem; border-radius: 999px; color: white; background: var(--green); font-size: .68rem; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.quick-answer p { margin: 0; }

.grid-2, .grid-3 { display: grid; gap: .85rem; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.card { padding: 1.2rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow-sm); }
.card h2, .card h3 { margin-bottom: .6rem; font-size: 1.15rem; font-weight: 820; letter-spacing: -.02em; }
.card > :last-child { margin-bottom: 0; }
.card-number { margin-bottom: 1rem; color: var(--coral); font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 1.5rem; font-weight: 850; line-height: 1; }
.card-label { display: inline-block; margin-bottom: .55rem; color: var(--green); font-size: .72rem; font-weight: 850; letter-spacing: .1em; text-transform: uppercase; }
.catalog-section { position: relative; background: var(--surface); }
.catalog-shell { position: relative; }
.catalog-heading { max-width: var(--reading); margin: 0 auto 1.25rem; text-align: center; }
.catalog-heading .section-kicker { display: inline-flex; align-items: center; gap: .65rem; margin-bottom: .65rem; }
.catalog-heading .section-kicker::before { content: ""; width: 1.5rem; height: 2px; background: currentColor; }
.catalog-heading h2 {
  margin-bottom: .8rem;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: clamp(1.8rem, 3.3vw, 2.7rem);
  font-weight: 850;
  letter-spacing: -.055em;
}
.catalog-heading > p:last-child { max-width: 740px; margin: 0 auto; color: var(--muted); font-size: 1rem; }
.catalog-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: .85rem; }
.catalog-card {
  position: relative;
  display: flex;
  min-width: 0;
  min-height: 205px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1rem .75rem .85rem;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--ink);
  background: rgba(255, 255, 255, .94);
  box-shadow: var(--shadow-sm);
  text-align: center;
  text-decoration: none;
  transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease, background .22s ease;
}
.catalog-card::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 4px;
  background: var(--coral);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .22s ease;
}
.catalog-card:hover, .catalog-card:focus-visible {
  color: var(--ink);
  border-color: #dc9b82;
  background: white;
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}
.catalog-card:hover::after, .catalog-card:focus-visible::after { transform: scaleX(1); }
.catalog-icon {
  display: grid;
  width: 66px;
  height: 66px;
  margin-bottom: .7rem;
  place-items: center;
  border-radius: var(--radius-sm);
  color: var(--coral);
  background: var(--coral-soft);
  transition: transform .22s ease, color .22s ease, background .22s ease;
}
.catalog-card:nth-child(3n+2) .catalog-icon { color: #e26612; background: var(--green-soft); }
.catalog-card:nth-child(3n) .catalog-icon { color: #b88423; background: #f3e8c9; }
.catalog-card:hover .catalog-icon, .catalog-card:focus-visible .catalog-icon { color: white; background: var(--coral); transform: rotate(-3deg) scale(1.04); }
.catalog-icon svg { width: 42px; height: 42px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.catalog-card h3 { margin: 0 0 .42rem; font-size: 1.08rem; font-weight: 850; letter-spacing: -.03em; }
.catalog-card p { min-height: 2.6em; margin: 0; color: var(--muted); font-size: .8rem; line-height: 1.4; }
.catalog-open { min-height: 1.4em; margin-top: .65rem; color: var(--coral); font-size: .76rem; font-weight: 850; opacity: 0; transform: translateY(4px); transition: opacity .22s ease, transform .22s ease; }
.catalog-card:hover .catalog-open, .catalog-card:focus-visible .catalog-open { opacity: 1; transform: translateY(0); }
.catalog-guide-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: .9rem;
  padding: .95rem 1.1rem;
  border: 1px solid rgba(221, 103, 71, .38);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}
.catalog-guide-cta p { margin: 0; color: var(--muted); font-size: .9rem; }
.catalog-guide-button { flex: 0 0 auto; border-color: var(--coral); color: var(--coral); background: transparent; }
.catalog-guide-button:hover { border-color: var(--coral); background: var(--coral); }
.catalog-note { margin-top: .75rem; text-align: center; }

.steps { counter-reset: steps; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: var(--line); }
.step { position: relative; padding: 1.5rem; background: var(--surface); }
.step::before { counter-increment: steps; content: "0" counter(steps); display: block; margin-bottom: 1.25rem; color: var(--coral); font-family: ui-monospace, monospace; font-size: .78rem; font-weight: 800; }
.step p { margin-bottom: 0; color: var(--muted); }

.check-list, .plain-list { margin: 0; padding: 0; list-style: none; }
.check-list { display: grid; gap: .6rem; }
.check-list li { position: relative; padding-left: 2rem; }
.check-list li::before { content: "✓"; position: absolute; left: 0; top: .12rem; display: grid; width: 1.25rem; height: 1.25rem; place-items: center; border-radius: 50%; color: white; background: var(--green); font-size: .72rem; font-weight: 900; }
.plain-list { display: grid; gap: .5rem; }
.plain-list li { padding-bottom: .5rem; border-bottom: 1px solid var(--line); }
.plain-list li:last-child { border-bottom: 0; }
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: .85rem; }
.compare > article { padding: 1.15rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow-sm); }
.compare .strong { border-top: 3px solid var(--green); }
.compare .weak { border-top: 3px solid var(--coral); }
.score-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: .65rem; }
.score { padding: .95rem; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--surface); box-shadow: var(--shadow-sm); }
.score strong { display: block; margin-bottom: .3rem; font-size: 1.25rem; }
.score span { color: var(--muted); font-size: .82rem; }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
table { width: 100%; border-collapse: collapse; }
th, td { padding: .75rem .85rem; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
th { color: var(--green-dark); background: var(--green-soft); font-size: .76rem; letter-spacing: .06em; text-transform: uppercase; }
tr:last-child td { border-bottom: 0; }

.search-panel { padding: clamp(1.4rem, 4vw, 2.25rem); border: 1px solid rgba(255,255,255,.14); border-radius: calc(var(--radius) + 2px); color: white; background: linear-gradient(135deg, #8f3012, #b93d35 58%, var(--green)); box-shadow: 0 22px 54px rgba(142, 55, 31, .18); }
.search-panel h2, .search-panel h3 { color: white; }
.search-panel p { color: #fff0e9; }
.search-form { display: flex; gap: .65rem; max-width: var(--reading); margin-top: .9rem; }
.search-form label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }
.search-form input { min-width: 0; flex: 1; padding: .82rem 1rem; border: 1px solid transparent; border-radius: 999px; color: var(--ink); background: white; }
.search-form button { padding: .78rem 1.1rem; border: 1px solid white; border-radius: 999px; color: var(--ink); background: var(--gold); font-weight: 850; cursor: pointer; }
.search-form button:hover { background: white; }
.mini-links { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: .75rem; }
.mini-links a { padding: .35rem .65rem; border: 1px solid rgba(255,255,255,.3); border-radius: 999px; color: white; font-size: .76rem; text-decoration: none; }

.page-hero { padding: clamp(1.9rem, 3.4vw, 2.8rem) 0 1.25rem; border-bottom: 1px solid rgba(189, 72, 25, .1); background: var(--surface); }
.page-hero h1 { max-width: 22ch; font-size: clamp(1.95rem, 3.7vw, 3.05rem); letter-spacing: -.042em; }
.page-hero .lead { max-width: 68ch; }
.page-hero .trust-note { max-width: var(--reading); }
.page-hero + .section.tight { padding-top: .75rem; }
.article-meta { display: flex; flex-wrap: wrap; gap: .45rem; margin-top: .9rem; }
.article-meta span { padding: .3rem .62rem; border: 1px solid var(--line); border-radius: 999px; color: var(--muted); background: rgba(255, 255, 255, .7); font-size: .7rem; font-weight: 750; }
.breadcrumbs { margin-bottom: 1rem; color: var(--muted); font-size: .77rem; }
.breadcrumbs a { color: var(--muted); }
.article-shell { display: grid; width: 100%; max-width: calc(var(--reading) + var(--aside) + 2.5rem); grid-template-columns: minmax(0, var(--reading)) var(--aside); gap: clamp(1.5rem, 3vw, 2.5rem); align-items: start; margin-inline: auto; }
.prose { width: 100%; min-width: 0; max-width: var(--reading); }
.prose section { scroll-margin-top: 6rem; margin-bottom: 1.8rem; }
.prose > section + section { padding-top: 1.8rem; border-top: 1px solid var(--line); }
.prose h2 { font-size: clamp(1.56rem, 2.35vw, 2.08rem); }
.prose h3 { margin-top: 1.1rem; }
.prose p, .prose li { color: #514641; }
.prose .quick-answer p { color: var(--ink); }
.decision-flow { counter-reset: decision; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .75rem; }
.decision-step { position: relative; min-height: 150px; padding: .95rem; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--surface); }
.decision-step::before { counter-increment: decision; content: "0" counter(decision); display: block; margin-bottom: .9rem; color: var(--coral); font-family: ui-monospace, monospace; font-size: .72rem; font-weight: 850; }
.decision-step h3 { margin-bottom: .4rem; font-size: .98rem; }
.decision-step p { margin: 0; color: var(--muted); font-size: .78rem; line-height: 1.5; }
.formula { display: grid; gap: .5rem; margin: .85rem 0; padding: 1rem; border: 1px solid #ecc8b9; border-radius: var(--radius-sm); background: var(--coral-soft); text-align: center; }
.formula strong { color: var(--ink); font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: clamp(1rem, 3vw, 1.35rem); letter-spacing: -.02em; }
.formula span { color: var(--muted); font-size: .78rem; }
.query-examples { display: grid; gap: .5rem; margin-top: .75rem; }
.query-examples code { display: block; padding: .75rem .9rem; border: 1px solid var(--line); border-radius: 11px; color: var(--green-dark); background: var(--surface); font-size: .82rem; white-space: normal; }
.side-nav { position: sticky; top: 5.4rem; padding: .95rem; border: 1px solid var(--line); border-radius: var(--radius-sm); background: rgba(255,255,255,.94); box-shadow: var(--shadow-sm); backdrop-filter: blur(12px); }
.side-nav strong { display: block; margin-bottom: .65rem; font-size: .77rem; letter-spacing: .08em; text-transform: uppercase; }
.side-nav a { display: block; padding: .35rem 0; color: var(--muted); font-size: .8rem; text-decoration: none; }
.side-nav a:hover { color: var(--coral); }
.note, .warning { margin: .9rem 0; padding: .85rem 1rem; border-radius: var(--radius-sm); font-size: .9rem; }
.note { border: 1px solid #f2c9b5; background: var(--green-soft); }
.warning { border: 1px solid #ecc8b9; background: var(--coral-soft); }
.faq-list { display: grid; gap: .6rem; }
.faq-list details { padding: .85rem 1rem; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--surface); box-shadow: var(--shadow-sm); transition: border-color .18s ease, background .18s ease; }
.faq-list details:hover, .faq-list details[open] { border-color: #dda58e; background: #fffdfb; }
.faq-list summary { cursor: pointer; font-weight: 800; list-style-position: outside; }
.faq-list summary::marker { color: var(--coral); }
.faq-list details p { margin-bottom: .25rem; }
.link-directory { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .55rem; }
.link-directory a { display: flex; justify-content: space-between; gap: .85rem; padding: .75rem .85rem; border: 1px solid var(--line); border-radius: var(--radius-sm); color: var(--ink); background: var(--surface); box-shadow: var(--shadow-sm); font-size: .9rem; font-weight: 750; text-decoration: none; transition: color .18s ease, border-color .18s ease, background .18s ease, transform .18s ease; }
.link-directory a:hover { color: var(--green-dark); border-color: #dda58e; background: var(--surface-soft); transform: translateY(-1px); }
.article-library { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .8rem; }
.article-card { display: flex; min-height: 210px; flex-direction: column; padding: 1.1rem; border: 1px solid var(--line); border-radius: var(--radius); color: var(--ink); background: var(--surface); box-shadow: var(--shadow-sm); text-decoration: none; transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease; }
.article-card:hover, .article-card:focus-visible { color: var(--ink); border-color: #dc9b82; box-shadow: var(--shadow); transform: translateY(-3px); }
.article-card h3 { font-size: 1.22rem; }
.article-card p { margin: 0 0 .75rem; color: var(--muted); font-size: .85rem; }
.article-link { margin-top: auto; color: var(--coral); font-size: .8rem; font-weight: 850; }
.compact-directory { margin-top: .75rem; }

.closing { padding: clamp(1.5rem, 4vw, 2.5rem); border: 1px solid #efc7b7; border-radius: calc(var(--radius) + 2px); background: var(--surface); box-shadow: var(--shadow-sm); }
.closing h2 { max-width: 16ch; }
.closing p { max-width: 60ch; }

.site-footer { padding: 2.75rem 0 1.5rem; border-top: 1px solid var(--line); color: var(--muted); background: var(--surface); }
.footer-grid { display: grid; grid-template-columns: 1.2fr .8fr .8fr; gap: 1.5rem; }
.footer-brand { color: var(--ink); }
.footer-copy { max-width: 52ch; font-size: .82rem; }
.footer-title { margin: 0 0 .75rem; color: var(--ink); font-size: .75rem; font-weight: 850; letter-spacing: .1em; text-transform: uppercase; }
.footer-links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .35rem 1rem; }
.footer-links a { color: var(--muted); font-size: .8rem; text-decoration: none; }
.footer-links a:hover { color: var(--green-dark); }
.footer-bottom { display: flex; justify-content: space-between; gap: 1rem; margin-top: 1.75rem; padding-top: 1rem; border-top: 1px solid var(--line); font-size: .72rem; }
.footer-bottom p { margin: 0; }

.whatsapp-float {
  position: fixed;
  right: max(18px, env(safe-area-inset-right));
  bottom: max(18px, env(safe-area-inset-bottom));
  z-index: 50;
  display: flex;
  width: 58px;
  height: 58px;
  align-items: center;
  justify-content: center;
  border: 2px solid #187c43;
  border-radius: 50%;
  color: white;
  background: #25d366;
  box-shadow: 0 12px 30px rgba(9, 46, 28, .3);
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
  transition: transform .18s ease, box-shadow .18s ease;
}
.whatsapp-float:hover, .whatsapp-float:focus-visible {
  color: white;
  outline: 3px solid white;
  outline-offset: 3px;
  box-shadow: 0 16px 36px rgba(9, 46, 28, .38);
  transform: translateY(-2px) scale(1.04);
}
.whatsapp-float img { width: 32px; height: 32px; }
.whatsapp-float-label {
  position: absolute;
  top: 50%;
  right: 68px;
  width: max-content;
  max-width: 210px;
  padding: .55rem .7rem;
  border-radius: var(--radius-xs);
  color: white;
  background: #17231d;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .2);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.2;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-50%);
  transition: opacity .18s ease, visibility .18s ease;
}
.whatsapp-float:hover .whatsapp-float-label,
.whatsapp-float:focus-visible .whatsapp-float-label { opacity: 1; visibility: visible; }

@media (max-width: 1180px) {
  .catalog-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

@media (max-width: 980px) {
  .desktop-nav { display: none; }
  .menu { display: block; position: relative; }
  .menu summary { display: flex; min-height: 44px; align-items: center; padding: .45rem .78rem; border: 1px solid var(--line); border-radius: 999px; font-size: .82rem; font-weight: 800; cursor: pointer; list-style: none; }
  .menu summary::-webkit-details-marker { display: none; }
  .menu[open] nav { position: absolute; top: calc(100% + .65rem); right: 0; z-index: 20; display: grid; min-width: 220px; padding: .7rem; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--surface); box-shadow: var(--shadow); }
  .menu nav a { display: flex; min-height: 44px; align-items: center; padding: .55rem .65rem; border-radius: var(--radius-xs); color: var(--ink); text-decoration: none; }
  .menu nav a:hover, .menu nav a[aria-current="page"] { color: var(--green-dark); background: var(--green-soft); }
  .section-head { grid-template-columns: 1fr; }
  .search-hero { min-height: 620px; background-position: 58% 50%; }
  .catalog-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .article-shell { grid-template-columns: 1fr; }
  .prose { margin-inline: auto; }
  .side-nav { display: none; }
  .decision-flow { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .article-library { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 700px) {
  body { font-size: 16px; }
  .shell { width: min(calc(100% - 1.25rem), var(--max)); }
  .nav-wrap { min-height: 64px; }
  .brand span { display: none; }
  .hero { padding-top: 2.35rem; }
  .hero-actions .button { width: 100%; }
  .search-hero { min-height: auto; padding: 2.5rem 0 2.4rem; background-position: 69% 50%; }
  .search-hero::before { content: ""; position: absolute; inset: 0; background: rgba(98, 38, 24, .24); }
  .search-hero::after { display: none; }
  .search-hero h1 { font-size: clamp(1.95rem, 9.3vw, 2.55rem); }
  .hero-search-form { grid-template-columns: minmax(0, 1fr) 50px; border-radius: 20px; }
  .hero-search-form input { min-height: 54px; padding-left: .8rem; font-size: .88rem; }
  .visual-search-link { width: 50px; height: 50px; }
  .hero-search-form button { grid-column: 1 / -1; min-height: 52px; }
  .grid-2, .grid-3, .steps, .compare, .score-grid, .footer-grid, .link-directory, .article-library { grid-template-columns: 1fr; }
  .article-card { min-height: 190px; }
  .catalog-heading { margin-bottom: 1rem; }
  .catalog-heading h2 { font-size: clamp(1.65rem, 7.8vw, 2.15rem); }
  .catalog-heading > p:last-child { font-size: .9rem; }
  .catalog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .7rem; }
  .catalog-card { min-height: 180px; padding: .85rem .55rem .7rem; border-radius: 18px; }
  .catalog-icon { width: 58px; height: 58px; margin-bottom: .6rem; border-radius: 17px; }
  .catalog-icon svg { width: 36px; height: 36px; }
  .catalog-card h3 { font-size: .98rem; }
  .catalog-card p { font-size: .76rem; }
  .catalog-guide-cta { align-items: stretch; flex-direction: column; padding: .85rem; }
  .catalog-guide-button { width: 100%; }
  .decision-flow { grid-template-columns: 1fr; }
  .decision-step { min-height: auto; }
  .quick-answer { grid-template-columns: 1fr; }
  .search-form { flex-direction: column; }
  .search-form button { min-height: 48px; }
  .footer-bottom { flex-direction: column; }
  .closing { border-radius: var(--radius); }
  .whatsapp-float { right: max(14px, env(safe-area-inset-right)); bottom: max(14px, env(safe-area-inset-bottom)); width: 54px; height: 54px; }
  .whatsapp-float-label { display: none; }
  th, td { min-width: 165px; }
}

@media (hover: none) {
  .catalog-open { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}

@media print {
  .site-header, .site-footer, .hero-actions, .side-nav, .search-panel, .whatsapp-float { display: none; }
  body { background: white; color: black; }
  .section, .page-hero { padding-block: 1.5rem; }
}
