:root {
  color-scheme: light;
  --green: #0b8a42;
  --green-dark: #065f2b;
  --green-soft: #e8f5ee;
  --orange: #f97316;
  --blue: #1a73e8;
  --yellow: #fbbc05;
  --red: #ea4335;
  --ink: #0f172a;
  --muted: #5f6b7a;
  --line: #dfe6ee;
  --soft: #f6f8fb;
  --white: #ffffff;
  --shadow: 0 16px 42px rgba(15, 23, 42, 0.09);
  --radius: 8px;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-size: 16px;
  line-height: 1.5;
  letter-spacing: 0;
  overflow-x: hidden;
}

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

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

button,
input,
select,
textarea {
  font: inherit;
  letter-spacing: 0;
}

button {
  cursor: pointer;
}

.wrap {
  width: min(1180px, calc(100% - 32px));
  margin-inline: auto;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.icon {
  width: 1.15em;
  height: 1.15em;
  flex: 0 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  width: 100%;
  background: rgba(255, 255, 255, 0.95);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.topbar {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 16px;
  align-items: center;
  min-height: 82px;
}

.header-panel {
  display: grid;
  grid-template-columns: auto minmax(260px, 1fr);
  gap: 18px;
  align-items: center;
  min-width: 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  min-width: 240px;
}

.brand > span:last-child {
  min-width: 0;
}

.brand-mark {
  position: relative;
  width: 38px;
  height: 48px;
  flex: 0 0 38px;
}

.brand-mark::before,
.brand-mark::after,
.brand-mark span {
  content: "";
  position: absolute;
  bottom: 3px;
  left: 9px;
  width: 23px;
  height: 39px;
  border-radius: 55% 45% 55% 45%;
  transform: rotate(38deg);
  background: linear-gradient(150deg, #ffbd25, #ff6b16 56%, #d91f2a);
}

.brand-mark::after {
  left: 3px;
  bottom: 2px;
  width: 19px;
  height: 31px;
  background: linear-gradient(160deg, #ffef82, #f97316);
  opacity: 0.92;
}

.brand-mark span {
  left: 15px;
  bottom: 7px;
  width: 13px;
  height: 22px;
  background: #ffffff;
  opacity: 0.72;
}

.brand strong {
  display: block;
  font-size: 21px;
  line-height: 1;
  white-space: nowrap;
}

.brand strong span {
  display: inline;
}

.brand strong .logo-word-primary,
.brand strong .logo-word-tld {
  color: var(--green);
}

.brand strong .logo-word-connector {
  color: var(--orange);
}

.brand strong .logo-word-fuel {
  color: #ef3f23;
}

.brand small {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 650;
}

.search {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 44px;
  height: 44px;
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  overflow: visible;
}

.search input {
  min-width: 0;
  border: 0;
  outline: 0;
  padding: 0 14px;
  color: var(--ink);
  background: transparent;
}

.search button {
  display: grid;
  place-items: center;
  border: 0;
  color: #ffffff;
  background: var(--green);
  border-radius: 0 var(--radius) var(--radius) 0;
}

.search-results {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  display: none;
  max-height: 330px;
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
}

.search-results.is-open {
  display: block;
}

.search-results a {
  display: block;
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
  font-weight: 700;
}

.search-results small {
  display: block;
  color: var(--muted);
  font-weight: 500;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-weight: 800;
  text-align: center;
  transition:
    transform 0.18s ease,
    border-color 0.18s ease,
    background 0.18s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  color: #ffffff;
  background: var(--green);
  box-shadow: 0 10px 24px rgba(11, 138, 66, 0.18);
}

.btn-secondary {
  color: var(--green-dark);
  background: #ffffff;
  border-color: #9ad2b1;
}

.btn-ghost {
  color: var(--ink);
  background: #ffffff;
  border-color: var(--line);
}

.btn-warm {
  color: #2b2100;
  background: linear-gradient(135deg, #ffd94d, #fbbc05);
}

.full {
  width: 100%;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--ink);
  background: var(--white);
  place-items: center;
}

.nav {
  display: flex;
  align-items: center;
  gap: 6px;
  min-height: 44px;
  overflow-x: auto;
  scrollbar-width: none;
}

.nav a {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 12px;
  border-radius: var(--radius);
  color: #152033;
  font-size: 14px;
  font-weight: 800;
  white-space: nowrap;
}

.nav a:hover,
.nav a.is-active {
  color: var(--green);
  background: var(--green-soft);
}

.hero {
  position: relative;
  min-height: 620px;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

.hero picture,
.hero picture img,
.hero-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero picture img {
  object-fit: cover;
  object-position: 64% center;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 0.9) 30%, rgba(255, 255, 255, 0.28) 52%, rgba(255, 255, 255, 0.06) 100%),
    linear-gradient(0deg, rgba(255, 255, 255, 0.84) 0%, rgba(255, 255, 255, 0) 34%);
}

.hero-content {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 590px) minmax(250px, 330px);
  justify-content: center;
  gap: clamp(28px, 5vw, 74px);
  align-items: center;
  min-height: 620px;
  padding-block: 52px;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--green);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.12;
  letter-spacing: 0;
}

h1 {
  font-size: 54px;
}

h2 {
  font-size: 30px;
}

h3 {
  font-size: 18px;
}

.hero-copy > p:not(.eyebrow),
.page-hero > p,
.compact-hero > p,
.article header p {
  max-width: 660px;
  margin: 18px 0 0;
  color: #253247;
  font-size: 18px;
}

.check-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 16px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
  color: #203047;
  font-weight: 750;
}

.check-grid li,
.service-strip span,
.consult-items span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.check-grid .icon {
  color: var(--green);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.hero-metrics {
  align-self: end;
  display: grid;
  gap: 12px;
  margin-bottom: 28px;
  transform: translateX(clamp(28px, 4vw, 64px));
}

.hero-metrics div {
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.88);
  padding: 16px;
  box-shadow: 0 14px 32px rgba(15, 23, 42, 0.11);
}

.hero-metrics span,
.offer-box span,
.product-info p,
.product-info dt,
.fineprint {
  display: block;
  color: var(--muted);
  font-size: 12px;
}

.hero-metrics strong {
  display: block;
  margin-top: 4px;
  color: var(--green);
  font-size: 22px;
}

.service-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  padding-block: 18px;
}

.service-strip span {
  min-height: 44px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: #233044;
  background: #ffffff;
  font-size: 14px;
  font-weight: 750;
}

.service-strip .icon {
  color: var(--green);
}

.section {
  padding-block: 34px;
}

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

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

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--green);
  font-weight: 850;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}

.category-card,
.product-card,
.guide-card,
.info-panel,
.calc-card,
.lead-form,
.list-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #ffffff;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.05);
}

.category-card {
  position: relative;
  display: grid;
  gap: 8px;
  min-height: 208px;
  padding: 12px;
  text-align: center;
}

.category-card img {
  width: 100%;
  aspect-ratio: 1.35;
  object-fit: cover;
  border-radius: var(--radius);
}

.category-card strong {
  font-size: 15px;
}

.category-card small {
  color: var(--green);
  font-weight: 850;
}

.category-icon {
  position: absolute;
  top: 16px;
  right: 16px;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  color: var(--accent);
  background: #ffffff;
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.1);
}

.benefit-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 18px;
}

.benefit-grid article {
  display: grid;
  gap: 8px;
}

.benefit-grid .icon {
  width: 34px;
  height: 34px;
  color: var(--green);
}

.benefit-grid p,
.guide-card p,
.info-panel p,
.article p,
.lead-card p {
  color: var(--muted);
  margin: 10px 0 0;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: stretch;
  gap: 16px;
}

.product-card {
  display: grid;
  grid-template-rows: auto 1fr;
  height: 100%;
  overflow: hidden;
}

.product-media {
  position: relative;
  display: block;
  background: var(--soft);
}

.product-media img {
  display: block;
  width: 100%;
  aspect-ratio: 1.16;
  object-fit: contain;
  background: #ffffff;
}

.product-media span {
  position: absolute;
  left: 12px;
  top: 12px;
  padding: 5px 9px;
  border-radius: 999px;
  color: #ffffff;
  background: var(--green);
  font-size: 12px;
  font-weight: 850;
}

.product-info {
  display: grid;
  grid-template-rows: auto auto auto 1fr auto;
  gap: 12px;
  padding: 14px;
}

.product-info h3 {
  display: -webkit-box;
  min-height: 62px;
  overflow: hidden;
  font-size: 16px;
  line-height: 1.28;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.product-info dl {
  display: grid;
  gap: 7px;
  margin: 0;
  min-height: 118px;
  align-content: start;
}

.product-info div {
  min-width: 0;
}

.product-info dd {
  margin: 0;
  color: #203047;
  font-size: 13px;
  font-weight: 750;
}

.product-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: auto;
}

.offer-note {
  color: var(--green);
  font-size: 13px;
  font-weight: 850;
  line-height: 1.25;
}

.product-count {
  color: var(--green);
  font-weight: 900;
}

.infinite-status {
  margin-top: 18px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 750;
  text-align: center;
}

.infinite-sentinel {
  height: 1px;
}

.icon-btn {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--ink);
  background: #ffffff;
}

.fineprint {
  margin-top: 12px;
}

.consult-banner,
.lead-card,
.newsletter {
  display: grid;
  grid-template-columns: 1.2fr 1fr auto;
  gap: 22px;
  align-items: center;
  margin-block: 24px;
  padding: 26px 32px;
  border-radius: var(--radius);
  color: #ffffff;
  background:
    linear-gradient(90deg, rgba(6, 95, 43, 0.96), rgba(11, 138, 66, 0.92)),
    #065f2b;
}

.consult-banner .eyebrow,
.consult-banner p,
.lead-card .eyebrow,
.lead-card p {
  color: rgba(255, 255, 255, 0.86);
}

.consult-items {
  display: grid;
  gap: 10px;
  font-weight: 800;
}

.brand-strip {
  text-align: center;
}

.brand-strip > div {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 14px;
  margin-top: 18px;
}

.brand-strip a {
  display: grid;
  place-items: center;
  min-height: 72px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--tone);
  background: #ffffff;
  font-size: 26px;
  font-weight: 900;
}

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

.guide-card {
  overflow: hidden;
}

.guide-card img {
  width: 100%;
  aspect-ratio: 1.68;
  object-fit: cover;
}

.guide-card div {
  padding: 16px;
}

.newsletter {
  grid-template-columns: 1fr minmax(280px, 440px);
  color: var(--ink);
  background: linear-gradient(90deg, #f0fbf4, #ffffff);
  border: 1px solid #cdebd9;
}

.newsletter h2 {
  font-size: 22px;
}

.newsletter-form {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
}

.newsletter-form input,
.lead-form input,
.lead-form select,
.lead-form textarea,
.calc-card input,
.calc-card select,
.product-toolbar select,
.admin-shell textarea,
.local-form input {
  width: 100%;
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0 12px;
  color: var(--ink);
  background: #ffffff;
}

.lead-form textarea,
.admin-shell textarea {
  padding-block: 12px;
  resize: vertical;
}

.site-footer {
  border-top: 1px solid var(--line);
  background: #fbfcfe;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 0.8fr 0.9fr;
  gap: 34px;
  padding-block: 34px;
}

.footer-grid h2 {
  margin-bottom: 12px;
  font-size: 14px;
  text-transform: uppercase;
}

.footer-grid p,
.footer-grid li {
  color: var(--muted);
  font-size: 14px;
}

.footer-grid ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.anpc-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  padding-bottom: 22px;
}

.anpc-row a {
  display: inline-flex;
  align-items: center;
}

.anpc-row img {
  display: block;
  width: 147px;
  height: auto;
}

.social-row {
  display: flex;
  gap: 8px;
  margin-top: 16px;
}

.social-row span {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  color: var(--green);
  background: var(--green-soft);
  font-size: 12px;
  font-weight: 900;
}

.footer-bottom {
  display: flex;
  align-items: center;
  gap: 18px;
  min-height: 56px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
}

.cookie-banner {
  position: fixed;
  left: 50%;
  bottom: 18px;
  z-index: 60;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px 20px;
  width: min(960px, calc(100% - 28px));
  padding: 18px;
  border: 1px solid #cdebd9;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 18px 48px rgba(15, 23, 42, 0.18);
  transform: translateX(-50%);
}

.cookie-banner[hidden] {
  display: none;
}

.cookie-banner h2 {
  font-size: 22px;
}

.cookie-banner p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.cookie-settings {
  grid-column: 1 / -1;
  display: grid;
  gap: 10px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #f8fafc;
}

.cookie-settings[hidden] {
  display: none;
}

.cookie-settings label {
  display: flex;
  align-items: start;
  gap: 10px;
  color: var(--ink);
  font-weight: 850;
}

.cookie-settings span {
  display: block;
  color: var(--muted);
  font-size: 13px;
  font-weight: 500;
}

.cookie-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
  align-self: end;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  padding-top: 18px;
  color: var(--muted);
  font-size: 14px;
}

.breadcrumb a {
  color: var(--green);
  font-weight: 750;
}

.breadcrumb .icon {
  width: 13px;
  height: 13px;
  color: #94a3b8;
}

.page-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 36px;
  align-items: center;
  padding-block: 36px;
}

.compact-hero {
  display: block;
  padding-block: 38px 20px;
}

.page-hero img {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.brand-hero {
  border-left: 5px solid var(--brand-tone);
  padding-left: 24px;
}

.product-toolbar {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  margin-bottom: 18px;
}

.split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

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

.info-panel {
  padding: 22px;
}

.info-panel h2 {
  font-size: 23px;
}

.info-panel h3 {
  margin-top: 22px;
}

.plain-list {
  display: grid;
  gap: 10px;
  margin: 16px 0 0;
  padding-left: 20px;
  color: #243044;
}

.table-wrap {
  width: 100%;
  overflow-x: auto;
}

table {
  width: 100%;
  border-collapse: collapse;
  min-width: 520px;
}

th,
td {
  padding: 12px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

th {
  color: #1b2738;
  background: #f8fafc;
  font-weight: 900;
}

.faq-list {
  display: grid;
  gap: 10px;
}

details {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #ffffff;
}

summary {
  padding: 16px 18px;
  font-weight: 850;
  cursor: pointer;
}

details p {
  margin: 0;
  padding: 0 18px 18px;
  color: var(--muted);
}

.lead-card {
  grid-template-columns: 1fr auto;
  background:
    linear-gradient(90deg, rgba(6, 95, 43, 0.96), rgba(11, 138, 66, 0.9)),
    #065f2b;
}

.product-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(340px, 0.88fr);
  gap: 34px;
  padding-block: 32px;
}

.product-gallery {
  display: grid;
  gap: 12px;
}

.product-gallery > img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  max-height: 680px;
  object-fit: contain;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #ffffff;
}

.product-summary {
  align-self: start;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #ffffff;
  box-shadow: var(--shadow);
}

.product-summary h1 {
  font-size: 38px;
}

.product-summary > p:not(.eyebrow) {
  color: var(--muted);
}

.spec-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
}

.spec-pills span,
.field-cloud span,
.module-grid span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 10px;
  border-radius: 999px;
  color: var(--green-dark);
  background: var(--green-soft);
  font-size: 13px;
  font-weight: 850;
}

.offer-box {
  display: grid;
  gap: 4px;
  margin-top: 22px;
  padding: 16px;
  border: 1px solid #cdebd9;
  border-radius: var(--radius);
  background: #f5fbf7;
}

.offer-box strong {
  color: var(--green);
  font-size: 30px;
}

.offer-box small {
  color: var(--muted);
}

.product-summary-offer {
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 6px 16px;
  align-items: center;
}

.product-summary-offer .btn {
  grid-column: 2;
  grid-row: 1 / span 4;
  white-space: nowrap;
}

.product-summary-offer small:last-child {
  grid-column: 1 / -1;
}

.calculator-layout {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  padding-block: 26px;
}

.calc-card {
  padding: 20px;
}

.calc-card h2 {
  margin-bottom: 16px;
  font-size: 23px;
}

.calc-card form,
.lead-form,
.local-form form {
  display: grid;
  gap: 12px;
}

.calc-card label,
.lead-form label {
  display: grid;
  gap: 7px;
  color: #243044;
  font-size: 14px;
  font-weight: 800;
}

.checkline {
  display: flex !important;
  grid-template-columns: none !important;
  align-items: center;
  gap: 9px !important;
}

.checkline input {
  width: 18px !important;
  min-height: 18px !important;
  flex: 0 0 18px;
}

output {
  display: block;
  margin-top: 14px;
  color: #123b25;
  font-weight: 800;
}

.calc-result {
  display: grid;
  gap: 6px;
  padding: 14px;
  border: 1px solid #cdebd9;
  border-radius: var(--radius);
  background: #f5fbf7;
}

.calc-result strong {
  color: var(--green);
  font-size: 26px;
}

.lead-form {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  padding: 24px;
}

.full-field {
  grid-column: 1 / -1;
}

.article {
  padding-block: 24px;
}

.guide-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 34px;
  align-items: start;
}

.article header {
  max-width: 900px;
}

.article header img {
  width: 100%;
  margin-top: 26px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.article section {
  max-width: 920px;
  margin-top: 30px;
}

.article section h2 {
  font-size: 26px;
}

.guide-sidebar {
  padding-block: 24px;
}

.guide-sidebar > div {
  position: sticky;
  top: 104px;
  display: grid;
  gap: 12px;
}

.guide-sidebar h2 {
  font-size: 22px;
}

.sidebar-product {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #ffffff;
  box-shadow: 0 10px 26px rgba(15, 23, 42, 0.05);
}

.sidebar-product img {
  width: 92px;
  aspect-ratio: 1;
  object-fit: contain;
  border-radius: var(--radius);
  background: #ffffff;
}

.sidebar-product span {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.sidebar-product small,
.sidebar-product em {
  color: var(--green);
  font-size: 12px;
  font-style: normal;
  font-weight: 850;
}

.sidebar-product strong {
  display: -webkit-box;
  overflow: hidden;
  color: var(--ink);
  font-size: 14px;
  line-height: 1.25;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

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

.list-card {
  position: relative;
  min-height: 160px;
  padding: 22px;
}

.list-card .icon {
  position: absolute;
  right: 20px;
  bottom: 20px;
  color: var(--green);
}

.local-form {
  grid-template-columns: 0.8fr 1.2fr;
}

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

.admin-shell {
  padding-block: 34px;
}

.admin-header {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
  margin-bottom: 20px;
}

.admin-header p {
  max-width: 720px;
  color: var(--muted);
}

.admin-kpis {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 18px;
}

.admin-kpis article {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #ffffff;
}

.admin-kpis span {
  display: block;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.admin-kpis strong {
  display: block;
  margin-top: 6px;
  color: var(--green);
  font-size: 30px;
}

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

.module-grid,
.field-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.admin-table {
  max-height: 360px;
  overflow: auto;
  margin-top: 12px;
}

.admin-table table {
  min-width: 620px;
}

@media (max-width: 1120px) {
  .topbar {
    grid-template-columns: auto 1fr auto;
  }

  .header-cta {
    display: none;
  }

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

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

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

@media (max-width: 860px) {
  h1 {
    font-size: 40px;
  }

  h2 {
    font-size: 25px;
  }

  .topbar {
    grid-template-columns: 1fr auto;
    min-height: 66px;
    gap: 10px;
    padding-right: 54px;
    width: calc(100% - 22px);
  }

  .header-panel {
    display: none;
    grid-column: 1 / -1;
    grid-template-columns: 1fr;
    gap: 12px;
    width: 100%;
    min-width: 0;
    padding: 0 0 14px;
  }

  .header-panel.is-open {
    display: grid;
  }

  .brand {
    grid-column: 1;
    min-width: 0;
    max-width: 100%;
    overflow: hidden;
  }

  .brand strong {
    font-size: clamp(15px, 4.4vw, 18px);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .brand-mark {
    width: 34px;
    height: 42px;
    flex-basis: 34px;
  }

  .menu-toggle {
    position: absolute;
    top: 11px;
    right: 0;
    display: grid;
    z-index: 2;
  }

  .search,
  .search-results {
    width: 100%;
    min-width: 0;
  }

  .nav {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
    min-height: 0;
    padding-top: 6px;
    overflow: visible;
  }

  .nav a {
    min-height: 42px;
    padding-inline: 12px;
    border: 1px solid var(--line);
    background: #ffffff;
  }

  .hero,
  .hero-content {
    min-height: auto;
  }

  .hero {
    padding-top: 0;
  }

  .hero picture {
    position: relative;
    inset: auto;
    display: block;
    width: 100%;
    height: 300px;
  }

  .hero picture img {
    position: absolute;
    inset: 0;
    object-position: 64% center;
  }

  .hero-overlay {
    inset: 0 0 auto;
    height: 300px;
    background: linear-gradient(0deg, rgba(255, 255, 255, 1), rgba(255, 255, 255, 0.16));
  }

  .hero-content {
    grid-template-columns: 1fr;
    padding-block: 24px 34px;
    justify-content: stretch;
  }

  .hero-metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin: 0;
    transform: none;
  }

  .guide-sidebar > div {
    position: static;
  }

  .service-strip,
  .guide-grid,
  .guide-layout,
  .brand-strip > div,
  .footer-grid,
  .page-hero,
  .product-hero,
  .split,
  .three-cols,
  .admin-grid,
  .newsletter,
  .consult-banner,
  .lead-card,
  .local-form {
    grid-template-columns: 1fr;
  }

  .section-head,
  .admin-header,
  .product-toolbar,
  .footer-bottom,
  .cookie-actions {
    align-items: flex-start;
    flex-direction: column;
  }

  .cookie-banner {
    grid-template-columns: 1fr;
    bottom: 10px;
    max-height: calc(100vh - 20px);
    overflow: auto;
  }

  .cookie-actions,
  .cookie-actions .btn {
    width: 100%;
  }

  .category-grid,
  .benefit-grid,
  .product-grid,
  .calculator-layout,
  .card-list,
  .admin-kpis {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .lead-form,
  .local-form form {
    grid-template-columns: 1fr;
  }

  .product-summary-offer {
    grid-template-columns: 1fr;
  }

  .product-summary-offer .btn,
  .product-summary-offer small:last-child {
    grid-column: 1;
    grid-row: auto;
    width: 100%;
  }

}

@media (max-width: 560px) {
  .wrap {
    width: min(100% - 22px, 1180px);
  }

  body {
    font-size: 15px;
  }

  h1 {
    font-size: 32px;
  }

  h2 {
    font-size: 23px;
  }

  .brand small {
    display: none;
  }

  .hero picture {
    height: 240px;
  }

  .hero-overlay {
    height: 240px;
  }

  .check-grid,
  .hero-metrics,
  .category-grid,
  .benefit-grid,
  .product-grid,
  .calculator-layout,
  .card-list,
  .admin-kpis {
    grid-template-columns: 1fr;
  }

  .stack-mobile,
  .actions,
  .newsletter-form {
    flex-direction: column;
    display: grid;
    grid-template-columns: 1fr;
  }

  .consult-banner,
  .lead-card,
  .newsletter {
    padding: 22px;
  }

  .product-summary {
    padding: 18px;
  }

  .product-summary h1 {
    font-size: 29px;
  }

  .product-gallery > img {
    aspect-ratio: 1 / 1;
    max-height: min(72vh, 360px);
    object-fit: contain;
  }
}
