
/* ============================================================
   VARIABLES & RESET
   ============================================================ */
:root {
  /* === Paleta de marca NUVI === */
  --c1:      #4A0F08;   /* Vino oxblood principal */
  --c1-d:    #360A05;   /* Vino oscuro */
  --c1-l:    #6B1A10;   /* Vino claro */
  --c1-pale: #F4EDEB;   /* Blush muy claro */
  --c2:      #6B4636;   /* Café cálido */
  --c3:      #7A716B;   /* Gris cálido */
  --c4:      #A9A29C;   /* Gris claro */
  --c5:      #DAD7D3;   /* Crema */
  --bg:      #F5F2EF;
  --bg-alt:  #EDEAE6;
  --white:   #FFFFFF;
  --dark:    #0E0A08;
  --text:    #1E1614;
  --text-2:  #4A3F3A;
  --text-3:  #7A716B;
  --border:  #DDD9D4;
  --border-l:#E8E4DF;
  --sh1: 0 2px 8px rgba(0,0,0,0.05);
  --sh2: 0 6px 24px rgba(0,0,0,0.08);
  --sh3: 0 12px 48px rgba(0,0,0,0.12);
  --r:  6px;
  --r2: 12px;
  --t:  0.3s ease;
  --mw: 1240px;
  --nav-h: 80px;
  --wa-green: #25D366;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'Open Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { font-family: inherit; border: none; cursor: pointer; background: none; }

/* ============================================================
   LAYOUT
   ============================================================ */
.container { max-width: var(--mw); margin: 0 auto; padding: 0 2rem; }
section { padding: 100px 0; }

/* ============================================================
   TYPOGRAPHY
   ============================================================ */
.eyebrow {
  display: inline-flex; align-items: center; gap: 0.65rem;
  font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--c1); margin-bottom: 1.25rem;
}
.eyebrow::before {
  content: ''; display: block;
  width: 22px; height: 2px;
  background: var(--c1); border-radius: 2px; flex-shrink: 0;
}
.eyebrow-center { justify-content: center; }
.eyebrow-center::before { display: none; }
.eyebrow-center::after {
  content: ''; display: block;
  width: 22px; height: 2px;
  background: var(--c1); border-radius: 2px; flex-shrink: 0;
}

.section-title {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(1.75rem, 3vw, 2.6rem);
  font-weight: 800; color: var(--text);
  line-height: 1.16; letter-spacing: -0.022em;
  margin-bottom: 1rem;
}
.section-title span { color: var(--c1); }
.section-sub {
  font-size: 1.05rem; color: var(--text-2);
  line-height: 1.75; max-width: 580px;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-size: 0.875rem; font-weight: 600;
  padding: 0.8rem 1.75rem; border-radius: var(--r);
  transition: all var(--t); cursor: pointer;
  letter-spacing: 0.01em; line-height: 1;
}
.btn-primary { background: var(--c1); color: #fff; }
.btn-primary:hover {
  background: var(--c1-d); transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(74,15,8,0.32); color: #fff;
}
.btn-ghost {
  background: rgba(255,255,255,0.08); color: #fff;
  border: 1.5px solid rgba(255,255,255,0.2);
}
.btn-ghost:hover {
  background: rgba(255,255,255,0.14);
  border-color: rgba(255,255,255,0.5);
  transform: translateY(-2px); color: #fff;
}
.btn-outline-dark {
  background: transparent; color: var(--text);
  border: 1.5px solid var(--border);
}
.btn-outline-dark:hover { border-color: var(--c1); color: var(--c1); transform: translateY(-2px); }
.btn-wa-card {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: var(--wa-green); color: #fff;
  font-size: 0.82rem; font-weight: 600;
  padding: 0.65rem 1.25rem; border-radius: var(--r);
  transition: all var(--t); width: 100%; justify-content: center;
}
.btn-wa-card:hover { background: #1EBE5A; transform: translateY(-2px); box-shadow: 0 6px 18px rgba(37,211,102,0.32); color: #fff; }
.btn-arrow-r { transition: transform var(--t); }
.btn:hover .btn-arrow-r { transform: translateX(4px); }

/* ============================================================
   HEADER / NAVBAR
   ============================================================ */
#header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  height: var(--nav-h);
  display: flex; align-items: center;
  transition: background var(--t), box-shadow var(--t), height var(--t);
}
#header.scrolled {
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  box-shadow: var(--sh1); height: 68px;
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; width: 100%; gap: 1.5rem; }
.nav-logo { display: flex; align-items: center; gap: 0.8rem; flex-shrink: 0; }
.nav-logo img { height: 44px; width: auto; object-fit: contain; }
.nav-logo-wordmark { display: flex; flex-direction: column; line-height: 1; }
.nav-logo-name {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.4rem; font-weight: 800; color: #fff;
  letter-spacing: 0.1em; transition: color var(--t);
}
#header.scrolled .nav-logo-name { color: var(--c1); }
.nav-logo-tag {
  font-size: 0.6rem; font-weight: 500; color: rgba(255,255,255,0.45);
  letter-spacing: 0.06em; text-transform: uppercase; margin-top: 2px;
  transition: color var(--t);
}
@media (max-width: 1380px) { .nav-logo-tag { display: none; } }
#header.scrolled .nav-logo-tag { color: var(--text-3); }

.nav-links { display: flex; align-items: center; gap: 1.75rem; margin-left: 1.25rem; }
.nav-links a {
  font-size: 0.82rem; font-weight: 500;
  color: rgba(255,255,255,0.75); position: relative; transition: color var(--t);
}
#header.scrolled .nav-links a { color: var(--text-2); }
.nav-links a::after {
  content: ''; position: absolute; bottom: -3px; left: 0;
  width: 0; height: 1.5px; background: var(--c1);
  border-radius: 2px; transition: width var(--t);
}
.nav-links a:hover, #header.scrolled .nav-links a:hover { color: var(--c1); }
.nav-links a:hover::after { width: 100%; }

.btn-nav {
  background: var(--c1); color: #fff;
  padding: 0.58rem 1.25rem; border-radius: var(--r);
  font-size: 0.82rem; font-weight: 600;
  transition: all var(--t); white-space: nowrap; flex-shrink: 0;
  margin-left: 1rem;
}
.btn-nav:hover { background: var(--c1-d); transform: translateY(-1px); box-shadow: 0 4px 16px rgba(74,15,8,0.38); color: #fff; }

.nav-hamburger {
  display: none; align-items: center; justify-content: center;
  width: auto; height: auto; padding: 0; flex-shrink: 0;
  border: none; background: transparent;
  flex-direction: column; gap: 5px; cursor: pointer;
  margin-left: auto;
  transition: transform var(--t), opacity var(--t);
}
.nav-hamburger:hover { opacity: 0.76; }
.nav-hamburger.open { background: transparent; border: none; box-shadow: none; }
#header .nav-hamburger.open span { background: var(--text); }
#header.scrolled .nav-hamburger { background: transparent; border: none; box-shadow: none; }
#header.scrolled .nav-hamburger:hover { opacity: 0.7; }
.nav-hamburger span { display: block; width: 24px; height: 2px; border-radius: 2px; transition: all var(--t); background: #fff; }
#header.scrolled .nav-hamburger span { background: var(--text); }
.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

body.menu-open {
  position: fixed; inset: 0; width: 100%;
  overflow: hidden;
}
body.menu-open .wa-float { opacity: 0; pointer-events: none; }
body.catalog-open { overflow: hidden; }
body.catalog-open .wa-float { opacity: 0; pointer-events: none; }

.nav-menu-backdrop {
  position: fixed; inset: 0; z-index: 998; display: none;
  background: rgba(7,5,4,0.18);
  opacity: 0; pointer-events: none;
  transition: opacity 0.35s ease;
}
.nav-menu-backdrop.open { opacity: 1; pointer-events: auto; }

.nav-drawer {
  position: fixed; top: 0; right: 0; bottom: 0;
  width: min(360px, 88vw);
  z-index: 999; display: none; flex-direction: column;
  padding: 6.25rem 1.5rem 2rem;
  background: var(--white); color: var(--text);
  border-left: 1px solid var(--border-l);
  box-shadow: -18px 0 48px rgba(0,0,0,0.12);
  transform: translateX(100%);
  opacity: 0; overflow-y: auto;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s ease;
}
.nav-drawer.open { transform: translateX(0); opacity: 1; }
.nav-drawer-body {
  min-height: 0; flex: 1;
  display: flex; flex-direction: column; gap: 0.75rem;
}
.nav-drawer-links { display: flex; flex-direction: column; gap: 0; }
.nav-drawer-links a {
  font-size: 1.18rem; font-weight: 600; color: var(--text);
  padding: 1rem 0; border-bottom: 1px solid var(--border);
  display: block; transition: color var(--t), transform var(--t);
}
.nav-drawer-links a:hover { color: var(--c1); transform: translateX(3px); }
.drawer-cta {
  margin-top: 2rem;
  display: inline-flex; align-items: center; justify-content: center; gap: 0.55rem;
  width: 100%;
  background: var(--c1); color: #fff !important;
  padding: 0.95rem 1.25rem; border-radius: var(--r);
  font-size: 0.95rem; font-weight: 700;
  transition: transform var(--t), box-shadow var(--t), background var(--t);
}
.drawer-cta:hover {
  background: var(--c1-d);
  transform: translateY(-2px);
  box-shadow: 0 10px 26px rgba(74,15,8,0.22);
}

/* ============================================================
   HERO
   ============================================================ */
#inicio {
  min-height: 100vh; position: relative; overflow: hidden;
  display: flex; align-items: center;
  background: #131313;
  padding: calc(var(--nav-h) + 64px) 0 80px;
}
.hero-video {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; object-position: center;
  opacity: 0.42; pointer-events: none;
}
.hero-overlay {
  position: absolute; inset: 0;
  background:
    linear-gradient(115deg, rgba(14,14,14,0.78) 0%, rgba(20,12,15,0.60) 100%);
}
.hero-blob-1 {
  position: absolute;
  width: 720px; height: 720px; border-radius: 50%;
  background: radial-gradient(circle, rgba(74,15,8,0.22) 0%, transparent 68%);
  right: -160px; top: 50%; transform: translateY(-55%);
  filter: blur(90px); pointer-events: none;
}
.hero-blob-2 {
  position: absolute;
  width: 420px; height: 420px; border-radius: 50%;
  background: radial-gradient(circle, rgba(107,26,16,0.12) 0%, transparent 70%);
  right: 28%; bottom: -80px;
  filter: blur(70px); pointer-events: none;
}
.hero-blob-3 {
  position: absolute;
  width: 300px; height: 300px; border-radius: 50%;
  background: radial-gradient(circle, rgba(54,10,5,0.18) 0%, transparent 70%);
  left: -60px; top: 20%;
  filter: blur(80px); pointer-events: none;
}
.hero-accent-line {
  position: absolute; right: 0; top: 15%; bottom: 15%; width: 1px;
  background: linear-gradient(to bottom, transparent, rgba(74,15,8,0.6), transparent);
}
.hero-content { position: relative; z-index: 2; animation: heroIn 0.9s cubic-bezier(0.4,0,0.2,1) both; }
@keyframes heroIn { from { opacity:0; transform:translateY(28px); } to { opacity:1; transform:translateY(0); } }
.hero-label { display: inline-flex; align-items: center; gap: 0.8rem; margin-bottom: 2rem; }
.hero-label-line { display: block; width: 3px; height: 22px; background: var(--c1); border-radius: 2px; }
.hero-label-text { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: rgba(255,255,255,0.45); }
.hero-h1 { font-family: 'Montserrat', sans-serif; font-size: clamp(2.25rem, 4.8vw, 4rem); font-weight: 800; color: #fff; line-height: 1.1; letter-spacing: -0.028em; margin-bottom: 1.5rem; max-width: 740px; }
.hero-h1 em { font-style: normal; color: var(--c1-l); }
.hero-p { font-size: 1.08rem; color: rgba(255,255,255,0.55); line-height: 1.8; max-width: 560px; margin-bottom: 2.75rem; }
.hero-actions { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; }
.hero-divider { width: 100%; height: 1px; background: rgba(255,255,255,0.07); margin: 3.5rem 0 2.5rem; }
.hero-stats { display: flex; gap: 3.5rem; flex-wrap: wrap; }
.hero-stat-val { font-size: 2.2rem; font-weight: 800; color: #fff; letter-spacing: -0.04em; line-height: 1; }
.hero-stat-val sup { font-size: 1rem; color: var(--c1-l); font-weight: 700; }
.hero-stat-lbl { font-size: 0.74rem; font-weight: 500; color: rgba(255,255,255,0.35); text-transform: uppercase; letter-spacing: 0.1em; margin-top: 0.4rem; }

/* ============================================================
   ABOUT
   ============================================================ */
#nosotros { background: var(--white); }
.about-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: 5rem; align-items: center; }
.about-visual { position: relative; }
.about-ph {
  width: 100%; height: 500px; border-radius: var(--r2); overflow: hidden;
  background: linear-gradient(150deg, #1A1212 0%, #261818 50%, #3A2020 100%);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1rem;
  position: relative;
}
.about-ph img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; object-position: center;
}
.about-ph::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% 100%, rgba(74,15,8,0.18) 0%, transparent 70%);
  z-index: 1;
}
.about-ph::after {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(107,26,16,0.3), transparent);
  z-index: 2;
}
.about-badge {
  position: absolute; bottom: -2rem; right: -2rem;
  background: var(--c1); color: #fff; padding: 1.5rem 2rem; border-radius: var(--r); text-align: center; box-shadow: var(--sh3);
  z-index: 3;
}
.about-badge-n { font-size: 2.25rem; font-weight: 800; line-height: 1; letter-spacing: -0.04em; }
.about-badge-l { font-size: 0.7rem; font-weight: 500; opacity: 0.75; margin-top: 0.3rem; text-transform: uppercase; letter-spacing: 0.1em; line-height: 1.4; }
.about-pills { display: grid; grid-template-columns: 1fr 1fr; gap: 0.875rem; margin-top: 2rem; }
.about-pill {
  display: flex; align-items: flex-start; gap: 0.75rem;
  padding: 1rem 1.1rem; background: var(--bg); border: 1px solid var(--border-l);
  border-radius: var(--r); transition: all var(--t);
}
.about-pill:hover { border-color: rgba(74,15,8,0.25); background: var(--c1-pale); }
.about-pill.in { opacity: 1; transform: translateY(0) translateX(0); }
.about-pill-icon { width: 34px; height: 34px; flex-shrink: 0; background: var(--c1-pale); border-radius: var(--r); display: flex; align-items: center; justify-content: center; color: var(--c1); }
.about-pill-icon svg { width: 17px; height: 17px; }
.about-pill-text { font-size: 0.84rem; font-weight: 600; color: var(--text); line-height: 1.4; }
@keyframes aboutPillMobileIn {
  0% {
    opacity: 0.45;
    transform: translateY(26px) scale(0.96);
    box-shadow: 0 8px 24px rgba(0,0,0,0.03);
  }
  60% {
    opacity: 1;
    transform: translateY(-4px) scale(1.01);
    box-shadow: 0 18px 38px rgba(74,15,8,0.10);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
    box-shadow: 0 14px 34px rgba(74,15,8,0.08);
  }
}

/* ============================================================
   SERVICES
   ============================================================ */
#servicios { background: var(--bg); }
.services-head { text-align: center; margin-bottom: 4.5rem; }
.services-head .section-sub { margin: 0 auto; }
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.75rem; }
.svc-card { background: var(--white); border-radius: var(--r2); border: 1px solid var(--border-l); overflow: hidden; transition: box-shadow var(--t), transform var(--t); display: flex; flex-direction: column; }
.svc-card:hover { box-shadow: var(--sh3); transform: translateY(-5px); }
.svc-card-top { padding: 2rem 2rem 1.75rem; border-bottom: 1px solid var(--border-l); position: relative; }
.svc-card-top::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: linear-gradient(90deg, var(--c1), var(--c1-l)); }
.svc-icon { width: 54px; height: 54px; background: var(--c1-pale); border-radius: var(--r); display: flex; align-items: center; justify-content: center; color: var(--c1); margin-bottom: 1.25rem; }
.svc-icon svg { width: 27px; height: 27px; }
.svc-cat-tag { font-size: 0.67rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--c1); display: block; margin-bottom: 0.35rem; }
.svc-card-title { font-size: 1.1rem; font-weight: 750; color: var(--text); line-height: 1.3; }
.svc-list { padding: 1.5rem 2rem 2rem; flex: 1; }
.svc-item { display: flex; align-items: flex-start; gap: 0.8rem; padding: 0.7rem 0; border-bottom: 1px solid var(--border-l); }
.svc-item:last-child { border-bottom: none; padding-bottom: 0; }
.svc-dot { width: 5px; height: 5px; border-radius: 50%; background: var(--c1); margin-top: 0.55rem; flex-shrink: 0; opacity: 0.65; }
.svc-item-txt { font-size: 0.875rem; color: var(--text-2); line-height: 1.55; font-weight: 500; }

/* ============================================================
   METRICS
   ============================================================ */
.metrics-band {
  background: linear-gradient(100deg, var(--c1-d) 0%, var(--c1) 50%, var(--c1-l) 100%);
  padding: 64px 0;
  position: relative; overflow: hidden;
}
.metrics-band::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 60% 100% at 80% 50%, rgba(255,255,255,0.05) 0%, transparent 70%);
}
.metrics-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; text-align: center; }
.metric-val { font-size: 2.6rem; font-weight: 800; color: #fff; letter-spacing: -0.04em; line-height: 1; }
.metric-val sup { font-size: 1.2rem; color: rgba(255,255,255,0.6); }
.metric-lbl { font-size: 0.78rem; font-weight: 500; color: rgba(255,255,255,0.55); text-transform: uppercase; letter-spacing: 0.1em; margin-top: 0.6rem; }

/* ============================================================
   CATALOG
   ============================================================ */
#catalogo { background: var(--bg-alt); }
.catalog-head { text-align: center; margin-bottom: 3rem; }
.catalog-head .section-sub { margin: 0 auto; }

.catalog-filters-wrap {
  position: sticky; top: calc(var(--nav-h) - 1px); z-index: 90;
  background: var(--bg-alt);
  padding: 0.75rem 0 0.5rem;
  margin-bottom: 2rem;
  border-bottom: 1px solid var(--border-l);
}
.catalog-filters {
  display: flex; align-items: center; justify-content: center;
  gap: 0.6rem; flex-wrap: wrap;
}
.catalog-count {
  text-align: center; margin-top: 0.65rem;
  font-size: 0.72rem; color: var(--text-3); font-weight: 600;
  letter-spacing: 0.03em; min-height: 1.4em;
  transition: opacity 0.18s ease;
}
.filter-btn {
  font-size: 0.82rem; font-weight: 600; padding: 0.58rem 1.3rem;
  border-radius: 100px; border: 1.5px solid var(--border);
  background: var(--white); color: var(--text-2);
  cursor: pointer; transition: all var(--t);
  letter-spacing: 0.01em; min-height: 40px;
  white-space: nowrap;
}
.filter-btn:hover { border-color: var(--c1); color: var(--c1); }
.filter-btn.active { background: var(--c1); color: #fff; border-color: var(--c1); box-shadow: 0 4px 14px rgba(74,15,8,0.25); }

.catalog-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}
.cat-card {
  background: var(--white); border-radius: var(--r2);
  border: 1px solid var(--border-l); overflow: hidden;
  display: flex; flex-direction: column; position: relative;
  transition: box-shadow var(--t), transform var(--t), opacity 0.25s ease, border-color var(--t);
}
.cat-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, var(--c1), rgba(74,15,8,0.45));
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1); z-index: 2;
}
.cat-card:hover::before { transform: scaleX(1); }
.cat-card.filtering { opacity: 0; transform: translateY(8px); }
.cat-card:hover { box-shadow: var(--sh3); transform: translateY(-6px); border-color: rgba(74,15,8,0.15); }
.cat-card.hidden { display: none; }

.cat-card-img {
  height: 160px; position: relative; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
}
.cat-card-img svg { width: 52px; height: 52px; position: relative; z-index: 1; transition: transform 0.4s ease; }
.cat-card:hover .cat-card-img svg { transform: scale(1.12); filter: drop-shadow(0 0 10px rgba(255,255,255,0.22)); }
.cat-card-img [class^="c-"] { color: rgba(255,255,255,0.2); }

.cat-card-img.c-elec {
  background: linear-gradient(145deg, #10101E 0%, #1C1430 100%);
  box-shadow: inset 0 -1px 0 rgba(107,26,16,0.15), inset 0 1px 0 rgba(255,255,255,0.04);
  color: rgba(255,255,255,0.2);
}
.cat-card-img.c-hvac {
  background: linear-gradient(145deg, #0A1928 0%, #142440 100%);
  box-shadow: inset 0 -1px 0 rgba(20,36,64,0.3), inset 0 1px 0 rgba(255,255,255,0.04);
  color: rgba(255,255,255,0.2);
}
.cat-card-img.c-bomb {
  background: linear-gradient(145deg, #0A1E28 0%, #122C38 100%);
  box-shadow: inset 0 -1px 0 rgba(18,44,56,0.3), inset 0 1px 0 rgba(255,255,255,0.04);
  color: rgba(255,255,255,0.2);
}
.cat-card-img.c-fire {
  background: linear-gradient(145deg, #1E0808 0%, #380E0E 100%);
  box-shadow: inset 0 -1px 0 rgba(155,20,20,0.2), inset 0 1px 0 rgba(255,255,255,0.04);
  color: rgba(255,255,255,0.2);
}
.cat-card-img.c-civil {
  background: linear-gradient(145deg, #101510 0%, #1C2818 100%);
  box-shadow: inset 0 -1px 0 rgba(40,60,30,0.2), inset 0 1px 0 rgba(255,255,255,0.04);
  color: rgba(255,255,255,0.2);
}
.cat-card-img.c-plumb {
  background: linear-gradient(145deg, #0A1820 0%, #142430 100%);
  box-shadow: inset 0 -1px 0 rgba(20,36,48,0.3), inset 0 1px 0 rgba(255,255,255,0.04);
  color: rgba(255,255,255,0.2);
}
.cat-card-img.c-paint {
  background: linear-gradient(145deg, #1A1408 0%, #2E2410 100%);
  box-shadow: inset 0 -1px 0 rgba(46,36,16,0.3), inset 0 1px 0 rgba(255,255,255,0.04);
  color: rgba(255,255,255,0.2);
}
.cat-card-img.c-struct {
  background: linear-gradient(145deg, #141414 0%, #242018 100%);
  box-shadow: inset 0 -1px 0 rgba(36,32,24,0.3), inset 0 1px 0 rgba(255,255,255,0.04);
  color: rgba(255,255,255,0.2);
}
.cat-card-img.c-iguala {
  background: linear-gradient(145deg, #160C1C 0%, #261430 100%);
  box-shadow: inset 0 -1px 0 rgba(74,15,8,0.18), inset 0 1px 0 rgba(255,255,255,0.04);
  color: rgba(255,255,255,0.2);
}
.cat-card-img.c-light {
  background: linear-gradient(145deg, #1A1208 0%, #2C2010 100%);
  box-shadow: inset 0 -1px 0 rgba(44,32,16,0.3), inset 0 1px 0 rgba(255,255,255,0.04);
  color: rgba(255,255,255,0.2);
}
.cat-card-img.c-sec {
  background: linear-gradient(145deg, #0A1318 0%, #121E28 100%);
  box-shadow: inset 0 -1px 0 rgba(18,30,40,0.3), inset 0 1px 0 rgba(255,255,255,0.04);
  color: rgba(255,255,255,0.2);
}
.cat-card-img.c-audit {
  background: linear-gradient(145deg, #160C0C 0%, #241010 100%);
  box-shadow: inset 0 -1px 0 rgba(74,15,8,0.2), inset 0 1px 0 rgba(255,255,255,0.04);
  color: rgba(255,255,255,0.2);
}

.cat-badge {
  position: absolute; top: 0.875rem; left: 0.875rem;
  background: rgba(0,0,0,0.45); color: rgba(255,255,255,0.8);
  font-size: 0.62rem; font-weight: 700; letter-spacing: 0.12em;
  text-transform: uppercase; padding: 0.25rem 0.6rem; border-radius: 4px;
  backdrop-filter: blur(4px);
}

.cat-card-body { padding: 1.25rem 1.4rem 0.75rem; flex: 1; }
.cat-card-title {
  font-size: 0.92rem; font-weight: 700; color: var(--text); margin-bottom: 0.5rem; line-height: 1.35;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
  min-height: 2.4em;
}
.cat-card-desc {
  font-size: 0.8rem; color: var(--text-3); line-height: 1.6;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}

.cat-card-foot { padding: 1rem 1.4rem 1.4rem; border-top: 1px solid var(--border-l); margin-top: 1rem; }
.cat-price {
  display: flex; align-items: center; gap: 0.4rem;
  font-size: 0.78rem; font-weight: 700; color: var(--c1);
  margin-bottom: 0.875rem;
}
.cat-price svg { width: 14px; height: 14px; flex-shrink: 0; }
.cat-actions { display: grid; gap: 0.6rem; }
.btn-cat-more {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.45rem;
  width: 100%; min-height: 44px;
  padding: 0.75rem 1rem;
  border-radius: var(--r);
  border: 1.5px solid var(--border);
  background: transparent; color: var(--text);
  font-size: 0.82rem; font-weight: 700; letter-spacing: 0.01em;
  transition: all var(--t);
  -webkit-tap-highlight-color: transparent;
}
.btn-cat-more:hover, .btn-cat-more:focus-visible {
  border-color: rgba(74,15,8,0.3);
  color: var(--c1); background: var(--c1-pale);
  transform: translateY(-2px);
}
.btn-cat-more svg { width: 15px; height: 15px; transition: transform var(--t); }
.btn-cat-more:hover svg { transform: translateX(3px); }

@keyframes catalogModalIn {
  from { opacity: 0; transform: scale(0.96) translateY(14px); }
  to   { opacity: 1; transform: scale(1)    translateY(0); }
}
.catalog-modal {
  position: fixed; inset: 0; z-index: 1200;
  display: flex; align-items: center; justify-content: center;
  padding: 1rem;
  background: rgba(9,8,7,0.66);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity 0.22s ease, visibility 0.22s;
}
.catalog-modal.open { opacity: 1; visibility: visible; pointer-events: auto; }
.catalog-modal.open .catalog-modal-dialog {
  animation: catalogModalIn 0.32s cubic-bezier(0.22, 1, 0.36, 1) both;
}
.catalog-modal-dialog {
  width: min(1040px, calc(100vw - 2rem));
  max-height: calc(100vh - 2rem);
  display: grid; grid-template-columns: 1.05fr 0.95fr;
  background: var(--white);
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.28);
  box-shadow: 0 30px 80px rgba(0,0,0,0.24);
}
.catalog-modal-gallery {
  background: linear-gradient(160deg, #151111 0%, #221717 55%, #2E1915 100%);
  padding: 1rem; position: relative;
}
.catalog-modal-stage {
  position: relative; height: 100%;
  min-height: 520px;
  border-radius: 18px; overflow: hidden;
  background: rgba(255,255,255,0.04);
}
.catalog-modal-slide {
  position: absolute; inset: 0;
  opacity: 0; pointer-events: none;
  transition: opacity 0.35s ease;
}
.catalog-modal-slide.active { opacity: 1; pointer-events: auto; }
.catalog-modal-slide img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: center;
  display: block;
}
.catalog-modal-slide-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(10,9,9,0.54), rgba(10,9,9,0.08) 45%, rgba(10,9,9,0));
}
.catalog-modal-chip {
  position: absolute; top: 1rem; left: 1rem; z-index: 2;
  background: rgba(255,255,255,0.1); color: #fff;
  border: 1px solid rgba(255,255,255,0.18);
  backdrop-filter: blur(8px);
  padding: 0.45rem 0.75rem;
  border-radius: 999px;
  font-size: 0.68rem; font-weight: 700; letter-spacing: 0.12em;
  text-transform: uppercase;
}
.catalog-modal-nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 42px; height: 42px; z-index: 3;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.14);
  background: rgba(255,255,255,0.08); color: #fff;
  backdrop-filter: blur(8px);
  transition: background var(--t), transform var(--t), border-color var(--t);
}
.catalog-modal-nav:hover {
  background: rgba(255,255,255,0.16);
  border-color: rgba(255,255,255,0.3);
}
.catalog-modal-nav.prev { left: 1rem; }
.catalog-modal-nav.next { right: 1rem; }
.catalog-modal-nav svg { width: 18px; height: 18px; }
.catalog-modal-thumbs {
  position: absolute; left: 1rem; right: 1rem; bottom: 1rem; z-index: 3;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.75rem;
}
.catalog-modal-thumb {
  position: relative;
  height: 82px; overflow: hidden;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.05);
  opacity: 0.72; transition: opacity var(--t), transform var(--t), border-color var(--t);
}
.catalog-modal-thumb.active {
  opacity: 1; transform: translateY(-2px);
  border-color: rgba(255,255,255,0.34);
}
.catalog-modal-thumb img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: center;
}
.catalog-modal-body {
  position: relative;
  padding: 2rem 2rem 1.75rem;
  overflow-y: auto;
}
.catalog-modal-close {
  position: absolute; top: 1rem; right: 1rem;
  width: 42px; height: 42px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: var(--white); color: var(--text);
  box-shadow: var(--sh1);
  transition: border-color var(--t), color var(--t), transform var(--t);
}
.catalog-modal-close:hover {
  border-color: rgba(74,15,8,0.2); color: var(--c1);
  transform: translateY(-1px);
}
.catalog-modal-close svg { width: 18px; height: 18px; }
.catalog-modal-eyebrow {
  display: inline-flex; align-items: center; gap: 0.55rem;
  font-size: 0.7rem; font-weight: 700; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--c1);
  margin-bottom: 1rem;
}
.catalog-modal-eyebrow::before {
  content: ''; width: 18px; height: 2px;
  background: var(--c1); border-radius: 2px;
}
.catalog-modal-title {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(1.75rem, 2.5vw, 2.35rem);
  font-weight: 800; line-height: 1.08;
  color: var(--text); letter-spacing: -0.03em;
  margin-bottom: 1rem;
  max-width: 480px;
}
.catalog-modal-lead {
  font-size: 1rem; color: var(--text-2);
  line-height: 1.8; margin-bottom: 1.3rem;
}
.catalog-modal-copy {
  font-size: 0.92rem; color: var(--text-2);
  line-height: 1.85;
}
.catalog-modal-copy p + p { margin-top: 0.95rem; }
.catalog-modal-meta {
  display: flex; flex-wrap: wrap; gap: 0.75rem;
  margin: 1.5rem 0 1.35rem;
}
.catalog-modal-price {
  display: inline-flex; align-items: center; gap: 0.45rem;
  padding: 0.7rem 0.9rem;
  border-radius: 999px;
  background: var(--c1-pale); color: var(--c1);
  font-size: 0.82rem; font-weight: 800;
}
.catalog-modal-price svg { width: 15px; height: 15px; }
.catalog-modal-tag {
  display: inline-flex; align-items: center;
  padding: 0.7rem 0.9rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--white); color: var(--text-2);
  font-size: 0.78rem; font-weight: 700;
}
.catalog-modal-points {
  margin: 1.4rem 0 1.75rem;
  display: grid; gap: 0.7rem;
}
.catalog-modal-point {
  display: grid; grid-template-columns: 22px 1fr; gap: 0.75rem;
  align-items: start;
}
.catalog-modal-point-dot {
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--c1-pale); color: var(--c1);
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 0.78rem; font-weight: 800;
  margin-top: 0.15rem;
}
.catalog-modal-point span {
  font-size: 0.86rem; line-height: 1.7; color: var(--text-2);
}
.catalog-modal-actions {
  display: flex; flex-wrap: wrap; gap: 0.75rem;
}
.catalog-modal-actions .btn,
.catalog-modal-actions .btn-outline-dark {
  min-width: 210px; justify-content: center;
}

/* ============================================================
   SECTORS
   ============================================================ */
#sectores { background: var(--white); position: relative; }
.sectors-head { text-align: center; margin-bottom: 4rem; }
.sectors-head .section-sub { margin: 0 auto; }
.sectors-scroll-fade {
  position: relative;
  -webkit-mask-image: linear-gradient(
    to bottom,
    transparent 0,
    rgba(0,0,0,0.18) 18px,
    rgba(0,0,0,0.55) 42px,
    #000 82px,
    #000 100%
  );
  mask-image: linear-gradient(
    to bottom,
    transparent 0,
    rgba(0,0,0,0.18) 18px,
    rgba(0,0,0,0.55) 42px,
    #000 82px,
    #000 100%
  );
}
.sectors-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }
.sector-card { background: var(--bg); border-radius: var(--r2); border: 1px solid var(--border-l); padding: 2rem 1.5rem; text-align: center; transition: all var(--t); cursor: default; }
.sector-card:hover { background: var(--c1-pale); border-color: rgba(74,15,8,0.22); transform: translateY(-4px); box-shadow: var(--sh2); }
.sector-icon { width: 58px; height: 58px; background: var(--white); border-radius: var(--r); display: flex; align-items: center; justify-content: center; margin: 0 auto 1.35rem; color: var(--c1); box-shadow: var(--sh1); transition: all var(--t); }
.sector-card:hover .sector-icon { background: var(--c1); color: #fff; box-shadow: none; }
.sector-icon svg { width: 28px; height: 28px; }
.sector-name { font-size: 0.9rem; font-weight: 700; color: var(--text); line-height: 1.3; }
.sector-desc { font-size: 0.77rem; color: var(--text-3); margin-top: 0.4rem; line-height: 1.5; }

/* ============================================================
   BENEFITS
   ============================================================ */
#beneficios { background: #0E0E0E; position: relative; overflow: hidden; }
.benefits-pattern {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(ellipse 60% 50% at 80% 50%, rgba(74,15,8,0.13) 0%, transparent 100%),
    radial-gradient(ellipse 40% 60% at 10% 80%, rgba(54,10,5,0.10) 0%, transparent 100%);
}
.benefits-inner { position: relative; z-index: 2; }
.benefits-header { margin-bottom: 4rem; }
.benefits-header .section-title { color: #fff; }
.benefits-header .section-sub { color: rgba(255,255,255,0.45); }
.benefits-header .eyebrow { color: var(--c1-l); }
.benefits-header .eyebrow::before { background: var(--c1-l); }
.benefits-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.benefit-card { padding: 2.25rem 2rem; border-radius: var(--r2); border: 1px solid rgba(255,255,255,0.07); background: rgba(255,255,255,0.04); transition: all var(--t); }
.benefit-card:hover { background: rgba(255,255,255,0.07); border-color: rgba(74,15,8,0.6); transform: translateY(-3px); }
.benefit-card.reveal {
  opacity: 0;
  transform: translateX(-44px) translateY(10px);
  transition:
    opacity 0.72s ease,
    transform 0.72s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow var(--t),
    border-color var(--t),
    background var(--t);
}
.benefit-card.reveal:nth-child(even) { transform: translateX(44px) translateY(10px); }
.benefit-card.reveal.in {
  opacity: 1;
  transform: translateX(0) translateY(0);
}
.benefit-icon { color: var(--c1-l); margin-bottom: 1.5rem; }
.benefit-icon svg { width: 32px; height: 32px; }
.benefit-title { font-size: 1rem; font-weight: 700; color: #fff; margin-bottom: 0.6rem; }
.benefit-text { font-size: 0.875rem; color: rgba(255,255,255,0.42); line-height: 1.75; }

/* ============================================================
   PROCESS
   ============================================================ */
#proceso { background: var(--bg); }
.process-head { text-align: center; margin-bottom: 5rem; }
.process-head .section-sub { margin: 0 auto; }
.process-track { display: grid; grid-template-columns: repeat(6, 1fr); position: relative; }
.process-track::before { content: ''; position: absolute; top: 27px; left: calc(100%/12); right: calc(100%/12); height: 1px; background: linear-gradient(90deg, var(--c1) 0%, var(--border) 100%); }
.process-step { text-align: center; padding: 0 0.75rem; position: relative; }
.process-n { width: 56px; height: 56px; border-radius: 50%; background: var(--white); border: 1.5px solid var(--border); display: flex; align-items: center; justify-content: center; margin: 0 auto 1.75rem; font-size: 0.82rem; font-weight: 800; color: var(--text-3); position: relative; z-index: 1; box-shadow: var(--sh1); transition: all var(--t); }
.process-step:first-child .process-n { background: var(--c1); color: #fff; border-color: var(--c1); box-shadow: 0 4px 16px rgba(74,15,8,0.35); }
.process-step.is-active .process-n { background: var(--c1); color: #fff; border-color: var(--c1); box-shadow: 0 4px 16px rgba(74,15,8,0.35); }
.process-step.is-active .process-step-title { color: var(--c1); }
.process-step-title { font-size: 0.875rem; font-weight: 700; color: var(--text); margin-bottom: 0.4rem; }
.process-step-desc { font-size: 0.78rem; color: var(--text-3); line-height: 1.6; }

/* ============================================================
   PROJECTS
   ============================================================ */
#proyectos { background: var(--white); }
.projects-header { display: flex; justify-content: space-between; align-items: flex-end; flex-wrap: wrap; gap: 1.5rem; margin-bottom: 3rem; }
.projects-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.proj-card { border-radius: var(--r2); overflow: hidden; border: 1px solid var(--border-l); transition: all var(--t); }
.proj-card:hover { box-shadow: var(--sh3); transform: translateY(-5px); }
.proj-img { height: 200px; position: relative; overflow: hidden; }
.proj-img-ph { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; }
.proj-img-ph svg { width: 52px; height: 52px; }
.proj-img-ph.elec {
  background: linear-gradient(140deg,#12101E 0%,#1E1530 60%,#2A1F3A 100%);
  color: rgba(255,255,255,0.15);
  box-shadow: inset 0 -40px 60px rgba(74,15,8,0.12);
}
.proj-img-ph.civil {
  background: linear-gradient(140deg,#101510 0%,#18201A 60%,#243020 100%);
  color: rgba(255,255,255,0.15);
  box-shadow: inset 0 -40px 60px rgba(36,48,32,0.3);
}
.proj-img-ph.facility {
  background: linear-gradient(140deg,#130F18 0%,#1E1522 60%,#2A1A30 100%);
  color: rgba(255,255,255,0.15);
  box-shadow: inset 0 -40px 60px rgba(74,15,8,0.1);
}
.proj-img-ph.energy {
  background: linear-gradient(140deg,#180F10 0%,#261518 60%,#3A2020 100%);
  color: rgba(255,255,255,0.15);
  box-shadow: inset 0 -40px 60px rgba(74,15,8,0.15);
}
.proj-badge { position: absolute; top: 1rem; left: 1rem; background: var(--c1); color: #fff; font-size: 0.65rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; padding: 0.28rem 0.65rem; border-radius: 4px; }
.proj-body { padding: 1.25rem 1.5rem 1.5rem; }
.proj-title { font-size: 0.9rem; font-weight: 700; color: var(--text); margin-bottom: 0.35rem; line-height: 1.4; }
.proj-meta { font-size: 0.77rem; color: var(--text-3); }

/* ============================================================
   FAQ
   ============================================================ */
#faq { background: var(--bg); }
.faq-layout { display: grid; grid-template-columns: 1fr 1.6fr; gap: 5rem; align-items: start; }
.faq-side { position: sticky; top: 100px; }
.faq-side .section-sub { margin-top: 1rem; margin-bottom: 2rem; }
.faq-contact-hint {
  display: flex; align-items: center; gap: 0.875rem;
  background: var(--white); border: 1px solid var(--border-l);
  border-radius: var(--r2); padding: 1.25rem 1.5rem;
  margin-top: 2rem; transition: all var(--t);
}
.faq-contact-hint:hover { border-color: var(--wa-green); transform: translateY(-2px); box-shadow: var(--sh2); }
.faq-ch-icon {
  width: 44px; height: 44px; flex-shrink: 0;
  background: #E7F9EE; border-radius: var(--r);
  display: flex; align-items: center; justify-content: center; color: var(--wa-green);
}
.faq-ch-icon svg { width: 22px; height: 22px; }
.faq-ch-text strong { display: block; font-size: 0.875rem; font-weight: 700; color: var(--text); }
.faq-ch-text span { font-size: 0.78rem; color: var(--text-3); }

.faq-list { display: flex; flex-direction: column; gap: 0.75rem; }
.faq-item {
  background: var(--white); border: 1px solid var(--border-l);
  border-radius: var(--r2); overflow: hidden;
  transition: border-color var(--t), box-shadow var(--t);
}
.faq-item.open { border-color: rgba(74,15,8,0.25); box-shadow: var(--sh2); }
.faq-q {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; padding: 1.25rem 1.5rem; cursor: pointer;
  font-size: 0.92rem; font-weight: 600; color: var(--text);
  user-select: none; transition: color var(--t);
}
.faq-q:hover { color: var(--c1); }
.faq-item.open .faq-q { color: var(--c1); }
.faq-icon {
  width: 30px; height: 30px; flex-shrink: 0;
  border-radius: 50%; border: 1.5px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  color: var(--text-3); transition: all var(--t);
}
.faq-item.open .faq-icon { background: var(--c1); border-color: var(--c1); color: #fff; transform: rotate(45deg); }
.faq-icon svg { width: 14px; height: 14px; }
.faq-a {
  max-height: 0; overflow: hidden;
  transition: max-height 0.38s cubic-bezier(0.4, 0, 0.2, 1), padding 0.38s ease;
}
.faq-item.open .faq-a { max-height: 400px; }
.faq-a-inner {
  padding: 0 1.5rem 1.5rem;
  font-size: 0.875rem; color: var(--text-2); line-height: 1.8;
  border-top: 1px solid var(--border-l);
  padding-top: 1rem;
}

/* ============================================================
   CTA BANNER
   ============================================================ */
#cta-section { background: var(--bg-alt); padding: 80px 0; }
.cta-box {
  background: #0E0E0E; border-radius: var(--r2);
  padding: 5rem 4rem; text-align: center;
  position: relative; overflow: hidden;
  border: 1px solid rgba(255,255,255,0.06);
}
.cta-box::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, transparent, var(--c1), var(--c1-l), var(--c1), transparent);
}
.cta-box-pattern {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(ellipse 55% 70% at 50% 110%, rgba(74,15,8,0.18) 0%, transparent 100%),
    radial-gradient(ellipse 30% 40% at 15% 20%, rgba(54,10,5,0.10) 0%, transparent 100%);
}
.cta-box-content { position: relative; z-index: 2; max-width: 680px; margin: 0 auto; }
.cta-box-eyebrow { color: var(--c1-l); }
.cta-box-eyebrow::before { background: var(--c1-l); }
.cta-box-title { font-size: clamp(1.8rem, 3vw, 2.75rem); font-weight: 800; color: #fff; line-height: 1.18; letter-spacing: -0.022em; margin-bottom: 1.25rem; }
.cta-box-text { font-size: 1rem; color: rgba(255,255,255,0.45); line-height: 1.8; margin-bottom: 2.5rem; }
.cta-actions { display: flex; align-items: center; justify-content: center; gap: 1rem; flex-wrap: wrap; }

/* ============================================================
   FOOTER
   ============================================================ */
#contacto {
  background: #0A0A0A; padding: 80px 0 0;
  border-top: 1px solid rgba(255,255,255,0.05);
}
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.6fr; gap: 4rem; padding-bottom: 4rem; border-bottom: 1px solid rgba(255,255,255,0.07); }
.footer-brand-logo { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 1.25rem; }
.footer-brand-logo img { height: 40px; filter: brightness(0) invert(1); opacity: 0.65; }
.footer-brand-name { font-size: 1.35rem; font-weight: 800; color: #fff; letter-spacing: 0.1em; }
.footer-brand-tag { font-size: 0.58rem; font-weight: 500; color: rgba(255,255,255,0.3); letter-spacing: 0.06em; text-transform: uppercase; margin-top: 2px; }
.footer-brand-desc { font-size: 0.875rem; color: rgba(255,255,255,0.35); line-height: 1.8; max-width: 280px; }
.footer-col-h { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: rgba(255,255,255,0.3); margin-bottom: 1.5rem; display: block; }
.footer-links { display: flex; flex-direction: column; gap: 0.8rem; }
.footer-links a { font-size: 0.875rem; color: rgba(255,255,255,0.45); transition: color var(--t); }
.footer-links a:hover { color: rgba(255,255,255,0.85); }
.footer-contact-row { display: flex; align-items: flex-start; gap: 0.75rem; margin-bottom: 1.1rem; }
.footer-c-icon { width: 34px; height: 34px; flex-shrink: 0; background: rgba(255,255,255,0.05); border-radius: var(--r); display: flex; align-items: center; justify-content: center; color: var(--c1-l); }
.footer-c-icon svg { width: 15px; height: 15px; }
.footer-c-text { font-size: 0.82rem; color: rgba(255,255,255,0.4); line-height: 1.6; }
.footer-bottom { padding: 1.75rem 0; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1rem; }
.footer-copy { font-size: 0.78rem; color: rgba(255,255,255,0.2); }
.footer-socials { display: flex; gap: 0.75rem; }
.footer-soc { width: 36px; height: 36px; border-radius: var(--r); border: 1px solid rgba(255,255,255,0.1); display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,0.3); transition: all var(--t); }
.footer-soc:hover { border-color: var(--c1); color: var(--c1-l); }
.footer-soc svg { width: 15px; height: 15px; }

/* ============================================================
   WHATSAPP FLOAT BUTTON
   ============================================================ */
.wa-float {
  position: fixed; bottom: 2rem; right: 2rem; z-index: 990;
  display: flex; flex-direction: column; align-items: flex-end; gap: 0.75rem;
}
.wa-tooltip {
  background: var(--white); color: var(--text);
  font-size: 0.8rem; font-weight: 600;
  padding: 0.5rem 1rem; border-radius: 100px;
  box-shadow: var(--sh2); white-space: nowrap;
  opacity: 0; transform: translateX(8px);
  transition: all 0.25s ease; pointer-events: none;
}
.wa-float:hover .wa-tooltip { opacity: 1; transform: translateX(0); }
.wa-btn {
  width: 60px; height: 60px; border-radius: 50%;
  background: var(--wa-green); color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 24px rgba(37,211,102,0.40);
  transition: all 0.25s ease; position: relative;
  text-decoration: none;
}
.wa-btn:hover { background: #1EBE5A; transform: scale(1.08); box-shadow: 0 8px 32px rgba(37,211,102,0.5); }
.wa-btn svg { width: 30px; height: 30px; }
.wa-pulse {
  position: absolute; inset: -4px; border-radius: 50%;
  border: 2px solid var(--wa-green); opacity: 0;
  animation: waPulse 2.5s ease-out infinite;
}
.wa-pulse:nth-child(2) { animation-delay: 0.8s; }
@keyframes waPulse {
  0%   { transform: scale(1); opacity: 0.6; }
  100% { transform: scale(1.7); opacity: 0; }
}

/* ============================================================
   SCROLL REVEAL ANIMATIONS
   ============================================================ */
.reveal {
  opacity: 0; transform: translateY(30px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.reveal.in { opacity: 1; transform: translateY(0); }
.d1 { transition-delay: 0.10s; }
.d2 { transition-delay: 0.20s; }
.d3 { transition-delay: 0.30s; }
.d4 { transition-delay: 0.40s; }
.d5 { transition-delay: 0.50s; }

/* catalog card reveal */
.cat-card {
  opacity: 0; transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease, box-shadow var(--t);
}
.cat-card.in { opacity: 1; transform: translateY(0); }
.cat-card.hidden { display: none !important; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (min-width: 1600px) {
  #inicio { padding: calc(var(--nav-h) + 100px) 0 130px; }
  .hero-h1 { max-width: 900px; }
  .hero-p  { max-width: 680px; }
}
@media (max-width: 980px) {
  .nav-inner { gap: 1rem; }
  .nav-links { gap: 1.2rem; margin-left: 1rem; }
  .btn-nav { margin-left: 0.75rem; padding: 0.58rem 1rem; }
  .hero-stats { gap: 2.4rem; }
}
@media (max-width: 1100px) {
  .services-grid  { grid-template-columns: 1fr; max-width: 620px; margin: 0 auto; }
  .catalog-grid   { grid-template-columns: repeat(3, 1fr); }
  .sectors-grid   { grid-template-columns: repeat(3, 1fr); }
  .benefits-grid  { grid-template-columns: repeat(2, 1fr); }
  .footer-grid    { grid-template-columns: 1fr 1fr; gap: 3rem; }
  .projects-grid  { grid-template-columns: repeat(2, 1fr); }
  .metrics-row    { grid-template-columns: repeat(2, 1fr); gap: 3.5rem; }
  .about-grid     { grid-template-columns: 1fr; gap: 3.5rem; }
  .about-visual   { order: -1; }
  .about-badge    { right: 1.5rem; }
  .faq-layout     { grid-template-columns: 1fr; gap: 3rem; }
  .faq-side       { position: static; }
}
@media (max-width: 768px) {
  :root { --nav-h: 72px; }
  #header .container { padding-left: 1rem; padding-right: 0.35rem; }
  .nav-inner { position: relative; justify-content: flex-start; gap: 0.5rem; }
  .nav-logo { margin-right: 0; }
  .nav-links, .btn-nav { display: none; }
  .nav-hamburger {
    position: absolute;
    top: 50%;
    right: 0.05rem;
    display: flex;
    margin: 0;
    flex: 0 0 44px;
    width: 44px;
    align-items: center;
    justify-content: center;
    transform: translateY(-50%);
  }
  .nav-hamburger:hover { opacity: 0.76; transform: translateY(-50%); }
  .nav-menu-backdrop { display: block; }
  .nav-drawer { display: flex; }
  section { padding: 80px 0; }
  .container { padding: 0 1.25rem; }
  #inicio {
    min-height: auto;
    padding: calc(var(--nav-h) + 40px) 0 72px;
  }
  .hero-overlay {
    background: linear-gradient(135deg, rgba(14,14,14,0.84) 0%, rgba(20,12,15,0.72) 100%);
  }
  .hero-blob-1 { width: 480px; height: 480px; right: -180px; top: 56%; filter: blur(72px); }
  .hero-blob-2 { width: 300px; height: 300px; right: 15%; bottom: -110px; filter: blur(60px); }
  .hero-blob-3 { width: 220px; height: 220px; left: -70px; top: 12%; filter: blur(56px); }
  .hero-accent-line { display: none; }
  .hero-label { margin-bottom: 1.5rem; }
  .hero-p { font-size: 1rem; max-width: none; margin-bottom: 2.25rem; }
  .hero-divider { margin: 2.5rem 0 1.75rem; }
  .hero-stats {
    display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem 1.25rem; max-width: 470px;
  }
  .hero-stats > div { min-width: 0; }
  .hero-stats > div:last-child { grid-column: 1 / -1; }
  .hero-stat-val { font-size: 2rem; }
  .hero-stat-lbl { line-height: 1.45; }
  .services-grid  { grid-template-columns: 1fr; max-width: 100%; }
  .catalog-grid   { grid-template-columns: repeat(2, 1fr); gap: 1rem; }
  .cat-card-img   { height: 140px; }
  .sectors-grid   { grid-template-columns: repeat(2, 1fr); }
  .benefits-grid  { grid-template-columns: 1fr; }
  .projects-grid  { grid-template-columns: 1fr; }
  .footer-grid    { grid-template-columns: 1fr; gap: 2.5rem; }
  .footer-bottom  { flex-direction: column; text-align: center; }
  .cta-box        { padding: 2.75rem 1.5rem; }
  .services-head, .catalog-head, .sectors-head, .benefits-header, .process-head, .projects-header { margin-bottom: 3rem; }
  .metrics-band   { padding: 52px 0; }
  .metrics-row    { gap: 2rem 1.25rem; }
  .metric-val     { font-size: 2.2rem; }
  .catalog-filters-wrap {
    top: calc(var(--nav-h) - 2px);
    padding: 0.55rem 0 0.45rem;
    margin-bottom: 1.5rem;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
  }
  .catalog-filters {
    justify-content: flex-start; flex-wrap: nowrap; overflow-x: auto;
    padding: 0 1.25rem 0.35rem; scrollbar-width: none;
    scroll-snap-type: x proximity;
    gap: 0.5rem;
  }
  .catalog-filters::-webkit-scrollbar { display: none; }
  .catalog-filters-wrap::after {
    content: ''; position: absolute; top: 0; right: 0; bottom: 0.5rem;
    width: 3rem; pointer-events: none; z-index: 2;
    background: linear-gradient(to right, transparent, var(--bg-alt) 85%);
  }
  .catalog-count  { padding: 0 1.25rem; text-align: left; }
  .filter-btn     { flex: 0 0 auto; scroll-snap-align: start; }
  .about-grid     { gap: 3rem; }
  .about-pills    { grid-template-columns: 1fr; }
  .about-pill.reveal {
    opacity: 1; transform: none;
    box-shadow: 0 10px 28px rgba(0,0,0,0.04);
  }
  .about-pill.reveal.in {
    animation: aboutPillMobileIn 0.72s cubic-bezier(0.22, 1, 0.36, 1) both;
    box-shadow: 0 14px 34px rgba(74,15,8,0.08);
  }
  .about-ph       { height: 400px; }
  .about-badge    { right: 1.25rem; bottom: 1.25rem; padding: 1.1rem 1.35rem; }
  .process-track  { grid-template-columns: 1fr; gap: 2.5rem; }
  .process-track::before { display: none; }
  .process-step   { display: grid; grid-template-columns: 56px 1fr; gap: 1.25rem; align-items: start; text-align: left; }
  .process-n      { margin: 0; }
  .faq-contact-hint { align-items: flex-start; }
  .proj-nav       { opacity: 1; background: rgba(255,255,255,0.18); }
  .proj-info      { padding: 1.1rem 1.25rem 1.3rem; }
  .form-box       { padding: 2rem 1.5rem; }
  .wa-float       { bottom: 1.5rem; right: 1.5rem; }
  .wa-tooltip     { display: none; }
  .catalog-modal-dialog { grid-template-columns: 1fr; max-height: calc(100vh - 0.75rem); }
  .catalog-modal-gallery { padding: 0.85rem 0.85rem 0.65rem; }
  .catalog-modal-stage { min-height: 320px; }
  .catalog-modal-chip { display: none; }
  .catalog-modal-thumbs { position: static; margin-top: 0.75rem; left: auto; right: auto; bottom: auto; }
  .catalog-modal-body {
    margin-top: 0.2rem;
    padding: 3rem 1.25rem 1.4rem;
    background: var(--white);
    border-top: 1px solid var(--border-l);
  }
  .catalog-modal-close { top: 0.75rem; right: 0.9rem; }
  .catalog-modal-eyebrow { margin-bottom: 0.8rem; padding-right: 3.5rem; }
  .catalog-modal-actions { flex-direction: column; }
  .catalog-modal-actions .btn,
  .catalog-modal-actions .btn-outline-dark { width: 100%; min-width: 0; }
}
@media (max-width: 640px) {
  .about-ph       { height: 340px; }
  .about-badge    { position: static; display: inline-flex; flex-direction: column; margin-top: 1rem; }
  .footer-brand-logo { align-items: flex-start; }
  .proj-gallery   { height: 210px; }
}
@media (max-width: 520px) {
  :root { --nav-h: 68px; }
  section { padding: 68px 0; }
  .container { padding: 0 1rem; }
  #header .container { padding-left: 1rem; padding-right: 0.25rem; }
  .nav-inner { justify-content: flex-start; gap: 0.35rem; }
  .nav-hamburger { flex-basis: 40px; width: 40px; right: 0.08rem; }
  .nav-hamburger:hover { transform: translateY(-50%); }
  .nav-drawer {
    width: min(320px, 88vw);
    padding: 5.8rem 1.1rem 1.5rem;
  }
  .nav-drawer-links a { font-size: 1.08rem; padding: 0.9rem 0; }
  .hero-h1        { font-size: 2rem; }
  .hero-actions   { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .hero-stats     { grid-template-columns: 1fr; gap: 1rem; }
  .hero-stats > div:last-child { grid-column: auto; }
  /* --- Catálogo mobile: 1 columna vertical, tarjetas limpias --- */
  .catalog-grid   { grid-template-columns: 1fr; gap: 0.75rem; }
  .cat-card       { display: flex; flex-direction: column; }
  .cat-card::before { display: none; }
  .cat-card-img   { height: 130px; }
  .cat-card-img svg { width: 58px; height: 58px; }
  .cat-card-body  { padding: 0.9rem 1rem 0.45rem; flex: 1; }
  .cat-card-title { min-height: 0; font-size: 0.9rem; margin-bottom: 0.3rem; -webkit-line-clamp: 2; line-clamp: 2; }
  .cat-card-desc  { -webkit-line-clamp: 2; line-clamp: 2; font-size: 0.78rem; line-height: 1.52; }
  .cat-card-foot  { padding: 0.6rem 1rem 0.875rem; margin-top: 0.25rem; }
  .cat-price      { margin-bottom: 0.6rem; font-size: 0.76rem; }
  .cat-actions    { grid-template-columns: 1fr 1fr; gap: 0.45rem; }
  .btn-cat-more   { font-size: 0.775rem; min-height: 42px; padding: 0.6rem 0.75rem; }
  .btn-wa-card    { font-size: 0.775rem; min-height: 42px; padding: 0.6rem 0.5rem; }
  .filter-btn     { font-size: 0.76rem; padding: 0.48rem 0.92rem; min-height: 36px; }
  .sectors-grid   { grid-template-columns: repeat(2, 1fr); }
  .cta-actions    { flex-direction: column; }
  .cta-actions .btn { width: 100%; justify-content: center; }
  .metrics-row    { grid-template-columns: 1fr; gap: 1.25rem; }
  .metric-val     { font-size: 2rem; }
  .about-ph       { height: 300px; }
  .footer-grid    { gap: 2.25rem; }
  .wa-btn         { width: 56px; height: 56px; }
  .wa-btn svg     { width: 28px; height: 28px; }
  .catalog-modal { padding: 0.35rem; }
  .catalog-modal-dialog { width: calc(100vw - 0.7rem); border-radius: 16px; max-height: calc(100vh - 0.7rem); }
  .catalog-modal-gallery { padding: 0.65rem 0.65rem 0.55rem; }
  .catalog-modal-stage { min-height: 220px; border-radius: 12px; }
  .catalog-modal-thumbs { gap: 0.5rem; margin-top: 0.55rem; }
  .catalog-modal-thumb { height: 56px; border-radius: 10px; }
  .catalog-modal-body { padding: 2.45rem 0.95rem 1.1rem; }
  .catalog-modal-meta { margin: 1rem 0 1rem; gap: 0.55rem; }
  .catalog-modal-point span { font-size: 0.83rem; line-height: 1.6; }
  .catalog-modal-eyebrow { font-size: 0.64rem; letter-spacing: 0.14em; }
  .catalog-modal-nav { width: 38px; height: 38px; }
  .catalog-modal-title { font-size: 1.42rem; line-height: 1.12; }
  .catalog-modal-lead { font-size: 0.94rem; }
  .catalog-modal-copy { font-size: 0.86rem; }
}
@media (max-width: 390px) {
  .sectors-grid   { grid-template-columns: 1fr; }
  .process-step   { grid-template-columns: 1fr; gap: 0.85rem; }
  .process-n      { margin-bottom: 0.2rem; }
}

/* ============================================================
   PROJECT SLIDERS
   ============================================================ */
.proj-gallery {
  position: relative; height: 220px; overflow: hidden;
  border-radius: var(--r2) var(--r2) 0 0;
  background: #111;
}
.proj-slides {
  display: flex; height: 100%;
  transition: transform 0.42s cubic-bezier(0.4,0,0.2,1);
  will-change: transform;
}
.proj-slide {
  min-width: 100%; height: 100%; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
}
.proj-cat-badge {
  position: absolute; top: 1rem; left: 1rem;
  background: var(--c1); color: #fff;
  font-size: 0.65rem; font-weight: 700; letter-spacing: 0.12em;
  text-transform: uppercase; padding: 0.28rem 0.65rem; border-radius: 4px;
  z-index: 3;
}
.proj-nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 32px; height: 32px; border-radius: 50%;
  background: rgba(255,255,255,0.15); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem; line-height: 1; z-index: 3;
  border: 1px solid rgba(255,255,255,0.2);
  backdrop-filter: blur(4px);
  transition: background var(--t), opacity var(--t);
  opacity: 0; cursor: pointer;
}
.proj-card:hover .proj-nav { opacity: 1; }
.proj-nav:hover { background: rgba(255,255,255,0.3); }
.proj-nav.prev { left: 0.6rem; }
.proj-nav.next { right: 0.6rem; }
.proj-dots {
  position: absolute; bottom: 0.65rem; left: 50%;
  transform: translateX(-50%); display: flex; gap: 5px; z-index: 3;
}
.proj-dot {
  width: 6px; height: 6px; border-radius: 3px;
  background: rgba(255,255,255,0.4);
  transition: background var(--t), width 0.25s ease;
  cursor: pointer;
}
.proj-dot.active { background: #fff; width: 18px; }
.proj-info { padding: 1.25rem 1.5rem 1.5rem; }
.proj-info-title { font-family: 'Montserrat', sans-serif; font-size: 0.9rem; font-weight: 700; color: var(--text); margin-bottom: 0.35rem; line-height: 1.4; }
.proj-info-desc { font-size: 0.78rem; color: var(--text-2); line-height: 1.55; margin-bottom: 0.35rem; }
.proj-info-meta { font-size: 0.73rem; color: var(--text-3); }

/* ============================================================
   CONTACT FORM SECTION
   ============================================================ */
#formulario { background: var(--bg); }
.form-layout {
  display: grid; grid-template-columns: 1fr 1.45fr;
  gap: 5rem; align-items: start;
}
.form-side { position: sticky; top: 100px; }
.form-side .section-sub { margin-top: 1rem; margin-bottom: 2rem; }
.form-info-items { display: flex; flex-direction: column; gap: 1rem; }
.form-info-item {
  display: flex; align-items: center; gap: 0.875rem;
  padding: 1rem 1.25rem; background: var(--white);
  border: 1px solid var(--border-l); border-radius: var(--r);
  transition: border-color var(--t);
}
.form-info-item:hover { border-color: rgba(74,15,8,0.2); }
.form-info-icon {
  width: 40px; height: 40px; flex-shrink: 0;
  background: var(--c1-pale); border-radius: var(--r);
  display: flex; align-items: center; justify-content: center; color: var(--c1);
}
.form-info-icon svg { width: 18px; height: 18px; }
.form-info-text strong { display: block; font-size: 0.875rem; font-weight: 700; color: var(--text); }
.form-info-text span { font-size: 0.78rem; color: var(--text-3); }
.form-box {
  background: var(--white); border: 1px solid var(--border-l);
  border-radius: var(--r2); padding: 2.5rem; box-shadow: var(--sh2);
}
.form-row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.form-group { margin-bottom: 1.25rem; }
.form-group label {
  display: block; font-size: 0.79rem; font-weight: 600;
  color: var(--text-2); margin-bottom: 0.45rem; letter-spacing: 0.01em;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%; padding: 0.8rem 1rem;
  border: 1.5px solid var(--border); border-radius: var(--r);
  font-family: 'Open Sans', sans-serif; font-size: 0.875rem;
  color: var(--text); background: var(--bg);
  transition: border-color var(--t), box-shadow var(--t);
  outline: none; resize: vertical; appearance: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--c1); box-shadow: 0 0 0 3px rgba(74,15,8,0.09);
  background: var(--white);
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--text-3); }
.form-submit {
  width: 100%; justify-content: center;
  padding: 1rem; font-size: 0.9rem; margin-top: 0.5rem;
  -webkit-tap-highlight-color: transparent;
}
.form-submit:disabled { opacity: 0.65; cursor: not-allowed; transform: none !important; }
.form-note { font-size: 0.74rem; color: var(--text-3); text-align: center; margin-top: 0.875rem; }
.form-error {
  display: none; margin-top: 1rem;
  padding: 0.875rem 1rem; background: #FDECEC;
  color: #9B1C1C; border-radius: var(--r);
  font-size: 0.83rem; font-weight: 600; text-align: center;
  border: 1px solid #F7B5B5;
}
.form-error.show { display: block; }
.form-success {
  display: none; margin-top: 1.25rem;
  padding: 1rem 1.5rem; background: #EDF7ED;
  color: #2E7D32; border-radius: var(--r);
  font-size: 0.875rem; font-weight: 600; text-align: center;
  border: 1px solid #A5D6A7;
}
.form-success.show { display: block; }
@media (max-width: 1100px) { .form-layout { grid-template-columns: 1fr; gap: 3rem; } .form-side { position: static; } }
@media (max-width: 520px) { .form-row2 { grid-template-columns: 1fr; } .form-box { padding: 1.75rem 1.25rem; } }

/* ============================================================
   MOBILE MENU POSITION FIX (FORCED)
   ============================================================ */
@media (max-width: 768px) {
  #header .container {
    padding-right: 0 !important;
  }
  #header .nav-inner {
    position: relative !important;
    justify-content: flex-start !important;
    padding-right: 3rem !important;
  }
  #hamburger {
    position: fixed !important;
    left: auto !important;
    top: calc(var(--nav-h) / 2) !important;
    right: 0 !important;
    margin: 0 !important;
    transform: translateY(-50%) !important;
    z-index: 1201 !important;
    display: flex !important;
  }
  #hamburger:hover {
    transform: translateY(-50%) !important;
  }
}
@media (max-width: 520px) {
  #hamburger {
    right: -0.2rem !important;
  }
}

/* Mobile tap feedback */
button, a { -webkit-tap-highlight-color: transparent; }
