@import url("https://fonts.googleapis.com/css2?family=Libre+Baskerville:ital,wght@0,400;0,700;1,400&family=Lora:ital,wght@0,400;0,500;1,400&family=Nunito+Sans:wght@300;400;600&display=swap");

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Nunito Sans", sans-serif;
  background: #f5f0e8;
  color: #3d3d3d;
  overflow-x: hidden;
  line-height: 1.6;
}

a,
button {
  outline: none;
  text-decoration: none;
}

section {
  width: 100%;
  max-width: 480px;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
}

img {
  max-width: 100%;
  display: block;
}

/* ============ ANIMATIONS ============ */
@keyframes floatLeaf {
  0%,
  100% {
    transform: translateY(0) rotate(0deg);
    opacity: 0.6;
  }
  50% {
    transform: translateY(-20px) rotate(10deg);
    opacity: 1;
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes sway {
  0%,
  100% {
    transform: rotate(-3deg);
  }
  50% {
    transform: rotate(3deg);
  }
}

/* ============ BOTÓN MÚSICA ============ */
.btn-musica {
  position: fixed;
  bottom: 25px;
  right: 25px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 2px solid #5a7d5a;
  background: rgba(255, 255, 255, 0.9);
  color: #5a7d5a;
  font-size: 18px;
  cursor: pointer;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.btn-musica:hover {
  background: #5a7d5a;
  color: #fff;
  transform: scale(1.05);
}

.btn-musica.playing {
  background: #5a7d5a;
  color: #fff;
  animation: sway 2s ease-in-out infinite;
}

/* ============ HERO ============ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  background: linear-gradient(180deg, #e8e4db 0%, #d4cfc2 50%, #c4b9a8 100%);
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M30 5c-2 8-8 14-16 16 8 2 14 8 16 16 2-8 8-14 16-16-8-2-14-8-16-16z' fill='%235a7d5a' fill-opacity='0.04'/%3E%3C/svg%3E");
  pointer-events: none;
}

.hero-leaves {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  overflow: hidden;
}

.hero-leaves span {
  position: absolute;
  font-size: 20px;
  color: #5a7d5a;
  opacity: 0.4;
  animation: floatLeaf 6s ease-in-out infinite;
}

.hero-leaves span:nth-child(1) {
  left: 10%;
  top: 20%;
  animation-delay: 0s;
}
.hero-leaves span:nth-child(2) {
  left: 80%;
  top: 15%;
  animation-delay: 1s;
}
.hero-leaves span:nth-child(3) {
  left: 20%;
  top: 70%;
  animation-delay: 2s;
}
.hero-leaves span:nth-child(4) {
  left: 70%;
  top: 80%;
  animation-delay: 0.5s;
}
.hero-leaves span:nth-child(5) {
  left: 50%;
  top: 40%;
  animation-delay: 1.5s;
}
.hero-leaves span:nth-child(6) {
  left: 30%;
  top: 30%;
  animation-delay: 2.5s;
}
.hero-leaves span:nth-child(7) {
  left: 85%;
  top: 50%;
  animation-delay: 3s;
}
.hero-leaves span:nth-child(8) {
  left: 15%;
  top: 50%;
  animation-delay: 3.5s;
}

.hero-content {
  position: relative;
  z-index: 10;
  text-align: center;
  padding: 20px;
  animation: fadeInUp 1s ease-out;
}

.hero-join {
  font-family: "Lora", serif;
  font-size: 12px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: #7a8a7a;
  margin-bottom: 30px;
}

.hero-names {
  font-family: "Libre Baskerville", serif;
  font-size: 44px;
  color: #2d3a2d;
  margin-bottom: 15px;
  line-height: 1.1;
}

.and-symbol {
  display: block;
  font-size: 28px;
  color: #5a7d5a;
  margin: 10px 0;
}

.hero-date {
  font-family: "Lora", serif;
  font-size: 16px;
  letter-spacing: 3px;
  color: #5a5a5a;
  margin-bottom: 8px;
}

.hero-venue {
  font-size: 13px;
  color: #7a7a7a;
  margin-bottom: 35px;
  font-style: italic;
}

.hero-btn {
  display: inline-block;
  padding: 14px 35px;
  background: #5a7d5a;
  color: #fff;
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  transition: all 0.3s ease;
  border-radius: 30px;
}

.hero-btn:hover {
  background: #4a6a4a;
  transform: translateY(-2px);
  box-shadow: 0 5px 20px rgba(90, 125, 90, 0.3);
}

/* ============ INTRO ============ */
.intro {
  padding: 80px 20px;
  background: #f5f0e8;
  text-align: center;
}

.intro-container {
  animation: fadeInUp 0.8s ease-out;
}

.intro-text {
  font-family: "Lora", serif;
  font-size: 14px;
  font-style: italic;
  color: #7a8a7a;
  margin-bottom: 20px;
}

.intro-names {
  font-family: "Libre Baskerville", serif;
  font-size: 28px;
  color: #2d3a2d;
  margin-bottom: 10px;
}

.intro-names span {
  color: #5a7d5a;
  margin: 0 8px;
}

.intro-date {
  font-size: 14px;
  color: #6a6a6a;
  letter-spacing: 2px;
}

/* ============ COUNTDOWN ============ */
.countdown {
  padding: 60px 20px;
  background: #e8e4db;
  text-align: center;
}

.countdown-title {
  font-family: "Lora", serif;
  font-size: 13px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #7a8a7a;
  margin-bottom: 30px;
}

.countdown-timer {
  display: flex;
  justify-content: center;
  gap: 12px;
}

.count-block {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.count-box {
  width: 65px;
  height: 65px;
  background: #fff;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
}

.count-box:hover {
  transform: translateY(-3px);
}

.count-number {
  font-family: "Libre Baskerville", serif;
  font-size: 22px;
  color: #5a7d5a;
  font-weight: 700;
}

.count-label {
  font-size: 10px;
  text-transform: uppercase;
  color: #8a8a8a;
  letter-spacing: 1px;
}

/* ============ FOTOS ============ */
.fotos {
  padding: 60px 15px;
  background: #f5f0e8;
}

.fotos-header {
  text-align: center;
  margin-bottom: 30px;
}

.fotos-icon {
  font-size: 28px;
  color: #5a7d5a;
  margin-bottom: 15px;
}

.fotos-title {
  font-family: "Libre Baskerville", serif;
  font-size: 18px;
  color: #2d3a2d;
}

.fotos-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.foto-item {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: 8px;
  cursor: pointer;
}

.foto-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
  filter: sepia(0.1);
}

.foto-item:hover img {
  transform: scale(1.1);
}

.foto-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 8px;
  background: linear-gradient(to top, rgba(45, 58, 45, 0.8), transparent);
  text-align: center;
}

.foto-overlay span {
  font-family: "Lora", serif;
  font-size: 11px;
  color: #fff;
  letter-spacing: 1px;
}

/* ============ CEREMONIA ============ */
.ceremonia {
  padding: 60px 20px;
  background: #e8e4db;
}

.ceremonia-card {
  background: #fff;
  border-radius: 16px;
  padding: 40px 25px;
  text-align: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.ceremonia-icon {
  font-size: 32px;
  color: #5a7d5a;
  margin-bottom: 20px;
}

.ceremonia-titulo {
  font-family: "Lora", serif;
  font-size: 12px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #8a8a8a;
  margin-bottom: 15px;
}

.ceremonia-lugar {
  font-family: "Libre Baskerville", serif;
  font-size: 20px;
  color: #2d3a2d;
  margin-bottom: 8px;
}

.ceremonia-direccion {
  font-size: 13px;
  color: #7a7a7a;
  margin-bottom: 5px;
}

.ceremonia-hora {
  font-size: 15px;
  color: #5a7d5a;
  font-weight: 600;
  margin-bottom: 20px;
}

.ceremonia-btn {
  display: inline-block;
  padding: 10px 25px;
  border: 2px solid #5a7d5a;
  color: #5a7d5a;
  font-size: 12px;
  letter-spacing: 1px;
  border-radius: 25px;
  transition: all 0.3s ease;
}

.ceremonia-btn:hover {
  background: #5a7d5a;
  color: #fff;
}

/* ============ RECEPCION ============ */
.recepcion {
  padding: 60px 20px;
  background: #f5f0e8;
}

.recepcion-card {
  background: #fff;
  border-radius: 16px;
  padding: 40px 25px;
  text-align: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.recepcion-icon {
  font-size: 32px;
  color: #5a7d5a;
  margin-bottom: 20px;
}

.recepcion-titulo {
  font-family: "Lora", serif;
  font-size: 12px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #8a8a8a;
  margin-bottom: 15px;
}

.recepcion-lugar {
  font-family: "Libre Baskerville", serif;
  font-size: 20px;
  color: #2d3a2d;
  margin-bottom: 8px;
}

.recepcion-direccion {
  font-size: 13px;
  color: #7a7a7a;
  margin-bottom: 5px;
}

.recepcion-hora {
  font-size: 15px;
  color: #5a7d5a;
  font-weight: 600;
  margin-bottom: 20px;
}

.recepcion-btn {
  display: inline-block;
  padding: 10px 25px;
  border: 2px solid #5a7d5a;
  color: #5a7d5a;
  font-size: 12px;
  letter-spacing: 1px;
  border-radius: 25px;
  transition: all 0.3s ease;
}

.recepcion-btn:hover {
  background: #5a7d5a;
  color: #fff;
}

/* ============ FRASE ============ */
.frase {
  padding: 70px 20px;
  background: linear-gradient(180deg, #f5f0e8 0%, #d4cfc2 100%);
  text-align: center;
}

.frase-content {
  max-width: 320px;
  margin: 0 auto;
}

.frase-text {
  font-family: "Lora", serif;
  font-size: 18px;
  font-style: italic;
  color: #3d3d3d;
  line-height: 1.7;
  margin-bottom: 20px;
}

.frase-autor {
  font-size: 12px;
  letter-spacing: 2px;
  color: #5a7d5a;
}

/* ============ DRESSCODE ============ */
.dresscode {
  padding: 60px 20px;
  background: #e8e4db;
  text-align: center;
}

.dresscode-container {
  background: #fff;
  border-radius: 16px;
  padding: 40px 25px;
  max-width: 320px;
  margin: 0 auto;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.dresscode-icon {
  font-size: 32px;
  color: #5a7d5a;
  margin-bottom: 20px;
}

.dresscode-titulo {
  font-family: "Lora", serif;
  font-size: 12px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #8a8a8a;
  margin-bottom: 15px;
}

.dresscode-text {
  font-family: "Libre Baskerville", serif;
  font-size: 20px;
  color: #2d3a2d;
  margin-bottom: 10px;
}

.dresscode-note {
  font-size: 13px;
  color: #7a7a7a;
  font-style: italic;
}

/* ============ ITINERARIO ============ */
.itinerario {
  padding: 60px 20px;
  background: #f5f0e8;
}

.itinerario-card {
  background: #fff;
  border-radius: 16px;
  padding: 40px 25px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  text-align: center;
  max-width: 500px;
  margin: 0 auto;
}

.itinerario-title {
  font-family: "Libre Baskerville", serif;
  font-size: 18px;
  color: #2d3a2d;
  text-align: center;
  margin-bottom: 30px;
}

.itinerario-item {
  text-align: left;
  padding: 15px 0;
  border-bottom: 1px dashed #d4cfc2;
}

.itinerario-item:last-child {
  border-bottom: none;
}

.itinerario-content {
  text-align: center;
}

.itinerario-row {
  display: inline-flex;
  align-items: flex-start;
  gap: 15px;
}

.itinerario-row .itinerario-time,
.itinerario-row .itinerario-details {
  width: 120px;
}

.itinerario-time {
  font-family: "Libre Baskerville", serif;
  font-size: 16px;
  color: #5a7d5a;
  font-weight: 700;
  text-align: right;
}

.itinerario-details {
  text-align: left;
}

.itinerario-actividad {
  font-family: "Lora", serif;
  font-size: 15px;
  color: #2d3a2d;
  font-weight: 500;
  margin-bottom: 3px;
}

.itinerario-detalle {
  font-size: 12px;
  color: #8a8a8a;
  font-style: italic;
}

/* ============ GALERIA ============ */
.galeria {
  padding: 60px 20px;
  background: #e8e4db;
}

.galeria-container {
  text-align: center;
}

.galeria-icon {
  width: 50px;
  height: 50px;
  margin: 0 auto 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #5a7d5a;
  font-size: 1.5rem;
}

.galeria-title {
  font-family: "Libre Baskerville", serif;
  font-size: 18px;
  color: #2d3a2d;
  margin-bottom: 10px;
}

.galeria-texto {
  font-size: 13px;
  color: #8a8a8a;
  margin-bottom: 15px;
}

.galeria-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-bottom: 15px;
}

.galeria-item {
  aspect-ratio: 1;
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
}

.galeria-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.galeria-item:hover img {
  transform: scale(1.1);
}

.galeria-empty {
  grid-column: 1 / -1;
  text-align: center;
  color: #8a8a8a;
  padding: 30px;
  font-size: 13px;
}

.galeria-upload {
  margin-top: 15px;
}

.galeria-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 25px;
  background: #5a7d5a;
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.galeria-btn:hover {
  background: #4a6a4a;
  transform: translateY(-2px);
}

.galeria-preview {
  margin-top: 15px;
}

.galeria-preview-grid {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 10px;
}

.preview-item {
  width: 60px;
  height: 60px;
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  position: relative;
}

.preview-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.preview-item::after {
  content: "×";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.5rem;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.preview-item:hover::after {
  opacity: 1;
}

.galeria-preview-buttons {
  display: flex;
  gap: 10px;
  justify-content: center;
}

.galeria-submit {
  padding: 10px 20px;
  background: #5a7d5a;
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.galeria-submit:hover {
  background: #4a6a4a;
}

.galeria-submit:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.galeria-cancel {
  padding: 10px 20px;
  background: transparent;
  color: #8a8a8a;
  border: 1px solid #d4cfc2;
  border-radius: 8px;
  font-size: 12px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.galeria-cancel:hover {
  background: rgba(90, 125, 90, 0.1);
}

/* ============ REGALOS ============ */
.regalos {
  padding: 60px 20px;
  background: #f5f0e8;
  text-align: center;
}

.regalos-container {
  max-width: 320px;
  margin: 0 auto;
}

.regalos-icon {
  font-size: 32px;
  color: #5a7d5a;
  margin-bottom: 20px;
}

.regalos-title {
  font-family: "Libre Baskerville", serif;
  font-size: 18px;
  color: #2d3a2d;
  margin-bottom: 15px;
}

.regalos-texto {
  font-size: 13px;
  color: #6a6a6a;
  line-height: 1.7;
  margin-bottom: 25px;
}

.regalos-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 25px;
  background: #5a7d5a;
  color: #fff;
  font-size: 12px;
  letter-spacing: 1px;
  border-radius: 30px;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

.regalos-btn:hover {
  background: #4a6a4a;
}

/* ============ HASHTAG ============ */
.hashtag {
  padding: 50px 20px;
  background: #e8e4db;
  text-align: center;
}

.hashtag-tag {
  font-family: "Libre Baskerville", serif;
  font-size: 22px;
  color: #5a7d5a;
  letter-spacing: 1px;
}

/* ============ RSVP ============ */
.rsvp {
  padding: 60px 20px;
  background: #f5f0e8;
  text-align: center;
}

.rsvp-title {
  font-family: "Libre Baskerville", serif;
  font-size: 18px;
  color: #2d3a2d;
  margin-bottom: 15px;
}

.rsvp-text {
  font-size: 12px;
  color: #8a8a8a;
  margin-bottom: 25px;
}

.rsvp-texto {
  font-size: 14px;
  color: #3d3d3d;
  margin-bottom: 10px;
}

.rsvp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 35px;
  background: #5a7d5a;
  color: #fff;
  font-size: 13px;
  font-weight: 500;
  border-radius: 30px;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

.rsvp-btn:hover {
  background: #4a6a4a;
  transform: translateY(-2px);
  box-shadow: 0 5px 20px rgba(90, 125, 90, 0.3);
}

.rsvp-form {
  text-align: center;
  margin-top: 20px;
}

.rsvp-cantidad {
  font-size: 13px;
  color: #8a8a8a;
  margin-bottom: 15px;
}

.rsvp-numeros {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-bottom: 10px;
}

.rsvp-numeros button {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid #5a7d5a;
  background: transparent;
  color: #5a7d5a;
  font-size: 1.2rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.rsvp-numeros button:hover {
  background: #5a7d5a;
  color: #fff;
}

.rsvp-numeros span {
  font-size: 2rem;
  color: #5a7d5a;
}

.rsvp-info {
  font-size: 12px;
  color: #8a8a8a;
  margin-bottom: 20px;
}

.rsvp-botones {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
}

.rsvp-botones .rsvp-btn {
  padding: 12px 20px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 8px;
}

.rsvp-botones .rsvp-btn.si {
  background: #10b981;
  color: #fff;
  border: none;
}

.rsvp-botones .rsvp-btn.si:hover {
  background: #059669;
}

.rsvp-botones .rsvp-btn.no {
  background: transparent;
  color: #ef4444;
  border: 1px solid #ef4444;
}

.rsvp-botones .rsvp-btn.no:hover {
  background: #ef4444;
  color: #fff;
}

.rsvp-exito {
  text-align: center;
  padding: 30px;
}

.rsvp-exito i {
  font-size: 3rem;
  color: #10b981;
  margin-bottom: 15px;
  display: block;
}

.rsvp-exito p {
  font-size: 1.1rem;
  color: #5a7d5a;
}

/* ============ FOOTER ============ */
.footer {
  padding: 60px 20px 50px;
  background: #d4cfc2;
  text-align: center;
}

.footer-content {
  max-width: 320px;
  margin: 0 auto;
}

.footer-icon {
  font-size: 28px;
  color: #5a7d5a;
  margin-bottom: 20px;
}

.footer-names {
  font-family: "Libre Baskerville", serif;
  font-size: 24px;
  color: #2d3a2d;
  margin-bottom: 10px;
}

.footer-names span {
  color: #5a7d5a;
  margin: 0 10px;
}

.footer-date {
  font-family: "Lora", serif;
  font-size: 16px;
  letter-spacing: 3px;
  color: #5a7d5a;
  margin-bottom: 15px;
}

.footer-message {
  font-size: 13px;
  font-style: italic;
  color: #6a6a6a;
  margin-bottom: 30px;
}

.footer-markentas {
  margin-top: 40px;
}

.footer-markentas-link {
  display: inline-block;
  padding: 12px 25px;
  background: #5a7d5a;
  color: #fff;
  text-decoration: none;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  border-radius: 25px;
  transition: all 0.3s ease;
}

.footer-markentas-link:hover {
  background: #fff;
  color: #5a7d5a;
  transform: translateY(-2px);
}

.footer-panel {
  margin-top: 25px;
}

.footer-panel-link {
  display: inline-block;
  padding: 10px 20px;
  background: transparent;
  border: 1px solid #5a7d5a;
  color: #5a7d5a;
  text-decoration: none;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  transition: all 0.3s ease;
}

.footer-panel-link:hover {
  background: #5a7d5a;
  color: #fff;
}

/* ============ WHATSAPP FLOAT ============ */
.whatsapp-float {
  position: fixed;
  bottom: 150px;
  right: 25px;
  width: 50px;
  height: 50px;
  background: #25d366;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  text-decoration: none;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.whatsapp-float.visible {
  opacity: 1;
  visibility: visible;
}

.whatsapp-float:hover {
  transform: scale(1.1);
}

/* ============ SALUDOS FLOAT ============ */
.saludos-float {
  position: fixed;
  bottom: 90px;
  right: 25px;
  width: 50px;
  height: 50px;
  background: #5a7d5a;
  color: #fff;
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(90, 125, 90, 0.3);
  z-index: 1000;
  transition: all 0.3s ease;
}

.saludos-float:hover {
  transform: scale(1.1);
  background: #4a6a4a;
}

.saludos-badge {
  position: absolute;
  top: -5px;
  right: -5px;
  background: #ef4444;
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  min-width: 18px;
  height: 18px;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 5px;
}

/* ============ MODAL ============ */
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(45, 58, 45, 0.9);
  z-index: 2000;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal.active {
  display: flex;
  animation: fadeInUp 0.3s ease;
}

.modal-content {
  background: #f5f0e8;
  border-radius: 16px;
  padding: 35px 25px;
  max-width: 350px;
  width: 100%;
  text-align: center;
  position: relative;
}

.modal-cerrar {
  position: absolute;
  top: 15px;
  right: 15px;
  width: 32px;
  height: 32px;
  background: rgba(90, 125, 90, 0.1);
  border: none;
  border-radius: 50%;
  color: #5a7d5a;
  font-size: 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.modal-cerrar:hover {
  background: #5a7d5a;
  color: #fff;
}

.modal-titulo {
  font-family: "Libre Baskerville", serif;
  font-size: 18px;
  color: #2d3a2d;
  margin-bottom: 25px;
}

.modal-title {
  font-family: "Libre Baskerville", serif;
  font-size: 18px;
  color: #2d3a2d;
  margin-bottom: 25px;
}

.modal-datos {
  margin-bottom: 25px;
}

.modal-banco {
  font-size: 14px;
  color: #5a7d5a;
  font-weight: 600;
  margin-bottom: 10px;
}

.modal-alias {
  font-family: "Libre Baskerville", serif;
  font-size: 16px;
  color: #2d3a2d;
  font-weight: 700;
  letter-spacing: 1px;
  margin-bottom: 10px;
  padding: 12px;
  background: #fff;
  border-radius: 8px;
}

.modal-titular {
  font-size: 13px;
  color: #7a7a7a;
}

.modal-btn {
  padding: 12px 35px;
  background: #5a7d5a;
  color: #fff;
  border: none;
  border-radius: 25px;
  font-size: 12px;
  letter-spacing: 1px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.modal-btn:hover {
  background: #4a6a4a;
}

/* ============ MODAL SALUDOS ============ */
.saludos-modal {
  max-height: 80vh;
  display: flex;
  flex-direction: column;
}

.saludos-lista {
  flex: 1;
  overflow-y: auto;
  max-height: 300px;
  margin-bottom: 15px;
}

.saludos-card {
  background: #fff;
  border-radius: 12px;
  padding: 15px;
  margin-bottom: 10px;
  border: 1px solid #d4cfc2;
}

.saludos-card-nombre {
  font-size: 14px;
  font-weight: 600;
  color: #5a7d5a;
  margin-bottom: 5px;
}

.saludos-card-mensaje {
  font-size: 13px;
  color: #3d3d3d;
  line-height: 1.5;
}

.saludos-card-fecha {
  font-size: 11px;
  color: #8a8a8a;
  margin-top: 8px;
}

.saludos-vacio {
  text-align: center;
  color: #8a8a8a;
  padding: 30px;
  font-size: 13px;
}

.saludos-form {
  border-top: 1px solid #d4cfc2;
  padding-top: 15px;
}

.saludos-input,
.saludos-textarea {
  width: 100%;
  padding: 12px 15px;
  background: #fff;
  border: 1px solid #d4cfc2;
  border-radius: 8px;
  color: #3d3d3d;
  font-family: "Nunito Sans", sans-serif;
  font-size: 14px;
  margin-bottom: 10px;
  transition: border-color 0.3s ease;
}

.saludos-input:focus,
.saludos-textarea:focus {
  outline: none;
  border-color: #5a7d5a;
}

.saludos-input::placeholder,
.saludos-textarea::placeholder {
  color: #8a8a8a;
}

.saludos-textarea {
  resize: none;
}

.saludos-btn {
  width: 100%;
  padding: 12px;
  background: #5a7d5a;
  border: none;
  border-radius: 8px;
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.saludos-btn:hover {
  background: #4a6a4a;
}

/* ============ LIGHTBOX ============ */
.lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(245, 240, 232, 0.98);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 2000;
}

.lightbox.active {
  display: flex;
}

.lightbox-cerrar {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 40px;
  height: 40px;
  background: rgba(90, 125, 90, 0.2);
  border: none;
  border-radius: 50%;
  color: #5a7d5a;
  font-size: 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2001;
  transition: all 0.3s ease;
}

.lightbox-cerrar:hover {
  background: rgba(90, 125, 90, 0.4);
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(90, 125, 90, 0.2);
  border: none;
  color: #5a7d5a;
  font-size: 1.5rem;
  padding: 15px 20px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.lightbox-nav:hover {
  background: rgba(90, 125, 90, 0.4);
}

.lightbox-prev {
  left: 20px;
}

.lightbox-next {
  right: 20px;
}

.lightbox-img {
  max-width: 90%;
  max-height: 90%;
  object-fit: contain;
}

/* ============ NOTIFICACIONES ============ */
#notificaciones {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10000;
  display: flex;
  flex-direction: column;
  gap: 10px;
  pointer-events: none;
}

.notificacion {
  position: relative;
  background: linear-gradient(135deg, #f5f0e8 0%, #e8e0d5 100%);
  color: #3d3d3d;
  padding: 18px 32px;
  border-radius: 2px;
  font-family: "Nunito Sans", sans-serif;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 1px;
  box-shadow: 0 15px 50px rgba(0, 0, 0, 0.15);
  animation:
    notifSlideDown 0.5s cubic-bezier(0.4, 0, 0.2, 1),
    notifFadeOut 0.5s ease 2.5s forwards;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  max-width: 90vw;
  min-width: 300px;
  text-align: center;
  border: 1px solid #5a7d5a;
}

.notificacion::before {
  content: "🌿";
  font-size: 14px;
}

.notificacion::after {
  content: "🌿";
  font-size: 14px;
}

.notificacion.exito {
  border-color: #5a7d5a;
}

.notificacion.error {
  border-color: #8b4513;
}

.notificacion i {
  color: #5a7d5a;
  font-size: 16px;
}

.notificacion.exito i {
  color: #5a7d5a;
}

.notificacion.error i {
  color: #cd5c5c;
}

@keyframes notifSlideDown {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes notifFadeOut {
  from {
    opacity: 1;
  }
  to {
    opacity: 0;
  }
}

/* ============ RESPONSIVE ============ */
@media (max-width: 480px) {
  .hero-names {
    font-size: 36px;
  }

  .fotos-grid {
    grid-template-columns: 1fr;
  }

  .galeria-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .whatsapp-float {
    right: 15px;
    bottom: 90px;
  }

  .saludos-float {
    right: 15px;
    bottom: 150px;
  }

  .btn-musica {
    right: 15px;
    bottom: 20px;
  }

  .notificacion {
    min-width: auto;
  }
}
