/* =========================================================
   KATK Guatemala — fumigadorakatk.com
   Paleta tomada de la presentación de marca
   ========================================================= */
:root {
  --lime: #b9d51d;
  --lime-2: #d4ec3c;
  --green: #4b8534;
  --deep: #254707;
  --night: #0d1a07;
  --night-2: #13260a;
  --ink: #1b2414;
  --muted: #5b6652;
  --paper: #f7faf0;
  --white: #ffffff;
  --radius: 22px;
  --shadow: 0 30px 60px -25px rgba(37, 71, 7, .35);
  --ease: cubic-bezier(.22, 1, .36, 1);
  --hex: polygon(25% 0, 75% 0, 100% 50%, 75% 100%, 25% 100%, 0 50%);
  --hex-v: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  font-family: "Montserrat", system-ui, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
svg { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
::selection { background: var(--lime); color: var(--night); }

.container { width: min(1200px, 100% - 32px); margin-inline: auto; }

/* ---------- Loader ---------- */
.loader {
  position: fixed; inset: 0; z-index: 200; display: grid; place-items: center;
  background: var(--night); transition: opacity .6s var(--ease), visibility .6s;
}
.loader.is-done { opacity: 0; visibility: hidden; }
.loader__hex { position: relative; width: 120px; height: 120px; display: grid; place-items: center; }
.loader__hex svg { position: absolute; inset: 0; stroke: var(--lime); stroke-width: 2; stroke-dasharray: 300; stroke-dashoffset: 300; animation: draw 1.2s var(--ease) infinite alternate; }
.loader__hex img { width: 62px; animation: pop 1.2s var(--ease) infinite alternate; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes pop { from { transform: scale(.85); opacity: .6; } to { transform: scale(1); opacity: 1; } }

/* ---------- Cursor glow & progress ---------- */
.cursor-glow {
  position: fixed; left: 0; top: 0; width: 420px; height: 420px; margin: -210px 0 0 -210px;
  border-radius: 50%; pointer-events: none; z-index: 1;
  background: radial-gradient(circle, rgba(185, 213, 29, .14), transparent 65%);
  transform: translate3d(var(--x, -500px), var(--y, -500px), 0);
  transition: opacity .3s; mix-blend-mode: screen;
}
@media (hover: none) { .cursor-glow { display: none; } }
.progress { position: fixed; inset: 0 0 auto; height: 3px; z-index: 120; }
.progress span { display: block; height: 100%; width: 100%; transform-origin: left; transform: scaleX(var(--p, 0)); background: linear-gradient(90deg, var(--green), var(--lime)); }

/* ---------- Buttons ---------- */
.btn {
  --bg: transparent;
  display: inline-flex; align-items: center; gap: .6em; justify-content: center;
  padding: 1em 1.6em; border-radius: 999px; border: 2px solid transparent;
  font: 700 .95rem/1 "Montserrat", sans-serif; text-decoration: none; cursor: pointer;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background .3s, color .3s;
  will-change: transform;
}
.btn svg { width: 1.15em; height: 1.15em; stroke-width: 2.4; transition: transform .35s var(--ease); }
.btn:hover svg { transform: translateX(4px); }
.btn--lime { background: var(--lime); color: var(--night); box-shadow: 0 10px 30px -8px rgba(185, 213, 29, .7); }
.btn--lime:hover { background: var(--lime-2); box-shadow: 0 16px 40px -8px rgba(185, 213, 29, .9); }
.btn--ghost { border-color: rgba(255, 255, 255, .3); color: #fff; }
.btn--ghost:hover { border-color: var(--lime); color: var(--lime); }
.btn--sm { padding: .8em 1.3em; font-size: .85rem; }
.btn--block { width: 100%; }

/* ---------- Header ---------- */
.header {
  position: fixed; inset: 0 0 auto; z-index: 100; padding: 18px 0;
  transition: background .4s, padding .4s, box-shadow .4s, transform .4s var(--ease);
}
.header.is-scrolled {
  padding: 10px 0; background: rgba(13, 26, 7, .78);
  backdrop-filter: blur(14px) saturate(140%); -webkit-backdrop-filter: blur(14px) saturate(140%);
  box-shadow: 0 10px 30px -20px rgba(0, 0, 0, .6);
}
.header.is-hidden { transform: translateY(-100%); }
.header__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }

.brand { position: relative; display: inline-flex; align-items: flex-end; gap: 2px; padding-bottom: 13px; text-decoration: none; color: #fff; }
.brand__mark { width: 56px; height: auto; filter: drop-shadow(0 4px 10px rgba(185, 213, 29, .35)); transition: transform .5s var(--ease); }
.brand:hover .brand__mark { transform: rotate(-8deg) scale(1.06); }
.brand__text { display: flex; flex-direction: column; line-height: 1; }
.brand__name { font-weight: 800; font-size: 1.85rem; letter-spacing: .06em; background: linear-gradient(90deg, var(--lime), #6fbf2b); -webkit-background-clip: text; background-clip: text; color: transparent; }
.brand__sub { font-size: .5rem; font-weight: 700; letter-spacing: .1em; color: rgba(255, 255, 255, .7); position: absolute; left: 0; right: 0; bottom: 0; text-align: center; white-space: nowrap; letter-spacing: .32em; }

.nav { display: flex; align-items: center; gap: 30px; }
.nav a:not(.btn) { color: rgba(255, 255, 255, .85); text-decoration: none; font-weight: 600; font-size: .92rem; position: relative; padding: 6px 0; transition: color .3s; }
.nav a:not(.btn)::after { content: ""; position: absolute; left: 0; bottom: 0; width: 100%; height: 2px; background: var(--lime); transform: scaleX(0); transform-origin: right; transition: transform .4s var(--ease); }
.nav a:not(.btn):hover, .nav a.is-current { color: var(--lime); }
.nav a:not(.btn):hover::after, .nav a.is-current::after { transform: scaleX(1); transform-origin: left; }

.burger { display: none; width: 46px; height: 46px; border: 0; border-radius: 14px; background: rgba(255, 255, 255, .08); cursor: pointer; position: relative; z-index: 2; }
.burger span { position: absolute; left: 12px; right: 12px; height: 2px; background: #fff; border-radius: 2px; transition: transform .4s var(--ease), opacity .3s; }
.burger span:nth-child(1) { top: 16px; } .burger span:nth-child(2) { top: 22px; } .burger span:nth-child(3) { top: 28px; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100svh; display: flex; align-items: center;
  padding: 130px 0 90px; color: #fff; overflow: hidden;
  background: radial-gradient(120% 90% at 85% 10%, #1f3d0c 0%, var(--night) 55%);
}
.hero__canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero__aurora { position: absolute; inset: 0; pointer-events: none; filter: blur(70px); opacity: .55; }
.hero__aurora span { position: absolute; border-radius: 50%; animation: drift 18s ease-in-out infinite alternate; }
.hero__aurora span:nth-child(1) { width: 520px; height: 520px; background: #4b8534; left: -120px; top: 10%; }
.hero__aurora span:nth-child(2) { width: 420px; height: 420px; background: #b9d51d; right: -80px; bottom: -120px; opacity: .45; animation-duration: 22s; }
.hero__aurora span:nth-child(3) { width: 300px; height: 300px; background: #2d6a17; left: 45%; top: -80px; animation-duration: 26s; }
@keyframes drift { to { transform: translate(80px, 60px) scale(1.15); } }

.hero__grid { position: relative; display: grid; grid-template-columns: 1.05fr 1fr; gap: 60px; align-items: center; }
.pill {
  display: inline-flex; align-items: center; gap: 10px; margin: 0 0 22px;
  padding: 8px 16px; border-radius: 999px; font-size: .8rem; font-weight: 700; letter-spacing: .04em;
  background: rgba(185, 213, 29, .12); color: var(--lime); border: 1px solid rgba(185, 213, 29, .3);
}
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 0 rgba(185, 213, 29, .8); animation: ping 2s infinite; }
@keyframes ping { 70% { box-shadow: 0 0 0 10px rgba(185, 213, 29, 0); } 100% { box-shadow: 0 0 0 0 rgba(185, 213, 29, 0); } }

.hero__title { font-size: clamp(2.4rem, 5.6vw, 4.6rem); line-height: 1.04; font-weight: 900; letter-spacing: -.02em; margin: 0 0 24px; }
.rotator { position: relative; display: inline-grid; vertical-align: bottom; color: var(--lime); }
.rotator__word { grid-area: 1 / 1; opacity: 0; transform: translateY(60%) rotateX(-70deg); filter: blur(6px); transition: all .7s var(--ease); white-space: nowrap; }
.rotator__word.is-active { opacity: 1; transform: none; filter: none; }
.rotator__word.is-out { opacity: 0; transform: translateY(-60%) rotateX(70deg); filter: blur(6px); }
.rotator::after { content: ""; position: absolute; left: 0; right: 0; bottom: .08em; height: .14em; background: var(--lime); opacity: .25; border-radius: 4px; }

.hero__lead { font-size: clamp(1rem, 1.4vw, 1.15rem); color: rgba(255, 255, 255, .78); max-width: 540px; margin: 0 0 34px; }
.hero__lead strong { color: #fff; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 36px; }
.hero__chips { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; margin: 0; }
.hero__chips li { font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: 8px 14px 8px 30px; position: relative; color: rgba(255, 255, 255, .7); border: 1px solid rgba(255, 255, 255, .12); border-radius: 10px; }
.hero__chips li::before { content: ""; position: absolute; left: 12px; top: 50%; width: 10px; height: 10px; margin-top: -5px; background: var(--lime); clip-path: var(--hex-v); }

.hero__visual { position: relative; aspect-ratio: 1 / 1; max-width: 560px; justify-self: end; width: 100%; }
.hexframe { position: relative; overflow: hidden; }
.hexframe img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.hexframe--hero { position: absolute; inset: 4%; clip-path: var(--hex-v); box-shadow: var(--shadow); }
.hexframe--hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(200deg, transparent 50%, rgba(13, 26, 7, .5)); }
.hexframe--hero img { object-position: 70% center; transform: scale(1.08); }
.hero__visual:hover .hexframe--hero img { transform: scale(1.14); }
.tilt { transform-style: preserve-3d; transition: transform .6s var(--ease); }

.hex-deco { position: absolute; clip-path: var(--hex-v); pointer-events: none; }
.hex-deco--1 { width: 90px; height: 104px; background: var(--lime); right: -10px; top: 2%; animation: bob 6s ease-in-out infinite; }
.hex-deco--2 { width: 56px; height: 64px; background: var(--green); left: -6px; bottom: 16%; animation: bob 7s ease-in-out infinite reverse; }
.hex-deco--3 { width: 120px; height: 138px; right: 8%; bottom: -4%; background: transparent; border: 0; animation: bob 9s ease-in-out infinite; }
.hex-deco--3::before { content: ""; position: absolute; inset: 0; background: var(--lime); clip-path: var(--hex-v); }
.hex-deco--3::after { content: ""; position: absolute; inset: 3px; background: var(--night); clip-path: var(--hex-v); }
@keyframes bob { 50% { transform: translateY(-16px) rotate(6deg); } }

.float-card {
  position: absolute; display: flex; align-items: center; gap: 12px; padding: 12px 18px 12px 12px;
  background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .18); border-radius: 18px;
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 20px 40px -20px rgba(0, 0, 0, .6);
  font-size: .85rem; line-height: 1.25; animation: bob 7s ease-in-out infinite; z-index: 2;
}
.float-card strong { display: block; }
.float-card small { color: rgba(255, 255, 255, .7); font-size: .75rem; }
.float-card__icon { width: 42px; height: 42px; flex: none; display: grid; place-items: center; background: var(--lime); color: var(--night); clip-path: var(--hex-v); }
.float-card__icon svg { width: 22px; height: 22px; stroke-width: 2; }
.float-card--a { left: -8%; top: 22%; }
.float-card--b { right: -4%; bottom: 14%; animation-delay: -3s; }

.scroll-hint { position: absolute; left: 50%; bottom: 26px; width: 26px; height: 42px; margin-left: -13px; border: 2px solid rgba(255, 255, 255, .35); border-radius: 20px; }
.scroll-hint span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; background: var(--lime); border-radius: 2px; animation: wheel 1.8s infinite; }
@keyframes wheel { to { transform: translateY(14px); opacity: 0; } }

/* ---------- Marquee ---------- */
.marquee { background: var(--lime); color: var(--night); overflow: hidden; padding: 18px 0; transform: rotate(-1.2deg) scale(1.02); margin-top: -14px; position: relative; z-index: 3; box-shadow: 0 20px 40px -20px rgba(37, 71, 7, .5); }
.marquee__track { display: flex; align-items: center; gap: 36px; width: max-content; animation: marquee 32s linear infinite; }
.marquee span { font-weight: 800; font-size: clamp(1rem, 2vw, 1.4rem); text-transform: uppercase; letter-spacing: .04em; white-space: nowrap; }
.marquee i { width: 16px; height: 18px; background: var(--green); clip-path: var(--hex-v); flex: none; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
.section { position: relative; padding: clamp(80px, 11vw, 140px) 0; overflow: hidden; }
.section__head { max-width: 720px; margin-bottom: 56px; }
.section__head--center { margin-inline: auto; text-align: center; }
.section__lead { color: rgba(255, 255, 255, .7); font-size: 1.05rem; margin: 0; }

.eyebrow { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 14px; font-weight: 800; font-size: .8rem; letter-spacing: .18em; text-transform: uppercase; color: var(--green); }
.eyebrow::before { content: ""; width: 14px; height: 16px; background: currentColor; clip-path: var(--hex-v); }
.eyebrow--lime { color: var(--lime); }
h2.h2 { isolation: isolate; }
.h2 { font-size: clamp(1.9rem, 4vw, 3.1rem); font-weight: 900; line-height: 1.1; letter-spacing: -.02em; margin: 0 0 22px; color: var(--deep); }
.h2--light { color: #fff; }
.hl { position: relative; color: var(--green); white-space: nowrap; }
.h2--light .hl { color: var(--lime); }
.hl::after { content: ""; position: absolute; left: 0; right: 0; bottom: .02em; height: .32em; background: var(--lime); opacity: .3; z-index: -1; transform: scaleX(0); transform-origin: left; transition: transform 1s var(--ease) .4s; }
.is-in .hl::after, .hl.is-in::after { transform: scaleX(1); }
.h2.is-in .hl::after { transform: scaleX(1); }

/* Fondo de hexágonos (como la presentación) */
.hexbg {
  position: absolute; inset: 0; pointer-events: none; opacity: .9;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='208' viewBox='0 0 120 208'%3E%3Cg fill='none' stroke='%234b8534' stroke-opacity='.09' stroke-width='1.5'%3E%3Cpath d='M60 2l52 30v60l-52 30-52-30V32z'/%3E%3Cpath d='M0 106l52 30v60l-52 30M120 106l-52 30v60l52 30'/%3E%3C/g%3E%3C/svg%3E");
  background-size: 120px 208px;
  mask-image: radial-gradient(ellipse at 80% 20%, #000 0%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at 80% 20%, #000 0%, transparent 70%);
  animation: hexpan 60s linear infinite;
}
@keyframes hexpan { to { background-position: 120px 208px; } }

/* ---------- About ---------- */
.about__grid { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; }
.about__media { position: relative; aspect-ratio: 1 / 1.05; }
.hexframe--cut { position: absolute; inset: 0 14% 12% 0; clip-path: polygon(22% 0, 100% 0, 100% 78%, 78% 100%, 0 100%, 0 22%); border-radius: 8px; box-shadow: var(--shadow); }
.hexframe--mini { position: absolute; right: 0; bottom: 0; width: 46%; aspect-ratio: .87; clip-path: var(--hex-v); border: 0; }
.hexframe--mini::before { content: ""; position: absolute; inset: 0; z-index: 1; clip-path: var(--hex-v); box-shadow: inset 0 0 0 6px var(--lime); }
.about__media:hover img { transform: scale(1.05); }
.about__copy p { color: var(--muted); }
.about__copy strong { color: var(--ink); }

.tabs { margin-top: 30px; background: #fff; border-radius: var(--radius); padding: 10px 10px 4px; box-shadow: 0 20px 50px -30px rgba(37, 71, 7, .4); }
.tabs__list { position: relative; display: inline-flex; background: var(--paper); border-radius: 14px; padding: 5px; }
.tabs__list button { position: relative; z-index: 1; border: 0; background: none; padding: 10px 24px; font: 800 .9rem "Montserrat", sans-serif; color: var(--muted); cursor: pointer; transition: color .3s; }
.tabs__list button[aria-selected="true"] { color: var(--night); }
.tabs__ink { position: absolute; top: 5px; bottom: 5px; left: 0; border-radius: 10px; background: var(--lime); transition: transform .5s var(--ease), width .5s var(--ease); }
.tabs__panel { padding: 8px 16px 10px; animation: fadeUp .5s var(--ease); }
.tabs__panel p { margin: 10px 0; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(10px); } }

/* ---------- Services ---------- */
.services { background: var(--night); color: #fff; }
.services::before { content: ""; position: absolute; width: 700px; height: 700px; right: -250px; top: -200px; border-radius: 50%; background: radial-gradient(circle, rgba(185, 213, 29, .16), transparent 65%); }
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.svc {
  position: relative; border-radius: var(--radius); overflow: hidden; background: var(--night-2);
  border: 1px solid rgba(255, 255, 255, .07); transition: transform .5s var(--ease), border-color .4s, box-shadow .5s;
  transform-style: preserve-3d;
}
.svc:hover { border-color: rgba(185, 213, 29, .5); box-shadow: 0 30px 60px -30px rgba(185, 213, 29, .45); }
.svc__img { position: relative; aspect-ratio: 4 / 3; overflow: hidden; clip-path: polygon(0 0, 100% 0, 100% 82%, 86% 100%, 0 100%); }
.svc__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease), filter .6s; filter: saturate(.9); }
.svc__img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(13, 26, 7, .75)); }
.svc:hover .svc__img img { transform: scale(1.1); filter: saturate(1.15); }
.svc__body { position: relative; padding: 24px 26px 30px; }
.svc__num { position: absolute; right: 22px; top: -46px; z-index: 2; width: 64px; height: 72px; display: grid; place-items: center; background: var(--lime); color: var(--night); font-weight: 900; clip-path: var(--hex-v); transition: transform .6s var(--ease); }
.svc:hover .svc__num { transform: rotate(60deg); }
.svc h3 { margin: 0 0 8px; font-size: 1.18rem; font-weight: 800; line-height: 1.25; }
.svc p { margin: 0; color: rgba(255, 255, 255, .68); font-size: .95rem; }
.svc::after { content: ""; position: absolute; left: 0; bottom: 0; height: 4px; width: 100%; background: linear-gradient(90deg, var(--green), var(--lime)); transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease); }
.svc:hover::after { transform: scaleX(1); }

/* ---------- MIPU ---------- */
.mipu__grid { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; }
.mipu__copy p { color: var(--muted); }
.mipu__copy strong { color: var(--ink); }
.steps { list-style: none; padding: 0; margin: 30px 0 0; display: grid; gap: 14px; }
.steps li { display: flex; gap: 16px; align-items: center; padding: 14px 18px; background: #fff; border-radius: 16px; box-shadow: 0 14px 40px -28px rgba(37, 71, 7, .5); transition: transform .4s var(--ease); }
.steps li:hover { transform: translateX(8px); }
.steps li > span { width: 44px; height: 50px; flex: none; display: grid; place-items: center; font-weight: 900; color: var(--night); background: var(--lime); clip-path: var(--hex-v); }
.steps strong { display: block; color: var(--deep); }
.steps small { color: var(--muted); }

.mipu__diagram { position: relative; aspect-ratio: 1; max-width: 480px; width: 100%; justify-self: center; margin-bottom: 120px; }
.mipu__hint { position: absolute; top: -10px; left: 0; right: 0; text-align: center; margin: 0; font-size: .75rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--green); }
.mipu__core { position: absolute; left: 50%; top: 50%; width: 38%; aspect-ratio: .87; transform: translate(-50%, -50%); display: grid; place-items: center; background: linear-gradient(145deg, var(--green), var(--deep)); clip-path: var(--hex-v); }
.mipu__core span { font-size: clamp(1.6rem, 3.6vw, 2.6rem); font-weight: 900; color: var(--lime); letter-spacing: -.02em; }
.mipu__ring { position: absolute; left: 50%; top: 50%; width: 190%; height: 190%; transform: translate(-50%, -50%); }
.mipu__diagram::before { content: ""; position: absolute; inset: 14%; border: 2px dashed rgba(75, 133, 52, .35); border-radius: 50%; animation: spin 40s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.mipu__node {
  position: absolute; left: var(--x); top: var(--y); width: 92px; height: 104px; margin: -52px 0 0 -46px;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px;
  border: 0; cursor: pointer; background: #fff; color: var(--green); clip-path: var(--hex-v);
  font: 800 .8rem "Montserrat", sans-serif; transition: background .4s, color .4s, scale .4s var(--ease);
  filter: drop-shadow(0 10px 20px rgba(37, 71, 7, .25));
}
.mipu__node svg { width: 30px; height: 30px; }
.mipu__node:hover { scale: 1.08; }
.mipu__node.is-active { background: var(--lime); color: var(--night); scale: 1.12; }
.mipu__info { position: absolute; left: 50%; top: calc(100% + 6px); width: min(360px, 100%); transform: translateX(-50%); text-align: center; background: #fff; border-radius: 18px; padding: 16px 20px; box-shadow: 0 20px 50px -30px rgba(37, 71, 7, .5); border-top: 4px solid var(--lime); }
.mipu__info strong { color: var(--deep); font-size: 1.05rem; }
.mipu__info p { margin: 4px 0 0; font-size: .9rem; color: var(--muted); }
.mipu__info.is-swap { animation: fadeUp .45s var(--ease); }

/* ---------- Strategy ---------- */
.strategy { background: linear-gradient(160deg, var(--deep), var(--night) 70%); color: #fff; }
.strategy__grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: 70px; align-items: center; }
.strategy__photo { position: relative; aspect-ratio: 1 / 1.05; }
.hexframe--cut2 { position: absolute; inset: 8% 0 8% 8%; clip-path: polygon(0 0, 78% 0, 100% 22%, 100% 100%, 22% 100%, 0 78%); border-radius: 8px; }
.strategy__photo:hover img { transform: scale(1.05); }
.tagbox { position: absolute; padding: 18px 34px 18px 26px; font-weight: 800; font-size: 1.1rem; line-height: 1.2; clip-path: polygon(0 0, 100% 0, 88% 100%, 0 100%); box-shadow: var(--shadow); }
.tagbox--lime { background: var(--lime); color: var(--night); left: 0; bottom: 4%; animation: bob 7s ease-in-out infinite; }
.tagbox--green { background: var(--green); color: #fff; right: -2%; top: 2%; clip-path: polygon(12% 0, 100% 0, 100% 100%, 0 100%); padding: 18px 26px 18px 34px; animation: bob 8s ease-in-out infinite reverse; }
.strategy__copy > p { color: rgba(255, 255, 255, .75); }
.strategy__sub { margin: 34px 0 16px; font-size: 1.1rem; font-weight: 800; color: var(--lime); }
.pillars { display: grid; gap: 12px; }
.pillar { display: flex; align-items: center; gap: 16px; padding: 16px 20px; border-radius: 16px; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .08); transition: background .4s, transform .4s var(--ease), border-color .4s; }
.pillar:hover { background: rgba(185, 213, 29, .1); border-color: rgba(185, 213, 29, .4); transform: translateX(6px); }
.pillar svg { width: 30px; height: 30px; color: var(--lime); flex: none; }
.pillar span { font-weight: 700; }
.result { display: flex; align-items: center; gap: 14px; margin: 18px 0 0; font-weight: 900; font-size: 1.35rem; color: #fff; }
.result span { width: 48px; height: 54px; display: grid; place-items: center; background: var(--lime); color: var(--night); clip-path: var(--hex-v); }

/* ---------- Values / honeycomb ---------- */
.honeycomb { display: flex; flex-wrap: wrap; justify-content: center; gap: 18px 22px; max-width: 740px; margin-inline: auto; } /* 3 arriba + 2 abajo: 3×230 + 2×22 */
.hexcard {
  position: relative; width: 230px; aspect-ratio: .87; padding: 34px 28px; text-align: center;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  background: #fff; clip-path: var(--hex-v); transition: transform .5s var(--ease), background .4s;
  filter: drop-shadow(0 0 0 transparent);
}
.honeycomb .hexcard:nth-child(4) { margin-left: 0; }
.hexcard::before { content: ""; position: absolute; inset: 0; clip-path: var(--hex-v); background: linear-gradient(160deg, var(--lime), var(--green)); opacity: 0; transition: opacity .45s; }
.hexcard > * { position: relative; }
.hexcard svg { width: 54px; height: 54px; color: var(--green); stroke-width: 1.6; margin-bottom: 10px; transition: color .4s, transform .6s var(--ease); }
.hexcard h3 { margin: 0 0 6px; font-weight: 800; color: var(--deep); font-size: 1.08rem; transition: color .4s; }
.hexcard p { margin: 0; font-size: .82rem; color: var(--muted); line-height: 1.45; transition: color .4s; }
.hexcard:hover { transform: translateY(-10px); }
.hexcard:hover::before { opacity: 1; }
.hexcard:hover svg { color: var(--night); transform: scale(1.12) rotate(-6deg); }
.hexcard:hover h3, .hexcard:hover p { color: var(--night); }

/* ---------- Gallery ---------- */
.sectors { background: var(--night); color: #fff; }
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 240px; gap: 18px; }
.gallery__item { position: relative; margin: 0; border-radius: var(--radius); overflow: hidden; }
.gallery__item--tall { grid-row: span 2; }
.gallery__item--wide { grid-column: span 2; }
.gallery__item:nth-child(2) { grid-row: span 2; }
.gallery__item:nth-child(3) img { object-position: center 35%; }
.gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.gallery__item::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, rgba(13, 26, 7, .85)); }
.gallery__item:hover img { transform: scale(1.08); }
.gallery figcaption { position: absolute; left: 20px; bottom: 18px; z-index: 1; font-weight: 800; font-size: 1.1rem; display: flex; align-items: center; gap: 10px; }
.gallery figcaption::before { content: ""; width: 14px; height: 16px; background: var(--lime); clip-path: var(--hex-v); }

/* ---------- Contact ---------- */
.contact__grid { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; }
.contact__copy > p { color: var(--muted); }
.contact__list { list-style: none; padding: 0; margin: 30px 0 0; display: grid; gap: 16px; }
.contact__list li { display: flex; align-items: center; gap: 16px; font-weight: 700; color: var(--deep); }
.contact__list small { display: block; font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); font-weight: 700; }
.contact__list a { text-decoration: none; transition: color .3s; }
.contact__list a:hover { color: var(--green); }
.ci { width: 52px; height: 58px; flex: none; display: grid; place-items: center; background: var(--deep); color: var(--lime); clip-path: var(--hex-v); }
.ci svg { width: 24px; height: 24px; }

.form { background: #fff; border-radius: 28px; padding: clamp(24px, 4vw, 40px); box-shadow: 0 40px 80px -40px rgba(37, 71, 7, .5); position: relative; overflow: hidden; }
.form::before { content: ""; position: absolute; right: -40px; top: -40px; width: 140px; height: 160px; background: var(--lime); clip-path: var(--hex-v); opacity: .9; }
.form h3 { position: relative; margin: 0 0 24px; font-size: 1.4rem; font-weight: 900; color: var(--deep); }
.field { position: relative; margin-bottom: 16px; }
.field input, .field select, .field textarea {
  width: 100%; padding: 22px 16px 10px; border: 2px solid #e4ebd6; border-radius: 14px; background: var(--paper);
  font: 600 .95rem "Montserrat", sans-serif; color: var(--ink); outline: none; transition: border-color .3s, background .3s; appearance: none; resize: vertical;
}
.field select { cursor: pointer; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%234b8534' stroke-width='3'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; }
.field label { position: absolute; left: 18px; top: 17px; font-size: .92rem; font-weight: 600; color: var(--muted); pointer-events: none; transition: all .25s var(--ease); }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--lime); background: #fff; }
.field input:focus + label, .field input:not(:placeholder-shown) + label,
.field textarea:focus + label, .field textarea:not(:placeholder-shown) + label,
.field select:focus + label, .field select:valid + label { top: 7px; font-size: .7rem; color: var(--green); letter-spacing: .06em; text-transform: uppercase; }
.field.is-error input, .field.is-error select { border-color: #d9534f; }

.seg { border: 0; padding: 0; margin: 0 0 16px; display: flex; gap: 8px; flex-wrap: wrap; }
.seg legend { font-size: .7rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; padding: 0; }
.seg label { flex: 1; min-width: 90px; }
.seg input { position: absolute; opacity: 0; pointer-events: none; }
.seg span { display: block; text-align: center; padding: 11px 10px; border-radius: 12px; border: 2px solid #e4ebd6; font-weight: 700; font-size: .85rem; cursor: pointer; transition: all .3s; }
.seg input:checked + span { background: var(--deep); border-color: var(--deep); color: var(--lime); }
.seg input:focus-visible + span { outline: 2px solid var(--lime); outline-offset: 2px; }
.form__note { margin: 12px 0 0; font-size: .85rem; font-weight: 600; color: var(--green); min-height: 1.2em; text-align: center; }

/* ---------- Footer ---------- */
.footer { position: relative; background: var(--night); color: rgba(255, 255, 255, .7); padding: 70px 0 28px; overflow: hidden; }
.footer__hexes { position: absolute; inset: 0 0 auto; height: 6px; background: linear-gradient(90deg, var(--green), var(--lime), var(--green)); background-size: 200% 100%; animation: shimmer 6s linear infinite; }
@keyframes shimmer { to { background-position: -200% 0; } }
.footer__inner { display: flex; justify-content: space-between; align-items: flex-start; gap: 40px; flex-wrap: wrap; padding-bottom: 40px; border-bottom: 1px solid rgba(255, 255, 255, .08); }
.footer__brand p { margin: 14px 0 0; font-weight: 700; color: var(--lime); font-size: .85rem; letter-spacing: .04em; }
.footer__nav { display: flex; flex-wrap: wrap; gap: 14px 28px; }
.footer__nav a { text-decoration: none; font-weight: 600; transition: color .3s; }
.footer__nav a:hover { color: var(--lime); }
.footer__bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 24px; font-size: .82rem; }

/* ---------- WhatsApp float ---------- */
.wa-float { position: fixed; right: 20px; bottom: 20px; z-index: 90; width: 62px; height: 70px; display: grid; place-items: center; background: #25d366; color: #fff; clip-path: var(--hex-v); transition: transform .4s var(--ease); }
.wa-float svg { width: 32px; height: 32px; fill: currentColor; stroke: none; }
.wa-float:hover { transform: scale(1.1) rotate(-8deg); }
.wa-float::after { content: ""; position: absolute; inset: 0; background: rgba(255, 255, 255, .35); clip-path: var(--hex-v); animation: waPulse 2.4s infinite; }
@keyframes waPulse { 0% { transform: scale(.6); opacity: .8; } 100% { transform: scale(1.3); opacity: 0; } }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(40px); transition: opacity 1s var(--ease), transform 1s var(--ease); transition-delay: calc(var(--i, 0) * 90ms); }
.reveal.is-in { opacity: 1; transform: none; }
.hexcard.reveal { transform: translateY(40px) scale(.9); }
.hexcard.reveal.is-in { transform: none; }
.hexcard.reveal.is-in:hover { transform: translateY(-10px); }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .svc-grid { grid-template-columns: repeat(2, 1fr); }
  .hero__grid, .about__grid, .mipu__grid, .strategy__grid, .contact__grid { gap: 50px; }
  .float-card--a { left: 0; }
}
@media (max-width: 860px) {
  .burger { display: block; }
  .nav {
    position: fixed; inset: 0; flex-direction: column; justify-content: center; gap: 26px;
    background: rgba(13, 26, 7, .97); backdrop-filter: blur(10px);
    clip-path: circle(0 at calc(100% - 40px) 40px); transition: clip-path .7s var(--ease); visibility: hidden;
  }
  .nav.is-open { clip-path: circle(150% at calc(100% - 40px) 40px); visibility: visible; }
  .nav a:not(.btn) { font-size: 1.5rem; }
  .hero__grid, .about__grid, .mipu__grid, .strategy__grid, .contact__grid { grid-template-columns: 1fr; }
  .hero { padding-top: 110px; }
  .hero__visual { justify-self: center; max-width: 440px; order: -1; }
  .float-card { font-size: .78rem; padding: 10px 14px 10px 10px; }
  .float-card__icon { width: 36px; height: 36px; }
  .scroll-hint, .hex-deco--3 { display: none; }
  .about__media, .strategy__photo { max-width: 480px; width: 100%; margin-inline: auto; }
  .gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 200px; }
  .gallery__item--tall, .gallery__item:nth-child(2) { grid-row: span 2; }
}
@media (max-width: 560px) {
  .svc-grid { grid-template-columns: 1fr; }
  .brand__mark { width: 46px; }
  .brand__name { font-size: 1.55rem; }
  .hero__title { font-size: 2.3rem; }
  .float-card--a { left: -2%; top: 10%; }
  .float-card--b { right: -2%; bottom: 4%; }
  .hexcard { width: calc(50% - 11px); padding: 18px 14px; }
  .hexcard svg { width: 38px; height: 38px; margin-bottom: 4px; }
  .hexcard h3 { font-size: .9rem; }
  .hexcard p { font-size: .7rem; }
  .mipu__node { width: 76px; height: 86px; margin: -43px 0 0 -38px; font-size: .7rem; }
  .mipu__node svg { width: 24px; height: 24px; }
  .mipu__diagram { margin-bottom: 150px; }
  .tagbox { font-size: .9rem; padding: 12px 26px 12px 18px; }
  .gallery { grid-auto-rows: 160px; gap: 12px; }
  .footer__bottom { flex-direction: column; }
}

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