* {
  box-sizing: border-box;
}

:root {
  --ink: #103548;
  --deep: #14213f;
  --blue: #0c91c8;
  --teal: #1db6b0;
  --purple: #7d37c7;
  --magenta: #c044a0;
  --hero-lavender: #c093db;
  --logo-purple: #71269b;
  --mist: #effbfd;
  --soft: #f7fbff;
  --line: #d6edf3;
  --text: #526774;
  --white: #ffffff;
  --gradient: linear-gradient(135deg, #0c91c8 0%, #1db6b0 34%, #7d37c7 72%, #c044a0 100%);
  --shadow: 0 22px 55px rgba(16, 53, 72, 0.14);
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  color: var(--text);
  font-family: "Poppins", Arial, sans-serif;
  background: var(--white);
  line-height: 1.65;
}

body.menu-open {
  overflow: hidden;
}

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

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

p {
  margin: 0 0 16px;
}

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

.topbar {
  color: rgba(255, 255, 255, 0.92);
  background: var(--deep);
  font-size: 13px;
}

.topbar-inner {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 9px 0;
  flex-wrap: wrap;
}

.topbar a:hover {
  color: #9be8f0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid rgba(192, 147, 219, 0.38);
  backdrop-filter: blur(18px);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  padding: 8px 14px;
  background:
    radial-gradient(circle at 22% 24%, rgba(255, 255, 255, 0.42), transparent 34%),
    linear-gradient(135deg, rgba(192, 147, 219, 0.92), rgba(113, 38, 155, 0.86));
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 8px;
  box-shadow: 0 14px 30px rgba(113, 38, 155, 0.18);
}

.brand img {
  width: 240px;
  height: auto;
  filter: drop-shadow(0 8px 14px rgba(48, 14, 68, 0.22));
}

.nav {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--logo-purple);
  font-weight: 700;
}

.nav a {
  position: relative;
  padding: 10px 14px;
  border-radius: 8px;
  transition: color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.nav a:hover,
.nav a.active {
  color: var(--white);
  background: linear-gradient(135deg, var(--logo-purple), var(--hero-lavender));
  box-shadow: 0 10px 22px rgba(113, 38, 155, 0.18);
  transform: translateY(-1px);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 11px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.nav-toggle span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: var(--ink);
  border-radius: 20px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 13px 24px;
  color: var(--white);
  background: var(--gradient);
  background-size: 220% 220%;
  border: 0;
  border-radius: 8px;
  box-shadow: 0 16px 34px rgba(12, 145, 200, 0.27);
  cursor: pointer;
  font: inherit;
  font-weight: 800;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-position 0.45s ease;
}

.btn:hover {
  background-position: 100% 50%;
  box-shadow: 0 20px 42px rgba(125, 55, 199, 0.26);
  transform: translateY(-2px);
}

.btn-soft {
  color: var(--logo-purple);
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(113, 38, 155, 0.18);
  box-shadow: 0 12px 28px rgba(113, 38, 155, 0.12);
}

.btn-white {
  color: var(--purple);
  background: var(--white);
  box-shadow: 0 16px 34px rgba(10, 38, 61, 0.16);
}

.hero {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  padding: 62px 0 76px;
  background:
    radial-gradient(circle at 12% 18%, rgba(255, 255, 255, 0.42), transparent 28%),
    radial-gradient(circle at 80% 18%, rgba(113, 38, 155, 0.22), transparent 28%),
    linear-gradient(118deg, #c093db 0%, #dcc0ee 42%, #f7efff 100%);
}

.home-hero {
  min-height: 650px;
}

.page-hero {
  min-height: 420px;
  display: flex;
  align-items: center;
}

.hero::before {
  position: absolute;
  inset: auto -12% -46% 38%;
  z-index: -1;
  height: 520px;
  content: "";
  background: linear-gradient(135deg, #ffffff 0%, #c093db 35%, #71269b 100%);
  background-size: 180% 180%;
  border-radius: 48% 52% 0 0;
  opacity: 0.24;
  animation: gradientMove 9s ease-in-out infinite alternate;
}

.hero-grid,
.split-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(320px, 0.98fr);
  gap: 50px;
  align-items: center;
}

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

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

.hero-media {
  position: relative;
  margin-top: -22px;
}

.hero-media img {
  width: 100%;
  min-height: 430px;
  object-fit: cover;
  border: 10px solid rgba(255, 255, 255, 0.78);
  border-radius: 8px;
  box-shadow: var(--shadow);
  transform: rotate(1.2deg);
}

.floating-hours {
  position: absolute;
  right: 22px;
  bottom: -24px;
  max-width: 300px;
  padding: 18px 20px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(214, 237, 243, 0.92);
  border-radius: 8px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(12px);
  animation: floatCard 4.6s ease-in-out infinite;
}

.floating-hours strong,
.floating-hours span {
  display: block;
}

.floating-hours strong {
  font-size: 18px;
}

.hero-wave {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 72px;
  background: linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.82));
  pointer-events: none;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--blue);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.eyebrow.light {
  color: #cafcff;
}

h1,
h2,
h3 {
  margin: 0;
  color: var(--ink);
  line-height: 1.14;
}

h1 {
  max-width: 820px;
  font-size: clamp(42px, 6vw, 74px);
}

h2 {
  font-size: clamp(30px, 4vw, 48px);
}

h3 {
  font-size: 22px;
}

.lead {
  max-width: 680px;
  margin: 22px 0 30px;
  color: #415866;
  font-size: 18px;
}

.section {
  padding: 86px 0;
}

.section.compact {
  padding: 42px 0;
}

.section-head {
  max-width: 800px;
  margin-bottom: 38px;
}

.section-head p:last-child {
  font-size: 17px;
}

.quick-grid,
.cards,
.service-grid,
.care-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.quick-item,
.service-card,
.info-card,
.team-card,
.care-card,
.form {
  position: relative;
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.quick-item {
  padding: 24px;
}

.quick-item strong {
  display: block;
  margin-bottom: 6px;
  color: var(--purple);
  font-size: 32px;
  line-height: 1;
}

.service-card,
.info-card,
.care-card {
  padding: 28px;
}

.service-card::before,
.info-card::before,
.care-card::before {
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  content: "";
  background: var(--gradient);
  background-size: 180% 180%;
  animation: gradientMove 8s ease infinite alternate;
}

.service-card p,
.info-card p {
  margin-bottom: 0;
}

.icon {
  display: inline-grid;
  place-items: center;
  width: 56px;
  height: 56px;
  margin-bottom: 18px;
  color: var(--white);
  background: var(--gradient);
  border-radius: 8px;
  font-size: 15px;
  font-weight: 800;
}

.gradient-band {
  color: rgba(255, 255, 255, 0.86);
  background:
    radial-gradient(circle at 18% 18%, rgba(255, 255, 255, 0.16), transparent 25%),
    radial-gradient(circle at 82% 72%, rgba(255, 255, 255, 0.12), transparent 22%),
    var(--gradient);
  background-size: auto, auto, 220% 220%;
  animation: gradientMove 12s ease-in-out infinite alternate;
}

.gradient-band h2,
.gradient-band h3,
.gradient-band strong {
  color: var(--white);
}

.gradient-band .lead,
.gradient-band p {
  color: rgba(255, 255, 255, 0.86);
}

.image-stack {
  position: relative;
  min-height: 500px;
}

.main-photo,
.small-photo {
  object-fit: cover;
  border: 10px solid rgba(255, 255, 255, 0.72);
  border-radius: 8px;
  box-shadow: 0 24px 60px rgba(11, 34, 54, 0.24);
}

.main-photo {
  width: min(88%, 560px);
  min-height: 430px;
}

.small-photo {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 230px;
  height: 230px;
}

.check-list {
  display: grid;
  gap: 14px;
  padding: 0;
  margin: 0 0 28px;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 30px;
}

.check-list li::before {
  position: absolute;
  left: 0;
  top: 4px;
  width: 18px;
  height: 18px;
  content: "";
  background: var(--white);
  border-radius: 50%;
  box-shadow: inset 0 0 0 5px rgba(125, 55, 199, 0.65);
}

.check-list.dark li {
  color: var(--text);
}

.check-list.dark li::before {
  background: var(--gradient);
  box-shadow: none;
}

.check-list.columns {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.check-list.compact-list {
  gap: 10px 18px;
  margin: 18px 0 20px;
}

.check-list.compact-list li {
  font-size: 15px;
  line-height: 1.45;
}

.founder-highlight {
  align-items: start;
}

.founder-card {
  padding: 30px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.founder-card strong {
  display: block;
  margin-bottom: 18px;
  color: var(--ink);
  font-size: 24px;
  line-height: 1.2;
}

.founder-card .check-list {
  margin-bottom: 0;
}

.cta-section {
  background: var(--soft);
}

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

.value-grid,
.timeline {
  display: grid;
  gap: 18px;
}

.story-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(320px, 1.14fr);
  gap: 46px;
  align-items: start;
}

.timeline-item {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 18px;
  padding: 22px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.24);
}

.timeline-item span {
  color: rgba(255, 255, 255, 0.84);
}

.team-grid {
  display: grid;
  gap: 24px;
}

.team-card {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 30px;
  align-items: start;
  padding: 30px;
}

.team-card.featured {
  border-color: rgba(125, 55, 199, 0.22);
}

.team-photo img {
  width: 240px;
  height: 240px;
  object-fit: cover;
  border: 8px solid var(--mist);
  border-radius: 50%;
}

.team-photo.logo-photo img {
  object-fit: contain;
  padding: 24px;
}

.team-card .btn {
  margin-top: 8px;
}

.team-card strong {
  color: var(--ink);
}

.care-card {
  color: var(--text);
}

.care-card strong,
.care-card span {
  display: block;
}

.care-card strong {
  margin-bottom: 8px;
  color: var(--ink);
  font-size: 22px;
}

.blog-grid {
  align-items: stretch;
}

.blog-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: 28px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.blog-card span {
  width: fit-content;
  margin-bottom: 14px;
  padding: 7px 12px;
  color: var(--purple);
  background: rgba(125, 55, 199, 0.09);
  border-radius: 8px;
  font-size: 13px;
  font-weight: 800;
}

.blog-card h2,
.blog-card h3 {
  margin-bottom: 12px;
}

.blog-card h2 {
  font-size: 26px;
}

.blog-card p {
  flex: 1;
}

.blog-card a {
  width: fit-content;
  margin-top: 8px;
  color: var(--purple);
  font-weight: 800;
}

.blog-card a:hover {
  color: var(--blue);
}

.article-page {
  background:
    radial-gradient(circle at 12% 6%, rgba(29, 182, 176, 0.16), transparent 25%),
    linear-gradient(180deg, #ffffff 0%, var(--soft) 100%);
}

.article-wrap {
  max-width: 860px;
}

.article-wrap img {
  width: 100%;
  max-height: 430px;
  margin: 28px 0 34px;
  object-fit: cover;
  border: 10px solid var(--white);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.article-wrap h2 {
  margin: 30px 0 12px;
  font-size: clamp(26px, 3vw, 36px);
}

.article-wrap .btn {
  margin-top: 12px;
}

.source-list {
  display: grid;
  gap: 10px;
  margin: 0 0 24px;
  padding-left: 22px;
}

.source-list a {
  color: var(--purple);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.faq-list {
  display: grid;
  gap: 16px;
  margin: 0 0 22px;
}

.faq-list h3 {
  font-size: 22px;
}

.faq-list p {
  margin-bottom: 0;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(320px, 1.15fr);
  gap: 30px;
  align-items: stretch;
}

.contact-list {
  display: grid;
  gap: 14px;
  margin-top: 26px;
}

.contact-list a,
.contact-list div {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 14px;
  padding: 18px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.contact-list a:hover {
  border-color: rgba(125, 55, 199, 0.42);
  transform: translateX(4px);
}

.contact-list strong {
  color: var(--ink);
}

.map {
  min-height: 500px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.map iframe {
  width: 100%;
  height: 100%;
  min-height: 500px;
  border: 0;
}

.form {
  display: grid;
  gap: 14px;
  padding: 28px;
  box-shadow: 0 24px 60px rgba(11, 34, 54, 0.2);
}

.form input,
.form textarea {
  width: 100%;
  padding: 15px 16px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.74);
  border-radius: 8px;
  font: inherit;
}

.form input:focus,
.form textarea:focus {
  border-color: var(--purple);
  outline: 3px solid rgba(125, 55, 199, 0.18);
}

.form textarea {
  min-height: 138px;
  resize: vertical;
}

.footer {
  color: rgba(255, 255, 255, 0.86);
  background: var(--deep);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 30px 0;
  flex-wrap: wrap;
}

.footer strong {
  color: var(--white);
  font-size: 18px;
}

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

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes gradientMove {
  0% {
    background-position: 0% 50%;
  }

  100% {
    background-position: 100% 50%;
  }
}

@keyframes floatCard {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-10px);
  }
}

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

  .reveal {
    opacity: 1;
    transform: none;
  }
}

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

  .nav {
    position: absolute;
    top: calc(100% + 8px);
    right: 16px;
    left: 16px;
    display: none;
    padding: 18px;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: var(--shadow);
    max-height: calc(100vh - 160px);
    overflow-y: auto;
  }

  .nav.open {
    display: grid;
  }

  .nav a {
    padding: 12px 14px;
  }

  .hero-grid,
  .split-grid,
  .story-grid,
  .contact-grid,
  .team-card,
  .quick-grid,
  .cards,
  .service-grid,
  .care-grid {
    grid-template-columns: 1fr;
  }

  .hero,
  .page-hero {
    min-height: auto;
    padding: 48px 0 62px;
  }

  .hero-media img {
    min-height: 320px;
    transform: none;
  }

  .hero-media {
    margin-top: 0;
  }

  .image-stack {
    min-height: auto;
  }

  .main-photo {
    width: 100%;
    min-height: 360px;
  }

  .small-photo {
    right: 18px;
    bottom: 18px;
    width: 170px;
    height: 170px;
  }

  .team-photo img {
    width: 210px;
    height: 210px;
  }

  .cta-wrap {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 620px) {
  .topbar-inner,
  .footer-inner {
    display: grid;
  }

  .brand {
    display: inline-flex;
  }

  .brand img {
    width: 150px;
  }

  h1 {
    font-size: 38px;
  }

  .section {
    padding: 62px 0;
  }

  .section.compact {
    padding: 28px 0;
  }

  .floating-hours {
    position: static;
    margin-top: 14px;
  }

  .hero-actions {
    display: grid;
  }

  .btn {
    width: 100%;
  }

  .contact-list a,
  .contact-list div,
  .timeline-item {
    grid-template-columns: 1fr;
  }

  .check-list.columns {
    grid-template-columns: 1fr;
  }

  .map,
  .map iframe {
    min-height: 360px;
  }

  .team-card,
  .form,
  .service-card,
  .info-card,
  .care-card,
  .quick-item {
    padding: 22px;
  }
}
