/* Semler Web Services — mini-site on semlerteaches.com
   Rustic wood/gold system, matched to the main Teaches site.
   Shared across the 5 pages in /web-services/ (index, services, our-work, about, contact). */

:root {
  --bg: #f6f0e4;
  --text: #2e2014;
  --muted: #6e5d49;
  --card: #fffdf8;
  --wood: #7a4a10;
  --wood-mid: #9c6420;
  --wood-dark: #2a1400;
  --gold: #c9963a;
  --border: #e0d3bc;
  --cream: #f1e6d2;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: 'Source Sans 3', Georgia, serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
}

h1, h2, h3, .logo, .section-title, .btn, .price-name {
  font-family: 'Oswald', 'Arial Narrow', sans-serif;
}

img { max-width: 100%; display: block; }

/* ── Header ── */
header {
  background:
    repeating-linear-gradient(90deg, rgba(0,0,0,0.10) 0px, rgba(0,0,0,0.10) 2px, transparent 2px, transparent 140px),
    linear-gradient(170deg, #3a2410 0%, #2a1400 100%);
  color: #f6f0e4;
  border-bottom: 6px solid var(--gold);
}

.nav {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  padding: 20px 20px;
}

.brand { display: flex; align-items: center; gap: 11px; text-decoration: none; }

.badge {
  width: 42px; height: 42px; flex: none;
  border-radius: 50%;
  background: var(--gold);
  color: var(--wood-dark);
  font-family: Futura, 'Century Gothic', 'Avenir Next', 'Trebuchet MS', system-ui, sans-serif;
  font-weight: 600;
  font-size: 28px;
  line-height: 1;
  display: flex; align-items: center; justify-content: center;
}

.logo {
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #f6f0e4;
  line-height: 1.05;
}
.logo span { color: var(--gold); }

.nav-links { display: flex; align-items: center; flex-wrap: wrap; }
.nav-links a {
  color: rgba(246,240,228,0.85);
  text-decoration: none;
  margin-left: 20px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: color 0.15s;
}
.nav-links a:hover, .nav-links a.active { color: var(--gold); }
.nav-links a.back { color: rgba(246,240,228,0.55); font-size: 0.86rem; }
.nav-links a.back:hover { color: var(--gold); }

/* ── Hero (home) ── */
.hero {
  max-width: 1100px;
  margin: 0 auto;
  padding: 40px 20px 60px;
  text-align: center;
}
.hero h1 {
  font-size: clamp(1.9rem, 4.5vw, 3.1rem);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  line-height: 1.15;
  margin-bottom: 16px;
}
.hero h1 em { font-style: normal; color: var(--gold); }
.hero p.lead {
  font-size: 1.15rem;
  max-width: 660px;
  margin: 0 auto 28px;
  opacity: 0.92;
  line-height: 1.7;
}

/* ── Page-title band (interior pages) ── */
.page-head {
  max-width: 1100px;
  margin: 0 auto;
  padding: 34px 20px 30px;
}
.page-head h1 {
  font-size: clamp(1.9rem, 4vw, 3rem);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  line-height: 1.15;
}
.page-head h1 em { font-style: normal; color: var(--gold); }
.page-head p { color: rgba(246,240,228,0.85); max-width: 640px; margin-top: 12px; font-size: 1.05rem; }

/* ── Buttons ── */
.button-row { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }
.btn {
  display: inline-block;
  padding: 13px 26px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: transform 0.12s, box-shadow 0.12s, background 0.12s;
  cursor: pointer;
  border: none;
}
.btn:hover { transform: translateY(-1px); box-shadow: 0 6px 18px rgba(0,0,0,0.22); }
.btn-gold { background: var(--gold); color: #2a1400; }
.btn-wood { background: var(--wood); color: #fff; }
.btn-dark { background: var(--wood-dark); color: #f6f0e4; }
.btn-outline-light { background: transparent; color: #f6f0e4; border: 2px solid rgba(246,240,228,0.6); }

/* ── Main / sections ── */
main { max-width: 1100px; margin: 0 auto; padding: 56px 20px 80px; }

.section-label {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--wood);
  margin-bottom: 8px;
}
.section-title {
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  margin-bottom: 10px;
}
.section-title::after {
  content: ""; display: block; width: 64px; height: 4px;
  background: var(--gold); margin-top: 10px;
}
.section-subtitle { color: var(--muted); max-width: 680px; margin: 14px 0 32px; font-size: 1.05rem; }
section { margin-bottom: 64px; }
section:last-child { margin-bottom: 0; }

/* ── Cards / grids ── */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }

.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-top: 5px solid var(--wood);
  border-radius: 8px;
  padding: 26px 26px 24px;
  box-shadow: 0 3px 12px rgba(46,32,20,0.08);
  transition: box-shadow 0.15s, transform 0.15s;
  display: flex; flex-direction: column;
}
.card.gold-top { border-top-color: var(--gold); }
.card:hover { transform: translateY(-2px); box-shadow: 0 10px 26px rgba(46,32,20,0.16); }
.card h3 {
  font-size: 1.15rem; font-weight: 600; text-transform: uppercase;
  letter-spacing: 0.03em; margin-bottom: 8px;
}
.card p { color: var(--muted); font-size: 0.95rem; margin-bottom: 0; line-height: 1.6; flex: 1; }
.card .price-tag { margin-top: 14px; font-family: 'Oswald',sans-serif; font-weight: 600; color: var(--wood); text-transform: uppercase; letter-spacing: 0.02em; font-size: 0.95rem; }
.card .btn { align-self: flex-start; margin-top: 16px; font-size: 0.86rem; padding: 10px 18px; }
.dl-icon { width: 15px; height: 15px; vertical-align: -2px; margin-right: 7px; }

/* Featured portfolio piece (real live site) */
.work-feature {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 30px;
  align-items: center;
  background: var(--card);
  border: 1px solid var(--border);
  border-left: 6px solid var(--gold);
  border-radius: 8px;
  padding: 26px;
  margin-bottom: 34px;
  box-shadow: 0 3px 12px rgba(46,32,20,0.08);
}
.work-feature img {
  width: 100%;
  border-radius: 6px;
  border: 1px solid var(--border);
  box-shadow: 0 4px 14px rgba(46,32,20,0.15);
  display: block;
}
.work-feature h3 { font-size: 1.3rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.03em; margin-bottom: 8px; }
.work-feature p { color: var(--muted); margin-bottom: 16px; line-height: 1.6; }
.work-badge {
  display: inline-block; font-family: 'Oswald', sans-serif; font-size: 0.72rem;
  font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em;
  color: var(--wood-dark); background: var(--gold);
  padding: 3px 10px; border-radius: 4px; margin-bottom: 12px;
}
@media (max-width: 700px) { .work-feature { grid-template-columns: 1fr; } }

/* ── Trust row ── */
.ws-trust { display: flex; flex-wrap: wrap; gap: 10px 28px; margin: 6px 0 34px; justify-content: center; }
.ws-trust span { display: inline-flex; align-items: center; gap: 9px; font-weight: 600; font-size: 0.98rem; }
.ws-trust svg { flex: none; }

/* ── Pricing table ── */
.price-table { width: 100%; border-collapse: collapse; margin: 6px 0 8px; font-size: 0.95rem; background: var(--card); box-shadow: 0 3px 12px rgba(46,32,20,0.08); border-radius: 8px; overflow: hidden; }
.price-table th, .price-table td { border: 1px solid var(--border); padding: 11px 14px; text-align: left; }
.price-table thead th {
  background: var(--wood); color: #fff;
  font-family: 'Oswald', sans-serif; font-weight: 600; text-transform: uppercase;
  letter-spacing: 0.02em; font-size: 0.9rem; text-align: center; vertical-align: bottom;
}
.price-table thead th .price-name { display: block; font-size: 1.05rem; }
.price-table thead th .price-amt { display: block; color: var(--gold); font-size: 1rem; margin-top: 2px; }
.price-table thead th:first-child { text-align: left; background: var(--wood-dark); }
.price-table td.c { text-align: center; color: var(--wood); font-weight: 700; }
.price-table tbody tr:nth-child(even) { background: var(--cream); }
.price-table .feat { font-weight: 600; }

/* ── CTA banner ── */
.cta-banner {
  background:
    repeating-linear-gradient(90deg, rgba(0,0,0,0.07) 0px, rgba(0,0,0,0.07) 2px, transparent 2px, transparent 120px),
    linear-gradient(135deg, #3a2410, #2a1400);
  color: #f6f0e4;
  padding: 44px 48px;
  border-radius: 8px;
  border: 2px solid var(--gold);
  display: grid; grid-template-columns: 1fr auto; gap: 32px; align-items: center;
  box-shadow: 0 10px 30px rgba(0,0,0,0.18);
}
.cta-banner h2 { font-size: 1.6rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.03em; margin-bottom: 8px; }
.cta-banner p { opacity: 0.9; font-size: 1rem; }

/* ── Service area ── */
.ws-area { color: var(--muted); font-size: 0.98rem; margin: 26px 0 0; text-align: center; }
.ws-area strong { color: var(--wood); }

/* ── About ── */
.prose p { margin-bottom: 16px; font-size: 1.06rem; max-width: 720px; }
.why-list { list-style: none; margin: 8px 0 0; max-width: 720px; }
.why-list li { padding-left: 30px; position: relative; margin: 10px 0; font-size: 1.02rem; }
.why-list li::before {
  content: "✓"; position: absolute; left: 0; top: 0;
  color: var(--wood-dark); font-weight: 700;
  background: var(--gold); width: 20px; height: 20px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center; font-size: 0.7rem;
}

/* ── Contact form ── */
.contact-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 40px; align-items: start; }
.form-field { margin-bottom: 16px; }
.form-field label {
  display: block; font-weight: 700; font-size: 0.85rem; text-transform: uppercase;
  letter-spacing: 0.05em; color: var(--wood); margin-bottom: 6px;
}
.form-field input, .form-field textarea {
  width: 100%; padding: 12px 14px; font-family: inherit; font-size: 1rem;
  color: var(--text); background: var(--card);
  border: 1px solid var(--border); border-radius: 6px;
}
.form-field input:focus, .form-field textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(201,150,58,0.2); }
.form-field textarea { min-height: 130px; resize: vertical; }
.contact-side .card { margin-bottom: 16px; }
.contact-side .big-num { font-family: 'Oswald',sans-serif; font-size: 1.5rem; color: var(--wood-dark); font-weight: 700; text-decoration: none; letter-spacing: 0.01em; }
.contact-side a { color: var(--wood); }

/* ── Footer ── */
footer {
  border-top: 6px solid var(--gold);
  background: #2a1400;
  padding: 40px 20px 34px;
  color: rgba(246,240,228,0.75);
  font-size: 0.92rem;
}
.footer-inner { max-width: 1100px; margin: 0 auto; display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 28px; }
.footer-inner h4 { font-family: 'Oswald',sans-serif; color: #f6f0e4; text-transform: uppercase; letter-spacing: 0.04em; font-size: 0.95rem; margin-bottom: 10px; }
.footer-inner a { color: var(--gold); text-decoration: none; font-weight: 600; }
.footer-inner a:hover { text-decoration: underline; }
.footer-brand { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.footer-bottom { max-width: 1100px; margin: 26px auto 0; padding-top: 18px; border-top: 1px solid rgba(246,240,228,0.15); text-align: center; font-size: 0.82rem; opacity: 0.7; }

/* ── Responsive ── */
@media (max-width: 900px) {
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .cta-banner { grid-template-columns: 1fr; text-align: center; }
  .cta-banner .button-row { justify-content: center; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .nav-links a { margin-left: 14px; font-size: 0.85rem; }
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .cta-banner { padding: 30px 24px; }
  .price-table { font-size: 0.82rem; }
  .price-table th, .price-table td { padding: 8px 8px; }
  .footer-inner { grid-template-columns: 1fr; }
}
