/* ============================================================
   Dawn Wise — css/style.css
   Design: Brutalist-modern. No templates. No gradients.
   No rgba colors. Maximum contrast. Completely unique.
   ============================================================ */

/* --- Reset & Base ---------------------------------------- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --bg:       #08080c;
  --bg-alt:   #111118;
  --surface:  #1a1a24;
  --border:   #2a2a3a;
  --accent:   #ff5e2c;
  --accent2:  #00d6aa;
  --text:     #f0f0f5;
  --text-dim: #9090a0;
  --white:    #ffffff;
  --error:    #ff3b3b;
  --success:  #00c97a;
  --warn:     #ffb028;
  --font:     'Segoe UI', system-ui, -apple-system, sans-serif;
  --mono:     'SF Mono', 'Cascadia Code', 'Consolas', monospace;
}

html {
  font-size: 18px;
  scroll-behavior: smooth;
  background: var(--bg);
  color: var(--text);
}

body {
  font-family: var(--font);
  line-height: 1.6;
  overflow-x: hidden;
  min-height: 100vh;
}

/* --- Typography ------------------------------------------ */
h1, h2, h3, h4, h5, h6 { font-weight: 700; line-height: 1.15; }

h1 { font-size: clamp(2.4rem, 6vw, 4.8rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(1.8rem, 4vw, 2.8rem); letter-spacing: -0.01em; }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.6rem); }

p, li { font-size: 1rem; }

a {
  color: var(--accent2);
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus-visible { color: var(--accent); }

::selection { background: var(--accent); color: var(--bg); }

/* --- Skip Link (a11y) ----------------------------------- */
.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  background: var(--accent);
  color: var(--bg);
  padding: 8px 16px;
  font-weight: 700;
  z-index: 10000;
}
.skip-link:focus { top: 16px; }

/* --- Navigation — Top Bar -------------------------------- */
.site-nav {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  background: var(--bg);
  border-bottom: 2px solid var(--border);
}
.nav-inner {
  max-width: 1240px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 32px;
  height: 64px;
}

/* Logo */
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}
.brand-icon {
  width: 36px;
  height: 36px;
  background: var(--accent);
  clip-path: polygon(0 0, 100% 0, 100% 60%, 60% 100%, 0 100%);
}
.brand-text {
  font-weight: 800;
  font-size: 1.2rem;
  letter-spacing: 0.04em;
  color: var(--white);
}

/* Nav Links */
.nav-links {
  display: flex;
  list-style: none;
  gap: 4px;
}
.nav-links a {
  display: block;
  padding: 10px 18px;
  color: var(--text-dim);
  font-weight: 600;
  font-size: 0.9rem;
  border: 2px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}
.nav-links a:hover,
.nav-links a:focus-visible {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

/* Mobile menu toggle */
.nav-toggle {
  display: none;
  background: none;
  border: 2px solid var(--text-dim);
  color: var(--text);
  width: 44px;
  height: 36px;
  cursor: pointer;
  font-size: 1.4rem;
  line-height: 1;
  align-items: center;
  justify-content: center;
}
.nav-toggle:hover { border-color: var(--accent); color: var(--accent); }

/* --- Hero — Asymmetric Split ----------------------------- */
.hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  padding: 80px 0 0;
  max-width: 1240px;
  margin: 0 auto;
  gap: 0;
  position: relative;
}

.hero-text {
  padding: 60px 32px 60px 48px;
}

.hero-tag {
  display: inline-block;
  font-family: var(--mono);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  border: 2px solid var(--accent);
  padding: 6px 14px;
  margin-bottom: 28px;
}

.hero h1 {
  margin-bottom: 24px;
  color: var(--white);
}

.hero h1 .hl { color: var(--accent); }

.hero-intro {
  font-size: 1.15rem;
  color: var(--text-dim);
  max-width: 440px;
  margin-bottom: 36px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.03em;
  cursor: pointer;
  border: 2px solid transparent;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
  font-family: var(--font);
}

.btn-primary {
  background: var(--accent);
  color: var(--bg);
  border-color: var(--accent);
}
.btn-primary:hover,
.btn-primary:focus-visible {
  background: transparent;
  color: var(--accent);
  border-color: var(--accent);
}

.btn-outline {
  background: transparent;
  color: var(--text);
  border-color: var(--border);
}
.btn-outline:hover,
.btn-outline:focus-visible {
  border-color: var(--accent);
  color: var(--accent);
}

/* Hero Visual — geometric composition */
.hero-visual {
  position: relative;
  height: 100%;
  min-height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.geo-block {
  position: absolute;
  border: 2px solid var(--border);
  background: var(--bg-alt);
}

.geo-a {
  width: 200px;
  height: 200px;
  top: 12%;
  right: 15%;
  clip-path: polygon(0 15%, 100% 0, 85% 100%, 15% 85%);
  background: var(--accent);
  border: none;
}

.geo-b {
  width: 140px;
  height: 140px;
  top: 35%;
  right: 42%;
  border-color: var(--accent2);
  clip-path: polygon(50% 0, 100% 38%, 82% 100%, 18% 100%, 0 38%);
  background: var(--bg-alt);
}

.geo-c {
  width: 100px;
  height: 100px;
  bottom: 22%;
  right: 22%;
  background: var(--accent2);
  border: none;
  clip-path: polygon(30% 0, 100% 30%, 70% 100%, 0 70%);
}

.geo-d {
  width: 180px;
  height: 4px;
  top: 28%;
  right: 10%;
  background: var(--border);
  border: none;
  transform: rotate(-35deg);
}

.geo-e {
  width: 4px;
  height: 120px;
  top: 52%;
  right: 48%;
  background: var(--accent);
  border: none;
}

/* --- Section Shared -------------------------------------- */
.section {
  padding: 100px 32px;
  max-width: 1240px;
  margin: 0 auto;
}

.section-label {
  font-family: var(--mono);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}

.section-header {
  margin-bottom: 56px;
}
.section-header h2 { color: var(--white); margin-bottom: 12px; }
.section-header p { color: var(--text-dim); max-width: 520px; }

/* Dividers */
.divider {
  height: 2px;
  background: var(--border);
  width: 100%;
  margin: 0;
  position: relative;
}
.divider::after {
  content: '';
  position: absolute;
  left: 32px;
  top: -3px;
  width: 8px;
  height: 8px;
  background: var(--accent);
}

/* --- Stats — Counter Row (NOT a 3-column grid) ----------- */
.stats-strip {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  padding: 60px 0;
  border-top: 2px solid var(--border);
  border-bottom: 2px solid var(--border);
}

.stat-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 140px;
}

.stat-number {
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--white);
  line-height: 1;
}
.stat-number .plus { color: var(--accent); }

.stat-label {
  font-size: 0.85rem;
  color: var(--text-dim);
  font-weight: 500;
}

/* --- Services — Stacked Alternating Rows ----------------- */
.service-block {
  display: flex;
  align-items: stretch;
  gap: 0;
  margin-bottom: 4px;
  min-height: 320px;
}

.service-block:nth-child(even) {
  flex-direction: row-reverse;
}

.service-visual {
  flex: 1 1 45%;
  background: var(--bg-alt);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 280px;
  position: relative;
  border: 2px solid var(--border);
  overflow: hidden;
}

.service-visual-inner {
  font-family: var(--mono);
  font-size: clamp(3rem, 8vw, 6rem);
  font-weight: 800;
  color: var(--border);
  user-select: none;
}

.service-body {
  flex: 1 1 55%;
  padding: 48px 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border: 2px solid var(--border);
  border-left: none;
}
.service-block:nth-child(even) .service-body {
  border-left: 2px solid var(--border);
  border-right: none;
}

.service-body h3 { color: var(--white); margin-bottom: 12px; font-size: 1.4rem; }
.service-body p { color: var(--text-dim); margin-bottom: 16px; }

.service-marker {
  display: inline-block;
  font-family: var(--mono);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--accent2);
}

/* --- Process — Timeline (NOT a grid) --------------------- */
.process-track {
  position: relative;
  padding-left: 28px;
  border-left: 2px solid var(--border);
}

.process-step {
  position: relative;
  padding: 0 0 48px 36px;
}
.process-step:last-child { padding-bottom: 0; }

.process-step::before {
  content: '';
  position: absolute;
  left: -36px;
  top: 4px;
  width: 14px;
  height: 14px;
  background: var(--bg);
  border: 2px solid var(--accent);
}

.process-step.active::before {
  background: var(--accent);
}

.step-num {
  font-family: var(--mono);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.1em;
}

.process-step h3 { color: var(--white); margin: 6px 0 8px; }
.process-step p { color: var(--text-dim); }

/* --- Contact — Two-part horizontal split ----------------- */
.contact-split {
  display: flex;
  gap: 0;
  flex-wrap: wrap;
}

.contact-info {
  flex: 1 1 340px;
  padding: 48px 40px;
  background: var(--bg-alt);
  border: 2px solid var(--border);
}

.contact-info h3 {
  color: var(--white);
  margin-bottom: 24px;
  font-size: 1.3rem;
}

.contact-detail {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 20px;
}
.contact-detail-icon {
  width: 40px;
  height: 40px;
  background: var(--surface);
  border: 2px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.1rem;
}
.contact-detail-text { color: var(--text-dim); font-size: 0.95rem; }
.contact-detail-text strong {
  display: block;
  color: var(--text);
  font-size: 0.85rem;
  margin-bottom: 2px;
}

.contact-form-wrap {
  flex: 1 1 400px;
  padding: 48px 40px;
  border: 2px solid var(--border);
  border-left: none;
}

.contact-form-wrap h3 { color: var(--white); margin-bottom: 24px; font-size: 1.3rem; }

/* Form Elements */
.form-field {
  margin-bottom: 20px;
}
.form-field label {
  display: block;
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 6px;
}
.form-field input,
.form-field textarea {
  width: 100%;
  background: var(--bg);
  border: 2px solid var(--border);
  color: var(--text);
  font-family: var(--font);
  font-size: 0.95rem;
  padding: 12px 16px;
  transition: border-color 0.2s;
}
.form-field input:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--accent);
}

.form-field textarea { min-height: 130px; resize: vertical; }

.form-error {
  font-size: 0.8rem;
  color: var(--error);
  margin-top: 4px;
  display: none;
}

.form-status {
  margin-top: 16px;
  padding: 12px 16px;
  font-weight: 600;
  font-size: 0.9rem;
  border: 2px solid transparent;
  display: none;
}
.form-status.success { display: block; border-color: var(--success); color: var(--success); }
.form-status.error   { display: block; border-color: var(--error);   color: var(--error); }

/* --- Footer — Bold Monolith ------------------------------ */
.site-footer {
  background: var(--bg-alt);
  border-top: 2px solid var(--border);
  padding: 64px 32px 40px;
}

.footer-top {
  max-width: 1240px;
  margin: 0 auto 48px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
  flex-wrap: wrap;
}

.footer-brand .brand-icon { width: 28px; height: 28px; }
.footer-brand .brand-text { font-size: 1rem; }

.footer-links {
  display: flex;
  gap: 48px;
  flex-wrap: wrap;
}
.footer-col h4 {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-dim);
  margin-bottom: 14px;
}
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 8px; }
.footer-col a { color: var(--text-dim); font-size: 0.9rem; }
.footer-col a:hover { color: var(--accent); }
.footer-col address { font-style: normal; color: var(--text-dim); font-size: 0.85rem; line-height: 1.7; }

.footer-bottom {
  max-width: 1240px;
  margin: 0 auto;
  padding-top: 24px;
  border-top: 2px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-bottom p { font-size: 0.8rem; color: var(--text-dim); }

.google-badge {
  font-size: 0.75rem;
  color: var(--text-dim);
  font-family: var(--mono);
  padding: 6px 12px;
  border: 2px solid var(--border);
}

/* --- Legal Pages (Privacy / Terms) ----------------------- */
.legal-page {
  max-width: 760px;
  margin: 0 auto;
  padding: 120px 32px 80px;
}

.legal-page h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  color: var(--white);
  margin-bottom: 8px;
}
.legal-page .legal-date {
  font-size: 0.85rem;
  color: var(--text-dim);
  margin-bottom: 40px;
  font-family: var(--mono);
}

.legal-page h2 {
  font-size: 1.3rem;
  color: var(--accent);
  margin-top: 40px;
  margin-bottom: 12px;
  padding-top: 20px;
  border-top: 2px solid var(--border);
}

.legal-page p {
  font-size: 1rem;
  color: var(--text-dim);
  margin-bottom: 16px;
  line-height: 1.75;
}

.legal-page ul, .legal-page ol {
  color: var(--text-dim);
  margin-bottom: 16px;
  padding-left: 24px;
}
.legal-page li {
  font-size: 1rem;
  margin-bottom: 8px;
  line-height: 1.7;
}

.legal-page strong { color: var(--text); }

/* --- Scroll Animation Classes ---------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal-right.visible {
  opacity: 1;
  transform: translateX(0);
}

/* --- Responsive ------------------------------------------ */
@media (max-width: 860px) {
  .hero {
    grid-template-columns: 1fr;
    padding-top: 80px;
  }

  .hero-text { padding: 40px 24px 0; }
  .hero-visual { min-height: 320px; }

  .geo-a { width: 120px; height: 120px; top: 10%; right: 10%; }
  .geo-b { width: 90px;  height: 90px;  top: 30%; right: 35%; }
  .geo-c { width: 70px;  height: 70px;  bottom: 18%; right: 18%; }
  .geo-d { width: 100px; top: 22%; right: 5%; }
  .geo-e { height: 80px; top: 46%; right: 42%; }

  .nav-links {
    position: fixed;
    top: 64px;
    left: 0;
    width: 100%;
    background: var(--bg);
    flex-direction: column;
    border-bottom: 2px solid var(--border);
    display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links a {
    padding: 16px 32px;
    border-bottom: 2px solid var(--border);
    width: 100%;
  }

  .nav-toggle { display: flex; }

  .contact-form-wrap { border-left: 2px solid var(--border); }

  .service-block,
  .service-block:nth-child(even) {
    flex-direction: column;
  }
  .service-body,
  .service-block:nth-child(even) .service-body {
    border-left: 2px solid var(--border);
    border-right: 2px solid var(--border);
    border-top: none;
  }
  .service-visual { min-height: 200px; }

  .stats-strip { gap: 32px; }
}

@media (max-width: 500px) {
  .nav-inner { padding: 0 16px; }
  .section { padding: 60px 16px; }
  .hero-text { padding: 32px 16px 0; }
  .contact-info, .contact-form-wrap { padding: 32px 20px; }
  .footer-top, .footer-bottom { flex-direction: column; }
  .legal-page { padding: 100px 16px 60px; }
}
