/* ==========================================================================
   RESPONSIVE.CSS - DISEÑO RESPONSIVE COMPLETO PARA MÓVIL, TABLET Y PC
   BODA LUCÍA & PEDRO (STITCH AI - MODELO 03)
   ========================================================================== */

/* ==========================================================================
   1. DISPOSITIVOS MÓVILES PEQUEÑOS (< 380px)
   ========================================================================== */
@media (max-width: 380px) {
  .hero-couple-name {
    font-size: 2.65rem;
  }

  .envelope-container {
    max-width: 300px;
    height: 225px;
  }

  .locations-grid-2col,
  .gift-options-grid {
    gap: 0.5rem;
    padding-left: 0.5rem;
    padding-right: 0.5rem;
  }

  .pill-action-btn {
    padding: 0.38rem 0.65rem;
    font-size: 10px;
  }
}

/* ==========================================================================
   2. TABLETS (min-width: 768px)
   ========================================================================== */
@media (min-width: 768px) {
  /* Portada / Hero en Tablet */
  .hero-marsala-section {
    padding: 3.5rem 0 3.5rem 0;
  }

  .hero-top-content,
  .hero-bottom-content {
    padding: 0 2.5rem;
    max-width: 760px;
    margin: 0 auto;
  }

  .hero-laurel-box {
    width: 8.2rem;
    height: 7.2rem;
  }

  .hero-monogram-letters {
    font-size: 2.4rem;
  }

  .hero-pretitle {
    font-size: 0.85rem;
  }

  .hero-couple-name {
    font-size: 4rem;
  }

  .hero-couple-amp {
    font-size: 2.2rem;
  }

  .hero-date-badge {
    max-width: 340px;
    padding: 0.85rem 0;
  }

  .hero-date-numbers {
    font-size: 1.5rem;
  }

  .hero-photo-container {
    max-width: 100%;
    margin: 1.5rem 0 1rem 0;
  }

  .hero-wave-frame {
    aspect-ratio: 16 / 10;
    max-height: 520px;
  }

  .hero-wave-top-svg {
    height: 68px;
  }

  .hero-wave-bottom-svg {
    height: 72px;
  }

  .hero-quote-box {
    max-width: 520px;
    margin: 2rem 0 2.25rem 0;
  }

  .hero-quote-text {
    font-size: 1.45rem;
  }

  .hero-audio-player {
    max-width: 440px;
    padding: 1.25rem 1.5rem;
  }

  .player-song-title {
    font-size: 1.3rem;
  }

  .hero-botanical-top-right,
  .hero-botanical-accent {
    width: 7.5rem;
  }

  /* Sección 2: Bienvenidos, Cuenta Regresiva y Familia en Tablet */
  .welcome-paper-section {
    padding: 4.5rem 2.5rem;
  }

  .welcome-heading {
    font-size: 2.25rem;
  }

  .leaf-divider-row {
    width: 16rem;
    margin-bottom: 1.75rem;
  }

  .welcome-lead-text {
    font-size: 1.55rem;
    max-width: 34rem;
    margin-bottom: 2.5rem;
  }

  .date-countdown-card {
    max-width: 620px;
    padding: 1.85rem 1rem;
  }

  .col-gold-icon {
    font-size: 1.85rem;
    margin-bottom: 0.6rem;
  }

  .col-upper-title {
    font-size: 12.5px;
  }

  .col-muted-sub {
    font-size: 11.5px;
  }

  .col-big-serif,
  .days-number-big {
    font-size: 2.15rem;
  }

  .days-unit-label {
    font-size: 1.35rem;
  }

  .live-hms-bar {
    font-size: 12px;
  }

  .calendar-mini-link {
    font-size: 11px;
    margin-top: 0.45rem;
  }

  .inspirational-quote-wrap {
    max-width: 34rem;
    margin: 2.75rem 0;
  }

  .inspirational-quote-text {
    font-size: 1.38rem;
  }

  /* Padres y Padrinos en 2 columnas paralelas en Tablet y PC */
  .family-blocks-stack {
    max-width: 700px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: start;
    gap: 2.5rem;
  }

  .family-group-box {
    background-color: rgba(255, 255, 255, 0.55);
    border: 1px solid var(--wedding-border-light);
    border-radius: 1.1rem;
    padding: 1.75rem 1.25rem;
    height: 100%;
    justify-content: flex-start;
  }

  .family-names-list {
    font-size: 1.45rem;
  }

  .welcome-botanical-top-right,
  .welcome-botanical-accent {
    width: 7.5rem;
  }

  /* Sección 3: Ceremonia y Celebración, Vestimenta, Itinerario, Regalos, Galería y RSVP en Tablet */
  .section-marsala-arch {
    padding: 3rem 2rem 2.75rem 2rem;
  }

  .arch-section-title {
    font-size: 2rem;
  }

  .arch-watermark-top-right {
    width: 7.5rem;
  }

  .locations-grid-2col {
    max-width: 720px;
    gap: 2rem;
    padding: 3rem 2rem;
  }

  .location-col-item.with-left-divider {
    padding-left: 2rem;
  }

  .location-icon-box {
    width: 3.75rem;
    height: 3.75rem;
    margin-bottom: 0.75rem;
  }

  .location-icon-box svg {
    width: 3rem !important;
    height: 3rem !important;
  }

  .location-title {
    font-size: 1.5rem;
  }

  .location-place-name {
    font-size: 0.95rem;
  }

  .location-address {
    font-size: 0.85rem;
  }

  .location-time {
    font-size: 0.95rem;
  }

  .pill-action-btn {
    padding: 0.55rem 1.25rem;
    font-size: 12.5px;
    margin-top: 1rem;
  }

  /* Subsecciones interiores más amplias en Tablet */
  .dress-code-block,
  .itinerary-block,
  .gift-registry-block,
  .gallery-block {
    max-width: 720px;
    padding: 2.75rem 2rem;
  }

  .subsection-header-title {
    font-size: 1.05rem;
  }

  .dress-code-row {
    gap: 3rem;
  }

  .dress-style-label {
    font-size: 1.4rem;
  }

  .color-swatch-dot {
    width: 1.65rem;
    height: 1.65rem;
  }

  /* Itinerario en Tablet */
  .vertical-timeline-list {
    max-width: 440px;
    margin: 0 auto;
    gap: 1.35rem;
  }

  .itinerary-step-icon {
    width: 3.5rem;
  }

  .itinerary-step-icon img {
    width: 2.65rem;
    height: 2.65rem;
  }

  .vertical-timeline-line {
    left: calc(0.5rem + 3.5rem + 0.75rem + 0.375rem - 1px);
  }

  .itinerary-step-time {
    font-size: 0.88rem;
  }

  .itinerary-step-name {
    font-size: 1.25rem;
  }

  /* Regalos en Tablet */
  .gift-quote-text {
    font-size: 1.28rem;
    max-width: 34rem;
    margin-bottom: 2rem;
  }

  .gift-options-grid {
    gap: 2rem;
  }

  .gift-col-box.with-left-divider {
    padding-left: 2rem;
  }

  .gift-col-title {
    font-size: 1.3rem;
  }

  .gift-sub-detail,
  .bank-details-list {
    font-size: 0.85rem;
  }

  .bank-account-mono {
    font-size: 0.82rem;
  }

  .copy-bank-btn {
    font-size: 11.5px;
    padding: 0.35rem 0.9rem;
  }

  .qr-code-image {
    width: 7.5rem;
    height: 7.5rem;
  }

  /* Galería en Tablet */
  .gallery-grid-2x2 {
    gap: 1.15rem;
  }

  /* RSVP en Tablet */
  .rsvp-photos-block {
    max-width: 600px;
    padding: 2.5rem 2rem 3.5rem 2rem;
  }

  .rsvp-box-card {
    padding: 2.5rem 2.25rem;
  }

  .rsvp-title-main {
    font-size: 1.6rem;
  }

  .rsvp-instructions {
    font-size: 0.9rem;
    max-width: 28rem;
  }

  .whatsapp-rsvp-btn,
  .toggle-rsvp-form-btn {
    max-width: 400px;
  }

  /* Footer Fotográfico en Tablet */
  .footer-image-box {
    aspect-ratio: 16 / 8;
    max-height: 460px;
  }

  .footer-closing-names {
    font-size: 2rem;
  }

  .footer-closing-quote {
    font-size: 1.15rem;
  }

  .section-leaf-accent {
    width: 7.5rem;
  }
}

/* ==========================================================================
   3. PC / ESCRITORIO (min-width: 1024px)
   ========================================================================== */
@media (min-width: 1024px) {
  /* Hero en PC: Layout Editorial de 2 Columnas (Contenido a la izquierda, Retrato a la derecha) */
  .hero-marsala-section {
    padding: 4.5rem 4rem;
    display: grid;
    grid-template-columns: 1fr 1.05fr;
    grid-template-rows: auto auto;
    align-items: center;
    justify-items: center;
    column-gap: 4rem;
    row-gap: 1.5rem;
  }

  .hero-top-content {
    grid-column: 1;
    grid-row: 1;
    align-self: end;
    padding: 0;
    max-width: 500px;
  }

  .hero-bottom-content {
    grid-column: 1;
    grid-row: 2;
    align-self: start;
    padding: 0;
    max-width: 500px;
  }

  .hero-photo-container {
    grid-column: 2;
    grid-row: 1 / 3;
    align-self: center;
    width: 100%;
    max-width: 520px;
    margin: 0;
    border-radius: 1.25rem;
    padding: 0.65rem;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(197, 160, 89, 0.45);
    box-shadow: 0 28px 65px rgba(0, 0, 0, 0.38);
  }

  .hero-wave-frame {
    aspect-ratio: 4 / 4.7;
    max-height: 620px;
    border-radius: 0.85rem;
  }

  /* Ocultar ondas móviles en el marco de retrato de escritorio */
  .hero-wave-top-svg,
  .hero-wave-bottom-svg {
    display: none;
  }

  .hero-couple-name {
    font-size: 4.4rem;
  }

  .hero-quote-box {
    margin: 0.75rem 0 1.5rem 0;
  }

  .hero-audio-player {
    max-width: 420px;
  }

  /* Sección 2: Bienvenidos, Cuenta Regresiva y Familia en PC */
  .welcome-paper-section {
    padding: 5.5rem 4rem;
  }

  .welcome-heading {
    font-size: 2.5rem;
  }

  .welcome-lead-text {
    font-size: 1.7rem;
    max-width: 42rem;
  }

  .date-countdown-card {
    max-width: 820px;
    padding: 2.25rem 2rem;
  }

  .col-big-serif,
  .days-number-big {
    font-size: 2.5rem;
  }

  .family-blocks-stack {
    max-width: 920px;
    gap: 3.5rem;
  }

  .family-group-box {
    padding: 2.25rem 2rem;
  }

  .family-names-list {
    font-size: 1.6rem;
  }

  /* Sección 3: Ceremonia y Celebración, Vestimenta, Itinerario, Regalos, Galería y RSVP en PC */
  .section-marsala-arch {
    padding: 3.75rem 2rem 3.25rem 2rem;
  }

  .arch-section-title {
    font-size: 2.35rem;
  }

  .locations-grid-2col {
    max-width: 980px;
    gap: 3.5rem;
    padding: 4rem 2.5rem;
  }

  .location-col-item.with-left-divider {
    padding-left: 3.5rem;
  }

  .location-title {
    font-size: 1.75rem;
  }

  .location-place-name {
    font-size: 1.05rem;
  }

  .location-address {
    font-size: 0.92rem;
  }

  .location-time {
    font-size: 1.05rem;
  }

  .dress-code-block,
  .itinerary-block,
  .gift-registry-block {
    max-width: 980px;
    padding: 3.5rem 2.5rem;
  }

  /* Itinerario Horizontal de 5 Columnas en PC */
  .vertical-timeline-list {
    max-width: 100%;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1.25rem;
    padding: 1.25rem 0 0.5rem 0;
  }

  .vertical-timeline-line {
    left: 10%;
    right: 10%;
    top: calc(1.25rem + 3.75rem + 0.85rem + 0.375rem - 1px);
    bottom: auto;
    width: auto;
    height: 2px;
  }

  .itinerary-step-row {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.85rem;
  }

  .itinerary-step-icon {
    width: 3.75rem;
    height: 3.75rem;
  }

  .itinerary-step-icon img {
    width: 2.85rem;
    height: 2.85rem;
  }

  .itinerary-step-text {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding-left: 0;
    gap: 0.25rem;
  }

  .itinerary-step-time {
    font-size: 0.85rem;
  }

  .itinerary-step-name {
    font-size: 1.2rem;
  }

  /* Galería de 4 Columnas en PC */
  .gallery-block {
    max-width: 1080px;
    padding: 3.5rem 2.5rem;
  }

  .gallery-grid-2x2 {
    grid-template-columns: repeat(4, 1fr);
    gap: 1.35rem;
  }

  /* RSVP en PC */
  .rsvp-photos-block {
    max-width: 720px;
    padding: 3rem 2rem 4.5rem 2rem;
  }

  .rsvp-box-card {
    padding: 3rem 3.25rem;
  }

  /* Footer Fotográfico Panorámico en PC */
  .footer-image-box {
    aspect-ratio: 21 / 8;
    max-height: 520px;
  }

  .footer-vignette-overlay {
    padding: 2.5rem 2rem;
  }

  .footer-closing-names {
    font-size: 2.5rem;
  }

  .footer-closing-quote {
    font-size: 1.3rem;
  }

  .section-leaf-accent {
    width: 9rem;
  }
}

/* ==========================================================================
   4. PANTALLAS GRANDES / MONITORES WIDE (min-width: 1280px)
   ========================================================================== */
@media (min-width: 1280px) {
  .hero-marsala-section {
    padding: 5rem 7vw;
    column-gap: 5.5rem;
  }

  .hero-photo-container {
    max-width: 560px;
  }

  .hero-couple-name {
    font-size: 4.8rem;
  }

  .locations-grid-2col,
  .dress-code-block,
  .itinerary-block,
  .gift-registry-block {
    max-width: 1080px;
  }

  .gallery-block {
    max-width: 1180px;
  }
}
