

/* Reset básico */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

body {
  background-color: #f8f9fa;
  color: #333;
  line-height: 1.6;
}

a {
  text-decoration: none;
  color: inherit;
}

/* Contenedor general */
.container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* Encabezado */
header {
  background-color: #2f97a5;
  color: #fff;
  padding: 1rem 0;
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.logo img {
  width: 40px;
  height: 40px;
}

.nav-links a {
  margin-left: 1rem;
  font-weight: bold;
}

/* Banner principal */
.banner {
  text-align: center;
  padding: 3rem 1rem;
  background-color: #eaf9fc;
}

.banner h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: #2f97a5;
}

.banner p {
  font-size: 1.2rem;
}

/* Tarjetas de trámites */
.tramites {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1.5rem;
  padding: 2rem 1rem;
}

.tramite-card {
  position: relative;
  width: 130px;
  height: 130px;
  background-color: #ffffff;
  border: 1px solid #ddd;
  border-radius: 15px;
  text-align: center;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.3s ease;
  z-index: 0;
}

.tramite-card:hover {
  transform: scale(1.05);
}

.tramite-card::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: #2f97a5;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.4s ease, height 0.4s ease;
  z-index: -1;
}

.tramite-card:hover::before {
  width: 300%;
  height: 300%;
}

.tramite-icon {
  font-size: 2rem;
  margin-top: 1.5rem;
  color: #333;
  transition: color 0.3s;
}

.tramite-label {
  margin-top: 0.5rem;
  font-weight: bold;
  transition: color 0.3s;
}

.tramite-card:hover .tramite-icon,
.tramite-card:hover .tramite-label {
  color: #ffffff;
}


/* Pie de página */
footer {
  background-color: #2f97a5;
  color: #fff;
  text-align: center;
  padding: 1rem;
  margin-top: 2rem;
}

/* Responsive */
@media (max-width: 768px) {
  .header-content {
    flex-direction: column;
    gap: 1rem;
  }

  .tramites {
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  }
}


/*MENU DE NAVEGACION*/

.topbar {
  background-color: #349ca6;
  padding: 12px 0;
  color: white;
}

.container {
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: bold;
  font-size: 1.2rem;
}

.logo img {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

.menu {
  flex: 2;
  display: flex;
  justify-content: center; /* <-- Esto centra el menú */
  gap: 1.5rem;
}

.menu a {
  color: white;
  text-decoration: none;
  font-weight: 500;
  position: relative;
  transition: color 0.3s ease;
}

.menu a::after {
  content: "";
  position: absolute;
  width: 0%;
  height: 2px;
  left: 0;
  bottom: -4px;
  background-color: white;
  transition: width 0.3s ease;
}

.menu a:hover {
  color: #e6f7f8;
}

.menu a:hover::after {
  width: 100%;
}

.actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.search {
  padding: 6px 10px;
  border: none;
  border-radius: 5px;
  font-size: 0.9rem;
  outline: none;
  height: 42px;
  width: 300px;
}

.login-button {
  background-color: white;
  color: #349ca6;
  padding: 6px 12px;
  border-radius: 5px;
  font-weight: bold;
  text-decoration: none;
  transition: background 0.3s ease, color 0.3s ease;
}

.login-button:hover {
  background-color: #2f8c95;
  color: white;
}

/* Que el body y html usen toda la pantalla */
html, body {
  height: 100%;
  margin: 0;
  display: flex;
  flex-direction: column;
}

/* Wrapper principal que contiene todo */
.wrapper {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* El contenido principal crece */
main {
  flex: 1;
}

/* Footer normal */
footer {
  background-color: #2f97a5;
  color: white;
  text-align: center;
  padding: 1rem;
}


/* Seccion */
.seccion-info {
  width: 80%;
  max-width: 1200px;
  height: 500px;
  margin: 40px auto;
  display: flex;
  background-color: #f9f9f9;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.slider-container {
  width: 50%;
  height: 100%;
  overflow: hidden;
  position: relative;
}

.slider {
  display: flex;
  width: 300%;
  height: 100%;
  animation: slide 12s infinite;
}

.slider img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@keyframes slide {
  0%   { transform: translateX(0%); }
  33%  { transform: translateX(0%); }
  34%  { transform: translateX(-100%); }
  66%  { transform: translateX(-100%); }
  67%  { transform: translateX(-200%); }
  100% { transform: translateX(-200%); }
}

.info-texto {
  width: 50%;
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.info-texto h2 {
  font-size: 28px;
  color: #2f97a5;
  margin-bottom: 15px;
}

.info-texto p {
  font-size: 16px;
  color: #333;
  line-height: 1.6;
}


/*Testimonio*/

.testimonios {
  padding: 50px 0;
  background-color: #f9fbfc;
  text-align: center;
}

.testimonios h2 {
  color: #258a9e;
  font-size: 28px;
  margin-bottom: 40px;
}

.testimonios-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  align-items: stretch; /* 👈 clave para igualar alturas */
}


.testimonio {
  background: #fff;
  border-left: 5px solid #36ba4c;
  border-radius: 10px;
  padding: 30px 20px;
  width: 300px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.testimonio:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.testimonio .mensaje {
  font-style: italic;
  font-size: 16px;
  color: #333;
  margin-bottom: 20px;
}

.testimonio .autor {
  background-color: #258a9e;
  color: white;
  font-weight: 600;
  font-style: italic;
  padding: 10px;
  border-radius: 4px;
}



/*Contadores*/
.contador-seccion {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 50px;
  background-color: #f0f8fa;
  padding: 60px 20px;
  text-align: center;
}

.contador {
  flex: 1 1 200px;
}

.contador .numero {
  font-size: 3rem;
  font-weight: bold;
  color: #2f97a5;
  display: block;
  margin-bottom: 10px;
}

.contador p {
  font-size: 1.1rem;
  color: #333;
}


/*Preguntas*/


.faq-section {
  max-width: 900px;
  margin: 60px auto;
  padding: 0 20px;
}

.faq-section h2 {
  text-align: center;
  color: #278e9d;
  margin-bottom: 30px;
}

.faq {
  border: 1px solid #ccc;
  border-radius: 6px;
  margin-bottom: 15px;
  overflow: hidden;
  background-color: #fff;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.faq-question {
  width: 100%;
  background-color: #f7f7f7;
  border: none;
  padding: 15px 20px;
  font-weight: bold;
  font-size: 1rem;
  cursor: pointer;
  text-align: left;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background-color 0.3s ease;
}

.faq-question:hover {
  background-color: #e0f5f8;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 20px;
  background-color: #fff;
  transition: max-height 0.4s ease, padding 0.4s ease;
}

.faq.open .faq-answer {
  padding: 15px 20px;
  max-height: 300px;
}

.arrow {
  transition: transform 0.3s ease;
}

.faq.open .arrow {
  transform: rotate(180deg);
}


/*Boton de contacto*/

.contacto-rapido {
  text-align: center;
  margin: 60px auto;
  padding: 0 20px;
}

.contacto-rapido h2 {
  color: #278e9d;
  margin-bottom: 25px;
}

.boton-contacto-container {
  display: flex;
  justify-content: center;
}

.boton-contacto {
  display: inline-block;
  padding: 14px 30px;
  background-color: #278e9d;
  color: white;
  font-weight: bold;
  text-decoration: none;
  border-radius: 8px;
  transition: transform 0.2s ease, background-color 0.3s ease;
}

.boton-contacto:hover {
  background-color: #1b6e79;
  transform: scale(1.05);
}


/* ================= HISTORIA ================= */

/* Colores base */
:root {
  --principal: #2f97a5;
  --fondo: #f5f9fa;
  --blanco: #ffffff;
  --gris-claro: #f0f0f0;
  --texto-principal: #222;
  --texto-secundario: #555;
}

/* Reset básico */
body {
  margin: 0;
  font-family: "Segoe UI", sans-serif;
  background-color: var(--fondo);
  color: var(--texto-principal);
}

/* Banner superior */
.banner-historia {
  background: linear-gradient(rgba(47, 151, 165, 0.85), rgba(47, 151, 165, 0.85)),
              url('https://via.placeholder.com/1600x400?text=Banner+Historia') no-repeat center/cover;
  color: white;
  text-align: center;
  padding: 100px 20px;
}

.banner-historia h1 {
  font-size: 3rem;
  margin-bottom: 10px;
}

.banner-historia p {
  font-size: 1.2rem;
  max-width: 800px;
  margin: 0 auto;
}

/* Sección de historia */
.historia-info {
  padding: 60px 20px;
  text-align: center;
  background-color: var(--blanco);
}

.historia-info p {
  max-width: 800px;
  margin: 0 auto;
  font-size: 1.1rem;
  line-height: 1.6;
  color: var(--texto-secundario);
}

/* Fundadores */
.fundadores {
  padding: 60px 20px;
  display: flex;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
  justify-content: center;
  background-color: var(--gris-claro);
}

.fundadores img {
  width: 500px;
  max-width: 90%;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.fundadores-texto {
  max-width: 400px;
}

.fundadores-texto h2 {
  color: var(--principal);
  margin-bottom: 15px;
}

.fundadores-texto ul {
  font-size: 1.1rem;
  line-height: 2;
  list-style: disc;
  padding-left: 20px;
}

/* Representantes */
.representantes {
  padding: 60px 20px;
  background-color: var(--blanco);
  text-align: center;
}

.representantes h2 {
  color: var(--principal);
  margin-bottom: 30px;
}

.representantes .cards {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
}

.representante-card {
  background-color: var(--gris-claro);
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  width: 250px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border-top: 4px solid var(--principal);
}

.representante-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.representante-card img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 15px;
}

.representante-card h3 {
  color: var(--principal);
  margin: 10px 0 5px;
  font-size: 1.1rem;
}

.representante-card p {
  color: var(--texto-secundario);
  font-size: 0.95rem;
}

/* Compromiso */
.compromiso {
  padding: 60px 20px;
  text-align: center;
  background-color: var(--gris-claro);
}

.compromiso h2 {
  color: var(--principal);
  margin-bottom: 15px;
}

.compromiso p {
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.7;
  font-size: 1.1rem;
  color: var(--texto-secundario);
}

/* ========== AJUSTES GENERALES ========== */
* {
  box-sizing: border-box;
}


html, body {
  margin: 0;
  padding: 0;
  height: auto;           
  overflow-x: hidden;     
  overflow-y: auto;      
  font-family: sans-serif;
  background-color: #f7fbfc;
}

.wrapper {
  width: 100%;
  position: relative;
}



/* ========== BANNER ========== */
.banner-tramites {
  background-image: url('https://via.placeholder.com/1600x450/248b99/ffffff?text=Trámites+Ejidales');
  background-size: cover;
  background-position: center;
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.banner-tramites h1 {
  color: white;
  font-size: 2.5rem;
  font-weight: bold;
  text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.5);
}

/* ========== INTRODUCCIÓN ========== */
.intro-tramites {
  background-color: #e6f7f8;
  padding: 60px 30px;
  text-align: center;
}

.intro-tramites h2 {
  font-size: 1.8rem;
  margin-bottom: 20px;
}

.intro-tramites p {
  margin: 0 auto;
  max-width: 700px;
}

.intro-tramites ul {
  list-style: disc;
  max-width: 600px;
  margin: 20px auto;
  text-align: left;
}

.alerta {
  color: #c20000;
  font-weight: bold;
  margin-top: 20px;
}

/* ========== TRÁMITES VERTICALES ========== */
.lista-tramites-vertical {
  display: flex;
  flex-direction: column;
  gap: 30px;
  padding: 40px 20px;
  max-width: 900px;
  margin: auto;
}

.tramite-vertical {
  background: white;
  border-radius: 10px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  padding: 30px;
}

.tramite-contenido h3 {
  margin-top: 0;
  color: #248b99;
}

.tramite-contenido p {
  margin: 10px 0;
}

.tramite-contenido ul {
  margin: 15px 0;
  padding-left: 20px;
}

.tramite-contenido button {
  background-color: #248b99;
  color: white;
  border: none;
  padding: 10px 18px;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.tramite-contenido button:hover {
  background-color: #1a6d75;
}

.boton-tramite {
  display: inline-block;
  background-color: #248b99;
  color: white;
  border: none;
  padding: 10px 18px;
  border-radius: 6px;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.3s ease;
}

.boton-tramite:hover {
  background-color: #1a6d75;
}

/* ========== ubicacion  ========== */


.banner-ubicacion {
  background-image: url('https://via.placeholder.com/1600x400/248b99/ffffff?text=Ubicación+Ejido+El+Tuito');
  background-size: cover;
  background-position: center;
  text-align: center;
  color: white;
  padding: 60px 20px;
}

.banner-ubicacion h1 {
  font-size: 2.8rem;
  text-shadow: 1px 1px 4px rgba(0,0,0,0.5);
}

.mapa-section {
  margin: 40px 0;
  text-align: center;
}

.info-contacto {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: center;
  padding: 40px 20px;
  background-color: #f4f9f9;
  text-align: center;
}

.info-bloque {
  flex: 1 1 300px;
  background-color: white;
  border-radius: 10px;
  padding: 20px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.info-bloque h2 {
  color: #248b99;
  margin-bottom: 10px;
}

.info-bloque a {
  color: #248b99;
  text-decoration: none;
}

.banner-ubicacion {
  background-color: #49a5b2;
  background-image: url('https://via.placeholder.com/1600x450/49a5b2/ffffff?text=Ubicación+Ejido+El+Tuito'); /* si quieres imagen */
  background-size: cover;
  background-position: center;
  color: white;
  text-align: center;
  padding: 60px 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.banner-ubicacion h1 {
  font-size: 2.8rem;
  font-weight: bold;
  text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.5);
  margin-bottom: 10px;
}

.banner-ubicacion p {
  font-size: 1.2rem;
  max-width: 700px;
  margin: 0 auto;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
}



/* ================= CONTACTO ================ */

.banner-contacto {
  background-image: url('https://via.placeholder.com/1600x450/248b99/ffffff?text=Contáctanos');
  background-size: cover;
  background-position: center;
  height: 220px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: white;
  text-align: center;
  padding: 0 20px;
}

.banner-contacto h1 {
  font-size: 2.5rem;
  text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.6);
}

.banner-contacto p {
  font-size: 1.2rem;
  max-width: 700px;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

/* Autoridades */
.autoridades-ejido {
  padding: 40px 20px;
  background-color: #f0fbfb;
  text-align: center;
}

.autoridades-ejido h2 {
  margin-bottom: 30px;
  font-size: 2rem;
  color: #248b99;
}

.representantes {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.representante-card {
  background: white;
  border-radius: 10px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  padding: 20px;
  flex: 1 1 250px; /* mínimo 250px por tarjeta */
  max-width: 300px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 180px; /* fuerza misma altura */
}

.representante-card h3 {
  color: #248b99;
  margin-bottom: 5px;
}

.representante-card p,
.representante-card a {
  font-size: 0.95rem;
  margin: 5px 0;
  color: #333;
}

.representante-card a {
  color: #248b99;
  text-decoration: none;
}

.representante-card a:hover {
  text-decoration: underline;
}

.persona {
  background-color: white;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  max-width: 280px;
  text-align: left;
}

.persona h3 {
  margin-top: 0;
  color: #1a6d75;
}

.persona a {
  color: #248b99;
  text-decoration: none;
}

.persona a:hover {
  text-decoration: underline;
}

.formulario-contacto {
  background-color: #e6f7f8;
  padding: 50px 20px;
  text-align: center;
}

.formulario-contacto h2 {
  font-size: 1.8rem;
  color: #248b99;
  margin-bottom: 10px;
}

.formulario-contacto p {
  margin-bottom: 20px;
  font-size: 0.95rem;
  color: #444;
}

.formulario {
  max-width: 900px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  text-align: left;
}

.formulario label {
  font-weight: bold;
  margin-bottom: 6px;
  display: block;
}

.formulario input,
.formulario textarea {
  width: 100%;
  padding: 10px;
  font-size: 1rem;
  border: 1px solid #ccc;
  border-radius: 6px;
  box-sizing: border-box;
}

.formulario textarea {
  grid-column: span 2;
  height: 150px;
  resize: vertical;
}

.formulario button {
  grid-column: span 2;
  background-color: #248b99;
  color: white;
  padding: 12px;
  font-size: 1rem;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.formulario button:hover {
  background-color: #1a6d75;
}

/* Responsive */
@media (max-width: 768px) {
  .formulario {
    grid-template-columns: 1fr;
  }

  .formulario textarea,
  .formulario button {
    grid-column: span 1;
  }
}

/* Horarios */
.horario-contacto {
  padding: 40px 20px;
  text-align: center;
  background-color: #f9f9f9;
}

.horario-contacto h2 {
  margin-bottom: 10px;
  font-size: 1.6rem;
  color: #248b99;
}

/* Contacto directo */
.contacto-directo {
  background-color: #ffffff;
  padding: 40px 20px;
  text-align: center;
}

.contacto-directo h2 {
  margin-bottom: 20px;
  font-size: 1.6rem;
  color: #248b99;
}

.boton-contacto {
  display: inline-block;
  margin: 10px;
  background-color: #248b99;
  color: white;
  padding: 10px 18px;
  border-radius: 6px;
  text-decoration: none;
  transition: background 0.3s ease;
}

.boton-contacto:hover {
  background-color: #1a6d75;
}

/* Mapa */
.mapa-contacto {
  padding: 40px 20px;
  background-color: #f0fbfb;
  text-align: center;
}

.mapa-contacto h2 {
  margin-bottom: 20px;
  color: #248b99;
}


/* FORMULARIO CON DOS COLUMNAS CENTRADAS */
.formulario-tramite {
  background-color: #ffffff;
  padding: 40px 20px;
  border-top: 2px solid #248b99;
  display: flex;
  justify-content: center;
}

.formulario-tramite form {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  max-width: 900px;
  width: 100%;
  justify-content: center;
}

.formulario-tramite h2 {
  width: 100%;
  text-align: center;
  color: #248b99;
  font-size: 1.6rem;
  margin-bottom: 30px;
}

/* columnas laterales */
.form-col {
  flex: 1 1 45%;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.form-col label {
  font-weight: bold;
  font-size: 0.95rem;
}

.form-col input,
.form-col textarea,
.form-col select {
  padding: 10px;
  border-radius: 5px;
  border: 1px solid #ccc;
  font-size: 1rem;
  width: 100%;
  box-sizing: border-box;
}

.form-col textarea {
  height: 120px;
  resize: vertical;
}

/* Botón alineado al centro */
.boton-formulario {
  width: 100%;
  display: flex;
  justify-content: center;
  margin-top: 20px;
}

.boton-formulario button {
  background-color: #248b99;
  color: white;
  border: none;
  padding: 12px 24px;
  font-size: 1rem;
  border-radius: 6px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.boton-formulario button:hover {
  background-color: #1a6e76;
}

/* Responsive */
@media screen and (max-width: 768px) {
  .form-col {
    flex: 1 1 100%;
  }
}

.requisitos-constancia {
  background-color: #e6f7f8;
  padding: 40px 20px;
  text-align: center;
}

.requisitos-box {
  background: white;
  max-width: 800px;
  margin: 30px auto 0;
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  text-align: left;
}

.requisitos-box ul {
  padding-left: 20px;
  line-height: 1.6;
}

.requisitos-box li {
  margin-bottom: 10px;
}


.solicitud-tramite {
  padding: 40px 20px;
  text-align: center;
}

.desenfocado-box {
  max-width: 600px;
  margin: auto;
  padding: 40px;
  background-color: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(6px);
  border-radius: 12px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.boton-tramite {
  display: inline-block;
  margin-top: 20px;
  padding: 10px 20px;
  background-color: #248b99;
  color: white;
  text-decoration: none;
  border-radius: 6px;
  transition: background 0.3s ease;
}

.boton-tramite:hover {
  background-color: #1a6d75;
}

.formulario-tramite {
  background: #f2fbfc;
  padding: 60px 30px;
}

.contenedor-formulario {
  max-width: 1000px;
  margin: 0 auto;
  background: #fff;
  padding: 40px;
  border-radius: 12px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.formulario-tramite h2 {
  text-align: center;
  margin-bottom: 30px;
  color: #248b99;
}

.formulario-grid {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
}

.form-col {
  flex: 1;
  min-width: 300px;
  display: flex;
  flex-direction: column;
}

.form-col label {
  margin-top: 12px;
  font-weight: bold;
}

.form-col input {
  margin-top: 6px;
  padding: 10px;
  border-radius: 6px;
  border: 1px solid #ccc;
}

.boton-formulario {
  text-align: center;
  margin-top: 30px;
}

.boton-formulario button {
  background-color: #248b99;
  color: white;
  padding: 12px 30px;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.3s ease;
}

.boton-formulario button:hover {
  background-color: #1a6d75;
}


.oculto {
  display: none;
}


/* Sección del login */
.login-section {
  width: 100%;
  max-width: 400px;
  padding: 2rem;
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.login-container {
  display: flex;
  flex-direction: column;
}

h2 {
  text-align: center;
  margin-bottom: 1.5rem;
  color: #333;
}

/* Formularios */
.login-form .form-group {
  margin-bottom: 1rem;
}

label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
  color: #555;
}

input[type="email"],
input[type="password"] {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid #ccc;
  border-radius: 6px;
  box-sizing: border-box;
  transition: border-color 0.3s;
}

input:focus {
  border-color: #28a745;
  outline: none;
}

/* Botón */
.login-button {
  margin-top: 1rem;
  padding: 0.75rem;
  background-color: #28a745;
  color: white;
  border: none;
  border-radius: 6px;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s;
}

.login-button:hover {
  background-color: #218838;
}

/* Enlace de registro */
.registro-link {
  text-align: center;
  margin-top: 1rem;
}

.registro-link a {
  color: #28a745;
  text-decoration: none;
  font-weight: 500;
}

.registro-link a:hover {
  text-decoration: underline;
}

/* Mensajes de error */
.error-message {
  color: #d9534f;
  background-color: #f8d7da;
  padding: 0.75rem;
  border-radius: 6px;
  margin-bottom: 1rem;
  text-align: center;
  font-weight: 500;
}

/* Contenedor principal */


/* Sección del login */
.login-section {
  background-color: #ffffff;
  padding: 2.5rem;
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
  width: 100%;
  max-width: 420px;
}

.login-container {
  display: flex;
  flex-direction: column;
}

h2 {
  text-align: center;
  margin-bottom: 1.5rem;
  color: #1a202c;
}

/* Campos del formulario */
.form-group {
  margin-bottom: 1.2rem;
}

label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: #2d3748;
}

input[type="email"],
input[type="password"] {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid #cbd5e0;
  border-radius: 8px;
  background-color: #f7fafc;
  transition: border-color 0.3s;
}

input:focus {
  outline: none;
  border-color: #38a169;
  background-color: #ffffff;
}

/* Botón de ingresar */
.login-button {
  width: 100%;
  padding: 0.75rem;
  background-color: #38a169;
  color: white;
  border: none;
  border-radius: 8px;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s;
}

.login-button:hover {
  background-color: #2f855a;
}

/* Enlace de registro */
.registro-link {
  text-align: center;
  margin-top: 1.5rem;
  font-size: 0.95rem;
}

.registro-link a {
  color: #38a169;
  text-decoration: none;
  font-weight: 600;
}

.registro-link a:hover {
  text-decoration: underline;
}

/* Mensaje de error */
.error-message {
  color: #c53030;
  background-color: #fff5f5;
  border: 1px solid #feb2b2;
  padding: 0.75rem;
  border-radius: 8px;
  margin-bottom: 1rem;
  text-align: center;
}

