.event-list { display: grid; gap: 1rem; max-width: 40rem; }
.event-card { padding: clamp(.8rem, 2.4vw, 1.25rem); background: var(--surface); border: 1px solid var(--line); border-radius: max(var(--frame), .5rem); }
.event-card-main { display: grid; align-items: center; gap: clamp(.65rem, 2vw, 1.1rem); }
.event-card-main:has(.event-photo:not([hidden])) { grid-template-columns: min(34%, 10.75rem) minmax(0, 1fr); }
.event-photo { width: 100%; height: auto; border-radius: max(var(--frame), .35rem); }
.event-card h3, .event-dialog h2 { font-weight: 700; line-height: 1.08; letter-spacing: -.05em; }
.event-card h3 { font-size: clamp(1.2rem, 3.6vw, 1.8rem); margin: .22rem 0 .35rem; }
.event-card h3 a { text-decoration: none; }
.event-card h3 a:hover { text-decoration: underline; }
.event-date { color: var(--headline); font-weight: 700; }
[data-design="revista"] .event-date { color: var(--brand-blue); }
.event-date::first-letter { text-transform: uppercase; }
.event-card-copy .event-date, .event-venue, .event-price { font-size: .9rem; line-height: 1.35; }
.event-price { margin-top: .15rem; font-weight: 700; }
.event-includes { font-size: .88rem; line-height: 1.4; margin-top: .3rem; }
.event-kicker { margin-bottom: .75rem; }
.event-plan { font-size: .95rem; line-height: 1.5; margin-top: .8rem; }
.event-actions { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: .85rem; }
.event-actions .button { font-family: inherit; cursor: pointer; }
.event-actions .button:disabled { opacity: .62; cursor: not-allowed; background: transparent; color: var(--ink); border-color: var(--line); }
.ticket-unavailable { margin-top: .6rem; font-size: .9rem; }
.event-share, .thanks-back { display: inline-block; margin-top: 1rem; font-size: .95rem; }
.events-section[data-view] #event-list-title, .events-section[data-view] #event-list-intro { display: none; }
.events-section[data-view] { padding-block: clamp(1.35rem, 4vw, 3rem); }
.events-section[data-view] .event-list { width: 100%; margin-inline: auto; }
.event-thanks h2 { margin-bottom: .9rem; }
.event-thanks h3 { margin-block: 1.5rem .5rem; }
.event-thanks .thanks-status { line-height: 1.5; margin-bottom: .55rem; }
.demo-message { margin-top: 1rem; padding: .75rem; border: 1px solid var(--line); border-radius: .35rem; background: var(--band); }
.demo-message summary { cursor: pointer; font-weight: 700; }
.demo-message p { margin-top: .65rem; line-height: 1.5; white-space: pre-line; overflow-wrap: anywhere; }
.event-dialog { color: var(--ink); background: var(--surface); border: 1px solid var(--line); border-radius: max(var(--frame), .65rem); width: min(32rem, calc(100% - 1.5rem)); max-height: calc(100dvh - 1.5rem); padding: clamp(1rem, 4vw, 1.75rem); overflow: auto; }
.event-dialog::backdrop { background: #052335b8; }
.event-dialog-top { display: flex; align-items: center; justify-content: space-between; gap: .65rem; margin-bottom: .65rem; }
.event-dialog h2 { font-size: clamp(1.55rem, 5vw, 2.15rem); margin-bottom: .4rem; }
.dialog-plan { margin-top: .65rem; line-height: 1.45; }
.dialog-close { font: inherit; color: inherit; background: transparent; border: 1px solid var(--line); border-radius: .35rem; min-width: 2.75rem; min-height: 2.75rem; cursor: pointer; }
.demo-note { margin-top: .8rem; padding: .7rem; border: 1px solid var(--line); border-radius: .35rem; background: var(--band); line-height: 1.45; font-size: .9rem; }
.event-dialog button[type="submit"] { font-family: inherit; cursor: pointer; }
body:has(.event-dialog[open]) { overflow: hidden; }
@media (max-width: 540px) {
  .event-card-main { align-items: start; }
  .event-card-main:has(.event-photo:not([hidden])) { grid-template-columns: min(29%, 6rem) minmax(0, 1fr); }
  .event-photo { aspect-ratio: 1 / 1; object-fit: cover; }
  .event-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .event-actions .button { min-height: 3rem; padding-inline: .4rem; }
}

/* Agenda: tres tarjetas verticales, sin alterar las fichas de anuncios ni gracias. */
.events-section:not([data-view]) .signup-inner { --section-width: 71rem; }
.events-section:not([data-view]) .event-list { max-width: none; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(.75rem, 1.6vw, 1.25rem); align-items: stretch; }
.events-section:not([data-view]) .event-card { display: flex; flex-direction: column; min-width: 0; padding: 0; overflow: hidden; }
.events-section:not([data-view]) .event-card-main { display: flex; flex-direction: column; align-items: stretch; flex: 1; gap: 0; }
.events-section:not([data-view]) .event-photo { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 0; }
.events-section:not([data-view]) .event-card-copy { padding: 1rem 1rem 0; }
.events-section:not([data-view]) .event-card h3 { font-size: clamp(1.25rem, 1.8vw, 1.55rem); line-height: 1.2; margin-block: .4rem .65rem; }
.events-section:not([data-view]) .event-price { margin-top: .45rem; font-size: 1rem; }
.events-section:not([data-view]) .event-actions { display: grid; grid-template-columns: minmax(0,1fr); gap: .5rem; margin: 1rem 1rem 0; }
.events-section:not([data-view]) .event-actions .button { justify-content: center; text-align: center; line-height: 1.2; font-size: .86rem; min-height: 3rem; padding: .65rem .35rem; }
.events-section:not([data-view]) .ticket-unavailable { min-height: 2.8em; margin: .5rem 1rem 0; font-size: .8rem; line-height: 1.4; }
.events-section:not([data-view]) .event-card { padding-bottom: 1rem; }
@media (max-width: 880px) { .events-section:not([data-view]) .event-list { grid-template-columns: repeat(2,minmax(0,1fr)); } }
@media (max-width: 570px) { .events-section:not([data-view]) .event-list { grid-template-columns: minmax(0,1fr); } }

.event-actions { grid-template-columns: minmax(0,1fr); }
.event-actions .button { min-height: 3rem; }
.event-help { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem 2rem; border: 1px solid var(--line); background: var(--surface); padding: clamp(1rem, 2.5vw, 1.6rem); margin-top: .3rem; border-radius: max(var(--frame), .5rem); }
.event-help > div { flex: 1 1 23rem; }
.event-help h3, .confirmation-help h3 { font-size: 1.25rem; line-height: 1.25; margin-bottom: .4rem; }
.event-help p, .confirmation-help p, .dialog-intro { font-size: .95rem; line-height: 1.5; }
.whatsapp-button { display: inline-flex; justify-content: center; text-align: center; background: #116b43; color: white; border-color: #116b43; line-height: 1.3; min-height: 2.9rem; }
.whatsapp-button:hover { background: #0b5232; color: white; border-color: #0b5232; }
.reservation-summary { background: var(--band); border: 1px solid var(--line); padding: .8rem 1rem; border-radius: .4rem; margin-block: .9rem; }
.reservation-summary h3 { font-size: 1.08rem; line-height: 1.25; margin-bottom: .3rem; }
.reservation-summary :is(.event-date, .event-venue, .event-price) { font-size: .9rem; line-height: 1.4; }
.reservation-benefits { display: grid; gap: .45rem; list-style: none; padding: 0; font-size: .92rem; line-height: 1.35; }
.reservation-benefits li { display: grid; grid-template-columns: 1.15em 1fr; gap: .35rem; }
.reservation-benefits li::before { content: '✓'; color: #116b43; font-weight: 700; }
#lead-form button[type="submit"] { width: 100%; justify-content: center; }
.confirmation-check { width: 3.5rem; height: 3.5rem; display: grid; place-items: center; margin: .25rem 0 .85rem; border-radius: 50%; background: #116b43; color: #fff; font-size: 1.9rem; font-weight: 700; }
#confirmation-status { line-height: 1.5; }
.confirmation-help { margin-top: 1rem; border-top: 1px solid var(--line); padding-top: 1rem; }
.confirmation-help .whatsapp-button { width: 100%; margin-top: .8rem; }
@media (max-width: 570px) { .event-help .whatsapp-button { width: 100%; } }

/* Las mejoras responsive se aplican sin alterar la composición de escritorio. */
.mobile-only { display: none !important; }

@media (max-width: 640px) {
  .mobile-only:not([hidden]) { display: block !important; }
  span.mobile-only:not([hidden]) { display: inline !important; }
  .desktop-copy, .style-preview, .steps-hint, .hero-copy > .eyebrow { display: none !important; }

  /* Portada: cuándo, dónde y para quién antes del botón. */
  .intro { gap: 1.15rem; padding-block: 1.4rem 2rem; }
  .hero-facts { color: var(--headline); font-weight: 700; font-size: .83rem; letter-spacing: .03em; }
  .hero-facts span { color: var(--accent); padding-inline: .12rem; }
  .hero-copy h1 { margin-block: .3em; }
  .hero-copy .lead { font-size: 1rem; line-height: 1.45; }
  .hero-next { font-weight: 700; font-size: .88rem; margin-top: .8rem; color: var(--headline); }
  .hero-button { margin-top: .65rem; min-height: 3rem; width: min(100%, 22rem); }
  .fan-pictures { padding-block: .6rem .85rem; }
  .photo-fan figcaption { font-size: .9rem; }

  /* Cuatro pasos accesibles al hacer scroll normal; fotos en una sola banda. */
  .experience, .signup, .testimonials, .host, .promises, .community, .faq { padding-block: 2rem; }
  .steps { grid-template-columns: minmax(0,1fr); grid-auto-flow: row; grid-auto-columns: auto; gap: 0; overflow: visible; scroll-snap-type: none; margin-top: 1rem; padding: 0; }
  .steps li { display: grid; grid-template-columns: 1.75rem minmax(0,1fr); column-gap: .7rem; row-gap: .25rem; padding: .8rem 0; }
  .steps li::before { grid-column: 1; grid-row: 1 / 3; font-size: 1.65rem; margin-bottom: 0; }
  .steps li h3 { grid-column: 2; font-size: 1rem; margin: 0; }
  .steps li p { grid-column: 2; font-size: .94rem; line-height: 1.45; }
  .encounter-gallery { margin-top: 1rem; }
  .encounter-gallery-grid { grid-template-columns: repeat(3,minmax(0,1fr)); gap: .4rem; }
  .encounter-gallery-grid img, .encounter-gallery-grid img:first-child { grid-column: auto; width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; }
  .encounter-gallery figcaption { font-size: .9rem; }

  /* Agenda: tarjetas legibles, con las acciones más visibles. */
  .signup-inner { gap: .9rem; }
  .signup-inner > .section-intro { margin-top: -.25rem; line-height: 1.4; font-size: 1rem; }
  .events-section:not([data-view]) .event-card { padding-bottom: .75rem; }
  .events-section:not([data-view]) .event-card-copy { padding: .8rem .8rem 0; }
  .events-section:not([data-view]) .event-card h3 { font-size: 1.25rem; line-height: 1.18; margin-block: .3rem .45rem; }
  .event-card-copy .event-date { font-size: .9rem; }
  .event-venue, .event-includes { font-size: .94rem; line-height: 1.35; }
  .events-section:not([data-view]) .event-price { margin-top: .3rem; }
  .events-section:not([data-view]) .event-actions { margin: .7rem .8rem 0; }
  .events-section .event-actions .button { width: 100%; font-size: 1rem; min-height: 3rem; }
  .event-help { padding: .9rem; gap: .7rem; }

  /* Desde un anuncio: conserva el cartel completo, y detalles desplegables. */
  .events-section[data-view] { padding-block: .95rem 1.3rem; }
  .events-section[data-view] .event-card { padding: .8rem; }
  .events-section[data-view] .event-kicker { font-size: .76rem; margin-bottom: .65rem; line-height: 1.2; }
  .events-section[data-view] .event-card-main { display: grid; grid-template-columns: minmax(0,1fr); gap: .65rem; }
  .events-section[data-view] .event-photo { aspect-ratio: 16 / 9; object-fit: contain; }
  .events-section[data-view] .event-card h3 { margin-block: .25rem .35rem; }
  .events-section[data-view] .event-plan { display: none !important; }
  .events-section[data-view] .event-plan-mobile { border-top: 1px solid var(--line); margin-top: .7rem; padding-top: .65rem; font-size: .93rem; line-height: 1.45; }
  .event-plan-mobile summary { font-weight: 700; cursor: pointer; min-height: 2.25rem; }
  .event-plan-mobile p { margin-top: .35rem; }
  .events-section[data-view] .event-share { font-size: .9rem; margin-top: .45rem; }

  /* Reseñas originales y extractos legibles, con un CTA visible después. */
  .testimonials-heading { gap: .45rem; margin-bottom: 1rem; }
  .review-capture { text-decoration: none; }
  .review-quote { margin: .55rem .65rem .65rem; color: var(--ink); font-size: .94rem; line-height: 1.4; }
  .review-quote strong { font-size: .88rem; }
  .review-reserve:not([hidden]) { display: flex !important; width: 100%; margin-top: 1rem; min-height: 3rem; }

  /* Formulario: menos texto, campos grandes, sin teclado automático al abrir. */
  .event-dialog { width: calc(100% - 1rem); max-height: calc(100dvh - 1rem); padding: .85rem; }
  .event-dialog-top { margin-bottom: .25rem; }
  .event-dialog-top .eyebrow { font-size: .75rem; }
  .event-dialog h2 { font-size: clamp(1.35rem, 5.25vw, 1.65rem); line-height: 1.12; margin-bottom: .4rem; }
  .dialog-intro { font-size: .94rem; line-height: 1.35; }
  .reservation-summary { padding: .55rem .7rem; margin-block: .65rem; }
  .reservation-summary h3 { font-size: 1.02rem; margin-bottom: .2rem; line-height: 1.25; }
  .reservation-summary :is(.event-date,.event-venue,.event-price) { font-size: .9rem; line-height: 1.28; }
  .reservation-benefits { display: none; }
  .compact-benefits { font-size: .88rem; line-height: 1.35; font-weight: 700; }
  #dialog-entry .demo-note { padding: .45rem .55rem; font-size: .8rem; line-height: 1.3; margin-top: .65rem; }
  #lead-form { gap: .3rem; margin-top: .75rem; }
  #lead-form > label { font-size: .93rem; }
  #lead-form input:not([type='checkbox']):not([type='hidden']) { font-size: 16px; min-height: 2.85rem; margin-bottom: .2rem; padding: .48rem .6rem; scroll-margin-block: .75rem; }
  #lead-form .consent { font-size: .85rem; line-height: 1.4; margin: .25rem 0 .35rem; }
  #lead-form .consent input { width: 1.25rem; height: 1.25rem; }
  #lead-form button[type="submit"] { min-height: 3rem; font-size: 1rem; scroll-margin-block: .75rem; }
  .confirmation-check { width: 3rem; height: 3rem; margin-bottom: .65rem; }
  #confirmation-status { font-size: .96rem; line-height: 1.45; }
  #dialog-confirmation .reservation-summary > p:last-child { display: none; }
  .confirmation-help { margin-top: .75rem; padding-top: .75rem; }
}
