/* PARCHE 014 · Acabados de las secciones en la copia de pruebas.
   Conserva los textos, las fuentes y la paleta oficial de Invita Bonito.
   El menú, la portada y las apariciones al desplazarse se definen aparte. */

.section {
  padding-block: clamp(72px, 7vw, 106px);
}

.section > .container > h2:not(.event-title) {
  max-width: 820px;
  margin-inline: auto;
  margin-bottom: 46px;
  line-height: 1.25;
  text-wrap: balance;
}

.section > .container > h2:not(.event-title)::after {
  content: "";
  display: block;
  width: 52px;
  height: 1px;
  margin: 22px auto 0;
  background: var(--rosa);
}

.section-lead {
  max-width: 670px;
  margin-top: -12px;
  margin-bottom: 46px;
  line-height: 1.85;
  text-wrap: pretty;
}

.section .split {
  gap: clamp(32px, 6vw, 78px);
}

.section .body-copy {
  line-height: 1.85;
}

.section .body-copy p {
  text-wrap: pretty;
}

.section .body-copy p:last-child {
  margin-bottom: 0;
}

.intro .split {
  max-width: 1080px;
  margin-inline: auto;
}

.brand-story {
  padding: 40px 30px;
  min-height: 440px;
  border: 1px solid #c9757b2b;
  border-radius: 48% 48% 12px 12px;
  background: linear-gradient(155deg, #fcf6ee, #f2e7de);
}

.brand-story > p {
  margin-top: 22px;
  line-height: 1.4;
}

/* Las características se agrupan en tarjetas; el resto conserva planos amplios. */
.features-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  max-width: 1110px;
  margin-inline: auto;
  text-align: left;
}

.features-grid article {
  min-width: 0;
  padding: 29px 28px 30px;
  border: 1px solid #c9757b35;
  border-radius: 16px;
  background: #fcf6eea6;
  box-shadow: 0 3px 10px #49393703;
  transition: border-color 220ms ease, background 220ms ease, box-shadow 220ms ease, translate 220ms ease;
}

.features-grid .icon {
  display: block;
  width: 58px;
  height: 58px;
  padding: 13px;
  margin-bottom: 21px;
  border: 1px solid #c9757b24;
  border-radius: 50%;
  color: var(--coral);
  background: #e7b0b31c;
  stroke-width: 1.45;
}

.features-grid h3 {
  margin-bottom: 10px;
  font-size: 12px;
  line-height: 1.6;
  letter-spacing: 1px;
  color: var(--coral-dark);
}

.features-grid p {
  font-size: 14px;
  line-height: 1.8;
  color: var(--body);
}

.fine-print {
  max-width: 620px;
  margin-inline: auto;
  margin-top: 30px;
  line-height: 1.8;
}

/* Las invitaciones conservan su silueta de arco y el espacio para ejemplos. */
.event-title {
  margin-block: 52px 32px;
  line-height: 1.3;
  text-wrap: balance;
}

.event-section .event-title {
  margin-top: 0;
}

.examples-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: 1020px;
  gap: 32px;
  margin-inline: auto;
  margin-bottom: 36px;
}

.example-card {
  min-width: 0;
  transition: translate 240ms ease;
}

.example-cover {
  min-height: 335px;
  aspect-ratio: 1 / 1.05;
  padding: 42px 26px 32px;
  border: 1px solid #c5b6a7;
  border-radius: 150px 150px 0 0;
  outline: 1px solid #c9757b1f;
  outline-offset: -12px;
  box-shadow: 0 8px 22px #49393708;
  gap: 22px;
}

.example-cover strong {
  max-width: 100%;
  font-size: clamp(27px, 2.65vw, 34px);
  overflow-wrap: anywhere;
}

.example-cover span {
  line-height: 1.8;
}

.example-button {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 15px 20px;
  border-radius: 0 0 12px 12px;
  line-height: 1.6;
  transition: background 180ms ease;
}

/* Presentaciones de confirmación, panel y pase digital, sin datos inventados. */
.large-placeholder {
  min-height: 370px;
  gap: 20px;
  padding: 42px 32px;
  border: 1px solid #c9757b40;
  border-radius: 22px;
  background: linear-gradient(145deg, #fcf6ee, #f9d4bc26);
}

.large-placeholder > .icon {
  width: 70px;
  height: 70px;
  color: var(--coral);
  margin-bottom: 8px;
  stroke-width: 1.2;
}

.large-placeholder strong {
  max-width: 100%;
  font-size: clamp(24px, 2.6vw, 30px);
  line-height: 1.4;
  text-wrap: balance;
}

.large-placeholder span,
.large-placeholder small {
  max-width: 100%;
  line-height: 1.85;
}

.large-placeholder .qr-symbol {
  width: 130px !important;
  height: 130px !important;
}

.subsection-title {
  margin-top: 90px;
}

.dashboard-placeholder {
  border: 1px solid #dcc7b8;
  border-radius: 18px;
  box-shadow: 0 12px 30px #49393709;
}

.dashboard-top {
  padding: 14px 20px;
  background: var(--arena);
}

.dashboard-content {
  padding: 30px;
}

.dashboard-stats {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 22px;
}

.dashboard-stats span {
  min-width: 0;
  padding: 17px 8px;
  border: 1px solid #dcc7b85c;
  border-radius: 9px;
  background: var(--crema);
  font-size: 11px;
  line-height: 1.7;
}

/* Los dos paquetes mantienen todos sus beneficios y los precios existentes. */
.pricing {
  padding-block: 86px;
}

.section.pricing > .container > h2 {
  margin-bottom: 22px;
}

.pricing-note {
  max-width: 580px;
  margin-inline: auto;
  margin-bottom: 36px;
  line-height: 1.8;
}

.pricing-grid {
  grid-template-columns: repeat(2, minmax(0, 440px));
  gap: 28px;
  align-items: stretch;
}

.price-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  border: 1px solid #c9757b59;
  border-radius: 18px;
  box-shadow: 0 10px 26px #87404a0c;
  transition: border-color 220ms ease, box-shadow 220ms ease, translate 220ms ease;
}

.price-card h3 {
  padding: 29px 22px;
  line-height: 1.35;
}

.price-card-content {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 30px;
}

.plan-features {
  flex: 1;
}

.plan-features li {
  align-items: flex-start;
  gap: 11px;
  margin-bottom: 13px;
  font-size: 14px;
  line-height: 1.75;
}

.plan-mark {
  width: 22px;
  font-size: 17px;
  line-height: 1.45;
}

.plan-price {
  margin-block: 30px 24px;
  line-height: 1.3;
}

.price-card .button {
  min-height: 50px;
}

/* Un bloque editorial para contacto, con los beneficios completos a la vista. */
#contacto .split {
  max-width: 1050px;
  margin-inline: auto;
}

.contact-brand {
  position: relative;
  isolation: isolate;
  padding: 25px 0;
}

.contact-brand::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 12px 9% 5px;
  border: 1px solid #c9757b29;
  border-radius: 48% 48% 18px 18px;
  background: #fcf6ee75;
}

.contact-brand > img {
  width: 72%;
  max-width: 300px;
}

.contact-brand > p {
  padding-inline: 20px;
  margin-top: 6px;
  line-height: 1.4;
}

.benefit-list {
  list-style: none;
  padding: 0;
  margin-bottom: 28px;
}

.benefit-list li {
  position: relative;
  padding: 11px 0 12px 21px;
  margin-bottom: 0;
  border-bottom: 1px solid #c9757b26;
  line-height: 1.8;
}

.benefit-list li::before {
  content: "";
  position: absolute;
  width: 6px;
  height: 6px;
  inset: 22px auto auto 1px;
  border: 1px solid var(--rosa);
  border-radius: 50%;
}

.contact-status {
  line-height: 1.85;
  overflow-wrap: anywhere;
}

.addon-label {
  margin-bottom: 32px;
  font-size: 10px;
  line-height: 1.9;
  letter-spacing: 2px;
}

.lavender .split {
  padding: 42px;
  border: 1px solid #a7b89d80;
  border-radius: 22px;
  background: #fcf6ee66;
}

.album-placeholder {
  min-height: 300px;
  padding: 22px;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--purple);
}

.album-placeholder > .icon {
  color: var(--purple);
}

/* La respuesta al puntero solo se aplica cuando el dispositivo tiene ratón. */
@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .features-grid article:hover {
    translate: 0 -4px;
    border-color: #c9757b70;
    background: #fcf6eed9;
    box-shadow: 0 10px 24px #87404a09;
  }

  .example-card:hover {
    translate: 0 -5px;
  }

  .price-card:hover {
    translate: 0 -4px;
    border-color: #a54b5580;
    box-shadow: 0 15px 34px #87404a12;
  }
}

@media (min-width: 701px) and (max-width: 1000px) {
  .features-grid {
    gap: 16px;
  }

  .features-grid article {
    padding: 25px 20px;
  }

  .examples-grid {
    gap: 22px;
  }

  .example-cover {
    min-height: 295px;
    padding-inline: 20px;
  }

  .brand-story {
    min-height: 390px;
  }

  .price-card-content {
    padding: 26px;
  }

  .lavender .split {
    padding: 30px;
  }
}

/* En teléfono la lectura y el toque son la prioridad: una columna y sin recortes. */
@media (max-width: 700px) {
  .section {
    padding-block: 58px;
  }

  .section > .container > h2:not(.event-title) {
    margin-bottom: 30px;
    font-size: clamp(28px, 7.6vw, 35px);
    line-height: 1.3;
  }

  .section > .container > h2:not(.event-title)::after {
    width: 42px;
    margin-top: 18px;
  }

  .section-lead {
    margin-top: 0;
    margin-bottom: 30px;
    font-size: 14px;
    line-height: 1.85;
  }

  .section .split {
    grid-template-columns: minmax(0, 1fr);
    gap: 30px;
  }

  .section .body-copy {
    font-size: 15px;
    line-height: 1.85;
  }

  .brand-story {
    min-height: 330px;
    padding: 32px 24px;
  }

  .brand-story > img {
    width: min(210px, 83%);
  }

  .brand-story > p {
    font-size: 25px;
  }

  .features-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
  }

  .features-grid article {
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr);
    column-gap: 16px;
    row-gap: 6px;
    padding: 22px 18px;
    border: 1px solid #c9757b35;
    border-radius: 14px;
  }

  .features-grid article:first-child {
    border-top: 1px solid #c9757b35;
  }

  .features-grid article:last-child {
    grid-column: auto;
    max-width: none;
    justify-self: stretch;
  }

  .features-grid .icon {
    grid-row: 1 / 3;
    align-self: start;
    width: 48px;
    height: 48px;
    padding: 11px;
    margin: 0;
  }

  .features-grid h3 {
    margin: 0;
    font-size: 11px;
    letter-spacing: .65px;
    line-height: 1.6;
  }

  .features-grid p {
    margin: 0;
    font-size: 14px;
    line-height: 1.8;
  }

  .fine-print {
    margin-top: 24px;
    font-size: 12px;
  }

  .event-title {
    margin-block: 34px 28px;
    font-size: 32px;
  }

  .examples-grid {
    grid-template-columns: minmax(0, 1fr);
    width: 100%;
    max-width: 350px;
    gap: 26px;
    margin-bottom: 30px;
  }

  .example-cover {
    min-height: 320px;
    padding: 39px 24px 30px;
    border-radius: 150px 150px 0 0;
  }

  .example-cover strong {
    font-size: 32px;
  }

  .example-cover small {
    font-size: 9px;
    letter-spacing: 1.35px;
  }

  .example-button {
    min-height: 50px;
    font-size: 12px;
  }

  .large-placeholder {
    min-height: 290px;
    padding: 32px 21px;
    border-radius: 18px;
    gap: 17px;
  }

  .large-placeholder > .icon {
    width: 58px;
    height: 58px;
  }

  .large-placeholder strong {
    font-size: 25px;
  }

  .large-placeholder span {
    font-size: 13px;
  }

  .large-placeholder small {
    font-size: 11px;
  }

  .large-placeholder .qr-symbol {
    width: 112px !important;
    height: 112px !important;
  }

  .section > .container > .subsection-title {
    margin-top: 58px;
  }

  .dashboard-content {
    padding: 24px 20px;
  }

  .dashboard-content > strong {
    font-size: 17px;
    line-height: 1.5;
  }

  .dashboard-stats {
    gap: 7px;
  }

  .dashboard-stats span {
    padding: 14px 4px;
    font-size: 10px;
  }

  .pricing {
    padding-block: 58px;
  }

  .section.pricing > .container > h2 {
    margin-bottom: 22px;
  }

  .pricing-note {
    margin-bottom: 28px;
    font-size: 12px;
  }

  .pricing-grid {
    grid-template-columns: minmax(0, 1fr);
    max-width: 440px;
    gap: 22px;
    margin-inline: auto;
  }

  .price-card {
    border-radius: 16px;
  }

  .price-card h3 {
    font-size: 28px;
    padding: 26px 20px;
  }

  .price-card-content {
    padding: 26px 24px;
  }

  .plan-features li {
    font-size: 13px;
    line-height: 1.85;
    margin-bottom: 12px;
  }

  .plan-price {
    font-size: 46px;
    margin-block: 28px 22px;
  }

  .price-card .button {
    min-height: 50px;
  }

  .contact-brand {
    padding: 20px 0;
  }

  .contact-brand > img {
    width: 70%;
    max-width: 245px;
  }

  .contact-brand > p {
    font-size: 27px;
  }

  .benefit-list {
    font-size: 14px;
    margin-bottom: 25px;
  }

  .benefit-list li {
    padding-block: 10px 11px;
  }

  .benefit-list li::before {
    top: 20px;
  }

  .addon-label {
    margin-bottom: 25px;
    font-size: 9px;
    letter-spacing: 1.4px;
  }

  .lavender .split {
    padding: 28px 20px;
    border-radius: 18px;
  }

  .album-placeholder {
    min-height: 245px;
    padding: 8px 0 15px;
    border-radius: 0;
  }

  .lavender h2 {
    font-size: clamp(28px, 7.5vw, 32px);
    line-height: 1.35;
    text-wrap: balance;
  }
}

@media (max-width: 360px) {
  .features-grid article {
    grid-template-columns: 42px minmax(0, 1fr);
    column-gap: 12px;
    padding: 20px 15px;
  }

  .features-grid .icon {
    width: 42px;
    height: 42px;
    padding: 9px;
  }

  .example-cover {
    min-height: 305px;
    padding-inline: 20px;
  }

  .large-placeholder {
    padding-inline: 18px;
  }

  .dashboard-content {
    padding-inline: 17px;
  }

  .dashboard-stats span {
    font-size: 9px;
  }

  .price-card-content {
    padding: 24px 20px;
  }

  .plan-features li {
    gap: 9px;
  }

  .lavender .split {
    padding-inline: 17px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .features-grid article,
  .example-card,
  .price-card,
  .example-button {
    transition: none;
    translate: none;
  }
}

@media print {
  .features-grid article,
  .example-card,
  .price-card {
    box-shadow: none;
    translate: none;
    break-inside: avoid;
  }
}
