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

body {
background: #F7F4EE;
color: #2D2D2D;
font-family: 'Montserrat', sans-serif;
line-height: 1.7;
}

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

section {
padding: 80px 24px;
}

/* ==========================
PORTADA
========================== */

.hero {
text-align: center;
padding: 80px 24px;
position: relative;
}

.dog {
    position: absolute;
    width: 100px;
    z-index: 1;
}

.dog-left {
    top: 20px;
    left: 20px;
}

.dog-right {
    top: 20px;
    right: 20px;
}
.dog {
    position: absolute;
    width: 210px;
    z-index: 1;
}

.dog-left {
    top: 20px;
    left: 20px;
}

.dog-right {
    top: 20px;
    right: 20px;
}

.hero-announcement {
    color: #91A9D0;
    letter-spacing: 2px;
    font-size: 1.25rem;
    margin-bottom: 15px;
    font-weight: 500;
}
.hero h1 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 5rem;
    font-weight: 500;
    margin-bottom: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
}

.hero-and {
    font-size: 0.45em;
    font-weight: 400;
    line-height: 1;
}

.hero-photo {
width: 85%;
max-width: 350px;
margin: 0 auto 30px;
border-radius: 18px;
}

.date {
    color: #7D93B5;
    letter-spacing: 2px;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.95rem;
}

/* ==========================
TITULOS
========================== */

h2 {
font-family: 'Cormorant Garamond', serif;
font-size: 2.8rem;
font-weight: 500;
text-align: center;
margin-bottom: 30px;
}

/* ==========================
TEXTO SECCIONES
========================== */

.section-text {
text-align: center;
max-width: 650px;
margin: 0 auto 40px;
}

/* ==========================
CEDRAMÁN
========================== */

.place-gallery {
display: flex;
gap: 16px;
overflow-x: auto;
scroll-snap-type: x mandatory;
padding-bottom: 10px;
justify-content: center;
}

.place-gallery img {
width: 320px;
height: 220px;
object-fit: cover;
border-radius: 16px;
flex-shrink: 0;
scroll-snap-align: center;
}

/* ==========================
MONTAÑA
========================== */

.mountain-divider {
padding-top: 10px;
padding-bottom: 10px;
}

.mountain-divider img {
width: 260px;
margin: auto;
opacity: 0.85;
}

/* ==========================
EL GRAN DÍA
========================== */

.event-card {
background: white;
max-width: 500px;
margin: auto;
padding: 35px;
border-radius: 18px;
text-align: center;
}

.event-card p {
margin-bottom: 15px;
}

.btn-location {
display: inline-block;
margin-top: 10px;
padding: 14px 26px;
background: #7D93B5;
color: white;
text-decoration: none;
border-radius: 999px;
}

/* ==========================
CUENTA ATRÁS
========================== */

.countdown-section {
background: white;
}

#countdown {
display: flex;
justify-content: center;
gap: 30px;
}

.countdown-item {
text-align: center;
}

.countdown-item span {
display: block;
font-size: 2.8rem;
font-weight: 600;
color: #7D93B5;
}

/* ==========================
FORMULARIO
========================== */

#rsvp-form {
background: white;
max-width: 700px;
margin: auto;
padding: 30px;
border-radius: 18px;
}

.rsvp-subtitle {
text-align: center;
margin-bottom: 30px;
}

.form-group {
margin-bottom: 18px;
}

.form-group label {
display: block;
margin-bottom: 8px;
}

input,
select,
textarea {
width: 100%;
padding: 14px;
border: 1px solid #D8D2C7;
border-radius: 10px;
font-size: 1rem;
font-family: inherit;
}

textarea {
resize: vertical;
}

.btn-submit {
    width: auto;
    display: block;
    margin: 0 auto;
    border: none;
    background: #91A9D0;
    color: white;
    padding: 16px 28px;
    border-radius: 999px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 500;
}

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

.carousel {
display: flex;
gap: 16px;
overflow-x: auto;
scroll-snap-type: x mandatory;
padding-bottom: 10px;
}

.carousel img {
width: 280px;
height: 380px;
object-fit: cover;
border-radius: 16px;
flex-shrink: 0;
scroll-snap-align: center;
}

/* ==========================
MENSAJE CONFIRMACIÓN
========================== */

.confirmation-message {
text-align: center;
padding: 40px 20px;
}

.confirmation-message h3 {
font-family: 'Cormorant Garamond', serif;
font-size: 2.2rem;
margin-bottom: 10px;
}

.heart {
font-size: 3rem;
margin-bottom: 15px;
}

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

footer {
text-align: center;
padding: 80px 20px;
}

.footer-mountain {
width: 260px;
margin: 0 auto 20px;
}

footer h3 {
font-family: 'Cormorant Garamond', serif;
font-size: 2rem;
margin-bottom: 10px;
}

.mountain-divider {
padding-top: 10px;
padding-bottom: 10px;
}

.mountain-divider img {
width: 260px;
margin: auto;
opacity: 0.85;
}

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

@media (max-width: 768px) {

```
.hero h1 {
    font-size: 3.8rem;
}

h2 {
    font-size: 2.2rem;
}

.hero-photo {
    max-width: 320px;
}

.place-gallery img {
    width: 280px;
    height: 200px;
}
```

}
.hero-subtitle {
    margin-top: 15px;
    font-style: italic;
    color: #91A9D0;
}

.place-subtitle {
    margin-top: 20px;
    font-style: italic;
    color: #91A9D0;
}
@media (max-width: 768px) {

    .dog {
        width: 110px;
    }

    .dog-left {
        top: 50px;
        left: 10px;
    }

    .dog-right {
        top: 50px;
        right: 30px;
    }

}