/* Azul Systems — palette matched to reference site */
:root {
  --color-bg: #040e1b;
  --color-surface: #0b1428;
  --color-text: #c8cdd4;
  --color-muted: #969ba2;
  --color-border: #1d2b50;
  --color-primary: #2f53e7;
  --color-primary-hover: #2943a7;
  --color-accent: #2f53e7;
  --color-accent-soft: rgba(47, 83, 231, 0.18);
  --color-soft-blue: #101d38;
  --color-dark-ink: #030913;
  --font-sans: "DM Sans", system-ui, -apple-system, sans-serif;
  --font-display: "Instrument Serif", Georgia, serif;
  --radius: 12px;
  --radius-sm: 8px;
  --shadow: 0 14px 34px rgba(2, 8, 17, 0.5);
  --shadow-soft: 0 6px 22px rgba(2, 8, 17, 0.38);
  --header-h: 72px;
  --max: 1120px;
  --narrow: 720px;
}

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

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--color-text);
  background: var(--color-bg);
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  padding: 0.75rem 1rem;
  background: var(--color-primary);
  color: #fff;
  text-decoration: none;
  border-radius: 0 0 var(--radius-sm) 0;
}

.skip-link:focus {
  left: 0;
}

.container {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 1.25rem;
}

.container.narrow {
  max-width: var(--narrow);
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header-h);
  background: rgba(4, 14, 27, 0.86);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(29, 43, 80, 0.9);
  box-shadow: var(--shadow-soft);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  gap: 1rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  color: var(--color-text);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
}

.logo-img {
  width: 44px;
  height: 44px;
  object-fit: contain;
  background: transparent;
  border: none;
  padding: 0;
  box-shadow: none;
}

.logo-lockup {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.logo-tagline {
  margin-top: 0.15rem;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--color-muted);
  letter-spacing: 0.01em;
  white-space: nowrap;
}

.logo-tagline::before {
  content: "";
}

.logo-mark {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  background: var(--color-primary);
  color: var(--color-accent);
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 1.1rem;
}

.logo-mark.sm {
  width: 28px;
  height: 28px;
  font-size: 0.85rem;
}

.logo-text em {
  font-style: normal;
  font-weight: 500;
  color: var(--color-muted);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 44px;
  height: 44px;
  padding: 0;
  border: none;
  background: transparent;
  cursor: pointer;
  border-radius: var(--radius-sm);
}

.nav-toggle-bar {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--color-text);
  margin: 0 auto;
  transition: transform 0.2s, opacity 0.2s;
}

.site-header.nav-open .nav-toggle-bar:first-child {
  transform: translateY(4px) rotate(45deg);
}

.site-header.nav-open .nav-toggle-bar:last-child {
  transform: translateY(-4px) rotate(-45deg);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.site-nav ul {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-nav a {
  color: var(--color-text);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
}

.site-nav a:hover {
  color: var(--color-primary);
}

.nav-cta {
  flex-shrink: 0;
}

@media (max-width: 768px) {
  .logo-tagline {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

  .site-nav {
    position: fixed;
    inset: var(--header-h) 0 0 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 1.5rem;
    background: var(--color-bg);
    border-bottom: 1px solid var(--color-border);
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.25s ease, opacity 0.2s ease;
  }

  .site-header.nav-open .site-nav {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .site-nav ul {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
  }

  .site-nav a {
    display: block;
    padding: 0.5rem 0;
    font-size: 1.1rem;
  }

  .nav-cta {
    text-align: center;
  }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.65rem 1.25rem;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: var(--radius-sm);
  border: 2px solid transparent;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}

.btn-primary {
  background: var(--color-primary);
  color: #fff;
  box-shadow: 0 8px 20px rgba(47, 83, 231, 0.32);
}

.btn-primary:hover {
  background: var(--color-primary-hover);
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(47, 83, 231, 0.4);
}

.btn-ghost {
  background: transparent;
  color: var(--color-text);
  border-color: var(--color-border);
}

.btn-ghost:hover {
  border-color: var(--color-accent);
  background: rgba(47, 83, 231, 0.12);
}

.btn-block {
  width: 100%;
}

/* Hero */
.hero {
  position: relative;
  padding: 5.5rem 0 5rem;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 70% 0%, var(--color-accent-soft), transparent 50%),
    radial-gradient(ellipse 60% 50% at 0% 100%, rgba(47, 83, 231, 0.18), transparent 46%);
  pointer-events: none;
  overflow: hidden;
}

.hero-bg::before,
.hero-bg::after {
  content: "";
  position: absolute;
  width: 52vw;
  height: 52vw;
  max-width: 620px;
  max-height: 620px;
  border-radius: 50%;
  border: 68px solid rgba(47, 83, 231, 0.2);
  box-shadow:
    inset 0 0 28px rgba(47, 83, 231, 0.35),
    0 0 48px rgba(47, 83, 231, 0.28);
  opacity: 0.62;
  filter: blur(0.2px);
  animation: ringFloat 18s ease-in-out infinite alternate;
}

.hero-bg::before {
  top: -40%;
  left: -18%;
  transform: perspective(900px) rotateX(62deg) rotateZ(-18deg);
}

.hero-bg::after {
  bottom: -52%;
  right: -18%;
  transform: perspective(900px) rotateX(58deg) rotateZ(22deg);
  animation-delay: -6s;
}

.hero-bg-ring {
  position: absolute;
  width: 46vw;
  height: 46vw;
  max-width: 520px;
  max-height: 520px;
  border-radius: 50%;
  border: 56px solid rgba(41, 67, 167, 0.16);
  box-shadow:
    inset 0 0 20px rgba(47, 83, 231, 0.25),
    0 0 36px rgba(47, 83, 231, 0.2);
  top: 24%;
  left: 38%;
  transform: perspective(900px) rotateX(68deg) rotateZ(8deg);
  animation: ringFloat 22s ease-in-out infinite reverse;
  opacity: 0.55;
}

@keyframes ringFloat {
  0% {
    transform: translate3d(0, 0, 0) perspective(900px) rotateX(60deg) rotateZ(-14deg) scale(1);
  }
  50% {
    transform: translate3d(18px, -12px, 0) perspective(900px) rotateX(63deg) rotateZ(-9deg) scale(1.03);
  }
  100% {
    transform: translate3d(-14px, 10px, 0) perspective(900px) rotateX(58deg) rotateZ(-20deg) scale(0.98);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-bg::before,
  .hero-bg::after,
  .hero-bg-ring {
    animation: none;
  }
}

.hero-inner {
  position: relative;
}

.eyebrow {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-primary);
  margin: 0 0 1rem;
  text-align: center;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 5vw, 3.35rem);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 1.25rem;
  max-width: 16ch;
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.hero-accent {
  color: var(--color-primary);
  font-style: italic;
}

.lead {
  font-size: 1.125rem;
  color: var(--color-muted);
  max-width: 38rem;
  margin: 0 auto 1.75rem;
  text-align: center;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 2.5rem;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  max-width: 42rem;
  margin: 0;
  padding: 1.25rem 0 0;
  border-top: 1px solid var(--color-border);
  margin-left: auto;
  margin-right: auto;
}

.hero-stats dt {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-muted);
  margin: 0 0 0.25rem;
}

.hero-stats dd {
  margin: 0;
  font-weight: 600;
  font-size: 0.95rem;
}

@media (max-width: 540px) {
  .hero-stats {
    grid-template-columns: 1fr;
  }
}

/* Sections */
.section {
  padding: 4rem 0;
}

.split-section {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 2rem;
  align-items: center;
}

@media (max-width: 900px) {
  .split-section {
    grid-template-columns: 1fr;
  }
}

.section-alt {
  background: #081124;
  border-top: 1px solid rgba(29, 43, 80, 0.9);
  border-bottom: 1px solid rgba(29, 43, 80, 0.9);
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 400;
  margin: 0 0 1rem;
  letter-spacing: -0.02em;
}

.section-intro {
  font-size: 1.05rem;
  color: var(--color-muted);
  margin: 0 0 2rem;
}

.section-intro.center {
  text-align: center;
  max-width: 36rem;
  margin-left: auto;
  margin-right: auto;
}

/* Cards */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

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

.card {
  background: var(--color-surface);
  padding: 1.5rem;
  border-radius: var(--radius);
  border: 1px solid rgba(29, 43, 80, 0.95);
  box-shadow: var(--shadow);
}

.card.highlight {
  background: linear-gradient(180deg, rgba(47, 83, 231, 0.16), rgba(11, 20, 40, 0.95));
}

.card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.1rem;
}

.card p {
  margin: 0;
  color: var(--color-muted);
  font-size: 0.95rem;
}

/* Services */
.workflow-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

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

.workflow-item {
  background: var(--color-surface);
  border: 1px solid rgba(29, 43, 80, 0.95);
  border-radius: var(--radius);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  box-shadow: var(--shadow);
}

.workflow-item .step-num {
  width: 2rem;
  height: 2rem;
  font-size: 0.85rem;
}

.workflow-item h3 {
  margin: 0;
}

.workflow-item p {
  margin: 0;
  color: var(--color-muted);
}

.plans-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

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

.plan-card {
  background: rgba(11, 20, 40, 0.94);
  border: 1px solid rgba(29, 43, 80, 0.95);
  border-radius: var(--radius);
  padding: 1.4rem;
  box-shadow: var(--shadow);
}

.plan-card.featured {
  border-color: var(--color-accent);
  box-shadow: 0 12px 30px rgba(47, 83, 231, 0.28);
}

.plan-label {
  margin: 0;
  color: var(--color-muted);
  text-transform: uppercase;
  letter-spacing: 0.09em;
  font-size: 0.75rem;
}

.plan-card h3 {
  margin: 0.35rem 0 0.4rem;
}

.plan-price {
  margin: 0;
  color: var(--color-text);
  font-weight: 700;
}

.plan-card ul {
  margin: 1rem 0;
  padding-left: 1rem;
  color: var(--color-muted);
}

.plan-card li {
  margin-bottom: 0.35rem;
}

.faq-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 2rem;
  align-items: start;
}

@media (max-width: 900px) {
  .faq-layout {
    grid-template-columns: 1fr;
  }
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.faq-list details {
  background: rgba(11, 20, 40, 0.9);
  border: 1px solid rgba(29, 43, 80, 0.95);
  border-radius: var(--radius-sm);
  padding: 0.85rem 1rem;
}

.faq-list summary {
  cursor: pointer;
  font-weight: 600;
  color: var(--color-text);
}

.faq-list p {
  margin: 0.75rem 0 0.15rem;
  color: var(--color-muted);
  font-size: 0.94rem;
}

/* Tender steps */
.tender-steps {
  list-style: none;
  margin: 0 0 2rem;
  padding: 0;
  max-width: 40rem;
  margin-left: auto;
  margin-right: auto;
}

.tender-steps li {
  display: flex;
  gap: 1.25rem;
  margin-bottom: 1.75rem;
  align-items: flex-start;
}

.tender-steps li:last-child {
  margin-bottom: 0;
}

.step-num {
  flex-shrink: 0;
  width: 2.5rem;
  height: 2.5rem;
  display: grid;
  place-items: center;
  background: var(--color-primary);
  color: #fff;
  font-weight: 700;
  border-radius: 50%;
  font-size: 0.95rem;
}

.tender-steps h3 {
  margin: 0 0 0.35rem;
  font-size: 1.05rem;
}

.tender-steps p {
  margin: 0;
  color: var(--color-muted);
  font-size: 0.95rem;
}

.callout {
  max-width: 40rem;
  margin: 0 auto;
  padding: 1.25rem 1.5rem;
  background: var(--color-accent-soft);
  border-left: 4px solid #2f53e7;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

.callout p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--color-text);
}

/* Contact */
.section-cta {
  background: var(--color-bg);
  color: #dcdee2;
}

.section-cta .section-title,
.section-cta .section-intro {
  color: #dcdee2;
}

.section-cta .section-intro {
  opacity: 0.9;
}

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

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

.contact-details {
  list-style: none;
  margin: 0;
  padding: 0;
}

.contact-details li {
  margin-bottom: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.contact-details .label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  opacity: 0.75;
}

.contact-details a {
  color: var(--color-accent);
  text-decoration: none;
  font-weight: 500;
}

.contact-details a:hover {
  text-decoration: underline;
}

.contact-details .hint {
  font-size: 0.8rem;
  opacity: 0.65;
}

.contact-form {
  background: rgba(11, 20, 40, 0.9);
  border: 1px solid rgba(29, 43, 80, 0.95);
  border-radius: var(--radius);
  padding: 1.5rem;
}

.form-row {
  margin-bottom: 1rem;
}

.form-row label {
  display: block;
  font-size: 0.85rem;
  font-weight: 500;
  margin-bottom: 0.35rem;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.65rem 0.85rem;
  font-family: inherit;
  font-size: 1rem;
  border: 1px solid rgba(29, 43, 80, 0.95);
  border-radius: var(--radius-sm);
  background: rgba(200, 205, 212, 0.98);
  color: #040e1b;
}

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

.form-note {
  margin: 0.75rem 0 0;
  font-size: 0.9rem;
  min-height: 1.35em;
  opacity: 0.95;
}

.section-cta .btn-primary {
  background: #2f53e7;
  color: #ffffff;
}

.section-cta .btn-primary:hover {
  background: #2943a7;
}

/* Footer */
.site-footer {
  padding: 2rem 0;
  background: #030913;
  color: #c8cdd4;
  font-size: 0.875rem;
  border-top: 1px solid rgba(29, 43, 80, 0.9);
}

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  color: #ffffff;
}

.footer-disclaimer {
  margin: 0;
  max-width: 52rem;
  line-height: 1.5;
  font-size: 0.8rem;
  opacity: 0.85;
}
