/* =========================================================
   BASE
========================================================= */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  width: 100%;
  min-height: 100%;
  scroll-behavior: smooth;
}

body {
  width: 100%;
  min-height: 100%;
  font-family: Georgia, "Times New Roman", serif;
  background: #f7f4ef;
  color: #2e2e2e;
  overflow-x: hidden;
}

a {
  text-decoration: none;
}


/* =========================================================
   NAVBAR
========================================================= */

.wedding-navbar {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 20;
}

.wedding-navbar nav {
  background: transparent;
  box-shadow: none;
}

.wedding-navbar nav .nav-wrapper {
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}

.wedding-navbar nav a {
  color: #fff;
  text-shadow: 0 1px 5px rgba(0, 0, 0, 0.4);
}

.wedding-navbar nav ul a {
  padding: 0 18px;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 2px;
  text-transform: uppercase;
  transition: background 0.3s ease;
}

.wedding-navbar nav ul a:hover {
  background: rgba(255, 255, 255, 0.1);
}

.wedding-logo {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 21px !important;
  font-weight: 400;
  letter-spacing: 4px;
}


/* =========================================================
   SIDENAV
========================================================= */

.sidenav {
  background: #faf8f5;
}

.sidenav-title {
  padding: 40px 32px 25px;
  color: #78695d;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 23px;
  font-style: italic;
}

.sidenav li > a {
  color: #45403c;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 13px;
  letter-spacing: 1px;
}

.sidenav li > a > i.material-icons {
  color: #a58b76;
}


/* =========================================================
   HERO
========================================================= */

.hero {
  position: relative;
  width: 100%;
  min-height: 100vh;

  background-image: url("/images/portada.jpg");
  background-size: cover;

  /* Posición personalizada para escritorio */
  background-position: center 23%;

  background-repeat: no-repeat;

  display: flex;
  align-items: center;
  justify-content: center;

  overflow: hidden;
}


/* =========================================================
   CAPA SOBRE LA FOTOGRAFÍA
========================================================= */

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;

  /*
    Oscurece ligeramente la fotografía para mejorar
    la lectura sin perder luminosidad.
  */
  background:
    linear-gradient(
      to bottom,
      rgba(20, 16, 13, 0.38) 0%,
      rgba(20, 16, 13, 0.22) 35%,
      rgba(20, 16, 13, 0.32) 65%,
      rgba(20, 16, 13, 0.58) 100%
    );
}


/* =========================================================
   CONTENIDO HERO
========================================================= */

.hero-content {
  position: relative;
  z-index: 2;

  width: 100%;
  max-width: 900px;

  padding: 110px 25px 50px;

  text-align: center;
  color: #fff;
}


/* =========================================================
   CONTRASTE DEL TEXTO SOBRE LA FOTOGRAFÍA
========================================================= */

.hero-small-title,
.hero-date,
.hero-message,
.countdown-item span,
.countdown-item small {
  text-shadow:
    0 2px 8px rgba(0, 0, 0, 0.45),
    0 1px 2px rgba(0, 0, 0, 0.35);
}


/* =========================================================
   TEXTO SUPERIOR
========================================================= */

.hero-small-title {
  margin: 0 0 20px;

  font-family: Arial, Helvetica, sans-serif;
  font-size: 11px;
  font-weight: 400;

  letter-spacing: 7px;
  text-transform: uppercase;

  color: rgba(255, 255, 255, 0.95);
}


/* =========================================================
   NOMBRES
========================================================= */

.hero h1 {
  margin: 0;

  color: #fff;

  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(55px, 8vw, 105px);
  font-weight: 400;

  line-height: 0.95;

  text-shadow:
    0 3px 18px rgba(0, 0, 0, 0.5),
    0 1px 4px rgba(0, 0, 0, 0.4);
}

.hero h1 span {
  display: inline-block;

  margin: 0 12px;

  font-size: 0.6em;
  font-weight: 400;
  font-style: italic;
}


/* =========================================================
   DIVISOR
========================================================= */

.hero-line {
  width: 70px;
  height: 1px;

  margin: 32px auto 25px;

  background: rgba(255, 255, 255, 0.9);

  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.25);
}


/* =========================================================
   FECHA
========================================================= */

.hero-date {
  margin: 0;

  color: #fff;

  font-family: Arial, Helvetica, sans-serif;
  font-size: 13px;

  letter-spacing: 5px;
  text-transform: uppercase;
}


/* =========================================================
   MENSAJE
========================================================= */

.hero-message {
  margin: 18px 0 35px;

  color: rgba(255, 255, 255, 0.98);

  font-size: 17px;
  font-weight: 400;
  font-style: italic;

  line-height: 1.7;
}


/* =========================================================
   CUENTA REGRESIVA
========================================================= */

.countdown {
  display: flex;
  align-items: flex-start;
  justify-content: center;

  gap: 16px;

  margin: 0 auto;
}

.countdown-item {
  min-width: 70px;
  text-align: center;
}

.countdown-item span {
  display: block;

  color: #fff;

  font-family: Georgia, "Times New Roman", serif;
  font-size: 34px;
  font-weight: 400;

  line-height: 1;
}

.countdown-item small {
  display: block;

  margin-top: 9px;

  color: rgba(255, 255, 255, 0.9);

  font-family: Arial, Helvetica, sans-serif;
  font-size: 8px;
  font-weight: 400;

  letter-spacing: 2px;
  text-transform: uppercase;
}

.countdown-separator {
  margin-top: 2px;

  color: rgba(255, 255, 255, 0.8);

  font-family: Georgia, "Times New Roman", serif;
  font-size: 26px;

  text-shadow: 0 2px 7px rgba(0, 0, 0, 0.4);
}


/* =========================================================
   MENSAJE DÍA DE LA BODA
========================================================= */

.wedding-day-message {
  padding: 15px 25px;

  font-size: 24px;
  font-style: italic;

  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.45);

  border-top: 1px solid rgba(255, 255, 255, 0.5);
  border-bottom: 1px solid rgba(255, 255, 255, 0.5);
}


/* =========================================================
   FLECHA INFERIOR
========================================================= */

.hero-scroll {
  display: inline-flex;

  margin-top: 42px;

  color: #fff;

  opacity: 0.9;

  filter: drop-shadow(0 2px 3px rgba(0, 0, 0, 0.35));

  animation: weddingScroll 2s ease-in-out infinite;
}

.hero-scroll:hover {
  color: #fff;
  opacity: 1;
}

.hero-scroll i {
  font-size: 36px;
}

@keyframes weddingScroll {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(8px);
  }
}


/* =========================================================
   SECCIONES GENERALES
========================================================= */

.wedding-section {
  position: relative;

  padding: 100px 20px;

  background: #faf8f5;
}

.wedding-section .container {
  max-width: 850px;
}

.wedding-section h2 {
  margin: 12px 0 10px;

  color: #393531;

  font-family: Georgia, "Times New Roman", serif;
  font-size: 48px;
  font-weight: 400;
}

.wedding-section p {
  max-width: 650px;

  margin: 25px auto 0;

  color: #706963;

  font-size: 18px;

  line-height: 1.8;
}


/* =========================================================
   DETALLES DE SECCIÓN
========================================================= */

.section-heart {
  color: #a58b76;

  font-size: 30px;
}

.section-line {
  width: 55px;
  height: 1px;

  margin: 20px auto;

  background: #a58b76;
}


/* =========================================================
   NUESTRA BODA
========================================================= */

.wedding-details-section {
  padding-top: 105px;
  padding-bottom: 115px;
}

.section-eyebrow {
  margin: 0 0 18px !important;

  color: #a58b76 !important;

  font-family: Arial, Helvetica, sans-serif;
  font-size: 10px !important;

  letter-spacing: 4px;
  text-transform: uppercase;
}

.section-intro {
  max-width: 620px !important;

  margin: 25px auto 70px !important;

  font-style: italic;
}


/* =========================================================
   CEREMONIA Y RECEPCIÓN
========================================================= */

.wedding-event-row {
  position: relative;

  margin-top: 20px;
  margin-bottom: 0;
}

.wedding-event-row::after {
  content: "";

  position: absolute;
  top: 10%;
  bottom: 10%;
  left: 50%;

  width: 1px;

  background: rgba(165, 139, 118, 0.28);
}

.wedding-event {
  min-height: 410px;

  padding: 35px 35px 20px;

  text-align: center;
}

.event-icon {
  margin-bottom: 20px;

  color: #a58b76;
}

.event-icon i {
  font-size: 38px;
  font-weight: 300;
}

.event-type {
  margin: 0 0 14px !important;

  color: #a58b76 !important;

  font-family: Arial, Helvetica, sans-serif;
  font-size: 9px !important;

  letter-spacing: 4px;
}

.wedding-event h3 {
  min-height: 65px;

  margin: 0;

  color: #393531;

  font-family: Georgia, "Times New Roman", serif;
  font-size: 26px;
  font-weight: 400;

  line-height: 1.25;
}

.event-time {
  margin: 22px 0 12px;

  color: #393531;

  font-family: Georgia, "Times New Roman", serif;
  font-size: 22px;

  letter-spacing: 2px;
}

.event-location {
  min-height: 60px;

  margin: 0 0 25px !important;

  color: #77706a !important;

  font-family: Arial, Helvetica, sans-serif;
  font-size: 12px !important;

  line-height: 1.7 !important;
  letter-spacing: 1px;
}


/* =========================================================
   BOTONES
========================================================= */

.wedding-button {
  display: inline-flex;

  align-items: center;
  justify-content: center;

  gap: 7px;

  min-width: 165px;

  padding: 0 20px;

  height: 42px;

  color: #7c6858;

  font-family: Arial, Helvetica, sans-serif;
  font-size: 9px;

  letter-spacing: 2px;
  text-transform: uppercase;

  border: 1px solid #bca895;

  transition:
    background 0.3s ease,
    color 0.3s ease,
    border 0.3s ease;
}

.wedding-button i {
  font-size: 17px;
}

.wedding-button:hover {
  color: #fff;

  background: #a58b76;
  border-color: #a58b76;
}


/* =========================================================
   INFORMACIÓN PARA INVITADOS
========================================================= */

.guest-info-section {
  padding: 105px 20px 115px;

  background: #eee8e1;
}

.guest-info-heading {
  margin-bottom: 60px;
}

.guest-info-heading h2 {
  margin: 12px 0 10px;

  color: #393531;

  font-family: Georgia, "Times New Roman", serif;
  font-size: 45px;
  font-weight: 400;
}

.guest-info-row {
  max-width: 900px;

  margin: 0 auto;
}


/* =========================================================
   TARJETAS DE INFORMACIÓN
========================================================= */

.guest-info-card {
  height: 100%;
  min-height: 440px;

  margin: 10px;
  padding: 50px 45px;

  text-align: center;

  background: rgba(255, 255, 255, 0.55);

  border: 1px solid rgba(165, 139, 118, 0.22);
}

.guest-info-icon {
  margin-bottom: 20px;

  color: #a58b76;
}

.guest-info-icon i {
  font-size: 36px;
}

.guest-info-card h3 {
  margin: 0 0 25px;

  color: #393531;

  font-family: Georgia, "Times New Roman", serif;
  font-size: 27px;
  font-weight: 400;
}

.guest-info-card p {
  margin: 0;

  color: #6e6862;

  font-size: 15px;

  line-height: 1.8;
}

.guest-info-highlight {
  margin-bottom: 15px !important;

  color: #a58b76 !important;

  font-family: Arial, Helvetica, sans-serif;
  font-size: 11px !important;
  font-weight: 600;

  letter-spacing: 4px;
  text-transform: uppercase;
}

.small-divider {
  width: 45px;
  height: 1px;

  margin: 27px auto;

  background: #c4b2a2;
}


/* =========================================================
   COLOR RESERVADO
========================================================= */

.reserved-color {
  display: flex;

  align-items: center;
  justify-content: center;

  gap: 8px;

  font-style: italic;
}

.reserved-color i {
  color: #a58b76;

  font-size: 18px;
}


/* =========================================================
   SOLO ADULTOS
========================================================= */

.adult-message {
  font-family: Georgia, "Times New Roman", serif;

  font-size: 16px !important;
  font-style: italic;

  line-height: 1.8 !important;
}

.adults-only {
  color: #514b46 !important;

  font-family: Arial, Helvetica, sans-serif;
  font-size: 10px !important;
  font-weight: 600;

  letter-spacing: 2px;
  text-transform: uppercase;
}

.thanks-message {
  margin-top: 10px !important;

  font-size: 13px !important;
  font-style: italic;
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 992px) {

  .hero {
    /* Posición personalizada para tablet */
    background-position: center 30%;
  }

  .hero-content {
    max-width: 750px;
  }

  .wedding-navbar nav .nav-wrapper {
    border-bottom: none;
  }
}


/* =========================================================
   MÓVIL
========================================================= */

@media (max-width: 600px) {

  /* HERO */

  .hero {
    min-height: 100svh;

    background-size: cover;

    /* Posición personalizada para móvil */
    background-position: center center;
  }

  /*
    En móvil dejamos más clara la zona central de la foto
    y oscurecemos progresivamente la zona inferior donde
    se encuentra el texto.
  */
  .hero-overlay {
    background:
      linear-gradient(
        to bottom,
        rgba(20, 16, 13, 0.22) 0%,
        rgba(20, 16, 13, 0.10) 30%,
        rgba(20, 16, 13, 0.30) 55%,
        rgba(20, 16, 13, 0.72) 100%
      );
  }

  .hero-content {
    min-height: 100svh;

    padding: 100px 16px 35px;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
  }

  .hero-small-title {
    margin-bottom: 15px;

    font-size: 9px;

    letter-spacing: 5px;
  }

  .hero h1 {
    font-size: clamp(48px, 15vw, 72px);

    line-height: 0.95;
  }

  .hero h1 span {
    display: block;

    margin: 7px 0;

    font-size: 0.55em;
  }

  .hero-line {
    width: 55px;

    margin: 22px auto 19px;
  }

  .hero-date {
    font-size: 11px;

    letter-spacing: 3px;
  }

  .hero-message {
    max-width: 320px;

    margin: 14px auto 25px;

    font-size: 15px;

    line-height: 1.5;
  }


  /* CUENTA REGRESIVA */

  .countdown {
    gap: 4px;
  }

  .countdown-item {
    min-width: 55px;
  }

  .countdown-item span {
    font-size: 27px;
  }

  .countdown-item small {
    margin-top: 6px;

    font-size: 7px;

    letter-spacing: 1px;
  }

  .countdown-separator {
    margin-top: 1px;

    font-size: 20px;
  }

  .hero-scroll {
    margin-top: 25px;
  }

  .hero-scroll i {
    font-size: 30px;
  }


  /* SECCIONES */

  .wedding-section {
    padding: 75px 20px;
  }

  .wedding-section h2 {
    font-size: 38px;
  }

  .wedding-section p {
    font-size: 16px;

    line-height: 1.7;
  }


  /* NUESTRA BODA */

  .wedding-details-section {
    padding-top: 75px;
    padding-bottom: 75px;
  }

  .section-intro {
    margin-bottom: 40px !important;
  }


  /* CEREMONIA Y RECEPCIÓN */

  .wedding-event-row::after {
    display: none;
  }

  .wedding-event {
    min-height: auto;

    padding: 35px 10px 55px;
  }

  .wedding-event-row .col:last-child .wedding-event {
    padding-top: 50px;

    border-top: 1px solid rgba(165, 139, 118, 0.25);
  }

  .wedding-event h3 {
    min-height: auto;

    font-size: 25px;
  }

  .event-location {
    min-height: auto;
  }


  /* INFORMACIÓN PARA INVITADOS */

  .guest-info-section {
    padding: 75px 12px;
  }

  .guest-info-heading {
    margin-bottom: 35px;
  }

  .guest-info-heading h2 {
    font-size: 36px;
  }

  .guest-info-card {
    min-height: auto;

    margin: 10px 0 25px;
    padding: 40px 25px;
  }

    .guest-info-intro {
    padding: 0 10px;

    font-size: 15px;
    }

    .guest-info-label {
    font-size: 8px !important;

    letter-spacing: 2.5px;
    }
}


/* =========================================================
   MÓVILES PEQUEÑOS
========================================================= */

@media (max-width: 380px) {

  .hero-content {
    padding-left: 10px;
    padding-right: 10px;
  }

  .countdown-item {
    min-width: 49px;
  }

  .countdown-item span {
    font-size: 24px;
  }

  .countdown-separator {
    font-size: 18px;
  }
}

/* =========================================================
   DETALLES PARA INVITADOS
========================================================= */

.guest-info-intro {
  max-width: 620px;

  margin: 22px auto 0;

  color: #706963;

  font-size: 16px;

  line-height: 1.8;
}

.guest-info-label {
  margin-bottom: 12px !important;

  color: #a58b76 !important;

  font-family: Arial, Helvetica, sans-serif;
  font-size: 9px !important;
  font-weight: 500;

  letter-spacing: 3px;
  text-transform: uppercase;
}

.dress-description {
  line-height: 2 !important;
}

/* =========================================================
   COMPARTIR RECUERDOS — BLANCO / CHAMPAGNE
========================================================= */

.share-page {
  min-height: 100vh;
  padding: 70px 20px;

  background: #ffffff;

  color: #554b44;
}

.share-container {
  width: 100%;
  max-width: 650px;
  margin: 0 auto;
}


/* ENCABEZADO */

.share-date {
  margin: 0 0 22px;

  color: #a18369;

  font-family: Arial, Helvetica, sans-serif;
  font-size: 10px;
  font-weight: 500;

  letter-spacing: 4px;
}

.share-heart {
  margin-bottom: 12px;

  color: #b09277;
}

.share-header h1 {
  margin: 0;

  color: #4f453f;

  font-family: Georgia, "Times New Roman", serif;
  font-size: 48px;
  font-weight: 400;

  line-height: 1.1;
}

.share-header h1 span {
  display: inline-block;

  margin: 0 8px;

  color: #b09277;

  font-style: italic;
}

.share-line {
  width: 55px;
  height: 1px;

  margin: 24px auto;

  background: #c3a78f;
}

.share-header h2 {
  margin: 0 0 15px;

  color: #554a43;

  font-family: Georgia, "Times New Roman", serif;
  font-size: 28px;
  font-weight: 400;
}

.share-intro {
  max-width: 520px;
  margin: 0 auto;

  color: #7b716a;

  font-size: 15px;
  line-height: 1.8;
}


/* TARJETA */

.share-upload-box {
  margin-top: 42px;
  padding: 42px 35px;

  background: #ffffff;

  border: 1px solid #eee5de;
  border-radius: 8px;

  box-shadow:
    0 18px 50px rgba(80, 62, 49, 0.09);
}


/* SELECCIONAR ARCHIVOS */

.share-select-button {
  min-height: 68px;
  padding: 16px 20px;

  background: #faf6f2;

  color: #806651;

  border: 1px dashed #bea38c;
}

.share-select-button:hover {
  background: #f5eee8;
}

.share-help {
  color: #a0958d;
}


/* BOTÓN PRINCIPAL */

.share-upload-button {
  min-height: 58px;

  margin-top: 28px;
  padding: 15px 20px;

  background: #9b7b62;

  color: #ffffff;

  box-shadow:
    0 7px 18px rgba(94, 69, 50, 0.14);
}

.share-upload-button:hover {
  background: #87684f;

  box-shadow:
    0 10px 24px rgba(94, 69, 50, 0.18);

  transform: translateY(-1px);
}


/* ARCHIVOS SELECCIONADOS */

.selected-media-item {
  border-bottom-color: #eee7e1;
}

.selected-media-item:first-child {
  border-top-color: #eee7e1;
}

.selected-media-icon {
  background: #f7f1ec;

  color: #9a7a61;
}

.selected-media-name {
  color: #5c514a;
}

.selected-media-size {
  color: #a09790;
}

.selected-media-remove {
  color: #a2978f;
}

.selected-media-remove:hover {
  background: #f6f0eb;

  color: #755c49;
}


/* PROGRESO */

.upload-progress-text {
  color: #766b63;
}

.upload-progress-track {
  background: #eee7e1;
}

.upload-progress-bar {
  background: #a38369;
}


/* RESULTADO */

.upload-success {
  background: #faf7f4;

  color: #725f50;
}

.upload-success .upload-result-icon {
  color: #a38369;
}

.upload-partial {
  background: #faf6ef;

  color: #806b56;
}


/* PIE */

.share-footer {
  color: #9b806b;
}

.share-footer i {
  color: #ad8d73;
}

.share-footer p {
  color: #84756a;
}

/* =========================================================
   COMPARTIR RECUERDOS — ESTRUCTURA COMPLEMENTARIA
========================================================= */

.share-header {
  text-align: center;
}

.share-heart i {
  font-size: 28px;
}


/* =========================================================
   BOTONES
========================================================= */

.share-select-button,
.share-upload-button {
  width: 100%;

  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;

  border-radius: 4px;

  cursor: pointer;

  font-family: Arial, Helvetica, sans-serif;
  font-size: 12px;
  font-weight: 500;

  letter-spacing: 1.4px;
  text-transform: uppercase;

  transition:
    background 0.2s ease,
    box-shadow 0.2s ease,
    transform 0.2s ease,
    opacity 0.2s ease;
}

.share-select-button i {
  font-size: 24px;
}

.share-upload-button {
  border: none;
}

.share-upload-button i {
  font-size: 20px;
}

.share-select-button:disabled,
.share-upload-button:disabled {
  cursor: wait;

  opacity: 0.6;

  transform: none;
}

.share-help {
  margin: 15px 0 0;

  font-family: Arial, Helvetica, sans-serif;
  font-size: 12px;

  text-align: center;
}


/* =========================================================
   CONTENEDOR DE ARCHIVOS
========================================================= */

.selected-media {
  margin-top: 25px;
}

.selected-media:empty {
  display: none;
}


/* =========================================================
   ARCHIVO SELECCIONADO
========================================================= */

.selected-media-item {
  display: flex;
  align-items: center;
  gap: 13px;

  padding: 13px 0;

  border-bottom-width: 1px;
  border-bottom-style: solid;
}

.selected-media-item:first-child {
  border-top-width: 1px;
  border-top-style: solid;
}

.selected-media-icon {
  width: 42px;
  height: 42px;

  flex-shrink: 0;

  display: flex;
  align-items: center;
  justify-content: center;

  border-radius: 50%;
}

.selected-media-icon i {
  font-size: 19px;
}

.selected-media-info {
  min-width: 0;
  flex: 1;

  display: flex;
  flex-direction: column;
}

.selected-media-name {
  display: block;

  overflow: hidden;

  font-family: Arial, Helvetica, sans-serif;
  font-size: 13px;

  text-overflow: ellipsis;
  white-space: nowrap;
}

.selected-media-size {
  display: block;

  margin-top: 3px;

  font-family: Arial, Helvetica, sans-serif;
  font-size: 11px;
}

.selected-media-remove {
  width: 36px;
  height: 36px;

  flex-shrink: 0;

  display: flex;
  align-items: center;
  justify-content: center;

  padding: 0;

  background: transparent;

  border: none;
  border-radius: 50%;

  cursor: pointer;

  transition:
    background 0.2s ease,
    color 0.2s ease;
}

.selected-media-remove i {
  font-size: 19px;
}


/* =========================================================
   PROGRESO DE CARGA
========================================================= */

.upload-progress-container {
  margin-top: 28px;
}

.upload-progress-text {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;

  margin-bottom: 10px;

  font-family: Arial, Helvetica, sans-serif;
  font-size: 12px;
}

#upload-progress-label {
  min-width: 0;

  overflow: hidden;

  text-overflow: ellipsis;
  white-space: nowrap;
}

#upload-progress-percent {
  flex-shrink: 0;
}

.upload-progress-track {
  width: 100%;
  height: 5px;

  overflow: hidden;

  border-radius: 10px;
}

.upload-progress-bar {
  width: 0;
  height: 100%;

  border-radius: 10px;

  transition: width 0.25s ease;
}


/* =========================================================
   RESULTADO DE CARGA
========================================================= */

.upload-result {
  margin-top: 28px;
  padding: 22px;

  border-radius: 5px;

  font-size: 14px;
  line-height: 1.7;

  text-align: center;
}

.upload-result strong,
.upload-result span {
  display: block;
}

.upload-result strong {
  margin-bottom: 7px;

  font-family: Georgia, "Times New Roman", serif;
  font-size: 18px;
  font-weight: 400;
}

.upload-result-icon {
  display: block;

  margin-bottom: 8px;

  font-size: 25px;
}

.upload-error {
  background: #fbf2f0;

  color: #8a5e58;
}

.upload-error .upload-result-icon {
  color: #a56f67;
}


/* =========================================================
   FOOTER COMPARTIR
========================================================= */

.share-footer {
  margin-top: 42px;

  text-align: center;
}

.share-footer i {
  font-size: 17px;
}

.share-footer p {
  margin: 8px 0 0;

  font-family: Georgia, "Times New Roman", serif;
  font-size: 15px;
  font-style: italic;
}


/* =========================================================
   ANCLAS DEL MENÚ
========================================================= */

#nuestra-boda,
#informacion,
#itinerario,
#galeria {
  scroll-margin-top: 70px;
}


/* =========================================================
   MÓVIL — COMPARTIR
========================================================= */

@media (max-width: 600px) {

  .share-page {
    padding: 45px 16px 50px;
  }

  .share-date {
    margin-bottom: 18px;

    font-size: 9px;

    letter-spacing: 3px;
  }

  .share-header h1 {
    font-size: 39px;
  }

  .share-header h1 span {
    margin: 0 4px;
  }

  .share-header h2 {
    font-size: 24px;
  }

  .share-intro {
    padding: 0 5px;

    font-size: 14px;
  }

  .share-upload-box {
    margin-top: 32px;
    padding: 28px 20px;
  }

  .share-select-button {
    min-height: 72px;
    padding: 15px;
  }

  .selected-media-item {
    gap: 10px;
  }

  .selected-media-icon {
    width: 38px;
    height: 38px;
  }

  .selected-media-name {
    font-size: 12px;
  }

  .upload-progress-text {
    font-size: 11px;
  }


  /* Corrige el orden de estas reglas del bloque de invitados */

  .guest-info-intro {
    padding: 0 10px;

    font-size: 15px;
  }

  .guest-info-label {
    font-size: 8px !important;

    letter-spacing: 2.5px;
  }

}


/* =========================================================
   MÓVILES MUY PEQUEÑOS — COMPARTIR
========================================================= */

@media (max-width: 380px) {

  .share-page {
    padding-left: 12px;
    padding-right: 12px;
  }

  .share-header h1 {
    font-size: 34px;
  }

  .share-upload-box {
    padding: 25px 16px;
  }

  .share-select-button,
  .share-upload-button {
    font-size: 11px;

    letter-spacing: 1px;
  }

}

/* =========================================================
   GALERÍA PRIVADA — ADMINISTRACIÓN
========================================================= */

.private-gallery-page {
  min-height: 100vh;
  padding: 65px 30px 55px;

  background: #ffffff;

  color: #554b44;
}


/* =========================================================
   ENCABEZADO
========================================================= */

.private-gallery-header {
  max-width: 850px;

  margin: 0 auto 50px;

  text-align: center;
}

.private-gallery-date {
  margin: 0 0 18px;

  font-family: Arial, Helvetica, sans-serif;
  font-size: 10px;
  font-weight: 500;

  letter-spacing: 4px;

  color: #a38c7b;
}

.private-gallery-heart {
  margin-bottom: 10px;

  color: #b59a87;
}

.private-gallery-heart i {
  font-size: 21px;
}

.private-gallery-header h1 {
  margin: 0;

  font-family: Georgia, "Times New Roman", serif;
  font-size: 48px;
  font-weight: 400;

  line-height: 1.15;

  color: #554b44;
}

.private-gallery-header h1 span {
  margin: 0 8px;

  font-size: 32px;
  font-style: italic;

  color: #b59a87;
}

.private-gallery-line {
  width: 55px;
  height: 1px;

  margin: 23px auto;

  background: #c9b6a8;
}

.private-gallery-header h2 {
  margin: 0;

  font-family: Georgia, "Times New Roman", serif;
  font-size: 28px;
  font-weight: 400;

  color: #65584f;
}

.private-gallery-intro {
  max-width: 590px;

  margin: 14px auto 0;

  font-family: Arial, Helvetica, sans-serif;
  font-size: 14px;
  font-weight: 300;

  line-height: 1.8;

  color: #8a7c72;
}


/* =========================================================
   ESTADÍSTICAS
========================================================= */

.private-gallery-stats {
  max-width: 480px;

  display: grid;
  grid-template-columns: repeat(3, 1fr);

  margin: 38px auto 0;

  border-top: 1px solid #eee6e0;
  border-bottom: 1px solid #eee6e0;
}

.private-gallery-stats > div {
  position: relative;

  padding: 18px 10px;
}

.private-gallery-stats > div:not(:last-child)::after {
  content: "";

  position: absolute;
  top: 22%;
  right: 0;

  width: 1px;
  height: 56%;

  background: #eee6e0;
}

.private-gallery-stats strong {
  display: block;

  margin-bottom: 4px;

  font-family: Georgia, "Times New Roman", serif;
  font-size: 26px;
  font-weight: 400;

  color: #6f5c4e;
}

.private-gallery-stats span {
  display: block;

  font-family: Arial, Helvetica, sans-serif;
  font-size: 9px;
  font-weight: 500;

  letter-spacing: 1.8px;
  text-transform: uppercase;

  color: #a39489;
}


/* =========================================================
   CUADRÍCULA
========================================================= */

.private-gallery-grid {
  width: 100%;
  max-width: 1450px;

  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;

  margin: 0 auto;
}


/* =========================================================
   TARJETA
========================================================= */

.private-gallery-item {
  min-width: 0;

  overflow: hidden;

  background: #ffffff;

  border: 1px solid #eee7e1;
  border-radius: 7px;

  box-shadow:
    0 10px 30px rgba(77, 61, 50, 0.07);

  transition:
    transform 0.22s ease,
    box-shadow 0.22s ease;
}

.private-gallery-item:hover {
  transform: translateY(-3px);

  box-shadow:
    0 15px 38px rgba(77, 61, 50, 0.11);
}


/* =========================================================
   FOTO / VIDEO
========================================================= */

.private-gallery-media {
  position: relative;

  width: 100%;
  aspect-ratio: 4 / 3;

  overflow: hidden;

  background: #f5f2ef;
}

.private-gallery-media img,
.private-gallery-media video {
  width: 100%;
  height: 100%;

  display: block;

  object-fit: cover;
}

.private-gallery-media img {
  transition: transform 0.4s ease;
}

.private-gallery-item:hover
.private-gallery-media img {
  transform: scale(1.025);
}

.private-gallery-media video {
  background: #171717;
}


/* =========================================================
   PIE DE CADA RECUERDO
========================================================= */

.private-gallery-item-footer {
  min-height: 57px;

  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;

  padding: 10px 12px 10px 15px;

  background: #ffffff;
}

.private-gallery-type {
  min-width: 0;

  display: flex;
  align-items: center;
  gap: 6px;

  font-family: Arial, Helvetica, sans-serif;
  font-size: 9px;
  font-weight: 500;

  letter-spacing: 1.2px;
  text-transform: uppercase;

  color: #9a897d;
}

.private-gallery-type i {
  font-size: 16px;

  color: #b59a87;
}


/* =========================================================
   ACCIONES
========================================================= */

.private-gallery-actions {
  flex-shrink: 0;

  display: flex;
  align-items: center;
  gap: 3px;
}

.private-gallery-action {
  width: 35px;
  height: 35px;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  padding: 0;

  background: transparent;

  border: none;
  border-radius: 50%;

  color: #8c7869;

  cursor: pointer;

  transition:
    background 0.2s ease,
    color 0.2s ease,
    transform 0.2s ease;
}

.private-gallery-action i {
  font-size: 18px;
}

.private-gallery-action:hover {
  background: #f5f0ec;

  color: #654f40;

  transform: translateY(-1px);
}

.private-gallery-delete {
  color: #a87570;
}

.private-gallery-delete:hover {
  background: #fbf0ef;

  color: #925c56;
}

.private-gallery-delete:disabled {
  opacity: 0.45;

  cursor: wait;
}


/* =========================================================
   GALERÍA VACÍA
========================================================= */

.private-gallery-empty {
  max-width: 560px;

  margin: 70px auto;
  padding: 55px 30px;

  text-align: center;

  border: 1px solid #eee6e0;
  border-radius: 8px;

  background: #ffffff;
}

.private-gallery-empty > i {
  font-size: 37px;

  color: #c0aa9a;
}

.private-gallery-empty h3 {
  margin: 17px 0 8px;

  font-family: Georgia, "Times New Roman", serif;
  font-size: 23px;
  font-weight: 400;

  color: #65584f;
}

.private-gallery-empty p {
  max-width: 410px;

  margin: 0 auto;

  font-family: Arial, Helvetica, sans-serif;
  font-size: 13px;

  line-height: 1.7;

  color: #93867d;
}


/* =========================================================
   FOOTER DE GALERÍA
========================================================= */

.private-gallery-footer {
  max-width: 1450px;

  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;

  margin: 55px auto 0;
  padding-top: 30px;

  border-top: 1px solid #eee6e0;
}

.private-gallery-footer > div {
  display: flex;
  align-items: center;
  gap: 9px;
}

.private-gallery-footer > div > i {
  font-size: 16px;

  color: #b59a87;
}

.private-gallery-footer p {
  margin: 0;

  font-family: Georgia, "Times New Roman", serif;
  font-size: 14px;
  font-style: italic;

  color: #8a7c72;
}


/* =========================================================
   CERRAR SESIÓN
========================================================= */

.private-gallery-logout {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;

  padding: 10px 17px;

  background: #ffffff;

  border: 1px solid #d8c9be;
  border-radius: 4px;

  font-family: Arial, Helvetica, sans-serif;
  font-size: 9px;
  font-weight: 500;

  letter-spacing: 1.3px;
  text-transform: uppercase;

  color: #7b685b;

  cursor: pointer;

  transition:
    background 0.2s ease,
    border-color 0.2s ease,
    color 0.2s ease;
}

.private-gallery-logout i {
  font-size: 16px;
}

.private-gallery-logout:hover {
  background: #f8f4f1;

  border-color: #c9b6a8;

  color: #5e4e43;
}


/* =========================================================
   SWEETALERT — ESTILO BODA
========================================================= */

.swal2-popup {
  border-radius: 8px !important;

  font-family: Arial, Helvetica, sans-serif !important;
}

.swal2-title {
  font-family: Georgia, "Times New Roman", serif !important;
  font-weight: 400 !important;

  color: #5d5047 !important;
}

.swal2-html-container {
  color: #887970 !important;
}

.swal2-confirm,
.swal2-cancel {
  box-shadow: none !important;
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1100px) {

  .private-gallery-grid {
    grid-template-columns:
      repeat(3, minmax(0, 1fr));
  }

}


/* =========================================================
   TABLET PEQUEÑA
========================================================= */

@media (max-width: 800px) {

  .private-gallery-page {
    padding:
      50px 20px 45px;
  }

  .private-gallery-grid {
    grid-template-columns:
      repeat(2, minmax(0, 1fr));

    gap: 16px;
  }

  .private-gallery-header h1 {
    font-size: 42px;
  }

}


/* =========================================================
   MÓVIL
========================================================= */

@media (max-width: 600px) {

  .private-gallery-page {
    padding:
      42px 14px 35px;
  }

  .private-gallery-header {
    margin-bottom: 35px;
  }

  .private-gallery-date {
    font-size: 9px;
    letter-spacing: 3px;
  }

  .private-gallery-header h1 {
    font-size: 37px;
  }

  .private-gallery-header h1 span {
    margin: 0 3px;
    font-size: 26px;
  }

  .private-gallery-header h2 {
    font-size: 24px;
  }

  .private-gallery-intro {
    padding: 0 10px;
    font-size: 13px;
  }

  .private-gallery-stats {
    margin-top: 28px;
  }

  .private-gallery-stats > div {
    padding: 15px 5px;
  }

  .private-gallery-stats strong {
    font-size: 23px;
  }

  .private-gallery-stats span {
    font-size: 8px;
    letter-spacing: 1px;
  }

  /* Dos recuerdos por fila */
  .private-gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  /* Miniaturas cuadradas */
  .private-gallery-media {
    aspect-ratio: 1 / 1;
  }

  .private-gallery-item {
    border-radius: 6px;
  }

  /* Pie compacto */
  .private-gallery-item-footer {
    min-height: 48px;
    padding: 6px;
  }

  /* Ocultar texto Foto / Video para ganar espacio */
  .private-gallery-type {
    display: none;
  }

  /* Acciones ocupan todo el ancho */
  .private-gallery-actions {
    width: 100%;
    justify-content: space-around;
    gap: 0;
  }

  .private-gallery-action {
    width: 32px;
    height: 32px;
  }

  .private-gallery-action i {
    font-size: 18px;
  }

  .private-gallery-footer {
    flex-direction: column;
    margin-top: 40px;
    text-align: center;
  }

  .private-gallery-footer > div {
    justify-content: center;
  }

  .private-gallery-logout {
    min-height: 43px;
    padding:
      10px 20px;
  }

}


/* =========================================================
   MÓVILES MUY PEQUEÑOS
========================================================= */

@media (max-width: 380px) {

  .private-gallery-page {
    padding-left: 11px;
    padding-right: 11px;
  }

  .private-gallery-header h1 {
    font-size: 33px;
  }

  .private-gallery-item-footer {
    padding-left: 11px;
    padding-right: 8px;
  }

  .private-gallery-type {
    font-size: 8px;
  }

}

/* =========================================================
   PRIVACIDAD Y COOKIES
========================================================= */

.wedding-legal-page {
  min-height: 100vh;
  padding: 65px 20px;

  background: #ffffff;

  color: #554b44;
}

.wedding-legal-container {
  width: 100%;
  max-width: 780px;

  margin: 0 auto;
}

.wedding-legal-header {
  margin-bottom: 50px;

  text-align: center;
}

.wedding-legal-date {
  margin: 0 0 18px;

  font-family: Arial, Helvetica, sans-serif;
  font-size: 10px;

  letter-spacing: 4px;

  color: #a38c7b;
}

.wedding-legal-heart {
  margin-bottom: 10px;

  color: #b59a87;
}

.wedding-legal-heart i {
  font-size: 21px;
}

.wedding-legal-header h1 {
  margin: 0;

  font-family: Georgia, "Times New Roman", serif;
  font-size: 43px;
  font-weight: 400;

  color: #554b44;
}

.wedding-legal-header h1 span {
  margin: 0 6px;

  font-size: 29px;
  font-style: italic;

  color: #b59a87;
}

.wedding-legal-line {
  width: 55px;
  height: 1px;

  margin: 22px auto;

  background: #c9b6a8;
}

.wedding-legal-header h2 {
  margin: 0;

  font-family: Georgia, "Times New Roman", serif;
  font-size: 28px;
  font-weight: 400;

  color: #65584f;
}

.wedding-legal-header > p:last-child {
  max-width: 540px;

  margin: 15px auto 0;

  font-size: 14px;

  line-height: 1.8;

  color: #8a7c72;
}


/* CONTENIDO */

.wedding-legal-content section {
  padding: 26px 0;

  border-bottom: 1px solid #eee7e1;
}

.wedding-legal-content section:first-child {
  padding-top: 0;
}

.wedding-legal-content h3 {
  margin: 0 0 12px;

  font-family: Georgia, "Times New Roman", serif;
  font-size: 19px;
  font-weight: 400;

  color: #6c5a4d;
}

.wedding-legal-content p {
  margin: 0 0 12px;

  font-family: Arial, Helvetica, sans-serif;
  font-size: 14px;

  line-height: 1.85;

  color: #7f736b;
}

.wedding-legal-content p:last-child {
  margin-bottom: 0;
}


/* COOKIE */

.wedding-cookie-info {
  margin-top: 20px;
  padding: 18px 20px;

  background: #faf8f6;

  border: 1px solid #eee5df;
  border-radius: 6px;
}

.wedding-cookie-info strong {
  display: block;

  margin-bottom: 6px;

  font-family: Georgia, "Times New Roman", serif;
  font-size: 16px;
  font-weight: 400;

  color: #6c5a4d;
}

.wedding-cookie-info span {
  display: block;

  font-size: 13px;

  line-height: 1.7;

  color: #897b71;
}


/* VOLVER */

.wedding-legal-back {
  padding-top: 38px;

  text-align: center;
}

.wedding-legal-back a {
  display: inline-flex;
  align-items: center;
  gap: 7px;

  font-size: 11px;

  letter-spacing: 1px;
  text-transform: uppercase;

  color: #8c7869;
}

.wedding-legal-back a:hover {
  color: #5f4e42;
}

.wedding-legal-back i {
  font-size: 16px;
}


/* AVISO EN COMPARTIR */

.share-privacy-notice {
  display: flex;
  align-items: flex-start;
  gap: 9px;

  margin: 20px 0;
  padding: 13px 15px;

  background: #faf8f6;

  border: 1px solid #eee5df;
  border-radius: 6px;
}

.share-privacy-notice > i {
  flex-shrink: 0;

  margin-top: 1px;

  font-size: 17px;

  color: #aa9281;
}

.share-privacy-notice p {
  margin: 0;

  font-size: 11px;

  line-height: 1.6;

  color: #8a7b71;
}

.share-privacy-notice a {
  color: #765f50;

  text-decoration: underline;
  text-underline-offset: 2px;
}


/* FOOTER */

.footer-legal-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;

  margin-top: 10px;

  font-size: 10px;

  letter-spacing: 0.7px;
}

.footer-legal-links a {
  color: #94867d;
}

.footer-legal-links a:hover {
  color: #6f5d51;
}


/* MÓVIL */

@media (max-width: 600px) {

  .wedding-legal-page {
    padding:
      45px 20px 50px;
  }

  .wedding-legal-header {
    margin-bottom: 38px;
  }

  .wedding-legal-header h1 {
    font-size: 36px;
  }

  .wedding-legal-header h1 span {
    font-size: 25px;
  }

  .wedding-legal-header h2 {
    font-size: 24px;
  }

  .wedding-legal-content section {
    padding: 23px 0;
  }

  .wedding-legal-content h3 {
    font-size: 18px;
  }

  .wedding-legal-content p {
    font-size: 13px;

    line-height: 1.8;
  }

}