/* ========== BOTONES ========== */
.btn-primary {
  background-color: var(--color-primario);
  color: var(--color-blanco);
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  font-weight: 600;
  text-transform: uppercase;
  transition: background-color 0.3s ease;
  border: none;
}

.btn-primary:hover {
  background-color: var(--color-secundario);
  color: var(--color-blanco);
}

/* ========== TARJETAS DE SERVICIO ========== */

.servicios {
  padding: 4rem 2rem;
  background-color: #ffffff;
  /* fondo limpio para toda la sección */
  text-align: center;
}

#servicios .section-title {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  /* elegante y moderno */
  font-size: 2.5rem;
  /* más grande que antes */
  font-weight: 400;
  /* más delgado y estilizado */
  color: #1f2d3d;
  /* gris oscuro profundo, muy visible */
  margin-bottom: 2rem;
  display: inline-block;
  position: relative;
  letter-spacing: 0.5px;
  /* espacio ligero entre letras */
}

/* línea decorativa debajo del título */
#servicios .section-title::after {
  content: "";
  display: block;
  width: 70px;
  /* un poco más larga que en tarjetas */
  height: 4px;
  background: #1f2d3d;
  /* mismo color que el título */
  margin-top: 8px;
  border-radius: 2px;
}


.servicio-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 2rem 0;
  gap: 2rem;

  /* caja propia */
  background-color: #f9f9f9;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.servicio-card img {
  width: 30%;
  border-radius: 12px;
  object-fit: cover;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.servicio-texto h3 {
  font-size: 1.5rem;
  /* tamaño destacado */
  font-weight: 600;
  /* más ligero que bold */
  color: #2c3e50;
  /* gris oscuro elegante */
  margin-bottom: 0.8rem;
  /* espacio con el párrafo */
  letter-spacing: 0.5px;
  /* un poquito de aire */
}

.servicio-texto p {
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.6;
  /* mejor legibilidad */
  color: #555;
  /* gris medio */
}

.servicio-card.right {
  flex-direction: row;
}

.servicio-card.left {
  flex-direction: row-reverse;
}


.servicios-complementos {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}

.complemento-card {
  background: #f9f9f9;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
}

.complemento-card:hover {
  transform: translateY(-5px);
}

.complemento-img img {
  width: 100%;
  height: 150px;
  object-fit: cover;
  display: block;
}

.complemento-texto {
  padding: 1rem;
  text-align: center;
}

.complemento-texto h4 {
  font-size: 1.2rem;
  font-weight: 600;
  color: #2c3e50;
  margin-bottom: 0.5rem;
}

.complemento-texto p {
  font-size: 0.95rem;
  color: #555;
  line-height: 1.4;
}

/* Responsive */
@media (max-width: 992px) {
  .servicios-complementos {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .servicios-complementos {
    grid-template-columns: 1fr;
  }
}




/* ========== FORMULARIO DE CONTACTO ========== */
.formulario {
  max-width: 600px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.formulario input,
.formulario textarea {
  width: 100%;
  padding: 1rem;
  border: 1px solid var(--color-gris);
  border-radius: 6px;
  resize: vertical;
  font-size: 1rem;
}

.formulario button {
  align-self: flex-end;
}

.bullet-benefits li {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.5rem;
  font-size: 1rem;
  line-height: 1.5;
}

.icon-circle {
  background-color: var(--color-secundario);
  color: white;
  width: 48px;
  height: 48px;
  min-width: 48px;
  min-height: 48px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.25rem;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.sobre {
  background-color: var(--color-gris);
  color: var(--color-texto);
  padding: 3rem 2rem;
  border-radius: 0.5rem;
  margin-bottom: 3rem;
}

.sobre-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  gap: 2rem;
  text-align: left;
}

.sobre-texto {
  flex: 1 1 55%;
}

.sobre-imagen {
  flex: 1 1 40%;
  display: flex;
  justify-content: center;
}

.sobre-imagen img {
  max-width: 100%;
  border-radius: 0.5rem;
}

.sobre-text {
  font-size: 1rem;
  line-height: 1.5;
  color: #444;
  margin-bottom: 1.2rem;
}

.section-title {
  font-family: var(--fuente-secundaria);
  font-weight: 600;
  font-size: 2rem;
  color: var(--color-primario);
  margin-bottom: 1.5rem;
}



/* ========== verde ========== */

.politica-verde {
  background-color: #e6f4ea;
  /* verde muy suave */
  color: #2c6f2c;
  /* verde oscuro */
  padding: 2rem 1rem;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.politica-verde .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

.politica-content {
  display: flex;
  align-items: center;
  gap: 20px;
  max-width: 900px;
  margin: 0 auto;
  text-align: left;
}

.icono-verde {
  flex-shrink: 0;
  background-color: #6fcd27;
  /* verde limón del logo */
  color: white;
  border-radius: 50%;
  padding: 20px;
  font-size: 36px;
  box-shadow: 0 4px 8px rgba(111, 205, 39, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
}

.texto-verde h3 {
  margin-bottom: 0.5rem;
  font-size: 1.6rem;
  font-weight: 700;
}

.texto-verde p {
  font-size: 1.1rem;
  line-height: 1.5;
}

.resenas-google {
  background-color: #f9f9f9;
  padding: 3rem 1rem;
}

/* ========== resenas ========== */

.resenas-list {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  justify-content: center;
  max-width: 1000px;
  margin: 0 auto;
}

/* ========= SELECCIÓN DE IDIOMA CON BANDERAS ========= */
.custom-lang-selector {
  position: relative;
  margin-left: auto;
  margin-right: 1rem;
  cursor: pointer;
  font-size: 0.95rem;
}

.dropdown {
  position: relative;
  user-select: none;
}

.selected-lang {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0.6rem;
  background: white;
  border-radius: 6px;
  border: 1px solid #ccc;
}

.flag-icon {
  width: 20px;
  height: 14px;
  object-fit: cover;
}

.lang-options {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  background: white;
  border: 1px solid #ccc;
  border-radius: 6px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  list-style: none;
  padding: 0;
  margin: 0;
  display: none;
  z-index: 99;
  width: max-content;
  max-width: 200px;
  /* <-- limita el ancho máximo para evitar gigantismo */
  overflow-wrap: break-word;
  /* evita estirar por texto largo */
}


.lang-options.show {
  display: block;
}

.lang-options li {
  padding: 0.4rem 0.8rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
}

.lang-options li:hover {
  background-color: #f0f0f0;
}

/*datenschutz*/
.proteccion-datos {
  padding: 3rem 1rem;
  background-color: #f9f9f9;
  color: #333;
}

.proteccion-datos .section-title {
  margin-bottom: 1rem;
}

.proteccion-content p {
  margin-bottom: 1rem;
  line-height: 1.6;
}

.text-justify {
  text-align: justify;
  text-justify: inter-word;
  font-size: 1rem;
  line-height: 1.8;
  color: #2c2c2c;
  margin-bottom: 1.5em;
  hyphens: auto;
}

ul.list-puntos {
  list-style-type: disc;
  /* Viñetas estándar tipo punto */
  padding-left: 1.5em;
  /* Espaciado desde el margen izquierdo */
  margin: 1em 0;
  color: #333;
  /* Texto en gris oscuro para buena legibilidad */
  font-size: 1rem;
  line-height: 1.6;
}

ul.list-puntos-rot {
  list-style-type: disc;
  /* Viñetas estándar tipo punto */
  padding-left: 1.5em;
  /* Espaciado desde el margen izquierdo */
  margin: 1em 0;
  color: #c10303;
  /* Texto en gris oscuro para buena legibilidad */
  font-size: 1rem;
  line-height: 1.6;
}


ul.list-puntos li {
  margin-bottom: 0.75em;
  /* Espaciado entre elementos de la lista */
}

/*versicherung*/

.versicherung {
  padding: 3rem 1rem;
  background-color: #f8f9fa;
  border-top: 2px solid #ccc;
}

.versicherung h2,
.versicherung h3 {
  color: #2a2a2a;
}

.versicherung ul {
  list-style-type: disc;
  margin-left: 2rem;
  padding-left: 0;
}

.versicherung li {
  margin-bottom: 0.5rem;
}