:root {
  --bg: #fbfaf7;
  --surface: #ffffff;
  --surface-blue: #eef7fc;
  --text: #15181c;
  --muted: #536170;
  --muted-soft: #6f7b86;
  --line: #eadfc9;
  --blue: #1d75b8;
  --blue-deep: #105e9b;
  --champagne: #e8c994;
  --champagne-soft: #fbf2df;
  --champagne-deep: #a9793d;
  --shadow: 0 18px 42px rgba(18, 20, 23, 0.08);
  --container: 1120px;
  --radius: 8px;
  --h1-size: clamp(2.65rem, 4.15vw, 3.28rem);
  --h2-size: clamp(1.82rem, 2.6vw, 2.12rem);
  --h3-size: 1.08rem;
  --body-size: 1rem;
  --small-size: 0.9rem;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Nunito Sans", sans-serif;
  font-size: var(--body-size);
  line-height: 1.55;
  color: var(--text);
  background: linear-gradient(180deg, #ffffff 0%, var(--bg) 52%, #fbf2df 100%);
  text-rendering: optimizeLegibility;
}

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

button {
  font: inherit;
}

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

.site-header,
.section,
.trust-strip,
.footer {
  padding-left: 24px;
  padding-right: 24px;
}

.topbar,
.section,
.trust-inner,
.footer-inner {
  width: min(100%, var(--container));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background:
    linear-gradient(100deg, rgba(252, 248, 239, 0.97) 0%, rgba(231, 209, 169, 0.88) 48%, rgba(181, 137, 70, 0.46) 100%);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.topbar {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.brand-mark {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.brand-text {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.brand-text strong {
  color: var(--text);
  font-size: 0.98rem;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.brand-text small {
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.35;
}

.menu {
  display: flex;
  align-items: center;
  gap: 20px;
}

.menu a {
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: 0.01em;
}

.menu a:hover,
.menu a:focus-visible {
  color: var(--blue-deep);
}

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  border: 1px solid rgba(185, 145, 82, 0.28);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--text);
  box-shadow: 0 10px 22px rgba(18, 20, 23, 0.06);
  cursor: pointer;
  padding: 0;
}

.menu-toggle span {
  width: 21px;
  height: 2px;
  border-radius: 999px;
  background: var(--text);
  transition: opacity 180ms ease, transform 180ms ease;
}

.menu-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.hero {
  position: relative;
  min-height: auto;
  overflow: hidden;
  background: #fbf2df;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 16px 24px;
  border: 1px solid rgba(232, 201, 148, 0.5);
  border-radius: 28px;
  background: #e5d4bb;
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  width: min(100% - 48px, var(--container));
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.92fr);
  gap: 52px;
  align-items: center;
  margin: 0 auto;
  padding: 28px 0 56px;
}

.hero-visual {
  position: relative;
  margin: 0;
  border: 1px solid rgba(232, 201, 148, 0.55);
  border-radius: 28px;
  background: #fff;
  box-shadow: 0 24px 70px rgba(18, 20, 23, 0.12);
  overflow: hidden;
}

.hero-visual::after {
  content: none;
}

.hero-image {
  width: 100%;
  height: clamp(340px, 42vw, 520px);
  object-fit: cover;
  object-position: 46% 54%;
}

.hero-content {
  max-width: 610px;
  justify-self: start;
}

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

.hero h1,
.section-heading h2,
.benefit-copy h2,
.about-copy h2 {
  margin: 0;
  font-family: "Nunito Sans", sans-serif;
  font-weight: 800;
  line-height: 1.13;
  letter-spacing: -0.028em;
}

.hero h1 {
  max-width: 620px;
  color: var(--text);
  font-size: var(--h1-size);
}

.lead {
  max-width: 680px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 1.01rem;
  line-height: 1.68;
}

.hero-places {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.hero-places li {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border: 1px solid rgba(185, 145, 82, 0.2);
  border-radius: 999px;
  background: rgba(255, 250, 240, 0.74);
  padding: 7px 11px 7px 8px;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 800;
  line-height: 1;
  box-shadow: 0 8px 20px rgba(18, 20, 23, 0.06);
}

.hero-place-icon {
  width: 25px;
  height: 25px;
  display: inline-grid;
  place-items: center;
  border-radius: 50%;
  background: #fff;
  color: var(--blue-deep);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.8) inset;
}

.hero-place-icon svg {
  width: 15px;
  height: 15px;
  display: block;
  fill: currentColor;
}

.hero-meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 220px));
  gap: 14px;
  margin: 26px 0 0;
}

.hero-meta div {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(185, 145, 82, 0.22);
  border-left: 3px solid var(--champagne);
  border-radius: 12px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.92), rgba(251, 242, 223, 0.82));
  padding: 16px 18px;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.86) inset,
    0 14px 26px rgba(18, 20, 23, 0.08);
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.hero-meta div::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: linear-gradient(90deg, var(--blue), var(--champagne));
}

.hero-meta div:hover {
  border-color: rgba(31, 121, 189, 0.22);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.86) inset,
    0 18px 34px rgba(18, 20, 23, 0.12);
  transform: translateY(-3px);
}

.hero-meta dt {
  position: relative;
  z-index: 1;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.hero-meta dd {
  position: relative;
  z-index: 1;
  margin: 4px 0 0;
  color: var(--text);
  font-size: 0.96rem;
  font-weight: 800;
}

.hero-meta dd a,
.footer-contact a {
  transition: color 180ms ease, opacity 180ms ease;
}

.hero-meta dd a:hover,
.hero-meta dd a:focus-visible,
.footer-contact a:hover,
.footer-contact a:focus-visible {
  color: var(--blue-deep);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.button {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: var(--radius);
  padding: 0 20px;
  font-size: 0.94rem;
  font-weight: 800;
  letter-spacing: 0.005em;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
}

.button-primary {
  color: #fff;
  background: var(--blue-deep);
  box-shadow: 0 12px 24px rgba(23, 99, 148, 0.2);
}

.section-cta {
  display: flex;
  justify-content: center;
  margin-top: 28px;
}

.section-cta-compact {
  margin-top: 0;
}

.button-pulse {
  animation: buttonPulse 2.4s ease-in-out infinite;
}

@keyframes buttonPulse {
  0%,
  100% {
    box-shadow: 0 12px 24px rgba(23, 99, 148, 0.2), 0 0 0 0 rgba(16, 94, 155, 0.24);
  }

  50% {
    box-shadow: 0 16px 30px rgba(23, 99, 148, 0.26), 0 0 0 10px rgba(16, 94, 155, 0);
  }
}

.button-secondary {
  color: var(--blue-deep);
  background: rgba(255, 255, 255, 0.92);
  border-color: var(--line);
}

.trust-strip {
  background: var(--champagne-soft);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

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

.trust-inner span {
  padding: 18px 14px;
  text-align: center;
  color: var(--muted);
  font-size: var(--small-size);
  font-weight: 800;
}

.section {
  position: relative;
  padding-top: 72px;
  padding-bottom: 72px;
  scroll-margin-top: 96px;
}

.section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  z-index: -1;
  width: 100vw;
  height: 100%;
  transform: translateX(-50%);
}

.services::before {
  background: #eef8fc;
  border-top: 1px solid rgba(31, 121, 189, 0.1);
  border-bottom: 1px solid rgba(31, 121, 189, 0.1);
}

.services {
  perspective: 1200px;
  padding-top: 44px;
  padding-bottom: 38px;
}

.important-info {
  padding-top: 46px;
  padding-bottom: 70px;
}

.important-info::before {
  background:
    radial-gradient(circle at 12% 20%, rgba(232, 201, 148, 0.2), transparent 32%),
    linear-gradient(90deg, rgba(255, 251, 242, 0.96), rgba(248, 241, 226, 0.86));
  border-top: 1px solid rgba(234, 223, 201, 0.9);
}

.important-card {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(232, 201, 148, 0.75);
  border-radius: 30px;
  padding: 34px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(251, 242, 223, 0.9));
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.9) inset,
    0 26px 70px rgba(18, 20, 23, 0.1);
}

.important-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 6px;
  background: linear-gradient(90deg, var(--blue), var(--champagne), var(--blue-deep));
}

.important-card::after {
  content: "";
  position: absolute;
  right: -86px;
  bottom: -96px;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: rgba(31, 121, 189, 0.07);
  pointer-events: none;
}

.important-card-copy {
  position: relative;
  z-index: 1;
  max-width: 780px;
}

.important-card h2 {
  margin: 0;
  color: var(--text);
  font-size: var(--h2-size);
  line-height: 1.14;
  letter-spacing: -0.028em;
}

.important-card-copy p,
.important-grid p {
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.65;
}

.important-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin: 26px 0 24px;
}

.important-grid article {
  border: 1px solid rgba(234, 223, 201, 0.95);
  border-left: 5px solid var(--blue);
  border-radius: 20px;
  padding: 20px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 14px 34px rgba(18, 20, 23, 0.06);
}

.important-grid span {
  color: var(--champagne-deep);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.09em;
}

.important-grid h3 {
  margin: 8px 0 8px;
  color: var(--text);
  font-size: 1.04rem;
  line-height: 1.25;
}

.important-grid p {
  margin: 0;
}

.important-card .button {
  position: relative;
  z-index: 1;
}

.important-card .section-cta {
  position: relative;
  z-index: 1;
  width: 100%;
  justify-content: center;
}

@media (max-width: 900px) {
  .important-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  .important-card {
    border-radius: 24px;
    padding: 28px 20px;
  }

  .important-grid article {
    padding: 18px;
  }
}

.section-champagne::before {
  background:
    linear-gradient(90deg, rgba(251, 242, 223, 0.92), rgba(255, 255, 255, 0.72)),
    var(--champagne-soft);
}

.about.section-champagne::before {
  background: #fbf2df;
}

.section-light::before {
  background: linear-gradient(180deg, #ffffff 0%, #f8fbfd 100%);
  border-top: 1px solid rgba(234, 223, 201, 0.85);
  border-bottom: 1px solid rgba(234, 223, 201, 0.85);
}

.section-heading {
  max-width: 700px;
  margin-bottom: 28px;
  padding-top: 18px;
  border-top: 1px solid rgba(185, 145, 82, 0.55);
}

.section-heading h2,
.benefit-copy h2,
.about-copy h2 {
  color: var(--text);
  font-size: var(--h2-size);
}

.section-heading p,
.intro-panel p,
.service-card p,
.problem-card p,
.benefit-copy p,
.benefit-list p,
.check-list,
.process-grid p,
.split-layout p,
.about-copy p,
.about-note li,
.goal-card p,
.contact-item p,
.footer p {
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.68;
}

.scroll-highlight {
  color: #687683;
}

.about-copy h2.scroll-highlight {
  color: #4c5c69;
}

.about-copy h2,
.about-copy p {
  color: var(--text);
}

.highlight-word {
  color: #687683;
  transition: color 80ms linear;
}

.about-copy h2 .highlight-word {
  color: #4c5c69;
}

.service-grid,
.problem-grid,
.process-grid,
.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.services .service-grid {
  border: 1px solid rgba(31, 121, 189, 0.14);
  border-radius: 28px;
  background: #dff1f8;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.72);
  padding: 18px;
}

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

.intro-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.48fr);
  gap: 36px;
  align-items: end;
}

.intro-panel,
.notice,
.goal-card {
  border: 1px solid rgba(234, 223, 201, 0.95);
  border-left: 4px solid var(--champagne);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
  padding: 24px;
}

.intro-panel p,
.goal-card p {
  margin-top: 0;
}

.service-card,
.problem-card,
.process-grid article,
.benefit-list article,
.contact-item {
  background: var(--surface);
  border: 1px solid rgba(234, 223, 201, 0.95);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
}

.service-card {
  position: relative;
  overflow: hidden;
  --tilt-x: 0deg;
  --tilt-y: 0deg;
  --lift: 0px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px 14px;
  align-items: start;
  border: 1px solid rgba(31, 121, 189, 0.14);
  border-top: 0;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(238, 247, 252, 0.92));
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.9) inset,
    0 18px 35px rgba(18, 20, 23, 0.08),
    0 34px 80px rgba(31, 121, 189, 0.08);
  transform: perspective(900px) rotateX(var(--tilt-x)) rotateY(var(--tilt-y)) translateY(var(--lift));
  transform-style: preserve-3d;
  transition: transform 260ms ease, box-shadow 260ms ease, border-color 260ms ease;
  will-change: transform;
  padding: 18px;
}

.service-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 5px;
  background: linear-gradient(90deg, var(--blue), var(--champagne));
}

.service-card::after {
  content: "";
  position: absolute;
  top: -46px;
  right: -46px;
  width: 118px;
  height: 118px;
  border-radius: 50%;
  background: rgba(232, 201, 148, 0.2);
  transition: transform 260ms ease, opacity 260ms ease;
}

.service-card:hover,
.service-card:focus-within {
  --lift: -8px;
  border-color: rgba(31, 121, 189, 0.3);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.9) inset,
    0 24px 48px rgba(18, 20, 23, 0.12),
    0 46px 90px rgba(31, 121, 189, 0.14);
}

.service-card:hover::after,
.service-card:focus-within::after {
  opacity: 0.85;
  transform: scale(1.18);
}

.service-number,
.note-title {
  color: var(--champagne-deep);
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.service-card .service-number,
.service-card h3,
.service-card p {
  grid-column: 1 / -1;
}

.service-card .service-number {
  grid-column: 2;
  grid-row: 1;
  justify-self: end;
  align-self: start;
}

.service-icon {
  position: relative;
  grid-column: 1;
  grid-row: 1;
  width: 70px;
  height: 70px;
  display: grid;
  place-items: center;
  margin-bottom: 0;
  border: 1px solid rgba(31, 121, 189, 0.14);
  border-radius: 16px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(251, 242, 223, 0.9));
  box-shadow:
    0 10px 24px rgba(18, 20, 23, 0.08),
    0 0 0 7px rgba(31, 121, 189, 0.04);
  transition: transform 260ms ease, box-shadow 260ms ease;
}

.service-icon img {
  width: 53px;
  height: 53px;
  object-fit: contain;
}

.service-card:hover .service-icon,
.service-card:focus-within .service-icon {
  box-shadow:
    0 16px 30px rgba(18, 20, 23, 0.12),
    0 0 0 9px rgba(31, 121, 189, 0.06);
  transform: translateY(-2px) scale(1.04);
}

.service-card h3,
.problem-card h3,
.process-grid h3,
.benefit-list h3,
.notice h3,
.contact-item h3 {
  margin: 2px 0 2px;
  color: var(--text);
  font-size: var(--h3-size);
  line-height: 1.28;
  letter-spacing: -0.01em;
}

.service-card p {
  margin: 0;
  font-size: 0.94rem;
  line-height: 1.6;
}

.problem-card {
  border-top: 4px solid var(--champagne);
}

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

.benefits {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: 42px;
  align-items: start;
}

.benefit-list {
  display: grid;
  gap: 16px;
}

.benefit-list article {
  background: rgba(255, 255, 255, 0.78);
}

.check-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.check-list li,
.tag-list span {
  position: relative;
  border: 1px solid rgba(234, 223, 201, 0.95);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.82);
  padding: 13px 14px 13px 34px;
  color: var(--text);
  font-size: 0.95rem;
  font-weight: 700;
}

.check-list li::before,
.tag-list span::before {
  content: "";
  position: absolute;
  top: 21px;
  left: 16px;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--champagne);
}

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

.process-grid article {
  border-top: 4px solid var(--blue);
}

.process-grid span {
  color: var(--champagne-deep);
  font-family: "Nunito Sans", sans-serif;
  font-size: 1.55rem;
  font-weight: 800;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.tag-list span {
  display: inline-flex;
  align-items: center;
}

.split-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.65fr);
  gap: 36px;
  align-items: start;
}

.split-layout h2 {
  margin: 0;
  font-family: "Nunito Sans", sans-serif;
  font-size: var(--h2-size);
  line-height: 1.13;
  letter-spacing: -0.028em;
}

.notice {
  background: #fff;
}

.gallery-carousel {
  position: relative;
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) 48px;
  align-items: center;
  gap: 14px;
}

.gallery-viewport {
  position: relative;
  overflow: visible;
  min-height: 520px;
  border-radius: 28px;
  touch-action: pan-y;
}

.gallery-track {
  position: relative;
  height: 520px;
  perspective: 1400px;
}

.gallery-slide {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 0;
  width: min(54%, 620px);
  margin: 0;
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.58);
  transition: transform 520ms cubic-bezier(0.22, 1, 0.36, 1), opacity 320ms ease, filter 320ms ease;
  filter: saturate(0.85);
  pointer-events: none;
}

.gallery-slide.is-active {
  z-index: 3;
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
  filter: saturate(1);
  pointer-events: auto;
}

.gallery-slide.is-prev {
  z-index: 2;
  opacity: 0.48;
  transform: translate(calc(-50% - 76%), -50%) scale(0.72) rotateY(9deg);
}

.gallery-slide.is-next {
  z-index: 2;
  opacity: 0.48;
  transform: translate(calc(-50% + 76%), -50%) scale(0.72) rotateY(-9deg);
}

.gallery-slide img {
  width: 100%;
  height: 520px;
  object-fit: contain;
  border: 1px solid rgba(234, 223, 201, 0.95);
  border-radius: 28px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.96), rgba(251, 242, 223, 0.9));
  box-shadow: 0 24px 70px rgba(18, 20, 23, 0.16);
}

.gallery-button {
  position: relative;
  z-index: 5;
  width: 48px;
  height: 48px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  color: var(--blue-deep);
  cursor: pointer;
  font-size: 1.85rem;
  line-height: 1;
}

.gallery-button:hover,
.gallery-button:focus-visible {
  border-color: var(--blue);
}

.gallery-dots {
  grid-column: 1 / -1;
  display: flex;
  justify-content: center;
  gap: 8px;
  padding-top: 6px;
}

.gallery-dot {
  width: 10px;
  height: 10px;
  border: 0;
  border-radius: 50%;
  background: #d9e4ec;
  cursor: pointer;
}

.gallery-dot.is-active {
  background: var(--champagne);
}

.gallery {
  padding-top: 34px;
}

.about-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.72fr);
  gap: 36px;
  align-items: start;
  border: 1px solid rgba(31, 121, 189, 0.2);
  border-radius: 28px;
  background: #e4f3fa;
  box-shadow: 0 18px 46px rgba(18, 20, 23, 0.06);
  padding: 34px;
}

.about {
  padding-top: 34px;
  padding-bottom: 34px;
}

.about-copy .button {
  margin-top: 10px;
}

.about-more {
  animation: aboutReveal 260ms ease both;
}

.read-more-link {
  display: inline;
  color: var(--blue-deep);
  font-size: 0.95rem;
  font-weight: 800;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

.read-more-link:hover,
.read-more-link:focus-visible {
  color: var(--blue);
}

@keyframes aboutReveal {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.about-note,
.goal-card {
  border-left: 3px solid var(--champagne);
  background: rgba(251, 242, 223, 0.72);
  padding: 24px;
  border-radius: var(--radius);
}

.about-portrait {
  width: 132px;
  height: 132px;
  margin: 0 0 18px;
  border: 6px solid #fff;
  border-radius: 50%;
  box-shadow: 0 16px 34px rgba(18, 20, 23, 0.12);
  object-fit: cover;
  object-position: center top;
}

.about-note ul {
  margin: 14px 0 0;
  padding-left: 18px;
}

.contact {
  padding-bottom: 72px;
}

.contact-item p {
  margin: 0 0 18px;
}

.footer {
  background:
    linear-gradient(100deg, rgba(252, 248, 239, 0.97) 0%, rgba(231, 209, 169, 0.88) 48%, rgba(181, 137, 70, 0.46) 100%);
  color: var(--text);
  border-top: 1px solid rgba(185, 145, 82, 0.22);
  padding-top: 22px;
  padding-bottom: 22px;
}

.footer-inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 360px);
  gap: 18px 30px;
  align-items: center;
}

.footer-inner::before {
  content: none;
}

.footer p {
  max-width: 540px;
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.55;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-brand img {
  width: 58px;
  height: 58px;
  object-fit: contain;
}

.footer-contact {
  position: relative;
  display: grid;
  gap: 8px;
  border: 1px solid rgba(185, 145, 82, 0.24);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.42);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.75) inset,
    0 18px 36px rgba(18, 20, 23, 0.07);
  overflow: hidden;
  padding: 15px 18px;
  text-align: left;
}

.footer-contact::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: linear-gradient(180deg, var(--blue), var(--champagne-deep));
}

.footer-contact-title {
  margin: 0 0 2px;
  color: var(--blue-deep);
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.footer-contact a,
.footer-contact-row {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 800;
  line-height: 1.35;
}

.footer-contact a {
  color: var(--muted);
}

.footer-icon {
  width: 30px;
  height: 30px;
  display: inline-grid;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid rgba(31, 121, 189, 0.12);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.64);
  box-shadow: 0 8px 18px rgba(18, 20, 23, 0.06);
}

.footer-icon svg {
  width: 16px;
  height: 16px;
  fill: var(--blue-deep);
}

.footer-legal {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  align-items: center;
  padding-top: 10px;
  border-top: 1px solid rgba(185, 145, 82, 0.18);
}

.footer-legal a {
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 800;
  transition: color 180ms ease;
}

.footer-legal a:hover,
.footer-legal a:focus-visible {
  color: var(--blue-deep);
}

.legal-menu {
  justify-content: flex-end;
}

.legal-page {
  min-height: 68vh;
  padding: 52px 24px;
  background:
    radial-gradient(circle at top left, rgba(232, 201, 148, 0.28), transparent 34%),
    linear-gradient(180deg, #fffaf0 0%, #fbfaf7 100%);
}

.legal-card {
  width: min(100%, 920px);
  margin: 0 auto;
  border: 1px solid rgba(185, 145, 82, 0.2);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 24px 70px rgba(18, 20, 23, 0.08);
  padding: 42px;
}

.legal-card h1 {
  margin: 0;
  color: var(--text);
  font-size: var(--h1-size);
  line-height: 1.12;
  letter-spacing: -0.028em;
}

.legal-card h2 {
  margin: 34px 0 10px;
  color: var(--text);
  font-size: 1.26rem;
  line-height: 1.25;
  letter-spacing: -0.01em;
}

.legal-card p,
.legal-card li {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.72;
}

.legal-card a {
  color: var(--blue-deep);
  font-weight: 800;
}

.legal-updated {
  margin: 12px 0 28px;
  color: var(--muted-soft);
  font-size: 0.92rem;
  font-weight: 800;
}

.legal-card ul {
  margin: 10px 0 0;
  padding-left: 22px;
}

.legal-table {
  display: grid;
  gap: 1px;
  overflow: hidden;
  border: 1px solid rgba(31, 121, 189, 0.12);
  border-radius: 18px;
  background: rgba(31, 121, 189, 0.12);
}

.legal-table div {
  display: grid;
  grid-template-columns: minmax(130px, 0.28fr) minmax(0, 1fr);
  gap: 16px;
  background: rgba(255, 255, 255, 0.86);
  padding: 14px 16px;
}

.legal-table strong {
  color: var(--text);
}

.legal-table span {
  color: var(--muted);
  line-height: 1.55;
}

.legal-footer-inner {
  grid-template-columns: minmax(0, 1fr);
}

.cookie-banner {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 60;
  width: min(420px, calc(100vw - 32px));
  border: 1px solid rgba(185, 145, 82, 0.28);
  border-radius: 22px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.96), rgba(251, 242, 223, 0.94));
  box-shadow: 0 24px 70px rgba(18, 20, 23, 0.18);
  padding: 20px;
}

.cookie-banner[hidden] {
  display: none;
}

.cookie-banner h2 {
  margin: 0 0 8px;
  color: var(--text);
  font-size: 1.08rem;
  line-height: 1.25;
}

.cookie-banner p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.55;
}

.cookie-banner a {
  color: var(--blue-deep);
  font-weight: 800;
}

.cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.cookie-actions .button {
  min-height: 40px;
  padding: 0 16px;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 620ms ease, transform 620ms ease;
}

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

.service-card.reveal.is-visible {
  transform: perspective(900px) rotateX(var(--tilt-x)) rotateY(var(--tilt-y)) translateY(var(--lift));
}

@media (prefers-reduced-motion: reduce) {
  .service-card,
  .service-icon {
    transition: none;
  }

  .button-pulse {
    animation: none;
  }

  .service-card:hover,
  .service-card:focus-within,
  .service-card:hover .service-icon,
  .service-card:focus-within .service-icon {
    transform: none;
  }
}

@media (max-width: 980px) {
  .site-header,
  .section,
  .trust-strip,
  .footer {
    padding-left: 20px;
    padding-right: 20px;
  }

  .topbar {
    min-height: 72px;
    flex-wrap: wrap;
    gap: 14px;
    padding: 10px 0;
  }

  .menu-toggle {
    display: inline-flex;
    margin-left: auto;
  }

  .menu {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
    border: 1px solid rgba(185, 145, 82, 0.26);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.78);
    box-shadow: 0 18px 38px rgba(18, 20, 23, 0.08);
    padding: 10px;
  }

  .menu.is-open {
    display: flex;
  }

  .menu a {
    width: 100%;
    border-radius: 12px;
    padding: 11px 12px;
  }

  .menu a:hover,
  .menu a:focus-visible {
    background: rgba(251, 242, 223, 0.84);
  }

  .legal-menu {
    display: flex;
    width: auto;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: flex-end;
    border: 0;
    background: transparent;
    box-shadow: none;
    padding: 0;
  }

  .legal-menu a {
    width: auto;
  }

  .hero {
    min-height: auto;
  }

  .hero::before {
    inset: 12px 20px;
    border-radius: 24px;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    gap: 30px;
    width: min(100% - 40px, 760px);
    padding: 26px 0 48px;
  }

  .hero-content {
    justify-self: stretch;
    max-width: none;
  }

  .hero h1 {
    font-size: clamp(2.45rem, 6vw, 2.9rem);
  }

  .hero-image {
    height: clamp(360px, 58vw, 520px);
  }

  .section {
    padding-top: 56px;
    padding-bottom: 56px;
    scroll-margin-top: 112px;
  }

  .trust-inner,
  .problem-grid,
  .process-grid,
  .intro-section,
  .benefits,
  .split-layout,
  .about-layout,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .trust-inner span {
    border-bottom: 1px solid var(--line);
  }

  .trust-inner span:last-child {
    border-bottom: 0;
  }

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

  .services .service-grid {
    padding: 16px;
  }

  .about-layout {
    padding: 28px;
  }

  .gallery-carousel {
    grid-template-columns: 44px minmax(0, 1fr) 44px;
    gap: 10px;
  }

  .gallery-viewport {
    min-height: 430px;
  }

  .gallery-track {
    height: 430px;
  }

  .gallery-slide {
    width: 62%;
  }

  .gallery-slide.is-prev {
    transform: translate(calc(-50% - 65%), -50%) scale(0.68) rotateY(8deg);
  }

  .gallery-slide.is-next {
    transform: translate(calc(-50% + 65%), -50%) scale(0.68) rotateY(-8deg);
  }

  .gallery-slide img {
    height: 430px;
  }

  .footer-inner {
    align-items: flex-start;
  }

  .footer-contact {
    text-align: left;
  }
}

@media (max-width: 760px) {
  .site-header,
  .section,
  .trust-strip,
  .footer {
    padding-left: 18px;
    padding-right: 18px;
  }

  .topbar {
    min-height: 74px;
    flex-wrap: wrap;
    padding: 12px 0;
  }

  .menu-toggle {
    display: inline-flex;
    margin-left: auto;
  }

  .menu {
    border-radius: 16px;
    padding: 8px;
  }

  .hero {
    min-height: auto;
  }

  .hero::before {
    inset: 10px;
    border-radius: 20px;
  }

  .hero-image {
    width: auto;
    max-width: 100%;
    height: min(72vh, 620px);
    object-fit: contain;
    object-position: center center;
  }

  .hero-visual {
    display: flex;
    justify-content: center;
    background: #fffaf0;
  }

  .hero-inner {
    width: calc(100% - 36px);
    padding: 22px 0 44px;
    gap: 24px;
  }

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

  .hero h1 {
    max-width: 320px;
    font-size: 2.28rem;
  }

  .lead {
    max-width: 330px;
    font-size: 0.98rem;
  }

  .hero-places {
    max-width: 390px;
  }

  .hero-meta {
    grid-template-columns: 1fr;
    max-width: 330px;
  }

  .section {
    padding-top: 48px;
    padding-bottom: 48px;
  }

  .section-heading h2,
  .benefit-copy h2,
  .about-copy h2,
  .split-layout h2 {
    font-size: 1.72rem;
  }

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

  .service-grid,
  .service-grid-wide {
    grid-template-columns: 1fr;
  }

  .service-card {
    grid-template-columns: 1fr auto;
    gap: 10px 14px;
    padding: 16px;
  }

  .service-icon {
    width: 64px;
    height: 64px;
    border-radius: 14px;
  }

  .service-icon img {
    width: 48px;
    height: 48px;
  }

  .gallery-carousel {
    grid-template-columns: 40px minmax(0, 1fr) 40px;
    gap: 8px;
  }

  .gallery {
    padding-top: 28px;
    padding-bottom: 34px;
  }

  .services {
    padding-bottom: 30px;
  }

  .important-info {
    padding-top: 32px;
    padding-bottom: 48px;
  }

  .gallery-viewport {
    min-height: 360px;
  }

  .gallery-track {
    height: 360px;
  }

  .gallery-slide {
    width: 72%;
  }

  .gallery-slide.is-prev {
    transform: translate(calc(-50% - 55%), -50%) scale(0.66) rotateY(7deg);
  }

  .gallery-slide.is-next {
    transform: translate(calc(-50% + 55%), -50%) scale(0.66) rotateY(-7deg);
  }

  .gallery-slide img {
    height: 360px;
    border-radius: 20px;
  }

  .gallery-button {
    width: 40px;
    height: 40px;
    font-size: 1.45rem;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 14px;
    align-items: flex-start;
  }

  .footer-brand {
    align-items: flex-start;
  }

  .footer-brand img {
    width: 54px;
    height: 54px;
  }

  .footer-contact {
    width: 100%;
    padding: 15px 17px;
    text-align: left;
  }

  .legal-page {
    padding: 36px 18px;
  }

  .legal-card {
    border-radius: 22px;
    padding: 28px;
  }

  .legal-card h1 {
    font-size: 2.16rem;
  }

  .legal-table div {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .about-layout {
    padding: 22px;
    border-radius: 20px;
  }

  .about {
    padding-top: 26px;
  }

  .services .service-grid {
    padding: 14px;
    border-radius: 20px;
  }
}

@media (max-width: 520px) {
  .site-header,
  .section,
  .footer {
    padding-left: 14px;
    padding-right: 14px;
  }

  .brand {
    gap: 9px;
  }

  .brand-mark {
    width: 48px;
    height: 48px;
  }

  .brand-text strong {
    font-size: 0.94rem;
  }

  .brand-text small {
    display: none;
  }

  .menu-toggle {
    width: 42px;
    height: 42px;
    border-radius: 12px;
  }

  .hero::before {
    inset: 8px;
    border-radius: 18px;
  }

  .hero-inner {
    width: calc(100% - 28px);
    padding: 16px 0 32px;
  }

  .hero h1 {
    max-width: none;
    font-size: 2.02rem;
  }

  .eyebrow {
    font-size: 0.68rem;
    letter-spacing: 0.08em;
  }

  .lead,
  .hero-meta {
    max-width: none;
  }

  .hero-places {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .hero-places li {
    justify-content: flex-start;
    padding: 7px 9px 7px 7px;
    font-size: 0.78rem;
  }

  .hero-place-icon {
    width: 23px;
    height: 23px;
  }

  .hero-actions {
    gap: 10px;
  }

  .hero-actions .button,
  .cookie-actions .button {
    width: 100%;
    padding: 0 16px;
  }

  .section-cta .button,
  .about-copy .button,
  .important-card .button {
    width: auto;
    min-width: 168px;
    padding: 0 18px;
  }

  .hero-image {
    width: auto;
    max-width: 100%;
    height: min(66vh, 560px);
    object-fit: contain;
    object-position: center center;
  }

  .section {
    padding-top: 36px;
    padding-bottom: 36px;
  }

  .about {
    padding-top: 20px;
  }

  .section-heading {
    margin-bottom: 22px;
    padding-top: 14px;
  }

  .section-heading h2,
  .benefit-copy h2,
  .about-copy h2,
  .split-layout h2 {
    font-size: 1.44rem;
    letter-spacing: -0.02em;
  }

  .about-layout {
    padding: 18px;
    border-radius: 18px;
  }

  .goal-card {
    padding: 18px;
  }

  .about-portrait {
    width: 112px;
    height: 112px;
  }

  .services {
    padding-top: 30px;
    padding-bottom: 24px;
  }

  .service-card h3,
  .problem-card h3,
  .process-grid h3,
  .benefit-list h3,
  .notice h3,
  .contact-item h3 {
    font-size: 1.02rem;
  }

  .service-card p {
    font-size: 0.92rem;
    line-height: 1.57;
  }

  .gallery {
    padding-top: 20px;
    padding-bottom: 28px;
  }

  .gallery-carousel {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .gallery-viewport {
    grid-column: 1 / -1;
    order: 1;
    width: min(100%, 430px);
    min-height: clamp(360px, 112vw, 560px);
    margin: 0 auto;
    overflow: hidden;
    background:
      linear-gradient(145deg, rgba(255, 255, 255, 0.96), rgba(251, 242, 223, 0.9));
    border: 1px solid rgba(234, 223, 201, 0.95);
    box-shadow: 0 22px 54px rgba(18, 20, 23, 0.12);
  }

  .gallery-track {
    height: clamp(360px, 112vw, 560px);
  }

  .gallery-slide {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 0;
    display: block;
    width: 100%;
    height: 100%;
    transform: translateX(18px) scale(0.98);
    opacity: 0;
    transition: opacity 260ms ease, transform 260ms ease;
    filter: none;
  }

  .gallery-slide.is-active {
    z-index: 2;
    opacity: 1;
    transform: translateX(0) scale(1);
  }

  .gallery-slide.is-prev,
  .gallery-slide.is-next {
    z-index: 1;
    opacity: 0;
    transform: translateX(0) scale(0.98);
  }

  .gallery-slide img {
    width: 100%;
    height: 100%;
    max-height: none;
    object-fit: contain;
    border: 0;
    border-radius: 18px;
    background: transparent;
    box-shadow: none;
  }

  .gallery-button {
    order: 2;
    width: 48px;
    height: 42px;
    border-radius: 14px;
  }

  .gallery-button-prev {
    justify-self: end;
  }

  .gallery-button-next {
    justify-self: start;
  }

  .gallery-dots {
    grid-column: 1 / -1;
    order: 3;
    justify-content: center;
    padding-top: 6px;
  }

  .important-info {
    padding-top: 24px;
    padding-bottom: 34px;
  }

  .important-card {
    padding: 24px 18px;
  }

  .important-grid {
    gap: 10px;
    margin: 20px 0 20px;
  }

  .important-grid article {
    border-radius: 16px;
    padding: 16px;
  }

  .footer-brand {
    gap: 10px;
  }

  .footer-brand img {
    width: 52px;
    height: 52px;
  }

  .footer-contact {
    gap: 8px;
    border-radius: 16px;
    padding: 13px 14px;
  }

  .footer-contact a,
  .footer-contact-row {
    font-size: 0.9rem;
  }

  .footer-legal {
    gap: 8px 14px;
    justify-content: flex-start;
  }

  .footer-legal a {
    font-size: 0.82rem;
  }

  .legal-page {
    padding: 26px 14px;
  }

  .legal-card {
    border-radius: 18px;
    padding: 22px;
  }

  .legal-card h1 {
    font-size: 1.9rem;
  }

  .legal-card h2 {
    margin-top: 28px;
    font-size: 1.1rem;
  }

  .legal-card p,
  .legal-card li {
    font-size: 0.94rem;
    line-height: 1.65;
  }

  .cookie-banner {
    right: 12px;
    bottom: 12px;
    width: calc(100vw - 24px);
    border-radius: 18px;
    padding: 14px;
  }

}
