/* mobile.css — breakpoint: max-width 700px */
@media (max-width: 700px) {
  .services-wrapper {
    margin-top: 100px;
    grid-template-columns: 1fr !important;
    grid-template-rows: auto auto;
    height: auto !important;
    min-height: 100vh;
    overflow: visible !important;
    display: flex !important;
    flex-direction: column;
    padding-top: 40px;
  }

  .hero-left, .cards-grid {
    width: 100%;
    height: auto !important;
  }

  .hero-left { 
    order: 1; 
  }
  
  .cards-grid { 
    order: 2; 
    padding: 2rem 1rem !important;
    border-left: none !important;
    background: transparent !important;
  }

  /* Cards en mobile: imagen más pequeña */
  .service-img {
    width: 52px;
    height: 52px;
  }

 	.service-img canvas {
    width: 52px;
    height: 52px;
  }
	.service-card {
	height: fit-content;
	display: flex;
	align-items: center;
	justify-content: center;
	}

  /* Pills en mobile: solo las primeras 2-3 visibles sin desbordarse */
  .tech-pills {
    gap: 4px;
  }

  .tech-pill {
    font-size: 10px;
    padding: 2px 8px;
  }

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

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

  .content-grid h2 {
    font-size: 2.5rem;
  }

  .pt-wrapper {
    padding: 0 1rem;
    margin-top: 60px;
  }

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

  .tech-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .pricing-section {
    padding: 40px 20px;
    border-radius: 24px;
  }

  .price-card h4 {
    font-size: 1.6rem;
  }

  .price-value {
    font-size: 1.7rem;
  }

  .hero-development {
    margin-top: 0;
    align-items: flex-start;
  }

  .hero-container {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto;
    margin-top: 240px;
    padding: 0 1.25rem;
    gap: 0;
  }

  .hero-text-content h1 {
    font-size: clamp(1.8rem, 7vw, 2.8rem);
  }

  .hero-text-content p {
    font-size: 0.95rem;
  }

  .hero-visual {
    width: 100%;
    min-height: 300px;
    -webkit-mask-image: none;
    mask-image: none;
  }

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

  .final-cta {
    flex-direction: column;
  }

  .nav-principal {
    display: none;
  }

  /* ── SPA PORTFOLIO STACK SLIDER & SECTIONS RESPONSIVE FIXES ── */
  .stack-philosophy {
    padding: 60px 16px !important;
  }
  .sp-inner {
    grid-template-columns: 1fr !important;
    gap: 32px !important;
    width: 100% !important;
  }
  .sp-left {
    width: 100% !important;
  }
  .sp-right {
    width: 100% !important;
    overflow: hidden;
  }
  
  /* Slider & Tabs */
  .sp-tabs {
    padding-bottom: 8px !important;
    margin-bottom: 16px !important;
    display: flex !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch;
    white-space: nowrap !important;
    gap: 12px !important;
  }
  .sp-tab {
    padding: 8px 14px !important;
    font-size: 0.85rem !important;
  }
  .sp-slider-container {
    height: 380px !important;
    width: 100% !important;
  }
  .sp-panel {
    padding: 16px !important;
  }
  .sp-panel .sp-tech-grid {
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 12px !important;
  }
  .sp-panel .sp-tech-item {
    padding: 16px 8px !important;
  }
  
  /* AI Tools Panel */
  .sp-ai-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 12px !important;
  }
  .sp-ai-card {
    padding: 12px 8px !important;
  }
  .sp-ai-card canvas {
    width: 60px !important;
    height: 60px !important;
  }
  .sp-ai-card span {
    font-size: 0.75rem !important;
    text-align: center;
  }

  /* ── PRICING RESPONSIVE FIXES ── */
  .pricing-fullwidth {
    padding: 60px 16px !important;
    width: 100vw !important;
    left: 50% !important;
    right: 50% !important;
    margin-left: -50vw !important;
    margin-right: -50vw !important;
  }
  .pricing-cards-row {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
    width: 100% !important;
    padding: 0 8px !important;
  }
  .pricing-cards-row .price-card {
    width: 100% !important;
    min-height: auto !important;
    padding: 30px 20px !important;
  }
  .pricing-cards-row .price-features {
    margin-top: 16px !important;
  }

  /* ── CONTACT RESPONSIVE FIXES ── */
  .contact-section {
    padding: 60px 16px !important;
  }
  .contact-grid {
    grid-template-columns: 1fr !important;
    gap: 12px !important;
    width: 100% !important;
  }
  .contact-card {
    width: 100% !important;
    padding: 16px !important;
  }
  .contact-card-wide {
    grid-column: span 1 !important;
  }
  .contact-card-value {
    font-size: 0.9rem;
    white-space: normal !important;
    word-break: break-all !important;
  }

  /* ── COLLAPSIBLE FOOTER RESPONSIVE OVERRIDES ── */
  .footer-landing {
    padding: 20px 16px !important;
    max-height: 90px !important;
  }
  .footer-landing.footer-open {
    padding: 50px 16px 30px !important;
    max-height: 2000px !important;
  }
  .footer-cta h2 {
    font-size: 1.5rem !important;
    line-height: 1.1 !important;
  }
  .footer-toggle-btn {
    width: 38px !important;
    height: 38px !important;
  }
  .footer-collapsible-content p {
    font-size: 0.95rem !important;
    margin-top: 16px !important;
  }
}