:root {
  --bg: #f6f2e9;
  --bg-soft: #fffdf7;
  --text: #171616;
  --muted: #5b5852;
  --line: #d6cfc3;
  --accent: #cb4d2b;
  --accent-2: #1f7a6a;
  --surface: rgba(255, 251, 240, 0.92);
  --shadow: 0 20px 40px rgba(53, 36, 16, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Manrope", "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(65rem 65rem at -20% -20%, rgba(31, 122, 106, 0.13), transparent 65%),
    radial-gradient(60rem 60rem at 120% 15%, rgba(203, 77, 43, 0.16), transparent 58%),
    linear-gradient(180deg, #fbf8f2 0%, var(--bg) 46%, #f4efe5 100%);
  min-height: 100vh;
}

.bg-shape {
  position: fixed;
  width: 22rem;
  height: 22rem;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.35;
  z-index: -1;
}

.bg-shape--left {
  background: #1f7a6a;
  left: -8rem;
  top: 20%;
}

.bg-shape--right {
  background: #cb4d2b;
  right: -8rem;
  top: 5%;
}

.container {
  width: min(1120px, 92vw);
  margin: 0 auto;
}

.header {
  position: sticky;
  top: 0;
  backdrop-filter: blur(8px);
  background: rgba(246, 242, 233, 0.8);
  border-bottom: 1px solid rgba(214, 207, 195, 0.5);
  z-index: 50;
}

.header__row {
  min-height: auto;
  display: grid;
  grid-template-columns: 1fr auto auto;
  grid-template-areas:
    "brand lang cta"
    "nav nav nav";
  align-items: center;
  gap: 0.55rem 0.8rem;
  padding: 0.7rem 0 0.55rem;
}

.brand {
  grid-area: brand;
  font-family: "Oswald", sans-serif;
  font-size: 1.3rem;
  letter-spacing: 0.04em;
  color: var(--text);
  text-decoration: none;
}

#headerCta {
  grid-area: cta;
}

.lang-toggle {
  grid-area: lang;
  display: inline-flex;
  align-items: center;
  gap: 0.2rem;
  border: 1px solid rgba(23, 22, 22, 0.18);
  border-radius: 999px;
  padding: 0.2rem;
  background: rgba(255, 251, 240, 0.78);
}

.lang-toggle__btn {
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  font-weight: 800;
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  padding: 0.28rem 0.55rem;
  cursor: pointer;
  transition: background 180ms ease, color 180ms ease;
}

.lang-toggle__btn:hover {
  color: var(--text);
}

.lang-toggle__btn.is-active {
  background: #171616;
  color: #fff;
}

.nav {
  grid-area: nav;
  width: 100%;
  display: flex;
  gap: 0.55rem;
  flex-wrap: nowrap;
  overflow-x: auto;
  white-space: nowrap;
  scrollbar-width: thin;
  padding-bottom: 0.2rem;
}

.nav a,
.footer a {
  color: var(--text);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.83rem;
  transition: color 180ms ease, border-color 180ms ease, background 180ms ease;
}

.nav a {
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(23, 22, 22, 0.16);
  border-radius: 999px;
  padding: 0.28rem 0.62rem;
  background: rgba(255, 251, 240, 0.78);
}

.nav a:hover,
.footer a:hover {
  color: var(--accent);
}

.nav a:hover {
  border-color: rgba(203, 77, 43, 0.38);
  background: rgba(203, 77, 43, 0.08);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 0.82rem 1.3rem;
  text-decoration: none;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(135deg, var(--accent), #df6b3c);
  box-shadow: 0 10px 24px rgba(203, 77, 43, 0.3);
  transition: transform 180ms ease, box-shadow 180ms ease, filter 180ms ease;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 28px rgba(203, 77, 43, 0.35);
  filter: saturate(112%);
}

.btn--small {
  font-size: 0.9rem;
  padding: 0.55rem 1rem;
}

.btn--ghost {
  background: transparent;
  border-color: rgba(23, 22, 22, 0.18);
  box-shadow: none;
  color: var(--text);
}

.hero {
  padding: 6rem 0 5rem;
}

.hero__grid {
  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
  gap: 2rem;
  align-items: end;
}

.hero__kicker,
.section__kicker {
  margin: 0;
  font-size: 0.84rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent-2);
  font-weight: 800;
}

.hero__title {
  margin: 0.6rem 0 0;
  font-family: "Oswald", sans-serif;
  font-size: clamp(2.2rem, 6.2vw, 4.8rem);
  line-height: 0.95;
  letter-spacing: 0.02em;
  max-width: 14ch;
}

.hero__subtitle {
  margin-top: 1.2rem;
  color: var(--muted);
  font-size: clamp(1.02rem, 2.4vw, 1.28rem);
  line-height: 1.6;
  max-width: 60ch;
}

.hero__cta {
  margin-top: 1.6rem;
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
}

.hero-card {
  background: var(--surface);
  border: 1px solid rgba(214, 207, 195, 0.8);
  box-shadow: var(--shadow);
  border-radius: 1.2rem;
  padding: 1.4rem;
}

.hero-card h2 {
  margin: 0;
  font-family: "Oswald", sans-serif;
  font-size: 1.45rem;
}

.hero-card p {
  margin: 0.7rem 0 0;
  color: var(--muted);
  line-height: 1.5;
}

.hero-card__list {
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.6rem;
}

.hero-card__list li {
  padding-left: 1rem;
  position: relative;
  font-weight: 600;
}

.hero-card__list li::before {
  content: "";
  position: absolute;
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 999px;
  left: 0;
  top: 0.45rem;
  background: var(--accent);
}

.section {
  padding: 4.4rem 0;
}

.section--dense {
  padding: 4rem 0 4.8rem;
}

.section--accent {
  background: linear-gradient(180deg, rgba(255, 252, 245, 0.78), rgba(247, 241, 233, 0.92));
  border-top: 1px solid rgba(214, 207, 195, 0.6);
  border-bottom: 1px solid rgba(214, 207, 195, 0.6);
}

.section__grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 2rem;
}

.section__head h2,
.section__grid h2,
.contact h2 {
  margin: 0.5rem 0 0;
  font-family: "Oswald", sans-serif;
  font-size: clamp(1.7rem, 4vw, 2.5rem);
  line-height: 1.1;
}

.section__body p {
  margin: 0;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.75;
}

.stats {
  margin-top: 1.6rem;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.stat {
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 1rem;
  padding: 1.1rem;
  box-shadow: 0 10px 30px rgba(23, 22, 22, 0.05);
}

.stat__value {
  font-family: "Oswald", sans-serif;
  font-size: 2rem;
  line-height: 1;
  margin: 0;
}

.stat__label {
  margin: 0.45rem 0 0;
  color: var(--muted);
  font-weight: 600;
  font-size: 0.93rem;
}
.competition-grid {
  margin-top: 1.4rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.competition-card {
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 1rem;
  padding: 1.15rem;
  box-shadow: 0 10px 30px rgba(23, 22, 22, 0.05);
}

.competition-card h3 {
  margin: 0.2rem 0 0;
  font-family: "Oswald", sans-serif;
  font-size: 1.2rem;
  line-height: 1.15;
}

.competition-card__result {
  margin: 0.6rem 0 0;
  font-weight: 800;
  color: #1b1a19;
}

.competition-card__team {
  margin: 0.35rem 0 0;
  font-weight: 700;
  color: var(--accent-2);
}

.competition-card__desc {
  margin: 0.45rem 0 0;
  color: var(--muted);
  line-height: 1.5;
}
.stack-groups {
  margin-top: 1.4rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.stack-card {
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 1rem;
  padding: 1.05rem;
  box-shadow: 0 10px 30px rgba(23, 22, 22, 0.05);
}

.stack-card h3 {
  margin: 0;
  font-family: "Oswald", sans-serif;
  font-size: 1.12rem;
  line-height: 1.2;
}

.stack-tags {
  margin-top: 0.8rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.stack-chip {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  border: 1px solid rgba(23, 22, 22, 0.16);
  padding: 0.26rem 0.64rem;
  font-size: 0.79rem;
  font-weight: 800;
}

.stack-chip--prod {
  border-color: rgba(31, 122, 106, 0.45);
  color: #14554a;
  background: rgba(31, 122, 106, 0.11);
}

.stack-chip--project {
  border-color: rgba(203, 77, 43, 0.45);
  color: #8f331d;
  background: rgba(203, 77, 43, 0.1);
}

.stack-note {
  margin: 1rem 0 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.5;
}

.cards {
  margin-top: 1.4rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.card {
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 1rem;
  padding: 1.15rem;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  box-shadow: 0 10px 30px rgba(23, 22, 22, 0.05);
}

.card h3 {
  margin: 0;
  font-family: "Oswald", sans-serif;
  font-size: 1.32rem;
  line-height: 1.1;
}

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

.card__result {
  color: #1b1a19;
  font-weight: 800;
}

.card__stack {
  display: flex;
  gap: 0.45rem;
  flex-wrap: wrap;
}

.card__stack span {
  border: 1px solid rgba(23, 22, 22, 0.2);
  border-radius: 999px;
  padding: 0.25rem 0.6rem;
  font-size: 0.8rem;
  font-weight: 700;
  color: #2a2824;
}

.card__link {
  margin-top: auto;
  font-weight: 800;
  text-decoration: none;
  color: var(--accent-2);
}

.card__link:hover {
  color: var(--accent);
}
.proofs {
  margin-top: 1.4rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.proof {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  text-decoration: none;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 1rem;
  padding: 1rem;
  color: var(--text);
  box-shadow: 0 10px 30px rgba(23, 22, 22, 0.05);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.proof:hover {
  transform: translateY(-2px);
  border-color: rgba(31, 122, 106, 0.45);
  box-shadow: 0 14px 30px rgba(31, 122, 106, 0.15);
}

.proof__title {
  font-weight: 800;
  line-height: 1.35;
}

.proof__meta {
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.4;
}

.skills {
  margin-top: 1.4rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.skill {
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 1rem;
  padding: 1rem;
}

.skill__head {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: baseline;
}

.skill__name {
  margin: 0;
  font-weight: 800;
}

.skill__level {
  margin: 0;
  font-size: 0.83rem;
  color: var(--muted);
  font-weight: 700;
}

.skill__bar {
  height: 0.48rem;
  margin-top: 0.65rem;
  background: rgba(23, 22, 22, 0.12);
  border-radius: 999px;
  overflow: hidden;
}

.skill__bar span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--accent-2), #32a086);
}

.timeline {
  margin: 1.25rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.8rem;
}

.timeline li {
  padding: 0.95rem 1rem;
  border: 1px solid var(--line);
  border-radius: 0.8rem;
  background: var(--bg-soft);
}

.timeline__meta {
  margin: 0;
  font-size: 0.83rem;
  color: var(--muted);
  font-weight: 700;
}

.timeline__title {
  margin: 0.32rem 0 0;
  font-size: 1rem;
  font-weight: 800;
}

.timeline__desc {
  margin: 0.35rem 0 0;
  font-size: 0.93rem;
  color: var(--muted);
  line-height: 1.45;
}

.contact {
  padding-bottom: 5.3rem;
}

.contact__box {
  background: linear-gradient(135deg, #fef7ec, #fff9f0);
  border: 1px solid var(--line);
  border-radius: 1.2rem;
  padding: clamp(1.2rem, 3vw, 2rem);
  box-shadow: var(--shadow);
}

.contact p {
  margin: 0.7rem 0 0;
  color: var(--muted);
  line-height: 1.6;
}

.contact__actions {
  margin-top: 1.3rem;
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
}

.footer {
  border-top: 1px solid rgba(214, 207, 195, 0.8);
  padding: 1.1rem 0 1.4rem;
}

.footer__row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer__row p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 520ms ease, transform 520ms ease;
}

.reveal-delay-1 {
  transition-delay: 100ms;
}

.reveal-delay-2 {
  transition-delay: 180ms;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1040px) {
  .hero__grid,
  .section__grid {
    grid-template-columns: 1fr;
  }

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

  .competition-grid,
  .stack-groups,
  .cards,
  .skills {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

@media (max-width: 760px) {
  .header__row {
    min-height: auto;
    grid-template-columns: 1fr auto;
    grid-template-areas:
      "brand lang"
      "nav nav";
    padding: 0.55rem 0;
    gap: 0.5rem;
  }

  #headerCta {
    display: none;
  }

  .nav {
    width: 100%;
    overflow-x: auto;
    white-space: nowrap;
    padding-bottom: 0.35rem;
  }

  .hero {
    padding-top: 4.8rem;
  }

  .stats,
  .competition-grid,
  .stack-groups,
  .cards,
  .skills,
  .proofs {
    grid-template-columns: 1fr;
  }

  .btn {
    width: 100%;
  }

  .hero__cta,
  .contact__actions {
    width: 100%;
  }

  .footer__row {
    justify-content: flex-start;
  }
}






