/* Digital Designs · Paso 2: encabezado responsive y navegación */
:root {
  --blue: #3174BA;
  --blue-dark: #1B5290;
  --orange: #F26522;
  --orange-secondary: #F7941D;
  --gray-dark: #3B3B3C;
  --gray-medium: #707070;
  --gray-light: #E8E7E5;
  --white: #FFFFFF;
  --font-heading: "Nexa", Arial, Helvetica, sans-serif;
  --font-body: "Newsreader 36pt", Georgia, serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 105px; }
body { margin: 0; color: var(--gray-dark); background: var(--white); font-family: var(--font-body); line-height: 1.6; }
a { color: inherit; }
button { font: inherit; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 4px; }
.container { width: min(1120px, calc(100% - 40px)); margin-inline: auto; }
.skip-link { position: absolute; left: 16px; top: -80px; z-index: 100; padding: 10px 16px; background: var(--white); color: var(--gray-dark); }
.skip-link:focus { top: 12px; }
.site-header { position: sticky; top: 0; z-index: 20; background: var(--white); border-bottom: 1px solid var(--gray-light); }
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 88px; gap: 24px; }
/* LOGOTIPO PRINCIPAL */
.brand {
    display: inline-flex;
    align-items: center;
    width: clamp(220px, 26vw, 450px);
    flex-shrink: 0;
    text-decoration: none;
}

.brand img {
    display: block;
    width: 100%;
    height: auto;
}

.brand-pending { display: inline-flex; align-items: center; justify-content: center; text-align: center; width: 230px; min-height: 50px; padding: 10px; border: 1px dashed var(--gray-medium); border-radius: 4px; font: 700 10px/1.4 Arial, sans-serif; letter-spacing: .04em; color: var(--gray-medium); }
.site-nav { display: flex; align-items: center; gap: clamp(12px, 1.5vw, 24px); font-family: var(--font-heading); }
.site-nav a { font-size: 14px; font-weight: 600; text-decoration: none; transition: color .2s ease; }
.site-nav a:hover { color: var(--blue-dark); }
.site-nav .nav-contact { padding: 11px 17px; border-radius: 6px; color: var(--white); background: var(--blue); }
.site-nav .nav-contact:hover { color: var(--white); background: var(--blue-dark); }
.menu-toggle { display: none; cursor: pointer; padding: 11px; border: 1px solid var(--gray-light); border-radius: 6px; background: var(--white); }
.menu-toggle-line { display: block; width: 23px; height: 2px; margin: 4px 0; background: var(--gray-dark); }
.hero { min-height: 440px; padding-block: 90px 100px; }
.eyebrow { display: inline-block; margin: 0 0 18px; padding-left: 12px; border-left: 4px solid var(--orange); font: 700 12px/1.6 var(--font-heading); letter-spacing: .08em; text-transform: uppercase; }
h1, h2 { font-family: var(--font-heading); line-height: 1.18; }
h1 { max-width: 800px; margin: 0 0 20px; font-size: clamp(32px, 5vw, 60px); }
.hero-copy { max-width: 680px; margin: 0 0 28px; font-size: clamp(17px, 2vw, 20px); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 11px 20px; border: 2px solid var(--blue); border-radius: 6px; text-decoration: none; font: 700 14px/1.2 var(--font-heading); transition: background .2s ease, color .2s ease, border-color .2s ease; }
.button-primary { background: var(--blue); color: var(--white); }
.button-primary:hover { background: var(--blue-dark); border-color: var(--blue-dark); }
.button-outline { background: var(--white); color: var(--blue); }
.button-outline:hover { background: var(--gray-light); }
.draft-note { margin-top: 32px; font: 13px/1.5 Arial, sans-serif; color: var(--gray-medium); }
.test-section { min-height: 260px; padding-block: 70px; border-top: 1px solid var(--gray-light); }
.test-section.alt { background: #F7F7F6; }
.test-section h2 { margin: 0 0 12px; font-size: 30px; }
.test-section p { margin: 0; color: var(--gray-medium); }
.site-footer { padding-block: 30px; background: var(--gray-dark); color: var(--white); font-family: var(--font-heading); font-size: 13px; }
.site-footer p { margin: 0; }
@media (max-width: 800px) {
  .header-inner { min-height: 74px; }
  .brand { width: 200px; }
  .brand-pending { width: 190px; }
  .menu-toggle { display: block; }
  .site-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; padding: 16px 20px 24px; background: var(--white); border-bottom: 1px solid var(--gray-light); box-shadow: 0 12px 18px rgba(0,0,0,.08); flex-direction: column; align-items: stretch; gap: 0; }
  .site-nav.is-open { display: flex; }
  .site-nav a { padding: 12px; font-size: 15px; }
  .site-nav .nav-contact { margin-top: 8px; text-align: center; }
  .hero { padding-block: 70px; min-height: auto; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}

/* TÍTULO PRINCIPAL */
#titulo-principal {
    font-family: 'Nexa', sans-serif;
    font-weight: 900;
    line-height: 0.90;
}

/* SUBTÍTULOS */
main h2,
main h3 {
    font-family: 'Nexa', sans-serif;
    font-weight: 700;
}

.hero-layout {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 48px;
}

.hero-content {
  max-width: 680px;
}

@media (max-width: 900px) {
  .hero-layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .hero-visual {
    order: 2;
  }

  .hero-content {
    order: 1;
  }

}

/* COMPOSICIÓN VISUAL DEL HERO */
.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.product-scene {
  position: relative;
  width: min(100%, 470px);
  min-height: 420px;
  border-radius: 28px;
  background: linear-gradient(145deg, #f8f8f7 0%, #ffffff 100%);
  border: 1px solid var(--gray-light);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  padding: 28px;
}

/* Acentos decorativos */
.scene-accent {
  position: absolute;
  border-radius: 999px;
  opacity: 0.14;
  pointer-events: none;
}

.accent-one {
  width: 140px;
  height: 140px;
  background: var(--blue);
  top: -30px;
  right: -30px;
}

.accent-two {
  width: 120px;
  height: 120px;
  background: var(--orange);
  bottom: -25px;
  left: -25px;
}

/* Etiquetas */
.product-label {
  display: inline-block;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--gray-dark);
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.03em;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.08);
}

/* Catálogo */
.product-catalog {
  position: absolute;
  top: 34px;
  left: 32px;
  width: 190px;
  height: 245px;
  border-radius: 16px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.15), rgba(255,255,255,0)),
    linear-gradient(135deg, var(--blue) 0%, var(--blue-dark) 100%);
  box-shadow: 0 16px 30px rgba(0, 0, 0, 0.14);
  transform: rotate(-8deg);
}

.product-catalog::before {
  content: "";
  position: absolute;
  left: 18px;
  right: 18px;
  top: 22px;
  height: 54px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.18);
}

.product-catalog::after {
  content: "";
  position: absolute;
  left: 18px;
  right: 36px;
  top: 92px;
  height: 100px;
  border-radius: 10px;
  background:
    linear-gradient(
      to bottom,
      rgba(255,255,255,0.95) 0 16px,
      transparent 16px 28px,
      rgba(255,255,255,0.7) 28px 36px,
      transparent 36px 48px,
      rgba(255,255,255,0.7) 48px 56px,
      transparent 56px 68px,
      rgba(255,255,255,0.7) 68px 76px,
      transparent 76px 88px
    );
}

.product-catalog .product-label {
  position: absolute;
  left: 18px;
  bottom: 18px;
}

/* Brochure */
.product-brochure {
  position: absolute;
  right: 28px;
  top: 62px;
  width: 150px;
  height: 205px;
  border-radius: 14px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.2), rgba(255,255,255,0)),
    linear-gradient(135deg, #ffffff 0%, #ececeb 100%);
  border: 1px solid #e3e3e2;
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.10);
  transform: rotate(8deg);
}

.product-brochure::before {
  content: "";
  position: absolute;
  left: 16px;
  right: 16px;
  top: 18px;
  height: 56px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--orange) 0%, #ff8b50 100%);
}

.product-brochure::after {
  content: "";
  position: absolute;
  left: 16px;
  right: 28px;
  top: 92px;
  height: 76px;
  border-radius: 8px;
  background:
    linear-gradient(
      to bottom,
      rgba(59,59,60,0.75) 0 8px,
      transparent 8px 18px,
      rgba(59,59,60,0.30) 18px 24px,
      transparent 24px 34px,
      rgba(59,59,60,0.30) 34px 40px,
      transparent 40px 50px,
      rgba(59,59,60,0.30) 50px 56px
    );
}

.product-brochure .product-label {
  position: absolute;
  left: 14px;
  bottom: 16px;
}

/* Tarjetas */
.product-cards {
  position: absolute;
  left: 70px;
  bottom: 44px;
  width: 150px;
  height: 100px;
}

.card-stack {
  position: absolute;
  display: block;
  width: 126px;
  height: 78px;
  border-radius: 12px;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.12);
}

.card-back {
  left: 18px;
  top: 14px;
  background: linear-gradient(135deg, var(--gray-dark) 0%, #5a5a5b 100%);
  transform: rotate(10deg);
}

.card-front {
  left: 0;
  top: 0;
  background:
    linear-gradient(135deg, #ffffff 0%, #f4f4f3 100%);
  border: 1px solid #e5e5e4;
  transform: rotate(-7deg);
}

.card-front::before {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  top: 16px;
  height: 10px;
  border-radius: 999px;
  background: var(--blue);
}

.card-front::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 34px;
  top: 36px;
  height: 24px;
  border-radius: 6px;
  background:
    linear-gradient(
      to bottom,
      rgba(59,59,60,0.7) 0 6px,
      transparent 6px 12px,
      rgba(59,59,60,0.28) 12px 16px,
      transparent 16px 22px,
      rgba(59,59,60,0.28) 22px 26px
    );
}

.cards-label {
  position: absolute;
  left: 6px;
  bottom: -8px;
}

/* Empaque */
.product-box {
  position: absolute;
  right: 54px;
  bottom: 36px;
  width: 138px;
  height: 138px;
  border-radius: 18px;
  background: linear-gradient(135deg, var(--orange) 0%, #ff934e 100%);
  box-shadow: 0 16px 30px rgba(0, 0, 0, 0.15);
  transform: rotate(-6deg);
}

.product-box::before {
  content: "";
  position: absolute;
  top: -18px;
  left: 18px;
  width: 102px;
  height: 38px;
  border-radius: 12px 12px 6px 6px;
  background: linear-gradient(135deg, #ffb17c 0%, #ffc59e 100%);
  transform: skewX(-18deg);
  box-shadow: 0 10px 18px rgba(0, 0, 0, 0.10);
}

.product-box::after {
  content: "";
  position: absolute;
  left: 22px;
  right: 22px;
  top: 42px;
  height: 44px;
  border-radius: 8px;
  background: rgba(255,255,255,0.18);
}

.product-box .product-label {
  position: absolute;
  left: 18px;
  bottom: 16px;
}

/* Responsive */
@media (max-width: 900px) {
  .product-scene {
    width: 100%;
    max-width: 460px;
  }

}

@media (max-width: 640px) {
  .product-scene {
    min-height: 380px;
    padding: 22px;
  }

  .product-catalog {
    width: 150px;
    height: 205px;
    left: 18px;
    top: 24px;
  }

  .product-brochure {
    width: 126px;
    height: 176px;
    right: 18px;
    top: 44px;
  }

  .product-cards {
    left: 26px;
    bottom: 34px;
    transform: scale(0.92);
    transform-origin: left bottom;
  }

  .product-box {
    width: 116px;
    height: 116px;
    right: 26px;
    bottom: 28px;
  }

  .product-box::before {
    width: 82px;
    left: 16px;
  }

}                                                                                                                                                                                                                                                                                                                                            

/* ==========================================
   DIGITAL DESIGNS - NUESTROS SERVICIOS
   ========================================== */
.services-section {
  padding: 100px 0;
  background: var(--white);
  border-top: 1px solid var(--gray-light);
}

/* Encabezado de la sección */
.services-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 46px;
}

.section-kicker {
  margin: 0 0 12px;
  color: var(--orange);
  font: 700 13px/1.4 var(--font-heading);
  letter-spacing: 0.12em;
}

.services-heading h2 {
  margin: 0;
  font-family: var(--font-heading);
  font-size: clamp(32px, 4vw, 46px);
  font-weight: 900;
  line-height: 1.1;
  color: var(--gray-dark);
}

.services-lead {
  max-width: 440px;
  margin: 0;
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.6;
  color: var(--gray-medium);
}

/* Retícula de servicios */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

/* Tarjetas */
.service-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 310px;
  padding: 30px;
  background: var(--white);
  border: 1px solid var(--gray-light);
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.035);
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    border-color 0.25s ease;
}

.service-card:hover,
.service-card:focus-within {
  transform: translateY(-5px);
  border-color: var(--blue);
  box-shadow: 0 18px 38px rgba(27, 82, 144, 0.12);
}

/* Icono y numeración */
.service-card-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 26px;
}

.service-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  background: #EDF3FA;
  border-radius: 14px;
  color: var(--blue);
}

.service-icon svg {
  width: 30px;
  height: 30px;
}

.service-number {
  font: 700 13px/1 var(--font-heading);
  color: #707070;
}

/* Contenido */
.service-card h3 {
  margin: 0 0 14px;
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 700;
  line-height: 1.2;
  color: var(--gray-dark);
}

.service-card p {
  margin: 0 0 24px;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.55;
  color: var(--gray-medium);
}

/* Enlace de cotización */
.service-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: auto;
  color: var(--blue-dark);
  font: 700 14px/1.4 var(--font-heading);
  text-decoration: none;
}

.service-link span {
  font-size: 21px;
  transition: transform 0.2s ease;
}

.service-link:hover span {
  transform: translateX(5px);
}

.service-link:hover {
  color: var(--orange);
}

.service-link:focus-visible {
  outline-offset: 6px;
}

/* Franja de diseño gráfico */
.services-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  margin-top: 36px;
  padding: 30px 34px;
  border-left: 4px solid var(--orange);
  border-radius: 10px;
  background: #F7F7F6;
}

.services-cta p {
  max-width: 690px;
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.55;
}

.services-cta strong {
  display: block;
  margin-bottom: 4px;
  font-family: var(--font-heading);
  font-weight: 700;
}

.services-cta .button {
  flex-shrink: 0;
}

/* Tabletas */
@media (max-width: 900px) {
  .services-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 16px;
  }

  .services-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .services-cta {
    align-items: flex-start;
    flex-direction: column;
  }

}

/* Teléfonos */
@media (max-width: 600px) {
  .services-section {
    padding: 65px 0;
  }

  .services-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .service-card {
    min-height: auto;
    padding: 25px;
  }

  .services-cta {
    padding: 24px;
  }

  .services-cta .button {
    width: 100%;
  }

}

/* Accesibilidad */
@media (prefers-reduced-motion: reduce) {
  .service-card,
  .service-link span {
    transition: none;
  }

  .service-card:hover,
  .service-card:focus-within {
    transform: none;
  }

}

/* ==========================================
   DIGITAL DESIGNS - NUESTRO PROCESO
   ========================================== */
.process-section {
  padding: 110px 0;
  background: #F7F7F6;
}

.process-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  align-items: start;
  gap: clamp(40px, 7vw, 110px);
}

/* Presentación */
.process-intro h2 {
  margin: 0 0 25px;
  font-family: var(--font-heading);
  font-size: clamp(34px, 4vw, 48px);
  font-weight: 900;
  line-height: 1.1;
  color: var(--gray-dark);
}

.process-description {
  margin: 0 0 20px;
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.65;
  color: var(--gray-medium);
}

.process-intro .button {
  margin-top: 16px;
}

/* Línea de proceso */
.process-steps {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.process-steps::before {
  content: "";
  position: absolute;
  top: 25px;
  bottom: 25px;
  left: 25px;
  width: 2px;
  background: var(--gray-light);
}

.process-step {
  position: relative;
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  align-items: start;
  gap: 18px;
}

.process-number {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border: 2px solid var(--blue);
  border-radius: 50%;
  background: var(--white);
  color: var(--blue);
  font: 700 14px/1 var(--font-heading);
}

.process-step:first-child .process-number {
  background: var(--blue);
  color: var(--white);
}

.process-step-body {
  padding: 24px 26px;
  border: 1px solid var(--gray-light);
  border-radius: 14px;
  background: var(--white);
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    border-color 0.25s ease;
}

.process-step-body h3 {
  margin: 0 0 10px;
  font-family: var(--font-heading);
  font-size: 19px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--gray-dark);
}

.process-step-body p {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--gray-medium);
}

.process-step:hover .process-step-body {
  transform: translateX(5px);
  border-color: var(--blue);
  box-shadow: 0 12px 30px rgba(27, 82, 144, 0.09);
}

/* Tabletas */
@media (max-width: 900px) {
  .process-section {
    padding: 80px 0;
  }

  .process-layout {
    grid-template-columns: 1fr;
    gap: 42px;
  }

}

/* Teléfonos */
@media (max-width: 600px) {
  .process-section {
    padding: 65px 0;
  }

  .process-step {
    gap: 12px;
  }

  .process-step-body {
    padding: 20px;
  }

  .process-step-body h3 {
    font-size: 17px;
  }

  .process-step-body p {
    font-size: 15px;
  }

}

/* Accesibilidad */
@media (prefers-reduced-motion: reduce) {
  .process-step-body {
    transition: none;
  }

  .process-step:hover .process-step-body {
    transform: none;
  }

}

/* ==========================================
   DIGITAL DESIGNS - PORTAFOLIO
   ========================================== */
.portfolio-section {
  padding: 100px 0;
  background: var(--white);
}

.portfolio-heading {
  max-width: 700px;
  margin-bottom: 45px;
}

.portfolio-heading h2 {
  margin: 0 0 16px;
  font-family: var(--font-heading);
  font-size: clamp(34px, 4vw, 48px);
  font-weight: 900;
  line-height: 1.1;
}

.portfolio-intro {
  margin: 0;
  font-family: var(--font-body);
  font-size: 19px;
  line-height: 1.6;
  color: var(--gray-medium);
}

/* Galería */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 26px;
}

.portfolio-card {
  min-width: 0;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--gray-light);
  border-radius: 16px;
  background: var(--white);
  transition:
    transform .3s ease,
    box-shadow .3s ease;
}

.portfolio-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 18px 38px rgba(27,82,144,.12);
}

/* Imagen */
.portfolio-image {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: #F7F7F6;
}

.portfolio-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}

.portfolio-card:hover img {
  transform: scale(1.045);
}

/* Indicador de ampliación */
.portfolio-view {
  position: absolute;
  right: 14px;
  bottom: 14px;
  padding: 9px 13px;
  border-radius: 6px;
  background: var(--blue-dark);
  color: var(--white);
  font: 700 12px var(--font-heading);
  opacity: 0;
  transition: opacity .2s ease;
}

.portfolio-image:hover .portfolio-view,
.portfolio-image:focus-visible .portfolio-view {
  opacity: 1;
}

/* Descripción */
.portfolio-card figcaption {
  padding: 24px;
}

.portfolio-category {
  display: block;
  margin-bottom: 10px;
  color: var(--blue);
  font: 700 11px var(--font-heading);
  letter-spacing: .1em;
}

.portfolio-card h3 {
  margin: 0 0 10px;
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 700;
  line-height: 1.25;
}

.portfolio-card figcaption p {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.5;
  color: var(--gray-medium);
}

.portfolio-disclaimer {
  margin: 18px 0 0;
  font: 13px/1.5 var(--font-heading);
  color: var(--gray-medium);
}

/* Llamado a la acción */
.portfolio-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 45px;
  padding: 30px;
  border-radius: 12px;
  background: #F7F7F6;
  border-left: 4px solid var(--orange);
}

.portfolio-cta h3 {
  margin: 0;
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 700;
}

/* Tablet */
@media (max-width: 900px) {
  .portfolio-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
  }

  .portfolio-cta {
    flex-direction: column;
    align-items: flex-start;
  }

}

/* Móvil */
@media (max-width: 600px) {
  .portfolio-section {
    padding: 65px 0;
  }

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

  .portfolio-card figcaption {
    padding: 20px;
  }

  .portfolio-cta {
    padding: 24px;
  }

  .portfolio-cta .button {
    width: 100%;
  }

}

/* Accesibilidad */
@media (prefers-reduced-motion: reduce) {
  .portfolio-card,
  .portfolio-image img,
  .portfolio-view {
    transition: none;
  }

  .portfolio-card:hover,
  .portfolio-card:hover img {
    transform: none;
  }

}


/* ==========================================
   DIGITAL DESIGNS - NOSOTROS (manual actualizado)
   ========================================== */
.about-section {
  padding: 105px 0;
  background: var(--white);
  border-top: 1px solid var(--gray-light);
}

.about-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr);
  align-items: start;
  gap: clamp(32px, 6vw, 88px);
}

.about-content h2 {
  margin: 0 0 25px;
  font-family: var(--font-heading);
  font-size: clamp(34px, 4vw, 52px);
  font-weight: 900;
  line-height: 1.12;
  color: var(--gray-dark);
}

.about-content h2 span { display: block; color: var(--blue-dark); }

.about-lead {
  margin: 0 0 28px;
  font-family: var(--font-body);
  font-size: 20px;
  line-height: 1.6;
  color: var(--gray-dark);
}

.about-statement { margin: 0 0 25px; }
.about-statement h3 {
  margin: 0 0 8px;
  font-family: var(--font-heading);
  font-size: 19px;
  font-weight: 700;
  color: var(--gray-dark);
}
.about-statement p {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--gray-medium);
}
.about-content .button { margin-top: 8px; }

.about-panel {
  position: relative;
  overflow: hidden;
  padding: clamp(28px, 4vw, 46px);
  border-radius: 18px;
  background: var(--gray-dark);
  color: var(--white);
  box-shadow: 0 20px 45px rgba(0, 0, 0, .09);
}
.about-panel-accent {
  width: 50px;
  height: 5px;
  margin-bottom: 30px;
  background: var(--orange);
  border-radius: 3px;
}
.about-panel-label {
  margin: 0 0 14px;
  font: 700 12px/1.4 var(--font-heading);
  letter-spacing: .12em;
  color: var(--white);
}
.about-panel h3 {
  margin: 0 0 22px;
  font-family: var(--font-heading);
  font-size: clamp(29px, 3vw, 38px);
  font-weight: 900;
  line-height: 1.15;
  color: var(--white);
}
.about-principle {
  margin: 0 0 22px;
  padding: 0 0 0 17px;
  border-left: 3px solid var(--orange);
  font: 400 19px/1.55 var(--font-body);
  color: var(--white);
}
.about-reputation {
  margin: 0 0 25px;
  font: 400 16px/1.55 var(--font-body);
  color: #F0F0F0;
}
.about-reputation strong {
  font-family: var(--font-heading);
  font-weight: 700;
}
.about-values-details {
  padding-top: 22px;
  border-top: 1px solid rgba(255,255,255,.25);
}
.about-values-details summary {
  cursor: pointer;
  font: 700 16px/1.4 var(--font-heading);
  color: var(--white);
  padding: 4px 0;
}
.about-values-details summary::marker { color: var(--orange-secondary); }
.about-values-details summary:focus-visible {
  outline: 3px solid var(--orange-secondary);
  outline-offset: 5px;
}
.about-values {
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}
.about-values li {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr);
  gap: 14px;
  padding: 17px 0;
  border-top: 1px solid rgba(255,255,255,.2);
}
.about-value-number {
  font: 700 14px/1.5 var(--font-heading);
  color: var(--orange-secondary);
}
.about-values h4 {
  margin: 0 0 6px;
  font: 700 17px/1.25 var(--font-heading);
  color: var(--white);
}
.about-values p {
  margin: 0;
  font: 400 15px/1.6 var(--font-body);
  color: #F0F0F0;
}

@media (max-width: 900px) {
  .about-section { padding: 80px 0; }
  .about-layout { grid-template-columns: 1fr; gap: 40px; }
}
@media (max-width: 600px) {
  .about-section { padding: 65px 0; }
  .about-content h2 { font-size: 34px; }
  .about-lead { font-size: 19px; }
  .about-statement p { font-size: 16px; }
  .about-panel { padding: 28px 24px; }
  .about-panel h3 { font-size: 30px; }
  .about-values li { gap: 12px; }
}


/* ==========================================
   DIGITAL DESIGNS - CONTACTO Y COTIZACIONES
   ========================================== */
.contact-section {padding:100px 0; background:#F7F7F6;}
.contact-heading {max-width:760px; margin-bottom:40px;}
.contact-heading h2 {margin:0 0 16px; font:900 clamp(34px,4vw,48px)/1.12 var(--font-heading);}
.contact-heading > p:last-child {margin:0; font:400 19px/1.6 var(--font-body); color:var(--gray-medium);}
.contact-layout {display:grid; grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr); gap:28px; align-items:start;}
.contact-info,.contact-form {min-width:0; padding:clamp(24px,3vw,36px); border-radius:16px; background:var(--white); border:1px solid var(--gray-light);}
.contact-info h3,.contact-form h3 {margin:0 0 14px; font:700 25px/1.25 var(--font-heading);}
.contact-info>p,.contact-form>p {margin:0 0 25px; font:400 17px/1.6 var(--font-body);}
.contact-details {margin-bottom:30px; font-style:normal;}
.contact-detail {display:flex; flex-direction:column; gap:6px; padding:17px 0; border-bottom:1px solid var(--gray-light);}
.contact-detail strong {font:700 14px/1.4 var(--font-heading);}
.contact-detail a,.contact-detail span {font:400 16px/1.5 var(--font-body); overflow-wrap:anywhere;}
.contact-detail a {color:var(--blue-dark); text-decoration-thickness:1px; text-underline-offset:3px;}
.form-field {display:flex; flex-direction:column; gap:8px; margin-bottom:20px;}
.form-field label {font:700 14px/1.4 var(--font-heading);}
.form-field input,.form-field select,.form-field textarea {width:100%; min-height:46px; padding:12px 14px; border:1px solid #949494; border-radius:7px; background:var(--white); color:var(--gray-dark); font:400 16px/1.5 var(--font-body);}
.form-field textarea {min-height:124px; resize:vertical;}
.form-field input:focus-visible,.form-field select:focus-visible,.form-field textarea:focus-visible {outline:2px solid var(--blue-dark); outline-offset:2px;}
.contact-form .button {cursor:pointer;}
.contact-form .form-note {margin:15px 0 0; font:400 13px/1.5 var(--font-heading); color:var(--gray-medium);}
.form-note a {color:var(--blue-dark);}

/* ==========================================
   DIGITAL DESIGNS - FOOTER DEFINITIVO
   ========================================== */
.site-footer {padding:52px 0 24px; background:var(--gray-dark); color:var(--white);}
.footer-layout {display:grid; grid-template-columns:minmax(0,1.2fr) minmax(0,1fr) minmax(0,1fr); gap:40px;}
.footer-company {font:900 26px/1.2 var(--font-heading); margin:0 0 13px; color:var(--white);}
.footer-tagline {font:600 14px/1.5 var(--font-heading); margin:0 0 12px; color:var(--white);}
.footer-copy {font:400 16px/1.6 var(--font-body); margin:0; color:#F2F2F2;}
.footer-heading {font:700 16px/1.3 var(--font-heading); margin:0 0 18px; color:var(--white);}
.footer-links {display:flex; flex-direction:column; align-items:flex-start; gap:10px;}
.footer-links a,.footer-contact a {color:var(--white); text-decoration:none; text-underline-offset:4px;}
.footer-links a:hover,.footer-contact a:hover {text-decoration:underline;}
.footer-contact {display:flex; flex-direction:column; gap:11px; color:#F2F2F2; font:400 14px/1.6 var(--font-heading);}
.footer-contact address {font-style:normal;}
.footer-bottom {border-top:1px solid rgba(255,255,255,.25); margin-top:35px; padding-top:22px; display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:12px;}
.footer-bottom p {font:400 13px/1.5 var(--font-heading); color:#F2F2F2; margin:0;}
.footer-back {color:var(--white); font:600 13px var(--font-heading); text-decoration:none;}
.footer-back:hover {text-decoration:underline;}

/* Ajustes de navegación y anchura estrecha */
.site-nav {flex-wrap:nowrap; white-space:nowrap;}
@media (min-width:801px) and (max-width:1050px) {
 .header-inner {gap:12px;}
 .brand {width:clamp(190px,22vw,230px);}
 .site-nav {gap:10px;}
 .site-nav a {font-size:13px;}
}
@media (max-width:900px) {
 .contact-section {padding:80px 0;}
 .contact-layout {grid-template-columns:1fr;}
 .footer-layout {grid-template-columns:repeat(2,minmax(0,1fr));}
 .footer-layout > :first-child {grid-column:1/-1;}
}
@media (max-width:600px) {
 .contact-section {padding:65px 0;}
 .contact-heading > p:last-child {font-size:17px;}
 .contact-form .button,.contact-info .button {width:100%;}
 .footer-layout {grid-template-columns:1fr; gap:32px;}
 .footer-layout > :first-child {grid-column:auto;}
 .footer-bottom {align-items:flex-start; flex-direction:column;}
}
/* Botones y accesibilidad: respetar colores oficiales y foco */
.button-primary {background:var(--blue); border-color:var(--blue); color:var(--white);}
.button-primary:hover,.button-primary:focus-visible {background:var(--blue-dark); border-color:var(--blue-dark); color:var(--white);}
.button-accent {background:var(--orange); border-color:var(--orange); color:#161616;}
.button-accent:hover,.button-accent:focus-visible {background:var(--orange-secondary); border-color:var(--orange-secondary); color:#161616;}
.button-outline {background:var(--white); border-color:var(--blue); color:var(--blue-dark);}
.button-outline:hover {background:#EDF3FA; border-color:var(--blue-dark);}
/* Foco accesible y microinteracciones reducidas por preferencia del visitante */
.portfolio-image:focus-visible .portfolio-view {opacity:1;}
@media (hover:none) { .portfolio-view {opacity:1;} }

/* ====================================================
   AJUSTES FINALES: HERO DINÁMICO, PROCESO, NOSOTROS
   ==================================================== */
.hero-slider { position:relative; width:100%; aspect-ratio:4/3; border-radius:22px; overflow:hidden; background:var(--gray-light); box-shadow:0 18px 42px rgba(0,0,0,.10); }
.hero-slide { position:absolute; inset:0; opacity:0; visibility:hidden; transition:opacity .65s ease,visibility .65s ease; }
.hero-slide.is-active { opacity:1; visibility:visible; z-index:1; }
.hero-slide img { width:100%; height:100%; display:block; object-fit:cover; }
.hero-slide-caption { position:absolute; bottom:15px; left:16px; color:#fff; font:700 14px/1.3 var(--font-heading); background:rgba(27,82,144,.94); padding:10px 14px; border-radius:8px; }
.hero-slider-controls { position:absolute; z-index:2; top:12px; right:12px; display:flex; align-items:center; gap:6px; background:rgba(255,255,255,.94); padding:5px; border-radius:10px; box-shadow:0 3px 12px rgba(0,0,0,.08); }
.hero-slider-controls button { display:inline-flex; justify-content:center; align-items:center; min-width:32px; min-height:32px; border:1px solid var(--gray-light); border-radius:6px; background:#fff; color:var(--blue-dark); cursor:pointer; font:700 21px/1 var(--font-heading); }
.hero-slider-controls .hero-slider-pause { padding:0 8px; font:700 11px/1 var(--font-heading); }
.hero-slider-count { min-width:39px; text-align:center; font:700 12px/1 var(--font-heading); }
.hero-slider-controls button:hover { background:var(--gray-light); }
/* Sección de proceso: gris institucional solicitado */
.process-section { background:var(--gray-light); }
/* Misión y visión: desplegables visibles e identificables */
.about-accordion { margin:0 0 26px; display:grid; gap:12px; }
.about-item { border:1px solid var(--gray-light); border-radius:11px; background:#fff; padding:0 18px; }
.about-item summary { cursor:pointer; padding:16px 0; font:700 18px/1.35 var(--font-heading); color:var(--gray-dark); }
.about-item summary::marker { color:var(--orange); }
.about-item[open] summary { color:var(--blue-dark); }
.about-item p { padding:0 0 17px; margin:0; font:400 17px/1.6 var(--font-body); color:var(--gray-medium); }
.about-values-details[open] .about-values { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); column-gap:15px; }
@media(max-width:900px) { .hero-slider { max-width:600px; margin-inline:auto; } }
@media(max-width:600px) { .hero-slider-controls { top:8px; right:8px; } .hero-slider-controls button { min-width:30px; min-height:30px; } .hero-slide-caption { font-size:12px; } .about-values-details[open] .about-values { grid-template-columns:1fr; } }
@media(prefers-reduced-motion:reduce) { .hero-slide { transition:none; } }


/* ============================================================
   DIGITAL DESIGNS · ACTUALIZACIÓN V4 · 17 OCT 2026
   Mantiene todas las secciones previamente aprobadas.
   ============================================================ */

/* CABECERA: sin botón fijo; cada vínculo activo sigue la sección visible. */
.header-inner { gap: clamp(16px, 2.2vw, 28px); }
.brand { width: clamp(205px, 24vw, 320px); }
.site-nav { gap: clamp(12px, 1.35vw, 22px); }
.site-nav a,
.site-nav .nav-contact {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 8px 2px;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--gray-dark);
  font-weight: 600;
  transition: color .2s ease;
}
.site-nav a::after {
  content: "";
  position: absolute;
  bottom: 6px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--orange);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform .2s ease;
}
.site-nav a:hover,
.site-nav a.is-active,
.site-nav .nav-contact:hover { color: var(--blue-dark); background: transparent; }
.site-nav a:hover::after,
.site-nav a.is-active::after,
.site-nav a:focus-visible::after { transform: scaleX(1); }
@media (min-width:801px) and (max-width:1050px) {
  .brand { width: clamp(170px, 20vw, 225px); }
  .site-nav { gap: 10px; }
}
@media (max-width:800px) {
  .brand { width: min(220px, calc(100vw - 140px)); }
  .site-nav a,
  .site-nav .nav-contact { width:100%; padding:14px 12px; }
  .site-nav a::after { left:12px; right:auto; width:50px; bottom:7px; }
  .site-nav a.is-active { color:var(--blue-dark); background:#EFF4FA; border-radius:6px; }
}

/* HERO: más alto y con carrusel grande; el eslogan permanece fijo. */
.hero {
  min-height: min(760px, calc(100svh - 88px));
  display:flex;
  align-items:center;
  padding-block: clamp(85px, 10vw, 125px);
  background: radial-gradient(circle at 94% 18%, rgba(113,156,210,.13), transparent 36%), var(--white);
}
.hero-layout { width:100%; grid-template-columns:minmax(0,1.02fr) minmax(0,.98fr); gap:clamp(30px,4vw,64px); }
.hero-content { max-width:590px; }
.hero-copy { max-width:540px; }
#titulo-principal { font-size:clamp(37px,4.9vw,64px); line-height:.94; margin-bottom:26px; }
.hero-actions { gap:13px; margin-top:30px; }
.hero-visual { min-width:0; }
.hero-slider { width:100%; aspect-ratio:4/3; border-radius:22px; box-shadow:0 22px 55px rgba(27,82,144,.15); }
.hero-slide { transition:opacity .85s ease, visibility .85s ease; }
.hero-slide-caption { bottom:22px; left:22px; font-size:14px; }
.hero-slider-controls { right:15px; top:15px; }
@media (max-width:900px) {
  .hero { min-height:0; padding-block:76px; }
  .hero-layout { grid-template-columns:1fr; gap:35px; }
  .hero-slider { max-width:660px; }
}
@media (max-width:600px) {
  .hero { padding-block:62px; }
  #titulo-principal { font-size:clamp(32px,9.1vw,46px); }
  .hero-slide-caption {bottom:10px;left:12px;}
  .hero-actions .button { flex:1 1 170px; }
}

/* BOTONES: azul principal, naranja destacado, hover sin alterar la marca. */
.button-primary { background:var(--blue); border-color:var(--blue); color:var(--white); }
.button-primary:hover { background:var(--blue-dark); border-color:var(--blue-dark); color:var(--white); }
.button-accent { background:var(--orange); border-color:var(--orange); color:#1C1C1C; }
.button-accent:hover { background:#BA460D; border-color:#BA460D; color:var(--white); }
.button-outline { color:var(--blue-dark); border-color:var(--blue); }
.button-outline:hover { background:#EBF2FA; color:var(--blue-dark); }

/* SERVICIOS: contraste y relieve sutil en hover y foco de teclado. */
.service-card { position:relative; isolation:isolate; overflow:hidden; transition:background .28s ease, transform .28s ease, border-color .28s ease, box-shadow .28s ease; }
.service-card::before { content:""; position:absolute; inset:0 auto 0 0; width:4px; background:var(--orange); transform:scaleY(0); transform-origin:bottom; transition:transform .28s ease; }
.service-card:hover, .service-card:focus-within { background:#F0F5FB; border-color:var(--blue); transform:translateY(-6px); box-shadow:0 18px 38px rgba(27,82,144,.14); }
.service-card:hover::before, .service-card:focus-within::before { transform:scaleY(1); }
.service-icon { transition:background .25s ease,color .25s ease; }
.service-card:hover .service-icon, .service-card:focus-within .service-icon { background:var(--blue); color:var(--white); }
.service-link { transition:color .2s ease; }
.service-card:hover .service-link, .service-link:focus-visible { color:#BA460D; }

/* PROCESO: fondo gris oficial, números activos por desplazamiento y hover. */
.process-section { background:var(--gray-light); }
.process-steps::before { background:#C6CDD6; }
.process-number { transition:background .25s ease,color .25s ease,border-color .25s ease,box-shadow .25s ease,transform .25s ease; }
.process-step .process-step-body { transition:transform .25s ease, border-color .25s ease,box-shadow .25s ease,background .25s ease; }
.process-step.is-active .process-number, .process-step:hover .process-number {
  background:var(--blue); color:var(--white); border-color:var(--blue); box-shadow:0 0 0 5px rgba(49,116,186,.13); transform:scale(1.035);
}
.process-step.is-active .process-step-body, .process-step:hover .process-step-body {
  background:#FFFFFF; border-color:var(--blue); box-shadow:0 12px 26px rgba(27,82,144,.13); transform:translateX(4px);
}
.process-step:hover .process-number { background:var(--orange); border-color:var(--orange); box-shadow:0 0 0 5px rgba(242,101,34,.14); }

/* NOSOTROS: los tres desplegables viven juntos DENTRO del panel gris. */
.about-panel-accordion { border-top:1px solid rgba(255,255,255,.28); margin-top:27px; }
.about-panel-item { margin:0; border-bottom:1px solid rgba(255,255,255,.23); }
.about-panel-item:last-child { border-bottom:0; }
.about-panel-item summary { list-style:none; display:flex; align-items:center; gap:11px; padding:17px 0; cursor:pointer; font:700 17px/1.35 var(--font-heading); color:var(--white); }
.about-panel-item summary::-webkit-details-marker { display:none; }
.about-panel-item summary::before { content:"+"; flex:none; width:24px; height:24px; display:flex; justify-content:center; align-items:center; border:1px solid var(--orange-secondary); border-radius:50%; color:var(--orange-secondary); font:700 19px/1 var(--font-heading); }
.about-panel-item[open] summary::before { content:"−"; background:var(--orange-secondary); color:#232323; }
.about-panel-item[open] summary { color:#FFFFFF; }
.about-panel-item > p { margin:0 0 20px 35px; color:#F2F2F2; font:400 16px/1.62 var(--font-body); }
.about-panel-item summary:hover { color:#FFD9C2; }
.about-panel-item summary:focus-visible { outline:3px solid var(--orange-secondary); outline-offset:5px; border-radius:3px; }
.about-panel-item .about-values { margin:0 0 10px 35px; display:grid; grid-template-columns:1fr; }
.about-panel-item .about-values li { grid-template-columns:27px minmax(0,1fr); padding:12px 0; }
.about-panel-item .about-values h4 { font-size:16px; }
.about-panel-item .about-values p { font-size:15px; }
@media(max-width:600px) { .about-panel-item > p, .about-panel-item .about-values { margin-left:0; } }

/* CONTACTO: fichas gemelas con formulario sobre gris institucional. */
.contact-layout { align-items:stretch; }
.contact-info,.contact-form { height:100%; box-shadow:0 10px 32px rgba(0,0,0,.035); }
.contact-form { background:var(--gray-dark); color:var(--white); border-color:var(--gray-dark); border-top:4px solid var(--orange); }
.contact-form h3, .contact-form > p, .contact-form label { color:var(--white); }
.contact-form .form-field input, .contact-form .form-field select, .contact-form .form-field textarea { background:var(--white); color:var(--gray-dark); border-color:#BDBDBD; }
.contact-form .form-note { color:#F0F0F0; }
.contact-form .form-note a { color:#FFFFFF; }
.contact-form .button-accent { font-weight:700; }
.contact-info .button { margin-top:auto; }

/* FOOTER: logotipo vectorial sobre soporte blanco; sociales y contacto. */
.footer-layout { grid-template-columns:minmax(0,1.1fr) minmax(0,.75fr) minmax(0,1.1fr); }
.footer-brand-mark { display:flex; justify-content:center; align-items:center; width:min(100%,260px); min-height:150px; padding:21px 22px; border-radius:12px; background:#FFFFFF; margin-bottom:20px; text-decoration:none; }
.footer-brand-mark img { display:block; width:100%; max-height:120px; height:auto; object-fit:contain; }
.footer-social-heading { margin-top:24px; margin-bottom:14px; }
.footer-socials { display:flex; flex-wrap:wrap; gap:10px; }
.footer-socials a { display:inline-flex; align-items:center; gap:9px; padding:9px 12px; border:1px solid rgba(255,255,255,.36); border-radius:8px; color:var(--white); text-decoration:none; font:600 14px var(--font-heading); transition:background .2s ease, border-color .2s ease; }
.footer-socials a:hover { background:var(--blue); border-color:var(--blue); }
.footer-socials svg { width:19px; height:19px; flex:none; }
@media(max-width:900px) { .footer-layout {grid-template-columns:repeat(2,minmax(0,1fr));} }
@media(max-width:600px) { .footer-layout {grid-template-columns:1fr;} }

/* BOTÓN FLOTANTE DE WHATSAPP (sin ocultar el contenido móvil). */
.whatsapp-float { position:fixed; z-index:50; right:clamp(15px,2.4vw,30px); bottom:clamp(16px,2.4vw,30px); display:inline-flex; align-items:center; gap:9px; padding:12px 17px; background:#167D46; color:#FFFFFF; border:2px solid #FFFFFF; border-radius:50px; box-shadow:0 7px 24px rgba(0,0,0,.24); text-decoration:none; font:700 14px var(--font-heading); transition:transform .2s ease,background .2s ease; }
.whatsapp-float:hover { transform:translateY(-3px); background:#0D6338; }
.whatsapp-float svg { width:23px; height:23px; flex:none; }
@media(max-width:600px) { .whatsapp-float {padding:13px; border-radius:50%;} .whatsapp-float span {position:absolute; width:1px; height:1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap;} }
@media(prefers-reduced-motion:reduce) {
  .site-nav a::after,.service-card,.service-card::before,.service-icon,.process-number,.process-step .process-step-body,.whatsapp-float,.hero-slide { transition:none !important; }
  .service-card:hover,.service-card:focus-within,.process-step.is-active .process-step-body,.process-step:hover .process-step-body,.whatsapp-float:hover {transform:none;}
}


/* ============================================================
   DIGITAL DESIGNS · AJUSTE V5
   Hero a pantalla ancha con fotografía detrás del eslogan,
   botones accesibles y logotipo NEGATIVO sin marco blanco.
   ============================================================ */
.visually-hidden { position:absolute !important; width:1px !important; height:1px !important; padding:0 !important; margin:-1px !important; overflow:hidden !important; clip:rect(0,0,0,0) !important; white-space:nowrap !important; border:0 !important; }

.hero.hero-cinematic {
  position:relative;
  isolation:isolate;
  display:flex;
  align-items:center;
  width:100%;
  min-height:clamp(620px, calc(100svh - 88px), 850px);
  padding:clamp(78px, 9vw, 115px) 0;
  background:#F2F0EE;
  overflow:hidden;
}
.hero.hero-cinematic::before {
  content:"";
  position:absolute;
  inset:0;
  z-index:1;
  pointer-events:none;
  background:linear-gradient(90deg,
    rgba(255,255,255,.99) 0%,
    rgba(255,255,255,.99) 26%,
    rgba(255,255,255,.91) 38%,
    rgba(255,255,255,.65) 50%,
    rgba(255,255,255,.22) 66%,
    rgba(255,255,255,.00) 86%);
}
/* Las imágenes son fondo real de la misma sección, NO otra columna. */
.hero-cinematic .hero-media,
.hero-cinematic .hero-slider {
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  max-width:none;
  aspect-ratio:auto;
  margin:0;
  border:0;
  border-radius:0;
  box-shadow:none;
  overflow:hidden;
}
.hero-cinematic .hero-media { z-index:0; pointer-events:none; }
.hero-cinematic .hero-slider { background:#E8E7E5; }
.hero-cinematic .hero-slide {
  position:absolute;
  inset:0;
  opacity:0;
  visibility:hidden;
  z-index:0;
  transition:opacity 1.15s ease, visibility 1.15s ease;
}
.hero-cinematic .hero-slide.is-active { opacity:1; visibility:visible; z-index:1; }
.hero-cinematic .hero-slide img {
  position:absolute;
  top:0;
  right:0;
  left:auto;
  bottom:auto;
  display:block;
  width:75%;
  height:100%;
  object-fit:cover;
  object-position:50% 50%;
  transform-origin:65% 50%;
  transform:scale(1.10) translate3d(1.2%,0,0);
  transition:transform 6.2s cubic-bezier(.23,.60,.25,1);
  will-change:transform;
}
.hero-cinematic .hero-slide.is-active img { transform:scale(1.025) translate3d(-.4%,0,0); }
.hero-cinematic .hero-layout {
  position:relative;
  z-index:2;
  display:flex;
  align-items:center;
  width:min(1200px,calc(100% - 80px));
  max-width:1200px;
  margin-inline:auto;
  gap:0;
  pointer-events:none;
}
.hero-cinematic .hero-content {
  position:relative;
  max-width:min(550px, 52%);
  order:0;
  pointer-events:auto;
}
.hero-cinematic .hero-content h1 { margin:0 0 34px; max-width:none; }
.hero-cinematic #titulo-principal { font-size:clamp(42px,5.2vw,78px); line-height:.94; font-weight:900; letter-spacing:-.025em; }
.hero-cinematic .hero-word { display:block; white-space:nowrap; }
.hero-cinematic .hero-word-orange { color:var(--orange); }
.hero-cinematic .hero-word-blue { color:var(--blue); }
.hero-cinematic .hero-word-dark { color:var(--gray-dark); }
.hero-cinematic .eyebrow { font-size:clamp(10px,1vw,13px); color:var(--gray-dark); }
.hero-cinematic .hero-copy { max-width:480px; margin:0; font:400 clamp(17px,1.6vw,23px)/1.48 var(--font-body); color:var(--gray-dark); }
.hero-cinematic .hero-actions { margin-top:32px; gap:14px; }
.hero-cinematic .hero-actions .button { min-width:155px; min-height:48px; font-size:15px; }
.hero-cinematic .hero-slider-controls {
  position:absolute;
  z-index:3;
  top:auto;
  right:clamp(20px,3vw,45px);
  bottom:clamp(88px,7.5vw,106px);
  display:flex;
  align-items:center;
  gap:6px;
  padding:6px;
  border-radius:11px;
  background:rgba(255,255,255,.92);
  box-shadow:0 7px 22px rgba(0,0,0,.10);
}
.hero-cinematic .hero-slider-controls button { cursor:pointer; }
.hero-cinematic .hero-slider-count { min-width:40px; font-size:12px; }
/* Mensaje de WhatsApp: blanco con un naranja más oscuro (contraste legible). */
.contact-form .button.button-accent {
  background:#BA460D;
  border-color:#BA460D;
  color:#FFFFFF;
  font-weight:700;
}
.contact-form .button.button-accent:hover,
.contact-form .button.button-accent:focus-visible {
  background:#963709;
  border-color:#963709;
  color:#FFFFFF;
}
/* Logotipo negativo: SVG real, sin borde ni caja de apoyo. */
.site-footer .footer-brand-mark {
  display:inline-flex;
  justify-content:flex-start;
  align-items:center;
  width:min(100%,255px);
  height:auto;
  min-height:0;
  padding:0;
  margin:0 0 24px;
  border:0;
  border-radius:0;
  background:transparent;
  box-shadow:none;
}
.site-footer .footer-brand-mark img { display:block; width:100%; height:auto; max-height:none; object-fit:contain; }

@media(max-width:1000px) {
  .hero-cinematic .hero-layout { width:min(100% - 56px, 1120px); }
  .hero-cinematic .hero-content { max-width:min(560px,60%); }
  .hero-cinematic #titulo-principal { font-size:clamp(40px,5.5vw,64px); }
  .hero-cinematic .hero-slide img { width:82%; }
}
@media(max-width:700px) {
  .hero.hero-cinematic { min-height:750px; padding:0; display:block; }
  .hero.hero-cinematic::before {
    background:linear-gradient(180deg,
      rgba(255,255,255,.995) 0%,
      rgba(255,255,255,.985) 38%,
      rgba(255,255,255,.90) 57%,
      rgba(255,255,255,.50) 78%,
      rgba(255,255,255,.12) 100%);
  }
  .hero-cinematic .hero-slide img {
    top:auto; bottom:0; width:100%; height:72%;
    object-position:50% 52%; transform-origin:50% 90%;
  }
  .hero-cinematic .hero-layout {
    display:flex;
    align-items:flex-start;
    justify-content:flex-start;
    width:calc(100% - 36px);
    min-height:750px;
    padding:45px 0 295px;
    margin:0 auto;
  }
  .hero-cinematic .hero-content { max-width:100%; width:100%; }
  .hero-cinematic #titulo-principal { font-size:clamp(38px,10vw,56px); line-height:.99; margin-bottom:25px; }
  .hero-cinematic .hero-copy { max-width:560px; font-size:clamp(16px,4.1vw,19px); line-height:1.55; }
  .hero-cinematic .hero-actions { margin-top:22px; }
  .hero-cinematic .hero-actions .button { flex:1 1 142px; min-width:0; padding:10px 12px; font-size:14px; }
  .hero-cinematic .hero-slider-controls { right:14px; bottom:83px; }
}
@media(max-width:380px) {
  .hero.hero-cinematic { min-height:790px; }
  .hero-cinematic .hero-layout { min-height:790px; width:calc(100% - 28px); padding-top:38px; }
  .hero-cinematic #titulo-principal { font-size:clamp(34px,9.3vw,40px); }
  .hero-cinematic .hero-actions { gap:9px; }
}
@media(prefers-reduced-motion:reduce) {
  .hero-cinematic .hero-slide { transition:none !important; }
  .hero-cinematic .hero-slide img,
  .hero-cinematic .hero-slide.is-active img { transition:none !important; transform:none !important; will-change:auto; }
}


/* ==============================================================
   DIGITAL DESIGNS · V6 — HERO DE REFERENCIA
   Fondo cambiante con texto fijo. Las seis imágenes viven en
   assets/img/hero/ y NO comparten los archivos del portafolio.
   =============================================================== */
.hero.hero-cinematic {
  align-items:flex-start;
  min-height:clamp(740px, calc(100svh - 88px), 990px);
  padding:clamp(60px, 6vh, 92px) 0 96px;
  background:#F1EFED;
}
.hero.hero-cinematic::before {
  background:linear-gradient(90deg,
    rgba(245,244,242,.72) 0%,
    rgba(245,244,242,.43) 24%,
    rgba(245,244,242,.09) 40%,
    rgba(245,244,242,0) 58%);
}
.hero-cinematic .hero-slide img {
  width:100%;
  height:100%;
  top:0;
  right:0;
  object-fit:cover;
  object-position:center center;
}
.hero-cinematic .hero-layout {
  width:calc(100% - 80px);
  max-width:none;
  margin-inline:40px;
}
.hero-cinematic .hero-content {
  width:min(455px, 45vw);
  max-width:none;
}
.hero-cinematic .eyebrow {
  margin:0 0 22px;
  font-size:clamp(11px, 1.06vw, 15px);
  font-weight:700;
}
.hero-cinematic #titulo-principal {
  font-size:clamp(46px, 5vw, 78px);
  line-height:.94;
  letter-spacing:-.022em;
  margin:0 0 38px;
}
.hero-cinematic .hero-copy {
  max-width:370px;
  font-size:clamp(18px, 1.65vw, 24px);
  line-height:1.48;
  margin:0;
}
.hero-cinematic .hero-actions {
  display:flex;
  flex-wrap:wrap;
  gap:18px;
  margin-top:36px;
}
.hero-cinematic .hero-actions .button {
  flex:0 0 183px;
  min-width:0;
  min-height:52px;
  padding:12px 18px;
  font-size:18px;
  font-weight:700;
  border-width:2px;
  color:#fff;
  transition:background-color .22s ease,border-color .22s ease,color .22s ease;
}
/* Inversión cromática al pasar, enfocar o pulsar. */
.hero-cinematic .hero-actions .button-primary,
.hero-cinematic .hero-actions .button-accent:hover,
.hero-cinematic .hero-actions .button-accent:focus-visible,
.hero-cinematic .hero-actions .button-accent:active {
  background:var(--blue);
  border-color:var(--blue);
  color:#fff;
}
.hero-cinematic .hero-actions .button-accent,
.hero-cinematic .hero-actions .button-primary:hover,
.hero-cinematic .hero-actions .button-primary:focus-visible,
.hero-cinematic .hero-actions .button-primary:active {
  background:var(--orange);
  border-color:var(--orange);
  color:#fff;
}
/* Conservamos una pausa accesible sin la barra visual de controles. */
.hero-cinematic .hero-slider-controls {
  top:auto;
  bottom:22px;
  right:24px;
  padding:0;
  background:transparent;
  box-shadow:none;
}
.hero-cinematic .hero-slider-prev,
.hero-cinematic .hero-slider-next,
.hero-cinematic .hero-slider-count { display:none; }
.hero-cinematic .hero-slider-controls .hero-slider-pause {
  width:38px;
  min-width:38px;
  height:38px;
  min-height:38px;
  padding:0;
  border:1px solid rgba(59,59,60,.25);
  border-radius:50%;
  background:rgba(255,255,255,.82);
  color:var(--gray-dark);
  font-size:0;
  backdrop-filter:blur(3px);
}
.hero-cinematic .hero-slider-controls .hero-slider-pause::before {
  content:"Ⅱ";
  font:700 18px/1 var(--font-heading);
}
.hero-cinematic .hero-slider-controls .hero-slider-pause[aria-label="Reanudar presentación"]::before {
  content:"▶";
  font-size:14px;
}
/* Redes: únicamente iconos, con etiquetas accesibles en HTML. */
.site-footer .footer-socials { gap:12px; }
.site-footer .footer-socials a {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:46px;
  height:46px;
  padding:0;
  border-radius:50%;
}
.site-footer .footer-socials svg { width:23px; height:23px; }
.whatsapp-float {
  justify-content:center;
  width:54px;
  height:54px;
  min-width:54px;
  min-height:54px;
  padding:0;
  gap:0;
  border-radius:50%;
}
.whatsapp-float svg { width:28px; height:28px; }
@media(max-width:1000px) {
  .hero-cinematic .hero-layout { width:calc(100% - 60px); margin-inline:30px; }
  .hero-cinematic .hero-content { width:min(460px, 51vw); max-width:none; }
  .hero-cinematic #titulo-principal { font-size:clamp(42px, 5.5vw, 65px); }
  .hero-cinematic .hero-actions .button { flex-basis:155px; font-size:16px; }
}
@media(max-width:700px) {
  .hero.hero-cinematic { min-height:810px; padding:0; display:block; }
  .hero.hero-cinematic::before {
    background:linear-gradient(180deg,
      rgba(250,249,247,.98) 0%,
      rgba(250,249,247,.98) 35%,
      rgba(250,249,247,.86) 52%,
      rgba(250,249,247,.18) 79%,
      rgba(250,249,247,0) 100%);
  }
  .hero-cinematic .hero-slide img { width:100%; height:73%; top:auto; bottom:0; object-position:center; }
  .hero-cinematic .hero-layout {
    width:calc(100% - 36px);
    margin-inline:18px;
    min-height:810px;
    padding:46px 0 315px;
  }
  .hero-cinematic .hero-content { width:100%; max-width:none; }
  .hero-cinematic #titulo-principal { font-size:clamp(39px, 10vw, 56px); margin-bottom:22px; }
  .hero-cinematic .hero-copy { max-width:540px; font-size:clamp(16px,4vw,19px); line-height:1.55; }
  .hero-cinematic .hero-actions { gap:12px; margin-top:24px; }
  .hero-cinematic .hero-actions .button {
    flex:1 1 140px;
    min-height:48px;
    padding:9px 10px;
    font-size:16px;
  }
  .hero-cinematic .hero-slider-controls { bottom:76px; right:16px; }
}
@media(max-width:380px) {
  .hero.hero-cinematic { min-height:830px; }
  .hero-cinematic .hero-layout { min-height:830px; padding-top:42px; }
  .hero-cinematic #titulo-principal { font-size:clamp(34px,9.3vw,40px); }
  .hero-cinematic .hero-actions .button { font-size:15px; }
}
@media(prefers-reduced-motion:reduce) {
  .hero-cinematic .hero-actions .button { transition:none; }
}


/* ========================================================
   Digital Designs · V7 - CONTACTO / COTIZACIÓN
   Se limita a .contact-v7, sin alterar otras secciones.
   ======================================================== */
.contact-section.contact-v7 {
  padding-block: clamp(75px, 7vw, 112px);
  background: var(--white);
}
.contact-v7 .contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.45fr) minmax(0, 0.55fr);
  gap: 28px;
  align-items: stretch;
  max-width: 1100px;
  margin-inline: auto;
}
.contact-v7 .contact-info,
.contact-v7 .contact-form {
  box-shadow: none;
  border-radius: 18px;
  height: 100%;
  min-width: 0;
  padding: clamp(24px, 3vw, 38px);
}
.contact-v7 .contact-info {
  display: flex;
  flex-direction: column;
  color: var(--gray-dark);
  background: #FFF;
  border: 1px solid #B9B9B9;
}
.contact-v7 .contact-info h2,
.contact-v7 .contact-direct h3 {
  margin: 0;
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: clamp(23px, 2.2vw, 28px);
  line-height: 1.25;
  color: var(--gray-dark);
}
.contact-v7 .contact-intro {
  margin: 25px 0 36px;
  color: var(--gray-dark);
  font: 400 18px/1.35 var(--font-body);
}
/* Las tres franjas informativas utilizan los SVG compuestos originales,
   con iconos y texto ya integrados en cada archivo. No llevan enlaces. */
.contact-v7 .contact-directory {
  display: block;
  margin: 12px 0 0;
  font-style: normal;
}
.contact-v7 .contact-directory-row {
  display: flex;
  align-items: center;
  min-height: 100px;
  padding: 18px 0;
  border-bottom: 1px solid #B6B6B6;
}
.contact-v7 .contact-directory-graphic {
  display: block;
  width: 100%;
  max-width: 440px;
  height: auto;
  max-height: 70px;
  object-fit: contain;
  object-position: left center;
}
.contact-v7 .contact-direct {margin-top: auto; padding-top: clamp(45px, 7vw, 75px);}
.contact-v7 .contact-direct h3 {
  padding-bottom: 12px;
  border-bottom: 1px solid #B6B6B6;
}
/* Accesos rápidos con iconografía SVG oficial de Digital Designs. */
.contact-v7 .contact-shortcuts {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  align-items: center;
  width: 100%;
  margin-top: clamp(26px, 4vw, 46px);
}
.contact-v7 .contact-shortcuts a {
  display: flex;
  position: relative;
  align-items: center;
  justify-content: center;
  min-width: 0;
  height: 72px;
  padding: 5px;
  overflow: hidden;
  border-radius: 5px;
  transition: background-color .2s ease, transform .2s ease;
}
.contact-v7 .contact-shortcuts a + a {
  border-left: 1px solid #B6B6B6;
  border-radius: 0;
}
.contact-v7 .contact-shortcuts img {
  display: block;
  width: 74px;
  height: 74px;
  max-width: none;
  flex: 0 0 auto;
  object-fit: contain;
  /* Amplía el dibujo contenido en los SVG si tienen márgenes internos. */
  transform: scale(1.25);
}
.contact-v7 .contact-shortcuts a:hover,
.contact-v7 .contact-shortcuts a:focus-visible {
  background: #EAF1F8;
  transform: translateY(-3px);
}
/* Formulario oscuro como la referencia aprobada */
.contact-v7 .contact-form {
  background: var(--gray-dark);
  color: #FFF;
  border: 1px solid var(--gray-dark);
  border-top: 1px solid var(--gray-dark);
}
.contact-v7 .contact-form h3 {
  margin: 0 0 15px;
  color: #FFF;
  font: 900 clamp(23px, 2.2vw, 28px)/1.2 var(--font-heading);
}
.contact-v7 .contact-form .contact-form-intro {
  margin: 0 0 26px;
  color: #FFF;
  font: 400 18px/1.4 var(--font-body);
}
.contact-v7 .form-field {gap: 7px; margin: 0 0 17px;}
.contact-v7 .form-field label {color: #FFF; font: 700 14px/1.35 var(--font-heading);}
.contact-v7 .form-field input,
.contact-v7 .form-field select,
.contact-v7 .form-field textarea {
  display: block;
  width: 100%;
  min-height: 47px;
  background: #FFF;
  color: var(--gray-dark);
  font: 400 16px/1.45 var(--font-body);
  border: 1px solid #DADADA;
  border-radius: 8px;
  padding: 10px 13px;
}
.contact-v7 .form-field textarea {min-height: 85px; resize: vertical;}
.contact-v7 .contact-form-actions {display:flex; justify-content:flex-end; margin-top:22px;}
.contact-v7 .contact-form-actions .button {
  width: 128px;
  min-width: 128px;
  margin: 0;
  padding: 12px 20px;
  background: var(--blue);
  color: #FFF;
  border-color: var(--blue);
  font: 700 17px/1.2 var(--font-heading);
}
.contact-v7 .contact-form-actions .button:hover,
.contact-v7 .contact-form-actions .button:focus-visible {
  background: var(--orange);
  border-color: var(--orange);
  color: #FFF;
}
.contact-v7 .contact-form .form-note {
  margin: 13px 0 0 auto;
  max-width: 360px;
  text-align: center;
  color: #F3F3F3;
  font: 400 14px/1.32 var(--font-body);
}
@media (max-width: 900px) {
  .contact-v7 .contact-layout {grid-template-columns: 1fr; max-width: 660px;}
  .contact-v7 .contact-shortcuts {margin-top: 28px;}
  .contact-v7 .contact-direct {padding-top: 38px;}
}
@media (max-width: 600px) {
  .contact-section.contact-v7 {padding-block: 60px;}
  .contact-v7 .contact-info,.contact-v7 .contact-form {padding: 24px 20px;}
  .contact-v7 .contact-intro {font-size: 17px;}
  .contact-v7 .contact-directory-row {min-height: 76px; padding: 12px 0;}
  .contact-v7 .contact-directory-graphic {max-width: 100%; max-height: 55px;}
  .contact-v7 .contact-shortcuts a {height: 60px; padding: 2px;}
  .contact-v7 .contact-shortcuts img {width: 62px; height: 62px; transform: scale(1.2);}
  .contact-v7 .contact-form-actions .button {width: 128px; flex: 0 0 128px;}
  .contact-v7 .contact-form .form-note {margin-inline: auto;}
}
@media (prefers-reduced-motion: reduce) {
  .contact-v7 .contact-shortcuts a {transition:none;}
  .contact-v7 .contact-shortcuts a:hover {transform:none;}
}


/* ============================================================
   DIGITAL DESIGNS — FOOTER V9 (aprobación final)
   Únicamente pie de página: 2 columnas × 3 filas en Explorar.
   Contacto y redes se eliminan del footer, no del contenido.
   ============================================================ */
.site-footer .footer-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(36px, 7vw, 108px);
  align-items: start;
}
.site-footer .footer-layout > :first-child { grid-column: auto; }
.site-footer .footer-explore { min-width: 0; }
.site-footer .footer-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-rows: repeat(3, auto);
  grid-auto-flow: column;
  gap: 19px 30px;
  align-items: start;
}
.site-footer .footer-links a {
  display: block;
  color: var(--white);
  text-decoration: none;
  font: 600 14px/1.45 var(--font-heading);
}
.site-footer .footer-links a:hover,
.site-footer .footer-links a:focus-visible {
  color: #FFFFFF;
  text-decoration: underline;
  text-decoration-color: var(--orange);
  text-underline-offset: 5px;
}
.site-footer .footer-bottom {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
}
.site-footer .footer-bottom p {
  margin: 0;
  text-align: center;
  padding-inline: 110px;
}
.site-footer .footer-back {
  position: absolute;
  top: 26px;
  right: 0;
}
@media (max-width: 760px) {
  .site-footer .footer-layout {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .site-footer .footer-layout > :first-child {
    grid-column: auto;
  }
  .site-footer .footer-links { gap: 15px 20px; }
  .site-footer .footer-bottom {
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 12px;
  }
  .site-footer .footer-bottom p { padding-inline: 0; }
  .site-footer .footer-back { position: static; }
}


/* ============================================================
   DIGITAL DESIGNS · V10 / ACCESOS DIRECTOS EN CABECERA
   No modifica el diseño aprobado de otras secciones.
   ============================================================ */

/* Logotipo, menú principal y accesos directos comparten una fila. */
.site-header .header-inner {
  gap: clamp(12px, 1.6vw, 24px);
}
.site-header .brand {
  width: clamp(185px, 19vw, 240px);
}
.site-header .site-nav {
  gap: clamp(8px, 1.1vw, 16px);
}
.site-header .header-shortcuts {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 3px;
  padding-left: 13px;
  margin-left: 6px;
  border-left: 1px solid var(--gray-light);
}
.site-header .site-nav .header-shortcuts a {
  display: inline-flex;
  flex: 0 0 36px;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 40px;
  min-height: 40px;
  padding: 3px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  text-decoration: none;
  transition: background-color .2s ease;
}
.site-header .site-nav .header-shortcuts a::after { content: none; }
.site-header .header-shortcuts img {
  display: block;
  width: 34px;
  height: 34px;
  max-width: 100%;
  object-fit: contain;
  /* El SVG mantiene intacto su azul original. */
  filter: none;
  transition: filter .22s ease, transform .22s ease;
}
/* Gris oscuro corporativo aproximado mediante filtro, sin editar los SVG. */
.site-header .header-shortcuts a:hover img,
.site-header .header-shortcuts a:focus-visible img,
.site-header .header-shortcuts a:active img {
  filter: grayscale(1) brightness(.56);
  transform: translateY(-2px);
}
.site-header .header-shortcuts a:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 2px;
}

/* En tablet y móvil los accesos se integran en el menú desplegable. */
@media (max-width: 1020px) {
  .site-header .header-inner { min-height: 74px; }
  .site-header .brand { width: min(230px, calc(100vw - 140px)); }
  .site-header .menu-toggle { display: block; }
  .site-header .site-nav {
    display: none;
    position: absolute;
    top: 100%; left: 0; right: 0;
    z-index: 25;
    max-height: calc(100dvh - 74px);
    overflow-y: auto;
    padding: 16px 20px 24px;
    background: var(--white);
    border-bottom: 1px solid var(--gray-light);
    box-shadow: 0 12px 18px rgba(0,0,0,.08);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }
  .site-header .site-nav.is-open { display: flex; }
  .site-header .site-nav > a { display: flex; width: 100%; padding: 12px; }
  .site-header .site-nav > a::after { left:12px; right:auto; width:50px; bottom:6px; }
  .site-header .site-nav > a.is-active { background: #EFF4FA; border-radius: 6px; }
  .site-header .header-shortcuts {
    justify-content: center;
    gap: 10px;
    margin: 12px 0 0;
    padding: 16px 0 0;
    border-left: 0;
    border-top: 1px solid var(--gray-light);
  }
  .site-header .site-nav .header-shortcuts a {
    width: 44px;
    height: 44px;
    flex-basis: 44px;
    padding: 5px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .site-header .header-shortcuts img,
  .site-header .header-shortcuts a { transition: none; }
  .site-header .header-shortcuts a:hover img,
  .site-header .header-shortcuts a:focus-visible img { transform: none; }
}

/* =============================================================
   DIGITAL DESIGNS - V11 / ACCESOS EN CABECERA
   Corrige iconos SVG pequeños por espacios internos del archivo.
   Conserva archivos originales y el comportamiento azul -> gris.
   Cambiar solo --header-icon-zoom si fuera necesario.
   ============================================================= */
.site-header {
  --header-icon-zoom: 2.4;
}
.site-header .header-shortcuts {
  gap: 6px;
}
.site-header .site-nav .header-shortcuts a {
  flex: 0 0 42px;
  width: 42px;
  height: 42px;
  min-height: 42px;
  padding: 0;
  overflow: hidden;
}
.site-header .header-shortcuts img {
  width: 38px;
  height: 38px;
  max-width: none;
  flex-shrink: 0;
  object-fit: contain;
  transform: scale(var(--header-icon-zoom));
  transform-origin: center;
  transition: filter .22s ease, transform .22s ease;
}
.site-header .header-shortcuts a:hover img,
.site-header .header-shortcuts a:focus-visible img,
.site-header .header-shortcuts a:active img {
  filter: grayscale(1) brightness(.56);
  transform: scale(var(--header-icon-zoom)) translateY(-1px);
}
@media (max-width: 1020px) {
  .site-header .site-nav .header-shortcuts a {
    flex-basis: 46px;
    width: 46px;
    height: 46px;
    min-height: 46px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .site-header .header-shortcuts img { transition: none; }
}


/* ============================================================
   DIGITAL DESIGNS - V12 / EQUILIBRIO DEL LOGOTIPO Y ACCESOS
   Ajuste exclusivamente del encabezado.
   ============================================================ */
@media (min-width: 1021px) {
  .site-header .brand {
    width: clamp(245px, 24vw, 285px);
    max-width: none;
    flex-shrink: 0;
  }

  .site-header .header-inner {
    gap: 12px;
  }
}

@media (max-width: 1020px) {
  .site-header .brand {
    width: min(235px, calc(100vw - 132px));
  }
}

.site-header .brand img {
  display: block;
  width: 100%;
  height: auto;
}


/* =============================================================
   DIGITAL DESIGNS | V13 - LOGOTIPO HORIZONTAL OPTIMIZADO
   El SVG de cabecera reduce únicamente el espacio transparente
   de su viewBox. No altera los trazados ni colores de marca.
   ============================================================= */
@media (min-width: 1021px) {
  .site-header .header-inner { gap: 10px; }
  .site-header .brand {
    width: clamp(240px, calc(21vw + 32px), 320px);
    max-width: none;
    flex: 0 0 auto;
  }
  .site-header .site-nav { gap: clamp(8px, 0.95vw, 14px); }
}
@media (max-width: 1020px) {
  .site-header .brand {
    width: min(245px, calc(100vw - 130px));
    max-width: none;
  }
}
.site-header .brand img {
  display: block;
  width: 100%;
  height: auto;
}
