/* Cabin Kings - Log Cabin Restoration
   Rebuilt from the LeadConnector/GoHighLevel source page.
   Palette and type scale mirror the original exactly. */

:root {
  --brand-red: #b82429;      /* header band / primary button */
  --brand-maroon: #7e1a1a;   /* testimonials band */
  --near-black: #090909;     /* hero + services base under photo */
  --nav-bg: #f8f8f8;
  --dark-btn: #333333;
  --body-text: #000000;
  --muted-text: #4d5156;
  --headline: 'Montserrat', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --content: 'Poppins', 'Lato', system-ui, sans-serif;
  --poppins: 'Poppins', system-ui, sans-serif;
  --lato: 'Lato', system-ui, sans-serif;
  --body-serif: 'Roboto', 'Helvetica Neue', Arial, sans-serif;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  background: #ffffff;
  color: var(--body-text);
  font-family: var(--content);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  word-wrap: break-word;
}

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

a { color: inherit; }

.inner {
  max-width: 1170px;
  margin: 0 auto;
  padding: 0 15px;
  width: 100%;
}

/* ---------- Header / nav ---------- */

.site-header {
  background: var(--nav-bg);
  font-family: var(--headline);
}

.nav-wrap {
  max-width: 1170px;
  margin: 0 auto;
  padding: 10px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

/* Matches the original bar: the square logo file is drawn at 300x200, and the
   original leaves a 40px empty title slot beneath it. */
.brand {
  display: block;
  padding-bottom: 40px;
}

.brand img {
  width: 300px;
  height: 200px;
}

.nav-menu {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  padding: 0;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.3em;
}

.nav-menu a {
  display: flex;
  align-items: center;
  padding: 10px;
  color: var(--body-text);
  text-decoration: none;
  transition: all 0.3s ease;
}

.nav-menu a:hover { background: #ffffff; }

.nav-toggle {
  display: none;
  background: none;
  border: 0;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  padding: 8px;
  color: var(--body-text);
}

/* ---------- Page title strip ---------- */

.page-title {
  text-align: center;
  padding: 0 0 5px 5px;
}

.page-title h1 {
  font-family: var(--headline);
  font-size: 48px;
  font-weight: 700;
  margin: 0;
  line-height: 1.3em;
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  background-color: var(--near-black);
  padding: 160px 0;
  overflow: hidden;
  text-align: center;
  color: #ffffff;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('assets/hero.webp') center / cover no-repeat;
  opacity: 0.5;
}

.hero .inner { position: relative; }

.hero h2 {
  font-family: var(--headline);
  font-size: 40px;
  font-weight: 700;
  margin: 0 0 20px;
  line-height: 1.1em;
}

.hero h1 {
  font-family: var(--poppins);
  font-size: 65px;
  font-weight: 800;
  margin: 0;
  line-height: 1.1em;
}

.hero .lede {
  font-family: var(--headline);
  font-size: 23px;
  font-weight: 600;
  line-height: 1.3em;
  margin: 20px 0 0;
}

.hero .lede + .lede { margin-top: 0; }

.btn {
  display: inline-block;
  font-family: var(--headline);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  padding: 10px 20px;
  border-radius: 5px;
  transition: opacity 0.2s ease;
}

.btn:hover { opacity: 0.9; }

.btn-primary {
  background: var(--brand-red);
  border: 2px solid var(--brand-red);
  color: #ffffff;
  margin-top: 40px;
}

.btn-dark {
  background: var(--dark-btn);
  border: 3px solid #ffffff;
  color: #ffffff;
  border-radius: 0;
}

/* ---------- Red band ---------- */

.red-band {
  background: var(--brand-red);
  padding: 30px 0;
  text-align: center;
  color: #ffffff;
}

.red-band h2 {
  font-family: var(--headline);
  font-size: 32px;
  font-weight: 700;
  margin: 0;
  line-height: 1.3em;
}

.band-cta {
  text-align: center;
  position: relative;
  z-index: 2;
  margin-top: -25px;
}

/* ---------- About ---------- */

.about {
  padding: 60px 0;
}

.about .inner {
  display: flex;
  align-items: stretch;
  gap: 0;
  padding: 15px 15px;
}

.about-photo {
  width: 45.9%;
  border-radius: 8px;
  background: url('assets/about.webp') center / cover no-repeat;
  min-height: 420px;
  margin: 0;
  flex-shrink: 0;
}

.about-copy {
  flex: 1;
  padding: 60px 0 60px 30px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.eyebrow {
  font-family: var(--headline);
  font-size: 18px;
  font-weight: 600;
  font-style: normal;
  color: var(--brand-red);
  margin: 0 0 20px;
  line-height: 1.3em;
}

.about-copy h2 {
  font-family: var(--headline);
  font-size: 45px;
  font-weight: 800;
  margin: 0 0 20px;
  line-height: 1.3em;
}

.about-copy p:not(.eyebrow) {
  font-family: var(--poppins);
  font-size: 16px;
  font-weight: 400;
  font-style: italic;
  line-height: 1.5em;
  margin: 0 0 16px;
}

.about-copy p:last-child { margin-bottom: 0; }

.about-copy strong { font-weight: 700; }

/* ---------- Services ---------- */

.services {
  position: relative;
  background-color: var(--near-black);
  padding: 60px 0;
  overflow: hidden;
  color: #ffffff;
}

.services::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('assets/services-bg.webp') center / cover no-repeat;
  opacity: 0.5;
}

.services .inner { position: relative; }

.services-head { text-align: center; padding: 10px 5px; }

.services-head .eyebrow {
  font-size: 21px;
  color: var(--brand-red);
  margin-bottom: 20px;
}

.services-head h2 {
  font-family: var(--poppins);
  font-size: 50px;
  font-weight: 800;
  margin: 0;
  line-height: 1.1em;
}

.services-head p {
  font-family: var(--headline);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5em;
  margin: 20px auto 0;
  max-width: 730px;
}

.card-row {
  display: flex;
  gap: 20px;
  padding: 15px 0;
  align-items: stretch;
}

.card {
  background: #ffffff;
  color: var(--body-text);
  flex: 1;
  padding: 30px 15px 30px;
  padding-top: 0;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
}

.card > .card-media { padding: 0; text-align: center; }

.card img { width: 100%; height: 235px; object-fit: cover; }

.card h3 {
  font-family: var(--poppins);
  font-size: 22px;
  font-weight: 600;
  text-align: center;
  margin: 20px 0 0;
  line-height: 1.3em;
}

.card p {
  font-family: var(--headline);
  font-size: 16px;
  font-weight: 700;
  font-style: italic;
  text-align: center;
  line-height: 1.5em;
  margin: 20px 0 0;
}

/* ---------- FAQ ---------- */

.faq {
  padding: 60px 0;
  padding-top: 0;
}

.faq .inner {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  padding: 0 15px 15px;
}

.faq-photo {
  width: 46%;
  padding: 10px 5px;
  flex-shrink: 0;
}

.faq-copy {
  flex: 1;
  min-width: 0;
  padding: 0 5px;
}

.faq-copy .eyebrow {
  font-family: var(--poppins);
  font-size: 14px;
  color: var(--body-text);
  letter-spacing: 0.02em;
  margin-bottom: 10px;
}

.faq-copy h2 {
  font-family: var(--poppins);
  font-size: 36px;
  font-weight: 600;
  margin: 0 0 24px;
  line-height: 1.3em;
}

.faq-copy h3 {
  font-family: var(--lato);
  font-size: 16px;
  font-weight: 700;
  margin: 24px 0 0;
  line-height: 1.5em;
}

.faq-copy p {
  font-family: var(--lato);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5em;
  margin: 12px 0 0;
}

/* ---------- Testimonials ---------- */

.testimonials {
  background: var(--brand-maroon);
  padding: 50px 0;
  color: #ffffff;
  text-align: center;
}

.testimonials .eyebrow {
  font-family: var(--headline);
  font-size: 16px;
  font-weight: 600;
  color: #ffffff;
  margin: 0;
}

.testimonials h2 {
  font-family: var(--headline);
  font-size: 32px;
  font-weight: 700;
  margin: 8px 0 0;
  line-height: 1.3em;
}

.testimonial-row {
  display: flex;
  gap: 20px;
  padding: 15px 0;
  align-items: stretch;
}

.testimonial {
  background: #ffffff;
  color: var(--body-text);
  flex: 1;
  padding: 40px 5px;
  margin-bottom: 10px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.testimonial .t-media { padding: 10px; }

.testimonial img { width: 100%; height: auto; }

.testimonial blockquote {
  font-family: var(--body-serif);
  font-size: 14px;
  font-style: italic;
  font-weight: 700;
  color: var(--muted-text);
  line-height: 1.8em;
  margin: 0;
  padding: 0 12px;
}

.testimonial cite {
  font-family: var(--headline);
  font-size: 24px;
  font-weight: 700;
  font-style: normal;
  display: block;
  margin-top: 14px;
}

/* ---------- Footer ---------- */

.site-footer {
  background: #000000;
  color: #ffffff;
  padding: 60px 0;
}

.site-footer .inner {
  display: flex;
  gap: 20px;
  padding: 15px 15px;
  align-items: flex-start;
}

.footer-brand {
  flex: 1;
  min-width: 0;
  padding-bottom: 20px;
}

.footer-brand img { width: 100%; height: auto; }

.social-icons {
  display: flex;
  gap: 14px;
  margin: 4px 0;
  padding-top: 18px;
}

.social-icons a {
  display: inline-flex;
  width: 26px;
  height: 26px;
}

.social-icons svg {
  width: 26px;
  height: 26px;
  fill: #ffffff;
}

.footer-contact {
  flex: 1;
  min-width: 0;
  padding-top: 30px;
}

.footer-contact p {
  font-family: var(--body-serif);
  font-size: 16px;
  line-height: 1.5em;
  margin: 0 0 26px;
}

.footer-contact a {
  color: #ffffff;
  text-decoration: none;
}

.footer-contact a:hover { text-decoration: underline; }

.footer-legal {
  background: #000000;
  color: #ffffff;
  padding: 5px 40px 20px;
  text-align: center;
}

.footer-legal .inner {
  max-width: 100%;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding-top: 20px;
}

.footer-legal p {
  font-family: var(--headline);
  font-size: 15px;
  font-weight: 400;
  line-height: 1.3em;
  margin: 0 0 10px;
}

.footer-legal p:last-child { margin-bottom: 0; }

.footer-legal a { color: #ffffff; text-decoration: none; }

.footer-legal a:hover { text-decoration: underline; }

/* ---------- Contact page ---------- */

.contact-intro {
  text-align: center;
  padding: 40px 0 10px;
}

.contact-intro h2 {
  font-family: var(--headline);
  font-size: 23px;
  font-weight: 600;
  line-height: 1.4em;
  margin: 0;
}

.form-section { padding: 20px 0 60px; }

.ck-form {
  max-width: 800px;
  width: 100%;
  margin: 0 auto;
  background: #ffffff;
  border: 1px solid #ffffff;
  border-radius: 8px;
}

.field { margin-bottom: 16px; }

.field label {
  display: block;
  font-family: 'Inter', var(--content);
  font-size: 14px;
  font-weight: 500;
  color: #344054;
  margin-bottom: 6px;
}

.field .req { color: #b42318; }

.field input[type='text'],
.field input[type='tel'],
.field input[type='email'],
.field input[type='file'],
.field select {
  width: 100%;
  font-family: 'Inter', var(--content);
  font-size: 16px;
  color: #101828;
  padding: 10px 14px;
  border: 1px solid #d0d5dd;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 1px 2px 0 rgba(16, 24, 40, 0.05);
}

.field input:focus,
.field select:focus {
  outline: none;
  border-color: #155eef;
  box-shadow: 0 0 0 4px rgba(21, 94, 239, 0.12);
}

.field-grid {
  display: flex;
  gap: 16px;
}

.field-grid > .field { flex: 1; }

.consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 16px;
}

.consent input { margin-top: 3px; flex-shrink: 0; }

.consent p {
  font-family: 'Inter', var(--content);
  font-size: 16px;
  font-weight: 400;
  color: #344054;
  margin: 0;
  line-height: 1.45em;
}

.submit-btn {
  width: 100%;
  background: #155eef;
  border: 0;
  border-radius: 8px;
  padding: 12px 14px;
  color: #ffffff;
  font-family: 'Inter', var(--content);
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  box-shadow: 0 1px 2px 0 rgba(16, 24, 40, 0.05);
  margin-top: 15px;
}

.submit-btn:hover { background: #1250cc; }

.form-legal {
  text-align: center;
  font-family: 'Inter', var(--content);
  font-size: 14px;
  margin: 16px 0 0;
  color: #000000;
}

.form-note {
  text-align: center;
  font-family: 'Inter', var(--content);
  font-size: 14px;
  color: #475467;
  margin: 12px 0 0;
}

/* ---------- Responsive ---------- */

@media (max-width: 991px) {
  .about .inner,
  .faq .inner,
  .card-row,
  .testimonial-row,
  .site-footer .inner {
    flex-direction: column;
  }

  .about-photo,
  .faq-photo,
  .faq-copy,
  .footer-brand,
  .footer-contact {
    width: 100%;
  }

  .about-photo { min-height: 320px; }
  .about-copy { padding: 30px 0 0; }
  .faq .inner { padding: 0 15px 15px; }
  .footer-brand { max-width: 380px; }
  .footer-contact { padding-top: 10px; }
  .card { margin-bottom: 0; }
  .testimonial { margin-bottom: 0; }
}

@media (max-width: 767px) {
  .nav-toggle { display: block; }

  .nav-wrap {
    flex-wrap: wrap;
    padding: 10px 15px;
  }

  /* The original keeps the full 240px logo block on phones too; trimmed here
     so the hero is visible above the fold. Revert if exact parity is wanted. */
  .brand { padding-bottom: 0; }
  .brand img { width: 220px; height: 147px; }

  .nav-menu {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    text-align: center;
    gap: 0;
    padding-bottom: 8px;
  }

  .nav-menu.open { display: flex; }
  .nav-menu a { justify-content: center; }

  .page-title h1 { font-size: 32px; }

  .hero { padding: 90px 0; }
  .hero h2 { font-size: 30px; }
  .hero h1 { font-size: 45px; }
  .card h3 { font-size: 18px; }
  .hero .lede { font-size: 18px; }

  .red-band h2 { font-size: 24px; }

  .about-copy h2 { font-size: 29px; }
  .about .inner { padding: 15px; }
  .eyebrow { font-size: 18px; }

  .services-head h2 { font-size: 35px; }
  .services-head .eyebrow { font-size: 21px; }

  .faq-copy h2 { font-size: 28px; }

  .testimonials h2 { font-size: 36px; }

  .contact-intro h2 { font-size: 18px; }

  .field-grid { flex-direction: column; gap: 0; }
}
