/* Arsam Home V2 – sections matching MainPage design (RTL) */

:root {
  --arsam-v2-bg: #050a12;
  --arsam-v2-bg-alt: #081221;
}

body.arsam-home-v2,
body.arsam-home-v2 .arsam-main,
body.arsam-home-v2 .elementor,
body.arsam-home-v2 .e-con {
  background-color: var(--arsam-v2-bg, #050a12);
}

body.arsam-home-v2 .e-con.e-flex {
  --padding-top: 0px;
  --padding-bottom: 0px;
  --padding-left: 0px;
  --padding-right: 0px;
}

.arsam-v2-sec-head {
  text-align: center;
  margin-bottom: clamp(28px, 4vw, 48px);
}

.arsam-v2-sec-title {
  margin: 0 0 12px;
  color: #fff;
  font-size: clamp(28px, 3.4vw, 42px);
  font-weight: 700;
  line-height: 1.35;
}

.arsam-v2-sec-title--start {
  text-align: start;
}

.arsam-v2-sec-sub {
  margin: 0 auto;
  max-width: 640px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 15px;
  line-height: 1.9;
}

.arsam-v2-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--arsam-gold-400, #e7b64d);
  font-size: 14px;
  font-weight: 600;
}

.arsam-v2-link:hover {
  color: var(--arsam-gold-300, #f0c86a);
}

/* Hero V2 refinements */
.arsam-home-hero.hero-banner {
  min-height: clamp(560px, 72vh, 780px);
  background-position: center center;
  padding-bottom: clamp(48px, 6vw, 72px);
}

/* Room for absolute/fixed transparent header over banner */
.arsam-home-v2 .arsam-home-hero__inner {
  padding-top: calc(var(--arsam-header-h, 82px) + clamp(28px, 4vw, 48px));
}

.arsam-home-hero__brand {
  font-size: clamp(12px, 1.2vw, 14px) !important;
  font-weight: 600 !important;
  letter-spacing: 0.04em;
  color: var(--arsam-gold-400, #e7b64d) !important;
  text-transform: none;
  text-shadow: 0 2px 16px rgba(3, 23, 47, 0.65) !important;
}

.arsam-home-hero__headline {
  font-size: clamp(32px, 4.6vw, 56px) !important;
  font-weight: 800 !important;
  max-width: 14ch;
  text-shadow: 0 2px 18px rgba(3, 23, 47, 0.6) !important;
}

.arsam-home-hero__desc {
  text-shadow: 0 2px 14px rgba(3, 23, 47, 0.55) !important;
}

.arsam-home-hero__overlay {
  background: linear-gradient(
    to left,
    rgba(3, 23, 47, 0.9) 0%,
    rgba(3, 23, 47, 0.68) 28%,
    rgba(3, 23, 47, 0.38) 52%,
    rgba(3, 23, 47, 0.16) 72%,
    rgba(3, 23, 47, 0.06) 100%
  );
}

/* Step 2 – Intro */
.arsam-v2-intro {
  background: var(--arsam-v2-bg, #050a12);
  padding: clamp(52px, 7vw, 84px) 0;
  color: #fff;
}

.arsam-v2-intro__grid {
  display: grid;
  grid-template-columns: minmax(200px, 0.85fr) minmax(260px, 1.15fr) minmax(460px, 1.45fr);
  column-gap: clamp(28px, 3.5vw, 56px);
  align-items: center;
}

.arsam-v2-intro__title {
  margin: 0;
  font-size: clamp(30px, 3.6vw, 44px);
  font-weight: 700;
  line-height: 1.4;
  color: #fff;
  max-width: 9ch;
}

.arsam-v2-intro__accent {
  color: var(--arsam-gold-400, #e7b64d);
  display: inline;
}

.arsam-v2-intro__text {
  margin: 0;
  color: rgba(255, 255, 255, 0.8);
  font-size: 14.5px;
  line-height: 2.05;
  max-width: 46ch;
}

.arsam-v2-intro__stats {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  justify-content: space-between;
  gap: 0;
  width: 100%;
}

.arsam-v2-intro__stat {
  position: relative;
  flex: 1 1 0;
  min-width: 0;
  padding: 4px clamp(14px, 1.6vw, 28px);
  text-align: center;
}

.arsam-v2-intro__stat:first-child {
  padding-right: 0;
}

.arsam-v2-intro__stat:last-child {
  padding-left: 0;
}

.arsam-v2-intro__stat:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 0;
  top: 18%;
  width: 1px;
  height: 64%;
  background: rgba(255, 255, 255, 0.16);
}

.arsam-v2-intro__stat:nth-child(odd)::before,
.arsam-v2-intro__stat:nth-child(even)::before {
  display: none;
}

.arsam-v2-intro__value {
  color: var(--arsam-gold-400, #e7b64d);
  font-size: clamp(30px, 2.8vw, 38px);
  font-weight: 800;
  line-height: 1.15;
  font-variant-numeric: tabular-nums;
  min-height: 1.15em;
  white-space: nowrap;
}

.arsam-v2-intro__label {
  margin-top: 8px;
  color: rgba(231, 182, 77, 0.88);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.5;
  white-space: nowrap;
}

/* Step 3 – Categories (Pic-Step3: compact tiles + side margins) */
.arsam-v2-cats {
  background: var(--arsam-v2-bg, #050a12);
  padding: clamp(36px, 4.5vw, 56px) 0;
  color: #fff;
}

.arsam-v2-cats .arsam-container {
  width: min(100% - 80px, 1100px);
  margin-inline: auto;
}

.arsam-v2-cats__row {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 0;
  overflow: hidden;
}

.arsam-site .arsam-v2-cat,
.arsam-v2-cat {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: stretch;
  min-height: 0;
  aspect-ratio: 3 / 4.2;
  height: auto;
  max-height: 340px;
  overflow: hidden;
  color: #fff !important;
  text-decoration: none !important;
  background-color: #0a1628;
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
  isolation: isolate;
  transition: transform 280ms ease;
}

.arsam-v2-cat__shade {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(
    180deg,
    rgba(3, 23, 47, 0.08) 0%,
    rgba(3, 23, 47, 0.28) 38%,
    rgba(3, 23, 47, 0.78) 74%,
    rgba(3, 23, 47, 0.94) 100%
  );
}

.arsam-v2-cat__meta {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  padding: 0 14px 16px;
  width: 100%;
  box-sizing: border-box;
}

.arsam-v2-cat__icon {
  width: 32px;
  height: 32px;
  color: #e7b64d;
  flex: 0 0 auto;
  line-height: 0;
  filter: drop-shadow(0 2px 8px rgba(3, 23, 47, 0.55));
}

.arsam-v2-cat__icon svg {
  width: 100%;
  height: 100%;
  display: block;
}

.arsam-v2-cat__title {
  display: block;
  margin: 0;
  color: #fff !important;
  font-size: clamp(12px, 0.95vw, 14px);
  font-weight: 700;
  line-height: 1.45;
  max-width: 11ch;
  text-shadow: 0 2px 14px rgba(3, 23, 47, 0.75), 0 1px 3px rgba(0, 0, 0, 0.55);
}

.arsam-v2-cat:hover {
  transform: translateY(-2px);
}

.arsam-v2-cat:hover .arsam-v2-cat__icon {
  color: #f0c86a;
}

.arsam-v2-cat:hover .arsam-v2-cat__shade {
  background: linear-gradient(
    180deg,
    rgba(3, 23, 47, 0.12) 0%,
    rgba(3, 23, 47, 0.36) 40%,
    rgba(3, 23, 47, 0.84) 76%,
    rgba(3, 23, 47, 0.96) 100%
  );
}

/* Step 4 – Process (aligned to Pic-Step4) */
.arsam-v2-process {
  background: var(--arsam-v2-bg, #050a12);
  padding: clamp(52px, 7vw, 88px) 0;
  color: #fff;
}

.arsam-v2-process .arsam-v2-sec-title {
  font-weight: 700;
  letter-spacing: -0.01em;
}

.arsam-v2-process .arsam-v2-sec-sub {
  color: rgba(255, 255, 255, 0.72);
}

.arsam-v2-process__list {
  list-style: none;
  margin: 8px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 10px;
  position: relative;
}

.arsam-v2-process__list::before {
  content: "";
  position: absolute;
  top: 40px;
  right: 7%;
  left: 7%;
  border-top: 1.5px dashed rgba(198, 154, 74, 0.7);
  pointer-events: none;
  z-index: 0;
}

.arsam-v2-process__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 12px;
  position: relative;
  z-index: 1;
}

.arsam-v2-process__badge {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  filter: drop-shadow(0 10px 18px rgba(0, 0, 0, 0.35));
}

.arsam-v2-process__icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: linear-gradient(160deg, #d4ad5a 0%, #b8883a 55%, #a67830 100%);
  color: #fff;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 230, 170, 0.35);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.28),
    inset 0 -8px 16px rgba(0, 0, 0, 0.18),
    0 0 0 6px rgba(184, 136, 58, 0.12);
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.arsam-v2-process__badge::after {
  content: "";
  width: 0;
  height: 0;
  margin-top: -1px;
  border-left: 9px solid transparent;
  border-right: 9px solid transparent;
  border-top: 10px solid #b8883a;
}

.arsam-v2-process__item:hover .arsam-v2-process__icon {
  transform: translateY(-3px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.3),
    inset 0 -8px 16px rgba(0, 0, 0, 0.16),
    0 0 0 8px rgba(184, 136, 58, 0.18);
}

.arsam-v2-process__icon svg {
  width: 34px;
  height: 34px;
}

.arsam-v2-process__num {
  margin-top: 2px;
  font-size: 20px;
  font-weight: 800;
  color: #fff;
  letter-spacing: 0.02em;
}

.arsam-v2-process__label {
  font-size: 13.5px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.65;
  max-width: 13ch;
}

/* Step 5 – Global Reach (Pic-Step5) */
.arsam-v2-global {
  background: var(--arsam-v2-bg, #050a12);
  padding: clamp(48px, 6vw, 80px) 0;
  color: #fff;
}

.arsam-v2-global .arsam-container.arsam-v2-global__grid,
.arsam-v2-global__grid {
  width: min(100% - 80px, 1100px);
  margin-inline: auto;
  display: grid;
  grid-template-columns: minmax(240px, 0.38fr) minmax(0, 0.62fr);
  column-gap: clamp(28px, 4vw, 56px);
  align-items: center;
}

.arsam-v2-global__content {
  max-width: 340px;
  justify-self: start;
}

.arsam-v2-global__content .arsam-v2-sec-title {
  margin: 0 0 10px;
  font-size: clamp(30px, 3.4vw, 42px);
  line-height: 1.3;
}

.arsam-v2-global__subtitle {
  margin: 0 0 18px;
  font-size: clamp(16px, 1.5vw, 20px);
  font-weight: 600;
  color: rgba(255, 255, 255, 0.94);
  line-height: 1.5;
}

.arsam-v2-global__text {
  margin: 0 0 24px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 14.5px;
  line-height: 2;
  max-width: 34ch;
}

.arsam-v2-global__map {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-width: 0;
}

.arsam-v2-global__map img {
  display: block;
  width: 100%;
  max-width: 640px;
  height: auto;
  margin-inline: auto;
  object-fit: contain;
}

/* Step 6 – Import / Export */
.arsam-v2-ie {
  background: #050a12;
  padding: 0 0 clamp(40px, 5vw, 64px);
}

.arsam-v2-ie__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.arsam-v2-ie__panel {
  position: relative;
  min-height: clamp(260px, 28vw, 360px);
  background-size: cover;
  background-position: center;
  border-radius: 4px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  text-decoration: none;
  color: #fff;
}

.arsam-v2-ie__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(3, 23, 47, 0.28) 0%,
    rgba(3, 23, 47, 0.58) 42%,
    rgba(3, 23, 47, 0.9) 100%
  );
}

.arsam-v2-ie__body {
  position: relative;
  z-index: 1;
  padding: clamp(22px, 3vw, 36px);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.arsam-v2-ie__label {
  font-size: 12px;
  letter-spacing: 0.08em;
  font-weight: 700;
  opacity: 0.95;
  color: #fff;
  text-shadow: 0 2px 12px rgba(3, 23, 47, 0.7);
}

.arsam-v2-ie__title {
  font-size: clamp(24px, 2.8vw, 34px);
  font-weight: 700;
  line-height: 1.35;
  max-width: 14ch;
  color: #fff;
  text-shadow: 0 2px 16px rgba(3, 23, 47, 0.75);
}

.arsam-v2-ie__cta {
  color: var(--arsam-gold-400, #e7b64d);
  font-size: 14px;
  font-weight: 600;
  margin-top: 8px;
  text-shadow: 0 1px 10px rgba(3, 23, 47, 0.65);
}

.arsam-v2-ie__panel:hover .arsam-v2-ie__cta {
  color: var(--arsam-gold-300, #f0c86a);
}

/* Step 7 – Featured */
.arsam-v2-feat {
  background: var(--arsam-v2-bg-alt, #081221);
  padding: clamp(48px, 6vw, 80px) 0;
  color: #fff;
}

.arsam-v2-feat__grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 14px;
}

.arsam-v2-feat__card {
  border: 1px solid rgba(215, 165, 60, 0.28);
  background: rgba(255, 255, 255, 0.02);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: border-color 220ms ease, transform 220ms ease;
}

.arsam-v2-feat__card:hover {
  border-color: rgba(215, 165, 60, 0.65);
  transform: translateY(-3px);
}

.arsam-v2-feat__media {
  display: block;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.arsam-v2-feat__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 400ms ease;
}

.arsam-v2-feat__card:hover .arsam-v2-feat__media img {
  transform: scale(1.05);
}

.arsam-v2-feat__body {
  padding: 14px 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
}

.arsam-v2-feat__cat {
  color: var(--arsam-gold-400, #e7b64d);
  font-size: 11px;
  font-weight: 700;
  line-height: 1.5;
}

.arsam-v2-feat__title {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.5;
  color: #fff;
  /* Fixed 2-line block so all cards align regardless of title length */
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 3em;
}

.arsam-v2-feat__desc {
  margin: 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: 12.5px;
  line-height: 1.7;
  /* Fixed 2-line block + clamp long text */
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: calc(2 * 1.7em);
}

/* "View product" always pinned to the card bottom */
.arsam-v2-feat__body .arsam-v2-link {
  margin-top: auto;
  padding-top: 6px;
}

/* Step 8 – Why */
.arsam-v2-why {
  background: var(--arsam-v2-bg, #050a12);
  padding: clamp(48px, 6vw, 80px) 0;
  color: #fff;
}

.arsam-v2-why__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}

.arsam-v2-why__item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 8px 18px;
  position: relative;
}

.arsam-v2-why__item:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 0;
  top: 10%;
  height: 80%;
  width: 1px;
  background: rgba(255, 255, 255, 0.12);
}

.arsam-v2-why__icon {
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  color: var(--arsam-gold-400, #e7b64d);
}

.arsam-v2-why__icon svg {
  width: 100%;
  height: 100%;
}

.arsam-v2-why__title {
  margin: 0 0 6px;
  font-size: 15px;
  font-weight: 700;
}

.arsam-v2-why__text {
  margin: 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: 13px;
  line-height: 1.8;
}

/* Step 9 – Insights */
.arsam-v2-insights {
  background: var(--arsam-v2-bg-alt, #081221);
  padding: clamp(48px, 6vw, 80px) 0;
  color: #fff;
}

.arsam-v2-insights__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
}

.arsam-v2-insight {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 16px;
  align-items: center;
  padding: 8px 18px;
  position: relative;
}

.arsam-v2-insight:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 0;
  top: 8%;
  height: 84%;
  width: 1px;
  background: rgba(255, 255, 255, 0.12);
}

.arsam-v2-insight__media {
  display: block;
  overflow: hidden;
  aspect-ratio: 1 / 1;
}

.arsam-v2-insight__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.arsam-v2-insight__title {
  margin: 0 0 8px;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.55;
}

.arsam-v2-insight__title a {
  color: #fff;
}

.arsam-v2-insight__desc {
  margin: 0 0 12px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 13px;
  line-height: 1.8;
}

/* Step 10 – CTA */
.arsam-v2-cta {
  position: relative;
  background-color: var(--arsam-v2-bg, #050a12);
  background-size: cover;
  background-position: center;
  padding: clamp(56px, 7vw, 88px) 0;
  color: #fff;
}

.arsam-v2-cta__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(3, 23, 47, 0.92) 0%,
    rgba(3, 23, 47, 0.78) 48%,
    rgba(3, 23, 47, 0.62) 100%
  );
}

.arsam-v2-cta__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.3fr 1fr auto;
  gap: 24px;
  align-items: center;
}

.arsam-v2-cta__title {
  margin: 0;
  font-size: clamp(26px, 3.2vw, 40px);
  font-weight: 700;
  line-height: 1.4;
  max-width: 14ch;
  color: #fff;
  text-shadow: 0 2px 16px rgba(3, 23, 47, 0.7);
}

.arsam-v2-cta__sub {
  margin: 0 0 14px;
  color: rgba(255, 255, 255, 0.92);
  font-size: 15px;
  text-shadow: 0 2px 12px rgba(3, 23, 47, 0.6);
}

.arsam-v2-cta__btn {
  display: inline-flex;
  gap: 8px;
}

.arsam-v2-cta__email {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-size: 14px;
  white-space: nowrap;
  text-shadow: 0 2px 12px rgba(3, 23, 47, 0.6);
}

.arsam-v2-cta__email:hover {
  color: var(--arsam-gold-400, #e7b64d);
}

/* Keyboard accessibility on dark sections */
body.arsam-home-v2 a:focus-visible,
body.arsam-home-v2 button:focus-visible {
  outline: 2px solid var(--arsam-gold-400, #e7b64d);
  outline-offset: 3px;
  border-radius: 4px;
}

/* Responsive */
@media (max-width: 1100px) {
  .arsam-v2-intro__grid {
    grid-template-columns: 1fr;
    row-gap: 28px;
  }

  .arsam-v2-intro__title {
    max-width: none;
  }

  .arsam-v2-intro__text {
    max-width: none;
  }

  .arsam-v2-intro__stats {
    max-width: 720px;
  }

  .arsam-v2-cats__row {
    grid-template-columns: repeat(3, 1fr);
  }

  .arsam-v2-feat__grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .arsam-v2-process__list {
    grid-template-columns: repeat(3, 1fr);
    row-gap: 36px;
  }

  .arsam-v2-process__list::before {
    display: none;
  }

  .arsam-v2-global__grid,
  .arsam-v2-global .arsam-container.arsam-v2-global__grid,
  .arsam-v2-cta__grid {
    grid-template-columns: 1fr;
  }

  .arsam-v2-global .arsam-container.arsam-v2-global__grid {
    width: min(100% - 48px, 1100px);
    row-gap: 28px;
  }

  .arsam-v2-global__content {
    max-width: none;
    justify-self: stretch;
  }

  .arsam-v2-global__text {
    max-width: none;
  }

  .arsam-v2-global__map img {
    max-width: 560px;
  }

  .arsam-v2-why__grid {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }

  .arsam-v2-why__item:nth-child(2)::after {
    display: none;
  }

  .arsam-v2-insights__grid {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .arsam-v2-insight:not(:last-child)::after {
    display: none;
  }

  /* Tablet: slightly shorter hero so content fits */
  .arsam-home-hero.hero-banner {
    min-height: clamp(480px, 62vh, 680px);
  }
}

@media (max-width: 768px) {
  .arsam-v2-cats__row,
  .arsam-v2-feat__grid,
  .arsam-v2-ie__grid,
  .arsam-v2-why__grid,
  .arsam-v2-process__list {
    grid-template-columns: 1fr 1fr;
  }

  .arsam-v2-insight {
    grid-template-columns: 1fr;
  }

  .arsam-v2-feat__grid {
    gap: 12px;
  }

  .arsam-v2-feat__title {
    font-size: 15px;
    min-height: 3em;
  }

  .arsam-v2-feat__desc {
    font-size: 12px;
  }

  .arsam-v2-why__item::after {
    display: none;
  }

  .arsam-v2-intro__stats {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    max-width: none;
  }

  .arsam-v2-intro__stat {
    padding: 4px 10px;
  }

  .arsam-v2-intro__label {
    white-space: normal;
  }

  .arsam-home-hero.hero-banner {
    min-height: 520px;
  }

  .arsam-home-v2 .arsam-home-hero__inner {
    padding-top: calc(var(--arsam-header-h, 72px) + 20px) !important;
    padding-bottom: 96px !important;
  }

  .arsam-v2-sec-title {
    font-size: clamp(24px, 6vw, 32px);
  }
}

@media (max-width: 640px) {
  .arsam-v2-intro__stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: 22px;
  }

  .arsam-v2-intro__stat:nth-child(2n)::after {
    display: none;
  }

  .arsam-v2-intro__stat:nth-child(-n + 2)::before {
    content: "";
    position: absolute;
    left: 12%;
    right: 12%;
    bottom: -11px;
    height: 1px;
    width: auto;
    top: auto;
    background: rgba(255, 255, 255, 0.12);
  }
}

@media (max-width: 900px) {
  .arsam-v2-cats .arsam-container {
    width: min(100% - 48px, 1100px);
  }
}

@media (max-width: 480px) {
  .arsam-v2-cats__row,
  .arsam-v2-feat__grid,
  .arsam-v2-process__list,
  .arsam-v2-ie__grid {
    grid-template-columns: 1fr;
  }

  /* Featured cards: single column, roomier touch targets */
  .arsam-v2-feat__grid {
    gap: 16px;
  }

  .arsam-v2-feat__card {
    flex-direction: row;
    align-items: stretch;
    min-width: 0;
  }

  .arsam-v2-feat__media {
    flex: 0 0 42%;
    max-width: 42%;
    aspect-ratio: 1 / 1;
    min-width: 0;
  }

  .arsam-v2-feat__body {
    padding: 12px 14px;
    min-width: 0;
    flex: 1 1 auto;
  }

  .arsam-v2-feat__title {
    min-height: 0;
    font-size: 14px;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
  }

  .arsam-v2-feat__desc {
    min-height: 0;
  }

  .arsam-v2-cats .arsam-container {
    width: min(100% - 32px, 1100px);
  }

  .arsam-site .arsam-v2-cat,
  .arsam-v2-cat {
    aspect-ratio: 16 / 10;
    max-height: none;
    min-height: 200px;
  }

  .arsam-home-hero.hero-banner {
    min-height: 520px;
    padding-bottom: 36px;
  }

  .arsam-home-hero__headline {
    max-width: none !important;
    font-size: clamp(26px, 8vw, 34px) !important;
  }

  .arsam-home-hero__content {
    max-width: none;
  }

  .arsam-v2-cta__email {
    white-space: normal;
    word-break: break-word;
  }

  .arsam-v2-cta__grid {
    gap: 18px;
  }
}

/* Extra-small phones */
@media (max-width: 380px) {
  .arsam-v2-feat__media {
    flex-basis: 38%;
    max-width: 38%;
  }

  .arsam-v2-intro__stats {
    gap: 12px;
  }

  .arsam-home-hero__brand {
    font-size: 11px !important;
  }
}

/* Landscape phones: keep hero usable */
@media (max-height: 480px) and (orientation: landscape) {
  .arsam-home-hero.hero-banner,
  .arsam-home-hero {
    min-height: 100svh;
  }

  .arsam-home-v2 .arsam-home-hero__inner {
    padding-top: calc(var(--arsam-header-h, 64px) + 12px);
    padding-bottom: 64px;
  }

  .arsam-home-hero__desc {
    display: none;
  }
}
