:root {
  --bg: #f4f7fb;
  --surface: #ffffff;
  --surface-soft: #f7f9fc;
  --line: #e7edf4;
  --line-strong: #d0d7e2;
  --text: #101828;
  --muted: #667085;
  --primary: #9b3249;
  --primary-dark: #7b283a;
  --primary-soft: #fff1f4;
  --success: #067647;
  --success-soft: #ecfdf3;
  --danger: #b42318;
  --danger-soft: #fef3f2;
  --glass: rgba(255, 255, 255, 0.72);
  --glass-strong: rgba(255, 255, 255, 0.86);
  --laundry-blue: #dff5ff;
  --laundry-mist: #effbff;
  --font-body: 'Instrument Sans', Arial, Helvetica, sans-serif;
  --font-display: 'Manrope', 'Instrument Sans', Arial, Helvetica, sans-serif;
  --shadow: 0 24px 60px rgba(15, 23, 42, 0.08);
  --shadow-soft: 0 12px 28px rgba(15, 23, 42, 0.06);
  --radius-xl: 28px;
  --radius-lg: 20px;
  --radius-md: 14px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background:
    radial-gradient(circle at top right, rgba(155, 50, 73, 0.08), transparent 24rem),
    radial-gradient(circle at left 12%, rgba(15, 118, 110, 0.04), transparent 22rem),
    linear-gradient(180deg, #fcfdff 0%, var(--bg) 100%);
}

h1,
h2,
h3,
.site-brand,
.site-nav a,
.button,
.admin-brand,
.admin-nav a,
.section-kicker {
  font-family: var(--font-display);
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

button,
input,
select,
textarea {
  font: inherit;
}

.container {
  width: min(1328px, calc(100% - clamp(1rem, 3vw, 2.25rem)));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255, 255, 255, 0.84);
  backdrop-filter: blur(22px);
  border-bottom: 1px solid rgba(231, 237, 244, 0.95);
  box-shadow: 0 10px 34px rgba(15, 23, 42, 0.04);
}

.site-header-inner {
  min-height: 88px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 1.5rem;
  align-items: center;
}

.site-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.95rem;
  font-weight: 800;
  font-size: 1.12rem;
}

.site-brand-logo-wrap {
  width: 3.1rem;
  height: 3.1rem;
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 1.18rem;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(248, 250, 252, 0.94) 100%);
  border: 1px solid rgba(231, 237, 244, 0.96);
  box-shadow: 0 14px 28px rgba(15, 23, 42, 0.08);
  overflow: hidden;
}

.site-brand-logo {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.site-brand-mark {
  position: relative;
  width: 3.1rem;
  height: 3.1rem;
  border-radius: 1.18rem;
  background: linear-gradient(135deg, var(--primary) 0%, #c54b69 100%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  box-shadow: 0 18px 36px rgba(155, 50, 73, 0.22);
}

.site-brand-mark-ring,
.site-brand-mark-drop,
.site-brand-mark-bubble {
  position: absolute;
  display: block;
}

.site-brand-mark-ring {
  width: 1.35rem;
  height: 1.35rem;
  border: 2px solid rgba(255, 255, 255, 0.9);
  border-radius: 999px;
  left: 0.92rem;
  top: 0.92rem;
}

.site-brand-mark-drop {
  width: 0.92rem;
  height: 1.2rem;
  right: 0.82rem;
  top: 0.76rem;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 999px 999px 999px 999px;
  transform: rotate(45deg);
}

.site-brand-mark-bubble {
  width: 0.58rem;
  height: 0.58rem;
  left: 0.72rem;
  bottom: 0.72rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0.95rem 0.18rem 0 rgba(255, 255, 255, 0.62);
}

.site-brand-copy {
  display: grid;
  gap: 0.05rem;
}

.site-brand-name {
  font-size: 1.06rem;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.site-brand-note {
  color: #98a2b3;
  font-size: 0.78rem;
  font-weight: 600;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  flex-wrap: wrap;
  padding: 0.35rem;
  border: 1px solid rgba(231, 237, 244, 0.95);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: var(--shadow-soft);
}

.site-nav a {
  color: #475467;
  font-weight: 750;
  font-size: 0.97rem;
  padding: 0.78rem 1.08rem;
  border-radius: 999px;
  transition: 0.22s ease;
}

.site-nav a:hover,
.site-nav a.is-active {
  background: linear-gradient(180deg, #fff1f4 0%, #ffe7ee 100%);
  color: var(--primary);
  box-shadow: inset 0 0 0 1px rgba(155, 50, 73, 0.08);
}

.site-nav .admin-link {
  border: 1px solid var(--line);
}

.nav-toggle {
  display: none;
  background: transparent;
  border: 0;
  padding: 0.25rem;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.8rem;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 0.23rem;
}

.nav-toggle span {
  display: block;
  width: 1.2rem;
  height: 2px;
  background: var(--text);
  border-radius: 999px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border: 1px solid transparent;
  border-radius: 1.05rem;
  min-height: 3.25rem;
  padding: 0.92rem 1.25rem;
  font-weight: 800;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.button:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 28px rgba(15, 23, 42, 0.08);
}

.button-dark,
.button-primary {
  background: linear-gradient(180deg, #182230 0%, #101828 100%);
  color: #fff;
}

.button-dark:hover,
.button-primary:hover {
  background: linear-gradient(180deg, #131d2b 0%, #0b1220 100%);
}

.button-soft {
  background: linear-gradient(180deg, #fff5f6 0%, #ffecef 100%);
  color: var(--primary);
  border-color: #f4c9d3;
}

.header-cta {
  min-width: 172px;
  border-radius: 999px;
  box-shadow: 0 18px 34px rgba(16, 24, 40, 0.14);
}

.button-link {
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--muted);
  font-weight: 700;
  cursor: pointer;
}

.section {
  padding: 4.5rem 0;
}

.section-soft {
  background: rgba(255, 255, 255, 0.6);
  border-block: 1px solid rgba(228, 231, 236, 0.7);
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 1rem;
  margin-bottom: 2rem;
}

.section-head.center,
.section-actions.center {
  justify-content: center;
  text-align: center;
}

.section-subtitle,
.lead,
.panel-note,
.footer-copy,
.meta-line,
.results-text {
  color: var(--muted);
  line-height: 1.7;
}

.section-subtitle,
.lead,
.panel-note,
.footer-copy {
  font-size: 1rem;
}

.eyebrow,
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  border-radius: 999px;
  padding: 0.45rem 0.8rem;
  font-size: 0.78rem;
  font-weight: 800;
}

.eyebrow {
  background: var(--primary-soft);
  color: var(--primary);
  border: 1px solid #f8d2da;
  margin-bottom: 1rem;
}

.badge {
  background: #f2f4f7;
  color: #475467;
}

.badge-primary {
  background: var(--primary-soft);
  color: var(--primary);
}

.badge-soft {
  background: #f8f0f1;
  color: #8d4550;
}

.badge-success {
  background: var(--success-soft);
  color: var(--success);
}

.hero-section {
  padding: 4rem 0 2rem;
}

.hero-grid,
.lead-magnet-grid,
.detail-grid,
.footer-grid {
  display: grid;
  gap: 1.5rem;
}

.hero-grid {
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
}

.hero-copy h1,
.page-title {
  margin: 0 0 1rem;
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.hero-copy h1 {
  font-size: clamp(2.6rem, 5vw, 4.9rem);
}

.page-title {
  font-size: clamp(2rem, 4vw, 3.5rem);
}

.hero-search,
.filter-bar,
.admin-form-grid,
.admin-split-grid,
.lead-magnet-grid {
  display: grid;
  gap: 0.9rem;
}

.hero-search {
  grid-template-columns: 0.95fr 1.25fr auto;
  margin-top: 1.7rem;
  padding: 0.8rem;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(228, 231, 236, 0.85);
  border-radius: 1.5rem;
  box-shadow: var(--shadow);
}

.hero-search input,
.hero-search select,
.filter-bar input,
.filter-bar select,
.admin-form input,
.admin-form select,
.admin-form textarea,
.comment-form textarea,
.rab-step input,
.rab-step select,
.rab-step textarea {
  width: 100%;
  min-height: 3.5rem;
  padding: 0.92rem 1rem;
  border-radius: 1.05rem;
  border: 1px solid var(--line-strong);
  background: #fff;
  color: var(--text);
}

.hero-points,
.stack-row,
.stack-buttons,
.logo-list,
.social-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.hero-points span {
  position: relative;
  padding-left: 1rem;
  color: var(--muted);
  font-weight: 700;
}

.hero-points span::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 999px;
  background: #22c55e;
  transform: translateY(-50%);
}

.hero-banner-card,
.promo-card,
.super-banner,
.entity-card,
.article-card,
.article-list-card,
.package-card,
.panel,
.footer-card,
.detail-hero {
  position: relative;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid rgba(228, 231, 236, 0.92);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
}

.hero-banner-card img,
.promo-card img,
.super-banner img,
.detail-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-banner-card {
  min-height: 360px;
}

.hero-banner-overlay,
.promo-card-overlay,
.super-banner-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: end;
  padding: 1.6rem;
  color: #fff;
  background: linear-gradient(180deg, rgba(17, 24, 39, 0.04), rgba(17, 24, 39, 0.76));
}

.hero-banner-overlay h2,
.promo-card-overlay h3,
.super-banner-overlay h3 {
  margin: 0.65rem 0;
  line-height: 1.2;
}

.promo-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
}

.promo-card {
  min-height: 240px;
}

.super-banner {
  margin-top: 1.25rem;
  min-height: 240px;
}

.panel {
  padding: 1.45rem;
}

.panel-soft {
  background: var(--surface-soft);
}

.panel-empty,
.login-box {
  text-align: center;
}

.icon-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 7rem;
  padding: 0.6rem 0.9rem;
  border-radius: 999px;
  background: #111827;
  color: #fff;
  font-weight: 800;
  font-size: 0.78rem;
}

.card-grid {
  display: grid;
  gap: 1.25rem;
}

.card-grid.thirds {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.card-grid.quarters {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.card-grid.halves {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.lead-magnet-grid {
  grid-template-columns: 0.9fr 1.1fr;
  align-items: start;
}

.check-list,
.spec-list {
  margin: 1.25rem 0 0;
  padding-left: 1.1rem;
  color: var(--muted);
  line-height: 1.8;
}

.rab-panel {
  padding: 1.6rem;
}

.step-bars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.45rem;
  margin-bottom: 1.4rem;
}

.step-bars span {
  height: 0.36rem;
  border-radius: 999px;
  background: #eaecf0;
}

.step-bars span.is-active {
  background: var(--primary);
}

.rab-step {
  display: none;
}

.rab-step.is-active {
  display: block;
}

.field-group {
  margin-bottom: 1rem;
}

.field-label {
  display: block;
  font-weight: 800;
  margin-bottom: 0.55rem;
}

.range-value {
  margin-bottom: 0.75rem;
  color: var(--muted);
}

.toggle-group {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}

.toggle-button {
  border: 1px solid var(--line-strong);
  background: #fff;
  color: var(--muted);
  padding: 0.9rem 1rem;
  border-radius: 1rem;
  font-weight: 800;
  cursor: pointer;
}

.toggle-button.is-active {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

.rab-estimation {
  margin-top: 1.4rem;
  padding-top: 1.2rem;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.rab-estimation span,
.price-panel span {
  display: block;
  color: var(--muted);
  font-size: 0.85rem;
}

.rab-estimation strong,
.price-panel strong {
  font-size: 1.9rem;
  letter-spacing: -0.03em;
}

.captcha-row {
  display: grid;
  grid-template-columns: 1fr 1fr 1.1fr auto;
  align-items: end;
  gap: 0.75rem;
}

.captcha-box {
  padding: 0.92rem 1rem;
  border: 1px dashed var(--line-strong);
  border-radius: 0.95rem;
  background: var(--surface-soft);
  font-weight: 800;
}

.inline-error {
  display: none;
  margin-bottom: 1rem;
  padding: 0.9rem 1rem;
  border-radius: 1rem;
  background: var(--danger-soft);
  color: var(--danger);
}

.inline-error.is-visible {
  display: block;
}

.success-mark {
  width: 4rem;
  height: 4rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: var(--success-soft);
  color: var(--success);
  font-weight: 900;
  margin-bottom: 1rem;
}

.entity-card,
.article-card {
  display: flex;
  flex-direction: column;
  transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease;
}

.entity-card:hover,
.article-card:hover,
.article-list-card:hover {
  transform: translateY(-4px);
  border-color: rgba(208, 215, 226, 0.95);
  box-shadow: 0 28px 54px rgba(15, 23, 42, 0.1);
}

.entity-card-image,
.article-card img,
.package-card img {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #e5e7eb;
}

.entity-card-image img,
.article-card img,
.package-card img,
.gallery-grid img,
.testimonial-card img,
.instagram-card img,
.article-feature-image img,
.article-list-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.entity-card-body,
.article-card-body,
.package-card-body,
.article-list-body,
.instagram-body {
  padding: 1.25rem;
}

.entity-card-body h3,
.article-card-body h3,
.package-card-body h3,
.article-list-body h3,
.panel h2,
.panel h3 {
  margin: 0.7rem 0;
}

.entity-card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 0.75rem;
}

.entity-card-body h3 {
  margin: 0;
  font-size: 1.28rem;
  line-height: 1.25;
  letter-spacing: -0.03em;
}

.entity-card-body p,
.article-card-body p,
.article-list-body p,
.instagram-body p {
  margin: 0;
  color: var(--muted);
}

.entity-card-footer,
.article-meta,
.comment-head,
.testimonial-user {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
}

.entity-card-footer {
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid rgba(231, 237, 244, 0.95);
}

.instagram-head {
  padding: 1rem 1.2rem;
  font-weight: 800;
  border-bottom: 1px solid var(--line);
}

.section-actions {
  display: flex;
  justify-content: end;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.directory-section {
  padding-top: 3rem;
}

.directory-shell {
  display: grid;
  gap: 1.85rem;
  padding-inline: clamp(0rem, 0.9vw, 0.9rem);
}

.directory-top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 500px);
  gap: clamp(1.75rem, 3.2vw, 3.1rem);
  align-items: end;
  padding-bottom: 1.9rem;
  border-bottom: 1px solid rgba(231, 237, 244, 0.95);
}

.directory-copy {
  max-width: 42rem;
}

.directory-title {
  margin-bottom: 0.7rem;
  font-size: clamp(2.5rem, 4.2vw, 4rem);
}

.directory-subtitle {
  max-width: 58ch;
  font-size: 1.06rem;
}

.directory-filter {
  width: min(100%, 500px);
  justify-self: end;
  grid-template-columns: minmax(172px, 0.92fr) minmax(0, 1.28fr) auto;
  align-items: center;
  gap: 0.8rem;
  padding: 0.75rem 0.85rem 0.75rem 0.75rem;
  border-radius: 1.85rem;
  border: 1px solid rgba(231, 237, 244, 0.98);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(248, 250, 252, 0.96) 100%);
  box-shadow: 0 20px 44px rgba(15, 23, 42, 0.08);
}

.directory-filter-field {
  position: relative;
  min-width: 0;
}

.directory-filter-search input,
.directory-filter-select select {
  border-color: rgba(208, 215, 226, 0.9);
  min-height: 3.45rem;
  border-radius: 1.18rem;
  background: rgba(255, 255, 255, 0.96);
}

.directory-filter-search input {
  padding-left: 3rem;
}

.directory-search-icon {
  position: absolute;
  left: 1.15rem;
  top: 50%;
  width: 1rem;
  height: 1rem;
  border: 2px solid #98a2b3;
  border-radius: 999px;
  transform: translateY(-50%);
}

.directory-search-icon::after {
  content: '';
  position: absolute;
  right: -0.28rem;
  bottom: -0.24rem;
  width: 0.42rem;
  height: 2px;
  border-radius: 999px;
  background: #98a2b3;
  transform: rotate(45deg);
  transform-origin: center;
}

.directory-filter-submit {
  min-width: 120px;
  min-height: 3.45rem;
  padding-inline: 1.3rem;
  border-radius: 1.18rem;
  box-shadow: 0 12px 24px rgba(15, 23, 42, 0.1);
}

.directory-results-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  padding-right: clamp(0rem, 0.8vw, 0.55rem);
}

.directory-results-text {
  margin: 0;
  font-size: 1rem;
  font-weight: 600;
}

.directory-filter-state {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-left: auto;
  justify-content: flex-end;
}

.directory-filter-state .filter-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.62rem 0.96rem;
  border-radius: 999px;
  border: 1px solid rgba(231, 237, 244, 0.98);
  background: rgba(255, 255, 255, 0.9);
  color: #475467;
  font-size: 0.84rem;
  font-weight: 700;
  box-shadow: 0 10px 22px rgba(15, 23, 42, 0.05);
}

.directory-filter-state .filter-chip strong {
  color: var(--text);
}

.directory-filter-state .filter-chip-clear {
  background: linear-gradient(180deg, #f8fafc 0%, #f2f4f7 100%);
}

.directory-empty {
  display: grid;
  gap: 0.9rem;
  justify-items: start;
}

.directory-empty h3,
.directory-empty p {
  margin: 0;
}

.directory-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.35rem;
}

.directory-card {
  position: relative;
  min-height: 100%;
  border-radius: 1.7rem;
  border: 1px solid rgba(231, 237, 244, 0.96);
  background:
    linear-gradient(180deg, #ffffff 0%, #fbfcff 100%),
    radial-gradient(circle at top right, rgba(223, 245, 255, 0.18), transparent 12rem);
  box-shadow: 0 18px 38px rgba(15, 23, 42, 0.07);
}

.directory-card::before {
  content: '';
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, rgba(155, 50, 73, 0.16), rgba(155, 50, 73, 0));
  pointer-events: none;
}

.directory-card:hover {
  transform: translateY(-6px);
  border-color: rgba(208, 215, 226, 0.98);
  box-shadow: 0 26px 52px rgba(15, 23, 42, 0.1);
}

.directory-card-media {
  position: relative;
  aspect-ratio: 1.16 / 1;
  border-bottom: 1px solid rgba(231, 237, 244, 0.95);
  background: linear-gradient(180deg, rgba(239, 251, 255, 0.82) 0%, rgba(255, 255, 255, 0.98) 100%);
}

.directory-card-media::after {
  content: '';
  position: absolute;
  inset: auto 0 0;
  height: 38%;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0) 0%, rgba(15, 23, 42, 0.22) 100%);
  pointer-events: none;
}

.directory-card-media img {
  transition: transform 0.35s ease, filter 0.35s ease;
}

.directory-card:hover .directory-card-media img {
  transform: scale(1.035);
}

.directory-card-badges {
  position: absolute;
  inset: 0.95rem 0.95rem auto;
  display: flex;
  justify-content: space-between;
  gap: 0.55rem;
  align-items: flex-start;
}

.directory-pill {
  display: inline-flex;
  align-items: center;
  min-height: 1.9rem;
  padding: 0.42rem 0.74rem;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.directory-pill-dark {
  background: rgba(16, 24, 40, 0.94);
  color: #fff;
}

.directory-pill-light {
  background: rgba(255, 255, 255, 0.9);
  color: #344054;
  border: 1px solid rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(16px);
}

.directory-card-type {
  position: absolute;
  left: 0.95rem;
  bottom: 0.95rem;
  display: inline-flex;
  align-items: center;
  min-height: 1.95rem;
  padding: 0.46rem 0.78rem;
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.86);
  color: #344054;
  font-size: 0.67rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  box-shadow: 0 12px 24px rgba(15, 23, 42, 0.08);
}

.directory-card-body {
  gap: 0.95rem;
  padding: 1.1rem 1.1rem 1.15rem;
}

.directory-card-head {
  display: block;
}

.directory-card-head h3 {
  margin: 0;
  font-size: 1.3rem;
  line-height: 1.06;
  letter-spacing: -0.04em;
}

.directory-card-location {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-top: -0.05rem;
  color: #667085;
  font-size: 0.9rem;
}

.directory-card-location::before {
  content: '';
  width: 0.45rem;
  height: 0.45rem;
  flex: 0 0 auto;
  border-radius: 999px;
  background: rgba(155, 50, 73, 0.72);
  box-shadow: 0 0 0 4px rgba(155, 50, 73, 0.08);
}

.directory-card-summary {
  min-height: 3.45em;
  color: #667085;
  font-size: 0.93rem;
  line-height: 1.68;
}

.directory-card-footer {
  align-items: center;
  margin-top: auto;
  padding-top: 0.95rem;
  border-top: 1px solid rgba(231, 237, 244, 0.8);
}

.directory-price {
  display: grid;
  gap: 0.15rem;
}

.directory-price span {
  display: block;
  margin-bottom: 0;
  color: #98a2b3;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.directory-price strong {
  font-size: 1.42rem;
  letter-spacing: -0.04em;
}

.directory-card-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  min-height: 2.3rem;
  padding: 0.52rem 0.84rem;
  border-radius: 999px;
  border: 1px solid rgba(155, 50, 73, 0.14);
  background: rgba(155, 50, 73, 0.08);
  color: var(--primary);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.directory-card-cta::after {
  content: '\2192';
  font-size: 0.9rem;
}

.breadcrumb-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  font-weight: 800;
  margin-bottom: 1.2rem;
}

.detail-shell-section {
  padding-top: 2.4rem;
  padding-bottom: 5rem;
}

.detail-shell,
.detail-stack,
.detail-top-main {
  display: grid;
  gap: 1.55rem;
}

.detail-top-grid {
  display: grid;
  gap: clamp(1.2rem, 2.4vw, 1.8rem);
  align-items: start;
}

.detail-breadcrumb {
  margin-bottom: 1.4rem;
}

.detail-hero {
  min-height: 260px;
}

.detail-hero-card {
  min-height: clamp(260px, 46vw, 470px);
  border-radius: 2rem;
}

.detail-gallery-carousel {
  display: grid;
  gap: 0.8rem;
}

.detail-gallery-nav {
  display: flex;
  justify-content: flex-end;
  gap: 0.55rem;
}

.detail-gallery-strip {
  overflow: hidden;
}

.detail-gallery-track {
  display: flex;
  gap: 0.85rem;
  overflow-x: auto;
  padding-bottom: 0.2rem;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.detail-gallery-track::-webkit-scrollbar {
  display: none;
}

.detail-gallery-thumb {
  flex: 0 0 min(220px, calc(25vw - 0.8rem));
  min-height: 96px;
  overflow: hidden;
  padding: 0;
  cursor: pointer;
  border-radius: 1.2rem;
  border: 1px solid rgba(228, 231, 236, 0.95);
  background: #f3f4f6;
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.08);
  scroll-snap-align: start;
  transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease;
}

.detail-gallery-track > .detail-gallery-thumb:only-child {
  flex-basis: min(260px, 44vw);
}

.detail-gallery-thumb.is-highlighted {
  border-color: rgba(139, 46, 66, 0.18);
  box-shadow: 0 18px 38px rgba(139, 46, 66, 0.14);
}

.detail-gallery-thumb:hover {
  transform: translateY(-2px);
}

.detail-gallery-thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.detail-gallery-thumb:hover img {
  transform: scale(1.03);
}

.detail-gallery-launch {
  width: 100%;
  padding: 0;
  border: 0;
  text-align: left;
  cursor: pointer;
  background: transparent;
}

.detail-hero-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(17, 24, 39, 0.06), rgba(17, 24, 39, 0.64));
}

.detail-hero-badge {
  position: absolute;
  left: 1.2rem;
  bottom: 1.2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.detail-hero-badge span {
  display: inline-flex;
  align-items: center;
  min-height: 2.1rem;
  padding: 0.58rem 0.86rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.28);
  color: #fff;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.18);
}

.detail-hero-dots {
  position: absolute;
  right: 1.3rem;
  bottom: 1.3rem;
  display: inline-flex;
  align-items: center;
  gap: 0.38rem;
}

.detail-hero-dots span {
  width: 0.44rem;
  height: 0.44rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.42);
}

.detail-hero-dots .is-active {
  background: #fff;
}

.detail-summary-card {
  padding: 1.35rem;
  border-radius: 2rem;
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.08);
}

.detail-summary-top {
  display: grid;
  gap: 1rem;
}

.detail-badge-row {
  margin-bottom: 0.3rem;
}

.detail-page-title {
  margin-bottom: 0.7rem;
  font-size: clamp(2rem, 3vw, 3rem);
}

.detail-location-line {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin: 0;
  color: var(--muted);
  font-weight: 600;
}

.detail-location-line::before {
  content: '';
  width: 0.58rem;
  height: 0.58rem;
  border-radius: 999px;
  background: linear-gradient(135deg, #ca4062 0%, var(--primary) 100%);
  box-shadow: 0 0 0 5px rgba(139, 46, 66, 0.08);
}

.detail-mini-stats {
  display: inline-grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  border: 1px solid var(--line);
  border-radius: 1.25rem;
  overflow: hidden;
  background: linear-gradient(180deg, #fcfcfd 0%, #f8fafc 100%);
}

.detail-mini-stat {
  min-width: 110px;
  padding: 1rem 1.1rem;
  text-align: center;
}

.detail-mini-stat + .detail-mini-stat {
  border-left: 1px solid var(--line);
}

.detail-mini-stat span,
.detail-mini-stat strong {
  display: block;
}

.detail-mini-stat span {
  color: #98a2b3;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 800;
  margin-bottom: 0.32rem;
}

.detail-mini-stat strong {
  font-size: 1.22rem;
}

.detail-about-block {
  margin-top: 1.3rem;
  padding-top: 1.3rem;
  border-top: 1px solid rgba(228, 231, 236, 0.8);
}

.detail-about-label {
  margin-bottom: 0.65rem;
  font-size: 0.92rem;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.detail-about-copy {
  margin: 0;
  font-size: 0.98rem;
}

.logo-list img {
  height: 2rem;
  object-fit: contain;
  filter: grayscale(1);
  opacity: 0.75;
}

.detail-machine-panel,
.detail-guidance-panel,
.detail-package-panel,
.detail-review-panel,
.detail-social-panel {
  padding: 1.35rem;
  border-radius: 2rem;
}

.detail-machine-panel {
  text-align: center;
}

.detail-machine-label {
  margin-bottom: 1rem;
  color: #98a2b3;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

.detail-machine-logos {
  justify-content: center;
  gap: 1.1rem 1.4rem;
}

.detail-sidebar {
  display: grid;
  gap: 1rem;
}

.sticky-panel {
  align-self: start;
  position: sticky;
  top: 6rem;
}

.detail-cta-card {
  display: grid;
  gap: 1rem;
  padding: 1.35rem;
  border-radius: 2rem;
  background:
    radial-gradient(circle at top right, rgba(223, 245, 255, 0.96), transparent 12rem),
    linear-gradient(180deg, rgba(255, 255, 255, 0.99) 0%, rgba(248, 250, 252, 0.98) 100%);
  box-shadow: 0 24px 54px rgba(15, 23, 42, 0.08);
}

.detail-sidebar-panel {
  padding: 1.28rem;
  border-radius: 1.75rem;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.06);
}

.detail-sidebar-kicker,
.detail-guidance-kicker {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 0.42rem 0.72rem;
  border-radius: 999px;
  background: rgba(155, 50, 73, 0.08);
  border: 1px solid rgba(155, 50, 73, 0.14);
  color: var(--primary);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.stack-buttons {
  flex-direction: column;
}

.detail-cta-actions {
  gap: 0.8rem;
}

.price-panel {
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--line);
}

.detail-price-panel span {
  display: block;
  margin-bottom: 0.45rem;
  color: #98a2b3;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.detail-price-panel strong {
  display: block;
  color: var(--primary);
  font-size: clamp(2rem, 3vw, 2.65rem);
  line-height: 1;
  letter-spacing: -0.04em;
}

.detail-price-note {
  margin: 0.8rem 0 0;
  color: #667085;
  font-size: 0.88rem;
  line-height: 1.7;
}

.detail-cta-card h3 {
  margin: 0;
  font-size: 1.04rem;
}

.detail-button-secondary {
  background: #fff;
  color: #344054;
  border-color: var(--line-strong);
}

.detail-button-secondary:hover {
  background: #f8fafc;
  color: var(--text);
}

.trust-box {
  margin-top: 1.2rem;
  padding: 1rem;
  border-radius: 1rem;
  background: var(--surface-soft);
  color: var(--muted);
  border: 1px solid var(--line);
}

.detail-trust-box {
  display: grid;
  gap: 0.32rem;
  border-radius: 1.25rem;
  background: linear-gradient(180deg, rgba(236, 253, 243, 0.82), rgba(248, 250, 252, 0.98));
}

.detail-trust-box strong {
  color: var(--success);
}

.detail-trust-box span {
  font-size: 0.88rem;
  line-height: 1.7;
}

.social-list {
  flex-direction: column;
}

.detail-social-panel h3 {
  margin: 0 0 1rem;
}

.detail-social-list {
  gap: 0.8rem;
}

.detail-social-card {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding: 0.9rem 1rem;
  border-radius: 1.15rem;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), #f8fafc);
}

.detail-social-card strong,
.detail-social-card span {
  display: block;
}

.detail-social-card strong {
  margin-bottom: 0.15rem;
  font-size: 0.85rem;
}

.detail-social-card span {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 600;
}

.detail-social-icon {
  width: 2.35rem;
  height: 2.35rem;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 0.72rem;
  font-weight: 800;
  flex-shrink: 0;
}

.detail-social-instagram .detail-social-icon {
  background: linear-gradient(135deg, #fbbf24 0%, #e11d48 48%, #7c3aed 100%);
}

.detail-social-tiktok .detail-social-icon {
  background: linear-gradient(135deg, #111827 0%, #374151 100%);
}

.detail-package-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.2rem;
}

.detail-package-head h2,
.detail-review-panel h2 {
  margin: 0 0 0.35rem;
}

.detail-package-nav {
  display: inline-flex;
  gap: 0.55rem;
}

.slider-nav-button {
  width: 2.3rem;
  height: 2.3rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: #98a2b3;
  font-size: 1.3rem;
  line-height: 1;
  cursor: pointer;
  transition: 0.2s ease;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
}

.slider-nav-button:hover {
  color: var(--text);
  border-color: var(--line-strong);
  background: #f8fafc;
}

.slider-nav-button:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.package-slider-viewport {
  overflow: hidden;
}

.package-slider-track {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  padding-bottom: 0.35rem;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.package-slider-track::-webkit-scrollbar {
  display: none;
}

.package-slide {
  display: flex;
  flex: 0 0 min(300px, calc(100vw - 4.5rem));
  flex-direction: column;
  min-height: 100%;
  border-radius: 1.65rem;
  scroll-snap-align: start;
  background: linear-gradient(180deg, #ffffff 0%, #fbfcff 100%);
  box-shadow: 0 20px 45px rgba(15, 23, 42, 0.08);
}

.package-media {
  position: relative;
  min-height: 180px;
  overflow: hidden;
  border-bottom: 1px solid rgba(228, 231, 236, 0.9);
  background: #e5e7eb;
}

.package-media-button {
  width: 100%;
  padding: 0;
  border: 0;
  text-align: left;
  cursor: pointer;
  transition: transform 0.24s ease;
}

.package-media-button:hover img {
  transform: scale(1.03);
}

.package-media img {
  width: 100%;
  height: 100%;
  aspect-ratio: auto;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.package-media-empty {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #667085;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.package-price-chip {
  position: absolute;
  left: 0.9rem;
  bottom: 0.9rem;
  display: inline-flex;
  align-items: center;
  min-height: 2.15rem;
  padding: 0.45rem 0.8rem;
  border-radius: 0.95rem;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(16px);
  color: var(--text);
  font-size: 0.9rem;
  font-weight: 800;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
}

.package-slide-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 1rem;
}

.detail-package-actions {
  display: grid;
  gap: 0.68rem;
  margin-top: auto;
}

.package-slide-copy h3 {
  margin-bottom: 0.35rem;
}

.package-slide-copy p {
  margin: 0;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.7;
}

.detail-spec-group {
  display: grid;
  gap: 0.7rem;
  flex: 1;
}

.detail-spec-label {
  color: #98a2b3;
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  padding-bottom: 0.45rem;
  border-bottom: 1px solid rgba(228, 231, 236, 0.9);
}

.detail-spec-list {
  display: grid;
  gap: 0.65rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.detail-spec-list li {
  position: relative;
  padding-left: 1.35rem;
  color: #475467;
  font-size: 0.82rem;
  font-weight: 600;
  line-height: 1.55;
}

.detail-spec-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.42rem;
  width: 0.58rem;
  height: 0.58rem;
  border-radius: 999px;
  background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
  box-shadow: 0 0 0 5px rgba(34, 197, 94, 0.12);
}

.detail-spec-more {
  padding-left: 1.35rem;
  color: var(--primary);
  font-size: 0.82rem;
  font-weight: 700;
}

.detail-package-button {
  width: 100%;
  min-height: 2.9rem;
  background: linear-gradient(180deg, #f8fafc 0%, #eef2f7 100%);
  border-color: var(--line);
  color: #1f2937;
}

.detail-package-button:hover {
  background: linear-gradient(180deg, var(--primary) 0%, var(--primary-dark) 100%);
  border-color: var(--primary);
  color: #fff;
}

.detail-package-outline-button {
  width: 100%;
  min-height: 2.75rem;
  border-color: rgba(155, 50, 73, 0.14);
  background: rgba(155, 50, 73, 0.08);
  color: var(--primary);
}

.detail-package-outline-button:hover {
  border-color: rgba(155, 50, 73, 0.2);
  background: rgba(155, 50, 73, 0.12);
}

.detail-guidance-panel {
  display: grid;
  gap: 1.05rem;
  background:
    radial-gradient(circle at top right, rgba(223, 245, 255, 0.88), transparent 14rem),
    linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(249, 251, 252, 0.98) 100%);
}

.detail-guidance-head {
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  gap: 1rem 1.5rem;
  flex-wrap: wrap;
}

.detail-guidance-head h3 {
  margin: 0.55rem 0 0;
  font-size: 1.22rem;
  line-height: 1.2;
  letter-spacing: -0.03em;
}

.detail-guidance-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.85rem;
}

.detail-guidance-card {
  display: grid;
  gap: 0.65rem;
  padding: 0.95rem;
  border-radius: 1.25rem;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(231, 237, 244, 0.94);
  box-shadow: 0 14px 28px rgba(15, 23, 42, 0.05);
}

.detail-guidance-step {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 1.9rem;
  padding: 0.35rem 0.62rem;
  border-radius: 999px;
  background: #101828;
  color: #fff;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.detail-guidance-card h3,
.detail-guidance-card h4 {
  margin: 0;
  font-size: 0.98rem;
  line-height: 1.3;
}

.detail-guidance-card p {
  margin: 0;
  color: #667085;
  font-size: 0.9rem;
  line-height: 1.72;
}

.detail-package-modal {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: grid;
  place-items: center;
  padding: 1.25rem;
}

.detail-package-modal[hidden],
.detail-gallery-modal[hidden] {
  display: none;
}

.detail-package-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.56);
  backdrop-filter: blur(10px);
}

.detail-package-modal-dialog {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  width: min(100%, 980px);
  max-height: min(88vh, 720px);
  overflow: hidden;
  border-radius: 2rem;
  border: 1px solid rgba(231, 237, 244, 0.92);
  background: #fff;
  box-shadow: 0 30px 80px rgba(15, 23, 42, 0.22);
}

.detail-package-modal-close {
  position: absolute;
  top: 0.95rem;
  right: 0.95rem;
  z-index: 2;
  width: 2.4rem;
  height: 2.4rem;
  border: 0;
  border-radius: 999px;
  background: rgba(16, 24, 40, 0.74);
  color: #fff;
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
}

.detail-package-modal-media {
  position: relative;
  min-height: 100%;
  background: linear-gradient(180deg, rgba(223, 245, 255, 0.82), rgba(248, 250, 252, 0.98));
}

.detail-package-modal-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.detail-package-modal-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  color: #667085;
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-align: center;
}

.detail-package-modal-copy {
  display: grid;
  align-content: start;
  gap: 0.9rem;
  padding: 1.5rem;
  overflow-y: auto;
}

.detail-package-modal-copy h3 {
  margin: 0;
  font-size: clamp(1.45rem, 2.8vw, 2.2rem);
  line-height: 1.02;
  letter-spacing: -0.04em;
}

.detail-package-modal-price {
  color: var(--primary);
  font-size: 1.5rem;
  letter-spacing: -0.04em;
}

.detail-package-modal-description {
  margin: 0;
  color: #667085;
  line-height: 1.78;
}

.detail-package-modal-spec-wrap {
  display: grid;
  gap: 0.75rem;
  padding-top: 0.3rem;
}

.detail-package-modal-specs {
  display: grid;
  gap: 0.65rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.detail-package-modal-specs li {
  position: relative;
  padding-left: 1.3rem;
  color: #475467;
  line-height: 1.65;
}

.detail-package-modal-specs li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.65rem;
  width: 0.42rem;
  height: 0.42rem;
  border-radius: 999px;
  background: linear-gradient(135deg, #ca4062 0%, var(--primary) 100%);
  box-shadow: 0 0 0 4px rgba(155, 50, 73, 0.08);
  transform: translateY(-50%);
}

.detail-package-modal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 0.2rem;
}

body.has-package-modal {
  overflow: hidden;
}

.detail-gallery-modal {
  position: fixed;
  inset: 0;
  z-index: 61;
  display: grid;
  place-items: center;
  padding: 1rem;
}

.detail-gallery-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.68);
  backdrop-filter: blur(10px);
}

.detail-gallery-modal-dialog {
  position: relative;
  z-index: 1;
  width: min(100%, 1040px);
  border-radius: 1.6rem;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 30px 80px rgba(15, 23, 42, 0.28);
}

.detail-gallery-modal-dialog img {
  width: 100%;
  max-height: min(78vh, 760px);
  object-fit: contain;
  background: #eef2f7;
}

.detail-gallery-modal-close {
  position: absolute;
  top: 0.95rem;
  right: 0.95rem;
  z-index: 2;
  width: 2.4rem;
  height: 2.4rem;
  border: 0;
  border-radius: 999px;
  background: rgba(16, 24, 40, 0.74);
  color: #fff;
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
}

.detail-gallery-modal-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  padding: 0.95rem 1.1rem;
  border-top: 1px solid rgba(231, 237, 244, 0.96);
}

.detail-gallery-modal-bar strong {
  font-size: 0.96rem;
  letter-spacing: -0.02em;
}

.detail-gallery-modal-bar span {
  color: #667085;
  font-size: 0.82rem;
}

body.has-gallery-modal {
  overflow: hidden;
}

.detail-machine-sidebar-panel {
  padding: 1.45rem;
  text-align: left;
  background:
    radial-gradient(circle at top right, rgba(223, 245, 255, 0.82), transparent 11rem),
    linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(248, 250, 252, 0.98) 100%);
}

.detail-machine-sidebar-panel .detail-machine-label {
  margin-bottom: 0.75rem;
  font-size: 0.76rem;
}

.detail-machine-sidebar-panel .panel-note {
  margin: 0 0 1rem;
  font-size: 0.92rem;
  line-height: 1.75;
}

.detail-machine-sidebar-panel .detail-machine-logos {
  justify-content: flex-start;
  gap: 1rem 1.2rem;
}

.detail-machine-sidebar-panel .logo-list img {
  height: 2.55rem;
  opacity: 0.9;
}

.testimonial-card {
  padding: 1.25rem;
  background: linear-gradient(180deg, #fcfdff 0%, #f8fafc 100%);
  border-radius: 1.55rem;
  border: 1px solid rgba(228, 231, 236, 0.95);
}

.detail-review-grid {
  display: grid;
  gap: 1rem;
}

.detail-review-card {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  min-height: 100%;
}

.rating-row {
  color: #f59e0b;
  letter-spacing: 0.18em;
  font-size: 0.95rem;
}

.detail-review-copy {
  margin: 0;
  color: #475467;
  line-height: 1.75;
  font-style: italic;
}

.detail-review-media {
  height: 120px;
  overflow: hidden;
  border-radius: 1rem;
  border: 1px solid var(--line);
}

.detail-review-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.testimonial-user {
  justify-content: flex-start;
  margin-top: auto;
  padding-top: 0.9rem;
  border-top: 1px solid rgba(228, 231, 236, 0.85);
}

.testimonial-user img {
  width: 2.65rem;
  height: 2.65rem;
  border-radius: 999px;
}

.detail-review-meta strong,
.detail-review-meta span {
  display: block;
}

.detail-review-meta span {
  color: var(--muted);
  font-size: 0.8rem;
}

@media (min-width: 981px) {
  .detail-top-grid {
    grid-template-columns: minmax(0, 1.7fr) minmax(320px, 0.78fr);
  }

  .detail-summary-top {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: start;
  }

  .detail-review-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .package-slide {
    flex-basis: 286px;
  }

  .footer-bottom {
    padding-right: min(14rem, 18vw);
  }
}

@media (max-width: 980px) {
  .sticky-panel {
    position: static;
    top: auto;
  }

  .detail-package-modal-dialog {
    grid-template-columns: 1fr;
  }

  .detail-machine-panel,
  .detail-guidance-panel,
  .detail-package-panel,
  .detail-review-panel,
  .detail-social-panel,
  .detail-summary-card,
  .detail-cta-card {
    padding: 1.2rem;
    border-radius: 1.6rem;
  }

  .detail-sidebar {
    gap: 0.95rem;
  }

  .detail-package-head {
    align-items: stretch;
    flex-direction: column;
  }

  .detail-package-nav {
    align-self: flex-end;
  }

  .detail-gallery-thumb {
    flex-basis: min(210px, calc(42vw - 1rem));
  }

  .detail-package-modal-dialog {
    max-height: min(90vh, 760px);
  }

  .detail-package-modal-media {
    min-height: 240px;
  }

  .detail-gallery-modal-bar {
    align-items: flex-start;
    flex-direction: column;
  }

  .detail-machine-sidebar-panel .logo-list img {
    height: 2.25rem;
  }

  .footer-bottom {
    padding-right: 0;
  }
}

@media (max-width: 640px) {
  .detail-shell-section {
    padding-top: 1.5rem;
    padding-bottom: 4rem;
  }

  .detail-breadcrumb {
    font-size: 0.75rem;
    gap: 0.45rem;
  }

  .detail-hero-card {
    min-height: 230px;
    border-radius: 1.6rem;
  }

  .detail-gallery-nav {
    display: none;
  }

  .detail-gallery-thumb {
    flex-basis: min(248px, calc(78vw - 1rem));
    min-height: 104px;
  }

  .detail-hero-badge {
    left: 1rem;
    right: auto;
    bottom: 1rem;
  }

  .detail-hero-badge span {
    min-height: 1.9rem;
    padding: 0.5rem 0.74rem;
    font-size: 0.68rem;
  }

  .detail-hero-dots {
    right: 1rem;
    bottom: 1.05rem;
  }

  .detail-mini-stats {
    width: 100%;
  }

  .detail-mini-stat {
    min-width: 0;
  }

  .detail-price-panel strong {
    font-size: 1.85rem;
  }

  .detail-machine-sidebar-panel {
    padding: 1.2rem;
  }

  .package-slide {
    flex-basis: min(285px, calc(100vw - 3rem));
  }

  .detail-package-nav {
    display: none;
  }

  .detail-package-modal {
    padding: 0.8rem;
  }

  .detail-gallery-modal {
    padding: 0.75rem;
  }

  .detail-package-modal-dialog {
    border-radius: 1.4rem;
  }

  .detail-gallery-modal-dialog {
    border-radius: 1.2rem;
  }

  .detail-package-modal-copy {
    padding: 1.1rem;
  }

  .detail-package-modal-actions .button {
    width: 100%;
  }

  .detail-package-actions .button {
    width: 100%;
  }
}

.article-list,
.comment-list,
.admin-stack {
  display: grid;
  gap: 1rem;
}

.article-list-card {
  display: grid;
  grid-template-columns: 0.42fr 0.58fr;
}

.article-list-media {
  min-height: 220px;
}

.article-detail-wrap {
  max-width: 860px;
}

.article-detail-head {
  text-align: center;
  margin-bottom: 1.4rem;
}

.article-meta {
  justify-content: center;
  color: var(--muted);
}

.article-feature-image {
  overflow: hidden;
  border-radius: var(--radius-xl);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  aspect-ratio: 16 / 9;
  margin-bottom: 1.4rem;
}

.article-content p {
  margin: 0;
  line-height: 1.9;
  color: #344054;
}

.article-cta-box {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.comment-form textarea {
  resize: vertical;
  min-height: 120px;
}

.comment-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.9rem;
}

.comment-avatar {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--primary-soft);
  color: var(--primary);
  font-weight: 900;
}

.comment-body {
  padding: 1rem;
  border-radius: 1rem;
  background: var(--surface-soft);
  border: 1px solid var(--line);
}

.comment-body p {
  margin: 0.35rem 0 0;
  color: #344054;
  line-height: 1.7;
}

.flash {
  margin: 1.25rem 0;
  padding: 1rem 1.1rem;
  border-radius: 1.1rem;
  font-weight: 700;
  box-shadow: var(--shadow-soft);
}

.flash-success {
  background: var(--success-soft);
  color: var(--success);
  border: 1px solid #abefc6;
}

.flash-error {
  background: var(--danger-soft);
  color: var(--danger);
  border: 1px solid #fecdca;
}

.floating-cta {
  position: fixed;
  right: 1.5rem;
  bottom: 1.5rem;
  z-index: 30;
  background: linear-gradient(180deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: #fff;
  font-weight: 800;
  border-radius: 999px;
  padding: 1rem 1.2rem;
  box-shadow: 0 18px 34px rgba(155, 50, 73, 0.28);
  text-align: center;
  transition: transform 0.24s ease, box-shadow 0.24s ease;
  will-change: transform;
}

.site-footer {
  padding: 2.6rem 0 2.9rem;
  border-top: 1px solid rgba(231, 237, 244, 0.95);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.76) 0%, rgba(255, 255, 255, 0.98) 100%);
}

.footer-refined {
  display: grid;
  gap: 1.45rem;
}

.footer-top,
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer-top {
  padding-bottom: 1.45rem;
  border-bottom: 1px solid rgba(231, 237, 244, 0.96);
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 0;
  font-weight: 800;
  color: #1d2939;
}

.footer-brand-logo {
  width: 1.5rem;
  height: 1.5rem;
  flex: 0 0 auto;
  border-radius: 0.52rem;
  object-fit: cover;
}

.footer-brand-name {
  font-family: var(--font-display);
  font-size: 1.05rem;
  letter-spacing: -0.03em;
}

.footer-links,
.footer-socials {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem 1.2rem;
}

.footer-links a,
.footer-bottom a,
.footer-bottom small {
  color: #667085;
  font-size: 0.9rem;
  line-height: 1.6;
}

.footer-links a {
  transition: color 0.2s ease;
}

.footer-links a:hover,
.footer-bottom a:hover {
  color: #111827;
}

.footer-social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.8rem;
  height: 1.8rem;
  border-radius: 999px;
  border: 1px solid rgba(208, 215, 226, 0.92);
  color: #667085;
  font-size: 0.67rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  background: rgba(255, 255, 255, 0.92);
}

.footer-bottom {
  gap: 0.85rem 1.4rem;
}

.footer-bottom small {
  display: inline-block;
}

.admin-body {
  background:
    radial-gradient(circle at top left, rgba(155, 50, 73, 0.08), transparent 24rem),
    radial-gradient(circle at bottom right, rgba(15, 118, 110, 0.05), transparent 28rem),
    linear-gradient(180deg, #fbfcff 0%, #f4f7fb 100%);
}

.admin-shell {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 280px 1fr;
}

.admin-sidebar {
  position: sticky;
  top: 0;
  height: 100vh;
  padding: 1.4rem 1rem;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(248, 250, 252, 0.98) 100%);
  border-right: 1px solid var(--line);
  overflow-y: auto;
}

.admin-brand {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-weight: 900;
  margin-bottom: 1.6rem;
}

.admin-brand-mark {
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 0.9rem;
  background: #111827;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.admin-section-label {
  margin: 1.3rem 0 0.45rem;
  padding: 0 0.6rem;
  color: #98a2b3;
  font-size: 0.74rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.admin-nav {
  display: grid;
  gap: 0.4rem;
}

.admin-nav a {
  display: block;
  padding: 0.85rem 1rem;
  border-radius: 1rem;
  color: #475467;
  font-weight: 800;
  border: 1px solid transparent;
  transition: 0.2s ease;
}

.admin-nav a:hover,
.admin-nav a.is-active {
  background: linear-gradient(180deg, #ffffff 0%, #fff4f6 100%);
  color: #111827;
  box-shadow: 0 14px 28px rgba(17, 24, 39, 0.06);
  border-color: rgba(155, 50, 73, 0.12);
}

.admin-main {
  padding: 1.8rem;
}

.admin-topbar {
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 30;
}

.admin-toggle {
  background: transparent;
  border: 0;
  font-weight: 900;
  color: var(--text);
  cursor: pointer;
}

.admin-content {
  max-width: 1240px;
  margin: 0 auto;
}

.admin-page-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.admin-page-head h1 {
  margin: 0;
  font-size: 2rem;
  letter-spacing: -0.03em;
}

.admin-card,
.admin-table-card,
.admin-note,
.metric-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  box-shadow: 0 18px 42px rgba(15, 23, 42, 0.06);
}

.admin-card,
.admin-note {
  padding: 1.4rem;
}

.admin-card-flat {
  padding: 0;
  overflow: hidden;
}

.admin-table-card {
  overflow: hidden;
}

.admin-table-card table {
  width: 100%;
  border-collapse: collapse;
}

.admin-table-card th,
.admin-table-card td {
  padding: 1rem;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.admin-table-card th {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #667085;
  background: #f9fafb;
}

.admin-table-card tr:last-child td {
  border-bottom: 0;
}

.admin-table-card tbody tr:hover {
  background: #fafbfc;
}

.admin-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.admin-button,
.admin-action-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  padding: 0.75rem 1rem;
  border-radius: 0.95rem;
  border: 1px solid transparent;
  font-weight: 800;
  cursor: pointer;
}

.admin-button-dark {
  background: #111827;
  color: #fff;
}

.admin-button-soft,
.admin-action-link {
  background: #fff;
  color: #344054;
  border-color: var(--line);
}

.admin-form {
  display: grid;
  gap: 1rem;
}

.admin-form-spacious {
  gap: 0;
}

.admin-form-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.admin-grid-2,
.admin-grid-3 {
  display: grid;
  gap: 1rem;
}

.admin-grid-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.admin-grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.admin-split-grid {
  grid-template-columns: 1.25fr 0.75fr;
}

.admin-form label {
  display: block;
  font-weight: 800;
  margin-bottom: 0.45rem;
}

.admin-form textarea {
  min-height: 120px;
  resize: vertical;
}

.admin-help {
  color: var(--muted);
  font-size: 0.92rem;
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.metric-card {
  padding: 1.3rem;
}

.metric-card.primary {
  background: var(--primary);
  color: #fff;
}

.metric-card span {
  display: block;
  color: inherit;
  opacity: 0.8;
  font-size: 0.85rem;
}

.metric-card strong {
  display: block;
  font-size: 2rem;
  margin-top: 0.35rem;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  padding: 0.42rem 0.7rem;
  border-radius: 999px;
  background: #f2f4f7;
  font-size: 0.78rem;
  font-weight: 800;
}

.status-pill.central {
  background: var(--primary-soft);
  color: var(--primary);
}

.status-pill.direct {
  background: #f2f4f7;
  color: #475467;
}

.admin-inline-list {
  display: grid;
  gap: 0.8rem;
}

.admin-subsection {
  padding-top: 1rem;
  border-top: 1px solid var(--line);
}

.admin-workspace-band {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  gap: 1rem;
  margin-bottom: 1.5rem;
  padding: 1.4rem;
  border: 1px solid rgba(155, 50, 73, 0.1);
  border-radius: var(--radius-xl);
  background:
    radial-gradient(circle at top right, rgba(255, 241, 244, 0.96), transparent 20rem),
    linear-gradient(180deg, rgba(255, 255, 255, 0.96) 0%, rgba(251, 252, 255, 0.98) 100%);
  box-shadow: 0 18px 42px rgba(15, 23, 42, 0.06);
}

.admin-workspace-copy h2 {
  margin: 0.4rem 0 0.55rem;
  font-size: 1.7rem;
  letter-spacing: -0.03em;
}

.admin-eyebrow,
.admin-kicker {
  display: inline-flex;
  align-items: center;
  min-height: 1.85rem;
  padding: 0.38rem 0.72rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.admin-eyebrow {
  background: rgba(155, 50, 73, 0.08);
  color: var(--primary);
  border: 1px solid rgba(155, 50, 73, 0.12);
}

.admin-kicker {
  background: rgba(15, 23, 42, 0.05);
  color: #475467;
}

.admin-workspace-stats,
.admin-summary-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
}

.admin-stat-chip,
.admin-mini-card {
  padding: 1rem 1.05rem;
  border-radius: 1.2rem;
  border: 1px solid rgba(231, 237, 244, 0.98);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(248, 250, 252, 0.92) 100%);
}

.admin-stat-chip span,
.admin-mini-card strong {
  display: block;
}

.admin-stat-chip span {
  color: #667085;
  font-size: 0.82rem;
  font-weight: 700;
}

.admin-stat-chip strong,
.admin-mini-card strong {
  margin-top: 0.3rem;
  font-size: 1.65rem;
  letter-spacing: -0.04em;
}

.admin-anchor-nav {
  position: sticky;
  top: 1rem;
  z-index: 12;
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-bottom: 1rem;
  padding: 0.9rem;
  border-radius: 1.35rem;
  border: 1px solid rgba(231, 237, 244, 0.98);
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(16px);
  box-shadow: 0 16px 34px rgba(15, 23, 42, 0.06);
}

.admin-anchor-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 2.4rem;
  padding: 0.52rem 0.88rem;
  border-radius: 999px;
  border: 1px solid rgba(231, 237, 244, 0.98);
  background: #fff;
  color: #475467;
  font-size: 0.86rem;
  font-weight: 800;
}

.admin-panel-group {
  display: grid;
  gap: 1rem;
  padding: 1.4rem;
  border-top: 1px solid rgba(231, 237, 244, 0.94);
}

.admin-panel-group:first-of-type {
  border-top: 0;
}

.admin-panel-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 1rem;
}

.admin-panel-head h3 {
  margin: 0 0 0.35rem;
  font-size: 1.24rem;
}

.admin-mini-card {
  display: grid;
  gap: 0.65rem;
}

.admin-mini-card p {
  margin: 0;
}

.admin-summary-grid {
  margin-bottom: 1rem;
}

.admin-quick-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.admin-actions-sticky {
  position: sticky;
  bottom: 0.75rem;
  padding: 1rem 1.4rem 1.3rem;
  background: linear-gradient(180deg, rgba(251, 252, 255, 0.72) 0%, rgba(251, 252, 255, 0.96) 44%);
  backdrop-filter: blur(10px);
  border-top: 1px solid rgba(231, 237, 244, 0.94);
}

.admin-back {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-bottom: 1rem;
  color: var(--muted);
  font-weight: 800;
}

.architecture-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-bottom: 1rem;
}

.code-block {
  margin-top: 1rem;
  padding: 1rem;
  border-radius: 1rem;
  background: #111827;
  color: #d1d5db;
  font-family: "Courier New", monospace;
  font-size: 0.82rem;
  line-height: 1.7;
  overflow-x: auto;
}

@media (max-width: 980px) {
  .site-header-inner,
  .hero-grid,
  .lead-magnet-grid,
  .directory-top,
  .directory-grid,
  .detail-grid,
  .footer-grid,
  .article-list-card,
  .admin-shell,
  .admin-split-grid,
  .admin-form-grid,
  .admin-grid-2,
  .admin-grid-3,
  .card-grid.thirds,
  .card-grid.quarters,
  .card-grid.halves,
  .stats-grid,
  .metric-grid,
  .architecture-grid,
  .admin-summary-grid,
  .admin-workspace-band,
  .admin-workspace-stats {
    grid-template-columns: 1fr;
  }

  .site-header-inner {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .site-brand-note {
    display: none;
  }

  .nav-toggle {
    display: inline-flex;
    justify-self: end;
  }

  .header-cta {
    display: none;
  }

  .site-nav {
    display: none;
    grid-column: 1 / -1;
    flex-direction: column;
    align-items: stretch;
    margin-top: 0.35rem;
    padding: 0.55rem;
    border-radius: 1.2rem;
  }

  .site-nav.is-open {
    display: flex;
  }

  .hero-search,
  .filter-bar,
  .captcha-row {
    grid-template-columns: 1fr;
  }

  .directory-filter {
    width: 100%;
    justify-self: stretch;
    padding: 0.75rem;
    border-radius: 1.45rem;
  }

  .directory-filter-submit {
    width: 100%;
  }

  .directory-shell {
    padding-inline: 0;
  }

  .directory-results-bar {
    padding-right: 0;
  }

  .directory-filter-state {
    margin-left: 0;
    justify-content: flex-start;
  }

  .directory-card-head,
  .directory-results-bar {
    align-items: flex-start;
    flex-direction: column;
  }

  .directory-card-summary {
    min-height: 0;
  }

  .footer-top,
  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-socials {
    gap: 0.7rem;
  }

  .promo-grid,
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .detail-hero {
    min-height: 280px;
  }

  .article-cta-box {
    flex-direction: column;
    align-items: start;
  }

  .floating-cta {
    left: 1rem;
    right: 1rem;
    text-align: center;
  }

  .admin-topbar {
    display: flex;
  }

  .admin-shell {
    display: block;
  }

  .admin-sidebar {
    position: fixed;
    inset: 0 auto 0 0;
    width: 280px;
    transform: translateX(-101%);
    transition: transform 0.2s ease;
    z-index: 35;
  }

  .admin-sidebar.is-open {
    transform: translateX(0);
  }

  .admin-main {
    padding: 1rem;
  }

  .admin-page-head {
    flex-direction: column;
    align-items: start;
  }

  .admin-anchor-nav {
    top: 4.8rem;
  }

  .admin-table-card {
    overflow-x: auto;
  }
}

@media (max-width: 640px) {
  .site-header-inner {
    min-height: 76px;
  }

  .site-brand-mark {
    width: 2.7rem;
    height: 2.7rem;
    border-radius: 1rem;
  }

  .site-brand-logo-wrap {
    width: 2.7rem;
    height: 2.7rem;
    border-radius: 1rem;
  }

  .site-brand-name {
    font-size: 1rem;
  }

  .section {
    padding: 3.5rem 0;
  }

  .directory-section {
    padding-top: 2rem;
  }

  .directory-title {
    font-size: clamp(2rem, 11vw, 2.8rem);
  }

  .directory-subtitle {
    font-size: 0.98rem;
  }

  .directory-shell {
    gap: 1.45rem;
  }

  .directory-filter {
    padding: 0.65rem;
    border-radius: 1.3rem;
  }

  .directory-filter-search input,
  .directory-filter-select select,
  .directory-filter-submit {
    min-height: 3.2rem;
  }

  .directory-filter-state {
    width: 100%;
  }

  .directory-filter-state .filter-chip {
    width: fit-content;
    max-width: 100%;
    justify-content: center;
  }

  .directory-card-media {
    aspect-ratio: 1.14 / 1;
  }

  .directory-card-body {
    padding: 1rem;
  }

  .directory-card-head h3 {
    font-size: 1.18rem;
  }

  .directory-card-cta {
    min-height: 2.15rem;
    padding-inline: 0.74rem;
  }

  .directory-price strong {
    font-size: 1.35rem;
  }

  .footer-refined {
    gap: 1.15rem;
  }

  .footer-top {
    padding-bottom: 1.15rem;
  }

  .footer-links {
    gap: 0.55rem 1rem;
  }

  .footer-links a,
  .footer-bottom a,
  .footer-bottom small {
    font-size: 0.84rem;
  }
}

.home-shell {
  width: min(1360px, calc(100% - clamp(1rem, 3vw, 2.25rem)));
  margin: 0 auto;
}

.home-hero {
  position: relative;
  overflow: hidden;
  padding: 1.8rem 0 3rem;
  background:
    radial-gradient(circle at top center, rgba(155, 50, 73, 0.05), transparent 34rem),
    linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(249, 252, 255, 0.96) 100%);
  border-bottom: 1px solid rgba(228, 231, 236, 0.82);
}

.hero-shell {
  position: relative;
  width: min(1360px, calc(100% - clamp(1rem, 3vw, 2.25rem)));
  margin: 0 auto;
  padding: 2.15rem 0 0.9rem;
}

.hero-copy-centered {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.hero-copy-centered h1 {
  font-size: clamp(2.75rem, 6.8vw, 4.5rem);
  max-width: 860px;
  margin-inline: auto;
  letter-spacing: -0.055em;
}

.hero-description {
  max-width: 680px;
  margin: 0 auto;
  font-size: clamp(1rem, 2vw, 1.16rem);
  line-height: 1.78;
}

.hero-eyebrow {
  position: relative;
  padding: 0.58rem 0.94rem;
  background: rgba(255, 242, 245, 0.88);
  border: 1px solid rgba(249, 203, 214, 0.9);
  backdrop-filter: blur(16px);
  box-shadow: 0 8px 18px rgba(139, 46, 66, 0.06);
}

.eyebrow-wash {
  width: 0.9rem;
  height: 0.9rem;
  border-radius: 999px;
  background:
    radial-gradient(circle at 35% 35%, rgba(255, 255, 255, 0.95) 0 28%, rgba(139, 46, 66, 0.9) 31% 100%);
  box-shadow:
    0 0 0 3px rgba(255, 255, 255, 0.65),
    12px 0 0 -4px rgba(139, 46, 66, 0.18);
}

.hero-bubble {
  position: absolute;
  border-radius: 999px;
  pointer-events: none;
  filter: blur(18px);
  opacity: 0.62;
}

.hero-bubble-left {
  width: 14rem;
  height: 14rem;
  left: -3rem;
  top: 3rem;
  background:
    radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.96) 0 18%, rgba(219, 241, 255, 0.8) 19% 100%);
}

.hero-bubble-right {
  width: 16rem;
  height: 16rem;
  right: -4.5rem;
  top: 0.5rem;
  background:
    radial-gradient(circle at 35% 35%, rgba(255, 255, 255, 0.98) 0 18%, rgba(255, 235, 241, 0.84) 19% 100%);
}

.hero-bubble-bottom {
  width: 24rem;
  height: 8rem;
  left: 50%;
  bottom: -3.5rem;
  transform: translateX(-50%);
  background: radial-gradient(circle at center, rgba(219, 241, 255, 0.5) 0, rgba(219, 241, 255, 0.05) 65%, transparent 100%);
}

.hero-search-ios {
  max-width: 840px;
  margin: 1.85rem auto 1.1rem;
  padding: 0.55rem;
  grid-template-columns: minmax(220px, 0.95fr) minmax(320px, 1.4fr) auto;
  align-items: center;
  gap: 0.5rem;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(252, 253, 255, 0.92) 100%);
  border: 1px solid rgba(208, 213, 221, 0.8);
  box-shadow:
    0 14px 32px rgba(17, 24, 39, 0.07),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(24px);
}

.hero-search-field {
  display: flex;
  align-items: center;
  min-height: 3.65rem;
  gap: 0.72rem;
  padding: 0 1rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.7);
  transition: background 0.2s ease, box-shadow 0.2s ease;
}

.hero-search-field-select {
  border-right: 1px solid rgba(208, 213, 221, 0.65);
  border-radius: 999px 1rem 1rem 999px;
}

.hero-search-field-input {
  background: transparent;
}

.hero-search-field:focus-within {
  background: rgba(255, 255, 255, 0.96);
  box-shadow: inset 0 0 0 1px rgba(155, 50, 73, 0.12);
}

.hero-search-field select,
.hero-search-field input {
  min-width: 0;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  font-weight: 600;
  color: var(--text);
}

.hero-search-field select {
  appearance: none;
  cursor: pointer;
}

.hero-search-field input::placeholder {
  color: #98a2b3;
}

.hero-search-glyph {
  position: relative;
  width: 1.2rem;
  height: 1.2rem;
  flex: 0 0 1.2rem;
  opacity: 0.75;
}

.hero-search-glyph-drop::before {
  content: '';
  position: absolute;
  inset: 0.1rem 0.25rem 0.28rem;
  border: 1.7px solid var(--primary);
  border-radius: 999px 999px 999px 999px / 999px 999px 1.1rem 1.1rem;
  transform: rotate(45deg);
}

.hero-search-glyph-search::before {
  content: '';
  position: absolute;
  width: 0.68rem;
  height: 0.68rem;
  left: 0.05rem;
  top: 0.05rem;
  border: 1.7px solid #98a2b3;
  border-radius: 999px;
}

.hero-search-glyph-search::after {
  content: '';
  position: absolute;
  width: 0.42rem;
  height: 1.7px;
  right: 0.02rem;
  bottom: 0.12rem;
  background: #98a2b3;
  border-radius: 999px;
  transform: rotate(45deg);
  transform-origin: right center;
}

.hero-search-button {
  min-width: 9.5rem;
  min-height: 3.3rem;
  padding-inline: 1.5rem;
  border-radius: 999px;
  background: linear-gradient(180deg, #1f2937 0%, #101828 100%);
  box-shadow: 0 10px 22px rgba(17, 24, 39, 0.15);
}

.hero-points-clean {
  justify-content: center;
  gap: 0.9rem 1.15rem;
}

.hero-points-clean span {
  padding-left: 1.2rem;
  font-size: 0.9rem;
  font-weight: 600;
}

.hero-points-clean span::before {
  width: 0.62rem;
  height: 0.62rem;
  background:
    radial-gradient(circle at center, rgba(255, 255, 255, 0.92) 0 22%, rgba(34, 197, 94, 0.92) 23% 100%);
  box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.08);
}

.offer-section {
  padding-block: 2.9rem 2.6rem;
  border-bottom: 1px solid rgba(228, 231, 236, 0.62);
}

.home-section-head {
  margin-bottom: 1.4rem;
}

.home-section-head h2 {
  margin: 0;
  font-size: clamp(1.85rem, 4vw, 2.55rem);
  line-height: 1.08;
  letter-spacing: -0.04em;
}

.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin-bottom: 0.75rem;
  color: var(--primary);
  font-size: 0.86rem;
  font-weight: 800;
}

.section-kicker::before {
  content: '';
  width: 0.72rem;
  height: 0.72rem;
  border-radius: 0.22rem;
  transform: rotate(45deg);
  border: 1px solid rgba(180, 71, 101, 0.45);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(255, 232, 238, 0.92) 100%);
  box-shadow: 0 8px 18px rgba(139, 46, 66, 0.08);
}

.offers-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  gap: 1.05rem;
}

.offers-stack {
  display: grid;
  gap: 1.05rem;
}

.offer-card {
  position: relative;
  overflow: hidden;
  border-radius: 2rem;
  border: 1px solid rgba(233, 237, 243, 0.82);
  background: #0f172a;
  box-shadow: 0 20px 44px rgba(15, 23, 42, 0.12);
  min-height: 11rem;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.offer-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 26px 48px rgba(15, 23, 42, 0.15);
}

.offer-card::before {
  content: '';
  position: absolute;
  inset: 0.9rem;
  z-index: 1;
  border-radius: 1.45rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.01));
  pointer-events: none;
}

.offer-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(6, 11, 20, 0.08) 0%, rgba(6, 11, 20, 0.22) 34%, rgba(6, 11, 20, 0.82) 100%);
}

.offer-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.01);
  transition: transform 0.35s ease;
}

.offer-card:hover img {
  transform: scale(1.035);
}

.offer-card-wide {
  min-height: 20rem;
}

.offer-card-compact {
  min-height: 10.25rem;
}

.offer-card-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 0.28rem;
  padding: 1.35rem;
  color: #fff;
}

.offer-card-overlay-wide {
  padding: 1.55rem;
}

.offer-card-overlay > * {
  position: relative;
  z-index: 1;
}

.offer-card-overlay h3 {
  margin: 0.45rem 0 0.18rem;
  max-width: 23rem;
  font-size: clamp(1.3rem, 3vw, 2.2rem);
  line-height: 1.08;
  letter-spacing: -0.04em;
}

.offer-card-compact .offer-card-overlay h3 {
  font-size: clamp(1.05rem, 2.4vw, 1.38rem);
  max-width: 15rem;
}

.offer-card-overlay p {
  max-width: 24rem;
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.92rem;
  line-height: 1.58;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.offer-badge {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 0.42rem 0.72rem;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.18);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  box-shadow: none;
  backdrop-filter: blur(12px);
}

.offer-badge-soft {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

.ios-ribbon-banner {
  min-height: 7.5rem;
  margin-top: 1.2rem;
  border-radius: 1.8rem;
}

.ios-ribbon-banner .super-banner-overlay {
  justify-content: center;
  align-items: center;
  text-align: center;
  background: linear-gradient(135deg, rgba(17, 24, 39, 0.64) 0%, rgba(17, 24, 39, 0.38) 100%);
}

.ios-ribbon-banner .super-banner-overlay h3 {
  margin: 0.5rem 0 0.3rem;
  font-size: clamp(1.15rem, 2.4vw, 1.65rem);
}

.ios-ribbon-banner .super-banner-overlay p {
  max-width: 42rem;
  margin: 0;
}

.usp-section {
  padding-block: 3.9rem 4.4rem;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.74) 0%, rgba(247, 250, 255, 0.92) 100%);
}

.standards-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.05rem;
}

.standard-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 1.5rem;
  min-height: 13rem;
  border-radius: var(--radius-xl);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.94) 0%, rgba(252, 253, 255, 0.86) 100%);
  border: 1px solid rgba(228, 231, 236, 0.82);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.92),
    0 16px 30px rgba(17, 24, 39, 0.05);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.standard-card:hover {
  transform: translateY(-2px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.98),
    0 20px 36px rgba(17, 24, 39, 0.07);
}

.standard-card h3 {
  margin: 1.05rem 0 0.65rem;
  font-size: 1.25rem;
  letter-spacing: -0.03em;
}

.standard-card p {
  margin: 0;
  max-width: 20rem;
  color: var(--muted);
  font-size: 0.96rem;
  line-height: 1.72;
}

.standard-icon {
  position: relative;
  width: 3rem;
  height: 3rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 1rem;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 244, 247, 0.96) 100%);
  border: 1px solid rgba(233, 213, 218, 0.95);
  box-shadow: 0 10px 18px rgba(139, 46, 66, 0.07);
}

.standard-icon span,
.standard-icon span::before,
.standard-icon span::after {
  position: absolute;
  content: '';
  display: block;
}

.standard-icon span {
  position: relative;
}

.usp-icon-shield span {
  width: 1rem;
  height: 1.18rem;
  border: 2px solid var(--primary);
  border-radius: 0.45rem;
  clip-path: polygon(50% 100%, 4% 70%, 4% 6%, 96% 6%, 96% 70%);
}

.usp-icon-shield span::after {
  width: 0.4rem;
  height: 0.22rem;
  left: 0.22rem;
  top: 0.34rem;
  border-left: 2px solid var(--primary);
  border-bottom: 2px solid var(--primary);
  transform: rotate(-45deg);
}

.usp-icon-message span {
  width: 1.1rem;
  height: 0.9rem;
  border: 2px solid var(--primary);
  border-radius: 0.45rem;
}

.usp-icon-message span::after {
  width: 0.38rem;
  height: 0.38rem;
  left: 0.18rem;
  bottom: -0.18rem;
  border-left: 2px solid var(--primary);
  border-bottom: 2px solid var(--primary);
  transform: rotate(-45deg);
  background: #fff;
}

.usp-icon-sparkle span {
  width: 0.95rem;
  height: 0.95rem;
}

.usp-icon-sparkle span::before,
.usp-icon-sparkle span::after {
  left: 50%;
  top: 50%;
  background: var(--primary);
  border-radius: 999px;
  transform: translate(-50%, -50%);
}

.usp-icon-sparkle span::before {
  width: 0.22rem;
  height: 1rem;
}

.usp-icon-sparkle span::after {
  width: 1rem;
  height: 0.22rem;
}

.offer-section + .usp-section {
  border-top: 1px solid rgba(228, 231, 236, 0.72);
}

.home-rab-section,
.home-featured-section,
.home-social-section,
.home-article-section {
  padding-block: 4rem;
}

.home-rab-grid {
  gap: clamp(1.4rem, 3vw, 2.25rem);
  align-items: stretch;
}

.home-rab-copy {
  max-width: 34rem;
}

.home-rab-copy h2,
.home-section-head-split h2 {
  font-size: clamp(1.95rem, 4vw, 2.7rem);
  line-height: 1.08;
  letter-spacing: -0.04em;
}

.home-rab-copy h2 {
  margin: 0.7rem 0 0.75rem;
}

.home-section-head-split h2 {
  margin: 0 0 0.45rem;
}

.home-rab-copy .lead,
.home-section-head-split .section-subtitle {
  margin: 0;
  max-width: 38rem;
}

.home-rab-section .check-list {
  margin-top: 1.2rem;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.75rem;
}

.home-rab-section .check-list li {
  position: relative;
  padding-left: 1.35rem;
}

.home-rab-section .check-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.7rem;
  width: 0.42rem;
  height: 0.42rem;
  border-radius: 999px;
  background: #22c55e;
  box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.1);
  transform: translateY(-50%);
}

.home-rab-section .rab-panel {
  height: 100%;
  padding: 1.55rem;
  border-radius: var(--radius-xl);
  background: linear-gradient(180deg, #ffffff 0%, #fbfcfe 100%);
  box-shadow: 0 20px 44px rgba(15, 23, 42, 0.08);
}

.home-rab-section .panel-note {
  margin: 0 0 1rem;
}

.home-rab-section .toggle-button {
  min-height: 3.35rem;
  transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.home-rab-section .toggle-button:hover {
  border-color: rgba(155, 50, 73, 0.2);
  color: var(--text);
}

.home-rab-section .toggle-button.is-active {
  box-shadow: 0 10px 20px rgba(155, 50, 73, 0.16);
}

.home-rab-section .rab-estimation {
  margin-top: 1.25rem;
  padding-top: 1rem;
}

.home-rab-section textarea {
  resize: vertical;
  min-height: 7rem;
}

.home-rab-section .captcha-box {
  min-height: 3.5rem;
  display: flex;
  align-items: center;
}

.home-card-grid {
  gap: 1.15rem;
}

.home-section-head-split {
  align-items: end;
}

.home-featured-section .directory-card,
.home-article-section .article-card {
  border-radius: var(--radius-xl);
  box-shadow: 0 18px 38px rgba(15, 23, 42, 0.08);
}

.home-featured-section .directory-card-body,
.home-article-section .article-card-body {
  padding: 1.15rem 1.2rem 1.25rem;
}

.home-featured-section .directory-card-summary {
  min-height: 0;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-size: 0.95rem;
  line-height: 1.68;
}

.home-article-section .article-card-body p,
.social-post-body p {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.68;
}

.home-article-section .article-card img {
  aspect-ratio: 16 / 10.4;
}

.home-social-section {
  position: relative;
  overflow: hidden;
}

.home-social-head {
  margin-bottom: 1.35rem;
}

.home-social-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.2rem;
}

.home-social-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.8rem;
  padding: 0.7rem 1rem;
  border-radius: 999px;
  border: 1px solid rgba(228, 231, 236, 0.9);
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 14px 28px rgba(15, 23, 42, 0.05);
  font-size: 0.84rem;
  font-weight: 800;
}

.home-social-chip-instagram {
  color: #9b3249;
}

.home-social-chip-tiktok {
  color: #101828;
}

.social-post-grid {
  align-items: start;
}

.social-post-card {
  padding: 0;
  border-radius: 2rem;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(250, 252, 255, 0.96) 100%);
  border: 1px solid rgba(228, 231, 236, 0.86);
  box-shadow: 0 20px 42px rgba(15, 23, 42, 0.08);
}

.social-post-card-instagram {
  background:
    radial-gradient(circle at top left, rgba(155, 50, 73, 0.06), transparent 12rem),
    linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(252, 248, 249, 0.96) 100%);
}

.social-post-card-tiktok {
  background:
    radial-gradient(circle at top right, rgba(0, 242, 234, 0.08), transparent 11rem),
    linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(247, 250, 252, 0.96) 100%);
}

.social-post-head,
.social-post-body {
  padding-inline: 1.1rem;
}

.social-post-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  padding-top: 1.05rem;
  padding-bottom: 0.75rem;
}

.social-post-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.social-post-platform,
.social-post-label {
  display: inline-flex;
  align-items: center;
  min-height: 2rem;
  padding: 0.4rem 0.72rem;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.social-post-platform {
  background: rgba(16, 24, 40, 0.92);
  color: #fff;
}

.social-post-label {
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(228, 231, 236, 0.9);
  color: #667085;
}

.social-post-handle {
  color: #98a2b3;
  font-size: 0.8rem;
  font-weight: 700;
  white-space: nowrap;
}

.social-post-embed-shell {
  padding-inline: 1rem;
  overflow: hidden;
}

.social-post-embed {
  margin: 0;
  width: 100%;
  max-width: 100%;
  min-width: 100%;
}

.social-post-embed-instagram {
  border-radius: 1.4rem;
  overflow: hidden;
}

.social-post-embed-tiktok {
  margin-inline: auto;
}

.social-post-body {
  display: grid;
  gap: 0.7rem;
  padding-top: 0.9rem;
  padding-bottom: 1.15rem;
}

.social-post-body p {
  margin: 0;
  color: var(--muted);
}

.social-post-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--primary);
  font-size: 0.86rem;
  font-weight: 800;
}

.social-post-link::after {
  content: '>';
  font-size: 0.94rem;
}

.social-post-fallback,
.social-post-fallback-static {
  overflow: hidden;
  display: grid;
  gap: 0;
  border-radius: 1.5rem;
  border: 1px solid rgba(228, 231, 236, 0.9);
  background: rgba(255, 255, 255, 0.92);
}

.social-post-fallback img,
.social-post-fallback-static img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.social-post-fallback-note {
  display: block;
  padding: 0.95rem 1rem 1rem;
  color: #667085;
  font-size: 0.88rem;
  line-height: 1.65;
}

.home-highlight-section {
  padding-top: 0;
  padding-bottom: 3rem;
}

.home-highlight-banner {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(10rem, 18vw);
  align-items: stretch;
  gap: clamp(0.85rem, 1.6vw, 1.2rem);
  width: 100%;
  margin-top: 0;
  min-height: clamp(7.25rem, 10vw, 9rem);
  padding: clamp(0.9rem, 1.8vw, 1.25rem);
  overflow: hidden;
  border-radius: 1.65rem;
  border: 1px solid rgba(223, 231, 240, 0.96);
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.99) 0%, rgba(255, 255, 255, 0.99) 62%, rgba(239, 251, 255, 0.94) 100%);
  box-shadow: 0 20px 44px rgba(15, 23, 42, 0.1);
}

.home-highlight-banner::before,
.home-highlight-banner::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.home-highlight-banner::before {
  background:
    radial-gradient(circle, rgba(148, 163, 184, 0.16) 1px, transparent 1.5px) 0 0 / 11px 11px,
    linear-gradient(135deg, rgba(223, 245, 255, 0.58) 0%, rgba(223, 245, 255, 0) 44%);
  opacity: 0.9;
  clip-path: inset(1rem 44% 1rem 1rem round 1.2rem);
}

.home-highlight-banner::after {
  right: clamp(8.5rem, 16vw, 11.5rem);
  left: auto;
  width: clamp(3.6rem, 8vw, 5.4rem);
  background: linear-gradient(135deg, rgba(223, 245, 255, 0.98) 0%, rgba(190, 236, 255, 0.94) 100%);
  clip-path: polygon(18% 0, 100% 0, 82% 100%, 0 100%);
}

.home-highlight-copy,
.home-highlight-media {
  position: relative;
  z-index: 1;
}

.home-highlight-copy {
  display: grid;
  align-content: center;
  gap: 0.42rem;
  max-width: 38rem;
}

.home-highlight-copy h3 {
  margin: 0;
  max-width: 13ch;
  color: #0f1728;
  font-size: clamp(1.45rem, 2.7vw, 2.45rem);
  line-height: 0.92;
  letter-spacing: -0.055em;
}

.home-highlight-copy p {
  margin: 0;
  max-width: 34rem;
  color: #667085;
  font-size: 0.88rem;
  line-height: 1.48;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.home-highlight-badge {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  padding: 0.36rem 0.66rem;
  border-radius: 999px;
  background: rgba(155, 50, 73, 0.08);
  border: 1px solid rgba(155, 50, 73, 0.14);
  color: var(--primary);
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.home-highlight-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  width: fit-content;
  min-height: 2.35rem;
  margin-top: 0.2rem;
  padding: 0.58rem 0.92rem;
  border-radius: 999px;
  background: #101828;
  color: #fff;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
  box-shadow: 0 12px 24px rgba(15, 23, 42, 0.14);
}

.home-highlight-cta::after {
  content: '\2192';
  font-size: 0.92rem;
  line-height: 1;
}

.home-highlight-media {
  min-height: 100%;
  border-radius: 1.2rem;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(223, 245, 255, 0.78) 0%, rgba(239, 251, 255, 0.98) 100%);
  box-shadow: 0 16px 32px rgba(15, 23, 42, 0.12);
}

.home-highlight-media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.06) 0%, rgba(255, 255, 255, 0) 100%);
}

.home-highlight-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.home-upgrade-section {
  padding-top: 0;
}

.home-upgrade-panel {
  padding: clamp(1.3rem, 3vw, 1.8rem);
  border-radius: 2rem;
  background:
    radial-gradient(circle at top right, rgba(223, 245, 255, 0.95), transparent 15rem),
    linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(245, 249, 252, 0.96) 100%);
  box-shadow: 0 22px 46px rgba(15, 23, 42, 0.08);
}

.home-upgrade-copy {
  max-width: 42rem;
}

.home-upgrade-copy h2 {
  margin: 0.7rem 0 0.75rem;
  font-size: clamp(1.9rem, 4vw, 2.65rem);
  line-height: 1.08;
  letter-spacing: -0.04em;
}

.home-upgrade-copy .lead {
  margin: 0;
}

.home-upgrade-points {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1.3rem;
}

.home-upgrade-points span {
  display: inline-flex;
  align-items: center;
  min-height: 2.8rem;
  padding: 0.72rem 0.95rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(223, 231, 240, 0.92);
  color: #475467;
  font-size: 0.84rem;
  font-weight: 700;
}

.home-upgrade-actions {
  margin-top: 1.4rem;
}

@media (max-width: 980px) {
  .home-shell,
  .hero-shell {
    width: min(100%, calc(100% - 1rem));
  }

  .home-hero {
    padding: 1.1rem 0 2.2rem;
  }

  .hero-shell {
    padding-top: 1.4rem;
  }

  .hero-copy-centered h1 {
    font-size: clamp(2.15rem, 11vw, 3.15rem);
    max-width: 100%;
  }

  .hero-description {
    max-width: 100%;
    font-size: 0.98rem;
  }

  .hero-search-ios {
    max-width: 100%;
    padding: 0.75rem;
    border-radius: 2rem;
    grid-template-columns: 1fr;
  }

  .hero-search-field {
    min-height: 3.35rem;
    padding-inline: 0.95rem;
    border-radius: 1.25rem;
    background: rgba(255, 255, 255, 0.88);
  }

  .hero-search-field-select {
    border-right: 0;
  }

  .hero-search-button {
    width: 100%;
    min-height: 3.3rem;
  }

  .hero-points-clean {
    gap: 0.7rem 0.95rem;
  }

  .hero-points-clean span {
    font-size: 0.83rem;
  }

  .offers-grid,
  .standards-grid {
    grid-template-columns: 1fr;
  }

  .offer-card-wide {
    min-height: 16rem;
  }

  .offer-card-compact {
    min-height: 8.5rem;
  }

  .offer-card-overlay,
  .offer-card-overlay-wide {
    padding: 1.15rem;
  }

  .offer-card-overlay h3 {
    max-width: 13rem;
  }

  .ios-ribbon-banner {
    min-height: 6.2rem;
  }

  .standard-card {
    min-height: auto;
    padding: 1.4rem;
  }

  .home-rab-section,
  .home-featured-section,
  .home-social-section,
  .home-article-section {
    padding-block: 3.4rem;
  }

  .home-rab-grid {
    gap: 1.35rem;
  }

  .home-section-head-split {
    flex-direction: column;
    align-items: stretch;
    gap: 0.95rem;
  }

  .home-section-head-split .button {
    width: 100%;
  }

  .home-rab-section .toggle-group {
    grid-template-columns: 1fr;
  }

  .home-rab-section .rab-estimation {
    flex-direction: column;
    align-items: flex-start;
  }

  .home-rab-section .rab-estimation .button {
    width: 100%;
  }

  .home-social-actions {
    margin-bottom: 1rem;
  }

  .home-social-chip {
    width: 100%;
  }

  .social-post-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .home-highlight-section {
    padding-bottom: 2.75rem;
  }

  .home-highlight-banner {
    grid-template-columns: minmax(0, 1fr) minmax(8rem, 24vw);
    min-height: clamp(6.8rem, 15vw, 7.9rem);
    padding: 0.9rem;
    border-radius: 1.45rem;
  }

  .home-highlight-cta {
    min-height: 2.2rem;
  }

  .home-upgrade-points span,
  .home-upgrade-actions .button {
    width: 100%;
    justify-content: center;
  }

  .hero-bubble-left,
  .hero-bubble-right {
    width: 9rem;
    height: 9rem;
    filter: blur(8px);
  }

  .hero-bubble-left {
    left: -3rem;
    top: 2.5rem;
  }

  .hero-bubble-right {
    right: -3rem;
    top: 0.5rem;
  }
}

@media (max-width: 640px) {
  .home-hero {
    padding: 0.9rem 0 1.9rem;
  }

  .hero-shell {
    padding-top: 1.15rem;
  }

  .hero-eyebrow {
    padding: 0.52rem 0.8rem;
  }

  .hero-search-ios {
    margin-bottom: 1rem;
    padding: 0.65rem;
    border-radius: 1.5rem;
  }

  .hero-search-field {
    min-height: 3.2rem;
    border-radius: 1.1rem;
  }

  .hero-bubble-left,
  .hero-bubble-right,
  .hero-bubble-bottom {
    display: none;
  }

  .home-rab-copy h2,
  .home-section-head h2,
  .home-section-head-split h2 {
    font-size: clamp(1.65rem, 8vw, 2.15rem);
  }

  .home-rab-section .rab-panel {
    padding: 1.2rem;
  }

  .home-card-grid {
    gap: 0.95rem;
  }

  .home-featured-section .directory-card-body,
  .home-article-section .article-card-body {
    padding: 1rem;
  }

  .home-highlight-banner {
    grid-template-columns: minmax(0, 1fr) 5.8rem;
    gap: 0.72rem;
    min-height: 6.55rem;
    padding: 0.78rem;
    border-radius: 1.22rem;
  }

  .home-highlight-banner::before {
    clip-path: inset(0.78rem 34% 0.78rem 0.78rem round 0.95rem);
  }

  .home-highlight-banner::after {
    right: 4.8rem;
    width: 2.7rem;
  }

  .home-highlight-copy h3 {
    font-size: clamp(1rem, 5.2vw, 1.24rem);
    max-width: 11ch;
  }

  .home-highlight-copy p {
    display: none;
  }

  .home-highlight-badge {
    padding: 0.28rem 0.54rem;
    font-size: 0.57rem;
  }

  .home-highlight-cta {
    min-height: 1.95rem;
    padding: 0.42rem 0.72rem;
    font-size: 0.63rem;
  }

  .home-highlight-media {
    border-radius: 0.95rem;
  }

  .social-post-head,
  .social-post-body {
    padding-inline: 0.95rem;
  }

  .social-post-embed-shell {
    padding-inline: 0.9rem;
  }

  .social-post-fallback-note {
    padding: 0.85rem 0.9rem 0.95rem;
  }
}

.page-hero {
  padding: 3.75rem 0 1.5rem;
}

.page-hero-shell,
.home-v2-hero-shell,
.package-split-grid,
.journey-grid,
.solution-grid,
.catalog-grid {
  display: grid;
  gap: 1.25rem;
}

.home-v2-hero {
  padding-top: 4.25rem;
}

.home-v2-hero-shell {
  grid-template-columns: minmax(0, 1.1fr) minmax(340px, 0.9fr);
  align-items: stretch;
}

.home-v2-hero-copy,
.page-hero-copy {
  max-width: 48rem;
}

.home-v2-hero-copy h1,
.page-hero-copy h1 {
  margin: 0;
  font-size: clamp(2.4rem, 5vw, 4.8rem);
  line-height: 0.98;
  letter-spacing: -0.05em;
}

.home-v2-lead,
.page-hero-copy .lead {
  max-width: 42rem;
  margin-top: 1.2rem;
  font-size: 1.05rem;
}

.hero-v2-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 1.8rem;
}

.hero-v2-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.9rem;
  margin-top: 2rem;
}

.hero-v2-metric,
.journey-card,
.solution-card,
.catalog-card,
.related-link-card {
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(236, 229, 231, 0.92);
  border-radius: 1.6rem;
  box-shadow: 0 22px 48px rgba(15, 23, 42, 0.06);
}

.hero-v2-metric {
  padding: 1.15rem;
}

.hero-v2-metric strong {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 1.2rem;
}

.hero-v2-highlight-card {
  height: 100%;
  padding: 1.45rem;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.94) 0%, rgba(255, 247, 248, 0.94) 100%),
    radial-gradient(circle at top left, rgba(209, 47, 63, 0.12), transparent 12rem);
  border: 1px solid rgba(236, 229, 231, 0.92);
  border-radius: 1.9rem;
  box-shadow: 0 30px 60px rgba(15, 23, 42, 0.08);
}

.home-v2-card-kicker,
.journey-label,
.solution-badge,
.rab-solution-label,
.catalog-meta {
  display: inline-flex;
  align-items: center;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--primary);
}

.hero-v2-highlight-card h2,
.journey-card h3,
.solution-card h3,
.catalog-card h3,
.catalog-card h4,
.product-card h3,
.technician-card h3 {
  margin: 0.75rem 0 0.6rem;
  font-size: 1.25rem;
}

.hero-v2-points {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.4rem;
}

.hero-v2-points span,
.tag-pill,
.filter-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.65rem 0.9rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(236, 229, 231, 0.92);
  color: #8d4550;
  font-size: 0.83rem;
  font-weight: 700;
}

.journey-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.journey-card,
.solution-card,
.catalog-card {
  padding: 1.35rem;
}

.solution-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.solution-card {
  min-height: 100%;
}

.solution-card-startup {
  background: linear-gradient(180deg, rgba(255, 252, 252, 0.98) 0%, rgba(255, 242, 244, 0.98) 100%);
}

.solution-card-upgrade {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(248, 244, 244, 0.98) 100%);
}

.solution-list {
  margin: 1.1rem 0 0;
  padding-left: 1.15rem;
  color: var(--muted);
  line-height: 1.8;
}

.solution-actions {
  margin-top: 1.25rem;
}

.package-split-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.package-column-head {
  margin-bottom: 1rem;
}

.package-column-head h3 {
  margin: 0;
  font-size: 1.3rem;
}

.solution-package-stack {
  display: grid;
  gap: 1rem;
}

.catalog-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.catalog-card-top,
.catalog-card-foot,
.product-card-meta,
.technician-card-foot,
.callout-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.catalog-card-foot,
.product-card-meta,
.technician-card-foot {
  margin-top: 1rem;
  color: var(--muted);
}

.catalog-card-foot strong,
.product-card-meta strong,
.technician-card-foot strong {
  color: var(--text);
  font-size: 1.05rem;
}

.catalog-card-note {
  color: var(--muted);
  line-height: 1.7;
}

.product-card,
.technician-card {
  overflow: hidden;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(236, 229, 231, 0.92);
  border-radius: 1.6rem;
  box-shadow: 0 22px 48px rgba(15, 23, 42, 0.06);
}

.product-card img,
.technician-card img {
  width: 100%;
  aspect-ratio: 16 / 11;
  object-fit: cover;
}

.product-card-body,
.technician-card-body {
  padding: 1.2rem;
}

.technician-card-head {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 0.9rem;
}

.filter-chip-row,
.category-chip-row,
.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-bottom: 1rem;
}

.filter-chip-active {
  background: var(--primary);
  color: #fff;
  border-color: transparent;
}

.article-list-card-v2 {
  align-items: stretch;
}

.article-card-tags {
  flex-wrap: wrap;
}

.related-links-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.related-link-card {
  padding: 1.1rem;
}

.related-link-card strong {
  display: block;
  margin-bottom: 0.35rem;
}

.callout-shell {
  padding: 1.7rem 0;
}

.section-dark-callout {
  background: linear-gradient(135deg, #12131c 0%, #1f1820 100%);
  color: #fff;
}

.section-dark-callout .section-kicker,
.section-dark-callout p {
  color: rgba(255, 255, 255, 0.8);
}

.section-dark-callout h2 {
  margin: 0.45rem 0 0.8rem;
  font-size: clamp(1.9rem, 4vw, 3rem);
  letter-spacing: -0.04em;
}

.section-dark-callout .button-soft {
  border-color: rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

.rab-solution-box {
  margin-top: 1rem;
  padding: 1rem 1.1rem;
  border-radius: 1.2rem;
  background: linear-gradient(180deg, #fff7f7 0%, #fff1f2 100%);
  border: 1px solid #f4d1d6;
}

.rab-solution-box strong {
  display: block;
  margin: 0.35rem 0;
  font-size: 1.1rem;
}

.listing-page-hero,
.solution-page-hero {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.65) 0%, rgba(255, 245, 246, 0.75) 100%);
}

@media (max-width: 1100px) {
  .home-v2-hero-shell,
  .journey-grid,
  .catalog-grid,
  .solution-grid,
  .package-split-grid,
  .related-links-grid {
    grid-template-columns: 1fr;
  }

  .hero-v2-metrics {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 780px) {
  .hero-v2-actions,
  .callout-shell,
  .catalog-card-foot,
  .product-card-meta,
  .technician-card-foot,
  .technician-card-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .home-v2-hero-copy h1,
  .page-hero-copy h1 {
    font-size: clamp(2.2rem, 11vw, 3.1rem);
  }

  .journey-card,
  .solution-card,
  .catalog-card,
  .product-card-body,
  .technician-card-body,
  .hero-v2-highlight-card {
    padding: 1.15rem;
  }

  .hero-v2-points span,
  .filter-chip,
  .tag-pill {
    width: 100%;
    justify-content: center;
  }
}
.site-main,
.admin-content {
  transition: opacity 0.18s ease;
}

body.is-soft-loading {
  cursor: progress;
}

body.is-soft-loading .site-main,
body.is-soft-loading .admin-content {
  opacity: 0.92;
}

@media (prefers-reduced-motion: reduce) {
  .site-main,
  .admin-content {
    transition: none;
  }
}
