:root {
  --bg: #f7fbfe;
  --surface: #ffffff;
  --surface-2: #edf8fd;
  --text: #102033;
  --muted: #5d6f82;
  --line: #d8e6ee;
  --brand: #167db5;
  --brand-2: #54bad8;
  --brand-dark: #0d1b2a;
  --danger: #b3261e;
  --success: #11683a;
  --shadow: 0 24px 60px rgba(15, 62, 92, 0.16);
  --radius: 22px;
  --container: 1180px;
  --focus: #ffbf47;
  --font-size: 16px;
  --line-height: 1.65;
}

* {
  box-sizing: border-box;
}

html {
  color-scheme: light;
  font-size: var(--font-size);
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 10% 18%, rgba(84, 186, 216, 0.16), transparent 30rem),
    radial-gradient(circle at 86% 6%, rgba(22, 125, 181, 0.12), transparent 28rem),
    linear-gradient(180deg, #f9fdff 0%, #eef7fc 42%, #ffffff 100%);
  color: var(--text);
  font-family: Arial, Helvetica, sans-serif;
  line-height: var(--line-height);
  min-width: 320px;
}

body::before,
body::after {
  background-image: linear-gradient(135deg, rgba(16, 32, 51, 0.08) 1px, transparent 1px);
  background-size: 38px 38px;
  content: "";
  height: 22rem;
  opacity: 0.7;
  pointer-events: none;
  position: fixed;
  right: -5rem;
  top: 4rem;
  transform: rotate(9deg);
  width: 26rem;
  z-index: -1;
}

body::after {
  bottom: 6rem;
  left: -6rem;
  right: auto;
  top: auto;
  transform: rotate(-14deg);
}

img,
picture,
svg {
  display: block;
  height: auto;
  max-width: 100%;
}

a {
  color: var(--brand);
  text-decoration-thickness: 0.1em;
  text-underline-offset: 0.22em;
}

a:hover {
  color: var(--brand-dark);
}

button,
input,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

:focus-visible {
  outline: 4px solid var(--focus);
  outline-offset: 4px;
}

[hidden] {
  display: none !important;
}

.container {
  margin-inline: auto;
  max-width: var(--container);
  padding-inline: 1.25rem;
  width: 100%;
}

.skip-link {
  background: var(--brand-dark);
  color: #ffffff;
  left: 1rem;
  padding: 0.85rem 1rem;
  position: fixed;
  top: 1rem;
  transform: translateY(-160%);
  transition: transform 180ms ease;
  z-index: 999;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  background: rgba(247, 251, 254, 0.92);
  border-bottom: 1px solid rgba(216, 230, 238, 0.86);
  backdrop-filter: blur(14px);
  position: sticky;
  top: 0;
  z-index: 80;
}

.header-grid {
  align-items: center;
  display: grid;
  gap: 1rem;
  grid-template-columns: auto 1fr;
  min-height: 6.3rem;
}

.brand {
  display: inline-flex;
  width: min(17rem, 58vw);
}

.site-nav {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: end;
  text-transform: uppercase;
}

.site-nav a {
  color: var(--text);
  font-size: 0.88rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  padding: 0.55rem 0.35rem;
  text-decoration: none;
}

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

.site-nav span {
  color: var(--line);
  font-weight: 700;
}

.nav-toggle {
  align-items: center;
  background: var(--brand-dark);
  border: 0;
  border-radius: 999px;
  color: #ffffff;
  display: none;
  gap: 0.65rem;
  justify-self: end;
  padding: 0.75rem 0.95rem;
}

.nav-toggle__line,
.nav-toggle__line::before,
.nav-toggle__line::after {
  background: currentColor;
  border-radius: 999px;
  content: "";
  display: block;
  height: 2px;
  width: 1.2rem;
}

.nav-toggle__line::before {
  transform: translateY(-6px);
}

.nav-toggle__line::after {
  transform: translateY(4px);
}

.section {
  padding-block: clamp(4.5rem, 8vw, 7rem);
}

.hero {
  min-height: 78vh;
  padding-top: clamp(3rem, 7vw, 6rem);
}

.hero-grid {
  align-items: center;
  display: grid;
  gap: clamp(2rem, 5vw, 4rem);
  grid-template-columns: minmax(0, 0.92fr) minmax(20rem, 1.08fr);
}

.eyebrow {
  color: var(--brand);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.18em;
  margin: 0 0 0.75rem;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1,
h2,
h3 {
  line-height: 1.12;
  margin: 0;
}

h1 {
  font-size: clamp(2.35rem, 5.4vw, 5rem);
  letter-spacing: -0.055em;
}

h2 {
  font-size: clamp(2rem, 4vw, 3.45rem);
  letter-spacing: -0.045em;
}

h3 {
  font-size: clamp(1.18rem, 2.3vw, 1.6rem);
}

.hero-lead,
.section-heading p,
.about p,
.contact-panel > p {
  color: var(--muted);
  font-size: clamp(1.05rem, 1.6vw, 1.22rem);
}

.hero-actions,
.cookie-actions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-block: 2rem;
}

.button {
  align-items: center;
  border: 1px solid transparent;
  border-radius: 999px;
  display: inline-flex;
  font-weight: 850;
  justify-content: center;
  min-height: 3.1rem;
  padding: 0.88rem 1.25rem;
  text-decoration: none;
  transition: transform 160ms ease, box-shadow 160ms ease, background-color 160ms ease, color 160ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  box-shadow: 0 16px 30px rgba(22, 125, 181, 0.24);
  color: #ffffff;
}

.button-primary:hover {
  color: #ffffff;
}

.button-ghost,
.button-secondary {
  background: #ffffff;
  border-color: var(--line);
  color: var(--text);
}

.button-link {
  background: transparent;
  color: var(--text);
  padding-inline: 0.5rem;
  text-decoration: underline;
  text-underline-offset: 0.22em;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.hero-badges li {
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--text);
  font-size: 0.88rem;
  font-weight: 800;
  padding: 0.5rem 0.8rem;
}

.hero-media {
  animation: floatUp 740ms ease both;
}

.hero-media img,
.about img,
.contact-data img {
  border: 1px solid rgba(216, 230, 238, 0.86);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.section-heading {
  margin: 0 auto 2.25rem;
  max-width: 48rem;
  text-align: center;
}

.card-grid {
  display: grid;
  gap: 1.2rem;
}

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

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

.service-card,
.quote-card,
.blog-card,
.portfolio-card,
.contact-panel,
.contact-data,
.panel-card,
.cookie-card {
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(216, 230, 238, 0.86);
  border-radius: var(--radius);
  box-shadow: 0 16px 48px rgba(15, 62, 92, 0.1);
}

.service-card,
.quote-card,
.blog-card {
  padding: clamp(1.2rem, 3vw, 1.65rem);
}

.service-card p,
.quote-card blockquote,
.blog-card p,
.portfolio-card p {
  color: var(--muted);
}

.icon {
  align-items: center;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  border-radius: 18px;
  color: #ffffff;
  display: inline-flex;
  font-size: 1.15rem;
  font-weight: 900;
  height: 3rem;
  justify-content: center;
  margin-bottom: 1rem;
  width: 3rem;
}

.trusted {
  background: var(--brand-dark);
  color: #ffffff;
  padding-block: 2.25rem;
}

.trusted-grid {
  align-items: center;
  display: grid;
  gap: 1.5rem;
  grid-template-columns: auto 1fr;
}

.trusted h2 {
  font-size: clamp(1.4rem, 2.2vw, 2rem);
  letter-spacing: 0;
}

.logo-list {
  align-items: center;
  display: grid;
  gap: 0.9rem;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  list-style: none;
  margin: 0;
  padding: 0;
}

.logo-list li {
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.84);
  font-weight: 800;
  padding: 0.75rem;
  text-align: center;
}

.filter-bar {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.chip {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--text);
  font-weight: 800;
  padding: 0.65rem 1rem;
}

.chip.is-active,
.chip:hover {
  background: var(--brand-dark);
  color: #ffffff;
}

.portfolio-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.portfolio-card {
  display: grid;
  gap: 0.7rem;
  padding: 0.9rem;
}

.portfolio-card[hidden] {
  display: none;
}

.portfolio-card h3,
.portfolio-card p {
  margin-inline: 0.5rem;
}

.portfolio-card span {
  background: var(--surface-2);
  border-radius: 999px;
  color: var(--brand-dark);
  font-size: 0.78rem;
  font-weight: 900;
  justify-self: start;
  margin: 0 0.5rem 0.55rem;
  padding: 0.35rem 0.65rem;
  text-transform: uppercase;
}

.screen {
  aspect-ratio: 16 / 11;
  border-radius: 18px;
  overflow: hidden;
  position: relative;
}

.screen::before,
.screen::after {
  content: "";
  position: absolute;
}

.screen::before {
  background: rgba(255, 255, 255, 0.85);
  border-radius: 4px;
  height: 10px;
  left: 18px;
  right: 18px;
  top: 18px;
}

.screen::after {
  background: rgba(255, 255, 255, 0.78);
  border-radius: 12px;
  bottom: 20px;
  height: 34%;
  left: 18px;
  right: 18px;
}

.screen-fashion {
  background: linear-gradient(135deg, #132334, #247fb2 48%, #f1f7fb 48%);
}

.screen-medical {
  background: linear-gradient(135deg, #e8f8ff, #ffffff 48%, #1784b8 48%);
}

.screen-real {
  background: linear-gradient(135deg, #142033, #395a6c 45%, #e9d7bb 45%);
}

.screen-food {
  background: linear-gradient(135deg, #3b1c11, #a24f24 48%, #f8ead6 48%);
}

.screen-build {
  background: linear-gradient(135deg, #f1f5f8, #ffffff 48%, #23384c 48%);
}

.screen-tech {
  background: linear-gradient(135deg, #0b2033, #114f80 48%, #54bad8 48%);
}

.about-grid,
.contact-grid {
  align-items: center;
  display: grid;
  gap: clamp(2rem, 5vw, 4rem);
  grid-template-columns: minmax(0, 1fr) minmax(20rem, 0.92fr);
}

.facts {
  display: grid;
  gap: 0.8rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 2rem 0 0;
}

.facts div {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1rem;
}

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

.facts dd {
  font-weight: 900;
  margin: 0.25rem 0 0;
}

.quote-card {
  margin: 0;
}

.quote-card blockquote {
  font-size: 1.08rem;
  margin: 0 0 1rem;
}

.quote-card figcaption {
  font-weight: 900;
}

.blog-card a {
  color: var(--text);
  text-decoration: none;
}

.blog-card a:hover {
  color: var(--brand);
  text-decoration: underline;
}

.post-meta {
  color: var(--brand) !important;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  margin-top: 0;
  text-transform: uppercase;
}

.contact {
  background: linear-gradient(180deg, rgba(237, 248, 253, 0.45), #ffffff);
}

.contact-grid {
  align-items: start;
}

.contact-panel,
.contact-data {
  padding: clamp(1.2rem, 3vw, 2rem);
}

.contact-form {
  display: grid;
  gap: 1rem;
  margin-top: 1.5rem;
}

.form-row {
  display: grid;
  gap: 0.35rem;
}

.form-row label,
.checkbox-row {
  color: var(--text);
  font-weight: 900;
}

.form-row label span {
  color: var(--muted);
  font-weight: 600;
}

input,
textarea {
  background: #ffffff;
  border: 1px solid #b9ccd8;
  border-radius: 14px;
  color: var(--text);
  min-height: 3rem;
  padding: 0.8rem 0.9rem;
  width: 100%;
}

textarea {
  resize: vertical;
}

input[aria-invalid="true"],
textarea[aria-invalid="true"] {
  border-color: var(--danger);
  box-shadow: 0 0 0 3px rgba(179, 38, 30, 0.12);
}

.field-error {
  color: var(--danger);
  font-size: 0.9rem;
  font-weight: 800;
  margin: 0;
  min-height: 1.2rem;
}

.checkbox-row {
  align-items: start;
  display: grid;
  gap: 0.75rem;
  grid-template-columns: auto 1fr;
}

.checkbox-row input {
  height: 1.25rem;
  margin-top: 0.25rem;
  min-height: auto;
  width: 1.25rem;
}

.form-status {
  color: var(--success);
  font-weight: 900;
  margin: 0;
}

.contact-data address {
  font-style: normal;
  margin-bottom: 1.2rem;
}

.contact-data h2 {
  font-size: clamp(1.55rem, 2.8vw, 2.25rem);
  margin-bottom: 1rem;
}

.accessibility-toggle {
  background: var(--brand-dark);
  border: 2px solid #ffffff;
  border-radius: 999px;
  bottom: 1.1rem;
  box-shadow: var(--shadow);
  color: #ffffff;
  font-weight: 900;
  min-height: 3.4rem;
  min-width: 3.4rem;
  padding: 0.65rem;
  position: fixed;
  right: 1.1rem;
  z-index: 120;
}

.accessibility-panel {
  bottom: 5.2rem;
  max-width: min(26rem, calc(100vw - 2rem));
  position: fixed;
  right: 1rem;
  z-index: 130;
}

.panel-card {
  padding: 1rem;
}

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

.panel-head h2 {
  font-size: 1.15rem;
  letter-spacing: 0;
}

.panel-close {
  background: transparent;
  border: 0;
  color: var(--text);
  font-size: 1.7rem;
  line-height: 1;
  min-height: 2.4rem;
  min-width: 2.4rem;
}

.panel-options {
  display: grid;
  gap: 0.65rem;
  grid-template-columns: 1fr 1fr;
  margin-top: 1rem;
}

.panel-options button {
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: 14px;
  color: var(--text);
  font-weight: 800;
  padding: 0.8rem;
}

.cookie-banner {
  bottom: 1rem;
  left: 1rem;
  max-width: min(48rem, calc(100vw - 2rem));
  position: fixed;
  z-index: 140;
}

.cookie-card {
  align-items: center;
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr auto;
  padding: 1rem;
}

.cookie-card h2 {
  font-size: 1.15rem;
  letter-spacing: 0;
}

.cookie-card p {
  color: var(--muted);
  margin: 0.25rem 0 0;
}

.cookie-actions {
  margin-block: 0;
}

.site-footer {
  background: var(--brand-dark);
  color: #ffffff;
  padding-block: 1.5rem;
}

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

.site-footer p {
  margin: 0;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-links a {
  color: #ffffff;
}

@keyframes floatUp {
  from {
    opacity: 0;
    transform: translateY(1.5rem);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

html.a11y-contrast {
  --bg: #000000;
  --surface: #000000;
  --surface-2: #111111;
  --text: #ffffff;
  --muted: #f0f0f0;
  --line: #ffffff;
  --brand: #8fe8ff;
  --brand-2: #ffffff;
  --brand-dark: #000000;
  --focus: #ffff00;
  color-scheme: dark;
}

html.a11y-contrast body {
  background: #000000;
}

html.a11y-contrast .site-header,
html.a11y-contrast .service-card,
html.a11y-contrast .quote-card,
html.a11y-contrast .blog-card,
html.a11y-contrast .portfolio-card,
html.a11y-contrast .contact-panel,
html.a11y-contrast .contact-data,
html.a11y-contrast .panel-card,
html.a11y-contrast .cookie-card,
html.a11y-contrast .hero-badges li,
html.a11y-contrast input,
html.a11y-contrast textarea,
html.a11y-contrast .facts div,
html.a11y-contrast .chip,
html.a11y-contrast .button-ghost,
html.a11y-contrast .button-secondary {
  background: #000000;
  border-color: #ffffff;
  color: #ffffff;
}

html.a11y-contrast .button-primary,
html.a11y-contrast .icon,
html.a11y-contrast .chip.is-active,
html.a11y-contrast .chip:hover {
  background: #ffffff;
  color: #000000;
}

html.a11y-large-text {
  --font-size: 18px;
}

html.a11y-spacing {
  --line-height: 1.9;
}

html.a11y-spacing p,
html.a11y-spacing li,
html.a11y-spacing dd,
html.a11y-spacing dt {
  letter-spacing: 0.035em;
}

html.a11y-reduced-motion,
html.a11y-reduced-motion * {
  animation-duration: 0.001ms !important;
  scroll-behavior: auto !important;
  transition-duration: 0.001ms !important;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
  }
}

@media (max-width: 980px) {
  .header-grid {
    grid-template-columns: auto auto;
  }

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

  .site-nav {
    background: #ffffff;
    border: 1px solid var(--line);
    border-radius: 18px;
    box-shadow: var(--shadow);
    display: none;
    grid-column: 1 / -1;
    justify-content: stretch;
    padding: 0.55rem;
  }

  .site-nav.is-open {
    display: grid;
    gap: 0.15rem;
  }

  .site-nav span {
    display: none;
  }

  .site-nav a {
    border-radius: 12px;
    padding: 0.85rem;
  }

  .site-nav a:hover {
    background: var(--surface-2);
  }

  .hero-grid,
  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

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

  .card-grid-three {
    grid-template-columns: 1fr;
  }

  .trusted-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

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

@media (max-width: 680px) {
  .container {
    padding-inline: 1rem;
  }

  .site-header {
    position: static;
  }

  .section {
    padding-block: 4rem;
  }

  .hero {
    min-height: auto;
    padding-top: 2.5rem;
  }

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

  .button {
    width: 100%;
  }

  .card-grid-four,
  .portfolio-grid,
  .facts,
  .logo-list,
  .panel-options {
    grid-template-columns: 1fr;
  }

  .cookie-banner {
    bottom: 0;
    left: 0;
    max-width: 100%;
    width: 100%;
  }

  .cookie-card {
    border-radius: 18px 18px 0 0;
    grid-template-columns: 1fr;
  }

  .accessibility-panel {
    bottom: 4.8rem;
    left: 1rem;
    right: 1rem;
  }

  .footer-grid {
    align-items: start;
    flex-direction: column;
  }
}
