@charset "UTF-8";
/* 1. IMPORTACIONES SIEMPRE AL PRINCIPIO */
@import url("https://fonts.googleapis.com/css2?family=DM+Serif+Display&family=Inter:wght@300;400;500&display=swap");
/* =========================================
   MIXINS RESPONSIVES POR RANGO
   ========================================= */
/* Nota: Asumo que tus colores están dentro del archivo _variables.scss, 
  pero las dejo aquí referenciadas:
  $crema: #F8F9FA;  
  $blanco: #FFFFFF;  
  $azul: #2C3E50;      
  $menta: #45B39D;  
  $secundario: #7F8C8D;  
*/
:root {
  /* Mantenemos las fuentes como variables CSS nativas */
  --font-heading: 'DM Serif Display', serif;
  --font-body: 'Inter', sans-serif;
}

/* =========================================
   RESETEO GLOBAL (Corregido)
   ========================================= */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box; /* Así evitas problemas de anchos extra en toda la página */
}

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

/* =========================================
   ESTILOS BASE DE TEXTO
   ========================================= */
body {
  font-family: var(--font-body);
  color: #2C3E50; /* Actualizado a variable Sass */
  line-height: 1.6;
  font-weight: 400;
  background-color: #F8F9FA; /* Actualizado a variable Sass */
  font-size: 1.6rem; /* Restauramos el tamaño base a 16px */
}

/* Títulos: Elegantes y con jerarquía */
h1, h2, h3 {
  font-family: var(--font-heading);
  color: #1A2F4B; /* Actualizado a variable Sass */
  line-height: 1.2;
  font-weight: 400; /* DM Serif Display suele verse mejor en 400 porque ya es gruesa */
  margin-bottom: 2rem;
}

h1 {
  font-size: 4.7rem;
  letter-spacing: -0.5px;
}

h2 {
  font-size: 3.8rem;
}

h3 {
  font-size: 2.4rem;
}

/* Párrafos: Limpios y legibles */
p {
  font-size: 1.8rem;
  color: #1A2F4B; /* Actualizado a variable Sass */
  margin-bottom: 2rem;
}

/* Enlaces: Llamativos pero sutiles */
a {
  font-size: 1.8rem;
  color: #1A2F4B; /* Actualizado a variable Sass */
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}
a:hover {
  color: rgb(54.810483871, 142.189516129, 124.7137096774); /* Sass oscurece el color menta automáticamente */
}

/* Listas */
ul, ol {
  margin-bottom: 2rem;
  padding-left: 2rem;
}
ul li, ol li {
  font-size: 1.8rem;
  color: #7F8C8D; /* Actualizado a variable Sass */
  margin-bottom: 1rem;
  line-height: 1.6;
}

.header {
  position: sticky;
  top: 0;
  z-index: 100;
  width: 100%;
  background-color: rgba(255, 255, 255, 0.95);
  border-bottom: 1px solid rgba(26, 47, 75, 0.15);
}

.header-contenedor {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem 4rem;
  max-width: 140rem;
  margin: 0 auto;
}
@media (min-width: 768px) and (max-width: 1023px) {
  .header-contenedor {
    padding: 1.5rem 3rem;
  }
}
@media (max-width: 767px) {
  .header-contenedor {
    padding: 1.2rem 2rem;
    flex-wrap: wrap;
  }
}

.logo-link {
  display: flex;
  align-items: center;
}

.logo {
  width: 7.5rem;
  transition: transform 0.3s ease;
}
.logo:hover {
  transform: scale(1.02);
}
@media (max-width: 767px) {
  .logo {
    width: 5.5rem;
  }
}

.menu-hamburguesa {
  display: none;
  cursor: pointer;
  flex-direction: column;
  gap: 0.5rem;
}
.menu-hamburguesa span {
  width: 3rem;
  height: 0.2rem;
  background-color: #1A2F4B;
  border-radius: 0.2rem;
  transition: all 0.3s ease;
}
@media (max-width: 767px) {
  .menu-hamburguesa {
    display: flex;
  }
}

.navegacion {
  display: flex;
  gap: 3.5rem;
  align-items: center;
}
.navegacion a {
  color: #1A2F4B;
  font-size: 1.3rem;
  font-weight: 300;
  text-transform: uppercase;
  letter-spacing: 0.2rem;
  transition: color 0.3s ease;
}
.navegacion a:hover {
  color: #C5A059;
}
@media (min-width: 768px) and (max-width: 1023px) {
  .navegacion {
    gap: 2rem;
  }
  .navegacion a {
    font-size: 1.1rem;
  }
}
@media (max-width: 767px) {
  .navegacion {
    display: none;
    width: 100%;
    flex-direction: column;
    gap: 0;
    padding-top: 2rem;
    background-color: transparent;
  }
  .navegacion.mostrar {
    display: flex;
  }
  .navegacion a {
    width: 100%;
    text-align: center;
    padding: 1.5rem 0;
    font-size: 1.2rem;
    border-bottom: 1px solid rgba(26, 47, 75, 0.1);
  }
  .navegacion a:last-child {
    border-bottom: none;
  }
}

.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
@media (min-width: 768px) and (max-width: 1023px) {
  .hero {
    height: 80vh;
  }
}
@media (max-width: 767px) {
  .hero {
    height: 85vh;
  }
}

.imagen-hero {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(26, 47, 75, 0.5), rgba(26, 47, 75, 0.7));
  z-index: 2;
}

.hero-contenido {
  position: relative;
  z-index: 3;
  text-align: center;
  padding: 0 2rem;
  max-width: 90rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.hero-contenido h1 {
  color: #FFFFFF;
  font-size: 5.5rem;
  font-weight: 300;
  line-height: 1.1;
  letter-spacing: 0.1rem;
  margin-bottom: 2rem;
}
@media (min-width: 768px) and (max-width: 1023px) {
  .hero-contenido h1 {
    font-size: 4.5rem;
  }
}
@media (max-width: 767px) {
  .hero-contenido h1 {
    font-size: 3.5rem;
  }
}
.hero-contenido p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.8rem;
  font-weight: 300;
  line-height: 1.6;
  max-width: 65rem;
  margin-bottom: 4rem;
}
@media (min-width: 768px) and (max-width: 1023px) {
  .hero-contenido p {
    font-size: 1.6rem;
    margin-bottom: 3.5rem;
  }
}
@media (max-width: 767px) {
  .hero-contenido p {
    font-size: 1.5rem;
    margin-bottom: 3rem;
  }
}

.hero-botones {
  display: flex;
  gap: 2rem;
  justify-content: center;
  align-items: center;
}
@media (max-width: 767px) {
  .hero-botones {
    flex-direction: column;
    width: 100%;
    gap: 1.5rem;
  }
}

.btn {
  display: inline-block;
  padding: 1.6rem 3.5rem;
  font-size: 1.2rem;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.2rem;
  border-radius: 0.3rem;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.4s ease;
  text-align: center;
}
@media (max-width: 767px) {
  .btn {
    width: 100%;
    max-width: 30rem;
  }
}

.btn-primario {
  background-color: #C5A059;
  color: #FFFFFF;
  border: 1px solid #C5A059;
}
.btn-primario:hover {
  background-color: transparent;
  color: #C5A059;
  transform: translateY(-0.3rem);
}

.btn-secundario {
  background-color: transparent;
  color: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.5);
}
.btn-secundario:hover {
  background-color: #FFFFFF;
  color: #1A2F4B;
  border-color: #FFFFFF;
  transform: translateY(-0.3rem);
}

.dentista {
  padding: 12rem 2rem;
}

.dentista-contenedor {
  max-width: 110rem;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8rem;
  align-items: center;
}
@media (min-width: 768px) and (max-width: 1023px) {
  .dentista-contenedor {
    grid-template-columns: 1fr;
    gap: 6rem;
    max-width: 70rem;
  }
}
@media (max-width: 767px) {
  .dentista-contenedor {
    gap: 5rem;
    display: block;
  }
}

.dentista-imagen {
  position: relative;
  padding-right: 3rem;
  padding-bottom: 3rem;
}
.dentista-imagen::after {
  content: "";
  position: absolute;
  bottom: 0;
  right: 0;
  width: 70%;
  height: 85%;
  background-color: rgba(197, 160, 89, 0.15);
  z-index: -1;
}
.dentista-imagen img {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  display: block;
  box-shadow: 0 2rem 4rem rgba(26, 47, 75, 0.08);
}
@media (min-width: 768px) and (max-width: 1023px) {
  .dentista-imagen {
    padding-right: 2rem;
    padding-bottom: 2rem;
    max-width: 50rem;
    margin: 0 auto;
  }
}

.dentista-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.dentista-rol {
  color: #C5A059;
  font-size: 1.2rem;
  text-transform: uppercase;
  letter-spacing: 0.3rem;
  font-weight: 400;
  margin-bottom: 1.5rem;
  display: block;
}

.dentista-nombre {
  color: #1A2F4B;
  font-size: 4.2rem;
  font-weight: 300;
  margin: 0 0 3.5rem 0;
  line-height: 1.1;
}

.dentista-texto p {
  /* Usamos tu azul oscuro pero un poco más suave para que sea elegante de leer */
  color: rgba(26, 47, 75, 0.7);
  font-size: 1.6rem;
  font-weight: 300;
  line-height: 1.8;
  margin-bottom: 2rem;
}
.dentista-texto p:last-child {
  margin-bottom: 0;
}

:root {
  --color-oscuro: #1A2F4B;
  --color-claro: #C5A059;
  --gris: #F4F4F5;
}

/* El body ya no está aquí, empezamos directo con el contenedor del formulario */
.appointment-container {
  background: #FFFFFF;
  width: 100%;
  max-width: 450px;
  padding: 40px;
  border-radius: 12px;
  box-shadow: 0 10px 40px rgba(26, 47, 75, 0.08);
  box-sizing: border-box;
  margin: 40px auto; /* Esto lo centrará horizontalmente en tu página sin romper nada */
}

/* ... y de aquí hacia abajo dejas el resto del código tal cual te lo di ... */
.appointment-container {
  background: #FFFFFF;
  width: 100%;
  max-width: 450px;
  padding: 40px;
  border-radius: 12px;
  box-shadow: 0 10px 40px rgba(26, 47, 75, 0.08);
  box-sizing: border-box;
}

.appointment-container h2 {
  color: var(--color-oscuro);
  text-align: center;
  margin-top: 0;
  margin-bottom: 30px;
  font-weight: 400;
  font-size: 26px;
  letter-spacing: 1px;
}

.form-group {
  margin-bottom: 20px;
}

label {
  display: block;
  color: var(--color-oscuro);
  font-size: 13px;
  margin-bottom: 8px;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

input, select, textarea {
  width: 100%;
  padding: 14px 15px;
  border: 1px solid #E2E2E2;
  border-radius: 8px;
  background-color: var(--gris);
  color: var(--color-oscuro);
  font-size: 15px;
  box-sizing: border-box;
  transition: all 0.3s ease;
  font-family: inherit;
}

input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--color-claro);
  box-shadow: 0 0 0 3px rgba(197, 160, 89, 0.15);
  background-color: #FFFFFF;
}

.btn-submit {
  width: 100%;
  background-color: var(--color-oscuro);
  color: #FFFFFF;
  padding: 16px;
  border: none;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.1s ease;
  margin-top: 15px;
}

.btn-submit:hover {
  background-color: var(--color-claro);
  color: var(--color-oscuro);
}

.btn-submit:active {
  transform: scale(0.98);
}

.galeria {
  padding: 12rem 2rem;
  background-color: #FFFFFF;
}

.galeria-header {
  text-align: center;
  margin-bottom: 8rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.galeria-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  max-width: 140rem;
  margin: 0 auto;
}
@media (min-width: 768px) and (max-width: 1023px) {
  .galeria-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
}
@media (max-width: 767px) {
  .galeria-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
    width: 90%;
  }
}

.galeria-item {
  position: relative;
  overflow: hidden;
  margin: 0;
  aspect-ratio: 4/3;
}
.galeria-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.8s ease;
}
.galeria-item figcaption {
  position: absolute;
  inset: 0;
  background-color: rgba(26, 47, 75, 0.85);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: opacity 0.5s ease;
  padding: 2rem;
  text-align: center;
}
.galeria-item h3 {
  color: #FFFFFF;
  font-size: 2.2rem;
  font-weight: 300;
  letter-spacing: 0.2rem;
  margin: 0 0 1rem 0;
  transform: translateY(2rem);
  transition: transform 0.5s ease;
}
.galeria-item p {
  color: #C5A059;
  font-size: 1.3rem;
  font-weight: 300;
  letter-spacing: 0.1rem;
  text-transform: uppercase;
  margin: 0;
  transform: translateY(2rem);
  transition: transform 0.5s ease 0.1s;
}
.galeria-item:hover img {
  transform: scale(1.1);
}
.galeria-item:hover figcaption {
  opacity: 1;
}
.galeria-item:hover h3, .galeria-item:hover p {
  transform: translateY(0);
}

.btn {
  display: inline-block;
  padding: 1.6rem 3.5rem;
  font-size: 1.2rem;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.2rem;
  border-radius: 0.3rem;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.4s ease;
  text-align: center;
}
@media (max-width: 767px) {
  .btn {
    width: 100%;
    max-width: 30rem;
  }
}

.btn-primario {
  background-color: #C5A059;
  color: #FFFFFF;
  border: 1px solid #C5A059;
}
.btn-primario:hover {
  background-color: transparent;
  color: #C5A059;
  transform: translateY(-0.3rem);
}

.btn-secundario {
  background-color: transparent;
  color: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.5);
}
.btn-secundario:hover {
  background-color: #FFFFFF;
  color: #1A2F4B;
  border-color: #FFFFFF;
  transform: translateY(-0.3rem);
}

.btn-secundario-oscuro {
  background-color: transparent;
  color: #1A2F4B;
  border: 1px solid rgba(26, 47, 75, 0.5);
}
.btn-secundario-oscuro:hover {
  background-color: #1A2F4B;
  color: #FFFFFF;
  border-color: #1A2F4B;
  transform: translateY(-0.3rem);
}

.servicios {
  max-width: 120rem;
  margin: 0 auto;
  padding: 12rem 2rem;
}

.servicios-header {
  text-align: center;
  margin-bottom: 8rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.antetitulo {
  color: #C5A059;
  font-size: 1.2rem;
  text-transform: uppercase;
  letter-spacing: 0.4rem;
  font-weight: 300;
  margin-bottom: 1.5rem;
}

.titulo-principal {
  color: #1A2F4B;
  font-size: 3.8rem;
  font-weight: 300;
  margin: 0;
  line-height: 1.2;
  letter-spacing: 0.05rem;
}

.info-servicios {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 4rem;
}
@media (min-width: 768px) and (max-width: 1023px) {
  .info-servicios {
    grid-template-columns: repeat(2, 1fr);
    gap: 6rem 3rem;
  }
}
@media (max-width: 767px) {
  .info-servicios {
    grid-template-columns: 1fr;
    gap: 5rem;
    width: 90%;
    margin: 0 auto;
  }
}

.servicio-card {
  display: flex;
  flex-direction: column;
  background-color: transparent;
  transition: transform 0.4s ease;
  height: 100%;
}
.servicio-card:hover {
  transform: translateY(-0.8rem);
}
.servicio-card:hover .img-wrapper img {
  transform: scale(1.05);
}
.servicio-card:hover .servicio-contenido h3 {
  color: #C5A059;
}

.img-wrapper {
  width: 100%;
  aspect-ratio: 4/5;
  overflow: hidden;
  margin-bottom: 3rem;
}

.img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}

.servicio-contenido {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 1rem;
  flex: 1;
}
.servicio-contenido h3 {
  color: #1A2F4B;
  font-size: 1.8rem;
  font-weight: 400;
  margin: 0 0 1.5rem 0;
  letter-spacing: 0.1rem;
  transition: color 0.4s ease;
}
.servicio-contenido p {
  color: rgba(26, 47, 75, 0.7);
  font-size: 1.5rem;
  font-weight: 300;
  line-height: 1.7;
  margin: 0;
  flex-grow: 1;
}

.servicio-acciones {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  width: 100%;
  margin-top: 2.5rem;
}
.servicio-acciones .btn {
  width: 100%;
  padding: 1.4rem 2rem;
}

/* Contenedor principal de la sección */
.testimonials {
  padding: 5rem 2rem;
  background-color: var(--bg-color);
  font-family: "Helvetica Neue", Arial, sans-serif;
  margin-top: 15rem;
}

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

/* Título de la sección */
.testimonials h2 {
  text-align: center;
  color: var(--primary-color);
  font-size: 3.3rem;
  margin-bottom: 3.5rem;
  font-weight: 400;
  letter-spacing: 1px;
}

/* Grid responsivo para las tarjetas */
.testimonials__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2.5rem;
}

/* Estilos de la tarjeta */
.testimonial__card {
  background-color: var(--card-bg);
  padding: 2.5rem 2rem;
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.testimonial__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
}

/* Contenido del testimonio */
.testimonial__content p {
  color: var(--text-color);
  font-size: 1.8rem;
  line-height: 1.6;
  font-style: italic;
  margin-bottom: 2rem;
  position: relative;
  z-index: 1;
}

/* Comillas decorativas minimalistas usando pseudo-elementos */
.testimonial__content p::before {
  content: '"';
  font-size: 5rem;
  color: var(--accent-color);
  opacity: 0.15;
  position: absolute;
  top: -2rem;
  left: -1rem;
  line-height: 1;
  font-family: Georgia, serif;
  z-index: -1;
}

/* Información del autor */
.testimonial__author {
  border-top: 1px solid #eeeeee;
  padding-top: 1.5rem;
}

.author__name {
  color: var(--primary-color);
  font-weight: 600;
  font-size: 1.7rem;
  margin: 0 0 0.3rem 0;
}

.author__treatment {
  color: var(--accent-color);
  font-size: 1.2rem;
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 500;
}

.resultados {
  padding: 12rem 2rem;
  background-color: #FFFFFF;
}

.resultados-header {
  text-align: center;
  margin-bottom: 10rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.resultados-contenedor {
  max-width: 120rem;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12rem;
}
@media (min-width: 768px) and (max-width: 1023px) {
  .resultados-contenedor {
    gap: 8rem;
  }
}
@media (max-width: 767px) {
  .resultados-contenedor {
    gap: 6rem;
  }
}

.caso-fila {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 8rem;
  align-items: center;
}
.caso-fila.inversa {
  grid-template-columns: 1.5fr 1fr;
}
.caso-fila.inversa .caso-info {
  order: 2;
}
.caso-fila.inversa .caso-imagenes {
  order: 1;
}
@media (min-width: 768px) and (max-width: 1023px) {
  .caso-fila {
    display: flex;
    flex-direction: column;
    gap: 4rem;
  }
  .caso-fila .caso-info {
    order: 1 !important;
    width: 100%;
  }
  .caso-fila .caso-imagenes {
    order: 2 !important;
    width: 100%;
  }
}
@media (max-width: 767px) {
  .caso-fila {
    display: block;
    width: 100%;
  }
}

@media (max-width: 767px) {
  .caso-info {
    display: block;
    width: 90%;
    margin: 0 auto 3rem auto;
  }
}
.caso-info h3 {
  color: #1A2F4B;
  font-size: 3.2rem;
  font-weight: 300;
  margin: 0 0 2rem 0;
  line-height: 1.2;
}
@media (max-width: 767px) {
  .caso-info h3 {
    font-size: 2.6rem;
  }
}
.caso-info p {
  color: #1A2F4B;
  font-size: 1.6rem;
  font-weight: 300;
  line-height: 1.8;
  margin: 0;
}

.caso-imagenes {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}
@media (max-width: 767px) {
  .caso-imagenes {
    display: block;
    width: 90%;
    margin: 0 auto;
  }
}

.img-box {
  position: relative;
  margin: 0;
  overflow: hidden;
  aspect-ratio: 16/9;
  background-color: #FFFFFF;
  box-shadow: 0 1.5rem 4rem rgba(26, 47, 75, 0.06);
}
@media (max-width: 767px) {
  .img-box {
    display: block;
    width: 100%;
    margin-bottom: 2rem;
  }
}
.img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}
.img-box:hover img {
  transform: scale(1.05);
}

.etiqueta {
  position: absolute;
  bottom: 1.5rem;
  left: 1.5rem;
  background-color: rgba(255, 255, 255, 0.95);
  color: #1A2F4B;
  padding: 0.8rem 1.5rem;
  font-size: 1.1rem;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.2rem;
  box-shadow: 0 0.5rem 1rem rgba(26, 47, 75, 0.08);
}

.ubicacion {
  /* Opcional: un fondo crema muy sutil ayuda a que el diseño se vea más premium */
  background-color: #F8F9FA;
  padding: 5rem 0;
}

.h2-ubicacion {
  text-align: center;
  margin-top: 5rem;
  margin-bottom: 4rem; /* Separación entre el gran título y el contenido */
  color: #2C3E50;
}

/* El flexbox que acomoda el texto y el mapa */
.ubicacion-contenido {
  display: flex;
  justify-content: center; /* Mantiene ambos elementos centrados en la pantalla */
  align-items: center; /* Los centra verticalmente entre sí */
  gap: 4rem; /* Esta es la separación perfecta entre el texto y el mapa */
  width: 90%;
  max-width: 1100px; /* Evita que se separen demasiado en pantallas gigantes */
  margin: 0 auto; /* Centra este contenedor en el medio de la página */
  /* Para que en móviles el mapa pase abajo del texto */
}
@media (max-width: 768px) {
  .ubicacion-contenido {
    flex-direction: column;
    gap: 3rem;
    text-align: center; /* Centra el texto en celulares */
  }
}

/* Estilos elegantes para el texto */
.info-contacto {
  max-width: 400px;
  color: #7F8C8D;
}
.info-contacto h3 {
  color: #2C3E50;
  font-size: 2.2rem;
  margin-bottom: 1.5rem;
}
.info-contacto p {
  font-size: 1.6rem;
  line-height: 1.8;
  margin-bottom: 1rem;
}
.info-contacto p strong {
  color: #2C3E50; /* Destaca las etiquetas con el color principal */
}

/* Ajustes al contenedor del mapa */
.mapa-contenedor {
  width: 100%;
  max-width: 600px;
}
.mapa-contenedor iframe {
  width: 100%;
  height: 450px;
  filter: grayscale(100%);
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05); /* Una sombra muy suave le da un toque premium */
  display: block; /* Quita el pequeño espacio que dejan los iframes abajo */
}

/* Estilos del botón flotante */
.btn-whatsapp {
  position: fixed;
  bottom: 25px; /* Distancia desde abajo */
  right: 25px; /* Distancia desde la derecha */
  width: 60px;
  height: 60px;
  background-color: #C5A059; /* Color oficial de WhatsApp */
  color: white;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.3);
  z-index: 1000; /* Asegura que esté por encima de otros elementos */
  text-decoration: none;
  transition: transform 0.3s ease, background-color 0.3s ease;
}

/* Efecto al pasar el cursor (Hover) */
.btn-whatsapp:hover {
  transform: scale(1.1); /* Hace que crezca un poco */
  background-color: #1ebe57; /* Un tono ligeramente más oscuro */
}

.footer-principal {
  background-color: #1A2F4B; /* Fondo oscuro y elegante */
  color: #FFFFFF;
  padding: 6rem 0 3rem 0; /* Mucho espacio arriba para respirar */
  margin-top: 8rem; /* Separación con la sección anterior (el mapa) */
}
.footer-principal a {
  color: #FFFFFF;
  text-decoration: none;
  transition: color 0.3s ease; /* Transición suave al pasar el mouse */
}
.footer-principal a:hover {
  color: #45B39D; /* El hover usa tu color de acento */
}

/* Contenedor superior: Marca y Enlaces */
.footer-contenido {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 90%;
  max-width: 1100px;
  margin: 0 auto;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1); /* Una línea divisoria sumamente fina y sutil */
  padding-bottom: 4rem;
  margin-bottom: 3rem;
  /* Diseño responsivo para celulares */
}
@media (max-width: 768px) {
  .footer-contenido {
    flex-direction: column;
    text-align: center;
    gap: 3rem;
  }
}

.footer-marca h3 {
  font-size: 2.8rem;
  margin-bottom: 0.5rem;
  color: #FFFFFF;
  letter-spacing: 2px; /* Separar las letras da un aspecto muy premium */
  font-weight: 300; /* Una fuente más delgada se ve más elegante */
}
.footer-marca p {
  color: #7F8C8D;
  font-size: 1.5rem;
}

.footer-enlaces {
  display: flex;
  gap: 3rem;
}
@media (max-width: 768px) {
  .footer-enlaces {
    flex-wrap: wrap; /* Permite que los enlaces bajen de línea si no caben */
    justify-content: center;
    gap: 1.5rem;
  }
}
.footer-enlaces a {
  font-size: 1.6rem;
}

/* Contenedor inferior: Derechos y Aviso de Portafolio */
.footer-legal {
  width: 90%;
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
}
.footer-legal p {
  font-size: 1.4rem;
  color: rgba(255, 255, 255, 0.5); /* Texto tenue para que no robe protagonismo */
  margin-bottom: 1rem;
}
.footer-legal .nota-portafolio {
  font-size: 1.3rem;
  color: #45B39D; /* Resalta tu aviso usando el color menta */
  max-width: 600px;
  margin: 1.5rem auto 0 auto; /* Lo centra y le da un pequeño margen arriba */
  line-height: 1.5;
  opacity: 0.8;
}