:root {
  --background: oklch(0.985 0 0);
  --foreground: oklch(0.25 0.02 250);
  --card: oklch(1 0 0);
  --primary: oklch(0.45 0.12 250);
  --primary-foreground: oklch(1 0 0);
  --muted-foreground: oklch(0.5 0.02 250);
  --border: oklch(0.9 0.01 250);
  --radius: 0.625rem;
  --container-width: 1280px;
  --hero-from: rgb(219 234 254);
  --hero-via: rgb(239 246 255);
  --hero-to: rgb(219 234 254);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.10), 0 4px 6px -4px rgb(0 0 0 / 0.10);
  --shadow-md: 0 6px 16px -8px rgb(0 0 0 / 0.15);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--background);
  color: var(--foreground);
  font-family: 'Inter', system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img,
svg {
  display: block;
}

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

.site-shell {
  min-height: 100vh;
  background: var(--background);
}

.container {
  width: min(100%, var(--container-width));
  margin-inline: auto;
  padding-inline: 1rem;
}

.top-bar {
  background: var(--primary);
  color: var(--primary-foreground);
  padding-block: 0.5rem;
}

.top-bar__inner {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 1.5rem;
  font-size: 0.875rem;
  line-height: 1.25rem;
  flex-wrap: wrap;
}

.top-bar__item,
.contact-list__item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.top-bar__icon {
  width: 1rem;
  height: 1rem;
  flex: none;
}

.site-header {
  background: var(--card);
  border-bottom: 1px solid var(--border);
  padding-block: 1rem;
}

.site-header__inner,
.site-footer__inner {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.site-header__logo {
  width: 3rem;
  height: 3rem;
  color: var(--primary);
}

.site-header__title,
.site-header__name,
.hero__title,
.hero__name,
.section__title,
.card__title,
.contact__title,
.site-footer__text {
  font-family: 'Playfair Display', Georgia, serif;
}

.site-header__title {
  margin: 0;
  font-size: 1.25rem;
  line-height: 1.75rem;
  font-weight: 600;
}

.site-header__name {
  margin: 0;
  color: var(--primary);
}

.hero {
  position: relative;
  overflow: hidden;
  background-image: linear-gradient(135deg, var(--hero-from), var(--hero-via), var(--hero-to));
}

.hero__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
  padding-block: 4rem;
}

.hero__content,
.hero__media {
  width: 100%;
  flex: 1 1 0%;
}

.hero__content {
  position: relative;
  z-index: 1;
}

.hero__title {
  margin: 0 0 0.5rem;
  font-size: 1.875rem;
  line-height: 2.25rem;
  font-weight: 400;
}

.hero__name {
  margin: 0 0 1.5rem;
  color: var(--primary);
  font-size: 1.5rem;
  line-height: 2rem;
}

.hero__text,
.section__intro,
.section__body-text,
.card__text,
.contact-list {
  color: var(--muted-foreground);
}

.hero__text {
  margin: 0;
  font-size: 1.125rem;
  line-height: 1.75rem;
}

.hero__image {
  width: 100%;
  max-width: 500px;
  height: auto;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
}

.section {
  padding-block: 4rem;
}

.section--card {
  background: var(--card);
}

.section--compact {
  padding-block: 3rem;
}

.section--with-border {
  border-top: 1px solid var(--border);
}

.section__title {
  margin: 0 0 1rem;
  font-size: 1.5rem;
  line-height: 2rem;
  font-weight: 400;
}

.section__title--small,
.contact__title {
  font-size: 1.25rem;
  line-height: 1.75rem;
}

.section__intro {
  margin: 0 0 2rem;
}

.section__body-text {
  margin: 0 0 0.125rem;
}

.cards-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: box-shadow 180ms ease;
}

.card:hover {
  box-shadow: var(--shadow-md);
}

.card__body {
  padding: 1.5rem 1.5rem 1.5rem;
  text-align: center;
}

.card__icon-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: 1rem;
}

.icon-illustration {
  width: 3rem;
  height: 3rem;
  color: var(--primary);
}

.card__title {
  margin: 0 0 0.5rem;
  font-size: 1.125rem;
  line-height: 1.75rem;
  font-weight: 600;
}

.card__text {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.25rem;
}

.contact__title {
  margin: 0 0 1.5rem;
  color: var(--primary);
  font-weight: 400;
}

.contact-list {
  display: grid;
  gap: 0.75rem;
}

.contact-list__item {
  color: var(--muted-foreground);
}

.contact-list__item--start {
  align-items: flex-start;
}

.contact-list__icon {
  width: 1.25rem;
  height: 1.25rem;
  color: var(--primary);
  flex: none;
}

.contact-list__icon--top {
  margin-top: 0.125rem;
}

.contact-list__number {
  font-weight: 500;
  color: inherit;
}

.contact-list__hours {
  margin-left: 1rem;
}

.site-footer {
  padding-block: 2rem;
  background: var(--card);
  border-top: 1px solid var(--border);
}

.site-footer__logo {
  width: 2.5rem;
  height: 2.5rem;
  color: var(--primary);
}

.site-footer__text {
  margin: 0;
  color: var(--primary);
  font-size: 1rem;
  line-height: 1.5rem;
  font-weight: 600;
}

@media (min-width: 640px) {
  .cards-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 768px) {
  .hero__inner {
    flex-direction: row;
  }

  .hero__title {
    font-size: 2.25rem;
    line-height: 2.5rem;
  }

  .hero__name {
    font-size: 1.875rem;
    line-height: 2.25rem;
  }

  .section__title {
    font-size: 1.875rem;
    line-height: 2.25rem;
  }

  .section__title--small,
  .contact__title {
    font-size: 1.5rem;
    line-height: 2rem;
  }
}

@media (min-width: 1024px) {
  .cards-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .top-bar__inner {
    justify-content: flex-start;
    gap: 0.5rem 1rem;
  }

  .contact-list__hours {
    display: block;
    margin-left: 0;
    margin-top: 0.25rem;
  }
}
