
:root {
  --bg: #050813;
  --bg-elevated: #0b1220;
  --bg-elevated-2: #111827;
  --border-subtle: #1f2933;
  --accent: #4ea3ff;
  --accent-soft: rgba(78,163,255,0.12);
  --accent-strong: #7cc3ff;
  --text-main: #e5e7eb;
  --text-muted: #9ca3af;
  --radius-lg: 12px;
  --radius-md: 8px;
  --shadow-soft: 0 18px 40px rgba(0,0,0,0.6);
  --shadow-subtle: 0 10px 25px rgba(0,0,0,0.5);
}

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

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: radial-gradient(circle at top, #111827 0, #050813 52%, #020617 100%);
  color: var(--text-main);
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--accent-strong);
  text-decoration: none;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: linear-gradient(to bottom, rgba(5,8,19,0.96), rgba(5,8,19,0.92));
  border-bottom: 1px solid var(--border-subtle);
  backdrop-filter: blur(14px);
}

.header-inner {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0.8rem 1.4rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.brand-logo {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  border: 1px solid var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at top, rgba(78,163,255,0.18), rgba(15,23,42,0.98));
  box-shadow: var(--shadow-subtle);
  padding: 4px;
}

.brand-logo img {
  width: 100%;
  height: 100%;
  display: block;
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-weight: 650;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-size: 0.9rem;
}

.brand-tagline {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.main-nav {
  display: flex;
  gap: 1rem;
  font-size: 0.9rem;
}

.main-nav a {
  color: var(--text-muted);
  position: relative;
  padding-bottom: 0.2rem;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width 0.18s ease-out;
}

.main-nav a:hover::after,
.main-nav a.active::after {
  width: 100%;
}

main {
  max-width: 1080px;
  margin: 0 auto;
  padding: 1.5rem 1.4rem 3rem;
}

/* HERO-C1 */

.hero {
  margin-top: 2.4rem;
}

.hero-centered {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1.8rem;
}

.hero-badge {
  width: 190px;
  height: 190px;
  display: flex;
  align-items: center;
  justify-content: center;
  filter: drop-shadow(0 22px 45px rgba(0,0,0,0.7));
}

.hero-badge img,
.hero-badge svg {
  width: 100%;
  height: auto;
  display: block;
}

.hero-text h1 {
  max-width: 720px;
  margin: 0 auto 1rem;
  font-size: 2.4rem;
  line-height: 1.15;
}

.hero-text p {
  max-width: 640px;
  margin: 0 auto 1.4rem;
  color: var(--text-muted);
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.3rem;
}

.hero-meta span {
  font-size: 0.8rem;
  padding: 0.35rem 0.6rem;
  border-radius: 999px;
  border: 1px solid var(--border-subtle);
  background: rgba(15,23,42,0.7);
  color: var(--text-muted);
}

.hero-meta-center {
  justify-content: center;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
}

.hero-actions-center {
  justify-content: center;
}

.btn-primary,
.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 1.4rem;
  border-radius: 999px;
  font-size: 0.9rem;
  cursor: pointer;
  border: 1px solid transparent;
  text-decoration: none;
  transition: transform 0.1s ease-out, box-shadow 0.1s ease-out, background 0.1s ease-out;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-strong));
  color: #020617;
  box-shadow: var(--shadow-subtle);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-soft);
}

.btn-ghost {
  border-color: var(--border-subtle);
  background: rgba(15,23,42,0.85);
  color: var(--text-main);
}

.btn-ghost:hover {
  background: rgba(31,41,55,0.9);
}

/* Home capabilities */

.capabilities {
  margin-top: 2.8rem;
}

.capabilities h2 {
  margin-bottom: 1.2rem;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.card {
  background: var(--bg-elevated);
  border-radius: var(--radius-lg);
  padding: 1rem 1rem 1rem;
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-subtle);
  font-size: 0.95rem;
}

.card h3 {
  margin-top: 0;
  margin-bottom: 0.4rem;
  font-size: 1rem;
}

.card p {
  margin: 0;
  color: var(--text-muted);
}

/* Shared page styles */

.page-header {
  margin-top: 1.8rem;
  margin-bottom: 1.6rem;
}

.page-header h1 {
  margin: 0 0 0.4rem;
}

.page-header p {
  margin: 0;
  color: var(--text-muted);
}

/* About */

.about-layout,
.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 2.3fr) minmax(0, 1.5fr);
  gap: 1.5rem;
}

.about-main p {
  color: var(--text-muted);
}

.about-main ul {
  padding-left: 1.2rem;
}

.doctrine-list {
  padding-left: 1.1rem;
}

.info-card {
  background: var(--bg-elevated);
  border-radius: var(--radius-lg);
  padding: 1rem;
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-subtle);
  font-size: 0.9rem;
}

/* Services */

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.2rem;
}

.service-card {
  background: var(--bg-elevated);
  border-radius: var(--radius-lg);
  padding: 1.1rem 1rem;
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-subtle);
  font-size: 0.92rem;
}

.service-card h2 {
  margin-top: 0;
  margin-bottom: 0.5rem;
}

.service-card p {
  color: var(--text-muted);
}

.service-card ul {
  padding-left: 1.1rem;
  margin-top: 0.4rem;
}

.service-meta {
  margin-top: 0.7rem;
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.service-meta .label {
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* Contact */

.contact-form label {
  font-size: 0.85rem;
  display: block;
  margin-bottom: 0.2rem;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.6rem 0.7rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
  background: rgba(15,23,42,0.95);
  color: var(--text-main);
  margin-bottom: 0.8rem;
  font-size: 0.9rem;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: 1px solid var(--accent);
  border-color: var(--accent);
}

/* Footer */

.site-footer {
  border-top: 1px solid var(--border-subtle);
  background: rgba(5,8,19,0.98);
}

.footer-inner {
  max-width: 1080px;
  margin: 0 auto;
  padding: 1.2rem 1.4rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  font-size: 0.85rem;
}

.footer-col {
  color: var(--text-muted);
}

.footer-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.3rem;
}

.brand-small {
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.8rem;
}

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

.footer-bottom {
  text-align: center;
  font-size: 0.75rem;
  color: var(--text-muted);
  padding-bottom: 1.1rem;
}

/* Animation */

.fade-up {
  opacity: 0;
  transform: translateY(10px);
  animation: fadeUp 0.4s ease-out forwards;
}

.hero.fade-up {
  animation-delay: 0.05s;
}

.capabilities.fade-up,
.page-header.fade-up,
.about-layout.fade-up,
.services-grid.fade-up,
.contact-layout.fade-up {
  animation-delay: 0.1s;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Responsive */

@media (max-width: 820px) {
  .header-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.6rem;
  }
  .main-nav {
    font-size: 0.85rem;
  }
  .card-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .about-layout,
  .contact-layout {
    grid-template-columns: minmax(0, 1fr);
  }
  .footer-inner {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 480px) {
  .hero-badge {
    width: 150px;
    height: 150px;
  }
  .hero-text h1 {
    font-size: 2rem;
  }
}
