:root {
  --bg: #f7f8fb;
  --surface: #ffffff;
  --surface-soft: #f1f5f9;
  --ink: #0f172a;
  --ink-soft: #334155;
  --muted: #64748b;
  --line: rgba(15, 23, 42, 0.1);
  --navy: #0b1220;
  --blue: #2563eb;
  --cyan: #38bdf8;
  --gold: #d6a84f;
  --green: #10b981;
  --shadow: 0 24px 70px rgba(15, 23, 42, 0.14);
  --radius: 28px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(1180px, 92%);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.84);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--line);
}

.nav-container {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -0.02em;
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand::before {
  content: "";
  width: 34px;
  height: 34px;
  border-radius: 12px;
  background:
    linear-gradient(135deg, var(--blue), var(--cyan));
  box-shadow: 0 12px 28px rgba(37, 99, 235, 0.28);
}

.nav {
  display: flex;
  align-items: center;
  gap: 30px;
  color: var(--muted);
  font-size: 0.94rem;
  font-weight: 600;
}

.nav a {
  position: relative;
}

.nav a:hover {
  color: var(--ink);
}

.nav a:last-child {
  background: var(--ink);
  color: #ffffff;
  padding: 10px 18px;
  border-radius: 999px;
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.18);
}

.hero {
  min-height: calc(100vh - 82px);
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 82% 18%, rgba(56, 189, 248, 0.28), transparent 30%),
    radial-gradient(circle at 20% 24%, rgba(37, 99, 235, 0.18), transparent 28%),
    linear-gradient(135deg, #ffffff 0%, #eef6ff 48%, #f8fafc 100%);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 110px 7% auto auto;
  width: min(430px, 40vw);
  height: min(430px, 40vw);
  border-radius: 42px;
  transform: rotate(12deg);
  background:
    linear-gradient(145deg, rgba(15, 23, 42, 0.94), rgba(30, 64, 175, 0.88));
  box-shadow: var(--shadow);
}

.hero::after {
  content: "OPTIMA";
  position: absolute;
  right: 8%;
  top: 27%;
  color: rgba(255, 255, 255, 0.12);
  font-size: clamp(3rem, 7vw, 6.8rem);
  font-weight: 900;
  letter-spacing: -0.08em;
  transform: rotate(12deg);
}

.hero-content {
  position: relative;
  z-index: 3;
  max-width: 760px;
  padding: 90px 0;
}

.eyebrow,
.section-label,
.tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--blue);
  text-transform: uppercase;
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.16em;
}

.eyebrow::before,
.section-label::before {
  content: "";
  width: 34px;
  height: 2px;
  background: linear-gradient(90deg, var(--blue), var(--cyan));
  border-radius: 99px;
}

h1 {
  margin-top: 22px;
  font-size: clamp(3.4rem, 7.6vw, 7.5rem);
  line-height: 0.9;
  letter-spacing: -0.075em;
  color: var(--ink);
  max-width: 920px;
}

.hero-text {
  max-width: 660px;
  margin-top: 30px;
  font-size: 1.24rem;
  color: var(--ink-soft);
}

.hero-actions {
  margin-top: 38px;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.btn {
  min-height: 52px;
  padding: 0 24px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--blue);
  color: #ffffff;
  box-shadow: 0 18px 34px rgba(37, 99, 235, 0.28);
}

.btn-secondary {
  background: #ffffff;
  color: var(--ink);
  border: 1px solid var(--line);
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.08);
}

.section {
  padding: 108px 0;
}

.section-light {
  background:
    linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
}

.section-dark {
  background:
    radial-gradient(circle at 85% 20%, rgba(56, 189, 248, 0.18), transparent 26%),
    linear-gradient(135deg, #07111f 0%, #0f172a 52%, #111827 100%);
  color: #ffffff;
}

.narrow {
  max-width: 860px;
}

h2 {
  margin-top: 18px;
  font-size: clamp(2.2rem, 4.4vw, 4.5rem);
  line-height: 0.98;
  letter-spacing: -0.06em;
  color: inherit;
}

.section p:not(.section-label) {
  margin-top: 26px;
  font-size: 1.1rem;
  color: var(--muted);
}

.section-dark p:not(.section-label) {
  color: #cbd5e1;
}

#proposito .narrow {
  background: var(--surface);
  padding: 54px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  box-shadow: 0 18px 50px rgba(15, 23, 42, 0.08);
}

.project-grid {
  margin-top: 48px;
  display: grid;
  grid-template-columns: 1.15fr 0.925fr 0.925fr;
  gap: 24px;
}

.project-card {
  position: relative;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 34px;
  min-height: 360px;
  box-shadow: 0 18px 50px rgba(15, 23, 42, 0.08);
  display: flex;
  flex-direction: column;
}

.project-card::after {
  content: "";
  position: absolute;
  right: -80px;
  top: -80px;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: rgba(37, 99, 235, 0.08);
}

.project-card.featured {
  background:
    radial-gradient(circle at 85% 15%, rgba(56, 189, 248, 0.35), transparent 30%),
    linear-gradient(145deg, #0f172a 0%, #172554 62%, #0b1220 100%);
  color: #ffffff;
  box-shadow: var(--shadow);
}

.project-card.featured::after {
  background: rgba(255, 255, 255, 0.08);
}

.tag {
  width: fit-content;
  color: var(--blue);
  background: rgba(37, 99, 235, 0.08);
  padding: 8px 12px;
  border-radius: 999px;
  letter-spacing: 0.1em;
  font-size: 0.68rem;
}

.project-card.featured .tag {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.14);
}

.project-card h3 {
  position: relative;
  z-index: 2;
  margin-top: 28px;
  font-size: 1.75rem;
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.project-card p {
  position: relative;
  z-index: 2;
  margin-top: 18px;
  color: var(--muted);
  font-size: 1rem;
}

.project-card.featured p {
  color: #dbeafe;
}

.project-link {
  position: relative;
  z-index: 2;
  margin-top: auto;
  padding-top: 32px;
  color: var(--blue);
  font-weight: 850;
}

.project-card.featured .project-link {
  color: var(--cyan);
}

#vision {
  position: relative;
  overflow: hidden;
}

#vision .narrow {
  position: relative;
  z-index: 2;
}

.site-footer {
  padding: 36px 0;
  background: #020617;
  color: #94a3b8;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  font-size: 0.92rem;
}

@media (max-width: 900px) {
  .nav {
    display: none;
  }

  .hero {
    min-height: auto;
  }

  .hero::before,
  .hero::after {
    display: none;
  }

  .hero-content {
    padding: 78px 0;
  }

  .project-grid {
    grid-template-columns: 1fr;
  }

  #proposito .narrow {
    padding: 34px;
  }

  .footer-content {
    flex-direction: column;
  }
}