/* ===== Homepage Specific Styles (Professional Structure) ===== */

/* === HERO SECTION === */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: 80px;
  padding-bottom: var(--spacing-5xl);
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--gradient-primary);
  z-index: -2;
}

.hero-background::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 25% 25%, rgba(25, 187, 200, 0.3) 0%, transparent 50%),
    radial-gradient(circle at 75% 75%, rgba(232, 176, 106, 0.2) 0%, transparent 50%),
    linear-gradient(45deg, transparent 0%, rgba(0, 0, 0, 0.1) 100%);
  animation: float 20s ease-in-out infinite;
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-5xl);
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-text {
  color: white;
}

.hero-cta {
  display: flex;
  gap: var(--spacing-md);
  flex-wrap: wrap;
  margin-top: var(--spacing-xl);
}

.hero-visual {
  position: relative;
  height: 500px;
}

.hero-floating-cards {
  position: relative;
  width: 100%;
  height: 100%;
}

.floating-card {
  position: absolute;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  border-radius: var(--radius-xl);
  padding: var(--spacing-lg);
  display: flex;
  align-items: center;
  gap: var(--spacing-md);
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all var(--transition-slow);
  animation: heroCardFloat 6s ease-in-out infinite;
  min-width: 250px;
}

.floating-card:hover {
  transform: translateY(-5px) scale(1.02);
  box-shadow: var(--shadow-xl);
}

.floating-card.card-1 {
  top: 10%;
  right: 10%;
  animation-delay: 0s;
}

.floating-card.card-2 {
  top: 45%;
  right: -5%;
  animation-delay: 2s;
}

.floating-card.card-3 {
  bottom: 15%;
  right: 15%;
  animation-delay: 4s;
}

@keyframes heroCardFloat {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-15px) rotate(1deg); }
}

/* === ABOUT SECTION === */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--spacing-md);
}

.stat-card {
  text-align: center;
  padding: var(--spacing-lg);
  background: white;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(0, 118, 125, 0.1);
  transition: all var(--transition-normal);
}

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

.stat-card h3 {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
}

.values-list {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-lg);
}

.value-item {
  display: flex;
  align-items: flex-start;
  padding: var(--spacing-lg);
  background: white;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
}

.value-item:hover {
  transform: translateX(8px);
  box-shadow: var(--shadow-md);
}

/* === TEAM SHOWCASE === */
.team-showcase {
  background: white;
  border-radius: var(--radius-2xl);
  padding: var(--spacing-2xl);
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(0, 118, 125, 0.1);
}

.team-members {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-lg);
}

.team-member-card {
  display: flex;
  align-items: center;
  gap: var(--spacing-md);
  padding: var(--spacing-lg);
  background: var(--claro-1);
  border-radius: var(--radius-xl);
  transition: all var(--transition-normal);
  position: relative;
}

.team-member-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.member-avatar {
  width: 50px;
  height: 50px;
  border-radius: var(--radius-full);
  background: var(--gradient-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 20px;
  flex-shrink: 0;
}

.member-avatar-secondary {
  background: var(--gradient-secondary);
}

.member-avatar-accent {
  background: var(--gradient-accent);
}

.member-info {
  flex: 1;
  min-width: 0;
}

.member-role {
  flex-shrink: 0;
}

/* === SERVICE CARDS === */
.service-card {
  position: relative;
  overflow: visible;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-primary);
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.service-card:nth-child(2)::before {
  background: var(--gradient-secondary);
}

.service-card:nth-child(3)::before {
  background: var(--gradient-accent);
}

.service-header {
  text-align: center;
  padding: var(--spacing-2xl) var(--spacing-xl) var(--spacing-lg);
}

.service-highlight-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}

/* === PROCESS TIMELINE === */
.process-timeline {
  display: flex;
  justify-content: space-between;
  margin: var(--spacing-4xl) 0;
  position: relative;
}

.process-timeline::before {
  content: '';
  position: absolute;
  top: 50px;
  left: 12%;
  right: 12%;
  height: 3px;
  background: var(--gradient-primary);
  z-index: 0;
  border-radius: var(--radius-full);
}

.process-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  flex: 1;
  max-width: 250px;
  position: relative;
  z-index: 1;
}

.step-circle {
  width: 100px;
  height: 100px;
  border-radius: var(--radius-full);
  background: var(--gradient-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--spacing-lg);
  box-shadow: var(--shadow-lg);
  transition: all var(--transition-normal);
}

.step-circle:hover {
  transform: scale(1.05);
}

.step-number {
  font-size: 2rem;
  font-weight: 800;
  color: white;
}

.step-content h5 {
  color: var(--neutral-dark);
  margin-bottom: var(--spacing-sm);
}

.process-benefits {
  background: white;
  border-radius: var(--radius-2xl);
  padding: var(--spacing-2xl);
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(0, 118, 125, 0.1);
}

.benefit-card {
  padding: var(--spacing-lg);
  background: var(--claro-1);
  border-radius: var(--radius-lg);
  transition: all var(--transition-normal);
  height: 100%;
}

.benefit-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

/* === DIFFERENTIAL CARDS === */
.differential-card {
  position: relative;
  overflow: hidden;
}

.differential-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: var(--gradient-primary);
  border-radius: 0 0 var(--radius-full) var(--radius-full);
}

.differential-card:nth-child(2n)::before {
  background: var(--gradient-secondary);
}

.differential-card:nth-child(3n)::before {
  background: var(--gradient-accent);
}

/* === CTA SECTION === */
.cta-section {
  position: relative;
  padding: var(--spacing-5xl) 0;
  overflow: hidden;
}

.cta-background {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, 
    var(--primary-dark) 0%, 
    var(--primary-light) 50%,
    var(--accent-blue) 100%
  );
  z-index: -1;
}

.cta-background::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 20% 20%, rgba(232, 176, 106, 0.2) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(239, 207, 167, 0.15) 0%, transparent 50%);
  animation: float 15s ease-in-out infinite;
}

.cta-buttons {
  display: flex;
  gap: var(--spacing-md);
  justify-content: center;
  flex-wrap: wrap;
}

.contact-info {
  color: white;
}

.contact-item {
  display: flex;
  align-items: center;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 500;
  font-size: var(--text-small);
}

/* === FOOTER SECTION === */
.footer-section {
  background: var(--neutral-dark);
  color: white;
  padding: var(--spacing-4xl) 0 var(--spacing-xl);
}

.footer-logo {
  height: 40px;
  width: auto;
  filter: brightness(0) invert(1);
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: var(--spacing-sm);
}

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  font-size: var(--text-small);
  transition: all var(--transition-normal);
  display: flex;
  align-items: center;
}

.footer-links a:hover {
  color: var(--secondary-gold);
  text-decoration: none;
  padding-left: var(--spacing-sm);
}

.social-links {
  display: flex;
  gap: var(--spacing-md);
  margin-top: var(--spacing-md);
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.1);
  color: white;
  text-decoration: none;
  transition: all var(--transition-normal);
  font-size: 18px;
}

.social-link:hover {
  background: var(--primary-light);
  transform: translateY(-2px);
  text-decoration: none;
  color: white;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* === MOBILE MENU === */
.navbar-toggle {
  display: none;
  flex-direction: column;
  gap: 4px;
  background: none;
  border: none;
  cursor: pointer;
  padding: var(--spacing-sm);
  border-radius: var(--radius-sm);
  transition: all var(--transition-normal);
}

.navbar-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--neutral-dark);
  transition: all var(--transition-normal);
  border-radius: var(--radius-full);
}

.navbar-toggle:hover {
  background: var(--claro-1);
}

.navbar-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(6px, 6px);
}

.navbar-toggle.active span:nth-child(2) {
  opacity: 0;
}

.navbar-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

/* === RESPONSIVE DESIGN === */
@media (max-width: 1199px) {
  .hero-content {
    gap: var(--spacing-3xl);
  }
  
  .floating-card {
    min-width: 200px;
    padding: var(--spacing-md);
  }
}

@media (max-width: 991px) {
  .navbar-toggle {
    display: flex;
  }
  
  .hero-content {
    grid-template-columns: 1fr;
    gap: var(--spacing-3xl);
    text-align: center;
  }
  
  .hero-visual {
    height: 400px;
  }
  
  .floating-card {
    position: static;
    margin-bottom: var(--spacing-md);
    animation: none;
    display: inline-flex;
    min-width: auto;
  }
  
  .hero-floating-cards {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-md);
    justify-content: center;
  }
  
  .stats-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: var(--spacing-sm);
  }
  
  .process-timeline {
    flex-direction: column;
    gap: var(--spacing-lg);
  }
  
  .process-timeline::before {
    display: none;
  }
  
  .team-member-card {
    flex-direction: column;
    text-align: center;
    gap: var(--spacing-md);
  }
}

@media (max-width: 768px) {
  .hero-section {
    padding-top: 100px;
  }
  
  .hero-cta {
    flex-direction: column;
    align-items: center;
  }
  
  .hero-visual {
    height: auto;
  }
  
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }
  
  .value-item,
  .benefit-card {
    flex-direction: column;
    text-align: center;
    gap: var(--spacing-md);
  }
  
  .team-showcase {
    padding: var(--spacing-xl);
  }
  
  .service-header {
    padding: var(--spacing-xl) var(--spacing-md) var(--spacing-lg);
  }
}

@media (max-width: 576px) {
  .floating-card {
    flex-direction: column;
    text-align: center;
    gap: var(--spacing-sm);
    padding: var(--spacing-md);
  }
  
  .stats-grid {
    grid-template-columns: 1fr;
    gap: var(--spacing-md);
  }
  
  .values-list {
    gap: var(--spacing-md);
  }
  
  .value-item {
    padding: var(--spacing-md);
  }
  
  .team-members {
    gap: var(--spacing-md);
  }
  
  .team-member-card {
    padding: var(--spacing-md);
  }
  
  .process-benefits {
    padding: var(--spacing-xl);
  }
  
  .benefit-card {
    padding: var(--spacing-md);
  }
  
  .step-circle {
    width: 80px;
    height: 80px;
  }
  
  .step-number {
    font-size: 1.5rem;
  }
  
  .contact-info > div {
    flex-direction: column;
    gap: var(--spacing-md);
  }
  
  .footer-section {
    text-align: center;
  }
  
  .footer-bottom {
    text-align: center;
  }
  
  .footer-bottom > div {
    flex-direction: column;
    gap: var(--spacing-md);
  }
}

/* === ANIMATIONS === */
@keyframes float {
  0%, 100% { 
    transform: translateY(0px) rotate(0deg); 
    opacity: 1;
  }
  33% { 
    transform: translateY(-10px) rotate(0.5deg); 
    opacity: 0.9;
  }
  66% { 
    transform: translateY(-5px) rotate(-0.5deg); 
    opacity: 0.95;
  }
}

/* === SCROLL ANIMATIONS === */
.animate-fade-in-up,
.animate-fade-in-left,
.animate-fade-in-right {
  opacity: 0;
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.animate-fade-in-up {
  transform: translateY(30px);
}

.animate-fade-in-left {
  transform: translateX(-30px);
}

.animate-fade-in-right {
  transform: translateX(30px);
}

.animate-visible {
  opacity: 1 !important;
  transform: translateY(0) translateX(0) !important;
}

/* === UTILITIES === */
.text-display {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

/* === ACCESSIBILITY === */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  
  .floating-card,
  .hero-background::before {
    animation: none !important;
  }
}

/* === PRINT STYLES === */
@media print {
  .hero-section,
  .cta-section,
  .footer-section {
    background: white !important;
    color: black !important;
  }
  
  .navbar-custom {
    display: none;
  }
  
  .card-custom {
    box-shadow: none !important;
    border: 1px solid #ddd !important;
  }
  
  .section {
    padding: 20px 0 !important;
  }
}