/* Kolpa ZAVEDNO — static rebuild, matched to original Framer layout */

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

:root {
  --ink: #1a2420;
  --ink-soft: #4c574f;
  --forest: #173f31;      /* header / practice section / footer */
  --forest-2: #142e25;    /* slightly deeper, used for dark cards on photos */
  --teal: #1c433f;        /* app download section */
  --sand: #f6f1e6;        /* page background */
  --tan-card: #e9dfc7;    /* info cards on sand background */
  --cream-btn: #f6f1e6;
  --white: #ffffff;
  --line: rgba(26, 36, 32, 0.12);
  --line-on-dark: rgba(255, 255, 255, 0.18);
  --max: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--sand);
  color: var(--ink);
  font-family: 'Public Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-family: 'Lora', Georgia, serif;
  font-weight: 600;
  line-height: 1.18;
  margin: 0 0 0.5em;
  color: var(--forest);
}

h1 { font-size: clamp(2rem, 4.4vw, 3rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2rem); }
h3 { font-size: 1.2rem; font-weight: 600; }

p { margin: 0 0 1em; max-width: 62ch; }
a { color: inherit; }
img { max-width: 100%; display: block; }

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 32px;
}

.eyebrow {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

/* ---------- Header ---------- */
.site-header { background: var(--forest); }

.nav {
  max-width: var(--max);
  margin: 0 auto;
  padding: 18px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  font-family: 'Public Sans', sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  text-decoration: none;
  color: var(--sand);
  white-space: nowrap;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  text-decoration: none;
  color: var(--sand);
  font-size: 0.95rem;
  opacity: 0.75;
  transition: opacity 0.15s ease;
}
.nav-links a:hover { opacity: 1; }
.nav-links a.current { opacity: 1; font-weight: 600; }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--sand);
  font-size: 1.6rem;
  cursor: pointer;
}

/* ---------- Language switcher (flags, top right) ---------- */
.lang-switcher {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}
.lang-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: none;
  border: 1px solid var(--line-on-dark);
  border-radius: 6px;
  padding: 4px 8px;
  font-family: 'Public Sans', sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--sand);
  opacity: 0.55;
  cursor: pointer;
  transition: opacity 0.15s ease, border-color 0.15s ease, background 0.15s ease;
}
.lang-btn .flag { font-size: 1rem; line-height: 1; }
.lang-btn:hover { opacity: 0.85; }
.lang-btn.active {
  opacity: 1;
  border-color: rgba(255,255,255,0.5);
  background: rgba(255,255,255,0.08);
}

/* ---------- Buttons (single style, used everywhere) ---------- */
.btn {
  display: inline-block;
  padding: 13px 26px;
  border-radius: 999px;
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 600;
  background: var(--cream-btn);
  color: var(--forest);
  border: none;
  cursor: pointer;
  transition: background 0.15s ease, transform 0.1s ease;
}
.btn:hover { background: var(--white); }
.btn-block { display: block; width: 100%; text-align: center; }

.btn-row { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 26px; }

/* ---------- Hero (home) — full-bleed photo, text overlaid ---------- */
.hero-photo {
  position: relative;
  min-height: 640px;
  display: flex;
  align-items: flex-end;
  background: var(--forest-2);
  background-size: cover;
  background-position: center;
  color: var(--white);
  overflow: hidden;
}
.hero-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(8,18,14,0.72) 0%, rgba(8,18,14,0.42) 45%, rgba(8,18,14,0.22) 100%);
}
.hero-photo .wrap { position: relative; z-index: 1; padding-top: 60px; padding-bottom: 64px; }
.hero-photo .eyebrow { color: #dbe7d6; }
.hero-photo h1 { color: var(--white); max-width: 16ch; }
.hero-photo p.lede { color: #e7ece1; font-size: 1.08rem; max-width: 46ch; }

.funding-badge {
  position: absolute;
  top: 26px;
  right: 32px;
  z-index: 2;
  background: var(--white);
  border-radius: 8px;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  box-shadow: 0 6px 18px rgba(0,0,0,0.18);
}
.funding-badge img { max-height: 40px; width: auto; }

/* ---------- Sections ---------- */
section { padding: 72px 0; }
.section-sand { background: var(--sand); }
.section-teal { background: var(--teal); color: var(--sand); }
.section-forest { background: var(--forest); color: var(--sand); }

.section-forest h2, .section-teal h2 { color: var(--white); }
.section-forest p, .section-teal p { color: #cbd6c6; }
.section-forest .eyebrow, .section-teal .eyebrow { color: #a9c2a2; }

.section-head { max-width: 68ch; margin-bottom: 32px; }

/* Info cards on sand background */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 32px; }
.tan-card {
  background: var(--tan-card);
  border-radius: 12px;
  padding: 26px;
}
.tan-card h3 { font-family: 'Public Sans', sans-serif; font-size: 1.05rem; margin-bottom: 8px; }
.tan-card p { font-size: 0.95rem; color: var(--ink-soft); margin: 0; }

.funding-note {
  font-size: 0.85rem;
  color: var(--ink-soft);
  margin-top: 28px;
}

/* App download section */
.app-layout { display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; align-items: center; }
.store-row { display: flex; gap: 20px; }
.store-card {
  background: var(--white);
  border-radius: 16px;
  padding: 22px;
  text-align: center;
  flex: 1;
  color: var(--ink);
}
.store-card .qr-ph {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 8px;
  margin-bottom: 14px;
  overflow: hidden;
}
.store-card .qr-ph img { width: 100%; height: 100%; object-fit: contain; }
.store-card .store-caption { font-weight: 700; font-size: 0.92rem; line-height: 1.3; }

/* Practice list (bordered cards on dark) */
.practice-list {
  list-style: none; margin: 24px 0 0; padding: 0;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
}
.practice-list li {
  border: 1px solid var(--line-on-dark);
  border-radius: 12px;
  padding: 24px;
}
.practice-list .icon { margin-bottom: 14px; opacity: 0.9; }
.practice-list h3 { color: var(--white); font-family: 'Public Sans', sans-serif; font-size: 1.02rem; margin-bottom: 6px; }
.practice-list p { color: #b9c6b4; font-size: 0.92rem; margin: 0; }

/* ---------- Footer (merges into last dark section) ---------- */
footer { padding-top: 56px; }
footer .tagline { color: var(--white); font-family: 'Lora', serif; font-size: 1.25rem; font-weight: 600; margin-bottom: 14px; max-width: 40ch; }
footer .more-label { color: #b9c6b4; font-size: 0.9rem; margin-bottom: 16px; }
.social-row { display: flex; flex-direction: row; gap: 16px; align-items: center; flex-wrap: wrap; }
.social-badge {
  width: 56px; height: 56px;
  border-radius: 14px;
  background: var(--white);
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
  transition: transform 0.15s ease;
  flex-shrink: 0;
}
.social-badge:hover { transform: translateY(-2px); }
.social-badge img { width: 100%; height: 100%; object-fit: contain; padding: 6px; }

/* ---------- About page: single column narrative ---------- */
.narrative { max-width: 76ch; }
.inset-photo { margin: 32px 0; }
.inset-photo img, .inset-photo .ph { border-radius: 12px; width: 100%; }
.inset-caption { font-size: 0.88rem; color: var(--ink-soft); font-style: italic; margin-top: -18px; margin-bottom: 32px; }

.stat-band {
  background: var(--forest);
  color: var(--sand);
  padding: 30px 0;
}
.stat-band strong { display: block; font-family: 'Lora', serif; font-weight: 700; font-size: 1.05rem; color: var(--white); }
.stat-band span { font-size: 0.92rem; color: #cbd6c6; }

/* ---------- Page hero (plain, sand bg — book / ask-us top) ---------- */
.page-hero-plain { background: var(--sand); padding: 60px 0 48px; }
.page-hero-plain h1 { max-width: 22ch; }
.page-hero-plain p.lede { color: var(--ink-soft); }

/* ---------- Form-over-photo section (book / ask-us) ---------- */
.photo-form-section {
  position: relative;
  background: var(--forest-2);
  background-size: cover;
  background-position: center;
  padding: 56px 0 64px;
}
.photo-form-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(8, 18, 14, 0.55);
}
.photo-form-section .wrap { position: relative; z-index: 1; }

.photo-form-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 36px;
  align-items: start;
}

.info-card {
  background: rgba(20, 46, 37, 0.92);
  border-radius: 14px;
  padding: 30px;
  color: var(--white);
}
.info-card .brand-logo-ph {
  width: 96px; height: 56px; margin-bottom: 16px;
}
.info-card .brand-logo-ph img { max-width: 100%; max-height: 100%; object-fit: contain; }
.info-card .locality-pill {
  display: inline-flex; align-items: center; gap: 6px;
  border: 1px solid var(--line-on-dark);
  border-radius: 999px;
  padding: 6px 14px;
  font-size: 0.82rem;
  margin-bottom: 16px;
  color: #dbe7d6;
  transition: border-color 0.15s ease, background 0.15s ease;
}
.info-card .locality-pill:hover { border-color: rgba(255,255,255,0.5); background: rgba(255,255,255,0.06); }
.info-card h3 { color: var(--white); font-size: 1.3rem; margin-bottom: 10px; }
.info-card p { color: #c9d6c4; font-size: 0.95rem; margin: 0; }
.info-card p + p { margin-top: 14px; }

.app-icon-ph {
  width: 190px; height: 190px;
  border-radius: 50%;
  margin-top: 24px;
  overflow: hidden;
  border: 3px solid rgba(255,255,255,0.15);
}
.app-icon-ph img { width: 100%; height: 100%; object-fit: cover; }

.field { margin-bottom: 18px; }
.field label {
  display: block;
  font-size: 0.88rem;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--white);
  text-shadow: 0 1px 4px rgba(0,0,0,0.5);
}
.field input:not([type="checkbox"]),
.field select,
.field textarea {
  width: 100%;
  padding: 12px 14px;
  border: none;
  border-radius: 8px;
  font-family: inherit;
  font-size: 0.96rem;
  background: rgba(246, 241, 230, 0.92);
  color: var(--ink);
}
.field select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%231a2420' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 38px;
}
.field textarea { min-height: 100px; resize: vertical; }

.field-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.88rem;
  color: var(--white);
  text-shadow: 0 1px 4px rgba(0,0,0,0.5);
  margin-bottom: 20px;
}
.field-check input {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  margin-top: 3px;
  accent-color: var(--forest);
  cursor: pointer;
}
.field-check label { flex: 1; }

.form-status { margin-top: 14px; font-size: 0.9rem; display: none; color: var(--white); }
.form-status.success { display: block; }
.form-status.error { display: block; color: #ffb4a1; }

/* ---------- Generic placeholder blocks (photos to be added later) ---------- */
.ph {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--ink-soft);
  font-size: 0.8rem;
  padding: 16px;
  background: repeating-linear-gradient(45deg, rgba(23,63,49,0.06) 0 10px, rgba(23,63,49,0.02) 10px 20px);
  border: 1px dashed rgba(23,63,49,0.25);
  border-radius: 12px;
}
.ph::before { content: "\1F4F7  " attr(data-label); }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .app-layout, .photo-form-grid { grid-template-columns: 1fr; }
  .grid-3, .practice-list, .store-row { grid-template-columns: 1fr; }
  .store-row { flex-direction: column; }

  .nav-links {
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: var(--forest);
    flex-direction: column;
    align-items: flex-start;
    padding: 18px 32px 24px;
    gap: 14px;
    display: none;
  }
  .nav-links.open { display: flex; }
  .nav { position: relative; flex-wrap: wrap; }
  .nav-toggle { display: block; }

  .funding-badge { position: static; margin: 16px 32px 0; display: inline-flex; }
  .hero-photo .wrap { padding-top: 24px; }
}
