:root {
  --bg: #fffaf4;
  --paper: #fffdf9;
  --text: #4b352b;
  --muted: #9b8175;
  --accent: #c79a86;
  --line: #eaded6;
  --dark: #2d2926;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: #eee;
  font-family: Montserrat, Arial, sans-serif;
  color: var(--text);
}

.phone {
  max-width: 430px;
  margin: auto;
  background: linear-gradient(#fffaf4, #fffdf9);
  min-height: 100vh;
  overflow: hidden;
  box-shadow: 0 0 30px #0001;
}

.section {
  position: relative;
  min-height: 100svh;
  padding: 58px 28px 38px;
  text-align: center;
  border-bottom: 1px solid #f2e8e1;
}

.hero {
  padding-top: 44px;
}

.monogram {
  font-family: "Cormorant Garamond", serif;
  font-size: 24px;
  line-height: .75;
  color: var(--accent);
  margin-bottom: 20px;
}

.monogram span {
  font-size: 32px;
}

.oval {
  width: 78%;
  aspect-ratio: 3 / 4;
  margin: 0 auto 26px;
  border-radius: 50% / 42%;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: 0 14px 40px #6d4d3d1c;
  background: #eee;
}

.oval img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

h1 {
  font: 600 46px / 1.02 "Cormorant Garamond", serif;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin: 0;
  color: #8d5f4d;
}

h1 em {
  font: 400 24px "Great Vibes", cursive;
  text-transform: none;
}

.script {
  font: 42px "Great Vibes", cursive;
  color: #c59383;
  margin: 8px 0 4px;
}

.date-line {
  text-transform: uppercase;
  letter-spacing: 1.4px;
  font: 600 14px Montserrat;
  margin: 18px 0;
  color: #a17565;
}

.lead {
  font: 16px / 1.7 "Cormorant Garamond", serif;
  max-width: 320px;
  margin: 0 auto 20px;
}

.down {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  margin: 10px auto 24px;
  border: 1px solid var(--line);
  border-radius: 50%;
  text-decoration: none;
  color: #ad8677;
  font-size: 28px;
}

.countdown {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  padding: 18px 8px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fffefa;
  box-shadow: 0 10px 30px #b8958012;
}

.countdown b {
  display: block;
  font: 600 27px "Cormorant Garamond", serif;
  color: #9b6655;
}

.countdown span {
  text-transform: uppercase;
  font-size: 9px;
  letter-spacing: .8px;
  color: var(--muted);
}

h2 {
  font: 42px / 1.05 "Great Vibes", cursive;
  font-weight: 400;
  margin: 0 0 10px;
  color: #5b4a42;
}

.divider {
  display: flex;
  align-items: center;
  gap: 12px;
  justify-content: center;
  color: #b49a8b;
  margin: 12px 0 24px;
}

.divider::before,
.divider::after {
  content: "";
  width: 70px;
  height: 1px;
  background: var(--line);
}

.calendar-card,
.add-card {
  background: #fffefb;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 20px;
  margin: 0 0 18px;
  box-shadow: 0 15px 35px #b8958011;
}

.week,
.days {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 8px;
}

.week span {
  font-size: 11px;
  color: #9b8175;
  font-weight: 600;
}

.days span {
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  font: 500 14px Montserrat;
}

.days .empty {
  opacity: 0;
}

.days .active {
  background: var(--accent);
  color: white;
  box-shadow: 0 5px 15px #c79a8670;
}

.add-card h3 {
  font: 600 25px "Cormorant Garamond", serif;
  margin: 0;
  color: #8e6252;
}

.add-card p {
  font: 14px / 1.6 "Cormorant Garamond", serif;
}

.cal-buttons {
  display: flex;
  gap: 10px;
  justify-content: center;
}

.cal-buttons a,
.place a {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 12px 20px;
  text-decoration: none;
  color: #8e6252;
  background: white;
  font-size: 13px;
}

.main-btn {
  width: 100%;
  border: 0;
  border-radius: 12px;
  padding: 16px 18px;
  background: linear-gradient(135deg, #d1a895, #b99786);
  color: #fff;
  text-transform: uppercase;
  letter-spacing: .8px;
  font-weight: 600;
}

.timeline {
  position: relative;
  text-align: left;
  margin-top: 20px;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 42px;
  top: 45px;
  bottom: 45px;
  width: 1px;
  background: var(--line);
}

.timeline article {
  position: relative;
  min-height: 128px;
  padding-left: 98px;
}

.timeline i {
  position: absolute;
  left: 0;
  top: 4px;
  width: 84px;
  height: 84px;
  border-radius: 50%;
  background: #f5eee9;
  display: grid;
  place-items: center;
  font-style: normal;
  font-size: 30px;
  border: 1px solid var(--line);
}

.timeline b {
  font: 700 20px "Cormorant Garamond", serif;
}

.timeline h3 {
  font: 600 24px / 1.08 "Cormorant Garamond", serif;
  margin: 5px 0;
}

.timeline p {
  font: 14px / 1.55 Montserrat;
  margin: 0;
  color: #7f6b60;
}

.dress p {
  font: 17px / 1.7 "Cormorant Garamond", serif;
}

.palette {
  display: flex;
  justify-content: center;
  gap: 14px;
  margin: 26px 0 38px;
}

.palette span {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid #e7ddd7;
}

.palette span:nth-child(1) {
  background: #ffffff;
}

.palette span:nth-child(2) {
  background: #1f1f1f;
}

.palette span:nth-child(3) {
  background: #e8d8c3;
}

.palette span:nth-child(4) {
  background: #d8eaf7;
}

.palette span:nth-child(5) {
  display: none;
}

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

.look {
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 18px;
  background: #fff;
}

.look:first-letter {
  font-size: 34px;
}

.look b {
  display: block;
  text-transform: uppercase;
  font-size: 13px;
  color: #9a6c5b;
}

.look small {
  display: block;
  font: 15px / 1.45 "Cormorant Garamond", serif;
}

.place {
  text-align: left;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  padding: 16px;
  margin-bottom: 12px;
}

.place b {
  display: block;
  text-transform: uppercase;
  font-size: 13px;
  color: #9a6c5b;
}

.place span {
  display: block;
  font: 20px "Cormorant Garamond", serif;
  margin: 7px 0 13px;
}

.mapbox {
  height: 330px;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--line);
  position: relative;
  background: #eee;
  margin-top: 18px;
}

.mapbox iframe {
  width: 100%;
  height: 100%;
  border: 0;
  filter: saturate(.7) contrast(.95);
}

.pins {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  display: grid;
  gap: 10px;
}

.pins span {
  background: #fffdf9e8;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 11px;
  font: 15px "Cormorant Garamond", serif;
  box-shadow: 0 8px 22px #0002;
}

.modal {
  position: fixed;
  inset: 0;
  background: #0008;
  display: none;
  place-items: center;
  padding: 18px;
  z-index: 10;
}

.modal.show {
  display: grid;
}

.rsvp {
  width: min(360px, 100%);
  background: #fffdf9;
  border-radius: 24px;
  padding: 28px 24px 24px;
  position: relative;
  text-align: center;
  box-shadow: 0 30px 80px #0005;
}

.close {
  position: absolute;
  right: 16px;
  top: 12px;
  background: transparent;
  border: 0;
  font-size: 28px;
  color: #8b786d;
}

.round-logo {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #f2e8e1;
  display: grid;
  place-items: center;
  margin: 0 auto 12px;
  color: #b48c7a;
}

.rsvp h2 {
  font: 600 24px / 1.2 "Cormorant Garamond", serif;
  margin-bottom: 18px;
}

.rsvp label {
  display: block;
  text-align: left;
  font-size: 12px;
  margin: 10px 0;
  color: #6b574e;
}

.rsvp input {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 14px 12px;
  margin-top: 6px;
  background: white;
  font: 14px Montserrat;
  color: #4b352b;
}

.ok {
  display: none;
  font: 15px "Cormorant Garamond", serif;
  color: #7f6b60;
  margin-bottom: 0;
}

.flowers::before,
.flowers::after {
  content: "✽";
  position: absolute;
  color: #eaded6;
  font-size: 90px;
  opacity: .65;
}

.bottom::before {
  left: -8px;
  bottom: 16px;
}

.bottom::after {
  right: 5px;
  bottom: 0;
}

@media (max-width: 370px) {
  .section {
    padding-left: 20px;
    padding-right: 20px;
  }

  h1 {
    font-size: 40px;
  }

  .timeline article {
    padding-left: 88px;
  }

  .timeline i {
    width: 72px;
    height: 72px;
  }
}
.photo-section{
    padding:20px 22px;
}

.photo-full{
    overflow:hidden;
    border-radius:28px;
    box-shadow:0 15px 40px rgba(0,0,0,.08);
}

.photo-full img{
    width:100%;
    display:block;
}
