@font-face {
  font-family: "Gilroy";
  src: url("/fonts/Gilroy-Regular_0.ttf?v=6") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Gilroy";
  src: url("/fonts/Gilroy-Medium_0.ttf?v=6") format("truetype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Gilroy";
  src: url("/fonts/Gilroy-Semibold_0.ttf?v=6") format("truetype");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Gilroy";
  src: url("/fonts/Gilroy-Semibold_0.ttf?v=6") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/*
  Portfolio starter.
  Gilroy is referenced by family name but not bundled here.
  Add your licensed webfont files later via @font-face.
*/
:root {
  --bg: #f7f7f5;
  --text: #111318;
  --muted: #6e7480;
  --muted-2: #8a909a;
  --line: #e4e5e3;
  --blue: #315efb;
  --blue-soft: #e5ecff;
  --card: #eef1f7;
  --dark: #151a24;
  --white: #fff;
  --radius-lg: 36px;
  --radius-md: 22px;
  --shell: 1240px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Gilroy", "Manrope", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
button, a { -webkit-tap-highlight-color: transparent; }

.shell {
  width: min(var(--shell), calc(100% - 80px));
  margin-inline: auto;
}

.site-header {
  height: 93px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  border-bottom: 1px solid var(--line);
  position: relative;
}
.brand-group { display: flex; align-items: center; gap: 26px; }
.brand-mark { font-size: 22px; font-weight: 700; }
.brand-caption { font-size: 13px; font-weight: 500; color: #515762; }
.desktop-nav { display: flex; gap: 42px; font-size: 13px; font-weight: 500; }
.desktop-nav a:hover, .service-nav a:hover { color: var(--blue); }
.service-nav { justify-self: end; display: flex; align-items: center; gap: 28px; font-size: 13px; font-weight: 500; }
.lang-switch { display: flex; align-items: center; gap: 6px; }
.lang-switch .active { color: var(--blue); }
.menu-button, .mobile-menu { display: none; }

.hero { padding: 64px 0 52px; }
.eyebrow, .section-kicker {
  color: var(--muted);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: .01em;
}
.hero h1 {
  margin: 35px 0 0;
  font-size: clamp(56px, 5.28vw, 76px);
  line-height: 1.08;
  letter-spacing: -.025em;
  font-weight: 600;
  max-width: 1240px;
}
.hero-lead {
  margin: 18px 0 0;
  max-width: 1240px;
  font-size: clamp(30px, 2.78vw, 40px);
  line-height: 1.2;
  letter-spacing: -.015em;
  font-weight: 600;
}
.hero-lead span { color: var(--blue); }
.hero-footer {
  margin-top: 166px;
  display: flex;
  justify-content: space-between;
  gap: 36px;
  align-items: end;
}
.location { font-size: 16px; font-weight: 500; }
.skills { margin-top: 9px; color: var(--muted); font-size: 16px; }
.primary-button {
  min-width: 270px;
  height: 62px;
  padding: 0 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: var(--blue);
  color: var(--white);
  font-size: 16px;
  font-weight: 600;
  transition: transform .18s ease, opacity .18s ease;
}
.primary-button:hover { transform: translateY(-2px); }

.section-rule { border-top: 1px solid var(--line); }
.projects { padding: 72px 0 70px; }
.section-heading-row {
  margin: 28px 0 48px;
  display: grid;
  grid-template-columns: 1fr 520px;
  align-items: start;
  gap: 40px;
}
.section-heading-row h2, .about h2, .contact h2 { margin: 0; font-weight: 600; letter-spacing: -.02em; }
.section-heading-row h2 { font-size: 48px; line-height: 1.15; }
.section-heading-row p { margin: 8px 0 0; color: var(--muted); font-size: 18px; line-height: 1.55; }

.project-card { border-radius: var(--radius-lg); overflow: hidden; }
.project-featured {
  min-height: 600px;
  padding: 40px;
  background: var(--blue-soft);
  display: grid;
  grid-template-columns: 470px 1fr;
  gap: 40px;
  align-items: center;
}
.project-copy h3, .compact-card h3, .catalog-card h3 {
  margin: 16px 0 0;
  font-weight: 600;
  letter-spacing: -.02em;
}
.project-copy h3 { font-size: 50px; line-height: 1.12; }
.project-index { color: var(--blue); font-size: 14px; font-weight: 500; }
.project-meta { margin-top: 34px; color: var(--muted); font-size: 16px; }
.project-copy > p { margin: 14px 0 0; font-size: 19px; line-height: 1.58; color: #333844; }
.case-button {
  margin-top: 46px;
  min-height: 44px;
  padding: 0 24px;
  width: max-content;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: var(--white);
  font-size: 14px;
  font-weight: 600;
  transition: transform .18s ease;
}
.case-button:hover { transform: translateX(3px); }

.browser-mock {
  height: 470px;
  max-width: 630px;
  justify-self: end;
  width: 100%;
  background: white;
  border-radius: 22px;
  overflow: hidden;
}
.browser-top { height: 42px; background: #f4f6fa; display: flex; gap: 10px; align-items: center; padding-left: 20px; }
.browser-top i { width: 7px; height: 7px; border-radius: 50%; background: #ff6b6b; }
.browser-top i:nth-child(2) { background: #ffcd57; }
.browser-top i:nth-child(3) { background: #4ccb74; }
.browser-body { display: grid; grid-template-columns: 126px 1fr; gap: 34px; padding: 24px 20px 30px; }
.mock-sidebar { height: 374px; border-radius: 14px; background: #f6f7f9; padding: 24px 20px; display: flex; flex-direction: column; gap: 26px; font-size: 11px; color: #747b86; }
.mock-sidebar strong { color: var(--text); font-size: 12px; }
.mock-sidebar .active-line { color: var(--blue); font-weight: 600; }
.mock-content { padding-top: 6px; }
.mock-content h4 { margin: 0 0 18px; font-size: 24px; }
.search-placeholder { height: 46px; border-radius: 12px; background: #f6f7fa; margin-bottom: 18px; }
.list-row { height: 46px; border: 1px solid #e7e9ee; border-radius: 10px; margin-bottom: 12px; display: flex; align-items: center; gap: 14px; padding: 0 16px; }
.list-row b { width: 70px; height: 8px; border-radius: 4px; background: #c9d5ff; }
.list-row em { width: 132px; height: 8px; border-radius: 4px; background: #e4e7ed; }
.list-row small { margin-left: auto; width: 96px; height: 16px; border-radius: 8px; background: #eef2ff; }

.project-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; margin-top: 40px; }
.compact-card { min-height: 540px; padding: 40px; background: var(--card); display: flex; flex-direction: column; }
.compact-card h3 { font-size: 44px; line-height: 1.12; }
.compact-card .project-meta { margin-top: 10px; font-size: 15px; }
.compact-card .case-button { margin-top: 20px; }
.mobile-only-copy { display: none; }
.order-mock, .qa-mock { margin-top: auto; height: 238px; background: white; border-radius: 18px; padding: 24px 26px; }
.order-head { display: flex; flex-direction: column; gap: 6px; }
.order-head strong { font-size: 16px; }
.order-head span { color: var(--muted-2); font-size: 11px; }
.order-row { height: 34px; border-radius: 8px; background: linear-gradient(90deg,#d9dee9 0 25%,#f7f8fa 25% 72%,#eef2ff 72% 100%); margin-top: 12px; }
.qa-mock strong { font-size: 16px; }
.question { margin-top: 20px; height: 54px; border-radius: 10px; background: #f7f8fa; padding: 16px; font-size: 11px; }
.answer { margin-top: 14px; min-height: 78px; border-radius: 10px; background: #f2f6ff; padding: 14px 16px; display: flex; flex-direction: column; gap: 7px; color: #525965; font-size: 11px; }
.answer small { color: var(--blue); font-weight: 500; }

.catalog-card {
  margin-top: 40px;
  min-height: 560px;
  padding: 40px;
  background: var(--dark);
  color: white;
  display: grid;
  grid-template-columns: 530px 1fr;
  align-items: center;
  gap: 50px;
}
.catalog-card .project-index { color: #8ea9ff; }
.catalog-card h3 { font-size: 48px; line-height: 1.16; }
.catalog-card .project-meta { color: #aab2c0; }
.catalog-card p { color: #c9cfd9; }
.catalog-card .case-button { color: var(--text); }
.catalog-mock { justify-self: end; width: min(560px, 100%); height: 410px; background: white; color: var(--text); border-radius: 22px; padding: 28px; }
.catalog-mock h4 { margin: 0 0 18px; font-size: 20px; }
.catalog-search { height: 44px; border-radius: 10px; background: #f6f7f9; margin-bottom: 14px; }
.catalog-row { height: 36px; border: 1px solid #eaecf0; border-radius: 8px; margin-bottom: 10px; }
.catalog-row.selected { background: #eef2ff; border-color: #c8d5ff; }

.about { padding: 72px 0 0; }
.about-grid { margin-top: 28px; display: grid; grid-template-columns: 720px 1fr; gap: 40px; }
.about h2 { font-size: 52px; line-height: 1.15; }
.about-copy { padding-top: 8px; font-size: 18px; line-height: 1.67; color: #555c67; }
.about-copy p { margin: 0 0 24px; }
.contact { padding: 70px 0 100px; }
.contact-panel { min-height: 190px; border-radius: 30px; background: var(--blue); color: white; padding: 40px; display: flex; flex-direction: column; justify-content: space-between; }
.contact h2 { font-size: 34px; }
.contact-links { display: flex; gap: 44px; flex-wrap: wrap; font-size: 16px; font-weight: 500; }

@media (max-width: 1100px) {
  .shell { width: calc(100% - 112px); }
  .brand-caption { font-size: 10px; }
  .desktop-nav { gap: 28px; }
  .hero h1 { font-size: 64px; }
  .hero-lead { font-size: 34px; }
  .hero-footer { margin-top: 120px; }
  .section-heading-row { grid-template-columns: 1fr 320px; }
  .project-featured { grid-template-columns: minmax(0, 1fr) minmax(360px, .9fr); min-height: 640px; }
  .project-copy h3 { font-size: 44px; }
  .project-grid { gap: 24px; }
  .compact-card h3 { font-size: 38px; }
  .catalog-card { grid-template-columns: 1fr 1fr; }
  .catalog-card h3 { font-size: 42px; }
  .about-grid { grid-template-columns: 1fr 340px; }
  .about h2 { font-size: 46px; }
}

@media (max-width: 760px) {
  :root { --radius-lg: 28px; }
  .shell { width: calc(100% - 32px); }
  .site-header { height: 78px; grid-template-columns: 1fr auto; }
  .brand-group { gap: 12px; }
  .brand-mark { font-size: 15px; }
  .brand-caption, .desktop-nav { display: none; }
  .menu-button { display: inline-flex; border: 0; padding: 0; background: transparent; color: var(--text); font-size: 15px; cursor: pointer; }
  .service-nav { gap: 18px; font-size: 12px; }
  .mobile-menu {
    display: none;
    position: absolute;
    z-index: 10;
    top: 66px;
    left: 0;
    right: 0;
    padding: 18px 16px 24px;
    border-radius: 0 0 18px 18px;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    gap: 16px;
    font-size: 18px;
    font-weight: 600;
  }
  .site-header.menu-open .mobile-menu { display: flex; }

  .hero { padding: 58px 0 32px; }
  .eyebrow, .section-kicker { font-size: 11px; }
  .hero h1 { margin-top: 26px; font-size: 38px; line-height: 1.12; }
  .hero-lead { margin-top: 20px; font-size: 23px; line-height: 1.14; }
  .hero-footer { margin-top: 46px; flex-direction: column; align-items: stretch; gap: 28px; }
  .location { font-size: 12px; }
  .skills { font-size: 11px; line-height: 1.4; }
  .primary-button { width: 100%; min-width: 0; height: 54px; font-size: 13px; }

  .projects { padding: 42px 0 46px; }
  .section-heading-row { margin: 22px 0 28px; display: block; }
  .section-heading-row h2 { font-size: 34px; }
  .section-heading-row p { margin-top: 18px; font-size: 13px; line-height: 1.5; max-width: 320px; }

  .project-featured, .catalog-card { min-height: 0; padding: 34px 26px; display: block; }
  .project-copy h3, .catalog-card h3 { margin-top: 18px; font-size: 34px; line-height: 1.15; }
  .project-index { font-size: 11px; }
  .project-meta { margin-top: 34px; font-size: 11px; line-height: 1.45; }
  .project-copy > p, .catalog-card p { font-size: 13px; line-height: 1.6; }
  .project-visual { display: none; }
  .case-button { margin-top: 22px; min-height: 38px; padding: 0 20px; font-size: 11px; }

  .project-grid { display: block; margin-top: 22px; }
  .compact-card { min-height: 0; padding: 34px 26px; margin-bottom: 22px; }
  .compact-card h3 { margin-top: 18px; font-size: 34px; line-height: 1.1; }
  .compact-card .project-meta { margin-top: 10px; font-size: 11px; }
  .mobile-only-copy { display: block; margin: 24px 0 0; font-size: 13px; line-height: 1.55; color: #555c67; }
  .compact-card .case-button { margin-top: 22px; }
  .catalog-card { margin-top: 0; }

  .about { padding: 44px 0 0; }
  .about-grid { margin-top: 26px; display: block; }
  .about h2 { font-size: 36px; line-height: 1.2; }
  .about-copy { padding-top: 16px; font-size: 13px; line-height: 1.6; }
  .about-copy p { margin-bottom: 24px; }

  .contact { padding: 42px 0 74px; }
  .contact-panel { min-height: 0; padding: 30px 26px; border-radius: 24px; }
  .contact h2 { font-size: 24px; line-height: 1.15; }
  .contact-links { margin-top: 26px; flex-direction: column; gap: 8px; font-size: 12px; }
}

.lang-button {
  border: 0;
  padding: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  cursor: pointer;
}
.lang-button.active { color: var(--blue); }
