:root {
  --purple: #6f2cf4;
  --purple-dark: #5320c7;
  --purple-soft: #f4efff;
  --green: #27b88a;
  --green-dark: #168365;
  --green-soft: #e9faf4;
  --ink: #102c32;
  --muted: #66777b;
  --line: #e8edec;
  --white: #ffffff;
  --shadow: 0 22px 65px rgba(25, 31, 52, 0.12);
  --container: min(1180px, calc(100% - 40px));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", Arial, sans-serif;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

body[dir="rtl"] { font-family: Tahoma, Arial, sans-serif; }

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }

.container {
  width: var(--container);
  margin-inline: auto;
}

.section { padding: 88px 0; }

.eyebrow {
  margin: 0 0 11px;
  color: var(--green-dark);
  font-size: .82rem;
  font-weight: 900;
  letter-spacing: .075em;
  text-transform: uppercase;
}

.button {
  display: inline-flex;
  min-height: 51px;
  align-items: center;
  justify-content: center;
  padding: 12px 22px;
  border: 1px solid transparent;
  border-radius: 11px;
  font-weight: 850;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

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

.button-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--purple), var(--purple-dark));
  box-shadow: 0 12px 28px rgba(111, 44, 244, .23);
}

.button-outline {
  color: var(--green-dark);
  border-color: var(--green);
  background: #fff;
}

.button-white {
  color: var(--purple-dark);
  background: #fff;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(232, 237, 236, .82);
  background: rgba(255, 255, 255, .94);
  backdrop-filter: blur(15px);
}

.nav-shell {
  display: flex;
  min-height: 80px;
  align-items: center;
  gap: 28px;
}

.brand img {
  width: 151px;
  height: 54px;
  object-fit: contain;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 30px;
  margin-inline-start: auto;
}

.main-nav a {
  position: relative;
  padding-block: 28px;
  color: #263c40;
  font-size: .94rem;
  font-weight: 750;
}

.main-nav a:hover,
.main-nav a.active { color: var(--purple); }

.main-nav a.active::after {
  position: absolute;
  right: 0;
  bottom: 19px;
  left: 0;
  height: 3px;
  border-radius: 20px;
  background: var(--purple);
  content: "";
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.nav-cta {
  min-height: 46px;
  padding: 10px 18px;
  font-size: .89rem;
}

.language-switcher {
  display: flex;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
}

.language-button {
  padding: 8px 9px;
  border: 0;
  color: var(--muted);
  background: transparent;
  font-size: .75rem;
  font-weight: 900;
}

.language-button.active {
  color: var(--purple);
  background: var(--purple-soft);
}

.menu-button {
  display: none;
  width: 45px;
  height: 45px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  border: 0;
  border-radius: 11px;
  background: var(--purple-soft);
}

.menu-button span {
  width: 22px;
  height: 2px;
  border-radius: 4px;
  background: var(--purple);
}

/* Hero */
.nanny-hero {
  overflow: hidden;
  padding: 66px 0 0;
  background:
    radial-gradient(circle at 5% 15%, rgba(111,44,244,.08), transparent 26%),
    #fff;
}

.nanny-hero-grid {
  display: grid;
  grid-template-columns: .98fr 1.02fr;
  align-items: end;
  gap: 54px;
}

.nanny-hero-copy {
  align-self: center;
  padding-bottom: 64px;
}

.nanny-hero-copy h1 {
  max-width: 650px;
  margin: 0;
  font-size: clamp(3rem, 5.2vw, 5rem);
  line-height: 1.06;
  letter-spacing: -.052em;
}

.nanny-hero-copy h1 span { color: var(--purple); }

.hero-description {
  max-width: 630px;
  margin: 24px 0 30px;
  color: var(--muted);
  font-size: 1.07rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 13px;
}

.hero-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 17px;
  margin-top: 35px;
}

.hero-features article {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.hero-features article > span {
  display: grid;
  width: 39px;
  height: 39px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 50%;
  color: var(--purple);
  background: var(--purple-soft);
  font-weight: 900;
}

.hero-features strong,
.hero-features small { display: block; }

.hero-features strong {
  font-size: .89rem;
  line-height: 1.28;
}

.hero-features small {
  margin-top: 3px;
  color: var(--muted);
  line-height: 1.28;
}

.nanny-hero-visual {
  position: relative;
  min-height: 485px;
}

.nanny-hero-photo {
  width: 100%;
  height: 485px;
  object-fit: cover;
  border-radius: 170px 0 0 0;
  box-shadow: var(--shadow);
}

body[dir="rtl"] .nanny-hero-photo {
  border-radius: 0 170px 0 0;
}

.hero-float-card {
  position: absolute;
  right: 23px;
  bottom: 22px;
  display: flex;
  max-width: 305px;
  align-items: center;
  gap: 12px;
  padding: 15px 17px;
  border-radius: 17px;
  background: rgba(255,255,255,.94);
  box-shadow: 0 16px 45px rgba(23,34,46,.17);
  backdrop-filter: blur(12px);
}

body[dir="rtl"] .hero-float-card {
  right: auto;
  left: 23px;
}

.float-icon {
  display: grid;
  width: 43px;
  height: 43px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: var(--green);
  font-weight: 900;
}

.hero-float-card strong,
.hero-float-card small { display: block; }

.hero-float-card strong { font-size: .89rem; }
.hero-float-card small { color: var(--muted); }

/* Headings */
.section-heading {
  max-width: 760px;
  margin-bottom: 45px;
}

.centered-heading {
  margin-inline: auto;
  text-align: center;
}

.section-heading h2,
.expectations-copy h2 {
  margin: 0;
  font-size: clamp(2.1rem, 4vw, 3.45rem);
  line-height: 1.13;
  letter-spacing: -.04em;
}

.section-heading h2 span,
.expectations-copy h2 span { color: var(--purple); }

.section-heading > p:last-child {
  margin: 15px auto 0;
  color: var(--muted);
}

/* Benefits */
.benefits-section { background: #fff; }

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

.benefit-card {
  padding: 30px 23px;
  border: 1px solid var(--line);
  border-radius: 19px;
  background: #fff;
  text-align: center;
  box-shadow: 0 12px 38px rgba(24,37,48,.06);
}

.benefit-icon {
  display: grid;
  width: 58px;
  height: 58px;
  margin: 0 auto 18px;
  place-items: center;
  border-radius: 50%;
  color: var(--green-dark);
  background: var(--green-soft);
  font-size: 1.35rem;
  font-weight: 900;
}

.benefit-card h3 {
  margin: 0 0 9px;
  color: var(--purple);
  font-size: 1.1rem;
}

.benefit-card p {
  margin: 0;
  color: var(--muted);
  font-size: .92rem;
}

/* Process */
.process-section {
  background:
    linear-gradient(180deg, #fbf9ff, #fff);
}

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

.process-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 13px 42px rgba(24,37,48,.07);
}

.process-card > img {
  width: 100%;
  height: 205px;
  object-fit: cover;
}

.process-content {
  position: relative;
  min-height: 205px;
  padding: 27px 22px 23px;
}

.process-number {
  position: absolute;
  top: -23px;
  left: 19px;
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border: 5px solid #fff;
  border-radius: 50%;
  color: #fff;
  background: var(--purple);
  font-weight: 900;
}

body[dir="rtl"] .process-number {
  right: 19px;
  left: auto;
}

.process-content h3 {
  margin: 8px 0 9px;
  font-size: 1.12rem;
  line-height: 1.25;
}

.process-content p {
  margin: 0;
  color: var(--muted);
  font-size: .91rem;
}

.center-action {
  margin-top: 37px;
  text-align: center;
}

/* Expectations */
.expectations-section { background: #fff; }

.expectations-grid {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  align-items: center;
  gap: 62px;
}

.expectations-photo {
  overflow: hidden;
  border-radius: 27px;
  box-shadow: var(--shadow);
}

.expectations-photo img {
  width: 100%;
  height: 540px;
  object-fit: cover;
}

.check-list {
  display: grid;
  gap: 21px;
  margin-top: 28px;
}

.check-list article {
  display: flex;
  align-items: flex-start;
  gap: 13px;
}

.check-list article > span {
  display: grid;
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 50%;
  color: var(--green-dark);
  background: var(--green-soft);
  font-weight: 900;
}

.check-list strong { display: block; }

.check-list p {
  margin: 4px 0 0;
  color: var(--muted);
}

.important-note {
  margin-top: 27px;
  padding: 17px 19px;
  border-inline-start: 4px solid var(--purple);
  border-radius: 12px;
  background: var(--purple-soft);
}

.important-note strong {
  color: var(--purple-dark);
}

.important-note p {
  margin: 4px 0 0;
  color: var(--muted);
}

/* CTA */
.nanny-cta-section {
  padding: 5px 0 70px;
}

.nanny-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 35px 38px;
  border-radius: 23px;
  color: #fff;
  background:
    radial-gradient(circle at 90% 0, rgba(39,184,138,.32), transparent 28%),
    linear-gradient(135deg, var(--purple-dark), var(--purple));
  box-shadow: 0 19px 50px rgba(80,32,195,.2);
}

.nanny-cta h2 {
  margin: 0;
  color: #fff;
  font-size: clamp(1.8rem, 3.4vw, 2.8rem);
  line-height: 1.15;
}

.nanny-cta p {
  margin: 8px 0 0;
  color: rgba(255,255,255,.82);
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--line);
  background: #fafcfc;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.35fr .75fr .85fr 1fr;
  gap: 44px;
  padding: 58px 0 38px;
}

.footer-brand > img {
  width: 158px;
  height: 57px;
  object-fit: contain;
}

.footer-brand p {
  max-width: 340px;
  margin: 17px 0;
  color: var(--muted);
  font-size: .91rem;
}

.social-links { display: flex; gap: 9px; }

.social-links a {
  display: grid;
  width: 37px;
  height: 37px;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: var(--purple);
  font-weight: 900;
}

.footer-column h3 {
  margin: 0 0 16px;
  font-size: 1rem;
}

.footer-column a,
.footer-column span {
  display: block;
  margin: 9px 0;
  color: var(--muted);
  font-size: .91rem;
}

.footer-column a:hover { color: var(--purple); }

.footer-bottom {
  padding: 21px 0 26px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: .85rem;
  text-align: center;
}

/* Responsive */
@media (max-width: 1040px) {
  .menu-button {
    display: flex;
    margin-inline-start: auto;
  }

  .nav-shell {
    flex-wrap: wrap;
    gap: 12px;
    padding: 13px 0;
  }

  .main-nav {
    display: none;
    order: 3;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    margin: 0;
    padding-top: 8px;
  }

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

  .main-nav a {
    padding: 13px 3px;
    border-top: 1px solid var(--line);
  }

  .main-nav a.active::after { display: none; }

  .nav-actions {
    display: none;
    order: 4;
    width: 100%;
    justify-content: space-between;
    padding-bottom: 8px;
  }

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

  .nanny-hero-grid,
  .expectations-grid {
    grid-template-columns: 1fr;
  }

  .nanny-hero-copy { padding-bottom: 18px; }

  .nanny-hero-photo {
    border-radius: 120px 120px 0 0;
  }

  body[dir="rtl"] .nanny-hero-photo {
    border-radius: 120px 120px 0 0;
  }

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

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

@media (max-width: 700px) {
  :root { --container: min(100% - 24px, 1180px); }

  .brand img { width: 132px; }

  .nav-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .nav-cta { width: 100%; }

  .language-switcher { align-self: flex-start; }

  .section { padding: 68px 0; }

  .nanny-hero { padding-top: 48px; }

  .nanny-hero-copy h1 {
    font-size: clamp(2.65rem, 13vw, 4rem);
  }

  .hero-features,
  .benefits-grid,
  .process-grid {
    grid-template-columns: 1fr;
  }

  .nanny-hero-photo {
    height: 365px;
    border-radius: 34px 34px 0 0;
  }

  .hero-float-card {
    right: 12px;
    left: 12px;
    max-width: none;
  }

  body[dir="rtl"] .hero-float-card {
    right: 12px;
    left: 12px;
  }

  .expectations-photo img {
    height: 390px;
  }

  .nanny-cta {
    align-items: flex-start;
    flex-direction: column;
    padding: 30px 24px;
  }

  .nanny-cta .button {
    width: 100%;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 27px;
  }
}
