/* =========================================================
   Events Bali — shared stylesheet
   Palette: cream / sand / green / ink  · Prata + Golos Text
   ========================================================= */
:root {
  --cream: #F6F2EA;
  --cream-light: #FFFDF9;
  --sand: #E8DFC9;
  --line: #E4DCCC;
  --ink: #21281F;
  --muted: #6B6F60;
  --green: #2E4B3A;
  --green-dark: #1E2A22;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Golos Text', sans-serif;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: 'Prata', serif; font-weight: 400; line-height: 1.2; margin: 0; }
p { margin: 0 0 16px; }
ul, ol { margin: 0 0 16px; padding-left: 22px; }
li { margin-bottom: 6px; }
.wrap { max-width: 1280px; margin: 0 auto; padding: 0 48px; }
.eyebrow { margin: 0 0 12px; font-size: 12px; letter-spacing: .24em; text-transform: uppercase; color: var(--green); }
.lead { font-size: 17px; color: var(--muted); }
.btn { display: inline-flex; align-items: center; padding: 15px 30px; font-size: 14px; font-weight: 500; letter-spacing: .04em; text-decoration: none; border-radius: 2px; }
.btn-solid { background: var(--green); color: var(--cream-light); }
.btn-solid:hover { opacity: .9; }
.btn-light { background: var(--cream-light); color: var(--ink); }
.btn-light:hover { background: var(--sand); }
.btn-ghost { border: 1px solid rgba(255,253,249,.5); color: var(--cream-light); }
.btn-ghost:hover { border-color: var(--cream-light); }
.btn-wa { background: #25D366; color: #fff; }

/* ---------- HEADER ---------- */
.site-header { position: sticky; top: 0; z-index: 50; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 14px 48px; background: var(--cream); border-bottom: 1px solid var(--line); }
.logo { display: flex; align-items: baseline; gap: 10px; text-decoration: none; }
.logo b { font-family: 'Prata', serif; font-weight: 400; font-size: 22px; letter-spacing: .02em; }
.logo span { font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.main-nav > ul { display: flex; gap: 6px; margin: 0; padding: 0; list-style: none; font-size: 14px; }
.main-nav > ul > li { position: relative; }
.main-nav > ul > li > a { display: block; padding: 10px 12px; text-decoration: none; border-radius: 2px; }
.main-nav > ul > li > a:hover { color: var(--green); }
.dropdown { position: absolute; left: 0; top: 100%; min-width: 280px; padding: 10px 0; margin: 0; list-style: none; background: var(--cream-light); border: 1px solid var(--line); box-shadow: 0 14px 32px rgba(33,40,31,.12); opacity: 0; visibility: hidden; transform: translateY(6px); transition: .18s ease; }
.main-nav li:hover > .dropdown,
.main-nav li:focus-within > .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown a { display: block; padding: 9px 20px; font-size: 13.5px; text-decoration: none; }
.dropdown a:hover { background: var(--cream); color: var(--green); }
.dropdown .all { font-weight: 600; color: var(--green); border-bottom: 1px solid var(--line); margin-bottom: 6px; padding-bottom: 11px; }
.burger { display: none; background: none; border: 1px solid var(--line); border-radius: 2px; padding: 9px 12px; font: inherit; cursor: pointer; }
.header-actions { display: flex; align-items: center; gap: 16px; }
.lang-switcher { display: flex; gap: 4px; }
.lang-switcher a { padding: 6px 10px; font-size: 12px; font-weight: 600; text-decoration: none; border-radius: 2px; background: var(--cream-light); color: var(--ink); border: 1px solid var(--line); transition: .15s ease; }
.lang-switcher a:hover { background: var(--cream); }
.lang-switcher a.active { background: var(--green); color: var(--cream-light); border-color: var(--green); }

/* ---------- HERO ---------- */
.hero { position: relative; min-height: 620px; height: 86vh; overflow: hidden; }
.hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(18,24,18,.25) 0%, rgba(18,24,18,.65) 100%); }
.hero-content { position: absolute; inset: 0; z-index: 1; display: flex; flex-direction: column; justify-content: flex-end; padding: 0 48px 64px; }
.hero-content .inner { max-width: 860px; pointer-events: auto; }
.hero p.tag { margin: 0 0 20px; font-size: 12px; letter-spacing: .24em; text-transform: uppercase; color: var(--sand); }
.hero h1 { font-size: clamp(32px, 4.5vw, 58px); color: var(--cream-light); margin-bottom: 24px; text-wrap: balance; }
.hero p.sub { margin: 0 0 36px; max-width: 560px; font-size: 17px; color: rgba(255,253,249,.85); }
.hero .cta { display: flex; gap: 16px; flex-wrap: wrap; }
.hero::after, .hero-content { pointer-events: none; }

/* small page hero (внутренние) */
.page-hero { position: relative; min-height: 360px; overflow: hidden; }
.page-hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.page-hero::after { content:""; position:absolute; inset:0; background: linear-gradient(180deg, rgba(18,24,18,.30) 0%, rgba(18,24,18,.72) 100%); }
.page-hero .inner { position: relative; z-index:1; max-width: 760px; padding: 96px 0 56px; }
.page-hero h1 { color: var(--cream-light); font-size: clamp(28px, 3.4vw, 46px); }
.page-hero p { color: rgba(255,253,249,.86); font-size: 17px; max-width: 600px; }

/* ---------- SECTIONS ---------- */
section { padding: 92px 0; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 48px; }
.section-head h2 { font-size: clamp(28px, 3vw, 40px); }
.section-head p { margin: 0; max-width: 380px; font-size: 15px; color: var(--muted); }
.trust { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; padding: 40px 0; border-bottom: 1px solid var(--line); }
.trust b { display: block; font-family: 'Prata', serif; font-weight: 400; font-size: 30px; color: var(--green); }
.trust span { font-size: 14px; color: var(--muted); }

.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.card { display: flex; flex-direction: column; gap: 14px; text-decoration: none; }
.card img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: 2px; }
.card h3 { font-size: 21px; }
.card:hover h3 { color: var(--green); }
.card p { margin: 0; font-size: 14px; color: var(--muted); }
.card .more { font-size: 13px; letter-spacing: .06em; color: var(--green); }

.band { background: var(--cream-light); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.loc-card { position: relative; display: block; overflow: hidden; border-radius: 2px; text-decoration: none; }
.loc-card img { width: 100%; aspect-ratio: 3/4; object-fit: cover; transition: transform .5s ease; }
.loc-card:hover img { transform: scale(1.04); }
.loc-card .cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 60px 24px 24px; background: linear-gradient(180deg, rgba(18,24,18,0) 0%, rgba(18,24,18,.75) 100%); }
.loc-card h3 { font-size: 22px; color: var(--cream-light); margin-bottom: 6px; }
.loc-card p { margin: 0; font-size: 13px; color: rgba(255,253,249,.8); }

.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; counter-reset: step; }
.step { padding-top: 20px; border-top: 2px solid var(--green); }
.step h3 { font-size: 19px; margin: 10px 0 8px; }
.step p { margin: 0; font-size: 14px; color: var(--muted); }
.step::before { counter-increment: step; content: "0" counter(step); font-family: 'Prata', serif; font-size: 15px; color: var(--green); }

.review { padding: 28px; background: var(--cream-light); border: 1px solid var(--line); border-radius: 2px; }
.review p { margin: 0 0 16px; font-size: 14.5px; }
.review b { display: block; font-size: 13.5px; }
.review span { font-size: 12.5px; color: var(--muted); }

.faq details { border-bottom: 1px solid var(--line); }
.faq summary { padding: 20px 0; font-family: 'Prata', serif; font-size: 19px; cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--green); font-size: 24px; }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 0 0 22px; max-width: 760px; font-size: 15px; color: var(--muted); }

/* ---------- BREADCRUMBS ---------- */
.breadcrumbs { font-size: 13px; color: var(--muted); padding: 18px 0 0; }
.breadcrumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.breadcrumbs li::after { content: "/"; margin-left: 8px; color: var(--line); }
.breadcrumbs li:last-child::after { content: ""; }
.breadcrumbs a { text-decoration: none; }
.breadcrumbs a:hover { color: var(--green); }

/* ---------- ARTICLE / CONTENT ---------- */
.article { max-width: 820px; }
.article h2 { font-size: 28px; margin: 40px 0 16px; }
.article h3 { font-size: 20px; margin: 28px 0 12px; }
.article p { font-size: 16px; }
.article img { border-radius: 2px; margin: 24px 0; }
.article ul, .article ol { font-size: 16px; }
.toc { background: var(--cream-light); border: 1px solid var(--line); border-radius: 2px; padding: 24px 28px; margin: 32px 0; }
.toc h2 { font-size: 18px; margin: 0 0 12px; }
.toc ol { margin: 0; padding-left: 22px; font-size: 15px; }
.toc a { text-decoration: none; }
.toc a:hover { color: var(--green); }
.meta-row { font-size: 13px; color: var(--muted); margin: 14px 0 0; }
.meta-row a { text-decoration: none; }

/* ---------- CONTENT TWO-COLUMN (текст + мини-галерея) ---------- */
.split { display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; align-items: start; }
.split .gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.split .gallery img { border-radius: 2px; width: 100%; height: auto; aspect-ratio: 4/3; object-fit: cover; }

/* ---------- TABLES (цены) ---------- */
table.prices { width: 100%; border-collapse: collapse; margin: 24px 0; font-size: 15px; background: var(--cream-light); border: 1px solid var(--line); border-radius: 2px; overflow: hidden; }
table.prices th, table.prices td { padding: 14px 18px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
table.prices th { background: var(--green); color: var(--cream-light); font-family: 'Prata', serif; font-weight: 400; }
table.prices tr:last-child td { border-bottom: none; }
table.prices td:first-child { font-weight: 600; }
.compare { width: 100%; border-collapse: collapse; margin: 24px 0; font-size: 14.5px; }
.compare th, .compare td { padding: 12px 14px; border-bottom: 1px solid var(--line); text-align: left; }
.compare th { background: var(--sand); font-family: 'Prata', serif; font-weight: 400; }

/* ---------- PRICE BADGE ---------- */
.price-from { display: inline-block; background: var(--sand); color: var(--green); font-weight: 600; padding: 6px 14px; border-radius: 2px; font-size: 14px; margin-bottom: 20px; }

/* ---------- CTA STRIP ---------- */
.cta-strip { background: var(--green); color: var(--cream-light); padding: 40px 48px; border-radius: 2px; display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin: 48px 0; }
.cta-strip h3 { color: var(--cream-light); font-size: 24px; margin: 0; }
.cta-strip p { margin: 6px 0 0; color: rgba(255,253,249,.85); font-size: 15px; }

/* ---------- CONTACT ---------- */
.contact { background: var(--green); color: var(--cream-light); }
.contact h2 { color: var(--cream-light); }
.contact .eyebrow { color: var(--sand); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.contact p.lead { font-size: 16px; color: rgba(255,253,249,.85); }
.contact form { display: flex; flex-direction: column; gap: 14px; }
.contact input, .contact textarea { padding: 14px 16px; font: inherit; font-size: 14px; color: var(--ink); background: var(--cream-light); border: none; border-radius: 2px; }
.contact button { padding: 15px 30px; font: inherit; font-size: 14px; font-weight: 500; letter-spacing: .04em; color: var(--green); background: var(--cream-light); border: none; border-radius: 2px; cursor: pointer; }
.contact button:hover { background: var(--sand); }
.messengers { display: flex; gap: 14px; margin-top: 24px; flex-wrap: wrap; }
.messengers a { font-size: 14px; color: var(--sand); }

/* ---------- QUIZ ---------- */
.quiz { background: var(--cream-light); border: 1px solid var(--line); border-radius: 2px; padding: 36px; }
.quiz h3 { font-size: 22px; margin-bottom: 6px; }
.quiz p { color: var(--muted); margin-bottom: 20px; font-size: 15px; }
.quiz .q { margin-bottom: 16px; }
.quiz label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 6px; }
.quiz select, .quiz input { width: 100%; padding: 12px 14px; font: inherit; font-size: 14px; border: 1px solid var(--line); border-radius: 2px; background: var(--cream); }
.quiz button { margin-top: 8px; }

/* ---------- CASE TIMELINE ---------- */
.timeline { border-left: 2px solid var(--green); padding-left: 24px; margin: 24px 0; }
.timeline .t { margin-bottom: 18px; }
.timeline .t b { display: block; font-family: 'Prata', serif; font-size: 16px; }
.timeline .t span { font-size: 13px; color: var(--green); }
.timeline .t p { margin: 6px 0 0; font-size: 15px; color: var(--muted); }

/* ---------- TEAM ---------- */
.team-card { text-align: center; }
.team-card img { width: 100%; aspect-ratio: 1/1; object-fit: cover; border-radius: 2px; margin-bottom: 14px; }
.team-card h3 { font-size: 18px; }
.team-card .role { font-size: 13px; color: var(--green); letter-spacing: .04em; }
.team-card p { font-size: 14px; color: var(--muted); }

/* ---------- FAQ GROUPED ---------- */
.faq-group h3 { font-size: 20px; margin: 28px 0 8px; }

/* ---------- FOOTER ---------- */
footer { background: var(--green-dark); color: rgba(255,253,249,.75); padding: 64px 0 32px; font-size: 13.5px; }
.footer-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 32px; margin-bottom: 48px; }
footer h4 { margin: 0 0 14px; font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--sand); font-weight: 600; }
footer ul { margin: 0; padding: 0; list-style: none; }
footer li { margin-bottom: 9px; }
footer a { text-decoration: none; }
footer a:hover { color: var(--cream-light); }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 24px; border-top: 1px solid rgba(255,253,249,.14); font-size: 12.5px; color: rgba(255,253,249,.5); }

/* ---------- FLOATING WHATSAPP ---------- */
.float-wa { position: fixed; right: 18px; bottom: 18px; z-index: 60; display: none; align-items: center; gap: 8px; padding: 12px 18px; background: #25D366; color: #fff; border-radius: 30px; text-decoration: none; font-size: 14px; font-weight: 600; box-shadow: 0 8px 24px rgba(0,0,0,.2); }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1024px) {
  .wrap, .site-header, .hero-content { padding-left: 28px; padding-right: 28px; }
  .grid-3, .grid-4, .steps { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(3, 1fr); }
  .split { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .main-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--cream); border-bottom: 1px solid var(--line); padding: 12px 28px 24px; max-height: 70vh; overflow-y: auto; }
  .main-nav.open { display: block; }
  .main-nav > ul { flex-direction: column; gap: 0; }
  .dropdown { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: none; background: none; padding: 0 0 6px 14px; }
  .burger { display: block; }
  .header-cta { display: none; }
  .trust, .contact-grid { grid-template-columns: 1fr; }
  .section-head { flex-direction: column; align-items: flex-start; }
  section { padding: 64px 0; }
  .float-wa { display: inline-flex; }
}
@media (max-width: 480px) {
  .grid-2, .grid-3, .grid-4, .steps { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .loc-card img, .dropdown { transition: none; }
}
