/* Ready To Rock — landing page styles */

:root {
  /* Color */
  --bg: #0c0d10;
  --bg-elev: #15171c;
  --bg-card: #1a1d24;
  --border: #282c36;
  --text: #f3f4f6;
  --text-muted: #a0a6b2;
  --accent: #ff4d2e;
  --accent-hover: #ff6a50;

  /* Type */
  --font-display: "Space Grotesk", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;

  /* Spacing scale */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 2rem;
  --space-lg: 2.5rem;

  /* Layout */
  --maxw: 1100px;
  --radius: 14px;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.hidden { display: none; }

/* Footer domain anchor */
.site-foot {
  font-family: var(--font-display);
  font-weight: 500;
  text-align: center;
  color: var(--text-muted);
  letter-spacing: 0.04em;
  padding: var(--space-md) 0;
}

/* Single-viewport stage — centered */
.stage {
  flex: 1;
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: var(--space-md);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  gap: var(--space-md);
}

/* Hero */
.eyebrow {
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 var(--space-sm);
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4.6vw, 3.2rem);
  line-height: 1.04;
  font-weight: 700;
  letter-spacing: -0.03em;
  margin: 0 auto var(--space-sm);
  max-width: 18ch;
}

.accent { color: var(--accent); white-space: nowrap; }

.hero-lead {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 58ch;
  margin: 0 auto var(--space-md);
  text-align: justify;
  text-align-last: center;
}

/* Buttons */
.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1rem;
  padding: 0.85rem 1.6rem;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease, transform 0.05s ease;
}
.btn:active { transform: translateY(1px); }

.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-hover); }

.btn-block { width: 100%; font-size: 1.05rem; }

/* Service islands — side by side */
.service-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  width: 100%;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-sm);
}

.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: var(--space-sm);
  text-align: left;
  transition: border-color 0.15s ease;
}
.service-card:hover { border-color: var(--accent); }

.service-name {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  margin: 0 0 var(--space-xs);
}

.service-desc { color: var(--text-muted); font-size: 0.9rem; line-height: 1.5; margin: 0; }

/* Contact modal */
.modal {
  width: min(92vw, 480px);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg-elev);
  color: var(--text);
  padding: var(--space-md);
}
.modal::backdrop { background: rgba(8, 9, 11, 0.7); backdrop-filter: blur(4px); }

.modal-close {
  position: absolute;
  top: var(--space-sm);
  right: var(--space-sm);
  width: 2rem;
  height: 2rem;
  line-height: 1;
  font-size: 1.5rem;
  background: transparent;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
}
.modal-close:hover { color: var(--text); }

.modal-title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  margin: 0 0 var(--space-xs);
}

.modal-lead { color: var(--text-muted); margin: 0 0 var(--space-md); }

.field { margin-bottom: var(--space-sm); }

.field label {
  display: block;
  font-size: 0.9rem;
  font-weight: 500;
  margin-bottom: var(--space-xs);
}

.field input,
.field textarea {
  width: 100%;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 0.7rem 0.9rem;
  color: var(--text);
  font-family: inherit;
  font-size: 1rem;
}

.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--accent);
}

.field textarea { resize: vertical; }

/* Responsive */
@media (max-width: 860px) {
  .service-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 520px) {
  .service-grid { grid-template-columns: 1fr; }
  .stage { justify-content: flex-start; padding-top: var(--space-lg); }
}
