/* ETAPA 1 · Identidad y consistencia. Base: styles; composición: landing;
   componentes: calculator, finishes, medical. Área Médica queda protegida. */
:root {
  --qt-action: #f58220;
  --qt-action-hover: #ff983d;
  --qt-action-ink: #20231f;
  --qt-radius: 8px;
  --qt-section-space: clamp(56px, 5.3vw, 76px);
  --qt-heading: clamp(32px, 3.3vw, 46px);
  --qt-header-height: 104px;
}
/* Firma original transparente. Sin redibujar ni deformar. */
.header-sticky { height: var(--qt-header-height); }
.header-inner { gap: 24px; }
.header-brand { height: auto; flex-shrink: 0; }
.header-logo-img { width: 190px; height: auto; max-width: none; object-fit: contain; }
.header-nav { gap: 14px; }
.header-nav .nav-link { display: inline-flex; align-items: center; min-height: 44px; font-size: 12px; }
.header-actions { gap: 12px; flex-shrink: 0; }
.header-phone-quick { display: none; }
.mobile-brand-logo { width: 180px; height: auto; max-width: 70%; object-fit: contain; }
.footer-brand-logo { width: 210px; height: auto; max-width: 100%; object-fit: contain; }
.pdf-card-logo { height: 64px; width: auto; max-width: 100%; object-fit: contain; }
.menu-toggle { width: 44px; height: 44px; flex-shrink: 0; }
.mobile-nav-overlay { max-width: 100%; overflow-x: hidden; overflow-y: auto; }
.mobile-nav-header { min-width: 0; margin-bottom: 20px; }
.mobile-nav-links { gap: 4px; margin-bottom: 24px; }
.mobile-nav-link { min-height: 44px; padding-block: 9px; font-size: 18px; }
.mobile-nav-footer .btn { white-space: normal; }
/* Acciones comunes: se excluye Área Médica para mantener su diseño exacto. */
.btn:where(:not(#area-medica .btn)) { min-height: 50px; padding: 13px 22px; border: 1px solid transparent; border-radius: var(--qt-radius); font-size: 14px; font-weight: 700; line-height: 1.5; white-space: normal; box-shadow: none; transition: background-color .18s ease, border-color .18s ease, color .18s ease; }
.btn-primary:where(:not(#area-medica .btn)) { background: var(--qt-action); color: var(--qt-action-ink); }
.btn-primary:where(:not(#area-medica .btn)):hover { background: var(--qt-action-hover); color: var(--qt-action-ink); transform: none; box-shadow: none; }
.btn-secondary:where(:not(#area-medica .btn)) { background: transparent; color: #fff; border-color: #8c9385; backdrop-filter: none; }
.btn-secondary:where(:not(#area-medica .btn)):hover { background: #343a30; border-color: #c5cbbd; transform: none; }
.header-actions .btn { min-height: 44px; padding: 11px 16px; font-size: 13px; }
.btn:where(:not(#area-medica .btn)):active { box-shadow: inset 0 0 0 2px rgba(32,35,31,.2); }
.btn:focus-visible, .text-link:focus-visible { outline: 3px solid #df751b; outline-offset: 4px; }
/* Escala tipográfica y ritmo editorial comunes. */
section:not(#area-medica) .eyebrow { font-size: 12px; line-height: 1.6; letter-spacing: .12em; margin-bottom: 18px; }
.category-section, .commercial-section, .promo-section, .creative-section,
.section-acabados, .section-proceso, .section-faq, .section-contacto { padding-block: var(--qt-section-space); }
.section-intro { margin-bottom: 36px; gap: 18px 52px; }
.section-intro > .eyebrow { margin-bottom: 0; }
.section-intro h2, .promo-section h2, .creative-section h2, .large-content h2, .section-title { font-size: var(--qt-heading); line-height: 1.16; letter-spacing: -.04em; }
.section-intro p, .promo-copy > p, .creative-heading > p, .large-content > p, .section-subtitle { font-size: 16px; line-height: 1.8; }
.category-directory > a { padding: 24px; }
.category-directory h3 { font-size: 18px; line-height: 1.4; }
.category-directory p { font-size: 13px; line-height: 1.7; }
.category-number, .creative-number { font-size: 12px; }
.samples-disclosure { font-size: 12px; line-height: 1.8; color: #62695a; margin: -10px 0 24px; }
.directory-extra { font-size: 14px; gap: 18px 30px; }
.directory-extra a { display: inline-flex; align-items: center; min-height: 44px; }
.directory-extra a[href='#cotizador'] { color: #963f00; }
.printing-methods { margin-bottom: 36px; }
.printing-methods p, .print-details p, .stamps-layout p { font-size: 15px; line-height: 1.8; }
.service-list h3 { font-size: 16px; line-height: 1.5; }
.service-list > a { min-height: 48px; padding-block: 12px; }
.large-links h3, .promo-links h3 { font-size: 16px; line-height: 1.5; }
.large-links a, .promo-links a { min-height: 48px; align-items: center; }
.large-content .material-note { font-size: 13px; line-height: 1.8; }
.promo-photo span { font-size: 12px; line-height: 1.7; }
.stamps-layout h2 { font-size: clamp(30px, 2.6vw, 36px); }
.creative-columns { margin-top: 36px; }
.creative-columns .service-list a { padding-block: 14px; }
.creative-columns .service-list h3 { font-size: 20px; }
.creative-columns article > p { font-size: 14px; line-height: 1.8; }
.special-section { padding-block: 52px; }
.special-section p { font-size: 16px; line-height: 1.8; }
.special-section .btn:where(:not(#area-medica .btn)) { background: #20231f; color: #fff; }
.special-section .btn:hover { background: #343a30; }
.footer-brand-desc, .footer-links-list a { font-size: 15px; line-height: 1.8; }
.footer-links-list a { display: inline-flex; align-items: center; min-height: 44px; }
.footer-links-list { gap: 0; overflow-wrap: anywhere; }
.footer-top > div { min-width: 0; }
/* Portada y fotografía: imágenes existentes, sin recortes de producto. */
.qt-hero { padding-block: calc(var(--qt-header-height) + 56px) 68px; }
.hero-layout { gap: 48px; }
.qt-hero h1 { font-size: clamp(38px, 4.1vw, 58px); line-height: 1.1; }
.qt-hero p { font-size: 17px; line-height: 1.8; margin-block: 26px; }
.hero-buttons { gap: 14px; }
.hero-buttons .text-link { flex-basis: 100%; width: fit-content; max-width: fit-content; font-size: 13px; min-height: 44px; display: inline-flex; align-items: center; padding-block: 8px; }
.hero-note { font-size: 12px; margin-top: 28px; line-height: 1.8; }
.hero-collage { transform: none; padding: 0; border: 1px solid #454b3d; border-radius: 12px; overflow: hidden; background: #2b3027; }
.hero-main-photo { height: auto; width: 100%; aspect-ratio: 3/2; object-fit: cover; }
.hero-collage .visual-caption { font-size: 12px; line-height: 1.7; padding: 14px 20px; color: #d9dfd0; letter-spacing: .1em; }
.commercial-layout { gap: 44px; }
.featured-print { overflow: hidden; border-radius: 10px; }
.featured-print > picture, .print-details picture, .large-photo picture { display: block; }
.large-photo picture { height: 100%; }
.featured-print > picture > img { width: 100%; height: auto; aspect-ratio: 3/2; object-fit: contain; }
.featured-print figcaption { padding: 28px; }
.print-details { gap: 28px; margin-top: 36px; }
.print-details figure { display: block; background: #f4f2ed; border-radius: 10px; overflow: hidden; }
.print-details img { height: auto; width: 100%; aspect-ratio: 3/2; object-fit: cover; }
.print-details figcaption { padding: 24px; }
.print-details h3 { font-size: 22px; line-height: 1.3; }
.large-content { padding-block: var(--qt-section-space); }
.promo-layout { gap: 52px; }
.promo-photo { padding: 0; border-radius: 12px; overflow: hidden; background: #e7e5db; }
.promo-photo img { height: auto; width: 100%; aspect-ratio: 3/2; object-fit: contain; border-radius: 0; }
.promo-photo figcaption { padding: 24px; }
.promo-photo strong { display: block; font-size: 25px; line-height: 1.3; margin-top: 7px; }
.stamps-section { padding-block: 52px; }
.stamps-layout > picture { display: block; min-width: 0; }
.stamps-layout > picture > img { width: 100%; height: auto; border-radius: 10px; }
.section-acabados .section-header { margin-bottom: 36px; }
.section-acabados .acabado-desc { line-height: 1.75; }
/* Área Médica: valores anteriores preservados; medical.css sigue siendo final. */
.medical-section { padding-block: 74px; }
.medical-layout { gap: 50px; }
.medical-layout h2 { font-size: clamp(31px,3vw,42px); }
.medical-layout figcaption { font-size: 10px; line-height: 1.7; }
.medical-layout figure > picture { display: block; }
/* Contacto: flexibilidad y legibilidad, sin cambios comerciales. */
.contacto-layout { align-items: stretch; }
.contacto-layout > *, .official-card-pdf, .pdf-phones, .form-input, .form-select, .form-textarea { min-width: 0; }
.official-card-pdf { height: auto; }
.pdf-contact-block, .pdf-address-text { overflow-wrap: anywhere; }
.pdf-phone-link { white-space: normal; }
.pdf-card-subtext { max-width: 460px; }
@media (max-width: 1100px) {
  .header-nav { display: none; }
  .menu-toggle { display: flex; }
  .hero-layout, .promo-layout { gap: 32px; }
}
@media (max-width: 800px) {
  :root { --qt-header-height: 96px; }
  .header-inner { gap: 14px; }
  .header-logo-img { width: 176px; height: auto; }
  .qt-hero { padding-block: calc(var(--qt-header-height) + 40px) 56px; }
  .hero-layout { gap: 32px; }
  .hero-collage { width: 100%; max-width: none; }
  .qt-hero h1 { font-size: clamp(36px, 5.7vw, 44px); }
  .hero-buttons { gap: 12px; }
  .section-intro { gap: 20px; }
  .commercial-layout { gap: 28px; }
  .print-details { gap: 24px; margin-top: 28px; }
  .large-section { display: flex; flex-direction: column; min-height: 0; }
  .large-section:after { display: none; }
  .large-content { order: 0; padding-block: var(--qt-section-space); }
  .large-content > p { max-width: 600px; }
  .large-photo { position: relative; inset: auto; order: 1; }
  .large-photo picture { height: auto; }
  .large-photo img { display: block; height: auto; width: 100%; aspect-ratio: 3/2; object-fit: contain; object-position: center; }
  .stamps-layout { gap: 24px; }
  .stamps-layout > picture { width: 100%; max-width: 420px; justify-self: center; }
  .official-card-pdf, .cotizacion-form-card { padding: 26px; }
  .pdf-card-tagline { font-size: 30px; }
  .pdf-phone-link { font-size: 22px; }
  .medical-layout figure { order: 2; }
  .medical-layout { gap: 30px; }
  .medical-layout figure img { height: auto; }
  .medical-layout h2 { font-size: 34px; }
}
@media (max-width: 600px) {
  .header-actions .header-quote { width: 44px; padding: 0; }
  .header-quote-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  .header-quote i { font-size: 20px; }
  .header-actions { gap: 10px; }
  .hero-buttons .btn { padding: 13px 16px; font-size: 13px; }
  .hero-buttons { flex-direction: row; align-items: center; }
  .hero-collage .visual-caption { padding: 14px 16px; }
}
@media (max-width: 480px) {
  .hero-note span { margin-inline: 6px; }
  .creative-columns .service-list h3 { font-size: 19px; }
  .medical-layout h2 { font-size: 31px; }
  .official-card-pdf, .cotizacion-form-card { padding: 22px; }
  .pdf-card-tagline { font-size: 29px; line-height: 1.25; }
  .pdf-phone-link { font-size: 20px; }
  .form-grid-2, .form-group { min-width: 0; }
  .form-input, .form-select, .form-textarea { font-size: 16px; }
  .pdf-card-badge-footer { overflow-wrap: anywhere; }
  .section-title { overflow-wrap: normal; }
}
@media (prefers-reduced-motion: reduce) {
  .btn:where(:not(#area-medica .btn)) { transition: none; }
}
