/* JHI Roofing — landing pages (repair / replacement)
   Tokens de marca.jhiroofing.com/marca/design-guide.md */
:root {
  --jhi-orange: #FA7A0A;
  --jhi-amber: #FCAA0A;
  --jhi-fire: #FA5409;
  --jhi-ink: #0A0A0A;
  --jhi-slate: #1C2530;
  --jhi-steel: #5B6672;
  --jhi-mist: #F4F5F6;
  --jhi-white: #FDFDFD;
  --jhi-gradient: linear-gradient(90deg, var(--jhi-amber), var(--jhi-orange) 55%, var(--jhi-fire));
  --radius: 14px;
  --shadow: 0 10px 30px rgba(10, 10, 10, 0.12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Inter', -apple-system, Segoe UI, sans-serif;
  color: var(--jhi-ink);
  background: var(--jhi-white);
  line-height: 1.55;
}
h1, h2, h3, h4 {
  font-family: 'Barlow Condensed', 'Oswald', sans-serif;
  text-transform: uppercase;
  font-weight: 800;
  line-height: 1.08;
  margin: 0 0 .5em;
  letter-spacing: .01em;
}
h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.3rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; color: var(--jhi-steel); }
a { color: inherit; }
img { display: block; max-width: 100%; }
.container { max-width: 1160px; margin: 0 auto; padding: 0 20px; }
.eyebrow {
  display: inline-block;
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: .85rem;
  color: var(--jhi-orange);
  margin-bottom: .6em;
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5em;
  border: none;
  cursor: pointer;
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .03em;
  font-size: 1.05rem;
  padding: .95em 1.7em;
  border-radius: 999px;
  text-decoration: none;
  transition: transform .15s ease, box-shadow .15s ease;
}
.btn-primary {
  background: var(--jhi-gradient);
  color: var(--jhi-white);
  box-shadow: var(--shadow);
}
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 14px 34px rgba(250, 84, 9, .32); }
.btn-secondary {
  background: transparent;
  color: var(--jhi-ink);
  border: 2px solid var(--jhi-ink);
}

/* header */
.site-header {
  position: sticky; top: 0; z-index: 40;
  background: var(--jhi-white);
  border-bottom: 1px solid #ECEDEE;
}
.site-header .container {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 14px; padding-bottom: 14px;
}
.site-header img { height: 40px; width: auto; }
.header-phone {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  text-decoration: none;
  color: var(--jhi-ink);
  display: flex; align-items: center; gap: .4em;
  font-size: 1.05rem;
}
.header-phone strong { color: var(--jhi-orange); }

/* hero */
.hero {
  background: var(--jhi-mist);
  padding: 56px 0 64px;
}
.hero .container {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, .85fr);
  gap: 40px;
  align-items: start;
}
@media (max-width: 900px) {
  .hero .container { grid-template-columns: 1fr; }
}
.hero-copy ul { list-style: none; margin: 1.4em 0; padding: 0; display: grid; gap: .55em; }
.hero-copy li { padding-left: 1.6em; position: relative; color: var(--jhi-ink); font-size: .96rem; }
.hero-copy li::before {
  content: "✓"; position: absolute; left: 0; color: var(--jhi-orange); font-weight: 800;
}
.hero-cta { display: flex; align-items: center; gap: 1.2em; flex-wrap: wrap; margin-top: 1.4em; }
.hero-cta .fine { color: var(--jhi-steel); font-size: .88rem; }
.hero-image { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }

/* lead form */
.lead-card {
  background: var(--jhi-white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 28px;
  border-top: 6px solid var(--jhi-orange);
}
.lead-card h3 { margin-bottom: .2em; }
.lead-card .sub { font-size: .92rem; margin-bottom: 1.2em; }
.field { margin-bottom: 14px; }
.field label { display: block; font-size: .8rem; font-weight: 700; margin-bottom: .35em; color: var(--jhi-ink); }
.field input, .field select, .field textarea {
  width: 100%; padding: .75em .9em; border-radius: 9px; border: 1.5px solid #DFE2E5;
  font-family: inherit; font-size: .96rem; background: var(--jhi-white); color: var(--jhi-ink);
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--jhi-orange); box-shadow: 0 0 0 3px rgba(250, 122, 10, .18);
}
.checkboxes { display: grid; grid-template-columns: 1fr 1fr; gap: .5em .8em; }
.checkboxes label { display: flex; align-items: center; gap: .5em; font-size: .88rem; font-weight: 500; color: var(--jhi-ink); }
.consent { display: flex; gap: .6em; font-size: .78rem; color: var(--jhi-steel); margin: 14px 0; }
.consent input { margin-top: 3px; }
.lead-card .btn-primary { width: 100%; justify-content: center; margin-top: 4px; }
.form-msg { margin-top: 12px; font-size: .9rem; font-weight: 600; display: none; }
.form-msg.ok { display: block; color: #1C7A3C; }
.form-msg.err { display: block; color: #C22; }
.honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* trust bar */
.trust-bar { background: var(--jhi-slate); color: var(--jhi-white); padding: 26px 0; }
.trust-bar .container { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; text-align: center; }
.trust-bar h4 { color: var(--jhi-white); margin-bottom: .2em; font-size: 1.05rem; }
.trust-bar p { color: #B7BFC8; margin: 0; font-size: .88rem; }
@media (max-width: 700px) { .trust-bar .container { grid-template-columns: 1fr; } }

/* generic sections */
section.block { padding: 64px 0; }
section.block.alt { background: var(--jhi-mist); }
.section-head { max-width: 640px; margin-bottom: 2.2em; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 860px) { .grid-2, .grid-3 { grid-template-columns: 1fr; } }
.card {
  background: var(--jhi-white); border-radius: var(--radius); padding: 24px;
  box-shadow: 0 4px 18px rgba(10,10,10,.06); border: 1px solid #EEF0F1;
}
.card h3 { margin-bottom: .3em; }
.step { display: flex; gap: 16px; }
.step-num {
  flex: none; width: 40px; height: 40px; border-radius: 50%;
  background: var(--jhi-gradient); color: var(--jhi-white);
  display: flex; align-items: center; justify-content: center;
  font-family: 'Barlow Condensed', sans-serif; font-weight: 800; font-size: 1.1rem;
}

/* faq */
.faq-item { border-bottom: 1px solid #E7E9EB; padding: 18px 0; }
.faq-item summary { cursor: pointer; font-weight: 700; font-size: 1.02rem; list-style: none; display: flex; justify-content: space-between; align-items: center; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-size: 1.4rem; color: var(--jhi-orange); }
.faq-item[open] summary::after { content: "–"; }
.faq-item p { margin-top: .7em; }

/* final CTA */
.final-cta { background: var(--jhi-ink); color: var(--jhi-white); padding: 64px 0; text-align: center; }
.final-cta h2 { color: var(--jhi-white); }
.final-cta p { color: #C9CCD0; max-width: 560px; margin: 0 auto 1.6em; }

/* footer */
.site-footer { background: var(--jhi-slate); color: #B7BFC8; padding: 34px 0; font-size: .85rem; }
.site-footer .container { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; align-items: center; }
.site-footer a { color: var(--jhi-white); text-decoration: none; }
.site-footer strong { color: var(--jhi-white); }

/* sticky mobile call bar */
.mobile-call-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 50;
  display: none; background: var(--jhi-gradient); padding: 12px 16px;
  text-align: center; box-shadow: 0 -6px 20px rgba(0,0,0,.18);
}
.mobile-call-bar a { color: var(--jhi-white); text-decoration: none; font-family: 'Barlow Condensed', sans-serif; font-weight: 800; text-transform: uppercase; letter-spacing: .03em; }
@media (max-width: 760px) { .mobile-call-bar { display: block; } body { padding-bottom: 64px; } }
