@import url('https://fonts.googleapis.com/css2?family=Cormorant:wght@400..900&family=Cormorant:ital,wght@0,300..700;1,300..700&family=Montserrat:ital,wght@0,100..900;1,100..900&family=Quicksand:wght@470&display=swap');
/* font-family: "Cormorant", serif;*/

@import url('https://fonts.googleapis.com/css2?family=Cormorant:wght@400..900&family=Montserrat:ital,wght@0,100..900;1,100..900&family=Quicksand:wght@470&display=swap');
/*  font-family: "Montserrat", sans-serif; */



:root {
  --bg-dark: #0f1115;
  --card-bg: #1c1f26;
  --text-main: #ffffff;
  --text-muted: #a0a5b1;
  --accent: #ffffff;
  --radius: 16px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}




/* Reseteo básico de estilos */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* Fondo oscuro para resaltar el efecto vidrio */
body {
  background-color: #0d0d0d;
  min-height: 200vh;
  background-image: radial-gradient(circle at 50% 30%, #262626 0%, #0d0d0d 70%);
}


/* Botón de Login contenedor del icono */
.nav-login-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px 12px; /* Ajuste para un botón más compacto */
  border-radius: 50%; /* Bordes redondos para un estilo de botón de icono */
  color: #e5e5e5;
  text-decoration: none;
  transition: all 0.3s ease;
  border: 1px solid transparent;
}

/* Tamaño y comportamiento del SVG */
.login-icon {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  transition: transform 0.3s ease;
}

/* Efectos Hover */
.nav-login-btn:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.3);
  box-shadow: 0 4px 12px rgba(255, 255, 255, 0.1);
}

.nav-login-btn:hover .login-icon {
  transform: scale(1.1); /* Efecto de ligero zoom en el icono */
}

/* Contenedor flotante, centrado y flotando desde arriba */
.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Navbar con Glassmorphism */
.navbar {
position: fixed;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 100%;
    background:black;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    /* border-radius: 40px; */
    z-index: 1000;
    padding: 10px 24px;
}
/* Logo alineado a la izquierda */
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 1px;
  color: white;

}

.logo-icon{
  width: 70px;
}

.logo-text{
   font-family: "Cormorant", serif;
}


/* Lista de botones */
.nav-links {
  display: flex;
  list-style: none;
  align-items: center;
  gap: 24px;
  font-family: "montserrat" ,serif;
  font-weight: 500;
}





/* Botones con bordes redondeados */
.nav-btn {
  color: #e5e5e5;
  text-decoration: none;
  padding: 8px 10px;
  border-radius: 20px;
  font-size: 0.95rem;
  font-weight: 500;
  transition: all 0.3s ease;
  border: 1px solid transparent;
}

.nav-links a {
  color: var(--text-main);
  text-decoration: none;
  font-size: 0.9rem;
  opacity: 0.85;
  transition: opacity 0.2s;
}


.nav-links a:hover {
  opacity: 1;
}

.btn-login {
  background: rgba(255, 255, 255, 0.2);
  padding: 8px 18px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

/* Efectos Hover en escala de grises / blanco */
.nav-btn:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.3);
  box-shadow: 0 4px 12px rgba(255, 255, 255, 0.1);
  transform: translateY(-1px);
}

/* Control del Checkbox oculto */
/* Menú Hamburguesa */
.menu-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
  background: transparent;
  border: none;
}

.menu-toggle .bar {
  width: 25px;
  height: 3px;
  background-color: #333; /* Cambia al color de tu diseño */
  margin: 3px 0;
  transition: all 0.3s ease;
}

/* Estilos del icono Hamburguesa */
.hamburger-icon {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 24px;
  height: 18px;
  cursor: pointer;
}

.hamburger-icon span {
  display: block;
  height: 2px;
  width: 100%;
  background-color: #ffffff;
  border-radius: 2px;
  transition: all 0.3s ease;
}



/* Hero Section */
.hero {
  position: relative;
  min-height: 80vh;
  display: flex;
  align-items: center;
  padding: 140px 10% 80px;
  background: linear-gradient(rgba(15, 17, 21, 0.65), rgba(15, 17, 21, 0.85)),
              url('https://images.unsplash.com/photo-1589829545856-d10d557cf95f?auto=format&fit=crop&w=1920&q=80') center/cover no-repeat;
}

.hero-content {
  max-width: 650px;
}

.tagline {
  font-size: 0.75rem;
  letter-spacing: 2px;
  font-weight: 600;
  color: var(--text-muted);
}

.hero-content h1 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 700;
  line-height: 1.15;
  margin: 16px 0;
  letter-spacing: -0.5px;
}

.hero-content p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* Cards Superpuestas */
.team-container {
  max-width: 1200px;
  margin: -100px auto 60px;
  padding: 0 20px;
  position: relative;
  z-index: 10;
}



.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  /* Esta línea evita que las tarjetas estiren a sus vecinas */
  align-items: start; 
        margin-top: -8%;
          width: 94%;
    margin-left: 3%;
}

.card {
  background-color: var(--card-bg);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  display: flex;
  flex-direction: column;
}

.card-image-wrapper {
  width: 100%;
  height: 320px;
  overflow: hidden;
}

.card-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card-body {
  padding: 20px;
  position: relative;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.card-body h3 {
  font-size: 23px;
  margin-bottom: 8px;
  color: white;
  font-family: "Cormorant" ,serif;
}

.role {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 12px;
  font-family: "montserrat" , serif;
}

/* Acordeón despegable nativo (<details>) */
.card-expand summary {
  list-style: none;
  position: absolute;
  bottom: 20px;
  right: 20px;
  width: 32px;
  height: 32px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}

.card-expand summary::-webkit-details-marker {
  display: none;
}

.card-expand summary::after {
  content: "+";
  font-size: 1.2rem;
  color: var(--text-main);
}

.card-expand[open] summary::after {
  content: "-";
}

.details-content {
  margin-top: 10px;
  padding-top: 10px;
  padding-right: 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.4;
}


/* Adaptación Responsive para Móviles */
@media (max-width: 768px) {
  .hamburger-icon {
    display: flex;

    .imgestudio {
    width: 110%;
    margin-left: -4%;
    margin-top: 60%;
    border-radius: 16px;
}
  }

  /* Menú desplegable móvil con efecto vidrio independiente */
.nav-links {
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    background: rgba(15, 17, 21, 0.95);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    padding: 20px;
    flex-direction: column;
    gap: 16px;
    display: none;
    border: 1px solid rgba(255, 255, 255, 0.1);
  }



  .nav-btn {
    display: block;
    text-align: center;
    width: 100%;
    padding: 10px;
  }

  .menu-toggle {
    display: flex;
  }

  /* Mostrar menú al hacer clic */
  .menu-toggle:checked ~ .nav-links {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  /* Animación del icono a X */
  .menu-toggle:checked ~ .hamburger-icon span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }
  .menu-toggle:checked ~ .hamburger-icon span:nth-child(2) {
    opacity: 0;
  }
  .menu-toggle:checked ~ .hamburger-icon span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }


  .nav-links.active {
    display: flex;
  }

  .hero {
    padding-top: 120px;
    min-height: auto;
  }

  .team-container {
    margin-top: 115px;
  }

  .logo-text {
     font-family: "Cormorant", serif;
    font-size: 20px;
}

.nav-links.active {
    display: flex; /* Muestra el menú cuando JS añade la clase .active */
  }

}

.divimgestudio{
    margin-top: -8%;
}


.imgestudio{
    width: 100%;

    margin-left: 0%;
  margin-top: 24%;
    
}

.imgnav {
  width: 40px; /* Tamaño fijo para evitar que cambie drásticamente según la pantalla */
  height: auto;
  object-fit: contain;
  display: block;
}


/* --- Ajuste específico para Mobile --- */
@media (max-width: 768px) {
  .logo {
    font-size: 16px; /* Tipografía ligeramente menor para pantallas estrechas */
    gap: 8px; /* Menor espacio entre imagen y texto */
    max-width: 80%; /* Asegura espacio suficiente para el ícono hamburguesa a la derecha */
  }

  .imgnav {
    width: 32px; /* Tamaño óptimo y legible en celulares */
    margin-bottom: 0;
  }
}


/* Contenedor principal responsive */
.cards-container {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 34px;
  width: 90%;
  max-width: 1100px;
  margin: 100px auto 40px auto;
      position: absolute;
    left: 14%;
    top: 84%;
}

/* Estructura de la Card con bordes redondeados a 20px y Glassmorphism */
.card {
  flex: 1;
 border-radius: 0px;
  overflow: hidden;
  background: black;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, border-color 0.3s ease;
  height: 106%;
}

.card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.25);
}

/* Sección Imagen (Arriba) */
.card-image-wrapper {
  width: 100%;
  height: 383px;
  overflow: hidden;
}

.card-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: grayscale(30%);
  transition: filter 0.3s ease, transform 0.3s ease;
}

.card:hover .card-image {
  filter: grayscale(0%);
  transform: scale(1.03);
}

/* Sección Texto (Abajo) */
.card-content {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.card-title {
  color: #ffffff;
  font-size: 1.25rem;
  font-weight: 600;
}

.card-text {
  color: #cccccc;
  font-size: 0.95rem;
  line-height: 1.5;
}

/* Texto oculto inicialmente */
.more-text {
  display: none;
}

/* Mostrar texto cuando la card está activa */
.card.expanded .more-text {
  display: inline;
}

/* Botón desplegable + */
.toggle-btn {
  align-self: flex-end;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  font-size: 1.2rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.toggle-btn:hover {
  background: rgba(255, 255, 255, 0.25);
  transform: scale(1.1);
}

/* En caso de desplegarse cambia la animación del botón */
.card.expanded .toggle-btn {
  transform: rotate(45deg);
  background: rgba(255, 255, 255, 0.2);
}

/* Versión Mobile: Una debajo de otra */
@media (max-width: 768px) {
  .cards-container {
    flex-direction: column;
    align-items: center;
  }

  .card {
            width: 88%;
        height: 93%;
        margin-left: 8%;
        margin-top: 21%;
  }
}



/* Contenedor Grid (4 columnas en escritorio) */
.grid-cards-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  width: 90%;
  max-width: 1200px;
  margin: 50% auto;
}

/* Estilo individual de la Card con bordes redondeados (20px) y Glassmorphism */
.grid-card {
  position: relative;
  border-radius: 0px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  
  background: black;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.grid-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.25);
}

/* Contenedor del Logo / Icono */


.grid-card-title {
  color: #ffffff;
  font-size: 22px;
  font-weight: 600;
font-family: "Cormorant",serif;

}

.grid-card-text {
  color: #cccccc;
  font-size: 0.9rem;
  line-height: 1.5;
  flex-grow: 1;
  font-family: "montserrat", serif;
}

label{
  font-family: "montserrat", serif;
}

/* Texto oculto por defecto */
.more-text {
  display: none;
}

/* Mostrar texto al expandir */
.grid-card.expanded .more-text {
  display: inline;
}

/* Botón desplegable "+" */
.grid-card .toggle-btn {
  align-self: flex-end;
  margin-top: auto;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  font-size: 1.2rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.grid-card .toggle-btn:hover {
  background: rgba(255, 255, 255, 0.25);
  transform: scale(1.1);
}

/* Animación del botón a una "x" al expandir */
.grid-card.expanded .toggle-btn {
  transform: rotate(45deg);
  background: rgba(255, 255, 255, 0.25);
}

/* --- Adaptación Responsive --- */

/* Tablets / Pantallas medianas: 2 por fila */
@media (max-width: 1024px) {
  .grid-cards-container {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Móviles: 1 por fila (una debajo de otra) */
@media (max-width: 600px) {
  .grid-cards-container {
    grid-template-columns: 1fr;
  }
  
}

/* Contenedor envolvente de la sección */
.practice-areas-section {
  width: 90%;
  max-width: 1200px;
  margin: 20% auto;
}

/* Estilo del título principal */
.section-title {
  color: #ffffff;
  font-size: 44px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 32px;
  letter-spacing: 0.5px;
  font-family: "Cormorant";
}

/* Ajuste del margin del grid interno */
.practice-areas-section .grid-cards-container {
  width: 100%;
  margin: 0;
  margin: 0 20px;
}



/* Seccion del Formulario */
.contact-section {
  width: 90%;
  max-width: 650px;
  margin: 0% auto;
}

.ptitle{
    color: white;
    font-family: "montserrat";
    font-weight: 500;
    width: 60%;
    text-align: center;
    margin: 1% 22% 8%;
}


.ptitle2{
color: white;
    font-family: "montserrat";
    font-weight: 500;
    width: 100%;
    text-align: center;
    margin: 1% 0% 8%;
}

/* Tarjeta Formulario Glassmorphism */
.form-card {
  border-radius: 0px;
  padding: 32px;
  background: black;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3);
}

.input-group {
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.input-group label {
  color: #e5e5e5;
  font-size: 0.9rem;
  font-weight: 500;
}

/* Campos de Texto, Select y Textarea */
.input-group input,
.input-group select,
.input-group textarea {
  width: 100%;
  padding: 12px 16px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
  font-size: 0.95rem;
  outline: none;
  transition: all 0.3s ease;
}

.input-group input::placeholder,
.input-group textarea::placeholder {
  color: #888888;
}

/* Enfoque en los inputs (Focus Hover) */
.input-group input:focus,
.input-group select:focus,
.input-group textarea:focus {
  border-color: rgba(255, 255, 255, 0.5);
  background: rgba(255, 255, 255, 0.12);
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.1);
}

/* Estilos para el desplegable (Select) */
.input-group select {
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
}

.input-group select option {
  background-color: #1a1a1a;
  color: #ffffff;
  padding: 10px;
}

.select-wrapper {
  position: relative;
}

/* Flecha personalizada del select */
.select-wrapper::after {
  content: '▼';
  font-size: 0.8rem;
  color: #ffffff;
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
}

/* Textarea sin cambio de tamaño brusco */
.input-group textarea {
  resize: vertical;
  min-height: 100px;
}

/* Botón de Envío */
.submit-btn {
  width: 100%;
  padding: 14px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.15);
  color: #ffffff;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-top: 10px;
  font-family: "montserrat", serif;
}

.submit-btn:hover {
  background: #ffffff;
  color: #0d0d0d;
  box-shadow: 0 4px 15px rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}


/* --- Adaptación Responsive para el Formulario --- */
@media (max-width: 600px) {
  /* Reduce los márgenes externos en pantallas móviles */
  .contact-section {
    width: 95%;
    margin: 40px auto;
  }

  .ptitle{
    color: white;
    font-family: "montserrat";
    font-weight: 500;
    width: 96%;
    text-align: center;
    margin: 1% 3% 8%;
    font-size: 12px;
  }

  .practice-areas-section .grid-cards-container {
    width: 86%;
    margin: 0;
    margin: 0 26px;
}


  /* Ajusta el relleno interno de la tarjeta */
  .form-card {
    padding: 20px 16px;
    border-radius: 0px; /* Borde ligeramente más suave para pantallas pequeñas */
  }

  /* Ajusta el tamaño de la tipografía para evitar desbordamientos */
  .section-title {
    font-size: 1.8rem;
    margin-bottom: 20px;
  }

  .input-group label {
    font-size: 0.85rem;
  }

  .input-group input,
  .input-group select,
  .input-group textarea {
    padding: 10px 12px;
    font-size: 0.9rem;
  }

  /* Previene el zoom automático molesto en dispositivos iOS (Safari) */
  .input-group input,
  .input-group select,
  .input-group textarea {
    font-size: 16px;
  }

  .submit-btn {
    padding: 12px;
    font-size: 0.95rem;
  }
}

.imgservice {
    width: 100%;
    border-radius: 0%;
    border-color: darkgray;
}


.elfsight-app-35d47cbd-c671-4039-8c93-eb4d3f77cd75{
    margin-top: 17%;
}

.logo-icon2{
  width: 42%;
}


/* FOOTER */
.site-footer {
  background-color: #0a0b0e;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 153px 20px 20px;
  margin-top: auto;
  
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 25px;
  padding-bottom: 30px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-brand h4 {
  font-size: 1rem;
  letter-spacing: 1px;
  margin-bottom: 8px;
  color: var(--text-main);
}

.footer-brand p {
  font-size: 0.85rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: center;
}

.footer-link {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.88rem;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: color 0.2s ease;
}

.footer-link:hover {
  color: var(--text-main);
}

.footer-link i {
  font-size: 1.1rem;
}

.footer-bottom {
  max-width: 1200px;
  margin: 20px auto 0;
  text-align: center;
  font-size: 0.78rem;
  color: #6b7280;
}

/* BOTÓN FLOTANTE DE WHATSAPP */
.whatsapp-float {
  position: fixed;
  bottom: 25px;
  right: 25px;
  width: 56px;
  height: 56px;
  background-color: #25d366;
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
  z-index: 9999;
  text-decoration: none;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
  color: #ffffff;
}

/* AJUSTES RESPONSIVOS MOBILE */
@media (max-width: 768px) {
  .footer-container {
            display: flex;
        align-items: center;
        flex-direction: column;
  }

  .footer-links {
          display: flex;
        gap: 14px;
        flex-direction: row;
  }

  .whatsapp-float {
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    font-size: 26px;
  }
}

.logofooter{
  text-align: center;

  margin-bottom: 6%;
}


/* SECCIÓN DOCTRINA Y PENSAMIENTO */
.doctrina-section {
  width: 92%;
  max-width: 1300px;
  margin: 40px auto 60px;
  padding: 60px 50px;
  background-color: black;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
}

/* Header y Línea separadora separada */
.doctrina-header {
  display: inline-block;
  margin-bottom: 24px;

}

.doctrina-header h2 {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 700;
  color: var(--text-main);
  letter-spacing: -0.5px;
  font-family: "Cormorant",serif;
  margin-bottom: 28px;
}

.title-divider {
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, #ffffff 0%, rgba(255, 255, 255, 0.2) 100%);
  margin-top: 10px;
  border-radius: 2px;
}

/* Descripción */
.doctrina-description {
  max-width: 900px;
  margin-bottom: 40px;
  font-family: "montserrat", serif;
  margin-top: -28px;
}

.contenedor-doctrina{
  display: flex;
    flex-direction: column;
    align-content: center;
    align-items: center;
}

.doctrina-description p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 16px;
}

.doctrina-description p:last-child {
  margin-bottom: 0;
}

/* Listado de Cajas de Archivos */
.downloads-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.download-box {
  background-color: var(--card-bg);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius);
  padding: 20px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.download-box:hover {
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

.doc-info {
  display: flex;
  align-items: center;
  gap: 18px;
}

.doc-icon {
  font-size: 1.8rem;
  color: #ffffff;
  opacity: 0.8;
  flex-shrink: 0;
}

.doc-info h3 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 4px;
}

.doc-meta {
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* Botón Descargar */
.btn-download {
  background: rgba(255, 255, 255, 0.1);
  color: var(--text-main);
  text-decoration: none;
  padding: 10px 20px;
  border-radius: 30px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  font-size: 0.85rem;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.btn-download:hover {
  background: var(--text-main);
  color: var(--bg-dark);
}

/* Responsivo para celulares */
@media (max-width: 768px) {
  .doctrina-section {
    width: 95%;
    padding: 35px 20px;
  }

  .logo-icon2 {
    width: 72%;
}

.imgestudio {
    width: 109%;
    margin-left: -4%;
    margin-top: -4%;
}

  .download-box {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .btn-download {
    width: 100%;
    justify-content: center;
    padding: 12px;
  }
}