:root {
  --color-primary: #b4372b;
  --color-primary-dark: #7d241c;
  --color-primary-soft: #f7e9e6;
  --color-background: #ffffff;
  --color-surface: #f2f4f5;
  --color-surface-strong: #e4e8eb;
  --color-text: #1f282e;
  --color-text-muted: #5e6971;
  --color-border: #d4dade;
  --color-graphite: #20282e;
  --radius-sm: 5px;
  --radius-md: 9px;
  --radius-lg: 14px;
  --shadow-md: 0 14px 34px rgba(22, 31, 37, 0.1);
  --font-sans: "Segoe UI", Arial, Helvetica, sans-serif;
  --font-display: "Arial Narrow", "Roboto Condensed", "Franklin Gothic Medium", Arial, sans-serif;
}

body {
  background: var(--color-background);
}

h1,
h2,
h3,
h4 {
  letter-spacing: -0.035em;
}

h1,
.hero h2,
.section-heading h2,
.advice h2,
.argentina-cta h2 {
  font-family: var(--font-display);
}

.skip-link {
  top: 8px;
  left: 8px;
  transform: translateY(-180%);
  translate: none;
  opacity: 0;
  transition: transform 120ms ease, opacity 120ms ease;
}

.skip-link:focus,
.skip-link:focus-visible {
  transform: translateY(0);
  translate: none;
  opacity: 1;
}

.site-header {
  border-bottom: 1px solid var(--color-border);
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 5px 18px rgba(20, 28, 34, 0.06);
}

.market-switch {
  background: var(--color-graphite);
  color: #e9edf0;
  font-size: 0.78rem;
}

.market-switch__inner {
  min-height: 33px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.market-switch a {
  color: white;
  font-weight: 700;
  text-decoration: none;
}

.market-switch a:hover {
  color: #ffffff;
  text-decoration: underline;
}

.market-switch a::after {
  margin-left: 7px;
  color: #e56658;
  content: "↗";
}

.header-main {
  gap: 22px;
}

.brand img {
  width: 48px;
  height: 60px;
}

.brand strong {
  color: var(--color-graphite);
  font-size: 1rem;
}

.brand span {
  font-size: 0.72rem;
}

.header-search input {
  border-radius: var(--radius-sm);
  background: white;
}

.header-search button {
  top: 5px;
  right: 5px;
  width: auto;
  min-width: 70px;
  border-radius: 3px;
  padding-inline: 13px;
  font-size: 0.78rem;
  font-weight: 800;
}

.header-search input {
  padding-right: 86px;
}

.header-nav__inner {
  gap: 30px;
}

.header-nav a {
  position: relative;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  letter-spacing: 0.01em;
}

.header-nav a[aria-current="page"]::after {
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 3px;
  background: var(--color-primary);
  content: "";
}

.hero {
  min-height: 0;
  background: var(--color-graphite);
}

.hero::before {
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 52px 52px;
  mask-image: linear-gradient(to right, transparent 5%, black 78%);
  opacity: 0.68;
}

.hero::after {
  position: absolute;
  top: 0;
  right: clamp(20px, 7vw, 120px);
  width: 9px;
  height: 124px;
  background: var(--color-primary);
  content: "";
}

.hero__inner {
  min-height: 610px;
  grid-template-columns: minmax(0, 1.15fr) minmax(340px, 0.85fr);
  gap: clamp(40px, 6vw, 82px);
  padding-block: clamp(68px, 7vw, 96px);
}

.hero__content {
  max-width: 760px;
}

.hero h1 {
  max-width: 12.5ch;
  margin-bottom: 22px;
  font-size: clamp(2.8rem, 5.2vw, 4.65rem);
  line-height: 0.99;
}

.hero .lede {
  max-width: 650px;
  color: #dce2e5;
  font-size: clamp(1.03rem, 1.6vw, 1.2rem);
}

.hero-search {
  max-width: 730px;
  display: block;
  margin: 30px 0 18px;
}

.hero-search__label {
  margin-bottom: 8px;
  color: white;
  font-size: 0.82rem;
  font-weight: 800;
}

.hero-search__row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
}

.hero-search input {
  min-height: 58px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: var(--radius-sm);
  background: white;
}

.hero-search .button {
  min-width: 142px;
  min-height: 58px;
}

.hero-search__hint {
  margin: 8px 0 0;
  color: #aeb8be;
  font-family: var(--font-mono);
  font-size: 0.74rem;
}

.hero__panel {
  position: relative;
  overflow: hidden;
  border: 0;
  border-radius: var(--radius-md);
  background: #f4f6f7;
  color: var(--color-text);
  padding: clamp(28px, 4vw, 46px);
  backdrop-filter: none;
}

.hero__panel::before {
  position: absolute;
  inset: 0 auto 0 0;
  width: 6px;
  background: var(--color-primary);
  content: "";
}

.hero__panel h2 {
  max-width: 12ch;
  color: var(--color-graphite);
  font-size: clamp(2rem, 3.2vw, 3.15rem);
  line-height: 1.02;
}

.hero__panel > p:not(.eyebrow) {
  color: var(--color-text-muted);
}

.hero-capabilities {
  display: grid;
  gap: 0;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.hero-capabilities li {
  display: grid;
  grid-template-columns: 26px 1fr;
  gap: 10px;
  border-top: 1px solid var(--color-border);
  padding: 13px 0;
}

.hero-capabilities li::before {
  color: var(--color-primary);
  font-family: var(--font-mono);
  font-size: 0.76rem;
  font-weight: 800;
  content: "0" counter(list-item);
}

.hero-catalog-count {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-top: 18px;
  border-top: 3px solid var(--color-graphite);
  padding-top: 18px;
}

.hero-catalog-count strong {
  color: var(--color-primary);
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1;
}

.hero-catalog-count span {
  color: var(--color-text-muted);
  font-size: 0.82rem;
  font-weight: 700;
}

.section-heading {
  border-bottom: 1px solid var(--color-border);
  padding-bottom: 20px;
}

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

.category-card {
  min-height: 190px;
  border-radius: var(--radius-sm);
  padding: 24px;
}

.category-card::after {
  right: -56px;
  bottom: -67px;
  border-color: var(--color-primary-soft);
}

.category-card strong {
  font-family: var(--font-display);
  font-size: 2.45rem;
}

.brand-chip {
  border-radius: 4px;
}

.product-card {
  border-radius: var(--radius-sm);
}

.product-card__media {
  aspect-ratio: 4 / 3;
  background: white;
}

.product-card__media img {
  padding: clamp(18px, 2.2vw, 30px);
}

.product-card__body {
  min-height: 270px;
}

.product-card__lead-time {
  margin-top: 10px;
  color: var(--color-text-muted);
  font-size: 0.75rem;
}

.product-card__lead-time strong {
  color: var(--color-text);
}

.argentina-cta {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 32px;
  overflow: hidden;
  border: 1px solid #313b42;
  background: var(--color-graphite);
  color: white;
  padding: clamp(30px, 5vw, 54px);
}

.argentina-cta::after {
  position: absolute;
  top: -50px;
  right: 18%;
  width: 170px;
  height: 170px;
  border: 26px solid rgba(180, 55, 43, 0.2);
  border-radius: 50%;
  content: "";
}

.argentina-cta h2 {
  max-width: 20ch;
  color: white;
  font-size: clamp(2rem, 4vw, 3.2rem);
}

.argentina-cta p {
  max-width: 670px;
  color: #cbd2d6;
}

.argentina-cta .button {
  position: relative;
  z-index: 1;
}

.advice {
  align-items: stretch;
  gap: clamp(34px, 6vw, 72px);
  border-radius: var(--radius-md);
  background: var(--color-primary);
}

.advice > div:first-child {
  align-self: center;
}

.advice .eyebrow {
  color: #ffd8d2;
}

.advice > div:first-child > p:not(.eyebrow) {
  color: #fff3f0;
}

.advice__steps {
  counter-reset: advice;
}

.advice__step {
  counter-increment: advice;
  grid-template-columns: 42px minmax(0, 1fr);
  align-items: start;
  gap: 16px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: var(--radius-sm);
  background: rgba(84, 16, 12, 0.18);
  color: white;
  padding: 18px;
}

.advice__step > strong:first-child {
  width: 34px;
  height: 34px;
  color: var(--color-primary-dark);
}

.advice__step span,
.advice__step span strong {
  color: white;
}

.advice__step span > strong {
  display: block;
  margin-bottom: 4px;
  font-size: 1rem;
  line-height: 1.25;
}

.site-footer {
  border-top: 6px solid var(--color-primary);
}

.footer-grid {
  grid-template-columns: 1.4fr repeat(2, 1fr);
}

.footer-market-link {
  display: inline-block;
  margin-top: 10px;
  font-weight: 750;
}

.commercial-facts {
  display: grid;
  margin: 22px 0;
  border-top: 1px solid var(--color-border);
}

.commercial-fact {
  display: grid;
  grid-template-columns: minmax(120px, 0.65fr) minmax(0, 1fr);
  gap: 16px;
  border-bottom: 1px solid var(--color-border);
  padding: 12px 0;
}

.commercial-fact > span:first-child {
  color: var(--color-text-muted);
  font-size: 0.78rem;
  font-weight: 750;
  text-transform: uppercase;
}

.gallery__main,
.gallery__thumb {
  border-radius: var(--radius-sm);
  background: white;
}

.gallery__main img {
  max-width: 94%;
  max-height: 580px;
}

.quote-intro {
  background: var(--color-graphite);
  color: white;
}

.quote-intro h1 {
  max-width: 15ch;
  color: white;
}

.quote-intro .lede {
  color: #d7dde1;
}

.quote-flow {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin-top: 34px;
  border: 1px solid #465058;
  background: #465058;
}

.quote-flow__step {
  display: grid;
  grid-template-columns: 32px 1fr;
  gap: 12px;
  background: #273138;
  padding: 16px;
}

.quote-flow__step strong:first-child {
  color: #ef776a;
  font-family: var(--font-mono);
}

.quote-flow__step span {
  color: white;
  font-size: 0.86rem;
}

.form-section {
  display: grid;
  gap: 17px;
  margin: 0;
  border: 0;
  border-top: 1px solid var(--color-border);
  padding: 22px 0 0;
}

.form-section legend {
  padding: 0 12px 0 0;
  color: var(--color-primary);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.delivery-note {
  margin: -4px 0 0;
  color: var(--color-text-muted);
  font-size: 0.82rem;
}

.mail-readiness {
  border-left: 4px solid var(--color-primary);
  background: var(--color-primary-soft);
  padding: 13px 15px;
  font-size: 0.84rem;
}

.quote-item__commercial {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 8px 0;
  color: var(--color-text-muted);
  font-size: 0.78rem;
}

@media (max-width: 980px) {
  .hero__inner {
    min-height: auto;
    grid-template-columns: 1fr;
  }

  .hero__content {
    max-width: 820px;
  }

  .hero h1 {
    max-width: 14ch;
  }

  .hero__panel {
    max-width: none;
  }
}

@media (max-width: 820px) {
  .market-switch__inner {
    justify-content: center;
  }

  .header-main {
    padding-block: 8px;
  }

  .header-search button {
    min-width: 66px;
  }

  .header-nav a[aria-current="page"]::after {
    display: none;
  }

  .argentina-cta {
    grid-template-columns: 1fr;
  }

  .quote-flow {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  .hero::after {
    right: 18px;
    height: 74px;
  }

  .hero__inner {
    padding-block: 54px;
  }

  .hero h1 {
    font-size: clamp(2.55rem, 12vw, 3.5rem);
  }

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

  .hero-search .button {
    width: 100%;
  }

  .hero__panel {
    padding: 28px 24px;
  }

  .advice {
    padding: 28px 20px;
  }

  .advice__step {
    grid-template-columns: 36px minmax(0, 1fr);
    padding: 15px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .commercial-fact {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .quote-item__commercial {
    display: grid;
    gap: 4px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
