/* ============================================================
   ADEMI CONSULTORES — Estilos globales
   ============================================================ */
 
   *, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
  }
   
  html, body {
    width: 100%;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    overflow-x: hidden;
  }

  html {
    scroll-behavior: smooth;
}
   
   
  /* ============================================================
     HEADER / NAVBAR
     ============================================================ */
   
  .header-nav {
    background-color: #1B3464;
    width: 100%;
    height: 80px;
    display: flex;
    align-items: center;
    position: fixed;
    z-index: 100;
  }
   
  .header-nav__container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
   
  /* --- Logo --- */
  .header-nav__logo-img {
    height: 60px;
    width: auto;
    object-fit: contain;
  }
   
  /* --- Botón hamburguesa --- */
  .header-nav__hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 40px;
    height: 40px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 4px;
    z-index: 200;
  }
   
  .header-nav__hamburger-line {
    display: block;
    width: 26px;
    height: 2px;
    background-color: #ffffff;
    border-radius: 2px;
    transition: transform 0.3s ease, opacity 0.3s ease;
  }
   
  /* Animación X al abrir */
  .header-nav__hamburger--open .header-nav__hamburger-line:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }
  .header-nav__hamburger--open .header-nav__hamburger-line:nth-child(2) {
    opacity: 0;
  }
  .header-nav__hamburger--open .header-nav__hamburger-line:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }
   
  /* --- Menú nav --- */
  .header-nav__menu {
    display: flex;
    align-items: center;
  }
   
  .header-nav__list {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 40px;
  }
   
  .header-nav__link {
    text-decoration: none;
    color: #d0dff0;
    font-size: 16px;
    font-weight: 400;
    white-space: nowrap;
    transition: color 0.2s ease;
  }
   
  .header-nav__link:hover {
    color: #ffffff;
  }
   
  .header-nav__link--active {
    color: #ffffff;
    font-weight: 700;
    border-bottom: 2px solid #4A90D9;
    padding-bottom: 2px;
  }
   
   
  /* ============================================================
     HERO SECTION
     ============================================================ */
   
  .hero-section {
    position: relative;
    width: 100%;
    height: 650px;
    background-image: url('img/1.webp');
    background-size: cover;
    background-position: top center;
    overflow: hidden;
    display: flex;
    align-items: center;
  }
   
  /* Overlay degradado izquierdo */
  .hero-section__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
      to right,
      rgba(255, 255, 255, 0.92) 0%,
      rgba(255, 255, 255, 0.80) 30%,
      rgba(255, 255, 255, 0.40) 55%,
      rgba(255, 255, 255, 0.00) 75%
    );
    z-index: 1;
  }
   
  /* Contenido de texto hero */
  .hero-section__content {
    position: relative;
    z-index: 2;
    padding-left: 80px;
    max-width: 680px;
  }
   
  .hero-section__title-line1 {
    font-size: 52px;
    font-weight: 700;
    color: #2E6FBF;
    line-height: 1.1;
    margin-bottom: 4px;
  }
   
  .hero-section__title-line2 {
    font-size: 88px;
    font-weight: 800;
    color: #8097B3;
    line-height: 1;
    margin-bottom: 16px;
    letter-spacing: -1px;
  }
   
  .hero-section__subtitle {
    font-size: 26px;
    font-weight: 600;
    color: #3a3a3a;
    letter-spacing: 0.3px;
  }
   
  /* Redes sociales — panel lateral derecho FIJO */
  .hero-section__social {
    position: fixed;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    z-index: 999;
    background-color: #1B3464;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 12px 10px;
    gap: 4px;
    border-radius: 6px 0 0 6px;
  }
   
  .hero-section__social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 4px;
    transition: background-color 0.2s ease, transform 0.2s ease;
  }
   
  .hero-section__social-link:hover {
    background-color: rgba(255, 255, 255, 0.15);
    transform: scale(1.1);
  }
   
  .hero-section__social-icon {
    width: 26px;
    height: 26px;
  }
   
   
  /* ============================================================
     BARRA DE DIRECCIÓN
     ============================================================ */
   
  .address-bar {
    width: 100%;
    background-color: #2563B0;
    padding: 18px 0;
  }
   
  .address-bar__container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    align-items: center;
    gap: 24px;
  }
   
  .address-bar__icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
   
  .address-bar__pin {
    width: 40px;
    height: 40px;
  }
   
  .address-bar__text {
    display: flex;
    flex-direction: column;
    gap: 2px;
  }
   
  .address-bar__line {
    font-size: 16px;
    color: #ffffff;
    font-weight: 400;
    line-height: 1.5;
  }
   
  .address-bar__line strong {
    font-weight: 700;
  }
   
   
  /* ============================================================
     RESPONSIVE — TABLET (max 1024px)
     ============================================================ */
   
  @media (max-width: 1024px) {
   
    .header-nav__list {
      gap: 24px;
    }
   
    .header-nav__link {
      font-size: 15px;
    }
   
    .hero-section__content {
      padding-left: 50px;
    }
   
    .hero-section__title-line1 {
      font-size: 42px;
    }
   
    .hero-section__title-line2 {
      font-size: 70px;
    }
   
    .hero-section__subtitle {
      font-size: 22px;
    }
  }
   
   
  /* ============================================================
     RESPONSIVE — MÓVIL (max 768px)
     ============================================================ */
   
  @media (max-width: 768px) {
   
    /* Header */
    .header-nav {
      height: auto;
      min-height: 70px;
    }
   
    .header-nav__container {
      padding: 12px 20px;
      flex-wrap: wrap;
      position: relative;
    }
   
    .header-nav__logo-img {
      height: 48px;
    }
   
    /* Mostrar hamburguesa */
    .header-nav__hamburger {
      display: flex;
    }
   
    /* Menú colapsado por defecto */
    .header-nav__menu {
      display: none;
      width: 100%;
      background-color: #1B3464;
      padding: 16px 0;
    }
   
    /* Menú abierto */
    .header-nav__menu--open {
      display: flex;
    }
   
    .header-nav__list {
      flex-direction: column;
      gap: 0;
      width: 100%;
    }
   
    .header-nav__list li {
      width: 100%;
      border-top: 1px solid rgba(255,255,255,0.1);
    }
   
    .header-nav__link {
      display: block;
      padding: 14px 20px;
      font-size: 16px;
      color: #d0dff0;
    }
   
    .header-nav__link--active {
      border-bottom: none;
      border-left: 3px solid #4A90D9;
      padding-left: 17px;
      color: #ffffff;
    }
   
    /* Hero */
    .hero-section {
      height: 420px;
    }
   
    .hero-section__overlay {
      background: linear-gradient(
        to right,
        rgba(255,255,255,0.95) 0%,
        rgba(255,255,255,0.85) 50%,
        rgba(255,255,255,0.30) 100%
      );
    }
   
    .hero-section__content {
      padding-left: 24px;
      padding-right: 60px;
    }
   
    .hero-section__title-line1 {
      font-size: 30px;
    }
   
    .hero-section__title-line2 {
      font-size: 50px;
    }
   
    .hero-section__subtitle {
      font-size: 18px;
    }
   
    /* Redes sociales más pequeñas */
    .hero-section__social {
      padding: 8px 6px;
      gap: 2px;
    }
   
    .hero-section__social-link {
      width: 34px;
      height: 34px;
    }
   
    .hero-section__social-icon {
      width: 20px;
      height: 20px;
    }
   
    /* Address bar */
    .address-bar__container {
      padding: 0 20px;
      gap: 16px;
    }
   
    .address-bar__line {
      font-size: 13px;
    }
   
    .address-bar__pin {
      width: 30px;
      height: 30px;
    }
  }
   
   
  /* ============================================================
     RESPONSIVE — MÓVIL PEQUEÑO (max 480px)
     ============================================================ */
   
  @media (max-width: 480px) {
   
    .hero-section {
      height: 360px;
    }
   
    .hero-section__title-line1 {
      font-size: 24px;
    }
   
    .hero-section__title-line2 {
      font-size: 40px;
    }
   
    .hero-section__subtitle {
      font-size: 15px;
    }
   
    .hero-section__content {
      padding-left: 16px;
      padding-right: 50px;
    }
   
    .address-bar {
      padding: 14px 0;
    }
  }








.section-negocio {
    background-color: #f2f2f2;
    padding: 80px 20px;
}

.section-negocio-container {
    max-width: 1100px;
    margin: 0 auto;
}

/* TÍTULO PRINCIPAL */
.section-negocio-title {
    font-size: 64px;
    font-weight: 500;
    color: #8a8a8a;
    line-height: 1.2;
    margin-bottom: 30px;
}

/* LÍNEA */
.section-negocio-line {
    width: 60%;
    height: 6px;
    background-color: #0b2c4d;
    margin-bottom: 30px;
}

/* TEXTO */
.section-negocio-text {
    font-size: 20px;
    color: #1e73be;
    line-height: 1.8;
    max-width: 800px;
    margin-bottom: 40px;
}

/* SUBTÍTULO */
.section-negocio-subtitle {
    font-size: 32px;
    color: #0b2c4d;
    font-weight: 400;
}

/* ========================= */
/* 📱 RESPONSIVE */
/* ========================= */

@media (max-width: 768px) {
    .section-negocio-title {
        font-size: 40px;
    }

    .section-negocio-line {
        width: 80%;
        height: 4px;
    }

    .section-negocio-text {
        font-size: 16px;
    }

    .section-negocio-subtitle {
        font-size: 24px;
    }
}

@media (max-width: 480px) {
    .section-negocio-title {
        font-size: 32px;
    }

    .section-negocio-container {
        padding: 0 10px;
    }
}


.section-proceso {
    background-color: #f2f2f2;
}

/* HEADER */
.section-proceso-header {
    background-color: #0f5c8a;
    padding: 40px 20px;
}

.section-proceso-header h2 {
    color: #ffffff;
    font-size: 56px;
    font-weight: 500;
    max-width: 1100px;
    margin: 0 auto;
}

/* CONTENEDOR */
.section-proceso-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 40px 20px;
}

/* CARDS */
.section-proceso-cards {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    margin-bottom: 50px;
}

.section-proceso-card {
    background: #ffffff;
    text-align: center;
    padding: 30px 15px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    position: relative;
}

.section-proceso-icon {
    width: 120px;
    margin-bottom: 15px;
}

/* TITULO */
.section-proceso-title {
    color: #ff7a00;
    font-size: 20px;
    margin-bottom: 10px;
}

/* DESCRIPCIÓN */
.section-proceso-desc {
    color: #0b2c4d;
    font-size: 16px;
    min-height: 60px;
}

/* NUMERO */
.section-proceso-num {
    display: block;
    font-size: 60px;
    color: #8a8a8a;
    margin-top: 20px;
}

/* PARTE INFERIOR */
.section-proceso-bottom {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

/* TEXTO */
.section-proceso-text p {
    margin-bottom: 20px;
    color: #333;
    line-height: 1.6;
}

/* CAJA AZUL */
.section-proceso-box {
    background-color: #0f5c8a;
    color: #ffffff;
    padding: 30px;
}

.section-proceso-box p {
    margin-bottom: 20px;
    line-height: 1.6;
}

/* ========================= */
/* 📱 RESPONSIVE */
/* ========================= */

@media (max-width: 1024px) {
    .section-proceso-cards {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .section-proceso-header h2 {
        font-size: 36px;
    }

    .section-proceso-cards {
        grid-template-columns: repeat(2, 1fr);
    }

    .section-proceso-bottom {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .section-proceso-cards {
        grid-template-columns: 1fr;
    }

    .section-proceso-title {
        font-size: 18px;
    }

    .section-proceso-num {
        font-size: 40px;
    }
}

.section-equipo {
    background-color: #0b3a63;
    padding: 80px 20px 40px;
}

/* CONTENEDOR */
.section-equipo-container {
    max-width: 1200px;
    margin: 0 auto;
}

/* HEADER FLEX */
.section-equipo-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 50px;
}

/* TITULOS */
.section-equipo-title {
    color: #ffffff;
    font-size: 48px;
    font-weight: 600;
    letter-spacing: 2px;
}

.section-equipo-subtitle {
    color: #a0a0a0;
    font-size: 48px;
    font-weight: 400;
}

/* TITULAR */
.section-equipo-featured {
    text-align: center;
}

.section-equipo-img.featured {
    width: 200px;
    height: 200px;       /* misma altura que width */
    object-fit: contain;
    margin-bottom: 10px;
    border: none;
}

/* GRID */
.section-equipo-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 40px;
    justify-content: center;
}

/* ITEM */
.section-equipo-item {
    text-align: center;
}

.section-equipo-img {
    width: 180px;
    height: 180px;
    object-fit: contain;
    border: none;
    margin-bottom: 10px;
}

/* TEXTO */
.section-equipo-name {
    color: #ffffff;
    font-size: 12px;
}

/* GRADIENTE */
.section-equipo-gradient {
    width: 100%;
    height: 20px;
    margin-top: 60px;
    background: linear-gradient(
        to right,
        #0b3a63 0%,
        #1e73be 25%,
        #ffffff 50%,
        #1e73be 75%,
        #0b3a63 100%
    );
}

/* ========================= */
/* 📱 RESPONSIVE */
/* ========================= */

@media (max-width: 1024px) {
    .section-equipo-header {
        flex-direction: column;
        text-align: center;
        gap: 30px;
    }

    .section-equipo-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .section-equipo-title,
    .section-equipo-subtitle {
        font-size: 36px;
    }
}

@media (max-width: 768px) {
    .section-equipo-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .section-equipo-title,
    .section-equipo-subtitle {
        font-size: 28px;
    }
}

@media (max-width: 480px) {
    .section-equipo-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .section-equipo-img {
        width: 90px;
    }

    .section-equipo-img.featured {
        width: 110px;
    }
}

.footer-ademi {
    background-color: #0b3a63;
    color: #ffffff;
    padding: 60px 20px 20px;
}

/* CONTENEDOR */
.footer-ademi-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr;
    gap: 40px;
}

/* LOGO */
.footer-ademi-logo {
    width: 180px;
    margin-bottom: 20px;
}

/* TEXTOS */
.footer-ademi-text {
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 20px;
}

/* CONTACTO */
.footer-ademi-contact {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 18px;
    font-weight: 600;
}

.footer-ademi-icon {
    width: 22px;
    height: 22px;
    object-fit: contain;
}

.footer-ademi-email {
    font-size: 18px;
}

/* TITULOS */
.footer-ademi-title {
    font-size: 20px;
    margin-bottom: 20px;
    font-weight: 600;
}

/* HORARIO */
.footer-ademi-hours {
    font-size: 18px;
}

/* COLUMNAS TEXTO */
.footer-ademi-col p {
    margin-bottom: 15px;
    line-height: 1.6;
}

/* COPYRIGHT */
.footer-ademi-bottom {
    text-align: right;
    margin-top: 40px;
    font-size: 13px;
    opacity: 0.8;
}

/* ========================= */
/* 📱 RESPONSIVE */
/* ========================= */

@media (max-width: 768px) {
    .footer-ademi-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-ademi-bottom {
        text-align: center;
    }

    .footer-ademi-logo {
        margin: 0 auto 20px;
    }

    .footer-ademi-contact {
        justify-content: center;
    }
}