@font-face {
    font-family: "Bali Garamond";
    src: url("../fonts/eb-garamond-cyrillic.woff2") format("woff2");
    font-style: normal;
    font-weight: 400 700;
    font-display: swap;
    unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
    font-family: "Bali Garamond";
    src: url("../fonts/eb-garamond-latin.woff2") format("woff2");
    font-style: normal;
    font-weight: 400 700;
    font-display: swap;
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

.bali-board {
    --ink: #29292c;
    --paper: #f9f6f0;
    --yellow: #ffd075;
    --blue: #79a2aa;
    --brown: #625956;
    overflow: hidden;
    color: var(--ink);
    background: #fff;
    font-family: Arial, Helvetica, sans-serif;
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
}

.bali-board *,
.bali-board *::before,
.bali-board *::after { box-sizing: border-box; }
.bali-board img { display: block; max-width: 100%; }
.bali-board .case-vector-arrow { position: relative; display: inline-block; width: .72em; height: .72em; margin-left: .18em; vertical-align: .02em; flex: 0 0 auto; }
.bali-board .case-vector-arrow::before { content: ""; position: absolute; left: -.04em; top: 58%; width: 1.08em; border-top: .08em solid currentColor; transform: rotate(-45deg); transform-origin: left center; }
.bali-board .case-vector-arrow::after { content: ""; position: absolute; top: 0; right: 0; width: .52em; height: .52em; border-top: .08em solid currentColor; border-right: .08em solid currentColor; }
.bali-board h1,
.bali-board h2,
.bali-board h3 {
    margin: 0;
    color: var(--ink);
    font-family: "Bali Garamond", Georgia, serif;
    font-weight: 400;
    font-style: normal;
    text-transform: none;
    overflow: visible;
}

.bali-progress { position: fixed; z-index: 120; top: 0; left: 0; width: 100%; height: 3px; }
.bali-progress span { display: block; width: 100%; height: 100%; background: var(--yellow); transform: scaleX(0); transform-origin: left; }
.bali-section { padding: clamp(96px, 9vw, 150px) clamp(28px, 6vw, 112px); }

.bali-idea { position: relative; display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(320px, .92fr); gap: clamp(56px, 8vw, 132px); align-items: center; min-height: 720px; background: #fff; }
.bali-browser { overflow: hidden; border: 1px solid #d7d3cd; border-radius: 4px; background: #fff; box-shadow: 0 24px 65px rgba(45, 37, 31, .14); }
.bali-browser__bar { display: flex; align-items: center; gap: 19px; min-height: 47px; padding: 11px 18px; border-bottom: 1px solid #dedad5; font-size: 9px; }
.bali-browser__bar b { margin-left: auto; font: 400 20px/1 "Bali Garamond", Georgia, serif; }
.bali-browser__gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 5px; padding: 14px; }
.bali-browser__gallery img { width: 100%; height: clamp(120px, 14vw, 205px); object-fit: cover; }
.bali-browser__product { display: flex; justify-content: space-between; align-items: center; padding: 10px 18px 21px; }
.bali-browser__product h3 { font-size: 28px; line-height: 1; }
.bali-browser__product p { margin: 7px 0 0; font-size: 10px; }
.bali-browser button,
.bali-property button,
.bali-search-row button { border: 0; padding: 12px 33px; color: var(--ink); background: var(--yellow); }
.bali-idea__copy { max-width: 510px; }
.bali-idea__copy h2,
.bali-roadmap > h2,
.bali-design h2,
.bali-details > h2,
.bali-result h2,
.bali-thanks h2 { font-size: clamp(66px, 6.55vw, 104px); line-height: .92; letter-spacing: -.026em; }
.bali-idea__copy p { margin: 28px 0 0; font-size: 17px; line-height: 1.52; }
.bali-rattan { position: absolute; right: -80px; bottom: -80px; width: 220px; height: 285px; border: 3px solid #c89b62; border-radius: 52% 48% 42% 46%; background: repeating-linear-gradient(75deg, transparent 0 12px, rgba(200,155,98,.45) 13px 15px), repeating-linear-gradient(-75deg, transparent 0 12px, rgba(200,155,98,.45) 13px 15px); transform: rotate(-16deg); opacity: .45; }

.bali-roadmap { padding-top: 90px; background: #fff; }
.bali-road { position: relative; display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 82px 12vw; margin-top: 78px; padding: 54px 5vw 48px; border: 2px solid var(--ink); border-left: 0; border-radius: 0 150px 150px 0; }
.bali-road article { position: relative; max-width: 470px; }
.bali-road article::before { content: ""; position: absolute; top: -66px; left: 0; width: 23px; height: 23px; border: 2px solid var(--ink); border-radius: 50%; background: #fff; }
.bali-road article b { font-size: 18px; }
.bali-road article p { margin: 9px 0 0; font-size: 14px; line-height: 1.5; }
.bali-road article:last-child { grid-column: 2; }

.bali-design { padding-top: 110px; padding-bottom: 98px; background: #fff; }
.bali-design > div:first-child { max-width: 790px; }
.bali-design h3 { margin: 44px 0 12px; font: 600 16px/1 Arial, sans-serif; letter-spacing: .02em; }
.bali-design p { margin: 0; font-size: 17px; line-height: 1.55; }
.bali-palette { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 66px; }
.bali-palette span { display: flex; flex-direction: column; min-height: 142px; padding: 29px; border-radius: 0 14px 14px 0; font-size: 13px; }
.bali-palette span:nth-child(1) { background: var(--yellow); }
.bali-palette span:nth-child(2) { background: var(--paper); }
.bali-palette span:nth-child(3) { color: #fff; background: var(--blue); }
.bali-palette span:nth-child(4) { color: #fff; background: var(--brown); }
.bali-palette b { margin-bottom: 9px; font-size: 18px; }
.bali-type { margin-top: 67px; }
.bali-type > p { max-width: 960px; }
.bali-type > div { display: flex; gap: clamp(60px, 9vw, 150px); margin-top: 55px; }
.bali-type span { display: flex; flex-direction: column; font-size: 13px; }
.bali-type b { margin-bottom: 8px; font: 400 48px/1 "Bali Garamond", Georgia, serif; letter-spacing: -.02em; }

.bali-brand { position: relative; height: min(650px, 56vw); min-height: 480px; overflow: hidden; background: #222; }
.bali-brand > img { width: 100%; height: 100%; object-fit: cover; filter: brightness(.4) saturate(.75); transform: scale(1.02); }
.bali-brand > div { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; color: #fff; }
.bali-brand > div img { width: 180px; filter: brightness(0) invert(1); }
.bali-brand p { margin: 18px 0 0; font: 400 23px/1 "Bali Garamond", Georgia, serif; }

.bali-details { background: var(--paper); }
.bali-section-line { height: 2px; margin: 0 calc(clamp(28px, 6vw, 112px) * -1) 72px; background: var(--ink); }
.bali-section-line::before { content: ""; display: block; width: 23px; height: 23px; margin-left: 6vw; border: 2px solid; border-radius: 50%; background: var(--paper); transform: translateY(-11px); }
.bali-details__lead { max-width: 990px; margin: 33px 0 61px; font-size: 17px; line-height: 1.55; }
.bali-details__grid { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(220px, .38fr); gap: 24px; }
.bali-benefits { padding: 38px; color: #fff; background: var(--blue); border-radius: 12px; }
.bali-benefits h3 { margin: 0 0 30px; color: #fff; font-size: 32px; }
.bali-benefits > div { display: grid; grid-template-columns: repeat(3, 1fr); gap: 33px; }
.bali-benefits span { font: 400 15px/1.4 "Bali Garamond", Georgia, serif; }
.bali-property { padding: 11px; background: #fff; }
.bali-property img { width: 100%; height: 176px; object-fit: cover; }
.bali-property h3 { margin: 14px 0 7px; font-size: 23px; line-height: 1.05; }
.bali-property p { margin: 0; font-size: 11px; }
.bali-property--large { grid-row: 2; grid-column: 1; width: 37%; }
.bali-property--large button { width: 100%; margin-top: 16px; }
.bali-faq { grid-column: 1 / 3; grid-row: 2; margin-left: 40%; padding: 22px; background: #fff; }
.bali-faq h3 { margin: 0 0 17px; font-size: 29px; }
.bali-faq span { display: flex; justify-content: space-between; padding: 13px; border-top: 1px solid #ddd; font-size: 12px; }
.bali-search-row { display: grid; grid-template-columns: repeat(4, 1fr) auto; gap: 14px; margin-top: 60px; }
.bali-search-row span { padding: 15px; border: 1px solid #bbb; font: 400 13px/1 "Bali Garamond", Georgia, serif; }
.bali-filter-select { position: relative; padding-right: 38px !important; }
.bali-filter-select::after { content: ""; position: absolute; top: 50%; right: 16px; width: 8px; height: 8px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: translateY(-70%) rotate(45deg); transform-origin: center; }

.bali-result { padding-top: 125px; background: #fff; }
.bali-result__copy { display: grid; grid-template-columns: .75fr 1.25fr; gap: 76px; align-items: end; }
.bali-result__copy p { margin: 0; max-width: 780px; font-size: 17px; line-height: 1.55; }
.bali-pages { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 3vw, 48px); align-items: start; margin-top: 84px; padding-bottom: 130px; }
.bali-pages__column { display: flex; flex-direction: column; gap: 44px; }
.bali-pages__column--catalog { padding-top: 118px; }
.bali-pages__column--about { padding-top: 58px; }
.bali-page { overflow: hidden; color: #29292c; background: #fff; box-shadow: 0 18px 52px rgba(31, 28, 25, .16); font: 400 8px/1.35 Arial, sans-serif; }
.bali-page h3,
.bali-page h4 { color: #29292c; font-family: "Bali Garamond", Georgia, serif; font-weight: 400; }
.bali-page h3 { margin: 13px 0 10px; font-size: 22px; line-height: 1; }
.bali-page h4 { margin: 18px 0 10px; font-size: 13px; line-height: 1; }
.bali-page p { margin: 6px 0; font-size: 7px; line-height: 1.5; }
.bali-page button { border: 0; color: #29292c; background: var(--yellow); font-size: 6px; }
.bali-page__nav { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; min-height: 38px; padding: 8px 16px; border-bottom: 1px solid #ece8e1; font-size: 5px; }
.bali-page__nav b { font: 400 14px/1 "Bali Garamond", Georgia, serif; }
.bali-page__nav small { justify-self: end; font-size: 5px; }
.bali-page__body { padding: 18px 24px 24px; }
.bali-page__filters { display: grid; grid-template-columns: repeat(3, 1fr) auto; gap: 5px; padding: 8px; background: #fff; box-shadow: 0 5px 16px rgba(31,28,25,.12); }
.bali-page__filters span { padding: 6px; border: 1px solid #d9d4cc; font: 400 5px/1 "Bali Garamond", Georgia, serif; }
.bali-page__filters button { padding: 6px 10px; }
.bali-page__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 13px 8px; }
.bali-page__grid figure { margin: 0; }
.bali-page__grid img { width: 100%; aspect-ratio: 1.34; object-fit: cover; }
.bali-page__grid b,
.bali-page__grid small { display: block; margin-top: 5px; font-size: 6px; }
.bali-page__grid small { margin-top: 2px; }
.bali-page__grid--short { gap: 7px; }
.bali-page__whatsapp { display: flex; align-items: center; justify-content: space-between; margin-top: 22px; padding: 14px 18px; border-radius: 8px; color: #fff; background: var(--blue); font: 400 11px/1 "Bali Garamond", Georgia, serif; }
.bali-page__whatsapp button { padding: 6px 13px; background: #fff; }
.bali-page__property-gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 3px; }
.bali-page__property-gallery img { width: 100%; height: 110px; object-fit: cover; }
.bali-page__text-lines { height: 140px; margin-top: 16px; background: repeating-linear-gradient(to bottom, #bdb8b1 0 1px, transparent 1px 10px); opacity: .35; }
.bali-page__intro { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.bali-page__mini-promo { display: grid; grid-template-columns: .65fr 1fr; gap: 4px; align-items: stretch; }
.bali-page__mini-promo span { display: flex; align-items: center; padding: 8px; color: #fff; background: var(--yellow); }
.bali-page__mini-promo img { width: 100%; height: 72px; object-fit: cover; }
.bali-page__numbers { display: grid; grid-template-columns: 1fr 1.2fr; gap: 12px; align-items: center; margin: 20px -24px 0; padding: 18px 24px; background: var(--paper); }
.bali-page__numbers img { width: 100%; height: 105px; object-fit: cover; }
.bali-page__numbers div { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; }
.bali-page__numbers h4 { grid-column: 1 / 3; margin: 0; }
.bali-page__numbers b { color: #c9a858; font-size: 8px; }
.bali-page__points,
.bali-page__quotes { display: grid; grid-template-columns: repeat(2, 1fr); gap: 9px; margin-top: 16px; }
.bali-page__points span { padding-left: 10px; border-left: 3px solid var(--yellow); }
.bali-page__quotes { grid-template-columns: repeat(3, 1fr); }
.bali-page__quotes span { padding: 12px 8px; border: 1px solid #ebe6df; }
.bali-page__rent { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 7px; align-items: center; margin-top: 17px; }
.bali-page__rent img { width: 100%; height: 88px; object-fit: cover; }
.bali-page__services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 7px; }
.bali-page__services figure { margin: 0; padding: 6px; border: 1px solid #e3ded7; }
.bali-page__services img { width: 100%; height: 120px; margin-bottom: 6px; object-fit: cover; }
.bali-page__home-hero { position: relative; color: #fff; }
.bali-page__home-hero > img { width: 100%; height: 215px; object-fit: cover; }
.bali-page__home-hero h3 { position: absolute; top: 72px; right: 12%; left: 12%; margin: 0; color: #fff; font-size: 21px; text-align: center; }
.bali-page__home-hero .bali-page__filters { position: absolute; right: 12%; bottom: -18px; left: 12%; color: #29292c; }
.bali-page__home .bali-page__body { padding-top: 35px; }
.bali-page__coast { position: relative; margin-top: 10px; min-height: 250px; }
.bali-page__coast > img { width: 100%; height: 250px; object-fit: cover; filter: saturate(.7); }
.bali-page__coast > div { position: absolute; right: 16%; bottom: 20px; left: 16%; display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; padding: 20px; color: #fff; background: rgba(121,162,170,.94); }
.bali-page__coast h4 { grid-column: 1 / 3; margin: 0; color: #fff; font-size: 15px; }
.bali-page__map { display: grid; grid-template-columns: 1.25fr 1fr; gap: 18px; align-items: center; padding: 22px 30px; color: #fff; background: var(--blue); }
.bali-page__map img { width: 100%; height: 115px; object-fit: contain; filter: brightness(0) invert(1); }
.bali-page__map h4 { margin: 0 0 8px; color: #fff; }
.bali-page__faq { border: 1px solid #eeeae4; }
.bali-page__faq span { display: flex; justify-content: space-between; padding: 8px; border-bottom: 1px solid #eeeae4; }
.bali-page__footer { padding: 25px; color: #fff; background: var(--brown); font-size: 6px; }
.bali-page--catalog { min-height: 850px; }
.bali-page--about { min-height: 820px; }
.bali-page--home { min-height: 1040px; }
.bali-page--property,
.bali-page--services { min-height: 470px; }

.bali-thanks { position: relative; min-height: 780px; padding-top: 160px; background: #fff; }
.bali-thanks p { margin: 55px 0 0; font-size: 20px; line-height: 1.55; }
.bali-thanks a { display: inline-flex; flex-direction: column; align-items: flex-start; margin-top: 112px; padding-left: 58px; border-left: 2px solid; color: var(--ink); font-size: 18px; line-height: 1.4; text-decoration: none; }
.bali-thanks__cta-line { display: flex; align-items: center; gap: 12px; }
.bali-thanks .case-vector-arrow { width: 18px; height: 18px; margin: 0; vertical-align: 0; }
.bali-thanks .case-vector-arrow::before { left: 1px; top: 14px; width: 19px; border-top-width: 2px; }
.bali-thanks .case-vector-arrow::after { width: 10px; height: 10px; border-top-width: 2px; border-right-width: 2px; }
.bali-leaves { position: absolute; right: -8%; bottom: -16%; width: 48%; height: 100%; }
.bali-leaves span { position: absolute; width: 245px; height: 540px; border: 4px solid #d8d0c2; border-radius: 50%; background: repeating-linear-gradient(75deg, transparent 0 18px, rgba(216,208,194,.55) 19px 22px); transform: rotate(-34deg); }
.bali-leaves span + span { right: 7%; bottom: 0; transform: rotate(22deg); }

[data-bali-reveal] { opacity: 0; transform: translateY(34px); transition: opacity .8s ease, transform .8s cubic-bezier(.16,1,.3,1); }
[data-bali-reveal].is-visible { opacity: 1; transform: none; }

@media (max-width: 900px) {
    .bali-idea { grid-template-columns: 1fr; gap: 62px; }
    .bali-idea__copy { max-width: 680px; }
    .bali-road { gap: 64px; }
    .bali-details__grid { grid-template-columns: 1fr; }
    .bali-property { grid-column: auto; }
    .bali-property--large { grid-row: auto; width: 100%; }
    .bali-faq { grid-column: auto; grid-row: auto; margin-left: 0; }
    .bali-result__copy { grid-template-columns: 1fr; gap: 32px; }
    .bali-pages { gap: 15px; }
    .bali-pages__column--catalog { padding-top: 70px; }
    .bali-pages__column--about { padding-top: 35px; }
    .bali-page__body { padding-right: 14px; padding-left: 14px; }
    .bali-page__numbers { margin-right: -14px; margin-left: -14px; padding-right: 14px; padding-left: 14px; }
}

@media (max-width: 620px) {
    .bali-section { padding: 72px 18px; }
    .bali-idea { min-height: 0; gap: 52px; }
    .bali-browser__gallery img { height: 96px; }
    .bali-browser__bar span:nth-child(n+3) { display: none; }
    .bali-idea__copy h2,
    .bali-roadmap > h2,
    .bali-design h2,
    .bali-details > h2,
    .bali-result h2,
    .bali-thanks h2 { font-size: 56px; line-height: .94; }
    .bali-idea__copy p,
    .bali-design p,
    .bali-details__lead,
    .bali-result__copy p { font-size: 16px; }
    .bali-rattan { display: none; }
    .bali-road { grid-template-columns: 1fr; gap: 46px; margin-top: 52px; padding: 4px 0 4px 30px; border: 0; border-left: 2px solid var(--ink); border-radius: 0; }
    .bali-road article { width: 100%; max-width: none; min-width: 0; }
    .bali-road article::before { top: 1px; left: -42px; width: 22px; height: 22px; }
    .bali-road article b { display: block; font-size: 18px; line-height: 1.25; overflow-wrap: anywhere; }
    .bali-road article p { font-size: 14px; line-height: 1.48; overflow-wrap: anywhere; }
    .bali-road article:last-child { grid-column: auto; }
    .bali-palette { grid-template-columns: 1fr 1fr; margin-top: 50px; }
    .bali-palette span { min-height: 112px; padding: 18px; }
    .bali-type > div { flex-direction: column; gap: 31px; margin-top: 40px; }
    .bali-type b { font-size: 39px; }
    .bali-brand { min-height: 450px; }
    .bali-section-line { margin-right: -18px; margin-left: -18px; }
    .bali-details__grid { gap: 17px; }
    .bali-benefits { padding: 24px; }
    .bali-benefits > div { grid-template-columns: 1fr 1fr; gap: 24px; }
    .bali-search-row { grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 37px; }
    .bali-search-row button { grid-column: 1 / 3; }
    .bali-pages { display: grid; grid-template-columns: 1fr; gap: 30px; margin-right: 0; padding-bottom: 40px; overflow: visible; }
    .bali-pages__column { width: 100%; padding-top: 0; }
    .bali-pages__column--home { order: -2; }
    .bali-pages__column--about { order: -1; }
    .bali-page { font-size: 7px; }
    .bali-page--catalog,
    .bali-page--about,
    .bali-page--home,
    .bali-page--property,
    .bali-page--services { min-height: 0; }
    .bali-thanks { min-height: 0; padding-top: 72px; padding-bottom: 64px; }
    .bali-thanks p { margin-top: 39px; font-size: 17px; }
    .bali-thanks a { margin-top: 52px; }
    .bali-leaves { width: 64%; opacity: .42; }
}

@media (max-width: 420px) {
    .bali-browser__bar { gap: 12px; padding-right: 12px; padding-left: 12px; }
    .bali-browser__product { align-items: flex-end; gap: 12px; }
    .bali-browser__product h3 { font-size: 24px; }
    .bali-thanks a { padding-left: 38px; }
}

@media (prefers-reduced-motion: reduce) {
    [data-bali-reveal] { opacity: 1; transform: none; transition: none; }
}
