/* ════════════════════════════════════════════════
   Tech Care — Estilos Compartidos
   Paleta: Rojo #d92137 · Gris Oscuro #35393d · Gris Premium #1e2124
════════════════════════════════════════════════ */

/* ── Base ── */
html {
  scroll-behavior: smooth;
}

/* ── Navbar ── */
#navbar.scrolled {
  box-shadow: 0 2px 16px rgba(0, 0, 0, .1);
}

/* ── Dropdown ── */
.has-dropdown:hover > .dropdown-panel {
  display: block;
}

.dropdown-panel {
  display: none;
}

/* ── Mobile menu ── */
#mob-menu {
  display: none;
}

#mob-menu.open {
  display: block;
}

/* ── Animate on Scroll ── */
.aos {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .55s ease, transform .55s ease;
}

.aos.show {
  opacity: 1;
  transform: none;
}

.aos-delay-1 { transition-delay: .1s; }
.aos-delay-2 { transition-delay: .2s; }
.aos-delay-3 { transition-delay: .3s; }
.aos-delay-4 { transition-delay: .4s; }
.aos-delay-5 { transition-delay: .5s; }

/* ── Botones base ── */
.btn-red {
  display: inline-block;
  background: #d92137 !important;
  color: #fff !important;
  border-radius: 4px !important;
  padding: .7rem 2.4rem;
  font-weight: 700;
  font-size: .875rem;
  text-decoration: none;
  transition: background .2s, transform .15s, box-shadow .2s;
}

.btn-red:hover {
  background: #b81a2e !important;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(217, 33, 55, .3);
}

.btn-outline-dark {
  display: inline-block;
  border: 2px solid #35393d !important;
  color: #35393d !important;
  border-radius: 4px !important;
  padding: .65rem 2.5rem;
  font-weight: 600;
  font-size: .875rem;
  text-decoration: none;
  transition: background .2s, color .2s;
}

.btn-outline-dark:hover {
  background: #35393d !important;
  color: #fff !important;
}

/* Hero buttons */
.hero-btn-white {
  display: inline-block;
  background: #ffffff;
  color: #d92137;
  border-radius: 4px;
  padding: .75rem 1.75rem;
  font-weight: 700;
  font-size: .875rem;
  text-decoration: none;
  transition: background .2s, transform .15s, box-shadow .2s;
  box-shadow: 0 4px 14px rgba(0, 0, 0, .15);
}

.hero-btn-white:hover {
  background: #f1f1f1;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, .2);
}

.hero-btn-outline {
  display: inline-block;
  border: 2px solid rgba(255, 255, 255, .7);
  color: #ffffff;
  border-radius: 4px;
  padding: .75rem 1.75rem;
  font-weight: 600;
  font-size: .875rem;
  text-decoration: none;
  transition: background .2s;
}

.hero-btn-outline:hover {
  background: rgba(255, 255, 255, .15);
  border-color: #fff;
}

/* ── Icon cards (servicios) ── */
.icon-card {
  transition: background .25s, transform .25s;
}

.icon-card:hover {
  background: rgba(255, 255, 255, .12);
  transform: translateY(-2px);
}

/* ── Hero image grid ── */
.hero-img-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 4px;
  height: 100%;
}

/* ── Carousel dots ── */
.carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ccc;
  display: inline-block;
  cursor: pointer;
  transition: background .2s;
}

.carousel-dot.active {
  background: #d92137;
}

/* ── Advantage card ── */
.adv-row {
  transition: box-shadow .2s;
}

.adv-row:hover {
  box-shadow: 0 4px 20px rgba(217, 33, 55, .12);
}

/* ── Search bar ── */
.search-bar input:focus {
  outline: none;
}

/* ════════════════════════════════════════════════
   Quiénes Somos — Page-Specific Styles
════════════════════════════════════════════════ */

/* Stat counter cards */
.stat-card {
  background: #f9fafb;
  border-radius: 16px;
  padding: 2rem;
  text-align: center;
  transition: box-shadow .25s, transform .25s;
}

.stat-card:hover {
  box-shadow: 0 12px 32px rgba(217, 33, 55, .10);
  transform: translateY(-4px);
}

/* Value cards */
.value-card {
  background: #fff;
  border: 1px solid #f1f1f1;
  border-radius: 16px;
  padding: 2.5rem;
  transition: box-shadow .25s, transform .25s, border-color .25s;
}

.value-card:hover {
  box-shadow: 0 16px 40px rgba(0, 0, 0, .08);
  border-color: rgba(217, 33, 55, .2);
  transform: translateY(-4px);
}

/* Team card */
.team-card {
  border-radius: 16px;
  overflow: hidden;
  transition: box-shadow .25s, transform .25s;
}

.team-card:hover {
  box-shadow: 0 20px 50px rgba(0, 0, 0, .12);
  transform: translateY(-6px);
}

/* Page banner */
.page-banner {
  background: #35393d;
  position: relative;
  overflow: hidden;
}

.page-banner::before {
  content: '';
  position: absolute;
  top: -80px;
  right: -80px;
  width: 320px;
  height: 320px;
  background: #d92137;
  opacity: .08;
  border-radius: 50%;
}

.page-banner::after {
  content: '';
  position: absolute;
  bottom: -100px;
  left: -100px;
  width: 400px;
  height: 400px;
  background: #d92137;
  opacity: .05;
  border-radius: 50%;
}
