/* Turtleback Tech — styles
   Palette drawn from the Turtleback logo: desert sunset + turquoise inlay.
   Built for readers who may be squinting: high contrast, big tap targets. */

:root {
  /* Brand palette (from logo v3_smooth.svg) */
  --clay:        #A14935;   /* terracotta / burnt orange — primary brand */
  --clay-dark:   #682207;   /* deep rust — hover/darker brand */
  --canyon:      #591E0A;   /* darkest earth — headlines */
  --sun:         #FD9F42;   /* desert sunset orange — accents */
  --sun-soft:    #FCD14B;   /* golden hour */
  --turquoise:   #2E9C9A;   /* turquoise inlay — CTA / links */
  --turquoise-dk:#1B6E6C;   /* turquoise hover */
  --cream:       #F8F2E0;   /* logo background cream */
  --sand:        #F3E8CC;   /* section bands, a touch warmer than cream */
  --sand-line:   #DECEB2;   /* dividers */
  --sage:        #6E8558;   /* cactus / desert brush */
  --ink:         #2B1A10;   /* deep brown for body text */
  --ink-soft:    #5A473A;
  --white:       #ffffff;
  --max:         1080px;
  --radius:      6px;
  --focus:       0 0 0 3px #fff, 0 0 0 6px var(--turquoise);
}

* { 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(--turquoise-dk); text-decoration: underline; text-underline-offset: 3px; }
a:hover { color: var(--clay-dark); }
:focus-visible { outline: none; box-shadow: var(--focus); border-radius: 4px; }

/* Display serif for headings — Fraunces gives a warm, slightly Southwestern feel */
h1, h2, h3, .brand-text, .contact-big {
  font-family: "Fraunces", "Playfair Display", Georgia, "Times New Roman", serif;
  color: var(--canyon);
  line-height: 1.15;
  font-weight: 700;
  letter-spacing: -0.01em;
}
h1, h2 { font-weight: 800; }
h1 { font-size: clamp(2.2rem, 4.6vw, 3rem); margin: 0 0 .5em; }
h2 { font-size: clamp(1.7rem, 3vw, 2.15rem); margin: 0 0 .5em; }
h3 { font-size: 1.22rem; margin: 0 0 .35em; }
p { margin: 0 0 1em; }

.skip {
  position: absolute; left: -9999px; top: 8px;
  background: var(--canyon); 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 */
  transition: background-color .15s ease, color .15s ease, border-color .15s ease, transform .05s ease;
}
.btn:active { transform: translateY(1px); }
.btn-lg { padding: 14px 24px; font-size: 1.08rem; }
.btn-primary { background: var(--clay); color: #fff; border-color: var(--clay); }
.btn-primary:hover { background: var(--clay-dark); border-color: var(--clay-dark); color: #fff; }
.btn-primary[disabled] { background: var(--ink-soft); border-color: var(--ink-soft); cursor: wait; }
.btn-secondary { background: transparent; color: var(--canyon); border-color: var(--canyon); }
.btn-secondary:hover { background: var(--canyon); color: #fff; }
.btn-call { background: var(--sun); color: var(--canyon); border-color: var(--sun); }
.btn-call:hover { background: var(--clay); border-color: var(--clay); color: #fff; }
.btn-call svg { width: 20px; height: 20px; }

/* Header */
.site-header {
  background: var(--cream);
  border-bottom: 2px solid var(--sand-line);
  position: sticky; top: 0; z-index: 20;
}
.header-row { display: flex; align-items: center; gap: 24px; padding-top: 10px; padding-bottom: 10px; }
.brand {
  display: inline-flex; align-items: center; gap: 14px;
  color: var(--canyon); text-decoration: none;
}
.brand:hover { color: var(--clay-dark); }
.logo { width: 40px; height: 40px; }
.logo-img { width: 64px; height: 64px; object-fit: contain; display: block; }
.brand-text {
  display: inline-flex; flex-direction: column; line-height: 1;
  font-size: 1.5rem; font-weight: 800; white-space: nowrap;
}
.brand-text small {
  font-family: "Atkinson Hyperlegible Next", "Atkinson Hyperlegible", sans-serif;
  font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--turquoise-dk); margin-top: 4px;
}
.nav { margin-left: auto; display: flex; gap: 22px; }
.nav a { color: var(--ink); text-decoration: none; font-weight: 600; padding: 6px 0; }
.nav a:hover { color: var(--clay); 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 { font-size: 1.1rem; }
  .brand-text small { font-size: 0.62rem; letter-spacing: 0.18em; }
  .logo-img { width: 52px; height: 52px; }
  .header-call { padding: 10px 14px; }
}

/* Hero — desert sunset feel */
.hero {
  position: relative;
  background:
    radial-gradient(ellipse at 80% 15%, rgba(253,159,66,0.18), transparent 60%),
    radial-gradient(ellipse at 15% 90%, rgba(46,156,154,0.10), transparent 55%),
    linear-gradient(180deg, var(--cream) 0%, var(--sand) 100%);
  padding: 72px 0 160px;
  overflow: hidden;
}
.hero-grid { display: grid; grid-template-columns: 1.35fr 1fr; gap: 48px; align-items: center; }
.hero-copy { max-width: 620px; }
.hero-copy h1 { color: var(--canyon); }
.hero-copy h1 em {
  font-style: normal; color: var(--clay); font-family: inherit;
}
.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: 24px 26px;
  background: var(--white); border-left: 6px solid var(--turquoise);
  border-radius: 0 var(--radius) var(--radius) 0;
  box-shadow: 0 6px 20px rgba(89, 30, 10, 0.08);
  font-size: 1.05rem;
}
.hero-proof li + li { margin-top: 14px; }
.hero-proof strong { color: var(--canyon); font-family: "Fraunces", Georgia, serif; }

/* Big logo card on hero right side (desktop) */
.hero-badge {
  display: grid; place-items: center; padding: 12px;
}
.hero-badge img {
  width: 100%; max-width: 340px; height: auto; display: block;
  filter: drop-shadow(0 12px 24px rgba(89, 30, 10, 0.18));
}
@media (max-width: 820px) {
  .hero { padding: 52px 0 120px; }
  .hero-grid { grid-template-columns: 1fr; gap: 28px; }
  .hero-badge { order: -1; }
  .hero-badge img { max-width: 220px; }
}

.ridge { position: absolute; left: 0; right: 0; bottom: -1px; width: 100%; height: 120px; display: block; }
@media (max-width: 820px) { .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: 640px; margin-bottom: 32px; }
.section-head h2 { position: relative; padding-bottom: 12px; }
.section-head h2::after {
  content: ""; display: block; width: 60px; height: 4px; margin-top: 12px;
  background: linear-gradient(90deg, var(--clay), var(--sun) 55%, var(--turquoise));
  border-radius: 2px;
}
.section-intro { font-size: 1.08rem; color: var(--ink-soft); margin: 0; }
@media (max-width: 820px) { .section { padding: 52px 0; } }

/* Services */
.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 h3 { color: var(--canyon); }
.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(--clay); }
.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 */
.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: 62px; }
.steps li::before {
  content: counter(step); position: absolute; top: 0; left: 0;
  width: 50px; height: 50px; border-radius: 50%;
  background: var(--clay); color: #fff;
  font-family: "Fraunces", Georgia, serif; font-weight: 800; font-size: 1.4rem;
  display: grid; place-items: center;
  box-shadow: 0 4px 10px rgba(104, 34, 7, 0.25);
}
.steps h3 { color: var(--canyon); }
.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: 68px; } }

/* 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(--canyon); font-family: "Fraunces", Georgia, serif; }
.rates dd { margin: 0; text-align: right; color: var(--ink-soft); }
.price { font-weight: 800; color: var(--clay); 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, #EAD9B9 0 12px, #F3E8CC 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-family: "Fraunces", Georgia, serif;
  font-weight: 700; font-size: 1.12rem; color: var(--canyon);
}
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(--turquoise); line-height: 1;
}
details[open] summary::after { content: "–"; color: var(--clay); }
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.9rem, 3.4vw, 2.3rem); font-weight: 800; margin: 20px 0 8px; }
.contact-big a { text-decoration: none; color: var(--clay); }
.contact-big a:hover { text-decoration: underline; color: var(--clay-dark); }
.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); box-shadow: 0 6px 20px rgba(89, 30, 10, 0.06); }
.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(--turquoise); box-shadow: 0 0 0 3px rgba(46, 156, 154, 0.22); }
.form textarea { resize: vertical; }
.form ::placeholder { color: #8a7d70; }
.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(--clay); 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(--turquoise-dk); }
.form-status.err { color: #9b2c2c; }

/* Footer */
.site-footer { background: var(--canyon); color: #E8D9C4; padding: 32px 0; font-size: 1rem; }
.footer-row { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px 24px; align-items: center; }
.footer-row p { margin: 0; }
.site-footer a { color: var(--sun-soft); }
.site-footer a:hover { color: #fff; }
.footer-brand { display: inline-flex; align-items: center; gap: 10px; }
.footer-brand img { width: 40px; height: 40px; display: block; }
.footer-brand span { font-family: "Fraunces", Georgia, serif; font-weight: 800; color: #fff; font-size: 1.15rem; }
