/* ========== HOME PAGE - DISEÑO EXACTO ========== */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'lato';
}

:root {
  --purple-main: #A855F7;
  --purple-dark: #9333EA;
  --purple-text: #A2009F;
  --teal: #00C4B3;
  --text-dark: #1F2937;
  --text-gray: #6B7280;
  --white: #FFFFFF;
}

body {
  font-family: 'Lato', sans-serif;
  color: var(--text-dark);
  line-height: 1.6;
  overflow-x: hidden;
  background: #FFFFFF;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ========== HEADER ========== */
.header-main {
  background: var(--white);
  padding: 20px 0;
  border-bottom: 1px solid #F3F4F6;
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  height: 55px;
  width: auto;
}

/* ========== HAMBURGER MENU ========== */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 24px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 1001;
}

.hamburger-line {
  display: block;
  width: 100%;
  height: 3px;
  background-color: var(--purple-text);
  border-radius: 3px;
  transition: all 0.3s ease;
}

/* Animación cuando está activo */
.hamburger.active .hamburger-line:nth-child(1) {
  transform: rotate(45deg) translate(6px, 6px);
}

.hamburger.active .hamburger-line:nth-child(2) {
  opacity: 0;
}

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

.main-nav {
  display: flex;
  gap: 36px;
}

.nav-item {
  font-size: 15px;
  font-weight: 500;
  color: var(--text-dark);
  text-decoration: none;
  transition: color 0.3s;
}

.nav-item:hover,
.nav-item.active {
  color: var(--purple-text);
}

/* ========== HERO SECTION ========== */
.hero-home {
  background: var(--white);
  padding: 80px 0 60px;
  position: relative;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 80px;
  align-items: center;
}

.hero-content {
  max-width: 600px;
}

.hero-title {
  font-family: 'lato';
  font-size: 64px;
  font-weight: 700;
  line-height: 74px;
  margin-bottom: 32px;
  color: var(--purple-text);
}

.hero-text {
  font-family: 'lato';
  font-size: 24px;
  line-height: 1.65;
  color: var(--text-gray);
  margin-bottom: 36px;
}

.btn-primary-home {
  display: inline-block;
  background: var(--purple-text);
  color: var(--white);
  font-family: 'Montserrat', sans-serif;
  font-size: 16px;
  padding: 15px 36px;
  border-radius: 50px;
  text-decoration: none;
  transition: all 0.3s;
  box-shadow: 0 4px 14px rgba(162, 0, 159, 0.3);
}

.btn-primary-home:hover {
  background: var(--purple-main);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(162, 0, 159, 0.4);
}

.hero-image-div {
  box-shadow: 50px 10px 10px #e1ff0098;
  border-radius: 70%;
}

.hero-image {
  position: relative;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  width: 100%;
  border-radius: 70%;
}

.hero-img {
  width: 100%;
  object-fit: cover;
}

/* Decoración pájaro morado */
.hero-decoration {
  position: absolute;
  right: -80px;
  top: 10%;
  z-index: 1;
  pointer-events: none;
}

.monster-deco {
  width: 280px;
  height: auto;
  opacity: 0.4;
}

/* ========== WHY CHOOSE US SECTION ========== */
.why-choose-section {
  background: var(--white);
  padding: 40px 0 0;
}

.section-title-italic {
  font-family: 'lato';
  font-size: 64px;
  font-weight: 900;
  font-style: italic;
  line-height: 1.35;
  color: #72089D;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 50px;
}

.monster-illustration {
  margin-bottom: 50px;
  align-items: center;
}

.monster-img-center {
  width: 220px;
  height: auto;
}

/* Purple Features Bar - FULL WIDTH */
.features-bar {
  background: #7B00FFA6;
  padding: 55px 0;
  margin: 0;
  width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
}

.features-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 50px;
  padding: 0 60px;
}

.feature-item {
  text-align: center;
}

.feature-icon-img {
  width: 120px;
  height: 120px;
  object-fit: contain;
  margin-bottom: 18px;
  filter: brightness(0) invert(1);
}

.feature-text {
  font-size: 16px;
  font-weight: 600;
  color: var(--white);
  line-height: 1.5;
  margin: 0;
}

/* ========== SERVICES SECTION ========== */
.services-section {
  background-image: url('/img/fondovioleta.png');
  object-fit: contain;
  background-size: cover;
  object-position: center;
  position: relative;
  width: 100vw;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap:50px;
  max-width: 900px;
  margin: 0 auto 40px;
  padding: 0 20px;
}

/* Centrar los últimos 2 elementos en desktop */
.services-grid .service-item:nth-child(7) {
  grid-column: 1 / 2;
  justify-self: end;
}

.services-grid .service-item:nth-child(8) {
  grid-column: 3 / 4;
  justify-self: start;

}

.service-item {
  display: flex;
  justify-content: center;
  align-items: center;
}

.service-icon {
  width: 100%;
  max-width: 200px;
  height: auto;
  object-fit: contain;
  filter: brightness(0) invert(1);
  transition: all 0.3s;
}

.service-icon:hover {
  transform: scale(1.1);
  cursor: pointer;
}

.services-content {
  padding: 70px 0 100px;
}

.services-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 46px;
  font-weight: 700;
  font-style: italic;
  color: var(--white);
  text-align: center;
  margin-bottom: 155px;
}

.logo-circle {
  width: 200px;
  height: 200px;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 55px;
  box-shadow: 0 12px 45px rgba(0, 0, 0, 0.25);
  transform: translateY(100px);
}

.logo-services {
  width: 50%;
  height: auto;
  filter: brightness(0) invert(1);
}

.btn-consult-services {
  display: inline-block;
  background: rgba(162, 0, 159, 0.92);
  color: var(--white);
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 18px;
  font-style: italic;
  padding: 17px 52px;
  border-radius: 50px;
  text-decoration: none;
  transition: all 0.3s;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.35);
}

.btn-consult-services:hover {
  background: rgba(162, 0, 159, 1);
  transform: translateY(-2px);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.45);
}

/* ========== TEAL SECTION ========== */
.teal-band {
  background: var(--teal);
  padding: 55px 0;
  width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
}

.teal-content {
  text-align: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.teal-title {
  font-family: "Lato";
  font-weight: 700;
  font-style: Italic;
  font-size: 40px;
  line-height: 37px;
  letter-spacing: 0%;
  text-align: center;
  color: white;
}

.teal-text {
  font-family: Lato;
  font-weight: 400;
  font-size: 32px;
  line-height: 37px;
  letter-spacing: 0%;
  text-align: center;
  color: white;
}

.btn-teal {
  display: inline-block;
  background: #A2009F;
  color: var(--white);
  font-family: 'lato';
  font-weight: 600;
  font-size: 16px;
  padding: 13px 40px;
  border-radius: 50px;
  text-decoration: none;
  transition: all 0.3s;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.35);
}

.btn-teal:hover {
  background: rgba(255, 255, 255, 0.18);
  transform: translateY(-2px);
  box-shadow: 0 10px 28px 3px rgba(0, 0, 0, 0.35);
}

/* ========== CONTACT SECTION ========== */
.contact-section {
  background: #F9FAFB;
  padding: 65px 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.8fr 1fr;
  gap: 35px;
}

.map-wrapper {
  height: 480px;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.12);
}

.form-wrapper {
  background: var(--white);
  padding: 36px;
  border-radius: 18px;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.1);
}

.form-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 21px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 26px;
  line-height: 1.3;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.form-input {
  width: 100%;
  padding: 13px 18px;
  border: 1.5px solid #E5E7EB;
  border-radius: 9px;
  font-size: 15px;
  font-family: 'Lato', sans-serif;
  transition: all 0.2s;
}

.form-input:focus {
  outline: none;
  border-color: var(--purple-main);
  box-shadow: 0 0 0 3px rgba(168, 85, 247, 0.12);
}

.btn-submit {
  background: var(--purple-text);
  color: var(--white);
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 16px;
  padding: 15px;
  border: none;
  border-radius: 9px;
  cursor: pointer;
  transition: all 0.3s;
  margin-top: 10px;
}

.btn-submit:hover {
  background: var(--purple-main);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(162, 0, 159, 0.35);
}

.form-status {
  font-size: 14px;
  text-align: center;
  min-height: 22px;
}

/* ========== FOOTER ========== */
.footer-main {
  padding: 50px 0 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 40px;
  align-items: center;
}

/* Columna izquierda */
.footer-left {
  text-align: left;
}

.footer-logo {
  height: 120px;
  width: auto;
}

.footer-brand {
  font-size: 18px;
  font-weight: 700;
  color: var(--purple-text);
  margin: 0;
  letter-spacing: 1px;
}

.footer-subtitle {
  font-size: 14px;
  font-weight: 500;
  color: var(--purple-text);
  margin: 2px 0;
}

.footer-planeta {
  font-size: 11px;
  font-weight: 600;
  color: #C084C0;
  letter-spacing: 0.5px;
  margin-top: 5px;
}

/* Columna central - Video */
.footer-center {
  display: flex;
  justify-content: center;
  align-items: center;
}
.video-wrapper {
  overflow: hidden;
  border-radius: 15px;
  line-height: 0;
}

.footer-video {
  width: 180px;
  height: auto;
  display: block;
  border-radius: 15px;
}

/* Columna derecha */
.footer-right {
  text-align: right;
}

.footer-social-text {
  font-size: 14px;
  color: var(--text-gray);
  margin-bottom: 15px;
  line-height: 1.5;
}

.footer-social-text span {
  color: var(--purple-text);
  font-weight: 600;
}

.social-icons {
  display: flex;
  gap: 15px;
  justify-content: flex-end;
}

.social-link {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--purple-text) 0%, #C084C0 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 20px;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(162, 0, 159, 0.3);
}

.social-link:hover {
  transform: translateY(-5px) scale(1.1);
  box-shadow: 0 8px 25px rgba(162, 0, 159, 0.4);
  color: var(--white);
}

/* Línea inferior */
.footer-bottom {
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid #E5E0E8;
  text-align: center;
}

.footer-bottom p {
  font-size: 13px;
  color: var(--text-gray);
  margin: 0;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 991px) {
  .hero-grid {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .hero-content {
    text-align: center;
  }

  .hero-title {
    font-size: 100px;
    line-height: 1;
    letter-spacing: -1px;
    margin-bottom: 26px;
    text-align: center;
  }

  .image-circle {
    width: 100%;
    margin: 0 auto;
  }

  .hero-image-div {
    width: 30%;
  }

  .hero-decoration {
    width: 50%;
    margin: 0 auto;
  }

   /* Monster illustration en tablet */
  .monster-illustration {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .monster-img-center {
    width: 200px;
    margin-bottom: 30px;
  }

  .section-title-italic {
    font-size: 40px;
    max-width: 100%;
    padding: 0 20px;
  }

  .features-container {
    grid-template-columns: repeat(2, 1fr);
    gap: 35px;
    padding: 0 40px;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .map-wrapper {
    height: 350px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 30px;
  }

  .footer-center {
    grid-column: 1 / -1;
    order: -1;
  }
  .footer-video {
    width: 150px;
  }

  .footer-left,
  .footer-right {
    text-align: center;
  }

  .social-icons {
    justify-content: center;
  }
  
}

/* ========== RESPONSIVE ========== */

/* Tablet y móvil - Menú hamburguesa */
@media (max-width: 768px) {
  /* Hamburger visible */
  .hamburger {
    display: flex;
  }

  /* Navegación móvil */
  .main-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 70%;
    max-width: 300px;
    height: 100vh;
    background: var(--white);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 30px;
    box-shadow: -5px 0 20px rgba(0, 0, 0, 0.1);
    transition: right 0.3s ease;
    z-index: 1000;
  }

  .main-nav.active {
    right: 0;
  }

  .nav-item {
    font-size: 18px;
    padding: 10px 0;
  }

  /* Overlay cuando el menú está abierto */
  .nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
  }

  .nav-overlay.active {
    opacity: 1;
    visibility: visible;
  }
  .btn-primary-home{
    margin: auto;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 70%;
  }
}
@media (max-width: 576px) {
  .hero-title {
    font-size: 47px;
  }

  .hero-text {
    font-size: 20px;
    line-height: 1.5;
    margin-bottom: 26px;
    padding: 0 24px;
    text-align: center;
  }

  .hero-grid {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .hero-image-div {
    width: 70%;
    margin: 0 auto;
  }

  .image-circle {
    width: 100%;
    margin: 0 auto;
  }

  /* Monster illustration - monstruo arriba, texto abajo */
  .monster-illustration {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .monster-img-center {
    width: 180px;
    margin-bottom: 25px;
    order: 1;
  }

  .section-title-italic {
    font-size: 28px;
    order: 2;
    padding: 0 20px;
  }

  .section-title-italic {
    font-size: 26px;
  }

  .monster-illustration {
    align-items: center;
    justify-content: center;
  }

  .features-container {
    grid-template-columns: 1fr;
    gap: 26px;
    padding: 0 30px;
  }

  .services-title {
    font-size: 34px;
  }

  /* Services Grid - 2 columnas x 4 filas en móvil */
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    padding: 0 20px;
  }

  .services-grid .service-item:nth-child(7),
  .services-grid .service-item:nth-child(8) {
    grid-column: auto;
    justify-self: center;
    margin: 0;
  }

  .service-icon {
    max-width: 140px;
  }

  .main-nav {
    text-align: left;
    align-items: end;
  }

  .logo {
    height: 45px;
  }

  .hero-content {
    text-align: left;
  }

  .hamburger {
    display: flex;
  }

  /* Navegación móvil */
  .main-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 70%;
    max-width: 300px;
    height: 100vh;
    background: var(--white);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 30px;
    box-shadow: -5px 0 20px rgba(0, 0, 0, 0.1);
    transition: right 0.3s ease;
    z-index: 1000;
  }

  .main-nav.active {
    right: 0;
  }

  .nav-item {
    font-size: 18px;
    padding: 10px 0;
  }

  /* Overlay cuando el menú está abierto */
  .nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
  }

  .nav-overlay.active {
    opacity: 1;
    visibility: visible;
  }
}

@media (max-width: 576px) {
  .hero-title {
    font-size: 47px;
  }

  .hero-text {
    font-size: 20px;
    line-height: 1.5;
    margin-bottom: 26px;
    padding: 0 24px;
    text-align: center;
  }

  /* Hero image centrada */
  .hero-grid {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .hero-image-div {
    width: 70%;
    margin: 0 auto;
  }

  .image-circle {
    width: 100%;
    margin: 0 auto;
  }

  /* Monster illustration - monstruo arriba, texto abajo */
  .monster-illustration {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .monster-img-center {
    width: 180px;
    margin-bottom: 25px;
    order: 1;
  }

  .section-title-italic {
    font-size: 28px;
    order: 2;
    padding: 0 20px;
  }

  .features-container {
    grid-template-columns: 1fr;
    gap: 26px;
    padding: 0 30px;
  }

  .services-title {
    font-size: 34px;
  }

  /* Services Grid - 2 columnas x 4 filas en móvil */
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    padding: 0 20px;
  }

  .services-grid .service-item:nth-child(7),
  .services-grid .service-item:nth-child(8) {
    grid-column: auto;
    justify-self: center;
    margin: 0;
  }

  .service-icon {
    max-width: 140px;
  }

  .logo {
    height: 45px;
  }
    .footer-grid {
    grid-template-columns: 1fr;
    gap: 25px;
    text-align: center;
  }

  .footer-left,
  .footer-right {
    text-align: center;
  }

  .footer-center {
    order: -1;
  }

  .footer-video {
    width: 130px;
  }

  .footer-logo {
    height: 60px;
  }

  .social-icons {
    justify-content: center;
  }

  .social-link {
    width: 40px;
    height: 40px;
    font-size: 18px;
  }
}