/* Turtleback Tech — styles
   Built for readers who may be squinting: 18px base, high contrast,
   big tap targets, one typeface (Atkinson Hyperlegible, designed for low vision). */

:root {
  --mesa: #1e4d3b;        /* deep green — brand */
  --mesa-dark: #143528;
  --sage: #5f8a72;
  --ochre: #c98a2e;       /* desert sun — reserved for "call" actions */
  --ochre-dark: #a46f1f;
  --sand: #f1e9d6;        /* section bands */
  --sand-line: #d9cfb5;
  --ink: #1b2621;
  --ink-soft: #4a5a52;
  --white: #ffffff;
  --max: 1060px;
  --radius: 6px;
  --focus: 0 0 0 3px #fff, 0 0 0 6px var(--ochre);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: "Atkinson Hyperlegible Next", "Atkinson Hyperlegible", "Segoe UI", Roboto, Arial, sans-serif;
  font-size: 18px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

@media (min-width: 1024px) { body { font-size: 17px; } }

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

a { color: var(--mesa); text-decoration: underline; text-underline-offset: 3px; }
a:hover { color: var(--mesa-dark); }
:focus-visible { outline: none; box-shadow: var(--focus); border-radius: 4px; }

h1, h2, h3 { color: var(--mesa-dark); line-height: 1.15; margin: 0 0 .5em; font-weight: 800; letter-spacing: -0.015em; }
h1 { font-size: clamp(2.1rem, 4.4vw, 2.9rem); }
h2 { font-size: clamp(1.6rem, 2.8vw, 2rem); }
h3 { font-size: 1.2rem; font-weight: 700; }
p { margin: 0 0 1em; }

.skip {
  position: absolute; left: -9999px; top: 8px;
  background: var(--mesa-dark); color: #fff; padding: 10px 14px; z-index: 100;
}
.skip:focus { left: 8px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 12px 20px; border-radius: var(--radius);
  font-weight: 700; font-size: 1.05rem; line-height: 1.2;
  text-decoration: none; border: 2px solid transparent; cursor: pointer;
  min-height: 48px; /* comfortable tap target */
}
.btn-lg { padding: 14px 24px; font-size: 1.08rem; }
.btn-primary { background: var(--mesa); color: #fff; border-color: var(--mesa); }
.btn-primary:hover { background: var(--mesa-dark); color: #fff; }
.btn-primary[disabled] { background: var(--ink-soft); border-color: var(--ink-soft); cursor: wait; }
.btn-secondary { background: transparent; color: var(--mesa-dark); border-color: var(--mesa-dark); }
.btn-secondary:hover { background: var(--mesa-dark); color: #fff; }
.btn-call { background: var(--ochre); color: var(--ink); border-color: var(--ochre); }
.btn-call:hover { background: var(--ochre-dark); border-color: var(--ochre-dark); color: #fff; }
.btn-call svg { width: 20px; height: 20px; }

/* Header */
.site-header {
  background: var(--white);
  border-bottom: 1px solid var(--sand-line);
  position: sticky; top: 0; z-index: 20;
}
.header-row { display: flex; align-items: center; gap: 24px; padding-top: 12px; padding-bottom: 12px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--mesa-dark); text-decoration: none; font-weight: 800; }
.logo { width: 40px; height: 40px; }
.logo-img { width: 48px; height: 48px; object-fit: contain; border-radius: 8px; display: block; }
.brand-text { font-size: 1.3rem; white-space: nowrap; }
.nav { margin-left: auto; display: flex; gap: 22px; }
.nav a { color: var(--ink); text-decoration: none; font-weight: 500; padding: 6px 0; }
.nav a:hover { color: var(--mesa); text-decoration: underline; }
.header-call span { white-space: nowrap; }
@media (max-width: 860px) { .nav { display: none; } .header-call { margin-left: auto; } }
@media (max-width: 480px) { .brand-text { display: none; } .header-call { padding: 10px 14px; } }

/* Hero */
.hero { position: relative; background: var(--sand); padding: 60px 0 130px; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 48px; align-items: start; }
.hero-copy { max-width: 620px; }
.lede { font-size: 1.2rem; color: var(--ink-soft); margin-bottom: 28px; max-width: 34em; }
.cta-row { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 20px; }
.hero-note { color: var(--ink-soft); font-size: 1rem; margin: 0; }
.hero-proof {
  list-style: none; margin: 8px 0 0; padding: 22px 26px;
  background: var(--white); border-left: 6px solid var(--ochre);
  font-size: 1.05rem;
}
.hero-proof li + li { margin-top: 14px; }
.hero-proof strong { color: var(--mesa-dark); }
.ridge { position: absolute; left: 0; right: 0; bottom: -1px; width: 100%; height: 120px; display: block; }
@media (max-width: 820px) {
  .hero { padding: 48px 0 120px; }
  .hero-grid { grid-template-columns: 1fr; gap: 28px; }
  .ridge { height: 70px; }
}

/* Sections */
.section { padding: 64px 0; }
.band { background: var(--sand); border-top: 1px solid var(--sand-line); border-bottom: 1px solid var(--sand-line); }
.section-head { max-width: 620px; margin-bottom: 32px; }
.section-intro { font-size: 1.08rem; color: var(--ink-soft); margin: 0; }
@media (max-width: 820px) { .section { padding: 52px 0; } }

/* Services: two columns, divided by rules rather than boxed in cards */
.services { display: grid; grid-template-columns: 1fr 1fr; gap: 0 56px; }
.service {
  display: grid; grid-template-columns: 48px 1fr; gap: 18px;
  padding: 26px 0; border-top: 2px solid var(--sand-line);
}
.service ul { margin: 0; padding-left: 1.1em; color: var(--ink-soft); }
.service li { margin: 6px 0; }
.service-icon { width: 48px; height: 48px; color: var(--mesa); }
.service-icon svg { width: 48px; height: 48px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
@media (max-width: 820px) { .services { grid-template-columns: 1fr; } }

/* Steps — a real sequence, so numbers earn their place */
.steps { list-style: none; margin: 0; padding: 0; counter-reset: step; display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px; }
.steps li { counter-increment: step; position: relative; padding-top: 58px; }
.steps li::before {
  content: counter(step); position: absolute; top: 0; left: 0;
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--mesa); color: #fff; font-weight: 800; font-size: 1.3rem;
  display: grid; place-items: center;
}
.steps p { color: var(--ink-soft); margin: 0; }
@media (max-width: 820px) { .steps { grid-template-columns: 1fr; gap: 28px; } .steps li { padding-top: 0; padding-left: 64px; } }

/* Pricing */
.pricing-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: start; }
.pricing-grid .section-head { margin-bottom: 0; }
.rates { margin: 0; }
.rates > div { display: flex; justify-content: space-between; gap: 20px; padding: 16px 0; border-top: 2px solid var(--sand-line); }
.rates > div:last-child { border-bottom: 2px solid var(--sand-line); }
.rates dt { font-weight: 700; color: var(--mesa-dark); }
.rates dd { margin: 0; text-align: right; color: var(--ink-soft); }
.price { font-weight: 800; color: var(--ink); font-size: 1.1em; }
@media (max-width: 820px) { .pricing-grid { grid-template-columns: 1fr; gap: 28px; } .rates > div { flex-direction: column; gap: 4px; } .rates dd { text-align: left; } }

/* About */
.about-grid { display: grid; grid-template-columns: 300px 1fr; gap: 48px; align-items: start; }
.about-grid p { font-size: 1.05rem; }
.photo-placeholder {
  aspect-ratio: 4 / 5; border-radius: var(--radius);
  background: repeating-linear-gradient(135deg, #e3d9c0 0 12px, #ece4cf 12px 24px);
  border: 2px dashed var(--sage); color: var(--ink-soft);
  display: grid; place-items: center; font-weight: 700;
}
.about-photo img { width: 100%; height: auto; border-radius: var(--radius); display: block; }
@media (max-width: 820px) { .about-grid { grid-template-columns: 1fr; } .about-photo { max-width: 260px; } }

/* FAQ */
.faq-wrap h2, .faq-wrap details { max-width: 760px; }
details { border-top: 2px solid var(--sand-line); }
details:last-of-type { border-bottom: 2px solid var(--sand-line); }
summary {
  cursor: pointer; list-style: none; padding: 16px 40px 16px 0; position: relative;
  font-weight: 700; font-size: 1.08rem; color: var(--mesa-dark);
}
summary::-webkit-details-marker { display: none; }
summary::after {
  content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%);
  font-size: 1.6rem; font-weight: 400; color: var(--sage); line-height: 1;
}
details[open] summary::after { content: "–"; }
details p { margin: 0 0 20px; color: var(--ink-soft); max-width: 60ch; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 56px; align-items: start; }
.contact-big { font-size: clamp(1.8rem, 3.2vw, 2.1rem); font-weight: 800; margin: 20px 0 8px; }
.contact-big a { text-decoration: none; color: var(--mesa-dark); }
.contact-big a:hover { text-decoration: underline; }
.contact-lines { color: var(--ink-soft); }
@media (max-width: 820px) { .contact-grid { grid-template-columns: 1fr; gap: 32px; } }

.form { display: grid; gap: 16px; background: var(--white); padding: 28px; border: 1px solid var(--sand-line); border-radius: var(--radius); }
.form .row { display: grid; gap: 16px; grid-template-columns: 1fr 1fr; }
@media (max-width: 560px) { .form .row { grid-template-columns: 1fr; } .form { padding: 20px; } }
.form label { display: grid; gap: 6px; font-weight: 700; color: var(--ink); }
.form input, .form textarea {
  font: inherit; color: var(--ink); padding: 12px 14px; min-height: 48px;
  border: 2px solid var(--sand-line); border-radius: var(--radius); background: #fff; outline: none;
}
.form input:focus, .form textarea:focus { border-color: var(--mesa); box-shadow: 0 0 0 3px rgba(30, 77, 59, 0.18); }
.form textarea { resize: vertical; }
.form ::placeholder { color: #8a948e; }
.choices { border: 0; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px 22px; align-items: center; }
.choices legend { font-weight: 700; padding: 0; margin-bottom: 8px; width: 100%; }
.choices label { display: inline-flex; align-items: center; gap: 8px; font-weight: 500; cursor: pointer; }
.choices input { width: 22px; height: 22px; min-height: 0; accent-color: var(--mesa); margin: 0; }
.form .hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-actions { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.form-status { font-weight: 500; color: var(--ink-soft); }
.form-status.ok { color: var(--mesa); }
.form-status.err { color: #9b2c2c; }

/* Footer */
.site-footer { background: var(--mesa-dark); color: #d7e3dc; padding: 28px 0; font-size: 1rem; }
.footer-row { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px 24px; }
.footer-row p { margin: 0; }
.site-footer a { color: #fff; }
