/* Spring Wells Day Spa — shared stylesheet */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@500;600&family=Inter:wght@400;500&display=swap');

:root {
  --bg: #FAF7F2;
  --text: #2B2825;
  --accent: #6E7F5C;
  --accent-light: #E7EBE1;
  --divider: rgba(43, 40, 37, 0.15);
  --max-width: 1080px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', 'Work Sans', sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-family: 'Playfair Display', 'Cormorant', serif;
  font-weight: 600;
  line-height: 1.2;
  margin: 0 0 0.5em;
}

h1 { font-size: clamp(2.25rem, 5vw, 3.25rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.1rem); }
h3 { font-size: 1.2rem; font-weight: 600; }

p {
  margin: 0 0 1em;
}

a {
  color: inherit;
}

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

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Header / Nav */

.site-header {
  border-bottom: 1px solid var(--divider);
  background: var(--bg);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1.25rem;
  padding-bottom: 1.25rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-family: 'Playfair Display', serif;
  font-size: 1.7rem;
  text-decoration: none;
  color: var(--text);
}

.logo-mark {
  width: 90px;
  height: auto;
  flex-shrink: 0;
}

.logo-word {
  display: none;
}

@media (min-width: 640px) {
  .logo-word {
    display: inline;
  }
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.nav-toggle svg {
  width: 24px;
  height: 24px;
  stroke: var(--text);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.main-nav ul {
  display: flex;
  list-style: none;
  gap: 2rem;
  margin: 0;
  padding: 0;
}

.main-nav a {
  text-decoration: none;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  padding-bottom: 0.25rem;
  border-bottom: 1px solid transparent;
}

.main-nav a:hover,
.main-nav a[aria-current="page"] {
  border-bottom-color: var(--accent);
}

.btn {
  display: inline-block;
  background: var(--accent);
  color: #FAF7F2;
  text-decoration: none;
  padding: 0.65rem 1.4rem;
  border-radius: 2px;
  font-size: 0.9rem;
  letter-spacing: 0.02em;
  border: 1px solid var(--accent);
}

.btn:hover {
  background: transparent;
  color: var(--accent);
}

.btn-outline {
  display: inline-block;
  background: transparent;
  color: var(--accent);
  text-decoration: none;
  padding: 0.65rem 1.4rem;
  border-radius: 2px;
  font-size: 0.9rem;
  letter-spacing: 0.02em;
  border: 1px solid var(--accent);
}

.btn-outline:hover {
  background: var(--accent);
  color: #FAF7F2;
}

.call-text {
  font-size: 0.95rem;
  color: var(--text);
}

.mobile-only {
  display: none;
}

.desktop-only {
  display: inline;
}

@media (max-width: 640px) {
  .mobile-only {
    display: inline;
  }

  .mobile-only.btn {
    display: inline-block;
  }

  .desktop-only {
    display: none;
  }
}

/* Hero */

.hero {
  padding: 4rem 0 3rem;
  text-align: center;
}

.hero-image {
  width: 100%;
  height: clamp(220px, 40vw, 420px);
  object-fit: cover;
  margin-bottom: 2.5rem;
  border-radius: 2px;
}

.hero-tagline {
  max-width: 640px;
  margin: 0 auto 1.75rem;
  font-size: 1.1rem;
  color: rgba(43, 40, 37, 0.8);
}

/* Sections */

.section {
  padding: 3.5rem 0;
}

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

.section-intro {
  max-width: 640px;
  margin: 0 auto 2.5rem;
  text-align: center;
}

/* Service highlights (Home) */

.highlights {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
  text-align: center;
}

.highlight-icon {
  width: 40px;
  height: 40px;
  margin: 0 auto 1rem;
  stroke: var(--accent);
}

/* Services grid */

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  border-top: 1px solid var(--divider);
}

.service-card {
  padding: 2rem;
  border-bottom: 1px solid var(--divider);
}

.service-card:nth-child(odd) {
  border-right: 1px solid var(--divider);
}

.service-card .highlight-icon {
  margin: 0 0 1rem;
}

.service-card {
  text-align: left;
}

/* Pricing */

.pricing-list {
  max-width: 560px;
  margin: 0 auto;
  list-style: none;
  padding: 0;
  border-top: 1px solid var(--divider);
}

.pricing-list li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 1.1rem 0;
  border-bottom: 1px solid var(--divider);
}

.pricing-list .duration {
  font-size: 1.05rem;
}

.pricing-list .price {
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
  color: var(--accent);
}

.pricing-note {
  max-width: 560px;
  margin: 2rem auto 0;
  font-size: 0.9rem;
  color: rgba(43, 40, 37, 0.7);
  text-align: center;
}

/* Contact */

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

.contact-details dt {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(43, 40, 37, 0.6);
  margin-top: 1.5rem;
}

.contact-details dt:first-child {
  margin-top: 0;
}

.contact-details dd {
  margin: 0.25rem 0 0;
  font-size: 1.05rem;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}

.contact-form label {
  font-size: 0.85rem;
  letter-spacing: 0.02em;
  margin-bottom: 0.4rem;
  display: block;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  font-family: inherit;
  font-size: 1rem;
  color: var(--text);
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--divider);
  padding: 0.5rem 0;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-bottom-color: var(--accent);
}

.contact-form textarea {
  resize: vertical;
  min-height: 100px;
}

.contact-form button {
  align-self: flex-start;
  margin-top: 0.5rem;
  font-family: inherit;
  cursor: pointer;
}

.contact-form button:disabled {
  opacity: 0.6;
  cursor: default;
}

.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-status {
  margin: 0;
  font-size: 0.9rem;
  min-height: 1.2em;
}

.form-status-error {
  color: #a3453b;
}

.map-embed {
  margin-top: 3rem;
  padding-top: 3rem;
  border-top: 1px solid var(--divider);
  text-align: center;
}

.map-embed iframe {
  width: 100%;
  height: 320px;
  border: 1px solid var(--divider);
  margin-bottom: 1.5rem;
}

/* Footer */

.site-footer {
  border-top: 1px solid var(--divider);
  padding: 2.5rem 0;
  font-size: 0.9rem;
  color: rgba(43, 40, 37, 0.75);
}

.site-footer .container {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.site-footer a {
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--accent);
}

/* Responsive */

@media (max-width: 1024px) {
  .contact-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .nav-toggle {
    display: block;
  }

  .main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--divider);
    flex-direction: column;
    align-items: flex-start;
    padding: 1rem 1.5rem 1.5rem;
    display: none;
  }

  .main-nav.open {
    display: flex;
  }

  .main-nav ul {
    flex-direction: column;
    gap: 1rem;
    width: 100%;
  }

  .site-header {
    position: relative;
  }

  .highlights {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .service-card:nth-child(odd) {
    border-right: none;
  }

  .site-footer .container {
    flex-direction: column;
  }
}
