:root {
  --bg: #f7f5f2;
  --paper: #ffffffcc;
  --ink: #283038;
  --gold: #b68c57;
  --muted: #6b7280;
}

* { box-sizing: border-box; 
}

html, body { 
  height: 100%; 
  margin: 0; 
}

body {
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, "Helvetica Neue", Arial, "Noto Sans";
  color: var(--ink);
}

p {
  font-size: 15px;
  margin: 10px 0 16px;
  line-height: 1.6;   
  text-align: center;
}

h3{
  text-align: center;
}
/*Home Page*/
.hero-slideshow {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
}

.hero-slideshow img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 2s ease-in-out;
}

.hero-slideshow img.active {
  opacity: 1;
}

.home-title{
  font-family: "Cormorant Garamond", serif;
  font-weight: 600;
  font-size: clamp(40px, 7.5vw, 72px);
  line-height: 1.05;
  margin: 10px 0 6px;
  color: #1e2329;
}

.versiculo{
  font-style: italic;
  font-size: 18px;
  color: #445059;
  margin: 25px 0 20px;
}

.pais{
  display: grid;
  grid-template-columns: 1fr auto 1fr; 
  justify-items: center;
  align-items: center;
  gap: 6px 18px;               
  text-align: center;         
}

.pais-title{
  grid-column: 1 / -1;          
  margin-bottom: 6px;
}

.pais .left{
  justify-self: end;
  text-align: right;
}

.pais .right{
  justify-self: start;
  text-align: left;
}

.pais .bar{
  font-weight: 600;             
}

.subtitle {
  color: var(--muted);
  margin: 0 5 22;
  font-size: 16px;
  text-align: center;
}

.subinfo{
  color:#374151;
  font-size: clamp(15px, 2.6vw, 17px);
  margin: 0 0 14px;
}

.wrap {
  min-height: 100%;
  display: grid;
  place-items: center;
  padding: 80px 16px;
}

.card {
  position: relative;
  width: min(760px, 100%);
  background: linear-gradient(180deg, #fff, #fff8f2);
  border-radius: 28px;
  padding: 56px 28px;
  box-shadow:
    0 10px 30px rgba(0,0,0,.06),
    inset 0 0 0 1px rgba(182,140,87,.18);
  overflow: hidden;
}

/* Decorative circles */
.card:before, .card:after {
  content: "";
  position: absolute;
  width: 420px; height: 420px;
  background:
    radial-gradient(closest-side, rgba(182,140,87,.14), rgba(182,140,87,0)),
    conic-gradient(from 90deg at 50% 50%,
      transparent 0 25%, rgba(182,140,87,.06) 0 50%,
      transparent 0 75%, rgba(182,140,87,.06) 0);
  border-radius: 50%;
  filter: blur(2px);
  pointer-events: none;
  z-index: 0;
}

.card:before { 
  top: -180px; 
  left: -160px; 
}

.card:after  { 
  bottom: -200px; 
  right: -140px; 
}

header {
  text-align: center;
  position: relative;
  z-index: 1;
}

.monogram {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  letter-spacing: .2em;
  color: var(--gold);
  font-family: "Cormorant Garamond", serif;
  font-weight: 600;
  text-transform: uppercase;
  font-size: 14px;
  padding: 6px 12px;
  border: 1px solid rgba(182,140,87,.35);
  border-radius: 999px;
  background: #fff8;
  backdrop-filter: blur(4px);
}

h1#titulo {
  font-family: "Cormorant Garamond", serif;
  font-weight: 600;
  font-size: 44px;
  line-height: 1.1;
  margin: 18px 0 6px;
  color: #1e2329;
}

h5#titulo {
  font-family: Cursive;
  font-weight:100;
  font-size: 30px;
  line-height: 1.1;
  margin: 6px 0 18px;
  color: #1e2329;
}

.amp { 
  color: var(--gold); 
  font-weight: 700; 
  padding: 0 .2em; 
}

.divider {
  width: 120px; 
  height: 1px; 
  margin: 22px auto 28px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.detail {
  display: flex;
  text-align: center;
  align-items: center;
  gap: 10px;
  font-size: 16px;
  color: #374151;
}

.detail strong {
  font-family: "Cormorant Garamond", serif;
  letter-spacing: .02em;
  font-weight: 600;
  color: #111827;
}

.details-icons { 
  margin: 10px 0 24px; 
}

.details-icons .section-title { 
  margin-bottom: 16px; 
}

.agenda p {
  font-size: 13px;
  color: var(--muted);
}

.visually-hidden{
  position: absolute !important;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);  
  white-space: nowrap;
  border: 0;
}

.icons-grid{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  justify-items: center;
  align-items: start;
  margin-bottom: 10px;
}

.icon-card{
  text-align:center;
  padding: 6px 8px;
}

.ico{
  width: 84px; 
  height: 84px;
  color: #173A47;               
  display:block; 
  margin: 0 auto 14px;
}

.icon-card path[fill="currentColor"]{
  color: var(--gold);          
}

.icon-text{
  font-family: "Cormorant Garamond", serif;
  font-size: 18px;
  color: #2f3a45;
  margin: 0;
}

.btn {
  display: inline-block;
  padding: 10px 20px;
  border-radius: 25px;
  background: #e63946;
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

.btn:hover {
  background: #b02a37;
  transform: scale(1.05);
}

.btn.alt { 
  font-size: 15px;
  background: #457b9d; 
}

.btn.alt:hover { 
  background: #1d3557; 
}

.cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin: 26px 0 6px;
}

.countdown-grid {
  display: flex;
  justify-content: center;
  gap: 18px;
  margin: 30px 0;
}

.cd-item {
  text-align: center;
  background: #fff;
  border: 2px solid var(--gold);
  border-radius: 16px;
  padding: 14px 18px;
  min-width: 70px;
  box-shadow: 0 4px 12px rgba(0,0,0,.05);
}

.cd-value {
  font-size: 26px;
  font-weight: 600;
  color: var(--ink);
}

.cd-label {
  font-size: 13px;
  color: var(--muted);
  margin-top: 4px;
  letter-spacing: .5px;
}

.timeline {
  position: relative;
  margin: 30px auto;
  padding: 0;
  list-style: none;
  text-align: center;
}

.tl-item {
  position: relative;
  margin-bottom: 50px;
  display: flex;
  flex-direction: column;
  align-items: center; /* centers content horizontally */
}

.tl-icon {
  background: #fff;
  border: 2px solid var(--gold);
  border-radius: 50%;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: var(--gold);
  margin-bottom: 10px;
}

.tl-content h3 {
  margin: 0;
  font-family: "Cormorant Garamond", serif;
  font-size: 18px;
}

.tl-content p {
  margin: 4px 0 0 0;
  font-size: 14px;
  color: var(--muted);
}

.tl-desc { 
  font-size: 15px; 
  color: #374151; 
}

.gift-grid{
  display:grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap:18px;
  margin:20px 0;
}

.gift-card{
  position:relative;
  background:#fff;
  border:1px dashed var(--gold);
  border-radius:14px;
  padding:16px 14px 18px;
  text-align:center;
  box-shadow:0 4px 10px rgba(0,0,0,.05);
  transition:transform .2s ease, box-shadow .2s ease;
}

.gift-card:hover{
  transform:translateY(-4px);
  box-shadow:0 10px 18px rgba(0,0,0,.08);
}

.price-badge{
  position:absolute; 
  top:10px; 
  right:10px;
  background: #153945;
  color:#fff; 
  font-weight:700; 
  font-size:13px;
  padding:6px 10px; 
  border-radius:999px;
  box-shadow: 0 6px 12px rgba(0,0,0,.08);
}

.gift-emoji { 
  font-size:28px; 
  display:block; 
  margin:8px 0 6px;
}

.gift-card h3{
  font-family:"Cormorant Garamond", serif;
  font-size:18px; margin:6px 0 4px; color:var(--ink);
}

.gift-note{ 
  font-size:13px; 
  color:#6b7280; 
  margin:0 
}

.iban {
  display: flex;
  justify-content: center;
  align-items: center;
  background: rgba(182,140,87,.10);
  border: 1px dashed var(--gold);
  padding: 15px 20px;
  border-radius: 10px;
  font-weight: 600;
  letter-spacing: .5px;
  margin: 6px auto;
  width: fit-content;
}

.gifts-note{ 
  color:#4b5563; 
  font-size:14px; 
  margin-top:10px 
}

.section-title {
  font-family: "Cormorant Garamond", serif;
  font-size: 28px;
  font-weight: 600;
  text-align: center;
  margin-bottom: 20px;
  color: var(--gold);
}

footer {
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid rgba(182,140,87,.3);
  text-align: center;
  color: #6b7280;
  font-size: 14px;
  position: relative;
  z-index: 1;
}

.rsvp-deadline { 
  margin-top: 6px; 
  color: #374151; 
}

.note { 
  margin-top: 10px; 
  font-size: 13px; 
  color: #6b7280; 
}

a { 
  color: inherit; 
}

.btn.contact {
  background: #25d366;
  font-size: 14px;
  padding: 8px 16px;
  margin-top: 10px;
}

.btn.contact:hover { 
  background: #128c7e; 
}

.fancy-sep{
  display: block;
  clear: both;
  width: 100%;
  text-align: center;
  font-family: "Cormorant Garamond", serif;
  font-size: 22px;
  font-weight: 600;
  color: var(--gold);
  letter-spacing: .15em;
  margin: 40px auto;    
  user-select: none;
}

.rsvp-form {
  display: grid;
  gap: 16px;
  text-align: left;
}

.rsvp-form label {
  font-family: "Cormorant Garamond", serif;
  font-weight: 600;
  color: #374151;
}

.rsvp-form input,
.rsvp-form textarea {
  width: 100%;
  padding: 10px 14px;
  border-radius: 8px;
  border: 1px solid #ccc;
  font-size: 15px;
  font-family: Inter, sans-serif;
  resize: vertical;
}

.rsvp-form input:focus,
.rsvp-form textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 2px rgba(182,140,87,.25);
}

fieldset { 
  border: none; 
  margin: 20px 0; 
  padding: 0; 
}

legend { 
  font-weight: 500; 
  margin-bottom: 8px; 
}

input[type="radio"] {
  appearance: none;
  -webkit-appearance: none;
  width: 18px; height: 18px;
  border: 2px solid var(--ink, #283038);
  border-radius: 50%;
  position: relative;
  margin-right: 10px;
  cursor: pointer;
  vertical-align: middle;
  outline: none;
}

input[type="radio"]:checked::before {
  content: "";
  display: block;
  width: 10px; height: 10px;
  background-color: var(--gold, #b68c57);
  border-radius: 50%;
  position: absolute;
  top: 3px; left: 3px;
}

fieldset label {
  display: flex;
  align-items: center;
  margin-bottom: 10px;
  cursor: pointer;
  font-size: 16px;
  gap: 6px;
}

/*Alojamento Page*/
.hotel-image {
  display: block;       
  margin: 20px auto;    
  width: 100%;
  max-width: 600px;
  height: auto;
  border-radius: 16px;
  box-shadow: 0 6px 16px rgba(0,0,0,.1);
}

/*Responsive screens*/
@media (max-width: 480px){
  .card{
    padding: 28px 16px;
    border-radius: 22px;
  }

  .fancy-sep{
    font-size: 18px;
    letter-spacing: .12em;
    margin: 20px auto;
  }

  .countdown-grid{
    display: grid !important;               
    grid-template-columns: repeat(2, 1fr);    
    gap: 12px;
    margin: 20px 0;
  }

   .cd-item{
    min-width: 0;                            
    padding: 12px 10px;
    border-radius: 14px;
    min-height: 88px;                        
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;               
    overflow: hidden;                         
  }

  .cd-value{
    font-size: 22px;
    line-height: 1.05;
  }
  
  .cd-label{
    font-size: 12px;
    white-space: nowrap;                   
  }

  .cd-value, .cd-label{
    word-break: keep-all;
    white-space: nowrap;
  }

  .cta{
    gap: 10px;
    margin: 18px 0 8px;
  }

  .btn{
    width: 100%;
    padding: 12px 16px;
    font-size: 16px;}
}