/* ══════════════════════════════════════════
   Home — estilos específicos de página
══════════════════════════════════════════ */

/* ── Hero ────────────────────────────────── */
.hero-thin { font-weight: 200; }

/* ── Sección proceso ─────────────────────── */
.process-header { text-align: center; }

/* ── Proyectos — header ──────────────────── */
.btn-no-shrink { flex-shrink: 0; }

/* ── Badge link (conocé al equipo) ──────── */
.dif-badge-link {
  display: flex; align-items: center; gap: 10px;
  text-decoration: none; cursor: pointer;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}
.dif-badge-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(37,101,165,0.55);
}
.dif-badge-link .badge-arrow { font-size: 14px; color: #fff; }
.dif-badge-link .badge-title { display: block; font-size: 13px; }
.dif-badge-link .badge-sub   { font-size: 11px; }

/* ── section-sub overrides ───────────────── */
.sub-mt-sm { margin-top: 12px; }

/* ── Icono de punto en eyebrow ───────────── */
.icon-dot  { font-size: 7px; }

/* ══════════════════════════════════════════
   Reseñas Google — 2 columnas glassmorphism
══════════════════════════════════════════ */

.reviews {
  position: relative;
  background: var(--bg-1);
  padding: 96px 0 88px;
  border-top: 1px solid var(--border);
  overflow: hidden;
}

/* ── Orbs — movimiento sutil ────────────── */
.rev-orbs { position: absolute; inset: 0; pointer-events: none; z-index: 0; }

.rev-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(110px);
  will-change: transform;
  transition: transform 1s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.rev-orb-1 {
  width: 580px; height: 580px;
  background: radial-gradient(circle, rgba(37, 101, 165, 0.18) 0%, transparent 70%);
  top: -140px; left: -100px;
  animation: orb1 16s ease-in-out infinite;
}
.rev-orb-2 {
  width: 420px; height: 420px;
  background: radial-gradient(circle, rgba(37, 101, 165, 0.12) 0%, transparent 70%);
  bottom: -100px; right: 5%;
  animation: orb2 22s ease-in-out infinite;
}
.rev-orb-3 {
  width: 260px; height: 260px;
  background: radial-gradient(circle, rgba(100, 160, 220, 0.10) 0%, transparent 70%);
  top: 40%; left: 44%;
  animation: orb3 26s ease-in-out infinite;
}

@keyframes orb1 {
  0%,100% { transform: translate(0, 0); }
  33%      { transform: translate(44px, 28px); }
  66%      { transform: translate(-18px, 52px); }
}
@keyframes orb2 {
  0%,100% { transform: translate(0, 0); }
  50%      { transform: translate(-38px, -28px); }
}
@keyframes orb3 {
  0%,100% { transform: translate(0, 0) scale(1); }
  40%      { transform: translate(26px, -18px) scale(1.12); }
  70%      { transform: translate(-22px, 18px) scale(0.9); }
}

/* ── Layout 2 columnas ──────────────────── */
.rev-layout {
  display: grid;
  grid-template-columns: 30% 70%;
  gap: 0 48px;
  align-items: start;
  position: relative;
  z-index: 1;
}

/* ── Columna izquierda ──────────────────── */
.rev-info {
  display: flex;
  flex-direction: column;
  gap: 0;
  padding-top: 4px;
}
.rev-info .label-upper   { margin-bottom: 12px; }
.rev-info .section-title {
  font-size: clamp(1.4rem, 1.8vw, 1.9rem);
  margin-bottom: 24px;
  line-height: 1.25;
}

/* Score: número + estrellas + logo Google */
.rev-score {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}
.rev-score-num {
  font-family: 'Poppins', sans-serif;
  font-size: 42px;
  font-weight: 700;
  color: #fff;
  line-height: 1;
}
.rev-score-right { display: flex; flex-direction: column; gap: 3px; }
.rev-score-stars { color: #f59e0b; font-size: 13px; letter-spacing: 1.5px; }
.rev-score-label { font-size: 11px; color: var(--muted); }
.rev-glogo       { width: 22px; height: 22px; flex-shrink: 0; margin-left: 2px; }

/* Link "Ver todas" */
.rev-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--blue);
  text-decoration: none;
  margin-top: 4px;
  transition: opacity 0.2s;
}
.rev-link:hover { opacity: 0.72; }

/* ── Columna derecha ────────────────────── */
.rev-slider-col {
  display: flex;
  flex-direction: column;
  gap: 20px;
  min-width: 0; /* evita que el grid cell se expanda */
}

/* Cabecera del slider: flechas a la derecha */
.rev-slider-header {
  display: flex;
  justify-content: flex-end;
}

/* Dots centrados debajo del slider */
.rev-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
}

/* Botones prev / next */
.rev-nav { display: flex; gap: 10px; }
.rev-btn {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  color: #fff;
  font-size: 13px;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
}
.rev-btn:hover    { background: rgba(37,101,165,0.3); border-color: rgba(37,101,165,0.55); }
.rev-btn:disabled { opacity: 0.3; cursor: default; pointer-events: none; }

/* Dots de progreso */
.rev-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,0.2);
  cursor: pointer;
  padding: 0;
  flex-shrink: 0;
  transition: background 0.3s, transform 0.3s;
}
.rev-dot.active { background: var(--blue); transform: scale(1.4); }

/* ── Slider ─────────────────────────────── */
.rev-slider-wrap {
  overflow: hidden;
  width: 100%;
  min-width: 0;
}
.rev-slider {
  display: flex;
  gap: 24px;
  will-change: transform;
  align-items: stretch;
}

/* ── Cards glass ─────────────────────────── */
.rev-card {
  flex-shrink: 0; /* ancho se asigna por JS */
  background: rgba(255,255,255,0.04);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 20px;
  padding: 26px 22px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: border-color 0.25s, background 0.25s;
}
.rev-card:hover {
  border-color: rgba(37,101,165,0.3);
  background: rgba(255,255,255,0.06);
}

.rev-card-stars { color: #f59e0b; font-size: 12px; letter-spacing: 2px; }

.rev-card-text {
  font-size: 13.5px;
  line-height: 1.72;
  color: var(--text);
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.rev-card-sep {
  height: 1px;
  background: rgba(255,255,255,0.07);
  flex-shrink: 0;
}

.rev-card-author {
  display: flex;
  align-items: center;
  gap: 10px;
}
.rev-card-avatar {
  width: 34px; height: 34px;
  border-radius: 50%; object-fit: cover; flex-shrink: 0;
}
.rev-card-init {
  width: 34px; height: 34px;
  border-radius: 50%;
  background: var(--blue);
  display: flex; align-items: center; justify-content: center;
  font-family: 'Poppins', sans-serif; font-weight: 700;
  font-size: 13px; color: #fff; flex-shrink: 0;
}
.rev-card-author-info { flex: 1; min-width: 0; }
.rev-card-name {
  font-family: 'Poppins', sans-serif;
  font-weight: 600; font-size: 13px; color: #fff;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.rev-card-time  { font-size: 11px; color: var(--muted); margin-top: 1px; }
.rev-card-glogo { width: 15px; height: 15px; flex-shrink: 0; margin-left: auto; }

/* ── Responsive ─────────────────────────── */

/* Tablet grande */
@media (max-width: 1024px) {
  .rev-layout           { grid-template-columns: 38% 1fr; gap: 0 32px; }
  .rev-score-num        { font-size: 36px; }
  .rev-card             { padding: 24px 20px; }
}

/* Tablet chica / mobile landscape */
@media (max-width: 768px) {
  .reviews              { padding: 64px 0 56px; }
  .rev-layout           { grid-template-columns: 1fr; gap: 32px 0; }
  .rev-info             { flex-direction: row; flex-wrap: wrap; column-gap: 32px; row-gap: 0; }
  .rev-info .label-upper  { width: 100%; margin-bottom: 8px; }
  .rev-info .section-title { width: 100%; font-size: 1.65rem; margin-bottom: 20px; }
  .rev-score            { margin-bottom: 10px; }
  .rev-link             { margin-top: 2px; margin-bottom: 0; }
  .rev-slider-col       { gap: 14px; }
  .rev-card             { padding: 22px 18px; }
}

/* Mobile */
@media (max-width: 480px) {
  .reviews              { padding: 56px 0 48px; }
  .rev-info             { flex-direction: column; }
  .rev-info .section-title { font-size: 1.5rem; margin-bottom: 16px; }
  .rev-score-num        { font-size: 30px; }
  .rev-score            { gap: 10px; }
  .rev-card             { padding: 20px 16px; border-radius: 16px; }
  .rev-card-text        { font-size: 13px; -webkit-line-clamp: 5; }
  .rev-slider-col       { gap: 12px; }
}
