/*---------------------------------------------------------------------
font & reset css
---------------------------------------------------------------------*/

@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@300;400;600;700;800&display=swap');

/* ---------------------------------------------------------------------
reset
---------------------------------------------------------------------*/

html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, div
pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, font, img, ins, kbd, q,
s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li,
figure, header, nav, article, aside, footer, figcaption {
  margin: 0;
  padding: 0;
  border: 0;
  outline: 0;
}

/* clear fix */
.grid:after {
  content: '';
  display: block;
  clear: both;
}

/* ---- .grid-item ---- */
.grid-sizer,
.grid-item {
  width: 50%;
}

.grid-item { float: left; }

.grid-item img {
  display: block;
  max-width: 100%;
}

.clearfix:after {
  content: ".";
  display: block;
  clear: both;
  visibility: hidden;
  line-height: 0;
  height: 0;
}

.clearfix { display: inline-block; }

html[xmlns] .clearfix { display: block; }

* html .clearfix { height: 1%; }

ul, li {
  padding: 0;
  margin: 0;
  list-style: none;
}

header, nav, section, article, aside, footer, hgroup {
  display: block;
}

* { box-sizing: border-box; }

html, body {
  font-family: 'Open Sans', sans-serif;
  font-weight: 400;
  background-color: #fff;
  -ms-text-size-adjust: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

section { padding: 80px 6vw; }

a { text-decoration: none !important; }

h1, h2, h3, h4, h5, h6 {
  margin-top: 0px;
  margin-bottom: 30px;
  font-weight: 700;
}

h3, h4, h5, h6 { font-weight: 600; }

ul { margin-bottom: 0px; }

p {
  font-size: 15px;
  line-height: 28px;
  color: var(--dark-font);
}

img {
  width: 100%;
  overflow: hidden;
}

/*---------------------------------------------------------------------
global styles
---------------------------------------------------------------------*/
:root {

  /* Color definitions */
  --main-color: #005D90;
  --accent-color: #00b1e7;
  --color-menu-hover: #dfdfff;
  --cta-color: #ff751a;
  --cta-dark-color: #e65c00;
  --whatsapp-color: #25D366;

  --dark-font: #2a2a2a;
  --light-font: #fff;

  --contact-background: #acdeff;
  --light-background: #efefef;

  --standard-radius: 28px;
}

html,
body {
  background: #fff;
  font-family: 'Open Sans', sans-serif;
}

::selection {
  background: #03a4ed;
  color: #fff;
}

::-moz-selection {
  background: #03a4ed;
  color: #fff;
}

h1 { font-size: 32px; }

h2 { font-size: 26px; }

h3 { font-size: 22px; }

h4 { font-size: 18px; }

h5 { font-size: 16px; }

h6 { font-size: 15px; }

h1, h2, h3 { color: var(--main-color); }

@media (max-width: 991px) {
  html, body {
    overflow-x: hidden;
  }
  .mobile-top-fix {
    margin-top: 30px;
    margin-bottom: 0px;
  }
  .mobile-bottom-fix {
    margin-bottom: 30px;
  }
  .mobile-bottom-fix-big {
    margin-bottom: 60px;
  }
}

.section-heading {
  margin-bottom: 60px;
}

.pc { display: block; }
.tablet, .cel { display: none; }

.main-button a,
.blue-button a {
  display: inline-block;
  background-color: var(--cta-color);
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  padding: 12px 25px;
  border-radius: var(--standard-radius);
  letter-spacing: 0.25px;
  transition: all .3s;
}

.main-button a:hover {
  background-color: var(--cta-dark-color)!important;
  color: #fff!important;
}

.blue-button a {
  background-color: var(--main-color)!important;
}

.blue-button a:hover {
  background-color: var(--accent-color)!important;
  color: #fff!important;
}

/*---------------------------------------------------------------------
Header section
---------------------------------------------------------------------*/

#topNav {
  background-color: var(--main-color);
}

#topNav .navbar {
  min-height: 80px;
  padding: 0 6vw;
  margin: 0;
}

#topNav .navbar .navbar-brand img {
  width: 120px;
  height: auto;
}

#topNav .navbar .navbar-nav a {
  font-size: 15px;
  margin: auto 8px;
  color: #fff;
  transition: all .36s;
}

#topNav .navbar .navbar-nav a:last-child {
  margin-right: 0;
}

#topNav .navbar .navbar-nav a:hover {
  font-weight: 800;
}

#topNav .navbar .main-button {
  padding: 8px 20px;
}

@media (max-width: 998px) {
  #topNav .navbar .navbar-brand img {
    width: 100px;
  }

  #topNav .navbar .navbar-nav a {
    margin: auto 6px;
  }

  #topNav .navbar .main-button {
    display: none;
  }
}

@media (max-width: 767px) {
  #topNav .navbar {
    padding: 14px 6vw;
    min-height: 72px;
  }

  #topNav .navbar .navbar-collapse {
    text-align: center;
  }

  #topNav .navbar .navbar-collapse {
    margin: 40px auto;
  }

  #topNav .navbar .navbar-nav a {
    font-size: 18px !important;
    margin: 20px auto;
  }

  #topNav .navbar .main-button {
    margin-left: 0;
  }
}

/*---------------------------------------------------------------------
Hero Section
---------------------------------------------------------------------*/

.hero-section {
  background-color: var(--accent-color);
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
  height: 100vh;
  max-height: 1000px;
  padding-top: 140px;
  padding-right: 0;
  display:flex;
  position: relative;
  align-items:center;
  overflow: hidden;
}

.hero-section .left-content {
  margin-right: 0vw;
}

.hero-section .left-content h2 {
  margin-bottom: 15px;
  font-size: 60px;
  font-weight: 800;
  color: #fff;
  line-height: 1.3em;
}

.hero-section .left-content h3 {
  line-height: 1.2em;
}

.hero-section .right-image {
  position: relative;
  margin-right: -12px;
  z-index: 2;
}
/*---------------------------------------------------------------------
Bottom Bar
---------------------------------------------------------------------*/

.bottom-bar {
  display: none;
  align-items: center;
  text-align: center;
}

.bottom-bar .col,
.bottom-bar .col-4,
.bottom-bar .col-5 {
  margin: 0;
  padding: 0;
}

.bottom-bar .whatsapp {
  width: 100%;
  height: 50px;
  background-color: var(--whatsapp-color);
}

.bottom-bar .call {
  width: 100%;
  height: 50px;
  background-color: var(--main-color);
}

.bottom-bar img {
  margin-top: 6px;
  height: 36px;
  width: auto;
}

/*---------------------------------------------------------------------
About Us
---------------------------------------------------------------------*/

.about-us {
  padding-left: 0;
  padding-right: 0;
  padding-bottom: 0;
}

.about-us .info {
  padding: 40px 6vw 80px;
  width:98vw;
}

.about-us .difference {
  padding: 80px 6vw;
  background-image: url(../images/diff-background.png);
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
}

.about-us .subtitle {
  margin-bottom: 40px;
}

.about-us .difference .blue-button {
  margin: 10px 0;
}

.about-us .why-us .item {
  width: 90vw;
}

/*Revisar si es necesario cambiar el espacio a la derecha por
una anchura máxima en las tres versiones de imagen. */
.why-us .pc,
.why-us .tablet {
  padding-right: 30px;
}

/*---------------------------------------------------------------------
REPSE
---------------------------------------------------------------------*/

.repse {
  padding-bottom: 0;
}

.repse .info .tag-line {
  margin: 40px 0;
}

.repse .info span {
  font-size: 1.2em !important;
  text-decoration: underline;
}

/*---------------------------------------------------------------------
Services
---------------------------------------------------------------------*/

.services .title {
  text-align: center;
  margin-bottom: 50px;
}

.services .service {
  margin: 15px 0;
  padding: 0 20px;
}

.services .icon {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}

.services .icon img {
  height: 80px;
  width: auto;
  margin: auto;
  display: block;
}

.services .name {
  display: flex;
  flex-wrap: wrap;
}
.services .name h3{
  margin: auto auto auto 0;
}

.services .description {
  margin: 10px 0 0;
}

/* ---------------------------------------------------------------------
Testimonials
---------------------------------------------------------------------*/

.testimonials {
  margin-top:40px;
  padding-top:0px;
  margin-bottom: 0px;
}

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

.testimonials .image {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}

.testimonials .image img {
  width: auto;
  padding: auto 30px;
  margin: auto;
  display: block;
}

.testimonials .carousel { padding: 0px; }

.testimonials .item {
  text-align: center;
  padding: 20px 0;
  width: 90vw;
  margin: auto;
}

.testimonials .client {
  max-width: 18vw;
  margin: 20px auto;
  border: 2px solid var(--light-background);
  border-radius: var(--standard-radius);
}

.testimonials .test {
  padding: 60px 20px;
  max-width:43vw;
  margin: auto;
}

.testimonials .test h5 {
  margin-top: 0.8em;
  margin-bottom: 0.2em;
}

.testimonials .test h6 {
  font-weight: 400;
  font-style: italic;
  margin-bottom: 0;
}

/*---------------------------------------------------------------------
Contact
---------------------------------------------------------------------*/

.diagonal-divisor {
  margin-top: 0px;
}

.contact-us {
  margin-top: 0px;
  padding-top: 30px;
  padding-bottom: 30px;
  background-color: var(--contact-background);
}

.contact-us .section-heading {
  text-align: center;
  margin-left: 20px;
  margin-right: 20px;
}

.contact-us .section-heading h3 {
  font-size: 1.2em;
  color: var(--dark-font);
}

form#amc-service,
form#emplyment-form {
  position: relative;
  padding: 0px 80px 60px;
  border-radius: var(--standard-radius);
  text-align: center;
}

form#amc-service input,
form#amc-service textarea,
form#employment-form input,
form#employment-form textarea{
  width: 100%;
  height: 46px;
  border-radius: var(--standard-radius);
  background-color: #fff;
  border: 0px solid #efefef;
  outline: none;
  font-size: 15px;
  font-weight: 300;
  color: var(--dark-font);
  padding: 0px 20px;
  margin-bottom: 20px;
}

form#amc-service textarea,
form#employment-form textarea {
  height: 244px;
  min-width: 100%;
  max-width: 100%;
  min-height: 100px;
  max-height: 270px;
  resize: none;
  padding: 15px 20px;
}

form#employment-form textarea {
  height: 180px;
}

form#amc-service input::placeholder,
form#amc-service textarea::placeholder,
form#employment-form input::placeholder,
form#employment-form textarea::placeholder  {
  color: #aaa;
}

form#amc-service button,
form#employment-form button {
  margin-top: 20px;
  outline: none;
  border: none;
  display: block;
  margin-left: auto; 
  margin-right: 0;
  background-color: var(--cta-color);
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  padding: 12px 25px;
  border-radius: var(--standard-radius);
  letter-spacing: 0.25px;
  transition: all .3s;
}

form#employment-form button {
  margin-left: auto;
  margin-right: auto;
}

form#amc-service button:hover,
form#employment-form button:hover {
  background-color: var(--cta-dark-color)!important;
  color: #fff!important;
}

form#amc-service input:focus,
form#amc-service textarea:focus,
form#amc-service button:focus,
form#employment-form input:focus,
form#employment-form textarea:focus,
form#employment-form input:focus {
  outline: 4px solid var(--accent-color);
  transition: all .05s;
}

/*---------------------------------------------------------------------
Employment
---------------------------------------------------------------------*/

.employment {
  padding-top: 160px;
}

.employment .content {
  padding-right: 3vw;
}

.employment .contact {
  padding: 3vw;
  background-color: var(--contact-background);
  border-radius: var(--standard-radius);
}

.employment .contact .heading {
  text-align: center;
}

/*---------------------------------------------------------------------
Thanks
---------------------------------------------------------------------*/

.thanks-section {
  background-color: var(--accent-color);
  background-image: url("https://www.amcservice.mx/images/thanks.png");
  background-repeat: no-repeat;
  background-position: top right;
  background-size: cover;
  height: 100vh;
  max-height: 1000px;
  padding-top: 140px;
  padding-right: 0;
  display:flex;
  position: relative;
  align-items:center;
  overflow: hidden;
}

.thanks-section h1 {
  margin-top: 30px;
}

/*---------------------------------------------------------------------
Footer Divisor
---------------------------------------------------------------------*/

.footer-divisor {
  padding: 0;
  height: 64px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  background-color: var(--main-color);
}

.footer-divisor img {
  max-height: 40px;
  width: auto;
  margin: auto;
  display: block;
}

/*---------------------------------------------------------------------
Footer Style
---------------------------------------------------------------------*/

footer {
  padding: 30px 6vw;
  min-height: 15vh;
  background-color: var(--light-background);
}

footer p,
footer li a {
  font-size: 13px;
  text-align: left;
  line-height: 20px;
}

footer li a {
  color: var(--dark-font);
}

footer p a {
  color: var(--main-color);
  transition: all .5s;
}

footer p a:hover {
  color: var(--accent-color);
}

footer .social-links {
  margin-bottom: 20px;
}

footer .social-links .social-bar img {
  height: 24px;
  width: auto;
  margin-right: -10px;
  margin-top: 10px;
}

footer .map-section iframe {
  width:100%;
  height: 100%;
}

/*---------------------------------------------------------------------
Responsive
---------------------------------------------------------------------*/

@media (max-width: 1200px) {
  form#amc-service button {
    display: block;
    text-align: right;
  }
}

@media (max-width: 992px) {

  .hero-section {
    padding-top: 200px;
  }

  .hero-section:before { display: none; }

  .hero-section .left-content { padding-right: 6vw; }

  .hero-section .left-content h2 {
    font-size: 2.2em!important;
  }

  .hero-section .left-content h3 {
    font-size: 1.3em!important;
  }

  .pc, .cel { display: none; }
  .tablet { display: block; }

  .testimonials .client { max-width: 20vw; }
  
  .testimonials .test {
    padding: 20px 20px;
    max-width: 72vw;
  }

  .contact-info { margin-top: 60px; }

  form#amc-service { padding: 0px; }

  .employment {
    padding: 80px 0 0 0;
    margin-top: 40px;
  }

  .employment .content {
    padding-left: 6vw;
    padding-right: 6vw;
  }

  .employment .contact {
    margin-top: 60px;
    padding: 40px 6vw;
    border-radius: 0;
  }
}

@media (max-width: 767px) {
  .hero-section  {
    background-image: url(../images/hero-background.png);
    background-position: center bottom;
    height: calc(100vh - 50px);
    padding-top: 100px;
    text-align: center;
  }

  .hero-section .left-content h2 {
    font-size: 1.8em !important;
  }

  .hero-section .left-content h3 {
    font-size: 1.2em!important;
  }

  .bottom-bar {
    display: block;
  }

  .why-us .text {
    margin-bottom: 40px;
  }

  .pc, .tablet { display: none; }
  .cel { display: block; }

  .testimonials .header { margin-bottom: 40px; }
  
  .testimonials .client { max-width: 40vw; }
  
  .testimonials .test {
    padding: 20px 20px;
    max-width: 88vw;
  }

  .diagonal-divisor { margin-bottom: -1px;   }

  form#amc-service
  form#employment-form {
    padding: 0px;
  }
  form#amc-service textarea,
  form#employment-form textarea {
   height: 180px;
  }
  form#amc-service button { margin-right: auto; }

  .thanks-section {
    background-image: none;
  }

  .thanks-section h1,
  .thanks-section p {
    color: #fff;
  }

  footer { margin-bottom: 50px; }
  footer .footer-menu { display: none; }
  footer .map-section iframe {
    margin-top: 20px;
    max-height: 88vw;
  }
}