/* ============================================
   HOME.CSS - Estilos específicos del index
   ============================================ */

/* Hero Section */
header.hero {
  position: relative; 
  height: 100vh; 
  min-height: 100vh;
  display: flex; 
  flex-direction: column; 
  align-items: center; 
  justify-content: center;
  text-align: center; 
  z-index: 1;
  gap: 16px;
}

header.hero h1 { 
  font-size: clamp(48px, 12vw, 120px); 
  margin-bottom: 0; 
  font-weight: 500; 
  line-height: 1;
  opacity: 1;
}

.hero-glitch-line {
  font-size: clamp(18px, 3.5vw, 32px);
  font-weight: 400;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
  width: 100%;
  max-width: 800px;
}

/* Typewriter Effect */
.typewriter-wrapper {
  position: relative;
  display: inline-block;
  min-width: 180px;
}

.typewriter-text {
  position: relative;
  display: inline-block;
  font-weight: 400;
  font-style: italic;
  color: #1D1D1D;
}

.typewriter-text::after {
  content: '';
  display: inline-block;
  width: 2px;
  height: 0.9em;
  background: #1D1D1D;
  margin-left: 2px;
  animation: blink 0.8s infinite;
  vertical-align: middle;
}

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

/* Animated Blobs */
.blobs {
  position: fixed; 
  top: 0; 
  left: 0; 
  width: 100%; 
  height: 100vh;
  overflow: hidden; 
  z-index: 0; 
  pointer-events: none;
}

.blobs::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background-image: 
    repeating-linear-gradient(0deg, transparent, transparent 1px, rgba(255,255,255,.05) 1px, rgba(255,255,255,.05) 2px),
    repeating-linear-gradient(90deg, transparent, transparent 1px, rgba(0,0,0,.05) 1px, rgba(0,0,0,.05) 2px),
    repeating-linear-gradient(45deg, transparent, transparent 1px, rgba(255,255,255,.02) 1px, rgba(255,255,255,.02) 2px),
    repeating-linear-gradient(-45deg, transparent, transparent 1px, rgba(0,0,0,.02) 1px, rgba(0,0,0,.02) 2px);
  opacity: 1;
  pointer-events: none;
  z-index: 10;
}

.blob {
  position: absolute; 
  border-radius: 2878.676px;
  background: conic-gradient(from 180deg at 50% 50%, #95FFA0 162.3749577999115deg, #95B9FF 233.6249542236328deg, #D795FF 310.4999613761902deg);
  mix-blend-mode: overlay;
  filter: blur(40px);
  opacity: 0.9;
  width: 600px; 
  height: 600px;
  transform: translate(0, 0) scale(1);
  will-change: transform;
  transition: opacity 0.5s ease;
}

.blob:nth-child(2) { width: 500px; height: 500px; }
.blob:nth-child(3) { width: 700px; height: 700px; }

/* About Section */
.about-wrap { 
  position: relative; 
  height: 240vh; 
  z-index: 1;
  margin-top: 20vh;
}

.about-card {
  position: sticky; 
  top: 50%; 
  transform: translateY(-50%) scale(0.8);
  background: #111; 
  color: #fff; 
  padding: 60px 40px; 
  max-width: 1200px; 
  margin: 0 auto;
  border-radius: 40px; 
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.35);
  transition: transform 0.3s ease-out;
}

.about-card h2 { 
  font-size: 56px; 
  margin-bottom: 24px;
  color:#FFF;
  font-family: "DM Sans", sans-serif;
  font-weight: 500;
}

.about-content { 
  display: flex; 
  flex-direction: row; 
  flex-wrap: nowrap; 
  gap: 40px; 
  align-items: center; 
}

.about-video { 
  width: 320px;
  height: 320px;
  flex-shrink: 0;
  border-radius: 20px;
  overflow: hidden;
}

.about-video video { 
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block; 
}

.divider { 
  flex: 0 0 1px; 
  background: rgba(255, 255, 255, 0.5); 
  align-self: stretch; 
}

.about-text {
  flex: 1; 
  font-family: "Lora", serif; 
  font-size: 24px; 
  font-weight: 400; 
  color: #FFF; 
  line-height: 1.6;
}

.sentence { 
  margin-bottom: 1.5em; 
  margin-top: 0; 
}

.word { 
  display: inline-block; 
  margin-right: 0.35em; 
  white-space: nowrap; 
  color:#FFF;
}

.char { 
  opacity: 0.4; 
  transition: opacity 2s ease-out; 
  display: inline-block;
  color:#FFFFFF;
  font-family: "Lora", serif; 
}

.char.italic-bold {
  font-style: italic;
  font-weight: 700;
}

/* Timeline Section */
.timeline-wrapper {
  position: relative;
  height: 5000vh;
  background: #F9F9F9;
}

.timeline-sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  width: 100%;
  overflow: hidden;
}

.fade-layer {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: #111;
  z-index: 1001;
  opacity: 0;
  pointer-events: none;
}

.about-title {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 56px;
  font-weight: 500;
  color: #fff;
  z-index: 1002;
  opacity: 0;
  pointer-events: none;
}

/* Numbers Section */
.numbers-text {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1002;
  opacity: 0;
  pointer-events: none;
  max-width: 1200px;
  width: 90%;
  padding: 0 40px;
}

.numbers-text h2 {
  font-size: 56px;
  font-weight: 500;
  color: #fff;
  margin-bottom: 48px;
  text-align: left;
}

.numbers-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 24px;
  min-height: 400px;
}

.number-item {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
}

.number-item:nth-child(1) { grid-column: 1 / 5; }
.number-item:nth-child(2) { grid-column: 5 / 9; }
.number-item:nth-child(3) { grid-column: 9 / 13; }
.number-item:nth-child(4) { grid-column: 2 / 6; }
.number-item:nth-child(5) { grid-column: 7 / 11; }

.number-value {
  font-family: "DM Sans", sans-serif;
  font-size: 64px;
  font-weight: 700;
  color: #B5FFE0;
  line-height: 1;
}

.number-description {
  font-family: "Lora", serif;
  font-size: 18px;
  line-height: 1.5;
  color: #fff;
  font-weight: 400;
}

/* Timeline Track */
.timeline-track {
  position: absolute;
  top: 0;
  left: 0;
  height: 100vh;
  display: flex;
  align-items: center;
  padding: 0 50vw 0 50vw;
  will-change: transform;
  z-index: 3;
  opacity: 0;
}

.timeline-line {
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: 2px;
  background: rgba(29, 29, 29, 0.15);
  transform: translateY(-50%);
  z-index: 0;
}

/* Milestones */
.milestone {
  position: relative;
  flex-shrink: 0;
  width: 1000px;
  height: 100vh;
  padding: 0 100px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  opacity: 0.3;
  transition: opacity 0.4s ease;
  z-index: 1;
}

.milestone.active {
  opacity: 1;
}

.milestone-year-wrapper {
  margin-bottom: 16px;
}

.milestone-year {
  font-family: "DM Sans", sans-serif;
  font-size: 32px;
  font-weight: 700;
  color: #1D1D1D;
  opacity: 0.32;
}

.milestone-content {
  background: #F9F9F9;
  padding: 24px;
  border-radius: 16px;
  position: relative;
  z-index: 2;
  width: 100%;
}

.milestone-title {
  font-size: 32px;
  font-weight: 700;
  color: #1D1D1D;
  margin-bottom: 16px;
  line-height: 1.2;
}

.milestone-text {
  font-family: "Lora", serif;
  font-size: 18px;
  line-height: 1.6;
  color: #1D1D1D;
  max-width: 400px;
}

.milestone-image {
  width: 400px;
  height: 280px;
  background: rgba(29, 29, 29, 0.05);
  border-radius: 12px;
  border: 1px solid rgba(29, 29, 29, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(29, 29, 29, 0.3);
  font-size: 14px;
  overflow: hidden;
}

.milestone-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.milestone:nth-child(odd) .milestone-content:first-child {
  position: absolute;
  top: 15vh;
  left: 100px;
  right: 100px;
}

.milestone:nth-child(odd) .milestone-content:last-child {
  position: absolute;
  bottom: 15vh;
  left: 100px;
  right: 100px;
}

.milestone:nth-child(even) .milestone-content:first-child {
  position: absolute;
  top: 15vh;
  left: 100px;
  right: 100px;
}

.milestone:nth-child(even) .milestone-content:last-child {
  position: absolute;
  bottom: 15vh;
  left: 100px;
  right: 100px;
}

/* Work Section */
.work-section {
  position: relative;
  height: 400vh;
  background: #F9F9F9;
}

.work-marquee-wrapper {
  position: sticky;
  top: 0;
  height: 100vh;
  z-index: 0;
}

.work-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 40px;
  opacity: 0;
  font-size: 160px;
  font-weight: 700;
  color: #1D1D1D;
  line-height: 1;
  white-space: nowrap;
  pointer-events: none;
  user-select: none;
  text-transform: lowercase;
  z-index: 0;
  transition: opacity 0.3s ease;
}

.work-line {
  display: flex;
  width: 200%;
}

.work-line span {
  flex-shrink: 0;
  padding-right: 64px;
}

.line1 { animation: marquee-left 20s linear infinite; }
.line2 { animation: marquee-right 35s linear infinite; }
.line3 { animation: marquee-left 50s linear infinite; }

@keyframes marquee-left {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

@keyframes marquee-right {
  0%   { transform: translateX(-50%); }
  100% { transform: translateX(0); }
}

/* Work Cards */
.cards-container {
  position: sticky;
  top: 0;
  height: 100vh;
  display: grid;
  place-items: center;
  perspective: 1600px;
  overflow: visible;
  z-index: 1;
}

.work-card {
  position: absolute;
  width: 60%;
  height: 400px;
  opacity: 1;
  background: #1F1F1F;
  border-radius: 48px;
  border: 2px solid #1F1F1F;
  overflow: hidden;
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: background-color 0.4s ease, filter 0.4s ease;
}

/* Estado cuando quedan atrás */
.work-card.stacked {
  background: #2A2A2A;
  filter: brightness(1.2);
}

/* Ya no necesitamos el gradient background */
.card-gradient-bg,
.gradient-blob {
  display: none;
}

.card-image {
  display: none;
}

.card-content {
  position: relative;
  top: 0;
  left: 0;
  width: 100%;
  background: transparent;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: 0;
}

.card-title {
  font-size: var(--text-h1);
  font-weight: var(--weight-medium);
  color: #f8f8f8;
  line-height: 1.2;
  font-family: var(--font-sans);
}

.card-description {
  font-size: var(--text-body);
  font-weight: var(--weight-regular);
  color: #f8f8f8;
  line-height: 1.5;
  font-family: var(--font-sans);
}

.card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.card-tag {
  padding: 4px 8px;
  background: #434343;
  border-radius: 8px;
  color: #f8f8f8;
  font-size: 12px;
  font-family: var(--font-sans);
  font-weight: var(--weight-regular);
}

.card-cta-wrapper {
  position: relative;
  left: 0;
  bottom: 0;
  z-index: 3;
  align-self: flex-start;
}

.card-cta-wrapper .cta-pill {
  padding: 16px 40px;
  font-size: 24px;
  background: #f8f8f8;
  color: 1f1f1f;
}

.cta-pill {
  display: inline-flex; 
  align-items: center; 
  gap: 10px;
  background: #f8f8f8; 
  color: #1f1f1f;
  border-radius: 40px; 
  padding: 8px 16px;
  font-family: var(--font-mono); 
  font-size: 20px; 
  font-weight: var(--weight-medium);
  text-decoration: none;
  transition: transform var(--transition-fast);
}

.cta-pill:hover { 
  background: #B5FFE0;        /* ← Color mint */
  color: #1F1F1F;             /* ← Mantener texto negro */
}

.work-card.c1 { z-index: 101; }
.work-card.c2 { z-index: 102; }
.work-card.c3 { z-index: 103; }
.work-card.c4 { z-index: 104; }
/* =====================================
   FOOTER ESPECÍFICO DEL HOME - DESKTOP
   ===================================== */
footer.site-footer { 
  background: #F9F9F9 !important; 
  padding: 80px 40px 120px !important; 
  position: relative; 
  z-index: 10;
  margin: 0 !important;
  width: 100% !important;  /* ← AGREGA ESTA LÍNEA */
  max-width: 100% !important;  /* ← Y ESTA */
}

.footer-inner { 
  max-width: 1280px; 
  margin: 0 auto !important; 
  display: flex !important; 
  flex-direction: column !important; 
  gap: 40px !important; 
}

.footer-title { 
  font-size: 64px !important; 
  font-weight: 500 !important; 
  color: #1D1D1D !important;
  font-family: "DM Sans", sans-serif !important;
}

footer.site-footer .footer-card {
  background: #fff !important; 
  border-radius: 16px !important; 
  border: 1px solid #1D1D1D !important;
  padding: 40px 24px !important; 
  display: flex !important; 
  flex-direction: row !important;
  gap: 80px !important; 
  justify-content: space-between !important; 
  align-items: flex-start !important;
  margin: 0 !important;
}

footer.site-footer .footer-left { 
  flex: 1 !important; 
  display: flex !important; 
  flex-direction: column !important; 
  gap: 40px !important; 
  align-items: flex-start !important;
}

footer.site-footer .footer-left p { 
  font-size: 24px !important; 
  margin: 0 !important; 
  line-height: 1.5 !important;
  font-family: "DM Sans", sans-serif !important;
  color: #1D1D1D !important;
}

footer.site-footer .brand-socials { 
  display: flex !important; 
  flex-direction: row !important;
  align-items: center !important; 
  gap: 24px !important; 
}

footer.site-footer .brand-socials img { 
  height: 48px !important; 
  width: auto !important;
}

footer.site-footer .socials { 
  display: flex !important; 
  flex-direction: row !important;
  gap: 24px !important; 
}

/* CRÍTICO: Estilos de los botones sociales */
footer.site-footer .icon-btn,
footer.site-footer a.icon-btn {
  display: flex !important; 
  justify-content: center !important; 
  align-items: center !important;
  width: 48px !important; 
  height: 48px !important; 
  min-width: 48px !important;
  min-height: 48px !important;
  border-radius: 50% !important;
  background: #1D1D1D !important;
  background-color: #1D1D1D !important;
  transition: background-color 0.2s ease !important;
  color: #fff !important;
  text-decoration: none !important;
  border: none !important;
  padding: 0 !important;
}

footer.site-footer .icon-btn svg,
footer.site-footer a.icon-btn svg { 
  stroke: #fff !important; 
  fill: none !important;
  width: 20px !important;
  height: 20px !important;
}

footer.site-footer .icon-btn:hover,
footer.site-footer a.icon-btn:hover { 
  background: #B5FFE0 !important; 
  background-color: #B5FFE0 !important;
}

footer.site-footer .icon-btn:hover svg,
footer.site-footer a.icon-btn:hover svg {
  stroke: #1D1D1D !important;
}

footer.site-footer .footer-right { 
  display: flex !important; 
  flex-direction: column !important; 
  gap: 40px !important; 
  align-items: flex-start !important; 
}

footer.site-footer .footer-right h3 { 
  font-size: 40px !important; 
  margin: 0 !important; 
  color: #1D1D1D !important;
  font-family: "DM Sans", sans-serif !important;
  font-weight: 400 !important;
}

/* Botón CTA del footer */
footer.site-footer .nav-cta,
footer.site-footer a.nav-cta {
  background: #B5FFE0 !important;
  background-color: #B5FFE0 !important;
  color: #1D1D1D !important;
  padding: 12px 32px !important;
  border-radius: 40px !important;
  font-family: "DM Mono", monospace !important;
  font-size: 20px !important;
  font-weight: 500 !important;
  text-decoration: none !important;
  border: none !important;
  border-bottom: none !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  white-space: nowrap !important;
  transition: background-color 0.2s ease, color 0.2s ease !important;
}

footer.site-footer .nav-cta:hover,
footer.site-footer a.nav-cta:hover {
  background: #1D1D1D !important;
  background-color: #1D1D1D !important;
  color: #fff !important;
  text-decoration: none !important;
  border-bottom: none !important;
}

/* RESPONSIVE - Footer */
@media (max-width: 1000px) {
  footer.site-footer { 
    padding: 60px 32px 80px !important; 
  }
  
  footer.site-footer .footer-card { 
    flex-direction: column !important;
    gap: 40px !important;
    align-items: flex-start !important;
  }
  
  .footer-title { 
    font-size: 48px !important; 
  }
}

@media (max-width: 768px) {
  footer.site-footer { 
    padding: 40px 24px 60px !important; 
  }
  
  .footer-title { 
    font-size: 36px !important; 
    text-align: center !important;
  }
  
  footer.site-footer .footer-card {
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
    padding: 32px 24px !important;
  }
  
  footer.site-footer .footer-left {
    align-items: center !important;
    width: 100% !important;
  }
  
  footer.site-footer .footer-left p { 
    font-size: 18px !important; 
    line-height: 1.5 !important;
    text-align: center !important;
  }
  
  footer.site-footer .brand-socials {
    flex-direction: row !important;
    justify-content: center !important;
    gap: 20px !important;
  }
  
  footer.site-footer .socials {
    flex-direction: row !important;
    gap: 16px !important;
  }
  
  footer.site-footer .footer-right {
    align-items: center !important;
    width: 100% !important;
  }
  
  footer.site-footer .footer-right h3 { 
    font-size: 28px !important;
    text-align: center !important;
  }
  
  footer.site-footer .nav-cta {
    width: 100% !important;
    justify-content: center !important;
  }
}

@media (max-width: 480px) {
  footer.site-footer { 
    padding: 32px 16px 40px !important; 
  }
  
  .footer-title { 
    font-size: 28px !important; 
  }
  
  footer.site-footer .footer-card { 
    padding: 24px 16px !important; 
  }
  
  footer.site-footer .footer-left p {
    font-size: 15px !important;
    line-height: 1.6 !important;
  }
  
  footer.site-footer .footer-left p br { 
    display: none !important; 
  }
  
  footer.site-footer .brand-socials {
    flex-direction: column !important;
    align-items: center !important;
    gap: 16px !important;
  }
  
  footer.site-footer .brand-socials img { 
    height: 36px !important; 
  }
  
  footer.site-footer .icon-btn {
    width: 40px !important;
    height: 40px !important;
    min-width: 40px !important;
    min-height: 40px !important;
  }
  
  footer.site-footer .icon-btn svg {
    width: 18px !important;
    height: 18px !important;
  }
  
  footer.site-footer .nav-cta {
    font-size: 16px !important;
    padding: 12px 24px !important;
  }
  
  footer.site-footer .footer-right h3 { 
    font-size: 22px !important; 
  }
}
 

/* Responsive Design */
@media (max-width: 1000px) {
  .footer-card { flex-direction: column; gap: 40px; }
  .footer-title { font-size: 48px; }
  .footer-right h3 { font-size: 32px; }
  .work-card { width: 350px; height: 560px; }
  .card-content { top: 60px; left: 20px; width: 310px; }
  .card-title { font-size: 32px; line-height: 48px; }
  .card-description { font-size: 18px; line-height: 27px; width: 280px; }
  .card-cta-wrapper { left: 60px; bottom: 48px; }
  .card-cta-wrapper .cta-pill { padding: 12px 32px; font-size: 20px; }
  .work-background { font-size: 80px; }
}

@media (max-width: 768px) {
  .timeline-wrapper { height: 2500vh; }
  .work-section { height: 400vh; }
  header.hero h1 { font-size: clamp(40px, 10vw, 80px); }
  .hero-glitch-line { font-size: clamp(16px, 3.5vw, 28px); }
  .milestone { width: 800px; padding: 0 60px; }
  .milestone-title { font-size: 24px; }
  .milestone-text { font-size: 16px; max-width: 300px; }
  .milestone-year { font-size: 24px; }
  .milestone-image { width: 320px; height: 220px; }
  .about-title { font-size: 40px; }
  .numbers-text { padding: 0 30px; max-width: 700px; }
  .numbers-text h2 { font-size: 40px; margin-bottom: 32px; }
  .numbers-grid { 
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    min-height: 300px;
  }
  .number-item:nth-child(1) { grid-column: 1 / 5; grid-row: 1 / 2; }
  .number-item:nth-child(2) { grid-column: 1 / 3; grid-row: 2 / 3; }
  .number-item:nth-child(3) { grid-column: 3 / 5; grid-row: 2 / 3; }
  .number-item:nth-child(4) { grid-column: 1 / 3; grid-row: 3 / 4; }
  .number-item:nth-child(5) { grid-column: 3 / 5; grid-row: 3 / 4; }
  .number-value { font-size: 48px; }
  .number-description { font-size: 16px; }
  .about-card { padding: 40px 24px; margin: 0 16px; }
  .about-card h2 { font-size: 40px; }
  .about-text { font-size: 18px; }
  .about-content { flex-direction: column; flex-wrap: wrap; }
  .divider { display: none; }
  .milestone-content { padding: 20px; }
  .milestone:nth-child(odd) .milestone-content:first-child,
  .milestone:nth-child(even) .milestone-content:first-child { top: 12vh; }
  .milestone:nth-child(odd) .milestone-content:last-child,
  .milestone:nth-child(even) .milestone-content:last-child { bottom: 12vh; }
  .footer-title { font-size: 36px; }
  .footer-left p { font-size: 18px; line-height: 1.5; }
  .footer-right h3 { font-size: 28px; }
  .brand-socials { flex-direction: column; align-items: center; gap: 16px; }
  .socials { flex-direction: column; gap: 12px; }
  .footer-card { align-items: center; text-align: center; padding: 32px 24px; }
  .footer-left { align-items: center; }
  .footer-right { align-items: center; }
}

@media (max-width: 480px) {
  .timeline-wrapper { height: 2000vh; }
  .work-section { height: 400vh; }
  .hero-glitch-line { font-size: clamp(14px, 3vw, 24px); gap: 6px; }
  .typewriter-wrapper { min-width: 140px; }
  .milestone { width: 600px; padding: 0 40px; }
  .milestone-title { font-size: 20px; }
  .milestone-text { font-size: 15px; max-width: 260px; }
  .milestone-year { font-size: 20px; }
  .milestone-image { width: 280px; height: 200px; }
  .about-title { font-size: 32px; }
  .numbers-text { padding: 0 20px; max-width: 100%; }
  .numbers-text h2 { font-size: 32px; margin-bottom: 24px; }
  .numbers-grid { 
    grid-template-columns: 1fr;
    gap: 32px;
    min-height: auto;
  }
  .number-item:nth-child(1),
  .number-item:nth-child(2),
  .number-item:nth-child(3),
  .number-item:nth-child(4),
  .number-item:nth-child(5) {
    grid-column: 1 / 2;
    grid-row: auto;
  }
  .number-value { font-size: 48px; }
  .number-description { font-size: 15px; }
  .milestone-content { padding: 16px; }
  .milestone:nth-child(odd) .milestone-content:first-child,
  .milestone:nth-child(even) .milestone-content:first-child { top: 10vh; }
  .milestone:nth-child(odd) .milestone-content:last-child,
  .milestone:nth-child(even) .milestone-content:last-child { bottom: 10vh; }
  .work-card { width: 85vw; height: 450px; }
  .card-content {
    top: 40px;
    left: 30px;
    width: calc(100% - 60px);
    height: calc(100% - 90px);
    font-size: 18px;
  }
  .work-background { font-size: 60px; }
  .footer-card { padding: 24px 16px; }
  .footer-left p {
    font-size: 15px;
    line-height: 1.6;
    word-wrap: break-word;
    overflow-wrap: break-word;
  }
  .footer-left p br { display: none; }
  .brand-socials img { height: 36px; }
  .cta-pill { font-size: 16px; padding: 6px 14px; }
  .footer-right h3 { font-size: 22px; }
  .footer-title { font-size: 28px; text-align: center; }
  
  /* Footer del Home - Correcciones específicas */
footer.site-footer .footer-card {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 80px;
}

footer.site-footer .footer-left {
  flex: 1 1 0;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

footer.site-footer .footer-right {
  display: flex;
  flex-direction: column;
  gap: 40px;
  align-items: flex-start;
}

footer.site-footer .brand-socials {
  display: flex;
  align-items: center;
  gap: 24px;
}

footer.site-footer .socials {
  display: flex;
  gap: 24px;
}

/* IMPORTANTE: Quitar subrayado del botón */
footer.site-footer .nav-cta {
  text-decoration: none !important;
  border-bottom: none !important;
}

footer.site-footer .nav-cta:hover {
  text-decoration: none !important;
  border-bottom: none !important;
}

@media (max-width: 1000px) {
  .work-card { 
    width: 350px; 
    height: 560px; 
    padding: 32px;
  }
  
  .card-title { 
    font-size: 32px;
  }
  
  .card-description { 
    font-size: 18px;
  }
  
  .card-cta-wrapper .cta-pill { 
    padding: 12px 32px; 
    font-size: 20px; 
  }
}

@media (max-width: 768px) {
  .work-card { 
    width: 85vw; 
    height: 500px; 
    padding: 32px 24px;
  }
  
  .card-title { 
    font-size: 28px;
  }
  
  .card-description { 
    font-size: 16px;
  }
  
  .card-content {
    gap: 20px;
  }
  
  .card-cta-wrapper .cta-pill {
    padding: 12px 28px;
    font-size: 18px;
  }
}

@media (max-width: 480px) {
  .work-card { 
    width: 85vw; 
    height: 480px; 
    padding: 24px 20px;
  }
  
  .card-title {
    font-size: 24px;
  }
  
  .card-description {
    font-size: 15px;
  }
  
  .card-cta-wrapper .cta-pill {
    padding: 10px 24px;
    font-size: 16px;
  }
}

/* Responsive para footer del home */
@media (max-width: 1000px) {
  footer.site-footer .footer-card {
    flex-direction: column;
    gap: 40px;
  }
}

@media (max-width: 768px) {
  footer.site-footer .brand-socials {
    flex-direction: row;
    justify-content: center;
  }
  
  footer.site-footer .socials {
    flex-direction: row;
  }
  
  footer.site-footer .footer-card {
    align-items: center;
    text-align: center;
  }
  
  footer.site-footer .footer-left {
    align-items: center;
  }
  
  footer.site-footer .footer-right {
    align-items: center;
  }
}
}