/* ==========================================================
   LTA Bozzo Asesorías · estilos del sitio (v2, diseño moderno)
   Paleta y tipografía según Manual de Marca (Roboto)
   Paneles redondeados, nav flotante, tarjetas suaves.
   ========================================================== */
:root {
  --green: #043f3c;
  --green-900: #022b29;
  --green-700: #0b5753;
  --gold: #ceb034;
  --gold-700: #8f7a14;
  --ink: #10201f;
  --muted: #546a69;
  --white: #fff;
  --mint: #eef3ef;      /* verde muy suave para tarjetas */
  --sand: #f8f3dd;      /* dorado muy suave para tarjetas */
  --line: rgba(4, 63, 60, .12);
  --r-xl: 36px;
  --r-lg: 28px;
  --r-md: 20px;
  --shadow: 0 24px 48px -28px rgba(2, 43, 41, .35);
  --panel-w: min(1320px, 100% - 2rem);
  --nav-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
body {
  margin: 0; font-family: "Roboto", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 1.0625rem; line-height: 1.65; color: var(--ink); background: var(--white);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, p { margin: 0; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 6px; }

.wrap { width: min(1200px, 100% - 2.5rem); margin-inline: auto; }
.section { padding: clamp(3.5rem, 8vw, 6.5rem) 0; }

/* ---------- Títulos ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: .55rem; margin-bottom: 1.1rem;
  padding: .42rem .95rem .42rem .8rem; border-radius: 999px; background: var(--mint);
  font-size: .76rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--green-700);
}
.eyebrow::before { content: ""; width: .5rem; height: .5rem; border-radius: 50%; background: var(--gold); }
.on-dark .eyebrow { background: rgba(255, 255, 255, .1); color: var(--gold); }
.h2 { font-size: clamp(2rem, 4.4vw, 3.2rem); line-height: 1.08; font-weight: 500; letter-spacing: -.035em; color: var(--green); }
.on-dark .h2 { color: var(--white); }
.h2 em, .hero h1 em, .hero .h1like em, .problema h2 em, .contacto h2 em { font-style: normal; font-weight: 700; color: var(--gold); }
.section .h2 em { color: var(--green-700); }
.on-dark .h2 em { color: var(--gold); }
.lead { font-size: 1.12rem; color: var(--muted); max-width: 56ch; margin-top: 1rem; }
.on-dark .lead { color: rgba(255, 255, 255, .78); }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  padding: 1rem 1.7rem; border-radius: 999px; border: 2px solid transparent;
  font: 700 1rem/1 "Roboto", sans-serif; text-decoration: none; cursor: pointer;
  transition: transform .2s ease, background .2s ease, color .2s ease, box-shadow .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn--gold { background: var(--gold); color: var(--green-900); }
.btn--gold:hover { background: #dcc044; box-shadow: 0 14px 28px -14px rgba(206, 176, 52, 1); }
.btn--green { background: var(--green); color: var(--white); }
.btn--green:hover { background: var(--green-900); box-shadow: 0 14px 28px -14px rgba(2, 43, 41, .8); }
.btn--sm { padding: .78rem 1.3rem; font-size: .92rem; }
.btn svg { width: 1.25em; height: 1.25em; flex: none; }

/* ---------- Navegación flotante ---------- */
.nav { position: fixed; z-index: 50; top: 14px; left: 0; right: 0; pointer-events: none; }
.nav__in {
  pointer-events: auto; width: min(1320px, 100% - 2rem); margin-inline: auto;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: .55rem .6rem .55rem 1.5rem; border-radius: 999px;
  background: rgba(255, 255, 255, .9); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--line); transition: box-shadow .3s ease, background .3s ease;
}
.nav.is-solid .nav__in { box-shadow: 0 18px 40px -24px rgba(2, 43, 41, .5); background: rgba(255, 255, 255, .96); }
.nav__logo img { height: 42px; width: auto; }
.nav__links { display: flex; align-items: center; gap: 2rem; }
.nav__links a:not(.btn) { color: var(--green); text-decoration: none; font-weight: 500; font-size: .96rem; position: relative; }
.nav__links a:not(.btn)::after { content: ""; position: absolute; left: 0; bottom: -6px; width: 0; height: 2px; background: var(--gold); transition: width .25s ease; }
.nav__links a:not(.btn):hover::after { width: 100%; }
.nav__links .btn--gold { background: var(--green); color: var(--white); }
.nav__links .btn--gold:hover { background: var(--green-900); }
.nav__burger { display: none; width: 46px; height: 46px; border: 0; border-radius: 50%; background: var(--green); cursor: pointer; padding: 0; position: relative; }
.nav__burger span { position: absolute; left: 14px; right: 14px; height: 2px; background: var(--white); border-radius: 2px; transition: transform .25s ease, opacity .2s ease, top .25s ease; }
.nav__burger span:nth-child(1) { top: 16px; }
.nav__burger span:nth-child(2) { top: 22px; }
.nav__burger span:nth-child(3) { top: 28px; }
.nav__burger[aria-expanded="true"] span:nth-child(1) { top: 22px; transform: rotate(45deg); }
.nav__burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__burger[aria-expanded="true"] span:nth-child(3) { top: 22px; transform: rotate(-45deg); }

/* ---------- Hero: panel redondeado con slider ---------- */
.hero { position: relative; width: var(--panel-w); margin: 92px auto 0; border-radius: var(--r-xl); background: var(--green-900); color: var(--white); overflow: hidden; isolation: isolate; }
.hero__slides { display: grid; }
.slide {
  grid-area: 1 / 1; position: relative; min-height: clamp(560px, 80vh, 700px); display: flex; align-items: center;
  opacity: 0; visibility: hidden; transition: opacity .9s ease, visibility .9s; overflow: hidden;
}
.slide.is-active { opacity: 1; visibility: visible; z-index: 1; }
.slide__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: var(--pos, 62% 15%); }
.slide.is-active .slide__img { animation: kenburns 9s ease-out both; }
@keyframes kenburns { from { transform: scale(1.06); } to { transform: scale(1); } }
.slide::before {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(90deg, rgba(2, 43, 41, .96) 0%, rgba(4, 63, 60, .86) 32%, rgba(4, 63, 60, .3) 58%, rgba(4, 63, 60, 0) 74%);
}
.slide__body { position: relative; z-index: 2; width: 100%; padding: 4rem 3rem 8rem 6rem; }
.slide__txt { max-width: 35rem; }
.slide .eyebrow { background: rgba(255, 255, 255, .12); color: var(--gold); }
.hero h1, .hero .h1like { font-size: clamp(2.3rem, 4.8vw, 3.8rem); line-height: 1.06; font-weight: 700; letter-spacing: -.035em; }
.hero p.sub { margin-top: 1.3rem; font-size: clamp(1.05rem, 1.5vw, 1.2rem); color: rgba(255, 255, 255, .88); max-width: 29rem; }
.hero .btn { margin-top: 2rem; }

.dots { position: absolute; z-index: 5; left: 2.2rem; top: 50%; transform: translateY(-50%); display: flex; flex-direction: column; gap: .6rem; }
.dots button { width: 5px; height: 38px; border: 0; padding: 0; border-radius: 3px; background: rgba(255, 255, 255, .3); cursor: pointer; position: relative; overflow: hidden; }
.dots button::after { content: ""; position: absolute; inset: 0; background: var(--gold); transform: scaleY(0); transform-origin: top; }
.dots button.is-active::after { animation: fillY 7s linear forwards; }
.hero.is-paused .dots button.is-active::after { animation-play-state: paused; }
@keyframes fillY { from { transform: scaleY(0); } to { transform: scaleY(1); } }
@keyframes fillX { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.hero > .arrows { position: absolute; z-index: 5; left: 6rem; bottom: 2.2rem; }
.arrows { display: flex; gap: .6rem; }
.round {
  width: 46px; height: 46px; border-radius: 50%; border: 1.5px solid rgba(255, 255, 255, .45);
  background: rgba(2, 43, 41, .3); color: var(--white); cursor: pointer; display: grid; place-items: center;
  transition: background .2s ease, color .2s ease, border-color .2s ease;
}
.round:hover { background: var(--gold); color: var(--green-900); border-color: var(--gold); }
.round svg { width: 20px; height: 20px; }
.round--dark { border-color: var(--line); background: var(--mint); color: var(--green); }
.arrows .round--dark:last-child { background: var(--green); color: var(--white); border-color: var(--green); }
.round--dark:hover { background: var(--gold); color: var(--green-900); border-color: var(--gold); }

/* tarjeta recortada en la esquina del hero */
.cut {
  position: absolute; z-index: 6; right: 0; bottom: 0; display: flex; align-items: center; gap: 1rem;
  padding: 1.15rem 1.3rem 1.15rem 1.5rem; background: var(--white); color: var(--green); text-decoration: none;
  border-top-left-radius: var(--r-lg);
}
.cut::before, .cut::after { content: ""; position: absolute; width: 28px; height: 28px; background: radial-gradient(circle at 0 0, transparent 27.5px, var(--white) 28px); }
.cut::before { left: -28px; bottom: 0; }
.cut::after { right: 0; top: -28px; }
.cut__ico { display: flex; }
.cut__ico i { width: 40px; height: 40px; border-radius: 50%; background: var(--green); color: var(--gold); display: grid; place-items: center; border: 3px solid var(--white); margin-left: -11px; }
.cut__ico i:first-child { margin-left: 0; }
.cut__ico svg { width: 19px; height: 19px; }
.cut__txt b { display: block; font-size: 1.02rem; line-height: 1.2; }
.cut__txt small { display: block; color: var(--muted); font-size: .84rem; margin-top: .15rem; }
.cut__go { width: 46px; height: 46px; border-radius: 50%; background: var(--green); color: var(--white); display: grid; place-items: center; transition: transform .25s ease, background .25s ease; }
.cut__go svg { width: 20px; height: 20px; }
.cut:hover .cut__go { transform: translateX(4px); background: var(--gold); color: var(--green-900); }

/* ---------- Cifras ---------- */
.stats { padding: 1.2rem 0 0; }
.stats__grid { width: var(--panel-w); margin-inline: auto; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.stat { background: var(--mint); border-radius: var(--r-lg); padding: 1.8rem 1.8rem 1.9rem; }
.stat b { display: block; font-size: clamp(2.3rem, 4vw, 3.2rem); font-weight: 700; line-height: 1; color: var(--green); letter-spacing: -.04em; }
.stat span { display: block; margin-top: .8rem; font-size: .98rem; color: var(--muted); line-height: 1.4; max-width: 18ch; }
.stat:nth-child(2) { background: var(--sand); }

/* ---------- Quién soy ---------- */
.about__grid { display: grid; grid-template-columns: 5fr 6fr; gap: clamp(2.5rem, 6vw, 5.5rem); align-items: start; }
.about__photo { position: relative; }
.about__photo > img { width: 100%; aspect-ratio: 5 / 4; object-fit: cover; border-radius: var(--r-xl); }
.about__txt p { margin-top: 1.2rem; color: var(--muted); }
.about__txt .h2 + p { margin-top: 1.6rem; }
.about__txt h3 { margin-top: 2rem; font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--green-700); }
.checks { list-style: none; padding: 0; margin: 1rem 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: .7rem; }
.checks li { display: flex; align-items: center; gap: .8rem; padding: .85rem 1rem; background: var(--mint); border-radius: var(--r-md); font-weight: 500; line-height: 1.35; color: var(--green); font-size: .98rem; }
.checks li::before { content: ""; flex: none; width: 1.3rem; height: 1.3rem; border-radius: 50%; background: var(--green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ceb034' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12.5 4 4 8-9'/%3E%3C/svg%3E") center / 72% no-repeat; }
.firma { margin-top: 1.8rem; font-weight: 700; color: var(--green); }

/* ---------- Banda "problema" (panel verde) ---------- */
.problema { padding: 0; }
.problema > .wrap { position: relative; width: var(--panel-w); background: var(--green); color: var(--white); border-radius: var(--r-xl); padding: clamp(2.6rem, 7vw, 5.5rem) clamp(1.6rem, 6vw, 5.5rem); overflow: hidden; display: grid; gap: 1.4rem; }
.problema > .wrap::after { content: ""; position: absolute; right: -4%; top: 50%; width: min(42vw, 480px); aspect-ratio: 1; transform: translateY(-50%); background: url("../img/logo-vertical-calado.png") center / contain no-repeat; opacity: .08; pointer-events: none; }
.problema h2 { position: relative; z-index: 1; font-size: clamp(2rem, 4.6vw, 3.4rem); font-weight: 500; line-height: 1.06; letter-spacing: -.035em; max-width: 18ch; }
.problema p { position: relative; z-index: 1; font-size: clamp(1.08rem, 1.7vw, 1.28rem); color: rgba(255, 255, 255, .82); max-width: 54ch; }

/* ---------- Servicios (bento) ---------- */
.sec-head { margin-bottom: clamp(2rem, 5vw, 3.4rem); }
.cards { display: grid; grid-template-columns: repeat(6, 1fr); gap: 1.1rem; }
.card {
  grid-column: span 2; position: relative; background: var(--mint); border-radius: var(--r-lg);
  padding: 2rem 1.9rem 2.2rem; display: flex; flex-direction: column; gap: 1rem; min-height: 290px;
  transition: transform .3s ease, box-shadow .3s ease;
}
.card:nth-child(1), .card:nth-child(2) { grid-column: span 3; min-height: 300px; }
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.card__ico { width: 60px; height: 60px; border-radius: 50%; background: var(--green); color: var(--gold); display: grid; place-items: center; }
.card__ico svg { width: 29px; height: 29px; }
.tag { align-self: flex-start; font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--green-700); background: rgba(255, 255, 255, .7); padding: .34rem .8rem; border-radius: 999px; }
.card h3 { font-size: 1.45rem; line-height: 1.18; color: var(--green); letter-spacing: -.02em; font-weight: 700; }
.card p { color: var(--muted); font-size: 1rem; }

/* ---------- Valores (panel verde) ---------- */
.valores { padding: 0; }
.valores > .wrap { width: var(--panel-w); background: var(--green); border-radius: var(--r-xl); padding: clamp(2.6rem, 7vw, 5.5rem) clamp(1.6rem, 6vw, 5.5rem); }
.valores__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.valor { background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .1); border-radius: var(--r-lg); padding: 1.7rem 1.5rem 1.9rem; }
.valor i { font-style: normal; display: grid; place-items: center; width: 2.6rem; height: 2.6rem; border-radius: 50%; background: var(--gold); color: var(--green-900); font-weight: 700; font-size: .92rem; }
.valor h3 { margin-top: 1.3rem; font-size: 1.25rem; line-height: 1.2; letter-spacing: -.01em; color: var(--white); }
.valor p { margin-top: .6rem; color: rgba(255, 255, 255, .75); font-size: 1rem; }
.cierre { margin-top: clamp(1.8rem, 4vw, 3rem); padding: clamp(1.5rem, 4vw, 2.4rem); border-radius: var(--r-lg); background: var(--gold); color: var(--green-900); font-size: clamp(1.1rem, 2vw, 1.4rem); line-height: 1.45; font-weight: 500; letter-spacing: -.01em; }

/* ---------- Carruseles ---------- */
.car__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 1.5rem; margin-bottom: clamp(1.6rem, 4vw, 2.6rem); }
.car__head .sec-head { margin: 0; }
.track {
  display: flex; gap: 1.1rem; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
  padding: .4rem max(1.25rem, calc((100vw - 1200px) / 2)) 1.4rem; margin-inline: calc(50% - 50vw);
  scroll-padding-inline: max(1.25rem, calc((100vw - 1200px) / 2));
  -webkit-overflow-scrolling: touch;
}
.track::-webkit-scrollbar { display: none; }
.track > * { flex: 0 0 min(84%, 370px); scroll-snap-align: start; }

/* ---------- Proyectos ---------- */
.proyectos { overflow: hidden; }
.pcard { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); padding: .6rem; transition: transform .3s ease, box-shadow .3s ease; }
.pcard:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.pcard__img { position: relative; aspect-ratio: 4 / 3.3; background: #e6e6e6; border-radius: calc(var(--r-lg) - 6px); overflow: hidden; }
.pcard__img img { width: 100%; height: 100%; object-fit: cover; }
.pcard__img img.is-contain { object-fit: contain; padding: 1.2rem; }
.pcard__state { position: absolute; left: .8rem; top: .8rem; background: var(--white); color: var(--green); font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: .42rem .85rem; border-radius: 999px; display: inline-flex; align-items: center; gap: .45rem; }
.pcard__state::before { content: ""; width: .5rem; height: .5rem; border-radius: 50%; background: var(--gold); }
.pcard__body { padding: 1.2rem .9rem 1.2rem; display: grid; gap: .25rem; }
.pcard__body h3 { font-size: 1.3rem; color: var(--green); line-height: 1.2; letter-spacing: -.02em; }
.pcard__body .meta { font-size: .95rem; color: var(--muted); }
.pcard__body .meta b { color: var(--ink); font-weight: 500; }
.pcard__body .tag { margin-top: .7rem; background: var(--mint); }
.pcard__body .desc { margin-top: .7rem; font-size: .96rem; line-height: 1.55; color: var(--muted); }

/* ---------- Clientes ---------- */
.clientes { padding: clamp(1rem, 3vw, 2rem) 0 clamp(3rem, 7vw, 5rem); }
.clientes .wrap { display: flex; align-items: center; justify-content: center; gap: 1.6rem 3.5rem; flex-wrap: wrap; padding: 1.6rem 2rem; border-radius: 999px; background: var(--mint); }
.clientes h2 { font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; color: var(--green-700); font-weight: 700; }
.clientes__logos { display: flex; flex-wrap: wrap; gap: 1.5rem; align-items: center; justify-content: center; }
.clientes__logos img { height: 52px; width: auto; border-radius: 10px; }

/* ---------- Testimonios ---------- */
.testimonios { background: var(--mint); overflow: hidden; border-radius: var(--r-xl); width: var(--panel-w); margin-inline: auto; }
.quote { display: flex; flex-direction: column; justify-content: flex-start; gap: 1.6rem; background: var(--white); border: 2px solid transparent; border-radius: var(--r-lg); padding: 2rem 1.8rem 1.8rem; position: relative; margin: 0; transition: border-color .25s ease, transform .3s ease; }
.quote:hover { border-color: var(--green); transform: translateY(-4px); }
.quote::before { content: "“"; display: grid; place-items: center; width: 3rem; height: 3rem; border-radius: 50%; background: var(--green); color: var(--gold); font: 900 2.6rem/1.15 Georgia, serif; padding-top: .55rem; }
.quote p { font-size: 1.08rem; line-height: 1.6; color: var(--ink); }
.quote footer { display: flex; align-items: center; gap: .9rem; padding-top: 1.2rem; border-top: 1px solid var(--line); }
.avatar { flex: none; width: 46px; height: 46px; border-radius: 50%; background: var(--gold); color: var(--green-900); display: grid; place-items: center; font-weight: 700; font-size: 1.02rem; }
.quote footer b { display: block; font-weight: 700; line-height: 1.2; color: var(--green); }
.quote footer span { font-size: .9rem; color: var(--muted); }
.testimonios .track > * { flex-basis: min(88%, 420px); }
.testimonios { padding: clamp(2.4rem, 6vw, 4.5rem) clamp(1.2rem, 5vw, 4rem); }
.testimonios > .wrap { width: 100%; }
.testimonios .track { margin-inline: 0; padding-inline: 0; scroll-padding-inline: 0; }

/* ---------- Contacto (panel dorado con foto) ---------- */
.contacto { padding: clamp(3rem, 7vw, 5rem) 0 0; }
.contacto > .wrap { width: var(--panel-w); position: relative; background: var(--gold); color: var(--green-900); border-radius: var(--r-xl); overflow: hidden; display: grid; grid-template-columns: 1.15fr 1fr; align-items: stretch; }
.contacto__txt { position: relative; z-index: 1; display: grid; gap: 1.2rem; justify-items: start; align-content: start; padding: clamp(2.4rem, 6vw, 5rem) clamp(1.6rem, 5vw, 4.5rem); }
.contacto h2 { font-size: clamp(2.5rem, 6vw, 4.4rem); font-weight: 700; line-height: .98; letter-spacing: -.04em; }
.contacto h2 em { color: var(--green); }
.contacto p { font-size: clamp(1.08rem, 1.8vw, 1.28rem); max-width: 36ch; }
.contacto .btn { margin-top: .4rem; padding: 1.15rem 2rem; font-size: 1.08rem; }
.contacto__datos { display: flex; flex-wrap: wrap; gap: .5rem 1.8rem; margin-top: .6rem; font-weight: 500; }
.contacto__datos a { text-decoration: none; border-bottom: 2px solid rgba(4, 63, 60, .35); }
.contacto__datos a:hover { border-color: var(--green); }
.contacto__logo { position: relative; margin: .9rem .9rem .9rem 0; border-radius: calc(var(--r-xl) - 10px); background: var(--green); min-height: 340px; display: grid; place-items: center; overflow: hidden; }
.contacto__logo::before { content: ""; position: absolute; inset: auto -20% -35% auto; width: 80%; aspect-ratio: 1; border-radius: 50%; background: var(--green-700); opacity: .55; }
.contacto__logo img { position: relative; width: min(58%, 270px); height: auto; }

/* ---------- Pie (panel verde) ---------- */
.footer { padding: 1rem 0; }
.footer__panel { position: relative; width: var(--panel-w); margin-inline: auto; background: var(--green-900); color: rgba(255, 255, 255, .75); border-radius: var(--r-xl); padding: 2.6rem clamp(1.6rem, 5vw, 4rem); overflow: hidden; }
.footer__in { display: flex; align-items: center; justify-content: space-between; gap: 1.2rem 2rem; flex-wrap: wrap; padding-right: 3.5rem; }
.footer img { height: 44px; width: auto; }
.footer__txt { font-size: .95rem; max-width: 38ch; }
.footer__copy { font-size: .85rem; opacity: .7; line-height: 1.6; }
.bars { position: absolute; right: 2rem; bottom: 0; display: flex; gap: .5rem; }
.bars i { width: 14px; height: 52px; background: var(--gold); border-radius: 7px 7px 0 0; }
.bars i:nth-child(2) { background: var(--white); }
.bars i:nth-child(3) { background: #000; }

/* ---------- WhatsApp flotante ---------- */
.wsp-float { position: fixed; z-index: 60; right: 1.2rem; bottom: 1.2rem; width: 62px; height: 62px; border-radius: 50%; background: #25d366; color: #fff; display: grid; place-items: center; box-shadow: 0 14px 30px -8px rgba(0, 0, 0, .45); transition: transform .2s ease; }
.wsp-float:hover { transform: scale(1.08); }
.wsp-float::before { content: ""; position: absolute; inset: 0; border-radius: 50%; background: #25d366; z-index: -1; animation: pulse 2.6s ease-out infinite; }
@keyframes pulse { 0% { transform: scale(1); opacity: .55; } 100% { transform: scale(1.65); opacity: 0; } }

/* ---------- Aparición al hacer scroll ---------- */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s ease, transform .8s ease; }
.js .reveal.is-in { opacity: 1; transform: none; }

/* ---------- Responsivo ---------- */
@media (max-width: 1100px) {
  .slide__body { padding-left: 5rem; }
  .hero > .arrows { left: 5rem; }
}

@media (max-width: 980px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
  .card, .card:nth-child(1), .card:nth-child(2) { grid-column: auto; min-height: 0; }
  .card:nth-child(5) { grid-column: span 2; }
  .valores__grid { grid-template-columns: repeat(2, 1fr); }
  .stats__grid { grid-template-columns: repeat(2, 1fr); }
  .contacto > .wrap { grid-template-columns: 1fr; }
  .contacto__logo { margin: 0 .9rem .9rem; min-height: 280px; }
}

/* Hero apilado (foto arriba, texto abajo) en pantallas medianas y chicas,
   para que el texto nunca tape la cara. La foto se difumina hacia el fondo
   con una máscara (sin capas encima), así no queda ningún corte. */
@media (max-width: 1000px) {
  .hero { margin-top: 84px; border-radius: var(--r-lg); }
  .slide { flex-direction: column; align-items: stretch; min-height: 0; background: var(--green-900); }
  .slide::before { display: none; }
  .slide__img {
    position: relative; inset: auto; width: 100%; height: min(78vw, 420px); flex: none;
    object-position: var(--posm, 62% 15%);
    -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 55%, transparent 100%);
    mask-image: linear-gradient(180deg, #000 0%, #000 55%, transparent 100%);
  }
  .slide.is-active .slide__img { animation: none; }
  .slide__body { padding: 0 1.6rem 5.2rem; margin-top: -3.2rem; }
  .hero h1, .hero .h1like { font-size: clamp(1.9rem, 6vw, 2.8rem); }
  .hero .btn { width: 100%; max-width: 26rem; }
  .dots { left: 1.6rem; top: auto; bottom: 2.2rem; transform: none; flex-direction: row; }
  .dots button { width: 32px; height: 5px; }
  .dots button::after { transform: scaleX(0); transform-origin: left; }
  .dots button.is-active::after { animation-name: fillX; }
  .hero > .arrows { left: auto; right: 1.2rem; bottom: 1.3rem; }
  .round { width: 42px; height: 42px; }
  .cut { display: none; }
}

@media (max-width: 860px) {
  .nav__in { padding: .45rem .5rem .45rem 1.1rem; }
  .nav__burger { display: block; }
  .nav__logo img { height: 36px; }
  .nav__links {
    position: absolute; top: calc(100% + 8px); left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0;
    background: var(--white); border-radius: var(--r-lg); padding: .6rem 1.2rem 1.2rem; box-shadow: 0 30px 50px -24px rgba(2, 43, 41, .55);
    border: 1px solid var(--line); transform: translateY(-8px); opacity: 0; visibility: hidden; transition: opacity .25s ease, transform .25s ease, visibility .25s;
  }
  .nav { pointer-events: none; }
  .nav__in { position: relative; }
  .nav__links.is-open { transform: none; opacity: 1; visibility: visible; pointer-events: auto; }
  .nav__links a:not(.btn) { padding: 1rem .2rem; border-bottom: 1px solid var(--line); font-size: 1.1rem; }
  .nav__links a:not(.btn)::after { display: none; }
  .nav__links .btn { display: none; }
  .nav__links a:not(.btn):last-of-type { border-bottom: 0; }

  .about__grid { grid-template-columns: 1fr; }
  .about__photo { max-width: 460px; }
  .checks { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  body { font-size: 1rem; }
  .cards { grid-template-columns: 1fr; }
  .card:nth-child(5) { grid-column: auto; }
  .valores__grid { grid-template-columns: 1fr; }
  .stats__grid { gap: .7rem; }
  .stat { padding: 1.3rem 1.2rem 1.4rem; }
  .clientes .wrap { border-radius: var(--r-lg); }
  .footer__in { padding-right: 0; flex-direction: column; align-items: flex-start; }
  .bars i { height: 38px; }
  .contacto .btn { width: 100%; }
  .car__head .arrows { display: none; }
  .testimonios { border-radius: var(--r-lg); }
}

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

/* Texto solo para buscadores y lectores de pantalla */
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.contacto__cob { margin-top: .9rem; font-size: .95rem; font-weight: 500; opacity: .85; }

[hidden] { display: none !important; }
