/* ============================================================
   SolarPlus — community camp landing page
   Recreated pixel-for-pixel from the Claude Design prototype
   (SolarPlus.dc.html), with production responsive behavior added.
   ============================================================ */

:root {
  --accent: #DD7A33;     /* sun orange — the one tweakable brand color */
  --gold:   #F4CC78;
  --ink:    #2E2117;     /* primary text */
  --ink-2:  #5A4A3A;     /* secondary text */
  --cream:  #FBF4E7;     /* light text on dark */
  --sand:   #F4EADB;     /* page background */
  --clay:   #EBDCC4;     /* alt section background */
  --dark:   #211710;     /* dark sections */
  --darker: #1A120C;     /* footer */
}

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

/* Ensure the `hidden` attribute always wins over a class `display`
   (e.g. .join-form sets display:flex, which would otherwise override
   the UA [hidden]{display:none} rule). */
[hidden] { display: none !important; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--sand);
  color: var(--ink);
  font-family: Manrope, system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

::selection { background: var(--accent); color: #fff; }

section { scroll-margin-top: 84px; }

/* ---- Bilingual visibility toggle (driven by <html lang>) ---- */
html[lang="en"] .ru { display: none; }
html[lang="ru"] .en { display: none; }

/* ---- Layout containers ---- */
.container {
  max-width: 1180px;
  margin: 0 auto;
  width: 100%;
}
.container--wide   { max-width: 1240px; }
.container--narrow { max-width: 880px; }

.section { padding: clamp(70px, 9vw, 128px) clamp(18px, 5vw, 40px); }
.section--clay  { background: var(--clay); }
.section--cream { background: var(--cream); }
.section--dark  { background: var(--dark); color: var(--cream); }

/* ---- Shared text styles ---- */
.eyebrow {
  font: 700 13px Manrope, sans-serif;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}
.eyebrow--gold { color: var(--gold); }

.h2 {
  font: 500 clamp(32px, 4.4vw, 54px)/1.05 'Playfair Display', serif;
  margin: 0 0 22px;
  letter-spacing: -.01em;
}
.h2--light { color: var(--cream); }
.balance { text-wrap: balance; }

.prose {
  font: 400 clamp(17px, 1.5vw, 20px)/1.62 Manrope, sans-serif;
  color: var(--ink-2);
  margin: 0 0 20px;
  max-width: 62ch;
}
.prose:last-child { margin-bottom: 0; }
.prose--wide  { max-width: 56ch; }
.prose--muted { color: rgba(251, 244, 231, .72); }

/* ---- Sun dot logomark ---- */
.sun-dot {
  border-radius: 50%;
  background: radial-gradient(circle at 34% 30%, var(--gold), var(--accent) 72%);
  flex-shrink: 0;
}
.sun-dot--sm { width: 20px; height: 20px; box-shadow: 0 0 0 4px rgba(221, 122, 51, .16); }
.sun-dot--md { width: 22px; height: 22px; }
.sun-dot--lg { width: 56px; height: 56px; margin: 0 auto 22px; box-shadow: 0 0 0 8px rgba(221, 122, 51, .14); }

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  font-family: Manrope, sans-serif;
  font-weight: 700;
}
.btn--accent { background: var(--accent); color: #fff; box-shadow: 0 6px 16px rgba(221, 122, 51, .26); }
.btn--sm  { padding: 10px 18px; font-size: 14px; }
.btn--lg  { padding: 15px 28px; font-size: 15px; box-shadow: 0 10px 26px rgba(221, 122, 51, .34); }
.btn--ghost {
  background: rgba(251, 244, 231, .1);
  color: var(--cream);
  border: 1px solid rgba(251, 244, 231, .45);
  backdrop-filter: blur(4px);
}
.btn--block { width: 100%; padding: 15px; border-radius: 12px; font-size: 16px; margin-top: 4px; box-shadow: 0 10px 26px rgba(221, 122, 51, .3); }

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(12px);
  background: rgba(244, 234, 219, .82);
  border-bottom: 1px solid rgba(46, 33, 23, .1);
}
.header-inner {
  padding: 13px clamp(18px, 5vw, 40px);
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  margin-right: auto;
}
.brand-name { font: 700 19px/1 Manrope, sans-serif; color: var(--ink); letter-spacing: -.01em; }

.nav-links { display: flex; align-items: center; gap: 24px; }
.nav-links a { font: 600 14px Manrope, sans-serif; color: var(--ink-2); text-decoration: none; }
.nav-links a:hover { color: var(--ink); }

.lang-toggle {
  display: inline-flex;
  border: 1px solid rgba(46, 33, 23, .22);
  border-radius: 999px;
  overflow: hidden;
}
.lang-btn {
  border: 0;
  padding: 7px 13px;
  font: 700 12px Manrope, sans-serif;
  letter-spacing: .04em;
  cursor: pointer;
  background: transparent;
  color: var(--ink-2);
}
html[lang="en"] .lang-btn[data-lang="en"],
html[lang="ru"] .lang-btn[data-lang="ru"] { background: var(--accent); color: #fff; }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: flex-end;
  background-image:
    linear-gradient(176deg, rgba(33, 23, 16, .12) 0%, rgba(33, 23, 16, .5) 52%, rgba(33, 23, 16, .85) 100%),
    url('/assets/sunset-group.jpeg');
  background-size: cover;
  background-position: center 38%;
}
.hero-inner { padding: 0 clamp(18px, 5vw, 40px) clamp(54px, 7vw, 96px); }
.hero-title {
  font: 500 clamp(58px, 12vw, 148px)/.92 'Playfair Display', serif;
  color: var(--cream);
  margin: 0;
  letter-spacing: -.02em;
  text-shadow: 0 2px 40px rgba(0, 0, 0, .3);
}
.hero-tagline {
  font: 500 clamp(22px, 3.4vw, 38px)/1.15 'Playfair Display', serif;
  font-style: italic;
  color: var(--gold);
  margin: 16px 0 0;
}
.hero-lede {
  font: 400 clamp(17px, 1.7vw, 21px)/1.55 Manrope, sans-serif;
  color: rgba(251, 244, 231, .9);
  max-width: 54ch;
  margin: 20px 0 0;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  margin-top: 34px;
}
.hero-location {
  margin-left: 6px;
  font: 600 13px Manrope, sans-serif;
  letter-spacing: .04em;
  color: rgba(251, 244, 231, .78);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.pip { width: 7px; height: 7px; border-radius: 50%; background: var(--gold); }

/* ============================================================
   ABOUT
   ============================================================ */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: clamp(28px, 6vw, 90px);
  align-items: start;
}
.about-label { padding-top: 10px; margin-bottom: 0; }
.about-grid .h2 { margin-bottom: 26px; }

/* ============================================================
   COMMUNITY BAND
   ============================================================ */
.band {
  position: relative;
  min-height: 54vh;
  display: flex;
  align-items: flex-end;
}
.band--community {
  background-image:
    linear-gradient(180deg, rgba(33, 23, 16, .05) 0%, rgba(33, 23, 16, .6) 100%),
    url('/assets/tent-table.jpeg');
  background-size: cover;
  background-position: center 30%;
}
.band-inner { padding: 0 clamp(18px, 5vw, 40px) clamp(40px, 6vw, 72px); }
.band-quote {
  font: 500 clamp(24px, 3.6vw, 44px)/1.2 'Playfair Display', serif;
  font-style: italic;
  color: var(--cream);
  max-width: 20ch;
  margin: 0;
  text-shadow: 0 2px 30px rgba(0, 0, 0, .35);
}

/* ============================================================
   SOLAR
   ============================================================ */
.solar-grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: clamp(30px, 5vw, 70px);
  align-items: center;
}
.solar-grid .h2 { margin-bottom: 22px; }
.solar-grid .prose { margin-bottom: 30px; max-width: 54ch; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip {
  border: 1px solid rgba(46, 33, 23, .2);
  border-radius: 999px;
  padding: 9px 16px;
  font: 600 14px Manrope, sans-serif;
  color: var(--ink);
  background: rgba(255, 255, 255, .4);
}
.solar-photo {
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(46, 33, 23, .22);
  aspect-ratio: 3 / 4;
  background-image: url('/assets/rv-bike.webp');
  background-size: cover;
  background-position: center 22%;
}

/* ============================================================
   OFFERINGS
   ============================================================ */
.offerings-title { margin-bottom: 50px; max-width: 18ch; }
.offers-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.offer-card {
  background: #fff;
  border: 1px solid rgba(46, 33, 23, .1);
  border-radius: 20px;
  padding: 34px;
}
.offer-num { font: 600 14px Manrope, sans-serif; color: var(--accent); margin-bottom: 18px; }
.offer-title { font: 600 23px/1.2 Manrope, sans-serif; margin: 0 0 12px; color: var(--ink); }
.offer-body { font: 400 16px/1.6 Manrope, sans-serif; color: var(--ink-2); margin: 0; }

/* ============================================================
   LOCATION
   ============================================================ */
.location-grid {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: clamp(34px, 6vw, 80px);
  align-items: center;
}
.clock-badge {
  width: clamp(160px, 22vw, 230px);
  height: clamp(160px, 22vw, 230px);
  border-radius: 50%;
  border: 2px solid rgba(46, 33, 23, .18);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at 50% 30%, rgba(244, 204, 120, .28), transparent 70%);
}
.clock-time { font: 500 clamp(46px, 7vw, 76px)/1 'Playfair Display', serif; color: var(--ink); }
.clock-label {
  font: 600 12px Manrope, sans-serif;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-top: 6px;
}

/* ============================================================
   PRINCIPLES
   ============================================================ */
.principles-intro { margin-bottom: 48px; max-width: 60ch; font-size: clamp(16px, 1.4vw, 19px); line-height: 1.6; }
.principles-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  border-top: 1px solid rgba(251, 244, 231, .16);
  list-style: none;
  margin: 0;
  padding: 0;
}
.principle {
  display: flex;
  gap: 18px;
  align-items: baseline;
  padding: 22px 4px;
  border-bottom: 1px solid rgba(251, 244, 231, .14);
}
.principle-num { font: 500 16px Manrope, sans-serif; color: rgba(251, 244, 231, .45); min-width: 30px; }
.principle-en  { font: 600 clamp(18px, 1.8vw, 22px)/1.25 Manrope, sans-serif; color: var(--cream); }
.principle-ru  { font: 400 15px/1.3 Manrope, sans-serif; color: rgba(251, 244, 231, .55); margin-top: 3px; }
.principle--core .principle-num,
.principle--core .principle-en { color: var(--gold); }

/* ============================================================
   TEAM
   ============================================================ */
.team-intro { margin-bottom: 46px; max-width: 52ch; font-size: clamp(16px, 1.4vw, 19px); line-height: 1.6; }
.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.team-card { background: var(--clay); border-radius: 20px; overflow: hidden; }
.team-photo {
  position: relative;
  aspect-ratio: 4 / 3;
  /* striped placeholder shows only if the photo fails to load */
  background-image: repeating-linear-gradient(135deg, rgba(46, 33, 23, .06) 0 12px, rgba(46, 33, 23, .11) 12px 24px);
  display: flex;
  align-items: center;
  justify-content: center;
}
.team-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 28%;
  display: block;
}
.team-photo-label { font: 500 12px ui-monospace, monospace; letter-spacing: .1em; color: rgba(46, 33, 23, .45); }
.team-meta { padding: 22px 24px 26px; }
.team-name { font: 600 21px Manrope, sans-serif; color: var(--ink); }
.team-role { font: 500 15px Manrope, sans-serif; color: var(--accent); margin-top: 5px; }

/* ============================================================
   JOIN
   ============================================================ */
.join-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(36px, 6vw, 80px);
  align-items: start;
}
.join-grid .h2 { margin-bottom: 22px; }
.steps { list-style: none; margin: 30px 0 34px; padding: 0; display: flex; flex-direction: column; gap: 22px; }
.step { display: flex; gap: 18px; align-items: baseline; }
.step-num { font: 500 22px 'Playfair Display', serif; color: var(--gold); min-width: 36px; }
.step-title { font: 600 18px Manrope, sans-serif; color: var(--cream); }
.step-desc { font: 400 15px/1.5 Manrope, sans-serif; color: rgba(251, 244, 231, .66); margin-top: 3px; max-width: 38ch; }
.join-fineprint {
  font: 400 13px/1.6 Manrope, sans-serif;
  color: rgba(251, 244, 231, .5);
  margin: 0;
  max-width: 44ch;
  border-top: 1px solid rgba(251, 244, 231, .14);
  padding-top: 18px;
}

.join-card {
  background: rgba(251, 244, 231, .05);
  border: 1px solid rgba(251, 244, 231, .14);
  border-radius: 24px;
  padding: clamp(26px, 3vw, 40px);
}
.join-form { display: flex; flex-direction: column; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field-label { font: 600 13px Manrope, sans-serif; letter-spacing: .04em; color: rgba(251, 244, 231, .7); }
.field input,
.field textarea {
  background: rgba(251, 244, 231, .07);
  border: 1px solid rgba(251, 244, 231, .2);
  border-radius: 12px;
  padding: 13px 15px;
  font: 500 16px Manrope, sans-serif;
  color: var(--cream);
  outline: none;
  width: 100%;
}
.field textarea { line-height: 1.5; resize: vertical; }
.field input::placeholder,
.field textarea::placeholder { color: rgba(251, 244, 231, .4); }
.field input:focus,
.field textarea:focus { border-color: rgba(244, 204, 120, .6); }
.field-error { font: 500 14px Manrope, sans-serif; color: #F2A65A; }

.join-success { text-align: center; padding: 30px 10px; }
.success-title { font: 500 28px 'Playfair Display', serif; margin: 0 0 12px; color: var(--cream); }
.success-body { font: 400 16px/1.6 Manrope, sans-serif; color: rgba(251, 244, 231, .72); margin: 0 auto; max-width: 34ch; }

/* ============================================================
   FAQ
   ============================================================ */
.faq { border-top: 1px solid rgba(46, 33, 23, .16); }
.faq .h2 { margin-bottom: 44px; }
.section--clay .h2 { margin-bottom: 44px; }
.faq-item { border-bottom: 1px solid rgba(46, 33, 23, .16); }
.faq-item summary {
  list-style: none;
  width: 100%;
  display: flex;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  padding: 24px 2px;
  text-align: left;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-q { font: 600 clamp(17px, 1.7vw, 21px)/1.3 Manrope, sans-serif; color: var(--ink); }
.faq-mark {
  position: relative;
  width: 18px;
  height: 26px;
  flex-shrink: 0;
  color: var(--accent);
}
.faq-mark::before,
.faq-mark::after {
  content: "";
  position: absolute;
  background: currentColor;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}
.faq-mark::before { width: 16px; height: 2px; }                 /* horizontal bar */
.faq-mark::after  { width: 2px; height: 16px; transition: opacity .18s ease; } /* vertical bar -> hidden when open */
.faq-item[open] .faq-mark::after { opacity: 0; }
.faq-a {
  font: 400 16px/1.65 Manrope, sans-serif;
  color: var(--ink-2);
  margin: 0;
  padding: 0 2px 26px;
  max-width: 62ch;
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer { padding: clamp(60px, 8vw, 104px) clamp(18px, 5vw, 40px) 48px; background: var(--darker); color: var(--cream); }
.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 40px;
  align-items: end;
  border-bottom: 1px solid rgba(251, 244, 231, .14);
  padding-bottom: 44px;
}
.footer-brand { display: flex; align-items: center; gap: 11px; margin-bottom: 20px; }
.footer-brand-name { font: 700 22px Manrope, sans-serif; letter-spacing: -.01em; }
.footer-blurb { font: 400 17px/1.55 Manrope, sans-serif; color: rgba(251, 244, 231, .7); margin: 0; max-width: 40ch; }
.footer-contacts { display: flex; flex-direction: column; gap: 12px; }
.footer-contacts a { font: 600 16px Manrope, sans-serif; color: var(--gold); text-decoration: none; }
.footer-contacts a:hover { text-decoration: underline; }
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: space-between;
  padding-top: 24px;
  font: 500 13px Manrope, sans-serif;
  color: rgba(251, 244, 231, .5);
}

/* ============================================================
   RESPONSIVE
   The prototype was authored at desktop width; these breakpoints
   stack the multi-column sections so the page works on phones.
   ============================================================ */
@media (max-width: 920px) {
  .about-grid,
  .solar-grid,
  .location-grid,
  .join-grid,
  .footer-top { grid-template-columns: 1fr; }

  .about-label { padding-top: 0; }
  .location-grid { justify-items: start; }
  .solar-photo { max-width: 460px; width: 100%; }
  .footer-top { align-items: start; }
}

@media (max-width: 760px) {
  .nav-links { display: none; }
}

@media (max-width: 600px) {
  .offers-grid,
  .principles-grid,
  .team-grid { grid-template-columns: 1fr; }

  .hero { min-height: 88vh; }
  .footer-bottom { flex-direction: column; gap: 8px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
