/* =============================================================
   MAIT website stylesheet
   Brand purples: #492366 (primary) and #502e91 (secondary)
   Replaces the previous styles.css in full.
   ============================================================= */

/* ---------- Base ---------- */

:root {
  --purple-900: #170922;
  --purple-800: #2b123e;
  --purple-700: #3a1b52;
  --purple-600: #492366;
  --purple-500: #502e91;
  --purple-400: #6842ad;
  --lilac: #c9b5ec;
  --text: #ffffff;
  --muted: #e5dff0;
  --line: rgba(255, 255, 255, 0.18);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background-color: var(--purple-800);
}

body {
  margin: 0;
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system,
    BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  line-height: 1.55;
  background-color: var(--purple-600);
  background-image:
    linear-gradient(rgba(27, 12, 40, 0.76), rgba(73, 35, 102, 0.82)),
    url("assets/mait-brand-pattern-4.1.jpg");
  background-repeat: no-repeat, repeat;
  background-size: 100% 100%, 480px auto;
  background-position: center top;
  background-attachment: fixed;
}

a {
  color: inherit;
}

img {
  max-width: 100%;
}

[id] {
  scroll-margin-top: 110px;
}

.wrap {
  width: min(1160px, 92%);
  margin: 0 auto;
}

main {
  position: relative;
}

/* ---------- Header and navigation ---------- */

.header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(43, 18, 62, 0.97);
  border-top: 5px solid var(--purple-500);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}

.nav {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
  text-decoration: none;
}

.brand img {
  display: block;
  width: 270px;
  height: 62px;
  max-width: 100%;
  object-fit: contain;
  object-position: left center;
}

.links {
  display: flex;
  align-items: center;
  gap: 28px;
}

.links a {
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--muted);
  text-decoration: none;
}

.links a:hover {
  color: #ffffff;
}

.links a.active {
  color: #ffffff;
  border-bottom: 2px solid #ffffff;
  padding-bottom: 6px;
}

.cta,
.links a.cta {
  background: var(--purple-500);
  border: 1px solid #7250b4;
  color: #ffffff;
  padding: 10px 18px;
  border-radius: 4px;
}

.links a.cta:hover {
  background: var(--purple-400);
  border-color: #8463bd;
}

/* ---------- Typography and buttons ---------- */

.eyebrow {
  margin: 0 0 18px;
  color: var(--lilac);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.2em;
}

.section {
  padding: 88px 0;
}

.section h2 {
  margin: 0 0 14px;
  font-size: clamp(2rem, 4vw, 3.1rem);
  line-height: 1.1;
  letter-spacing: -0.04em;
}

.section-intro {
  max-width: 650px;
  color: var(--muted);
}

.buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.btn {
  display: inline-block;
  padding: 12px 22px;
  border: 1px solid var(--line);
  border-radius: 4px;
  font-size: 0.9rem;
  font-weight: 800;
  text-decoration: none;
}

.btn-primary {
  background: var(--purple-500);
  border-color: #7250b4;
  color: #ffffff;
}

.btn-primary:hover {
  background: var(--purple-400);
  border-color: #8463bd;
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.55);
  color: #ffffff;
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: #ffffff;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 3px solid var(--lilac);
  outline-offset: 3px;
}

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

/* ---------- Homepage hero ---------- */

.premium-hero {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background-color: var(--purple-600);
  background-image:
    linear-gradient(rgba(27, 12, 40, 0.66), rgba(73, 35, 102, 0.76)),
    url("assets/mait-brand-pattern-4.1.jpg");
  background-repeat: no-repeat, repeat;
  background-size: 100% 100%, 480px auto;
  background-position: center top;
}

.premium-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  align-items: center;
  gap: 32px;
  padding: 64px 0;
}

.premium-hero-copy {
  position: relative;
  z-index: 2;
  min-width: 0;
}

.premium-hero h1 {
  max-width: 650px;
  margin: 0 0 28px;
  color: #ffffff;
  font-size: clamp(3.2rem, 6vw, 5.7rem);
  line-height: 0.96;
  letter-spacing: -0.06em;
}

.premium-hero h1 span {
  color: #ffffff;
  font-weight: 500;
}

.premium-lead {
  max-width: 590px;
  margin: 0;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.7;
}

.premium-actions {
  margin-top: 34px;
}

.premium-actions .btn {
  padding: 14px 23px;
  border-radius: 28px;
}

.premium-actions .btn-primary span {
  margin-left: 14px;
}

.premium-hero-visual {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
}

.hero-glow {
  position: absolute;
  width: 72%;
  height: 48%;
  border-radius: 50%;
  background: rgba(80, 46, 145, 0.3);
  filter: blur(75px);
}

.premium-hero-visual img {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}

/* ---------- Homepage sections ---------- */

.premium-range,
.premium-value,
.premium-assessment {
  border-bottom: 1px solid var(--line);
  background-color: rgba(43, 18, 62, 0.88);
  background-image:
    linear-gradient(rgba(43, 18, 62, 0.88), rgba(73, 35, 102, 0.88)),
    url("assets/mait-brand-pattern-4.1.jpg");
  background-repeat: no-repeat, repeat;
  background-size: 100% 100%, 480px auto;
}

.premium-section-head {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: end;
  gap: 70px;
  margin-bottom: 42px;
}

.premium-section-head h2 {
  max-width: 650px;
  margin: 0;
  font-size: clamp(2.4rem, 4vw, 3.8rem);
}

.premium-section-head > p {
  margin: 0 0 6px;
  color: var(--muted);
  line-height: 1.7;
}

.category-showcase {
  display: grid;
  gap: 56px;
}

/* Product cards: sweepers, scrubbers and mowers */

.sweeper-cards-section {
  min-width: 0;
}

.sweeper-cards-section > h3 {
  margin: 0 0 16px;
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  line-height: 1.1;
}

.sweeper-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: 28px;
}

/* Scrubbers use the same three-column grid, so every card is the same size */
.scrubber-cards-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.sweeper-model-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
  color: #ffffff;
  text-decoration: none;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(
    145deg,
    rgba(73, 35, 102, 0.94),
    rgba(43, 18, 62, 0.96)
  );
  transition: transform 180ms ease, border-color 180ms ease;
}

/* Shared background: every robot image sits on the same pattern */
.sweeper-model-image {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background-color: var(--purple-700);
  background-image:
    linear-gradient(rgba(27, 12, 40, 0.35), rgba(27, 12, 40, 0.35)),
    url("assets/card-background.jpg");
  background-size: cover;
  background-position: center;
}

.sweeper-model-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.sweeper-model-copy {
  padding: 22px;
}

.sweeper-model-copy h4 {
  margin: 0;
  color: #ffffff;
  font-size: 1.5rem;
}

.text-link {
  display: inline-block;
  margin-top: 12px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
}

@media (hover: hover) {
  .sweeper-model-card:hover {
    transform: translateY(-4px);
    border-color: var(--lilac);
  }
}

.sweeper-model-card:focus-visible {
  outline: 3px solid var(--lilac);
  outline-offset: 4px;
}

/* Why MAIT */

.value-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.value-item {
  padding: 36px 34px 40px;
  border-right: 1px solid var(--line);
}

.value-item:last-child {
  border-right: 0;
}

.value-item > span {
  color: var(--lilac);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.14em;
}

.value-item h3 {
  margin: 22px 0 9px;
  font-size: 1.25rem;
}

.value-item p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.65;
}

/* Assessment section */

.assessment-section {
  padding: 96px 0 104px;
}

.assessment-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(420px, 1.15fr);
  align-items: start;
  gap: 92px;
}

.assessment-copy {
  position: sticky;
  top: 118px;
}

.assessment-copy h2 {
  max-width: 520px;
  font-size: clamp(2.4rem, 4.5vw, 4rem);
}

.assessment-copy .section-intro {
  font-size: 1rem;
  line-height: 1.7;
}

.assessment-note {
  margin-top: 36px;
  padding: 5px 0 5px 17px;
  border-left: 2px solid var(--lilac);
}

.assessment-note strong,
.assessment-note span {
  display: block;
}

.assessment-note span {
  margin-top: 3px;
  color: var(--muted);
  font-size: 0.82rem;
}

/* ---------- Forms ---------- */

.form {
  display: grid;
  gap: 14px;
  max-width: 650px;
  padding: 30px;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 4px;
  background: linear-gradient(
    145deg,
    rgba(73, 35, 102, 0.96),
    rgba(43, 18, 62, 0.96)
  );
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.16);
}

.premium-assessment .form {
  max-width: none;
}

.form label {
  font-size: 0.78rem;
  font-weight: 800;
  color: #ffffff;
}

.form input,
.form textarea,
.form select {
  display: block;
  width: 100%;
  margin-top: 6px;
  padding: 12px;
  color: #21102f;
  font: inherit;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.97);
}

.form input:focus,
.form textarea:focus,
.form select:focus {
  outline: none;
  border-color: #8b6bc4;
  box-shadow: 0 0 0 3px rgba(139, 107, 196, 0.3);
}

.form textarea {
  min-height: 138px;
  resize: vertical;
}

.form button {
  width: max-content;
  margin-top: 4px;
  cursor: pointer;
}

.premium-assessment .form .btn {
  padding: 14px 24px;
  border-radius: 28px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

/* ---------- Inner pages ---------- */

.page-hero {
  margin-top: 32px;
  margin-bottom: 32px;
  padding: 60px 5%;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 6px;
  background: rgba(43, 18, 62, 0.78);
}

.page-hero:not(.wrap) {
  width: min(1160px, 92%);
  margin-left: auto;
  margin-right: auto;
}

.page-hero > .wrap {
  width: 100%;
}

.page-hero h1 {
  max-width: 800px;
  margin: 0 0 18px;
  font-size: clamp(2.6rem, 5vw, 4.4rem);
  line-height: 1.04;
  letter-spacing: -0.05em;
}

.page-hero .lead {
  max-width: 650px;
  color: var(--muted);
  font-size: 1.1rem;
}

/* Resources */

.resource-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-top: 40px;
}

.resource {
  padding: 22px;
  border: 1px solid var(--line);
  background: linear-gradient(
    145deg,
    rgba(73, 35, 102, 0.94),
    rgba(43, 18, 62, 0.96)
  );
}

.resource b {
  display: block;
}

.resource p {
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.num {
  color: var(--lilac);
  font-weight: 900;
}

/* Buy page */

.center {
  text-align: center;
}

.center .section-intro {
  margin: 0 auto;
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 42px;
}

.card {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: linear-gradient(
    145deg,
    rgba(73, 35, 102, 0.94),
    rgba(43, 18, 62, 0.96)
  );
}

.buy-grid {
  align-items: stretch;
}

.buy-card {
  padding: 0;
  overflow: hidden;
}

.buy-head {
  padding: 28px 26px 22px;
  border-bottom: 1px solid var(--line);
}

.buy-head h3 {
  margin: 0 0 4px;
  font-size: 1.15rem;
}

.buy-head p {
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.steps {
  padding: 20px 26px;
  text-align: left;
}

.step {
  display: grid;
  grid-template-columns: 30px 1fr;
  gap: 10px;
  margin: 0 0 18px;
}

.step:last-child {
  margin-bottom: 0;
}

.step b {
  font-size: 0.84rem;
}

.step span {
  display: block;
  color: var(--muted);
  font-size: 0.78rem;
}

.circle {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  color: var(--lilac);
  font-size: 0.7rem;
  font-style: normal;
  font-weight: 900;
  border: 1px solid var(--lilac);
  border-radius: 50%;
}

.guarantee {
  margin: 20px 26px 26px;
  padding: 13px;
  color: var(--muted);
  font-size: 0.78rem;
  border: 1px solid rgba(201, 181, 236, 0.42);
  background: rgba(80, 46, 145, 0.22);
}

.guarantee strong {
  color: #ffffff;
}

/* About page */

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 42px;
}

.stat {
  padding: 25px;
  border: 1px solid var(--line);
  background: linear-gradient(
    145deg,
    rgba(73, 35, 102, 0.94),
    rgba(43, 18, 62, 0.96)
  );
}

.stat strong {
  display: block;
  margin-bottom: 5px;
  color: var(--lilac);
  font-size: 1.35rem;
}

.stat span {
  color: var(--muted);
  font-size: 0.84rem;
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 70px;
  margin-top: 60px;
  padding-top: 60px;
  border-top: 1px solid var(--line);
}

.split p {
  color: var(--muted);
}

.robot-visual {
  position: relative;
  height: 360px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: linear-gradient(145deg, #4a2670, #2b123e);
}

.fake-robot {
  position: absolute;
  top: 55%;
  left: 50%;
  width: 190px;
  height: 125px;
  transform: translate(-50%, -50%);
  border-radius: 25px 25px 16px 16px;
  background: linear-gradient(160deg, #e1e8eb, #66737a);
  box-shadow: 0 25px 50px #000000;
}

.fake-robot::before {
  content: "";
  position: absolute;
  top: -28px;
  left: 58px;
  width: 75px;
  height: 36px;
  border-radius: 10px 10px 4px 4px;
  background: #263038;
}

.fake-robot::after {
  content: "";
  position: absolute;
  top: -44px;
  left: 92px;
  width: 8px;
  height: 18px;
  background: var(--lilac);
  box-shadow: 0 0 18px var(--lilac);
}

/* ---------- Products page ---------- */

.product-category-wrap {
  display: grid;
  gap: 76px;
}

.product-category {
  padding-top: 54px;
  border-top: 1px solid var(--line);
  scroll-margin-top: 100px;
}

.category-heading {
  max-width: none;
  width: 100%;
  margin-bottom: 30px;
}

.category-heading h2 {
  margin: 6px 0 10px;
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  letter-spacing: -0.045em;
}

.category-heading > p:last-child {
  max-width: 760px;
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.product-detail-grid {
  display: grid;
  gap: 24px;
}

.product-detail {
  display: grid;
  grid-template-columns: minmax(320px, 0.95fr) minmax(0, 1.05fr);
  align-items: center;
  gap: 54px;
  padding: 42px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: linear-gradient(
    145deg,
    rgba(73, 35, 102, 0.94),
    rgba(43, 18, 62, 0.96)
  );
}

/* Product pictures use the same shared background as the homepage cards */
.product-detail-image {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background-color: var(--purple-700);
  background-image:
    linear-gradient(rgba(27, 12, 40, 0.35), rgba(27, 12, 40, 0.35)),
    url("assets/card-background.jpg");
  background-size: cover;
  background-position: center;
}

.product-detail-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.product-detail h2 {
  margin: 7px 0 14px;
  font-size: clamp(2rem, 3.2vw, 3rem);
  line-height: 1.03;
  letter-spacing: -0.04em;
}

.product-subtitle {
  max-width: 650px;
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.65;
}

.product-detail ul {
  padding-left: 18px;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.55;
}

.product-detail li {
  margin: 8px 0;
}

.product-specs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin: 26px 0;
  padding: 18px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.spec {
  padding: 0 16px;
  border-right: 1px solid rgba(255, 255, 255, 0.2);
}

.spec:first-child {
  padding-left: 0;
}

.spec:last-child {
  border-right: 0;
}

.spec strong {
  display: block;
  color: var(--lilac);
  font-size: 1.15rem;
}

.spec span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.7rem;
  line-height: 1.35;
}

.product-note {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 0.74rem;
  line-height: 1.5;
}

.product-detail .btn {
  justify-self: start;
  margin-right: 10px;
}

.new-badge {
  display: inline-block;
  padding: 5px 8px;
  color: var(--lilac);
  font-size: 0.62rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  border: 1px solid rgba(201, 181, 236, 0.55);
  border-radius: 2px;
  background: transparent;
}

/* ---------- Footer ---------- */

footer {
  color: var(--muted);
  border-top: 1px solid var(--line);
  background-color: var(--purple-800);
  background-image:
    linear-gradient(rgba(43, 18, 62, 0.94), rgba(73, 35, 102, 0.94)),
    url("assets/mait-brand-pattern-4.1.jpg");
  background-repeat: no-repeat, repeat;
  background-size: 100% 100%, 480px auto;
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 31px 0;
  color: var(--muted);
  font-size: 0.74rem;
}

.footer strong {
  color: #ffffff;
  letter-spacing: 0.08em;
}

/* =============================================================
   Site footer
   Replaces the old two-line footer. Keep the existing "footer"
   and ".footer" rules in styles.css until every page is updated.
   ============================================================= */

.site-footer {
  color: var(--muted);
  border-top: 1px solid var(--line);
  background-color: var(--purple-800);
  background-image:
    linear-gradient(rgba(43, 18, 62, 0.94), rgba(73, 35, 102, 0.94)),
    url("assets/mait-brand-pattern-4.1.jpg");
  background-repeat: no-repeat, repeat;
  background-size: 100% 100%, 480px auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.3fr;
  gap: 48px;
  padding: 64px 0 48px;
}

.footer-logo {
  display: inline-block;
}

.footer-logo img {
  display: block;
  width: auto;
  height: 56px;
  max-width: 100%;
}

.footer-tagline {
  margin: 20px 0 8px;
  color: #ffffff;
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.footer-about {
  max-width: 320px;
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.65;
}

.footer-col h2 {
  margin: 0 0 18px;
  color: var(--lilac);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.footer-col ul {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 0.9rem;
}

.footer-col a {
  color: var(--muted);
  text-decoration: none;
}

.footer-col a:hover {
  color: #ffffff;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer-cta {
  display: inline-block;
  margin-top: 22px;
  padding: 10px 18px;
  color: #ffffff;
  font-size: 0.84rem;
  font-weight: 800;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.06);
}

.footer-col a.footer-cta:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: #ffffff;
  text-decoration: none;
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 32px;
  padding: 24px 0 32px;
  border-top: 1px solid var(--line);
  font-size: 0.76rem;
}

.footer-legal p {
  margin: 0;
}

@media (max-width: 950px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px 32px;
    padding: 48px 0 36px;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 560px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-legal {
    flex-direction: column;
  }
}

/* =============================================================
   Responsive
   ============================================================= */

@media (max-width: 1000px) {
  .brand img {
    width: 225px;
    height: 54px;
  }

  .links {
    gap: 20px;
  }
}

@media (max-width: 950px) {
  .premium-section-head {
    grid-template-columns: 1fr;
    gap: 18px;
  }

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

  .value-item {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .value-item:last-child {
    border-bottom: 0;
  }

  .assessment-grid {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .assessment-copy {
    position: static;
  }

  .product-detail {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 26px;
  }

  .product-specs {
    grid-template-columns: 1fr 1fr;
    gap: 8px 16px;
  }

  .spec {
    padding: 8px 0;
    border-right: 0;
  }

  .split {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

/* Mobile and small tablet: logo above a scrollable navigation row */
@media (max-width: 800px) {
  .nav {
    flex-wrap: wrap;
    min-height: 0;
    padding: 10px 0;
    gap: 10px 20px;
  }

  .links {
    width: 100%;
    gap: 8px;
    padding: 10px 0 4px;
    overflow-x: auto;
    white-space: nowrap;
    border-top: 1px solid var(--line);
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
  }

  .links a {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    min-height: 40px;
    padding: 8px 10px;
    font-size: 0.76rem;
  }

  .links a.active {
    padding-bottom: 6px;
  }

  .links a.cta {
    padding: 9px 14px;
  }

  .section {
    padding: 65px 0;
  }

  .cards,
  .stats,
  .resource-list {
    grid-template-columns: 1fr;
  }

  .footer {
    flex-direction: column;
  }
}

@media (max-width: 700px) {
  .sweeper-cards-grid,
  .scrubber-cards-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  body {
    background-attachment: scroll;
  }

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

  .premium-hero-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
    padding: 40px 0;
  }

  .premium-hero h1 {
    font-size: clamp(2.8rem, 14vw, 4.2rem);
  }

  .premium-hero,
  .premium-range,
  .premium-value,
  .premium-assessment,
  footer {
    background-size: 100% 100%, 360px auto;
  }

  .assessment-section {
    padding-top: 68px;
    padding-bottom: 68px;
  }

  .form {
    padding: 20px;
  }

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

  .page-hero {
    margin-top: 20px;
    padding: 40px 6%;
  }

  .premium-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .premium-actions .btn {
    text-align: center;
  }
}

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

  .sweeper-model-card {
    transition: none;
  }

  .sweeper-model-card:hover {
    transform: none;
  }
}
.sweeper-model-image .et1-card-img {
  transform: translateY(-20px) scale(1.1);
  transform-origin: center bottom;
}

.sweeper-model-image img[src="assets/cc1-pro-card.png"] {
  transform: scale(1.15);
  transform-origin: center bottom;
}
.product-detail-image img[src="assets/cc1-pro-card.png"] {
  transform: scale(1.15);
  transform-origin: center bottom;
}

.product-detail-image img[src="assets/et1-card.png"] {
  transform: translateY(-20px) scale(1.1);
  transform-origin: center bottom;
}

/* Buy page: align the three cards */
.buy-grid {
  align-items: stretch;
}

.buy-card {
  display: flex;
  flex-direction: column;
}

.buy-card .steps {
  flex: 1;
}

.buy-card .guarantee {
  position: static;
  margin-top: auto;
}

@media (min-width: 901px) {
  .buy-card .buy-head {
    min-height: 8.5rem;
  }
}

/* GT mower card images at 0.8x */
.sweeper-model-image img[src*="gt3" i],
.sweeper-model-image img[src*="gt5" i],
.sweeper-model-image img[src*="gt7" i] {
  transform: scale(0.8);
  transform-origin: center center;
}

/* GT mower images on Products page at 0.8x */
.product-detail-image img[src*="gt3" i],
.product-detail-image img[src*="gt5" i],
.product-detail-image img[src*="gt7" i] {
  transform: scale(0.8);
  transform-origin: center center;
}
/* Homepage product category panels */
.home-cats {
  display: grid;
  gap: 28px;
  margin-top: 32px;
}

.home-cat {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  align-items: center;
  gap: 32px;
  padding: 48px 40px 48px 52px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 6px;
  background: linear-gradient(135deg, #4a2160 0%, #2f1650 100%);
  overflow: hidden;
}

.home-cat-num {
  position: absolute;
  top: 22px;
  right: 28px;
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.3);
}

.home-cat-copy .eyebrow {
  margin: 0 0 16px;
}

.home-cat-copy h3 {
  margin: 0 0 16px;
  font-size: clamp(1.9rem, 3.4vw, 2.9rem);
  line-height: 1.05;
  color: #fff;
}

.home-cat-copy p {
  max-width: 26rem;
}

.home-cat-copy > p:not(.eyebrow) {
  margin: 0 0 26px;
  font-size: 1.1rem;
  line-height: 1.5;
  color: #e8e0f2;
}

.home-cat-link {
  display: inline-block;
  font-weight: 700;
  color: #d9c8ff;
  text-decoration: none;
}

.home-cat-link:hover,
.home-cat-link:focus-visible {
  color: #fff;
  text-decoration: underline;
}

.home-cat-visual {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  align-items: end;
}

.home-cat-tile {
  display: block;
  text-decoration: none;
  color: #fff;
  border-radius: 8px;
  overflow: hidden;
  background: rgba(0, 0, 0, 0.22);
  box-shadow: 0 16px 30px rgba(0, 0, 0, 0.35);
  transition: transform 0.25s ease;
}

.home-cat-tile:nth-child(2) {
  transform: translateY(-14px);
}

.home-cat-tile:hover,
.home-cat-tile:focus-visible {
  transform: translateY(-8px);
}

.home-cat-tile:nth-child(2):hover,
.home-cat-tile:nth-child(2):focus-visible {
  transform: translateY(-22px);
}

.home-cat-tile img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: contain;
}

.home-cat-tile span {
  display: block;
  padding: 10px 12px 12px;
  font-weight: 700;
  font-size: 0.95rem;
}

@media (prefers-reduced-motion: reduce) {
  .home-cat-tile { transition: none; }
}

@media (max-width: 900px) {
  .home-cat {
    grid-template-columns: 1fr;
    padding: 36px 24px;
  }
  .home-cat-tile:nth-child(2) { transform: none; }
  .home-cat-tile:hover,
  .home-cat-tile:focus-visible,
  .home-cat-tile:nth-child(2):hover,
  .home-cat-tile:nth-child(2):focus-visible { transform: none; }
}

@media (max-width: 560px) {
  .home-cat-visual { gap: 8px; }
  .home-cat-tile span { font-size: 0.8rem; padding: 8px; }
}


/* One combined image per category panel */
.home-cat-visual {
  display: block;
}

.home-cat-image {
  display: block;
  transition: transform 0.25s ease;
}

.home-cat-image img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 400px;
  object-fit: contain;
  object-position: center;
}

.home-cat-image:hover,
.home-cat-image:focus-visible {
  transform: translateY(-6px);
}

@media (prefers-reduced-motion: reduce) {
  .home-cat-image { transition: none; }
  .home-cat-image:hover,
  .home-cat-image:focus-visible { transform: none; }
}

/* Smaller combined category images */
.home-cat-image {
  width: 85%;
  margin: 0 auto;
}

.home-cat-image img {
  max-height: 300px;
}

/* Acquisition options: its own section after Why MAIT */
.acquisition-section {
  padding: 96px 0;
  background: linear-gradient(180deg, #3a1b5c 0%, #2b1244 100%);
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}

.acquisition-section .section-intro {
  margin-left: auto;
  margin-right: auto;
}

.acquisition-section .buy-grid {
  margin-top: 48px;
}

@media (max-width: 900px) {
  .acquisition-section {
    padding: 64px 0;
  }
}

/* Section headings: eyebrow, heading, then the paragraph on the next line */
.premium-section-head {
  display: block;
  margin-bottom: 42px;
}

.premium-section-head h2 {
  max-width: none;
  margin: 0 0 16px;
}

.premium-section-head > p {
  max-width: 48rem;
  margin: 0;
}

/* Acquisition options: keep the intro in line with the heading */
.acquisition-section .section-intro {
  margin-left: 0;
  margin-right: 0;
}
