/* Canopy Carvers LLC — mobile-first stylesheet */

:root {
  --forest-deep: #1c3325;
  --forest: #2e5738;
  --forest-light: #eaf1e9;
  --amber: #d98c2b;
  --amber-dark: #b8721e;
  --cream: #faf8f2;
  --ink: #1f2a20;
  --gray: #5a655b;
  --border: #e1e4d9;
  --radius: 12px;
  --font-head: 'Fraunces', Georgia, serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font-body); color: var(--ink); background: var(--cream); font-size: 16px; line-height: 1.6; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--font-head); font-weight: 700; line-height: 1.2; margin: 0 0 0.5em; color: var(--forest-deep); }
.section-inner { max-width: 1160px; margin: 0 auto; padding: 4rem 1.25rem; }
.eyebrow { font-weight: 700; color: var(--amber-dark); text-transform: uppercase; letter-spacing: 0.12em; font-size: 0.78rem; margin: 0 0 0.55rem; }
.section-lead { max-width: 640px; color: var(--gray); font-size: 1.05rem; }

.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0.85rem 1.6rem; border-radius: 8px; font-weight: 700; text-decoration: none; font-size: 1rem; border: 2px solid transparent; }
.btn-primary { background: var(--amber); color: #fff; }
.btn-primary:hover { background: var(--amber-dark); }
.btn-outline { border-color: #fff; color: #fff; }
.btn-outline:hover { background: rgba(255,255,255,0.12); }
.contact .btn-outline { border-color: var(--forest-deep); color: var(--forest-deep); }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: #fff; box-shadow: 0 2px 8px rgba(0,0,0,0.06); }
.header-inner { max-width: 1160px; margin: 0 auto; padding: 0.85rem 1.25rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.logo { font-family: var(--font-head); font-weight: 700; font-size: 1.25rem; color: var(--forest-deep); text-decoration: none; }
.logo span { color: var(--amber-dark); }

.main-nav { display: flex; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0; background: #fff; box-shadow: 0 8px 12px rgba(0,0,0,0.06); max-height: 0; overflow: hidden; transition: max-height 0.25s ease; }
.main-nav.open { max-height: 320px; }
.main-nav a { color: var(--ink); text-decoration: none; padding: 1rem 1.25rem; border-top: 1px solid var(--border); font-weight: 600; min-height: 44px; display: flex; align-items: center; }
.main-nav a:hover { color: var(--amber-dark); }

.header-actions { display: flex; align-items: center; gap: 0.75rem; }
.phone-pill { display: none; background: var(--forest); color: #fff; text-decoration: none; padding: 0.55rem 1.05rem; border-radius: 999px; font-weight: 700; font-size: 0.9rem; white-space: nowrap; }
.menu-toggle { width: 44px; height: 44px; background: none; border: none; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px; cursor: pointer; }
.menu-toggle span { width: 24px; height: 2px; background: var(--forest-deep); transition: transform 0.2s ease, opacity 0.2s ease; }
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Hero */
.hero { position: relative; min-height: 88vh; display: flex; align-items: center; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: center 25%; }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(28,51,37,0.55) 0%, rgba(20,36,26,0.82) 65%, rgba(15,26,19,0.94) 100%); }
.hero-content { position: relative; z-index: 1; max-width: 720px; margin: 0 auto; padding: 6rem 1.25rem 3rem; color: #fff; text-align: center; }
.hero h1 { color: #fff; font-size: clamp(2rem, 6vw, 3.2rem); margin-bottom: 0.6rem; }
.hero-sub { font-size: 1.05rem; color: rgba(255,255,255,0.9); margin-bottom: 2rem; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 0.85rem; justify-content: center; }
.trust-badge { margin-top: 1.6rem; font-weight: 700; color: #ffd9a0; }

/* Services */
.services { background: #fff; }
.services-grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; margin-top: 2.5rem; }
.service-card { background: var(--forest-light); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.75rem; }
.service-icon { width: 44px; height: 44px; color: var(--amber-dark); margin-bottom: 1rem; }
.service-icon svg { width: 100%; height: 100%; }
.service-card h3 { font-size: 1.1rem; }
.service-card p { color: var(--gray); margin: 0; font-size: 0.95rem; }

/* Pricing */
.pricing { background: var(--forest-deep); color: #fff; }
.pricing h2, .pricing .eyebrow { color: #fff; }
.pricing .eyebrow { color: #ffcf8f; }
.pricing-grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; margin-top: 2.5rem; }
.pricing-card { background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.14); border-radius: var(--radius); padding: 1.75rem; }
.pricing-card h3 { color: #fff; font-size: 1.1rem; }
.price { font-family: var(--font-head); font-size: 1.5rem; font-weight: 700; color: var(--amber); margin: 0.4rem 0; }
.pricing-card p:not(.price) { color: rgba(255,255,255,0.78); margin: 0; font-size: 0.95rem; }
.pricing-note { margin-top: 2rem; font-weight: 600; color: rgba(255,255,255,0.9); }

/* About */
.about { background: var(--cream); }
.about-grid { display: grid; grid-template-columns: 1fr; gap: 2.5rem; align-items: center; }
.check-list { list-style: none; padding: 0; margin: 1.5rem 0; display: flex; flex-direction: column; gap: 0.7rem; }
.check-list li { padding-left: 1.7rem; position: relative; font-weight: 600; color: var(--forest-deep); }
.check-list li::before { content: "\2713"; position: absolute; left: 0; color: var(--amber-dark); font-weight: 800; }
.about-image img { border-radius: var(--radius); border: 6px solid #fff; box-shadow: 0 16px 32px rgba(28,51,37,0.15); }

/* Contact */
.contact { background: #fff; }
.contact-grid { display: grid; grid-template-columns: 1fr; gap: 2.5rem; }
.contact-list { list-style: none; padding: 0; margin: 1.5rem 0 2rem; display: flex; flex-direction: column; gap: 0.6rem; }
.contact-list a { color: var(--amber-dark); text-decoration: none; font-weight: 700; }
.contact-map { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); }
.contact-map iframe { width: 100%; aspect-ratio: 4 / 3; border: 0; display: block; }

/* Quote form */
.quote-form-card { margin-top: 2.5rem; background: var(--forest-light); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.75rem; }
.quote-form-card h3 { font-size: 1.15rem; margin-bottom: 1.1rem; }
.quote-form { display: flex; flex-direction: column; gap: 1rem; }
.form-row { display: grid; grid-template-columns: 1fr; gap: 1rem; }
.form-field { display: flex; flex-direction: column; gap: 0.35rem; }
.form-field label { font-weight: 600; font-size: 0.9rem; color: var(--forest-deep); }
.form-field input,
.form-field select,
.form-field textarea {
  font: inherit;
  font-size: 0.95rem;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0.7rem 0.85rem;
  min-height: 48px;
}
.form-field textarea { min-height: auto; resize: vertical; }
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus { outline: 2px solid var(--amber); outline-offset: 1px; }
.form-submit { width: 100%; }
.form-note { margin: 0; font-size: 0.9rem; color: var(--forest-deep); font-weight: 600; }
.form-note:empty { display: none; }

@media (min-width: 500px) {
  .form-row { grid-template-columns: 1fr 1fr; }
}

/* Footer */
.site-footer { background: var(--forest-deep); color: rgba(255,255,255,0.8); }
.footer-inner { max-width: 1160px; margin: 0 auto; padding: 2.5rem 1.25rem; text-align: center; }
.footer-name { font-family: var(--font-head); color: #fff; font-size: 1.15rem; margin: 0 0 0.5rem; }
.footer-inner a { color: #fff; text-decoration: none; }
.footer-copy { font-size: 0.85rem; margin-top: 0.75rem; opacity: 0.7; }

@media (min-width: 640px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .pricing-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 860px) {
  .menu-toggle { display: none; }
  .main-nav { position: static; flex-direction: row; max-height: none; overflow: visible; background: transparent; box-shadow: none; }
  .main-nav a { color: var(--ink); border-top: none; padding: 0.5rem 0.9rem; min-height: auto; }
  .phone-pill { display: inline-flex; }
  .about-grid { grid-template-columns: 1.1fr 1fr; }
  .contact-grid { grid-template-columns: 1.1fr 1fr; align-items: center; }
}

@media (min-width: 1024px) {
  .services-grid { grid-template-columns: repeat(3, 1fr); }
}
