/* ===========================================================
   IPC — Base stylesheet
   =========================================================== */

:root {
  --color-dark: #0B271A;
  --color-lime: #87C735;
  --color-green-mid: #578917;
  --color-white: #FEFEFE;
  --color-blue: #3579C7;
  --color-gray-light: #C2C2C2;
  --color-gray: #9F9F9F;

  --color-surface: #F4F6F4;
  --color-lime-light: #B2DC7D;

  --font-heading: "area-extended", system-ui, sans-serif;
  --font-body: "area-normal", system-ui, sans-serif;

  --radius-sm: 10px;

  --container-width: 1600px;
  --section-space: clamp(64px, 8vw, 120px);
  --edge-pad: clamp(24px, 6vw, 72px);

  --shadow-soft: 0 20px 45px -25px rgba(11, 39, 26, 0.35);

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-smooth: cubic-bezier(0.65, 0, 0.35, 1);
}

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

html { scroll-behavior: smooth; }
html.lenis { scroll-behavior: auto; }

body {
  font-family: var(--font-body);
  color: var(--color-dark);
  background: var(--color-white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

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

ul { list-style: none; }

button { font: inherit; cursor: pointer; border: none; background: none; }

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.15;
  color: var(--color-dark);
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--color-lime);
  color: var(--color-dark);
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  z-index: 999;
  font-weight: 700;
}
.skip-link:focus { left: 16px; top: 16px; }

.container {
  width: 100%;
  max-width: var(--container-width);
  margin-inline: auto;
  padding-inline: clamp(16px, 4vw, 32px);
}

/* ---------- Reveal animation ---------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .accordion-item__panel,
  .accordion-item__icon svg,
  .product-card__disclosure-panel,
  .product-card__disclosure-icon { transition: none; }
  * { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 16px 32px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 1.05rem;
  transition: background-color 0.45s var(--ease-smooth), color 0.45s var(--ease-smooth), box-shadow 0.45s var(--ease-smooth);
  white-space: nowrap;
}
.btn--primary {
  background-color: var(--color-lime);
  color: var(--color-dark);
  box-shadow: var(--shadow-soft);
}
.btn--primary:hover {
  background-color: var(--color-green-mid);
  color: var(--color-white);
  box-shadow: 0 22px 40px -18px rgba(87, 137, 23, 0.45);
}
/* Ficha técnica pendiente de subir: mismo botón, look apagado y sin
   interacción, hasta que se conecte el PDF real. */
.btn--disabled,
.btn--disabled:hover {
  background-color: var(--color-gray-light);
  color: var(--color-gray);
  box-shadow: none;
  cursor: not-allowed;
  pointer-events: none;
}
/* Label swap on hover — clipped one-line window holding two stacked
   copies of the label; hovering slides the duplicate up into view,
   matching the reference site's button micro-interaction. Timed to
   match the background/color transition above so both feel like one
   smooth motion instead of a sudden snap. */
.btn__label {
  display: inline-block;
  overflow: hidden;
  height: 1.3em;
  line-height: 1.3em;
}
.btn__label-inner {
  display: flex;
  flex-direction: column;
  transition: transform 0.45s var(--ease-smooth);
}
.btn__label-inner span {
  display: block;
  height: 1.3em;
  line-height: 1.3em;
}
.btn__label-inner span:first-child {
  transition: opacity 0.15s var(--ease-smooth);
}
.btn:hover .btn__label-inner span:first-child {
  opacity: 0;
}
.btn:hover .btn__label-inner {
  transform: translateY(-1.3em);
}

/* ---------- Header ---------- */
.header {
  position: fixed;
  inset-inline: 0;
  top: 0;
  z-index: 100;
  padding-block: 24px;
  color: var(--color-white);
  transition: padding 0.3s var(--ease), background 0.3s var(--ease), box-shadow 0.3s var(--ease), color 0.3s var(--ease);
}
.header.is-scrolled {
  padding-block: 16px;
  color: var(--color-dark);
  background: rgba(254, 254, 254, 0.85);
  backdrop-filter: blur(14px);
  box-shadow: 0 10px 30px -20px rgba(11, 39, 26, 0.3);
}
.header.menu-open {
  color: var(--color-dark);
  background: var(--color-white);
  backdrop-filter: none;
  box-shadow: none;
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: 100%;
  max-width: none;
  padding-inline: var(--edge-pad);
}

.header__right {
  display: flex;
  align-items: center;
  gap: 40px;
}

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

.logo__mark {
  position: relative;
  display: inline-block;
  height: 68px;
  aspect-ratio: 1622 / 660;
}
.logo__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: opacity 0.3s var(--ease);
}
.logo__img--color { opacity: 0; }
.header.is-scrolled .logo__img--white,
.header.menu-open .logo__img--white {
  opacity: 0;
}
.header.is-scrolled .logo__img--color,
.header.menu-open .logo__img--color {
  opacity: 1;
}

.nav__list {
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav__link {
  font-weight: 400;
  font-size: 0.95rem;
  color: inherit;
  position: relative;
  padding-block: 8px;
  padding-left: 16px;
}
.nav__link::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-lime);
  transform: translateY(-50%) scale(0);
  opacity: 0;
  transition: transform 0.25s var(--ease), opacity 0.25s var(--ease);
}
.nav__link:hover::before,
.nav__link.is-active::before {
  transform: translateY(-50%) scale(1);
  opacity: 1;
}

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

.nav-toggle {
  display: none;
  width: 32px;
  height: 22px;
  position: relative;
  color: inherit;
}
.nav-toggle span,
.nav-toggle::before,
.nav-toggle::after {
  content: '';
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background: currentColor;
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease), top 0.3s var(--ease);
}
.nav-toggle::before { top: 0; }
.nav-toggle span { top: 10px; }
.nav-toggle::after { top: 20px; }
.nav-toggle[aria-expanded="true"] {
  color: var(--color-dark);
}
.nav-toggle[aria-expanded="true"]::before { top: 10px; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span { opacity: 0; }
.nav-toggle[aria-expanded="true"]::after { top: 10px; transform: rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  background: var(--color-dark);
  color: var(--color-white);
  position: relative;
  overflow: clip;
}

.hero__layout {
  display: flex;
  align-items: stretch;
  min-height: max(680px, 100vh);
}

.hero__content {
  flex: 1 1 50%;
  display: flex;
  flex-direction: column;
  padding-top: clamp(112px, 15vw, 152px);
}

.hero__text-wrap {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding-inline: var(--edge-pad);
  padding-bottom: 48px;
  max-width: 760px;
}

.eyebrow {
  display: inline-block;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.12em;
  color: var(--color-dark);
  opacity: 0.65;
  margin-bottom: 16px;
}

.hero__title {
  font-size: clamp(2.3rem, 4.4vw, 3.4rem);
  line-height: 1.25;
  color: var(--color-white);
  margin-bottom: 24px;
}

.hero__text {
  color: rgba(254, 254, 254, 0.75);
  font-size: 1.05rem;
  max-width: 68ch;
  margin-bottom: 32px;
}

/* Bottom icon strip — sits under the left column only, edge to edge */
.hero__strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: var(--color-lime);
  padding: 32px var(--edge-pad);
  gap: 24px;
}
.hero__point {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.hero__point svg { width: 30px; height: 30px; }
.hero__point p {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--color-dark);
  line-height: 1.3;
}

/* Right-hand full-bleed media panel */
.hero__media {
  flex: 1 1 50%;
  position: relative;
  min-height: 320px;
}
.hero__media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(11, 39, 26, 0.5) 0%, rgba(11, 39, 26, 0) 22%);
  pointer-events: none;
}
.hero__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-top-left-radius: 48px;
}

/* ---------- Section shared ---------- */
section:not(.hero) { padding-block: var(--section-space); }

/* Nosotros, Productos and Servicios are all plain white sections with no
   color break between them, so stacking each section's own top+bottom
   padding reads as an oversized gap — collapse to a single spacer value. */
#nosotros.about { padding-bottom: 0; }
#productos.products { padding-top: 96px; padding-bottom: 0; }
#servicios.services { padding-top: 96px; }

.section-head { max-width: 62ch; margin-bottom: 48px; }
.section-head h2 { font-size: clamp(1.8rem, 3.4vw, 2.5rem); margin-bottom: 16px; }
.section-lead { color: var(--color-gray); font-size: 1.02rem; }

/* Section head with a CTA button on the right, aligned with the title
   instead of stacked below the lead paragraph. */
.section-head--with-cta {
  max-width: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
.section-head__text { max-width: 62ch; }
.section-head__btn { flex-shrink: 0; }

/* ---------- Nosotros ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  align-items: stretch;
  gap: 64px;
}

.about__media {
  position: relative;
  min-height: 480px;
  border-radius: 999px 0 0 999px;
  overflow: hidden;
  background: var(--color-surface);
}
.about__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.15);
  will-change: transform;
}

.about__content {
  background: var(--color-lime);
  padding: 64px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.about__content h2 {
  font-size: clamp(1.8rem, 3.2vw, 2.4rem);
  margin-bottom: 24px;
}
.about__content p {
  color: var(--color-dark);
  margin-bottom: 16px;
}
.about__content p:last-child { margin-bottom: 0; }

/* ---------- Products ---------- */
.product-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}
.product-card {
  background: var(--color-surface);
  padding: 48px;
}
.product-card__visual {
  position: relative;
  height: 280px;
  margin-bottom: 32px;
}
/* display:contents on desktop keeps this wrapper out of the box tree
   entirely (icon/photo behave exactly as if unwrapped); the mobile
   carousel below turns it into the actual clipped slide box, so a
   zoomed .product-card__photo can never bleed into the slide next to it. */
.product-card__slide { display: contents; }
.product-card__icon {
  position: relative;
  z-index: 2;
  width: 160px;
  height: 160px;
  object-fit: contain;
  object-position: left top;
  margin: -16px 0 0 -16px;
  transition: opacity 0.4s var(--ease);
}
.product-card__icon--asa {
  width: 216px;
  height: 216px;
}
.product-card__photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.4s var(--ease);
}
/* The asa handle photo is markedly wider-than-tall relative to this
   box (more so on the wide desktop card than on mobile), so a plain
   cover crop cuts real product content off — same reasoning as the
   mobile override below, just needed unconditionally here too. */
.product-card__photo--asa {
  object-fit: contain;
  object-position: center;
}
.product-card:hover .product-card__icon { opacity: 0; }
.product-card:hover .product-card__photo { opacity: 1; }

/* Swipe arrows only exist for the mobile carousel (see @media 900px);
   hidden by default since desktop uses the hover crossfade above. */
.product-card__nav { display: none; }

.product-card h3 { font-size: 1.4rem; margin-bottom: 8px; }
.product-card > p { color: var(--color-gray); }
.product-card__btn { margin-top: 32px; }

/* Tertiary disclosure ("Más información"): text-only trigger, no
   button chrome, reusing the why-accordion's grid-template-rows 0fr/1fr
   trick for a smooth height transition without measuring pixels in JS. */
.product-card__disclosure { margin-top: 16px; }
.product-card__disclosure-trigger {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  line-height: 1;
  color: var(--color-gray);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.9rem;
}
.product-card__disclosure-icon {
  width: 18px;
  height: 18px;
  color: var(--color-gray);
  transition: transform 0.3s var(--ease);
}
.product-card__disclosure.is-open .product-card__disclosure-icon { transform: rotate(180deg); }
.product-card__disclosure-panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.35s var(--ease);
}
.product-card__disclosure.is-open .product-card__disclosure-panel { grid-template-rows: 1fr; }
.product-card__disclosure-panel-inner { overflow: hidden; }
.product-card__disclosure-panel-inner p {
  padding-top: 16px;
  color: var(--color-gray);
  font-size: 0.9rem;
  line-height: 1.6;
}

/* ---------- Services ---------- */
.service-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}
.service-card {
  background: var(--color-surface);
  padding: 48px;
}
.service-card__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  margin-bottom: 24px;
  border-radius: 50%;
  background: var(--color-lime);
}
.service-card__icon svg { width: 28px; height: 28px; fill: var(--color-dark); }
.service-card h3 { font-size: 1.4rem; margin-bottom: 16px; }
.service-card > p { color: var(--color-gray); }

/* ---------- Why ---------- */
.why { background: var(--color-dark); color: var(--color-white); }
.why-layout {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  align-items: start;
  gap: 64px;
}

.why__media {
  position: relative;
  height: 480px;
  border-radius: 999px 999px 0 0;
  overflow: hidden;
  background: var(--color-surface);
}
.why__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.15);
  will-change: transform;
}

.why__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.why__content h2 {
  color: var(--color-white);
  font-size: clamp(1.8rem, 3.2vw, 2.4rem);
  margin-bottom: 40px;
}

.accordion-item { border-bottom: 1px solid rgba(254, 254, 254, 0.15); }
.accordion-item__trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-block: 32px;
  color: var(--color-white);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1.05rem;
  text-align: left;
}
.accordion-item__icon {
  position: relative;
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  color: var(--color-lime);
}
.accordion-item__icon svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  transition: opacity 0.3s var(--ease);
}
.accordion-item__icon-minus { opacity: 0; }
.accordion-item.is-open .accordion-item__icon-plus { opacity: 0; }
.accordion-item.is-open .accordion-item__icon-minus { opacity: 1; }

.accordion-item__panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.35s var(--ease);
}
.accordion-item.is-open .accordion-item__panel { grid-template-rows: 1fr; }
.accordion-item__panel-inner { overflow: hidden; }
.accordion-item__panel-inner p {
  max-width: 52ch;
  padding-bottom: 24px;
  color: rgba(254, 254, 254, 0.7);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* ---------- Contact ---------- */
.contact__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 6vw, 64px);
  align-items: stretch;
}
.contact__info { display: flex; flex-direction: column; }
.contact__info h2 { font-size: clamp(1.8rem, 3.4vw, 2.5rem); margin-bottom: 16px; }
.contact__info .section-lead { max-width: 40ch; }
.contact__list { margin-top: auto; padding-top: 32px; display: grid; gap: 16px; }
.contact__item {
  display: flex;
  align-items: center;
  gap: 12px;
  width: max-content;
  padding-block: 8px;
  border-bottom: 1px solid var(--color-surface);
}
.contact__item-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  flex-shrink: 0;
  color: var(--color-blue);
}
.contact__item-icon svg { width: 24px; height: 24px; }
.contact__item-body {
  display: grid;
  grid-template-columns: 168px 280px;
  align-items: center;
  gap: 24px;
}
.contact__item-label {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--color-gray);
  text-align: left;
}
.contact__item-value { font-size: 0.95rem; font-weight: 700; color: var(--color-dark); text-align: right; }
.contact__item-value a { transition: color 0.2s var(--ease); }
.contact__item-value a:hover { color: var(--color-blue); }
.contact__item-value--stacked { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; }

.availability-badge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 24px;
  padding: 16px 24px;
  border-radius: 999px;
  background: rgba(254, 254, 254, 0.85);
  backdrop-filter: blur(14px);
  box-shadow: 0 10px 30px -20px rgba(11, 39, 26, 0.3);
  color: var(--color-gray);
  font-size: 0.95rem;
  font-weight: 700;
}
.availability-badge__dot {
  position: relative;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--color-lime);
  flex-shrink: 0;
}
.availability-badge__dot::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: var(--color-lime-light);
  animation: availability-ping 2s cubic-bezier(0, 0, 0.2, 1) infinite;
}
.availability-badge.is-offline {
  background: rgba(254, 254, 254, 0.85);
  color: var(--color-gray);
}
.availability-badge.is-offline .availability-badge__dot {
  background: var(--color-gray);
}
.availability-badge.is-offline .availability-badge__dot::before {
  content: none;
}
@keyframes availability-ping {
  0% { transform: scale(1); opacity: 0.7; }
  100% { transform: scale(2.5); opacity: 0; }
}

.contact__form {
  background: var(--color-surface);
  padding: clamp(24px, 4vw, 40px);
  display: grid;
  gap: 16px;
}
.contact__form .btn--primary { justify-self: start; }
.form-honeypot {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
.form-row-group { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-row { display: grid; gap: 8px; }
.form-row label { font-size: 0.85rem; font-weight: 700; color: var(--color-dark); }
.form-row input,
.form-row textarea,
.form-row select {
  font: inherit;
  width: 100%;
  padding: 16px;
  border: none;
  background: var(--color-white);
  color: var(--color-dark);
  transition: box-shadow 0.25s var(--ease);
  resize: vertical;
}
.form-row input:focus,
.form-row textarea:focus,
.form-row select:focus {
  outline: none;
  box-shadow: 0 0 0 2px var(--color-blue);
}
.select-wrap { position: relative; }
.select-wrap select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 48px;
  cursor: pointer;
}
.select-wrap select:invalid { color: var(--color-gray); }
.select-wrap select option { color: var(--color-dark); }
.select-wrap__icon {
  position: absolute;
  top: 50%;
  right: 16px;
  width: 20px;
  height: 20px;
  transform: translateY(-50%);
  color: var(--color-dark);
  pointer-events: none;
}
.form-status {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--color-lime);
  min-height: 1.2em;
}

/* ---------- Footer ---------- */
.footer {
  background: var(--color-dark);
  color: rgba(254,254,254,0.8);
  padding-block: 64px 24px;
}
.footer__inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 48px;
  margin-bottom: 48px;
}
.footer__brand { max-width: 320px; }
.footer-logo { display: block; width: fit-content; }
.footer-logo__img { display: block; height: 104px; width: auto; }

.footer__nav {
  display: flex;
  gap: 64px;
  flex-wrap: wrap;
}
.footer__nav h4 {
  color: var(--color-white);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 16px;
}
.footer__nav ul { display: grid; gap: 8px; }
.footer__nav a, .footer__nav li { font-size: 0.9rem; color: rgba(254,254,254,0.65); }
.footer__nav a:hover { color: var(--color-lime); }

.footer__bottom {
  border-top: 1px solid rgba(254,254,254,0.12);
  padding-top: 24px;
  font-size: 0.8rem;
  color: rgba(254,254,254,0.5);
}

/* ---------- WhatsApp floating button ---------- */
.whatsapp-float {
  position: fixed;
  right: 32px;
  bottom: 32px;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: #25D366;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-soft);
  z-index: 80;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.whatsapp-float svg {
  width: 32px;
  height: 32px;
  fill: var(--color-white);
}
.whatsapp-float:hover {
  transform: scale(1.08);
  box-shadow: 0 22px 40px -18px rgba(37, 211, 102, 0.55);
}

.whatsapp-float__tooltip {
  position: absolute;
  right: 100%;
  top: 50%;
  white-space: nowrap;
  margin-right: 16px;
  padding: 16px 24px;
  background: #25D366;
  color: var(--color-white);
  font-weight: 700;
  font-size: 0.85rem;
  line-height: 1;
  text-align: right;
  border-radius: 999px;
  box-shadow: var(--shadow-soft);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-50%) translateX(8px);
  transition: opacity 0.3s var(--ease-smooth), transform 0.3s var(--ease-smooth);
}
.whatsapp-float:hover .whatsapp-float__tooltip,
.whatsapp-float:focus-visible .whatsapp-float__tooltip {
  opacity: 1;
  transform: translateY(-50%) translateX(0);
}

/* ===========================================================
   Responsive
   =========================================================== */
@media (max-width: 900px) {
  .logo__mark { height: 80px; }

  .about-grid { grid-template-columns: 1fr; gap: 32px; }
  .about__media { order: 2; border-radius: 0 0 999px 999px; min-height: 320px; }
  .about__content { order: 1; padding: 40px 32px; }

  .nav {
    position: fixed;
    inset-inline: 0;
    top: 0;
    max-height: 100vh;
    overflow-y: auto;
    background: rgba(254, 254, 254, 0.85);
    backdrop-filter: blur(14px);
    color: var(--color-dark);
    padding: 152px 32px 40px;
    box-shadow: 0 10px 30px -20px rgba(11, 39, 26, 0.3);
    transform: translateX(100%);
    transition: transform 0.4s var(--ease);
    z-index: 90;
  }
  .nav.is-open { transform: translateX(0); }
  .nav__list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav__link {
    display: block;
    font-size: 1.2rem;
    padding-block: 24px;
    border-bottom: 1px solid var(--color-surface);
  }
  .nav__list li:last-child .nav__link { border-bottom: none; }
  .nav-toggle { display: block; z-index: 110; }
  .header__actions .btn--primary { display: none; }

  .hero__layout { flex-direction: column; min-height: 0; }
  .hero__content { padding-top: 152px; }
  .hero__text-wrap { max-width: none; text-align: center; margin-inline: auto; align-items: center; }
  .hero__text { margin-inline: auto; }
  .hero__strip { grid-template-columns: repeat(2, 1fr); }
  .hero__media { order: 3; min-height: 0; }
  .hero__media::after { display: none; }
  .hero__img {
    position: static;
    width: 100%;
    height: auto;
    object-fit: contain;
    border-radius: 0;
  }

  .product-grid { grid-template-columns: 1fr; }
  .service-grid { grid-template-columns: 1fr; }
  .section-head--with-cta { flex-direction: column; align-items: flex-start; }

  /* Mobile has no :hover, so the icon/photo crossfade becomes a
     swipeable carousel instead: both slides sit side by side and
     scroll-snap into place at the same size. The track stays full
     size — the arrow buttons live in the card's own side padding
     (.product-card has 48px of it) instead of shrinking the track
     or overlaying the image. */
  .product-card__track {
    display: flex;
    width: 100%;
    height: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .product-card__track::-webkit-scrollbar { display: none; }
  /* The wrapper — not the img — is the flex/snap item, and it clips
     overflow. Keep any future zoom/crop transform on the img here in
     mind: a CSS transform is never clipped by its own box, only by an
     ancestor's, so if a scale() ever comes back it has to be paired
     with this wrapper or it will bleed into the neighboring slide. */
  .product-card__slide {
    display: block;
    flex: 0 0 100%;
    width: 100%;
    height: 100%;
    overflow: hidden;
    scroll-snap-align: start;
    scroll-snap-stop: always;
  }
  .product-card__icon,
  .product-card__photo {
    position: static;
    width: 100%;
    height: 100%;
    margin: 0;
    opacity: 1;
    box-sizing: border-box;
  }
  .product-card__icon,
  .product-card__icon--asa {
    object-fit: contain;
    object-position: center;
    padding: 32px;
  }
  .product-card__icon--asa { padding: 8px; }
  .product-card__photo {
    object-fit: cover;
    transform: scale(1.15);
  }
  /* The asa handle's aspect ratio is far wider than this card's mobile
     visual box, so the cover+zoom treatment above crops real product
     content off it (looked broken). contain (set unconditionally above,
     next to .product-card__photo's base rule) keeps the whole handle
     visible at the cost of a bit of card-surface-colored letterboxing;
     the other products' photos are closer to the box's own aspect ratio
     so cover still looks right on them and fills the frame better. */
  .product-card__photo--asa {
    padding: 16px;
    transform: none;
  }
  .product-card:hover .product-card__icon,
  .product-card:hover .product-card__photo { opacity: 1; }

  .product-card__nav {
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    padding: 0;
    border: none;
    background: none;
    color: var(--color-lime);
    z-index: 3;
  }
  .product-card__nav svg { width: 24px; height: 24px; fill: currentColor; }
  .product-card__nav--prev { left: -48px; }
  .product-card__nav--prev svg { transform: scaleX(-1); }
  .product-card__nav--next { right: -48px; }
  .product-card__nav:disabled { opacity: 0.35; }

  .why-layout { grid-template-columns: 1fr; }
  .why__media { height: 320px; }
  .contact__inner { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .hero__strip { grid-template-columns: repeat(2, 1fr); gap: 24px 16px; }

  .form-row-group { grid-template-columns: 1fr; }

  .contact__item { flex-direction: column; align-items: flex-start; width: 100%; gap: 4px; }
  .contact__item-body { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; }
  .contact__item-label,
  .contact__item-value { text-align: left; }
  .contact__item-value--stacked { align-items: flex-start; }

  .whatsapp-float {
    right: 16px;
    bottom: 16px;
    width: 56px;
    height: 56px;
  }
  .whatsapp-float svg { width: 28px; height: 28px; }
  .whatsapp-float__tooltip { display: none; }
}
