/*
Theme Name: Techs Repair ITAD
Theme URI: https://techsrepair.org/
Author: Techs Repair
Description: Custom WordPress theme for Techs Repair ITAD website.
Version: 1.0.0
License: GPLv2 or later
Text Domain: techsrepair-itad
*/

:root {
  --bg: #f6f7f4;
  --surface: #ffffff;
  --surface-alt: #eff1eb;
  --ink: #132016;
  --muted: #5d6e61;
  --brand: #0c7a43;
  --brand-deep: #095d33;
  --stroke: #d6ddd2;
  --radius: 16px;
  --shadow: 0 14px 28px rgba(14, 31, 20, 0.08);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Manrope", "Segoe UI", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at 88% 2%, #d9efe0 0%, transparent 38%),
    linear-gradient(180deg, #f8faf5 0%, var(--bg) 100%);
}

h1, h2, h3, .brand { font-family: "Sora", "Segoe UI", sans-serif; }
a { color: inherit; }

.container { width: min(1120px, 92vw); margin: 0 auto; }
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(248, 250, 245, 0.9);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--stroke);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  min-height: 74px; gap: 16px;
}
.brand { text-decoration: none; font-size: 1.2rem; font-weight: 800; letter-spacing: 0.3px; }
.brand span { color: var(--brand); }
.main-nav { display: flex; align-items: center; gap: 18px; }
.main-nav a { text-decoration: none; font-weight: 600; color: #203427; }
.main-nav a:hover { color: var(--brand); }
.menu-toggle {
  display: none; border: 1px solid var(--stroke); background: var(--surface);
  padding: 8px 12px; border-radius: 10px; font-weight: 700;
}

.hero { padding: 76px 0 54px; }
.hero-grid { display: grid; grid-template-columns: 1.6fr 1fr; gap: 28px; align-items: stretch; }
.kicker {
  margin: 0 0 10px; font-weight: 800; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--brand); font-size: 0.76rem;
}
h1 { margin: 0; font-size: clamp(2rem, 4vw, 3.2rem); line-height: 1.12; }
h2 { margin: 0; font-size: clamp(1.6rem, 2.8vw, 2.2rem); line-height: 1.2; }
h3 { margin-top: 0; margin-bottom: 8px; font-size: 1.12rem; }
.hero-copy { margin: 16px 0 0; font-size: 1.08rem; line-height: 1.72; color: #2a3f31; max-width: 66ch; }
.hero-actions { margin-top: 24px; display: flex; flex-wrap: wrap; gap: 12px; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; text-decoration: none;
  border: 0; border-radius: 12px; background: var(--brand); color: #fff;
  font-weight: 700; padding: 12px 18px; cursor: pointer;
  transition: transform 0.16s ease, background 0.18s ease;
}
.btn:hover { background: var(--brand-deep); transform: translateY(-1px); }
.btn:disabled { opacity: 0.7; cursor: not-allowed; transform: none; }
.btn-ghost { background: transparent; color: var(--brand-deep); border: 1px solid #a8b7ab; }
.btn-ghost:hover { background: #ecf3ee; }
.btn-small { padding: 9px 14px; font-size: 0.94rem; }

.hero-points { margin: 24px 0 0; padding-left: 20px; color: #2c4031; line-height: 1.8; }
.hero-card {
  background: var(--surface); border-radius: var(--radius); border: 1px solid var(--stroke);
  box-shadow: var(--shadow); padding: 24px;
}
.hero-card h2 { font-size: 1.25rem; margin-bottom: 14px; }
.fact { border-top: 1px solid var(--stroke); padding: 13px 0; }
.fact strong { display: block; font-size: 1.25rem; }
.fact span { color: var(--muted); }
.contact-inline { margin-top: 10px; font-weight: 700; }
.contact-inline a { color: var(--brand); }

.section { padding: 64px 0; }
.alt { background: var(--surface-alt); }
.section-head { margin-bottom: 22px; }
.section-head h2 { margin-top: 4px; }
.card-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.card {
  background: var(--surface); border: 1px solid var(--stroke); border-radius: 14px;
  padding: 20px; box-shadow: 0 8px 20px rgba(16, 34, 24, 0.06);
}
.card p { margin: 0; color: #37513f; line-height: 1.62; }
.timeline { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.timeline article { background: var(--surface); border: 1px solid var(--stroke); border-radius: 14px; padding: 20px; }
.timeline span {
  display: inline-flex; width: 34px; height: 34px; border-radius: 999px;
  align-items: center; justify-content: center; background: #def0e4;
  color: var(--brand-deep); font-weight: 800; font-size: 0.86rem; margin-bottom: 12px;
}
.timeline p, .split p { color: #3a5141; line-height: 1.62; }
.split { display: grid; grid-template-columns: 1.25fr 1fr; gap: 22px; align-items: start; }
.bullet-list { margin: 16px 0 0; padding-left: 20px; line-height: 1.85; color: #294032; }
.compliance-box { background: #12281c; color: #e7f5ea; border-radius: 16px; padding: 24px; }
.compliance-box h3 { margin-bottom: 12px; }
.compliance-box ul { margin: 0; padding-left: 18px; line-height: 1.9; }
.industry-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.industry-grid article {
  background: var(--surface); border: 1px solid var(--stroke); border-radius: 12px;
  font-weight: 700; color: #294334; text-align: center; padding: 15px;
}
.testimonials { background: linear-gradient(180deg, #f8faf5 0%, #eef5ef 100%), var(--surface); }
.testimonial-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
blockquote {
  margin: 0; background: var(--surface); border: 1px solid var(--stroke);
  border-radius: 14px; padding: 20px; line-height: 1.7; color: #274132;
}
cite { display: block; margin-top: 12px; color: #5f7567; font-style: normal; font-weight: 600; }
.faq-list { display: grid; gap: 10px; }
.faq-item { border: 1px solid var(--stroke); background: var(--surface); border-radius: 12px; overflow: hidden; }
.faq-question {
  width: 100%; border: 0; padding: 16px 18px; text-align: left; background: transparent;
  font-weight: 700; color: #1f3628; cursor: pointer;
}
.faq-question::after { content: "+"; float: right; color: var(--brand); }
.faq-question[aria-expanded="true"]::after { content: "-"; }
.faq-answer { display: none; padding: 0 18px 16px; }
.faq-answer p { margin: 0; color: #3d5244; line-height: 1.62; }
.faq-item.open .faq-answer { display: block; }
.media-photo-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.media-video-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 14px;
}

.media-card {
  background: var(--surface);
  border: 1px solid var(--stroke);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(16, 34, 24, 0.06);
}

.media-card img {
  display: block;
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.media-video iframe {
  width: 100%;
  min-height: 300px;
  border: 0;
  display: block;
}

.contact-card { margin-top: 16px; background: var(--surface); border: 1px solid var(--stroke); border-radius: 12px; padding: 16px; }
.contact-card p { margin: 10px 0; }
.quote-form { background: var(--surface); border: 1px solid var(--stroke); border-radius: 14px; padding: 20px; box-shadow: var(--shadow); }
.quote-form label { display: block; margin-bottom: 6px; margin-top: 12px; font-weight: 700; }
.quote-form input, .quote-form textarea {
  width: 100%; border: 1px solid #bccabc; border-radius: 10px; padding: 11px 12px; font: inherit;
}
.quote-form input:focus, .quote-form textarea:focus { outline: 2px solid #91c7a6; border-color: #8ab89c; }
.form-message { min-height: 24px; margin: 12px 0 0; font-weight: 700; }
.form-message.error { color: #a12020; }
.form-message.success { color: var(--brand-deep); }
.site-footer { background: #14281d; color: #d8ebe0; padding: 22px 0; }
.footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.footer-inner p { margin: 0; }
.footer-links { display: flex; gap: 14px; }
.footer-links a { text-decoration: none; color: #e7f3ec; }

@media (max-width: 980px) {
  .hero-grid, .split, .card-grid, .timeline, .industry-grid, .testimonial-grid { grid-template-columns: 1fr 1fr; }
  .hero-card { height: fit-content; }
  .media-photo-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .media-video-grid { grid-template-columns: 1fr; }
}

@media (max-width: 740px) {
  .menu-toggle { display: inline-block; }
  .main-nav {
    position: absolute; left: 0; right: 0; top: 74px; flex-direction: column;
    align-items: flex-start; background: #f7faf6; border-bottom: 1px solid var(--stroke);
    padding: 14px 4vw 18px; display: none;
  }
  .main-nav.open { display: flex; }
  .main-nav a { width: 100%; }
  .hero, .section { padding: 48px 0; }
  .hero-grid, .split, .card-grid, .timeline, .industry-grid, .testimonial-grid, .media-photo-grid { grid-template-columns: 1fr; }
  .hero-copy { font-size: 1rem; }
  .media-card img { height: 240px; }
  .media-video iframe { min-height: 240px; }
}
