.seccion-pasaporte {
    position: relative;
    height: 100%;
    overflow: hidden;
}

.video-fondo {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 85%;
    object-fit: cover;
    z-index: 0;
}

.contenido {
    position: relative;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
    height: 100%;
    transform: translateY(12%);
}

.caja-texto {
    background: white;
    padding: 100px 30px 100px 50px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    max-width: 100%;
    max-height: 100%;
    transform: translateX(5%);
}

.caja-texto h2 {
    font-size: 40px;
    margin-bottom: 10px;
    line-height: 1.4;
}

.caja-texto hr {
    border: none;
    border-bottom: 2px solid #d5c87f;
    margin: 16px 0;
    width: 80%;
}

.caja-texto p {
    font-size: 25px;
    color: #555;
}

.imagen-pasaporte {
    max-height: 600px;
    object-fit: contain;
    transform: translateX(-10%);
}

/* =========================================== =========================================== */


.ofrecemos {
    text-align: center;
    padding: 60px 20px;
    background: white;
}

.ofrecemos h2 {
    font-size: 48px;
    margin-bottom: 40px;
    font-weight: bold;
}

.servicios {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.servicio {
    background: white;
    padding: 20px 10px 20px 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    width: 300;
    margin: 0px 40px 0px 40px;
}

.servicio img {
    width: 200px;
    height: auto;
    margin-bottom: 12px;
}

.servicio p {
    font-size: 18px;
    font-weight: 400;
    margin: 0;
}




.carousel-espana {
    max-width: 100%;
    margin: auto;
    position: relative;
    text-align: center;
}

.slider {
    position: relative;
    overflow: hidden;
}

.slide {
    display: none;
    animation: fade 0.8s ease-in-out;
    position: relative;
}

.slide.active {
    display: block;
}

.slide img {
    width: 100%;
    height: auto;
}

.titulo {
    position: absolute;
    top: 0px;
    left: 10%;
    background: white;
    padding: 10px 20px;
    font-size: 28px;
    font-weight: bold;
}

.descripcion {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 30px;
    font-size: 16px;
    color: #777;
    text-align: left;
    max-width: 800px;
    margin: auto;
}

.descripcion .icono {
    width: 80px;
    height: 80px;
}

.credit {
    position: absolute;
    top: 0%;
    right: 20%;
    background: white;
    font-size: 14px;
    padding: 5px 10px;
}

.paginacion {
    display: flex;
    justify-content: center;
    margin: 10px 0;
    gap: 10px;
}

.paginacion .dot {
    width: 10px;
    height: 10px;
    background: #ccc;
    border-radius: 50%;
    cursor: pointer;
}

.paginacion .dot.active {
    background: #a52424;
}

@keyframes fade {
    from {
        opacity: 0;
        transform: scale(1.02);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}



.modal-container {
    display: none;
    position: fixed;
    z-index: 1000;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    justify-content: center;
    align-items: center;
}

.modal {
    position: relative;
    background: white;
    max-width: 800px;
    width: 90%;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.modal-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.modal-texto {
    padding: 20px;
}

.modal-texto p {
    text-align: justify;
}

.modal-texto .tags span {
    display: inline-block;
    padding: 4px 10px;
    border: 1px solid #aaa;
    border-radius: 4px;
    margin: 5px;
    cursor: pointer;
}

.modal-texto .tags .active {
    background: #a32424;
    color: white;
}

.tags {
    width: 100%;
    display: flex;
    justify-content: center;
    gap: 10px;
    padding: 10px 0;
    box-shadow: 0 -4px 8px rgba(0, 0, 0, 0.1);
    /* sombra arriba */
    background: white;
    margin-top: 20px;
}

.modal-texto .info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 20px;
}

.modal-texto .info div {
    text-align: center;
}

.modal-texto button {
    background: #e1d9a1;
    border: none;
    padding: 10px 20px;
    cursor: pointer;
    border-radius: 4px;
    font-weight: bold;
}

.flecha {
    position: absolute;
    top: 50%;
    font-size: 72px;
    color: white;
    cursor: pointer;
    transform: translateY(-50%);
    user-select: none;
    z-index: 100;
}

.titulo-modal-sellos {
    position: absolute;
    left: 10%;
    top: 30%;
    font-size: 36px;
    color: white;
    text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.6);
}

.flecha.izq {
    left: 20px;
}

.flecha.der {
    right: 20px;
}

.cerrar {
    position: absolute;
    top: 10px;
    right: 10px;
    cursor: pointer;
    font-size: 22px;
    font-weight: bold;
    color: white;
    z-index: 100;
}

.servicio img {
    transition: transform 0.3s ease;
}

.servicio img:hover {
    transform: scale(1.08) rotate(-2deg);
}


.modal-slide {
    opacity: 0;
    transition: opacity 0.5s ease;
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
}

.modal-slide.active {
    opacity: 1;
    display: block;
    position: relative;
}

/* =========================================== =========================================== */

.form-row {
  display: flex;
  gap: 20px;
  justify-content: center;
  margin-bottom: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  width: 300px;
}

.form-group label {
  text-align: center;
  margin-bottom: 5px;
  font-family: sans-serif;
  font-size: 14px;
  color: #222;
}

.form-group input[type="text"] {
  padding: 12px;
  border: 1px solid #000;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  font-size: 16px;
  width: 100%;
  box-sizing: border-box;
}
.form-row {
  display: flex;
  gap: 20px;
  justify-content: center;
  margin-bottom: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  width: 300px;
}

.form-group label {
  text-align: center;
  margin-bottom: 5px;
  font-family: sans-serif;
  font-size: 14px;
  color: #222;
}

.form-group input[type="date"],
.form-group select {
  padding: 12px;
  border: 1px solid #000;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  font-size: 16px;
  width: 100%;
  box-sizing: border-box;
  appearance: none;
  background-repeat: no-repeat;
  background-position: right 10px center;
  background-size: 14px;
}

.form-group select {
  background-image: url("data:image/svg+xml;utf8,<svg fill='black' height='16' viewBox='0 0 24 24' width='16' xmlns='http://www.w3.org/2000/svg'><path d='M7 10l5 5 5-5z'/></svg>");
}

.text-formulario{
    text-align: center;
    font-size: 40px;
    font-weight: bold;
    margin-bottom: 20px;
    margin-top: 50px;
}
.form-row {
  display: flex;
  gap: 20px;
  justify-content: center;
  margin-bottom: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  width: 300px;
}

.form-group label {
  text-align: center;
  margin-bottom: 5px;
  font-family: sans-serif;
  font-size: 14px;
  color: #222;
}

select,
input[type="text"] {
  padding: 12px;
  border: 1px solid #000;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  font-size: 16px;
  width: 100%;
  box-sizing: border-box;
  appearance: none;
  background-repeat: no-repeat;
  background-position: right 10px center;
  background-size: 14px;
}

select {
  background-image: url("data:image/svg+xml;utf8,<svg fill='black' height='16' viewBox='0 0 24 24' width='16' xmlns='http://www.w3.org/2000/svg'><path d='M7 10l5 5 5-5z'/></svg>");
}

/* País editable */
.dropdown-pais {
  position: relative;
}

.dropdown-pais input {
  padding: 12px;
  border: 1px solid #000;
  font-size: 16px;
  width: 100%;
}

.dropdown-pais .icon {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
}

.lista-paises {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: white;
  border: 1px solid #000;
  z-index: 999;
  max-height: 150px;
  overflow-y: auto;
}

.lista-paises div {
  padding: 8px;
  cursor: pointer;
}

.lista-paises div:hover {
  background-color: #eee;
}

.input-telefono {
  display: flex;
  align-items: center;
}

.input-telefono span {
  background: white;
  padding: 12px;
  border: 1px solid #000;
  border-right: none;
  font-size: 16px;
  white-space: nowrap;
}

.input-telefono input {
  padding: 12px;
  border: 1px solid #000;
  border-left: none;
  font-size: 16px;
  flex: 1;
}
.formulario-contacto {
  max-width: 850px;
  margin: 40px auto;
  font-family: sans-serif;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.formulario-contacto .form-group {
  display: flex;
  flex-direction: column;
  width: 100%;
}

.formulario-contacto label {
  margin-bottom: 6px;
  font-size: 14px;
  color: #222;
  text-align: left;
}

.formulario-contacto select,
.formulario-contacto textarea {
  padding: 12px;
  border: 1px solid #000;
  font-size: 16px;
  background-color: white;
  font-family: inherit;
  appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg fill='black' height='16' viewBox='0 0 24 24' width='16' xmlns='http://www.w3.org/2000/svg'><path d='M7 10l5 5 5-5z'/></svg>");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 14px;
}

.formulario-contacto textarea {
  resize: vertical;
  min-height: 100px;
}

.btn-contacto {
  padding: 14px;
  border: 1px solid #000;
  font-size: 16px;
  background: white;
  font-weight: 500;
  cursor: pointer;
}
