/* OTJ Building Tas — shared styles */
@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,500;9..144,600;9..144,700&family=Inter:wght@400;500;600;700;800&display=swap');

:root {
  color-scheme: light;
  --ink: #14171a;
  --ink-2: #22262b;
  --line: #d8dbde;
  --grey: #5c6670;
  --light: #f6f6f5;
  --white: #ffffff;
  --border: #e2e5e8;
  --radius: 3px;
  --font-display: 'Fraunces', Georgia, serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: #232a30;
  line-height: 1.65;
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }

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

.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Header / Nav ---------- */
.site-header {
  background: var(--ink);
  color: var(--white);
  position: sticky;
  top: 0;
  z-index: 100;
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 24px;
  max-width: 1140px;
  margin: 0 auto;
}

.logo {
  display: flex;
  align-items: center;
}

.logo-icon { height: 112px; width: auto; }

.footer-logo { margin-bottom: 16px; }
.footer-logo img { height: 60px; width: auto; }

.badge-row { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-top: 8px; }
.badge-row img { height: 40px; width: auto; opacity: 0.85; }
.badge-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--white);
  border-radius: 4px;
  padding: 6px 12px;
  height: 40px;
  box-sizing: border-box;
}
.badge-chip img { height: 100%; width: auto; opacity: 1; }

.cert-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 64px;
  margin-bottom: 14px;
}
.cert-badge img { max-height: 100%; width: auto; }

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
@media (max-width: 900px) { .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .grid-4 { grid-template-columns: 1fr; } }

.photo-block { border-radius: var(--radius); overflow: hidden; }
.photo-block img { width: 100%; height: 100%; object-fit: cover; display: block; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
  list-style: none;
}

.nav-links a {
  font-weight: 500;
  font-size: 0.92rem;
  letter-spacing: 0.2px;
  padding: 8px 2px;
  border-bottom: 1px solid transparent;
  transition: opacity 0.15s ease, border-color 0.15s ease;
  opacity: 0.85;
}

.nav-links a:hover,
.nav-links a.active {
  border-bottom-color: var(--white);
  opacity: 1;
}

.nav-cta {
  background: var(--white);
  color: var(--ink) !important;
  padding: 10px 22px;
  border-radius: var(--radius);
  font-weight: 600;
  opacity: 1 !important;
  border-bottom: none !important;
}

.nav-cta:hover { background: #e4e6e8; }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--white);
  font-size: 1.6rem;
  cursor: pointer;
}

@media (max-width: 800px) {
  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--ink-2);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links li { border-top: 1px solid rgba(255,255,255,0.1); }
  .nav-links a { display: block; padding: 16px 24px; border-bottom: none; }
  .nav-cta { margin: 16px 24px; text-align: center; }
  .nav-toggle { display: block; }
}

/* ---------- Hero ---------- */
.hero {
  background: var(--ink);
  color: var(--white);
  padding: 100px 0;
}

.hero .container {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}

.hero h1 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 3rem;
  line-height: 1.1;
  letter-spacing: -0.3px;
  margin-bottom: 20px;
}

.hero h1 span { font-style: italic; font-weight: 500; opacity: 0.85; }

.hero p {
  font-size: 1.08rem;
  color: #c7ccd1;
  margin-bottom: 30px;
  max-width: 46ch;
}

.hero-art {
  aspect-ratio: 4/3;
  border-radius: var(--radius);
  background: linear-gradient(160deg, #2a2e33, #14171a);
  border: 1px solid rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.3);
  font-weight: 600;
  letter-spacing: 1px;
  text-align: center;
  padding: 20px;
}

@media (max-width: 800px) {
  .hero .container { grid-template-columns: 1fr; }
  .hero { padding: 60px 0; }
  .hero h1 { font-size: 2.2rem; }
}

/* ---------- Hero photo variant (homepage) ---------- */
.hero-photo {
  position: relative;
  background-size: cover;
  background-position: center;
  padding: 0;
  min-height: 620px;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-photo::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(20,23,26,0.96) 0%, rgba(20,23,26,0.88) 42%, rgba(20,23,26,0.4) 100%);
}
.hero-photo .container {
  position: relative;
  z-index: 1;
  grid-template-columns: 1fr;
  max-width: 720px;
  padding: 110px 24px;
}
@media (max-width: 800px) {
  .hero-photo { min-height: 500px; }
  .hero-photo .container { padding: 70px 24px; }
}

/* Proof strip */
.proof-strip {
  background: var(--ink-2);
  border-top: 1px solid rgba(255,255,255,0.08);
  color: #b7bec4;
  font-size: 0.84rem;
  padding: 16px 0;
  text-align: center;
  letter-spacing: 0.2px;
}
.proof-strip strong { color: var(--white); font-weight: 600; }
.proof-strip .container { display: block; }

/* Checklist */
.checklist { list-style: none; margin-top: 20px; }
.checklist li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 18px;
  font-size: 1.02rem;
  color: #3a4249;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--border);
}
.checklist li:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }
.checklist li::before {
  content: "";
  flex-shrink: 0;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--ink);
  margin-top: 8px;
}

/* FAQ accordion */
.faq { max-width: 780px; margin: 0 auto; }
.faq-item {
  border-bottom: 1px solid var(--border);
  margin-bottom: 0;
  background: transparent;
}
.faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 22px 4px;
  font-weight: 600;
  font-size: 1.02rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  font-size: 1.5rem;
  color: var(--ink);
  font-weight: 300;
  flex-shrink: 0;
  transition: transform 0.15s ease;
  line-height: 1;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item .faq-body { padding: 0 4px 22px; color: var(--grey); font-size: 0.96rem; max-width: 68ch; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 14px 30px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.2px;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all 0.15s ease;
}

.btn-primary {
  background: var(--ink);
  color: var(--white);
  border-color: var(--ink);
}
.btn-primary:hover { background: #000; border-color: #000; }

.btn-outline {
  background: transparent;
  border-color: rgba(255,255,255,0.4);
  color: var(--white);
  margin-left: 12px;
}
.btn-outline:hover { border-color: var(--white); background: rgba(255,255,255,0.06); }

.btn-outline-dark {
  background: transparent;
  border-color: var(--ink);
  color: var(--ink);
  margin-left: 12px;
}
.btn-outline-dark:hover { background: var(--ink); color: var(--white); }

.btn-block { width: 100%; text-align: center; }

/* ---------- Sections ---------- */
section { padding: 80px 0; }
section.alt { background: var(--light); }

.section-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 48px;
}

.eyebrow {
  color: var(--grey);
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  display: block;
  margin-bottom: 12px;
}

.section-head h2 { font-family: var(--font-display); font-weight: 600; font-size: 2.1rem; margin-bottom: 14px; letter-spacing: -0.2px; }
.section-head p { color: var(--grey); }

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

@media (max-width: 800px) {
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
}

.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  transition: box-shadow 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
}
.card:hover { box-shadow: 0 16px 40px rgba(20,23,26,0.09); transform: translateY(-2px); border-color: transparent; }

.card .icon {
  width: 40px; height: 40px;
  border-radius: 50%;
  border: 1px solid var(--ink);
  color: var(--ink);
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem;
  margin-bottom: 20px;
  font-weight: 600;
  font-family: var(--font-display);
}

.card h3 { margin-bottom: 10px; font-size: 1.1rem; font-weight: 600; }
.card p { color: var(--grey); font-size: 0.95rem; }

/* Stats strip */
.stats {
  background: var(--ink);
  color: var(--white);
  padding: 48px 0;
  border-top: 1px solid rgba(255,255,255,0.08);
}
.stats .grid-3 { grid-template-columns: repeat(4, 1fr); text-align: center; }
.stats .stat b { display: block; font-family: var(--font-display); font-weight: 600; font-size: 2.2rem; color: var(--white); }
.stats .stat span { color: #9aa1a7; font-size: 0.86rem; letter-spacing: 0.3px; }

@media (max-width: 800px) {
  .stats .grid-3 { grid-template-columns: repeat(2, 1fr); gap: 28px; }
}

/* Placeholder image blocks (no photos yet) */
.service-block-noimg {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}
.service-block-noimg .service-lead {
  color: var(--grey);
  font-size: 1.05rem;
  line-height: 1.7;
  margin: 14px 0 24px;
}
.service-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}
.service-tags span {
  border: 1px solid var(--border);
  background: var(--white);
  color: var(--ink);
  font-size: 0.82rem;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: 999px;
}

.ph {
  background: repeating-linear-gradient(135deg, #e9ecef 0 10px, #dfe3e6 10px 20px);
  border: 1px dashed #b9c0c6;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #7a848c;
  font-size: 0.85rem;
  font-weight: 600;
  text-align: center;
  padding: 16px;
}

/* ---------- CTA band ---------- */
.cta-band {
  background: var(--ink);
  color: var(--white);
  text-align: center;
}
.cta-band h2 { font-family: var(--font-display); font-weight: 600; font-size: 1.9rem; margin-bottom: 10px; }
.cta-band p { margin-bottom: 28px; color: #b7bec4; }
.cta-band .btn-primary { background: var(--white); color: var(--ink); border-color: var(--white); }
.cta-band .btn-primary:hover { background: #e4e6e8; }

/* ---------- Forms ---------- */
.form-card {
  background: var(--white);
  border: none;
  border-radius: 10px;
  padding: 48px;
  box-shadow: 0 30px 70px rgba(20,23,26,0.09), 0 2px 10px rgba(20,23,26,0.04);
}
@media (max-width: 700px) { .form-card { padding: 32px 24px; } }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-bottom: 22px; }
@media (max-width: 700px) { .form-row { grid-template-columns: 1fr; gap: 0; } }

.field { margin-bottom: 22px; }
.field label {
  display: block;
  font-weight: 600;
  font-size: 0.74rem;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  color: #6b7580;
  margin-bottom: 9px;
}
.field input[type="text"],
.field input[type="email"],
.field input[type="tel"],
.field textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid #e4e6e8;
  border-radius: 6px;
  font-size: 0.98rem;
  font-family: inherit;
  background: #fbfbfa;
  color: var(--ink);
  transition: border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.field input::placeholder, .field textarea::placeholder { color: #a6adb3; }
.field input:focus, .field textarea:focus {
  outline: none;
  border-color: var(--ink);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(20,23,26,0.05);
}

fieldset { border: none; padding: 0; margin-bottom: 26px; }
legend {
  font-weight: 600;
  font-size: 0.74rem;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  color: #6b7580;
  padding: 0;
  margin-bottom: 10px;
}

.select-field {
  width: 100%;
  padding: 14px 42px 14px 16px;
  border: 1px solid #e4e6e8;
  border-radius: 6px;
  font-size: 0.98rem;
  font-family: inherit;
  background-color: #fbfbfa;
  color: var(--ink);
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='%23545c64'%3E%3Cpath fill-rule='evenodd' d='M5.23 7.21a.75.75 0 011.06.02L10 11.06l3.71-3.83a.75.75 0 111.08 1.04l-4.25 4.39a.75.75 0 01-1.08 0L5.21 8.27a.75.75 0 01.02-1.06z' clip-rule='evenodd'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 18px;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease;
}
.select-field:focus {
  outline: none;
  border-color: var(--ink);
  background-color: var(--white);
  box-shadow: 0 0 0 3px rgba(20,23,26,0.05);
}
.select-field:disabled {
  background-color: #f1f1f0;
  color: #a6adb3;
  cursor: not-allowed;
}

.check-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 500px) { .check-grid { grid-template-columns: 1fr; } }

.check-item {
  display: flex; align-items: center; gap: 10px; font-size: 0.94rem;
  border: 1px solid #e4e6e8; border-radius: 6px; padding: 12px 14px;
  background: #fbfbfa;
  transition: border-color 0.15s ease, background 0.15s ease;
}
.check-item:has(input:checked) { border-color: var(--ink); background: var(--white); }
.check-item input { margin: 0; accent-color: var(--ink); }

.radio-list { display: flex; flex-direction: column; gap: 0; }
.radio-item {
  display: flex; align-items: center; gap: 10px; font-size: 0.94rem;
  border-bottom: 1px solid var(--border); padding: 12px 2px;
}
.radio-item:last-child { border-bottom: none; }
.radio-item input { margin: 0; }

.required { color: var(--ink); }

.form-note {
  color: #8b949c;
  font-size: 0.8rem;
  line-height: 1.6;
  padding-bottom: 24px;
  margin-bottom: 24px;
  border-bottom: 1px solid var(--border);
}
.form-note strong { color: #5c6670; }
.form-note code { background: #f1f1f0; padding: 2px 6px; border-radius: 3px; font-size: 0.78rem; }

/* ---------- Contact info blocks ---------- */
.contact-info-list { list-style: none; margin-top: 20px; }
.contact-info-list li { margin-bottom: 16px; font-size: 0.98rem; }
.contact-info-list b { display: block; color: var(--ink); font-size: 0.8rem; letter-spacing: 0.5px; text-transform: uppercase; margin-bottom: 2px; }

/* ---------- Footer ---------- */
footer {
  background: var(--ink);
  color: #b7bec4;
  padding: 56px 0 24px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 32px;
}
@media (max-width: 700px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-grid.cols-4 { grid-template-columns: 1.6fr 1fr 1fr 1fr; }
@media (max-width: 900px) { .footer-grid.cols-4 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 700px) { .footer-grid.cols-4 { grid-template-columns: 1fr; } }
.footer-grid h4 { color: var(--white); margin-bottom: 14px; font-size: 0.85rem; letter-spacing: 0.5px; text-transform: uppercase; font-weight: 600; }
.footer-grid ul { list-style: none; }
.footer-grid li { margin-bottom: 8px; font-size: 0.92rem; }
.footer-grid a:hover { color: var(--white); }

.footer-cred {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 18px 0;
  font-size: 0.8rem;
  color: #8b949c;
  text-align: center;
  line-height: 1.8;
}
.footer-cred strong { color: #c6ccd1; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 20px;
  font-size: 0.8rem;
  color: #7a828a;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}

.footer-legal {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 18px;
  margin-top: 4px;
  font-size: 0.74rem;
  line-height: 1.7;
  color: #6b737b;
  text-align: center;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}
.footer-legal a { color: #9aa1a7; text-decoration: underline; }
.footer-legal a:hover { color: var(--white); }

/* Utility */
.text-center { text-align: center; }
.mt-24 { margin-top: 24px; }
.container-narrow { max-width: 720px; margin: 0 auto; padding: 0 24px; }

/* ---------- Build journey timeline ---------- */
.timeline { max-width: 820px; margin: 0 auto; }
.timeline-step {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 24px;
  position: relative;
  padding-bottom: 44px;
}
.timeline-step:last-child { padding-bottom: 0; }
.timeline-step:not(:last-child)::before {
  content: '';
  position: absolute;
  left: 31px;
  top: 64px;
  bottom: -44px;
  width: 2px;
  background: var(--border);
}
.timeline-num {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 600;
  flex-shrink: 0;
  position: relative;
  z-index: 2;
}
.timeline-content h3 { font-size: 1.2rem; margin-bottom: 10px; }
.timeline-content p { color: var(--grey); line-height: 1.75; margin-bottom: 12px; }
.timeline-content p:last-child { margin-bottom: 0; }
.timeline-example {
  background: var(--light);
  border-left: 3px solid var(--ink);
  padding: 14px 18px;
  border-radius: 4px;
  font-size: 0.92rem;
  color: var(--ink-2);
  margin-top: 12px;
  line-height: 1.7;
}
.timeline-example strong { color: var(--ink); }

/* ---------- Simple contact card ---------- */
.contact-card {
  max-width: 480px;
  margin: 0 auto;
  text-align: center;
  background: var(--white);
  border-radius: 10px;
  box-shadow: 0 30px 70px rgba(20,23,26,0.09), 0 2px 10px rgba(20,23,26,0.04);
  padding: 48px 40px;
}
.contact-card .cc-row {
  display: block;
  padding: 20px 0;
  border-bottom: 1px solid var(--border);
}
.contact-card .cc-row:last-of-type { border-bottom: none; }
.contact-card .cc-label {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  color: #9aa1a7;
  margin-bottom: 6px;
}
.contact-card .cc-value { font-size: 1.15rem; font-weight: 600; color: var(--ink); }
.contact-card .cc-value:hover { text-decoration: underline; }
.social-row { display: flex; justify-content: center; gap: 28px; margin-top: 28px; }
.social-row a { font-weight: 600; font-size: 0.9rem; color: var(--ink); border-bottom: 1px solid var(--ink); padding-bottom: 2px; }
.social-row a:hover { opacity: 0.6; }
.social-link { display: inline-flex; align-items: center; gap: 7px; }
.social-icon { width: 17px; height: 17px; flex-shrink: 0; }
