/* Hero copy shared by the pages whose top photo had no words (see src/overrides). Colours and
   type are the site's own: gold #E8CA4E, blush #F9E0E2, wine #8C4259 / #4A1D2C, Gastela + Picnic + Inter. */

.ph-copy {
  display: flex; flex-direction: column; align-items: flex-start; gap: 18px;
  max-width: 620px; padding-left: clamp(0px, 4vw, 48px); color: #F9E0E2;
}
.ph-copy > * { margin: 0; }
.ph-script { font-family: "Elegancia Font Gastela", cursive; font-size: clamp(38px, 4vw, 56px); line-height: 1.1; color: #E8CA4E; }
.ph-title {
  font-family: "Elegancia Font Picnic", serif; font-weight: 700; text-transform: uppercase;
  font-size: clamp(3.2rem, 6.6vw, 6.2rem); line-height: 0.92; letter-spacing: 3px; color: #F9E0E2; text-wrap: balance;
}
.ph-tiers { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 0; font-family: "Elegancia Font Picnic", serif; font-size: 20px; letter-spacing: 5px; text-transform: uppercase; color: #E8CA4E; }
.ph-tiers span + span::before { content: "♛"; display: inline-block; margin: 0 14px; font-family: Arial, sans-serif; font-size: 15px; letter-spacing: 0; translate: 0 -2px; }
.ph-lead { max-width: 520px; font-family: "Elegancia Font Picnic", serif; font-size: 21px; line-height: 1.55; color: #fff; }
.ph-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 8px; }
.ph-btn {
  display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 14px 28px;
  text-decoration: none; border: 1px solid transparent; cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.15s cubic-bezier(0.23, 1, 0.32, 1);
}
.ph-btn:active { transform: scale(0.97); }
.ph-btn--gold { font-family: "Elegancia Font Picnic", serif; font-size: 18px; text-transform: uppercase; letter-spacing: 1px; background: #E8CA4E; border-color: #E8CA4E; color: #4A1D2C; }
.ph-btn--light { padding: 14px 30px; border-radius: 60px; font-family: "Inter", sans-serif; font-size: 16px; color: #F9E0E2; border-color: #F9E0E2; background: transparent; }
@media (hover: hover) and (pointer: fine) {
  .ph-btn--gold:hover { background: #F9E0E2; border-color: #F9E0E2; color: #4A1D2C; }
  .ph-btn--light:hover { background: #F9E0E2; color: #8C4259; }
}
.ph-btn:focus-visible { outline: 2px solid #E8CA4E; outline-offset: 3px; }

/* Entrance: the lines rise in one after another as the photo fades in (first visit only). */
@keyframes ph-rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.ph-copy > * { animation: ph-rise 0.6s cubic-bezier(0.23, 1, 0.32, 1) both; }
.ph-copy > :nth-child(2) { animation-delay: 0.08s; }
.ph-copy > :nth-child(3) { animation-delay: 0.16s; }
.ph-copy > :nth-child(4) { animation-delay: 0.24s; }
.ph-copy > :nth-child(5) { animation-delay: 0.32s; }
@media (prefers-reduced-motion: reduce) {
  .ph-copy > * { animation: ph-fade 0.3s ease both; animation-delay: 0s !important; }
  @keyframes ph-fade { from { opacity: 0; } to { opacity: 1; } }
}

/* The list of packages starts below the fixed header when reached from "Ver los paquetes". */
#paquetes-lista, #contacto, #visiones, #packages-list, #contacting, #visions { scroll-margin-top: 90px; }

@media (max-width: 767px) {
  .ph-copy { align-items: center; text-align: center; padding: 0 6px; margin-inline: auto; gap: 14px; }
  .ph-tiers { justify-content: center; font-size: 16px; letter-spacing: 3px; }
  .ph-tiers span + span::before { margin: 0 9px; }
  .ph-lead { font-size: 18px; }
  .ph-actions { justify-content: center; }
}
