/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --brown:      #8B5E3C;
  --brown-lt:   #C4956A;
  --brown-dk:   #5C3D2E;
  --accent:     #1E110A;
  --cream:      #FAF7F2;
  --cream-dk:   #F0E8DC;
  --text:       #2A1F17;
  --text-muted: #7A6355;
  --white:      #FFFFFF;
  --green:      #2D9B6F;
  --shadow-sm:  0 2px 12px rgba(44,24,16,.07);
  --shadow-md:  0 8px 32px rgba(44,24,16,.11);
  --shadow-lg:  0 24px 64px rgba(44,24,16,.15);
  --radius:     14px;
  --radius-lg:  22px;
  --nav-h:      76px;
  --transition: .3s cubic-bezier(.4,0,.2,1);
}

html { scroll-behavior: smooth; scroll-padding-top: var(--nav-h); }

/* Safe-area solo para el botón WhatsApp (evita que quede oculto por gestos del sistema) */
@supports (padding: max(0px)) {
  .wa-wrapper { bottom: max(18px, env(safe-area-inset-bottom)); }
}

html, body {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  overflow-x: hidden;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Poppins', sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  background: var(--white);
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  -webkit-tap-highlight-color: rgba(139,94,60,.18);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  position: relative;
}

/* Garantiza que ninguna sección genere scroll horizontal */
section { width: 100%; overflow-x: hidden; }

/* Inputs: 16px mínimo en móvil evita el zoom-in automático de iOS */
input, select, textarea, button { font-family: inherit; }
@media (max-width: 768px) {
  .form__group input, .form__group select, .form__group textarea { font-size: 16px !important; }
}

/* Mejor focus accesible para teclado */
a:focus-visible, button:focus-visible, input:focus-visible,
select:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--brown);
  outline-offset: 2px;
}

h1,h2,h3,h4,h5 { font-family: 'Poppins', sans-serif; line-height: 1.2; font-weight: 700; }
h1 { font-size: clamp(2.4rem, 5vw, 4rem); }
h2 { font-size: clamp(1.9rem, 3.5vw, 2.75rem); }
h3 { font-size: clamp(1.1rem, 2vw, 1.35rem); }
.highlight { font-style: normal; color: var(--brown-lt); }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
ul { list-style: none; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 32px; }

/* ===== URGENCY BAR ===== */
.urgency-bar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  background: var(--accent);
  color: var(--white);
  display: flex; align-items: center; justify-content: center; gap: 16px;
  padding: 11px 24px;
  font-size: .82rem; font-weight: 500; letter-spacing: .01em;
  text-align: center;
  border-bottom: 1px solid rgba(196,149,106,.2);
}
.urgency-bar a { color: var(--brown-lt); font-weight: 600; border-bottom: 1px solid rgba(196,149,106,.4); }
.urgency-bar button {
  background: none; border: none; color: rgba(255,255,255,.5); cursor: pointer;
  font-size: 1rem; line-height: 1; padding: 4px;
  position: absolute; right: 20px; transition: color var(--transition);
}
.urgency-bar button:hover { color: var(--white); }

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: 'Poppins', sans-serif; font-weight: 600; font-size: .9rem;
  border-radius: 50px; padding: 13px 30px;
  cursor: pointer; transition: all var(--transition);
  border: 2px solid transparent; white-space: nowrap; text-decoration: none;
  letter-spacing: .01em;
}
.btn--lg { padding: 16px 38px; font-size: .975rem; }
.btn--full { width: 100%; }
.btn--primary { background: var(--brown); color: var(--white); border-color: var(--brown); }
.btn--primary:hover { background: var(--brown-dk); border-color: var(--brown-dk); transform: translateY(-2px); box-shadow: 0 10px 28px rgba(139,94,60,.35); }
.btn--secondary { background: transparent; color: var(--brown); border-color: var(--brown); }
.btn--secondary:hover { background: var(--brown); color: var(--white); transform: translateY(-2px); }
.btn--ghost { background: rgba(255,255,255,.1); color: var(--white); border-color: rgba(255,255,255,.35); backdrop-filter: blur(8px); }
.btn--ghost:hover { background: rgba(255,255,255,.2); border-color: rgba(255,255,255,.65); transform: translateY(-2px); }

/* ===== NAV ===== */
.nav { position: fixed; top: 0; left: 0; right: 0; width: 100%; z-index: 100; transition: all var(--transition); }
.nav.scrolled {
  top: 0;
  background: rgba(250,247,242,.4);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 1px 0 rgba(139,94,60,.1);
}
.nav__inner {
  max-width: 1200px; margin: 0 auto; padding: 0 32px;
  height: var(--nav-h); display: flex; align-items: center; justify-content: space-between;
}
.nav__logo {
  display: flex; align-items: center; gap: 10px;
  font-family: 'Poppins', sans-serif; font-size: 1.3rem; font-weight: 800;
  color: var(--accent); letter-spacing: .05em; text-transform: uppercase;
}
.nav__logo-img { height: 50px; width: auto; object-fit: contain; filter: brightness(0) invert(1); transition: filter var(--transition); }
.nav.scrolled .nav__logo-img { filter: none; }
.nav.scrolled .nav__logo { color: var(--accent); }
.nav:not(.scrolled) .nav__logo { color: var(--white); }

.nav__menu { display: flex; align-items: center; gap: 4px; }
.nav__menu a { font-size: .875rem; font-weight: 500; padding: 8px 16px; border-radius: 50px; transition: all var(--transition); }
.nav.scrolled .nav__menu a { color: var(--text-muted); }
.nav.scrolled .nav__menu a:hover { color: var(--brown); background: var(--cream); }
.nav:not(.scrolled) .nav__menu a { color: rgba(255,255,255,.8); }
.nav:not(.scrolled) .nav__menu a:hover { color: var(--white); background: rgba(255,255,255,.12); }
.nav__cta { background: var(--brown) !important; color: var(--white) !important; padding: 10px 22px !important; font-weight: 600 !important; }
.nav__cta:hover { background: var(--brown-dk) !important; transform: translateY(-1px); box-shadow: 0 6px 18px rgba(139,94,60,.35); }

.nav__toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 8px; }
.nav__toggle span { display: block; width: 24px; height: 2px; background: var(--white); transition: all var(--transition); border-radius: 2px; }
.nav.scrolled .nav__toggle span { background: var(--accent); }

/* ===== HERO ===== */
.hero { position: relative; min-height: 100vh; width: 100%; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.hero__bg { position: absolute; inset: 0; z-index: 0; background: #1E110A; }
.hero__bg-img { width: 100%; height: 100%; object-fit: cover; object-position: center; display: block; }
.hero__overlay {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(160deg, rgba(30,17,10,.88) 0%, rgba(92,61,46,.7) 55%, rgba(30,17,10,.65) 100%);
}
.hero__content {
  position: relative; z-index: 2;
  max-width: 780px; text-align: center; padding: 48px 32px;
  display: flex; flex-direction: column; align-items: center; gap: 28px;
}
.hero__badge {
  display: inline-block;
  background: rgba(196,149,106,.15); border: 1px solid rgba(196,149,106,.4);
  color: var(--brown-lt); font-size: .8rem; font-weight: 600;
  padding: 7px 20px; border-radius: 50px; letter-spacing: .08em; text-transform: uppercase;
}
.hero__title { color: var(--white); font-weight: 800; text-shadow: 0 2px 24px rgba(0,0,0,.25); }
.hero__sub { color: rgba(255,255,255,.78); font-size: 1.075rem; max-width: 540px; font-weight: 400; line-height: 1.75; }
.hero__actions { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; margin-top: 4px; }
.hero__trust {
  display: flex; align-items: center;
  background: rgba(255,255,255,.08); backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,.15); border-radius: 18px; padding: 18px 4px;
  margin-top: 12px; width: 100%;
}
.hero__trust-item { text-align: center; flex: 1; padding: 0 8px; }
.hero__trust-item strong { display: block; font-size: 1.6rem; font-weight: 800; color: var(--white); }
.hero__trust-item span { font-size: .72rem; color: rgba(255,255,255,.6); text-transform: uppercase; letter-spacing: .08em; font-weight: 500; }
.hero__trust-sep { width: 1px; height: 44px; background: rgba(255,255,255,.15); flex-shrink: 0; }

/* ===== HERO ANIMATIONS ===== */
@keyframes heroFadeUp   { from { opacity:0; transform:translateY(40px); } to { opacity:1; transform:translateY(0); } }
@keyframes heroFadeDown { from { opacity:0; transform:translateY(-24px); } to { opacity:1; transform:translateY(0); } }
@keyframes heroScale    { from { opacity:0; transform:scale(.93); } to { opacity:1; transform:scale(1); } }

.hero__badge   { animation: heroFadeDown .7s cubic-bezier(.4,0,.2,1) .2s  both; }
.hero__title   { animation: heroFadeUp   .8s cubic-bezier(.4,0,.2,1) .45s both; }
.hero__sub     { animation: heroFadeUp   .8s cubic-bezier(.4,0,.2,1) .65s both; }
.hero__actions { animation: heroFadeUp   .8s cubic-bezier(.4,0,.2,1) .85s both; }
.hero__trust   { animation: heroScale    .9s cubic-bezier(.4,0,.2,1) 1.05s both; }

/* ===== VALUE BAR ===== */
.value-bar { background: var(--brown); color: var(--white); padding: 0; }
.value-bar__grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.value-bar__item {
  display: flex; align-items: center; gap: 14px;
  padding: 22px 28px;
  border-right: 1px solid rgba(255,255,255,.12);
  transition: background var(--transition);
}
.value-bar__item:hover { background: rgba(255,255,255,.06); }
.value-bar__item:last-child { border-right: none; }
.value-bar__item svg { flex-shrink: 0; opacity: .85; }
.value-bar__item p { margin: 0; font-size: .875rem; line-height: 1.4; }
.value-bar__item strong { display: block; color: var(--white); font-weight: 600; }
.value-bar__item span { color: rgba(255,255,255,.65); font-size: .8rem; }

/* ===== SECTION COMMON ===== */
.section { padding: 110px 0; }
.section__header { text-align: center; max-width: 640px; margin: 0 auto 72px; }
.section__tag {
  display: inline-block; font-size: .75rem; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; color: var(--brown); background: rgba(139,94,60,.1);
  padding: 5px 18px; border-radius: 50px; margin-bottom: 18px;
}
.section__title { margin-bottom: 16px; color: var(--accent); font-weight: 800; }
.section__desc { color: var(--text-muted); font-size: 1.05rem; line-height: 1.75; font-weight: 400; }

/* ===== SERVICES ===== */
.services { background: var(--cream); }
.services__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }

.svc-card {
  background: var(--white); border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: 0 4px 24px rgba(44,24,16,.08);
  display: flex; flex-direction: column;
  transition: transform .35s cubic-bezier(.4,0,.2,1), box-shadow .35s cubic-bezier(.4,0,.2,1);
}
.svc-card:hover { transform: translateY(-10px); box-shadow: 0 28px 60px rgba(44,24,16,.16); }

.svc-card__header {
  background: linear-gradient(135deg, var(--svc-from), var(--svc-to));
  padding: 32px 28px 26px;
  display: flex; flex-direction: column; gap: 16px;
  position: relative; overflow: hidden;
}
.svc-card__header::after {
  content: ''; position: absolute; inset: 0;
  background: repeating-linear-gradient(45deg, transparent 0px, transparent 22px, rgba(255,255,255,.03) 22px, rgba(255,255,255,.03) 24px);
}
.svc-card__num {
  font-family: 'Poppins', sans-serif; font-size: 3.5rem; font-weight: 800; line-height: 1;
  color: rgba(255,255,255,.12); position: absolute; top: 12px; right: 20px; letter-spacing: -.03em;
}
.svc-card__icon-wrap {
  width: 56px; height: 56px; border-radius: 14px;
  background: rgba(255,255,255,.15); display: flex; align-items: center; justify-content: center;
  position: relative; z-index: 1;
}
.svc-card__badge {
  display: inline-block; align-self: flex-start;
  background: rgba(255,255,255,.2); color: var(--white);
  font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  padding: 4px 14px; border-radius: 50px; border: 1px solid rgba(255,255,255,.25);
  position: relative; z-index: 1;
}
.svc-card__body { padding: 28px 28px 0; display: flex; flex-direction: column; gap: 14px; flex: 1; }
.svc-card__body h3 { font-size: 1.2rem; color: var(--accent); font-weight: 700; }
.svc-card__body p  { font-size: .9rem; color: var(--text-muted); line-height: 1.7; }

.svc-card__list { display: flex; flex-direction: column; gap: 9px; margin-top: 4px; }
.svc-card__list li { display: flex; align-items: center; gap: 10px; font-size: .875rem; color: var(--text-muted); }
.svc-card__list li::before { content: ''; width: 5px; height: 5px; border-radius: 50%; background: var(--brown-lt); flex-shrink: 0; }

.svc-card__cta {
  display: flex; align-items: center; justify-content: space-between;
  margin: 24px 28px 28px; padding: 14px 20px;
  background: var(--cream); border-radius: var(--radius);
  font-size: .875rem; font-weight: 600; color: var(--brown);
  border: 1.5px solid var(--cream-dk); transition: all var(--transition);
}
.svc-card__cta:hover { background: var(--brown); color: var(--white); border-color: var(--brown); }
.svc-card__cta svg { transition: transform var(--transition); }
.svc-card__cta:hover svg { transform: translateX(5px); }

/* ===== GALLERY ===== */
.gallery { background: var(--white); position: relative; }
.gallery::before {
  content:""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(circle at 10% 0%, rgba(196,149,106,.07) 0%, transparent 35%),
    radial-gradient(circle at 90% 100%, rgba(139,94,60,.05) 0%, transparent 40%);
}
.gallery .container { position: relative; z-index: 1; }

/* Stats portfolio */
.gallery__stats {
  display: grid; grid-template-columns: repeat(4,1fr); gap: 12px;
  max-width: 760px; margin: 0 auto 36px;
}
.gallery__stat {
  background: var(--cream); border: 1px solid var(--cream-dk);
  border-radius: var(--radius); padding: 18px 14px; text-align: center;
  transition: all var(--transition);
}
.gallery__stat:hover { transform: translateY(-3px); border-color: var(--brown-lt); box-shadow: var(--shadow-sm); }
.gallery__stat strong {
  display: block; font-size: 1.65rem; font-weight: 700; color: var(--brown-dk);
  font-family: 'Poppins', sans-serif; line-height: 1;
}
.gallery__stat span { display: block; font-size: .72rem; color: var(--text-muted); margin-top: 6px; letter-spacing: .04em; text-transform: uppercase; }

/* Filtro madera */
.gallery__filter {
  display: flex; gap: 10px; justify-content: center; margin-bottom: 28px;
  flex-wrap: wrap;
}
.gallery__btn {
  display: inline-flex; align-items: center; gap: 9px;
  background: var(--white); border: 1.5px solid var(--cream-dk); color: var(--text);
  font-family: 'Poppins', sans-serif; font-size: .82rem; font-weight: 500;
  padding: 9px 18px 9px 12px; border-radius: 50px; cursor: pointer;
  transition: all var(--transition); position: relative;
}
.gallery__btn small {
  font-size: .68rem; font-weight: 600; padding: 2px 7px;
  background: var(--cream); border-radius: 50px; color: var(--text-muted);
  transition: all var(--transition);
}
.gallery__btn-dot {
  width: 14px; height: 14px; border-radius: 50%; flex-shrink: 0;
  box-shadow: 0 0 0 2px var(--white), 0 0 0 3px rgba(0,0,0,.08);
  transition: all var(--transition);
}
.gallery__btn-dot--all       { background: linear-gradient(135deg,#8B5E3C,#C4956A,#5C3D2E); }
.gallery__btn-dot--granadillo{ background: linear-gradient(135deg,#7B2D1E,#A84935); }
.gallery__btn-dot--guaymaro  { background: linear-gradient(135deg,#B8753B,#D4A574); }
.gallery__btn-dot--incienso  { background: linear-gradient(135deg,#D9A552,#F0CE8B); }
.gallery__btn-dot--teka      { background: linear-gradient(135deg,#8B5E3C,#A87646); }
.gallery__btn-dot--zapan     { background: linear-gradient(135deg,#3D2B1F,#6B4226); }
.gallery__btn-dot--escaleras { background: linear-gradient(135deg,#5C3D2E,#8B5E3C); }
.gallery__btn-dot--restauracion { background: linear-gradient(135deg,#2D9B6F,#5BC597); }
.gallery__btn:hover { border-color: var(--brown-lt); transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.gallery__btn.active { background: var(--accent); border-color: var(--accent); color: var(--white); }
.gallery__btn.active small { background: rgba(255,255,255,.18); color: var(--white); }
.gallery__btn.active .gallery__btn-dot { box-shadow: 0 0 0 2px var(--accent), 0 0 0 3px rgba(255,255,255,.3); }
.gallery__btn--special { border-color: rgba(45,155,111,.4); }
.gallery__btn--special:hover { border-color: var(--green); }
.gallery__btn--special.active { background: linear-gradient(135deg,#2D9B6F,#1E110A); border-color: transparent; }

/* Banner intro dinámico */
.gallery__intro {
  display: flex; gap: 18px; align-items: center;
  background: linear-gradient(135deg, rgba(196,149,106,.08) 0%, rgba(139,94,60,.04) 100%);
  border: 1px solid var(--cream-dk); border-left: 4px solid var(--brown);
  border-radius: var(--radius); padding: 18px 24px; margin-bottom: 30px;
  transition: all var(--transition);
}
.gallery__intro.is-special { border-left-color: var(--green); background: linear-gradient(135deg, rgba(45,155,111,.08) 0%, rgba(45,155,111,.02) 100%); }
.gallery__intro-icon {
  width: 48px; height: 48px; border-radius: 12px;
  background: var(--white); color: var(--brown);
  display: grid; place-items: center; flex-shrink: 0;
  box-shadow: var(--shadow-sm);
}
.gallery__intro.is-special .gallery__intro-icon { color: var(--green); }
.gallery__intro-icon svg { width: 24px; height: 24px; }
.gallery__intro-text h3 { font-size: 1.05rem; color: var(--accent); margin-bottom: 2px; }
.gallery__intro-text p { font-size: .85rem; color: var(--text-muted); margin: 0; }

/* Grid masonry */
.gallery__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 220px;
  gap: 14px;
}
.gallery__item {
  position: relative; border-radius: var(--radius); overflow: hidden;
  cursor: zoom-in; transition: all var(--transition);
  background: var(--cream); box-shadow: var(--shadow-sm);
}
.gallery__item::after {
  content:""; position: absolute; inset: 0; border-radius: var(--radius);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.05);
  pointer-events: none;
}
.gallery__item:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.gallery__item.hidden { display: none; }
.gallery__item--tall { grid-row: span 2; }
.gallery__item--wide { grid-column: span 2; }

.gallery__img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform .8s cubic-bezier(.16,1,.3,1);
}
.gallery__item:hover .gallery__img { transform: scale(1.07); }

/* Badge madera */
.gallery__badge {
  position: absolute; top: 12px; left: 12px; z-index: 2;
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(255,255,255,.92); backdrop-filter: blur(10px);
  padding: 5px 12px 5px 8px; border-radius: 50px;
  font-size: .68rem; font-weight: 600; color: var(--accent);
  letter-spacing: .02em; box-shadow: 0 4px 12px rgba(0,0,0,.12);
  transition: all var(--transition);
}
.gallery__badge--special { background: var(--green); color: var(--white); }
.gallery__badge-dot { width: 10px; height: 10px; border-radius: 50%; }
.gallery__item:hover .gallery__badge { transform: translateY(-2px); }

/* Overlay */
.gallery__overlay {
  position: absolute; inset: 0; padding: 18px;
  display: flex; flex-direction: column; justify-content: flex-end; gap: 2px;
  background: linear-gradient(180deg, transparent 0%, transparent 45%, rgba(30,17,10,.85) 100%);
  opacity: 0; transform: translateY(8px);
  transition: all var(--transition);
}
.gallery__item:hover .gallery__overlay { opacity: 1; transform: translateY(0); }
.gallery__overlay-title { color: var(--white); font-size: 1rem; font-weight: 600; line-height: 1.3; }
.gallery__overlay-sub { color: rgba(255,255,255,.78); font-size: .76rem; font-weight: 400; }
.gallery__zoom {
  position: absolute; top: 14px; right: 14px;
  width: 38px; height: 38px; border-radius: 50%;
  background: rgba(255,255,255,.95); color: var(--accent);
  display: grid; place-items: center;
  transform: scale(.7); opacity: 0;
  transition: all var(--transition);
}
.gallery__zoom svg { width: 18px; height: 18px; }
.gallery__item:hover .gallery__zoom { transform: scale(1); opacity: 1; }

.gallery__empty {
  text-align: center; padding: 60px 20px; color: var(--text-muted);
  background: var(--cream); border-radius: var(--radius); margin-top: 8px;
}
.gallery__cta { text-align: center; margin-top: 52px; }

/* ===== LIGHTBOX ===== */
.lightbox {
  position: fixed; inset: 0; z-index: 1000;
  background: rgba(15, 8, 4, .95); backdrop-filter: blur(8px);
  display: none; align-items: center; justify-content: center;
  padding: 40px 20px;
  opacity: 0; transition: opacity .3s ease;
}
.lightbox.is-open { display: flex; opacity: 1; }
.lightbox__content {
  position: relative; max-width: 1100px; width: 100%;
  display: flex; flex-direction: column; align-items: center; gap: 18px;
  animation: lbZoom .35s cubic-bezier(.16,1,.3,1);
}
@keyframes lbZoom { from { opacity: 0; transform: scale(.92); } to { opacity: 1; transform: scale(1); } }
.lightbox__img {
  max-width: 100%; max-height: 75vh; object-fit: contain;
  border-radius: var(--radius); box-shadow: 0 30px 80px rgba(0,0,0,.5);
  display: block;
}
.lightbox__info {
  display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1);
  padding: 12px 20px; border-radius: 50px; color: var(--white);
  backdrop-filter: blur(10px); max-width: 100%;
}
.lightbox__badge {
  background: var(--brown); color: var(--white);
  padding: 4px 12px; border-radius: 50px; font-size: .72rem; font-weight: 600;
  letter-spacing: .03em;
}
.lightbox__counter { color: rgba(255,255,255,.55); font-size: .8rem; font-weight: 500; }
.lightbox__title { font-size: 1rem; font-weight: 600; margin: 0; color: var(--white); }
.lightbox__desc { font-size: .82rem; color: rgba(255,255,255,.7); margin: 0; }

.lightbox__close,
.lightbox__nav {
  position: absolute; z-index: 2;
  width: 48px; height: 48px; border-radius: 50%;
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.15);
  color: var(--white); cursor: pointer;
  display: grid; place-items: center;
  transition: all var(--transition);
  backdrop-filter: blur(10px);
}
.lightbox__close svg,
.lightbox__nav svg { width: 22px; height: 22px; }
.lightbox__close:hover,
.lightbox__nav:hover { background: var(--brown); border-color: var(--brown); transform: scale(1.08); }
.lightbox__close { top: 24px; right: 24px; }
.lightbox__nav { top: 50%; transform: translateY(-50%); }
.lightbox__nav:hover { transform: translateY(-50%) scale(1.08); }
.lightbox__nav--prev { left: 24px; }
.lightbox__nav--next { right: 24px; }
body.lb-open { overflow: hidden; }

/* ===== STATS ===== */
.stats { background: var(--accent); padding: 80px 0; }
.stats__grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat {
  text-align: center; padding: 32px 24px;
  border-right: 1px solid rgba(255,255,255,.08);
  position: relative;
}
.stat::before {
  content: ''; position: absolute; bottom: 0; left: 50%; transform: translateX(-50%);
  width: 32px; height: 2px; background: var(--brown-lt); border-radius: 2px; opacity: 0;
  transition: opacity var(--transition);
}
.stat:hover::before { opacity: 1; }
.stat:last-child { border-right: none; }
.stat__num { display: inline-block; font-family: 'Poppins', sans-serif; font-size: 3.5rem; font-weight: 800; color: var(--white); line-height: 1; }
.stat__plus { font-size: 2.2rem; font-weight: 800; color: var(--brown-lt); }
.stat p { color: rgba(255,255,255,.5); font-size: .8rem; margin-top: 10px; text-transform: uppercase; letter-spacing: .08em; font-weight: 500; }

/* ===== PROCESS ===== */
.process { background: var(--cream); }
.process__steps { display: flex; align-items: flex-start; gap: 0; }
.process__step { flex: 1; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 18px; }
.process__line { flex: 0 0 40px; height: 1px; background: linear-gradient(90deg, var(--brown-lt), var(--brown)); margin-top: 40px; opacity: .4; }
.process__num {
  width: 80px; height: 80px; border-radius: 50%;
  background: var(--white); border: 2px solid var(--brown-lt);
  display: flex; align-items: center; justify-content: center;
  font-family: 'Poppins', sans-serif; font-size: 1.4rem; font-weight: 800; color: var(--brown);
  box-shadow: 0 8px 24px rgba(139,94,60,.15); flex-shrink: 0;
  transition: all var(--transition);
}
.process__step:hover .process__num { background: var(--brown); color: var(--white); border-color: var(--brown); box-shadow: 0 12px 32px rgba(139,94,60,.35); }
.process__content h3 { color: var(--accent); font-size: 1rem; font-weight: 700; }
.process__content p { color: var(--text-muted); font-size: .875rem; max-width: 200px; line-height: 1.65; }

/* ===== WOODS ===== */
.woods { background: var(--white); }
.woods__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; align-items: stretch; }
.wood-card {
  display: flex; flex-direction: column; gap: 14px; align-items: center; text-align: center;
  padding: 28px 18px; border-radius: var(--radius); transition: all var(--transition);
  border: 1px solid var(--cream-dk); background: var(--cream);
}
.wood-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: var(--brown-lt); background: var(--white); }
.wood-card__swatch { width: 70px; height: 70px; border-radius: 50%; box-shadow: 0 4px 16px rgba(0,0,0,.18); background: linear-gradient(135deg, #7A4F35 0%, var(--wood-color) 50%, #D4A574 100%); }
.wood-card h4 { font-size: 1rem; color: var(--accent); font-weight: 700; }
.wood-card p { font-size: .82rem; color: var(--text-muted); line-height: 1.6; }
.wood-card--featured {
  background: linear-gradient(160deg, #fff 0%, var(--cream) 100%);
  border-color: var(--brown-lt);
  position: relative;
}
.wood-card--featured::before {
  content: "Maderas nativas";
  position: absolute; top: 14px; right: 14px;
  background: var(--brown); color: var(--white);
  font-size: .65rem; font-weight: 700; letter-spacing: .8px; text-transform: uppercase;
  padding: 4px 10px; border-radius: 999px;
}
.wood-card__species {
  list-style: none; padding: 0; margin: 4px 0 0;
  display: flex; flex-wrap: wrap; justify-content: center; gap: 6px;
}
.wood-card__species li {
  font-size: .72rem; font-weight: 600; color: var(--brown);
  background: rgba(139,94,60,.08); border: 1px solid rgba(139,94,60,.18);
  padding: 5px 10px; border-radius: 999px;
  transition: all var(--transition);
}
.wood-card--featured:hover .wood-card__species li { background: rgba(139,94,60,.14); border-color: rgba(139,94,60,.3); }

/* ===== FICHAS TÉCNICAS ===== */
.specs { background: linear-gradient(180deg, var(--white) 0%, var(--cream) 100%); position: relative; overflow: hidden; }
.specs::before {
  content: ""; position: absolute; top: -40%; right: -10%;
  width: 600px; height: 600px; border-radius: 50%;
  background: radial-gradient(circle, rgba(139,94,60,.06), transparent 70%);
  z-index: 0; pointer-events: none;
}
.specs .container { position: relative; z-index: 1; }

.specs__tabs {
  display: flex; gap: 10px; flex-wrap: wrap;
  background: var(--white); padding: 8px;
  border-radius: 999px; box-shadow: var(--shadow-sm);
  max-width: max-content; margin: 0 auto 40px;
  border: 1px solid var(--cream-dk);
}
.specs__tab {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 12px 22px; border: none; cursor: pointer;
  background: transparent; color: var(--text-muted);
  font-family: inherit; font-weight: 600; font-size: .88rem;
  border-radius: 999px; transition: all var(--transition);
  position: relative; white-space: nowrap;
}
.specs__tab:hover { color: var(--accent); background: rgba(139,94,60,.06); }
.specs__tab.active {
  background: linear-gradient(135deg, var(--brown), #5C3D2E);
  color: var(--white);
  box-shadow: 0 8px 22px rgba(139,94,60,.32);
  transform: translateY(-1px);
}
.specs__tab-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 22px; height: 22px;
}

.specs__panel {
  display: none;
  background: var(--white); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--cream-dk);
  overflow: hidden;
  opacity: 0;
}
.specs__panel.active {
  display: block;
  animation: specsFadeIn .55s cubic-bezier(.16,1,.3,1) forwards;
}
@keyframes specsFadeIn {
  0% { opacity: 0; transform: translateY(24px); }
  100% { opacity: 1; transform: translateY(0); }
}

.specs__head {
  padding: 40px 44px 28px; display: flex; gap: 32px;
  justify-content: space-between; align-items: flex-start;
  background: linear-gradient(135deg, var(--cream) 0%, #fff 100%);
  border-bottom: 1px solid var(--cream-dk);
  flex-wrap: wrap;
}
.specs__chip {
  display: inline-block; font-size: .7rem; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--brown); background: rgba(139,94,60,.1);
  padding: 6px 14px; border-radius: 999px; margin-bottom: 14px;
}
.specs__head h3 { font-size: 1.85rem; color: var(--accent); margin-bottom: 12px; font-weight: 800; }
.specs__lead { font-size: 1rem; color: var(--text-muted); line-height: 1.65; max-width: 560px; }

.specs__badge {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  min-width: 130px; min-height: 130px; padding: 20px;
  border-radius: 24px; color: var(--white);
  box-shadow: 0 14px 36px rgba(0,0,0,.18);
  position: relative; overflow: hidden;
  animation: badgePulse 3.5s ease-in-out infinite;
}
.specs__badge::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(circle at 30% 30%, rgba(255,255,255,.25), transparent 60%);
  pointer-events: none;
}
.specs__badge--blue { background: linear-gradient(135deg, #2C5F8D, #4A8DC5); }
.specs__badge--gold { background: linear-gradient(135deg, #B8860B, #DAA520); }
.specs__badge--green { background: linear-gradient(135deg, #2D7A4B, #4CAF7A); }
.specs__badge--brown { background: linear-gradient(135deg, #5C3D2E, #8B5E3C); }
.specs__badge-num { font-size: 2.2rem; font-weight: 800; line-height: 1; }
.specs__badge-txt { font-size: .72rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; margin-top: 8px; text-align: center; opacity: .95; }

@keyframes badgePulse {
  0%, 100% { transform: scale(1); box-shadow: 0 14px 36px rgba(0,0,0,.18); }
  50% { transform: scale(1.04); box-shadow: 0 18px 44px rgba(0,0,0,.24); }
}

.specs__highlights {
  display: grid; grid-template-columns: repeat(6, 1fr);
  gap: 14px; padding: 32px 44px;
  background: var(--white);
}
.spec-item {
  display: flex; flex-direction: column; align-items: center; text-align: center;
  gap: 6px; padding: 22px 12px;
  background: var(--cream); border-radius: var(--radius);
  border: 1px solid transparent;
  transition: all var(--transition);
  opacity: 0; transform: translateY(20px);
  animation: specItemIn .5s cubic-bezier(.16,1,.3,1) forwards;
}
.specs__panel.active .spec-item:nth-child(1) { animation-delay: .05s; }
.specs__panel.active .spec-item:nth-child(2) { animation-delay: .12s; }
.specs__panel.active .spec-item:nth-child(3) { animation-delay: .19s; }
.specs__panel.active .spec-item:nth-child(4) { animation-delay: .26s; }
.specs__panel.active .spec-item:nth-child(5) { animation-delay: .33s; }
.specs__panel.active .spec-item:nth-child(6) { animation-delay: .4s; }
@keyframes specItemIn {
  to { opacity: 1; transform: translateY(0); }
}
.spec-item:hover {
  background: var(--white); border-color: var(--brown-lt);
  transform: translateY(-4px); box-shadow: var(--shadow-sm);
}
.spec-item__icon { font-size: 1.6rem; line-height: 1; margin-bottom: 4px; }
.spec-item strong { font-size: 1rem; color: var(--accent); font-weight: 800; }
.spec-item span { font-size: .72rem; color: var(--text-muted); font-weight: 500; }

.specs__body {
  display: grid; grid-template-columns: 1.4fr 1fr; gap: 36px;
  padding: 12px 44px 40px;
}
.specs__features h4, .specs__care h4 {
  font-size: .82rem; font-weight: 800; letter-spacing: .12em;
  text-transform: uppercase; color: var(--brown);
  margin-bottom: 18px; padding-bottom: 10px;
  border-bottom: 2px solid var(--cream-dk);
}
.specs__list { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.specs__list li {
  display: flex; gap: 10px; align-items: flex-start;
  font-size: .9rem; color: var(--text); line-height: 1.55;
}
.specs__list--two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 18px; }
.specs__check {
  display: inline-flex; align-items: center; justify-content: center;
  flex: 0 0 22px; width: 22px; height: 22px; border-radius: 50%;
  background: linear-gradient(135deg, var(--brown), #C4956A);
  color: var(--white); font-size: .7rem; font-weight: 800;
  box-shadow: 0 3px 8px rgba(139,94,60,.3);
}
.specs__care {
  background: var(--cream); border-radius: var(--radius);
  padding: 24px 26px; align-self: start;
}
.specs__care p { font-size: .88rem; color: var(--text); margin-bottom: 10px; line-height: 1.6; }
.specs__care p strong { color: var(--accent); }
.specs__note {
  margin-top: 14px !important; padding-top: 14px;
  border-top: 1px dashed var(--cream-dk);
  font-style: italic; color: var(--text-muted) !important;
  font-size: .82rem !important;
}

.specs__download {
  display: flex; align-items: center; justify-content: center;
  gap: 12px; margin: 0 44px 44px;
  padding: 18px 28px; border-radius: var(--radius);
  background: linear-gradient(135deg, var(--accent), #3D2218);
  color: var(--white); text-decoration: none;
  font-weight: 700; font-size: .95rem;
  transition: all var(--transition);
  position: relative; overflow: hidden;
}
.specs__download::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(135deg, var(--brown), #5C3D2E);
  opacity: 0; transition: opacity var(--transition);
}
.specs__download:hover { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(0,0,0,.28); }
.specs__download:hover::before { opacity: 1; }
.specs__download > * { position: relative; z-index: 1; }

/* ===== TESTIMONIALS ===== */
.testimonials { background: var(--cream); }
.testimonials__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-bottom: 60px; }
.testimonial {
  background: var(--white); border-radius: var(--radius-lg); padding: 36px;
  box-shadow: var(--shadow-sm); transition: all var(--transition);
  display: flex; flex-direction: column; gap: 20px;
  border: 1px solid transparent;
}
.testimonial:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: var(--cream-dk); }
.testimonial--featured { background: var(--accent); border-color: transparent; }
.testimonial--featured p { color: rgba(255,255,255,.85); }
.testimonial__stars { font-size: .72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--brown-lt); }
.testimonial--featured .testimonial__stars { color: var(--brown-lt); }
.testimonial__quote {
  width: 32px; height: 32px; border-radius: 8px;
  background: rgba(139,94,60,.1); display: flex; align-items: center; justify-content: center;
}
.testimonial--featured .testimonial__quote { background: rgba(255,255,255,.1); }
.testimonial p { font-size: .9rem; color: var(--text-muted); flex: 1; line-height: 1.75; }
.testimonial__author { display: flex; align-items: center; gap: 14px; padding-top: 4px; border-top: 1px solid var(--cream-dk); }
.testimonial--featured .testimonial__author { border-top-color: rgba(255,255,255,.1); }
.testimonial__avatar { width: 46px; height: 46px; border-radius: 50%; flex-shrink: 0; display: flex; align-items: center; justify-content: center; font-family: 'Poppins', sans-serif; font-size: 1rem; font-weight: 700; color: var(--white); }
.testimonial__author strong { display: block; font-size: .9rem; color: var(--accent); font-weight: 700; }
.testimonial--featured .testimonial__author strong { color: var(--white); }
.testimonial__author span { font-size: .78rem; color: var(--text-muted); }
.testimonial--featured .testimonial__author span { color: rgba(255,255,255,.55); }

.testimonials__logos { text-align: center; }
.testimonials__logos > span { font-size: .75rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: .1em; font-weight: 600; display: block; margin-bottom: 18px; }
.testimonials__logos-row { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.logo-pill { background: var(--white); border: 1px solid var(--cream-dk); color: var(--text-muted); font-size: .82rem; font-weight: 500; padding: 8px 20px; border-radius: 50px; transition: all var(--transition); }
.logo-pill:hover { border-color: var(--brown-lt); color: var(--brown); }

/* ===== CONTACT ===== */
.contact { background: var(--white); }
.contact__inner { display: grid; grid-template-columns: 1fr 1.4fr; gap: 96px; align-items: start; }
.contact__left { position: sticky; top: 100px; }
.contact__left .section__tag { margin-bottom: 20px; }
.contact__left h2 { margin-bottom: 16px; color: var(--accent); }
.contact__left p { color: var(--text-muted); font-size: .95rem; margin-bottom: 40px; line-height: 1.75; }
.contact__info { display: flex; flex-direction: column; gap: 14px; }
.contact__info-item { display: flex; align-items: center; gap: 14px; font-size: .9rem; color: var(--text-muted); padding: 14px 18px; border-radius: var(--radius); background: var(--cream); transition: all var(--transition); }

/* Zonas de cobertura (Sabana de Bogotá) */
.coverage { margin-top: 32px; padding-top: 28px; border-top: 1px solid var(--cream-dk); }
.coverage__title {
  font-size: .82rem; font-weight: 700; color: var(--accent);
  text-transform: uppercase; letter-spacing: .08em; margin-bottom: 6px;
}
.coverage__desc { font-size: .85rem; color: var(--text-muted); margin-bottom: 16px; line-height: 1.6; }
.coverage__chips { display: flex; flex-wrap: wrap; gap: 6px; }
.coverage__chip {
  display: inline-flex; align-items: center;
  padding: 6px 12px; border-radius: 50px;
  font-size: .76rem; font-weight: 500;
  background: var(--cream); color: var(--text);
  border: 1px solid var(--cream-dk);
  transition: all var(--transition);
}
.coverage__chip:hover { background: var(--brown-lt); color: var(--white); border-color: var(--brown-lt); transform: translateY(-1px); }
.coverage__chip--primary {
  background: var(--brown); color: var(--white); border-color: var(--brown);
  box-shadow: 0 4px 12px rgba(139,94,60,.25);
}
.coverage__chip--primary:hover { background: var(--brown-dk); border-color: var(--brown-dk); }
a.contact__info-item:hover { color: var(--brown); background: var(--cream-dk); }

.contact__right { background: var(--cream); border-radius: var(--radius-lg); padding: 40px; }
.contact__form { display: flex; flex-direction: column; gap: 20px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form__group { display: flex; flex-direction: column; gap: 7px; }
.form__group label { font-size: .8rem; font-weight: 600; color: var(--accent); text-transform: uppercase; letter-spacing: .06em; }
.form__group input, .form__group select, .form__group textarea {
  background: var(--white); border: 1.5px solid var(--cream-dk); border-radius: var(--radius);
  padding: 14px 18px; font-family: 'Poppins', sans-serif; font-size: .9rem; color: var(--text);
  transition: all var(--transition); outline: none; appearance: none; -webkit-appearance: none;
}
.form__group input:focus, .form__group select:focus, .form__group textarea:focus { border-color: var(--brown); box-shadow: 0 0 0 4px rgba(139,94,60,.1); }
.form__group input.error, .form__group select.error { border-color: #e53e3e; }
.form__group textarea { resize: vertical; min-height: 100px; }
.form__check { display: flex; align-items: flex-start; gap: 10px; }
.form__check input { margin-top: 3px; accent-color: var(--brown); width: 16px; height: 16px; flex-shrink: 0; }
.form__check label { font-size: .82rem; color: var(--text-muted); }
.form__check a { color: var(--brown); text-decoration: underline; }
.form__success { display: none; align-items: center; gap: 12px; background: rgba(45,155,111,.08); border: 1px solid rgba(45,155,111,.25); color: var(--green); padding: 16px 20px; border-radius: var(--radius); font-weight: 600; font-size: .9rem; }

/* ===== FOOTER ===== */
.footer { background: var(--accent); color: var(--white); padding: 80px 0 0; }
.footer__inner { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 56px; padding-bottom: 64px; border-bottom: 1px solid rgba(255,255,255,.07); }
.footer__brand .nav__logo { color: var(--white); margin-bottom: 20px; }
.footer__logo-img { height: 54px; width: auto; object-fit: contain; filter: brightness(0) invert(1); }
.footer__brand p { color: rgba(255,255,255,.45); font-size: .875rem; line-height: 1.75; max-width: 280px; }
.footer__col h5 { font-family: 'Poppins', sans-serif; font-size: .8rem; font-weight: 700; margin-bottom: 22px; color: rgba(255,255,255,.4); text-transform: uppercase; letter-spacing: .1em; }
.footer__col ul { display: flex; flex-direction: column; gap: 12px; }
.footer__col a, .footer__col span { color: rgba(255,255,255,.55); font-size: .875rem; transition: color var(--transition); }
.footer__col a:hover { color: var(--brown-lt); }
.footer__bottom { padding: 24px 0; }
.footer__bottom .container { display: flex; align-items: center; justify-content: space-between; }
.footer__bottom p { color: rgba(255,255,255,.3); font-size: .8rem; }
.footer__legal { display: flex; gap: 24px; }
.footer__legal a { color: rgba(255,255,255,.3); font-size: .8rem; transition: color var(--transition); }
.footer__legal a:hover { color: var(--brown-lt); }

.footer__counter { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 8px 0 28px; }
.footer__counter-label { color: rgba(255,255,255,.3); font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; }
.footer__counter img { display: block; max-width: 100%; height: auto; border-radius: 6px; }
.footer__counter a { color: rgba(255,255,255,.25); font-size: .78rem; }

/* ===== WHATSAPP ===== */
@keyframes wa-pulse  { 0% { transform:scale(1); opacity:.5; } 100% { transform:scale(2.4); opacity:0; } }
@keyframes wa-bounce { 0%,100% { transform:translateY(0); } 40% { transform:translateY(-8px); } 60% { transform:translateY(-4px); } }
@keyframes wa-bubble-in { 0% { opacity:0; transform:translateX(12px); } 100% { opacity:1; transform:translateX(0); } }
@keyframes wa-dot { 0%,80%,100% { transform:scale(0); } 40% { transform:scale(1); } }

.wa-wrapper { position: fixed; bottom: 32px; right: 32px; z-index: 150; display: flex; align-items: center; gap: 12px; }
.wa-bubble {
  display: flex; align-items: center; gap: 8px;
  background: var(--white); color: var(--accent);
  font-size: .82rem; font-weight: 600;
  padding: 10px 18px; border-radius: 50px;
  box-shadow: 0 4px 24px rgba(0,0,0,.12);
  white-space: nowrap;
  animation: wa-bubble-in .5s cubic-bezier(.4,0,.2,1) 1.5s both;
}
.wa-bubble__dot { width: 7px; height: 7px; border-radius: 50%; background: #25D366; display: inline-block; flex-shrink: 0; animation: wa-dot 1.4s ease-in-out infinite; }
.wa-btn {
  position: relative; width: 62px; height: 62px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  background: #25D366; border-radius: 50%;
  box-shadow: 0 6px 24px rgba(37,211,102,.5);
  animation: wa-bounce 2.4s ease-in-out infinite;
  transition: transform .2s ease, box-shadow .2s ease; text-decoration: none;
}
.wa-btn:hover { animation: none; transform: scale(1.1); box-shadow: 0 10px 32px rgba(37,211,102,.65); }
.wa-ring { position: absolute; inset: 0; border-radius: 50%; border: 3px solid #25D366; opacity: 0; animation: wa-pulse 2s ease-out infinite; }
.wa-ring--1 { animation-delay: 0s; }
.wa-ring--2 { animation-delay: .9s; }

/* ===== TECH BANNER · PARALLAX ===== */
.tech-banner {
  position: relative;
  overflow: hidden;
  background: var(--accent);
  isolation: isolate;
}

/* Capa de imagen de fondo con parallax */
.tech-banner__bg {
  position: absolute; inset: 0;
  z-index: 0;
  overflow: hidden;
  will-change: transform;
}
.tech-banner__bg-img {
  position: absolute;
  top: -15%; left: 0; right: 0;
  width: 100%; height: 130%;
  object-fit: cover;
  will-change: transform;
  transform: translate3d(0,0,0);
  transition: transform .05s linear;
}
.tech-banner__bg-overlay {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg,
      rgba(15,8,4,.55) 0%,
      rgba(15,8,4,.45) 35%,
      rgba(15,8,4,.78) 75%,
      rgba(15,8,4,.95) 100%);
}

/* HERO (texto grande sobre la imagen) */
.tech-banner__hero {
  position: relative; z-index: 1;
  min-height: 86vh;
  display: flex; align-items: center;
  padding: 120px 0 80px;
}
.tech-banner__hero .container {
  text-align: center;
  max-width: 920px;
}
.section__tag--light {
  background: rgba(255,255,255,.1);
  color: var(--brown-lt);
  border: 1px solid rgba(196,149,106,.3);
  backdrop-filter: blur(10px);
}
.tech-banner__title {
  color: var(--white);
  font-size: clamp(2rem, 4.5vw, 3.5rem);
  margin: 22px 0 24px;
  text-shadow: 0 4px 24px rgba(0,0,0,.4);
  line-height: 1.15;
}
.tech-banner__title .highlight { color: var(--brown-lt); }
.tech-banner__lead {
  color: rgba(255,255,255,.85);
  font-size: 1.08rem;
  line-height: 1.75;
  max-width: 720px;
  margin: 0 auto;
  text-shadow: 0 2px 12px rgba(0,0,0,.3);
}
.tech-banner__scroll-hint {
  display: inline-flex; align-items: center; gap: 10px;
  margin-top: 50px;
  color: rgba(255,255,255,.65);
  font-size: .82rem; letter-spacing: .08em; text-transform: uppercase;
  animation: scrollHintBounce 2.2s ease-in-out infinite;
}
.tech-banner__scroll-hint svg { width: 20px; height: 20px; }
@keyframes scrollHintBounce {
  0%,100% { transform: translateY(0); opacity: .65; }
  50%     { transform: translateY(8px); opacity: 1; }
}

/* CONTENIDO (tarjetas) */
.tech-banner__content-wrap {
  position: relative; z-index: 1;
  padding: 40px 0 110px;
}
.tech-features--parallax {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px;
  margin-bottom: 56px;
}
/* Tarjetas premium glassmorphism */
.tech-svc-card {
  position: relative;
  background: linear-gradient(145deg, rgba(255,255,255,.10) 0%, rgba(255,255,255,.04) 100%);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  border: 1px solid rgba(255,255,255,.16);
  border-radius: var(--radius-lg);
  box-shadow:
    0 12px 36px rgba(0,0,0,.30),
    inset 0 1px 0 rgba(255,255,255,.18),
    inset 0 -1px 0 rgba(0,0,0,.20);
  overflow: hidden;
  isolation: isolate;
  transition:
    transform .5s cubic-bezier(.16,1,.3,1),
    box-shadow .5s cubic-bezier(.16,1,.3,1),
    border-color .5s ease,
    background .5s ease;
}

/* Reflejo superior premium */
.tech-svc-card::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(255,255,255,.10) 0%, transparent 35%);
  pointer-events: none;
  z-index: 1;
}

/* Halo que se ilumina al hover */
.tech-svc-card::after {
  content: "";
  position: absolute; inset: -1px;
  border-radius: inherit;
  background: radial-gradient(
    520px circle at var(--mx, 50%) var(--my, 0%),
    rgba(196,149,106,.32) 0%,
    rgba(196,149,106,.10) 25%,
    transparent 55%
  );
  opacity: 0;
  transition: opacity .5s ease;
  pointer-events: none;
  z-index: 0;
  mix-blend-mode: screen;
}

.tech-svc-card:hover {
  transform: translateY(-8px);
  border-color: rgba(196,149,106,.42);
  background: linear-gradient(145deg, rgba(255,255,255,.16) 0%, rgba(255,255,255,.06) 100%);
  box-shadow:
    0 24px 60px rgba(0,0,0,.42),
    0 0 0 1px rgba(196,149,106,.18),
    0 0 48px rgba(196,149,106,.22),
    inset 0 1px 0 rgba(255,255,255,.28),
    inset 0 -1px 0 rgba(0,0,0,.20);
}
.tech-svc-card:hover::after { opacity: 1; }

/* Header transparente sobre el cristal */
.tech-svc-card .svc-card__header {
  background: linear-gradient(135deg, color-mix(in srgb, var(--svc-from) 70%, transparent), color-mix(in srgb, var(--svc-to) 55%, transparent));
  padding: 22px 20px 18px;
  position: relative;
  z-index: 2;
}
.tech-svc-card .svc-card__header::after {
  background: repeating-linear-gradient(45deg, transparent 0px, transparent 22px, rgba(255,255,255,.05) 22px, rgba(255,255,255,.05) 24px);
}
.tech-svc-card .svc-card__num {
  font-size: 2.1rem; top: 8px; right: 16px;
  color: rgba(255,255,255,.20);
  text-shadow: 0 2px 12px rgba(0,0,0,.3);
}
.tech-svc-card .svc-card__icon-wrap {
  width: 46px; height: 46px; border-radius: 12px;
  background: rgba(255,255,255,.18);
  border: 1px solid rgba(255,255,255,.25);
  backdrop-filter: blur(6px);
  box-shadow: 0 4px 12px rgba(0,0,0,.18);
  transition: transform .5s cubic-bezier(.16,1,.3,1), background .5s ease;
}
.tech-svc-card:hover .svc-card__icon-wrap {
  transform: scale(1.06) rotate(-3deg);
  background: rgba(255,255,255,.28);
}

/* Body translúcido — texto en blanco */
.tech-svc-card .svc-card__body {
  padding: 20px 20px 24px;
  position: relative;
  z-index: 2;
}
.tech-svc-card .svc-card__body h3 {
  font-size: 1rem;
  color: var(--white);
  text-shadow: 0 1px 8px rgba(0,0,0,.35);
  letter-spacing: -.01em;
}
.tech-svc-card .svc-card__body p {
  font-size: .85rem;
  color: rgba(255,255,255,.78);
  line-height: 1.7;
}

.tech-banner__cta { text-align: center; }

/* Reveal con scroll */
[data-reveal] {
  opacity: 0;
  transform: translateY(50px);
  transition: opacity .9s cubic-bezier(.16,1,.3,1), transform .9s cubic-bezier(.16,1,.3,1);
}
[data-reveal].is-revealed { opacity: 1; transform: translateY(0); }
.tech-features--parallax [data-reveal]:nth-child(1) { transition-delay: 0s; }
.tech-features--parallax [data-reveal]:nth-child(2) { transition-delay: .1s; }
.tech-features--parallax [data-reveal]:nth-child(3) { transition-delay: .2s; }
.tech-features--parallax [data-reveal]:nth-child(4) { transition-delay: .3s; }

@media (prefers-reduced-motion: reduce) {
  .tech-banner__bg-img { transform: none !important; }
  .tech-banner__scroll-hint { animation: none; }
  [data-reveal] { opacity: 1; transform: none; transition: none; }
}

/* ===== ANIMATIONS ===== */
.fade-in { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s ease; }
.fade-in.visible { opacity: 1; transform: translateY(0); }

/* ===== RESPONSIVE ===== */

/* ---- TABLET (≤1024px) ---- */
@media (max-width: 1024px) {
  .services__grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
  .gallery__grid { grid-template-columns: repeat(3, 1fr); grid-auto-rows: 200px; }
  .gallery__item--wide { grid-column: span 2; }
  .gallery__stats { max-width: 100%; }
  .woods__grid { grid-template-columns: repeat(2, 1fr); }
  .specs__highlights { grid-template-columns: repeat(3, 1fr); padding: 24px 28px; }
  .specs__body { grid-template-columns: 1fr; gap: 28px; padding: 12px 28px 32px; }
  .specs__head { padding: 32px 28px 24px; }
  .specs__download { margin: 0 28px 32px; }
  .specs__head h3 { font-size: 1.55rem; }
  .stats__grid { grid-template-columns: repeat(2, 1fr); }
  .stat { border-right: none; border-bottom: 1px solid rgba(255,255,255,.08); }
  .stat:nth-last-child(-n+2) { border-bottom: none; }
  .footer__inner { grid-template-columns: 1fr 1fr; }
  .value-bar__grid { grid-template-columns: repeat(2, 1fr); }
  .contact__inner { grid-template-columns: 1fr; gap: 48px; }
  .contact__left { position: static; }
  .contact__right { padding: 32px; }
  .tech-features--parallax { grid-template-columns: repeat(2, 1fr); }
  .tech-banner__hero { min-height: 70vh; padding: 100px 0 60px; }
}

/* ---- MÓVIL (≤768px) ---- */
@media (max-width: 768px) {
  /* Spacing y container */
  .container { padding: 0 18px; }
  .section { padding: 64px 0; }
  .section__title { font-size: clamp(1.5rem, 6vw, 1.95rem); line-height: 1.25; }
  .section__desc { font-size: .92rem; line-height: 1.65; }
  .section__tag { font-size: .72rem; }

  /* NAV mobile */
  .nav__inner { padding: 10px 0; }
  .nav__logo-img { height: 38px; }
  .nav__menu {
    position: fixed; top: 0; right: -100%; bottom: 0; width: 280px;
    background: var(--white); flex-direction: column; justify-content: flex-start;
    padding: 90px 24px 40px; gap: 4px;
    box-shadow: -8px 0 40px rgba(0,0,0,.12); transition: right var(--transition); z-index: 99;
  }
  .nav__menu.open { right: 0; }
  .nav__menu a { color: var(--text) !important; background: none !important; width: 100%; padding: 14px 16px !important; border-radius: var(--radius) !important; font-size: 1rem; min-height: 44px; display: flex; align-items: center; }
  .nav__menu a:hover, .nav__menu a:active { background: var(--cream) !important; }
  .nav__cta { background: var(--brown) !important; color: var(--white) !important; text-align: center; justify-content: center !important; margin-top: 8px; }
  .nav__toggle { display: flex; z-index: 100; }
  .nav__toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav__toggle.open span:nth-child(2) { opacity: 0; }
  .nav__toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  /* Bloquea scroll del body cuando menú abierto */
  body:has(.nav__menu.open) { overflow: hidden; }

  /* HERO mobile */
  .hero { min-height: auto; padding: 100px 0 60px; }
  .hero__title { font-size: clamp(1.85rem, 7vw, 2.4rem); line-height: 1.18; }
  .hero__sub { font-size: .95rem; line-height: 1.65; }
  .hero__badge { font-size: .68rem; padding: 5px 14px; }
  .hero__actions { flex-direction: column; align-items: stretch; width: 100%; max-width: 320px; margin: 8px auto 0; }
  .hero__actions .btn { width: 100%; }
  .hero__trust { flex-wrap: wrap; gap: 4px; margin-top: 28px; }
  .hero__trust-sep { display: none; }
  .hero__trust-item { flex: 0 0 calc(50% - 4px); padding: 10px 8px; background: rgba(255,255,255,.05); border-radius: 12px; border: 1px solid rgba(255,255,255,.08); }
  .hero__trust-item strong { font-size: 1.25rem; }
  .hero__trust-item span { font-size: .66rem; }

  /* Botones */
  .btn { padding: 12px 24px; font-size: .88rem; min-height: 44px; }
  .btn--lg { padding: 14px 30px; font-size: .92rem; }

  /* GALERÍA */
  .gallery__grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 170px; gap: 10px; }
  .gallery__item--tall { grid-row: span 2; }
  .gallery__item--wide { grid-column: span 2; }
  .gallery__stats { grid-template-columns: repeat(4,1fr); gap: 8px; margin-bottom: 28px; }
  .gallery__stat { padding: 12px 6px; }
  .gallery__stat strong { font-size: 1.3rem; }
  .gallery__stat span { font-size: .62rem; }
  .gallery__filter {
    gap: 8px; flex-wrap: nowrap; overflow-x: auto;
    margin-left: -18px; margin-right: -18px;
    padding: 4px 18px 10px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    justify-content: flex-start;
  }
  .gallery__filter::-webkit-scrollbar { display: none; }
  .gallery__btn { padding: 10px 16px 10px 12px; font-size: .8rem; flex-shrink: 0; min-height: 40px; }
  .gallery__btn small { display: none; }
  .gallery__intro { padding: 14px 16px; gap: 12px; margin-bottom: 22px; }
  .gallery__intro-icon { width: 40px; height: 40px; }
  .gallery__intro-text h3 { font-size: .95rem; }
  .gallery__intro-text p { font-size: .78rem; }
  /* En móvil el overlay se ve parcial siempre (sin hover) */
  .gallery__overlay { opacity: 1; transform: translateY(0); background: linear-gradient(180deg, transparent 0%, transparent 55%, rgba(30,17,10,.92) 100%); padding: 12px; }
  .gallery__overlay-title { font-size: .85rem; }
  .gallery__overlay-sub { font-size: .68rem; }
  .gallery__zoom { display: none; }
  .gallery__badge { font-size: .62rem; padding: 4px 10px 4px 6px; top: 8px; left: 8px; }

  /* LIGHTBOX */
  .lightbox { padding: 20px 10px; }
  .lightbox__close, .lightbox__nav { width: 44px; height: 44px; }
  .lightbox__close { top: 14px; right: 14px; }
  .lightbox__nav--prev { left: 8px; }
  .lightbox__nav--next { right: 8px; }
  .lightbox__img { max-height: 62vh; }
  .lightbox__info { padding: 10px 14px; gap: 8px; font-size: .8rem; max-width: calc(100% - 20px); justify-content: center; text-align: center; }
  .lightbox__title { font-size: .9rem; width: 100%; text-align: center; }
  .lightbox__desc { font-size: .75rem; width: 100%; text-align: center; }

  /* PRODUCTOS */
  .woods__grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .wood-card { padding: 20px; }
  .wood-card h4 { font-size: 1rem; }
  .wood-card p { font-size: .82rem; }

  /* STATS */
  .stats { padding: 56px 0; }
  .stats__grid { grid-template-columns: repeat(2, 1fr); }
  .stat__num { font-size: 2.2rem; }
  .stat p { font-size: .8rem; }

  /* FICHAS TÉCNICAS */
  .specs__highlights { grid-template-columns: repeat(2, 1fr); padding: 18px; gap: 10px; }
  .specs__head { padding: 22px 18px 18px; flex-direction: column; gap: 18px; align-items: flex-start; }
  .specs__head h3 { font-size: 1.2rem; }
  .specs__body { padding: 10px 18px 24px; gap: 22px; }
  .specs__download { margin: 0 18px 24px; padding: 14px 18px; font-size: .82rem; flex-direction: column; align-items: flex-start; gap: 12px; }
  .specs__list--two-col { grid-template-columns: 1fr; }
  .specs__tabs { gap: 4px; padding: 5px; overflow-x: auto; justify-content: flex-start; flex-wrap: nowrap; -webkit-overflow-scrolling: touch; }
  .specs__tabs::-webkit-scrollbar { display: none; }
  .specs__tab { padding: 10px 14px; font-size: .76rem; flex-shrink: 0; min-height: 40px; }

  /* CONTACTO */
  .contact__right { padding: 24px 20px; }
  .form__row { grid-template-columns: 1fr; }
  .form__group label { font-size: .74rem; }
  .form__group input, .form__group select, .form__group textarea { padding: 13px 16px; }
  .form__check label { font-size: .78rem; }

  /* FOOTER */
  .footer { padding: 56px 0 0; }
  .footer__inner { grid-template-columns: 1fr; gap: 32px; padding-bottom: 40px; }
  .footer__bottom .container { flex-direction: column; gap: 12px; text-align: center; }
  .footer__legal { flex-wrap: wrap; justify-content: center; gap: 16px; }

  /* WHATSAPP móvil */
  .wa-wrapper { bottom: 18px; right: 18px; gap: 8px; }
  .wa-bubble { font-size: .74rem; padding: 7px 12px; }
  .wa-btn { width: 54px; height: 54px; }
  .wa-btn svg { width: 26px; height: 26px; }

  /* TECH-BANNER móvil — sin parallax fijo */
  .tech-features--parallax { grid-template-columns: 1fr; gap: 14px; }
  .tech-banner__hero { min-height: auto; padding: 80px 0 50px; }
  .tech-banner__lead { font-size: .92rem; }
  .tech-banner__title { font-size: clamp(1.6rem, 6.5vw, 2.1rem); }
  .tech-banner__content-wrap { padding: 24px 0 80px; }
  .tech-banner__scroll-hint { margin-top: 24px; font-size: .68rem; }
}

/* ---- MÓVIL PEQUEÑO (≤480px) ---- */
@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .section { padding: 52px 0; }

  /* Hero */
  .hero { padding: 92px 0 50px; }
  .hero__trust-item { flex: 0 0 calc(50% - 4px); }

  /* Galería en 1 columna para móvil chico */
  .gallery__grid { grid-template-columns: 1fr; grid-auto-rows: 240px; gap: 12px; }
  .gallery__item--tall, .gallery__item--wide { grid-row: span 1; grid-column: span 1; }
  .gallery__stats { grid-template-columns: repeat(2, 1fr); }
  .gallery__overlay { padding: 14px; }
  .gallery__overlay-title { font-size: .95rem; }
  .gallery__overlay-sub { font-size: .75rem; }

  /* Productos 1 columna */
  .woods__grid { grid-template-columns: 1fr; }

  /* Value bar 1 columna */
  .value-bar__grid { grid-template-columns: 1fr; }
  .value-bar__item { border-right: none; border-bottom: 1px solid rgba(255,255,255,.12); padding: 16px; }
  .value-bar__item:last-child { border-bottom: none; }

  /* Contacto */
  .contact__right { padding: 22px 18px; border-radius: var(--radius); }

  /* Section title más compacto */
  .section__header { margin-bottom: 32px; }

  /* WhatsApp más pequeño */
  .wa-wrapper { bottom: 14px; right: 14px; }
  .wa-bubble { display: none; } /* bubble oculta en pantalla muy pequeña */
}

/* ---- MÓVIL EXTRA PEQUEÑO (≤360px) ---- */
@media (max-width: 360px) {
  .hero__trust-item { flex: 0 0 100%; }
  .gallery__stats { grid-template-columns: 1fr 1fr; }
  .nav__menu { width: 86vw; }
}

/* ---- ORIENTACIÓN HORIZONTAL EN MÓVIL ---- */
@media (max-width: 900px) and (orientation: landscape) and (max-height: 500px) {
  .hero { min-height: auto; padding: 72px 0 32px; }
  .hero__title { font-size: 1.65rem; }
  .tech-banner__hero { min-height: auto; padding: 60px 0 30px; }
  .lightbox__img { max-height: 80vh; }
}

/* ---- TOUCH DEVICES: desactivar hover sticky ---- */
@media (hover: none) {
  .gallery__item:hover { transform: none; }
  .gallery__item:hover .gallery__img { transform: none; }
  .tech-svc-card:hover { transform: none; }
  .btn:hover { transform: none; }
}

/* ===== MODALES LEGALES ===== */
.legal-modal { position: fixed; inset: 0; z-index: 2000; display: flex; align-items: center; justify-content: center; padding: 20px; }
.legal-modal[hidden] { display: none; }
.legal-modal__overlay { position: absolute; inset: 0; background: rgba(20,12,8,.6); backdrop-filter: blur(3px); animation: legal-fade .25s ease; }
.legal-modal__box {
  position: relative; background: var(--white); color: var(--text);
  max-width: 640px; width: 100%; max-height: 85vh; overflow-y: auto;
  border-radius: 16px; padding: 40px 38px; box-shadow: 0 30px 80px rgba(20,12,8,.4);
  animation: legal-slide .3s cubic-bezier(.16,1,.3,1);
}
.legal-modal__close {
  position: absolute; top: 16px; right: 18px; width: 38px; height: 38px;
  border: none; background: var(--cream-dk); color: var(--brown-dk); border-radius: 50%;
  font-size: 1.6rem; line-height: 1; cursor: pointer; transition: background var(--transition);
}
.legal-modal__close:hover { background: var(--brown-lt); color: var(--white); }
.legal-modal__title { font-size: 1.6rem; color: var(--brown-dk); margin-bottom: 18px; padding-right: 30px; }
.legal-modal__body { font-size: .94rem; line-height: 1.7; color: var(--text-muted); }
.legal-modal__body h3 { font-size: 1.05rem; color: var(--text); margin: 22px 0 8px; }
.legal-modal__body p { margin-bottom: 12px; }
.legal-modal__body ul { margin: 0 0 12px; padding-left: 20px; }
.legal-modal__body li { margin-bottom: 6px; }
.legal-modal__body strong { color: var(--text); }
.legal-modal__body a { color: var(--brown); text-decoration: underline; }
body.modal-open { overflow: hidden; }

@keyframes legal-fade  { from { opacity: 0; } to { opacity: 1; } }
@keyframes legal-slide { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }

@media (max-width: 600px) {
  .legal-modal__box { padding: 32px 22px; }
  .legal-modal__title { font-size: 1.35rem; }
}
