:root {
  --bg: #eefaf8;
  --panel: #f0fbfd;
  --panel-2: #f8fffd;
  --text: #153a4d;
  --muted: #3d6f7c;
  --accent: #1b8f97;
  --accent-soft: #56c1b9;
  --accent-dark: #0f5d6b;
  --white: #ffffff;
  --shadow: 0 18px 45px rgba(11, 82, 101, 0.16);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Trebuchet MS", Arial, sans-serif;
  color: var(--text);
  background:
    linear-gradient(180deg, rgba(255, 247, 239, 0.58), rgba(220, 245, 246, 0.72)),
    url('assets/Guarita.webp') center/cover no-repeat fixed;
}

body.site-locked .layout-shell {
  filter: blur(6px);
  pointer-events: none;
  user-select: none;
}

.password-gate {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 1.25rem;
  background: rgba(8, 18, 26, 0.72);
}

.password-gate__card {
  width: min(440px, 100%);
  background: #ffffff;
  border-radius: 18px;
  border: 1px solid rgba(23, 52, 74, 0.14);
  box-shadow: var(--shadow);
  padding: 1.3rem;
  color: #153a4d;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.password-gate__card h1 {
  margin: 0;
  font-size: 1.55rem;
  color: #0f5d6b;
  text-transform: none;
  letter-spacing: normal;
}

.password-gate__card p {
  margin: 0;
}

.password-gate__card label {
  font-size: 0.92rem;
  font-weight: bold;
}

.password-gate__input {
  border: 1px solid rgba(23, 52, 74, 0.2);
  border-radius: 12px;
  padding: 0.75rem 0.85rem;
  font-size: 1rem;
  color: #153a4d;
}

.password-gate__input:focus-visible {
  outline: 2px solid rgba(27, 143, 151, 0.45);
  outline-offset: 1px;
}

.password-gate__button {
  border: none;
  border-radius: 999px;
  padding: 0.82rem 1.2rem;
  background: #1b8f97;
  color: #ffffff;
  font-weight: bold;
  cursor: pointer;
}

.password-gate__button:hover {
  background: #146f76;
}

.password-gate__error {
  min-height: 1.1rem;
  font-size: 0.9rem;
  color: #a72727;
}

.rock-theme a {
  color: inherit;
}

.layout-shell {
  position: relative;
  display: block;
  min-height: 100vh;
}

.menu-handle {
  position: fixed;
  left: 1rem;
  top: 1rem;
  z-index: 35;
  width: 3rem;
  height: 3rem;
  border: none;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 0.28rem;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: var(--shadow);
  cursor: pointer;
}

.menu-handle span {
  width: 1.3rem;
  height: 2px;
  border-radius: 999px;
  background: var(--accent-dark);
}

.side-panel {
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  width: 260px;
  background: linear-gradient(180deg, #ddf6f4, #c9ecf1);
  border-right: 1px solid rgba(23, 52, 74, 0.12);
  padding: 5.8rem 1.5rem 1.5rem;
  transform: translateX(-105%);
  transition: transform 0.28s ease;
  z-index: 30;
}

.layout-shell.panel-open .side-panel {
  transform: translateX(0);
}

.side-panel__brand {
  margin-bottom: 2rem;
}

.side-panel__label {
  letter-spacing: 0.25rem;
  color: #0c7b83;
  font-weight: bold;
  margin: 0 0 0.5rem;
}

.side-panel__brand h2 {
  margin: 0;
  font-size: 1.45rem;
  color: #11445c;
}

.side-panel__nav {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  height: calc(100vh - 8rem);
}

.side-panel__nav a {
  text-decoration: none;
  padding: 0.95rem 1rem;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid rgba(23, 52, 74, 0.12);
  transition: transform 0.18s ease, background 0.18s ease;
  color: #17465f;
}

.side-panel__nav a:hover {
  background: rgba(27, 143, 151, 0.18);
  transform: translateX(4px);
}

.page-main {
  position: relative;
  max-width: 1180px;
  margin: 0 auto;
  padding: 1.5rem;
  background: rgba(255, 249, 241, 0.18);
  backdrop-filter: blur(2px);
}

body.modal-open {
  overflow: hidden;
}

.modal-overlay {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  background: rgba(8, 16, 24, 0.68);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.22s ease;
  z-index: 60;
}

.modal-overlay.is-open {
  opacity: 1;
  pointer-events: auto;
}

.event-modal {
  position: relative;
  width: min(84vw, 1100px);
  height: min(82vh, 840px);
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.35);
  background-size: cover;
  background-position: center;
}

.event-modal::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8, 16, 24, 0.15), rgba(0, 0, 0, 0.78));
}

.event-modal--mehendi {
  background-image:
    linear-gradient(145deg, rgba(120, 48, 8, 0.40), rgba(234, 141, 29, 0.24)),
    url('assets/4th Dec Mehendi upscaled.jpg');
}

.event-modal--wedding {
  background-image:
    linear-gradient(145deg, rgba(13, 72, 98, 0.48), rgba(255, 244, 231, 0.24)),
    url('assets/5th Dec Wedding.webp');
}

.event-modal__content {
  position: absolute;
  inset: 1.8rem 2rem 2rem 2rem;
  z-index: 1;
  color: #ffffff;
  width: min(100%, 42rem);
  max-width: 42rem;
  padding-right: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.event-modal__eyebrow {
  margin: 0 0 0.35rem;
  text-transform: uppercase;
  letter-spacing: 0.22rem;
  font-size: 0.82rem;
  color: #fff4df;
}

.event-modal h3 {
  margin: 0 0 0.75rem;
  font-size: clamp(2.3rem, 4vw, 3.4rem);
  line-height: 1.05;
  white-space: normal;
  overflow: visible;
  text-overflow: clip;
}

.event-modal__text {
  margin: 0 0 1rem;
  line-height: 1.5;
  font-size: 1rem;
}

.event-modal__details {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.event-modal--wedding .event-modal__content {
  height: calc(100% - 3.8rem);
}

.event-modal--wedding .event-modal__details {
  flex: 1;
  gap: calc(1.75rem + 10px);
  padding: calc(1.1rem + 15px) 0 0.55rem;
}

.event-modal--mehendi .event-modal__details {
  flex: 1;
  gap: 0.55rem;
}

.event-modal--mehendi .event-modal__content {
  height: calc(100% - 2.5rem);
  bottom: 0.25rem;
}

.event-modal__details h4 {
  margin: 0.2rem 0 0;
  font-size: 1.1rem;
  color: #fff4df;
}

.event-modal__details p,
.event-modal__details a {
  margin: 0 0 0 0;
  line-height: 1.7;
  color: #ffffff;
  font-size: 1.06rem;
  letter-spacing: 0.01em;
}

.event-modal__details a {
  text-decoration: underline;
  word-break: break-all;
}

.event-modal__detail-line {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  align-items: baseline;
  font-size: 1.08rem;
}

.event-modal__detail-label {
  font-weight: bold;
  color: #fff4df;
}

.event-modal__timeline {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: calc(1.28rem + 10px);
  margin-top: 0.3rem;
  padding-left: 0;
}

.event-modal__timeline::before {
  content: "";
  position: absolute;
  left: 7.92rem;
  top: 0.84rem;
  bottom: 0.84rem;
  width: 1px;
  background: rgba(255, 255, 255, 0.92);
}

.event-modal__timeline-item {
  display: grid;
  grid-template-columns: 6.5rem 1rem minmax(0, 1fr);
  gap: 0.95rem;
  align-items: start;
  line-height: 1.66;
  padding-left: 0;
}

.event-modal__marker {
  width: 0.68rem;
  height: 0.68rem;
  border-radius: 50%;
  background: #fff4df;
  box-shadow: 0 0 0 1px rgba(10, 24, 36, 0.26);
  margin-top: 0.46rem;
  justify-self: center;
  z-index: 1;
}

.event-modal__time {
  min-width: 6.5rem;
  font-weight: bold;
  color: #fff4df;
  text-align: right;
  letter-spacing: 0.02em;
  line-height: 1.66;
}

.event-modal__timeline-text {
  line-height: 1.66;
}

.event-modal__timeline-note {
  font-size: 0.72em;
  font-style: italic;
  opacity: 0.92;
}

.event-modal__timeline-link {
  font-weight: bold;
  text-decoration: none;
  color: #fff4df;
}

.event-modal__itinerary-block {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.event-modal__location-link {
  color: #fff4df;
  text-decoration: underline;
}

.event-modal--wedding .event-modal__location-link,
.event-modal--wedding .event-modal__timeline-link {
  font-weight: normal;
}

.event-modal__inline-dress {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-wrap: wrap;
}

.event-modal__footer-box {
  margin-top: 1.1rem;
  padding: 0.1rem 0 0;
  align-self: flex-start;
}

.event-modal--mehendi .event-modal__footer-box {
  margin-top: auto;
  padding-top: 0.65rem;
  padding-bottom: calc(0.1rem + 5px);
}

.event-modal__closing-line {
  margin: 0;
  font-size: 0.7rem;
  line-height: 1.25;
  font-style: italic;
  opacity: 0.95;
  white-space: normal;
}

.event-modal__details .event-modal__closing-line {
  font-size: 0.7rem;
  line-height: 1.25;
}

.event-modal--mehendi .event-modal__closing-line {
  font-size: 0.82rem;
  line-height: 1.15;
  white-space: nowrap;
  letter-spacing: -0.01em;
}

.event-modal__colors {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

.event-modal__color {
  width: 1.4rem;
  height: 1.4rem;
  border-radius: 999px;
  display: inline-block;
  border: 1px solid rgba(255,255,255,0.55);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.18);
}

.event-modal__color--yellow {
  background: linear-gradient(135deg, #f9de7a, #f4b942);
}

.event-modal__color--orange {
  background: linear-gradient(135deg, #f6a75f, #e86b2c);
}

.event-modal__color--red {
  background: linear-gradient(135deg, #ff8a78, #bf4d3a);
}

.event-modal__rsvp {
  position: absolute;
  top: 1.2rem;
  right: 1.2rem;
  z-index: 2;
  padding: 1.2rem 1.9rem;
  border-radius: 999px;
  background: #ffffff;
  color: #11364a;
  text-decoration: none;
  font-weight: bold;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  font-size: 1.45rem;
  animation: rsvpPulse 1.8s ease-in-out infinite;
}

@keyframes rsvpPulse {
  0%,
  100% {
    transform: scale(1);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  }
  50% {
    transform: scale(1.04);
    box-shadow: 0 12px 26px rgba(0, 0, 0, 0.28);
  }
}

.page-main::before {
  content: "";
  position: fixed;
  inset: 0;
  background: rgba(7, 16, 24, 0.45);
  opacity: 0;
  pointer-events: none;
  z-index: 10;
}

.hero {
  min-height: 37vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding: 0 0 1.35rem;
}

.hero__topbar,
.page-main__topbar {
  display: flex;
  justify-content: flex-end;
  margin: 0 auto 0.75rem;
  max-width: 960px;
  padding: 0 1rem;
}

.lang-switcher {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  position: fixed;
  top: 1rem;
  right: 1rem;
  z-index: 35;
}

.lang-switcher a {
  text-decoration: none;
  padding: 0.4rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(23, 52, 74, 0.12);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3.2rem;
  height: 3.2rem;
}

.lang-switcher a.is-active {
  outline: 2px solid rgba(12, 68, 92, 0.55);
  outline-offset: 2px;
}

.lang-switcher img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 999px;
}

.hero__content {
  max-width: 760px;
  text-align: left;
  margin-top: 0.2rem;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.28rem;
  color: var(--accent-soft);
  font-weight: bold;
  margin-bottom: 0.5rem;
}

h1 {
  font-size: clamp(3rem, 7vw, 5.5rem);
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.08rem;
  color: #0a5164;
}

.hero__subtitle {
  font-size: 1.2rem;
  max-width: 680px;
  color: #2f6880;
  margin-top: 1rem;
}

.event-tiles {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.3rem;
  margin: 1.45rem 0 1.7rem;
}

.event-tile {
  min-height: 290px;
  border-radius: 24px;
  text-decoration: none;
  padding: 1.4rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-start;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  border: 1px solid rgba(255, 255, 255, 0.35);
}

.event-tile::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(0, 0, 0, 0.08));
  z-index: 0;
}

.event-tile__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-start;
  gap: 0.35rem;
  padding: 1.4rem;
  background: linear-gradient(180deg, rgba(8, 16, 24, 0.05), rgba(8, 16, 24, 0.8));
  opacity: 0;
  transition: opacity 0.24s ease;
}

.event-tile:hover .event-tile__overlay,
.event-tile:focus-visible .event-tile__overlay {
  opacity: 1;
}

.event-tile:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 55px rgba(0, 0, 0, 0.4);
}

.event-tile--mehendi {
  background:
    linear-gradient(145deg, rgba(120, 48, 8, 0.40), rgba(234, 141, 29, 0.24)),
    url('assets/4th Dec Mehendi upscaled.jpg');
  background-size: cover;
  background-position: center;
}

.event-tile--wedding {
  background:
    linear-gradient(145deg, rgba(13, 72, 98, 0.48), rgba(255, 244, 231, 0.24)),
    radial-gradient(circle at 80% 25%, rgba(255, 255, 255, 0.2), transparent 18%),
    url('assets/5th Dec Wedding.webp');
  background-size: cover;
  background-position: center top;
}

.event-tile__title,
.event-tile__tag,
.event-tile__detail,
.event-tile__eyebrow {
  position: relative;
  z-index: 1;
}

.event-tile__title {
  font-size: 2rem;
  line-height: 1.1;
  font-weight: bold;
  color: #fff;
  margin: 0;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.45);
}

.event-tile__eyebrow {
  color: #fff4df;
  font-size: 0.82rem;
  letter-spacing: 0.18rem;
  text-transform: uppercase;
}

.event-tile__tag {
  color: #fff4df;
  font-size: 0.98rem;
  margin-top: auto;
  text-shadow: 0 3px 18px rgba(0, 0, 0, 0.90);
}

.event-tile__detail {
  color: #ffffff;
  font-size: 0.92rem;
  line-height: 1.4;
  max-width: 18rem;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.7);
}

.countdown {
  margin-top: 1.55rem;
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid rgba(23, 52, 74, 0.12);
  border-radius: 20px;
  padding: 1.25rem;
}

.countdown h2 {
  margin-top: 0;
}

.countdown__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
  gap: 1rem;
}

.countdown__item {
  background: #ffffff;
  border-radius: 14px;
  padding: 1rem;
  text-align: center;
  box-shadow: var(--shadow);
}

.countdown__value {
  display: block;
  font-size: 1.8rem;
  font-weight: bold;
  color: #0f7b87;
}

.page-heading {
  text-align: center;
  margin: 0;
}

.page-subtitle {
  text-align: center;
  margin: 0.5rem 0 0;
  font-size: 1.1rem;
  letter-spacing: 0.08rem;
  text-transform: uppercase;
}

.event-page,
.event-grid {
  max-width: 960px;
  margin: 2rem auto;
  padding: 0 1rem;
}

.event-page--mehendi {
  background:
    linear-gradient(145deg, rgba(120, 48, 8, 0.52), rgba(234, 141, 29, 0.28)),
    url('assets/4th Dec Mehendi upscaled.jpg') center/cover no-repeat;
  border-radius: 24px;
  padding: 2rem 1.5rem;
  box-shadow: var(--shadow);
  color: #ffffff;
  position: relative;
  overflow: hidden;
}

.event-page--mehendi::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255, 248, 236, 0.08), rgba(0, 0, 0, 0.30));
  pointer-events: none;
}

.event-page--mehendi > * {
  position: relative;
  z-index: 1;
}

.event-page__hero {
  margin-bottom: 1.5rem;
}

.event-page--mehendi .page-heading,
.event-page--mehendi .page-subtitle {
  color: #ffffff;
}

.event-page--mehendi .event-grid {
  margin: 0;
  padding: 0;
}

.event-page--mehendi .event-detail {
  background: rgba(255, 255, 255, 0.92);
  color: #153a4d;
}

.event-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1rem;
}

.event-detail {
  background: rgba(255, 255, 255, 0.03);
  border-radius: 16px;
  padding: 1.2rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.page-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.9rem 1.2rem;
  border-radius: 999px;
  text-decoration: none;
  background: var(--accent);
  color: white;
}

.event-detail ul {
  padding-left: 1.25rem;
}

.event-detail li {
  margin-bottom: 0.5rem;
}

.event-page__actions {
  margin-top: 1.5rem;
}

.brazil-guide {
  max-width: 1020px;
  margin-top: 1.25rem;
}

.brazil-guide__section {
  margin-top: 1.15rem;
  background: rgba(255, 255, 255, 0.65);
  border: 1px solid rgba(23, 52, 74, 0.12);
  border-radius: 18px;
  padding: 1.15rem;
}

.brazil-guide__flow {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.brazil-guide__fold {
  margin-top: 0.6rem;
  border: 1px solid rgba(23, 52, 74, 0.12);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.78);
  overflow: hidden;
}

.brazil-guide__fold-title {
  cursor: pointer;
  padding: 0.75rem 0.9rem;
  font-size: 1.08rem;
  font-weight: bold;
  color: #11445c;
  list-style: none;
}

.brazil-guide__fold-title::-webkit-details-marker {
  display: none;
}

.brazil-guide__fold-title::after {
  content: '+';
  float: right;
  transition: opacity 0.2s ease;
}

.brazil-guide__fold[open] .brazil-guide__fold-title::after {
  content: '-';
}

.brazil-guide__fold-content {
  padding: 0.2rem 0.9rem 0.9rem;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.brazil-guide__h2,
.brazil-guide__h3,
.brazil-guide__text,
.brazil-guide__caption {
  margin: 0;
  color: #204f62;
}

.brazil-guide__h2 {
  margin-top: 0.75rem;
  color: #11445c;
  font-size: 1.4rem;
}

.brazil-guide__h3 {
  margin-top: 0.45rem;
  color: #155571;
  font-size: 1.08rem;
}

.brazil-guide__text {
  line-height: 1.65;
  font-size: 1rem;
}

.brazil-guide__list {
  margin: 0.15rem 0 0.6rem 1.25rem;
  padding: 0;
  color: #204f62;
}

.brazil-guide__list-item {
  margin: 0.2rem 0;
  line-height: 1.6;
}

.brazil-guide__intro {
  margin: 0.9rem auto 0;
  max-width: 78ch;
  text-align: center;
  line-height: 1.7;
  color: #1c5367;
}

.brazil-guide__caption {
  margin-top: -0.15rem;
  font-size: 0.9rem;
  color: #356a7b;
  font-style: italic;
}

.brazil-guide__text + .brazil-guide__caption {
  margin-top: -0.3rem;
}

.brazil-guide__caption + .brazil-guide__image-wrap,
.brazil-guide__caption + .brazil-guide__image-row {
  margin-top: 0.2rem;
}

.brazil-guide__image-wrap {
  margin: 0.25rem auto 0.5rem;
  width: min(100%, 234px);
  position: relative;
  z-index: 0;
}

.brazil-guide__image-row {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.brazil-guide__image-row .brazil-guide__image-wrap {
  margin: 0.25rem 0 0.5rem;
  flex: 1 1 220px;
  max-width: 234px;
}

.brazil-guide__image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
  border: 1px solid rgba(23, 52, 74, 0.12);
  box-shadow: 0 8px 18px rgba(12, 35, 46, 0.16);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  transform-origin: center center;
}

.brazil-guide__image-wrap:hover {
  z-index: 12;
}

.brazil-guide__image-wrap:hover .brazil-guide__image {
  transform: scale(2);
  box-shadow: 0 22px 36px rgba(6, 24, 36, 0.34);
}

@media (hover: none) {
  .brazil-guide__image-wrap:hover .brazil-guide__image {
    transform: none;
  }
}

@media (max-width: 700px) {
  .brazil-guide__image-row {
    gap: 0;
  }

  .brazil-guide__image-row .brazil-guide__image-wrap {
    flex-basis: 100%;
    margin: 0.25rem auto 0.5rem;
  }
}

.rsvp-page {
  max-width: 980px;
  margin: 2rem auto;
  padding: 0 1rem;
}

.rsvp-page__header {
  margin-bottom: 1.2rem;
  padding-left: 0.4rem;
}

.rsvp-page__title-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
}

.rsvp-page__countdown {
  margin: 0;
  color: #17465f;
  font-size: 0.92rem;
  font-weight: bold;
  white-space: nowrap;
}

.rsvp-page .page-heading {
  text-align: left;
  margin-bottom: 0.25rem;
}

.rsvp-page__subtitle {
  margin: 0;
  font-size: 1.1rem;
  color: #2f6880;
}

.rsvp-guests {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.rsvp-guests.is-thank-you {
  min-height: 45vh;
  align-items: center;
  justify-content: center;
}

.rsvp-thank-you {
  margin: 0;
  max-width: none;
  text-align: center;
  font-size: clamp(2rem, 4.8vw, 4rem);
  line-height: 1.15;
  font-weight: bold;
  color: #113d4f;
  white-space: nowrap;
}

.rsvp-card {
  position: relative;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(23, 52, 74, 0.14);
  border-radius: 18px;
  box-shadow: var(--shadow);
  padding: 1.2rem;
}

.rsvp-card__remove {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  width: 1.8rem;
  height: 1.8rem;
  border: none;
  border-radius: 50%;
  background: rgba(23, 52, 74, 0.12);
  color: #17465f;
  font-size: 1rem;
  font-weight: bold;
  cursor: pointer;
  line-height: 1;
}

.rsvp-card__remove:hover {
  background: rgba(23, 52, 74, 0.24);
}

.rsvp-finish-btn {
  border: none;
  border-radius: 999px;
  padding: 0.9rem 1.35rem;
  width: 152px;
  background: #0f5d6b;
  color: #ffffff;
  font-size: 1rem;
  font-weight: bold;
  cursor: pointer;
  box-shadow: 0 10px 20px rgba(12, 35, 46, 0.2);
  transition: transform 0.18s ease, background 0.18s ease, opacity 0.18s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.rsvp-finish-btn:hover {
  transform: translateY(-1px);
  background: #0c4a55;
}

.rsvp-finish-btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
  transform: none;
}

.rsvp-finish-btn.is-hidden {
  display: none;
}

.rsvp-card__title {
  margin: 0 0 0.9rem;
  font-size: 1rem;
  color: #17465f;
  letter-spacing: 0.04rem;
  text-transform: uppercase;
}

.rsvp-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
}

.rsvp-field {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.rsvp-field label,
.rsvp-section-title {
  font-size: 0.88rem;
  font-weight: bold;
  color: #17465f;
}

.rsvp-field input {
  border: 1px solid rgba(23, 52, 74, 0.2);
  border-radius: 12px;
  padding: 0.75rem 0.85rem;
  font-size: 0.98rem;
  color: #153a4d;
  background: #ffffff;
}

.rsvp-field input:focus-visible {
  outline: 2px solid rgba(27, 143, 151, 0.45);
  outline-offset: 1px;
}

.rsvp-events {
  margin-top: 1rem;
}

.rsvp-events__list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
  margin-top: 0.55rem;
}

.rsvp-event-btn {
  position: relative;
  min-height: 110px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 16px;
  background-size: cover;
  background-position: center;
  cursor: pointer;
  overflow: hidden;
  transition: transform 0.2s ease, filter 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 8px 18px rgba(12, 35, 46, 0.18);
  filter: saturate(0.75) brightness(0.72);
}

.rsvp-event-btn::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.08), rgba(0, 0, 0, 0.55));
}

.rsvp-event-btn span {
  position: absolute;
  left: 0.7rem;
  bottom: 0.6rem;
  right: 0.7rem;
  color: #fff;
  text-align: left;
  font-weight: bold;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.65);
}

.rsvp-event-btn.is-selected {
  filter: saturate(1) brightness(1);
  transform: translateY(-1px);
  box-shadow: 0 12px 22px rgba(12, 35, 46, 0.3);
}

.rsvp-event-btn--mehendi {
  background-image:
    linear-gradient(145deg, rgba(120, 48, 8, 0.35), rgba(234, 141, 29, 0.22)),
    url('assets/4th Dec Mehendi upscaled.jpg');
}

.rsvp-event-btn--wedding {
  background-image:
    linear-gradient(145deg, rgba(13, 72, 98, 0.35), rgba(255, 244, 231, 0.18)),
    url('assets/5th Dec Wedding.webp');
}

.rsvp-diet {
  margin-top: 1rem;
}

.rsvp-diet__scale {
  margin-top: 0.55rem;
  padding: 0 10px;
}

.rsvp-diet__labels-bar {
  position: relative;
  height: 1.05rem;
  margin-bottom: 0.4rem;
  color: #274f61;
  font-size: 0.69rem;
  line-height: 1.2;
  font-weight: bold;
}

.rsvp-diet__labels-bar span {
  position: absolute;
  top: 0;
  transform: translateX(-50%);
  text-align: center;
  white-space: nowrap;
  opacity: 0.45;
  transition: opacity 0.18s ease, color 0.18s ease;
}

.rsvp-diet__labels-bar span[data-value="1"] {
  left: 0%;
  transform: translateX(0);
}

.rsvp-diet__labels-bar span[data-value="2"] {
  left: 25%;
}

.rsvp-diet__labels-bar span[data-value="3"] {
  left: 50%;
}

.rsvp-diet__labels-bar span[data-value="4"] {
  left: 75%;
}

.rsvp-diet__labels-bar span[data-value="5"] {
  left: 100%;
  transform: translateX(-100%);
}

.rsvp-diet__labels-bar span.is-active {
  opacity: 1;
  color: #113d4f;
}

.rsvp-diet__slider {
  width: 100%;
  accent-color: #2f8e4f;
  margin: 0;
}

.rsvp-diet__slider[type="range"] {
  -webkit-appearance: none;
  appearance: none;
  height: 8px;
  border-radius: 999px;
  background: linear-gradient(90deg, #1f9f54 0%, #7cc85b 25%, #d8d754 50%, #ea973e 75%, #cf3a30 100%);
}

.rsvp-diet__slider[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2px solid #ffffff;
  background: #17465f;
  cursor: pointer;
}

.rsvp-diet__slider[type="range"]::-moz-range-thumb {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2px solid #ffffff;
  background: #17465f;
  cursor: pointer;
}

.rsvp-diet__current {
  display: block;
  margin-top: 0.45rem;
  color: #17465f;
  font-size: 0.9rem;
  font-style: italic;
}

.rsvp-page__actions {
  margin-top: 1.15rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.rsvp-finish-btn {
  margin-left: auto;
}

.rsvp-add-btn {
  border: none;
  border-radius: 999px;
  padding: 0.9rem 1.35rem;
  width: 152px;
  background: #1b8f97;
  color: #ffffff;
  font-size: 1rem;
  font-weight: bold;
  cursor: pointer;
  box-shadow: var(--shadow);
  transition: transform 0.18s ease, background 0.18s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.rsvp-add-btn:hover {
  transform: translateY(-1px);
  background: #146f76;
}

.rsvp-add-btn.is-hidden {
  display: none;
}

@media (max-width: 900px) {
  .layout-shell {
    grid-template-columns: 1fr;
  }

  .side-panel {
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .event-tiles {
    grid-template-columns: 1fr;
  }

  .rsvp-grid,
  .rsvp-events__list {
    grid-template-columns: 1fr;
  }

  .rsvp-page__title-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.25rem;
  }

  .brazil-guide__section {
    padding: 0.9rem;
  }

  .brazil-guide__h2 {
    font-size: 1.25rem;
  }
}

