/* ============================================================
   Cortigile s.r.o. — corporate one-page
   ============================================================ */

:root {
  --navy-900: #0b1f3a;
  --navy-800: #102a4c;
  --navy-700: #16355f;
  --navy-600: #1e4478;
  --blue-500: #2f6fb5;
  --blue-400: #4a8ad0;
  --ink: #1c2733;
  --ink-soft: #4a5a6d;
  --bg: #ffffff;
  --bg-alt: #f4f7fb;
  --line: #e2e9f1;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(16, 42, 76, 0.08);
  --max-w: 1080px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--navy-800);
}

.brand-logo {
  height: 38px;
  width: auto;
}

.brand-name {
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: -0.01em;
}

.brand-suffix {
  font-weight: 500;
  color: var(--ink-soft);
}

.site-nav {
  display: flex;
  gap: 28px;
}

.site-nav a {
  text-decoration: none;
  color: var(--ink-soft);
  font-weight: 500;
  font-size: 0.95rem;
  transition: color 0.2s;
}

.site-nav a:hover {
  color: var(--navy-700);
}

/* ---------- Hero ---------- */

.hero {
  background:
    radial-gradient(ellipse 80% 60% at 50% -10%, rgba(47, 111, 181, 0.14), transparent 60%),
    linear-gradient(180deg, #f7fafd 0%, var(--bg) 100%);
  padding: 110px 0 90px;
  text-align: center;
}

.hero-logo {
  height: 120px;
  width: auto;
  margin-bottom: 28px;
}

.hero-title {
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--navy-900);
  margin-bottom: 16px;
}

.hero-tagline {
  font-size: clamp(1.05rem, 2.2vw, 1.3rem);
  color: var(--ink-soft);
  max-width: 640px;
  margin: 0 auto 36px;
}

.hero-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  transition: transform 0.15s, box-shadow 0.15s, background 0.15s;
}

.btn-primary {
  background: var(--navy-700);
  color: #fff;
  box-shadow: 0 6px 18px rgba(22, 53, 95, 0.25);
}

.btn-primary:hover {
  background: var(--navy-600);
  transform: translateY(-1px);
}

.btn-ghost {
  background: transparent;
  color: var(--navy-700);
  border: 1.5px solid var(--line);
}

.btn-ghost:hover {
  border-color: var(--blue-500);
  color: var(--blue-500);
}

/* ---------- Sections ---------- */

.section {
  padding: 84px 0;
}

.section-alt {
  background: var(--bg-alt);
}

.section-title {
  font-size: clamp(1.6rem, 3.5vw, 2.1rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--navy-900);
  text-align: center;
  margin-bottom: 48px;
}

/* ---------- About ---------- */

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 48px;
  align-items: start;
}

.lead {
  font-size: 1.1rem;
  color: var(--ink-soft);
}

.about-cards {
  display: grid;
  gap: 18px;
}

.card {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px 26px;
  box-shadow: var(--shadow);
}

.card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--navy-800);
  margin-bottom: 8px;
}

.card p {
  color: var(--ink-soft);
  font-size: 0.95rem;
}

/* ---------- Projects ---------- */

.project-card {
  display: flex;
  align-items: center;
  gap: 36px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 36px 40px;
  box-shadow: var(--shadow);
}

.project-icon {
  flex-shrink: 0;
  width: 110px;
  height: 110px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #eef4fb, #dde9f6);
  border-radius: 24px;
}

.project-icon img {
  height: 72px;
  width: auto;
}

.project-body h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--navy-900);
  margin-bottom: 10px;
}

.project-body p {
  color: var(--ink-soft);
  margin-bottom: 20px;
  max-width: 640px;
}

/* ---------- Legal & Contact ---------- */

.legal-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.legal-card h3 {
  margin-bottom: 16px;
}

.legal-list {
  list-style: none;
}

.legal-list li {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.95rem;
}

.legal-list li:last-child {
  border-bottom: none;
}

.legal-list span {
  color: var(--ink-soft);
}

.legal-list strong,
.legal-list a {
  color: var(--navy-800);
  font-weight: 600;
  text-align: right;
}

.legal-list a:hover {
  color: var(--blue-500);
}

.legal-note {
  margin-top: 16px;
  font-size: 0.88rem;
  color: var(--ink-soft);
}

.legal-list li.no-border {
  border-bottom: none;
}

.legal-note-item {
  padding-top: 0;
  font-size: 0.82rem;
  color: var(--ink-soft);
}

.legal-note a {
  color: var(--blue-500);
  font-weight: 600;
}

/* ---------- Footer ---------- */

.site-footer {
  background: var(--navy-900);
  color: rgba(255, 255, 255, 0.75);
  padding: 28px 0;
  font-size: 0.88rem;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.site-footer a {
  color: #9fc0e8;
  text-decoration: none;
}

.site-footer a:hover {
  color: #fff;
}

/* ---------- Responsive ---------- */

@media (max-width: 820px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .legal-grid {
    grid-template-columns: 1fr;
  }

  .project-card {
    flex-direction: column;
    text-align: center;
    padding: 32px 24px;
  }

  .project-body p {
    margin-left: auto;
    margin-right: auto;
  }
}

@media (max-width: 560px) {
  .site-nav {
    gap: 18px;
  }

  .site-nav a {
    font-size: 0.88rem;
  }

  .brand-name {
    font-size: 1rem;
  }

  .hero {
    padding: 80px 0 64px;
  }

  .hero-logo {
    height: 90px;
  }

  .section {
    padding: 60px 0;
  }

  .legal-list li {
    flex-direction: column;
    gap: 2px;
  }

  .legal-list strong,
  .legal-list a {
    text-align: left;
  }
}
