/* Home page (index.php) */

.hm-head { max-width: 680px; margin-bottom: 48px; }
.hm-head h2 { margin-bottom: 12px; }
.hm-head p { margin: 0; font-size: 1.05rem; color: var(--color-muted); }
.hm-head--center { margin-inline: auto; text-align: center; }
.hm-head--split { max-width: none; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px; align-items: center; }
.hm-head--split h2 { margin: 0; }
.hm-head--split p { max-width: 480px; justify-self: end; }

/* Hero: copy on the left, one large photo card + two stacked cards on the right */
.hm-hero {
  --px: 0;
  --py: 0;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 72px 0 168px;
  background:
    radial-gradient(ellipse at 78% 55%, color-mix(in srgb, var(--color-accent) 26%, transparent), transparent 42%),
    radial-gradient(circle at 0% 100%, color-mix(in srgb, var(--color-primary-lighter) 60%, transparent), transparent 40%),
    var(--color-primary);
  color: color-mix(in srgb, var(--color-on-dark) 78%, transparent);
}

/* Background photo (set from index.php via --hero-bg), kept faint so text stays readable */
.hm-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -2;
  background: var(--hero-bg, none) center / cover no-repeat;
  opacity: 0.18;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 55%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 55%);
}

.hm-hero__inner { display: grid; grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr); gap: 40px; align-items: center; }
.hm-hero__copy, .hm-hero__visual { min-width: 0; }
.hm-hero__copy > * { animation: hm-rise 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) both; }
.hm-hero__copy > :nth-child(2) { animation-delay: 0.08s; }
.hm-hero__copy > :nth-child(3) { animation-delay: 0.16s; }
.hm-hero__copy > :nth-child(4) { animation-delay: 0.24s; }
.hm-hero__copy > :nth-child(5) { animation-delay: 0.32s; }

.hm-hero__kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 22px;
  padding: 7px 16px 7px 12px;
  border: 1px solid color-mix(in srgb, var(--color-on-dark) 18%, transparent);
  border-radius: 40px;
  background: color-mix(in srgb, var(--color-on-dark) 6%, transparent);
  font-size: 0.9rem;
  color: var(--color-on-dark);
}
.hm-hero__kicker .vs-icon { color: var(--color-accent-light); }
.hm-hero h1 { max-width: 600px; margin-bottom: 22px; font-size: clamp(2.1rem, 3.6vw, 3rem); color: var(--color-on-dark); }
.hm-hero__lead { max-width: 540px; margin-bottom: 34px; font-size: 1.08rem; }
.hm-hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 34px; }
.hm-hero__trust { display: flex; flex-wrap: wrap; gap: 10px 22px; margin: 0; padding: 0; list-style: none; font-size: 0.9rem; color: var(--color-on-dark); }
.hm-hero__trust li { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; }
.hm-hero__trust .vs-icon { color: var(--color-accent-light); }

@keyframes hm-rise { from { opacity: 0; translate: 0 26px; } to { opacity: 1; translate: 0 0; } }

/* Hero visual */
.hm-hero__visual {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  grid-template-rows: minmax(0, 1fr) minmax(0, 1fr);
  gap: 16px;
  height: 520px;
  overflow: visible;
  margin-left: 24px;
}
.hm-tile {
  --depth: 8;
  position: relative;
  display: block;
  min-width: 0;
  min-height: 0;
  isolation: isolate;
  overflow: hidden;
  border-radius: var(--radius-lg);
  /* steel-look fallback, shows if the photo is missing */
  background:
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.05) 0 1px, transparent 1px 3px),
    linear-gradient(145deg, var(--color-primary-lighter), var(--color-primary));
  box-shadow: 0 30px 50px -28px rgba(0, 0, 0, 0.8);
  transform: translate3d(calc(var(--px) * var(--depth) * -1px), calc(var(--py) * var(--depth) * -1px), 0);
  transition: transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.4s;
  animation: hm-rise 0.9s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}
.hm-tile--1 { grid-row: 1 / 3; animation-delay: 0.2s; }
.hm-tile--2 { --depth: 14; animation-delay: 0.3s; }
.hm-tile--3 { --depth: 20; animation-delay: 0.4s; }
.hm-tile--1 img { object-position: 25% center; }
.hm-tile img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  color: transparent;
  font-size: 0;
  transition: transform 0.7s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.hm-tile::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, transparent 45%, color-mix(in srgb, var(--color-primary) 92%, transparent));
}
.hm-tile__label {
  position: absolute;
  left: 20px;
  right: 16px;
  bottom: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 650;
  font-stretch: var(--heading-stretch);
  color: var(--color-on-dark);
}
.hm-tile__label .vs-icon {
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  padding: 8px;
  border-radius: 50%;
  background: var(--color-accent);
  transition: transform 0.3s;
}
.hm-tile:hover { box-shadow: 0 40px 60px -28px rgba(0, 0, 0, 0.9), 0 0 0 2px color-mix(in srgb, var(--color-on-dark) 35%, transparent); }
.hm-tile:hover img { transform: scale(1.07); }
.hm-tile:hover .hm-tile__label .vs-icon { transform: translateX(4px); }

.hm-hero__badge {
  position: absolute;
  left: -10px;
  bottom: 80px;
  z-index: 3;
  padding: 16px 22px;
  border-radius: var(--radius);
  background: var(--color-accent);
  color: var(--color-on-dark);
  box-shadow: 0 20px 36px -16px rgba(0, 0, 0, 0.7);
  animation: hm-rise 0.9s 0.6s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}
.hm-hero__badge strong { display: block; font-family: var(--font-heading); font-size: 2rem; font-weight: 700; line-height: 1; }
.hm-hero__badge span { font-size: 0.85rem; }

/* Feature cards overlapping the hero */
.hm-pillars { position: relative; z-index: 3; margin-top: -116px; }
.hm-pillars__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.hm-pillar { padding: 32px 28px 30px; background: var(--color-bg); border: 1px solid var(--color-border); border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.hm-pillar:hover { --lift: -6px; border-color: color-mix(in srgb, var(--color-accent) 50%, var(--color-border)); box-shadow: 0 30px 50px -24px color-mix(in srgb, var(--color-primary) 45%, transparent); }
.hm-pillar__icon {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  margin-bottom: 20px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--color-accent), var(--color-accent-dark));
  color: var(--color-on-dark);
  box-shadow: 0 12px 22px -10px var(--color-accent);
}
.hm-pillar__icon .vs-icon { width: 26px; height: 26px; }
.hm-pillar p { margin: 0; color: var(--color-muted); }

/* About */
.hm-about {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 112px 0 var(--section-space);
  background:
    radial-gradient(circle at 6% 10%, color-mix(in srgb, var(--color-accent) 11%, transparent), transparent 36%),
    radial-gradient(circle at 96% 88%, color-mix(in srgb, var(--color-primary) 9%, transparent), transparent 42%),
    linear-gradient(180deg, var(--color-bg) 0%, var(--color-bg-alt) 100%);
}
/* dotted pattern, bottom left */
.hm-about::after {
  content: '';
  position: absolute;
  left: 24px;
  bottom: 24px;
  z-index: -1;
  width: 240px;
  height: 200px;
  background-image: radial-gradient(color-mix(in srgb, var(--color-primary) 22%, transparent) 1.6px, transparent 1.7px);
  background-size: 20px 20px;
  -webkit-mask-image: linear-gradient(45deg, #000, transparent 80%);
  mask-image: linear-gradient(45deg, #000, transparent 80%);
}
/* three light slanted bars (echo the logo), top right, with soft 3D shadows */
.hm-about__deco {
  position: absolute;
  right: -30px;
  top: 70px;
  z-index: -1;
  display: flex;
  align-items: flex-start;
  gap: 22px;
  height: 540px;
  pointer-events: none;
}
.hm-about__deco i {
  display: block;
  width: 84px;
  border-radius: 6px;
  background: linear-gradient(180deg, #ffffff 0%, #dde2e8 100%);
  box-shadow: 18px 28px 40px -22px color-mix(in srgb, var(--color-primary) 38%, transparent), inset 0 2px 0 #fff;
  transform: skewX(-12deg);
}
.hm-about__deco i:nth-child(1) { height: 56%; }
.hm-about__deco i:nth-child(2) { height: 78%; }
.hm-about__deco i:nth-child(3) {
  height: 100%;
  background: linear-gradient(180deg, color-mix(in srgb, var(--color-accent) 24%, white) 0%, color-mix(in srgb, var(--color-accent) 7%, white) 100%);
}

.hm-about__grid { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 80px; align-items: center; }

/* Photos: big photo, small photo overlapping, floating badge, navy slab behind */
.hm-about__visual { position: relative; padding: 0 64px 64px 0; }
.hm-about__visual::before {
  content: '';
  position: absolute;
  top: 28px;
  left: -22px;
  right: 42px;
  bottom: 36px;
  z-index: 0;
  border-radius: 22px;
  background: linear-gradient(145deg, var(--color-primary), var(--color-primary-lighter));
  box-shadow: 0 30px 50px -30px color-mix(in srgb, var(--color-primary) 70%, transparent);
}
.hm-about__photo, .hm-about__photo-sm { position: relative; z-index: 1; margin: 0; overflow: hidden; background: var(--color-primary-light); }
.hm-about__photo { aspect-ratio: 4 / 5; border-radius: 20px; box-shadow: 0 34px 60px -28px color-mix(in srgb, var(--color-primary) 60%, transparent); }
.hm-about__photo img, .hm-about__photo-sm img { width: 100%; height: 100%; object-fit: cover; }
.hm-about__photo-sm {
  position: absolute;
  right: 0;
  bottom: 0;
  z-index: 2;
  width: 46%;
  aspect-ratio: 1;
  border: 4px solid var(--color-bg);
  border-radius: 22px;
  box-shadow: 0 26px 44px -20px color-mix(in srgb, var(--color-primary) 55%, transparent);
}
.hm-about__badge {
  position: absolute;
  top: 40px;
  left: -34px;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 20px 14px 14px;
  border: 1px solid color-mix(in srgb, var(--color-bg) 70%, transparent);
  border-radius: var(--radius-lg);
  background: color-mix(in srgb, var(--color-bg) 88%, transparent);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  box-shadow: 0 22px 40px -18px color-mix(in srgb, var(--color-primary) 55%, transparent);
}
.hm-about__badge-icon { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 12px; background: linear-gradient(135deg, var(--color-accent), var(--color-accent-dark)); color: var(--color-on-dark); }
.hm-about__badge-icon .vs-icon { width: 24px; height: 24px; }
.hm-about__badge strong { display: block; font-family: var(--font-heading); font-size: 1.02rem; font-weight: 650; font-stretch: var(--heading-stretch); line-height: 1.2; color: var(--color-heading); }
.hm-about__badge span:not(.hm-about__badge-icon) { font-size: 0.82rem; color: var(--color-muted); }

/* Text side */
.hm-about__eyebrow { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 14px; font-size: 0.82rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--color-accent); }
.hm-about__eyebrow::before { content: ''; width: 10px; height: 22px; background: var(--color-accent); transform: skewX(-12deg); }
.hm-about__lead { font-size: 1.06rem; color: var(--color-muted); }
.hm-about__points { position: relative; display: grid; gap: 0; margin: 30px 0 34px; padding: 0; list-style: none; }
.hm-about__points li { position: relative; display: flex; align-items: flex-start; gap: 20px; padding-bottom: 28px; }
.hm-about__points li:last-child { padding-bottom: 0; }
/* connecting dotted line between the two points */
.hm-about__points li:not(:last-child)::before {
  content: '';
  position: absolute;
  left: 25px;
  top: 60px;
  bottom: 6px;
  width: 2px;
  background: repeating-linear-gradient(180deg, color-mix(in srgb, var(--color-accent) 55%, transparent) 0 5px, transparent 5px 10px);
}
.hm-about__icon {
  position: relative;
  display: grid;
  flex-shrink: 0;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--color-accent), var(--color-accent-dark));
  color: var(--color-on-dark);
  box-shadow: 0 14px 24px -12px var(--color-accent);
  transition: transform 0.3s;
}
.hm-about__points li:hover .hm-about__icon { transform: translateY(-3px) rotate(-4deg); }
.hm-about__icon .vs-icon { width: 25px; height: 25px; }
.hm-about__points h3 { margin: 2px 0 6px; font-size: 1.15rem; }
.hm-about__points p { margin: 0; max-width: 520px; font-size: 0.97rem; color: var(--color-muted); }
.hm-about__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 26px; }
.hm-about__call { display: inline-flex; align-items: center; gap: 12px; font-weight: 600; color: var(--color-heading); }
.hm-about__call > span:first-child { display: grid; place-items: center; width: 46px; height: 46px; border: 1.5px solid var(--color-border); border-radius: 50%; background: var(--color-bg); color: var(--color-accent); transition: background 0.2s, color 0.2s, border-color 0.2s; }
.hm-about__call small { display: block; font-size: 0.8rem; font-weight: 400; color: var(--color-muted); }
.hm-about__call:hover > span:first-child { background: var(--color-accent); border-color: var(--color-accent); color: var(--color-on-dark); }

/* Facts strip: four numbers in one raised card */
.hm-facts {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 80px;
  border: 1px solid var(--color-border);
  border-radius: 22px;
  background: var(--color-bg);
  box-shadow: 0 30px 56px -30px color-mix(in srgb, var(--color-primary) 45%, transparent);
}
.hm-fact { position: relative; display: flex; align-items: center; gap: 16px; padding: 30px 28px; }
.hm-fact + .hm-fact::before { content: ''; position: absolute; left: 0; top: 22%; bottom: 22%; width: 1px; background: var(--color-border); }
.hm-fact__icon { display: grid; flex-shrink: 0; place-items: center; width: 54px; height: 54px; border-radius: 14px; background: linear-gradient(135deg, var(--color-accent-soft), color-mix(in srgb, var(--color-accent) 18%, white)); color: var(--color-accent); box-shadow: 0 10px 18px -10px var(--color-accent); transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1); }
.hm-fact__icon .vs-icon { width: 26px; height: 26px; }
.hm-fact strong { display: block; font-family: var(--font-heading); font-size: clamp(1.9rem, 2.6vw, 2.4rem); font-weight: 700; font-stretch: var(--heading-stretch); line-height: 1; color: var(--color-heading); transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1); }
.hm-fact div > span { display: block; margin-top: 6px; font-size: 0.9rem; color: var(--color-muted); }
.hm-fact:hover .hm-fact__icon { transform: translateZ(40px); }
.hm-fact:hover strong { transform: translateZ(26px); }

/* Product catalog */
.hm-products { padding: var(--section-space) 0; background: var(--color-bg-alt); }
.hm-catalog { display: grid; grid-template-columns: 290px minmax(0, 1fr); gap: 28px; align-items: stretch; }
.hm-catalog__list {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 10px;
  border: 1px solid var(--color-border);
  border-radius: 20px;
  background: var(--color-bg);
  box-shadow: var(--shadow-sm);
}
.hm-catalog__panels { display: grid; }
.hm-catalog__tab {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex: 1 1 0;
  gap: 12px;
  min-height: 50px;
  padding: 10px 16px;
  border: 0;
  border-radius: 12px;
  background: transparent;
  text-align: left;
  line-height: 1.25;
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
  font-stretch: var(--heading-stretch);
  color: var(--color-heading);
  cursor: pointer;
  transition: background 0.3s, color 0.3s, box-shadow 0.3s;
}
.hm-catalog__tab .vs-icon { opacity: 0; transform: translateX(-8px); transition: opacity 0.2s, transform 0.2s; }
.hm-catalog__tab > span { transition: transform 0.25s ease; }
.hm-catalog__tab:hover { background: var(--color-bg-alt); }
.hm-catalog__tab:hover > span { transform: translateX(4px); }
.hm-catalog__tab:hover .vs-icon { opacity: 0.5; transform: none; }
.hm-catalog__tab.is-active { background: var(--color-primary); color: var(--color-on-dark); box-shadow: 0 14px 26px -16px var(--color-primary); }
.hm-catalog__tab.is-active > span { transform: none; }
.hm-catalog__tab.is-active::before { content: ''; position: absolute; left: 0; top: 10px; bottom: 10px; width: 4px; border-radius: 0 4px 4px 0; background: var(--color-accent); }
.hm-catalog__tab.is-active .vs-icon { opacity: 1; transform: none; color: var(--color-accent-light); }

.hm-catalog__panel { display: none; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 8px; padding: 14px; background: var(--color-bg); border-radius: 20px; box-shadow: var(--shadow); }
.hm-catalog__panel.is-active { display: grid; }
/* Smooth tab switch (desktop): all panels sit in one grid cell and cross-fade.
   The box keeps the height of the tallest panel, so nothing jumps or shakes. */
@media (min-width: 992px) {
  .hm-catalog__panel {
    display: grid;
    grid-area: 1 / 1;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(10px);
    transition: opacity 0.45s ease, transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1), visibility 0s linear 0.45s;
  }
  .hm-catalog__panel.is-active {
    z-index: 1;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: none;
    transition: opacity 0.5s ease 0.05s, transform 0.7s cubic-bezier(0.2, 0.8, 0.2, 1) 0.05s, visibility 0s;
  }
  .hm-catalog__media img { transform: scale(1.06); transition: transform 1s cubic-bezier(0.2, 0.8, 0.2, 1); }
  .hm-catalog__panel.is-active .hm-catalog__media img { transform: none; }
  .hm-catalog__body > * { opacity: 0; transform: translateX(16px); transition: opacity 0.4s ease, transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1); }
  .hm-catalog__panel.is-active .hm-catalog__body > * { opacity: 1; transform: none; }
  .hm-catalog__panel.is-active .hm-catalog__body > :nth-child(1) { transition-delay: 0.1s; }
  .hm-catalog__panel.is-active .hm-catalog__body > :nth-child(2) { transition-delay: 0.15s; }
  .hm-catalog__panel.is-active .hm-catalog__body > :nth-child(3) { transition-delay: 0.2s; }
  .hm-catalog__panel.is-active .hm-catalog__body > :nth-child(4) { transition-delay: 0.25s; }
  .hm-catalog__panel.is-active .hm-catalog__body > :nth-child(5) { transition-delay: 0.3s; }
  .hm-catalog__panel.is-active .hm-catalog__body > :nth-child(6) { transition-delay: 0.35s; }
}
.hm-catalog__media { position: relative; min-height: 400px; margin: 0; overflow: hidden; border-radius: var(--radius-lg); background: var(--color-primary-light); }
.hm-catalog__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hm-catalog__body { display: flex; flex-direction: column; justify-content: center; padding: 20px 24px 20px 30px; }
.hm-catalog__body h3 { margin-bottom: 10px; font-size: 1.6rem; }
.hm-catalog__body > p:not([class]) { color: var(--color-muted); }
.hm-catalog__meta { display: flex; gap: 10px; align-items: flex-start; font-size: 0.92rem; font-weight: 500; color: var(--color-heading); }
.hm-catalog__meta .vs-icon { margin-top: 3px; color: var(--color-accent); }
.hm-catalog__label { margin: 6px 0 10px; font-size: 0.82rem; font-weight: 600; color: var(--color-muted); }
.hm-catalog__grades { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.hm-catalog__grades li { padding: 5px 12px; border-left: 3px solid var(--color-accent); border-radius: 6px; background: var(--color-bg-alt); font-family: var(--font-heading); font-size: 0.88rem; font-weight: 600; font-stretch: var(--heading-stretch); color: var(--color-heading); }
.hm-catalog__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 22px; margin-top: 28px; }

/* Grade strip */
.hm-strip { overflow: hidden; padding: 15px 0; background: var(--color-accent); }
.hm-strip__track { display: flex; width: max-content; animation: vs-scroll 42s linear infinite; }
.hm-strip span { display: inline-flex; align-items: center; white-space: nowrap; font-family: var(--font-heading); font-size: 1.02rem; font-weight: 600; font-stretch: var(--heading-stretch); color: var(--color-on-dark); }
.hm-strip span::after { content: ''; flex-shrink: 0; width: 7px; height: 7px; margin: 0 30px; border-radius: 1px; background: color-mix(in srgb, var(--color-on-dark) 75%, transparent); transform: rotate(45deg); }

/* Industries */
.hm-industries { padding: var(--section-space) 0; }
.hm-head__side { justify-self: end; max-width: 480px; }
.hm-head__side p { margin-bottom: 14px; }
.hm-head__side .vs-link { display: inline-flex; align-items: center; gap: 8px; }
/* Oil & Gas big on the left; Automobile + Mining, then Chemical wide; Energy + Marine at the bottom */
.hm-bento {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: 250px;
  gap: 16px;
  grid-template-areas:
    "oil oil auto mine"
    "oil oil chem chem"
    "energy energy marine marine";
}
.hm-bento__tile--oil-gas { grid-area: oil; }
.hm-bento__tile--automobile { grid-area: auto; }
.hm-bento__tile--mining { grid-area: mine; }
.hm-bento__tile--chemical { grid-area: chem; }
.hm-bento__tile--marine { grid-area: marine; }
.hm-bento__tile--energy { grid-area: energy; }
.hm-bento__tile {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: linear-gradient(145deg, var(--color-primary-lighter), var(--color-primary));
  box-shadow: var(--shadow-sm);
}
.hm-bento__tile:hover { box-shadow: 0 30px 50px -26px color-mix(in srgb, var(--color-primary) 70%, transparent); }
.hm-bento__tile img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; max-width: none; object-fit: cover; color: transparent; font-size: 0; transition: transform 0.6s ease; }
.hm-bento__tile::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, color-mix(in srgb, var(--color-primary) 22%, transparent) 0%, transparent 32%, color-mix(in srgb, var(--color-primary) 94%, transparent) 100%); }
.hm-bento__tile:hover img { transform: scale(1.07); }
.hm-bento__num {
  position: absolute;
  top: 16px;
  left: 16px;
  padding: 5px 12px;
  border: 1px solid color-mix(in srgb, var(--color-on-dark) 24%, transparent);
  border-radius: 30px;
  background: color-mix(in srgb, var(--color-on-dark) 14%, transparent);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--color-on-dark);
}
.hm-bento__label { position: absolute; left: 22px; right: 70px; bottom: 20px; color: var(--color-on-dark); }
.hm-bento__label small { display: block; margin-bottom: 2px; font-size: 0.82rem; font-weight: 500; color: var(--color-accent-light); }
.hm-bento__label strong { display: block; font-family: var(--font-heading); font-size: 1.35rem; font-weight: 650; font-stretch: var(--heading-stretch); line-height: 1.2; }
.hm-bento__tile--oil-gas .hm-bento__label strong { font-size: 2.1rem; }
.hm-bento__supply { display: block; max-height: 0; overflow: hidden; opacity: 0; font-size: 0.86rem; color: color-mix(in srgb, var(--color-on-dark) 80%, transparent); transition: max-height 0.35s ease, opacity 0.35s ease, margin 0.35s ease; }
.hm-bento__tile:hover .hm-bento__supply, .hm-bento__tile:focus-visible .hm-bento__supply { max-height: 3.2em; margin-top: 6px; opacity: 1; }
/* big tiles always show what we supply */
.hm-bento__tile--oil-gas .hm-bento__supply, .hm-bento__tile--chemical .hm-bento__supply, .hm-bento__tile--energy .hm-bento__supply, .hm-bento__tile--marine .hm-bento__supply { max-height: 3.2em; margin-top: 6px; opacity: 1; }
.hm-bento__go { position: absolute; right: 18px; bottom: 20px; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: color-mix(in srgb, var(--color-on-dark) 14%, transparent); color: var(--color-on-dark); transform: rotate(-45deg); transition: background 0.3s, transform 0.3s; }
.hm-bento__tile:hover .hm-bento__go { background: var(--color-accent); transform: rotate(0); }

/* Why choose us */
.hm-why {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: var(--section-space) 0 calc(var(--section-space) + 8px);
  background:
    radial-gradient(circle at 0% 0%, color-mix(in srgb, var(--color-accent) 20%, transparent), transparent 40%),
    radial-gradient(circle at 100% 100%, color-mix(in srgb, var(--color-primary-lighter) 70%, transparent), transparent 45%),
    var(--color-primary);
  color: color-mix(in srgb, var(--color-on-dark) 76%, transparent);
}
/* dotted pattern, top right */
.hm-why::before {
  content: '';
  position: absolute;
  top: 28px;
  right: 28px;
  z-index: -1;
  width: 260px;
  height: 200px;
  background-image: radial-gradient(color-mix(in srgb, var(--color-on-dark) 22%, transparent) 1.6px, transparent 1.7px);
  background-size: 20px 20px;
  -webkit-mask-image: linear-gradient(225deg, #000, transparent 75%);
  mask-image: linear-gradient(225deg, #000, transparent 75%);
}
.hm-why__grid { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: 64px; align-items: start; }
.hm-why__intro { position: sticky; top: calc(var(--header-height) + 48px); }
.hm-why__eyebrow { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 14px; font-size: 0.82rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--color-accent-light); }
.hm-why__eyebrow::before { content: ''; width: 10px; height: 22px; background: var(--color-accent); transform: skewX(-12deg); }
.hm-why__intro h2 { color: var(--color-on-dark); }
.hm-why__intro > p { max-width: 420px; margin-bottom: 26px; font-size: 1.05rem; }
.hm-why__checks { display: grid; gap: 12px; margin: 0 0 34px; padding: 0; list-style: none; color: var(--color-on-dark); }
.hm-why__checks li { display: flex; align-items: center; gap: 12px; font-weight: 500; }
.hm-why__checks .vs-icon { flex-shrink: 0; width: 26px; height: 26px; padding: 5px; border-radius: 50%; background: color-mix(in srgb, var(--color-accent) 22%, transparent); color: var(--color-accent-light); }
.hm-why__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 24px; }
.hm-why__call { display: inline-flex; align-items: center; gap: 12px; font-weight: 600; color: var(--color-on-dark); }
.hm-why__call > span:first-child { display: grid; place-items: center; width: 46px; height: 46px; border: 1.5px solid color-mix(in srgb, var(--color-on-dark) 28%, transparent); border-radius: 50%; color: var(--color-accent-light); transition: background 0.2s, border-color 0.2s, color 0.2s; }
.hm-why__call small { display: block; font-size: 0.8rem; font-weight: 400; color: color-mix(in srgb, var(--color-on-dark) 60%, transparent); }
.hm-why__call:hover > span:first-child { background: var(--color-accent); border-color: var(--color-accent); color: var(--color-on-dark); }

.hm-why__cards { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.hm-why__card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 30px 28px 32px;
  border: 1px solid color-mix(in srgb, var(--color-on-dark) 12%, transparent);
  border-radius: 20px;
  background: linear-gradient(160deg, color-mix(in srgb, var(--color-on-dark) 8%, transparent), color-mix(in srgb, var(--color-on-dark) 2%, transparent));
}
.hm-why__card:hover { --lift: -6px; border-color: color-mix(in srgb, var(--color-accent) 60%, transparent); background: linear-gradient(160deg, color-mix(in srgb, var(--color-on-dark) 12%, transparent), color-mix(in srgb, var(--color-on-dark) 4%, transparent)); box-shadow: 0 30px 50px -28px rgba(0, 0, 0, 0.7); }
.hm-why__num { position: absolute; top: 22px; right: 26px; font-family: var(--font-heading); font-size: 2.6rem; font-weight: 700; font-stretch: var(--heading-stretch); line-height: 1; color: transparent; -webkit-text-stroke: 1px color-mix(in srgb, var(--color-on-dark) 22%, transparent); }
.hm-why__icon { display: grid; place-items: center; width: 56px; height: 56px; margin-bottom: 24px; border-radius: 14px; background: linear-gradient(135deg, var(--color-accent), var(--color-accent-dark)); color: var(--color-on-dark); box-shadow: 0 14px 26px -12px var(--color-accent); }
.hm-why__icon .vs-icon { width: 26px; height: 26px; }
.hm-why__card h3 { margin-bottom: 10px; color: var(--color-on-dark); }
.hm-why__card p { margin: 0; font-size: 0.95rem; }

/* Brands */
.hm-eyebrow { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 14px; font-size: 0.82rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--color-accent); }
.hm-eyebrow::before { content: ''; width: 10px; height: 22px; background: var(--color-accent); transform: skewX(-12deg); }
.hm-brands {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 72px 0 56px;
  background:
    radial-gradient(ellipse at 50% 0%, color-mix(in srgb, var(--color-accent) 9%, transparent), transparent 55%),
    linear-gradient(180deg, var(--color-bg) 0%, var(--color-bg-alt) 100%);
}
.hm-brands .hm-head { margin-bottom: 36px; }
/* 3D perspective floor: grid lines that fade away into the distance */
.hm-brands::before {
  content: '';
  position: absolute;
  left: -30%;
  right: -30%;
  bottom: -40px;
  z-index: -1;
  height: 220px;
  background-image:
    linear-gradient(color-mix(in srgb, var(--color-primary) 16%, transparent) 1px, transparent 1px),
    linear-gradient(90deg, color-mix(in srgb, var(--color-primary) 16%, transparent) 1px, transparent 1px);
  background-size: 64px 64px;
  transform: perspective(520px) rotateX(62deg);
  transform-origin: center bottom;
  -webkit-mask-image: linear-gradient(0deg, #000 5%, transparent 85%);
  mask-image: linear-gradient(0deg, #000 5%, transparent 85%);
}
/* soft glow behind the logo cards */
.hm-brands::after {
  content: '';
  position: absolute;
  left: 50%;
  top: 58%;
  z-index: -1;
  width: 70%;
  height: 220px;
  background: radial-gradient(ellipse, color-mix(in srgb, var(--color-accent) 14%, transparent), transparent 70%);
  transform: translate(-50%, -50%);
  filter: blur(20px);
}
.hm-brands__row { --cols: 5; --gap: 18px; display: flex; flex-wrap: wrap; justify-content: center; gap: var(--gap); margin: 0; padding: 0; list-style: none; }
.hm-brands__row li {
  flex: 0 1 calc((100% - (var(--cols) - 1) * var(--gap)) / var(--cols));
  display: grid;
  place-items: center;
  min-width: 0;
  overflow: hidden;
  padding: 6px 10px;
  border: 1px solid var(--color-border);
  border-radius: 14px;
  background: #ffffff;
  box-shadow: 0 22px 32px -24px color-mix(in srgb, var(--color-primary) 40%, transparent);
}
.hm-brands__row li:hover { --lift: -8px; border-color: color-mix(in srgb, var(--color-accent) 55%, var(--color-border)); box-shadow: 0 32px 42px -22px color-mix(in srgb, var(--color-primary) 45%, transparent); }
.hm-brands__row img { width: 100%; max-width: 100%; height: auto; aspect-ratio: 2.8 / 1; object-fit: cover; mix-blend-mode: multiply; }

/* Quote */
.hm-quote { padding: 64px 0 72px; background: var(--color-bg-alt); }
.hm-quote__panel {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 40px;
  align-items: center;
  position: relative;
  padding: 36px 40px;
  border-radius: 22px;
  background:
    radial-gradient(circle at 0% 100%, color-mix(in srgb, var(--color-accent) 24%, transparent), transparent 42%),
    var(--color-primary);
  color: color-mix(in srgb, var(--color-on-dark) 76%, transparent);
}
.hm-quote__info { position: relative; }
.hm-quote__info h2 { margin-bottom: 14px; font-size: clamp(1.7rem, 2.6vw, 2.3rem); color: var(--color-on-dark); }
.hm-quote__info > p { max-width: 420px; margin: 0; font-size: 1rem; }
.hm-quote__contact { display: grid; gap: 12px; margin: 24px 0 0; padding: 0; list-style: none; }
.hm-quote__contact li { display: flex; align-items: center; gap: 12px; }
.hm-quote__contact .vs-icon { width: 40px; height: 40px; padding: 10px; border: 1px solid color-mix(in srgb, var(--color-on-dark) 16%, transparent); border-radius: var(--radius); background: color-mix(in srgb, var(--color-on-dark) 6%, transparent); color: var(--color-accent-light); }
.hm-quote__contact small { display: block; font-size: 0.78rem; color: color-mix(in srgb, var(--color-on-dark) 55%, transparent); }
.hm-quote__contact a, .hm-quote__contact span { font-weight: 600; color: var(--color-on-dark); word-break: break-word; }
.hm-quote__contact a:hover { color: var(--color-accent-light); }
.hm-quote__form { position: relative; z-index: 1; margin: -28px 0; padding: 20px 24px 22px; border-top: 4px solid var(--color-accent); border-radius: var(--radius-lg); background: var(--color-bg); color: var(--color-text); box-shadow: 0 40px 70px -34px color-mix(in srgb, var(--color-primary) 70%, transparent); }
/* compact form fields */
.hm-quote__form h3 { margin-bottom: 10px; font-size: 1.15rem; }
.hm-quote__form form { gap: 8px 14px; }
.hm-quote__form label { margin-bottom: 3px; font-size: 0.82rem; }
.hm-quote__form input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]):not([type="submit"]),
.hm-quote__form select { height: 40px; padding-top: 0; padding-bottom: 0; font-size: 0.9rem; }
.hm-quote__form textarea { height: 60px; min-height: 60px; padding-top: 8px; padding-bottom: 8px; font-size: 0.9rem; resize: vertical; }
.hm-quote__form button[type="submit"], .hm-quote__form .vs-btn { min-height: 44px; margin-top: 4px; padding-top: 10px; padding-bottom: 10px; }

/* FAQ */
.hm-faq { padding: calc(var(--section-space) + 16px) 0 var(--section-space); }
.hm-faq__grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 56px; align-items: start; }
.hm-faq__intro > p { color: var(--color-muted); }
.hm-faq__help {
  margin-top: 32px;
  padding: 30px;
  border-radius: var(--radius-lg);
  background: var(--color-primary);
  color: color-mix(in srgb, var(--color-on-dark) 76%, transparent);
}
.hm-faq__help h3 { color: var(--color-on-dark); }
.hm-faq__buttons { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 20px; }

/* 3D depth: inner parts lift towards the viewer while a card is hovered */
.hm-pillar > *, .hm-why__card > *, .hm-brands__row img, .hm-faq__help > * { transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1); }
.hm-pillar:hover .hm-pillar__icon { transform: translateZ(46px); }
.hm-pillar:hover h3 { transform: translateZ(28px); }
.hm-pillar:hover p { transform: translateZ(14px); }
.hm-why__card:hover .hm-why__icon { transform: translateZ(42px); }
.hm-why__card:hover h3 { transform: translateZ(24px); }
.hm-why__card:hover p { transform: translateZ(12px); }
.hm-brands__row li:hover img { transform: translateZ(34px); }
.hm-faq__help:hover h3 { transform: translateZ(26px); }
.hm-faq__help:hover .hm-faq__buttons { transform: translateZ(32px); }

@media (max-width: 1100px) {
  .hm-hero__visual { height: 460px; }
  .hm-why__grid { grid-template-columns: 1fr 1.2fr; gap: 40px; }
}

@media (max-width: 991px) {
  .hm-head--split { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .hm-head--split p { justify-self: start; }
  .hm-head__side { justify-self: start; }

  .hm-hero { padding: 56px 0 140px; }
  .hm-hero__inner { grid-template-columns: minmax(0, 1fr); gap: 48px; }
  .hm-hero__visual { height: 400px; width: 100%; max-width: 620px; margin-inline: auto; }

  .hm-pillars { margin-top: -90px; }
  .hm-pillars__grid { gap: 14px; }
  .hm-pillar { padding: 24px 20px; }


  .hm-catalog { grid-template-columns: 1fr; }
  .hm-catalog__list { display: none; }
  .hm-catalog__panels { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
  .hm-catalog__panel, .hm-catalog__panel.is-active { display: flex; flex-direction: column; padding: 12px; }
  .hm-catalog__media { min-height: 0; aspect-ratio: 4 / 3; }
  .hm-catalog__body { flex: 1; justify-content: flex-start; padding: 20px 10px 10px; }
  .hm-catalog__body h3 { font-size: 1.3rem; }

  .hm-bento {
    grid-template-columns: 1fr 1fr;
    grid-auto-rows: 210px;
    grid-template-areas:
      "oil oil"
      "auto mine"
      "chem chem"
      "energy marine";
  }
  .hm-bento__supply { max-height: 3.2em; margin-top: 6px; opacity: 1; }

  .hm-why__grid { grid-template-columns: 1fr; gap: 40px; }
  .hm-why__intro { position: static; }

  .hm-brands__row { --cols: 3; --gap: 16px; }

  .hm-quote__panel { grid-template-columns: 1fr; gap: 28px; padding: 32px 28px; }
  .hm-quote__form { margin: 0 0 -56px; }
  .hm-quote { padding-bottom: 120px; }

  .hm-faq__grid { grid-template-columns: 1fr; gap: 36px; }
}

@media (max-width: 767px) {
  .hm-hero { padding-bottom: 110px; }
  .hm-hero__inner { gap: 40px; }
  .hm-hero__visual { height: 320px; gap: 10px; margin-left: 0; }
  .hm-tile__label { left: 14px; right: 10px; bottom: 12px; font-size: 0.9rem; }
  .hm-tile__label .vs-icon { display: none; }
  .hm-hero__badge { left: 10px; bottom: 48px; padding: 10px 14px; }
  .hm-hero__badge strong { font-size: 1.4rem; }
  .hm-pillars { margin-top: -64px; }
  .hm-pillars__grid { grid-template-columns: 1fr; }


  .hm-catalog__panels {
    display: flex;
    gap: 14px;
    margin: 0 -24px;
    padding: 4px 24px 24px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }
  .hm-catalog__panels::-webkit-scrollbar { display: none; }
  .hm-catalog__panel, .hm-catalog__panel.is-active { flex: 0 0 84%; scroll-snap-align: start; scroll-margin-left: 24px; box-shadow: var(--shadow-sm); }
  .hm-catalog__meta, .hm-catalog__label, .hm-catalog__grades { display: none !important; }
  .hm-catalog__actions { margin-top: auto; padding-top: 12px; }

  .hm-why__cards { grid-template-columns: 1fr; gap: 14px; }
  .hm-why__card:nth-child(even) { margin-top: 0; }

  .hm-brands { padding: 64px 0; }
  .hm-brands__row { --cols: 2; --gap: 12px; }

  .hm-quote__panel { padding: 28px 20px 0; border-radius: 18px; }
  .hm-quote__form { margin: 0 -8px -48px; padding: 22px 18px; }
  .hm-quote { padding-bottom: 100px; }
}

@media (max-width: 480px) {
  /* both hero buttons side by side in one row */
  .hm-hero__actions { flex-wrap: nowrap; gap: 10px; }
  .hm-hero__actions .vs-btn { flex: 1 1 0; min-width: 0; gap: 6px; padding: 12px 10px; font-size: 0.9rem; white-space: nowrap; }
  .hm-hero__actions .vs-icon { width: 1em; height: 1em; }
  .hm-catalog__panels { margin: 0 -16px; padding: 4px 16px 24px; }
  .hm-catalog__panel, .hm-catalog__panel.is-active { scroll-margin-left: 16px; }
  .hm-bento { grid-template-columns: 1fr; grid-auto-rows: 190px; grid-template-areas: "oil" "auto" "mine" "chem" "energy" "marine"; }
}

/* About: responsive */
@media (max-width: 991px) {
  .hm-about { padding-top: 72px; }
  .hm-about__grid { grid-template-columns: minmax(0, 1fr); gap: 56px; }
  .hm-about__visual { width: 100%; max-width: 520px; margin-inline: auto; }
  .hm-about__deco { opacity: 0.6; }
  .hm-facts { grid-template-columns: 1fr 1fr; margin-top: 56px; }
  .hm-fact + .hm-fact::before { display: none; }
  .hm-fact:nth-child(odd) { border-right: 1px solid var(--color-border); }
  .hm-fact:nth-child(-n+2) { border-bottom: 1px solid var(--color-border); }
}

@media (max-width: 767px) {
  .hm-about__deco { display: none; }
  .hm-about__visual { padding: 0 36px 40px 0; }
  .hm-about__visual::before { left: -12px; right: 22px; }
  .hm-about__photo-sm { border-width: 3px; border-radius: 16px; }
  .hm-about__badge { top: 22px; left: -10px; padding: 10px 14px 10px 10px; }
  .hm-about__badge-icon { width: 38px; height: 38px; }
  .hm-fact { flex-direction: column; align-items: flex-start; gap: 12px; padding: 22px 18px; }
  .hm-fact__icon { width: 46px; height: 46px; }
}

/* ---------- Responsive fixes for every screen size ---------- */

/* Laptops / small desktops (1101px – 1300px): keep floating pieces inside the screen */
@media (max-width: 1300px) {
  .hm-about__badge { left: -14px; }
  .hm-about__visual::before { left: -14px; }
  .hm-about__deco { right: -60px; opacity: 0.7; }
}

/* Small laptops, iPad landscape (992px – 1199px) */
@media (min-width: 992px) and (max-width: 1199px) {
  .hm-hero__visual { margin-left: 0; }
  .hm-about__grid { gap: 48px; }
  .hm-fact { gap: 12px; padding: 26px 18px; }
  .hm-fact__icon { width: 46px; height: 46px; }
  .hm-catalog { grid-template-columns: 250px minmax(0, 1fr); gap: 20px; }
  .hm-catalog__tab { padding: 10px 14px; font-size: 0.95rem; }
  .hm-catalog__media { min-height: 360px; }
  .hm-catalog__body { padding: 16px 16px 16px 22px; }
  .hm-catalog__body h3 { font-size: 1.4rem; }
  .hm-bento { grid-auto-rows: 220px; }
  .hm-bento__tile--oil-gas .hm-bento__label strong { font-size: 1.8rem; }
  .hm-why__card { padding: 26px 22px 28px; }
  .hm-quote__panel { gap: 28px; padding: 32px; }
}

/* Touch screens (phones, tablets, iPad) have no hover, so show hover-only details */
@media (hover: none) {
  .hm-bento__supply { max-height: 3.2em; margin-top: 6px; opacity: 1; }
  .hm-bento__go { background: var(--color-accent); transform: rotate(0); }
  .hm-tile:hover img, .hm-bento__tile:hover img { transform: none; }
  .hm-catalog__tab:hover { background: transparent; }
  .hm-catalog__tab:hover > span { transform: none; }
  .hm-catalog__tab.is-active:hover { background: var(--color-primary); }
}

/* Tablets (768px – 991px) */
@media (min-width: 768px) and (max-width: 991px) {
  .hm-hero__visual { margin-left: 0; }
  .hm-hero__badge { left: 0; }
  .hm-about__badge { left: -8px; }
}

/* Phones */
@media (max-width: 767px) {
  .hm-head { margin-bottom: 32px; }
  .hm-head p { font-size: 1rem; }
  .hm-hero::after { -webkit-mask-image: none; mask-image: none; opacity: 0.12; }
  .hm-hero__lead { font-size: 1rem; }
  .hm-hero__trust li { white-space: normal; }
  .hm-about { padding-top: 56px; }
  .hm-about__grid { gap: 40px; }
  .hm-facts { margin-top: 40px; }
  .hm-catalog__media { aspect-ratio: 16 / 11; }
  .hm-bento__label { left: 18px; right: 64px; bottom: 16px; }
  .hm-bento__tile--oil-gas .hm-bento__label strong { font-size: 1.6rem; }
  .hm-why__card { padding: 24px 20px 26px; }
  .hm-why__icon { margin-bottom: 18px; }
  .hm-faq__help { padding: 24px 20px; }
  .hm-faq__buttons .vs-btn { flex: 1 1 auto; }
  /* 16px inputs stop iPhone / Android from zooming in when a field is tapped */
  .hm-quote__form input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]):not([type="submit"]),
  .hm-quote__form select,
  .hm-quote__form textarea { font-size: 16px; }
}

/* Small phones (up to 380px, e.g. iPhone SE, small Android) */
@media (max-width: 380px) {
  .hm-hero h1 { font-size: 1.85rem; }
  .hm-hero__kicker { font-size: 0.82rem; }
  .hm-hero__actions .vs-btn { padding: 11px 8px; font-size: 0.8rem; }
  .hm-hero__visual { height: 280px; }
  .hm-hero__badge strong { font-size: 1.2rem; }
  .hm-hero__badge span { font-size: 0.75rem; }
  .hm-pillar { padding: 22px 18px; }
  .hm-about__visual { padding: 0 24px 32px 0; }
  .hm-fact { padding: 18px 14px; }
  .hm-fact strong { font-size: 1.6rem; }
  .hm-fact div > span { font-size: 0.82rem; }
  .hm-catalog__panel, .hm-catalog__panel.is-active { flex-basis: 90%; }
  .hm-brands__row { --gap: 10px; }
  .hm-quote__form { padding: 20px 14px; }
}