:root {
  --teal: #2b9a90;
  --teal-dark: #08746f;
  --black: #000000;
  --ink: #07111f;
  --white: #ffffff;
  --bg: #f7f7f5;
  --soft: #f2f6f5;
  --muted: #707070;
  --line: rgba(0, 0, 0, 0.1);
  --shadow: 0 18px 48px rgba(7, 17, 31, 0.08);
  --glass-border: rgba(255, 255, 255, 0.46);
  --glass-bg: rgba(255, 255, 255, 0.56);
  --glass-bg-strong: rgba(255, 255, 255, 0.72);
  --ease: 520ms cubic-bezier(0.2, 0.8, 0.2, 1);
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-snap-type: y proximity;
}

body {
  --glow-a: rgba(43, 154, 144, 0.15);
  --glow-b: rgba(238, 226, 206, 0.48);
  --glow-c: rgba(255, 255, 255, 0.88);
  margin: 0;
  min-width: 320px;
  background: var(--bg);
  color: var(--ink);
  font-family: Inter, "SF Pro Display", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0;
  transition: background var(--ease);
}

body::before,
body::after {
  position: fixed;
  z-index: -2;
  inset: 0;
  pointer-events: none;
  content: "";
}

body::before {
  background:
    radial-gradient(circle at 14% 12%, var(--glow-a), transparent 30rem),
    radial-gradient(circle at 88% 8%, var(--glow-b), transparent 34rem),
    linear-gradient(180deg, var(--glow-c), var(--bg) 52%, #ffffff 100%);
  transition: background var(--ease);
}

body::after {
  z-index: -1;
  background:
    linear-gradient(110deg, rgba(255, 255, 255, 0.62), transparent 36%),
    radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.32), transparent 38rem);
  opacity: 0.9;
}

body[data-current-section="espacios"] {
  --glow-a: rgba(43, 154, 144, 0.18);
  --glow-b: rgba(235, 218, 194, 0.56);
  --glow-c: rgba(255, 255, 255, 0.94);
}

body[data-current-section="proceso"] {
  --glow-a: rgba(43, 154, 144, 0.14);
  --glow-b: rgba(216, 231, 228, 0.72);
  --glow-c: rgba(249, 253, 252, 0.94);
}

body[data-current-section="proyectos"] {
  --glow-a: rgba(43, 154, 144, 0.2);
  --glow-b: rgba(240, 235, 226, 0.68);
  --glow-c: rgba(255, 255, 255, 0.94);
}

body[data-current-section="nosotros"],
body[data-current-section="detalle"] {
  --glow-a: rgba(43, 154, 144, 0.16);
  --glow-b: rgba(205, 174, 130, 0.34);
  --glow-c: rgba(255, 252, 247, 0.94);
}

body[data-current-section="cta"] {
  --glow-a: rgba(43, 154, 144, 0.28);
  --glow-b: rgba(43, 154, 144, 0.16);
  --glow-c: rgba(246, 252, 251, 0.94);
}

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

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

button {
  border: 0;
  font: inherit;
}

.shell {
  width: min(100% - 110px, 1320px);
  margin-inline: auto;
}

.section {
  position: relative;
  margin-block: 0;
  padding-block: 58px;
  scroll-margin-top: 96px;
}

main {
  position: relative;
  overflow: hidden;
}

main::before {
  position: absolute;
  z-index: -1;
  inset: 100svh 0 0;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.46), rgba(246, 250, 249, 0.2) 22rem, rgba(255, 255, 255, 0.32) 100%),
    radial-gradient(circle at 16% 28%, rgba(43, 154, 144, 0.09), transparent 28rem),
    radial-gradient(circle at 86% 58%, rgba(216, 196, 165, 0.22), transparent 30rem);
  content: "";
  pointer-events: none;
}

.snap-block {
  scroll-snap-align: start;
  scroll-snap-stop: normal;
}

.process-strip,
.story-section {
  scroll-margin-top: 96px;
}

.glass-card {
  border: 1px solid var(--glass-border);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.68), rgba(255, 255, 255, 0.42));
  box-shadow: 0 24px 70px rgba(7, 17, 31, 0.1);
  backdrop-filter: blur(22px) saturate(165%);
  -webkit-backdrop-filter: blur(22px) saturate(165%);
}

.site-header {
  position: fixed;
  z-index: 50;
  top: 18px;
  left: 50%;
  display: grid;
  width: min(calc(100% - 48px), 1320px);
  min-height: 92px;
  grid-template-columns: minmax(185px, 0.7fr) minmax(360px, 1fr) auto;
  align-items: center;
  gap: 28px;
  padding: 16px 18px 16px 28px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 18px 54px rgba(7, 17, 31, 0.1);
  transform: translateX(-50%);
  transition: box-shadow var(--ease), backdrop-filter var(--ease), background var(--ease);
  backdrop-filter: blur(22px) saturate(170%);
  -webkit-backdrop-filter: blur(22px) saturate(170%);
}

.site-header.is-scrolled,
.site-header.is-open {
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 22px 64px rgba(7, 17, 31, 0.12);
}

.brand {
  display: inline-flex;
  width: max-content;
  align-items: center;
  gap: 9px;
}

.brand-mark {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border-radius: 50%;
  background: var(--black);
  color: var(--white);
  font-size: 30px;
  font-weight: 800;
  line-height: 1;
}

.brand-mark::after {
  width: 7px;
  height: 7px;
  margin: -17px 0 0 -2px;
  border-radius: 50%;
  background: var(--teal);
  content: "";
}

.brand-copy {
  display: grid;
  line-height: 1;
}

.brand-copy strong {
  color: var(--ink);
  font-size: 28px;
  font-weight: 800;
}

.brand-copy small {
  color: var(--muted);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: lowercase;
}

.custom-logo {
  width: auto;
  max-width: 180px;
  max-height: 48px;
}

.brand-logo {
  width: 188px;
  height: auto;
}

.footer-logo {
  width: 178px;
}

.main-nav {
  display: flex;
  justify-content: center;
  gap: clamp(18px, 2.8vw, 44px);
}

.main-nav a {
  position: relative;
  color: var(--ink);
  font-size: 13px;
  font-weight: 800;
  transition: color var(--ease);
}

.main-nav a::after {
  position: absolute;
  right: 0;
  bottom: -14px;
  left: 0;
  height: 2px;
  border-radius: 999px;
  background: var(--teal);
  content: "";
  opacity: 0;
  transform: scaleX(0.35);
  transition: opacity var(--ease), transform var(--ease);
}

.main-nav a:hover,
.main-nav a.is-active {
  color: var(--teal-dark);
}

.main-nav a:hover::after,
.main-nav a.is-active::after {
  opacity: 1;
  transform: scaleX(1);
}

.header-cta,
.btn {
  display: inline-flex;
  min-height: 54px;
  align-items: center;
  justify-content: center;
  gap: 14px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 800;
  line-height: 1;
  transition: transform var(--ease), box-shadow var(--ease), background var(--ease), color var(--ease);
  white-space: nowrap;
}

.header-cta,
.btn-primary {
  background: linear-gradient(135deg, var(--teal-dark), var(--teal));
  color: var(--white);
  box-shadow: 0 18px 40px rgba(8, 116, 111, 0.22);
}

.header-cta {
  justify-self: end;
  padding-inline: 28px;
}

.btn {
  padding-inline: 28px;
}

.btn-secondary {
  border: 1px solid rgba(8, 116, 111, 0.34);
  background: rgba(255, 255, 255, 0.34);
  color: var(--teal-dark);
  backdrop-filter: blur(18px) saturate(150%);
  -webkit-backdrop-filter: blur(18px) saturate(150%);
}

.btn-light {
  min-width: 330px;
  background: var(--white);
  color: var(--teal-dark);
}

.btn:hover,
.header-cta:hover {
  transform: translateY(-2px);
}

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  place-items: center;
  border-radius: 10px;
  background: rgba(43, 154, 144, 0.1);
}

.menu-toggle span {
  display: block;
  width: 19px;
  height: 2px;
  border-radius: 999px;
  background: var(--teal-dark);
}

.hero .eyebrow {
  color: var(--teal-dark);
}

.menu-toggle span + span {
  margin-top: 5px;
}

.hero {
  display: grid;
  min-height: 100svh;
  align-items: end;
  overflow: hidden;
  padding: clamp(130px, 16vh, 170px) clamp(24px, 3vw, 58px) clamp(44px, 7vh, 76px);
  background: #efe9df;
  isolation: isolate;
}

.hero-grid {
  position: relative;
  display: grid;
  width: min(100%, 1440px);
  min-height: auto;
  grid-template-columns: minmax(360px, 0.95fr) minmax(270px, 0.4fr);
  align-items: end;
  gap: clamp(24px, 5vw, 84px);
  overflow: visible;
  margin-inline: auto;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

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

.hero-backdrop {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.hero-backdrop video,
.hero-backdrop img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-backdrop video {
  position: absolute;
  inset: 0;
}

.hero-backdrop video + img {
  display: none;
}

.hero::before,
.hero::after {
  position: absolute;
  inset: 0;
  pointer-events: none;
  content: "";
}

.hero::before {
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(249, 250, 246, 0.9) 0%, rgba(247, 242, 234, 0.74) 38%, rgba(247, 242, 234, 0.22) 72%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.18), rgba(232, 222, 207, 0.3));
}

.hero::after {
  z-index: -1;
  background:
    radial-gradient(circle at 14% 24%, rgba(43, 154, 144, 0.18), transparent 26rem),
    radial-gradient(circle at 78% 76%, rgba(255, 255, 255, 0.24), transparent 22rem);
}

.hero-copy {
  display: grid;
  align-content: center;
  max-width: 760px;
  min-height: auto;
  margin-left: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--ink);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.eyebrow {
  display: inline-flex;
  margin: 0 0 18px;
  color: var(--teal-dark);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

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

h1 {
  margin-bottom: 30px;
  color: var(--ink);
  font-size: clamp(54px, 6.8vw, 112px);
  font-weight: 800;
  line-height: 0.92;
}

h2 {
  margin-bottom: 0;
  color: var(--ink);
  font-size: clamp(32px, 3vw, 44px);
  font-weight: 800;
  line-height: 1.08;
}

h3 {
  margin-bottom: 0;
}

.hero-subtitle {
  max-width: 620px;
  margin-bottom: 34px;
  color: rgba(7, 17, 31, 0.72);
  font-size: clamp(18px, 1.4vw, 22px);
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.glass-surface {
  border: 1px solid var(--glass-border);
  background: rgba(255, 255, 255, 0.36);
  box-shadow: 0 18px 52px rgba(7, 17, 31, 0.1);
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
}

.hero-proof {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, auto));
  gap: 0;
  width: max-content;
  max-width: 100%;
  margin-top: clamp(38px, 7vh, 74px);
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.hero-proof span {
  display: inline-flex;
  align-items: center;
  min-height: 46px;
  padding-right: clamp(18px, 3vw, 42px);
  color: rgba(7, 17, 31, 0.74);
  font-size: 13px;
  font-weight: 800;
}

.hero-proof span + span {
  padding-left: clamp(18px, 3vw, 42px);
  border-left: 1px solid rgba(8, 116, 111, 0.24);
}

.hero-media {
  position: relative;
  display: grid;
  align-self: end;
  min-height: 0;
  margin: 0;
  overflow: visible;
  border: 1px solid rgba(255, 255, 255, 0.56);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.42);
  box-shadow: 0 24px 76px rgba(7, 17, 31, 0.12);
  backdrop-filter: blur(22px) saturate(150%);
  -webkit-backdrop-filter: blur(22px) saturate(150%);
  isolation: isolate;
}

.hero-media video,
.hero-media img {
  display: none;
}

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

.hero-media figcaption {
  position: relative;
  right: auto;
  bottom: auto;
  left: auto;
  display: grid;
  gap: 10px;
  padding: clamp(24px, 3vw, 36px);
  border: 0;
  border-radius: inherit;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.hero-media figcaption span {
  color: var(--teal-dark);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.hero-media figcaption strong {
  max-width: 280px;
  color: var(--ink);
  font-size: clamp(26px, 2.8vw, 40px);
  line-height: 1.04;
}

.split-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 26px;
}

.section-link {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: var(--teal-dark);
  font-size: 13px;
  font-weight: 800;
}

.spaces-section,
.projects-section {
  display: grid;
  align-content: center;
  background: transparent;
}

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

.space-card {
  position: relative;
  height: 190px;
  overflow: hidden;
  border: 1px solid var(--glass-border);
  border-radius: 18px;
  background: var(--glass-bg);
  box-shadow: 0 20px 58px rgba(7, 17, 31, 0.09);
  backdrop-filter: blur(18px) saturate(150%);
  -webkit-backdrop-filter: blur(18px) saturate(150%);
  isolation: isolate;
}

.space-card img {
  height: 100%;
  object-fit: cover;
  transition: transform var(--ease);
}

.space-card::after {
  position: absolute;
  inset: auto 0 0;
  z-index: 1;
  height: 54%;
  background: linear-gradient(180deg, rgba(8, 116, 111, 0), rgba(8, 116, 111, 0.94));
  content: "";
}

.space-overlay {
  position: absolute;
  z-index: 2;
  right: 22px;
  bottom: 22px;
  left: 22px;
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--white);
}

.card-icon,
.step-icon {
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border: 1.5px solid currentColor;
  border-radius: 6px;
  color: inherit;
  font-size: 16px;
}

.space-overlay h3 {
  font-size: 18px;
  line-height: 1.1;
}

.space-card:hover img {
  transform: scale(1.04);
}

.process-strip {
  display: grid;
  align-content: center;
  padding-block: clamp(92px, 12vh, 132px);
  background: transparent;
}

.process-strip-grid {
  display: grid;
  grid-template-columns: minmax(230px, 0.65fr) minmax(0, 1.9fr);
  gap: 54px;
  align-items: center;
}

.process-title h2 {
  max-width: 340px;
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 26px;
}

.process-steps article {
  position: relative;
  display: grid;
  gap: 12px;
  min-height: 210px;
  padding: 24px;
  border: 1px solid var(--glass-border);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.5);
  box-shadow: 0 18px 50px rgba(7, 17, 31, 0.07);
  backdrop-filter: blur(18px) saturate(150%);
  -webkit-backdrop-filter: blur(18px) saturate(150%);
}

.process-steps article + article::before {
  position: absolute;
  top: 22px;
  right: calc(100% + 2px);
  width: 28px;
  border-top: 1px dashed rgba(8, 116, 111, 0.24);
  content: "";
}

.step-icon {
  width: 54px;
  height: 54px;
  border-color: rgba(8, 116, 111, 0.18);
  border-radius: 50%;
  background: var(--white);
  color: var(--teal-dark);
  font-size: 24px;
  box-shadow: 0 10px 24px rgba(8, 116, 111, 0.08);
}

.process-steps h3 {
  font-size: 15px;
  line-height: 1.35;
}

.process-steps p {
  margin-bottom: 0;
  color: #333d49;
  font-size: 14px;
  line-height: 1.55;
}

.project-slider {
  display: grid;
  grid-auto-columns: minmax(250px, 1fr);
  grid-auto-flow: column;
  gap: 24px;
  overflow-x: auto;
  padding-bottom: 24px;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.project-slider::-webkit-scrollbar {
  display: none;
}

.project-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--glass-border);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.56);
  box-shadow: 0 18px 54px rgba(7, 17, 31, 0.08);
  backdrop-filter: blur(18px) saturate(150%);
  -webkit-backdrop-filter: blur(18px) saturate(150%);
  scroll-snap-align: start;
}

.project-card img {
  height: 176px;
  object-fit: cover;
}

.project-card div {
  min-height: 88px;
  padding: 18px 18px 16px;
}

.project-card h3 {
  margin-bottom: 8px;
  font-size: 15px;
  line-height: 1.25;
}

.project-card p {
  margin-bottom: 0;
  color: #3f4650;
  font-size: 13px;
  line-height: 1.45;
}

.slider-dots {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-top: 6px;
}

.slider-dots span {
  width: 12px;
  height: 12px;
  border-radius: 999px;
  background: #d5d8d8;
}

.slider-dots .is-active {
  width: 34px;
  background: var(--teal-dark);
}

.story-section {
  display: grid;
  align-content: center;
  background: transparent;
}

.story-grid {
  display: grid;
  grid-template-columns: minmax(340px, 0.9fr) minmax(0, 1fr);
  align-items: stretch;
}

.story-copy {
  display: grid;
  align-content: center;
  padding: 72px 58px 72px 0;
}

.story-copy h2 {
  max-width: 560px;
  margin-bottom: 24px;
}

.story-copy > p {
  max-width: 520px;
  margin-bottom: 36px;
  color: #2c3542;
  font-size: 17px;
  line-height: 1.65;
}

.story-grid figure {
  min-height: 390px;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--glass-border);
  border-radius: 28px;
  box-shadow: 0 24px 70px rgba(7, 17, 31, 0.1);
}

.story-grid img {
  height: 100%;
  object-fit: cover;
}

.feature-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(96px, 1fr));
  gap: 18px;
}

.feature-list article {
  display: grid;
  gap: 10px;
}

.feature-list span {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1.5px solid rgba(8, 116, 111, 0.28);
  border-radius: 50%;
  color: var(--teal-dark);
  font-size: 20px;
}

.feature-list h3 {
  font-size: 13px;
  line-height: 1.35;
}

.cta-section {
  display: grid;
  align-content: center;
  padding-block: 72px;
  background: transparent;
}

.cta-panel {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 28px;
  min-height: 96px;
  padding: 22px 54px;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 28px;
  background:
    linear-gradient(135deg, rgba(8, 116, 111, 0.92), rgba(43, 154, 144, 0.82)),
    rgba(255, 255, 255, 0.16);
  color: var(--white);
  box-shadow: 0 24px 68px rgba(8, 116, 111, 0.2);
  backdrop-filter: blur(22px) saturate(155%);
  -webkit-backdrop-filter: blur(22px) saturate(155%);
}

.cta-panel::before {
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  border: 3px solid var(--white);
  border-radius: 50%;
  content: "◌";
  font-size: 28px;
  font-weight: 800;
}

.cta-panel h2 {
  margin-bottom: 6px;
  color: var(--white);
  font-size: clamp(24px, 2.3vw, 34px);
}

.cta-panel h2::after {
  display: block;
  margin-top: 8px;
  content: "Hablemos de tu proyecto. Estamos listos para ayudarte.";
  font-size: 15px;
  font-weight: 500;
}

.detail-section {
  display: grid;
  align-content: center;
  padding-block: clamp(92px, 12vh, 132px);
  background: transparent;
}

.detail-grid {
  display: grid;
  grid-template-columns: minmax(300px, 0.88fr) minmax(0, 1fr);
  gap: clamp(24px, 5vw, 72px);
  align-items: center;
}

.detail-media {
  position: relative;
  min-height: 640px;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.56);
  border-radius: 30px;
  box-shadow: 0 28px 72px rgba(7, 17, 31, 0.16);
  isolation: isolate;
}

.detail-media::after {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, transparent 48%, rgba(7, 17, 31, 0.18)),
    radial-gradient(circle at 20% 74%, rgba(255, 255, 255, 0.28), transparent 18rem);
  content: "";
}

.detail-media img {
  height: 100%;
  min-height: 640px;
  object-fit: cover;
}

.detail-copy {
  padding: clamp(28px, 4vw, 58px);
  border-radius: 30px;
}

.detail-copy h2 {
  max-width: 620px;
  margin-bottom: 22px;
  font-size: clamp(38px, 4vw, 66px);
}

.detail-copy > p {
  max-width: 610px;
  margin-bottom: 34px;
  color: #2c3542;
  font-size: 18px;
  line-height: 1.7;
}

.detail-points {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.detail-points article {
  min-height: 128px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.5);
  box-shadow: 0 14px 34px rgba(7, 17, 31, 0.06);
}

.detail-points span {
  display: inline-flex;
  margin-bottom: 20px;
  color: var(--teal-dark);
  font-size: 13px;
  font-weight: 800;
}

.detail-points h3 {
  font-size: 16px;
  line-height: 1.3;
}

.site-footer {
  padding-block: 46px 22px;
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(18px) saturate(150%);
  -webkit-backdrop-filter: blur(18px) saturate(150%);
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(260px, 1.4fr) repeat(3, minmax(150px, 0.7fr));
  gap: 48px;
}

.footer-brand p {
  max-width: 300px;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
}

.site-footer h2 {
  margin-bottom: 18px;
  font-size: 13px;
  text-transform: uppercase;
}

.site-footer a:not(.brand) {
  display: table;
  margin-bottom: 12px;
  color: #343c48;
  font-size: 14px;
  transition: color var(--ease);
}

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

.socials {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 8px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  margin-top: 36px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity var(--ease), transform var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (max-width: 1120px) {
  .shell {
    width: min(100% - 48px, 1320px);
  }

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

  .main-nav {
    position: absolute;
    top: 100%;
    right: 24px;
    left: 24px;
    display: grid;
    gap: 0;
    padding: 12px;
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: var(--shadow);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);
    transition: opacity var(--ease), transform var(--ease);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
  }

  .site-header.is-open .main-nav {
    opacity: 1;
    pointer-events: auto;
    transform: none;
  }

  .main-nav a {
    padding: 14px;
    font-size: 15px;
  }

  .main-nav a::after {
    display: none;
  }

  .menu-toggle {
    display: grid;
  }

  .hero-grid,
  .story-grid,
  .detail-grid,
  .process-strip-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    min-height: auto;
    grid-template-columns: 1fr;
  }

  .hero-copy {
    max-width: none;
    min-height: auto;
    margin-left: 0;
    padding: clamp(22px, 4vw, 34px);
  }

  .hero-media {
    width: min(100%, 440px);
  }

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

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

  .process-steps article + article::before {
    display: none;
  }

  .story-section {
    background: var(--white);
  }

  .story-copy {
    padding: 58px 0 36px;
  }

  .detail-media,
  .detail-media img {
    min-height: 520px;
  }
}

@media (max-width: 720px) {
  .shell {
    width: min(100% - 28px, 1320px);
  }

  .site-header {
    top: 10px;
    width: min(calc(100% - 28px), 1320px);
    min-height: 74px;
    padding: 12px 14px;
    border-radius: 22px;
  }

  body {
    padding-top: 0;
  }

  .header-cta {
    display: none;
  }

  .brand-logo {
    width: 138px;
  }

  .hero-copy {
    padding: 22px;
  }

  h1 {
    font-size: clamp(42px, 13vw, 58px);
  }

  h2 {
    font-size: clamp(30px, 9vw, 40px);
  }

  .hero-actions,
  .split-heading,
  .footer-bottom {
    align-items: stretch;
    flex-direction: column;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .catalog-grid,
  .process-steps,
  .feature-list,
  .detail-points,
  .cta-panel {
    grid-template-columns: 1fr;
  }

  .space-card,
  .space-card img {
    height: 220px;
  }

  .project-slider {
    grid-auto-columns: minmax(282px, 86vw);
  }

  .story-grid figure {
    min-height: 360px;
  }

  .detail-section {
    padding-block: 58px;
  }

  .detail-media,
  .detail-media img {
    min-height: 460px;
  }

  .detail-copy {
    padding: 24px;
  }

  .cta-panel {
    padding: 28px;
  }

  .btn-light {
    min-width: 0;
    width: 100%;
  }
}

@media (max-width: 720px) {
  .main-nav {
    position: fixed;
    inset: 12px;
    z-index: -1;
    display: flex;
    min-height: calc(100svh - 24px);
    flex-direction: column;
    justify-content: center;
    gap: 8px;
    padding: 96px 26px 32px;
    border: 1px solid rgba(255, 255, 255, 0.7);
    border-radius: 34px;
    background: rgba(255, 255, 255, 0.86);
    box-shadow: 0 28px 90px rgba(7, 17, 31, 0.16);
    opacity: 0;
    pointer-events: none;
    transform: translateY(10px) scale(0.985);
    backdrop-filter: blur(24px) saturate(170%);
    -webkit-backdrop-filter: blur(24px) saturate(170%);
  }

  .site-header.is-open .main-nav {
    opacity: 1;
    pointer-events: auto;
    transform: none;
  }

  .main-nav a {
    display: grid;
    grid-template-columns: 38px 1fr auto;
    align-items: center;
    gap: 14px;
    padding: 16px 2px;
    color: var(--ink);
    font-size: 18px;
  }

  .main-nav a::before {
    display: grid;
    width: 34px;
    height: 34px;
    place-items: center;
    border-radius: 12px;
    color: var(--teal-dark);
    font-size: 20px;
    content: "⌂";
  }

  .main-nav a:nth-child(2)::before {
    content: "▦";
  }

  .main-nav a:nth-child(3)::before {
    content: "⚙";
  }

  .main-nav a:nth-child(4)::before {
    content: "▧";
  }

  .main-nav a:nth-child(5)::before {
    content: "◌";
  }

  .main-nav a:nth-child(6)::before {
    content: "✉";
  }

  .main-nav a::after {
    position: static;
    display: block;
    width: auto;
    height: auto;
    background: transparent;
    color: rgba(7, 17, 31, 0.55);
    content: "→";
    opacity: 1;
    transform: none;
  }

  .site-header.is-open .menu-toggle span:first-child {
    transform: translateY(3.5px) rotate(45deg);
  }

  .site-header.is-open .menu-toggle span:last-child {
    transform: translateY(-3.5px) rotate(-45deg);
  }

  .hero {
    min-height: 100svh;
    padding: 118px 14px 32px;
  }

  .hero-grid {
    display: grid;
    gap: 24px;
    padding: 0;
    border-radius: 0;
  }

  .hero-copy {
    order: initial;
    border: 0;
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  .hero-media {
    order: initial;
    width: 100%;
    border-radius: 22px;
  }

  .hero-media figcaption {
    display: grid;
    padding: 22px;
  }

  .hero-proof {
    grid-template-columns: 1fr;
    gap: 10px;
    width: 100%;
    margin-top: 28px;
  }

  .hero-proof span {
    min-height: 34px;
    padding: 0;
  }

  .hero-proof span + span {
    padding-left: 0;
    border-left: 0;
  }

  .spaces-section .split-heading,
  .projects-section .split-heading {
    flex-direction: row;
    align-items: end;
  }

  .section-link {
    flex: 0 0 auto;
    font-size: 12px;
  }

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

  .space-card,
  .space-card img {
    height: 172px;
  }

  .space-overlay {
    right: 12px;
    bottom: 12px;
    left: 12px;
    gap: 8px;
  }

  .space-overlay h3 {
    font-size: 13px;
  }

  .card-icon {
    width: 24px;
    height: 24px;
    border-radius: 7px;
    font-size: 13px;
  }

  .project-slider {
    display: grid;
    grid-auto-flow: row;
    grid-auto-columns: unset;
    grid-template-columns: 1fr;
    overflow: visible;
  }

  .project-card img {
    height: 220px;
  }

  .process-strip {
    padding-block: 42px;
  }

  .process-strip-grid {
    gap: 28px;
  }

  .process-steps {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .process-steps article {
    grid-template-columns: 56px 1fr;
    gap: 14px;
    min-height: 0;
    padding: 18px;
  }

  .process-steps article + article::before {
    top: -24px;
    right: auto;
    left: 27px;
    display: block;
    width: 1px;
    height: 26px;
    border-top: 0;
    border-left: 1px dashed rgba(8, 116, 111, 0.26);
  }

  .step-icon {
    grid-row: span 2;
    width: 54px;
    height: 54px;
  }

  .process-steps p {
    grid-column: 2;
  }

  .story-grid {
    padding-block: 34px;
  }

  .story-copy {
    padding: 28px 22px;
    border: 1px solid rgba(255, 255, 255, 0.58);
    border-radius: 30px;
    background: rgba(255, 255, 255, 0.62);
    box-shadow: 0 20px 58px rgba(7, 17, 31, 0.08);
    text-align: center;
    backdrop-filter: blur(18px) saturate(160%);
    -webkit-backdrop-filter: blur(18px) saturate(160%);
  }

  .story-grid figure {
    display: none;
  }

  .feature-list {
    gap: 16px;
    text-align: left;
  }

  .feature-list article {
    grid-template-columns: 48px 1fr;
    align-items: center;
  }
}
