@charset "UTF-8";
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 62.5%;
  scroll-behavior: smooth;
}

body {
  font-family: "Montserrat", sans-serif;
  font-size: 1.6rem;
  line-height: 1.6;
  background-color: #FFFFFF;
  color: #5D5854;
}

img,
picture {
  max-width: 100%;
  display: block;
}

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

ul,
ol {
  list-style: none;
}

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

table {
  border-collapse: collapse;
  border-spacing: 0;
}

.container {
  width: min(90%, 120rem);
  margin: 0 auto;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Montserrat", sans-serif;
  background-color: #FFFFFF;
  color: #5D5854;
  line-height: 1.6;
  overflow-x: hidden;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

.header {
  min-height: 100vh;
  background: linear-gradient(135deg, #f5f8fb 0%, #ffffff 100%);
  position: relative;
  overflow: hidden;
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 30px 0;
}

.logo {
  font-size: 2.8rem;
  font-weight: 900;
  color: #5D5854;
  letter-spacing: -1px;
}
.logo i {
  color: #42C997;
  margin-right: 8px;
}

.menu {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 40px;
}
.menu a {
  text-decoration: none;
  color: #5D5854;
  font-weight: 600;
  font-size: 2rem;
  position: relative;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.menu a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 0;
  height: 3px;
  background: #42C997;
  border-radius: 10px;
  transition: 0.3s ease;
}
.menu a:hover::after {
  width: 100%;
}
.menu a:hover {
  color: #42C997;
}

/* =========================
   RESPONSIVE NAV
========================= */
@media (max-width: 768px) {
  .nav {
    flex-direction: column;
    gap: 50px;
  }
  .menu {
    gap: 70px;
    flex-wrap: wrap;
    justify-content: center;
  }
  .logo {
    font-size: 3rem;
  }
}
/* =========================
   HERO
========================= */
.hero {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 80px;
  padding: 60px 0;
  min-height: 80vh;
}

.hero-text {
  flex: 1;
}
.hero-text h1 {
  font-size: 4rem;
  line-height: 1.1;
  margin-bottom: 20px;
  color: #5D5854;
  font-weight: 900;
  max-width: 650px;
}
.hero-text p {
  font-size: 1.8rem;
  line-height: 1.7;
  margin-bottom: 30px;
  max-width: 550px;
  color: rgba(93, 88, 84, 0.8);
}

.hero-img {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}
.hero-img img {
  width: 400px;
  height: 400px;
  object-fit: cover;
  border-radius: 50%;
  border: 10px solid #FFFFFF;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.12), 0 0 0 18px rgba(66, 201, 151, 0.08);
  animation: float 5s ease-in-out infinite;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.hero-img img:hover {
  transform: scale(1.03);
  box-shadow: 0 35px 70px rgba(0, 0, 0, 0.15), 0 0 0 22px rgba(66, 201, 151, 0.15);
}

/* =========================
   BOTÓN PRINCIPAL
========================= */
.btn {
  display: inline-block;
  padding: 16px 38px;
  background: #5D5854;
  color: #FFFFFF;
  text-decoration: none;
  font-weight: 600;
  border-radius: 50px;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  box-shadow: 0 10px 20px rgba(93, 88, 84, 0.25);
}
.btn:hover {
  background: #42C997;
  transform: translateY(-5px);
}

/* =========================
   ESTADÍSTICAS
========================= */
.estadisticas {
  display: flex;
  gap: 60px;
  margin: 40px 0;
  flex-wrap: wrap;
}
.estadisticas div {
  display: flex;
  flex-direction: column;
}
.estadisticas h3 {
  font-size: 2.2rem;
  color: #42C997;
  font-weight: 800;
  margin-bottom: 5px;
}
.estadisticas span {
  color: rgba(93, 88, 84, 0.75);
  font-size: 0.95rem;
}

/* =========================
   BOTONES HERO
========================= */
.hero-botones {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.btn-secundario {
  display: inline-block;
  padding: 16px 38px;
  border: 2px solid #42C997;
  color: #42C997;
  text-decoration: none;
  font-weight: 600;
  border-radius: 50px;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.btn-secundario:hover {
  background: #42C997;
  color: #FFFFFF;
  transform: translateY(-5px);
}

/* =========================
   BADGES
========================= */
.badge,
.badge2 {
  position: absolute;
  background: #FFFFFF;
  padding: 14px 22px;
  border-radius: 20px;
  font-weight: 700;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08);
  z-index: 10;
}

.badge {
  top: 80px;
  left: -20px;
}

.badge2 {
  bottom: 80px;
  right: -20px;
}

/* =========================
   ANIMACIÓN
========================= */
@keyframes float {
  0% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-18px);
  }
  100% {
    transform: translateY(0);
  }
}
/* =========================
   RESPONSIVE
========================= */
@media (max-width: 768px) {
  .hero {
    flex-direction: column;
    text-align: center;
    gap: 40px;
    min-height: auto;
  }
  .hero-text h1 {
    font-size: 3rem;
  }
  .hero-text p {
    margin: 0 auto 30px;
  }
  .estadisticas {
    justify-content: center;
    gap: 30px;
  }
  .hero-botones {
    justify-content: center;
  }
  .hero-img img {
    width: 320px;
    height: 320px;
  }
  .badge,
  .badge2 {
    display: none;
  }
}
.servicios-section {
  padding: 120px 0;
  background: #F5F1ED;
}

.titulo {
  text-align: center;
  margin-bottom: 60px;
}
.titulo h2 {
  font-size: 2.8rem;
  color: #5D5854;
}

.servicios {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 35px;
}

.card {
  background: #FFFFFF;
  border-radius: 25px;
  text-align: center;
  transition: all 0.4s ease;
  border: 1px solid rgba(0, 0, 0, 0.05);
  overflow: hidden;
  cursor: pointer;
}
.card h3 {
  color: #5D5854;
  margin: 0;
  padding: 30px;
  font-size: 1.5rem;
}
.card p {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  padding: 0 30px;
  transition: all 0.4s ease;
  color: #666;
  line-height: 1.8;
}
.card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
  border-color: #42C997;
}
.card:hover p {
  max-height: 300px;
  opacity: 1;
  padding: 0 30px 30px 30px;
}

.card i {
  font-size: 3rem;
  color: #42C997;
  display: block;
  padding-top: 30px;
  margin-bottom: 20px;
}
.card h3 {
  color: #5D5854;
  margin: 0;
  padding: 0 30px 30px;
}
.card p {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  padding: 0 30px;
  transition: all 0.4s ease;
}
.card:hover p {
  max-height: 200px;
  opacity: 1;
  padding: 0 30px 30px;
}

@media (max-width: 768px) {
  .servicios-section {
    padding: 60px 0;
  }
  .servicios {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .card {
    width: 100%;
  }
  .card p {
    max-height: 300px;
    opacity: 1;
    padding: 0 30px 30px;
  }
}
.nosotros {
  padding: 120px 0;
}

.sobre {
  display: flex;
  align-items: center;
  gap: 70px;
}

.sobre-img {
  flex: 1;
}
.sobre-img img {
  width: 100%;
  border-radius: 35px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.sobre-text {
  flex: 1;
}
.sobre-text h2 {
  font-size: 2.8rem;
  margin-bottom: 25px;
  color: #5D5854;
}

.testimonios {
  padding: 100px 0;
  background: #F5F1ED;
}

.testimonios-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.testimonio {
  background: #FFFFFF;
  padding: 30px;
  border-radius: 20px;
  text-align: center;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.testimonio:hover {
  transform: translateY(-10px);
}
.testimonio h4 {
  color: #f4c542;
  font-size: 1.5rem;
  margin: 15px 0;
}
.testimonio span {
  font-weight: 700;
  color: #5D5854;
}

/* =========================
   FORMULARIO
========================= */
.formulario-cita {
  min-height: 100vh;
  background-color: #F5F1ED;
  padding: 40px 20px 80px;
}

.formulario-header {
  text-align: center;
  margin-bottom: 50px;
}
.formulario-header h1 {
  font-size: 4rem;
  color: #5D5854;
  font-weight: 800;
  margin-bottom: 15px;
}
.formulario-header p {
  font-size: 2rem;
  color: #666;
}

.formulario {
  max-width: 900px;
  margin: 0 auto;
  background: #FFFFFF;
  padding: 50px;
  border-radius: 30px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

.campo {
  display: flex;
  flex-direction: column;
  margin-bottom: 25px;
  width: 100%;
}
.campo label {
  margin-bottom: 10px;
  color: #5D5854;
  font-weight: 700;
  font-size: 2rem;
}
.campo input,
.campo select,
.campo textarea {
  width: 100%;
  display: block;
  padding: 18px 20px;
  border: 2px solid rgba(0, 0, 0, 0.08);
  border-radius: 15px;
  font-size: 1.5rem;
  font-family: "Montserrat", sans-serif;
  background-color: #FFFFFF;
  transition: 0.3s ease;
  box-sizing: border-box;
}
.campo input:focus,
.campo select:focus,
.campo textarea:focus {
  outline: none;
  border-color: #42C997;
  box-shadow: 0 0 15px rgba(66, 201, 151, 0.15);
}
.campo textarea {
  min-height: 180px;
  resize: vertical;
}

/* =========================
   BOTON REGRESAR
========================= */
.btn-regresar {
  display: inline-block;
  margin-bottom: 40px;
  padding: 16px 38px;
  background: #5D5854;
  color: #FFFFFF;
  text-decoration: none;
  font-weight: 600;
  border-radius: 50px;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  box-shadow: 0 10px 20px rgba(93, 88, 84, 0.3);
}
.btn-regresar:hover {
  background: #42C997;
  transform: translateY(-5px);
}

/* =========================
   BOTON FORMULARIO
========================= */
.btn-formulario {
  width: 100%;
  padding: 18px;
  border: none;
  background: #5D5854;
  color: #FFFFFF;
  font-size: 1.8rem;
  font-weight: 700;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  box-shadow: 0 10px 20px rgba(93, 88, 84, 0.3);
}
.btn-formulario:hover {
  background: #42C997;
  transform: translateY(-5px);
}

/* =========================
   RESPONSIVE
========================= */
@media (max-width: 768px) {
  .formulario {
    padding: 30px;
  }
  .formulario-header h1 {
    font-size: 2.5rem;
  }
}
.contacto {
  background: #5D5854;
  color: #FFFFFF;
  text-align: center;
  padding: 80px 0;
  border-radius: 50px 50px 0 0;
}
.contacto h2 {
  font-size: 2.5rem;
  margin-bottom: 2rem;
}
.contacto p {
  margin: 1rem 0;
  font-size: 1.1rem;
  line-height: 1.8;
}

.redes-sociales {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  margin-top: 2rem;
}
.redes-sociales a {
  color: #FFFFFF;
  font-size: 2.5rem;
  transition: all 0.3s ease;
}
.redes-sociales a:hover {
  color: #42C997;
  transform: translateY(-5px) scale(1.1);
}

.footer {
  background: #5D5854;
  color: #FFFFFF;
  text-align: center;
  padding: 20px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}
.footer p {
  margin: 0;
  font-size: 0.95rem;
}

.footer {
  background-color: #5D5854;
  padding: 3rem 0;
}
.footer p {
  margin: 0;
  color: #FFFFFF;
  text-align: center;
}

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

.info-contacto {
  color: #FFFFFF;
  margin-bottom: 1.6rem;
}

.redes-sociales {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-top: 2rem;
}

.redes-sociales a {
  color: #FFFFFF;
  font-size: 3rem;
  transition: 0.3s ease;
}

.redes-sociales a:hover {
  color: #42C997;
  transform: scale(1.2);
}

.contacto {
  margin-bottom: 0;
}