/*-----------------------------------*\
  #style.css
\*-----------------------------------*/
/*-----------------------------------*\
  #CUSTOM PROPERTY
\*-----------------------------------*/
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;600;700&display=swap');

body {
    font-family: 'Montserrat', sans-serif;
}



:root {

  /**
   * colors
   */

  --rich-black-fogra-39_50: hsla(0, 0%, 5%, 0.5);
  --rich-black-fogra-39: hsl(0, 0%, 100%);
  --indian-yellow_10: hsla(36, 61%, 58%, 0.1);
  --indian-yellow: hsl(36,61%,58%);
  --harvest-gold: hsl(48, 68%, 43%);
  --eerie-black-1: #000;
  --eerie-black-2: hsl(0, 0%, 12%);
  --eerie-black-2_85: hsla(0, 0%, 12%, 0.85);
  --eerie-black-3: hsl(0, 0%, 8%);
  --sonic-silver: hsl(0, 0%, 44%);
  --davys-gray: hsl(210, 9%, 31%);
  --light-gray: hsl(0, 0%, 80%);
  --platinum: hsl(0, 0%, 91%);
  --black_30: hsla(0, 0%, 0%, 0.3);
  --white_10: hsla(0, 0%, 100%, 0.1);
  --white_30: hsla(0, 0%, 100%, 0.3 );
  --white_50: hsla(0, 0%, 100%, 0.5);
  --white: hsl(0, 0%, 100%);
  --jet: hsl(0, 0%, 21%);

  /**
   * typography
   */

  --ff-oswald : 'Montserrat', sans-serif;
  --ff-rubik: 'Montserrat', sans-serif;

  --fs-40: 4rem;
  --fs-30: 3rem;
  --fs-24: 2.4rem;
  --fs-18: 1.8rem;
  --fs-14: 1.4rem;
  --fs-13: 1.3rem;

  --fw-300: 300;
  --fw-500: 500;
  --fw-600: 600;
  --fw-700: 700;

  /**
   * spacing
   */

  --section-padding: 80px;

  /**
   * shadow
   */

  --shadow-1: 10px 0 60px hsla(0, 0%, 15%, 0.07);
  --shadow-2: 10px 0 60px hsla(0, 0%, 15%, 0.1);

  /**
   * radius
   */

  --radius-5: 80px;
  --radius-8: 8px;

  /**
   * transition
   */

  --transition-1: 0.25s ease;
  --transition-2: 0.5s ease;
  --cubic-out: cubic-bezier(0.33, 0.85, 0.4, 0.96);

}





/*-----------------------------------*\
  #RESET
\*-----------------------------------*/

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

li { list-style: none; }

a,
img,
span,
data,
input,
select,
button,
textarea,
ion-icon { display: block; }

a {
  color: inherit;
  text-decoration: none;
}

img { height: auto; }

input,
select,
button,
textarea {
  background: none;
  border: none;
  font: inherit;
}

input,
select,
textarea { width: 100%; }

button { cursor: pointer; }

ion-icon { pointer-events: none; }

address { font-style: normal; }

html {
  font-family: var(--ff-rubik);
  font-size: 10px;
  scroll-behavior: smooth;
}

body {
  background-color: var(--white);
  color: var(--sonic-silver);
  font-size: 1.6rem;
  line-height: 2;
}

:focus-visible { outline-offset: 4px; }

::-webkit-scrollbar { width: 10px; }

::-webkit-scrollbar-track { background-color: hsl(0, 0%, 98%); }

::-webkit-scrollbar-thumb { background-color: hsl(0, 0%, 80%); }

::-webkit-scrollbar-thumb:hover { background-color: hsl(0, 0%, 70%); }





/*-----------------------------------*\
  #REUSED STYLE
\*-----------------------------------*/

.container { padding-inline: 15px; }

.section { padding-block: var(--section-padding); }

.has-before,
.has-after {
  position: relative;
  z-index: 1;
}

.has-before::before,
.has-after::after {
  position: absolute;
  content: "";
}

.has-bg-image {
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}

.h1,
.h2,
.h3 {
  font-family: var(--ff-oswald);
  line-height: 1.3;
}

.h1,
.h3 { font-weight: var(--fw-600); }

.h1 {
  color: var(--white);
  font-size: var(--fs-40);
}

.h2,
.h3 { color: var(--eerie-black-1); }

.h2 { font-size: var(--fs-30); }

.h3 { font-size: var(--fs-24); }

.btn {
  color: var(--white);
  background-color: var(--indian-yellow);
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: max-content;
  padding: 10px 25px;
  font-family: var(--ff-oswald);
  font-size: var(--fs-14);
  font-weight: var(--fw-600);
  border-radius: var(--radius-5);
  overflow: hidden;
}

.btn::before {
  background-color:#F4A261;
  inset: 0;
  z-index: -1;
  transform: skewY(-15deg) scaleY(0);
  transition: var(--transition-2);
}

.btn:is(:hover, :focus)::before { transform: skewY(-15deg) scaleY(2.5); }

.text-center { text-align: center; }

.grid-list {
  display: grid;
  gap: 30px;
}

.img-holder {
  aspect-ratio: var(--width) / var(--height);
  background-color: var(--light-gray);
  overflow: hidden;
}

.img-cover {
  width: 100%;
  height: 100%;
  object-fit: cover;
}






/*-----------------------------------*\
  #HEADER
\*-----------------------------------*/

/* Contenedor principal para centrar contenido */
/* General de la cabecera */
.header-content {
  position: absolute;
  top: 38%;
  left: 12%;
  text-align: left;
  color: white;
  font-family: 'Montserrat', sans-serif;
  width: 90%; 
  max-width: 600px;
  display: flex; 
  flex-direction: column; 
  align-items: flex-start;
}

.header-content h1 {
  font-size: 4.5; 
  font-weight: bold;
  margin-bottom: 20px;
  background: linear-gradient(to right, #ffffff, #ffffff76);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1.2; 
}

/* Asegurar "Empresarial" en otra línea en móviles */
.header-content h1 .break {
  display: inline-block;
  width: 100%;
}

/* Estilo para el h2 */
.header-content h2 {
  font-size: 1.5rem;
  font-weight: 400;
  color: #d1d1d1;
  margin-bottom: 30px;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
  line-height: 1.5;
}

/* Estilo para el botón */
.header-content .btn {
  display: block; 
  padding: 15px 30px;
  font-size: 1.5rem;
  font-weight: bold;
  background-color: #E76F51;
  color: white;
  border: 2px solid #E76F51;
  border-radius: 80px;
  cursor: pointer;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
  text-align: center; 
  visibility: visible; 
}

.header-content .btn:hover {
  color: #264653;
  border-color: #F4A261;
  background-color: #F4A261;
  transform: translateY(-2px);
}

/* Estilos responsive */
@media (max-width: 768px) {
  .header-content h1 {
    font-size: 4rem; 
  }

  .header-content h2 {
    font-size: 1.8rem; 
  }

  .header-content {
    position: absolute;
    top: 15%;
    left: 10%;
    text-align: left;
    color: white;
    font-family: 'Montserrat', sans-serif;
    width: 90%; 
    max-width: 450px;
    display: flex;
    flex-direction: column; 
  }
}

@media (max-width: 480px) {
  .header-content h1 {
    font-size: 3rem; 
  }

  .header-content h2 {
    font-size: 1.3rem; 
  }

  .header-content {
    position: absolute;
    top: 15%;
    left: 6%;
    text-align: left;
    color: white;
    font-family: 'Montserrat', sans-serif;
    width: 90%; 
    max-width: 400px;
    display: flex; 
    flex-direction: column; 
    align-items: flex-start; 
  }
}








.header-top-item,
.header .btn { display: none; }

.header-top-list,
.header-top-list .social-list {
  display: flex;
  align-items: center;
}

.header-top-list { justify-content: center; }

.header-top-list .social-list {
  gap: 20px;
  padding-block: 15px;
}

.header-top-list .social-link {
  color: var(--sonic-silver);
  font-size: 15px;
  transition: var(--transition-1);
}

.header-top-list .social-link:is(:hover, :focus) { color: var(--indian-yellow); }

.header-bottom {
  background-color: #ffffff;
  position: absolute;
  left: 0;
  width: 100%;
  z-index: 4;
}

.header-bottom.active {
  position: fixed;
  top: 0;
  background-color: var(--rich-black-fogra-39);
  transform: translateY(-100%);
  animation: slideIn 0.5s ease forwards;
}

@keyframes slideIn {
  0% { transform: translateY(-100%); }
  100% { transform: translateY(0); }
}

.header-bottom > .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 5px;
  padding-bottom: 5px;
}



.nav-toggle-btn {
  color: #000000;
  font-size: 40px;
}

.navbar {
  position: absolute;
  padding-inline: 0;
  top: 100%;
  left: 15px;
  right: 15px;
  background-color: var(--rich-black-fogra-39);
  max-height: 0;
  overflow: hidden;
  transition: 0.15s var(--cubic-out);
}

.navbar.active {
  max-height: 321px;
  transition-duration: 0.5s;
}

.navbar-list {
  border-block-start: 1px solid var(--jet);
  margin-block: 25px;
}

.navbar-item { border-block-end: 1px solid var(--jet); }

.navbar-link {
  color: #000000;
  font-family: var(--ff-oswald);
  font-weight: var(--fw-600);
  line-height: 1.5;
  padding: 10px 30px;
  transition: var(--transition-1);
}

.navbar-link:is(:hover, :focus) { color: var(--indian-yellow); }



/* Contenedor del logo */
.logo {
  display: flex; 
  align-items: center; 
  justify-content: flex-start; 
  text-decoration: none;
  position: relative; 
}

/* Estilo de las imágenes del logo */
.logo-img {
  height: 50px;
  width: auto; 
  display: block; 
  transition: transform 0.3s ease;
}

.logo-img:hover {
  transform: scale(1.1); 
}

.header-bottom > .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 5px 15px; 
}


@media (max-width: 768px) {
  .logo-img {
      height: 40px; 
  }
}

@media (max-width: 480px) {
  .logo-img {
      height: 30px; 
  }

  .header-bottom > .container {
      padding: 10px; 
  }
}

/* Estilo para el botón del selector de idioma */
.language-btn {
    display: flex;
    align-items: center;
    gap: 5px;
    background: none;
    border: none;
    color: #000;
    font-size: 16px;
    font-family: var(--ff-oswald);
    cursor: pointer;
    position: relative;
}

/* Icono de la bandera */
.flag-icon {
    width: 20px;
    height: auto;
    border-radius: 3px;
}

/* Dropdown del selector de idioma */
.language-dropdown {
    display: none; /* Oculto por defecto */
    position: absolute;
    top: 100%;
    left: 0;
    background-color: white;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    list-style: none;
    padding: 10px;
    border-radius: 5px;
    z-index: 10;
}

.language-dropdown .language-option {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 5px 10px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.language-dropdown .language-option:hover {
    background-color: #f0f0f0;
}

/* Mostrar el dropdown al pasar el mouse */
.language-switcher:hover .language-dropdown {
    display: block;
}


/*-----------------------------------*\
  #HERO
\*-----------------------------------*/

/* Sección de "Sobre Nosotros" */
.about-us {
  color: rgb(0, 0, 0);
  padding: 80px 20px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.about-us .container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

/* Imagen dinámica */
.about-image {
  flex: 1 1 45%;
  position: relative;
}

.image-wrapper {
  position: relative;
  overflow: hidden;
  border-radius: 15px;
  box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.2);
}

.main-image {
  width: 100%;
  transition: transform 0.5s ease;
  border-radius: 15px;
}

.hover-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  opacity: 0;
  transform: scale(1.2);
  transition: opacity 0.5s ease, transform 0.5s ease;
  border-radius: 15px;
}

.image-wrapper:hover .main-image {
  transform: scale(1.2);
}

.image-wrapper:hover .hover-image {
  opacity: 1;
  transform: scale(1);
}

/* Contenido del texto */
.about-content {
  flex: 1 1 45%;
  text-align: left;
  z-index: 2;
  position: relative;
}

.about-title {
  background: linear-gradient(90deg, #f4a21d, #009688);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-size: 3rem;
  font-weight: bold;
  margin-bottom: 20px;
}

.about-text {
  font-size: 1.2rem;
  margin-bottom: 20px;
  line-height: 1.8;
}

.about-text .highlight {
  color: #968318;
  font-weight: bold;
}

.about-btn {
  display: inline-block;
  padding: 15px 30px;
  color: #000000;
  background-color: #E76F51;
  font-size: 1rem;
  font-weight: bold;
  border-radius: 80px;
  text-decoration: none;
  transition: all 0.3s ease-in-out;
}

.about-btn:hover {
  background-color: #F4A261;
  color: #ffffff;
  transform: scale(1.1);
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/* Responsivo */
@media (max-width: 768px) {
  .about-content,
  .about-image {
    flex: 1 1 100%;
    text-align: center;
  }

  .about-title {
    font-size: 2.5rem;
  }

  .about-text {
    font-size: 1rem;
  }
}




/*-----------------------------------*\
  #SERVICE
\*-----------------------------------*/
.service {
  text-align: center;
}

.service .section-text {
  margin-block: 15px 55px;
}

.service-card {
  background-color: var(--white);
  padding: 30px 25px;
  box-shadow: var(--shadow-1);
  border-radius: var(--radius-8);
  border: 1px solid rgba(191, 193, 182, 0.848);
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease-in-out;
  height: 100%;
}


.service-card:hover {
  transform: scale(1.05);
  border-color: var(--indian-yellow);
  box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.2);
}

.service-card .card-icon {
  color: var(--indian-yellow);
  font-size: 70px;
  line-height: 1;
  position: relative;
  transition: transform 0.4s ease-in-out;
}

.service-card:hover .card-icon {
  transform: rotate(15deg);
}

.service-card .card-title {
  margin-block: 15px 12px;
  transition: color 0.3s ease-in-out;
}

.service-card .card-title:hover {
  color: var(--indian-yellow);
}

.service-card .card-text {
  font-size: 1rem;
}

@media (max-width: 768px) {
  .service-card {
    padding: 20px;
  }
  .service-card .card-icon {
    font-size: 60px;
  }
  .service-card .card-title {
    font-size: 1.5rem;
  }
  .service-card .card-text {
    font-size: 1rem;
  }
}


/*//////////////////////////////////////////////////////*/
/* Estilos Generales */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Montserrat', sans-serif;
}

body {
  background: linear-gradient(135deg, #f8f9fa, #e8eaf6);
  color: #2c3e50;
  text-align: center;
}

/* Título */
.encabezado {
  font-size: 3rem;
  margin: 50px 0;
  background: linear-gradient(90deg, #f4a21d, #009688);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
}

.encabezado i {
  font-size: 2.5rem;
  color: #f4a21d;
}

/* Contenedor de Servicios */
.contenedor-servicios {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 30px;
  padding: 20px;
}

/* Tarjetas en 3D */
.tarjeta-servicio {
  width: 300px;
  height: 400px;
  perspective: 1000px;
  cursor: pointer;
}

.tarjeta-servicio div {
  width: 100%;
  height: 100%;
  border-radius: 15px;
  background-color: #c5c6bb;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
  position: absolute;
  transition: transform 0.8s;
  backface-visibility: hidden;
}

/* Cara frontal de la tarjeta */
.cara-frontal {
  background: linear-gradient(145deg, #e4dfd0, #7a7976);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

.cara-frontal h2 {
  font-size: 1.8rem;
  color: #3e2723;
  text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  gap: 10px;
}

.cara-frontal i {
  font-size: 1.8rem;
  color: #3e2723;
}

/* Botón */
.btn-ver-mas {
  margin-top: 15px;
  padding: 12px 18px;
  border: none;
  background: #E76F51;
  color: white;
  font-size: 1rem;
  cursor: pointer;
  border-radius: 8px;
  transition: 0.3s;
}

.btn-ver-mas:hover {
  background: #F4A261
  color(#000000);
}

/* Cara trasera de la tarjeta */
.cara-posterior {
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(12px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transform: rotateY(180deg);
  padding: 20px;
}

.cara-posterior ul {
  list-style: none;
  margin-top: 15px;
}

.cara-posterior ul li {
  font-size: 1.2rem;
  margin-bottom: 10px;
  color: #37474f;
}

.btn-cerrar {
  margin-top: 15px;
  padding: 10px 15px;
  border: none;
  background: #E76F51;
  color: white;
  font-size: 1rem;
  cursor: pointer;
  border-radius: 8px;
  transition: 0.3s;
}

.btn-cerrar:hover {
  background: #F4A261;
}

/*//////////////////////////////////////////////////////*/
/* Sección de Experiencia */
.experiencia-section {
  color: rgb(0, 0, 0);
  padding: 5rem 1rem;
  text-align: center;
}

.section-title {
  font-size: 2.5rem;
  font-weight: bold;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  background: linear-gradient(90deg, #f4a21d, #009688);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-family: var(--ff-oswald);
}

.section-text {
  font-size: 1.2rem;
  max-width: 80ch;
  margin: 0 auto 3rem;
  font-family: var(--ff-oswald);
}

/* Contenedor flexible para tarjetas */
.experiencia-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
}

/* Tarjetas interactivas */
.experiencia-card {
  background: white;
  color: #333;
  border-radius: 10px;
  padding: 2rem;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  text-align: center;
  position: relative;
  transition: transform 0.3s, box-shadow 0.3s;
  cursor: pointer;
  width: calc(33.333% - 1.5rem);
  min-width: 280px;
  max-width: 350px;
  height: auto;
}

.experiencia-card:hover {
  transform: scale(1.05);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.card-front {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 120px;
}

/* Íconos */
.card-icon i {
  font-size: 2rem;
  color: #f4a21d;
  margin-bottom: 1rem;
}

/* Estilos para el contenido oculto en hover */
.experiencia-card .card-back {
  display: none;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to bottom right, #FDF5BF, #F4A261);
  color: rgb(0, 0, 0);
  padding: 2.5rem;
  border-radius: 10px;
  text-align: center;
  transition: all 0.3s ease-in-out;
  font-family: var(--ff-oswald);
}

.experiencia-card:hover .card-front {
  display: none;
}

.experiencia-card:hover .card-back {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 160px;
}

/* 📌 Tablets */
@media (max-width: 1024px) {
  .section-title {
    font-size: 2rem;
  }

  .experiencia-grid {
    justify-content: center;
  }

  .experiencia-card {
    width: calc(50% - 1.5rem);
    font-size: 1rem;
  }
  .card-front {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 70px;
  }

  .card-icon i {
    font-size: 2rem;
  }
  .experiencia-card:hover .card-back {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 110px;
  }
}

/* 📌 Móviles */
@media (max-width: 768px) {
  .experiencia-grid {
    flex-direction: column;
    align-items: center;
  }

  .experiencia-card {
    width: 90%;
    max-width: 400px;
    font-size: 1rem;
  }

  .card-icon i {
    font-size: 1.8rem;
  }

  .section-text {
    font-size: 1rem;
    max-width: 80ch;
  }
  .card-front {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 40px;
  }

  .experiencia-card:hover .card-back {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 62px;
    top: -12px;
  }
}

/* 📌 Pantallas muy pequeñas */
@media (max-width: 480px) {
  .section-title {
    font-size: 1.8rem;
  }

  .experiencia-card {
    padding: 2.5rem;
    width: 100%;
    max-width: 350px;
    font-size: 1rem;
  }

  .card-icon i {
    font-size: 1.5rem;
  }
  .experiencia-card:hover .card-back {
   
    top: -8px;
  }
}



/*-----------------------------------*\
  #APPOINTMENT
\*-----------------------------------*/

/* General Styles */
.contact-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem;
  font-family: 'Montserrat', sans-serif;
}

.contact-header {
  text-align: center;
  margin-bottom: 2rem;
}

.contact-header h1 {
  font-size: 4rem;
  margin-bottom: 0.5rem;
  background: linear-gradient(90deg, #f4a21d, #009688);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.contact-header p {
  font-size: 1.2rem;
  color: #444;
}

/* Content Layout */
.contact-content {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 2rem;
}

/* Form Styles */
.contact-form {
  flex: 1 1 45%;
  background: linear-gradient(135deg, #ffffff, #f9f9f9);
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s;
}

.contact-form:hover {
  transform: scale(1.02);
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  font-weight: bold;
  margin-bottom: 0.5rem;
  color: #333;
}

.input-wrapper {
  display: flex;
  align-items: center;
  position: relative;
}

.input-wrapper i {
  position: absolute;
  left: 10px;
  color: hsl(36,61%,58%);
  font-size: 1.2rem;
}

.input-wrapper input,
.input-wrapper textarea {
  width: 100%;
  padding: 0.8rem 0.8rem 0.8rem 2.5rem;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 1rem;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  transition: border-color 0.3s;
}

.input-wrapper input:focus,
.input-wrapper textarea:focus {
  border-color: hsl(36,61%,58%);
  outline: none;
}

textarea {
  resize: none;
}

/* Submit Button */
.btn-submit {
  background-color: #E76F51;
  color: #fff;
  padding: 0.8rem 2rem;
  border: none;
  border-radius: 4px;
  font-size: 1.2rem;
  cursor: pointer;
  transition: background-color 0.3s, transform 0.3s;
}

.btn-submit:hover {
  background-color: #F4A261;
  transform: translateY(-3px);
}

/* Disclaimer */
.disclaimer {
  font-size: 0.9rem;
  color: #777;
  margin-bottom: 1rem;
}

/* Image Section */
.contact-image {
  flex: 1 1 45%;
  text-align: center;
}

.contact-image img {
  max-width: 100%;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s;
}

.contact-image img:hover {
  transform: scale(1.05);
}

/* Responsive Design */
@media (max-width: 768px) {
  .contact-content {
    flex-direction: column;
  }
  .contact-image {
    display: none;
  }

  .contact-form,
  .contact-image {
    flex: 1 1 100%;
  }

  .contact-header h1 {
    font-size: 2rem;
  }
}


/*-----------------------------------*\
  #MEDIA QUERIES
\*-----------------------------------*/

/**
 * responsive for large than 575px screen
 */

@media (min-width: 300px) {

  /**
   * CUSTOM PROPERTY
   */

  :root {

    /**
     * typography
     */

    --fs-40: 6rem;

  }



  /**
   * REUSED STYLE
   */

  .container,
  .header-top {
    max-width: 540px;
    width: 100%;
    margin-inline: auto;
  }

  .btn { padding: 13px 40px; }

  .h2 { --fs-30: 3.5rem; }



  /**
   * HEADER
   */

  .header-top {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    max-width: 600px;
    z-index: 4;
    background-color: var(--white);
    border-radius: 0 0 20px 20px;
  }

  .header-top-item:first-child {
    display: flex;
    align-items: center;
    gap: 10px;
  }

  .header-top-item ion-icon {
    font-size: 18px;
    color: var(--indian-yellow);
    --ionicon-stroke-width: 50px;
  }

  .header-top-item .item-title {
    color: var(--eerie-black-1);
    font-weight: var(--fw-500);
  }

  .header-top-item .item-link { transition: var(--transition-1); }

  .header-top-item .item-link:is(:hover, :focus) { color: var(--indian-yellow); }

  .header-top-list { justify-content: space-between; }

  .logo { font-size: 3rem; }

  .logo .span { font-size: 1.4rem; }



  /**
   * HERO
   */

  .hero { padding-block-start: calc(var(--section-padding) + 80px); }

  .hero-text { font-size: var(--fs-18); }



  /**
   * PRICING
   */

  .filter-btn .btn-icon {
    display: block;
    font-size: 55px;
    line-height: 1;
    margin-block-end: 5px;
  }

  .pricing-card {
    flex-wrap: nowrap;
    align-items: center;
    gap: 30px;
  }

  .pricing-card .wrapper { order: 0; }

  .pricing-card .card-price {
    align-self: flex-start;
    line-height: 1.6;
  }
  



  /**
   * APPOINTMENT
   */

  .appoin-card .card-content { padding-inline: 50px; }



  /**
   * FOOTER
   */
   @import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Montserrat', sans-serif;
}

.footer {
    position: relative;
    width: 100%;
    background: linear-gradient(135deg, #F4A261, #264653, #22106f);
    color: white;
    text-align: center;
    padding: 50px 20px;
    overflow: hidden;
}

/* Contenedor de cuadrados */
.square-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
}

/* Estilos generales de los cuadrados */
.square {
    position: absolute;
    bottom: -50px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 5px;
    animation: floatUp linear infinite;
}

/* Animación de los cuadrados */
@keyframes floatUp {
    from {
        transform: translateY(0);
        opacity: 1;
    }
    to {
        transform: translateY(-800px);
        opacity: 0;
    }
}

/* Se generan 10 cuadrados con diferentes tamaños, posiciones y velocidades */
.square:nth-child(1) { left: 5%; width: 15px; height: 15px; animation-duration: 4s; }
.square:nth-child(2) { left: 15%; width: 20px; height: 20px; animation-duration: 5s; }
.square:nth-child(3) { left: 30%; width: 25px; height: 25px; animation-duration: 6s; }
.square:nth-child(4) { left: 45%; width: 30px; height: 30px; animation-duration: 7s; }
.square:nth-child(5) { left: 60%; width: 35px; height: 35px; animation-duration: 8s; }
.square:nth-child(6) { left: 75%; width: 40px; height: 40px; animation-duration: 5s; }
.square:nth-child(7) { left: 85%; width: 20px; height: 20px; animation-duration: 6s; }
.square:nth-child(8) { left: 50%; width: 25px; height: 25px; animation-duration: 4s; }
.square:nth-child(9) { left: 90%; width: 15px; height: 15px; animation-duration: 7s; }
.square:nth-child(10) { left: 10%; width: 30px; height: 30px; animation-duration: 5s; }

/* Ajustes responsivos */
@media (max-width: 1024px) {
    .footer {
        padding: 40px 15px;
    }
}

@media (max-width: 768px) {
    .footer {
        padding: 35px 15px;
    }
    .square:nth-child(1) { left: 10%; width: 10px; height: 10px; }
    .square:nth-child(3) { left: 40%; width: 15px; height: 15px; }
    .square:nth-child(5) { left: 70%; width: 20px; height: 20px; }
}

/* Mantiene la animación y el fondo en pantallas pequeñas */
@media (max-width: 580px) {
  .square-container {
      opacity: 0.7; /* Reduce un poco la opacidad si es necesario */
  }
  .footer {
      background: linear-gradient(135deg, #F4A261, #264653, #22106f); /* Mantener el fondo animado */
  }
}

}


  .back-top-btn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: #E76F51; 
    color: white;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.3);
    font-size: 24px;
    cursor: pointer;
    transition: all 0.3s ease-in-out;
    z-index: 1000; 
    text-decoration: none;
}

/* Efecto hover */
.back-top-btn:hover {
    background: #F4A261; /* Color secundario de Bitechco */
    transform: scale(1.1);
}

/* Ocultar el botón cuando no se ha hecho scroll */
.back-top-btn.hidden {
    opacity: 0;
    pointer-events: none;
    transform: translateY(20px);
}



/**
 * responsive for large than 768px screen
 */

@media (min-width: 768px) {

  /**
   * CUSTOM PROPERTY
   */

  :root {

    /**
     * typography
     */

    --fs-40: 8rem;

  }



  /**
   * REUSED STYLE
   */

  .container { max-width: 720px; }

  .h2 { --fs-30: 4rem; }

  /**
   * HEADER
   */

  .header-top { max-width: 780px; }



  /**
   * SERVICE
   */

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



  /**
   * PRICING
   */

  .pricing-tab-container { padding: 40px; }

  .pricing-card .wrapper { margin-inline-end: auto; }



  /**
   * APPOINTMENT
   */

  .appoin-card .card-banner { display: block; }

  .appoin-card { display: flex; }


/**
 * responsive for large than 992px screen
 */

@media (min-width: 992px) {

  /**
   * CUSTOM PROPERTY
   */

  :root {

    /**
     * typography
     */

    --fs-40: 10rem;

  }



  /**
   * REUSED STYLE
   */

  .container { max-width: 960px; }



  /**
   * HEADER
   */

  .nav-toggle-btn { display: none; }

  .header-top { max-width: 1020px; }

  .header-bottom { padding-block: 20px; }

  .navbar,
  .navbar-list,
  .navbar-item { all: unset; }

  .navbar-list,
  .header .btn { display: flex; }

  .navbar-link { padding-inline: 10px; }

  

  /**
   * HERO
   */

  .hero {
    --section-padding: 150px;
    padding-block-start: calc(var(--section-padding) + 100px);
  }

  .hero-title,
  .hero-text { max-width: 600px; }



  /**
   * SERVICE
   */

  .service .grid-list { grid-template-columns: repeat(3, 1fr); }


  /**
   * APPOINTMENT
   */

  .appoin-card .input-wrapper {
    display: flex;
    gap: 20px;
  }
}





/**
 * responsive for large than 1200px screen
 */

@media (min-width: 1200px) {

  /**
   * CUSTOM PROPERTY
   */

  :root {

    /**
     * typography
     */

    --fs-40: 11rem;

    /**
     * spacing
     */

    --section-padding: 120px;

  }



  /**
   * REUSED STYLE
   */

  .container { max-width: 1200px; }



  /**
   * HEADER
   */

  .header-top { max-width: 1260px; }

  .header-top-list { gap: 30px; }

  .header-top-item {
    display: flex;
    align-items: center;
    gap: 10px;
  }

  .header-top-item:nth-child(2) { margin-inline-end: auto; }



  /**
   * HERO
   */

  .hero {
    background-position: left;
    padding-block-end: 200px;
  }

  .hero-title,
  .hero-text { max-width: 680px; }



  /**
   * PRICING
   */

  .filter-btn { min-width: 178px; }



  /**
   * GALLERY
   */

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



  /**
   * APPOINTMENT
   */

  .appoin-card .card-content { flex-grow: 1; }

}}