:root{
  /* Colores */
  --navy: #1f385d;
  --orange: #f67800;
  --white: #ffffff;

  /* Tipografía */
  --ff: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;

  /* Tamaños (ligeramente más pequeños) */
  --brand-size: 50px;        /* antes 56px */
  --contact-title: 42px;     /* antes 48px */
  --contact-email: 23px;     /* antes 26px */
  --nav-size: 24px;          /* antes 28px */

  --hero-title: 68px;        /* antes 76px */
  --hero-text: 21px;         /* antes 24px */

  /* Layout */
  --container-pad: clamp(20px, 4.5vw, 80px);

  /* Alturas */
  --topbar-h: 150px;         /* antes 165px */
  --nav-h: 78px;             /* antes 88px */

  /* Fondo del hero */
  --hero-bg: url('/Assets/Fondo.PNG');
}

*{ box-sizing: border-box; }

body{
  margin: 0;
  font-family: var(--ff);
  background: #ffffff; /* importante: así no se ve azul abajo */
}

/* Contenedor */
.container{
  width: 100%;
  padding-left: var(--container-pad);
  padding-right: var(--container-pad);
}

/* =========================
   TOPBAR
========================= */
.topbar{
  background: var(--navy);
  color: var(--white);
  border-bottom: 2px solid rgba(255,255,255,.85);
}

.topbar__inner{
  min-height: var(--topbar-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

/* Brand */
.brand{
  display: flex;
  align-items: center;
  gap: 22px;
  text-decoration: none;
  color: var(--white);
}

.brand__logo{
  width: 110px;
  height: 90px;
  object-fit: contain;
}

.brand__text{
  display: flex;
  flex-direction: column;
  line-height: 0.95;
  font-weight: 700;
  font-size: var(--brand-size);
  letter-spacing: -0.5px;
}

/* Contact */
.contact{
  text-align: right;
}

.contact__title{
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-size: var(--contact-title);
  font-weight: 500;
  line-height: 1;
}

.contact__icon{
  width: 60px;
  height: 60px;
}

.contact__email{
  display: block;
  margin-top: 10px;
  font-size: var(--contact-email);
  font-weight: 400;
  color: var(--white);
  text-decoration: none;
  opacity: 0.95;
}

/* =========================
   NAV
========================= */
.nav{
  background: var(--navy);
}

.nav__inner{
  min-height: var(--nav-h);
  display: flex;
  align-items: center;
  gap: 70px;
}

.nav__link{
  color: var(--white);
  text-decoration: none;
  font-size: var(--nav-size);
  font-weight: 500;
  opacity: 0.95;
}

.nav__link:hover{
  opacity: 1;
  text-decoration: underline;
  text-underline-offset: 8px;
}

.nav__chev{
  font-size: 0.95em;
  margin-left: 10px;
}

/* =========================
   HERO (como tu captura)
========================= */
.hero{
  position: relative;
  overflow: hidden;
  padding: 50px 0; 
  /* CLAVE: ocupa solo lo que sobra del viewport */
  height: calc(100vh - var(--topbar-h) - var(--nav-h));
  min-height: 500px;
}

/* Imagen fondo */
.hero__bg{
  position: absolute;
  inset: 0;
  background-image: var(--hero-bg);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transform: scale(1.02);
}

/* Oscurecido suave general */
.hero::before{
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(18,36,56,.25);
  z-index: 0;
}

/* Degradado como en la captura (izquierda más oscuro) */
/* .hero::after{
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(18,36,56,.95) 0%,
    rgba(18,36,56,.78) 38%,
    rgba(18,36,56,.35) 68%,
    rgba(18,36,56,.10) 100%
  );
  z-index: 1;
} */

/* Contenido encima */
.hero__inner{
  position: relative;
  z-index: 2;

  height: 100%;
  display: flex;
  align-items: center;       /* centrado vertical como se ve */
}

.hero__content{
  max-width: 980px;
}

.hero__title{
  margin: 0 0 16px;
  font-size: var(--hero-title);
  line-height: 1.05;
  font-weight: 800;
  color: var(--orange);
}

.hero__text{
  margin-bottom: 16px;
  font-size: var(--hero-text);
  line-height: 1.35;
  color: var(--white);
  font-weight: 400;
}

.hero__text strong{
  font-weight: 800;
}

/* =========================
   SECCIÓN “Metodología…”
========================= */
.split{
  background: #ffffff;
  padding: 50px 0;
}

.split__inner{
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 40px;
  align-items: center;
}

.split__img img{
  width: 100%;
  max-width: 500px;  /* tamaño mediano */
  height: auto;
  display: block;
  margin: 0 auto;    /* centra la imagen */
}

.split__text h2{
  margin: 0 0 12px;
  color: var(--navy);
  font-size: 56px;
  line-height: 1.1;
  font-weight: 800;
}

.split__text p{
  margin: 12px;
  color: #1c2b44;
  font-size: 22px;
  line-height: 1.5;
}

/* =========================
   RESPONSIVE (sin romper el hero)
========================= */
@media (max-width: 1100px){
  :root{
    --brand-size: 44px;
    --contact-title: 36px;
    --contact-email: 20px;
    --nav-size: 22px;
    --hero-title: 56px;
    --hero-text: 18px;

    --topbar-h: 140px; /* tu topbar se hace más chico */
  }

  .brand__logo{
    width: 500%;
    height: 500%;
  }

  .nav__inner{
    gap: 36px;
  }

  .split__text h2{
    font-size: 44px;
  }
}

@media (max-width: 780px){
  .topbar__inner{
    flex-direction: column;
  align-items: flex-start;
  padding-top: 12px;   /* antes 22px */
  padding-bottom: 12px; /* antes 22px */
  gap: 12px;   
  }

  .contact{
    text-align: left;
  }

  .nav__inner{
    flex-wrap: wrap;
    gap: 18px 26px;
    padding-top: 18px;
    padding-bottom: 18px;
  }

  /* En móvil no conviene calcular altura exacta porque el header crece */
  .hero{
    height: auto;
    min-height: 520px;
    padding: 70px 0;
  }

  .hero__inner{
    height: auto;
  }

  .split__inner{
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .split__text h2{
    font-size: 36px;
  }
}
/* ====== CLIENTES (como la captura) ====== */
:root{
  --navy: #1f385d;
  --orange: #f67800;
  --white: #ffffff;
}

/* Sección */
.clientes{
  position: relative;
  background: #fff;
  padding: 40px 0 60px;
  overflow: hidden;
}

/* Fondo naranja tipo “cruz” (detrás de las cards) */
.clientes::before{
  content:"";
  position:absolute;
  inset: 0;
  z-index: 0;

  /* 2 verticales + 1 horizontal */
  background:
    /* horizontal (centro) */
    linear-gradient(
      to bottom,
      transparent 0%,
      transparent 37%,
      rgba(246,120,0,1) 37%,
      rgba(246,120,0,1) 73%,
      transparent 73%,
      transparent 100%
    ),
  
    /* vertical derecha */
    linear-gradient(
      to right,
      transparent 0%,
      transparent 61%,
    
  
      transparent 72%,
      transparent 100%
    );

  opacity: 1;
}

.container{
  position: relative;
  z-index: 1;
}

/* Título */
.clientes__title{
  margin: 0 0 20px;
  font-size: 56px;
  line-height: 1.05;
  font-weight: 800;
  color: var(--navy);
}

/* Grid */
.clientes__grid{
  display: grid;
  grid-template-columns: repeat(3, minmax(220px, 1fr));
  gap: 28px;
}

/* Card */
.cliente-card{
  background: var(--white);
  border-radius: 0; /* en la captura se ve más “cuadrado” */
  overflow: hidden;
  box-shadow: 0 10px 18px rgba(17, 24, 39, 0.18);
  cursor: pointer;

  transform: translateY(0);
  transition: transform 220ms ease, box-shadow 220ms ease;
  outline: none;
}

/* Imagen arriba */
.cliente-card__img{
  height: 230px;
  overflow: hidden;
  background: #e5e7eb;
}
.cliente-card__img img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1);
  transition: transform 260ms ease, filter 260ms ease;
}

/* Texto abajo */
.cliente-card__title{
  margin: 0;
  padding: 34px 18px 40px;
  text-align: center;
  font-size: 30px;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.15;
}

/* ====== Hover / Animación ====== */
.cliente-card:hover,
.cliente-card:focus-within{
  transform: translateY(-10px);
  box-shadow: 0 18px 30px rgba(17, 24, 39, 0.28);
}

.cliente-card:hover .cliente-card__img img,
.cliente-card:focus-within .cliente-card__img img{
  transform: scale(1.06);
  filter: saturate(1.05) contrast(1.05);
}

/* “Resaltado” extra (borde naranja) */
.cliente-card:hover{
  box-shadow:
    0 18px 30px rgba(17, 24, 39, 0.28),
    0 0 0 4px rgba(246,120,0,0.22);
}

/* Responsive */
@media (max-width: 1050px){
  .clientes__grid{ grid-template-columns: repeat(2, 1fr); }
  .clientes::before{
    /* ajusta el fondo para 2 columnas */
    background:
      linear-gradient(to bottom,
        transparent 0%,
        transparent 40%,
        rgba(246,120,0,1) 40%,
        rgba(246,120,0,1) 74%,
        transparent 74%,
        transparent 100%
      ),
      linear-gradient(to right,
        transparent 0%,
        transparent 46%,
        rgba(246,120,0,1) 46%,
        rgba(246,120,0,1) 58%,
        transparent 58%,
        transparent 100%
      );
  }
}

@media (max-width: 650px){
  .clientes__title{ font-size: 40px; }
  .clientes__grid{ grid-template-columns: 1fr; }
  .clientes::before{
    /* en 1 columna ya no hace falta “cruz” */
    background: rgba(246,120,0,1);
    opacity: .0; /* oculto para que no estorbe */
  }
}
/* =========================
   SERVICIOS
========================= */
.servicios{
  background: #f4f4f4;
  padding: 60px 0;
  margin-top: 1px;
}

/* Título principal */
.servicios__title-main{
  text-align: center;
  font-size: 56px;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 60px;
}

/* Layout principal */
.servicios__content,
.servicios__content_reverse{
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 16px;
  align-items: center;
  margin-bottom: 60px; /* espacio entre bloques */
}

/* Invertir columnas */
.servicios__content_reverse{
  grid-template-columns: 1fr 1.1fr;
}

/* mover imagen a la izquierda */
.servicios__content_reverse .servicios__img{
  order: -1;
  margin-left: -0px;
}

/* Subtítulo */
.servicios__subtitle{
  color: var(--orange);
  font-size: 48px;
  font-weight: 800;
  margin-bottom: 20px;
}

/* Lista */
.servicios__list{
  list-style: none;
  padding: 0;
  margin: 0;

  display: flex;
  flex-direction: column;
  gap: 26px;

  font-size: 22px;
  line-height: 1.5;
  color: #1c2b44;
}

.servicios__list li strong{
  font-weight: 700;
}

/* Imagen */
.servicios__img img{
  width: 100%;
  max-width: 520px;
  max-height: 550px;
  object-fit: contain;
  height: auto;
  display: block;
  margin: 0 auto;
}

/* Responsive */
@media (max-width: 900px){

  .servicios__content,
  .servicios__content_reverse{
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .servicios__content_reverse .servicios__img{
    order: 0; /* vuelve a orden normal en móvil */
  }

  .servicios__title-main{
    font-size: 30px;
  }

  .servicios__subtitle{
    font-size: 20px;
  }

  .servicios__list{
    font-size: 16px;
  }

}
/* =========================
   CONTACTO (más compacto)
========================= */

.contacto{
  background:#f2f2f2;
  padding:50px 0 30px;
}

.contacto__grid{
  display:grid;
  grid-template-columns:1fr 1.2fr;
  gap:50px;
  align-items:start;
}

/* texto */

.contacto__info h2 {
  font-size: 42px;
  margin-bottom: 10px;
  color: #2b3f5f;
  font-weight: 800;
}

.contacto__info p {
  font-size: 18px;        /* buen tamaño legible */
  line-height: 1.6;       /* un poco más de espacio vertical */
  max-width: 480px;       /* un poco más ancho para menos cortes */
  color: #2b3f5f;
}
.servicios{
  background:#f4f4f4;
  padding:80px 0;
}

.servicios-container{
  max-width:1200px;
  margin:auto;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:60px;
  padding:0 20px;
}

/* imagen */

.servicios-img img{
  width:480px;
  max-width:100%;
}

/* texto */

.servicios-texto{
  max-width:600px;
}

.servicios-texto h2{
  color:#f57c00;
  font-size:46px;
  margin-bottom:35px;
}

.servicios-texto ul{
  list-style:none;
  padding:0;
}

.servicios-texto li{
  font-size:22px;
  margin-bottom:22px;
  color:#2b3f5f;
  line-height:1.4;
}
/* formulario */

.contacto__form{
  display:flex;
  flex-direction:column;
  gap:20px;
}

.contacto__row{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:30px;
}

.contacto__input{
  display:flex;
  flex-direction:column;
}

.contacto__input label{
  font-size:18px;
  margin-bottom:6px;
  color:#2b3f5f;
}

.contacto__input input,
.contacto__input textarea{
  border:none;
  border-bottom:2px solid #2b3f5f;
  background:transparent;
  font-size:16px;
  padding:4px 0;
  outline:none;
}

/* botón */

.contacto__btn{
  margin-top:10px;
  width:160px;
  padding:10px;
  border:none;
  background:#f57c00;
  color:white;
  font-size:18px;
  border-radius:6px;
  cursor:pointer;
  transition:.3s;
}

.contacto__btn:hover{
  background:#e06f00;
}

/* =========================
   ASOCIACIONES
========================= */

.asociaciones{
  text-align:center;
  margin-top:70px;
}

.asociaciones h2{
  font-size:38px;
  color:#2b3f5f;
  margin-bottom:20px;
}

.asociaciones img{
  width:140px;
}
.footer{
  background:#2c476b;
  color:white;
  padding-top:40px;
}

.footer-container{
  display:flex;
  justify-content:space-between;
  align-items:flex-start;
  max-width:1100px;
  margin:auto;
  padding:0 20px 20px;
}

.footer-left h3{
  font-size:30px;
  margin-bottom:15px;
}

.redes{
  display:flex;
  gap:15px;
}

.redes i{
  font-size:28px;
  background:white;
  color:#2c476b;
  padding:10px;
  border-radius:6px;
  cursor:pointer;
}

.footer-right{
  text-align:right;
}

.footer-right h3{
  font-size:28px;
  margin:0;
}

.footer-right p{
  margin:5px 0 15px;
  font-size:18px;
}

.footer-bottom{
  text-align:center;
  border-top:1px solid rgba(255,255,255,0.4);
  padding:10px;
  font-size:18px;
}