
/*! HTML5 Boilerplate v9.0.1 | MIT License | https://html5boilerplate.com/ */

/* main.css 3.0.0 | MIT License | https://github.com/h5bp/main.css#readme */
/*
 * What follows is the result of much research on cross-browser styling.
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 */

/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */

html {
  color: var(--font-text);
  font-size: 1em;
  line-height: 1;
}

/*
 * Remove text-shadow in selection highlight:
 * https://twitter.com/miketaylr/status/12228805301
 *
 * Customize the background color to match your design.
 */

::-moz-selection {
  background: #b3d4fc;
  text-shadow: none;
}

::selection {
  background: #b3d4fc;
  text-shadow: none;
}

/*
 * A better looking default horizontal rule
 */

hr {
  display: block;
  height: 1px;
  border: 0;
  border-top: 1px solid #ccc;
  margin: 1em 0;
  padding: 0;
}

/*
 * Remove the gap between audio, canvas, iframes,
 * images, videos and the bottom of their containers:
 * https://github.com/h5bp/html5-boilerplate/issues/440
 */

audio,
canvas,
iframe,
img,
svg,
video {
  vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

fieldset {
  border: 0;
  margin: 0;
  padding: 0;
}

/*
 * Allow only vertical resizing of textareas.
 */

textarea {
  resize: vertical;
}

/* ==========================================================================
   Author's custom styles
   ========================================================================== */

:root {

  --font-text: Tahoma,Verdana,Segoe,sans-serif; 
  --font-georgia: Georgia,Times,Times New Roman,serif;
  --white: #fff;
  --black: #000;
  --blue: #005787;
  --green: #76BA3B;
  --lightblue: #88D1CB;
  --grey-light: #F1F1F1;
  --grey-dark: #565656;
  --text-color: #005787;

  --transition-in: 0.25s ease-in-out;
  --transition-out: 0.5s ease-in-out;

}




html {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box; 
  
  -webkit-text-size-adjust: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
}

*,*:before,*:after {
    -webkit-box-sizing: inherit;
    -moz-box-sizing: inherit;
    box-sizing: inherit; 
}

body {  
  -webkit-text-size-adjust: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  height: 100%;  
  
  font-family: var(--font-text);
  font-weight: 400;
  font-style: normal;
  font-size: 1rem;
  line-height: 1;

  background-color: var(--white);
  color: var(--text-color);

  margin: 0;
  padding: 0;
}

figure, section, article, aside, figcaption {margin:0; padding:0}

a { color: inherit; }
a, a:focus, a:hover, a:active { outline:none; text-decoration:none}

button:focus {outline:0;}

button {
  background: none;
  background-color: transparent;
  padding: 0;
  margin: 0;
  cursor: pointer;
  border-radius: 0;
  border:none;
}



.wrapper {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  position: relative;
  max-width: 100%;
  margin: 0 auto;
}


.main-container {
    width: 100%;
    max-width: 1366px;
    padding-left: 2rem;
    padding-right: 2rem;
    margin-left: auto;
    margin-right: auto;
}


.header {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    width: 100%;
    height: 160px;
    background-color: var(--blue);
}

.header .logo {
    width: 165px;
}


.banner {
    width: 100%;
    background-color: var(--lightblue);
}

.banner .inner-banner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}


.banner .inner-banner .col-banner {
    display: flex;
    flex-direction: column;
    text-align: left;
    padding: 3rem 0;
}

.banner .inner-banner .col-banner h1 {
    font-family: var(--font-georgia);
    font-size: 4rem;
    font-weight: 400;
    line-height: 1.1;
    margin: 0 0 1.25rem;

}

.banner .inner-banner .col-banner p {
    font-size: 1.5rem;
    line-height: 1.3;
}

.banner .inner-banner .col-banner .logo-itevelesa {
    width: 252px;
    margin: 0.5rem 0 0;
}

.banner .inner-banner .picto-banner {
    width: 760px;
    margin-bottom: -62px;
}




.section-como-funciona {
    padding-top: 3.75rem;
    padding-bottom: 3.75rem;
}

.section-como-funciona h2 {
    font-family: var(--font-georgia);
    font-size: 3rem;
    font-weight: 400;
    margin: 0 0 1.5rem 0;
}

.section-como-funciona .grid-como {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 60px;
    margin: 0 auto;
}

.section-como-funciona .grid-como .item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    border:2px solid var(--blue);
    border-radius: 24px;
    padding: 1.5rem;
}

.section-como-funciona .grid-como .item .icon {
    width: auto;
    height: 44px;
}

.section-como-funciona .grid-como .item h3 {
    font-size: 1.25rem;
    line-height: 1.35;
    font-weight: 700;
    margin: 0.5rem 0 0;
}

.section-como-funciona .grid-como .item p {
    font-size: 1.35rem;
    line-height: 1.25;
    margin: 0;
}




.section-descarga {
    padding-top: 3.75rem;
    padding-bottom: 3.75rem;
    background-color: var(--blue);
}

.section-descarga h2 {
    font-family: var(--font-georgia);
    font-size: 3rem;
    font-weight: 400;
    margin: 0 0 1.75rem 0;
    color: var(--white);
}

.section-descarga p {
    font-size: 1.35rem;
    line-height: 1.25;
    margin: 1.5rem 0 0 0;
    color: var(--white);
}


.section-descarga .item-ciudad {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: auto;
    height: 320px;
    background-color: var(--white);
    border-radius: 24px;
    padding: 32px 28px 32px;
    gap: 25px;
    text-align: left;
    color: var(--blue);
}

.section-descarga .item-ciudad h3 {
    font-size: 2.5rem;
    font-weight: 700;
    margin: 0;
}

.section-descarga .item-ciudad span {
    font-size: 1.125rem;
    line-height: 1.25;
    margin-top: auto;

}

.section-descarga .item-ciudad .button-download {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 18px 16px;
    gap:16px;
    background-color: var(--green);
    color: var(--white);
    border-radius: 12px;
    transition: background 0.25s ease-in-out;
}

.section-descarga .item-ciudad .button-download span {
    font-size: 1.125rem;
    font-weight: 700;

}

.section-descarga .item-ciudad .button-download .icon {
    width: 23px;
    height: auto;
}

.section-descarga .item-ciudad .button-download:hover {
    background-color: var(--blue);
}


.splide__arrow--prev { left: -3rem }
.splide__arrow--next { right:-3rem }
.splide__arrow {
    width: 3rem;
    height: 3rem;
    background: transparent;
}

.splide__arrow svg {
    height: 2em;
    width: 2em;
    fill: var(--white);
}

.section-promocion {
    padding-top: 2rem;
    padding-bottom: 2rem;
}

.section-promocion p {
    font-size: 1.25rem;
    line-height: 1.3;
    text-align: left;
}


.footer {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    width: 100%;
    height: 160px;
    background-color: var(--blue);
}

.footer ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;

}

.footer ul li {
    padding: 0 2.5rem ;
    border-right: 2px solid var(--white);
}

.footer ul li:first-of-type {
    padding-left: 0;
}

.footer ul li:last-of-type {
    padding-right: 0;
    border-right: none;
}

.footer .logo {
    width: 165px;
    height: auto;
}

.footer .logo-itevelesa {
    width: 282px;
    height: auto;
}



@media only screen and (max-width: 1366px) {


    .main-container {
        padding-left: 3rem;
        padding-right: 3rem;
    }

    .header,
    .footer { height:130px }

    .banner .inner-banner .col-banner h1 { font-size: 3.5rem }
    .banner .inner-banner .col-banner p { font-size: 1.3125rem }

    .banner .inner-banner .picto-banner { width: 620px;     margin-bottom: -36px;}


    .section-como-funciona h2,
    .section-descarga h2 { font-size: 2.75rem }



    .section-descarga .item-ciudad {
        height: 300px;
        padding: 28px 24px 28px;
    }

    .section-descarga .item-ciudad h3 { font-size: 2.25rem }

}



@media only screen and (max-width: 1280px) {

    .header,
    .footer { height:120px }

    .banner .inner-banner .col-banner h1 { font-size: 3rem }
    .banner .inner-banner .col-banner p { font-size: 1.25rem }

    .banner .inner-banner .picto-banner { width: 500px;     margin-bottom: -72px;}

    .section-como-funciona h2,
    .section-descarga h2 { font-size: 2.5rem }


    .section-como-funciona .grid-como { gap: 48px }

    .section-como-funciona .grid-como .item h3,
    .section-como-funciona .grid-como .item p { font-size: 1.125rem }

    .section-como-funciona .grid-como .item p br { display: none; }


    .section-descarga .item-ciudad {        
        height: 300px;
        border-radius: 16px;
        padding: 20px 24px 30px;
        gap: 20px;
    }

    .section-descarga .item-ciudad h3 { font-size: 2.5rem }

    .section-descarga .item-ciudad .button-download { padding:12px 16px }
    .section-descarga .item-ciudad .button-download span { font-size: 1.125rem }

    .section-promocion p { font-size: 1.125rem }

}



@media only screen and (max-width: 800px) {


    .header {
        height: auto;
        padding: 2rem 0;
        text-align: center;
    }

    .main-container {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }

    .banner .inner-banner {
        flex-direction: column;
    }

    .banner .inner-banner .col-banner { padding: 2.5rem 0 0 }

    .banner .inner-banner .col-banner h1 { font-size: 2.5rem }
    .banner .inner-banner .col-banner p { font-size: 1.125rem }
    .banner .inner-banner .picto-banner { width: 100%; margin-bottom: -24px;}

    .section-como-funciona .grid-como {
        display: flex;
        flex-direction: column;
        gap: 16px;
    }

    .section-como-funciona .grid-como .item { border-radius:16px }


    .section-descarga .item-ciudad {        
        height: 270px;
        border-radius: 16px;
        padding: 20px 22px 24px;
        gap: 20px;
    }
    .section-descarga .item-ciudad .button-download span { font-size: 1rem }

    .splide__pagination { bottom: -1.75em }

    .section-descarga p { margin:3rem 0 0 }
    .footer {
        height: auto;
        padding: 2rem 0;
    }
    .footer ul {
        flex-direction: column;
        gap: 24px;
    }

    .footer ul li { padding:0; border:none; text-align: center; }

    .footer .logo {
        width: 132px;
        height: auto;
    }

    .footer .logo-itevelesa {
        width: 224px;
        height: auto;
    }
}

/* ==========================================================================
   Helper classes
   ========================================================================== */

/*
 * Hide visually and from screen readers
 */

.hidden,
[hidden] {
  display: none !important;
}

/*
 * Hide only visually, but have it available for screen readers:
 * https://snook.ca/archives/html_and_css/hiding-content-for-accessibility
 *
 * 1. For long content, line feeds are not interpreted as spaces and small width
 *    causes content to wrap 1 word per line:
 *    https://medium.com/@jessebeach/beware-smushed-off-screen-accessible-text-5952a4c2cbfe
 */

.visually-hidden {
  border: 0;
  clip: rect(0, 0, 0, 0);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  white-space: nowrap;
  width: 1px;
  /* 1 */
}

/*
 * Extends the .visually-hidden class to allow the element
 * to be focusable when navigated to via the keyboard:
 * https://www.drupal.org/node/897638
 */

.visually-hidden.focusable:active,
.visually-hidden.focusable:focus {
  clip: auto;
  height: auto;
  margin: 0;
  overflow: visible;
  position: static;
  white-space: inherit;
  width: auto;
}

/*
 * Hide visually and from screen readers, but maintain layout
 */

.invisible {
  visibility: hidden;
}

/*
 * Clearfix: contain floats
 *
 * The use of `table` rather than `block` is only necessary if using
 * `::before` to contain the top-margins of child elements.
 */

.clearfix::before,
.clearfix::after {
  content: "";
  display: table;
}

.clearfix::after {
  clear: both;
}

/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   These examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */

@media only screen and (min-width: 35em) {
  /* Style adjustments for viewports that meet the condition */
}

@media print,
  (-webkit-min-device-pixel-ratio: 1.25),
  (min-resolution: 1.25dppx),
  (min-resolution: 120dpi) {
  /* Style adjustments for high resolution devices */
}

/* ==========================================================================
   Print styles.
   Inlined to avoid the additional HTTP request:
   https://www.phpied.com/delay-loading-your-print-css/
   ========================================================================== */

@media print {
  *,
  *::before,
  *::after {
    background: #fff !important;
    color: #000 !important;
    /* Black prints faster */
    box-shadow: none !important;
    text-shadow: none !important;
  }

  a,
  a:visited {
    text-decoration: underline;
  }

  a[href]::after {
    content: " (" attr(href) ")";
  }

  abbr[title]::after {
    content: " (" attr(title) ")";
  }

  /*
   * Don't show links that are fragment identifiers,
   * or use the `javascript:` pseudo protocol
   */
  a[href^="#"]::after,
  a[href^="javascript:"]::after {
    content: "";
  }

  pre {
    white-space: pre-wrap !important;
  }

  pre,
  blockquote {
    border: 1px solid #999;
    page-break-inside: avoid;
  }

  tr,
  img {
    page-break-inside: avoid;
  }

  p,
  h2,
  h3 {
    orphans: 3;
    widows: 3;
  }

  h2,
  h3 {
    page-break-after: avoid;
  }
}
