/* ============================================================
   Champion Tree Service — Preview Stylesheet
   Palette: Deep Navy / Warm Cream / Antique Gold / Deep Forest
   Typography: Cormorant Garamond (display) + Inter (body)
   PPD Conventional Skeleton — Bold-Editorial Direction
   ============================================================ */

/* ---- CSS Variables ---------------------------------------- */
:root {
  --navy:      #0d1f3c;
  --cream:     #f5f0e8;
  --gold:      #c9a84c;
  --gold-dark: #a8893d;
  --forest:    #1a2b1f;
  --forest-lt: #2d4a35;
  --white:     #ffffff;
  --ink:       #1c1c1c;
  --muted:     #5a5a5a;
  --border:    #ddd7cc;

  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body:    'Inter', system-ui, sans-serif;

  --wrap:    1160px;
  --radius:  4px;
  --shadow:  0 2px 12px rgba(13, 31, 60, 0.12);
}

/* ---- Reset & Base ----------------------------------------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--cream);
}

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

a { color: inherit; text-decoration: none; }
a:hover { text-decoration: underline; }

/* ---- Accessibility ---------------------------------------- */
.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  background: var(--navy);
  color: var(--cream);
  padding: 0.5rem 1rem;
  z-index: 9999;
  font-family: var(--font-body);
  font-size: 0.875rem;
  border-radius: var(--radius);
  transition: top 0.2s;
}
.skip-link:focus { top: 1rem; }

.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

*:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

/* ---- Layout Utilities ------------------------------------- */
.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* ---- Announce Bar ----------------------------------------- */
.announce {
  background: var(--navy);
  color: var(--cream);
  font-family: var(--font-body);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.45rem 1.25rem;
  flex-wrap: wrap;
}
.announce .sep { color: var(--gold); opacity: 0.7; }
.announce a {
  color: var(--gold);
  font-weight: 600;
  text-decoration: none;
}
.announce a:hover { text-decoration: underline; }
.announce .star-row { color: var(--gold); letter-spacing: 0.02em; }

/* ---- Sticky Nav ------------------------------------------- */
.top-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--cream);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 1px 8px rgba(13, 31, 60, 0.07);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.7rem 1.25rem;
  max-width: var(--wrap);
  margin: 0 auto;
}
.nav-logo {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
  text-decoration: none;
}
.nav-logo .name {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: 0.01em;
}
.nav-logo .sub {
  font-family: var(--font-body);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}
.nav-links {
  display: none;
  align-items: center;
  gap: 1.8rem;
  list-style: none;
}
.nav-links a {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--navy);
  text-decoration: none;
  position: relative;
  transition: color 0.2s;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -3px; left: 0;
  width: 0; height: 1px;
  background: var(--gold);
  transition: width 0.2s;
}
.nav-links a:hover { color: var(--forest); }
.nav-links a:hover::after { width: 100%; }

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--navy);
  color: var(--cream) !important;
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.45rem 1rem;
  border-radius: 999px;
  text-decoration: none !important;
  transition: background 0.2s;
  white-space: nowrap;
}
.nav-cta:hover { background: var(--forest); }
.nav-cta svg {
  width: 13px; height: 13px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}

@media (min-width: 720px) {
  .nav-links { display: flex; }
  .nav-inner { padding: 0.8rem 1.5rem; }
}

/* ---- Hero ------------------------------------------------- */
.hero {
  background: var(--navy);
  overflow: hidden;
  min-height: 560px;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  min-height: 560px;
}
.hero-text {
  padding: 3.5rem 1.25rem 3rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  gap: 1.25rem;
}
.hero-tag {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-family: var(--font-body);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
}
.hero-tag .rule {
  display: inline-block;
  width: 28px;
  height: 1px;
  background: var(--gold);
  flex-shrink: 0;
}
.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 6vw, 3.8rem);
  font-weight: 700;
  line-height: 1.1;
  color: var(--cream);
  letter-spacing: -0.01em;
}
.hero h1 .em {
  color: var(--gold);
  font-style: italic;
}
.hero-lead {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  color: rgba(245, 240, 232, 0.82);
  max-width: 38ch;
  margin: 0 auto;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  justify-content: center;
}

.hero-photo {
  min-height: 280px;
  background-image: url('https://images.unsplash.com/photo-1513836279014-a89f7a76ae86?w=1400&q=80');
  background-size: cover;
  background-position: center 30%;
  position: relative;
}
.hero-photo::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(13,31,60,0.18) 0%, rgba(13,31,60,0.08) 100%);
}

@media (min-width: 720px) {
  .hero-grid {
    grid-template-columns: 1fr 1fr;
    min-height: 620px;
  }
  .hero-text {
    align-items: flex-start;
    text-align: left;
    padding: 4rem 3rem 4rem 1.5rem;
  }
  .hero-lead { margin: 0; }
  .hero-actions { justify-content: flex-start; }
  .hero-photo { min-height: auto; }
}

@media (min-width: 1024px) {
  .hero-grid { min-height: 700px; }
  .hero-text { padding: 5rem 4rem 5rem 2rem; }
}

/* ---- Buttons ---------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.7rem 1.5rem;
  border-radius: var(--radius);
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
  border: 2px solid transparent;
  line-height: 1;
}
.btn svg {
  width: 15px; height: 15px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}
.btn-primary {
  background: var(--gold);
  color: var(--navy);
  border-color: var(--gold);
}
.btn-primary:hover {
  background: var(--gold-dark);
  border-color: var(--gold-dark);
  text-decoration: none;
}
.btn-outline {
  background: transparent;
  color: var(--cream);
  border-color: rgba(245, 240, 232, 0.5);
}
.btn-outline:hover {
  border-color: var(--cream);
  background: rgba(245, 240, 232, 0.1);
  text-decoration: none;
}
.btn-navy {
  background: var(--navy);
  color: var(--cream);
  border-color: var(--navy);
}
.btn-navy:hover {
  background: var(--forest);
  border-color: var(--forest);
  text-decoration: none;
}

/* ---- Trust Bar -------------------------------------------- */
.trust {
  background: var(--forest);
  border-top: 3px solid var(--gold);
}
.trust-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.5rem 1.5rem;
  padding: 1.1rem 1.25rem;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--cream);
}
.trust-item .icon {
  color: var(--gold);
  font-size: 0.9rem;
  line-height: 1;
}
.trust-dot {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--gold);
  opacity: 0.5;
  flex-shrink: 0;
}
@media (max-width: 600px) {
  .trust-dot { display: none; }
  .trust-row { gap: 0.6rem; }
}

/* ---- Services --------------------------------------------- */
.services {
  background: var(--cream);
  padding: 4.5rem 0 3rem;
}
.section-header {
  text-align: center;
  margin-bottom: 3rem;
}
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-body);
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-bottom: 0.75rem;
}
.section-label .rule {
  display: inline-block;
  width: 24px; height: 1px;
  background: var(--gold);
}
.section-header h2 {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 4vw, 2.8rem);
  font-weight: 700;
  color: var(--navy);
  line-height: 1.15;
  letter-spacing: -0.01em;
}
.section-header p {
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--muted);
  max-width: 48ch;
  margin: 0.75rem auto 0;
  line-height: 1.65;
}

.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}
@media (min-width: 600px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 900px) {
  .services-grid { grid-template-columns: repeat(3, 1fr); }
}

.svc-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  transition: box-shadow 0.2s, border-color 0.2s, transform 0.2s;
}
.svc-card:hover {
  box-shadow: var(--shadow);
  border-color: var(--gold);
  transform: translateY(-2px);
}
.svc-icon {
  width: 44px; height: 44px;
  color: var(--forest);
  flex-shrink: 0;
}
.svc-icon svg {
  width: 100%; height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.svc-card h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--navy);
  line-height: 1.2;
}
.svc-card p {
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.6;
  flex: 1;
}

.services-coda {
  margin-top: 2.5rem;
  text-align: center;
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--muted);
  font-style: italic;
}
.services-coda strong { color: var(--navy); font-style: normal; }

/* ---- About ------------------------------------------------ */
.about {
  background: var(--navy);
  padding: 5rem 0;
  position: relative;
  overflow: hidden;
}
.about::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(to right, var(--forest), var(--gold), var(--forest));
}
.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}
.about-label-col {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.about-kicker {
  font-family: var(--font-body);
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
}
.about-heading {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 700;
  color: var(--cream);
  line-height: 1.15;
  letter-spacing: -0.01em;
}
.about-heading em {
  font-style: italic;
  color: var(--gold);
}
.about-rule {
  width: 36px;
  height: 2px;
  background: var(--gold);
  margin-top: 0.5rem;
}
.about-body {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.about-body p {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.75;
  color: rgba(245, 240, 232, 0.85);
}
.about-body strong { color: var(--cream); font-weight: 600; }

@media (min-width: 720px) {
  .about-grid {
    grid-template-columns: 1fr 2fr;
    gap: 4rem;
    align-items: start;
  }
}

/* ---- Contact ---------------------------------------------- */
.contact {
  background: var(--cream);
  padding: 5rem 0;
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}
.contact-card {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.contact-card .section-label { justify-content: flex-start; }
.contact-card h2 {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3.5vw, 2.4rem);
  font-weight: 700;
  color: var(--navy);
  line-height: 1.15;
  letter-spacing: -0.01em;
}
.contact-detail {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 0.25rem;
}
.contact-row {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}
.contact-row-icon {
  width: 38px; height: 38px;
  background: var(--navy);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.contact-row-icon svg {
  width: 16px; height: 16px;
  fill: none;
  stroke: var(--cream);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.contact-row-text {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}
.contact-row-text .label {
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}
.contact-row-text .value {
  font-size: 1rem;
  font-weight: 600;
  color: var(--navy);
}
.contact-row-text .value a {
  color: var(--navy);
  text-decoration: none;
}
.contact-row-text .value a:hover { text-decoration: underline; }

.contact-form-wrap {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem 1.75rem;
  box-shadow: var(--shadow);
}
.contact-form-wrap h3 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 0.4rem;
}
.contact-form-wrap .form-sub {
  font-size: 0.87rem;
  color: var(--muted);
  margin-bottom: 1.5rem;
  line-height: 1.5;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}
@media (min-width: 480px) {
  .form-row { grid-template-columns: 1fr 1fr; }
}
.form-field {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}
.form-field label {
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
}
.form-field input,
.form-field select,
.form-field textarea {
  font-family: var(--font-body);
  font-size: 0.95rem;
  padding: 0.6rem 0.8rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--cream);
  color: var(--ink);
  outline: none;
  resize: vertical;
  opacity: 0.7;
  cursor: not-allowed;
}
.form-field textarea { min-height: 90px; }
.form-submit {
  margin-top: 1rem;
  width: 100%;
}
.form-note {
  font-size: 0.78rem;
  color: var(--muted);
  text-align: center;
  margin-top: 0.6rem;
  line-height: 1.4;
}

@media (min-width: 720px) {
  .contact-grid {
    grid-template-columns: 1fr 1.2fr;
    gap: 4rem;
    align-items: start;
  }
}

/* ---- Footer ----------------------------------------------- */
.footer {
  background: var(--navy);
  color: rgba(245, 240, 232, 0.7);
  padding: 2.5rem 0 1.75rem;
  border-top: 3px solid var(--forest);
}
.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
  text-align: center;
}
.footer-brand {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--cream);
  letter-spacing: 0.01em;
}
.footer-sub {
  font-family: var(--font-body);
  font-size: 0.78rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--gold);
  margin-top: -0.5rem;
}
.footer-contact {
  font-family: var(--font-body);
  font-size: 0.87rem;
  line-height: 1.65;
  color: rgba(245, 240, 232, 0.7);
}
.footer-contact a {
  color: rgba(245, 240, 232, 0.85);
  text-decoration: none;
}
.footer-contact a:hover { text-decoration: underline; }
.footer-legal {
  font-family: var(--font-body);
  font-size: 0.72rem;
  color: rgba(245, 240, 232, 0.4);
  border-top: 1px solid rgba(245, 240, 232, 0.1);
  padding-top: 1rem;
  width: 100%;
  text-align: center;
}
.footer-legal a {
  color: rgba(245, 240, 232, 0.5);
  text-decoration: none;
}
.footer-legal a:hover { text-decoration: underline; }

@media (min-width: 720px) {
  .footer-inner {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-end;
    text-align: left;
  }
  .footer-left { display: flex; flex-direction: column; gap: 0.3rem; }
  .footer-right { text-align: right; }
  .footer-legal {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
}

/* ---- Gold Rule Ornament ----------------------------------- */
.gold-rule {
  display: block;
  width: 100%;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--gold), transparent);
  margin: 0;
  border: none;
}
