:root {
  --cream: #fbf5f1;
  --wine: #51304f;
  --rose: #c64e7b;
  --text: #352e32;
  font-family: "Segoe UI", Arial, sans-serif;
  color: var(--text);
  background: var(--cream);
}

* { box-sizing: border-box; }

html, body {
  width: 100%;
  height: 100%;
  margin: 0;
  overflow: hidden;
  background: var(--cream);
}

button, a { -webkit-tap-highlight-color: transparent; }

.card {
  width: 100vw;
  height: 100vh;
  height: 100dvh;
  min-height: 0;
  overflow: hidden;
  background:
    radial-gradient(circle at 4% 90%, rgba(168,143,188,.13), transparent 24%),
    radial-gradient(circle at 96% 8%, rgba(222,167,188,.12), transparent 25%),
    linear-gradient(135deg, #fbf6f2, #f8eff0);
  display: grid;
  grid-template-columns: minmax(0, 58%) minmax(0, 42%);
  grid-template-rows: minmax(0, 1fr) auto;
  gap: clamp(8px, 1vw, 20px);
  padding: clamp(16px, 2.1vw, 42px) clamp(18px, 2.8vw, 54px) clamp(10px, 1.2vw, 24px);
}

.hero {
  grid-column: 1;
  grid-row: 1;
  min-width: 0;
  min-height: 0;
  position: relative;
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  justify-items: center;
  align-items: stretch;
}

.hero-photo {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 0;
  max-height: none;
  object-fit: contain;
  object-position: top center;
  filter: drop-shadow(0 12px 20px rgba(70, 44, 62, .14));
}

.language-switch {
  direction: ltr;
  position: absolute;
  top: clamp(9px, 2.4%, 24px);
  left: 46%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: clamp(7px, .9vw, 15px);
  white-space: nowrap;
  font-size: clamp(17px, 1.45vw, 25px);
  color: #2f2a2d;
}

.language-switch button {
  appearance: none;
  border: 0;
  padding: 3px 2px;
  background: transparent;
  color: inherit;
  font: inherit;
  cursor: pointer;
}

.language-switch button.active { color: #b93166; }
.language-switch button:focus-visible { outline: 2px solid #b93166; outline-offset: 3px; }

.title-block { text-align: center; color: var(--wine); }
.title-block h1 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(31px, 3vw, 56px);
  line-height: 1.08;
  font-weight: 700;
}

.desktop-title {
  margin-top: 0;
  padding: clamp(8px, 1vw, 18px) 5px clamp(2px, .4vw, 7px);
}
.mobile-title { display: none; }

.ornament {
  margin: clamp(6px, .7vw, 12px) auto 0;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  color: var(--rose);
}
.ornament span { width: clamp(48px, 6vw, 128px); height: 1px; background: #d79db4; }
.ornament b { font-size: 14px; line-height: 1; }

.information {
  grid-column: 2;
  grid-row: 1;
  min-width: 0;
  min-height: 0;
  border-radius: clamp(20px, 2.4vw, 46px);
  background: rgba(255, 252, 249, .94);
  box-shadow: 0 16px 36px rgba(62, 39, 56, .12);
  padding: clamp(18px, 2vw, 38px);
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  align-items: start;
  gap: clamp(10px, 1.2vh, 22px);
}

.benefits {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(10px, 1vw, 20px);
}

.benefit {
  min-width: 0;
  min-height: clamp(88px, 9.8vh, 112px);
  border: 1px solid #efd2dc;
  border-radius: clamp(17px, 1.6vw, 26px);
  background: #f8e9ee;
  padding: clamp(8px, .85vw, 16px);
  display: grid;
  grid-template-columns: clamp(48px, 4.4vw, 70px) 1fr;
  align-items: center;
  gap: clamp(8px, .8vw, 14px);
}

.benefit img { width: 100%; height: auto; display: block; }
.benefit span {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(15px, 1.12vw, 21px);
  line-height: 1.3;
  text-align: start;
}

.copy {
  width: 100%;
  text-align: center;
  align-self: center;
}
.copy h2 {
  margin: 0 0 clamp(16px, 2.2vh, 28px);
  color: var(--rose);
  font: 400 clamp(24px, 1.85vw, 36px)/1.22 Georgia, "Times New Roman", serif;
}
.copy p {
  max-width: 820px;
  margin: 0 auto clamp(15px, 1.8vh, 24px);
  font-size: clamp(15px, 1.16vw, 22px);
  line-height: 1.42;
}
.copy p:last-child { margin-bottom: 0; }

.social-links {
  direction: ltr;
  grid-column: 1 / 3;
  grid-row: 2;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(14px, 1.4vw, 28px);
  padding: 0 clamp(18px, 1.5vw, 30px);
  align-items: center;
}
.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  transition: transform .18s ease, filter .18s ease;
}
.social-links a:hover { transform: translateY(-2px); filter: brightness(1.03); }
.social-links a:focus-visible { outline: 3px solid #b93166; outline-offset: 4px; border-radius: 14px; }
.social-links img {
  display: block;
  width: auto;
  height: clamp(70px, 10vh, 132px);
  max-width: 100%;
  object-fit: contain;
  filter: drop-shadow(0 8px 9px rgba(54, 37, 48, .15));
}

.thanks {
  margin: 0;
  text-align: center;
  color: #ad4d74;
  font: italic clamp(15px, 1.22vw, 23px)/1.2 Georgia, "Times New Roman", serif;
}

.thanks-desktop { display: block; align-self: end; }
.thanks-mobile { display: none; }

html[dir="rtl"] .copy,
html[dir="rtl"] .benefit span { direction: rtl; }

@media (orientation: portrait) {
  .card {
    display: flex;
    flex-direction: column;
    gap: 0;
    padding: 0;
  }

  .hero { flex: 0 0 auto; display: block; width: 100%; }
  .hero-photo {
    width: 100%;
    height: auto;
    max-height: none;
    filter: none;
  }
  .language-switch {
    left: 45.5%;
    gap: clamp(7px, 2vw, 13px);
    font-size: clamp(16px, 4.1vw, 24px);
  }
  .desktop-title { display: none; }

  .information {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    flex: 1 1 auto;
    width: 100%;
    min-height: 0;
    border-radius: 0;
    box-shadow: none;
    background: rgba(251, 245, 241, .97);
    padding: clamp(8px, 1.5vh, 22px) clamp(12px, 3vw, 46px) clamp(4px, .8vh, 12px);
    justify-content: flex-start;
    gap: clamp(5px, .85vh, 13px);
  }

  .mobile-title { display: block; }
  .title-block h1 { font-size: clamp(25px, 5.4vw, 55px); }
  .ornament { margin-top: clamp(3px, .5vh, 8px); }

  .benefits {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0;
  }
  .benefit {
    min-height: 0;
    border: 0;
    border-radius: 0;
    border-right: 1px solid #ead9de;
    background: transparent;
    padding: 0 clamp(2px, .7vw, 8px);
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: clamp(3px, .5vh, 7px);
  }
  .benefit:last-child { border-right: 0; }
  html[dir="rtl"] .benefit { border-right: 0; border-left: 1px solid #ead9de; }
  html[dir="rtl"] .benefit:last-child { border-left: 0; }
  .benefit img { width: clamp(36px, 6.3vw, 68px); }
  .benefit span {
    width: 100%;
    text-align: center;
    font-size: clamp(9px, 1.95vw, 17px);
    line-height: 1.25;
  }

  .copy {
    flex: 1 1 auto;
    min-height: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    align-self: stretch;
    padding-top: clamp(4px, .8vh, 10px);
  }
  .copy h2 {
    margin-bottom: clamp(6px, 1vh, 13px);
    font-size: clamp(16px, 3.2vw, 29px);
  }
  .copy p {
    max-width: 94%;
    margin-bottom: clamp(6px, 1.05vh, 14px);
    font-size: clamp(10px, 2.08vw, 18px);
    line-height: 1.35;
  }

  .social-links {
    flex: 0 0 auto;
    width: 100%;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(8px, 2vw, 24px);
    padding: clamp(5px, .7vh, 10px) clamp(12px, 4vw, 54px) 0;
  }
  .social-links img {
    width: 100%;
    height: auto;
    max-height: clamp(58px, 9.5vh, 150px);
  }
  .thanks {
    flex: 0 0 auto;
    width: 100%;
    padding: clamp(4px, .75vh, 10px) 8px max(5px, env(safe-area-inset-bottom));
    font-size: clamp(10px, 2vw, 17px);
  }
  .thanks-desktop { display: none; }
  .thanks-mobile { display: block; }
}

@media (max-width: 520px) and (min-height: 760px) {
  .information { padding: 5px 12px 2px; gap: 3px; }
  .title-block h1 { font-size: clamp(20px, 5.5vw, 24px); white-space: nowrap; }
  .ornament { margin-top: 2px; }
  .benefit img { width: clamp(32px, 8.7vw, 42px); }
  .benefit span { font-size: clamp(8.8px, 2.45vw, 10.5px); }
  .copy h2 { margin-bottom: 5px; font-size: clamp(17px, 4.7vw, 21px); }
  .copy p { max-width: 96%; margin-bottom: 7px; font-size: clamp(10.5px, 2.9vw, 12.5px); line-height: 1.32; }
  .social-links { padding-top: 2px; }
  .social-links img { max-height: 64px; }
  .thanks { padding-top: 2px; font-size: 9px; }
}

@media (min-width: 521px) and (max-width: 1100px) and (orientation: portrait) {
  .information { padding: 6px 24px 2px; gap: 3px; }
  .title-block h1 { font-size: clamp(29px, 4.4vw, 36px); }
  .ornament { margin-top: 2px; }
  .benefit img { width: clamp(40px, 5.6vw, 50px); }
  .benefit span { font-size: clamp(10px, 1.55vw, 13px); line-height: 1.2; }
  .copy h2 { margin-bottom: 4px; font-size: clamp(18px, 2.7vw, 23px); }
  .copy p { max-width: 94%; margin-bottom: 4px; font-size: clamp(10px, 1.62vw, 13px); line-height: 1.23; }
  .social-links { padding-top: 2px; }
  .social-links img { max-height: 76px; }
  .thanks { padding-top: 2px; padding-bottom: 3px; font-size: 10px; }
}

@media (min-width: 1101px) and (max-height: 820px) and (orientation: landscape) {
  .information {
    padding: clamp(14px, 1.25vw, 22px);
    gap: clamp(7px, 1vh, 11px);
  }
  .benefits { gap: clamp(8px, .7vw, 13px); }
  .benefit {
    min-height: clamp(78px, 11.5vh, 94px);
    padding: clamp(7px, .65vw, 12px);
    grid-template-columns: clamp(42px, 3.6vw, 58px) 1fr;
    gap: clamp(7px, .65vw, 11px);
  }
  .benefit span { font-size: clamp(15px, 1.05vw, 19px); line-height: 1.24; }
  .copy h2 {
    margin-bottom: clamp(9px, 1.45vh, 13px);
    font-size: clamp(25px, 1.75vw, 34px);
  }
  .copy p {
    max-width: 780px;
    margin-bottom: clamp(9px, 1.35vh, 13px);
    font-size: clamp(16px, 1.1vw, 20.5px);
    line-height: 1.38;
  }
  .thanks { font-size: clamp(15px, 1.08vw, 20px); }
}

@media (max-height: 700px) and (orientation: landscape) {
  .card {
    gap: 7px;
    padding: 7px 12px 5px;
  }
  .title-block h1 { font-size: clamp(24px, 2.8vw, 36px); }
  .desktop-title { padding: 4px 3px 0; }
  .ornament { margin-top: 3px; }
  .information { padding: 10px 12px; gap: 5px; }
  .benefits { gap: 6px; }
  .benefit {
    min-height: 54px;
    padding: 5px 7px;
    grid-template-columns: 34px 1fr;
    gap: 6px;
    border-radius: 13px;
  }
  .benefit span { font-size: clamp(9px, .9vw, 12px); line-height: 1.15; }
  .copy h2 { margin-bottom: 4px; font-size: clamp(15px, 1.5vw, 20px); }
  .copy p { margin-bottom: 3px; font-size: clamp(8px, .85vw, 11px); line-height: 1.2; }
  .social-links { gap: 10px; padding-inline: 20px; }
  .social-links img { height: clamp(48px, 10vh, 62px); }
  .thanks { font-size: clamp(9px, 1vw, 12px); }
}
