/* Rocking Spur Homes LLC - shared styles */
/* Official Rocking Spur Brand Guidelines 2019 palette + fonts */
:root {
  /* Official brand palette */
  --lorax: #FF7A59;        /* primary, CTAs, buttons, key accents */
  --lorax-dark: #e8643f;   /* primary hover */
  --flat-earth: #253342;   /* dark sections, header text, headings */
  --flat-earth-dk: #1b2733;/* hover for dark elements */
  --koala: #EAF0F6;        /* light section backgrounds */
  --teal: #00BDA5;         /* accent */
  --sea-blue: #086788;     /* links, secondary buttons */
  --sea-blue-dk: #06506a;  /* secondary hover */
  --blue-green: #07A0C3;   /* accent */
  --candy-apple: #F2545B;  /* alert, urgency, sparingly */
  --flint: #99ACC2;        /* gray */
  --dark-grey: #898989;    /* muted text */
  --broiner: #2B2B2B;      /* body text */

  /* Semantic mappings */
  --ink: var(--broiner);
  --muted: var(--dark-grey);
  --line: #DCE3EC;
  --sand: var(--koala);
  --white: #ffffff;
  --shadow: 0 6px 24px rgba(37, 51, 66, 0.10);
  --radius: 14px;
  --maxw: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Open Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--sea-blue); }
h1, h2, h3, h4 {
  font-family: "Open Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  line-height: 1.15; margin: 0 0 0.5em; font-weight: 700; letter-spacing: -0.01em;
  color: var(--flat-earth);
}
h1 { font-size: clamp(30px, 5vw, 46px); }
h2 { font-size: clamp(24px, 3.6vw, 34px); }
h3 { font-size: 20px; font-weight: 600; }
p { margin: 0 0 1em; }
em, .emphasis { font-family: "Roboto", Georgia, serif; font-style: italic; }
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }
.muted { color: var(--muted); }
.center { text-align: center; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,0.97);
  backdrop-filter: saturate(160%) blur(6px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; padding: 12px 20px; max-width: var(--maxw); margin: 0 auto;
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand .logo { height: 48px; width: auto; min-width: 100px; display: block; }
.nav { display: flex; align-items: center; gap: 22px; }
.nav a { color: var(--flat-earth); text-decoration: none; font-weight: 600; font-size: 15px; }
.nav a:hover { color: var(--lorax); }
.nav a.land-link { color: var(--sea-blue); }
.header-phone {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--lorax); color: #fff; text-decoration: none;
  font-weight: 700; padding: 9px 16px; border-radius: 999px; font-size: 15px; white-space: nowrap;
}
.header-phone:hover { background: var(--lorax-dark); }
.nav-toggle {
  display: none; background: none; border: 1px solid var(--line);
  border-radius: 8px; padding: 8px 10px; cursor: pointer; font-size: 18px; color: var(--flat-earth);
}

@media (max-width: 860px) {
  .nav {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: flex-start; gap: 0;
    background: #fff; border-bottom: 1px solid var(--line); padding: 8px 0;
  }
  .nav.open { display: flex; }
  .nav a { width: 100%; padding: 12px 20px; border-top: 1px solid var(--line); }
  .nav-toggle { display: inline-block; }
}

/* Buttons */
.btn {
  display: inline-block; background: var(--lorax); color: #fff;
  text-decoration: none; font-weight: 700; padding: 14px 24px;
  border-radius: 999px; border: none; cursor: pointer; font-size: 17px; text-align: center;
}
.btn:hover { background: var(--lorax-dark); }
.btn-block { display: block; width: 100%; }
.btn-ghost { background: #fff; color: var(--sea-blue); border: 2px solid var(--sea-blue); }
.btn-ghost:hover { background: var(--koala); }
.btn-secondary { background: var(--sea-blue); color: #fff; }
.btn-secondary:hover { background: var(--sea-blue-dk); }

/* Hero */
.hero {
  background:
    linear-gradient(180deg, rgba(37,51,66,0.96), rgba(37,51,66,0.90)),
    radial-gradient(circle at 80% 10%, rgba(0,189,165,0.22), transparent 45%);
  color: #fff;
}
.hero .wrap { padding-top: 54px; padding-bottom: 54px; }
.hero-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 40px; align-items: start; }
.hero h1 { color: #fff; }
.hero p.sub { font-size: 19px; color: #DCE6F0; max-width: 36ch; }
.hero ul.checks { list-style: none; padding: 0; margin: 18px 0 0; }
.hero ul.checks li { padding-left: 28px; position: relative; margin-bottom: 8px; color: #EAF0F6; }
.hero ul.checks li::before { content: "\2713"; position: absolute; left: 0; color: var(--teal); font-weight: 800; }
.eyebrow { text-transform: uppercase; letter-spacing: 0.14em; font-size: 13px; font-weight: 700; color: var(--lorax); margin: 0 0 10px; }

@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; gap: 26px; }
  .hero p.sub { max-width: none; }
}

/* Lead form card */
.lead-card {
  background: #fff; color: var(--ink); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 24px; border: 1px solid var(--line);
}
.lead-card h3 { margin-top: 0; }
.form-field { margin-bottom: 12px; }
.form-field label { display: block; font-weight: 600; font-size: 14px; margin-bottom: 5px; color: var(--flat-earth); }
.form-field input, .form-field textarea, .form-field select {
  width: 100%; padding: 12px 13px; border: 1px solid var(--line);
  border-radius: 10px; font-size: 16px; font-family: inherit; background: #fff; color: var(--ink);
}
.form-field input:focus, .form-field textarea:focus, .form-field select:focus {
  outline: none; border-color: var(--sea-blue); box-shadow: 0 0 0 3px rgba(8,103,136,0.15);
}
.form-field textarea { min-height: 80px; resize: vertical; }
.consent { display: flex; gap: 10px; align-items: flex-start; margin: 6px 0 14px; }
.consent input { margin-top: 4px; flex: none; width: 18px; height: 18px; }
.consent label { font-size: 12.5px; color: var(--muted); line-height: 1.5; }
.form-legal { font-size: 12px; color: var(--muted); margin: 12px 0 0; text-align: center; }
.form-legal a { color: var(--muted); text-decoration: underline; }
.thanks { display: none; background: var(--koala); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; text-align: center; }
.thanks.show { display: block; }
.thanks h3 { color: var(--sea-blue); }

/* Sections */
section.block { padding: 60px 0; }
section.alt { background: var(--koala); }
section.green { background: var(--flat-earth); color: #fff; }
section.green h2 { color: #fff; }
.section-head { max-width: 60ch; margin: 0 auto 38px; text-align: center; }
.section-head p { color: var(--muted); font-size: 18px; }
.section-head.light p { color: #C6D2DF; }
.section-head.light h2 { color: #fff; }

/* Value props grid */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
@media (max-width: 860px) {
  .grid-3, .grid-4, .grid-2 { grid-template-columns: 1fr; }
}
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px; box-shadow: var(--shadow);
}
.card .ico {
  width: 46px; height: 46px; border-radius: 11px; background: var(--koala);
  color: var(--sea-blue); display: grid; place-items: center; font-size: 22px; margin-bottom: 14px; font-weight: 800;
}
.card h3 { margin-bottom: 6px; }
.card p { margin: 0; color: var(--muted); font-size: 15.5px; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; counter-reset: step; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; } }
.step { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 24px; position: relative; }
.step .num {
  width: 44px; height: 44px; border-radius: 999px; background: var(--lorax); color: #fff;
  display: grid; place-items: center; font-weight: 800; font-size: 20px; margin-bottom: 14px;
}
.step h3 { margin-bottom: 6px; }
.step p { margin: 0; color: var(--muted); }

/* Trust / stats */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; text-align: center; }
@media (max-width: 860px) { .stats { grid-template-columns: 1fr; } }
.stat .big { font-size: 42px; font-weight: 800; color: var(--teal); line-height: 1; }
.stat .lbl { color: #C6D2DF; margin-top: 6px; }
.stars { color: var(--lorax); letter-spacing: 2px; font-size: 18px; }

/* Testimonials */
.quote { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); }
.quote p { font-family: "Roboto", Georgia, serif; font-style: italic; color: var(--ink); }
.quote .who { font-family: "Open Sans", sans-serif; font-weight: 700; color: var(--sea-blue); font-style: normal; margin-top: 12px; }
.quote .stars { display: block; margin-bottom: 10px; }

/* Situations list */
.sit-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
@media (max-width: 860px) { .sit-list { grid-template-columns: 1fr; } }
.sit-list li {
  background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 14px 16px;
  padding-left: 42px; position: relative; font-weight: 600;
}
.sit-list li::before { content: "\2713"; position: absolute; left: 16px; color: var(--lorax); font-weight: 800; }

/* FAQ */
.faq { max-width: 760px; margin: 0 auto; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 10px; margin-bottom: 12px; padding: 0 18px; }
.faq summary { cursor: pointer; font-weight: 700; padding: 16px 0; list-style: none; display: flex; justify-content: space-between; align-items: center; color: var(--flat-earth); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--lorax); font-size: 22px; font-weight: 700; }
.faq details[open] summary::after { content: "\2013"; }
.faq details p { color: var(--muted); padding-bottom: 16px; margin: 0; }

/* CTA strip */
.cta-strip { background: var(--lorax); color: #fff; text-align: center; padding: 50px 0; }
.cta-strip h2 { color: #fff; }
.cta-strip a.phone { color: #fff; font-weight: 800; text-decoration: none; font-size: 22px; }

/* Multi-step land form */
.step-form .fstep { display: none; }
.step-form .fstep.active { display: block; }
.step-progress { display: flex; gap: 8px; margin-bottom: 18px; }
.step-progress span { flex: 1; height: 6px; border-radius: 99px; background: var(--line); }
.step-progress span.on { background: var(--lorax); }

/* Helper block */
.helper { background: var(--koala); border: 1px dashed var(--sea-blue); border-radius: var(--radius); padding: 22px; }
.helper ul { margin: 8px 0 0; padding-left: 20px; color: var(--muted); }
.helper ul li { margin-bottom: 6px; }

/* Footer */
.site-footer { background: var(--flat-earth); color: var(--flint); padding: 48px 0 28px; font-size: 15px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 30px; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr; gap: 24px; } }
.site-footer a { color: var(--flint); text-decoration: none; }
.site-footer a:hover { color: var(--lorax); }
.site-footer h4 { color: #fff; margin: 0 0 12px; font-size: 15px; text-transform: uppercase; letter-spacing: 0.08em; }
.footer-logo { height: 54px; width: auto; margin-bottom: 12px; display: block; }
.site-footer .brand-foot { color: #fff; font-weight: 700; font-size: 18px; margin-bottom: 8px; }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 8px; }
.legal-bar { border-top: 1px solid #3a4a5a; margin-top: 30px; padding-top: 18px; color: var(--flint); font-size: 13px; }
.legal-bar a { color: var(--flint); text-decoration: underline; }

/* Legal pages */
.legal-page { max-width: 820px; margin: 0 auto; }
.legal-page h2 { margin-top: 32px; }
.legal-page p, .legal-page li { color: var(--ink); }
.legal-page .sms-clause { background: var(--koala); border-left: 4px solid var(--lorax); padding: 16px 20px; border-radius: 8px; }
.page-hero { background: var(--flat-earth); color: #fff; padding: 44px 0; }
.page-hero h1 { color: #fff; margin: 0; }
.page-hero p { color: #C6D2DF; margin: 8px 0 0; }
