:root {
  --caramel: #e7b04a;
  --caramel-dark: #985b08;
  --brown: #4a2912;
  --brown-soft: #704526;
  --sand: #e8d7bc;
  --latte: #f0e4d2;
  --cream: #f7f0e5;
  --paper: #fffdf9;
  --ink: #2b1b11;
  --muted: #705e51;
  --line: rgba(74, 41, 18, 0.14);
  --radius-lg: 32px;
  --radius-md: 22px;
  --shadow: 0 24px 70px rgba(74, 41, 18, 0.13);
  --container: min(1180px, calc(100% - 40px));
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "DM Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
}

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

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: 3px solid #1f6b62;
  outline-offset: 4px;
}

.container {
  width: var(--container);
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  color: white;
  background: var(--brown);
  border-radius: 8px;
  transform: translateY(-150%);
  transition: transform 180ms ease;
}

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

.site-header {
  position: fixed;
  z-index: 100;
  top: 0;
  left: 0;
  width: 100%;
  border-bottom: 1px solid transparent;
  transition: background 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.site-header.scrolled {
  background: rgba(255, 253, 249, 0.94);
  border-color: var(--line);
  box-shadow: 0 10px 30px rgba(74, 41, 18, 0.07);
  backdrop-filter: blur(16px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 126px;
}

.brand {
  display: inline-flex;
  align-items: center;
  min-width: 200px;
  min-height: 120px;
}

.brand-logo-viewport {
  display: flex;
  width: 200px;
  height: 120px;
  align-items: center;
  justify-content: center;
}

.brand-logo {
  position: static;
  width: 200px;
  max-width: 100%;
  max-height: 120px;
  height: auto;
  object-fit: contain;
}

.main-nav {
  display: flex;
  gap: 22px;
  align-items: center;
  color: var(--brown-soft);
  font-size: 0.94rem;
  font-weight: 600;
}

.main-nav > a:not(.nav-cta) {
  position: relative;
  padding: 10px 0;
}

.main-nav > a:not(.nav-cta)::after {
  position: absolute;
  right: 0;
  bottom: 4px;
  left: 0;
  height: 2px;
  content: "";
  background: var(--caramel-dark);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 180ms ease;
}

.main-nav > a:not(.nav-cta):hover::after,
.main-nav > a:not(.nav-cta):focus-visible::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  color: white;
  background: var(--brown);
  border-radius: 999px;
  box-shadow: 0 10px 24px rgba(74, 41, 18, 0.16);
  transition: transform 180ms ease, background 180ms ease;
}

.nav-cta:hover {
  background: #311a0b;
  transform: translateY(-2px);
}

.menu-toggle {
  display: none;
  width: 48px;
  height: 48px;
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 12px;
}

.menu-toggle span {
  display: block;
  width: 23px;
  height: 2px;
  margin: 5px auto;
  background: var(--brown);
  border-radius: 10px;
  transition: transform 180ms ease, opacity 180ms ease;
}

.hero {
  position: relative;
  min-height: 790px;
  overflow: hidden;
  padding: 150px 0 96px;
  background:
    radial-gradient(circle at 82% 12%, rgba(231, 176, 74, 0.25), transparent 24%),
    linear-gradient(145deg, #fffdf9 8%, #f7efe3 100%);
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  gap: 80px;
  align-items: center;
}

.hero-copy {
  max-width: 650px;
}

.eyebrow {
  display: flex;
  gap: 10px;
  align-items: center;
  margin: 0 0 22px;
  color: var(--caramel-dark);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  line-height: 1.3;
  text-transform: uppercase;
}

.eyebrow > span {
  width: 28px;
  height: 2px;
  background: currentColor;
}

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

h1,
h2,
h3 {
  font-family: "Manrope", sans-serif;
}

h1 {
  max-width: 700px;
  margin-bottom: 26px;
  color: var(--brown);
  font-size: clamp(3rem, 6vw, 5.45rem);
  font-weight: 800;
  letter-spacing: -0.065em;
  line-height: 1.01;
}

h1 em {
  position: relative;
  color: var(--caramel-dark);
  font-style: normal;
}

h1 em::after {
  position: absolute;
  right: 0;
  bottom: 2px;
  left: 0;
  height: 9px;
  content: "";
  background: rgba(231, 176, 74, 0.23);
  border-radius: 50%;
  transform: rotate(-1deg);
}

.hero-text {
  max-width: 590px;
  margin-bottom: 32px;
  color: var(--muted);
  font-size: 1.13rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: center;
}

.button {
  display: inline-flex;
  gap: 12px;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  padding: 0 25px;
  border-radius: 999px;
  font-weight: 700;
  line-height: 1.2;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.button span {
  font-size: 1.2em;
}

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

.button-primary {
  color: white;
  background: var(--brown);
  box-shadow: 0 16px 28px rgba(74, 41, 18, 0.2);
}

.button-primary:hover {
  background: #311a0b;
  box-shadow: 0 20px 34px rgba(74, 41, 18, 0.26);
}

.text-link {
  display: inline-flex;
  gap: 9px;
  align-items: center;
  min-height: 48px;
  color: var(--brown);
  font-weight: 700;
  border-bottom: 1px solid rgba(74, 41, 18, 0.35);
}

.trust-list {
  display: flex;
  flex-wrap: wrap;
  gap: 9px 22px;
  margin: 34px 0 0;
  padding: 0;
  color: var(--muted);
  font-size: 0.86rem;
  list-style: none;
}

.trust-list li {
  display: flex;
  gap: 7px;
  align-items: center;
}

.trust-list li span {
  display: inline-grid;
  width: 19px;
  height: 19px;
  color: var(--brown);
  background: var(--caramel);
  border-radius: 50%;
  place-items: center;
  font-size: 0.7rem;
  font-weight: 800;
}

.hero-visual {
  position: relative;
  justify-self: end;
  width: min(100%, 520px);
}

.image-frame {
  position: relative;
  z-index: 2;
  overflow: hidden;
  padding: 12px;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 50% 50% 24% 24% / 36% 36% 18% 18%;
  box-shadow: var(--shadow);
  backdrop-filter: blur(7px);
}

.image-frame img {
  width: 100%;
  aspect-ratio: 0.91;
  object-fit: cover;
  object-position: 60% center;
  border-radius: inherit;
  background: var(--sand);
}

.image-caption {
  position: absolute;
  right: 30px;
  bottom: 28px;
  left: 30px;
  display: flex;
  gap: 13px;
  align-items: center;
  padding: 15px 17px;
  color: var(--brown);
  background: rgba(255, 253, 249, 0.91);
  border: 1px solid rgba(255, 255, 255, 0.95);
  border-radius: 18px;
  box-shadow: 0 14px 35px rgba(74, 41, 18, 0.13);
  backdrop-filter: blur(12px);
}

.caption-icon {
  display: inline-grid;
  flex: 0 0 auto;
  width: 42px;
  height: 42px;
  color: var(--brown);
  background: var(--caramel);
  border-radius: 50%;
  place-items: center;
  font-size: 1.1rem;
}

.image-caption strong,
.image-caption small {
  display: block;
}

.image-caption strong {
  font-family: "Manrope", sans-serif;
  font-size: 0.94rem;
}

.image-caption small {
  color: var(--muted);
  font-size: 0.73rem;
}

.orbit {
  position: absolute;
  z-index: 1;
  border: 1px solid rgba(74, 41, 18, 0.16);
  border-radius: 50%;
}

.orbit-one {
  top: -42px;
  right: -42px;
  width: 220px;
  height: 220px;
}

.orbit-two {
  bottom: -28px;
  left: -50px;
  width: 160px;
  height: 160px;
  border-color: rgba(231, 176, 74, 0.48);
}

.hero-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(2px);
}

.hero-blob-one {
  top: 100px;
  right: -140px;
  width: 390px;
  height: 390px;
  background: rgba(231, 176, 74, 0.13);
}

.hero-blob-two {
  bottom: -200px;
  left: -210px;
  width: 480px;
  height: 480px;
  background: rgba(232, 215, 188, 0.38);
}

.section {
  padding: 110px 0;
}

.main-nav a[aria-current="page"] {
  color: var(--brown);
}

.about-preview {
  background: var(--paper);
}

.about-preview-grid,
.page-hero-grid,
.social-impact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 90px;
  align-items: start;
}

.about-preview h2,
.story-main h2,
.institution-card h2,
.social-impact h2 {
  color: var(--brown);
  font-size: clamp(2.15rem, 4vw, 3.6rem);
  letter-spacing: -0.05em;
  line-height: 1.08;
}

.about-preview-copy > p,
.story-main > p,
.page-lead,
.social-impact-grid p {
  color: var(--muted);
  font-size: 1.04rem;
}

.about-preview-copy .button {
  margin-top: 12px;
}

.inner-page .site-header {
  position: fixed;
}

.page-hero {
  padding: 270px 0 100px;
  background: radial-gradient(circle at 85% 20%, rgba(231, 176, 74, 0.25), transparent 28%), linear-gradient(145deg, #fffdf9 8%, #f7efe3 100%);
}

.page-hero h1,
.construction-content h1 {
  font-size: clamp(3rem, 6vw, 5.2rem);
}

.page-lead {
  align-self: end;
  max-width: 570px;
  margin-bottom: 12px;
}

.story-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 70px;
  align-items: start;
}

.story-main > p {
  max-width: 720px;
}

.institution-card {
  padding: 42px;
  color: white;
  background: var(--brown);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.institution-card h2 { color: white; font-size: clamp(1.8rem, 3vw, 2.65rem); }
.institution-list { margin: 28px 0 0; padding: 0; list-style: none; border-top: 1px solid rgba(255,255,255,.15); }
.institution-list li { display: flex; gap: 16px; padding: 20px 0; border-bottom: 1px solid rgba(255,255,255,.15); }
.institution-list li > span { color: var(--caramel); font-family: "Manrope", sans-serif; font-size: .75rem; font-weight: 800; }
.institution-list strong,.institution-list small { display: block; }
.institution-list small { margin-top: 3px; color: rgba(255,255,255,.68); }

.social-impact { color: white; background: var(--brown); }
.social-impact h2 { color: white; }
.social-impact-grid p { color: rgba(255,255,255,.75); }

.construction-page {
  position: relative;
  display: grid;
  min-height: 760px;
  overflow: hidden;
  padding: 250px 0 100px;
  background: radial-gradient(circle at 70% 30%, rgba(231,176,74,.28), transparent 26%), linear-gradient(145deg,#fffdf9,#f0e4d2);
  place-items: center;
}

.construction-content { position: relative; z-index: 2; max-width: 790px; text-align: center; }
.construction-content .eyebrow { justify-content: center; }
.construction-content > p:not(.eyebrow) { max-width: 660px; margin: 0 auto 30px; color: var(--muted); font-size: 1.12rem; }
.construction-mark { display: grid; width: 72px; height: 72px; margin: 0 auto 24px; background: var(--caramel); border-radius: 50%; place-items: center; font-size: 1.65rem; }
.construction-actions { display: flex; flex-wrap: wrap; gap: 24px; justify-content: center; align-items: center; }
.construction-orbit { position: absolute; border: 1px solid rgba(74,41,18,.14); border-radius: 50%; }
.construction-orbit-one { top: 120px; right: -80px; width: 310px; height: 310px; }
.construction-orbit-two { bottom: -120px; left: -100px; width: 360px; height: 360px; }

@media (max-width: 980px) {
  .about-preview-grid,.page-hero-grid,.story-grid,.social-impact-grid { grid-template-columns: 1fr; gap: 32px; }
}

.section-heading {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 80px;
  align-items: end;
  margin-bottom: 52px;
}

.section-heading h2,
.process h2,
.contact h2 {
  margin-bottom: 0;
  color: var(--brown);
  font-size: clamp(2.3rem, 4.5vw, 4rem);
  font-weight: 800;
  letter-spacing: -0.055em;
  line-height: 1.08;
}

.section-heading > p {
  max-width: 520px;
  margin-bottom: 5px;
  color: var(--muted);
  font-size: 1.04rem;
}

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

.solution-card {
  position: relative;
  display: flex;
  min-height: 420px;
  overflow: hidden;
  padding: 34px;
  background: var(--cream);
  border: 1px solid rgba(74, 41, 18, 0.08);
  border-radius: var(--radius-md);
  flex-direction: column;
  transition: transform 220ms ease, box-shadow 220ms ease, background 220ms ease;
}

.solution-card:hover {
  z-index: 2;
  background: #fff9ef;
  box-shadow: 0 20px 50px rgba(74, 41, 18, 0.11);
  transform: translateY(-7px);
}

.solution-card.featured {
  color: white;
  background: var(--brown);
  border-color: var(--brown);
}

.solution-card.featured:hover {
  background: #3d210f;
}

.solution-number {
  position: absolute;
  top: 24px;
  right: 26px;
  color: rgba(74, 41, 18, 0.34);
  font-family: "Manrope", sans-serif;
  font-size: 0.8rem;
  font-weight: 800;
}

.featured .solution-number {
  color: rgba(255, 255, 255, 0.42);
}

.solution-symbol {
  position: relative;
  width: 92px;
  height: 92px;
  margin-bottom: 42px;
  background: rgba(231, 176, 74, 0.22);
  border-radius: 50%;
}

.featured .solution-symbol {
  background: rgba(231, 176, 74, 0.16);
}

.orthosis-symbol i:first-child,
.prosthesis-symbol i:first-child {
  position: absolute;
  top: 18px;
  left: 36px;
  width: 20px;
  height: 56px;
  background: var(--caramel);
  border-radius: 10px 10px 6px 6px;
  transform: rotate(8deg);
}

.orthosis-symbol i:last-child,
.prosthesis-symbol i:last-child {
  position: absolute;
  top: 33px;
  left: 29px;
  width: 34px;
  height: 6px;
  border: 2px solid currentColor;
  border-radius: 6px;
  transform: rotate(8deg);
}

.prosthesis-symbol i:first-child {
  height: 47px;
  border-radius: 10px 10px 3px 3px;
}

.prosthesis-symbol i:last-child {
  top: 61px;
  left: 41px;
  width: 28px;
  height: 9px;
  background: var(--caramel);
  border: 0;
  border-radius: 2px 9px 9px 2px;
  transform: rotate(8deg);
}

.wheelchair-symbol i {
  position: absolute;
  bottom: 17px;
  width: 31px;
  height: 31px;
  border: 5px solid var(--caramel);
  border-radius: 50%;
}

.wheelchair-symbol i:first-child { left: 12px; }
.wheelchair-symbol i:nth-child(2) { right: 12px; }

.wheelchair-symbol b {
  position: absolute;
  top: 25px;
  left: 28px;
  width: 41px;
  height: 24px;
  border-left: 4px solid currentColor;
  border-bottom: 4px solid currentColor;
  transform: skewX(-12deg);
}

.solution-card h3 {
  margin-bottom: 13px;
  color: var(--brown);
  font-size: 1.65rem;
  letter-spacing: -0.035em;
}

.solution-card.featured h3 {
  color: white;
}

.solution-card p {
  margin-bottom: 28px;
  color: var(--muted);
  font-size: 0.96rem;
}

.solution-card.featured p {
  color: rgba(255, 255, 255, 0.73);
}

.solution-card a {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  align-self: flex-start;
  margin-top: auto;
  font-size: 0.9rem;
  font-weight: 700;
}

.solution-card a span {
  color: var(--caramel-dark);
  font-size: 1.18rem;
  transition: transform 180ms ease;
}

.solution-card.featured a span {
  color: var(--caramel);
}

.solution-card a:hover span {
  transform: translateX(4px);
}

.technology {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 4% 90%, rgba(231, 176, 74, 0.2), transparent 24%),
    var(--latte);
}

.technology::after {
  position: absolute;
  top: 80px;
  right: -190px;
  width: 390px;
  height: 390px;
  content: "";
  border: 1px solid rgba(74, 41, 18, 0.12);
  border-radius: 50%;
  box-shadow: 0 0 0 60px rgba(74, 41, 18, 0.025);
}

.technology .container {
  position: relative;
  z-index: 2;
}

.technology-grid {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 24px;
  align-items: stretch;
}

.cat-card,
.simulation-card,
.simulation-visual {
  margin: 0;
}

.cat-card {
  position: relative;
  min-height: 690px;
  overflow: hidden;
  background: #c9ad86;
  border: 1px solid rgba(74, 41, 18, 0.11);
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 55px rgba(74, 41, 18, 0.13);
}

.cat-card > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% center;
}

.cat-card::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 42%;
  content: "";
  background: linear-gradient(transparent, rgba(44, 24, 12, 0.65));
}

.cat-card figcaption {
  position: absolute;
  z-index: 2;
  right: 26px;
  bottom: 26px;
  left: 26px;
  display: flex;
  gap: 13px;
  align-items: center;
  padding: 17px;
  color: var(--brown);
  background: rgba(255, 253, 249, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.75);
  border-radius: 18px;
  box-shadow: 0 15px 32px rgba(44, 24, 12, 0.18);
  backdrop-filter: blur(12px);
}

.cat-card figcaption > span {
  display: grid;
  flex: 0 0 auto;
  width: 42px;
  height: 42px;
  background: var(--caramel);
  border-radius: 50%;
  place-items: center;
}

.cat-card figcaption strong,
.cat-card figcaption small {
  display: block;
}

.cat-card figcaption strong {
  font-family: "Manrope", sans-serif;
  font-size: 0.94rem;
}

.cat-card figcaption small {
  color: var(--muted);
  font-size: 0.76rem;
}

.simulation-card {
  overflow: hidden;
  color: white;
  background: var(--brown);
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 55px rgba(74, 41, 18, 0.18);
}

.simulation-visual {
  position: relative;
  height: 375px;
  overflow: hidden;
  background: #1c2330;
}

.simulation-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 42%;
}

.simulation-badge {
  position: absolute;
  top: 22px;
  left: 22px;
  padding: 9px 13px;
  color: var(--brown);
  background: var(--caramel);
  border-radius: 999px;
  box-shadow: 0 9px 20px rgba(0, 0, 0, 0.18);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.simulation-copy {
  padding: 34px 38px 38px;
}

.tech-kicker {
  margin-bottom: 10px;
  color: var(--caramel);
  font-size: 0.73rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.simulation-copy h3 {
  max-width: 640px;
  margin-bottom: 15px;
  color: white;
  font-size: clamp(1.65rem, 3vw, 2.35rem);
  letter-spacing: -0.045em;
  line-height: 1.12;
}

.simulation-copy > p:not(.tech-kicker) {
  max-width: 680px;
  margin-bottom: 25px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.94rem;
}

.technology-points {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid rgba(255, 255, 255, 0.13);
  border-left: 1px solid rgba(255, 255, 255, 0.13);
}

.technology-points li {
  display: flex;
  gap: 10px;
  align-items: center;
  min-height: 62px;
  padding: 12px 15px;
  color: rgba(255, 255, 255, 0.84);
  border-right: 1px solid rgba(255, 255, 255, 0.13);
  border-bottom: 1px solid rgba(255, 255, 255, 0.13);
  font-size: 0.82rem;
}

.technology-points li span {
  color: var(--caramel);
  font-family: "Manrope", sans-serif;
  font-size: 0.68rem;
  font-weight: 800;
}

.process {
  position: relative;
  overflow: hidden;
  color: white;
  background: var(--brown);
}

.process::before {
  position: absolute;
  top: -280px;
  right: -190px;
  width: 610px;
  height: 610px;
  content: "";
  border: 1px solid rgba(231, 176, 74, 0.16);
  border-radius: 50%;
  box-shadow: 0 0 0 70px rgba(231, 176, 74, 0.025), 0 0 0 140px rgba(231, 176, 74, 0.02);
}

.process-grid {
  position: relative;
  display: grid;
  grid-template-columns: 0.84fr 1.16fr;
  gap: 110px;
  align-items: start;
}

.eyebrow-light {
  color: var(--caramel);
}

.process h2 {
  margin-bottom: 24px;
  color: white;
}

.process-intro > p:not(.eyebrow) {
  max-width: 500px;
  margin-bottom: 30px;
  color: rgba(255, 255, 255, 0.72);
}

.button-light {
  color: var(--brown);
  background: var(--caramel);
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.16);
}

.button-light:hover {
  background: #f0bc58;
}

.process-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.process-list li {
  display: grid;
  grid-template-columns: 55px 1fr;
  gap: 20px;
  padding: 26px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.process-list li:last-child {
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.process-list > li > span {
  color: var(--caramel);
  font-family: "Manrope", sans-serif;
  font-size: 0.78rem;
  font-weight: 800;
}

.process-list h3 {
  margin-bottom: 6px;
  color: white;
  font-size: 1.18rem;
}

.process-list p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.92rem;
}

.contact {
  background: var(--latte);
}

.contact-card {
  position: relative;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 60px;
  align-items: center;
  overflow: hidden;
  padding: 70px;
  background: var(--paper);
  border: 1px solid rgba(74, 41, 18, 0.09);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.contact-card::after {
  position: absolute;
  right: -100px;
  bottom: -130px;
  width: 300px;
  height: 300px;
  content: "";
  background: rgba(231, 176, 74, 0.15);
  border-radius: 50%;
}

.contact h2 {
  max-width: 680px;
  margin-bottom: 20px;
}

.contact-copy > p:not(.eyebrow) {
  max-width: 660px;
  margin-bottom: 0;
  color: var(--muted);
}

.contact-action {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  flex-direction: column;
  text-align: center;
}

.contact-action small {
  margin-top: 12px;
  color: var(--muted);
}

.contact-email {
  display: inline-flex;
  gap: 9px;
  align-items: center;
  margin-top: 16px;
  color: var(--brown);
  font-weight: 700;
  overflow-wrap: anywhere;
}

.contact-email span {
  display: grid;
  width: 30px;
  height: 30px;
  color: white;
  background: var(--caramel-dark);
  border-radius: 50%;
  place-items: center;
  font-size: 0.82rem;
}

.care-note {
  display: flex;
  gap: 11px;
  align-items: flex-start;
  max-width: 850px;
  margin: 26px auto 0;
  color: var(--brown-soft);
  font-size: 0.83rem;
  text-align: center;
}

.care-note span {
  color: var(--caramel-dark);
}

.site-footer {
  padding: 62px 0 24px;
  color: rgba(255, 255, 255, 0.73);
  background: #2c180c;
}

.footer-inner {
  display: grid;
  grid-template-columns: 0.65fr 1.15fr 0.7fr;
  gap: 50px;
  align-items: center;
  padding-bottom: 40px;
}

.brand-footer .brand-logo {
  filter: brightness(0) invert(1);
}

.brand-footer .brand-logo-viewport {
  background: transparent;
}

.footer-inner p {
  margin-bottom: 0;
  font-size: 0.92rem;
}

.footer-links {
  display: flex;
  gap: 20px;
  align-items: center;
  justify-content: flex-end;
  font-size: 0.9rem;
}

.footer-links a {
  color: var(--caramel);
  font-weight: 700;
}

.instagram-link {
  display: inline-flex;
  gap: 7px;
  align-items: center;
  white-space: nowrap;
}

.instagram-mark {
  display: inline-grid;
  width: 22px;
  height: 22px;
  place-items: center;
  border: 1px solid currentColor;
  border-radius: 7px;
  font-size: 0.88rem;
  line-height: 1;
}

.footer-links a:hover,
.footer-links a:focus-visible {
  color: #ffd98c;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.76rem;
}

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 650ms ease, transform 650ms ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 980px) {
  .menu-toggle {
    display: block;
  }

  .menu-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .menu-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
  }

  .menu-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .main-nav {
    position: fixed;
    z-index: 99;
    top: 126px;
    right: 0;
    left: 0;
    display: flex;
    padding: 28px 20px 34px;
    background: var(--paper);
    border-top: 1px solid var(--line);
    box-shadow: 0 18px 36px rgba(74, 41, 18, 0.14);
    flex-direction: column;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-130%);
    transition: transform 240ms ease, visibility 240ms ease;
  }

  .main-nav.open {
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
  }

  .main-nav > a {
    width: min(100%, 420px);
    text-align: center;
  }

  .hero {
    padding-top: 130px;
  }

  .hero-grid,
  .technology-grid,
  .process-grid,
  .contact-card {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    gap: 64px;
  }

  .hero-copy {
    max-width: 760px;
  }

  .hero-visual {
    justify-self: center;
    width: min(100%, 600px);
  }

  .solution-grid {
    grid-template-columns: 1fr 1fr;
  }

  .solution-card:last-child {
    grid-column: 1 / -1;
    min-height: 350px;
  }

  .cat-card {
    min-height: 470px;
  }

  .cat-card > img {
    object-position: center 40%;
  }

  .simulation-visual {
    height: 440px;
  }

  .process-grid {
    gap: 60px;
  }

  .contact-card {
    gap: 36px;
    padding: 54px;
  }

  .contact-action {
    align-items: flex-start;
    text-align: left;
  }

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

  .footer-inner > p {
    grid-column: 1 / -1;
    grid-row: 2;
  }
}

@media (max-width: 680px) {
  :root {
    --container: min(100% - 28px, 1180px);
  }

  .header-inner {
    min-height: 98px;
  }

  .brand {
    min-width: 150px;
    min-height: 88px;
  }

  .brand-logo-viewport {
    width: 150px;
    height: 88px;
  }

  .brand-logo {
    width: 150px;
    max-height: 88px;
  }

  .main-nav {
    top: 98px;
  }

  .hero {
    min-height: auto;
    padding: 112px 0 70px;
  }

  h1 {
    font-size: clamp(2.65rem, 13vw, 4.1rem);
  }

  .hero-actions,
  .hero-actions .button,
  .hero-actions .text-link {
    width: 100%;
  }

  .hero-actions .text-link {
    justify-content: center;
    border: 0;
  }

  .trust-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .hero-grid {
    gap: 48px;
  }

  .image-frame {
    border-radius: 48% 48% 22% 22% / 30% 30% 16% 16%;
  }

  .image-caption {
    right: 20px;
    bottom: 20px;
    left: 20px;
  }

  .section {
    padding: 76px 0;
  }

  .section-heading {
    grid-template-columns: 1fr;
    gap: 24px;
    margin-bottom: 34px;
  }

  .section-heading h2,
  .technology h2,
  .process h2,
  .contact h2 {
    font-size: clamp(2.15rem, 10vw, 3rem);
  }

  .solution-grid {
    grid-template-columns: 1fr;
  }

  .solution-card,
  .solution-card:last-child {
    grid-column: auto;
    min-height: 370px;
    padding: 30px;
  }

  .cat-card {
    min-height: 420px;
    border-radius: 24px;
  }

  .cat-card figcaption {
    right: 16px;
    bottom: 16px;
    left: 16px;
    padding: 14px;
  }

  .simulation-card {
    border-radius: 24px;
  }

  .simulation-visual {
    height: 300px;
  }

  .simulation-copy {
    padding: 28px 23px 30px;
  }

  .technology-points {
    grid-template-columns: 1fr;
  }

  .process-grid {
    gap: 45px;
  }

  .process-list li {
    grid-template-columns: 42px 1fr;
    gap: 14px;
  }

  .contact-card {
    padding: 34px 25px;
    border-radius: 24px;
  }

  .contact-action,
  .contact-action .button {
    width: 100%;
  }

  .care-note {
    text-align: left;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .footer-inner > p {
    grid-column: auto;
    grid-row: auto;
  }

  .footer-links {
    flex-wrap: wrap;
    justify-content: flex-start;
  }

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

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

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

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

/* Produtos: acréscimos preservando a identidade visual existente */
.product-showcase {
  background: var(--cream);
}

.product-carousel {
  position: relative;
  max-width: 920px;
  margin: 0 auto;
  padding: 18px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

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

.carousel-track {
  display: flex;
  transition: transform 520ms cubic-bezier(.22,.61,.36,1);
}

.carousel-slide {
  position: relative;
  display: grid;
  flex: 0 0 100%;
  grid-template-columns: minmax(260px, .8fr) 1.2fr;
  min-height: 430px;
  overflow: hidden;
  background: var(--latte);
}

.carousel-slide > img {
  width: 100%;
  height: 430px;
  object-fit: cover;
  object-position: center;
}

.carousel-copy {
  display: flex;
  gap: 22px;
  align-items: center;
  padding: 46px;
}

.carousel-copy > span,
.catalog-copy > span {
  color: var(--caramel-dark);
  font-family: "Manrope", sans-serif;
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .12em;
}

.carousel-copy h3 {
  margin-bottom: 12px;
  color: var(--brown);
  font-size: clamp(1.65rem, 3vw, 2.55rem);
  line-height: 1.08;
}

.carousel-copy p {
  margin: 0;
  color: var(--muted);
}

.carousel-button {
  position: absolute;
  z-index: 3;
  top: 50%;
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  color: white;
  background: var(--brown);
  border: 0;
  border-radius: 50%;
  box-shadow: 0 10px 24px rgba(74, 41, 18, .22);
  cursor: pointer;
  font-size: 2rem;
  line-height: 1;
  transform: translateY(-50%);
}

.carousel-prev { left: -24px; }
.carousel-next { right: -24px; }

.carousel-footer {
  display: flex;
  gap: 20px;
  align-items: center;
  justify-content: space-between;
  padding: 18px 10px 4px;
}

.carousel-dots {
  display: flex;
  gap: 8px;
}

.carousel-dots button {
  width: 9px;
  height: 9px;
  padding: 0;
  background: var(--sand);
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  transition: width 180ms ease, background 180ms ease;
}

.carousel-dots button.active {
  width: 28px;
  background: var(--caramel-dark);
}

.catalog-hero {
  padding: 190px 0 88px;
  background: radial-gradient(circle at 85% 10%, rgba(231,176,74,.26), transparent 26%), linear-gradient(145deg, #fffdf9 8%, #f7efe3 100%);
}

.catalog-hero h1 {
  max-width: 900px;
  margin-bottom: 20px;
  font-size: clamp(2.7rem, 6vw, 5.2rem);
}

.catalog-hero > .container > p:last-child {
  max-width: 720px;
  margin: 0;
  color: var(--muted);
  font-size: 1.12rem;
}

.catalog-section {
  background: var(--paper);
}

.catalog-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 34px;
}

.catalog-card {
  overflow: hidden;
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: 0 18px 50px rgba(74, 41, 18, .08);
}

.catalog-image {
  display: block;
  width: 100%;
  height: 520px;
  padding: 0;
  overflow: hidden;
  background: var(--latte);
  border: 0;
  cursor: zoom-in;
}

.catalog-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 350ms ease;
}

.catalog-image:hover img { transform: scale(1.025); }

.catalog-copy {
  padding: 30px 32px 34px;
}

.catalog-copy h2 {
  margin: 8px 0 12px;
  color: var(--brown);
  font-size: 1.65rem;
  line-height: 1.15;
}

.catalog-copy p {
  margin: 0;
  color: var(--muted);
}

.catalog-note {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  margin-top: 48px;
  padding: 30px 34px;
  color: var(--brown);
  background: var(--latte);
  border-radius: var(--radius-md);
}

.catalog-note > span {
  color: var(--caramel-dark);
  font-size: 1.4rem;
}

.catalog-note p { margin: 0; }

.image-lightbox {
  width: min(900px, calc(100% - 32px));
  max-height: 90vh;
  padding: 0;
  overflow: visible;
  background: transparent;
  border: 0;
}

.image-lightbox::backdrop { background: rgba(32, 18, 9, .88); }
.image-lightbox img { max-height: 88vh; margin: auto; border-radius: 18px; }
.image-lightbox button {
  position: absolute;
  z-index: 2;
  top: -18px;
  right: -14px;
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  color: white;
  background: var(--brown);
  border: 2px solid white;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.7rem;
}

@media (max-width: 760px) {
  .product-carousel { padding: 10px; }
  .carousel-slide { grid-template-columns: 1fr; min-height: 0; }
  .carousel-slide > img { height: 360px; }
  .carousel-copy { gap: 14px; padding: 25px 22px 28px; }
  .carousel-button { width: 42px; height: 42px; }
  .carousel-prev { left: 18px; }
  .carousel-next { right: 18px; }
  .carousel-footer { align-items: flex-start; flex-direction: column; }
  .catalog-hero { padding: 165px 0 68px; }
  .catalog-grid { grid-template-columns: 1fr; }
  .catalog-image { height: 460px; }
}

@media (max-width: 480px) {
  .carousel-slide > img { height: 315px; }
  .catalog-image { height: 400px; }
  .catalog-copy { padding: 25px 24px 29px; }
  .catalog-note { padding: 25px; }
}
