:root {
  --bg: #0b0d10;
  --bg-alt: #14171b;
  --card: #1b1f24;
  --border: #2a2f36;
  --text: #eef0f2;
  --text-muted: #9aa2ac;
  --accent-1: #7c3aed;
  --accent-2: #ec4899;
  --radius: 14px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

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

h1, h2, h3 { line-height: 1.15; margin: 0 0 16px; }

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

.btn {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  transition: transform .15s ease, opacity .15s ease;
}
.btn:hover { transform: translateY(-2px); }

.btn-primary {
  background: linear-gradient(135deg, var(--accent-1), var(--accent-2));
  color: #fff;
}

.btn-ghost {
  border: 1px solid var(--border);
  color: var(--text);
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(11,13,16,0.85);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px;
}

.logo {
  font-weight: 700;
  font-size: 18px;
  letter-spacing: -0.02em;
}
.logo span {
  background: linear-gradient(135deg, var(--accent-1), var(--accent-2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.main-nav a { font-size: 15px; color: var(--text-muted); font-weight: 500; }
.main-nav a:hover { color: var(--text); }

.nav-cta {
  padding: 10px 20px;
  border-radius: 999px;
  background: var(--card);
  border: 1px solid var(--border);
  color: var(--text) !important;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  width: 22px;
  height: 2px;
  background: var(--text);
  display: block;
}

/* Hero */
.hero {
  padding: 120px 0 90px;
  text-align: center;
  background: radial-gradient(ellipse at top, rgba(124,58,237,0.18), transparent 60%);
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 13px;
  font-weight: 600;
  color: var(--accent-2);
  margin-bottom: 16px;
}

.hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  max-width: 780px;
  margin: 0 auto 20px;
}

.hero-sub {
  max-width: 620px;
  margin: 0 auto 36px;
  color: var(--text-muted);
  font-size: 17px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Sections */
section { padding: 90px 0; }
section h2 {
  font-size: clamp(1.7rem, 3.5vw, 2.4rem);
  text-align: center;
}
.section-sub {
  text-align: center;
  color: var(--text-muted);
  max-width: 560px;
  margin: 0 auto 48px;
}

.work { background: var(--bg-alt); }

/* About */
.about-inner {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 48px;
  align-items: center;
}
.about-photo {
  aspect-ratio: 1 / 1;
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--accent-1), var(--accent-2));
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.85);
  font-weight: 600;
  letter-spacing: 0.05em;
}
.about-text h2 {
  font-size: clamp(1.5rem, 3vw, 2.1rem);
}
.about-text p {
  color: var(--text-muted);
  font-size: 15px;
}

.section-sub.small { margin-bottom: 24px; }

/* Reviews / review form */
.review-form-wrap {
  max-width: 620px;
  margin: 56px auto 0;
  text-align: center;
}
.review-form-wrap h3 { font-size: 20px; }
.review-form-wrap .contact-form { text-align: left; margin-top: 24px; }

.form-row select {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 12px 14px;
  color: var(--text);
  font-family: inherit;
  font-size: 15px;
}
.form-row select:focus { outline: none; border-color: var(--accent-1); }

/* Contact layout: form + direct info side by side */
.contact-layout {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 32px;
  align-items: start;
  max-width: 980px;
  margin: 0 auto;
}
.contact-layout .contact-form { max-width: none; margin: 0; }

.contact-direct {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
}
.contact-direct h3 { font-size: 18px; }
.contact-direct p { color: var(--text-muted); font-size: 15px; }
.contact-line { font-size: 15px; }
.contact-line a { color: var(--text); text-decoration: underline; text-decoration-color: var(--border); }
.contact-line a:hover { text-decoration-color: var(--accent-2); }
.contact-note {
  font-size: 12px;
  color: var(--text-muted);
  opacity: 0.7;
  margin-top: 20px;
}

.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
}
.card h3 { font-size: 18px; }
.card p { color: var(--text-muted); font-size: 15px; margin: 0; }

.work-tile {
  position: relative;
  border-radius: var(--radius);
  aspect-ratio: 4 / 3;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  border: 1px solid var(--border);
}
.tile-1 { background: linear-gradient(135deg, #7c3aed, #4c1d95); }
.tile-2 { background: linear-gradient(135deg, #ec4899, #831843); }
.tile-3 { background: linear-gradient(135deg, #6366f1, #312e81); }
.tile-4 { background: linear-gradient(135deg, #db2777, #7c3aed); }
.tile-5 { background: linear-gradient(135deg, #4c1d95, #ec4899); }
.tile-6 { background: linear-gradient(135deg, #312e81, #6366f1); }

.tile-overlay {
  padding: 20px;
  background: linear-gradient(to top, rgba(0,0,0,0.55), transparent);
  width: 100%;
}
.tile-overlay h3 { margin: 0 0 4px; font-size: 17px; }
.tile-overlay p { margin: 0; font-size: 13px; color: rgba(255,255,255,0.8); }

.review-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
}
.stars { color: var(--accent-2); letter-spacing: 2px; margin-bottom: 12px; }
.quote { color: var(--text); font-size: 15px; }
.author { color: var(--text-muted); font-size: 13px; margin: 16px 0 0; }

/* Contact */
.contact-form {
  max-width: 620px;
  margin: 0 auto;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px;
}
.form-row { margin-bottom: 20px; display: flex; flex-direction: column; gap: 8px; }
.form-row label { font-size: 14px; color: var(--text-muted); }
.form-row input, .form-row textarea {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 12px 14px;
  color: var(--text);
  font-family: inherit;
  font-size: 15px;
}
.form-row input:focus, .form-row textarea:focus {
  outline: none;
  border-color: var(--accent-1);
}
.hidden-field { display: none; }
.contact-form .btn { width: 100%; border: none; cursor: pointer; }

/* Footer */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 32px 0;
}
.footer-inner {
  text-align: center;
  color: var(--text-muted);
  font-size: 14px;
}

/* Responsive */
@media (max-width: 860px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .about-inner { grid-template-columns: 1fr; text-align: center; }
  .about-photo { width: 180px; margin: 0 auto; }
  .contact-layout { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .main-nav {
    position: fixed;
    top: 66px;
    left: 0;
    right: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    align-items: flex-start;
    padding: 24px;
    gap: 20px;
    transform: translateY(-150%);
    transition: transform .2s ease;
  }
  .main-nav.open { transform: translateY(0); }
  .nav-toggle { display: flex; }
  .grid-4, .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .contact-form { padding: 28px; }
}
