/* Eclectic Art Lines — shared styles */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --blue:      #28468C;
  --blue-dark: #1a2f5e;
  --ink:       #2a3a5c;
  --muted:     #5a6a8a;
  --cream:     #FFF0BE;
  --cream-dim: rgba(255,240,190,0.75);
  --paper:     #f7f8fc;
  --line:      rgba(40,70,140,0.12);
  --white:     #ffffff;
}

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: Georgia, 'Times New Roman', serif;
  background: var(--white);
  color: var(--blue-dark);
  line-height: 1.7;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); }

.wrap { max-width: 900px; margin: 0 auto; padding: 0 1.25rem; }

/* ── HERO ── */
.hero {
  background: var(--blue-dark) url('fon.jpg') center / cover no-repeat;
  color: var(--cream);
  text-align: center;
  padding: clamp(2rem, 6vw, 3.5rem) 1.25rem clamp(2.25rem, 6vw, 3.5rem);
}
.hero-logo {
  width: min(520px, 86vw);
  height: auto;
  margin: 0 auto;
  filter: drop-shadow(0 2px 10px rgba(0,0,0,0.35));
}
.hero-sub {
  max-width: none;
  margin-top: 0.75rem;
  font-size: clamp(0.72rem, 2.8vw, 0.85rem);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--cream-dim);
  text-shadow: 0 1px 6px rgba(0,0,0,0.6);
}

/* compact header for inner pages */
.topbar { background: var(--blue); }
.topbar .wrap {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; padding-top: 0.9rem; padding-bottom: 0.9rem;
}
.topbar img { height: 34px; width: auto; }
.topbar a { color: var(--cream); text-decoration: none; font-size: 0.85rem; opacity: 0.85; }
.topbar a:hover { opacity: 1; }

/* ── SECTIONS ── */
section { padding: clamp(3rem, 8vw, 5rem) 0; }
section.tint { background: var(--paper); }

.label {
  font-size: 0.72rem; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--blue); opacity: 0.65; margin-bottom: 0.75rem;
}
h1, h2, h3 { font-weight: normal; line-height: 1.25; color: var(--blue-dark); }
h2 { font-size: clamp(1.5rem, 5vw, 2.1rem); margin-bottom: 1rem; }
h3 { font-size: 1.15rem; }
p { color: var(--ink); max-width: 62ch; margin-bottom: 1rem; font-size: 1.02rem; }

/* ── APPS ── */
.apps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 330px), 1fr));
  gap: 1.25rem;
  margin-top: 2rem;
}
.app-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 1.5rem;
  display: flex; flex-direction: column; gap: 0.6rem;
}
.app-head { display: flex; align-items: center; gap: 0.9rem; }
.app-icon {
  width: 64px; height: 64px; border-radius: 15px; flex-shrink: 0;
  object-fit: cover; box-shadow: 0 1px 4px rgba(26,47,94,0.18);
}
.app-icon.placeholder {
  display: grid; place-items: center;
  background: var(--blue); color: var(--cream); font-size: 1.6rem;
}
.tag { font-size: 0.7rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.app-card p { font-size: 0.92rem; color: #4a5a7a; margin: 0; }

.status {
  display: inline-block; align-self: flex-start;
  font-size: 0.7rem; letter-spacing: 0.08em; text-transform: uppercase;
  padding: 0.2rem 0.6rem; border-radius: 99px;
  background: rgba(40,70,140,0.08); color: var(--blue);
}
.status.live { background: #e3f1e6; color: #24613a; }

.app-actions {
  margin-top: auto; padding-top: 0.75rem;
  display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem 1rem;
}
.btn {
  display: inline-flex; align-items: center; gap: 0.45rem;
  background: var(--blue); color: var(--cream);
  text-decoration: none; font-size: 0.85rem;
  padding: 0.55rem 1rem; border-radius: 99px;
  transition: background 0.2s;
}
.btn:hover { background: var(--blue-dark); }
.btn svg { width: 16px; height: 16px; fill: currentColor; flex-shrink: 0; }
.small-link { font-size: 0.8rem; color: var(--muted); }

/* ── ABOUT ── */
.about-grid { display: grid; gap: 2rem; }
.facts { list-style: none; display: grid; gap: 0.75rem; margin-top: 0.5rem; }
.facts li {
  padding-left: 1.4rem; position: relative; color: var(--ink); font-size: 0.98rem;
}
.facts li::before {
  content: ''; position: absolute; left: 0; top: 0.75em;
  width: 0.7rem; height: 2px; background: var(--blue); opacity: 0.5;
}
@media (min-width: 760px) {
  .about-grid { grid-template-columns: 3fr 2fr; align-items: start; }
}

/* ── CONTACT STRIP ── */
.contact-row { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.25rem; }
.btn.ghost { background: transparent; color: var(--blue); border: 1px solid rgba(40,70,140,0.35); }
.btn.ghost:hover { background: rgba(40,70,140,0.06); }

/* ── FOOTER ── */
footer {
  background: var(--blue-dark);
  color: var(--cream-dim);
  text-align: center;
  padding: 2.5rem 1.25rem;
}
.footer-logo { width: min(240px, 60vw); margin: 0 auto 1.25rem; opacity: 0.85; }
.social {
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: 0.75rem 1.5rem; margin-bottom: 1.5rem;
}
.social a {
  display: inline-flex; align-items: center; gap: 0.45rem;
  color: var(--cream-dim); text-decoration: none;
  font-size: 0.85rem; letter-spacing: 0.04em; line-height: 1;
  transition: color 0.2s;
}
.social a:hover { color: var(--cream); }
.social svg { width: 18px; height: 18px; fill: currentColor; flex-shrink: 0; }
footer nav {
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: 0.5rem 1.25rem; margin-bottom: 1.5rem;
}
footer nav a {
  color: var(--cream-dim); text-decoration: none;
  font-size: 0.75rem; letter-spacing: 0.08em; text-transform: uppercase;
}
footer nav a:hover { color: var(--cream); }
.copy { max-width: none; margin: 0; font-size: 0.75rem; color: rgba(255,240,190,0.4); }

/* ── DOCUMENT PAGES (privacy, support) ── */
.doc { max-width: 740px; margin: 0 auto; padding: clamp(2rem, 6vw, 3.5rem) 1.25rem 4rem; }
.doc h1 { font-size: clamp(1.6rem, 6vw, 2rem); margin-bottom: 0.4rem; }
.doc .meta { font-size: 0.85rem; color: #777; margin-bottom: 2rem; }
.doc h2 { font-size: 1.15rem; color: var(--blue); margin: 2.25rem 0 0.6rem; }
.doc p, .doc li { font-size: 0.98rem; color: var(--ink); max-width: 66ch; margin-bottom: 0.75rem; }
.doc ul { padding-left: 1.4rem; }
.doc hr { border: none; border-top: 1px solid #ddd; margin: 3rem 0; }
.lang-switch { display: flex; gap: 0.5rem; margin-bottom: 1.5rem; }
.lang-switch a {
  font-size: 0.8rem; text-decoration: none; padding: 0.2rem 0.7rem;
  border: 1px solid var(--line); border-radius: 99px;
}

/* FAQ */
details {
  border: 1px solid var(--line); border-radius: 10px;
  padding: 0.9rem 1.1rem; margin-bottom: 0.75rem; background: var(--white);
}
summary { cursor: pointer; color: var(--blue-dark); font-size: 1rem; }
details[open] summary { margin-bottom: 0.6rem; }
details p:last-child { margin-bottom: 0; }
