@font-face {
  font-family: "Oswald";
  src: url("/assets/oswald-regular.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
}

@font-face {
  font-family: "Oswald";
  src: url("/assets/oswald-bold.woff2") format("woff2");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

@font-face {
  font-family: "Bai Jamjuree";
  src: url("/assets/bai-regular.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Bai Jamjuree";
  src: url("/assets/bai-semibold.woff2") format("woff2");
  font-style: normal;
  font-weight: 600 700;
  font-display: swap;
}

@font-face {
  font-family: "Avenir Veloce";
  src: url("/assets/avenir-light.woff2") format("woff2");
  font-style: normal;
  font-weight: 300 500;
  font-display: swap;
}

:root {
  --black: #000;
  --coal: #1a1a1a;
  --graphite: #292c2f;
  --white: #fff;
  --paper: #f7f7f5;
  --silver: #dbdbdb;
  --muted: #9fa5aa;
  --blue: #3182b5;
  --blue-dark: #215779;
  --blue-black: #0f1923;
  --line: rgba(255, 255, 255, 0.18);
  --max: 1180px;
  --content: 980px;
  --radius: 2px;
  --shadow: 0 18px 60px rgba(0, 0, 0, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--black);
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--white);
  color: #0b0b0b;
  font-family: "Bai Jamjuree", Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.55;
  overflow-x: hidden;
}

body.menu-open {
  overflow: hidden;
}

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

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

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

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
summary:focus-visible {
  outline: 3px solid #83b1ce;
  outline-offset: 3px;
}

h1,
h2,
h3,
h4,
p {
  margin-top: 0;
}

h1,
h2,
h3,
.display,
.nav-link,
.button,
.price {
  font-family: "Oswald", Impact, sans-serif;
}

h1,
h2,
h3,
.display {
  font-style: italic;
  line-height: 1.08;
}

h1 {
  font-size: clamp(2.75rem, 6vw, 5.75rem);
  letter-spacing: -0.04em;
}

h2 {
  font-size: clamp(2.15rem, 4.8vw, 4.4rem);
  letter-spacing: -0.035em;
}

h3 {
  font-size: clamp(1.35rem, 2.3vw, 2rem);
}

p {
  margin-bottom: 1.1rem;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.75rem 1rem;
  color: var(--black);
  background: var(--white);
  transform: translateY(-160%);
  transition: transform 0.2s ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.container {
  width: min(var(--max), calc(100% - 3rem));
  margin-inline: auto;
}

.content-rail {
  width: min(var(--content), calc(100% - 3rem));
  margin-inline: auto;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 1rem;
  color: var(--blue);
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 2.4rem;
  height: 2px;
  background: currentColor;
  content: "";
}

.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: var(--radius);
  padding: 0.75rem 1.45rem;
  background: var(--blue);
  color: var(--white);
  font-size: 1rem;
  font-weight: 600;
  font-style: italic;
  letter-spacing: 0.025em;
  cursor: pointer;
  transition: color 0.2s ease, background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.button:hover {
  background: #3f96ca;
  transform: translateY(-1px);
}

.button-dark {
  background: var(--black);
  border-color: var(--black);
}

.button-dark:hover {
  background: var(--blue);
  border-color: var(--blue);
}

.button-outline {
  color: currentColor;
  background: transparent;
  border-color: currentColor;
}

.button-outline:hover {
  color: var(--white);
  background: var(--blue);
  border-color: var(--blue);
}

.button:disabled {
  background: #6c7378;
  cursor: not-allowed;
  opacity: 0.68;
  transform: none;
}

.site-header {
  position: relative;
  z-index: 50;
  min-height: 94px;
  background: var(--black);
  color: var(--white);
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.header-inner {
  display: grid;
  width: min(1240px, calc(100% - 2rem));
  min-height: 94px;
  margin-inline: auto;
  grid-template-columns: minmax(195px, 250px) 1fr auto;
  align-items: center;
  gap: 2rem;
}

.brand {
  display: inline-flex;
  width: min(233px, 100%);
  align-items: center;
}

.brand img {
  width: 100%;
  height: auto;
}

.primary-nav {
  display: flex;
  justify-content: center;
  gap: clamp(1.4rem, 3vw, 3.5rem);
}

.nav-link {
  position: relative;
  padding: 1.9rem 0 1.75rem;
  color: var(--white);
  font-size: 1.32rem;
  font-weight: 600;
  line-height: 1;
  transition: color 0.3s ease;
}

.nav-link::after {
  position: absolute;
  right: 0;
  bottom: 1.2rem;
  left: 0;
  height: 2px;
  background: var(--blue);
  content: "";
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.25s ease;
}

.nav-link:hover,
.nav-link.active {
  color: var(--blue);
}

.nav-link:hover::after,
.nav-link.active::after {
  transform: scaleX(1);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.language-switch,
.cart-link,
.nav-toggle {
  display: inline-flex;
  min-width: 44px;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  border: 0;
  color: var(--white);
  background: transparent;
  cursor: pointer;
}

.language-switch {
  font-family: "Oswald", sans-serif;
  font-size: 1.05rem;
}

.language-switch:hover {
  color: var(--blue);
}

.cart-link {
  position: relative;
}

.cart-link svg {
  width: 25px;
  height: 25px;
}

.cart-count {
  position: absolute;
  top: 1px;
  right: 0;
  display: grid;
  width: 20px;
  height: 20px;
  place-items: center;
  border-radius: 999px;
  color: var(--white);
  background: var(--blue);
  font-size: 0.75rem;
  font-weight: 700;
  line-height: 1;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
}

.nav-toggle span {
  display: block;
  width: 26px;
  height: 2px;
  background: currentColor;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.hero {
  position: relative;
  z-index: 2;
  min-height: 580px;
  padding: 4.5rem 0 5.5rem;
  background: var(--white);
}

.hero::before,
.hero::after,
.brush-edge::after {
  position: absolute;
  right: -2%;
  left: -2%;
  z-index: 3;
  height: 24px;
  background: var(--black);
  content: "";
  clip-path: polygon(0 42%, 6% 20%, 14% 45%, 22% 17%, 33% 38%, 43% 12%, 53% 32%, 65% 8%, 75% 34%, 87% 13%, 100% 40%, 100% 100%, 0 100%);
}

.hero::before {
  top: -1px;
  transform: rotate(180deg);
}

.hero::after,
.brush-edge::after {
  bottom: -1px;
}

.hero-grid {
  display: grid;
  min-height: 470px;
  grid-template-columns: 0.96fr 1.04fr;
  align-items: center;
  gap: clamp(2rem, 6vw, 6rem);
}

.hero-copy {
  padding-top: 1rem;
}

.hero h1 {
  max-width: 660px;
  margin-bottom: 1.8rem;
}

.hero-lead {
  max-width: 34rem;
  margin-bottom: 2rem;
  font-family: Arial, sans-serif;
  font-size: clamp(1.1rem, 1.9vw, 1.45rem);
  line-height: 1.45;
}

.hero-media {
  position: relative;
  display: grid;
  min-height: 420px;
  place-items: center;
}

.hero-media::before {
  position: absolute;
  width: 67%;
  aspect-ratio: 1;
  border: 1px solid rgba(49, 130, 181, 0.28);
  border-radius: 50%;
  content: "";
}

.hero-media img {
  position: relative;
  width: min(100%, 530px);
  filter: drop-shadow(0 24px 30px rgba(0, 0, 0, 0.18));
}

.intro-section {
  position: relative;
  padding: 5rem 0 4.5rem;
  color: var(--white);
  background: var(--black);
}

.intro-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  align-items: center;
  gap: clamp(2rem, 6vw, 6rem);
}

.intro-image {
  width: min(100%, 330px);
  justify-self: center;
}

.intro-copy h2 {
  max-width: 700px;
  margin-bottom: 1.4rem;
  font-size: clamp(2rem, 4vw, 3.3rem);
}

.intro-copy p {
  max-width: 720px;
  color: var(--silver);
  font-size: 1.125rem;
  letter-spacing: 0.055em;
}

.benefits {
  padding: 6rem 0;
  color: var(--white);
  background: var(--coal);
}

.section-heading {
  max-width: 850px;
  margin-bottom: 3.5rem;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
}

.benefit-card {
  min-height: 280px;
  padding: 2.4rem;
  background: var(--coal);
}

.benefit-card img {
  width: 74px;
  margin-bottom: 1.6rem;
}

.benefit-card h3 {
  margin-bottom: 0.85rem;
}

.benefit-card p {
  color: var(--silver);
  font-size: 1.05rem;
}

.configuration {
  padding: 7rem 0;
  color: var(--white);
  background: var(--black);
}

.config-lead {
  display: grid;
  margin-bottom: 4rem;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3rem;
  align-items: end;
}

.config-lead p {
  color: var(--silver);
  font-size: 1.1rem;
}

.feature-row {
  display: grid;
  min-height: 540px;
  padding: 4rem 0;
  grid-template-columns: 0.9fr 1.1fr;
  align-items: center;
  gap: clamp(2rem, 7vw, 7rem);
  border-top: 1px solid var(--line);
}

.feature-row.reverse {
  grid-template-columns: 1.1fr 0.9fr;
}

.feature-row.reverse .feature-media {
  order: 2;
}

.feature-copy h3 {
  margin-bottom: 1.5rem;
  font-size: clamp(2rem, 4.4vw, 3.8rem);
}

.feature-copy p {
  color: var(--silver);
  font-size: 1.08rem;
}

.feature-copy strong {
  color: var(--white);
}

.feature-media {
  position: relative;
}

.feature-media img {
  width: 100%;
  max-height: 470px;
  object-fit: contain;
}

.blade-choices {
  display: grid;
  margin-top: 1.5rem;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.7rem;
}

.blade-choice {
  padding: 0.7rem;
  border: 1px solid var(--line);
  text-align: center;
}

.blade-choice img {
  width: 100%;
  aspect-ratio: 1.2;
  object-fit: contain;
}

.blade-choice span {
  color: var(--muted);
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.standard {
  position: relative;
  padding: 7rem 0 6.5rem;
  color: var(--white);
  background: var(--coal);
}

.standard-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--line);
}

.standard-item {
  display: grid;
  min-height: 170px;
  padding: 2rem;
  background: var(--coal);
  grid-template-columns: 54px 1fr;
  gap: 1.2rem;
}

.standard-item img {
  width: 42px;
  margin-top: 0.2rem;
}

.standard-item h3 {
  margin-bottom: 0.55rem;
  font-size: 1.45rem;
}

.standard-item p {
  margin-bottom: 0;
  color: var(--silver);
}

.products-section {
  position: relative;
  padding: 7rem 0;
  background: var(--white);
}

.products-header {
  display: flex;
  margin-bottom: 2.8rem;
  align-items: end;
  justify-content: space-between;
  gap: 2rem;
}

.products-header h2 {
  margin-bottom: 0;
}

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

.product-card {
  position: relative;
  display: flex;
  min-width: 0;
  flex-direction: column;
  border: 1px solid #dadde0;
  background: var(--white);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.product-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-4px);
}

.product-image-link {
  display: grid;
  min-height: 280px;
  place-items: center;
  overflow: hidden;
  background: #fafafa;
}

.product-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: contain;
  transition: transform 0.35s ease;
}

.product-card:hover img {
  transform: none;
}

.product-card-body {
  display: flex;
  height: 100%;
  padding: 1.2rem;
  flex-direction: column;
}

.product-card h2,
.product-card h3 {
  margin-bottom: 0.8rem;
  font-family: "Avenir Veloce", Arial, sans-serif;
  font-size: 1.05rem;
  font-style: normal;
  line-height: 1.35;
}

.product-card .price {
  margin-bottom: 1.1rem;
  font-size: 1.35rem;
  font-style: normal;
}

.product-card .button {
  width: 100%;
  margin-top: auto;
}

.site-footer {
  padding: 3.5rem 0 2rem;
  color: var(--white);
  background: var(--coal);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr 1fr;
  align-items: center;
  gap: 2rem;
}

.footer-brand img {
  width: min(252px, 100%);
}

.footer-brand p {
  margin: 1rem 0 0;
  color: var(--muted);
  font-size: 0.875rem;
}

.location-block {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.location-block img {
  width: 116px;
  opacity: 0.78;
}

.location-block p {
  margin: 0;
}

.footer-links {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.75rem;
}

.footer-links a {
  color: var(--silver);
  border-bottom: 1px solid transparent;
}

.footer-links a:hover {
  color: var(--blue);
  border-color: currentColor;
}

.page-hero {
  position: relative;
  padding: 6.5rem 0 5.5rem;
  overflow: hidden;
}

.page-hero.dark {
  color: var(--white);
  background: var(--black);
}

.page-hero.light {
  background: var(--white);
}

.page-hero.light + .products-section {
  padding-top: 1rem;
}

.page-hero h1 {
  max-width: 980px;
  margin-bottom: 1.4rem;
}

.page-hero p {
  max-width: 760px;
  font-size: 1.15rem;
}

.engineering-hero {
  min-height: 680px;
  padding-bottom: 4rem;
}

.engineering-hero-grid {
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  align-items: center;
  gap: 4rem;
}

.engineering-hero img {
  width: 100%;
  max-height: 480px;
  object-fit: contain;
}

.engineering-story {
  padding: 7rem 0;
  color: var(--white);
  background: var(--coal);
}

.engineering-story-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  align-items: center;
  gap: 4rem;
}

.engineering-story img {
  width: 100%;
  border: 1px solid var(--line);
}

.engineering-band {
  padding: 6rem 0;
  color: var(--white);
  background: var(--black);
}

.engineering-band-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

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

.engineering-panel img {
  width: 100%;
  height: 280px;
  margin-bottom: 1.5rem;
  object-fit: contain;
}

.engineering-panel p {
  color: var(--silver);
}

.contact-intro {
  padding: 7rem 0;
  background: var(--white);
}

.contact-shell {
  padding: 6rem 0;
  color: var(--white);
  background: var(--coal);
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  gap: clamp(3rem, 8vw, 7rem);
}

.contact-facts {
  display: grid;
  gap: 1.4rem;
}

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

.fact strong {
  display: block;
  margin-bottom: 0.35rem;
  color: var(--blue);
  font-size: 0.84rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.contact-form,
.product-form {
  display: grid;
  gap: 1.2rem;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.field {
  display: grid;
  gap: 0.45rem;
}

.field label {
  font-size: 0.95rem;
  font-weight: 600;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 48px;
  border: 1px solid #5a6065;
  border-radius: 0;
  padding: 0.75rem 0.9rem;
  color: var(--white);
  background: #101214;
}

.field textarea {
  min-height: 150px;
  resize: vertical;
}

.field input::placeholder,
.field textarea::placeholder {
  color: #8e959b;
}

.form-note {
  color: var(--muted);
  font-size: 0.88rem;
}

.legal-page {
  padding: 6rem 0 7rem;
  background: var(--white);
}

.legal-header {
  margin-bottom: 4rem;
  padding-bottom: 2.5rem;
  border-bottom: 3px solid var(--black);
}

.legal-header h1 {
  margin-bottom: 1rem;
  font-size: clamp(2.6rem, 6vw, 5rem);
}

.legal-kicker {
  font-family: "Oswald", sans-serif;
  font-size: 1.2rem;
  font-style: italic;
  letter-spacing: 0.04em;
}

.legal-body {
  max-width: 860px;
}

.legal-body section {
  padding: 2rem 0;
  border-top: 1px solid #d8dadc;
}

.legal-body section:first-child {
  border-top: 0;
}

.legal-body h2 {
  margin-bottom: 1.25rem;
  font-size: clamp(1.5rem, 2.8vw, 2.25rem);
}

.legal-body h3 {
  margin-top: 2.3rem;
  font-size: 1.35rem;
}

.legal-body p,
.legal-body li {
  color: #292d31;
}

.legal-body ul {
  padding-left: 1.25rem;
}

.product-page {
  padding: 5rem 0 7rem;
  background: var(--white);
}

.product-detail {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(2.5rem, 6vw, 6rem);
  align-items: start;
}

.gallery-stage {
  display: grid;
  min-height: 580px;
  place-items: center;
  border: 1px solid #d5d8da;
  background: #fafafa;
  overflow: hidden;
}

.gallery-stage img {
  width: 100%;
  max-height: 620px;
  object-fit: contain;
}

.gallery-thumbs {
  display: grid;
  margin-top: 0.8rem;
  grid-template-columns: repeat(4, 76px);
  gap: 0.65rem;
}

.gallery-thumb {
  display: grid;
  width: 76px;
  height: 68px;
  padding: 0;
  place-items: center;
  border: 1px solid #c7cbce;
  background: var(--white);
  cursor: pointer;
}

.gallery-thumb.active {
  border: 2px solid var(--blue);
}

.gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.product-copy-block {
  margin-top: 2rem;
  color: #25282b;
}

.product-copy-block strong {
  font-weight: 700;
}

.product-purchase {
  position: sticky;
  top: 1.5rem;
}

.product-purchase h1 {
  margin-bottom: 1.25rem;
  font-family: "Bai Jamjuree", sans-serif;
  font-size: clamp(2rem, 3.8vw, 3.2rem);
  font-style: normal;
  letter-spacing: -0.035em;
}

.product-price {
  margin-bottom: 2rem;
  font-size: 2rem;
}

.product-form .field input,
.product-form .field select {
  color: var(--black);
  background: var(--white);
  border-color: #aeb3b7;
}

.quantity-control {
  display: grid;
  width: 150px;
  grid-template-columns: 44px 1fr 44px;
  border: 1px solid #aeb3b7;
}

.quantity-control button,
.quantity-control input {
  width: 100%;
  min-height: 44px;
  border: 0;
  background: var(--white);
  text-align: center;
}

.quantity-control button {
  font-size: 1.4rem;
  cursor: pointer;
}

.quantity-control input {
  appearance: textfield;
}

.product-form .button {
  width: 100%;
  margin-top: 0.7rem;
}

.product-notes {
  margin-top: 2rem;
  border-top: 1px solid #ccd0d3;
}

.product-notes details {
  border-bottom: 1px solid #ccd0d3;
}

.product-notes summary {
  padding: 1.1rem 0;
  font-weight: 700;
  cursor: pointer;
}

.product-notes details p {
  padding-bottom: 1rem;
  color: #3e4347;
}

.cart-page {
  min-height: 62vh;
  padding: 6rem 0 7rem;
}

.cart-layout {
  display: grid;
  grid-template-columns: 1.4fr 0.6fr;
  gap: 3rem;
}

.cart-list {
  display: grid;
  gap: 1rem;
}

.cart-item {
  display: grid;
  padding: 1rem 0;
  grid-template-columns: 130px 1fr auto;
  align-items: center;
  gap: 1.2rem;
  border-top: 1px solid #d8dadc;
}

.cart-item:first-child {
  border-top: 0;
}

.cart-item img {
  width: 130px;
  aspect-ratio: 4 / 3;
  object-fit: contain;
  background: #f7f7f7;
}

.cart-item h2,
.cart-item h3 {
  margin-bottom: 0.35rem;
  font-family: "Bai Jamjuree", sans-serif;
  font-size: 1.1rem;
  font-style: normal;
}

.cart-meta {
  color: #596066;
  font-size: 0.9rem;
}

.cart-item-actions {
  display: grid;
  justify-items: end;
  gap: 0.6rem;
}

.link-button {
  border: 0;
  padding: 0;
  color: #6a7075;
  background: transparent;
  cursor: pointer;
  text-decoration: underline;
}

.order-summary {
  align-self: start;
  padding: 2rem;
  color: var(--white);
  background: var(--coal);
}

.summary-line {
  display: flex;
  padding: 1rem 0;
  justify-content: space-between;
  border-top: 1px solid var(--line);
}

.summary-line.total {
  font-size: 1.25rem;
  font-weight: 700;
}

.order-summary .button {
  width: 100%;
  margin-top: 1rem;
}

.empty-state {
  display: grid;
  min-height: 340px;
  place-items: center;
  border: 1px solid #d8dadc;
  text-align: center;
}

.empty-state-inner {
  max-width: 420px;
  padding: 2rem;
}

.not-found {
  display: grid;
  min-height: 65vh;
  place-items: center;
  padding: 4rem 1.5rem;
  color: var(--white);
  background: var(--black);
  text-align: center;
}

.toast {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 100;
  max-width: min(390px, calc(100% - 2.5rem));
  padding: 1rem 1.15rem;
  color: var(--white);
  background: var(--blue-dark);
  box-shadow: var(--shadow);
  opacity: 0;
  pointer-events: none;
  transform: translateY(20px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.toast.show {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1040px) {
  .header-inner {
    grid-template-columns: 190px 1fr auto;
    gap: 1rem;
  }

  .primary-nav {
    gap: 1.4rem;
  }

  .nav-link {
    font-size: 1.1rem;
  }

  .language-switch {
    font-size: 0.95rem;
  }

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

@media (max-width: 820px) {
  .container,
  .content-rail {
    width: min(100% - 2rem, var(--max));
  }

  .site-header,
  .header-inner {
    min-height: 76px;
  }

  .header-inner {
    grid-template-columns: minmax(148px, 190px) 1fr auto;
  }

  .primary-nav {
    position: fixed;
    top: 76px;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 60;
    display: grid;
    padding: 2.5rem 1.5rem 7rem;
    align-content: start;
    justify-content: stretch;
    gap: 0;
    background: rgba(0, 0, 0, 0.98);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-12px);
    transition: opacity 0.2s ease, transform 0.2s ease;
  }

  .menu-open .primary-nav {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .nav-link {
    padding: 1.15rem 0;
    border-bottom: 1px solid var(--line);
    font-size: 1.8rem;
  }

  .nav-link::after {
    display: none;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .menu-open .nav-toggle span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .menu-open .nav-toggle span:nth-child(2) {
    opacity: 0;
  }

  .menu-open .nav-toggle span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .hero {
    min-height: 0;
    padding: 4.5rem 0 5rem;
  }

  .hero-grid,
  .intro-grid,
  .config-lead,
  .feature-row,
  .feature-row.reverse,
  .engineering-hero-grid,
  .engineering-story-grid,
  .engineering-band-grid,
  .contact-grid,
  .product-detail,
  .cart-layout,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero-media {
    min-height: 300px;
  }

  .hero-media img {
    width: min(100%, 500px);
  }

  .intro-grid {
    text-align: left;
  }

  .intro-image {
    width: min(66%, 300px);
  }

  .benefits-grid,
  .standard-grid {
    grid-template-columns: 1fr;
  }

  .benefit-card {
    min-height: auto;
  }

  .feature-row,
  .feature-row.reverse {
    min-height: auto;
  }

  .feature-row.reverse .feature-media {
    order: 0;
  }

  .products-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-grid {
    text-align: left;
  }

  .product-purchase {
    position: static;
  }

  .gallery-stage {
    min-height: 420px;
  }

  .engineering-hero {
    min-height: 0;
  }
}

@media (max-width: 580px) {
  body {
    font-size: 1rem;
  }

  h1 {
    font-size: clamp(2.65rem, 14vw, 4rem);
  }

  h2 {
    font-size: clamp(2.15rem, 11vw, 3.3rem);
  }

  .header-inner {
    width: calc(100% - 1.2rem);
    grid-template-columns: minmax(132px, 165px) 1fr auto;
  }

  .header-actions {
    gap: 0.15rem;
  }

  .language-switch {
    padding: 0.3rem;
    font-size: 0.88rem;
  }

  .cart-link svg {
    width: 22px;
  }

  .hero {
    padding-top: 3.3rem;
  }

  .hero-grid {
    gap: 1rem;
  }

  .hero-media {
    min-height: 245px;
  }

  .benefits,
  .configuration,
  .standard,
  .products-section,
  .engineering-story,
  .engineering-band,
  .contact-shell,
  .legal-page,
  .product-page,
  .cart-page {
    padding-top: 4.5rem;
    padding-bottom: 4.5rem;
  }

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

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

  .product-image-link {
    min-height: 250px;
  }

  .standard-item {
    grid-template-columns: 44px 1fr;
    padding: 1.5rem;
  }

  .location-block {
    align-items: flex-start;
    flex-direction: column;
  }

  .location-block img {
    width: 135px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .gallery-stage {
    min-height: 300px;
  }

  .gallery-thumbs {
    grid-template-columns: repeat(4, 1fr);
  }

  .gallery-thumb {
    width: 100%;
  }

  .cart-item {
    grid-template-columns: 95px 1fr;
  }

  .cart-item img {
    width: 95px;
  }

  .cart-item-actions {
    grid-column: 2;
    justify-items: start;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

/* Professional layout correction: preserve the original content, improve scale and flow. */
:root {
  --blue: #0b76b3;
  --blue-dark: #07577f;
  --max: 1200px;
  --content: 1040px;
}

body {
  overflow-x: clip;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
summary:focus-visible {
  outline: 2px solid #ffffff;
  box-shadow: 0 0 0 5px #07577f;
}

h1 {
  font-size: clamp(2.7rem, 4.7vw, 4.65rem);
}

h2 {
  font-size: clamp(2rem, 3.5vw, 3.35rem);
}

h3 {
  font-size: clamp(1.3rem, 2vw, 1.8rem);
}

.site-header,
.header-inner {
  min-height: 78px;
}

.site-header {
  position: sticky;
  top: 0;
}

.header-inner {
  width: min(1260px, calc(100% - 2.5rem));
  grid-template-columns: 185px 1fr auto;
  gap: 1.5rem;
}

.brand {
  width: 178px;
}

.primary-nav {
  gap: clamp(1.25rem, 2.4vw, 2.5rem);
}

.nav-link {
  padding: 1.65rem 0 1.55rem;
  font-family: "Bai Jamjuree", Arial, sans-serif;
  font-size: 0.98rem;
  font-style: normal;
  font-weight: 600;
}

.nav-link::after {
  bottom: 1rem;
}

.language-switch {
  font-family: "Bai Jamjuree", Arial, sans-serif;
  font-size: 0.9rem;
}

.hero {
  min-height: 0;
  padding: 3.75rem 0 4.25rem;
}

.hero::before,
.hero::after {
  display: none;
}

.brush-edge::after {
  right: 0;
  left: 0;
  width: 100%;
}

.hero-grid {
  min-height: 0;
  grid-template-columns: minmax(0, 0.92fr) minmax(360px, 1.08fr);
  gap: clamp(2rem, 5vw, 5rem);
}

.hero-copy {
  padding-top: 0;
}

.hero h1 {
  max-width: 610px;
  margin-bottom: 1.1rem;
  font-size: clamp(3rem, 5.1vw, 4.75rem);
  line-height: 0.98;
}

.hero-lead {
  margin-bottom: 1.6rem;
  font-size: clamp(1.05rem, 1.6vw, 1.3rem);
}

.hero-media {
  min-height: 330px;
}

.hero-media img {
  width: min(100%, 500px);
}

.intro-section,
.benefits,
.configuration,
.standard,
.products-section,
.engineering-story,
.engineering-band,
.contact-shell,
.legal-page,
.product-page,
.cart-page {
  padding-top: 4.5rem;
  padding-bottom: 4.5rem;
}

.intro-copy h2 {
  font-size: clamp(2rem, 3.3vw, 3rem);
}

.section-heading {
  margin-bottom: 2.5rem;
}

.benefit-card {
  min-height: 235px;
  padding: 2rem;
}

.config-lead {
  margin-bottom: 2.25rem;
}

.feature-row,
.feature-row.reverse {
  min-height: 0;
  padding: 3.25rem 0;
  gap: clamp(2rem, 5vw, 5rem);
}

.feature-copy h3 {
  margin-bottom: 1rem;
  font-size: clamp(1.9rem, 3.3vw, 3rem);
}

.feature-media img,
.engineering-hero img,
.engineering-story img,
.engineering-panel img {
  object-fit: contain;
}

.standard-item {
  min-height: 150px;
  padding: 1.65rem;
}

.product-image-link {
  min-height: 240px;
}

.site-footer {
  padding: 2rem 0 1.6rem;
}

.footer-grid {
  grid-template-columns: 1.15fr 0.9fr 0.8fr;
  align-items: center;
  gap: 2.5rem;
}

.footer-brand img {
  width: 172px;
}

.footer-brand p {
  margin-top: 0.65rem;
  font-size: 0.8rem;
}

.location-block img {
  width: 78px;
}

.footer-links {
  gap: 0.45rem;
}

.footer-links a,
.location-block p {
  font-size: 0.9rem;
}

.page-hero,
.contact-intro {
  padding-top: 4.5rem;
  padding-bottom: 4rem;
}

.engineering-hero {
  min-height: 0;
}

.engineering-story-grid {
  gap: 3rem;
}

.engineering-panel {
  padding: 1.25rem;
}

.engineering-panel img {
  height: auto;
  max-height: 430px;
  aspect-ratio: auto;
  margin-bottom: 1rem;
  background: #11171b;
}

.product-detail {
  grid-template-areas:
    "gallery purchase"
    "copy purchase";
  gap: 2rem clamp(2.5rem, 6vw, 6rem);
}

.product-gallery {
  grid-area: gallery;
}

.product-purchase {
  grid-area: purchase;
  top: 6.25rem;
}

.product-copy-block {
  grid-area: copy;
  margin-top: 0;
}

.gallery-stage {
  min-height: 460px;
}

@media (max-width: 1100px) {
  .header-inner {
    grid-template-columns: minmax(150px, 180px) 1fr auto;
  }

  .primary-nav {
    position: fixed;
    top: 78px;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 60;
    display: grid;
    padding: 2rem 1.5rem 6rem;
    align-content: start;
    justify-content: stretch;
    gap: 0;
    background: rgba(0, 0, 0, 0.985);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-10px);
    transition: opacity 0.2s ease, transform 0.2s ease;
  }

  .header-actions {
    grid-column: 3;
    justify-self: end;
  }

  .menu-open .primary-nav {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .nav-link {
    padding: 1rem 0;
    border-bottom: 1px solid var(--line);
    font-size: 1.35rem;
  }

  .nav-link::after {
    display: none;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .menu-open .nav-toggle span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .menu-open .nav-toggle span:nth-child(2) {
    opacity: 0;
  }

  .menu-open .nav-toggle span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }
}

@media (max-width: 820px) {
  h1 {
    font-size: clamp(2.55rem, 10vw, 3.6rem);
  }

  h2 {
    font-size: clamp(2rem, 8vw, 2.9rem);
  }

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

  .hero h1 {
    max-width: 680px;
    font-size: clamp(3rem, 11vw, 4.25rem);
  }

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

  .intro-copy {
    order: -1;
  }

  .product-detail {
    grid-template-areas:
      "gallery"
      "purchase"
      "copy";
  }

  .product-purchase {
    position: static;
  }

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

  .footer-links {
    grid-column: 1 / -1;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 0.75rem 1.5rem;
  }
}

@media (max-width: 580px) {
  .container,
  .content-rail {
    width: min(100% - 2rem, var(--max));
  }

  .header-inner {
    width: calc(100% - 1rem);
    grid-template-columns: minmax(125px, 150px) 1fr auto;
    gap: 0.25rem;
  }

  .brand {
    width: 145px;
  }

  .language-switch {
    max-width: 48px;
    overflow: hidden;
    white-space: nowrap;
    font-size: 0;
  }

  html[lang="es"] .language-switch::after {
    content: "EN";
    font-size: 0.85rem;
  }

  html[lang="en"] .language-switch::after {
    content: "ES";
    font-size: 0.85rem;
  }

  .hero {
    padding: 3rem 0 3.5rem;
  }

  .hero h1 {
    font-size: clamp(2.75rem, 14vw, 3.65rem);
  }

  .hero-media {
    min-height: 220px;
  }

  .intro-section,
  .benefits,
  .configuration,
  .standard,
  .products-section,
  .engineering-story,
  .engineering-band,
  .contact-shell,
  .legal-page,
  .product-page,
  .cart-page {
    padding-top: 3rem;
    padding-bottom: 3rem;
  }

  .feature-row,
  .feature-row.reverse {
    padding: 2.25rem 0;
  }

  .gallery-stage {
    min-height: 280px;
  }

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

  .footer-links {
    grid-column: auto;
  }

  .location-block img {
    width: 64px;
  }
}
