/* ============================================================
   ARBORISTA ARAUCANÍA — Stylesheet
   Paleta: #0A0A0A | #7AC943 | #FFFFFF
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Oswald:wght@400;600;700&family=Open+Sans:wght@400;600&display=swap');

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

:root {
  --black:   #0A0A0A;
  --green:   #7AC943;
  --green-d: #5a9a30;
  --white:   #FFFFFF;
  --gray:    #1a1a1a;
  --gray2:   #2c2c2c;
  --gray3:   #888;
  --font-display: 'Bebas Neue', sans-serif;
  --font-heading: 'Oswald', sans-serif;
  --font-body:    'Open Sans', sans-serif;
}

html { scroll-behavior: smooth; }

body {
  background: var(--black);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a  { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ── Tamaños de iconos SVG ────────────────────────────────── */
/* Base: todos los SVGs inline tienen dimensiones controladas */
svg { display: inline-block; vertical-align: middle; flex-shrink: 0; overflow: visible; }

/* Botones: icono pequeño alineado al texto */
.btn svg            { width: 18px; height: 18px; }
.nav-cta svg        { width: 16px; height: 16px; }

/* Hero */
.hero-badge svg     { width: 14px; height: 14px; }
.hero-trust-item svg{ width: 16px; height: 16px; color: var(--green); }

/* Strip Araucanía */
.aur-loc svg        { width: 13px; height: 13px; }
.araucania-accent svg { width: 15px; height: 15px; }

/* Stats */
.stat-icon svg      { width: 26px; height: 26px; }

/* Servicios */
.service-icon svg   { width: 26px; height: 26px; }
.service-tag svg    { width: 12px; height: 12px; }

/* Why features */
.why-feature-icon svg { width: 21px; height: 21px; }

/* CTA strip */
.cta-strip-phone svg { width: 20px; height: 20px; opacity: .65; }

/* Ruta de cobertura */
.cob-region svg     { width: 11px; height: 11px; display: inline; vertical-align: middle; }

/* Trust bar */
.trust-icon svg     { width: 19px; height: 19px; }

/* Contacto */
.contact-detail-icon svg { width: 17px; height: 17px; }
.wsp-logo           { display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; flex-shrink: 0; }
.wsp-logo svg       { width: 44px; height: 44px; display: block; }

/* Galería */
.gallery-expand svg { width: 32px; height: 32px; }

/* Footer social */
.social-link svg    { width: 17px; height: 17px; }

/* Botón flotante WhatsApp — el SVG es el logo completo */
.float-wsp svg      { width: 58px; height: 58px; }

/* Barra sticky mobile */
.sticky-bar a svg   { width: 17px; height: 17px; }

/* Menú mobile */
.mobile-menu .btn svg { width: 18px; height: 18px; }

/* ── Utilidades ───────────────────────────────────────────── */
.container { width: min(1200px, 92vw); margin-inline: auto; }
.green     { color: var(--green); }

.section-label {
  font-family: var(--font-heading);
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .25em;
  text-transform: uppercase;
  color: var(--green);
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  margin-bottom: 1rem;
}
.section-label::before {
  content: '';
  display: inline-block;
  width: 32px;
  height: 3px;
  background: var(--green);
  border-radius: 2px;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  line-height: 1;
  letter-spacing: .02em;
  text-transform: uppercase;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: .7rem;
  font-family: var(--font-heading);
  font-size: .95rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 1rem 2rem;
  border: none;
  cursor: pointer;
  transition: all .25s ease;
  clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 12px 100%, 0 calc(100% - 12px));
}
.btn svg { flex-shrink: 0; }
.btn-green { background: var(--green); color: var(--black); }
.btn-green:hover { background: var(--green-d); transform: translateY(-2px); }
.btn-outline { background: transparent; color: var(--white); border: 2px solid rgba(255,255,255,.5); }
.btn-outline:hover { background: var(--white); color: var(--black); border-color: var(--white); }
.btn-sm { padding: .7rem 1.4rem; font-size: .85rem; }

/* ── NAV ──────────────────────────────────────────────────── */
#nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  transition: background .3s, box-shadow .3s, padding .3s;
  padding: 1rem 0;
}
#nav.scrolled {
  background: rgba(10,10,10,.97);
  box-shadow: 0 2px 30px rgba(0,0,0,.5);
  padding: .7rem 0;
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: .8rem;
}
/* Logo sin circunferencia */
.nav-logo img {
  height: 64px;       /* logo más grande sin texto al lado */
  width: auto;
  max-width: 160px;
  object-fit: contain;
}
/* Texto "Arborista Araucanía" eliminado del nav — solo logo */
.nav-logo-text { display: none; }
.nav-links {
  display: flex;
  gap: 2rem;
  align-items: center;
}
.nav-links a {
  font-family: var(--font-heading);
  font-size: .85rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: rgba(255,255,255,.75);
  transition: color .2s;
}
.nav-links a:hover { color: var(--green); }
.nav-cta { padding: .65rem 1.4rem; font-size: .82rem; clip-path: polygon(0 0, calc(100% - 8px) 0, 100% 8px, 100% 100%, 8px 100%, 0 calc(100% - 8px)); }
.nav-burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: .4rem;
}
.nav-burger span { display: block; width: 26px; height: 2px; background: var(--white); transition: all .3s; }
.nav-burger.open span:nth-child(1) { transform: rotate(45deg) translate(5px,5px); }
.nav-burger.open span:nth-child(2) { opacity: 0; }
.nav-burger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px,-5px); }

/* Mobile menu — z-index 1001 para quedar SOBRE el nav (1000) */
.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(10,10,10,.98);
  z-index: 1001;    /* mayor que #nav (1000) → la X queda visible */
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.8rem;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  font-family: var(--font-display);
  font-size: 2.2rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--white);
  transition: color .2s;
}
.mobile-menu a:hover { color: var(--green); }
.mobile-close {
  position: absolute; top: 1.4rem; right: 1.4rem;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.15);
  color: var(--white);
  font-size: 1.4rem;
  width: 40px; height: 40px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: background .2s;
  z-index: 1002;   /* encima de todo */
}
.mobile-close:hover { background: rgba(255,255,255,.18); }

/* ── HERO ─────────────────────────────────────────────────── */
#hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  padding-bottom: 8vh;
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center 30%;
  background-image: url('../img/gallery/hero-01.jpg');
  filter: blur(6px);
  transform: scale(1.08);
}
.hero-bg::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(10,10,10,.86) 0%, rgba(10,10,10,.6) 55%, rgba(10,10,10,.45) 100%);
}
.hero-photo {
  position: absolute;
  right: 2%;
  bottom: 0;
  height: 96vh;
  width: auto;
  max-width: none;
  object-fit: contain;
  border: none;
  border-radius: 0;
  filter: drop-shadow(-6px 0px 28px rgba(0,0,0,.75));
  z-index: 1;
  pointer-events: none;
}
.hero-content {
  position: relative; z-index: 2;
  max-width: 560px;
  margin-left: max(3.5rem, 5vw);
  margin-right: auto;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  background: var(--green);
  color: var(--black);
  font-family: var(--font-heading);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  padding: .35rem 1rem;
  margin-bottom: 1.5rem;
  clip-path: polygon(0 0, calc(100% - 8px) 0, 100% 8px, 100% 100%, 8px 100%, 0 calc(100% - 8px));
}
.hero-badge svg { width: 16px; height: 16px; color: var(--black); }
.hero-badge .sep { width: 1px; height: 14px; background: rgba(0,0,0,.3); }

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 9vw, 7.5rem);
  line-height: .92;
  letter-spacing: .02em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}
.hero-title .line-green { color: var(--green); display: block; }
.hero-title .line-outline {
  -webkit-text-stroke: 2px var(--white);
  color: transparent;
  display: block;
}

.hero-sub {
  font-family: var(--font-heading);
  font-size: clamp(1rem, 2vw, 1.2rem);
  font-weight: 400;
  color: rgba(255,255,255,.72);
  max-width: 500px;
  margin-bottom: 2.5rem;
  line-height: 1.6;
}
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; align-items: center; }

.hero-trust {
  display: flex;
  gap: 2rem;
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,.12);
  flex-wrap: wrap;
}
.hero-trust-item {
  display: flex;
  align-items: center;
  gap: .6rem;
  font-family: var(--font-heading);
  font-size: .8rem;
  color: rgba(255,255,255,.6);
  letter-spacing: .04em;
}
.hero-trust-item svg { color: var(--green); flex-shrink: 0; }

.hero-scroll {
  position: absolute; bottom: 2rem; right: 2rem;
  display: flex; flex-direction: column; align-items: center; gap: .4rem; z-index: 2;
}
.hero-scroll span {
  font-family: var(--font-heading); font-size: .65rem;
  letter-spacing: .2em; text-transform: uppercase;
  color: rgba(255,255,255,.4); writing-mode: vertical-rl;
}
.hero-scroll-line {
  width: 2px; height: 60px;
  background: linear-gradient(to bottom, var(--green), transparent);
  animation: scrollLine 1.8s ease-in-out infinite;
}
@keyframes scrollLine {
  0%   { transform: scaleY(0); transform-origin: top; }
  50%  { transform: scaleY(1); transform-origin: top; }
  51%  { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* ── ARAUCANÍA STRIP ──────────────────────────────────────── */
#araucania-strip {
  background: var(--green);
  padding: 2rem 0;
  position: relative;
  overflow: hidden;
  clip-path: polygon(0 0, 100% 10px, 100% 100%, 0 calc(100% - 10px));
}
#araucania-strip::before {
  content: 'ARAUCANÍA';
  font-family: var(--font-display);
  font-size: 14rem;
  color: rgba(0,0,0,.06);
  position: absolute;
  right: -2rem;
  top: 50%;
  transform: translateY(-50%);
  line-height: 1;
  pointer-events: none;
  white-space: nowrap;
}
.araucania-inner {
  display: flex;
  align-items: center;
  gap: 3rem;
  flex-wrap: wrap;
}
.araucania-origin {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-shrink: 0;
}
.araucania-tree-icon {
  color: var(--black);
  opacity: .7;
}
.araucania-origin-text {}
.araucania-title {
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--black);
  line-height: 1;
  letter-spacing: .04em;
}
.araucania-sub {
  font-family: var(--font-heading);
  font-size: .8rem;
  font-weight: 700;
  color: rgba(0,0,0,.6);
  letter-spacing: .12em;
  text-transform: uppercase;
}
.araucania-divider {
  width: 2px;
  height: 50px;
  background: rgba(0,0,0,.2);
  flex-shrink: 0;
}
.araucania-desc {
  font-family: var(--font-heading);
  font-size: .95rem;
  color: rgba(0,0,0,.75);
  line-height: 1.5;
  max-width: 500px;
  flex: 1;
}
.araucania-locations {
  display: flex;
  gap: 1.5rem;
  flex-shrink: 0;
  margin-left: auto;
}
.aur-loc {
  display: flex;
  align-items: center;
  gap: .4rem;
  font-family: var(--font-heading);
  font-size: .82rem;
  font-weight: 700;
  color: rgba(0,0,0,.75);
  text-transform: uppercase;
  letter-spacing: .06em;
}
.aur-loc svg { width: 14px; height: 14px; color: rgba(0,0,0,.5); }

/* ── STATS BAR ────────────────────────────────────────────── */
#stats {
  background: var(--gray);
  padding: 3rem 0;
  position: relative;
  z-index: 4;
  border-bottom: 3px solid var(--green);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  text-align: center;
}
.stat-item { position: relative; }
.stat-item:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0; top: 10%;
  height: 80%; width: 1px;
  background: rgba(255,255,255,.1);
}
.stat-icon {
  display: flex;
  justify-content: center;
  margin-bottom: .6rem;
  color: var(--green);
}
.stat-icon svg { width: 28px; height: 28px; }
.stat-number {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 4vw, 3.8rem);
  color: var(--white);
  line-height: 1;
}
.stat-label {
  font-family: var(--font-heading);
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(255,255,255,.45);
  margin-top: .4rem;
}

/* ── SERVICES ─────────────────────────────────────────────── */
#servicios { padding: 8rem 0 6rem; background: var(--black); }
.services-header {
  display: flex; justify-content: space-between; align-items: flex-end;
  gap: 2rem; margin-bottom: 4rem; flex-wrap: wrap;
}
.services-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 3px; }
.service-card {
  background: var(--gray); overflow: hidden;
  cursor: default; transition: transform .3s;
  display: flex; flex-direction: column;
}
.service-card:hover { transform: scale(1.01); z-index: 2; }
.service-card-img {
  height: 260px; flex-shrink: 0;
  background-size: cover; background-position: center;
  transition: transform .5s ease, filter .5s ease;
  filter: brightness(.95);
}
.service-card:hover .service-card-img { transform: scale(1.04); filter: brightness(1.05); }
.service-card-inner {
  position: relative;
  padding: 2rem 2.5rem 2.5rem;
  display: flex; flex-direction: column; justify-content: flex-start;
  flex: 1;
}
.service-icon {
  width: 56px; height: 56px;
  background: var(--green);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.5rem;
  flex-shrink: 0;
  color: var(--black);
}
.service-icon svg { width: 28px; height: 28px; }
.service-num {
  font-family: var(--font-display); font-size: 5rem;
  color: rgba(122,201,67,.12); position: absolute;
  top: 1.5rem; right: 1.5rem; line-height: 1;
}
.service-title {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  letter-spacing: .04em; text-transform: uppercase;
  margin-bottom: .8rem; line-height: 1.05;
}
.service-desc { font-size: .88rem; color: rgba(255,255,255,.68); max-width: 320px; line-height: 1.6; }
.service-tag {
  display: inline-flex; align-items: center; gap: .4rem;
  background: var(--green); color: var(--black);
  font-family: var(--font-heading); font-size: .7rem; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase;
  padding: .3rem .8rem; margin-top: 1.2rem;
  clip-path: polygon(0 0, calc(100% - 6px) 0, 100% 6px, 100% 100%, 6px 100%, 0 calc(100% - 6px));
}
.service-tag svg { width: 12px; height: 12px; }

/* ── CTA STRIP ────────────────────────────────────────────── */
#cta-strip {
  background: var(--green);
  padding: 3.5rem 0;
  position: relative;
  overflow: hidden;
}
#cta-strip::before {
  content: '';
  position: absolute; inset: 0;
  background: repeating-linear-gradient(
    -55deg,
    transparent,
    transparent 20px,
    rgba(0,0,0,.04) 20px,
    rgba(0,0,0,.04) 40px
  );
}
.cta-strip-inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}
.cta-strip-text {}
.cta-strip-eyebrow {
  font-family: var(--font-heading);
  font-size: .75rem; font-weight: 700;
  letter-spacing: .2em; text-transform: uppercase;
  color: rgba(0,0,0,.55);
  margin-bottom: .4rem;
}
.cta-strip-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 3rem);
  color: var(--black); line-height: 1.05;
  letter-spacing: .02em;
}
.cta-strip-actions {
  display: flex;
  gap: 1rem;
  align-items: center;
  flex-wrap: wrap;
  flex-shrink: 0;
}
.btn-black {
  background: var(--black);
  color: var(--white);
  clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 12px 100%, 0 calc(100% - 12px));
}
.btn-black:hover { background: var(--gray); transform: translateY(-2px); }
.cta-strip-phone {
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: var(--black);
  letter-spacing: .04em;
  display: flex; align-items: center; gap: .5rem;
}
.cta-strip-phone svg { color: var(--black); opacity: .6; }

/* ── COVERAGE ─────────────────────────────────────────────── */
#cobertura {
  background: var(--gray);
  padding: 8rem 0;
  position: relative; overflow: hidden;
}
#cobertura::before {
  content: 'CHILE';
  font-family: var(--font-display);
  font-size: 28vw; color: rgba(255,255,255,.02);
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%,-50%);
  white-space: nowrap; pointer-events: none;
}
.cobertura-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}
.cobertura-map {}
.cob-route {
  display: flex; align-items: center; gap: 1.2rem;
  padding: 1.2rem 0;
  border-bottom: 1px solid rgba(255,255,255,.07);
}
.cob-dot { width: 12px; height: 12px; border-radius: 50%; flex-shrink: 0; }
.cob-dot.start { background: var(--green); }
.cob-dot.end   { background: rgba(255,255,255,.25); }
.cob-dot.mid   { background: var(--green); width: 18px; height: 18px; border: 3px solid rgba(122,201,67,.3); }
.cob-line-v {
  width: 2px; height: 20px;
  background: linear-gradient(to bottom, var(--green), rgba(255,255,255,.15));
  margin-left: 5px; margin-right: 1.2rem; flex-shrink: 0;
}
.cob-city { font-family: var(--font-heading); font-size: 1rem; font-weight: 600; flex: 1; }
.cob-region { font-size: .78rem; color: rgba(255,255,255,.38); font-family: var(--font-heading); text-align: right; }

.cobertura-text {}
.cobertura-stat { display: flex; align-items: baseline; gap: .6rem; margin: 2rem 0; }
.cobertura-stat .big {
  font-family: var(--font-display); font-size: 5.5rem;
  color: var(--green); line-height: 1;
}
.cobertura-stat .label { font-family: var(--font-heading); font-size: 1.1rem; color: rgba(255,255,255,.55); }
.cobertura-desc { color: rgba(255,255,255,.62); font-size: .95rem; line-height: 1.75; margin-bottom: 1.2rem; }

.araucania-accent {
  display: inline-flex; align-items: center; gap: .6rem;
  background: rgba(122,201,67,.1);
  border: 1px solid rgba(122,201,67,.3);
  color: var(--green);
  font-family: var(--font-heading); font-size: .82rem; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase;
  padding: .5rem 1rem; margin-bottom: 1.5rem;
  border-radius: 2px;
}
.araucania-accent svg { width: 16px; height: 16px; }

/* ── WHY US / NOSOTROS ────────────────────────────────────── */
#nosotros { background: var(--black); padding: 8rem 0; }
.why-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 4rem; align-items: center;
}
.why-photo { position: relative; }
.why-photo img {
  width: 100%; height: 580px; object-fit: cover;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 50px), calc(100% - 50px) 100%, 0 100%);
}
.why-badge {
  position: absolute; bottom: -20px; right: -20px;
  background: var(--green); color: var(--black);
  width: 130px; height: 130px; border-radius: 50%;
  display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center;
}
.why-badge .years { font-family: var(--font-display); font-size: 2.6rem; line-height: 1; }
.why-badge .text { font-family: var(--font-heading); font-size: .65rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; line-height: 1.2; }
.why-features { display: flex; flex-direction: column; gap: 1.5rem; margin: 2.5rem 0; }
.why-feature { display: flex; gap: 1.2rem; align-items: flex-start; }
.why-feature-icon {
  width: 48px; height: 48px;
  border: 2px solid rgba(122,201,67,.4);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; color: var(--green);
  transition: background .2s, border-color .2s;
}
.why-feature:hover .why-feature-icon { background: rgba(122,201,67,.1); border-color: var(--green); }
.why-feature-icon svg { width: 22px; height: 22px; }
.why-feature-text h4 {
  font-family: var(--font-heading); font-size: 1rem; font-weight: 700;
  margin-bottom: .3rem; text-transform: uppercase; letter-spacing: .05em;
}
.why-feature-text p { font-size: .875rem; color: rgba(255,255,255,.58); line-height: 1.55; }

/* ── GALLERY ──────────────────────────────────────────────── */
#galeria { background: var(--gray); padding: 8rem 0; }
.gallery-header {
  display: flex; justify-content: space-between; align-items: flex-end;
  margin-bottom: 3rem; gap: 2rem; flex-wrap: wrap;
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 220px;
  gap: 4px;
}
.gallery-item { overflow: hidden; cursor: pointer; position: relative; background: var(--gray2); }
.gallery-item:nth-child(5n+1) { grid-column: span 2; grid-row: span 2; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease, filter .3s; filter: brightness(.82); }
.gallery-item:hover img { transform: scale(1.08); filter: brightness(1); }
.gallery-item::after {
  content: '';
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; background: rgba(122,201,67,.22);
  transition: opacity .3s;
}
.gallery-item:hover::after { opacity: 1; }
.gallery-expand {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transition: opacity .3s; z-index: 2; color: var(--white);
}
.gallery-expand svg { width: 36px; height: 36px; filter: drop-shadow(0 2px 4px rgba(0,0,0,.5)); }
.gallery-item:hover .gallery-expand { opacity: 1; }
.gallery-more { text-align: center; margin-top: 3rem; }

/* Lightbox */
#lightbox {
  display: none; position: fixed; inset: 0;
  background: rgba(0,0,0,.95); z-index: 9999;
  align-items: center; justify-content: center; flex-direction: column;
}
#lightbox.open { display: flex; }
#lightbox img { max-width: 90vw; max-height: 85vh; object-fit: contain; }
#lb-close {
  position: absolute; top: 1.5rem; right: 1.5rem;
  font-size: 2rem; color: var(--white); cursor: pointer;
  background: rgba(255,255,255,.1); border: none; width: 48px; height: 48px;
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  transition: background .2s;
}
#lb-close:hover { background: var(--green); color: var(--black); }
#lb-prev, #lb-next {
  position: absolute; top: 50%; transform: translateY(-50%);
  background: rgba(10,10,10,.7); border: 2px solid rgba(122,201,67,.5);
  color: var(--white); font-size: 1.8rem; width: 52px; height: 52px;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; transition: background .2s, border-color .2s;
}
#lb-prev { left: 1.5rem; }
#lb-next { right: 1.5rem; }
#lb-prev:hover, #lb-next:hover { background: var(--green); color: var(--black); border-color: var(--green); }

/* ── TRUST BAR ────────────────────────────────────────────── */
#trust-bar {
  background: var(--black);
  border-top: 1px solid rgba(255,255,255,.06);
  border-bottom: 1px solid rgba(255,255,255,.06);
  padding: 3.5rem 0;
}
.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}
.trust-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}
.trust-icon {
  width: 44px; height: 44px;
  border: 2px solid var(--green);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--green); flex-shrink: 0;
}
.trust-icon svg { width: 20px; height: 20px; }
.trust-title {
  font-family: var(--font-heading); font-size: .9rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .04em; margin-bottom: .2rem;
}
.trust-sub { font-size: .8rem; color: rgba(255,255,255,.45); line-height: 1.4; }

/* ── CONTACT ──────────────────────────────────────────────── */
#contacto {
  background: var(--gray);
  padding: 8rem 0;
  position: relative; overflow: hidden;
}
#contacto::before {
  content: '';
  position: absolute; top: -200px; right: -200px;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(122,201,67,.07), transparent 70%);
  pointer-events: none;
}
.contact-grid {
  display: grid; grid-template-columns: 1fr 1.4fr;
  gap: 5rem; align-items: start;
}

.contact-wsp {
  display: flex; align-items: center; gap: 1.2rem;
  margin: 2rem 0;
  padding: 1.4rem 1.6rem;
  background: var(--black);
  border-left: 4px solid #25D366;
  border-radius: 0 4px 4px 0;
}
.wsp-logo { width: 40px; height: 40px; flex-shrink: 0; }
.contact-wsp-text {}
.contact-wsp-text .label {
  font-family: var(--font-heading); font-size: .72rem;
  letter-spacing: .12em; text-transform: uppercase;
  color: rgba(255,255,255,.45);
}
.contact-wsp-text .number {
  font-family: var(--font-display); font-size: 1.9rem;
  color: var(--white); letter-spacing: .04em;
  transition: color .2s;
}
.contact-wsp-text .number:hover { color: #25D366; }

.contact-details { display: flex; flex-direction: column; gap: .9rem; margin-top: 1.5rem; }
.contact-detail {
  display: flex; align-items: center; gap: .9rem;
  font-size: .88rem; color: rgba(255,255,255,.6);
}
.contact-detail-icon { color: var(--green); flex-shrink: 0; }
.contact-detail-icon svg { width: 18px; height: 18px; }

/* Form */
.contact-form {
  background: var(--black);
  padding: 2.5rem;
  clip-path: polygon(0 0, calc(100% - 20px) 0, 100% 20px, 100% 100%, 20px 100%, 0 calc(100% - 20px));
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-group { display: flex; flex-direction: column; gap: .45rem; margin-bottom: 1rem; }
.form-group.full { grid-column: 1 / -1; }
.form-group label {
  font-family: var(--font-heading); font-size: .72rem; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,.45);
}
.form-group input, .form-group select, .form-group textarea {
  background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.1);
  color: var(--white); padding: .85rem 1rem;
  font-family: var(--font-body); font-size: .9rem;
  transition: border-color .2s, background .2s; outline: none; width: 100%;
  border-radius: 2px;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  border-color: var(--green); background: rgba(122,201,67,.04);
}
.form-group select { cursor: pointer; }
.form-group select option { background: var(--gray2); }
.form-group textarea { resize: vertical; min-height: 110px; }
.form-msg { padding: .8rem 1rem; margin-top: 1rem; font-size: .88rem; display: none; border-radius: 2px; }
.form-msg.ok  { background: rgba(122,201,67,.12); border: 1px solid var(--green); color: var(--green); display: block; }
.form-msg.err { background: rgba(220,53,69,.12); border: 1px solid #dc3545; color: #dc3545; display: block; }

/* ── FOOTER ───────────────────────────────────────────────── */
#footer {
  background: #050505;
  padding: 4rem 0 2rem;
  border-top: 1px solid rgba(255,255,255,.06);
}
.footer-inner {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 2.5rem; padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.footer-logo {
  display: flex; align-items: center; gap: .8rem; margin-bottom: 1.2rem;
}
/* Logo sin circunferencia en footer */
.footer-logo img {
  height: 44px;
  width: auto;
  max-width: 110px;
  object-fit: contain;
}
.footer-logo-text { font-family: var(--font-display); font-size: 1.1rem; letter-spacing: .04em; line-height: 1.1; }
.footer-logo-sub { font-family: var(--font-heading); font-size: .65rem; color: var(--green); letter-spacing: .14em; text-transform: uppercase; }
.footer-desc { font-size: .875rem; color: rgba(255,255,255,.38); line-height: 1.7; max-width: 280px; }
.footer-social { display: flex; gap: .8rem; margin-top: 1.5rem; }
.social-link {
  width: 38px; height: 38px;
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1);
  border-radius: 6px; display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.5); transition: background .2s, border-color .2s, color .2s;
}
.social-link:hover { background: var(--green); border-color: var(--green); color: var(--black); }
.social-link svg { width: 18px; height: 18px; }
.social-link.wsp:hover { background: #25D366; border-color: #25D366; }
.footer-col h5 {
  font-family: var(--font-heading); font-size: .78rem; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase; color: var(--green); margin-bottom: 1.4rem;
}
.footer-col ul li { margin-bottom: .8rem; }
.footer-col ul li a { font-size: .875rem; color: rgba(255,255,255,.4); transition: color .2s; }
.footer-col ul li a:hover { color: var(--white); }
.footer-bottom {
  padding-top: 2rem; display: flex; justify-content: space-between;
  align-items: center; gap: 1rem; flex-wrap: wrap;
}
.footer-bottom p { font-size: .78rem; color: rgba(255,255,255,.22); }

/* ── FLOATING WAP ─────────────────────────────────────────── */
.float-wsp {
  position: fixed; bottom: 6rem; right: 1.5rem; z-index: 500;
  width: 58px; height: 58px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  box-shadow: 0 4px 24px rgba(37,211,102,.5);
  transition: transform .25s, box-shadow .25s;
  /* El SVG incluye el círculo verde — no necesitamos background */
}
.float-wsp:hover { transform: scale(1.12); box-shadow: 0 6px 32px rgba(37,211,102,.65); }
.float-wsp svg { width: 58px; height: 58px; display: block; }

/* ── STICKY MOBILE BAR ────────────────────────────────────── */
.sticky-bar {
  display: none;
  position: fixed; bottom: 0; left: 0; right: 0;
  z-index: 400;
  background: var(--black);
  border-top: 2px solid var(--green);
  padding: .75rem 1rem;
  gap: .6rem;
}
.sticky-bar a {
  flex: 1; display: flex; align-items: center; justify-content: center; gap: .5rem;
  font-family: var(--font-heading); font-size: .82rem; font-weight: 700;
  letter-spacing: .06em; text-transform: uppercase;
  padding: .75rem .5rem; border-radius: 4px;
  transition: background .2s;
}
.sticky-bar a svg { width: 18px; height: 18px; flex-shrink: 0; }
.sticky-bar .sb-wsp { background: #25D366; color: var(--black); }
.sticky-bar .sb-wsp:hover { background: #1da851; }
.sticky-bar .sb-call { background: var(--gray); color: var(--white); border: 1px solid rgba(255,255,255,.15); }
.sticky-bar .sb-call:hover { background: var(--gray2); }

/* ── SCROLL REVEAL ────────────────────────────────────────── */
.reveal { opacity: 0; transform: translateY(40px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ── RESPONSIVE ───────────────────────────────────────────── */
@media (max-width: 1100px) {
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 1100px) {
  .hero-photo { display: none; }
  .hero-content {
    max-width: 660px;
    margin-left: auto;
    margin-right: auto;
  }
}

@media (max-width: 1024px) {
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
  .gallery-item:nth-child(5n+1) { grid-column: span 2; }
  .cobertura-inner { gap: 3rem; }
}

@media (max-width: 900px) {
  .services-grid { grid-template-columns: 1fr; }
  .services-header { flex-direction: column; align-items: flex-start; }
  .cta-strip-inner { flex-direction: column; align-items: flex-start; }
  .araucania-inner { gap: 1.5rem; }
  .araucania-locations { margin-left: 0; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-item:not(:last-child)::after { display: none; }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-burger { display: flex; }
  .sticky-bar { display: flex; }
  body { padding-bottom: 72px; }

  /* NAV mobile: ocultar subtítulo, compactar */
  .nav-logo img { height: 52px; } /* logo sin texto → puede ser más grande en mobile */
  #nav { padding: .75rem 0; }
  #nav.scrolled { padding: .6rem 0; }

  /* ── HERO mobile ── */
  #hero {
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-start;
    padding-top: 80px;
    padding-bottom: 4.5rem;
  }
  .hero-photo { display: none; }
  .hero-content {
    width: 100%;
    max-width: 100%;
    margin-left: 0;
    margin-right: 0;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }

  /* Badge simplificado */
  .hero-badge { font-size: .72rem; gap: .5rem; padding: .3rem .8rem; margin-bottom: 1.2rem; }
  .hero-badge .sep { display: none; }
  .hero-badge span:last-child { display: none; }

  /* Trust items: 2×2 en mobile */
  .hero-trust {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: .6rem .8rem;
    margin-top: 1.8rem;
    padding-top: 1.5rem;
  }
  .hero-trust-item:nth-child(n+3) { display: flex; }

  .hero-actions { flex-direction: column; align-items: stretch; gap: .8rem; }
  .hero-actions .btn { justify-content: center; }

  .cobertura-inner { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .why-photo img { height: 380px; }
  .why-badge { bottom: -10px; right: 10px; width: 100px; height: 100px; }
  .why-badge .years { font-size: 2rem; }

  .gallery-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 180px; }
  .gallery-item:nth-child(5n+1) { grid-column: span 2; }

  .contact-grid { grid-template-columns: 1fr; gap: 3rem; }
  .footer-inner { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .form-row { grid-template-columns: 1fr; }
  .float-wsp { bottom: 5.5rem; }
  .trust-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 480px) {
  /* NAV ultra compacto */
  .nav-logo img { height: 46px; }
  #nav { padding: .6rem 0; }

  /* Hero: título ajustado a pantalla pequeña */
  .hero-title { font-size: clamp(2.2rem, 9vw, 3rem); }
  .hero-sub { font-size: .88rem; line-height: 1.55; margin-bottom: 2rem; }
  .hero-badge { margin-bottom: 1rem; }
  .hero-trust { gap: .5rem .6rem; }
  .hero-trust-item { font-size: .7rem; gap: .35rem; }

  .gallery-grid { grid-template-columns: 1fr; grid-auto-rows: 240px; }
  .gallery-item:nth-child(5n+1) { grid-column: span 1; }
  .trust-grid { grid-template-columns: 1fr; }
  .contact-form { padding: 1.5rem; }
  .araucania-locations { gap: 1rem; flex-wrap: wrap; }
  .cta-strip-phone { font-size: 1.3rem; }
}
