:root {
  color-scheme: light;
  --background: #f5f8fc;
  --surface: #ffffff;
  --surface-2: #edf3f9;
  --card: #ffffff;
  --border: rgba(12, 28, 48, 0.12);
  --text: #111827;
  --muted: #5b6776;
  --primary: #008ff5;
  --primary-strong: #006ed6;
  --accent: #9ca8b5;
  --silver: #dfe6ee;
  --ink: #07111f;
  --shadow: rgba(12, 28, 48, 0.14);
  --glow: rgba(0, 143, 245, 0.22);
  --radius: 8px;
  --heading-font: "Segoe UI Variable Display", "Segoe UI", Inter, ui-sans-serif, system-ui, sans-serif;
}

:root.dark {
  color-scheme: dark;
  --background: #05080d;
  --surface: #0b1119;
  --surface-2: #0f1722;
  --card: #111a25;
  --border: rgba(223, 230, 238, 0.14);
  --text: #f6f9fc;
  --muted: #a8b4c2;
  --primary: #1aa7ff;
  --primary-strong: #55c2ff;
  --accent: #d8e0ea;
  --silver: #202c3a;
  --ink: #f6f9fc;
  --shadow: rgba(0, 0, 0, 0.42);
  --glow: rgba(26, 167, 255, 0.26);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--primary) 5%, transparent), transparent 360px),
    var(--background);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

h1,
h2,
h3 {
  font-family: var(--heading-font);
  font-weight: 760;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  padding: 12px clamp(20px, 5vw, 56px);
  border-bottom: 1px solid var(--border);
  background: color-mix(in srgb, var(--background) 88%, transparent);
  backdrop-filter: blur(18px);
  box-shadow: 0 8px 24px color-mix(in srgb, var(--shadow) 34%, transparent);
}

.brand {
  display: inline-flex;
  align-items: center;
}

.brand img {
  height: 74px;
  width: auto;
  filter: drop-shadow(0 8px 18px color-mix(in srgb, var(--primary) 18%, transparent));
}

.desktop-nav {
  display: flex;
  justify-content: center;
  gap: 10px;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 750;
}

.desktop-nav a,
.mobile-nav a {
  border-radius: 999px;
  padding: 10px 14px;
  transition: color 160ms ease, background 160ms ease;
}

.desktop-nav a:hover,
.mobile-nav a:hover,
.desktop-nav .active {
  background: color-mix(in srgb, var(--primary) 11%, transparent);
  color: var(--primary-strong);
}


.nav-dropdown {
  position: relative;
  display: flex;
  align-items: center;
}

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

.nav-parent::after {
  content: "";
  width: 7px;
  height: 7px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
}

.services-submenu {
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  width: min(640px, calc(100vw - 40px));
  padding: 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: color-mix(in srgb, var(--surface) 96%, transparent);
  box-shadow: 0 24px 60px color-mix(in srgb, var(--shadow) 70%, transparent);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 8px);
  transition: opacity 160ms ease, transform 160ms ease;
}

.services-submenu::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -14px;
  height: 14px;
}

.nav-dropdown:hover .services-submenu,
.nav-dropdown:focus-within .services-submenu {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, 0);
}

.services-submenu-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}

.desktop-nav .services-submenu a {
  display: grid;
  gap: 2px;
  border-radius: 8px;
  padding: 11px 12px;
  color: var(--text);
}

.desktop-nav .services-submenu a:hover,
.desktop-nav .services-submenu a:focus-visible {
  background: color-mix(in srgb, var(--primary) 11%, transparent);
  color: var(--primary-strong);
}

.services-submenu span {
  font-size: 0.88rem;
  font-weight: 850;
}

.services-submenu small {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 650;
}

.desktop-nav .services-submenu-all {
  display: inline-flex;
  margin-top: 12px;
  color: var(--primary-strong);
  font-weight: 900;
}

.mobile-service-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
  padding: 0 0 8px 12px;
}

.mobile-nav .mobile-service-links a {
  border-radius: 8px;
  padding: 8px 10px;
  background: color-mix(in srgb, var(--surface) 72%, transparent);
  font-size: 0.8rem;
}
.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.theme-toggle,
.menu-toggle,
.lang-link,
.social-action {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--surface);
  color: var(--primary-strong);
  cursor: pointer;
  box-shadow: 0 10px 28px color-mix(in srgb, var(--shadow) 40%, transparent);
}

.lang-link {
  font-size: 0.82rem;
  font-weight: 900;
}

.social-action {
  color: var(--muted);
  transition: color 160ms ease, border-color 160ms ease, background 160ms ease, transform 160ms ease;
}

.social-action svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.social-action:hover {
  color: var(--primary-strong);
  border-color: color-mix(in srgb, var(--primary) 45%, var(--border));
  background: color-mix(in srgb, var(--primary) 10%, var(--surface));
  transform: translateY(-1px);
}

.menu-toggle {
  display: none;
  width: auto;
  padding: 0 16px;
  font-size: 0.92rem;
  font-weight: 800;
}

.outline-button,
.primary-button,
.secondary-button,
.visit-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 22px;
  border-radius: 999px;
  font-weight: 850;
  font-size: 0.88rem;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease, background 180ms ease;
}

.outline-button,
.secondary-button {
  border: 1px solid var(--border);
  background: color-mix(in srgb, var(--surface) 72%, transparent);
  color: var(--text);
}

.outline-button:hover,
.secondary-button:hover {
  transform: translateY(-2px);
  border-color: color-mix(in srgb, var(--primary) 48%, var(--border));
  box-shadow: 0 14px 34px color-mix(in srgb, var(--shadow) 55%, transparent);
}

.primary-button,
.visit-button {
  border: 0;
  background: linear-gradient(135deg, var(--primary), var(--primary-strong));
  color: #ffffff;
  box-shadow: 0 18px 42px var(--glow);
}

.primary-button:hover,
.visit-button:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 22px 52px var(--glow);
}

.mobile-nav {
  display: none;
  grid-column: 1 / -1;
  padding-top: 14px;
  border-top: 1px solid var(--border);
  font-size: 0.88rem;
}

.mobile-nav.open {
  display: grid;
  gap: 8px;
}

.hero,
.page-hero,
.services,
.portfolio,
.about,
.home-overview,
.home-services,
.home-trust,
.home-cta,
.values-section,
.site-footer,
.contact-section {
  padding-inline: clamp(20px, 5vw, 56px);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 1fr);
  align-items: center;
  gap: clamp(36px, 7vw, 92px);
  min-height: 100vh;
  padding-top: 150px;
  padding-bottom: 86px;
  z-index: 1;
  overflow: hidden;
  background:
    radial-gradient(circle at 82% 12%, color-mix(in srgb, var(--primary) 24%, transparent), transparent 34rem),
    radial-gradient(circle at 0% 90%, color-mix(in srgb, var(--accent) 20%, transparent), transparent 28rem);
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--primary-strong);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero h1,
.section-heading h2,
.about h2,
.about h1,
.page-hero h1,
.portfolio-heading h2,
.featured-project-content h2 {
  margin: 0;
  line-height: 1.05;
  letter-spacing: 0;
}

.hero h1 {
  max-width: 760px;
  font-size: clamp(2.2rem, 4.35vw, 3.75rem);
}

.hero h1 span {
  color: var(--primary);
}

.hero-text,
.page-intro {
  max-width: 680px;
  margin: 20px 0 0;
  color: var(--muted);
  font-size: 0.94rem;
}

.button-row,
.project-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 36px;
}

.hero-media {
  position: relative;
}

.hero-media::before {
  content: "";
  position: absolute;
  inset: -18px;
  border: 1px solid color-mix(in srgb, var(--primary) 28%, transparent);
  border-radius: 18px;
  transform: rotate(-2deg);
}

.hero-media > img {
  position: relative;
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 8px;
  box-shadow: 0 28px 70px var(--shadow);
}

.stat-card {
  position: absolute;
  left: -24px;
  bottom: -26px;
  display: grid;
  gap: 2px;
  padding: 16px 20px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: color-mix(in srgb, var(--card) 92%, transparent);
  box-shadow: 0 18px 40px var(--shadow);
  backdrop-filter: blur(14px);
}

.stat-card strong {
  color: var(--primary-strong);
  font-size: 1.65rem;
}

.stat-card span,
.stats-grid span,
.principles-grid p {
  color: var(--muted);
  font-size: 0.84rem;
}

.home-overview,
.home-services,
.home-trust,
.home-cta,
.services,
.portfolio,
.about,
.values-section,
.site-footer,
.contact-section {
  padding-top: 72px;
  padding-bottom: 72px;
  border-top: 1px solid var(--border);
}

.page-hero {
  padding-top: 190px;
  padding-bottom: 64px;
  background:
    radial-gradient(circle at 85% 0%, color-mix(in srgb, var(--primary) 18%, transparent), transparent 30rem),
    linear-gradient(180deg, color-mix(in srgb, var(--surface-2) 58%, transparent), transparent);
}

.page-hero h1,
.about h1 {
  max-width: 920px;
  font-size: clamp(1.9rem, 3.55vw, 3.2rem);
}

.page-section {
  padding-top: 190px;
}

.services,
.about,
.contact-section {
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--surface-2) 94%, transparent), var(--background));
}

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

.section-heading h2,
.about h2,
.portfolio-heading h2 {
  font-size: clamp(1.6rem, 2.7vw, 2.28rem);
}

.service-grid,
.overview-grid,
.trust-grid,
.portfolio-grid,
.stats-grid,
.principles-grid,
.footer-grid,
.contact-grid {
  display: grid;
  gap: 16px;
}

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

.overview-grid,
.portfolio-grid,
.contact-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

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

.compact-grid .service-card {
  min-height: 220px;
}

.home-services {
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--surface-2) 72%, transparent), var(--background));
}

.home-trust {
  background: var(--background);
}

.trust-grid article {
  position: relative;
  overflow: hidden;
}

.trust-grid article::before {
  content: "";
  display: block;
  width: 34px;
  height: 3px;
  margin-bottom: 16px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
}

.home-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  background:
    radial-gradient(circle at 92% 0%, color-mix(in srgb, var(--primary) 20%, transparent), transparent 24rem),
    var(--surface);
}

.home-cta h2 {
  max-width: 780px;
  margin: 0;
  font-size: clamp(1.55rem, 2.5vw, 2.2rem);
  line-height: 1.08;
}

.home-cta p:not(.eyebrow) {
  max-width: 580px;
  margin: 14px 0 0;
  color: var(--muted);
}

.home-cta .button-row {
  flex: 0 0 auto;
  margin-top: 0;
}

.service-card,
.project-card,
.stats-grid article,
.principles-grid article,
.contact-card,
.overview-grid article,
.trust-grid article,
.contact-panel {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: color-mix(in srgb, var(--card) 94%, transparent);
  box-shadow: 0 10px 28px color-mix(in srgb, var(--shadow) 32%, transparent);
}

.service-card,
.overview-grid article,
.trust-grid article,
.contact-card {
  padding: 20px;
}

.service-card {
  display: flex;
  min-height: 0;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.service-card::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--primary-strong), var(--accent));
  opacity: 0;
  transition: opacity 180ms ease;
}

.service-card:hover {
  transform: translateY(-3px);
  border-color: color-mix(in srgb, var(--primary) 34%, var(--border));
  box-shadow: 0 16px 36px color-mix(in srgb, var(--shadow) 80%, transparent);
}

.service-card:hover::after {
  opacity: 1;
}

.service-card .icon,
.overview-grid span {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  margin-bottom: 14px;
  border-radius: 8px;
  background: linear-gradient(135deg, color-mix(in srgb, var(--primary) 18%, transparent), color-mix(in srgb, var(--accent) 18%, transparent));
  color: var(--primary-strong);
  font-size: 0.8rem;
  font-weight: 900;
}

.contact-card {
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

a.contact-card:hover {
  transform: translateY(-2px);
  border-color: color-mix(in srgb, var(--primary) 34%, var(--border));
  box-shadow: 0 14px 34px color-mix(in srgb, var(--shadow) 60%, transparent);
}

.contact-card-icon {
  display: block;
  width: 28px;
  height: 28px;
  margin-bottom: 12px;
  color: var(--primary-strong);
  background-color: currentColor;
}

.contact-card-icon.whatsapp {
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12.04 2a9.86 9.86 0 0 0-8.51 14.84L2.2 22l5.28-1.28A9.86 9.86 0 1 0 12.04 2Zm0 2a7.86 7.86 0 0 1 0 15.72 7.78 7.78 0 0 1-3.98-1.09l-.39-.23-2.55.62.64-2.47-.25-.4A7.86 7.86 0 0 1 12.04 4Zm-3.1 3.77c-.18 0-.47.07-.72.34-.25.28-.95.93-.95 2.27s.97 2.63 1.11 2.81c.14.19 1.89 3.02 4.66 4.11 2.3.91 2.77.73 3.27.68.5-.04 1.61-.66 1.84-1.3.23-.64.23-1.19.16-1.3-.07-.12-.25-.19-.53-.33-.28-.14-1.63-.8-1.88-.89-.25-.09-.44-.14-.63.14-.19.28-.72.89-.88 1.07-.16.19-.32.21-.6.07-.28-.14-1.17-.43-2.23-1.37-.82-.73-1.38-1.64-1.54-1.92-.16-.28-.02-.43.12-.57.13-.13.28-.32.42-.49.14-.16.19-.28.28-.47.09-.19.05-.35-.02-.49-.07-.14-.63-1.51-.86-2.07-.22-.54-.45-.47-.62-.48h-.53Z'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12.04 2a9.86 9.86 0 0 0-8.51 14.84L2.2 22l5.28-1.28A9.86 9.86 0 1 0 12.04 2Zm0 2a7.86 7.86 0 0 1 0 15.72 7.78 7.78 0 0 1-3.98-1.09l-.39-.23-2.55.62.64-2.47-.25-.4A7.86 7.86 0 0 1 12.04 4Zm-3.1 3.77c-.18 0-.47.07-.72.34-.25.28-.95.93-.95 2.27s.97 2.63 1.11 2.81c.14.19 1.89 3.02 4.66 4.11 2.3.91 2.77.73 3.27.68.5-.04 1.61-.66 1.84-1.3.23-.64.23-1.19.16-1.3-.07-.12-.25-.19-.53-.33-.28-.14-1.63-.8-1.88-.89-.25-.09-.44-.14-.63.14-.19.28-.72.89-.88 1.07-.16.19-.32.21-.6.07-.28-.14-1.17-.43-2.23-1.37-.82-.73-1.38-1.64-1.54-1.92-.16-.28-.02-.43.12-.57.13-.13.28-.32.42-.49.14-.16.19-.28.28-.47.09-.19.05-.35-.02-.49-.07-.14-.63-1.51-.86-2.07-.22-.54-.45-.47-.62-.48h-.53Z'/%3E%3C/svg%3E") center / contain no-repeat;
}

.contact-card-icon.instagram {
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7 2h10a5 5 0 0 1 5 5v10a5 5 0 0 1-5 5H7a5 5 0 0 1-5-5V7a5 5 0 0 1 5-5Zm0 2a3 3 0 0 0-3 3v10a3 3 0 0 0 3 3h10a3 3 0 0 0 3-3V7a3 3 0 0 0-3-3H7Zm5 4a4 4 0 1 1 0 8 4 4 0 0 1 0-8Zm0 2a2 2 0 1 0 0 4 2 2 0 0 0 0-4Zm5.25-3.25a1 1 0 1 1 0 2 1 1 0 0 1 0-2Z'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7 2h10a5 5 0 0 1 5 5v10a5 5 0 0 1-5 5H7a5 5 0 0 1-5-5V7a5 5 0 0 1 5-5Zm0 2a3 3 0 0 0-3 3v10a3 3 0 0 0 3 3h10a3 3 0 0 0 3-3V7a3 3 0 0 0-3-3H7Zm5 4a4 4 0 1 1 0 8 4 4 0 0 1 0-8Zm0 2a2 2 0 1 0 0 4 2 2 0 0 0 0-4Zm5.25-3.25a1 1 0 1 1 0 2 1 1 0 0 1 0-2Z'/%3E%3C/svg%3E") center / contain no-repeat;
}

.contact-card-icon.facebook {
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M14 8h3V4h-3c-3.3 0-5 2-5 5v2H6v4h3v7h4v-7h3.2l.8-4h-4V9c0-.7.3-1 1-1Z'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M14 8h3V4h-3c-3.3 0-5 2-5 5v2H6v4h3v7h4v-7h3.2l.8-4h-4V9c0-.7.3-1 1-1Z'/%3E%3C/svg%3E") center / contain no-repeat;
}

.service-card h2,
.overview-grid h3,
.trust-grid h3,
.contact-card h2 {
  margin: 0 0 10px;
  font-size: 0.96rem;
}

.service-card ul {
  display: grid;
  gap: 6px;
  margin: 14px 0 18px;
  padding: 0;
  list-style: none;
}

.service-card li {
  position: relative;
  padding-left: 15px;
  color: var(--muted);
  font-size: 0.84rem;
}

.service-card li::before {
  content: "";
  position: absolute;
  top: 0.68em;
  left: 0;
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--primary);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--primary) 14%, transparent);
}

.service-card p {
  margin: 0;
  font-size: 0.84rem;
}

.service-card p,
.about p,
.site-footer p,
.overview-grid p,
.trust-grid p,
.contact-card p,
.project-card p,
.featured-project-content p {
  color: var(--muted);
}

.about p,
.site-footer p,
.overview-grid p,
.trust-grid p,
.contact-card p,
.project-card p,
.featured-project-content p,
.services-intro > p {
  font-size: 0.94rem;
}

.service-card a {
  margin-top: auto;
  color: var(--primary-strong);
  font-weight: 850;
}
.service-detail-button {
  margin-top: auto;
  align-self: flex-start;
  border: 0;
  background: transparent;
  color: var(--primary-strong);
  font-weight: 850;
  cursor: pointer;
  padding: 0;
}

.service-detail-button:hover,
.service-detail-button:focus-visible {
  text-decoration: underline;
}

.service-detail-modal[hidden] {
  display: none;
}

.service-detail-modal {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: grid;
  place-items: center;
  padding: 22px;
}

.service-detail-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(5, 8, 13, 0.78);
  backdrop-filter: blur(12px);
}

.service-detail-dialog {
  position: relative;
  width: min(760px, 100%);
  max-height: calc(100vh - 44px);
  overflow: auto;
  padding: clamp(24px, 4vw, 38px);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 100% 0%, color-mix(in srgb, var(--primary) 16%, transparent), transparent 18rem),
    var(--card);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.42);
}

.service-detail-close {
  position: absolute;
  top: 16px;
  right: 16px;
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--surface);
  color: var(--text);
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
}

.service-detail-dialog h2 {
  max-width: 620px;
  margin: 0;
  font-size: clamp(1.8rem, 4vw, 2.7rem);
  line-height: 1.05;
}

.service-detail-intro {
  max-width: 650px;
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 1rem;
}

.service-detail-body {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(220px, 0.8fr);
  gap: 22px;
  margin-top: 26px;
}

.service-detail-body h3 {
  margin: 0 0 10px;
  font-size: 1rem;
}

.service-detail-body ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.service-detail-body li {
  position: relative;
  padding-left: 18px;
  color: var(--muted);
}

.service-detail-body li::before {
  content: "";
  position: absolute;
  top: 0.68em;
  left: 0;
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--primary);
}

.service-detail-body p {
  margin: 0;
  color: var(--muted);
}

.service-detail-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.service-card-featured {
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--primary) 11%, transparent), transparent 58%),
    color-mix(in srgb, var(--card) 96%, transparent);
}

.services-intro {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 38px;
}

.services-intro .section-heading {
  margin-bottom: 0;
}

.services-intro > p {
  max-width: 420px;
  margin: 0;
  color: var(--muted);
}

.feature-row,
.service-process {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 28px;
}

.feature-row div,
.service-process article {
  padding: 18px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: color-mix(in srgb, var(--surface) 75%, transparent);
  color: var(--text);
  text-align: center;
  font-weight: 850;
}

.service-process article {
  text-align: left;
}

.service-process span {
  color: var(--primary-strong);
  font-size: 0.78rem;
  font-weight: 900;
}

.service-process h3 {
  margin: 8px 0;
  font-size: 1.05rem;
}

.service-process p {
  margin: 0;
  color: var(--muted);
  font-size: 0.84rem;
}

.service-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 28px;
  padding: clamp(22px, 3vw, 30px);
  border: 1px solid color-mix(in srgb, var(--primary) 24%, var(--border));
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 92% 0%, color-mix(in srgb, var(--primary) 22%, transparent), transparent 20rem),
    var(--card);
  box-shadow: 0 14px 36px color-mix(in srgb, var(--shadow) 44%, transparent);
}

.service-cta h2 {
  max-width: 700px;
  margin: 0;
  font-size: clamp(1.45rem, 2.4vw, 2rem);
  line-height: 1.08;
}

.portfolio {
  display: grid;
  gap: 34px;
}

.portfolio-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
}

.featured-project {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(340px, 0.65fr);
  gap: 0;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--card);
  box-shadow: 0 18px 48px color-mix(in srgb, var(--shadow) 62%, transparent);
}

.featured-preview {
  position: relative;
  display: block;
  min-height: 340px;
  padding: 0;
  overflow: hidden;
  border: 0;
  background: #05080d;
  cursor: pointer;
}

.featured-preview img,
.project-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 220ms ease, opacity 220ms ease;
}

.logo-preview {
  display: grid;
  place-items: center;
  padding: 18px;
  border: 1px solid color-mix(in srgb, var(--muted) 20%, transparent);
  background: #ffffff;
}

.logo-preview img {
  width: min(100%, 340px);
  height: auto;
  max-height: 100%;
  object-fit: contain;
}

.darknick-logo-preview {
  height: 132px;
  border: 1px solid color-mix(in srgb, #d6c53a 30%, var(--border));
  background: #a5a52c;
}

.darknick-logo-preview img {
  object-fit: contain;
  object-position: center;
}

.featured-preview:hover img,
.featured-preview:focus-visible img,
.project-preview:hover img,
.project-preview:focus-visible img {
  transform: scale(1.04);
  opacity: 0.94;
}

.featured-preview:focus-visible,
.project-preview:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--primary) 70%, white);
  outline-offset: -5px;
}

.featured-project-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(24px, 3vw, 36px);
}

.project-type,
.project-card > span,
.contact-card > span {
  color: var(--primary-strong);
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.featured-project-content h2 {
  margin: 12px 0 16px;
  font-size: clamp(1.8rem, 3vw, 2.65rem);
}

.project-details {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 28px 0;
}

.project-details div {
  min-width: 0;
  padding: 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
}

.project-details dt {
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 900;
  text-transform: uppercase;
}

.project-details dd {
  margin: 4px 0 0;
  font-weight: 850;
}

.project-actions {
  margin-top: 0;
}

.preview-button {
  cursor: pointer;
}

.project-card {
  display: flex;
  min-height: 0;
  flex-direction: column;
  gap: 14px;
  padding: 20px;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.project-card:hover {
  transform: translateY(-3px);
  border-color: color-mix(in srgb, var(--primary) 34%, var(--border));
  box-shadow: 0 20px 48px var(--shadow);
}

.project-card h3 {
  margin: 0;
  font-size: 0.96rem;
}

.project-card p {
  margin: 0;
}

.project-cta-card {
  grid-column: 1 / -1;
  align-items: flex-start;
  min-height: 210px;
  padding: clamp(24px, 4vw, 38px);
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--primary) 14%, transparent), transparent 55%),
    color-mix(in srgb, var(--card) 96%, transparent);
}

.project-cta-card h3 {
  max-width: 720px;
  font-size: clamp(1.5rem, 3vw, 2.35rem);
}

.project-cta-card p {
  max-width: 780px;
  font-size: 1rem;
}

.project-cta-card .project-actions {
  margin-top: auto;
}

.project-preview {
  position: relative;
  display: block;
  width: 100%;
  height: 104px;
  margin-top: auto;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: var(--radius);
  background: linear-gradient(135deg, color-mix(in srgb, var(--primary) 26%, transparent), color-mix(in srgb, var(--accent) 22%, transparent));
}

button.project-preview {
  cursor: pointer;
}

.preview-overlay {
  position: absolute;
  inset: auto 12px 12px 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0 14px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  background: rgba(5, 8, 13, 0.78);
  color: #ffffff;
  font-size: 0.76rem;
  font-weight: 850;
  backdrop-filter: blur(10px);
}

.placeholder-preview {
  display: grid;
  place-items: center;
  border: 1px dashed color-mix(in srgb, var(--muted) 40%, transparent);
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--primary) 12%, transparent), transparent),
    repeating-linear-gradient(135deg, color-mix(in srgb, var(--muted) 10%, transparent) 0 1px, transparent 1px 12px),
    var(--surface);
}

.placeholder-preview span {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.preview-modal[hidden] {
  display: none;
}

.case-study-modal[hidden] {
  display: none;
}

.preview-modal {
  --preview-scale: 0.5;
  position: fixed;
  inset: 0;
  z-index: 50;
  display: grid;
  place-items: center;
  padding: 24px;
}

.case-study-modal {
  position: fixed;
  inset: 0;
  z-index: 55;
  display: grid;
  place-items: center;
  padding: 24px;
}

.preview-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(5, 8, 13, 0.82);
  backdrop-filter: blur(10px);
}

.case-study-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(5, 8, 13, 0.82);
  backdrop-filter: blur(10px);
}

.preview-modal-dialog {
  position: relative;
  width: calc(1920px * var(--preview-scale));
  max-width: calc(100vw - 48px);
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--card);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.42);
}

.case-study-modal-dialog {
  position: relative;
  width: min(980px, calc(100vw - 48px));
  max-height: calc(100vh - 48px);
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--card);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.42);
}

.case-study-modal-body {
  max-height: calc(100vh - 128px);
  overflow-y: auto;
  padding: clamp(22px, 4vw, 38px);
}

.case-study-modal .case-study-section {
  padding: 0;
  border-top: 0;
}

.case-study-modal .section-heading {
  margin-bottom: 22px;
}

.case-study-modal .section-heading h2 {
  max-width: 760px;
}

.preview-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 14px 16px;
  border-bottom: 1px solid var(--border);
}

.preview-modal-header h2 {
  margin: 0;
  font-size: 1rem;
}

.preview-modal-header span {
  display: block;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.preview-modal-close {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--surface);
  color: var(--text);
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
}

.preview-frame-shell {
  width: calc(1920px * var(--preview-scale));
  height: calc(1080px * var(--preview-scale));
  overflow: hidden;
  background: #05080d;
}

.preview-frame-shell iframe {
  width: 1920px;
  height: 1080px;
  border: 0;
  transform: scale(var(--preview-scale));
  transform-origin: top left;
}

.about {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 1fr);
  gap: clamp(36px, 6vw, 80px);
  align-items: center;
}

.about p {
  max-width: 650px;
}

.about .button-row {
  margin-top: 28px;
}

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

.stats-grid article,
.principles-grid article {
  display: grid;
  gap: 8px;
  padding: 22px;
}

.stats-grid strong {
  color: var(--primary-strong);
  font-size: 1.7rem;
}

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

.principles-grid span {
  color: var(--primary-strong);
  font-size: 0.94rem;
  font-weight: 850;
}

.principles-grid p {
  margin: 0;
  line-height: 1.45;
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  gap: 24px;
  align-items: start;
}

.contact-panel {
  padding: clamp(24px, 3vw, 34px);
}

.contact-form {
  display: grid;
  gap: 16px;
}

.form-status {
  margin: 0 0 18px;
  padding: 14px 16px;
  border: 1px solid color-mix(in srgb, var(--primary) 28%, var(--border));
  border-radius: var(--radius);
  background: color-mix(in srgb, var(--primary) 10%, var(--surface));
  color: var(--text);
  font-weight: 750;
}

.form-status[data-status="error"] {
  border-color: color-mix(in srgb, #ef4444 40%, var(--border));
  background: color-mix(in srgb, #ef4444 10%, var(--surface));
}

.form-trap {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.contact-form label {
  display: grid;
  gap: 8px;
  color: var(--text);
  font-size: 0.88rem;
  font-weight: 800;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--text);
  padding: 13px 14px;
  outline: 0;
}

.contact-form textarea {
  resize: vertical;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--primary) 16%, transparent);
}

.contact-grid {
  grid-template-columns: 1fr;
  background: transparent;
  padding: 0;
  border: 0;
}

.contact-card h2 {
  overflow-wrap: anywhere;
}

.legal-section {
  padding: 72px clamp(20px, 5vw, 56px);
  border-top: 1px solid var(--border);
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--surface-2) 94%, transparent), var(--background));
}

.legal-content {
  max-width: 860px;
  padding: clamp(24px, 4vw, 42px);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: color-mix(in srgb, var(--card) 94%, transparent);
  box-shadow: 0 14px 36px color-mix(in srgb, var(--shadow) 34%, transparent);
}

.legal-content h2 {
  margin: 28px 0 8px;
  font-size: 1.1rem;
}

.legal-content p {
  margin: 0 0 14px;
  color: var(--muted);
}

.legal-content a {
  color: var(--primary-strong);
  font-weight: 800;
}

.cookie-banner {
  position: fixed;
  right: clamp(16px, 3vw, 28px);
  bottom: clamp(16px, 3vw, 28px);
  z-index: 60;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  width: min(760px, calc(100% - 32px));
  padding: 18px;
  border: 1px solid color-mix(in srgb, var(--primary) 26%, var(--border));
  border-radius: var(--radius);
  background: color-mix(in srgb, var(--card) 96%, transparent);
  box-shadow: 0 24px 70px color-mix(in srgb, var(--shadow) 80%, transparent);
  backdrop-filter: blur(18px);
}

.cookie-banner h2 {
  margin: 0 0 6px;
  font-size: 1rem;
}

.cookie-banner p {
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  justify-content: flex-end;
}

.cookie-actions a {
  color: var(--primary-strong);
  font-size: 0.84rem;
  font-weight: 850;
}

.footer-grid {
  grid-template-columns: 1.25fr repeat(3, 1fr);
  gap: 12px;
}

.site-footer {
  background: var(--surface);
  padding-top: 34px;
  padding-bottom: 26px;
}

.site-footer h2,
.site-footer h3 {
  margin: 0 0 7px;
}

.site-footer h2 {
  color: var(--primary-strong);
  font-size: 1rem;
}

.site-footer h2 span {
  color: var(--text);
  font-weight: 500;
}

.site-footer h3 {
  font-size: 0.76rem;
}

.site-footer a,
.site-footer p {
  display: block;
  margin: 4px 0;
  font-size: 0.76rem;
  line-height: 1.35;
}

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

.footer-contact-actions {
  display: grid;
  gap: 5px;
  margin: 6px 0;
}

.site-footer .footer-contact-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  min-height: 20px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 500;
  line-height: 1.35;
}

.site-footer .footer-contact-button:hover {
  color: var(--primary-strong);
}

.footer-contact-icon {
  width: 14px;
  height: 14px;
  flex: 0 0 14px;
  background-color: currentColor;
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
}

.footer-contact-icon.email {
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 5h16a2 2 0 0 1 2 2v10a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V7a2 2 0 0 1 2-2Zm0 3.2v.35l8 5.1 8-5.1V8.2l-8 5.1-8-5.1Z'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 5h16a2 2 0 0 1 2 2v10a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V7a2 2 0 0 1 2-2Zm0 3.2v.35l8 5.1 8-5.1V8.2l-8 5.1-8-5.1Z'/%3E%3C/svg%3E") center / contain no-repeat;
}

.footer-contact-icon.phone {
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M8 2h8a2 2 0 0 1 2 2v16a2 2 0 0 1-2 2H8a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2Zm0 3v14h8V5H8Zm3 15h2v1h-2v-1Z'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M8 2h8a2 2 0 0 1 2 2v16a2 2 0 0 1-2 2H8a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2Zm0 3v14h8V5H8Zm3 15h2v1h-2v-1Z'/%3E%3C/svg%3E") center / contain no-repeat;
}

.footer-contact-icon.whatsapp {
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12.04 2a9.86 9.86 0 0 0-8.51 14.84L2.2 22l5.28-1.28A9.86 9.86 0 1 0 12.04 2Zm0 2a7.86 7.86 0 0 1 0 15.72 7.78 7.78 0 0 1-3.98-1.09l-.39-.23-2.55.62.64-2.47-.25-.4A7.86 7.86 0 0 1 12.04 4Zm-3.1 3.77c-.18 0-.47.07-.72.34-.25.28-.95.93-.95 2.27s.97 2.63 1.11 2.81c.14.19 1.89 3.02 4.66 4.11 2.3.91 2.77.73 3.27.68.5-.04 1.61-.66 1.84-1.3.23-.64.23-1.19.16-1.3-.07-.12-.25-.19-.53-.33-.28-.14-1.63-.8-1.88-.89-.25-.09-.44-.14-.63.14-.19.28-.72.89-.88 1.07-.16.19-.32.21-.6.07-.28-.14-1.17-.43-2.23-1.37-.82-.73-1.38-1.64-1.54-1.92-.16-.28-.02-.43.12-.57.13-.13.28-.32.42-.49.14-.16.19-.28.28-.47.09-.19.05-.35-.02-.49-.07-.14-.63-1.51-.86-2.07-.22-.54-.45-.47-.62-.48h-.53Z'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12.04 2a9.86 9.86 0 0 0-8.51 14.84L2.2 22l5.28-1.28A9.86 9.86 0 1 0 12.04 2Zm0 2a7.86 7.86 0 0 1 0 15.72 7.78 7.78 0 0 1-3.98-1.09l-.39-.23-2.55.62.64-2.47-.25-.4A7.86 7.86 0 0 1 12.04 4Zm-3.1 3.77c-.18 0-.47.07-.72.34-.25.28-.95.93-.95 2.27s.97 2.63 1.11 2.81c.14.19 1.89 3.02 4.66 4.11 2.3.91 2.77.73 3.27.68.5-.04 1.61-.66 1.84-1.3.23-.64.23-1.19.16-1.3-.07-.12-.25-.19-.53-.33-.28-.14-1.63-.8-1.88-.89-.25-.09-.44-.14-.63.14-.19.28-.72.89-.88 1.07-.16.19-.32.21-.6.07-.28-.14-1.17-.43-2.23-1.37-.82-.73-1.38-1.64-1.54-1.92-.16-.28-.02-.43.12-.57.13-.13.28-.32.42-.49.14-.16.19-.28.28-.47.09-.19.05-.35-.02-.49-.07-.14-.63-1.51-.86-2.07-.22-.54-.45-.47-.62-.48h-.53Z'/%3E%3C/svg%3E") center / contain no-repeat;
}

.footer-contact-icon.instagram {
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7 2h10a5 5 0 0 1 5 5v10a5 5 0 0 1-5 5H7a5 5 0 0 1-5-5V7a5 5 0 0 1 5-5Zm0 2a3 3 0 0 0-3 3v10a3 3 0 0 0 3 3h10a3 3 0 0 0 3-3V7a3 3 0 0 0-3-3H7Zm5 4a4 4 0 1 1 0 8 4 4 0 0 1 0-8Zm0 2a2 2 0 1 0 0 4 2 2 0 0 0 0-4Zm5.25-3.25a1 1 0 1 1 0 2 1 1 0 0 1 0-2Z'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7 2h10a5 5 0 0 1 5 5v10a5 5 0 0 1-5 5H7a5 5 0 0 1-5-5V7a5 5 0 0 1 5-5Zm0 2a3 3 0 0 0-3 3v10a3 3 0 0 0 3 3h10a3 3 0 0 0 3-3V7a3 3 0 0 0-3-3H7Zm5 4a4 4 0 1 1 0 8 4 4 0 0 1 0-8Zm0 2a2 2 0 1 0 0 4 2 2 0 0 0 0-4Zm5.25-3.25a1 1 0 1 1 0 2 1 1 0 0 1 0-2Z'/%3E%3C/svg%3E") center / contain no-repeat;
}

.footer-contact-icon.facebook {
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M14 8h3V4h-3c-3.3 0-5 2-5 5v2H6v4h3v7h4v-7h3.2l.8-4h-4V9c0-.7.3-1 1-1Z'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M14 8h3V4h-3c-3.3 0-5 2-5 5v2H6v4h3v7h4v-7h3.2l.8-4h-4V9c0-.7.3-1 1-1Z'/%3E%3C/svg%3E") center / contain no-repeat;
}

.social-buttons,
.footer-social {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.social-buttons {
  margin-top: 14px;
}

.social-buttons a,
.site-footer .footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  margin: 0;
  padding: 0 12px;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: color-mix(in srgb, var(--surface-2) 74%, transparent);
  color: var(--text);
  font-size: 0.78rem;
  font-weight: 800;
}

.site-footer .footer-social {
  margin: 8px 0;
}

.social-buttons a:hover,
.site-footer .footer-social a:hover {
  border-color: color-mix(in srgb, var(--primary) 55%, var(--border));
  color: var(--primary-strong);
}

.site-footer .legal-links {
  display: flex;
  flex-wrap: wrap;
  gap: 5px 10px;
  align-items: center;
  margin-top: 8px;
}

.site-footer .legal-links a {
  position: relative;
  display: inline-flex;
  align-items: center;
  margin: 0;
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 800;
}

.site-footer .legal-links a + a::before {
  content: "";
  width: 4px;
  height: 4px;
  margin-right: 10px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--primary) 58%, var(--muted));
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 20px;
  padding-top: 12px;
  border-top: 1px solid var(--border);
}

.footer-bottom p {
  margin: 0;
  font-size: 0.68rem;
  line-height: 1.3;
}

@media (max-width: 1100px) {
  .service-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 980px) {
  .service-detail-body {
    grid-template-columns: 1fr;
  }

  .mobile-service-links {
    grid-template-columns: 1fr;
  }
  .desktop-nav,
  .outline-button {
    display: none;
  }

  .menu-toggle {
    display: inline-grid;
  }

  .site-header {
    grid-template-columns: auto auto;
    justify-content: space-between;
  }

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

  .featured-preview {
    min-height: 340px;
  }

  .overview-grid,
  .trust-grid,
  .portfolio-grid,
  .service-process,
  .service-grid,
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .services-intro,
  .service-cta,
  .home-cta {
    align-items: start;
    flex-direction: column;
  }

  .home-cta .button-row {
    margin-top: 8px;
  }
}

@media (max-width: 640px) {
  .site-header {
    padding: 10px 18px;
  }

  .brand img {
    height: 58px;
  }

  .hero {
    min-height: auto;
    padding-top: 128px;
  }

  .hero h1 {
    font-size: 2.45rem;
  }

  .home-overview,
  .home-services,
  .home-trust,
  .home-cta,
  .services,
  .portfolio,
  .about,
  .values-section,
  .contact-section {
    padding-top: 56px;
    padding-bottom: 56px;
  }

  .site-footer {
    padding-top: 30px;
    padding-bottom: 24px;
  }

  .page-hero,
  .page-section {
    padding-top: 138px;
  }

  .service-grid,
  .feature-row,
  .service-process,
  .overview-grid,
  .trust-grid,
  .portfolio-grid,
  .stats-grid,
.principles-grid,
  .footer-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .portfolio-heading {
    align-items: start;
    flex-direction: column;
  }

  .featured-preview {
    min-height: 240px;
  }

  .project-details {
    grid-template-columns: 1fr;
  }

  .project-actions,
  .project-actions .primary-button,
  .project-actions .secondary-button,
  .project-actions .visit-button,
  .button-row .primary-button,
  .button-row .secondary-button {
    width: 100%;
  }

  .hero-media::before {
    display: none;
  }

  .stat-card {
    position: static;
    margin-top: 14px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 8px;
  }

  .cookie-banner {
    grid-template-columns: 1fr;
  }

  .cookie-actions {
    justify-content: stretch;
  }

  .cookie-actions .primary-button,
  .cookie-actions .secondary-button {
    flex: 1;
  }
}

@media (max-width: 420px) {
  .header-actions .social-action {
    display: none;
  }
}


.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  padding: 10px 14px;
  border-radius: 999px;
  background: var(--primary);
  color: #ffffff;
  font-weight: 850;
  transform: translateY(-160%);
  transition: transform 160ms ease;
}

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

:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--primary) 68%, #ffffff);
  outline-offset: 3px;
}

.proof-strip,
.results-section,
.case-study-section {
  padding-inline: clamp(20px, 5vw, 56px);
}

.proof-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--border);
}

.proof-strip div {
  display: grid;
  gap: 6px;
  padding: clamp(18px, 3vw, 28px);
  background: color-mix(in srgb, var(--surface) 88%, transparent);
}

.proof-strip strong {
  color: var(--text);
  font-size: 1rem;
}

.proof-strip span {
  color: var(--muted);
  font-size: 0.88rem;
}

.results-section,
.case-study-section {
  padding-top: 72px;
  padding-bottom: 72px;
  border-top: 1px solid var(--border);
}

.results-section {
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--surface-2) 60%, transparent), transparent),
    var(--background);
}

.results-grid,
.depth-grid,
.faq-grid,
.case-study-grid {
  display: grid;
  gap: 16px;
}

.results-grid,
.case-study-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

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

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

.results-grid article,
.depth-grid article,
.faq-grid article,
.case-study-grid article {
  padding: 22px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: color-mix(in srgb, var(--card) 94%, transparent);
  box-shadow: 0 10px 28px color-mix(in srgb, var(--shadow) 30%, transparent);
}

.results-grid span,
.depth-grid span,
.case-study-grid span {
  display: inline-flex;
  margin-bottom: 12px;
  color: var(--primary-strong);
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
}

.results-grid h3,
.depth-grid h3,
.faq-grid h3 {
  margin: 0 0 8px;
  font-size: 1.02rem;
}

.results-grid p,
.depth-grid p,
.faq-grid p,
.case-study-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.service-depth,
.faq-section {
  margin-top: 36px;
}

.quality-checks {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.quality-checks span {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  padding: 0 12px;
  border: 1px solid color-mix(in srgb, var(--primary) 28%, var(--border));
  border-radius: 999px;
  background: color-mix(in srgb, var(--primary) 8%, transparent);
  color: var(--primary-strong);
  font-size: 0.78rem;
  font-weight: 850;
}

.reveal-ready {
  opacity: 0;
  transform: translateY(18px);
}

.reveal-in {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 520ms ease, transform 520ms ease;
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .reveal-ready {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 980px) {
  .proof-strip,
  .results-grid,
  .depth-grid,
  .faq-grid,
  .case-study-grid {
    grid-template-columns: 1fr;
  }
}


@media (max-width: 1180px) and (min-width: 981px) {
  .services-submenu {
    left: 0;
    transform: translate(0, 8px);
  }

  .nav-dropdown:hover .services-submenu,
  .nav-dropdown:focus-within .services-submenu {
    transform: translate(0, 0);
  }
}

@media (max-width: 980px) {
  .mobile-nav.open {
    max-height: calc(100vh - 98px);
    overflow-y: auto;
    overscroll-behavior: contain;
  }
}

@media (max-width: 420px) {
  .service-detail-modal {
    padding: 14px;
  }

  .service-detail-dialog {
    max-height: calc(100vh - 28px);
    padding: 22px 18px;
  }

  .service-detail-close {
    top: 10px;
    right: 10px;
  }
  
  

}
