*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --cream: #eeede7;
  --dark:  #1a1613;
  --gold:  #c9a96e;
  --muted: #7a6e62;
  --light-cream: #faf7f2;

  --font-titulo: 'Playfair Display SC', serif;
  --font-cursiva: 'Italianno', cursive;
  --font-texto: 'Cormorant Garamond', serif;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-texto);
  font-weight: 400;
  background: var(--cream);
  color: var(--dark);
  overflow-x: hidden;
}

/* ── HERO ── */
.hero {
  position: relative;
  width: 100%;
  height: 100svh;
  min-height: 500px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 60px;
}

.hero-img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center top;
  filter: brightness(0.6);
}

.hero-placeholder {
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, #2a2218 0%, #1a1008 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.08);
  font-size: 13px;
  letter-spacing: 4px;
  text-transform: uppercase;
}

.hero-logo {
  width: clamp(280px, 60vw, 620px);
  max-width: 90vw;
  display: block;
  margin: 0 auto;
}

.hero-text {
  position: relative;
  text-align: center;
  color: white;
}

.hero-names {
  font-family: var(--font-titulo);
  font-weight: 300;
  font-size: clamp(52px, 12vw, 110px);
  line-height: 0.9;
  letter-spacing: 4px;
  text-transform: uppercase;
}

.hero-ampersand {
  font-family: var(--font-cursiva);
  font-size: clamp(50px, 10vw, 90px);
  color: var(--gold);
  display: block;
  line-height: 1.2;
  margin: 8px 0;
}

section { width: 100%; }

/* ── INTRO ── */
.intro {
  background: var(--cream);
  padding: 80px 24px 70px;
  text-align: center;
  max-width: 1000px;
  margin: 0 auto;
}

.script-title {
  font-family: var(--font-cursiva);
  font-size: clamp(38px, 8vw, 58px);
  color: var(--dark);
  margin-bottom: 28px;
  margin-bottom: 90px;
}

.intro-text {
  font-family: var(--font-texto);
  font-size: 22px;
  line-height: 1.85;
  color: black;
  letter-spacing: 0.9px;
  margin-bottom: 36px;
}

.date-line {
  font-family: var(--font-titulo);
  font-size: clamp(18px, 5vw, 38px);
  color: black;
  font-weight: bold;
  margin-top: 90px;
  margin-bottom: 90px;
}

.photo-band {
  width: 100%;
  height: clamp(240px, 45vw, 720px);
  overflow: hidden;
  position: relative;
  background-color: #0d0b06;

  display: flex;
  justify-content: center;
  align-items: center;     
}

.inside-photo-band {
  width: 50%; 
  height: 80%;

  display: flex;
  justify-content: center;
  align-items: center;
}

.inside-photo-band img {
  max-width: 100%;
  max-height: 100%;
  object-fit: cover;
}


.photo-band img {
  width: 100%; height: 100%;
  filter: grayscale(20%);
}

.photo-placeholder {
  width: 100%; height: 100%;
  background: #2a2218;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.1);
  font-size: 12px;
  letter-spacing: 4px;
  text-transform: uppercase;
}

/* ── ITINERARIO ── */
.itinerary {
  background: var(--cream);
  padding: 80px 24px;
  text-align: center;
}

.section-label {
  font-family: var(--font-texto);
  font-size: 11px;
  letter-spacing: 5px;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 10px;
}

.section-title {
  font-family: var(--font-titulo);
  text-transform: uppercase;
  line-height: 1.05;
  margin-bottom: 6px;
  font-size: 34px;
  font-weight: 500;
}

.section-script {
  font-family: var(--font-cursiva);
  font-size: clamp(26px, 5vw, 38px);
  color: black;
  margin-bottom: 50px;
}

.itinerary-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 15px;
  max-width: 1200px;
  margin: 0 auto 50px;
}

.itinerary-card {
  background: #c1beb7;
  padding: 36px 24px 28px;
  text-align: center;
  transition: box-shadow 0.2s;
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  height: 100%;    
}
.itinerary-card:hover { box-shadow: 0 8px 32px rgba(0,0,0,0.07); }

.card-icon {
  font-size: 28px;
  margin-bottom: 14px;
  display: block;
}

.card-icon img {
  width: 90px;   /* ajusta el tamaño */
  height: auto;  /* mantiene proporción */
}

.card-event {
  font-family: var(--font-titulo);
  font-size: 22px;
  font-weight: bolder;
  margin-bottom: 10px;
  color: var(--dark);
}

.card-time {
  font-family: var(--font-titulo);
  font-size: 30px;
  font-weight: bolder;
  color: var(--dark);
  margin-bottom: 36px;
  margin-top: 36px;
}

.card-venue {
  font-family: var(--font-texto);
  font-size: 15px;
  line-height: 1.7;
  color: var(--dark);
  letter-spacing: 0.3px;
  margin-bottom: 18px;
  font-weight: 500;
}

.card-venue span {
  font-weight: bolder;
}

.dress-code {
  border: 2px solid var(--dark)!important;
}

.card-formal {
  font-family: var(--font-cursiva);
  font-size: 42px;
  font-weight: 500;
  font-style: italic;
  letter-spacing: 3px;
  color: var(--dark);
}

.card-code-title{
  font-family: var(--font-titulo);
  font-size: 29px;
  font-weight: bolder;
  text-transform: uppercase;
  margin-bottom: 10px;
  color: var(--dark);
}

/* ── Dress code ── */
.dress-card {
  background: var(--dark);
  color: white;
  padding: 36px 24px 28px;
  border: 1px solid rgba(201,169,110,0.2);
}
/* ── LINK BOTÓN ── */
.link-btn {
  display: inline-block;
  font-family: var(--font-texto);
  font-size: 20px;
  color: var(--dark);
  font-weight: bold;
  text-decoration: none;
  padding: 10px 30px;
  border-radius: 40px;
  transition: color 0.2s, border-color 0.2s;
  background-color: var(--cream);
  margin-top: auto;
  letter-spacing: 2px;
}

.link-btn-solid {
  display: inline-block;
  font-family: var(--font-texto);
  font-size: 10px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--dark);
  background: var(--gold);
  text-decoration: none;
  padding: 10px 22px;
  border-radius: 2px;
  transition: background 0.2s;
  margin-top: 6px;
}
.link-btn-solid:hover { background: #b8975a; }

/* ── REGALOS ── */
.regalos {
  background: black;
  color: white;
  padding: 80px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}

.regalos-inner {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 40px;
  max-width: 1000px;
  width: 100%;
  align-items: center;
  margin-bottom: 40px;
  margin-top: 40px;
}

.regalos-text .section-title {
  color: white;
  font-size: clamp(22px, 4vw, 32px);
  text-align: center;
  text-transform: none;
  font-family: var(--font-texto);
  font-weight: 400;
}
.regalos-text p {
  font-family: var(--font-texto);
  font-size: 19px;
  line-height: 1.9;
  margin: 20px 0;
  color: white;
  text-align: center;
}

.regalos-text p strong { color: white; font-weight: 500; }

.regalos-stores {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 24px;
  justify-content: center;
}

.store-link {
  font-family: var(--font-texto);
  letter-spacing: 3px;
  color: white;
  text-decoration: none;
  padding: 10px 18px;
  border-radius: 2px;
  transition: all 0.2s;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.store-link img {
  width: 120px;
  height: auto;
  display: block;
  margin-top: auto;
}

.store-link span {
  display: block;
  text-align: center;
  color: white;
  font-size: 20px;
  letter-spacing: 2px;
  text-decoration: underline;
  margin-top: auto;
}

.regalos-photo {
  width: 100%;
  aspect-ratio: 3/4;
  overflow: hidden;
  border-radius: 2px;
}
.regalos-photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: grayscale(15%);
}
.regalos-photo .photo-placeholder {
  aspect-ratio: 3/4;
  height: 100%;
}

/* ── HOTELES ── */
.hoteles {
  background: var(--cream);
  padding: 80px 24px;
  text-align: center;
}

.hotel-card {
  max-width: 320px;
  margin: 40px auto 0;
  text-align: center;
}

.hotel-illustration {
  font-size: 64px;
  margin-bottom: 16px;
  display: block;
}

.hotel-illustration img {
  width: 100%;  
  height: auto;  
}

.hotel-name {
  font-family: var(--font-titulo);
  font-size: 34px;
  margin-bottom: 16px;
  font-weight: bolder;
}

.link-btn-solid-hotel {
  display: inline-block;
  font-family: var(--font-texto);
  font-size: 29px;
  color: var(--dark);
  text-decoration: underline;
  padding: 0px 22px;
  border-radius: 2px;
  margin-top: 6px;
}

/* ── CONFIRMACIÓN ── */
.confirmacion {
  position: relative;
  text-align: center;
  overflow: hidden;
  background-color: black;
}

.confirmacion-bg {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}

.confirmacion-bg-placeholder {
  height: 350px;
  width: 100%;
  inset: 0;
  background-image: url(images/seccion_7.jpg);
  background-size: cover;
  background-position: center;
  filter: grayscale(15%);
}

.confirmacion-content {
  position: relative;
  color: white;
  max-width: 1000px;
  margin: 0 auto;
}

.section-title-confirmacion{
  font-family: var(--font-titulo);
  font-size: clamp(32px, 1vw, 58px);
  font-weight: 700;
  line-height: 1.05;
  margin-bottom: 30px;
  margin-top: 15px;
}

.confirmacion-content .section-label { color: rgba(255,255,255,0.5); }
.confirmacion-content .section-title { color: white; }

.confirmacion-text {
  font-family: var(--font-texto);
  font-size: 18px;
  line-height: 1.9;
  color: white;
  margin-bottom: 40px;
  margin-bottom: 40px;
}

.deadline {
  font-family: var(--font-texto);
  font-size: 18px;
  color: white;
  margin: 20px 0 36px;
}

.script-signature {
  font-family: var(--font-cursiva);
  font-size: clamp(34px, 7vw, 52px);
  color: white;
  margin-top: 16px;
}

/* ── POST-BODA ── */
.postboda {
  background: var(--light-cream);
  padding: 80px 24px;
  text-align: center;
}

.postboda-icon {
  display: block;
  margin-bottom: 20px;
  padding: 30px;
}

.postboda-icon img{
  width: 300px;  
  height: auto;
}

.postboda-venue {
  font-family: var(--font-titulo);
  font-size: clamp(28px, 5vw, 42px);
  color: black;
  font-weight: bolder;
  margin: 16px 0 8px;
}

.postboda-details {
  font-family: var(--font-texto);
  font-size: 23px;
  line-height: 2;
  color: black;
  font-weight: bolder;
  margin-bottom: 24px;
}

.link-btn-postboda {
  display: inline-block;
  font-family: var(--font-texto);
  font-size: 25px;
  color: var(--dark);
  font-weight: bold;
  text-decoration: underline;
}

/* ── SCROLL ── */
::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 10px;
}

::-webkit-scrollbar-thumb {
  background: #888;
  border-radius: 10px;
  transition: background 0.3s ease;
}

::-webkit-scrollbar-thumb:hover {
  background: #555;
}

/* ── RESPONSIVE ── */
@media (max-width: 640px) {
  .regalos {
    padding: 0px 0px;
  }
  .regalos-inner { grid-template-columns: 1fr; }
  .regalos-text .section-title { text-align: center; }
  .regalos-stores { justify-content: center; }
  .itinerary-grid { grid-template-columns: 1fr; gap: 8px; }
  .confirmacion-bg-placeholder {
    background-position: center;
    background-size: cover;
    background-image: url(images/seccion_7_movil.jpg);
  }
  .inside-photo-band {width: 80%;}
  .script-signature{
    margin-bottom: 10px;
    font-size: clamp(48px, 7vw, 52px);
  }
  .section-script{
    margin-bottom: 30px;
    margin-top: 30px;
  }
  .card-formal {
    margin-bottom: 30px;
    margin-top: 30px;
  }
  .intro {
    padding: 40px 24px 0px;
  }
  .intro-text {
    margin-bottom: 16px;
  }
  .date-line {
    margin-top: 30px;
    margin-bottom: 30px;
  }
  .script-title {
    margin-bottom: 20px;
    font-weight: 500;
    font-size: clamp(48px, 6vw, 48px);
  }
  .itinerary-grid {
    gap: 25px;
    margin: 0 50px 50px;

  }
  .card-event {
    font-size: 15px;
  }
  .card-time {
    font-size: 30px;
    margin-bottom: 15px;
    margin-top: 5px;
  }
  .card-venue span {
    font-weight: bolder;
  }
  .card-icon img {
    width: 55px;   /* ajusta el tamaño */
    height: auto;  /* mantiene proporción */
  }
  .itinerary-card {
    padding: 20px 24px 28px;
  }
  .link-btn {
    color: black;
    font-weight: bolder;
    letter-spacing: 0px;
  }
  .regalos-text .p {
    padding: 0 20px;
  }
  .regalos-text{
    padding: 0 20px;
  }
  .regalos-text p {
    font-family: var(--font-texto);
    font-size: 15px;
    line-height: 1.1;
    margin: 20px 0;
    color: white;
    text-align: center;
  }
  .regalos-inner {
    margin-bottom: 0px;
  }

  .confirmacion-content {
    padding: 30px 20px;
  }

  .section-title-confirmacion{
    font-size: clamp(22px, 4vw, 48px);
    letter-spacing: 1px;
    font-weight: 400;
    margin-bottom: 50px;
    margin-top: 0px;
  }

  .confirmacion-text{
    font-family: var(--font-texto);
    font-size: 15px;
    line-height: 1.1;
    color: white;
    margin-bottom: 25px;
  }
  .postboda {padding: 20px 20px;}
  .postboda-icon img{
    width: 230px;  
    height: auto;
  }

  .itinerary {
    background: var(--cream);
    padding: 25px 24px;
    text-align: center;
  }

  .hoteles {
    padding: 50px 24px;
  }

  .section-script {
    font-size: 46px;
    margin-bottom: 20px;
  }
}