/* ============================================
   Pakster d.o.o. — One-page site
   ============================================ */

:root {
  --bg: #000000;
  --fg: #ffffff;
  --muted: #a1a1aa;
  --muted-strong: #d4d4d8;
  --zinc-500: #71717a;
  --zinc-600: #52525b;
  --zinc-800: #27272a;
  --zinc-900: #18181b;
  --zinc-950: #09090b;
  --blue-500: #3b82f6;
  --blue-600: #2563eb;
  --blue-glow: rgba(37, 99, 235, 0.35);

  --font-display: "Sora", ui-sans-serif, system-ui, -apple-system, sans-serif;
  --font-body: "Manrope", ui-sans-serif, system-ui, -apple-system, sans-serif;
}

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

html,
body {
  margin: 0;
  padding: 0;
}

body {
  background-color: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.5;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  margin: 0;
}

p { margin: 0; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

::selection { background: rgba(59, 130, 246, 0.3); color: #fff; }

.container {
  max-width: 80rem;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.text-blue { color: var(--blue-500); }

/* ============ NAV ============ */
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 2rem;
  padding-bottom: 2rem;
}

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

.brand-logo {
  height: 2.5rem;
  width: auto;
}

@media (max-width: 640px) {
  .brand-logo { height: 2rem; }
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.nav-link {
  color: var(--muted);
  padding: 0.625rem 1rem;
  border-radius: 9999px;
  font-weight: 600;
  font-size: 0.875rem;
  transition: color 0.2s ease, background 0.2s ease;
}
.nav-link:hover { color: #fff; background: var(--zinc-900); }

.nav-cta {
  background: var(--blue-600);
  color: #fff;
  padding: 0.625rem 1.5rem;
  border-radius: 9999px;
  font-weight: 600;
  font-size: 0.875rem;
  margin-left: 0.5rem;
  box-shadow: 0 6px 20px -6px var(--blue-glow);
  transition: background 0.2s ease;
}
.nav-cta:hover { background: var(--blue-500); }

@media (max-width: 640px) {
  .nav { padding-top: 1.25rem; padding-bottom: 1.25rem; }
  .nav-link--hide-sm { display: none; }
  .nav-cta { margin-left: 0; padding: 0.5rem 1.125rem; }
}

/* ============ BUTTONS ============ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.95rem 1.75rem;
  border-radius: 9999px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}
.btn svg { width: 1.125rem; height: 1.125rem; transition: transform 0.2s ease; }
.btn:hover { transform: translateY(-1px); }
.btn:hover svg { transform: translateX(0.2rem); }

.btn-primary {
  background: var(--blue-600);
  color: #fff;
  box-shadow: 0 10px 30px -8px rgba(59, 130, 246, 0.55);
}
.btn-primary:hover { background: var(--blue-500); }

.btn-secondary {
  background: rgba(24, 24, 27, 0.6);
  color: #fff;
  border: 1px solid var(--zinc-800);
}
.btn-secondary:hover { border-color: rgba(59, 130, 246, 0.6); }

.btn-lg { padding: 1.1rem 2.25rem; font-size: 1.0625rem; }

a:focus-visible {
  outline: 2px solid var(--blue-500);
  outline-offset: 3px;
}

/* ============ HERO ============ */
.hero {
  position: relative;
  padding: 5rem 1.5rem;
  overflow: hidden;
}

.hero-glow {
  position: absolute;
  top: -40px;
  left: 50%;
  transform: translateX(-50%);
  width: 1100px;
  max-width: 200%;
  height: 700px;
  background: radial-gradient(ellipse at center, rgba(37, 99, 235, 0.22), transparent 65%);
  pointer-events: none;
  z-index: 0;
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 64rem;
  margin: 0 auto;
  text-align: center;
}

.hero-logo-card {
  display: inline-flex;
  padding: 2rem 2.5rem;
  border-radius: 1.5rem;
  background: var(--zinc-950);
  border: 1px solid var(--zinc-800);
  box-shadow: 0 25px 50px -12px rgba(0,0,0,0.6);
  margin-bottom: 2.5rem;
}

.hero-logo {
  width: 26rem;
  max-width: 100%;
  height: auto;
  filter: drop-shadow(0 0 30px var(--blue-glow));
}

@media (max-width: 640px) {
  .hero-logo-card { padding: 1.5rem; }
  .hero-logo { width: 16rem; }
}

.hero-title {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  margin-bottom: 1.5rem;
  line-height: 1.05;
}

.hero-sub {
  color: var(--muted);
  font-size: 1.125rem;
  max-width: 36rem;
  margin: 0 auto 2.5rem;
  line-height: 1.7;
}

@media (min-width: 768px) {
  .hero-sub { font-size: 1.25rem; }
}

.hero-badge {
  display: flex;
  width: fit-content;
  align-items: center;
  gap: 0.5rem;
  padding: 0.375rem 0.875rem;
  margin: 0 auto 1.5rem;
  border: 1px solid var(--zinc-800);
  border-radius: 9999px;
  background: rgba(24, 24, 27, 0.6);
  color: var(--muted-strong);
  font-size: 0.8125rem;
  font-weight: 600;
}

.hero-badge-dot {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 9999px;
  background: var(--blue-500);
  box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.2);
}

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

@media (max-width: 480px) {
  .hero-actions { flex-direction: column; align-items: stretch; }
}

.hero-terms {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 1.75rem;
  color: var(--zinc-500);
  font-size: 0.875rem;
  font-weight: 600;
  transition: color 0.2s ease;
}
.hero-terms svg { width: 1rem; height: 1rem; }
.hero-terms:hover { color: var(--blue-500); }

/* ============ ABOUT ============ */
.about {
  padding: 6rem 1.5rem;
}

.about-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-bottom: 4rem;
}

.eyebrow {
  color: var(--blue-500);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  margin-bottom: 1rem;
}

.about-head h2 {
  font-size: 2.25rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.about-head p {
  color: var(--muted);
  max-width: 48rem;
  font-size: 1.125rem;
  line-height: 1.7;
}

.divider {
  width: 6rem;
  height: 0.25rem;
  background: var(--blue-600);
  border-radius: 9999px;
  margin-top: 2.5rem;
}

/* ============ SERVICES ============ */
.services {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-bottom: 6rem;
}

@media (min-width: 768px) {
  .services { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

.service-card {
  padding: 2rem;
  background: rgba(24, 24, 27, 0.5);
  border: 1px solid var(--zinc-800);
  border-radius: 1.5rem;
  transition: border-color 0.2s ease;
}
.service-card:hover { border-color: rgba(59, 130, 246, 0.5); }

.service-icon {
  width: 3rem;
  height: 3rem;
  background: rgba(37, 99, 235, 0.1);
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue-500);
  margin-bottom: 1.5rem;
  transition: background 0.2s ease, color 0.2s ease;
}
.service-icon svg { width: 1.5rem; height: 1.5rem; }
.service-card:hover .service-icon {
  background: var(--blue-600);
  color: #fff;
}

.service-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.service-card p {
  color: var(--muted);
  font-size: 0.875rem;
  line-height: 1.7;
}

/* ============ INFO GRID ============ */
.info-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .info-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

.info-card,
.contact-card {
  padding: 2rem;
  background: var(--zinc-950);
  border: 1px solid var(--zinc-800);
  border-radius: 1.5rem;
}

address.info-card { font-style: normal; }

.info-label {
  display: block;
  font-size: 0.625rem;
  color: var(--blue-500);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: 1rem;
}

.info-value {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  word-break: break-word;
}

.info-sub {
  color: var(--zinc-500);
  font-size: 0.875rem;
  margin-top: 0.25rem;
}

/* Contact card */
.contact-card {
  position: relative;
  overflow: hidden;
  border: 2px solid rgba(37, 99, 235, 0.5);
  transition: transform 0.2s ease;
}
.contact-card:hover { transform: translateY(-2px); }

.contact-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(37, 99, 235, 0.05);
  opacity: 0;
  transition: opacity 0.2s ease;
}
.contact-card:hover::before { opacity: 1; }

.contact-card > * { position: relative; }

.contact-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--blue-500);
  font-weight: 700;
  font-size: 0.875rem;
  margin-top: 1.5rem;
}
.contact-cta svg {
  width: 1rem;
  height: 1rem;
  transition: transform 0.2s ease;
}
.contact-card:hover .contact-cta svg { transform: translateX(0.25rem); }

/* ============ CTA BAND ============ */
.cta-band {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2rem;
  padding: 3rem 2rem;
  margin-bottom: 6rem;
  border: 1px solid rgba(37, 99, 235, 0.4);
  border-radius: 1.5rem;
  background:
    radial-gradient(circle at 100% 0%, rgba(37, 99, 235, 0.28), transparent 55%),
    var(--zinc-950);
}

@media (min-width: 768px) {
  .cta-band {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 3.5rem 3rem;
  }
}

.cta-band-text { max-width: 36rem; }
.cta-band .eyebrow { display: block; }

.cta-band h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 0.75rem;
}

.cta-band p {
  color: var(--muted);
  line-height: 1.7;
}

.cta-band .btn { flex-shrink: 0; }

/* ============ FOOTER ============ */
.footer {
  padding: 2.5rem 0;
  border-top: 1px solid var(--zinc-900);
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  text-align: center;
}

@media (min-width: 768px) {
  .footer-inner { flex-direction: row; text-align: left; }
}

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

.footer-logo {
  width: 1.75rem;
  height: auto;
}

.footer p {
  color: var(--zinc-600);
  font-size: 0.875rem;
  font-weight: 500;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem 1.5rem;
  color: var(--zinc-600);
  font-size: 0.875rem;
}

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