/* ═══════════════════════════════════════════
   ABOUT US PAGE STYLES
   Specific to pages/aboutUs.html
   Theme: Dark (--dark: #1a1a2e)
   Background: img/background.jpg with dark overlay
   ═══════════════════════════════════════════ */

:root {
  --dark: #1a1a2e;
  --dark-hover: #2a2a4a;
  --it-blue: #008fb5;
  --laser-red: #ff2424;
  --laser-red-dark: #d91e1e;
  --light: #f5f6fa;
  --white: #ffffff;
  --text: #2d3436;
  --text-muted: #636e72;
  --radius: 10px;
  --transition: 0.25s ease;
}

/* ── Navbar negro exclusivo 3D Laser (aplicado a About Us) ── */
.navbar {
  background: #000000;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.45);
}

.navbar-links a {
  color: rgba(255, 255, 255, 0.88);
}

.navbar-links a:hover {
  color: var(--laser-red);
}

.navbar-links a::after {
  background: var(--laser-red);
}

.nav-toggle span {
  background: var(--white);
}

.btn-get-quote {
  background: var(--laser-red);
  border-color: var(--laser-red);
  color: var(--white);
  box-shadow: 0 4px 16px rgba(255, 36, 36, 0.45), 0 2px 8px rgba(255, 36, 36, 0.30);
}

.btn-get-quote:hover {
  background: var(--laser-red-dark);
  border-color: var(--laser-red-dark);
  box-shadow: 0 6px 22px rgba(255, 36, 36, 0.65), 0 4px 12px rgba(255, 36, 36, 0.45), 0 0 18px rgba(255, 36, 36, 0.35);
  transform: translateY(-1px);
}

/* Hover azul para Home / IT Support / Portfolio en navbar oscuro */
.navbar-links a[href*="index"]:hover,
.navbar-links a[href*="itSupport"]:hover,
.navbar-links a[href*="portfolio"]:hover {
  color: #008fb5;
}

.navbar-links a[href*="index"]:hover::after,
.navbar-links a[href*="itSupport"]:hover::after,
.navbar-links a[href*="portfolio"]:hover::after {
  background: #008fb5;
}

/* Botón Get a Quote hover azul en navbar oscuro */
.btn-get-quote:hover {
  background: #008fb5;
  border-color: #008fb5;
  box-shadow: 0 5px 16px rgba(0, 143, 181, 0.55), 0 3px 10px rgba(0, 143, 181, 0.35), 0 0 12px rgba(0, 143, 181, 0.25);
}

/* ── About Hero ── */
.about-hero {
  position: relative;
  min-height: 55vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: url('../img/background.jpg') center / cover no-repeat;
}

.about-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(26, 26, 46, 0.85) 0%, rgba(0, 0, 0, 0.75) 100%);
}

.about-hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  color: var(--white);
  max-width: 700px;
  padding: 2rem;
}

.about-hero-title {
  font-size: 2.4rem;
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 1rem;
  letter-spacing: -0.5px;
  color: var(--white);
}

.about-hero-desc {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.65;
}

/* Hero rediseñado — título arriba + Mission/Vision junto al título */
.about-hero--with-mv {
  min-height: auto;
  padding: 4rem 2rem 3rem;
  flex-direction: column;
}

.about-hero-container {
  max-width: 1100px;
  width: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
  position: relative;
  z-index: 1;
}

.about-hero-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto;
}

.about-hero-mv {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  width: 100%;
}

.about-hero-mv-card {
  background: rgba(255, 255, 255, 0.96);
  color: var(--dark);
  border-radius: var(--radius);
  padding: 1.75rem 1.5rem;
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.22), 0 2px 10px rgba(0, 0, 0, 0.12);
  text-align: left;
  border-left: 4px solid var(--it-blue);
}

.about-hero-mv-card--vision {
  border-left-color: var(--laser-red);
}

.about-hero-mv-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.about-hero-mv-card .about-hero-mv-icon {
  background: rgba(0, 143, 181, 0.1);
  color: var(--it-blue);
}

.about-hero-mv-card--vision .about-hero-mv-icon {
  background: rgba(255, 36, 36, 0.09);
  color: var(--laser-red);
}

.about-hero-mv-icon svg {
  width: 26px;
  height: 26px;
}

.about-hero-mv-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 0.4rem;
}

.about-hero-mv-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ── About Main Cards (Who / Mission / Why) ── */
.about-core {
  padding: 5rem 2rem;
  background: var(--light);
}

.about-core-grid {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  gap: 2rem;
}

.about-core-card {
  flex: 1;
  background: var(--dark);
  color: var(--white);
  border-radius: var(--radius);
  padding: 2.5rem 2rem;
  box-shadow: 0 6px 20px rgba(26, 26, 46, 0.3);
  transition: transform var(--transition), box-shadow var(--transition);
}

.about-core-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 28px rgba(26, 26, 46, 0.45);
}

.about-core-card-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.about-core-card-header svg {
  width: 36px;
  height: 36px;
  color: var(--it-blue);
  flex-shrink: 0;
}

.about-core-card-title {
  font-size: 1.35rem;
  font-weight: 700;
}

.about-core-card-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.about-core-card-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.5;
}

.about-core-card-list li::before {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-top: 0.5rem;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--it-blue);
}

/* ── Mission & Vision — dos filas, una normal y otra invertida ── */
.about-mv {
  padding: 4rem 2rem;
  background: var(--light);
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.about-mv-row {
  max-width: 1100px;
  width: 100%;
  margin: 0 auto;
  display: flex;
  gap: 2.5rem;
  align-items: center;
  background: var(--dark);
  color: var(--white);
  border-radius: var(--radius);
  padding: 2.75rem 2.5rem;
  box-shadow: 0 6px 20px rgba(26, 26, 46, 0.3);
}

.about-mv-row--reverse {
  flex-direction: row-reverse;
}

.about-mv-text {
  flex: 1;
}

.about-mv-title {
  font-size: 1.7rem;
  font-weight: 800;
  margin-bottom: 0.75rem;
  letter-spacing: -0.3px;
}

.about-mv-desc {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.65;
}

.about-mv-visual {
  width: 130px;
  height: 130px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 143, 181, 0.12);
  border-radius: 50%;
  border: 2px solid rgba(0, 143, 181, 0.25);
}

.about-mv-visual svg {
  width: 64px;
  height: 64px;
  color: var(--it-blue);
}

.about-mv-row.reveal,
.about-how-header.reveal,
.about-how-card.reveal {
  animation: none !important;
}

/* ── How We Work — 5 cards enumeradas, mismo estilo de cards ── */
.about-how {
  padding: 5rem 2rem;
  background: var(--white);
}

.about-how-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 2.75rem;
}

.about-how-title {
  font-size: 2rem;
  font-weight: 800;
  color: var(--dark);
  letter-spacing: -0.5px;
}

.about-how-grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.about-how-card {
  background: var(--dark);
  color: var(--white);
  border-radius: var(--radius);
  padding: 2rem 1.75rem;
  box-shadow: 0 6px 20px rgba(26, 26, 46, 0.3);
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  transition: transform var(--transition), box-shadow var(--transition);
  position: relative;
  border-top: 3px solid var(--it-blue);
}

.about-how-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 28px rgba(26, 26, 46, 0.4);
}

.about-how-card:nth-child(odd) {
  border-top-color: #008fb5;
}

.about-how-card:nth-child(even) {
  border-top-color: #ff2424;
}

.about-how-card:nth-child(odd):hover {
  box-shadow: 0 12px 32px rgba(0, 143, 181, 0.28), 0 6px 16px rgba(0, 143, 181, 0.18), 0 2px 8px rgba(0, 143, 181, 0.12);
}

.about-how-card:nth-child(even):hover {
  box-shadow: 0 12px 32px rgba(255, 36, 36, 0.28), 0 6px 16px rgba(255, 36, 36, 0.18), 0 2px 8px rgba(255, 36, 36, 0.12);
}

.about-how-number {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--it-blue);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size:1.1rem;
  flex-shrink: 0;
  margin: 0 auto;
}

/* Alternancia 1 #008fb5, 2 #ff2424 sucesivamente */
.about-how-card:nth-child(odd) .about-how-number {
  background: #008fb5;
}

.about-how-card:nth-child(even) .about-how-number {
  background: #ff2424;
}

.about-how-card-title {
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1.3;
}

.about-how-card-desc {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.55;
}

/* How We Work — Slider (3 visibles, como Why) */
.about-how-window {
  max-width: 1100px;
  margin: 0 auto;
  overflow: hidden;
  padding: 10px 10px 14px;
  margin: -10px auto -14px;
}

.about-how-track {
  display: flex;
  gap: 1.5rem;
  will-change: transform;
  transition: transform 0.55s cubic-bezier(0.16, 1, 0.3, 1);
}

.about-how-window .about-how-card {
  flex: 0 0 calc((100% - 3rem) / 3);
  min-height: 210px;
}

.about-how-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  margin-top: 2rem;
}

.about-how-arrow {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(0, 0, 0, 0.12);
  background: var(--white);
  color: var(--text);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  transition: background var(--transition), color var(--transition), border-color var(--transition), transform var(--transition);
}

.about-how-arrow:hover {
  background: var(--dark);
  color: var(--white);
  border-color: var(--dark);
  transform: translateY(-1px);
}

.about-how-arrow svg {
  width: 20px;
  height: 20px;
}

.about-how-dots {
  display: flex;
  align-items: center;
  gap: 8px;
}

.about-how-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #dfe6e9;
  border: none;
  padding: 0;
  cursor: pointer;
  transition: background var(--transition), width var(--transition);
}

.about-how-dot.is-active {
  background: var(--it-blue);
  width: 24px;
  border-radius: 999px;
}

.about-how-dot:focus-visible,
.about-how-arrow:focus-visible {
  outline: 3px solid var(--it-blue);
  outline-offset: 2px;
}

/* Our Values — Slider infinito (3 visibles) */
.about-values-window {
  max-width: 1100px;
  margin: 0 auto;
  overflow: hidden;
  padding: 10px 10px 14px;
  margin: -10px auto -14px;
}

.about-values-track {
  display: flex;
  gap: 1.5rem;
  will-change: transform;
  transition: transform 0.55s cubic-bezier(0.16, 1, 0.3, 1);
}

.about-values-window .about-value-card {
  flex: 0 0 calc((100% - 3rem) / 3);
  min-height: 210px;
  text-align: center;
  align-items: center;
}

.about-value-icon {
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-value-icon svg {
  display: block;
  margin: auto;
}

/* Alternancia 1 #008fb5, 2 #ff2424 sucesivamente — como How We Work */
.about-values-window .about-value-card:nth-child(odd) {
  border-top-color: #008fb5;
}

.about-values-window .about-value-card:nth-child(even) {
  border-top-color: #ff2424;
}

.about-values-window .about-value-card:nth-child(odd) .about-value-icon {
  background: rgba(0, 143, 181, 0.1) !important;
  color: #ffffff !important;
}

.about-values-window .about-value-card:nth-child(odd) .about-value-icon svg {
  stroke: #ffffff !important;
  color: #ffffff !important;
}

.about-values-window .about-value-card:nth-child(even) .about-value-icon {
  background: rgba(255, 36, 36, 0.09) !important;
  color: #ffffff !important;
}

.about-values-window .about-value-card:nth-child(even) .about-value-icon svg {
  stroke: #ffffff !important;
  color: #ffffff !important;
}

.about-values-window .about-value-card:nth-child(odd):hover {
  box-shadow: 0 12px 32px rgba(0, 143, 181, 0.22), 0 6px 16px rgba(0, 143, 181, 0.14);
}

.about-values-window .about-value-card:nth-child(even):hover {
  box-shadow: 0 12px 32px rgba(255, 36, 36, 0.22), 0 6px 16px rgba(255, 36, 36, 0.14);
}

.about-values-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  margin-top: 2rem;
}

.about-values-arrow {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(0, 0, 0, 0.12);
  background: var(--white);
  color: var(--text);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  transition: background var(--transition), color var(--transition), border-color var(--transition), transform var(--transition);
}

.about-values-arrow:hover {
  background: var(--dark);
  color: var(--white);
  border-color: var(--dark);
  transform: translateY(-1px);
}

.about-values-arrow svg {
  width: 20px;
  height: 20px;
}

.about-values-dots {
  display: flex;
  align-items: center;
  gap: 8px;
}

.about-values-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #dfe6e9;
  border: none;
  padding: 0;
  cursor: pointer;
  transition: background var(--transition), width var(--transition);
}

.about-values-dot.is-active {
  background: var(--it-blue);
  width: 24px;
  border-radius: 999px;
}

.about-values-dot:focus-visible,
.about-values-arrow:focus-visible {
  outline: 3px solid var(--it-blue);
  outline-offset: 2px;
}

/* ── About Value Cards (Horizontal) ── */
.about-values {
  padding: 1rem 2rem 5rem;
  background: var(--white);
  text-align: center;
}

.about-values-scroll {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  gap: 1.5rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 0.5rem;
  scrollbar-width: thin;
  scrollbar-color: var(--dark) var(--light);
}

.about-values-scroll::-webkit-scrollbar {
  height: 6px;
}

.about-values-scroll::-webkit-scrollbar-track {
  background: var(--light);
  border-radius: 3px;
}

.about-values-scroll::-webkit-scrollbar-thumb {
  background: var(--dark);
  border-radius: 3px;
}

.about-value-card {
  flex: 0 0 240px;
  scroll-snap-align: start;
  background: var(--dark);
  color: var(--white);
  border-radius: var(--radius);
  border-top: 4px solid var(--it-blue);
  padding: 2rem 1.5rem;
  text-align: center;
  box-shadow: 0 4px 14px rgba(26, 26, 46, 0.25);
  transition: transform var(--transition), box-shadow var(--transition);
}

.about-value-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(26, 26, 46, 0.4);
}

.about-value-card svg {
  width: 40px;
  height: 40px;
  color: var(--it-blue);
  margin-bottom: 0.75rem;
}

.about-value-card-title {
  font-size: 1.1rem;
  font-weight: 700;
}

/* ── Our Values — 5 cards (reemplazo de 4 anteriores) ── */
.about-values-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 2.75rem;
}

.about-values-title {
  font-size: 2rem;
  font-weight: 800;
  color: var(--dark);
  letter-spacing: -0.5px;
}

.about-values-grid {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
}

.about-values-grid .about-value-card {
  flex: 0 1 320px;
  max-width: 360px;
}

.about-values-grid .about-value-card {
  flex: none;
  scroll-snap-align: unset;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  align-items: flex-start;
}

.about-value-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: rgba(0, 143, 181, 0.1);
  color: var(--it-blue);
}

.about-value-icon svg {
  width: 26px;
  height: 26px;
}

.about-value-card-desc {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.55;
  text-align: left;
}

/* ── About CTA Section ── */
.about-cta {
  background: var(--dark);
  padding: 4rem 2rem;
  text-align: center;
  color: var(--white);
}

.about-cta-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1.75rem;
}

.about-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 2rem;
  background: var(--it-blue);
  color: var(--white);
  border: 2px solid var(--it-blue);
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 1rem;
  box-shadow: 0 4px 14px rgba(0, 143, 181, 0.4);
  transition: background var(--transition), box-shadow var(--transition), transform var(--transition);
}

.about-cta-btn:hover {
  background: #007a9e;
  box-shadow: 0 6px 20px rgba(0, 143, 181, 0.6);
  transform: translateY(-2px);
}

.about-cta-btn svg {
  width: 20px;
  height: 20px;
}

/* ── Responsive ── */
@media (max-width: 768px) {
  .about-hero {
    min-height: 45vh;
  }

  .about-hero-title {
    font-size: 1.65rem;
  }

  .about-hero-desc {
    font-size: 1rem;
  }

  .about-core {
    padding: 3rem 1rem;
  }

  .about-core-grid {
    flex-direction: column;
  }

  .about-values {
    padding: 3rem 1rem;
  }

  .about-values-scroll {
    gap: 1rem;
  }

  .about-value-card {
    flex: 0 0 200px;
  }

  .about-cta {
    padding: 3rem 1rem;
  }

  .about-cta-title {
    font-size: 1.25rem;
  }

  .about-mv-row,
  .about-mv-row--reverse {
    flex-direction: column;
    text-align: center;
    padding: 2rem 1.5rem;
  }

  .about-mv-visual {
    width: 100px;
    height: 100px;
  }

  .about-mv-visual svg {
    width: 52px;
    height: 52px;
  }

  .about-how-grid {
    grid-template-columns: 1fr;
  }

  .about-hero-mv {
    grid-template-columns: 1fr;
  }

  .about-how-window .about-how-card,
  .about-values-window .about-value-card {
    flex: 0 0 100%;
  }

  .about-values-grid .about-value-card {
    flex: 0 1 100%;
    max-width: 100%;
  }
}

@media (max-width: 900px) {
  .about-how-window .about-how-card,
  .about-values-window .about-value-card {
    flex: 0 0 calc((100% - 1.5rem) / 2);
  }

  .about-values-grid .about-value-card {
    flex: 0 1 45%;
  }
}