/* ==========================================================================
   UNIFOAM — Design system
   Tokens extracted verbatim from the original Elementor kit + Outgrid theme.
   ========================================================================== */

:root {
  /* System colours (Elementor global kit) */
  --primary:   #2548DE;
  --secondary: #1E3AB2;
  --accent:    #FFBC0D;
  --headline:  #020617;
  --body:      #475569;
  --dark:      #070E2C;
  --light:     #E9EDFC;
  --white:     #FFFFFF;

  --hairline:  #E2E8F0;
  --tint:      #2548DE21;

  /* Type */
  --font-display: 'Poppins', system-ui, sans-serif;
  --font-body:    'Inter', system-ui, sans-serif;

  /* Layout */
  --container: 1216px;
  --gutter: 24px;
  --header-h: 100px;

  /* Motion */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

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

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.75;
  color: var(--body);
  background: var(--white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img, video, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }

/* ---------- Type scale (from theme options h1/h2) ---------- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--headline);
}

h1 {
  font-size: 92px;
  line-height: 1;
  letter-spacing: -0.05em;
  text-transform: capitalize;
}

h2 {
  font-size: 64px;
  line-height: 1.12;
  letter-spacing: -0.05em;
}

h3 { font-size: 28px; line-height: 1.2;  letter-spacing: -0.03em; }
h4 { font-size: 22px; line-height: 1.35; letter-spacing: -0.02em; }
h5 { font-size: 18px; line-height: 1.4; }

@media (max-width: 1024px) {
  h1 { font-size: 64px; }
  h2 { font-size: 40px; }
  h3 { font-size: 24px; }
}
@media (max-width: 767px) {
  h1 { font-size: 48px; }
  h2 { font-size: 30px; }
  h3 { font-size: 21px; }
}

p { margin-bottom: 1em; }
p:last-child { margin-bottom: 0; }

/* ---------- Layout ---------- */
.container {
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding-block: 120px; }
.section--tight { padding-block: 80px; }
.section--flush-top { padding-top: 0; }

@media (max-width: 1024px) { .section { padding-block: 88px; } }
@media (max-width: 767px)  { .section { padding-block: 64px; } .section--tight { padding-block: 48px; } }

.section--light { background: var(--light); }
.section--dark  { background: var(--dark); color: rgba(255,255,255,.72); }
.section--dark h1, .section--dark h2, .section--dark h3, .section--dark h4 { color: var(--white); }

/* ---------- Eyebrow ---------- */
.eyebrow {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 18px;
  display: block;
}
.section--dark .eyebrow { color: var(--accent); }

.lede { font-size: 18px; line-height: 1.75; max-width: 62ch; }

/* ---------- Buttons (radius 100, padding 18/26) ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 18px 26px;
  border-radius: 100px;
  border: 0;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  line-height: 1;
  background: var(--primary);
  color: var(--white);
  transition: background .35s var(--ease), transform .35s var(--ease), box-shadow .35s var(--ease);
  will-change: transform;
}
.btn:hover {
  background: var(--secondary);
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(37,72,222,.28);
}
.btn:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }

.btn--ghost {
  background: transparent;
  color: var(--headline);
  box-shadow: inset 0 0 0 1.5px var(--hairline);
}
.btn--ghost:hover {
  background: transparent;
  color: var(--primary);
  box-shadow: inset 0 0 0 1.5px var(--primary);
}

.btn--light { background: var(--white); color: var(--primary); }
.btn--light:hover { background: var(--light); color: var(--secondary); }

.btn--wa { background: #25D366; }
.btn--wa:hover { background: #1da851; box-shadow: 0 12px 28px rgba(37,211,102,.3); }

.btn__arrow { transition: transform .35s var(--ease); }
.btn:hover .btn__arrow { transform: translateX(4px); }

/* ---------- Header ---------- */
.header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  padding-block: 15px;
  background: transparent;
  transition: background .4s var(--ease), box-shadow .4s var(--ease), padding .4s var(--ease);
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
.header__logo img { height: 70px; width: auto; transition: height .4s var(--ease); }

.header.is-solid {
  background: var(--white);
  box-shadow: 0 1px 0 var(--hairline);
}
.header.is-solid .header__logo img { height: 56px; }

/* transparent-state colours (header_transparent_color: m=White, h=Primary) */
.header:not(.is-solid) .nav__link { color: var(--white); }
.header:not(.is-solid) .nav__link:hover { color: var(--white); }
.header:not(.is-solid) .nav__link::after { background: var(--white); }
.header:not(.is-solid) .header__logo img { filter: brightness(0) invert(1); }
.header:not(.is-solid) .burger span { background: var(--white); }

.nav { display: flex; align-items: center; gap: 25px; }
.nav__link {
  position: relative;
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.1;
  color: var(--headline);
  padding-block: 6px;
  transition: color .3s var(--ease);
}
.nav__link::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 2px;
  background: var(--primary);
  transition: width .35s var(--ease);
}
.nav__link:hover, .nav__link.is-active { color: var(--primary); }
.nav__link:hover::after, .nav__link.is-active::after { width: 100%; }

.header__cta { margin-left: 8px; }

/* Burger */
.burger { display: none; width: 44px; height: 44px; position: relative; z-index: 110; }
.burger span {
  position: absolute; left: 11px; width: 22px; height: 2px;
  background: var(--headline); transition: transform .35s var(--ease), opacity .25s;
}
.burger span:nth-child(1) { top: 16px; }
.burger span:nth-child(2) { top: 22px; }
.burger span:nth-child(3) { top: 28px; }
.burger.is-open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.burger.is-open span:nth-child(2) { opacity: 0; }
.burger.is-open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 1024px) {
  .burger { display: block; }
  .header__logo img, .header.is-solid .header__logo img { height: 32px; }
  .header__cta { display: none; }
  .nav {
    position: fixed;
    inset: 0;
    flex-direction: column;
    justify-content: center;
    gap: 8px;
    background: var(--white);
    transform: translateY(-100%);
    transition: transform .5s var(--ease);
  }
  .nav.is-open { transform: translateY(0); }
  .nav__link { font-size: 18px; color: var(--headline) !important; padding-block: 14px; }
  .nav__link::after { display: none; }
  .header:not(.is-solid) .burger.is-open span { background: var(--headline); }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  height: 100svh;
  min-height: 620px;
  overflow: hidden;
  background: var(--dark);
}
.hero__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
}
.hero__slide.is-active { opacity: 1; visibility: visible; }

.hero__media { position: absolute; inset: 0; overflow: hidden; }
.hero__media img, .hero__media video {
  width: 100%; height: 100%;
  object-fit: cover;
  will-change: transform;
}
.hero__slide::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(7,14,44,.55) 0%, rgba(7,14,44,.28) 45%, rgba(7,14,44,.75) 100%);
}

.hero__inner {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.hero__eyebrow {
  font-size: 13px; font-weight: 700; letter-spacing: .2em;
  text-transform: uppercase; color: var(--white); opacity: .82;
  margin-bottom: 22px;
}
.hero__eyebrow b { color: var(--accent); font-weight: 700; }

.hero__title {
  color: var(--white);
  max-width: 15ch;
  margin-bottom: 34px;
}
.hero__title .line { display: block; overflow: hidden; }
.hero__title .line > span { display: block; }

.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }

/* hero UI */
.hero__ui {
  position: absolute;
  left: 0; right: 0; bottom: 40px;
  z-index: 3;
}
.hero__ui-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }

.hero__dots { display: flex; gap: 10px; }
.hero__dot {
  width: 34px; height: 3px;
  background: rgba(255,255,255,.32);
  position: relative; overflow: hidden;
  border-radius: 2px;
}
.hero__dot i {
  position: absolute; inset: 0;
  background: var(--white);
  transform: scaleX(0); transform-origin: left;
}
.hero__dot.is-active i { transform: scaleX(1); }

.hero__count {
  font-family: var(--font-display);
  font-size: 14px; font-weight: 700; letter-spacing: .1em;
  color: var(--white);
}
.hero__count b { color: var(--accent); }
.hero__count span { opacity: .5; }

.hero__scroll {
  position: absolute; left: 50%; bottom: 40px;
  transform: translateX(-50%);
  z-index: 3;
  color: var(--white); opacity: .7;
  font-size: 11px; letter-spacing: .2em; text-transform: uppercase;
  display: flex; flex-direction: column; align-items: center; gap: 8px;
}
.hero__scroll i {
  width: 1px; height: 34px;
  background: linear-gradient(var(--white), transparent);
}
@media (max-width: 767px) { .hero__scroll { display: none; } }

/* ---------- Icon boxes ---------- */
.iconbox {
  position: relative;
  background: var(--white);
  padding: 56px 32px;
  border-top: 4px solid transparent;
  box-shadow: 0 0 0 1px var(--hairline);
  transition: transform .4s var(--ease), border-color .4s var(--ease), box-shadow .4s var(--ease);
  height: 100%;
}
.iconbox:hover {
  transform: translateY(-14px);
  border-top-color: var(--primary);
  box-shadow: 0 4px 16px rgba(84,87,109,.09);
}
.iconbox__icon {
  width: 72px; height: 72px;
  display: grid; place-items: center;
  margin-bottom: 24px;
  font-size: 24px;
  color: var(--primary);
  background: linear-gradient(135deg, var(--tint) 0%, var(--white) 100%);
  /* organic blob radius — taken from the original icon_radius_advanced */
  border-radius: 75% 25% 43% 57% / 46% 29% 71% 54%;
  transition: border-radius .6s var(--ease), transform .6s var(--ease);
}
.iconbox:hover .iconbox__icon {
  border-radius: 43% 57% 75% 25% / 71% 54% 46% 29%;
  transform: rotate(-6deg);
}
.iconbox h3 { margin-bottom: 20px; }
.iconbox p { font-size: 15px; line-height: 1.8; }

.iconbox__badge {
  position: absolute; top: 20px; right: 20px;
  font-size: 10px; font-weight: 700; letter-spacing: .14em;
  padding: 6px 12px; border-radius: 100px;
  background: var(--accent); color: var(--headline);
}

@media (max-width: 767px) { .iconbox { padding: 32px 20px; } }

/* ---------- Grids ---------- */
.grid { display: grid; gap: 32px; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 1024px) { .grid--3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 767px)  { .grid--3, .grid--2 { grid-template-columns: 1fr; } }

/* ---------- Split (alternating text/image) ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}
.split + .split { margin-top: 120px; }
.split--flip .split__media { order: -1; }

.split__media {
  position: relative;
  overflow: hidden;
  border-radius: 4px;
}
.split__media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  will-change: transform;
}

@media (max-width: 1024px) { .split { gap: 40px; } .split + .split { margin-top: 72px; } }
@media (max-width: 767px)  {
  .split { grid-template-columns: 1fr; gap: 32px; }
  .split--flip .split__media { order: 0; }
  .split + .split { margin-top: 56px; }
}

.split__body h2 { margin-bottom: 22px; }
.split__body p  { margin-bottom: 26px; }

/* ---------- Products ---------- */
.product {
  display: flex;
  flex-direction: column;
  background: var(--white);
  box-shadow: 0 0 0 1px var(--hairline);
  transition: transform .45s var(--ease), box-shadow .45s var(--ease);
  height: 100%;
}
.product:hover {
  transform: translateY(-10px);
  box-shadow: 0 18px 44px rgba(7,14,44,.10);
}
.product__media {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--light);
}
.product__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .8s var(--ease);
}
.product:hover .product__media img { transform: scale(1.06); }

.product__body { padding: 28px; display: flex; flex-direction: column; flex: 1; }
.product__name { margin-bottom: 12px; }
.product__desc { font-size: 15px; line-height: 1.75; margin-bottom: 20px; }

.product__specs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.product__spec {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 12px; font-weight: 600;
  padding: 7px 13px; border-radius: 100px;
  background: var(--light); color: var(--secondary);
}
.product__spec svg { width: 13px; height: 13px; }

.product__meta {
  font-size: 12px;
  letter-spacing: .02em;
  color: var(--body);
  padding-top: 16px;
  margin-bottom: 22px;
  border-top: 1px solid var(--hairline);
}

.product__actions { display: flex; gap: 10px; margin-top: auto; }
.product__actions .btn { flex: 1; justify-content: center; padding: 14px 18px; font-size: 14px; }

/* ---------- Testimonials ---------- */
.quote {
  background: var(--white);
  padding: 34px;
  box-shadow: 0 0 0 1px var(--hairline);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.quote:hover { transform: translateY(-8px); box-shadow: 0 16px 40px rgba(7,14,44,.08); }
.quote__title {
  font-family: var(--font-display);
  font-size: 22px; line-height: 1.35;
  font-weight: 500;
  margin-bottom: 18px;
}
/* highlighted-text widget: highlighted run is 700 + italic + primary */
.quote__title em { font-style: italic; font-weight: 700; color: var(--primary); }
.quote__text { font-size: 15px; line-height: 1.8; margin-bottom: 20px; }
.quote__stars { display: flex; gap: 4px; color: var(--accent); }
.quote__stars svg { width: 17px; height: 17px; }

/* ---------- Timeline / feature list ---------- */
.tl { display: grid; gap: 4px; }
.tl__item {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 20px;
  padding: 22px 0;
  border-bottom: 1px solid var(--hairline);
}
.tl__item:last-child { border-bottom: 0; }
.tl__icon {
  width: 44px; height: 44px;
  display: grid; place-items: center;
  border-radius: 75% 25% 43% 57% / 46% 29% 71% 54%;
  background: var(--tint);
  color: var(--primary);
  font-size: 15px;
}
.tl__title { font-family: var(--font-display); font-size: 17px; font-weight: 700; color: var(--headline); margin-bottom: 6px; }
.tl__text  { font-size: 15px; line-height: 1.75; }

/* ---------- Accordion ---------- */
.acc { border-top: 1px solid var(--hairline); }
.acc__item { border-bottom: 1px solid var(--hairline); }
.acc__head {
  width: 100%;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 26px 0;
  text-align: left;
  font-family: var(--font-display);
  font-size: 19px; font-weight: 700; line-height: 1.4;
  color: var(--headline);
  transition: color .3s var(--ease);
}
.acc__head:hover { color: var(--primary); }
.acc__icon {
  flex: 0 0 auto;
  width: 34px; height: 34px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--light); color: var(--primary);
  transition: transform .45s var(--ease), background .3s, color .3s;
}
.acc__item.is-open .acc__icon { transform: rotate(45deg); background: var(--primary); color: var(--white); }
.acc__panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .5s var(--ease); }
.acc__item.is-open .acc__panel { grid-template-rows: 1fr; }
.acc__panel > div { overflow: hidden; }
.acc__panel p { padding-bottom: 26px; font-size: 15.5px; line-height: 1.85; max-width: 78ch; }

@media (max-width: 767px) { .acc__head { font-size: 16px; padding: 20px 0; } }

/* ---------- Contact cards ---------- */
.office {
  background: var(--white);
  padding: 36px 30px;
  box-shadow: 0 0 0 1px var(--hairline);
  border-top: 4px solid transparent;
  transition: transform .4s var(--ease), border-color .4s var(--ease), box-shadow .4s var(--ease);
  height: 100%;
}
.office:hover { transform: translateY(-10px); border-top-color: var(--primary); box-shadow: 0 16px 40px rgba(7,14,44,.09); }
.office__city { font-family: var(--font-display); font-size: 19px; font-weight: 700; color: var(--headline); line-height: 1.25; margin-bottom: 8px; }
.office__legal { font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--primary); margin-bottom: 22px; }
.office__list { display: grid; gap: 14px; }
.office__row { display: grid; grid-template-columns: 20px 1fr; gap: 12px; align-items: start; font-size: 14.5px; line-height: 1.6; }
.office__row svg { width: 16px; height: 16px; color: var(--primary); margin-top: 4px; }
.office__row a:hover { color: var(--primary); }

/* ---------- Form ---------- */
.form { display: grid; gap: 18px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 767px) { .form__row { grid-template-columns: 1fr; } }
.field { display: grid; gap: 8px; }
.field label { font-size: 13px; font-weight: 600; color: var(--headline); }
.field input, .field select, .field textarea {
  font: inherit;
  font-size: 15px;
  padding: 15px 18px;
  border: 1.5px solid var(--hairline);
  border-radius: 8px;
  background: var(--white);
  color: var(--headline);
  transition: border-color .3s var(--ease), box-shadow .3s var(--ease);
}
.field textarea { resize: vertical; min-height: 130px; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 4px var(--tint);
}
.form__note { font-size: 13px; }

/* ---------- Map ---------- */
.map { width: 100%; aspect-ratio: 21 / 8; border: 0; filter: grayscale(1) contrast(1.05); transition: filter .6s var(--ease); }
.map:hover { filter: grayscale(0); }
@media (max-width: 767px) { .map { aspect-ratio: 4 / 3; } }

/* ---------- CTA band ---------- */
.cta {
  position: relative;
  overflow: hidden;
  background: var(--primary);
  color: rgba(255,255,255,.85);
  text-align: center;
  padding-block: 110px;
}
.cta h2 { color: var(--white); margin-bottom: 20px; }
.cta p { max-width: 58ch; margin-inline: auto; margin-bottom: 34px; }
.cta__actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.cta__blob {
  position: absolute;
  width: 620px; height: 620px;
  border-radius: 75% 25% 43% 57% / 46% 29% 71% 54%;
  background: rgba(255,255,255,.06);
  pointer-events: none;
}
.cta__blob--a { top: -280px; left: -180px; }
.cta__blob--b { bottom: -320px; right: -200px; }

/* ---------- Footer ---------- */
.footer { background: var(--dark); color: rgba(255,255,255,.62); padding-block: 84px 0; }
.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 48px;
  padding-bottom: 56px;
}
@media (max-width: 1024px) { .footer__grid { grid-template-columns: 1fr 1fr; gap: 40px; } }
@media (max-width: 767px)  { .footer__grid { grid-template-columns: 1fr; gap: 34px; } }

.footer__logo img { height: 52px; filter: brightness(0) invert(1); margin-bottom: 20px; }
.footer p, .footer li, .footer a { font-size: 16px; line-height: 1.875; }
.footer h4 {
  font-family: var(--font-display);
  font-size: 16px; font-weight: 700; line-height: 1.2;
  color: var(--white);
  margin-bottom: 18px;
}
.footer a { transition: color .3s var(--ease); }
.footer a:hover { color: var(--white); }
.footer__list { display: grid; gap: 6px; }

.social { display: flex; gap: 10px; margin-top: 22px; }
.social a {
  width: 40px; height: 40px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: rgba(255,255,255,.08);
  color: var(--white);
  transition: background .3s var(--ease), transform .3s var(--ease);
}
.social a:hover { background: var(--primary); transform: translateY(-3px); }
.social svg { width: 17px; height: 17px; }

.footer__bottom {
  display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap;
  padding-block: 26px;
  border-top: 1px solid rgba(255,255,255,.09);
  font-size: 14px;
}

/* ---------- Page hero (inner pages) ---------- */
.pagehero {
  position: relative;
  padding-top: calc(var(--header-h) + 90px);
  padding-bottom: 90px;
  background: var(--dark);
  color: rgba(255,255,255,.75);
  overflow: hidden;
}
.pagehero::after {
  content: '';
  position: absolute;
  width: 720px; height: 720px;
  top: -300px; right: -220px;
  border-radius: 75% 25% 43% 57% / 46% 29% 71% 54%;
  background: rgba(37,72,222,.28);
  pointer-events: none;
}
.pagehero__inner { position: relative; z-index: 1; }
.pagehero h1 { color: var(--white); max-width: 18ch; margin-bottom: 20px; }
.pagehero .lede { color: rgba(255,255,255,.75); }
.pagehero .eyebrow { color: var(--accent); }

.crumbs { font-size: 13px; color: rgba(255,255,255,.5); margin-bottom: 22px; }
.crumbs a:hover { color: var(--white); }

/* ---------- Lightbox ---------- */
.lightbox {
  position: relative;
  overflow: hidden;
  cursor: pointer;
  border-radius: 4px;
}
.lightbox img { width: 100%; aspect-ratio: 4/3; object-fit: cover; transition: transform .8s var(--ease); }
.lightbox:hover img { transform: scale(1.05); }
.lightbox__play {
  position: absolute; inset: 0;
  display: grid; place-items: center;
}
.lightbox__play i {
  width: 78px; height: 78px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--white);
  color: var(--primary);
  transition: transform .4s var(--ease);
}
.lightbox:hover .lightbox__play i { transform: scale(1.1); }
.lightbox__play svg { width: 24px; height: 24px; margin-left: 3px; }

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
@media (max-width: 767px) { .stats { grid-template-columns: repeat(2, 1fr); } }
.stat__num {
  font-family: var(--font-display);
  font-size: 56px; font-weight: 700; line-height: 1;
  letter-spacing: -.04em;
  color: var(--primary);
  margin-bottom: 8px;
}
.section--dark .stat__num { color: var(--accent); }
.stat__label { font-size: 14px; }
@media (max-width: 767px) { .stat__num { font-size: 38px; } }

/* ---------- Reveal (JS-driven) ---------- */
[data-reveal] { opacity: 0; }
.no-js [data-reveal], .reduce-motion [data-reveal] { opacity: 1 !important; transform: none !important; }

/* ---------- Accessibility ---------- */
.skip {
  position: absolute; left: -9999px;
  top: 12px; z-index: 200;
  padding: 12px 20px; border-radius: 100px;
  background: var(--primary); color: var(--white);
}
.skip:focus { left: 24px; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ==========================================================================
   Components recovered from the original layout
   ========================================================================== */

/* ---------- Full-bleed image banner (sits above Key Value Proposition) ----
   Elementor: bg cover / center center, padding 150px, margin-top 50px       */
.banner {
  margin-top: 50px;
  padding-block: 150px;
  background-image: url('../img/site/banner-quality.webp');
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
}
@media (max-width: 1024px) { .banner { padding-block: 80px; margin-top: 32px; } }
@media (max-width: 767px)  { .banner { padding-block: 48px; margin-top: 24px; } }

/* ---------- Decorative section backgrounds ---------- */
.section--deco-intro {
  padding-top: 220px;
  background-image: url('../img/site/deco-intro.webp');
  background-repeat: no-repeat;
  background-size: 550px auto;
  background-position: top right;
}
@media (max-width: 1024px) { .section--deco-intro { padding-top: 160px; background-size: 44vw auto; } }
@media (max-width: 767px)  { .section--deco-intro { padding-top: 100px; background-size: 80vw auto; } }

.section--deco-process {
  background-image: url('../img/site/deco-process.webp');
  background-repeat: no-repeat;
  background-size: 500px auto;
  background-position: bottom right;
}
@media (max-width: 1024px) { .section--deco-process { background-size: 44vw auto; } }

/* ---------- Behind the scenes: video band ----------
   Elementor: min-height 520/360/220, gradient overlay transparent→#000 @70% */
.vband {
  position: relative;
  min-height: 520px;
  margin: 0 10px 64px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
}
.vband__media { position: absolute; inset: 0; }
.vband__media video,
.vband__media img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.vband::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0) 50%, rgba(0,0,0,.7) 100%);
  pointer-events: none;
}
.vband__ui {
  position: relative;
  z-index: 2;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 28px;
}
.vband__label {
  font-size: 12px; font-weight: 600; letter-spacing: .16em;
  text-transform: uppercase; color: rgba(255,255,255,.85);
}
.vband__toggle {
  width: 52px; height: 52px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: rgba(255,255,255,.15);
  backdrop-filter: blur(6px);
  color: #fff;
  transition: background .3s var(--ease), transform .3s var(--ease);
}
.vband__toggle:hover { background: var(--primary); transform: scale(1.08); }
.vband__toggle svg { width: 18px; height: 18px; }

@media (max-width: 1024px) { .vband { min-height: 360px; } }
@media (max-width: 767px)  { .vband { min-height: 220px; margin-bottom: 40px; } .vband__ui { padding: 18px; } }

/* ---------- Footer banner: "Experience Excellence with Our Services!" ---- */
.fbanner {
  position: relative;
  background: var(--primary) url('../img/site/footer-bg.webp') no-repeat right bottom;
  background-size: contain;
  color: rgba(255,255,255,.9);
  overflow: hidden;
}
.fbanner__inner {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 40px;
  align-items: end;
}
.fbanner__person {
  align-self: end;
  margin-bottom: -1px;
}
.fbanner__person img {
  display: block;
  width: 100%;
  max-width: 380px;
  height: auto;
}
.fbanner__body { padding-block: 80px; max-width: 60ch; }
.fbanner h2 { color: var(--white); margin-bottom: 18px; }
.fbanner p  { margin-bottom: 30px; }

@media (max-width: 1024px) {
  .fbanner__inner { grid-template-columns: 260px 1fr; gap: 24px; }
  .fbanner__body { padding-block: 56px; }
}
@media (max-width: 767px) {
  .fbanner { background-size: cover; }
  .fbanner__inner { grid-template-columns: 1fr; gap: 0; }
  .fbanner__person { display: none; }
  .fbanner__body { padding-block: 56px; }
}

/* ---------- Floating WhatsApp button ---------- */
.wa-float {
  position: fixed;
  right: 22px; bottom: 22px;
  z-index: 90;
  display: flex;
  align-items: center;
  gap: 0;
  height: 58px;
  padding: 0 19px;
  border-radius: 100px;
  background: #25D366;
  color: #fff;
  box-shadow: 0 10px 30px rgba(37,211,102,.38);
  transition: gap .35s var(--ease), padding .35s var(--ease),
              transform .35s var(--ease), box-shadow .35s var(--ease);
  will-change: transform;
}
.wa-float svg { width: 26px; height: 26px; flex: 0 0 auto; }
.wa-float span {
  max-width: 0;
  overflow: hidden;
  white-space: nowrap;
  font-size: 15px;
  font-weight: 600;
  transition: max-width .45s var(--ease);
}
.wa-float:hover,
.wa-float:focus-visible {
  gap: 10px;
  padding-right: 24px;
  transform: translateY(-3px);
  box-shadow: 0 14px 36px rgba(37,211,102,.5);
}
.wa-float:hover span,
.wa-float:focus-visible span { max-width: 190px; }
.wa-float:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }

/* gentle attention pulse, once the user has scrolled a little */
.wa-float::before {
  content: '';
  position: absolute; inset: 0;
  border-radius: 100px;
  border: 2px solid #25D366;
  opacity: 0;
  pointer-events: none;
}
.wa-float.is-ready::before { animation: waPulse 2.6s ease-out infinite; }
@keyframes waPulse {
  0%   { transform: scale(1);    opacity: .55; }
  70%  { transform: scale(1.35); opacity: 0; }
  100% { transform: scale(1.35); opacity: 0; }
}
.wa-float:hover::before { animation: none; }

@media (max-width: 767px) {
  .wa-float { right: 16px; bottom: 16px; height: 54px; padding: 0 16px; }
  .wa-float:hover span, .wa-float:focus-visible span { max-width: 0; }
  .wa-float:hover { gap: 0; padding-right: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  .wa-float.is-ready::before { animation: none; }
}
