/* Nestling Kids — sky & apricot, clear flow */
.demo-float-home {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 9000;
  display: inline-flex;
  align-items: center;
  padding: 0.8rem 1.2rem;
  background: #5b8def;
  color: #fff !important;
  font-family: Nunito, system-ui, sans-serif;
  font-size: 0.86rem;
  font-weight: 800;
  text-decoration: none;
  border-radius: 1.1rem;
  box-shadow: 0 10px 24px rgba(91, 141, 239, 0.35);
  transition: transform 0.15s, background 0.2s;
}
.demo-float-home:hover {
  transform: translateY(-2px);
  background: #ff9f6b;
  color: #1e2a4a !important;
}

.demo-nestling {
  --sky: #5b8def;
  --sky-deep: #3d6fd4;
  --apricot: #ff9f6b;
  --peach: #ffe8dc;
  --mint: #7dd3c0;
  --lavender: #c4b5fd;
  --lemon: #fde68a;
  --ink: #1e2a4a;
  --cloud: #fff9f5;
  --muted: #6b7289;
  --line: #eadfd6;
  --white: #fff;
  margin: 0;
  font-family: Nunito, system-ui, sans-serif;
  color: var(--ink);
  background: var(--cloud);
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
}
.demo-nestling *,
.demo-nestling *::before,
.demo-nestling *::after { box-sizing: border-box; }
.demo-nestling img { display: block; max-width: 100%; height: auto; }
.demo-nestling a { color: inherit; text-decoration: none; }
.demo-nestling h1,
.demo-nestling h2,
.demo-nestling h3,
.demo-nestling .ns-logo {
  font-family: Fredoka, system-ui, sans-serif;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.ns-wrap { width: min(1080px, 92%); margin-inline: auto; }

/* Header */
.ns-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 249, 245, 0.95);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(10px);
}
.ns-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.ns-logo { font-size: 1.4rem; color: var(--sky-deep); }
.ns-nav {
  display: flex;
  gap: 1rem;
  align-items: center;
  font-weight: 750;
  font-size: 0.9rem;
}
.ns-nav a { color: var(--muted); }
.ns-nav a:hover { color: var(--sky); }
.ns-nav-cta {
  background: var(--apricot) !important;
  color: var(--ink) !important;
  padding: 0.5rem 1rem;
  border-radius: 999px;
}

/* Buttons */
.ns-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.35rem;
  border-radius: 999px;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 800;
  border: none;
  cursor: pointer;
  transition: transform 0.15s, background 0.2s;
}
.ns-btn:hover { transform: translateY(-2px); }
.ns-btn-sky { background: var(--sky); color: #fff !important; }
.ns-btn-sky:hover { background: var(--sky-deep); }
.ns-btn-soft { background: var(--peach); color: var(--ink) !important; }
.ns-btn-block { width: 100%; }

/* Heads */
.ns-head { margin-bottom: 1.5rem; }
.ns-head-center { text-align: center; max-width: 520px; margin-left: auto; margin-right: auto; margin-bottom: 1.75rem; }
.ns-head span {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--apricot);
  margin-bottom: 0.35rem;
}
.ns-head h2 {
  margin: 0 0 0.4rem;
  font-size: clamp(1.55rem, 3vw, 2.1rem);
}
.ns-head p {
  margin: 0;
  color: var(--muted);
  font-weight: 650;
  font-size: 0.98rem;
}
.ns-head-on-dark span { color: #ffd0b5; }
.ns-head-on-dark h2 { color: #fff; }

/* 1. Hero */
.ns-hero {
  position: relative;
  padding: 2.5rem 0 0;
  overflow: hidden;
  background: linear-gradient(165deg, #e8f1ff 0%, #fff3eb 45%, #f0eaff 100%);
}
.ns-hero-art {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}
.ns-shape { position: absolute; display: block; }
.ns-shape-circle { border-radius: 50%; }
.ns-c1 {
  width: 180px; height: 180px;
  background: var(--apricot);
  opacity: 0.35;
  top: 8%; right: 8%;
  animation: ns-float 7s ease-in-out infinite;
}
.ns-c2 {
  width: 110px; height: 110px;
  background: var(--mint);
  opacity: 0.45;
  top: 55%; left: 4%;
  animation: ns-float 6s ease-in-out 0.5s infinite reverse;
}
.ns-c3 {
  width: 220px; height: 160px;
  background: var(--lavender);
  opacity: 0.3;
  border-radius: 60% 40% 50% 50% / 50% 60% 40% 50%;
  bottom: 18%; right: 22%;
  animation: ns-float 8s ease-in-out 1s infinite;
}
.ns-c4 {
  width: 90px; height: 90px;
  border: 8px solid var(--sky);
  border-radius: 50%;
  opacity: 0.4;
  top: 18%; left: 38%;
  animation: ns-spin 18s linear infinite;
}
.ns-c5 {
  width: 28px; height: 28px;
  background: var(--lemon);
  clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
  top: 28%; right: 32%;
  animation: ns-float 5s ease-in-out infinite;
}
.ns-c6 {
  width: 16px; height: 16px;
  background: var(--sky);
  border-radius: 50%;
  top: 42%; left: 18%;
}
.ns-c7 {
  width: 12px; height: 12px;
  background: var(--apricot);
  border-radius: 50%;
  top: 12%; left: 22%;
}
.ns-c8 {
  width: 70px; height: 70px;
  border: 6px solid var(--mint);
  border-radius: 50%;
  border-left-color: transparent;
  border-bottom-color: transparent;
  top: 70%; right: 6%;
  opacity: 0.5;
  transform: rotate(25deg);
}
.ns-wave {
  position: absolute;
  left: 0; right: 0; bottom: -1px;
  width: 100%;
  height: 70px;
  color: var(--white);
}

.ns-hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2rem;
  align-items: center;
  padding-bottom: 3.5rem;
}
.ns-kicker {
  margin: 0 0 0.5rem;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--sky-deep);
}
.ns-hero h1 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.85rem, 4vw, 2.65rem);
  max-width: 14ch;
  color: var(--ink);
}
.ns-lede {
  margin: 0 0 1.25rem;
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 36ch;
  font-weight: 650;
}
.ns-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-bottom: 1.35rem;
}
.ns-hero-facts {
  list-style: none;
  margin: 0;
  padding: 1rem 0 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  border-top: 2px dashed rgba(91, 141, 239, 0.35);
}
.ns-hero-facts strong {
  display: block;
  font-family: Fredoka, sans-serif;
  font-size: 0.95rem;
  color: var(--sky-deep);
  margin-bottom: 0.15rem;
}
.ns-hero-facts span {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--muted);
}

.ns-hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  padding: 1rem 0.5rem 1.5rem;
}
.ns-hero-frame {
  width: min(100%, 340px);
  aspect-ratio: 1;
  border-radius: 50%;
  overflow: hidden;
  border: 8px solid var(--white);
  box-shadow:
    0 0 0 10px rgba(91, 141, 239, 0.2),
    0 0 0 20px rgba(255, 159, 107, 0.15),
    0 20px 40px rgba(61, 111, 212, 0.2);
  background: var(--peach);
  animation: ns-pop 0.8s ease both;
}
.ns-hero-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.ns-badge {
  position: absolute;
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 800;
  box-shadow: 0 8px 18px rgba(30, 42, 74, 0.12);
  animation: ns-float 4.5s ease-in-out infinite;
}
.ns-badge-a {
  top: 8%;
  left: 0;
  background: var(--sky);
  color: #fff;
}
.ns-badge-b {
  top: 42%;
  right: -4%;
  background: var(--apricot);
  color: var(--ink);
  animation-delay: 0.6s;
}
.ns-badge-c {
  bottom: 12%;
  left: 4%;
  background: var(--mint);
  color: var(--ink);
  animation-delay: 1.1s;
}

@keyframes ns-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
@keyframes ns-spin { to { transform: rotate(360deg); } }
@keyframes ns-pop {
  from { opacity: 0; transform: scale(0.92); }
  to { opacity: 1; transform: none; }
}

/* 2. How */
.ns-how {
  padding: 3rem 0;
  background: var(--white);
}
.ns-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.85rem;
}
.ns-steps li {
  padding: 1.35rem 1.2rem;
  background: var(--cloud);
  border-radius: 1.15rem;
  border: 2px solid transparent;
  transition: border-color 0.2s;
}
.ns-steps li:hover { border-color: var(--sky); }
.ns-step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  margin-bottom: 0.75rem;
  background: var(--sky);
  color: #fff;
  border-radius: 50%;
  font-family: Fredoka, sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
}
.ns-steps h3 {
  margin: 0 0 0.4rem;
  font-size: 1.1rem;
}
.ns-steps p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 650;
}

/* 3. Ages */
.ns-ages {
  padding: 3rem 0;
  background: var(--peach);
}
.ns-ages-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.75rem;
}
.ns-age {
  text-align: center;
  padding: 1.2rem 0.85rem;
  background: var(--white);
  border-radius: 1.15rem;
}
.ns-age-icon {
  display: block;
  font-size: 1.75rem;
  margin-bottom: 0.45rem;
  line-height: 1;
}
.ns-age-dot {
  display: block;
  width: 2.25rem;
  height: 2.25rem;
  margin: 0 auto 0.55rem;
  border-radius: 50%;
}
.ns-age-dot--sky { background: var(--sky); }
.ns-age-dot--apricot { background: var(--apricot); }
.ns-age-dot--mint { background: var(--mint); }
.ns-age-dot--lavender { background: var(--lavender); }
.ns-age h3 {
  margin: 0 0 0.2rem;
  font-size: 1.05rem;
  color: var(--sky-deep);
}
.ns-age-range {
  margin: 0 0 0.35rem !important;
  font-size: 0.78rem !important;
  font-weight: 800 !important;
  color: var(--apricot) !important;
}
.ns-age p {
  margin: 0;
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 650;
}

/* 4. Care */
.ns-care {
  padding: 3rem 0;
  background: var(--white);
}
.ns-price-list {
  border: 2px solid var(--line);
  border-radius: 1.15rem;
  overflow: hidden;
  background: var(--cloud);
}
.ns-price-row {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 1rem;
  align-items: center;
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--line);
  background: var(--white);
  transition: background 0.15s;
}
.ns-price-row:last-child { border-bottom: none; }
.ns-price-row:hover { background: #eef4ff; }
.ns-price-row h3 {
  margin: 0 0 0.2rem;
  font-size: 1.05rem;
}
.ns-price-row p {
  margin: 0;
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 650;
}
.ns-price {
  font-family: Fredoka, sans-serif;
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--sky-deep);
  white-space: nowrap;
}
.ns-book-link {
  font-weight: 800;
  font-size: 0.85rem;
  color: var(--sky) !important;
  padding: 0.4rem 0.75rem;
  border-radius: 999px;
  background: #e8f1ff;
}
.ns-book-link:hover { background: var(--sky); color: #fff !important; }

/* 5. Doctors */
.ns-docs {
  padding: 3rem 0;
  background: #eef4ff;
}
.ns-docs-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.9rem;
}
.ns-doc {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 1rem;
  align-items: center;
  padding: 1rem;
  background: var(--white);
  border-radius: 1.25rem;
}
.ns-doc img {
  width: 120px;
  height: 120px;
  object-fit: cover;
  border-radius: 50%;
  border: 4px solid var(--peach);
}
.ns-doc h3 {
  margin: 0 0 0.2rem;
  font-size: 1.15rem;
}
.ns-doc-role {
  margin: 0 0 0.45rem !important;
  font-size: 0.82rem !important;
  font-weight: 800 !important;
  color: var(--sky) !important;
}
.ns-doc p {
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 650;
}

/* 6. Space */
.ns-space {
  padding: 3rem 0;
  background: var(--cloud);
}
.ns-space-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
}
.ns-space-grid figure {
  position: relative;
  margin: 0;
  overflow: hidden;
  border-radius: 1.15rem;
  aspect-ratio: 4 / 3;
  background: var(--peach);
}
.ns-space-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.ns-space-grid figure:hover img { transform: scale(1.04); }
.ns-space-grid figcaption {
  position: absolute;
  left: 0.65rem;
  bottom: 0.65rem;
  padding: 0.35rem 0.7rem;
  background: rgba(255, 249, 245, 0.95);
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--sky-deep);
}

/* 7. Reviews */
.ns-love {
  padding: 3rem 0;
  background: var(--sky-deep);
  color: #fff;
}
.ns-love-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.85rem;
}
.ns-love blockquote {
  margin: 0;
  padding: 1.25rem;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 1.15rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1rem;
}
.ns-love p {
  margin: 0;
  font-size: 0.98rem;
  font-weight: 650;
  line-height: 1.45;
}
.ns-love footer {
  font-weight: 800;
  font-size: 0.85rem;
  color: #ffd0b5;
}

/* 8. Book */
.ns-book {
  padding: 3rem 0 2.5rem;
  background: var(--white);
}
.ns-book-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 1rem;
  align-items: stretch;
}
.ns-book-card {
  padding: 1.5rem;
  background: var(--cloud);
  border-radius: 1.25rem;
  border: 2px solid var(--line);
  display: flex;
  flex-direction: column;
}
.ns-meta {
  list-style: none;
  margin: 0 0 1.25rem;
  padding: 0;
  display: grid;
  gap: 0.85rem;
  flex: 1;
}
.ns-meta li {
  display: grid;
  gap: 0.15rem;
}
.ns-meta strong {
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--apricot);
}
.ns-meta span,
.ns-meta a {
  font-weight: 750;
  font-size: 1rem;
  color: var(--ink);
}
.ns-map {
  border-radius: 1.25rem;
  overflow: hidden;
  border: 2px solid var(--line);
  min-height: 240px;
}
.ns-map iframe {
  width: 100%;
  height: 100%;
  min-height: 260px;
  border: 0;
}

/* Footer */
.ns-footer {
  padding: 1.5rem 0 4.5rem;
  text-align: center;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 650;
  background: var(--cloud);
}
.ns-footer strong { color: var(--ink); }
.ns-demo { opacity: 0.6; font-size: 0.8rem; margin: 0.25rem 0 0; }

/* Responsive */
@media (max-width: 900px) {
  .ns-nav a:not(.ns-nav-cta) { display: none; }
  .ns-hero-grid,
  .ns-steps,
  .ns-docs-grid,
  .ns-love-grid,
  .ns-book-grid,
  .ns-space-grid {
    grid-template-columns: 1fr;
  }
  .ns-ages-grid { grid-template-columns: 1fr 1fr; }
  .ns-hero-facts { grid-template-columns: 1fr; }
  .ns-badge-b { right: 4%; }
  .ns-c1, .ns-c3 { opacity: 0.22; }
}
@media (max-width: 560px) {
  .ns-ages-grid { grid-template-columns: 1fr; }
  .ns-price-row {
    grid-template-columns: 1fr auto;
    grid-template-areas: 'info price' 'info book';
  }
  .ns-price-row > div { grid-area: info; }
  .ns-price { grid-area: price; }
  .ns-book-link { grid-area: book; justify-self: start; }
  .ns-doc { grid-template-columns: 88px 1fr; }
  .ns-doc img { width: 88px; height: 88px; }
  .ns-actions { flex-direction: column; }
  .ns-actions .ns-btn { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  .ns-shape,
  .ns-badge,
  .ns-hero-frame,
  .ns-c4 {
    animation: none !important;
  }
}
