/* ─── Reset ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'EB Garamond', Georgia, 'Times New Roman', serif;
  color: #1a1a1a;
  background: #fafaf9;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ─── Typography ─── */
h1, h2, h3 { font-weight: 500; line-height: 1.2; }

/* ─── Navigation ─── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(250, 250, 249, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0,0,0,0.04);
  transition: transform 0.3s;
}
.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.nav-logo {
  font-family: 'Inter', sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}
.nav-logo-accent { color: #8b5cf6; }
.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav-links a {
  font-family: 'Inter', sans-serif;
  font-size: 0.875rem;
  font-weight: 500;
  color: #555;
  transition: color 0.2s;
  position: relative;
}
.nav-links a:hover { color: #1a1a1a; }
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0; right: 0;
  height: 1px;
  background: #8b5cf6;
  transform: scaleX(0);
  transition: transform 0.2s;
}
.nav-links a:hover::after { transform: scaleX(1); }
.nav-cta {
  background: #1a1a1a;
  color: #fff !important;
  padding: 8px 20px;
  border-radius: 6px;
  transition: background 0.2s !important;
}
.nav-cta:hover { background: #333 !important; }
.nav-cta::after { display: none !important; }

.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 4px; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: #1a1a1a; border-radius: 2px; transition: 0.3s; }

/* ─── Hero ─── */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 120px 24px 80px;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #fafaf9 0%, #f3e8ff 50%, #fafaf9 100%);
  z-index: 0;
}
.hero-bg::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.06) 0%, transparent 70%);
  border-radius: 50%;
}
.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 720px;
}
.hero-label {
  font-family: 'Inter', sans-serif;
  font-size: 0.8rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: #8b5cf6;
  margin-bottom: 24px;
}
.hero-title {
  font-size: clamp(2.5rem, 6vw, 4.2rem);
  font-weight: 500;
  margin-bottom: 20px;
  letter-spacing: -0.03em;
}
.hero-accent {
  font-style: italic;
  color: #8b5cf6;
}
.hero-sub {
  font-size: 1.15rem;
  color: #555;
  line-height: 1.7;
  margin-bottom: 40px;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}
.hero-sub-em {
  display: block;
  margin-top: 12px;
  font-style: italic;
  color: #333;
}
.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}
.hero-scroll {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-family: 'Inter', sans-serif;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: #999;
}
.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, #ccc, transparent);
}

/* ─── Buttons ─── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  font-weight: 500;
  padding: 14px 32px;
  border-radius: 8px;
  transition: all 0.2s;
  cursor: pointer;
  border: none;
}
.btn-primary {
  background: #1a1a1a;
  color: #fff;
}
.btn-primary:hover { background: #333; transform: translateY(-1px); }
.btn-secondary {
  background: transparent;
  color: #1a1a1a;
  border: 1px solid #1a1a1a;
}
.btn-secondary:hover { background: #1a1a1a; color: #fff; }

/* ─── Sections ─── */
.section {
  padding: 100px 24px;
}
.section-dark {
  background: #1a1a1a;
  color: #f0f0f0;
}
.section-inner {
  max-width: 960px;
  margin: 0 auto;
}
.section-header {
  margin-bottom: 60px;
}
.section-number {
  font-family: 'Inter', sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  color: #8b5cf6;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.section-header h2 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  margin: 8px 0 16px;
}
.section-desc {
  font-size: 1.1rem;
  color: #777;
  max-width: 520px;
}
.section-dark .section-desc { color: #aaa; }

/* ─── Portfolio ─── */
.portfolio-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.portfolio-card {
  background: #fff;
  border: 1px solid #eee;
  border-radius: 12px;
  padding: 32px;
  transition: all 0.25s;
}
.portfolio-card:hover {
  border-color: #ddd;
  box-shadow: 0 4px 20px rgba(0,0,0,0.05);
  transform: translateY(-2px);
}
.portfolio-card-wide {
  grid-column: 1 / -1;
}
.card-label {
  font-family: 'Inter', sans-serif;
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #8b5cf6;
  margin-bottom: 12px;
}
.card-title {
  font-size: 1.4rem;
  margin-bottom: 16px;
}
.card-preview {
  font-size: 1rem;
  color: #555;
  line-height: 1.8;
}
.card-preview p { margin-bottom: 8px; }
.card-preview p:last-child { font-style: italic; color: #333; }
.card-meta {
  font-family: 'Inter', sans-serif;
  font-size: 0.8rem;
  color: #999;
  margin-top: 16px;
  padding-top: 12px;
  border-top: 1px solid #f0f0f0;
}
.card-meta a { color: #8b5cf6; font-weight: 500; }
.card-meta a:hover { text-decoration: underline; }
.badge {
  display: inline-block;
  background: #f3e8ff;
  color: #8b5cf6;
  font-family: 'Inter', sans-serif;
  font-size: 0.7rem;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 4px;
  vertical-align: middle;
  margin-left: 6px;
}

/* ─── Services ─── */
.services-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 24px;
}
.service-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px;
  padding: 32px;
}
.service-icon { font-size: 2rem; margin-bottom: 16px; }
.service-title {
  font-size: 1.3rem;
  margin-bottom: 12px;
}
.service-desc {
  font-size: 0.95rem;
  color: #aaa;
  line-height: 1.7;
  margin-bottom: 16px;
}
.service-price {
  font-family: 'Inter', sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  color: #c4b5fd;
  margin-bottom: 16px;
}
.service-features {
  font-family: 'Inter', sans-serif;
  font-size: 0.8rem;
  color: #888;
}
.service-features li {
  padding: 4px 0;
  padding-left: 16px;
  position: relative;
}
.service-features li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: #8b5cf6;
}
.service-note {
  margin-top: 48px;
  padding: 24px 32px;
  background: rgba(255,255,255,0.04);
  border-radius: 8px;
  font-size: 0.95rem;
  color: #aaa;
  line-height: 1.7;
}
.service-note strong { color: #ddd; }

/* ─── About / Flow ─── */
.about-flow {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-bottom: 60px;
}
.flow-step {
  padding: 24px;
  border-left: 2px solid #eee;
}
.step-number {
  font-family: 'Inter', sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  color: #8b5cf6;
  margin-bottom: 8px;
}
.flow-step h3 {
  font-size: 1.15rem;
  margin-bottom: 8px;
}
.flow-step p {
  font-size: 0.95rem;
  color: #666;
  line-height: 1.7;
}
.borg-card {
  background: #f3e8ff;
  border-radius: 12px;
  padding: 40px;
  max-width: 680px;
  margin: 0 auto;
}
.borg-card h3 {
  font-size: 1.3rem;
  margin-bottom: 16px;
  color: #1a1a1a;
}
.borg-card p {
  color: #444;
  line-height: 1.8;
  margin-bottom: 12px;
}
.borg-signature {
  font-style: italic;
  margin-top: 16px;
  color: #8b5cf6 !important;
}

/* ─── Contact ─── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}
.contact-item {
  margin-bottom: 20px;
}
.contact-label {
  display: block;
  font-family: 'Inter', sans-serif;
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #888;
  margin-bottom: 4px;
}
.contact-item a {
  font-size: 1.05rem;
  transition: color 0.2s;
}
.contact-item a:hover { color: #c4b5fd; }
.contact-cta h3 {
  font-size: 1.5rem;
  margin-bottom: 12px;
}
.contact-cta p {
  font-size: 0.95rem;
  color: #aaa;
  margin-bottom: 16px;
  line-height: 1.7;
}
.contact-cta ul {
  font-family: 'Inter', sans-serif;
  font-size: 0.85rem;
  color: #999;
  margin-bottom: 24px;
}
.contact-cta ul li {
  padding: 4px 0;
  padding-left: 16px;
  position: relative;
}
.contact-cta ul li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: #8b5cf6;
}

/* ─── Footer ─── */
.footer {
  padding: 40px 24px;
  text-align: center;
  border-top: 1px solid #eee;
}
.footer p {
  font-family: 'Inter', sans-serif;
  font-size: 0.8rem;
  color: #888;
}
.footer-small {
  margin-top: 4px;
  font-size: 0.75rem;
  color: #aaa;
  font-style: italic;
}

/* ─── Mobile ─── */
@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 64px;
    left: 0; right: 0;
    background: rgba(250, 250, 249, 0.98);
    backdrop-filter: blur(12px);
    flex-direction: column;
    padding: 24px;
    gap: 20px;
    border-bottom: 1px solid #eee;
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s;
  }
  .nav-links.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
  }
  .nav-toggle { display: flex; }

  .portfolio-grid {
    grid-template-columns: 1fr;
  }
  .services-grid {
    grid-template-columns: 1fr;
  }
  .about-flow {
    grid-template-columns: 1fr;
  }
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .hero-title { font-size: 2.2rem; }
  .section { padding: 60px 20px; }
}
