:root {
  --navy: #06172f;
  --blue: #1688ee;
  --blue-light: #70bbff;
  --ink: #07162c;
  --muted: #607083;
  --line: #dce5ee;
  --soft: #f5f8fb;
  --white: #ffffff;
  --shell: min(1120px, calc(100% - 32px));
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 120px;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
p, h1, h2, h3 { margin-top: 0; }
.shell { width: var(--shell); margin-inline: auto; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.header-inner { display: grid; }
.brand { min-height: 64px; display: flex; align-items: center; gap: 10px; }

.brand-mark {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  color: var(--white);
  background: var(--navy);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: -0.08em;
  transform: skewX(-8deg);
}

.brand-name { display: flex; flex-direction: column; line-height: 1.15; }
.brand-name strong { font-size: 0.85rem; }
.brand-name small { margin-top: 3px; color: #66809b; font-size: 0.6rem; letter-spacing: 0.13em; text-transform: uppercase; }

.section-tabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-inline: -16px;
  border-top: 1px solid var(--line);
}

.tab-link {
  min-height: 52px;
  position: relative;
  display: grid;
  place-items: center;
  color: #68788b;
  font-size: 0.76rem;
  font-weight: 750;
  white-space: nowrap;
}

.tab-link::after {
  content: "";
  position: absolute;
  left: 18%;
  right: 18%;
  bottom: -1px;
  height: 3px;
  background: var(--blue);
  transform: scaleX(0);
  transition: transform 180ms ease;
}

.tab-link.active { color: var(--navy); }
.tab-link.active::after { transform: scaleX(1); }

.hero {
  min-height: calc(100svh - 117px);
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  color: var(--white);
  background: radial-gradient(circle at 88% 28%, #104379 0, #082748 27%, var(--navy) 62%, #041126 100%);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.32;
  background-image: linear-gradient(rgba(82, 155, 224, 0.12) 1px, transparent 1px), linear-gradient(90deg, rgba(82, 155, 224, 0.12) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: linear-gradient(120deg, transparent 5%, black 90%);
}

.hero-lines {
  position: absolute;
  width: 310px;
  height: 310px;
  right: -195px;
  top: 10%;
  border: 1px solid rgba(70, 164, 250, 0.28);
  transform: rotate(45deg);
}

.hero-lines::before, .hero-lines::after {
  content: "";
  position: absolute;
  inset: 32px;
  border: 1px solid rgba(70, 164, 250, 0.18);
}

.hero-lines::after { inset: 66px; }
.hero-inner { position: relative; z-index: 2; padding-block: 62px 92px; }

.eyebrow, .section-number {
  margin-bottom: 20px;
  color: var(--blue);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.eyebrow { display: flex; align-items: center; gap: 10px; color: #9acfff; }
.eyebrow span { width: 28px; height: 2px; background: var(--blue); }

.hero h1 {
  max-width: 900px;
  margin-bottom: 24px;
  font-size: clamp(2.8rem, 12vw, 5.6rem);
  line-height: 0.99;
  letter-spacing: -0.055em;
}

.hero h1 em { color: var(--blue-light); font-style: normal; font-weight: 450; }

.hero-copy {
  max-width: 620px;
  margin-bottom: 32px;
  color: #bbcbdb;
  font-size: 1rem;
  line-height: 1.7;
}

.hero-action {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 0 19px;
  color: var(--white);
  background: var(--blue);
  font-size: 0.82rem;
  font-weight: 800;
  box-shadow: 0 15px 38px rgba(22, 136, 238, 0.28);
}

.hero-note {
  position: absolute;
  z-index: 2;
  bottom: 24px;
  left: 50%;
  display: flex;
  align-items: center;
  gap: 12px;
  color: #6f8aa4;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transform: translateX(-50%);
}

.hero-note i { width: 3px; height: 3px; background: var(--blue); transform: rotate(45deg); }
.page-section { scroll-margin-top: 115px; padding: 78px 0; }
.section-grid { display: grid; gap: 48px; }

.section-intro h2, .portfolio h2, .contact h2 {
  margin-bottom: 22px;
  font-size: clamp(2.1rem, 9vw, 4rem);
  line-height: 1.07;
  letter-spacing: -0.045em;
}

.section-intro > p:last-child, .portfolio-heading > p { max-width: 560px; margin: 0; color: var(--muted); }
.service-list { border-top: 1px solid var(--line); }

.service-item {
  min-height: 170px;
  display: grid;
  grid-template-columns: 38px 1fr auto;
  gap: 14px;
  align-items: start;
  padding: 25px 0;
  border-bottom: 1px solid var(--line);
}

.service-item > span { padding-top: 4px; color: var(--blue); font-size: 0.68rem; font-weight: 800; }
.service-item h3 { margin-bottom: 7px; font-size: 1.13rem; line-height: 1.35; }
.service-item p { margin: 0; color: var(--muted); font-size: 0.88rem; line-height: 1.65; }
.service-item > b { color: var(--blue); font-size: 1rem; }

.portfolio { color: var(--white); background: var(--navy); }
.section-number.light { color: var(--blue-light); }
.portfolio-heading { display: grid; gap: 18px; margin-bottom: 36px; }
.portfolio-heading > p { color: #9fb2c6; }
.project-list { display: grid; gap: 14px; }

.project-card {
  min-height: 320px;
  display: flex;
  flex-direction: column;
  padding: 24px;
  color: var(--ink);
  background: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.16);
}

.project-card.featured { color: var(--white); background: linear-gradient(145deg, #0d3764, #082342); }
.project-meta { display: flex; justify-content: space-between; color: #70869c; font-size: 0.68rem; letter-spacing: 0.08em; text-transform: uppercase; }
.featured .project-meta { color: #79bfff; }
.project-body { display: grid; grid-template-columns: 48px 1fr; gap: 16px; margin: 42px 0 24px; }
.project-icon { width: 48px; height: 48px; display: grid; place-items: center; background: var(--navy); color: var(--white); font-weight: 900; }
.project-icon.gym-icon { color: #75bdff; }
.project-icon.salon-icon { color: #594940; background: #eadbd3; border-radius: 50%; font-family: Georgia, serif; font-size: 0.75rem; font-weight: 500; }
.project-body h3 { margin-bottom: 7px; font-size: 1.45rem; line-height: 1.2; }
.project-body p { margin: 0; color: #677789; font-size: 0.86rem; line-height: 1.6; }
.featured .project-body p { color: #adc0d3; }
.project-tags { display: flex; flex-wrap: wrap; gap: 7px; margin-top: auto; }
.project-tags span { padding: 5px 8px; color: #5e7286; background: var(--soft); font-size: 0.62rem; }
.featured .project-tags span { color: #a8cbea; background: rgba(83, 167, 244, 0.1); }
.project-status { margin: 18px 0 0; color: #82a4c4; font-size: 0.68rem; }
.project-status i { display: inline-block; width: 6px; height: 6px; margin-right: 6px; border-radius: 50%; background: #43ba82; }
.project-status.concept { color: #7b8a99; }

.contact { position: relative; overflow: hidden; color: var(--white); background: linear-gradient(135deg, #082648, var(--navy)); }

.contact-shape {
  position: absolute;
  width: 300px;
  height: 300px;
  right: -210px;
  bottom: -50px;
  border: 1px solid rgba(72, 164, 249, 0.22);
  transform: rotate(45deg);
}

.contact-inner { position: relative; z-index: 2; }
.contact h2 em { color: var(--blue-light); font-style: normal; font-weight: 450; }
.contact-inner > p:not(.section-number) { max-width: 620px; color: #afc1d3; }
.contact-links { display: grid; gap: 10px; margin-top: 34px; }

.contact-links a {
  min-height: 86px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  padding: 15px 17px;
  border: 1px solid rgba(255, 255, 255, 0.17);
}

.contact-links small { grid-column: 1 / -1; color: #76bfff; font-size: 0.65rem; letter-spacing: 0.1em; text-transform: uppercase; }
.contact-links strong { font-size: 0.86rem; overflow-wrap: anywhere; }
.contact-links span { color: var(--blue-light); }

.site-footer { padding: 30px 0; color: #8da1b5; background: #041126; }
.footer-inner { display: grid; gap: 18px; }
.footer-inner p { display: flex; flex-direction: column; margin: 0; }
.footer-inner strong { color: var(--white); font-size: 0.8rem; }
.footer-inner span, .footer-inner small { font-size: 0.66rem; }

@media (min-width: 720px) {
  :root { --shell: min(1120px, calc(100% - 64px)); }
  html { scroll-padding-top: 78px; }
  .header-inner { min-height: 78px; grid-template-columns: auto 1fr; align-items: center; }
  .brand { min-height: 0; }
  .section-tabs { width: min(500px, 100%); justify-self: end; margin: 0; border: 0; }
  .tab-link { min-height: 78px; font-size: 0.8rem; }
  .tab-link::after { left: 12%; right: 12%; }
  .hero { min-height: calc(100svh - 78px); }
  .hero-inner { padding-block: 80px 110px; }
  .hero-copy { font-size: 1.1rem; }
  .hero-action { min-width: 290px; }
  .hero-lines { width: 560px; height: 560px; right: -270px; top: 5%; }
  .page-section { scroll-margin-top: 77px; padding: 100px 0; }
  .section-grid { grid-template-columns: 0.95fr 1.05fr; gap: 90px; align-items: start; }
  .service-item { min-height: 148px; padding: 26px 0; }
  .portfolio-heading { grid-template-columns: 1.25fr 0.75fr; gap: 70px; align-items: end; margin-bottom: 50px; }
  .project-list { grid-template-columns: 1fr 1fr; gap: 18px; }
  .project-card { min-height: 390px; padding: 30px; }
  .project-body { margin-top: 68px; }
  .contact-links { grid-template-columns: 1.25fr 0.75fr; max-width: 900px; }
  .contact-links strong { font-size: 1rem; }
  .footer-inner { grid-template-columns: 1fr auto; align-items: center; }
  .footer-inner small { text-align: right; }
}

@media (min-width: 1040px) {
  .hero h1 { font-size: 5.6rem; }
  .page-section { padding-block: 115px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
