/* BM Washing Powder — Urdu RTL brand site */
@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@500;600;700;800&family=Noto+Nastaliq+Urdu:wght@400;500;600;700&display=swap');

:root {
  --teal: #0b6e6e;
  --teal-deep: #085555;
  --teal-soft: #e6f4f4;
  --mint: #a8d5a2;
  --mint-deep: #7fb878;
  --coral: #e85d4c;
  --coral-hover: #d44a3a;
  --ink: #1a1a1a;
  --ink-soft: #3d3d3d;
  --muted: #5c6b6b;
  --paper: #f7fbfc;
  --white: #ffffff;
  --sky-top: #c8e8ec;
  --sky-mid: #e8f5f6;
  --shadow: 0 12px 40px rgba(11, 110, 110, 0.12);
  --radius: 4px;
  --nav-h: 4.5rem;
  --font-display: 'Noto Nastaliq Urdu', serif;
  --font-ui: 'Cairo', 'Noto Nastaliq Urdu', sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  font-family: var(--font-display);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.9;
  direction: rtl;
  text-align: right;
  overflow-x: hidden;
}

body.nav-open {
  overflow: hidden;
}

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

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

ul {
  list-style: none;
}

.container {
  width: min(1120px, calc(100% - 2.5rem));
  margin-inline: auto;
}

/* ——— Header ——— */
.site-header {
  position: fixed;
  inset-block-start: 0;
  inset-inline: 0;
  z-index: 100;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  transition: background 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

.site-header.is-scrolled {
  background: rgba(247, 251, 252, 0.92);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 rgba(11, 110, 110, 0.08);
}

.site-header.is-scrolled .brand-mark,
.site-header.is-scrolled .nav-link {
  color: var(--teal-deep);
}

.site-header.is-scrolled .nav-toggle span {
  background: var(--teal-deep);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(1120px, calc(100% - 2.5rem));
  margin-inline: auto;
  gap: 1.5rem;
}

.brand-mark {
  font-family: var(--font-ui);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: 0.02em;
  color: var(--white);
  display: flex;
  flex-direction: column;
  line-height: 1.25;
  transition: color 0.3s;
}

.brand-mark small {
  font-weight: 500;
  font-size: 0.72rem;
  opacity: 0.85;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}

.nav-link {
  font-family: var(--font-ui);
  font-size: 0.95rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.92);
  position: relative;
  transition: color 0.25s;
}

.nav-link::after {
  content: '';
  position: absolute;
  inset-inline: 0;
  inset-block-end: -4px;
  height: 2px;
  background: var(--mint);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s var(--ease);
}

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

.nav-cta {
  font-family: var(--font-ui);
  font-weight: 600;
  font-size: 0.9rem;
  background: var(--coral);
  color: var(--white);
  padding: 0.55rem 1.15rem;
  border-radius: var(--radius);
  transition: background 0.25s, transform 0.25s;
}

.nav-cta:hover {
  background: var(--coral-hover);
  transform: translateY(-1px);
}

.nav-toggle {
  display: none;
  background: none;
  border: 0;
  cursor: pointer;
  width: 2.75rem;
  height: 2.75rem;
  flex-direction: column;
  justify-content: center;
  align-items: stretch;
  gap: 6px;
  padding: 0.4rem;
  z-index: 110;
  -webkit-tap-highlight-color: transparent;
}

.nav-toggle span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--white);
  border-radius: 1px;
  transform-origin: center;
  transition: background 0.3s, transform 0.3s var(--ease), opacity 0.3s;
}

.nav-toggle[aria-expanded='true'] span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.nav-toggle[aria-expanded='true'] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded='true'] span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* ——— Buttons ——— */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-ui);
  font-weight: 600;
  font-size: 1rem;
  padding: 0.85rem 1.6rem;
  border-radius: var(--radius);
  border: 0;
  cursor: pointer;
  transition: background 0.25s, color 0.25s, transform 0.25s, border-color 0.25s;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-coral {
  background: var(--coral);
  color: var(--white);
}

.btn-coral:hover {
  background: var(--coral-hover);
}

.btn-teal {
  background: var(--teal);
  color: var(--white);
}

.btn-teal:hover {
  background: var(--teal-deep);
}

.btn-ghost {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255, 255, 255, 0.65);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--white);
}

.btn-ghost-dark {
  background: transparent;
  color: var(--teal);
  border: 1.5px solid var(--teal);
}

.btn-ghost-dark:hover {
  background: var(--teal-soft);
}

.cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  align-items: center;
}

/* ——— Hero ——— */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  color: var(--white);
  background: var(--teal-deep);
}

.hero-slides {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 1.1s var(--ease), visibility 1.1s var(--ease);
}

.hero-slide.is-active {
  opacity: 1;
  visibility: visible;
  z-index: 1;
}

.hero-slide picture {
  display: block;
  width: 100%;
  height: 100%;
}

.hero-slide img {
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  /* Desktop: products sit left-center; keep them visible on ultrawide crops */
  object-position: 28% center;
  transform: scale(1.03);
}

.hero-slide.is-active img {
  animation: hero-drift 12s ease-in-out infinite alternate;
}

@keyframes hero-drift {
  from {
    transform: scale(1.03) translate(0, 0);
  }
  to {
    transform: scale(1.07) translate(-0.8%, -0.5%);
  }
}

.hero-veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top, rgba(8, 45, 45, 0.92) 0%, rgba(11, 80, 80, 0.48) 45%, rgba(11, 110, 110, 0.18) 100%),
    linear-gradient(to left, rgba(6, 40, 42, 0.55) 0%, rgba(8, 55, 55, 0.22) 42%, transparent 72%);
  z-index: 1;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(1120px, calc(100% - 2.5rem));
  margin-inline: auto;
  padding-block: calc(var(--nav-h) + 3rem) 4.5rem;
}

/* Keep copy in the open teal zone (right side of designed backgrounds) */
.hero-content .hero-subbrand,
.hero-content .hero-brand,
.hero-content .hero-line,
.hero-content .hero-support,
.hero-content .cta-group,
.hero-content .hero-controls {
  max-width: 34rem;
  margin-inline-start: 0;
  margin-inline-end: auto;
}

.hero-brand {
  font-family: var(--font-ui);
  font-size: clamp(2.4rem, 6.5vw, 4.2rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 0.35rem;
  transition: opacity 0.45s var(--ease), transform 0.45s var(--ease);
}

.hero-brand.is-switching {
  opacity: 0;
  transform: translateY(12px);
}

.hero-subbrand {
  font-family: var(--font-ui);
  font-size: clamp(1rem, 2.2vw, 1.25rem);
  font-weight: 500;
  color: var(--mint);
  margin-bottom: 1.1rem;
  opacity: 0;
  animation: rise 0.9s var(--ease) 0.2s forwards;
}

.hero-line {
  font-size: clamp(1.1rem, 2.4vw, 1.4rem);
  font-weight: 500;
  max-width: 30ch;
  margin-bottom: 0.55rem;
  transition: opacity 0.45s var(--ease), transform 0.45s var(--ease);
}

.hero-line.is-switching {
  opacity: 0;
  transform: translateY(10px);
}

.hero-support {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.88);
  max-width: 36ch;
  margin-bottom: 1.5rem;
  opacity: 0;
  animation: rise 0.9s var(--ease) 0.45s forwards;
}

.hero .cta-group {
  opacity: 0;
  animation: rise 0.9s var(--ease) 0.6s forwards;
}

.hero-controls {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-top: 1.75rem;
  opacity: 0;
  animation: rise 0.9s var(--ease) 0.75s forwards;
}

.hero-dots {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

.hero-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 0;
  padding: 0;
  background: rgba(255, 255, 255, 0.35);
  cursor: pointer;
  transition: background 0.3s, transform 0.3s;
}

.hero-dot.is-active {
  background: var(--mint);
  transform: scale(1.2);
}

.hero-dot:focus-visible {
  outline: 2px solid var(--mint);
  outline-offset: 3px;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(22px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ——— Sections ——— */
.section {
  padding-block: 5rem;
}

.section-sky {
  background:
    radial-gradient(ellipse 80% 60% at 20% 0%, var(--sky-top), transparent 55%),
    linear-gradient(180deg, var(--sky-mid), var(--paper));
}

.section-teal {
  background: linear-gradient(160deg, var(--teal-deep), var(--teal));
  color: var(--white);
}

.section-head {
  margin-bottom: 2.5rem;
  max-width: 36rem;
}

.section-head h2 {
  font-family: var(--font-ui);
  font-size: clamp(1.85rem, 4vw, 2.5rem);
  font-weight: 700;
  color: var(--teal-deep);
  line-height: 1.35;
  margin-bottom: 0.65rem;
}

.section-teal .section-head h2 {
  color: var(--white);
}

.section-head p {
  color: var(--muted);
  font-size: 1.05rem;
}

.section-teal .section-head p {
  color: rgba(255, 255, 255, 0.85);
}

/* ——— Story split ——— */
.story-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 3rem;
  align-items: center;
}

.story-visual {
  position: relative;
  aspect-ratio: 4 / 3;
  min-height: 0;
  overflow: hidden;
}

.story-copy h2 {
  font-family: var(--font-ui);
  font-size: clamp(1.85rem, 4vw, 2.4rem);
  color: var(--teal-deep);
  margin-bottom: 1rem;
  line-height: 1.35;
}

.story-copy p {
  color: var(--ink-soft);
  margin-bottom: 1rem;
  font-size: 1.05rem;
}

/* ——— Product rows (not card clutter — interaction rows) ——— */
.product-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.product-row {
  display: grid;
  grid-template-columns: minmax(160px, 200px) 1fr auto;
  gap: 1.75rem;
  align-items: center;
  padding-block: 1.75rem;
  border-block-end: 1px solid rgba(11, 110, 110, 0.15);
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.product-row.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.product-row:first-child {
  border-block-start: 1px solid rgba(11, 110, 110, 0.15);
}

.product-thumb {
  width: 100%;
  max-width: 200px;
  aspect-ratio: 5 / 4;
  height: auto;
  overflow: hidden;
  background: linear-gradient(160deg, #dceeee, #f4fafa);
}

.product-thumb img,
.story-visual img,
.about-visual img {
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center;
}

.product-thumb img {
  transition: transform 0.5s var(--ease);
}

.product-row:hover .product-thumb img {
  transform: scale(1.04);
}

.product-info h3 {
  font-family: var(--font-ui);
  font-size: 1.45rem;
  color: var(--teal-deep);
  margin-bottom: 0.35rem;
}

.product-info .en-name {
  font-family: var(--font-ui);
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 0.5rem;
  direction: ltr;
  text-align: left;
  display: inline-block;
}

.product-info p {
  color: var(--ink-soft);
  max-width: 42ch;
}

.product-meta {
  font-family: var(--font-ui);
  font-size: 0.9rem;
  color: var(--teal);
  margin-top: 0.5rem;
}

/* ——— Steps ——— */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
  counter-reset: step;
}

.step {
  position: relative;
  padding-top: 0.5rem;
}

.step::before {
  counter-increment: step;
  content: counter(step, decimal);
  font-family: var(--font-ui);
  font-size: 3rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.22);
  line-height: 1;
  display: block;
  margin-bottom: 0.75rem;
}

.step h3 {
  font-family: var(--font-ui);
  font-size: 1.35rem;
  margin-bottom: 0.4rem;
}

.step p {
  color: rgba(255, 255, 255, 0.82);
  font-size: 1rem;
}

/* ——— Trust strip ——— */
.trust-line {
  font-family: var(--font-ui);
  font-size: clamp(1.2rem, 3vw, 1.65rem);
  color: var(--teal-deep);
  text-align: center;
  max-width: 40rem;
  margin-inline: auto;
  line-height: 1.6;
}

/* ——— Page hero (inner pages) ——— */
.page-hero {
  position: relative;
  padding-block: calc(var(--nav-h) + 3.5rem) 3.5rem;
  background:
    radial-gradient(ellipse 70% 80% at 80% 20%, var(--sky-top), transparent 50%),
    linear-gradient(180deg, #b8dfe4, var(--sky-mid) 70%, var(--paper));
  overflow: hidden;
}

.page-hero h1 {
  font-family: var(--font-ui);
  font-size: clamp(2.2rem, 5vw, 3.2rem);
  color: var(--teal-deep);
  line-height: 1.3;
  margin-bottom: 0.6rem;
  opacity: 0;
  animation: rise 0.8s var(--ease) 0.1s forwards;
}

.page-hero p {
  color: var(--muted);
  font-size: 1.1rem;
  max-width: 36ch;
  opacity: 0;
  animation: rise 0.8s var(--ease) 0.25s forwards;
}

/* ——— About ——— */
.about-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.about-block h2 {
  font-family: var(--font-ui);
  font-size: clamp(1.6rem, 3vw, 2rem);
  color: var(--teal-deep);
  margin-bottom: 1rem;
}

.about-block p {
  color: var(--ink-soft);
  margin-bottom: 1rem;
  font-size: 1.05rem;
}

.values {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-top: 1rem;
}

.value-item h3 {
  font-family: var(--font-ui);
  font-size: 1.2rem;
  color: var(--teal);
  margin-bottom: 0.25rem;
}

.value-item p {
  color: var(--muted);
  margin: 0;
}

.about-visual {
  aspect-ratio: 4 / 5;
  min-height: 0;
  overflow: hidden;
}

/* ——— Contact ——— */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.contact-panel {
  background: linear-gradient(160deg, var(--teal-deep), var(--teal));
  color: var(--white);
  padding: clamp(1.5rem, 4vw, 2.5rem) clamp(1.25rem, 3vw, 2rem);
  min-height: 280px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.contact-panel h2 {
  font-family: var(--font-ui);
  font-size: 1.85rem;
  margin-bottom: 0.75rem;
}

.contact-panel p {
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 1.5rem;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.contact-item h3 {
  font-family: var(--font-ui);
  font-size: 1.05rem;
  color: var(--teal);
  margin-bottom: 0.25rem;
}

.contact-item p,
.contact-item a {
  color: var(--ink-soft);
  font-size: 1.05rem;
}

.contact-item a:hover {
  color: var(--coral);
}

.wa-number {
  font-family: var(--font-ui);
  direction: ltr;
  unicode-bidi: embed;
  display: inline-block;
}

/* ——— Footer ——— */
.site-footer {
  background: var(--teal-deep);
  color: rgba(255, 255, 255, 0.88);
  padding-block: 3rem 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2.5rem;
}

.footer-brand {
  font-family: var(--font-ui);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.5rem;
}

.footer-brand small {
  display: block;
  font-weight: 500;
  font-size: 0.85rem;
  color: var(--mint);
  margin-top: 0.2rem;
}

.footer-grid p {
  font-size: 0.95rem;
  max-width: 28ch;
  color: rgba(255, 255, 255, 0.75);
}

.footer-grid h4 {
  font-family: var(--font-ui);
  font-size: 1.05rem;
  color: var(--white);
  margin-bottom: 0.85rem;
}

.footer-grid a {
  display: block;
  font-family: var(--font-ui);
  font-size: 0.95rem;
  margin-bottom: 0.45rem;
  color: rgba(255, 255, 255, 0.75);
  transition: color 0.2s;
}

.footer-grid a:hover {
  color: var(--mint);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding-top: 1.25rem;
  font-family: var(--font-ui);
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.55);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
}

/* ——— Reveal ——— */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ——— Tablet ——— */
@media (max-width: 1100px) {
  .nav-links {
    gap: 1.1rem;
  }

  .story-grid,
  .about-block,
  .contact-layout {
    gap: 2rem;
  }

  .product-row {
    grid-template-columns: minmax(140px, 170px) 1fr auto;
    gap: 1.25rem;
  }

  .product-info h3 {
    font-size: 1.3rem;
  }

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

/* ——— Mobile ——— */
@media (max-width: 860px) {
  :root {
    --nav-h: 4rem;
  }

  .container,
  .nav-inner {
    width: min(1120px, calc(100% - 1.75rem));
  }

  .nav-toggle {
    display: flex;
  }

  .brand-mark {
    font-size: 1.05rem;
    color: var(--teal-deep);
  }

  .site-header:not(.is-scrolled) .brand-mark {
    color: var(--white);
  }

  .nav-links {
    position: fixed;
    inset-block-start: var(--nav-h);
    inset-inline: 0;
    inset-block-end: 0;
    background: var(--paper);
    flex-direction: column;
    align-items: stretch;
    padding: 0.5rem 1.5rem calc(1.75rem + env(safe-area-inset-bottom, 0px));
    gap: 0;
    box-shadow: var(--shadow);
    transform: translateY(-110%);
    opacity: 0;
    pointer-events: none;
    overflow-y: auto;
    transition: transform 0.4s var(--ease), opacity 0.35s;
    z-index: 99;
  }

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

  .nav-link {
    color: var(--teal-deep) !important;
    padding-block: 1rem;
    border-bottom: 1px solid rgba(11, 110, 110, 0.1);
    font-size: 1.05rem;
  }

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

  .nav-cta {
    margin-top: 1.25rem;
    text-align: center;
    padding-block: 0.85rem;
  }

  .story-grid,
  .about-block,
  .contact-layout,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .story-grid {
    gap: 1.75rem;
  }

  .story-visual {
    aspect-ratio: 16 / 10;
    order: -1;
  }

  .about-visual {
    aspect-ratio: 16 / 11;
  }

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

  .product-row {
    grid-template-columns: 1fr;
    gap: 0.85rem;
    padding-block: 1.5rem;
  }

  .product-thumb {
    max-width: none;
    aspect-ratio: 16 / 10;
  }

  .product-info p {
    max-width: none;
  }

  .product-row .btn {
    justify-self: stretch;
    width: 100%;
  }

  .page-hero {
    padding-block: calc(var(--nav-h) + 2.25rem) 2.25rem;
  }

  .page-hero h1 {
    font-size: clamp(1.85rem, 8vw, 2.6rem);
  }

  .page-hero p {
    font-size: 1rem;
    max-width: none;
  }

  .contact-panel {
    min-height: 0;
  }

  .contact-details {
    gap: 1.1rem;
  }

  .hero-content {
    padding-block: calc(var(--nav-h) + 1.25rem) calc(2.25rem + env(safe-area-inset-bottom, 0px));
    width: min(1120px, calc(100% - 1.75rem));
  }

  .hero-content .hero-subbrand,
  .hero-content .hero-brand,
  .hero-content .hero-line,
  .hero-content .hero-support,
  .hero-content .cta-group,
  .hero-content .hero-controls {
    max-width: none;
  }

  .hero-brand {
    font-size: clamp(1.75rem, 8vw, 2.5rem);
  }

  .hero-line {
    max-width: none;
    font-size: clamp(1rem, 3.8vw, 1.2rem);
  }

  .hero-support {
    max-width: none;
    font-size: 0.95rem;
    margin-bottom: 1.15rem;
  }

  .hero-controls {
    margin-top: 1.25rem;
  }

  /* Portrait heroes: products upper-center, copy sits in teal lower zone */
  .hero-slide img {
    object-position: center 28%;
    transform: scale(1.02);
  }

  .hero-slide.is-active img {
    animation: hero-drift-mobile 14s ease-in-out infinite alternate;
  }

  @keyframes hero-drift-mobile {
    from {
      transform: scale(1.02) translate(0, 0);
    }
    to {
      transform: scale(1.05) translate(0, -0.6%);
    }
  }

  .hero-veil {
    background:
      linear-gradient(
        to top,
        rgba(6, 36, 38, 0.96) 0%,
        rgba(8, 50, 52, 0.78) 28%,
        rgba(11, 80, 80, 0.35) 55%,
        rgba(11, 110, 110, 0.08) 78%,
        transparent 100%
      );
  }

  .section {
    padding-block: 3.25rem;
  }

  .section-head {
    margin-bottom: 1.75rem;
  }

  .site-footer {
    padding-block: 2.5rem calc(1.75rem + env(safe-area-inset-bottom, 0px));
  }

  .footer-grid {
    gap: 1.75rem 1.25rem;
    margin-bottom: 1.75rem;
  }

  .footer-grid p {
    max-width: none;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.35rem;
  }
}

@media (min-width: 1400px) {
  .hero-slide img {
    object-position: 22% center;
  }
}

/* ——— Small phones ——— */
@media (max-width: 520px) {
  .container,
  .nav-inner,
  .hero-content {
    width: min(1120px, calc(100% - 1.35rem));
  }

  .cta-group {
    flex-direction: column;
    align-items: stretch;
  }

  .btn {
    width: 100%;
    padding: 0.9rem 1.25rem;
  }

  .hero {
    min-height: 100svh;
  }

  .hero-subbrand {
    margin-bottom: 0.75rem;
  }

  .hero-support {
    display: none;
  }

  .product-thumb {
    aspect-ratio: 4 / 3;
  }

  .product-info h3 {
    font-size: 1.25rem;
  }

  .product-meta {
    font-size: 0.85rem;
    word-break: break-word;
  }

  .contact-panel .btn {
    width: 100%;
  }

  .step::before {
    font-size: 2.4rem;
  }

  .trust-line {
    font-size: 1.1rem;
  }
}

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

  .hero-slide,
  .hero-slide.is-active img,
  .reveal,
  .product-row {
    animation: none !important;
    transition: none !important;
  }

  .reveal,
  .product-row {
    opacity: 1;
    transform: none;
  }
}
