@import url('https://fonts.googleapis.com/css2?family=Parisienne&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Charm:wght@400;700&display=swap');

*{
  margin: 0;
  padding: 0;
}

html{
  scroll-behavior: smooth;
}

img{
  user-select: none;
  pointer-events: none;
  image-rendering: smooth;
}

:root{
    --paper: #fbfaf7;
    --ink: #2a2a2a;
    --gold: #a88548;
    --gold2: #876c3e;
    --gold3: #c58518;
    --cream:#ffffff;
    --cream2:#f7f3ea;
    --cream3:#ebe5d5;
    --gold-soft: rgba(170, 139, 84, 0.22);
    --line: rgba(138, 106, 51, .45);
  }

  ::-webkit-scrollbar {
    width: 10px;
  }

  ::-webkit-scrollbar-thumb {
      background: var(--gold);
      border-radius: 10px;
  }

  /* Handle on hover */
  ::-webkit-scrollbar-thumb:hover {
    background: var(--gold2); 
  }

  ::-webkit-scrollbar-track {
      background: var(--cream2);
  }

  .w-invite{
    position: relative;
    /* background: radial-gradient(1200px 700px at 50% 20%, #ffffff 0%, var(--paper) 55%, #f7f3ea 100%); */
    /* background-image: url(../img/home.png);
    background-size: cover;
    background-position: center;
    background-attachment: fixed; */
    background: transparent;
    display: grid;
    place-items: center;
    color: var(--ink);
    height: 100vh;
  }

  .w-card{
    z-index: 2;
  }

  #home-background{
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
  }

  .w-card{
    width: min(720px, 100%);
    /* background: linear-gradient(180deg, rgba(255,255,255,.9), rgba(255,255,255,.75)); */
    /* border: 1px solid rgba(138, 106, 51, .12); */
    border-radius: 18px;
    position: relative;
    overflow: hidden;
    /* box-shadow: 0 12px 40px rgba(0,0,0,.06); */
  }

  .w-inner{
    padding: clamp(26px, 5vw, 56px);
    text-align: center;
    position: relative;
    z-index: 1;
    transform: scale(1.25);
  }

  /* Decorative leaves */
  .w-leaf{
    position: absolute;
    width: min(320px, 52vw);
    height: auto;
    opacity: .30;
    stroke: var(--gold);
    stroke-width: 2.2;
    fill: none;
    filter: drop-shadow(0 10px 22px rgba(0,0,0,.05));
    pointer-events: none;
  }
  .w-leaf--tl{ top: -20px; left: -20px; transform: rotate(-4deg); }
  .w-leaf--br{ bottom: -30px; right: -24px; transform: rotate(10deg); opacity: .26; }

  /* Names */
  .w-names{
    margin: 0;
    display: grid;
    gap: 10px;
    justify-items: center;
    font-family: "Parisienne", cursive;;
  }
  .w-name{
    /* font-family: "Great Vibes", cursive; */
    color: var(--gold);
    font-weight: 400;
    line-height: 1;
    letter-spacing: .5px;
    font-size: clamp(52px, 8vw, 96px);
    position: relative;
  }

  .w-name img{
    width: 50px;
    object-fit: contain;
    transform: translateY(9px);
  }

  .w-and{
    font-family: "Cinzel", serif;
    font-style: italic;
    font-weight: 500;
    letter-spacing: .35em;
    color: var(--gold);
    font-size: 1.2em;
    margin-top: 2px;
  }

  /* Intro text */
  .w-intro{
    margin: 18px 0 26px;
    font-family: "Charm", cursive;
    margin-top: 35px;
    font-weight: 300;
    letter-spacing: .02em;
    color: rgba(42,42,42,.78);
    font-size: 1.5em;
    line-height: 1.55;
  }

  /* Date block */
  .w-date{
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 14px;
    margin: 10px 0 14px;
  }

  .w-date-line{
    /* height: 1px; */
    /* background: linear-gradient(90deg, transparent, var(--line), transparent); */
    position: relative;
  }

   .w-date-line::before{
    content: ' ';
    position: absolute;
    margin-top: -10px;
    left: 0;
    height: 2px;
    width: 100%;
    background: linear-gradient(90deg, transparent, var(--line), transparent);
   }

   .w-date-line::after{
    content: ' ';
    position: absolute;
    margin-top: 10px;
    left: 0;
    height: 2px;
    width: 100%;
    background: linear-gradient(90deg, transparent, var(--line), transparent);
   }

  .w-date-stack{
    display: grid;
    justify-items: center;
    gap: 6px;
    padding: 6px 12px;
  }
  .w-month{
    font-family: "Cinzel", serif;
    letter-spacing: .42em;
    font-weight: 500;
    color: var(--gold3);
    font-size: 1.2em;
    text-indent: .42em; /* centers spaced letters */
  }
  .w-day{
    font-family: "Great Vibes", cursive;
    color: var(--gold);
    font-size: 6em;
    line-height: 1;
  }

  /* When row */
  .w-when{
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin: 6px 0 14px;
    position: relative;
  }
  .w-when::before{
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 1px;
    height: 28px;
    background: var(--gold-soft);
  }

  .w-when-label{
    font-family: "Cinzel", serif;
    letter-spacing: .35em;
    font-weight: bolder;
    color: var(--gold3);
    font-size: 1.2em;
    text-indent: .35em;
  }

  /* Year + place */
  .w-year{
    margin-top: 8px;
    font-family: "Cinzel", serif;
    letter-spacing: .5em;
    font-weight: 500;
    color: rgba(42,42,42,.55);
    font-size: clamp(12px, 1.7vw, 14px);
    text-indent: .5em;
  }
  .w-place{
    margin: 14px 0 18px;
    font-style: normal;
    font-family: "Cinzel", serif;
    letter-spacing: .22em;
    font-weight: 400;
    color: rgba(42,42,42,.7);
    font-size: clamp(12px, 1.8vw, 14px);
    line-height: 1.6;
    text-indent: .22em;
  }

  .w-footer{
    font-family: "Great Vibes", cursive;
    color: rgba(138, 106, 51, .95);
    font-size: clamp(20px, 3.4vw, 30px);
    margin-top: 8px;
  }

  /* Small screens tweaks */
  @media (max-width: 420px){
    .w-when{ grid-template-columns: 1fr; }
    .w-when::before{ display:none; }
    .w-date{ 
      transform: scale(.8);
      margin-left: -35px;
    }
    .w-date-line{ 
      /* display:none;  */
    }
  }

  @media (max-width: 900px) {
    .w-name{
      font-size: 3.1em;
    }

    .w-and{
      font-size: 1.8em;
    }

    .w-inner{
      transform: scale(1);
    }
  }


  

  /*///////////////////////////////////////////////// */
  /*              ESTILOS CARRUSEL                    */
  /*///////////////////////////////////////////////// */
  /*///////////////////////////////////////////////// */
  /*              ESTILOS CARRUSEL                    */
  /*///////////////////////////////////////////////// */

  .w-count{
    position: relative;
    padding: clamp(18px, 4vw, 54px) 16px;
    background: radial-gradient(1200px 700px at 50% 20%, #ffffff 0%, var(--paper) 55%, #f7f3ea 100%);
    color: var(--ink);
    font-family: "Inter", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
    padding-top: 20px;
  }

  .w-count__wrap{
    width: min(980px, 100%);
    margin: 0 auto;
  }

  /* TOP TIMER */

  .w-count__timer{
    display: flex;
    justify-content: center;
    align-items: center;
    gap: .5em;
    margin-bottom: 30px;
    font-family: "Cinzel", serif;
    font-weight: 500;
    font-size: 2em;
  }

  .w-time-block{
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 56px;
  }

  .w-label{
    margin-top: 4px;
    font-size: 11px;
    letter-spacing: .18em;
    opacity: .65;
    font-family: "Cinzel", serif;
  }

  .w-colon{
    font-size: 1em;
    opacity: .5;
    margin-top: -22px;
  }

  /* GRID */
  .w-count__grid{
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(14px, 3vw, 22px);
    align-items: stretch;
  }

  /* LEFT TEXT BLOCK */
  .w-count__text{
    background: rgba(255,255,255,.65);
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: clamp(16px, 3.2vw, 22px);
    box-shadow: 0 10px 30px rgba(0,0,0,.05);
    display: flex;
    flex-flow: wrap;
    position: relative;
  }

  .w-count__text img{
    width: 40px;
    object-fit: contain;
    /* position: absolute; */
    margin-left: auto;
    margin-right: auto;
  }

  #foto-3{
    object-position: 0px -260px;
  }

  #foto-4{
    object-position: 0px -250px;
  }
  
  #foto-5{
    object-position: 0px -250px;
  }

  .w-count__text h3{
    margin: 0 0 10px;
    font-family: "Cinzel", serif;
    letter-spacing: .08em;
    color: rgba(42,42,42,.85);
    font-size: 2em;
    text-align: center;
    margin-top: 50px;
  }
  .w-count__text p{
    font-family: 'Charm', sans-serif;
    margin: 0 0 10px;
    line-height: 1.6;
    color: rgba(42, 42, 42, .72);
    font-size: 1.4em;
    display: flex;
    flex-flow: wrap;
    justify-content: center;
    align-items: center;
    text-align: center;
    text-justify: inter-character
  }
  .w-anim{
    margin-top: 14px;
    border-top: 1px dashed var(--gold-soft);
    padding-top: 12px;
    color: var(--gold);
    font-family: "Cinzel", serif;
    letter-spacing: .06em;
    font-weight: 500;
  }

  /* RIGHT CAROUSEL */
  .w-count__carousel{
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid var(--border);
    box-shadow: 0 10px 30px rgba(0,0,0,.05);
    background: rgba(255,255,255,.65);
    min-height: 260px;
  }

  .w-carousel{
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 260px;
    aspect-ratio: 4 / 3; /* se ve bien desktop; en mobile se adapta */
  }

  .w-slide{
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transform: scale(1.02);
    transition: opacity 700ms ease, transform 1200ms ease;
  }
  .w-slide.is-active{
    opacity: 1;
    transform: scale(1.0);
  }
  

  /* RESPONSIVE: stack (como tu dibujo) */
  @media (max-width: 820px){
    .w-count__grid{
      grid-template-columns: 1fr;
    }
    .w-count__carousel{
      min-height: 240px;
    }
    .w-carousel{
      aspect-ratio: 16 / 10;
      min-height: 240px;
    }

    .w-count__text h3{
      margin-top: 0px;
    }

    #foto-3{
      object-position: 0px -190px;
    }

    #foto-4{
      object-position: 0px -200px;
    }
    
    #foto-5{
      object-position: 0px -220px;
    }

  } 


  /*///////////////////////////////////////////////// */
  /*        ESTILOS NUESTROS PADRINOS                 */
  /*///////////////////////////////////////////////// */
  /*///////////////////////////////////////////////// */
  /*        ESTILOS NUESTROS PADRINOS                 */
  /*///////////////////////////////////////////////// */

  .w-roles{
    padding: clamp(26px, 5vw, 64px) 16px;
    /* background: transparent; */
    background-image: linear-gradient(to bottom, rgba(241, 241, 241, 0.85), rgba(250, 250, 250, 0.95)), url('../img/papel.jpg');
    background-position: center;
    background-size: cover;
  }

  .w-roles__wrap{
    width: min(860px, 100%);
    margin: 0 auto;
    text-align: center;
  }

  .w-roles__block{
    padding: clamp(18px, 3.6vw, 28px) clamp(14px, 3vw, 22px);
  }

  .w-roles__block--spaced{
    margin-top: clamp(10px, 2.5vw, 18px);
  }

  .w-roles__title{
    margin: 0 0 14px;
    font-family: "Parisienne", cursive;
    font-weight: 400;
    color: var(--gold);
    font-size: clamp(34px, 5.2vw, 54px);
    line-height: 1.05;
  }

  .w-roles__group{
    display: grid;
    gap: 10px;
    justify-items: center;
    margin: 10px 0;
  }

  .w-roles__icon img{
    height: 80px;
    margin-left: -20px;
    object-fit: contain;
  }

  .w-roles__svg{
    width: 30px;
    height: 30px;
    fill: rgba(42,42,42,.0);
    /* el ícono en verde/oliva como la referencia */
  }
  .w-roles__svg path{
    fill: rgba(74, 96, 62, .92);
  }

  .w-roles__names{
    font-family: "Cinzel", cursive;
    letter-spacing: .08em;
    color: rgba(42,42,42,.72);
    font-size: 1.5em;
    line-height: 1.55;
  }

  .w-roles__names p{
    margin: 0;
  }

  .w-roles__amp{
    font-family: "Cinzel", serif;
    font-style: italic;
    letter-spacing: .25em;
    color: rgba(42,42,42,.55);
    margin: 10px 0;
  }

  .w-roles__divider{
    width: min(380px, 70%);
    height: 1px;
    margin: 18px auto 14px;
    background: linear-gradient(90deg, transparent, rgba(138,106,51,.22), transparent);
  }

  /* Responsive: mantener el look vertical (como la foto) */
  @media (max-width: 520px){
    .w-roles__title{
      font-size: 2.5em;
    }
    .w-roles__divider{ width: 78%; }
  }

  /*///////////////////////////////////////////////// */
  /*              ESTILOS ITINERARIO                  */
  /*///////////////////////////////////////////////// */
  /*///////////////////////////////////////////////// */
  /*              ESTILOS ITINERARIO                  */
  /*///////////////////////////////////////////////// */

.w-itinerary{
  position: relative;
  padding: clamp(30px, 5vw, 70px) 16px;
  /* background-image: url('../img/itinerario.png');
  background-size: cover;
  background-position: center;
  background-attachment: fixed; */
  display: flex;
  padding-bottom: 150px;
  overflow-x: hidden;
}

#itinerary-background{
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
}

.w-itinerary__wrap{
  z-index: 2;
  margin: 0 auto;
  text-align: center;
}

.w-itinerary__title{
  margin: 0 0 26px;
  font-family: "Parisienne", cursive;
  font-weight: 400;
  font-size: clamp(38px, 5.5vw, 58px);
  color: var(--gold);
}

.w-itinerary__item{
  display: grid;
  grid-template-columns: 70px 1fr;
  gap: 16px;
  align-items: center;
  justify-content: center;
  padding: 18px 0;
}

.w-itinerary__icon{
  display: grid;
  place-items: center;
}

.w-itinerary__icon img{
  width: 90px;
  height: 90px;
  object-fit: contain;
  /* opacity: .85; */
}

.w-itinerary__content{
  width: 350px;
  /* text-align: left; */
}

.w-itinerary__content h3{
  margin: 0;
  font-family: "Cinzel", serif;
  letter-spacing: .08em;
  font-weight: 500;
  font-size: clamp(16px, 2.4vw, 20px);
  color: rgba(42,42,42,.85);
}

.w-itinerary__time{
  display: block;
  margin-top: 6px;
  font-family: "Charm", system-ui, sans-serif;
  font-size: 1.3em;
  color: rgba(42,42,42,.65);
}

.w-itinerary__divider{
  width: min(420px, 75%);
  height: 2px;
  margin: 10px auto;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(138,106,51,.25),
    transparent
  );
}

/* Responsive */
@media (max-width: 520px){
  .w-itinerary__item{
    grid-template-columns: 1fr;
    text-align: center;
  }

  .w-itinerary__icon{
    margin-bottom: 6px;
  }

  #iglesia-icon{
    margin-left: 20px;
  }

  .w-itinerary{
    padding-bottom: 240px;
  }

  .w-itinerary__title{
    background-color: rgba(255, 255, 255, 0.4);
    padding: 3px;
    border-radius: 10px;
  }

  #itinerary-background{

  }
}

/*///////////////////////////////////////////////// */
/*              ESTILOS UBICACIÓN                   */
/*///////////////////////////////////////////////// */
/*///////////////////////////////////////////////// */
/*              ESTILOS UBICACIÓN                   */
/*///////////////////////////////////////////////// */

.w-location{
    padding: clamp(30px, 5vw, 70px) 16px;
    background: var(--gold);
    background-image: linear-gradient(to bottom, rgba(168,133,72,0.8), rgba(168,133,72,0.95)), url('../img/gold.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
  }

  .w-location__wrap{
    width: min(980px, 100%);
    margin: 0 auto;
    text-align: center;
    display: flex;
    flex-flow: wrap;
    justify-content: center;
  }

  .w-location__title{
    margin: 0 0 22px;
    display: inline-flex;
    align-items: center;
    gap: 10px;

    font-family: "Parisienne", cursive;
    font-weight: 400;
    color: var(--cream);
    font-size: clamp(38px, 5.5vw, 58px);
  }

  .w-location__pin img{
    width: 50px;
    height: 50px;
    display: block;
    object-fit: contain;
  }

  .w-location__pinSvg{
    width: 28px;
    height: 28px;
  }
  .w-location__pinSvg path:first-child{
    fill: rgba(138,106,51,.22);
    stroke: rgba(138,106,51,.45);
    stroke-width: 1.2;
  }
  .w-location__pinSvg path:last-child{
    fill: rgba(138,106,51,.45);
  }

  .w-location__grid{
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(12px, 2.2vw, 18px);
    align-items: stretch;
  }

  .w-location__card{
    background: #fff;
    border: 1px solid rgba(138,106,51,.14);
    border-radius: 18px;
    box-shadow: 0 10px 30px rgba(0,0,0,.05);
    padding: clamp(14px, 2.6vw, 18px);

    display: grid;
    grid-template-columns: 76px 1fr;
    gap: 14px;
    align-items: center;
    text-align: center;
    width: 350px;
  }


  .w-location__icon{
    width: 76px;
    height: 76px;
    border-radius: 16px;
    background: rgba(138,106,51,.06);
    border: 1px solid rgba(138,106,51,.10);
    display: grid;
    place-items: center;
    overflow: hidden;
    margin-top: -0px;
  }

  .w-location__icon img{
    width: 65px;
    height: 65px;
    object-fit: contain;
    opacity: .9;
  }

  .w-location__name{
    margin: 0 0 6px;
    font-family: "Cinzel", serif;
    letter-spacing: .08em;
    font-weight: 600;
    color: rgba(42,42,42,.85);
    font-size: clamp(15px, 2vw, 18px);
  }

  .w-location__addr{
    margin: 0 0 12px;
    font-family: "Inter", system-ui, sans-serif;
    font-weight: 300;
    line-height: 1.55;
    color: rgba(42,42,42,.7);
    font-size: clamp(13px, 1.8vw, 15px);
  }

  .w-location__btn{
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 14px;
    border-radius: 999px;

    text-decoration: none;
    font-family: "Cinzel", serif;
    letter-spacing: .12em;
    font-weight: bold;
    text-transform: uppercase;
    font-size: 14px;

    border: 1px solid rgba(138,106,51,.32);
    background: rgba(138,106,51,.10);
    color: rgba(42,42,42,.82);

    transition: transform .15s ease, background .15s ease;
    width: 80%;
  }

  .w-location__btn:hover{
    transform: translateY(-1px);
    background: rgba(138,106,51,.14);
  }

  /* Responsive */
  @media (max-width: 980px){
    .w-location__grid{
      grid-template-columns: 1fr;
    }
    .w-location__card{
      grid-template-columns: 76px 1fr;
    }
  }

  @media (max-width: 520px){
    .w-location__card{
      /* grid-template-columns: 1fr; */
      text-align: center;
      justify-items: center;
      width: 90%;
    }
    .w-location__content{
      text-align: center;
    }
    .w-location__btn{
      margin: 0 auto;
    }

    .w-location__icon{
      margin-top: 0px;
    }
  }


/*///////////////////////////////////////////////// */
/*              ESTILOS DRESS CODE                  */
/*///////////////////////////////////////////////// */
/*///////////////////////////////////////////////// */
/*              ESTILOS DRESS CODE                  */
/*///////////////////////////////////////////////// */

  .w-dress{
    position: relative;
    padding: clamp(30px, 5vw, 70px) 16px;
    display: flex;
    overflow-x: hidden;
    padding: clamp(30px, 5vw, 70px) 16px 0px;
    height: 100vh;
  }

  .w-dress__wrap{
    z-index: 2;
    width: min(980px, 100%);
    margin: 0 auto;
    text-align: center;
  }

  #dress-background{
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
  }

  .w-dress__header{
    margin-bottom: 18px;
  }

  .w-dress__title{
    margin: 0 0 6px;
    font-family: "Cinzel", serif;
    letter-spacing: .12em;
    font-weight: 600;
    color: rgba(42,42,42,.85);
    font-size: clamp(20px, 3.2vw, 32px);
  }

  .w-dress__style{
    margin: 0 auto 8px;
    font-family: "Parisienne", cursive;
    font-weight: 400;
    color: var(--gold);
    font-size: clamp(54px, 8vw, 92px);
    line-height: 1;
  }

  .w-dress__hint{
    margin: 0 auto;
    max-width: 60ch;
    font-family: "Inter", system-ui, sans-serif;
    font-weight: 300;
    color: rgba(42,42,42,.72);
    line-height: 1.6;
    font-size: clamp(14px, 2vw, 16px);
  }

  /* Hero (imagen central) */
  .w-dress__hero{
    margin: 18px auto 16px;
    width: min(620px, 100%);
    border-radius: 18px;
   
    /* overflow: hidden; */
  }

  .w-dress__hero img{
    display: block;
    width: 100%;
    height: auto;
    object-fit: contain;
    padding: clamp(12px, 2vw, 18px);
    opacity: 1;
  }

  /* Lista */
  .w-dress__list{
    margin: 0 auto 18px;
    width: min(760px, 100%);
  }

  .w-dress__bullets{
    list-style: none;
    margin: 0;
    padding: 16px 18px;
    background: rgba(255,255,255,.68);
    border: 1px solid rgba(138,106,51,.14);
    border-radius: 18px;
    box-shadow: 0 10px 30px rgba(0,0,0,.05);

    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px 18px;
    text-align: left;
  }

  .w-dress__bullets li{
    position: relative;
    padding-left: 18px;
    font-family: "Cinzel", serif;
    letter-spacing: .06em;
    color: rgba(42,42,42,.78);
    font-size: clamp(13px, 1.9vw, 15px);
    line-height: 1.5;
  }

  .w-dress__bullets li::before{
    content: "";
    position: absolute;
    left: 0;
    top: .55em;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: rgba(138,106,51,.35);
  }

  /* Colores */
  .w-dress__colors{
    margin: 18px auto 0;
    width: min(860px, 100%);
  }

  .w-dress__badge{
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 16px;
    border-radius: 999px;
    border: 1px solid rgba(138,106,51,.28);
    background: rgba(138,106,51,.10);
    font-family: "Cinzel", serif;
    letter-spacing: .16em;
    font-weight: 600;
    font-size: 15px;
    color: rgba(42,42,42,.78);
    margin-bottom: 14px;
  }

  .w-dress__swatches{
    display: flex;
    flex-flow: wrap;
    justify-content: center;
  }

  .w-swatch{
    width: 120px;
    margin: 10px;
    background: rgba(255,255,255,.60);
    border: 1px solid rgba(138,106,51,.14);
    border-radius: 18px;
    padding: 14px 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,.05);
    display: grid;
    justify-items: center;
    gap: 10px;
    backdrop-filter: blur(1px);
  }

  .w-swatch__dot{
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background: var(--swatch);
    border: 1px solid rgba(0,0,0,.4);
  }

  .w-swatch__name{
    font-family: "Cinzel", serif;
    letter-spacing: .10em;
    font-size: 11px;
    color: rgba(42,42,42,.68);
    text-align: center;
    line-height: 1.25;
  }

  /* Responsive */
  @media (max-width: 820px){
    .w-dress__swatches{
      grid-template-columns: repeat(3, 1fr);
    }
  }

  @media (max-width: 560px){
    .w-dress__bullets{
      grid-template-columns: 1fr;
    }
    .w-dress__swatches{
      grid-template-columns: repeat(2, 1fr);
    }
    .w-swatch__dot{
      width: 50px;
      height: 50px;
    }

    .w-dress__title{
      background-color: rgba(255, 255, 255, 0.4);
      padding: 3px;
      border-radius: 10px;
      backdrop-filter: blur(1px);
    }

    #dress-background{
      object-position: -123px;
    }
  }

/*///////////////////////////////////////////////// */
/*              ESTILOS MESA REGALOS                */
/*///////////////////////////////////////////////// */
/*///////////////////////////////////////////////// */
/*              ESTILOS MESA REGALOS                */
/*///////////////////////////////////////////////// */

.w-gifts{
    padding: clamp(30px, 5vw, 70px) 16px;
  }

  .w-gifts__wrap{
    width: min(860px, 100%);
    margin: 0 auto;
    text-align: center;
  }

  .w-gifts__header{
    background: rgba(255,255,255,.68);
    border: 1px solid rgba(138,106,51,.14);
    border-radius: 20px;
    padding: clamp(18px, 3.8vw, 30px);
    box-shadow: 0 12px 40px rgba(0,0,0,.06);
  }

  .w-gifts__icon{
    
  }

  .w-gifts__icon img{
    width: 140px;
    height: 140px;
    object-fit: contain;
    opacity: .9;
  }

  .w-gifts__title{
    margin: 0 0 10px;
    font-family: "Cinzel", serif;
    letter-spacing: .12em;
    font-weight: 600;
    color: rgba(42,42,42,.85);
    font-size: clamp(20px, 3.2vw, 32px);
  }

  .w-gifts__text{
    margin: 0 auto 16px;
    max-width: 62ch;
    font-family: "Charm", system-ui, sans-serif;
    font-weight: 300;
    color: rgba(42,42,42,.72);
    line-height: 1.65;
    font-size: 1.4em;
  }

  .w-gifts__btn{
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 18px;
    border-radius: 999px;

    text-decoration: none;
    font-family: "Cinzel", serif;
    letter-spacing: .12em;
    font-weight: 600;
    font-size: 12px;

    border: 1px solid rgba(138,106,51,.32);
    background: rgba(138,106,51,.10);
    color: rgba(42,42,42,.82);

    transition: transform .15s ease, background .15s ease;
    width: fit-content;
  }

  .w-gifts__btn:hover{
    transform: translateY(-1px);
    background: rgba(138,106,51,.14);
  }

  /* Responsive */
  @media (max-width: 520px){
    .w-gifts__icon{
      
    }
    .w-gifts__icon img{
      width: 120px;
      height: 120px;
    }

  }


/*///////////////////////////////////////////////// */
/*              ESTILOS ASITENCIA                   */
/*///////////////////////////////////////////////// */
/*///////////////////////////////////////////////// */
/*              ESTILOS ASITENCIA                   */
/*///////////////////////////////////////////////// */


.w-rsvp{
    padding: clamp(30px, 5vw, 72px) 16px;
    background: var(--cream2);
  }

  .w-rsvp__wrap{
    width: min(1080px, 100%);
    margin: 0 auto;
  }

  .w-rsvp__title{
    text-align: center;
    margin: 0 0 22px;
    font-family: "Parisienne", cursive;
    font-weight: 400;
    color: var(--gold);
    font-size: clamp(42px, 6vw, 64px);
    line-height: 1.05;
  }
  .w-rsvp__title span{
    display: inline-block;
  }

  .w-rsvp__grid{
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    gap: clamp(16px, 3vw, 28px);
    align-items: start;
  }

  /* LEFT CARD */
  .w-rsvp__card{
    background-image: url('../img/invitation.jpg');
    background-size: 100% 100%;
    background-position: center center;
    background-repeat: no-repeat;
    border: 1px solid rgba(138,106,51,.14);
    border-radius: 20px;
    box-shadow: 0 12px 40px rgba(0,0,0,.06);
    overflow: hidden;
    display: grid;
    grid-template-rows: auto 1fr auto;
    width: 450px;
    height: 700px;
  }

  .w-rsvp__cardTop,
  .w-rsvp__cardBottom{
    height: 120px;
    background: rgba(138,106,51,.05);
    display: grid;
    place-items: center;
  }
  .w-rsvp__cardTop img,
  .w-rsvp__cardBottom img{
    width: 100%;
    height: 100%;
    object-fit: cover; /* si pones PNG con transparencia, cámbialo a contain */
    opacity: .95;
  }

  .w-rsvp__cardBody{
   
    padding: 24px 22px;
    text-align: center;
    display: grid;
    /* gap: 12px; */
    align-content: center;
  }

  .w-rsvp__names{
    display: grid;
    gap: 6px;
    justify-items: center;
    margin-top: 130px;
  }
  .w-rsvp__name1,
  .w-rsvp__name2{
    font-family: "Parisienne", cursive;
    font-weight: 400;
    font-size: clamp(44px, 5.5vw, 64px);
    line-height: 1;
    color: var(--gold)
  }
  .w-rsvp__amp{
    font-family: "Cinzel", serif;
    font-style: italic;
    letter-spacing: .35em;
    text-indent: .35em;
    color: var(--gold);
    font-weight: 500;
    font-size: 2em;
  }

  .w-rsvp__for{
    margin-top: 6px;
    font-family: "Cinzel", serif;
    letter-spacing: .12em;
    color: rgba(42,42,42,.55);
    font-size: 13px;
  }

  .w-rsvp__qty{
    font-family: "Cinzel", serif;
    font-weight: 600;
    color: rgba(74, 96, 62, .92);
    font-size: clamp(40px, 6vw, 64px);
    line-height: 1;
  }

  .w-rsvp__people{
    font-family: "Cinzel", serif;
    letter-spacing: .10em;
    color: rgba(42,42,42,.62);
    font-size: 14px;
  }

  .w-rsvp__note{
    margin-top: 12px;
    font-family: "Inter", system-ui, sans-serif;
    font-weight: 300;
    color: rgba(42,42,42,.62);
    line-height: 1.55;
    font-size: 14px;
  }

  #familia{
    font-family: 'Cinzel', cursive;
    font-size: 1.1em;
    font-weight: bold;
    color: rgba(74, 96, 62, .92);
  }
  
  #no-niños{
    margin-bottom: 40px;
  }

  /* RIGHT FORM */
  .w-rsvp__formWrap{
    padding-top: 10px;
  }

  .w-rsvp__lead{
    text-align: center;
    margin: 0 0 16px;
    font-family: "Cinzel", serif;
    letter-spacing: .10em;
    color: rgba(74, 96, 62, .85);
    font-weight: 500;
    font-size: clamp(14px, 2.1vw, 18px);
    line-height: 1.55;
  }

  .w-rsvp__form{
    background: rgba(255,255,255,.62);
    border: 1px solid rgba(138,106,51,.14);
    border-radius: 20px;
    padding: clamp(16px, 3vw, 22px);
    box-shadow: 0 12px 40px rgba(0,0,0,.06);
  }

  .w-rsvp__fieldset{
    border: 0;
    padding: 0;
    margin: 0 0 18px;
  }

  .w-rsvp__legend{
    font-family: "Inter", system-ui, sans-serif;
    font-weight: 600;
    color: rgba(42,42,42,.75);
    margin-bottom: 10px;
    font-size: 14px;
  }

  .w-rsvp__option{
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 10px;
    border-radius: 12px;
    transition: background .15s ease;
    cursor: pointer;
    user-select: none;
  }
  .w-rsvp__option:hover{
    background: rgba(138,106,51,.06);
  }
  .w-rsvp__option input{
    width: 20px;
    height: 20px;
    accent-color: rgba(74, 96, 62, .92);
  }
  .w-rsvp__option span{
    font-family: "Inter", system-ui, sans-serif;
    font-weight: 300;
    color: rgba(42,42,42,.78);
    font-size: 20px;
  }

  .w-rsvp__field{
    margin: 0 0 14px;
  }

  .w-rsvp__label{
    display: block;
    margin: 0 0 8px;
    font-family: "Inter", system-ui, sans-serif;
    font-weight: 600;
    color: rgba(42,42,42,.75);
    font-size: 14px;
  }

  .w-rsvp__textarea{
    width: 95%;
    max-height: 250px;
    resize: vertical;
    min-height: 140px;
    padding: 12px 12px;
    /* border-radius: 14px; */
    border: 1px solid rgba(138,106,51,.18);
    background: rgba(255,255,255,.75);
    font-family: "Inter", system-ui, sans-serif;
    font-weight: 300;
    color: rgba(42,42,42,.78);
    outline: none;
    position: relative;
    overflow: hidden;
  }
  .w-rsvp__textarea:focus{
    border-color: rgba(138,106,51,.32);
    box-shadow: 0 0 0 3px rgba(138,106,51,.10);
  }

  @media (max-width:500px) {
    .w-rsvp__lead{
      font-size: 1.4em;
    }
  }

  /* BORDE DORADO*/
  /* BORDE DORADO*/

  




  /* BORDE DORADO*/
  /* BORDE DORADO*/

  .w-rsvp__btn{
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 18px;
    border-radius: 40px;

    border: 1px solid rgba(138,106,51,.32);
    background: rgba(138,106,51,.10);
    color: rgba(42,42,42,.82);

    font-family: "Cinzel", serif;
    letter-spacing: .12em;
    font-weight: 600;
    font-size: 12px;

    cursor: pointer;
    transition: transform .15s ease, background .15s ease;
  }
  .w-rsvp__btn:hover{
    transform: translateY(-1px);
    background: rgba(138,106,51,.14);
  }

  /* Responsive */
  @media (max-width: 980px){
    .w-rsvp__grid{
      grid-template-columns: 1fr;
    }
    .w-rsvp__card{
      min-height: 460px;
      width: 95%;
    }
  }

  @media (max-width: 520px){
    .w-rsvp__cardTop,
    .w-rsvp__cardBottom{
      height: 95px;
    }
    .w-rsvp__btn{
      width: 100%;
    }

    .w-rsvp__title{
      font-size: 2.3em;
    }
    
    .w-rsvp__names{
      margin-top: 170px;
    }

    .w-rsvp__for{
      font-size: 1.3em;
    }

    .w-rsvp__qty{
      font-size: 3.3em;
    }

    .w-rsvp__people{
      font-size: 18px;
    }
  }


  /* BORDE DORADO*/
/* BORDE DORADO*/

/* 1) Borde oro animado (fallback incluido) */
.w-rsvp__textarea{
  /* Mantén lo tuyo; solo ajusta lo necesario para el borde */
  border: 2px solid transparent; /* reemplaza tu borde actual */
  /* border-radius: 14px; */

  /* Gradiente metálico en el borde */
  border-image: conic-gradient(
    from var(--goldAngle),
    #6b4d1a 0%,
    #f6e6a8 10%,
    #b8872a 22%,
    #fff6cf 32%,
    #9a6a16 45%,
    #f2d27a 58%,
    #c7922b 70%,
    #fff1be 82%,
    #7a5314 100%
  ) 1;

  /* Para que el pseudo-elemento se posicione bien */
  position: relative;

  /* Importante: no recortar el brillo externo */
  overflow: visible;

  /* Un poquito de glow sutil constante */
  box-shadow: 0 0 0 2px rgba(138,106,51,.10), 0 10px 30px rgba(0,0,0,.05);
}

/* 2) Brillo que “barre” el borde (sheen) */
.w-rsvp__textarea::before{
  content: "";
  position: absolute;
  inset: -6px;                 /* sale un poquito para el glow */
  border-radius: 18px;         /* un poco más grande que el textarea */
  pointer-events: none;

  /* Capa de brillo: una franja diagonal que se mueve */
  background:
    linear-gradient(
      120deg,
      transparent 0%,
      rgba(255, 248, 214, 0.0) 35%,
      rgba(255, 248, 214, 0.55) 50%,
      rgba(255, 248, 214, 0.0) 65%,
      transparent 100%
    );

  /* Solo “afecta” el borde: usamos máscara */
  -webkit-mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;

  padding: 4px; /* grosor del “borde” para la máscara */

  filter: blur(.2px);
  opacity: .85;

  animation: wGoldSheen 2.7s linear infinite;
}

/* 3) Partículas doradas muy sutiles alrededor (opcional bonito) */
.w-rsvp__textarea::after{
  content: "";
  position: absolute;
  inset: -10px;
  border-radius: 20px;
  pointer-events: none;
  opacity: .55;

  background:
    radial-gradient(circle at 12% 18%, rgba(255,215,120,.35) 0 2px, transparent 3px),
    radial-gradient(circle at 88% 26%, rgba(255,215,120,.30) 0 1.6px, transparent 3px),
    radial-gradient(circle at 20% 86%, rgba(255,215,120,.28) 0 1.8px, transparent 3px),
    radial-gradient(circle at 92% 78%, rgba(255,215,120,.32) 0 2.2px, transparent 3px),
    radial-gradient(circle at 52% 8%,  rgba(255,235,180,.22) 0 1.6px, transparent 3px),
    radial-gradient(circle at 6% 60%,  rgba(255,235,180,.20) 0 1.5px, transparent 3px),
    radial-gradient(circle at 96% 52%, rgba(255,235,180,.22) 0 1.5px, transparent 3px);

  filter: blur(.1px);
  animation: wGoldSpark 3.2s ease-in-out infinite;
}

/* 4) En focus: más brillo */
.w-rsvp__textarea:focus{
  box-shadow:
    0 0 0 3px rgba(138,106,51,.12),
    0 0 22px rgba(255, 220, 140, .22),
    0 12px 34px rgba(0,0,0,.06);
}

/* Animaciones */
@property --goldAngle {
  syntax: "<angle>";
  inherits: false;
  initial-value: 0deg;
}

@keyframes wGoldSpin{
  0%   { --goldAngle: 0deg; }
  100% { --goldAngle: 360deg; }
}

/* El borde girando (oro “vivo”) */
.w-rsvp__textarea{
  animation: wGoldSpin 5.5s linear infinite;
}

/* Brillo que recorre */
@keyframes wGoldSheen{
  0%   { transform: translateX(-20%) translateY(0); opacity: .35; }
  40%  { opacity: .85; }
  100% { transform: translateX(20%) translateY(0); opacity: .35; }
}

/* Partículas “respiran” */
@keyframes wGoldSpark{
  0%, 100% { opacity: .35; transform: scale(1); }
  50%      { opacity: .62; transform: scale(1.01); }
}

/* Fallback para navegadores sin conic-gradient / border-image moderno */
@supports not (border-image: conic-gradient(from 0deg, #000, #fff) 1){
  .w-rsvp__textarea{
    border: 2px solid rgba(138,106,51,.40);
  }
  .w-rsvp__textarea::before{
    display: none;
  }
}

/* Accesibilidad: reduce motion */
@media (prefers-reduced-motion: reduce){
  .w-rsvp__textarea,
  .w-rsvp__textarea::before,
  .w-rsvp__textarea::after{
    animation: none !important;
  }
}

/* BORDE DORADO*/
/* BORDE DORADO*/


.w-final{
    padding: 0px 20px;
    text-align: center;
  }

  .w-final__wrap{
    height: 200px;
    width: min(900px, 100%);
    margin: 0 auto;
    display: grid;
    justify-items: center;
    
  }

  .w-final__title{
    margin: 0;
    margin-top: 20px;
    font-family: "Cinzel", serif;
    letter-spacing: .08em;
    font-weight: 700;
    color: rgba(42,42,42,.88);
    font-size: clamp(28px, 5vw, 46px);
  }

  .w-final__icon{
    width: min(220px, 56vw);
    aspect-ratio: 1 / 1;
    border-radius: 18px;
    /* display: grid; */
    place-items: center;
    overflow: hidden;
  }

  .w-final__icon img{
    width: 70%;
    height: 70%;
    object-fit: contain;
    opacity: .95;
  }

  @media (max-width: 520px){
    .w-final__icon{
      width: min(200px, 72vw);
      border-radius: 16px;
    }
  }


  /* FOOTER */

  .w-footer{
    padding: 26px 16px 34px;
    text-align: center;
    position: relative;
  }

  .w-footer__wrap{
    width: min(980px, 100%);
    margin: 0 auto;
    display: grid;
    gap: 10px;
    justify-items: center;
  }

  .w-footer__main{
    margin: 0;
    font-family: "Cinzel", serif;
    letter-spacing: .06em;
    color: rgba(42,42,42,.70);
    font-weight: 500;
    font-size: 20px;
    line-height: 1.55;
  }

  .w-footer__by{
    margin: 0;
    font-family: "Inter", system-ui, sans-serif;
    font-weight: 300;
    font-size: 15px;
    letter-spacing: .08em;
    color: rgba(42,42,42,.28);
    position: absolute;
    bottom: 10px;
    right: 10px;
    opacity: 0.9; 
  }

  .w-footer__by a{
    color: rgba(42,42,42,.28); 
    text-decoration: none;
  }

  .w-footer__by a:hover{
    text-decoration: underline;
  }

  #footer-felicidades{
    font-size: 22px;
    margin-top: 20px;
  }

  @media (max-width: 520px){
    .w-footer{
      padding-bottom: 28px;
    }
    .w-footer__by{
      font-size: 13px;
      color: rgba(42,42,42,.24);
    }

    #footer-felicidades{
      font-size: 20px;
    }
  }

  #top{
    position: fixed;
    bottom: 35px;
    right: 15px;
    height: 40px;
    width: 40px;
    border-radius: 40px;
    /* display: flex; */
    display: none;
    justify-content: center;
    align-items: center;
    background-color: var(--gold);
    cursor: pointer;
    color: white;
    font-size: 2.2em;
    z-index: 5;
    user-select: none;
  }

  #top:hover{
    background-color: var(--gold2);
  }

  #top i{
    margin-top: 3px;
  }

  #rsvpThanks{
    width: 100%;
    height: 500px;
    background: white;
    display: flex;
    justify-content: center;
    align-content: center;
    align-items: center;
    border-radius: 10px;
    font-family: "Parisienne", cursive;
    font-weight: 400;
    color: var(--gold);
    text-align: center;
    font-size: 2.2em;
  }