/* Lectura y navegación táctil: portada, producto y contacto. */
@media (max-width: 900px) {
  .studio-page .header-contact { min-height: 44px; }
  .studio-page .rentable-art, .studio-page .future-art, .studio-page .custom-object { left: auto; width: 100%; transform: none; margin-left: auto; margin-right: auto; }
  .mobile-toggle { min-width: 44px; min-height: 44px; align-items: center; padding: 10px; flex-shrink: 0; border: 1px solid #ffffff20; border-radius: 9px; }
  .mobile-toggle[aria-expanded="true"] { background: #ffffff0b; border-color: #ffffff30; }
  .mobile-nav { padding-top: 15px; padding-bottom: 20px; }
  .mobile-nav a, .mobile-nav button { min-height: 48px; padding: 15px 10px; font-size: 15px; border-radius: 6px; }
  .mobile-nav button { margin-top: 8px; padding-left: 15px; background: #f3eff8; color: #15111d; font-weight: 750; }
  .studio-page .process-section { grid-template-columns: minmax(0, 1fr); gap: 35px; }
  .studio-page .process-section .section-intro > p:last-child { max-width: 530px; }
  .studio-page .process-section > .zebra-texture { inset: 0 15% 25% 0; }
  .contact-dialog input, .contact-dialog select, .contact-dialog textarea { font-size: 16px; min-height: 48px; }
  .contact-dialog .dialog-close { width: 44px; height: 44px; padding: 0; top: 8px; right: 8px; }
}

@media (max-width: 700px) {
  :root { --gutter: clamp(20px, 5.5vw, 32px); scroll-padding-top: 100px; }
  body { -webkit-text-size-adjust: 100%; }
  .studio-page .site-header { position: sticky; top: 0; height: calc(80px + env(safe-area-inset-top, 0px)); padding-top: env(safe-area-inset-top, 0px); background: rgb(9 10 12 / 90%); gap: 15px; }
  .studio-page .site-header .studio-brand { width: clamp(175px, 54vw, 230px); gap: 1px; }
  .studio-page .site-header .studio-wordmark { height: 36px; }
  .studio-page .site-header .studio-brand small { display: block; font-size: 8px; margin-left: 0; letter-spacing: .015em; }
  .studio-page .site-header .header-contact { display: none; }
  .studio-page .mobile-toggle { margin-left: auto; }
  .studio-page .mobile-nav { position: fixed; top: calc(80px + env(safe-area-inset-top, 0px)); max-height: calc(100svh - 80px - env(safe-area-inset-top, 0px)); overflow-y: auto; overscroll-behavior: contain; padding-bottom: max(20px, env(safe-area-inset-bottom, 0px)); }
  .showcase { min-width: 0; }
  .studio-page .showcase-content { padding: 52px 0 20px; max-width: 560px; }
  .studio-page .rentable-scene .showcase-content { padding-top: 36px; }
  .studio-page .eyebrow { font-size: 10px; line-height: 1.8; letter-spacing: .09em; margin-bottom: 22px; }
  .studio-page .rentable-logo { font-size: clamp(60px, 18.7vw, 106px); margin-bottom: 22px; }
  .studio-page .hero-heading, .studio-page .custom-scene .hero-heading { font-size: clamp(35px, 8.7vw, 55px); line-height: 1.1; letter-spacing: -.045em; margin-bottom: 21px; text-wrap: balance; }
  .studio-page .rentable-scene .hero-heading { font-size: clamp(32px, 8.2vw, 47px); }
  .studio-page .hero-description { font-size: 15px; line-height: 1.8; max-width: 500px; margin-bottom: 25px; }
  .studio-page .hero-actions { display: grid; grid-template-columns: minmax(0, 1fr); gap: 6px; max-width: 430px; }
  .button { min-height: 50px; font-size: 14px; padding: 15px 20px; gap: 18px; white-space: normal; }
  .text-button { min-height: 48px; font-size: 14px; padding: 13px 0; }
  .studio-page .hero-actions .text-button { justify-content: center; }
  .screen-disclaimer { font-size: 11px; line-height: 1.7; margin-top: 16px; }
  .scene-number { display: none; }

  /* Les damos su propio espacio a las vistas para mostrar el marco completo. */
  .studio-page .rentable-art, .studio-page .future-art, .studio-page .custom-object { position: relative; left: auto; top: auto; width: 100%; max-width: 620px; transform: none; transform-origin: center; margin: 18px auto 28px; }
  .studio-page .screen-floating { position: relative; width: 80%; left: auto; bottom: auto; margin: -3% 0 5px auto; transform: rotate(2deg); }
  .screen { border-radius: 9px; box-shadow: 0 15px 40px #0007; }
  .browser-bar { height: 27px; font-size: 8px; padding: 0 10px; }
  .browser-bar span { margin-left: 8px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
  .browser-bar i { width: 5px; height: 5px; flex-shrink: 0; }
  .studio-page .screen-floating .browser-bar { height: 24px; font-size: 7px; }
  .studio-page .scene-bottom { display: grid; width: 100%; gap: 20px; padding: 20px 0 30px; margin-top: 0; }
  .studio-page .scene-bottom p { max-width: 440px; font-size: 12px; line-height: 1.8; }
  .studio-page .scene-bottom .scroll-link { min-height: 44px; font-size: 12px; justify-content: space-between; white-space: normal; }
  .feature-strip { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; width: 100%; font-size: 12px; }
  .feature-strip > span { padding: 11px 12px; border: 1px solid #ffffff14; border-radius: 7px; background: #ffffff03; }
  .feature-strip > span + span::before { display: none; }
  .project-label { font-size: 13px; }
  .product-tabs { display: flex; width: 100%; max-width: 430px; }
  .product-tabs button { flex: 1; min-height: 46px; font-size: 13px; padding: 12px 14px; }
  .future-panel { flex-wrap: wrap; gap: 12px; font-size: 12px; line-height: 1.7; }
  .project-state { font-size: 11px; padding: 6px 9px; }
  .studio-page .future-float-label { position: relative; left: auto; bottom: auto; width: fit-content; margin: 12px 0 0 auto; transform: none; padding: 12px 16px; font-size: 12px; }
  .future-float-label > span { font-size: 11px; }
  .wireframe-label { position: static; margin-bottom: 12px; font-size: 11px; }
  .wireframe-page { padding: 20px; }
  .wireframe-nav { margin-bottom: 28px; gap: 10px; }
  .wireframe-nav b { font-size: 17px; }
  .wireframe-nav i { width: 22px; }
  .wireframe-hero { grid-template-columns: minmax(0, 1fr); gap: 22px; }
  .wireframe-hero small { font-size: 9px; }
  .wireframe-hero strong { font-size: clamp(26px, 7vw, 38px); letter-spacing: -.045em; }
  .wireframe-button { font-size: 10px; padding: 11px 16px; }
  .wireframe-shape { height: 135px; }
  .wireframe-shape > span { font-size: 55px; }
  .custom-caption { font-size: 11px; line-height: 1.7; margin-top: 18px; }

  .studio-page .process-section { padding-top: 72px; padding-bottom: 72px; gap: 28px; }
  .studio-page .process-section .section-intro h2 { font-size: clamp(39px, 10.3vw, 56px); margin-bottom: 23px; }
  .studio-page .process-section .section-intro > p:last-child { font-size: 15px; line-height: 1.8; }
  .studio-page .process-list { gap: 13px; }
  .studio-page .process-list li, .studio-page .process-list li:first-child { padding: 23px 19px; gap: 16px; min-width: 0; }
  .studio-page .process-list li > div { min-width: 0; }
  .studio-page .process-list li > span { font-size: 24px; flex-shrink: 0; }
  .studio-page .process-list h3 { font-size: 21px; }
  .studio-page .process-list p { font-size: 14px; }
  .contact-banner { padding-top: 70px; padding-bottom: 70px; }
  .contact-banner h2 { font-size: clamp(35px, 9.5vw, 52px); line-height: 1.12; }
  .contact-banner .button { width: 100%; max-width: 380px; }
  .contact-banner > span { font-size: 12px; margin-top: 19px; }
  .site-footer { flex-direction: column; align-items: flex-start; gap: 25px; padding-top: 34px; padding-bottom: max(25px, env(safe-area-inset-bottom, 0px)); }
  .studio-page .site-footer .studio-brand { width: 230px; }
  .studio-page .site-footer .studio-wordmark { height: 41px; }
  .site-footer > div { width: 100%; gap: 20px; justify-content: space-between; flex-wrap: wrap; }
  .site-footer > div > a, .site-footer .footer-contact { display: inline-flex; align-items: center; min-height: 44px; font-size: 14px; }
  .site-footer > p { font-size: 12px; line-height: 1.8; padding-top: 22px; }

  .contact-dialog { width: calc(100vw - 24px); max-height: calc(100svh - 24px); max-height: calc(100dvh - 24px); border-radius: 14px; }
  .contact-dialog form { padding: 36px 22px max(25px, env(safe-area-inset-bottom, 0px)); }
  .contact-dialog .eyebrow { font-size: 10px; padding-right: 28px; margin-bottom: 18px; }
  .contact-dialog h2 { font-size: 33px; }
  .contact-dialog p:not(.eyebrow) { font-size: 14px; }
  .contact-dialog label { font-size: 13px; }
  .contact-dialog label span { font-size: 11px; }
  .contact-fields { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .contact-dialog input, .contact-dialog select, .contact-dialog textarea { font-size: 16px; padding: 13px 12px; margin-bottom: 20px; }
  .contact-dialog textarea { min-height: 105px; }
  .contact-dialog form > small { font-size: 11px; line-height: 1.7; }

  /* La ficha de Rentable mantiene su identidad y también se lee en una columna. */
  .detail-page .site-header { display: grid; grid-template-columns: minmax(0, 1fr) auto; height: auto; min-height: 88px; gap: 12px; padding: 14px var(--gutter); }
  .product-brand { min-width: 0; flex-direction: column; align-items: flex-start; gap: 8px; }
  .product-brand > a:first-child { padding: 0; border: 0; min-height: 26px; font-size: 11px; }
  .product-brand .rentable-logo { font-size: 29px; }
  .detail-page .site-header .header-contact { max-width: 145px; min-height: 46px; padding: 12px 13px; gap: 10px; font-size: 12px; }
  .product-nav { padding: 6px var(--gutter); gap: 21px; scroll-padding-inline: var(--gutter); }
  .product-nav a { display: inline-flex; align-items: center; min-height: 44px; font-size: 12px; }
  .detail-hero { padding-top: 42px; }
  .detail-hero .eyebrow { font-size: 10px; line-height: 1.8; }
  .detail-hero h1 { font-size: clamp(38px, 10.8vw, 59px); text-wrap: balance; }
  .detail-hero-copy > p:not(.eyebrow) { font-size: 15px; line-height: 1.8; }
  .detail-hero .hero-actions { display: grid; gap: 8px; }
  .detail-hero .hero-actions .text-button { justify-content: center; }
  .detail-hero-art { width: 100%; max-width: 100%; left: auto; transform: none; margin: 30px 0 15px; }
  .product-intro { gap: 18px; padding-top: 28px; padding-bottom: 28px; }
  .product-intro > p { font-size: 15px; }
  .product-intro > span { font-size: 12px; }
  .module-section { padding-top: 60px; padding-bottom: 60px; gap: 30px; grid-template-columns: minmax(0, 1fr); }
  .module-copy h2 { font-size: clamp(34px, 9vw, 47px); }
  .module-copy > p { font-size: 15px; }
  .benefit-list { gap: 19px; }
  .benefit-list li { font-size: 14px; line-height: 1.8; padding-left: 25px; }
  .module-extra { font-size: 13px; }
  .visual-caption { font-size: 11px; line-height: 1.7; }
  .tables-layout { grid-template-columns: minmax(0, 1fr); gap: 22px; }
  .tables-layout .phone { width: min(210px, 75%); justify-self: center; transform: none; padding: 24px 13px 17px; border-radius: 24px; }
  .phone small { font-size: 9px; }
  .phone strong { font-size: 20px; }
  .phone-row { font-size: 11px; padding: 12px 9px; }
  .phone-row > span { font-size: 10px; }
  .phone-action { font-size: 11px; padding: 12px 7px; }
  .team-visual { padding: 21px; }
  .team-visual > p { font-size: 12px; }
  .team-row { display: grid; grid-template-columns: 36px minmax(0, 1fr); gap: 10px 13px; }
  .team-row strong { font-size: 13px; }
  .team-row small { font-size: 11px; line-height: 1.7; }
  .team-status { grid-column: 2; justify-self: start; font-size: 10px; }
  .team-task strong { font-size: 13px; }
  .team-task p { font-size: 12px; }
  .difference-heading { display: block; }
  .difference-heading h2 { font-size: 38px; margin-bottom: 22px; }
  .difference-heading p, .difference-grid p { font-size: 14px; }
  .difference-grid { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .difference-grid h3 { font-size: 22px; }
  .faq-list summary { font-size: 15px; min-height: 54px; }
  .faq-list details p { font-size: 14px; padding-right: 10px; }
  .detail-page .studio-credit .studio-brand { width: 175px; }
  .detail-page .studio-credit .studio-wordmark { height: 33px; }
}

@media (max-width: 360px) {
  .studio-page .site-header .studio-brand { width: 175px; }
  .studio-page .process-list li, .studio-page .process-list li:first-child { padding: 21px 16px; gap: 13px; }
  .studio-page .process-list h3 { font-size: 19px; }
  .feature-strip { font-size: 11px; }
  .feature-strip > span { padding: 10px; }
  .contact-dialog form { padding-left: 18px; padding-right: 18px; }
  .detail-page .site-header .header-contact { max-width: 127px; font-size: 11px; }
}
