/* INTEGRATEC - MAIN CSS */

/* FONTS */
@font-face { font-display: swap; font-family: Montserrat; font-style: normal; font-weight: 500; src: local(''), url('../../style-sheets/font/montserrat-v25-latin-500.woff2') format('woff2'); }
@font-face { font-display: swap; font-family: Montserrat; font-style: normal; font-weight: 400; src: local(''), url('../../style-sheets/font/montserrat-v25-latin-regular.woff2') format('woff2'); }
@font-face { font-display: swap; font-family: Montserrat; font-style: normal; font-weight: 600; src: local(''), url('../../style-sheets/font/montserrat-v25-latin-600.woff2') format('woff2'); }
@font-face { font-display: swap; font-family: Montserrat; font-style: normal; font-weight: 700; src: local(''), url('../../style-sheets/font/montserrat-v25-latin-700.woff2') format('woff2'); }

/* VARIABLES Y RESET */
* { --azul: #3287c2; --blanco: #fff; --fondo-dark-mode: #0c1b25; --fondo-footer: #505978; --fondo-gris: #f7f7f7; --gris-texto: #ababab; --lima: #6cc98e; --morado: #9782e6; --naranja: #f0a66c; --naranja-claro: #f9dbc4; --negro: #2f4858; --negro-formulario: #333; --negro-texto: #555; --rojo: #e1857f; --verde: #00745f; margin: 0; }
*, header { padding: 0; }
::selection { background: var(--naranja); color: var(--blanco); }
:root { background: var(--blanco) !important; }
html { overflow-x: hidden; }

/* BODY */
body { align-items: center; background: 0 0; display: flex; flex-direction: column; font-family: Montserrat, sans-serif; font-weight: 500; justify-content: flex-start; line-height: 1.2; overflow-x: hidden; width: 100%; }

/* HEADER */
header { align-items: flex-start; background-color: var(--negro); display: flex; height: 77px; justify-content: center; left: 0; position: fixed; top: 0; transition: all .2s ease; width: 100%; z-index: 1000; }
header, html { background-color: var(--negro); }
body, header { display: flex; width: 100%; }
footer > nav > #logo-movil, header > #icono-movil, header > #logo-movil, header > #movil { display: none; }
header > #escritorio { display: block; max-width: 1300px; width: 90%; }
header > #escritorio > #logo-escritorio { float: left; margin-right: 50px; margin-top: 20px; text-decoration: none; z-index: 1100; }
header > #escritorio > #logo-escritorio > img, header > #logo-movil > img { aspect-ratio: 15/3; cursor: pointer; }
header > #escritorio > #logo-escritorio > img { position: relative; z-index: 1100; }
header > #escritorio > ul { align-items: center; display: flex; flex-direction: row; float: left; justify-content: flex-start; list-style: none; margin-top: 30px; position: relative; }
header > #escritorio > ul > li { align-items: center; display: flex; justify-content: center; line-height: 1.7rem; margin-left: 23px; padding-bottom: 22px; z-index: 100; }
header > #escritorio > ul > li:last-of-type { margin-left: 27px; }
header > #escritorio > ul > li > a, header > #escritorio > ul > li > p { color: var(--blanco); cursor: pointer; font-size: 1em; font-weight: 600; text-align: center; text-decoration: none; transition: .2s; }
header > #escritorio > ul > li > a:hover, header > #escritorio > ul > li > p:hover { text-decoration: underline; }
header > #escritorio > ul > aside { align-items: flex-start; background: #f6f7f7; box-shadow: 0 8px 15px rgba(0, 0, 0, .15); box-sizing: border-box; display: flex; justify-content: center; left: 0; opacity: 0; padding: 40px 2px 25px 0; position: fixed; top: 70px; transition: .5s; visibility: hidden; width: 100vw; }
.menu, header > #escritorio > ul > aside { box-shadow: 0 8px 15px rgba(0, 0, 0, .15); }
header > #escritorio > ul > aside:hover, header > #escritorio > ul > li:hover + aside { opacity: 1; visibility: visible; }
header > #escritorio > ul > aside > ul { align-items: flex-start; display: flex; flex-direction: column; list-style: none; margin: 0 2px; max-width: 210px; min-width: auto; padding: 0 20px 25px; width: 19%; }
header > #escritorio > ul > aside > ul > h4 { font-size: .9em; font-weight: 700; line-height: 1.15rem; margin-bottom: 12px; margin-top: 7px; text-align: left; text-transform: uppercase; width: 100%; }
header > #escritorio > ul > aside > ul:first-of-type > h4 { color: var(--rojo); }
header > #escritorio > ul > aside > ul:nth-of-type(2) > h4 { color: var(--verde); }
header > #escritorio > ul > aside > ul:nth-of-type(3) > h4 { color: var(--morado); }
header > #escritorio > ul > aside > ul:nth-of-type(4) > h4 { color: var(--lima); }
header > #escritorio > ul > aside > ul > li { align-items: center; display: flex; justify-content: flex-start; line-height: 1.7rem; margin: 7px 0; width: 100%; }
header > #escritorio > ul > aside > ul > li > a { color: var(--negro); font-size: .9em; font-weight: 500; line-height: 1.15rem; text-align: left; text-decoration: none; transition: .2s; width: 100%; }
header > #escritorio > ul > aside > ul > li > a:hover { color: var(--naranja); }
header > #escritorio > .botones-esc { border: 1px solid var(--blanco); border-radius: 5px; color: var(--blanco); float: right; font-size: .85em; font-weight: 600; line-height: 1.7rem; margin-left: 10px; margin-top: 25px; padding: 5px 15px; position: relative; text-decoration: none; transition: all 0.2s ease; white-space: nowrap; z-index: 1100; }
header > #escritorio > .botones-esc:hover { background: var(--naranja); border-color: var(--naranja); }
header > #escritorio > .botones-esc:first-of-type { margin-left: 18%; }

/* FOOTER LEGACY */
footer { align-items: flex-start; background: var(--fondo-footer); display: flex; justify-content: center; padding-top: 20px; width: 100%; }
footer > nav { align-items: flex-start; display: flex; justify-content: flex-start; max-width: 1300px; padding-bottom: 175px; padding-top: 40px; position: relative; width: 90%; }
footer > nav > #logo-escritorio-footer { align-items: center; display: flex; justify-content: center; margin-right: 40px; text-decoration: none; width: 75px; }
footer > nav > #logo-escritorio-footer > img { aspect-ratio: 1/1; }
footer > nav > div { align-items: flex-start; display: flex; flex-direction: column; margin-right: 4px; min-width: 140px; padding-left: 10px; width: 15%; }
footer > nav > div:last-of-type { width: 30%; }
footer > nav > div > p { color: var(--blanco); font-size: 1rem; font-weight: 500; line-height: 1.7rem; margin-bottom: 5px; text-align: left; }
footer > nav > div > a, footer > nav > div > a > p, footer > nav > span { color: var(--blanco); font-weight: 400; line-height: 1.7rem; text-align: left; }
footer > nav > div:last-of-type > p, footer > nav > div > a > p { margin-bottom: 0; }
footer > nav > div > a, footer > nav > div > a > p { font-size: .9rem; text-decoration: none; transition: .2s; }
footer > nav > div > a { align-items: center; display: flex; justify-content: flex-start; }
footer > nav > div > a:hover { color: var(--naranja-claro); }
footer > nav > div > a > p > span { font-weight: 700; }
footer > nav > div > a > img { aspect-ratio: 20/11; margin-right: 10px; }
footer > nav > span { bottom: 30px; font-size: .8em; position: absolute; width: 100%; }

/* RESPONSIVE - HEADER MOBILE (hamburger menu) */
@media screen and (max-width: 1000px) {
  footer > nav > #logo-escritorio-footer, header > #escritorio { display: none; }
  header { justify-content: center; position: absolute; }
  header > #logo-movil { display: flex; position: absolute; left: 50%; transform: translateX(-50%); margin-top: 18px; z-index: 1100; }
  header > #logo-movil > img { width: 180px; }

  /* Modern Mobile Menu */
  header > #movil {
    background: linear-gradient(180deg, #1a2e3b 0%, #0f1c24 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100vh;
    opacity: 0;
    overflow-y: auto;
    position: fixed;
    right: 100%;
    top: 0;
    transition: .3s ease;
    width: 100vw;
    z-index: 1050;
    padding-top: 80px;
    padding-bottom: 40px;
    box-sizing: border-box;
  }
  header > #movil > ul {
    align-items: center;
    display: flex;
    flex-direction: column;
    list-style: none;
    gap: 5px;
    width: 100%;
    max-width: 300px;
    padding: 0 20px;
  }
  header > #movil > ul > li {
    display: flex;
    justify-content: center;
    width: 100%;
  }
  header > #movil > ul > li > a {
    color: rgba(255, 255, 255, 0.85);
    font-size: 1.1em;
    font-weight: 500;
    text-decoration: none;
    padding: 12px 20px;
    border-radius: 8px;
    transition: all 0.2s ease;
    width: 100%;
    text-align: center;
  }
  header > #movil > ul > li > a:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
  }

  /* CTA Button in Mobile Menu */
  header > #movil > .mobile-cta {
    margin-top: 30px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
    max-width: 260px;
    padding: 0 20px;
  }
  header > #movil > .mobile-cta > a {
    display: block;
    padding: 14px 30px;
    border-radius: 10px;
    font-size: 1em;
    font-weight: 600;
    text-decoration: none;
    text-align: center;
    transition: all 0.2s ease;
  }
  header > #movil > .mobile-cta > a.cta-primary {
    background: var(--naranja);
    color: #fff;
  }
  header > #movil > .mobile-cta > a.cta-primary:hover {
    background: #e09550;
  }
  header > #movil > .mobile-cta > a.cta-secondary {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: rgba(255, 255, 255, 0.85);
  }
  header > #movil > .mobile-cta > a.cta-secondary:hover {
    border-color: #fff;
    color: #fff;
  }

  /* Hamburger Icon */
  header > #icono-movil {
    align-items: center;
    background: 0 0;
    border: 0;
    display: flex;
    flex-direction: column;
    height: 1.35em;
    justify-content: space-between;
    position: absolute;
    right: 25px;
    top: 25px;
    text-decoration: none;
    width: 2em;
    z-index: 1100;
    cursor: pointer;
  }
  header > #icono-movil > span {
    background: #fff;
    border-radius: 10px;
    height: 3px;
    transform-origin: left;
    transition: .3s ease;
    width: 100%;
  }
  header > #icono-movil > .abierto:first-of-type { transform: rotate(42deg) translateY(-1px); }
  header > #icono-movil > .abierto:nth-of-type(2) { opacity: 0; }
  header > #icono-movil > .abierto:last-of-type { transform: rotate(-42deg) translateY(2px); }
}

/* RESPONSIVE - OLD FOOTER MOBILE */
@media screen and (max-width: 750px) {
  footer > nav { align-items: center; flex-direction: column; padding-bottom: 7vh; }
  footer > nav > #logo-movil { align-items: center; display: flex; justify-content: center; margin-bottom: 5vh; width: 60%; }
  footer > nav > #logo-movil > img { aspect-ratio: 15/3; }
  footer > nav > div { align-items: center; border-bottom: 1px solid var(--blanco); margin-bottom: 4vh; padding-bottom: 2vh; width: 80%; }
  footer > nav > div:last-of-type { width: 80%; }
  footer > nav > span { font-size: .75em; position: initial; text-align: center; width: 80%; }
}

/* FOOTER PRO */
.footer-pro { align-items: center; background: linear-gradient(180deg, #1a2e3b 0%, #0f1c24 100%); display: flex; flex-direction: column; padding: 0; width: 100%; }
.footer-main { align-items: flex-start; box-sizing: border-box; display: flex; gap: 40px; justify-content: space-between; max-width: 1300px; padding: 60px 50px 40px; width: 100%; }
.footer-brand { display: flex; flex-direction: column; gap: 15px; max-width: 280px; }
.footer-brand > a > img { height: 40px; width: auto; }
.footer-brand > p { color: rgba(255, 255, 255, 0.7); font-size: 0.95em; font-weight: 400; line-height: 1.6; }
.footer-social { display: flex; gap: 12px; margin-top: 10px; }
.footer-social > a { align-items: center; background: rgba(255, 255, 255, 0.1); border-radius: 8px; color: rgba(255, 255, 255, 0.7); display: flex; height: 36px; justify-content: center; transition: all 0.3s ease; width: 36px; }
.footer-social > a:hover { background: var(--naranja); color: #fff; transform: translateY(-2px); }
.footer-links { display: flex; flex: 1; gap: 50px; justify-content: flex-end; }
.footer-col { display: flex; flex-direction: column; gap: 12px; min-width: 140px; }
.footer-col > h4 { color: #fff; font-size: 1em; font-weight: 600; letter-spacing: 0.5px; margin-bottom: 8px; text-transform: uppercase; }
.footer-col > a { color: rgba(255, 255, 255, 0.7); font-size: 0.9em; font-weight: 400; text-decoration: none; transition: all 0.2s ease; }
.footer-col > a:hover { color: var(--naranja); padding-left: 5px; }
.footer-contact > a { align-items: center; display: flex; gap: 8px; }
.footer-contact > a > img { border-radius: 2px; object-fit: cover; }
.footer-bottom { align-items: center; border-top: 1px solid rgba(255, 255, 255, 0.1); box-sizing: border-box; display: flex; justify-content: space-between; max-width: 1300px; padding: 25px 50px; width: 100%; }
.footer-bottom > p { color: rgba(255, 255, 255, 0.5); font-size: 0.85em; font-weight: 400; }
.footer-legal { align-items: center; display: flex; gap: 15px; }
.footer-legal > a { color: rgba(255, 255, 255, 0.5); font-size: 0.85em; text-decoration: none; transition: color 0.2s ease; }
.footer-legal > a:hover { color: var(--naranja); }
.footer-legal > span { color: rgba(255, 255, 255, 0.3); font-size: 0.85em; }

/* FOOTER PRO RESPONSIVE - TABLET */
@media screen and (max-width: 1000px) {
  .footer-main { flex-direction: column; padding: 40px 30px; align-items: center; }
  .footer-brand { align-items: center; max-width: 100%; text-align: center; width: 100%; margin-bottom: 30px; }
  .footer-social { justify-content: center; }
  .footer-links { flex-wrap: wrap; gap: 30px 50px; justify-content: center; width: 100%; }
  .footer-col { min-width: 180px; max-width: 220px; }
}

/* FOOTER PRO RESPONSIVE - MOBILE */
@media screen and (max-width: 750px) {
  .footer-main { padding: 30px 20px; }
  .footer-links { flex-direction: column; gap: 25px; }
  .footer-col { align-items: center; min-width: 100%; text-align: center; }
  .footer-bottom { flex-direction: column; gap: 15px; padding: 20px; text-align: center; }
}
