/* =====================================================================
   VAZ INDUSTRIAL — capa sobre el sistema visual del home (assets-vd)
   Prototipo 2026-12-02. No modifica ningún CSS de /assets-vd/.
   Se carga DESPUÉS de reset, variables, style, nav, hero, sections,
   footer e inner-page.
   ===================================================================== */

/* ---------- Navbar: translúcida sobre el hero (inner-page.css la fuerza oscura) ---------- */
body.ind .navbar:not(.scrolled) {
  background: linear-gradient(to bottom, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0) 100%);
}
body.ind .navbar.scrolled { background: rgba(10,10,10,0.97); }
.ind-logo { width: 170px; height: auto; display: block; }
.ind-grupovaz img {
  width: 110px; height: auto; display: block;
  filter: brightness(0) invert(1);           /* logo-2.1.png es negro: se muestra en blanco sobre fondo oscuro */
  opacity: 0.85;
  transition: opacity var(--duration-base) var(--ease);
}
.ind-grupovaz:hover img { opacity: 1; }
.ind-nav-mobile-extra { display: none; }
@media (max-width: 1024px) {
  .ind-logo { width: 150px; }
  .ind-grupovaz { display: none; }
  .ind-nav-mobile-extra {
    display: flex; flex-direction: column; gap: var(--space-2);
    margin-top: var(--space-8);
    font-size: var(--fs-xs); letter-spacing: 0.08em; text-transform: uppercase;
    color: rgba(255,255,255,0.45);
  }
  .ind-nav-mobile-extra a { color: var(--color-gold-light); text-transform: none; letter-spacing: 0.02em; font-size: var(--fs-sm); }
}

/* Punto dorado del título "VAZ Industrial Park." */
.ind-dot { color: var(--color-gold-light); }
.hero-eyebrow { color: var(--color-gold-light); }

/* ---------- Hero de proyecto (León / Urban) ---------- */
.ind-hero-project { height: 86dvh; min-height: 520px; }
.ind-hero-project .hero-overlay {
  background: linear-gradient(to top, rgba(0,0,0,0.70) 0%, rgba(0,0,0,0.15) 55%, rgba(0,0,0,0.35) 100%);
}
.ind-hero-static {
  position: absolute; inset: 0;
  justify-content: flex-end;
  padding-bottom: calc(var(--space-20) + var(--space-8));
  pointer-events: none;
}
.ind-hero-static .hero-title { font-size: clamp(2.5rem, 6vw, 4.75rem); margin-bottom: 0; }

/* ---------- Page hero con foto (Nosotros, Contacto, Blog, Avance) ---------- */
.ind-page-hero .page-hero-bg {
  background-size: cover;
  background-position: center;
}
.ind-page-hero::after {
  background: linear-gradient(to top, rgba(0,0,0,0.75) 0%, rgba(0,0,0,0.25) 60%, rgba(0,0,0,0.45) 100%);
}
.ind-page-hero .page-hero-inner { padding-top: 120px; }
.ind-page-hero--tall { height: 70vh; max-height: 680px; }
.ind-page-hero--tall .page-hero-title { font-size: clamp(2.25rem, 5vw, 4rem); max-width: 900px; }

/* ---------- Beneficios (home Industrial) ---------- */
.ind-benefits { background: var(--color-off-white); }
.ind-benefits-grid { margin-inline: auto; }
.ind-benefits .service-card { background: var(--color-white); }
.ind-benefits .service-card h3 {
  font-family: var(--font-serif); font-size: var(--fs-xl); font-weight: 400;
  color: var(--color-text); margin-bottom: var(--space-3);
}
.ind-benefits .service-card p { font-size: var(--fs-sm); line-height: 1.75; color: var(--color-text-muted); }
.ind-benefit-icon { font-size: 1.6rem; color: #A87B37; margin-bottom: var(--space-6); }

/* ---------- Proyecto destacado ---------- */
.ind-projects { background: var(--color-white); }
.ind-project {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  align-items: stretch;
  background: var(--color-dark);
  min-height: 460px;
}
.ind-project-img { display: block; overflow: hidden; }
.ind-project-img img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform var(--duration-slower) var(--ease);
}
.ind-project:hover .ind-project-img img { transform: scale(1.04); }
.ind-project-body {
  padding: clamp(var(--space-10), 5vw, var(--space-16));
  display: flex; flex-direction: column; justify-content: center;
}
.ind-project-body h3 {
  font-family: var(--font-serif); font-weight: 300;
  font-size: clamp(var(--fs-xl), 3vw, var(--fs-3xl));
  color: var(--color-white); margin-bottom: var(--space-5);
}
.ind-project-body p:not(.section-eyebrow) {
  font-size: var(--fs-sm); line-height: 1.8; color: var(--color-text-light);
  margin-bottom: var(--space-8);
}
.ind-project-body .btn-ghost { align-self: flex-start; }

/* ---------- Servicios en fotos ---------- */
.ind-services { display: grid; grid-template-columns: repeat(4, 1fr); background: var(--color-dark); }
.ind-service {
  position: relative; overflow: hidden;
  aspect-ratio: 3 / 4;
  display: flex; align-items: flex-end;
  padding: var(--space-8);
}
.ind-service-bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  transition: transform var(--duration-slower) var(--ease);
}
.ind-service::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.78) 0%, rgba(0,0,0,0.15) 60%);
}
.ind-service:hover .ind-service-bg { transform: scale(1.05); }
.ind-service h3 {
  position: relative; z-index: 1;
  font-family: var(--font-serif); font-weight: 300;
  font-size: clamp(var(--fs-xl), 2.4vw, var(--fs-2xl));
  color: var(--color-white);
}
.ind-service h3::before {
  content: ''; display: block; width: 32px; height: 1px;
  background: var(--color-gold-light); margin-bottom: var(--space-4);
}

/* ---------- Contacto (reusa .contacto-grid del home) ---------- */
.ind-contacto { background: var(--color-white); }
.ind-socials { display: flex; gap: var(--space-4); }
.ind-socials a i { margin: 0; font-size: 1rem; }

/* ---------- Mapas / video ---------- */
.ind-map { position: relative; width: 100%; aspect-ratio: 16 / 10; margin-bottom: var(--space-8); }
.ind-map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: grayscale(100%); }
.ind-map-full { aspect-ratio: auto; height: 420px; margin: 0; }
.ind-video { position: relative; width: 100%; aspect-ratio: 16 / 9; background: var(--color-dark); }
.ind-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* ---------- Nosotros ---------- */
.ind-mve { background: var(--color-off-white); }
.ind-mve-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-6); }
.ind-mve-card { background: var(--color-white); display: flex; flex-direction: column; }
.ind-mve-img { aspect-ratio: 4 / 3; overflow: hidden; }
.ind-mve-img img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--duration-slower) var(--ease); }
.ind-mve-card:hover .ind-mve-img img { transform: scale(1.04); }
.ind-mve-body { padding: var(--space-8); }
.ind-mve-body h3 {
  font-family: var(--font-serif); font-size: var(--fs-2xl); font-weight: 300;
  color: var(--color-text); margin-bottom: var(--space-5);
}
.ind-checks { display: flex; flex-direction: column; gap: var(--space-3); }
.ind-checks li {
  position: relative; padding-left: var(--space-8);
  font-size: var(--fs-sm); line-height: 1.7; color: var(--color-text-muted);
}
.ind-checks li::before {
  content: '\f058'; font-family: 'Font Awesome 6 Free'; font-weight: 400;
  position: absolute; left: 0; top: 0; color: #A87B37;
}
.ind-partners { background: var(--color-white); text-align: center; }
.ind-partners .section-header { margin-bottom: var(--space-12); }
.ind-partners-grid {
  display: grid; grid-template-columns: repeat(6, 1fr); gap: var(--space-8);
  align-items: center; max-width: 1100px; margin-inline: auto;
}
.ind-partners-grid img {
  max-height: 64px; width: auto; margin-inline: auto;
  filter: grayscale(100%); opacity: 0.7;
  transition: all var(--duration-base) var(--ease);
}
.ind-partners-grid img:hover { filter: none; opacity: 1; }

/* ---------- Detalle de proyecto (León / Urban) ---------- */
.ind-project-grid { display: grid; grid-template-columns: minmax(0, 1.75fr) minmax(0, 1fr); gap: clamp(var(--space-10), 5vw, var(--space-20)); align-items: start; }
.ind-lead { max-width: none; font-size: var(--fs-md); color: var(--color-text); }
.ind-h {
  font-family: var(--font-serif); font-weight: 300;
  font-size: clamp(var(--fs-xl), 3vw, var(--fs-3xl));
  color: var(--color-text); margin: var(--space-12) 0 var(--space-4);
}
.ind-h em { font-style: italic; color: #A87B37; }
.ind-p { font-size: var(--fs-base); line-height: 1.8; color: var(--color-text-muted); margin-bottom: var(--space-6); }
.ind-gallery-2 { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-3); margin-bottom: var(--space-6); }
.ind-gallery-2 img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; }
.ind-figure { margin: 0 0 var(--space-6); }
.ind-figure img { width: 100%; height: auto; display: block; }
.ind-accordion { border-top: 1px solid rgba(0,0,0,0.1); border-bottom: 1px solid rgba(0,0,0,0.1); margin: var(--space-6) 0; }
.ind-accordion summary {
  list-style: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center;
  padding: var(--space-5) 0;
  font-size: var(--fs-xs); font-weight: 600; letter-spacing: 0.15em; text-transform: uppercase; color: var(--color-text);
}
.ind-accordion summary::-webkit-details-marker { display: none; }
.ind-accordion summary::after { content: '+'; font-size: var(--fs-lg); font-weight: 300; color: #A87B37; }
.ind-accordion[open] summary::after { content: '–'; }
.ind-accordion .ind-gallery-2 { padding-bottom: var(--space-5); }

.ind-project-aside { position: static; }
.ind-meta { background: var(--color-off-white); border: 1px solid rgba(0,0,0,0.08); padding: var(--space-8); }
.ind-meta-item { padding-bottom: var(--space-6); margin-bottom: var(--space-6); border-bottom: 1px solid rgba(0,0,0,0.08); }
.ind-meta-item:last-child { border-bottom: 0; margin-bottom: 0; padding-bottom: 0; }
.ind-meta-item h4 {
  font-size: var(--fs-xs); font-weight: 600; letter-spacing: 0.15em; text-transform: uppercase;
  color: #A87B37; margin-bottom: var(--space-3);
}
.ind-meta-item p, .ind-spec li { font-size: var(--fs-sm); line-height: 1.75; color: var(--color-text-muted); }
.ind-meta-item strong { color: var(--color-text); font-weight: 500; }
.ind-meta-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-4); }
/* Acordeones de la ficha (sin sticky) */
.ind-meta-acc-list { border-top: 0; margin-bottom: var(--space-6); }
/* Una sola línea tras Fecha/Categoría: la fila ya trae su border-bottom, así que se quita el border-top de la lista y su margen superior */
.ind-meta-item + .ind-meta-acc-list { margin-top: calc(var(--space-6) * -1); }
.ind-meta-acc { border-bottom: 1px solid rgba(0,0,0,0.08); }
.ind-meta-acc summary {
  list-style: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: var(--space-4);
  padding: var(--space-4) 0;
  font-family: var(--font-sans); font-size: var(--fs-xs); font-weight: 600; letter-spacing: 0.15em; text-transform: uppercase;
  color: #A87B37;
}
.ind-meta-acc summary::-webkit-details-marker { display: none; }
.ind-meta-acc summary::after { content: '+'; font-size: var(--fs-lg); font-weight: 300; line-height: 1; color: #A87B37; flex-shrink: 0; }
.ind-meta-acc[open] summary::after { content: '–'; }
.ind-meta-acc summary:focus-visible { outline: 2px solid #A87B37; outline-offset: 2px; }
.ind-meta-acc .ind-spec, .ind-meta-acc .ind-checks { padding-bottom: var(--space-5); }
.ind-share a { display: inline-flex; width: 36px; height: 36px; align-items: center; justify-content: center; border: 1px solid rgba(0,0,0,0.15); color: var(--color-text); margin-right: var(--space-2); transition: all var(--duration-fast) var(--ease); }
.ind-share a:hover { background: var(--color-dark); color: var(--color-white); }

/* ---------- Blog / artículo ---------- */
.ind-blog { background: var(--color-off-white); }
.ind-entry { max-width: 900px; margin-inline: auto; display: block; }
.ind-entry .news-img { display: block; }
.ind-entry .news-img img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.ind-entry .news-body h2 { font-family: var(--font-serif); font-weight: 400; font-size: clamp(var(--fs-xl), 3vw, var(--fs-3xl)); margin: var(--space-3) 0 var(--space-4); }
.ind-entry .news-body p { margin-bottom: var(--space-6); }
.ind-article-section { background: var(--color-white); }
.ind-article { max-width: 820px; margin-inline: auto; padding-inline: var(--container-pad); }
.ind-article::after { content: ''; display: table; clear: both; }
.ind-article h2 { font-family: var(--font-serif); font-weight: 300; font-size: clamp(var(--fs-xl), 3vw, var(--fs-3xl)); color: var(--color-text); margin: var(--space-12) 0 var(--space-5); }
.ind-article h2:first-child { margin-top: 0; }
.ind-article h3 { font-size: var(--fs-xs); font-weight: 600; letter-spacing: 0.15em; text-transform: uppercase; color: #A87B37; margin: var(--space-10) 0 var(--space-4); clear: both; }
.ind-article p { font-size: var(--fs-base); line-height: 1.85; color: var(--color-text-muted); margin-bottom: var(--space-5); }
.ind-article blockquote { border-left: 2px solid #A87B37; padding: var(--space-2) 0 var(--space-2) var(--space-6); margin: var(--space-8) 0; }
.ind-article blockquote p { font-family: var(--font-serif); font-style: italic; font-size: var(--fs-xl); color: var(--color-text); margin: 0; }
.ind-article figure { width: 45%; margin-bottom: var(--space-5); }
.ind-article figure img { width: 100%; height: auto; display: block; }
.ind-article figcaption { font-size: var(--fs-xs); color: var(--color-text-muted); margin-top: var(--space-2); line-height: 1.6; }
.ind-article .alignleft { float: left; margin-right: var(--space-8); }
.ind-article .alignright { float: right; margin-left: var(--space-8); }
.ind-article .ind-checks { margin-bottom: var(--space-10); }

/* ---------- Footer ---------- */
.ind-footer-logo { width: 180px; height: auto; margin-bottom: var(--space-6); }

/* ---------- Volver arriba ---------- */
.ind-back-to-top {
  position: fixed; right: 20px; bottom: 20px; z-index: var(--z-modal);
  width: 44px; height: 44px; display: flex; align-items: center; justify-content: center;
  background: rgba(10,10,10,0.85); color: var(--color-white); border: 1px solid rgba(255,255,255,0.15);
  opacity: 0; pointer-events: none; transition: opacity var(--duration-base) var(--ease);
}
.ind-back-to-top.show { opacity: 1; pointer-events: auto; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .ind-project { grid-template-columns: 1fr; }
  .ind-project-img { aspect-ratio: 16 / 10; }
  .ind-services { grid-template-columns: repeat(2, 1fr); }
  .ind-mve-grid { grid-template-columns: 1fr 1fr; }
  .ind-partners-grid { grid-template-columns: repeat(3, 1fr); }
  .ind-project-grid { grid-template-columns: 1fr; }
  .ind-benefits-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .ind-services { grid-template-columns: 1fr 1fr; }
  .ind-service { aspect-ratio: 1 / 1.15; padding: var(--space-5); }
  .ind-mve-grid { grid-template-columns: 1fr; }
  .ind-partners-grid { grid-template-columns: repeat(2, 1fr); }
  .ind-gallery-2 { grid-template-columns: 1fr; }
  .ind-article figure, .ind-article .alignleft, .ind-article .alignright { float: none; width: 100%; margin: 0 0 var(--space-6); }
  .ind-hero-static { padding-bottom: calc(var(--space-20) + var(--space-4)); }
  .ind-map-full { height: 320px; }
}

/* ---------- Ajustes de contraste ----------
   En variables.css, --color-gold vale #f4f4f4 (casi blanco). Sobre fondos claros
   se usa el dorado de los eyebrows del home (#A87B37). */
body.ind .section-title:not(.light) em { color: #A87B37; }
body.ind .location-item i { color: #A87B37; }
body.ind .ind-socials a { color: var(--color-text); font-size: 1.1rem; }
body.ind .ind-socials a:hover { color: #A87B37; }
body.ind .navbar:not(.scrolled) { background: linear-gradient(to bottom, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.25) 70%, rgba(0,0,0,0) 100%); }
.ind-article h2 { clear: both; }
.ind-entry .news-body { display: flex; flex-direction: column; align-items: flex-start; }
/* Menú móvil: mantener logo y botón (X) por encima del panel lateral */
@media (max-width: 1024px) {
  body.ind .nav-logo, body.ind .nav-actions { position: relative; z-index: calc(var(--z-nav) + 1); }
}

/* ---------- Formulario de contacto (contraste + términos + honeypot) ----------
   Reutiliza .contacto-form, .form-group, .form-message, etc. de assets-vd/style.css.
   --color-gold del home es #f4f4f4, así que el botón, el asterisco y el foco
   se reescriben con #A87B37. */
body.ind .form-group label .required,
body.ind .ind-form-terms .required { color: #A87B37; }
body.ind .form-group input:focus,
body.ind .form-group textarea:focus,
body.ind .form-group select:focus {
  border-color: #A87B37;
  box-shadow: 0 0 0 3px rgba(168, 123, 55, 0.15);
}
body.ind .form-group button {
  background: #A87B37;
  border-color: #A87B37;
  color: #fff;
}
body.ind .form-group button:hover,
body.ind .form-group button:focus-visible {
  background: #8f672c;
  border-color: #8f672c;
  color: #fff;
}
body.ind .form-group button:disabled {
  opacity: 0.65;
  cursor: wait;
  transform: none;
}
.ind-form-terms {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: var(--space-3);
}
.ind-form-terms input[type="checkbox"] {
  width: 14px;
  height: 14px;
  min-width: 14px;
  margin-top: 0.35em;
  cursor: pointer;
  accent-color: #A87B37;
}
.ind-form-terms label {
  margin: 0;
  cursor: pointer;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.5;
  color: var(--color-text);
}
.ind-form-terms a {
  color: #A87B37;
  text-decoration: underline;
}
.ind-form-terms a:hover { color: #8f672c; }
.ind-hp {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.form-message.show { display: block; }
body.ind .form-group input.ind-invalid,
body.ind .form-group textarea.ind-invalid,
body.ind .form-group select.ind-invalid {
  border-color: #c62828;
}

/* ---------- ONE VAZ: tablas y listas largas dentro de acordeones ---------- */
.ind-accordion .ind-checks { padding-bottom: var(--space-6); }
.ind-table-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-6); margin-bottom: var(--space-8); }
.ind-table { width: 100%; border-collapse: collapse; font-size: var(--fs-sm); }
.ind-table caption { text-align: left; font-size: var(--fs-xs); font-weight: 600; letter-spacing: 0.15em; text-transform: uppercase; color: #A87B37; padding-bottom: var(--space-3); }
.ind-table th, .ind-table td { text-align: left; padding: var(--space-3) var(--space-4); border-bottom: 1px solid rgba(0,0,0,0.1); color: var(--color-text-muted); }
.ind-table th { font-weight: 600; color: var(--color-text); background: var(--color-off-white); }
@media (max-width: 640px) { .ind-table-wrap { grid-template-columns: 1fr; } .ind-table th, .ind-table td { padding: var(--space-3); } }

/* /industrial-park usa tal cual las clases del home (.desarrollos-section, .desarrollo-card, .filter-btn de assets-vd/css/style.css): sin estilos propios. */
