:root {
  --bg: #faf9f6;
  --surface: #fffdf9;
  --surface-2: #f3eee4;
  --line: rgba(45, 106, 79, 0.12);
  --text: #2c2c2c;
  --muted: #5d655f;
  --primary: #39855b;
  --primary-deep: #2c6947;
  --accent: #ff7a59;
  --accent-deep: #d85b3d;
  --shadow: 0 20px 44px rgba(44, 44, 44, 0.08);
  --shadow-strong: 0 24px 50px rgba(11, 25, 19, 0.18);
  --radius-lg: 28px;
  --radius-md: 20px;
  --radius-sm: 14px;
  --container: min(1120px, calc(100% - 32px));
  --header-height: 88px;
  --floating-space: 134px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 16px;
  line-height: 1.8;
  color: var(--text);
  overflow-x: hidden;
  background: radial-gradient(circle at top left, rgba(239, 170, 45, 0.16), transparent 24%), linear-gradient(180deg, #f7f2e7 0%, var(--bg) 24%, #fdfcf8 100%);
}

img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: #d6e5dc;
}

.media-battery {
  object-position: center 58%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.material-symbols-outlined {
  font-variation-settings:
    "FILL" 0,
    "wght" 500,
    "GRAD" 0,
    "opsz" 24;
  line-height: 1;
}

.container {
  width: var(--container);
  margin: 0 auto;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  height: var(--header-height);
  transition:
    background-color 0.3s ease,
    box-shadow 0.3s ease,
    backdrop-filter 0.3s ease;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
}

.site-header.is-scrolled {
  background: #fff;
  box-shadow: 0 14px 34px rgba(44, 44, 44, 0.12);
  backdrop-filter: none;
}

.site-header:not(.is-scrolled) .site-nav a {
  color: #fff;
}

.site-header:not(.is-scrolled) .nav-toggle {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.22);
}

.site-header:not(.is-scrolled) .nav-toggle span {
  background: #fff;
}

.site-header__inner {
  position: relative;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.brand {
  display: inline-flex;
  align-items: center;
  min-width: 0;
}

.brand__image {
  display: block;
  width: min(220px, 42vw);
  height: auto;
  object-fit: contain;
  background: transparent;
}

.cta-group {
  display: grid;
  gap: 8px;
  justify-items: start;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-left: auto;
}

.site-nav a {
  color: var(--primary);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.02em;
  transition: opacity 0.2s ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  opacity: 0.75;
}

.nav-toggle {
  display: none;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 1px solid rgba(57, 133, 91, 0.22);
  border-radius: 14px;
  background: #f7f1e8;
  backdrop-filter: blur(8px);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  border-radius: 999px;
  background: var(--primary);
  transition:
    transform 0.25s ease,
    opacity 0.25s ease;
}

.nav-toggle.is-open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle.is-open span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.is-open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 56px;
  padding: 14px 24px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-deep) 100%);
  color: #f7fafc;
  font-size: 16px;
  font-weight: 700;
  text-align: center;
  letter-spacing: 0.01em;
  box-shadow: 0 14px 28px rgba(57, 133, 91, 0.28);
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    background-color 0.25s ease,
    filter 0.25s ease;
}

.cta-button__icon {
  display: none;
  flex: 0 0 auto;
}

.cta-button__icon svg {
  width: 22px;
  height: 22px;
}

.cta-button__label {
  display: inline-block;
}

.cta-button:hover,
.cta-button:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 18px 34px rgba(57, 133, 91, 0.34);
  filter: saturate(1.05);
}

.cta-button--small {
  min-height: 44px;
  padding: 10px 18px;
  font-size: 14px;
}

.cta-button--sub {
  border-color: rgba(57, 133, 91, 0.18);
  background: linear-gradient(135deg, rgba(57, 133, 91, 0.16) 0%, rgba(57, 133, 91, 0.28) 100%);
  color: var(--primary-deep);
}

.hero {
  position: relative;
  min-height: 100svh;
  color: var(--text);
}

.hero-swiper,
.hero-slide,
.hero-slide__media,
.hero-slide__media picture,
.hero-slide__media img {
  width: 100%;
  height: 100svh;
}

.hero-slide {
  position: relative;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.96) 0%, rgba(250, 249, 246, 0.9) 100%);
}

.hero-slide__media {
  position: absolute;
  inset: 0;
}

.hero-slide__media img {
  object-position: left top;
  transform: scale(1.04);
  transform-origin: center center;
  will-change: transform;
}

.hero-slide.swiper-slide-active .hero-slide__media img {
  animation: heroSlideDrift 5s linear forwards;
}

@keyframes heroSlideDrift {
  from {
    transform: translate3d(0, 0, 0) scale(1.04);
  }

  to {
    transform: translate3d(-18px, 0, 0) scale(1.08);
  }
}

.hero-slide__content {
  position: relative;
  z-index: 2;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding-top: calc(var(--header-height) + 16px);
  padding-bottom: 90px;
}

.hero-static {
  position: absolute;
  inset: 0;
  z-index: 4;
  display: flex;
  align-items: stretch;
  justify-content: flex-start;
  pointer-events: none;
}

.hero-copy {
  width: min(820px, 48vw);
  min-width: 560px;
  height: 100%;
  position: relative;
  display: flex;
  align-items: center;
  background: rgba(40 48 73 / 25%);
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.28),
    0 24px 50px rgba(16, 40, 28, 0.22);
  backdrop-filter: blur(18px) saturate(135%);
  -webkit-backdrop-filter: blur(18px) saturate(135%);
  clip-path: polygon(0 0, 82% 0, 100% 100%, 0 100%);
  pointer-events: auto;
}

.hero-copy::before {
  content: "";
  position: absolute;
  inset: 18px 80px 18px 18px;
  border-left: 1px solid rgba(255, 255, 255, 0.34);
  border-right: 1px solid rgba(255, 255, 255, 0.26);
  border-bottom: 1px solid rgba(255, 255, 255, 0.24);
  clip-path: polygon(0 0, 80% 0, 100% 100%, 0 100%);
  pointer-events: none;
}

.hero-copy__inner {
  width: min(520px, calc(100% - 110px));
  margin-left: clamp(24px, 5vw, 72px);
  padding-top: calc(var(--header-height) + 12px);
  padding-bottom: 90px;
  text-align: left;
}

.hero-copy__eyebrow,
.section-heading__eyebrow {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.hero-copy h1,
.hero-copy h2,
.section-heading h2 {
  margin: 18px 0 0;
  font-family: "Noto Serif JP", serif;
  line-height: 1.4;
  text-wrap: balance;
}

.hero-copy h1,
.hero-copy h2 {
  font-size: clamp(28px, 3.8vw, 40px);
  color: #f7fafc;
  text-shadow: 0 2px 8px rgba(10, 24, 17, 0.22);
}

.hero-copy p {
  max-width: 440px;
  margin: 16px 0 24px;
  font-size: clamp(15px, 1.4vw, 17px);
  color: rgba(247, 250, 252, 0.82);
  text-shadow: 0 1px 6px rgba(10, 24, 17, 0.16);
}

.hero-copy__eyebrow {
  background: rgba(255, 255, 255, 0.08);
  color: #f7fafc;
  text-shadow: 0 1px 4px rgba(10, 24, 17, 0.16);
}

.hero-progress {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 5;
  height: 4px;
  background: rgba(57, 133, 91, 0.22);
}

.hero-progress__fill {
  display: block;
  width: 100%;
  height: 100%;
  background: var(--primary-deep);
  transform-origin: left center;
  transform: scaleX(0);
}

.hero-progress__fill.is-animating {
  animation: heroProgress 5s linear forwards;
}

@keyframes heroProgress {
  from {
    transform: scaleX(0);
  }
  to {
    transform: scaleX(1);
  }
}

.hero-scroll {
  position: absolute;
  left: 50%;
  bottom: 22px;
  z-index: 6;
  transform: translateX(-50%);
}

.hero-scroll span {
  display: block;
  width: 18px;
  height: 18px;
  border-right: 2px solid #f7f3ea;
  border-bottom: 2px solid #f7f3ea;
  transform: rotate(45deg);
  animation: bounce 1.8s infinite;
  filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.28));
}

@keyframes bounce {
  0%,
  100% {
    transform: rotate(45deg) translate(0, 0);
    opacity: 0.8;
  }
  50% {
    transform: rotate(45deg) translate(6px, 6px);
    opacity: 1;
  }
}

.section {
  padding: 88px 0;
}

.section--cream {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.48) 0%, rgba(243, 238, 228, 0.7) 100%);
}

.section-heading {
  max-width: 760px;
  margin-inline: auto;
  margin-bottom: 38px;
  text-align: center;
}

.section-heading__eyebrow {
  background: rgba(45, 106, 79, 0.1);
  color: var(--primary-deep);
}

.section-heading h2 {
  font-size: clamp(30px, 4vw, 42px);
}

.section-heading p {
  margin: 16px auto 0;
  color: var(--muted);
}

.section-heading--light h2,
.section-heading--light p,
.section-heading--light .section-heading__eyebrow {
  color: #fff;
}

.section-heading--light .section-heading__eyebrow {
  background: rgba(255, 255, 255, 0.14);
}

.worry-list,
.reason-grid,
.service-grid,
.price-grid,
.case-grid,
.flow-grid,
.voice-grid,
.company-layout {
  display: grid;
  gap: 22px;
}

.worry-list {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.worry-card,
.reason-card,
.service-card,
.price-card,
.case-card,
.flow-card,
.voice-card,
.company-card,
.office-card,
.faq-item {
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  border-radius: var(--radius-lg);
}

.worry-card {
  overflow: hidden;
}

.worry-card__media,
.worry-card__media picture,
.worry-card__media img {
  width: 100%;
  height: 220px;
}

.worry-card__body {
  display: grid;
  gap: 14px;
  padding: 22px;
}

.worry-card__icon {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(45, 106, 79, 0.14), rgba(239, 170, 45, 0.18));
  color: var(--primary);
}

.worry-card h3 {
  margin: 0;
  font-size: 22px;
  line-height: 1.5;
}

.worry-card p {
  margin: 0;
  color: var(--muted);
}

.reason-grid,
.service-grid,
.voice-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.price-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.reason-card,
.service-card,
.office-card {
  overflow: hidden;
}

.reason-card {
  position: relative;
  min-height: 320px;
}

.reason-card__media,
.service-card__media,
.office-card picture {
  display: block;
  width: 100%;
}

.reason-card__media,
.reason-card__overlay {
  position: absolute;
  inset: 0;
}

.reason-card__overlay {
  background: linear-gradient(180deg, rgba(16, 35, 26, 0.15), rgba(16, 35, 26, 0.65));
}

.reason-card__body {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 14px;
  justify-content: flex-end;
  min-height: 320px;
  padding: 28px;
  color: #fff;
}

.reason-card__number {
  font-family: "Noto Serif JP", serif;
  font-size: 34px;
  line-height: 1;
  color: rgba(255, 255, 255, 0.82);
}

.reason-card--staff {
  background: linear-gradient(180deg, rgba(45, 106, 79, 0.08), rgba(239, 170, 45, 0.12));
}

.reason-card--staff .reason-card__body {
  color: var(--text);
  justify-content: center;
}

.reason-card__staff {
  width: 110px;
  height: 110px;
  overflow: hidden;
  border-radius: 50%;
  border: 4px solid rgba(255, 255, 255, 0.85);
  box-shadow: var(--shadow);
}

.service-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.services-swiper {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  padding-inline: 24px;
  box-sizing: border-box;
  overflow: hidden;
}

.services-swiper .swiper-wrapper {
  transition-timing-function: linear;
  align-items: stretch;
}

.services-swiper__slide {
  width: clamp(240px, 28vw, 360px);
  height: auto;
}

.services-swiper__slide .service-card {
  height: 100%;
}

.service-card__media,
.service-card__media picture,
.service-card__media img {
  height: 220px;
}

.service-card__body,
.office-card__body {
  padding: 24px;
}

.service-card__body h3,
.price-card h3,
.flow-card h3,
.voice-card p:last-child,
.company-card h3,
.office-card__body h3 {
  margin: 0;
}

.service-card__body p {
  margin: 14px 0;
  color: var(--muted);
}

.service-card dl,
.company-card dl {
  display: grid;
  gap: 8px;
  margin: 0;
}

.service-card dt,
.company-card dt {
  font-weight: 700;
}

.service-card dd,
.company-card dd {
  margin: 0;
  color: var(--muted);
}

.price-card {
  padding: 28px;
}

.price-card__value {
  margin: 10px 0 8px;
  font-family: "Noto Serif JP", serif;
  font-size: 34px;
  color: var(--primary);
  line-height: 1.3;
}

.price-note {
  margin-top: 18px;
  color: var(--muted);
  font-size: 14px;
}

.estimate-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  max-width: 980px;
  margin: 0 auto;
}

.estimate-card {
  display: grid;
  grid-template-columns: 1fr;
  overflow: hidden;
}

.estimate-card__media,
.estimate-card__media picture {
  width: 100%;
  height: 260px;
}

.estimate-card__media img {
  width: 100%;
  height: 100%;
}

.estimate-card__body {
  display: grid;
  gap: 16px;
  padding: 28px;
}

.estimate-card__tag {
  display: inline-flex;
  width: fit-content;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(45, 106, 79, 0.08);
  color: var(--primary);
  font-size: 13px;
  font-weight: 700;
}

.estimate-card__body h3 {
  margin: 0;
}

.estimate-card__body p {
  margin: 0;
  color: var(--muted);
}

.estimate-card__body dl {
  display: grid;
  gap: 8px;
  margin: 0;
}

.estimate-card__body dt {
  font-weight: 700;
}

.estimate-card__body dd {
  margin: 0;
  color: var(--muted);
}

.estimate-card__body .cta-button {
  justify-self: start;
  margin-top: 4px;
}

.case-grid,
.flow-grid,
.company-layout {
  grid-template-columns: 1fr;
}

.case-card {
  padding: 26px;
}

.case-card__header span {
  display: inline-flex;
  margin-bottom: 10px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(45, 106, 79, 0.08);
  color: var(--primary);
  font-size: 13px;
  font-weight: 700;
}

.case-card__images {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 18px;
}

.case-card__images span {
  display: inline-block;
  margin-bottom: 8px;
  font-size: 12px;
  font-weight: 700;
  color: var(--muted);
}

.case-card__images picture,
.case-card__images img {
  height: 300px;
  border-radius: var(--radius-md);
}

.case-card__meta {
  margin: 18px 0 0;
  padding-left: 18px;
  color: var(--muted);
}

.flow-timeline {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
}

.flow-timeline::before {
  content: "";
  position: absolute;
  left: 29px;
  top: 10px;
  bottom: 10px;
  width: 4px;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(57, 133, 91, 0.18), rgba(57, 133, 91, 0.9));
}

.flow-step {
  position: relative;
  padding-left: 92px;
  margin-bottom: 28px;
}

.flow-step:last-child {
  margin-bottom: 0;
}

.flow-step__dot {
  position: absolute;
  top: 0;
  left: 0;
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(180deg, var(--primary) 0%, var(--primary-deep) 100%);
  color: #fff;
  box-shadow: 0 12px 28px rgba(57, 133, 91, 0.28);
}

.flow-step__content {
  padding: 24px 26px;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(57, 133, 91, 0.12);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow);
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

.flow-step__content:hover {
  transform: translateX(6px);
  box-shadow: var(--shadow-strong);
}

.flow-step__label {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(57, 133, 91, 0.12);
  color: var(--primary-deep);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.flow-step h3 {
  margin: 14px 0 10px;
  font-size: clamp(20px, 2vw, 24px);
}

.flow-step p {
  margin: 0;
  color: var(--muted);
}

.voice-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.voice-card {
  padding: 28px;
}

.voice-card__icon {
  width: 60px;
  height: 60px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  border-radius: 50%;
  background: linear-gradient(180deg, var(--primary) 0%, var(--primary-deep) 100%);
  color: #fff;
  font-family: "Noto Serif JP", serif;
  font-size: 24px;
}

.voice-card blockquote {
  margin: 0 0 14px;
  font-size: 18px;
}

.faq-list {
  display: grid;
  gap: 14px;
}

.faq-item {
  overflow: hidden;
}

.faq-item__button {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 24px;
  border: 0;
  background: transparent;
  font: inherit;
  font-weight: 700;
  color: var(--text);
  text-align: left;
  cursor: pointer;
}

.faq-item__button span:first-child {
  flex: 1 1 auto;
  min-width: 0;
}

.faq-item__button span:last-child {
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(45, 106, 79, 0.08);
  color: var(--primary);
  font-size: 22px;
  line-height: 1;
  transition: transform 0.25s ease;
}

.faq-item.is-open .faq-item__button span:last-child {
  transform: rotate(45deg);
}

.faq-item__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}

.faq-item__answer p {
  margin: 0;
  padding: 0 24px 22px;
  color: var(--muted);
}

.cta-panel {
  position: relative;
  overflow: hidden;
  min-height: 360px;
  color: #fff;
}

.cta-panel__media,
.cta-panel__overlay {
  position: absolute;
  inset: 0;
}

.cta-panel__overlay {
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.26), rgba(0, 0, 0, 0.62));
}

.cta-panel__content {
  position: relative;
  z-index: 2;
  min-height: 360px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: 54px;
  padding-bottom: 54px;
  text-align: center;
}

.company-layout {
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  align-items: start;
}

.company-info {
  display: grid;
  gap: 18px;
}

.company-card {
  padding: 24px;
}

.office-card picture,
.office-card img {
  height: 300px;
}

.site-footer {
  padding: 70px 0 28px;
  background: linear-gradient(180deg, #ffffff 0%, #f4f8fc 100%);
  color: #425466;
  border-top: 1px solid rgba(57, 133, 91, 0.12);
}

.site-footer__inner {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.9fr;
  gap: 28px;
  align-items: start;
}

.site-footer__logo img {
  display: block;
  width: min(220px, 100%);
  height: auto;
  object-fit: contain;
  background: transparent;
}

.site-footer__brand p,
.site-footer__contact p {
  margin: 0 0 14px;
  color: #5c6f82;
}

.site-footer__brand p:last-child,
.site-footer__contact p:last-child {
  margin-bottom: 0;
}

.site-footer__nav h3,
.site-footer__contact h3 {
  margin: 0 0 14px;
  color: #1f2d3d;
  font-size: 16px;
}

.site-footer__links {
  display: grid;
  gap: 10px;
}

.site-footer__links a {
  color: #4f6477;
}

.site-footer__links a:hover,
.site-footer__links a:focus-visible {
  color: var(--primary);
}

.site-footer__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 10px 18px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-deep) 100%);
  color: #fff;
  font-weight: 700;
}

.site-footer__bottom {
  margin-top: 32px;
  padding-top: 18px;
  border-top: 1px solid rgba(57, 133, 91, 0.12);
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: #5c6f82;
  font-size: 13px;
}

.floating-cta {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 12px;
  z-index: 60;
  padding-bottom: env(safe-area-inset-bottom);
}

.floating-cta__inner {
  display: flex;
  justify-content: flex-end;
  width: min(300px, calc(100% - 24px));
  margin: 0 16px 0 auto;
  background: rgba(255, 253, 249, 0.94);
  border: 1px solid var(--line);
  border-radius: 26px;
  box-shadow: var(--shadow-strong);
  backdrop-filter: blur(14px);
  padding: 10px;
}

.cta-group--floating {
  width: min(380px, 100%);
  justify-items: stretch;
}

.floating-cta__bubble {
  display: none;
}

.cta-group--floating .cta-button {
  width: 100%;
  min-height: 48px;
  padding: 12px 18px;
  font-size: 14px;
}

.reveal-target {
  opacity: 1;
  transform: none;
  filter: none;
}

.reveal-target.is-visible {
  opacity: 1;
  transform: none;
  filter: none;
}

.flow-reveal {
  opacity: 0;
  transform: translate3d(0, 32px, 0);
  filter: blur(6px);
  transition:
    opacity 0.75s ease,
    transform 0.95s cubic-bezier(0.22, 1, 0.36, 1),
    filter 0.95s ease;
}

.flow-reveal.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
  filter: none;
}

@media (min-width: 768px) {
  .hero-slide__media {
    left: clamp(300px, 34vw, 620px);
  }
}

@media (min-width: 1024px) {
  .hero-slide__media img {
    object-position: right 100%;
  }
}

@media (max-width: 1024px) {
  :root {
    --floating-space: 146px;
  }

  .hero-copy {
    width: min(700px, 56vw);
    min-width: 0;
  }

  .hero-copy__inner {
    width: min(420px, calc(100% - 84px));
    margin-left: 28px;
  }

  .service-grid,
  .voice-grid,
  .flow-grid,
  .company-layout {
    grid-template-columns: 1fr;
  }

  .worry-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .services-swiper__slide {
    width: clamp(220px, 38vw, 320px);
  }

  .site-nav {
    gap: 16px;
  }

  .site-footer__inner {
    grid-template-columns: 1fr;
  }

  .estimate-card {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 821px) {
  body {
    font-size: 15px;
  }

  .site-header {
    height: auto;
    min-height: var(--header-height);
    background: #fff;
    box-shadow: 0 14px 34px rgba(44, 44, 44, 0.12);
    backdrop-filter: none;
  }

  .site-header__inner {
    padding: 12px 0;
    min-height: var(--header-height);
  }

  .site-header:not(.is-scrolled) .site-nav a {
    color: var(--primary);
  }

  .site-header:not(.is-scrolled) .nav-toggle {
    background: rgba(57, 133, 91, 0.08);
    border-color: rgba(57, 133, 91, 0.22);
  }

  .site-header:not(.is-scrolled) .nav-toggle span {
    background: var(--primary);
  }

  .nav-toggle {
    display: inline-flex;
    margin-left: auto;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    left: 0;
    display: grid;
    gap: 0;
    width: 100%;
    max-width: none;
    margin-left: 0;
    padding: 10px;
    background: #fff;
    border: 1px solid rgba(57, 133, 91, 0.16);
    border-radius: 20px;
    box-shadow: var(--shadow-strong);
    backdrop-filter: none;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-8px);
    transition:
      opacity 0.25s ease,
      transform 0.25s ease,
      visibility 0.25s ease;
  }

  .site-nav.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
  }

  .site-nav a {
    padding: 14px 12px;
    border-radius: 12px;
  }

  .site-nav a:hover,
  .site-nav a:focus-visible {
    opacity: 1;
    background: rgba(57, 133, 91, 0.1);
  }
}

@media (max-width: 767px) {
  .reason-grid,
  .price-grid,
  .estimate-grid {
    grid-template-columns: 1fr;
  }

  .floating-cta__inner {
    width: auto;
    margin-right: 10px;
    padding: 0;
    background: transparent;
    border: 0;
    box-shadow: none;
    backdrop-filter: none;
  }

  .cta-group--floating {
    width: auto;
    justify-items: end;
  }

  .floating-cta__bubble {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    margin: 0 4px 8px 0;
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.96);
    color: var(--primary-deep);
    font-size: 12px;
    font-weight: 700;
    line-height: 1.4;
    box-shadow: 0 10px 20px rgba(16, 40, 28, 0.18);
    position: relative;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition:
      opacity 0.3s ease,
      transform 0.3s ease,
      visibility 0.3s ease;
  }

  .floating-cta__bubble::after {
    content: "";
    position: absolute;
    right: 18px;
    bottom: -7px;
    width: 12px;
    height: 12px;
    background: rgba(255, 255, 255, 0.96);
    transform: rotate(45deg);
    border-radius: 2px;
  }

  .floating-cta__bubble.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .cta-group--floating .cta-button {
    width: 60px;
    min-width: 60px;
    min-height: 60px;
    height: 60px;
    padding: 0;
    border-radius: 50%;
    font-size: 0;
    box-shadow: 0 14px 28px rgba(57, 133, 91, 0.32);
  }

  .cta-group--floating .cta-button .cta-button__icon {
    display: inline-grid;
    place-items: center;
    font-size: 28px;
  }

  .cta-group--floating .cta-button .cta-button__label {
    display: none;
  }

  .hero-copy h1,
  .hero-copy h2 {
    font-size: 28px;
  }

  .hero-copy {
    width: min(100%, 430px);
    min-width: 0;
    height: auto;
    margin: calc(var(--header-height) + 18px) 12px 90px;
    background: transparent;
    border-color: transparent;
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    clip-path: none;
    border-radius: 20px;
  }

  .hero-copy::before {
    display: none;
  }

  .hero-copy__inner {
    width: auto;
    margin-left: 0;
    padding: 18px 16px;
  }

  .flow-timeline::before {
    left: 22px;
  }

  .flow-step {
    padding-left: 72px;
    margin-bottom: 20px;
  }

  .flow-step__dot {
    width: 46px;
    height: 46px;
  }

  .flow-step__content {
    padding: 20px 18px;
  }

  .hero-copy p,
  .section-heading p,
  .cta-panel__content p {
    text-align: left;
  }

  .section {
    padding: 68px 0;
  }

  .worry-list,
  .case-card__images {
    grid-template-columns: 1fr;
  }

  .service-card__media,
  .service-card__media picture,
  .service-card__media img {
    height: 240px;
  }

  .services-swiper__slide {
    width: 82vw;
    max-width: 320px;
  }

  .services-swiper {
    padding-inline: 16px;
  }

  .office-card picture,
  .office-card img {
    height: 240px;
  }

  .cta-button {
    width: 100%;
  }

  .faq-item__button {
    padding: 18px;
  }

  .faq-item__answer p,
  .service-card__body,
  .office-card__body,
  .company-card {
    padding-left: 18px;
    padding-right: 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  .reveal-target {
    opacity: 1;
    transform: none;
  }
}
