body {
  margin: 0;
  padding: 0;
  font-family: Arial, sans-serif;
  color: #000;
  font-weight: bold;
  overflow-x: hidden;
}

* {
  box-sizing: border-box;
}

/* Header */
.main-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: white;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  z-index: 1000;
  padding: 12px 0;
}

.header-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.header-logo {
  display: flex;
  align-items: center;
}

.header-logo-img {
  height: 50px;
  width: auto;
  transition: transform 0.3s ease;
}

.header-logo-img:hover {
  transform: scale(1.05);
}

.header-nav {
  display: flex;
  gap: 15px;
  align-items: center;
}

.nav-link {
  padding: 10px 20px;
  border-radius: 25px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
}

.nav-link-estudio {
  background: #1d3f77;
  color: white;
}

.nav-link-estudio:hover {
  background: #2980b9;
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(29,63,119,0.3);
}

.nav-link-inversiones {
  background: linear-gradient(135deg, #0f5647 0%, #27ae60 100%);
  color: white;
}

.nav-link-inversiones:hover {
  background: linear-gradient(135deg, #27ae60 0%, #2ecc71 100%);
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(15,86,71,0.3);
}

.nav-link-contacto {
  background: linear-gradient(135deg, #1d3f77 0%, #2980b9 35%, #27ae60 65%, #FFB84D 100%);
  color: white;
}

.nav-link-contacto:hover {
  background: linear-gradient(135deg, #2980b9 0%, #27ae60 35%, #FFB84D 65%, #d4a574 100%);
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(29,63,119,0.3);
}

.nav-badge {
  font-size: 9px;
  background: rgba(255,255,255,0.25);
  padding: 2px 6px;
  border-radius: 8px;
  font-weight: bold;
}

.hero {
  background-color: white;
  height: 500px;
  padding: 40px 0;
  margin-top: 70px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.slider-container {
  width: 100%;
  height: 100%;
  position: relative;
  max-width: 1200px;
}

.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1s ease-in-out;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.slide.active {
  opacity: 1;
}

/* Slide 1 - Logo Estudio Contable */
.slide-estudio {
  background: linear-gradient(135deg, #1d3f77 0%, #2c5aa0 100%);
}

.logo-container-slide {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.logo-roces-row {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
}

.logo-r-slide {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Monotype Corsiva', cursive;
  font-size: 110px;
  color: white;
  font-style: italic;
  margin-right: -25px;
  z-index: 1;
}

.logo-roces-slide {
  font-family: 'Brush Script MT', cursive;
  font-size: 120px;
  color: white;
  font-style: italic;
  line-height: 1;
  padding-left: 30px;
}

.logo-subtitle-slide {
  font-family: Georgia, serif;
  font-size: 30px;
  color: white;
  letter-spacing: 14px;
  text-transform: uppercase;
  border-top: 2px solid white;
  padding-top: 10px;
  margin-top: 10px;
  white-space: nowrap;
}

/* Slide 2 - Logo Inversiones */
.slide-inversiones {
  background: linear-gradient(135deg, #0f5647 0%, #27ae60 100%);
}

.logo-container-inversiones {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  position: relative;
}

.logo-roces-row-inv {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
}

.logo-r-inv {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: linear-gradient(135deg, #FF8C42 0%, #FFB84D 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Monotype Corsiva', cursive;
  font-size: 110px;
  font-style: italic;
  color: white;
  margin-right: -25px;
  z-index: 1;
  box-shadow: 0 0 20px rgba(255, 140, 66, 0.4);
}

.logo-roces-inv {
  font-family: 'Brush Script MT', cursive;
  font-size: 120px;
  color: #FFB84D;
  font-style: italic;
  line-height: 1;
  padding-left: 30px;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.logo-subtitle-inv {
  font-family: Georgia, serif;
  font-size: 30px;
  color: #FFD700;
  letter-spacing: 14px;
  text-transform: uppercase;
  border-top: 2px solid #FFD700;
  padding-top: 10px;
  margin-top: 10px;
  white-space: nowrap;
}

.proximamente-badge {
  position: absolute;
  bottom: -30px;
  font-family: Arial, sans-serif;
  font-size: 14px;
  color: #FFD700;
  background: rgba(255, 215, 0, 0.2);
  padding: 4px 12px;
  border-radius: 12px;
  font-weight: bold;
  letter-spacing: 1px;
  border: 1px solid rgba(255, 215, 0, 0.4);
}

.container {
  max-width: 1200px;
  margin: auto;
  padding: 20px;
}

/* Sección de presentación */
.presentation {
  text-align: center;
  padding: 40px 20px;
  margin: auto;
  background: #fafafa;
}

.presentation h2 {
  background: linear-gradient(135deg, #1d3f77 0%, #2980b9 35%, #27ae60 65%, #FFB84D 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 20px;
  font-size: 1.8rem;
}

.presentation .diff-cards-container {
  margin-top: 30px;
}

/* Botones de áreas */
.buttons-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin: 20px 0;
  background: white;
  padding: 40px 20px;
}

.buttons-title {
  background: linear-gradient(135deg, #1d3f77 0%, #2980b9 35%, #27ae60 65%, #FFB84D 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-size: 1.8rem;
  margin-bottom: 10px;
  text-align: center;
}

.buttons-container {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
}

.button-card {
  color: white;
  padding: 20px;
  border-radius: 12px;
  width: 250px;
  text-align: center;
  min-height: 120px;
  transition: all 0.4s ease;
  cursor: pointer;
  background-size: 200% 200%;
  font-weight: bold;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  animation: subtlePulse 3s ease-in-out infinite;
}

@keyframes subtlePulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.02); }
}

.button-card:hover {
  animation: none;
}

/* Botón Estudio Contable - Azul */
.button-estudio {
  background: #1d3f77;
}

.button-estudio:hover {
  transform: translateY(-6px) scale(1.05);
  box-shadow: 0 12px 20px rgba(0,0,0,0.3);
  background: linear-gradient(270deg, #1d3f77, #2980b9, #3498db, #1d3f77);
  animation: gradientShift 3s ease infinite;
}

/* Botón Inversiones - Verde con degradado */
.button-inversiones {
  background: linear-gradient(135deg, #0f5647 0%, #27ae60 100%);
}

.button-inversiones:hover {
  transform: translateY(-6px) scale(1.05);
  box-shadow: 0 12px 20px rgba(0,0,0,0.3);
  background: linear-gradient(270deg, #0f5647, #1a8f6f, #27ae60, #0f5647);
  animation: gradientShift 3s ease infinite;
}

.button-card h3, .button-card p {
  transition: color 0.3s ease, text-shadow 0.3s ease;
}

.button-card h3 {
  margin-bottom: 12px;
  font-size: 1.3rem;
  border-bottom: 2px solid rgba(255,255,255,0.3);
  padding-bottom: 8px;
}

.button-card p {
  line-height: 1.6;
  margin: 0;
}

.button-card .proximamente {
  color: #FFD700;
  font-weight: 900;
  font-style: italic;
  text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
}

.button-card:hover h3, .button-card:hover p {
  text-shadow: 1px 1px 4px rgba(0,0,0,0.4);
  color: #fefefe;
}

@keyframes gradientShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* Sección Instagram */
.instagram-section {
  background: linear-gradient(135deg, rgba(29,63,119,0.05) 0%, rgba(41,128,185,0.05) 35%, rgba(39,174,96,0.05) 65%, rgba(255,184,77,0.05) 100%);
  padding: 40px 20px;
  text-align: center;
}

.instagram-section h2 {
  background: linear-gradient(135deg, #1d3f77 0%, #2980b9 35%, #27ae60 65%, #FFB84D 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 10px;
  font-size: 1.8rem;
}

.instagram-section p {
  color: #000;
  font-weight: bold;
  margin-bottom: 30px;
  font-size: 1rem;
}

/* CORRECCIÓN: Altura para fotos GRANDES y COMPLETAS */
.instagram-feed {
  max-width: 1000px;
  margin: auto;
  min-height: 700px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  width: 100%;
}

/* Sección Contacto */
.contact-section {
  background: linear-gradient(135deg, rgba(29,63,119,0.05) 0%, rgba(41,128,185,0.05) 35%, rgba(39,174,96,0.05) 65%, rgba(255,184,77,0.05) 100%);
  padding: 40px 20px;
  margin-top: 40px;
}

.contact-section h2 {
  background: linear-gradient(135deg, #1d3f77 0%, #2980b9 35%, #27ae60 65%, #FFB84D 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-align: center;
  margin-bottom: 30px;
  font-size: 1.8rem;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  max-width: 1000px;
  margin: auto;
}

.contact-item {
  background: white;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.contact-item h4 {
  background: linear-gradient(135deg, #1d3f77 0%, #2980b9 35%, #27ae60 65%, #FFB84D 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 10px;
  font-size: 1.1rem;
}

.contact-item p {
  color: #000;
  font-weight: bold;
  line-height: 1.6;
  margin: 5px 0;
}

.contact-link {
  display: inline-block;
  margin-top: 10px;
  padding: 8px 20px;
  background: #25D366;
  color: white;
  text-decoration: none;
  border-radius: 20px;
  font-weight: bold;
  transition: transform 0.3s ease;
}

.contact-link:hover {
  transform: scale(1.05);
}

.email-link {
  background: #1d3f77;
}

.diff-cards-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
  max-width: 400px;
  margin: auto;
}

.diff-card {
  background: linear-gradient(135deg, rgba(29,63,119,0.1) 0%, rgba(41,128,185,0.1) 35%, rgba(39,174,96,0.1) 65%, rgba(255,184,77,0.1) 100%);
  color: #000;
  padding: 15px 20px;
  border-radius: 10px;
  min-width: 220px;
  text-align: center;
  font-weight: bold;
  box-shadow: 0 2px 6px rgba(0,0,0,0.08);
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.6s ease;
  border: 1px solid rgba(29,63,119,0.2);
}

.diff-card.visible {
  opacity: 1;
  transform: translateY(0);
}

footer {
  background: linear-gradient(135deg, #1d3f77 0%, #2980b9 35%, #27ae60 65%, #FFB84D 100%);
  color: white;
  text-align: center;
  padding: 1.5rem 0;
  margin-top: 3rem;
  position: relative;
}

footer p {
  margin: 0.5rem 0;
  opacity: 0.9;
}

.afip-qr {
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
}

.afip-qr img {
  width: 50px;
  height: auto;
  opacity: 0.8;
  transition: opacity 0.3s ease;
}

.afip-qr img:hover {
  opacity: 1;
}

/* Sección Contacto CTA */
.contact-cta-section h2 {
  background: linear-gradient(135deg, #1d3f77 0%, #2980b9 35%, #27ae60 65%, #FFB84D 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-size: 1.8rem;
  margin-bottom: 1rem;
}

/* Responsive mobile */
@media (max-width: 768px) {
  .main-header {
    padding: 10px 0;
  }
  
  .header-container {
    flex-direction: column;
    gap: 12px;
    padding: 0 15px;
  }
  
  .header-logo-img {
    height: 40px;
  }
  
  .header-nav {
    flex-direction: row;
    width: 100%;
    gap: 10px;
    justify-content: center;
  }
  
  .nav-link {
    flex: 1;
    text-align: center;
    justify-content: center;
    padding: 8px 12px;
    font-size: 12px;
  }
  
  .nav-badge {
    font-size: 8px;
    padding: 1px 4px;
  }
  
  .hero {
    height: 350px;
    padding: 30px 0;
    margin-top: 100px;
  }
  
  .logo-r-slide {
    width: 80px;
    height: 80px;
    font-size: 60px;
    margin-right: -15px;
  }
  
  .logo-roces-slide {
    font-size: 70px;
    padding-left: 20px;
  }
  
  .logo-subtitle-slide {
    font-size: 18px;
    letter-spacing: 8px;
  }
  
  .logo-r-inv {
    width: 80px;
    height: 80px;
    font-size: 60px;
    margin-right: -15px;
  }
  
  .logo-roces-inv {
    font-size: 70px;
    padding-left: 20px;
  }
  
  .logo-subtitle-inv {
    font-size: 18px;
    letter-spacing: 8px;
  }
  
  .proximamente-badge {
    bottom: -25px;
    font-size: 11px;
    padding: 3px 10px;
  }
  
  .presentation {
    padding: 20px 15px;
  }
  
  .presentation p {
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 0.8rem;
  }
  
  .presentation .diff-cards-container {
    max-width: 100%;
    gap: 12px;
    margin-top: 20px;
  }
  
  .buttons-section {
    flex-direction: column;
    align-items: center;
    gap: 15px;
    margin: 20px 0;
    padding: 30px 15px;
  }
  
  .buttons-title {
    font-size: 1.5rem;
  }
  
  .buttons-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    width: 100%;
  }
  
  .button-card {
    width: 100%;
    max-width: 350px;
    min-width: 350px;  /* CORRECCIÓN: Asegurar ancho mínimo igual para todos */
    padding: 20px 15px;
    min-height: auto;
  }
  
  .button-card h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
  }
  
  .button-card p {
    font-size: 0.9rem;
    line-height: 1.4;
  }

  .instagram-section {
    padding: 30px 15px;
  }

  .instagram-section h2 {
    font-size: 1.5rem;
    margin-bottom: 8px;
  }

  .instagram-section p {
    font-size: 0.9rem;
    margin-bottom: 15px;
  }

  /* CORRECCIÓN: Instagram con fotos GRANDES Y COMPLETAS en móvil */
  .instagram-feed {
    min-height: 600px;
    margin-bottom: 15px;
  }
  
  .instagram-section a[href*="instagram.com"] {
    font-size: 0.9rem;
    padding: 10px 20px;
    word-wrap: break-word;
  }
  
  .contact-section {
    padding: 30px 15px;
  }
  
  .contact-section h2 {
    font-size: 1.5rem;
  }
  
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .contact-item {
    padding: 15px;
  }
  
  .contact-item h4 {
    font-size: 1rem;
  }
  
  .diff-card {
    width: 100%;
    max-width: 350px;
    padding: 12px 15px;
    font-size: 0.9rem;
  }
  
  .afip-qr {
    position: static;
    text-align: center;
    margin-top: 15px;
  }
  
  .afip-qr img {
    width: 40px;
  }
  
  footer {
    padding: 1rem 0 1.5rem;
  }
  
  footer p {
    font-size: 0.9rem;
    padding: 0 15px;
  }
}

@media (max-width: 480px) {
  .hero {
    height: 280px;
    padding: 20px 0;
  }
  
  .logo-r-slide {
    width: 70px;
    height: 70px;
    font-size: 50px;
  }
  
  .logo-roces-slide {
    font-size: 60px;
  }
  
  .logo-subtitle-slide {
    font-size: 16px;
    letter-spacing: 6px;
  }
  
  .presentation p {
    font-size: 0.9rem;
  }
  
  .button-card {
    padding: 18px 12px;
  }
  
  .button-card h3 {
    font-size: 1.1rem;
  }
  
  .button-card p {
    font-size: 0.85rem;
  }

  .instagram-section h2 {
    font-size: 1.3rem;
  }
  
  .diff-card {
    padding: 10px 12px;
    font-size: 0.85rem;
  }
}