/* ============================================================
   CONSTRUFACH — REFORMA DE VEREDA · CONTENIDO SEO
   Secciones: servicios (.vsv), intimación (.vint), precio (.vpr),
   barrios (.vba), relacionados (.vrel) + extras de proyectos/nosotros.
   Mismo sistema visual que urgencia/faq: Barlow Condensed, navy/red.
   ============================================================ */

/* ── Base compartida (eyebrow / título / lead) ─────────────── */
.vsv, .vint, .vpr, .vba, .vrel {
  padding: 5rem 2rem;
  scroll-margin-top: 90px;
}
.vsv-inner, .vint-inner, .vpr-inner, .vba-inner, .vrel-inner {
  max-width: 1100px;
  margin: 0 auto;
}
.vsv-head, .vint-head, .vpr-head, .vba-head, .vrel-head {
  text-align: center;
  max-width: 860px;
  margin: 0 auto 2.75rem;
}
.vsv-eyebrow, .vint-eyebrow, .vpr-eyebrow, .vba-eyebrow, .vrel-eyebrow {
  display: block;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 0.5rem;
}
.vsv-title, .vint-title, .vpr-title, .vba-title, .vrel-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(1.9rem, 4vw, 2.8rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.01em;
  color: var(--navy);
  margin: 0;
}
.vsv-title-mark, .vint-title-mark, .vpr-title-mark, .vba-title-mark, .vrel-title-mark {
  color: var(--red);
  font-style: italic;
}
.vsv-lead, .vba-lead {
  margin: 1.1rem auto 0;
  max-width: 760px;
  font-size: 1.05rem;
  line-height: 1.65;
  color: #3a4a5a;
}

/* ── Servicios (.vsv) ─────────────────────────────────────── */
.vsv { background: var(--white); }
.vsv-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
}
.vsv-card {
  background: #f5f6f8;
  border-top: 3px solid var(--navy);
  padding: 1.75rem 1.6rem 1.5rem;
  scroll-margin-top: 90px;
}
.vsv-card-eyebrow {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--red);
}
.vsv-card-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.45rem;
  font-weight: 700;
  line-height: 1.15;
  color: var(--navy);
  margin: 0.4rem 0 0.8rem;
}
.vsv-card-text {
  line-height: 1.65;
  color: #2f3d4b;
  margin: 0 0 1rem;
}
.vsv-card-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}
.vsv-card-list li {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--navy);
  background: var(--white);
  border: 1px solid rgba(11, 53, 87, 0.18);
  padding: 0.3rem 0.6rem;
}

/* ── Intimación (.vint) ───────────────────────────────────── */
.vint {
  background: #f5f6f8;
  position: relative;
}
.vint::before {
  content: '';
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 64px; height: 3px;
  background: var(--red);
}
.vint-cols {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 2.5rem;
  align-items: start;
}
.vint-text p {
  line-height: 1.7;
  color: #2f3d4b;
  margin: 0 0 1rem;
}
.vint-text a { color: var(--navy); text-decoration: underline; text-underline-offset: 2px; }
.vint-text a:hover { color: var(--red); }
.vint-plazos {
  margin: 0 0 1.25rem;
  padding: 0;
  list-style: none;
  counter-reset: plazo;
  display: grid;
  gap: 0.6rem;
}
.vint-plazos li {
  counter-increment: plazo;
  position: relative;
  padding: 0.85rem 1rem 0.85rem 3.1rem;
  background: var(--white);
  border-left: 3px solid var(--red);
  line-height: 1.55;
  color: #2f3d4b;
}
.vint-plazos li::before {
  content: counter(plazo, decimal-leading-zero);
  position: absolute;
  left: 0.9rem; top: 0.8rem;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--red);
}
.vint-plazos strong { color: var(--navy); }
.vint-cta-text { color: var(--navy); }
.vint-btn, .vpr-btn {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 1rem 2.1rem;
  color: var(--white);
  background: var(--red);
  border: 2px solid var(--red);
  transition: background 0.35s var(--ease-out-expo), color 0.35s var(--ease-out-expo), transform 0.35s var(--ease-out-expo);
}
.vint-btn:hover, .vpr-btn:hover {
  background: transparent;
  color: var(--red);
  transform: translateY(-2px);
}
.vint-table-wrap {
  background: var(--white);
  border: 1px solid rgba(11, 53, 87, 0.12);
  padding: 1.25rem;
}
.vint-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.93rem;
}
.vint-table caption {
  caption-side: top;
  text-align: left;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--navy);
  padding-bottom: 0.75rem;
}
.vint-table th, .vint-table td {
  text-align: left;
  vertical-align: top;
  padding: 0.65rem 0.6rem;
  border-top: 1px solid rgba(11, 53, 87, 0.12);
  line-height: 1.45;
  color: #2f3d4b;
}
.vint-table thead th {
  border-top: 0;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--red);
}
.vint-table tbody th {
  font-weight: 700;
  color: var(--navy);
  width: 26%;
}
.vint-table td:last-child { background: rgba(11, 53, 87, 0.04); }
.vint-fuente {
  margin: 1rem 0 0;
  font-size: 0.8rem;
  line-height: 1.5;
  color: #5b6b7a;
}
.vint-fuente a { color: inherit; }

/* ── Precio (.vpr) ────────────────────────────────────────── */
.vpr { background: var(--white); }
.vpr-cols {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
}
.vpr-box {
  background: #f5f6f8;
  padding: 1.75rem 1.6rem;
  border-top: 3px solid var(--navy);
}
.vpr-box-alt { border-top-color: var(--red); }
.vpr-h3 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--navy);
  margin: 0 0 1rem;
}
.vpr-list {
  margin: 0 0 1rem;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.5rem;
}
.vpr-list li {
  position: relative;
  padding-left: 1.5rem;
  line-height: 1.5;
  color: #2f3d4b;
}
.vpr-list li::before {
  content: '';
  position: absolute;
  left: 0; top: 0.55rem;
  width: 0.7rem; height: 0.7rem;
  background: var(--red);
  clip-path: polygon(0 0, 100% 50%, 0 100%);
}
.vpr-rango { margin: 0 0 1rem; display: grid; gap: 0.5rem; }
.vpr-rango div { display: flex; justify-content: space-between; gap: 1rem; background: var(--white); padding: 0.7rem 0.9rem; }
.vpr-rango dt { font-weight: 700; color: var(--navy); }
.vpr-rango dd { margin: 0; font-family: 'Barlow Condensed', sans-serif; font-size: 1.15rem; font-weight: 700; color: var(--red); }
.vpr-nota { margin: 0; font-size: 0.9rem; color: #5b6b7a; line-height: 1.5; }
.vpr-varia { margin: 0 0 1.25rem; display: grid; gap: 0.75rem; }
.vpr-varia dt { font-weight: 700; color: var(--navy); }
.vpr-varia dd { margin: 0.15rem 0 0; line-height: 1.5; color: #2f3d4b; }

/* ── Barrios (.vba) ───────────────────────────────────────── */
.vba { background: var(--navy); }
.vba .vba-title { color: var(--white); }
.vba .vba-title-mark { color: rgba(255, 255, 255, 0.72); }
.vba .vba-lead { color: rgba(255, 255, 255, 0.85); }
.vba-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}
.vba-item {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 1.25rem 1.3rem;
}
.vba-item-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--white);
  margin: 0 0 0.5rem;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.5rem 0.75rem;
}
.vba-item-mun {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--red);
  background: var(--white);
  padding: 0.15rem 0.5rem;
}
.vba-item-text {
  margin: 0;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.97rem;
}
.vba-nota {
  margin: 1.75rem auto 0;
  max-width: 760px;
  text-align: center;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.6;
}

/* ── Relacionados (.vrel) ─────────────────────────────────── */
.vrel { background: var(--white); padding-top: 4rem; padding-bottom: 4rem; }
.vrel-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
}
.vrel-link {
  display: block;
  height: 100%;
  padding: 1.2rem 1.25rem;
  background: #f5f6f8;
  border-left: 3px solid var(--navy);
  text-decoration: none;
  transition: border-color 0.3s var(--ease-out-expo), transform 0.3s var(--ease-out-expo);
}
.vrel-link:hover { border-left-color: var(--red); transform: translateY(-2px); }
.vrel-name {
  display: block;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.3rem;
}
.vrel-desc { display: block; font-size: 0.92rem; line-height: 1.5; color: #4a5a6a; }
.vrel-nota { margin: 1.5rem 0 0; text-align: center; color: #4a5a6a; }
.vrel-nota a { color: var(--navy); }

/* ── Extras: proyectos y nosotros ─────────────────────────── */
.veredas-lead {
  margin: 1rem auto 0;
  max-width: 720px;
  text-align: center;
  line-height: 1.65;
  color: #3a4a5a;
}
.vereda-card-tags {
  list-style: none;
  margin: 0.6rem 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}
.vereda-card-tags li {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--navy);
  border: 1px solid rgba(11, 53, 87, 0.2);
  padding: 0.2rem 0.5rem;
}
.vereda-card-meta {
  margin: 0.6rem 0 0;
  font-size: 0.82rem;
  color: #6b7a89;
}
/* ── Responsive ───────────────────────────────────────────── */
@media (max-width: 860px) {
  .vint-cols, .vpr-cols, .vsv-grid, .vba-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 600px) {
  .vsv, .vint, .vpr, .vba, .vrel { padding: 3.5rem 1.25rem; }
  .vint-table { font-size: 0.86rem; }
  .vint-table th, .vint-table td { padding: 0.5rem 0.4rem; }
  .vint-table tbody th { width: 30%; }
  .vint-btn, .vpr-btn { width: 100%; justify-content: center; }
}
