 
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
 
:root {
  --clr-primary:   #FF6B35;   /* naranja vibrante */
  --clr-secondary: #7B2FBE;   /* violeta */
  --clr-blue:      #1A2B5F;   /* azul oscuro */
  --clr-light-bg: #f0f2ff;   /* lila muy suave */
  --clr-alt-bg:    #EEF3FF;
  --clr-white:     #FFFFFF;
  --clr-text:      #2D2D4E;
  --clr-muted: #4d4d80;
  --clr-card:      #FFFFFF;
  --radius-lg:     24px;
  --radius-md:     14px;
  --radius-sm:     8px;
  --shadow-card:   0 8px 32px rgba(26,43,95,.12);
  --shadow-btn:    0 4px 16px rgba(255,107,53,.35);
  --font-display: 'Nunito', sans-serif;
  --font-body: 'Nunito', sans-serif;
  --transition:    .25s ease;
  --max-w:         1200px;
}
 
html { scroll-behavior: smooth; }
 
body {
  font-family: var(--font-body);
  color: var(--clr-text);
  background: var(--clr-white);
  line-height: 1.6;
  overflow-x: hidden;
}
 
img { display: block; max-width: 100%; height: auto; }
 
a { text-decoration: none; color: inherit; }
 
/* ---------- Utility ---------- */
.accent {color: #fb8727;}
 
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: .7rem 1.8rem;
  border-radius: 50px;
  font-family: var(--font-body);
  font-weight: 800;
  font-size: .95rem;
  cursor: pointer;
  border: none;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
}
 
.btn:hover { transform: translateY(-2px); }
 
.btn-primary {
  background: var(--clr-primary);
  color: var(--clr-white);
  box-shadow: var(--shadow-btn);
}
.btn-primary:hover { background: #e85a25; box-shadow: 0 6px 24px rgba(255,107,53,.5); }
 
.btn-outline {
  background: transparent;
  color: var(--clr-white);
  border: 2px solid rgba(255,255,255,.7);
}
.btn-outline:hover { background: rgba(255,255,255,.15); }
 
.btn-serv {
  background: #682b7c;
  color: var(--clr-white);
  padding: .55rem 1.4rem;
  font-size: 0.78rem;
  font-weight: 500;
  box-shadow: -2px 3px 16px rgb(189 144 255 / 35%);
  margin-top: 1rem;
  border-radius: 8px;
}
.btn-serv:hover {background: #fb8726;color: #500c66;transform: translateY(-2px);}
 
/* =====================================================
   NAVBAR
   ===================================================== */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: .9rem 2rem;
  background: transparent;
  transition: background .35s, box-shadow .35s;
}
 
.navbar.scrolled {
  background: var(--clr-blue);
  box-shadow: 0 2px 20px rgba(0,0,0,.25);
}
 
.nav-inner {
  max-width: var(--max-w);
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
 
.nav-logo {
  display: flex;
  align-items: center;
  gap: .5rem;
}
 .novedades h2 img {
    display: inline;
    width: 291px;
    margin: 6px 3px -21px 22px;
    object-fit: scale-down;
}
.logo-text {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.3rem;
  color: var(--clr-white);
  letter-spacing: 1px;
}
 
.nav-links {
  display: flex;
  gap: 2rem;
  align-items: center;
}
 
.nav-links a {
  color: var(--clr-white);
  font-weight: 700;
  font-size: .95rem;
  transition: color var(--transition);
  position: relative;
}
 
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0; right: 0;
  height: 2px;
  background: var(--clr-primary);
  transform: scaleX(0);
  transition: transform var(--transition);
}
 
.nav-links a:hover { color: var(--clr-primary); }
.nav-links a:hover::after { transform: scaleX(1); }
 
/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: .3rem;
}
 
.nav-toggle span {
  display: block;
  width: 26px;
  height: 3px;
  background: var(--clr-white);
  border-radius: 3px;
  transition: transform .3s, opacity .3s;
}
 
/* =====================================================
   HERO
   ===================================================== */
.hero {
  position: relative;
    min-height: 652px;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding: 1rem 3rem 1rem;
    background: #1a2b5e url(../images/hero.jpg);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center 0;
}
 
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
 
.hero-bg-img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
}
 
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(96deg, rgba(26, 43, 95, .98) 20%, rgb(27 42 90) 15%, rgba(123, 47, 190, 0) 50%);
}
 
.hero-content {
  position: relative;
  z-index: 1;
  /* max-width: var(--max-w); */
  margin: auto;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}
 
.hero-text {max-width: 394px;background: #2e1c4d9c;padding: 2em;border: solid 1px #7a50b37d;border-radius: 20px;box-sizing: border-box;backdrop-filter: blur(10px);box-shadow: 15px 15px 20px #1a0c26b0;}
 
.hero-text h1 {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 3vw, 3rem);
  font-weight: 900;
  color: var(--clr-white);
  line-height: 1.1;
  margin-bottom: 1.2rem;
}
 
.hero-text p {
  color: rgba(255,255,255,.85);
  font-size: 1.1rem;
  margin-bottom: 2rem;
}
 
.hero-btns { display: flex; gap: 1rem; flex-wrap: wrap; }
 
.hero-mascot {
  flex-shrink: 0;
  max-width: 380px;
  animation: float 3.5s ease-in-out infinite;
}
h1.h2.h1-huge-md {
    display: none;
}
.hero-logo-center {
  position: absolute;
  top: 2rem;
  right: 2rem;
  z-index: 2;
}
 
.hero-logo-center img { width: 180px; }
 
@keyframes float {
  0%,100% { transform: translateY(0); }
  50%      { transform: translateY(-16px); }
}
 
/* =====================================================
   NOVEDADES / CARRUSEL
   ===================================================== */
.novedades {
  padding: 5rem 2rem 4rem;
  text-align: center;
  background: var(--clr-light-bg);
  position: relative;
  overflow: hidden;
}
 
.novedades::before {
  content: '';
  position: absolute;
  top: -80px; right: -80px;
  width: 300px; height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(123,47,190,.12), transparent 70%);
}
 
.section-tag {
  display: inline-block;
  background: var(--clr-primary);
  color: var(--clr-white);
  font-weight: 800;
  font-size: .8rem;
  letter-spacing: 2px;
  padding: .25rem 1rem;
  border-radius: 50px;
  margin-bottom: 1rem;
  text-transform: uppercase;
}
 
.novedades h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 900;
  color: #5b2b7f;
  margin-bottom: .4rem;
}
 
.section-sub {
  color: var(--clr-muted);
  font-size: .95rem;
  margin-bottom: 2.5rem;
}
 
/* Carousel */
.carousel-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  gap: .75rem;
  max-width: var(--max-w);
  margin: 0 auto 1.5rem;
}
 
.carousel-viewport {
  overflow: hidden;
  width: 100%;
  border-radius: var(--radius-lg);
}
 
.carousel-track {
  display: flex;
  gap: 1.25rem;
  transition: transform .5s cubic-bezier(.45,.05,.55,.95);
  will-change: transform;
  padding: .5rem .25rem 1rem;
}
 
.carousel-card {
  flex: 0 0 calc(33.333% - .84rem);
  background: var(--clr-white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: transform var(--transition), box-shadow var(--transition);
}
 
.carousel-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 40px rgba(26,43,95,.18);
}
 
.carousel-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}
 
.card-badge {
  position: absolute;
  top: .7rem; left: .7rem;
  background: var(--clr-primary);
  color: #fff;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: 1px;
  padding: .2rem .7rem;
  border-radius: 50px;
  text-transform: uppercase;
}
 
.carousel-card { position: relative; }
 
.card-body {
  padding: 1rem 1.2rem 1.4rem;
}
 
.card-body h3 {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 800;
  color: var(--clr-blue);
  margin-bottom: .4rem;
}
 
.card-body p {
  font-size: .87rem;
  color: var(--clr-muted);
}
 
/* Carousel buttons */
.carousel-btn {
  flex-shrink: 0;
  width: 44px; height: 44px;
  border-radius: 50%;
  border: none;
  background: var(--clr-blue);
  color: #fff;
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition), transform var(--transition);
  box-shadow: 0 4px 14px rgba(26,43,95,.25);
  z-index: 2;
}
 
.carousel-btn:hover { background: var(--clr-primary); transform: scale(1.08); }
.carousel-btn:disabled { opacity: .4; cursor: default; transform: none; }
 
/* Dots */
.carousel-dots {
  display: flex;
  justify-content: center;
  gap: .5rem;
  margin-top: .25rem;
}
 
.dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: #C4C4D4;
  border: none;
  cursor: pointer;
  transition: background var(--transition), transform var(--transition);
}
 
.dot.active {
  background: var(--clr-primary);
  transform: scale(1.25);
}
 
/* =====================================================
   SERVICIOS PRINCIPALES
   ===================================================== */
.servicios {
  padding: 5rem 2rem;
  background: var(--clr-white);
}
 
.servicios-grid {
  max-width: var(--max-w);
  margin: auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
}
 
.servicio-card {
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  border: solid 1px #ccc;
  text-align: left;
  padding: 0rem 0;
  transition: transform var(--transition), box-shadow var(--transition);
  box-shadow: 1px 9px 32px rgb(60 87 170 / 34%);
}
 
.servicio-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 48px rgba(26,43,95,.15);
}
 
.servicio-img {width: 100%;margin-bottom: 1rem;}
.servicio-img img {width: 100%;height: auto;object-fit: contain;}
 
.servicio-body h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 900;
  color: #502a92;
  margin-bottom: .7rem;
  line-height: 1.2;
}
 .servicio-body {
    padding: 0em 2em 2em 2em;
}

 
.servicio-body p {
  font-size: .9rem;
  color: var(--clr-muted);
}
 
/* =====================================================
   DETAIL SECTIONS
   ===================================================== */
.detail-section {
  padding: 2rem 2rem;
  background: var(--clr-white);
  max-width: 1033px;
  margin: 0 auto;
}
 
.detail-section.alt-bg { background: var(--clr-alt-bg); }
 
.detail-inner {
  max-width: var(--max-w);
  margin: 0 auto 3.5rem;
  display: flex;
  align-items: center;
  gap: 3rem;
}
 
.detail-inner.reverse { flex-direction: row-reverse; }
 
.detail-text { flex: 1; }
 
.detail-text h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 900;
  color: var(--clr-blue);
  line-height: 1.15;
  margin-bottom: 1rem;
}
 
.detail-text.right { text-align: right; }
 
.detail-text p {
  font-size: 1rem;
  color: var(--clr-muted);
  max-width: 480px;
}
 
.detail-text.right p { margin-left: auto; }
 
.detail-mascot {
  flex: 0 0 458px;
  animation: float 4s ease-in-out infinite;
}
 
.detail-mascot img { width: 100%; }
 
/* Features grid */
.features-grid {
  max-width: var(--max-w);
  margin: auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  top: -88px;
  position: relative;
}
 
.feature-item {
  background: var(--clr-white);
  border-radius: var(--radius-md);
  padding: 1.5rem 1.2rem;
  text-align: center;
  box-shadow: var(--shadow-card);
  transition: transform var(--transition);
}
 
.feature-item:hover { transform: translateY(-5px); }
 
.feature-item img {
  width: 64px;
  height: 64px;
  object-fit: contain;
  margin: 0 auto .8rem;
}
 
.feature-item h4 {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--clr-blue);
  margin-bottom: .4rem;
}
 
.feature-item p {font-size: 0.73rem;text-align: center;color: var(--clr-muted);line-height: 1.2;}
.feature-img {
    height: 122px;
    overflow: hidden;
}
 
.feature-img img {
    height: 120px;
    width: auto;
    min-width: max-content;
}

#impresion3d .pa-1 .feature-img img {
 
    position: relative;
    margin: 0px 0 0 13px;
}
#impresion3d .pa-2 .feature-img img {
 position: relative;
 margin: 0px 0 0 -191px;
}
#impresion3d .pa-3 .feature-img img {
 position: relative;
 margin: 4px 0 0 -426px;
}
#impresion3d .pa-4 .feature-img img {
 position: relative;
 margin: 1px 0 0 -648px;
}
#juegos .pa-1 .feature-img img {
 
    position: relative;
    margin: 0px 0 0 13px;
}
#juegos .pa-2 .feature-img img {
 position: relative;
 margin: 0px 0 0 -225px;
}
#juegos .pa-3 .feature-img img {
 position: relative;
 margin: -6px 0 0 -455px;
}
#juegos .pa-4 .feature-img img {
 position: relative;
 margin: -6px 0 0 -682px;
}
#pintura .pa-1 .feature-img img {
 
    position: relative;
    margin: 0px 0 0 13px;
}
#pintura .pa-2 .feature-img img {
 position: relative;
 margin: -1px 0 0 -272px;
}
#pintura .pa-3 .feature-img img {
 position: relative;
 margin: 4px 0 0 -578px;
}
#pintura .pa-4 .feature-img img {
 position: relative;
 margin: 0px 0 0 -805px;
 height: 110px;
}


.ubicacion-cta {
  background: none;
  padding: 393px 0rem 2rem 0rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  margin: -80px 0 0 0;
}
 
.ubicacion-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background-position: center top;
  background: radial-gradient(ellipse at 50% 67%, rgba(123,47,190,.4), transparent 41%);
}
 
.cta-logo {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .6rem;
  margin-bottom: 1.5rem;
  top: -38px;
}
 
.cta-logo img { width: 52px; }
 
.cta-logo span {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.6rem;
  color: var(--clr-white);
  letter-spacing: 2px;
}
 
.cta-mascots {
  position: relative;
  z-index: 1;
  margin-bottom: 1.5rem;
  top: -85px;
  position: absolute;
  left: 0;
}
 
.cta-mascots img {max-width: 100%;margin: auto;}
 
.cta-text {
  position: relative;
  z-index: 1;
  color: rgb(77 28 118);
  font-size: 1.4rem;
  max-width: 900px;
  margin: auto;
  padding: 1em 2em;
  background: #fff;
  width: 98%;
  box-shadow: 2px 3px 33px #0e0c1440;
  border-radius: 33px;
}
 
.cta-text strong { color: var(--clr-primary); }
 
/* =====================================================
   DONDE ENCONTRARNOS
   ===================================================== */
.donde {
  padding: 5rem 2rem;
  background: var(--clr-white);
}
 
.donde-inner {
  max-width: var(--max-w);
  margin: auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}
 
.donde-info h2 {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 900;
  color: #341a5f;
  margin-bottom: 1.8rem;
}
 
.info-item {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
  align-items: flex-start;
}
 
.info-icon {
  font-size: 1.4rem;
  flex-shrink: 0;
  line-height: 1;
}
 
.info-item strong {
  display: block;
  font-weight: 800;
  color: var(--clr-blue);
  margin-bottom: .3rem;
}
 
.info-item p { font-size: .9rem; color: var(--clr-muted); }
 
.contact-cta {
  font-size: .9rem;
  color: var(--clr-muted);
  margin-top: 1rem;
}
 
.link-underline {
  color: var(--clr-primary);
  font-weight: 700;
  text-decoration: underline;
}
 
.donde-map iframe {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
}
 
/* =====================================================
   FOOTER
   ===================================================== */
.footer {
  background: #321a5f;
  color: rgba(255,255,255,.75);
  padding: 3rem 2rem 1.5rem;
}
 
.footer-inner {
  max-width: var(--max-w);
  margin: auto;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}
 
.footer-brand {
  display: flex;
  flex-direction: column;
  gap: .4rem;
}
 
.footer-brand img { width: 42px; }
 
.footer-brand span {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.2rem;
  color: var(--clr-white);
  letter-spacing: 1px;
}
 
.footer-brand p { font-size: .85rem; max-width: 200px; }
 
.footer-links {
  display: flex;
  flex-direction: column;
  gap: .6rem;
}
 
.footer-links a {
  color: rgba(255,255,255,.75);
  font-size: .9rem;
  font-weight: 600;
  transition: color var(--transition);
}
 
.footer-links a:hover { color: var(--clr-primary); }
 
.footer-social {
  display: flex;
  gap: .6rem;
}
 
.social-btn {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 800;
  font-size: .75rem;
  letter-spacing: 0;
  text-transform: uppercase;
  transition: background var(--transition), transform var(--transition);
}
 
.social-btn:hover { background: var(--clr-primary); transform: scale(1.1); }
 
.footer-copy {
  text-align: center;
  font-size: .8rem;
  color: rgba(255,255,255,.4);
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,.08);
}
 
/* =====================================================
   RESPONSIVE
   ===================================================== */
 
/* Tablet: ÃƒÂ¢Ã¢â‚¬Â°Ã‚Â¤ 900px */
@media (max-width: 900px) {
  .hero-content { flex-direction: column; text-align: center; }
  .hero-btns { justify-content: center; }
  .hero-mascot { max-width: 260px; }
  .hero-logo-center { display: none; }
 
  .servicios-grid { grid-template-columns: 1fr 1fr; }
 
  .features-grid { grid-template-columns: 1fr 1fr; }
 
  .detail-inner,
  .detail-inner.reverse { flex-direction: column; text-align: center; }
  .detail-text p { margin: 0 auto; }
  .detail-text.right { text-align: center; }
  .detail-text.right p { margin: 0 auto; }
 
  .donde-inner { grid-template-columns: 1fr; }
 
  .carousel-card { flex: 0 0 calc(50% - .63rem); }
}
 
/* Mobile: ÃƒÂ¢Ã¢â‚¬Â°Ã‚Â¤ 600px */
@media (max-width: 600px) {
  /* Nav */
  .nav-toggle { display: flex; }
 
  .nav-links {
    position: fixed;
    inset: 0 0 0 30%;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: var(--clr-blue);
    gap: 2rem;
    transform: translateX(100%);
    transition: transform .35s ease;
    z-index: 999;
  }
 
  .nav-links.open { transform: translateX(0); }
 
  /* Hero */
  .hero { padding: 5rem 1.5rem 3rem; }
  .hero-text h1 { font-size: 2.2rem; }
 
  /* Novedades */
  .carousel-card { flex: 0 0 calc(100% - .25rem); }
  .carousel-btn { width: 36px; height: 36px; font-size: 1.2rem; }
 
  /* Servicios */
  .servicios-grid { grid-template-columns: 1fr; }
 
  /* Features */
  .features-grid { grid-template-columns: 1fr 1fr; }
 
  /* Detail */
  .detail-mascot { max-width: 220px; }
 
  /* Footer */
  .footer-inner { flex-direction: column; align-items: center; text-align: center; }
  .footer-links { align-items: center; }
}
 
@media (max-width: 400px) {
  .features-grid { grid-template-columns: 1fr; }
}
