:root {
  --ink: #1d1d1b;
  --muted: #878787;
  --line: #e6e9ef;
  --paper: #ffffff;
  --soft: #f7f7f3;
  --navy: #1d1d1b;
  --red: #F4a606;
  --red-dark: #d99200;
  --gold: #F4a606;
  --green: #0f766e;
  --shadow: 0 20px 50px rgba(16, 28, 54, .16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: #f3f0ea;
  font-family: "Public Sans", Arial, sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}

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

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

.container {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
}

.topbar {
  background: var(--navy);
  color: #f4f0e8;
  font-size: 14px;
}

.topbar__inner {
  min-height: 42px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(246, 243, 237, .94);
  border-bottom: 1px solid rgba(29, 29, 27, .08);
  backdrop-filter: blur(14px);
  transition: box-shadow .25s ease, background .25s ease;
}

.site-header.is-scrolled {
  box-shadow: 0 12px 30px rgba(16, 28, 54, .08);
}

.nav {
  min-height: 94px;
  display: flex;
  align-items: center;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: "Yantramanav", Arial, sans-serif;
  font-size: 30px;
  font-weight: 900;
  color: var(--navy);
}

.brand__logo {
  width: auto;
  height: 64px;
  object-fit: contain;
  transition: transform .25s ease;
}

.brand__mark {
  width: 44px;
  height: 44px;
  display: inline-grid;
  place-items: center;
  background: var(--red);
  color: #fff;
  font: 800 16px/1 "Public Sans", Arial, sans-serif;
  transition: transform .3s ease;
}

.brand:hover .brand__mark {
  transform: rotate(-4deg) scale(1.04);
}

.brand:hover .brand__logo {
  transform: scale(1.02);
}

.nav__links {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 30px;
  color: var(--navy);
  font-weight: 700;
}

.nav-backdrop {
  display: none;
}

.mobile-drawer {
  display: none;
}

.nav__links a {
  position: relative;
  transition: color .2s ease;
}

.nav__links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -8px;
  height: 3px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .25s ease;
}

.nav__links a:hover {
  color: var(--red);
}

.nav__links a:hover::after {
  transform: scaleX(1);
}

.nav__cta,
.button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  padding: 0 24px;
  font-weight: 800;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: transform .2s ease, background .2s ease, color .2s ease, box-shadow .2s ease;
}

.nav__cta::after,
.button::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .32), transparent);
  transform: translateX(-120%);
  transition: transform .55s ease;
}

.nav__cta:hover::after,
.button:hover::after {
  transform: translateX(120%);
}

.nav__cta,
.button--primary {
  background: var(--red);
  color: var(--navy);
}

.nav__cta:hover,
.button--primary:hover {
  background: var(--red-dark);
  transform: translateY(-2px);
}

.button:disabled {
  cursor: wait;
  opacity: .72;
  transform: none;
}

.button--ghost {
  color: var(--navy);
  border: 1px solid rgba(29, 29, 27, .2);
  background: rgba(255, 255, 255, .56);
}

.button--ghost:hover {
  background: var(--navy);
  border-color: var(--navy);
  color: #fff;
}

.nav__cta {
  clip-path: polygon(10% 0, 100% 0, 90% 100%, 0% 100%);
  padding: 0 34px;
}

.nav__cta:hover,
.button--primary:hover {
  color: var(--navy);
}

.nav__toggle {
  display: none;
  width: 46px;
  height: 42px;
  border: 1px solid var(--line);
  background: #fff;
  padding: 9px;
}

.nav__toggle span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: var(--navy);
}

.hero {
  position: relative;
  min-height: 760px;
  display: flex;
  align-items: center;
  overflow: hidden;
  color: var(--navy);
  background:
    radial-gradient(circle at 20% 15%, rgba(255, 255, 255, .82), transparent 34%),
    linear-gradient(90deg, #f7f4ee 0%, #f7f4ee 56%, #e8e1d6 100%);
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  z-index: 1;
  pointer-events: none;
}

.hero::before {
  left: 0;
  bottom: 0;
  width: min(500px, 46vw);
  height: 205px;
  background: var(--gold);
  clip-path: polygon(0 24%, 70% 0, 100% 100%, 0 100%);
}

.hero::after {
  right: 0;
  bottom: 0;
  width: 58vw;
  height: 190px;
  background: var(--navy);
  clip-path: polygon(10% 52%, 100% 0, 100% 100%, 0 100%);
}

.hero__media {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(55vw, 820px);
}

.hero__media {
  background-image: linear-gradient(90deg, rgba(247, 244, 238, .95), rgba(247, 244, 238, .22) 28%, rgba(247, 244, 238, 0) 48%), url("imagen_hero.jpg");
  background-position: center right;
  background-size: cover;
  transform: scale(1.03);
  animation: heroZoom 16s ease-in-out infinite alternate;
}

.hero__content {
  position: relative;
  z-index: 3;
  padding: 105px 0 180px;
}

.hero__content .eyebrow,
.hero__content h1,
.hero__copy,
.hero__actions {
  animation: heroRise .8s ease both;
}

.hero__content h1 {
  animation-delay: .12s;
}

.hero__copy {
  animation-delay: .24s;
}

.hero__actions {
  animation-delay: .36s;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--red);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: 14px;
}

.hero .eyebrow {
  color: var(--gold);
}

h1,
h2,
h3 {
  font-family: "Yantramanav", Arial, sans-serif;
  line-height: .98;
  margin: 0;
}

h1 {
  max-width: 820px;
  font-size: clamp(52px, 6vw, 78px);
  letter-spacing: 0;
}

.hero__copy {
  max-width: 620px;
  margin: 24px 0 34px;
  color: #383835;
  font-size: 19px;
}

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

.hero__card {
  position: absolute;
  right: max(24px, calc((100% - 1160px) / 2));
  bottom: 42px;
  z-index: 3;
  width: min(430px, calc(100% - 40px));
  background: #fff;
  color: var(--ink);
  box-shadow: var(--shadow);
  padding: 24px;
  animation: cardFloatIn .9s .45s ease both, cardFloat 4.8s 1.4s ease-in-out infinite;
}

.hero__card p {
  margin: 0 0 10px;
  font: 800 24px/1 "Yantramanav", Arial, sans-serif;
}

.hero__card label {
  display: block;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.hero__card form div {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
}

input,
textarea {
  width: 100%;
  min-height: 48px;
  border: 1px solid rgba(29, 29, 27, .14);
  padding: 13px 15px;
  color: var(--ink);
  background: #fbfaf7;
  font: inherit;
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

input:focus,
textarea:focus {
  border-color: rgba(244, 166, 6, .75);
  box-shadow: 0 0 0 4px rgba(244, 166, 6, .14);
  outline: 0;
}

textarea {
  resize: vertical;
}

.hero__card button,
.contact__form button {
  border: 0;
  background: var(--navy);
  color: #fff;
  padding: 0 18px;
  font-weight: 800;
  transition: background .2s ease, transform .2s ease;
}

.hero__card button:hover,
.contact__form button:hover {
  background: var(--red);
  transform: translateY(-2px);
}

.feature-strip {
  background: #f7f4ee;
  color: #fff;
  position: relative;
  z-index: 2;
}

.feature-strip__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  transform: translateY(-46px);
  box-shadow: 0 24px 50px rgba(29, 29, 27, .12);
}

.feature-strip article {
  min-height: 170px;
  padding: 32px;
  background: var(--navy);
  border-right: 1px solid rgba(255, 255, 255, .14);
  transition: background .25s ease, transform .25s ease;
}

.feature-strip article:hover {
  background: #292925;
  transform: translateY(-6px);
}

.feature-strip article:last-child {
  border-right: 0;
}

.icon {
  display: inline-flex;
  color: var(--gold);
  font-weight: 900;
  margin-bottom: 12px;
}

.feature-strip h2,
.service-card h3,
.clients h3 {
  font-size: 28px;
}

.feature-strip p,
.service-card p,
.clients p {
  margin: 10px 0 0;
}

.section {
  padding: 95px 0;
}

.split__grid,
.contact__grid,
.cta__grid {
  display: grid;
  grid-template-columns: .95fr 1.05fr;
  align-items: center;
  gap: 70px;
}

.split__image {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.split__image::after {
  content: "";
  position: absolute;
  right: -22px;
  bottom: -22px;
  width: 45%;
  height: 44%;
  background: var(--gold);
  z-index: -1;
  clip-path: polygon(0 20%, 100% 0, 86% 100%, 0 100%);
}

.split__image img,
.service-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform .5s ease;
}

.split__image:hover img,
.service-card:hover img {
  transform: scale(1.055);
}

.service-card {
  overflow: hidden;
}

.split__content h2,
.section__intro h2,
.cta h2,
.contact h2 {
  font-size: clamp(38px, 5vw, 58px);
  color: var(--navy);
}

.split__content p,
.contact p {
  color: var(--muted);
  font-size: 17px;
}

.checks {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin: 28px 0;
}

.checks span {
  padding-left: 28px;
  color: var(--navy);
  font-weight: 800;
  position: relative;
}

.checks span::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 13px;
  height: 13px;
  background: var(--red);
  transition: transform .25s ease;
}

.checks span:hover::before {
  transform: rotate(45deg) scale(1.08);
}

.text-link {
  color: var(--red);
  font-weight: 900;
}

.services,
.clients {
  background: #f7f4ee;
}

.section__intro {
  max-width: 720px;
  margin-bottom: 42px;
}

.services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.products-slider-dots {
  display: none;
}

.service-card {
  background: #fff;
  border: 1px solid var(--line);
  min-height: 440px;
  display: grid;
  grid-template-rows: auto 1fr;
  box-shadow: 0 10px 24px rgba(16, 28, 54, .06);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
  clip-path: polygon(0 0, 100% 0, 100% 92%, 88% 100%, 0 100%);
}

.service-card > img {
  aspect-ratio: 4 / 3;
  height: auto;
}

.service-card:hover {
  border-color: rgba(244, 166, 6, .34);
  box-shadow: 0 22px 46px rgba(16, 28, 54, .14);
  transform: translateY(-10px);
}

.service-card div {
  padding: 28px;
}

.service-card--accent {
  background: var(--navy);
  color: #fff;
}

.service-card--accent p {
  color: #c8d3e7;
}

.parallax-band {
  position: relative;
  min-height: 470px;
  display: grid;
  align-items: center;
  overflow: hidden;
  color: #fff;
  background-image:
    linear-gradient(90deg, rgba(29, 29, 27, .92), rgba(29, 29, 27, .68) 48%, rgba(29, 29, 27, .28)),
    url("https://images.unsplash.com/photo-1541888946425-d81bb19240f5?auto=format&fit=crop&w=1800&q=85");
  background-position: center;
  background-size: cover;
  background-attachment: fixed;
}

.parallax-band::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: min(520px, 48vw);
  height: 160px;
  background: var(--gold);
  clip-path: polygon(0 36%, 74% 0, 100% 100%, 0 100%);
  opacity: .95;
}

.parallax-band::after {
  content: "";
  position: absolute;
  right: 0;
  top: 0;
  width: min(420px, 36vw);
  height: 120px;
  background: rgba(244, 166, 6, .82);
  clip-path: polygon(26% 0, 100% 0, 100% 100%, 0 0);
}

.parallax-band__content {
  position: relative;
  z-index: 2;
  max-width: 820px;
  padding: 90px 0;
}

.parallax-band .eyebrow {
  color: var(--gold);
}

.parallax-band h2 {
  max-width: 860px;
  color: #fff;
  font-size: clamp(38px, 5vw, 64px);
}

.parallax-band p:not(.eyebrow) {
  max-width: 650px;
  margin: 22px 0 30px;
  color: #ece7dd;
  font-size: 18px;
}

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

.client-card {
  background: #fff;
  border: 1px solid rgba(29, 29, 27, .08);
  box-shadow: 0 18px 38px rgba(29, 29, 27, .08);
  overflow: hidden;
  transition: transform .25s ease, box-shadow .25s ease;
}

.client-card:hover {
  box-shadow: 0 26px 54px rgba(29, 29, 27, .14);
  transform: translateY(-8px);
}

.client-card__media img,
.client-card__gallery img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
  transition: transform .55s ease;
}

.client-card__media {
  position: relative;
  overflow: hidden;
}

.client-card__media img {
  aspect-ratio: 4 / 3;
}

.client-card__media h3 {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 17px 20px;
  background: rgba(29, 29, 27, .94);
  color: #fff;
  font-size: 25px;
}

.client-card:hover .client-card__media img,
.client-card--featured:hover .client-card__gallery img {
  transform: scale(1.055);
}

.client-card__gallery img:hover {
  object-fit: contain;
  background: var(--navy);
}

.client-card--featured {
  grid-column: span 3;
  display: grid;
  grid-template-columns: 1.45fr .8fr;
}

.client-card__gallery {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  grid-template-rows: repeat(2, minmax(180px, 1fr));
  min-height: 430px;
}

.client-card__gallery img:first-child {
  grid-row: 1 / -1;
}

.client-card__body {
  padding: 28px;
}

.client-card--featured .client-card__body {
  display: grid;
  align-content: center;
  background: var(--navy);
  color: #fff;
}

.client-card__body span {
  width: fit-content;
  margin-bottom: 14px;
  padding: 7px 12px;
  background: var(--gold);
  color: var(--navy);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .06em;
}

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

.client-card--featured .client-card__body p {
  color: #e9e4dc;
}

.cta {
  background: linear-gradient(105deg, var(--gold) 0%, var(--gold) 38%, var(--navy) 38.2%, var(--navy) 100%);
  color: #fff;
  padding: 72px 0;
}

.cta__grid {
  grid-template-columns: 1fr auto;
}

.cta h2 {
  color: #fff;
  max-width: 760px;
}

.cta .eyebrow {
  color: var(--navy);
}

.contact__form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  padding: 38px;
  background: #fff;
  border: 1px solid rgba(29, 29, 27, .08);
  box-shadow: 0 20px 45px rgba(29, 29, 27, .08);
  position: relative;
  overflow: hidden;
}

.contact__form::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 7px;
  background: var(--gold);
}

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

.form-field--wide,
.contact__form button {
  grid-column: 1 / -1;
}

.form-field label {
  color: var(--navy);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .06em;
}

.contact__form textarea {
  min-height: 132px;
}

.contact__form .button {
  width: fit-content;
  min-width: 210px;
  margin-top: 6px;
}

.reveal {
  opacity: 0;
  transform: translateY(34px);
  transition: opacity .7s ease, transform .7s ease;
  transition-delay: var(--delay, 0s);
}

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

.reveal-left {
  opacity: 0;
  transform: translateX(-42px);
  transition: opacity .75s ease, transform .75s ease;
}

.reveal-right {
  opacity: 0;
  transform: translateX(42px);
  transition: opacity .75s ease, transform .75s ease;
}

.reveal-left.is-visible,
.reveal-right.is-visible {
  opacity: 1;
  transform: translateX(0);
}

@keyframes heroZoom {
  from {
    transform: scale(1.03) translate3d(0, 0, 0);
  }

  to {
    transform: scale(1.1) translate3d(-1.2%, 0, 0);
  }
}

@keyframes heroRise {
  from {
    opacity: 0;
    transform: translateY(26px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes cardFloatIn {
  from {
    opacity: 0;
    transform: translateY(34px) scale(.96);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes cardFloat {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-10px);
  }
}

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

  .reveal,
  .reveal-left,
  .reveal-right {
    opacity: 1;
    transform: none;
  }
}

.footer {
  background: var(--navy);
  color: #d8e0ef;
  padding: 56px 0;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr .8fr .8fr;
  gap: 40px;
}

.brand--footer {
  color: #fff;
}

.brand--footer .brand__logo {
  filter: brightness(0) invert(1);
}

.footer h2 {
  color: #fff;
  font-size: 22px;
  margin-bottom: 16px;
}

.footer a,
.footer span {
  display: block;
  margin: 8px 0;
  color: #d8e0ef;
}

.footer__bottom {
  margin-top: 34px;
  padding-top: 0;
  display: flex;
  justify-content: center;
}

.developer-credit {
  width: fit-content;
  display: inline-flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding-top: 0;
  padding-bottom: 0;
  white-space: nowrap;
}

.developer-credit span {
  display: inline-block;
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
}

.developer-credit img {
  flex: 0 0 auto;
  width: auto;
  height: 20px;
  display: block;
  object-fit: contain;
}

.footer .developer-credit {
  display: inline-flex;
}

.footer .developer-credit span {
  display: inline-block;
  margin: 0;
}

.developer-credit--footer span {
  color: #bfc5ce;
  margin: 0;
}

.developer-credit--footer img {
  filter: brightness(0) invert(1);
}

.whatsapp-float {
  position: fixed;
  right: 24px;
  bottom: 26px;
  z-index: 30;
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
  background: #25d366;
  color: #fff;
  border-radius: 50%;
  box-shadow: 0 16px 36px rgba(37, 211, 102, .34);
  animation: whatsappFloat 2.8s ease-in-out infinite;
}

.lead-toast {
  position: fixed;
  left: 50%;
  top: 50%;
  z-index: 35;
  width: min(430px, calc(100% - 32px));
  min-height: 170px;
  padding: 34px 34px 30px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 10px;
  background: #fff;
  border: 1px solid rgba(244, 166, 6, .34);
  box-shadow: 0 30px 80px rgba(29, 29, 27, .3);
  text-align: center;
  transform: translate(-50%, -50%);
  animation: toastPop .68s cubic-bezier(.16, 1.2, .3, 1) both, toastGlow 1.25s .15s ease-in-out infinite alternate;
}

.lead-toast::before {
  content: "";
  width: 62px;
  height: 62px;
  margin-bottom: 4px;
  border-radius: 50%;
  background:
    linear-gradient(135deg, transparent 53%, var(--navy) 54% 64%, transparent 65%),
    var(--gold);
  box-shadow: 0 0 0 0 rgba(244, 166, 6, .48);
  animation: toastIconPulse 1.1s ease-out infinite;
}

.lead-toast::after {
  content: "";
  position: absolute;
  inset: -18px;
  z-index: -1;
  background:
    radial-gradient(circle at 18% 20%, rgba(244, 166, 6, .9) 0 4px, transparent 5px),
    radial-gradient(circle at 82% 24%, rgba(244, 166, 6, .7) 0 5px, transparent 6px),
    radial-gradient(circle at 22% 82%, rgba(29, 29, 27, .28) 0 5px, transparent 6px),
    radial-gradient(circle at 78% 78%, rgba(244, 166, 6, .8) 0 4px, transparent 5px);
  animation: toastSpark .9s ease-out both;
}

.lead-toast strong {
  color: var(--navy);
  font: 900 34px/1 "Yantramanav", Arial, sans-serif;
}

.lead-toast span {
  color: var(--muted);
  font-size: 16px;
}

.lead-toast--error {
  border-color: rgba(200, 50, 36, .36);
}

.lead-toast--error::before {
  background:
    linear-gradient(45deg, transparent 43%, #fff 44% 56%, transparent 57%),
    linear-gradient(-45deg, transparent 43%, #fff 44% 56%, transparent 57%),
    #c83224;
}

.lead-toast.is-hiding {
  animation: toastOut .38s ease forwards;
}

.lead-toast.is-hidden {
  display: none;
}

@keyframes toastPop {
  from {
    opacity: 0;
    transform: translate(-50%, -42%) scale(.72) rotate(-2deg);
  }

  62% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.06) rotate(1deg);
  }

  to {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1) rotate(0);
  }
}

@keyframes toastGlow {
  from {
    box-shadow: 0 30px 80px rgba(29, 29, 27, .3), 0 0 0 rgba(244, 166, 6, 0);
  }

  to {
    box-shadow: 0 34px 90px rgba(29, 29, 27, .34), 0 0 42px rgba(244, 166, 6, .38);
  }
}

@keyframes toastIconPulse {
  from {
    box-shadow: 0 0 0 0 rgba(244, 166, 6, .48);
  }

  to {
    box-shadow: 0 0 0 18px rgba(244, 166, 6, 0);
  }
}

@keyframes toastSpark {
  from {
    opacity: 0;
    transform: scale(.72) rotate(-8deg);
  }

  to {
    opacity: 1;
    transform: scale(1) rotate(0);
  }
}

@keyframes toastOut {
  to {
    opacity: 0;
    transform: translate(-50%, -58%) scale(.88);
  }
}

.whatsapp-float::before {
  content: "";
  position: absolute;
  inset: -8px;
  border: 2px solid rgba(37, 211, 102, .42);
  border-radius: 50%;
  animation: whatsappPulse 1.8s ease-out infinite;
}

.whatsapp-float svg {
  width: 34px;
  height: 34px;
  fill: currentColor;
  display: block;
  transform: translate(1px, 1px);
}

.whatsapp-float:hover {
  transform: translateY(-4px) scale(1.04);
  animation-play-state: paused;
}

@keyframes whatsappFloat {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-8px);
  }
}

@keyframes whatsappPulse {
  from {
    opacity: .9;
    transform: scale(.86);
  }

  to {
    opacity: 0;
    transform: scale(1.28);
  }
}

@media (max-width: 900px) {
  .site-header {
    z-index: 2147483000;
  }

  .topbar__inner {
    justify-content: center;
  }

  .nav {
    min-height: 72px;
  }

  .nav__toggle {
    display: block;
    margin-left: auto;
    position: relative;
    z-index: 2147483004;
    border-color: rgba(29, 29, 27, .18);
    transition: background .25s ease, border-color .25s ease;
  }

  .nav__toggle.is-open {
    background: var(--navy);
    border-color: var(--navy);
  }

  .nav__toggle span {
    transition: transform .25s ease, opacity .2s ease, background .25s ease;
  }

  .nav__toggle.is-open span {
    background: #fff;
  }

  .nav__toggle.is-open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .nav__toggle.is-open span:nth-child(2) {
    opacity: 0;
  }

  .nav__toggle.is-open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .nav__cta {
    display: none;
  }

  .nav__links {
    display: none;
  }

  .mobile-drawer {
    position: fixed;
    right: 0;
    top: 0;
    bottom: 0;
    z-index: 2147483003;
    width: min(335px, 86vw);
    padding: 32px 26px;
    display: grid;
    align-content: start;
    gap: 26px;
    background: rgba(255, 255, 255, .94);
    border-left: 1px solid rgba(255, 255, 255, .7);
    box-shadow: -18px 0 52px rgba(29, 29, 27, .22);
    backdrop-filter: blur(22px);
    -webkit-backdrop-filter: blur(22px);
    transform: translateX(104%);
    opacity: 0;
    pointer-events: none;
    transition: transform .38s ease, opacity .28s ease;
  }

  .mobile-drawer.is-open {
    transform: translateX(0);
    opacity: 1;
    pointer-events: auto;
  }

  .mobile-drawer__logo img {
    width: 180px;
    height: auto;
    display: block;
  }

  .mobile-drawer__links {
    display: grid;
    gap: 0;
  }

  .mobile-drawer__links a {
    padding: 16px 4px;
    border-bottom: 1px solid rgba(29, 29, 27, .1);
    color: var(--navy);
    font-size: 19px;
    font-weight: 800;
  }

  .mobile-drawer__cta {
    min-height: 52px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--gold);
    color: var(--navy);
    font-weight: 900;
    clip-path: polygon(8% 0, 100% 0, 92% 100%, 0% 100%);
  }

  .developer-credit--drawer {
    margin-top: auto;
    padding-top: 0;
    padding-bottom: 0;
    justify-self: center;
  }

  .developer-credit--drawer span {
    color: #60605b;
  }

  .developer-credit--drawer img {
    height: 18px;
  }

  .nav-backdrop {
    position: fixed;
    inset: 0;
    z-index: 2147482999;
    display: block;
    background: rgba(29, 29, 27, .24);
    backdrop-filter: blur(7px);
    -webkit-backdrop-filter: blur(7px);
    opacity: 0;
    pointer-events: none;
    transition: opacity .3s ease;
  }

  .nav-backdrop.is-open {
    opacity: 1;
    pointer-events: auto;
  }

  body.nav-open {
    overflow: hidden;
  }

  body.nav-open .site-header .brand {
    opacity: 0;
    pointer-events: none;
  }

  .hero {
    min-height: 760px;
  }

  .hero__content {
    padding-top: 72px;
  }

  .hero__media {
    width: 100%;
    opacity: .24;
  }

  .feature-strip__grid,
  .clients__grid,
  .split__grid,
  .contact__grid,
  .cta__grid,
  .footer__grid {
    grid-template-columns: 1fr;
  }

  .services {
    overflow: hidden;
  }

  .services__grid {
    display: flex;
    gap: 0;
    cursor: grab;
    touch-action: pan-y;
    will-change: transform;
    transition: transform .55s cubic-bezier(.2, .8, .2, 1);
  }

  .services__grid .service-card {
    flex: 0 0 100%;
    width: 100%;
  }

  .services__grid .service-card:hover {
    transform: none;
  }

  .products-slider-dots {
    display: flex;
    justify-content: center;
    gap: 9px;
    margin-top: 24px;
  }

  .products-slider-dots button {
    width: 10px;
    height: 10px;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: rgba(29, 29, 27, .24);
    cursor: pointer;
    transition: width .25s ease, background .25s ease;
  }

  .products-slider-dots button.is-active {
    width: 30px;
    background: var(--gold);
  }

  .client-card--featured {
    grid-column: span 1;
    grid-template-columns: 1fr;
  }

  .client-card__gallery {
    min-height: auto;
    display: flex;
    grid-template-columns: none;
    grid-template-rows: none;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    touch-action: pan-x;
  }

  .client-card__gallery img {
    flex: 0 0 100%;
    width: 100%;
    aspect-ratio: 4 / 3;
    height: auto;
    object-fit: contain;
    background: var(--navy);
    scroll-snap-align: start;
  }

  .client-card__gallery img:first-child {
    grid-row: auto;
  }

  .client-card--featured:hover .client-card__gallery img {
    transform: none;
  }

  .feature-strip article {
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, .25);
  }

  .parallax-band {
    background-attachment: scroll;
  }

  .split__grid,
  .contact__grid,
  .cta__grid {
    gap: 34px;
  }

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

@media (max-width: 560px) {
  .container {
    width: min(100% - 28px, 1160px);
  }

  .topbar {
    display: none;
  }

  .brand {
    font-size: 25px;
  }

  .brand__logo {
    height: 46px;
  }

  .whatsapp-float {
    right: 16px;
    bottom: 18px;
    width: 56px;
    height: 56px;
  }

  .lead-toast {
    width: min(340px, calc(100% - 28px));
    min-height: 156px;
    padding: 28px 24px 24px;
  }

  .whatsapp-float svg {
    width: 30px;
    height: 30px;
    transform: translate(1px, 1px);
  }

  .hero {
    min-height: 820px;
  }

  .hero::before {
    width: 75vw;
    height: 150px;
  }

  .hero::after {
    width: 80vw;
    height: 135px;
  }

  .hero__copy {
    font-size: 17px;
  }

  .hero__actions {
    display: grid;
    grid-template-columns: 1fr;
  }


  .section {
    padding: 72px 0;
  }

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

  .service-card {
    min-height: auto;
  }

  .contact__form {
    padding: 28px;
  }

  .contact__form .button {
    width: 100%;
  }

  .parallax-band {
    min-height: 560px;
  }

  .parallax-band::before {
    width: 78vw;
    height: 120px;
  }

  .parallax-band::after {
    width: 52vw;
    height: 88px;
  }
}
