/* TurnKey — Brand Theme
   Colors: warm cream #faf8f5, navy #1a2b4a, amber #e8913a
   Fonts: Playfair Display (headings), DM Sans (body)
*/

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

:root {
  --bg: #faf8f5;
  --bg-dark: #1a2b4a;
  --fg: #1a1a2e;
  --fg-light: #faf8f5;
  --accent: #e8913a;
  --accent-dark: #c9721f;
  --muted: #7a8099;
  --border: #e2ddd6;
  --success: #2d8a6e;
  --error: #c0392b;
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'DM Sans', system-ui, sans-serif;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--fg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* NAV */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(250,248,245,0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav-inner { max-width: 1200px; margin: 0 auto; padding: 0 24px; height: 64px; display: flex; align-items: center; justify-content: space-between; }
.nav-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--fg); }
.nav-logo span { font-family: var(--font-display); font-weight: 700; font-size: 1.2rem; }
.nav-links { display: flex; gap: 32px; align-items: center; }
.nav-links a { text-decoration: none; color: var(--muted); font-size: 0.875rem; font-weight: 500; transition: color 0.2s; }
.nav-links a:hover { color: var(--fg); }
.nav-cta { background: var(--accent); color: white \!important; padding: 8px 18px; border-radius: 6px; font-weight: 600 \!important; transition: background 0.2s \!important; }
.nav-cta:hover { background: var(--accent-dark); }

/* HERO */
.hero { position: relative; overflow: hidden; padding: 80px 24px 100px; }
.hero-inner { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.hero-content { position: relative; z-index: 1; }
.hero-tag { display: inline-block; background: var(--bg-dark); color: var(--fg-light); font-size: 0.75rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; padding: 5px 12px; border-radius: 20px; margin-bottom: 24px; }
.hero h1 { font-family: var(--font-display); font-size: clamp(2.5rem, 5vw, 4rem); font-weight: 900; line-height: 1.1; margin-bottom: 20px; }
.hero-lede { font-size: 1.125rem; color: var(--muted); max-width: 480px; margin-bottom: 40px; line-height: 1.7; }
.hero-stats { display: flex; gap: 32px; }
.stat { display: flex; flex-direction: column; gap: 4px; }
.stat-number { font-family: var(--font-display); font-size: 1.75rem; font-weight: 700; color: var(--accent); }
.stat-label { font-size: 0.75rem; color: var(--muted); text-transform: uppercase; letter-spacing: 0.05em; }
.hero-visual { display: flex; flex-direction: column; gap: 16px; position: relative; z-index: 1; }
.visual-card { background: white; border: 1px solid var(--border); border-radius: 12px; padding: 20px 24px; display: flex; align-items: center; gap: 16px; box-shadow: 0 2px 12px rgba(26,43,74,0.06); transition: transform 0.2s, box-shadow 0.2s; }
.visual-card:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(26,43,74,0.1); }
.card-1 { margin-left: 0; }
.card-2 { margin-left: 24px; }
.card-3 { margin-left: 48px; }
.card-icon { flex-shrink: 0; }
.card-text { flex: 1; }
.card-status { font-size: 0.7rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 4px; color: var(--success); }
.card-meta { font-size: 0.9rem; font-weight: 600; color: var(--fg); }
.card-time { font-size: 0.8rem; color: var(--muted); margin-top: 2px; }
.hero-bg-shape { position: absolute; right: -200px; top: 50%; transform: translateY(-50%); width: 600px; height: 600px; background: radial-gradient(circle, rgba(232,145,58,0.08) 0%, transparent 70%); pointer-events: none; }

/* PROBLEM */
.problem { background: var(--bg-dark); padding: 80px 24px; }
.problem-inner { max-width: 1200px; margin: 0 auto; }
.problem-label { color: var(--accent); font-size: 0.75rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 16px; }
.problem h2 { font-family: var(--font-display); font-size: clamp(1.8rem, 3.5vw, 2.8rem); color: var(--fg-light); margin-bottom: 16px; }
.problem-sub { color: #8a9cbf; font-size: 1.05rem; max-width: 600px; margin-bottom: 56px; }
.problem-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.problem-item { }
.problem-icon { width: 48px; height: 48px; background: rgba(232,145,58,0.12); border-radius: 10px; display: flex; align-items: center; justify-content: center; margin-bottom: 16px; }
.problem-item h4 { color: var(--fg-light); font-size: 1rem; margin-bottom: 8px; }
.problem-item p { color: #8a9cbf; font-size: 0.9rem; line-height: 1.6; }

/* SERVICES */
.services { padding: 96px 24px; background: var(--bg); }
.services-inner { max-width: 1200px; margin: 0 auto; }
.services-header { text-align: center; margin-bottom: 64px; }
.services-label { color: var(--accent); font-size: 0.75rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 12px; }
.services h2 { font-family: var(--font-display); font-size: clamp(1.8rem, 3.5vw, 2.8rem); margin-bottom: 12px; }
.services-sub { color: var(--muted); font-size: 1rem; }
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.service-card { background: white; border: 1px solid var(--border); border-radius: 14px; padding: 32px; transition: transform 0.2s, box-shadow 0.2s; position: relative; }
.service-card:hover { transform: translateY(-3px); box-shadow: 0 12px 32px rgba(26,43,74,0.08); }
.service-icon { margin-bottom: 20px; }
.service-card h3 { font-family: var(--font-display); font-size: 1.25rem; margin-bottom: 10px; }
.service-card p { color: var(--muted); font-size: 0.9rem; line-height: 1.6; margin-bottom: 20px; }
.service-price { font-family: var(--font-display); font-size: 1.3rem; font-weight: 700; color: var(--accent); }
.service-card-addon { background: #f5f3ef; }
.addon-tag { position: absolute; top: 20px; right: 20px; background: var(--bg-dark); color: var(--fg-light); font-size: 0.7rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; padding: 4px 10px; border-radius: 12px; }

/* HOW */
.how { padding: 80px 24px; background: #f2efe9; }
.how-inner { max-width: 1200px; margin: 0 auto; }
.how-header { text-align: center; margin-bottom: 56px; }
.how-label { color: var(--accent); font-size: 0.75rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 12px; }
.how h2 { font-family: var(--font-display); font-size: clamp(1.8rem, 3.5vw, 2.8rem); }
.how-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.step { text-align: center; }
.step-number { width: 56px; height: 56px; background: var(--accent); color: white; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-family: var(--font-display); font-size: 1.4rem; font-weight: 700; margin: 0 auto 20px; }
.step h4 { font-size: 1.1rem; margin-bottom: 8px; }
.step p { color: var(--muted); font-size: 0.9rem; }

/* TESTIMONIALS */
.testimonials { padding: 80px 24px; background: var(--bg); }
.testimonials-inner { max-width: 1200px; margin: 0 auto; }
.testimonials-header { text-align: center; margin-bottom: 56px; }
.testimonials-label { color: var(--accent); font-size: 0.75rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 12px; }
.testimonials h2 { font-family: var(--font-display); font-size: clamp(1.8rem, 3.5vw, 2.8rem); }
.testimonials-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.testimonial-card { background: white; border: 1px solid var(--border); border-radius: 14px; padding: 28px; }
.testimonial-quote { font-family: var(--font-display); font-size: 1.05rem; font-style: italic; color: var(--fg); line-height: 1.7; margin-bottom: 20px; }
.testimonial-quote::before { content: '\u201C'; }
.testimonial-quote::after { content: '\u201D'; }
.testimonial-author { font-size: 0.875rem; font-weight: 600; color: var(--fg); }
.testimonial-role { font-size: 0.8rem; color: var(--muted); }

/* CLOSING */
.closing { padding: 100px 24px; background: var(--bg-dark); text-align: center; }
.closing h2 { font-family: var(--font-display); font-size: clamp(2rem, 4vw, 3.2rem); color: var(--fg-light); margin-bottom: 16px; }
.closing p { color: #8a9cbf; font-size: 1.1rem; margin-bottom: 40px; }
.btn-primary { display: inline-block; background: var(--accent); color: white; text-decoration: none; padding: 16px 36px; border-radius: 8px; font-size: 1rem; font-weight: 600; transition: background 0.2s, transform 0.2s; border: none; cursor: pointer; }
.btn-primary:hover { background: var(--accent-dark); transform: translateY(-1px); }

/* FOOTER */
.footer { background: var(--bg-dark); border-top: 1px solid rgba(255,255,255,0.08); padding: 32px 24px; }
.footer-inner { max-width: 1200px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; }
.footer-logo { font-family: var(--font-display); font-weight: 700; color: var(--fg-light); font-size: 1rem; }
.footer-copy { color: #5a6a8a; font-size: 0.8rem; }

/* JOB REQUEST FORM PAGE */
.request-page { min-height: 100vh; background: var(--bg); }
.request-hero { background: var(--bg-dark); padding: 64px 24px 56px; text-align: center; position: relative; overflow: hidden; }
.request-hero::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse at 50% 100%, rgba(232,145,58,0.12) 0%, transparent 70%); pointer-events: none; }
.request-hero-label { color: var(--accent); font-size: 0.75rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 12px; }
.request-hero h1 { font-family: var(--font-display); font-size: clamp(2rem, 4vw, 3rem); color: var(--fg-light); margin-bottom: 12px; }
.request-hero p { color: #8a9cbf; font-size: 1rem; max-width: 520px; margin: 0 auto; }
.request-body { max-width: 680px; margin: 0 auto; padding: 48px 24px 80px; }

.form-card { background: white; border: 1px solid var(--border); border-radius: 16px; padding: 40px; box-shadow: 0 4px 24px rgba(26,43,74,0.06); }
.form-section { margin-bottom: 32px; }
.form-section:last-of-type { margin-bottom: 0; }
.form-section-title { font-size: 0.75rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent); margin-bottom: 20px; padding-bottom: 10px; border-bottom: 1px solid var(--border); }
.form-group { margin-bottom: 20px; }
.form-group:last-child { margin-bottom: 0; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }

.form-label { display: block; font-size: 0.875rem; font-weight: 500; color: var(--fg); margin-bottom: 6px; }
.form-label .required { color: var(--accent); margin-left: 2px; }
.form-input, .form-select, .form-textarea {
  width: 100%; padding: 12px 14px;
  border: 1.5px solid var(--border); border-radius: 8px;
  font-family: var(--font-body); font-size: 0.9rem; color: var(--fg);
  background: var(--bg); transition: border-color 0.2s, box-shadow 0.2s;
  outline: none; appearance: none;
}
.form-input:focus, .form-select:focus, .form-textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(232,145,58,0.15);
  background: white;
}
.form-input::placeholder, .form-textarea::placeholder { color: #b0a89e; }
.form-select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%237a8099' d='M6 8L2 4h8z'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 12px center; padding-right: 36px; cursor: pointer;
}
.form-textarea { resize: vertical; min-height: 100px; }
.form-submit-wrap { margin-top: 32px; text-align: center; }

.btn-submit {
  display: inline-block; background: var(--accent); color: white; border: none;
  padding: 15px 48px; border-radius: 8px;
  font-family: var(--font-body); font-size: 1rem; font-weight: 600;
  cursor: pointer; transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
  width: 100%;
}
.btn-submit:hover { background: var(--accent-dark); transform: translateY(-1px); box-shadow: 0 6px 20px rgba(232,145,58,0.3); }
.btn-submit:active { transform: translateY(0); }
.btn-submit:disabled { background: #c0bbb4; cursor: not-allowed; transform: none; box-shadow: none; }
.btn-submit.loading { position: relative; color: transparent; }
.btn-submit.loading::after { content: ''; position: absolute; width: 20px; height: 20px; border: 2px solid rgba(255,255,255,0.4); border-top-color: white; border-radius: 50%; top: 50%; left: 50%; transform: translate(-50%, -50%); animation: spin 0.7s linear infinite; }
@keyframes spin { to { transform: translate(-50%, -50%) rotate(360deg); } }

.form-success { display: none; text-align: center; padding: 48px 32px; }
.form-success.show { display: block; }
.form-success-icon { width: 64px; height: 64px; background: rgba(45,138,110,0.1); border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 20px; }
.form-success h3 { font-family: var(--font-display); font-size: 1.5rem; margin-bottom: 8px; }
.form-success p { color: var(--muted); font-size: 0.95rem; }

.service-type-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.service-type-card { border: 1.5px solid var(--border); border-radius: 10px; padding: 14px 12px; text-align: center; cursor: pointer; transition: border-color 0.2s, background 0.2s, box-shadow 0.2s; }
.service-type-card:hover { border-color: var(--accent); background: rgba(232,145,58,0.04); }
.service-type-card input[type="radio"] { display: none; }
.service-type-card.selected { border-color: var(--accent); background: rgba(232,145,58,0.06); box-shadow: 0 0 0 3px rgba(232,145,58,0.15); }
.service-type-icon { font-size: 1.5rem; margin-bottom: 6px; display: block; }
.service-type-name { font-size: 0.875rem; font-weight: 600; color: var(--fg); }
.service-type-desc { font-size: 0.75rem; color: var(--muted); margin-top: 2px; }

.form-error { display: none; background: #fef2f2; border: 1px solid #fecaca; border-radius: 8px; padding: 12px 16px; color: var(--error); font-size: 0.875rem; margin-bottom: 20px; }
.form-error.show { display: block; }
.back-link-wrap { text-align: center; margin-top: 32px; }
.back-link { color: var(--muted); text-decoration: none; font-size: 0.875rem; transition: color 0.2s; }
.back-link:hover { color: var(--accent); }

@media (max-width: 768px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { display: none; }
  .hero { padding: 60px 24px 70px; }
  .hero-stats { gap: 20px; flex-wrap: wrap; }
  .problem-grid, .services-grid, .testimonials-grid, .how-steps { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .service-type-cards { grid-template-columns: 1fr; }
  .form-card { padding: 24px 20px; }
  .request-hero { padding: 48px 24px 40px; }
  .nav-links a:not(.nav-cta) { display: none; }
}

/* Closing section */
.closing-inner { max-width: 1200px; margin: 0 auto; position: relative; }
.closing-bg-text { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); font-family: var(--font-display); font-size: 10vw; font-weight: 900; color: rgba(255,255,255,0.03); pointer-events: none; white-space: nowrap; letter-spacing: -0.05em; }
.closing-content { position: relative; z-index: 1; }
.closing-cta { display: flex; flex-direction: column; align-items: center; gap: 16px; }
.closing-cta-text { font-size: 0.875rem; color: #5a6a8a; }
