/* ===================================
   PÁGINA CONSULTORÍA TI - ESTILOS
   =================================== */

/* Page Content Container */
.page-content {
  position: relative;
  background: var(--bg);
  min-height: 100vh;
}

/* ===================================
   Page Hero con Video
   =================================== */

.page-hero {
  position: relative;
  min-height: 50vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8rem 0 4rem;
  overflow: hidden;
}

.page-hero-video-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  overflow: hidden;
}

.page-hero-video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  transform: translate(-50%, -50%);
  object-fit: cover;
}

.page-hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(30, 37, 64, 0.85);
}

.page-title {
  position: relative;
  z-index: 1;
  font-size: clamp(2.5rem, 5vw, 4rem);
  
  letter-spacing: 0.02em;
  color: var(--text-primary);
  text-align: center;
  margin: 0;
}

/* ===================================
   Ready Section - ¿Tu Empresa Está Lista?
   =================================== */

.ready-section {
  position: relative;
  padding: 6rem 0;
  background: var(--bg);
}

.ready-divider {
  width: 3px;
  min-height: 270px;
  background: var(--accent-purple);
  border-radius: 2px;
  align-self: start;
  position: absolute;
  margin-right: 15px;
}

.ready-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 4rem;
  align-items: start;
}

.ready-left {
  position: sticky;
  top: calc(var(--header-height) + 2rem);
  width: 350px;
}

.ready-title {
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: var(--text-primary);
  margin: 0;
}

.ready-right {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.ready-text-title {
  font-size: 1.2rem;
  font-weight: 800;
  line-height: 1.7;
  color: var(--text-secondary);
  margin: 0;
  padding-left: 20px;
}

.ready-text {
  font-size: 1.1rem;
  line-height: 1.7;
  color: var(--text-secondary);
  margin: 0;
  padding-left: 20px;
}

/* ===================================
   Different Section - Trabajamos Diferente
   =================================== */

.different-section {
  position: relative;
  padding: 6rem 0;
  background: var(--bg);
  border-top: 1px solid var(--border);
}

.different-title {
  font-size: clamp(1.25rem, 2vw, 1.5rem);
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--text-primary);
  margin: 0 0 3rem;
  text-align: left;
}

.different-items {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  margin-bottom: 3rem;
}

.different-item {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.different-item-title {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--accent-purple);
  margin: 0;
  line-height: 1.4;
}

.different-item-text {
  font-size: 0.875rem;
  line-height: 1;
  color: var(--text-secondary);
  margin: 0;
}

.different-image {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  margin-top: 2rem;
}

.different-image img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

/* ===================================
   Services Section - Servicios de Consultoría
   =================================== */

.services-section {
  position: relative;
  padding: 6rem 0 8rem;
  background: var(--bg);
}

.services-title {
  font-size: clamp(1.25rem, 2vw, 1.5rem);
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--text-primary);
  margin: 0 0 3rem;
  text-align: left;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 3rem;
  margin-bottom: 3rem;
}

.services-column {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.service-item {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.service-item-title {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--accent-purple);
  margin: 0;
  line-height: 1;
}

.service-item-text {
  font-size: 0.875rem;
  line-height: 1.7;
  color: var(--text-secondary);
  margin: 0;
}

.services-image {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  margin-top: 2rem;
}

.services-image img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

/* ===================================
   Active Link Style
   =================================== */

.site-nav a.active,
.nav-dropdown-menu a.active {
  color: var(--accent-blue);
  font-weight: 600;
}

.site-nav > a.active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--accent-blue);
  border-radius: 2px;
}

/* ===================================
   Page Transitions
   =================================== */

.page-content {
  animation: fadeInContent 0.6s ease-out;
}

@keyframes fadeInContent {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ===================================
   Responsive
   =================================== */

@media (max-width: 1024px) {
  .ready-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .ready-left {
    position: static;
  }

  .services-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
}

@media (max-width: 768px) {
  .page-hero {
    min-height: 40vh;
    padding: 6rem 0 3rem;
  }

  .page-title {
    font-size: 2rem;
  }

  .ready-section {
    padding: 4rem 0;
  }

  .ready-title {
    font-size: 1.5rem;
  }

  .different-section {
    padding: 4rem 0;
  }

  .different-title {
    margin-bottom: 2rem;
  }

  .different-items {
    gap: 1.5rem;
    margin-bottom: 2rem;
  }

  .different-image {
    margin-top: 1.5rem;
  }

  .services-section {
    padding: 4rem 0 6rem;
  }

  .services-title {
    margin-bottom: 2rem;
  }

  .services-grid {
    gap: 2rem;
  }

  .services-column {
    gap: 1.5rem;
  }

  .services-image {
    margin-top: 1.5rem;
  }
}

@media (max-width: 480px) {
  .page-hero {
    padding: 5rem 0 2.5rem;
  }

  .ready-section {
    padding: 3rem 0;
  }

  .different-section {
    padding: 3rem 0;
  }

  .services-section {
    padding: 3rem 0 4rem;
  }
}