/**
 * Archivo: nosotros.css
 * Tipo: hoja de estilos
 * Pagina relacionada: Vistas/Nosotros.html
 * Script relacionado: Recursos/Scripts/nosotros-vue.js
 * Funcion general: define layout institucional, timeline y galeria.
 */
/* Seccion: Variables visuales para la vista institucional. */
:root {
  --blue-900: #1c2b7a;
  --blue-700: #2f49b6;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
  --header-height: 78px;
}
/* Seccion: Contenedor principal de la pagina Nosotros. */
.about-page {
  padding-top: var(--header-height);
  background: #f3efee;
}
body.hero-page .about-page {
  padding-top: 0;
}
/* Seccion: Hero institucional con fondo multimedia. */
.about-hero {
  position: relative;
  min-height: 100vh;
  display: grid;
  place-items: stretch;
  color: #ffffff;
  overflow: hidden;
}
.about-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.3);
  z-index: 1;
}
.about-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}
.about-hero .hero-content {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 16px;
  justify-items: center;
  align-content: center;
  padding: calc(var(--header-height) + 24px) 8vw 24px;
  max-width: 920px;
  margin: 0 auto;
  text-align: center;
}
.about-hero h1 {
  margin: 0;
  font-size: clamp(32px, 5vw, 54px);
  font-weight: 700;
}
.hero-description {
  margin: 0;
  max-width: 760px;
  font-size: 18px;
  line-height: 1.7;
  color: #ffffff;
}
.hero-right .hero-scroll {
  width: 46px;
  height: 46px;
  border-radius: 999px;
  border: 2px solid #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 6px;
  text-decoration: none;
}
.hero-right .hero-scroll::after {
  content: "";
  width: 10px;
  height: 10px;
  border-right: 2px solid #ffffff;
  border-bottom: 2px solid #ffffff;
  transform: rotate(45deg);
  margin-top: -4px;
}
.about-section {
  background: #f3efee;
  padding: 70px 0;
}
.timeline-head {
  max-width: 820px;
  margin: 0 auto 28px;
  text-align: center;
}
.timeline-head h2 {
  margin: 0 0 12px;
  color: var(--blue-900);
  font-size: clamp(28px, 4vw, 40px);
}
.timeline-head p {
  margin: 0;
  color: #374151;
  font-size: 17px;
  line-height: 1.6;
}
/* Seccion: Linea de tiempo con hitos de la empresa. */
.timeline {
  display: grid;
  gap: 26px;
}
.timeline-nav {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
  position: relative;
}
.timeline-nav::before {
  content: "";
  position: absolute;
  left: 6%;
  right: 6%;
  top: 21px;
  height: 2px;
  background: linear-gradient(90deg, rgba(28, 43, 122, 0.2), rgba(47, 73, 182, 0.3));
  z-index: 0;
}
.timeline-step {
  position: relative;
  z-index: 1;
  background: #ffffff;
  border: 1px solid rgba(28, 43, 122, 0.2);
  border-radius: 14px;
  padding: 10px 12px 12px;
  display: grid;
  justify-items: center;
  gap: 8px;
  cursor: pointer;
  font: inherit;
  color: #1f2937;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.timeline-step:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}
.timeline-step.is-active {
  border-color: var(--blue-700);
  box-shadow: var(--shadow);
}
.timeline-dot {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #c7d2fe;
  box-shadow: 0 0 0 5px rgba(47, 73, 182, 0.14);
}
.timeline-step.is-active .timeline-dot {
  background: var(--blue-700);
  box-shadow: 0 0 0 6px rgba(47, 73, 182, 0.22);
}
.timeline-label {
  font-weight: 700;
  font-size: 15px;
}
.timeline-content {
  position: relative;
}
.timeline-panel {
  background: #ffffff;
  border-radius: 18px;
  padding: 30px 28px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(28, 43, 122, 0.1);
  animation: panelIn 0.24s ease;
}
.timeline-panel h3 {
  margin: 0 0 10px;
  color: var(--blue-900);
  font-size: 30px;
}
.timeline-panel p {
  margin: 0;
  color: #2f3542;
  font-size: 17px;
  line-height: 1.7;
}
/* Seccion: Proyectos y evidencia visual de ejecuciones. */
.projects-section {
  padding-top: 14px;
}
.projects-head {
  max-width: 820px;
  margin: 0 auto 24px;
  text-align: center;
}
.projects-head h2 {
  margin: 0 0 10px;
  color: var(--blue-900);
  font-size: clamp(26px, 3.6vw, 38px);
}
.timeline-projects-panel .projects-head h3 {
  margin: 0 0 10px;
  color: var(--blue-900);
  font-size: clamp(26px, 3.6vw, 38px);
  text-transform: uppercase;
}
.projects-head p {
  margin: 0;
  color: #374151;
  font-size: 16px;
  line-height: 1.6;
}
.projects-meta {
  margin-top: 14px;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
}
.projects-pill {
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(28, 43, 122, 0.08);
  border: 1px solid rgba(28, 43, 122, 0.2);
  color: #1c2b7a;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.projects-collage-shell {
  width: min(860px, 100%);
  margin: 0 auto;
  padding: 12px;
  border-radius: 22px;
  background: #ffffff;
  border: 1px solid rgba(28, 43, 122, 0.14);
  box-shadow: var(--shadow);
}
.projects-collage {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  -webkit-mask-image: url("../../Imagenes/Logo_Icono_Color.svg");
  -webkit-mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-image: url("../../Imagenes/Logo_Icono_Color.svg");
  mask-size: contain;
  mask-repeat: no-repeat;
  mask-position: center;
}
.project-tile {
  border: none;
  padding: 0;
  margin: 0;
  overflow: hidden;
  cursor: pointer;
  position: relative;
  background: #0f172a;
}
.project-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease, filter 0.35s ease, opacity 0.35s ease;
}
.project-tile::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.35));
  opacity: 0.6;
  transition: opacity 0.25s ease;
  z-index: 1;
}
.project-tile:hover img {
  transform: scale(1.06);
  filter: brightness(1.06);
}
.project-tile:hover::before {
  opacity: 0.2;
}
.project-tile.is-spotlight img {
  transform: scale(1.08);
  filter: brightness(1.14) saturate(1.05);
}
.project-tile.is-spotlight::before {
  opacity: 0.12;
}
/* Seccion: Modal de detalle para galeria de proyectos. */
.project-modal {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: grid;
  place-items: center;
  padding: 18px;
}
.project-modal[hidden] {
  display: none !important;
}
.project-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(2, 6, 23, 0.72);
}
.project-modal-card {
  position: relative;
  z-index: 1;
  width: min(740px, 100%);
  max-height: calc(100vh - 50px);
  overflow: auto;
  background: #ffffff;
  border-radius: 18px;
  border: 1px solid rgba(28, 43, 122, 0.2);
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.34);
  padding: 16px 16px 20px;
}
.project-modal-card img {
  width: 100%;
  height: min(420px, 52vh);
  object-fit: contain;
  background: #f2f4f8;
  border-radius: 12px;
  transition: transform 0.42s ease, opacity 0.42s ease;
  transform-origin: center center;
}
.project-modal-card img.flip-next {
  animation: bookFlipNext 0.42s ease;
}
.project-modal-card img.flip-prev {
  animation: bookFlipPrev 0.42s ease;
}
.project-modal-card h3 {
  margin: 14px 0 8px;
  color: var(--blue-900);
  font-size: 29px;
  text-transform: uppercase;
}
.project-modal-card p {
  margin: 0;
  color: #334155;
  font-size: 16px;
  line-height: 1.7;
}
.project-modal-close {
  position: absolute;
  top: 8px;
  right: 10px;
  border: none;
  background: rgba(15, 23, 42, 0.75);
  color: #ffffff;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  z-index: 2;
}
.project-modal-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 38px;
  height: 38px;
  border-radius: 999px;
  border: none;
  background: rgba(15, 23, 42, 0.72);
  color: #ffffff;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}
.project-modal-nav.prev { left: 10px; }
.project-modal-nav.next { right: 10px; }
@keyframes bookFlipNext {
  0% { transform: perspective(900px) rotateY(-14deg); opacity: 0.7; }
  100% { transform: perspective(900px) rotateY(0deg); opacity: 1; }
}
@keyframes bookFlipPrev {
  0% { transform: perspective(900px) rotateY(14deg); opacity: 0.7; }
  100% { transform: perspective(900px) rotateY(0deg); opacity: 1; }
}
@keyframes panelIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@media (max-width: 880px) {
  .timeline-nav {
    grid-template-columns: 1fr 1fr;
  }
  .timeline-nav::before {
    display: none;
  }
}
/* Seccion: Responsive de timeline y proyectos en movil. */
@media (max-width: 760px) {
  .timeline-head p,
  .timeline-panel p {
    font-size: 16px;
  }
  .timeline-panel h3 {
    font-size: 25px;
  }
  .hero-description {
    font-size: 16px;
  }
  .projects-collage-shell {
    padding: 8px;
  }
  .projects-collage {
    aspect-ratio: 1 / 1;
  }
  .project-modal-nav {
    width: 34px;
    height: 34px;
    font-size: 20px;
  }
  .projects-meta {
    gap: 6px;
  }
  .projects-pill {
    font-size: 11px;
    padding: 5px 10px;
  }
}
@media (max-width: 560px) {
  .timeline-nav {
    grid-template-columns: 1fr;
  }
}
body.dark .about-page,
body.dark .about-section {
  background: #0b0f1d;
}
body.dark .timeline-head h2,
body.dark .timeline-panel h3 {
  color: #e5e7eb;
}
body.dark .timeline-head p,
body.dark .timeline-panel p {
  color: #d1d5db;
}
body.dark .projects-head h2,
body.dark .project-modal-card h3 {
  color: #e5e7eb;
}
body.dark .timeline-projects-panel .projects-head h3 {
  color: #e5e7eb;
}
body.dark .projects-head p,
body.dark .project-modal-card p {
  color: #d1d5db;
}
body.dark .projects-pill {
  background: rgba(157, 179, 255, 0.16);
  border-color: rgba(157, 179, 255, 0.3);
  color: #dbe5ff;
}
body.dark .timeline-step,
body.dark .timeline-panel {
  background: #111827;
  border-color: rgba(157, 179, 255, 0.25);
  color: #e5e7eb;
}
body.dark .projects-collage-shell {
  background: #111827;
  border-color: rgba(157, 179, 255, 0.25);
}
body.dark .project-modal-card {
  background: #111827;
  border-color: rgba(157, 179, 255, 0.25);
}
body.dark .project-modal-card img {
  background: #16181c;
}
body.dark .timeline-nav::before {
  background: linear-gradient(90deg, rgba(157, 179, 255, 0.2), rgba(157, 179, 255, 0.35));
}
body.dark .timeline-dot {
  background: #64748b;
}
body.dark .timeline-step.is-active .timeline-dot {
  background: #9db3ff;
  box-shadow: 0 0 0 6px rgba(157, 179, 255, 0.22);
}










/* Override final: dark mode industrial unificado. */
body.dark .about-page,
body.dark .about-section {
  background: linear-gradient(180deg, #17191c 0%, #121416 100%);
}
body.dark .timeline-step,
body.dark .timeline-panel,
body.dark .projects-collage-shell,
body.dark .project-modal-card {
  background: linear-gradient(180deg, #24272b 0%, #1c1f23 100%);
  border-color: rgba(155, 166, 178, 0.18);
  box-shadow: 0 18px 38px rgba(0,0,0,0.22);
}
body.dark .timeline-head h2,
body.dark .timeline-panel h3,
body.dark .projects-head h2,
body.dark .project-modal-card h3,
body.dark .timeline-projects-panel .projects-head h3,
body.dark .timeline-head p,
body.dark .timeline-panel p,
body.dark .projects-head p,
body.dark .project-modal-card p,
body.dark .projects-pill {
  color: #e7e0d2;
}
body.dark .timeline-nav::before {
  background: rgba(155, 166, 178, 0.18);
}
body.dark .timeline-dot {
  background: #6a7481;
}
body.dark .timeline-step.is-active .timeline-dot {
  background: #c9c0b0;
}

/* Override final: dark mode en negro/grafito, sin acentos azules. */
body.dark {
  --dark-ink: #0f1012;
  --dark-panel: #1a1c1f;
  --dark-panel-2: #23262a;
  --dark-border: rgba(180, 186, 194, 0.16);
  --dark-text: #ece6db;
  --dark-muted: #c5bfb3;
  --dark-accent: #7d848d;
}

body.dark .site-header,
body.dark .site-header.scrolled,
body.dark .nav-dropdown-menu,
body.dark .site-header.scrolled .nav-dropdown-menu,
body.dark .mobile-nav,
body.dark .site-header.scrolled .mobile-nav,
body.dark .site-footer,
body.dark .product-detail-card,
body.dark .product-meta-group,
body.dark .product-detail-copy.product-detail-copy-top,
body.dark #detalleTablaWrap,
body.dark .catalogo-head,
body.dark .catalog-card,
body.dark .catalog-modal-dialog,
body.dark .contact-form,
body.dark .contact-side,
body.dark .timeline-step,
body.dark .timeline-panel,
body.dark .projects-collage-shell,
body.dark .project-modal-card,
body.dark .service-box,
body.dark .service-subtopic,
body.dark .izajes-d2-block,
body.dark .sling-builder-card,
body.dark .sling-builder-preview-wrap,
body.dark .sling-builder-form,
body.dark .sling-accessories,
body.dark .d2-detail-card,
body.dark .d2-detail-extra,
body.dark .d2-tech-summary,
body.dark .d2-rigging-modes,
body.dark .d2-capacity-table-wrap,
body.dark .d2-builder,
body.dark .d2-builder-preview,
body.dark .d2-builder-form,
body.dark .d2-builder-extended,
body.dark .d2-simple-quote {
  background: linear-gradient(180deg, var(--dark-panel-2) 0%, var(--dark-panel) 100%) !important;
  border-color: var(--dark-border) !important;
}

body.dark .main-nav a,
body.dark .nav-dropdown-toggle,
body.dark .menu-toggle,
body.dark .theme-toggle,
body.dark .site-footer a,
body.dark .site-footer p,
body.dark .site-footer h3,
body.dark .site-footer h4,
body.dark .site-footer .footer-toggle,
body.dark .site-footer .material-symbols-outlined,
body.dark .catalogo-head h1,
body.dark .catalogo-head p,
body.dark .catalog-card-head h3,
body.dark .catalog-card-head p,
body.dark .catalogo-page-readout,
body.dark .catalogo-link,
body.dark .catalog-modal-head h2,
body.dark .catalog-modal-head p,
body.dark .catalogo-picker label,
body.dark .contact-side h2,
body.dark .contact-side p,
body.dark .contact-chip,
body.dark .field span,
body.dark .optional-hint,
body.dark .submit-note,
body.dark .timeline-head h2,
body.dark .timeline-panel h3,
body.dark .projects-head h2,
body.dark .project-modal-card h3,
body.dark .timeline-projects-panel .projects-head h3,
body.dark .timeline-head p,
body.dark .timeline-panel p,
body.dark .projects-head p,
body.dark .project-modal-card p,
body.dark .projects-pill,
body.dark .services-eyebrow,
body.dark .services-head h2,
body.dark .services-intro,
body.dark .service-box h3,
body.dark .service-box p,
body.dark .cables-board-head h2,
body.dark .cables-board-head p,
body.dark .cables-status,
body.dark .product-detail-content h2,
body.dark .product-detail-copy.product-detail-copy-top p,
body.dark .product-tag-value,
body.dark .product-meta-group-title,
body.dark .d2-tech-summary h3,
body.dark .d2-rigging-modes h3,
body.dark .d2-tech-chip-label,
body.dark .d2-tech-chip-value,
body.dark .d2-tech-paragraph,
body.dark .d2-rigging-subtitle,
body.dark .d2-rigging-content h4,
body.dark .d2-rigging-content p,
body.dark .d2-builder h3,
body.dark .d2-builder-subtitle,
body.dark .d2-builder-extended h4,
body.dark .d2-builder-extended p,
body.dark #d2ModelName,
body.dark #d2ModelMeasure,
body.dark .d2-simple-quote h3,
body.dark .d2-simple-quote-subtitle,
body.dark .d2-simple-quote-form label span {
  color: var(--dark-text) !important;
}

body.dark .product-tag,
body.dark .cables-filter-btn,
body.dark .service-quote-btn,
body.dark .service-subtoggle,
body.dark .d2-rigging-tab,
body.dark .d2-capacity-figure-tab,
body.dark .d2-model-btn,
body.dark .catalogo-picker,
body.dark .catalog-card-preview,
body.dark .catalog-card-loading,
body.dark .field input,
body.dark .field select,
body.dark .field textarea,
body.dark .suggestion-btn,
body.dark .submit-btn,
body.dark .contact-chip,
body.dark .sling-field input,
body.dark .sling-field select,
body.dark .sling-btn-secondary,
body.dark .d2-builder-fields input,
body.dark .d2-builder-fields select,
body.dark .d2-builder-extra-fields input,
body.dark .d2-builder-extra-fields select,
body.dark .d2-builder-extra-fields textarea,
body.dark .d2-builder-usage textarea,
body.dark .d2-builder-usage input,
body.dark .d2-simple-quote-form input,
body.dark .d2-simple-quote-form textarea,
body.dark .product-detail-action-secondary {
  background: #2a2d31 !important;
  border-color: var(--dark-border) !important;
  color: var(--dark-text) !important;
}

body.dark .cables-filter-btn.is-active,
body.dark .service-quote-btn:hover,
body.dark .d2-rigging-tab.is-active,
body.dark .d2-capacity-figure-tab.is-active,
body.dark .d2-model-btn.is-active,
body.dark .product-detail-action-primary,
body.dark .submit-btn {
  background: linear-gradient(180deg, #4a4f56 0%, #34383e 100%) !important;
  border-color: rgba(211, 216, 223, 0.16) !important;
  color: #f4efe6 !important;
  box-shadow: 0 12px 24px rgba(0,0,0,0.18) !important;
}

body.dark.cables-page #detalle,
body.dark .contact-page,
body.dark .about-page,
body.dark .about-section,
body.dark .services-pillar-section,
body.dark .izajes-d2-page,
body.dark .d2-detail-page,
body.dark.catalogo-page,
body.dark .product-page,
body.dark .product-section,
body.dark .experience,
body.dark .product-strip,
body.dark .product-card {
  background: linear-gradient(180deg, #151719 0%, #101113 100%) !important;
}

body.dark.cables-page .cables-board,
body.dark .product-detail-card,
body.dark #detalleTablaWrap,
body.dark .d2-capacity-table-wrap {
  box-shadow: 0 18px 34px rgba(0,0,0,0.22) !important;
}

body.dark.cables-page #cablesProducts .product-card-tile,
body.dark .product-card-tile,
body.dark .catalog-card,
body.dark .counter-card,
body.dark .safety-card {
  background: linear-gradient(180deg, #25282d 0%, #1b1e22 100%) !important;
  border-color: var(--dark-border) !important;
  box-shadow: 0 18px 32px rgba(0,0,0,0.22) !important;
}

body.dark .product-detail-table thead th,
body.dark .d2-capacity-table thead th,
body.dark .measure-table th {
  background: #26292e !important;
  color: var(--dark-text) !important;
  border-color: rgba(201, 208, 216, 0.18) !important;
}

body.dark .product-detail-table tbody td,
body.dark .d2-capacity-table tbody td,
body.dark .measure-table td {
  background: #1c1f23 !important;
  color: var(--dark-text) !important;
  border-color: rgba(201, 208, 216, 0.10) !important;
}

/* Override final 20260327ad: timeline y collage con mejor escala y responsivo. */
@media (min-width: 1200px) {
  .timeline-nav {
    gap: 18px !important;
  }

  .timeline-step {
    padding: 14px 16px 16px !important;
  }

  .timeline-label {
    font-size: 16px !important;
  }

  .timeline-panel {
    padding: 34px 32px !important;
  }

  .projects-collage-shell {
    width: min(1040px, 100%) !important;
    padding: 16px !important;
  }
}

@media (max-width: 980px) {
  .timeline-nav {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 12px !important;
  }

  .projects-collage-shell {
    width: min(100%, 760px) !important;
  }

  .projects-collage {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    aspect-ratio: auto !important;
    min-height: 420px !important;
  }
}

@media (max-width: 640px) {
  .timeline-panel {
    padding: 24px 20px !important;
  }

  .projects-collage {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    min-height: 320px !important;
  }

  .project-modal-card {
    padding: 14px 14px 18px !important;
  }
}

/* Override final 20260328af: tarjetas y pilares de nosotros mejor resueltos. */
.timeline-nav {
  gap: 16px !important;
}

.timeline-step {
  border-radius: 18px !important;
  padding: 16px 14px 15px !important;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(247, 249, 255, 0.96)) !important;
  border: 1px solid rgba(28, 43, 122, 0.12) !important;
  box-shadow: 0 14px 28px rgba(17, 28, 66, 0.08) !important;
}

.timeline-step:hover {
  transform: translateY(-3px) !important;
  box-shadow: 0 18px 32px rgba(17, 28, 66, 0.14) !important;
}

.timeline-step.is-active {
  border-color: rgba(47, 73, 182, 0.34) !important;
  box-shadow: 0 20px 36px rgba(23, 39, 101, 0.16) !important;
}

.timeline-panel {
  border-radius: 24px !important;
  padding: 34px 32px !important;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(247, 249, 255, 0.96)) !important;
  border: 1px solid rgba(28, 43, 122, 0.1) !important;
  box-shadow: 0 18px 36px rgba(16, 27, 63, 0.1) !important;
}

body.dark .timeline-step {
  background: linear-gradient(180deg, rgba(24, 30, 43, 0.96), rgba(17, 22, 32, 0.96)) !important;
  border-color: rgba(122, 146, 228, 0.12) !important;
}

body.dark .timeline-panel {
  background: linear-gradient(180deg, rgba(23, 29, 41, 0.96), rgba(15, 20, 29, 0.96)) !important;
  border-color: rgba(122, 146, 228, 0.12) !important;
}

/* Override final 20260330ad: proyectos de nosotros adaptados sin perder la figura. */
@media (max-width: 1024px) {
  .timeline-projects-panel .projects-head {
    max-width: none !important;
    margin-bottom: 18px !important;
  }

  .timeline-projects-panel .projects-head h3 {
    font-size: clamp(24px, 5.8vw, 34px) !important;
    line-height: 1.14 !important;
  }

  .projects-head p {
    font-size: 15px !important;
    line-height: 1.55 !important;
  }

  .projects-meta {
    gap: 10px !important;
  }

  .projects-collage-shell {
    width: min(100%, 760px) !important;
    padding: 12px !important;
  }

  .projects-collage {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 8px !important;
    aspect-ratio: 1 / 1 !important;
    min-height: 0 !important;
    -webkit-mask-image: url("../../Imagenes/Logo_Icono_Color.svg") !important;
    -webkit-mask-size: contain !important;
    -webkit-mask-repeat: no-repeat !important;
    -webkit-mask-position: center !important;
    mask-image: url("../../Imagenes/Logo_Icono_Color.svg") !important;
    mask-size: contain !important;
    mask-repeat: no-repeat !important;
    mask-position: center !important;
    overflow: hidden !important;
  }

  .project-tile {
    min-height: 0 !important;
    border-radius: 0 !important;
  }
}

@media (max-width: 768px) {
  .timeline-panel.timeline-projects-panel {
    padding: 22px 16px !important;
  }

  .timeline-projects-panel .projects-head h3 {
    font-size: clamp(22px, 8vw, 30px) !important;
    line-height: 1.16 !important;
  }

  .projects-head p {
    font-size: 14px !important;
    line-height: 1.6 !important;
  }

  .projects-meta {
    justify-content: center !important;
    gap: 8px !important;
  }

  .projects-pill {
    padding: 6px 10px !important;
    font-size: 10px !important;
    letter-spacing: 0.03em !important;
  }

  .projects-collage-shell {
    width: min(100%, 620px) !important;
    padding: 10px !important;
    border-radius: 20px !important;
  }

  .projects-collage {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 6px !important;
    aspect-ratio: 1 / 1 !important;
    -webkit-mask-size: 96% auto !important;
    mask-size: 96% auto !important;
  }

  .project-tile {
    min-height: 0 !important;
    border-radius: 0 !important;
  }

  .project-tile img {
    border-radius: 0 !important;
  }
}

@media (max-width: 560px) {
  .projects-collage-shell {
    width: 100% !important;
    padding: 8px !important;
  }

  .projects-collage {
    gap: 5px !important;
    aspect-ratio: 1 / 1 !important;
    -webkit-mask-size: 94% auto !important;
    mask-size: 94% auto !important;
  }

  .projects-meta {
    gap: 6px !important;
  }

  .projects-pill {
    font-size: 9px !important;
    padding: 5px 9px !important;
  }
}
