* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Georgia", "Times New Roman", serif;
  background-color: #ffffff;
  color: #2f2a26;
  line-height: 1.6;
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  padding: 28px 24px 0;
  background-color: #ffffff;
}

.main-nav {
  max-width: 1100px;
  margin: 0 auto;
  padding: 18px 0;
  border-bottom: 1px solid rgba(47, 42, 38, 0.12);
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 26px;
  background-color: #ffffff;
}

.main-nav a {
  text-decoration: none;
  font-size: 14px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #5a534d;
}

.main-nav a:hover {
  color: #1f1a17;
}

main {
  width: 100%;
}

/* ---------- HERO ---------- */
.hero {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0 0 90px;
  text-align: center;
}

.hero-fullscreen {
  padding-bottom: 0;
  margin: 0;
}

.hero-fullscreen .hero-image {
  position: relative;
  width: 100%;
  height: 92vh;
  min-height: 560px;
  overflow: hidden;
  margin: 0;
  border-radius: 0;
  padding: 0;
}

.hero-fullscreen .hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 0;
}

.hero-carousel-track {
  display: flex;
  height: 100%;
  transition: transform 700ms ease-in-out;
  will-change: transform;
  touch-action: pan-y;
}

.hero-carousel-slide {
  flex: 0 0 100%;
  min-width: 100%;
  height: 100%;
  overflow: hidden;
}

.hero-carousel-control {
  position: absolute;
  top: 62%;
  z-index: 2;
  display: flex;
  width: 48px;
  height: 48px;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #ffffff;
  font-size: 30px;
  line-height: 1;
  filter: drop-shadow(0 0 4px rgba(255, 255, 255, 0.98)) drop-shadow(0 3px 7px rgba(47, 42, 38, 0.52));
  transform: translateY(-50%);
  transition: filter 180ms ease, transform 180ms ease;
  cursor: pointer;
}

.hero-carousel-control[hidden] {
  display: none;
}

.hero-carousel-control:hover,
.hero-carousel-control:focus-visible {
  background: transparent;
  filter: drop-shadow(0 0 7px #ffffff) drop-shadow(0 4px 9px rgba(47, 42, 38, 0.58));
  transform: translateY(-50%) scale(1.08);
}

.hero-carousel-control:focus-visible {
  outline: 2px solid #ffffff;
  outline-offset: 3px;
}

.hero-carousel-control-previous {
  left: 24px;
}

.hero-carousel-control-next {
  right: 24px;
}

@media (min-width: 701px) {
  .hero-fullscreen .hero-carousel-slide img.hero-carousel-image-raised {
    object-position: 50% 35%;
  }

  .hero-fullscreen .hero-carousel-slide img.hero-carousel-image-lowered {
    object-position: 50% 20%;
  }
}

@media (max-width: 700px) {
  .hero-carousel-control {
    width: 42px;
    height: 42px;
  }

  .hero-carousel-control-previous {
    left: 14px;
  }

  .hero-carousel-control-next {
    right: 14px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-carousel-track,
  .hero-carousel-control {
    transition: none;
  }
}

.hero-overlay {
  position: absolute;
  bottom: 7%;
  left: 6%;
  transform: none;
  width: auto;
  padding: 0;
  text-align: left;
  z-index: 2;
}

.hero-overlay-left {
  bottom: auto;
  top: 50%;
  left: 7%;
  transform: translateY(-50%);
  max-width: 620px;
}

.hero-overlay .eyebrow {
  margin: 0 0 12px;
  color: #ffffff;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.28);
}

.eyebrow,
.section-label,
.card-day {
  margin: 0 0 16px;
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #8a7f75;
}

.hero h1 {
  margin: 0;
  font-size: clamp(44px, 7vw, 92px);
  font-weight: 400;
  line-height: 0.98;
  letter-spacing: -0.02em;
  color: #ffffff;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.35);
}

.hero-date-line {
  margin: 18px 0 6px;
  font-size: clamp(18px, 2vw, 24px);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #ffffff;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.32);
}

.hero-location-line {
  margin: 0;
  font-size: clamp(14px, 1.4vw, 16px);
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: #ffffff;
  opacity: 0.9;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.32);
}

/* ---------- Animación de entrada ---------- */
@keyframes heroFadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

@keyframes heroZoom {
  from { transform: scale(1.08); }
  to   { transform: scale(1); }
}

@keyframes overlayRise {
  from { opacity: 0; transform: translateY(-50%) translateX(-24px); }
  to   { opacity: 1; transform: translateY(-50%) translateX(0); }
}

@keyframes actionsRise {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes scrollBounce {
  0%, 100% { transform: translate(-50%, 0); opacity: 0.85; }
  50%      { transform: translate(-50%, 8px); opacity: 1; }
}

.hero-animate {
  animation: heroFadeIn 1.2s ease-out both;
}

.hero-animate img {
  animation: heroZoom 9s ease-out both;
}

.hero-animate .hero-overlay-left {
  animation: overlayRise 1.4s ease-out 0.5s both;
}

.hero-actions {
  animation: actionsRise 1s ease-out 1s both;
}

.scroll-indicator {
  position: absolute;
  left: 50%;
  bottom: 32px;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: #ffffff;
  text-decoration: none;
  z-index: 3;
  animation: scrollBounce 2.2s ease-in-out infinite;
}

.scroll-indicator-label {
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.35);
}

.scroll-indicator-arrow {
  width: 1px;
  height: 38px;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0));
}

.scroll-indicator-arrow::after {
  content: "";
  display: block;
  width: 10px;
  height: 10px;
  margin: 30px auto 0;
  border-right: 1px solid rgba(255, 255, 255, 0.9);
  border-bottom: 1px solid rgba(255, 255, 255, 0.9);
  transform: rotate(45deg);
}

.mobile-scroll-cue {
  position: fixed;
  left: 50%;
  bottom: 24px;
  z-index: 900;
  display: none;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.94);
  color: #2f2a26;
  box-shadow: 0 8px 24px rgba(47, 42, 38, 0.18);
  font-size: 13px;
  letter-spacing: 0.04em;
  line-height: 1.2;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 12px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}
.mobile-scroll-cue::after {
  content: "↓";
  font-size: 18px;
  line-height: 1;
  animation: scrollCueArrow 1s ease-in-out infinite;
}
@keyframes scrollCueArrow {
  0%, 100% { transform: translateY(-2px); }
  50% { transform: translateY(3px); }
}
@media (max-width: 700px) {
  .mobile-scroll-cue.is-visible {
    display: flex;
    opacity: 1;
    transform: translate(-50%, 0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-animate,
  .hero-animate img,
  .hero-animate .hero-overlay-left,
  .hero-actions,
  .scroll-indicator {
    animation: none;
  }
  .mobile-scroll-cue {
    display: none !important;
  }
  html {
    scroll-behavior: auto;
  }
}

/* ---------- Botones ---------- */
.hero-actions {
  margin-top: 32px;
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  padding: 40px 24px 0;
}

.button-primary,
.button-secondary {
  display: inline-block;
  padding: 14px 24px;
  border-radius: 999px;
  text-decoration: none;
  font-size: 14px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: 0.2s ease;
}

.button-primary {
  background-color: #2f2a26;
  color: #f7f3ee;
}

.button-primary:hover {
  background-color: #1f1a17;
}

.button-secondary {
  border: 1px solid rgba(47, 42, 38, 0.2);
  color: #2f2a26;
}

.button-secondary:hover {
  background-color: rgba(47, 42, 38, 0.05);
}

/* ---------- Secciones ---------- */
.intro-section,
.overview-section,
.planning-section,
.rsvp-section {
  padding: 80px 24px 90px;
}

.intro-text,
.overview-section > h2,
.overview-section > .section-label,
.planning-section > h2,
.planning-section > .section-label,
.planning-card,
.rsvp-section {
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
}

.intro-text {
  max-width: 760px;
  text-align: center;
}

.intro-text h2,
.overview-section h2,
.planning-card h2,
.rsvp-section h2 {
  margin: 0 0 18px;
  font-size: clamp(34px, 4vw, 54px);
  font-weight: 400;
  line-height: 1.05;
}

.intro-text p,
.overview-card p,
.planning-card p,
.rsvp-section p {
  font-size: 18px;
  color: #5a534d;
}

.overview-grid {
  max-width: 1100px;
  margin: 40px auto 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.overview-card {
  background: rgba(255, 255, 255, 0.65);
  border: 1px solid rgba(47, 42, 38, 0.08);
  border-radius: 24px;
  padding: 32px 28px;
}

.overview-card h3 {
  margin: 0 0 14px;
  font-size: 28px;
  font-weight: 400;
  line-height: 1.15;
}

.overview-card p {
  margin: 0;
}

.planning-card {
  background: #f8f8f8;
  border-radius: 32px;
  padding: 48px 40px;
  text-align: center;
}

.planning-links {
  margin-top: 28px;
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.planning-links a {
  text-decoration: none;
  border-bottom: 1px solid rgba(47, 42, 38, 0.2);
  padding-bottom: 3px;
}

.rsvp-section {
  text-align: center;
  padding-bottom: 110px;
}

table {
  width: 100%;
  max-width: 950px;
  margin: 30px auto;
  border-collapse: collapse;
  background: rgba(255, 255, 255, 0.75);
  border-radius: 18px;
  overflow: hidden;
}

th,
td {
  border: 1px solid rgba(47, 42, 38, 0.08);
  padding: 16px;
  text-align: left;
  font-size: 16px;
}

th {
  background-color: #eee4d9;
  font-weight: 400;
}

section {
  margin: 60px auto;
  padding: 0 24px;
}

section h2 {
  margin-bottom: 14px;
  font-size: 38px;
  font-weight: 400;
  line-height: 1.1;
}

ul {
  padding-left: 20px;
}

/* ---------- Formularios ---------- */
form {
  max-width: 720px;
  margin: 40px auto 0;
  text-align: left;
  background: rgba(255, 255, 255, 0.7);
  padding: 32px;
  border-radius: 24px;
  border: 1px solid rgba(47, 42, 38, 0.08);
}

label {
  display: inline-block;
  margin-bottom: 6px;
  font-size: 15px;
  color: #4d4640;
}

input,
select,
button,
textarea {
  width: 100%;
  padding: 14px 16px;
  margin-top: 6px;
  margin-bottom: 18px;
  font-size: 16px;
  font-family: inherit;
  border-radius: 14px;
  border: 1px solid rgba(47, 42, 38, 0.14);
  background-color: #fffdfb;
  color: #2f2a26;
}

button {
  background-color: #2f2a26;
  color: #f7f3ee;
  cursor: pointer;
  width: auto;
  padding: 14px 24px;
}

button:hover {
  background-color: #1f1a17;
}

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

/* ---------- Contact stripe ---------- */
.contact-stripe {
  margin: 0;
  padding: 56px 24px 72px;
  text-align: center;
  background: #ececec;
  border-top: 1px solid rgba(47, 42, 38, 0.08);
}

.contact-stripe .contact-lead {
  margin: 0 0 18px;
  font-size: 20px;
  color: #2f2a26;
  text-align: center;
}

.contact-stripe .contact-details {
  margin: 0 auto;
  max-width: 900px;
  font-size: 16px;
  color: #4d4640;
  line-height: 1.9;
  text-align: center;
}

.contact-stripe .contact-details a {
  text-decoration: none;
  border-bottom: 1px solid rgba(47, 42, 38, 0.25);
  padding-bottom: 2px;
  color: inherit;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.contact-stripe .contact-details a:hover {
  color: #1f1a17;
  border-bottom-color: #1f1a17;
}

.contact-stripe .contact-divider {
  margin: 0 14px;
  color: #9a9a9a;
}

.contact-stripe .contact-item {
  white-space: nowrap;
}

/* ---------- Responsive general ---------- */
@media (max-width: 900px) {
  .overview-grid {
    grid-template-columns: 1fr;
  }

  .planning-card {
    padding: 36px 24px;
  }

  section h2 {
    font-size: 30px;
  }
}

@media (max-width: 700px) {
  .hero-fullscreen .hero-image {
    height: 88vh;
    min-height: 520px;
  }

  .hero-overlay-left {
    left: 7%;
    right: 7%;
    max-width: none;
  }

  .hero h1 {
    font-size: clamp(38px, 11vw, 60px);
  }

  .hero-date-line {
    letter-spacing: 0.14em;
  }

  .intro-text p,
  .overview-card p,
  .planning-card p,
  .rsvp-section p {
    font-size: 17px;
  }

  .contact-stripe {
    padding: 44px 20px 56px;
  }

  .contact-stripe .contact-divider {
    display: none;
  }

  .contact-stripe .contact-details > a,
  .contact-stripe .contact-item {
    display: block;
    width: fit-content;
    margin: 0 auto;
  }
}

/* ---------- Estilos específicos de otras páginas ---------- */
.overview-heading {
  margin-bottom: 24px;
}

.overview-heading .section-label,
.overview-heading h2 {
  text-align: center;
}

.overview-heading h2 {
  margin: 0 0 12px;
}

.event-details-title {
  color: #000;
}

.hero .event-details-title {
  color: #000 !important;
}

main section h2 {
  text-align: center;
}

.event-page section h2,
.event-page section p,
.event-page section a {
  text-align: center;
}

.event-page section a {
  display: block;
}

.weekend-table {
  width: 100%;
  max-width: 900px;
  margin: 30px auto 0;
  border-collapse: collapse;
  background-color: #fff;
  color: #111;
  font-size: 0.98rem;
}

.weekend-table th,
.weekend-table td {
  padding: 18px 20px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid #d9d9d9;
}

.weekend-table th {
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.78rem;
  color: #444;
}

.weekend-table tr:first-child th {
  border-top: 1px solid #111;
}

.weekend-table tr:last-child td {
  border-bottom: 1px solid #111;
}

.weekend-table td:first-child {
  width: 18%;
  font-weight: 600;
  white-space: nowrap;
}

.weekend-table td:nth-child(2) {
  width: 30%;
}

.weekend-table td:nth-child(3) {
  width: 52%;
}
/* En móvil, mueve el overlay del hero abajo para no tapar caras */
@media (max-width: 700px) {
  .hero-overlay-left {
    top: auto;
    bottom: 8%;
    left: 7%;
    right: 7%;
    transform: none;
    text-align: left;
    max-width: none;
  }

  /* Ajusta también la animación en móvil: entra desde abajo en vez de desde la izquierda */
  @keyframes overlayRise {
    from { opacity: 0; transform: translateX(-50%) translateY(16px); }
    to   { opacity: 1; transform: translateX(-50%) translateY(0); }
  }

  .hero-animate .hero-overlay-left {
    animation: overlayRiseMobile 1.4s ease-out 0.5s both;
  }

  .hero h1 {
    font-size: clamp(36px, 10vw, 54px);
  }

  .hero-date-line {
    font-size: 15px;
    margin-top: 12px;
  }

  .hero-location-line {
    font-size: 12px;
  }
}
/* ---------- Hero gradient + bottom-centered overlay ---------- */
.hero-gradient {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 45%;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0) 0%,
    rgba(0, 0, 0, 0.35) 55%,
    rgba(0, 0, 0, 0.7) 100%
  );
  pointer-events: none;
  z-index: 1;
}

.hero-overlay-bottom {
  position: absolute;
  bottom: 9%;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  width: calc(100% - 48px);
  max-width: 760px;
  padding: 0 24px;
  z-index: 2;
}

.hero-overlay-bottom h1 {
  margin: 0;
  font-size: clamp(36px, 6vw, 78px);
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.02em;
  color: #ffffff;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.4);
}

.hero-overlay-bottom .hero-date-line {
  margin: 20px 0 6px;
  font-size: clamp(16px, 1.8vw, 20px);
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: #ffffff;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.4);
}

.hero-overlay-bottom .hero-location-line {
  margin: 0;
  font-size: clamp(12px, 1.2vw, 14px);
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: #ffffff;
  opacity: 0.92;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.4);
}

/* Animate the bottom overlay the same way as before (the keyframes were updated) */
.hero-animate .hero-overlay-bottom {
  animation: overlayRise 1.4s ease-out 0.5s both;
}

@media (max-width: 700px) {
  .hero-gradient { height: 50%; }

  .hero-overlay-bottom {
    bottom: 7%;
    width: calc(100% - 32px);
    padding: 0 16px;
  }

  .hero-overlay-bottom h1 {
    font-size: clamp(34px, 10vw, 54px);
  }

  .hero-overlay-bottom .hero-date-line {
    font-size: 14px;
    letter-spacing: 0.2em;
    margin-top: 14px;
  }

  .hero-overlay-bottom .hero-location-line {
    font-size: 11px;
    letter-spacing: 0.24em;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-animate .hero-overlay-bottom { animation: none; }
}
/* ---------- Title block under the hero image (same style as Event Details) ---------- */
.hero-title-block {
  text-align: center;
  padding: 64px 24px 40px;
  background: linear-gradient(180deg, #ffffff 0%, #f8f8f8 100%);
  position: relative;
  overflow: hidden;
}

.hero-title-block::before {
  content: '';
  position: absolute;
  top: -120px; right: -100px;
  width: 420px; height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(238, 228, 217, 0.55) 0%, transparent 70%);
  pointer-events: none;
}

.hero-title-block::after {
  content: '';
  position: absolute;
  bottom: -80px; left: -80px;
  width: 320px; height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(238, 228, 217, 0.45) 0%, transparent 70%);
  pointer-events: none;
}

.hero-title-eyebrow {
  margin: 0 0 14px;
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #8a7f75;
  position: relative;
  z-index: 1;
}

.hero-title-block h1 {
  margin: 0 0 14px;
  font-size: clamp(34px, 4.6vw, 54px);
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.02em;
  color: #2f2a26;
  text-shadow: none;
  position: relative;
  z-index: 1;
}

.hero-title-block .hero-title-subtitle {
  margin: 0;
  font-size: clamp(17px, 2vw, 20px);
  color: #5a534d;
  line-height: 1.42;
  position: relative;
  z-index: 1;
}

/* Entry animation */
@keyframes heroTitleRise {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}

.hero-title-block {
  animation: heroTitleRise 1.2s ease-out 0.4s both;
}

@media (prefers-reduced-motion: reduce) {
  .hero-title-block { animation: none; }
}

@media (max-width: 700px) {
  .hero-title-block {
    padding: 44px 20px 32px;
  }

  .hero-title-block .hero-title-subtitle {
    font-size: 16px;
  }
}

.intro-actions {
  display: flex;
  justify-content: center;
  gap: 14px;
  margin-top: 28px;
  flex-wrap: wrap;
}

.intro-actions .button-primary,
.intro-actions .button-secondary {
  background: linear-gradient(135deg, #2f2f2f, #55504a);
  color: #ffffff;
  border: 1px solid rgba(47, 47, 47, 0.35);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.14);
}

.intro-actions .button-primary:hover,
.intro-actions .button-secondary:hover {
  background: linear-gradient(135deg, #1f1f1f, #47413c);
  color: #ffffff;
}
/* Reduce spacing on homepage intro after removing subtitle */
.intro-section {
  padding-top: 30px;
  padding-bottom: 30px;
}

.intro-text h2 {
  margin-bottom: 22px;
}

.intro-actions {
  margin-top: 22px;
}
/* Compact homepage intro section after removing subtitle */
.intro-section {
  margin: 0 auto;
  padding-top: 22px;
  padding-bottom: 34px;
}

.intro-text h2 {
  margin-bottom: 24px;
}

.intro-actions {
  margin-top: 0;
}

/* ---------- Hamburger navigation ---------- */
.site-header {
  padding: 0 32px;
  border-bottom: 1px solid rgba(47, 42, 38, 0.12);
  box-shadow: 0 4px 18px rgba(47, 42, 38, 0.06);
}

.mobile-nav-bar {
  max-width: 1100px;
  min-height: 76px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.mobile-nav-home {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  color: #2f2a26;
  font-size: 22px;
  line-height: 1;
  text-decoration: none;
}

.site-header-names {
  white-space: nowrap;
}

.site-header-date {
  padding-left: 16px;
  border-left: 1px solid rgba(47, 42, 38, 0.18);
  font-size: 12px;
  letter-spacing: 0.06em;
  white-space: nowrap;
  color: #756d66;
}

.header-actions {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  direction: ltr;
}

.header-actions .nav-toggle {
  margin: 0;
}

.language-picker {
  position: relative;
  display: inline-flex;
  align-items: center;
  transform: translateY(4px);
}

.language-button {
  min-width: 58px;
  height: 28px;
  padding: 0 7px 0 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border: 0;
  border-radius: 999px;
  background-color: #ffffff;
  color: #5a534d;
  font-family: inherit;
  font-size: 13px;
  line-height: 1;
  letter-spacing: 0.08em;
  direction: ltr;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(47, 42, 38, 0.08);
  transition: box-shadow 0.2s ease, color 0.2s ease;
}

.language-button:hover,
.language-button[aria-expanded="true"] {
  background-color: #ffffff;
  color: #1f1a17;
  box-shadow: 0 3px 11px rgba(47, 42, 38, 0.14);
}

.language-button:focus-visible,
.language-option:focus-visible {
  outline: 2px solid #2f2a26;
  outline-offset: 2px;
}

.language-button-label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.language-button-chevron {
  width: 5px;
  height: 5px;
  margin-left: auto;
  border-right: 1px solid currentColor;
  border-bottom: 1px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
  flex: 0 0 auto;
}

.language-menu {
  position: absolute;
  top: calc(50% + 19px);
  right: 0;
  z-index: 3;
  width: 62px;
  padding: 2px;
  border-radius: 10px;
  background-color: #ffffff;
  box-shadow: 0 12px 26px rgba(47, 42, 38, 0.14);
}

.language-menu[hidden] {
  display: none;
}

.language-option {
  display: block;
  width: 100%;
  height: 20px;
  min-height: 20px;
  padding: 0 3px;
  border: 0;
  border-radius: 7px;
  background: transparent;
  color: #5a534d;
  font-family: inherit;
  font-size: 13px;
  line-height: 20px;
  text-align: center;
  cursor: pointer;
}

.language-option:hover,
.language-option[aria-checked="true"] {
  background-color: rgba(47, 42, 38, 0.06);
  color: #1f1a17;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.nav-toggle {
  width: 48px;
  height: 48px;
  margin: 0 -12px 0 0;
  padding: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 12px;
  background: transparent;
  color: #2f2a26;
  transition: background-color 0.2s ease, box-shadow 0.2s ease;
}

.nav-toggle:hover {
  background: rgba(47, 42, 38, 0.05);
  box-shadow: 0 5px 14px rgba(47, 42, 38, 0.11);
}

.nav-toggle:focus-visible {
  outline: 2px solid #2f2a26;
  outline-offset: -4px;
}

.nav-toggle-icon {
  position: relative;
  width: 24px;
  height: 18px;
  display: block;
}

.nav-toggle-icon span {
  position: absolute;
  left: 0;
  width: 100%;
  height: 1.5px;
  border-radius: 2px;
  background: currentColor;
  transition: transform 0.2s ease, opacity 0.2s ease, top 0.2s ease;
}

.nav-toggle-icon span:nth-child(1) {
  top: 1px;
}

.nav-toggle-icon span:nth-child(2) {
  top: 8px;
}

.nav-toggle-icon span:nth-child(3) {
  top: 15px;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-icon span:nth-child(1) {
  top: 8px;
  transform: rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-icon span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-icon span:nth-child(3) {
  top: 8px;
  transform: rotate(-45deg);
}

.main-nav {
  position: absolute;
  top: 100%;
  right: max(32px, calc((100% - 1100px) / 2));
  left: auto;
  width: min(200px, calc(100% - 64px));
  max-width: none;
  margin: 0;
  padding: 8px 9px 10px;
  flex-direction: column;
  align-items: stretch;
  flex-wrap: nowrap;
  gap: 2px;
  border-bottom: 1px solid rgba(47, 42, 38, 0.12);
  border-radius: 0 0 15px 15px;
  box-shadow: 0 14px 24px rgba(47, 42, 38, 0.1);
}

.site-header[data-nav-ready] .main-nav {
  display: none;
}

.site-header[data-nav-ready] .main-nav.is-open {
  display: flex;
}

.main-nav a {
  padding: 9px 8px;
  font-size: 13px;
  line-height: 1.2;
  text-align: center;
  border-radius: 9px;
  transition: background-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.main-nav a:hover,
.main-nav a:focus-visible {
  background: rgba(255, 255, 255, 0.76);
  box-shadow: 0 8px 20px rgba(47, 42, 38, 0.1);
  transform: translateY(-1px);
}

.main-nav a[aria-current="page"] {
  color: #1f1a17;
  background: rgba(238, 228, 217, 0.55);
  box-shadow: 0 7px 18px rgba(47, 42, 38, 0.1), 0 1px 4px rgba(47, 42, 38, 0.08);
}

@media (max-width: 700px) {
  .site-header {
    padding: 0 20px;
  }

  .mobile-nav-bar {
    min-height: 64px;
  }

  .mobile-nav-home {
    font-size: 18px;
    flex-direction: column;
    align-items: flex-start;
    row-gap: 4px;
  }

  .site-header-date {
    padding-left: 0;
    border-left: 0;
    font-size: 10px;
  }

  .header-actions {
    gap: 4px;
  }

  .language-button {
    min-width: 58px;
    height: 28px;
    padding: 0 7px 0 10px;
    gap: 6px;
    font-size: 13px;
  }

  .main-nav {
    right: 20px;
    left: auto;
    width: min(200px, calc(100% - 40px));
  }
}

html[dir="rtl"] body {
  text-align: right;
  font-family: "Tahoma", "Arial", sans-serif;
}

html[dir="rtl"] .ev-day-content,
html[dir="rtl"] .ts-step-content,
html[dir="rtl"] .rsvp-group,
html[dir="rtl"] .rsvp-field,
html[dir="rtl"] .av-step,
html[dir="rtl"] .av-guide-heading,
html[dir="rtl"] .av-place-card,
html[dir="rtl"] .av-restaurant-card,
html[dir="rtl"] .ev-info-row {
  text-align: right !important;
}

html[dir="rtl"] input,
html[dir="rtl"] textarea,
html[dir="rtl"] select {
  text-align: right;
  direction: rtl;
}

@media (prefers-reduced-motion: reduce) {
  .nav-toggle-icon span,
  .nav-toggle,
  .main-nav a {
    transition: none;
  }
}
