/* Command Make · Estilos públicos (web estática, sin dependencias del CRM). */
:root {
  --cm-night: #040a12;
  --cm-deep: #08182a;
  --cm-blue: #08add9;
  --cm-glow: #3fd4ff;
  --cm-ink: #17232b;
  --cm-paper: #f3f6f7;
  --cm-line: #d7e2e6;
  --cm-muted: #5c707a;
  --sans: "Inter Tight", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --ease: cubic-bezier(.16, 1, .3, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font: 16px/1.55 var(--sans);
  color: var(--cm-ink);
  background: var(--cm-paper);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
button, input, select, textarea { font: inherit; }
button, a, input, select, textarea { -webkit-tap-highlight-color: transparent; }
button, a { touch-action: manipulation; }
button { cursor: pointer; color: inherit; }
button:disabled { opacity: .45; cursor: not-allowed; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { line-height: 1.08; letter-spacing: -.04em; text-wrap: balance; }
p { text-wrap: pretty; }
img, svg { max-width: 100%; display: block; }
[hidden] { display: none !important; }
::selection { background: var(--cm-blue); color: #fff; }

:focus-visible { outline: 2px solid var(--cm-blue); outline-offset: 3px; }
.skip-link {
  position: fixed;
  left: 16px;
  top: -80px;
  z-index: 1000;
  padding: 10px 16px;
  border-radius: 8px;
  background: #fff;
  color: var(--cm-ink);
  font-weight: 600;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .25);
}
.skip-link:focus { top: 14px; }

.container {
  width: min(1280px, calc(100% - 96px));
  margin-inline: auto;
}

.btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  min-height: 46px;
  padding: 12px 24px;
  border: 1px solid transparent;
  border-radius: 99px;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.3;
  transition: background .2s ease, border-color .2s ease, color .2s ease, box-shadow .2s ease, transform .2s ease;
}
.btn-primary {
  background: var(--cm-blue);
  color: #04121b;
  box-shadow: 0 6px 22px rgba(8, 173, 217, .24);
}
.btn-primary:hover {
  background: var(--cm-glow);
  box-shadow: 0 8px 28px rgba(8, 173, 217, .38);
  transform: translateY(-1px);
}

/* ---------- Header y navegación ---------- */
.studio-header,
.studio-header.container {
  position: sticky;
  top: 0;
  z-index: 50;
  width: 100%;
  max-width: none;
  margin: 0;
  height: 84px;
  padding-inline: max(24px, calc((100% - 1280px) / 2));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  background: var(--cm-night);
  color: #e9f2f6;
  border-bottom: 1px solid rgba(63, 212, 255, .14);
}
.studio-header :is(a, button, summary):focus-visible {
  outline: 2px solid var(--cm-glow);
  outline-offset: 3px;
}

.studio-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -.03em;
  white-space: nowrap;
}
.studio-brand img {
  width: 40px;
  height: 40px;
  flex: 0 0 auto;
  object-fit: contain;
}

.studio-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 14px;
}
.studio-nav summary,
.studio-nav > a {
  color: #e9f2f6;
  transition: color .2s ease;
}
.studio-nav summary:hover,
.studio-nav > a:hover {
  color: var(--cm-glow);
}

.nav-dropdown { position: relative; }
.nav-dropdown summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  user-select: none;
}
.nav-dropdown summary::-webkit-details-marker { display: none; }
.nav-chevron { width: 14px; height: 14px; transition: transform .2s ease; }
.nav-dropdown[open] .nav-chevron { transform: rotate(180deg); }

.nav-panel {
  position: absolute;
  top: calc(100% + 10px);
  left: -16px;
  min-width: 215px;
  padding: 8px;
  border: 1px solid rgba(63, 212, 255, .24);
  border-radius: 14px;
  background: rgba(8, 24, 42, .97);
  backdrop-filter: blur(12px);
  box-shadow: 0 20px 44px rgba(0, 0, 0, .55), 0 0 0 1px rgba(8, 173, 217, .08);
}
.nav-panel > :is(a, button) {
  display: flex;
  align-items: center;
  width: 100%;
  min-height: 42px;
  padding: 9px 14px;
  border: 0;
  border-radius: 8px;
  background: none;
  color: #e9f2f6;
  font: inherit;
  text-align: left;
  white-space: nowrap;
  transition: background .18s ease, color .18s ease;
}
.nav-panel > a:hover,
.nav-panel > button:not([aria-disabled="true"]):hover {
  background: rgba(8, 173, 217, .18);
  color: #fff;
}
.nav-panel > button[aria-disabled="true"] {
  color: #93b3c2;
  cursor: default;
}
.nav-panel > button[aria-disabled="true"]:hover {
  background: rgba(63, 212, 255, .06);
  color: #b7d2de;
}

.studio-nav .nav-contact {
  border: 1px solid var(--cm-blue);
  border-radius: 99px;
  padding: 10px 20px;
  color: #fff;
  background: rgba(8, 173, 217, .12);
  font-weight: 500;
  transition: background .2s ease, color .2s ease, border-color .2s ease;
}
.studio-nav .nav-contact:hover {
  background: var(--cm-blue);
  color: #04121b;
}

.menu-toggle {
  display: none;
  appearance: none;
  -webkit-appearance: none;
  align-items: center;
  justify-content: center;
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  margin: 0;
  padding: 0;
  border: 1px solid rgba(63, 212, 255, .24);
  border-radius: 10px;
  background: rgba(8, 24, 42, .6);
  color: #e9f2f6;
  transition: color .18s ease, border-color .18s ease, background .18s ease;
}
.menu-toggle:hover,
.menu-toggle:active {
  color: var(--cm-glow);
  border-color: rgba(63, 212, 255, .55);
  background: rgba(8, 173, 217, .14);
}
.menu-toggle svg {
  display: block;
  width: 24px;
  height: 24px;
}

/* ---------- Hero banner ---------- */
.cm-banner {
  position: relative;
  display: block;
  background: var(--cm-night);
  overflow: hidden;
}
.cm-banner-video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  height: auto;
  object-fit: contain;
  background: var(--cm-night);
}
.cm-banner-cta {
  position: absolute;
  inset: 0;
  font-size: 0;
  color: transparent;
}
.cm-sr {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

/* ---------- Carrusel de marcas ---------- */
.client-brands {
  position: relative;
  isolation: isolate;
  min-height: 82px;
  display: flex;
  align-items: center;
  padding: 10px 0;
  overflow: hidden;
  background: var(--cm-night);
  border-top: 1px solid rgba(63, 212, 255, .12);
  border-bottom: 1px solid rgba(63, 212, 255, .14);
  color: #f6fafb;
}
.client-brands__viewport {
  width: 100%;
  min-width: 0;
  flex: 1;
  overflow-x: auto;
  scrollbar-width: none;
}
.client-brands[data-ready="true"] .client-brands__viewport { overflow: hidden; }
.client-brands__viewport:focus-visible { outline: 2px solid var(--cm-glow); outline-offset: -3px; }
.client-brands__track { display: flex; width: max-content; }
.client-brands__group {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: clamp(32px, 4.5vw, 72px);
  width: max-content;
  list-style: none;
  margin: 0;
  padding: 0 clamp(32px, 4.5vw, 72px) 0 0;
}
.client-brands__item {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 148px;
  width: 148px;
  min-width: 0;
  height: 64px;
}
.client-brands__item img {
  display: block;
  object-fit: contain;
  max-width: 100%;
  opacity: .92;
  transition: opacity .2s ease;
}
.client-brands__item:hover img { opacity: 1; }
.client-brands__item--caminoa img { width: 120px; height: auto; }
.client-brands__item--della img { width: 64px; height: 50px; filter: brightness(0) invert(1); }
.client-brands__item--fit img { width: 48px; height: 48px; }
.client-brands__item--flor img { width: 124px; height: 44px; }
.client-brands[data-ready="true"] .client-brands__track {
  animation: client-brands-scroll var(--client-loop-duration, 28s) linear infinite;
  will-change: transform;
}
.client-brands__viewport:hover .client-brands__track,
.client-brands__viewport:focus-within .client-brands__track {
  animation-play-state: paused;
}
@keyframes client-brands-scroll {
  to { transform: translateX(calc(-1 * var(--client-loop-width))); }
}

/* ---------- Portfolio ---------- */
.work-section { padding: 112px 0 88px; }
.work-heading {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 44px;
  margin-bottom: 54px;
}
.work-heading > p {
  font-size: 15px;
  line-height: 1.7;
  color: var(--cm-muted);
  max-width: 330px;
  margin-bottom: 4px;
}
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 54px 30px;
}
.project,
.project-scene,
.laptop,
.laptop-screen { min-width: 0; max-width: 100%; }

.project-scene {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: center;
  justify-items: center;
  width: 100%;
  padding: clamp(44px, 5vw, 68px) clamp(18px, 2.6vw, 36px) clamp(34px, 4vw, 52px);
  border-radius: 22px;
  background: linear-gradient(180deg, #e9eff1, #dbe8ec);
  overflow: hidden;
  perspective: 1000px;
  isolation: isolate;
}
.project-scene::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: linear-gradient(to bottom, var(--cm-paper) 0%, #f3f6f7e0 12%, #f3f6f766 28%, transparent 55%);
}
.project .scene-cream { background: linear-gradient(180deg, #f1eee4, #e4dfd0); }
.project .scene-blue { background: linear-gradient(180deg, #e2eff4, #cfe5ee); }
.project .scene-silver { background: linear-gradient(180deg, #eceff0, #dde3e5); }

.project .laptop {
  position: relative;
  z-index: 1;
  width: 82%;
  max-width: 850px;
  transform: rotateY(-7deg) rotateX(5deg);
  transition: transform .6s var(--ease);
}
.project:nth-child(even) .laptop { transform: rotateY(7deg) rotateX(5deg); }
.project:hover .laptop { transform: rotateY(0) rotateX(0) translateY(-5px); }

.laptop-screen {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 7px solid #1d292f;
  border-radius: 9px 9px 3px 3px;
  background: #152229;
  box-shadow: 0 0 0 1px #b8c5c9, 0 24px 40px rgba(22, 44, 55, .19);
  overflow: hidden;
}
.laptop-screen::before {
  content: "";
  position: absolute;
  width: 4px;
  height: 4px;
  top: -5px;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 50%;
  background: #607c8c;
  z-index: 2;
}
.laptop-screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}
.laptop-base {
  position: relative;
  width: 115%;
  height: clamp(8px, 1vw, 13px);
  margin-left: -7.5%;
  background: linear-gradient(#e8eeee, #9facb1 60%, #63747c);
  border-radius: 2px 2px 50% 50% / 2px 2px 100% 100%;
  box-shadow: 0 14px 20px rgba(23, 35, 43, .12);
}
.laptop-base::after {
  content: "";
  position: absolute;
  left: 43%;
  top: 0;
  width: 14%;
  height: 4px;
  border-radius: 0 0 5px 5px;
  background: #9caeb5;
}

.project-details {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-top: 20px;
  gap: 16px;
}
.project-details h3 {
  font-size: 23px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -.02em;
  margin-bottom: 6px;
}
.project-details p {
  font-size: 13.5px;
  color: #5f717a;
  line-height: 1.55;
  max-width: 460px;
}
.project-web-link {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  flex: 0 0 auto;
  min-width: 104px;
  min-height: 44px;
  padding: 10px 18px;
  border: 1.5px solid var(--cm-blue);
  border-radius: 99px;
  color: var(--cm-ink);
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
  transition: background .2s ease, color .2s ease, border-color .2s ease, transform .2s ease;
}
.project-web-link:hover {
  background: var(--cm-blue);
  color: #fff;
  transform: translateY(-1px);
}

/* ---------- Visor interactivo de proyectos (dialog) ---------- */
.project-dialog {
  width: min(1680px, calc(100% - 32px));
  height: calc(100svh - 24px);
  max-width: none;
  max-height: calc(100svh - 24px);
  padding: 12px 16px 8px;
  border: 1px solid #d2dfe2;
  border-radius: 16px;
  background: #f5f8f8;
  color: var(--cm-ink);
  box-shadow: 0 24px 100px rgba(19, 35, 43, .36);
  overflow: hidden;
  overscroll-behavior: contain;
}
.project-dialog::backdrop {
  background: rgba(4, 10, 18, .76);
  backdrop-filter: blur(8px);
}
.project-dialog[open] {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  gap: 8px;
}
.dialog-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  min-height: 44px;
}
.dialog-project-heading {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 5px 16px;
  min-width: 0;
}
.dialog-bar h2 {
  font-size: clamp(20px, 2.2vw, 26px);
  font-weight: 700;
  letter-spacing: -.03em;
}
.dialog-bar p { font-size: 12px; color: #536e7b; }
#project-dialog-source {
  font-size: 11px;
  font-weight: 600;
  color: #097c9c;
  background: rgba(8, 173, 217, .12);
  padding: 3px 9px;
  border-radius: 99px;
}
.dialog-actions {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 6px;
}
.dialog-actions > button,
.dialog-actions > a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  height: 42px;
  min-width: 42px;
  padding: 0 12px;
  color: var(--cm-ink);
  border: 1px solid transparent;
  border-radius: 8px;
  background: transparent;
  font-size: 12.5px;
  font-weight: 500;
  white-space: nowrap;
  transition: background .18s ease, border-color .18s ease;
}
.dialog-actions > button:hover,
.dialog-actions > a:hover {
  border-color: #b9cbd0;
  background: #e6eff0;
}
.dialog-actions > .dialog-close {
  width: 42px;
  padding: 0;
  border: 1px solid #bacdd3;
  border-radius: 50%;
}
.project-laptop {
  display: grid;
  grid-template-rows: minmax(0, 1fr) 11px;
  min-height: 0;
  padding-inline: 10px;
}
.project-monitor {
  position: relative;
  display: grid;
  grid-template-rows: minmax(0, 1fr);
  min-height: 0;
  padding: 12px 8px 9px;
  border: 1px solid #819198;
  border-radius: 17px 17px 5px 5px;
  background: #233138;
  box-shadow: inset 0 1px 0 rgba(231, 242, 242, .4), 0 12px 24px rgba(23, 35, 43, .1);
}
.project-monitor::before {
  content: "";
  position: absolute;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  top: 4px;
  left: calc(50% - 2px);
  background: #6d8089;
  box-shadow: 0 0 0 1px var(--cm-ink);
}
.project-laptop-base {
  position: relative;
  margin-inline: -10px;
  border: 1px solid #9eafb5;
  border-top: 0;
  border-radius: 0 0 55% 55% / 0 0 85% 85%;
  background: linear-gradient(#dce5e6, #8fa2aa);
  box-shadow: 0 8px 13px rgba(23, 35, 43, .1);
}
.project-laptop-base::before {
  content: "";
  position: absolute;
  left: 42%;
  right: 42%;
  height: 4px;
  top: 0;
  border-radius: 0 0 5px 5px;
  background: #8e9fa6;
}
.project-browser-screen {
  position: relative;
  min-height: 0;
  border-radius: 4px 4px 0 0;
  background: #fff;
  overflow: hidden;
}
.project-browser-screen iframe {
  position: absolute;
  inset: 0 auto auto 0;
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  background: #fff;
  transform-origin: top left;
}
.project-browser-loading {
  display: none;
  position: absolute;
  inset: 0;
  place-items: center;
  background: rgba(245, 248, 248, .85);
  pointer-events: none;
}
.is-project-loading .project-browser-loading { display: grid; }
.project-browser-loading span {
  width: 30px;
  height: 30px;
  border: 2px solid #d0e4e8;
  border-top-color: var(--cm-blue);
  border-radius: 50%;
  animation: project-spinner 800ms linear infinite;
}
.project-browser-description,
.project-browser-status {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
@keyframes project-spinner { to { transform: rotate(1turn); } }

/* ---------- Proceso ---------- */
.cm-process {
  padding-block: clamp(24px, 3.2vw, 48px) clamp(58px, 7vw, 100px);
  text-align: center;
}
.cm-process-heading {
  max-width: 830px;
  margin: 0 auto clamp(38px, 4.6vw, 60px);
}
.cm-process-stages {
  --cm-progress: 0;
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 36px;
}
.cm-process-rail {
  position: absolute;
  z-index: 0;
  top: var(--cm-track-top, 27px);
  left: var(--cm-track-left, calc(16.667% - 12px));
  width: var(--cm-track-length, calc(66.667% + 24px));
  height: 3px;
  background: #d5e2e5;
  border-radius: 3px;
  pointer-events: none;
}
.cm-process-rail > span {
  display: block;
  position: relative;
  width: 100%;
  height: 100%;
  background: var(--cm-blue);
  border-radius: inherit;
  transform: scaleX(var(--cm-progress));
  transform-origin: left center;
  box-shadow: 0 0 14px rgba(8, 173, 217, .22);
}
.cm-process-rail > span::after {
  content: "";
  position: absolute;
  right: -4px;
  top: -3.5px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--cm-blue);
  box-shadow: 0 0 0 6px rgba(8, 173, 217, .12), 0 0 18px rgba(8, 173, 217, .4);
}
.cm-process-stage { position: relative; z-index: 1; min-width: 0; }
.cm-process-marker {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  margin: 0 auto 26px;
  border: 1px solid #c6d9df;
  border-radius: 50%;
  background: var(--cm-paper);
  color: #5f7882;
  box-shadow: 0 0 0 9px var(--cm-paper);
  transition: color .3s ease, border-color .3s ease, background-color .3s ease, box-shadow .3s ease, transform .3s ease;
}
.cm-process-marker svg {
  width: 27px;
  height: 27px;
  stroke: currentColor;
  stroke-width: 1.65;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.cm-process-stage.is-reached .cm-process-marker {
  color: #087b9b;
  border-color: var(--cm-blue);
  background: #e2f4f8;
  box-shadow: 0 0 0 9px var(--cm-paper), 0 0 0 10px rgba(8, 173, 217, .1);
}
.cm-process-stage.is-active .cm-process-marker {
  color: #fff;
  border-color: var(--cm-blue);
  background: var(--cm-blue);
  transform: scale(1.08);
  box-shadow: 0 0 0 9px var(--cm-paper), 0 0 0 14px rgba(8, 173, 217, .12), 0 7px 26px rgba(8, 173, 217, .2);
}
.cm-process-stage.is-active .cm-process-marker svg { animation: cm-process-icon-arrive 420ms ease both; }
.cm-process-copy h3 {
  margin: 0 0 14px;
  font-size: clamp(22px, 2.25vw, 30px);
  line-height: 1.14;
  letter-spacing: -.035em;
}
.cm-process-copy p {
  margin: 0 auto;
  max-width: 35ch;
  font-size: clamp(16px, 1.45vw, 18.5px);
  line-height: 1.6;
  color: #617781;
}
@keyframes cm-process-icon-arrive { from { transform: scale(.72); } to { transform: scale(1); } }

/* ---------- Precios ---------- */
.pricing-shell {
  position: relative;
  overflow: hidden;
  background: var(--cm-night) url("waves.svg") center/cover no-repeat;
  color: #f4f8fa;
}
.pricing-shell::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(90% 60% at 50% 120%, rgba(8, 173, 217, .35), transparent 70%);
  pointer-events: none;
}
.pricing-shell :is(a, button, summary):focus-visible { outline-color: var(--cm-glow); }

.studio-pricing {
  position: relative;
  padding-block: 82px;
}
.studio-pricing .section-heading { margin-bottom: 30px; }
.studio-pricing .section-heading h2 { max-width: 780px; }

.pricing-intro {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 16px 0;
  margin-bottom: 24px;
  border-block: 1px solid rgba(63, 212, 255, .16);
}
.pricing-label {
  font-size: 14px;
  font-weight: 500;
  color: #e9eef0;
}
.currency-switch {
  display: flex;
  padding: 4px;
  gap: 4px;
  border: 1px solid rgba(63, 212, 255, .28);
  border-radius: 99px;
  flex-shrink: 0;
  background: rgba(8, 24, 42, .6);
}
.currency-switch button {
  border: 0;
  border-radius: 99px;
  min-width: 68px;
  min-height: 38px;
  padding: 8px 18px;
  background: transparent;
  color: #d6e4ea;
  font-size: 14px;
  font-weight: 600;
  transition: background .18s ease, color .18s ease;
}
.currency-switch button[aria-pressed="true"] {
  background: var(--cm-blue);
  color: #04121b;
}

.studio-exchange-feedback {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  color: #c7dae1;
  font-size: 12.5px;
}
.studio-exchange-feedback:has(#exchange-retry:not([hidden])) { padding-bottom: 20px; }
.studio-exchange-feedback button {
  background: none;
  border: 0;
  padding: 6px 0;
  color: var(--cm-glow);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  align-items: stretch;
}
.plan-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 24px 20px 22px;
  border-radius: 22px;
  background: rgba(10, 24, 38, .82);
  border: 1px solid rgba(63, 212, 255, .18);
  backdrop-filter: blur(8px);
  transition: transform .28s ease, border-color .28s ease, box-shadow .28s ease;
}
.plan-card:hover {
  transform: translateY(-4px);
  border-color: rgba(63, 212, 255, .5);
}
.plan-featured {
  background: linear-gradient(155deg, rgba(16, 46, 62, .92), rgba(10, 24, 38, .88) 65%);
  border: 1.5px solid var(--cm-blue);
  box-shadow: 0 0 46px rgba(8, 173, 217, .22);
}
.plan-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-height: 24px;
  margin-bottom: 12px;
}
.studio-plan-label {
  font-size: 10.5px;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #9ecad8;
}
.plan-badge {
  flex: 0 0 auto;
  padding: 4px 10px;
  border-radius: 99px;
  background: rgba(8, 173, 217, .2);
  border: 1px solid rgba(63, 212, 255, .55);
  color: var(--cm-glow);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  white-space: nowrap;
}
.plan-card h3 {
  font-size: 27px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -.02em;
  color: #fff;
}
.plan-description {
  min-height: 58px;
  margin-top: 10px;
  font-size: 13.5px;
  line-height: 1.55;
  color: #c1d1d8;
}
.plan-price {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 18px;
}
.plan-price > span { font-size: 12px; color: #c6d5dc; }
.plan-price strong {
  font-size: clamp(26px, 2.3vw, 35px);
  font-weight: 800;
  letter-spacing: -.04em;
  line-height: 1.1;
  color: #fff;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.plan-price .studio-price-from {
  flex-basis: 100%;
  font-size: 10.5px;
  margin-bottom: -3px;
  color: #9dc2d0;
  text-transform: uppercase;
  letter-spacing: .06em;
}
.plan-price-detail {
  margin-top: 10px;
  font-size: 11.5px;
  line-height: 1.5;
  color: #c1d1d8;
}
.studio-plan-timing {
  margin: 4px 0 18px;
  font-size: 11.5px;
  line-height: 1.5;
  color: #90bece;
}

.plan-features {
  list-style: none;
  margin: 0 0 16px;
  padding: 16px 0 0;
  border-top: 1px solid rgba(63, 212, 255, .14);
  display: grid;
  gap: 9px;
}
.plan-features li {
  position: relative;
  padding-left: 26px;
  font-size: 13.5px;
  line-height: 1.45;
  color: #e0ecf1;
}
.plan-features li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 2px;
  width: 17px;
  height: 17px;
  border-radius: 50%;
  background: rgba(8, 173, 217, .2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%233fd4ff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12 4 4 8-8'/%3E%3C/svg%3E") center/11px no-repeat;
}

.plan-process {
  margin: auto 0 16px;
  border: 1px solid rgba(63, 212, 255, .18);
  border-radius: 14px;
  background: rgba(63, 212, 255, .04);
  overflow: hidden;
  transition: border-color .2s ease, background .2s ease;
}
.plan-process[open] {
  border-color: rgba(63, 212, 255, .45);
  background: rgba(63, 212, 255, .07);
}
.plan-process summary {
  list-style: none;
  cursor: pointer;
  min-height: 44px;
  padding: 0 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-size: 13px;
  font-weight: 600;
  color: #d6e8ef;
}
.plan-process summary::-webkit-details-marker { display: none; }
.plan-process summary::after {
  content: "+";
  width: 24px;
  height: 24px;
  border: 1.5px solid var(--cm-blue);
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--cm-blue);
  font-size: 16px;
  line-height: 1;
  transition: transform .25s ease, background .25s ease, color .25s ease;
}
.plan-process[open] summary::after {
  transform: rotate(45deg);
  background: var(--cm-blue);
  color: #04121b;
}
.studio-plan-content {
  padding: 10px 14px 14px;
  border-top: 1px solid rgba(63, 212, 255, .12);
  animation: cm-open .22s ease;
}
.studio-plan-content > p {
  font-size: 12px;
  line-height: 1.6;
  color: #9cb6c2;
}
.studio-plan-content > p + p {
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px dashed rgba(63, 212, 255, .14);
}
@keyframes cm-open { from { opacity: 0; transform: translateY(-5px); } to { opacity: 1; transform: none; } }

.plan-request {
  width: 100%;
  min-height: 44px;
  padding: 10px 16px;
  border-radius: 99px;
  background: #dff5fa;
  border: 1px solid #dff5fa;
  color: #04121b;
  font-size: 13.5px;
  font-weight: 600;
  text-align: center;
}
.plan-request:hover {
  background: #fff;
  border-color: #fff;
  color: #04121b;
}
.plan-featured .plan-request {
  background: var(--cm-blue);
  border-color: var(--cm-blue);
  color: #04121b;
  box-shadow: 0 8px 26px rgba(8, 173, 217, .32);
}
.plan-featured .plan-request:hover {
  background: var(--cm-glow);
  border-color: var(--cm-glow);
  color: #04121b;
  box-shadow: 0 10px 32px rgba(63, 212, 255, .42);
}

.studio-pricing-terms {
  margin-top: 24px;
  color: #b5c8d0;
  max-width: 920px;
  font-size: 12px;
}
.studio-pricing-terms summary {
  min-height: 34px;
  cursor: pointer;
  width: fit-content;
}
.studio-pricing-terms p {
  margin-top: 8px;
  line-height: 1.75;
}

/* ---------- Contacto ---------- */
.studio-contact {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(36px, 6vw, 100px);
  padding-block: 96px;
  align-items: start;
}
.studio-contact-intro > p {
  font-size: 18px;
  line-height: 1.6;
  color: var(--cm-muted);
  margin: 22px 0 24px;
}
.studio-contact-links {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}
.contact-whatsapp,
.contact-email {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 16px;
  font-weight: 600;
  color: var(--cm-ink);
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-color: var(--cm-blue);
  transition: color .18s ease;
}
.contact-whatsapp:hover,
.contact-email:hover { color: var(--cm-blue); }

.contact-form {
  display: grid;
  gap: 20px;
  padding-top: 4px;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.contact-form label {
  display: grid;
  gap: 8px;
  font-size: 13.5px;
  font-weight: 600;
  color: #304752;
}
.contact-form :is(input, select, textarea) {
  width: 100%;
  min-width: 0;
  padding: 13px 15px;
  border: 1px solid #c7d7dd;
  border-radius: 14px;
  background: #fff;
  color: var(--cm-ink);
  font-size: 16px;
  transition: border-color .18s ease, box-shadow .18s ease;
}
.contact-form :is(input, select, textarea):focus {
  outline: none;
  border-color: var(--cm-blue);
  box-shadow: 0 0 0 3px rgba(8, 173, 217, .14);
}
.contact-form textarea { resize: vertical; min-height: 126px; }

.studio-contact-submit {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px 20px;
}
.studio-contact-status {
  font-size: 12px;
  color: var(--cm-muted);
  line-height: 1.6;
}
.studio-contact-prepared {
  padding: 18px 20px;
  border: 1px solid #b6d5de;
  background: #e9f3f5;
  border-radius: 14px;
}
.studio-prepared-title {
  color: #263e49;
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 10px;
}
#studio-contact-text {
  font-size: 13.5px;
  line-height: 1.7;
  white-space: pre-line;
  overflow-wrap: anywhere;
  color: #3b5663;
}
.studio-contact-options {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin-top: 12px;
}
.studio-contact-options :is(button, a) {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 6px 0;
  background: none;
  border: 0;
  color: #135d74;
  font-size: 13px;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 4px;
}
#studio-contact-result {
  font-size: 12.5px;
  line-height: 1.6;
  color: #44616e;
  margin-top: 8px;
}

/* ---------- Footer ---------- */
.studio-footer {
  background: var(--cm-night) url("waves.svg") center/cover no-repeat;
  border-top: 1px solid rgba(63, 212, 255, .14);
  color: #f4f8fa;
  padding: 42px 0;
}
.studio-footer :is(a, button):focus-visible { outline-color: var(--cm-glow); }
.studio-footer .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 22px;
}
.studio-footer .studio-brand { font-size: 20px; color: #f5f8f8; }
.studio-footer p { font-size: 13px; color: #a5bac4; }
.studio-footer a { font-size: 13.5px; transition: color .18s ease; }
.studio-footer a:hover { color: var(--cm-glow); }

/* ---------- Responsive ---------- */
@media (max-width: 1279px) {
  .container:not(.studio-header) { width: calc(100% - 64px); }
}
@media (max-width: 1099px) {
  .pricing-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
  .plan-description { min-height: 44px; }
}
@media (max-width: 1000px) and (min-width: 720px) {
  .container:not(.studio-header) { width: calc(100% - 56px); }
  .studio-nav { gap: 20px; font-size: 13.5px; }
}
@media (max-width: 760px) {
  .studio-header,
  .studio-header.container { height: 68px; padding-inline: 16px; }
  .cm-banner-video { aspect-ratio: 3 / 4; }
  .cm-process-heading { margin-bottom: 36px; }
  .cm-process-stages { grid-template-columns: minmax(0, 1fr); gap: 34px; }
  .cm-process-stage { display: flex; flex-direction: column; align-items: center; }
  .cm-process-rail {
    top: var(--cm-track-top, 27px);
    left: var(--cm-track-left, 50%);
    width: 3px;
    height: var(--cm-track-length, calc(100% - 130px));
  }
  .cm-process-rail > span { transform: scaleY(var(--cm-progress)); transform-origin: center top; }
  .cm-process-rail > span::after { top: auto; bottom: -4px; left: -3.5px; right: auto; }
  .cm-process-marker { flex: 0 0 54px; margin-bottom: 14px; }
  .cm-process-copy {
    position: relative;
    z-index: 2;
    width: 100%;
    padding: 8px 8px 12px;
    background: var(--cm-paper);
  }
}
@media (max-width: 719px) {
  .container:not(.studio-header) { width: calc(100% - 36px); }
  .menu-toggle { display: flex; }
  .studio-brand { font-size: 19px; gap: 8px; }
  .studio-brand img { width: 36px; height: 36px; }

  .studio-nav {
    display: none;
    position: absolute;
    top: calc(100% - 1px);
    left: 0;
    right: 0;
    padding: 16px;
    gap: 6px;
    flex-direction: column;
    align-items: stretch;
    background: #08182a;
    border-top: 1px solid rgba(63, 212, 255, .18);
    border-bottom: 1px solid rgba(63, 212, 255, .24);
    box-shadow: 0 24px 50px rgba(0, 0, 0, .55);
  }
  .studio-nav.open { display: flex; }
  .studio-nav .nav-dropdown { width: 100%; }
  .nav-dropdown summary { justify-content: space-between; padding: 4px 10px; }
  .nav-panel {
    position: static;
    min-width: 0;
    margin: 4px 0 8px;
    padding: 6px;
    background: rgba(63, 212, 255, .07);
    border: 1px solid rgba(63, 212, 255, .14);
    box-shadow: none;
    backdrop-filter: none;
  }
  .studio-nav .nav-contact {
    margin-top: 8px;
    padding: 12px 16px;
    text-align: center;
  }

  .work-section { padding: 72px 0 48px; }
  .work-heading { display: block; margin-bottom: 32px; }
  .work-heading > p { margin-top: 18px; font-size: 14px; }
  .portfolio-grid { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .project-scene { padding: 36px 16px 30px; }
  .project .laptop { width: 86%; }
  .project .laptop-screen { border-width: 5px; }
  .project:hover .laptop { transform: translateY(-3px); }
  .project-details h3 { font-size: 21px; }
  .project-web-link { padding: 9px 14px; min-width: 88px; font-size: 13px; }

  .studio-contact { grid-template-columns: 1fr; padding-block: 64px; gap: 32px; }
  .studio-contact-intro > p { font-size: 16px; margin-block: 18px; }
  .form-grid { grid-template-columns: 1fr; }

  .studio-footer { padding: 36px 0 88px; }
  .studio-footer .container { align-items: flex-start; }
  .studio-footer .studio-brand { width: 100%; }
}
@media (max-width: 639px) {
  .studio-pricing { padding-block: 56px; }
  .pricing-intro { flex-wrap: wrap; }
  .pricing-grid { grid-template-columns: minmax(0, 1fr); }
  .plan-description { min-height: 0; }
  .project-dialog {
    width: calc(100% - 8px);
    height: calc(100svh - 8px);
    max-height: calc(100svh - 8px);
    padding: 8px 8px 4px;
    border-radius: 12px;
  }
  .dialog-bar p,
  #project-dialog-source,
  .dialog-actions > button > span,
  .dialog-actions > a > span {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
  }
  .dialog-actions > button,
  .dialog-actions > a { width: 42px; padding: 0; }
  .project-laptop { padding-inline: 2px; grid-template-rows: minmax(0, 1fr) 5px; }
  .project-monitor { padding: 9px 3px 4px; border-radius: 10px 10px 3px 3px; }
  .project-laptop-base { margin-inline: -2px; }
}
@media (max-width: 600px) {
  .client-brands { min-height: 76px; padding-block: 6px; }
  .client-brands__group { gap: 24px; padding-right: 24px; }
  .client-brands__item { flex-basis: 128px; width: 128px; }
  .client-brands__item--caminoa img { width: 112px; }
  .client-brands__item--della img { width: 60px; height: 47px; }
  .client-brands__item--fit img { width: 44px; height: 44px; }
  .client-brands__item--flor img { width: 114px; height: 40px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .project .laptop,
  .project:hover .laptop,
  .cm-process-rail > span,
  .cm-process-marker,
  .cm-process-marker svg { transition: none; animation: none; transform: none; }
  .client-brands[data-ready="true"] .client-brands__viewport { overflow-x: auto; }
  .client-brands[data-ready="true"] .client-brands__track { animation: none; transform: none; will-change: auto; }
  .client-brands__group[aria-hidden="true"] { display: none; }
  .project-browser-loading span { animation: none; border-top-color: var(--cm-ink); }
}
