/* ====== CONTACT SECTION ====== */
.contact-section {
  position: relative;
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  padding-top: 80px;
  padding-bottom: 80px;
  overflow: hidden;
}

.contact-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(800px 600px at 30% 20%, rgba(99,102,241,0.15), transparent),
              radial-gradient(600px 400px at 80% 80%, rgba(16,185,129,0.12), transparent);
}

.contact-particles {
  position: absolute;
  width: 100%;
  height: 100%;
  background-image: 
    radial-gradient(2px 2px at 20px 30px, rgba(99,102,241,0.3), transparent),
    radial-gradient(2px 2px at 40px 70px, rgba(16,185,129,0.2), transparent),
    radial-gradient(1px 1px at 90px 40px, rgba(99,102,241,0.2), transparent);
  background-repeat: repeat;
  background-size: 150px 150px;
  animation: contactFloat 20s linear infinite;
}

@keyframes contactFloat {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
  100% { transform: translateY(0px); }
}

.contact-subtitle {
  color: #aab0c0;
  margin-top: -8px;
  font-size: 1.1rem;
}

.contact-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  margin-top: 40px;
  align-items: start;
}

.contact-cta h3 {
  font-size: 2rem;
  margin-bottom: 16px;
  background: linear-gradient(135deg, #6366f1, #10b981);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.contact-cta p {
  color: #cbd5e1;
  margin-bottom: 24px;
  line-height: 1.6;
}

.contact-reasons {
  display: grid;
  gap: 12px;
}

.reason-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  color: #e2e8f0;
}

.reason-item i {
  width: 20px;
  color: #6366f1;
}

.contact-links {
  display: grid;
  gap: 16px;
}

.contact-link {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px;
  background: rgba(17, 24, 39, 0.8);
  border: 1px solid rgba(99,102,241,0.2);
  border-radius: 12px;
  text-decoration: none;
  color: inherit;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.contact-link::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(99,102,241,0.1), transparent);
  transition: left 0.5s;
}

.contact-link:hover::before {
  left: 100%;
}

.contact-link:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.3);
  border-color: rgba(99,102,241,0.4);
}

.contact-link.primary {
  border-color: rgba(99,102,241,0.4);
  background: rgba(99,102,241,0.1);
}

.contact-link.primary .contact-icon {
  background: linear-gradient(135deg, #6366f1, #8b5cf6);
}

.contact-icon {
  width: 50px;
  height: 50px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(99,102,241,0.2);
  color: #c7d2fe;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.contact-info {
  flex-grow: 1;
}

.contact-info h4 {
  margin: 0 0 4px;
  font-size: 1.1rem;
  color: #f1f5f9;
}

.contact-info span {
  color: #94a3b8;
  font-size: 0.95rem;
}

.contact-arrow {
  color: #6366f1;
  opacity: 0;
  transition: all 0.3s ease;
  transform: translateX(-10px);
}

.contact-link:hover .contact-arrow {
  opacity: 1;
  transform: translateX(0);
}

/* ====== FOOTER ====== */
.footer {
  background: linear-gradient(180deg, #0f172a 0%, #020617 100%);
  border-top: 1px solid rgba(99,102,241,0.1);
  padding-top: 60px;
  padding-bottom: 30px;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.footer-main {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 60px;
  margin-bottom: 40px;
}

.footer-logo h3 {
  font-size: 1.8rem;
  margin: 0 0 8px;
  color: #f1f5f9;
}

.footer-logo span {
  background: linear-gradient(135deg, #6366f1, #10b981);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.footer-logo p {
  color: #94a3b8;
  margin: 0;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.footer-column h4 {
  color: #f1f5f9;
  margin: 0 0 16px;
  font-size: 1rem;
}

.footer-column a {
  display: block;
  color: #94a3b8;
  text-decoration: none;
  margin-bottom: 8px;
  transition: color 0.3s ease;
}

.footer-column a:hover {
  color: #6366f1;
}

.footer-tech {
  display: inline-block;
  background: rgba(99,102,241,0.1);
  color: #c7d2fe;
  padding: 4px 8px;
  border-radius: 6px;
  font-size: 0.85rem;
  margin: 2px 4px 2px 0;
  border: 1px solid rgba(99,102,241,0.2);
}

.footer-bottom {
  margin-top: 40px;
}

.footer-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(99,102,241,0.3), transparent);
  margin-bottom: 24px;
}

.footer-final {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-final p {
  color: #64748b;
  margin: 0;
}

.footer-status {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #10b981;
  font-size: 0.9rem;
}

.status-dot {
  width: 8px;
  height: 8px;
  background: #10b981;
  border-radius: 50%;
  animation: statusPulse 2s infinite;
}

@keyframes statusPulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

/* Responsive */
@media (max-width: 900px) {
  .contact-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .footer-main {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .footer-links {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .footer-final {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }
}

@media (max-width: 600px) {
  .contact-links {
    gap: 12px;
  }
  
  .contact-link {
    padding: 16px;
  }
  
  .contact-icon {
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }
}

/* ====== NOW SECTION ====== */
.now-section {
  position: relative;
  background: radial-gradient(1200px 400px at 10% -10%, rgba(99,102,241,.15), transparent),
              radial-gradient(1000px 500px at 110% 10%, rgba(16,185,129,.12), transparent);
  padding-top: 80px;
  padding-bottom: 80px;
}

.now-subtitle {
  color: #aab0c0;
  margin-top: -8px;
}

.now-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: 24px;
}

.now-card {
  position: relative;
  background: rgba(17, 24, 39, 0.7);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(99,102,241,0.2);
  border-radius: 14px;
  padding: 20px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.25);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.now-card.elevated {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(0,0,0,0.35);
  border-color: rgba(99,102,241,0.35);
}

.now-card.pressed {
  transform: translateY(0) scale(0.99);
}

.now-card-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(99,102,241,0.25), rgba(16,185,129,0.25));
  color: #c7d2fe;
  margin-bottom: 10px;
  border: 1px solid rgba(255,255,255,0.12);
}

.now-card h3 {
  margin: 6px 0 10px;
}

.now-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.now-list li {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 0;
  border-bottom: 1px dashed rgba(255,255,255,0.08);
}

.now-list li:last-child {
  border-bottom: 0;
}

.now-mini-log {
  margin-top: 28px;
  background: rgba(17, 24, 39, 0.6);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px;
  padding: 16px;
}

.mini-log-title {
  margin: 0 0 10px;
  font-size: 1.05rem;
  color: #cbd5e1;
}

.mini-log-items { display: grid; gap: 10px; }
.mini-log-item {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 14px;
  align-items: baseline;
}
.log-date { color: #93c5fd; font-variant-numeric: tabular-nums; }
.log-text { color: #e5e7eb; }

@media (max-width: 900px) {
  .now-grid { grid-template-columns: 1fr; }
}
:root {
  --primary: #6366f1;
  --primary-dark: #4f46e5;
  --secondary: #06b6d4;
  --dark: #1e293b;
  --darker: #0f172a;
  --light: #f1f5f9;
  --gray: #64748b;
  --success: #10b981;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', sans-serif;
  color: var(--light);
  background-color: var(--darker);
  line-height: 1.6;
  overflow-x: hidden;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

section {
  padding: 5rem 0;
}

h1, h2, h3, h4 {
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1.5rem;
}

h1 {
  font-size: 3.5rem;
}

h2 {
  font-size: 2.5rem;
  position: relative;
  display: inline-block;
}

h2::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  border-radius: 2px;
}

p {
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
  color: #cbd5e1;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: all 0.3s ease;
}

a:hover {
  color: var(--secondary);
}

.btn {
  display: inline-block;
  padding: 0.8rem 2rem;
  background: linear-gradient(90deg, var(--primary), var(--primary-dark));
  color: white;
  border-radius: 50px;
  font-weight: 500;
  transition: all 0.3s ease;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  border: none;
  cursor: pointer;
  margin: 0 0.5rem;
}

.btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
  background: linear-gradient(90deg, var(--primary-dark), var(--primary));
  color: white;
}

.btn-outline {
  background: transparent;
  border: 2px solid var(--primary);
  color: var(--primary);
}

.btn-outline:hover {
  background: var(--primary);
  color: white;
}

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 5rem 0 2rem; /* Reducido padding-top por navbar más pequeña */
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at top right, rgba(79, 70, 229, 0.2), transparent 30%),
              radial-gradient(circle at bottom left, rgba(6, 182, 212, 0.2), transparent 30%);
  z-index: -1;
}

.hero-content {
  text-align: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
}

.hero-image-container {
  flex-shrink: 0;
  display: flex;
  justify-content: center;
}

.hero-text {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  max-width: 800px;
}

.hero-img {
  width: 280px;
  height: 280px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
}

.hero-img:hover {
  transform: scale(1.05);
  border-color: var(--secondary);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.4);
}

/* Landscape layout for larger screens */
@media (min-width: 992px) and (orientation: landscape) {
  .hero-content {
    flex-direction: row;
    text-align: left;
    gap: 3rem;
    align-items: flex-start;
    max-width: 1300px;
    justify-content: center;
  }
  
  .hero-image-container {
    order: 1;
    flex-shrink: 0;
    display: flex;
    align-items: center;
  }
  
  .hero-text {
    order: 2;
    align-items: flex-start;
    text-align: left;
    flex-grow: 1;
    max-width: 700px;
    justify-content: center;
  }
  
  .hero-img {
    width: 250px;
    height: 250px;
  }
  
  .hero h1 {
    text-align: left;
    margin-bottom: 1.5rem;
    font-size: 3.2rem;
  }
  
  .hero p {
    text-align: left;
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
  }
  
  .tech-stack {
    margin: 1.5rem 0 0;
    width: 100%;
  }
  
  .tech-icons {
    justify-content: flex-start;
    max-width: 100%;
  }
}

/* Extra large screens */
@media (min-width: 1400px) and (orientation: landscape) {
  .hero-content {
    gap: 4rem;
  }
  
  .hero-img {
    width: 280px;
    height: 280px;
  }
  
  .hero h1 {
    font-size: 3.6rem;
  }
  
  .hero p {
    font-size: 1.4rem;
  }
}

/* Medium landscape tablets */
@media (min-width: 768px) and (max-width: 991px) and (orientation: landscape) {
  .hero-content {
    flex-direction: row;
    text-align: left;
    gap: 3rem;
    align-items: center;
  }
  
  .hero-text {
    align-items: flex-start;
    text-align: left;
  }
  
  .hero-img {
    width: 160px;
    height: 160px;
  }
  
  .hero h1 {
    font-size: 2.2rem;
    text-align: left;
  }
  
  .hero p {
    font-size: 1.2rem;
    text-align: left;
  }
}

.hero h1 {
  font-size: 3.5rem;
  margin-bottom: 1rem;
  background: linear-gradient(90deg, #fff, var(--secondary));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero p {
  font-size: 1.5rem;
  margin-bottom: 2rem;
  color: #cbd5e1;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 1rem;
}

@media (min-width: 992px) and (orientation: landscape) {
  .hero-buttons {
    justify-content: flex-start;
  }
}

.highlight {
  color: var(--secondary);
  font-weight: 700;
}

/* Tech Stack */
.tech-stack {
  margin: 2rem 0 1rem;
}

.tech-icons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin-top: 1rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* Desktop - distribución en filas centradas */
@media (min-width: 992px) {
  .tech-icons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.2rem;
    max-width: 700px;
    margin: 1rem auto 0;
  }
}

@media (min-width: 1200px) {
  .tech-icons {
    max-width: 850px;
    gap: 1.3rem;
  }
}

.tech-icon {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 1.2rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 16px;
  transition: all 0.4s ease;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  min-width: 110px;
  text-align: center;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.8s ease-out forwards;
  cursor: pointer;
}

.tech-icon:hover {
  transform: translateY(-8px) scale(1.05);
  background: rgba(255, 255, 255, 0.15);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.tech-icon:hover img {
  transform: scale(1.1);
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.4)) brightness(1.1);
}

.tech-icon img {
  margin-bottom: 0.8rem;
  filter: drop-shadow(0 3px 6px rgba(0, 0, 0, 0.3));
  transition: all 0.3s ease;
}

.tech-icon span {
  font-size: 0.85rem;
  color: #cbd5e1;
  font-weight: 500;
  transition: color 0.3s ease;
}

.tech-icon:hover span {
  color: #ffffff;
}

/* Animación de aparición secuencial */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.tech-icon:nth-child(1) { animation-delay: 0s; }
.tech-icon:nth-child(2) { animation-delay: 0.1s; }
.tech-icon:nth-child(3) { animation-delay: 0.2s; }
.tech-icon:nth-child(4) { animation-delay: 0.3s; }
.tech-icon:nth-child(5) { animation-delay: 0.4s; }
.tech-icon:nth-child(6) { animation-delay: 0.5s; }
.tech-icon:nth-child(7) { animation-delay: 0.6s; }
.tech-icon:nth-child(8) { animation-delay: 0.7s; }
.tech-icon:nth-child(9) { animation-delay: 0.8s; }
.tech-icon:nth-child(10) { animation-delay: 0.9s; }
.tech-icon:nth-child(11) { animation-delay: 1.0s; }
.tech-icon:nth-child(12) { animation-delay: 1.1s; }
.tech-icon:nth-child(13) { animation-delay: 1.2s; }
.tech-icon:nth-child(14) { animation-delay: 1.3s; }
.tech-icon:nth-child(15) { animation-delay: 1.4s; }
.tech-icon:nth-child(16) { animation-delay: 1.5s; }
.tech-icon:nth-child(17) { animation-delay: 1.6s; }
.tech-icon:nth-child(18) { animation-delay: 1.7s; }

/* Click animation for tech icons */
.tech-icon.clicked {
  transform: scale(0.95);
  background: rgba(99, 102, 241, 0.2);
}

/* Floating effect */
.tech-icon {
  animation: fadeInUp 0.8s ease-out forwards, float 6s ease-in-out infinite;
}

@keyframes float {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-5px);
  }
}

.tech-icon:hover {
  animation-play-state: paused;
}

/* Staggered float animation */
.tech-icon:nth-child(odd) {
  animation-delay: 0s, var(--float-delay, 0s);
}

.tech-icon:nth-child(even) {
  animation-delay: 0s, calc(var(--float-delay, 0s) + 3s);
}

/* Section Styles */
.section {
  position: relative;
}

.section-title {
  text-align: center;
  margin-bottom: 4rem;
}

.section-title h2 {
  font-size: 2.5rem;
}

.section-title h2::after {
  left: 50%;
  transform: translateX(-50%);
}

/* Nueva Sección de Tecnologías - Separada del Hero */
.tech-section {
  padding: 6rem 0;
  background: linear-gradient(135deg, 
    rgba(15, 23, 42, 0.98) 0%, 
    rgba(30, 41, 59, 0.98) 50%, 
    rgba(15, 23, 42, 0.98) 100%
  );
  position: relative;
  overflow: hidden;
}

.tech-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="techgrain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="0.5" fill="rgba(255,255,255,0.02)"/><circle cx="75" cy="75" r="0.5" fill="rgba(255,255,255,0.02)"/></pattern></defs><rect width="100" height="100" fill="url(%23techgrain)"/></svg>');
  opacity: 0.4;
  pointer-events: none;
}

.tech-section h2 {
  text-align: center;
  font-size: 2.8rem;
  font-weight: 700;
  margin-bottom: 4rem;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  position: relative;
  z-index: 2;
}

.tech-grid-container {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.tech-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 2rem;
  justify-items: center;
}

.tech-grid .tech-icon {
  background: rgba(30, 41, 59, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 20px;
  padding: 2rem 1.5rem;
  text-align: center;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(15px);
  cursor: pointer;
  min-height: 140px;
  width: 100%;
  max-width: 180px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  opacity: 1;
  transform: translateY(0);
}

.tech-grid .tech-icon::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, 
    rgba(99, 102, 241, 0.15), 
    rgba(168, 85, 247, 0.15)
  );
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: 1;
}

.tech-grid .tech-icon:hover::before {
  opacity: 1;
}

.tech-grid .tech-icon:hover {
  transform: translateY(-12px) scale(1.05);
  border-color: rgba(99, 102, 241, 0.5);
  box-shadow: 
    0 25px 50px rgba(99, 102, 241, 0.25),
    0 0 0 1px rgba(255, 255, 255, 0.1);
}

.tech-grid .tech-icon img {
  width: 56px !important;
  height: 56px !important;
  transition: all 0.4s ease;
  position: relative;
  z-index: 2;
}

.tech-grid .tech-icon:hover img {
  transform: scale(1.15) rotate(8deg);
  filter: drop-shadow(0 6px 16px rgba(0, 0, 0, 0.4));
}

.tech-grid .tech-icon span {
  color: var(--text);
  font-size: 1rem;
  font-weight: 600;
  position: relative;
  z-index: 2;
  transition: color 0.3s ease;
}

.tech-grid .tech-icon:hover span {
  color: var(--primary);
}

@keyframes slideUpTech {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive para la nueva sección */
@media (max-width: 768px) {
  .tech-section {
    padding: 4rem 0;
  }
  
  .tech-section h2 {
    font-size: 2.2rem;
    margin-bottom: 2.5rem;
  }
  
  .tech-grid {
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 1.5rem;
  }
  
  .tech-grid .tech-icon {
    min-height: 110px;
    padding: 1.5rem 1rem;
  }
  
  .tech-grid .tech-icon img {
    width: 42px !important;
    height: 42px !important;
  }
  
  .tech-grid .tech-icon span {
    font-size: 0.9rem;
  }
}

/* About Section */
.skills-list {
  list-style: none;
  margin-bottom: 2rem;
}

.skills-list li {
  margin-bottom: 0.8rem;
  display: flex;
  align-items: center;
  font-size: 1.1rem;
}

.skills-list li i {
  margin-right: 1rem;
  color: var(--secondary);
  font-size: 1.3rem;
  width: 24px;
}

.quote {
  padding: 2rem;
  border-left: 4px solid var(--primary);
  background: rgba(30, 41, 59, 0.5);
  border-radius: 0 8px 8px 0;
  margin: 2rem 0;
  font-style: italic;
}

/* Timeline */
.timeline-section {
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.8) 0%, rgba(30, 41, 59, 0.6) 100%);
  position: relative;
  overflow: hidden;
}

.timeline-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg width="60" height="60" viewBox="0 0 60 60" xmlns="http://www.w3.org/2000/svg"><g fill="none" fill-rule="evenodd"><g fill="%236366f1" fill-opacity="0.05"><circle cx="30" cy="30" r="1"/></g></g></svg>');
  z-index: 0;
}

.timeline {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  padding: 2rem 0;
  z-index: 1;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 100%;
  background: linear-gradient(to bottom, 
    var(--primary), 
    var(--secondary), 
    var(--primary)
  );
  border-radius: 2px;
  box-shadow: 0 0 20px rgba(99, 102, 241, 0.3);
  z-index: 1;
}

.timeline-item {
  position: relative;
  margin-bottom: 4rem;
  width: 45%;
  opacity: 1;
  transform: translateY(0);
  transition: all 0.3s ease;
}

.timeline-item:nth-child(odd) {
  left: 0;
}

.timeline-item:nth-child(even) {
  left: 55%;
}

.timeline-content {
  position: relative;
  padding: 2rem;
  background: rgba(30, 41, 59, 0.9);
  border-radius: 20px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  transition: all 0.4s ease;
  overflow: hidden;
}

.timeline-content::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
}

.timeline-content:hover {
  transform: translateY(-8px);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
  border-color: rgba(99, 102, 241, 0.3);
}

.timeline-icon {
  position: absolute;
  top: 30px;
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.5rem;
  box-shadow: 0 10px 25px rgba(99, 102, 241, 0.4);
  z-index: 2;
  transition: all 0.3s ease;
}

.timeline-item:nth-child(odd) .timeline-icon {
  right: -30px;
}

.timeline-item:nth-child(even) .timeline-icon {
  left: -30px;
}

.timeline-icon:hover {
  transform: scale(1.1) rotate(10deg);
  box-shadow: 0 15px 30px rgba(99, 102, 241, 0.6);
}

.timeline-content h3 {
  margin: 0 0 1rem 0;
  font-size: 1.4rem;
  color: #ffffff;
  font-weight: 700;
}

.timeline-content .year {
  display: inline-block;
  padding: 0.5rem 1.2rem;
  background: rgba(99, 102, 241, 0.2);
  color: var(--secondary);
  border-radius: 25px;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 1rem;
  border: 1px solid rgba(99, 102, 241, 0.3);
}

.timeline-content p {
  margin-bottom: 1.5rem;
  line-height: 1.7;
  color: #cbd5e1;
}

.timeline-tech {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1rem;
}

.tech-tag {
  padding: 0.3rem 0.8rem;
  background: rgba(6, 182, 212, 0.2);
  color: var(--secondary);
  border-radius: 15px;
  font-size: 0.8rem;
  font-weight: 500;
  border: 1px solid rgba(6, 182, 212, 0.3);
  transition: all 0.3s ease;
}

.tech-tag:hover {
  background: rgba(6, 182, 212, 0.3);
  transform: translateY(-2px);
}

.timeline-item.current .timeline-content {
  background: rgba(99, 102, 241, 0.1);
  border-color: rgba(99, 102, 241, 0.3);
  box-shadow: 0 20px 40px rgba(99, 102, 241, 0.2);
}

.timeline-item.current .timeline-icon {
  background: linear-gradient(135deg, #fbbf24, #f59e0b);
  animation: pulse 2s infinite;
}

.timeline-item.current .year {
  background: rgba(251, 191, 36, 0.2);
  color: #fbbf24;
  border-color: rgba(251, 191, 36, 0.3);
}

@keyframes slideInTimeline {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pulse {
  0%, 100% {
    transform: scale(1);
    box-shadow: 0 10px 25px rgba(251, 191, 36, 0.4);
  }
  50% {
    transform: scale(1.05);
    box-shadow: 0 15px 35px rgba(251, 191, 36, 0.6);
  }
}

@keyframes bounceIn {
  0% {
    opacity: 0;
    transform: scale(0.3) rotate(-180deg);
  }
  50% {
    opacity: 1;
    transform: scale(1.1) rotate(-90deg);
  }
  70% {
    transform: scale(0.9) rotate(-10deg);
  }
  100% {
    opacity: 1;
    transform: scale(1) rotate(0deg);
  }
}

/* Cards */
.exp-card, .project-card, .testimonial {
  background: rgba(30, 41, 59, 0.7);
  border-radius: 12px;
  padding: 2rem;
  margin-bottom: 2rem;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.exp-card:hover, .project-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
  border-color: rgba(99, 102, 241, 0.3);
}

.img-placeholder {
  height: 500px; /* Puedes ajustar esto */
  background: linear-gradient(45deg, var(--dark), var(--darker));
  border-radius: 8px;
  margin: 1.5rem 0;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray);
  font-style: italic;
  position: relative;
}

/* Si contiene una imagen */
.img-placeholder img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Si hay imagen, oculta el texto (en caso alguien lo dejara por error) */
.img-placeholder:has(img) {
  color: transparent;
  font-style: normal;
}


/* Projects Grid */
.projects-section {
  background: rgba(15, 23, 42, 0.5);
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

/* Responsive for projects */
@media (max-width: 1100px) {
  .projects-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .projects-grid {
    grid-template-columns: 1fr;
  }
}

/* Philosophy Section */
.philosophy-section {
  background: linear-gradient(135deg, 
    rgba(15, 23, 42, 0.95) 0%, 
    rgba(30, 41, 59, 0.9) 50%, 
    rgba(15, 23, 42, 0.95) 100%
  );
  position: relative;
  overflow: hidden;
  padding: 8rem 0;
}

.philosophy-background {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 0;
}

.philosophy-particles {
  position: absolute;
  width: 100%;
  height: 100%;
  background: 
    radial-gradient(circle at 20% 20%, rgba(99, 102, 241, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(6, 182, 212, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 40% 70%, rgba(139, 92, 246, 0.05) 0%, transparent 50%);
  animation: philosophyFloat 20s ease-in-out infinite;
}

@keyframes philosophyFloat {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  33% { transform: translateY(-10px) rotate(1deg); }
  66% { transform: translateY(5px) rotate(-1deg); }
}

.philosophy-section .container {
  position: relative;
  z-index: 2;
}

.philosophy-subtitle {
  text-align: center;
  font-size: 1.3rem;
  color: var(--secondary);
  font-style: italic;
  margin-top: 4rem;
  margin-bottom: 3rem;
  opacity: 0.9;
}

/* Philosophy Hero Quote */
.philosophy-hero {
  margin-bottom: 6rem;
  display: flex;
  justify-content: center;
}

.philosophy-quote {
  max-width: 900px;
  text-align: center;
  position: relative;
  padding: 3rem 2rem;
  background: rgba(30, 41, 59, 0.6);
  border-radius: 20px;
  backdrop-filter: blur(15px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.quote-icon {
  position: absolute;
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.5rem;
  box-shadow: 0 10px 25px rgba(99, 102, 241, 0.4);
}

.philosophy-quote blockquote {
  font-size: 1.4rem;
  line-height: 1.7;
  margin-bottom: 2rem;
  color: #e2e8f0;
  font-weight: 300;
  font-style: italic;
}

.highlight-text {
  color: var(--secondary);
  font-weight: 600;
  position: relative;
}

.highlight-text::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  border-radius: 1px;
  opacity: 0.7;
}

.quote-author {
  color: var(--primary);
  font-weight: 600;
  font-size: 1.1rem;
}

/* Philosophy Pillars */
.philosophy-pillars {
  margin-bottom: 6rem;
}

.pillars-title {
  text-align: center;
  font-size: 2.2rem;
  color: #ffffff;
  margin-bottom: 3rem;
  position: relative;
}

.pillars-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  border-radius: 2px;
}

.pillars-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2.5rem;
  margin-top: 4rem;
}

.pillar-card {
  background: rgba(30, 41, 59, 0.7);
  border-radius: 20px;
  padding: 2.5rem;
  position: relative;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  cursor: pointer;
  overflow: hidden;
}

.pillar-glow {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: 20px;
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: 1;
}

.pillar-card[data-pillar="innovation"] .pillar-glow {
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.2), rgba(139, 92, 246, 0.1));
}

.pillar-card[data-pillar="efficiency"] .pillar-glow {
  background: linear-gradient(135deg, rgba(6, 182, 212, 0.2), rgba(14, 165, 233, 0.1));
}

.pillar-card[data-pillar="purpose"] .pillar-glow {
  background: linear-gradient(135deg, rgba(236, 72, 153, 0.2), rgba(251, 113, 133, 0.1));
}

.pillar-card:hover {
  transform: translateY(-12px) scale(1.02);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.4);
  border-color: rgba(255, 255, 255, 0.2);
}

.pillar-card:hover .pillar-glow {
  opacity: 1;
}

.pillar-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 2rem;
  position: relative;
  z-index: 2;
  transition: all 0.3s ease;
}

.pillar-card:hover .pillar-icon {
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 15px 30px rgba(99, 102, 241, 0.4);
}

.pillar-icon i {
  font-size: 2rem;
  color: white;
}

.pillar-content {
  position: relative;
  z-index: 2;
}

.pillar-content h4 {
  font-size: 1.5rem;
  color: #ffffff;
  margin-bottom: 1rem;
  font-weight: 700;
}

.pillar-content p {
  color: #cbd5e1;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.pillar-feature {
  display: inline-block;
  background: rgba(99, 102, 241, 0.2);
  color: var(--secondary);
  padding: 0.5rem 1rem;
  border-radius: 25px;
  font-size: 0.9rem;
  font-weight: 600;
  border: 1px solid rgba(99, 102, 241, 0.3);
  transition: all 0.3s ease;
}

.pillar-card:hover .pillar-feature {
  background: rgba(99, 102, 241, 0.3);
  transform: translateY(-2px);
}

/* Philosophy Approach */
.philosophy-approach {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.approach-text h3 {
  font-size: 2rem;
  color: #ffffff;
  margin-bottom: 1.5rem;
  position: relative;
}

.approach-text h3::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  border-radius: 2px;
}

.approach-text p {
  font-size: 1.2rem;
  line-height: 1.7;
  color: #cbd5e1;
  margin-bottom: 2.5rem;
}

.approach-balance {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2rem;
}

.balance-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.balance-icon {
  width: 70px;
  height: 70px;
  background: rgba(30, 41, 59, 0.8);
  border: 2px solid rgba(99, 102, 241, 0.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  transition: all 0.3s ease;
}

.balance-icon i {
  font-size: 1.8rem;
  color: var(--secondary);
}

.balance-item span {
  color: #e2e8f0;
  font-weight: 600;
  font-size: 1.1rem;
}

.balance-connector {
  margin: 0 2rem;
  position: relative;
  display: flex;
  align-items: center;
}

.connector-line {
  width: 80px;
  height: 2px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  border-radius: 1px;
}

.connector-center {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 30px;
  height: 30px;
  background: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 0.8rem;
}

.visual-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.visual-item {
  background: rgba(30, 41, 59, 0.6);
  border-radius: 16px;
  padding: 2rem;
  text-align: center;
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  position: relative;
  overflow: hidden;
}

.visual-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, 
    rgba(99, 102, 241, 0.1), 
    rgba(6, 182, 212, 0.1)
  );
  opacity: 0;
  transition: opacity 0.3s ease;
}

.visual-item:hover::before {
  opacity: 1;
}

.visual-item:hover {
  transform: translateY(-8px);
  border-color: rgba(99, 102, 241, 0.3);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

.visual-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  transition: all 0.3s ease;
  position: relative;
  z-index: 2;
}

.visual-item:hover .visual-icon {
  transform: scale(1.1) rotate(5deg);
}

.visual-icon i {
  font-size: 1.5rem;
  color: white;
}

.visual-item span {
  display: block;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 0.5rem;
  position: relative;
  z-index: 2;
}

.visual-description {
  font-size: 0.9rem;
  color: #94a3b8;
  position: relative;
  z-index: 2;
}

/* Responsive Design for Philosophy */
@media (max-width: 991px) {
  .philosophy-approach {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .pillars-grid {
    grid-template-columns: 1fr;
  }
  
  .approach-balance {
    flex-direction: column;
    gap: 1rem;
  }
  
  .balance-connector {
    margin: 1rem 0;
    flex-direction: column;
  }
  
  .connector-line {
    width: 2px;
    height: 40px;
  }
}

@media (max-width: 768px) {
  .philosophy-section {
    padding: 6rem 0;
  }
  
  .philosophy-quote {
    padding: 2rem 1.5rem;
  }
  
  .philosophy-quote blockquote {
    font-size: 1.2rem;
  }
  
  .pillars-title {
    font-size: 1.8rem;
  }
  
  .visual-grid {
    grid-template-columns: 1fr;
  }
  
  .pillar-card {
    padding: 2rem;
  }
}

/* Testimonials */
.testimonials-section {
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.8), rgba(30, 41, 59, 0.6));
  position: relative;
  overflow: hidden;
}

.testimonials-container {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  min-height: 200px;
  display: flex;
  align-items: center;
}

.testimonial {
  position: absolute;
  width: 100%;
  opacity: 0;
  transform: translateX(50px);
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  text-align: center;
  padding: 2rem;
  background: rgba(30, 41, 59, 0.8);
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
}

.testimonial.active {
  opacity: 1;
  transform: translateX(0);
  z-index: 2;
}

.testimonial.leaving {
  opacity: 0;
  transform: translateX(-50px);
  z-index: 1;
}

.testimonial::before {
  content: '"';
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 4rem;
  color: rgba(99, 102, 241, 0.3);
  font-family: Georgia, serif;
  z-index: -1;
}

.testimonial p {
  font-size: 1.2rem;
  font-style: italic;
  margin-bottom: 1.5rem;
  line-height: 1.6;
  color: var(--text);
}

.testimonial span {
  color: var(--secondary);
  font-weight: 600;
  font-size: 1rem;
}

.testimonial-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  margin-top: 3rem;
}

.testimonial-btn {
  background: rgba(99, 102, 241, 0.2);
  border: 1px solid rgba(99, 102, 241, 0.4);
  color: var(--primary);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.testimonial-btn:hover {
  background: rgba(99, 102, 241, 0.4);
  border-color: var(--primary);
  transform: scale(1.1);
}

.testimonial-dots {
  display: flex;
  gap: 0.8rem;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  cursor: pointer;
  transition: all 0.3s ease;
}

.dot.active {
  background: var(--primary);
  transform: scale(1.2);
}

.dot:hover {
  background: rgba(99, 102, 241, 0.7);
}

/* Contact */
#contact ul {
  list-style: none;
}

#contact li {
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
}

#contact li i {
  margin-right: 1rem;
  color: var(--secondary);
  font-size: 1.3rem;
  width: 24px;
}

/* Footer */
footer {
  text-align: center;
  padding: 2rem 0;
  background: rgba(15, 23, 42, 0.8);
  margin-top: 4rem;
}

/* Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in {
  opacity: 0;
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in.show {
  opacity: 1;
}

/* Navigation */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 1rem 0;
  z-index: 1000;
  background: rgba(15, 23, 42, 0.75);
  backdrop-filter: blur(8px);
  transition: all 0.3s ease;
}

.navbar.hidden {
  transform: translateY(-100%);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

@media (min-width: 769px) {
  .menu-toggle {
    display: none;
  }
  
  .nav-links {
    display: flex !important;
    position: static !important;
    height: auto !important;
    width: auto !important;
    flex-direction: row !important;
    background: transparent !important;
    clip-path: none !important;
  }
  
  .nav-links li {
    margin: 0 0 0 2rem !important;
  }
  
  .nav-links a {
    font-size: 1rem !important;
  }
}

.logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: white;
}

.logo span {
  color: var(--secondary);
}

.nav-links {
  display: flex;
  list-style: none;
}

.nav-links li {
  margin-left: 2rem;
}

.nav-links a {
  color: var(--light);
  font-weight: 500;
}

.nav-links a:hover {
  color: var(--secondary);
}

/* Mobile Nav */
.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-around;
  width: 2rem;
  height: 2rem;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
}

.menu-toggle span {
  width: 2rem;
  height: 0.25rem;
  background: var(--light);
  border-radius: 10px;
  transition: all 0.3s linear;
}

/* Responsive Design */
/* Responsive Design */
/* Large Desktop (1400px+) */
@media (min-width: 1400px) {
  .container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 2rem;
  }
  
  .hero-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 5rem;
    padding: 2rem 0;
  }
  
  .hero-image-container {
    flex: 1;
    max-width: 650px;
    text-align: center;
  }
  
  .hero-text {
    flex: 1.3;
    max-width: 700px;
    text-align: left;
  }

  .hero h1 {
    font-size: 3.8rem;
    margin-bottom: 1.5rem;
    line-height: 1.1;
  }
  
  .hero p {
    font-size: 1.4rem;
    line-height: 1.6;
    margin-bottom: 2.5rem;
    max-width: 650px;
  }
  
  .hero-buttons {
    display: flex;
    gap: 1.5rem;
    margin-top: 2rem;
  }

  .btn {
    padding: 1.3rem 2.8rem;
    font-size: 1.15rem;
    border-radius: 50px;
  }

  .hero-img {
    width: 450px;
    height: 450px;
    border-radius: 50%;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  }
  
  .timeline {
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem 2rem;
  }
}

/* Desktop (1200px - 1399px) */
@media (min-width: 1200px) and (max-width: 1399px) {
  .hero h1 {
    font-size: 3.5rem;
  }
  
  .hero-img {
    width: 400px;
    height: 400px;
  }
  
  .nav-container {
    max-width: 1100px;
  }
}

/* Laptop/Tablet Landscape (992px - 1199px) */
@media (min-width: 992px) and (max-width: 1199px) {
  .container {
    max-width: 960px;
    padding: 0 1.5rem;
  }
  
  .hero-content {
    max-width: 750px;
  }
  
  .hero h1 {
    font-size: 3rem;
  }
  
  .timeline {
    max-width: 750px;
  }
  
  .timeline::before {
    left: 50%;
    transform: translateX(-50%);
    width: 3px;
  }
  
  .timeline-content {
    padding: 1.8rem;
  }
}

/* Tablet Portrait (768px - 991px) */
@media (min-width: 768px) and (max-width: 991px) {
  .container {
    max-width: 720px;
    padding: 0 1rem;
  }
  
  .hero {
    min-height: 90vh;
    padding: 5rem 0 3rem;
  }
  
  .hero-content {
    max-width: 600px;
    gap: 1.5rem;
  }
  
  .hero-img {
    width: 160px;
    height: 160px;
  }
  
  .hero h1 {
    font-size: 2.5rem;
  }
  
  .hero p {
    font-size: 1.3rem;
  }
  
  .tech-icons {
    gap: 1rem;
    max-width: 500px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
  }
  
  .tech-icon {
    min-width: 90px;
    padding: 0.9rem;
  }
  
  .tech-icon img {
    width: 36px !important;
    height: 36px !important;
  }
  
  .timeline::before {
    left: 50%;
    transform: translateX(-50%);
    width: 3px;
  }
  
  .nav-links {
    gap: 1rem;
  }
  
  .nav-links a {
    font-size: 0.9rem;
  }
}

/* Mobile Landscape (576px - 767px) */
@media (min-width: 576px) and (max-width: 767px) {
  .hero {
    min-height: 80vh;
    padding: 5rem 0 2rem;
  }
  
  .hero-content {
    gap: 1rem;
  }
  
  .hero-img {
    width: 140px;
    height: 140px;
  }
  
  .hero h1 {
    font-size: 2.2rem;
    margin-bottom: 0.5rem;
  }
  
  .hero p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
  }
  
  .tech-icons {
    gap: 0.8rem;
  }
  
  .tech-icon {
    min-width: 80px;
    padding: 0.8rem;
  }
  
  .tech-icon img {
    width: 30px !important;
    height: 30px !important;
  }
  
  .tech-icon span {
    font-size: 0.7rem;
  }
  
  /* Timeline mobile landscape fixes */
  .timeline::before {
    left: 20px;
    transform: none;
    width: 2px;
  }
  
  .timeline-item {
    width: 100%;
    left: 0 !important;
    margin-left: 0;
    margin-bottom: 2rem;
  }

  .timeline-content {
    margin-left: 45px;
    padding: 1.5rem;
  }

  .timeline-icon {
    left: -22px !important;
    right: auto !important;
    width: 36px;
    height: 36px;
    font-size: 0.8rem;
    top: 15px;
    position: absolute;
  }
  
  .menu-toggle {
    display: flex;
  }
  
  .nav-links {
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    width: 100%;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: var(--darker);
    clip-path: circle(0px at top right);
    transition: all 0.5s ease-out;
  }
  
  .nav-links.open {
    clip-path: circle(1500px at top right);
  }
  
  .nav-links li {
    margin: 1.5rem 0;
  }
  
  .nav-links a {
    font-size: 1.3rem;
  }
}

/* Mobile Portrait (up to 575px) */
@media (max-width: 575px) {
  .container {
    padding: 0 1rem;
  }
  
  .hero {
    min-height: 85vh;
    padding: 5rem 0 1.5rem;
  }
  
  .hero-content {
    gap: 1rem;
  }
  
  .hero-img {
    width: 120px;
    height: 120px;
  }
  
  h1 {
    font-size: 2rem;
  }
  
  h2 {
    font-size: 1.8rem;
  }
  
  .hero h1 {
    font-size: 2rem;
    margin-bottom: 0.8rem;
  }
  
  .hero p {
    font-size: 1rem;
    margin-bottom: 1.5rem;
  }

  .tech-icons {
    gap: 0.8rem;
    justify-content: center;
    display: flex;
    flex-wrap: wrap;
    max-width: 350px;
    margin: 1rem auto 0;
  }

  .tech-icon {
    min-width: 75px;
    padding: 0.8rem;
  }

  .tech-icon img {
    width: 28px !important;
    height: 28px !important;
  }

  .tech-icon span {
    font-size: 0.7rem;
  }

  /* Testimonials móvil */
  .testimonials-container {
    min-height: 180px;
  }
  
  .testimonial {
    padding: 1.5rem 1rem;
  }
  
  .testimonial p {
    font-size: 1rem;
    margin-bottom: 1rem;
  }
  
  .testimonial::before {
    font-size: 3rem;
    top: -5px;
  }
  
  .testimonial-btn {
    width: 40px;
    height: 40px;
  }
  
  .testimonial-controls {
    gap: 1.5rem;
    margin-top: 2rem;
  }

  /* Timeline mobile fixes */
  .timeline {
    padding-left: 1rem;
  }

  .timeline::before {
    left: 20px;
    width: 2px;
  }
  
  .timeline-item {
    width: 100%;
    left: 0 !important;
    margin-left: 0;
    margin-bottom: 2.5rem;
  }

  .timeline-content {
    margin-left: 45px;
    padding: 1.2rem;
    position: relative;
  }

  .timeline-icon {
    left: -25px !important;
    right: auto !important;
    width: 35px;
    height: 35px;
    font-size: 0.8rem;
    top: 15px;
    position: absolute;
  }

  .timeline-content h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
  }

  .timeline-content .year {
    font-size: 0.8rem;
    padding: 0.3rem 0.8rem;
  }

  .tech-tag {
    font-size: 0.7rem;
    padding: 0.2rem 0.5rem;
  }
  
  .menu-toggle {
    display: flex;
  }
  
  .nav-links {
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    width: 100%;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: var(--darker);
    clip-path: circle(0px at top right);
    transition: all 0.5s ease-out;
  }
  
  .nav-links.open {
    clip-path: circle(1500px at top right);
  }
  
  .nav-links li {
    margin: 2rem 0;
  }
  
  .nav-links a {
    font-size: 1.5rem;
  }

  .hero-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
  }
  
  
  .btn {
    margin: 0.5rem 0;
    padding: 0.9rem 1.5rem;
    font-size: 0.9rem;
  }
  
  
  .testimonials-container {
    padding: 0 1rem;
  }
}
