/* ============================================================
   ALEJANDRINAS SAC – CSS v2.0
   Mobile-first | SEO-friendly | Premium Design
   ============================================================ */

/* ──────────────────────────────────────────────────────────
   1. TOKENS & VARIABLES
────────────────────────────────────────────────────────── */
:root {
  /* Marca */
  --brand-blue:      #0f2356;
  --brand-blue-mid:  #1a3a8f;
  --brand-blue-light:#2653c7;
  --brand-yellow:    #f4c10d;
  --brand-yellow-dk: #d4a30a;
  --brand-yellow-lt: #fff0a0;

  /* Neutros */
  --white:      #ffffff;
  --gray-50:    #f8f9fc;
  --gray-100:   #f0f2f8;
  --gray-200:   #e2e6f1;
  --gray-400:   #9ba5c2;
  --gray-600:   #5a6282;
  --gray-800:   #2d3356;
  --black:      #0d1226;

  /* Semánticos */
  --text-primary:   var(--gray-800);
  --text-secondary: var(--gray-600);
  --text-muted:     var(--gray-400);
  --bg-page:        #eef1f9;
  --bg-white:       var(--white);
  --bg-light:       var(--gray-50);

  /* Radios */
  --r-sm:   8px;
  --r-md:   14px;
  --r-lg:   20px;
  --r-xl:   28px;
  --r-pill: 999px;

  /* Sombras */
  --shadow-xs:  0 2px 6px rgba(15,35,86,.06);
  --shadow-sm:  0 4px 14px rgba(15,35,86,.09);
  --shadow-md:  0 8px 28px rgba(15,35,86,.12);
  --shadow-lg:  0 16px 48px rgba(15,35,86,.16);
  --shadow-yellow: 0 6px 20px rgba(212,163,10,.35);

  /* Transiciones */
  --transition: 0.26s cubic-bezier(.4,0,.2,1);

  /* Contenedor */
  --container: 1240px;

  /* Navbar height */
  --nav-h: 72px;
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  color: var(--text-primary);
  background: var(--bg-page);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; height: auto; }
a  { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; }
address { font-style: normal; }

.section-anchor { scroll-margin-top: calc(var(--nav-h) + 16px); }

/* ──────────────────────────────────────────────────────────
   3. CONTENEDOR
────────────────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(16px, 4vw, 48px);
}

/* ──────────────────────────────────────────────────────────
   4. TIPOGRAFÍA GLOBAL
────────────────────────────────────────────────────────── */
h1, h2, h3, h4, h5 {
  font-family: 'Oswald', sans-serif;
  font-weight: 700;
  line-height: 1.1;
  color: var(--brand-blue);
  letter-spacing: 0.01em;
}
h1 { font-size: clamp(2rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 4vw, 2.6rem); text-transform: uppercase; }
h3 { font-size: clamp(1.1rem, 2.5vw, 1.5rem); }

p { line-height: 1.7; color: var(--text-secondary); }

.text-center { text-align: center; }
.text-right  { text-align: right; }

/* ──────────────────────────────────────────────────────────
   5. BOTONES
────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: var(--r-md);
  font-family: 'Inter', sans-serif;
  font-size: .9rem;
  font-weight: 700;
  letter-spacing: .03em;
  text-transform: uppercase;
  transition: all var(--transition);
  white-space: nowrap;
  border: 2px solid transparent;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}
.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,.1);
  opacity: 0;
  transition: opacity var(--transition);
}
.btn:hover::after { opacity: 1; }
.btn:focus-visible { outline: 3px solid var(--brand-yellow); outline-offset: 3px; }

.btn-primary {
  background: linear-gradient(135deg, var(--brand-yellow), var(--brand-yellow-dk));
  color: var(--brand-blue);
  box-shadow: var(--shadow-yellow);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(212,163,10,.45);
}

.btn-ghost {
  background: transparent;
  border-color: rgba(255,255,255,.7);
  color: #fff;
}
.btn-ghost:hover {
  background: rgba(255,255,255,.12);
  border-color: #fff;
}

.btn-wa {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 22px;
  background: #25D366;
  color: #fff;
  border-radius: var(--r-md);
  font-weight: 700;
  font-size: .9rem;
  box-shadow: 0 6px 18px rgba(37,211,102,.3);
  transition: all var(--transition);
}
.btn-wa:hover {
  background: #1ebe5d;
  transform: translateY(-2px);
  box-shadow: 0 10px 26px rgba(37,211,102,.4);
}
.btn-wa i { font-size: 1.2rem; }

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

.btn-sm { padding: 10px 18px; font-size: .82rem; }

/* ──────────────────────────────────────────────────────────
   6. SECTION HEADERS
────────────────────────────────────────────────────────── */
.section-header { margin-bottom: 2.5rem; }
.section-header.left { text-align: left; }

.section-label {
  display: inline-block;
  margin-bottom: 10px;
  padding: 5px 14px;
  background: rgba(244,193,13,.15);
  border: 1px solid rgba(244,193,13,.4);
  border-radius: var(--r-pill);
  color: var(--brand-yellow-dk);
  font-size: .78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .1em;
}
.section-label.light {
  background: rgba(255,255,255,.15);
  border-color: rgba(255,255,255,.3);
  color: rgba(255,255,255,.9);
}

.section-header h2 { margin-bottom: .75rem; }
.section-header p {
  max-width: 620px;
  font-size: 1.05rem;
  margin-inline: auto;
}
.section-header.left p { margin-inline: 0; }

.section-cta { margin-top: 2.5rem; }
.section-cta p { margin-bottom: 1.2rem; font-size: 1rem; }

/* ──────────────────────────────────────────────────────────
   7. TOPBAR
────────────────────────────────────────────────────────── */
.topbar {
  background: var(--brand-blue);
  padding: 10px 0;
  font-size: .82rem;
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.top-data {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
.top-data li a,
.top-data li {
  display: flex;
  align-items: center;
  gap: 7px;
  color: rgba(255,255,255,.82);
  transition: color var(--transition);
}
.top-data li a:hover { color: var(--brand-yellow); }
.top-data i { color: var(--brand-yellow); font-size: .85rem; }

.top-social {
  display: flex;
  gap: 8px;
}
.top-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(255,255,255,.1);
  color: rgba(255,255,255,.8);
  font-size: .8rem;
  transition: all var(--transition);
}
.top-social a:hover { background: var(--brand-yellow); color: var(--brand-blue); }
.top-social .wa-icon:hover { background: #25D366; color: #fff; }

.hide-xs { display: none; }
@media (min-width: 768px) { .hide-xs { display: flex; } }

/* ──────────────────────────────────────────────────────────
   8. NAVBAR
────────────────────────────────────────────────────────── */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--white);
  box-shadow: 0 2px 16px rgba(15,35,86,.1);
  height: var(--nav-h);
  display: flex;
  align-items: center;
  transition: background var(--transition), box-shadow var(--transition);
}
.navbar.scrolled {
  background: rgba(255,255,255,.97);
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 24px rgba(15,35,86,.13);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  gap: 24px;
}

.nav-logo { height: 80px; width: auto; }

.nav-menu {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav-link {
  padding: 8px 14px;
  border-radius: var(--r-sm);
  font-size: .9rem;
  font-weight: 600;
  color: var(--gray-600);
  transition: all var(--transition);
  position: relative;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 14px;
  right: 14px;
  height: 2px;
  background: var(--brand-yellow);
  transform: scaleX(0);
  transition: transform var(--transition);
  transform-origin: center;
  border-radius: 2px;
}
.nav-link:hover,
.nav-link.active { color: var(--brand-blue); }
.nav-link:hover::after,
.nav-link.active::after { transform: scaleX(1); }

.nav-cta {
  background: linear-gradient(135deg, var(--brand-yellow), var(--brand-yellow-dk));
  color: var(--brand-blue) !important;
  font-weight: 800;
  padding: 10px 20px;
  border-radius: var(--r-md);
  box-shadow: var(--shadow-yellow);
}
.nav-cta::after { display: none; }
.nav-cta:hover { transform: translateY(-1px); box-shadow: 0 8px 22px rgba(212,163,10,.4); }

/* Hamburguesa */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  border-radius: var(--r-sm);
  background: var(--gray-100);
  transition: background var(--transition);
  flex-shrink: 0;
}
.nav-toggle:hover { background: var(--gray-200); }
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--brand-blue);
  border-radius: 2px;
  transition: all var(--transition);
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: rotate(45deg) translate(5px,5px); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: rotate(-45deg) translate(5px,-5px); }

/* ──────────────────────────────────────────────────────────
   9. HERO
────────────────────────────────────────────────────────── */
.hero {
  position: relative;
  background: linear-gradient(125deg, var(--brand-blue) 0%, var(--brand-blue-mid) 50%, #1e4db7 100%);
  color: #fff;
  padding: clamp(60px, 10vw, 100px) 0 clamp(80px, 12vw, 130px);
  overflow: hidden;
}

/* Textura de puntos */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255,255,255,.06) 1px, transparent 1px);
  background-size: 22px 22px;
  pointer-events: none;
}

/* Partículas decorativas */
.hero-particles { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.particle {
  position: absolute;
  border-radius: 50%;
  background: rgba(244,193,13,.18);
  animation: float 8s ease-in-out infinite;
}
.p1 { width:260px; height:260px; top:-80px; right:-60px; animation-delay:0s; }
.p2 { width:160px; height:160px; bottom:60px; left:-40px; animation-delay:-2s; }
.p3 { width:80px;  height:80px;  top:30%;   left:20%;    animation-delay:-4s; opacity:.5; }
.p4 { width:120px; height:120px; bottom:20%; right:15%;  animation-delay:-1s; }
.p5 { width:50px;  height:50px;  top:15%;   right:30%;  animation-delay:-3s; opacity:.4; }

@keyframes float {
  0%,100% { transform: translateY(0) scale(1); }
  50%      { transform: translateY(-24px) scale(1.05); }
}

/* Layout hero */
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: clamp(32px, 5vw, 64px);
  position: relative;
  z-index: 2;
}

/* Copia */
.hero-copy { display: flex; flex-direction: column; gap: 20px; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: rgba(244,193,13,.18);
  border: 1px solid rgba(244,193,13,.35);
  border-radius: var(--r-pill);
  color: var(--brand-yellow);
  font-size: .78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  width: fit-content;
}

.hero h1 {
  color: #fff;
  font-family: 'Oswald', sans-serif;
  font-size: clamp(2rem, 5.5vw, 3.5rem);
  line-height: 1.06;
  text-transform: uppercase;
  text-shadow: 0 3px 18px rgba(0,0,0,.18);
}
.hero h1 strong { color: var(--brand-yellow); font-weight: 800; }

.hero-lead {
  color: rgba(255,255,255,.82);
  font-size: 1.05rem;
  max-width: 500px;
  margin: 0;
}

.hero-checks { display: flex; flex-direction: column; gap: 12px; }
.hero-checks li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255,255,255,.9);
  font-size: 1rem;
  font-weight: 500;
}
.hero-checks i { color: var(--brand-yellow); font-size: 1.1rem; flex-shrink: 0; }

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

/* Trust bar */
.trust-bar {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 16px 20px;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: var(--r-lg);
  backdrop-filter: blur(6px);
  width: fit-content;
  flex-wrap: wrap;
}
.trust-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}
.trust-item strong {
  font-size: 1.6rem;
  font-family: 'Oswald', sans-serif;
  color: var(--brand-yellow);
  line-height: 1;
}
.trust-item span { font-size: .75rem; color: rgba(255,255,255,.75); white-space: nowrap; }
.trust-sep { width: 1px; height: 36px; background: rgba(255,255,255,.2); flex-shrink: 0; }

/* Visual */
.hero-visual { display: flex; justify-content: center; align-items: center; }

.hero-img-wrap {
  position: relative;
  width: 100%;
  max-width: 520px;
}

.hero-shape {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}
.hero-shape.s1 {
  width: 380px; height: 380px;
  background: radial-gradient(circle, rgba(244,193,13,.15), transparent 70%);
  top: -40px; right: -40px;
}
.hero-shape.s2 {
  width: 400px; height: 220px;
  background: radial-gradient(circle, rgba(255,255,255,.06), transparent 70%);
  bottom: 20px; left: -20px;
}

.hero-img {
  width: 100%;
  max-height: 480px;
  object-fit: contain;
  filter: drop-shadow(0 24px 36px rgba(0,0,0,.22));
  position: relative;
  z-index: 2;
}

/* Badge flotante */
.hero-badge {
  position: absolute;
  bottom: 30px;
  left: -10px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 18px;
  background: rgba(255,255,255,.97);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg);
  z-index: 5;
}
.hero-badge img { width: 44px; height: 44px; border-radius: var(--r-sm); object-fit: contain; }
.hero-badge div { display: flex; flex-direction: column; }
.hero-badge strong { font-family: 'Oswald', sans-serif; font-size: .9rem; color: var(--brand-blue); }
.hero-badge span { font-size: .75rem; color: var(--gray-400); }

/* Badge calidad */
.hero-quality {
  position: absolute;
  top: 20px;
  right: -10px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  background: linear-gradient(135deg, var(--brand-yellow), var(--brand-yellow-dk));
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-yellow);
  z-index: 5;
  color: var(--brand-blue);
  font-weight: 700;
  font-size: .82rem;
}
.hero-quality i { font-size: 1rem; }

/* Animaciones flotantes */
.floating     { animation: badge-float 4s ease-in-out infinite; }
.floating-slow{ animation: badge-float 5.5s ease-in-out infinite 0.5s; }
@keyframes badge-float {
  0%,100% { transform: translateY(0); }
  50%      { transform: translateY(-8px); }
}

/* Ola */
.hero-wave {
  position: absolute;
  bottom: -1px;
  left: 0; right: 0;
  height: 80px;
  background: var(--bg-page);
  clip-path: ellipse(80% 100% at 50% 100%);
}

/* ──────────────────────────────────────────────────────────
   10. SERVICIOS
────────────────────────────────────────────────────────── */
.services {
  background: var(--bg-white);
  padding: clamp(60px, 9vw, 100px) 0;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
  gap: 22px;
}

.service-card {
  position: relative;
  background: linear-gradient(160deg, var(--bg-white), var(--gray-50));
  border: 1.5px solid var(--gray-200);
  border-radius: var(--r-xl);
  padding: 28px 24px 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: all var(--transition);
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, transparent 60%, rgba(244,193,13,.06));
  pointer-events: none;
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: rgba(244,193,13,.4);
}
.service-card.featured {
  background: linear-gradient(160deg, var(--brand-blue), var(--brand-blue-mid));
  border-color: var(--brand-blue);
  color: #fff;
}
.service-card.featured h3,
.service-card.featured p,
.service-card.featured .sc-link { color: rgba(255,255,255,.9); }

.sc-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  background: var(--brand-yellow);
  color: var(--brand-blue);
  font-size: .7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .05em;
  padding: 3px 10px;
  border-radius: var(--r-pill);
}

.sc-icon {
  width: 72px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--r-lg);
  background: linear-gradient(135deg, rgba(244,193,13,.18), rgba(26,58,143,.1));
  color: var(--brand-blue);
  font-size: 1.8rem;
  flex-shrink: 0;
}
.service-card.featured .sc-icon {
  background: rgba(255,255,255,.15);
  color: var(--brand-yellow);
}

.service-card h3 {
  color: var(--brand-blue);
  font-size: 1.15rem;
  text-transform: uppercase;
  margin: 0;
}
.service-card p {
  font-size: .9rem;
  flex: 1;
  color: var(--text-secondary);
}

.sc-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: .85rem;
  font-weight: 700;
  color: var(--brand-yellow-dk);
  text-transform: uppercase;
  letter-spacing: .05em;
  transition: gap var(--transition);
  margin-top: auto;
}
.service-card.featured .sc-link { color: var(--brand-yellow); }
.sc-link:hover { gap: 10px; }

/* ──────────────────────────────────────────────────────────
   11. NOSOTROS
────────────────────────────────────────────────────────── */
.about {
  background: linear-gradient(180deg, var(--gray-100) 0%, var(--gray-50) 100%);
  padding: clamp(60px, 9vw, 100px) 0;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: start;
}

/* Feature list */
.feature-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin: 1.5rem 0 2rem;
}
.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}
.feat-icon {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--brand-yellow), var(--brand-yellow-dk));
  border-radius: 50%;
  color: var(--brand-blue);
  font-size: .8rem;
  flex-shrink: 0;
  margin-top: 2px;
  box-shadow: var(--shadow-yellow);
}
.feature-list strong {
  display: block;
  color: var(--brand-blue);
  font-weight: 700;
  margin-bottom: 3px;
}
.feature-list p { font-size: .9rem; margin: 0; }

/* Panel misión */
.about-panel {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.about-mission {
  background: var(--white);
  border-radius: var(--r-xl);
  padding: 32px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--gray-200);
  text-align: center;
}
.about-mark { width: 90px; height: 90px; object-fit: contain; margin: 0 auto 18px; }
blockquote p {
  font-size: 1rem;
  color: var(--text-secondary);
  font-style: italic;
  line-height: 1.8;
}
blockquote { border: none; padding: 0; margin: 0 0 14px; }
cite {
  font-size: .82rem;
  color: var(--gray-400);
  font-style: normal;
  font-weight: 600;
}

/* Stats */
.stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.stat-item {
  background: var(--white);
  border-radius: var(--r-lg);
  padding: 20px 12px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-200);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}
.stat-num {
  font-family: 'Oswald', sans-serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--brand-blue);
  line-height: 1;
}
.stat-plus {
  color: var(--brand-yellow-dk);
  font-size: 1.4rem;
  font-weight: 800;
  margin-left: 2px;
}
.stat-label {
  font-size: .75rem;
  color: var(--text-muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .04em;
  line-height: 1.3;
  text-align: center;
}

/* ──────────────────────────────────────────────────────────
   12. PROYECTOS
────────────────────────────────────────────────────────── */
.projects {
  background: var(--white);
  padding: clamp(60px, 9vw, 100px) 0;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.project-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
  background: linear-gradient(160deg, var(--bg-white), var(--gray-50));
  border: 1.5px solid var(--gray-200);
  border-radius: var(--r-xl);
  padding: 28px;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}
.project-card.featured {
  background: linear-gradient(160deg, var(--brand-blue), var(--brand-blue-mid));
  border-color: transparent;
  color: #fff;
}
.project-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.pc-icon {
  width: 68px; height: 68px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand-yellow), #ffe680);
  color: var(--brand-blue);
  font-size: 1.6rem;
  flex-shrink: 0;
  box-shadow: var(--shadow-yellow);
}

.pc-tag {
  font-size: .72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--brand-yellow-dk);
  padding: 4px 12px;
  background: rgba(244,193,13,.12);
  border-radius: var(--r-pill);
  width: fit-content;
}
.project-card.featured .pc-tag { background: rgba(255,255,255,.15); color: var(--brand-yellow); }

.project-card h3 { color: var(--brand-blue); text-transform: uppercase; margin: 0; }
.project-card.featured h3 { color: #fff; }
.project-card p { font-size: .9rem; color: var(--text-secondary); }
.project-card.featured p { color: rgba(255,255,255,.8); }

.pc-tasks {
  display: flex; flex-direction: column; gap: 6px;
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid var(--gray-200);
}
.project-card.featured .pc-tasks { border-color: rgba(255,255,255,.15); }
.pc-tasks li {
  display: flex; align-items: center; gap: 8px;
  font-size: .84rem; color: var(--text-secondary);
}
.project-card.featured .pc-tasks li { color: rgba(255,255,255,.75); }
.pc-tasks i { color: var(--brand-yellow-dk); font-size: .6rem; }
.project-card.featured .pc-tasks i { color: var(--brand-yellow); }

/* ──────────────────────────────────────────────────────────
   13. CLIENTES
────────────────────────────────────────────────────────── */
.clients {
  background: var(--gray-50);
  padding: clamp(60px, 9vw, 100px) 0;
}

.clients-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
  margin-bottom: 40px;
}

.client-card {
  background: var(--white);
  border: 1.5px solid var(--gray-200);
  border-radius: var(--r-lg);
  padding: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100px;
  transition: all var(--transition);
  filter: grayscale(40%) opacity(.75);
}
.client-card:hover {
  filter: none;
  transform: translateY(-3px);
  box-shadow: var(--shadow-sm);
  border-color: rgba(244,193,13,.4);
}
.client-card img { max-width: 120px; max-height: 56px; object-fit: contain; }

/* Testimonial */
.testimonial-strip {
  max-width: 780px;
  margin-inline: auto;
}
.testimonial-inner {
  background: linear-gradient(135deg, var(--brand-blue), var(--brand-blue-mid));
  border-radius: var(--r-xl);
  padding: 32px 40px;
  text-align: center;
  color: #fff;
  position: relative;
}
.testimonial-inner .fa-quote-left {
  font-size: 2rem;
  color: var(--brand-yellow);
  margin-bottom: 16px;
  opacity: .6;
}
.testimonial-inner p {
  font-size: 1.1rem;
  color: rgba(255,255,255,.9);
  font-style: italic;
  margin-bottom: 14px;
}
.testimonial-inner cite {
  font-size: .85rem;
  color: var(--brand-yellow);
  font-weight: 700;
}

/* ──────────────────────────────────────────────────────────
   14. CONTACTO
────────────────────────────────────────────────────────── */
.contact {
  background: linear-gradient(135deg, var(--brand-blue) 0%, var(--brand-blue-mid) 60%, #1e4db7 100%);
  padding: clamp(60px, 9vw, 100px) 0;
  position: relative;
  overflow: hidden;
}
.contact::before {
  content: '';
  position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 24px 24px;
  pointer-events: none;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(32px, 5vw, 64px);
  position: relative;
  z-index: 2;
  align-items: start;
}

.contact-info { color: #fff; }

.section-header.light h2 {
  color: #fff;
}
.section-header.light h2 span {
  color: var(--brand-yellow);
}

.contact-lead {
  color: rgba(255,255,255,.82);
  font-size: 1.05rem;
  margin: 0 0 28px;
}

.contact-data { display: flex; flex-direction: column; gap: 14px; margin-bottom: 28px; }
.ci-item {
  display: flex;
  align-items: center;
  gap: 16px;
  transition: opacity var(--transition);
}
a.ci-item:hover { opacity: .85; }
.ci-icon {
  width: 48px; height: 48px;
  display: flex; align-items: center; justify-content: center;
  border-radius: var(--r-md);
  background: rgba(255,255,255,.12);
  color: var(--brand-yellow);
  font-size: 1.1rem;
  flex-shrink: 0;
  transition: background var(--transition);
}
a.ci-item:hover .ci-icon { background: rgba(244,193,13,.25); }
.ci-item strong { display: block; color: rgba(255,255,255,.9); font-size: .85rem; }
.ci-item span   { color: rgba(255,255,255,.7); font-size: .9rem; }

/* Formulario */
.contact-form-wrap {
  background: rgba(255,255,255,.97);
  border-radius: var(--r-xl);
  padding: clamp(24px, 4vw, 36px);
  box-shadow: var(--shadow-lg);
}

.quote-form { display: flex; flex-direction: column; gap: 14px; }

.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group label {
  font-size: .83rem;
  font-weight: 700;
  color: var(--gray-800);
  text-transform: uppercase;
  letter-spacing: .04em;
}
.form-group label span { color: #e53e3e; }

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.form-control {
  width: 100%;
  padding: 13px 16px;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--r-md);
  font-family: inherit;
  font-size: .92rem;
  color: var(--text-primary);
  background: var(--gray-50);
  transition: all var(--transition);
  outline: none;
  -webkit-appearance: none;
}
.form-control:focus {
  border-color: var(--brand-blue-light);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(38,83,199,.12);
}
.form-control::placeholder { color: var(--gray-400); }
select.form-control { cursor: pointer; }
textarea.form-control { resize: vertical; min-height: 110px; }

.form-disclaimer {
  font-size: .78rem;
  color: var(--gray-400);
  text-align: center;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.form-success {
  text-align: center;
  padding: 40px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.form-success i { font-size: 3rem; color: #22c55e; }
.form-success h3 { color: var(--brand-blue); }
.form-success p { color: var(--text-secondary); }

/* ──────────────────────────────────────────────────────────
   15. FOOTER
────────────────────────────────────────────────────────── */
.site-footer {
  position: relative;
  background: var(--black);
  color: rgba(255,255,255,.8);
  overflow: hidden;
}

.footer-bg {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(15,35,86,.96), rgba(8,18,48,.99)),
    url('../images/footer-bg.png') center/cover no-repeat;
  pointer-events: none;
}

.footer-content {
  position: relative;
  z-index: 2;
  padding: clamp(48px, 7vw, 72px) 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: clamp(24px, 3vw, 48px);
  padding-bottom: 36px;
}

.footer-logo { max-width: 400px; margin-bottom: 16px; }
.footer-brand p { font-size: .88rem; line-height: 1.7; margin-bottom: 18px; }

.footer-contact { display: flex; flex-direction: column; gap: 10px; margin-bottom: 18px; }
.footer-contact li {
  display: flex; align-items: center; gap: 10px;
  font-size: .88rem; color: rgba(255,255,255,.72);
}
.footer-contact a { transition: color var(--transition); }
.footer-contact a:hover { color: var(--brand-yellow); }
.footer-contact i { color: var(--brand-yellow); font-size: .85rem; width: 14px; }

.footer-social { display: flex; gap: 10px; }
.footer-social a {
  width: 38px; height: 38px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  background: rgba(255,255,255,.1);
  color: rgba(255,255,255,.75);
  font-size: .9rem;
  transition: all var(--transition);
}
.footer-social a:hover { background: var(--brand-yellow); color: var(--brand-blue); transform: translateY(-2px); }

.footer-nav h3,
.footer-location h3 {
  font-size: .85rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: #fff;
  margin-bottom: 16px;
  font-family: 'Inter', sans-serif;
}

.footer-nav li,
.footer-location li { margin-bottom: 10px; }
.footer-nav a, .footer-location li {
  font-size: .88rem;
  color: rgba(255,255,255,.68);
  transition: color var(--transition);
  display: flex; align-items: center; gap: 7px;
}
.footer-nav a:hover { color: var(--brand-yellow); padding-left: 4px; }
.footer-location i { color: var(--brand-yellow); font-size: .7rem; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding: 18px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}
.footer-bottom p {
  font-size: .8rem;
  color: rgba(255,255,255,.5);
  margin: 0;
}

/* ──────────────────────────────────────────────────────────
   16. WHATSAPP FLOAT + BACK TO TOP
────────────────────────────────────────────────────────── */
.wa-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9999;
  width: 58px; height: 58px;
  background: #25D366;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  font-size: 1.6rem;
  box-shadow: 0 6px 22px rgba(37,211,102,.45);
  transition: all var(--transition);
}
.wa-float:hover {
  background: #1ebe5d;
  transform: scale(1.1);
  box-shadow: 0 10px 30px rgba(37,211,102,.55);
}
.wa-tooltip {
  position: absolute;
  right: calc(100% + 12px);
  top: 50%;
  transform: translateY(-50%);
  background: var(--black);
  color: #fff;
  padding: 6px 12px;
  border-radius: var(--r-sm);
  font-size: .8rem;
  font-weight: 600;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition);
}
.wa-float:hover .wa-tooltip { opacity: 1; }

.back-to-top {
  position: fixed;
  bottom: 90px;
  right: 24px;
  z-index: 9999;
  width: 44px; height: 44px;
  background: var(--brand-blue);
  color: #fff;
  border-radius: var(--r-md);
  display: flex; align-items: center; justify-content: center;
  font-size: .9rem;
  box-shadow: var(--shadow-md);
  transition: all var(--transition);
  opacity: 0;
}
.back-to-top:not([hidden]) { opacity: 1; animation: fade-in .3s; }
.back-to-top:hover { background: var(--brand-blue-mid); transform: translateY(-3px); }

@keyframes fade-in { from { opacity:0; transform:translateY(10px); } to { opacity:1; transform:translateY(0); } }

/* ──────────────────────────────────────────────────────────
   17. AOS – ANIMACIONES SCROLL
────────────────────────────────────────────────────────── */
[data-aos] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .5s ease, transform .5s ease;
}
[data-aos].aos-visible {
  opacity: 1;
  transform: translateY(0);
}
[data-aos-delay="60"]  { transition-delay: 60ms; }
[data-aos-delay="80"]  { transition-delay: 80ms; }
[data-aos-delay="120"] { transition-delay: 120ms; }
[data-aos-delay="160"] { transition-delay: 160ms; }
[data-aos-delay="180"] { transition-delay: 180ms; }
[data-aos-delay="240"] { transition-delay: 240ms; }
[data-aos-delay="300"] { transition-delay: 300ms; }
[data-aos-delay="320"] { transition-delay: 320ms; }

/* ──────────────────────────────────────────────────────────
   18. RESPONSIVE – TABLET (≤ 1024px)
────────────────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .hero-grid          { grid-template-columns: 1fr; text-align: center; }
  .hero-copy          { align-items: center; }
  .hero-lead          { margin-inline: auto; }
  .hero-checks        { align-items: center; }
  .hero-visual        { display: none; }
  .trust-bar          { justify-content: center; }

  .about-grid         { grid-template-columns: 1fr; }

  .projects-grid      { grid-template-columns: 1fr 1fr; }

  .clients-grid       { grid-template-columns: repeat(3, 1fr); }

  .contact-grid       { grid-template-columns: 1fr; }
  .contact-info       { text-align: center; }
  .section-header.light { text-align: center; }
  .ci-item            { justify-content: center; text-align: left; }
  .contact-data       { align-items: center; }

  .footer-grid        { grid-template-columns: 1fr 1fr; }
}

/* ──────────────────────────────────────────────────────────
   19. RESPONSIVE – MÓVIL (≤ 768px)
────────────────────────────────────────────────────────── */
@media (max-width: 768px) {
  /* Nav */
  .nav-toggle { display: flex; }
  .nav-menu {
    position: fixed;
    inset: var(--nav-h) 0 0 0;
    background: rgba(15,35,86,.98);
    backdrop-filter: blur(16px);
    flex-direction: column;
    justify-content: flex-start;
    padding: 24px;
    gap: 6px;
    transform: translateX(100%);
    transition: transform var(--transition);
    z-index: 999;
    overflow-y: auto;
  }
  .nav-menu.open { transform: translateX(0); }
  .nav-link { color: rgba(255,255,255,.85) !important; font-size: 1.1rem; padding: 14px 18px; }
  .nav-link::after { display: none; }
  .nav-link:hover { color: var(--brand-yellow) !important; background: rgba(255,255,255,.07); }
  .nav-cta { background: var(--brand-yellow) !important; color: var(--brand-blue) !important; width: 100%; justify-content: center; margin-top: 8px; }

  /* Hero */
  .hero-actions    { flex-direction: column; align-items: center; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .trust-bar       { width: 100%; justify-content: space-around; }

  /* Servicios */
  .services-grid   { grid-template-columns: 1fr; }

  /* Proyectos */
  .projects-grid   { grid-template-columns: 1fr; }

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

  /* Contacto */
  .form-row        { grid-template-columns: 1fr; }

  /* Footer */
  .footer-grid     { grid-template-columns: 1fr; }
  .footer-bottom   { flex-direction: column; text-align: center; }

  /* Stats */
  .stats-row       { grid-template-columns: repeat(3, 1fr); }
  .stat-num        { font-size: 1.6rem; }

  /* About panel */
  .section-header.left { text-align: center; }
  .about-copy      { text-align: center; }
  .feat-icon       { margin: 0; }
  .feature-list li { flex-direction: row; }
}

/* ──────────────────────────────────────────────────────────
   20. RESPONSIVE – MÓVIL PEQUEÑO (≤ 480px)
────────────────────────────────────────────────────────── */
@media (max-width: 480px) {
  .top-data          { gap: 10px; font-size: .75rem; }
  .clients-grid      { grid-template-columns: repeat(2, 1fr); }
  .stats-row         { grid-template-columns: 1fr; }
  .trust-bar         { flex-direction: column; gap: 10px; }
  .trust-sep         { width: 40px; height: 1px; }
  .testimonial-inner { padding: 24px 20px; }
  .contact-form-wrap { padding: 20px; }
  .wa-float          { bottom: 16px; right: 16px; width: 52px; height: 52px; font-size: 1.4rem; }
  .back-to-top       { bottom: 78px; right: 16px; }
}

/* ──────────────────────────────────────────────────────────
   21. ACCESIBILIDAD
────────────────────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
  }
}

:focus-visible {
  outline: 3px solid var(--brand-yellow);
  outline-offset: 3px;
  border-radius: 4px;
}

/* Skip link */
.skip-link {
  position: absolute;
  top: -100%;
  left: 0;
  background: var(--brand-yellow);
  color: var(--brand-blue);
  padding: 10px 18px;
  font-weight: 700;
  z-index: 10000;
}
.skip-link:focus { top: 0; }
