/* ===================================== */
/* EP INSUMOS - GLOBAL STYLESHEET */
/* ===================================== */


/* ===================== */
/* RESET */
/* ===================== */

*{
  margin:0;
  padding:0;
  box-sizing:border-box;
}

html{
  scroll-behavior:smooth;
}

body{
  font-family:'Poppins', sans-serif;
  font-size:16px;
  line-height:1.6;
  color:#444444;
  background:#ffffff;
  -webkit-font-smoothing:antialiased;
  overflow-x:hidden;
}

img{
  max-width:100%;
  height:auto;
  display:block;
}

a{
  text-decoration:none;
  color:inherit;
  transition:.25s ease;
}

ul{
  list-style:none;
}


/* ===================== */
/* VARIABLES */
/* ===================== */

:root{
  --rosa:#e90092;
  --morado:#3d4fd8;
  --azul-footer:#001550;
  --texto:#444444;
  --blanco:#ffffff;
  --negro:#111111;
  --gris-claro:#f5f7fb;
  --borde:rgba(255,255,255,.10);
  --sombra:0 16px 40px rgba(0, 21, 80, 0.12);

  --container-width:1280px;
  --header-height:88px;
}


/* ===================== */
/* TIPOGRAFIAS */
/* ===================== */

h1,h2,h3,h4,h5,h6{
  font-family:'Montserrat', sans-serif;
  font-weight:700;
  color:#111111;
  line-height:1.15;
  margin-bottom:14px;
}

h1{
  font-size:42px;
}

h2{
  font-size:34px;
}

h3{
  font-size:24px;
}

h4{
  font-size:20px;
}

p{
  margin-bottom:18px;
  font-weight:400;
}


/* ===================== */
/* CONTENEDOR */
/* ===================== */

.container{
  width:min(92%, var(--container-width));
  margin:0 auto;
}


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

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:48px;
  padding:12px 26px;
  border:none;
  border-radius:6px;
  font-family:'Montserrat', sans-serif;
  font-size:13px;
  font-weight:700;
  letter-spacing:.10em;
  text-transform:uppercase;
  background:var(--rosa);
  color:#ffffff;
  transition:.3s ease;
  cursor:pointer;
}

.btn:hover{
  background:var(--morado);
  color:#ffffff;
}

.btn-dark{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:48px;
  padding:12px 24px;
  border-radius:6px;
  background:var(--azul-footer);
  color:#fff;
  font-family:'Montserrat', sans-serif;
  font-size:13px;
  font-weight:700;
  letter-spacing:.08em;
  text-transform:uppercase;
  transition:.3s ease;
}

.btn-dark:hover{
  background:var(--morado);
  color:#fff;
}

.btn-outline-light{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:48px;
  padding:12px 24px;
  border:1px solid rgba(255,255,255,.35);
  border-radius:6px;
  color:#fff;
  background:rgba(255,255,255,.06);
  font-family:'Montserrat', sans-serif;
  font-size:13px;
  font-weight:700;
  letter-spacing:.08em;
  text-transform:uppercase;
  transition:.3s ease;
}

.btn-outline-light:hover{
  background:#fff;
  color:var(--azul-footer);
}


/* ===================== */
/* HEADER */
/* ===================== */

.site-header{
  position:fixed;
  top:0;
  left:0;
  width:100%;
  z-index:999;
  background:rgba(0, 21, 80, .96);
  backdrop-filter:blur(10px);
  border-bottom:1px solid rgba(255,255,255,.08);
}

.header-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:28px;
  min-height:var(--header-height);
}

.logo{
  display:inline-flex;
  align-items:center;
  flex-shrink:0;
}

.logo img{
  height:46px;
  width:auto;
}

.header-btn{
  flex-shrink:0;
}


/* ===================== */
/* NAV */
/* ===================== */

.main-nav{
  flex:1;
  display:flex;
  justify-content:center;
}

.nav-menu{
  display:flex;
  align-items:center;
  gap:36px;
}

.nav-menu li{
  position:relative;
}

.nav-menu a{
  position:relative;
  display:inline-flex;
  align-items:center;
  min-height:var(--header-height);
  font-family:'Montserrat', sans-serif;
  font-size:13px;
  font-weight:600;
  letter-spacing:.08em;
  text-transform:uppercase;
  color:#fff;
}

.nav-menu a:hover{
  color:#fff;
}

.nav-menu > li > a::after{
  content:"";
  position:absolute;
  left:0;
  bottom:24px;
  width:0;
  height:2px;
  background:var(--rosa);
  transition:width .28s ease;
}

.nav-menu > li > a:hover::after,
.nav-menu > li:hover > a::after{
  width:100%;
}


/* ===================== */
/* DROPDOWN */
/* ===================== */

.dropdown{
  position:absolute;
  top:100%;
  left:0;
  min-width:240px;
  padding:12px 0;
  background:#fff;
  border-radius:10px;
  box-shadow:0 18px 40px rgba(0,21,80,.16);
  opacity:0;
  visibility:hidden;
  transform:translateY(10px);
  transition:.25s ease;
  z-index:50;
}

.dropdown li{
  width:100%;
}

.dropdown a{
  display:block;
  min-height:auto;
  padding:11px 18px;
  color:#24314f;
  font-family:'Poppins', sans-serif;
  font-size:14px;
  font-weight:500;
  letter-spacing:0;
  text-transform:none;
}

.dropdown a::after{
  display:none;
}

.dropdown a:hover{
  background:rgba(61,79,216,.06);
  color:var(--rosa);
}

.has-dropdown:hover .dropdown{
  opacity:1;
  visibility:visible;
  transform:translateY(0);
}


/* ===================== */
/* MAIN SPACING */
/* ===================== */

main{
  padding-top:var(--header-height);
}


/* ===================== */
/* SECCIONES BASE */
/* ===================== */

section{
  padding:90px 0;
}

.section-title{
  margin-bottom:40px;
}


/* ===================== */
/* GRID BASE */
/* ===================== */

.grid{
  display:grid;
  grid-template-columns:repeat(3, 1fr);
  gap:40px;
}

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

.grid-4{
  grid-template-columns:repeat(4, 1fr);
}


/* ===================== */
/* TARJETAS */
/* ===================== */

.card{
  background:#fff;
  border:1px solid rgba(0,0,0,.06);
  padding:30px;
  border-radius:10px;
  transition:.3s ease;
}

.card:hover{
  box-shadow:0 10px 30px rgba(0,0,0,0.06);
  transform:translateY(-3px);
}


/* ===================== */
/* FORMULARIOS */
/* ===================== */

input,
textarea,
select{
  width:100%;
  padding:12px 14px;
  border:1px solid #ddd;
  border-radius:6px;
  font-family:'Poppins', sans-serif;
  font-size:14px;
  margin-bottom:16px;
}

input:focus,
textarea:focus,
select:focus{
  outline:none;
  border-color:var(--rosa);
}


/* ===================== */
/* FOOTER */
/* ===================== */

.site-footer,
footer{
  background:var(--azul-footer);
  color:#fff;
  padding:70px 0 40px;
}

.footer-grid{
  display:grid;
  grid-template-columns:1.2fr .9fr .9fr;
  gap:40px;
  align-items:start;
}

.footer-logo{
  max-width:220px;
  margin-bottom:20px;
}

.footer-col p{
  color:rgba(255,255,255,.82);
  line-height:1.85;
}

.footer-title{
  font-family:'Montserrat', sans-serif;
  font-size:16px;
  font-weight:700;
  margin-bottom:20px;
  color:#fff;
}

.footer-links li{
  margin-bottom:12px;
}

.footer-links a,
.footer-links li{
  font-size:14px;
  color:rgba(255,255,255,.82);
}

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

.footer-bottom{
  margin-top:40px;
  padding-top:24px;
  border-top:1px solid rgba(255,255,255,.16);
}

.footer-bottom p{
  margin:0;
  font-size:13px;
  color:rgba(255,255,255,.72);
}


/* ===================== */
/* HERO AJUSTE GENERAL */
/* ===================== */

.hero-ep{
  margin-top:0;
}


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

@media (max-width:1280px){

  .nav-menu{
    gap:24px;
  }

  .nav-menu a{
    font-size:12px;
  }

}

@media (max-width:1100px){

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

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

  .nav-menu{
    gap:16px;
  }

  .nav-menu a{
    font-size:11px;
    letter-spacing:.06em;
  }

  .header-btn{
    padding:10px 18px;
    min-height:42px;
    font-size:12px;
  }

}

@media (max-width:920px){

  .site-header{
    position:relative;
  }

  .header-inner{
    min-height:auto;
    padding:16px 0;
    flex-direction:column;
    justify-content:center;
    gap:16px;
  }

  .logo img{
    height:42px;
  }

  .main-nav{
    width:100%;
    justify-content:center;
  }

  .nav-menu{
    flex-wrap:wrap;
    justify-content:center;
    gap:14px 18px;
  }

  .nav-menu a{
    min-height:auto;
    padding:4px 0;
    font-size:12px;
  }

  .nav-menu > li > a::after{
    bottom:-4px;
  }

  .dropdown{
    left:50%;
    transform:translateX(-50%) translateY(10px);
  }

  .has-dropdown:hover .dropdown{
    transform:translateX(-50%) translateY(0);
  }

  main{
    padding-top:0;
  }

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

}

@media (max-width:768px){

  h1{
    font-size:34px;
  }

  h2{
    font-size:28px;
  }

  section{
    padding:70px 0;
  }

  .header-btn{
    display:none;
  }

  .nav-menu{
    gap:12px 16px;
  }

}

@media (max-width:600px){

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

  .container{
    width:min(94%, var(--container-width));
  }

  .logo img{
    height:38px;
  }

  .nav-menu{
    gap:10px 14px;
  }

  .nav-menu a{
    font-size:11px;
    letter-spacing:.05em;
  }

  .dropdown{
    min-width:220px;
  }

}

