/* Home Again Living — brand guide v1.0 */
:root {
  --sage: #8A9B85;
  --eucalyptus: #A6B29A;
  --stone: #EAE4DC;
  --oatmeal: #F7F4EF;
  --charcoal: #333333;
  --blush: #D8B0AE;
  --daisy: #D9B661;
  --radius: 8px;
  --radius-card: 14px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }

body {
  background: var(--oatmeal);
  color: var(--charcoal);
  font-family: 'Montserrat', sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.75;
}

img { max-width: 100%; display: block; }
a { color: var(--sage); }

.container { max-width: 1100px; margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 720px; }

h1, h2, h3 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 500;
  line-height: 1.2;
}
h1 { font-size: clamp(38px, 5.5vw, 56px); margin-bottom: 24px; }
h2 { font-size: clamp(30px, 4vw, 40px); margin-bottom: 18px; }
h3 { font-size: 26px; margin-bottom: 10px; }

.eyebrow {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--sage);
  margin-bottom: 16px;
}

.lead { font-size: 18px; max-width: 640px; }
.center { text-align: center; }
.center .lead { margin-left: auto; margin-right: auto; }

section { padding: 80px 0; }
.section-stone { background: var(--stone); }
.section-tight { padding: 56px 0; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(247, 244, 239, 0.94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(138, 155, 133, 0.18);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  padding-bottom: 14px;
}
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--charcoal); }
.brand-icon { width: 44px; height: auto; }
.brand-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 21px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.brand-name em { font-style: normal; color: var(--sage); }

.site-nav { display: flex; align-items: center; gap: 20px; }
.site-nav a:not(.btn) {
  text-decoration: none;
  color: var(--charcoal);
  white-space: nowrap;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.02em;
  padding: 4px 0;
  border-bottom: 2px solid transparent;
  transition: border-color 0.25s ease, color 0.25s ease;
}
.site-nav a:not(.btn):hover { color: var(--sage); }
.site-nav a.active { border-bottom-color: var(--sage); color: var(--sage); }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--charcoal);
  margin: 5px 0;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  background: var(--sage);
  color: #FFFFFF;
  text-decoration: none;
  font-family: 'Montserrat', sans-serif;
  font-weight: 500;
  font-size: 15px;
  padding: 14px 32px;
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  transition: background 0.3s ease;
}
.btn:hover, .btn:focus-visible { background: var(--eucalyptus); }
.btn:focus-visible { outline: 2px solid var(--charcoal); outline-offset: 3px; }
.btn-outline {
  background: transparent;
  color: var(--sage);
  border: 1.5px solid var(--sage);
}
.btn-outline:hover { background: var(--sage); color: #fff; }
.nav-cta { padding: 10px 20px; font-size: 13px; white-space: nowrap; }

/* ---------- Hero ---------- */
.hero { padding: 88px 0 96px; }
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 64px;
  align-items: center;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 32px; }

/* Organic photo frames — the site's signature shape */
.photo-frame { position: relative; }
.photo-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 58% 42% 45% 55% / 52% 48% 55% 45%;
}
.photo-frame::after {
  content: "";
  position: absolute;
  inset: -14px -14px auto auto;
  width: 110px;
  height: 110px;
  border: 1.5px solid var(--eucalyptus);
  border-radius: 58% 42% 45% 55% / 52% 48% 55% 45%;
  z-index: -1;
}
.photo-frame.soft img { border-radius: 46% 54% 52% 48% / 55% 45% 52% 48%; }
.photo-frame.portrait img { aspect-ratio: 4 / 5; }
.photo-frame.landscape img { aspect-ratio: 4 / 3; }

/* ---------- Lists ---------- */
.leaf-list { list-style: none; max-width: 620px; }
.leaf-list li {
  padding: 10px 0 10px 36px;
  position: relative;
  border-bottom: 1px solid rgba(138, 155, 133, 0.16);
}
.leaf-list li:last-child { border-bottom: none; }
.leaf-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 16px;
  width: 20px;
  height: 20px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 20 20' fill='none'%3E%3Cpath d='M16 4 C10 4.5 5.5 8 4.5 15.5 C12 14.5 15.5 10 16 4 Z' stroke='%238A9B85' stroke-width='1.3' stroke-linejoin='round'/%3E%3Cpath d='M5.5 14.5 C8.5 11.5 11.5 8.5 14.5 5.5' stroke='%238A9B85' stroke-width='1' stroke-linecap='round'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
}
.tick-list { list-style: none; }
.tick-list li { padding: 6px 0 6px 32px; position: relative; }
.tick-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 12px;
  width: 18px;
  height: 18px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 18 18' fill='none'%3E%3Cpath d='M3.5 9.5 L7.5 13.5 L14.5 5' stroke='%238A9B85' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
}

/* ---------- Cards ---------- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 24px;
  margin-top: 44px;
}
.card {
  background: #FFFFFF;
  border: 1px solid rgba(138, 155, 133, 0.16);
  border-radius: var(--radius-card);
  padding: 34px 30px;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 14px 34px rgba(51, 51, 51, 0.07); }
.card-icon { width: 44px; height: 44px; margin-bottom: 18px; }
.card p { font-size: 15px; flex: 1; }
.card .text-link { margin-top: 18px; }

.text-link {
  color: var(--sage);
  font-weight: 500;
  font-size: 14.5px;
  text-decoration: none;
  border-bottom: 1px solid var(--eucalyptus);
  padding-bottom: 2px;
  transition: color 0.25s ease;
}
.text-link:hover { color: var(--eucalyptus); }

/* Pricing cards */
.price-card { text-align: center; }
.price {
  font-family: 'Cormorant Garamond', serif;
  font-size: 44px;
  color: var(--sage);
  line-height: 1;
  margin: 10px 0 4px;
}
.price-meta { font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--sage); margin-bottom: 16px; }

/* ---------- Steps ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 32px;
  margin-top: 44px;
  counter-reset: step;
}
.step { text-align: center; }
.step-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 30px;
  color: var(--sage);
  width: 64px;
  height: 64px;
  border: 1.5px solid var(--eucalyptus);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  background: var(--oatmeal);
}
.step p { font-size: 15px; }

/* ---------- Two-column splits ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

/* ---------- Quote / reassurance bands ---------- */
.quote {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(24px, 3vw, 32px);
  font-style: italic;
  color: var(--sage);
}
.reassure {
  text-align: center;
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(22px, 3vw, 30px);
  letter-spacing: 0.04em;
}
.reassure span { color: var(--sage); }
.signoff {
  font-family: 'Parisienne', cursive;
  font-size: 32px;
  color: var(--sage);
}

/* Flower stem divider */
.divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin: 0 auto;
  padding: 8px 0;
}
.divider::before, .divider::after {
  content: "";
  display: block;
  width: 64px;
  height: 1px;
  background: var(--eucalyptus);
}

/* ---------- Service detail sections ---------- */
.service-block {
  background: #fff;
  border: 1px solid rgba(138, 155, 133, 0.16);
  border-radius: var(--radius-card);
  padding: 44px;
  margin-bottom: 28px;
}
.service-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 8px;
}
.service-head h2 { margin-bottom: 0; }
.service-price {
  font-family: 'Cormorant Garamond', serif;
  font-size: 34px;
  color: var(--sage);
  white-space: nowrap;
}
.service-duration { font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--sage); margin-bottom: 18px; }
.service-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; margin-top: 22px; }
.service-cols h3 { font-size: 21px; }
.service-block .btn { margin-top: 26px; }

/* ---------- FAQ ---------- */
.faq-item {
  background: #fff;
  border: 1px solid rgba(138, 155, 133, 0.16);
  border-radius: var(--radius-card);
  margin-bottom: 14px;
  overflow: hidden;
}
.faq-item summary {
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px;
  padding: 22px 56px 22px 28px;
  cursor: pointer;
  list-style: none;
  position: relative;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 26px;
  top: 50%;
  transform: translateY(-50%);
  font-family: 'Montserrat', sans-serif;
  font-size: 22px;
  font-weight: 400;
  color: var(--sage);
  transition: transform 0.3s ease;
}
.faq-item[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq-item .faq-body { padding: 0 28px 26px; font-size: 15px; }

/* ---------- Forms ---------- */
.form-card {
  background: #fff;
  border: 1px solid rgba(138, 155, 133, 0.16);
  border-radius: var(--radius-card);
  padding: 44px;
}
.form-row { margin-bottom: 22px; }
label { display: block; font-size: 13.5px; font-weight: 600; letter-spacing: 0.04em; margin-bottom: 8px; }
input[type="text"], input[type="email"], input[type="tel"], select, textarea {
  width: 100%;
  font-family: 'Montserrat', sans-serif;
  font-size: 15px;
  color: var(--charcoal);
  background: var(--oatmeal);
  border: 1px solid rgba(138, 155, 133, 0.35);
  border-radius: var(--radius);
  padding: 13px 16px;
}
input:focus, select:focus, textarea:focus {
  outline: 2px solid var(--sage);
  outline-offset: 1px;
  border-color: var(--sage);
}
textarea { min-height: 140px; resize: vertical; }
.hp { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }

/* File upload */
input[type="file"] {
  width: 100%;
  font-family: 'Montserrat', sans-serif;
  font-size: 14px;
  color: var(--charcoal);
  background: var(--oatmeal);
  border: 1px dashed rgba(138, 155, 133, 0.6);
  border-radius: var(--radius);
  padding: 14px 16px;
  cursor: pointer;
}
input[type="file"]:focus { outline: 2px solid var(--sage); outline-offset: 1px; border-color: var(--sage); }
input[type="file"]::file-selector-button {
  font-family: 'Montserrat', sans-serif;
  font-size: 13px;
  font-weight: 500;
  color: #fff;
  background: var(--sage);
  border: none;
  border-radius: 6px;
  padding: 9px 16px;
  margin-right: 14px;
  cursor: pointer;
  transition: background 0.3s ease;
}
input[type="file"]::file-selector-button:hover { background: var(--eucalyptus); }
.form-hint { font-size: 13px; color: #6b6b6b; margin-top: 8px; line-height: 1.55; }

/* ---------- CTA band ---------- */
.cta-band { text-align: center; }
.cta-band .btn { margin-top: 26px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--stone); padding: 64px 0 0; margin-top: 40px; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.8fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
}
.footer-grid h4 {
  font-family: 'Montserrat', sans-serif;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--sage);
  margin-bottom: 16px;
}
.footer-grid p, .footer-grid a { font-size: 14.5px; }
.footer-grid ul { list-style: none; }
.footer-grid li { margin-bottom: 8px; }
.footer-grid a { color: var(--charcoal); text-decoration: none; }
.footer-grid a:hover { color: var(--sage); }
.footer-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.footer-brand img { width: 48px; }
.footer-bottom {
  border-top: 1px solid rgba(138, 155, 133, 0.25);
  text-align: center;
  padding: 20px 24px;
  font-size: 12.5px;
  letter-spacing: 0.04em;
  opacity: 0.7;
}

/* ---------- Blog ---------- */
.post-meta { font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--sage); margin-bottom: 18px; }
.post-body p { margin-top: 16px; }
.post-body h2 { margin-top: 44px; }
.post-body h3 { margin-top: 28px; }
.post-body ul, .post-body ol { margin-top: 12px; padding-left: 22px; }
.post-body li { margin-bottom: 8px; }
.post-card .post-meta { margin-bottom: 10px; }

/* ---------- Reveal on scroll ---------- */
html.js .fade {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.9s ease, transform 0.9s ease;
}
html.js .fade.visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  html.js .fade { opacity: 1; transform: none; transition: none; }
  .card, .btn, .faq-item summary::after { transition: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  section { padding: 60px 0; }
  .hero { padding: 56px 0 64px; }
  .hero-grid, .split { grid-template-columns: 1fr; gap: 40px; }
  .hero-grid .photo-frame { order: -1; max-width: 420px; margin: 0 auto; }
  .service-cols { grid-template-columns: 1fr; gap: 20px; }
  .footer-grid { grid-template-columns: 1fr; gap: 36px; }

  .nav-toggle { display: block; }
  .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--oatmeal);
    border-bottom: 1px solid rgba(138, 155, 133, 0.2);
    flex-direction: column;
    align-items: flex-start;
    padding: 12px 24px 24px;
    gap: 4px;
  }
  .site-nav.open { display: flex; }
  .site-nav a:not(.btn) { padding: 10px 0; font-size: 15px; width: 100%; }
  .site-nav a.active { border-bottom-color: transparent; }
  .nav-cta { margin-top: 12px; }
  .nav-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
  .nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}

@media (max-width: 480px) {
  .service-block, .form-card { padding: 30px 22px; }
  .hero-actions .btn { width: 100%; text-align: center; }
}

/* ---------- Nav "More" dropdown ---------- */
.site-nav { gap: 16px; }
.nav-more { position: relative; }
.nav-more > summary {
  list-style: none;
  cursor: pointer;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--charcoal);
  padding: 4px 0;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  white-space: nowrap;
  border-bottom: 2px solid transparent;
  transition: color 0.25s ease;
}
.nav-more > summary::-webkit-details-marker { display: none; }
.nav-more > summary::after { content: "\25BE"; font-size: 10px; color: var(--sage); }
.nav-more > summary:hover { color: var(--sage); }
.nav-more[open] > summary { color: var(--sage); }
.nav-more-panel {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  background: var(--oatmeal);
  border: 1px solid rgba(138, 155, 133, 0.2);
  border-radius: var(--radius);
  box-shadow: 0 12px 30px rgba(51, 51, 51, 0.09);
  padding: 8px;
  min-width: 184px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  z-index: 60;
}
/* invisible bridge so hover doesn't drop in the gap above the panel */
.nav-more-panel::before {
  content: "";
  position: absolute;
  top: -12px;
  left: 0;
  right: 0;
  height: 12px;
}
.nav-more-panel a {
  padding: 9px 12px !important;
  border-radius: 6px;
  white-space: nowrap;
  border-bottom: none !important;
}
.nav-more-panel a:hover { background: var(--stone); color: var(--sage); }
.nav-more-panel a.active { color: var(--sage); background: var(--stone); }

/* ---------- Footer social ---------- */
.footer-social { display: flex; align-items: center; gap: 14px; }
.footer-social a { display: inline-flex; color: var(--sage); transition: color 0.25s ease; }
.footer-social a:hover { color: var(--eucalyptus); }
.footer-social svg { display: block; width: 22px; height: 22px; }

@media (max-width: 900px) {
  .nav-more { width: 100%; }
  .nav-more > summary { padding: 10px 0; font-size: 15px; width: 100%; }
  .nav-more-panel {
    position: static;
    box-shadow: none;
    border: none;
    background: transparent;
    padding: 2px 0 6px 14px;
    min-width: 0;
  }
  .nav-more-panel a { padding: 8px 0 !important; font-size: 14px; }
}

/* ---------- Testimonials ---------- */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 44px;
}
.testimonial {
  background: #fff;
  border: 1px solid rgba(138, 155, 133, 0.16);
  border-radius: var(--radius-card);
  padding: 32px 30px;
  display: flex;
  flex-direction: column;
}
.testimonial-quote { font-size: 15.5px; font-style: italic; flex: 1; }
.testimonial-quote::before {
  content: "\201C";
  font-family: 'Cormorant Garamond', serif;
  font-size: 44px;
  color: var(--eucalyptus);
  display: block;
  line-height: 0.5;
  margin-bottom: 10px;
}
.testimonial-stars { color: var(--daisy); letter-spacing: 2px; margin-top: 16px; font-size: 14px; }
.testimonial-author { margin-top: 8px; font-weight: 600; font-size: 14px; }
.testimonial-meta { font-size: 13px; color: var(--sage); }

/* ---------- Cookie banner ---------- */
.cookie-banner {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  max-width: 720px;
  margin: 0 auto;
  background: #fff;
  border: 1px solid rgba(138, 155, 133, 0.3);
  border-radius: var(--radius-card);
  box-shadow: 0 14px 40px rgba(51, 51, 51, 0.16);
  padding: 20px 22px;
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  z-index: 200;
}
.cookie-text { font-size: 14px; line-height: 1.6; flex: 1 1 320px; margin: 0; }
.cookie-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.cookie-banner .btn { padding: 10px 24px; font-size: 14px; }
@media (max-width: 480px) {
  .cookie-actions { width: 100%; }
  .cookie-banner .btn { flex: 1; text-align: center; }
}
