/* ========== TOP PROMO BAR ========== */
.top-promo-bar {
    background-color: var(--color-secundario);
    color: var(--color-blanco);
    text-align: center;
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
    font-weight: 500;
}

/* ========== TOP USER BAR ========== */
.top-user-bar {
  background-color: var(--color-fondo);
  border-bottom: 1px solid var(--color-gris);
  padding: 0.5rem 0;
  width: 100%;
}

.top-user-bar .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.user-reconocimiento {
  list-style: none;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0;
  padding: 0;
}

/* ====== Bloque principal ====== */
.google-rating {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.2rem;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  background: #fff;
  border-radius: 0.6rem;
  padding: 0.4rem 0.8rem;
  transition: all 0.25s ease;
  box-shadow: 0 0 0 transparent;
}

.google-rating:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

/* ====== Estructura interna ====== */
.rating-number {
  font-size: 2.2rem;
  font-weight: 800;
  color: #000;
  line-height: 1;
}

.rating-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.2rem;
  text-align: center;
}

.stars {
  display: flex;
  justify-content: center;
  gap: 0.15rem;
}

.stars img {
  width: 20px;
  height: 20px;
  filter: invert(79%) sepia(60%) saturate(614%) hue-rotate(359deg) brightness(98%) contrast(94%);
}

.reviews-text {
  font-size: 0.9rem;
  color: var(--color-texto);
  font-weight: 500;
}

.google-logo {
  width: 2.2rem;
  height: 2.2rem;
}


/* ========== HERO SECTION ========== */
.hero-desktop {
    display: block;
}

.hero-mobile {
    display: none;
}

.hero-banner {
    position: relative;
    width: 100vw;
    /* 100% del viewport */
    margin: 0;
    left: 50%;
    right: 50%;
    transform: translateX(-50%);
    padding: 0;
    overflow: hidden;
    /* evita barras horizontales */
}

.hero-image img {
    width: 100%;
    height: 600px;
    object-fit: cover;
    display: block;
    filter: brightness(0.5);
}

.hero-content {
    position: absolute;
    bottom: 25px;
    /* sobresale hacia abajo del banner */
    left: 0;
    width: 100%;
}

.hero-inner {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    gap: 20px;
}

.side-box {
    background: rgba(255, 255, 255, 0.95);
    padding: 15px;
    border-radius: 5px;
    border: 1px solid rgba(0, 0, 0, 0.10);
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 1;
    max-width: 250px;
    text-decoration: none;
    color: inherit;
    transition: transform 0.2s, box-shadow 0.2s;
}

.side-box:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.10);
}

/* Tracking-box icon */
.tracking-box {
    background: rgba(255, 255, 255, 0.95);
    padding: 25px;
    border-radius: 5px;
    border: 1px solid rgba(0, 0, 0, 0.15);
    max-width: 550px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    text-align: center;
    position: relative;
}

.tracking-box h2 {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    /* Espacio entre icono y texto */
    font-size: 1.5rem;
    margin: 0 0 15px 0;
}

.tracking-box .tracking-icon {
    width: 48px;
    height: 48px;
    object-fit: contain;
    margin-bottom: 10px;
}

/* Botón con lupa */
.tracking-form {
    display: flex;
    width: 100%;
}

.tracking-form input {
    flex: 1;
    padding: 10px 15px;
    border: 1px solid #2e2d2d;
    border-radius: 2px 0 0 2px;
    /* Redondeado solo lado izquierdo */
    font-size: 0.8rem;
    outline: none;
}

.tracking-form .btn-icon {
    background-color: #049e19;
    border: 1px solid #2e2d2d;
    border-left: none;
    /* Quita borde izquierdo para quedar pegado al input */
    border-radius: 0 2px 2px 0;
    /* Redondeado lado derecho */
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    padding: 0 12px;
}

.tracking-form .btn-icon img {
    width: 36px;
    height: 36px;
    object-fit: contain;
}


.icon-img {
    width: 48px;
    height: 48px;
    object-fit: contain;
}

/* Para que la siguiente sección no se solape */
.hero-banner+section {
    margin-top: 80px;
}

/* Leyenda en banner, centrada verticalmente a la derecha */
.hero-legend {
    position: absolute;
    right: 70px;
    top: 45%;
    transform: translateY(-50%);
    color: #ffffff;
    font-size: 2.55rem;
    font-weight: 500;
    text-align: center;
    max-width: 500px;
    text-shadow: 1.5px 1.5px 3.5px rgba(0, 0, 0, 0.6);
}



/* ========== SECCIONES ========== */
section {
    padding: 2rem 2rem;
}

.servicios,
.sobre,
.contacto {
    background-color: var(--color-blanco);
}

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

/* Contenedor principal de la sección servicios con el fondo conjunto */
.servicios {
    padding: 2rem 0 1rem 0;
    text-align: center;
    position: relative;
}

/* Mantener el título ocupando todo el ancho como antes */
#servicios .section-title {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 2.5rem;
    font-weight: 400;
    color: #1f2d3d;
    margin-bottom: 1rem;
    letter-spacing: 0.5px;
    background-color: var(--color-gris);
    padding: 1rem 0;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    position: relative;
    z-index: 1;
}

#servicios .section-title::after {
    content: "";
    display: block;
    width: 70px;
    height: 4px;
    margin: 8px auto 0;
    border-radius: 2px;
}

/* Complementos ajustados para heredar el fondo de la sección */
.complementos-wrapper {
    background-color: transparent;
    padding: 1rem 1rem;
    border-radius: 0;
    margin-bottom: 3rem;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1.5rem;
    background-color: #f9f9f9;
}


/* Menú circular */
.servicios-menu {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.menu-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: #f5f6f8;
    border: 2.5px solid transparent;
    border-radius: 50%;
    width: 120px;
    height: 120px;
    padding: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Segoe UI', sans-serif;
    font-size: 0.8rem;
    color: #1f2d3d;
}

.menu-item img {
    width: 40px;
    height: 40px;
    margin-bottom: 0.5rem;
}

.menu-item:hover,
.menu-item.active {
    background-color: #e9e7e7;
    color: #1f2d3d;
    border-color: #0475f6;
}

/* Tarjetas dinámicas */
.servicios-content {
    position: relative;
    max-width: 1280px;
    margin: 0 auto 4rem;
}

.servicio-card {
    display: none;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    transition: opacity 0.4s ease;
}

.servicio-card.active {
    display: flex;
    opacity: 1;
}

.servicio-texto {
    text-align: left;
    flex: 1;
}

.servicio-texto h3 {
    color: #1f2d3d;
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.servicio-texto p {
    color: #444;
    font-size: 1rem;
    margin-bottom: 1.5rem;
}

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

.servicio-btn {
    display: inline-block;
    background-color: var(--color-primario);
    color: var(--color-blanco);
    padding: 0.75rem 1.5rem;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 700;
    transition: background-color 0.3s ease-in-out, transform 0.1s ease-in-out;
}

.servicio-btn:hover {
    background-color: #002eab;
    color: #fff;
    transform: translateY(-2px);

}

.service-list {
    list-style: none;
    padding: 0;
}

.service-list li {
    position: relative;
    padding-left: 35px;
}

.service-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background-color: #ccc;
    /* círculo de fondo */
}

.service-list li::after {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 24px;
    height: 24px;
    background-color: #595959;
    /* color del ícono */
    mask: url('../../assets/icons/check-solid-full.svg') no-repeat center;
    -webkit-mask: url('../../assets/icons/check-solid-full.svg') no-repeat center;
    mask-size: 60%;
    -webkit-mask-size: 60%;
}



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

.complemento-card {
    background: #f9f9f9;
    border-radius: 6px;
    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;
}



/* ========== FORMULARIO DE CONTACTO ========== */

.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;
}

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

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

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

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

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

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

.btn-bolsa {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background-color: var(--color-primario);
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    padding: 0.8rem 1.5rem;
    border-radius: 0.4rem;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.btn-bolsa:hover {
    background-color: #002fa5;
    transform: translateY(-2px);
    color: #fff;
}

.btn-bolsa .icon-btn {
    width: 16px;
    height: 16px;
    vertical-align: middle;
    transition: transform 0.3s ease;
    filter: brightness(0) invert(1);
}

.btn-bolsa:hover .icon-btn {
    transform: translateX(3px) translateY(-2px);
    /* pequeño movimiento al pasar */
}

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

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

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

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

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

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

.app-highlight {
    font-weight: 600;
    color: var(--color-primario);
    margin-bottom: 1.5rem;
}

.app-downloads {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn-app {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background-color: var(--color-primario);
    color: #fff;
    text-decoration: none;
    padding: 0.7rem 1.2rem;
    border-radius: 0.4rem;
    font-weight: 600;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.btn-app:hover {
    background-color: #002fa5;
    transform: translateY(-2px);
    color: #fff;
}

.btn-app .icon-app {
    width: 25px;
    height: 25px;
    vertical-align: middle;
    filter: brightness(0) invert(1);
}


/* ========== 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: 1280px;
    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;
}