/* ==== RESET Y BASE ==== */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  font-family: 'Montserrat', Arial, sans-serif;
  background: linear-gradient(120deg, #e0e7ff 0%, #ffe7d6 100%);
  color: #222;
  min-height: 100vh;
  line-height: 1.7;
}

/* ==== HEADER Y NAV ==== */
header.header {
  background: #fff;
  box-shadow: 0 4px 24px #e0e7ff50;
  border-radius: 0 0 18px 18px;
  padding-bottom: 10px;
  margin-bottom: 32px;
}
.logo-container {
  text-align: center;
  padding: 32px 0 8px 0;
  
}
.logo-main {
  width: 190px !important; 
  filter: drop-shadow(0 2px 14px #0001);
}
.lema {
  text-align: center;
  font-size: 1.15rem;
  color: #2d3a7b;
  margin-bottom: 12px;
  letter-spacing: 1px;
  font-weight: 500;
  opacity: 0.92;
}
nav ul {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 18px;
  padding: 12px 0;
}
nav li {
  list-style: none;
}
nav li a {
  display: inline-block;
  padding: 8px 22px;
  border-radius: 30px;
  font-weight: 600;
  color: #2d3a7b;
  background: #f3f7fa;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
  text-decoration: none;
}
nav li a.active,
nav li a:hover {
  background: linear-gradient(90deg, #ff6a00 0%, #2f80ed 90%);
  color: #fff;
  box-shadow: 0 3px 12px #2f80ed22;
}

/* ==== HERO ==== */
.hero {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  padding: 60px 24px 40px 24px;
  gap: 60px;
  background: linear-gradient(100deg, #fff 68%, #e0e7ff 100%);
  border-radius: 0 0 32px 32px;
  box-shadow: 0 6px 32px #2d3a7b13;
  margin-bottom: 38px;
}
.hero-content {
  max-width: 480px;
}
.hero-content h1 {
  font-size: 2.4rem;
  font-weight: 900;
  color: #2d3a7b;
  margin-bottom: 12px;
}
.hero-content .gradient-text {
  background: linear-gradient(90deg, #ff6a00 30%, #2f80ed 80%);
  -webkit-background-clip: text;
  color: transparent;
}
.hero-content p {
  font-size: 1.18rem;
  color: #555;
  margin-bottom: 24px;
}
.btn-primary {
  padding: 12px 32px;
  border-radius: 25px;
  border: none;
  background: linear-gradient(90deg, #ff6a00 0%, #2f80ed 100%);
  color: #fff;
  font-weight: 700;
  font-size: 1.08rem;
  box-shadow: 0 4px 20px #ff6a0055;
  transition: background 0.2s, box-shadow 0.2s;
  cursor: pointer;
  text-decoration: none;
  margin-top: 10px;
}
.btn-primary:hover {
  background: linear-gradient(90deg, #2f80ed 0%, #ff6a00 100%);
  box-shadow: 0 6px 32px #2f80ed44;
}
.pulse {
  animation: pulse 1.3s infinite alternate;
}
@keyframes pulse {
  to { box-shadow: 0 0 30px #ff6a00cc; }
}
.hero-img img,
.animated-graphic {
  width: 290px;
  max-width: 90vw;
  filter: drop-shadow(0 8px 30px #2f80ed22);
  animation: float 3.5s ease-in-out infinite;
}
@keyframes float {
  0%, 100% { transform: translateY(0);}
  50% { transform: translateY(-18px);}
}

/* ==== SECCIONES GENERALES ==== */
section {
  max-width: 1100px;
  margin: 32px auto;
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 2px 18px #2f80ed18;
  padding: 32px 18px 32px 18px;
}
.section-title {
  font-size: 2rem;
  color: #ff6a00;
  text-align: center;
  font-weight: 800;
  margin-bottom: 18px;
  margin-top: 0;
  letter-spacing: .5px;
}

/* ==== CARDS Y GRIDS ==== */
.services-grid, .portfolio-grid, .plans-grid, .graphic-services, .interactive-row {
  display: flex;
  flex-wrap: wrap;
  gap: 36px;
  justify-content: center;
}
.service-card, .graphic-card, .portfolio-item, .plan-card, .immersive-item {
  background: linear-gradient(120deg, #f9f9fa 70%, #e7f0ff 100%);
  border-radius: 22px;
  box-shadow: 0 2px 16px #ff6a0022;
  min-width: 230px;
  max-width: 270px;
  padding: 28px 20px;
  text-align: center;
  transition: transform .22s, box-shadow .22s, background 0.2s;
}
.service-card img, .graphic-card img, .portfolio-item img, .immersive-item img {
  width: 160px;
  margin-bottom: 18px;
}
.service-card h3, .graphic-card h3, .portfolio-item h3, .plan-card h2, .immersive-item span {
  color: #2d3a7b;
  font-size: 1.13rem;
  margin-bottom: 6px;
}
.service-card p, .graphic-card p, .portfolio-item p, .plan-card ul, .immersive-item p {
  font-size: 1.01rem;
  color: #444;
}
.service-card:hover, .graphic-card:hover, .portfolio-item:hover, .plan-card:hover, .immersive-item:hover {
  transform: translateY(-8px) scale(1.04);
  box-shadow: 0 8px 32px #ff6a0030;
  background: linear-gradient(120deg, #fffbe6 70%, #e7f0ff 100%);
}

/* ==== PLANES ==== */
.plan-card {
  min-width: 230px;
  max-width: 300px;
  padding: 28px 20px 18px 20px;
  border: 2px solid #2f80ed22;
}
.plan-card.plan-basic { border-color: #e0e7ff; }
.plan-card.plan-business { border-color: #ff6a00; }
.plan-card.plan-pro { border-color: #2f80ed; }
.plan-card h2 {
  font-size: 1.25rem;
  font-weight: 900;
  margin-bottom: 10px;
}
.plan-card ul {
  text-align: left;
  margin-bottom: 14px;
  padding-left: 0;
}
.plan-card ul li {
  list-style: disc inside;
  margin-bottom: 6px;
}
.plan-price {
  font-size: 1.4rem;
  color: #ff6a00;
  font-weight: 700;
  margin-bottom: 10px;
}
.btn-secondary {
  padding: 11px 30px;
  border-radius: 25px;
  background: #fff;
  color: #2f80ed;
  border: 2px solid #2f80ed;
  font-weight: 700;
  transition: background 0.2s, color 0.2s;
  cursor: pointer;
  text-decoration: none;
}
.btn-secondary:hover {
  background: #2f80ed;
  color: #fff;
}

/* ==== FAQ ==== */
.faq-list { margin-top: 24px; }
.faq-item {
  margin-bottom: 18px;
  padding: 18px;
  border-radius: 12px;
  background: #fafcff;
  box-shadow: 0 2px 10px #2f80ed18;
  transition: box-shadow .18s;
  cursor: pointer;
}
.faq-item:hover { box-shadow: 0 4px 16px #2f80ed33; }
.faq-item h3 {
  color: #2f80ed;
  margin-bottom: 6px;
  font-size: 1.1rem;
}

/* ==== CONTACTO ==== */
.contact-form {
  max-width: 420px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.contact-form label { font-weight: 600; color: #2f80ed; }
.contact-form input, .contact-form textarea {
  padding: 10px;
  border-radius: 8px;
  border: 1px solid #2f80ed77;
  font-size: 1.04rem;
  resize: none;
}
.contact-form input:focus, .contact-form textarea:focus { outline: 2px solid #ff6a00; }
.contact-methods {
  display: flex;
  gap: 12px;
  justify-content: center;
  margin: 8px 0;
}
.btn-wsp { background: #25d366; color: #fff; }
.btn-ig { background: linear-gradient(90deg,#fd5,#c13584,#e1306c,#833ab4); color: #fff; }
.btn-mail { background: #2f80ed; color: #fff; }
.form-success {
  margin: 7px 0;
  color: #2f80ed;
  font-weight: 700;
  display: none;
}

/* ==== FOOTER ==== */
footer {
  margin-top: 64px;
  background: #fff;
  border-radius: 24px 24px 0 0;
  box-shadow: 0 -2px 24px #2f80ed16;
  padding: 0;
}
.footer-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  justify-content: space-between;
  background: linear-gradient(90deg, #fff 90%, #e0e7ff 100%);
  padding: 34px 24px 12px 24px;
  border-radius: 22px 22px 0 0;
}
.footer-section {
  min-width: 180px;
  margin-bottom: 12px;
}
.footer-section h3 {
  color: #2f80ed;
  font-size: 1.12rem;
  margin-bottom: 10px;
}
.footer-section ul li,
.footer-section p {
  font-size: 0.99rem;
  margin-bottom: 7px;
}
.footer-section img {
  width: 18px;
  vertical-align: middle;
  margin-right: 7px;
}
.footer-section a {
  color: #ff6a00;
  text-decoration: underline;
}
.copyright {
  text-align: center;
  padding: 18px 0 12px 0;
  font-size: .97rem;
  color: #fff;
  background: #2f80ed;
  border-radius: 0 0 22px 22px;
  margin-top: 0;
}

/* ==== BURBUJAS flotantes ==== */
.bubble {
  position: fixed;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 99;
  box-shadow: 0 2px 10px #ff6a0070;
  background: #fff;
  transition: box-shadow .18s, transform .18s;
  right: 20px;
}
.bubble img {
  width: 46px;
  height: 46px;
  object-fit: contain; /* asegura que la imagen no salga de la burbuja */
  margin: 0; padding: 0;
  display: block;
}
.bubble-wsp  { bottom: 35px; }
.bubble-mail { bottom: 81px; }

/* ==== RESPONSIVE ==== */
@media (max-width: 1100px) {
  .services-grid, .portfolio-grid, .plans-grid, .graphic-services, .footer-grid, .interactive-row {
    flex-wrap: wrap;
    gap: 20px;
  }
  .footer-grid {
    flex-direction: column;
    gap: 18px;
  }
}
@media (max-width: 800px) {
  .hero {
    flex-direction: column;
    padding: 38px 6px 28px 6px;
    gap: 30px;
  }
  .hero-img img, .animated-graphic {
    width: 80vw;
    max-width: 320px;
  }
  .footer-grid {
    padding: 18px 8px;
  }
}
@media (max-width: 600px) {
  nav ul {
    flex-direction: column;
    gap: 8px;
    padding: 7px 0;
  }
  .hero-content h1 {
    font-size: 1.5rem;
  }
  .section-title {
    font-size: 1.3rem;
  }
  section {
    padding: 15px 4px 20px 4px;
    margin: 20px 2px 0 2px;
  }
  .footer-grid {
    padding: 9px 2px;
    gap: 6px;
  }
}
/* ==== RESET Y BASE ==== */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  font-family: 'Montserrat', Arial, sans-serif;
  background: linear-gradient(120deg, #e0e7ff 0%, #ffe7d6 100%);
  color: #222;
  min-height: 100vh;
  line-height: 1.7;
}

/* ==== HEADER Y NAV ==== */
header,
header.header {
  background: #fff;
  box-shadow: 0 4px 24px #e0e7ff50;
  border-radius: 0 0 18px 18px;
  padding-bottom: 10px;
  margin-bottom: 32px;
}
.logo-container {
  text-align: center;
  padding: 32px 0 8px 0;
}
.logo-main {
  width: 140px;
  filter: drop-shadow(0 2px 14px #0001);
}
.lema {
  text-align: center;
  font-size: 1.15rem;
  color: #2d3a7b;
  margin-bottom: 12px;
  letter-spacing: 1px;
  font-weight: 500;
  opacity: 0.92;
}
nav ul {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 18px;
  padding: 12px 0;
}
nav li {
  list-style: none;
}
nav li a {
  display: inline-block;
  padding: 8px 22px;
  border-radius: 30px;
  font-weight: 600;
  color: #2d3a7b;
  background: #f3f7fa;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
  text-decoration: none;
}
nav li a.active,
nav li a:hover {
  background: linear-gradient(90deg, #ff6a00 0%, #2f80ed 90%);
  color: #fff;
  box-shadow: 0 3px 12px #2f80ed22;
}

/* ==== BURBUJAS flotantes ==== */
.bubble {
  position: fixed;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 99;
  box-shadow: 0 2px 10px #ff6a0070;
  background: #fff;
  transition: box-shadow .18s, transform .18s;
  right: 20px;
}
.bubble img {
  width: 26px;
}
.bubble-wsp { bottom: 25px; }
.bubble-ig { bottom: 80px; }
.bubble-mail { bottom: 135px; }
.bubble:hover {
  transform: scale(1.13) rotate(-8deg);
  box-shadow: 0 6px 24px #2f80ed55;
}

/* ====== SECCIÓN NOSOTROS ====== */
.about {
  max-width: 1000px;
  margin: 48px auto 0 auto;
  background: linear-gradient(120deg, #e0e7ff 80%, #fff 100%);
  border-radius: 26px;
  box-shadow: 0 4px 32px #2f80ed14;
  padding: 48px 28px 38px 28px;
  position: relative;
  z-index: 1;
}

.about h1 {
  color: #2f80ed;
  font-size: 2.2rem;
  font-weight: 800;
  text-align: center;
  margin-bottom: 20px;
  letter-spacing: .5px;
}

.about p {
  font-size: 1.18rem;
  color: #222;
  line-height: 1.8;
  margin: 0 auto 36px auto;
  max-width: 700px;
  text-align: center;
}

.gradient-text {
  background: linear-gradient(90deg, #ff6a00 10%, #2f80ed 80%);
  -webkit-background-clip: text;
  color: transparent;
  font-weight: 700;
}

/* --- Timeline Proceso --- */
.timeline-container {
  margin: 48px auto 38px auto;
  max-width: 750px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 18px #2f80ed14;
  padding: 32px 18px 30px 18px;
}

.timeline-container h2 {
  color: #ff6a00;
  text-align: center;
  font-weight: 800;
  font-size: 1.38rem;
  margin-bottom: 24px;
  letter-spacing: .4px;
}

.timeline {
  position: relative;
  margin: 0 auto;
  padding-left: 32px;
  border-left: 3px solid #2f80ed33;
}

.timeline-item {
  position: relative;
  margin-bottom: 40px;
  animation: fadeInUp 0.7s;
}

.timeline-dot {
  position: absolute;
  left: -34px;
  top: 10px;
  width: 20px;
  height: 20px;
  background: linear-gradient(90deg, #ff6a00 0%, #2f80ed 100%);
  border-radius: 50%;
  box-shadow: 0 2px 8px #ff6a0035;
  border: 3px solid #fff;
  z-index: 10;
  animation: bounceDot 1.5s infinite alternate;
}

@keyframes bounceDot {
  to { transform: translateY(-4px) scale(1.08);}
}

.timeline-date {
  font-size: 1.07rem;
  color: #2f80ed;
  font-weight: 700;
  margin-bottom: 6px;
  margin-left: 4px;
}

.timeline-content h3 {
  color: #ff6a00;
  font-size: 1.1rem;
  margin-bottom: 3px;
  font-weight: 700;
}
.timeline-content p {
  color: #444;
  font-size: 1rem;
  margin-bottom: 0;
}

/* --- Beneficios --- */
.benefits-section {
  margin: 40px auto 0 auto;
  max-width: 700px;
  background: #f8fafc;
  border-radius: 16px;
  box-shadow: 0 2px 12px #2f80ed10;
  padding: 32px 20px 20px 20px;
}

.benefits-section h2 {
  color: #2f80ed;
  font-size: 1.25rem;
  margin-bottom: 18px;
  text-align: center;
  font-weight: 800;
}

.benefits-list {
  list-style: none;
  padding-left: 0;
  margin: 0 auto;
  max-width: 520px;
}
.benefits-list li {
  font-size: 1.06rem;
  margin-bottom: 13px;
  background: linear-gradient(90deg,#fff 70%,#e0e7ff 100%);
  border-radius: 8px;
  padding: 11px 16px;
  color: #2d3a7b;
  box-shadow: 0 1px 6px #2f80ed10;
  display: flex;
  align-items: flex-start;
  gap: 8px;
  line-height: 1.6;
  transition: box-shadow .18s, background .15s;
  border-left: 5px solid #2f80ed55;
}
.benefits-list li b {
  color: #ff6a00;
  font-weight: 700;
}
.benefits-list li:hover {
  background: linear-gradient(90deg,#ffe7d6 80%,#e0e7ff 100%);
  box-shadow: 0 4px 18px #ff6a0020;
  border-left: 5px solid #ff6a00;
}

/* --- Animación entrada timeline --- */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(40px);}
  to { opacity: 1; transform: translateY(0);}
}

/* ==== FOOTER ==== */
footer {
  margin-top: 64px;
  background: #fff;
  border-radius: 24px 24px 0 0;
  box-shadow: 0 -2px 24px #2f80ed16;
  padding: 0;
}
.footer-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  justify-content: space-between;
  background: linear-gradient(90deg, #fff 90%, #e0e7ff 100%);
  padding: 34px 24px 12px 24px;
  border-radius: 22px 22px 0 0;
}
.footer-section {
  min-width: 180px;
  margin-bottom: 12px;
}
.footer-section h3 {
  color: #2f80ed;
  font-size: 1.12rem;
  margin-bottom: 10px;
}
.footer-section ul li,
.footer-section p {
  font-size: 0.99rem;
  margin-bottom: 7px;
}
.footer-section img {
  width: 18px;
  vertical-align: middle;
  margin-right: 7px;
}
.footer-section a {
  color: #ff6a00;
  text-decoration: underline;
}
.copyright {
  text-align: center;
  padding: 18px 0 12px 0;
  font-size: .97rem;
  color: #fff;
  background: #2f80ed;
  border-radius: 0 0 22px 22px;
  margin-top: 0;
}

/* ==== RESPONSIVE ==== */
@media (max-width: 1100px) {
  .footer-grid {
    flex-direction: column;
    gap: 18px;
  }
}
@media (max-width: 900px) {
  .about {
    padding: 25px 5vw 20px 5vw;
  }
  .timeline-container {
    padding: 18px 4vw 18px 4vw;
  }
}

@media (max-width: 600px) {
  .about {
    padding: 12px 2vw 10px 2vw;
    border-radius: 13px;
  }
  .timeline-container {
    padding: 10px 2vw;
    border-radius: 9px;
  }
  .timeline {
    padding-left: 13px;
  }
  .timeline-dot {
    left: -19px;
    width: 15px;
    height: 15px;
  }
  .benefits-section {
    padding: 10px 2vw 10px 2vw;
    border-radius: 7px;
  }
  .benefits-list li {
    font-size: .98rem;
    padding: 7px 7px;
  }
  .footer-grid {
    padding: 9px 2px;
    gap: 6px;
  }
  nav ul {
    flex-direction: column;
    gap: 8px;
    padding: 7px 0;
  }
}
.mobile-optimized {
  max-width: 1100px;
  margin: 40px auto 32px auto;
  background: linear-gradient(100deg,#fff 60%, #e0e7ff 100%);
  border-radius: 28px;
  box-shadow: 0 6px 32px #2d3a7b13;
  padding: 38px 24px;
}
.mobile-optimized-content {
  display: flex;
  align-items: center;
  gap: 48px;
  flex-wrap: wrap;
  justify-content: center;
}
.mobile-text {
  max-width: 440px;
}
.mobile-text h2 {
  font-size: 2rem;
  color: #2f80ed;
  margin-bottom: 18px;
  font-weight: 900;
}
.mobile-text .emoji { font-size: 2.2rem; vertical-align: -10px; }
.mobile-text .check {
  color: #25d366;
  font-size: 1.15em;
  margin-right: 7px;
}
.mobile-text p {
  font-size: 1.12rem;
  color: #333;
  line-height: 1.7;
}
.mobile-mockup {
  position: relative;
  width: 270px;
  height: 540px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.phone-frame {
  width: 250px;
  height: 500px;
  border-radius: 38px;
  border: 8px solid #2f80ed;
  background: #222;
  box-shadow: 0 6px 40px #2f80ed33;
  overflow: hidden;
  position: relative;
}
.phone-frame iframe {
  width: 100%;
  height: 100%;
  border: none;
  border-radius: 30px;
  background: #fff;
  pointer-events: none;
  transform: scale(1.01);
}
.phone-glow {
  position: absolute;
  z-index: -1;
  width: 255px;
  height: 510px;
  left: 0;
  top: 0;
  border-radius: 40px;
  box-shadow: 0 0 40px 12px #2f80ed55, 0 0 20px 6px #ff6a0040;
  pointer-events: none;
  animation: phoneGlow 2.6s infinite alternate;
}
@keyframes phoneGlow {
  to { box-shadow: 0 0 60px 18px #2f80ed99, 0 0 28px 10px #ff6a0080; }
}
@media (max-width: 800px) {
  .mobile-optimized-content { flex-direction: column; gap: 24px;}
  .mobile-mockup { margin: 0 auto; }
}
 <!-- Item 1: Ilustración animada interactiva -->
    <div class="immersive-item immersive-draw">
      <span>🖌️ Dibuja aquí</span>
      <canvas id="draw-canvas" width="180" height="140"></canvas>
    </div>

    <!-- Item 2: Cambio de tema en vivo -->
    <div class="immersive-item immersive-theme">
      <span>🌗 Cambia el tema</span>
      <button id="theme-btn" class="btn-secondary">Modo Oscuro</button>
    </div>

    <!-- Item 3: Hover Reveal -->
    <div class="immersive-item immersive-reveal">
      <span>Pasa el mouse:</span>
      <div class="reveal-box">¿Qué hay aquí?</div>
    </div>

    <!-- Item 4: Botón vibrante con partícula -->
    <div class="immersive-item immersive-particles">
      <span>✨ Toque mágico</span>
      <button id="particles-btn" class="btn-primary">Haz clic</button>
      <div id="particles-container"></div>
    </div>

    <!-- Item 5: Flip Card de testimonio -->
    <div class="immersive-item immersive-flip">
      <div class="flip-card">
        <div class="flip-card-inner">
          <div class="flip-card-front">
            <span>🗣️ Opinión</span>
            <p>Haz clic para girar</p>
          </div>
          <div class="flip-card-back">
            <p><i>“¡La web de mi negocio ahora es otra cosa! Increíble experiencia móvil.”</i></p>
            <strong>- Cliente feliz</strong>
          </div>
        </div>
      </div>
    </div>
    /* ===== DISEÑO GRÁFICO NUEVO DISEÑO ===== */
.graphic-design-main {
  max-width: 1150px;
  margin: 48px auto 48px auto;
  background: linear-gradient(120deg, #fff 70%, #e0e7ff 100%);
  border-radius: 38px;
  box-shadow: 0 6px 40px #2f80ed18;
  padding: 54px 24px 42px 24px;
  position: relative;
  overflow: hidden;
}
.graphic-design-main .section-title {
  text-align: center;
  font-size: 2.2rem;
  color: #2f80ed;
  font-weight: 900;
  margin-bottom: 32px;
  letter-spacing: .7px;
}
.graphic-design-flex {
  display: flex;
  gap: 60px;
  justify-content: space-between;
  align-items: stretch;
  flex-wrap: wrap;
  margin-bottom: 34px;
}

.graphic-design-benefits {
  background: linear-gradient(120deg, #e0e7ff 90%, #fff 100%);
  border-radius: 22px;
  box-shadow: 0 2px 22px #2f80ed11;
  padding: 38px 34px 32px 34px;
  max-width: 420px;
  min-width: 260px;
  flex: 1 1 320px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  transition: box-shadow .18s, transform .13s;
  border-left: 8px solid #ff6a00;
}
.graphic-design-benefits h2 {
  color: #ff6a00;
  margin-bottom: 18px;
  font-size: 1.25rem;
  font-weight: 900;
  letter-spacing: .2px;
}
.graphic-design-benefits ul {
  margin-bottom: 16px;
  padding-left: 14px;
}
.graphic-design-benefits li {
  color: #2d3a7b;
  margin-bottom: 13px;
  font-size: 1.08rem;
  border-left: 3px solid #2f80ed55;
  padding-left: 10px;
  border-radius: 4px;
  background: #fff;
  line-height: 1.7;
  transition: background .2s;
}
.graphic-design-benefits li b {
  color: #ff6a00;
}
.graphic-design-benefits li:hover {
  background: #e0e7ff44;
}
.graphic-design-benefits .btn-primary {
  align-self: flex-start;
  margin-top: 5px;
  font-size: 1.08rem;
}

.graphic-design-showcase {
  display: flex;
  flex-direction: column;
  gap: 24px;
  justify-content: center;
  align-items: center;
  flex: 1 1 340px;
  min-width: 220px;
}
.graphic-design-showcase img {
  width: 260px;
  height: 170px;
  object-fit: cover;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 2px 18px #2f80ed22;
  transition: transform .19s, box-shadow .18s;
  border: 3px solid #e0e7ff;
}
.graphic-design-showcase img:hover {
  transform: scale(1.06) rotate(-2deg);
  box-shadow: 0 8px 28px #2f80ed33;
  border-color: #ff6a00;
}

.graphic-design-main > p {
  text-align: center;
  margin-top: 28px;
  font-weight: 800;
  color: #2f80ed;
  font-size: 1.20rem;
  letter-spacing: .1px;
}

/* Responsive */
@media (max-width: 1100px) {
  .graphic-design-flex {
    flex-direction: column;
    align-items: center;
    gap: 30px;
  }
  .graphic-design-benefits,
  .graphic-design-showcase {
    max-width: 98vw;
  }
  .graphic-design-showcase img {
    width: 90vw;
    max-width: 340px;
  }
}
@media (max-width: 600px) {
  .graphic-design-main {
    padding: 17px 3vw 12px 3vw;
    border-radius: 19px;
  }
  .graphic-design-benefits {
    padding: 18px 10px 15px 10px;
    border-left: 4px solid #ff6a00;
    min-width: 0;
  }
  .graphic-design-showcase img {
    width: 90vw;
    min-width: 0;
    max-width: 97vw;
    height: 26vw;
    min-height: 90px;
  }
}
.flip-card {
  width: 150px;
  height: 120px;
  perspective: 800px;
  cursor: pointer;
}
.flip-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transition: transform .7s cubic-bezier(.4,2.3,.3,1);
  transform-style: preserve-3d;
}
.flip-card.flipped .flip-card-inner {
  transform: rotateY(180deg);
}
.flip-card-front,
.flip-card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  border-radius: 13px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: #e0e7ff;
}
.flip-card-front {
  color: #2f80ed;
}
.flip-card-back {
  transform: rotateY(180deg);
  background: #ffecd6;
  color: #2d3a7b;
}
.flip-card-back strong {
  display: block;
  margin-top: 7px;
  color: #ff6a00;
}
body.dark-mode {
  background: #181c24 !important;
  color: #f4f4f4 !important;
}
body.dark-mode .about,
body.dark-mode .mobile-optimized,
body.dark-mode .immersive-experience,
body.dark-mode section,
body.dark-mode .timeline-container,
body.dark-mode .benefits-section,
body.dark-mode .immersive-item,
body.dark-mode .graphic-design-main {
  background: #232734 !important;
  color: #f4f4f4 !important;
  box-shadow: 0 2px 18px #0008 !important;
}
body.dark-mode .section-title,
body.dark-mode .about h1,
body.dark-mode .timeline-date,
body.dark-mode .benefits-section h2,
body.dark-mode .immersive-item span,
body.dark-mode .graphic-design-benefits h2 {
  color: #7cbcff !important;
}
body.dark-mode .timeline-dot {
  background: linear-gradient(90deg, #ffb86c 0%, #2f80ed 100%) !important;
}
body.dark-mode .phone-frame {
  border-color: #7cbcff !important;
}
body.dark-mode .btn-primary,
body.dark-mode .btn-secondary {
  filter: brightness(1.1);
}
/* Oculta la simulación móvil en celulares */
@media (max-width: 767px) {
  .mobile-optimized {
    display: none !important;
  }
}

#scrollTopBtn {
  display: none; /* Oculto por defecto */
  position: fixed;
  bottom: 30px;
  left: 30px;
  z-index: 999;
  background: #4f46e5;
  color: white;
  border: none;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  font-size: 2em;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0,0,0,0.18);
  transition: opacity 0.3s;
}
#scrollTopBtn:hover {
  background: #3730a3;
}
