:root {
  --plum: #725068;
  --plum-dark: #65485d;
  --plum-light: #8c6a83;
  --cream: #f2ede4;
  --cream-soft: #f7f3ee;
  --ink: #27403d;
  --text-light: #fbf4ed;
  --line: #d8bfef;
  --shadow: 0 18px 38px rgba(54, 34, 49, 0.12);
  --container: 1330px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Montserrat", Arial, sans-serif;
  color: var(--ink);
  background: var(--cream);
  overflow-x: hidden;
}

img {
  display: block;
  max-width: 100%;
}

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

button,
input,
textarea {
  font: inherit;
}

.container {
  width: min(calc(100% - 2rem), var(--container));
  margin: 0 auto;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 600;
}

p {
  margin: 0;
}

.site-header {
  background: var(--plum);
  color: var(--text-light);
}

.header-inner {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: clamp(1.5rem, 4vw, 4.5rem);
  min-height: 168px;
}

.brand {
  display: flex;
  align-items: center;
  justify-self: start;
  flex-shrink: 0;
}

.brand img {
  width: 475px;
  height: auto;
  object-fit: contain;
}

.site-nav {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: center;
  gap: clamp(0.8rem, 2.4vw, 2.6rem);
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.15rem;
  text-align: center;
}

.site-nav a {
  justify-self: center;
}

.book-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 132px;
  padding: 0.78rem 1.35rem;
  border-radius: 999px;
  background: var(--cream);
  color: var(--plum-dark);
  box-shadow: 0 14px 30px rgba(38, 25, 35, 0.18);
  font-weight: 700;
  font-size: 1.1rem;
}

.hero-section {
  position: relative;
  overflow: hidden;
  background: var(--plum);
  color: var(--text-light);
  padding: 2.2rem 0 3.8rem;
}

.hero-section::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(86, 55, 77, 0.9) 0%, rgba(86, 55, 77, 0.68) 48%, rgba(86, 55, 77, 0.34) 100%),
    rgba(44, 27, 39, 0.18);
}

.hero-background {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center;
  filter: saturate(0.96) contrast(1.04);
}

.hero-layout {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  min-height: 590px;
}

.hero-copy {
  padding: 2rem 0 2rem 1.2rem;
  max-width: 560px;
}

.hero-copy h1 {
  max-width: 540px;
  font-size: clamp(3.4rem, 7vw, 5.9rem);
  line-height: 0.9;
}

.hero-copy p {
  max-width: 500px;
  margin: 1.6rem 0 1.35rem;
  font-size: 1rem;
  line-height: 1.55;
}

.hero-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 190px;
  margin-top: 1rem;
  padding: 0.95rem 1.6rem;
  border-radius: 999px;
  background: var(--cream);
  color: var(--plum-dark);
  font-weight: 700;
}

.hero-image-wrap img {
  width: 100%;
  min-height: 700px;
  border-radius: 34px;
  object-fit: cover;
  box-shadow: 0 28px 70px rgba(33, 24, 31, 0.3);
}

.services-section {
  padding: 3rem 0 4rem;
  background: var(--cream);
}

.section-title h2 {
  margin-bottom: 2.2rem;
  color: var(--ink);
  font-size: clamp(3.2rem, 6vw, 5rem);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.9rem;
}

.service-card {
  background: #f7f3ed;
  border: 1px solid #caa5f2;
  border-radius: 28px;
  box-shadow: 0 24px 54px rgba(75, 51, 68, 0.15);
  overflow: hidden;
}

.service-card img {
  width: 100%;
  height: 338px;
  object-fit: cover;
}

.service-body {
  padding: 2rem 2rem 2.2rem;
  text-align: center;
}

.service-body h3 {
  color: #173437;
  font-size: 2rem;
  line-height: 1.05;
}

.service-divider {
  width: 100%;
  height: 1px;
  margin: 1.6rem 0 0;
  background: #e8ddd1;
}

.service-body p {
  margin-bottom: 0.7rem;
  color: #284246;
  font-size: 1rem;
}

.service-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 1.5rem;
  padding: 0.8rem 1.35rem;
  border: 1px solid #b355ff;
  border-radius: 999px;
  color: #9d33ff;
  text-transform: uppercase;
  font-size: 0.9rem;
}

.about-section {
  padding: 2.6rem 0 3.8rem;
  background: var(--plum);
  color: var(--text-light);
}

.about-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.2rem;
  align-items: start;
}

.section-chip {
  display: inline-block;
  margin-bottom: 1.7rem;
  padding: 0.3rem 0.7rem;
  border-radius: 10px;
  background: #d5e1ff;
  color: #2040b9;
  font-size: 0.95rem;
}

.about-copy {
  padding: 1rem 1rem 0;
  max-width: 1120px;
}

.about-copy p {
  max-width: 720px;
  margin-bottom: 1.15rem;
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.55;
}

.about-image-wrap {
  margin: 1.4rem 0 1.45rem;
}

.about-image-wrap img {
  width: 50%;
  aspect-ratio: 1;
  height: auto;
  max-height: 320px;
  margin: 0 auto;
  border-radius: 50%;
  object-fit: cover;
  object-position: center;
  box-shadow: 0 28px 70px rgba(33, 24, 31, 0.28);
}

@media (min-width: 1081px) {
  .about-image-wrap {
    float: right;
    width: 250px;
    margin: 0.2rem 7rem 1.4rem 2.4rem;
  }

  .about-image-wrap img {
    width: 100%;
    max-height: none;
  }
}

.contact-section {
  padding: 4.2rem 0 3rem;
  background: #e8e2d7;
}

.contact-layout {
  display: grid;
  grid-template-columns: 0.88fr 1.12fr;
  gap: 4.5rem;
  align-items: start;
}

.contact-card {
  padding: 1.7rem;
  background: rgba(255, 255, 255, 0.6);
}

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.1rem;
}

.contact-card label {
  display: block;
  margin-bottom: 1.45rem;
}

.contact-card span {
  display: block;
  margin-bottom: 0.6rem;
  color: #3c5558;
  font-size: 0.95rem;
}

.contact-card input,
.contact-card textarea {
  width: 100%;
  border: 1px solid #cf9eff;
  background: #fbfaf7;
  padding: 0.95rem 1rem;
  color: var(--ink);
  outline: none;
}

.contact-card textarea {
  resize: vertical;
  min-height: 120px;
}

.send-button {
  width: 100%;
  border: 0;
  padding: 1rem 1.2rem;
  border-radius: 999px;
  background: linear-gradient(90deg, #8f2de2, #b53cff);
  color: white;
  text-transform: uppercase;
  cursor: pointer;
}

.contact-copy h2 {
  color: var(--ink);
  font-size: clamp(3rem, 6vw, 4.8rem);
  line-height: 0.9;
}

.contact-rule {
  width: 82px;
  height: 2px;
  margin: 1rem 0 2.2rem;
  background: #556362;
}

.contact-block {
  margin-bottom: 2rem;
}

.contact-label {
  display: block;
  margin-bottom: 0.6rem;
  color: #4c6160;
  text-transform: uppercase;
  font-size: 0.92rem;
}

.contact-block p {
  margin-bottom: 0.4rem;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.55rem;
  color: #173c40;
}

.map-card {
  position: relative;
  height: 350px;
  margin-top: 2rem;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.75) 0 3px, transparent 3px 100%),
    linear-gradient(rgba(255, 255, 255, 0.75) 0 3px, transparent 3px 100%),
    linear-gradient(135deg, #dce7ec, #b8d5df);
  background-size: 72px 72px, 72px 72px, cover;
}

.map-grid {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(94, 132, 144, 0.12) 1px, transparent 1px),
    linear-gradient(rgba(94, 132, 144, 0.12) 1px, transparent 1px);
  background-size: 28px 28px;
}

.map-pin {
  position: absolute;
  right: 22%;
  bottom: 28%;
  width: 28px;
  height: 28px;
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
  background: #e05d52;
}

.map-pin::after {
  content: "";
  position: absolute;
  inset: 7px;
  border-radius: 50%;
  background: white;
}

.map-note {
  position: absolute;
  left: 1.25rem;
  top: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  max-width: 250px;
  padding: 1rem 1.1rem;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow);
}

.map-note strong {
  color: #243d41;
}

.map-note span {
  color: #4b6165;
  line-height: 1.45;
}

.site-footer {
  padding: 3rem 0 2.2rem;
  background: var(--plum);
  color: var(--text-light);
}

.footer-top {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 2rem;
  align-items: start;
}

.footer-brand img {
  width: 475px;
  max-width: 100%;
  margin-bottom: 1rem;
}

.footer-brand p,
.footer-column p {
  font-size: 0.98rem;
  line-height: 1.45;
}

.footer-column h3 {
  margin-bottom: 1rem;
  font-size: 1.2rem;
  text-transform: uppercase;
}

.footer-divider {
  height: 2px;
  margin: 3rem auto 0;
  background: #8d32ff;
}

.footer-bottom h2 {
  font-size: clamp(4rem, 8vw, 6.4rem);
  line-height: 0.92;
  color: #fbf4ed;
}

@media (max-width: 1080px) {
  .hero-layout,
  .services-grid,
  .about-layout,
  .contact-layout,
  .footer-top {
    grid-template-columns: 1fr;
  }

  .header-inner {
    grid-template-columns: auto minmax(0, 1fr);
    gap: 1rem;
    padding: 1rem 0 1.4rem;
  }

  .brand img {
    width: 375px;
  }

  .hero-copy,
  .about-copy {
    padding-left: 0;
  }

  .hero-image-wrap img {
    min-height: 0;
    max-height: 620px;
  }
}

@media (max-width: 720px) {
  .container {
    width: min(calc(100% - 1.4rem), var(--container));
  }

  .site-nav {
    display: grid;
    grid-template-columns: repeat(3, auto);
    align-items: center;
    justify-content: space-between;
    grid-column: 2 / 5;
    font-size: 0.82rem;
  }

  .header-inner {
    width: calc(100% - 0.8rem);
    display: grid;
    grid-template-columns: 118px 1fr 1fr auto;
    align-items: center;
    height: auto;
    min-height: 0;
    padding: 0.85rem 0 1rem;
  }

  .brand {
    position: static;
    transform: none;
  }

  .brand img {
    width: 132px;
  }

  .book-link {
    min-width: 0 !important;
    max-width: none;
    width: max-content;
    padding: 0.48rem 0.5rem;
    font-size: 0.78rem;
    white-space: nowrap;
  }

  .hero-section {
    padding: 1rem 0 2.2rem;
  }

  .hero-section::before {
    background:
      linear-gradient(180deg, rgba(86, 55, 77, 0.92) 0%, rgba(86, 55, 77, 0.76) 58%, rgba(86, 55, 77, 0.5) 100%),
      rgba(44, 27, 39, 0.22);
  }

  .hero-layout {
    min-height: 620px;
  }

  .hero-copy {
    padding-top: 0.65rem;
    min-width: 0;
  }

  .hero-copy h1 {
    max-width: 340px;
    font-size: clamp(3.15rem, 16vw, 4rem);
    line-height: 0.94;
  }

  .hero-copy p {
    max-width: 350px;
    margin: 1.2rem 0 1rem;
    font-size: 0.96rem;
    line-height: 1.48;
  }

  .hero-button {
    margin-top: 0.65rem;
    min-width: 170px;
    padding: 0.82rem 1.35rem;
    font-size: 0.95rem;
  }

  .hero-image-wrap img {
    border-radius: 24px;
  }

  .field-row {
    grid-template-columns: 1fr;
  }

  .service-card img {
    height: 280px;
  }

  .about-copy p {
    font-size: 0.96rem;
    line-height: 1.52;
  }

  .footer-bottom h2 {
    font-size: 3.4rem;
  }
}
