/* About page. All copy and photos are editable in HTML. */
.about-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  gap: 65px;
  align-items: center;
  padding: 50px 6.5%;
  background: var(--gradient-panel);
}
.about-hero:before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: url("../images/dental-pattern.svg");
  opacity: 0.22;
  mask-image: linear-gradient(90deg, transparent, #000);
}
.about-hero h1 {
  font-size: clamp(40px, 4.5vw, 66px);
  font-weight: 300;
  line-height: 1.17;
  letter-spacing: -2.5px;
  margin: 25px 0;
}
.about-hero__copy > p:not(.eyebrow) {
  font-size: 15px;
  line-height: 1.9;
  color: var(--color-muted);
  max-width: 530px;
  margin-bottom: 28px;
}
.about-hero__address {
  display: block;
  font-size: 11px;
  color: #8299ae;
  margin-top: 20px;
}
.about-hero__visual {
  position: relative;
  min-width: 0;
  height: 440px;
  border-radius: 110px 30px 30px 30px;
  border: 8px solid #ffffffbc;
  box-shadow: 0 15px 40px #5377951a;
}
.about-hero__visual > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 50%;
  border-radius: 102px 23px 23px 23px;
}
.about-hero__caption {
  position: absolute;
  bottom: 15px;
  left: 15px;
  right: 15px;
  background: #fffffff0;
  border: 1px solid white;
  backdrop-filter: blur(8px);
  border-radius: 18px;
  padding: 17px 20px;
}
.about-hero__caption span {
  display: block;
  font-size: 10px;
  color: var(--color-muted);
  margin-bottom: 6px;
}
.about-hero__caption strong {
  font-size: 17px;
  font-weight: 500;
}
.about-hero__year {
  position: absolute;
  top: 30px;
  left: -35px;
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: var(--gradient-action);
  color: white;
  box-shadow: 0 8px 25px #3198ce30;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  font-size: 11px;
  border: 5px solid #eaf9ff;
}
.about-hero__year strong {
  font-size: 25px;
  font-weight: 500;
  line-height: 1.5;
}
.about-story {
  display: grid;
  grid-template-columns: 0.85fr 1.3fr;
  gap: 75px;
  padding-top: 65px;
  padding-bottom: 65px;
}
.about-story h2,
.about-care h2,
.about-gallery h2 {
  font-size: clamp(27px, 3vw, 39px);
  font-weight: 400;
  line-height: 1.3;
  letter-spacing: -1.2px;
  margin-top: 15px;
}
.about-story__text p {
  font-size: 14px;
  line-height: 1.95;
  color: var(--color-muted);
  margin-bottom: 18px;
}
.about-story__text .about-story__lead {
  color: #38536f;
  font-size: 16px;
}
.about-story__text p:last-child {
  margin-bottom: 0;
}
.about-values {
  padding: 42px;
  background: linear-gradient(115deg, #e9faff, #edf2ff);
  position: relative;
  overflow: hidden;
}
.about-values:before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("../images/dental-pattern.svg");
  opacity: 0.2;
  pointer-events: none;
}
.about-values__heading {
  position: relative;
  text-align: center;
  margin-bottom: 30px;
}
.about-values h2 {
  font-size: clamp(27px, 3vw, 37px);
  font-weight: 400;
  letter-spacing: -1px;
  margin-top: 12px;
}
.about-values__grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}
.about-value {
  background: #ffffffc7;
  border: 1px solid white;
  border-radius: 24px;
  padding: 25px;
}
.about-value__icon {
  display: grid;
  place-items: center;
  width: 45px;
  height: 45px;
  border-radius: 15px;
  background: #e5f7ff;
  color: #2a9fc6;
  margin-bottom: 20px;
}
.about-value__icon .icon {
  width: 29px;
  height: 29px;
}
.about-value:nth-child(even) .about-value__icon {
  color: #9683e4;
  background: #efecff;
}
.about-value h3 {
  font-size: 17px;
  font-weight: 500;
  line-height: 1.45;
  margin-bottom: 12px;
}
.about-value p {
  font-size: 12px;
  color: var(--color-muted);
  line-height: 1.9;
}
.about-care {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  align-items: center;
  gap: 65px;
  padding-top: 65px;
  padding-bottom: 65px;
}
.about-care__photos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  align-items: start;
  padding-bottom: 30px;
}
.about-care__photos img {
  width: 100%;
  height: 340px;
  object-fit: cover;
  border-radius: 28px;
}
.about-care__photos img:last-child {
  margin-top: 45px;
}
.about-care__copy > p:not(.section-kicker) {
  font-size: 14px;
  line-height: 1.9;
  color: var(--color-muted);
  margin-top: 20px;
}
.about-care .button {
  margin-top: 25px;
}
.about-gallery {
  padding-bottom: 60px;
}
.about-gallery__heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 24px;
  margin-bottom: 30px;
}
.about-gallery__heading > p {
  font-size: 12px;
  color: var(--color-muted);
  line-height: 1.9;
}
.about-gallery__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}
.about-gallery__item {
  position: relative;
  overflow: hidden;
  border-radius: 25px;
  background: #e7f3fb;
  display: block;
  height: 340px;
}
.about-gallery__item > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}
.about-gallery__item:hover > img {
  transform: scale(1.035);
}
.about-gallery__caption {
  position: absolute;
  bottom: 12px;
  left: 12px;
  right: 12px;
  background: #fffffff0;
  border: 1px solid white;
  border-radius: 16px;
  padding: 13px 15px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: #385570;
  gap: 10px;
}
.about-gallery__caption > span {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  background: #e7f7ff;
  color: #19a3c7;
  border-radius: 50%;
  flex-shrink: 0;
  font-size: 20px;
}
.about-message {
  display: flex;
  align-items: center;
  gap: 25px;
  border-top: 1px solid #e3edf6;
  padding-top: 35px;
  padding-bottom: 55px;
}
.about-message > .icon {
  width: 45px;
  height: 45px;
  color: #1ba8ca;
  flex-shrink: 0;
}
.about-message h2 {
  font-size: 24px;
  font-weight: 400;
  margin-bottom: 15px;
}
.about-message p {
  font-size: 13px;
  line-height: 1.9;
  color: var(--color-muted);
  max-width: 800px;
}
.about-message > a {
  margin-left: auto;
  font-size: 12px;
  line-height: 1.8;
  white-space: nowrap;
  color: #368fb5;
  font-weight: 600;
}
.page-about .service-request {
  margin-bottom: 55px;
}
.page-about #request-service {
  font-size: 13px;
}
.about-viewer {
  width: min(980px, 94vw);
  max-height: 94dvh;
  padding: 22px;
  border: 1px solid #deedf7;
  border-radius: 25px;
  background: #fff;
  color: var(--color-ink);
  box-shadow: 0 30px 90px #15335040;
}
.about-viewer::backdrop {
  background: #102945c4;
  backdrop-filter: blur(6px);
}
.about-viewer__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}
.about-viewer h2 {
  font-size: 20px;
  font-weight: 400;
  line-height: 1.4;
}
.about-viewer button {
  width: 40px;
  height: 40px;
  border: 0;
  background: #edf7ff;
  color: #4693b9;
  border-radius: 50%;
  font: inherit;
  font-size: 22px;
  cursor: pointer;
  flex-shrink: 0;
}
.about-viewer__image {
  display: block;
  width: 100%;
  height: min(69dvh, 750px);
  object-fit: contain;
  margin: 15px 0;
}
.about-viewer__controls {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 28px;
}
.about-viewer__controls span {
  font-size: 12px;
  color: var(--color-muted);
}
@media (max-width: 1100px) {
  .about-hero {
    gap: 45px;
    padding: 45px 5%;
  }
  .about-values {
    padding: 35px;
  }
  .about-values__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .about-story {
    gap: 40px;
  }
  .about-care {
    gap: 35px;
  }
  .about-care__photos img {
    height: 300px;
  }
  .about-message {
    flex-wrap: wrap;
  }
  .about-message > div {
    flex: 1;
    min-width: 250px;
  }
  .about-message > a {
    margin-left: 70px;
  }
}
@media (max-width: 760px) {
  .about-hero {
    grid-template-columns: minmax(0, 1fr);
    padding: 35px 26px;
    gap: 35px;
  }
  .about-hero h1 {
    font-size: clamp(38px, 7vw, 50px);
    letter-spacing: -1.7px;
  }
  .about-hero .eyebrow {
    font-size: 10px;
  }
  .about-hero__copy > p:not(.eyebrow) {
    font-size: 14px;
  }
  .about-hero__visual {
    height: 390px;
    border-radius: 70px 25px 25px 25px;
  }
  .about-hero__visual > img {
    border-radius: 62px 18px 18px 18px;
  }
  .about-hero__year {
    left: -12px;
    top: 20px;
    width: 85px;
    height: 85px;
  }
  .about-hero__year strong {
    font-size: 23px;
  }
  .about-story {
    grid-template-columns: 1fr;
    gap: 25px;
    padding-top: 45px;
    padding-bottom: 45px;
  }
  .about-story__text .about-story__lead {
    font-size: 15px;
  }
  .about-values {
    padding: 30px 22px;
  }
  .about-values__heading {
    text-align: left;
  }
  .about-values__grid {
    gap: 16px;
  }
  .about-value {
    padding: 22px;
  }
  .about-care {
    grid-template-columns: 1fr;
    gap: 25px;
    padding-top: 45px;
    padding-bottom: 45px;
  }
  .about-care__photos {
    padding-bottom: 0;
    gap: 15px;
  }
  .about-care__photos img {
    height: 290px;
    border-radius: 23px;
  }
  .about-care__photos img:last-child {
    margin-top: 30px;
  }
  .about-gallery__heading > p {
    display: none;
  }
  .about-gallery__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 15px;
  }
  .about-gallery__item {
    height: 290px;
    border-radius: 22px;
  }
  .about-gallery__caption {
    font-size: 10px;
    padding: 10px;
    left: 8px;
    right: 8px;
    bottom: 8px;
  }
  .about-gallery__caption > span {
    width: 23px;
    height: 23px;
    font-size: 17px;
  }
  .about-message {
    gap: 18px;
  }
  .about-message > div {
    min-width: 200px;
  }
  .about-message h2 {
    font-size: 22px;
  }
  .about-message > a {
    margin-left: 0;
  }
  .about-viewer {
    padding: 16px;
  }
  .about-viewer h2 {
    font-size: 16px;
  }
  .about-viewer__image {
    height: 65dvh;
  }
}
@media (max-width: 540px) {
  .about-values__grid {
    grid-template-columns: 1fr;
  }
  .about-value__icon {
    float: right;
    margin: 0 0 12px 15px;
  }
  .about-value h3 {
    font-size: 18px;
  }
  .about-value p {
    font-size: 13px;
  }
  .about-gallery__grid {
    grid-template-columns: 1fr;
  }
  .about-gallery__item {
    height: 380px;
  }
  .about-gallery__caption {
    font-size: 13px;
    padding: 14px;
  }
  .about-care__photos img {
    height: 240px;
  }
  .about-hero .button {
    font-size: 12px;
    max-width: 100%;
  }
}
@media (max-width: 370px) {
  .about-hero {
    padding: 30px 22px;
  }
  .about-hero h1 {
    font-size: 35px;
  }
  .about-hero .button {
    font-size: 10px;
    gap: 8px;
  }
  .about-hero__visual {
    height: 340px;
  }
  .about-hero__caption {
    padding: 14px;
  }
  .about-hero__caption strong {
    font-size: 14px;
  }
  .about-gallery__item {
    height: 340px;
  }
  .about-care__photos img {
    height: 210px;
  }
  .about-story h2,
  .about-care h2,
  .about-gallery h2 {
    font-size: 27px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .about-gallery__item > img {
    transition: none;
  }
}
