/* CMEP Digital Studio — estilos organizados por sección. */
/* Variables, base y accesibilidad */
:root {
  --green: #082d28;
  --deep: #061d1a;
  --gold: #cda66c;
  --ivory: #f8f4ec;
  --ink: #142b25;
  --muted: #53675b;
  --serif: Georgia, "Times New Roman", serif;
  --sans: system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  --v51-wide: 1320px;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}
body {
  margin: 0;
  background: #fbfaf7;
  color: var(--ink);
  font: 15px/1.67 var(--sans);
  overflow-x: hidden;
}
img {
  max-width: 100%;
  display: block;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  font: inherit;
  cursor: pointer;
}
input {
  font: inherit;
  min-width: 0;
}
select {
  font: inherit;
  min-width: 0;
}
textarea {
  font: inherit;
  min-width: 0;
}
[hidden] {
  display: none !important;
}
:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
}
::selection {
  background: var(--gold);
  color: var(--green);
}
a:focus-visible {
  outline: 3px solid #cda66c;
  outline-offset: 3px;
}
button:focus-visible {
  outline: 3px solid #cda66c;
  outline-offset: 3px;
}
input::placeholder {
  color: #53675b;
  opacity: 1;
}
textarea::placeholder {
  color: #53675b;
  opacity: 1;
}
/* Contenedores, botones y elementos comunes */
.container {
  width: min(1190px, calc(100% - 64px));
  margin: auto;
}
.section {
  padding: 105px 0;
}
.skip-link {
  position: absolute;
  left: 10px;
  top: -60px;
  z-index: 101;
  background: #fff;
  color: var(--green);
  padding: 10px;
}
.skip-link:focus {
  top: 8px;
}
.inline-link:hover {
  color: #795725;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  min-height: 44px;
  padding: 13px 21px;
  border: 1px solid transparent;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 750;
  line-height: 1.3;
  transition:
    transform 0.2s,
    background 0.2s,
    box-shadow 0.2s;
  text-align: center;
}
.button:hover {
  transform: translateY(-3px);
  box-shadow: 0 9px 21px #082d2840;
}
.button span:last-child {
  font-size: 17px;
  font-weight: 400;
}
.button-small {
  font-size: 12px;
  min-height: 40px;
  padding: 10px 16px;
}
.button-dark {
  background: var(--green);
  color: #fff;
}
.button-dark:hover {
  background: #175246;
}
.button-gold {
  background: var(--gold);
  color: var(--green);
}
.button-gold:hover {
  background: #e6bb81;
}
.button-outline-dark {
  border-color: #cedbd2;
  color: var(--green);
  background: transparent;
}
.button-outline-dark:hover {
  background: var(--green);
  color: #fff;
}
.button-full {
  width: 100%;
}
.eyebrow {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #795725;
  margin: 0 0 20px;
}
.eyebrow-light {
  color: #e5c89a;
}
.dot {
  display: inline-block;
  background: var(--gold);
  width: 6px;
  height: 6px;
  border-radius: 50%;
  vertical-align: middle;
  margin-right: 12px;
}
.section-heading {
  font: normal clamp(36px, 4.5vw, 58px)/1.14 var(--serif);
  letter-spacing: -0.045em;
  margin: 0;
  max-width: 820px;
}
.section-heading em {
  font-weight: normal;
  color: #795725;
}
.section-top {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 40px;
  margin-bottom: 39px;
}
.section-side {
  max-width: 290px;
  color: var(--muted);
  font-size: 13px;
  margin: 0 0 7px;
}
.inline-link {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  border-bottom: 1px solid var(--gold);
  padding-bottom: 8px;
  color: var(--green);
  font-weight: 780;
  font-size: 12px;
}
.inline-link span {
  font-size: 17px;
}
.text-action {
  font-size: 12px;
  font-weight: 720;
  border-bottom: 1px solid #c5d3c8;
  padding-bottom: 7px;
}
.text-action span {
  margin-left: 10px;
}
.app-status-dot {
  background: #5b9672;
  width: 6px;
  height: 6px;
  border-radius: 50%;
}
summary:focus-visible {
  outline: 3px solid #cda66c;
  outline-offset: 3px;
}
/* Cabecera y navegación */
.topbar {
  min-height: 34px;
  background: var(--green);
  color: #e1d7c6;
  text-align: center;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.17em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}
.topbar-spark {
  color: var(--gold);
  font-size: 18px;
}
.topbar-ends {
  border-left: 1px solid #54786a;
  padding-left: 23px;
  margin-left: 12px;
  color: #bbcdc2;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: #fbfaf7f5;
  backdrop-filter: blur(14px);
  border-bottom: 1px solid #e5e5de;
}
.header-inner {
  min-height: 84px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand img {
  width: 135px;
  height: 61px;
  object-fit: contain;
}
.desktop-nav {
  margin-left: auto;
  display: flex;
  gap: 26px;
}
.desktop-nav a {
  font-size: 12px;
  font-weight: 720;
}
.desktop-nav a:hover {
  color: #795725;
}
.menu-toggle {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  width: 43px;
  height: 43px;
  border: 1px solid #d9e1d8;
  border-radius: 8px;
  background: #fff;
}
.menu-toggle span {
  width: 19px;
  height: 2px;
  background: var(--green);
  border-radius: 5px;
}
.mobile-nav {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  padding: 18px 30px 25px;
  background: #f9f5ec;
  box-shadow: 0 20px 30px #11251d26;
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.mobile-nav a {
  font-weight: 700;
  padding: 7px;
}
.mobile-nav-cta {
  background: var(--green);
  color: white;
  border-radius: 6px;
  text-align: center;
}
.topbar-mobile-text {
  display: none;
}
/* Portada y maquetas */
.hero {
  background:
    radial-gradient(ellipse at 90% 10%, #28584860, transparent 40%),
    linear-gradient(130deg, #082d28, #103c32);
  color: white;
  position: relative;
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 52% 48%;
  align-items: center;
  min-height: 645px;
  position: relative;
  z-index: 1;
}
.hero h1 {
  font: normal clamp(55px, 5.4vw, 78px)/1.06 var(--serif);
  letter-spacing: -0.052em;
  margin: 0 0 24px;
  max-width: 620px;
}
.hero h1 em {
  font-weight: normal;
  color: #e7cda6;
}
.hero-copy {
  position: relative;
  z-index: 3;
}
.hero-lede {
  max-width: 515px;
  color: #d1ded4;
  font-size: 15px;
  line-height: 1.95;
}
.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 23px;
  margin: 29px 0 57px;
}
.hero-caption {
  color: #bed0c2;
  font-size: 12px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.hero-dash {
  width: 26px;
  height: 1px;
  background: var(--gold);
}
.hero-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  min-height: 67px;
  font-size: 12px;
  letter-spacing: 0.15em;
  color: #c3d3c8;
  position: relative;
  z-index: 2;
}
.hero-mini-rule {
  height: 1px;
  width: 56px;
  background: #6b897d;
}
.hero-art {
  position: relative;
  height: 620px;
  perspective: 1200px;
  transform-style: preserve-3d;
  isolation: isolate;
}
.gold-orbit {
  position: absolute;
  border-radius: 50%;
  border: 1px solid #e0bf8c24;
  z-index: -2;
  filter: blur(0.65px);
  opacity: 0.48;
}
.orbit-one {
  height: 500px;
  width: 500px;
  top: 30px;
  left: 18px;
}
.orbit-two {
  height: 630px;
  width: 630px;
  top: -40px;
  left: -45px;
}
.desktop-mock {
  position: absolute;
  overflow: hidden;
  border: 6px solid #183a31;
  border-bottom-width: 10px;
  border-radius: 14px;
  background: #102e27;
  box-shadow:
    inset 0 0 0 1px #c4d0ba55,
    0 5px 9px #00181099,
    0 28px 48px #00160c66;
  transform: perspective(1100px) rotateX(4deg) rotateY(-7deg) rotateZ(-3deg);
  top: 25%;
  left: 5%;
  width: 90%;
  height: 336px;
  z-index: 2;
  animation: scene-float 7.4s ease-in-out infinite;
}
.mock-browser {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 9px;
  color: #435b4c;
  height: 36px;
  gap: 8px;
  padding: 0 10px;
  background: linear-gradient(#f8f7ef, #e9ece2);
  border-bottom: 1px solid #cbd4c5;
}
.browser-dots {
  display: flex;
  flex-shrink: 0;
  gap: 4px;
}
.browser-dots i {
  width: 6px;
  height: 6px;
  background: #bcb7aa;
  border-radius: 50%;
  box-shadow: inset 0 0 0 1px #082d2818;
}
.mock-website {
  position: relative;
  background: linear-gradient(130deg, #144a3d, #4b7156);
  overflow: hidden;
  height: calc(100% - 36px);
  padding: 28px;
}
.mock-chip {
  border: 1px solid #e5c18f66;
  padding: 7px 10px;
  letter-spacing: 0.2em;
  font-size: 8px;
  color: #fff4df;
}
.mock-site-title {
  font: normal 43px/1 var(--serif);
  letter-spacing: -0.04em;
  margin: 32px 0 0;
  position: relative;
  z-index: 1;
  font-size: 38px;
  line-height: 1.08;
  margin-top: 22px;
  max-width: 250px;
}
.mock-site-title i {
  color: #fff4df;
}
.mock-website p {
  position: relative;
  z-index: 1;
  color: #e4efe6;
  font-size: 10px;
  margin: 8px 0;
  line-height: 1.6;
}
.mock-site-button {
  display: inline-block;
  position: relative;
  z-index: 2;
  background: #dcb587;
  color: #133d2d;
  font-size: 9px;
  font-weight: 700;
  padding: 10px 14px;
  margin-top: 8px;
  border-radius: 3px;
  box-shadow:
    0 2px 3px #001c1533,
    inset 0 1px 0 #fff5;
}
.mock-site-decoration {
  position: absolute;
  bottom: -105px;
  right: -80px;
  width: 345px;
  height: 382px;
  border-radius: 55% 55% 0 0;
  background: linear-gradient(120deg, #d9bb9a, #947654 70%, #4c6951);
  opacity: 0.08;
}
.mock-mini-row {
  position: absolute;
  bottom: 20px;
  left: 36px;
  display: flex;
  gap: 7px;
}
.mock-mini-row span {
  background: #c5c9ac55;
  height: 3px;
  width: 38px;
}
.phone-mock {
  position: absolute;
  width: 176px;
  height: 355px;
  border: 6px solid #183a32;
  padding: 6px;
  border-radius: 30px;
  background: linear-gradient(110deg, #a3b5a2, #183a32 9%, #315246 92%, #b7c1a6);
  box-shadow:
    inset 0 0 0 1px #d8dfc38c,
    0 6px 9px #00150ca6,
    0 28px 45px #00130d66;
  transform: perspective(1000px) rotateX(3deg) rotateY(-9deg) rotateZ(7deg);
  right: 1%;
  bottom: 40px;
  z-index: 4;
  animation: scene-float 7.8s ease-in-out -3.2s infinite;
}
.phone-dynamic {
  margin: 0 auto 10px;
  background: #102c25;
  box-shadow:
    inset 0 1px 2px #0008,
    0 1px 0 #e8e9ce40;
  border-radius: 10px;
  width: 52px;
  height: 10px;
}
.phone-content {
  text-align: center;
  background: linear-gradient(#fffaf1, #f4e9d9);
  height: calc(100% - 18px);
  padding: 15px 9px;
  border: 1px solid #d4be9c;
  color: #675138;
  border-radius: 17px;
  box-shadow: inset 0 1px 4px #ab98722b;
}
.phone-flower {
  font-size: 29px;
  display: block;
  margin-bottom: 12px;
  color: #795725;
}
.phone-content small {
  font-size: 6px;
  letter-spacing: 0.2em;
}
.phone-content strong {
  display: block;
  font: normal 26px/1 var(--serif);
  margin: 21px 0 17px;
}
.phone-content strong i {
  color: #795725;
}
.phone-line {
  display: block;
  height: 1px;
  width: 35px;
  background: #ba9d71;
  margin: auto;
}
.phone-content p {
  font: italic 10px var(--serif);
  margin: 19px 0;
}
.phone-btn {
  display: inline-block;
  font-size: 8px;
  border: 1px solid #b8a185;
  padding: 7px 13px;
}
.brand-card-mock {
  position: absolute;
  left: 1%;
  width: 220px;
  height: 140px;
  color: var(--green);
  padding: 14px;
  border: 1px solid #dfcca6;
  border-radius: 5px;
  background: linear-gradient(135deg, #f5e7ca, #dfc499);
  box-shadow:
    inset 0 0 0 5px #fff5,
    0 4px 7px #00170e55,
    0 19px 30px #00170e40;
  transform: perspective(900px) rotateX(5deg) rotateY(8deg) rotateZ(7deg);
  bottom: 28px;
  z-index: 6;
  animation: scene-float 7.1s ease-in-out -4.4s infinite;
}
.brand-card-mock > span {
  font-size: 8px;
  letter-spacing: 0.18em;
  font-weight: 800;
  display: block;
  line-height: 1;
}
.brand-circle {
  position: absolute;
  right: 15px;
  top: 25px;
  border: 1px solid #607c6c;
  border-radius: 50%;
  width: 82px;
  height: 82px;
  font: normal 52px var(--serif);
  display: flex;
  align-items: center;
  justify-content: center;
}
.brand-circle span {
  font-size: 19px;
  position: absolute;
  right: -4px;
  bottom: 0;
  color: #795725;
}
.brand-card-mock strong {
  position: absolute;
  bottom: 14px;
  font: normal 19px/1.1 var(--serif);
  left: 14px;
  max-width: 85px;
}
.hero-mock-label {
  position: absolute;
  font-size: 8px;
  letter-spacing: 0.16em;
  top: auto;
  bottom: 0;
  right: 0;
  z-index: 7;
  color: #e3d1ad;
  text-align: right;
  max-width: 100%;
}
.mini-app-mock {
  position: absolute;
  z-index: 5;
  width: 235px;
  height: 124px;
  border-radius: 10px;
  overflow: hidden;
  color: #13382e;
  border: 3px solid #dbd9c7;
  background: linear-gradient(135deg, #fffef8, #eff0e7);
  box-shadow:
    inset 0 0 0 1px #fff9,
    0 4px 8px #00180d66,
    0 20px 32px #00180d44;
  transform: perspective(900px) rotateX(7deg) rotateY(-9deg) rotateZ(5deg);
  top: 4px;
  left: 43%;
  animation: scene-float 6.8s ease-in-out -1.8s infinite;
}
.mini-app-top {
  height: 27px;
  background: #e9eee5;
  padding: 7px 9px;
  display: flex;
  gap: 6px;
  align-items: center;
  font-size: 7px;
  letter-spacing: 0.06em;
  font-weight: 900;
}
.mini-app-top-menu {
  margin-left: auto;
  letter-spacing: 3px;
  color: #435b4c;
}
.mini-app-body {
  display: flex;
  gap: 15px;
  padding: 12px 13px 4px;
}
.mini-app-kpi {
  display: flex;
  flex-direction: column;
  gap: 1px;
}
.mini-app-kpi small {
  font-size: 7px;
  color: #53675b;
}
.mini-app-kpi strong {
  font:
    normal 25px Georgia,
    serif;
  line-height: 1;
}
.mini-app-kpi span {
  font-size: 6px;
  color: #53675b;
}
.mini-app-bars {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  flex: 1;
  height: 47px;
  margin-top: 2px;
}
.mini-app-bars i {
  width: 12%;
  height: 47%;
  background: #a6c2ac;
  border-radius: 2px 2px 0 0;
}
.mini-app-bars i:nth-child(2) {
  height: 77%;
}
.mini-app-bars i:nth-child(3) {
  height: 53%;
}
.mini-app-bars i:nth-child(4) {
  height: 100%;
  background: #cda66c;
}
.mini-app-bars i:nth-child(5) {
  height: 65%;
}
.mini-app-bars i:nth-child(6) {
  height: 88%;
}
.mini-app-foot {
  text-align: right;
  padding: 0 14px;
  color: #53675b;
  font-size: 6px;
  letter-spacing: 0.08em;
}
.mock-demo {
  font-size: 8px;
  white-space: nowrap;
  color: #53675b;
}
.intro-content > h2 + p:not(.eyebrow) {
  font-size: 18px;
  line-height: 1.8;
  margin-top: 26px;
}
.intro-content > p strong {
  font-weight: 700;
  color: #082d28;
}
.intro-content .value-row {
  margin-top: 28px;
}
.hero-art::before {
  content: "";
  position: absolute;
  right: -2%;
  bottom: 52px;
  width: 270px;
  height: 400px;
  background: radial-gradient(ellipse, #cda66c24, transparent 66%);
  filter: blur(22px);
  z-index: -1;
  pointer-events: none;
}
.desktop-mock::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 8;
  background: linear-gradient(128deg, #ffffff18, transparent 35%, transparent 72%, #ffffff05);
  box-shadow: inset 0 0 0 1px #ffffff24;
  pointer-events: none;
}
.browser-dots i:nth-child(1) {
  background: #ce9c8b;
}
.browser-dots i:nth-child(2) {
  background: #d1bb83;
}
.browser-dots i:nth-child(3) {
  background: #94af97;
}
.mock-address {
  display: flex;
  align-items: center;
  gap: 6px;
  flex: 1;
  min-width: 0;
  max-width: 250px;
  padding: 4px 8px;
  border: 1px solid #c8d3c3;
  border-radius: 5px;
  background: #ffffff91;
  color: #435b4c;
  font-size: 8px;
  white-space: nowrap;
  box-shadow: inset 0 1px 2px #082d2809;
}
.mock-lock {
  display: block;
  position: relative;
  width: 6px;
  height: 5px;
  border: 1px solid #53675b;
  border-radius: 1px;
  flex-shrink: 0;
}
.mock-lock::before {
  content: "";
  position: absolute;
  width: 4px;
  height: 4px;
  left: 0;
  top: -4px;
  border: 1px solid #53675b;
  border-bottom: 0;
  border-radius: 4px 4px 0 0;
}
.mock-window-controls {
  font-size: 10px;
  white-space: nowrap;
  color: #718176;
}
.phone-mock::before {
  content: "";
  position: absolute;
  left: -7px;
  top: 64px;
  width: 2px;
  height: 22px;
  background: #849e8d;
  border-radius: 2px;
  box-shadow: 0 32px 0 #849e8d;
}
.phone-mock::after {
  content: "";
  position: absolute;
  right: -7px;
  top: 86px;
  width: 2px;
  height: 34px;
  background: #849e8d;
  border-radius: 2px;
}
.phone-glass {
  position: absolute;
  inset: 5px;
  border-radius: 22px;
  overflow: hidden;
  background: linear-gradient(125deg, #ffffff22, transparent 36%, transparent 77%, #ffffff0d);
  box-shadow:
    inset 1px 1px 0 #ffffff55,
    inset -1px -1px 0 #ffffff14;
  pointer-events: none;
  z-index: 8;
}
.phone-glass::after {
  content: "";
  position: absolute;
  inset: -20% -50%;
  background: linear-gradient(
    100deg,
    transparent 38%,
    #ffffff45 48%,
    #ffffff12 55%,
    transparent 65%
  );
  transform: translateX(-160%) skewX(-12deg);
  opacity: 0;
  animation: phone-glint 1.5s ease-out 0.35s 1 both;
}
.brand-card-mock::after {
  content: "";
  position: absolute;
  inset: 6px;
  border: 1px solid #79572521;
  border-radius: 2px;
  pointer-events: none;
}
/* Nosotros y propuesta de valor */
.intro {
  background: var(--ivory);
}
.intro-grid {
  display: grid;
  grid-template-columns: 26% 1fr;
  gap: 55px;
}
.intro-number {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
  color: #795725;
}
.intro-number span {
  display: inline-block;
  width: 25px;
  height: 1px;
  background: #c5ad85;
  margin: 0 8px;
  vertical-align: middle;
}
.intro-content > p:not(.eyebrow) {
  max-width: 790px;
  font-size: 16px;
  line-height: 1.85;
  margin: 18px 0;
  color: #435b4c;
}
.value-row {
  display: flex;
  flex-wrap: wrap;
  gap: 15px 28px;
  padding-top: 25px;
  border-top: 1px solid #ddd8cc;
  font-size: 12px;
  font-weight: 700;
}
.value-row b {
  margin-right: 7px;
  color: #795725;
}
/* Servicios y maquetas de software */
.services {
  background: #fff;
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 17px;
}
.service-card {
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
  border: 1px solid #e8ece7;
  transition:
    transform 0.2s,
    box-shadow 0.2s;
  display: flex;
  flex-direction: column;
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 22px 38px #092b2520;
}
.service-visual {
  height: 252px;
  position: relative;
  overflow: hidden;
}
.service-visual-web {
  background: #d7dfd1;
  isolation: isolate;
}
.visual-window {
  position: absolute;
  width: 81%;
  height: 206px;
  left: 10%;
  top: 25px;
  border: 6px solid white;
  background: #f2f4ec;
  transform: rotate(-5deg);
  box-shadow: 0 15px 30px #3253445c;
}
.visual-window-top {
  height: 21px;
  background: #f2ede4;
  display: flex;
  align-items: center;
  gap: 4px;
  padding-left: 10px;
}
.visual-window-top span {
  width: 5px;
  height: 5px;
  background: #b6ae9c;
  border-radius: 50%;
}
.visual-web-layout {
  position: relative;
  overflow: hidden;
  height: calc(100% - 21px);
  background: #174b3d;
  padding: 17px;
}
.visual-web-layout div {
  position: relative;
  z-index: 2;
}
.visual-web-layout i {
  display: block;
  color: #e5c79b;
  font: normal 7px var(--sans);
  letter-spacing: 0.18em;
}
.visual-web-layout strong {
  display: block;
  color: white;
  font: normal 28px/1.03 var(--serif);
  margin: 23px 0 12px;
}
.visual-web-layout small {
  font-size: 7px;
  color: #e5caab;
}
.visual-web-arch {
  width: 160px;
  height: 205px;
  position: absolute;
  right: -45px;
  bottom: -75px;
  border-radius: 90px 90px 0 0;
  background: linear-gradient(125deg, #f0d4b6, #a08a6c);
  opacity: 0.08;
}
.service-visual-invite {
  background: #dde5d9;
  isolation: isolate;
}
.invite-visual {
  position: absolute;
  left: calc(50% - 89px);
  top: 13px;
  height: 229px;
  width: 178px;
  transform: rotate(5deg);
  border: 9px solid white;
  box-shadow: 0 18px 22px #56706766;
  text-align: center;
  background: #f9f4e9;
  padding: 20px 5px;
}
.invite-botanical {
  position: absolute;
  color: #795725;
  top: 4px;
  left: 8px;
  font-size: 22px;
}
.invite-visual small {
  font-size: 7px;
  letter-spacing: 0.15em;
  color: #53675b;
  display: block;
  margin-top: 16px;
  line-height: 1.2;
}
.invite-visual strong {
  display: block;
  font: normal 27px/1 var(--serif);
  color: #6b7b63;
  margin: 31px 0 12px;
}
.invite-visual strong i {
  color: #795725;
}
.invite-visual > span {
  width: 33px;
  height: 1px;
  background: #c9b18b;
  display: block;
  margin: auto;
}
.invite-visual p {
  font: italic 12px var(--serif);
  color: #53675b;
}
.service-visual-design {
  background: #285144;
  isolation: isolate;
}
.design-paper {
  position: absolute;
  width: 167px;
  height: 196px;
  top: 24px;
  box-shadow: 0 15px 30px #05231b80;
}
.design-paper.first {
  transform: rotate(-12deg);
  background: #f1e5ce;
  left: 5%;
  width: 44%;
  padding: 14px;
}
.design-paper.first span {
  font-size: 12px;
  letter-spacing: 0.16em;
}
.design-paper.first strong {
  display: block;
  font: normal 30px/1 var(--serif);
  font-size: 20px;
  line-height: 1.1;
  max-width: 100%;
  margin-top: 36px;
}
.design-paper.first i {
  position: absolute;
  right: 18px;
  bottom: 9px;
  font-size: 35px;
  color: #795725;
}
.design-paper.second {
  transform: rotate(11deg);
  top: 35px;
  background: #caaa7d;
  text-align: right;
  right: 5%;
  width: 44%;
  padding: 12px;
  height: 190px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 8px;
}
.design-symbol {
  font-size: 77px;
  text-align: center;
  line-height: 1.5;
}
.design-paper.second small {
  font-size: 12px;
  font-weight: 700;
  display: block;
  flex-shrink: 0;
  width: 100%;
  line-height: 1.3;
  text-align: center;
  white-space: normal;
}
.design-shape {
  width: 80px;
  height: 80px;
  border: 18px solid #c6aa78;
  border-radius: 50%;
  position: absolute;
  bottom: -38px;
  left: -27px;
}
.service-text {
  padding: 23px 19px 27px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.service-id {
  display: flex;
  justify-content: space-between;
  color: #795725;
  font-size: 12px;
  letter-spacing: 0.12em;
  font-weight: 800;
}
.service-id span {
  font-size: 16px;
}
.service-text h3 {
  font: normal 28px var(--serif);
  margin: 11px 0 6px;
  font-size: 25px;
  line-height: 1.18;
  min-height: 61px;
}
.service-text p {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.7;
  min-height: 82px;
}
.service-text .inline-link {
  margin-top: auto;
}
.service-visual-software {
  background: linear-gradient(135deg, #c7d7c9, #e9e5d5);
}
.software-window {
  position: absolute;
  left: 7%;
  right: 7%;
  top: 39px;
  height: 181px;
  border: 5px solid #f9f6e9;
  background: #103d32;
  border-radius: 8px;
  transform: rotate(-5deg);
  box-shadow: 0 16px 31px #183e326e;
  overflow: hidden;
}
.software-window-top {
  height: 29px;
  background: #f9f6ee;
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 0 10px;
  color: #365649;
  font-size: 7px;
  letter-spacing: 0.08em;
  font-weight: 800;
}
.software-window-top > span:last-child {
  margin-left: auto;
  color: #93a99b;
  letter-spacing: 2px;
}
.software-logo-mark {
  width: 17px;
  height: 17px;
  display: grid;
  place-items: center;
  border-radius: 4px;
  color: #f1d7a6;
  background: #103d32;
  font:
    700 12px Georgia,
    serif;
  font-size: 11px;
}
.software-body {
  height: calc(100% - 29px);
  display: flex;
  gap: 0;
}
.software-sidebar {
  width: 31px;
  background: #082d28;
  padding: 19px 10px;
  display: flex;
  flex-direction: column;
  gap: 13px;
}
.software-sidebar i {
  width: 11px;
  height: 4px;
  background: #6e9783;
  border-radius: 10px;
}
.software-sidebar i:first-child {
  background: #d4af74;
}
.software-main {
  flex: 1;
  padding: 17px 12px;
  background: #f2f4ed;
  min-width: 0;
}
.software-tiny-label {
  color: #53675b;
  letter-spacing: 0.11em;
  font-weight: 850;
  font-size: 6px;
}
.software-main strong {
  display: block;
  font:
    normal 17px Georgia,
    serif;
  color: #173f34;
  margin: 3px 0 10px;
}
.software-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 5px;
}
.software-metrics > div {
  background: white;
  border: 1px solid #dfe7de;
  padding: 5px;
  min-width: 0;
  border-radius: 3px;
}
.software-metrics small {
  display: block;
  font-size: 5px;
  color: #53675b;
}
.software-metrics b {
  display: block;
  font-size: 12px;
  color: #104235;
}
.software-graph {
  height: 21px;
  display: flex;
  gap: 5px;
  align-items: end;
  margin-top: 7px;
}
.software-graph i {
  height: 40%;
  width: 12%;
  background: #c3d7c3;
  border-radius: 2px 2px 0 0;
}
.software-graph i:nth-child(2) {
  height: 75%;
}
.software-graph i:nth-child(3) {
  height: 57%;
}
.software-graph i:nth-child(4) {
  height: 100%;
  background: #be9863;
}
.software-graph i:nth-child(5) {
  height: 73%;
}
.software-graph i:nth-child(6) {
  height: 93%;
}
.software-caption-visual {
  position: absolute;
  right: 10px;
  bottom: 11px;
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.12em;
  color: #435b4c;
}
.service-details {
  font-size: 12px;
  color: #47665a;
  margin: 0 0 17px;
  border-top: 1px solid #e4e9e2;
  padding-top: 10px;
  margin-bottom: 20px;
}
.service-details summary {
  cursor: pointer;
  font-weight: 750;
  color: var(--green);
  line-height: 1.5;
  list-style-position: inside;
}
.service-details ul {
  padding-left: 17px;
  margin: 12px 0 7px;
}
.service-details li {
  margin: 5px 0;
}
.service-details .service-caveat {
  font-size: 12px;
  min-height: 0;
  color: #66786b;
  margin: 8px 0;
}
.service-card .service-text {
  display: flex;
  flex-direction: column;
  flex: 1;
}
.service-card .inline-link {
  margin-top: auto;
}
.software-window-top > span:nth-child(3) {
  color: #53675b;
}
.invite-visual > strong {
  color: #53675b;
}
/* Portafolio y filtros */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 35px 24px;
}
.portfolio {
  background: var(--ivory);
}
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-bottom: 27px;
}
.filter-btn {
  padding: 8px 18px;
  border-radius: 30px;
  border: 1px solid #d9d6cb;
  background: transparent;
  color: #53675b;
  font-size: 12px;
  font-weight: 720;
}
.filter-btn.active {
  background: var(--green);
  color: white;
  border-color: var(--green);
}
.filter-btn:hover {
  background: var(--green);
  color: white;
  border-color: var(--green);
}
.portfolio-meta {
  display: flex;
  justify-content: space-between;
  padding: 18px 4px 0;
  gap: 10px;
}
.portfolio-meta div > span {
  color: #795725;
  letter-spacing: 0.13em;
  font-size: 12px;
  font-weight: 750;
}
.portfolio-meta h3 {
  font: normal 23px var(--serif);
  margin: 4px 0;
}
.portfolio-note {
  font-size: 12px;
  color: #53675b;
  margin-top: 30px;
  display: flex;
  gap: 10px;
  align-items: center;
}
.portfolio-note span {
  color: #a98455;
  font-size: 18px;
}
.project-art {
  min-height: 230px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 18px;
  background: linear-gradient(130deg, #082d28, #175348);
  color: #f8f4ec;
}
.project-art.project-diseno {
  background: linear-gradient(130deg, #a78652, #e3d2b4);
  color: var(--deep);
}
.project-mark {
  font-size: 48px;
  color: #cda66c;
}
.project-art strong {
  font-size: clamp(23px, 3vw, 35px);
  line-height: 1.2;
}
.project-description {
  font-size: 14px;
  line-height: 1.6;
  margin-top: 9px;
}
.project-link {
  display: inline-flex;
  margin: 0 24px 24px;
  color: #795725;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.portfolio-project {
  overflow: hidden;
}
.portfolio-project[hidden] {
  display: none !important;
}
#portafolio .container {
  width: min(var(--v51-wide), calc(100% - 72px));
  max-width: none;
}
#portafolio .portfolio-grid {
  gap: 32px;
  align-items: stretch;
}
#portafolio .portfolio-project {
  background: #fff;
  border: 1px solid #e4e8e0;
  border-radius: 15px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 12px 33px #082d280c;
  transition:
    transform 0.2s,
    box-shadow 0.2s;
}
#portafolio .portfolio-project:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px #082d281b;
}
#portafolio .project-art-v51 {
  min-height: 270px;
  padding: 38px;
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  gap: 14px;
  justify-content: center;
  isolation: isolate;
  position: relative;
  overflow: hidden;
}
#portafolio .project-art-v51::before {
  content: "";
  position: absolute;
  width: 240px;
  height: 240px;
  border: 1px solid #ffffff43;
  border-radius: 50%;
  right: -40px;
  top: -85px;
  z-index: -1;
}
#portafolio .project-art-v51::after {
  content: "";
  position: absolute;
  width: 185px;
  height: 185px;
  border: 1px solid #ffffff35;
  border-radius: 50%;
  right: 38px;
  bottom: -120px;
  z-index: -1;
}
#portafolio .project-art-v51 span {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
  color: #fff4df;
}
#portafolio .project-art-v51 strong {
  font: normal clamp(26px, 3vw, 41px)/1.12 var(--serif);
  max-width: 400px;
}
#portafolio .project-art-v51 small {
  font-size: 12px;
  letter-spacing: 0.18em;
  font-weight: 700;
}
/* Capturas reales: el mismo marco sirve para sitios web y pantallas móviles. */
#portafolio .project-shot {
  min-width: 0;
  height: 270px;
  padding: 20px 22px 0;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 12px;
  overflow: hidden;
  background: linear-gradient(145deg, #e8e8dd, #d5ddd4);
}
#portafolio .project-shot-label {
  position: relative;
  z-index: 1;
  align-self: flex-start;
  padding: 6px 9px;
  border-radius: 4px;
  background: #082d28;
  color: #f8f4ec;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
}
#portafolio .project-shot-frame {
  position: relative;
  min-width: 0;
  flex: 1;
  overflow: hidden;
  border: 1px solid #aebbb1;
  border-radius: 10px 10px 0 0;
  background: #f8f4ec;
  box-shadow: 0 5px 10px #082d2819, 0 16px 28px #082d282b;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
#portafolio .project-shot-bar {
  height: 30px;
  padding: 0 11px;
  display: flex;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid #d8dfd7;
  background: #f8f9f4;
}
#portafolio .project-shot-dots {
  display: flex;
  gap: 5px;
  flex: none;
}
#portafolio .project-shot-dots i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #d9a69b;
}
#portafolio .project-shot-dots i:nth-child(2) { background: #dbc28c; }
#portafolio .project-shot-dots i:nth-child(3) { background: #a5c1a7; }
#portafolio .project-shot-address {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: #435b4c;
  font-size: 12px;
}
#portafolio .project-shot img {
  display: block;
  width: 100%;
  height: calc(100% - 30px);
  object-fit: cover;
  object-position: top center;
}
#portafolio .project-shot-phone {
  align-items: center;
  background: linear-gradient(145deg, #d9e1d8, #e9dcc7);
}
#portafolio .project-shot-phone .project-shot-frame {
  width: min(48%, 160px);
  flex: 1;
  border: 5px solid #183a32;
  border-radius: 24px 24px 0 0;
  background: #183a32;
}
#portafolio .project-shot-phone .project-shot-island {
  position: absolute;
  z-index: 1;
  top: 5px;
  left: 50%;
  width: 45px;
  height: 9px;
  transform: translateX(-50%);
  border-radius: 10px;
  background: #183a32;
}
#portafolio .project-shot-phone img {
  height: 100%;
  border-radius: 17px 17px 0 0;
}
#portafolio .portfolio-project:hover .project-shot-frame {
  transform: translateY(-4px);
  box-shadow: 0 8px 15px #082d2826, 0 22px 36px #082d283d;
}
#portafolio .project-theme-1 {
  background: linear-gradient(115deg, #153f35, #267162);
}
#portafolio .project-theme-2 {
  background: linear-gradient(115deg, #092921, #466c56);
}
#portafolio .project-theme-3 {
  background: linear-gradient(115deg, #bda077, #f1dfc0);
  color: #17362f;
}
#portafolio .project-theme-3 span {
  color: #3b2b1b;
}
#portafolio .project-theme-4 {
  background: linear-gradient(115deg, #15283c, #317086);
}
#portafolio .portfolio-meta {
  padding: 21px 24px 9px;
  flex: 1;
}
#portafolio .portfolio-meta h3 {
  font-size: clamp(23px, 2vw, 29px);
}
#portafolio .project-description {
  font-size: 15px;
}
#portafolio .portfolio-proof {
  color: #66776d;
  font-size: 12px;
  line-height: 1.5;
  border-top: 1px solid #e7e9e5;
  padding-top: 11px;
}
#portafolio .project-link {
  margin: 10px 24px 23px;
  font-size: 14px;
}
#portafolio .demo-tag {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.11em;
  background: #fff8;
  padding: 7px 10px;
  border-radius: 3px;
  color: #17372e;
}
.project-diseno .project-mark {
  color: var(--deep);
}




















































/* Proceso de trabajo */
.process {
  background: #fff;
}
.process-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 100px;
}
.process-intro > p:not(.eyebrow) {
  color: var(--muted);
  max-width: 420px;
  font-size: 14px;
  margin: 21px 0 30px;
}
.steps-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.steps-list li {
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 22px;
  border-bottom: 1px solid #e0e5df;
  padding-bottom: 22px;
  margin-bottom: 20px;
  min-height: 0;
}
.steps-list li:last-child {
  border-bottom: 0;
}
.steps-list li > span {
  font: normal 30px var(--serif);
  color: #795725;
}
.steps-list h3 {
  font: normal 23px var(--serif);
  margin: 0;
}
.steps-list p {
  color: var(--muted);
  font-size: 12px;
  margin: 6px 0;
}
#proceso .container {
  width: min(var(--v51-wide), calc(100% - 72px));
  max-width: none;
}
#proceso .process-grid {
  display: block;
}
#proceso .process-intro {
  max-width: 850px;
  margin: 0 0 35px;
}
#proceso .process-intro > p:not(.eyebrow) {
  max-width: 670px;
  font-size: 15px;
}
#proceso .steps-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
#proceso .steps-list li {
  display: block;
  margin: 0;
  padding: 26px;
  min-height: 200px;
  background: #f8f4ec;
  border: 1px solid #e4e3d9;
  border-radius: 12px;
}
#proceso .steps-list li > span {
  display: block;
  margin: 0 0 17px;
  font-size: 30px;
}
#proceso .steps-list h3 {
  font-size: 23px;
  line-height: 1.2;
}
#proceso .steps-list p {
  font-size: 14px;
  line-height: 1.65;
}















/* Contacto y formularios */
.contact {
  background: linear-gradient(130deg, #15473b, var(--green) 55%, #071f1b);
  color: white;
}
.contact-grid {
  display: grid;
  grid-template-columns: 44% 56%;
  gap: 25px;
}
.contact-copy {
  padding: 42px 42px 0 0;
}
.contact-copy .section-heading {
  font-size: clamp(41px, 4.7vw, 62px);
}
.contact-copy > p:not(.eyebrow) {
  color: #d0dbd2;
  font-size: 14px;
  line-height: 1.9;
  margin: 25px 0 34px;
}
.contact-email {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid #c5a579;
  padding-bottom: 10px;
  font-size: 13px;
  font-weight: 720;
  overflow-wrap: anywhere;
}
.contact-email > span:first-child {
  font-size: 22px;
}
.contact-trust {
  display: flex;
  flex-direction: column;
  gap: 9px;
  color: #c5d6c9;
  font-size: 12px;
  margin-top: 76px;
}
.contact-form-wrap {
  background: #fbfcf8;
  color: var(--green);
  padding: 34px 35px;
  border-radius: 12px;
  box-shadow: 0 25px 56px #00160f73;
}
.form-eyebrow {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.18em;
  color: #795725;
}
.form-head h3 {
  font: normal 31px var(--serif);
  margin: 9px 0 0;
}
.form-head > p {
  font-size: 12px;
  color: var(--muted);
  margin: 2px 0 23px;
}
.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px;
}
.form-grid label {
  display: block;
  font-size: 12px;
  font-weight: 730;
}
.full-label {
  display: block;
  font-size: 12px;
  font-weight: 730;
  margin-top: 15px;
}
.form-grid label > span {
  color: #795725;
}
.full-label > span {
  color: #795725;
}
.form-grid input {
  background: #fff;
  border: 1px solid #d8e2d9;
  border-radius: 5px;
  padding: 11px;
  outline: none;
  font-size: 12px;
  font-weight: 400;
  color: #173b31;
  min-height: 43px;
  width: 100%;
}
.form-grid select {
  background: #fff;
  border: 1px solid #d8e2d9;
  border-radius: 5px;
  padding: 11px;
  outline: none;
  font-size: 12px;
  font-weight: 400;
  color: #173b31;
  min-height: 43px;
  width: 100%;
}
.full-label textarea {
  background: #fff;
  border: 1px solid #d8e2d9;
  border-radius: 5px;
  padding: 11px;
  outline: none;
  font-size: 12px;
  font-weight: 400;
  color: #173b31;
  width: 100%;
  min-height: 95px;
  resize: vertical;
}
.prepared-request textarea {
  background: #fff;
  border: 1px solid #d8e2d9;
  border-radius: 5px;
  padding: 11px;
  outline: none;
  font-size: 12px;
  font-weight: 400;
  color: #173b31;
  width: 100%;
  min-height: 118px;
  display: block;
  margin-bottom: 10px;
}
.form-grid input:focus {
  border-color: #c29c69;
  box-shadow: 0 0 0 3px #cda66c33;
}
.form-grid select:focus {
  border-color: #c29c69;
  box-shadow: 0 0 0 3px #cda66c33;
}
.full-label textarea:focus {
  border-color: #c29c69;
  box-shadow: 0 0 0 3px #cda66c33;
}
.consent-label {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  margin: 17px 0 19px;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.65;
  color: #66766a;
  cursor: pointer;
}
.consent-label input {
  accent-color: var(--green);
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}
.consent-label a {
  text-decoration: underline;
}
.form-note {
  font-size: 12px;
  color: #53675b;
  margin: 12px 0 0;
}
.form-feedback {
  font-size: 12px;
  background: #e8f3eb;
  border-left: 3px solid #5a9474;
  padding: 12px;
  margin: 15px 0 0;
  border-radius: 5px;
}
.form-feedback.is-error {
  background: #fff0ec;
  border-color: #a35143;
  color: #873f32;
}
.prepared-request {
  margin-top: 16px;
}
.prepared-request label {
  font-weight: 740;
  font-size: 12px;
  display: block;
  margin-bottom: 7px;
}
.software-fields {
  border: 1px solid #d5e1d6;
  background: #f0f5ef;
  border-radius: 8px;
  padding: 20px;
  margin: 10px 0 19px;
}
.software-fields legend {
  padding: 0 8px;
  color: #143f32;
  font-size: 14px;
  font-weight: 800;
}
.software-fields > p {
  font-size: 12px;
  color: #526f60;
  margin-top: 0;
  line-height: 1.6;
}
.software-fields-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.software-fields label {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 12px;
  font-weight: 760;
  color: #24473a;
  margin: 0 0 15px;
}
.software-fields input {
  width: 100%;
  max-width: 100%;
  min-height: 40px;
  padding: 10px 12px;
  border-radius: 6px;
  background: #fff;
  border: 1px solid #d9dfd4;
  font: 13px/1.5 var(--sans);
  color: #17372e;
  resize: vertical;
}
.software-fields textarea {
  width: 100%;
  max-width: 100%;
  min-height: 40px;
  padding: 10px 12px;
  border-radius: 6px;
  background: #fff;
  border: 1px solid #d9dfd4;
  font: 13px/1.5 var(--sans);
  color: #17372e;
  resize: vertical;
}
.dynamic-fields {
  margin: 16px 0;
  padding: 18px;
  border: 1px solid #d7cbb5;
  border-radius: 12px;
}
.dynamic-fields label {
  display: block;
  margin: 12px 0;
}
.dynamic-fields input {
  display: block;
  width: 100%;
  margin-top: 7px;
  padding: 12px;
  border: 1px solid #d4d4d4;
  border-radius: 6px;
}
.dynamic-fields[hidden] {
  display: none !important;
}
.either-contact-note {
  grid-column: 1/-1;
  font-size: 0.9rem;
  line-height: 1.5;
}
.hp-trap {
  position: absolute !important;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.contact-form-wrap input:focus-visible {
  outline: 3px solid #cda66c;
  outline-offset: 3px;
}
.contact-form-wrap select:focus-visible {
  outline: 3px solid #cda66c;
  outline-offset: 3px;
}
.contact-form-wrap textarea:focus-visible {
  outline: 3px solid #cda66c;
  outline-offset: 3px;
}
#contacto .container {
  width: min(var(--v51-wide), calc(100% - 72px));
  max-width: none;
}
#contacto .contact-grid {
  grid-template-columns: minmax(320px, 0.8fr) minmax(0, 1.2fr);
  gap: 55px;
  align-items: start;
}
#contacto .contact-copy {
  padding: 24px 0 0;
}
#contacto .contact-form-wrap {
  width: 100%;
  max-width: none;
  padding: 37px 40px;
}
#contacto .form-grid {
  gap: 17px;
}
#contacto .form-grid label {
  font-size: 13px;
}
#contacto .full-label {
  font-size: 13px;
}
.form-grid label > input {
  display: block;
  margin-top: 8px;
}
.form-grid label > select {
  display: block;
  margin-top: 8px;
}
.form-grid label > textarea {
  display: block;
  margin-top: 8px;
}
.full-label > textarea {
  display: block;
  margin-top: 8px;
}
#contacto .form-grid input {
  font-size: 14px;
  min-height: 47px;
}
#contacto .form-grid select {
  font-size: 14px;
  min-height: 47px;
}
#contacto .full-label textarea {
  font-size: 14px;
  min-height: 47px;
}
#contacto .form-head h3 {
  font-size: 35px;
}
#contacto .consent-label {
  font-size: 14px;
  line-height: 1.65;
}
#contacto .contact-email {
  font-size: 15px;
}
#contacto .form-note {
  font-size: 14px;
  line-height: 1.65;
}
.contact-copy .section-heading em {
  color: #cda66c;
}
.contact .inline-link:hover {
  color: #cda66c;
}
/* Pie de página */
.footer {
  background: #061e1b;
  color: #b8cdbf;
  padding-top: 64px;
}
.footer-main {
  display: grid;
  gap: 30px;
  padding-bottom: 54px;
  grid-template-columns: 1.4fr 0.7fr 1.15fr 0.9fr 1.3fr;
}
.footer-logo-box {
  background: var(--ivory);
  width: 146px;
  padding: 7px 8px;
  border-radius: 6px;
}
.footer-logo-box img {
  width: 130px;
  height: 62px;
  object-fit: contain;
}
.footer-brand p {
  font: italic 17px var(--serif);
  color: #d5bf9b;
  max-width: 240px;
}
.footer-col {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-col h3 {
  color: #ecd1a1;
  font-size: 12px;
  margin: 5px 0 9px;
}
.footer-col a {
  font-size: 12px;
  overflow-wrap: anywhere;
}
.footer-col span {
  font-size: 12px;
  overflow-wrap: anywhere;
}
.footer-col a:hover {
  color: var(--gold);
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  align-items: center;
  border-top: 1px solid #49615666;
  padding: 23px 0;
  font-size: 12px;
}
.footer-bottom a {
  color: var(--gold);
}
.floating-contact {
  display: flex;
  align-items: center;
  gap: 9px;
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 40;
  background: var(--gold);
  padding: 12px 18px;
  border-radius: 40px;
  box-shadow: 0 12px 32px #06271e50;
  font-size: 12px;
  font-weight: 800;
  color: var(--green);
}
.floating-contact span:first-child {
  font-size: 19px;
}
/* Documentos legales */
.legal-wrap {
  max-width: 850px;
  margin: auto;
  padding: 70px 0 120px;
}
.legal-wrap h1 {
  font: normal 47px var(--serif);
}
.legal-wrap h2 {
  font: normal 26px var(--serif);
  margin-top: 30px;
}
.legal-wrap p {
  color: #55695f;
  font-size: 14px;
  line-height: 1.9;
}
.legal-alert {
  border-radius: 8px;
  border: 1px solid #e7c28e;
  background: #fff5e3;
  padding: 17px;
  color: #6c5433;
}
.legal-back {
  display: inline-block;
  font-weight: 750;
  font-size: 12px;
  color: #795725;
}
/* Animaciones */
.reveal {
  opacity: 1;
}


@media (max-width: 1250px) {
  /* Servicios y maquetas de software */
  .services-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
  }
  .service-visual {
    position: relative;
    overflow: hidden;
    height: 252px;
  }
  .service-text h3 {
    min-height: 0;
  }
  .service-text p {
    min-height: 0;
  }
  /* Pie de página */
  .footer-main {
    grid-template-columns: 1.3fr 1fr 1.2fr;
  }
  .footer-brand {
    grid-column: 1/-1;
  }
}
@media (max-width: 1100px) {
  /* Contenedores, botones y elementos comunes */
  .container {
    margin: auto;
    width: calc(100% - 42px);
  }
  /* Cabecera y navegación */
  .desktop-nav {
    gap: 15px;
  }
  /* Portada y maquetas */
  .hero h1 {
    font-size: clamp(47px, 5.8vw, 70px);
  }
  .hero-art {
    transform: scale(1);
    transform-origin: left center;
  }


  /* Contacto y formularios */
  .contact-grid {
    grid-template-columns: 43% 57%;
    gap: 12px;
  }
  .contact-copy {
    padding-right: 25px;
  }
  .contact-form-wrap {
    border-radius: 12px;
    box-shadow: 0 25px 56px #00160f73;
    padding: 27px 24px;
  }
}
@media (max-width: 1000px) {
  /* Portafolio y filtros */
  #portafolio .container {
    max-width: none;
    width: calc(100% - 44px);
  }



  /* Proceso de trabajo */
  #proceso .container {
    max-width: none;
    width: calc(100% - 44px);
  }
  #proceso .steps-list {
    gap: 20px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }


  /* Contacto y formularios */
  #contacto .container {
    max-width: none;
    width: calc(100% - 44px);
  }
  #contacto .contact-grid {
    align-items: start;
    grid-template-columns: 1fr;
    gap: 22px;
  }
  #contacto .contact-form-wrap {
    padding: 37px 40px;
    max-width: 850px;
  }
}
@media (max-width: 850px) {
  /* Contenedores, botones y elementos comunes */
  .section {
    padding: 78px 0;
  }
  /* Cabecera y navegación */
  .topbar {
    text-transform: uppercase;
    display: flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
    gap: 6px;
    letter-spacing: 0;
    padding: 0 10px;
  }
  .topbar-ends {
    display: none;
  }
  .header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    min-height: 70px;
  }
  .desktop-nav {
    gap: 15px;
    display: none;
  }
  .menu-toggle {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    width: 43px;
    height: 43px;
    border: 1px solid #d9e1d8;
    border-radius: 8px;
    background: #fff;
    display: flex;
  }
  .header-cta {
    display: none;
  }
  .topbar-mobile-text {
    display: inline;
  }
  .topbar-desktop-text {
    display: none;
  }
  /* Portada y maquetas */
  .hero-grid {
    align-items: center;
    min-height: 645px;
    position: relative;
    z-index: 1;
    grid-template-columns: 1fr;
    padding-top: 66px;
  }
  .hero-copy {
    max-width: 710px;
  }
  .hero-bottom {
    font-size: 12px;
    letter-spacing: 0.15em;
    color: #c3d3c8;
    position: relative;
    z-index: 2;
    min-height: 56px;
  }
  .hero-art {
    position: relative;
    transform-origin: left center;
    transform: none;
    max-width: 600px;
    width: 100%;
    margin: auto;
    height: 590px;
  }
  .desktop-mock {
    overflow: hidden;
    border: 6px solid #183a31;
    border-bottom-width: 10px;
    border-radius: 14px;
    background: #102e27;
    box-shadow:
      inset 0 0 0 1px #c4d0ba55,
      0 5px 9px #00181099,
      0 28px 48px #00160c66;
    transform: perspective(1100px) rotateX(4deg) rotateY(-7deg) rotateZ(-3deg);
    top: 145px;
    height: 310px;
  }
  .mock-website {
    position: relative;
    background: linear-gradient(130deg, #144a3d, #4b7156);
    overflow: hidden;
    height: calc(100% - 36px);
    padding: 28px;
  }
  .mock-site-title {
    position: relative;
    z-index: 1;
    line-height: 1.04;
    max-width: 230px;
    font-size: 32px;
    margin-top: 18px;
  }
  .mock-site-button {
    margin-top: 4px;
  }
  .phone-mock {
    width: 176px;
    height: 355px;
    border: 6px solid #183a32;
    padding: 6px;
    border-radius: 30px;
    background: linear-gradient(110deg, #a3b5a2, #183a32 9%, #315246 92%, #b7c1a6);
    box-shadow:
      inset 0 0 0 1px #d8dfc38c,
      0 6px 9px #00150ca6,
      0 28px 45px #00130d66;
    transform: perspective(1000px) rotateX(3deg) rotateY(-9deg) rotateZ(7deg);
    right: 2%;
    bottom: 48px;
  }
  .mini-app-mock {
    z-index: 5;
    width: 235px;
    height: 124px;
    border-radius: 10px;
    overflow: hidden;
    color: #13382e;
    border: 3px solid #dbd9c7;
    background: linear-gradient(135deg, #fffef8, #eff0e7);
    box-shadow:
      inset 0 0 0 1px #fff9,
      0 4px 8px #00180d66,
      0 20px 32px #00180d44;
    transform: perspective(900px) rotateX(7deg) rotateY(-9deg) rotateZ(5deg);
    top: 4px;
    left: 43%;
  }
  .mock-website > p {
    margin: 6px 0;
  }
  /* Nosotros y propuesta de valor */
  .intro-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .intro-number {
    display: none;
  }
  /* Servicios y maquetas de software */
  .service-card:nth-child(3) {
    grid-column: auto;
    display: block;
    grid-template-columns: none;
  }
  .service-card:nth-child(3) .service-visual {
    height: 252px;
    min-height: 0;
  }
  .service-card:nth-child(3) .service-text {
    align-self: center;
  }
  /* Portafolio y filtros */
  .portfolio-grid {
    gap: 35px 24px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }




  /* Proceso de trabajo */
  .process-grid {
    gap: 35px;
  }

  /* Contacto y formularios */
  .contact-grid {
    gap: 12px;
    grid-template-columns: 1fr;
  }
  .contact-copy {
    padding-right: 25px;
    padding: 0 0 15px;
  }
  .contact-trust {
    color: #c5d6c9;
    font-size: 12px;
    margin-top: 24px;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 12px 20px;
  }
  .contact-form-wrap {
    max-width: 740px;
  }
  .brand-card-mock {
    bottom: 10px;
  }
  .floating-contact {
    position: static;
    width: max-content;
    margin: 14px 14px 14px auto;
  }
}
@media (max-width: 767px) {
  /* Servicios y maquetas de software */
  .service-card {
    height: auto;
  }

  /* Contacto y formularios */
  .contact-form-wrap {
    min-width: 0;
  }
  /* Pie de página */
  .footer-bottom {
    align-items: center;
    border-top: 1px solid #49615666;
    padding: 23px 0;
    font-size: 12px;
    flex-wrap: wrap;
    gap: 12px;
  }
}
@media (max-width: 700px) {
  /* Portafolio y filtros */
  .portfolio-grid {
    grid-template-columns: 1fr;
  }
  .filter-bar {
    margin-bottom: 27px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
  }
  .filter-btn {
    font-weight: 720;
    font-size: 12px;
  }
  .project-art {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 18px;
    background: linear-gradient(130deg, #082d28, #175348);
    color: #f8f4ec;
    min-height: 175px;
    padding: 24px;
  }
  .project-link {
    margin-bottom: 22px;
  }
  #portafolio .container {
    width: calc(100% - 34px);
  }
  #portafolio .portfolio-grid {
    align-items: stretch;
    grid-template-columns: 1fr;
    gap: 18px;
  }
  #portafolio .project-art-v51 {
    display: flex;
    align-items: flex-start;
    flex-direction: column;
    gap: 14px;
    justify-content: center;
    isolation: isolate;
    position: relative;
    overflow: hidden;
    min-height: 220px;
    padding: 27px;
  }
  #portafolio .project-shot {
    height: 220px;
    padding: 15px 16px 0;
    gap: 9px;
  }






  /* Proceso de trabajo */
  #proceso .container {
    width: calc(100% - 34px);
  }
  #proceso .steps-list {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  #proceso .steps-list li {
    background: #f8f4ec;
    border: 1px solid #e4e3d9;
    border-radius: 12px;
    min-height: 0;
    padding: 22px;
  }


  /* Contacto y formularios */
  #contacto .container {
    width: calc(100% - 34px);
  }
  #contacto .contact-form-wrap {
    max-width: 850px;
    padding: 25px 20px;
  }
  #contacto .form-grid {
    grid-template-columns: 1fr;
  }
  #contacto .contact-trust {
    margin-top: 25px;
  }
}
@media (max-width: 600px) {
  /* Contenedores, botones y elementos comunes */
  .container {
    width: calc(100% - 34px);
  }
  .section {
    padding: 66px 0;
  }
  .section-heading {
    font-size: clamp(35px, 9vw, 46px);
  }
  .section-top {
    justify-content: space-between;
    align-items: end;
    gap: 40px;
    display: block;
    margin-bottom: 28px;
  }
  .section-side {
    margin-top: 20px;
  }
  .text-action {
    margin: auto;
  }
  /* Cabecera y navegación */
  .topbar {
    font-weight: 700;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    white-space: nowrap;
    gap: 6px;
    letter-spacing: 0;
    padding: 0 10px;
  }
  /* Portada y maquetas */
  .hero-grid {
    padding-top: 55px;
  }
  .hero h1 {
    font-size: clamp(46px, 11vw, 62px);
  }
  .hero-lede {
    line-height: 1.95;
    font-size: 13px;
  }
  .hero-actions {
    margin: 29px 0 57px;
    gap: 16px;
    margin-bottom: 25px;
  }
  .hero-bottom {
    color: #c3d3c8;
    position: relative;
    z-index: 2;
    min-height: 56px;
    font-size: 12px;
    letter-spacing: 0.09em;
  }
  .hero-mini-rule {
    display: none;
  }
  .hero-art {
    max-width: 600px;
    width: 100%;
    margin: auto;
    margin-top: 15px;
    height: 510px;
  }
  .orbit-one {
    top: 30px;
    left: 18px;
    width: 320px;
    height: 320px;
  }
  .orbit-two {
    top: -40px;
    left: -45px;
    width: 450px;
    height: 450px;
  }
  .desktop-mock {
    overflow: hidden;
    border: 6px solid #183a31;
    border-bottom-width: 8px;
    border-radius: 14px;
    background: #102e27;
    box-shadow:
      inset 0 0 0 1px #c4d0ba55,
      0 5px 9px #00181099,
      0 28px 48px #00160c66;
    transform: perspective(900px) rotateX(2deg) rotateY(-4deg) rotateZ(-3deg);
    top: 140px;
    left: 0;
    width: 95%;
    height: 245px;
    border-width: 5px;
  }
  .mock-browser {
    background: #f4f0e6;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 7px;
    color: #435b4c;
    height: 26px;
    gap: 5px;
    padding: 0 7px;
  }
  .mock-website {
    position: relative;
    background: linear-gradient(130deg, #144a3d, #4b7156);
    overflow: hidden;
    height: calc(100% - 26px);
    padding: 18px;
  }
  .mock-site-title {
    position: relative;
    z-index: 1;
    margin: 21px 0 0;
    line-height: 1.04;
    font-size: 24px;
    max-width: 170px;
    margin-top: 8px;
  }
  .mock-site-button {
    margin-top: 0;
    padding: 5px 10px;
  }
  .mock-site-decoration {
    border-radius: 55% 55% 0 0;
    background: linear-gradient(120deg, #d9bb9a, #947654 70%, #4c6951);
    width: 220px;
    height: 240px;
    right: -90px;
    bottom: -75px;
    opacity: 0.08;
  }
  .mock-mini-row {
    display: flex;
    gap: 7px;
    left: 20px;
    bottom: 11px;
  }
  .phone-mock {
    width: 134px;
    height: 270px;
    border: 6px solid #183a32;
    padding: 5px;
    border-radius: 25px;
    background: linear-gradient(110deg, #a3b5a2, #183a32 9%, #315246 92%, #b7c1a6);
    box-shadow:
      inset 0 0 0 1px #d8dfc38c,
      0 6px 9px #00150ca6,
      0 28px 45px #00130d66;
    transform: perspective(900px) rotateX(2deg) rotateY(-6deg) rotateZ(6deg);
    border-width: 5px;
    right: 1%;
    bottom: 52px;
  }
  .phone-dynamic {
    border-radius: 12px;
    background: #27473e;
    margin: 0 auto 10px;
    margin-bottom: 6px;
    width: 38px;
    height: 7px;
  }
  .phone-content {
    border: 1px solid #d4be9c;
    padding: 7px 5px;
    color: #675138;
  }
  .phone-flower {
    display: block;
    font-size: 21px;
    margin-bottom: 8px;
    color: #795725;
  }
  .phone-content small {
    letter-spacing: 0.2em;
    font-size: 4px;
  }
  .phone-content strong {
    font-size: 18px;
    margin: 17px 0 13px;
  }
  .phone-content p {
    font-size: 7px;
    margin: 15px 0;
  }
  .phone-btn {
    border: 1px solid #b8a185;
    font-size: 7px;
    padding: 4px 8px;
  }
  .brand-card-mock {
    color: var(--green);
    width: 147px;
    height: 100px;
    border-width: 4px;
    left: 0;
    padding: 10px;
    border: 1px solid #dfcca6;
    border-radius: 5px;
    background: linear-gradient(135deg, #f5e7ca, #dfc499);
    box-shadow:
      inset 0 0 0 5px #fff5,
      0 4px 7px #00170e55,
      0 19px 30px #00170e40;
    transform: perspective(900px) rotateX(5deg) rotateY(8deg) rotateZ(7deg);
    bottom: 20px;
  }
  .brand-card-mock > span {
    letter-spacing: 0.18em;
    font-weight: 800;
    font-size: 5px;
    display: block;
    line-height: 1;
  }
  .brand-circle {
    border: 1px solid #607c6c;
    border-radius: 50%;
    font: normal 52px var(--serif);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    font-size: 30px;
    right: 8px;
    top: 27px;
  }
  .brand-circle span {
    position: absolute;
    right: -4px;
    bottom: 0;
    font-size: 12px;
    color: #795725;
  }
  .brand-card-mock strong {
    font: normal 19px/1.1 var(--serif);
    font-size: 14px;
    bottom: 9px;
    left: 9px;
    max-width: 65px;
  }
  .hero-mock-label {
    letter-spacing: 0.16em;
    color: #ccbea4;
    font-size: 6px;
    right: 0;
    top: auto;
    bottom: 0;
  }
  .hero-actions .button {
    width: 100%;
  }
  .hero-bottom a {
    font-size: 12px;
  }
  .mini-app-mock {
    border-radius: 10px;
    overflow: hidden;
    color: #13382e;
    border: 3px solid #dbd9c7;
    background: linear-gradient(135deg, #fffef8, #eff0e7);
    box-shadow:
      inset 0 0 0 1px #fff9,
      0 4px 8px #00180d66,
      0 20px 32px #00180d44;
    transform: perspective(900px) rotateX(7deg) rotateY(-9deg) rotateZ(5deg);
    top: 0;
    left: 42%;
    width: 174px;
    height: 100px;
    border-width: 3px;
  }
  .mini-app-top {
    background: #e9eee5;
    display: flex;
    gap: 6px;
    align-items: center;
    letter-spacing: 0.06em;
    font-weight: 900;
    height: 20px;
    font-size: 5px;
    padding: 4px 6px;
  }
  .mini-app-body {
    padding: 8px;
  }
  .mini-app-kpi strong {
    font-size: 18px;
  }
  .mini-app-bars {
    margin-top: 2px;
    height: 31px;
  }
  .mini-app-foot {
    letter-spacing: 0.08em;
    font-size: 5px;
  }
  .mock-website > p {
    max-width: 170px;
    margin: 4px 0;
  }
  /* Nosotros y propuesta de valor */
  .intro-content > p:not(.eyebrow) {
    line-height: 1.9;
    margin: 16px 0;
    font-size: 15px;
  }
  /* Servicios y maquetas de software */
  .services-grid {
    gap: 24px;
    grid-template-columns: 1fr;
  }
  .service-card:nth-child(3) {
    grid-template-columns: none;
    grid-column: auto;
    display: block;
  }
  .service-card:nth-child(3) .service-visual {
    min-height: 0;
    height: 250px;
  }




  /* Proceso de trabajo */
  .process-grid {
    gap: 35px;
    grid-template-columns: 1fr;
  }
  .steps-list li {
    border-bottom: 1px solid #e0e5df;
    padding-bottom: 22px;
    margin-bottom: 20px;
    grid-template-columns: 42px 1fr;
    gap: 14px;
    min-height: 0;
  }

  /* Contacto y formularios */
  .contact-copy .section-heading {
    font-size: clamp(39px, 9vw, 52px);
  }
  .contact-email {
    font-weight: 720;
    overflow-wrap: anywhere;
    font-size: 12px;
  }
  .contact-form-wrap {
    max-width: 740px;
    padding: 23px 18px;
    min-width: 0;
  }
  .form-grid {
    gap: 15px;
    grid-template-columns: 1fr;
  }
  .software-fields-grid {
    gap: 16px;
    grid-template-columns: 1fr;
  }
  /* Pie de página */
  .footer-main {
    padding-bottom: 54px;
    gap: 25px;
    grid-template-columns: 1fr 1fr;
  }
  .footer-bottom {
    border-top: 1px solid #49615666;
    padding: 23px 0;
    font-size: 12px;
    flex-direction: column;
    align-items: flex-start;
    padding-bottom: 65px;
    flex-wrap: wrap;
    gap: 12px;
  }
  .floating-contact {
    z-index: 40;
    background: var(--gold);
    border-radius: 40px;
    box-shadow: 0 12px 32px #06271e50;
    font-size: 12px;
    font-weight: 800;
    color: var(--green);
    right: 14px;
    bottom: 14px;
    padding: 11px 14px;
    position: static;
    width: max-content;
    margin: 14px 14px 14px auto;
  }
  .footer-col:last-child {
    grid-column: 1/-1;
  }
  .floating-contact span:last-child {
    display: none;
  }
  /* Documentos legales */
  .legal-wrap h1 {
    font-size: 35px;
  }
  .intro-content > h2 + p:not(.eyebrow) {
    font-size: 16px;
    margin-top: 22px;
  }
  .mock-address {
    font-size: 6px;
    padding: 3px 4px;
    gap: 4px;
  }
  .mock-demo {
    font-size: 6px;
  }
  .mock-window-controls {
    display: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  #portafolio .portfolio-project:hover .project-shot-frame {
    transform: none;
    box-shadow: 0 5px 10px #082d2819, 0 16px 28px #082d282b;
  }
  /* Variables, base y accesibilidad */
  * {
    transition: none !important;
    animation: none !important;
  }
  html {
    scroll-behavior: auto;
  }
  *::before {
    transition: none !important;
    animation: none !important;
  }
  *::after {
    transition: none !important;
    animation: none !important;
  }
  /* Animaciones */
  .reveal {
    transition: none !important;
    animation: none !important;
  }
  
}

/* La leyenda ocupa su espacio propio dentro de la tarjeta. */
.design-paper.second .design-symbol {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1;
  min-height: 0;
  font-size: 64px;
  line-height: 1;
}
/* Ocultar el acceso flotante móvil hasta que la portada salga de la pantalla.
   La alternativa sin scroll-timeline lo sitúa después del pie. */
@supports (animation-timeline: view()) {
  @media (max-width: 850px) {
    body {
      timeline-scope: --home-hero;
    }
    .hero {
      view-timeline-name: --home-hero;
      view-timeline-axis: block;
    }
    .floating-contact {
      position: fixed;
      margin: 0;
      animation: show-contact-after-hero 1s steps(1, end) both !important;
      animation-timeline: --home-hero !important;
      animation-range: exit 0% exit 100% !important;
    }
  }
}
@keyframes show-contact-after-hero {
  0%,
  99.99% {
    visibility: hidden;
    pointer-events: none;
  }
  100% {
    visibility: visible;
    pointer-events: auto;
  }
}
/* Flotación suave sin alterar la perspectiva de las piezas. */
@keyframes scene-float {
  0%,
  100% {
    translate: 0 6px;
  }
  50% {
    translate: 0 -6px;
  }
}
@keyframes phone-glint {
  0% {
    transform: translateX(-160%) skewX(-12deg);
    opacity: 0;
  }
  20% {
    opacity: 0.7;
  }
  100% {
    transform: translateX(160%) skewX(-12deg);
    opacity: 0;
  }
}

/* V5.4: estructura compacta y acciones de cotización. */
#nosotros { padding-block: 56px; }
#portafolio .portfolio-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.service-card { display: flex; flex-direction: column; }
.service-text { display: flex; flex-direction: column; flex: 1; }
.service-text > .button { margin-top: auto; align-self: flex-start; }
.service-text > p { margin-bottom: 24px; }






#proceso .process-grid { display: block; }
#proceso .process-intro { max-width: 700px; margin-bottom: 35px; }
#proceso .steps-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
#proceso .steps-list li { display: flex; flex-direction: column; align-items: flex-start; padding: 24px; border: 1px solid #49615666; }
.contact-whatsapp { margin-block: 24px 0; }
.contact-email { display: flex; width: fit-content; overflow-wrap: anywhere; }
#quote-form .form-grid { grid-template-columns: minmax(0, 1fr); }
#quote-form .form-note { font-size: 12px; }
#quote-form #copy-request { margin-top: 12px; }
@media (max-width: 850px) {
  #portafolio .portfolio-grid, #proceso .steps-list { grid-template-columns: minmax(0, 1fr); }
  #nosotros { padding-block: 40px; }
}

/* V5.4b: desplegables de servicios y franjas compactas. */
#servicios .services-grid { align-items: start; }
#servicios .service-card { display: flex; min-width: 0; min-height: 590px; }
#servicios .service-card:hover { transform: none; }
#servicios .service-text > h3 { min-height: 61px; }
#servicios .service-text > p { min-height: 104px; margin-block: 12px 24px; }
.service-menu { width: 100%; margin-top: auto; }
.service-menu > summary {
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px; width: 100%; min-height: 46px; padding: 12px 15px;
  border: 1px solid #d8e2d9; border-radius: 7px;
  color: var(--green); font-size: 12px; font-weight: 750;
  cursor: pointer; list-style: none;
}
.service-menu > summary::-webkit-details-marker { display: none; }
.service-menu > summary:hover { background: var(--ivory); }
.service-chevron { flex-shrink: 0; transition: transform 250ms ease-in-out; }
.service-menu[open] > summary .service-chevron { transform: rotate(180deg); }
.service-menu.is-closing > summary .service-chevron { transform: none; }
.service-panel { overflow: hidden; }
.service-panel ul { margin: 0; padding: 18px 0 12px; list-style: none; }
.service-panel li { display: flex; gap: 9px; margin-bottom: 10px; font-size: 12px; line-height: 1.6; color: var(--muted); }
.service-panel li > span:first-child { color: var(--gold); flex-shrink: 0; }
.service-panel-link { display: inline-block; padding-block: 8px 3px; font-size: 12px; font-weight: 750; color: var(--green); text-decoration: underline; text-underline-offset: 4px; }
#portafolio { background: var(--ivory); padding-block: 42px; }
#portafolio .section-top { margin-bottom: 22px; }
#portafolio #portfolio-title { font-size: 30px; line-height: 1.2; max-width: none; }
#portafolio .portfolio-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
#portafolio .portfolio-project { min-width: 0; overflow: hidden; border-radius: 10px; box-shadow: none; }
#portafolio .project-art-v51 { height: 150px; min-height: 150px; padding: 18px; gap: 9px; }
#portafolio .project-art-v51 strong { font-size: 25px; }
#portafolio .project-art-v51 > span, #portafolio .project-art-v51 > small, #portafolio .project-shot-label { display: none; }
#portafolio .project-shot { height: 150px; padding: 12px 12px 0; gap: 0; }
#portafolio .project-shot-bar { height: 23px; padding-inline: 6px; gap: 6px; }
#portafolio .project-shot-dots { gap: 3px; }
#portafolio .project-shot-dots i { width: 5px; height: 5px; }
#portafolio .project-shot img { height: calc(100% - 23px); }
#portafolio .portfolio-meta { padding: 12px 15px 0; }
#portafolio .portfolio-meta div > span { font-size: 12px; letter-spacing: .04em; }
#portafolio .portfolio-meta h3 { font-size: 21px; line-height: 1.2; margin-block: 5px 0; }
#portafolio .project-link { margin: 10px 15px 14px; font-size: 12px; }






@media (min-width: 601px) and (max-width: 1050px) {
  #portafolio .portfolio-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 600px) {
  #portafolio { padding-block: 30px; }
  #portafolio #portfolio-title { font-size: 28px; }
  #portafolio .portfolio-grid {
    display: grid; grid-auto-flow: column; grid-template-columns: none;
    grid-auto-columns: 82%; overflow-x: auto; overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory; gap: 14px; padding-bottom: 12px;
  }
  #portafolio .portfolio-project { scroll-snap-align: start; }




}
@media (prefers-reduced-motion: reduce) {
  .service-menu *, .service-chevron { transition: none !important; animation: none !important; }
}

/* V5.4c: jerarquía de precios, llamadas a la acción y pie legible. */
#nosotros .intro-number { font-size: 12px; letter-spacing: .14em; }
#servicios .service-card, #portafolio .portfolio-project {
  transition: transform 200ms ease, box-shadow 200ms ease;
}
#servicios .service-card:hover, #portafolio .portfolio-project:hover {
  transform: translateY(-4px); box-shadow: 0 14px 28px #082d281b;
}
#portafolio .project-link {
  display: inline-flex; align-items: center; align-self: flex-start;
  min-width: 44px; min-height: 44px;
}
#portafolio .portfolio-grid { padding-top: 5px; }








.footer .footer-main { grid-template-columns: 1.2fr .8fr .9fr 1.4fr; }
.footer .footer-logo-box { background: transparent; padding: 0; border-radius: 0; width: 160px; }
.footer .footer-logo-box img { width: 160px; height: 72px; filter: brightness(0) invert(1); }
.footer .footer-col h3, .footer .footer-col a, .footer .footer-col span, .footer .footer-bottom, .footer .footer-bottom * { font-size: 15px; }
.footer .footer-brand p { font-size: 17px; }
.floating-contact span:last-child { display: inline; }
@media (max-width: 1050px) {

  .footer .footer-main { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {




  .footer .footer-main { grid-template-columns: minmax(0, 1fr); }
  .footer .footer-col:last-child { grid-column: auto; }
  .section-heading em, .hero h1 em { padding-right: .08em; }
}
@media (prefers-reduced-motion: reduce) {
  #servicios .service-card:hover, #portafolio .portfolio-project:hover { transform: none; box-shadow: none; }
}

.inv-footer .inv-footer-inner, .inv-footer .inv-footer-inner a, .inv-footer .inv-footer-inner p, .inv-footer .inv-footer-inner small { font-size: 15px; }
.inv-footer .inv-footer-inner > img { filter: brightness(0) invert(1); }

/* Efectos progresivos: el contenido es visible antes de ejecutar JavaScript. */
.reveal { opacity: 1; transform: none; }
.reveal.is-entering { animation: reveal-entry 500ms ease-out var(--reveal-delay, 0ms) both; }
@keyframes reveal-entry {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}
#servicios .service-card, #portafolio .portfolio-project {
  transition: transform 250ms ease, box-shadow 250ms ease, border-color 250ms ease;
}
#servicios .service-card:hover, #portafolio .portfolio-project:hover {
  transform: translateY(-4px); box-shadow: 0 18px 32px #082d2820; border-color: var(--gold);
}
#portafolio .project-shot img, #portafolio .project-art { transition: transform 250ms ease; }
#portafolio .portfolio-project:hover .project-shot img, #portafolio .portfolio-project:hover .project-art { transform: scale(1.03); }
#portafolio .portfolio-project:hover .project-shot-frame { transform: none; }
.button { transition: background 250ms ease, box-shadow 250ms ease; }
.button:hover { transform: none; box-shadow: 0 0 20px #cda66c40; }
.button > span[aria-hidden="true"] { display: inline-block; transition: transform 250ms ease; }
.button:hover > span[aria-hidden="true"] { transform: translate(2px, -2px); }
.floating-contact::after {
  content: ''; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  animation: whatsapp-pulse 6s ease-in-out infinite;
}
@keyframes whatsapp-pulse {
  0%, 75%, 100% { box-shadow: 0 0 0 0 #cda66c00; }
  87% { box-shadow: 0 0 0 7px #cda66c33; }
}
.site-header { transition: background-color 250ms ease, box-shadow 250ms ease; }
.site-header.is-scrolled { background: #fbfaf7; box-shadow: 0 5px 18px #082d281b; }
html { scroll-behavior: smooth; scroll-padding-top: 100px; }
section[id] { scroll-margin-top: 12px; }
.facebook-link { display: flex; align-items: center; gap: 9px; width: fit-content; min-height: 44px; }
.facebook-link svg { flex-shrink: 0; }
#contacto .facebook-link { margin-top: 10px; font-size: 15px; }
/* El panel sin llamada a la acción no reserva espacio para un enlace eliminado. */
.service-panel ul:last-child { padding-bottom: 0; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
  .floating-contact, .floating-contact::after, .reveal.is-entering { animation: none !important; }
  .reveal, .reveal.is-entering { opacity: 1 !important; transform: none !important; }
  #servicios .service-card:hover, #portafolio .portfolio-project:hover, .button:hover,
  .button:hover > span[aria-hidden="true"], #portafolio .portfolio-project:hover .project-shot img,
  #portafolio .portfolio-project:hover .project-art { transform: none; }
}

/* Miniaturas sin captura y altura natural de servicios en móvil. */
#portafolio .project-art-v51:has(.project-placeholder-name) { align-items: center; text-align: center; }
#portafolio .project-art-v51 .project-placeholder-name { color: var(--ivory); font-family: var(--serif); font-weight: normal; }
#portafolio .project-theme-3 .project-placeholder-name { text-shadow: 0 1px 4px #082d28b3; }
@media (max-width: 699.98px) {
  #servicios .service-card { min-height: 0; height: auto; }
  #servicios .service-text { flex: initial; }
  #servicios .service-text > h3, #servicios .service-text > p { min-height: 0; }
  #servicios .service-text > p { margin-bottom: 16px; }
  #servicios .service-menu { margin-top: 0; }
}
