.hero {
  position: relative;
  overflow: clip;
  padding-block: clamp(58px, 7vw, 94px) 40px;
}
.hero-bg-network {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
  opacity: 0.85;
  mask-image: radial-gradient(ellipse 90% 85% at 50% 45%, black 25%, transparent 95%);
  -webkit-mask-image: radial-gradient(ellipse 90% 85% at 50% 45%, black 25%, transparent 95%);
}
.hero-bg-network canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: block;
}
.hero .shell {
  position: relative;
  z-index: 2;
  width: min(1560px, calc(100% - 64px));
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, .72fr) minmax(0, 1.28fr);
  align-items: center;
  gap: clamp(32px, 4vw, 64px);
  min-height: min(720px, calc(100svh - var(--header-height) - 56px));
}
.hero-copy {
  position: relative;
  z-index: 2;
  min-width: 0;
  max-width: 620px;
}
.hero-copy .eyebrow {
  margin-bottom: 24px;
}
.hero-copy h1 {
  max-width: 14.5ch;
  font-size: clamp(3rem, 4.15vw, 4.35rem);
}
.hero-copy .lead {
  max-width: 54ch;
  margin-bottom: 30px;
  color: #CAD2D0;
  font-size: clamp(1.02rem, 1.45vw, 1.2rem);
}
.hero-foot {
  margin: 48px 0 0;
  color: var(--technical-gray);
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .2em;
}
.hero-foot span {
  padding-inline: 10px;
  color: var(--lime);
}
.hero-scene {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
  gap: clamp(12px, 1.35vw, 20px);
  min-width: 0;
  padding-block: 22px 8px;
}
.scene-unit {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 12px;
}
.scene-unit-video {
  padding-top: 34px;
}
.scene-index {
  margin: 0;
  color: var(--lime);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .14em;
  line-height: 1.35;
  text-transform: uppercase;
}
.scene-video,
.scene-browser {
  position: relative;
  min-width: 0;
  aspect-ratio: 1000 / 1040;
  margin: 0;
  overflow: hidden;
  border-radius: 18px;
  cursor: pointer;
  transition: transform 500ms var(--ease-out-premium), box-shadow 500ms var(--ease-out-premium), border-color 300ms var(--ease-ui);
  will-change: transform;
}
/* 01: Fondo oscuro con borde blanco sutil */
.scene-video {
  border: 1px solid rgba(255, 255, 255, .22);
  background: #080B0A;
  box-shadow: 0 20px 52px rgba(0, 0, 0, .4), 0 0 0 1px rgba(255, 255, 255, .06);
}
/* 02: Fondo blanco con efecto inverso: borde oscuro definido */
.scene-browser {
  border: 1.5px solid rgba(17, 23, 25, .45);
  background: #FFFFFF;
  box-shadow: 0 20px 52px rgba(0, 0, 0, .45), 0 0 0 1px rgba(0, 0, 0, .15);
}
.scene-video:hover {
  transform: translateY(-8px);
  border-color: var(--lime);
  box-shadow: 
    0 0 0 1.5px var(--lime),
    0 0 35px rgba(207, 244, 90, .45),
    0 0 70px rgba(207, 244, 90, .25),
    0 32px 72px rgba(0, 0, 0, .6);
}
.scene-browser:hover {
  transform: translateY(-8px);
  border-color: var(--lime);
  box-shadow: 
    0 0 0 2px var(--lime),
    0 0 35px rgba(207, 244, 90, .75),
    0 0 70px rgba(207, 244, 90, .45),
    0 32px 72px rgba(0, 0, 0, .65);
}
.scene-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform 650ms var(--ease-out-premium), filter 650ms var(--ease-out-premium);
  will-change: transform;
}
.scene-video:hover .scene-image,
.scene-browser:hover .scene-image {
  transform: scale(1.055) translateY(-4px);
}
.scene-video:hover .scene-image {
  filter: brightness(1.04);
}
.scene-video::after {
  position: absolute;
  inset: 0;
  z-index: 1;
  content: "";
  pointer-events: none;
  background: linear-gradient(180deg, rgba(4, 8, 9, .16), transparent 23%);
}
.hero-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding-top: 32px;
  color: var(--technical-gray);
  font-size: .77rem;
  font-weight: 600;
  letter-spacing: .17em;
}
.hero-bottom a {
  color: var(--lime);
  letter-spacing: .09em;
}
.services {
  position: relative;
}
.service-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: stretch;
  gap: clamp(22px, 3vw, 42px);
}
.service-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  overflow: hidden;
  background: var(--white);
  border: 1px solid rgba(38, 50, 56, .1);
  border-radius: 20px;
  box-shadow: 0 18px 44px rgba(20, 32, 37, .07);
  transform: translateZ(0);
}
.service-art {
  position: relative;
  display: grid;
  min-height: 300px;
  aspect-ratio: 1.32 / 1;
  place-items: center;
  overflow: hidden;
  isolation: isolate;
  border-radius: 19px 19px 0 0;
  transform: translateZ(0);
}
.video-art {
  background: radial-gradient(circle at 72% 34%, #395046 0, #1A2D30 44%, #111719 100%);
}
.video-art-preview::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(9,16,19,.78) 0%, rgba(9,16,19,.25) 36%, rgba(9,16,19,.25) 62%, rgba(9,16,19,.82) 100%);
  z-index: 1;
  pointer-events: none;
  border-radius: 19px 19px 0 0;
}
.service-video-preview {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  border-radius: 19px 19px 0 0;
}
.art-index {
  position: absolute;
  z-index: 2;
  top: 22px;
  left: 24px;
  color: var(--ivory);
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .16em;
}
.art-caption {
  position: absolute;
  z-index: 2;
  right: 22px;
  bottom: 20px;
  left: 22px;
  color: #E6ECE8;
  font-size: .77rem;
  font-weight: 650;
  letter-spacing: .04em;
  text-shadow: 0 1px 10px rgba(0, 0, 0, .65);
}
.web-art {
  background: linear-gradient(135deg, #E4EBDF, #B6CABA);
}
.web-art .art-index,
.web-art .art-caption {
  color: #253835;
  text-shadow: none;
}
.mini-site {
  display: flex;
  width: min(74%, 420px);
  min-height: 66%;
  flex-direction: column;
  overflow: hidden;
  background: var(--ivory);
  border-radius: 8px;
  box-shadow: 0 18px 50px rgba(32, 59, 52, .19);
  transform: rotate(-2deg);
}
.mini-toolbar {
  padding: 10px 14px;
  color: #28403A;
  background: #D5DFD8;
  font-size: .75rem;
  letter-spacing: .15em;
}
.mini-web-content {
  display: grid;
  flex: 1;
  align-content: center;
  gap: 12px;
  padding: clamp(18px, 3vw, 34px);
}
.mini-web-content small {
  color: #3F5751;
  font-size: .62rem;
  font-weight: 700;
  letter-spacing: .18em;
}
.mini-web-content b {
  max-width: 10ch;
  color: #213530;
  font: 700 clamp(1.6rem, 3vw, 2.55rem)/1.05 var(--font-display);
}
.mini-web-content span {
  width: 76%;
  height: 6px;
  background: #B6C7B9;
}
.mini-web-content span:last-child {
  width: 48%;
}
.service-details {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: flex-start;
  padding: clamp(24px, 3vw, 42px);
}
.service-details h3 {
  max-width: 22ch;
  margin-bottom: 18px;
}
.service-details p {
  color: #415050;
  font-size: 1rem;
  line-height: 1.78;
}
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  padding: 0;
  margin: 6px 0 28px;
  list-style: none;
}
.chips li {
  padding: 8px 13px;
  color: #263738;
  background: #EEF1E9;
  border-radius: 999px;
  font-size: .82rem;
}
.inline-link {
  margin-top: auto;
  color: #344A14;
  font-weight: 700;
  text-decoration: underline;
  text-decoration-color: #A4C849;
  text-underline-offset: 5px;
}
.projects {
  position: relative;
}
.portfolio-controls {
  display: flex;
  width: fit-content;
  gap: 8px;
  padding: 6px;
  margin-bottom: 20px;
  border: 1px solid var(--line-dark);
  border-radius: 12px;
}
.tab {
  min-height: 44px;
  padding: 10px 18px;
  color: var(--technical-gray);
  background: transparent;
  border: 0;
  border-radius: 8px;
  font-weight: 650;
  cursor: pointer;
  transition: color var(--motion-ui) var(--ease-ui), background var(--motion-ui) var(--ease-ui);
}
.tab.is-active,
.tab[aria-selected="true"] {
  color: var(--obsidian);
  background: var(--lime);
}
.portfolio-description {
  max-width: 70ch;
  min-height: 3.2em;
  margin: 0 0 24px;
  color: var(--technical-gray);
}
.portfolio-panel {
  outline: none;
}
.feature-project {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr);
  height: 520px;
  min-height: 520px;
  overflow: hidden;
  border: 1px solid rgba(174, 185, 184, .24);
  border-radius: 22px;
  background: #202C30;
}
.project-visual {
  position: relative;
  display: grid;
  min-width: 0;
  height: 100%;
  min-height: 520px;
  place-items: center;
  overflow: hidden;
  padding: 20px;
  background: radial-gradient(ellipse at 50% 43%, #35474B 0, #151D20 76%);
}
.project-visual > img {
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0;
  object-fit: cover;
  object-position: center top;
}
.project-visual-placeholder {
  position: absolute;
  inset: 18% 14%;
  display: grid;
  place-items: center;
  color: rgba(207, 244, 90, .85);
  border: 1px solid rgba(207, 244, 90, .32);
  border-radius: 50%;
  font: 700 .82rem var(--font-display);
  letter-spacing: .12em;
  text-transform: uppercase;
}
.project-visual-placeholder span {
  padding: 8px 12px;
  background: #172124;
}
.project-visual > span {
  position: absolute;
  right: 16px;
  bottom: 18px;
  left: 16px;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #E7ECE8;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .13em;
  text-align: center;
  text-shadow: 0 1px 8px #000;
}
.project-visual-portrait {
  height: 100%;
  min-height: 520px;
}
.project-visual-portrait > img {
  position: relative;
  inset: auto;
  width: auto;
  height: calc(100% - 44px);
  max-width: calc(100% - 42px);
  max-height: 470px;
  object-fit: contain;
  border-radius: 7px;
  box-shadow: 0 18px 42px rgba(0, 0, 0, .35);
}
.project-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: clamp(28px, 4vw, 62px);
  background: #263238;
}
.project-text small {
  margin-bottom: 18px;
  color: var(--lime);
  font-size: .86rem;
  font-weight: 700;
  letter-spacing: .12em;
}
.project-text h3 {
  max-width: 20ch;
  margin-bottom: 22px;
  color: var(--ivory);
  font-size: clamp(1.6rem, 3vw, 2.5rem);
}
.project-text p {
  color: #C1CBCA;
  font-size: clamp(1rem, 1.45vw, 1.2rem);
  line-height: 1.65;
}
.project-text .btn {
  margin-top: 14px;
}
.project-pending {
  margin-top: 12px;
  color: #D4DEDA !important;
}
.project-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin-top: 24px;
}
.project-thumb {
  display: grid;
  min-height: 172px;
  grid-template-columns: minmax(110px, .72fr) minmax(0, 1fr);
  grid-template-rows: auto 1fr;
  align-items: center;
  column-gap: 20px;
  padding: 14px 20px 14px 14px;
  overflow: hidden;
  color: var(--ivory);
  background: #202C30;
  border: 1px solid rgba(174, 185, 184, .25);
  border-radius: 16px;
  text-align: left;
  cursor: pointer;
}
.project-thumb img {
  width: 100%;
  height: 142px;
  grid-row: span 2;
  object-fit: cover;
  border-radius: 8px;
}
.project-thumb.is-portrait img {
  object-fit: contain;
}
.project-thumb span {
  align-self: end;
  color: var(--lime);
  font-size: .78rem;
}
.project-thumb strong {
  align-self: start;
  font: 650 1.1rem/1.3 var(--font-display);
}
.project-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  margin-top: 28px;
}
.project-controls .btn {
  min-width: 152px;
}
#project-count {
  min-width: 62px;
  color: var(--technical-gray);
  font-variant-numeric: tabular-nums;
  text-align: center;
}
.why {
  position: relative;
}
.pillar-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.pillar {
  min-height: 220px;
  padding: clamp(24px, 3vw, 40px);
  background: rgba(255, 255, 255, .68);
  border: 1px solid var(--line-light);
  border-radius: 16px;
}
.pillar > span {
  display: block;
  margin-bottom: 30px;
  color: #55751C;
  font: 700 .84rem var(--font-display);
  letter-spacing: .13em;
}
.pillar h3 {
  margin-bottom: 12px;
}
.pillar p {
  max-width: 52ch;
  margin-bottom: 0;
  color: #51605F;
}
.process {
  background: var(--process-surface);
  color: var(--ink);
}
.process .eyebrow {
  color: #536F1D;
}
.process .section-heading p {
  color: #4F5E5D;
}
.timeline {
  --timeline-gap: clamp(18px, 2vw, 28px);
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--timeline-gap);
  padding: 0;
  margin: 0;
  list-style: none;
}
.timeline::before,
.timeline::after {
  position: absolute;
  top: 27px;
  left: 28px;
  right: auto;
  width: calc(75% + (3 * var(--timeline-gap)) / 4);
  height: 2px;
  content: "";
}
.timeline::before {
  background: #C4CDC3;
}
.timeline::after {
  background: #5F821D;
  transform: scaleX(var(--progress, 0));
  transform-origin: left center;
  transition: transform 260ms cubic-bezier(.2, .7, .2, 1);
}
.timeline li {
  position: relative;
  z-index: 1;
  padding-top: 66px;
}
.step-num {
  position: absolute;
  top: 0;
  left: 0;
  display: grid;
  width: 56px;
  height: 56px;
  place-items: center;
  color: #445153;
  background: var(--process-surface);
  border: 2px solid #9BA9A1;
  border-radius: 50%;
  font: 700 1rem var(--font-display);
  transition: color 240ms ease, background 240ms ease, border-color 240ms ease, box-shadow 240ms ease, transform 240ms ease;
}
.timeline li.step-complete .step-num,
.timeline li.step-active .step-num {
  color: var(--obsidian);
  background: var(--lime);
  border-color: #5F821D;
}
.timeline li.step-active .step-num {
  box-shadow: 0 0 0 6px rgba(207, 244, 90, .24);
  transform: scale(1.045);
}
.timeline h3 {
  margin-bottom: 10px;
}
.timeline h4 {
  margin-bottom: 10px;
  color: #465554;
  font: 600 1rem/1.4 var(--font-body);
  letter-spacing: 0;
}
.timeline p {
  margin-bottom: 0;
  color: #586766;
  font-size: .93rem;
  line-height: 1.7;
}
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
  align-items: start;
  gap: clamp(40px, 7vw, 100px);
}
.contact h2 {
  max-width: 16ch;
}
.contact-grid > div > p:not(.eyebrow) {
  color: var(--technical-gray);
}
.faq-list {
  margin-top: 36px;
  border-top: 1px solid var(--line-dark);
}
.faq-item {
  border-bottom: 1px solid var(--line-dark);
}
.faq-question {
  margin: 0;
  font: inherit;
}
.faq-trigger {
  display: flex;
  width: 100%;
  min-height: 72px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 0;
  color: var(--ivory);
  background: none;
  border: 0;
  text-align: left;
  font: 650 1.04rem/1.4 var(--font-display);
  cursor: pointer;
}
.faq-icon {
  flex: 0 0 auto;
  color: var(--lime);
  font-size: 1.35rem;
}
.faq-answer {
  padding: 0 38px 20px 0;
  color: #C0CBCA;
}
.faq-answer p {
  margin: 0;
}
.faq-enhanced .faq-answer {
  display: grid;
  grid-template-rows: 0fr;
  padding-block: 0;
  transition: grid-template-rows var(--motion-ui) var(--ease-ui), padding var(--motion-ui) var(--ease-ui);
}
.faq-enhanced .faq-item.is-open .faq-answer {
  grid-template-rows: 1fr;
  padding-bottom: 20px;
}
.faq-answer-inner {
  min-height: 0;
  overflow: hidden;
  opacity: 1;
}
.faq-enhanced .faq-answer-inner {
  opacity: 0;
  transition: opacity 180ms var(--ease-ui);
}
.faq-enhanced .faq-item.is-open .faq-answer-inner {
  opacity: 1;
}
.form-surface {
  padding: clamp(24px, 3vw, 38px);
  color: var(--ivory);
  background: #1C272B;
  border: 1px solid var(--line-dark);
  border-radius: 18px;
}
.form-surface h3 {
  margin-bottom: 10px;
}
.form-surface > p {
  margin-bottom: 24px;
  color: var(--technical-gray);
}
#contact-form {
  display: grid;
  gap: 10px;
}
#contact-form > label,
#contact-form legend {
  margin-top: 8px;
  color: #E2E7E2;
  font-size: .9rem;
  font-weight: 600;
}
#contact-form input:not([type="radio"]),
#contact-form textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  color: var(--ivory);
  background: #131C1F;
  border: 1px solid #586667;
  border-radius: 8px;
  outline: none;
  transition: border-color var(--motion-fast) var(--ease-ui), box-shadow var(--motion-fast) var(--ease-ui);
}
#contact-form textarea {
  resize: vertical;
}
#contact-form input::placeholder,
#contact-form textarea::placeholder {
  color: #8F9B99;
}
#contact-form input:focus-visible,
#contact-form textarea:focus-visible {
  border-color: var(--lime);
  box-shadow: 0 0 0 2px rgba(207, 244, 90, .23);
}
#contact-form fieldset {
  display: grid;
  gap: 8px;
  padding: 14px;
  margin: 8px 0;
  border: 1px solid #586667;
  border-radius: 8px;
}
#contact-form fieldset label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: #D1D9D6;
  font-size: .9rem;
}
#contact-form input[type="radio"] {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  accent-color: var(--lime);
}
#contact-form [aria-invalid="true"] {
  border-color: #FFB2A7 !important;
}
.field-error {
  color: #FFD0C9;
  font-size: .82rem;
}
.form-notice {
  margin-top: 14px;
  padding: 12px 14px;
  border-radius: 6px;
  color: #D8E5BE;
  background: rgba(207, 244, 90, .07);
  border-left: 3px solid var(--lime);
  font-size: .88rem;
  line-height: 1.5;
}
.form-notice.is-error {
  color: #FFD0C9;
  background: rgba(255, 107, 89, .1);
  border-left-color: #FF6B59;
}
.form-notice.is-loading {
  color: var(--technical-gray);
  background: rgba(174, 185, 184, .08);
  border-left-color: var(--technical-gray);
}
#media-dialog {
  position: fixed;
  inset: 0;
  margin: auto;
  width: min(960px, calc(100% - 32px));
  max-width: none;
  max-height: min(90dvh, 880px);
  padding: clamp(20px, 3.2vw, 36px);
  overflow: hidden;
  box-sizing: border-box;
  color: var(--ivory);
  background: #12191C;
  border: 1px solid rgba(174, 185, 184, .3);
  border-radius: 18px;
  box-shadow: 0 30px 100px rgba(0, 0, 0, .55);
}
#media-dialog::-webkit-scrollbar {
  display: none;
  width: 0;
  height: 0;
}
#media-dialog::backdrop {
  background: rgba(4, 8, 9, .82);
  backdrop-filter: blur(4px);
}
#dialog-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  width: 100%;
  box-sizing: border-box;
}
#dialog-title {
  align-self: flex-start;
  width: 100%;
  padding-right: 48px;
  margin-bottom: 0;
  font-size: clamp(1.2rem, 2.4vw, 1.85rem);
  line-height: 1.2;
}
#dialog-content video {
  display: block;
  max-width: 100%;
  max-height: calc(85dvh - 120px);
  width: auto;
  height: auto;
  margin-inline: auto;
  background: #000;
  object-fit: contain;
  border-radius: 10px;
}
#dialog-content video::-webkit-media-controls-overflow-button,
#dialog-content video::-webkit-media-controls-download-button,
#dialog-content video::-webkit-media-controls-picture-in-picture-button {
  display: none !important;
}
#dialog-content .dialog-message {
  justify-self: stretch;
  color: var(--technical-gray);
}
.close-dialog {
  position: absolute;
  z-index: 10;
  top: clamp(16px, 2.5vw, 24px);
  right: clamp(16px, 2.5vw, 24px);
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  color: var(--ivory);
  background: #2A383B;
  border: 1px solid #647271;
  border-radius: 50%;
  cursor: pointer;
  transition: transform var(--motion-fast) var(--ease-ui), background var(--motion-fast) var(--ease-ui), border-color var(--motion-fast) var(--ease-ui), color var(--motion-fast) var(--ease-ui);
}
.close-dialog:hover {
  background: #36484C;
  border-color: var(--lime);
  color: var(--lime);
  transform: scale(1.06);
}

