:root {
  --ink: #17212b;
  --navy: #18324a;
  --teal: #0f766e;
  --teal-dark: #0b5e58;
  --amber: #d79022;
  --brick: #9b2f23;
  --paper: #fffdf8;
  --soft: #f3eadb;
  --line: rgba(23, 33, 43, 0.14);
  --muted: #5f6872;
  --whatsapp: #1f9d55;
  --shadow: 0 22px 60px rgba(23, 33, 43, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--ink);
  background: var(--paper);
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 6vw;
  background: rgba(255, 253, 248, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 18px;
}

.logo span {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border-radius: 8px;
  color: white;
  background: var(--navy);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 20px;
  font-weight: 900;
}

nav {
  display: flex;
  align-items: center;
  gap: 26px;
  color: var(--muted);
  font-weight: 700;
}

nav a:hover {
  color: var(--teal);
}

.whatsapp-button,
.secondary-button,
.mini-whatsapp {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 14px 22px;
  border-radius: 6px;
  font-weight: 800;
  line-height: 1.1;
  text-align: center;
}

.whatsapp-button {
  color: white;
  background: var(--whatsapp);
  box-shadow: 0 12px 24px rgba(31, 157, 85, 0.24);
}

.whatsapp-button:hover {
  background: #168346;
}

.secondary-button {
  color: var(--navy);
  border: 1px solid rgba(24, 50, 74, 0.28);
  background: rgba(255, 255, 255, 0.78);
}

.mini-whatsapp {
  min-height: 42px;
  margin: 0 22px 24px;
  padding: 12px 16px;
  color: white;
  background: var(--teal);
  font-size: 14px;
}

.mini-whatsapp:hover {
  background: var(--teal-dark);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: 56px;
  align-items: center;
  min-height: calc(100vh - 82px);
  padding: 64px 6vw;
  background:
    linear-gradient(135deg, rgba(243, 234, 219, 0.9), rgba(255, 253, 248, 0.88)),
    url("https://images.unsplash.com/photo-1507842217343-583bb7270b66?auto=format&fit=crop&w=1800&q=85") center/cover;
}

.hero-content {
  padding: 34px 0;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--brick);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  margin: 0;
  max-width: 780px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(58px, 8vw, 118px);
  line-height: 0.92;
}

h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(34px, 4vw, 58px);
  line-height: 1.04;
}

h3 {
  margin: 18px 0 8px;
  font-size: 22px;
}

.hero-copy {
  max-width: 650px;
  margin: 28px 0;
  color: #3c4853;
  font-size: 21px;
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.hero-panel {
  position: relative;
  min-height: 540px;
  overflow: hidden;
  border: 12px solid white;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.hero-panel img {
  width: 100%;
  height: 100%;
  min-height: 540px;
  object-fit: cover;
}

.hero-badge {
  position: absolute;
  right: 20px;
  bottom: 20px;
  max-width: 280px;
  padding: 18px;
  border-radius: 8px;
  color: white;
  background: rgba(24, 50, 74, 0.92);
}

.hero-badge strong,
.hero-badge span {
  display: block;
}

.hero-badge span {
  margin-top: 5px;
  color: rgba(255, 255, 255, 0.84);
}

.section {
  padding: 86px 6vw;
}

.section-heading {
  max-width: 780px;
  margin-bottom: 34px;
}

.section-heading p,
.contact-section p,
.offer-band p,
.book-card p,
.service-list p {
  color: var(--muted);
  line-height: 1.65;
}

.book-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.book-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  box-shadow: 0 16px 42px rgba(23, 33, 43, 0.09);
}

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

.book-card h3,
.book-card p {
  padding: 0 22px;
}

.book-card p {
  margin-bottom: 18px;
}

.offer-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 54px 6vw;
  color: white;
  background: linear-gradient(135deg, var(--navy), var(--teal-dark));
}

.offer-band .eyebrow,
.offer-band p {
  color: #ffd482;
}

.offer-band h2 {
  max-width: 820px;
}

.services {
  background: var(--soft);
}

.service-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}

.service-list div {
  padding: 26px 0 0;
  border-top: 3px solid var(--amber);
}

.service-list span {
  color: var(--brick);
  font-weight: 900;
}

.contact-section {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 28px;
  align-items: center;
  padding: 74px 6vw;
  background: #eef7f5;
}

.large-button {
  min-width: 260px;
}

.floating-whatsapp {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 30;
  display: grid;
  width: 64px;
  height: 64px;
  place-items: center;
  border-radius: 50%;
  color: white;
  background: var(--whatsapp);
  box-shadow: 0 14px 34px rgba(31, 157, 85, 0.36);
  font-weight: 900;
}

.opening-popup {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 24px;
  background:
    linear-gradient(rgba(23, 33, 43, 0.68), rgba(23, 33, 43, 0.68)),
    url("https://images.unsplash.com/photo-1524995997946-a1c2e315a42f?auto=format&fit=crop&w=1600&q=85") center/cover;
}

.opening-popup.is-hidden {
  display: none;
}

.popup-card {
  position: relative;
  width: min(620px, 100%);
  padding: 46px;
  border-radius: 8px;
  background: rgba(255, 253, 248, 0.97);
  box-shadow: var(--shadow);
  text-align: center;
}

.popup-card h2 {
  font-size: clamp(34px, 5vw, 56px);
}

.popup-card p:not(.eyebrow) {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.6;
}

.popup-close {
  position: absolute;
  top: 14px;
  right: 14px;
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 0;
  border-radius: 50%;
  color: white;
  background: var(--navy);
  cursor: pointer;
  font-size: 18px;
  font-weight: 900;
}

.popup-button {
  margin-top: 8px;
}

@media (max-width: 900px) {
  .site-header {
    flex-wrap: wrap;
  }

  nav {
    order: 3;
    width: 100%;
    justify-content: space-between;
    gap: 12px;
  }

  .hero,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 48px;
  }

  .hero-panel,
  .hero-panel img {
    min-height: 420px;
  }

  .book-grid,
  .service-list {
    grid-template-columns: 1fr;
  }

  .offer-band {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 560px) {
  .site-header {
    padding: 14px 5vw;
  }

  .logo strong {
    font-size: 16px;
  }

  .header-button {
    width: 100%;
  }

  nav a {
    font-size: 14px;
  }

  .hero,
  .section,
  .contact-section,
  .offer-band {
    padding-left: 5vw;
    padding-right: 5vw;
  }

  h1 {
    font-size: 52px;
  }

  .hero-copy {
    font-size: 18px;
  }

  .hero-actions,
  .hero-actions a,
  .contact-section a,
  .offer-band a,
  .mini-whatsapp {
    width: 100%;
  }

  .mini-whatsapp {
    margin-right: 22px;
    margin-left: 22px;
    width: calc(100% - 44px);
  }

  .hero-panel,
  .hero-panel img {
    min-height: 340px;
  }

  .hero-badge {
    right: 12px;
    bottom: 12px;
    left: 12px;
    max-width: none;
  }

  .popup-card {
    padding: 38px 22px 28px;
  }

  .floating-whatsapp {
    right: 16px;
    bottom: 16px;
    width: 58px;
    height: 58px;
  }
}
