@font-face {
  font-family: 'DM Sans';
  src: url('../Fonts/DMSans-Regular.ttf') format('truetype');
  font-weight: 400;
}

@font-face {
  font-family: 'DM Sans';
  src: url('../Fonts/DMSans-SemiBold.ttf') format('truetype');
  font-weight: 600;
}

@font-face {
  font-family: 'DM Sans';
  src: url('../Fonts/DMSans-Bold.ttf') format('truetype');
  font-weight: 700;
}

@font-face {
  font-family: 'Nanum Myeongjo';
  src: url('../Fonts/NanumMyeongjo-Regular.ttf') format('truetype');
  font-weight: 400;
}

@font-face {
  font-family: 'Nanum Myeongjo';
  src: url('../Fonts/NanumMyeongjo-Bold.ttf') format('truetype');
  font-weight: 700;
}

@font-face {
  font-family: 'Nanum Myeongjo';
  src: url('../Fonts/NanumMyeongjo-ExtraBold.ttf') format('truetype');
  font-weight: 800;
}

@font-face {
  font-family: 'Quicksand';
  src: url('../Fonts/Quicksand-Regular.ttf') format('truetype');
  font-weight: 400;
}

@font-face {
  font-family: 'Quicksand';
  src: url('../Fonts/Quicksand-SemiBold.ttf') format('truetype');
  font-weight: 600;
}

@font-face {
  font-family: 'Quicksand';
  src: url('../Fonts/Quicksand-Bold.ttf') format('truetype');
  font-weight: 700;
}


body {
    background-color: #f9f9f9;
  }

.nav-link {
  font-family: 'DM Sans', serif;
  font-size: 35px;
  font-weight: 600; 
}

img.logo-nav {
  height: 280px;
}

.presentacion-section { /* PRIMER PAGINA */
  background-color: #f9f9f9;
    color: #09303A;
    position: relative;
}
  
h2.titulo-principal {
  font-family: 'NanumMyeongjo', serif;
  font-weight: bold;
  font-size: 48px;
  line-height: 1.2; /* mantiene solo 2 líneas */
  text-align: left;
  margin-left: -5.3vh;
  margin-top: 1.8vh;
  color: #343A40;
}

.presentacion-section p {
  font-family: 'Quicksand', sans-serif;
  font-weight: 300;
  font-size: 25px; /* antes 20px */
  line-height: 1.3; /* más espacio entre renglones */
  padding-right: 8rem; /* más a la derecha */
  margin-left: -9rem;
  margin-bottom: 1em;
}

.parrafo-con-linea {
  border-left: 4.5px solid #09303A; 
  margin-left: -9rem;
}

.parrafo-con-linea p {
  font-size: 22px;
  line-height: 1.2;
  padding-left: 10.2rem; /* más a la derecha */
} 
  
.mosaico {
    display: flex;
    align-items: flex-end;
    gap: 0;
    position: relative;
    margin-top: 17em;
    transform: scale(1.7); /* aumenta tamaño un 30% */
    transform-origin: bottom left; /* punto de anclaje */
    margin-right: 10em;
}
  
  
  .bloque { /* contorno de todas las imanges, cada una tiene su bloque despues*/
    width: 110px;
    border-radius: 0;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    border-right: 6px transparent;
    margin-right: -15px; /* superposición sutil */
    box-shadow: none;
  }
  
  .bloque img {  /* ver */
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  
  /* 1. Columna */
  .bloque1 {
    height: 200px;
    background-color: #09303A;
    border-right-color: #09303A;
    z-index: 4;
    margin-bottom: 50px;
  }
  .bloque1 img {
    width: 90%;
    height: auto;
    object-fit: contain;
  }
  
  /* 2. Abogado */
  .bloque2 {
    height: 370px;
    z-index: 3;
  }
  

  .bloque3 {
    height: 290px;
    z-index: 1;
    margin-bottom: 50px; 
    
  }
  
  .bloque4 {
    height: 300px;
    z-index: 2;
    margin-bottom: 16px; /* lo mantiene en su lugar */
    margin-left: -40px;
    position: relative; /* necesario para que el z-index funcione bien */
  }
  
  
  /* Colores personalizados */
.bg-dark-green {
  background-color: #002d3c;
}
.bg-mid-blue {
  background-color: #1e4557;
}

/* Fondo gris claro de la sección */
.confianza-wrapper {
  background-color: #e6e6e6;
  position: relative;
  z-index: 0;
}

.confianza-box {
  border-radius: 30px;
  overflow: hidden;
  box-shadow: 0px 10px 0px #e4bb6b; /* sombra falsa tipo "borde dorado inferior" */
  position: relative;
  z-index: 1;
}

.confianza-title {
  font-family: 'Nanum Myeongjo', serif;
  font-weight: bold;
  font-size: 45px;
  margin-bottom: 0;
  margin-top: 1.5rem;
}

.confianza-subtitle {
  font-family: 'DM Sans', sans-serif;
  font-weight: 400;
  font-size: 20px;
  margin-top: 0rem;
  margin-bottom: 1.5rem;
}

.btn-contactanos {
  background-color: #e4bb6b;
  color: #002d3c;
  font-weight: bold;
  font-family:  'Nanum Myeongjo', serif;
  border-radius: 25px;
  transition: all 0.3s ease-in-out;
  margin-top: 2rem;
  padding-left: 2.5rem;
  padding-right: 2.5rem;
  font-size: 23px;
}
.btn-contactanos:hover {
  background-color: #d1a954;
  color: #001a24;
}
 
  .cuadricula-servicios {
    margin-top: 4rem;
    position: relative;
  }
  
  .cuadro {
    background-color: #184259;
    color: white;
    border-radius: 0;
  }

  .azul h5 {
    font-family:  'Nanum Myeongjo', serif;
    font-size: 1.5rem;
    font-weight: bold;
  }
  
  .azul p {
    font-size: 1.1rem;
    color: #f0f0f0;
    margin-bottom: 1rem;
    font-family: 'DM Sans', sans-serif;
  }
 
  .icono {
    width: 80px;
    height: 80px;
    object-fit: contain;
    flex-shrink: 0; /* evita que se achique en layouts responsivos */
  }
  
  .d-flex.gap-3 {
    align-items: center; /* o center, si preferís exacto en medio */
  }
  
  .esquina-izq-sup {
    border-top-left-radius: 2rem;
  }
  
  .esquina-der-sup {
    border-top-right-radius: 2rem;
  }
  
  .esquina-izq-inf {
    border-bottom-left-radius: 2rem;
  }
  
  .esquina-der-inf {
    border-bottom-right-radius: 2rem;
  }

  .datos-destacados-section {
    background-color: #F5F5F5;
  }
  
  .datos-extra {
    background-color: #09303A;
    border-radius: 1.5rem;
    overflow: hidden;
    max-width: 960px;
  }
  
  .dato h5 {
    font-size: 1.2rem;
    font-weight: bold;
  }
  
  .dato p {
    color: #ccc;
  }
  
.icono-central {
  margin-top:1.8rem;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 180px;                /* Aumentado */
  height: 180px;               /* Aumentado */
  background: white;
  border-radius: 1.5rem;         /* Más redondeado */
  padding: 1.3rem;             /* Reducido para que no achique la imagen */
  box-shadow: 1.5rem 1.5rem 1.5rem 1.5rem rgba(0,0,0,0.2);
  z-index: 10;

  display: flex;
  align-items: center;
  justify-content: center;
}

.icono-central img {
  width: 100%;                 /* Que ocupe todo el contenedor */
  height: auto;                /* Para que no se deforme */
  transform: scale(1.2);         /* Sin escala adicional */
  transition: transform 0.3s ease;
}

  .form-control:focus {
    box-shadow: none;
    border-color: #005f73;
  }
  
  .hero {
    background-color: #e0fbfc;
  }

.titulo-areas {
  font-family: 'Nanum Myeongjo', serif;
  font-weight: 700;
  font-size: 45px;
}

.parrafo-areas {
  font-family: 'DM Sans', sans-serif;
  font-weight: 300;
  font-size: 20px;
  padding-left: 4rem;
  padding-right: 4rem;
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
}

.accordion-button {
  background-color: #0d3944;
  color: white;
  font-weight: bold;
  text-transform: uppercase;
  font-size: 1.1rem;
  height: 65px; 
  display: flex;
  font-family: 'Nanum Myeongjo', serif;
  justify-content: center;
  align-items: center;
  text-align: center;
  border-radius: 2rem !important;
  white-space: normal; 
  line-height: 1.2; 
  padding: 1rem 2.5rem 1rem 1rem; 
  word-break: break-word;
  overflow-wrap: break-word;
  white-space: normal;
}

.accordion-button::after {
  right: 1rem !important; 
  top: 50%;
  transform: translateY(-50%);
  position: absolute;
  filter: brightness(0) invert(1);
}

.accordion-button.collapsed {
  padding-right: 2.5rem !important; 
}

/* Cuando está abierto */
.accordion-button:not(.collapsed) {
  background-color: #09303A;
  color: white;
  box-shadow: none;
}

.accordion-item {
  border: none;
  border-radius: 2rem;
  background-color: #09303A;
  box-shadow: 4px 4px 12px rgba(0, 0, 0, 0.08); 
  padding: 0;
  text-align: center;
}

.accordion-button:focus {
  box-shadow: none;
}

.col-md-4 {
  padding: 0 0.5rem;
}

.accordion-body {
  background-color: rgba(228, 225, 225, 0.999);
  border-radius: 0 0 1.5rem 1.5rem;
  padding: 1rem 1.5rem;
  font-family: 'DM Sans', sans-serif;
}

ul.list-unstyled li {
  margin-bottom: 0.5rem;
  font-size: 1.25rem;
}

/* Responsive: mantener altura pero escalar texto si hace falta */
@media (max-width: 576px) {
  .accordion-button {
    font-size: 1rem;
    height: 70px;
    padding: 0 1.2rem;
  }
}

.accordion-header {
  background-color: transparent !important;
  margin: 0 !important;
  padding: 0 !important;
  border-radius: 0 !important;
}

.profesionales-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 768px) {
  .profesionales-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.profesionales-section h2 {
  font-family: 'Nanum Myeongjo', serif;
  font-size: 2.4rem;
  margin-top: 2rem;
}

.prof-card img {
  width: 100%;
  height: 300px;      /* ← NUEVO: altura fija para todas las tarjetas */
  object-fit: cover;  /* ← NUEVO: la imagen se ajusta y se recorta sin deformarse */
  border-bottom: 7px solid #e2c872; 
  border-right: 8px solid #e2c872; 
  box-shadow: 0 0.5rem 1rem rgba(0,0,0,0.3);
}

p.mt-4.small {
  font-family: 'Nanum Myeongjo', serif;
  font-size: 1rem;
}

.prof-card {
  background: transparent;
  color: white;
  text-align: center;
}


.prof-card h5 {
  font-family: 'Nanum Myeongjo', serif;
  text-transform: uppercase;
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
  font-size: 1.6rem;
}

.prof-card p {
  font-size: 1.2rem;
  color: #ccc;
  font-family: 'DM Sans', sans-serif;
}


.accordion-button {
  color: white;
}

.profesionales-section,
.contacto-section {
  background-image: url("../img/fondo.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed; /* opcional, da efecto parallax */
  position: relative;
  z-index: 1;
}

.titulo-seccion {
  font-size: 12rem;
  font-weight: bold;
  text-align: center;
  margin-bottom: 2rem;
}

.leyenda-matriculas {
  font-size: 0.9rem;
}

.profesional-card {
  background-color: rgba(10, 58, 71, 0.95);
  color: white;
  border-radius: 5px;
  padding-bottom: 1rem;
}

.contacto-section h2 {
  font-family: 'Nanum Myeongjo', serif;
  font-size: 2.8rem;

}

.contacto-section p {
  font-family: 'DM Sans', sans-serif;
  font-size: 1.2rem;
}

.form-container {
  border-radius: 25px; /* más redondeado */
  padding: 2.5rem 2rem;
  color: #0a3a47;
  width: 95%;
  max-width: 600px; /* menos ancho que antes */
  min-height: 550px; /* un poco más largo */
  background-color: #fefefe;
  padding-left: 3rem;
  padding-right: 3rem;
  margin-bottom: 5rem;
}

@media (min-width: 768px) {
  .form-container {
    min-height: 600px;
  }
}

.texto-contacto {
  max-width: 530px;
}

.form-label {
  font-weight: bold;
  padding: 0.5rem;
}

.text-gray {
  font-family: 'Quicksand', sans-serif;
  font-weight: 300; /* o 400 si la ves demasiado gruesa */
  font-size: 1.2rem;
  color: #111212;
  margin-bottom: 0;
}

.input-custom {
  border: 1.2px solid #2f2f2f; /* Azul */
  padding: 0.35rem 1.2rem;
  font-size: 1rem;
  color: #2C2C2C;
  background-color: #fff;
  font-family: 'DM Sans', sans-serif;
  font-weight: 400;
}

textarea.input-custom {
  height: 200px;
}

.input-custom:focus {
  border-color: #103B4F;
  box-shadow: none;
}

.btn-enviar:hover {
  background-color:  #005f73;
  color: white;
}

.btn-enviar {
  background-color: #0a3a47;
  color: white;
  border-radius: 20px;
  font-weight: bold;
  border: none;
  font-family: 'Nanum Myeongjo', serif;
  font-size: 1.1rem;
  width: 100%;
  max-width: 160px; /* opcional */
}

.footer {
  background-color: #00303D;
  font-family: 'DM Sans', sans-serif;
}

.footer-logo {
  margin-left: -3rem;
  height: 80px; /* mantené un tamaño normal */
  width: auto;
  transform: scale(3.4); /* agranda visualmente */
  transform-origin: left center; /* mantiene la posición original */
}


.footer-links a {
  font-size: 1.6rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  text-decoration: none;
  padding: 0.6rem;
}

.footer .bi {
  color: white;
  margin-left: 6rem;
  font-size: 10rem;
}

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

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

.footer-contacto-item span {
  white-space: nowrap; 
  line-height: 1;
}

.footer-contacto-item {
  min-height: 3rem;
  gap: 0.5rem; 
}

.navbar-toggler-icon {
  background-size: 40px 35px; /* Aumenta el tamaño de las líneas */
  width: 35px;
  height: 30px;
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='white' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
}

.navbar-toggler {
  border: none;
  background: none;
  padding: 0.25rem;
}

.navbar-toggler:focus {
  box-shadow: none;
}


/* ===== MOBILE (hasta 767px) ===== */
@media (max-width: 767px) {
  img.logo-nav {
    height: 230px;
    margin-left: -1rem;
  }

  h2.titulo-principal {
    font-size: 35px;
    margin-left: 0;
    margin-top: 0rem;
    text-align: center;
  }

  .presentacion-section p {
    font-size: 23px;
    padding-right: 0rem;
    margin-left: 0;
    text-align: center;
    
  }

  .parrafo-con-linea {
    margin-left: 0;
    border-left: none;
  }

  .parrafo-con-linea p {
    padding-left: 1.5vh;
    font-size: 20px;
    text-align: center;
    
  }

  .mosaico {
    display: none;
  }

  .icono-central {
    display: none !important;
  }

  .confianza-box {
    margin-left: 3.5vh;
    margin-right: 3.5vh;
    box-shadow: 6px 6px 0px #e4bb6b; /* sombra falsa tipo "borde dorado inferior" */
    margin-bottom: 2rem;
  }

  .prof-card img {
    width: 90%;
    height: 360px;    
    border-bottom: 4px solid #e2c872; 
    border-right: 5px solid #e2c872; 
  }
  
  p.mt-4.small {
    font-size: 0.9rem;
  }

  .profesionales-section h2 {
    font-size: 1.9rem;
  }

  .contacto-section h2 {
    font-size: 2.4rem;  
    text-align: center;
    margin-top: -1rem;
  }

  .contacto-section p {
    font-size: 1.1rem;
    text-align: center;
  }

  .footer-logo {
    margin-left: -11rem;
  }
  
  .footer-links a {
    font-size: 1.3rem;
  }

  .footer-contacto-item {
    margin-left: -6rem;
  }

  .footer span {
    font-size: 1.2rem;
  }

 /* Bordes específicos */
 .esquina-izq-sup {
  border-top-left-radius: 0rem;
  background-color:  #005f73;  
}

.esquina-der-sup {
  border-top-right-radius: 0rem;
}

.esquina-izq-inf {
  border-bottom-left-radius: 0rem;
  background-color:  #005f73;
}

.esquina-der-inf {
  border-bottom-right-radius: 0rem;
}

}

/* ===== TABLET PEQUE (992 a 1250) ===== */
@media (min-width: 768px) and (max-width: 992px) {
  h2.titulo-principal {
    font-size: 40px;
    margin-left: 0;
    margin-top: 0rem;
    text-align: center;
  }

  .presentacion-section p {
    font-size: 25px;
    padding-right: 0rem;
    margin-left: 0;
    
  }

  .parrafo-con-linea {
    margin-left: 0;
  }

  .parrafo-con-linea p {
    padding-left: 1.5vh;
    font-size: 22px;
    
  }

  .mosaico {
    display: none;
  }

  .confianza-box {
    margin-left: 5rem;
    margin-right: 5rem;
    box-shadow: 6px 6px 0px #e4bb6b; /* sombra falsa tipo "borde dorado inferior" */
    margin-bottom: 2rem;
  }

  .icono-central {
    display: none !important;
  }

  .cuadro {
    margin-left: auto;    /* Centrado horizontal */
    margin-right: auto;
  }

  .azul h5 {
    font-size: 1.7rem;
    margin-bottom: 1rem;
  }
  
  .azul p {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    padding-right: 4rem;
  }

  .azul .icono 
  {
    margin-left: 2rem;
    margin-right: 1rem;
  }

  .profesionales-section h2 {
    font-size: 2.2rem;
  }

  .profesionales-grid {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.2rem;
  }

  .prof-card {
    width: 100%;
    max-width: 400px;
  }

  .prof-card img {
    width: 99%;
    height: 330px;    
    border-bottom: 4px solid #e2c872; 
    border-right: 5px solid #e2c872; 
  }
  
  p.mt-4.small {
    font-size: 1rem;
  }

  .contacto-section h2 {
    font-size: 2.6rem;  
    text-align: center;
    margin-top: -1rem;
  }

  .contacto-section p {
    font-size: 1.3rem;
    text-align: center;
  }

  .footer-logo {
    margin-left: -11rem;
  }
  
  .footer-links a {
    font-size: 1.3rem;
  }

  .footer-contacto-item {
    margin-left: -6rem;
  }

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

  /* Bordes específicos */
  .esquina-izq-sup {
    border-top-left-radius: 0rem;
    background-color:  #005f73;  
  }
  
  .esquina-der-sup {
    border-top-right-radius: 0rem;
  }
  
  .esquina-izq-inf {
    border-bottom-left-radius: 0rem;
    background-color:  #005f73;
  }
  
  .esquina-der-inf {
    border-bottom-right-radius: 0rem;
  }

}



/* ===== TABLET GRANDE (992 a 1250) ===== */
@media (min-width: 992px) and (max-width: 1250px) {
  h2.titulo-principal {
    font-size: 30px;
    margin-left: -3rem; /* menos que desktop */
    margin-top: 0rem;
  }

  .presentacion-section p {
    font-size: 20px;
    padding-right: 2rem;
    margin-left: -3rem;
  }

  .parrafo-con-linea {
    margin-left: -3rem;
  }

  .parrafo-con-linea p {
    padding-left: 4rem;
    font-size: 20px;
  }

  .mosaico {
    transform: scale(1.2); /* más chico que desktop */
    margin-top: 5em;
    margin-right: 2em;
  }
  
  .azul h5 {
    font-size: 1.15rem;
  }
  
  .azul p {
    font-size: 0.88rem;
    color: #f0f0f0;
    margin-bottom: 0.3rem;
  }
  
  .icono {
    width: 65px;
    height: 65px;
  }
   
.icono-central {
  margin-top:1rem;
  width: 150px;                
  height: 150px;              
}

.prof-card img {
  width: 100%;
  height: 270px;    
  border-bottom: 4px solid #e2c872; 
  border-right: 5px solid #e2c872; 
}

.prof-card h5 {
  margin-bottom: 0.3rem;
  font-size: 1.2rem;
}

.prof-card p {
  font-size: 1rem;
}

p.mt-4.small {
  font-size: 0.9rem;
}

.texto-contacto {
  max-width: 420px;
}

.contacto-section h2 {
  font-size: 2.6rem;
  margin-top: 1rem;
}

.contacto-section p {
  font-size: 0.9rem;
}

.footer-logo {
  margin-left: 3rem;
  height: 70px; /* mantené un tamaño normal */
  transform: scale(3); /* agranda visualmente */
}

.footer-links a {
  font-size: 1.3rem;
  padding: 0rem;
}

.footer .bi {
  margin-left: 3rem;
  font-size: 8rem;
}

.footer span {
  font-size: 1.2rem;
}

}

@media (min-width: 1250px) {
  .container {
    max-width: 1200px;
    margin: 0 auto;
  }

  .presentacion-section p {
    padding-right: 4rem;
    margin-left: -3rem;
    font-size: 1.5rem;
  }

  .parrafo-con-linea {
    margin-left: -3rem;
  }

  .parrafo-con-linea p {
    padding-left: 4rem;
    font-size: 1.3rem;
  }

  h2.titulo-principal {
    margin-left: -3rem;
    margin-top: 0.5vh;
    font-size: 2.3rem;
   
  }

  .mosaico {
    transform: scale(1.45); /* menos exagerado que 1.7 */
    margin-top: 10em;
    margin-right: 5em; /* menos desplazamiento */
  }

  .confianza-box {
    margin-top: 2rem;
  }


}
