:root {
  --bg:   #faf7fc;   
  --surf: #ffffff;   
  --ink:  #2a1636;  
  --mute: #6b5878;   
  --pri:  #6a2a85; 
  --acc:  #c8962e; 
  --line: #e8dcef; 
  --soft: #f3eaf8; 

  box-sizing: border-box;
  padding-top: env(safe-area-inset-top, 0px);
  padding-bottom: env(safe-area-inset-bottom, 0px);
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg:   #150b1c;
    --surf: #201129;
    --ink:  #f3eaf8;
    --mute: #b9a6c6;
    --pri:  #b87fd6;
    --acc:  #e0b04f;
    --line: #392348;
    --soft: #2a1a36;
  }
}


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

[hidden] { display: none !important; }  

html {
  scroll-behavior: smooth;
  scroll-padding-top: 70px;              
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 17px/1.65 "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

img { max-width: 100%; height: auto; }

.w {                                   
  max-width: 1040px;
  margin: 0 auto;
  padding: 0 20px;
}

section { padding: 52px 0; }
section.alt { background: var(--soft); }

h2 {
  font-size: clamp(24px, 4vw, 32px);
  margin: 0 0 8px;
  color: var(--pri);
}

.lead {
  color: var(--mute);
  margin: 0 0 28px;
  max-width: 680px;
}
.lead-tight { margin-bottom: 14px; }
.muted      { color: var(--mute); margin: 0 0 12px; }
.sub        { margin: 0 0 8px; font-size: 22px; }
.note       { font-size: 14px; color: var(--mute); margin-top: 14px; }
.plain      { color: var(--pri); }

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid var(--acc);
  outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}


header {
  position: sticky;
  top: env(safe-area-inset-top, 0px);
  z-index: 5;
  background: var(--surf);
  border-bottom: 1px solid var(--line);
}

header .w {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  min-height: 56px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 800;
  font-size: 20px;
  color: var(--pri);
  text-decoration: none;
}
.logo span { color: var(--acc); }
.logo-img  { height: 38px; width: auto; display: block; }

nav { display: flex; flex-wrap: wrap; gap: 16px; }
nav a { color: var(--ink); text-decoration: none; font-size: 15px; }
nav a:hover { color: var(--pri); }


.hero {
  background: linear-gradient(135deg, #3d1352, #6a2a85 60%, #8a3f9e);
  color: #fff;
  padding: 56px 0;
}

.hero .w {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 32px;
  align-items: center;
}

.hero h1 {
  font-size: clamp(28px, 5vw, 44px);
  line-height: 1.15;
  margin: 0 0 14px;
}

.hero p { margin: 0 0 22px; opacity: .92; }

.hero img {
  width: 100%;
  max-width: 420px;
  justify-self: center;
  filter: drop-shadow(0 22px 36px rgba(0, 0, 0, .45));
}

.btn {
  display: inline-block;
  background: var(--acc);
  color: #2a1636;
  font-weight: 700;
  font-size: 16px;
  padding: 12px 22px;
  border: 0;
  border-radius: 999px;
  text-decoration: none;
  cursor: pointer;
}
.btn:disabled { opacity: .6; cursor: wait; }

.btn.o {                          
  background: transparent;
  color: #fff;
  border: 2px solid #fff;
  margin-left: 8px;
}


.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 16px;
}

.card {
  background: var(--surf);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 20px;
}
.card h3 { margin: 0 0 6px; font-size: 18px; }
.card p  { margin: 0; color: var(--mute); font-size: 15.5px; }

.ic { font-size: 28px; margin-bottom: 6px; }   /* емоджи иконка в карта */

ul.ck { list-style: none; padding: 0; margin: 0; }
ul.ck li {
  position: relative;
  padding: 7px 0 7px 28px;
  border-bottom: 1px solid var(--line);
}
ul.ck li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--acc);
  font-weight: 800;
}

.card ul.ck { margin-top: 12px; }
.card ul.ck li { padding: 6px 0 6px 26px; font-size: 15px; color: var(--mute); }
.card ul.ck li:last-child { border-bottom: 0; }

.two {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: center;
}


.two img.cut {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 640px;
  justify-self: center;
  filter: drop-shadow(0 16px 24px rgba(0, 0, 0, .28));
}

.pic {
  width: 100%;
  max-width: 420px;
  justify-self: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 10px;
  box-shadow: 0 14px 34px rgba(60, 20, 80, .16);
}
.pic img { display: block; width: 100%; border-radius: 12px; }

.tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.tabs button {
  border: 1px solid var(--line);
  background: var(--surf);
  color: var(--ink);
  padding: 9px 18px;
  border-radius: 999px;
  font-size: 15px;
  cursor: pointer;
}
.tabs button.on { background: var(--pri); color: #fff; border-color: var(--pri); }

#info { margin-top: 4px; }

.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tags span {
  cursor: default;
  background: var(--surf);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 5px 13px;
  font-size: 14.5px;
}

.season {
  display: grid;
  gap: 12px;
  background: linear-gradient(150deg, #4a1a7a, #6a2a85);
  color: #fff;
  border-radius: 18px;
  padding: 28px;
  box-shadow: 0 10px 26px rgba(60, 20, 90, .25);
}
.season h3 { margin: 0; font-size: 22px; }
.season p  { margin: 0; opacity: .95; }
.season ul.ck li { border-color: rgba(255, 255, 255, .2); }
.season ul.ck li:last-child { border-bottom: 0; }


.proc { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }

.tile {
  background: linear-gradient(150deg, #4a1a7a, #6a2a85);
  color: #fff;
  border-radius: 18px;
  padding: 26px 16px;
  text-align: center;
  box-shadow: 0 10px 26px rgba(60, 20, 90, .25);
}
.tile svg {
  width: 52px;
  height: 52px;
  margin-bottom: 10px;
  fill: none;
  stroke: #fff;
  stroke-width: 1.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.tile h3 { margin: 0 0 6px; font-size: 19px; }
.tile p  { margin: 0; font-size: 14.5px; opacity: .9; }


.page-hero {
  background: linear-gradient(135deg, #3d1352, #6a2a85 60%, #8a3f9e);
  color: #fff;
  padding: 48px 0;
}
.page-hero h1 { margin: 0 0 10px; font-size: clamp(28px, 5vw, 40px); line-height: 1.15; }
.page-hero p  { margin: 0; max-width: 680px; opacity: .92; }

nav a[aria-current="page"] { color: var(--pri); font-weight: 700; }

.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}

.work {
  background: var(--surf);
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
}
.work-photo { aspect-ratio: 4 / 3; background: var(--soft); }
.work-photo img { display: block; width: 100%; height: 100%; object-fit: cover; }

.ph {                                    /* място за снимка, докато не добавите истинска */
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 34px;
  color: var(--pri);
  background: linear-gradient(135deg, var(--soft), var(--line));
}
.ph span { font-size: 14px; color: var(--mute); }

.work-body { padding: 16px 18px 18px; }
.work-body h3 { margin: 0; font-size: 18px; }
.work-body p  { margin: 6px 0 0; font-size: 15px; color: var(--mute); }
.work-body .where { margin-top: 2px; font-size: 14px; color: var(--pri); font-weight: 600; }

.cta { text-align: center; }
.cta .lead { margin-left: auto; margin-right: auto; }
.btn.o-dark {                            /* бутон с контур за светъл фон */
  background: transparent;
  color: var(--pri);
  border: 2px solid var(--pri);
  margin-left: 8px;
}


.rev {
  background: var(--surf);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 14px 16px;
  margin-bottom: 10px;
}
.rev b  { color: var(--pri); }
.rev .st { color: var(--acc); letter-spacing: 2px; }

.form-card { margin-top: 20px; }

form { display: grid; gap: 12px; }

input,
textarea,
select {
  width: 100%;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surf);
  color: var(--ink);
  font: inherit;
}

.status { min-height: 1.4em; font-weight: 600; color: #2e8b57; }
.status.err { color: #c0392b; }

.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
}


footer {
  background: #2a1636;
  color: #e6d7ef;
  padding: 30px 0;
  text-align: center;
  font-size: 15px;
}
footer a { color: #e0b04f; }


@media (max-width: 760px) {
  .hero .w,
  .two { grid-template-columns: 1fr; }

  .hero img { order: -1; max-width: 260px; }
  .btn.o,
  .btn.o-dark { margin: 10px 0 0; }
  .proc { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 420px) {
  .proc { grid-template-columns: 1fr; }
}
