/* Tarjetas: el botón ocupa su propio lugar, aun cuando el título se parte. */
.example-art {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  height: auto;
  min-height: 285px;
  gap: 24px;
}
.example-art strong { margin: 12px 0 0; }
.art-pill {
  position: relative;
  inset: auto;
  margin-top: auto;
  flex-shrink: 0;
  line-height: 1.4;
}

/* Los contenidos pueden encogerse sin desbordar las columnas. */
.hero > *, .service-grid > *, .contact-grid > *, .commission > * { min-width: 0; }
.button { max-width: 100%; white-space: normal; text-align: left; }
.button > span { flex-shrink: 0; }
.contact-grid input, .contact-grid select, .contact-grid textarea { min-width: 0; }

/* Celulares: lectura cómoda y controles que se pueden tocar con el pulgar. */
@media (max-width: 600px) {
  .wrap { padding-inline: 20px; }
  .header {
    height: auto;
    min-height: 80px;
    padding-block: 17px;
    gap: 12px;
    flex-wrap: wrap;
  }
  .brand { min-width: 0; font-size: 16px; }
  .brand-mark { flex: 0 0 34px; }
  .brand-sub { font-size: 9px; letter-spacing: 0; }
  .header nav { margin-left: auto; gap: 10px; }
  .header nav > a:not(.nav-contact) { display: none; }
  .nav-contact { padding: 12px; min-height: 44px; font-size: 12px; }
  .hero { padding-block: 36px 44px; gap: 34px; }
  .hero h1 { font-size: clamp(42px, 12.5vw, 68px); line-height: 1.04; }
  .hero-text { font-size: 16px; }
  .actions { align-items: stretch; gap: 18px; }
  .actions .button { width: 100%; min-height: 52px; }
  .actions .text-link { min-height: 44px; justify-content: center; }
  .hero-note { font-size: 11px; line-height: 1.7; }
  .hero-art { transform: none; margin: 0; padding: 18px 14px 0; border-radius: 16px; }
  .browser { transform: none; }
  .art-caption { letter-spacing: .7px; gap: 10px; }
  .coffee-preview { padding-inline: 18px; }
  .coffee-title { font-size: clamp(32px, 10vw, 48px); margin-top: 26px; }
  .coffee-cup { margin-top: 10px; }
  .small-tag {
    position: static;
    transform: none;
    margin: 16px -14px 0;
    border-radius: 0 0 16px 16px;
    padding: 16px;
    box-shadow: none;
  }
  .ribbon { padding-block: 18px; }
  .ribbon .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; text-align: center; font-size: 9px; line-height: 1.5; }
  .ribbon span:nth-child(even) { display: none; }
  .section { padding-block: 48px; }
  .section-heading h2, .process h2, .commission h2 { font-size: clamp(30px, 8.5vw, 40px); line-height: 1.12; }
  .section-heading > p { font-size: 15px; }
  .example-art { min-height: 260px; padding: 24px; gap: 26px; }
  .example-art strong { font-size: clamp(28px, 8.3vw, 36px); line-height: 1.12; margin-top: 6px; }
  .art-pill { padding: 12px 16px; min-height: 44px; font-size: 12px; }
  .example-meta { flex-wrap: wrap; row-gap: 9px; }
  .example-meta p { font-size: 12px; }
  .example-meta > span { padding-top: 0; }
  .service { padding: 24px; }
  .service h3 { font-size: 28px; line-height: 1.15; }
  .service-description { font-size: 14px; }
  .service .button { min-height: 48px; }
  .service-foot, .section-note, .form-note { font-size: 12px; }
  .commission { gap: 18px; padding-block: 44px; }
  .commission-detail ul { line-height: 1.8; }
  .commission-detail li { margin-bottom: 10px; }
  .steps li { gap: 16px; }
  .contact-section { padding-block: 44px; }
  .contact-grid { gap: 28px; }
  .contact-grid h2 { font-size: 44px; line-height: 1.1; }
  .contact-grid label { font-size: 14px; line-height: 1.5; }
  .contact-grid input, .contact-grid select, .contact-grid textarea { font-size: 16px; min-height: 48px; padding: 13px 12px; }
  .contact-grid .consent { font-size: 13px; }
  .contact-grid .consent input { min-height: 20px; width: 20px; height: 20px; flex-basis: 20px; padding: 0; }
  .email-link { font-size: 15px; gap: 12px; }
  .email-address { font-size: 12px !important; }
  .alias-box { margin-left: 0; width: 100%; border-top: 1px solid var(--line); padding-top: 18px; }
  .alias-box button { min-height: 44px; font-size: 14px; }
  .payment-copy { min-width: 0; }
  .footer { gap: 14px; }
}

/* Teléfonos angostos y ampliación de texto. */
@media (max-width: 350px) {
  .wrap { padding-inline: 16px; }
  .header { column-gap: 6px; }
  .brand-sub { max-width: 145px; line-height: 1.5; }
  .nav-contact { padding-inline: 9px; }
  .example-art, .service { padding: 20px; }
  .service h3 { font-size: 25px; }
  .contact-grid h2 { font-size: 39px; }
}
