* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  height: 100%;
  width: 100%;
}

body {
  box-sizing: border-box;
  height: 100%;
  width: 100%;
  font-family: 'Montserrat', sans-serif;
  margin: 0;
  padding: 0;
  background: linear-gradient(135deg, #2d1b4e 0%, #4a2c5e 25%, #5d4a7c 50%, #3d2a52 75%, #2d1b4e 100%);
  overflow-x: hidden;
  overflow-y: auto;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
  color: transparent;
}

.heading-font {
  font-family: 'Cormorant Garamond', serif;
}

.page-wrapper {
  min-height: 100%;
  width: 100%;
  position: relative;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.container-lg {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

.container-md {
  max-width: 896px;
  margin: 0 auto;
  padding: 0 24px;
}

.card {
  background-color: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
}

.star {
  position: absolute;
  width: 2px;
  height: 2px;
  background: white;
  border-radius: 50%;
  opacity: 0.7;
  animation: twinkle 3s infinite;
}

.star--1 {
  top: 10%;
  left: 15%;
  animation-delay: 0s;
}

.star--2 {
  top: 20%;
  left: 80%;
  animation-delay: 1s;
}

.star--3 {
  top: 40%;
  left: 25%;
  animation-delay: 2s;
}

.star--4 {
  top: 60%;
  left: 70%;
  animation-delay: 1.5s;
}

.star--5 {
  top: 80%;
  left: 40%;
  animation-delay: 0.5s;
}

.star--6 {
  top: 15%;
  left: 50%;
  animation-delay: 2.5s;
}

.star--7 {
  top: 70%;
  left: 85%;
  animation-delay: 1.8s;
}

@keyframes twinkle {
  0%, 100% {
    opacity: 0.3;
  }

  50% {
    opacity: 1;
  }
}

.moon {
  position: absolute;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.15), rgba(180, 160, 200, 0.08));
  box-shadow: 0 0 40px rgba(221, 188, 255, 0.2);
  top: 10%;
  right: 10%;
  opacity: 0.6;
}

.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

@media (min-width: 768px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.gallery-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

@media (min-width: 768px) {
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.insurance-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.insurance-grid li {
  overflow-wrap: anywhere;
  word-break: break-word;
}

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

section {
  padding: 48px 24px;
}

@media (min-width: 768px) {
  section {
    padding: 64px 24px;
  }
}

.section-spacious {
  padding: 64px 24px;
}

.section-compact {
  padding: 32px 24px;
}

a {
  color: inherit;
  text-decoration: none;
  transition: opacity 0.3s ease;
}

a:hover {
  opacity: 0.8;
}

.service-card {
  padding: 24px;
  transition: transform 0.3s ease;
}

.service-card:hover {
  transform: scale(1.02);
}

.hero {
  text-align: center;
  padding: 64px 24px;
  position: relative;
}

.hero-title {
  font-size: 48px;
  font-weight: 300;
  margin-bottom: 16px;
  color: #ddbbff;
}

.hero-name {
  font-size: 24px;
  margin-bottom: 16px;
  color: #c4a7d9;
}

.hero-tagline {
  font-size: 20px;
  font-weight: 300;
  margin-bottom: 16px;
  color: #e8d9f5;
}

.hero-line {
  font-size: 18px;
  font-weight: 300;
  margin-bottom: 8px;
  color: #c4a7d9;
}

.hero-note {
  font-size: 16px;
  font-weight: 300;
  color: #e8d9f5;
}

.section-title {
  font-size: 40px;
  font-weight: 300;
  text-align: center;
  margin-bottom: 48px;
  color: #ddbbff;
}

.section-title-tight {
  margin-bottom: 24px;
}

.section-subtitle {
  font-size: 18px;
  margin-bottom: 32px;
  color: #e8d9f5;
}

.contact-card {
  width: 100%;
  max-width: 520px;
}

.contact-card-inner {
  padding: 32px;
  display: inline-block;
}

.contact-block {
  margin-bottom: 16px;
  color: #e8d9f5;
}

address.contact-block {
  font-style: normal;
}

.contact-text {
  font-size: 16px;
  margin-bottom: 4px;
  color: #e8d9f5;
}

.contact-text:last-child {
  margin-bottom: 0;
}

.contact-title {
  font-size: 20px;
  font-weight: 500;
  margin-bottom: 12px;
  color: #ddbbff;
}

.insurance-list {
  font-size: 14px;
  color: #c4a7d9;
  list-style: none;
  padding-left: 0;
  margin: 0;
}

.office-hours {
  list-style: none;
  padding-left: 0;
  margin: 0;
}

.office-hours li {
  margin-bottom: 4px;
}

.office-hours li:last-child {
  margin-bottom: 0;
}

.office-hours time {
  display: block;
  font-size: 16px;
  color: #e8d9f5;
}

.contact-link {
  display: block;
  overflow-wrap: anywhere;
  word-break: break-word;
  font-size: clamp(18px, 4vw, 24px);
  line-height: 1.4;
  color: #c4a7d9;
}

.contact-muted {
  font-size: 14px;
  color: #e8d9f5;
}

.media-card {
  overflow: hidden;
  border: none;
  background-color: rgba(255, 255, 255, 0.03);
}

.media-card.hero-media {
  height: 400px;
}

.pan-media {
  background-size: 100% auto;
  background-repeat: no-repeat;
  background-position: 50% 0%;
  animation: hero-pan 12s ease-in-out infinite alternate;
}

.media-card.hero-media {
  background-image: image-set(
    url("img/rainbow-hero.webp") type("image/webp"),
    url("img/rainbow-hero.jpg") type("image/jpeg")
  );
  background-size: cover;
}

@keyframes hero-pan {
  0% {
    background-position: 50% 0%;
  }
  100% {
    background-position: 50% 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .media-card.hero-media {
    animation: none;
  }

  .pan-media {
    animation: none;
  }
}

.media-card.gallery-media {
  height: 300px;
}

@media (min-width: 768px) {
  .media-card.gallery-media {
    height: 360px;
  }
}

.media-card.avatar-media {
  width: 250px;
  height: 250px;
}

.media-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pan-img {
  height: 120%;
  transform: translateY(0%);
  transform-origin: top center;
  will-change: transform;
  animation: gallery-pan 12s ease-in-out infinite alternate;
}

@keyframes gallery-pan {
  0% {
    transform: translateY(0%);
  }
  100% {
    transform: translateY(-16.6667%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .pan-img {
    animation: none;
  }
}

.service-icon {
  font-size: 32px;
  margin-bottom: 12px;
}

.service-title {
  font-size: 24px;
  font-weight: 500;
  margin-bottom: 12px;
  color: #ddbbff;
}

.service-text {
  font-size: 14px;
  line-height: 1.6;
  color: #c4a7d9;
}

.about-card {
  padding: 32px;
}

.about-subtitle {
  font-size: 18px;
  margin-bottom: 16px;
  color: #c4a7d9;
}

.about-body {
  font-size: 18px;
  line-height: 1.6;
  color: #e8d9f5;
}

.about-paragraph {
  margin-bottom: 24px;
}

.gallery-divider-icon {
  width: 200px;
  height: 60px;
}

.gallery-dot {
  fill: #c4a7d9;
  opacity: 0.5;
}

.gallery-dot--main {
  fill: #ddbbff;
  opacity: 0.6;
}

.footer {
  padding: 32px 24px;
  text-align: center;
}

.footer-text {
  font-size: 14px;
  color: #9b8aaa;
}

.footer-subtext {
  font-size: 12px;
  margin-top: 8px;
  color: #9b8aaa;
}

.text-center {
  text-align: center;
}

.flex-center {
  display: flex;
  justify-content: center;
}

.mt-24 {
  margin-top: 24px;
}

.mb-24 {
  margin-bottom: 24px;
}

.mb-32 {
  margin-bottom: 32px;
}

.mb-48 {
  margin-bottom: 48px;
}

@view-transition {
  navigation: auto;
}
