:root {
  --ink: #102033;
  --muted: #66758a;
  --paper: #f2f7fc;
  --white: #f9fcff;
  --line: rgba(16, 32, 51, 0.14);
  --red: #1f6fb5;
  --red-deep: #0c3f78;
  --red-dark: #071d36;
  --coral: #4fa7dc;
  --gold: #d6a84c;
  --green: #4f7f91;
  --shadow: 0 22px 80px rgba(18, 58, 104, 0.16);
}

.site-header {
  background: rgba(242, 247, 252, 0.86);
  border-bottom-color: rgba(16, 32, 51, 0.08);
}

.brand-mark {
  background:
    linear-gradient(135deg, var(--red) 0 50%, transparent 50%),
    linear-gradient(315deg, var(--red-deep) 0 50%, #8db9df 50%);
}

.header-nav {
  gap: clamp(10px, 1.5vw, 22px);
  font-size: 13px;
}

.header-nav a:last-child {
  padding-right: 16px;
  padding-left: 16px;
}

.site-footer nav {
  flex-wrap: wrap;
  gap: 14px 18px;
}

.site-footer .brand img {
  width: min(240px, 70vw);
  height: auto;
}

.site-footer small {
  grid-column: 1 / -1;
  justify-self: center;
  margin-top: 6px;
}

.environment-copy {
  max-width: none;
  width: 100%;
}

.comfort-list-block {
  width: 100%;
  margin-top: 6px;
}

.comfort-list-text p:first-child {
  margin-top: 0;
}

.comfort-image-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(16px, 2.4vw, 28px);
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.comfort-image-list li {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(14px, 2vw, 22px);
  align-items: center;
  min-height: 220px;
  padding: clamp(14px, 2vw, 22px);
  border: 1px solid rgba(16, 32, 51, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
}

.comfort-image-list img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  height: auto;
  object-fit: cover;
  border-radius: 6px;
}

.comfort-image-list span {
  color: var(--ink);
  font-weight: 500;
  line-height: 1.65;
}

.comfort-list-image {
  margin: 0;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 18px 48px rgba(18, 58, 104, 0.13);
}

.comfort-list-image img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.voice-accordion {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  border: 0;
  background: transparent;
}

.voice-accordion details {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 12px 45px rgba(18, 58, 104, 0.08);
  overflow: hidden;
}

.voice-accordion summary {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 16px;
  align-items: center;
  padding: clamp(18px, 3vw, 28px);
  cursor: pointer;
  list-style: none;
}

.voice-accordion summary::-webkit-details-marker {
  display: none;
}

.voice-accordion summary::after {
  content: "+";
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  color: var(--white);
  background: var(--red);
  border-radius: 50%;
  font-family: "Inter", sans-serif;
  font-size: 22px;
  font-weight: 800;
  line-height: 1;
}

.voice-accordion details[open] summary::after {
  content: "-";
}

.voice-accordion summary span {
  color: var(--red);
  font-family: "Inter", sans-serif;
  font-size: 13px;
  font-weight: 800;
}

.voice-accordion h3 {
  margin: 0;
  color: var(--red-deep);
  font-size: clamp(18px, 2.4vw, 24px);
  line-height: 1.45;
}

.voice-answer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 0.42fr);
  gap: clamp(18px, 4vw, 42px);
  align-items: center;
  padding: 0 clamp(18px, 3vw, 28px) clamp(22px, 4vw, 36px);
}

.voice-answer ul {
  margin: 0;
  padding-left: 1.2em;
  color: var(--muted);
  line-height: 1.85;
}

.voice-answer li + li {
  margin-top: 8px;
}

.voice-answer figure {
  margin: 0;
  overflow: hidden;
  border-radius: 8px;
  background: var(--paper);
}

.voice-answer img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  filter: saturate(0.95);
}

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

.hero::after,
.page-hero::after,
.red-hero::after {
  background:
    linear-gradient(90deg, rgba(16, 86, 158, 0.72), rgba(72, 158, 218, 0.12) 55%, rgba(11, 57, 108, 0.42)),
    linear-gradient(0deg, rgba(11, 57, 108, 0.58), transparent 46%);
}

.page-hero {
  background: var(--red-dark);
}

.page-hero img {
  filter: saturate(1.08) brightness(1.08) hue-rotate(4deg);
}

.entry-band {
  background:
    linear-gradient(135deg, rgba(31, 111, 181, 0.96), rgba(7, 29, 54, 0.98)),
    var(--red-dark);
}

.menu-header .nav li:last-child {
  background-color: #1f6fb5;
}

.menu-header .nav li:last-child:hover {
  background-color: #2f87cf;
}

#work h2 span,
h2.voice,
h2.welfare {
  color: #1f6fb5;
}

#work .h2-ciecle {
  border-bottom-color: #cfe4f6;
}

#work .h2-ciecle::after {
  background-color: #cfe4f6;
}

.workbox01,
.workbox02,
.workbox03 {
  border-color: #1f6fb5;
}

.box30 .box-title {
  background: #1f6fb5;
}

.box01 {
  background-color: #e7f2fb;
  background-image:
    linear-gradient(45deg, #1f6fb5 25%, transparent 25%, transparent 50%, #1f6fb5 50%, #1f6fb5 75%, transparent 75%, transparent);
}

h2.voice {
  border-top-color: #1f6fb5;
  border-bottom-color: #1f6fb5;
}

.overview-heading {
  border-left-color: #1f6fb5;
}

.form-control.error,
label.error {
  border-color: #2f87cf;
  color: #2f87cf;
}

.required {
  background-color: #0c3f78;
}

.age-bars-female b {
  background: rgba(230, 126, 43, 0.14);
}

.age-bars-female b::before {
  background: linear-gradient(90deg, #f6b45f, #e97832);
}

.age-bars-male b {
  background: rgba(112, 124, 138, 0.14);
}

.age-bars-male b::before {
  background: linear-gradient(90deg, #aeb8c2, #6f7f8f);
}

.gender-panel .donut-chart {
  background: conic-gradient(var(--red) 0 calc(var(--male) * 1%), #e97832 0 100%);
}

.gender-panel .chart-legend .female {
  background: #e97832;
}

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

.feature-link {
  min-height: 470px;
  grid-template-rows: auto auto auto auto;
  align-content: start;
  padding-right: clamp(16px, 2.4vw, 28px);
  padding-left: clamp(16px, 2.4vw, 28px);
}

.feature-link img {
  height: 210px;
}

.feature-link span {
  margin-top: 0;
}

.feature-link strong {
  font-size: clamp(20px, 2.2vw, 28px);
}

.news-strip {
  grid-template-columns: minmax(62px, auto) minmax(96px, auto) 1fr;
}

.news-strip time {
  color: var(--muted);
  font-family: "Inter", sans-serif;
  font-size: 14px;
  font-weight: 400;
}

.data-section2 {
  grid-template-columns: minmax(260px, 1.22fr) repeat(3, minmax(180px, 0.9fr));
  grid-template-rows: auto;
  align-items: stretch;
}

.data-section2 .data-card {
  min-height: 280px;
  align-content: center;
  justify-items: center;
}

.data-section2 .data-card:first-child {
  min-height: 340px;
}

.data-section2 .data-card img {
  width: min(100%, 250px);
  height: auto;
}

.data-section2 .data-card:first-child img {
  width: min(100%, 310px);
}

.age-donut-wrap {
  display: grid;
  grid-template-columns: minmax(170px, 0.72fr) minmax(180px, 1fr);
  gap: 18px;
  align-items: center;
}

.age-donut-chart {
  position: relative;
  width: min(220px, 100%);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background:
    conic-gradient(
      #2f87cf 0 16.4%,
      #e97832 16.4% 44.8%,
      #4f9c68 44.8% 73.2%,
      #68c8df 73.2% 92.5%,
      #8f6bd9 92.5% 100%
    );
  box-shadow: inset 0 0 0 1px rgba(16, 32, 51, 0.08);
}

.age-donut-chart::after {
  content: "";
  position: absolute;
  inset: 26%;
  border-radius: 50%;
  background: var(--white);
  box-shadow: inset 0 0 0 1px rgba(16, 32, 51, 0.08);
}

.age-donut-chart span {
  position: relative;
  z-index: 1;
  color: var(--red-deep);
  font-family: "Inter", sans-serif;
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 800;
}

.age-donut-chart small {
  font-size: 0.45em;
}

.age-label {
  position: absolute;
  z-index: 2;
  min-width: 44px;
  padding: 3px 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.88);
  color: #102033;
  font-family: "Inter", sans-serif;
  font-size: 12px;
  font-style: normal;
  font-weight: 800;
  line-height: 1;
  text-align: center;
  box-shadow: 0 2px 8px rgba(16, 32, 51, 0.14);
}

.age-label-20 {
  top: 16%;
  right: 28%;
}

.age-label-30 {
  top: 38%;
  right: 8%;
}

.age-label-40 {
  bottom: 18%;
  left: 28%;
}

.age-label-50 {
  top: 30%;
  left: 8%;
}

.age-label-60 {
  top: 10%;
  left: 32%;
}

.age-donut-legend {
  justify-content: flex-start;
}

.age-20 {
  background: #2f87cf;
}

.age-30 {
  background: #e97832;
}

.age-40 {
  background: #4f9c68;
}

.age-50 {
  background: #68c8df;
}

.age-60 {
  background: #8f6bd9;
}

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

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

  .data-section2 .data-card,
  .data-section2 .data-card:first-child {
    min-height: 280px;
  }

  .data-section2 .data-card img {
    width: min(100%, 230px);
  }

  .data-section2 .data-card:first-child img {
    width: min(100%, 290px);
  }
}

@media (max-width: 767px) {
  .feature-links {
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 18px 0;
    background: var(--line);
  }

  .feature-link {
    min-height: auto;
    padding-bottom: 0;
    background: var(--white);
    border-bottom: 0;
  }

  .lead-section.split-section {
    grid-template-columns: 1fr;
  }

  .lead-section .portrait-card {
    max-width: 360px;
    margin-inline: auto;
  }

  .data-section2 {
    grid-template-columns: 1fr;
  }

  .data-section2 .data-card,
  .data-section2 .data-card:first-child {
    min-height: 240px;
  }

  .data-section2 .data-card img,
  .data-section2 .data-card:first-child img {
    width: min(100%, 260px);
  }

  .age-donut-wrap {
    grid-template-columns: 1fr;
    justify-items: center;
  }

  .age-donut-legend {
    justify-content: center;
  }

  .work-card,
  .work-card.reverse {
    grid-template-columns: 1fr;
    overflow: visible;
  }

  .work-card img,
  .work-card.reverse img {
    order: 0;
    display: block;
    width: 100%;
    height: auto;
    min-height: 0;
    aspect-ratio: 16 / 10;
    object-fit: cover;
  }

  .work-card > div {
    position: relative;
    z-index: 1;
  }

  .voice-accordion summary {
    grid-template-columns: 1fr auto;
    gap: 10px;
  }

  .voice-accordion summary span {
    grid-column: 1 / -1;
  }

  .voice-answer {
    grid-template-columns: 1fr;
  }

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

  .comfort-image-list li {
    grid-template-columns: minmax(120px, 1fr) minmax(0, 1fr);
  }

  .comfort-image-list img {
    width: 100%;
    height: auto;
  }

  .photo-grid5 {
    grid-template-columns: 1fr;
  }

  .photo-grid5 img {
    aspect-ratio: 16 / 10;
  }
}

.entry-hero {
  min-height: 24vh;
  padding-top: 104px;
  padding-bottom: 38px;
}

.entry-hero h1 {
  max-width: none;
  margin-bottom: 0;
  white-space: nowrap;
  font-size: clamp(30px, 4.6vw, 58px);
  line-height: 1.08;
}

@media (max-width: 680px) {
  .entry-hero {
    min-height: 28vh;
    padding-top: 92px;
    padding-bottom: 30px;
  }

  .entry-hero h1 {
    font-size: clamp(22px, 6.4vw, 34px);
  }
}
