/* ========================================
   MOMENTO MIO
   EXPRESS BODA — ESTILO BASE
======================================== */

:root {
  --fondo: #f7f3ef;
  --fondo-secundario: #ffffff;
  --texto: #2d2926;
  --texto-suave: #6f675f;
  --acento: #8c6f62;
  --linea: #ded6cf;
  --ancho: 920px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  font-family: Georgia, "Times New Roman", serif;
  background: var(--fondo);
  color: var(--texto);
  line-height: 1.6;
}

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

a {
  color: inherit;
  text-decoration: none;
}

.contenedor {
  width: min(88%, var(--ancho));
  margin: 0 auto;
}

.modulo {
  padding: 88px 0;
  text-align: center;
}

.modulo h2 {
  margin-bottom: 24px;
  font-size: clamp(30px, 5vw, 48px);
  font-weight: 400;
}

.modulo p {
  font-size: 18px;
  color: var(--texto-suave);
}


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

.portada {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--fondo);
}

.portada .contenedor {
  max-width: 760px;
}

.tipo-evento {
  margin-bottom: 22px;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 12px !important;
  font-weight: 700;
  letter-spacing: 5px;
  text-transform: uppercase;
  color: var(--acento) !important;
}

.portada h1 {
  margin-bottom: 26px;
  font-size: clamp(52px, 10vw, 92px);
  font-weight: 400;
  line-height: 1;
}

.fecha-principal {
  margin-bottom: 26px;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 15px !important;
  font-weight: 700;
  letter-spacing: 4px;
  color: var(--texto) !important;
}

.portada > .contenedor > p:last-child {
  max-width: 620px;
  margin: 0 auto;
  font-size: clamp(18px, 3vw, 23px);
  font-style: italic;
}


/* ========================================
   PORTADA CON FOTOGRAFÍA
======================================== */

.portada-con-imagen {
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  color: #ffffff;
}

.portada-con-imagen .tipo-evento,
.portada-con-imagen .fecha-principal,
.portada-con-imagen p {
  color: #ffffff !important;
}

.portada-con-imagen h1 {
  color: #ffffff;
  text-shadow: 0 2px 22px rgba(0, 0, 0, 0.18);
}

.portada-con-imagen .contenedor {
  position: relative;
  z-index: 1;
}


/* ========================================
   CUENTA REGRESIVA
======================================== */

.cuenta-regresiva {
  background: var(--fondo-secundario);
}

#contador {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin-top: 30px;
}

.contador-item {
  min-width: 90px;
}

.contador-item strong {
  display: block;
  font-family: Arial, Helvetica, sans-serif;
  font-size: clamp(34px, 7vw, 58px);
  font-weight: 400;
  line-height: 1;
}

.contador-item span {
  display: block;
  margin-top: 10px;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--texto-suave);
}


/* ========================================
   UBICACIÓN
======================================== */

.ubicacion h3 {
  margin-bottom: 12px;
  font-size: 24px;
  font-weight: 400;
}

.ubicacion p {
  margin-bottom: 28px;
}

.ubicacion a,
.rsvp a {
  display: inline-block;
  padding: 14px 28px;
  border: 1px solid var(--acento);
  border-radius: 999px;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  transition: 0.2s ease;
}

.ubicacion a:hover,
.rsvp a:hover {
  background: var(--acento);
  color: #ffffff;
}


/* ========================================
   DRESS CODE
======================================== */

.dress-code {
  background: var(--fondo-secundario);
}

.dress-code p {
  font-size: 24px;
  font-style: italic;
}


/* ========================================
   RSVP
======================================== */

.rsvp {
  padding-bottom: 110px;
}

.rsvp p {
  margin-bottom: 28px;
}


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

@media (max-width: 700px) {

  .modulo {
    padding: 64px 0;
  }

  .portada {
    min-height: 100svh;
    padding: 60px 0 50px;
  }

  /*
     Ajuste específico para fotografías verticales.
     Desplaza el encuadre hacia abajo para conservar
     a los protagonistas dentro de la pantalla.
  */

  .portada-con-imagen {
    background-position: center 72%;
  }

  .portada .contenedor {
    width: 86%;
    max-width: 430px;
  }

  .tipo-evento {
    margin-bottom: 24px;
    font-size: 11px !important;
    letter-spacing: 5px;
  }

  .portada h1 {
    margin-bottom: 26px;
    font-size: clamp(46px, 13vw, 60px);
    line-height: 0.98;
  }

  .fecha-principal {
    margin-bottom: 28px;
    font-size: 13px !important;
    letter-spacing: 3px;
  }

  .portada > .contenedor > p:last-child {
    max-width: 350px;
    font-size: 18px;
    line-height: 1.5;
  }

  #contador {
    gap: 18px;
  }

  .contador-item {
    min-width: 70px;
  }

  .contador-item strong {
    font-size: 36px;
  }

  .ubicacion a,
  .rsvp a {
    padding: 13px 22px;
    font-size: 12px;
  }
}
