:root {
  --navy: #243753;
  --sage: #899586;
  --sage-dark: #65725f;
  --cream: #f8f5ef;
  --white: #fffdf8;
  --text: #2d3440;
  --muted: #6d746f;
  --shadow: 0 18px 50px rgba(36, 55, 83, 0.16);
  --radius: 26px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--cream);
  color: var(--text);
  font-family: Georgia, "Times New Roman", serif;
}

.topbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 50;
  padding: 18px 5%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo-link img {
  width: 74px;
  height: 74px;
  object-fit: contain;
  background: #fff;
  border-radius: 50%;
  background: var(--white);
  box-shadow: var(--shadow);
}

.menu-button {
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1px solid rgba(36, 55, 83, 0.25);
  background: rgba(255, 253, 248, 0.92);
  color: var(--navy);
  border-radius: 999px;
  padding: 12px 18px;
  cursor: pointer;
  box-shadow: var(--shadow);
}

.menu-word {
  font-family: Arial, sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.82rem;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  margin: 5px 0;
  background: var(--navy);
  transition: 0.25s ease;
}

.menu-button.active .hamburger span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-button.active .hamburger span:nth-child(2) {
  opacity: 0;
}

.menu-button.active .hamburger span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.drop-menu {
  position: fixed;
  top: 106px;
  right: 5%;
  width: min(330px, 90vw);
  display: none;
  padding: 18px;
  border-radius: 24px;
  background: rgba(255, 253, 248, 0.97);
  box-shadow: var(--shadow);
  border: 1px solid rgba(137, 149, 134, 0.28);
}

.drop-menu.open {
  display: block;
}

.drop-menu a {
  display: block;
  padding: 17px 18px;
  color: var(--navy);
  text-decoration: none;
  border-bottom: 1px solid rgba(137, 149, 134, 0.22);
  font-family: Arial, sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.85rem;
}

.drop-menu a:last-child {
  border-bottom: 0;
  background: var(--sage);
  color: white;
  border-radius: 999px;
  text-align: center;
  margin-top: 12px;
}

.home-hero {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 140px 6% 90px;
  background:
    linear-gradient(rgba(248,245,239,0.78), rgba(248,245,239,0.85)),
    url("assets/banner.png");
  background-size: cover;
  background-position: center;
}

.home-card {
  width: min(880px, 100%);
  text-align: center;
  padding: 48px 32px;
  border-radius: var(--radius);
  background: rgba(255, 253, 248, 0.9);
  box-shadow: var(--shadow);
  border: 1px solid rgba(137, 149, 134, 0.22);
}

.main-logo {
  width: min(240px, 70vw);
  border-radius: 50%;
  box-shadow: 0 12px 32px rgba(36, 55, 83, 0.14);
  margin-bottom: 24px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--sage-dark);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.82rem;
  font-family: Arial, sans-serif;
}

h1, h2, h3 {
  color: var(--navy);
  font-weight: 400;
  margin-top: 0;
}

h1 {
  font-size: clamp(3rem, 7vw, 6.25rem);
  line-height: 0.95;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

h2 {
  font-size: clamp(2.1rem, 4vw, 4rem);
  line-height: 1.05;
}

h3 {
  font-size: 1.45rem;
}

.home-card p,
.service-box p,
.about-text p,
.team-box p,
.book-section p {
  color: var(--muted);
  line-height: 1.7;
  font-size: 1.08rem;
}

.hero-buttons {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 26px;
}

.btn {
  display: inline-block;
  padding: 14px 24px;
  border-radius: 999px;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.10em;
  font-family: Arial, sans-serif;
  font-size: 0.84rem;
}

.primary {
  background: var(--sage);
  color: white;
}

.outline {
  border: 1px solid var(--navy);
  color: var(--navy);
  background: rgba(255, 255, 255, 0.5);
}

.section {
  padding: 90px 6%;
}

.section-title {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 36px;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.service-box,
.team-box,
.reviews blockquote,
.about-image {
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid rgba(137, 149, 134, 0.24);
  box-shadow: var(--shadow);
}

.service-box {
  padding: 30px;
  min-height: 240px;
}

.service-box span {
  display: inline-block;
  color: var(--sage-dark);
  letter-spacing: 0.14em;
  font-family: Arial, sans-serif;
  margin-bottom: 22px;
}

.about-section {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 38px;
  align-items: center;
  background: rgba(137, 149, 134, 0.12);
}

.about-image {
  overflow: hidden;
}

.about-image img {
  display: block;
  width: 100%;
  min-height: 380px;
  object-fit: contain;
  background: #fff;
}

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

.reviews blockquote {
  margin: 0;
  padding: 32px;
  line-height: 1.7;
  font-size: 1.12rem;
}

.reviews cite {
  display: block;
  margin-top: 18px;
  color: var(--sage-dark);
  font-style: normal;
}

.team-box {
  max-width: 880px;
  margin: 0 auto;
  padding: 30px;
  display: flex;
  gap: 26px;
  align-items: center;
}

.team-box img {
  width: 155px;
  height: 155px;
  object-fit: contain;
  background: #fff;
  border-radius: 50%;
}

.book-section {
  text-align: center;
  background: var(--white);
}

footer {
  padding: 42px 6%;
  text-align: center;
  background: var(--sage);
  color: white;
}

footer img {
  width: 90px;
  height: 90px;
  object-fit: contain;
  background: #fff;
  border-radius: 50%;
  margin-bottom: 14px;
}

footer p {
  margin: 6px 0;
}

@media (max-width: 980px) {
  .service-grid,
  .reviews,
  .about-section {
    grid-template-columns: 1fr;
  }

  .team-box {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 560px) {
  .topbar {
    padding: 14px 5%;
  }

  .logo-link img {
    width: 62px;
    height: 62px;
  }

  .drop-menu {
    top: 90px;
  }

  .home-hero {
    padding-top: 120px;
  }

  .home-card {
    padding: 34px 20px;
  }

  h1 {
    font-size: 2.75rem;
  }

  .section {
    padding: 70px 5%;
  }
}

.quote-section {
  background: rgba(255, 253, 248, 0.68);
}

.quote-disclaimer {
  max-width: 760px;
  margin: 0 auto;
  color: var(--muted);
  line-height: 1.7;
}

.quote-box {
  max-width: 1050px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 26px;
}

.quote-form,
.quote-results {
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid rgba(137, 149, 134, 0.24);
  box-shadow: var(--shadow);
  padding: 30px;
}

.quote-form label {
  display: block;
  color: var(--navy);
  font-family: Arial, sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.78rem;
  margin-bottom: 10px;
}

.quote-form textarea,
.quote-form input {
  width: 100%;
  border: 1px solid rgba(137, 149, 134, 0.45);
  border-radius: 18px;
  padding: 16px;
  margin-bottom: 18px;
  background: #fff;
  color: var(--text);
  font-size: 1rem;
  font-family: Arial, sans-serif;
}

.quote-form textarea {
  resize: vertical;
}

.quote-results h3 {
  margin-bottom: 22px;
}

.quote-line,
.quote-total {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 16px 0;
  border-bottom: 1px solid rgba(137, 149, 134, 0.22);
  color: var(--muted);
}

.quote-total {
  border-bottom: 0;
  margin-top: 8px;
  font-size: 1.22rem;
  color: var(--navy);
}

.quote-line strong,
.quote-total strong {
  color: var(--navy);
  text-align: right;
}

#quoteNote {
  margin-top: 18px;
  color: var(--muted);
  line-height: 1.7;
  font-size: 0.98rem;
}

@media (max-width: 980px) {
  .quote-box {
    grid-template-columns: 1fr;
  }
}


/* Hide menu sections from the home page until someone clicks the menu */
.page-section {
  display: none;
}

.page-section.active-section {
  display: block;
}

.about-section.page-section.active-section {
  display: grid;
}

.home-hero.compact-home {
  min-height: 42vh;
  padding: 120px 6% 45px;
}

.home-hero.compact-home .home-card {
  transform: scale(0.92);
}

@media (max-width: 980px) {
  .about-section.page-section.active-section {
    display: grid;
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .home-hero.compact-home {
    min-height: 35vh;
    padding: 105px 5% 35px;
  }

  .home-hero.compact-home .home-card {
    transform: none;
  }
}

/* More interactive button/card behavior */
.btn, .menu-button, .back-home, .clickable-card {
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.btn:hover, .menu-button:hover, .back-home:hover, .clickable-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 55px rgba(36, 55, 83, 0.20);
}

.clickable-card {
  cursor: pointer;
}

.back-home {
  margin-bottom: 18px;
  padding: 10px 16px;
  border-radius: 999px;
  border: 1px solid rgba(36, 55, 83, 0.25);
  background: rgba(255, 253, 248, 0.9);
  color: var(--navy);
  font-family: Arial, sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.10em;
  font-size: 0.75rem;
  cursor: pointer;
}

.button-reset {
  border: 1px solid var(--navy);
  cursor: pointer;
  margin-left: 10px;
}

.hero-buttons .btn {
  cursor: pointer;
}

/* Fixed navigation behavior */
[data-page] {
  cursor: pointer;
}

.page-section {
  display: none;
}

.page-section.active-section {
  display: block;
  animation: fadeInSection 0.25s ease;
}

.about-section.page-section.active-section {
  display: grid;
}

@keyframes fadeInSection {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Meet the Team photo upgrade */
.team-box {
  align-items: flex-start;
}

.team-box .team-photo {
  width: 280px;
  height: 360px;
  object-fit: contain;
  background: #fff;
  border-radius: 24px;
}

.team-box p + p {
  margin-top: 12px;
}

@media (max-width: 980px) {
  .team-box .team-photo {
    width: 100%;
    max-width: 360px;
    height: auto;
    aspect-ratio: 4 / 5;
  }
}

.delivery-note {
  margin-top: 18px;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* Contact section */
.contact-section {
  background: rgba(255, 253, 248, 0.72);
}

.contact-box {
  max-width: 720px;
  margin: 0 auto;
  background: var(--white);
  padding: 34px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  text-align: center;
  border: 1px solid rgba(137, 149, 134, 0.24);
}

.contact-box p {
  font-size: 1.1rem;
  margin: 10px 0;
}

.contact-box a {
  color: var(--navy);
}

.contact-actions {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin: 24px 0 10px;
}

.contact-note {
  margin-top: 15px;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

footer a {
  color: white;
}

.footer-form-link {
  display: inline-block;
  margin-top: 8px;
  text-decoration: underline;
}

/* Embedded Google Form */
.embedded-form-box {
  max-width: 850px;
  margin: 28px auto 0;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid rgba(137, 149, 134, 0.24);
  overflow: hidden;
}

.embedded-form-box iframe {
  display: block;
  background: white;
}

.form-backup-link {
  margin-top: 16px;
  color: var(--muted);
  font-size: 0.95rem;
}

.form-backup-link a {
  color: var(--navy);
}

.calculator-help {
  margin-top: -8px;
  margin-bottom: 18px;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.5;
}

/* Quote calculator accuracy prompt */
.calculator-help {
  margin-top: -8px;
  margin-bottom: 18px;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.5;
}

.quote-form textarea {
  min-height: 240px;
}
