:root {
  color-scheme: dark;
  --bg: #071014;
  --panel: #0d1b21;
  --panel-strong: #13272e;
  --text: #edf7f6;
  --muted: #a7b9b8;
  --line: rgba(237, 247, 246, 0.14);
  --cyan: #33d5ee;
  --green: #79e6a7;
  --amber: #f4b862;
  --rose: #e986a6;
  --shadow: rgba(0, 0, 0, 0.36);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
}

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  align-items: center;
  backdrop-filter: blur(18px);
  background: rgba(7, 16, 20, 0.78);
  border-bottom: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  left: 0;
  min-height: 72px;
  padding: 0 32px;
  position: fixed;
  right: 0;
  top: 0;
  z-index: 20;
}

.brand,
.nav,
.hero-actions,
.language-switch,
.site-footer {
  align-items: center;
  display: flex;
}

.brand {
  font-weight: 800;
  gap: 10px;
}

.brand-mark {
  border-radius: 7px;
  height: 34px;
  object-fit: contain;
  width: 34px;
}

.nav {
  color: var(--muted);
  font-size: 0.94rem;
  gap: 22px;
}

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

.language-switch {
  background: rgba(237, 247, 246, 0.06);
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 900;
  gap: 2px;
  margin-left: 20px;
  padding: 4px;
}

.language-switch a,
.language-switch span {
  border-radius: 999px;
  line-height: 1;
  padding: 8px 10px;
}

.language-switch a:hover,
.language-switch span {
  background: rgba(237, 247, 246, 0.1);
  color: var(--text);
}

.hero {
  display: grid;
  min-height: 92vh;
  overflow: hidden;
  padding: 168px 32px 88px;
  place-items: center start;
  position: relative;
}

.hero-media,
.hero-overlay {
  inset: 0;
  position: absolute;
}

.hero-media {
  background-image: url("assets/cloud-ai-hero.png");
  background-position: center;
  background-size: cover;
  filter: saturate(0.96);
  transform: scale(1.01);
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(7, 16, 20, 0.98) 0%, rgba(7, 16, 20, 0.78) 39%, rgba(7, 16, 20, 0.24) 72%),
    linear-gradient(180deg, rgba(7, 16, 20, 0.35), rgba(7, 16, 20, 0.9));
}

.hero-content {
  max-width: 780px;
  position: relative;
  width: min(100%, 780px);
  z-index: 2;
}

.eyebrow {
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  margin: 0 0 18px;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  font-size: clamp(3rem, 7vw, 6.8rem);
  line-height: 0.96;
  margin-bottom: 28px;
  max-width: 960px;
}

h2 {
  font-size: clamp(2rem, 4vw, 4.2rem);
  line-height: 1.02;
  margin-bottom: 0;
}

h3 {
  font-size: 1.15rem;
  margin-bottom: 0;
}

p {
  color: var(--muted);
  font-size: 1.04rem;
  line-height: 1.7;
}

.hero-copy {
  color: #dceceb;
  font-size: clamp(1.08rem, 2vw, 1.34rem);
  max-width: 720px;
}

.hero-actions {
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.button {
  border: 1px solid var(--line);
  border-radius: 7px;
  display: inline-flex;
  font-weight: 800;
  justify-content: center;
  min-height: 48px;
  min-width: 154px;
  padding: 14px 20px;
}

.button.primary {
  background: var(--cyan);
  border-color: transparent;
  color: #061014;
}

.button.secondary {
  background: rgba(237, 247, 246, 0.08);
  color: var(--text);
}

.band,
.capability-grid,
.hosting {
  padding: 96px 32px;
}

.intro,
.workflow,
.closing {
  display: grid;
  gap: 42px;
  grid-template-columns: minmax(240px, 0.9fr) minmax(280px, 1.1fr);
  margin: 0 auto;
  max-width: 1180px;
}

.intro p,
.closing p {
  font-size: 1.18rem;
}

.capability-grid {
  display: grid;
  gap: 1px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 0 auto;
  max-width: 1240px;
}

.capability {
  background: var(--panel);
  border: 1px solid var(--line);
  min-height: 360px;
  padding: 30px;
}

.capability-number {
  color: var(--amber);
  display: block;
  font-weight: 900;
  margin-bottom: 80px;
}

.capability h2 {
  font-size: clamp(1.4rem, 2vw, 2rem);
  line-height: 1.08;
  margin-bottom: 18px;
}

.steps {
  display: grid;
  gap: 16px;
}

.step {
  border-top: 1px solid var(--line);
  display: grid;
  gap: 20px;
  grid-template-columns: 120px 1fr;
  padding-top: 22px;
}

.step span {
  color: var(--cyan);
  font-weight: 900;
}

.step p {
  margin-bottom: 0;
}

.hosting {
  background:
    linear-gradient(135deg, rgba(51, 213, 238, 0.08), transparent 36%),
    linear-gradient(315deg, rgba(233, 134, 166, 0.08), transparent 34%),
    var(--panel-strong);
  display: grid;
  gap: 54px;
  grid-template-columns: minmax(300px, 0.95fr) minmax(320px, 1.05fr);
}

.hosting-copy {
  align-self: center;
  justify-self: end;
  max-width: 620px;
}

.calculator {
  background: rgba(7, 16, 20, 0.68);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 24px 70px var(--shadow);
  display: grid;
  gap: 28px;
  max-width: 620px;
  padding: 28px;
  width: 100%;
}

.calculator-header,
.calculator label,
.estimate-breakdown {
  display: grid;
}

.calculator-header {
  align-items: center;
  gap: 16px;
  grid-template-columns: 1fr auto;
}

#monthly-cost {
  color: var(--green);
  font-size: clamp(2rem, 5vw, 4rem);
  font-weight: 900;
}

.calculator label {
  gap: 12px;
}

.calculator label span {
  color: var(--muted);
  font-weight: 700;
}

.calculator label strong {
  color: var(--text);
}

input[type="range"] {
  accent-color: var(--cyan);
  width: 100%;
}

.estimate-breakdown {
  border-top: 1px solid var(--line);
  color: var(--muted);
  gap: 12px 18px;
  grid-template-columns: 1fr auto;
  padding-top: 22px;
}

.estimate-breakdown strong {
  color: var(--text);
}

.closing {
  border-bottom: 1px solid var(--line);
}

.page-hero {
  background:
    linear-gradient(90deg, rgba(7, 16, 20, 0.98), rgba(7, 16, 20, 0.76)),
    url("assets/cloud-ai-hero.png") center / cover;
  display: grid;
  min-height: 54vh;
  padding: 150px max(32px, calc((100vw - 1180px) / 2 + 32px)) 68px;
  place-items: end start;
}

.page-hero-inner {
  max-width: 820px;
}

.page-shell {
  display: grid;
  gap: 26px;
  margin: 0 auto;
  max-width: 1180px;
  padding: 72px 32px 112px;
}

.pricing-grid,
.contact-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.pricing-card,
.contact-card {
  background:
    linear-gradient(180deg, rgba(237, 247, 246, 0.045), rgba(237, 247, 246, 0.018)),
    rgba(13, 27, 33, 0.62);
  border: 1px solid var(--line);
  border-radius: 8px;
  display: grid;
  gap: 18px;
  padding: 26px;
}

.pricing-card.featured {
  background:
    linear-gradient(135deg, rgba(51, 213, 238, 0.11), transparent 46%),
    rgba(13, 27, 33, 0.74);
}

.pricing-card h2,
.contact-card h2 {
  font-size: clamp(1.35rem, 2.3vw, 2rem);
  line-height: 1.1;
}

.price {
  color: var(--green);
  font-size: clamp(1.65rem, 3vw, 2.65rem);
  font-weight: 900;
  line-height: 1.08;
  overflow-wrap: anywhere;
}

.pricing-card ul,
.contact-card ul {
  color: var(--muted);
  display: grid;
  gap: 10px;
  line-height: 1.6;
  margin: 0;
  padding-left: 20px;
}

.contact-grid {
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
}

.contact-card.primary-contact {
  background:
    linear-gradient(135deg, rgba(121, 230, 167, 0.12), transparent 42%),
    rgba(19, 39, 46, 0.86);
}

.email-link {
  color: var(--text);
  font-size: clamp(1.05rem, 2vw, 1.55rem);
  font-weight: 900;
  line-height: 1.2;
  overflow-wrap: anywhere;
}

.page-note {
  border-top: 1px solid var(--line);
  color: var(--muted);
  margin: 0;
  padding-top: 22px;
}

.site-footer {
  color: var(--muted);
  gap: 16px;
  justify-content: space-between;
  min-height: 86px;
  padding: 0 32px;
}

.site-footer span:first-child {
  color: var(--text);
  font-weight: 900;
}

.cv-hero {
  background:
    linear-gradient(90deg, rgba(7, 16, 20, 0.98) 0%, rgba(7, 16, 20, 0.82) 48%, rgba(7, 16, 20, 0.55) 100%),
    url("assets/cloud-ai-hero.png") center / cover;
  display: grid;
  gap: 44px;
  min-height: 72vh;
  padding: 158px 32px 54px;
}

.cv-hero-inner {
  align-items: end;
  display: grid;
  gap: 40px;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
  margin: 0 auto;
  max-width: 1240px;
  width: 100%;
}

.cv-hero-copy h1 {
  max-width: 920px;
}

.cv-hero-card {
  background: rgba(13, 27, 33, 0.72);
  border: 1px solid rgba(237, 247, 246, 0.18);
  border-radius: 8px;
  box-shadow: 0 24px 70px var(--shadow);
  display: grid;
  gap: 12px;
  padding: 26px;
}

.cv-hero-card span,
.project-list.modern article span {
  color: var(--amber);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.cv-hero-card strong {
  font-size: 1.35rem;
  line-height: 1.15;
}

.cv-hero-card p {
  margin-bottom: 0;
}

.cv-proof {
  display: grid;
  gap: 1px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0 auto;
  max-width: 1240px;
  width: 100%;
}

.cv-proof div {
  background: rgba(237, 247, 246, 0.08);
  border: 1px solid var(--line);
  display: grid;
  gap: 8px;
  min-height: 132px;
  padding: 24px;
}

.cv-proof strong {
  color: var(--text);
  font-size: clamp(1.4rem, 3vw, 2.25rem);
  line-height: 1;
}

.cv-proof span {
  color: var(--muted);
  line-height: 1.45;
}

.cv-page {
  display: grid;
  gap: 78px;
  margin: 0 auto;
  max-width: 1240px;
  padding: 88px 32px 112px;
}

.cv-intro {
  align-items: start;
  display: grid;
  gap: 46px;
  grid-template-columns: minmax(280px, 0.8fr) minmax(320px, 1.2fr);
}

.cv-intro p:last-child {
  font-size: 1.18rem;
}

.cv-band,
.cv-panel,
.cv-footer-grid article {
  background: rgba(13, 27, 33, 0.72);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.cv-band {
  display: grid;
  gap: 34px;
  padding: 34px;
}

.project-list.modern {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.project-list.modern article {
  background: rgba(7, 16, 20, 0.58);
  border: 1px solid var(--line);
  border-radius: 8px;
  display: grid;
  gap: 14px;
  min-height: 315px;
  padding: 22px;
}

.project-list.modern h3,
.timeline h3,
.skill-stack h3,
.cv-footer-grid h2 {
  font-size: 1.08rem;
  line-height: 1.2;
  margin-bottom: 0;
}

.project-list.modern p,
.timeline p,
.skill-stack p,
.cv-footer-grid p {
  font-size: 0.98rem;
  margin-bottom: 0;
}

.cv-grid-section {
  display: grid;
  gap: 24px;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
}

.cv-panel {
  display: grid;
  gap: 26px;
  padding: 30px;
}

.cv-panel.accent {
  background:
    linear-gradient(135deg, rgba(121, 230, 167, 0.12), transparent 42%),
    rgba(19, 39, 46, 0.86);
}

.timeline,
.skill-stack {
  display: grid;
  gap: 14px;
}

.timeline article {
  border-left: 2px solid rgba(51, 213, 238, 0.56);
  display: grid;
  gap: 8px;
  padding-left: 18px;
}

.timeline article span {
  color: var(--amber);
  font-size: 0.84rem;
  font-weight: 900;
}

.skill-stack div {
  border-top: 1px solid var(--line);
  display: grid;
  gap: 8px;
  padding-top: 18px;
}

.cv-footer-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.cv-footer-grid article {
  display: grid;
  gap: 12px;
  min-height: 210px;
  padding: 24px;
}

.cv-doc-hero {
  align-items: end;
  background:
    linear-gradient(90deg, rgba(7, 16, 20, 0.98), rgba(7, 16, 20, 0.74)),
    url("assets/cloud-ai-hero.png") center / cover;
  display: grid;
  gap: 32px;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 390px);
  min-height: 66vh;
  padding: 158px max(32px, calc((100vw - 1280px) / 2 + 32px)) 64px;
}

.cv-facts {
  background: rgba(13, 27, 33, 0.72);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 24px 70px var(--shadow);
  display: grid;
  gap: 1px;
  margin: 0;
  overflow: hidden;
}

.cv-facts div {
  background: rgba(237, 247, 246, 0.05);
  display: grid;
  gap: 7px;
  padding: 18px;
}

.cv-facts dt {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.cv-facts dd {
  color: var(--text);
  font-size: 1.08rem;
  font-weight: 900;
  margin: 0;
}

.cv-document {
  align-items: start;
  display: grid;
  gap: 28px;
  grid-template-columns: 220px minmax(0, 1fr);
  margin: 0 auto;
  max-width: 1280px;
  padding: 72px 32px 112px;
}

.cv-toc {
  background: rgba(13, 27, 33, 0.72);
  border: 1px solid var(--line);
  border-radius: 8px;
  display: grid;
  gap: 4px;
  padding: 12px;
  position: sticky;
  top: 96px;
}

.cv-toc a {
  border-radius: 6px;
  color: var(--muted);
  font-size: 0.93rem;
  font-weight: 800;
  padding: 10px 12px;
}

.cv-toc a:hover {
  background: rgba(237, 247, 246, 0.08);
  color: var(--text);
}

.cv-paper {
  display: grid;
  gap: 24px;
}

.cv-block {
  background:
    linear-gradient(180deg, rgba(237, 247, 246, 0.045), rgba(237, 247, 246, 0.018)),
    rgba(13, 27, 33, 0.62);
  border: 1px solid var(--line);
  border-radius: 8px;
  display: grid;
  gap: 24px;
  padding: 30px;
}

.cv-block + .cv-block {
  border-top: 1px solid var(--line);
}

.cv-block h2 {
  font-size: clamp(1.45rem, 2.2vw, 2.25rem);
  max-width: 760px;
}

.cv-text-stack {
  display: grid;
  gap: 1px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.cv-text-stack p {
  background: rgba(7, 16, 20, 0.42);
  border: 1px solid var(--line);
  padding: 20px;
  margin-bottom: 0;
}

.cv-skill-grid,
.cv-list-grid {
  display: grid;
  gap: 16px;
}

.cv-skill-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.cv-list-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.cv-skill-grid article,
.cv-list-grid article {
  background: rgba(7, 16, 20, 0.48);
  border: 1px solid var(--line);
  border-radius: 8px;
  align-content: start;
  display: grid;
  gap: 12px;
  min-height: 180px;
  padding: 20px;
}

.cv-skill-grid article {
  background:
    linear-gradient(135deg, rgba(51, 213, 238, 0.07), transparent 44%),
    rgba(7, 16, 20, 0.52);
  min-height: 230px;
}

.cv-skill-grid article span {
  color: var(--amber);
  font-size: 0.8rem;
  font-weight: 900;
}

.cv-list-grid.compact article {
  min-height: 120px;
}

.cv-skill-grid h3,
.cv-list-grid h3,
.cv-project h3,
.cv-employment h3 {
  font-size: 1.02rem;
  line-height: 1.25;
  margin-bottom: 0;
}

.cv-skill-grid p,
.cv-list-grid p,
.cv-project p {
  font-size: 0.98rem;
  margin-bottom: 0;
}

.cv-projects {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.cv-project {
  background:
    linear-gradient(135deg, rgba(51, 213, 238, 0.06), transparent 42%),
    rgba(7, 16, 20, 0.52);
  border: 1px solid var(--line);
  border-radius: 8px;
  align-content: start;
  display: grid;
  gap: 18px;
  min-height: 330px;
  padding: 24px;
}

.cv-project-head {
  align-items: start;
  display: grid;
  gap: 10px;
  grid-template-columns: 1fr auto;
}

.cv-project-head span,
.cv-employment span {
  color: var(--amber);
  font-size: 0.84rem;
  font-weight: 900;
}

.cv-project-head span {
  background: rgba(244, 184, 98, 0.1);
  border: 1px solid rgba(244, 184, 98, 0.24);
  border-radius: 999px;
  grid-column: 2;
  grid-row: 1 / span 2;
  padding: 7px 10px;
  white-space: nowrap;
}

.cv-project-head h3 {
  grid-column: 1;
}

.cv-project-head p,
.cv-used {
  color: var(--green);
  font-weight: 800;
}

.cv-project-head p {
  grid-column: 1;
}

.cv-used {
  border-top: 1px solid var(--line);
  padding-top: 14px;
}

.cv-employment {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.cv-employment article {
  align-items: center;
  background: rgba(7, 16, 20, 0.48);
  border: 1px solid var(--line);
  border-radius: 8px;
  display: grid;
  gap: 10px;
  padding: 18px 20px;
}

@media (max-width: 1180px) {
  .cv-skill-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 980px) {
  .site-header {
    padding: 0 20px;
  }

  .nav {
    display: none;
  }

  .language-switch {
    margin-left: auto;
  }

  .hero {
    min-height: 88vh;
    padding: 132px 20px 72px;
  }

  .hero-overlay {
    background:
      linear-gradient(90deg, rgba(7, 16, 20, 0.97), rgba(7, 16, 20, 0.62)),
      linear-gradient(180deg, rgba(7, 16, 20, 0.25), rgba(7, 16, 20, 0.95));
  }

  .band,
  .capability-grid,
  .hosting,
  .cv-page {
    padding: 72px 20px;
  }

  .intro,
  .workflow,
  .closing,
  .hosting,
  .cv-hero-inner,
  .cv-intro,
  .cv-grid-section {
    grid-template-columns: 1fr;
  }

  .cv-hero {
    min-height: auto;
    padding: 132px 20px 40px;
  }

  .cv-proof,
  .project-list.modern,
  .cv-footer-grid,
  .cv-doc-hero,
  .cv-document,
  .pricing-grid,
  .contact-grid,
  .cv-skill-grid,
  .cv-list-grid,
  .cv-text-stack,
  .cv-projects,
  .cv-employment {
    grid-template-columns: 1fr;
  }

  .project-list.modern article,
  .cv-footer-grid article,
  .cv-project,
  .cv-skill-grid article,
  .cv-list-grid article {
    min-height: auto;
  }

  .cv-doc-hero {
    min-height: auto;
    padding: 132px 20px 48px;
  }

  .cv-document {
    padding: 56px 20px 80px;
  }

  .page-hero {
    min-height: auto;
    padding: 132px 20px 48px;
  }

  .page-shell {
    padding: 56px 20px 80px;
  }

  .cv-toc {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    position: static;
  }

  .cv-toc a {
    white-space: nowrap;
  }

  .capability-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hosting-copy {
    justify-self: start;
  }
}

@media (max-width: 640px) {
  .hero {
    min-height: 94vh;
  }

  .hero-media {
    background-position: 58% center;
  }

  .hero-actions,
  .button {
    width: 100%;
  }

  .capability-grid {
    grid-template-columns: 1fr;
  }

  .capability {
    min-height: 280px;
  }

  .capability-number {
    margin-bottom: 52px;
  }

  .step {
    gap: 8px;
    grid-template-columns: 1fr;
  }

  .calculator {
    padding: 20px;
  }

  .calculator-header,
  .estimate-breakdown {
    grid-template-columns: 1fr;
  }

  .cv-page {
    gap: 54px;
  }

  .cv-band,
  .cv-panel,
  .cv-block {
    padding: 22px;
  }

  .cv-employment article {
    align-items: start;
    grid-template-columns: 1fr;
  }

  .cv-project-head {
    grid-template-columns: 1fr;
  }

  .cv-project-head span,
  .cv-project-head h3,
  .cv-project-head p {
    grid-column: auto;
    grid-row: auto;
  }

  .cv-project-head span {
    justify-self: start;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    padding: 22px 20px;
  }
}
