/**
 * Master Stylesheet — ERSAG E-Commerce
 * Built on XStore Elementor Grocery Mega Market Architecture
 * Supplementary rules for product details, catalog pagination & forms
 */

/* ==========================================================================
   ADDITIONAL ERSAG BRAND COMPONENTS & INTEGRATION
   Using exact tokens: --color-primary, --color-accent, --color-bg-soft, etc.
   ========================================================================== */

/* Header hotline in nav bar */
.header-hotline {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--fs-caption);
  color: var(--color-text-heading);
  white-space: nowrap;
}

.header-hotline svg {
  color: var(--color-accent);
  width: 18px;
  height: 18px;
}

.header-hotline strong {
  color: var(--color-accent);
}

/* About / Story Section */
.about-section {
  background-color: var(--color-bg-soft);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  padding: var(--space-12) 0;
  margin-bottom: var(--space-14);
}

.about-layout {
  display: grid;
  grid-template-columns: 45% 55%;
  gap: var(--space-10);
  align-items: center;
}

.about-image {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.about-image img {
  width: 100%;
  height: 480px;
  object-fit: cover;
}

.about-image__badge {
  position: absolute;
  bottom: var(--space-5);
  right: var(--space-5);
  background: var(--color-bg-white);
  padding: var(--space-4) var(--space-6);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  border-left: 4px solid var(--color-accent);
}

.about-image__badge strong {
  display: block;
  font-size: var(--fs-xl);
  font-weight: var(--fw-bold);
  color: var(--color-text-heading);
}

.about-image__badge span {
  font-size: var(--fs-sm);
  color: var(--color-text-muted);
}

.about-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.section-kicker {
  font-size: var(--fs-xs);
  font-weight: var(--fw-bold);
  text-transform: uppercase;
  color: var(--color-accent);
  letter-spacing: 1px;
  margin-bottom: var(--space-2);
}

.about-copy h2 {
  font-size: var(--title-section-size);
  font-weight: var(--title-weight);
  color: var(--color-text-heading);
  line-height: var(--title-line-height);
  margin-bottom: var(--space-3);
}

.about-copy h3 {
  font-size: var(--title-card-size);
  font-weight: var(--title-weight);
  color: var(--color-accent);
  margin-bottom: var(--space-4);
}

.about-copy p {
  font-size: var(--fs-body);
  line-height: var(--lh-relaxed);
  color: var(--color-text-main);
  margin-bottom: var(--space-5);
}

.about-checklist {
  list-style: none;
  padding: 0;
  margin: 0 0 var(--space-7);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  width: 100%;
}

.about-checklist li {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  font-size: var(--fs-base);
  font-weight: var(--fw-medium);
  color: var(--color-text-heading);
  line-height: 1.4;
}

.about-checklist li span {
  width: 22px;
  height: 22px;
  border-radius: var(--radius-circle);
  background: var(--color-accent);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: var(--fw-bold);
  flex-shrink: 0;
  margin-top: 1px;
}

.about-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-5);
  width: 100%;
  margin-bottom: var(--space-7);
  padding-top: var(--space-5);
  border-top: 1px solid var(--color-border);
}

.about-metric-item strong {
  display: block;
  font-family: var(--font-heading);
  font-size: var(--fs-4xl);
  font-weight: var(--fw-bold);
  color: var(--color-accent);
  line-height: 1;
}

.about-metric-item span {
  display: block;
  font-size: var(--fs-sm);
  color: var(--color-text-muted);
  margin-top: var(--space-1);
}

/* Values Grid (Why Choose Us) */
.values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-5);
  margin-bottom: var(--space-14);
}

.value-card {
  background: var(--color-bg-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: var(--space-6);
  transition: all var(--transition-normal);
}

.value-card:hover {
  border-color: var(--color-accent);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.value-card__num {
  font-family: var(--font-heading);
  font-size: var(--fs-6xl);
  font-weight: var(--fw-bold);
  color: var(--color-accent-soft);
  line-height: 1;
  margin-bottom: var(--space-3);
  transition: color var(--transition-fast);
}

.value-card:hover .value-card__num {
  color: var(--color-accent);
}

.value-card h3 {
  font-size: var(--title-card-size);
  font-weight: var(--title-weight);
  color: var(--color-text-heading);
  margin-bottom: var(--space-2);
}

.value-card p {
  font-size: var(--fs-caption);
  color: var(--color-text-muted);
  line-height: var(--lh-normal);
  margin: 0;
}

/* Reviews / Testimonials */
.home-archive { padding: var(--space-14) 0; background: #fff; }
.home-archive > section + section { margin-top: clamp(56px, 7vw, 112px); }
.home-archive__eyebrow { display: block; margin-bottom: 14px; color: var(--color-accent); font-size: var(--fs-caption); font-weight: var(--fw-bold); text-transform: uppercase; letter-spacing: .1em; }
.home-archive__about { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(280px, .85fr); align-items: center; gap: clamp(24px, 5vw, 80px); padding: clamp(32px, 5vw, 76px); background: #102b3d; border-radius: var(--radius-md); overflow: hidden; }
.home-archive__about h2 { max-width: 760px; margin: 0 0 24px; color: #fff; font-size: clamp(28px, 2.5vw, 42px); line-height: 1.15; }
.home-archive__about p { max-width: 700px; color: #dceaf0; line-height: 1.7; }
.home-archive__about .home-archive__lead { color: #fff; font-size: var(--fs-lg); font-weight: var(--fw-semibold); }
.home-archive__about ul { padding: 0; margin: 24px 0 30px; list-style: none; color: #f1f8fa; line-height: 1.5; }
.home-archive__about li { padding-left: 28px; position: relative; }
.home-archive__about li::before { content: '✓'; position: absolute; left: 0; color: #64d5eb; font-weight: 700; }
.home-archive__about li + li { margin-top: 10px; }
.home-archive__about img { width: 100%; max-width: 520px; justify-self: center; object-fit: contain; filter: drop-shadow(0 22px 30px rgba(0,0,0,.24)); }
.home-archive__values { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(18px, 2.4vw, 38px); }
.home-archive__value { min-width: 0; padding: 26px 4px 0; border-top: 3px solid #0aa3c5; }
.home-archive__value > span { color: #0aa3c5; font-size: 13px; font-weight: 800; letter-spacing: .1em; }
.home-archive__value h3 { margin: 18px 0 12px; color: var(--color-text-heading); font-size: clamp(18px, 1.3vw, 23px); line-height: 1.25; }
.home-archive__value p { margin: 0; color: var(--color-text-main); line-height: 1.6; }
.home-archive__community { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(28px, 4vw, 64px); align-items: center; padding: clamp(32px, 5vw, 72px); background: #eef8fa; border-radius: var(--radius-md); }
.home-archive__community h2 { margin: 0 0 18px; color: var(--color-text-heading); font-size: clamp(26px, 2.2vw, 38px); line-height: 1.2; }
.home-archive__community p { margin: 0; color: var(--color-text-main); line-height: 1.6; }
.home-archive__stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; }
.home-archive__stats > div { display: grid; align-content: center; justify-items: center; min-height: 135px; padding: 12px; border-left: 1px solid #c8e1e7; text-align: center; }
.home-archive__stats span, .home-archive__stats small { color: #54727e; }
.home-archive__stats strong { color: #076e8c; font-size: clamp(27px, 2.8vw, 46px); line-height: 1.15; white-space: nowrap; }
.home-archive__reviews .section-header { margin-bottom: 14px; }
.home-archive__intro { max-width: 680px; margin: 0 0 30px; color: var(--color-text-main); line-height: 1.6; }
.home-archive .home-archive__reviews-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 18px; margin-bottom: 0; }
.home-archive__reviews-grid .review-card { min-width: 0; min-height: 250px; padding: clamp(20px, 2vw, 30px); background: #f7faf9; border: 1px solid #e1e9e7; box-shadow: none; }
.home-archive__reviews-grid .review-card { grid-column: span 2; }
.home-archive__reviews-grid .review-card:nth-child(n+4) { grid-column: span 3; }
.home-archive__reviews-grid .review-card__text { font-style: normal; overflow-wrap: anywhere; }
.home-archive__reviews-grid .review-card__info { min-width: 0; }
.home-archive__reviews-grid .review-card__info a { color: var(--color-accent); overflow-wrap: anywhere; }
.home-archive__work { padding: clamp(32px, 4vw, 64px); background: #f6f8f7; border-radius: var(--radius-md); }
.home-archive__work-grid { display: grid; margin: 28px 0 36px; }
.home-archive__work-grid article { display: grid; grid-template-columns: 70px minmax(180px, .6fr) minmax(0, 1.4fr); gap: clamp(14px, 2vw, 36px); align-items: baseline; min-width: 0; padding: 22px 0; border-top: 1px solid #d7e0de; }
.home-archive__work-grid article:last-child { border-bottom: 1px solid #d7e0de; }
.home-archive__work-grid article > span { color: #0a9dc0; font-size: 24px; font-weight: 800; }
.home-archive__work-grid h3 { margin: 0; color: var(--color-text-heading); font-size: clamp(18px, 1.35vw, 22px); line-height: 1.3; }
.home-archive__work-grid p { margin: 0; color: var(--color-text-main); line-height: 1.65; overflow-wrap: anywhere; }
.home-archive__contact-link { display: inline-flex; align-items: center; gap: 8px; margin-left: var(--space-5); color: var(--color-accent); font-weight: var(--fw-bold); }
@media (max-width: 1100px) {
  .home-archive__community { grid-template-columns: 1fr; }
  .home-archive__values { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .home-archive .home-archive__reviews-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .home-archive__reviews-grid .review-card, .home-archive__reviews-grid .review-card:nth-child(n+4) { grid-column: auto; }
}
@media (max-width: 760px) {
  .home-archive__about { grid-template-columns: 1fr; }
  .home-archive__about img { width: min(75%, 350px); }
  .home-archive__work-grid article { grid-template-columns: 45px minmax(0, 1fr); }
  .home-archive__work-grid p { grid-column: 2; }
}
@media (max-width: 600px) {
  .home-archive__values, .home-archive .home-archive__reviews-grid { grid-template-columns: 1fr; }
  .home-archive__reviews-grid .review-card { min-height: 0; }
  .home-archive__stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .home-archive__stats > div:nth-child(odd) { border-left: 0; }
  .home-archive__stats > div:nth-child(n+3) { border-top: 1px solid #c8e1e7; }
  .home-archive__contact-link { margin: 18px 0 0; }
}
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
  margin-bottom: var(--space-14);
}

.review-card {
  background: var(--color-bg-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: var(--space-7);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
}

.review-card:hover {
  border-color: var(--color-accent);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.review-card__stars {
  color: var(--color-star-yellow);
  font-size: 16px;
  margin-bottom: var(--space-3);
}

.review-card__text {
  font-size: var(--fs-base);
  line-height: var(--lh-relaxed);
  color: var(--color-text-main);
  margin-bottom: var(--space-5);
  font-style: italic;
}

.review-card__author {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding-top: var(--space-3);
  border-top: 1px solid var(--color-border-light);
}

.review-card__avatar {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-circle);
  background: var(--color-bg-soft);
  color: var(--color-accent);
  font-family: var(--font-heading);
  font-size: var(--fs-lg);
  font-weight: var(--fw-bold);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.review-card__info strong {
  display: block;
  font-size: var(--fs-caption);
  font-weight: var(--fw-bold);
  color: var(--color-text-heading);
}

.review-card__info small {
  display: block;
  font-size: var(--fs-xs);
  color: var(--color-accent);
  font-weight: var(--fw-medium);
}

/* Lead Generation Card (#contact) */
.footer-contact-card {
  background: var(--color-primary);
  border-radius: var(--radius-lg);
  padding: var(--space-10);
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: var(--space-10);
  align-items: center;
  color: #fff;
  box-shadow: var(--shadow-lg);
  margin-bottom: var(--space-14);
}

.footer-contact-info h2 {
  font-size: var(--title-section-size);
  font-weight: var(--title-weight);
  color: #fff;
  margin-bottom: var(--space-3);
}

.footer-contact-info p {
  font-size: var(--fs-base);
  line-height: var(--lh-relaxed);
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: var(--space-5);
}

.contact-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4);
}

.contact-form label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: var(--fs-caption);
  font-weight: var(--fw-semibold);
  color: rgba(255, 255, 255, 0.9);
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px 16px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  font-size: var(--fs-caption);
  transition: all var(--transition-fast);
}

.contact-form input:focus,
.contact-form textarea:focus {
  background: rgba(255, 255, 255, 0.2);
  border-color: var(--color-accent);
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.contact-form__message {
  grid-column: 1 / -1;
}

.contact-form .btn {
  grid-column: 1 / -1;
  justify-self: start;
}

.form-notice {
  margin-bottom: var(--space-5);
  padding: var(--space-4) var(--space-5);
  border-radius: var(--radius-md);
  background: var(--color-accent-soft);
  color: #06627a;
  font-size: var(--fs-caption);
  font-weight: var(--fw-medium);
  border: 1px solid rgba(5, 164, 204, 0.2);
}

.form-notice--error {
  background: #fdf0f0;
  color: #a62b2b;
  border-color: rgba(213, 18, 67, 0.2);
}

/* Catalog & Product Pages */
.page-shell {
  padding-top: var(--space-6);
  padding-bottom: var(--space-14);
}

.breadcrumbs {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--fs-caption);
  color: var(--color-text-muted);
  margin-bottom: var(--space-6);
  flex-wrap: wrap;
}

.breadcrumbs a {
  color: var(--color-text-muted);
}

.breadcrumbs a:hover {
  color: var(--color-accent);
}

.breadcrumbs span {
  color: var(--color-text-light);
}

.catalog-header {
  margin-bottom: var(--space-8);
}

.catalog-header .eyebrow {
  display: inline-block;
  font-size: var(--fs-xs);
  font-weight: var(--fw-bold);
  text-transform: uppercase;
  color: var(--color-accent);
  letter-spacing: 1px;
  margin-bottom: var(--space-2);
}

.catalog-header h1 {
  font-size: var(--title-page-size);
  font-weight: var(--title-weight);
  color: var(--color-text-heading);
  margin-bottom: var(--space-2);
}

.catalog-header p {
  font-size: var(--fs-base);
  color: var(--color-text-muted);
  max-width: 760px;
  line-height: var(--lh-relaxed);
  margin: 0;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-5);
  margin-bottom: var(--space-10);
}

.empty-state {
  padding: var(--space-14) var(--space-5);
  text-align: center;
  border-radius: var(--radius-md);
  background: var(--color-bg-soft);
  border: 1px dashed var(--color-border);
  color: var(--color-text-muted);
  font-size: var(--fs-md);
}

.pagination-wrap {
  display: flex;
  justify-content: center;
  margin-top: var(--space-8);
}

.news-page .pagination-wrap nav {
  min-width: 0;
}

.news-page .pagination {
  flex-wrap: wrap;
  justify-content: center;
}

.pagination {
  display: flex;
  list-style: none;
  padding: 0;
  margin: 0;
  gap: 6px;
  align-items: center;
}

.pagination li a,
.pagination li span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 12px;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  background: #fff;
  color: var(--color-text-heading);
  font-size: var(--fs-caption);
  font-weight: var(--fw-semibold);
  transition: all var(--transition-fast);
}

.pagination li.active span,
.pagination li a:hover {
  background: var(--color-accent);
  border-color: var(--color-accent);
  color: #fff;
}

.pagination li.disabled span {
  opacity: 0.5;
  cursor: not-allowed;
}

/* Product detail: gallery, summary and reviews */
.product-detail { padding-bottom: 64px; }
.detail-breadcrumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding-block: 22px 30px; font-size: 13px; color: var(--color-text-muted); }
.detail-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(360px, 32%); gap: 32px; align-items: start; }
.detail-content, .detail-summary, .detail-gallery { min-width: 0; }
.detail-hero { display: grid; grid-template-columns: minmax(0, .72fr) minmax(0, 1fr); gap: 30px; align-items: start; }
.detail-photo { display: flex; position: relative; aspect-ratio: 1; border: 1px solid var(--color-border); border-radius: 4px; overflow: hidden; background: #fff; }
.detail-photo img { width: 100%; height: 100%; object-fit: contain; }
.detail-photo .badge { position: absolute; top: 18px; left: 18px; z-index: 1; }
.detail-thumbnails { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.detail-thumbnails button { width: 68px; height: 68px; padding: 3px; border: 1px solid var(--color-border); border-radius: 3px; background: #fff; cursor: pointer; }
.detail-thumbnails button[aria-pressed="true"] { border-color: var(--color-accent); }
.detail-thumbnails img { width: 100%; height: 100%; object-fit: contain; }
.detail-category { font-size: 13px; color: var(--color-text-muted); }
.detail-summary h1 { margin: 8px 0 16px; font-size: var(--title-page-size); line-height: 1.2; font-weight: var(--title-weight); overflow-wrap: anywhere; }
.detail-rating { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; font-size: 13px; color: var(--color-text-muted); }
.detail-meta { display: flex; flex-wrap: wrap; gap: 12px; padding-block: 16px; border-bottom: 1px solid var(--color-border); font-size: 13px; color: var(--color-text-muted); }
.detail-meta b { font-weight: 500; color: var(--color-text-heading); }
.detail-stock.is-available { color: #3a7b50; }
.detail-price { display: flex; flex-wrap: wrap; gap: 12px; align-items: baseline; margin-top: 22px; }
.detail-price del { color: var(--color-text-muted); font-size: 18px; }
.detail-price ins { text-decoration: none; color: var(--color-accent); font-size: 28px; font-weight: 700; }
.detail-price-note { margin: 4px 0 16px; font-size: 13px; color: var(--color-text-muted); }
.detail-points { margin: -8px 0 16px; color: var(--color-text-muted); font-size: 14px; }
.detail-add { max-width: 240px; margin-bottom: 22px; }
.detail-add svg { color: inherit; }
.detail-add[aria-pressed="true"] { background: var(--color-accent-dark); border-color: var(--color-accent-dark); }
.detail-logistics { border-top: 1px solid var(--color-border); padding-top: 16px; display: grid; gap: 16px; }
.detail-logistics article { display: grid; grid-template-columns: 26px minmax(0,1fr); gap: 12px; }
.detail-logistics svg { width: 24px; height: 24px; color: var(--color-accent); }
.detail-logistics h2 { margin: 0 0 5px; font-size: 15px; font-weight: 600; }
.detail-logistics p { margin: 0 0 5px; font-size: 13px; line-height: 1.5; color: var(--color-text-main); }
.detail-description-link { color: var(--color-accent-dark); font-size: 13px; text-decoration: underline; text-underline-offset: 4px; }
.detail-callback { display: grid; gap: 10px; background: var(--color-bg-soft); border-radius: 4px; padding: 20px; margin-top: 24px; }
.detail-discount-heading h2 span { display: inline-block; padding: 7px 9px; border-radius: 3px; background: var(--color-accent); color: #fff; font-size: 17px; font-weight: 700; white-space: nowrap; }
.detail-callback h2 { margin: 0; font-size: 18px; line-height: 1.3; font-weight: 600; }
.detail-callback > p { margin: 0; font-size: 13px; line-height: 1.55; }
.detail-form label, .detail-rating-input legend { display: block; font-size: 13px; font-weight: 500; color: var(--color-text-heading); }
.detail-form input:not([type="radio"]):not([type="checkbox"]):not([hidden]), .detail-form textarea { display: block; width: 100%; min-width: 0; padding: 10px 12px; background: #fff; border: 1px solid var(--color-border); border-radius: 3px; font: inherit; font-size: 14px; color: var(--color-text-heading); }
.detail-form input:focus, .detail-form textarea:focus { outline: 2px solid var(--color-accent); outline-offset: 2px; }
.detail-form textarea { resize: vertical; }
.detail-form input[hidden] { display: none; }
.detail-button { display: flex; justify-content: center; align-items: center; gap: 14px; width: 100%; padding: 12px 16px; border: 1px solid var(--color-accent); border-radius: 3px; background: var(--color-accent); color: #fff; font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; }
.detail-button:hover { background: var(--color-accent-hover); border-color: var(--color-accent-hover); }
.detail-benefits { margin-top: 38px; padding: 22px 0; border-top: 1px solid var(--color-border); border-bottom: 1px solid var(--color-border); }
.detail-benefits > h2 { margin: 0 0 18px; font-size: 20px; font-weight: 600; }
.detail-benefits > div { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 16px; }
.detail-benefits article svg { width: 34px; height: 34px; color: var(--color-accent); margin-bottom: 10px; }
.detail-benefits h3 { margin: 0 0 5px; font-size: 13px; line-height: 1.35; font-weight: 600; }
.detail-benefits p { margin: 0; font-size: 12px; line-height: 1.5; color: var(--color-text-muted); }
.detail-description { margin-top: 38px; scroll-margin-top: 20px; }
.detail-tabs { display: flex; flex-wrap: wrap; gap: 28px; border-bottom: 1px solid var(--color-border); }
.detail-tabs button { padding: 14px 0; border: 0; border-bottom: 2px solid transparent; background: none; font: inherit; font-size: 18px; font-weight: 600; color: var(--color-text-muted); cursor: pointer; }
.detail-tabs button[aria-selected="true"] { color: var(--color-text-heading); border-bottom-color: var(--color-accent); }
.detail-rich-content { padding-top: 22px; color: var(--color-text-main); font-size: 15px; line-height: 1.75; overflow-wrap: anywhere; }
.detail-rich-content :is(h1,h2,h3,h4) { font-family: var(--font-heading); font-size: 20px; line-height: 1.35; font-weight: 600; margin: 20px 0 12px; }
.detail-rich-content p { margin-bottom: 14px; }
.detail-rich-content img { max-width: 100%; height: auto; }
.detail-rich-content table { max-width: 100%; }
.detail-rich-content ul, .detail-rich-content ol { padding-left: 22px; margin-bottom: 16px; }
.detail-specifications { margin: 22px 0 0; font-size: 14px; }
.detail-specifications > div { display: grid; grid-template-columns: minmax(120px, 1fr) minmax(0, 2fr); gap: 20px; padding: 14px 18px; }
.detail-specifications > div:nth-child(odd) { background: var(--color-bg-soft); }
.detail-specifications dt { font-weight: 500; }
.detail-specifications dd { margin: 0; }
.detail-reviews { min-width: 0; border-left: 1px solid var(--color-border); padding-left: 26px; scroll-margin-top: 20px; }
.detail-reviews-heading { display: flex; gap: 10px; align-items: center; justify-content: space-between; }
.detail-reviews-heading h2 { font-size: 20px; font-weight: 600; margin: 0; }
.detail-reviews-heading > span { background: var(--color-bg-soft); border-radius: 4px; padding: 3px 9px; font-size: 13px; }
.detail-review-score { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 16px 0; }
.detail-review-score strong { font-size: 30px; color: var(--color-text-heading); font-weight: 600; }
.detail-review-score small { font-size: 14px; color: var(--color-text-muted); font-weight: 400; }
.detail-review-score a { font-size: 12px; color: var(--color-accent-dark); }
.detail-review { padding: 16px 0; border-bottom: 1px solid var(--color-border); font-size: 14px; line-height: 1.65; overflow-wrap: anywhere; }
.detail-review:first-child { padding-top: 0; }
.detail-review header { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 8px; }
.detail-review header strong { font-weight: 600; color: var(--color-text-heading); }
.detail-review time { font-size: 11px; color: var(--color-text-muted); }
.detail-review-stars { display: block; color: #c7cbc9; margin: 5px 0 8px; letter-spacing: 1px; font-size: 16px; }
.detail-review-stars > span { color: var(--color-star-yellow); }
.detail-review p { margin: 6px 0; }
.detail-review-answer { margin-top: 12px; padding: 12px; background: var(--color-bg-soft); border-radius: 3px; }
.detail-review-form { display: grid; gap: 14px; margin-top: 24px; scroll-margin-top: 20px; }
.detail-review-form h3 { font-size: 18px; font-weight: 600; margin: 0; }
.detail-review-form label > :is(input, textarea) { margin-top: 6px; }
.detail-rating-input { padding: 0; margin: 0; border: 0; }
.detail-rating-input > div { display: flex; gap: 6px; width: fit-content; margin-top: 4px; }
.detail-rating-input label { display: grid; cursor: pointer; }
.detail-rating-input input, .detail-rating-input label > span[aria-hidden] { grid-area: 1 / 1; }
.detail-rating-input input { opacity: 0; width: 28px; height: 32px; margin: 0; cursor: pointer; }
.detail-rating-input label > span[aria-hidden] { color: var(--color-star-yellow); font-size: 28px; line-height: 32px; pointer-events: none; }
.detail-rating-input label:has(input:checked) ~ label > span[aria-hidden] { color: #d4d7d5; }
.detail-rating-input label:has(input:focus-visible) { outline: 2px solid var(--color-accent); border-radius: 3px; }
.detail-form-pair { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 12px; }
.detail-review-extra { font-size: 12px; }
.detail-review-extra summary { cursor: pointer; color: var(--color-text-muted); }
.detail-review-extra label { margin-top: 12px; }
.detail-form .detail-notify { display: flex; align-items: start; gap: 8px; font-weight: 400; font-size: 12px; color: var(--color-text-main); }
.detail-notify input { flex: 0 0 auto; accent-color: var(--color-accent); }
.detail-form-note { margin: 0; font-size: 11px; line-height: 1.5; color: var(--color-text-muted); }
.detail-notice { color: #287644; background: #f0f6f1; padding: 12px; font-size: 13px; }
.detail-error { color: #b22222; font-size: 13px; }
.detail-no-reviews { font-size: 13px; }
.detail-related { margin-top: 56px; border-top: 1px solid var(--color-border); padding-top: 32px; }
.detail-related > header { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-bottom: 26px; }
.detail-related h2 { margin: 0; font-size: var(--title-section-size); font-weight: var(--title-weight); }
.detail-related > header a { font-size: 14px; color: var(--color-text-muted); }
.detail-related .detail-related-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 28px; }
.help-dialog { width: min(440px, calc(100% - 32px)); max-height: calc(100dvh - 32px); margin: auto; padding: 28px; border: 1px solid var(--color-border); border-radius: 8px; box-shadow: 0 18px 60px #10253333; color: var(--color-text-heading); }
.help-dialog::backdrop { background: #16283880; }
.help-dialog[open] { animation: help-dialog-in .25s ease-out both; }
.help-dialog[open]::backdrop { animation: favorites-backdrop-in .25s ease-out both; }
@keyframes help-dialog-in { from { opacity: 0; transform: translateY(18px) scale(.97); } to { opacity: 1; transform: translateY(0) scale(1); } }
.help-dialog > header { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 20px; }
.help-dialog h2 { margin: 0; font-size: 23px; line-height: 1.25; }
.help-dialog [data-close-help] { border: 0; background: none; color: var(--color-text-heading); font-size: 28px; line-height: 1; cursor: pointer; }
.help-dialog form { display: grid; gap: 16px; }
.help-dialog form > label:not(.help-dialog__message) { display: grid; gap: 7px; font-size: 14px; font-weight: 600; }
.help-dialog form > label input:not([type="checkbox"]) { width: 100%; min-width: 0; padding: 12px 13px; border: 1px solid var(--color-border); border-radius: 4px; font: inherit; }
.help-dialog form > label input:focus { outline: 2px solid var(--color-accent); outline-offset: 2px; }
.help-dialog .form-honeypot { display: none; }
.help-dialog__message { display: flex; align-items: center; gap: 9px; font-size: 14px; cursor: pointer; }
.help-dialog__message input { accent-color: var(--color-accent); }
.help-dialog form > button { width: 100%; padding: 13px; border: 0; border-radius: 4px; background: var(--color-accent); color: white; font: inherit; font-weight: 700; cursor: pointer; }
.help-dialog form > button:hover { background: var(--color-accent-hover); }
.favorites-dialog { position: fixed; inset: 0 0 0 auto; width: min(520px, 100%); height: 100dvh; max-height: 100dvh; margin: 0 0 0 auto; padding: 28px; overflow-y: auto; border: 0; border-left: 1px solid var(--color-border); border-radius: 0; box-shadow: -12px 0 40px #0002; color: var(--color-text-heading); }
.favorites-dialog::backdrop { background: #16283880; }
.favorites-dialog[open] { animation: favorites-slide-in .3s ease-out both; }
.favorites-dialog[open]::backdrop { animation: favorites-backdrop-in .3s ease-out both; }
@keyframes favorites-slide-in { from { transform: translateX(100%); } to { transform: translateX(0); } }
@keyframes favorites-backdrop-in { from { background: #16283800; } to { background: #16283880; } }
@media (prefers-reduced-motion: reduce) {
  .favorites-dialog[open], .favorites-dialog[open]::backdrop, .help-dialog[open], .help-dialog[open]::backdrop { animation: none; }
}
.favorites-dialog > header { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 5px; }
.favorites-dialog h2 { margin: 0; font-size: 23px; font-weight: 600; }
.favorites-dialog [data-close-favorites] { border: 0; background: none; font-size: 28px; line-height: 1; cursor: pointer; }
.favorites-note { margin: 0 0 18px; color: var(--color-text-muted); font-size: 13px; }
.favorites-item { display: grid; grid-template-columns: 82px minmax(0,1fr) 26px; gap: 16px; align-items: center; padding: 14px 0; border-top: 1px solid var(--color-border); }
.favorites-item img { width: 82px; height: 82px; object-fit: contain; border: 1px solid var(--color-border); border-radius: 4px; }
.favorites-item a { display: block; font-size: 15px; font-weight: 600; color: var(--color-text-heading); }
.favorites-item__pricing { display: flex; align-items: baseline; gap: 12px; margin-top: 5px; }
.favorites-item__pricing del { color: var(--color-text-muted); font-size: 13px; }
.favorites-item__points { margin-top: 4px; color: var(--color-text-muted); font-size: 12px; }
.favorites-item strong { color: var(--color-accent); font-size: 16px; }
.favorites-item__quantity { display: inline-flex; align-items: center; border: 1px solid var(--color-border); border-radius: 4px; margin-top: 9px; }
.favorites-item__quantity button { width: 30px; height: 28px; border: 0; background: #f3f5f5; color: var(--color-text-heading); cursor: pointer; }
.favorites-item__quantity button:disabled { opacity: .35; cursor: default; }
.favorites-item__quantity span { min-width: 28px; text-align: center; font-size: 13px; }
.favorites-item__remove { border: 0; background: none; font-size: 23px; cursor: pointer; color: var(--color-text-muted); }
.favorites-totals { display: grid; grid-template-columns: 1fr auto; gap: 7px 20px; padding: 18px 0; border-top: 1px solid var(--color-border); }
.favorites-totals del { color: var(--color-text-muted); }
.favorites-totals [data-favorites-total] { color: var(--color-accent); font-size: 23px; }
.favorites-totals [data-favorites-points-total] { color: var(--color-accent); font-weight: 700; }
.favorites-promotion { padding: 20px; background: #f5f6f4; border-radius: 6px; }
.favorites-promotion__heading { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.favorites-promotion__heading span { font-size: 19px; font-weight: 700; }
.favorites-promotion__heading small { color: var(--color-text-muted); }
.favorites-promotion p { margin: 7px 0 12px; color: var(--color-text-muted); font-size: 13px; }
.favorites-promotion .favorites-promotion__eligible { color: var(--color-text-heading); font-weight: 700; }
.favorites-promotion__term { display: inline-block; margin: 0 7px 8px 0; padding: 7px 10px; border-radius: 4px; background: white; font-size: 13px; }
.favorites-promotion__gifts { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 10px; margin-top: 6px; }
.favorites-promotion__gifts a { display: flex; flex-direction: column; align-items: center; gap: 5px; padding: 9px; background: white; border: 1px solid var(--color-border); border-radius: 4px; text-align: center; color: var(--color-text-heading); font-size: 12px; }
.favorites-promotion__gifts img { width: 100%; height: 88px; object-fit: contain; }
.favorites-promotion__gifts strong { margin-top: auto; color: var(--color-accent); }
.favorites-checkout { margin-top: 22px; }
.favorites-checkout h3 { margin: 0; font-size: 20px; }
.favorites-checkout p { margin: 6px 0 15px; color: var(--color-text-muted); font-size: 13px; }
.favorites-checkout__fields { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.favorites-checkout__fields label { display: grid; gap: 6px; font-size: 13px; font-weight: 600; }
.favorites-checkout__fields input { min-width: 0; width: 100%; padding: 11px 12px; border: 1px solid var(--color-border); border-radius: 4px; font: inherit; }
.favorites-checkout__message { display: flex; align-items: center; gap: 8px; margin: 15px 0; font-size: 14px; }
.favorites-checkout__message input { accent-color: var(--color-accent); }
.favorites-checkout > button { width: 100%; padding: 13px; border: 0; border-radius: 4px; background: var(--color-accent); color: white; font: inherit; font-weight: 700; cursor: pointer; }
.favorites-checkout > button:disabled { opacity: .5; cursor: default; }
.favorites-checkout__question { display: grid; gap: 6px; margin-top: 14px; font-size: 13px; font-weight: 600; }
.favorites-checkout__question textarea { width: 100%; padding: 11px 12px; border: 1px solid var(--color-border); border-radius: 4px; font: inherit; resize: vertical; }
.favorites-message { padding: 12px; border-radius: 4px; font-size: 14px; }
.favorites-message--success { background: #e8f8f0; color: #0d6832; }
.favorites-message--error { background: #fde8e8; color: #9b1c1c; }
.favorites-status { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
@media (max-width: 600px) {
  .favorites-dialog { padding: 18px; }
  .favorites-promotion__heading { display: block; }
  .favorites-promotion__heading small { display: block; margin-top: 4px; }
  .favorites-promotion__gifts { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .favorites-checkout__fields { grid-template-columns: 1fr; }
}
@media (max-width: 1199px) {
  .detail-layout { grid-template-columns: minmax(0, 1fr) 320px; gap: 24px; }
  .detail-hero { gap: 22px; }
  .detail-summary h1 { font-size: 26px; }
  .detail-reviews { padding-left: 20px; }
  .detail-callback { padding: 16px; }
  .detail-related .detail-related-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .detail-benefits > div { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 991px) {
  .detail-layout { grid-template-columns: minmax(0, 1fr); }
  .detail-reviews { border-left: 0; border-top: 1px solid var(--color-border); padding: 24px 0 0; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px 28px; }
  .detail-reviews-heading, .detail-review-score, .detail-review-list { grid-column: 1; }
  .detail-review-score { margin: 0; }
  .detail-review-form { grid-column: 2; grid-row: 1 / span 3; margin: 0; }
}
@media (max-width: 600px) {
  .detail-breadcrumbs { font-size: 12px; padding-block: 16px 20px; }
  .detail-hero { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .detail-summary h1 { font-size: 26px; }
  .detail-description { margin-top: 24px; }
  .detail-tabs { gap: 20px; }
  .detail-tabs button { font-size: 16px; }
  .detail-reviews { display: block; }
  .detail-review-score { margin: 16px 0; }
  .detail-review-form { margin-top: 24px; }
  .detail-related { margin-top: 32px; }
  .detail-related h2 { font-size: 24px; }
  .detail-related .detail-related-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 12px; }
  .detail-benefits { margin-top: 26px; }
  .detail-add { max-width: none; }
}

/* Responsive Grid Adaptations */
@media (max-width: 1200px) {
  .product-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 860px) {
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-3);
  }
}

@media (max-width: 480px) {
  .product-grid {
    grid-template-columns: 1fr;
  }
}

/* News & Blog Pages */
.page-heading {
  margin-bottom: var(--space-8);
}

.page-heading h1 {
  font-family: var(--font-heading);
  font-size: var(--title-page-size);
  font-weight: var(--title-weight);
  color: var(--color-text-heading);
  margin-bottom: var(--space-2);
}

.page-heading p {
  color: var(--color-text-muted);
  font-size: var(--fs-base);
  max-width: 680px;
}

.news-page .breadcrumbs {
  margin-bottom: var(--space-3);
}

.news-page__heading {
  margin-bottom: var(--space-5);
}

.news-page__heading h1 {
  margin: 0;
  font-size: var(--title-page-size);
}

.news-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: var(--space-10);
  align-items: start;
}

.news-list {
  min-width: 0;
}

.news-card {
  display: grid;
  grid-template-columns: min(38%, 480px) minmax(0, 1fr);
  gap: var(--space-8);
  align-items: start;
  margin-bottom: var(--space-7);
}

.news-card__image {
  display: block;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: var(--radius-md);
  background: var(--color-bg-soft);
}

.news-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-normal);
}

.news-card:hover .news-card__image img {
  transform: scale(1.03);
}

.news-card__body {
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-self: stretch;
}

.news-card__body time,
.news-card__body .text-link {
  align-self: flex-start;
}

.news-card__body .text-link {
  margin-top: auto;
}

.news-card__body time,
.article-header time {
  display: inline-flex;
  padding: 5px 11px;
  margin-bottom: var(--space-5);
  border-radius: var(--radius-pill);
  background: var(--color-bg-soft);
  font-size: var(--fs-sm);
  font-weight: var(--fw-medium);
  color: var(--color-text-main);
}

.news-card__body h2 {
  margin: 0 0 var(--space-4);
  font-size: var(--fs-3xl);
  font-weight: var(--title-weight);
  line-height: 1.28;
  overflow-wrap: anywhere;
}

.news-card__body h2 a:hover,
.news-sidebar__item:hover strong {
  color: var(--color-accent-dark);
}

.news-card__body p {
  margin-bottom: var(--space-5);
  font-size: var(--fs-body);
  line-height: var(--lh-relaxed);
  color: var(--color-text-main);
}

.news-sidebar {
  display: grid;
  gap: var(--space-10);
  min-width: 0;
}

.news-sidebar__intro {
  padding: var(--space-7);
  border-radius: var(--radius-md);
  background: var(--color-bg-soft);
}

.news-sidebar__intro > span {
  color: var(--color-accent-dark);
  font-size: var(--fs-xs);
  font-weight: var(--fw-bold);
  letter-spacing: .06em;
}

.news-sidebar__intro h2 {
  margin: var(--space-3) 0;
  font-size: var(--title-section-size);
}

.news-sidebar__intro p {
  margin-bottom: var(--space-5);
  font-size: var(--fs-base);
  color: var(--color-text-main);
}

.news-sidebar__intro strong {
  color: var(--color-accent-dark);
  font-size: var(--fs-caption);
}

.news-sidebar__latest h2 {
  margin: 0 0 var(--space-5);
  padding-bottom: var(--space-3);
  border-bottom: 1px solid var(--color-border);
  font-size: var(--fs-base);
  font-weight: var(--fw-bold);
}

.news-sidebar__item {
  display: grid;
  grid-template-columns: 80px minmax(0, 1fr);
  gap: var(--space-3);
  align-items: start;
  margin-bottom: var(--space-4);
}

.news-sidebar__item img {
  width: 80px;
  height: 70px;
  object-fit: cover;
  border-radius: var(--radius-sm);
}

.news-sidebar__item strong {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  color: var(--color-text-heading);
  font-size: var(--fs-sm);
  font-weight: var(--fw-semibold);
  line-height: 1.35;
}

.news-sidebar__item time {
  display: block;
  margin-top: 5px;
  color: var(--color-text-muted);
  font-size: var(--fs-xs);
}

.text-link {
  font-size: var(--fs-caption);
  font-weight: var(--fw-bold);
  color: var(--color-accent);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: gap var(--transition-fast);
}

.text-link:hover {
  gap: 8px;
  color: var(--color-primary);
}

/* Article Single Page */
.article-page {
  min-width: 0;
}

.article-header {
  margin-bottom: var(--space-6);
}

.article-header h1 {
  font-family: var(--font-heading);
  font-size: var(--title-page-size);
  font-weight: var(--title-weight);
  color: var(--color-text-heading);
  line-height: var(--title-line-height);
  margin-bottom: var(--space-3);
}

.article-cover {
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-bottom: var(--space-8);
  aspect-ratio: 16 / 9;
  background: var(--color-bg-soft);
}

.article-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.article-content {
  font-size: var(--fs-md);
  color: var(--color-text-dark);
  line-height: var(--lh-relaxed);
}

.article-content p {
  margin-bottom: var(--space-4);
}

.article-content h2,
.article-content h3 {
  font-family: var(--font-heading);
  color: var(--color-text-heading);
  margin-top: var(--space-8);
  margin-bottom: var(--space-3);
}

.article-content ul,
.article-content ol {
  padding-left: var(--space-6);
  margin-bottom: var(--space-4);
}

.article-content li {
  margin-bottom: var(--space-2);
}

.article-page__back {
  margin-top: var(--space-8);
}

@media (max-width: 1200px) {
  .news-layout {
    grid-template-columns: 1fr;
    gap: var(--space-7);
  }

  .news-card {
    gap: var(--space-5);
  }

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

@media (max-width: 640px) {
  .news-card,
  .news-sidebar {
    grid-template-columns: 1fr;
  }

  .news-card {
    gap: var(--space-4);
    margin-bottom: var(--space-8);
  }

  .news-card__image {
    aspect-ratio: 16 / 10;
  }

  .news-card__body h2 {
    font-size: var(--fs-xl);
  }

  .article-header h1 {
    font-size: var(--title-page-size);
  }
}

/* Information Pages: About, Payment, Work */
.information-page {
  padding-bottom: var(--space-16);
}

.information-hero {
  background: linear-gradient(135deg, rgba(5, 164, 204, 0.08) 0%, rgba(22, 50, 79, 0.04) 100%);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-10) var(--space-8);
  margin-bottom: var(--space-10);
}

.information-hero .section-kicker {
  font-size: var(--fs-xs);
  font-weight: var(--fw-bold);
  color: var(--color-accent);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  display: block;
  margin-bottom: var(--space-2);
}

.information-hero h1 {
  font-family: var(--font-heading);
  font-size: var(--title-page-size);
  font-weight: var(--title-weight);
  color: var(--color-text-heading);
  margin-bottom: var(--space-3);
}

.information-hero p {
  font-size: var(--fs-md);
  color: var(--color-text-muted);
  max-width: 720px;
  line-height: var(--lh-relaxed);
  margin: 0;
}

.information-split {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: var(--space-10);
  align-items: center;
  margin-bottom: var(--space-14);
}

.information-split img {
  width: 100%;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
}

.information-split h2 {
  font-family: var(--font-heading);
  font-size: var(--title-section-size);
  font-weight: var(--title-weight);
  color: var(--color-text-heading);
  margin-bottom: var(--space-4);
}

.information-split p {
  font-size: var(--fs-base);
  color: var(--color-text-main);
  line-height: var(--lh-relaxed);
  margin-bottom: var(--space-5);
}

.information-split ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.information-split li {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  font-size: var(--fs-base);
  color: var(--color-text-dark);
}

.information-split li span {
  color: var(--color-accent);
  font-weight: var(--fw-bold);
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
  margin-bottom: var(--space-14);
}

.values-grid article {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-xs);
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

.values-grid article:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-hover);
}

.values-grid article img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.values-grid article > div {
  padding: var(--space-5);
}

.values-grid article span {
  font-size: var(--fs-xs);
  font-weight: var(--fw-bold);
  color: var(--color-accent);
}

.values-grid article h3 {
  font-family: var(--font-heading);
  font-size: var(--title-card-size);
  font-weight: var(--title-weight);
  color: var(--color-text-heading);
  margin-top: var(--space-1);
  margin-bottom: var(--space-2);
}

.values-grid article p {
  font-size: var(--fs-caption);
  color: var(--color-text-muted);
  line-height: var(--lh-relaxed);
  margin: 0;
}

/* Payment Cards */
.information-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
  margin-bottom: var(--space-14);
}

.information-cards article {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: var(--space-6);
  position: relative;
  transition: transform var(--transition-normal);
}

.information-cards article:hover {
  transform: translateY(-3px);
  border-color: var(--color-accent);
}

.information-cards article > span {
  font-size: var(--fs-2xl);
  font-weight: var(--fw-extrabold);
  color: var(--color-accent);
  opacity: 0.35;
  display: block;
  margin-bottom: var(--space-2);
}

.information-cards article h2 {
  font-family: var(--font-heading);
  font-size: var(--title-card-size);
  font-weight: var(--title-weight);
  color: var(--color-text-heading);
  margin-bottom: var(--space-3);
}

.information-cards article p {
  font-size: var(--fs-caption);
  color: var(--color-text-muted);
  line-height: var(--lh-relaxed);
}

.information-cards article ul {
  padding-left: var(--space-5);
  margin-top: var(--space-3);
  font-size: var(--fs-caption);
  color: var(--color-text-muted);
}

/* Work Section */
.work-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-10);
  align-items: flex-start;
}

.work-intro img {
  width: 100%;
  border-radius: var(--radius-md);
  margin: var(--space-5) 0;
}

.work-accordion details {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  margin-bottom: var(--space-3);
  overflow: hidden;
}

.work-accordion summary {
  padding: var(--space-4) var(--space-5);
  font-weight: var(--fw-bold);
  color: var(--color-text-heading);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  list-style: none;
}

.work-accordion summary::-webkit-details-marker {
  display: none;
}

.work-accordion summary span {
  color: var(--color-accent);
  margin-right: var(--space-3);
}

.work-accordion details div {
  padding: 0 var(--space-5) var(--space-4);
  font-size: var(--fs-caption);
  color: var(--color-text-muted);
  line-height: var(--lh-relaxed);
}

@media (max-width: 992px) {
  .information-split,
  .work-layout {
    grid-template-columns: 1fr;
  }
  .values-grid,
  .information-cards {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .values-grid,
  .information-cards {
    grid-template-columns: 1fr;
  }
}

.about-page-hero { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(280px, .8fr); align-items: center; min-height: 480px; gap: clamp(24px, 5vw, 70px); padding: clamp(36px, 5vw, 76px); margin-bottom: clamp(56px, 7vw, 96px); overflow: hidden; border-radius: var(--radius-md); background: #102b3d; }
.about-page-hero__copy { position: relative; z-index: 1; }
.about-page-hero .section-kicker { display: block; margin-bottom: 22px; color: #64d5eb; font-size: 13px; font-weight: 800; letter-spacing: .12em; }
.about-page-hero h1 { max-width: 750px; margin: 0 0 24px; color: #fff; font-size: clamp(34px, 3.2vw, 54px); line-height: 1.1; }
.about-page-hero p { max-width: 690px; margin: 0 0 30px; color: #e0edf1; font-size: clamp(16px, 1.25vw, 19px); line-height: 1.7; }
.about-page-hero img { width: 100%; max-width: 520px; justify-self: center; filter: drop-shadow(0 22px 30px rgba(0,0,0,.22)); }
.about-page-benefits { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 7vw, 110px); align-items: start; margin-bottom: clamp(60px, 8vw, 110px); }
.about-page-benefits .section-kicker, .about-page-values .section-kicker { display: block; margin-bottom: 14px; color: var(--color-accent); font-size: 13px; font-weight: 800; letter-spacing: .1em; }
.about-page-benefits h2, .about-page-values h2 { margin: 0 0 20px; color: var(--color-text-heading); font-size: clamp(27px, 2.5vw, 40px); line-height: 1.2; }
.about-page-benefits p { max-width: 620px; margin: 0; color: var(--color-text-main); line-height: 1.65; }
.about-page-benefits ul { display: grid; gap: 0; padding: 0; margin: 0; list-style: none; }
.about-page-benefits li { display: flex; align-items: center; gap: 18px; min-height: 72px; padding: 16px 0; border-bottom: 1px solid #dce5e4; color: var(--color-text-heading); font-weight: 600; }
.about-page-benefits li:first-child { border-top: 1px solid #dce5e4; }
.about-page-benefits li span { display: grid; place-items: center; flex: 0 0 34px; width: 34px; height: 34px; border-radius: 50%; background: #e8f8fa; color: #069abd; }
.about-page-values { display: grid; grid-template-columns: minmax(0, .5fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 90px); padding: clamp(30px, 5vw, 70px); border-radius: var(--radius-md); background: #f1f8f8; }
.about-page-values__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 34px; }
.about-page-values article { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 12px; padding-top: 18px; border-top: 2px solid #91d4df; }
.about-page-values article > span { color: var(--color-accent); font-weight: 800; }
.about-page-values h3 { margin: 0 0 9px; color: var(--color-text-heading); font-size: clamp(17px, 1.3vw, 21px); line-height: 1.3; }
.about-page-values p { margin: 0; color: var(--color-text-main); line-height: 1.6; }
.about-page-guide { padding-block: clamp(60px, 8vw, 110px) 30px; }
.about-page-guide__heading { max-width: 760px; margin-bottom: 34px; }
.about-page-guide .section-kicker { display: block; margin-bottom: 14px; color: var(--color-accent); font-size: 13px; font-weight: 800; letter-spacing: .1em; }
.about-page-guide h2 { margin: 0 0 16px; color: var(--color-text-heading); font-size: clamp(27px, 2.5vw, 40px); line-height: 1.2; }
.about-page-guide__heading p { margin: 0; color: var(--color-text-main); line-height: 1.7; }
.about-page-guide__steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-bottom: 28px; }
.about-page-guide__steps article { padding: clamp(22px, 2.5vw, 36px); border: 1px solid #dce5e4; border-radius: var(--radius-md); background: #fff; }
.about-page-guide__steps article > span { color: var(--color-accent); font-size: 13px; font-weight: 800; }
.about-page-guide h3 { margin: 18px 0 10px; color: var(--color-text-heading); font-size: clamp(18px, 1.4vw, 22px); line-height: 1.3; }
.about-page-guide__steps p { margin: 0; color: var(--color-text-main); line-height: 1.65; }
.about-page-guide > a { color: var(--color-accent); font-weight: 700; text-decoration: underline; text-underline-offset: 4px; }
@media (max-width: 900px) {
  .about-page-hero { grid-template-columns: 1fr; }
  .about-page-hero img { max-width: 360px; }
  .about-page-values { grid-template-columns: 1fr; }
  .about-page-guide__steps { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .about-page-hero { min-height: 0; padding: 30px 24px; }
  .about-page-hero img { width: min(80%, 280px); }
  .about-page-benefits, .about-page-values__list { grid-template-columns: 1fr; }
  .about-page-values { padding: 30px 24px; }
}

/* Catalog layout, measured against the reference shop. */
.shop-catalog { --shop-gap: 60px; --shop-sidebar: 280px; }
.shop-container { width: min(1650px, calc(100% - 48px)); margin-inline: auto; }
.shop-heading { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 24px; padding-block: 24px 27px; }
.shop-breadcrumbs { grid-column: 1; display: flex; flex-wrap: wrap; align-items: center; gap: 9px; margin: 0; color: var(--color-text-muted); font-size: 14px; }
.shop-breadcrumbs a:hover { color: var(--color-accent); }
.shop-heading h1 { grid-column: 1; margin: 0; font-size: var(--title-section-size); font-weight: var(--title-weight); line-height: 1.2; }
.shop-home-sections { display: flex; flex-wrap: wrap; gap: 10px; padding-bottom: 22px; }
.shop-home-sections a { display: inline-flex; align-items: center; min-height: 42px; padding: 8px 16px; border: 1px solid var(--color-border); border-radius: 4px; color: var(--color-text-heading); font-size: 15px; font-weight: 600; }
.shop-home-sections a:hover, .shop-home-sections a[aria-current="page"] { border-color: var(--color-accent); color: var(--color-accent); }
.dept-menu__subitem a { padding-left: 32px; }
.shop-surface { background: var(--color-bg-soft); padding-block: 20px 72px; }
.shop-layout { display: grid; grid-template-columns: var(--shop-sidebar) minmax(0, 1fr); gap: var(--shop-gap); align-items: start; }
.shop-sidebar { min-width: 0; }
.shop-mobile-toggle { display: none; }
.shop-filter { margin-bottom: 38px; }
.shop-filter > summary { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding-bottom: 18px; margin-bottom: 22px; border-bottom: 1px solid #dadeda; list-style: none; cursor: pointer; font-size: 17px; line-height: 1.3; font-weight: 600; color: var(--color-text-heading); }
.shop-filter > summary::after { content: '+'; font-size: 21px; font-weight: 400; }
.shop-filter[open] > summary::after { content: '−'; }
.shop-filter > summary::-webkit-details-marker, .shop-mobile-toggle::-webkit-details-marker { display: none; }
.shop-category-search { display: flex; align-items: center; background: white; border: 1px solid var(--color-border); margin-bottom: 14px; padding-inline: 13px; }
.shop-category-search input { width: 100%; min-width: 0; padding: 11px 0; border: 0; background: transparent; font: inherit; font-size: 14px; outline: none; }
.shop-category-search > span:last-child { font-size: 24px; color: var(--color-text-heading); }
.shop-category-search:focus-within { outline: 2px solid var(--color-accent); outline-offset: 2px; }
.shop-category-options { display: grid; gap: 2px; }
.shop-option { display: flex; align-items: center; gap: 10px; padding: 7px 0; font-size: 15px; font-weight: 400; line-height: 1.35; cursor: pointer; }
.shop-option[hidden], .shop-categories-collapsed > .shop-option:nth-child(n + 8) { display: none; }
.shop-more-categories { margin-top: 12px; border: 0; padding: 0; background: transparent; color: var(--color-text-main); font: inherit; font-size: 14px; text-decoration: underline; text-underline-offset: 4px; cursor: pointer; }
.shop-option input { appearance: none; width: 15px; height: 15px; flex: 0 0 15px; border: 1px solid #d6dbd6; background: transparent; margin: 0; border-radius: 1px; }
.shop-option input:checked { border-color: var(--color-accent); background: var(--color-accent); box-shadow: inset 0 0 0 3px var(--color-bg-soft); }
.shop-option input[type="radio"] { border-radius: 50%; }
.shop-option small { margin-left: auto; font-size: 13px; color: var(--color-text-muted); }
.shop-option:has(input:checked) { color: var(--color-text-heading); }
.shop-category-links { display: grid; gap: 13px; font-size: 15px; }
.shop-category-links a[aria-current] { color: var(--color-accent); }
.shop-price-presets { display: grid; gap: 14px; margin-bottom: 22px; }
.shop-price-preset { display: flex; align-items: center; gap: 11px; padding: 0; background: transparent; border: 0; color: var(--color-text-main); font: inherit; font-size: 14px; cursor: pointer; text-align: left; }
.shop-price-preset > span { width: 15px; height: 15px; border: 1px solid #d6dbd6; }
.shop-price-preset[aria-pressed="true"] > span { background: var(--color-accent); border-color: var(--color-accent); box-shadow: inset 0 0 0 3px var(--color-bg-soft); }
.shop-price-fields { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr) minmax(105px, 1.6fr); gap: 8px; align-items: center; }
.shop-price-fields input { width: 100%; min-width: 0; height: 40px; padding: 8px; border: 1px solid var(--color-border); background: white; border-radius: 3px; font: inherit; font-size: 13px; }
.shop-price-fields button { height: 40px; padding: 0 10px; border: 0; border-radius: 3px; background: var(--color-accent); color: white; font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; }
.shop-hint { margin: 12px 0 0; font-size: 12px; color: var(--color-text-muted); }
.shop-rating { display: inline-flex; color: var(--color-star-yellow); letter-spacing: 1px; font-size: 18px; }
.shop-rating > span { color: #d2d4d1; }
.shop-reset { display: inline-block; font-size: 14px; text-decoration: underline; text-underline-offset: 4px; }
.shop-results { min-width: 0; background: white; padding: 24px 45px 40px; border-radius: 4px; scroll-margin-top: 24px; }
.shop-toolbar { grid-column: 2; grid-row: 1 / span 2; align-self: center; display: flex; align-items: center; gap: 20px; min-height: 40px; }
.shop-view-controls { display: flex; align-items: center; gap: 16px; }
.shop-view-controls button { display: flex; align-items: center; justify-content: center; padding: 5px; width: 32px; height: 32px; border: 0; background: transparent; color: var(--color-text-heading); cursor: pointer; }
.shop-view-controls button[aria-pressed="true"] { color: var(--color-accent); }
.shop-grid-icon { display: grid; grid-template-columns: repeat(var(--icon-columns), 3px); grid-auto-rows: 3px; gap: 2px; }
.shop-grid-icon i { border: 1px solid currentColor; }
.shop-list-icon { display: grid; gap: 4px; width: 20px; }
.shop-list-icon i { height: 3px; border-left: 3px solid currentColor; background: linear-gradient(to right, transparent 3px, currentColor 3px); }
.shop-products .product-card { padding: 0; border: 0; border-radius: 0; background: transparent; box-shadow: none; }
.shop-products .product-card:hover { box-shadow: none; transform: none; }
.shop-products .product-card__thumb { border: 1px solid var(--color-border); background: white; }
.shop-products .btn-add-wishlist { background-color: var(--color-accent); border-color: var(--color-accent); color: #ffffff; }
.shop-products .btn-add-wishlist svg { color: inherit; }
.shop-products .btn-add-wishlist:hover { background-color: var(--color-accent-hover); border-color: var(--color-accent-hover); }
@media (min-width: 1200px) {
    .shop-products[data-columns="list"] { grid-template-columns: minmax(0, 1fr); gap: 20px; }
    .shop-products[data-columns="list"] .product-card { display: grid; grid-template-columns: 210px minmax(0, 1fr); gap: 8px 28px; text-align: left; }
    .shop-products[data-columns="list"] .product-card__thumb { grid-column: 1; grid-row: 1 / span 5; margin: 0; }
    .shop-products[data-columns="list"] .product-card > :not(.product-card__thumb) { grid-column: 2; margin: 0; align-self: center; }
    .shop-products[data-columns="list"] .product-card__title { min-height: 0; }
    .shop-products[data-columns="list"] :is(.product-card__rating, .product-card__price) { justify-content: flex-start; }
    .shop-products[data-columns="list"] .product-card__footer { max-width: 220px; }
}
.shop-order-controls { display: flex; gap: 14px; align-items: center; }
.shop-order-controls label { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--color-text-muted); }
.shop-order-controls select { height: 40px; max-width: 195px; border: 1px solid var(--color-border); border-radius: 3px; background: white; padding: 0 12px; font: inherit; color: var(--color-text-main); }
.shop-products { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 40px; }
.shop-products[data-columns="3"] { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.shop-products[data-columns="5"] { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.shop-pagination { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--color-border); }
.shop-pagination p { margin: 0; color: var(--color-text-muted); font-size: 13px; }
.shop-catalog :is(button, input, select, a, summary):focus-visible { outline: 2px solid var(--color-accent); outline-offset: 3px; }
@media (max-width: 1500px) {
    .shop-catalog { --shop-sidebar: 270px; --shop-gap: 32px; }
    .shop-results { padding-inline: 26px; }
    .shop-products { gap: 28px 18px; }
}
@media (max-width: 1199px) {
    .shop-catalog { --shop-sidebar: 240px; --shop-gap: 24px; }
    .shop-container { width: calc(100% - 40px); }
    .shop-results { padding-inline: 20px; }
    .shop-products, .shop-products[data-columns] { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .shop-view-controls { display: none; }
    .shop-order-controls { width: 100%; justify-content: space-between; }
    .shop-price-fields { grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); }
    .shop-price-fields button { grid-column: 1 / -1; }
}
@media (max-width: 991px) {
    .shop-products, .shop-products[data-columns] { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .shop-per-page { flex-wrap: wrap; }
    .shop-order-controls select { max-width: 175px; }
}
@media (max-width: 767px) {
    .shop-container { width: calc(100% - 32px); }
    .shop-heading { grid-template-columns: minmax(0, 1fr); gap: 4px 24px; padding-block: 12px 14px; }
    .shop-breadcrumbs { font-size: 12px; }
    .shop-surface { padding-block: 16px 32px; }
    .shop-layout { grid-template-columns: minmax(0, 1fr); gap: 18px; }
    .shop-mobile-toggle { display: flex; align-items: center; justify-content: space-between; background: white; padding: 14px 16px; border: 1px solid var(--color-border); border-radius: 3px; font-size: 15px; font-weight: 600; list-style: none; cursor: pointer; }
    .shop-sidebar form { padding: 24px 8px 10px; }
    .shop-filter { margin-bottom: 28px; }
    .shop-price-fields { grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr) minmax(105px, 1.6fr); }
    .shop-price-fields button { grid-column: auto; }
    .shop-results { padding: 14px 10px 24px; scroll-margin-top: 12px; }
    .shop-toolbar { grid-column: 1; grid-row: auto; min-width: 0; margin-top: 8px; }
    .shop-order-controls { gap: 8px; }
    .shop-order-controls label { font-size: 12px; gap: 6px; }
    .shop-order-controls select { max-width: 160px; padding-inline: 7px; }
    .shop-products, .shop-products[data-columns] { gap: 18px 10px; }
    .shop-pagination { justify-content: center; gap: 16px; margin-top: 24px; }
    .shop-pagination .pagination { flex-wrap: wrap; justify-content: center; }
}

@media (max-width: 360px) {
    .shop-products,
    .shop-products[data-columns],
    .detail-related .detail-related-grid {
        grid-template-columns: 1fr;
    }
}

/* Russian marketing page follows the section order of legacy/RES/info5.php. */
.work-reference { display: grid; grid-template-columns: minmax(0, 1fr); min-width: 0; gap: clamp(38px, 4vw, 72px); color: var(--color-text-main); }
.work-reference > section, .work-reference__benefit-list, .work-reference__plan-scroll { min-width: 0; }
.work-reference :is(h1, h2, h3) { color: var(--color-text-heading); font-family: var(--font-heading); }
.work-reference p { line-height: 1.65; }
.work-reference__hero { display: grid; align-items: center; overflow: hidden; border-radius: var(--radius-md); background: #f5f3ef; }
.work-reference__hero > img, .work-reference__hero-copy { grid-area: 1 / 1; }
.work-reference__hero > img { width: 100%; height: clamp(350px, 29vw, 520px); object-fit: cover; }
.work-reference__hero-copy { position: relative; box-sizing: border-box; width: min(48%, 610px); margin-left: auto; padding: clamp(28px, 4vw, 64px); background: #ffffffdb; border-radius: var(--radius-md) 0 0 var(--radius-md); }
.work-reference__hero-copy .section-kicker, .work-reference__heading .section-kicker { display: block; margin-bottom: 10px; color: var(--color-accent-dark); font-size: 14px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; }
.work-reference__hero h1 { margin: 0 0 14px; font-size: clamp(29px, 2.4vw, 42px); line-height: 1.13; font-weight: 800; }
.work-reference__hero p { margin: 0 0 22px; font-size: clamp(16px, 1.1vw, 18px); }
.work-reference__hero .btn { display: inline-flex; align-items: center; gap: 12px; }
.work-reference__benefits { display: grid; grid-template-columns: minmax(0, 1fr) minmax(210px, 26%); gap: clamp(28px, 3vw, 54px); align-items: start; }
.work-reference__benefit-list { display: grid; }
.work-reference__benefit { display: grid; grid-template-columns: 50px minmax(0, 1fr); gap: 20px; padding: 22px 0; border-bottom: 1px solid var(--color-border); }
.work-reference__benefit:first-child { padding-top: 0; }
.work-reference__benefit > span, .work-reference__step > span { color: var(--color-accent); font-size: 28px; font-weight: 800; line-height: 1; }
.work-reference__benefit h2 { margin: 0 0 8px; font-size: clamp(19px, 1.4vw, 23px); font-weight: 750; line-height: 1.3; }
.work-reference__benefit p, .work-reference__benefit ul { margin: 0; font-size: 16px; }
.work-reference__benefit ul { padding-left: 20px; display: grid; gap: 5px; line-height: 1.5; }
.work-reference__catalog { display: grid; gap: 16px; padding: 22px; border: 1px solid var(--color-border); border-radius: var(--radius-md); background: #f7f7f4; color: var(--color-text-heading); text-align: center; font-weight: 700; }
.work-reference__catalog img { width: min(100%, 250px); margin-inline: auto; border-radius: 3px; }
.work-reference__catalog > span > span { color: var(--color-accent); }
.work-reference__image-banner { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); align-items: stretch; overflow: hidden; border-radius: var(--radius-md); background: #f4f3ef; }
.work-reference__image-banner > img { width: 100%; height: 100%; min-height: 325px; object-fit: cover; }
.work-reference__image-banner > div { padding: clamp(30px, 4vw, 60px); align-self: center; }
.work-reference__image-banner h2 { margin: 0 0 16px; font-size: clamp(25px, 2.1vw, 34px); line-height: 1.2; font-weight: 800; }
.work-reference__image-banner p { margin: 0 0 22px; font-size: 17px; }
.work-reference__image-banner .btn { display: inline-flex; align-items: center; gap: 12px; }
.work-reference__prose { max-width: 1000px; margin-inline: auto; font-size: 17px; }
.work-reference__prose p { margin: 0 0 18px; }
.work-reference__prose p:last-child { margin-bottom: 0; }
.work-reference__heading { margin-bottom: 24px; }
.work-reference__heading h2 { margin: 0; font-size: clamp(26px, 2vw, 34px); font-weight: 800; line-height: 1.2; }
.work-reference__plan { padding: clamp(24px, 3vw, 48px); border-radius: var(--radius-md); background: #f4f4f1; }
.work-reference__matrix { display: grid; gap: 4px; width: min(100%, 600px); margin: 0 auto 28px; }
.work-reference__matrix > div { display: flex; justify-content: flex-end; gap: 4px; }
.work-reference__matrix :is(strong, span) { display: grid; place-items: center; width: 18%; min-height: 38px; background: white; color: var(--color-text-heading); font-size: 15px; }
.work-reference__matrix strong { background: var(--color-accent); color: white; }
.work-reference__plan-scroll { width: 100%; overflow-x: auto; }
.work-reference__scroll-hint { display: none; }
.work-reference__plan table { width: 100%; min-width: 820px; border-collapse: collapse; background: #fff; font-size: 15px; }
.work-reference__plan th, .work-reference__plan td { padding: 15px 12px; border: 1px solid #dde3e5; text-align: center; white-space: nowrap; }
.work-reference__plan th:first-child { text-align: left; white-space: normal; min-width: 210px; }
.work-reference__plan thead th { background: #17384e; color: #fff; font-weight: 700; }
.work-reference__plan tbody th { background: #f8faf9; color: var(--color-text-heading); font-weight: 650; }
.work-reference__plan tbody tr:nth-child(even) td { background: #f9fbfb; }
.work-reference__plan tbody tr:nth-child(3) td { color: var(--color-accent-dark); font-weight: 800; }
.work-reference__steps { display: grid; }
.work-reference__step { display: grid; grid-template-columns: 55px minmax(0, 1fr); gap: 20px; padding: 22px 0; border-top: 1px solid var(--color-border); }
.work-reference__step h3 { margin: 0 0 8px; font-size: clamp(20px, 1.5vw, 24px); }
.work-reference__step p { margin: 0; font-size: 16px; }
.work-reference__step a { display: inline-block; margin-top: 12px; color: var(--color-accent-dark); font-weight: 700; }
.work-reference__leadership table { min-width: 680px; }
.work-reference__image-banner--contact { scroll-margin-top: 30px; }
.work-reference__image-banner--contact form { display: grid; gap: 9px; }
.work-reference__image-banner--contact label { color: var(--color-text-heading); font-size: 14px; font-weight: 700; }
.work-reference__image-banner--contact input:not(.form-honeypot) { width: 100%; min-width: 0; padding: 12px 14px; border: 1px solid var(--color-border); border-radius: 4px; background: white; font: inherit; }
.work-reference__image-banner--contact button { justify-content: center; margin-top: 8px; border: 0; cursor: pointer; }
.work-reference__image-banner--contact form p { margin: 0; font-size: 14px; }
@media (max-width: 900px) {
  .work-reference__hero-copy { width: min(60%, 610px); padding: 25px; }
  .work-reference__benefits { grid-template-columns: minmax(0, 1fr) 210px; gap: 22px; }
  .work-reference__catalog { padding: 12px; }
}
@media (max-width: 700px) {
  .work-reference__scroll-hint { display: block; margin: -8px 0 12px; color: var(--color-text-muted); font-size: 13px; }
  .work-reference { gap: 38px; }
  .work-reference__hero { display: flex; flex-direction: column; }
  .work-reference__hero > img { order: -1; height: 220px; }
  .work-reference__hero-copy { width: 100%; padding: 24px; background: transparent; }
  .work-reference__benefits, .work-reference__image-banner { grid-template-columns: minmax(0, 1fr); }
  .work-reference__catalog { max-width: 320px; margin-inline: auto; }
  .work-reference__image-banner > img { min-height: 0; height: 230px; }
  .work-reference__image-banner > div { padding: 24px; }
  .work-reference__benefit { grid-template-columns: 38px minmax(0, 1fr); gap: 14px; }
  .work-reference__benefit > span, .work-reference__step > span { font-size: 23px; }
  .work-reference__plan { padding: 18px; }
}
