/* =============================================================
   ComfortLand Co. — shared site styles
   Used by every .html page in the site.
   Single source of truth so the brand stays consistent.
============================================================= */

:root {
  --deep-olive: #4F6B3A;
  --olive-dark: #3A4F2A;
  --sage: #7A8B5C;
  --sage-soft: #A4B388;
  --brown: #6B4A2E;
  --brown-light: #8C6A4E;
  --cream: #F7F4EA;
  --cream-deep: #EFEADC;
  --ink: #2C2C2C;
  --ink-soft: #555;
  --rule: #DCD7C7;
  --shadow: 0 2px 8px rgba(60, 50, 30, 0.08);
  --shadow-lg: 0 12px 40px rgba(60, 50, 30, 0.12);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, .display { font-family: 'Cormorant Garamond', Georgia, serif; font-weight: 700; line-height: 1.15; }
a { color: var(--deep-olive); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; }

/* ---------------- Header / nav ---------------- */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(247, 244, 234, 0.94);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--rule);
}
.nav-inner {
  max-width: 1180px; margin: 0 auto;
  padding: 14px 28px;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.brand {
  font-family: 'Cormorant Garamond', serif;
  font-size: 28px; font-weight: 700;
  color: var(--deep-olive);
  letter-spacing: -0.01em;
  display: flex; align-items: baseline; gap: 4px;
}
.brand .co { color: var(--brown); }
.nav-links { display: flex; gap: 28px; align-items: center; }
.nav-links a { color: var(--ink); font-size: 15px; font-weight: 500; }
.nav-links a:hover { color: var(--deep-olive); text-decoration: none; }
.nav-links a.active { color: var(--deep-olive); }

.nav-cta {
  background: var(--deep-olive); color: #fff !important;
  padding: 9px 18px; border-radius: 999px;
  font-weight: 600; font-size: 14px;
  transition: background 0.2s;
}
.nav-cta:hover { background: var(--olive-dark); text-decoration: none; }

/* Services dropdown — pure CSS, hover + keyboard */
.has-dropdown { position: relative; }
.has-dropdown > a::after {
  content: ' ▾';
  font-size: 11px;
  color: var(--ink-soft);
  margin-left: 2px;
}
.dropdown {
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%) translateY(-6px);
  background: #fff;
  border: 1px solid var(--rule);
  border-radius: 12px;
  box-shadow: var(--shadow-lg);
  padding: 8px;
  min-width: 220px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s, transform 0.2s, visibility 0.2s;
  display: flex; flex-direction: column;
}
.has-dropdown:hover .dropdown,
.has-dropdown:focus-within .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}
.dropdown a {
  padding: 10px 14px;
  border-radius: 8px;
  font-size: 14.5px !important;
  color: var(--ink) !important;
  font-weight: 500;
}
.dropdown a:hover {
  background: var(--cream-deep);
  color: var(--deep-olive) !important;
  text-decoration: none;
}
.dropdown a small {
  display: block;
  font-size: 12px;
  color: var(--ink-soft);
  font-weight: 400;
  margin-top: 2px;
}

@media (max-width: 820px) {
  .nav-links { gap: 16px; }
  .nav-links a:not(.nav-cta):not(.dropdown-toggle) { display: none; }
  .has-dropdown .dropdown { display: none; } /* fall back to plain link on mobile */
  .nav-inner { padding: 12px 18px; }
  .brand { font-size: 24px; }
}

/* ---------------- Page hero ---------------- */
.hero {
  padding: 96px 28px 72px;
  text-align: center;
  background:
    radial-gradient(ellipse at top, rgba(122, 139, 92, 0.18), transparent 65%),
    var(--cream);
  border-bottom: 1px solid var(--rule);
}
.hero-inner { max-width: 880px; margin: 0 auto; }
.hero .eyebrow {
  display: inline-block;
  font-family: 'Inter', sans-serif;
  font-size: 13px; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--brown);
  background: rgba(107, 74, 46, 0.08);
  padding: 6px 14px; border-radius: 999px;
  margin-bottom: 24px;
}
.hero h1 {
  font-size: clamp(38px, 6vw, 68px);
  color: var(--ink);
  margin-bottom: 22px;
  letter-spacing: -0.015em;
}
.hero h1 em {
  font-style: italic; color: var(--deep-olive);
}
.hero p.lede {
  font-size: clamp(17px, 2vw, 21px);
  color: var(--ink-soft);
  max-width: 680px; margin: 0 auto 36px;
  line-height: 1.55;
}
.cta-row { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

.btn {
  display: inline-block;
  padding: 15px 30px; border-radius: 999px;
  font-weight: 600; font-size: 16px;
  transition: transform 0.15s, box-shadow 0.2s, background 0.2s;
  border: none; cursor: pointer;
}
.btn-primary {
  background: var(--deep-olive); color: #fff !important;
  box-shadow: var(--shadow);
}
.btn-primary:hover { background: var(--olive-dark); transform: translateY(-1px); box-shadow: var(--shadow-lg); text-decoration: none; }
.btn-secondary {
  background: transparent; color: var(--deep-olive) !important;
  border: 1.5px solid var(--deep-olive);
}
.btn-secondary:hover { background: var(--deep-olive); color: #fff !important; text-decoration: none; }
.trust-line {
  margin-top: 36px;
  font-size: 14px; color: var(--ink-soft);
  letter-spacing: 0.02em;
}
.trust-line span { color: var(--brown); margin: 0 10px; }

/* ---------------- Section base ---------------- */
section { padding: 88px 28px; }
.container { max-width: 1080px; margin: 0 auto; }
.container-narrow { max-width: 800px; margin: 0 auto; }
.section-header { text-align: center; margin-bottom: 52px; }
.section-header .eyebrow {
  font-size: 13px; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--sage); margin-bottom: 14px; display: block;
}
.section-header h2 {
  font-size: clamp(32px, 4.5vw, 46px);
  color: var(--ink); letter-spacing: -0.01em;
}
.section-header p {
  color: var(--ink-soft); max-width: 600px;
  margin: 16px auto 0; font-size: 17px;
}

/* ---------------- Services grid (home page) ---------------- */
.services {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}
.service-card {
  background: #fff;
  border: 1px solid var(--rule);
  border-radius: 16px;
  padding: 32px 28px;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
  display: flex; flex-direction: column;
  text-decoration: none;
  color: inherit;
}
.service-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
  border-color: var(--sage-soft);
  text-decoration: none;
}
.service-card .icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--sage), var(--deep-olive));
  margin-bottom: 18px;
  display: grid; place-items: center;
  color: #fff; font-size: 22px;
}
.service-card.brown .icon { background: linear-gradient(135deg, var(--brown-light), var(--brown)); }
.service-card.blue .icon { background: linear-gradient(135deg, #6F8DAA, #3F5F7B); }
.service-card h3 {
  font-size: 26px; color: var(--deep-olive);
  margin-bottom: 12px;
}
.service-card p {
  color: var(--ink-soft); font-size: 15.5px; line-height: 1.6;
  flex: 1; margin-bottom: 16px;
}
.service-card .price {
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px; font-weight: 700;
  color: var(--brown);
  border-top: 1px solid var(--rule);
  padding-top: 14px;
}
.service-card.featured {
  background: linear-gradient(180deg, var(--cream-deep), #fff);
  border-color: var(--sage-soft);
  position: relative;
}
.service-card.featured::before {
  content: 'Most popular';
  position: absolute; top: -12px; right: 24px;
  background: var(--brown); color: #fff;
  font-family: 'Inter', sans-serif; font-size: 11px;
  letter-spacing: 0.12em; text-transform: uppercase; font-weight: 600;
  padding: 5px 12px; border-radius: 999px;
}
.service-card .more-link {
  margin-top: 14px;
  font-size: 14px; font-weight: 600;
  color: var(--deep-olive);
}
.service-card .more-link::after { content: ' →'; }

/* ---------------- Two-column content (service pages) ---------------- */
.two-col {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 56px;
  align-items: start;
}
@media (max-width: 820px) {
  .two-col { grid-template-columns: 1fr; gap: 40px; }
}
.prose h2 {
  font-size: 32px;
  color: var(--ink);
  margin: 30px 0 14px;
}
.prose h2:first-child { margin-top: 0; }
.prose h3 {
  font-family: 'Inter', sans-serif;
  font-size: 19px; font-weight: 700;
  color: var(--deep-olive);
  margin: 24px 0 8px;
}
.prose p { margin-bottom: 14px; color: var(--ink-soft); font-size: 17px; }
.prose ul, .prose ol { margin: 0 0 18px 22px; color: var(--ink-soft); }
.prose li { margin-bottom: 6px; }
.prose strong { color: var(--ink); font-weight: 600; }
.prose blockquote {
  border-left: 3px solid var(--sage);
  padding: 8px 18px;
  background: var(--cream-deep);
  border-radius: 0 8px 8px 0;
  margin: 22px 0;
  font-style: italic;
  color: var(--ink-soft);
}

/* ---------------- Side card (sticky pricing/quote) ---------------- */
.side-card {
  background: #fff;
  border: 1px solid var(--rule);
  border-radius: 16px;
  padding: 28px;
  box-shadow: var(--shadow);
  position: sticky;
  top: 92px;
}
.side-card .eyebrow {
  font-size: 12px; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--brown);
  margin-bottom: 8px; display: block;
}
.side-card .big-price {
  font-family: 'Cormorant Garamond', serif;
  font-size: 38px; font-weight: 700;
  color: var(--deep-olive);
  line-height: 1.05;
  margin-bottom: 6px;
}
.side-card .price-note {
  font-size: 13px; color: var(--ink-soft);
  margin-bottom: 18px;
}
.side-card ul {
  list-style: none; margin: 14px 0 18px;
  padding: 14px 0; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule);
}
.side-card ul li {
  padding: 6px 0;
  font-size: 14.5px;
  color: var(--ink);
  display: flex; gap: 10px;
}
.side-card ul li::before {
  content: '✓';
  color: var(--deep-olive); font-weight: 700;
  flex-shrink: 0;
}
.side-card .btn { width: 100%; text-align: center; padding: 13px 18px; font-size: 15px; }

/* ---------------- Pricing table ---------------- */
.pricing-wrap {
  background: #fff;
  border-radius: 18px;
  border: 1px solid var(--rule);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.pricing-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px; align-items: center;
  padding: 22px 28px;
  border-bottom: 1px solid var(--rule);
}
.pricing-row:last-child { border-bottom: none; }
.pricing-row .label { font-weight: 600; color: var(--ink); font-size: 17px; }
.pricing-row .label small { display: block; font-weight: 400; color: var(--ink-soft); font-size: 14px; margin-top: 3px; }
.pricing-row .price {
  font-family: 'Cormorant Garamond', serif;
  font-size: 24px; font-weight: 700; color: var(--deep-olive);
  white-space: nowrap;
}
.pricing-row.featured-row { background: var(--cream-deep); }
.pricing-note {
  text-align: center; margin-top: 20px;
  font-size: 14px; color: var(--ink-soft); font-style: italic;
}

/* ---------------- Service area chips ---------------- */
.area-cities {
  display: flex; flex-wrap: wrap; gap: 10px; justify-content: center;
  max-width: 760px; margin: 0 auto;
}
.area-cities span {
  background: #fff; border: 1px solid var(--rule);
  padding: 8px 16px; border-radius: 999px;
  font-size: 14.5px; color: var(--ink); font-weight: 500;
}

/* ---------------- Why us / dark section ---------------- */
.why {
  background: var(--ink);
  color: #fff;
}
.why .section-header h2 { color: #fff; }
.why .section-header p { color: rgba(255,255,255,0.7); }
.why .section-header .eyebrow { color: var(--sage-soft); }
.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
}
.why-item {
  padding: 28px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 14px;
}
.why-item .num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 36px; font-weight: 700;
  color: var(--sage-soft); line-height: 1; margin-bottom: 12px;
}
.why-item h4 {
  font-family: 'Inter', sans-serif;
  font-size: 17px; font-weight: 600; margin-bottom: 8px;
  color: #fff;
}
.why-item p {
  font-size: 15px; color: rgba(255,255,255,0.7); line-height: 1.55;
}

/* ---------------- Final CTA ---------------- */
.final-cta {
  background: linear-gradient(135deg, var(--deep-olive), var(--olive-dark));
  color: #fff;
  text-align: center;
  padding: 96px 28px;
}
.final-cta h2 {
  font-size: clamp(34px, 5vw, 52px);
  margin-bottom: 18px;
  color: #fff;
}
.final-cta p {
  font-size: 19px; color: rgba(255,255,255,0.85);
  max-width: 560px; margin: 0 auto 36px;
}
.final-cta .contact-line {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(24px, 3vw, 32px); font-weight: 700;
  color: #fff; margin-bottom: 30px;
}
.final-cta .contact-line a { color: #fff; border-bottom: 2px solid var(--sage-soft); }
.final-cta .contact-line a:hover { color: var(--cream); border-color: var(--cream); text-decoration: none; }
.final-cta .btn-primary { background: var(--cream); color: var(--deep-olive) !important; }
.final-cta .btn-primary:hover { background: #fff; }

/* ---------------- Contact form ---------------- */
.contact-form {
  background: #fff;
  color: var(--ink);
  border-radius: 18px;
  padding: 32px 28px;
  margin: 0 auto;
  max-width: 560px;
  text-align: left;
  border: 1px solid var(--rule);
  box-shadow: var(--shadow-lg);
}
.contact-form.dark { background: var(--cream); }
.contact-form h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 28px; font-weight: 700;
  color: var(--deep-olive);
  margin-bottom: 6px; text-align: center;
}
.contact-form .form-sub {
  text-align: center;
  color: var(--ink-soft);
  font-size: 14.5px;
  margin-bottom: 22px;
}
.contact-form .field { margin-bottom: 16px; }
.contact-form label {
  display: block;
  font-size: 13px; font-weight: 600;
  color: var(--ink); margin-bottom: 6px;
  letter-spacing: 0.02em;
}
.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  font-family: 'Inter', sans-serif;
  font-size: 15.5px; color: var(--ink);
  background: #fff;
  border: 1.5px solid var(--rule);
  border-radius: 10px;
  padding: 12px 14px;
  transition: border-color 0.2s, box-shadow 0.2s;
  -webkit-appearance: none; appearance: none;
}
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--deep-olive);
  box-shadow: 0 0 0 3px rgba(79, 107, 58, 0.15);
}
.contact-form textarea { min-height: 120px; resize: vertical; }
.contact-form button {
  width: 100%;
  background: var(--deep-olive);
  color: #fff;
  border: none;
  border-radius: 999px;
  padding: 14px 24px;
  font-family: 'Inter', sans-serif;
  font-size: 16px; font-weight: 600;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
  margin-top: 6px;
}
.contact-form button:hover { background: var(--olive-dark); transform: translateY(-1px); }
.contact-form .form-note {
  text-align: center;
  font-size: 12.5px; color: var(--ink-soft);
  margin-top: 14px; line-height: 1.5;
}

/* ---------------- Footer ---------------- */
footer {
  background: var(--ink);
  color: rgba(255,255,255,0.7);
  padding: 56px 28px 32px;
  font-size: 14px;
}
footer .footer-inner {
  max-width: 1080px; margin: 0 auto;
  display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr;
  gap: 40px;
}
@media (max-width: 720px) {
  footer .footer-inner { grid-template-columns: 1fr 1fr; gap: 32px; }
}
footer h5 {
  font-family: 'Inter', sans-serif;
  color: #fff; font-size: 13px; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase;
  margin-bottom: 14px;
}
footer .brand { color: #fff; margin-bottom: 14px; font-size: 24px; }
footer .brand .co { color: var(--sage-soft); }
footer ul { list-style: none; }
footer ul li { margin-bottom: 6px; }
footer a { color: rgba(255,255,255,0.75); }
footer a:hover { color: var(--sage-soft); text-decoration: none; }
footer .legal {
  border-top: 1px solid rgba(255,255,255,0.1);
  margin-top: 36px; padding-top: 18px;
  text-align: center;
  font-size: 12.5px; color: rgba(255,255,255,0.45);
  grid-column: 1 / -1;
}

/* ---------------- Logo mark inline SVG ---------------- */
.logo-mark { display: inline-block; vertical-align: middle; margin-right: 8px; }
