:root {
  --violet-950:#150c37;
  --violet-800:#271a6e;
  --violet-700:#372691;
  --violet-600:#4a35ad;
  --green-500:#22e08e;
  --green-400:#6df0b3;
  --cream:#eef6f0;
  --ink:#1c1533;
  --steel:#6f6a86;
  --steel-light:#a9a4c0;
  --hairline:rgba(28,21,51,0.12);
  --hairline-dark:rgba(244,241,234,0.14);
  --radius:2px;
  --maxw:1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

html, body {
  max-width: 100%;
  overflow-x: hidden;
}

body {
  margin: 0;
  font-family: "Inter", sans-serif;
  color: var(--ink);
  background-color: var(--cream);
  background-image: radial-gradient(circle at 1px 1px, rgba(28, 21, 51, 0.07) 1px, transparent 0);
  background-size: 26px 26px;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, .display {
  font-family: "Space Grotesk", sans-serif;
  letter-spacing: -0.01em;
  margin: 0;
}

.mono {
  font-family: "IBM Plex Mono", monospace;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

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

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

button, input, textarea {
  font-size: 16px;
}

.wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 32px;
  width: 100%;
}

.accent {
  color: var(--green-500);
}

::selection {
  background: var(--green-500);
  color: var(--violet-950);
}

.seam {
  position: relative;
  height: 1px;
  background: var(--hairline);
  margin: 0;
}
.seam.dark {
  background: var(--hairline-dark);
}
.seam.dark::before {
  background-image: repeating-linear-gradient(90deg, var(--green-500) 0 2px, transparent 2px 34px);
  opacity: 0.5;
}
.seam::before {
  content: "";
  position: absolute;
  top: -3px;
  left: 0;
  right: 0;
  height: 7px;
  background-image: repeating-linear-gradient(90deg, var(--steel) 0 2px, transparent 2px 34px);
  opacity: 0.35;
}

#scrollbar {
  position: fixed;
  top: 0;
  left: 0;
  height: 2px;
  width: 0%;
  background: var(--green-500);
  z-index: 300;
  transition: width 0.08s linear;
}

header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: transparent;
  backdrop-filter: none;
  border-bottom: 1px solid transparent;
  transition: background 0.35s ease, backdrop-filter 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
  padding-top: env(safe-area-inset-top);
}
header.solid {
  background: rgba(244, 241, 234, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--hairline);
  box-shadow: 0 8px 24px -16px rgba(21, 12, 55, 0.25);
}
header.solid .logo-word {
  color: var(--ink);
}
header.solid .burger span {
  background: var(--ink);
}
header.solid nav.mainnav a {
  color: var(--ink);
  opacity: 0.75;
}
header.solid nav.mainnav a::after {
  background: var(--violet-700);
}
header.solid .langswitch.header-lang {
  border-color: var(--hairline);
}
header.solid .langswitch.header-lang button {
  color: var(--steel);
}
header.solid .langswitch.header-lang button.active {
  background: var(--violet-800);
  color: var(--cream);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 32px;
  max-width: var(--maxw);
  margin: 0 auto;
}

.logo-word {
  font-family: "Space Grotesk", sans-serif;
  font-size: 20px;
  line-height: 1;
  display: flex;
  flex-direction: column;
  font-weight: 500;
  flex-shrink: 0;
  color: var(--cream);
  transition: color 0.35s ease;
}
.logo-word b {
  font-weight: 700;
  color: var(--green-500);
  letter-spacing: -0.02em;
}

nav.mainnav {
  display: flex;
  gap: 26px;
  align-items: center;
  flex-wrap: wrap;
}
nav.mainnav a {
  font-size: 14px;
  font-weight: 500;
  color: var(--cream);
  opacity: 0.85;
  transition: opacity 0.2s, color 0.35s ease;
  position: relative;
  padding-bottom: 3px;
  white-space: nowrap;
}
nav.mainnav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 1px;
  background: var(--cream);
  transition: width 0.3s cubic-bezier(0.2, 0.7, 0.3, 1), background 0.35s ease;
}
nav.mainnav a:hover {
  opacity: 1;
}
nav.mainnav a:hover::after {
  width: 100%;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
}

.langswitch {
  display: none;
  gap: 2px;
  border: 1px solid rgba(244, 241, 234, 0.4);
  border-radius: 20px;
  padding: 3px;
  flex-shrink: 0;
  transition: border-color 0.35s ease;
}
.langswitch.panel-lang {
  display: flex;
  margin: 22px 0 6px;
  border-color: var(--hairline-dark);
  align-self: flex-start;
}
.langswitch button {
  font-family: "IBM Plex Mono", monospace;
  font-size: 11px;
  border: none;
  background: transparent;
  padding: 6px 9px;
  border-radius: 16px;
  cursor: pointer;
  color: var(--cream);
  letter-spacing: 0.05em;
  min-width: 30px;
  transition: color 0.35s ease, background 0.35s ease;
}
.langswitch button.active {
  background: var(--cream);
  color: var(--violet-950);
}

@media (min-width: 980px) {
  .langswitch.header-lang {
    display: flex;
  }
}
.mobile-panel .langswitch button {
  color: var(--steel-light);
}
.mobile-panel .langswitch button.active {
  background: var(--green-500);
  color: var(--violet-950);
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  justify-content: center;
  padding: 13px 22px;
  border-radius: 1px;
  font-weight: 600;
  font-size: 14px;
  border: 1px solid transparent;
  cursor: pointer;
  font-family: "Inter", sans-serif;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  min-height: 46px;
  transition: transform 0.3s cubic-bezier(0.2, 0.7, 0.3, 1), box-shadow 0.3s ease, background 0.3s ease, border-color 0.3s ease;
}
.btn::after {
  content: "";
  position: absolute;
  top: 0;
  left: -60%;
  width: 35%;
  height: 100%;
  background: rgba(255, 255, 255, 0.35);
  transform: skewX(-18deg);
  transition: left 0.55s cubic-bezier(0.2, 0.7, 0.3, 1);
  z-index: 1;
  pointer-events: none;
}
.btn:hover {
  transform: translateY(-3px);
}
.btn:hover::after {
  left: 130%;
}
.btn:active {
  transform: translateY(-1px) scale(0.98);
}
.btn span, .btn svg {
  position: relative;
  z-index: 2;
}
.btn-primary {
  background: var(--green-500);
  color: var(--violet-950);
}
.btn-primary:hover {
  background: var(--green-400);
  box-shadow: 0 14px 28px -12px rgba(34, 224, 142, 0.55);
}
.btn-ghost {
  background: transparent;
  border-color: var(--hairline);
  color: var(--ink);
}
.btn-ghost:hover {
  border-color: var(--ink);
  box-shadow: 0 10px 22px -14px rgba(28, 21, 51, 0.4);
}
.btn-ghost-dark {
  background: transparent;
  border-color: var(--hairline-dark);
  color: var(--cream);
}
.btn-ghost-dark:hover {
  border-color: var(--cream);
  box-shadow: 0 10px 22px -14px rgba(0, 0, 0, 0.4);
}

.navcta {
  display: none;
}

@media (min-width: 980px) {
  .navcta {
    display: inline-flex;
  }
}
.navlinks {
  display: none;
}

@media (min-width: 980px) {
  .navlinks {
    display: flex;
  }
}
.burger {
  display: flex;
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
  min-width: 44px;
  min-height: 44px;
  align-items: center;
  justify-content: center;
}
.burger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--cream);
  margin: 5px 0;
  transition: background 0.35s ease;
}

@media (min-width: 980px) {
  .burger {
    display: none;
  }
}
.hero {
  background: var(--violet-800);
  color: var(--cream);
  position: relative;
  overflow: hidden;
}
.hero .hero-bg {
  position: absolute;
  inset: -8% 0 -8% 0;
  background-image: linear-gradient(160deg, rgba(21, 12, 55, 0.94) 10%, rgba(39, 26, 110, 0.85) 55%, rgba(55, 38, 145, 0.7) 100%), url("https://images.unsplash.com/photo-1504328345606-18bbc8c9d7d1?auto=format&fit=crop&w=1600&q=70");
  background-size: cover;
  background-position: center;
  will-change: transform;
}
.hero .hero-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 100px 24px 72px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 44px;
  position: relative;
  z-index: 1;
}
@media (min-width: 640px) {
  .hero .hero-inner {
    padding: 120px 32px 100px;
  }
}
@media (min-width: 900px) {
  .hero .hero-inner {
    grid-template-columns: 1.3fr 0.9fr;
    align-items: end;
    padding-top: 150px;
    gap: 48px;
  }
}
.hero h1 {
  font-size: clamp(30px, 7vw, 64px);
  font-weight: 600;
  line-height: 1.08;
  max-width: 16ch;
}
.hero p.lead {
  margin-top: 22px;
  font-size: clamp(15px, 2.4vw, 17px);
  line-height: 1.6;
  color: var(--steel-light);
  max-width: 46ch;
}

.eyebrow {
  font-family: "IBM Plex Mono", monospace;
  font-size: 11.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--green-500);
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 1px;
  background: var(--green-500);
  flex-shrink: 0;
}

.hero-ctas {
  display: flex;
  gap: 12px;
  margin-top: 32px;
  flex-wrap: wrap;
}
.hero-ctas .btn {
  flex: 1 1 auto;
  min-width: 150px;
}

.hero-badges {
  display: flex;
  flex-direction: column;
  gap: 0;
  border-top: 1px solid var(--hairline-dark);
}

.hero-badge {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 18px 0;
  border-bottom: 1px solid var(--hairline-dark);
}
.hero-badge .num {
  font-family: "IBM Plex Mono", monospace;
  color: var(--green-500);
  font-size: 13px;
  padding-top: 2px;
  flex-shrink: 0;
}
.hero-badge .txt {
  font-size: 14px;
  line-height: 1.5;
  color: var(--steel-light);
}
.hero-badge .txt strong {
  color: var(--cream);
  display: block;
  font-weight: 600;
  font-size: 15px;
  margin-bottom: 2px;
}

section {
  padding: clamp(56px, 9vw, 96px) 0;
  scroll-margin-top: 80px;
}

#topo {
  scroll-margin-top: 0;
}

.section-head {
  max-width: 640px;
  margin-bottom: clamp(36px, 6vw, 56px);
}
.section-head h2 {
  font-size: clamp(24px, 5vw, 38px);
  font-weight: 600;
  line-height: 1.15;
  margin-top: 14px;
}
.section-head p {
  margin-top: 16px;
  font-size: 15.5px;
  line-height: 1.6;
  color: var(--steel);
}

.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  background: var(--hairline);
  border: 1px solid var(--hairline);
}
@media (min-width: 640px) {
  .services-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.service-card {
  background: var(--cream);
  padding: clamp(28px, 5vw, 40px);
  position: relative;
}
.service-card .ibeam {
  width: 26px;
  height: 26px;
  margin-bottom: 22px;
  color: var(--violet-700);
}
.service-card h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 10px;
}
.service-card p {
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--steel);
  margin: 0;
}

.process {
  background: var(--violet-950);
  color: var(--cream);
}
.process .section-head p {
  color: var(--steel-light);
}
.process .eyebrow {
  color: var(--green-500);
}

.process-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
  position: relative;
}
@media (min-width: 640px) {
  .process-grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px 28px;
  }
}
@media (min-width: 860px) {
  .process-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
  }
  .process-grid::before {
    content: "";
    position: absolute;
    top: 27px;
    left: 5%;
    right: 5%;
    height: 1px;
    background: var(--hairline-dark);
    z-index: 0;
  }
}

.process-step {
  padding: 0 22px 0 0;
  position: relative;
}
.process-step .step-num {
  font-family: "IBM Plex Mono", monospace;
  font-size: 15px;
  font-weight: 500;
  color: var(--green-500);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: var(--violet-950);
  border: 1px solid var(--green-500);
  margin-bottom: 22px;
  position: relative;
  z-index: 1;
}
.process-step h3 {
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 10px;
}
.process-step p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--steel-light);
  margin: 0;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 44px;
  align-items: center;
}
@media (min-width: 900px) {
  .about-grid {
    grid-template-columns: 1fr 1fr;
    gap: 56px;
  }
}

.about-media {
  position: relative;
  margin-top: 14px;
}
.about-media img {
  border-radius: 2px;
  width: 100%;
}
.about-media .tag {
  position: absolute;
  bottom: -16px;
  left: 14px;
  background: var(--green-500);
  color: var(--violet-950);
  padding: 12px 16px;
  font-family: "IBM Plex Mono", monospace;
  font-size: 11.5px;
  letter-spacing: 0.05em;
  max-width: 200px;
  line-height: 1.4;
  text-transform: uppercase;
}
@media (min-width: 900px) {
  .about-media .tag {
    left: -18px;
    bottom: -18px;
    padding: 14px 18px;
    font-size: 12px;
  }
}

.about-text .eyebrow {
  color: var(--violet-700);
}
.about-text .eyebrow::before {
  background: var(--violet-700);
}
.about-text h2 {
  font-size: clamp(22px, 4.4vw, 32px);
  font-weight: 600;
  margin-top: 14px;
  line-height: 1.2;
}
.about-text p.lead {
  margin-top: 18px;
  font-size: 15.5px;
  line-height: 1.65;
  color: var(--steel);
}

.about-list {
  list-style: none;
  padding: 0;
  margin: 28px 0 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.about-list li {
  display: flex;
  gap: 12px;
  font-size: 14.5px;
  color: var(--ink);
  align-items: flex-start;
}
.about-list li svg {
  flex-shrink: 0;
  margin-top: 3px;
  color: var(--green-500);
}

.gallery-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}
@media (min-width: 640px) {
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
  }
}

.gallery-item {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4/5;
  border-radius: 2px;
}
.gallery-item:first-child {
  grid-column: span 1;
}
@media (min-width: 640px) {
  .gallery-item:nth-child(1) {
    grid-column: span 2;
    aspect-ratio: 16/10;
  }
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.gallery-item:hover img {
  transform: scale(1.05);
}
.gallery-item .cap {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 16px;
  background: linear-gradient(0deg, rgba(21, 12, 55, 0.85), transparent);
  color: var(--cream);
  font-size: 13px;
  font-weight: 500;
}

.carousel {
  position: relative;
}

.carousel-viewport {
  overflow: hidden;
  border-radius: 3px;
}

.carousel-track {
  display: flex;
  transition: transform 0.5s cubic-bezier(0.2, 0.7, 0.3, 1);
}

.carousel-slide {
  flex: 0 0 100%;
  position: relative;
  aspect-ratio: 16/10;
}
@media (max-width: 600px) {
  .carousel-slide {
    aspect-ratio: 4/5;
  }
}
.carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.carousel-slide video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  background: var(--violet-950);
}
.carousel-slide .cap {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 18px;
  background: linear-gradient(0deg, rgba(21, 12, 55, 0.85), transparent);
  color: var(--cream);
  font-size: 14px;
  font-weight: 500;
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(244, 241, 234, 0.92);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--ink);
  box-shadow: 0 10px 24px -10px rgba(21, 12, 55, 0.45);
  transition: background 0.2s ease, transform 0.2s ease;
  z-index: 2;
}
.carousel-btn:hover {
  background: var(--cream);
  transform: translateY(-50%) scale(1.06);
}
.carousel-btn svg {
  width: 20px;
  height: 20px;
}
@media (max-width: 600px) {
  .carousel-btn {
    width: 38px;
    height: 38px;
  }
}

.carousel-prev {
  left: 12px;
}
@media (min-width: 640px) {
  .carousel-prev {
    left: 18px;
  }
}

.carousel-next {
  right: 12px;
}
@media (min-width: 640px) {
  .carousel-next {
    right: 18px;
  }
}

.carousel-dots {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-top: 18px;
}
.carousel-dots button {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: none;
  background: var(--hairline);
  cursor: pointer;
  padding: 0;
  transition: background 0.25s ease, width 0.25s ease;
}
.carousel-dots button.active {
  background: var(--green-500);
  width: 22px;
  border-radius: 4px;
}

.contact {
  background: var(--violet-800);
  color: var(--cream);
  position: relative;
  overflow: hidden;
}
.contact::after {
  content: "";
  position: absolute;
  right: -120px;
  top: -120px;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(34, 224, 142, 0.16), transparent 70%);
  pointer-events: none;
}
.contact .eyebrow {
  color: var(--green-500);
}
.contact h2 {
  font-size: clamp(24px, 4.8vw, 36px);
  font-weight: 600;
  line-height: 1.15;
  margin-top: 14px;
}
.contact p.lead {
  margin-top: 16px;
  color: var(--steel-light);
  font-size: 15px;
  line-height: 1.6;
  max-width: 40ch;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  position: relative;
  z-index: 1;
}
@media (min-width: 900px) {
  .contact-grid {
    grid-template-columns: 0.9fr 1.1fr;
    gap: 48px;
  }
}

.contact-info {
  margin-top: 32px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.contact-info a {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  font-size: 14.5px;
  min-height: 44px;
}
.contact-info svg {
  color: var(--green-500);
  flex-shrink: 0;
  margin-top: 2px;
}
.contact-info span small {
  display: block;
  color: var(--steel-light);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-family: "IBM Plex Mono", monospace;
  margin-bottom: 3px;
}

form.contact-form {
  background: var(--cream);
  color: var(--ink);
  padding: clamp(22px, 5vw, 36px);
  border-radius: 2px;
  width: 100%;
}
form.contact-form .btn-primary {
  width: 100%;
  justify-content: center;
  margin-top: 4px;
}

.field {
  margin-bottom: 16px;
}
.field label {
  display: block;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-family: "IBM Plex Mono", monospace;
  color: var(--steel);
  margin-bottom: 8px;
}
.field input, .field textarea {
  width: 100%;
  border: 1px solid var(--hairline);
  background: transparent;
  padding: 12px 14px;
  font-family: "Inter", sans-serif;
  font-size: 15px;
  color: var(--ink);
  border-radius: 1px;
}
.field input:focus, .field textarea:focus {
  outline: 2px solid var(--violet-700);
  outline-offset: 1px;
}
.field textarea {
  min-height: 110px;
  resize: vertical;
}

footer {
  background: var(--violet-950);
  color: var(--steel-light);
  padding: 48px 0 24px;
}

.footer-top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 32px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--hairline-dark);
}

.footer-brand {
  max-width: 100%;
}
.footer-brand .logo-word {
  color: var(--cream);
}
.footer-brand p {
  font-size: 13.5px;
  margin-top: 12px;
  max-width: 32ch;
  line-height: 1.6;
  color: var(--steel-light);
}

.footer-links {
  display: flex;
  gap: clamp(32px, 8vw, 64px);
  flex-wrap: wrap;
}

.footer-col h4 {
  font-family: "IBM Plex Mono", monospace;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--green-500);
  margin-bottom: 14px;
  font-weight: 500;
}
.footer-col a, .footer-col span {
  display: block;
  font-size: 13.5px;
  margin-bottom: 9px;
  color: var(--steel-light);
  word-break: break-word;
}
.footer-col a:hover {
  color: var(--cream);
}

.social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border: 1px solid var(--hairline-dark);
  border-radius: 50%;
  color: var(--steel-light);
  margin-top: 16px;
  margin-right: 10px;
  transition: color 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}
.social-icon:hover {
  color: var(--green-500);
  border-color: var(--green-500);
  transform: translateY(-2px);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 22px;
  font-size: 12.5px;
}
.footer-bottom a {
  color: var(--steel-light);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.footer-bottom a:hover {
  color: var(--cream);
}

.mobile-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(21, 12, 55, 0.55);
  z-index: 199;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.mobile-backdrop.open {
  opacity: 1;
  pointer-events: auto;
}

.mobile-panel {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(320px, 85vw);
  background: var(--violet-950);
  color: var(--cream);
  z-index: 200;
  display: flex;
  flex-direction: column;
  padding: 24px 24px;
  padding-top: calc(24px + env(safe-area-inset-top));
  padding-bottom: calc(24px + env(safe-area-inset-bottom));
  overflow-y: auto;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.2, 0.7, 0.3, 1);
  box-shadow: -16px 0 40px -20px rgba(0, 0, 0, 0.5);
}
.mobile-panel.open {
  transform: translateX(0);
}
.mobile-panel .close {
  align-self: flex-end;
  background: none;
  border: none;
  color: var(--cream);
  font-size: 22px;
  cursor: pointer;
  min-width: 44px;
  min-height: 44px;
}
.mobile-panel a {
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(19px, 6vw, 22px);
  padding: 14px 0;
  border-bottom: 1px solid var(--hairline-dark);
}
.mobile-panel .btn {
  margin-top: 24px;
}

.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 250;
  background: var(--violet-950);
  color: var(--cream);
  padding: 18px 20px calc(18px + env(safe-area-inset-bottom));
  border-top: 1px solid var(--hairline-dark);
  transform: translateY(110%);
  transition: transform 0.4s cubic-bezier(0.2, 0.7, 0.3, 1);
}
.cookie-banner.show {
  transform: translateY(0);
}

.cookie-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.cookie-inner p {
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--steel-light);
  margin: 0;
  flex: 1 1 260px;
}
.cookie-inner a {
  color: var(--green-500);
  text-decoration: underline;
  text-underline-offset: 2px;
}
@media (max-width: 480px) {
  .cookie-inner {
    flex-direction: column;
    align-items: stretch;
  }
}

.cookie-actions {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
  flex-wrap: wrap;
}
.cookie-actions .btn {
  padding: 10px 18px;
  min-height: 40px;
  font-size: 13px;
}
@media (max-width: 480px) {
  .cookie-actions .btn {
    flex: 1;
  }
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s cubic-bezier(0.2, 0.6, 0.2, 1), transform 0.7s cubic-bezier(0.2, 0.6, 0.2, 1);
}
.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

.reveal-group .reveal:nth-child(1) {
  transition-delay: 0s;
}
.reveal-group .reveal:nth-child(2) {
  transition-delay: 0.08s;
}
.reveal-group .reveal:nth-child(3) {
  transition-delay: 0.16s;
}
.reveal-group .reveal:nth-child(4) {
  transition-delay: 0.24s;
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
.fade-section {
  will-change: opacity;
}

@media (max-width: 600px) {
  .wrap, .header-inner {
    padding-left: 18px;
    padding-right: 18px;
  }
  .hero-ctas .btn {
    width: 100%;
  }
  .header-inner {
    padding-top: 14px;
    padding-bottom: 14px;
    gap: 8px;
  }
}
@media (max-width: 420px) {
  .logo-word {
    font-size: 16px;
  }
  .burger {
    padding: 8px;
    min-width: 40px;
    min-height: 40px;
  }
  .burger span {
    width: 20px;
    margin: 4px 0;
  }
  .eyebrow {
    font-size: 10.5px;
  }
}
@media (min-width: 1600px) {
  :root {
    --maxw:1320px;
  }
}
@media (max-width: 979px) {
  header {
    background: rgba(238, 246, 240, 0.96);
    backdrop-filter: blur(12px);
  }
  .header-inner {
    width: 100%;
    min-height: 74px;
    padding: 14px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
  .header-inner > .logo-word {
    font-size: 19px;
    line-height: 0.92;
  }
  header .mainnav,
  header .header-lang,
  header .navcta {
    display: none !important;
  }
  .header-right {
    margin-left: auto;
    gap: 0;
  }
  .burger {
    display: inline-flex !important;
    width: 48px;
    height: 48px;
    padding: 0;
    border: 1px solid var(--hairline);
    background: transparent;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
  }
  .burger span {
    width: 22px;
    height: 2px;
    margin: 0;
    background: var(--ink);
    transition: transform 0.25s ease, opacity 0.25s ease;
  }
  .mobile-panel {
    width: min(380px, 88vw);
    padding: 0 24px 28px;
  }
  .mobile-panel-top {
    min-height: 82px;
    padding-top: env(safe-area-inset-top);
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid var(--hairline-dark);
    margin-bottom: 14px;
    flex-shrink: 0;
  }
  .mobile-panel-logo {
    color: var(--cream);
    font-size: 19px;
    line-height: 0.92;
  }
  .mobile-panel .close {
    align-self: center;
    width: 48px;
    height: 48px;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
  .mobile-panel > a:not(.logo-word) {
    width: 100%;
    padding: 17px 0;
    font-size: clamp(20px, 5vw, 24px);
  }
  .mobile-panel .panel-lang {
    margin-top: 26px;
  }
  .mobile-panel .btn {
    margin-top: 22px;
  }
  body.menu-open .burger span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }
  body.menu-open .burger span:nth-child(2) {
    opacity: 0;
  }
  body.menu-open .burger span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }
}
@media (max-width: 600px) {
  .header-inner {
    padding: 12px 18px;
    min-height: 70px;
  }
  .header-inner > .logo-word {
    font-size: 18px;
  }
}
@media (max-width: 420px) {
  .header-inner > .logo-word {
    font-size: 17px;
  }
  .burger {
    width: 44px;
    height: 44px;
  }
}
.cookie-overlay {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  background: rgba(21, 12, 55, 0.68);
  backdrop-filter: blur(5px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}
.cookie-overlay.show {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
.cookie-overlay.show .cookie-banner.cookie-required {
  transform: translateY(0);
}
@media (max-width: 600px) {
  .cookie-overlay {
    align-items: flex-end;
  }
}

.cookie-banner.cookie-required {
  position: relative;
  left: auto;
  right: auto;
  bottom: auto;
  width: min(760px, 100% - 32px);
  margin: 0 16px 24px;
  transform: translateY(30px);
  border: 1px solid var(--hairline-dark);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.35);
  transition: transform 0.35s cubic-bezier(0.2, 0.7, 0.3, 1);
}
.cookie-banner.cookie-required .cookie-inner {
  align-items: center;
}
.cookie-banner.cookie-required .cookie-content {
  flex: 1 1 360px;
}
.cookie-banner.cookie-required .cookie-actions {
  flex: 0 0 auto;
}
.cookie-banner.cookie-required .btn {
  white-space: nowrap;
  min-width: 190px;
}
@media (max-width: 600px) {
  .cookie-banner.cookie-required {
    width: calc(100% - 24px);
    margin: 0 12px 12px;
    padding: 20px;
  }
  .cookie-banner.cookie-required .cookie-inner {
    flex-direction: column;
    align-items: stretch;
  }
  .cookie-banner.cookie-required .cookie-actions, .cookie-banner.cookie-required .btn {
    width: 100%;
  }
}

.cookie-content h3 {
  margin: 0 0 8px;
  font-family: "Space Grotesk", sans-serif;
  font-size: 20px;
  color: var(--cream);
}
@media (max-width: 600px) {
  .cookie-content h3 {
    font-size: 19px;
  }
}

body.cookies-locked > *:not(.cookie-overlay) {
  pointer-events: none;
  user-select: none;
}
body.cookies-locked .cookie-overlay {
  pointer-events: auto;
}

@media (pointer: fine) {
  body.custom-cursor-active, body.custom-cursor-active a, body.custom-cursor-active button {
    cursor: none;
  }
}
.cursor-dot {
  position: fixed;
  top: 0;
  left: 0;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green-500);
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  opacity: 0;
  transition: opacity 0.2s ease;
}
.cursor-dot.show {
  opacity: 1;
}

.cursor-ring {
  position: fixed;
  top: 0;
  left: 0;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid var(--green-500);
  pointer-events: none;
  z-index: 9998;
  transform: translate(-50%, -50%);
  opacity: 0;
  transition: opacity 0.2s ease, width 0.25s ease, height 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}
.cursor-ring.show {
  opacity: 1;
}
.cursor-ring.hovering {
  width: 54px;
  height: 54px;
  background: rgba(34, 224, 142, 0.1);
  border-color: var(--green-500);
}
.cursor-ring.on-dark {
  border-color: var(--cream);
}
.cursor-ring.on-dark.hovering {
  background: rgba(244, 241, 234, 0.12);
}

/* ===== Botão Área do Funcionário ===== */
.btn-area {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: transparent;
  color: var(--violet-700);
  border: 1px solid var(--violet-700);
  transition: background .2s ease, color .2s ease, border-color .2s ease;
}
.btn-area svg { flex-shrink: 0; }
.btn-area:hover {
  background: var(--violet-700);
  color: var(--cream);
  border-color: var(--violet-700);
}
.mobile-panel .btn-area {
  justify-content: center;
  width: 100%;
  margin-top: 10px;
}

/* ===== Crédito de desenvolvimento no rodapé ===== */
.footer-bottom .dev-credit {
  color: var(--steel-light);
  text-decoration: none;
  font-size: .82rem;
  transition: color .2s ease;
}
.footer-bottom .dev-credit:hover { color: var(--green-400); }

/* ============================================================
   GALERIA DE TRABALHOS — ZINCO PURO SOLDADO
   ============================================================ */
.work-gallery-section {
  background: #eeebe4;
}

.work-gallery-grid {
  display: grid;
  grid-template-columns: 1.55fr .75fr;
  gap: 18px;
  align-items: start;
}

.work-gallery-card {
  background: var(--cream);
  border: 1px solid var(--hairline);
  padding: clamp(20px, 3vw, 30px);
  min-width: 0;
}

.work-gallery-card-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 18px;
  margin-bottom: 12px;
}

.work-gallery-number {
  display: block;
  font-family: "IBM Plex Mono", monospace;
  color: var(--violet-700);
  font-size: 11px;
  letter-spacing: .08em;
  margin-bottom: 8px;
}

.work-gallery-card h3 {
  font-size: clamp(18px, 2.4vw, 25px);
  line-height: 1.15;
  font-weight: 600;
  max-width: 24ch;
}

.work-gallery-material {
  flex: 0 0 auto;
  padding: 7px 10px;
  border: 1px solid rgba(34, 224, 142, .55);
  color: #087c4c;
  font-family: "IBM Plex Mono", monospace;
  font-size: 10px;
  line-height: 1.2;
  text-transform: uppercase;
  letter-spacing: .06em;
  background: rgba(34, 224, 142, .07);
}

.work-gallery-description {
  color: var(--steel);
  font-size: 14px;
  line-height: 1.65;
  max-width: 72ch;
  margin-bottom: 20px;
}

.work-gallery-photos {
  display: grid;
  grid-template-columns: 1.45fr 1fr 1fr;
  grid-auto-rows: 170px;
  gap: 8px;
}

.work-gallery-photo {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  overflow: hidden;
  cursor: zoom-in;
  background: #ddd;
}

.work-gallery-photo-large {
  grid-row: span 2;
}

.work-gallery-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .55s cubic-bezier(.2,.7,.3,1), filter .35s ease;
}

.work-gallery-photo::after {
  content: "↗";
  position: absolute;
  right: 10px;
  bottom: 10px;
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  background: rgba(21, 12, 55, .82);
  color: var(--cream);
  font-size: 15px;
  opacity: 0;
  transform: translateY(5px);
  transition: opacity .25s ease, transform .25s ease;
}

.work-gallery-photo:hover img {
  transform: scale(1.045);
  filter: saturate(1.04);
}

.work-gallery-photo:hover::after,
.work-gallery-photo:focus-visible::after {
  opacity: 1;
  transform: translateY(0);
}

.work-gallery-photo:focus-visible {
  outline: 2px solid var(--green-500);
  outline-offset: 2px;
}

.work-gallery-process-photo {
  height: 520px;
}

.work-gallery-process-photo img {
  object-position: center;
}

.work-gallery-note {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--hairline);
  color: var(--steel);
  font-size: 12.5px;
  line-height: 1.55;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 30px;
  background: rgba(8, 5, 22, .92);
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s ease;
}

.lightbox.open {
  opacity: 1;
  pointer-events: auto;
}

.lightbox img {
  max-width: min(1200px, 94vw);
  max-height: 90vh;
  width: auto;
  height: auto;
  object-fit: contain;
  box-shadow: 0 30px 80px rgba(0,0,0,.5);
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 22px;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(244,241,234,.35);
  background: rgba(21,12,55,.65);
  color: var(--cream);
  cursor: pointer;
  font-size: 18px;
  z-index: 2;
}

.lightbox-close:hover {
  background: var(--green-500);
  color: var(--violet-950);
}

body.lightbox-open {
  overflow: hidden;
}

@media (max-width: 900px) {
  .work-gallery-grid {
    grid-template-columns: 1fr;
  }

  .work-gallery-process-photo {
    height: min(620px, 75vw);
  }
}

@media (max-width: 640px) {
  .work-gallery-card-head {
    flex-direction: column;
    gap: 12px;
  }

  .work-gallery-material {
    align-self: flex-start;
  }

  .work-gallery-photos {
    grid-template-columns: 1fr 1fr;
    grid-auto-rows: 145px;
  }

  .work-gallery-photo-large {
    grid-column: span 2;
    grid-row: span 1;
  }

  .work-gallery-process-photo {
    height: 440px;
  }

  .lightbox {
    padding: 18px;
  }

  .lightbox img {
    max-width: 96vw;
    max-height: 82vh;
  }
}

.work-gallery-feature {
  grid-column: 1 / -1;
}

.work-gallery-photos-four {
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 210px;
}

@media (max-width: 900px) {
  .work-gallery-feature {
    grid-column: auto;
  }
}

@media (max-width: 640px) {
  .work-gallery-photos-four {
    grid-template-columns: 1fr 1fr;
    grid-auto-rows: 155px;
  }
}

/* ============================================================
   Página dedicada — Galeria de trabalhos
   ============================================================ */
.gallery-page-hero {
  min-height: 330px;
  background: var(--violet-950);
  position: relative;
  overflow: hidden;
}

.gallery-page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 78% 30%, rgba(34,224,142,.12), transparent 34%),
              radial-gradient(circle at 20% 70%, rgba(255,255,255,.06), transparent 30%);
  pointer-events: none;
}

.gallery-page-hero .hero-inner {
  position: relative;
  z-index: 1;
  padding-top: 100px;
  padding-bottom: 78px;
}

.gallery-page-hero h1 {
  max-width: 12ch;
}

.gallery-page-hero .lead {
  max-width: 68ch;
}

@media (max-width: 640px) {
  .gallery-page-hero { min-height: 300px; }
  .gallery-page-hero .hero-inner { padding-top: 82px; padding-bottom: 58px; }
}
