/* =========================================================
   Poda los Amigos — estilos
   Paleta: verde pino, musgo, amarillo alta visibilidad, papel
   ========================================================= */
:root {
  --pine: #16352a;
  --pine-deep: #0f261e;
  --moss: #2f5d3a;
  --hivis: #f2c230;
  --hivis-dark: #d9a90f;
  --paper: #f5f6f1;
  --ink: #1b221e;
  --muted: #56615a;
  --line: #d9ddd3;
  --wa: #25d366;
  --wa-dark: #1ebe5a;

  --font-display: "Barlow Condensed", "Arial Narrow", Arial, sans-serif;
  --font-body: "Source Sans 3", "Segoe UI", Roboto, Arial, sans-serif;

  --wrap: 1180px;
  --header-h: 68px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}
img, video { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  line-height: 1.05;
  margin: 0 0 .5em;
  letter-spacing: -.005em;
}
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--hivis); outline-offset: 3px; }

.wrap { width: min(100% - 2.5rem, var(--wrap)); margin-inline: auto; }
.wrap-narrow { max-width: 780px; }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .7rem 1.2rem;
  border-radius: 6px;
  border: 2px solid transparent;
  font-family: var(--font-body); font-weight: 700; font-size: 1rem;
  text-decoration: none; cursor: pointer;
  transition: background-color .15s, color .15s, border-color .15s;
}
.btn-lg { padding: .95rem 1.5rem; font-size: 1.0625rem; }
.btn-block { width: 100%; }
.btn-wa { background: var(--wa); color: #06331a; }
.btn-wa:hover { background: var(--wa-dark); }
.btn-ghost { border-color: rgba(255,255,255,.8); color: #fff; }
.btn-ghost:hover { background: #fff; color: var(--pine); }
.btn-light { background: #fff; color: var(--pine); }
.btn-light:hover { background: var(--paper); }

/* ---------- Encabezado ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--pine);
  color: #fff;
  border-bottom: 4px solid var(--hivis);
}
.header-inner { display: flex; align-items: center; gap: 1.5rem; height: var(--header-h); }
.brand {
  display: flex; align-items: center; gap: .55rem;
  font-family: var(--font-display); font-weight: 800; font-size: 1.6rem;
  text-decoration: none; white-space: nowrap;
}
.brand-mark { width: 30px; height: 30px; color: var(--hivis); }
.main-nav { display: flex; gap: 1.4rem; margin-left: auto; }
.main-nav a { text-decoration: none; font-weight: 600; font-size: .98rem; opacity: .9; }
.main-nav a:hover { opacity: 1; text-decoration: underline; text-decoration-color: var(--hivis); text-underline-offset: 6px; text-decoration-thickness: 2px; }
.header-cta { padding: .5rem 1rem; }
.nav-toggle { display: none; }

/* ---------- Hero dividido ---------- */
.hero {
  position: relative; isolation: isolate;
  min-height: min(90vh, 780px);
  display: flex; align-items: center;
  color: #fff;
  overflow: hidden;
  background: var(--pine-deep);
}
/* Fondo del lado del texto: tramado de puntos + brillo suave */
.hero-bg {
  position: absolute; inset: 0; z-index: -3;
  background:
    radial-gradient(ellipse 60% 70% at 15% 30%, rgba(47,93,58,.55), transparent 70%),
    radial-gradient(ellipse 40% 50% at 35% 95%, rgba(242,194,48,.10), transparent 70%),
    linear-gradient(135deg, var(--pine) 0%, var(--pine-deep) 100%);
}
.hero-bg::before {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255,255,255,.16) 1.2px, transparent 1.6px);
  background-size: 18px 18px;
  /* los puntos se desvanecen hacia la foto */
  -webkit-mask-image: linear-gradient(to right, #000 0%, rgba(0,0,0,.6) 45%, transparent 70%);
          mask-image: linear-gradient(to right, #000 0%, rgba(0,0,0,.6) 45%, transparent 70%);
}
.hero-bg::after {
  /* línea diagonal de puntos más gruesos como detalle */
  content: ""; position: absolute; left: -5%; bottom: -10%; width: 45%; height: 55%;
  background-image: radial-gradient(rgba(242,194,48,.35) 2px, transparent 2.5px);
  background-size: 26px 26px;
  -webkit-mask-image: radial-gradient(ellipse at bottom left, #000 10%, transparent 65%);
          mask-image: radial-gradient(ellipse at bottom left, #000 10%, transparent 65%);
}

/* Foto a la mitad derecha, con desvanecido hacia el texto */
.hero-photo {
  position: absolute; top: 0; right: 0; bottom: 0; width: 58%; z-index: -2;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, rgba(0,0,0,.35) 18%, #000 45%);
          mask-image: linear-gradient(to right, transparent 0%, rgba(0,0,0,.35) 18%, #000 45%);
}
.hero-slide {
  position: absolute; inset: 0;
  background: var(--moss) center/cover no-repeat;
  opacity: 0;
  transform: scale(1.06);
  transition: opacity 1.4s ease, transform 7s linear;
}
.hero-slide.is-active { opacity: 1; transform: scale(1); }
.hero-dots {
  position: absolute; right: 1.5rem; bottom: 1.5rem;
  display: flex; gap: .5rem;
}
.hero-dots button {
  width: 12px; height: 12px; padding: 0; border-radius: 50%;
  border: 2px solid #fff; background: transparent; cursor: pointer;
}
.hero-dots button.is-active { background: var(--hivis); border-color: var(--hivis); }

.hero-inner { padding: 5rem 0; }
.hero-text { max-width: 560px; }
.hero-badge {
  display: inline-flex; align-items: center; gap: .6rem;
  padding: .4rem .9rem; margin-bottom: 1.4rem;
  border: 1px solid rgba(255,255,255,.25); border-radius: 999px;
  background: rgba(255,255,255,.07);
  font-weight: 600; font-size: .95rem;
}
.badge-dot {
  width: 8px; height: 8px; border-radius: 50%; background: var(--wa);
  box-shadow: 0 0 0 0 rgba(37,211,102,.7);
  animation: pulse 2s infinite;
}
@keyframes pulse { 70% { box-shadow: 0 0 0 8px rgba(37,211,102,0); } 100% { box-shadow: 0 0 0 0 rgba(37,211,102,0); } }
.hero h1 {
  font-size: clamp(2.6rem, 5.8vw, 4.8rem);
  font-weight: 800;
  text-wrap: balance;
}
.hero-title-2 { display: block; color: var(--hivis); }
.hero-lead { font-size: clamp(1.1rem, 1.5vw, 1.25rem); max-width: 48ch; opacity: .92; }
.hero-lead strong { color: #fff; }
.hero-social {
  display: inline-flex; align-items: center; gap: .5rem;
  font-weight: 600; color: rgba(255,255,255,.85);
}
.hero-social svg { width: 20px; height: 20px; fill: var(--hivis); }
.hero-social:hover { color: #fff; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.8rem; }
.btn-icon { width: 22px; height: 22px; fill: currentColor; }

@media (max-width: 860px) {
  .hero { flex-direction: column; align-items: stretch; min-height: 0; }
  .hero-photo {
    position: relative; width: 100%; height: 48vh; min-height: 280px;
    -webkit-mask-image: linear-gradient(to bottom, #000 55%, transparent 100%);
            mask-image: linear-gradient(to bottom, #000 55%, transparent 100%);
  }
  .hero-dots { top: 1rem; bottom: auto; }
  .hero-inner { padding: 0 0 3.5rem; margin-top: -3rem; }
  .hero-bg::before { -webkit-mask-image: none; mask-image: none; opacity: .6; }
}

/* ---------- Secciones ---------- */
.section { padding: clamp(4rem, 8vw, 6.5rem) 0; }
.section-alt { background: #e9ece3; }
.section-dark { background: var(--pine-deep); color: #fff; }
.section-head { max-width: 62ch; margin-bottom: 2.5rem; }
.section-head h2 { font-size: clamp(2.2rem, 4.5vw, 3.4rem); font-weight: 800; }
.section-head p { color: var(--muted); font-size: 1.15rem; margin: 0; }
.section-dark .section-head p { color: rgba(255,255,255,.75); }

/* ---------- Servicios ---------- */
.services {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 2.5rem 2rem;
}
.service { display: flex; flex-direction: column; }
.service img {
  aspect-ratio: 4 / 3; width: 100%; object-fit: cover;
  background: var(--line);
  border-radius: 4px;
}
.service-body { padding-top: 1.1rem; border-top: 0; display: flex; flex-direction: column; flex: 1; }
.service h3 { font-size: 1.85rem; font-weight: 700; margin-bottom: .35em; }
.service p { color: var(--muted); }
.service-link {
  margin-top: auto; align-self: flex-start;
  font-weight: 700; color: var(--moss);
  text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 2px;
  text-decoration-color: var(--hivis);
}
.service-link:hover { color: var(--pine); }

/* ---------- Banda de confianza ---------- */
.trust { background: var(--hivis); color: var(--pine-deep); }
.trust-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.trust-item { padding: 2.2rem 1.6rem; border-left: 2px solid rgba(15,38,30,.18); }
.trust-item:first-child { border-left: 0; padding-left: 0; }
.trust-item h3 { font-size: 1.6rem; font-weight: 800; margin-bottom: .3em; }
.trust-item p { margin: 0; font-size: 1rem; }

/* ---------- Galería ---------- */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  grid-auto-rows: 220px;
  grid-auto-flow: dense;
  gap: 10px;
}
.gallery button {
  padding: 0; border: 0; cursor: zoom-in; overflow: hidden;
  background: var(--line); border-radius: 3px;
}
.gallery button.wide { grid-column: span 2; }
.gallery button.tall { grid-row: span 2; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.gallery button:hover img { transform: scale(1.04); }

/* ---------- Videos ---------- */
.videos {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1.2rem;
}
.videos video {
  width: 100%; aspect-ratio: 9 / 16; object-fit: cover;
  background: #000; border-radius: 6px;
}
.videos-more { margin-top: 2rem; color: rgba(255,255,255,.8); }
.videos-more a { color: var(--hivis); font-weight: 700; }

/* ---------- Pasos ---------- */
.steps {
  list-style: none; padding: 0; margin: 0;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem;
  counter-reset: step;
}
.steps li { counter-increment: step; position: relative; padding-top: 4.2rem; }
.steps li::before {
  content: counter(step);
  position: absolute; top: 0; left: 0;
  font-family: var(--font-display); font-weight: 800; font-size: 3.4rem; line-height: 1;
  color: var(--moss);
}
.steps li::after {
  content: ""; position: absolute; top: 1.7rem; left: 2.8rem; right: -1rem;
  height: 2px; background: var(--line);
}
.steps li:last-child::after { display: none; }
.steps h3 { font-size: 1.6rem; }
.steps p { color: var(--muted); margin: 0; }

/* ---------- Reseñas ---------- */
.reviews { position: relative; isolation: isolate; overflow: hidden; }
.reviews::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background-image: radial-gradient(rgba(22,53,42,.10) 1.2px, transparent 1.6px);
  background-size: 18px 18px;
  -webkit-mask-image: radial-gradient(ellipse 60% 80% at 100% 0%, #000 15%, transparent 70%);
          mask-image: radial-gradient(ellipse 60% 80% at 100% 0%, #000 15%, transparent 70%);
}
.reviews-head {
  display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between;
  gap: 1.5rem; margin-bottom: 2.2rem;
}
.reviews-head h2 { font-size: clamp(2.2rem, 4.5vw, 3.4rem); font-weight: 800; color: var(--pine); margin-bottom: .4rem; }
.reviews-summary { display: flex; align-items: center; gap: .6rem; font-weight: 600; }
.reviews-summary .g-logo { width: 26px; height: 26px; }
.reviews-score { font-family: var(--font-display); font-size: 2rem; font-weight: 800; line-height: 1; }
.reviews-count { color: var(--muted); }
.stars { color: #f5b301; letter-spacing: 2px; font-size: 1.15rem; }
.reviews-actions { display: flex; flex-wrap: wrap; gap: .7rem; }
.g-logo { width: 20px; height: 20px; flex: none; }
.btn-google { background: #fff; color: var(--ink); border-color: #dadce0; box-shadow: 0 1px 3px rgba(0,0,0,.12); }
.btn-google:hover { background: #f8f9fa; border-color: #c6c9cc; }
.btn-outline { border-color: var(--pine); color: var(--pine); }
.btn-outline:hover { background: var(--pine); color: #fff; }

.reviews-slider { position: relative; }
.reviews-track {
  display: grid; grid-auto-flow: column;
  grid-auto-columns: calc((100% - 2 * 1.2rem) / 3);
  gap: 1.2rem;
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth;
  padding: .4rem .2rem 1.2rem;
  scrollbar-width: none;
}
.reviews-track::-webkit-scrollbar { display: none; }
.review {
  scroll-snap-align: start;
  display: flex; flex-direction: column;
  background: #fff; border: 1px solid var(--line); border-radius: 12px;
  padding: 1.4rem 1.4rem 1.2rem;
  box-shadow: 0 14px 30px -22px rgba(15,38,30,.45);
}
.review-top { display: flex; align-items: center; gap: .75rem; margin-bottom: .8rem; }
.review-avatar {
  flex: none; width: 44px; height: 44px; border-radius: 50%;
  display: grid; place-items: center;
  font-weight: 700; font-size: 1.15rem; color: #fff;
  background: var(--moss); overflow: hidden;
}
.review-avatar img { width: 100%; height: 100%; object-fit: cover; }
.review-who { display: flex; flex-direction: column; line-height: 1.25; min-width: 0; }
.review-who strong { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.review-who span { font-size: .88rem; color: var(--muted); }
.review-top .g-logo { margin-left: auto; }
.review p {
  margin: .5rem 0 0; color: #333d37;
  display: -webkit-box; -webkit-line-clamp: 6; -webkit-box-orient: vertical; overflow: hidden;
}
.review.is-open p { -webkit-line-clamp: unset; }
.review-more {
  align-self: flex-start; margin-top: .6rem; padding: 0;
  background: none; border: 0; cursor: pointer;
  font: inherit; font-weight: 700; color: var(--moss);
  text-decoration: underline; text-underline-offset: 3px;
}
.rev-nav {
  position: absolute; top: 45%; transform: translateY(-50%); z-index: 2;
  width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid var(--line); background: #fff; color: var(--pine);
  font-size: 1.8rem; line-height: 1; cursor: pointer;
  box-shadow: 0 4px 12px rgba(0,0,0,.12);
}
.rev-nav:hover { background: var(--pine); color: #fff; }
.rev-nav[disabled] { opacity: 0; pointer-events: none; }
.rev-prev { left: -22px; }
.rev-next { right: -22px; }

.reviews-empty {
  display: flex; align-items: center; gap: 1rem;
  background: #fff; border: 1px dashed #c3c9bd; border-radius: 12px;
  padding: 1.6rem;
}
.reviews-empty .g-logo { width: 36px; height: 36px; }
.reviews-empty p { margin: 0; font-size: 1.1rem; color: var(--muted); }

@media (max-width: 980px) {
  .reviews-track { grid-auto-columns: calc((100% - 1.2rem) / 2); }
}
@media (max-width: 640px) {
  .reviews-track { grid-auto-columns: 85%; }
  .rev-nav { display: none; }
  .reviews-actions, .reviews-actions .btn { width: 100%; }
}

/* ---------- FAQ ---------- */
.faq details { border-bottom: 1px solid #c9cfc2; }
.faq details:first-child { border-top: 1px solid #c9cfc2; }
.faq summary {
  list-style: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  padding: 1.2rem 0;
  font-weight: 700; font-size: 1.15rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; font-family: var(--font-display); font-size: 2rem; line-height: 1; color: var(--moss);
  transition: transform .2s;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--muted); padding-bottom: 1.2rem; margin: 0; max-width: 65ch; }

/* ---------- Contacto ---------- */
.contact {
  position: relative; isolation: isolate; overflow: hidden;
  background: #e9ece3;
  padding: clamp(4rem, 8vw, 6.5rem) 0;
}
/* tramado de puntos suave, como en el hero pero en claro */
.contact::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background-image: radial-gradient(rgba(22,53,42,.13) 1.2px, transparent 1.6px);
  background-size: 18px 18px;

  -webkit-mask-image: radial-gradient(ellipse 70% 90% at 0% 50%, #000 20%, transparent 75%);
          mask-image: radial-gradient(ellipse 70% 90% at 0% 50%, #000 20%, transparent 75%);
}
.contact::after {
  content: ""; position: absolute; right: -8%; bottom: -20%; width: 45%; height: 70%; z-index: -1;
  background: radial-gradient(ellipse, rgba(242,194,48,.25), transparent 65%);
}
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.contact-tag {
  display: inline-block; margin-bottom: 1rem;
  padding: .3rem .8rem; border-radius: 999px;
  background: var(--pine); color: var(--hivis);
  font-weight: 700; font-size: .9rem;
}
.contact h2 { font-size: clamp(2.4rem, 4.8vw, 3.6rem); font-weight: 800; color: var(--pine); }
.contact-lead { font-size: 1.15rem; color: var(--muted); max-width: 42ch; }

.cmethods { display: grid; gap: .8rem; margin: 2rem 0 1.5rem; max-width: 440px; }
.cmethod {
  display: flex; align-items: center; gap: 1rem;
  padding: 1rem 1.2rem;
  background: #fff; border: 1px solid var(--line); border-radius: 10px;
  text-decoration: none; color: var(--ink);
  transition: border-color .15s, transform .15s;
}
.cmethod:hover { border-color: var(--moss); transform: translateX(4px); }
.cmethod-icon {
  flex: none; width: 46px; height: 46px; border-radius: 50%;
  display: grid; place-items: center;
  background: #e3ebe2; color: var(--moss);
}
.cmethod-icon svg { width: 24px; height: 24px; }
.cmethod-icon svg:not([fill="none"]) { fill: currentColor; }
.cmethod-text { display: flex; flex-direction: column; line-height: 1.3; }
.cmethod-text strong { font-size: 1.05rem; }
.cmethod-text span { color: var(--muted); font-size: .95rem; }
.cmethod-wa { background: var(--wa); border-color: var(--wa); color: #06331a; }
.cmethod-wa .cmethod-icon { background: rgba(255,255,255,.35); color: #06331a; }
.cmethod-wa .cmethod-text span { color: #0b4424; }
.cmethod-wa:hover { border-color: var(--wa-dark); background: var(--wa-dark); }

.contact-zones { display: flex; align-items: flex-start; gap: .6rem; color: var(--muted); }
.contact-zones svg { flex: none; width: 22px; height: 22px; color: var(--moss); margin-top: .15rem; }
.contact-zones p { margin: 0; }
.contact-zones strong { color: var(--ink); }

.quote-form {
  background: #fff; color: var(--ink);
  padding: clamp(1.5rem, 3vw, 2.4rem); border-radius: 12px;
  border-top: 6px solid var(--hivis);
  box-shadow: 0 24px 50px -20px rgba(15,38,30,.35);
}
.quote-form h3 { font-size: 2rem; color: var(--pine); margin-bottom: .6rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-group { margin-top: .9rem; }
.quote-form label { display: block; font-weight: 600; font-size: .95rem; margin-bottom: .3rem; }
.quote-form input, .quote-form select, .quote-form textarea {
  width: 100%; font: inherit; font-size: 1rem;
  padding: .7rem .8rem;
  border: 1.5px solid #cfd5c9; border-radius: 6px; background: #fafbf8;
}
.quote-form textarea { resize: vertical; }
.quote-form input:focus, .quote-form select:focus, .quote-form textarea:focus {
  outline: none; border-color: var(--moss); background: #fff; box-shadow: 0 0 0 3px rgba(47,93,58,.18);
}
.quote-form .btn { margin-top: 1.4rem; }
.form-note { text-align: center; font-size: .88rem; color: var(--muted); margin: .7rem 0 0; }
.form-error { color: #b3261e; font-weight: 600; font-size: .95rem; margin: .8rem 0 0; }

/* ---------- Pie (mismo estilo que el hero) ---------- */
.site-footer {
  position: relative; isolation: isolate; overflow: hidden;
  background: var(--pine-deep); color: rgba(255,255,255,.85);
  padding-top: 4.5rem;
  border-top: 4px solid var(--hivis);
}
.footer-bg {
  position: absolute; inset: 0; z-index: -2;
  background:
    radial-gradient(ellipse 55% 80% at 10% 20%, rgba(47,93,58,.5), transparent 70%),
    radial-gradient(ellipse 35% 60% at 30% 100%, rgba(242,194,48,.08), transparent 70%),
    linear-gradient(135deg, var(--pine) 0%, var(--pine-deep) 100%);

}
.footer-bg::before {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255,255,255,.14) 1.2px, transparent 1.6px);
  background-size: 18px 18px;
  -webkit-mask-image: linear-gradient(to right, #000 0%, rgba(0,0,0,.6) 45%, transparent 75%);
          mask-image: linear-gradient(to right, #000 0%, rgba(0,0,0,.6) 45%, transparent 75%);
}
.footer-bg::after {
  content: ""; position: absolute; left: -5%; top: -15%; width: 40%; height: 60%;
  background-image: radial-gradient(rgba(242,194,48,.3) 2px, transparent 2.5px);
  background-size: 26px 26px;
  -webkit-mask-image: radial-gradient(ellipse at top left, #000 10%, transparent 65%);
          mask-image: radial-gradient(ellipse at top left, #000 10%, transparent 65%);
}
.footer-photo {
  position: absolute; top: 0; right: 0; bottom: 0; width: 50%; z-index: -1;
  background: center/cover no-repeat;
  opacity: .35;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, rgba(0,0,0,.4) 25%, #000 60%);
          mask-image: linear-gradient(to right, transparent 0%, rgba(0,0,0,.4) 25%, #000 60%);
}
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 2rem; }
.brand-footer { color: #fff; margin-bottom: .6rem; }
.site-footer h4 { font-size: 1.35rem; color: #fff; }
.footer-list, .socials { list-style: none; padding: 0; margin: 0; }
.footer-list li, .socials li { margin-bottom: .55rem; }
.footer-list a, .socials a { text-decoration: none; }
.footer-list a:hover, .socials a:hover { color: var(--hivis); }
.socials a { display: inline-flex; align-items: center; gap: .6rem; }
.socials svg { width: 20px; height: 20px; fill: var(--hivis); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.14); margin-top: 3rem; padding: 1.2rem 0 1.6rem; font-size: .9rem; }
.footer-bottom p { margin: 0; }

/* ---------- Botones flotantes ---------- */
.float-stack {
  position: fixed; right: 20px; bottom: 20px; z-index: 60;
  display: flex; flex-direction: column; align-items: center; gap: 12px;
}
.float-btn {
  position: relative;
  width: 48px; height: 48px; border-radius: 50%;
  display: grid; place-items: center;
  color: #fff;
  box-shadow: 0 6px 16px rgba(0,0,0,.28);
  transition: transform .15s ease;
}
.float-btn:hover { transform: scale(1.08); }
.float-btn svg { width: 24px; height: 24px; fill: currentColor; }
.float-ig { background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fd5949 45%, #d6249f 60%, #285aeb 95%); }
.float-tt { background: #000; }
.float-yt { background: #ff0000; }
.float-wa { width: 60px; height: 60px; background: var(--wa); }
.float-wa svg { width: 34px; height: 34px; }
.float-wa:hover { background: var(--wa-dark); }
.float-tip {
  position: absolute; right: calc(100% + 10px); top: 50%; transform: translateY(-50%);
  background: var(--ink); color: #fff; font-size: .85rem; font-weight: 600;
  padding: .3rem .6rem; border-radius: 4px; white-space: nowrap;
  opacity: 0; pointer-events: none; transition: opacity .15s;
}
.float-btn:hover .float-tip, .float-btn:focus-visible .float-tip { opacity: 1; }

/* ---------- Visor de fotos ---------- */
.lightbox {
  position: fixed; inset: 0; z-index: 100;
  background: rgba(8,16,12,.94);
  display: flex; align-items: center; justify-content: center;
  padding: 3.5rem 4rem;
}
.lightbox[hidden] { display: none; }
.lightbox img { max-height: 100%; max-width: 100%; object-fit: contain; border-radius: 3px; }
.lb-btn {
  position: absolute; background: transparent; border: 0; color: #fff;
  font-size: 3rem; line-height: 1; cursor: pointer; padding: .4rem .8rem;
}
.lb-btn:hover { color: var(--hivis); }
.lb-close { top: .6rem; right: .8rem; }
.lb-prev { left: .4rem; top: 50%; transform: translateY(-50%); }
.lb-next { right: .4rem; top: 50%; transform: translateY(-50%); }
.lb-count { position: absolute; bottom: 1rem; left: 0; right: 0; text-align: center; color: rgba(255,255,255,.7); margin: 0; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .trust-item:nth-child(3) { border-left: 0; padding-left: 0; }
  .trust-item { border-top: 2px solid rgba(15,38,30,.18); }
  .trust-item:nth-child(-n+2) { border-top: 0; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .steps li::after { display: none; }
  .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 860px) {
  .nav-toggle {
    display: flex; flex-direction: column; justify-content: center; gap: 5px;
    width: 44px; height: 44px; margin-left: auto;
    background: transparent; border: 0; cursor: pointer; padding: 10px;
  }
  .nav-toggle span { display: block; height: 2px; background: #fff; transition: transform .2s, opacity .2s; }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .header-cta { display: none; }
  .main-nav {
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; gap: 0;
    background: var(--pine); border-bottom: 4px solid var(--hivis);
    padding: .5rem 1.25rem 1rem;
    display: none;
  }
  .main-nav.open { display: flex; }
  .main-nav a { padding: .8rem 0; border-bottom: 1px solid rgba(255,255,255,.1); font-size: 1.1rem; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-photo { width: 100%; opacity: .18; -webkit-mask-image: linear-gradient(to top, #000 0%, transparent 80%); mask-image: linear-gradient(to top, #000 0%, transparent 80%); }
  .footer-bottom { padding-right: 80px; }
}

@media (max-width: 560px) {
  .trust-grid { grid-template-columns: 1fr; }
  .trust-item, .trust-item:nth-child(3) { border-left: 0; padding: 1.4rem 0; }
  .trust-item:nth-child(2) { border-top: 2px solid rgba(15,38,30,.18); }
  .steps { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 160px; gap: 6px; }
  .gallery button.wide { grid-column: span 2; }
  .videos { grid-template-columns: repeat(2, 1fr); gap: .6rem; }
  .hero-actions .btn { width: 100%; }
  .lightbox { padding: 3.5rem .5rem; }
  .float-stack { right: 14px; bottom: 14px; gap: 10px; }
  .float-btn { width: 42px; height: 42px; }
  .float-btn svg { width: 21px; height: 21px; }
  .float-wa { width: 56px; height: 56px; }
  .float-wa svg { width: 32px; height: 32px; }
  .services { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-slide { transition: opacity .01s; transform: none; }
  .badge-dot { animation: none; }
  * { transition: none !important; }
}