@font-face {
  font-family: 'Comfortaa'; 
  src: url('fonts/Comfortaa-VariableFont_wght.ttf');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}


:root {
  --bg-1: #ede8f7;
  --bg-2: #e7eef0;
  --bg-3: #e2efe8;
  --violet: #a491d9;
  --violet-deep: #7f69c0;
  --green: #9cc4a6;
  --green-deep: #79a98a;
  --lilac: #cfc4ea;
  --ink: #3d4440;
  --ink-soft: #6b7470;
  --white: #ffffff;
  --font-head: 'Comfortaa', system-ui, sans-serif;
  --font-body: 'Comfortaa', system-ui, sans-serif;
  --radius: 26px;
  --glass: rgba(255, 255, 255, 0.6);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: linear-gradient(160deg, var(--bg-1) 0%, var(--bg-2) 45%, var(--bg-3) 100%);
  background-attachment: fixed;
  line-height: 1.7;
  overflow-x: hidden;
}

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

.container { width: min(1060px, 92%); margin-inline: auto; }
.container--narrow { width: min(720px, 92%); }

/* ---------- Blobs ---------- */

.blob {
  position: fixed;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.4;
  z-index: 0;
  pointer-events: none;
}

.blob--1 { width: 380px; height: 380px; background: var(--violet); top: -90px; left: -90px; }
.blob--2 { width: 320px; height: 320px; background: var(--green); top: 32%; right: -120px; }
.blob--3 { width: 340px; height: 340px; background: var(--lilac); bottom: 8%; left: -110px; }

/* ---------- Hero ---------- */

.hero {
  position: relative;
  z-index: 1;
  padding: clamp(40px, 7vw, 80px) 0 20px;
}

.hero__inner { text-align: center; max-width: 780px; }

.hero__photo { display: flex; justify-content: center; margin-bottom: 26px; }

.photo-ring {
  width: min(220px, 58vw);
  border-radius: 50%;
  padding: 7px;
  background: rgba(255, 255, 255, 0.85);
  box-shadow: 0 20px 45px -20px rgba(110, 100, 150, 0.45);
}

.photo-blob {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 50%;
}

.hero__hi {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(20px, 3vw, 26px);
  color: var(--violet-deep);
  margin-bottom: 6px;
}

.hero__title {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(34px, 6vw, 58px);
  line-height: 1.15;
  color: var(--ink);
}

.hero__lead {
  margin: 18px auto 0;
  max-width: 56ch;
  color: var(--ink-soft);
  font-size: clamp(15px, 1.8vw, 18px);
}

.hero__chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin: 26px 0 24px;
}

.pchip {
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.85);
  border-radius: 999px;
  padding: 8px 16px;
  font-weight: 700;
  font-size: 14px;
  box-shadow: 0 10px 24px -14px rgba(110, 100, 150, 0.45);
}

/* ---------- Buttons & float ---------- */

.btn {
  display: inline-block;
  padding: 16px 38px;
  border-radius: 999px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 17px;
  color: #fff;
  text-decoration: none;
  background: linear-gradient(120deg, var(--violet) 0%, var(--green) 100%);
  box-shadow: 0 16px 34px -14px rgba(110, 100, 150, 0.55);
  border: none;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.btn:hover { transform: translateY(-3px); filter: brightness(1.04); }

.btn--wide { width: 100%; }

.btn-tg {
  font-size: 18pt;
  margin-top: 18px;
}

.float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 50;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--violet), var(--green));
  box-shadow: 0 16px 34px -12px rgba(110, 100, 150, 0.55);
  animation: beat 1.8s ease-in-out infinite;
}

.float svg { width: 28px; height: 28px; fill: #fff; }

@keyframes beat {
  0%, 100% { transform: scale(1); }
  25% { transform: scale(1.12); }
  40% { transform: scale(0.96); }
  60% { transform: scale(1.08); }
}

/* ---------- Sections ---------- */

.section { position: relative; z-index: 1; padding: clamp(52px, 7vw, 84px) 0; }

.section--wall {
  background: rgba(255, 255, 255, 0.45);
  backdrop-filter: blur(10px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

.title {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.2;
  margin-bottom: 10px;
}

.sub { color: var(--ink-soft); margin-bottom: 32px; }

.center { text-align: center; }

/* ---------- Glass cards ---------- */

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 8px;
}

.glass {
  background: var(--glass);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.85);
  border-radius: var(--radius);
  padding: 28px 24px;
  box-shadow: 0 20px 44px -22px rgba(135, 100, 95, 0.4);
  transition: transform 0.25s ease;
}

.glass-noh {
  background: var(--glass);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.85);
  border-radius: var(--radius);
  padding: 28px 24px;
  box-shadow: 0 20px 44px -22px rgba(135, 100, 95, 0.4);
  transition: transform 0.25s ease;
}

.glass:hover { transform: translateY(-6px) rotate(-0.6deg); }

.glass__emoji {
  display: inline-grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 16px;
  background: #fff;
  font-size: 26px;
  margin-bottom: 14px;
  box-shadow: 0 10px 20px -10px rgba(135, 100, 95, 0.4);
}

.glass h3 { font-family: var(--font-head); font-weight: 700; font-size: 19px; margin-bottom: 8px; }
.glass p { color: var(--ink-soft); font-size: 15px; }

/* ---------- Gallery (swipeable) ---------- */

.carousel { position: relative; margin-top: 8px; }

.gallery {
  display: flex;
  gap: 18px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  scroll-behavior: smooth;
  padding: 6px;
}

.gallery::-webkit-scrollbar { display: none; }

.gallery img {
  flex: 0 0 auto;
  width: 100%;
  max-width: 400px;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 20px;
  scroll-snap-align: center;
  box-shadow: 0 18px 36px -18px rgba(135, 100, 95, 0.45);
  transition: transform 0.35s ease;
  height: 60vh;
  max-height: 550px;
}

.gallery img:hover { transform: scale(1.02); }

.carousel__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 10px 24px -10px rgba(135, 100, 95, 0.5);
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: background 0.2s ease, transform 0.2s ease;
}

.carousel__arrow:hover { background: #fff; transform: translateY(-50%) scale(1.08); }

.carousel__arrow--prev { left: 4px; }
.carousel__arrow--next { right: 4px; }

.carousel__arrow svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: var(--violet-deep);
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ---------- Form ---------- */

.glass--form { padding: clamp(26px, 4vw, 46px); }

.glass--form .sub.center { max-width: 46ch; margin: 0 auto 26px; }

.field { display: block; margin-bottom: 16px; }

.field span {
  display: block;
  font-weight: 700;
  font-size: 14px;
  margin-bottom: 7px;
}

.field em { font-style: normal; color: var(--ink-soft); font-weight: 600; font-size: 13px; }

.field input,
.field textarea {
  width: 100%;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.8);
  border: 1.5px solid rgba(255, 255, 255, 0.9);
  border-radius: 16px;
  padding: 14px 18px;
  outline: none;
  transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.field textarea { resize: vertical; min-height: 96px; }

.field input:focus,
.field textarea:focus {
  background: #fff;
  border-color: var(--violet-deep);
  box-shadow: 0 0 0 4px rgba(211, 161, 155, 0.3);
}

.field input.is-error,
.field textarea.is-error { border-color: #e88b8b; background: #fdefef; }

.form__note { margin-top: 14px; text-align: center; font-size: 13px; color: var(--ink-soft); font-weight: 600; }
.form__note.is-success { color: #7a9b84; }

#form-thanks { font-size: 24px; font-weight: 700; line-height: 1.4; }


/* ---------- Footer ---------- */

footer { position: relative; z-index: 1; padding: 26px 0 104px; }

.footer {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  color: var(--ink-soft);
  font-size: 14px;
  font-weight: 600;
}

.footer a { color: var(--violet-deep); text-decoration: none; border-bottom: 1px dotted var(--violet-deep); }

/* ---------- Responsive ---------- */

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

@media (max-width: 600px) {
  .cards { grid-template-columns: 1fr; }
  .gallery img { width: 85%; }
  .blob--2 { display: none; }
  .carousel__arrow { display: none; }
}
