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

:root {
  --blue: #1105F7;
  --blue-dark: #0d04c4;
  --dark: #0f0f0f;
  --gray: #444;
  --light: #f7f7f7;
  --white: #ffffff;
  --border: #e0e0e0;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Helvetica Neue', Arial, sans-serif;
  color: var(--dark);
  line-height: 1.6;
  background: var(--white);
}

/* ── TYPOGRAPHY ── */
h1, h2, h3, .nav-logo {
  font-family: 'League Spartan', 'Helvetica Neue', Arial, sans-serif;
  font-weight: 700;
  line-height: 1.1;
}

.section-label {
  font-family: 'Cinzel', serif;
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--blue);
  display: block;
  margin-bottom: 0.75rem;
}

/* ── NAV ── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
  height: 64px;
  display: flex;
  align-items: center;
}

.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 2rem;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  font-size: 1.25rem;
  color: var(--dark);
  text-decoration: none;
  letter-spacing: -0.02em;
}

.nav-logo span { color: var(--blue); }

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--gray);
  letter-spacing: 0.03em;
  transition: color 0.2s;
}

.nav-links a:hover { color: var(--blue); }

.nav-cta {
  background: var(--blue);
  color: var(--white) !important;
  padding: 0.5rem 1.25rem;
  border-radius: 4px;
  transition: background 0.2s !important;
}

.nav-cta:hover { background: var(--blue-dark) !important; color: var(--white) !important; }

/* ── HERO ── */
#hero {
  min-height: 100vh;
  background: var(--dark);
  display: flex;
  align-items: center;
  padding-top: 64px;
  position: relative;
  overflow: hidden;
}

.hero-bg-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: 'League Spartan', sans-serif;
  font-size: clamp(6rem, 20vw, 18rem);
  font-weight: 900;
  color: rgba(255,255,255,0.03);
  white-space: nowrap;
  pointer-events: none;
  user-select: none;
}

.hero-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 5rem 2rem;
  position: relative;
  z-index: 1;
}

.hero-inner .section-label { color: #6b7aff; }

.hero-inner h1 {
  font-size: clamp(2.5rem, 7vw, 5.5rem);
  color: var(--white);
  max-width: 14ch;
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
}

.hero-inner h1 em {
  font-style: normal;
  color: var(--blue);
}

.hero-inner p {
  font-size: 1.125rem;
  color: #aaa;
  max-width: 46ch;
  margin-bottom: 2.5rem;
}

.btn-group { display: flex; gap: 1rem; flex-wrap: wrap; }

.btn {
  display: inline-block;
  padding: 0.875rem 2rem;
  border-radius: 4px;
  font-family: 'League Spartan', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-decoration: none;
  transition: background 0.2s, color 0.2s, transform 0.15s;
}

.btn:hover { transform: translateY(-1px); }

.btn-primary {
  background: var(--blue);
  color: var(--white);
}

.btn-primary:hover { background: var(--blue-dark); }

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,0.3);
}

.btn-outline:hover { border-color: var(--white); background: rgba(255,255,255,0.06); }

.hero-stats {
  display: flex;
  gap: 3rem;
  margin-top: 4rem;
  flex-wrap: wrap;
}

.hero-stats .stat-num {
  font-family: 'League Spartan', sans-serif;
  font-size: 2rem;
  font-weight: 900;
  color: var(--white);
  display: block;
}

.hero-stats .stat-label {
  font-size: 0.8rem;
  color: #777;
  letter-spacing: 0.05em;
}

/* ── SECTIONS COMMON ── */
section { padding: 5rem 2rem; }

.container {
  max-width: 1100px;
  margin: 0 auto;
}

.section-header { margin-bottom: 3.5rem; }

.section-header h2 {
  font-size: clamp(1.75rem, 4vw, 3rem);
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}

.section-header p {
  font-size: 1.05rem;
  color: var(--gray);
  max-width: 52ch;
}

/* ── ABOUT ── */
#about { background: var(--light); }

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.about-content p {
  color: var(--gray);
  margin-bottom: 1.25rem;
  font-size: 1.025rem;
}

.about-pillars {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-top: 2rem;
}

.pillar {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.pillar-icon {
  width: 40px;
  height: 40px;
  background: var(--blue);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--white);
  font-size: 1.125rem;
}

.pillar-text h4 {
  font-family: 'League Spartan', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.pillar-text p {
  font-size: 0.9rem;
  color: var(--gray);
  margin: 0;
}

.about-visual {
  background: var(--dark);
  border-radius: 12px;
  padding: 3rem 2.5rem;
  color: var(--white);
}

.about-visual .big-quote {
  font-family: 'Cinzel', serif;
  font-size: clamp(1.1rem, 2.5vw, 1.5rem);
  line-height: 1.5;
  color: #ddd;
  margin-bottom: 2rem;
}

.about-visual .big-quote em {
  font-style: normal;
  color: #6b7aff;
}

.about-tag {
  display: inline-block;
  background: rgba(17,5,247,0.2);
  border: 1px solid rgba(17,5,247,0.4);
  color: #6b7aff;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  padding: 0.35rem 0.85rem;
  border-radius: 100px;
  font-family: 'Cinzel', serif;
}

/* ── SERVICES ── */
#services { background: var(--white); }

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
}

.service-card {
  border: 1.5px solid var(--border);
  border-radius: 10px;
  padding: 2rem;
  transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 4px;
  height: 100%;
  background: var(--blue);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 0.2s;
}

.service-card:hover {
  border-color: var(--blue);
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(17,5,247,0.1);
}

.service-card:hover::before { transform: scaleY(1); }

.service-icon {
  font-size: 1.75rem;
  margin-bottom: 1rem;
  display: block;
}

.service-card h3 {
  font-size: 1.15rem;
  margin-bottom: 0.75rem;
  letter-spacing: -0.01em;
}

.service-card p {
  font-size: 0.9rem;
  color: var(--gray);
  line-height: 1.65;
}

/* ── CONTACT ── */
#contact { background: var(--light); }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 4rem;
  align-items: start;
}

.contact-info h3 {
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
  letter-spacing: -0.01em;
}

.contact-info > p {
  color: var(--gray);
  margin-bottom: 2.5rem;
  font-size: 1rem;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.contact-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.contact-item-icon {
  width: 36px;
  height: 36px;
  background: var(--blue);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--white);
  font-size: 0.95rem;
}

.contact-item-text {
  font-size: 0.9rem;
}

.contact-item-text strong {
  display: block;
  font-family: 'League Spartan', sans-serif;
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gray);
  margin-bottom: 0.2rem;
}

.contact-item-text a {
  color: var(--dark);
  text-decoration: none;
}

.contact-item-text a:hover { color: var(--blue); }

/* ── FORM ── */
.contact-form {
  background: var(--white);
  border-radius: 12px;
  padding: 2.5rem;
  border: 1.5px solid var(--border);
}

.contact-form h3 {
  font-size: 1.3rem;
  margin-bottom: 1.75rem;
  letter-spacing: -0.01em;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  margin-bottom: 1rem;
}

.form-group label {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--gray);
  font-family: 'League Spartan', sans-serif;
}

.form-group input,
.form-group textarea,
.form-group select {
  padding: 0.75rem 1rem;
  border: 1.5px solid var(--border);
  border-radius: 6px;
  font-size: 0.95rem;
  font-family: inherit;
  color: var(--dark);
  background: var(--white);
  transition: border-color 0.2s;
  outline: none;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus { border-color: var(--blue); }

.form-group textarea { resize: vertical; min-height: 110px; }

.btn-submit {
  width: 100%;
  padding: 1rem;
  background: var(--blue);
  color: var(--white);
  border: none;
  border-radius: 6px;
  font-family: 'League Spartan', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
  margin-top: 0.5rem;
}

.btn-submit:hover { background: var(--blue-dark); transform: translateY(-1px); }

/* ── FOOTER ── */
footer {
  background: var(--dark);
  color: #888;
  padding: 3rem 2rem;
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.footer-logo {
  font-family: 'League Spartan', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--white);
  text-decoration: none;
}

.footer-logo span { color: var(--blue); }

.footer-links {
  display: flex;
  gap: 1.5rem;
  list-style: none;
}

.footer-links a {
  font-size: 0.85rem;
  color: #888;
  text-decoration: none;
}

.footer-links a:hover { color: var(--white); }

.footer-copy { font-size: 0.8rem; }

/* ── MOBILE MENU ── */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.25rem;
  flex-direction: column;
  gap: 5px;
}

.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--dark);
  border-radius: 2px;
  transition: transform 0.2s, opacity 0.2s;
}

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  .menu-toggle { display: flex; }

  .nav-links {
    display: none;
    position: fixed;
    top: 64px; left: 0; right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 1.5rem 2rem;
    border-bottom: 1px solid var(--border);
    gap: 1.25rem;
  }

  .nav-links.open { display: flex; }

  .nav-cta { width: fit-content; }

  .hero-stats { gap: 2rem; }

  .about-grid { grid-template-columns: 1fr; gap: 2.5rem; }

  .contact-grid { grid-template-columns: 1fr; gap: 2.5rem; }

  .form-row { grid-template-columns: 1fr; }

  .footer-inner { flex-direction: column; align-items: flex-start; gap: 1rem; }

  section { padding: 3.5rem 1.25rem; }
}

@media (max-width: 480px) {
  .services-grid { grid-template-columns: 1fr; }
}

/* ── REDUCED MOTION ── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    transition: none !important;
    animation: none !important;
  }
  html { scroll-behavior: auto; }
}
