/* ─────────────────────────────────────────
   TICKER
   ───────────────────────────────────────── */

.ticker {
  background: var(--rojo);
  padding: 11px 0;
  overflow: hidden;
}
.ticker-track {
  display: flex;
  width: max-content;
  animation: ticker 28s linear infinite;
}
.ticker-item {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.88);
  padding: 0 26px;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 26px;
}
.ticker-item::after {
  content: '|';
  opacity: 0.45;
}
@keyframes ticker {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ─────────────────────────────────────────
   SERVICIOS
   ───────────────────────────────────────── */

.servicios {
  background: var(--fondo);
  padding: 100px 6%;
}
.srv-header {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: end;
  margin-bottom: 56px;
}
.srv-header p {
  font-size: 0.95rem;
  font-weight: 300;
  line-height: 1.85;
  color: var(--gris);
  border-left: 3px solid var(--rojo);
  padding-left: 18px;
}
.srv-list {
  display: flex;
  flex-direction: column;
}
.srv-row {
  display: grid;
  grid-template-columns: 64px 1fr 36px;
  align-items: center;
  gap: 24px;
  padding: 24px 16px 24px 0;
  border-top: 1px solid var(--borde);
  position: relative;
  overflow: hidden;
  cursor: default;
  transition: padding-left 0.3s;
}
.srv-row:last-child { border-bottom: 1px solid var(--borde); }
.srv-row::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--azul);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.38s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 0;
}
.srv-row:hover::after { transform: scaleX(1); }
.srv-row:hover { padding-left: 8px; }
.srv-row > * { position: relative; z-index: 1; }

.srv-n {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--gris-claro);
  transition: color 0.3s;
}
.srv-name {
  font-size: 1rem;
  font-weight: 700;
  color: var(--texto);
  margin-bottom: 4px;
  transition: color 0.3s;
}
.srv-sub {
  font-size: 0.83rem;
  font-weight: 300;
  color: var(--gris);
  line-height: 1.65;
  transition: color 0.3s;
}
.srv-arrow {
  font-size: 1rem;
  color: var(--borde);
  transition: color 0.3s, transform 0.3s;
  justify-self: end;
}
.srv-row:hover .srv-n,
.srv-row:hover .srv-name,
.srv-row:hover .srv-sub { color: rgba(255, 255, 255, 0.88); }
.srv-row:hover .srv-arrow { color: var(--rojo-vivo); transform: translateX(4px); }

/* ─────────────────────────────────────────
   NOSOTROS
   ───────────────────────────────────────── */

.nosotros {
  background: var(--blanco);
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.nos-izq {
  background: linear-gradient(160deg, var(--azul) 0%, var(--azul-deep) 100%);
  padding: 90px 6%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.nos-izq::after {
  content: 'BTL';
  font-weight: 800;
  position: absolute;
  bottom: -24px;
  right: -16px;
  font-size: 11rem;
  color: rgba(255, 255, 255, 0.035);
  letter-spacing: -3px;
  line-height: 1;
  pointer-events: none;
  user-select: none;
}
.nos-izq .eyebrow { color: rgba(255, 255, 255, 0.38); }
.nos-izq .eyebrow::after { background: rgba(255, 255, 255, 0.18); }
.nos-izq h2.titulo { color: var(--blanco); }
.nos-izq h2.titulo em { color: var(--rojo-vivo); }
.nos-izq p {
  margin-top: 20px;
  font-size: 0.92rem;
  font-weight: 300;
  line-height: 1.85;
  color: rgba(255, 255, 255, 0.5);
  max-width: 380px;
}

.metrics {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  margin-top: 44px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 3px;
  overflow: hidden;
}
.metric { background: rgba(255, 255, 255, 0.05); padding: 26px 22px; }
.metric:nth-child(odd) { background: rgba(255, 255, 255, 0.09); }
.metric-n {
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--blanco);
  line-height: 1;
  letter-spacing: -1px;
}
.metric-n sup {
  font-size: 1.1rem;
  color: var(--rojo-vivo);
  vertical-align: super;
}
.metric-l {
  font-size: 0.67rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.36);
  margin-top: 6px;
}

.nos-der {
  background: var(--fondo);
  padding: 90px 6%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.razones {
  margin-top: 32px;
  display: flex;
  flex-direction: column;
}
.razon {
  display: grid;
  grid-template-columns: 26px 1fr;
  gap: 14px;
  padding: 20px 0;
  border-bottom: 1px solid var(--borde);
  align-items: start;
}
.razon:first-child { border-top: 1px solid var(--borde); }
.razon-i {
  font-style: italic;
  font-size: 0.95rem;
  color: var(--rojo);
  padding-top: 2px;
}
.razon h4 {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--texto);
  margin-bottom: 4px;
}
.razon p {
  font-size: 0.82rem;
  font-weight: 300;
  color: var(--gris);
  line-height: 1.7;
}

/* ─────────────────────────────────────────
   PROCESO
   ───────────────────────────────────────── */

.proceso {
  background: var(--blanco);
  padding: 100px 6%;
}
.proceso-header { margin-bottom: 52px; }
.proceso-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--borde);
  border-radius: 12px;
  overflow: hidden;
}
.paso {
  padding: 36px 28px;
  border-right: 1px solid var(--borde);
  transition: background 0.25s;
  position: relative;
}
.paso:last-child { border-right: none; }
.paso:hover { background: var(--fondo); }
.paso-n {
  font-size: 4rem;
  font-weight: 800;
  line-height: 1;
  color: var(--borde-suave);
  margin-bottom: 20px;
  letter-spacing: -2px;
  transition: color 0.25s;
}
.paso:hover .paso-n { color: var(--azul-mid); }
.paso h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--texto);
  margin-bottom: 8px;
}
.paso p {
  font-size: 0.82rem;
  font-weight: 300;
  color: var(--gris);
  line-height: 1.7;
}
.paso-tag {
  display: inline-block;
  margin-top: 16px;
  font-size: 0.63rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--rojo);
  background: var(--rojo-suave);
  padding: 4px 10px;
  border-radius: 4px;
}

/* ─────────────────────────────────────────
   COTIZAR
   ───────────────────────────────────────── */

.cotizar {
  background: var(--fondo);
  padding: 100px 6%;
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 72px;
  align-items: start;
}
.cotizar-info > .titulo { margin-bottom: 18px; }
.cotizar-info > p {
  font-size: 0.95rem;
  font-weight: 300;
  line-height: 1.85;
  color: var(--gris);
  margin-bottom: 40px;
}
.canales {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.canal {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  border-radius: 9px;
  border: 1px solid var(--borde);
  background: var(--blanco);
  text-decoration: none;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.15s;
}
.canal:hover {
  border-color: var(--azul-mid);
  box-shadow: 0 4px 16px rgba(15, 82, 184, 0.08);
  transform: translateY(-1px);
}
.canal-ico {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
}
.canal-ico.wa { background: #dcfce7; }
.canal-ico.em { background: var(--azul-claro); }
.canal strong {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--texto);
}
.canal span { font-size: 0.75rem; color: var(--gris); }

.form-box {
  background: var(--blanco);
  border: 1px solid var(--borde);
  border-radius: 16px;
  padding: 40px 36px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.04);
}
.form-box h3 {
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.3px;
  color: var(--texto);
  margin-bottom: 28px;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.field { margin-bottom: 13px; }
.field label {
  display: block;
  font-size: 0.67rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--gris);
  margin-bottom: 6px;
}
.field input,
.field select,
.field textarea {
  width: 100%;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.875rem;
  font-weight: 400;
  padding: 10px 13px;
  border-radius: 8px;
  background: var(--fondo);
  color: var(--texto);
  border: 1.5px solid var(--borde);
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
  -webkit-appearance: none;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--azul);
  box-shadow: 0 0 0 3px rgba(15, 82, 184, 0.07);
  background: var(--blanco);
}
.field textarea { resize: vertical; min-height: 90px; }

.recaptcha-wrap {
  margin: 10px 0 16px;
  display: flex;
  justify-content: center;
}

.submit {
  width: 100%;
  margin-top: 4px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  background: var(--azul);
  color: var(--blanco);
  border: none;
  padding: 13px;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
  box-shadow: 0 3px 10px rgba(15, 82, 184, 0.22);
}

.submit:disabled,
.submit.is-disabled {
  opacity: 0.55;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.submit:hover {
  background: var(--azul-dark);
  transform: translateY(-1px);
  box-shadow: 0 5px 18px rgba(15, 82, 184, 0.3);
}
.form-nota {
  font-size: 0.72rem;
  color: var(--gris-claro);
  text-align: center;
  margin-top: 10px;
}

/* ─────────────────────────────────────────
   FOOTER
   ───────────────────────────────────────── */

footer {
  background: var(--texto);
  padding: 64px 6% 32px;
}
.foot-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 52px;
  padding-bottom: 44px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.foot-logo {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--blanco);
}
.foot-logo em { color: var(--rojo-vivo); font-style: normal; }
.foot-about p {
  margin-top: 12px;
  font-size: 0.85rem;
  font-weight: 300;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.28);
  max-width: 260px;
}
.foot-col h5 {
  font-size: 0.63rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.22);
  margin-bottom: 16px;
}
.foot-col ul {
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.foot-col ul a {
  font-size: 0.85rem;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.42);
  transition: color 0.2s;
}
.foot-col ul a:hover { color: var(--rojo-vivo); }
.foot-bottom {
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}
.foot-bottom p { font-size: 0.75rem; color: rgba(255, 255, 255, 0.16); }

/* ─────────────────────────────────────────
   WA FLOAT
   ───────────────────────────────────────── */

.wa-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 999;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: #25D366;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.38);
  transition: transform 0.2s, box-shadow 0.2s;
}
.wa-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 22px rgba(37, 211, 102, 0.48);
}
.wa-float svg { width: 22px; height: 22px; fill: white; }
