:root {
  --brand: #d6006f;
  --brand-dark: #a90057;
  --brand-soft: #fff0f7;
  --ink: #211c35;
  --muted: #676174;
  --line: #e7e2ea;
  --surface: #ffffff;
  --surface-alt: #f8f6fa;
  --accent: #ff7a59;
  --success: #167c62;
  --warning: #9c5a00;
  --radius-sm: 0.65rem;
  --radius: 1rem;
  --radius-lg: 1.6rem;
  --shadow: 0 20px 55px rgba(33, 28, 53, 0.1);
  --shadow-sm: 0 8px 24px rgba(33, 28, 53, 0.08);
  --container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--surface);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
body.nav-open { overflow: hidden; }
img { max-width: 100%; height: auto; }
a { color: var(--brand-dark); text-decoration-thickness: 0.08em; text-underline-offset: 0.15em; }
a:hover { color: var(--brand); }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
h1, h2, h3, h4 {
  margin: 0 0 0.65em;
  line-height: 1.12;
  letter-spacing: -0.035em;
}
h1 { font-size: clamp(2.45rem, 6vw, 5.3rem); }
h2 { font-size: clamp(2rem, 4vw, 3.4rem); }
h3 { font-size: clamp(1.25rem, 2.2vw, 1.65rem); }
p { margin: 0 0 1rem; }
ul, ol { padding-left: 1.25rem; }
.container { width: min(calc(100% - 2rem), var(--container)); margin-inline: auto; }
.narrow { width: min(calc(100% - 2rem), 790px); margin-inline: auto; }
.section { padding: clamp(4rem, 8vw, 7rem) 0; }
.section-sm { padding: 2.5rem 0; }
.section-alt { background: var(--surface-alt); }
.section-brand { color: #fff; background: var(--ink); }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-bottom: 1.1rem;
  color: var(--brand-dark);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.eyebrow::before { width: 1.75rem; height: 2px; content: ""; background: currentColor; }
.section-brand .eyebrow, .hero .eyebrow { color: #ff9acc; }
.lead { max-width: 760px; color: var(--muted); font-size: clamp(1.08rem, 2vw, 1.3rem); }
.section-brand .lead { color: #d9d4e1; }
.fineprint { color: var(--muted); font-size: 0.86rem; }
.skip-link {
  position: fixed;
  z-index: 9999;
  top: 0.5rem;
  left: 0.5rem;
  padding: 0.75rem 1rem;
  transform: translateY(-150%);
  color: #fff;
  border-radius: var(--radius-sm);
  background: var(--ink);
}
.skip-link:focus { transform: translateY(0); }

.site-header {
  position: sticky;
  z-index: 1000;
  top: 0;
  border-bottom: 1px solid rgba(231, 226, 234, 0.85);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(14px);
}
.nav-wrap { display: flex; min-height: 78px; align-items: center; justify-content: space-between; gap: 1.5rem; }
.brand { display: inline-flex; flex: 0 0 auto; align-items: center; text-decoration: none; }
.brand img { width: 150px; max-height: 54px; object-fit: contain; }
.main-nav { display: flex; align-items: center; gap: clamp(0.85rem, 2vw, 1.55rem); }
.main-nav a { color: var(--ink); font-size: 0.93rem; font-weight: 700; text-decoration: none; white-space: nowrap; }
.main-nav a:hover, .main-nav a[aria-current="page"] { color: var(--brand); }
.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: #fff;
}
.lang-select {
  min-width: 116px;
  padding: 0.58rem 2.2rem 0.58rem 0.7rem;
  border: 1px solid var(--line);
  border-radius: 0.6rem;
  color: var(--ink);
  background: #fff;
}
.google-translate-host { position: absolute; overflow: hidden; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
body > .skiptranslate { display: none !important; }
body { top: 0 !important; }

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.72rem 1.15rem;
  border: 2px solid var(--brand);
  border-radius: 0.7rem;
  color: #fff;
  background: var(--brand);
  font-weight: 800;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  transition: 160ms ease;
}
.button:hover { color: #fff; border-color: var(--brand-dark); background: var(--brand-dark); transform: translateY(-1px); }
.button-secondary { color: var(--ink); border-color: var(--line); background: #fff; }
.button-secondary:hover { color: var(--brand-dark); border-color: var(--brand); background: var(--brand-soft); }
.button-light { color: var(--ink); border-color: #fff; background: #fff; }
.button-light:hover { color: var(--ink); border-color: #fff; background: #f6f1f7; }
.button-small { min-height: 40px; padding: 0.55rem 0.85rem; font-size: 0.9rem; }
.button-row { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-top: 1.5rem; }

.hero {
  position: relative;
  overflow: hidden;
  min-height: 660px;
  display: grid;
  align-items: center;
  color: #fff;
  background:
    radial-gradient(circle at 85% 15%, rgba(214, 0, 111, 0.42), transparent 30%),
    radial-gradient(circle at 70% 90%, rgba(255, 122, 89, 0.26), transparent 32%),
    linear-gradient(135deg, #1d1730 0%, #2f1732 52%, #42112d 100%);
}
.hero::before,
.hero::after {
  position: absolute;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 50%;
  content: "";
}
.hero::before { width: 520px; height: 520px; right: -170px; top: -130px; }
.hero::after { width: 340px; height: 340px; right: 70px; bottom: -180px; }
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.2fr 0.8fr; gap: clamp(2rem, 6vw, 5.5rem); align-items: center; padding-block: 6rem; }
.hero h1 { max-width: 900px; }
.hero h1 span { color: #ff8bc4; }
.hero-copy > p { max-width: 760px; color: #e5deea; font-size: clamp(1.1rem, 2vw, 1.35rem); }
.hero-search {
  margin-top: 2rem;
  padding: 0.7rem;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.09);
  box-shadow: var(--shadow);
  backdrop-filter: blur(10px);
}
.hero-search form { display: flex; gap: 0.55rem; }
.hero-search input { width: 100%; min-height: 54px; padding: 0.85rem 1rem; border: 0; border-radius: 0.65rem; color: var(--ink); background: #fff; }
.hero-card {
  position: relative;
  padding: 1.7rem;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.09);
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
}
.hero-card .metric { padding: 1rem 0; border-bottom: 1px solid rgba(255, 255, 255, 0.12); }
.hero-card .metric:last-child { border-bottom: 0; }
.hero-card strong { display: block; color: #fff; font-size: 1.8rem; line-height: 1; }
.hero-card span { color: #d9d2df; font-size: 0.92rem; }

.stats { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: var(--shadow-sm); }
.stat { padding: 1.5rem; border-right: 1px solid var(--line); }
.stat:last-child { border-right: 0; }
.stat strong { display: block; color: var(--brand); font-size: 1.65rem; }
.stat span { color: var(--muted); font-size: 0.9rem; }

.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.1rem; }
.card {
  position: relative;
  padding: 1.5rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 1px 0 rgba(33, 28, 53, 0.02);
  transition: 180ms ease;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-sm); }
.card p:last-child { margin-bottom: 0; }
.card-link { color: inherit; text-decoration: none; }
.card-link::after { position: absolute; inset: 0; content: ""; }
.number {
  display: inline-grid;
  width: 2.4rem;
  height: 2.4rem;
  margin-bottom: 1rem;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: var(--brand);
  font-size: 0.82rem;
  font-weight: 900;
}
.icon-box {
  display: grid;
  width: 3.2rem;
  height: 3.2rem;
  margin-bottom: 1rem;
  place-items: center;
  border-radius: 0.9rem;
  color: var(--brand);
  background: var(--brand-soft);
  font-size: 1.35rem;
  font-weight: 900;
}
.badge {
  display: inline-flex;
  align-items: center;
  padding: 0.28rem 0.6rem;
  border-radius: 999px;
  color: var(--brand-dark);
  background: var(--brand-soft);
  font-size: 0.75rem;
  font-weight: 800;
}
.badge-neutral { color: #4e4857; background: #f0edf2; }
.badge-success { color: var(--success); background: #e8f5f1; }
.tag-row { display: flex; flex-wrap: wrap; gap: 0.45rem; margin-bottom: 0.8rem; }
.check-list { list-style: none; padding: 0; }
.check-list li { position: relative; padding: 0.45rem 0 0.45rem 1.8rem; }
.check-list li::before { position: absolute; left: 0; top: 0.48rem; color: var(--brand); content: "✓"; font-weight: 900; }
.text-link { position: relative; z-index: 1; display: inline-flex; margin-top: 0.5rem; align-items: center; gap: 0.3rem; font-weight: 800; }

.page-hero { padding: clamp(4.2rem, 8vw, 7rem) 0; color: #fff; background: linear-gradient(135deg, var(--ink), #4a1234); }
.page-hero h1 { max-width: 930px; font-size: clamp(2.5rem, 5.5vw, 4.8rem); }
.page-hero p { max-width: 800px; color: #e4dce8; font-size: 1.2rem; }
.breadcrumbs { margin-bottom: 1.2rem; color: #d5cadc; font-size: 0.88rem; }
.breadcrumbs a { color: #fff; }
.breadcrumbs span { margin-inline: 0.35rem; opacity: 0.65; }

.search-panel {
  position: relative;
  z-index: 2;
  margin-top: -2.2rem;
  padding: 1.25rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
}
.filter-grid { display: grid; grid-template-columns: 2fr repeat(5, 1fr); gap: 0.75rem; align-items: end; }
.filter-grid-measures { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.filter-grid-3 { grid-template-columns: 2fr 1fr 1fr; }
.field { display: flex; flex-direction: column; gap: 0.35rem; }
.field label { color: #4c4653; font-size: 0.78rem; font-weight: 800; }
.field input, .field select, .field textarea {
  width: 100%;
  min-height: 46px;
  padding: 0.7rem 0.8rem;
  border: 1px solid #cfc9d3;
  border-radius: 0.58rem;
  color: var(--ink);
  background: #fff;
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--brand); outline: 3px solid rgba(214, 0, 111, 0.13); }
.field-wide { grid-column: span 2; }
.filter-actions { display: flex; justify-content: space-between; gap: 1rem; margin-top: 0.85rem; align-items: center; }
.result-meta { color: var(--muted); font-size: 0.9rem; }
.results-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.1rem; margin-top: 1.5rem; }
.measure-card { display: flex; flex-direction: column; min-height: 100%; }
.measure-card h2, .measure-card h3 { margin-top: 0.75rem; font-size: 1.25rem; }
.measure-card p { color: var(--muted); font-size: 0.94rem; }
.measure-card footer { display: flex; margin-top: auto; padding-top: 1rem; justify-content: space-between; border-top: 1px solid var(--line); color: var(--muted); font-size: 0.8rem; }
.empty-state { padding: 3rem 1rem; text-align: center; border: 1px dashed #cfc9d3; border-radius: var(--radius); background: var(--surface-alt); }
.pagination { display: flex; flex-wrap: wrap; gap: 0.45rem; margin-top: 2rem; justify-content: center; }
.pagination button { min-width: 42px; min-height: 42px; border: 1px solid var(--line); border-radius: 0.5rem; color: var(--ink); background: #fff; }
.pagination button[aria-current="page"] { color: #fff; border-color: var(--brand); background: var(--brand); }
.loading { padding: 3rem; color: var(--muted); text-align: center; }

.detail-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 3rem; align-items: start; }
.detail-body h2 { margin-top: 2.2rem; font-size: 1.7rem; }
.detail-body h3 { margin-top: 1.5rem; font-size: 1.25rem; }
.detail-sidebar { position: sticky; top: 100px; }
.data-list { margin: 0; }
.data-list > div { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; padding: 0.8rem 0; border-bottom: 1px solid var(--line); }
.data-list dt { color: var(--muted); font-size: 0.85rem; }
.data-list dd { margin: 0; font-weight: 800; text-align: right; }
.callout { padding: 1.3rem; border-left: 4px solid var(--brand); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; background: var(--brand-soft); }
.premium-box { padding: 1.5rem; border-radius: var(--radius); color: #fff; background: linear-gradient(145deg, var(--ink), #42102d); }
.premium-box p { color: #ded6e3; }

.pricing-card { display: flex; flex-direction: column; }
.pricing-card.featured { border: 2px solid var(--brand); box-shadow: var(--shadow); }
.pricing-label { position: absolute; top: -0.8rem; right: 1rem; color: #fff; background: var(--brand); }
.price { margin: 0.8rem 0 1.3rem; font-size: 2rem; font-weight: 900; }
.pricing-card .button { margin-top: auto; }

.contact-layout { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(2rem, 6vw, 5rem); align-items: start; }
.contact-form { padding: clamp(1.25rem, 4vw, 2.2rem); border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: var(--shadow-sm); }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.form-grid .full { grid-column: 1 / -1; }
.honeypot { position: absolute !important; left: -9999px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }
.notice { padding: 1rem; border-radius: var(--radius-sm); color: #704300; background: #fff3dd; }
.notice-success { color: #0c5f49; background: #e4f5ef; }

.cta {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2rem;
  align-items: center;
  padding: clamp(2rem, 5vw, 3.5rem);
  border-radius: var(--radius-lg);
  color: #fff;
  background:
    radial-gradient(circle at 90% 10%, rgba(255,255,255,.18), transparent 30%),
    linear-gradient(130deg, var(--brand-dark), var(--brand));
  box-shadow: var(--shadow);
}
.cta p { max-width: 700px; margin-bottom: 0; color: #ffe1f0; }

.site-footer { padding: 4rem 0 1.5rem; color: #dcd7e2; background: #181424; }
.footer-grid { display: grid; grid-template-columns: 1.3fr repeat(3, 1fr); gap: 2rem; }
.footer-brand img { width: 150px; padding: 0.35rem; border-radius: 0.35rem; background: #fff; }
.footer-brand p { max-width: 360px; margin-top: 1rem; color: #bcb6c5; }
.site-footer h2 { color: #fff; font-size: 1rem; letter-spacing: 0; }
.site-footer a { color: #dcd7e2; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-links { display: grid; gap: 0.5rem; }
.footer-bottom { display: flex; margin-top: 3rem; padding-top: 1.2rem; justify-content: space-between; gap: 1rem; border-top: 1px solid #363043; color: #9f98aa; font-size: 0.85rem; }

:focus-visible { outline: 3px solid #ff9dcb; outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
}
@media (max-width: 1040px) {
  .nav-toggle { display: inline-grid; place-items: center; }
  .main-nav {
    position: fixed;
    inset: 79px 0 auto;
    display: none;
    max-height: calc(100vh - 79px);
    padding: 1.5rem;
    flex-direction: column;
    align-items: stretch;
    overflow-y: auto;
    border-bottom: 1px solid var(--line);
    background: #fff;
    box-shadow: var(--shadow);
  }
  .main-nav.is-open { display: flex; }
  .main-nav a { padding: 0.55rem 0; font-size: 1rem; }
  .lang-select { width: 100%; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-card { display: grid; grid-template-columns: repeat(3, 1fr); }
  .hero-card .metric { padding: 0.5rem 1rem; border-right: 1px solid rgba(255,255,255,.12); border-bottom: 0; }
  .hero-card .metric:last-child { border-right: 0; }
  .filter-grid { grid-template-columns: repeat(3, 1fr); }
  .filter-grid-measures { grid-template-columns: repeat(3, 1fr); }
  .results-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  h1 { font-size: clamp(2.35rem, 12vw, 3.4rem); }
  .brand img { width: 130px; }
  .hero { min-height: auto; }
  .hero-grid { padding-block: 4.5rem; }
  .hero-search form { flex-direction: column; }
  .hero-card { grid-template-columns: 1fr; }
  .hero-card .metric { border-right: 0; border-bottom: 1px solid rgba(255,255,255,.12); }
  .stats, .grid-2, .grid-3, .grid-4, .results-grid, .contact-layout, .detail-layout, .footer-grid, .cta { grid-template-columns: 1fr; }
  .stat { border-right: 0; border-bottom: 1px solid var(--line); }
  .stat:last-child { border-bottom: 0; }
  .filter-grid { grid-template-columns: 1fr; }
  .filter-grid-measures { grid-template-columns: 1fr; }
  .filter-grid-3 { grid-template-columns: 1fr; }
  .field-wide { grid-column: auto; }
  .filter-actions, .footer-bottom { align-items: stretch; flex-direction: column; }
  .detail-sidebar { position: static; }
  .form-grid { grid-template-columns: 1fr; }
  .form-grid .full { grid-column: auto; }
}
