:root {
  --bg: #f5f1ea;
  --bg-soft: #eee5d8;
  --paper: #fffdfa;
  --line: #ded1be;
  --text: #1e2522;
  --muted: #58605b;
  --accent: #5d7a6c;
  --accent-dark: #466155;
  --accent-soft: #e8efe9;
  --radius-lg: 24px;
  --radius-md: 16px;
  --shadow-soft: 0 14px 32px rgba(39, 34, 28, 0.08);
  --shadow-strong: 0 24px 54px rgba(31, 26, 20, 0.16);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Source Sans 3", "Trebuchet MS", sans-serif;
  color: var(--text);
  line-height: 1.55;
  background:
    radial-gradient(circle at 12% -6%, #ffffff 0%, rgba(255, 255, 255, 0) 42%),
    radial-gradient(circle at 88% 0%, #efe8dd 0%, rgba(239, 232, 221, 0) 38%),
    var(--bg);
}

.icon-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.container {
  width: min(1120px, 92vw);
  margin-inline: auto;
}

h1,
h2 {
  margin: 0 0 0.75rem;
  font-family: "Lora", Georgia, serif;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

h1 {
  font-size: clamp(2.2rem, 5.8vw, 4.2rem);
}

h2 {
  font-size: clamp(1.9rem, 4.5vw, 3rem);
  text-align: center;
}

h3 {
  margin: 0;
  font-size: 1.08rem;
  line-height: 1.35;
}

p {
  margin: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(220, 207, 189, 0.75);
  background: rgba(245, 241, 234, 0.88);
  backdrop-filter: blur(10px);
}

.nav-bar {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.2rem;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.72rem;
  text-decoration: none;
  color: var(--text);
  font-weight: 700;
}

.logo-image {
  display: block;
  width: auto;
  height: 32px;
  object-fit: contain;
}

.logo-text {
  letter-spacing: 0.01em;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 1.05rem;
  flex-wrap: wrap;
}

.main-nav a {
  color: #303833;
  text-decoration: none;
  font-size: 0.95rem;
  transition: color 0.2s ease;
}

.main-nav a:hover {
  color: var(--accent-dark);
}

.main-nav .nav-cta {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.44rem 0.95rem;
  border-radius: 999px;
  border: 1px solid #c8d8cd;
  background: var(--accent-soft);
  color: #355042;
  font-weight: 700;
}

.main-nav .nav-cta:hover {
  color: #263e33;
  background: #dce9df;
}

.hero {
  padding: 2.4rem 0 1.2rem;
}

.hero-stage {
  position: relative;
  width: min(1320px, 96vw);
  margin: 0 auto;
  border-radius: 30px;
  overflow: hidden;
  box-shadow: var(--shadow-strong);
}

.hero-media {
  width: 100%;
  height: clamp(440px, 56vw, 700px);
  object-fit: cover;
  object-position: center;
  display: block;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  background: linear-gradient(
    95deg,
    rgba(249, 246, 240, 0.9) 0%,
    rgba(249, 246, 240, 0.72) 34%,
    rgba(249, 246, 240, 0.3) 60%,
    rgba(249, 246, 240, 0) 76%
  );
}

.hero-overlay .container.hero-content {
  width: 100%;
  max-width: 620px;
  margin: 0 0 0 clamp(1rem, 4vw, 3.8rem);
  padding: 0;
}

.eyebrow {
  margin: 0 0 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.78rem;
  font-weight: 700;
  color: #4c6558;
}

.hero h1 {
  color: #1e2722;
  max-width: 13ch;
}

.lead {
  color: #37423c;
  font-size: 1.08rem;
}

.actions {
  margin-top: 1.4rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.btn {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.82rem 1.25rem;
  border-radius: 999px;
  border: 1px solid transparent;
  text-decoration: none;
  font-weight: 700;
  transition:
    transform 0.2s ease,
    background-color 0.2s ease,
    border-color 0.2s ease;
}

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

.btn-primary {
  color: #f7faf8;
  background: linear-gradient(130deg, #6f8d7f, #547063);
  box-shadow: 0 10px 22px rgba(76, 103, 90, 0.25);
}

.btn-primary:hover {
  background: linear-gradient(130deg, #628072, #4a6558);
}

.btn-secondary {
  color: #2e3732;
  border-color: #c8bca9;
  background: rgba(255, 255, 255, 0.82);
}

.btn-secondary:hover {
  border-color: #aa9c87;
}

.hero-highlights {
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.95rem;
  color: #3a4741;
  font-size: 0.93rem;
}

.hero-highlights li {
  position: relative;
  padding-left: 1rem;
}

.hero-highlights li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.4rem;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #6f8f7f;
}

.section {
  padding: 4.6rem 0;
}

.muted {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.42) 0%, rgba(255, 255, 255, 0) 100%),
    var(--bg-soft);
}

.section-lead {
  margin: 0 auto 1.7rem;
  max-width: 760px;
  text-align: center;
  color: #4b5650;
}

.grid {
  display: grid;
  gap: 1rem;
  align-items: stretch;
}

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

.card {
  height: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--paper);
  box-shadow: var(--shadow-soft);
  transition:
    transform 0.22s ease,
    box-shadow 0.22s ease;
}

.card:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 36px rgba(39, 34, 28, 0.11);
}

.feature-card {
  min-height: 220px;
  padding: 1.3rem 1.15rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 0.55rem;
}

.feature-card p {
  color: #4e5852;
}

.icon-shell {
  width: 46px;
  height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 13px;
  margin-bottom: 0.25rem;
  background: linear-gradient(180deg, #edf4ef 0%, #dfeae3 100%);
  border: 1px solid #cfdcd2;
  color: #436154;
  flex-shrink: 0;
}

.icon {
  width: 24px;
  height: 24px;
}

.services {
  grid-auto-rows: 1fr;
}

.services .service-card {
  min-height: 164px;
  padding: 1.2rem 1.05rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 0.5rem;
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.steps article {
  min-height: 204px;
  padding: 1.2rem 1.05rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  background: var(--paper);
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 0.6rem;
}

.steps p {
  color: #4d5751;
}

.step-no {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #2d4136;
  font-weight: 700;
  border: 1px solid #c5b394;
  background: linear-gradient(180deg, #efe3cb, #e3d2b3);
}

.care-top {
  margin-top: 0.6rem;
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr 1fr;
  align-items: start;
}

.who-panel {
  padding: 0.2rem 0;
}

.who-title {
  text-align: left;
  max-width: 11ch;
  margin-bottom: 0.5rem;
}

.audience-list {
  margin: 0;
  padding-left: 1.1rem;
  list-style: disc;
  display: grid;
  gap: 0.3rem;
}

.audience-list li {
  color: #2f3934;
  line-height: 1.3;
}

.care-photo {
  margin: 0;
}

.side-image {
  width: 100%;
  display: block;
  border-radius: 14px;
  border: 1px solid #e1d7c9;
  object-fit: cover;
  aspect-ratio: 4 / 3;
}

.offer-card {
  margin-top: 1.1rem;
  border-radius: 16px;
  border: 1px solid #ded1bf;
  background: linear-gradient(180deg, #efe8dc 0%, #ece3d5 100%);
  box-shadow: var(--shadow-soft);
  padding: 1.35rem;
  text-align: center;
}

.offer-badge {
  margin: 0 0 0.8rem;
  color: #2d3430;
  font-family: "Lora", Georgia, serif;
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 600;
}

.offer-inner {
  width: min(430px, 100%);
  margin: 0 auto;
  border-radius: 14px;
  border: 1px solid #d9cdbd;
  background: #fffdf9;
  box-shadow: 0 8px 18px rgba(35, 31, 25, 0.1);
  padding: 1rem 1rem 1.1rem;
}

.offer-label {
  margin: 0;
  color: #2e3933;
  font-weight: 700;
  font-size: 1.3rem;
}

.offer-price {
  margin: 0.15rem 0 0.2rem;
  font-family: "Lora", Georgia, serif;
  font-size: clamp(2rem, 4vw, 2.7rem);
}

.offer-text {
  margin-bottom: 0.85rem;
  color: #4f5953;
}

.offer-footer {
  margin-top: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.coordinator-title {
  margin: 0;
  font-weight: 700;
  color: #2f3a34;
}

.coordinator-text {
  margin: 0.2rem 0 0;
  color: #56615b;
  font-size: 0.9rem;
}

.coordinator-photo {
  width: 62px;
  height: 62px;
  border-radius: 50%;
  border: 1px solid #ccbda8;
  object-fit: cover;
  flex-shrink: 0;
}

.trust {
  padding-top: 4rem;
}

.trust-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.trust-grid article {
  min-height: 168px;
  padding: 1.2rem 1rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  background: var(--paper);
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 0.55rem;
}

.faq-wrap {
  max-width: 900px;
}

.faq-wrap details {
  margin-top: 0.82rem;
  border-radius: 13px;
  border: 1px solid var(--line);
  background: var(--paper);
  overflow: hidden;
}

.faq-wrap summary {
  padding: 1rem 1.15rem;
  list-style: none;
  cursor: pointer;
  font-weight: 700;
  position: relative;
}

.faq-wrap summary::-webkit-details-marker {
  display: none;
}

.faq-wrap summary::after {
  content: "+";
  position: absolute;
  right: 1.15rem;
  top: 0.83rem;
  font-size: 1.2rem;
  color: #668374;
}

.faq-wrap details[open] summary::after {
  content: "-";
}

.faq-wrap details p {
  padding: 0 1.15rem 1.05rem;
  color: #4a534e;
}

.cta {
  background: linear-gradient(180deg, #f3ecdf 0%, #f0e7d9 100%);
}

.cta-box {
  padding: 1.55rem;
  border-radius: var(--radius-lg);
  border: 1px solid #decfbc;
  background:
    radial-gradient(circle at 10% -30%, #ffffff 0%, rgba(255, 255, 255, 0) 45%),
    linear-gradient(180deg, #fcf7ef 0%, #f6efe4 100%);
  box-shadow: var(--shadow-soft);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.cta-box p {
  color: #505a54;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.75rem;
}

.cta .btn-secondary {
  color: #2f3833;
  border-color: #ccbda9;
  background: rgba(255, 255, 255, 0.72);
}

.site-footer {
  padding: 1.3rem 0 1.85rem;
  border-top: 1px solid #d8c9b7;
  background: #f6f0e7;
}

.footer-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.95rem;
}

.footer-links a {
  color: #334139;
  text-decoration: none;
}

.footer-links a:hover {
  color: #1f2924;
}

.feature-card,
.service-card,
.steps article,
.trust-grid article {
  animation: rise 0.55s ease-out both;
}

.grid article:nth-child(2),
.steps article:nth-child(2),
.trust-grid article:nth-child(2) {
  animation-delay: 0.05s;
}

.grid article:nth-child(3),
.steps article:nth-child(3),
.trust-grid article:nth-child(3) {
  animation-delay: 0.1s;
}

.grid article:nth-child(4),
.steps article:nth-child(4),
.trust-grid article:nth-child(4) {
  animation-delay: 0.15s;
}

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

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

@media (max-width: 1024px) {
  .grid-3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

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

@media (max-width: 820px) {
  .hero-overlay {
    align-items: flex-end;
    background: linear-gradient(
      180deg,
      rgba(249, 246, 240, 0.12) 10%,
      rgba(249, 246, 240, 0.78) 58%,
      rgba(249, 246, 240, 0.92) 100%
    );
  }

  .hero-overlay .container.hero-content {
    max-width: 100%;
    width: 100%;
    margin: 0;
    padding: 1.4rem 1rem 1.2rem;
  }

  .care-top {
    grid-template-columns: 1fr;
  }

  .who-title {
    max-width: none;
  }

  .offer-footer {
    flex-direction: column;
  }

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

  .cta-actions {
    justify-content: flex-start;
  }
}

@media (max-width: 680px) {
  .nav-bar {
    min-height: unset;
    padding: 0.8rem 0;
    flex-direction: column;
    align-items: flex-start;
  }

  .main-nav {
    gap: 0.8rem;
  }

  .grid-3,
  .steps,
  .trust-grid {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 3.3rem 0;
  }

  .hero-stage {
    border-radius: 20px;
  }

  .hero-media {
    height: clamp(430px, 105vw, 620px);
  }

  .hero-highlights {
    gap: 0.7rem;
    font-size: 0.9rem;
  }

  .offer-card {
    padding: 1rem 0.9rem;
  }
}
