/*
  Page-specific styles for /services/. Shared reset, tokens, header, footer
  and the reveal-animation system live in /common/css/base.css.
*/

:root {
  --muted: #6f6a62;
  --shadow: 0 26px 70px rgba(7, 61, 52, .09);
}

body {
  color: var(--ink7);
}

h2 {
  font-size: 42px;
  line-height: 1.55;
  letter-spacing: 2px;
  color: var(--ink7);
}

.block {
  width: 1180px;
  max-width: 86vw;
  margin: 0 auto;
}

.section {
  padding: 145px 0;
}

.section-head {
  text-align: center;
  margin-bottom: 74px;
}
.section-head h2 {
  font-size: 42px;
  line-height: 1.55;
  letter-spacing: 3px;
}
.section-head p {
  width: 760px;
  max-width: 86vw;
  margin: 20px auto 0;
  font-size: 15px;
  line-height: 2.1;
  color: var(--muted);
}

/* hero */
.hero {
  position: relative;
  min-height: 900px;
  background: var(--green);
  color: #fff;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  overflow: hidden;
}
.hero-copy {
  position: relative;
  z-index: 2;
  padding: 150px 5vw 90px 72px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
.hero-copy::before {
  content: "SERVICES";
  position: absolute;
  top: 116px;
  left: 72px;
  font-family: "Baskerville", serif;
  font-size: clamp(90px, 12vw, 180px);
  line-height: .8;
  color: rgba(255, 255, 255, .055);
  white-space: nowrap;
  pointer-events: none;
}
.hero .kicker {
  color: rgba(255, 255, 255, .68);
}
.hero h1 {
  font-size: 42px;
  line-height: 1.4;
  letter-spacing: 6px;
  color: #fff;
  margin-bottom: 28px;
}
.hero-lead {
  max-width: 720px;
  font-size: 28px;
  line-height: 1.9;
  letter-spacing: 2px;
  color: #fff;
  margin-bottom: 22px;
}
.hero-text {
  max-width: 720px;
  font-size: 15px;
  line-height: 2.2;
  color: rgba(255, 255, 255, .84);
}
.hero-visual {
  position: relative;
  overflow: hidden;
}
.hero-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(7, 61, 52, .42), rgba(7, 61, 52, .08));
}
.hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* consulting */
.consulting {
  background: var(--paper);
  padding-bottom: 10px;
}
.consulting .block {
  padding-bottom: 0;
}
.consulting-intro {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 80px;
  align-items: center;
  margin-bottom: 64px;
}
.consulting-photo {
  height: 480px;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.consulting-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.consulting-copy h3 {
  font-size: 42px;
  line-height: 1.6;
  margin-bottom: 24px;
}
.consulting-copy p {
  font-size: 15px;
  line-height: 2.15;
  color: var(--muted);
}
.consulting-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.consulting-card {
  background: var(--base);
  min-height: 340px;
  padding: 36px 30px 40px;
  border: 1px solid rgba(23, 23, 23, .07);
  box-shadow: 0 14px 36px rgba(7, 61, 52, .05);
}
.consulting-card .num {
  font-family: "Baskerville", serif;
  font-size: 60px;
  line-height: 1;
  color: var(--sand);
  margin-bottom: 22px;
}
.consulting-card h4 {
  font-size: 20px;
  line-height: 1.7;
  margin-bottom: 14px;
}
.consulting-card p {
  font-size: 15px;
  line-height: 2;
}

/* price */
.price {
  padding: 10px 0 145px;
  background: var(--paper);
}
.price-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: 820px;
  padding: 70px 60px;
  background: linear-gradient(rgba(4, 34, 28, .62), rgba(4, 34, 28, .8)),
    url('img/AdobeStock_price-bg.webp') center/cover;
  box-shadow: var(--shadow);
}
.price-inner .kicker {
  color: rgba(255, 255, 255, .68);
}
.price-inner h2 {
  margin-bottom: 50px;
}
.price-highlight-label {
  font-size: 20px;
  letter-spacing: 1px;
  color: #fff;
  margin-bottom: 12px;
}
.price-highlight-amount {
  font-size: 76px;
  line-height: 1;
  letter-spacing: 4px;
  color: #fff;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: max-content;
  min-width: 260px;
  min-height: 58px;
  margin-top: 40px;
  padding: 0 32px;
  background: linear-gradient(88deg, #2C7B64 13.03%, #61B953 59.54%, #86CAB6 100.07%);
  border: none;
  color: #fff;
  font-family: "Host Grotesk", Arial, sans-serif;
  font-size: 14px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  transition: .3s;
}
.btn:hover {
  background: var(--green);
  color: #fff;
}
.price-note {
  margin-top: 44px;
  width: 100%;
}
.price-note p {
  font-size: 15px;
  line-height: 2.1;
  color: rgba(255, 255, 255, .84);
}

/* care services */
.care {
  background: var(--base);
  border-top: 1px solid var(--line);
  padding-bottom: 60px;
}
.care .block {
  padding-bottom: 0;
}
.care-groups {
  display: grid;
  gap: 56px;
}
.care-group {
  border: 1px solid rgba(23, 23, 23, .08);
  background: var(--paper);
  box-shadow: var(--shadow);
}
.care-group-head {
  padding: 30px 34px 24px;
  border-bottom: 1px solid var(--line);
}
.care-group-head .en {
  font-family: "Host Grotesk", Arial, sans-serif;
  font-size: 10px;
  letter-spacing: 2.2px;
  color: var(--sand);
}
.care-group-head h3 {
  font-size: 34px;
  line-height: 1.5;
  margin-top: 6px;
}
.care-group-head p {
  max-width: 430px;
  margin-top: 10px;
  font-size: 13px;
  color: var(--muted);
}
.facility-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.facility {
  background: var(--paper);
  border-right: 1px solid var(--line);
}
.facility:last-child {
  border-right: 0;
}
.facility-photo {
  height: 300px;
  overflow: hidden;
}
.facility-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(.85);
}
.facility-body {
  padding: 30px 28px 34px;
}
.facility-body .en {
  font-family: "Host Grotesk", Arial, sans-serif;
  font-size: 9px;
  letter-spacing: 2px;
  color: var(--sand);
  margin-bottom: 9px;
}
.facility-body h4 {
  font-size: 19px;
  line-height: 1.65;
  margin-bottom: 15px;
}
.facility-body h4 small,
.nursing-copy h4 small {
  font-size: 11px;
  color: var(--muted);
}
.meta {
  display: grid;
  gap: 4px;
  margin-bottom: 15px;
}
.meta p {
  font-size: 12px;
  line-height: 1.75;
}
.service-type {
  display: block;
  margin-bottom: 18px;
  color: var(--green);
  font-size: 12px;
  letter-spacing: .5px;
}
.spec {
  display: grid;
  grid-template-columns: 110px 1fr;
  margin: 0;
  border-top: 1px solid var(--line);
}
.spec dt,
.spec dd {
  margin: 0;
  padding: 8px 0;
  border-bottom: 1px solid var(--line);
  font-size: 11.5px;
}
.spec dt {
  color: var(--muted);
}

.nursing {
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.nursing-photo {
  min-height: 520px;
  overflow: hidden;
}
.nursing-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(.85);
}
.nursing-copy {
  padding: 56px 52px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-left: 1px solid var(--line);
}
.nursing-copy h4 {
  margin-bottom: 15px;
  font-size: 19px;
  line-height: 1.65;
}
.nursing-copy > p {
  margin-bottom: 14px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  font-size: 15px;
  line-height: 2;
}

/* cross-page link */
.cross-link-section {
  padding: 60px 6vw 100px;
  text-align: center;
  background: var(--base);
}
.cross-link-kicker {
  font-family: "Host Grotesk", Arial, sans-serif;
  font-size: 10px;
  letter-spacing: 2.4px;
  text-transform: uppercase;
  color: var(--sand);
  margin: 0 0 24px;
}
.cross-link-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-width: 320px;
  min-height: 64px;
  padding: 0 36px;
  border: 1px solid var(--ink7);
  color: var(--ink7);
  font-size: 16px;
  letter-spacing: 1px;
  transition: .3s;
}
.cross-link-btn:hover {
  background: var(--ink7);
  color: #fff;
}
.cross-link-arrow {
  font-size: 18px;
  transition: transform .3s;
}
.cross-link-btn:hover .cross-link-arrow {
  transform: translateX(6px);
}

/* responsive */
@media (max-width: 1000px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }
  .hero-copy::before {
    display: none;
  }
  .hero-visual {
    min-height: 50vw;
  }
  .consulting-intro,
  .nursing {
    grid-template-columns: 1fr;
  }
  .consulting-grid,
  .facility-grid {
    grid-template-columns: 1fr;
  }
  .facility {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
  .nursing-copy {
    border-left: 0;
    border-top: 1px solid var(--line);
  }
  .nursing-photo {
    min-height: 52vw;
  }
}

@media (max-width: 640px) {
  .cross-link-section {
    padding: 70px 8vw;
  }
  .cross-link-btn {
    min-width: 0;
    width: 100%;
    font-size: 14px;
  }
  .hero-copy {
    padding: 140px 7vw 80px;
  }
  .price-inner {
    padding: 48px 28px;
  }
  .hero h1 {
    font-size: 30px;
  }
  .hero-lead {
    font-size: 21px;
  }
  .section {
    padding: 95px 0;
  }
  .consulting {
    padding-bottom: 10px;
  }
  .price {
    padding-top: 10px;
  }
  .section-head {
    margin-bottom: 48px;
  }
  .section-head h2 {
    font-size: 36px;
  }
  .consulting-copy h3 {
    font-size: 32px;
  }
  .nursing-copy {
    padding: 48px 24px;
  }
  .price-highlight-amount {
    font-size: 52px;
  }
}
