﻿:root {
  --bg: #f4f6fb;
  --surface: #ffffff;
  --surface-soft: #eef3fa;
  --ink: #18223b;
  --muted: #667287;
  --line: rgba(24, 34, 59, 0.1);
  --primary: #12329b;
  --primary-dark: #0b1f66;
  --accent: #ef1228;
  --accent-dark: #bf091c;
  --success: #1f7143;
  --shadow: 0 24px 54px rgba(18, 34, 69, 0.1);
  --radius-xl: 28px;
  --radius-lg: 20px;
  --radius-md: 14px;
  --max-width: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "IBM Plex Sans", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(18, 50, 155, 0.08), transparent 22%),
    radial-gradient(circle at top right, rgba(239, 18, 40, 0.06), transparent 18%),
    linear-gradient(180deg, #fafcff 0%, #eef3fa 100%);
}

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

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

[hidden] {
  display: none !important;
}

.page-shell {
  width: min(calc(100% - 28px), var(--max-width));
  margin: 0 auto;
  padding: 20px 0 52px;
}

.topline {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 16px;
  margin-bottom: 12px;
  color: var(--muted);
  font-size: 0.88rem;
}

.site-header {
  position: sticky;
  top: 14px;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 24px;
  padding: 14px 18px;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid var(--line);
  border-radius: 999px;
  box-shadow: 0 10px 28px rgba(18, 34, 69, 0.08);
  backdrop-filter: blur(14px);
}

#promo,
#contatti {
  scroll-margin-top: 124px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}

.brand-logo {
  width: 138px;
  height: auto;
  flex: 0 0 auto;
}

.brand-copy {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.brand-copy strong,
.site-nav a,
.button,
h1,
h2,
h3,
.panel-label,
.stock-badge,
.price,
.promo-rank,
.promo-brand,
.hero-mini-highlights strong,
.hero-contact-card strong {
  font-family: "Barlow", sans-serif;
}

.brand-copy strong {
  font-size: 1.02rem;
}

.brand-copy small {
  color: var(--muted);
}

.site-nav {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.site-nav a {
  color: var(--muted);
  font-size: 0.98rem;
  font-weight: 600;
}

.header-cta-group,
.contact-actions,
.form-actions,
.admin-actions,
.hero-actions,
.hero-contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border: 0;
  border-radius: 999px;
  font-size: 0.97rem;
  font-weight: 700;
  cursor: pointer;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
}

.button-accent {
  color: #fff;
  background: linear-gradient(135deg, var(--accent), #ff4457);
  box-shadow: 0 16px 28px rgba(239, 18, 40, 0.18);
}

.button-dark {
  color: #fff;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
}

.button-light {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid var(--line);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(330px, 0.92fr);
  gap: 22px;
  align-items: start;
}

.hero-sales {
  padding: 0;
}

.hero-copy-sales {
  padding: 8px 0 0;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--accent-dark);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.8rem;
  font-weight: 700;
}

h1,
h2 {
  margin: 0;
  line-height: 0.98;
  letter-spacing: -0.03em;
}

h1 {
  max-width: 12ch;
  font-size: clamp(2.4rem, 4.8vw, 4.2rem);
}

h2 {
  max-width: 14ch;
  font-size: clamp(2rem, 4vw, 3rem);
}

h3 {
  margin: 0;
  font-size: 1.28rem;
}

.hero-text,
.section-heading p,
.promo-copy p,
.final-cta-card p,
.hero-contact-card p,
.hero-mini-highlights p,
.form-note {
  color: var(--muted);
  line-height: 1.65;
}

.hero-text {
  max-width: 60ch;
  margin: 14px 0 0;
  font-size: 1rem;
}

.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.hero-proof span,
.panel-label,
.stock-badge,
.promo-rank,
.filter-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  padding: 7px 11px;
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.hero-proof span {
  color: var(--primary);
  background: rgba(18, 50, 155, 0.08);
}

.hero-panel-sales {
  display: grid;
  gap: 14px;
}

.hero-contact-card,
.hero-mini-highlights article,
.section,
.promo-card,
.final-cta-card,
.quote-form,
.admin-card,
.admin-row,
.product-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
}

.hero-contact-card {
  padding: 24px;
  background:
    radial-gradient(circle at top right, rgba(239, 18, 40, 0.14), transparent 34%),
    linear-gradient(145deg, rgba(18, 50, 155, 0.98), rgba(11, 31, 102, 0.98));
  color: #fff;
}

.hero-contact-card p,
.hero-contact-card .panel-label {
  color: rgba(255, 255, 255, 0.8);
}

.hero-contact-card strong {
  display: block;
  margin: 12px 0 10px;
  font-size: 1.75rem;
  line-height: 1;
}

.hero-mini-highlights {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.hero-mini-highlights article {
  padding: 16px;
}

.hero-mini-highlights strong {
  display: block;
  margin-bottom: 8px;
  font-size: 1.02rem;
  color: var(--primary);
}

.sales-band {
  margin-top: 18px;
  overflow: hidden;
  border: 1px solid rgba(18, 50, 155, 0.08);
  border-radius: 20px;
  background: linear-gradient(90deg, var(--primary-dark) 0%, var(--primary) 100%);
}

.sales-band-track {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  padding: 14px 18px;
  color: rgba(255, 255, 255, 0.94);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-family: "Barlow", sans-serif;
  font-size: 0.76rem;
  font-weight: 700;
}

.sales-band-track span::after {
  content: "+";
  margin-left: 18px;
  color: rgba(255, 122, 136, 0.9);
}

.section {
  margin-top: 26px;
  padding: 30px;
}

.section-heading {
  display: grid;
  gap: 10px;
  margin-bottom: 22px;
}

.promo-heading-simple {
  max-width: 760px;
  gap: 12px;
}

.promo-grid,
.product-grid,
.brand-cloud {
  display: grid;
  gap: 18px;
}

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

.promo-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 20px;
  min-height: 100%;
  background: linear-gradient(180deg, rgba(255,255,255,0.99), rgba(246,249,253,0.95));
  border-top: 4px solid var(--accent);
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

.promo-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 26px 62px rgba(18, 34, 69, 0.14);
  border-top-color: var(--primary);
}

.promo-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.promo-rank {
  color: #fff;
  background: linear-gradient(135deg, var(--accent), #ff4457);
}

.promo-brand {
  margin: 0 0 8px;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.77rem;
  font-weight: 700;
}

.promo-copy h3 {
  min-height: 2.5em;
  margin-bottom: 10px;
}

.product-image {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: var(--surface-soft);
}

.product-image-placeholder {
  display: grid;
  place-items: center;
  color: #fff;
  font-family: "Barlow", sans-serif;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.promo-image-placeholder {
  background:
    radial-gradient(circle at top right, rgba(239, 18, 40, 0.2), transparent 34%),
    linear-gradient(135deg, rgba(18,50,155,0.98), rgba(11,31,102,0.98));
}

.promo-price-box {
  padding: 14px 16px;
  border-radius: 16px;
  background: rgba(239, 18, 40, 0.08);
}

.promo-price-box small {
  display: block;
  margin-bottom: 6px;
  color: var(--accent-dark);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.74rem;
  font-weight: 700;
}

.price {
  font-size: 1.9rem;
  font-weight: 800;
  line-height: 1;
  color: var(--primary);
}

.stock-badge {
  color: var(--success);
  background: rgba(31, 113, 67, 0.12);
}

.stock-badge.limited {
  color: #9c5a00;
  background: rgba(239, 18, 40, 0.1);
}

.promo-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: auto;
}

.inline-form {
  margin: 0;
}

.inline-form-fill {
  flex: 1 1 100%;
}

.inline-form-fill .button {
  width: 100%;
}

.final-cta-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 28px;
  background:
    radial-gradient(circle at top right, rgba(239, 18, 40, 0.14), transparent 34%),
    linear-gradient(145deg, rgba(18,50,155,0.98), rgba(11,31,102,0.98));
  color: #fff;
}

.final-cta-card p,
.final-cta-card .eyebrow {
  color: rgba(255, 255, 255, 0.82);
}

.catalog-toolbar,
.filter-group {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.filter-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  padding: 7px 11px;
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.96);
  color: var(--ink);
}

.filter-chip.active,
.filter-chip:hover,
.filter-chip:focus-visible {
  background: var(--primary);
  color: #fff;
}

.product-card {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 22px;
}

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

.price-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}

.price-label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  padding: 7px 11px;
  border-radius: 999px;
  color: var(--accent-dark);
  background: rgba(239, 18, 40, 0.1);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 0.76rem;
  font-weight: 700;
}

.brand-cloud {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.brand-cloud span {
  display: grid;
  place-items: center;
  min-height: 86px;
  padding: 16px;
  text-align: center;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  font-family: "Barlow", sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px 20px;
  padding: 26px 4px 0;
  color: var(--muted);
  font-size: 0.94rem;
}

.site-footer p {
  margin: 0;
}

.flash {
  margin: 0 0 18px;
  padding: 14px 18px;
  border-radius: 18px;
  font-weight: 600;
}

.flash-success {
  background: rgba(46, 125, 50, 0.12);
  color: #1b5e20;
  border: 1px solid rgba(46, 125, 50, 0.18);
}

.flash-error {
  background: rgba(183, 28, 28, 0.1);
  color: #8b1e1e;
  border: 1px solid rgba(183, 28, 28, 0.16);
}

.admin-shell {
  padding: 24px 0 56px;
}

.admin-card {
  margin-top: 0;
  padding: 28px;
}

.admin-topbar {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 24px;
}

.admin-table {
  display: grid;
  gap: 12px;
}

.admin-row {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1.3fr;
  gap: 12px;
  align-items: center;
  padding: 16px 18px;
}

.admin-row-head {
  font-family: "Barlow", sans-serif;
  font-weight: 700;
  background: rgba(18, 50, 155, 0.08);
}

.quote-form {
  display: grid;
  gap: 14px;
  padding: 24px;
}

.quote-form label {
  display: grid;
  gap: 8px;
  font-weight: 600;
}

.quote-form input,
.quote-form select,
.quote-form textarea,
.admin-row input,
.admin-actions select,
.inline-form select {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.96);
  color: var(--ink);
  font: inherit;
}

.quote-form input:focus,
.quote-form select:focus,
.quote-form textarea:focus {
  outline: 2px solid rgba(18, 50, 155, 0.2);
  border-color: rgba(18, 50, 155, 0.4);
}

.quote-form input[type="number"] {
  max-width: 180px;
}

@media (max-width: 1100px) {
  .hero,
  .final-cta-card,
  .admin-topbar,
  .admin-row {
    grid-template-columns: 1fr;
  }

  .promo-grid-4,
  .hero-mini-highlights,
  .product-grid,
  .brand-cloud {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .final-cta-card {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 860px) {
  .page-shell {
    width: min(calc(100% - 18px), var(--max-width));
    padding-top: 14px;
  }

  .topline,
  .site-nav,
  .header-cta-group {
    justify-content: center;
  }

  .site-header {
    position: static;
    flex-wrap: wrap;
    justify-content: center;
    border-radius: 28px;
  }

  .brand {
    flex-direction: column;
    text-align: center;
  }

  .brand-logo {
    width: 150px;
  }

  .hero,
  .promo-grid-4,
  .hero-mini-highlights,
  .product-grid,
  .brand-cloud {
    grid-template-columns: 1fr;
  }

  h1,
  h2 {
    max-width: 100%;
  }

  .hero-contact-card strong {
    font-size: 1.6rem;
  }

  .section,
  .hero-contact-card,
  .promo-card,
  .final-cta-card,
  .admin-card,
  .product-card {
    padding: 20px;
  }
}


.whatsapp-fab {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 60;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 58px;
  padding: 0 18px 0 14px;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(135deg, #25d366, #159947);
  box-shadow: 0 20px 40px rgba(21, 153, 71, 0.28);
  font-family: "Barlow", sans-serif;
  font-size: 1rem;
  font-weight: 700;
}

.whatsapp-fab:hover,
.whatsapp-fab:focus-visible {
  transform: translateY(-2px);
}

.whatsapp-fab-icon {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
}

.whatsapp-fab-icon svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.whatsapp-fab-text {
  line-height: 1;
}

@media (max-width: 860px) {
  .whatsapp-fab {
    right: 14px;
    bottom: 14px;
    min-height: 54px;
    padding: 0 14px;
  }

  .whatsapp-fab-text {
    display: none;
  }
}

.brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  min-width: 0;
}

.brand-copy {
  display: none;
}

.brand-logo {
  width: 212px;
  max-width: 100%;
  height: auto;
}

.site-header {
  gap: 22px;
  padding: 12px 18px;
}

.site-nav {
  margin-left: auto;
}

@media (max-width: 860px) {
  .brand {
    min-width: 0;
  }

  .brand-logo {
    width: 186px;
  }
}

.admin-search-bar {
  margin-bottom: 18px;
  padding: 18px 20px;
}

.admin-search-bar label {
  margin: 0;
}

.admin-results-meta {
  margin-bottom: 14px;
  color: var(--muted);
  font-size: 0.96rem;
}

.admin-results-meta strong {
  color: var(--primary);
  font-family: "Barlow", sans-serif;
  font-size: 1.1rem;
}

.admin-form-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(280px, 0.8fr);
  gap: 22px;
  align-items: start;
}

.checkbox-field {
  display: flex !important;
  align-items: center;
  gap: 10px;
}

.checkbox-field input {
  width: 18px !important;
  height: 18px;
  margin: 0;
}

.product-preview-card {
  display: grid;
  gap: 16px;
  position: sticky;
  top: 118px;
  padding: 24px;
  background: linear-gradient(180deg, rgba(255,255,255,0.98), rgba(244,247,252,0.96));
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
}

.product-preview-meta {
  display: grid;
  gap: 6px;
}

.product-preview-meta strong {
  font-family: "Barlow", sans-serif;
  font-size: 1.35rem;
}

.product-preview-meta span {
  color: var(--muted);
  line-height: 1.5;
}

.product-image-admin {
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 18px;
}

.product-image-admin-placeholder {
  min-height: 240px;
  background: linear-gradient(135deg, rgba(18, 50, 155, 0.96), rgba(11, 31, 102, 0.96));
}

@media (max-width: 1100px) {
  .admin-form-layout {
    grid-template-columns: 1fr;
  }

  .product-preview-card {
    position: static;
  }
}



.brand {
  min-width: auto;
}

.brand-logo {
  width: 248px;
  max-width: 100%;
  height: auto;
  object-fit: contain;
}

@media (max-width: 860px) {
  .brand-logo {
    width: 206px;
  }
}

.topline {
  display: none !important;
}

.site-header {
  display: grid;
  grid-template-columns: auto minmax(240px, 1fr) auto auto;
  align-items: center;
  gap: 18px;
  margin-bottom: 22px;
}

.header-meta {
  display: grid;
  gap: 4px;
  min-width: 0;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.35;
}

.header-meta span,
.header-meta a {
  white-space: nowrap;
}

.header-meta span:first-child {
  max-width: 240px;
  overflow: hidden;
  text-overflow: ellipsis;
}

.site-nav {
  margin-left: 0;
}

@media (max-width: 1200px) {
  .site-header {
    grid-template-columns: auto 1fr auto;
  }

  .header-meta {
  grid-column: 2 / 4;
  justify-content: flex-start;
}
}

@media (max-width: 860px) {
  .site-header {
    grid-template-columns: 1fr;
    justify-items: center;
  }

  .header-meta {
  grid-column: auto;
  justify-items: center;
  text-align: center;
  gap: 6px;
}

  .header-meta span:first-child {
  max-width: none;
  white-space: normal;
  overflow: visible;
  text-overflow: initial;
}

  .site-nav,
  .header-cta-group {
    justify-content: center;
  }
}

.promo-inline-form {
  display: grid;
  gap: 10px;
}

.promo-inline-check {
  justify-content: flex-start;
}

.promo-inline-order {
  display: grid;
  gap: 6px;
  font-weight: 600;
}

.promo-inline-order span {
  color: var(--muted);
  font-size: 0.82rem;
}

.promo-inline-order input {
  width: 90px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.96);
  color: var(--ink);
  font: inherit;
}


.section-promo {
  padding-top: 24px;
}

.promo-heading-simple {
  display: grid;
  grid-template-columns: minmax(280px, 0.95fr) minmax(280px, 1.05fr);
  align-items: end;
  gap: 16px 28px;
  max-width: none;
  margin-bottom: 18px;
}

.promo-heading-simple .eyebrow {
  grid-column: 1 / -1;
  margin-bottom: 0;
}

.promo-heading-simple h2 {
  max-width: 8ch;
  font-size: clamp(2.1rem, 4vw, 3.3rem);
}

.promo-heading-simple > p:last-child {
  max-width: 52ch;
  margin: 0;
}

@media (max-width: 900px) {
  .section-promo {
    padding-top: 20px;
  }

  .promo-heading-simple {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .promo-heading-simple h2,
  .promo-heading-simple > p:last-child {
    max-width: 100%;
  }
}

.section-final-cta {
  padding: 18px 22px;
}

.final-cta-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px 24px;
  padding: 20px 34px;
}

.final-cta-copy {
  display: grid;
  gap: 6px;
}

.final-cta-card .eyebrow {
  margin: 0;
  color: rgba(255, 255, 255, 0.74);
}

.final-cta-card h2 {
  max-width: 11ch;
  font-size: clamp(1.75rem, 3vw, 2.55rem);
  line-height: 0.98;
}

.final-cta-copy p:last-child {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  max-width: 40ch;
  line-height: 1.45;
}

.final-cta-actions {
  justify-content: flex-end;
  align-items: center;
}

.final-cta-actions .button {
  min-height: 46px;
  white-space: nowrap;
}

@media (max-width: 980px) {
  .final-cta-card {
    grid-template-columns: 1fr;
    padding: 20px 22px;
  }

  .final-cta-card h2,
  .final-cta-copy p:last-child {
    max-width: 100%;
  }

  .final-cta-actions {
    justify-content: flex-start;
  }
}

.promo-heading-simple {
  grid-template-columns: minmax(320px, 0.9fr) minmax(320px, 1.1fr);
  align-items: center;
  gap: 10px 32px;
  margin-bottom: 14px;
}

.promo-heading-simple h2 {
  max-width: none;
  font-size: clamp(2rem, 3.1vw, 2.9rem);
  line-height: 1.02;
}

.promo-heading-simple > p:last-child {
  max-width: 34ch;
  margin: 0;
  font-size: 1rem;
  line-height: 1.5;
}

.section-promo {
  padding-top: 18px;
}

@media (max-width: 900px) {
  .promo-heading-simple {
    grid-template-columns: 1fr;
    gap: 8px;
    margin-bottom: 16px;
  }

  .promo-heading-simple h2,
  .promo-heading-simple > p:last-child {
    max-width: 100%;
  }
}

.product-image-link {
  display: block;
  border-radius: 16px;
  overflow: hidden;
}

.product-image-link:hover .product-image,
.product-image-link:focus-visible .product-image {
  transform: scale(1.02);
}

.product-image {
  transition: transform 180ms ease;
}

.promo-copy h3 a,
.product-card-head h3 a {
  color: inherit;
}

.catalog-card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: auto;
}

.catalog-card-actions .inline-form {
  margin: 0;
}

.tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  padding: 7px 11px;
  border-radius: 999px;
  background: rgba(18, 50, 155, 0.08);
  color: var(--primary);
  font-family: "Barlow", sans-serif;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.product-detail-section {
  padding: 28px;
}

.product-detail-grid {
  display: grid;
  grid-template-columns: minmax(320px, 0.9fr) minmax(0, 1.1fr);
  gap: 24px;
  align-items: start;
}

.product-detail-media-card {
  padding: 22px;
  background: linear-gradient(180deg, rgba(255,255,255,0.98), rgba(244,247,252,0.94));
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
}

.product-detail-image,
.product-detail-image-placeholder {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  background: #fff;
}

.product-detail-copy {
  display: grid;
  gap: 16px;
  align-content: start;
}

.product-detail-copy h1 {
  max-width: 12ch;
}

.product-detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.product-detail-description {
  margin: 0;
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.7;
  max-width: 62ch;
}

.product-detail-price-box {
  width: fit-content;
  min-width: min(100%, 260px);
}

.product-detail-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.product-detail-actions .inline-form {
  margin: 0;
}

.product-detail-support {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.product-detail-support article {
  padding: 18px;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}

.product-detail-support strong {
  display: block;
  margin-bottom: 8px;
  font-family: "Barlow", sans-serif;
  font-size: 1rem;
  color: var(--primary);
}

.product-detail-support p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.product-detail-backlinks {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  font-weight: 600;
}

.product-detail-backlinks a {
  color: var(--primary);
}

@media (max-width: 900px) {
  .product-detail-grid,
  .product-detail-support {
    grid-template-columns: 1fr;
  }

  .product-detail-copy h1 {
    max-width: 100%;
  }
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 14px 18px;
}

.site-nav {
  margin-left: auto;
}

.hero-company {
  align-items: stretch;
}

.hero-company .hero-copy h1 {
  max-width: 11ch;
}

.hero-company .hero-text {
  max-width: 58ch;
}

.hero-mini-highlights-company article {
  min-height: 0;
}

.section-about {
  padding-top: 24px;
}

.section-heading-wide {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(320px, 1.1fr);
  gap: 18px 28px;
  align-items: end;
}

.section-heading-wide h2 {
  max-width: 11ch;
}

.section-heading-wide > p:last-child {
  margin: 0;
  max-width: 54ch;
}

.about-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.about-grid article {
  padding: 20px;
  background: linear-gradient(180deg, rgba(255,255,255,0.98), rgba(244,247,252,0.94));
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
}

.about-grid strong {
  display: block;
  margin-bottom: 10px;
  color: var(--primary);
  font-family: "Barlow", sans-serif;
  font-size: 1.06rem;
}

.about-grid p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

@media (max-width: 1200px) {
  .site-header {
    flex-wrap: wrap;
    justify-content: center;
  }

  .site-nav {
    margin-left: 0;
    justify-content: center;
  }
}

@media (max-width: 900px) {
  .section-heading-wide,
  .about-grid {
    grid-template-columns: 1fr;
  }

  .section-heading-wide h2,
  .section-heading-wide > p:last-child {
    max-width: 100%;
  }
}

.section-about-page {
  padding-top: 28px;
}

.final-cta-card-compact {
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px 28px;
  padding: 18px 28px;
}

.final-cta-copy-inline {
  display: flex;
  align-items: center;
  gap: 16px;
}

.final-cta-copy-inline .eyebrow {
  margin: 0;
  flex: 0 0 auto;
}

.final-cta-card-compact h2 {
  max-width: none;
  font-size: clamp(1.55rem, 2.2vw, 2rem);
  line-height: 1;
  white-space: nowrap;
}

@media (max-width: 980px) {
  .final-cta-card-compact {
    grid-template-columns: 1fr;
    padding: 20px 22px;
  }

  .final-cta-copy-inline {
    display: grid;
    gap: 8px;
  }

  .final-cta-card-compact h2 {
    white-space: normal;
  }
}

.section-heading-compact {
  display: grid;
  grid-template-columns: minmax(240px, auto) minmax(320px, 1fr);
  gap: 12px 28px;
  align-items: end;
  margin-bottom: 16px;
}

.section-heading-compact h1 {
  max-width: none;
  font-size: clamp(2rem, 3vw, 2.8rem);
  line-height: 1;
}

.section-heading-compact > p:last-child {
  margin: 0;
  max-width: 48ch;
  color: var(--muted);
  line-height: 1.5;
}

.section-catalog-page {
  padding-top: 22px;
}

@media (max-width: 900px) {
  .section-heading-compact {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .section-heading-compact > p:last-child {
    max-width: 100%;
  }
}

body {
  font-size: 15px;
}

.site-nav a {
  font-size: 0.94rem;
}

.button {
  min-height: 44px;
  font-size: 0.92rem;
  padding: 0 16px;
}

.eyebrow {
  font-size: 0.74rem;
  letter-spacing: 0.11em;
}

h1,
.h1,
.section-heading h1 {
  max-width: 13ch;
  font-size: clamp(1.9rem, 3.2vw, 3rem);
  line-height: 1.02;
}

h2,
.h2,
.section-heading h2 {
  max-width: 16ch;
  font-size: clamp(1.55rem, 2.6vw, 2.25rem);
  line-height: 1.05;
}

h3,
.section-heading h3 {
  font-size: 1.12rem;
  line-height: 1.2;
}

.hero-text,
.section-heading p,
.promo-copy p,
.final-cta-card p,
.hero-contact-card p,
.hero-mini-highlights p,
.form-note,
.product-card p,
.product-detail-description,
.about-grid p {
  font-size: 0.98rem;
  line-height: 1.6;
}

.price {
  font-size: 1.55rem;
}

.hero-contact-card strong {
  font-size: 1.45rem;
}

.section {
  padding: 24px;
}

.section-heading {
  gap: 8px;
  margin-bottom: 18px;
}

@media (max-width: 860px) {
  body {
    font-size: 14px;
  }

  h1,
  .h1,
  .section-heading h1,
  h2,
  .h2,
  .section-heading h2 {
    max-width: 100%;
  }
}
