/*
Theme Name: Qaron
Theme URI: https://qaron.ge
Author: Qaron
Author URI: https://qaron.ge
Description: ციფრული მეხსიერების სივრცე — შენი ახლობლის ისტორია, ფოტოები, ვიდეოები და მუსიკა ერთ QR კოდში. QR კოდი საფლავზე, რომელიც ბმულდება ადამიანის სრულ ბიოგრაფიასთან.
Version: 2.1.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: qaron
*/

/* ============================================================
   QARON — Design System
   Aesthetic: warm editorial · ivory + forest green · brass accent
   Calm, dignified, generous whitespace. Built to feel trustworthy
   and effortless for non-technical visitors.
   ============================================================ */

:root {
  --q-ink:        #1f2620;   /* primary text — deep evergreen ink */
  --q-ink-soft:   #545d52;   /* secondary text */
  --q-muted:      #828b80;   /* captions / hints */
  --q-line:       #e7e1d4;   /* hairlines */
  --q-line-soft:  #f0ebe0;
  --q-paper:      #f8f5ee;   /* page background — warm ivory */
  --q-surface:    #fffdf8;   /* card surface */
  --q-green:      #2c4632;   /* primary evergreen */
  --q-green-deep: #1b2b20;
  --q-green-soft: #dde8de;
  --q-brass:      #a07d44;   /* brass accent */
  --q-brass-soft: #c2a268;
  --q-sand:       #efe7d6;

  --q-shadow:     0 1px 2px rgba(31,38,32,.04), 0 18px 48px -24px rgba(31,38,32,.22);
  --q-shadow-sm:  0 1px 2px rgba(31,38,32,.05), 0 8px 22px -14px rgba(31,38,32,.18);
  --q-radius:     18px;
  --q-radius-sm:  12px;

  --q-serif: "Noto Serif Georgian", Georgia, "Times New Roman", serif;
  --q-sans:  "Noto Sans Georgian", system-ui, -apple-system, sans-serif;

  --q-wrap: 1160px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--q-sans);
  color: var(--q-ink);
  background: var(--q-paper);
  line-height: 1.7;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4 {
  font-family: var(--q-serif);
  font-weight: 600;
  line-height: 1.2;
  color: var(--q-ink);
  letter-spacing: -0.012em;
  margin: 0 0 .5em;
}

p { margin: 0 0 1em; }
a { color: var(--q-green); text-decoration: none; transition: color .2s ease, opacity .2s ease; }
a:hover { color: var(--q-brass); }
img { max-width: 100%; height: auto; display: block; }

.q-wrap   { max-width: var(--q-wrap); margin: 0 auto; padding: 0 24px; }
.q-narrow { max-width: 740px; margin: 0 auto; padding: 0 24px; }

/* ---------- Buttons ---------- */
.q-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  font-family: var(--q-sans); font-weight: 600; font-size: 16px;
  padding: 14px 28px; border-radius: 999px; border: 1.5px solid transparent;
  cursor: pointer; transition: transform .18s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease;
  line-height: 1; white-space: nowrap; text-align: center;
}
.q-btn--primary { background: var(--q-green); color: #fbf8f0; box-shadow: var(--q-shadow-sm); }
.q-btn--primary:hover { background: var(--q-green-deep); color: #fff; transform: translateY(-2px); }
.q-btn--brass { background: var(--q-brass); color: #fff; }
.q-btn--brass:hover { background: var(--q-brass-soft); color: #fff; transform: translateY(-2px); }
.q-btn--ghost { background: transparent; color: var(--q-green); border-color: var(--q-line); }
.q-btn--ghost:hover { border-color: var(--q-green); color: var(--q-green); }
.q-btn--lg { padding: 16px 34px; font-size: 17px; }
.q-btn--block { width: 100%; }

.q-eyebrow {
  font-family: var(--q-sans); font-size: 13px; font-weight: 700;
  letter-spacing: .2em; text-transform: uppercase; color: var(--q-brass);
  margin-bottom: 14px; display: inline-block;
}

/* ============================================================
   HEADER
   ============================================================ */
.q-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(248,245,238,.82);
  backdrop-filter: saturate(1.3) blur(14px);
  -webkit-backdrop-filter: saturate(1.3) blur(14px);
  border-bottom: 1px solid var(--q-line);
}
.q-header__inner { display: flex; align-items: center; justify-content: space-between; height: 76px; gap: 18px; }
.q-logo { display: flex; align-items: center; gap: 11px; font-family: var(--q-serif); font-size: 25px; font-weight: 700; color: var(--q-ink); letter-spacing: .005em; }
.q-logo svg { width: 30px; height: 30px; flex-shrink: 0; }
.q-nav { display: flex; align-items: center; gap: 32px; }
.q-nav a { font-size: 15.5px; font-weight: 500; color: var(--q-ink-soft); }
.q-nav a:hover { color: var(--q-green); }
.q-header__cta { display: flex; align-items: center; gap: 16px; }
.q-header__cta .q-link { font-size: 15px; font-weight: 600; color: var(--q-ink-soft); }
.q-header__cta .q-link:hover { color: var(--q-green); }
.q-burger { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.q-burger span { display: block; width: 24px; height: 2px; background: var(--q-ink); margin: 5px 0; transition: .25s; border-radius: 2px; }

/* ============================================================
   HERO
   ============================================================ */
.q-hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(110% 120% at 85% -15%, rgba(160,125,68,.12), transparent 52%),
    radial-gradient(90% 90% at -10% 115%, rgba(44,70,50,.09), transparent 48%),
    var(--q-paper);
  padding: 96px 0 104px;
}
.q-hero__grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 68px; align-items: center; }
.q-hero h1 { font-size: clamp(40px, 5.4vw, 64px); margin-bottom: 22px; line-height: 1.12; }
.q-hero h1 em { font-style: italic; color: var(--q-brass); }
.q-hero p.lead { font-size: 19px; color: var(--q-ink-soft); max-width: 30em; margin-bottom: 32px; }
.q-hero__actions { display: flex; gap: 14px; flex-wrap: wrap; }
.q-hero__note { margin-top: 24px; font-size: 14px; color: var(--q-muted); display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.q-hero__note span { display: inline-flex; align-items: center; gap: 6px; }

/* Memorial stone + QR visual */
.q-stone {
  position: relative; aspect-ratio: 3 / 3.5; border-radius: 20px 20px 8px 8px;
  background: linear-gradient(165deg, #51605a, #2e3832 58%, #232b26);
  box-shadow: inset 0 2px 10px rgba(255,255,255,.09), var(--q-shadow);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 40px; text-align: center; color: #ece7da;
}
.q-stone::before {
  content:""; position:absolute; inset:12px; border-radius:16px 16px 5px 5px;
  border: 1px solid rgba(194,162,104,.4); pointer-events: none;
}
.q-stone__qr {
  width: 158px; height: 158px; background: #fffdf8; border-radius: 12px;
  padding: 13px; box-shadow: 0 10px 28px rgba(0,0,0,.38); margin-bottom: 24px;
}
.q-stone__qr img, .q-stone__qr canvas { width: 100%; height: 100%; display:block; }
.q-stone__name { font-family: var(--q-serif); font-size: 23px; color: #f4efe2; margin-bottom: 5px; }
.q-stone__dates { font-size: 14px; color: #b9bdae; letter-spacing: .05em; }
.q-stone__screw { position:absolute; width:9px; height:9px; border-radius:50%; background: radial-gradient(circle at 35% 35%, #ddd6c6, #8a8475); }
.q-stone__screw.tl{top:20px;left:20px}.q-stone__screw.tr{top:20px;right:20px}
.q-stone__screw.bl{bottom:20px;left:20px}.q-stone__screw.br{bottom:20px;right:20px}

/* ============================================================
   SECTIONS
   ============================================================ */
.q-section { padding: 90px 0; }
.q-section--surface { background: var(--q-surface); border-top:1px solid var(--q-line); border-bottom:1px solid var(--q-line); }
.q-section--green { background: var(--q-green); color: #ece7da; }
.q-section--green h2, .q-section--green h3 { color: #f4efe2; }
.q-section__head { max-width: 640px; margin: 0 auto 56px; text-align: center; }
.q-section__head h2 { font-size: clamp(29px, 3.8vw, 44px); }
.q-section__head p { font-size: 18px; color: var(--q-ink-soft); margin: 0; }
.q-section--green .q-section__head p { color: #c7ccbd; }

/* Steps */
.q-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.q-step { background: var(--q-surface); border:1px solid var(--q-line); border-radius: var(--q-radius); padding: 32px 28px; box-shadow: var(--q-shadow-sm); transition: transform .2s ease, box-shadow .2s ease; }
.q-step:hover { transform: translateY(-4px); box-shadow: var(--q-shadow); }
.q-step__num { font-family: var(--q-serif); font-size: 16px; font-weight:700; color:#fff; background: var(--q-brass); width: 40px; height:40px; border-radius:50%; display:flex; align-items:center; justify-content:center; margin-bottom:20px; }
.q-step h3 { font-size: 20px; margin-bottom: 8px; }
.q-step p { font-size: 15.5px; color: var(--q-ink-soft); margin: 0; }

/* Features */
.q-features { display: grid; grid-template-columns: repeat(3,1fr); gap: 30px; }
.q-feature { padding: 4px; }
.q-feature__icon { width: 48px; height: 48px; color: var(--q-green); margin-bottom: 18px; }
.q-feature h3 { font-size: 21px; margin-bottom: 8px; }
.q-feature p { color: var(--q-ink-soft); font-size: 15.5px; margin:0; }

/* ============================================================
   PACKAGES / PRICING
   ============================================================ */
.q-plans { display: grid; grid-template-columns: repeat(3,1fr); gap: 26px; align-items: stretch; }
.q-plan {
  background: var(--q-surface); border: 1px solid var(--q-line); border-radius: var(--q-radius);
  padding: 36px 32px; display: flex; flex-direction: column; box-shadow: var(--q-shadow-sm);
  position: relative; transition: transform .2s ease, box-shadow .2s ease;
}
.q-plan:hover { transform: translateY(-4px); box-shadow: var(--q-shadow); }
.q-plan--featured { border-color: var(--q-brass); box-shadow: 0 20px 56px -24px rgba(160,125,68,.5); }
.q-plan__badge { position:absolute; top:-14px; left:50%; transform:translateX(-50%); background: var(--q-brass); color:#fff; font-size:12px; font-weight:700; letter-spacing:.12em; text-transform:uppercase; padding:6px 18px; border-radius:999px; white-space:nowrap; }
.q-plan h3 { font-size: 24px; margin-bottom: 4px; }
.q-plan__sub { font-size: 14px; color: var(--q-muted); margin-bottom: 22px; }
.q-plan__price { font-family: var(--q-serif); font-size: 46px; color: var(--q-ink); line-height:1; margin-bottom: 4px; }
.q-plan__price span { font-family: var(--q-sans); font-size: 16px; color: var(--q-muted); font-weight: 500; }
.q-plan__list { list-style: none; padding: 0; margin: 26px 0 30px; }
.q-plan__list li { display:flex; gap:11px; align-items:flex-start; padding: 10px 0; font-size: 15px; color: var(--q-ink-soft); border-bottom: 1px solid var(--q-line-soft); }
.q-plan__list li:last-child { border-bottom: 0; }
.q-plan__list li::before { content:""; flex:0 0 18px; height:18px; margin-top:2px; background: var(--q-brass); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/%3E%3C/svg%3E") center/contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/%3E%3C/svg%3E") center/contain no-repeat; }
.q-plan .q-btn { margin-top: auto; }

/* ============================================================
   MEMORIAL — single profile page
   ============================================================ */
.q-memorial { background: var(--q-paper); }
.q-mem-hero {
  position: relative; min-height: 500px; display: flex; align-items: flex-end;
  color: #fff; padding: 64px 0;
  background: linear-gradient(180deg, rgba(20,26,21,.12), rgba(20,26,21,.84)), var(--q-green-deep);
  background-size: cover; background-position: center;
}
.q-mem-hero__inner { position: relative; z-index: 2; display:flex; align-items:flex-end; gap: 32px; flex-wrap: wrap; }
.q-mem-portrait {
  width: 176px; height: 218px; object-fit: cover; border-radius: 14px;
  border: 4px solid rgba(255,255,255,.92); box-shadow: 0 20px 44px rgba(0,0,0,.42);
  background: var(--q-sand);
}
.q-mem-hero h1 { font-size: clamp(36px, 5vw, 56px); color: #fff; margin: 0 0 8px; }
.q-mem-hero .q-mem-dates { font-size: 18px; color: #d8d2c4; letter-spacing: .04em; }
.q-mem-hero .q-mem-epitaph { font-style: italic; font-family: var(--q-serif); font-size: 20px; color: #ece7da; margin-top: 16px; max-width: 34em; }

.q-mem-body { padding: 66px 0 94px; }
.q-mem-layout { display: grid; grid-template-columns: 1fr 308px; gap: 58px; }
.q-mem-section { margin-bottom: 58px; }
.q-mem-section:last-child { margin-bottom: 0; }
.q-mem-section h2 { font-size: 28px; display:flex; align-items:center; gap:14px; margin-bottom: 24px; }
.q-mem-section h2::after { content:""; flex:1; height:1px; background: var(--q-line); }
.q-mem-bio { font-size: 17.5px; color: var(--q-ink-soft); line-height: 1.9; }

/* Gallery */
.q-gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.q-gallery a { display:block; border-radius: 12px; overflow: hidden; aspect-ratio: 1; box-shadow: var(--q-shadow-sm); }
.q-gallery img { width:100%; height:100%; object-fit: cover; transition: transform .4s ease; }
.q-gallery a:hover img { transform: scale(1.06); }

/* Video */
.q-video-grid { display:grid; grid-template-columns: repeat(2,1fr); gap: 18px; }
.q-video-embed { position: relative; padding-top: 56.25%; border-radius: 14px; overflow:hidden; background:#000; box-shadow: var(--q-shadow-sm); }
.q-video-embed iframe, .q-video-embed video { position:absolute; inset:0; width:100%; height:100%; border:0; }

/* Music */
.q-music { background: var(--q-surface); border:1px solid var(--q-line); border-radius: var(--q-radius); padding: 14px; }
.q-music__track { display:flex; align-items:center; gap:14px; padding:14px; border-radius:12px; }
.q-music__track:hover { background: var(--q-paper); }
.q-music__track audio { width: 100%; }
.q-music__note { font-style: italic; color: var(--q-muted); font-size: 14px; }
.q-music__ico { width:38px;height:38px;border-radius:50%;background:var(--q-green-soft);color:var(--q-green);display:flex;align-items:center;justify-content:center;flex-shrink:0;font-size:18px; }

/* Sidebar */
.q-mem-aside { position: sticky; top: 102px; align-self: start; }
.q-aside-card { background: var(--q-surface); border:1px solid var(--q-line); border-radius: var(--q-radius); padding: 28px; box-shadow: var(--q-shadow-sm); margin-bottom: 22px; text-align: center; }
.q-aside-card h3 { font-size: 17px; margin-bottom: 18px; }
.q-aside-qr { width: 186px; height: 186px; margin: 0 auto 16px; background:#fff; border-radius:14px; padding:13px; box-shadow: var(--q-shadow-sm); }
.q-aside-qr img, .q-aside-qr canvas { width:100%; height:100%; display:block; }
.q-aside-meta { list-style:none; padding:0; margin:0; text-align:left; }
.q-aside-meta li { display:flex; justify-content:space-between; gap:10px; padding:10px 0; border-bottom:1px solid var(--q-line-soft); font-size:14.5px; }
.q-aside-meta li:last-child{border:0}
.q-aside-meta span:first-child { color: var(--q-muted); }
.q-aside-meta span:last-child { color: var(--q-ink); font-weight:600; text-align:right; }
.q-candle__btn { font-size: 30px; background:none; border:0; cursor:pointer; transition: filter .3s ease, transform .2s ease; }
.q-candle__btn:hover { transform: scale(1.1); }

/* ============================================================
   AUTH (login / register)
   ============================================================ */
.q-auth-wrap { max-width: 440px; margin: 0 auto; }
.q-auth-card {
  background: var(--q-surface); border: 1px solid var(--q-line);
  border-radius: var(--q-radius); padding: 38px 36px; box-shadow: var(--q-shadow);
}
.q-auth-card h1 { font-size: 30px; text-align: center; margin-bottom: 6px; }
.q-auth-card .q-auth-sub { text-align: center; color: var(--q-muted); margin-bottom: 28px; font-size: 15px; }
.q-social { display: flex; flex-direction: column; gap: 12px; margin-bottom: 22px; }
.q-social__btn {
  display: flex; align-items: center; justify-content: center; gap: 11px;
  padding: 13px 18px; border-radius: 12px; border: 1.5px solid var(--q-line);
  background: #fff; font-family: var(--q-sans); font-weight: 600; font-size: 15.5px;
  color: var(--q-ink); cursor: pointer; transition: border-color .2s ease, box-shadow .2s ease, transform .15s ease;
}
.q-social__btn:hover { border-color: var(--q-brass-soft); box-shadow: var(--q-shadow-sm); transform: translateY(-1px); color: var(--q-ink); }
.q-social__btn svg { width: 20px; height: 20px; flex-shrink: 0; }
.q-social__btn--fb { background: #1877f2; border-color: #1877f2; color: #fff; }
.q-social__btn--fb:hover { background: #1568d8; color: #fff; }
.q-auth-or { display: flex; align-items: center; gap: 14px; margin: 6px 0 22px; color: var(--q-muted); font-size: 13px; }
.q-auth-or::before, .q-auth-or::after { content:""; flex:1; height:1px; background: var(--q-line); }
.q-auth-field { margin-bottom: 16px; }
.q-auth-field label { display:block; font-size:14px; font-weight:600; margin-bottom:7px; color: var(--q-ink); }
.q-auth-field input {
  width:100%; padding: 13px 15px; border:1.5px solid var(--q-line); border-radius: 12px;
  font-family: var(--q-sans); font-size:15.5px; background: var(--q-paper); color: var(--q-ink);
  transition: border-color .2s ease, box-shadow .2s ease;
}
.q-auth-field input:focus { outline:none; border-color: var(--q-brass); box-shadow:0 0 0 3px rgba(160,125,68,.14); background:#fff; }
.q-auth-foot { text-align: center; margin-top: 22px; font-size: 14.5px; color: var(--q-ink-soft); }
.q-auth-foot a { font-weight: 600; }
.q-auth-error { background: #fbeae6; border: 1px solid #e8c4ba; color: #9a3b28; padding: 12px 15px; border-radius: 10px; font-size: 14px; margin-bottom: 18px; }
.q-auth-note { font-size: 12.5px; color: var(--q-muted); text-align: center; margin-top: 14px; }

/* ============================================================
   ACCOUNT DASHBOARD + FRONT-END EDITOR
   ============================================================ */
.q-acc-list { display: flex; flex-direction: column; gap: 14px; }
.q-acc-card {
  display: flex; align-items: center; gap: 18px;
  background: var(--q-surface); border: 1px solid var(--q-line);
  border-radius: var(--q-radius); padding: 18px 20px; box-shadow: var(--q-shadow-sm);
}
.q-acc-thumb { flex: 0 0 64px; }
.q-acc-thumb--empty { width: 64px; height: 64px; border-radius: 12px; background: var(--q-sand); display: flex; align-items: center; justify-content: center; color: var(--q-brass); font-size: 26px; }
.q-acc-meta { flex: 1; min-width: 0; }
.q-acc-meta strong { font-family: var(--q-serif); font-size: 19px; display: block; margin-bottom: 6px; }
.q-acc-tags { display: flex; flex-wrap: wrap; gap: 7px; }
.q-tag { font-size: 12px; padding: 4px 11px; border-radius: 999px; background: var(--q-sand); color: var(--q-ink-soft); }
.q-tag--live { background: var(--q-green-soft); color: var(--q-green); }
.q-tag--draft { background: #f1e8d2; color: #8a6d2f; }
.q-acc-actions { display: flex; gap: 8px; flex-shrink: 0; }
.q-acc-actions .q-btn { padding: 11px 20px; font-size: 14px; }

.q-acc-edithead { display: flex; justify-content: space-between; align-items: center; margin-bottom: 22px; gap: 12px; flex-wrap: wrap; }
.q-back { font-weight: 600; }

.q-fe-form { display: flex; flex-direction: column; gap: 22px; }
.q-fe-card { background: var(--q-surface); border: 1px solid var(--q-line); border-radius: var(--q-radius); padding: 28px 30px; box-shadow: var(--q-shadow-sm); }
.q-fe-card h3 { font-size: 20px; margin-bottom: 6px; }
.q-fe-hint { font-size: 13.5px; color: var(--q-muted); margin-bottom: 16px; }
.q-fe-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.q-field { margin-bottom: 18px; }
.q-field:last-child { margin-bottom: 0; }
.q-field label { display:block; font-size:14px; font-weight:600; margin-bottom:7px; color: var(--q-ink); }
.q-field input, .q-field textarea {
  width:100%; padding: 12px 15px; border:1.5px solid var(--q-line); border-radius: 12px;
  font-family: var(--q-sans); font-size:15.5px; background: var(--q-paper); color: var(--q-ink);
  transition: border-color .2s ease, box-shadow .2s ease;
}
.q-field input:focus, .q-field textarea:focus { outline:none; border-color: var(--q-brass); box-shadow:0 0 0 3px rgba(160,125,68,.14); background:#fff; }
.q-field textarea { min-height: 150px; resize: vertical; line-height: 1.7; }
.q-field input[type="file"] { padding: 10px; background: var(--q-paper); font-size: 14px; }

.q-fe-gallery { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 18px; }
.q-fe-gal { width: 104px; }
.q-fe-gal img { width: 104px; height: 104px; object-fit: cover; border-radius: 12px; border: 1px solid var(--q-line); }
.q-fe-gal span { display: flex; align-items: center; gap: 5px; font-size: 12.5px; color: var(--q-ink-soft); margin-top: 6px; }

.q-repeat-row { display: flex; gap: 10px; margin-bottom: 10px; align-items: center; }
.q-repeat-row input[type="text"] { flex: 0 0 38%; }
.q-repeat-row input[type="url"] { flex: 1; }
.q-repeat-row .q-repeat-remove { padding: 10px 15px; line-height: 1; flex-shrink: 0; }
#qaron-fe-videos, #qaron-fe-music { margin-bottom: 12px; }

.q-fe-actions { display: flex; gap: 12px; justify-content: flex-end; padding-top: 6px; }

.q-notice { padding: 14px 18px; border-radius: 12px; margin-bottom: 26px; font-weight: 600; }
.q-notice--ok { background: var(--q-green); color: #fff; }
.q-notice--err { background: #8a3b2f; color: #fff; }

/* FAQ */
.q-faq { background: var(--q-surface); border: 1px solid var(--q-line); border-radius: var(--q-radius-sm); padding: 20px 24px; margin-bottom: 12px; }
.q-faq summary { cursor:pointer; font-weight:600; font-family:var(--q-serif); font-size:18px; list-style:none; display:flex; justify-content:space-between; align-items:center; }
.q-faq summary::-webkit-details-marker { display:none; }
.q-faq summary::after { content:"+"; color:var(--q-brass); font-size:22px; font-weight:400; }
.q-faq[open] summary::after { content:"–"; }
.q-faq p { margin: 14px 0 0; color: var(--q-ink-soft); }

/* ============================================================
   FOOTER
   ============================================================ */
.q-footer { background: var(--q-green-deep); color: #c7ccbd; padding: 66px 0 34px; }
.q-footer a { color: #d8d2c4; }
.q-footer a:hover { color: #fff; }
.q-footer__grid { display:grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 44px; margin-bottom: 46px; }
.q-footer__grid h4 { color:#f4efe2; font-family: var(--q-sans); font-size:13px; letter-spacing:.12em; text-transform:uppercase; margin-bottom: 16px; }
.q-footer__grid ul { list-style:none; padding:0; margin:0; }
.q-footer__grid li { padding: 5px 0; font-size: 15px; }
.q-footer__logo { font-family: var(--q-serif); font-size: 27px; color:#f4efe2; margin-bottom: 12px; }
.q-footer__bottom { border-top:1px solid rgba(255,255,255,.12); padding-top: 24px; display:flex; justify-content:space-between; flex-wrap:wrap; gap:10px; font-size:13.5px; color:#9aa194; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 980px) {
  .q-hero__grid { grid-template-columns: 1fr; gap: 44px; }
  .q-hero { padding: 64px 0 76px; }
  .q-steps, .q-features, .q-plans { grid-template-columns: 1fr 1fr; }
  .q-mem-layout { grid-template-columns: 1fr; }
  .q-mem-aside { position: static; }
  .q-footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 680px) {
  body { font-size: 16px; }
  .q-nav { display: none; }
  .q-burger { display: block; }
  .q-header__cta .q-link { display: none; }
  .q-steps, .q-features, .q-plans, .q-gallery, .q-video-grid { grid-template-columns: 1fr; }
  .q-gallery { grid-template-columns: 1fr 1fr; }
  .q-section { padding: 60px 0; }
  .q-footer__grid { grid-template-columns: 1fr; }
  .q-fe-row { grid-template-columns: 1fr; }
  .q-fe-actions { flex-direction: column-reverse; }
  .q-fe-actions .q-btn { width: 100%; }
  .q-repeat-row { flex-wrap: wrap; }
  .q-repeat-row input[type="text"], .q-repeat-row input[type="url"] { flex: 1 1 100%; }
  .q-acc-card { flex-wrap: wrap; }
  .q-acc-actions { width: 100%; }
  .q-acc-actions .q-btn { flex: 1; }
  .q-nav--open { display:flex; position:absolute; top:76px; left:0; right:0; flex-direction:column; background: var(--q-surface); padding:18px 24px; border-bottom:1px solid var(--q-line); gap:14px; box-shadow: var(--q-shadow); }
}

/* ============================================================
   HOME — 3-step + Why list (added for Qaron copy)
   ============================================================ */
.q-steps--3 { grid-template-columns: repeat(3, 1fr); max-width: 980px; margin: 0 auto; }

.q-why__list {
  list-style: none; padding: 0; margin: 0;
  max-width: 760px; margin: 0 auto;
  display: flex; flex-direction: column; gap: 14px;
}
.q-why__list li {
  display: flex; gap: 16px; align-items: flex-start;
  background: var(--q-surface); border: 1px solid var(--q-line);
  border-radius: var(--q-radius); padding: 20px 24px; box-shadow: var(--q-shadow-sm);
  font-size: 16.5px; color: var(--q-ink-soft); line-height: 1.6;
}
.q-why__ico {
  flex: 0 0 30px; width: 30px; height: 30px; border-radius: 50%;
  background: var(--q-green-soft); color: var(--q-green);
  display: flex; align-items: center; justify-content: center; margin-top: 1px;
}
.q-why__ico svg { width: 18px; height: 18px; }

@media (max-width: 900px) {
  .q-steps--3 { grid-template-columns: 1fr; max-width: 520px; }
}
