:root {
  --bg: #07090c;
  --bg-2: #0c1016;
  --surface: #111720;
  --surface-2: #151d28;
  --surface-3: #1b2634;
  --paper: #f6f9fd;
  --ink: #f2f6fb;
  --muted: #a6b3c3;
  --soft: #d8e2ee;
  --line: rgba(190, 211, 235, 0.18);
  --line-strong: rgba(190, 211, 235, 0.32);
  --blue: #4aa3ff;
  --blue-2: #2d74bb;
  --teal: #45d6c7;
  --green: #75d88c;
  --amber: #dba45c;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.36);
  --radius: 8px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--bg);
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 18% 12%, rgba(74, 163, 255, 0.16), transparent 28rem),
    radial-gradient(circle at 88% 8%, rgba(69, 214, 199, 0.11), transparent 24rem),
    linear-gradient(180deg, #07090c 0%, #0b0f15 42%, #080a0e 100%);
  line-height: 1.6;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 3px solid rgba(74, 163, 255, 0.52);
  outline-offset: 3px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 82px;
  padding: 14px clamp(20px, 5vw, 72px);
  background: rgba(7, 9, 12, 0.86);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  width: min(292px, 62vw);
  padding: 8px 10px;
  background: rgba(246, 249, 253, 0.96);
  border: 1px solid rgba(246, 249, 253, 0.5);
  border-radius: var(--radius);
}

.brand img {
  width: 100%;
  height: auto;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

.site-nav a {
  padding: 10px 14px;
  color: var(--muted);
  font-size: 0.94rem;
  font-weight: 800;
  text-decoration: none;
  border-radius: var(--radius);
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.08);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  cursor: pointer;
}

.nav-toggle span:not(.sr-only) {
  width: 20px;
  height: 2px;
  background: var(--ink);
}

main {
  overflow: hidden;
}

.hero,
.page-hero,
.section,
.split-section,
.service-detail-list,
.contact-layout,
.profile-section,
.values-grid,
.legal-page,
.cta-band {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(420px, 1.1fr);
  gap: clamp(26px, 5vw, 58px);
  align-items: center;
  min-height: calc(88vh - 82px);
  padding: clamp(14px, 3vw, 36px) 0 clamp(34px, 5vw, 62px);
}

.hero-copy,
.page-hero {
  max-width: 780px;
}

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

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

h1 {
  margin-bottom: 24px;
  font-size: clamp(2.65rem, 5.5vw, 5.15rem);
  line-height: 0.96;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(2rem, 3.4vw, 3.4rem);
  line-height: 1.05;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 12px;
  font-size: 1.25rem;
  line-height: 1.2;
}

.lead {
  max-width: 650px;
  color: var(--soft);
  font-size: clamp(1.08rem, 2vw, 1.32rem);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 20px;
  color: var(--ink);
  font: inherit;
  font-weight: 900;
  text-decoration: none;
  border-radius: var(--radius);
  border: 1px solid transparent;
  cursor: pointer;
}

.button.primary {
  color: #071015;
  background: linear-gradient(135deg, var(--teal), var(--blue));
  box-shadow: 0 14px 34px rgba(74, 163, 255, 0.22);
}

.button.primary:hover {
  filter: brightness(1.07);
}

.button.secondary {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--line-strong);
}

.button.secondary:hover {
  background: rgba(255, 255, 255, 0.12);
}

.hero-image {
  position: relative;
  margin: 0;
  min-height: 500px;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.hero-image::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(7, 9, 12, 0.04), rgba(7, 9, 12, 0.62)),
    linear-gradient(90deg, rgba(7, 9, 12, 0.18), transparent 42%);
}

.hero-image img {
  width: 100%;
  height: 100%;
  min-height: 500px;
  object-fit: cover;
  filter: saturate(0.86) contrast(1.08) brightness(0.78);
}

.hero-image figcaption {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-image figcaption span {
  padding: 9px 12px;
  color: var(--ink);
  font-size: 0.84rem;
  font-weight: 900;
  background: rgba(7, 9, 12, 0.68);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  backdrop-filter: blur(10px);
}

.section,
.split-section,
.profile-section,
.values-grid,
.contact-layout,
.legal-page {
  padding: clamp(18px, 3vw, 36px) 0 clamp(50px, 7vw, 82px);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 32px;
}

.section-heading h2,
.split-section h2,
.service-detail h2,
.profile-card h2,
.values-grid h2,
.contact-card h2,
.legal-page h1,
.legal-page h2 {
  color: var(--ink);
}

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

.service-card,
.values-grid article,
.contact-card,
.profile-card {
  background: linear-gradient(180deg, rgba(21, 29, 40, 0.96), rgba(13, 18, 25, 0.98));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.2);
}

.service-card {
  min-height: 338px;
  overflow: hidden;
}

.service-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-bottom: 1px solid var(--line);
  filter: saturate(0.9) contrast(1.08) brightness(0.82);
}

.service-card .card-mark,
.service-card h3,
.service-card p {
  margin-left: 24px;
  margin-right: 24px;
}

.service-card .card-mark {
  margin-top: 22px;
}

.service-card p,
.service-detail p,
.text-stack p,
.values-grid p,
.contact-card p,
.legal-page p,
.site-footer p,
.form-note {
  color: var(--muted);
}

.card-mark,
.detail-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  margin-bottom: 22px;
  color: #081016;
  font-size: 0.82rem;
  font-weight: 900;
  background: linear-gradient(135deg, var(--teal), var(--blue));
  border-radius: 50%;
}

.split-section,
.cta-band {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(320px, 1fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: start;
  border-top: 1px solid var(--line);
}

.split-image {
  margin: 0;
}

.split-image img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  filter: saturate(0.82) contrast(1.05) brightness(0.72);
}

.text-stack {
  max-width: 720px;
}

.text-stack p {
  font-size: 1.05rem;
}

.text-link,
.contact-link,
.legal-page a,
.text-stack a {
  color: var(--teal);
  font-weight: 900;
}

.cta-band {
  align-items: center;
  margin-bottom: clamp(60px, 8vw, 92px);
  padding: clamp(30px, 5vw, 46px);
  background:
    linear-gradient(135deg, rgba(69, 214, 199, 0.16), rgba(74, 163, 255, 0.12)),
    var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.cta-band h2 {
  margin-bottom: 0;
  font-size: clamp(2rem, 4vw, 3.2rem);
}

.cta-band .button {
  justify-self: end;
}

.page-hero {
  padding: clamp(14px, 3vw, 38px) 0 clamp(16px, 3vw, 30px);
}

.page-hero h1 {
  max-width: 950px;
}

.media-hero {
  position: relative;
  max-width: none;
  min-height: 270px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: clamp(30px, 5vw, 56px) clamp(20px, 5vw, 48px) clamp(22px, 4vw, 36px);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.media-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background: var(--surface) center / cover no-repeat;
  filter: saturate(0.86) contrast(1.08) brightness(0.7);
}

.media-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, rgba(7, 9, 12, 0.92), rgba(7, 9, 12, 0.64) 46%, rgba(7, 9, 12, 0.12));
}

.services-hero::before {
  background-image: url("assets/site/network-cables.jpg");
}

.about-hero::before {
  background-image: url("assets/site/about-laptop.jpg");
}

.contact-hero::before {
  background-image: url("assets/site/contact-meeting.jpg");
}

.media-hero .lead {
  color: var(--soft);
}

.service-detail-list {
  display: grid;
  gap: 22px;
  padding: 12px 0 clamp(50px, 7vw, 82px);
}

.service-detail {
  display: grid;
  grid-template-columns: minmax(240px, 0.48fr) 72px minmax(0, 1fr);
  gap: 24px;
  align-items: stretch;
  padding: clamp(18px, 3vw, 26px);
  background: linear-gradient(180deg, rgba(21, 29, 40, 0.96), rgba(13, 18, 25, 0.98));
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.service-detail > img {
  width: 100%;
  height: 100%;
  min-height: 260px;
  object-fit: cover;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  filter: saturate(0.85) contrast(1.08) brightness(0.76);
}

.service-detail h2 {
  font-size: clamp(1.7rem, 3vw, 2.6rem);
}

.check-list {
  display: grid;
  gap: 10px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 26px;
  color: var(--soft);
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 11px;
  height: 11px;
  background: var(--green);
  border-radius: 50%;
}

.profile-section {
  display: grid;
  grid-template-columns: minmax(260px, 0.82fr) minmax(0, 1.18fr);
  gap: clamp(26px, 5vw, 64px);
  align-items: start;
}

.profile-card {
  overflow: hidden;
}

.profile-atmosphere {
  width: 100%;
  aspect-ratio: 16 / 12;
  object-fit: cover;
  border-bottom: 1px solid var(--line);
  filter: saturate(0.8) contrast(1.05) brightness(0.72);
}

.profile-portrait {
  object-position: center 40%;
  filter: saturate(0.94) contrast(1.04) brightness(0.9);
}

.profile-card .eyebrow,
.profile-card h2 {
  margin-left: 26px;
  margin-right: 26px;
}

.profile-card h2 {
  margin-bottom: 28px;
  font-size: clamp(2rem, 3vw, 3rem);
}

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

.values-grid article {
  padding: 26px;
}

.values-grid h2 {
  font-size: 1.55rem;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.66fr);
  gap: clamp(24px, 5vw, 56px);
  align-items: start;
}

.contact-form {
  display: grid;
  gap: 18px;
  padding: clamp(22px, 4vw, 34px);
  background: linear-gradient(180deg, rgba(21, 29, 40, 0.96), rgba(13, 18, 25, 0.98));
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.form-hp {
  display: none;
}

.field {
  display: grid;
  gap: 7px;
}

.field label {
  color: var(--soft);
  font-weight: 900;
}

.field input,
.field textarea {
  width: 100%;
  padding: 14px 15px;
  color: var(--ink);
  font: inherit;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.field input:focus,
.field textarea:focus {
  background: rgba(255, 255, 255, 0.1);
}

.field textarea {
  resize: vertical;
}

.form-note {
  margin-bottom: 0;
  font-size: 0.9rem;
}

.form-status {
  min-height: 1.4em;
  margin: -4px 0 0;
  color: var(--soft);
  font-size: 0.94rem;
  font-weight: 800;
}

.form-status.is-success {
  color: #5fe0a7;
}

.form-status.is-error {
  color: #ffb09f;
}

.contact-form button:disabled {
  cursor: wait;
  opacity: 0.68;
}

.contact-card {
  overflow: hidden;
}

.contact-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-bottom: 1px solid var(--line);
  filter: saturate(0.8) contrast(1.05) brightness(0.72);
}

.contact-card .eyebrow,
.contact-card h2,
.contact-card a,
.contact-card p {
  margin-left: 26px;
  margin-right: 26px;
}

.contact-card .eyebrow {
  margin-top: 26px;
}

.contact-card h2 {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
}

.contact-card p:last-child {
  margin-bottom: 28px;
}

.legal-page {
  max-width: 820px;
}

.legal-page h1 {
  font-size: clamp(2.5rem, 5vw, 4.8rem);
}

.legal-page h2 {
  margin-top: 34px;
  font-size: 1.45rem;
}

.site-footer {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) minmax(240px, auto);
  gap: 28px;
  padding: 42px clamp(20px, 5vw, 72px);
  background: #050608;
  border-top: 1px solid var(--line);
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 12px 18px;
}

.site-footer a {
  color: var(--muted);
  font-weight: 800;
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--ink);
}

.copyright {
  grid-column: 1 / -1;
  margin: 0;
  font-size: 0.9rem;
}

@media (max-width: 960px) {
  .site-header {
    min-height: 74px;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .site-nav {
    position: absolute;
    left: 20px;
    right: 20px;
    top: calc(100% + 8px);
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 10px;
    background: rgba(12, 16, 22, 0.98);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    padding: 13px 14px;
  }

  .hero,
  .profile-section,
  .contact-layout,
  .split-section,
  .cta-band {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-image,
  .hero-image img {
    min-height: 360px;
  }

  .service-grid,
  .values-grid {
    grid-template-columns: 1fr;
  }

  .service-detail {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .service-detail > img {
    height: auto;
    min-height: 0;
    aspect-ratio: 16 / 9;
  }

  .detail-number {
    margin-bottom: 0;
  }

  .cta-band .button {
    justify-self: start;
  }

  .site-footer {
    grid-template-columns: 1fr;
  }

  .site-footer nav {
    justify-content: flex-start;
  }
}

@media (max-width: 560px) {
  .hero,
  .page-hero,
  .section,
  .split-section,
  .service-detail-list,
  .contact-layout,
  .profile-section,
  .values-grid,
  .legal-page,
  .cta-band {
    width: min(100% - 28px, 1120px);
  }

  .brand {
    width: min(238px, 66vw);
  }

  h1 {
    font-size: clamp(2.35rem, 13vw, 3.6rem);
  }

  .actions {
    align-items: stretch;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .hero-image,
  .hero-image img {
    min-height: 280px;
  }

  .media-hero {
    min-height: 230px;
    padding-left: 18px;
    padding-right: 18px;
  }

  .service-detail {
    padding: 16px;
  }

  .check-list {
    gap: 8px;
    margin-top: 18px;
  }

  .contact-card .eyebrow,
  .contact-card h2,
  .contact-card a,
  .contact-card p,
  .profile-card .eyebrow,
  .profile-card h2 {
    margin-left: 20px;
    margin-right: 20px;
  }
}
