/* ============================================================
   Jorge Garzón Developer — Main Stylesheet
   ============================================================ */

/* ---------- Variables ---------- */
:root {
  /* === COLOR DE TU LOGO === */
  --blue:    #102C3B; /* Azul oscuro proporcionado */
  --blue2:   #0a1f2b; /* Tono ligeramente más oscuro para gradientes suaves */
  --gold:    #d4a843; /* <- Color secundario o de acento */
  
  --red:     #ee0f0f;
  
  /* === FONDOS CLAROS === */
  --bg:      #ffffff;
  --bg2:     #f5f8fa;
  --bg3:     #e9eff4;
  
  /* EFECTOS CRISTAL Y BORDES PARA FONDO CLARO */
  --glass:   rgba(0,0,0,0.03);
  --glass-b: rgba(0,0,0,0.06);
  --border:  rgba(0,0,0,0.08);
  
  /* TEXTOS PARA FONDO CLARO */
  --text:    #333333;
  --muted:   #666666;
  --title:   var(--blue); /* Títulos toman el color de tu logo */
  
  --white:   #ffffff; /* Se usa para textos en botones */
  --radius:  14px;
  --radius-lg: 20px;
  --shadow:  0 8px 40px rgba(0,0,0,0.06);
  --transition: 0.35s cubic-bezier(0.25,0.8,0.25,1);
  --font:    'Lato', sans-serif;
  --font-h:  'Orbitron', sans-serif;
  --nav-h:   72px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
  line-height: 1.65;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
input, textarea, select, button { font-family: var(--font); outline: none; border: none; }

/* ---------- Scrollbar ---------- */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--blue); border-radius: 3px; }

/* ============================================================
   UTILITIES
   ============================================================ */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section { padding: 100px 0; }
.section-dark { background: var(--bg2); }
.mt-24 { margin-top: 24px; }

.section-tag {
  display: inline-block;
  background: rgba(29,156,235,0.12);
  color: var(--blue);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 100px;
  border: 1px solid rgba(29,156,235,0.25);
  margin-bottom: 16px;
}

.section-title {
  font-family: var(--font-h);
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 900;
  color: var(--title);
  line-height: 1.2;
  margin-bottom: 12px;
}

.section-title .hl {
  color: var(--blue);
}

.sec-head { text-align: center; margin-bottom: 56px; }
.sec-sub { color: var(--muted); font-size: 1.05rem; max-width: 540px; margin: 0 auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  border-radius: 100px;
  font-weight: 700;
  font-size: 0.92rem;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: var(--transition);
  border: 2px solid transparent;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn-primary {
  background: linear-gradient(135deg, var(--blue), var(--blue2));
  color: var(--white);
  box-shadow: 0 4px 24px rgba(29,156,235,0.35);
}
.btn-primary::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--blue2), var(--blue));
  opacity: 0;
  transition: opacity var(--transition);
  z-index: -1;
}
.btn-primary:hover::after { opacity: 1; }
.btn-primary:hover { box-shadow: 0 6px 32px rgba(29,156,235,0.55); transform: translateY(-2px); }

.btn-ghost {
  background: transparent;
  color: var(--blue);
  border-color: rgba(29,156,235,0.3);
}
.btn-ghost:hover {
  border-color: var(--blue);
  color: var(--blue);
  background: rgba(29,156,235,0.08);
  transform: translateY(-2px);
}

.btn-full { width: 100%; justify-content: center; }

/* ---------- Forms ---------- */
.fg { display: flex; flex-direction: column; gap: 6px; }
.fg label { font-size: 0.85rem; font-weight: 700; color: var(--muted); letter-spacing: 0.5px; }
.fg input,
.fg textarea,
.fg select {
  background: var(--glass);
  border: 1px solid var(--border);
  color: var(--text);
  padding: 13px 18px;
  border-radius: var(--radius);
  font-size: 0.95rem;
  transition: border-color var(--transition), background var(--transition);
  width: 100%;
}
.fg input::placeholder,
.fg textarea::placeholder { color: var(--muted); }
.fg input:focus,
.fg textarea:focus,
.fg select:focus {
  border-color: var(--blue);
  background: rgba(29,156,235,0.06);
}
.fg select option { background: var(--bg3); color: var(--text); }
.fg textarea { resize: vertical; min-height: 100px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

/* ============================================================
   PRELOADER
   ============================================================ */
#preloader {
  position: fixed; inset: 0; z-index: 9999;
  background: var(--bg);
  display: flex; align-items: center; justify-content: center;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}
#preloader.done { opacity: 0; visibility: hidden; }
.pre-inner { text-align: center; }
.pre-logo {
  font-family: var(--font-h);
  font-size: 3rem;
  font-weight: 900;
  color: var(--title);
  margin-bottom: 24px;
}
.pre-logo span { color: var(--blue); }
.pre-bar {
  width: 200px;
  height: 3px;
  background: var(--glass-b);
  border-radius: 3px;
  overflow: hidden;
  margin: 0 auto;
}
.pre-fill {
  height: 100%;
  background: var(--blue);
  width: 0;
  animation: preload 1.2s ease forwards;
}
@keyframes preload { to { width: 100%; } }

/* ============================================================
   NAVBAR
   ============================================================ */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--nav-h);
  transition: background var(--transition), box-shadow var(--transition);
}
#navbar.scrolled {
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(20px);
  box-shadow: 0 2px 30px rgba(0,0,0,0.05);
}
.nav-wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-brand { display: flex; align-items: center; }
.nav-logo-img { height: 44px; width: auto; }
.logo-text {
  font-family: var(--font-h);
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--title);
  align-items: center;
}
.logo-dot { color: var(--blue); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}
.nav-item {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--muted);
  padding: 8px 14px;
  border-radius: 100px;
  transition: color var(--transition), background var(--transition);
  letter-spacing: 0.3px;
}
.nav-item:hover, .nav-item.active { color: var(--blue); background: rgba(29,156,235,0.12); }
.nav-item.cta-nav {
  background: linear-gradient(135deg, var(--blue), var(--blue2));
  color: var(--white);
  padding: 8px 20px;
}
.nav-item.cta-nav:hover { opacity: 0.85; background: linear-gradient(135deg, var(--blue), var(--blue2)); }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: transparent;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--blue);
  border-radius: 2px;
  transition: var(--transition);
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--bg);
}
#particles {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(29,156,235,0.14) 0%, transparent 70%),
              radial-gradient(ellipse 50% 40% at 80% 100%, rgba(46,77,167,0.2) 0%, transparent 60%);
  z-index: 1;
}
.hero-body {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: calc(var(--nav-h) + 40px) 24px 80px;
  max-width: 820px;
  margin: 0 auto;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(29,156,235,0.1);
  border: 1px solid rgba(29,156,235,0.25);
  color: var(--blue);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 7px 18px;
  border-radius: 100px;
  margin-bottom: 28px;
  animation: fadeDown 0.8s 0.2s both;
}
.badge-pulse {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #4cff90;
  box-shadow: 0 0 10px #4cff90;
  animation: pulse 1.5s infinite;
}
@keyframes pulse { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:0.5;transform:scale(1.3)} }

.hero-title {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  margin-bottom: 24px;
  animation: fadeDown 0.8s 0.35s both;
}
.ht-name {
  font-family: var(--font-h);
  font-size: clamp(2.2rem, 5.5vw, 4rem);
  font-weight: 900;
  color: var(--title);
  letter-spacing: -1px;
}
.ht-role {
  font-family: var(--font-h);
  font-size: clamp(1.4rem, 3.5vw, 2.4rem);
  font-weight: 700;
  color: var(--blue);
}
.blink {
  -webkit-text-fill-color: var(--blue);
  animation: blink 1s step-end infinite;
}
@keyframes blink { 0%,100%{opacity:1} 50%{opacity:0} }

.hero-sub {
  font-size: clamp(1rem, 2vw, 1.15rem);
  color: var(--muted);
  max-width: 560px;
  margin: 0 auto 36px;
  line-height: 1.7;
  animation: fadeDown 0.8s 0.5s both;
}
.hero-sub strong { color: var(--title); }

.hero-skills {
  display: flex; gap: 12px; justify-content: center; margin-bottom: 40px; flex-wrap: wrap;
  animation: fadeDown 0.8s 0.55s both;
}
.hero-skills span {
  background: #fff; border: 1px solid rgba(16,44,59,0.15); padding: 8px 18px;
  border-radius: 100px; font-size: 0.85rem; color: var(--text);
  box-shadow: 0 4px 15px rgba(0,0,0,0.04);
}

.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 40px;
  animation: fadeDown 0.8s 0.65s both;
}

.hero-social {
  display: flex;
  gap: 12px;
  justify-content: center;
  animation: fadeDown 0.8s 0.8s both;
}
.hs-icon {
  width: 42px; height: 42px;
  border-radius: 50%;
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  color: var(--muted);
  font-size: 0.95rem;
  transition: var(--transition);
}
.hs-icon:hover { border-color: var(--blue); color: var(--blue); background: rgba(29,156,235,0.1); transform: translateY(-3px); }

/* Scroll hint */
.scroll-hint {
  position: absolute;
  bottom: 36px; left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  color: var(--muted);
  font-size: 0.7rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  animation: fadeIn 1s 1.2s both;
}
.scroll-line {
  width: 1px; height: 40px;
  background: linear-gradient(to bottom, var(--blue), transparent);
  animation: scrollPulse 1.5s ease-in-out infinite;
}
@keyframes scrollPulse { 0%,100%{opacity:1;transform:scaleY(1)} 50%{opacity:0.3;transform:scaleY(0.5)} }

/* ============================================================
   STATS BAR
   ============================================================ */
.stats-bar {
  background: var(--bg2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 32px 24px;
}
.stats-inner {
  max-width: 1200px; margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0;
}
.stat {
  text-align: center;
  padding: 0 48px;
  flex: 1;
  min-width: 150px;
}
.stat-n {
  font-family: var(--font-h);
  font-size: 2.4rem;
  font-weight: 900;
  color: var(--blue);
}
.stat-sym { font-family: var(--font-h); font-size: 1.4rem; font-weight: 700; color: var(--gold); }
.stat p { font-size: 0.82rem; color: var(--muted); text-transform: uppercase; letter-spacing: 1px; margin-top: 4px; }
.stat-sep {
  width: 1px; height: 60px;
  background: var(--border);
  flex-shrink: 0;
}

/* ============================================================
   NOSOTROS
   ============================================================ */
.nosotros-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 80px;
  align-items: center;
}
/* Photo */
.nos-photo { position: relative; }
.photo-frame {
  position: relative;
  width: 380px;
  max-width: 100%;
  aspect-ratio: 3/4;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
}
.profile-img { width: 100%; height: 100%; object-fit: cover; }
.photo-placeholder {
  position: absolute; inset: 0;
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: linear-gradient(135deg, var(--bg3), var(--bg2));
  color: var(--muted);
  font-size: 0.85rem;
  text-align: center;
}
.photo-placeholder i { font-size: 4rem; color: rgba(29,156,235,0.3); }
.photo-placeholder small { font-size: 0.75rem; color: var(--muted); font-family: monospace; }
.photo-frame.no-photo .photo-placeholder { display: flex; }
.photo-deco {
  position: absolute;
  inset: -2px;
  border-radius: calc(var(--radius-lg) + 2px);
  background: linear-gradient(135deg, var(--blue), var(--gold), transparent);
  z-index: -1;
  opacity: 0.5;
}
.exp-badge {
  position: absolute;
  bottom: -20px; right: -20px;
  background: linear-gradient(135deg, var(--blue), var(--blue2));
  border-radius: var(--radius);
  padding: 20px 24px;
  text-align: center;
  box-shadow: var(--shadow);
}
.exp-n { font-family: var(--font-h); font-size: 1.8rem; font-weight: 900; color: var(--white); display: block; }
.exp-l { font-size: 0.75rem; color: rgba(255,255,255,0.7); letter-spacing: 1px; text-transform: uppercase; }

/* Content */
.nos-text { color: var(--muted); margin-bottom: 16px; font-size: 1rem; }
.skills-wrap { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.skill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  border-radius: 8px;
  background: var(--glass);
  border: 1px solid var(--border);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--muted);
  transition: var(--transition);
}
.skill:hover { border-color: var(--blue); color: var(--blue); background: rgba(29,156,235,0.08); }
.skill i { color: var(--blue); }

/* ============================================================
   SERVICIOS
   ============================================================ */
.srv-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}
.srv-card {
  position: relative;
  background: var(--glass);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  transition: var(--transition);
  overflow: hidden;
  animation-delay: var(--d, 0s);
}
.srv-card:hover { border-color: rgba(29,156,235,0.35); transform: translateY(-6px); }
.srv-card:hover .srv-glow { opacity: 1; }
.srv-card.featured {
  border-color: rgba(29,156,235,0.4);
  background: rgba(29,156,235,0.06);
}
.srv-glow {
  position: absolute;
  top: -60px; left: 50%;
  transform: translateX(-50%);
  width: 200px; height: 200px;
  background: radial-gradient(circle, rgba(29,156,235,0.25), transparent 70%);
  border-radius: 50%;
  opacity: 0;
  transition: opacity var(--transition);
  pointer-events: none;
}
.feat-tag {
  position: absolute;
  top: 20px; right: 20px;
  background: linear-gradient(135deg, var(--blue), var(--blue2));
  color: var(--white);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 100px;
  letter-spacing: 1px;
  text-transform: uppercase;
}
.srv-icon {
  width: 64px; height: 64px;
  border-radius: 16px;
  background: rgba(16,44,59,0.06); /* Fondo muy sutil */
  border: 1px solid rgba(16,44,59,0.15);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem;
  color: var(--blue);
  margin-bottom: 24px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.03);
}
.srv-card h3 {
  font-family: var(--font-h);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--title);
  margin-bottom: 12px;
}
.srv-card p { color: var(--muted); font-size: 0.9rem; margin-bottom: 24px; line-height: 1.6; }
.srv-card ul { display: flex; flex-direction: column; gap: 10px; margin-bottom: 28px; }
.srv-card ul li {
  display: flex; align-items: center; gap: 10px;
  font-size: 0.88rem; color: var(--muted);
}
.srv-card ul li i { color: var(--blue); font-size: 0.8rem; flex-shrink: 0; }
.srv-link {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--blue);
  font-weight: 700;
  font-size: 0.88rem;
  transition: gap var(--transition);
}
.srv-link:hover { gap: 14px; }

/* ============================================================
   PORTAFOLIO
   ============================================================ */
.pf-filters {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 40px;
}
.pf-btn {
  background: var(--glass);
  border: 1px solid var(--border);
  color: var(--muted);
  padding: 9px 22px;
  border-radius: 100px;
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
}
.pf-btn:hover, .pf-btn.active {
  background: linear-gradient(135deg, var(--blue), var(--blue2));
  border-color: transparent;
  color: var(--white);
}
.pf-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.pf-item { animation-delay: var(--d, 0s); }
.pf-item.hidden { display: none; }
.pf-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  cursor: pointer;
  transition: var(--transition);
}
.pf-card:hover { transform: translateY(-6px); box-shadow: 0 20px 50px rgba(0,0,0,0.1); }
.pf-img {
  width: 100%;
  aspect-ratio: 4/3;
  display: flex; align-items: center; justify-content: center;
  font-size: 3rem;
  color: var(--blue);
  background-color: rgba(16,44,59,0.04);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transition: transform var(--transition);
}
.pf-card:hover .pf-img { transform: scale(1.05); }
.pf-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(255,255,255,0.96) 35%, rgba(255,255,255,0.2) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px;
  opacity: 0;
  transition: opacity var(--transition);
}
.pf-card:hover .pf-overlay { opacity: 1; }
.pf-tag {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--blue);
  background: rgba(29,156,235,0.15);
  padding: 3px 10px;
  border-radius: 100px;
  border: 1px solid rgba(29,156,235,0.3);
  align-self: flex-start;
  margin-bottom: 8px;
}
.pf-overlay h4 {
  font-family: var(--font-h);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--title);
  margin-bottom: 6px;
}
.pf-overlay p { font-size: 0.82rem; color: var(--muted); line-height: 1.4; }

/* ============================================================
   COTIZACIÓN
   ============================================================ */
.cot-wrap {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 60px;
  align-items: start;
}
.cot-info h3 {
  font-family: var(--font-h);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--title);
  margin-bottom: 32px;
}
.why-item {
  display: flex;
  gap: 16px;
  margin-bottom: 24px;
  align-items: flex-start;
}
.why-icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: rgba(29,156,235,0.12);
  border: 1px solid rgba(29,156,235,0.2);
  display: flex; align-items: center; justify-content: center;
  color: var(--blue);
  font-size: 1rem;
  flex-shrink: 0;
}
.why-item h4 { font-size: 0.92rem; font-weight: 700; color: var(--title); margin-bottom: 4px; }
.why-item p { font-size: 0.84rem; color: var(--muted); }

.cot-form {
  background: var(--glass);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
/* Service selector */
.srv-selector label {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--muted);
  letter-spacing: 0.5px;
  margin-bottom: 12px;
}
.srv-opts {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}
.srv-opt { cursor: pointer; }
.srv-opt input { display: none; }
.srv-opt-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 16px 10px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--glass);
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 700;
  text-align: center;
  transition: var(--transition);
}
.srv-opt-inner i { font-size: 1.3rem; }
.srv-opt input:checked + .srv-opt-inner {
  border-color: var(--blue);
  background: rgba(29,156,235,0.1);
  color: var(--blue);
}
.srv-opt:hover .srv-opt-inner { border-color: rgba(29,156,235,0.4); color: rgba(255,255,255,0.8); }

/* ============================================================
   CONTACTO
   ============================================================ */
.cnt-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 60px;
  align-items: start;
}
.cnt-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--glass);
  margin-bottom: 16px;
  transition: var(--transition);
}
.cnt-card:hover { border-color: rgba(29,156,235,0.3); background: rgba(29,156,235,0.04); }
.cnt-icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--blue), var(--blue2));
  display: flex; align-items: center; justify-content: center;
  color: var(--white);
  font-size: 1rem;
  flex-shrink: 0;
}
.cnt-card h4 { font-size: 0.82rem; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 4px; }
.cnt-card p, .cnt-card a { font-size: 0.92rem; color: var(--text); }
.cnt-card a:hover { color: var(--blue); }
.cnt-social { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 8px; }
.cs-btn {
  width: 42px; height: 42px;
  border-radius: 50%;
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  color: var(--muted);
  font-size: 0.9rem;
  transition: var(--transition);
}
.cs-btn:hover { border-color: var(--blue); color: var(--blue); background: rgba(29,156,235,0.1); transform: translateY(-3px); }
.cs-wa { border-color: rgba(37,211,102,0.3); color: rgba(37,211,102,0.7); }
.cs-wa:hover { border-color: #25d366; color: #25d366; background: rgba(37,211,102,0.1); }

.cnt-form-wrap {
  background: var(--glass);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px;
}
.cnt-form h3 {
  font-family: var(--font-h);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--blue);
  margin-bottom: 28px;
}
.cnt-form { display: flex; flex-direction: column; gap: 18px; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--bg2);
  border-top: 1px solid var(--border);
  padding: 60px 24px;
}
.footer-inner {
  max-width: 1200px; margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  text-align: center;
}
.footer-brand { display: flex; flex-direction: column; align-items: center; gap: 12px; }
.footer-logo { height: 50px; width: auto; }
.footer-brand p { color: var(--muted); font-size: 0.9rem; }
.footer-nav { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; }
.footer-nav a {
  color: var(--muted); font-size: 0.85rem; font-weight: 600;
  padding: 6px 14px; border-radius: 100px;
  transition: color var(--transition), background var(--transition);
}
.footer-nav a:hover { color: var(--blue); background: rgba(29,156,235,0.08); }
.footer-copy { color: var(--muted); font-size: 0.78rem; }

/* ============================================================
   WHATSAPP FLOAT
   ============================================================ */
.wa-float {
  position: fixed;
  bottom: 28px; right: 28px;
  z-index: 800;
  width: 58px; height: 58px;
  border-radius: 50%;
  background: #25d366;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.8rem;
  color: var(--white);
  box-shadow: 0 6px 24px rgba(37,211,102,0.45);
  transition: var(--transition);
}
.wa-float:hover { transform: scale(1.1); box-shadow: 0 8px 32px rgba(37,211,102,0.6); }
.wa-float:hover .wa-tip { opacity: 1; transform: translateX(0); pointer-events: auto; }
.wa-tip {
  position: absolute;
  right: 68px;
  white-space: nowrap;
  background: var(--bg2);
  color: var(--blue);
  font-size: 0.82rem;
  font-weight: 700;
  padding: 7px 14px;
  border-radius: 8px;
  border: 1px solid var(--border);
  opacity: 0;
  transform: translateX(10px);
  transition: var(--transition);
  pointer-events: none;
}

/* ============================================================
   MODAL
   ============================================================ */
.modal-overlay {
  position: fixed; inset: 0; z-index: 2000;
  background: rgba(0,0,0,0.7);
  backdrop-filter: blur(8px);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden;
  transition: var(--transition);
}
.modal-overlay.show { opacity: 1; visibility: visible; }
.modal-box {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 48px 40px;
  text-align: center;
  max-width: 380px; width: 90%;
  transform: scale(0.9);
  transition: transform var(--transition);
}
.modal-overlay.show .modal-box { transform: scale(1); }
.modal-icon { font-size: 3.5rem; color: #4cff90; margin-bottom: 16px; display: block; }
.modal-box h3 { font-family: var(--font-h); font-size: 1.4rem; color: var(--blue); margin-bottom: 10px; }
.modal-box p { color: var(--muted); margin-bottom: 28px; }

/* ============================================================
   SCROLL ANIMATIONS
   ============================================================ */
.reveal-up, .reveal-left, .reveal-right {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
  transition-delay: var(--d, 0s);
}
.reveal-left  { transform: translateX(-40px); }
.reveal-right { transform: translateX(40px); }
.reveal-up.visible, .reveal-left.visible, .reveal-right.visible {
  opacity: 1; transform: translate(0);
}

/* ============================================================
   KEYFRAME ANIMATIONS
   ============================================================ */
@keyframes fadeDown { from { opacity:0; transform:translateY(-20px); } to { opacity:1; transform:none; } }
@keyframes fadeIn   { from { opacity:0; } to { opacity:1; } }

/* ============================================================
   RESPONSIVE — TABLET GRANDE (1200px)
   ============================================================ */
@media (max-width: 1200px) {
  .container { padding: 0 20px; }
  .nosotros-grid { gap: 48px; }
}

/* ============================================================
   RESPONSIVE — TABLET (1024px)
   ============================================================ */
@media (max-width: 1024px) {
  .section { padding: 80px 0; }

  /* Nosotros */
  .nosotros-grid { grid-template-columns: 1fr; gap: 40px; }
  .photo-frame { width: 260px; margin: 0 auto; aspect-ratio: 1/1; }
  .nos-photo { display: flex; justify-content: center; }
  .exp-badge { right: 0; bottom: -16px; }

  /* Servicios */
  .srv-grid { grid-template-columns: 1fr; max-width: 560px; margin: 0 auto; }
  .srv-card { padding: 32px 28px; }

  /* Portafolio */
  .pf-grid { grid-template-columns: repeat(2, 1fr); }

  /* Cotización */
  .cot-wrap { grid-template-columns: 1fr; gap: 32px; }
  .cot-form { padding: 32px 28px; }

  /* Contacto */
  .cnt-grid { grid-template-columns: 1fr; gap: 32px; }
  .cnt-form-wrap { padding: 32px 28px; }

  /* Stats */
  .stats-inner { gap: 0; }
  .stat { padding: 0 28px; }
}

/* ============================================================
   RESPONSIVE — MOBILE (768px)
   ============================================================ */
@media (max-width: 768px) {
  .section { padding: 56px 0; }
  .container { padding: 0 16px; }
  .sec-head { margin-bottom: 36px; }
  .sec-sub { font-size: 0.95rem; }

  /* Nav mobile */
  .hamburger { display: flex; }
  .nav-links {
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    background: rgba(255,255,255,0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    padding: 24px 20px 36px;
    gap: 8px;
    border-bottom: 1px solid var(--border);
    border-radius: 0 0 20px 20px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.1);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-12px);
    transition: all 0.35s cubic-bezier(0.25, 1, 0.5, 1);
    z-index: -1;
  }
  .nav-links.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }
  .nav-item {
    display: block;
    width: 100%;
    text-align: center;
    padding: 13px 20px;
    font-size: 1rem;
    border-radius: 12px;
    border: none !important;
  }
  .nav-item:hover, .nav-item.active {
    background: rgba(29,156,235,0.08);
    color: var(--blue);
  }
  .nav-express {
    color: var(--gold) !important;
    background: rgba(212,168,67,0.07) !important;
  }
  .nav-express:hover, .nav-express.active {
    background: rgba(212,168,67,0.14) !important;
    color: var(--gold) !important;
  }
  .nav-item.cta-nav {
    margin-top: 12px;
    font-size: 1rem;
    padding: 14px;
    background: linear-gradient(135deg, var(--blue), var(--blue2));
    color: var(--white);
    box-shadow: 0 6px 20px rgba(29,156,235,0.25);
  }

  /* Hero */
  .hero-body { padding-left: 16px; padding-right: 16px; }
  .hero-skills { gap: 8px; }
  .hero-actions { flex-direction: column; align-items: stretch; gap: 10px; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .hero-social { gap: 10px; flex-wrap: wrap; justify-content: center; }

  /* Stats */
  .stats-bar { padding: 24px 16px; }
  .stats-inner { flex-direction: column; gap: 0; }
  .stat { padding: 16px 24px; min-width: unset; width: 100%; }
  .stat-sep { width: 80%; height: 1px; margin: 0 auto; }

  /* Nosotros */
  .photo-frame { width: 220px; }
  .exp-badge { right: 0; padding: 14px 18px; }
  .exp-n { font-size: 1.4rem; }
  .skills-wrap { gap: 8px; }
  .skill { font-size: 0.78rem; padding: 6px 12px; }

  /* Servicios */
  .srv-grid { max-width: 100%; }
  .srv-card { padding: 28px 24px; }

  /* Portafolio */
  .pf-grid { grid-template-columns: 1fr; }
  /* Mostrar overlay siempre en móvil (no hay hover) */
  .pf-overlay {
    opacity: 1;
    background: linear-gradient(to top, rgba(255,255,255,0.97) 45%, rgba(255,255,255,0.1) 100%);
  }

  /* Cotización */
  .form-row { grid-template-columns: 1fr; }
  .srv-opts { grid-template-columns: repeat(2, 1fr); }
  .cot-form { padding: 24px 18px; gap: 16px; }

  /* Contacto */
  .cnt-form-wrap { padding: 24px 18px; }

  /* Footer */
  .footer { padding: 48px 16px; }
  .footer-nav { gap: 4px; }
  .footer-legal { gap: 8px; font-size: 0.78rem; }
}

/* ============================================================
   RESPONSIVE — MÓVIL PEQUEÑO (480px)
   ============================================================ */
@media (max-width: 480px) {
  .section { padding: 48px 0; }
  .container { padding: 0 14px; }

  /* Hero */
  .ht-name { font-size: clamp(1.6rem, 8vw, 2.2rem); }
  .ht-role { font-size: clamp(1rem, 5vw, 1.4rem); }
  .hero-badge { font-size: 0.72rem; padding: 6px 14px; white-space: normal; line-height: 1.5; text-align: center; }
  .hero-skills { gap: 6px; margin-bottom: 28px; }
  .hero-skills span { padding: 6px 12px; font-size: 0.78rem; }
  .scroll-hint { display: none; }

  /* Stats */
  .stat-sep { display: none; }
  .stats-inner { gap: 24px; }
  .stat { padding: 0 16px; }
  .stat-n { font-size: 2rem; }

  /* Nosotros */
  .photo-frame { width: 180px; }
  .exp-badge { display: none; }

  /* Servicios */
  .srv-card { padding: 24px 18px; }
  .srv-card h3 { font-size: 1rem; }

  /* Portfolio */
  .pf-filters { gap: 6px; }
  .pf-btn { padding: 8px 16px; font-size: 0.8rem; }

  /* Cotización */
  .srv-opts { grid-template-columns: 1fr; }
  .srv-opt-inner { padding: 12px 10px; }
  .cot-form { padding: 20px 16px; }

  /* Contacto */
  .cnt-card { padding: 16px; }
  .cnt-form-wrap { padding: 20px 16px; }

  /* Modal */
  .modal-box { padding: 36px 24px; }

  /* WA float */
  .wa-float { bottom: 16px; right: 16px; width: 52px; height: 52px; font-size: 1.5rem; }

  /* Footer */
  .footer { padding: 40px 14px; }
  .footer-nav { flex-direction: column; align-items: center; gap: 2px; }
  .footer-nav a { padding: 8px 20px; font-size: 0.9rem; }
  .footer-legal { flex-direction: column; gap: 6px; }
}

/* ============================================================
   PÁGINAS EXPRESS — componentes home
   ============================================================ */

/* Nav link especial */
.nav-express {
  color: var(--gold) !important;
  border: 1px solid rgba(212,168,67,0.3) !important;
}
.nav-express:hover {
  background: rgba(212,168,67,0.1) !important;
  border-color: var(--gold) !important;
  color: var(--gold) !important;
}

/* Card express en servicios */
.srv-card.srv-express {
  border-color: rgba(212,168,67,0.4);
  background: linear-gradient(135deg, var(--glass) 0%, rgba(212,168,67,0.04) 100%);
}
.srv-card.srv-express .srv-glow {
  background: radial-gradient(circle, rgba(212,168,67,0.2), transparent 70%);
}
.srv-card.srv-express:hover {
  border-color: rgba(212,168,67,0.6);
}
.srv-card.srv-express .srv-icon {
  background: rgba(212,168,67,0.1);
  border-color: rgba(212,168,67,0.25);
  color: var(--gold);
}

/* Badge NUEVO — dentro del card (overflow:hidden lo cortaba si estaba fuera) */
.badge-express {
  position: absolute;
  top: 16px;
  right: 16px;
  background: linear-gradient(135deg, var(--gold), #b8892e);
  color: var(--white);
  padding: 5px 14px;
  border-radius: 20px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 12px rgba(212,168,67,0.35);
  z-index: 2;
}

/* Precio en card express */
.express-price-tag {
  margin-top: 12px;
  padding: 10px 14px;
  background: rgba(212,168,67,0.08);
  border: 1px solid rgba(212,168,67,0.2);
  border-radius: 10px;
  font-size: 0.9rem;
  color: var(--muted);
  display: inline-block;
}
.express-price-tag strong {
  font-size: 1.3rem;
  color: var(--gold);
  font-family: var(--font-h);
}

/* Footer legal links */
.footer-legal {
  display: flex;
  gap: 12px;
  align-items: center;
  font-size: 0.82rem;
}
.footer-legal a {
  color: var(--muted);
  transition: color var(--transition);
}
.footer-legal a:hover { color: var(--blue); }
.footer-legal span { color: var(--muted); }
