﻿:root {
  --bg: #f3f7fb;
  --surface: #ffffff;
  --surface-soft: #eef4fb;
  --text: #0f172a;
  --muted: #4b5563;
  --primary: #0a66c2;
  --primary-dark: #084f97;
  --accent: #0fb493;
  --line: #d7e2ef;
  --shadow: 0 18px 45px rgba(15, 23, 42, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Manrope", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 12% 15%, rgba(15, 180, 147, 0.12), transparent 36%),
    radial-gradient(circle at 88% 0%, rgba(10, 102, 194, 0.15), transparent 28%),
    var(--bg);
}

h1,
h2,
h3,
.brand {
  font-family: "Sora", sans-serif;
}

.site-header {
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.brand {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text);
}

.section-space {
  padding: 72px 0;
}

.hero {
  padding-top: 88px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(15, 180, 147, 0.14);
  color: #0a7f69;
  font-size: 0.87rem;
  font-weight: 700;
}

.hero-title {
  margin: 18px 0 14px;
  font-size: clamp(1.9rem, 3.6vw, 3.15rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.hero-copy {
  margin: 0;
  max-width: 60ch;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.7;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  text-decoration: none;
  border-radius: 12px;
  padding: 12px 22px;
  font-size: 0.95rem;
  font-weight: 700;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), #1f7de0);
  color: #ffffff;
  box-shadow: 0 14px 24px rgba(10, 102, 194, 0.24);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
}

.btn-secondary {
  border: 1px solid var(--line);
  color: var(--text);
  background: rgba(255, 255, 255, 0.82);
}

.btn-secondary:hover {
  border-color: #b7cadf;
  box-shadow: 0 10px 20px rgba(11, 22, 44, 0.08);
}

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 32px;
}

.hero-stats div {
  min-width: 110px;
}

.hero-stats strong {
  display: block;
  font-size: 1.45rem;
  color: var(--primary-dark);
}

.hero-stats span {
  color: var(--muted);
  font-size: 0.9rem;
}

.hero-visual {
  position: relative;
  display: grid;
  justify-items: center;
}

.avatar {
  width: min(360px, 100%);
  border-radius: 24px;
  border: 8px solid var(--surface);
  box-shadow: var(--shadow);
}

.floating-card {
  position: absolute;
  left: 12px;
  bottom: 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--line);
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.12);
}

.card-title {
  margin: 0;
  font-weight: 700;
  font-size: 0.92rem;
}

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

.panel {
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--surface);
  box-shadow: var(--shadow);
  padding: clamp(22px, 3vw, 42px);
}

.about-layout {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 34px;
  align-items: center;
}

.about-media img {
  width: 100%;
  border-radius: 18px;
  border: 1px solid var(--line);
}

.section-kicker {
  font-size: 0.85rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 800;
  margin: 0 0 10px;
}

.section-title {
  margin: 0;
  font-size: clamp(1.6rem, 3vw, 2.3rem);
  line-height: 1.2;
}

.section-copy {
  margin-top: 14px;
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.7;
}

.section-narrow {
  max-width: 65ch;
  margin-left: auto;
  margin-right: auto;
}

.feature-list {
  list-style: none;
  padding: 0;
  margin: 20px 0 0;
}

.feature-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 0;
  color: #1f2937;
  border-bottom: 1px dashed #d8e1ec;
}

.feature-list img {
  width: 18px;
  height: 18px;
}

.services-grid {
  margin-top: 28px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.service-card {
  padding: 24px;
  border-radius: 18px;
  border: 1px solid #dae4f0;
  background: linear-gradient(175deg, #ffffff, #f6f9fd);
  box-shadow: 0 12px 26px rgba(15, 23, 42, 0.06);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.service-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 28px rgba(15, 23, 42, 0.1);
}

.service-card h3 {
  margin-top: 0;
  margin-bottom: 10px;
  font-size: 1.08rem;
}

.service-icon {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  margin-bottom: 14px;
  background: linear-gradient(135deg, rgba(10, 102, 194, 0.12), rgba(15, 180, 147, 0.16));
  color: var(--primary-dark);
  font-size: 1.1rem;
}

.service-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.project-panel {
  background: linear-gradient(150deg, #ffffff, #f5f9ff);
}

.project-card {
  margin-top: 22px;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 22px;
  align-items: center;
}

.project-card img {
  width: 100%;
  border-radius: 16px;
  border: 1px solid #dce7f3;
}

.project-card h3 {
  margin: 0;
  font-size: 1.2rem;
}

.project-card p {
  color: var(--muted);
  line-height: 1.7;
  margin: 10px 0 16px;
}

.contact-block {
  text-align: center;
  border-radius: 24px;
  border: 1px solid var(--line);
  background: linear-gradient(140deg, #0b2037, #10304f);
  color: #e6f0ff;
  padding: clamp(28px, 4vw, 56px);
  box-shadow: 0 16px 34px rgba(11, 22, 44, 0.3);
}

.contact-block .section-kicker {
  color: #61f0cf;
}

.contact-block h2 {
  margin: 8px 0 12px;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
}

.contact-block p {
  color: #bfd0e3;
  margin: 0 auto 20px;
  max-width: 62ch;
  line-height: 1.7;
}

.footer {
  border-top: 1px solid var(--line);
  margin-top: 30px;
  color: #5b6575;
  background: rgba(255, 255, 255, 0.62);
}

.topnav {
  position: relative;
}

.menu-links {
  display: flex;
  align-items: center;
  gap: 6px;
}

.menu-link {
  display: block;
  text-align: center;
  color: #233146;
  padding: 13px 14px;
  text-decoration: none;
  font-size: 0.96rem;
  font-weight: 700;
  border-radius: 10px;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.menu-link:hover {
  background-color: #edf4fc;
  color: var(--primary);
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid #d6e1ef;
  border-radius: 10px;
  background: #ffffff;
  padding: 8px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}

.menu-toggle span {
  width: 18px;
  height: 2px;
  background: #1f2f46;
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.topnav.is-open .menu-toggle span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.topnav.is-open .menu-toggle span:nth-child(2) {
  opacity: 0;
}

.topnav.is-open .menu-toggle span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.reveal {
  animation: rise 0.8s ease both;
}

.reveal-delay {
  animation: rise 1s ease both;
}

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

@media screen and (max-width: 980px) {
  .hero-grid,
  .about-layout,
  .project-card,
  .services-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 52px;
  }

  .floating-card {
    position: static;
    margin-top: 14px;
    width: 100%;
  }

  .service-card {
    padding: 20px;
  }

  .section-space {
    padding: 54px 0;
  }
}

@media screen and (max-width: 700px) {
  .menu-toggle {
    display: inline-flex;
  }

  .menu-links {
    display: none;
    flex-direction: column;
    align-items: stretch;
    position: absolute;
    right: 0;
    top: calc(100% + 10px);
    min-width: 220px;
    padding: 10px;
    border-radius: 14px;
    border: 1px solid #d6e1ef;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 14px 28px rgba(15, 23, 42, 0.16);
    z-index: 60;
  }

  .topnav.is-open .menu-links {
    display: flex;
  }

  .menu-link {
    text-align: left;
    padding: 10px 12px;
  }
}
