:root {
  --color-heading: #0f172a;
  --color-text: #6e6e6e;
  --color-primary: #b7906e;
  --color-primary-hover: #9d7554;
  --color-cream: #fffbe6;
  --color-cream-light: #fbf7e2;
  --color-taupe: #f0e9e3;
  --color-surface: #fffbe6;
  --container: 1440px;
  --container-narrow: 1120px;
  --page-padding: clamp(16px, 4.5vw, 64px);
  --heading-font: 'Styrene UI', 'Inter', Arial, sans-serif;
  --body-font: 'Inter', Arial, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 100px; }
html, body { min-height: 100%; }
body { margin: 0; background: var(--color-surface); color: var(--color-text); font-family: var(--body-font); font-size: 17px; font-weight: 400; line-height: 1.6; -webkit-font-smoothing: antialiased; }
h1, h2, h3, p { margin: 0; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
img { display: block; max-width: 100%; }
button { cursor: pointer; }
.wrapper { display: flex; min-height: 100vh; flex-direction: column; overflow-x: clip; }
.main { flex: 1 0 auto; }
.section-title { color: var(--color-heading); font-family: var(--heading-font); font-size: 48px; font-weight: 500; line-height: 1.42; text-align: center; }
.section-narrow { width: 100%; max-width: 1120px; margin: 0 auto; }
.actions { display: flex; align-items: center; gap: 20px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 56px; padding: 17px 36px; border: 2px solid var(--color-primary); border-radius: 100px; background: var(--color-primary); color: #fff; font-size: 16px; font-weight: 500; line-height: 1.1; text-align: center; transition: background .2s, border-color .2s, color .2s; }
.button:hover { background: var(--color-primary-hover); border-color: var(--color-primary-hover); }
.button-outline { background: transparent; }
.button-outline:hover { color: #fff; }
:focus-visible { outline: 3px solid #6043ed; outline-offset: 3px; }

/* HEADER */
.header { position: absolute; z-index: 30; top: 24px; left: 0; right: 0; }
.header-inner { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; width: calc(100% - 128px); max-width: 1440px; min-height: 72px; margin: 0 auto; padding: 10px 35px; border-radius: 48px; background: var(--color-primary); color: #fff; }
.header-link { justify-self: start; font-size: 16px; }
.logo { justify-self: center; font-family: var(--heading-font); font-size: 34px; font-weight: 500; line-height: 1.2; white-space: nowrap; }
.header-nav { display: flex; justify-self: end; align-items: center; gap: 38px; font-size: 16px; }
.header-nav a, .header-link { transition: opacity .2s; }
.header-nav a:hover, .header-link:hover { opacity: .72; }
.nav-mobile-only { display: none; }
.header-menu { display: none; position: relative; width: 38px; height: 36px; padding: 6px; border: 0; background: transparent; color: #fff; }
.header-menu-open, .header-menu-close { position: absolute; top: 50%; left: 50%; width: 21px; height: 21px; transform: translate(-50%, -50%); transition: opacity .2s; }
.header-menu-close { opacity: 0; }
.header.is-menu-open .header-menu-close { opacity: 1; }
.header.is-menu-open .header-menu-open { opacity: 0; }

/* HERO — decorative background asset */
.hero { position: relative; display: flex; align-items: flex-end; min-height: 800px; padding: 140px 64px 118px; border-radius: 0 0 48px 48px; background-color: #f0d962; background-image: url('../images/content/hero-yurt.jpg'); background-position: center; background-size: cover; background-repeat: no-repeat; overflow: hidden; }
.hero-inner { display: flex; justify-content: flex-end; width: 100%; max-width: 1440px; margin: 0 auto; }
.hero-panel { width: min(100%, 865px); padding: 40px; border-radius: 32px; background: rgba(117, 86, 65, .5); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); color: #fff; }
.hero-copy { display: flex; flex-direction: column; gap: 48px; }
.hero h1 { color: #fff; font-family: var(--heading-font); font-size: 48px; font-weight: 500; line-height: 1.42; }
.hero-copy p { max-width: 574px; font-size: 19px; font-weight: 300; line-height: 1.4; }
.hero-actions { margin-top: 32px; }
.hero .button-outline { border-color: #fff7d6; color: #fff; }

/* ABOUT */
.about { display: flex; align-items: center; min-height: 655px; padding: 100px var(--page-padding); border-radius: 48px 48px 0 0; background: var(--color-cream-light); }
.about-inner { width: 100%; max-width: 1140px; margin: 0 auto; }
.about-content { text-align: center; }
.about-content h2 { max-width: 920px; margin: 0 auto; color: var(--color-heading); font-family: var(--heading-font); font-size: 48px; font-weight: 500; line-height: 1.42; }
.about-content p { margin: 33px auto 0; font-size: 32px; font-weight: 400; line-height: 1.25; }

/* BENEFITS — decorative background asset */
.benefits { position: relative; isolation: isolate; min-height: 1000px; display: flex; align-items: center; padding: 110px 10px; border-radius: 0 0 48px 48px; background: linear-gradient(0deg, var(--color-primary) 1%, var(--color-cream-light) 92%); overflow: hidden; }
.benefits::before { content: ''; position: absolute; z-index: -1; left: 0; right: 0; bottom: 0; height: 33%; background: url('../images/content/hero-yurt.jpg') center bottom / cover no-repeat; opacity: .39; pointer-events: none; }
.benefits-inner { width: 100%; max-width: 1440px; margin: 0 auto; }
.benefits-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 20px; padding: 10px; }
.benefit-card { display: flex; align-items: center; justify-content: center; flex-direction: column; min-height: 215px; padding: 50px 24px; border: 2px solid var(--color-primary); border-radius: 16px; background: #fff; text-align: center; }
.benefit-card h3, .process-card h3, .occasion-card h3 { color: var(--color-heading); font-size: 24px; font-weight: 700; line-height: 1.5; }
.benefit-card p, .process-card p, .occasion-card p { font-size: 17px; line-height: 1.6; }
.benefit-card p { margin-top: 4px; }

/* PROCESS */
.section-blue { background: var(--color-cream); }
.process { padding: 115px 20px 100px; }
.process-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 40px; }
.process-card { display: flex; align-items: center; justify-content: center; flex-direction: column; min-height: 260px; padding: 32px 16px; border: 1px solid var(--color-primary); border-radius: 24px; background: #fff; text-align: center; }
.process-icon { position: relative; width: 90px; height: 90px; margin-bottom: 23px; overflow: hidden; border-radius: 50%; }
.process-icon img:first-child { position: absolute; inset: 0; width: 100%; height: 100%; }
.process-icon img:last-child { position: absolute; top: 50%; left: 50%; max-width: none; transform: translate(-50%, -50%); }
.process-card p { margin-top: 0; }

/* OCCASIONS — decorative background asset */
.occasions { position: relative; display: flex; align-items: center; min-height: 720px; padding: 120px 30px; background: #d4b19b url('../images/content/occasion-market.jpg') center / cover no-repeat; }
.occasions::before { content: ''; position: absolute; inset: 0; background: linear-gradient(to bottom, #b7906e 0%, rgba(183, 144, 110, .2) 100%); pointer-events: none; }
.occasions .section-narrow { position: relative; max-width: 1340px; padding: 35px 34px; border: 1px solid rgba(255,255,255,.35); border-radius: 28px; background: rgba(112, 83, 63, .2); backdrop-filter: blur(2px); }
.occasions .section-title { color: #fff; }
.occasions-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 30px; }
.occasion-card { display: flex; align-items: center; justify-content: center; min-height: 205px; padding: 24px; border-radius: 24px; background: rgba(51, 40, 33, .62); color: #fff; text-align: center; }
.occasion-card h3 { color: #fff; }
.occasion-card p { color: #fff; }

/* CTA */
.cta { background: var(--color-cream); }
.cta-inner { display: flex; align-items: center; justify-content: center; flex-direction: column; min-height: 380px; gap: 18px; padding: 75px 20px; text-align: center; }
.cta h2 { color: var(--color-heading); font-family: var(--heading-font); font-size: 40px; font-weight: 500; line-height: 1.2; }
.cta p { font-size: 17px; line-height: 1.5; }
.cta-actions { margin-top: 16px; }
.cta .button-outline { color: #785334; }

/* FOOTER — full-width background with a centered content container */
.footer { position: relative; isolation: isolate; width: 100%; overflow: hidden; border-radius: 48px 48px 0 0; background: var(--color-primary); color: #fff; }
.footer::before { content: ''; position: absolute; z-index: -1; inset: 0; background: url('../images/content/airport-footer.jpg') center bottom / cover no-repeat; opacity: .3; }
.footer-inner { position: relative; display: flex; align-items: center; justify-content: center; flex-direction: column; width: 100%; max-width: 1440px; min-height: 327px; gap: 65px; margin: 0 auto; padding: 0 154px 48px; text-align: center; font-size: 17px; line-height: 1.6; }
.footer-company { display: flex; align-items: center; flex-direction: column; width: 100%; gap: 22px; }
.footer-address { white-space: pre-line; }
.footer-links { display: flex; align-items: center; justify-content: center; flex-direction: row; flex-wrap: wrap; column-gap: clamp(24px, 6vw, 86px); row-gap: 12px; }
.footer-emails { display: inline-flex; align-items: center; gap: 8px; }
.footer-phone { margin: 0; white-space: nowrap; }
.footer-links a:hover { text-decoration: underline; text-underline-offset: 3px; }

/* FORMS */
.form { display: flex; flex-direction: column; }
.form-field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.form-field label { color: #3a4566; font-size: 13px; font-weight: 500; line-height: 1.6; }
.form-field input, .form-field textarea { width: 100%; min-height: 46px; padding: 12px 14px; border: 1px solid var(--color-primary); border-radius: 8px; outline: none; background: var(--color-taupe); color: #1a202c; font-size: 15px; line-height: 1.4; transition: border-color .2s, background-color .2s, box-shadow .2s; }
.form-field textarea { min-height: 160px; resize: vertical; }
.form-field input::placeholder, .form-field textarea::placeholder { color: #ad9784; opacity: 1; }
.form-field input:focus, .form-field textarea:focus { border-color: var(--color-primary-hover); background: #fff; box-shadow: 0 0 0 3px rgba(183,144,110,.16); }
.form-field input.is-invalid, .form-field textarea.is-invalid { border-color: #d92d20; background: #fff; box-shadow: none; }
.form-error { color: #d92d20; font-size: 13px; line-height: 1.4; }
.form-agreement.is-invalid input { outline: 1px solid #d92d20; }
.form-agreement + .form-error { margin-top: -9px; }
.form-field input[type=number] { appearance: textfield; -moz-appearance: textfield; }
.form-field input[type=number]::-webkit-inner-spin-button, .form-field input[type=number]::-webkit-outer-spin-button { appearance: none; margin: 0; }
.form-columns { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.form-currency { position: relative; display: block; }
.form-currency > span { position: absolute; z-index: 1; top: 50%; left: 14px; transform: translateY(-50%); color: #3a4566; font-size: 15px; }
.form-currency input { padding-left: 29px; }
.form-agreement { display: flex; align-items: flex-start; gap: 5px; color: #16213e; font-size: 14px; font-weight: 500; line-height: 1.6; }
.form-agreement input { flex: 0 0 14px; width: 14px; height: 14px; margin: 4px 0 0; accent-color: var(--color-primary); }
.form-agreement a { color: var(--color-primary); text-decoration: underline; text-underline-offset: 2px; }
.form-submit { display: inline-flex; align-items: center; justify-content: center; width: 100%; min-height: 50px; padding: 12px 15px; border: 0; border-radius: 8px; background: var(--color-primary); color: #fff; font-size: 15px; font-weight: 600; line-height: 1.6; text-align: center; transition: background .2s; }
.form-submit:hover { background: var(--color-primary-hover); }
.form-submit:disabled { cursor: wait; }
.form-status { margin-top: 12px; padding: 10px 12px; border: 1px solid var(--color-primary); border-radius: 8px; background: #fff8ef; color: #785334; font-size: 13px; }

/* PAYMENT — decorative background asset */
.payment-page, .payment-error-page { color: #3a4566; font-size: 14px; background: var(--color-cream-light); }
.payment-main, .payment-error-main { position: relative; isolation: isolate; display: flex; justify-content: center; align-items: center; min-height: 100vh; padding: 80px 20px; }
.payment-main::before, .payment-error-main::before { content: ''; position: absolute; z-index: -1; inset: 0; background: url('../images/content/voucher-terrace.jpg') center / cover no-repeat; opacity: .18; }
.payment-layout { display: grid; width: min(100%, 980px); grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 40px; }
.voucher-ticket, .payment-card { align-self: start; border-radius: 16px; }
.voucher-ticket { min-height: 442px; padding: 36px 32px 42px; background: var(--color-primary); color: #fff; }
.voucher-ticket-eyebrow { color: #fff; font-size: 12px; font-weight: 500; line-height: 1.6; letter-spacing: .14em; text-transform: uppercase; }
.voucher-ticket-label { margin-top: 14px; font-size: 12.5px; line-height: 1.6; }
.voucher-ticket-amount { display: flex; align-items: flex-start; min-height: 80px; padding-bottom: 18px; color: #faf7f0; font-family: var(--body-font); font-size: 50px; font-weight: 400; line-height: 1.1; }
.voucher-ticket-amount > span:first-child { margin-top: 10px; font-family: var(--body-font); font-size: 28px; line-height: 1; }
.voucher-ticket-amount-value { min-width: 0; overflow-wrap: anywhere; }
.voucher-ticket-divider { border-top: 1px dashed rgba(250,247,240,.25); }
.voucher-ticket-details { display: grid; gap: 8px; margin: 18px 0 0; }
.voucher-ticket-details div { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.voucher-ticket-details dt, .voucher-ticket-details dd, .voucher-ticket-code, .voucher-ticket-note { margin: 0; font-size: 12.5px; line-height: 1.6; }
.voucher-ticket-details dd { min-width: 0; color: #faf7f0; font-size: 14px; font-weight: 500; text-align: right; overflow-wrap: anywhere; }
.voucher-ticket-code { margin-top: 18px; }
.voucher-ticket-note { margin-top: 18px; }
.payment-card { min-height: 558px; padding: 32px 30px 42px; background: #fff; }
.payment-card h1 { color: #1a202c; font-size: 22px; font-weight: 400; line-height: 1.4; }
.payment-card-subtitle { margin-top: 3px; font-size: 14px; line-height: 1.6; }
.payment-form { gap: 15px; margin-top: 23px; }
.payment-secure-note { display: flex; align-items: center; justify-content: center; gap: 8px; font-size: 12.5px; line-height: 1.6; text-align: center; }
.payment-secure-note img { flex: 0 0 14px; width: 14px; height: 14px; object-fit: contain; }
.payment-error-card { width: min(100%,460px); padding: 40px 34px 27px; border-radius: 16px; background: #fff; text-align: center; }
.payment-error-icon { display: flex; align-items: center; justify-content: center; width: 64px; height: 64px; margin: 0 auto; border-radius: 50%; background: var(--color-taupe); color: var(--color-primary); }
.payment-error-icon img { display: block; width: 18px; height: 18px; object-fit: contain; }
.payment-error-card h1 { margin-top: 22px; color: #1a202c; font-size: 21px; font-weight: 600; line-height: 1.7; }
.payment-error-subtitle { margin-top: 7px; font-size: 14.5px; line-height: 1.6; }
.payment-error-reason { display: flex; align-items: flex-start; gap: 10px; margin-top: 24px; padding: 14px 16px; border: 1px solid #ff9191; border-radius: 10px; background: #fcebeb; color: #af2222; font-size: 13.5px; line-height: 1.5; text-align: left; }
.payment-error-reason img { display: block; flex: 0 0 15px; width: 15px; height: 15px; object-fit: contain; }
.payment-error-contact { margin-top: 28px; min-height: 48px; font-size: 14.5px; font-weight: 700; }
.payment-error-note { margin-top: 20px; font-size: 12.5px; line-height: 1.6; }

/* CALLBACK MODAL */
.callback-modal { width: min(100% - 32px, 480px); padding: 32px 30px 40px; background: #fff; color: #1a202c; }
.callback-modal.fancybox__content { flex-direction: column; }
.callback-modal h2 { font-size: 26px; font-weight: 700; line-height: 1.2; text-align: center; }
.callback-modal-subtitle { margin-top: 10px; color: #737b8d; font-size: 15px; line-height: 1.5; text-align: center; }
.callback-form { gap: 15px; margin-top: 22px; }
.callback-form .form-field label { font-size: 14px; }
.callback-form .form-field input, .callback-form .form-field textarea { font-size: 15px; }
.callback-form .form-field textarea { min-height: 146px; }

/* RESPONSIVE: TABLET */
@media (max-width: 1023px) {
  .header-inner { grid-template-columns: 1fr auto 1fr; width: calc(100% - 48px); padding: 10px 20px; }
  .header-link { display: none; }
  .logo { grid-column: 2; }
  .header-menu { display: block; grid-column: 3; justify-self: end; }
  .header-nav { position: absolute; top: calc(100% + 8px); right: 10px; left: 10px; display: flex; visibility: hidden; flex-direction: column; gap: 0; align-items: stretch; padding: 12px; border: 1px solid var(--color-primary); border-radius: 16px; background: #fff; color: var(--color-heading); opacity: 0; pointer-events: none; transform: translateY(-10px); transition: opacity .2s, transform .2s, visibility .2s; box-shadow: 0 20px 40px rgba(65, 47, 34, .2); }
  .header-nav a { padding: 13px 16px; border-radius: 8px; }
  .header-nav .nav-mobile-only { display: block; }
  .header.is-menu-open .header-nav { opacity: 1; visibility: visible; pointer-events: auto; transform: translateY(0); }
  .hero { min-height: 640px; padding: 165px 24px 29px; align-items: center; }
  .hero-inner { justify-content: center; }
  .hero-panel { width: min(100%, 614px); padding: 32px; }
  .hero-copy { gap: 34px; }
  .hero h1 { font-size: 48px; }
  .about { min-height: 464px; padding: 72px 24px; }
  .about-content p { font-size: 20px; line-height: 1.35; }
  .benefits { min-height: 1441px; padding: 70px 24px; }
  .benefits-inner { max-width: 768px; }
  .benefits-grid { grid-template-columns: 1fr; gap: 20px; }
  .benefit-card { min-height: 170px; padding: 38px 24px; }
  .process { padding: 95px 24px; }
  .process-grid { grid-template-columns: 1fr; max-width: 728px; margin: 35px auto 0; }
  .process-card { min-height: 210px; }
  .occasions { min-height: 850px; padding: 85px 24px; }
  .occasions-grid { grid-template-columns: 1fr; }
  .occasion-card { min-height: 175px; }
  .footer-inner { padding-right: 48px; padding-left: 48px; }
  .footer-links { column-gap: 32px; }
  .payment-layout { grid-template-columns: 1fr; max-width: 680px; gap: 28px; }
}
/* RESPONSIVE: MOBILE */
@media (max-width: 767px) {
  .section-title { font-size: 32px; line-height: 1.25; }
  .header-inner { width: calc(100% - 32px); min-height: 72px; }
  .logo { font-size: 32px; }
  .hero { min-height: 560px; padding: 130px 16px 17px; border-radius: 0 0 48px 48px; background-position: 38% center; }
  .hero-panel { width: min(100%, 350px); padding: 24px; }
  .hero-copy { gap: 24px; }
  .hero h1 { font-size: 32px; line-height: 1.4; }
  .hero-copy p { font-size: 14px; line-height: 1.4; }
  .hero-actions { flex-direction: column; width: 100%; gap: 12px; margin-top: 16px; }
  .hero-actions .button { width: 100%; }
  .about { min-height: 442px; padding: 40px 16px; }
  .about-content h2 { font-size: 32px; line-height: 1.3; }
  .about-content p { margin-top: 28px; font-size: 14px; line-height: 1.5; }
  .benefits { min-height: 1229px; padding: 64px 16px 50px; }
  .benefits .section-title { max-width: 240px; margin-inline: auto; }
  .benefits-grid { gap: 16px; margin-top: 16px; padding: 0; }
  .benefit-card { min-height: 142px; padding: 28px 16px; }
  .benefit-card h3, .process-card h3, .occasion-card h3 { font-size: 20px; line-height: 1.5; }
  .benefit-card p, .process-card p, .occasion-card p { font-size: 14px; line-height: 1.6; }
  .process { padding: 90px 16px; }
  .process-grid { gap: 16px; margin-top: 20px; }
  .process-card { min-height: 235px; padding: 28px 20px; }
  .process-icon { margin-bottom: 20px; }
  .occasions { min-height: 860px; padding: 70px 6px; }
  .occasions .section-narrow { padding: 32px 10px; border-radius: 26px; }
  .occasions .section-title { max-width: 260px; margin: 0 auto; color: #fff; }
  .occasions-grid { gap: 16px; margin-top: 24px; }
  .occasion-card { min-height: 170px; padding: 24px 18px; }
  .cta-inner { min-height: 324px; padding: 72px 16px; }
  .cta h2 { font-size: 28px; }
  .cta p { font-size: 14px; }
  .cta-actions { flex-direction: column; width: 100%; max-width: 340px; gap: 12px; }
  .cta-actions .button { width: 100%; }
  .footer-inner { min-height: 0; gap: 38px; padding: 56px 20px 58px; font-size: 13px; }
  .footer-links { flex-direction: column; gap: 12px; }
  .footer-emails { flex-wrap: wrap; justify-content: center; }
  .footer-phone { white-space: normal; }
  .payment-main, .payment-error-main { align-items: flex-start; padding: 32px 16px; }
  .voucher-ticket, .payment-card { padding-inline: 24px; }
  .payment-error-card { padding: 32px 22px 38px; }
  .payment-error-reason { font-size: 12px; }
  .callback-modal { padding: 28px 20px 34px; }
}
@media (max-width: 479px) {
  .form-columns { grid-template-columns: 1fr; gap: 15px; }
  .logo { font-size: clamp(22px, 7vw, 32px); }
  .benefit-card { min-height: 128px; padding: 25px 16px; }
  .process-card { min-height: 224px; }
  .payment-secure-note { align-items: flex-start; text-align: left; }
}
/* REVEAL ANIMATION */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .55s ease, transform .55s ease; transition-delay: var(--reveal-delay, 0ms); }
.reveal.is-visible { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .reveal, .reveal.is-visible { opacity: 1; transform: none; transition: none; } }

/* SECTION HEIGHTS MATCHING THE FIGMA REFERENCE FRAMES */
@media (min-width: 1024px) {
  .header { top: 34px; }
  .header-inner { max-width: 1440px; min-height: 90px; }
  .process { padding-block: 96.625px; }
  .occasions { min-height: 811px; }
  .cta-inner { min-height: 423px; }
  .footer { margin-top: 4px; }
  .footer-inner { min-height: 327px; }
}
@media (min-width: 768px) and (max-width: 1023px) {
  .process { min-height: 1158px; }
  .occasions { min-height: 1300px; }
  .cta { margin-top: 79px; }
  .cta-inner { min-height: 341px; padding: 70px 20px; }
  .footer { margin-top: 91px; }
  .footer-inner { min-height: 472px; }
}
@media (max-width: 767px) {
  .process { min-height: 1020px; }
  .occasions { min-height: 1004px; }
  .cta { margin-top: 123px; }
  .cta-inner { min-height: 324px; padding: 36px 16px; }
  .footer { margin-top: 122px; }
}
