.elementor-kit-5{--e-global-color-primary:#10243C;--e-global-color-secondary:#536575;--e-global-color-text:#344456;--e-global-color-accent:#F78B1F;--e-global-color-5889f7b:#FFFFFF;--e-global-color-62a3029:#F5F7F9;--e-global-color-264e153:#E2E8EE;--e-global-color-5236246:#C26514;--e-global-typography-primary-font-family:"Inter";--e-global-typography-primary-font-size:48px;--e-global-typography-primary-font-weight:700;--e-global-typography-primary-line-height:1.15em;--e-global-typography-secondary-font-family:"Inter";--e-global-typography-secondary-font-size:32px;--e-global-typography-secondary-font-weight:600;--e-global-typography-secondary-line-height:1.25em;--e-global-typography-text-font-family:"Inter";--e-global-typography-text-font-size:16px;--e-global-typography-text-font-weight:400;--e-global-typography-text-line-height:1.7em;--e-global-typography-accent-font-family:"Inter";--e-global-typography-accent-font-size:16px;--e-global-typography-accent-font-weight:600;--e-global-typography-accent-line-height:1.4em;}.elementor-kit-5 e-page-transition{background-color:#FFBC7D;}.elementor-section.elementor-section-boxed > .elementor-container{max-width:1140px;}.e-con{--container-max-width:1140px;}.elementor-widget:not(:last-child){--kit-widget-spacing:20px;}.elementor-element{--widgets-spacing:20px 20px;--widgets-spacing-row:20px;--widgets-spacing-column:20px;}{}h1.entry-title{display:var(--page-title-display);}.site-header .site-branding{flex-direction:column;align-items:stretch;}.site-header{padding-inline-end:0px;padding-inline-start:0px;}.site-footer .site-branding{flex-direction:column;align-items:stretch;}@media(max-width:1024px){.elementor-kit-5{--e-global-typography-primary-font-size:40px;--e-global-typography-secondary-font-size:28px;--e-global-typography-text-font-size:16px;--e-global-typography-accent-font-size:16px;}.elementor-section.elementor-section-boxed > .elementor-container{max-width:1024px;}.e-con{--container-max-width:1024px;}}@media(max-width:767px){.elementor-kit-5{--e-global-typography-primary-font-size:32px;--e-global-typography-secondary-font-size:26px;--e-global-typography-text-font-size:16px;--e-global-typography-accent-font-size:15px;}.elementor-section.elementor-section-boxed > .elementor-container{max-width:767px;}.e-con{--container-max-width:767px;}}
/* Start custom CSS *//* ====================================================
   ADI | INDUSTRIAL PRECISION INTRO
   Identidad visual propia para ADI
   Azul acero · blanco técnico · naranja industrial
   ==================================================== */

#adi-intro,
#adi-intro *{
  box-sizing: border-box;
}

#adi-intro {
  position: fixed;
  inset: 0;
  z-index: 999990;

  display: flex;
  align-items: center;
  justify-content: center;

  width: 100%;
  height: 100vh;
  height: 100dvh;

  overflow: hidden;
  isolation: isolate;

  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

/* VISIBILIDAD */

#adi-intro.is-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

/* ====================================================
   PANELES INDUSTRIALES
   Apertura vertical en lugar de lateral
   ==================================================== */

#adi-intro .adi-intro-panel {
  position: absolute;
  left: 0;

  width: 100%;
  height: 50.1%;

  background-color: #e8eff3;

  /* Cuadrícula técnica con líneas muy discretas */
  background-image:
    linear-gradient(
      rgba(16, 36, 60, 0.055) 1px,
      transparent 1px
    ),
    linear-gradient(
      90deg,
      rgba(16, 36, 60, 0.055) 1px,
      transparent 1px
    ),
    linear-gradient(
      135deg,
      #f5f8fa 0%,
      #e8eff3 55%,
      #dce7ee 100%
    );

  background-size:
    54px 54px,
    54px 54px,
    100% 100%;

  transition:
    transform 1.15s cubic-bezier(
      0.76, 0,
      0.24, 1
    );

  will-change: transform;
}

/* PANEL SUPERIOR */

#adi-intro .adi-intro-left {
  top: 0;
  right: 0;
  bottom: auto;

  border: 0;
  border-bottom: 2px solid #f58a1f;
}

/* PANEL INFERIOR */

#adi-intro .adi-intro-right {
  top: auto;
  right: 0;
  bottom: 0;

  border: 0;
  border-top: 2px solid #f58a1f;
}

/* DETALLES INDUSTRIALES EN LOS PANELES */

#adi-intro .adi-intro-left::before,
#adi-intro .adi-intro-right::before {
  content: "";
  position: absolute;

  left: 5%;
  right: 5%;

  height: 1px;

  background: linear-gradient(
    90deg,
    transparent,
    rgba(16, 36, 60, 0.17),
    transparent
  );
}

#adi-intro .adi-intro-left::before {
  top: 16%;
}

#adi-intro .adi-intro-right::before {
  bottom: 16%;
}

/* MARCAS TÉCNICAS NARANJAS */

#adi-intro .adi-intro-left::after,
#adi-intro .adi-intro-right::after {
  content: "";
  position: absolute;

  width: 42px;
  height: 5px;

  background: #f58a1f;
  opacity: 0.85;
}

#adi-intro .adi-intro-left::after {
  top: 16%;
  right: 7%;
}

#adi-intro .adi-intro-right::after {
  bottom: 16%;
  left: 7%;
}

/* ====================================================
   MARCA CENTRAL
   ==================================================== */

#adi-intro .adi-intro-center {
  position: relative;
  z-index: 5;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;

  width: min(90%, 480px);
  gap: 19px;

  opacity: 0;
  transform: translateY(18px) scale(0.96);

  transition:
    opacity 0.55s ease,
    transform 0.65s ease;
}

#adi-intro.is-visible .adi-intro-center {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* ====================================================
   LOGOTIPO
   Soporte técnico claro y limpio
   ==================================================== */


#adi-intro .adi-intro-logo-frame {
  position: relative;

  display: flex;
  align-items: center;
  justify-content: center;

  width: 250px;
  height: 250px;

  padding: 16px;

  background: #ffffff;

  border: 1px solid #d0dce4;
  border-radius: 24px;

  box-shadow:
    0 18px 48px rgba(16, 36, 60, 0.12),
    0 4px 12px rgba(16, 36, 60, 0.05);
}


/* Cuatro esquinas de precisión */

#adi-intro .adi-intro-logo-frame::before {
  content: "";
  position: absolute;

  inset: -9px;

  border: 1px solid rgba(16, 36, 60, 0.22);
  border-radius: 30px;

  pointer-events: none;
}

#adi-intro .adi-intro-logo-frame::after {
  content: "";
  position: absolute;

  bottom: -10px;
  left: 50%;

  width: 54px;
  height: 3px;

  background: #f58a1f;

  transform: translateX(-50%);
  border-radius: 10px;
}

/* LOGO REAL DE ADI */

#adi-intro .adi-intro-logo {
  display: block;

  width: 100%;
  height: 100%;

  object-fit: contain;

  margin: 0;
  padding: 0;

  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

/* ====================================================
   LÍNEA DE PRECISIÓN
   ==================================================== */

#adi-intro .adi-intro-line {
  width: 0;
  height: 2px;

  margin-top: 9px;

  background: linear-gradient(
    90deg,
    #10243c,
    #f58a1f,
    #10243c
  );

  border-radius: 10px;

  transition: width 0.8s ease 0.2s;
}

#adi-intro.is-visible .adi-intro-line {
  width: 150px;
}

/* LEMA */

#adi-intro .adi-intro-slogan {
  margin: 0;
  padding: 0 12px;

  color: #344e61;

  font-family: "Inter", Arial, sans-serif;
  font-size: 10px;
  font-weight: 700;

  letter-spacing: 0.18em;
  line-height: 1.8;

  text-align: center;
}

/* ====================================================
   APERTURA VERTICAL
   ==================================================== */

#adi-intro.is-opening .adi-intro-left {
  transform: translateY(-102%);
}

#adi-intro.is-opening .adi-intro-right {
  transform: translateY(102%);
}

#adi-intro.is-opening .adi-intro-center {
  opacity: 0;
  transform: scale(0.92);

  transition:
    opacity 0.3s ease,
    transform 0.45s ease;
}

/* FINALIZACIÓN */

#adi-intro.is-finished {
  display: none;
}

/* ====================================================
   RESPONSIVE
   ==================================================== */

@media (max-width: 680px) {

  #adi-intro .adi-intro-panel {
    background-size:
      40px 40px,
      40px 40px,
      100% 100%;
  }


#adi-intro .adi-intro-logo-frame {
  width: 195px;
  height: 195px;

  padding: 14px;
  border-radius: 22px;
}


  #adi-intro .adi-intro-logo-frame::before {
    border-radius: 27px;
  }

  #adi-intro .adi-intro-center {
    gap: 17px;
  }

  #adi-intro .adi-intro-slogan {
    max-width: 310px;
    font-size: 9px;
    letter-spacing: 0.11em;
  }

}

/* ====================================================
   ACCESIBILIDAD
   ==================================================== */

@media (prefers-reduced-motion: reduce) {

  #adi-intro {
    display: none !important;
  }

  #adi-intro .adi-intro-panel,
  #adi-intro .adi-intro-center,
  #adi-intro .adi-intro-line {
    animation: none !important;
    transition: none !important;
  }

}



/* =============================================
   ADI - CSS GENERAL / SECCIÓN 01
   Portada y carrusel para Elementor
   ============================================= */

.adi-landing {
  --adi-navy: #12283d;
  --adi-deep: #091c2b;
  --adi-blue: #194567;
  --adi-orange: #f58a1f;
  --adi-white: #ffffff;
  --adi-max: 1280px;

  color: var(--adi-navy);
  font-family: "DM Sans", Arial, sans-serif;
  width: 100%;
}

.adi-landing *,
.adi-landing *::before,
.adi-landing *::after {
  box-sizing: border-box;
}

.adi-landing .wrap {
  width: min(calc(100% - 90px), var(--adi-max));
  margin-inline: auto;
}

.adi-landing a {
  text-decoration: none;
}

.adi-landing button {
  cursor: pointer;
  font-family: inherit;
}

/* =============================================
   PORTADA PRINCIPAL
   ============================================= */

.adi-landing .hero {
  position: relative;
  display: flex;
  align-items: center;
  isolation: isolate;

  width: 100%;
  height: 720px;
  min-height: min(720px, 90svh);

  overflow: hidden;
  background: #091c2b;
  color: #ffffff;
}

/* Fotografías de fondo */

.adi-landing .hero-slides,
.adi-landing .hero-shade,
.adi-landing .hero-grid {
  position: absolute;
  inset: 0;
}

.adi-landing .hero-slides {
  z-index: 0;
  overflow: hidden;
}

.adi-landing .hero-slide {
  position: absolute;
  inset: 0;

  background-size: cover;
  background-position: center;

  opacity: 0;
  transform: scale(1);

  transition: opacity 1.2s ease;
  will-change: transform, opacity;
}

.adi-landing .hero-slide.is-active {
  opacity: 1;
  animation: adiHeroZoom 6.5s linear both;
}

@keyframes adiHeroZoom {
  from {
    transform: scale(1);
  }
  to {
    transform: scale(1.08);
  }
}

/* Oscurecimiento de la imagen */

.adi-landing .hero-shade {
  z-index: 1;
  pointer-events: none;

  background:
    linear-gradient(
      90deg,
      rgba(7, 20, 32, 0.93) 0%,
      rgba(8, 23, 37, 0.80) 42%,
      rgba(9, 24, 39, 0.38) 100%
    ),
    linear-gradient(
      0deg,
      rgba(9, 28, 43, 0.4),
      transparent 30%
    );
}

/* Cuadrícula industrial sutil */

.adi-landing .hero-grid {
  z-index: 1;
  pointer-events: none;

  opacity: 0.22;

  background-image:
    linear-gradient(#ffffff0d 1px, transparent 1px),
    linear-gradient(90deg, #ffffff0d 1px, transparent 1px);

  background-size: 92px 92px;
}

/* =============================================
   CONTENIDO
   ============================================= */

.adi-landing .hero-inner {
  position: relative;
  z-index: 2;

  padding: 50px 0 80px;
}

.adi-landing .hero-kicker {
  margin: 0 0 34px;

  color: #f8c697;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  line-height: 1.6;
}

.adi-landing .hero-kicker i {
  display: inline-block;
  vertical-align: middle;

  width: 35px;
  height: 2px;

  margin-right: 12px;
  background: var(--adi-orange);
}

.adi-landing .hero-overline {
  display: block;

  color: #b8cbd9;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.26em;
  line-height: 1.6;
}

.adi-landing .hero h1 {
  max-width: 920px;
  margin: 22px 0 24px;

  font-family: "Manrope", Arial, sans-serif;
  font-size: clamp(40px, 5.6vw, 83px);
  font-weight: 800;
  letter-spacing: -0.05em;
  line-height: 1.12;
  color: #ffffff;
}

.adi-landing .hero h1 em {
  color: var(--adi-orange);
  font-style: normal;
  font-weight: 800;
}

.adi-landing .hero-caption {
  max-width: 660px;
  margin: 0;

  color: #d6dfe7;
  font-size: 15px;
  line-height: 1.75;
}

/* =============================================
   BOTONES
   ============================================= */

.adi-landing .hero-cta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;

  gap: 32px;
  margin-top: 33px;
}

.adi-landing .button {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;

  gap: 28px;
  min-height: 53px;
  padding: 0 23px;

  border: 0;
  border-radius: 3px;

  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.06em;
  line-height: 1.4;

  transition:
    transform 0.22s ease,
    background 0.22s ease;
}

.adi-landing .button:hover {
  transform: translateY(-3px);
}

.adi-landing .button-orange {
  background: var(--adi-orange);
  color: var(--adi-deep);
}

.adi-landing .button-orange:hover {
  background: #ffa63c;
  color: var(--adi-deep);
}

.adi-landing .button span {
  font-size: 20px;
  font-weight: 500;
}

.adi-landing .hero-textlink {
  display: inline-flex;
  align-items: center;
  gap: 10px;

  padding-bottom: 10px;
  border-bottom: 1px solid #e2e9ed;

  color: #ffffff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.adi-landing .hero-textlink:hover {
  color: var(--adi-orange);
}

/* =============================================
   CONTADOR Y FLECHAS DEL CARRUSEL
   ============================================= */

.adi-landing .hero-bottom {
  position: absolute;
  z-index: 4;

  left: 50%;
  bottom: 40px;
  transform: translateX(-50%);

  display: flex;
  align-items: center;
  justify-content: space-between;
}

.adi-landing .hero-progress {
  display: flex;
  align-items: center;

  gap: 12px;

  font-family: "Manrope", Arial, sans-serif;
  font-size: 20px;
  font-weight: 800;
  color: #ffffff;
}

.adi-landing .hero-progress small {
  color: #9db1c1;
  font-size: 13px;
}

.adi-landing .hero-track {
  width: 150px;
  height: 2px;

  margin-left: 15px;
  background: #ffffff55;
}

.adi-landing .hero-track span {
  display: block;

  width: 0;
  height: 100%;
  background: var(--adi-orange);
}

.adi-landing .hero-arrows {
  display: flex;
  gap: 10px;
}

.adi-landing .hero-arrows button {
  display: grid;
  place-items: center;

  width: 44px;
  height: 44px;

  padding: 0;
  border: 1px solid #ffffff88;
  border-radius: 0;

  color: #ffffff;
  background: #ffffff12;

  font-size: 21px;
  line-height: 1;
}

.adi-landing .hero-arrows button:hover {
  background: var(--adi-orange);
  color: var(--adi-deep);
}

.adi-landing .hero-side {
  position: absolute;
  z-index: 3;

  right: 24px;
  top: 50%;
  transform: translateY(-50%);

  writing-mode: vertical-rl;

  color: #ffffff99;
  font-size: 10px;
  letter-spacing: 0.28em;
}

/* =============================================
   FRANJA ANIMADA DE SERVICIOS
   ============================================= */

.adi-landing .service-strip {
  display: flex;
  align-items: center;

  width: 100%;
  height: 64px;

  overflow: hidden;
  background: var(--adi-navy);
  color: #ffffff;
}

.adi-landing .strip-move {
  display: flex;
  align-items: center;

  width: max-content;
  flex-shrink: 0;
  gap: 38px;

  white-space: nowrap;

  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.18em;

  animation: adiTicker 30s linear infinite;
}

.adi-landing .strip-move span,
.adi-landing .strip-move i {
  flex-shrink: 0;
}

.adi-landing .strip-move i {
  color: var(--adi-orange);
  font-style: normal;
}

@keyframes adiTicker {
  to {
    transform: translateX(-50%);
  }
}

/* =============================================
   TABLET
   ============================================= */

@media (max-width: 780px) {

  .adi-landing .wrap {
    width: calc(100% - 36px);
  }

  .adi-landing .hero {
    min-height: 660px;
    height: min(760px, 90svh);
  }

  .adi-landing .hero-inner {
    padding: 35px 0 75px;
  }

  .adi-landing .hero h1 {
    font-size: clamp(35px, 7.6vw, 61px);
  }

  .adi-landing .hero-caption {
    font-size: 13px;
  }

  .adi-landing .hero-kicker {
    font-size: 10px;
  }

  .adi-landing .hero-side {
    display: none;
  }

  .adi-landing .hero-bottom {
    bottom: 20px;
  }

  .adi-landing .hero-slide {
    background-position: center;
  }

}

/* =============================================
   MÓVIL
   ============================================= */

@media (max-width: 480px) {

  .adi-landing .hero {
    height: auto;
    min-height: 660px;
  }

  .adi-landing .hero h1 {
    font-size: 35px;
  }

  .adi-landing .hero h1 br {
    display: none;
  }

  .adi-landing .hero-kicker {
    letter-spacing: 0.03em;
  }

  .adi-landing .hero-overline {
    font-size: 9px;
    letter-spacing: 0.1em;
  }

  .adi-landing .hero-caption {
    max-width: 315px;
  }

  .adi-landing .hero-cta {
    flex-direction: column;
    align-items: flex-start;
    gap: 17px;
  }

  .adi-landing .hero-track {
    width: 75px;
  }

  .adi-landing .hero-slide {
    background-position: center;
  }

  .adi-landing .service-strip {
    height: 55px;
  }

  .adi-landing .strip-move {
    font-size: 11px;
    gap: 24px;
  }

}

/* =============================================
   ACCESIBILIDAD - MENOS MOVIMIENTO
   ============================================= */

@media (prefers-reduced-motion: reduce) {

  .adi-landing .hero-slide.is-active {
    animation: none;
    transform: none;
  }

  .adi-landing .strip-move {
    animation: none;
  }

  .adi-landing .button {
    transition: none;
  }

}




/* ==========================================
   ADI | SECCIÓN 02: NUESTROS SERVICIOS
   ========================================== */

.adi-landing .section {
  padding: 112px 0;
}

.adi-landing .services {
  background: #ffffff;
}

.adi-landing .section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 30px;
  margin-bottom: 42px;
}

.adi-landing .eyebrow {
  margin: 0 0 18px;
  color: #f58a1f;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.19em;
  text-transform: uppercase;
}

.adi-landing .section-head h2 {
  margin: 0;
  color: #172838;
  font-family: "Manrope", Arial, sans-serif;
  font-size: clamp(34px, 4vw, 58px);
  font-weight: 800;
  line-height: 1.13;
  letter-spacing: -0.05em;
}

.adi-landing .section-head h2 span {
  color: #194567;
}

.adi-landing .head-side {
  margin: 0 0 4px;
  color: #566777;
  font-size: 11px;
  font-weight: 800;
  line-height: 2;
  letter-spacing: 0.11em;
  text-align: right;
}

.adi-landing .service-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.adi-landing .service-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid #e0e7eb;
  background: #ffffff;
  transition: box-shadow .25s ease, transform .25s ease;
}

.adi-landing .service-card:hover {
  box-shadow: 0 20px 48px #11283d16;
  transform: translateY(-6px);
}

.adi-landing .service-image {
  position: relative;
  height: 290px;
  overflow: hidden;
}

.adi-landing .service-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}

.adi-landing .service-card:hover .service-image img {
  transform: scale(1.045);
}

.adi-landing .service-image span {
  position: absolute;
  top: 20px;
  left: 19px;
  padding: 10px 12px;
  background: #10273bd9;
  color: #ffffff;
  font-size: 10px;
  letter-spacing: 0.15em;
}

.adi-landing .service-content {
  padding: 25px 25px 27px;
}

.adi-landing .service-content h3 {
  min-height: 60px;
  margin: 0 0 13px;
  color: #172838;
  font-family: "Manrope", Arial, sans-serif;
  font-size: 22px;
  font-weight: 800;
  line-height: 1.28;
  letter-spacing: -0.035em;
}

.adi-landing .service-content p {
  min-height: 125px;
  margin: 0;
  color: #566777;
  font-size: 14px;
  line-height: 1.8;
}

.adi-landing .service-more {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 14px;
  padding: 13px 0 3px;
  border-bottom: 2px solid #f58a1f;
  color: #194567;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-decoration: none;
}

.adi-landing .service-more span {
  font-size: 17px;
}

.adi-landing .service-more:hover {
  color: #f58a1f;
}

/* Elementos animados: visibles aunque falte JS */
.adi-landing .observe {
  opacity: 1;
  transform: none;
}

/* TABLET */
@media (max-width: 1080px) {
  .adi-landing .service-image {
    height: 240px;
  }

  .adi-landing .service-content p {
    min-height: 170px;
  }
}

/* MÓVIL Y TABLET VERTICAL */
@media (max-width: 780px) {
  .adi-landing .section {
    padding: 75px 0;
  }

  .adi-landing .section-head {
    align-items: flex-start;
  }

  .adi-landing .head-side {
    display: none;
  }

  .adi-landing .service-cards {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .adi-landing .service-image {
    height: 320px;
  }

  .adi-landing .service-content h3,
  .adi-landing .service-content p {
    min-height: 0;
  }
}

@media (max-width: 480px) {
  .adi-landing .service-image {
    height: 250px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .adi-landing .service-card,
  .adi-landing .service-image img {
    transition: none;
  }
}



/* ==========================================
   ADI | SECCIÓN 03: NOSOTROS
   ========================================== */

.adi-landing .about {
  background: #f4f7f8;
  padding: 112px 0;
}

.adi-landing .about-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  align-items: center;
  gap: 9%;
}

/* COMPOSICIÓN FOTOGRÁFICA */

.adi-landing .about-gallery {
  position: relative;
  height: 570px;
  min-width: 0;
}

.adi-landing .about-main {
  width: 77%;
  height: 86%;
  overflow: hidden;
}

.adi-landing .about-main img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.adi-landing .about-small {
  position: absolute;
  right: 0;
  bottom: 0;

  width: 56%;
  height: 47%;

  overflow: hidden;
  border: 9px solid #f4f7f8;
}

.adi-landing .about-small img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* LOGOTIPO EN LUGAR DEL CÍRCULO NARANJA */

.adi-landing .about-logo {
  position: absolute;
  top: 14%;
  right: 5%;
  z-index: 2;

  width: 120px;
  height: 120px;

  display: flex;
  align-items: center;
  justify-content: center;

  background: transparent;
}

.adi-landing .about-logo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* INFORMACIÓN */

.adi-landing .about-info {
  min-width: 0;
}

.adi-landing .about-info h2 {
  margin: 20px 0 30px;

  color: #172838;
  font-family: "Manrope", Arial, sans-serif;
  font-size: clamp(34px, 4vw, 58px);
  font-weight: 800;
  letter-spacing: -0.05em;
  line-height: 1.13;
}

.adi-landing .about-info h2 span {
  color: #f58a1f;
}

.adi-landing .about-divider {
  width: 60px;
  height: 3px;
  margin: 30px 0;
  background: #f58a1f;
}

.adi-landing .about-brand {
  margin: 0 0 20px;

  color: #172838;
  font-family: "Manrope", Arial, sans-serif;
  font-size: 20px;
  font-weight: 800;
  line-height: 1.5;
}

.adi-landing .about-sector {
  margin: 0;

  color: #566777;
  font-size: 13px;
  line-height: 1.9;
  letter-spacing: 0.08em;
}

/* ENLACE DE CONTACTO */

.adi-landing .text-link {
  display: inline-flex;
  align-items: center;
  gap: 20px;

  margin-top: 16px;
  padding-bottom: 10px;

  border-bottom: 2px solid #f58a1f;

  color: #194567;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-decoration: none;
}

.adi-landing .text-link span {
  font-size: 19px;
}

.adi-landing .text-link:hover {
  color: #f58a1f;
}

/* TABLET */

@media (max-width: 1080px) {
  .adi-landing .about-grid {
    gap: 5%;
  }

  .adi-landing .about-gallery {
    height: 470px;
  }
}

/* MÓVIL */

@media (max-width: 780px) {
  .adi-landing .about {
    padding: 75px 0;
  }

  .adi-landing .about-grid {
    grid-template-columns: 1fr;
    gap: 35px;
  }

  .adi-landing .about-gallery {
    height: 410px;
  }
}

@media (max-width: 480px) {
  .adi-landing .about-gallery {
    height: 315px;
  }

  .adi-landing .about-logo {
    width: 90px;
    height: 90px;
  }

  .adi-landing .about-info h2 {
    font-size: 36px;
  }

  .adi-landing .about-brand {
    font-size: 17px;
  }
}



/* ==========================================
   ADI | SECCIÓN 04 - TRABAJOS Y DISEÑOS
   VERSIÓN DEFINITIVA DEL BLOQUE
   ========================================== */

.adi-landing .project-section {
  padding: 112px 0;
  background: #ffffff;
}

/* ENCABEZADO */

.adi-landing .project-section .section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 30px;
  margin-bottom: 52px;
}

.adi-landing .project-section .section-head h2 {
  margin: 0;
  color: #172838;
  font-family: "Manrope", Arial, sans-serif;
  font-size: clamp(34px, 4vw, 58px);
  font-weight: 800;
  line-height: 1.13;
  letter-spacing: -0.05em;
}

.adi-landing .project-section .section-head h2 span {
  color: #194567;
}

/* GALERÍA: 3 COLUMNAS CON MÁS ESPACIO */

.adi-landing .project-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-auto-rows: 250px;
  grid-auto-flow: row;
  gap: 24px;
  align-items: stretch;
}

/* TARJETAS */

.adi-landing .project-tile {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  min-width: 0;
  min-height: 0;

  margin: 0;
  padding: 0;

  overflow: hidden;
  border: none;
  border-radius: 6px;
  background: #dce3e8;

  text-align: left;
  cursor: zoom-in;
  isolation: isolate;
}

/* FOTO DESTACADA: OCUPA 2 COLUMNAS */

.adi-landing .project-tile--featured {
  grid-column: span 2;
  grid-row: span 1;
}

/* FOTOGRAFÍAS */

.adi-landing .project-tile img {
  display: block;
  width: 100%;
  height: 100%;

  object-fit: cover;
  object-position: center;

  transition: transform 0.5s ease;
}

.adi-landing .project-tile:hover img {
  transform: scale(1.045);
}

/* DEGRADADO INFERIOR */

.adi-landing .project-tile::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;

  background: linear-gradient(
    to top,
    rgba(7, 27, 43, 0.86) 0%,
    rgba(7, 27, 43, 0.18) 37%,
    transparent 65%
  );

  pointer-events: none;
}

/* ETIQUETAS */

.adi-landing .project-tile-label {
  position: absolute;
  z-index: 2;
  left: 20px;
  right: 20px;
  bottom: 19px;

  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;

  color: #ffffff;
  font-family: "DM Sans", Arial, sans-serif;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.45;
  text-align: left;
}

.adi-landing .project-tile-label b {
  flex-shrink: 0;
  color: #f58a1f;
  font-size: 22px;
  font-weight: 400;
}

/* ACCESIBILIDAD */

.adi-landing .project-tile:focus-visible {
  outline: 3px solid #f58a1f;
  outline-offset: 3px;
}

/* ==========================================
   VISOR DE FOTOGRAFÍAS
   ========================================== */

.adi-landing .lightbox {
  position: fixed;
  z-index: 10000;
  inset: 0;

  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 14px;

  padding: 65px 24px 28px;
  background: rgba(4, 17, 29, 0.95);
}

.adi-landing .lightbox[hidden] {
  display: none !important;
}

.adi-landing .lightbox img {
  display: block;
  width: auto;
  height: auto;
  max-width: min(1100px, 96%);
  max-height: 78vh;
  object-fit: contain;
}

.adi-landing .lightbox p {
  margin: 0;
  color: #ffffff;
  font-size: 13px;
  text-align: center;
}

.adi-landing .lightbox #lightboxClose {
  position: absolute;
  top: 15px;
  right: 25px;

  padding: 0;
  border: 0;
  background: transparent;
  color: #ffffff;

  font-size: 42px;
  line-height: 1;
  cursor: pointer;
}

/* ==========================================
   TABLET
   ========================================== */

@media (max-width: 1080px) {

  .adi-landing .project-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: 240px;
    gap: 18px;
  }

  .adi-landing .project-tile--featured {
    grid-column: span 2;
  }

}

/* ==========================================
   MÓVIL
   ========================================== */

@media (max-width: 780px) {

  .adi-landing .project-section {
    padding: 75px 0;
  }

  .adi-landing .project-section .section-head {
    margin-bottom: 32px;
  }

  .adi-landing .project-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: 190px;
    gap: 14px;
  }

  .adi-landing .project-tile--featured {
    grid-column: span 2;
    grid-row: span 1;
  }

  .adi-landing .project-tile-label {
    left: 13px;
    right: 13px;
    bottom: 13px;
    font-size: 11px;
  }

}

@media (max-width: 480px) {

  .adi-landing .project-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: 245px;
    gap: 16px;
  }

  .adi-landing .project-tile--featured {
    grid-column: span 1;
  }

  .adi-landing .project-tile-label {
    font-size: 12px;
  }

}

/* ==========================================
   MOVIMIENTO REDUCIDO
   ========================================== */

@media (prefers-reduced-motion: reduce) {
  .adi-landing .project-tile img {
    transition: none;
  }
}




/* ============================================
   ADI - SECCIÓN 04
   TRABAJOS Y DISEÑOS: GALERÍA ESPACIADA
   ============================================ */

.adi-landing .adi-work {
  padding: 105px 0 115px;
  background: #f7f9fa;
}

.adi-landing .adi-work-heading {
  margin: 0 0 48px;
}

.adi-landing .adi-work-heading .eyebrow {
  margin-bottom: 14px;
}

.adi-landing .adi-work-heading h2 {
  margin: 0;
  color: #172838;
  font-family: "Manrope", Arial, sans-serif;
  font-size: clamp(34px, 4vw, 58px);
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: -.05em;
}

.adi-landing .adi-work-heading h2 span {
  color: #194567;
}

/* TRES IMÁGENES DESTACADAS */

.adi-landing .adi-work-featured {
  display: grid;
  grid-template-columns: 1.65fr 1fr;
  grid-template-rows: repeat(2, 250px);
  gap: 24px;
  margin-bottom: 42px;
}

.adi-landing .adi-work-main {
  grid-row: span 2;
}

/* GALERÍA SECUNDARIA */

.adi-landing .adi-work-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.adi-landing .adi-work-gallery > .adi-work-photo {
  height: 255px;
}

/* FOTOGRAFÍAS */

.adi-landing .adi-work-photo {
  display: block;
  position: relative;
  isolation: isolate;
  overflow: hidden;

  width: 100%;
  min-width: 0;
  min-height: 0;
  margin: 0;
  padding: 0;

  border: 0;
  border-radius: 8px;
  background: #dce3e8;
  cursor: zoom-in;
  text-align: left;
}

.adi-landing .adi-work-photo > img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform .45s ease;
}

.adi-landing .adi-work-photo:hover > img {
  transform: scale(1.045);
}

.adi-landing .adi-work-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(
    to top,
    rgba(5, 21, 34, .88),
    rgba(5, 21, 34, .14) 44%,
    transparent 70%
  );
}

.adi-landing .adi-work-caption {
  position: absolute;
  z-index: 2;
  left: 20px;
  right: 20px;
  bottom: 20px;

  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;

  color: #ffffff;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.45;
}

.adi-landing .adi-work-caption > span {
  flex-shrink: 0;
  color: #f58a1f;
  font-size: 22px;
  font-weight: 400;
}

/* VER MÁS TRABAJOS */

.adi-landing .adi-work-more {
  margin-top: 40px;
}

.adi-landing .adi-work-more > summary {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  width: max-content;
  max-width: 100%;

  margin: 0 auto;
  padding: 16px 24px;
  border: 1px solid #d6e0e7;
  border-radius: 4px;
  background: #ffffff;

  color: #12283d;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .08em;

  cursor: pointer;
  list-style: none;
}

.adi-landing .adi-work-more > summary::-webkit-details-marker {
  display: none;
}

.adi-landing .adi-work-more > summary:hover {
  border-color: #f58a1f;
}

.adi-landing .adi-work-more-arrow {
  color: #f58a1f;
  font-size: 20px;
  line-height: 1;
}

.adi-landing .adi-work-more[open] .adi-work-more-arrow {
  transform: rotate(180deg);
}

.adi-landing .adi-work-gallery-extra {
  margin-top: 34px;
}

/* VISOR DE FOTOGRAFÍAS */

.adi-landing .adi-work-lightbox {
  position: fixed;
  z-index: 10000;
  inset: 0;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 15px;

  padding: 65px 24px 30px;
  background: rgba(4, 17, 29, .96);
}

.adi-landing .adi-work-lightbox[hidden] {
  display: none !important;
}

.adi-landing .adi-work-lightbox img {
  display: block;
  width: auto;
  height: auto;
  max-width: min(1100px, 96%);
  max-height: 78vh;
  object-fit: contain;
}

.adi-landing .adi-work-lightbox p {
  margin: 0;
  color: #ffffff;
  font-size: 14px;
  text-align: center;
}

.adi-landing .adi-work-close {
  position: absolute;
  top: 16px;
  right: 26px;

  border: 0;
  background: transparent;
  color: #ffffff;

  font-size: 42px;
  line-height: 1;
  cursor: pointer;
}

.adi-landing .adi-work-photo:focus-visible,
.adi-landing .adi-work-more summary:focus-visible {
  outline: 3px solid #f58a1f;
  outline-offset: 3px;
}

/* TABLET */

@media (max-width: 1024px) {
  .adi-landing .adi-work-featured {
    grid-template-rows: repeat(2, 215px);
    gap: 18px;
  }

  .adi-landing .adi-work-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
  }

  .adi-landing .adi-work-gallery > .adi-work-photo {
    height: 230px;
  }
}

/* MÓVIL */

@media (max-width: 680px) {
  .adi-landing .adi-work {
    padding: 75px 0 85px;
  }

  .adi-landing .adi-work-heading {
    margin-bottom: 32px;
  }

  .adi-landing .adi-work-featured {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    gap: 16px;
    margin-bottom: 28px;
  }

  .adi-landing .adi-work-main {
    grid-row: auto;
    height: 310px;
  }

  .adi-landing .adi-work-featured > .adi-work-photo:not(.adi-work-main) {
    height: 240px;
  }

  .adi-landing .adi-work-gallery {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .adi-landing .adi-work-gallery > .adi-work-photo {
    height: 245px;
  }

  .adi-landing .adi-work-caption {
    left: 14px;
    right: 14px;
    bottom: 14px;
    font-size: 12px;
  }

  .adi-landing .adi-work-more {
    margin-top: 28px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .adi-landing .adi-work-photo > img {
    transition: none;
  }
}





/* ============================================
   ADI | SECCIÓN 05
   BANNER FOTOGRÁFICO Y CONTACTO
   ============================================ */


/* ============================================
   01. BANNER FOTOGRÁFICO
   ============================================ */

.adi-landing .adi-final-banner {
  position: relative;
  isolation: isolate;

  display: flex;
  align-items: center;
  justify-content: center;

  width: 100%;
  min-height: 420px;
  overflow: hidden;

  background-color: #10283d;

  /* Fotografía solicitada */
  background-image: url(
    "https://adiautomatizacion.com/wp-content/uploads/2026/11/adi-elevador-servicios.webp"
  );

  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;

  color: #ffffff;
  text-align: center;
}

/* Oscurecimiento para legibilidad */

.adi-landing .adi-final-banner-overlay {
  position: absolute;
  inset: 0;
  z-index: -1;

  background: rgba(7, 25, 39, 0.78);
  pointer-events: none;
}

/* Contenido centrado */

.adi-landing .adi-final-banner-content {
  position: relative;
  z-index: 1;

  width: min(920px, calc(100% - 40px));

  margin: 0 auto;
  padding: 75px 0;
}

.adi-landing .adi-final-banner-content > p {
  margin: 0 0 27px;

  color: #f58a1f;

  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.18em;
  line-height: 1.7;
}

/* Título principal */

.adi-landing .adi-final-banner-content h2 {
  margin: 0 auto 34px;

  color: #ffffff;
  font-family: "Manrope", Arial, sans-serif;

  font-size: clamp(35px, 4.2vw, 62px);
  font-weight: 800;

  line-height: 1.16;
  letter-spacing: -0.05em;
}

/* Botón naranja */

.adi-landing .adi-final-banner-button {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;

  min-height: 54px;
  padding: 0 24px;

  border: 0;
  border-radius: 3px;

  background: #f58a1f;
  color: #12283d;

  font-size: 12px;
  font-weight: 800;
  text-decoration: none;

  transition:
    background 0.2s ease,
    transform 0.2s ease;
}

.adi-landing .adi-final-banner-button span {
  font-size: 18px;
  font-weight: 400;
}

.adi-landing .adi-final-banner-button:hover {
  background: #ffaa43;
  color: #12283d;
  transform: translateY(-2px);
}


/* ============================================
   02. SECCIÓN CONTACTO
   ============================================ */

.adi-landing .adi-contact-ref {
  padding: 100px 0 110px;

  background: #ffffff;
  color: #12283d;
}

/* Dos columnas */

.adi-landing .adi-contact-ref-grid {
  display: grid;

  grid-template-columns:
    minmax(0, 0.82fr)
    minmax(0, 1.18fr);

  align-items: center;
  gap: 78px;
}

/* Información izquierda */

.adi-landing .adi-contact-ref-info {
  min-width: 0;
}

.adi-landing .adi-contact-ref-eyebrow {
  margin: 0 0 27px;

  color: #e87918;

  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.19em;
}

.adi-landing .adi-contact-ref-info h2 {
  margin: 0 0 43px;

  color: #12283d;
  font-family: "Manrope", Arial, sans-serif;

  font-size: clamp(38px, 4.2vw, 60px);
  font-weight: 800;

  letter-spacing: -0.05em;
  line-height: 1.12;
}

/* Lista de contacto */

.adi-landing .adi-contact-ref-details {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.adi-landing .adi-contact-ref-item {
  display: flex;
  align-items: flex-start;
  gap: 18px;
}

/* Recuadro de iconos SVG */

.adi-landing .adi-contact-ref-icon {
  display: grid;
  place-items: center;

  flex: 0 0 47px;

  width: 47px;
  height: 47px;

  border: 1px solid #d7e0e7;
  background: #ffffff;
  color: #17436a;
}

.adi-landing .adi-contact-ref-icon svg {
  display: block;

  width: 21px;
  height: 21px;
}

/* Etiquetas */

.adi-landing .adi-contact-ref-label {
  display: block;

  margin-bottom: 8px;

  color: #e87918;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.16em;
}

/* Valores de contacto */

.adi-landing .adi-contact-ref-item a,
.adi-landing .adi-contact-ref-value {
  display: inline-block;

  color: #12283d;

  font-size: 15px;
  font-weight: 750;
  line-height: 1.7;

  text-decoration: none;
  overflow-wrap: anywhere;
}

.adi-landing .adi-contact-ref-item a:hover {
  color: #e87918;
}

/* ============================================
   BOTÓN DE WHATSAPP
   ============================================ */

.adi-landing .adi-contact-ref-button {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;

  gap: 28px;

  min-height: 54px;
  margin-top: 39px;
  padding: 0 24px;

  border-radius: 3px;

  background: #12283d;
  color: #ffffff;

  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-decoration: none;

  transition:
    background 0.2s ease,
    transform 0.2s ease;
}

.adi-landing .adi-contact-ref-button span {
  font-size: 19px;
  font-weight: 400;
}

.adi-landing .adi-contact-ref-button:hover {
  background: #244b6c;
  color: #ffffff;
  transform: translateY(-2px);
}


/* ============================================
   03. MAPA DE GOOGLE
   ============================================ */

.adi-landing .adi-contact-ref-map {
  position: relative;

  width: 100%;
  height: 500px;
  min-width: 0;

  overflow: hidden;
  background: #e8eef0;
}

/* Mapa incrustado */

.adi-landing .adi-contact-ref-map iframe {
  display: block;

  width: 100%;
  height: 100%;

  border: none;
}

/* Botón abrir ubicación */

.adi-landing .adi-contact-ref-map-button {
  position: absolute;

  right: 18px;
  bottom: 18px;
  z-index: 2;

  display: inline-flex;
  align-items: center;
  gap: 12px;

  padding: 14px 20px;

  background: #ffffff;
  color: #12283d;

  box-shadow: 0 5px 20px #00000018;

  font-size: 11px;
  font-weight: 800;
  text-decoration: none;

  transition:
    color 0.2s ease,
    background 0.2s ease;
}

.adi-landing .adi-contact-ref-map-button:hover {
  color: #e87918;
  background: #ffffff;
}

/* Accesibilidad */

.adi-landing .adi-final-banner-button:focus-visible,
.adi-landing .adi-contact-ref-button:focus-visible,
.adi-landing .adi-contact-ref-map-button:focus-visible {
  outline: 3px solid #f58a1f;
  outline-offset: 3px;
}


/* ============================================
   04. RESPONSIVE: TABLET
   ============================================ */

@media (max-width: 1024px) {

  .adi-landing .adi-contact-ref-grid {
    grid-template-columns:
      minmax(0, 1fr)
      minmax(0, 1fr);

    gap: 36px;
  }

  .adi-landing .adi-contact-ref-map {
    height: 430px;
  }

  .adi-landing .adi-contact-ref {
    padding: 80px 0;
  }

}


/* ============================================
   05. RESPONSIVE: MÓVIL
   ============================================ */

@media (max-width: 780px) {

  .adi-landing .adi-final-banner {
    min-height: 380px;
  }

  .adi-landing .adi-final-banner-content {
    padding: 65px 0;
  }

  .adi-landing .adi-contact-ref {
    padding: 75px 0;
  }

  .adi-landing .adi-contact-ref-grid {
    grid-template-columns: 1fr;
    gap: 38px;
  }

  .adi-landing .adi-contact-ref-info h2 {
    margin-bottom: 32px;
  }

  .adi-landing .adi-contact-ref-map {
    height: 375px;
  }

}

@media (max-width: 480px) {

  .adi-landing .adi-final-banner {
    min-height: 360px;
  }

  .adi-landing .adi-final-banner-content h2 {
    font-size: 34px;
  }

  .adi-landing .adi-final-banner-content h2 br {
    display: none;
  }

  .adi-landing .adi-final-banner-content > p {
    font-size: 9px;
    letter-spacing: 0.11em;
  }

  .adi-landing .adi-contact-ref-map {
    height: 330px;
  }

  .adi-landing .adi-contact-ref-item a,
  .adi-landing .adi-contact-ref-value {
    font-size: 13px;
  }

  .adi-landing .adi-contact-ref-button {
    gap: 16px;
    padding: 0 18px;
  }

}

/* Reducir animaciones cuando el usuario lo solicita */

@media (prefers-reduced-motion: reduce) {

  .adi-landing .adi-final-banner-button,
  .adi-landing .adi-contact-ref-button,
  .adi-landing .adi-contact-ref-map-button {
    transition: none;
  }

}






/* =====================================================
   ADI | FOOTER GLOBAL
   BLANCO + NARANJA + CRÉDITO CMG SOLUTIONS LAB
   ===================================================== */

/* REINICIO */

.adi-footer,
.adi-footer *,
.adi-footer *::before,
.adi-footer *::after {
  box-sizing: border-box;
}

/* CONTENEDOR PRINCIPAL */

.adi-footer {
  display: block;
  position: relative;

  width: 100%;
  max-width: 100%;
  min-width: 0;

  margin: 0;
  padding: 0;

  background: #ffffff;
  border-top: 3px solid #f58a1f;

  color: #10243c;
  font-family: "Inter", Arial, sans-serif;
}

/* =====================================================
   FILA PRINCIPAL
   ===================================================== */

.adi-footer-inner {
  display: grid;

  grid-template-columns:
    minmax(0, 1fr)
    auto
    44px;

  align-items: center;
  column-gap: 58px;
  row-gap: 20px;

  width: min(1320px, calc(100% - 56px));
  max-width: 100%;

  min-height: 112px;

  margin: 0 auto;
  padding: 20px 0;
}

/* =====================================================
   MARCA Y LOGOTIPO
   ===================================================== */

.adi-footer-brand {
  display: flex;
  align-items: center;

  gap: 16px;
  min-width: 0;
}

/* LOGOTIPO SIN FONDO BLANCO */

.adi-footer-logo {
  display: flex;
  align-items: center;
  justify-content: center;

  flex: 0 0 74px;

  width: 74px;
  height: 74px;

  margin: 0;
  padding: 0;

  background: transparent;
  border: none;
  border-radius: 0;
  box-shadow: none;

  text-decoration: none;
}

.adi-footer-logo img {
  display: block;

  width: 100%;
  height: 100%;

  object-fit: contain;

  margin: 0;
  padding: 0;

  background: transparent;
  border: none;
  border-radius: 0;
  box-shadow: none;
}

/* TEXTO DE MARCA */

.adi-footer-brand-copy {
  display: flex;
  flex-direction: column;

  gap: 6px;
  min-width: 0;
}

.adi-footer-brand-copy strong {
  display: block;

  margin: 0;
  padding: 0;

  color: #10243c;

  font-size: 25px;
  font-weight: 800;
  line-height: 1.1;
}

.adi-footer-brand-copy span {
  display: block;

  color: #536575;

  font-size: 12px;
  font-weight: 400;
  line-height: 1.5;
}

/* =====================================================
   NAVEGACIÓN
   ===================================================== */

.adi-footer-links {
  display: flex;
  align-items: center;
  justify-content: center;

  flex-wrap: nowrap;
  gap: 28px;

  min-width: 0;
}

.adi-footer-links a {
  display: inline-block;

  margin: 0;
  padding: 0;

  color: #10243c;

  font-size: 13px;
  font-weight: 600;
  line-height: 1.5;

  text-decoration: none;
  white-space: nowrap;

  transition: color 0.2s ease;
}

.adi-footer-links a:hover {
  color: #e87918;
}

/* =====================================================
   FACEBOOK
   ===================================================== */

.adi-footer-social {
  display: flex;
  align-items: center;
  justify-content: center;

  min-width: 44px;
}

.adi-footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;

  width: 44px;
  height: 44px;

  margin: 0;
  padding: 0;

  background: #f3f6f8;
  color: #10243c;

  border: 1px solid #dce5ed;
  border-radius: 50%;

  text-decoration: none;

  transition:
    background 0.2s ease,
    color 0.2s ease,
    border-color 0.2s ease;
}

.adi-footer-social a:hover {
  background: #10243c;
  color: #ffffff;
  border-color: #10243c;
}

.adi-footer-social svg {
  display: block;
  width: 21px;
  height: 21px;
}

/* =====================================================
   FRANJA INFERIOR
   ===================================================== */

.adi-footer-bottom {
  display: block;

  width: 100%;
  max-width: 100%;

  background: #f8fafc;

  border-top: 1px solid #e8edf2;
}

/* DISTRIBUCIÓN DE CRÉDITOS */

.adi-footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;

  gap: 15px 30px;

  width: min(1320px, calc(100% - 56px));
  max-width: 100%;

  min-height: 53px;

  margin: 0 auto;
  padding: 15px 0;
}

/* DERECHOS RESERVADOS */

.adi-footer-rights {
  color: #647587;

  font-size: 12px;
  font-weight: 400;
  line-height: 1.6;
}

/* CRÉDITO CMG */

.adi-footer-credit {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;

  flex-wrap: wrap;
  gap: 5px;

  color: #647587;

  font-size: 12px;
  font-weight: 400;
  line-height: 1.6;

  text-align: right;
}

.adi-footer-credit a {
  display: inline-flex;
  align-items: center;
  gap: 5px;

  color: #10243c;

  font-size: 12px;
  font-weight: 700;

  text-decoration: none;
  white-space: nowrap;

  transition: color 0.2s ease;
}

.adi-footer-credit a:hover {
  color: #e87918;
}

.adi-footer-credit a span {
  font-size: 14px;
  font-weight: 500;
}

/* =====================================================
   ACCESIBILIDAD
   ===================================================== */

.adi-footer a:focus-visible {
  outline: 2px solid #f58a1f;
  outline-offset: 4px;
}

/* =====================================================
   TABLET
   ===================================================== */

@media (max-width: 1100px) {

  .adi-footer-inner {
    grid-template-columns: minmax(0, 1fr) 44px;

    column-gap: 22px;
    row-gap: 24px;

    padding: 28px 0;
  }

  .adi-footer-brand {
    grid-column: 1;
    grid-row: 1;
  }

  .adi-footer-social {
    grid-column: 2;
    grid-row: 1;
  }

  .adi-footer-links {
    grid-column: 1 / -1;
    grid-row: 2;

    justify-content: center;
    flex-wrap: wrap;

    gap: 16px 24px;
  }

}

/* =====================================================
   MÓVIL
   ===================================================== */

@media (max-width: 680px) {

  .adi-footer-inner {
    grid-template-columns: minmax(0, 1fr);
    justify-items: center;

    width: calc(100% - 36px);

    gap: 23px;
    padding: 32px 0;
  }

  .adi-footer-brand,
  .adi-footer-social,
  .adi-footer-links {
    grid-column: 1;
    grid-row: auto;
  }

  .adi-footer-brand {
    justify-content: center;
  }

  .adi-footer-logo {
    flex-basis: 64px;

    width: 64px;
    height: 64px;
  }

  .adi-footer-brand-copy strong {
    font-size: 23px;
  }

  .adi-footer-brand-copy span {
    font-size: 11px;
  }

  .adi-footer-links {
    justify-content: center;
    flex-wrap: wrap;

    gap: 16px 22px;
  }

  .adi-footer-links a {
    font-size: 12px;
  }

  /* CRÉDITOS INFERIORES */

  .adi-footer-bottom-inner {
    flex-direction: column;
    justify-content: center;
    align-items: center;

    width: calc(100% - 36px);

    gap: 10px;
    padding: 20px 0;

    text-align: center;
  }

  .adi-footer-rights {
    text-align: center;
  }

  .adi-footer-credit {
    justify-content: center;
    text-align: center;
  }

}

/* =====================================================
   PANTALLAS PEQUEÑAS
   ===================================================== */

@media (max-width: 360px) {

  .adi-footer-inner {
    width: calc(100% - 24px);
  }

  .adi-footer-brand {
    gap: 10px;
  }

  .adi-footer-brand-copy strong {
    font-size: 21px;
  }

  .adi-footer-links {
    gap: 14px 18px;
  }

  .adi-footer-credit,
  .adi-footer-rights {
    font-size: 11px;
  }

}

/* =====================================================
   REDUCCIÓN DE MOVIMIENTO
   ===================================================== */

@media (prefers-reduced-motion: reduce) {

  .adi-footer-links a,
  .adi-footer-social a,
  .adi-footer-credit a {
    transition: none;
  }

}


/* ============================================
   ADI | WHATSAPP FLOTANTE
   ============================================ */

.adi-whatsapp-float {
  position: fixed !important;
  right: 24px;
  bottom: 24px;
  z-index: 9999;

  display: flex !important;
  align-items: center;
  justify-content: center;

  width: 62px;
  height: 62px;

  padding: 14px;
  margin: 0;

  background: #25d366;
  color: #ffffff !important;

  border: none;
  border-radius: 50%;

  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.20);

  text-decoration: none !important;

  transition:
    transform 0.25s ease,
    background 0.25s ease,
    box-shadow 0.25s ease;
}

.adi-whatsapp-float svg {
  display: block;
  width: 100%;
  height: 100%;
  fill: currentColor;
}

.adi-whatsapp-float:hover {
  background: #20bd5a;
  color: #ffffff !important;
  transform: translateY(-4px) scale(1.06);
  box-shadow: 0 10px 28px rgba(37, 211, 102, 0.30);
}

.adi-whatsapp-float:focus-visible {
  outline: 3px solid #10243c;
  outline-offset: 4px;
}

/* Adaptación móvil */

@media (max-width: 767px) {
  .adi-whatsapp-float {
    right: 16px;
    bottom: 18px;
    width: 56px;
    height: 56px;
    padding: 13px;
  }
}

/* Accesibilidad */

@media (prefers-reduced-motion: reduce) {
  .adi-whatsapp-float {
    transition: none;
  }
}


/* =============================================
   ADI | HEADER GLOBAL FIJO
   ============================================= */

/* Fijar el encabezado completo */
body:not(.elementor-editor-active)
.elementor-location-header {
  position: fixed !important;
  top: 0;
  left: 0;
  right: 0;

  width: 100% !important;
  max-width: 100% !important;

  z-index: 99990 !important;

  background: #ffffff;

  box-shadow:
    0 4px 18px rgba(16, 36, 60, 0.10);
}

/* Reservar espacio para el encabezado */
body:not(.elementor-editor-active):has(
  .elementor-location-header
) {
  padding-top: 140px !important;
}

/* Ajuste cuando está visible la barra de WordPress */
body.admin-bar:not(.elementor-editor-active)
.elementor-location-header {
  top: 32px;
}

/* Evitar que los títulos queden detrás del menú */
html {
  scroll-padding-top: 155px;
}

#inicio,
#servicios,
#nosotros,
#proyectos,
#contacto {
  scroll-margin-top: 155px;
}

/* TABLET */
@media (max-width: 1024px) {

  body:not(.elementor-editor-active):has(
    .elementor-location-header
  ) {
    padding-top: 110px !important;
  }

  html {
    scroll-padding-top: 125px;
  }
}

/* MÓVIL */
@media (max-width: 767px) {

  body:not(.elementor-editor-active):has(
    .elementor-location-header
  ) {
    padding-top: 90px !important;
  }

  html {
    scroll-padding-top: 105px;
  }

  body.admin-bar:not(.elementor-editor-active)
  .elementor-location-header {
    top: 46px;
  }
}


/* ============================================
   ADI | HEADER EFECTO CRISTAL
   Blanco al inicio, translúcido al bajar
   ============================================ */

/* ESTADO NORMAL */
body:not(.elementor-editor-active)
.elementor-location-header {
  background: #ffffff !important;

  -webkit-backdrop-filter: none;
  backdrop-filter: none;

  box-shadow:
    0 2px 10px rgba(16, 36, 60, 0.06);

  transition:
    background-color 0.35s ease,
    backdrop-filter 0.35s ease,
    box-shadow 0.35s ease;
}

/* ESTADO AL DESPLAZARSE */
body.adi-header-scrolled
.elementor-location-header {
  background: rgba(255, 255, 255, 0.82) !important;

  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);

  box-shadow:
    0 6px 24px rgba(16, 36, 60, 0.10);
}

/* Evitar fondos opacos en los Flexbox internos */
body.adi-header-scrolled
.elementor-location-header
.e-con {
  background-color: transparent !important;
}

/* Compatibilidad con contenedores clásicos */
body.adi-header-scrolled
.elementor-location-header
.elementor-container {
  background-color: transparent !important;
}

/* Mantener legibilidad de la navegación */
body.adi-header-scrolled
.elementor-location-header a {
  transition: color 0.25s ease;
}

/* MÓVIL: un poco más de opacidad */
@media (max-width: 767px) {
  body.adi-header-scrolled
  .elementor-location-header {
    background: rgba(255, 255, 255, 0.94) !important;
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
  }
}

/* Accesibilidad */
@media (prefers-reduced-motion: reduce) {
  body:not(.elementor-editor-active)
  .elementor-location-header {
    transition: none;
  }
}


/* ============================================
   ADI | MENÚ MÓVIL PROFESIONAL
   No modifica el menú de escritorio
   ============================================ */

@media (max-width: 1024px) {

  /* CONTENEDOR DEL MENÚ */

  .adi-header-menu {
    font-family: "Inter", Arial, sans-serif !important;
    font-style: normal !important;
  }

  /* PANEL DESPLEGABLE */

  .adi-header-menu .e-n-menu-wrapper {
    background: #ffffff !important;

    border: none !important;

    box-shadow:
      0 14px 28px rgba(16, 36, 60, 0.13);

    max-height: calc(100dvh - 100px);
    overflow-y: auto;
  }

  /* ELIMINAR SEPARACIÓN EXCESIVA */

  .adi-header-menu .e-n-menu-heading {
    gap: 0 !important;

    margin: 0 !important;
    padding: 8px 0 !important;
  }

  /* ELEMENTOS DEL MENÚ */

  .adi-header-menu .e-n-menu-item {
    margin: 0 !important;
  }

  /* ENLACES */

  .adi-header-menu .e-n-menu-title {
    min-height: 48px;

    margin: 0 !important;
    padding: 12px 20px !important;

    background: transparent !important;

    border-bottom:
      1px solid #edf0f3;

    color: #10243c !important;

    font-family: "Inter", Arial, sans-serif !important;
    font-size: 15px !important;
    font-style: normal !important;
    font-weight: 600 !important;

    text-align: left !important;

    box-shadow: none !important;
  }

  /* COLOR AL SELECCIONAR */

  .adi-header-menu .e-n-menu-title:hover,
  .adi-header-menu .e-n-menu-title:focus-visible {
    color: #f58a1f !important;
    background: #f7f9fb !important;
  }

  /* TEXTO INTERIOR */

  .adi-header-menu .e-n-menu-title-text {
    font-family: "Inter", Arial, sans-serif !important;
    font-style: normal !important;
    font-weight: 600 !important;
    font-synthesis: none;
  }

  /* BOTÓN HAMBURGUESA */

  .adi-header-menu .e-n-menu-toggle {
    color: #10243c !important;
    border-radius: 6px;
  }

}/* End custom CSS */