:root {
  color-scheme: light;
  --pink: #e94393;
  --pink-deep: #a91565;
  --yellow: #ffd94c;
  --yellow-soft: #fff2ae;
  --blue: #1ba8ee;
  --blue-deep: #0a5c9c;
  --coral: #ff6c61;
  --mint: #66d6c5;
  --ink: #251421;
  --muted: #6f5f69;
  --line: rgba(37, 20, 33, 0.14);
  --paper: #fffaf5;
  --white: #ffffff;
  --shadow: 0 22px 55px rgba(169, 21, 101, 0.16);
  --radius: 8px;
  --max: 1180px;
  --header: 76px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  font-size: 16px;
  line-height: 1.6;
}

body.menu-open {
  overflow: hidden;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

:focus-visible {
  outline: 3px solid rgba(27, 168, 238, 0.45);
  outline-offset: 3px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  min-height: var(--header);
  border-bottom: 1px solid rgba(37, 20, 33, 0.08);
  background: rgba(255, 250, 245, 0.92);
  backdrop-filter: blur(18px);
}

.header-inner {
  width: min(100% - 40px, var(--max));
  margin: 0 auto;
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  align-items: center;
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  font-weight: 850;
  font-size: 1.22rem;
}

.brand-mark {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 2px solid var(--ink);
  background:
    linear-gradient(135deg, transparent 55%, rgba(27, 168, 238, 0.25) 55%),
    linear-gradient(45deg, var(--yellow), var(--pink));
  border-radius: 8px;
  box-shadow: 5px 5px 0 var(--ink);
}

.brand-mark::before {
  content: "";
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--white);
  border: 2px solid var(--ink);
}

.nav {
  justify-self: center;
}

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

.nav a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 12px;
  color: rgba(37, 20, 33, 0.78);
  font-size: 0.94rem;
  font-weight: 700;
  border-radius: 6px;
}

.nav a:hover {
  color: var(--pink-deep);
  background: rgba(233, 67, 147, 0.08);
}

.header-actions {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.lang-toggle {
  display: inline-grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  padding: 3px;
  border: 1px solid var(--line);
  background: var(--white);
  border-radius: 8px;
}

.lang-toggle button {
  min-width: 38px;
  min-height: 34px;
  border: 0;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  border-radius: 6px;
  font-weight: 800;
}

.lang-toggle button[aria-pressed="true"] {
  background: var(--ink);
  color: var(--white);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 46px;
  padding: 0 18px;
  border: 2px solid var(--ink);
  background: var(--pink);
  color: var(--white);
  border-radius: 8px;
  box-shadow: 5px 5px 0 var(--ink);
  cursor: pointer;
  font-weight: 850;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    background 180ms ease;
}

.btn:hover {
  transform: translate(2px, 2px);
  box-shadow: 3px 3px 0 var(--ink);
  background: var(--pink-deep);
}

.btn-secondary {
  background: var(--yellow);
  color: var(--ink);
}

.btn-secondary:hover {
  background: #ffc928;
}

.btn-ghost {
  background: var(--white);
  color: var(--ink);
}

.menu-button {
  display: none;
  width: 46px;
  height: 46px;
  border: 2px solid var(--ink);
  background: var(--white);
  border-radius: 8px;
  box-shadow: 4px 4px 0 var(--ink);
  cursor: pointer;
}

.menu-button span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: var(--ink);
}

main {
  overflow: hidden;
}

.hero {
  position: relative;
  min-height: 560px;
  display: grid;
  align-items: center;
  isolation: isolate;
  background:
    linear-gradient(
      90deg,
      rgba(255, 250, 245, 0.98) 0%,
      rgba(255, 250, 245, 0.88) 40%,
      rgba(255, 250, 245, 0.18) 66%,
      rgba(255, 250, 245, 0.02) 100%
    ),
    url("assets/hero-malovarna.jpg") right center / cover no-repeat;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 12px;
  background: linear-gradient(
    90deg,
    var(--pink) 0 24%,
    var(--yellow) 24% 48%,
    var(--blue) 48% 72%,
    var(--mint) 72% 100%
  );
  z-index: -1;
}

.hero-inner {
  width: min(100% - 40px, var(--max));
  margin: 0 auto;
  padding: 36px 0 38px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 18px;
  color: var(--pink-deep);
  font-weight: 850;
}

.eyebrow::before {
  content: "";
  width: 38px;
  height: 4px;
  background: var(--yellow);
  border: 1px solid var(--ink);
  box-shadow: 3px 3px 0 var(--ink);
}

.hero-copy {
  width: min(650px, 100%);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 20px;
  font-family: ui-serif, Georgia, Cambria, "Times New Roman", serif;
  font-size: 5.7rem;
  line-height: 0.95;
}

.hero-lead {
  max-width: 620px;
  margin-bottom: 28px;
  color: rgba(37, 20, 33, 0.82);
  font-size: 1.28rem;
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 30px;
}

.hero-points {
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  max-width: 650px;
  list-style: none;
}

.hero-points li {
  min-height: 92px;
  padding: 14px;
  border: 2px solid var(--ink);
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 4px 4px 0 var(--ink);
  border-radius: 8px;
  font-weight: 800;
}

.hero-points li > span {
  display: block;
}

.hero-points li > span:first-child {
  display: block;
  margin-bottom: 3px;
  color: var(--blue-deep);
  font-size: 0.82rem;
  font-weight: 900;
}

.hero-points li > span:last-child {
  color: var(--ink);
  font-size: 1rem;
  font-weight: 850;
  line-height: 1.35;
}

section {
  padding: 88px 0;
}

.hero {
  padding: 0;
}

.section-inner {
  width: min(100% - 40px, var(--max));
  margin: 0 auto;
}

.section-heading {
  width: min(720px, 100%);
  margin-bottom: 36px;
}

.section-kicker {
  display: inline-flex;
  margin-bottom: 12px;
  color: var(--pink-deep);
  font-weight: 850;
}

h2 {
  margin-bottom: 16px;
  font-family: ui-serif, Georgia, Cambria, "Times New Roman", serif;
  font-size: 3rem;
  line-height: 1.08;
}

h3 {
  margin-bottom: 12px;
  font-size: 1.25rem;
  line-height: 1.25;
}

.section-heading p,
.split-copy p,
.service-card p,
.step p,
.price-card p,
.review p {
  color: var(--muted);
}

.about {
  background: var(--white);
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: 52px;
  align-items: center;
}

.portrait-panel {
  min-height: 520px;
  position: relative;
  border: 2px solid var(--ink);
  border-radius: 8px;
  overflow: hidden;
  background:
    radial-gradient(circle at 18% 26%, rgba(255, 217, 76, 0.92) 0 8%, transparent 8.5%),
    radial-gradient(circle at 82% 20%, rgba(27, 168, 238, 0.82) 0 7%, transparent 7.5%),
    linear-gradient(135deg, rgba(233, 67, 147, 0.88), rgba(255, 108, 97, 0.92));
  box-shadow: var(--shadow);
}

.portrait-panel::before {
  content: "";
  position: absolute;
  inset: 54px 58px 82px;
  border: 2px solid rgba(37, 20, 33, 0.8);
  border-radius: 46% 54% 48% 52%;
  background:
    radial-gradient(circle at 42% 46%, var(--ink) 0 4px, transparent 5px),
    radial-gradient(circle at 61% 46%, var(--ink) 0 4px, transparent 5px),
    radial-gradient(ellipse at 52% 67%, rgba(37, 20, 33, 0.85) 0 14px, transparent 15px),
    linear-gradient(180deg, #fff2df, #ffd9d4);
}

.portrait-panel::after {
  content: "";
  position: absolute;
  right: 36px;
  bottom: 38px;
  width: 210px;
  height: 70px;
  border: 2px solid var(--ink);
  border-radius: 8px;
  background:
    linear-gradient(90deg, var(--pink) 0 24%, var(--yellow) 24% 48%, var(--blue) 48% 72%, var(--mint) 72%),
    var(--white);
  box-shadow: 8px 8px 0 var(--ink);
  transform: rotate(-4deg);
}

.about-list {
  margin: 28px 0 0;
  padding: 0;
  display: grid;
  gap: 14px;
  list-style: none;
}

.about-list li {
  display: grid;
  grid-template-columns: 32px 1fr;
  gap: 14px;
  align-items: start;
}

.about-list span {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  color: var(--white);
  background: var(--pink);
  border: 2px solid var(--ink);
  border-radius: 8px;
  font-weight: 900;
}

.services {
  background: #fff3fb;
}

.grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.service-card,
.price-card,
.review,
.step,
.gallery-tile {
  border: 2px solid var(--ink);
  background: var(--white);
  border-radius: 8px;
  box-shadow: 6px 6px 0 var(--ink);
}

.service-card {
  min-height: 280px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.service-card:nth-child(2) {
  background: #f4fbff;
}

.service-card:nth-child(3) {
  background: #fff8d7;
}

.service-card:nth-child(4) {
  background: #f6fff8;
}

.card-index {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 22px;
  color: var(--ink);
  background: var(--yellow);
  border: 2px solid var(--ink);
  border-radius: 8px;
  font-weight: 900;
}

.process {
  background: var(--white);
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.step {
  min-height: 260px;
  padding: 26px;
  position: relative;
}

.step-number {
  display: block;
  margin-bottom: 50px;
  color: var(--pink);
  font-family: ui-serif, Georgia, Cambria, "Times New Roman", serif;
  font-size: 4rem;
  font-weight: 900;
  line-height: 0.8;
}

.gallery {
  background: var(--ink);
  color: var(--white);
}

.gallery .section-heading p,
.gallery .section-kicker {
  color: rgba(255, 255, 255, 0.78);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: 230px;
  gap: 18px;
}

.gallery-tile {
  position: relative;
  overflow: hidden;
  color: var(--ink);
  padding: 18px;
  display: flex;
  align-items: end;
  isolation: isolate;
}

.gallery-tile:nth-child(1) {
  grid-column: span 2;
  grid-row: span 2;
  background:
    radial-gradient(circle at 74% 20%, var(--yellow) 0 9%, transparent 9.5%),
    radial-gradient(circle at 28% 24%, var(--blue) 0 6%, transparent 6.5%),
    linear-gradient(135deg, #fff, #ffd6e9);
}

.gallery-tile:nth-child(2) {
  background:
    linear-gradient(135deg, transparent 45%, rgba(255, 217, 76, 0.95) 45% 55%, transparent 55%),
    #f1fbff;
}

.gallery-tile:nth-child(3) {
  background:
    radial-gradient(circle at 50% 42%, rgba(102, 214, 197, 0.95) 0 24%, transparent 24.5%),
    #fff8d7;
}

.gallery-tile:nth-child(4) {
  background:
    linear-gradient(90deg, rgba(233, 67, 147, 0.9), transparent 34%),
    linear-gradient(135deg, #ffffff, #e8f7ff);
}

.gallery-tile:nth-child(5) {
  background:
    radial-gradient(circle at 72% 24%, rgba(233, 67, 147, 0.88) 0 12%, transparent 12.5%),
    linear-gradient(135deg, #ffffff, #fff4cf);
}

.gallery-tile::before {
  content: "";
  position: absolute;
  inset: 30px 26px 66px;
  border: 2px solid rgba(37, 20, 33, 0.75);
  border-radius: 8px 40px 8px 40px;
  transform: rotate(-8deg);
  z-index: -1;
}

.gallery-tile span {
  width: 100%;
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.88);
  border: 2px solid var(--ink);
  border-radius: 8px;
  font-weight: 900;
}

.pricing {
  background: #fff8d7;
}

.price-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.price-card {
  padding: 28px;
  background: var(--white);
}

.price-label {
  display: inline-flex;
  margin-bottom: 22px;
  padding: 7px 10px;
  background: var(--blue);
  color: var(--white);
  border: 2px solid var(--ink);
  border-radius: 8px;
  font-size: 0.88rem;
  font-weight: 900;
}

.price-card strong {
  display: block;
  margin: 0 0 16px;
  font-family: ui-serif, Georgia, Cambria, "Times New Roman", serif;
  font-size: 2.2rem;
  line-height: 1.05;
}

.price-card ul {
  margin: 22px 0 0;
  padding: 0;
  display: grid;
  gap: 9px;
  list-style: none;
}

.price-card li::before {
  content: "•";
  margin-right: 9px;
  color: var(--pink);
  font-weight: 900;
}

.reviews {
  background: var(--white);
}

.review-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.review {
  min-height: 220px;
  padding: 26px;
}

.review strong {
  display: block;
  margin-top: 22px;
}

.contact {
  background:
    linear-gradient(90deg, rgba(233, 67, 147, 0.1), transparent 38%),
    #f4fbff;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr);
  gap: 42px;
  align-items: start;
}

.contact-panel,
.form-panel {
  border: 2px solid var(--ink);
  background: var(--white);
  border-radius: 8px;
  box-shadow: 7px 7px 0 var(--ink);
}

.contact-panel {
  padding: 30px;
}

.contact-links {
  margin: 28px 0;
  padding: 0;
  display: grid;
  gap: 14px;
  list-style: none;
}

.contact-links a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 52px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-weight: 850;
}

.contact-links a:hover {
  border-color: var(--pink);
  color: var(--pink-deep);
}

.business-info {
  margin-top: 28px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.94rem;
}

.business-info p {
  margin-bottom: 8px;
}

.form-panel {
  padding: 28px;
}

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

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

label {
  display: grid;
  gap: 7px;
  color: var(--ink);
  font-size: 0.94rem;
  font-weight: 850;
}

input,
select,
textarea {
  width: 100%;
  min-height: 48px;
  padding: 11px 12px;
  color: var(--ink);
  border: 2px solid rgba(37, 20, 33, 0.28);
  background: #fffefd;
  border-radius: 8px;
}

textarea {
  min-height: 132px;
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--blue);
  outline: none;
}

.checkbox {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 10px;
  align-items: start;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 600;
}

.checkbox input {
  width: 20px;
  height: 20px;
  min-height: 20px;
  margin-top: 2px;
  accent-color: var(--pink);
}

.form-status {
  min-height: 28px;
  color: var(--pink-deep);
  font-weight: 850;
}

.site-footer {
  padding: 30px 0;
  background: var(--ink);
  color: rgba(255, 255, 255, 0.82);
}

.footer-inner {
  width: min(100% - 40px, var(--max));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.footer-inner a {
  color: var(--white);
  font-weight: 850;
}

@media (max-width: 1050px) {
  .header-inner {
    grid-template-columns: auto 1fr auto auto;
  }

  .nav {
    position: fixed;
    inset: var(--header) 16px auto;
    display: none;
    padding: 18px;
    border: 2px solid var(--ink);
    background: var(--white);
    border-radius: 8px;
    box-shadow: 7px 7px 0 var(--ink);
  }

  body.menu-open .nav {
    display: block;
  }

  .nav-list {
    display: grid;
    gap: 6px;
  }

  .nav a {
    min-height: 46px;
  }

  .menu-button {
    display: block;
  }

  .grid,
  .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .split,
  .contact-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  :root {
    --header: 70px;
  }

  .header-inner,
  .section-inner,
  .hero-inner,
  .footer-inner {
    width: min(100% - 28px, var(--max));
  }

  .header-inner {
    grid-template-columns: auto 1fr auto;
    gap: 10px;
  }

  .brand {
    font-size: 1.05rem;
  }

  .brand-mark {
    width: 34px;
    height: 34px;
    box-shadow: 4px 4px 0 var(--ink);
  }

  .header-actions .btn {
    display: none;
  }

  .hero {
    min-height: clamp(560px, calc(100svh - 86px), 700px);
    background:
      linear-gradient(
        90deg,
        rgba(255, 250, 245, 0.98) 0%,
        rgba(255, 250, 245, 0.94) 52%,
        rgba(255, 250, 245, 0.6) 100%
      ),
      url("assets/hero-malovarna.jpg") 68% center / cover no-repeat;
  }

  .hero-inner {
    padding: 34px 0 36px;
  }

  h1 {
    font-size: 4rem;
  }

  h2 {
    font-size: 2.35rem;
  }

  section {
    padding: 68px 0;
  }

  .hero-lead {
    font-size: 1.08rem;
  }

  .hero-points,
  .steps,
  .price-grid,
  .review-grid,
  .form-row {
    grid-template-columns: 1fr;
  }

  .hero-points {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
  }

  .hero-points li {
    min-height: 0;
    padding: 9px 8px;
    box-shadow: 3px 3px 0 var(--ink);
  }

  .hero-points li > span:first-child {
    font-size: 0.74rem;
  }

  .hero-points li > span:last-child {
    font-size: 0.78rem;
    line-height: 1.28;
  }

  .grid,
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .gallery-grid {
    grid-auto-rows: 210px;
  }

  .gallery-tile:nth-child(1) {
    grid-column: span 1;
    grid-row: span 1;
  }

  .portrait-panel {
    min-height: 420px;
  }

  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 430px) {
  .lang-toggle button {
    min-width: 32px;
  }

  h1 {
    font-size: 3.35rem;
  }

  .hero-actions .btn {
    width: 100%;
  }
}
