﻿:root {
  --ice: #e8fbff;
  --sky: #7dd3fc;
  --deep: #0c4a6e;
  --pop: #38bdf8;
  --pop-2: #a78bfa;
  --mint: #5eead4;
  --pink: #fda4af;
  --surface: rgba(255, 255, 255, 0.55);
  --shadow-bubble: 0 18px 50px rgba(12, 74, 110, 0.18);
  --shadow-3d: 0 10px 0 rgba(12, 74, 110, 0.12), 0 22px 40px rgba(56, 189, 248, 0.25);
  --radius-xl: 28px;
  --radius-pill: 999px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Nunito", system-ui, sans-serif;
  color: var(--deep);
  background: radial-gradient(1200px 600px at 10% -10%, #fef3ff 0%, transparent 55%),
    radial-gradient(900px 500px at 90% 0%, #d8fbf3 0%, transparent 50%),
    linear-gradient(165deg, #f0fbff 0%, #dbeafe 35%, #e0f2fe 70%, #f5f3ff 100%);
  min-height: 100vh;
  overflow-x: hidden;
}

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

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

.wrap {
  width: min(1120px, 92vw);
  margin-inline: auto;
}

/* Floating bubbles background */
.bubble-field {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.bubble {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.1) 38%, rgba(125, 211, 252, 0.35) 55%, rgba(167, 139, 250, 0.25) 72%, rgba(94, 234, 212, 0.2) 88%);
  box-shadow: inset -8px -12px 20px rgba(12, 74, 110, 0.12), inset 10px 12px 22px rgba(255, 255, 255, 0.65), 0 16px 40px rgba(56, 189, 248, 0.2);
  opacity: 0.55;
  animation: floaty 18s ease-in-out infinite;
}

.bubble::after {
  content: "";
  position: absolute;
  width: 22%;
  height: 14%;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.85);
  top: 18%;
  left: 22%;
  filter: blur(0.5px);
  transform: rotate(-18deg);
}

.bubble.b1 { width: 120px; height: 120px; top: 12%; left: 6%; animation-delay: -2s; }
.bubble.b2 { width: 180px; height: 180px; top: 58%; left: 4%; animation-delay: -6s; opacity: 0.4; }
.bubble.b3 { width: 90px; height: 90px; top: 22%; right: 8%; animation-delay: -4s; }
.bubble.b4 { width: 220px; height: 220px; bottom: 6%; right: 6%; animation-delay: -9s; opacity: 0.35; }
.bubble.b5 { width: 140px; height: 140px; top: 40%; right: 18%; animation-delay: -11s; opacity: 0.45; }

@keyframes floaty {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
  50% { transform: translate3d(0, -22px, 0) scale(1.03); }
}

/* Interactive soap bubbles (click to pop) */
.interactive-bubbles-layer {
  position: fixed;
  inset: 0;
  z-index: 12;
  pointer-events: none;
  overflow: hidden;
}

.soap-bubble {
  position: absolute;
  left: var(--x, 50%);
  bottom: -18vh;
  width: var(--size, 64px);
  height: var(--size, 64px);
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 50%;
  cursor: pointer;
  pointer-events: auto;
  touch-action: manipulation;
  background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.08) 36%, rgba(125, 211, 252, 0.38) 54%, rgba(167, 139, 250, 0.28) 72%, rgba(94, 234, 212, 0.22) 88%);
  box-shadow: inset -8px -12px 18px rgba(12, 74, 110, 0.12), inset 10px 12px 20px rgba(255, 255, 255, 0.65), 0 14px 34px rgba(56, 189, 248, 0.22);
  opacity: 0.88;
  animation: soap-rise var(--dur, 18s) linear forwards;
  will-change: transform, opacity;
}

.soap-bubble::after {
  content: "";
  position: absolute;
  width: 24%;
  height: 15%;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.88);
  top: 18%;
  left: 22%;
  transform: rotate(-16deg);
  pointer-events: none;
}

@keyframes soap-rise {
  from {
    transform: translate3d(-50%, 0, 0) rotate(0deg);
    opacity: 0.88;
  }
  to {
    transform: translate3d(calc(-50% + var(--drift, 0px)), -125vh, 0) rotate(var(--rot, 8deg));
    opacity: 0.45;
  }
}

.burst-main {
  position: fixed;
  left: 0;
  top: 0;
  width: var(--bw, 72px);
  height: var(--bw, 72px);
  translate: -50% -50%;
  border-radius: 50%;
  pointer-events: none;
  background: radial-gradient(circle at 32% 30%, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.05) 40%, rgba(125, 211, 252, 0.35) 62%, rgba(167, 139, 250, 0.2) 78%, transparent 82%);
  box-shadow: 0 0 0 0 rgba(125, 211, 252, 0.55);
  animation: burst-pop 0.42s ease-out forwards;
  z-index: 13;
}

@keyframes burst-pop {
  0% {
    transform: scale(0.35) rotate(0deg);
    opacity: 1;
    filter: blur(0);
    box-shadow: 0 0 0 0 rgba(125, 211, 252, 0.55);
  }
  55% {
    transform: scale(1.25) rotate(8deg);
    opacity: 0.95;
    filter: blur(0.5px);
    box-shadow: 0 0 0 18px rgba(167, 139, 250, 0);
  }
  100% {
    transform: scale(0.05) rotate(18deg);
    opacity: 0;
    filter: blur(10px);
    box-shadow: 0 0 0 28px rgba(56, 189, 248, 0);
  }
}

.burst-drop {
  position: fixed;
  left: 0;
  top: 0;
  width: 10px;
  height: 10px;
  margin: -5px 0 0 -5px;
  border-radius: 50%;
  pointer-events: none;
  background: radial-gradient(circle at 30% 30%, #fff, rgba(125, 211, 252, 0.65) 55%, rgba(167, 139, 250, 0.35) 100%);
  box-shadow: 0 6px 14px rgba(12, 74, 110, 0.12);
  animation: drop-fly 0.48s ease-out forwards;
  z-index: 13;
}

@keyframes drop-fly {
  0% {
    transform: translate3d(0, 0, 0) scale(1);
    opacity: 1;
  }
  100% {
    transform: translate3d(var(--dx), var(--dy), 0) scale(0.2);
    opacity: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .soap-bubble {
    animation: none;
    opacity: 0.35;
  }
}

/* Top bar — glass / trasparente */
header.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(20px) saturate(1.4);
  -webkit-backdrop-filter: blur(20px) saturate(1.4);
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.28) 0%,
    rgba(255, 255, 255, 0.1) 55%,
    rgba(255, 255, 255, 0.06) 100%
  );
  border-bottom: 1px solid rgba(255, 255, 255, 0.42);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.55),
    0 12px 40px rgba(12, 74, 110, 0.05);
}

@supports not ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
  header.site-header {
    background: rgba(240, 251, 255, 0.92);
  }
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: "Fredoka", system-ui, sans-serif;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.brand img {
  width: clamp(120px, 28vw, 200px);
  filter: drop-shadow(0 10px 18px rgba(56, 189, 248, 0.35));
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 18px;
  font-weight: 700;
  font-size: 0.95rem;
}

.nav-links a:not(.btn) {
  padding: 8px 10px;
  border-radius: 14px;
  transition: background 0.2s ease;
}

.nav-links a:not(.btn):hover {
  background: rgba(255, 255, 255, 0.42);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 22px;
  border-radius: var(--radius-pill);
  font-family: "Fredoka", system-ui, sans-serif;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.2s ease, filter 0.2s ease;
  text-decoration: none;
  white-space: nowrap;
}

.btn:active {
  transform: translateY(2px) scale(0.99);
}

.btn-telegram {
  color: #fff;
  background: linear-gradient(135deg, #38bdf8 0%, #6366f1 48%, #22d3ee 100%);
  box-shadow: var(--shadow-3d);
}

.btn-telegram:hover {
  filter: brightness(1.05);
  box-shadow: 0 12px 0 rgba(12, 74, 110, 0.12), 0 26px 46px rgba(99, 102, 241, 0.35);
}

.btn-soft {
  background: rgba(255, 255, 255, 0.75);
  color: var(--deep);
  border: 2px solid rgba(125, 211, 252, 0.85);
  box-shadow: 0 8px 0 rgba(12, 74, 110, 0.08);
}

.btn-soft:hover {
  background: #fff;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  background: rgba(255, 255, 255, 0.32);
  backdrop-filter: blur(12px) saturate(1.2);
  -webkit-backdrop-filter: blur(12px) saturate(1.2);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.55);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: var(--deep);
}

main {
  position: relative;
  z-index: 1;
}

/* Hero */
.hero {
  padding: clamp(32px, 6vw, 72px) 0 48px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(24px, 4vw, 48px);
  align-items: center;
}

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

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(125, 211, 252, 0.55);
  font-weight: 800;
  font-size: 0.85rem;
  box-shadow: 0 10px 24px rgba(56, 189, 248, 0.12);
}

.hero h1 {
  font-family: "Fredoka", system-ui, sans-serif;
  font-size: clamp(2.1rem, 4.6vw, 3.35rem);
  line-height: 1.08;
  margin: 18px 0 14px;
  letter-spacing: -0.02em;
  text-shadow: 0 14px 30px rgba(56, 189, 248, 0.18);
}

.hero h1 span {
  background: linear-gradient(90deg, #0284c7, #6366f1, #0ea5e9);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.lead {
  font-size: clamp(1.05rem, 2.2vw, 1.2rem);
  line-height: 1.65;
  max-width: 52ch;
  margin: 0 0 22px;
  font-weight: 600;
  color: rgba(12, 74, 110, 0.88);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 8px;
}

.hero-card {
  position: relative;
  padding: 22px;
  border-radius: var(--radius-xl);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.75), rgba(255, 255, 255, 0.45));
  border: 1px solid rgba(255, 255, 255, 0.75);
  box-shadow: var(--shadow-bubble);
  transform: perspective(900px) rotateY(-6deg) rotateX(4deg);
  transition: transform 0.35s ease;
}

.hero-card:hover {
  transform: perspective(900px) rotateY(0deg) rotateX(0deg) translateY(-4px);
}

.hero-card::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(125, 211, 252, 0.55), rgba(167, 139, 250, 0.45), rgba(94, 234, 212, 0.45));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.stat-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 16px;
}

.stat {
  padding: 12px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.65);
  border: 1px solid rgba(125, 211, 252, 0.35);
  text-align: center;
}

.stat strong {
  display: block;
  font-family: "Fredoka", system-ui, sans-serif;
  font-size: 1.15rem;
}

.stat span {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  opacity: 0.75;
  margin-top: 4px;
}

section {
  padding: 56px 0;
}

.section-title {
  font-family: "Fredoka", system-ui, sans-serif;
  font-size: clamp(1.7rem, 3vw, 2.2rem);
  margin: 0 0 10px;
  text-align: center;
}

.section-sub {
  text-align: center;
  max-width: 62ch;
  margin: 0 auto 32px;
  font-weight: 600;
  color: rgba(12, 74, 110, 0.78);
  line-height: 1.6;
}

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

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

.card {
  padding: 22px 20px;
  border-radius: var(--radius-xl);
  background: var(--surface);
  border: 1px solid rgba(255, 255, 255, 0.75);
  box-shadow: 0 16px 40px rgba(12, 74, 110, 0.08);
  backdrop-filter: blur(10px);
  position: relative;
  overflow: hidden;
}

.card::after {
  content: "";
  position: absolute;
  width: 120px;
  height: 120px;
  right: -40px;
  top: -40px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.85), transparent 65%);
  opacity: 0.7;
  pointer-events: none;
}

.emoji {
  font-size: 1.8rem;
  line-height: 1;
  margin-bottom: 10px;
  filter: drop-shadow(0 8px 12px rgba(56, 189, 248, 0.25));
}

.card h3 {
  font-family: "Fredoka", system-ui, sans-serif;
  margin: 0 0 8px;
  font-size: 1.2rem;
}

.card p {
  margin: 0;
  line-height: 1.55;
  font-weight: 600;
  color: rgba(12, 74, 110, 0.82);
  font-size: 0.98rem;
}

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

@media (max-width: 1000px) {
  .steps {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

.step {
  padding: 18px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(125, 211, 252, 0.45);
  box-shadow: 0 14px 30px rgba(12, 74, 110, 0.07);
  position: relative;
}

.step-num {
  width: 40px;
  height: 40px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  font-family: "Fredoka", system-ui, sans-serif;
  font-weight: 800;
  color: #fff;
  background: linear-gradient(135deg, #38bdf8, #6366f1);
  box-shadow: 0 10px 0 rgba(12, 74, 110, 0.12);
  margin-bottom: 10px;
}

.step h4 {
  margin: 0 0 6px;
  font-family: "Fredoka", system-ui, sans-serif;
}

.step p {
  margin: 0;
  font-weight: 650;
  line-height: 1.55;
  color: rgba(12, 74, 110, 0.82);
  font-size: 0.95rem;
}

.pricing {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  max-width: 860px;
  margin: 0 auto;
}

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

.price-card {
  padding: 26px 22px;
  border-radius: var(--radius-xl);
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.85), rgba(224, 242, 254, 0.55));
  border: 1px solid rgba(255, 255, 255, 0.85);
  box-shadow: var(--shadow-bubble);
  position: relative;
}

.price-card.featured {
  transform: translateY(-6px);
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.92), rgba(221, 214, 254, 0.45));
}

.badge {
  position: absolute;
  top: 14px;
  right: 14px;
  padding: 6px 10px;
  border-radius: var(--radius-pill);
  font-size: 0.75rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  background: rgba(99, 102, 241, 0.15);
  color: #4338ca;
  border: 1px solid rgba(99, 102, 241, 0.25);
}

.price-card h3 {
  font-family: "Fredoka", system-ui, sans-serif;
  margin: 0 0 8px;
}

.big-fee {
  font-family: "Fredoka", system-ui, sans-serif;
  font-size: clamp(2.4rem, 5vw, 3.2rem);
  margin: 6px 0 10px;
  line-height: 1;
  background: linear-gradient(90deg, #0284c7, #6366f1);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.fine {
  font-size: 0.92rem;
  font-weight: 650;
  color: rgba(12, 74, 110, 0.78);
  line-height: 1.55;
}

.list {
  margin: 14px 0 0;
  padding-left: 18px;
  font-weight: 650;
  color: rgba(12, 74, 110, 0.85);
  line-height: 1.55;
}

.banner {
  margin-top: 22px;
  padding: 16px 18px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px dashed rgba(56, 189, 248, 0.55);
  font-weight: 750;
  line-height: 1.55;
  text-align: center;
}

.faq details {
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(125, 211, 252, 0.45);
  padding: 14px 16px;
  margin-bottom: 10px;
}

.faq summary {
  cursor: pointer;
  font-family: "Fredoka", system-ui, sans-serif;
  font-weight: 650;
  list-style: none;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq details p {
  margin: 10px 0 0;
  font-weight: 650;
  color: rgba(12, 74, 110, 0.82);
  line-height: 1.55;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  align-items: start;
}

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

form .field {
  display: grid;
  gap: 6px;
  margin-bottom: 12px;
}

label {
  font-weight: 800;
  font-size: 0.9rem;
}

input, textarea, select {
  width: 100%;
  padding: 12px 14px;
  border-radius: 16px;
  border: 2px solid rgba(125, 211, 252, 0.55);
  background: rgba(255, 255, 255, 0.85);
  font: inherit;
  outline: none;
}

input:focus, textarea:focus, select:focus {
  border-color: rgba(99, 102, 241, 0.65);
  box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.15);
}

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

.form-note {
  font-size: 0.85rem;
  font-weight: 650;
  color: rgba(12, 74, 110, 0.72);
  margin-top: 10px;
}

.hp-field {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.form-feedback {
  padding: 12px 14px;
  border-radius: 16px;
  font-weight: 750;
  margin-bottom: 12px;
  line-height: 1.45;
  border: 2px solid transparent;
}

.form-feedback.ok {
  background: rgba(187, 247, 208, 0.55);
  border-color: rgba(34, 197, 94, 0.4);
  color: #166534;
}

.form-feedback.bad {
  background: rgba(254, 202, 202, 0.55);
  border-color: rgba(239, 68, 68, 0.35);
  color: #991b1b;
}

.tg-card {
  padding: 22px;
  border-radius: var(--radius-xl);
  background: linear-gradient(145deg, rgba(56, 189, 248, 0.22), rgba(167, 139, 250, 0.18));
  border: 1px solid rgba(255, 255, 255, 0.75);
  box-shadow: var(--shadow-bubble);
}

.tg-card h3 {
  font-family: "Fredoka", system-ui, sans-serif;
  margin: 0 0 10px;
}

footer {
  padding: 36px 0 48px;
  color: rgba(12, 74, 110, 0.72);
  font-weight: 650;
  font-size: 0.92rem;
  line-height: 1.55;
}

footer .tiny {
  max-width: 900px;
  margin: 12px auto 0;
  font-size: 0.82rem;
  opacity: 0.9;
}

@media (max-width: 820px) {
  .nav-links {
    position: fixed;
    inset: 72px 16px auto 16px;
    backdrop-filter: blur(18px) saturate(1.35);
    -webkit-backdrop-filter: blur(18px) saturate(1.35);
    background: rgba(255, 255, 255, 0.52);
    border: 1px solid rgba(255, 255, 255, 0.55);
    border-radius: 22px;
    padding: 14px;
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.65),
      var(--shadow-bubble);
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
  }

  .nav-links.open {
    display: flex;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .nav-links .btn {
    justify-content: center;
  }

  .stat-row {
    grid-template-columns: 1fr;
  }
}

