/* Guerrero Technology — shared stylesheet
   Original palette: #a30000 / #4b0000 / #ffe066 / #d4a017 / #8b5c00 / #1c2526 */

:root {
  --red:      #a30000;
  --red-dk:   #4b0000;
  --red-hov:  #7f0000;
  --gold:     #ffe066;
  --gold-mid: #d4a017;
  --gold-dk:  #8b5c00;
  --panel:    #1c2526;
  --raised:   #2a3738;
  --raised-2: #334041;
  --ink:      #f0f0f0;
  --muted:    #b9c2c3;
  --rule:     #3d4b4c;

  --measure: 68ch;
  --gutter: clamp(1.25rem, 5vw, 4rem);

  font-size: 17px;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }

body {
  margin: 0;
  background: linear-gradient(135deg, var(--gold-mid) 0%, var(--gold-dk) 100%);
  background-attachment: fixed;
  color: var(--ink);
  font-family: "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, .phone-big, .btn {
  font-family: "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif;
  letter-spacing: -0.015em;
}

h1 { font-size: clamp(2.1rem, 5.5vw, 3.4rem); font-weight: 700; line-height: 1.08; margin: 0 0 1rem; color: #fff; }
h2 {
  font-size: clamp(1.45rem, 3vw, 2rem); font-weight: 700; line-height: 1.18;
  margin: 0 0 .85rem; color: var(--gold);
  border-bottom: 2px solid var(--red); padding-bottom: .3em;
}
h3 { font-size: 1.1rem; font-weight: 600; margin: 0 0 .35rem; color: var(--gold); }

p, li { max-width: var(--measure); }
p { margin: 0 0 1rem; }

a { color: var(--gold); text-decoration-thickness: 1px; text-underline-offset: 2px; }
a:hover { color: #fff; }

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

.skip { position: absolute; left: -9999px; background: var(--red); color: #fff; padding: .6rem 1rem; font-weight: 700; }
.skip:focus { left: 1rem; top: 1rem; z-index: 99; }

.wrap { max-width: 1080px; margin: 0 auto; padding-inline: var(--gutter); }

/* ---------- top bar ---------- */

.topbar {
  background: linear-gradient(to bottom, var(--red) 0%, var(--red-dk) 100%);
  box-shadow: 0 2px 6px rgba(0,0,0,.35);
  position: sticky; top: 0; z-index: 20;
}
.topbar .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem 1.4rem; padding-block: .85rem; }
.brand { font-family: "Archivo", sans-serif; font-weight: 700; font-size: 1.05rem; color: #fff; text-decoration: none; margin-right: auto; }
.brand span { color: var(--gold); }

.nav { display: flex; flex-wrap: wrap; gap: .95rem; }
.nav a { color: var(--gold); text-decoration: none; font-size: .89rem; font-weight: 700; }
.nav a:hover, .nav a[aria-current="page"] { color: #fff; text-decoration: underline; }

.topbar .btn { padding: .45rem .9rem; font-size: .92rem; background: var(--gold); color: #1c2526; }
.topbar .btn:hover { background: #fff; color: var(--red-dk); }

/* ---------- main panel over the gradient ---------- */

main {
  display: block;
  max-width: 1180px;
  margin: 2em auto;
  background: rgba(28, 37, 38, .96);
  border-radius: 8px;
  box-shadow: 0 6px 18px rgba(0,0,0,.4);
  overflow: hidden;
}

/* ---------- buttons ---------- */

.btn {
  display: inline-block; background: var(--red); color: var(--ink);
  font-weight: 700; padding: .8rem 1.4rem; border: 2px solid transparent;
  border-radius: 5px; text-decoration: none; cursor: pointer; font-size: 1rem;
  transition: background .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.btn:hover {
  background: var(--red-hov); color: var(--ink);
  border-color: var(--gold);
  box-shadow: 0 0 12px rgba(255, 224, 102, .55);
}
.btn-quiet { background: transparent; color: var(--gold); border-color: var(--gold); }
.btn-quiet:hover { background: var(--gold); color: var(--panel); box-shadow: none; }

/* ---------- hero ---------- */

.hero { padding-block: clamp(2.4rem, 6vw, 4rem) clamp(2rem, 5vw, 3.2rem); }
.hero .lede { font-size: 1.17rem; color: var(--muted); max-width: 58ch; }

.phone-block { margin-top: 2rem; border-top: 3px solid var(--red); padding-top: 1rem; display: inline-block; }
.phone-kicker { font-size: .95rem; color: var(--muted); margin: 0 0 .1rem; }
.phone-big {
  display: block; font-size: clamp(2rem, 6.5vw, 3.6rem); font-weight: 700;
  color: var(--gold); text-decoration: none; line-height: 1.05; letter-spacing: -0.03em;
}
.phone-big:hover { color: #fff; }
.phone-note { font-size: .9rem; color: var(--muted); margin: .45rem 0 0; }

.hero-actions { margin-top: 1.8rem; display: flex; flex-wrap: wrap; gap: .7rem; }

/* ---------- sections ---------- */

section { padding-block: clamp(2rem, 4.5vw, 3.2rem); }
.band { background: var(--raised); border-block: 1px solid var(--rule); }
.section-intro { color: var(--muted); font-size: 1.05rem; }

.grid { display: grid; gap: 1.4rem 2.4rem; grid-template-columns: repeat(auto-fit, minmax(255px, 1fr)); margin-top: 1.8rem; }
.grid p, .grid li { max-width: 46ch; }
.grid > div {
  background: var(--raised); border-left: 4px solid var(--red);
  border-radius: 5px; padding: 1.2rem 1.3rem;
  transition: background .3s ease, transform .3s ease;
}
.band .grid > div { background: var(--panel); }
.grid > div:hover { background: var(--raised-2); transform: translateX(5px); }
.grid > div p { color: var(--muted); font-size: .97rem; margin: 0; }
.grid > div h3 { margin-top: 0; }

.checks { list-style: none; padding: 0; margin: 1.2rem 0 0; }
.checks li { padding-left: 1.7rem; position: relative; margin-bottom: .7rem; }
.checks li::before { content: ""; position: absolute; left: 0; top: .5em; width: .72rem; height: .72rem; border-radius: 50%; background: var(--gold); }

.risks { list-style: none; padding: 0; margin: 1.2rem 0 0; }
.risks li { padding-left: 1.7rem; position: relative; margin-bottom: .7rem; }
.risks li::before {
  content: ""; position: absolute; left: .05rem; top: .45em; width: 0; height: 0;
  border-left: .4rem solid transparent; border-right: .4rem solid transparent;
  border-bottom: .66rem solid var(--red);
}

.plain { border-left: 4px solid var(--gold); padding-left: 1.3rem; margin: 1.5rem 0; }
.plain p { font-size: 1.12rem; margin-bottom: .6rem; }

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

.faq { margin-top: 1.6rem; border-top: 1px solid var(--rule); }
.faq details { border-bottom: 1px solid var(--rule); padding: .95rem 0; }
.faq summary {
  font-family: "Archivo", sans-serif; font-weight: 600; font-size: 1.04rem;
  cursor: pointer; list-style: none; color: var(--ink);
  display: flex; justify-content: space-between; gap: 1rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover, .faq details[open] summary { color: var(--gold); }
.faq summary::after { content: "+"; color: var(--gold); font-weight: 700; }
.faq details[open] summary::after { content: "\2013"; }
.faq details > p { margin: .7rem 0 0; color: var(--muted); }

/* ---------- areas ---------- */

.areas { columns: 2 170px; column-gap: 2rem; padding: 0; margin: 1.2rem 0 0; list-style: none; }
.areas li { color: var(--muted); font-size: .95rem; margin-bottom: .4rem; break-inside: avoid; padding-left: .9rem; position: relative; }
.areas li::before { content: ""; position: absolute; left: 0; top: .62em; width: .35rem; height: .35rem; background: var(--gold); border-radius: 50%; }

/* ---------- forms ---------- */

.form-grid { display: grid; gap: 1rem; max-width: 520px; margin-top: 1.4rem; }
label { font-weight: 600; font-size: .93rem; display: block; margin-bottom: .3rem; color: var(--ink); }
input, textarea, select {
  width: 100%; padding: .7rem; border: 2px solid var(--red); border-radius: 4px;
  font: inherit; font-size: .98rem; background: var(--panel); color: var(--ink);
  transition: border-color .3s ease;
}
input:focus, textarea:focus, select:focus {
  border-color: var(--gold); outline: none;
  box-shadow: 0 0 0 3px rgba(255, 224, 102, .2);
}
textarea { min-height: 120px; resize: vertical; }
.form-note { font-size: .88rem; color: var(--muted); }

.form-status { font-size: .93rem; margin: .6rem 0 0; max-width: 46ch; }
.form-status:empty { display: none; }
.form-status.is-ok { color: #a8e063; font-weight: 600; }
.form-status.is-error { color: #ff6b6b; font-weight: 600; }

/* ---------- footer ---------- */

footer {
  background: linear-gradient(to bottom, var(--red) 0%, var(--red-dk) 100%);
  padding-block: 2.4rem; font-size: .92rem; color: var(--ink);
}
footer h3 { color: var(--gold); font-size: .95rem; margin-bottom: .5rem; border: 0; }
footer a { color: var(--gold); }
footer a:hover { color: #fff; }
.foot-grid { display: grid; gap: 1.6rem 2.4rem; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.foot-grid ul { list-style: none; padding: 0; margin: 0; }
.foot-grid li { margin-bottom: .35rem; }
.legal { margin-top: 2rem; padding-top: 1rem; border-top: 1px solid rgba(255,224,102,.3); font-size: .87rem; }

/* ---------- checklist page ---------- */

.lm-layout { display: grid; gap: 2.5rem; grid-template-columns: 1fr; }
@media (min-width: 820px) { .lm-layout { grid-template-columns: 1.15fr .85fr; align-items: start; } }
.lm-box { border: 2px solid var(--gold); background: var(--raised); padding: 1.5rem; border-radius: 5px; position: sticky; top: 5.5rem; }
.lm-box h2 { font-size: 1.3rem; }

ol.numbered { padding-left: 1.3rem; }
ol.numbered li { margin-bottom: 1rem; }
ol.numbered li::marker { color: var(--gold); font-weight: 700; }
ol.numbered li strong { display: block; color: #fff; }

@media (max-width: 768px) {
  main { margin: 1em auto; border-radius: 0; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
}
