/* ========================================
   AMGA · ABAGA — Estilos del sitio
   ======================================== */

:root {
  /* Paleta del logo + acentos */
  --lime: #b4d400;
  --lime-deep: #8fad00;
  --plum: #4a1848;
  --plum-mid: #6b2a66;
  --rosa: #e4007c;
  --rosa-deep: #c10068;
  --ink: #0d0d0d;
  --ink-soft: #1a1a1a;
  --green-dark: #0a1f0c;
  --white: #ffffff;
  --paper: #f7f6f3;
  --paper-alt: #efece6;
  --muted: #5c5a57;
  --line: rgba(13, 13, 13, 0.12);

  --font-display: "Saira Expanded", "Saira", sans-serif;
  --font-body: "Saira", sans-serif;

  --w-toolbar: 90vw;
  --w-body: 80vw;
  --radius: 4px;
  --header-h: 158px;
  --toolbar-h: 42px;
  --float-size: 56px;
  --float-gap: 50px;
  --float-right: 24px;
  --float-bottom: 24px;

  --shadow-soft: 0 12px 40px rgba(13, 13, 13, 0.12);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--toolbar-h) + var(--header-h) + 12px);
}

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul,
ol {
  list-style: none;
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

/* ---------- Layout widths ---------- */
.toolbar__inner,
.header__inner {
  width: var(--w-toolbar);
  max-width: 1600px;
  margin-inline: auto;
}

.container,
.footer__inner,
.footer__bottom-inner {
  width: var(--w-body);
  max-width: 1280px;
  margin-inline: auto;
}

/* ---------- Toolbar ---------- */
.toolbar {
  background: var(--green-dark);
  color: var(--white);
  font-size: 0.85rem;
  position: relative;
  z-index: 100;
}

.toolbar__inner {
  min-height: var(--toolbar-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  padding-block: 0.45rem;
}

.toolbar__location,
.toolbar__contact {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.toolbar__contact {
  gap: 1.25rem;
  flex-wrap: wrap;
}

.toolbar__location i,
.toolbar__contact i {
  color: var(--lime);
}

.toolbar__contact a {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  opacity: 0.92;
  transition: color 0.2s ease, opacity 0.2s ease;
}

.toolbar__contact a:hover {
  color: var(--lime);
  opacity: 1;
}

/* ---------- Header ---------- */
.header {
  background: var(--white);
  border-bottom: 15px solid #953d77;
  position: sticky;
  top: 0;
  z-index: 90;
  transition: box-shadow 0.3s ease;
}

.header.is-scrolled {
  box-shadow: 0 8px 24px rgba(13, 13, 13, 0.08);
}

.header__inner {
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.header__brand {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.header__logo {
  height: 150px;
  width: auto;
  object-fit: contain;
}

.header__nav ul {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.header__nav a {
  display: inline-block;
  padding: 0.7rem 1.1rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-soft);
  border-radius: var(--radius);
  transition: color 0.2s ease, background 0.2s ease;
}

.header__nav a:hover,
.header__nav a.active {
  color: var(--plum);
}

.header__nav a.nav-cta {
  background: var(--rosa);
  color: var(--white);
  margin-left: 0.35rem;
}

.header__nav a.nav-cta:hover {
  background: var(--rosa-deep);
  color: var(--white);
}

.header__toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  background: var(--white);
  border-radius: var(--radius);
  cursor: pointer;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
}

.header__toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--ink);
  transition: transform 0.25s var(--ease), opacity 0.2s ease;
}

.header__toggle.is-open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.header__toggle.is-open span:nth-child(2) {
  opacity: 0;
}

.header__toggle.is-open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.9rem 1.45rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: var(--radius);
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.2s var(--ease), background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn--primary {
  background: var(--rosa);
  color: var(--white);
  border-color: var(--rosa);
}

.btn--primary:hover {
  background: var(--rosa-deep);
  border-color: var(--rosa-deep);
}

.btn--outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.75);
}

.btn--outline:hover {
  background: var(--white);
  color: var(--ink);
}

.section .btn--outline {
  color: var(--plum);
  border-color: var(--plum);
}

.section .btn--outline:hover {
  background: var(--plum);
  color: var(--white);
}

.btn--full {
  width: 100%;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: calc(100vh - var(--toolbar-h) - var(--header-h));
  display: grid;
  place-items: center;
  overflow: hidden;
  color: var(--white);
  background-color: var(--ink);
  background-image:
    linear-gradient(135deg, rgba(13, 13, 13, 0.72) 0%, rgba(74, 24, 72, 0.55) 48%, rgba(13, 13, 13, 0.78) 100%),
    radial-gradient(ellipse at 20% 30%, rgba(180, 212, 0, 0.18), transparent 50%),
    radial-gradient(ellipse at 85% 70%, rgba(228, 0, 124, 0.2), transparent 45%),
    url("../assets/foto-hero.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border-bottom: 5px solid #5f941e;
}

.hero__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.hero__grain {
  position: absolute;
  inset: 0;
  opacity: 0.12;
  background-image:
    repeating-linear-gradient(0deg, transparent, transparent 2px, rgba(255, 255, 255, 0.03) 2px, rgba(255, 255, 255, 0.03) 4px),
    repeating-linear-gradient(90deg, transparent, transparent 2px, rgba(255, 255, 255, 0.02) 2px, rgba(255, 255, 255, 0.02) 4px);
  animation: grainShift 8s linear infinite;
}

.hero__shape {
  position: absolute;
  border-radius: 50%;
  filter: blur(40px);
  opacity: 0.55;
  animation: floatShape 12s var(--ease) infinite alternate;
}

.hero__shape--1 {
  width: 42vw;
  height: 42vw;
  max-width: 520px;
  max-height: 520px;
  background: var(--lime);
  top: -12%;
  left: -8%;
  animation-duration: 14s;
}

.hero__shape--2 {
  width: 36vw;
  height: 36vw;
  max-width: 420px;
  max-height: 420px;
  background: var(--rosa);
  bottom: -10%;
  right: -6%;
  animation-duration: 11s;
  animation-delay: -2s;
}

.hero__shape--3 {
  width: 24vw;
  height: 24vw;
  max-width: 280px;
  max-height: 280px;
  background: var(--plum-mid);
  top: 40%;
  left: 55%;
  animation-duration: 16s;
  animation-delay: -4s;
}

.hero__rings {
  position: absolute;
  inset: 0;
}

.hero__ring {
  position: absolute;
  border: 1px solid rgba(180, 212, 0, 0.22);
  border-radius: 50%;
  left: 12%;
  top: 50%;
  transform: translateY(-50%);
  animation: ringPulse 6s ease-in-out infinite;
}

.hero__content {
  position: relative;
  z-index: 2;
  width: var(--w-body);
  max-width: 1280px;
  margin-inline: auto;
  padding: 4.5rem 0 5.5rem;
  animation: heroEnter 1s var(--ease) both;
}

.hero__eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--lime);
  margin-bottom: 1.1rem;
  animation: fadeUp 0.8s var(--ease) 0.15s both;
}

.hero__title {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  margin-bottom: 1.25rem;
}

.hero__brand {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 6vw, 4.6rem);
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  line-height: 1.05;
  color: var(--white);
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.35);
  animation: fadeUp 0.9s var(--ease) 0.25s both;
}

.hero__headline {
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 2.4vw, 1.65rem);
  font-weight: 600;
  letter-spacing: 0.04em;
  line-height: 1.35;
  max-width: 22ch;
  color: rgba(255, 255, 255, 0.92);
  animation: fadeUp 0.9s var(--ease) 0.4s both;
}

.hero__lead {
  max-width: 38rem;
  font-size: clamp(1rem, 1.4vw, 1.15rem);
  color: rgba(255, 255, 255, 0.82);
  margin-bottom: 2rem;
  animation: fadeUp 0.9s var(--ease) 0.55s both;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  animation: fadeUp 0.9s var(--ease) 0.7s both;
}

.hero__scroll {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.65);
  animation: bounceDown 2s ease-in-out infinite;
}

/* ---------- Sections ---------- */
.section {
  padding: 5.5rem 0;
}

.section--alt {
  background: var(--white);
}

.section--contact {
  background:
    linear-gradient(180deg, var(--paper) 0%, var(--paper-alt) 100%);
}

.section__head {
  max-width: 42rem;
  margin-bottom: 3rem;
}

.section__eyebrow {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--rosa);
  margin-bottom: 0.75rem;
}

.section__title {
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 2.8vw, 2.35rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: 0.85rem;
}

.section__lead {
  color: var(--muted);
  font-size: 1.05rem;
}

/* ---------- About ---------- */
.about-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

.about-feature {
  padding: 1.75rem 0 0;
  border-top: 3px solid var(--lime);
}

.about-feature__icon {
  width: 72px;
  height: 72px;
  display: grid;
  place-items: center;
  background: var(--plum);
  color: var(--lime);
  border-radius: var(--radius);
  margin-bottom: 1.1rem;
  font-size: 2rem;
}

.about-feature h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  margin-bottom: 0.55rem;
  color: var(--ink);
}

.about-feature p {
  color: var(--muted);
  font-size: 0.98rem;
}

/* ---------- Products ---------- */
.products {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.product {
  display: flex;
  flex-direction: column;
  background: var(--paper);
  overflow: hidden;
  border: 1px solid var(--line);
  transition: transform 0.3s var(--ease), box-shadow 0.3s ease;
}

.section--alt .product {
  background: var(--white);
}

.product:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-soft);
}

.product__visual {
  height: 240px;
  position: relative;
  overflow: hidden;
  background: var(--ink-soft);
}

.product__visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.5s var(--ease);
}

.product:hover .product__visual img {
  transform: scale(1.06);
}

.product__body {
  padding: 1.5rem 1.4rem 1.7rem;
}

.product__body h3 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  margin-bottom: 0.55rem;
}

.product__body > p {
  color: var(--muted);
  font-size: 0.95rem;
  margin-bottom: 1rem;
}

.product__body ul {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.product__body li {
  position: relative;
  padding-left: 1rem;
  font-size: 0.9rem;
  color: var(--ink-soft);
}

.product__body li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  background: var(--rosa);
  border-radius: 1px;
}

/* ---------- Services ---------- */
.services {
  display: flex;
  flex-direction: column;
  gap: 0;
  border-top: 1px solid var(--line);
}

.service {
  display: grid;
  grid-template-columns: 5.5rem 1fr;
  gap: 1.25rem;
  padding: 1.75rem 0;
  border-bottom: 1px solid var(--line);
  align-items: start;
  transition: background 0.25s ease;
}

.service:hover {
  background: rgba(180, 212, 0, 0.08);
}

.service__num {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--plum);
  line-height: 1;
}

.service h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  margin-bottom: 0.4rem;
}

.service p {
  color: var(--muted);
  max-width: 42rem;
}

/* ---------- Contact ---------- */
.contact-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 2.5rem;
  align-items: start;
}

.contact-info {
  background: var(--ink);
  color: var(--white);
  padding: 2rem 1.75rem;
}

.contact-info h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  margin-bottom: 1.5rem;
  color: var(--lime);
}

.contact-info ul {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.contact-info li {
  display: flex;
  gap: 0.9rem;
  align-items: flex-start;
}

.contact-info li > i {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  background: var(--plum);
  color: var(--lime);
  border-radius: var(--radius);
  flex-shrink: 0;
}

.contact-info strong {
  display: block;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 0.15rem;
}

.contact-info a:hover {
  color: var(--lime);
}

.contact-info__note {
  margin-top: 1.75rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
}

.contact-form {
  background: var(--white);
  padding: 2rem 1.75rem;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
}

.form-row {
  margin-bottom: 1.15rem;
}

.form-row--half {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-row label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
  color: var(--ink-soft);
}

.form-row input,
.form-row select,
.form-row textarea {
  width: 100%;
  padding: 0.8rem 0.9rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  border-color: var(--plum);
  box-shadow: 0 0 0 3px rgba(74, 24, 72, 0.12);
}

.form-row textarea {
  resize: vertical;
  min-height: 110px;
}

.form-hint {
  margin-top: 0.85rem;
  font-size: 0.9rem;
  color: var(--muted);
  min-height: 1.3em;
}

.form-hint.is-error {
  color: var(--rosa-deep);
}

.form-hint.is-ok {
  color: var(--lime-deep);
}

/* ---------- Footer ---------- */
.footer {
  background: var(--green-dark);
  color: rgba(255, 255, 255, 0.85);
  padding-top: 3.5rem;
}

.footer__inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  padding-bottom: 2.75rem;
}

.footer__logo {
  height: 64px;
  width: auto;
  margin-bottom: 1rem;
  background: var(--white);
  border-radius: 50%;
  padding: 0.25rem;
}

.footer__col > p {
  font-size: 0.92rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.7);
}

.footer__col h4 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: var(--lime);
  margin-bottom: 1rem;
  letter-spacing: 0.02em;
}

.footer__menu {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.footer__menu li {
  position: relative;
  padding-left: 1.1rem;
  font-size: 0.92rem;
}

.footer__menu li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--rosa);
  font-weight: 700;
}

.footer__menu a:hover {
  color: var(--lime);
}

.footer__contact {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.footer__contact li {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  font-size: 0.92rem;
}

.footer__contact i {
  color: var(--lime);
  width: 1.1rem;
  text-align: center;
  margin-top: 0.2rem;
  flex-shrink: 0;
}

.footer__contact a:hover {
  color: var(--rosa);
}

.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding: 1.15rem 0;
}

.footer__bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
}

.footer__bottom a {
  color: var(--lime);
}

.footer__bottom a:hover {
  color: var(--rosa);
}

/* ---------- Floating stack: scroll-up + WhatsApp ---------- */
.float-stack {
  position: fixed;
  right: var(--float-right);
  bottom: var(--float-bottom);
  z-index: 200;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--float-gap);
}

.scroll-up,
.whatsapp-float {
  width: var(--float-size);
  height: var(--float-size);
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 1.35rem;
  border: none;
  cursor: pointer;
  box-shadow: 0 10px 28px rgba(13, 13, 13, 0.28);
  transition: transform 0.25s var(--ease), opacity 0.25s ease, background 0.2s ease;
}

.scroll-up {
  background: var(--plum);
  color: var(--white);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.scroll-up.is-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.scroll-up:hover {
  background: var(--plum-mid);
  transform: translateY(-3px);
}

.whatsapp-float {
  background: #25d366;
  color: var(--white);
}

.whatsapp-float:hover {
  transform: translateY(-3px) scale(1.05);
  background: #1ebe57;
}

.whatsapp-float::before {
  content: "";
  position: absolute;
  width: var(--float-size);
  height: var(--float-size);
  border-radius: 50%;
  background: #25d366;
  animation: waPulse 2.4s ease-out infinite;
  z-index: -1;
}

.whatsapp-float {
  position: relative;
}

/* ---------- Legal page ---------- */
.page-hero {
  background:
    linear-gradient(135deg, var(--ink) 0%, var(--plum) 100%);
  color: var(--white);
  padding: 3.5rem 0 2.75rem;
}

.page-hero .section__eyebrow {
  color: var(--lime);
}

.page-hero .section__title,
.page-hero .section__lead {
  color: var(--white);
}

.page-hero .section__lead {
  opacity: 0.75;
  margin-bottom: 0;
}

.legal {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  max-width: 48rem;
  margin-inline: auto;
}

.legal h2 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: var(--plum);
  margin-bottom: 0.65rem;
}

.legal p,
.legal li {
  color: var(--muted);
  font-size: 1rem;
}

.legal ul {
  margin-top: 0.65rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.legal li {
  position: relative;
  padding-left: 1.1rem;
}

.legal li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--rosa);
  font-weight: 700;
}

.legal a {
  color: var(--rosa);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.legal__back {
  margin-top: 1rem;
}

.legal__back .btn--outline {
  color: var(--plum);
  border-color: var(--plum);
}

/* ---------- Reveal on scroll ---------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.reveal.is-in {
  opacity: 1;
  transform: none;
}

/* ---------- Animations ---------- */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes heroEnter {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes floatShape {
  from {
    transform: translate(0, 0) scale(1);
  }
  to {
    transform: translate(24px, -30px) scale(1.08);
  }
}

@keyframes grainShift {
  from {
    transform: translate(0, 0);
  }
  to {
    transform: translate(-20px, 20px);
  }
}

@keyframes ringPulse {
  0%,
  100% {
    opacity: 0.25;
    transform: translateY(-50%) scale(1);
  }
  50% {
    opacity: 0.55;
    transform: translateY(-50%) scale(1.04);
  }
}

@keyframes bounceDown {
  0%,
  100% {
    transform: translateX(-50%) translateY(0);
  }
  50% {
    transform: translateX(-50%) translateY(8px);
  }
}

@keyframes waPulse {
  0% {
    transform: scale(1);
    opacity: 0.55;
  }
  100% {
    transform: scale(1.55);
    opacity: 0;
  }
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .about-grid,
  .footer__inner {
    grid-template-columns: 1fr 1fr;
  }

  .contact-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 860px) {
  :root {
    --w-toolbar: 92vw;
    --w-body: 90vw;
    --float-right: 16px;
    --float-bottom: 16px;
    --float-size: 52px;
    --float-gap: 50px;
  }

  .header__toggle {
    display: flex;
  }

  .header__nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    border-bottom: 1px solid var(--line);
    padding: 0.75rem 0 1rem;
    transform: translateY(-8px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.25s ease, transform 0.25s var(--ease), visibility 0.25s;
  }

  .header__nav.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: none;
  }

  .header__nav ul {
    width: var(--w-toolbar);
    margin-inline: auto;
    flex-direction: column;
    align-items: stretch;
    gap: 0.25rem;
  }

  .header__nav a.nav-cta {
    margin-left: 0;
    text-align: center;
  }

  .toolbar__inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .form-row--half {
    grid-template-columns: 1fr;
  }

  .service {
    grid-template-columns: 3.5rem 1fr;
  }
}

@media (max-width: 640px) {
  .about-grid,
  .products,
  .footer__inner {
    grid-template-columns: 1fr;
  }

  .toolbar__contact span {
    display: none;
  }

  .toolbar__contact a {
    font-size: 1rem;
  }

  .footer__bottom-inner {
    flex-direction: column;
    text-align: center;
  }

  .section {
    padding: 3.75rem 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
