:root {
  --navy: #0b1f3a;
  --navy-2: #0a1730;
  --navy-deep: #06111f;
  --green: #2bd67b;
  --green-hover: #1fc86c;
  --green-deep: #16a85a;
  --green-soft: #e9fbf1;
  --white: #ffffff;
  --off: #f4f7fb;
  --text: #122033;
  --muted: #5d6d80;
  --line: #e4ebf3;
  --shadow: 0 20px 50px rgba(11, 31, 58, 0.1);
  --shadow-sm: 0 10px 28px rgba(11, 31, 58, 0.08);
  --radius: 18px;
  --container: 1240px;
  --header: 88px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Plus Jakarta Sans", sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
}

body.nav-open {
  overflow: hidden;
}

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

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

button,
input,
select,
textarea {
  font: inherit;
}

h1,
h2,
h3,
h4,
.display {
  font-family: "Outfit", sans-serif;
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin: 0 0 16px;
}

p {
  margin: 0 0 16px;
}

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

.section {
  padding: 108px 0;
}

.section-head {
  max-width: 720px;
  margin: 0 auto 56px;
  text-align: center;
}

.section-head.left {
  margin-left: 0;
  text-align: left;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--green-deep);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.eyebrow::before,
.eyebrow::after {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
}

.section-head h2,
.block-title {
  font-size: clamp(32px, 4.4vw, 52px);
  color: var(--navy);
}

.lead {
  color: var(--muted);
  font-size: 17px;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  height: var(--header);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
  transition: box-shadow 0.25s ease, border-color 0.25s ease;
}

.site-header.is-scrolled {
  box-shadow: 0 10px 30px rgba(11, 31, 58, 0.08);
  border-bottom-color: var(--line);
}

.header-inner {
  height: var(--header);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: "Outfit", sans-serif;
  font-weight: 700;
  font-size: 24px;
  color: var(--navy);
  letter-spacing: -0.04em;
  flex-shrink: 0;
}

.brand img {
  width: 52px;
  height: 52px;
  object-fit: contain;
  border-radius: 12px;
}

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

.nav a {
  font-size: 15px;
  font-weight: 600;
  color: #334155;
  position: relative;
}

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

.nav a.active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -8px;
  height: 3px;
  border-radius: 99px;
  background: var(--green);
}

.header-cta {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--green);
  color: var(--navy);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  transition: transform 0.2s ease, background 0.2s ease;
}

.header-cta:hover {
  background: var(--green-hover);
  transform: translateY(-2px);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  padding: 10px;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  height: 2px;
  margin: 6px 0;
  background: var(--navy);
  transition: 0.2s ease;
}

.nav-toggle.is-open span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.nav-toggle.is-open span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.is-open span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  color: var(--white);
  overflow: hidden;
  padding: calc(var(--header) + 40px) 0 120px;
}

.hero-media,
.hero-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(6, 17, 31, 0.78) 0%, rgba(6, 17, 31, 0.42) 54%, rgba(6, 17, 31, 0.2) 100%),
    linear-gradient(180deg, rgba(6, 17, 31, 0.18), rgba(6, 17, 31, 0.45));
}

.hero-slash {
  position: absolute;
  top: 0;
  right: -8%;
  width: 42%;
  height: 100%;
  background: linear-gradient(160deg, rgba(43, 214, 123, 0.95), rgba(43, 214, 123, 0.2));
  clip-path: polygon(38% 0, 100% 0, 100% 100%, 0 100%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 760px;
}

.hero-content .eyebrow {
  color: var(--green);
}

.hero-content .eyebrow::before,
.hero-content .eyebrow::after {
  background: var(--green);
}

.hero h1 {
  font-size: clamp(44px, 7vw, 86px);
  color: var(--white);
  margin-bottom: 22px;
}

.hero p {
  max-width: 560px;
  font-size: 18px;
  color: rgba(255, 255, 255, 0.86);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 54px;
  padding: 0 26px;
  border-radius: 999px;
  border: 0;
  font-weight: 700;
  cursor: pointer;
  transition: 0.2s ease;
}

.btn-green {
  background: var(--green);
  color: var(--navy);
}

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

.btn-navy {
  background: var(--navy);
  color: var(--white);
}

.btn-navy:hover {
  background: #133057;
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255, 255, 255, 0.4);
}

.btn-outline:hover,
.btn-line {
  background: var(--white);
  color: var(--navy);
}

.btn-line {
  border: 1.5px solid var(--line);
  background: var(--white);
  color: var(--navy);
}

.btn-line:hover {
  border-color: var(--navy);
}

.marquee-wrap {
  position: relative;
  z-index: 3;
  margin-top: -52px;
  background: var(--navy);
  color: var(--white);
  overflow: hidden;
}

.marquee {
  display: flex;
  gap: 28px;
  width: max-content;
  animation: ticker 28s linear infinite;
  padding: 18px 0;
  font-family: "Outfit", sans-serif;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 14px;
}

.marquee span {
  display: inline-flex;
  align-items: center;
  gap: 28px;
}

.marquee i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  display: inline-block;
}

@keyframes ticker {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.service-grid,
.card-grid,
.project-grid,
.team-grid,
.price-grid,
.review-grid,
.feature-grid,
.stat-grid {
  display: grid;
  gap: 24px;
}

.service-grid,
.project-grid,
.team-grid,
.review-grid {
  grid-template-columns: repeat(3, 1fr);
}

.feature-grid,
.price-grid {
  grid-template-columns: repeat(3, 1fr);
}

.stat-grid {
  grid-template-columns: repeat(4, 1fr);
}

.media-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.media-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow);
}

.media-card .thumb {
  position: relative;
  aspect-ratio: 1.25 / 1;
  overflow: hidden;
}

.media-card .thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.media-card:hover .thumb img {
  transform: scale(1.06);
}

.media-card .body {
  padding: 22px 22px 26px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.media-card h3 {
  font-size: 22px;
  margin: 0;
  color: var(--navy);
}

.media-card p {
  color: var(--muted);
  margin: 8px 0 0;
  font-size: 14px;
}

.plus {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--green);
  color: var(--navy);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  font-size: 26px;
  font-weight: 600;
  line-height: 1;
}

.split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 64px;
  align-items: center;
}

.split.reverse {
  grid-template-columns: 0.95fr 1.05fr;
}

.split-photo {
  position: relative;
}

.split-photo img {
  width: 100%;
  height: 560px;
  object-fit: cover;
  border-radius: 28px;
}

.split-photo .orb {
  position: absolute;
  width: 86px;
  height: 86px;
  border-radius: 50%;
  background: var(--green);
  display: grid;
  place-items: center;
  color: var(--navy);
  box-shadow: var(--shadow);
}

.split-photo .orb.bl {
  left: -22px;
  bottom: 40px;
}

.split-photo .orb.tr {
  right: 24px;
  top: -22px;
}

.soft {
  background: var(--off);
}

.navy-band {
  background: var(--navy);
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.navy-band h2,
.navy-band .block-title {
  color: var(--white);
}

.navy-band .lead {
  color: rgba(255, 255, 255, 0.74);
}

.play-card {
  position: relative;
  border-radius: 28px;
  overflow: hidden;
  min-height: 420px;
}

.play-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 420px;
}

.play-card .play {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
}

.play-btn {
  width: 86px;
  height: 86px;
  border-radius: 50%;
  background: var(--green);
  display: grid;
  place-items: center;
  color: var(--navy);
}

.check-list {
  list-style: none;
  padding: 0;
  margin: 24px 0 0;
}

.check-list li {
  position: relative;
  padding: 10px 0 10px 34px;
  color: var(--muted);
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 16px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--green) url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%230b1f3a' stroke-width='3'><path d='M5 13l4 4L19 7'/></svg>") center/12px no-repeat;
}

.stat-card {
  padding: 8px 0;
}

.stat-card strong {
  display: block;
  font-family: "Outfit", sans-serif;
  font-size: clamp(36px, 4vw, 48px);
  color: var(--navy);
  letter-spacing: -0.04em;
}

.navy-band .stat-card strong {
  color: var(--white);
}

.stat-card span {
  color: var(--muted);
  font-weight: 600;
}

.navy-band .stat-card span {
  color: rgba(255, 255, 255, 0.7);
}

.icon-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow-sm);
}

.icon-card .ico {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--green-soft);
  color: var(--green-deep);
  display: grid;
  place-items: center;
  margin-bottom: 18px;
}

.icon-card h3 {
  font-size: 22px;
  color: var(--navy);
}

.icon-card p {
  color: var(--muted);
  margin: 0;
}

.cta-bar {
  background: var(--green);
  padding: 34px 0;
}

.cta-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.cta-bar h3 {
  margin: 0;
  font-size: clamp(26px, 3vw, 36px);
  color: var(--navy);
}

.cta-form {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.cta-form input,
.cta-form select,
.field input,
.field select,
.field textarea {
  border: 1px solid transparent;
  background: var(--white);
  border-radius: 999px;
  min-height: 52px;
  padding: 0 18px;
  outline: none;
  min-width: 210px;
}

.field textarea {
  border-radius: 18px;
  min-height: 140px;
  padding: 16px 18px;
  resize: vertical;
  width: 100%;
}

.field input,
.field select {
  width: 100%;
}

.field input[type="checkbox"] {
  width: auto;
  min-width: 0;
  min-height: 18px;
  padding: 0;
  border-radius: 4px;
  display: inline-block;
  vertical-align: middle;
}

.field input:focus,
.field select:focus,
.field textarea:focus,
.cta-form input:focus {
  border-color: var(--navy);
}

.site-footer {
  background: var(--navy-deep);
  color: rgba(255, 255, 255, 0.78);
  padding: 80px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.8fr 0.8fr 1fr;
  gap: 36px;
  padding-bottom: 48px;
}

.site-footer .brand {
  color: var(--white);
  margin-bottom: 16px;
}

.site-footer h4 {
  color: var(--white);
  font-size: 20px;
  margin-bottom: 18px;
}

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

.site-footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.site-footer li {
  margin: 10px 0;
}

.site-footer a:hover {
  color: var(--green);
}

.socials {
  display: flex;
  gap: 10px;
  margin-top: 18px;
}

.socials a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  display: grid;
  place-items: center;
  color: var(--white);
}

.socials a:hover {
  background: var(--green);
  color: var(--navy);
}

.footer-legal a {
  color: var(--green);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 22px 0;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 14px;
}

.page-hero {
  position: relative;
  padding: calc(var(--header) + 72px) 0 84px;
  background-color: var(--navy);
  background-image: url("../images/family-home.jpg");
  background-size: cover;
  background-position: center;
  color: var(--white);
  overflow: hidden;
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(6, 17, 31, 0.82), rgba(6, 17, 31, 0.45));
}

.page-hero::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 36%;
  height: 100%;
  background: linear-gradient(150deg, rgba(43, 214, 123, 0.85), transparent);
  clip-path: polygon(32% 0, 100% 0, 100% 100%, 0 100%);
}

.page-hero .container {
  position: relative;
  z-index: 2;
}

.page-hero h1 {
  font-size: clamp(40px, 6vw, 72px);
  color: var(--white);
}

.crumbs {
  color: rgba(255, 255, 255, 0.72);
  font-weight: 600;
  margin-bottom: 12px;
}

.crumbs a:hover {
  color: var(--green);
}

.prose {
  max-width: 860px;
}

.prose h2,
.prose h3 {
  color: var(--navy);
  margin-top: 36px;
}

.prose p,
.prose li {
  color: #3b4b5d;
}

.prose ul {
  padding-left: 20px;
}

.team-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  text-align: center;
}

.team-card img {
  width: 100%;
  height: 320px;
  object-fit: cover;
}

.team-card .body {
  padding: 22px;
}

.team-card h3 {
  margin: 0 0 4px;
  font-size: 22px;
  color: var(--navy);
}

.team-card span {
  color: var(--green-deep);
  font-weight: 700;
  font-size: 14px;
}

.price-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 36px 28px;
  position: relative;
  box-shadow: var(--shadow-sm);
}

.price-card.featured {
  background: var(--navy);
  color: var(--white);
  transform: translateY(-12px);
}

.price-card.featured h3,
.price-card.featured .amount {
  color: var(--white);
}

.price-card h3 {
  font-size: 26px;
  color: var(--navy);
}

.amount {
  font-family: "Outfit", sans-serif;
  font-size: 48px;
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -0.04em;
}

.amount small {
  font-size: 16px;
  font-weight: 600;
  color: var(--muted);
}

.price-card.featured .amount small,
.price-card.featured p,
.price-card.featured li {
  color: rgba(255, 255, 255, 0.74);
}

.badge {
  position: absolute;
  top: 18px;
  right: 18px;
  background: var(--green);
  color: var(--navy);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 6px 10px;
  border-radius: 999px;
}

.review-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow-sm);
}

.stars {
  color: #f5b301;
  letter-spacing: 2px;
  margin-bottom: 12px;
}

.review-card p {
  color: #3d4d5f;
}

.reviewer {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 18px;
}

.reviewer img {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
}

.reviewer strong {
  display: block;
  color: var(--navy);
}

.reviewer span {
  color: var(--muted);
  font-size: 13px;
}

.form-card {
  background: var(--white);
  border-radius: 24px;
  padding: 36px;
  box-shadow: var(--shadow);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-grid .full {
  grid-column: 1 / -1;
}

.field label {
  display: block;
  font-weight: 700;
  font-size: 14px;
  margin-bottom: 8px;
  color: var(--navy);
}

.field-error {
  min-height: 18px;
  margin: 6px 0 0;
  color: #c2410c;
  font-size: 13px;
  font-weight: 600;
}

.is-invalid {
  border-color: #ef4444 !important;
  background: #fff7f7;
}

.form-success {
  background: var(--green-soft);
  border: 1px solid #b7efce;
  color: var(--navy);
  border-radius: 18px;
  padding: 28px;
  text-align: center;
  font-size: 20px;
  font-weight: 700;
}

.form-success p {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 15px;
  font-weight: 500;
}

.contact-panel {
  background: var(--navy);
  color: var(--white);
  border-radius: 24px;
  padding: 36px;
  height: 100%;
}

.contact-panel h2,
.contact-panel h3 {
  color: var(--white);
}

.legal {
  background: var(--off);
}

.legal-wrap {
  background: var(--white);
  border-radius: 24px;
  padding: 48px 42px;
  box-shadow: var(--shadow-sm);
}

.table-wrap {
  overflow-x: auto;
}

table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
}

th,
td {
  border-bottom: 1px solid var(--line);
  padding: 14px 12px;
  text-align: left;
}

th {
  background: var(--off);
  color: var(--navy);
  font-family: "Outfit", sans-serif;
}

.faq details {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 16px 20px;
  margin-bottom: 12px;
}

.faq summary {
  cursor: pointer;
  font-weight: 700;
  color: var(--navy);
}

.faq p {
  color: var(--muted);
  margin: 12px 0 0;
}

.js-reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: 0.7s ease;
}

.js-reveal.is-visible {
  opacity: 1;
  transform: none;
}

.tiny {
  font-size: 13px;
  color: var(--muted);
}

@media (max-width: 1100px) {
  .nav {
    gap: 16px;
  }

  .nav a {
    font-size: 14px;
  }

  .split,
  .split.reverse,
  .footer-grid,
  .service-grid,
  .project-grid,
  .team-grid,
  .price-grid,
  .review-grid,
  .feature-grid {
    grid-template-columns: 1fr 1fr;
  }

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

  .price-card.featured {
    transform: none;
  }
}

@media (max-width: 1180px) {
  .nav-toggle {
    display: block;
  }

  .nav {
    position: fixed;
    inset: var(--header) 0 0;
    background: var(--white);
    flex-direction: column;
    align-items: flex-start;
    padding: 28px;
    gap: 18px;
    transform: translateX(100%);
    transition: transform 0.25s ease;
  }

  .nav.is-open {
    transform: none;
  }

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

  .header-cta {
    margin-left: auto;
  }
}

@media (max-width: 900px) {
  .hero-slash,
  .page-hero::after {
    width: 100%;
    clip-path: none;
    height: 8px;
    top: auto;
    bottom: 0;
    background: var(--green);
  }

  .split,
  .split.reverse,
  .footer-grid,
  .service-grid,
  .project-grid,
  .team-grid,
  .price-grid,
  .review-grid,
  .feature-grid,
  .stat-grid,
  .form-grid,
  .cta-bar-inner {
    grid-template-columns: 1fr;
    display: grid;
  }

  .cta-form,
  .cta-bar-inner {
    display: grid;
  }

  .split-photo img,
  .play-card,
  .play-card img {
    height: 360px;
    min-height: 360px;
  }

  .form-card,
  .legal-wrap {
    padding: 24px 18px;
  }
}
