:root {
  --ink: #26362f;
  --ink-soft: #5f6b61;
  --sage: #8fa995;
  --sage-deep: #536d5c;
  --cream: #fff8ee;
  --warm: #f4dfcf;
  --peach: #e9a88f;
  --terracotta: #b96850;
  --gold: #c6a15b;
  --white: #ffffff;
  --shadow: 0 24px 70px rgba(83, 65, 48, .16);
  --radius: 22px;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: "Nunito Sans", Arial, sans-serif;
  line-height: 1.65;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 8% 12%, rgba(233, 168, 143, .18), transparent 28%),
    radial-gradient(circle at 92% 10%, rgba(143, 169, 149, .24), transparent 26%),
    linear-gradient(180deg, rgba(255, 248, 238, .95), rgba(255, 248, 238, .72));
  z-index: -2;
}

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

a {
  color: inherit;
}

.container {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 248, 238, .82);
  border-bottom: 1px solid rgba(83, 109, 92, .14);
  backdrop-filter: blur(18px);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 78px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  text-decoration: none;
}

.brand-mark {
  display: block;
  width: 48px;
  height: 48px;
  border-radius: 16px;
  box-shadow: 0 14px 30px rgba(143, 169, 149, .32);
}

.brand-text {
  display: grid;
  gap: 1px;
  line-height: 1.05;
}

.brand-name {
  color: var(--ink);
  font-family: "Fraunces", Georgia, serif;
  font-size: 1.12rem;
  font-weight: 750;
  letter-spacing: .01em;
}

.brand-tagline {
  color: var(--sage-deep);
  font-size: .68rem;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

nav {
  display: flex;
  align-items: center;
  gap: 24px;
  color: var(--ink-soft);
  font-size: .94rem;
  font-weight: 800;
}

nav a {
  text-decoration: none;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: .95rem;
  font-weight: 900;
  text-decoration: none;
  transition: transform .22s ease, box-shadow .22s ease, background .22s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--terracotta);
  color: var(--white);
  box-shadow: 0 16px 38px rgba(185, 104, 80, .28);
  animation: softPulse 3.6s ease-in-out infinite;
}

.btn-secondary {
  background: rgba(255, 255, 255, .72);
  border-color: rgba(83, 109, 92, .22);
  color: var(--sage-deep);
}

.btn-light {
  background: var(--white);
  color: var(--terracotta);
  box-shadow: 0 16px 38px rgba(38, 54, 47, .16);
}

.hero {
  position: relative;
  min-height: 760px;
  overflow: hidden;
  isolation: isolate;
}

.hero-bg {
  position: absolute;
  inset: -8% 0;
  background: #fff4e7;
  transform: translate3d(0, 0, 0) scale(1.04);
  z-index: -1;
  will-change: transform;
}

.hero-bg::before,
.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
}

.hero-bg::before {
  background: url("../assets/images/hero-nannyprime.png") center left 20% / cover no-repeat;
  transform: scaleX(-1);
}

.hero-bg::after {
  background:
    linear-gradient(90deg, rgba(255, 248, 238, .99) 0%, rgba(255, 248, 238, .96) 33%, rgba(255, 248, 238, .76) 52%, rgba(255, 248, 238, .22) 78%),
    linear-gradient(180deg, rgba(255, 248, 238, .04) 0%, rgba(255, 248, 238, .08) 62%, rgba(255, 248, 238, .94) 100%);
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 170px;
  background: linear-gradient(180deg, transparent, var(--cream));
  z-index: -1;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 660px) minmax(260px, 360px);
  align-items: center;
  gap: 48px;
  min-height: 760px;
  padding: 96px 0 78px;
}

.hero-copy h1,
h2,
h3 {
  margin: 0;
  color: var(--ink);
  font-family: "Fraunces", Georgia, serif;
  line-height: 1.02;
}

.hero-copy h1 {
  max-width: 680px;
  font-size: clamp(2.85rem, 5.25vw, 5.05rem);
  letter-spacing: 0;
  animation: heroTitleIn .9s cubic-bezier(.2, .8, .2, 1) both;
}

.hero-copy p {
  max-width: 590px;
  margin: 24px 0 0;
  color: var(--ink-soft);
  font-size: clamp(1.08rem, 1.7vw, 1.28rem);
  animation: heroTitleIn 1s cubic-bezier(.2, .8, .2, 1) .08s both;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
  animation: heroTitleIn 1s cubic-bezier(.2, .8, .2, 1) .16s both;
}

.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 30px;
  animation: heroTitleIn 1s cubic-bezier(.2, .8, .2, 1) .24s both;
}

.hero-proof span {
  border: 1px solid rgba(83, 109, 92, .16);
  border-radius: 999px;
  background: rgba(255, 255, 255, .62);
  padding: 9px 13px;
  color: var(--sage-deep);
  font-size: .9rem;
  font-weight: 900;
  backdrop-filter: blur(10px);
}

.availability-card {
  position: relative;
  align-self: end;
  width: min(360px, 100%);
  border: 1px solid rgba(255, 255, 255, .72);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .74);
  padding: 28px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
  animation: cardFloat 5.8s ease-in-out infinite;
}

.availability-card p {
  margin: 0 0 8px;
  color: var(--terracotta);
  font-weight: 900;
}

.availability-card strong {
  display: block;
  font-family: "Fraunces", Georgia, serif;
  font-size: 1.55rem;
  line-height: 1.18;
}

.availability-card a {
  display: inline-block;
  margin-top: 18px;
  color: var(--sage-deep);
  font-weight: 900;
  text-decoration: none;
}

.section {
  padding: 106px 0;
}

.soft-label {
  display: inline-block;
  margin-bottom: 14px;
  color: var(--terracotta);
  font-size: .82rem;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.section-copy h2,
.section-heading h2,
.faq-grid h2,
.story-panel h2,
.site-footer h2 {
  max-width: 760px;
  font-size: clamp(1.85rem, 3.35vw, 3.45rem);
}

.section-copy p,
.faq-grid p,
.story-panel p {
  max-width: 660px;
  color: var(--ink-soft);
  font-size: 1.08rem;
}

.trust-section {
  background: linear-gradient(180deg, var(--cream), #fffaf3);
}

.trust-grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  align-items: start;
  gap: 52px;
}

.credentials {
  display: grid;
  gap: 16px;
  margin-top: 32px;
}

.credentials article,
.founder-card,
.service-list article,
.differentials-grid article,
.pricing-grid article,
.faq-list details {
  border: 1px solid rgba(83, 109, 92, .14);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .7);
  box-shadow: 0 18px 42px rgba(83, 65, 48, .08);
}

.credentials article {
  padding: 22px;
}

.credentials strong {
  display: block;
  color: var(--ink);
  font-family: "Fraunces", Georgia, serif;
  font-size: 1.28rem;
}

.credentials span {
  color: var(--ink-soft);
}

.founder-card {
  position: relative;
  overflow: hidden;
  padding: 14px;
  background: rgba(255, 255, 255, .78);
}

.founder-card::before {
  content: "";
  position: absolute;
  inset: 18px 18px auto auto;
  width: 120px;
  height: 120px;
  border-radius: 999px;
  background: rgba(233, 168, 143, .2);
}

.founder-photo {
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  aspect-ratio: 4 / 5;
  background: var(--warm);
}

.founder-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 18%;
}

.founder-caption {
  position: relative;
  padding: 22px 8px 10px;
}

.founder-caption span {
  display: block;
  color: var(--terracotta);
  font-size: .82rem;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.founder-caption strong {
  display: block;
  margin-top: 5px;
  color: var(--ink);
  font-family: "Fraunces", Georgia, serif;
  font-size: clamp(1.55rem, 2.45vw, 2.05rem);
  line-height: 1;
}

.founder-caption p {
  margin: 12px 0 0;
  color: var(--ink-soft);
}

.services-section {
  background: #fffaf3;
}

.section-heading {
  margin-bottom: 40px;
}

.service-layout {
  display: grid;
  grid-template-columns: minmax(320px, .9fr) minmax(0, 1.1fr);
  gap: 34px;
  align-items: stretch;
}

.service-image-frame {
  min-height: 620px;
  overflow: hidden;
  border-radius: 34px;
  box-shadow: var(--shadow);
}

.service-image-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.service-list {
  display: grid;
  gap: 16px;
}

.service-list article {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 18px;
  align-items: start;
  padding: 26px;
}

.service-list article span {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border-radius: 50%;
  background: var(--warm);
  color: var(--terracotta);
  font-weight: 900;
}

.service-list h3 {
  font-size: 1.32rem;
}

.service-list p {
  margin: 7px 0 0;
  color: var(--ink-soft);
}

.parallax-story {
  position: relative;
  min-height: 620px;
  overflow: hidden;
  display: grid;
  align-items: center;
}

.story-image {
  position: absolute;
  inset: -8% 0;
  z-index: -1;
}

.story-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(38, 54, 47, .78), rgba(38, 54, 47, .38), rgba(255, 248, 238, .12));
}

.story-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  will-change: transform;
}

.story-panel {
  color: var(--white);
  width: min(680px, calc(100% - 40px));
  margin-left: max(20px, calc((100vw - 1160px) / 2));
  padding: 34px;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 28px;
  background: rgba(38, 54, 47, .72);
  box-shadow: 0 24px 70px rgba(20, 31, 27, .24);
  backdrop-filter: blur(8px);
}

.story-panel h2,
.story-panel p {
  color: var(--white);
}

.story-panel p {
  max-width: 560px;
  color: rgba(255, 255, 255, .86);
}

.differentials-section {
  background: linear-gradient(180deg, #fffaf3, var(--cream));
}

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

.differentials-grid article {
  padding: 24px;
  background: rgba(255, 255, 255, .76);
}

.differentials-grid h3 {
  font-size: 1.18rem;
}

.differentials-grid p {
  margin: 10px 0 0;
  color: var(--ink-soft);
  font-size: .98rem;
}

.packages-section {
  background: linear-gradient(180deg, var(--cream), #f5e5d7);
}

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

.pricing-grid article {
  display: flex;
  min-height: 360px;
  flex-direction: column;
  padding: 30px;
}

.pricing-grid article.featured {
  background: var(--ink);
  color: var(--white);
  transform: translateY(-14px);
}

.pricing-grid h3 {
  font-size: 1.45rem;
}

.pricing-grid p {
  flex: 1;
  color: var(--ink-soft);
}

.pricing-grid .featured h3,
.pricing-grid .featured p {
  color: var(--white);
}

.pricing-grid .featured p {
  opacity: .78;
}

.pricing-grid strong {
  display: block;
  color: var(--terracotta);
  font-family: "Fraunces", Georgia, serif;
  font-size: clamp(1.55rem, 2vw, 2rem);
  line-height: 1.04;
}

.pricing-grid .featured strong {
  color: var(--peach);
}

.pricing-grid small {
  display: block;
  margin-top: 10px;
  color: var(--ink-soft);
  font-weight: 900;
}

.pricing-grid .featured small {
  color: rgba(255, 255, 255, .72);
}

.pricing-notes {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 24px;
}

.pricing-notes p {
  margin: 0;
  border: 1px solid rgba(83, 109, 92, .12);
  border-radius: 18px;
  background: rgba(255, 255, 255, .62);
  padding: 18px;
  color: var(--ink-soft);
  font-size: .95rem;
}

.faq-section {
  background: #fffaf3;
}

.faq-grid {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 42px;
}

.faq-list {
  display: grid;
  gap: 12px;
}

.faq-list details {
  padding: 20px 22px;
}

.faq-list summary {
  cursor: pointer;
  color: var(--ink);
  font-weight: 900;
}

.faq-list p {
  margin: 12px 0 0;
}

.site-footer {
  background: var(--ink);
  color: var(--white);
  padding: 70px 0;
}

.footer-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.footer-brand,
.site-footer h2 {
  color: var(--white);
}

.footer-brand .brand-name {
  color: var(--white);
}

.footer-brand .brand-tagline {
  color: rgba(255, 255, 255, .68);
}

.site-footer h2 {
  margin-top: 24px;
  max-width: 620px;
}

.site-footer p {
  color: rgba(255, 255, 255, .72);
}

body.effects-ready [data-reveal]:not(.is-visible) {
  opacity: 1;
  transform: translateY(24px);
  transition: transform .7s ease;
}

body.effects-ready [data-reveal].is-visible,
[data-reveal] {
  opacity: 1;
  transform: translateY(0);
}

@keyframes heroTitleIn {
  from {
    opacity: 0;
    transform: translateY(22px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes cardFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(8px); }
}

@keyframes softPulse {
  0%, 100% { box-shadow: 0 16px 38px rgba(185, 104, 80, .28); }
  50% { box-shadow: 0 20px 48px rgba(185, 104, 80, .42); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
}

@media (max-width: 980px) {
  nav {
    display: none;
  }

  .hero,
  .hero-grid {
    min-height: auto;
  }

  .hero-grid,
  .trust-grid,
  .service-layout,
  .faq-grid {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    padding: 78px 0 64px;
  }

  .hero-bg {
    background: #fff4e7;
  }

  .hero-bg::before {
    background-position: center top;
    transform: none;
  }

  .hero-bg::after {
    background:
      linear-gradient(180deg, rgba(255, 248, 238, .68) 0%, rgba(255, 248, 238, .88) 32%, rgba(255, 248, 238, .76) 62%, rgba(255, 248, 238, .96) 100%);
  }

  .availability-card {
    max-width: 420px;
  }

  .service-image-frame {
    min-height: 420px;
  }

  .pricing-grid {
    grid-template-columns: 1fr;
  }

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

  .pricing-grid article.featured {
    transform: none;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(100% - 28px, 1160px);
  }

  .header-cta {
    display: none;
  }

  .brand-mark {
    width: 44px;
    height: 44px;
    border-radius: 14px;
  }

  .brand-tagline {
    display: none;
  }

  .hero-copy h1 {
    font-size: clamp(2.15rem, 10.5vw, 3rem);
    line-height: 1.04;
  }

  .hero-copy p {
    margin-top: 18px;
    font-size: 1rem;
  }

  .hero-actions,
  .footer-grid {
    align-items: stretch;
    flex-direction: column;
  }

  .hero-grid {
    padding: 62px 0 50px;
  }

  .hero,
  .hero-grid {
    min-height: 780px;
  }

  .availability-card {
    display: none;
  }

  .hero-proof {
    margin-top: 22px;
  }

  .section {
    padding: 76px 0;
  }

  .service-image-frame {
    min-height: 320px;
    border-radius: 24px;
  }

  .service-list article {
    padding: 22px;
  }

  .differentials-grid,
  .pricing-notes {
    grid-template-columns: 1fr;
  }

  .pricing-grid article {
    min-height: 0;
  }

  .parallax-story {
    min-height: 560px;
  }

  .story-panel {
    width: min(100% - 28px, 680px);
    margin: 0 auto;
    padding: 24px;
    border-radius: 22px;
  }
}
