/* ==========================================================================
   YK INDUSTRIALS (PTY) LTD — Landing page stylesheet
   Palette, typography and section rhythm follow the approved brand rules.
   ========================================================================== */

:root {
  --navy: #102b4e;
  --navy-deep: #0b1f3a;
  --blue: #1769aa;
  --blue-dark: #12568d;
  --bright: #0796e8;
  --grey: #eef2f7;
  --white: #ffffff;
  --ink: #172638;
  --muted: #4d5f75;
  --line: #dfe7f0;
  --wa: #25d366;
  --wa-ink: #08301a;

  --font-head: "Montserrat", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Open Sans", "Segoe UI", Arial, sans-serif;

  --container: 1240px;
  --gutter: 24px;
  --header-h: 96px;
  --radius-card: 12px;
  --radius-btn: 8px;

  --shadow-card: 0 18px 38px -24px rgba(16, 43, 78, 0.45);
  --shadow-card-hover: 0 26px 48px -22px rgba(16, 43, 78, 0.45);
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* ------------------------------ Reset ---------------------------------- */

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

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

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.72;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

a {
  color: var(--blue);
  text-decoration: none;
}

h1,
h2,
h3 {
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.16;
  letter-spacing: -0.015em;
  color: var(--navy);
  margin: 0;
}

p {
  margin: 0;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

address {
  font-style: normal;
}

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

:focus-visible {
  outline: 3px solid rgba(7, 150, 232, 0.55);
  outline-offset: 2px;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 999;
  background: var(--navy);
  color: var(--white);
  padding: 12px 20px;
  border-radius: 0 0 8px 0;
  font-family: var(--font-head);
  font-weight: 600;
}

.skip-link:focus {
  left: 0;
}

.icon {
  width: 1.25em;
  height: 1.25em;
  fill: currentColor;
  flex: none;
}

.icon__stroke {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ----------------------------- Typography ------------------------------- */

.eyebrow {
  font-family: var(--font-head);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--blue);
  margin: 0 0 16px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.eyebrow::before {
  content: "";
  width: 30px;
  height: 2px;
  background: var(--bright);
  flex: none;
}

.eyebrow--light {
  color: #8ec8f2;
}

.section__title {
  font-size: clamp(1.75rem, 2.9vw, 2.6rem);
  letter-spacing: -0.02em;
  max-width: 22ch;
}

.section__lead {
  margin-top: 18px;
  font-size: 1.0625rem;
  color: var(--muted);
  max-width: 62ch;
}

.section__head--light .section__title {
  color: var(--white);
}

.section__head--light .section__lead {
  color: rgba(255, 255, 255, 0.78);
}

.section__head--center {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.section__head--center .eyebrow {
  justify-content: center;
}

.section__head--center .section__title,
.section__head--center .section__lead {
  margin-left: auto;
  margin-right: auto;
}

.section {
  padding: 104px 0;
  scroll-margin-top: calc(var(--header-h) + 12px);
}

.section--grey {
  background: var(--grey);
}

.section--navy {
  background: var(--navy);
}

/* ------------------------------ Buttons -------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.9375rem;
  letter-spacing: 0.01em;
  line-height: 1.2;
  padding: 15px 26px;
  border-radius: var(--radius-btn);
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: background-color 0.22s var(--ease), color 0.22s var(--ease),
    border-color 0.22s var(--ease), transform 0.22s var(--ease), box-shadow 0.22s var(--ease);
  text-align: center;
}

.btn .icon {
  font-size: 1.15em;
}

.btn--primary {
  background: var(--blue);
  color: var(--white);
  box-shadow: 0 14px 26px -16px rgba(23, 105, 170, 0.9);
}

.btn--primary:hover,
.btn--primary:focus-visible {
  background: var(--blue-dark);
  transform: translateY(-2px);
  box-shadow: 0 18px 30px -16px rgba(23, 105, 170, 0.85);
}

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

.btn--ghost:hover,
.btn--ghost:focus-visible {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--white);
  transform: translateY(-2px);
}

.btn--whatsapp {
  background: var(--wa);
  color: var(--wa-ink);
  box-shadow: 0 16px 30px -16px rgba(37, 211, 102, 0.85);
}

.btn--whatsapp:hover,
.btn--whatsapp:focus-visible {
  background: #1fbe5b;
  transform: translateY(-2px);
  box-shadow: 0 20px 34px -16px rgba(37, 211, 102, 0.8);
}

.btn--sm {
  padding: 12px 20px;
  font-size: 0.875rem;
}

.btn--lg {
  padding: 17px 30px;
  font-size: 0.9688rem;
}

.btn--block {
  width: 100%;
}

.icon--arrow {
  width: 1.05em;
  height: 1.05em;
  transition: transform 0.22s var(--ease);
}

.btn:hover .icon--arrow {
  transform: translateX(3px);
}

/* ------------------------------- Header -------------------------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 90;
  background: var(--white);
  border-bottom: 1px solid rgba(16, 43, 78, 0.08);
  transition: box-shadow 0.3s var(--ease);
}

.site-header.is-scrolled {
  box-shadow: 0 10px 30px -18px rgba(16, 43, 78, 0.45);
}

.header__inner {
  display: flex;
  align-items: center;
  gap: 32px;
  min-height: var(--header-h);
  transition: min-height 0.3s var(--ease);
}

.site-header.is-scrolled .header__inner {
  min-height: 76px;
}

.brand {
  display: inline-flex;
  align-items: center;
  flex: none;
}

.brand__logo {
  height: 74px;
  width: auto;
  transition: height 0.3s var(--ease);
}

.site-header.is-scrolled .brand__logo {
  height: 60px;
}

.nav {
  margin-left: auto;
}

.nav__list {
  display: flex;
  align-items: center;
  gap: 34px;
}

.nav__list a {
  position: relative;
  display: block;
  font-family: var(--font-head);
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--navy);
  padding: 6px 0;
  transition: color 0.2s var(--ease);
}

.nav__list a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: var(--bright);
  transition: width 0.24s var(--ease);
}

.nav__list a:hover,
.nav__list a:focus-visible {
  color: var(--blue);
}

.nav__list a:hover::after,
.nav__list a:focus-visible::after {
  width: 100%;
}

.header__actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex: none;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 0 10px;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 8px;
  cursor: pointer;
}

.nav-toggle__bar {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--navy);
  border-radius: 2px;
  transition: transform 0.25s var(--ease), opacity 0.2s var(--ease);
}

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

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

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

/* -------------------------------- Hero --------------------------------- */

.hero {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  min-height: min(860px, calc(100svh - var(--header-h)));
  padding: 116px 0 108px;
  background: var(--navy-deep);
  overflow: hidden;
}

.hero__media {
  position: absolute;
  inset: 0;
  z-index: -1;
}

.hero__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 68% center;
}

.hero__scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      90deg,
      rgba(9, 24, 43, 0.96) 0%,
      rgba(10, 28, 50, 0.92) 30%,
      rgba(11, 32, 57, 0.72) 52%,
      rgba(9, 26, 47, 0.34) 76%,
      rgba(8, 24, 44, 0.18) 100%
    ),
    linear-gradient(180deg, rgba(8, 22, 40, 0.35) 0%, rgba(8, 22, 40, 0) 40%, rgba(8, 22, 40, 0.55) 100%);
}

.hero__content {
  max-width: 730px;
  color: var(--white);
}

.hero__title {
  font-size: clamp(2.05rem, 3.5vw, 3.2rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.028em;
  color: var(--white);
  max-width: 19ch;
}

.hero__title .accent {
  color: var(--bright);
}

.hero__lead {
  margin-top: 24px;
  max-width: 54ch;
  font-size: 1.0625rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.84);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 38px;
}

.hero__trust {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 42px;
  padding: 10px 18px 10px 14px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  font-size: 0.875rem;
  letter-spacing: 0.01em;
  color: rgba(255, 255, 255, 0.9);
}

.hero__trust strong {
  font-family: var(--font-head);
  font-weight: 600;
}

.hero__trust .icon {
  color: #8ec8f2;
  font-size: 1.35em;
}

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

.products .section__head {
  margin-bottom: 54px;
}

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

.product-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  overflow: hidden;
  color: inherit;
  box-shadow: var(--shadow-card);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
}

.product-card:hover,
.product-card:focus-visible {
  transform: translateY(-5px);
  box-shadow: var(--shadow-card-hover);
  border-color: rgba(23, 105, 170, 0.35);
}

.product-card__media {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #dde5ee;
}

.product-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s var(--ease);
}

.product-card:hover .product-card__media img,
.product-card:focus-visible .product-card__media img {
  transform: scale(1.05);
}

.product-card__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(8, 22, 40, 0) 42%,
    rgba(8, 22, 40, 0.32) 65%,
    rgba(8, 22, 40, 0.86) 100%
  );
}

.product-card__title {
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 18px;
  z-index: 1;
  margin: 0;
  font-size: 1.1875rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--white);
  text-shadow: 0 2px 12px rgba(6, 18, 33, 0.5);
}

.product-card__body {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 22px 24px 24px;
  flex: 1;
}

.product-card__body p {
  font-size: 0.9375rem;
  line-height: 1.66;
  color: var(--muted);
}

.product-card__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  font-family: var(--font-head);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--blue);
}

.product-card__link .icon--arrow {
  transition: transform 0.24s var(--ease);
}

.product-card:hover .product-card__link .icon--arrow {
  transform: translateX(4px);
}

.products__note {
  margin-top: 38px;
  font-size: 0.9375rem;
  color: var(--muted);
  text-align: center;
}

.products__note a {
  color: var(--blue);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* -------------------------------- Why ---------------------------------- */

.why {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 104px 0 96px;
}

.why__texture {
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: url("../img/banner.webp");
  background-size: cover;
  background-position: center;
  opacity: 0.16;
  filter: saturate(0.65);
}

.why::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(16, 43, 78, 0.94), rgba(11, 31, 58, 0.97));
}

.why .section__head {
  max-width: 720px;
  margin-bottom: 58px;
}

.benefits {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.benefit {
  padding: 6px 30px;
  border-left: 1px solid rgba(255, 255, 255, 0.14);
}

.benefit:first-child {
  border-left: 0;
  padding-left: 0;
}

.benefit:last-child {
  padding-right: 0;
}

.benefit__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.06);
  color: #8ec8f2;
  margin-bottom: 22px;
}

.benefit__icon .icon {
  font-size: 1.55rem;
}

.benefit__title {
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 12px;
  line-height: 1.35;
}

.benefit p {
  font-size: 0.9375rem;
  line-height: 1.68;
  color: rgba(255, 255, 255, 0.74);
}

/* -------------------------------- About -------------------------------- */

.about__grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 68px;
  align-items: center;
}

.about__copy .section__title {
  max-width: 18ch;
}

.about__copy p {
  margin-top: 20px;
  color: var(--muted);
  font-size: 1.0313rem;
  line-height: 1.75;
}

.about__copy .btn {
  margin-top: 32px;
}

.about__media {
  margin: 0;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 34px 64px -34px rgba(16, 43, 78, 0.55);
}

.about__media img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

/* ----------------------------- Commitment ------------------------------ */

.commitment .section__lead + .section__lead {
  margin-top: 16px;
}

.pillars {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin-top: 56px;
}

.pillar {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 22px 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  background: var(--white);
  box-shadow: 0 14px 30px -26px rgba(16, 43, 78, 0.5);
}

.pillar__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  flex: none;
  border-radius: 10px;
  background: rgba(23, 105, 170, 0.09);
  color: var(--blue);
}

.pillar__icon .icon {
  font-size: 1.4rem;
}

.pillar__label {
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 600;
  color: var(--navy);
}

/* ------------------------------- Quote --------------------------------- */

.quote {
  scroll-margin-top: calc(var(--header-h) + 12px);
}

.quote__grid {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 64px;
  align-items: start;
}

.quote__intro .section__title {
  max-width: 16ch;
}

.contact-list {
  margin-top: 38px;
  display: grid;
  gap: 18px;
}

.contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  font-size: 0.9688rem;
  color: var(--ink);
}

.contact-list__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  flex: none;
  border-radius: 50%;
  background: var(--white);
  border: 1px solid var(--line);
  color: var(--blue);
}

.contact-list__icon .icon {
  font-size: 1.15rem;
}

.contact-list a {
  color: var(--navy);
  font-weight: 600;
  padding-top: 8px;
  transition: color 0.2s var(--ease);
}

.contact-list a:hover {
  color: var(--blue);
}

.contact-list span:not(.contact-list__icon) {
  padding-top: 8px;
}

.quote__note {
  margin-top: 30px;
  padding-top: 24px;
  border-top: 1px solid #dbe4ee;
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--muted);
  max-width: 42ch;
}

.quote__note a {
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.quote-form {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 36px;
  box-shadow: 0 30px 60px -40px rgba(16, 43, 78, 0.55);
  display: grid;
  gap: 20px;
}

.field {
  display: grid;
  gap: 8px;
}

.field label {
  font-family: var(--font-head);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--navy);
}

.req {
  color: var(--blue);
}

.opt {
  font-family: var(--font-body);
  font-weight: 400;
  color: #7b8b9e;
  font-size: 0.8125rem;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 13px 15px;
  font-size: 0.9375rem;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  border: 1px solid #d3dde8;
  border-radius: 8px;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.field textarea {
  resize: vertical;
  min-height: 118px;
  line-height: 1.6;
}

.field input::placeholder,
.field textarea::placeholder {
  color: #93a1b1;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(23, 105, 170, 0.16);
}

.field input[aria-invalid="true"],
.field select[aria-invalid="true"],
.field textarea[aria-invalid="true"] {
  border-color: #c0392b;
  box-shadow: 0 0 0 3px rgba(192, 57, 43, 0.12);
}

.select-wrap {
  position: relative;
}

.select-wrap select {
  appearance: none;
  padding-right: 44px;
  background: var(--white);
  color: var(--ink);
}

.select-wrap__chevron {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  color: var(--muted);
  pointer-events: none;
}

.field__error {
  font-size: 0.7813rem;
  color: #c0392b;
  min-height: 0;
  line-height: 1.4;
}

.field__error:empty {
  display: none;
}

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.form-note {
  font-size: 0.8125rem;
  line-height: 1.6;
  color: #71829a;
  margin: 0;
}

/* ------------------------------- CTA band ------------------------------ */

.cta-band {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: var(--navy);
}

.cta-band__media {
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: url("../img/banner.webp");
  background-size: cover;
  background-position: center;
  opacity: 0.42;
}

.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, rgba(16, 43, 78, 0.97) 0%, rgba(16, 43, 78, 0.86) 45%, rgba(11, 31, 58, 0.72) 100%);
}

.cta-band__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
  padding-top: 70px;
  padding-bottom: 70px;
}

.cta-band__copy {
  max-width: 620px;
}

.cta-band__title {
  font-size: clamp(1.6rem, 2.6vw, 2.25rem);
  color: var(--white);
  letter-spacing: -0.02em;
}

.cta-band__copy p {
  margin-top: 16px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.0313rem;
  max-width: 52ch;
}

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

.footer {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.8);
  padding-top: 76px;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 58px;
}

.footer__logo-plate {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--white);
  border-radius: 10px;
  padding: 12px 16px;
  max-width: 210px;
}

.footer__logo-plate img {
  width: 100%;
  height: auto;
}

.footer__company {
  margin-top: 22px;
  font-family: var(--font-head);
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--white);
}

.footer__tagline {
  margin-top: 8px;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.66);
  max-width: 26ch;
}

.footer__heading {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #8ec8f2;
  margin-bottom: 20px;
}

.footer__list {
  display: grid;
  gap: 12px;
  font-size: 0.9375rem;
  line-height: 1.6;
}

.footer__list a,
.footer__address a {
  color: rgba(255, 255, 255, 0.82);
  transition: color 0.2s var(--ease);
}

.footer__list a:hover,
.footer__address a:hover {
  color: var(--bright);
}

.footer__address {
  font-size: 0.9375rem;
  line-height: 1.7;
}

.footer__label {
  display: block;
  font-size: 0.75rem;
  letter-spacing: 0.02em;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 2px;
}

.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.13);
  padding-top: 26px;
  padding-bottom: 32px;
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.55);
}

/* --------------------------- Floating WhatsApp ------------------------- */

.wa-float {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 80;
  display: none;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--wa);
  color: var(--wa-ink);
  box-shadow: 0 16px 30px -12px rgba(9, 32, 22, 0.55);
}

.wa-float .icon {
  font-size: 1.85rem;
}

.wa-float__text {
  display: none;
}

/* ------------------------------ Reveal --------------------------------- */

.js .reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
  transition-delay: var(--delay, 0ms);
}

.js .reveal.is-visible {
  opacity: 1;
  transform: none;
}

.hero .reveal:nth-child(2) {
  --delay: 90ms;
}

.hero .reveal:nth-child(3) {
  --delay: 180ms;
}

.hero .reveal:nth-child(4) {
  --delay: 260ms;
}

.hero .reveal:nth-child(5) {
  --delay: 340ms;
}

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

  .js .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
  }
}

/* ------------------------------ Responsive ----------------------------- */

@media (max-width: 1080px) {
  .nav__list {
    gap: 24px;
  }

  .about__grid,
  .quote__grid {
    gap: 44px;
  }

  .benefit {
    padding: 6px 22px;
  }
}

@media (max-width: 960px) {
  :root {
    --header-h: 84px;
  }

  .section {
    padding: 84px 0;
  }

  .why {
    padding: 84px 0 76px;
  }

  .nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    margin: 0;
    background: var(--white);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 22px 40px -26px rgba(16, 43, 78, 0.5);
    display: none;
  }

  .nav.is-open {
    display: block;
  }

  .nav__list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px 0 14px;
  }

  .nav__list a {
    padding: 15px var(--gutter);
    font-size: 1rem;
    border-top: 1px solid #eef2f7;
  }

  .nav__list a::after {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

  .header__actions {
    margin-left: auto;
  }

  .header__cta span {
    display: none;
  }

  .header__cta {
    padding: 12px 14px;
  }

  .header__cta .icon {
    font-size: 1.35rem;
  }

  .brand__logo {
    height: 56px;
  }

  .site-header.is-scrolled .brand__logo {
    height: 48px;
  }

  .hero {
    min-height: 0;
    padding: 96px 0 84px;
  }

  .hero__img {
    object-position: 72% center;
  }

  .hero__scrim {
    background:
      linear-gradient(180deg, rgba(9, 24, 43, 0.88) 0%, rgba(9, 26, 47, 0.8) 45%, rgba(8, 22, 40, 0.92) 100%),
      linear-gradient(90deg, rgba(9, 24, 43, 0.75), rgba(9, 24, 43, 0.25));
  }

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

  .benefits {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 40px 0;
  }

  .benefit {
    padding: 0 26px;
  }

  .benefit:nth-child(odd) {
    border-left: 0;
    padding-left: 0;
  }

  .benefit:nth-child(3),
  .benefit:nth-child(4) {
    border-top: 1px solid rgba(255, 255, 255, 0.14);
    padding-top: 36px;
  }

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

  .about__media {
    order: -1;
  }

  .about__media img {
    aspect-ratio: 16 / 10;
  }

  .quote__grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .cta-band__inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 30px;
    padding-top: 60px;
    padding-bottom: 60px;
  }

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

  .wa-float {
    display: inline-flex;
  }

  .footer {
    padding-bottom: 74px;
  }
}

@media (max-width: 720px) {
  body {
    font-size: 16px;
  }

  .section {
    padding: 68px 0;
  }

  .why {
    padding: 68px 0 60px;
  }

  .hero {
    padding: 76px 0 72px;
  }

  .hero__lead {
    font-size: 1rem;
  }

  .hero__actions {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    margin-top: 30px;
  }

  .hero__actions .btn {
    width: 100%;
  }

  .hero__trust {
    margin-top: 30px;
    font-size: 0.8125rem;
  }

  .products .section__head {
    margin-bottom: 36px;
  }

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

  .product-card__title {
    font-size: 1.0625rem;
  }

  .products__note {
    text-align: left;
  }

  .benefits {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .benefit,
  .benefit:nth-child(odd),
  .benefit:nth-child(3),
  .benefit:nth-child(4) {
    border-left: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.14);
    padding: 28px 0 0;
  }

  .benefit:first-child {
    border-top: 0;
    padding-top: 0;
  }

  .pillars {
    grid-template-columns: 1fr;
    gap: 14px;
    margin-top: 38px;
  }

  .quote-form {
    padding: 24px 20px;
  }

  .field-row {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .cta-band__inner {
    padding-top: 52px;
    padding-bottom: 52px;
  }

  .cta-band .btn {
    width: 100%;
  }

  .footer {
    padding-top: 58px;
  }

  .footer__grid {
    grid-template-columns: 1fr;
    gap: 34px;
    padding-bottom: 40px;
  }

  .footer__logo-plate {
    max-width: 190px;
  }
}

@media (max-width: 420px) {
  :root {
    --gutter: 18px;
  }

  .brand__logo {
    height: 48px;
  }

  .site-header.is-scrolled .brand__logo {
    height: 44px;
  }

  .hero__title {
    font-size: 1.95rem;
  }
}

/* ==========================================================================
   Product gallery, category index and interior pages
   ========================================================================== */

.nav__list a[aria-current="page"] {
  color: var(--blue);
}

.nav__list a[aria-current="page"]::after {
  width: 100%;
}

.section--mist {
  background: #f7f9fc;
}

.gallery .section__head,
.gallery-band .section__head {
  margin-bottom: 46px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.gallery-card {
  background: var(--white);
  border: 1px solid #e2eaf3;
  border-radius: var(--radius-card);
  overflow: hidden;
  transition: transform 0.28s var(--ease), box-shadow 0.28s var(--ease), border-color 0.28s var(--ease);
}

.gallery-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-hover);
  border-color: rgba(23, 105, 170, 0.3);
}

.gallery-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.gallery-card__body {
  padding: 16px 20px 20px;
}

.gallery-card__title {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.4;
}

.gallery-card__note {
  margin-top: 4px;
  font-size: 0.8125rem;
  color: #71829a;
}

.gallery__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 40px;
}

.btn--outline {
  background: var(--white);
  border-color: rgba(23, 105, 170, 0.45);
  color: var(--blue);
}

.btn--outline:hover,
.btn--outline:focus-visible {
  background: rgba(23, 105, 170, 0.06);
  border-color: var(--blue);
  transform: translateY(-2px);
}

/* ----------------------------- Page hero -------------------------------- */

.page-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: var(--navy);
  padding: 82px 0 76px;
}

.page-hero__media {
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: url("../img/banner.webp");
  background-size: cover;
  background-position: center;
  opacity: 0.3;
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(100deg, rgba(16, 43, 78, 0.97) 0%, rgba(16, 43, 78, 0.9) 55%, rgba(11, 31, 58, 0.78) 100%);
}

.page-hero__inner {
  max-width: 760px;
}

.page-hero__title {
  font-size: clamp(1.95rem, 3.4vw, 2.85rem);
  color: var(--white);
  letter-spacing: -0.022em;
}

.page-hero__lead {
  margin-top: 20px;
  font-size: 1.0313rem;
  color: rgba(255, 255, 255, 0.8);
  max-width: 60ch;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 22px;
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.55);
}

.breadcrumb a {
  color: rgba(255, 255, 255, 0.75);
}

.breadcrumb a:hover {
  color: var(--white);
}

.page-hero .eyebrow {
  color: #8ec8f2;
}

/* --------------------------- Category index ----------------------------- */

.category-index {
  border-top: 1px solid var(--line);
}

.category-row {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 26px 0;
  border-bottom: 1px solid var(--line);
}

.category-row__thumb {
  width: 104px;
  height: 104px;
  flex: none;
  border-radius: 12px;
  overflow: hidden;
  background: #eef2f7;
}

.category-row__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.category-row__body {
  flex: 1;
}

.category-row__title {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--navy);
}

.category-row__body p {
  margin-top: 6px;
  font-size: 0.9375rem;
  color: var(--muted);
  max-width: 62ch;
}

.category-row__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex: none;
  font-family: var(--font-head);
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--blue);
}

.category-row__link:hover .icon--arrow {
  transform: translateX(3px);
}

.category-row__link .icon--arrow {
  transition: transform 0.22s var(--ease);
}

/* ------------------------------- Steps ---------------------------------- */

.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin-top: 46px;
}

.step {
  padding: 26px 24px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
}

.step__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(23, 105, 170, 0.1);
  color: var(--blue);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.9375rem;
  margin-bottom: 16px;
}

.step__title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 8px;
}

.step p {
  font-size: 0.9375rem;
  color: var(--muted);
  line-height: 1.65;
}

/* ---------------------------- About page -------------------------------- */

.split {
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  gap: 64px;
  align-items: center;
}

.split__media {
  margin: 0;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 32px 60px -34px rgba(16, 43, 78, 0.5);
}

.split__media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.split p + p {
  margin-top: 18px;
}

.split p {
  color: var(--muted);
  font-size: 1.0313rem;
  line-height: 1.75;
}

.split .btn {
  margin-top: 30px;
}

.check-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 28px;
  margin-top: 30px;
}

.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.9688rem;
  color: var(--ink);
}

.check-list .icon {
  color: var(--blue);
  font-size: 1.2rem;
  margin-top: 2px;
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px 40px;
  margin-top: 34px;
}

.info-grid dt {
  font-family: var(--font-head);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #8ec8f2;
  margin-bottom: 6px;
}

.info-grid dd {
  margin: 0;
  font-size: 0.9688rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.85);
}

.info-grid a {
  color: var(--white);
}

.info-grid a:hover {
  color: var(--bright);
}

.band-navy {
  background: var(--navy);
  color: var(--white);
}

.band-navy__grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 56px;
  align-items: center;
}

.band-navy__title {
  font-size: clamp(1.6rem, 2.6vw, 2.2rem);
  color: var(--white);
}

.band-navy p {
  margin-top: 18px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 1rem;
}

.badge-card {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.05);
}

.badge-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  flex: none;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.08);
  color: #8ec8f2;
}

.badge-card__icon .icon {
  font-size: 1.5rem;
}

.badge-card__label {
  font-family: var(--font-head);
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #8ec8f2;
}

.badge-card__value {
  margin-top: 6px;
  font-family: var(--font-head);
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--white);
}

.badge-card p {
  margin-top: 10px;
  font-size: 0.9375rem;
  color: rgba(255, 255, 255, 0.72);
}

.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
}

.footer__bottom-links {
  display: flex;
  gap: 20px;
}

.footer__bottom-links a {
  color: rgba(255, 255, 255, 0.6);
}

.footer__bottom-links a:hover {
  color: var(--bright);
}

@media (max-width: 960px) {
  .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .split,
  .band-navy__grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .split__media {
    order: -1;
  }

  .steps {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .page-hero {
    padding: 60px 0 56px;
  }
}

@media (max-width: 720px) {
  .category-row {
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 16px;
  }

  .category-row__thumb {
    width: 76px;
    height: 76px;
    border-radius: 10px;
  }

  .category-row__body {
    flex: 1 1 60%;
  }

  .category-row__link {
    margin-left: 92px;
  }

  .check-list,
  .info-grid {
    grid-template-columns: 1fr;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .badge-card {
    padding: 22px;
  }
}
.gallery-card { margin: 0; }

.steps--four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

@media (max-width: 960px) {
  .steps--four {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  .steps--four {
    grid-template-columns: 1fr;
  }
}
