/*
 * desarrollos.css — Desarrollos Especiales page
 * Merged from linea.css + desarrollos.css overrides.
 * All values reference existing CSS custom properties.
 */

html { scroll-behavior: smooth; }

/* ============================================================
   HERO (Fondo Azul Degradado Sin Imagen)
   ============================================================ */
.lp-hero, 
.lp-hero--de {
  position: relative;
  background: linear-gradient(150deg, rgba(0,20,55,.95) 0%, rgba(0,42,96,.88) 55%, rgba(0,20,55,.95) 100%);
  padding: 50px 0 44px;
  color: #fff;
}

.lp-hero-inner {
  display: grid;
  grid-template-columns: 1fr;
  align-items: start;
}

.lp-hero--de .lp-hero-desc {
  max-width: 580px;
}

.lp-breadcrumb {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: .71rem;
  color: var(--c-300);
  margin-bottom: 14px;
  flex-wrap: wrap;
}
.lp-breadcrumb a { color: var(--c-300); text-decoration: none; transition: color .15s; }
.lp-breadcrumb a:hover { color: #fff; }
.lp-bc-sep { color: var(--c-600); }

.lp-div-badge {
  display: inline-flex;
  align-items: center;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: var(--r-xs);
  padding: 4px 10px;
  font-size: .67rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--c-200);
  margin-bottom: 14px;
}

.lp-hero-title {
  font-family: var(--font-c);
  font-size: 2.2rem;
  font-weight: 800;
  line-height: 1.1;
  color: #fff;
  margin-bottom: 14px;
  letter-spacing: -.01em;
}

.lp-hero-desc {
  font-size: .875rem;
  color: rgba(255,255,255,.75);
  line-height: 1.72;
  margin-bottom: 22px;
}

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

/* Ghost button — white outline for dark backgrounds */
.btn-ghost-wh {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 18px;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  border: 2px solid rgba(255,255,255,.35);
  border-radius: var(--r-md);
  color: rgba(255,255,255,.88);
  background: transparent;
  cursor: pointer;
  text-decoration: none;
  transition: border-color .2s, color .2s, background .2s;
}
.btn-ghost-wh:hover {
  border-color: #fff;
  color: #fff;
  background: rgba(255,255,255,.07);
}

/* ============================================================
   CERT BAR
   ============================================================ */
.lp-cert-bar {
  background: var(--c-50);
  border-top: 1.5px solid var(--c-100);
  border-bottom: 1.5px solid var(--c-100);
  padding: 13px 0;
}

.lp-cert-list {
  display: flex;
  align-items: center;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.lp-cert-list::-webkit-scrollbar { display: none; }

.lp-cert-item {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 0 18px;
  white-space: nowrap;
  font-size: .7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .07em;
  color: var(--c-700);
  flex-shrink: 0;
}
.lp-cert-item + .lp-cert-item { border-left: 1.5px solid var(--c-200); }

.lp-cert-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--c-500);
  flex-shrink: 0;
}

/* ============================================================
   SHARED SECTION WRAPPER
   ============================================================ */
.lp-section { padding: 48px 0; }
.lp-section--alt { background: var(--c-50); }

.lp-section-head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 24px;
}
.lp-section-head h2 {
  color: var(--c-900);
  font-size: .82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  white-space: nowrap;
}
.lp-section-rule { flex: 1; height: 1.5px; background: var(--c-200); border-radius: 1px; }


/* ============================================================
   FEATURE BLOCKS (Capacidades Técnicas)
   ============================================================ */
.lp-features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.lp-feature-card {
  background: #fff;
  border: 1.5px solid var(--c-100);
  border-radius: var(--r-lg);
  padding: 16px 16px 14px;
  transition: border-color .18s, box-shadow .18s;
}
.lp-feature-card:hover { border-color: var(--c-300); box-shadow: var(--sh-md); }

.lp-feature-icon {
  width: 34px;
  height: 34px;
  background: var(--c-50);
  border: 1.5px solid var(--c-100);
  border-radius: var(--r-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--c-600);
  margin-bottom: 10px;
}

.lp-feature-title { font-size: .78rem; font-weight: 700; color: var(--c-800); margin-bottom: 5px; line-height: 1.3; }
.lp-feature-desc  { font-size: .74rem; color: #64748b; line-height: 1.6; }


/* ============================================================
   PROJECT GALLERY
   ============================================================ */
.de-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.de-gallery-item {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: var(--r-lg);
  border: 1.5px solid var(--c-100);
}
.de-gallery-item--wide {
  grid-column: span 2;
  aspect-ratio: 16 / 7;
}

.de-gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .32s;
}
.de-gallery-item:hover img { transform: scale(1.04); }


/* ============================================================
   FINAL CTA
   ============================================================ */
.lp-cta { background: var(--c-900); padding: 50px 0; }
.lp-cta-inner { max-width: 600px; }

.lp-cta-title {
  font-family: var(--font-c);
  font-size: 1.4rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 10px;
  line-height: 1.2;
}

.lp-cta-text { font-size: .875rem; color: rgba(255,255,255,.6); line-height: 1.72; margin-bottom: 22px; }
.lp-cta-actions { display: flex; gap: 10px; flex-wrap: wrap; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .lp-hero-desc  { max-width: 100%; }
}

@media (max-width: 840px) {
  .lp-hero-title    { font-size: 1.8rem; }
  .lp-features-grid { grid-template-columns: repeat(2, 1fr); }
  .de-gallery { grid-template-columns: repeat(2, 1fr); }
  .de-gallery-item--wide { grid-column: span 2; aspect-ratio: 2/1; }
}

@media (max-width: 520px) {
  .lp-hero          { padding: 34px 0 28px; }
  .lp-hero-title    { font-size: 1.5rem; }
  .lp-section       { padding: 34px 0; }
  .lp-features-grid { grid-template-columns: 1fr; }
  .lp-cert-item     { padding: 0 10px; font-size: .65rem; }
  .lp-cta           { padding: 34px 0; }
  .lp-cta-title     { font-size: 1.15rem; }
  .de-gallery { grid-template-columns: 1fr; gap: 8px; }
  .de-gallery-item--wide { grid-column: span 1; aspect-ratio: 4/3; }
}