
/* =========================
   CONFIGURACIÓN GENERAL
========================= */

:root {
  --color-primario: #0b3c8a;
  --color-secundario: #37762e;
  --color-alternativo: #1d7cff;
  --color-texto: #14181b;
  --color-texto-secundario: #57636c;
  --color-fondo: #ffffff;
  --color-borde: #e5e7eb;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 82px;
}

body {
  font-family: Arial, Helvetica, sans-serif;
  color: var(--color-texto);
  background-color: var(--color-fondo);
}

a {
  text-decoration: none;
}


/* =========================
   HEADER
========================= */

.header {
  width: 100%;
  height: 82px;
  background-color: #ffffff;
  border-bottom: 1px solid var(--color-borde);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header__contenedor {
  width: min(1200px, 92%);
  height: 100%;
  margin: 0 auto;

  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header__logo {
  display: flex;
  align-items: center;
}

.header__logo img {
  display: block;
  width: 120px;
  height: auto;
  object-fit: contain;
}

.header__nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.header__nav > a {
  color: var(--color-texto);
  font-size: 15px;
  font-weight: 600;
  transition: color 0.2s ease;
}

.header__nav > a:hover {
  color: var(--color-primario);
}

.header__nav .header__boton {
  padding: 12px 21px;
  color: #ffffff;
  background-color: var(--color-primario);
  border-radius: 10px;
  transition:
    background-color 0.2s ease,
    transform 0.2s ease;
}

.header__nav .header__boton:hover {
  color: #ffffff;
  background-color: var(--color-alternativo);
  transform: translateY(-2px);
}


/* Botón de menú móvil */

.header__menu-boton {
  display: none;
  width: 42px;
  height: 42px;
  padding: 8px;
  background: transparent;
  border: 0;
  cursor: pointer;
}

.header__menu-boton span {
  display: block;
  width: 100%;
  height: 3px;
  margin: 5px 0;
  background-color: var(--color-primario);
  border-radius: 5px;
}

/* =========================
   PORTADA PRINCIPAL
========================= */

.portada {
  min-height: calc(100vh - 40px);
  min-height: calc(100dvh - 40px);

  display: flex;
  align-items: center;

  background-image:
    linear-gradient(
      75deg,
      rgba(255, 255, 255, 1) 0%,
      rgba(255, 255, 255, 0.96) 20%,
      rgba(255, 255, 255, 0.60) 32%,
      rgba(255, 255, 255, 0) 52%
    ),
    url("../imagenes/portada-chambitapp.png");

  background-size: cover, auto 93%;
  background-position: center, right calc(50% - 20px);
  background-repeat: no-repeat;
}

.portada__contenedor {
  width: min(1200px, 92%);
  margin: 0 auto;
  padding: 70px 15px;
}

.portada__contenido {
  width: 100%;
  max-width: 590px;
  transform: none;
}

.portada__etiqueta {
  display: inline-block;
  margin-bottom: 20px;
  padding: 9px 15px;

  color: var(--color-secundario);
  background-color: rgba(57, 181, 74, 0.12);

  border: 2px solid rgba(57, 181, 74, 0.25);
  border-radius: 50px;

  font-size: 20px;
  font-weight: 750;
}

.portada h1 {
  margin-bottom: 22px;

  color: var(--color-primario);
  font-size: clamp(42px, 5vw, 70px);
  line-height: 1.05;
  letter-spacing: -2.5px;
}

.portada p {
  max-width: 540px;
  margin-bottom: 32px;

  color: black ;
  font-size: 19px;
  line-height: 1.7;
}

.portada__tiendas {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.tienda {
  min-width: 190px;
  padding: 12px 17px;

  display: flex;
  align-items: center;
  gap: 12px;

  color: #ffffff;
  background-color: #14181b;
  border: 1px solid #14181b;
  border-radius: 11px;

  cursor: not-allowed;
  opacity: 0.85;
  user-select: none;
}

.tienda__icono {
  width: 30px;
  height: 30px;

  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.tienda__icono svg {
  width: 27px;
  height: 27px;
  display: block;
  fill: #ffffff;
}

.tienda__icono--apple svg {
  width: 29px;
  height: 29px;
}

.tienda div {
  display: flex;
  flex-direction: column;
}

.tienda small {
  margin-bottom: 1px;
  color: #d7dce1;
  font-size: 11px;
}

.tienda strong {
  color: #ffffff;
  font-size: 17px;
}

/* =========================
   SECCIÓN CÓMO FUNCIONA
========================= */

.como-funciona {
  padding: 20px 0 85px;
  background-color: #ffffff;
}

.como-funciona__contenedor {
  width: min(1200px, 92%);
  margin: 0 auto;
}

.como-funciona__encabezado {
  max-width: 680px;
  margin: 0 auto 52px;
  text-align: center;
}

.como-funciona__encabezado span {
  display: inline-block;
  margin-bottom: 14px;
  padding: 8px 15px;

  color: var(--color-secundario);
  background-color: rgba(57, 181, 74, 0.11);
  border: 2px solid rgba(57, 181, 74, 0.23);
  border-radius: 50px;

  font-size: 20px;
  font-weight: 700;
}

.como-funciona__encabezado h2 {
  margin-bottom: 20px;
  color: var(--color-primario);
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.12;
}

.como-funciona__encabezado p {
  color: black;
  font-size: 19px;
  line-height: 1.8;
}

.como-funciona__pasos {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.paso {
  position: relative;
  padding: 36px 28px;

  background-color: #ffffff;
  border: 1px solid var(--color-borde);
  border-radius: 18px;

  box-shadow: 0 12px 35px rgba(11, 60, 138, 0.08);
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    border-color 0.25s ease;
}

.paso:hover {
  transform: translateY(-7px);
  border-color: rgba(57, 181, 74, 0.35);
  box-shadow: 0 18px 40px rgba(11, 60, 138, 0.13);
}

.paso__numero {
  position: absolute;
  top: 18px;
  right: 20px;

  color: lightblue;
  font-size: 47px;
  font-weight: 800;
  line-height: 1;
}

.paso__icono {
  width: 62px;
  height: 62px;
  margin-bottom: 25px;

  display: grid;
  place-items: center;

  background-color: rgba(57, 181, 74, 0.12);
  border-radius: 16px;

  font-size: 29px;
}

.paso h3 {
  margin-bottom: 13px;
  color: var(--color-primario);
  font-size: 21px;
}

.paso p {
  color: var(--color-texto-secundario);
  font-size: 16px;
  line-height: 1.65;
}

/* =========================
   SERVICIOS
========================= */

.servicios {
  padding: 20px 0 80px;
  background-color: white;
}

.servicios__contenedor {
  width: min(1200px, 92%);
  margin: 0 auto;
}

.servicios__encabezado {
  max-width: 690px;
  margin: 0 auto 45px;
  text-align: center;
}

.servicios__encabezado span {
  display: inline-block;
  margin-bottom: 14px;
  padding: 8px 15px;

  color: var(--color-secundario);
  background-color: #e8f7eb;
  border: 2px solid #b9e4c1;
  border-radius: 50px;

  font-size: 20px;
  font-weight: 700;
}

.servicios__encabezado h2 {
  margin-bottom: 18px;
  color: var(--color-primario);
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.25;
}

.servicios__encabezado p {
  color: black;
  font-size: 19px;
  line-height: 1.8;
}

.servicios__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.servicio {
  min-height: 215px;
  padding: 27px 24px;

  border: 1px solid transparent;
  border-radius: 18px;

  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

.servicio:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 35px rgba(11, 60, 138, 0.12);
}

.servicio__icono {
  width: 68px;
  height: 68px;
  margin-bottom: 20px;
  padding: 8px;

  display: grid;
  place-items: center;

  background-color: rgba(255, 255, 255, 0.72);
  border-radius: 16px;

  font-size: 29px;
}

.servicio__icono img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
}

.servicio h3 {
  margin-bottom: 9px;
  color: var(--color-primario);
  font-size: 20px;
}

.servicio p {
  color: #4d5964;
  font-size: 15px;
  line-height: 1.6;
}

/* Colores de las tarjetas */

.servicio--jardineria {
  background-color: #e9f7e9;
  border-color: #c6e8c8;
}

.servicio--tecnologia {
  background-color: #e8f2ff;
  border-color: #c3daf7;
}

.servicio--albanileria {
  background-color: #fff4dc;
  border-color: #f1dca7;
}

.servicio--automotriz {
  background-color: #edf0f5;
  border-color: #d4dae3;
}

.servicio--limpieza {
  background-color: #e8f8f7;
  border-color: #bfe7e4;
}

.servicio--belleza {
  background-color: #fff0f5;
  border-color: #f3cbd8;
}

.servicio--hogar {
  background-color: #f2edff;
  border-color: #d9cef7;
}

.servicio--transporte {
  background-color: #fff1e6;
  border-color: #f1d1b8;
}

.servicios__mensaje {
  margin-top: 58px;
  color: black ;
  font-size: 19px;
  font-weight: 400;
  text-align: center;
}

/* =========================
   RECOMENDACIONES
========================= */

.recomendaciones {
  padding:  20px 0 85px;
  background: white;
}

.recomendaciones__contenedor {
  width: min(1200px, 92%);
  margin: 0 auto;
}

.recomendaciones__encabezado {
  margin-bottom: 38px;

  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 30px;
}

.recomendaciones__encabezado > div {
  max-width: 680px;
}

.recomendaciones__encabezado div > span {
  display: inline-block;
  margin-bottom: 20px;
  padding: 9px 15px;

  color: var(--color-secundario);
  background-color: rgba(57, 181, 74, 0.12);
  border: 2px solid rgba(57, 181, 74, 0.25);
  border-radius: 50px;

  font-size: 20px;
  font-weight: 750;
}

.recomendaciones__encabezado h2 {
  margin-bottom: 13px;
  color: var(--color-primario);
  font-size: clamp(32px, 4vw, 46px);
}

.recomendaciones__encabezado p {
  color: black ;
  font-size: 19px;
  line-height: 1.65;
}

.recomendaciones__encabezado > a {
  flex-shrink: 0;
  padding: 12px 20px;

  color: var(--color-primario);
  background-color: #ffffff;
  border: 1px solid rgba(11, 60, 138, 0.18);
  border-radius: 10px;

  font-size: 14px;
  font-weight: 700;

  transition:
    color 0.2s ease,
    background-color 0.2s ease;
}

.recomendaciones__encabezado > a:hover {
  color: #ffffff;
  background-color: var(--color-primario);
}

.recomendaciones__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 21px;
}

.recomendacion {
  overflow: hidden;
  border-radius: 18px;
  border: 1px solid rgba(11, 60, 138, 0.1);

  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

.recomendacion:hover {
  transform: translateY(-7px);
  box-shadow: 0 17px 38px rgba(11, 60, 138, 0.14);
}

.recomendacion__imagen {
  width: 100%;
  height: 170px;
  overflow: hidden;
  background-color: #eef2f6;
}

.recomendacion__imagen img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.recomendacion:hover .recomendacion__imagen img {
  transform: scale(1.05);
}

.recomendacion__imagen span {
  font-size: 64px;
}

.recomendacion__contenido {
  padding: 20px;
}

.recomendacion__categoria {
  color: var(--color-secundario);
  font-size: 13px;
  font-weight: 700;
}

.recomendacion h3 {
  min-height: 48px;
  margin: 6px 0 17px;

  color: var(--color-primario);
  font-size: 19px;
  line-height: 1.25;
}

/* Colores */

.recomendacion--azul {
  background-color: #e8f2ff;
}

.recomendacion--verde {
  background-color: #e7f7eb;
}

.recomendacion--naranja {
  background-color: #fff0df;
}

.recomendacion--morado {
  background-color: #f1ebff;
}

.recomendaciones__aviso {
  margin-top: 54px;
  color: black ;
  font-size: 18px;
  text-align: center;
}


/* =========================
   SEGURIDAD
========================= */

.seguridad {
  padding: 20px 0 90px;
  background-color: #ffffff;
}

.seguridad__contenedor {
  width: min(1200px, 92%);
  margin: 0 auto;

  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 80px;
}

.seguridad__contenido {
  max-width: 590px;
}

.seguridad__etiqueta {
  display: inline-block;
  margin-bottom: 16px;
  padding: 8px 15px;

  color: var(--color-secundario);
  background-color: rgba(57, 181, 74, 0.11);
  border: 2px solid rgba(57, 181, 74, 0.23);
  border-radius: 50px;

  font-size: 20px;
  font-weight: 700;
}

.seguridad__contenido h2 {
  margin-bottom: 20px;
  color: var(--color-primario);
  font-size: clamp(34px, 4vw, 50px);
  line-height: 1.12;
}

.seguridad__contenido > p {
  margin-bottom: 28px;
  color: black ;
  font-size: 19px;
  line-height: 1.7;
}

.seguridad__lista {
  display: grid;
  gap: 16px;
  list-style: none;
}

.seguridad__lista li {
  display: flex;
  align-items: flex-start;
  gap: 12px;

  color: var(--color-texto);
  font-size: 16px;
  line-height: 1.55;
}

.seguridad__lista li span {
  flex-shrink: 0;

  width: 25px;
  height: 25px;

  display: grid;
  place-items: center;

  color: #ffffff;
  background-color: var(--color-secundario);
  border-radius: 50%;

  font-size: 14px;
  font-weight: 800;
}

/* =======================
   PANEL DERECHO
========================*/

.seguridad__panel {
  position: relative;
  padding: 48px 42px;

  color: #ffffff;
  background:
    linear-gradient(
      145deg,
      var(--color-primario),
      #1763c6
    );

  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 22px 55px rgba(11, 60, 138, 0.22);
}

.seguridad__panel::before {
  content: "";
  position: absolute;
  top: -90px;
  right: -80px;

  width: 230px;
  height: 230px;

  background-color: rgba(255, 255, 255, 0.08);
  border-radius: 50%;
}

.seguridad__escudo {
  position: relative;
  width: 76px;
  height: 76px;
  margin-bottom: 26px;

  display: grid;
  place-items: center;

  background-color: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 20px;
}

.seguridad__escudo svg {
  width: 43px;
  height: 43px;
  fill: none;
  stroke: #ffffff;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.seguridad__panel h3 {
  position: relative;
  margin-bottom: 14px;
  font-size: 26px;
  line-height: 1.25;
}

.seguridad__panel > p {
  position: relative;
  color: rgba(255, 255, 255, 0.8);
  font-size: 16px;
  line-height: 1.7;
}

.seguridad__datos {
  position: relative;
  margin-top: 32px;

  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 13px;
}

.seguridad__datos div {
  padding: 17px;

  display: flex;
  flex-direction: column;
  gap: 4px;

  background-color: rgba(255, 255, 255, 0.11);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 13px;
}

.seguridad__datos strong {
  color: #ffffff;
  font-size: 15px;
}

.seguridad__datos span {
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
}

/* Cuadro Azul Interacción */

.seguridad__panel {
  cursor: default;

  transition:
    transform 0.35s ease,
    box-shadow 0.35s ease;
}

.seguridad__panel:hover {
  transform: translateY(-9px);

  box-shadow:
    0 30px 65px rgba(11, 60, 138, 0.3);
}

/* Reflejo Sobre El Panel */

.seguridad__panel::after {
  content: "";
  position: absolute;
  top: 0;
  left: -140%;

  width: 90%;
  height: 100%;

  background: linear-gradient(
    110deg,
    transparent 20%,
    rgba(255, 255, 255, 0.12) 50%,
    transparent 80%
  );

  transform: skewX(-20deg);
  transition: left 0.7s ease;
  pointer-events: none;
}

.seguridad__panel:hover::after {
  left: 150%;
}

/* Reacción Del Escudo */

.seguridad__escudo {
  transition:
    transform 0.35s ease,
    background-color 0.35s ease;
}

.seguridad__panel:hover .seguridad__escudo {
  transform: rotate(-5deg) scale(1.08);
  background-color: rgba(255, 255, 255, 0.22);
}

.seguridad__escudo svg {
  transition: transform 0.35s ease;
}

.seguridad__panel:hover .seguridad__escudo svg {
  transform: scale(1.08);
}

/* Interacción Cuadros Inferiores */

.seguridad__datos div {
  cursor: pointer;

  transition:
    transform 0.25s ease,
    background-color 0.25s ease,
    border-color 0.25s ease;
}

.seguridad__datos div:hover {
  transform: translateY(-5px);
  background-color: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.32);
}

/* =========================
   PRÓXIMO LANZAMIENTO
========================= */

.lanzamiento {
  position: relative;
  padding: 90px 0;
  overflow: hidden;

  color: #ffffff;
  background:
    linear-gradient(
      135deg,
      #073679 0%,
      #0b4fa6 55%,
      #1670d2 100%
    );
}

.lanzamiento::before {
  content: "";
  position: absolute;
  top: -180px;
  right: -100px;

  width: 480px;
  height: 480px;

  background-color: rgba(255, 255, 255, 0.06);
  border-radius: 50%;
}

.lanzamiento::after {
  content: "";
  position: absolute;
  bottom: -150px;
  left: -100px;

  width: 350px;
  height: 350px;

  background-color: rgba(57, 181, 74, 0.12);
  border-radius: 50%;
}

.lanzamiento__contenedor {
  position: relative;
  z-index: 1;

  width: min(1200px, 92%);
  margin: 0 auto;

  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 70px;
}

.lanzamiento__contenido {
  max-width: 670px;
}

.lanzamiento__etiqueta {
  display: inline-block;
  margin-bottom: 18px;
  padding: 8px 15px;

  color: #ffffff;
  background-color: rgba(57, 181, 74, 0.25);
  border: 2px solid rgba(130, 232, 143, 0.4);
  border-radius: 50px;

  font-size: 20px;
  font-weight: 700;
}

.lanzamiento h2 {
  margin-bottom: 20px;
  color: #ffffff;
  font-size: clamp(36px, 5vw, 56px);
  line-height: 1.1;
}

.lanzamiento__contenido > p {
  max-width: 600px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 19px;
  line-height: 1.7;
}

.lanzamiento__opciones {
  margin: 30px 0;

  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.lanzamiento__opcion {
  padding: 17px;

  display: flex;
  align-items: center;
  gap: 13px;

  background-color: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 14px;
}

.lanzamiento__opcion > span {
  font-size: 28px;
}

.lanzamiento__opcion strong {
  display: block;
  margin-bottom: 4px;
  color: #ffffff;
  font-size: 15px;
}

.lanzamiento__opcion p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 13px;
  line-height: 1.4;
}

.lanzamiento__tiendas {
  display: flex;
  gap: 13px;
  flex-wrap: wrap;
}

.lanzamiento__tienda {
  min-width: 180px;
  padding: 11px 16px;

  display: flex;
  align-items: center;
  gap: 11px;

  color: #ffffff;
  background-color: #12171d;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 11px;

  opacity: 0.9;
  cursor: not-allowed;
}

.lanzamiento__tienda-icono {
  width: 30px;
  height: 30px;

  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.lanzamiento__tienda-icono svg {
  width: 27px;
  height: 27px;
  display: block;
  fill: #ffffff;
}

.lanzamiento__tienda-icono--apple svg {
  width: 29px;
  height: 29px;
}

.lanzamiento__tienda div {
  display: flex;
  flex-direction: column;
}

.lanzamiento__tienda small {
  color: #c9ced4;
  font-size: 10px;
}

.lanzamiento__tienda strong {
  color: #ffffff;
  font-size: 16px;
}

/* =========================
   PARTE VISUAL DERECHA
========================= */

.lanzamiento__visual,
.lanzamiento__visual:hover,
.lanzamiento__visual:active {
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 18px;

  text-align: center;

  background: transparent;
  border: 0;
  box-shadow: none;
  transform: none;
  filter: none;
}


/* Círculo */

.lanzamiento__circulo {
  width: 280px;
  height: 280px;
  padding: 45px;

  display: grid;
  place-items: center;

  background-color: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;

  box-shadow:
    0 0 0 25px rgba(255, 255, 255, 0.04),
    0 25px 60px rgba(0, 0, 0, 0.2);

  cursor: pointer;

  transition:
    transform 0.4s ease,
    box-shadow 0.4s ease,
    border-color 0.4s ease,
    background-color 0.4s ease;
}


/* Interacción únicamente del círculo */

.lanzamiento__circulo:hover {
  transform: translateY(-10px) scale(1.04);
  background-color: rgba(255, 255, 255, 0.17);
  border-color: rgba(255, 255, 255, 0.42);

  box-shadow:
    0 0 0 25px rgba(255, 255, 255, 0.06),
    0 25px 50px rgba(0, 0, 0, 0.22),
    0 0 40px rgba(87, 218, 104, 0.28);
}


/* Contenedor del logo */

.lanzamiento__logo {
  width: 100%;
  height: 100%;

  display: grid;
  place-items: center;
}


/* Imagen del logo */

.lanzamiento__logo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;

  transition:
    transform 0.4s ease,
    filter 0.4s ease;
}

.lanzamiento__circulo:hover .lanzamiento__logo img {
  transform: scale(1.08);
  filter: drop-shadow(0 7px 12px rgba(0, 0, 0, 0.2));
}


/* Texto inferior */

.lanzamiento__visual > span {
  color: #b9f1c1;
  font-size: 16px;
  font-weight: 700;

  transition:
    color 0.35s ease,
    transform 0.35s ease;
}

.lanzamiento__circulo:hover + span {
  color: #ffffff;
  transform: translateY(3px);
}


/* Reacción al presionar */

.lanzamiento__circulo:active {
  transform: scale(0.98);
}

/* =========================
   FOOTER
========================= */

.footer {
  color: #ffffff;
  background-color: #07182d;
}

.footer__contenedor {
  width: min(1200px, 92%);
  margin: 0 auto;
  padding: 65px 0 50px;

  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 55px;
}

.footer__marca {
  text-align: center;
}

.footer__marca img {
  width: 165px;
  height: auto;
  margin: 0 auto 18px;
  display: block;
}

.footer__marca p {
  max-width: 350px;
  margin: 0 auto 17px;

  color: rgba(255, 255, 255, 0.65);
  font-size: 14px;
  line-height: 1.65;
}

.footer__columna {
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  gap: 12px;
}

.footer__columna h3 {
  margin-bottom: 7px;
  color: #ffffff;
  font-size: 16px;
}

.footer__columna a,
.footer__columna p {
  color: rgba(255, 255, 255, 0.65);
  font-size: 14px;
  line-height: 1.5;

  transition: color 0.2s ease;
}

.footer__columna a:hover {
  color: #76d883;
}

.footer__redes {
  margin-top: 7px;
  display: flex;
  gap: 9px;
}

.footer__redes a {
  width: 35px;
  height: 35px;

  display: grid;
  place-items: center;

  color: #ffffff;
  background-color: rgba(255, 255, 255, 0.09);
  border-radius: 9px;

  font-weight: 700;
}

.footer__redes a:hover {
  color: #ffffff;
  background-color: var(--color-secundario);
}

.footer__inferior {
  padding: 20px 4%;

  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
}

.footer__inferior p {
  color: rgba(255, 255, 255, 0.55);
  font-size: 13px;
}

.footer__redes a svg {
  width: 22px;
  height: 22px;
  fill: #ffffff;
}

.footer__redes a svg path {
  fill: #ffffff;
}

/*=======================
   Boton de Whatsapp
=======================*/

.whatsapp-flotante {
  position: fixed;
  right: 25px;
  bottom: 25px;
  z-index: 1500;

  width: 58px;
  height: 58px;

  display: grid;
  place-items: center;

  color: #ffffff;
  background: #25d366;
  border: 3px solid #ffffff;
  border-radius: 50%;

  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.25);

  transition:
    transform 0.25s ease,
    background-color 0.25s ease,
    box-shadow 0.25s ease;
}

.whatsapp-flotante svg {
  width: 34px;
  height: 34px;
  fill: currentColor;
}

.whatsapp-flotante:hover {
  color: #ffffff;
  background-color: #1ebe5d;
  transform: translateY(-5px) scale(1.06);
  box-shadow: 0 13px 30px rgba(37, 211, 102, 0.38);
}





/* =========================================================
   11. RESPONSIVE
   Se mantiene el orden de los bloques para respetar la cascada.
========================================================= */

/* =========================
   HEADER RESPONSIVE
========================= */

@media (max-width: 800px) {
  .header {
    height: 72px;
  }

  .header__menu-boton {
    display: block;
  }

  .header__nav {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;

    width: 100%;
    padding: 24px;

    flex-direction: column;
    align-items: stretch;
    gap: 8px;

    background-color: #ffffff;
    border-bottom: 1px solid var(--color-borde);
    box-shadow: 0 15px 30px rgba(11, 60, 138, 0.12);
  }

  .header__nav.activo {
    display: flex;
  }

  .header__nav > a {
    width: 100%;
    padding: 13px 15px;
    border-radius: 8px;
  }

  .header__nav > a:hover {
    background-color: #f1f4f8;
  }

  .header__nav .header__boton {
    margin-top: 8px;
    text-align: center;
  }
}

/* =========================
   PORTADA PARA TABLETS
========================= */

@media (min-width: 801px) and (max-width: 1100px) {

  .tienda {
    min-width: 145px;
    padding: 10px 13px;
  }

  .tienda strong {
    font-size: 15px;
  }


  .header__nav {
    gap: 18px;
  }

  .header__nav > a {
    font-size: 14px;
  }
}

/* =========================
   PORTADA RESPONSIVE
========================= */

@media (max-width: 800px) {
  .portada {
    background-image:
      linear-gradient(
        rgba(255, 255, 255, 0.92),
        rgba(255, 255, 255, 0.92)
      ),
      url("../imagenes/portada-chambitapp.png");

    background-size: cover, cover;
    background-position: center, 64% center;
  }

  .portada h1 {
    font-size: 47px;
    letter-spacing: -1.8px;
  }

  .portada p {
    font-size: 17px;
  }
}

@media (max-width: 500px) {
  .portada__tiendas {
    flex-direction: column;
    align-items: stretch;
  }

  .tienda {
    width: 100%;
    justify-content: center;
  }
}

/* =========================
  CÓMO FUNCIONA RESPONSIVE
========================= */

@media (max-width: 800px) {
  .como-funciona {
    padding: 35px 0 60px;
  }

  .como-funciona__encabezado {
    margin-bottom: 35px;
  }

  .como-funciona__encabezado h2 {
    line-height: 1.22;
  }

  .como-funciona__pasos {
    grid-template-columns: 1fr;
  }

  .paso {
    padding: 30px 24px;
  }
}

/* =========================
   SERVICIOS RESPONSIVE
========================= */

@media (max-width: 1000px) {
  .servicios__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {

  .servicios__grid {
    grid-template-columns: 1fr;
  }

  .servicio {
    min-height: auto;
  }
}

/* ===============================
   RECOMENDACIONES RESPONSIVE
=============================== */

@media (max-width: 1000px) {
  .recomendaciones__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .recomendaciones {
    padding: 60px 0;
  }

  .recomendaciones__encabezado {
    align-items: flex-start;
    flex-direction: column;
  }

  .recomendaciones__grid {
    grid-template-columns: 1fr;
  }
}

/* =========================
   SEGURIDAD RESPONSIVE
========================= */

@media (max-width: 850px) {
  .seguridad {
    padding: 65px 0;
  }

  .seguridad__contenedor {
    grid-template-columns: 1fr;
    gap: 45px;
  }

  .seguridad__contenido {
    max-width: 100%;
  }
}

@media (max-width: 500px) {
  .seguridad__panel {
    padding: 35px 24px;
  }

  .seguridad__datos {
    grid-template-columns: 1fr;
  }
}

/* Tablets */

@media (min-width: 801px) and (max-width: 1100px) {
  .header__logo img {
    width: 125px;
    height: auto;
  }
}

/* ===================================
   PRÓXIMO LANZAMIENTO RESPONSIVE
=================================== */

@media (max-width: 850px) {
  .lanzamiento {
    padding: 65px 0;
  }

  .lanzamiento__contenedor {
    grid-template-columns: 1fr;
    gap: 45px;
  }

  .lanzamiento__visual {
    order: -1;
  }

  .lanzamiento__circulo {
    width: 190px;
    height: 190px;
    padding: 30px;
  }
}

@media (max-width: 550px) {
  .lanzamiento__opciones {
    grid-template-columns: 1fr;
  }

  .lanzamiento__tiendas {
    flex-direction: column;
  }

  .lanzamiento__tienda {
    width: 100%;
    justify-content: center;
  }
}

/* =========================
   FOOTER
========================= */

@media (max-width: 900px) {
  .footer__contenedor {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 550px) {
  .footer__contenedor {
    padding: 50px 0 40px;
    grid-template-columns: 1fr;
    gap: 35px;
  }

  .footer__marca img {
    width: 135px;
  }
}

@media (max-width: 800px) {
  .servicios {
    padding: 35px 0 60px;
  }

  .recomendaciones {
    padding: 35px 0 60px;
  }

  .servicios__encabezado h2 {
    line-height: 1.22;
  }
}

/*=======================
  Whatsapp Responsive
=======================*/

@media (max-width: 600px) {
  .whatsapp-flotante {
    right: 16px;
    bottom: 16px;
    width: 52px;
    height: 52px;
  }

  .whatsapp-flotante svg {
    width: 30px;
    height: 30px;
  }
}

/* ======================================
   AJUSTE DE ESPACIOS EN TABLET Y MÓVIL
====================================== */

@media (max-width: 800px) {

  /* Portada */

  .portada {
    min-height: auto;
    align-items: flex-start;
  }

  .portada__contenedor {
    padding: 35px 0 45px;
  }

  .portada__contenido {
    max-width: 100%;
    transform: none;
  }


  /* Recomendaciones */

  .recomendaciones {
    padding-top: 40px;
    padding-bottom: 35px;
  }

  .recomendaciones__encabezado {
    margin-bottom: 28px;
  }

  .recomendaciones__aviso {
    margin-top: 18px;
    margin-bottom: 0;
  }


  /* Seguridad */

  .seguridad {
    padding-top: 35px;
    padding-bottom: 55px;
  }

  .seguridad__contenedor {
    gap: 35px;
  }
}

/* Logo responsive */

@media (max-width: 800px) {
  .header__logo img {
    width: 115px;
    height: auto;
    max-height: 52px;
    object-fit: contain;
  }
}

/* ===================================
   CELULARES PEQUEÑOS
=================================== */

@media (max-width: 500px) {

  .portada__contenedor {
    padding: 28px 0 38px;
  }

  .portada__etiqueta {
    margin-bottom: 14px;
  }

  .portada h1 {
    margin-bottom: 16px;
  }

  .portada p {
    margin-bottom: 22px;
  }

  .recomendaciones {
    padding: 32px 0 28px;
  }

  .seguridad {
    padding: 30px 0 45px;
  }
}

/* Logo responsive */

@media (max-width: 500px) {
  .header__logo img {
    width: 95px;
    max-height: 46px;
  }
}

@media (max-width: 500px) {
  .header {
    height: 64px;
  }

  .header__contenedor {
    height: 64px;
  }

  .header__nav {
    top: 64px;
  }
}

/* ======================================
   ESPACIOS EN TABLET DE 801px A 1100px
====================================== */

@media (min-width: 801px) and (max-width: 1100px) {
  .portada {
    min-height: 540px;
    align-items: center;

    background-image:
      linear-gradient(
        90deg,
        rgba(255, 255, 255, 1) 0%,
        rgba(255, 255, 255, 0.98) 36%,
        rgba(255, 255, 255, 0.82) 52%,
        rgba(255, 255, 255, 0) 72%
      ),
      url("../imagenes/portada-chambitapp.png");

    background-size: cover, auto 100%;
    background-position: center, right center;
    background-repeat: no-repeat;
  }

  .portada__contenedor {
    width: 90%;
    padding: 35px 0;
  }

  .portada__contenido {
    width: 52%;
    max-width: 460px;
  }

  .portada h1 {
    font-size: clamp(39px, 5vw, 50px);
    line-height: 1.12;
  }

  .portada p {
    font-size: 16px;
    line-height: 1.65;
  }
  .recomendaciones {
     padding-bottom: 30px;
  }

  .recomendaciones__aviso {
     margin-bottom: 0;
  }

  .seguridad {
    padding-top: 30px;
  }
}

/* ======================================
   DE 1101px A 1300px
====================================== */

@media (min-width: 1101px) and (max-width: 1300px) {
  .portada {
    min-height: 570px;

    background-image:
      linear-gradient(
        90deg,
        rgba(255, 255, 255, 1) 0%,
        rgba(255, 255, 255, 1) 30%,
        rgba(255, 255, 255, 0.96) 43%,
        rgba(255, 255, 255, 0.72) 57%,
        rgba(255, 255, 255, 0) 73%
      ),
      url("../imagenes/portada-chambitapp.png");

    background-size: cover, auto 100%;
    background-position: center, right center;
  }

  .portada__contenedor {
    width: 90%;
    padding: 45px 0;
  }

  .portada__contenido {
    width: 48%;
    max-width: 510px;
  }

  .portada h1 {
    font-size: clamp(44px, 4.3vw, 54px);
    line-height: 1.1;
    letter-spacing: -1.5px;
  }

  .portada p {
    max-width: 470px;
  }
}

/* Separación entre texto e imagen en tablets pequeñas */

@media (min-width: 801px) and (max-width: 918px) {
  .portada {
    background-image:
      linear-gradient(
        90deg,
        rgba(255, 255, 255, 1) 0%,
        rgba(255, 255, 255, 1) 42%,
        rgba(255, 255, 255, 0.94) 50%,
        rgba(255, 255, 255, 0.45) 62%,
        rgba(255, 255, 255, 0) 75%
      ),
      url("../imagenes/portada-chambitapp.png");

    background-size: cover, auto 92%;
    background-position: center, right center;
  }

  .portada__contenido {
    width: 46%;
    max-width: 390px;
  }

  .portada h1 {
    font-size: clamp(36px, 4.5vw, 42px);
    line-height: 1.12;
    letter-spacing: -1px;
  }

  .portada p {
    max-width: 370px;
    font-size: 15px;
  }

  .tienda {
    min-width: 135px;
    padding: 10px 11px;
  }
}

/* Imagen de portada más visible en celulares */

@media (max-width: 600px) {
  .portada {
    min-height: auto;

    background-image:
      linear-gradient(
        180deg,
        rgba(255, 255, 255, 0.94) 0%,
        rgba(255, 255, 255, 0.90) 38%,
        rgba(255, 255, 255, 0.82) 68%,
        rgba(255, 255, 255, 0.62) 100%
      ),
      url("../imagenes/portada-chambitapp.png");

    background-size: cover;
    background-position: 63% center;
    background-repeat: no-repeat;
  }

  .portada__contenedor {
    padding: 28px 0 42px;
  }
}

/* ===================================
   FOOTER RESPONSIVE EQUILIBRADO
=================================== */

/* Tablets */

@media (min-width: 551px) and (max-width: 900px) {
  .footer__contenedor {
    padding: 48px 0 38px;

    grid-template-columns: 1.15fr 1fr;
    gap: 22px 45px;
    align-items: start;
  }

  /* Logo centrado verticalmente a la izquierda */

  .footer__marca {
    grid-column: 1;
    grid-row: 1 / span 3;

    align-self: center;
    padding-top: 28px;
  }

  .footer__marca img {
    width: 145px;
  }

  /* Información, contacto y redes a la derecha */

  .footer__columna {
    grid-column: 2;
    gap: 8px;
  }

  .footer__columna h3 {
    margin-bottom: 3px;
  }

  .footer__redes {
    margin-top: 2px;
  }
}

/* Celulares */

@media (max-width: 550px) {
  .footer__contenedor {
    padding: 42px 0 35px;

    grid-template-columns: 1fr;
    gap: 28px;

    text-align: center;
  }

  .footer__marca {
    width: 100%;
    text-align: center;
  }

  .footer__marca img {
    width: 125px;
    margin: 0 auto 15px;
  }

  .footer__marca p {
    margin-right: auto;
    margin-left: auto;
  }

  .footer__columna {
    width: 100%;
    align-items: center;
    text-align: center;
    gap: 9px;
  }

  .footer__redes {
    justify-content: center;
  }

  .footer__inferior {
    padding: 18px 55px 18px 20px;
  }
}