/* =========================================================================
   Graceful Home Living Space — Stylesheet
   Warm, refined, senior-friendly aesthetic
========================================================================= */

:root {
  --cream: #FAF6EE;
  --cream-2: #F5EFE6;
  --cream-3: #EFE8DA;
  --sage: #9CAF8B;
  --sage-dark: #768B68;
  --sage-darker: #5A7050;
  --sage-light: #C2D1B4;
  --sage-soft: #E5ECDB;
  --beige: #C8B89C;
  --charcoal: #2F3A2F;
  --text: #4A5246;
  --text-light: #7A8077;
  --border: #E8E4D9;
  --shadow-sm: 0 1px 2px rgba(58, 70, 50, 0.04);
  --shadow-md: 0 4px 12px rgba(58, 70, 50, 0.06), 0 2px 4px rgba(58, 70, 50, 0.03);
  --shadow-lg: 0 12px 24px rgba(58, 70, 50, 0.08), 0 4px 8px rgba(58, 70, 50, 0.04);
  --radius: 8px;
  --radius-lg: 16px;
  --container: 1140px;
}

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--sage-dark); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--sage-darker); }

h1, h2, h3 {
  font-family: 'Cormorant Garamond', 'Playfair Display', Georgia, serif;
  font-weight: 500;
  color: var(--charcoal);
  line-height: 1.15;
  letter-spacing: -0.005em;
}
h1 { font-size: clamp(2.5rem, 5.5vw, 4rem); font-weight: 500; }
h2 { font-size: clamp(2rem, 4vw, 2.75rem); margin-bottom: 1rem; font-weight: 500; }
h3 { font-size: 1.4rem; margin-bottom: 0.75rem; font-weight: 600; font-family: 'Inter', sans-serif; color: var(--charcoal); letter-spacing: -0.01em; }

p { margin-bottom: 1rem; }
.lead { font-size: 1.125rem; color: var(--text); line-height: 1.7; }

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

/* =========================================================================
   Header
========================================================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 246, 238, 0.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 0;
}
.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}
.logo-mark {
  height: 56px;
  width: auto;
  display: block;
}
.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
  align-items: center;
}
.nav-links a {
  color: var(--charcoal);
  font-weight: 500;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
}
.nav-links a:hover { color: var(--sage-dark); }
.nav-cta {
  background: var(--sage);
  color: var(--cream) !important;
  padding: 0.65rem 1.4rem;
  border-radius: 999px;
  font-weight: 600 !important;
  transition: all 0.2s;
}
.nav-cta:hover { background: var(--sage-dark); color: var(--cream) !important; }
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--charcoal);
  margin: 5px 0;
  transition: all 0.3s;
}

/* =========================================================================
   Hero
========================================================================= */
.hero {
  position: relative;
  background: var(--cream);
  padding: 6rem 0 5rem;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: 50%;
  right: -200px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, var(--sage-soft) 0%, transparent 70%);
  transform: translateY(-50%);
  z-index: 0;
  pointer-events: none;
}
.hero-logo-center {
  display: flex;
  justify-content: center;
  margin-bottom: 2rem;
}
.hero-logo-center img {
  width: 220px;
  height: auto;
  border-radius: 8px;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 720px;
  text-align: center;
  margin: 0 auto;
}
.hero-eyebrow {
  display: inline-block;
  font-family: 'Inter', sans-serif;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--sage-dark);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}
.hero h1 { margin-bottom: 1.5rem; }
.hero .lead { font-size: 1.25rem; max-width: 600px; margin: 0 auto 2.5rem; }

/* =========================================================================
   Buttons
========================================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.95rem 2rem;
  border-radius: 999px;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  border: none;
  transition: all 0.2s;
  text-decoration: none;
}
.btn-primary {
  background: var(--sage);
  color: var(--cream);
  box-shadow: var(--shadow-md);
}
.btn-primary:hover {
  background: var(--sage-dark);
  color: var(--cream);
  transform: translateY(-1px);
  box-shadow: var(--shadow-lg);
}
.btn-outline {
  background: transparent;
  color: var(--charcoal);
  border: 1.5px solid var(--charcoal);
}
.btn-outline:hover {
  background: var(--charcoal);
  color: var(--cream);
}
.btn-row { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* =========================================================================
   Sections
========================================================================= */
section { padding: 5rem 0; }
.section-header {
  text-align: center;
  margin-bottom: 3.5rem;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}
.section-eyebrow {
  display: inline-block;
  color: var(--sage-dark);
  font-weight: 500;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  margin-bottom: 1rem;
}

/* =========================================================================
   About preview
========================================================================= */
.about-section { background: var(--cream-2); }
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 4rem;
  align-items: center;
}
.about-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4 / 5;
  box-shadow: var(--shadow-md);
  background: var(--cream-3);
}
.about-image img { width: 100%; height: 100%; object-fit: cover; }
.about-content h2 { margin-bottom: 1.25rem; }
.about-quote {
  border-left: 3px solid var(--sage);
  padding-left: 1.25rem;
  margin: 2rem 0;
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 1.35rem;
  color: var(--charcoal);
  line-height: 1.5;
}

/* =========================================================================
   Services Grid
========================================================================= */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}
.service-card {
  background: var(--cream);
  padding: 2rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  transition: all 0.2s;
}
.service-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
  border-color: var(--sage-light);
}
.service-icon {
  width: 56px;
  height: 56px;
  background: var(--sage-soft);
  color: var(--sage-darker);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}
.service-card p { color: var(--text-light); font-size: 0.95rem; margin: 0; line-height: 1.7; }

/* =========================================================================
   Process / How It Works
========================================================================= */
.process-section { background: var(--cream-2); }
.process-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2rem;
  position: relative;
}
.process-step {
  text-align: center;
  position: relative;
}
.process-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  background: var(--sage);
  color: var(--cream);
  border-radius: 50%;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.75rem;
  font-weight: 600;
  margin-bottom: 1.25rem;
  box-shadow: var(--shadow-md);
}
.process-step h3 { margin-bottom: 0.5rem; }
.process-step p { color: var(--text-light); font-size: 0.95rem; }

/* =========================================================================
   Quote / Testimonial
========================================================================= */
.quote-section {
  background: var(--sage);
  color: var(--cream);
  text-align: center;
  padding: 5rem 0;
}
.quote-section blockquote {
  max-width: 720px;
  margin: 0 auto;
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-style: italic;
  line-height: 1.4;
  color: var(--cream);
}
.quote-section blockquote::before { content: '"'; font-size: 1.3em; opacity: 0.4; margin-right: 0.1em; }
.quote-section blockquote::after { content: '"'; font-size: 1.3em; opacity: 0.4; margin-left: 0.1em; }
.quote-section cite {
  display: block;
  margin-top: 1.5rem;
  font-style: normal;
  font-size: 0.95rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(250, 246, 238, 0.85);
}

/* =========================================================================
   Gallery
========================================================================= */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}
.gallery-item {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  box-shadow: var(--shadow-md);
  background: var(--cream-3);
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.gallery-item:hover img { transform: scale(1.04); }
.gallery-label {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: rgba(47, 58, 47, 0.85);
  color: var(--cream);
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.15em;
}

/* =========================================================================
   CTA
========================================================================= */
.cta-section {
  background: var(--cream-2);
  padding: 5rem 0;
  text-align: center;
}
.cta-section h2 { margin-bottom: 1rem; }
.cta-section p { color: var(--text); font-size: 1.125rem; margin-bottom: 2rem; max-width: 600px; margin-left: auto; margin-right: auto; }

/* =========================================================================
   Form
========================================================================= */
.form-section { padding: 4rem 0; }
.form-wrap {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 4rem;
  max-width: 1100px;
  margin: 0 auto;
}
.form-info h2 { margin-bottom: 1rem; }
.form-info ul {
  list-style: none;
  margin-top: 1.5rem;
}
.form-info ul li {
  padding: 0.6rem 0 0.6rem 1.75rem;
  position: relative;
  color: var(--text);
}
.form-info ul li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 0.5rem;
  color: var(--sage-dark);
  font-weight: 700;
}
.form-contact-block {
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}
.form-contact-block strong { display: block; color: var(--charcoal); margin-bottom: 0.25rem; font-weight: 600; }
.form-contact-block a { color: var(--text); font-weight: 500; }
.form-contact-block a:hover { color: var(--sage-dark); }
.form-card {
  background: var(--cream);
  padding: 2.5rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border);
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.field { margin-bottom: 1.25rem; }
.field label {
  display: block;
  font-weight: 500;
  font-size: 0.9rem;
  color: var(--charcoal);
  margin-bottom: 0.4rem;
}
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-size: 1rem;
  font-family: inherit;
  background: var(--cream);
  transition: all 0.2s;
  color: var(--charcoal);
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--sage);
  box-shadow: 0 0 0 3px var(--sage-soft);
}
.field textarea { resize: vertical; min-height: 110px; }
.form-card .btn { width: 100%; justify-content: center; padding: 1rem; font-size: 1.05rem; }

/* =========================================================================
   Footer
========================================================================= */
.site-footer {
  background: var(--cream-3);
  color: var(--text);
  padding: 4rem 0 2rem;
  border-top: 1px solid var(--border);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 2.5rem;
}
.footer-brand .logo-mark { height: 70px; }
.footer-brand p { margin-top: 1rem; color: var(--text); font-size: 0.95rem; line-height: 1.6; max-width: 320px; }
.footer-grid h4 {
  color: var(--charcoal);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: 1.25rem;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
}
.footer-grid ul { list-style: none; }
.footer-grid ul li { margin-bottom: 0.6rem; }
.footer-grid ul a { color: var(--text); font-size: 0.95rem; }
.footer-grid ul a:hover { color: var(--sage-dark); }
.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid var(--border);
  text-align: center;
  font-size: 0.875rem;
  color: var(--text-light);
}
.footer-tagline {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  color: var(--sage-dark);
  font-size: 1rem;
  margin-top: 0.5rem;
}

/* =========================================================================
   Mobile
========================================================================= */
@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    background: var(--cream);
    padding: 1.5rem;
    gap: 1.25rem;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-md);
  }
  .nav-links.active { display: flex; }
  .nav-toggle { display: block; }
  .logo-mark { height: 44px; }
  .footer-brand .logo-mark { height: 56px; }
  .hero { padding: 3.5rem 0 3rem; }
  section { padding: 3.5rem 0; }
  .about-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .about-image { aspect-ratio: 4 / 3; }
  .form-wrap { grid-template-columns: 1fr; gap: 2rem; }
  .form-card { padding: 1.75rem; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
}
