@import url("https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500;1,600&display=swap");

:root {
  --legacy-bg: #f5e6d3;
  --legacy-fg: #2b5f7f;
  --legacy-card: #fbf0df;
  --legacy-secondary: #ded0ba;
  --legacy-muted: #5c7890;
  --legacy-accent: #d4a574;
  --legacy-accent-dark: #1f465f;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: clip;
}

body.home.hostinger-ai-builder-elementor,
body.home.hostinger-ai-builder-gutenberg,
body.home.elementor-page {
  padding-top: 0 !important;
}

body.home .wp-site-blocks,
body.home .wp-site-blocks > .legacy-page:first-child,
body.home .entry-content.wp-block-post-content {
  margin-top: 0 !important;
  margin-block-start: 0 !important;
  max-width: none !important;
  padding-top: 0 !important;
  padding-right: 0 !important;
  padding-left: 0 !important;
  width: 100% !important;
}

body.home .entry-content.wp-block-post-content > .legacy-page {
  margin: 0 !important;
  max-width: none !important;
  width: 100% !important;
}

body.home #wp-skip-link:not(:focus) {
  clip: rect(1px, 1px, 1px, 1px) !important;
  height: 1px !important;
  overflow: hidden !important;
  position: absolute !important;
  top: -1000px !important;
  width: 1px !important;
}

body.home .hostinger-ai-menu {
  display: none !important;
}

body .legacy-page {
  background: var(--legacy-bg);
  color: var(--legacy-fg);
  font-family: "Playfair Display", Georgia, serif !important;
  line-height: 1.625;
  min-height: 100vh;
}

.legacy-page *,
.legacy-page *::before,
.legacy-page *::after {
  box-sizing: border-box;
}

.legacy-section {
  position: relative;
  width: 100%;
}

.legacy-poster-section {
  align-items: center;
  background: var(--legacy-secondary);
  border-bottom: 1px solid rgba(212, 165, 116, 0.22);
  display: flex;
  justify-content: center;
}

.legacy-poster {
  box-shadow: 0 25px 50px rgba(31, 70, 95, 0.22);
  display: block;
  height: auto;
  max-width: 100%;
  object-fit: cover;
  width: 100%;
}

.legacy-details {
  background: var(--legacy-bg);
  padding: clamp(5rem, 9vw, 7rem) 1rem;
  text-align: center;
}

.legacy-details::before,
.legacy-form-section::before,
.legacy-form-section::after {
  background: rgba(212, 165, 116, 0.8);
  content: "";
  height: 3rem;
  left: 50%;
  position: absolute;
  top: 0;
  transform: translateX(-50%);
  width: 1px;
}

.legacy-container {
  margin: 0 auto;
  max-width: 64rem;
  padding: 0 1rem;
  width: 100%;
}

.legacy-title {
  border-bottom: 1px solid rgba(212, 165, 116, 0.32);
  color: var(--legacy-fg);
  display: inline-block;
  font-family: "Playfair Display", Georgia, serif !important;
  font-size: clamp(2.35rem, 5vw, 3.75rem) !important;
  font-weight: 700 !important;
  letter-spacing: 0.12em !important;
  line-height: 1.12 !important;
  margin: 0 0 3rem;
  padding-bottom: 2rem;
  text-transform: uppercase;
}

.legacy-detail-list {
  display: grid;
  gap: 2rem;
  list-style: none;
  margin: 0 auto;
  max-width: 42rem;
  padding: 0;
  text-align: left;
}

.legacy-detail-list li {
  align-items: flex-start;
  color: rgba(43, 95, 127, 0.92);
  display: flex;
  font-family: "Playfair Display", Georgia, serif !important;
  font-size: clamp(1.25rem, 2.6vw, 1.55rem);
  gap: 1rem;
}

.legacy-detail-list .legacy-star {
  color: var(--legacy-accent);
  flex: 0 0 auto;
  font-size: 1.85rem;
  line-height: 1.1;
  margin-top: 0.05rem;
}

.legacy-form-section {
  background: var(--legacy-secondary);
  border-bottom: 1px solid rgba(212, 165, 116, 0.3);
  border-top: 1px solid rgba(212, 165, 116, 0.3);
  box-shadow: inset 0 24px 42px rgba(31, 70, 95, 0.05), inset 0 -24px 42px rgba(31, 70, 95, 0.05);
  overflow: hidden;
  padding: clamp(6rem, 10vw, 8rem) 1rem;
}

.legacy-form-section::before {
  background: rgba(212, 165, 116, 0.42);
  height: 4rem;
}

.legacy-form-section::after {
  background: rgba(212, 165, 116, 0.42);
  bottom: 0;
  height: 4rem;
  top: auto;
}

.legacy-form-section .legacy-overlay {
  background: rgba(245, 230, 211, 0.5);
  inset: 0;
  position: absolute;
}

.legacy-form-card {
  background: var(--legacy-card);
  border: 1px solid rgba(212, 165, 116, 0.45);
  box-shadow: 0 25px 50px rgba(31, 70, 95, 0.18);
  margin: 0 auto;
  max-width: 30rem;
  overflow: hidden;
  padding: 2.5rem 2rem;
  position: relative;
  width: 100%;
  z-index: 1;
}

.legacy-form-card::before {
  border: 1px solid rgba(212, 165, 116, 0.22);
  content: "";
  inset: 0.5rem;
  pointer-events: none;
  position: absolute;
}

.legacy-form-content {
  position: relative;
  z-index: 1;
}

.legacy-form-heading {
  text-align: center;
}

.legacy-form-heading h2 {
  color: var(--legacy-fg);
  font-family: "Playfair Display", Georgia, serif !important;
  font-size: clamp(1.85rem, 5vw, 2.1rem) !important;
  font-weight: 700 !important;
  line-height: 1.16 !important;
  margin: 0 0 0.65rem;
}

.legacy-form-heading p {
  color: rgba(92, 120, 144, 0.94);
  font-family: "Playfair Display", Georgia, serif !important;
  font-size: 1.1rem;
  font-style: italic;
  font-weight: 500;
  margin: 0;
}

.legacy-rule {
  background: var(--legacy-accent);
  height: 2px;
  margin: 1.5rem auto 1.75rem;
  width: 3rem;
}

.legacy-reach-form,
.legacy-form-fields {
  display: grid;
  gap: 1rem;
  margin: 0;
  width: 100%;
}

.legacy-form-field {
  display: grid;
  gap: 0.45rem;
}

.legacy-form-field label {
  color: rgba(43, 95, 127, 0.92);
  display: block;
  font-family: "Playfair Display", Georgia, serif !important;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.35;
  margin: 0 0 0.45rem;
  text-transform: uppercase;
}

.legacy-form-field input {
  background: rgba(245, 230, 211, 0.82);
  border: 1px solid rgba(212, 165, 116, 0.42);
  border-radius: 2px !important;
  color: var(--legacy-fg);
  display: block;
  font: 500 1rem/1.4 "Playfair Display", Georgia, serif;
  min-height: 3rem;
  outline: none;
  padding: 0.75rem 1rem;
  transition: border-color 160ms ease, box-shadow 160ms ease;
  width: 100%;
}

.legacy-form-field input:focus {
  border-color: var(--legacy-accent);
  box-shadow: 0 0 0 3px rgba(212, 165, 116, 0.2);
}

.legacy-form-field input[aria-invalid="true"] {
  border-color: rgba(136, 56, 56, 0.68);
}

.legacy-reach-submit {
  align-items: center;
  background: var(--legacy-accent) !important;
  border: 0;
  border-radius: 2px !important;
  color: var(--legacy-accent-dark) !important;
  cursor: pointer;
  display: flex;
  font-family: "Playfair Display", Georgia, serif !important;
  font-size: 0.96rem;
  font-weight: 700;
  justify-content: center;
  letter-spacing: 0.16em;
  min-height: 3.5rem;
  padding: 0.8rem 1rem;
  text-align: center;
  text-transform: uppercase;
  transition: filter 160ms ease, transform 160ms ease;
  width: 100%;
}

.legacy-reach-submit:hover {
  filter: brightness(1.08);
}

.legacy-reach-submit:active {
  transform: scale(0.98);
}

.legacy-reach-submit:disabled {
  cursor: wait;
  filter: saturate(0.78);
  opacity: 0.78;
}

.legacy-form-message {
  border: 1px solid rgba(212, 165, 116, 0.3);
  color: var(--legacy-fg);
  font-size: 0.95rem;
  line-height: 1.45;
  margin-top: 1rem;
  padding: 1rem;
  text-align: center;
}

.legacy-form-message.is-success {
  background: rgba(212, 165, 116, 0.16);
}

.legacy-form-message.is-error {
  background: rgba(136, 56, 56, 0.08);
  border-color: rgba(136, 56, 56, 0.28);
}

.legacy-field-error {
  color: rgb(136, 56, 56);
  font-size: 0.9rem;
  line-height: 1.35;
  margin-top: -0.2rem;
}

.legacy-honeypot {
  height: 0;
  left: -9999px;
  opacity: 0;
  overflow: hidden;
  position: absolute;
  width: 0;
}

.legacy-quote {
  background: var(--legacy-bg);
  border-bottom: 1px solid rgba(212, 165, 116, 0.22);
  padding: clamp(6rem, 10vw, 8rem) 1rem;
  text-align: center;
}

.legacy-quote-inner {
  margin: 0 auto;
  max-width: 56rem;
  position: relative;
}

.legacy-quote-mark {
  color: rgba(212, 165, 116, 0.32);
  font-family: Georgia, serif;
  font-size: 6rem;
  left: 50%;
  line-height: 1;
  position: absolute;
  top: -4rem;
  transform: translateX(-50%);
}

.legacy-quote blockquote {
  margin: 0;
  position: relative;
  z-index: 1;
}

.legacy-quote p {
  color: var(--legacy-fg);
  font-family: "Playfair Display", Georgia, serif !important;
  font-size: clamp(1.45rem, 3.4vw, 2.55rem);
  font-style: italic;
  font-weight: 500;
  line-height: 1.45;
  margin: 0;
}

.legacy-quote strong {
  color: var(--legacy-accent);
  font-weight: 700;
}

.legacy-quote-rule {
  background: var(--legacy-accent);
  height: 4px;
  margin: 3rem auto 0;
  width: 6rem;
}

@media (min-width: 1024px) {
  .legacy-poster {
    width: 45%;
  }
}

@media (max-width: 640px) {
  .legacy-title {
    letter-spacing: 0.08em;
  }

  .legacy-form-card {
    padding: 2.25rem 1.5rem;
  }

  .legacy-detail-list li {
    gap: 0.8rem;
  }
}
