/* Main Content Offset */
.site-content {
  margin-top: 80px;
}

/* Hero Sections */
.hero-banner-section {
  background: linear-gradient(rgba(15, 23, 42, 0.7), rgba(15, 23, 42, 0.8)), url('images/hero1-modern-office-technology_orig.jpg') center/cover;
  background-attachment: fixed;
  color: white;
  padding: 120px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero-banner-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(45deg, transparent, rgba(202, 138, 4, 0.1), transparent);
  animation: shimmer 8s ease-in-out infinite;
}

@keyframes shimmer {
  0%, 100% { opacity: 0; }
  50% { opacity: 1; }
}

.hero-content h1 {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 24px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-content p {
  font-size: 1.25rem;
  margin-bottom: 32px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  opacity: 0.9;
}

.hero-cta-buttons {
  display: flex;
  gap: 24px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 40px;
}

/* Trust Bar */
.trust-bar-section {
  background: var(--bg-secondary);
  padding: 40px 0;
}

.trust-bar-content {
  text-align: center;
}

.trust-bar-content h4 {
  color: var(--text-secondary);
  margin-bottom: 32px;
  font-weight: 500;
}

.client-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 40px;
}

.client-logo {
  opacity: 0.6;
  transition: opacity 0.3s ease;
  font-weight: 600;
  color: var(--primary);
  padding: 16px 24px;
  background: var(--bg-card);
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.client-logo:hover {
  opacity: 1;
}

/* About Section */
.about-content-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-image img {
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
  width: 100%;
  height: 400px;
  object-fit: cover;
}

.about-text h2 {
  margin-bottom: 24px;
}

.about-text p {
  font-size: 1.125rem;
  line-height: 1.8;
  margin-bottom: 24px;
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 40px;
}

.stat-item {
  text-align: center;
  padding: 24px 16px;
  background: var(--bg-card);
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--accent);
  display: block;
  margin-bottom: 8px;
}

.stat-label {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

/* Services Section */
.services-section {
  background: var(--bg-secondary);
}

.services-grid {
  margin-top: 48px;
}

.pricing-table {
  background: var(--bg-card);
  border-radius: 12px;
  padding: 32px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  border: 1px solid var(--border-color);
  transition: all 0.3s ease;
}

.pricing-table:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
}

.pricing-table.featured {
  border-color: var(--accent);
  position: relative;
}

.pricing-table.featured::before {
  content: 'Más Popular';
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: white;
  padding: 8px 24px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
}

.pricing-header {
  text-align: center;
  margin-bottom: 32px;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 24px;
}

.pricing-header h3 {
  color: var(--primary);
  margin-bottom: 12px;
}

.pricing-price {
  font-size: 2rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 8px;
}

.pricing-period {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.pricing-features {
  list-style: none;
  padding: 0;
  margin-bottom: 32px;
}

.pricing-features li {
  padding: 12px 0;
  border-bottom: 1px solid var(--border-color);
  position: relative;
  padding-left: 32px;
}

.pricing-features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
}

/* Team Section */
.team-section {
  background: var(--bg-primary);
}

.team-grid {
  margin-top: 48px;
}

/* Blog Section */
.blog-section {
  background: var(--bg-secondary);
}

.blog-post-excerpt {
  background: var(--bg-card);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
}

.blog-post-excerpt:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
}

.blog-post-excerpt img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.blog-post-content {
  padding: 24px;
}

.blog-post-content h4 {
  margin-bottom: 12px;
}

.blog-post-content h4 a {
  color: var(--primary);
  text-decoration: none;
}

.blog-post-content h4 a:hover {
  color: var(--accent);
}

.blog-post-meta {
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin-bottom: 16px;
}

/* Contact Section */
.contact-section {
  background: linear-gradient(rgba(15, 23, 42, 0.8), rgba(15, 23, 42, 0.9)), url('images/banner4-modern-office-technology_orig.jpg') center/cover;
  color: white;
  background-attachment: fixed;
}

.contact-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.contact-info h3 {
  color: var(--accent);
  margin-bottom: 24px;
}

.contact-details {
  margin-bottom: 32px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  backdrop-filter: blur(10px);
}

.contact-item .icon {
  width: 24px;
  height: 24px;
  color: var(--accent);
}

.contact-item .text {
  color: white;
}

.contact-form-wrapper {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
}

.contact-form-wrapper h3 {
  color: var(--primary);
  margin-bottom: 24px;
}

/* ROI Calculator */
.roi-calculator {
  background: var(--bg-card);
  border-radius: 12px;
  padding: 40px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  margin-top: 40px;
}

.calculator-input {
  margin-bottom: 24px;
}

.range-slider {
  width: 100%;
  height: 6px;
  background: var(--border-color);
  border-radius: 3px;
  outline: none;
  margin: 16px 0;
}

.range-slider::-webkit-slider-thumb {
  appearance: none;
  width: 20px;
  height: 20px;
  background: var(--accent);
  border-radius: 50%;
  cursor: pointer;
}

.calculator-result {
  background: linear-gradient(135deg, var(--accent), var(--accent-hover));
  color: white;
  padding: 24px;
  border-radius: 8px;
  text-align: center;
  margin-top: 24px;
}

.result-number {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 8px;
}

/* Interactive Elements */
.accordion-item {
  border: 1px solid var(--border-color);
  border-radius: 8px;
  margin-bottom: 16px;
  overflow: hidden;
}

.accordion-header {
  background: var(--bg-card);
  padding: 20px;
  cursor: pointer;
  transition: background-color 0.3s ease;
  position: relative;
}

.accordion-header:hover {
  background: var(--bg-secondary);
}

.accordion-header::after {
  content: '+';
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.5rem;
  color: var(--accent);
  transition: transform 0.3s ease;
}

.accordion-header.active::after {
  transform: translateY(-50%) rotate(45deg);
}

.accordion-content {
  padding: 0 20px;
  max-height: 0;
  overflow: hidden;
  transition: all 0.3s ease;
}

.accordion-content.active {
  padding: 20px;
  max-height: 500px;
}

/* Page-specific styles */
.page-title-bar {
  background: linear-gradient(rgba(15, 23, 42, 0.8), rgba(15, 23, 42, 0.9)), url('images/feature2-software-development-team_orig.jpg') center/cover;
  color: white;
  padding: 80px 0;
  text-align: center;
  background-attachment: fixed;
}

.page-title-bar h1 {
  font-size: 3rem;
  margin-bottom: 16px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.breadcrumb-area {
  color: rgba(255, 255, 255, 0.8);
}

/* Responsive Design */
@media (max-width: 768px) {
  .hero-content h1 {
    font-size: 2.5rem;
  }
  
  .hero-cta-buttons {
    flex-direction: column;
    align-items: center;
  }
  
  .about-content-wrapper,
  .contact-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .about-stats {
    grid-template-columns: 1fr;
  }
  
  .client-logos {
    gap: 24px;
  }
  
  .hero-banner-section,
  .contact-section,
  .page-title-bar {
    background-attachment: scroll;
  }
}

@media (max-width: 480px) {
  .hero-content h1 {
    font-size: 2rem;
  }
  
  .page-title-bar h1 {
    font-size: 2rem;
  }
  
  .pricing-table,
  .contact-form-wrapper,
  .roi-calculator {
    padding: 24px;
  }
}