:root {
  /* --dark-light: #23252a; */
  --dark-light: #322f2f;
  --dark: #151416;
  --gold: #62D470;
  --brown: #f66b08;
  --body: #ddd;
  --highlight: #fff;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
    scroll-behavior: smooth;
}

section {
    scroll-margin-top: var(--header-height);
}
/***************************/
/* GENERAL STYLES */
/***************************/
p {
  line-height: 1.5rem;
  margin-bottom: 1rem;
}

h1, h2, h3, h4 {
  font-style: italic;
  font-family: 'Barlow Condensed', sans-serif;
  text-transform: uppercase;
}

h3 {
  font-size: 2rem;
  margin: 1rem 0;
  color: var(--gold);
}

body {
  font-family: Barlow;
  color: var(--body);
  background: #121212;
  background-image: url(../imgs/bgs/particles-2.png);
  background-attachment: fixed;
  background-repeat: no-repeat;
}

.container {
  width: 80%;
  max-width: 1300px;
  margin: auto;
  padding: 2rem 2rem 1.5rem;
}

@media screen and (max-width: 800px) {
  .container {
    width: 100%;
  }
}

img {
  max-width: 100%;
}

/***************************/
/* MENU STYLES */
/***************************/
#menu {
  background: black;
  color: white;
  position: sticky;
  top: 0;
  border-bottom: 2px solid var(--gold);
}

#menu .container {
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}

#menu .container ul {
  display: flex;
  list-style-type: none;
  justify-content: flex-end;
}

#menu .container ul li {
  margin-left: 1rem;
}

#menu .container ul li a {
  color: var(--gold);
  text-transform: uppercase;
  text-decoration: none;
  padding-right: 12px;
  border-right: 1px solid var(--gold);
  padding-top: 2px;
  padding-bottom: 2px;
  transition: all .2s ease-in-out;
}

#menu .container ul li a.last {
  border-right: none;
  padding-right: 0;
}

#menu .container ul li a:hover {
  color: white;
}

#menu #logo-clinica {
  width: 120px;
  height: auto;
  transition: all .2s ease-in-out;
}

#direccion {
  text-align: right;
  p {
    margin: 0 0 12px;
  }
}

.menu-toggle {
  display: none;
}

@media screen and (max-width: 800px) {
  #menu {
    padding-bottom: .5rem;
  }

  #menu .container {
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 0;
  }

  /* BOTON HAMBURGUESA */
  .menu-toggle {
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;

    display: flex;
    z-index: 1001;

    align-self: flex-end;
    padding: 1rem;
  }

  .menu-toggle span {
    width: 22px;
    height: 3px;
    background: white;
    border-radius: 5px;
    transition: 0.3s;
  }

  #menu .container ul li {
    margin-left: 0;
  }

  #menu .container ul li a {
    color: var(--gold);
    text-transform: uppercase;
    text-decoration: none;
    padding-right: 0;
    border-right: none;
    padding-top: 2px;
    padding-bottom: 2px;
    transition: all .2s ease-in-out;
  }

  #menu #logo-clinica {
    width:70px;
    height: auto;
    margin: -1.8rem auto 0;
  }

  #direccion {
    text-align: center;
    p {
      margin: 8px 0 0;
    }
  }

  #menu-nav {
    position: absolute;
    padding-top: 0px;
    left: 0;
    top: 0;
    background: #000;
    width: 100%;
    height: 0;
    overflow: hidden;
    transition: all .3s ease-in-out;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .deployed {
    height: 100vh !important;
  }  

  #menu .container ul {
    flex-direction: column;
    align-items: center;
    width: 100%;
    z-index: 1000;
    transform: translateY(-3rem );
  }

  #menu .container ul li {
    margin-bottom: 1rem;
    font-size: 1.3rem;
  }
}

/***************************/
/* HERO STYLES */
/***************************/

#hero .container {
  padding-top: 0.5rem;
}

#soluciones .container {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
}

#description {
  /* height: 46vh; */
  width: 50%;
  display: flex;
  flex-direction: column;
  align-items: start;
  text-align: left;
  
  h1, h2 {
    font-style: italic;
    font-family: 'Barlow Condensed', sans-serif;
    text-transform: uppercase;
    color: var(--gold);
  }

  h1 {
    font-size: 2.75rem;
  }

  h2 {
    font-size: 2.6rem;
  }

  h3 {
    text-transform: uppercase;
    font-weight: normal;
    font-family: 'Barlow Condensed', sans-serif;
  }

  h4 {
    text-transform: uppercase;
    margin-top: 1rem;
    font-family: 'Barlow Condensed';
    background-color: var(--gold);
    color: var(--dark);
    display: inline-block;
    padding: 1px 12px;
    border-radius: 20px;
  }
}

#cartuchos-container {
  /* display: none; */
}

#fachada {
  width: 40%;
  text-align: right;
  padding-top: 5rem;
  
  img {
    max-width: 100%;
    border-radius: 6px;
    border: 1px solid var(--gold);
    box-shadow: 4px 4px rgba(0, 0, 0, 0.8);
  }
}

@media screen and (max-width: 900px) {
  #soluciones .container {
    display: flex;
    flex-direction: column;
  }
  #description {
    width: 100%;
    align-items: center;
  }
  #cartuchos-container {
    display: none;
  }
  #fachada {
    text-align: center;
    width: 100%;
    overflow: hidden;
  }
}

@media screen and (max-width: 800px) {
  .container #description {
    /* flex-direction: row; */
    text-align: center;

    h1, h2 { font-size: 1.7rem; }
    h3 { font-size: 1.4rem; }
  }
}

/***************************/
/* WATSAPP STYLES */
/***************************/

#watsapp {
  position:relative;
  z-index: -1;
  margin-top: 1.7rem;
  padding: 2rem 2rem;
  
  display: flex;
  flex-direction: column;
  
  box-shadow: 4px 4px 8px rgba(0,0,0,.5);
  border: 1px solid var(--dark-light);
  border-radius: 8px;
  background: linear-gradient(45deg, 
                            rgba(0, 0, 0, 1), 
                            rgba(0, 0, 0, 0)), 
              url(../imgs/hero/hero-package-1300.jpg);
  background-position: bottom right;              
  background-size: cover;

  #entrega-en-el-dia {
    margin: 0rem 0 1rem;
    width: 320px;
  }

  div#claim {
    width: 50%;
    margin-bottom: 1.4rem;
  }
  
  div#numbers {
    display: flex;
    align-items: center;
  }

  div#calidad {
    position: absolute;
    bottom: 1rem;

    img {
      max-width: 280px;
    }
  }

  h1 {
    font-size: 3rem;
    font-family: 'Barlow Condensed', sans-serif;
    color: var(--highlight);
    display: inline-block;
    span { color: var(--gold); }
  }
}

img.wapp {
  width: 50px;
  margin-right: 12px;
}

#watsapp a {
  color: var(--gold);
  text-decoration: none;
}

@media screen and (max-width: 1513px) {
  #watsapp {
    div#claim {
      width: 70%;
    }
  }
}

@media screen and (max-width: 1136px) {
  #watsapp {
    background: linear-gradient(0deg, 
                            rgba(0, 0, 0, 0.5), 
                            rgba(0, 0, 0, 0.5)), 
              url(../imgs/hero/hero-package-1300.jpg);
    background-position: bottom right;              
    background-size: cover;
    div#claim {
      width: 90%;
    }
  }
}

@media screen and (max-width: 800px) {
  #watsapp {
    padding: 1rem 1rem 1.5rem;
    h1 { font-size: 1.7rem; }
    img.wapp {
      width: 30px;
      margin-right: 12px;
    }
    background: linear-gradient(0deg, 
                            rgba(0, 0, 0, 0.8), 
                            rgba(0, 0, 0, 0.8)), 
              url(../imgs/hero/hero-package-1300.jpg);
    background-position: bottom right;              
    background-size: cover;

    #entrega-en-el-dia { margin: .5rem 0 1rem; }

    div#claim { width: 100%; }

    div#calidad {
      margin:4rem 0 0 0px;
      img {
        max-width: 280px;
      }
    }

  }
}


/***************************/
/* SERVICES STYLES */
/***************************/
#servicios-links .container {
  padding-top: 0;;
}

.lista-servicios ul {
  display: flex;
  flex-direction: row;
  justify-content: space-around;
  background: #000;
  border: 1px solid #333;
  border-radius: 8px;
  padding: 2rem .5rem 1.5rem;
}

.lista-servicios ul li {
  width: 25%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;  
}

li .text {
  font-size: 1.2rem;
  font-style: italic;
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: bold;
  text-align: center;
  text-transform: uppercase;
  color: var(--gold);
}

@media screen and (max-width: 800px) {
  #servicios-links .container {
    padding-bottom: 0;
  }

  .lista-servicios {
    margin-bottom: 1.5rem;
  }

  .lista-servicios ul {
    width: 100%;
    flex-direction: column;
    padding: 2rem 1rem 1rem;
  }

  .lista-servicios ul li {
    width: 100%;
    margin-bottom: 2rem;
    flex-direction: row;
  }

  .lista-servicios ul li .image {
    max-width: 100px;
    margin-bottom: .5rem;
    width: 40%;

    img {
      max-width: 100%;
    }
  }

  li .text {
    text-align: left;
    padding-left: 12px;
    font-size: 1rem;
    width: 75%;
  }
}

/***************************/
/* DESCRIPTION STYLES */
/***************************/
#empresa {
  text-align: center;
  margin-top: 2rem;
}

#empresa .container div {
  background: #000;
  border: 1px solid #333;
  border-radius: 8px;
  padding: 2rem .5rem 1.5rem;
}

#empresa p {
  max-width: 62%;
  line-height: 1.5;
  font-size: 1.3rem;
  margin: auto;
  margin-bottom: 1.4rem;
}

#empresa h3 {
  text-transform: uppercase;
  font-size: 3rem;
  color: var(--gold);
}

@media screen and (max-width: 800px) {
  #empresa {
    margin-top: 0;
    text-align: left;
  }
  #empresa .container {
    padding-top: 0;
  }
  #empresa p {
    max-width: 90%;
    font-size: 1rem;
  }
  #empresa h3 {
    font-size: 1.6rem;
    text-align: center;
  }
}

/*****************************/
/* SERVICES DEVELOPED STYLES */
/*****************************/

p.highlight {
  margin-bottom: 0;
  padding: 1rem;
  border: 1px solid #343434;
  border-radius: 8px;
  background: #1c1b1c;

  span {
    display: block;
    font-weight: bold;
    color: var(--highlight)
  }
}

.divider {
  display: flex;
  flex-direction: row;
  padding: 1.5rem 0 3rem; 
  border-bottom: 1px solid var(--gold);
  border-radius: 0;
}

.divider.last {
  border-bottom: none;
}

.servicios__contenido {
  width: 60%;
  padding-right: 2rem;
}

.servicios__imagen {
  width: 40%;
  text-align: center;
  padding: 5rem 0 0;
  
  img {
    width: 100%;
    border-radius: 8px;
    border-bottom: 6px solid green;
  }
}

@media screen and (max-width: 800px) {
  #servicios .container {
    padding-top: 0;
  }

  .divider {
    flex-direction: column;
    padding: 0 0 1rem; 
  }

  .servicios__contenido {
    width: 100%;
    padding-right: 0;

    h3 {
      font-size: 1.6rem;
      padding-top: .3rem;
    }
  }

  .servicios__imagen {
    width: 100%;
    text-align: center;
    padding: 1rem 0;
    
    img {
      width: 100%;
      border-radius: 6px;
      border-bottom: 6px solid green;
    }
  }

  p.highlight {
    width: 100%;
  }
}

/***************************/
/* CONTACT STYLES */
/***************************/
#contacto .container {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
}

.form-content,
.map {
  width: 50%;
}

.form-content form {
  align-items: flex-start;
  justify-content: flex-start;
}

.map {
  display: flex;
  padding-top: 4rem;
  /* align-items: flex-end; */
}


input, textarea {
  /* min-width: 350px; */
  width: 80%;
  display: block;
  font-size: inherit;
  font-family: inherit;
  padding: 12px;
  margin-bottom: 1rem;
  border-radius: 8px;
  border: 1px solid var(--gold);
  background: #131313;
  color: white;
}

textarea {
  min-height: 192px;
}

button.enviar {
  background-color: var(--gold);
  border: 1px solid var(--gold);
  padding: .7rem 1.6rem;
  border-radius: 8px;
  transition: all .1s ease-in-out;
}

#respuesta{
  margin-top: 15px;
}

.mensaje-exito,
.mensaje-error{
  padding: 14px;
  border-radius: 8px;
  font-weight: 600;
}

.mensaje-exito{
  background: #d4edda;
  color: #155724;
}

.mensaje-error{
  background: #f8d7da;
  color: #721c24;
}

@media screen and (max-width: 800px) {
  #contacto .container {
    padding-top: 0;
    flex-direction: column;
  }

  .form-content {
    width: 100%;
    margin-bottom: 0rem;
    
    h3 {
      font-size: 1.6rem;
    }
  }
  
  input, textarea {
    width: 100%;
  }

  button.enviar { 
    width: 100%;
    color: black;
    text-transform: uppercase;
    font-weight: bold;
    font-size: .9rem;
    font-family: inherit;
  }

  .map {
    width: 100%;
  }
}


/***************************/
/* FOOTER STYLES */
/***************************/
footer {
  border-top: 1px solid #1A1E1B;
  background-color: rgba(0,0,0,.5);
  text-align: center;
}
footer h2 {
  text-transform: none;
  font-family: Barlow, sans-serif;
  font-weight: normal;
  font-style: normal;
  text-align: center;
  margin-bottom: 6px;
  color: var(--body);
}

@media screen and (max-width: 800px) {
  footer h2 {
    font-size: 1rem;
  }
}

/***************************/
/* WAPP STYLES */
/***************************/
#wapp-link {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
}


#wapp-link img {
  width: 60px;
}