@media (min-width: 990px) {
  .header__button {
    display: none; } }

@media (max-width: 990px) {
  .main {
    background-image: url(../../img/main-mob.jpg);
    background-size: cover;
    background-position: right 10% center; }
    .main__fig {
      height: 400px;
      position: relative; }
      .main__fig img {
        display: none; }
    .main__desc {
      -webkit-box-pack: center;
          -ms-flex-pack: center;
              justify-content: center;
      -webkit-box-align: end;
          -ms-flex-align: end;
              align-items: flex-end;
      padding: 0;
      background-color: rgba(0, 0, 0, 0.6); }
    .main h1 {
      font-size: 1.8em;
      padding: 20px;
      padding-bottom: 40px; }
  .header {
    background-color: white;
    padding: 0;
    top: 0;
    -webkit-box-shadow: 10px 0px 20px rgba(0, 0, 0, 0.2);
            box-shadow: 10px 0px 20px rgba(0, 0, 0, 0.2); }
    .header__button {
      background: none;
      border: none;
      -webkit-appearance: none;
      display: block;
      width: 30px;
      height: 30px;
      background-color: #E65D2D;
      display: -webkit-box;
      display: -ms-flexbox;
      display: flex;
      -webkit-box-align: center;
          -ms-flex-align: center;
              align-items: center;
      -webkit-box-orient: vertical;
      -webkit-box-direction: normal;
          -ms-flex-direction: column;
              flex-direction: column;
      -webkit-box-pack: center;
          -ms-flex-pack: center;
              justify-content: center;
      position: absolute;
      left: -40px;
      top: 17px; }
    .header__bar {
      width: 20px;
      height: 2px;
      background-color: white;
      -webkit-transition: all 0.3s;
      transition: all 0.3s; }
      .header__bar:nth-of-type(2) {
        margin-top: 3px;
        margin-bottom: 3px; }
    .header--toggled .header__bar:nth-of-type(1) {
      -webkit-transform: rotate(45deg) translateY(4px) translateX(4px);
              transform: rotate(45deg) translateY(4px) translateX(4px); }
    .header--toggled .header__bar:nth-of-type(2) {
      opacity: 0; }
    .header--toggled .header__bar:nth-of-type(3) {
      -webkit-transform: rotate(-45deg) translateY(-3px) translateX(3px);
              transform: rotate(-45deg) translateY(-3px) translateX(3px); }
    .header--toggled .header__nav {
      -webkit-transform: translateX(0%);
              transform: translateX(0%); }
    .header__logo {
      padding: 10px; }
      .header__logo img {
        max-width: 130px; }
    .header__nav {
      position: fixed;
      top: 0;
      right: 0;
      height: 100%;
      background-color: #E65D2D;
      width: 200px;
      padding: 0;
      -webkit-transform: translateX(100%);
              transform: translateX(100%);
      -webkit-transition: all 0.3s ease-out;
      transition: all 0.3s ease-out; }
      .header__nav:before {
        display: none; }
      .header__nav ul {
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
            -ms-flex-direction: column;
                flex-direction: column;
        -webkit-box-pack: start;
            -ms-flex-pack: start;
                justify-content: flex-start;
        -webkit-box-align: start;
            -ms-flex-align: start;
                align-items: flex-start;
        padding: 20px; }
  .nosotros__figure, .nosotros__desc, .servicios__figure, .servicios__desc {
    width: 100%; }
  .nosotros__figure, .servicios__figure {
    height: 400px;
    -webkit-box-ordinal-group: 2;
        -ms-flex-order: 1;
            order: 1; }
    .nosotros__figure:after, .servicios__figure:after {
      left: 0;
      top: 0;
      top: auto;
      right: auto;
      height: 40px;
      width: 100%;
      background-image: url(../../img/corte-top.png); }
  .nosotros__desc, .servicios__desc {
    padding: 30px 20px; }
  .cifras {
    padding: 30px;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column; }
    .cifras__item {
      margin-bottom: 30px; }
  .main {
    border-bottom: solid 5px #E65D2D; }
  .footer {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    text-align: center; }
  .servicios {
    text-align: center; }
    .servicios li img {
      display: block;
      margin: 0 auto; }
  .cifras h3 {
    font-size: 2.9em; }
  .banner {
    line-height: 0;
    overflow: hidden; }
    .banner__corte {
      line-height: 0;
      bottom: -3px;
      width: 102%;
      left: -1%; } }

@media (max-width: 767px) {
  h2 {
    font-size: 2em; }
  h3 {
    font-style: 1.6em; }
  .cert {
    padding-right: 20px;
    padding-left: 20px; }
  input[type="submit"] {
    width: 100%; } }
