/* 
   SNIPER - Premium Modern Template
*/

:root {
  --primary: #1f4277; /* SNIPER Blue Logo */
  --primary-light: #2c5ba3;
  --primary-dark: #12294c;
  --dark: #1e2532; /* Charcoal base */
  --darker: #0d1117;
  --light: #f1f5f9;
  --white: #ffffff;
  --gray: #94a3b8;
  --text: #334155;

  --font-main: "Inter", sans-serif;
  --font-heading: "Outfit", sans-serif;

  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --shadow-lg:
    0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  --shadow-glow: 0 0 20px rgba(31, 66, 119, 0.4);
}

/* Reset & Global */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-main);
  color: var(--text);
  background-color: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  color: var(--dark);
  margin-bottom: 1rem;
}

.text-white {
  color: var(--white) !important;
}
.text-gray {
  color: var(--gray) !important;
}
.text-center {
  text-align: center;
}

/* Layout & Grid */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.row {
  display: flex;
  flex-wrap: wrap;
  margin: 0 -15px;
}

.col-lg-6 {
  width: 50%;
  padding: 0 15px;
}
.col-lg-5 {
  width: 41.666667%;
  padding: 0 15px;
}
.col-lg-7 {
  width: 58.333333%;
  padding: 0 15px;
}

.items-center {
  align-items: center;
}

.section {
  position: relative;
  overflow: hidden;
}

.pt-100 {
  padding-top: 100px;
}
.pb-100 {
  padding-bottom: 100px;
}
.bg-light {
  background-color: var(--light);
}
.dark-bg {
  background-color: var(--darker);
  color: var(--gray);
}
.relative {
  position: relative;
}
.z-10 {
  z-index: 10;
}
.mb-4 {
  margin-bottom: 1.5rem;
}
.mb-5 {
  margin-bottom: 3rem;
}
.mt-2 {
  margin-top: 0.5rem;
}
.mt-3 {
  margin-top: 1rem;
}
.mt-4 {
  margin-top: 1.5rem;
}
.mt-5 {
  margin-top: 3rem;
}
.p-2 {
  padding: 0.5rem;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 8px;
  font-weight: 600;
  font-family: var(--font-heading);
  letter-spacing: 0.5px;
  cursor: pointer;
  border: none;
  text-align: center;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.1);
  z-index: -1;
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform 0.3s ease;
}

.btn:hover::before {
  transform: scaleY(1);
  transform-origin: top;
}

.btn-primary {
  background-color: var(--primary);
  color: var(--white);
  box-shadow: var(--shadow);
}
.btn-primary:hover {
  color: var(--white);
  box-shadow: var(--shadow-glow);
}

.btn-secondary {
  background-color: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}

.btn-secondary-hero {
  color: var(--white);
  border-color: var(--white);
}

.btn-large {
  padding: 16px 36px;
  font-size: 1.1rem;
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  transition: var(--transition);
  padding: 15px 0;
}

.header.scrolled {
  padding: 10px 0;
  box-shadow: var(--shadow);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo img {
  height: 50px;
}

.brand-logo {
  height: 42px;
  width: auto;
}

.brand-text {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.5rem;
  color: var(--primary);
  letter-spacing: 1px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
}

.nav-links a {
  font-weight: 600;
  color: var(--dark);
  font-size: 0.95rem;
}

.nav-links a:hover {
  color: var(--primary);
}

.hamburger {
  display: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--dark);
}

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 80px; /* Offset for header */
  background: url("../img/hero-human-bg.png") center/cover no-repeat;
  position: relative;
}

.hero::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    rgba(13, 17, 23, 0.95) 0%,
    rgba(13, 17, 23, 0.7) 50%,
    rgba(13, 17, 23, 0.3) 100%
  );
  z-index: 0;
}

.hero-container {
  display: flex;
  align-items: center;
  position: relative;
  z-index: 1;
  width: 100%;
}

.hero-content {
  flex: 1;
  max-width: 800px;
}

.hero-brand-logo {
  height: 68px;
  width: auto;
  margin-bottom: 1rem;
  filter: drop-shadow(0 8px 24px rgba(0, 0, 0, 0.35));
}

.hero-title {
  font-size: 4.5rem;
  font-weight: 900;
  margin-bottom: 1.5rem;
  color: var(--white);
  line-height: 1.1;
}

.hero-title span {
  color: #5aa1f2; /* Brighter accent for dark bg */
}

.hero-subtitle {
  font-size: 1.4rem;
  color: #e2e8f0;
  margin-bottom: 2.5rem;
  max-width: 650px;
}

.hero-cta {
  display: flex;
  gap: 15px;
}

/* Remove old hero-image CSS */

.glass-card {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 24px;
  padding: 30px;
  box-shadow: var(--shadow-lg);
  width: 350px;
  height: 400px;
  display: flex;
  align-items: flex-end;
  background-image: linear-gradient(
    45deg,
    var(--primary) 0%,
    var(--primary-light) 100%
  );
}

.stats-box {
  background: var(--white);
  border-radius: 16px;
  padding: 20px;
  display: flex;
  align-items: center;
  gap: 15px;
  width: 100%;
  box-shadow: var(--shadow);
  transform: translateY(20px) translateX(-40px);
}

.stats-box i {
  font-size: 2.5rem;
  color: var(--primary);
}

.scroll-down {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  animation: bounce 2s infinite;
  z-index: 10;
}

.scroll-down a {
  color: var(--dark);
  font-size: 1.5rem;
}

.scroll-link {
  color: var(--white);
}

@keyframes bounce {
  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-20px);
  }
  60% {
    transform: translateY(-10px);
  }
}

/* Sections Global */
.section-tag {
  display: inline-block;
  font-family: var(--font-heading);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 0.85rem;
  color: var(--primary);
  margin-bottom: 10px;
}
.section-tag.text-light {
  color: #60a5fa !important;
}

.section-title {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
}

.section-subtitle {
  font-size: 1.1rem;
  max-width: 700px;
  margin: 0 auto;
}

/* Talento y Exp */
.profile-grid {
  display: flex;
  align-items: center;
  gap: 50px;
}

.profile-image-col {
  flex: 1;
}

.profile-image-wrapper {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.floating-badge {
  position: absolute;
  bottom: 20px;
  right: 20px;
  background: var(--primary);
  color: var(--white);
  padding: 8px 16px;
  border-radius: 30px;
  font-weight: 600;
  font-family: var(--font-heading);
  box-shadow: var(--shadow);
}

.profile-content-col {
  flex: 1.5;
}

.role-title {
  font-size: 1.2rem;
  color: var(--gray);
  margin-bottom: 1rem;
}

.education {
  font-weight: 600;
  margin-bottom: 2rem;
  color: var(--primary);
}

.trajectory-card {
  background: var(--white);
  padding: 30px;
  border-radius: 16px;
  border-left: 4px solid var(--primary);
  box-shadow: var(--shadow);
}

.trajectory-card h4 {
  margin-bottom: 1rem;
}

.trajectory-card p {
  margin-bottom: 1rem;
}
.trajectory-card p:last-child {
  margin-bottom: 0;
}

/* Quienes Somos */
.benefits-list li {
  font-size: 1.1rem;
  margin-bottom: 15px;
  display: flex;
  align-items: flex-start;
  gap: 15px;
  color: var(--light);
}

.benefits-list li i {
  color: var(--primary-light);
  font-size: 1.2rem;
  margin-top: 4px;
}

.cta-box {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 30px;
  border-radius: 16px;
}
.cta-box p {
  color: var(--white);
  font-weight: 600;
}

/* Servicios */
.services-grid {
  display: flex;
  gap: 30px;
}

.service-card {
  flex: 1;
  background: var(--white);
  padding: 40px;
  border-radius: 20px;
  box-shadow: var(--shadow);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
}

.service-icon {
  width: 70px;
  height: 70px;
  background: var(--light);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: var(--primary);
  margin-bottom: 20px;
  transition: var(--transition);
}

.service-card:hover .service-icon {
  background: var(--primary);
  color: var(--white);
}

.service-list li {
  margin-bottom: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--light);
  display: flex;
  align-items: center;
  gap: 10px;
}
.service-list li:last-child {
  border-bottom: none;
}
.service-list li i {
  color: var(--primary);
}

/* Timeline / Metodologia */
.timeline {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
}

.timeline::before {
  content: "";
  position: absolute;
  top: 0;
  left: 40px;
  height: 100%;
  width: 2px;
  background: rgba(255, 255, 255, 0.1);
}

.timeline-item {
  position: relative;
  margin-bottom: 30px;
  padding-left: 100px;
}

.timeline-dot {
  position: absolute;
  left: 20px;
  top: 0;
  width: 40px;
  height: 40px;
  background: var(--primary);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-family: var(--font-heading);
  box-shadow: 0 0 0 5px var(--darker);
  z-index: 2;
}

.glass-card-dark {
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 16px;
  padding: 25px;
  transition: var(--transition);
}
.glass-card-dark:hover {
  background: rgba(255, 255, 255, 0.08);
}
.glass-card-dark h4 {
  color: var(--white);
}
.glass-card-dark p {
  color: var(--gray);
  margin-bottom: 0;
}

/* Ventajas */
.advantages-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

.advantage-card {
  background: var(--white);
  padding: 30px;
  border-radius: 16px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
}

.adv-icon {
  font-size: 2.5rem;
  color: var(--primary);
  margin-bottom: 15px;
}

/* Clientes */
.clients-logo-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  align-items: center;
  justify-items: center;
}

.client-logo {
  opacity: 0.6;
  transition: var(--transition);
  filter: grayscale(100%);
  max-width: 150px;
}

.client-logo:hover {
  opacity: 1;
  filter: grayscale(0%);
  transform: scale(1.05);
}

/* Pricing Table */
.pricing-table-wrapper {
  overflow-x: auto;
  background: var(--white);
  border-radius: 16px;
  box-shadow: var(--shadow-lg);
}

.pricing-table {
  width: 100%;
  border-collapse: collapse;
}

.pricing-table th,
.pricing-table td {
  padding: 20px;
  text-align: left;
  border-bottom: 1px solid var(--light);
}

.pricing-table th {
  background: var(--primary);
  color: var(--white);
  font-family: var(--font-heading);
  font-weight: 600;
}

.pricing-table tr:hover {
  background-color: var(--light);
}

.role-cell {
  font-weight: 700;
  color: var(--dark);
  font-family: var(--font-heading);
}

.small-text {
  font-size: 0.85rem;
  color: var(--gray);
}

/* Contact Info */
.contact-info {
  margin-top: 2rem;
}

.info-item {
  display: flex;
  gap: 20px;
  margin-bottom: 25px;
}

.info-item .icon-box {
  width: 50px;
  height: 50px;
  background: rgba(31, 66, 119, 0.2);
  color: var(--primary-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.info-details h5 {
  color: var(--white);
  margin-bottom: 5px;
  font-size: 1.1rem;
}
.info-details p,
.info-details a {
  color: var(--gray);
}
.info-details a:hover {
  color: var(--primary-light);
}

.map-container {
  overflow: hidden;
}

.map-iframe {
  display: block;
  width: 100%;
  min-height: 450px;
  border: 0;
  border-radius: 12px;
}

.map-link {
  display: inline-block;
  margin-top: 0.75rem;
  font-weight: 600;
  color: #7fb4ff;
}

.map-link:hover {
  color: #a7cbff;
}

/* Footer */
.footer {
  background-color: #05080d;
  padding: 40px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-logo h3 {
  font-family: var(--font-heading);
}

/* Media Queries - Mobile Responsive */
@media (max-width: 991px) {
  .col-lg-6,
  .col-lg-5,
  .col-lg-7 {
    width: 100%;
  }

  .mt-5-mobile {
    margin-top: 3rem;
  }

  .hero-container {
    flex-direction: column;
    text-align: center;
    gap: 50px;
  }

  .hero-content {
    max-width: 100%;
  }

  .hero-brand-logo {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-title {
    font-size: 3rem;
  }

  .hero-cta {
    justify-content: center;
  }

  .profile-grid {
    flex-direction: column;
  }

  .services-grid {
    flex-direction: column;
  }

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

  .clients-logo-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    right: -100%;
    top: 70px;
    flex-direction: column;
    background-color: var(--white);
    width: 100%;
    text-align: center;
    transition: 0.3s;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    padding: 20px 0;
  }

  .nav-links.active {
    right: 0;
  }

  .hamburger {
    display: block;
  }

  .hero-title {
    font-size: 2.5rem;
  }
  .hero-cta {
    flex-direction: column;
  }
  .hero-brand-logo {
    height: 54px;
  }

  .map-iframe {
    min-height: 320px;
  }

  .glass-card {
    width: 100%;
    max-width: 350px;
    margin: 0 auto;
  }
  .stats-box {
    transform: translateY(20px) translateX(0);
  }

  /* Responsive Table */
  .pricing-table thead {
    display: none;
  }
  .pricing-table,
  .pricing-table tbody,
  .pricing-table tr,
  .pricing-table td {
    display: block;
    width: 100%;
  }
  .pricing-table tr {
    margin-bottom: 15px;
    border: 1px solid var(--light);
    border-radius: 8px;
  }
  .pricing-table td {
    text-align: right;
    padding-left: 50%;
    position: relative;
  }
  .pricing-table td::before {
    content: attr(data-label);
    position: absolute;
    left: 15px;
    width: 45%;
    text-align: left;
    font-weight: 600;
    color: var(--dark);
  }
}
