:root {
  --ink: #071426;
  --ink-2: #0b1d34;
  --paper: #f4f8fc;
  --paper-2: #e8f0f8;
  --white: #ffffff;
  --lime: #168dff;
  --lime-soft: #8fd3ff;
  --brand-blue: #168dff;
  --brand-cyan: #39baff;
  --brand-deep: #0c2f55;
  --muted: #6f8193;
  --line: rgba(7, 20, 38, 0.14);
  --line-light: rgba(255, 255, 255, 0.14);
  --max: 1440px;
  --radius-xl: 34px;
  --radius-lg: 24px;
  --radius-md: 18px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--ink); }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body::-webkit-scrollbar { width: 0; height: 0; }
body { scrollbar-width: none; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
button { color: inherit; }
img, svg { display: block; }
mark { color: inherit; background: transparent; }
::selection { background: var(--lime); color: var(--ink); }

.shell { width: min(calc(100% - 40px), var(--max)); margin: 0 auto; }
.section { padding: 128px 0; }
.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.section-kicker::before { content: ''; width: 28px; height: 1px; background: currentColor; opacity: .6; }

.button {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 0 22px;
  font-weight: 800;
  font-size: 14px;
  transition: transform .25s ease, background-color .25s ease, color .25s ease, border-color .25s ease;
}
.button:hover { transform: translateY(-2px); }
.button-lime { background: var(--lime); color: var(--ink); }
.button-lime:hover { background: #45b8ff; }
.button-dark { background: var(--ink); color: var(--white); }
.button-dark:hover { background: #25291f; }
.button-small { min-height: 43px; padding: 0 18px; font-size: 12px; }
.button-large { min-height: 60px; padding: 0 28px; }
.text-link { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 800; color: var(--white); border-bottom: 1px solid rgba(255,255,255,.35); padding-bottom: 5px; }
.dark-link { color: var(--ink); border-bottom-color: rgba(16,18,15,.35); }

/* Header */
.site-header {
  position: absolute;
  z-index: 50;
  left: 0;
  right: 0;
  top: 0;
  color: var(--white);
}
.header-inner { min-height: 86px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 11px; font-weight: 900; }
.brand-mark { width: 34px; height: 34px; border-radius: 11px; display: inline-grid; place-items: center; background: var(--lime); color: var(--ink); font-size: 18px; line-height: 1; }
.brand-name { font-size: 18px; letter-spacing: -.035em; color: var(--white); }
.brand-name span { color: var(--lime); }
.desktop-nav { display: flex; align-items: center; gap: 30px; margin-left: auto; margin-right: 24px; }
.desktop-nav a { color: rgba(255,255,255,.72); font-size: 13px; font-weight: 700; transition: color .2s ease; }
.desktop-nav a:hover { color: var(--white); }
.header-actions { display: flex; align-items: center; gap: 12px; }
.mobile-menu { display: none; position: relative; }
.mobile-menu summary { list-style: none; width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255,255,255,.2); display: grid; place-content: center; gap: 5px; cursor: pointer; }
.mobile-menu summary::-webkit-details-marker { display: none; }
.mobile-menu summary span { width: 17px; height: 1.5px; background: #fff; transition: transform .2s ease; }
.mobile-menu[open] summary span:first-child { transform: translateY(3px) rotate(45deg); }
.mobile-menu[open] summary span:last-child { transform: translateY(-3px) rotate(-45deg); }
.mobile-menu-panel { position: absolute; right: 0; top: 54px; width: min(320px, calc(100vw - 32px)); padding: 18px; border-radius: 20px; background: var(--paper); color: var(--ink); box-shadow: 0 26px 70px rgba(0,0,0,.3); }
.mobile-menu-panel a { display: flex; justify-content: space-between; align-items: center; padding: 15px 4px; border-bottom: 1px solid var(--line); font-size: 18px; font-weight: 800; }
.mobile-menu-panel p { margin: 18px 4px 2px; color: var(--muted); font-size: 12px; line-height: 1.7; }

/* Hero */
.hero { position: relative; min-height: 100svh; overflow: hidden; color: var(--white); background: var(--ink); padding: 118px 0 42px; }
.hero::before { content: ''; position: absolute; width: 800px; height: 800px; border-radius: 50%; right: -290px; top: -300px; background: radial-gradient(circle, rgba(22,141,255,.18), transparent 66%); pointer-events: none; }
.hero::after { content: ''; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.022) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.022) 1px, transparent 1px); background-size: 54px 54px; mask-image: linear-gradient(to bottom, black 0 70%, transparent); pointer-events: none; }
.hero-noise { position: absolute; inset: 0; opacity: .16; pointer-events: none; background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.17'/%3E%3C/svg%3E"); }
.hero-grid { position: relative; z-index: 2; min-height: calc(100svh - 160px); display: grid; grid-template-columns: minmax(0, .92fr) minmax(560px, 1.08fr); gap: 52px; align-items: center; }
.hero-copy { padding: 28px 0 30px; }
.eyebrow-row { display: flex; justify-content: space-between; max-width: 650px; padding-bottom: 22px; border-bottom: 1px solid var(--line-light); color: rgba(255,255,255,.55); text-transform: uppercase; letter-spacing: .13em; font-size: 10px; font-weight: 700; }
.hero h1 { margin: 38px 0 0; max-width: 760px; font-size: clamp(64px, 7vw, 126px); line-height: .86; letter-spacing: -.075em; font-weight: 800; }
.pill-word { display: inline-block; background: var(--lime); color: var(--ink); border-radius: 999px; padding: .02em .24em .08em; transform: rotate(-1.2deg); }
.hero-description { max-width: 590px; margin: 36px 0 0; color: rgba(255,255,255,.68); font-size: clamp(16px, 1.25vw, 20px); line-height: 1.65; }
.hero-actions { display: flex; align-items: center; gap: 24px; margin-top: 36px; }
.hero-proof { margin-top: 50px; padding-top: 20px; border-top: 1px solid var(--line-light); display: grid; grid-template-columns: 60px 1fr; max-width: 620px; color: rgba(255,255,255,.5); }
.hero-proof span { color: var(--lime); font-size: 12px; font-weight: 900; }
.hero-proof p { margin: 0; max-width: 420px; font-size: 12px; line-height: 1.7; }

/* Hero projects */
.hero-showcase { min-width: 0; align-self: stretch; display: flex; flex-direction: column; justify-content: center; padding-top: 16px; }
.hero-showcase-topline { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; color: rgba(255,255,255,.48); text-transform: uppercase; letter-spacing: .12em; font-size: 10px; font-weight: 800; }
.hero-project-stage { position: relative; min-height: 560px; border-radius: 30px; overflow: hidden; padding: 22px 22px 86px; background: #d6d8cf; color: var(--ink); box-shadow: 0 45px 120px rgba(0,0,0,.35); }
.hero-project-stage::before { content: ''; position: absolute; inset: 0; background: radial-gradient(circle at 80% 10%, rgba(255,255,255,.55), transparent 32%), linear-gradient(135deg, rgba(255,255,255,.2), transparent); pointer-events: none; }
.hero-project-motion { height: 100%; position: relative; z-index: 1; }
.hero-project-motion > * { height: 100%; }
.hero-project-caption { position: absolute; left: 22px; right: 22px; bottom: 18px; display: flex; justify-content: space-between; align-items: end; z-index: 3; }
.hero-project-caption div { display: flex; flex-direction: column; gap: 3px; }
.hero-project-caption span { font-size: 10px; text-transform: uppercase; letter-spacing: .13em; color: rgba(16,18,15,.56); font-weight: 800; }
.hero-project-caption strong { font-size: 22px; letter-spacing: -.03em; }
.hero-project-caption a { width: 48px; height: 48px; border-radius: 50%; background: var(--ink); color: var(--lime); display: grid; place-items: center; transition: transform .25s ease; }
.hero-project-caption a:hover { transform: rotate(8deg) scale(1.05); }
.hero-project-tabs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 12px; }
.hero-project-tabs button { position: relative; overflow: hidden; display: grid; grid-template-columns: auto 1fr; gap: 10px; align-items: center; min-height: 58px; padding: 10px 12px 13px; border: 0; border-radius: 13px; background: rgba(255,255,255,.05); color: rgba(255,255,255,.46); text-align: left; cursor: pointer; }
.hero-project-tabs button span { font-size: 10px; }
.hero-project-tabs button b { font-size: 11px; font-weight: 800; }
.hero-project-tabs button i { position: absolute; bottom: 0; left: 0; height: 2px; width: 100%; background: rgba(255,255,255,.15); }
.hero-project-tabs button i::after { content: ''; display: block; height: 100%; width: 0; background: var(--lime); transition: width .35s ease; }
.hero-project-tabs button.active { color: var(--white); background: rgba(255,255,255,.08); }
.hero-project-tabs button.active i::after { width: 100%; }

/* Mock windows */
.mock-window { height: 100%; min-height: 430px; display: flex; flex-direction: column; overflow: hidden; border: 1px solid rgba(16,18,15,.13); border-radius: 19px; background: #f8f9f5; box-shadow: 0 22px 60px rgba(20,24,18,.16); }
.mock-window-bar { height: 36px; flex: 0 0 36px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; padding: 0 13px; border-bottom: 1px solid rgba(16,18,15,.09); background: #f0f1ec; color: #74786f; font-size: 8px; }
.mock-dots { display: flex; gap: 4px; }
.mock-dots i { width: 6px; height: 6px; border-radius: 50%; background: #c1c4bc; }
.mock-window-action { justify-self: end; width: 38px; height: 10px; border-radius: 8px; background: #dfe1dc; }
.mock-window-body { min-height: 0; flex: 1; overflow: hidden; }

.mock-app-layout { height: 100%; display: grid; grid-template-columns: 64px 1fr; background: #eff0ec; }
.mock-sidebar { background: #151814; padding: 18px 13px; display: flex; flex-direction: column; align-items: center; gap: 15px; }
.mock-sidebar b { color: var(--lime); font-size: 10px; margin-bottom: 10px; }
.mock-sidebar span { width: 24px; height: 24px; border-radius: 7px; background: #252922; }
.mock-sidebar span.active { background: var(--lime); }
.mock-main { padding: 22px; min-width: 0; }
.mock-topline { display: flex; justify-content: space-between; align-items: center; }
.mock-topline div:first-child { display: flex; flex-direction: column; }
.mock-topline small { color: #8a8d85; font-size: 8px; }
.mock-topline strong { font-size: 16px; letter-spacing: -.04em; }
.mock-avatar { width: 30px; height: 30px; border-radius: 50%; background: #d4d6d0; }
.mock-stat-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 9px; margin-top: 18px; }
.mock-stat-row > div { min-height: 88px; border-radius: 12px; background: #fff; padding: 12px; display: flex; flex-direction: column; }
.mock-stat-row small { font-size: 7px; color: #8c9087; }
.mock-stat-row strong { margin-top: 4px; font-size: 21px; letter-spacing: -.04em; }
.mock-stat-row em { margin-top: auto; font-style: normal; color: #6d7e29; font-size: 7px; }
.mock-stat-row .dark { background: #1a1e18; color: #fff; }
.mock-stat-row .dark small { color: #8e9488; }
.mock-stat-row .dark em { color: var(--lime); }
.mock-grid-2 { display: grid; grid-template-columns: 1.15fr .85fr; gap: 9px; margin-top: 9px; height: 210px; }
.mock-chart-card, .mock-list-card { border-radius: 12px; background: #fff; padding: 13px; min-width: 0; }
.mock-card-head { display: flex; justify-content: space-between; align-items: center; }
.mock-card-head span { font-size: 8px; font-weight: 800; }
.mock-card-head small { font-size: 6px; color: #9b9e96; }
.mock-bars { height: 150px; display: flex; gap: 6px; align-items: end; padding-top: 18px; }
.mock-bars i { flex: 1; border-radius: 6px 6px 2px 2px; background: #dfe3da; }
.mock-bars i:nth-child(5), .mock-bars i:nth-child(6) { background: var(--lime); }
.mock-list-row { display: grid; grid-template-columns: 20px 1fr 26px; gap: 7px; align-items: center; margin-top: 14px; }
.mock-list-row > i { width: 20px; height: 20px; border-radius: 6px; background: #edf0e8; }
.mock-list-row div b, .mock-list-row div span { display: block; height: 4px; border-radius: 4px; background: #d7dad2; }
.mock-list-row div span { width: 60%; margin-top: 4px; background: #eceeea; }
.mock-list-row em { height: 8px; border-radius: 5px; background: #eef8d4; }

.pos-layout { height: 100%; display: grid; grid-template-columns: 1fr 36%; background: #f6f7f3; }
.pos-products { padding: 20px; min-width: 0; }
.pos-search { height: 38px; display: flex; align-items: center; gap: 8px; padding: 0 11px; border: 1px solid #e1e3dd; border-radius: 10px; background: #fff; color: #92968d; font-size: 7px; }
.pos-search i { width: 9px; height: 9px; border: 1.5px solid #9ca097; border-radius: 50%; position: relative; }
.pos-search i::after { content: ''; position: absolute; width: 4px; height: 1px; background: #9ca097; transform: rotate(45deg); right: -3px; bottom: -1px; }
.pos-categories { display: flex; gap: 6px; margin-top: 11px; }
.pos-categories span, .pos-categories b { border-radius: 999px; padding: 6px 9px; background: #e9ebe5; font-size: 6px; font-style: normal; }
.pos-categories b { background: #181b16; color: #fff; }
.pos-product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 13px; }
.pos-product { min-width: 0; border-radius: 11px; padding: 8px; background: #fff; border: 1px solid #e8e9e4; display: flex; flex-direction: column; }
.pos-thumb { height: 54px; display: grid; place-items: center; border-radius: 8px; background: #e9f1df; color: #596049; font-size: 13px; font-weight: 900; }
.pos-thumb.t1 { background: #eee3d7; }.pos-thumb.t2 { background: #e4e4ef; }.pos-thumb.t3 { background: #f0e1dc; }.pos-thumb.t4 { background: #e8f0ea; }.pos-thumb.t5 { background: #f2ebd5; }
.pos-product strong { margin-top: 7px; font-size: 7px; line-height: 1.2; }
.pos-product small { margin-top: 4px; font-size: 7px; color: #777c73; }
.pos-ticket { background: #171a16; color: #fff; padding: 20px 14px; display: flex; flex-direction: column; }
.pos-ticket-head { display: flex; justify-content: space-between; align-items: center; padding-bottom: 15px; border-bottom: 1px solid #30342e; }
.pos-ticket-head span { font-size: 9px; font-weight: 800; }.pos-ticket-head b { color: #8e9488; font-size: 6px; }
.pos-line { display: grid; grid-template-columns: 21px 1fr auto; gap: 7px; align-items: center; padding: 11px 0; border-bottom: 1px solid #292d27; }
.pos-line > i { width: 20px; height: 20px; display: grid; place-items: center; border-radius: 6px; background: #262a24; font-style: normal; font-size: 7px; }
.pos-line div b, .pos-line div span { display: block; height: 4px; border-radius: 4px; background: #60645d; }.pos-line div span { width: 48%; background: #363a34; margin-top: 4px; }
.pos-line strong { font-size: 7px; }
.pos-total { margin-top: auto; display: flex; justify-content: space-between; align-items: end; padding: 14px 0; }.pos-total span { color: #92978e; font-size: 7px; }.pos-total strong { font-size: 19px; }
.pos-ticket button { min-height: 39px; border: 0; border-radius: 9px; background: var(--lime); color: var(--ink); font-size: 8px; font-weight: 900; display: flex; align-items: center; justify-content: center; gap: 8px; }

.web-preview { height: 100%; background: #f4f0dc; overflow: hidden; }
.web-preview nav { height: 46px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; padding: 0 18px; border-bottom: 1px solid rgba(16,18,15,.12); font-size: 7px; }
.web-preview nav b { font-size: 10px; }.web-preview nav span { color: #5e625a; }.web-preview nav i { justify-self: end; background: #a51d1c; color: #fff; padding: 7px 10px; border-radius: 999px; font-style: normal; }
.web-hero { position: relative; height: 315px; padding: 33px 22px; overflow: hidden; }
.web-hero small { font-size: 7px; letter-spacing: .14em; font-weight: 800; }
.web-hero h4 { position: relative; z-index: 2; margin: 12px 0 8px; font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif; font-size: clamp(34px, 4vw, 60px); line-height: .87; letter-spacing: -.03em; font-weight: 500; }
.web-hero mark { background: #a51d1c; color: #f4f0dc; padding: 0 .12em; }
.web-hero p { position: relative; z-index: 2; max-width: 230px; font-size: 8px; color: #6d6b5f; }
.web-art { position: absolute; right: -12px; bottom: -22px; width: 48%; height: 88%; border-radius: 120px 0 0 0; background: #c59c64; overflow: hidden; transform: rotate(-4deg); }
.web-art span { position: absolute; display: block; border-radius: 50%; background: #a51d1c; }.web-art span:first-child { width: 160px; height: 160px; right: 28px; top: 34px; }.web-art span:nth-child(2) { width: 72px; height: 72px; right: 120px; top: 150px; background: #f0c985; }.web-art span:nth-child(3) { width: 40px; height: 140px; right: 8px; top: 74px; border-radius: 40px; background: #1b1c18; }
.web-ticker { height: 31px; background: #a51d1c; color: #f4f0dc; display: flex; align-items: center; white-space: nowrap; padding-left: 12px; font-size: 7px; font-weight: 900; letter-spacing: .08em; }

.analytics-preview { height: 100%; padding: 22px; background: #f6f6f2; }
.analytics-head { display: flex; justify-content: space-between; align-items: center; }.analytics-head div { display: flex; flex-direction: column; }.analytics-head small { font-size: 7px; color: #8a8e85; }.analytics-head strong { font-size: 15px; letter-spacing: -.03em; }.analytics-head > span { border: 1px solid #dedfd9; background: #fff; border-radius: 999px; padding: 7px 10px; font-size: 6px; }
.analytics-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 18px; }.analytics-stats div { background: #fff; border: 1px solid #e5e7e0; border-radius: 12px; padding: 12px; display: flex; flex-direction: column; }.analytics-stats small { font-size: 6px; color: #8a8e85; }.analytics-stats strong { margin-top: 5px; font-size: 17px; }.analytics-stats em { margin-top: 8px; color: #708026; font-size: 6px; font-style: normal; }
.analytics-chart { height: 220px; position: relative; margin-top: 10px; border: 1px solid #e5e7e0; border-radius: 12px; background: #fff; overflow: hidden; color: #84a610; }.analytics-y { position: absolute; inset: 24px 18px; display: flex; flex-direction: column; justify-content: space-between; }.analytics-y i { height: 1px; background: #ebede6; }.analytics-chart svg { position: absolute; inset: 30px 20px 26px; width: calc(100% - 40px); height: calc(100% - 56px); }

.mobile-preview-wrap { height: 100%; min-height: 430px; position: relative; overflow: hidden; border-radius: 19px; background: #131612; color: #fff; padding: 30px; }
.mobile-copy { position: relative; z-index: 3; width: 43%; display: flex; flex-direction: column; }.mobile-copy small { color: var(--lime); font-size: 7px; letter-spacing: .14em; }.mobile-copy strong { margin-top: 12px; font-size: 27px; line-height: 1; letter-spacing: -.05em; }.mobile-copy p { font-size: 8px; color: #9da298; line-height: 1.7; }
.phone { position: absolute; width: 178px; height: 348px; border: 6px solid #31362e; border-radius: 32px; background: #eef0e9; color: #151814; box-shadow: 0 30px 70px rgba(0,0,0,.4); overflow: hidden; }.phone-left { right: 150px; top: 50px; transform: rotate(-6deg); }.phone-right { right: -4px; top: 96px; transform: rotate(7deg); }.phone-notch { width: 60px; height: 14px; border-radius: 0 0 9px 9px; background: #31362e; margin: 0 auto; }.phone-ui { padding: 20px 12px; display: flex; flex-direction: column; }.phone-ui small { font-size: 6px; color: #8d9189; }.phone-ui > strong { font-size: 13px; letter-spacing: -.03em; margin-top: 3px; }.phone-card { margin-top: 16px; padding: 13px; border-radius: 13px; }.phone-card.lime { background: var(--lime); }.phone-card b { display: block; margin-top: 8px; font-size: 22px; }.phone-mini-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin-top: 8px; }.phone-mini-grid i { height: 50px; border-radius: 10px; background: #fff; }.phone-list { display: grid; gap: 7px; margin-top: 10px; }.phone-list span { height: 24px; background: #fff; border-radius: 8px; }.phone-ring { width: 90px; height: 90px; margin: 22px auto 4px; border: 13px solid var(--lime); border-right-color: #dfe2da; border-radius: 50%; }.phone-list.strong span { height: 31px; }

.cloud-preview { height: 100%; min-height: 430px; border-radius: 19px; background: #e8eadf; overflow: hidden; padding: 28px; position: relative; }.cloud-title { position: relative; z-index: 3; display: flex; flex-direction: column; }.cloud-title small { font-size: 7px; letter-spacing: .14em; }.cloud-title strong { margin-top: 10px; max-width: 290px; font-size: 28px; line-height: 1; letter-spacing: -.05em; }.network-map { position: absolute; inset: 86px 18px 18px; }.network-map svg { position: absolute; inset: 0; width: 100%; height: 100%; }.network-map path { fill: none; stroke: #9ca28f; stroke-width: 2; stroke-dasharray: 4 8; }.node { position: absolute; z-index: 2; width: 78px; height: 78px; border-radius: 50%; display: grid; place-items: center; background: #fff; border: 1px solid #d5d8ce; box-shadow: 0 13px 30px rgba(31,35,28,.11); font-size: 8px; font-weight: 900; }.node.n1 { left: 4%; top: 8%; }.node.n2 { left: 44%; top: 35%; width: 90px; height: 90px; background: var(--ink); color: var(--lime); }.node.n3 { right: 4%; top: 5%; }.node.n4 { left: 18%; bottom: 2%; }.node.n5 { right: 12%; bottom: 4%; }

/* Ticker */
.ticker { overflow: hidden; background: var(--lime); color: var(--ink); border-top: 1px solid rgba(16,18,15,.18); border-bottom: 1px solid rgba(16,18,15,.18); }
.ticker-track { width: max-content; display: flex; animation: ticker 28s linear infinite; }
.ticker span { height: 44px; display: inline-flex; align-items: center; gap: 27px; padding: 0 0 0 27px; white-space: nowrap; text-transform: uppercase; font-size: 10px; letter-spacing: .09em; font-weight: 900; }
.ticker span b { font-size: 10px; }
@keyframes ticker { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .ticker-track { animation: none; } html { scroll-behavior: auto; } * { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; } }

/* Section headings */
.section-heading { margin-bottom: 66px; }
.split-heading { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(300px, .65fr); gap: 60px; align-items: end; }
.split-heading h2 { max-width: 900px; margin: 15px 0 0; font-size: clamp(48px, 6.2vw, 94px); line-height: .94; letter-spacing: -.07em; }
.split-heading > p { margin: 0 0 8px; color: #64695f; font-size: 17px; line-height: 1.75; }
.light-heading h2 { color: var(--white); }.light-heading p { color: #9ba096; }.light-heading .section-kicker { color: var(--lime); }

/* Projects */
.projects-section { background: var(--paper); }
.project-list { border-top: 1px solid var(--line); }
.project-row { min-height: 680px; display: grid; grid-template-columns: 37% 63%; border-bottom: 1px solid var(--line); padding: 48px 0; gap: 36px; align-items: stretch; }
.project-row-copy { display: flex; flex-direction: column; padding: 12px 8px 12px 0; }
.project-index { display: flex; align-items: center; gap: 20px; text-transform: uppercase; letter-spacing: .12em; font-size: 10px; font-weight: 800; color: #73786f; }
.project-index span:first-child { color: var(--ink); }
.project-row h3 { margin: 56px 0 0; max-width: 480px; font-size: clamp(42px, 4.4vw, 72px); line-height: .96; letter-spacing: -.065em; }
.project-row-copy > p { max-width: 470px; margin: 24px 0 0; color: #666b62; line-height: 1.7; }
.tag-list { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 25px; }.tag-list span { border: 1px solid var(--line); border-radius: 999px; padding: 7px 10px; font-size: 10px; font-weight: 700; color: #5f645b; }
.project-link { margin-top: auto; display: inline-flex; align-items: center; gap: 10px; width: fit-content; padding-bottom: 5px; border-bottom: 1px solid var(--ink); font-size: 13px; font-weight: 900; }
.project-row-visual { min-width: 0; display: block; border-radius: 28px; background: #dfe1da; padding: 32px; overflow: hidden; transition: transform .35s ease; }
.project-row-visual:hover { transform: translateY(-4px); }
.project-row-visual > * { height: 100%; min-height: 560px; }
.project-pos .project-row-visual { background: #d5dad0; }.project-web .project-row-visual { background: #b62120; }.project-analytics .project-row-visual { background: #d9ded1; }.project-mobile .project-row-visual { background: #242820; }.project-cloud .project-row-visual { background: #dfe3d5; }
.center-action { display: flex; justify-content: center; margin-top: 56px; }

/* Statement */
.statement-section { padding: 118px 0; background: #e8e9df; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.statement-grid { display: grid; grid-template-columns: 27% 73%; gap: 20px; }
.statement-label span { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; font-weight: 800; }
.statement-copy p { margin: 0; max-width: 980px; font-size: clamp(36px, 4.5vw, 74px); line-height: 1.04; letter-spacing: -.06em; color: #747970; }
.statement-copy strong { color: var(--ink); font-weight: 700; }

/* Services */
.services-section { background: #f8f7f1; }
.services-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 14px; }
.service-card { min-height: 390px; padding: 30px; border-radius: 26px; background: #ecece4; display: flex; flex-direction: column; justify-content: space-between; }
.service-card.wide { grid-column: span 7; }.service-card.compact { grid-column: span 5; }.service-card.dark { background: var(--ink); color: var(--white); }.service-card.lime { background: var(--lime); color: var(--ink); }
.service-top { display: flex; justify-content: space-between; align-items: start; }.service-top span { font-size: 11px; font-weight: 900; }.service-top svg { opacity: .75; }
.service-card h3 { margin: 0; max-width: 580px; font-size: clamp(36px, 4vw, 62px); line-height: .95; letter-spacing: -.06em; }.service-card p { max-width: 590px; margin: 18px 0 0; color: #656a61; line-height: 1.65; }.service-card.dark p { color: #a8ada3; }.service-card.lime p { color: #3a3e35; }.service-card small { font-size: 10px; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; opacity: .65; }
.services-bottom { margin-top: 28px; display: flex; justify-content: space-between; gap: 30px; align-items: center; }.services-bottom p { margin: 0; max-width: 660px; color: #64695f; }

/* Process */
.process-section { background: var(--ink); color: var(--white); }
.process-list { border-top: 1px solid var(--line-light); }
.process-step { min-height: 160px; display: grid; grid-template-columns: 90px 1fr 1.35fr 40px; gap: 30px; align-items: center; border-bottom: 1px solid var(--line-light); transition: background .25s ease, padding .25s ease; }
.process-step:hover { background: rgba(255,255,255,.025); padding: 0 14px; }
.process-step > span { color: var(--lime); font-size: 11px; font-weight: 900; }.process-step h3 { margin: 0; font-size: 31px; letter-spacing: -.04em; }.process-step p { margin: 0; color: #969c91; max-width: 600px; }.process-step i { justify-self: end; font-size: 22px; color: var(--lime); font-style: normal; }

/* Tech */
.tech-section { padding: 120px 0; background: var(--lime); }
.tech-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; }.tech-grid h2 { max-width: 700px; margin: 18px 0 0; font-size: clamp(44px, 5vw, 76px); line-height: .96; letter-spacing: -.065em; }.tech-list { border-top: 1px solid rgba(16,18,15,.28); }.tech-list span { min-height: 58px; display: grid; grid-template-columns: 48px 1fr; align-items: center; border-bottom: 1px solid rgba(16,18,15,.28); font-size: 20px; font-weight: 800; letter-spacing: -.02em; }.tech-list small { font-size: 9px; font-weight: 900; opacity: .58; }

/* CTA */
.cta-section { position: relative; overflow: hidden; padding: 150px 0 130px; background: #06101f; color: var(--white); }
.cta-section::after { content: ''; position: absolute; width: 700px; height: 700px; border-radius: 50%; right: -170px; bottom: -400px; border: 110px solid rgba(22,141,255,.08); }
.cta-inner { position: relative; z-index: 2; }.cta-inner .section-kicker { color: var(--lime); }.cta-inner h2 { margin: 25px 0 0; font-size: clamp(64px, 9vw, 142px); line-height: .86; letter-spacing: -.08em; }.cta-inner h2 mark { color: var(--lime); }.cta-actions { margin-top: 60px; display: flex; align-items: center; gap: 28px; }.cta-email { color: #a4aa9f; border-bottom: 1px solid #54594f; padding-bottom: 5px; font-size: 13px; }

/* Footer */
.site-footer { padding: 70px 0 28px; background: #040b15; color: var(--white); border-top: 1px solid #12263e; }
.footer-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; }.footer-brand .brand-name { font-size: 20px; }.footer-copy { max-width: 520px; color: #878d82; line-height: 1.7; margin-top: 24px; }.footer-links { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }.footer-links > div { display: flex; flex-direction: column; gap: 11px; }.footer-label { color: #5f655b; font-size: 10px; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 7px; }.footer-links a { color: #c4c9bf; font-size: 13px; }.footer-links a:hover { color: var(--lime); }.footer-bottom { margin-top: 70px; padding-top: 20px; border-top: 1px solid #0a1a2b; display: flex; justify-content: space-between; color: #5f655b; font-size: 10px; }

/* Interior page intro */
.page-intro { padding: 190px 0 110px; background: var(--ink); color: var(--white); }
.page-intro-grid { display: grid; grid-template-columns: 1.4fr .6fr; gap: 70px; align-items: end; }.page-intro .section-kicker { color: var(--lime); }.page-intro h1 { margin: 22px 0 0; max-width: 1050px; font-size: clamp(64px, 8vw, 128px); line-height: .88; letter-spacing: -.08em; }.page-intro h1 mark { color: var(--lime); }.page-intro-side { padding-bottom: 10px; }.page-intro-side p { margin: 0 0 30px; color: #a0a69b; font-size: 17px; line-height: 1.7; }

/* About */
.about-manifesto { padding: 130px 0; background: #ecece3; }.about-manifesto-grid { display: grid; grid-template-columns: 20% 50% 30%; gap: 36px; align-items: start; }.about-manifesto-grid > span { font-size: 10px; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }.about-manifesto-grid h2 { margin: 0; font-size: clamp(44px, 5vw, 76px); line-height: 1; letter-spacing: -.065em; }.about-manifesto-grid p { margin: 0; color: #676c63; line-height: 1.8; }

/* Contact */
.contact-page { min-height: 100svh; padding: 160px 0 100px; background: var(--ink); color: var(--white); }.contact-page-grid { display: grid; grid-template-columns: .78fr 1.22fr; gap: 70px; align-items: start; }.contact-page-copy { position: sticky; top: 120px; padding-top: 28px; }.contact-page-copy .section-kicker { color: var(--lime); }.contact-page-copy h1 { margin: 22px 0 0; font-size: clamp(58px, 6.6vw, 104px); line-height: .89; letter-spacing: -.075em; }.contact-page-copy h1 mark { color: var(--lime); }.contact-page-copy > p { margin: 28px 0 0; max-width: 520px; color: #9ca297; line-height: 1.75; }.contact-direct { margin-top: 54px; padding-top: 19px; border-top: 1px solid var(--line-light); display: flex; flex-direction: column; gap: 7px; }.contact-direct span { color: #646a60; font-size: 10px; text-transform: uppercase; letter-spacing: .12em; }.contact-direct a { font-weight: 800; }
.contact-card { border-radius: 30px; background: #f4f3ec; color: var(--ink); padding: 34px; }.contact-card-head { display: flex; justify-content: space-between; gap: 20px; align-items: baseline; padding-bottom: 24px; border-bottom: 1px solid var(--line); }.contact-card-head span { font-size: 10px; text-transform: uppercase; letter-spacing: .12em; color: #747a70; font-weight: 900; }.contact-card-head strong { font-size: 22px; letter-spacing: -.035em; }.contact-form { display: grid; gap: 18px; margin-top: 26px; }.form-grid.two { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }.contact-form label { display: grid; gap: 8px; }.contact-form label > span { font-size: 11px; font-weight: 900; }.contact-form label em { color: #8c9188; font-style: normal; font-weight: 600; }.contact-form input, .contact-form select, .contact-form textarea { width: 100%; border: 1px solid #d6d8d1; outline: none; border-radius: 12px; background: #fff; color: var(--ink); padding: 13px 14px; transition: border-color .2s ease, box-shadow .2s ease; }.contact-form input, .contact-form select { min-height: 49px; }.contact-form textarea { resize: vertical; min-height: 150px; }.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { border-color: #168dff; box-shadow: 0 0 0 4px rgba(22,141,255,.22); }.contact-form input::placeholder, .contact-form textarea::placeholder { color: #a1a59d; }.honeypot { position: absolute !important; left: -9999px !important; width: 1px !important; height: 1px !important; opacity: 0 !important; }.form-submit-row { display: flex; align-items: center; gap: 20px; margin-top: 2px; }.form-submit-row p { margin: 0; max-width: 330px; color: #83887f; font-size: 10px; line-height: 1.5; }.form-submit-row button:disabled { opacity: .6; cursor: wait; transform: none; }.form-status { padding: 13px 15px; border-radius: 10px; font-size: 12px; }.form-status.success { background: #e5f7c7; color: #46571e; }.form-status.error { background: #fbe4df; color: #853a2e; }

/* Project detail */
.project-detail-hero { padding: 148px 0 70px; background: #dfe1da; }.detail-web { background: #a9201f; }.detail-mobile { background: #0a1a2b; color: #fff; }.detail-cloud { background: #dce1d4; }
.project-detail-top { display: flex; justify-content: space-between; gap: 20px; align-items: center; border-bottom: 1px solid rgba(16,18,15,.18); padding-bottom: 18px; font-size: 10px; text-transform: uppercase; letter-spacing: .11em; font-weight: 900; }.detail-web .project-detail-top, .detail-mobile .project-detail-top { border-bottom-color: rgba(255,255,255,.22); }.back-link { opacity: .66; }
.project-detail-title { display: grid; grid-template-columns: 1.25fr .75fr; gap: 60px; align-items: end; padding: 54px 0 46px; }.project-detail-title h1 { margin: 0; font-size: clamp(62px, 8vw, 132px); line-height: .85; letter-spacing: -.08em; }.project-detail-title p { margin: 0; max-width: 520px; color: rgba(16,18,15,.65); font-size: 18px; line-height: 1.7; }.detail-web .project-detail-title p, .detail-mobile .project-detail-title p { color: rgba(255,255,255,.7); }
.project-detail-visual { min-height: 680px; border-radius: 32px; background: rgba(255,255,255,.2); padding: 34px; overflow: hidden; }.project-detail-visual > * { min-height: 610px; height: 100%; }
.project-story { padding: 130px 0; background: #f4f3ec; }.project-story-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px 60px; }.story-block > span, .feature-panel > span { display: block; margin-bottom: 18px; color: #7b8077; font-size: 10px; font-weight: 900; text-transform: uppercase; letter-spacing: .12em; }.story-block h2 { margin: 0; font-size: clamp(38px, 4vw, 64px); line-height: 1.03; letter-spacing: -.055em; }.story-block p { margin: 0; color: #62675e; font-size: 19px; line-height: 1.8; }.feature-panel { grid-column: 1 / -1; border-top: 1px solid var(--line); padding-top: 38px; }.feature-panel > div { display: grid; grid-template-columns: 1fr 1fr; gap: 0 40px; }.feature-panel > div > div { min-height: 74px; display: grid; grid-template-columns: 54px 1fr; align-items: center; border-bottom: 1px solid var(--line); }.feature-panel small { color: #8a8f85; font-size: 9px; }.feature-panel strong { font-size: 17px; }
.project-next-step { padding: 100px 0; background: #e8e9df; }.project-next-grid { display: grid; grid-template-columns: 1fr auto; gap: 50px; align-items: end; }.project-next-grid h2 { max-width: 860px; margin: 18px 0 0; font-size: clamp(45px, 5vw, 76px); line-height: .96; letter-spacing: -.065em; }.project-next-actions { display: flex; gap: 10px; flex-wrap: wrap; justify-content: flex-end; }

/* 404 */
.not-found { min-height: 80svh; padding: 180px 0 100px; background: var(--ink); color: var(--white); }.not-found span { color: var(--lime); font-size: 12px; font-weight: 900; }.not-found h1 { margin: 20px 0 0; font-size: clamp(64px, 9vw, 130px); line-height: .9; letter-spacing: -.08em; }.not-found p { color: #92988e; margin: 22px 0 36px; }

@media (max-width: 1180px) {
  .hero-grid { grid-template-columns: .88fr 1.12fr; gap: 28px; }
  .hero h1 { font-size: clamp(58px, 7vw, 94px); }
  .hero-project-stage { min-height: 510px; }
  .project-row { grid-template-columns: 40% 60%; }
  .project-row-visual > * { min-height: 510px; }
  .project-row { min-height: 620px; }
  .project-row-visual { padding: 24px; }
  .project-detail-visual { min-height: 600px; }
  .project-detail-visual > * { min-height: 535px; }
}

@media (max-width: 980px) {
  .shell { width: min(calc(100% - 30px), var(--max)); }
  .desktop-nav { display: none; }
  .header-actions > .button { display: none; }
  .mobile-menu { display: block; }
  .hero { min-height: auto; padding-top: 110px; padding-bottom: 30px; }
  .hero-grid { display: block; min-height: 0; }
  .hero-copy { padding-bottom: 52px; }
  .hero h1 { font-size: clamp(68px, 11.7vw, 112px); max-width: 850px; }
  .hero-description { max-width: 690px; }
  .hero-showcase { margin-top: 6px; }
  .hero-project-stage { min-height: 590px; }
  .section { padding: 92px 0; }
  .split-heading, .page-intro-grid, .tech-grid, .contact-page-grid, .project-detail-title { grid-template-columns: 1fr; gap: 28px; }
  .split-heading > p { max-width: 700px; }
  .project-row { grid-template-columns: 1fr; gap: 34px; min-height: 0; padding: 42px 0; }
  .project-row h3 { margin-top: 34px; max-width: 750px; }
  .project-link { margin-top: 34px; }
  .project-row-visual { min-height: 570px; }
  .statement-grid { grid-template-columns: 1fr; gap: 34px; }
  .services-grid { grid-template-columns: 1fr 1fr; }.service-card.wide, .service-card.compact { grid-column: span 1; }
  .process-step { grid-template-columns: 55px 1fr 1.3fr 25px; gap: 20px; }
  .tech-grid { gap: 50px; }
  .page-intro { padding-top: 150px; }.page-intro-side { max-width: 680px; }
  .about-manifesto-grid { grid-template-columns: 1fr; }.about-manifesto-grid p { max-width: 720px; }
  .contact-page { padding-top: 125px; }.contact-page-copy { position: static; padding-top: 0; }.contact-page-copy h1 { max-width: 850px; }.contact-card { max-width: 860px; }
  .project-detail-title p { max-width: 760px; }.project-story-grid { grid-template-columns: 1fr; }.feature-panel { grid-column: auto; }.project-next-grid { grid-template-columns: 1fr; }.project-next-actions { justify-content: flex-start; }
}

@media (max-width: 720px) {
  .shell { width: min(calc(100% - 24px), var(--max)); }
  .header-inner { min-height: 72px; }
  .brand-name { font-size: 16px; }
  .hero { padding-top: 94px; }
  .eyebrow-row { font-size: 8px; }
  .hero h1 { margin-top: 28px; font-size: clamp(54px, 17vw, 86px); line-height: .88; }
  .hero-description { margin-top: 26px; font-size: 15px; }
  .hero-actions { align-items: flex-start; flex-direction: column; gap: 18px; margin-top: 28px; }
  .hero-proof { margin-top: 34px; }
  .hero-showcase-topline { margin-top: 8px; }
  .hero-project-stage { min-height: 440px; padding: 12px 12px 73px; border-radius: 22px; }
  .hero-project-caption { left: 14px; right: 14px; bottom: 13px; }.hero-project-caption strong { font-size: 17px; }.hero-project-caption a { width: 42px; height: 42px; }
  .hero-project-tabs { overflow-x: auto; grid-template-columns: repeat(3, minmax(140px, 1fr)); scrollbar-width: none; }.hero-project-tabs::-webkit-scrollbar { display: none; }
  .mock-window { min-height: 350px; border-radius: 13px; }.mock-window-bar { height: 29px; flex-basis: 29px; }.mock-main { padding: 12px; }.mock-stat-row { gap: 5px; }.mock-stat-row > div { min-height: 70px; padding: 8px; }.mock-stat-row strong { font-size: 16px; }.mock-grid-2 { height: 170px; gap: 5px; }.mock-chart-card, .mock-list-card { padding: 8px; }.mock-bars { height: 120px; }.mock-sidebar { padding: 13px 8px; }.mock-app-layout { grid-template-columns: 45px 1fr; }.mock-sidebar span { width: 20px; height: 20px; }.pos-layout { grid-template-columns: 1fr 38%; }.pos-products { padding: 12px; }.pos-ticket { padding: 12px 8px; }.pos-product-grid { gap: 4px; }.pos-product { padding: 5px; }.pos-thumb { height: 40px; }.web-hero { height: 250px; padding: 24px 14px; }.web-hero h4 { font-size: 36px; }.web-art { width: 51%; }.analytics-preview { padding: 13px; }.analytics-chart { height: 165px; }.mobile-preview-wrap, .cloud-preview { min-height: 350px; }.mobile-preview-wrap { padding: 18px; }.mobile-copy { width: 49%; }.mobile-copy strong { font-size: 21px; }.phone { width: 136px; height: 276px; }.phone-left { right: 95px; top: 50px; }.phone-right { right: -18px; top: 80px; }.phone-card { padding: 8px; }.phone-card b { font-size: 16px; }.phone-ring { width: 67px; height: 67px; border-width: 10px; }.cloud-title strong { font-size: 22px; }.node { width: 58px; height: 58px; }.node.n2 { width: 66px; height: 66px; }
  .ticker span { height: 39px; }
  .section { padding: 76px 0; }
  .section-heading { margin-bottom: 42px; }
  .split-heading h2 { font-size: clamp(43px, 13vw, 70px); }
  .split-heading > p { font-size: 15px; }
  .project-row { padding: 34px 0; }.project-row h3 { font-size: clamp(38px, 12vw, 58px); }.project-row-visual { min-height: 390px; padding: 12px; border-radius: 20px; }.project-row-visual > * { min-height: 365px; }
  .statement-section { padding: 78px 0; }.statement-copy p { font-size: clamp(34px, 10.5vw, 55px); }
  .services-grid { grid-template-columns: 1fr; }.service-card { min-height: 330px; padding: 24px; }.service-card h3 { font-size: 43px; }.services-bottom { align-items: flex-start; flex-direction: column; }
  .process-step { grid-template-columns: 42px 1fr 24px; gap: 14px; padding: 24px 0; }.process-step > p { grid-column: 2 / -1; }.process-step h3 { font-size: 26px; }.process-step:hover { padding: 24px 0; }
  .tech-section { padding: 82px 0; }.tech-grid h2 { font-size: 46px; }.tech-list span { font-size: 17px; }
  .cta-section { padding: 100px 0 90px; }.cta-inner h2 { font-size: clamp(60px, 17vw, 92px); }.cta-actions { flex-direction: column; align-items: flex-start; gap: 22px; margin-top: 42px; }
  .footer-grid { grid-template-columns: 1fr; }.footer-links { grid-template-columns: 1fr; }.footer-bottom { flex-direction: column; gap: 6px; }
  .page-intro { padding: 130px 0 78px; }.page-intro h1 { font-size: clamp(58px, 16vw, 88px); }.page-intro-side p { font-size: 15px; }
  .about-manifesto { padding: 80px 0; }.about-manifesto-grid h2 { font-size: 46px; }
  .contact-page { padding: 112px 0 70px; }.contact-page-copy h1 { font-size: clamp(58px, 16vw, 88px); }.contact-card { border-radius: 22px; padding: 20px; }.contact-card-head { flex-direction: column; }.form-grid.two { grid-template-columns: 1fr; }.form-submit-row { align-items: flex-start; flex-direction: column; }
  .project-detail-hero { padding-top: 118px; }.project-detail-top { align-items: flex-start; flex-direction: column; }.project-detail-title { padding: 40px 0 30px; }.project-detail-title h1 { font-size: clamp(58px, 15vw, 90px); }.project-detail-title p { font-size: 15px; }.project-detail-visual { min-height: 410px; padding: 12px; border-radius: 22px; }.project-detail-visual > * { min-height: 382px; }.project-story { padding: 82px 0; }.project-story-grid { gap: 58px; }.story-block h2 { font-size: 40px; }.story-block p { font-size: 16px; }.feature-panel > div { grid-template-columns: 1fr; }.project-next-step { padding: 76px 0; }.project-next-grid h2 { font-size: 45px; }
}


/* =====================================================================
   RexCoreSolutions 2.1 — Brand layer
   Reutiliza la identidad azul y las imágenes del sitio anterior.
   ===================================================================== */

body {
  background:
    radial-gradient(circle at 15% 0%, rgba(57,186,255,.07), transparent 30%),
    var(--paper);
}

::selection {
  background: var(--brand-cyan);
  color: #03101f;
}

.button-lime {
  background: linear-gradient(135deg, var(--brand-cyan), var(--brand-blue));
  color: #fff;
  box-shadow: 0 12px 32px rgba(22,141,255,.22);
}
.button-lime:hover {
  background: linear-gradient(135deg, #60c8ff, #2b99ff);
}

.brand {
  gap: 12px;
}
.brand-mark-image {
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
  display: grid;
  place-items: center;
  box-shadow: 0 8px 24px rgba(0,0,0,.14);
}
.brand-mark-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.brand-name span {
  color: var(--brand-cyan);
}

.hero {
  background:
    radial-gradient(circle at 76% 12%, rgba(22,141,255,.22), transparent 28%),
    radial-gradient(circle at 55% 75%, rgba(57,186,255,.09), transparent 32%),
    linear-gradient(135deg, #050d19 0%, #071426 45%, #0b223b 100%);
}
.hero::before {
  background: radial-gradient(circle, rgba(57,186,255,.20), transparent 66%);
}
.hero::after {
  background-image:
    linear-gradient(rgba(111,188,255,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(111,188,255,.035) 1px, transparent 1px);
}
.pill-word {
  background: linear-gradient(135deg, #56c7ff, #168dff);
  color: #fff;
  box-shadow: 0 13px 42px rgba(22,141,255,.22);
}
.hero-proof span,
.light-heading .section-kicker,
.process-step > span,
.process-step i,
.cta-inner .section-kicker,
.cta-inner h2 mark,
.page-intro .section-kicker,
.page-intro h1 mark,
.contact-page-copy .section-kicker,
.contact-page-copy h1 mark,
.not-found span {
  color: var(--brand-cyan);
}

.hero-project-stage {
  min-height: 560px;
  background:
    radial-gradient(circle at 80% 5%, rgba(90,201,255,.34), transparent 28%),
    linear-gradient(145deg, #12365b, #09182a 72%);
  color: #fff;
  padding: 20px 20px 88px;
  border: 1px solid rgba(115,198,255,.18);
}
.hero-project-stage::before {
  background:
    linear-gradient(135deg, rgba(255,255,255,.09), transparent 38%),
    radial-gradient(circle at 12% 90%, rgba(22,141,255,.20), transparent 30%);
}
.hero-real-project {
  height: 100%;
  min-height: 448px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: 20px;
  background: #f7fbff;
  border: 1px solid rgba(255,255,255,.18);
  box-shadow: 0 28px 80px rgba(0,0,0,.33);
}
.project-browser-bar {
  height: 38px;
  flex: 0 0 38px;
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 0 13px;
  border-bottom: 1px solid rgba(7,20,38,.09);
  background: rgba(247,251,255,.96);
  color: #64788b;
}
.project-browser-bar > span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #d8e4ef;
}
.project-browser-bar > span:first-child { background: #ff7d78; }
.project-browser-bar > span:nth-child(2) { background: #ffca65; }
.project-browser-bar > span:nth-child(3) { background: #59d58c; }
.project-browser-bar small {
  margin-left: 8px;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  font-size: 9px;
  letter-spacing: .04em;
}
.hero-real-image,
.project-row-image,
.project-detail-image {
  position: relative;
  min-height: 0;
  flex: 1;
  overflow: hidden;
  background: #edf4fa;
}
.hero-real-image img,
.project-row-image img,
.project-detail-image img {
  object-fit: cover;
  object-position: center top;
  transition: transform .7s cubic-bezier(.22,1,.36,1);
}
.hero-real-project:hover .hero-real-image img {
  transform: scale(1.025);
}
.hero-project-caption span {
  color: rgba(255,255,255,.56);
}
.hero-project-caption a {
  background: linear-gradient(135deg, var(--brand-cyan), var(--brand-blue));
  color: #fff;
  box-shadow: 0 10px 30px rgba(22,141,255,.25);
}
.hero-project-tabs button i::after {
  background: linear-gradient(90deg, var(--brand-cyan), var(--brand-blue));
}
.hero-project-tabs button.active {
  background: rgba(22,141,255,.13);
  box-shadow: inset 0 0 0 1px rgba(91,190,255,.10);
}

.ticker {
  background: linear-gradient(90deg, #0e75e8, #31b5ff, #168dff);
  color: #fff;
  border-color: rgba(255,255,255,.18);
}

.projects-section {
  background:
    radial-gradient(circle at 90% 8%, rgba(22,141,255,.07), transparent 24%),
    var(--paper);
}
.project-row-visual.project-image-card {
  min-height: 560px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  background:
    radial-gradient(circle at 85% 10%, rgba(77,190,255,.28), transparent 30%),
    linear-gradient(145deg, #0a1b30, #123a61);
  border: 1px solid rgba(13,82,139,.18);
  box-shadow: 0 28px 65px rgba(9,35,59,.14);
}
.project-row-visual.project-image-card > * {
  min-height: 0;
}
.project-row-visual.project-image-card .project-browser-bar {
  border-radius: 15px 15px 0 0;
}
.project-row-image {
  border-radius: 0 0 15px 15px;
}
.project-row-visual:hover .project-row-image img {
  transform: scale(1.025);
}
.project-row-visual:hover {
  transform: translateY(-5px);
}
.project-link {
  border-bottom-color: var(--brand-blue);
}
.tag-list span {
  border-color: rgba(22,141,255,.18);
  background: rgba(22,141,255,.045);
  color: #35536e;
}

.statement-section {
  background:
    radial-gradient(circle at 15% 50%, rgba(57,186,255,.11), transparent 26%),
    #e9f2fa;
}
.statement-copy p { color: #6a7d8e; }
.statement-copy strong { color: #071426; }

.services-section {
  background: #f7faff;
}
.service-card {
  background: #eaf2f9;
  border: 1px solid rgba(7,20,38,.06);
}
.service-card.dark {
  background: linear-gradient(145deg, #071426, #0d2c4c);
}
.service-card.lime {
  background: linear-gradient(135deg, #63caff, #168dff);
  color: #fff;
}
.service-card.lime p { color: rgba(255,255,255,.82); }
.service-card.dark p { color: #a9bdd0; }

.process-section {
  background:
    radial-gradient(circle at 80% 12%, rgba(22,141,255,.18), transparent 28%),
    #06101f;
}
.process-step:hover {
  background: rgba(22,141,255,.055);
}

.tech-section {
  background:
    linear-gradient(135deg, #44c1ff 0%, #168dff 48%, #0b69d1 100%);
  color: #fff;
}
.tech-list {
  border-top-color: rgba(255,255,255,.28);
}
.tech-list span {
  border-bottom-color: rgba(255,255,255,.28);
}
.tech-section .section-kicker::before {
  background: #fff;
}

.cta-section {
  background:
    radial-gradient(circle at 80% 12%, rgba(22,141,255,.20), transparent 28%),
    #050d18;
}
.cta-section::after {
  border-color: rgba(57,186,255,.07);
}

.site-footer {
  background: #030913;
  border-top-color: #10243a;
}
.footer-links a:hover {
  color: var(--brand-cyan);
}
.footer-mark {
  box-shadow: none;
}

.page-intro,
.contact-page,
.not-found {
  background:
    radial-gradient(circle at 80% 10%, rgba(22,141,255,.16), transparent 25%),
    #06101f;
}

.contact-card {
  background: #f3f8fd;
}
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--brand-blue);
  box-shadow: 0 0 0 4px rgba(22,141,255,.14);
}

/* Detalle de proyecto con identidad consistente, sin cambiar de paleta por proyecto */
.project-detail-hero,
.detail-web,
.detail-mobile,
.detail-cloud {
  background:
    radial-gradient(circle at 85% 12%, rgba(57,186,255,.18), transparent 26%),
    #e9f3fb;
  color: var(--ink);
}
.project-detail-top,
.detail-web .project-detail-top,
.detail-mobile .project-detail-top {
  border-bottom-color: rgba(7,20,38,.14);
}
.project-detail-title p,
.detail-web .project-detail-title p,
.detail-mobile .project-detail-title p {
  color: rgba(7,20,38,.64);
}
.project-detail-visual.real-project-detail {
  min-height: 660px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  background:
    radial-gradient(circle at 88% 9%, rgba(72,191,255,.30), transparent 30%),
    linear-gradient(145deg, #0a1a2d, #123a62);
}
.real-project-detail .project-browser-bar {
  border-radius: 16px 16px 0 0;
}
.project-detail-image {
  min-height: 585px;
  border-radius: 0 0 16px 16px;
}
.project-gallery {
  margin-top: 18px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.project-gallery-item {
  position: relative;
  min-height: 260px;
  overflow: hidden;
  border-radius: 20px;
  border: 1px solid rgba(7,20,38,.10);
  background: #fff;
  box-shadow: 0 16px 45px rgba(7,36,65,.10);
}
.project-gallery-item img {
  object-fit: cover;
  object-position: center top;
}
.mobile-gallery {
  grid-template-columns: repeat(2, minmax(0, 330px));
  justify-content: center;
}
.mobile-gallery .project-gallery-item {
  min-height: 620px;
}
.mobile-gallery .project-gallery-item img {
  object-fit: contain;
  background: #f5f9fc;
}

.project-story {
  background: #f6f9fc;
}
.project-next-step {
  background: #e8f2fa;
}

@media (max-width: 1180px) {
  .project-row-visual.project-image-card { min-height: 510px; }
  .project-detail-visual.real-project-detail { min-height: 590px; }
  .project-detail-image { min-height: 515px; }
}

@media (max-width: 980px) {
  .hero-project-stage { min-height: 590px; }
  .hero-real-project { min-height: 475px; }
  .project-row-visual.project-image-card { min-height: 560px; }
  .project-gallery { grid-template-columns: 1fr; }
  .mobile-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .brand-mark-image {
    width: 36px;
    height: 36px;
    flex-basis: 36px;
  }
  .hero-project-stage {
    min-height: 405px;
    padding: 10px 10px 72px;
  }
  .hero-real-project {
    min-height: 310px;
    border-radius: 14px;
  }
  .project-browser-bar {
    height: 31px;
    flex-basis: 31px;
    padding: 0 9px;
  }
  .project-browser-bar small { font-size: 7px; }
  .project-row-visual.project-image-card {
    min-height: 330px;
    padding: 9px;
    border-radius: 19px;
  }
  .project-row-image {
    min-height: 270px;
  }
  .project-detail-visual.real-project-detail {
    min-height: 360px;
    padding: 9px;
    border-radius: 20px;
  }
  .project-detail-image {
    min-height: 300px;
  }
  .project-gallery {
    grid-template-columns: 1fr;
  }
  .mobile-gallery {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }
  .mobile-gallery .project-gallery-item {
    min-height: 410px;
  }
  .project-gallery-item {
    min-height: 230px;
    border-radius: 14px;
  }
}

/* =====================================================================
   RexCoreSolutions 2.2 — Showcase real de proyectos
   Hero image-first + galerías completas de Gym y POS.
   ===================================================================== */

.site-header {
  position: fixed;
  z-index: 100;
  background: rgba(3, 12, 24, .82);
  border-bottom: 1px solid rgba(112, 190, 255, .10);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}
.desktop-nav {
  gap: 27px;
}
.desktop-nav a:first-child {
  color: #fff;
}

.hero-v2 {
  min-height: 920px;
  padding: 112px 0 54px;
  background:
    radial-gradient(circle at 82% 15%, rgba(35,151,255,.24), transparent 25%),
    radial-gradient(circle at 52% 72%, rgba(28,115,221,.11), transparent 29%),
    linear-gradient(135deg, #030a14 0%, #061324 43%, #082343 100%);
}
.hero-v2::before {
  width: 900px;
  height: 900px;
  right: -260px;
  top: -340px;
  background: radial-gradient(circle, rgba(56,178,255,.20), transparent 67%);
}
.hero-v2::after {
  background-image:
    linear-gradient(rgba(117,192,255,.033) 1px, transparent 1px),
    linear-gradient(90deg, rgba(117,192,255,.033) 1px, transparent 1px);
  background-size: 52px 52px;
  mask-image: linear-gradient(to bottom, black 0 82%, transparent);
}
.hero-grid-v2 {
  min-height: 750px;
  grid-template-columns: minmax(0, .86fr) minmax(610px, 1.14fr);
  gap: 56px;
  align-items: center;
}
.hero-copy-v2 {
  padding-top: 18px;
}
.hero-copy-v2 .eyebrow-row {
  max-width: 610px;
}
.hero-copy-v2 h1 {
  max-width: 760px;
  margin-top: 34px;
  font-size: clamp(62px, 6.1vw, 108px);
  line-height: .91;
  letter-spacing: -.068em;
}
.hero-accent {
  display: inline-block;
  color: #3ea8ff;
  background: linear-gradient(90deg, #56c5ff 0%, #278cff 58%, #2478ee 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero-copy-v2 .hero-description {
  max-width: 625px;
  margin-top: 30px;
  color: rgba(232,243,255,.70);
  font-size: clamp(16px, 1.15vw, 19px);
}
.hero-capabilities {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 11px 14px;
  max-width: 640px;
  margin-top: 28px;
}
.hero-capabilities span {
  display: flex;
  align-items: center;
  gap: 9px;
  min-width: 0;
  color: rgba(235,245,255,.75);
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}
.hero-capabilities i {
  width: 23px;
  height: 23px;
  flex: 0 0 23px;
  border: 1px solid rgba(62,168,255,.25);
  border-radius: 7px;
  background:
    radial-gradient(circle at center, #39baff 0 2px, transparent 2.5px),
    rgba(22,141,255,.10);
  box-shadow: inset 0 0 18px rgba(36,146,255,.08);
}
.hero-copy-v2 .hero-actions {
  margin-top: 32px;
  gap: 13px;
}
.hero-secondary-button {
  color: rgba(255,255,255,.86);
  border-color: rgba(255,255,255,.22);
  background: rgba(255,255,255,.025);
}
.hero-secondary-button:hover {
  border-color: rgba(86,197,255,.42);
  background: rgba(40,142,237,.08);
}
.hero-proof-v2 {
  margin-top: 35px;
  max-width: 610px;
}
.hero-proof-v2 span {
  color: #45b7ff;
}

/* Hero collage: imágenes completas, sin recortes */
.hero-showcase-v2 {
  justify-content: center;
  min-height: 700px;
  padding-top: 12px;
}
.hero-collage-stage {
  position: relative;
  min-height: 655px;
  border-radius: 32px;
  isolation: isolate;
}
.hero-collage-stage::before {
  content: '';
  position: absolute;
  inset: 46px 16px 55px 84px;
  z-index: -2;
  border: 1px solid rgba(73,175,255,.16);
  border-radius: 30px;
  background:
    radial-gradient(circle at 78% 9%, rgba(56,180,255,.17), transparent 31%),
    linear-gradient(145deg, rgba(18,58,96,.60), rgba(5,17,31,.20));
  box-shadow: inset 0 0 80px rgba(39,144,241,.035);
}
.hero-collage-stage::after {
  content: '';
  position: absolute;
  width: 420px;
  height: 420px;
  right: -70px;
  top: 10px;
  z-index: -3;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(30,139,242,.18), transparent 68%);
  filter: blur(6px);
}
.hero-screen {
  position: absolute;
  display: block;
  padding: 9px;
  overflow: visible;
  border: 1px solid rgba(129,201,255,.25);
  border-radius: 22px;
  background: rgba(7,19,34,.82);
  box-shadow: 0 34px 80px rgba(0,0,0,.48), 0 0 0 1px rgba(0,0,0,.28);
  transition: transform .45s cubic-bezier(.22,1,.36,1), border-color .3s ease;
  backdrop-filter: blur(12px);
}
.hero-screen:hover {
  border-color: rgba(96,195,255,.48);
}
.hero-screen img {
  width: 100%;
  height: auto;
  border-radius: 14px;
  background: #f5f8fb;
}
.hero-screen-gym {
  width: 91%;
  right: 0;
  top: 42px;
  z-index: 2;
  transform: rotate(-1.2deg);
}
.hero-screen-gym:hover {
  transform: rotate(-.4deg) translateY(-4px);
}
.hero-screen-pos {
  width: 76%;
  right: 14px;
  bottom: 28px;
  z-index: 4;
  transform: rotate(.8deg);
}
.hero-screen-pos:hover {
  transform: rotate(.2deg) translateY(-4px);
}
.screen-label {
  position: absolute;
  left: -20px;
  top: -24px;
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 38px;
  padding: 0 13px;
  border: 1px solid rgba(76,179,255,.26);
  border-radius: 11px;
  background: rgba(4,16,30,.94);
  color: #f6fbff;
  box-shadow: 0 12px 32px rgba(0,0,0,.28);
}
.screen-label span {
  color: #4eb9ff;
  font-size: 9px;
  font-weight: 900;
}
.screen-label strong {
  font-size: 11px;
  letter-spacing: -.01em;
}
.orange-label {
  left: auto;
  right: -15px;
  border-color: rgba(255,133,48,.32);
}
.orange-label span {
  color: #ff8530;
}
.hero-floating-note {
  position: absolute;
  left: 0;
  bottom: 78px;
  z-index: 6;
  width: 190px;
  padding: 17px;
  border: 1px solid rgba(80,181,255,.20);
  border-radius: 18px;
  background: rgba(5,18,34,.93);
  color: #fff;
  box-shadow: 0 25px 50px rgba(0,0,0,.35);
  backdrop-filter: blur(14px);
}
.hero-floating-note > span {
  display: block;
  color: #43b7ff;
  font-size: 8px;
  font-weight: 900;
  letter-spacing: .14em;
}
.hero-floating-note strong {
  display: block;
  margin-top: 7px;
  max-width: 132px;
  font-size: 17px;
  line-height: 1.08;
  letter-spacing: -.035em;
}
.hero-floating-note a {
  position: absolute;
  right: 13px;
  bottom: 13px;
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: linear-gradient(135deg, #45bfff, #167bea);
}

/* Ticker */
.ticker {
  position: relative;
  z-index: 6;
  background: linear-gradient(90deg, #087ee6 0%, #35b9ff 48%, #167ee7 100%);
  border-top: 1px solid rgba(255,255,255,.12);
  border-bottom: 1px solid rgba(255,255,255,.12);
  color: #fff;
}
.ticker span b {
  color: rgba(255,255,255,.82);
}

/* Proyectos destacados */
.featured-systems {
  padding: 105px 0 112px;
  color: #fff;
  background:
    radial-gradient(circle at 85% 5%, rgba(30,139,242,.16), transparent 24%),
    linear-gradient(180deg, #061426 0%, #07192d 55%, #061426 100%);
}
.featured-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(300px, .58fr);
  gap: 70px;
  align-items: end;
  margin-bottom: 52px;
}
.featured-heading .section-kicker {
  color: #44b9ff;
}
.featured-heading h2 {
  max-width: 920px;
  margin: 16px 0 0;
  font-size: clamp(48px, 5.4vw, 86px);
  line-height: .96;
  letter-spacing: -.06em;
}
.featured-heading > p {
  margin: 0 0 6px;
  color: rgba(229,241,252,.61);
  line-height: 1.75;
}
.featured-system-list {
  display: grid;
  gap: 28px;
}
.featured-system {
  display: grid;
  grid-template-columns: minmax(255px, .30fr) minmax(0, .70fr);
  gap: 30px;
  padding: 22px;
  overflow: hidden;
  border: 1px solid rgba(89,179,252,.15);
  border-radius: 31px;
  background:
    radial-gradient(circle at 80% 0%, rgba(36,145,240,.09), transparent 25%),
    rgba(9,29,51,.78);
  box-shadow: 0 32px 90px rgba(0,0,0,.19);
}
.featured-system-orange {
  border-color: rgba(255,130,46,.18);
  background:
    radial-gradient(circle at 15% 100%, rgba(255,113,23,.08), transparent 25%),
    radial-gradient(circle at 80% 0%, rgba(36,145,240,.06), transparent 25%),
    rgba(9,29,51,.78);
}
.featured-system-copy {
  display: flex;
  flex-direction: column;
  padding: 28px 16px 24px 20px;
}
.featured-system-index {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(255,255,255,.10);
  color: rgba(229,241,252,.47);
  font-size: 9px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .13em;
}
.featured-system-index span:first-child {
  color: #42b6ff;
}
.featured-system-orange .featured-system-index span:first-child {
  color: #ff801f;
}
.featured-system h3 {
  margin: 33px 0 0;
  font-size: clamp(41px, 4.2vw, 68px);
  line-height: .94;
  letter-spacing: -.062em;
}
.featured-system-copy > p {
  margin: 23px 0 0;
  color: rgba(228,240,250,.64);
  line-height: 1.7;
}
.featured-system ul {
  display: grid;
  gap: 10px;
  margin: 30px 0 0;
  padding: 0;
  list-style: none;
}
.featured-system li {
  display: flex;
  align-items: center;
  gap: 9px;
  color: rgba(239,247,254,.80);
  font-size: 12px;
  font-weight: 700;
}
.featured-system li i {
  width: 19px;
  height: 19px;
  flex: 0 0 19px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(35,148,244,.16);
  color: #49baff;
  font-size: 10px;
  font-style: normal;
}
.featured-system-orange li i {
  background: rgba(255,122,31,.15);
  color: #ff842f;
}
.featured-system-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  width: max-content;
  margin-top: auto;
  padding-top: 34px;
  color: #4dbbff;
  font-size: 13px;
  font-weight: 900;
  border-bottom: 1px solid rgba(73,186,255,.35);
}
.featured-system-orange .featured-system-link {
  color: #ff842f;
  border-bottom-color: rgba(255,132,47,.36);
}
.featured-system-gallery {
  min-width: 0;
  padding: 2px;
}
.system-shot {
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(127,192,243,.14);
  border-radius: 16px;
  background: #f6f9fc;
  box-shadow: 0 18px 42px rgba(0,0,0,.20);
}
.system-shot-main {
  border-radius: 20px;
  box-shadow: 0 24px 62px rgba(0,0,0,.28);
}
.system-shot-bar {
  height: 31px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 0 11px;
  border-bottom: 1px solid rgba(10,36,61,.08);
  background: #f7f9fc;
  color: #657b90;
}
.system-shot-bar > div {
  display: flex;
  gap: 5px;
}
.system-shot-bar i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #d7e1e9;
}
.system-shot-bar i:first-child { background: #ff766d; }
.system-shot-bar i:nth-child(2) { background: #ffc968; }
.system-shot-bar i:nth-child(3) { background: #5dd391; }
.system-shot-bar span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 8px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .09em;
}
.system-shot-image {
  padding: 7px;
  background: #edf3f8;
}
.system-shot-image img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
  background: #fff;
}
.system-shot-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 12px;
}
.featured-system-orange .system-shot {
  border-color: rgba(255,140,56,.13);
}
.featured-more {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  margin-top: 42px;
  padding-top: 30px;
  border-top: 1px solid rgba(255,255,255,.11);
}
.featured-more p {
  max-width: 690px;
  margin: 0;
  color: rgba(228,240,250,.58);
}
.featured-more-button {
  color: #fff;
  border-color: rgba(74,182,255,.26);
  background: rgba(23,120,205,.12);
}
.featured-more-button:hover {
  border-color: rgba(74,182,255,.48);
  background: rgba(23,120,205,.22);
}

/* Servicios: tarjetas ligeras como continuación del showcase */
.services-section-v2 {
  background:
    radial-gradient(circle at 50% 0%, rgba(22,141,255,.06), transparent 25%),
    #f7f9fc;
}
.services-heading-v2 h2 {
  max-width: 840px;
}
.services-grid-v2 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.service-card-v2 {
  grid-column: auto !important;
  min-height: 310px;
  padding: 27px;
  border: 1px solid rgba(16,47,76,.09);
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 14px 35px rgba(28,57,84,.045);
}
.service-card-v2:nth-child(4) {
  background: linear-gradient(145deg, #071426, #0d2d4e);
  color: #fff;
}
.service-card-v2:nth-child(4) p,
.service-card-v2:nth-child(4) small {
  color: rgba(229,241,252,.62);
}
.service-card-v2:nth-child(6) {
  background: linear-gradient(145deg, #e7f4ff, #f9fcff);
}
.service-card-v2-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.service-card-v2-top span {
  color: #168dff;
  font-size: 10px;
  font-weight: 900;
}
.service-card-v2-top i {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background:
    radial-gradient(circle at 50% 50%, #168dff 0 3px, transparent 3.5px),
    #edf6ff;
  border: 1px solid rgba(22,141,255,.12);
}
.service-card-v2:nth-child(4) .service-card-v2-top i {
  background:
    radial-gradient(circle at 50% 50%, #55c5ff 0 3px, transparent 3.5px),
    rgba(84,191,255,.08);
  border-color: rgba(84,191,255,.14);
}
.service-card-v2 h3 {
  margin-top: 50px;
  font-size: clamp(30px, 2.7vw, 45px);
}
.service-card-v2 p {
  margin-top: 14px;
  color: #667b8d;
  line-height: 1.68;
}
.service-card-v2 small {
  color: #7890a3;
}

/* Mostrar las capturas completas también dentro de las páginas de proyecto */
.project-row-image img,
.project-detail-image img,
.project-gallery-item img {
  object-fit: contain !important;
  object-position: center center !important;
  background: #f2f6fa;
}
.project-row-image,
.project-detail-image,
.project-gallery-item {
  background: #f2f6fa;
}

@media (max-width: 1240px) {
  .hero-grid-v2 {
    grid-template-columns: minmax(0, .78fr) minmax(560px, 1.22fr);
    gap: 34px;
  }
  .hero-copy-v2 h1 {
    font-size: clamp(58px, 6.2vw, 86px);
  }
  .hero-capabilities {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .hero-collage-stage {
    min-height: 610px;
  }
  .featured-system {
    grid-template-columns: minmax(240px, .31fr) minmax(0, .69fr);
  }
}

@media (max-width: 980px) {
  .hero-v2 {
    min-height: auto;
    padding-bottom: 52px;
  }
  .hero-grid-v2 {
    display: block;
    min-height: 0;
  }
  .hero-copy-v2 {
    max-width: 800px;
    padding-bottom: 24px;
  }
  .hero-copy-v2 h1 {
    max-width: 820px;
    font-size: clamp(64px, 10.8vw, 105px);
  }
  .hero-showcase-v2 {
    min-height: 650px;
    margin-top: 12px;
  }
  .hero-collage-stage {
    min-height: 620px;
  }
  .hero-screen-gym {
    width: 89%;
  }
  .hero-screen-pos {
    width: 72%;
  }
  .featured-heading {
    grid-template-columns: 1fr;
    gap: 22px;
  }
  .featured-heading > p {
    max-width: 720px;
  }
  .featured-system {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .featured-system-copy {
    padding: 18px 14px 6px;
  }
  .featured-system h3 {
    max-width: 720px;
    font-size: clamp(48px, 8vw, 76px);
  }
  .featured-system-copy > p {
    max-width: 720px;
  }
  .featured-system-link {
    margin-top: 0;
    padding-top: 27px;
    padding-bottom: 14px;
  }
  .services-grid-v2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .hero-v2 {
    padding-top: 91px;
    padding-bottom: 37px;
  }
  .hero-copy-v2 h1 {
    font-size: clamp(48px, 15.2vw, 76px);
    line-height: .92;
  }
  .hero-copy-v2 .hero-description {
    font-size: 15px;
  }
  .hero-capabilities {
    grid-template-columns: 1fr 1fr;
    gap: 9px;
  }
  .hero-capabilities span {
    font-size: 10px;
    white-space: normal;
  }
  .hero-capabilities i {
    width: 20px;
    height: 20px;
    flex-basis: 20px;
  }
  .hero-copy-v2 .hero-actions {
    flex-direction: row;
    flex-wrap: wrap;
  }
  .hero-copy-v2 .hero-actions .button {
    min-height: 48px;
  }
  .hero-showcase-v2 {
    min-height: 438px;
    margin-top: 2px;
    padding-top: 4px;
  }
  .hero-showcase-v2 .hero-showcase-topline {
    margin: 0 0 8px;
  }
  .hero-collage-stage {
    min-height: 402px;
  }
  .hero-collage-stage::before {
    inset: 38px 0 45px 28px;
    border-radius: 20px;
  }
  .hero-screen {
    padding: 5px;
    border-radius: 13px;
  }
  .hero-screen img {
    border-radius: 9px;
  }
  .hero-screen-gym {
    width: 95%;
    right: -2px;
    top: 38px;
  }
  .hero-screen-pos {
    width: 76%;
    right: 0;
    bottom: 28px;
  }
  .screen-label {
    left: -8px;
    top: -20px;
    min-height: 31px;
    padding: 0 8px;
  }
  .screen-label strong {
    font-size: 8px;
  }
  .orange-label {
    left: auto;
    right: -4px;
  }
  .hero-floating-note {
    left: 2px;
    bottom: 53px;
    width: 124px;
    padding: 11px;
    border-radius: 12px;
  }
  .hero-floating-note > span {
    font-size: 6px;
  }
  .hero-floating-note strong {
    max-width: 90px;
    font-size: 12px;
  }
  .hero-floating-note a {
    width: 26px;
    height: 26px;
    right: 8px;
    bottom: 8px;
  }
  .featured-systems {
    padding: 72px 0 80px;
  }
  .featured-heading {
    margin-bottom: 34px;
  }
  .featured-heading h2 {
    font-size: clamp(43px, 12.2vw, 66px);
  }
  .featured-system {
    padding: 10px;
    border-radius: 22px;
  }
  .featured-system-copy {
    padding: 18px 12px 5px;
  }
  .featured-system h3 {
    margin-top: 25px;
    font-size: clamp(39px, 11.8vw, 58px);
  }
  .featured-system-copy > p {
    font-size: 14px;
  }
  .featured-system ul {
    margin-top: 22px;
  }
  .featured-system li {
    font-size: 11px;
  }
  .system-shot {
    border-radius: 12px;
  }
  .system-shot-main {
    border-radius: 14px;
  }
  .system-shot-bar {
    height: 26px;
    padding: 0 8px;
  }
  .system-shot-bar span {
    font-size: 6px;
  }
  .system-shot-image {
    padding: 4px;
  }
  .system-shot-image img {
    border-radius: 7px;
  }
  .system-shot-grid {
    grid-template-columns: 1fr;
    gap: 9px;
    margin-top: 9px;
  }
  .featured-more {
    align-items: flex-start;
    flex-direction: column;
  }
  .services-grid-v2 {
    grid-template-columns: 1fr;
  }
  .service-card-v2 {
    min-height: 280px;
  }
  .service-card-v2 h3 {
    font-size: 38px;
  }
}

/* =====================================================================
   RexCoreSolutions 2.3 — orientación, detalle sin espacios y mobile real
   ===================================================================== */

/* Navegación: marcar de forma clara en qué sección está el usuario. */
.desktop-nav .nav-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 36px;
  padding: 0 11px;
  border: 1px solid transparent;
  border-radius: 999px;
  color: rgba(232, 243, 255, .66);
  transition: color .2s ease, background-color .2s ease, border-color .2s ease;
}
.desktop-nav .nav-link:first-child {
  color: rgba(232, 243, 255, .66);
}
.desktop-nav .nav-link:hover {
  color: #fff;
  background: rgba(255,255,255,.035);
}
.desktop-nav .nav-link.active,
.desktop-nav .nav-link:first-child.active {
  color: #fff;
  border-color: rgba(78, 185, 255, .18);
  background: rgba(27, 132, 225, .10);
  box-shadow: inset 0 0 0 1px rgba(39, 147, 241, .025);
}
.desktop-nav .nav-link.active i {
  width: 6px;
  height: 6px;
  flex: 0 0 6px;
  border-radius: 50%;
  background: #48bbff;
  box-shadow: 0 0 14px rgba(72,187,255,.72);
}
.header-cta-active {
  box-shadow: 0 0 0 2px rgba(89, 193, 255, .20), 0 12px 34px rgba(22,141,255,.22);
}
.mobile-menu-current {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: -2px -2px 8px;
  padding: 11px 12px;
  border-radius: 12px;
  background: #e8f4ff;
  color: #173551;
}
.mobile-menu-current span {
  color: #72879a;
  font-size: 9px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .12em;
}
.mobile-menu-current strong {
  color: #0a70d0;
  font-size: 12px;
}
.mobile-menu-panel a.active {
  color: #0c72d3;
  background: rgba(22,141,255,.06);
}
.mobile-menu-panel a.active > span {
  color: #168dff;
  font-size: 9px;
}

/* Hero: la idea "diseñados para operar" ya no flota encima de las imágenes. */
.hero-showcase-v2 {
  min-height: 790px;
}
.hero-collage-stage {
  min-height: 625px;
}
.hero-showcase-summary {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 26px;
  align-items: center;
  margin-top: 28px;
  padding: 20px 21px;
  border: 1px solid rgba(78, 181, 255, .15);
  border-radius: 19px;
  background:
    linear-gradient(135deg, rgba(16, 52, 87, .52), rgba(5, 19, 35, .70));
  box-shadow: 0 22px 60px rgba(0,0,0,.18);
  backdrop-filter: blur(12px);
}
.hero-showcase-summary > div > span {
  display: block;
  color: #43b7ff;
  font-size: 8px;
  font-weight: 900;
  letter-spacing: .14em;
}
.hero-showcase-summary strong {
  display: block;
  margin-top: 7px;
  color: #fff;
  font-size: clamp(18px, 1.45vw, 23px);
  line-height: 1.05;
  letter-spacing: -.035em;
}
.hero-showcase-summary p {
  max-width: 510px;
  margin: 7px 0 0;
  color: rgba(229,241,252,.56);
  font-size: 11px;
  line-height: 1.55;
}
.hero-showcase-summary > a {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: #eaf7ff;
  font-size: 11px;
  font-weight: 900;
  white-space: nowrap;
}
.hero-showcase-summary > a i {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: linear-gradient(135deg, #45bfff, #167bea);
  box-shadow: 0 12px 28px rgba(22,123,234,.28);
}

/* Breadcrumb/contexto del proyecto. */
.project-detail-top-v3 {
  align-items: center;
  padding-bottom: 16px;
}
.project-breadcrumb {
  display: flex;
  align-items: center;
  gap: 9px;
  min-width: 0;
  color: #62788b;
  font-size: 10px;
  font-weight: 800;
  text-transform: none;
  letter-spacing: 0;
}
.project-breadcrumb a {
  transition: color .2s ease;
}
.project-breadcrumb a:hover {
  color: #168dff;
}
.project-breadcrumb > span {
  color: #a8b7c3;
}
.project-breadcrumb strong {
  max-width: 300px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: #0a6fcf;
  font-size: 10px;
}
.project-context-badge {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 8px 11px;
  border: 1px solid rgba(18, 94, 158, .13);
  border-radius: 999px;
  background: rgba(255,255,255,.48);
  color: #60788d;
  text-transform: uppercase;
  letter-spacing: .08em;
}
.project-context-badge span {
  color: #168dff;
  font-size: 9px;
}
.project-context-badge strong {
  font-size: 9px;
}
.project-page-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  color: #168dff;
  font-size: 9px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .13em;
}
.project-page-label::before {
  content: '';
  width: 28px;
  height: 1px;
  background: #168dff;
}

/* Corrección principal: la barra del navegador heredaba min-height:610px.
   Esto era lo que generaba el gran bloque vacío antes de la captura. */
.project-detail-visual.real-project-detail {
  min-height: 0 !important;
  height: auto !important;
  padding: 16px !important;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.real-project-detail > .project-browser-bar {
  min-height: 38px !important;
  height: 38px !important;
  flex: 0 0 38px !important;
  border-radius: 16px 16px 0 0;
}
.real-project-detail > .project-detail-image,
.project-detail-image.project-detail-image-ratio {
  min-height: 0 !important;
  height: auto !important;
  flex: 0 0 auto !important;
  width: 100%;
  border-radius: 0 0 16px 16px;
}
.project-detail-image-ratio {
  position: relative;
  overflow: hidden;
}
.project-detail-image-ratio img {
  object-fit: contain !important;
  object-position: center center !important;
}
.project-gallery {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 18px;
}
.project-gallery-item {
  min-height: 0 !important;
  aspect-ratio: 2.05 / 1;
  border-radius: 18px;
}
.project-gallery-item img {
  object-fit: contain !important;
  object-position: center center !important;
}
.project-row-image-ratio {
  min-height: 0 !important;
  flex: none !important;
}

/* Aplicaciones móviles: presentar realmente como teléfonos. */
.project-mobile-detail-wrap {
  margin-top: 2px;
  overflow: hidden;
  border: 1px solid rgba(65, 172, 255, .16);
  border-radius: 32px;
  background:
    radial-gradient(circle at 82% 18%, rgba(44, 164, 255, .22), transparent 26%),
    radial-gradient(circle at 18% 85%, rgba(22, 102, 194, .13), transparent 27%),
    linear-gradient(145deg, #061426 0%, #0a2846 100%);
  box-shadow: 0 32px 80px rgba(10,49,82,.18);
}
.mobile-device-showcase {
  min-height: 720px;
  display: grid;
  grid-template-columns: minmax(260px, .72fr) minmax(520px, 1.28fr);
  gap: 54px;
  align-items: center;
  padding: 54px 62px;
  color: #fff;
}
.mobile-device-copy span {
  display: block;
  color: #55c5ff;
  font-size: 9px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .14em;
}
.mobile-device-copy strong {
  display: block;
  max-width: 420px;
  margin-top: 18px;
  font-size: clamp(34px, 3.4vw, 58px);
  line-height: .96;
  letter-spacing: -.055em;
}
.mobile-device-copy p {
  max-width: 430px;
  margin: 22px 0 0;
  color: rgba(226,241,253,.61);
  font-size: 14px;
  line-height: 1.72;
}
.mobile-devices {
  min-height: 610px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 26px;
  perspective: 1300px;
}
.phone-device {
  position: relative;
  width: min(285px, 34vw);
  padding: 12px 10px 16px;
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 42px;
  background: linear-gradient(145deg, #141b25, #03070d 58%, #111a25);
  box-shadow:
    0 38px 70px rgba(0,0,0,.48),
    inset 0 0 0 2px rgba(255,255,255,.035),
    inset 0 0 0 6px rgba(0,0,0,.44);
}
.phone-device-1 {
  transform: rotate(-4deg) translateY(12px);
  z-index: 2;
}
.phone-device-2 {
  transform: rotate(5deg) translateY(-12px);
  z-index: 1;
}
.phone-hardware {
  position: absolute;
  z-index: 3;
  left: 50%;
  top: 7px;
  width: 88px;
  height: 22px;
  transform: translateX(-50%);
  border-radius: 0 0 14px 14px;
  background: #05080d;
}
.phone-speaker {
  position: absolute;
  width: 34px;
  height: 4px;
  left: 27px;
  top: 7px;
  border-radius: 10px;
  background: #2b333e;
}
.phone-camera {
  position: absolute;
  width: 6px;
  height: 6px;
  right: 10px;
  top: 6px;
  border-radius: 50%;
  background: #0d4f83;
  box-shadow: inset 0 0 0 2px #091a29;
}
.phone-screen {
  position: relative;
  width: 100%;
  aspect-ratio: 738 / 1600;
  overflow: hidden;
  border-radius: 31px;
  background: #eef5fb;
}
.phone-screen img {
  object-fit: cover !important;
  object-position: center top !important;
}
.phone-home-indicator {
  position: absolute;
  z-index: 4;
  left: 50%;
  bottom: 7px;
  width: 74px;
  height: 4px;
  transform: translateX(-50%);
  border-radius: 999px;
  background: rgba(255,255,255,.38);
}

/* Variante compacta para el listado de proyectos. */
.project-mobile-visual {
  min-height: 560px;
  overflow: hidden;
  border: 1px solid rgba(41, 139, 221, .16);
  border-radius: 28px;
  background:
    radial-gradient(circle at 82% 12%, rgba(59, 180, 255, .22), transparent 28%),
    linear-gradient(145deg, #061426, #0b2c4d);
  box-shadow: 0 28px 65px rgba(9,35,59,.15);
  transition: transform .35s ease, box-shadow .35s ease;
}
.project-mobile-visual:hover {
  transform: translateY(-5px);
  box-shadow: 0 34px 78px rgba(9,35,59,.22);
}
.mobile-device-showcase.compact {
  min-height: 560px;
  grid-template-columns: minmax(170px, .46fr) minmax(340px, .54fr);
  gap: 18px;
  padding: 30px 34px;
}
.mobile-device-showcase.compact .mobile-device-copy strong {
  font-size: clamp(26px, 2.5vw, 38px);
}
.mobile-device-showcase.compact .mobile-devices {
  min-height: 500px;
  gap: 14px;
}
.mobile-device-showcase.compact .phone-device {
  width: min(190px, 16vw);
  border-radius: 31px;
  padding: 8px 7px 12px;
}
.mobile-device-showcase.compact .phone-screen {
  border-radius: 23px;
}
.mobile-device-showcase.compact .phone-hardware {
  top: 5px;
  width: 62px;
  height: 16px;
}
.mobile-device-showcase.compact .phone-speaker {
  width: 24px;
  height: 3px;
  left: 19px;
  top: 5px;
}
.mobile-device-showcase.compact .phone-camera {
  width: 5px;
  height: 5px;
  right: 7px;
  top: 4px;
}
.mobile-device-showcase.compact .phone-home-indicator {
  bottom: 5px;
  width: 52px;
  height: 3px;
}

@media (max-width: 1180px) {
  .hero-showcase-v2 {
    min-height: 740px;
  }
  .mobile-device-showcase {
    grid-template-columns: minmax(230px, .62fr) minmax(460px, 1.38fr);
    gap: 30px;
    padding: 44px 38px;
  }
  .mobile-device-showcase.compact {
    grid-template-columns: 1fr;
    min-height: 540px;
  }
  .mobile-device-showcase.compact .mobile-device-copy {
    display: none;
  }
}

@media (max-width: 980px) {
  .hero-showcase-v2 {
    min-height: 760px;
  }
  .hero-showcase-summary {
    margin-top: 20px;
  }
  .project-detail-top-v3 {
    flex-direction: row;
  }
  .mobile-device-showcase {
    grid-template-columns: 1fr;
    min-height: auto;
    gap: 32px;
    padding: 42px 28px 50px;
  }
  .mobile-device-copy {
    max-width: 690px;
  }
  .mobile-devices {
    min-height: 590px;
  }
  .phone-device {
    width: min(270px, 34vw);
  }
  .project-gallery {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .desktop-nav .nav-link {
    padding: 0 8px;
  }
  .hero-showcase-v2 {
    min-height: 535px;
  }
  .hero-collage-stage {
    min-height: 400px;
  }
  .hero-showcase-summary {
    grid-template-columns: 1fr;
    gap: 14px;
    margin-top: 18px;
    padding: 15px;
  }
  .hero-showcase-summary p {
    display: none;
  }
  .hero-showcase-summary > a {
    justify-content: space-between;
  }
  .project-detail-top-v3 {
    align-items: flex-start;
    flex-direction: column;
    gap: 14px;
  }
  .project-breadcrumb {
    width: 100%;
    flex-wrap: wrap;
  }
  .project-breadcrumb strong {
    max-width: 230px;
  }
  .project-context-badge {
    align-self: flex-start;
  }
  .project-detail-visual.real-project-detail {
    padding: 8px !important;
    border-radius: 18px;
  }
  .real-project-detail > .project-browser-bar {
    min-height: 31px !important;
    height: 31px !important;
    flex-basis: 31px !important;
    border-radius: 11px 11px 0 0;
  }
  .real-project-detail > .project-detail-image {
    border-radius: 0 0 11px 11px;
  }
  .project-gallery-item {
    aspect-ratio: 2.05 / 1;
  }
  .project-mobile-detail-wrap {
    border-radius: 22px;
  }
  .mobile-device-showcase {
    padding: 32px 17px 37px;
  }
  .mobile-device-copy strong {
    font-size: clamp(32px, 10vw, 44px);
  }
  .mobile-device-copy p {
    font-size: 13px;
  }
  .mobile-devices {
    min-height: 450px;
    gap: 10px;
  }
  .phone-device {
    width: min(205px, 43vw);
    border-radius: 29px;
    padding: 8px 7px 11px;
  }
  .phone-screen {
    border-radius: 22px;
  }
  .phone-device-1 {
    transform: rotate(-3deg) translateY(8px);
  }
  .phone-device-2 {
    transform: rotate(3deg) translateY(-8px);
  }
  .phone-hardware {
    width: 60px;
    height: 15px;
    top: 5px;
  }
  .phone-speaker {
    width: 23px;
    left: 19px;
    top: 5px;
    height: 3px;
  }
  .phone-camera {
    width: 5px;
    height: 5px;
    right: 7px;
    top: 4px;
  }
  .phone-home-indicator {
    bottom: 5px;
    width: 50px;
    height: 3px;
  }
  .project-mobile-visual {
    min-height: 430px;
  }
  .mobile-device-showcase.compact {
    min-height: 430px;
    padding: 15px;
  }
  .mobile-device-showcase.compact .mobile-devices {
    min-height: 400px;
  }
  .mobile-device-showcase.compact .phone-device {
    width: min(180px, 39vw);
  }
}

/* Evitar el mismo efecto de barra gigante dentro del listado de proyectos. */
.project-row-visual.project-image-card {
  min-height: 0 !important;
  height: auto;
  align-self: center;
}
.project-row-visual.project-image-card > .project-browser-bar {
  min-height: 38px !important;
  height: 38px !important;
  flex: 0 0 38px !important;
}
.project-row-visual.project-image-card > .project-row-image {
  min-height: 0 !important;
  height: auto !important;
  flex: 0 0 auto !important;
}

@media (max-width: 720px) {
  .project-row-visual.project-image-card > .project-browser-bar {
    min-height: 31px !important;
    height: 31px !important;
    flex-basis: 31px !important;
  }
}


/* =====================================================================
   RexCoreSolutions 2.4 — Responsive system
   Desktop ultrawide · laptop · tablet · móvil · móvil compacto
   ===================================================================== */

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: 96px;
}

body {
  min-width: 280px;
}

img,
picture,
video,
canvas,
svg {
  max-width: 100%;
}

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

button,
a {
  touch-action: manipulation;
}

.shell {
  width: min(calc(100% - clamp(32px, 5vw, 72px)), var(--max));
}

.site-header {
  padding-left: env(safe-area-inset-left);
  padding-right: env(safe-area-inset-right);
}

.header-inner {
  min-height: clamp(72px, 5.3vw, 86px);
}

.mobile-menu-trigger,
.mobile-menu-backdrop {
  border: 0;
  appearance: none;
  -webkit-appearance: none;
}

.mobile-menu-trigger {
  width: 46px;
  height: 46px;
  padding: 0;
  display: grid;
  place-content: center;
  gap: 6px;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 50%;
  background: rgba(255,255,255,.035);
  color: #fff;
  cursor: pointer;
}

.mobile-menu-trigger > span {
  width: 18px;
  height: 1.5px;
  border-radius: 999px;
  background: currentColor;
  transition: transform .22s ease, opacity .22s ease;
}

.mobile-menu.open .mobile-menu-trigger > span:first-child {
  transform: translateY(3.75px) rotate(45deg);
}

.mobile-menu.open .mobile-menu-trigger > span:last-child {
  transform: translateY(-3.75px) rotate(-45deg);
}

.mobile-menu-panel[hidden] {
  display: none !important;
}

.mobile-menu-panel nav {
  display: grid;
}

.mobile-menu-panel nav a {
  min-height: 54px;
}

.mobile-menu-cta {
  width: 100%;
  margin-top: 14px;
}

.mobile-menu-backdrop {
  position: fixed;
  inset: 0;
  z-index: -1;
  display: none;
  width: 100%;
  height: 100%;
  background: rgba(1,8,16,.62);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
}

.site-header.menu-is-open .mobile-menu-backdrop {
  display: block;
}

/* Prevent long content from forcing horizontal overflow. */
.hero-grid-v2,
.featured-system,
.project-row,
.contact-page-grid,
.page-intro-grid,
.project-detail-title,
.project-story-grid,
.project-next-grid,
.footer-grid,
.tech-grid,
.statement-grid,
.about-manifesto-grid {
  min-width: 0;
}

.hero-copy-v2,
.hero-showcase-v2,
.featured-system-copy,
.featured-system-gallery,
.project-row-copy,
.project-row-visual,
.contact-card,
.page-intro-side {
  min-width: 0;
}

/* Large desktop / ultrawide. */
@media (min-width: 1600px) {
  .hero-v2 {
    min-height: 960px;
  }

  .hero-grid-v2 {
    min-height: 790px;
    gap: 70px;
  }

  .hero-showcase-v2 {
    min-height: 750px;
  }

  .featured-system {
    padding: 26px;
    gap: 36px;
  }
}

/* Standard laptops and smaller desktop monitors. */
@media (max-width: 1360px) {
  :root {
    --radius-xl: 30px;
    --radius-lg: 22px;
  }

  .desktop-nav {
    gap: 10px;
    margin-right: 10px;
  }

  .desktop-nav .nav-link {
    padding-inline: 9px;
    font-size: 12px;
  }

  .header-project-cta {
    padding-inline: 16px;
  }

  .hero-grid-v2 {
    grid-template-columns: minmax(0, .82fr) minmax(520px, 1.18fr);
    gap: 34px;
  }

  .hero-copy-v2 h1 {
    font-size: clamp(58px, 6.2vw, 92px);
  }

  .hero-collage-stage {
    min-height: 590px;
  }

  .hero-screen-gym {
    width: 92%;
  }

  .hero-screen-pos {
    width: 78%;
  }

  .featured-heading,
  .split-heading {
    gap: 46px;
  }

  .featured-system {
    grid-template-columns: minmax(230px, .31fr) minmax(0, .69fr);
    gap: 22px;
  }

  .featured-system-copy {
    padding-inline: 12px;
  }

  .project-row {
    grid-template-columns: 36% 64%;
    gap: 28px;
  }
}

/* Switch to compact navigation before links become cramped. */
@media (max-width: 1080px) {
  .desktop-nav,
  .header-project-cta {
    display: none !important;
  }

  .mobile-menu {
    display: block;
    position: relative;
    z-index: 2;
  }

  .mobile-menu-panel {
    position: fixed;
    z-index: 102;
    top: calc(78px + env(safe-area-inset-top));
    right: max(18px, env(safe-area-inset-right));
    width: min(390px, calc(100vw - 36px));
    max-height: calc(100dvh - 98px - env(safe-area-inset-bottom));
    overflow-y: auto;
    overscroll-behavior: contain;
    padding: 18px;
    border: 1px solid rgba(94,177,242,.12);
    border-radius: 24px;
    background: rgba(244,248,252,.98);
    color: var(--ink);
    box-shadow: 0 28px 90px rgba(0,0,0,.38);
  }

  .mobile-menu-current {
    padding: 5px 4px 14px;
  }

  .mobile-menu-current > span {
    display: block;
    color: #74899a;
    font-size: 9px;
    font-weight: 900;
    letter-spacing: .13em;
    text-transform: uppercase;
  }

  .mobile-menu-current strong {
    display: block;
    margin-top: 4px;
    color: #0b3154;
    font-size: 20px;
    letter-spacing: -.03em;
  }

  .mobile-menu-panel nav a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 0 4px;
    border-bottom: 1px solid rgba(7,20,38,.09);
    font-size: 17px;
    font-weight: 800;
  }

  .mobile-menu-panel nav a.active {
    color: #087ee6;
  }

  .mobile-menu-panel p {
    margin: 17px 4px 3px;
    color: #7a8d9d;
    font-size: 11px;
    line-height: 1.65;
  }

  .hero-v2 {
    min-height: auto;
    padding-top: 112px;
  }

  .hero-grid-v2 {
    display: grid;
    grid-template-columns: 1fr;
    min-height: 0;
    gap: 24px;
  }

  .hero-copy-v2 {
    max-width: 900px;
    padding-bottom: 6px;
  }

  .hero-copy-v2 .eyebrow-row {
    max-width: 720px;
  }

  .hero-copy-v2 h1 {
    max-width: 880px;
    font-size: clamp(68px, 10vw, 108px);
  }

  .hero-description {
    max-width: 740px;
  }

  .hero-showcase-v2 {
    min-height: auto !important;
    margin-top: 6px;
  }

  .hero-collage-stage {
    min-height: clamp(560px, 68vw, 690px);
  }

  .featured-heading,
  .split-heading,
  .page-intro-grid,
  .tech-grid,
  .contact-page-grid,
  .project-detail-title {
    grid-template-columns: 1fr;
  }

  .featured-heading > p,
  .split-heading > p,
  .page-intro-side,
  .project-detail-title > p {
    max-width: 760px;
  }

  .featured-system {
    grid-template-columns: 1fr;
  }

  .featured-system-copy {
    padding: 20px 16px 8px;
  }

  .featured-system h3 {
    max-width: 760px;
  }

  .featured-system-copy > p {
    max-width: 760px;
  }

  .featured-system-link {
    margin-top: 0;
  }

  .project-row {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .project-row h3,
  .project-row-copy > p {
    max-width: 760px;
  }

  .project-link {
    margin-top: 32px;
  }

  .contact-page-copy {
    position: static;
  }

  .contact-card {
    max-width: 900px;
  }

  .project-story-grid,
  .project-next-grid,
  .about-manifesto-grid,
  .statement-grid {
    grid-template-columns: 1fr;
  }

  .feature-panel {
    grid-column: auto;
  }

  .project-next-actions {
    justify-content: flex-start;
  }
}

/* Tablet landscape / tablet portrait. */
@media (max-width: 820px) {
  .shell {
    width: min(calc(100% - 30px), var(--max));
  }

  .section {
    padding-block: 86px;
  }

  .section-heading {
    margin-bottom: 46px;
  }

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

  .brand-mark-image {
    width: 38px;
    height: 38px;
    flex-basis: 38px;
  }

  .brand-name {
    font-size: 16px;
  }

  .mobile-menu-panel {
    top: calc(72px + env(safe-area-inset-top));
  }

  .hero-v2 {
    padding-top: 98px;
    padding-bottom: 42px;
  }

  .hero-copy-v2 .eyebrow-row {
    max-width: 100%;
  }

  .hero-copy-v2 h1 {
    font-size: clamp(58px, 12vw, 88px);
  }

  .hero-capabilities {
    max-width: 100%;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .hero-actions {
    flex-wrap: wrap;
  }

  .hero-collage-stage {
    min-height: clamp(500px, 72vw, 610px);
  }

  .hero-screen-gym {
    width: 94%;
    right: 0;
  }

  .hero-screen-pos {
    width: 76%;
    right: 4px;
  }

  .hero-showcase-summary {
    grid-template-columns: 1fr auto;
    gap: 20px;
  }

  .featured-systems {
    padding-block: 86px;
  }

  .featured-heading h2,
  .split-heading h2 {
    font-size: clamp(46px, 9.5vw, 72px);
  }

  .featured-system {
    padding: 16px;
    border-radius: 26px;
  }

  .featured-system h3 {
    font-size: clamp(43px, 8.8vw, 68px);
  }

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

  .service-card-v2 {
    min-height: 285px;
  }

  .process-step {
    grid-template-columns: 56px minmax(170px, .8fr) minmax(0, 1.2fr) 24px;
    gap: 18px;
  }

  .tech-grid {
    gap: 42px;
  }

  .page-intro {
    padding: 132px 0 82px;
  }

  .page-intro h1 {
    font-size: clamp(58px, 12vw, 92px);
  }

  .contact-page {
    padding: 118px 0 78px;
  }

  .project-detail-hero {
    padding-top: 112px;
  }

  .project-detail-title {
    padding: 42px 0 34px;
  }

  .project-detail-title h1 {
    font-size: clamp(58px, 12vw, 96px);
  }

  .project-gallery {
    grid-template-columns: 1fr;
  }

  .mobile-device-showcase {
    grid-template-columns: 1fr;
    gap: 26px;
    padding: 38px 26px 46px;
  }

  .mobile-device-copy {
    max-width: 670px;
  }

  .mobile-devices {
    min-height: 560px;
  }

  .phone-device {
    width: min(260px, 36vw);
  }

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

/* Phones / small tablets. */
@media (max-width: 600px) {
  html {
    scroll-padding-top: 78px;
  }

  .shell {
    width: min(calc(100% - 24px), var(--max));
  }

  .section {
    padding-block: 70px;
  }

  .section-kicker {
    font-size: 10px;
  }

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

  .brand {
    gap: 8px;
  }

  .brand-mark-image {
    width: 34px;
    height: 34px;
    flex-basis: 34px;
    border-radius: 10px;
  }

  .brand-name {
    font-size: 14px;
  }

  .mobile-menu-trigger {
    width: 44px;
    height: 44px;
  }

  .mobile-menu-panel {
    top: calc(66px + env(safe-area-inset-top));
    left: max(12px, env(safe-area-inset-left));
    right: max(12px, env(safe-area-inset-right));
    width: auto;
    max-height: calc(100dvh - 82px - env(safe-area-inset-bottom));
    padding: 16px;
    border-radius: 20px;
  }

  .mobile-menu-panel nav a {
    min-height: 52px;
    font-size: 16px;
  }

  .hero-v2 {
    padding-top: 88px;
    padding-bottom: 34px;
  }

  .eyebrow-row {
    gap: 12px;
    font-size: 7.5px;
  }

  .hero-copy-v2 h1 {
    margin-top: 26px;
    font-size: clamp(46px, 14.5vw, 70px);
    line-height: .93;
    letter-spacing: -.06em;
  }

  .hero-copy-v2 .hero-description {
    margin-top: 24px;
    font-size: 15px;
    line-height: 1.62;
  }

  .hero-capabilities {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px 8px;
    margin-top: 24px;
  }

  .hero-capabilities span {
    font-size: 10.5px;
    white-space: normal;
  }

  .hero-capabilities i {
    width: 21px;
    height: 21px;
    flex-basis: 21px;
  }

  .hero-copy-v2 .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
    width: 100%;
    gap: 10px;
    margin-top: 27px;
  }

  .hero-copy-v2 .hero-actions .button {
    width: 100%;
    min-height: 50px;
  }

  .hero-proof-v2 {
    grid-template-columns: 52px 1fr;
    margin-top: 30px;
  }

  /* On phones, avoid tiny overlapping desktop screenshots: stack them. */
  .hero-showcase-v2 {
    margin-top: 24px;
  }

  .hero-showcase-v2 .hero-showcase-topline {
    margin-bottom: 15px;
  }

  .hero-collage-stage {
    display: grid;
    gap: 16px;
    min-height: 0 !important;
    border-radius: 0;
  }

  .hero-collage-stage::before,
  .hero-collage-stage::after {
    display: none;
  }

  .hero-screen,
  .hero-screen-gym,
  .hero-screen-pos {
    position: relative;
    inset: auto;
    width: 100%;
    right: auto;
    top: auto;
    bottom: auto;
    transform: none !important;
    padding: 6px;
    border-radius: 17px;
  }

  .hero-screen:hover {
    transform: none !important;
  }

  .hero-screen img {
    border-radius: 11px;
  }

  .screen-label,
  .orange-label {
    left: 10px;
    right: auto;
    top: 10px;
    min-height: 29px;
    padding-inline: 9px;
    border-radius: 9px;
    background: rgba(3,16,30,.90);
    backdrop-filter: blur(7px);
  }

  .screen-label strong {
    font-size: 8px;
  }

  .hero-showcase-summary {
    grid-template-columns: 1fr;
    gap: 14px;
    margin-top: 14px;
    padding: 16px;
    border-radius: 18px;
  }

  .hero-showcase-summary p {
    display: block;
    font-size: 11px;
  }

  .hero-showcase-summary > a {
    width: 100%;
    justify-content: space-between;
  }

  .ticker span {
    height: 38px;
    gap: 18px;
    padding-left: 18px;
    font-size: 8.5px;
  }

  .featured-systems {
    padding-block: 68px;
  }

  .featured-heading {
    margin-bottom: 32px;
  }

  .featured-heading h2,
  .split-heading h2 {
    font-size: clamp(40px, 12vw, 58px);
  }

  .featured-heading > p,
  .split-heading > p {
    font-size: 14px;
    line-height: 1.65;
  }

  .featured-system {
    padding: 9px;
    border-radius: 21px;
  }

  .featured-system-copy {
    padding: 17px 11px 7px;
  }

  .featured-system h3 {
    margin-top: 24px;
    font-size: clamp(38px, 11.5vw, 54px);
  }

  .featured-system-copy > p {
    font-size: 13px;
  }

  .featured-system ul {
    gap: 9px;
    margin-top: 20px;
  }

  .featured-system li {
    align-items: flex-start;
    font-size: 11px;
    line-height: 1.5;
  }

  .featured-system-link {
    padding-top: 24px;
    padding-bottom: 11px;
  }

  .system-shot-main,
  .system-shot {
    border-radius: 13px;
  }

  .system-shot-bar {
    height: 27px;
  }

  .system-shot-grid {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    margin-top: 10px;
    padding: 0 1px 8px;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    overscroll-behavior-inline: contain;
  }

  .system-shot-grid::-webkit-scrollbar {
    display: none;
  }

  .system-shot-grid > .system-shot {
    flex: 0 0 min(84vw, 470px);
    scroll-snap-align: start;
  }

  .featured-more {
    flex-direction: column;
    align-items: stretch;
    gap: 18px;
  }

  .featured-more-button {
    width: 100%;
  }

  .services-grid-v2 {
    grid-template-columns: 1fr;
  }

  .service-card-v2 {
    min-height: 0;
    padding: 23px;
  }

  .service-card-v2 h3 {
    margin-top: 38px;
    font-size: 35px;
  }

  .services-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }

  .process-step {
    min-height: 0;
    grid-template-columns: 38px minmax(0, 1fr) 24px;
    gap: 12px;
    padding: 23px 0;
  }

  .process-step > p {
    grid-column: 2 / -1;
    font-size: 13px;
    line-height: 1.65;
  }

  .process-step h3 {
    font-size: 25px;
  }

  .process-step:hover {
    padding: 23px 0;
  }

  .tech-section {
    padding-block: 72px;
  }

  .tech-grid h2 {
    font-size: clamp(40px, 12vw, 54px);
  }

  .tech-list span {
    min-height: 54px;
    font-size: 16px;
  }

  .cta-section {
    padding: 82px 0 74px;
  }

  .cta-inner h2 {
    font-size: clamp(54px, 15.5vw, 78px);
  }

  .cta-actions {
    display: grid;
    width: 100%;
    gap: 16px;
    margin-top: 36px;
  }

  .cta-actions .button {
    width: 100%;
  }

  .cta-email {
    width: fit-content;
    max-width: 100%;
    overflow-wrap: anywhere;
  }

  .site-footer {
    padding: 68px 0 24px;
  }

  .footer-grid {
    gap: 42px;
  }

  .footer-links {
    grid-template-columns: 1fr 1fr;
    gap: 22px;
  }

  .footer-links a {
    overflow-wrap: anywhere;
  }

  .footer-bottom {
    margin-top: 46px;
    flex-direction: column;
    gap: 7px;
  }

  .page-intro {
    padding: 112px 0 68px;
  }

  .page-intro h1 {
    margin-top: 18px;
    font-size: clamp(50px, 14vw, 72px);
  }

  .page-intro-side p {
    font-size: 14px;
  }

  .page-intro-side .button {
    width: 100%;
  }

  .about-manifesto {
    padding-block: 70px;
  }

  .about-manifesto-grid {
    gap: 24px;
  }

  .about-manifesto-grid h2 {
    font-size: clamp(38px, 11vw, 52px);
  }

  .contact-page {
    padding: 102px 0 62px;
  }

  .contact-page-copy h1 {
    font-size: clamp(50px, 14vw, 72px);
  }

  .contact-direct {
    margin-top: 38px;
  }

  .contact-direct a {
    overflow-wrap: anywhere;
  }

  .contact-card {
    padding: 18px;
    border-radius: 20px;
  }

  .contact-card-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .form-grid.two {
    grid-template-columns: 1fr;
  }

  /* 16px prevents unwanted auto-zoom in iOS form controls. */
  .contact-form input,
  .contact-form select,
  .contact-form textarea {
    font-size: 16px;
  }

  .form-submit-row {
    flex-direction: column;
    align-items: stretch;
  }

  .form-submit-row .button {
    width: 100%;
  }

  .project-detail-hero {
    padding-top: 96px;
  }

  .project-detail-top-v3 {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .project-breadcrumb {
    width: 100%;
    flex-wrap: wrap;
    gap: 6px;
  }

  .project-breadcrumb strong {
    max-width: min(100%, 260px);
  }

  .project-context-badge {
    align-self: flex-start;
  }

  .project-detail-title {
    padding: 34px 0 26px;
  }

  .project-detail-title h1 {
    font-size: clamp(48px, 14vw, 72px);
  }

  .project-detail-title p {
    font-size: 14px;
  }

  .project-detail-visual.real-project-detail {
    padding: 7px !important;
    border-radius: 16px;
  }

  .real-project-detail > .project-browser-bar {
    min-height: 29px !important;
    height: 29px !important;
    flex-basis: 29px !important;
  }

  .project-gallery {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding-bottom: 8px;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }

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

  .project-gallery-item {
    flex: 0 0 min(88vw, 520px);
    scroll-snap-align: start;
  }

  .project-story {
    padding-block: 70px;
  }

  .project-story-grid {
    gap: 46px;
  }

  .story-block h2 {
    font-size: clamp(34px, 10vw, 46px);
  }

  .story-block p {
    font-size: 15px;
  }

  .feature-panel {
    padding-top: 28px;
  }

  .feature-panel > div {
    grid-template-columns: 1fr;
  }

  .feature-panel > div > div {
    grid-template-columns: 42px 1fr;
  }

  .feature-panel strong {
    font-size: 15px;
  }

  .project-next-step {
    padding-block: 66px;
  }

  .project-next-grid h2 {
    font-size: clamp(38px, 11vw, 52px);
  }

  .project-next-actions {
    display: grid;
    width: 100%;
    gap: 10px;
  }

  .project-next-actions .button {
    width: 100%;
  }

  .project-row {
    padding-block: 32px;
    gap: 26px;
  }

  .project-row h3 {
    margin-top: 27px;
    font-size: clamp(37px, 11vw, 52px);
  }

  .project-row-copy > p {
    font-size: 14px;
  }

  .project-row-visual.project-image-card {
    padding: 7px;
    border-radius: 17px;
  }

  .project-browser-bar {
    height: 29px;
    flex-basis: 29px;
  }

  /* Phone project showcase: swipeable real devices instead of shrinking them. */
  .project-mobile-detail-wrap,
  .project-mobile-visual {
    border-radius: 20px;
  }

  .mobile-device-showcase,
  .mobile-device-showcase.compact {
    display: block;
    min-height: 0;
    padding: 28px 16px 30px;
  }

  .mobile-device-showcase.compact .mobile-device-copy {
    display: block;
  }

  .mobile-device-showcase.compact .mobile-device-copy p {
    display: none;
  }

  .mobile-device-copy strong,
  .mobile-device-showcase.compact .mobile-device-copy strong {
    font-size: clamp(31px, 9.5vw, 44px);
  }

  .mobile-devices,
  .mobile-device-showcase.compact .mobile-devices {
    min-height: 0;
    justify-content: flex-start;
    gap: 14px;
    margin-top: 26px;
    padding: 14px 9px 28px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }

  .mobile-devices::-webkit-scrollbar {
    display: none;
  }

  .phone-device,
  .mobile-device-showcase.compact .phone-device {
    flex: 0 0 218px;
    width: 218px;
    min-width: 218px;
    transform: none !important;
    scroll-snap-align: center;
    border-radius: 32px;
    padding: 9px 8px 13px;
  }

  .phone-screen,
  .mobile-device-showcase.compact .phone-screen {
    border-radius: 24px;
  }

  .project-mobile-visual {
    min-height: 0;
  }
}

/* Very small phones (320–390px). */
@media (max-width: 390px) {
  .shell {
    width: calc(100% - 20px);
  }

  .brand-name {
    font-size: 13px;
  }

  .hero-copy-v2 h1 {
    font-size: clamp(42px, 14.8vw, 58px);
  }

  .hero-capabilities {
    grid-template-columns: 1fr;
  }

  .hero-proof-v2 {
    grid-template-columns: 1fr;
    gap: 7px;
  }

  .hero-showcase-topline {
    font-size: 8px;
  }

  .featured-heading h2,
  .split-heading h2 {
    font-size: clamp(38px, 12.4vw, 50px);
  }

  .featured-system h3 {
    font-size: clamp(36px, 11.8vw, 48px);
  }

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

  .page-intro h1,
  .contact-page-copy h1,
  .project-detail-title h1 {
    font-size: clamp(44px, 14.2vw, 60px);
  }

  .mobile-menu-panel {
    left: max(8px, env(safe-area-inset-left));
    right: max(8px, env(safe-area-inset-right));
  }
}

/* Short landscape screens (phones/tablets rotated). */
@media (max-height: 620px) and (min-width: 700px) {
  .hero-v2 {
    padding-top: 90px;
  }

  .hero-copy-v2 h1 {
    font-size: clamp(54px, 7vw, 78px);
  }

  .hero-copy-v2 .hero-description {
    margin-top: 20px;
  }

  .hero-capabilities {
    margin-top: 19px;
  }

  .hero-copy-v2 .hero-actions {
    margin-top: 22px;
  }

  .hero-proof-v2 {
    margin-top: 24px;
  }
}

/* Touch devices should not depend on hover-only motion. */
@media (hover: none) {
  .button:hover,
  .hero-screen:hover,
  .project-row-visual:hover,
  .project-mobile-visual:hover {
    transform: none !important;
  }
}

/* Safe-area padding for standalone/mobile browsers. */
@supports (padding: max(0px)) {
  .site-footer {
    padding-bottom: max(24px, env(safe-area-inset-bottom));
  }

  .mobile-menu-panel {
    padding-bottom: max(16px, env(safe-area-inset-bottom));
  }
}


/* =====================================================================
   RexCoreSolutions 3.0 — PHP / Vanilla JS integration
   Mantiene el diseño 2.4 y reemplaza Motion/React por IntersectionObserver.
   ===================================================================== */
.js .reveal {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity .7s cubic-bezier(.22,1,.36,1),
    transform .7s cubic-bezier(.22,1,.36,1);
  transition-delay: var(--reveal-delay, 0ms);
}
.js .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.contact-form button[disabled] {
  opacity: .68;
  cursor: wait;
  transform: none;
}
.form-status {
  margin-top: 16px;
  padding: 14px 16px;
  border-radius: 14px;
  font-size: 13px;
  line-height: 1.55;
}
.form-status.success {
  border: 1px solid rgba(22,141,255,.18);
  background: rgba(22,141,255,.08);
  color: #0c5796;
}
.form-status.error {
  border: 1px solid rgba(203,55,55,.18);
  background: rgba(203,55,55,.07);
  color: #9a2929;
}
.form-status.info {
  border: 1px solid rgba(82,110,133,.16);
  background: rgba(82,110,133,.07);
  color: #536b7e;
}
.honeypot {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
  clip-path: inset(50%) !important;
  white-space: nowrap !important;
  opacity: 0 !important;
  pointer-events: none !important;
}
.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 9999;
  transform: translateY(-160%);
  padding: 10px 14px;
  border-radius: 10px;
  background: #fff;
  color: #071426;
  font-weight: 800;
  transition: transform .2s ease;
}
.skip-link:focus { transform: translateY(0); }
body.menu-open { overflow: hidden; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  .js .reveal { opacity: 1; transform: none; }
}

/* =====================================================================
   RexCoreSolutions 3.3 — FINAL MOBILE / HEADER / PROJECT LAYOUT
   Clases aisladas para evitar conflictos con estilos heredados.
   ===================================================================== */

/* ---------- Header / marca ---------- */
.rc-site-header {
  background: rgba(3, 13, 25, .94);
  border-bottom: 1px solid rgba(104, 187, 255, .10);
  box-shadow: 0 8px 28px rgba(0, 0, 0, .08);
}

.rc-header-inner {
  min-height: 76px;
}

.rc-brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  min-width: 0;
  color: #fff;
}

.rc-brand-mark {
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .18);
}

.rc-brand-mark img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.rc-brand-wordmark {
  display: inline-flex;
  align-items: baseline;
  min-width: 0;
  font-size: 19px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -.045em;
  white-space: nowrap;
}

.rc-brand-wordmark strong {
  color: #f8fbff;
  font: inherit;
}

.rc-brand-wordmark > span {
  color: #39baff;
}

.rc-desktop-nav {
  margin-left: auto;
}

/* ---------- Hero nuevo ---------- */
.rc-home-hero {
  min-height: auto;
  padding: 126px 0 66px;
  overflow: hidden;
  background:
    radial-gradient(circle at 83% 13%, rgba(36, 159, 255, .22), transparent 25%),
    radial-gradient(circle at 55% 78%, rgba(18, 104, 194, .11), transparent 32%),
    linear-gradient(135deg, #030b16 0%, #061426 46%, #0a2b4e 100%);
}

.rc-home-hero::after {
  background-image:
    linear-gradient(rgba(112, 192, 255, .035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(112, 192, 255, .035) 1px, transparent 1px);
  background-size: 52px 52px;
}

.rc-hero-layout {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(420px, .82fr) minmax(620px, 1.18fr);
  gap: 62px;
  align-items: center;
}

.rc-hero-copy {
  min-width: 0;
  padding: 22px 0 18px;
}

.rc-hero-eyebrow {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-bottom: 19px;
  border-bottom: 1px solid rgba(255, 255, 255, .13);
  color: rgba(221, 238, 251, .58);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: .15em;
  text-transform: uppercase;
}

.rc-hero-copy h1 {
  margin: 38px 0 0;
  color: #fff;
  font-size: clamp(64px, 6vw, 108px);
  line-height: .91;
  letter-spacing: -.068em;
}

.rc-hero-copy h1 > span,
.rc-hero-copy h1 > strong {
  display: block;
}

.rc-hero-copy h1 > strong {
  margin-top: 5px;
  color: #35a9ff;
  font-weight: 900;
}

.rc-hero-description {
  max-width: 610px;
  margin: 28px 0 0;
  color: rgba(230, 242, 252, .72);
  font-size: 17px;
  line-height: 1.7;
}

.rc-hero-capabilities {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 11px 16px;
  max-width: 590px;
  margin-top: 27px;
}

.rc-hero-capabilities span {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(235, 245, 255, .82);
  font-size: 12px;
  font-weight: 800;
}

.rc-hero-capabilities i {
  width: 23px;
  height: 23px;
  flex: 0 0 23px;
  border: 1px solid rgba(67, 180, 255, .28);
  border-radius: 8px;
  background:
    radial-gradient(circle at center, #46bcff 0 2px, transparent 2.5px),
    rgba(19, 118, 211, .12);
}

.rc-hero-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 32px;
}

.rc-hero-secondary {
  color: rgba(255, 255, 255, .88);
  border-color: rgba(255, 255, 255, .19);
  background: rgba(255, 255, 255, .025);
}

.rc-hero-secondary:hover {
  border-color: rgba(71, 184, 255, .42);
  background: rgba(35, 145, 240, .09);
}

/* ---------- Hero: showcase ---------- */
.rc-hero-showcase {
  min-width: 0;
}

.rc-showcase-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 13px;
  color: rgba(227, 241, 252, .54);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.rc-showcase-heading small {
  color: rgba(227, 241, 252, .38);
  font: inherit;
}

.rc-showcase-stage {
  position: relative;
  min-height: 600px;
  border: 1px solid rgba(77, 175, 252, .14);
  border-radius: 30px;
  background:
    radial-gradient(circle at 82% 8%, rgba(49, 177, 255, .15), transparent 30%),
    linear-gradient(145deg, rgba(14, 48, 82, .64), rgba(4, 16, 30, .38));
  box-shadow: inset 0 0 90px rgba(40, 147, 241, .025);
}

.rc-showcase-card {
  position: absolute;
  display: block;
  overflow: hidden;
  border: 1px solid rgba(129, 200, 255, .22);
  border-radius: 20px;
  background: #061426;
  box-shadow: 0 30px 75px rgba(0, 0, 0, .42);
  transition: transform .35s ease, border-color .25s ease;
}

.rc-showcase-card:hover {
  border-color: rgba(103, 198, 255, .45);
}

.rc-showcase-gym {
  top: 31px;
  right: 25px;
  width: 91%;
  z-index: 1;
  transform: rotate(-.7deg);
}

.rc-showcase-gym:hover {
  transform: rotate(-.2deg) translateY(-3px);
}

.rc-showcase-pos {
  right: 8px;
  bottom: 24px;
  width: 73%;
  z-index: 2;
  transform: rotate(.55deg);
}

.rc-showcase-pos:hover {
  transform: rotate(.15deg) translateY(-3px);
}

.rc-showcase-image {
  overflow: hidden;
  background: #f5f8fb;
}

.rc-showcase-image img {
  display: block;
  width: 100%;
  height: auto;
}

.rc-showcase-label {
  position: absolute;
  z-index: 3;
  left: 12px;
  top: 12px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 34px;
  padding: 0 11px;
  border: 1px solid rgba(72, 181, 255, .25);
  border-radius: 10px;
  background: rgba(3, 16, 30, .90);
  color: #fff;
  backdrop-filter: blur(8px);
}

.rc-showcase-label span {
  color: #46baff;
  font-size: 8px;
  font-weight: 900;
}

.rc-showcase-label strong {
  font-size: 10px;
}

.rc-showcase-label-orange {
  border-color: rgba(255, 130, 43, .27);
}

.rc-showcase-label-orange span {
  color: #ff842e;
}

.rc-showcase-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  margin-top: 18px;
  padding: 17px 18px;
  border: 1px solid rgba(74, 179, 255, .13);
  border-radius: 17px;
  background: rgba(7, 31, 54, .74);
}

.rc-showcase-footer > div > span {
  display: block;
  color: #42b8ff;
  font-size: 8px;
  font-weight: 900;
  letter-spacing: .13em;
}

.rc-showcase-footer strong {
  display: block;
  margin-top: 5px;
  color: #fff;
  font-size: 18px;
  line-height: 1.1;
}

.rc-showcase-footer > a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #eaf7ff;
  font-size: 11px;
  font-weight: 900;
  white-space: nowrap;
}

/* ---------- Catálogo de proyectos ---------- */
.rc-project-row {
  align-items: center;
}

.rc-project-media {
  display: block;
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgba(20, 82, 135, .13);
  border-radius: 27px;
  background: #0a2743;
  box-shadow: 0 24px 60px rgba(15, 52, 82, .14);
  transition: transform .3s ease, box-shadow .3s ease;
}

.rc-project-media:hover {
  transform: translateY(-4px);
  box-shadow: 0 30px 72px rgba(15, 52, 82, .20);
}

.rc-browser-bar {
  min-height: 38px;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0 13px;
  border-bottom: 1px solid rgba(8, 38, 64, .09);
  background: #f4f8fb;
  color: #657b8c;
}

.rc-browser-bar > span {
  width: 7px;
  height: 7px;
  flex: 0 0 7px;
  border-radius: 50%;
  background: #d8e2e9;
}

.rc-browser-bar > span:first-child { background: #ff766d; }
.rc-browser-bar > span:nth-child(2) { background: #ffc968; }
.rc-browser-bar > span:nth-child(3) { background: #5dd391; }

.rc-browser-bar small {
  margin-left: 7px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 9px;
  font-weight: 700;
}

.rc-project-media > img {
  display: block;
  width: 100%;
  height: auto;
  background: #f3f7fb;
}

/* ---------- Detalle de proyecto ---------- */
.rc-project-detail {
  padding: 128px 0 74px;
  background:
    radial-gradient(circle at 88% 5%, rgba(57, 186, 255, .12), transparent 25%),
    #eaf4fc;
  color: var(--ink);
}

.detail-web.rc-project-detail {
  background:
    radial-gradient(circle at 86% 10%, rgba(77, 190, 255, .16), transparent 26%),
    linear-gradient(180deg, #eef7ff 0%, #e8f3fb 100%);
  color: var(--ink);
}

.detail-mobile.rc-project-detail {
  background: #071426;
  color: #fff;
}

.rc-project-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(7, 20, 38, .13);
}

.detail-web .rc-project-topbar {
  border-bottom-color: rgba(7, 20, 38, .13);
}

.detail-mobile .rc-project-topbar {
  border-bottom-color: rgba(255, 255, 255, .16);
}

.rc-project-intro {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(300px, .75fr);
  gap: 58px;
  align-items: end;
  padding: 48px 0 38px;
}

.rc-project-intro h1 {
  margin: 0;
  max-width: 1000px;
  font-size: clamp(60px, 7vw, 116px);
  line-height: .88;
  letter-spacing: -.075em;
}

.rc-project-intro > p {
  margin: 0;
  max-width: 560px;
  color: rgba(7, 20, 38, .62);
  font-size: 17px;
  line-height: 1.7;
}

.detail-web .rc-project-intro > p {
  color: rgba(7, 20, 38, .62);
}

.detail-mobile .rc-project-intro > p {
  color: rgba(255, 255, 255, .68);
}

.rc-project-main-media {
  overflow: hidden;
  border: 13px solid #0b2b49;
  border-radius: 29px;
  background: #f2f6fa;
  box-shadow: 0 28px 70px rgba(9, 53, 88, .16);
}

.rc-browser-bar-large {
  min-height: 40px;
  border-radius: 14px 14px 0 0;
}

.rc-project-main-media > img {
  display: block;
  width: 100%;
  height: auto;
  max-height: none;
  object-fit: contain;
  background: #f2f6fa;
}

.rc-project-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 16px;
}

.rc-project-gallery-item {
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(10, 57, 95, .10);
  border-radius: 18px;
  background: #f5f8fb;
  box-shadow: 0 14px 38px rgba(17, 57, 88, .08);
}

.rc-project-gallery-item img {
  display: block;
  width: 100%;
  height: auto;
}

/* ---------- Tablet ---------- */
@media (max-width: 1180px) {
  .rc-hero-layout {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .rc-hero-copy {
    max-width: 850px;
  }

  .rc-showcase-stage {
    min-height: clamp(520px, 62vw, 650px);
  }

  .rc-project-intro {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .rc-project-intro > p {
    max-width: 760px;
  }
}

/* ---------- Mobile final: SIN posiciones absolutas / SIN solapamientos ---------- */
@media (max-width: 680px) {
  .shell {
    width: calc(100% - 28px) !important;
  }

  .rc-header-inner {
    min-height: 66px !important;
    gap: 12px;
  }

  .rc-brand {
    gap: 8px;
  }

  .rc-brand-mark {
    width: 36px;
    height: 36px;
    flex-basis: 36px;
    border-radius: 10px;
  }

  .rc-brand-wordmark {
    font-size: 16px;
    letter-spacing: -.04em;
  }

  .rc-menu-trigger {
    width: 42px;
    height: 42px;
  }

  .rc-menu-panel {
    top: calc(64px + env(safe-area-inset-top)) !important;
  }

  .rc-home-hero {
    min-height: auto !important;
    padding: 92px 0 34px !important;
  }

  .rc-hero-layout {
    display: block !important;
    min-height: 0 !important;
  }

  .rc-hero-copy {
    width: 100% !important;
    max-width: none !important;
    padding: 0 !important;
  }

  .rc-hero-eyebrow {
    gap: 12px;
    padding-bottom: 14px;
    font-size: 7px;
  }

  .rc-hero-copy h1 {
    margin-top: 24px !important;
    font-size: clamp(46px, 13vw, 62px) !important;
    line-height: .92 !important;
    letter-spacing: -.058em !important;
  }

  .rc-hero-copy h1 > strong {
    margin-top: 3px;
  }

  .rc-hero-description {
    display: -webkit-box;
    max-width: 100% !important;
    margin-top: 19px !important;
    overflow: hidden;
    color: rgba(231, 243, 253, .70);
    font-size: 14px !important;
    line-height: 1.58 !important;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
  }

  .rc-hero-capabilities {
    display: flex !important;
    gap: 8px !important;
    width: calc(100vw - 28px);
    max-width: none !important;
    margin-top: 20px !important;
    padding: 0 0 5px;
    overflow-x: auto;
    scroll-snap-type: x proximity;
    scrollbar-width: none;
  }

  .rc-hero-capabilities::-webkit-scrollbar {
    display: none;
  }

  .rc-hero-capabilities span {
    flex: 0 0 auto;
    min-height: 37px;
    padding: 0 11px;
    border: 1px solid rgba(65, 177, 255, .16);
    border-radius: 999px;
    background: rgba(17, 79, 132, .15);
    font-size: 10px !important;
    scroll-snap-align: start;
  }

  .rc-hero-capabilities i {
    width: 17px;
    height: 17px;
    flex-basis: 17px;
    border-radius: 6px;
  }

  .rc-hero-actions {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 9px !important;
    width: 100% !important;
    margin-top: 22px !important;
  }

  .rc-hero-actions .button {
    width: 100% !important;
    min-height: 49px !important;
    justify-content: center !important;
  }

  .rc-hero-showcase {
    width: 100% !important;
    min-height: 0 !important;
    margin-top: 34px !important;
    padding: 0 !important;
  }

  .rc-showcase-heading {
    margin-bottom: 11px;
    font-size: 8px;
  }

  .rc-showcase-stage {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 12px !important;
    min-height: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
  }

  .rc-showcase-card,
  .rc-showcase-gym,
  .rc-showcase-pos {
    position: relative !important;
    inset: auto !important;
    top: auto !important;
    right: auto !important;
    bottom: auto !important;
    left: auto !important;
    z-index: auto !important;
    width: 100% !important;
    max-width: 100% !important;
    transform: none !important;
    overflow: hidden !important;
    border-radius: 16px !important;
  }

  .rc-showcase-card:hover,
  .rc-showcase-gym:hover,
  .rc-showcase-pos:hover {
    transform: none !important;
  }

  .rc-showcase-label,
  .rc-showcase-label-orange {
    left: 9px !important;
    right: auto !important;
    top: 9px !important;
    min-height: 28px;
    padding: 0 8px;
    border-radius: 8px;
  }

  .rc-showcase-label strong {
    font-size: 8px;
  }

  .rc-showcase-image img {
    width: 100% !important;
    height: auto !important;
    max-height: none !important;
    object-fit: contain !important;
  }

  .rc-showcase-footer {
    margin-top: 12px;
    padding: 13px 14px;
    border-radius: 14px;
  }

  .rc-showcase-footer > div > span {
    font-size: 7px;
  }

  .rc-showcase-footer strong {
    font-size: 15px;
  }

  .rc-showcase-footer > a {
    font-size: 0;
  }

  .rc-showcase-footer > a svg {
    width: 20px;
    height: 20px;
  }

  /* Catálogo */
  .rc-project-row {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 22px !important;
    padding: 28px 0 !important;
  }

  .rc-project-row-copy h3 {
    margin-top: 24px !important;
    font-size: clamp(38px, 11vw, 52px) !important;
  }

  .rc-project-row-copy > p {
    display: -webkit-box;
    overflow: hidden;
    font-size: 13px !important;
    line-height: 1.6 !important;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
  }

  .rc-project-tags {
    display: none !important;
  }

  .rc-project-media {
    width: 100% !important;
    border-radius: 16px;
  }

  .rc-browser-bar {
    min-height: 30px;
    padding: 0 9px;
  }

  .rc-browser-bar small {
    font-size: 7px;
  }

  .rc-project-media > img {
    width: 100% !important;
    height: auto !important;
    max-height: none !important;
  }

  /* Detalle */
  .rc-project-detail {
    padding: 92px 0 54px !important;
  }

  .rc-project-topbar {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }

  .rc-project-intro {
    display: block !important;
    padding: 30px 0 24px !important;
  }

  .rc-project-intro h1 {
    font-size: clamp(45px, 13vw, 62px) !important;
    line-height: .92 !important;
  }

  .rc-project-intro > p {
    display: -webkit-box;
    margin-top: 17px !important;
    overflow: hidden;
    font-size: 14px !important;
    line-height: 1.6 !important;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
  }

  .rc-project-main-media {
    border-width: 7px !important;
    border-radius: 18px !important;
  }

  .rc-browser-bar-large {
    min-height: 30px !important;
  }

  .rc-project-main-media > img {
    display: block !important;
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    object-fit: contain !important;
  }

  .rc-project-gallery {
    display: flex !important;
    gap: 10px !important;
    margin-top: 12px !important;
    padding-bottom: 7px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }

  .rc-project-gallery::-webkit-scrollbar {
    display: none;
  }

  .rc-project-gallery-item {
    flex: 0 0 88%;
    border-radius: 14px;
    scroll-snap-align: start;
  }

  .rc-project-gallery-item img {
    width: 100% !important;
    height: auto !important;
  }
}

@media (max-width: 380px) {
  .shell {
    width: calc(100% - 20px) !important;
  }

  .rc-brand-wordmark {
    font-size: 14px;
  }

  .rc-brand-mark {
    width: 34px;
    height: 34px;
    flex-basis: 34px;
  }

  .rc-hero-copy h1 {
    font-size: clamp(43px, 13.5vw, 56px) !important;
  }

  .rc-hero-description {
    font-size: 13px !important;
  }
}


/* =====================================================================
   RexCoreSolutions 3.4 — imágenes de proyectos sin deformación
   Mantiene estrictamente la relación de aspecto real incluso con zoom.
   ===================================================================== */

/*
 * IMPORTANTE:
 * No dejamos que las capturas hereden height:100%, min-height,
 * flex-stretch ni aspect-ratio de componentes antiguos.
 */

/* Catálogo /proyectos ------------------------------------------------ */
.rc-project-media {
  height: auto !important;
  min-height: 0 !important;
  align-self: center !important;
}

.rc-project-media > .rc-browser-bar {
  height: 38px !important;
  min-height: 38px !important;
  flex: 0 0 38px !important;
}

.rc-project-media-image-frame {
  position: relative !important;
  display: block !important;
  width: 100% !important;
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
  overflow: hidden !important;
  background: #f3f7fb;
  contain: layout paint;
}

.rc-project-media-image-frame > img {
  position: absolute !important;
  inset: 0 !important;
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  min-width: 0 !important;
  min-height: 0 !important;
  max-width: 100% !important;
  max-height: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  object-fit: contain !important;
  object-position: center center !important;
  aspect-ratio: auto !important;
  transform: none !important;
  image-rendering: auto !important;
}

/* Detalle /proyectos/{slug} ----------------------------------------- */
.rc-project-main-media {
  width: 100% !important;
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
  display: block !important;
}

.rc-project-main-media > .rc-browser-bar-large {
  height: 40px !important;
  min-height: 40px !important;
  max-height: 40px !important;
  flex: 0 0 40px !important;
}

.rc-project-main-image-frame {
  position: relative !important;
  display: block !important;
  width: 100% !important;
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
  overflow: hidden !important;
  background: #f2f6fa;
  contain: layout paint;
}

.rc-project-main-image-frame > img {
  position: absolute !important;
  inset: 0 !important;
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  min-width: 0 !important;
  min-height: 0 !important;
  max-width: 100% !important;
  max-height: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  object-fit: contain !important;
  object-position: center center !important;
  aspect-ratio: auto !important;
  transform: none !important;
  image-rendering: auto !important;
}

/*
 * Evita que reglas antiguas dirigidas a hijos directos de los paneles
 * vuelvan a forzar alturas al aumentar el zoom del navegador.
 */
.rc-project-main-media > *,
.rc-project-media > * {
  box-sizing: border-box !important;
}

@media (max-width: 720px) {
  .rc-project-media > .rc-browser-bar {
    height: 31px !important;
    min-height: 31px !important;
    flex-basis: 31px !important;
  }

  .rc-project-main-media > .rc-browser-bar-large {
    height: 31px !important;
    min-height: 31px !important;
    max-height: 31px !important;
    flex-basis: 31px !important;
  }

  .rc-project-main-media {
    border-width: 6px !important;
    border-radius: 16px !important;
  }

  .rc-project-main-image-frame,
  .rc-project-media-image-frame {
    width: 100% !important;
    max-width: 100% !important;
  }
}


/* =====================================================================
   RexCoreSolutions 3.4.2 — corrección título POS en proyectos destacados
   Evita que "multiplataforma" invada o quede debajo de la captura.
   ===================================================================== */

/* Damos un poco más de espacio real a la columna de texto. */
@media (min-width: 1321px) {
  .featured-system {
    grid-template-columns:
      minmax(360px, 36%)
      minmax(0, 64%) !important;
    gap: 34px !important;
  }

  .featured-system-copy {
    min-width: 0 !important;
    max-width: 100% !important;
    overflow: hidden !important;
  }

  .featured-system h3 {
    max-width: 100% !important;
    min-width: 0 !important;
    overflow: hidden !important;
    text-wrap: balance;
  }

  /* El nombre del POS es considerablemente más largo que el del Gym. */
  .featured-system-orange h3 {
    font-size: clamp(40px, 3.15vw, 58px) !important;
    line-height: .96 !important;
    letter-spacing: -.055em !important;
    overflow-wrap: break-word !important;
    word-break: normal !important;
  }
}

/* Laptop / zoom alto: apilamos antes de que texto e imagen puedan competir. */
@media (max-width: 1450px) and (min-width: 981px) {
  .featured-system {
    grid-template-columns:
      minmax(330px, 39%)
      minmax(0, 61%) !important;
    gap: 25px !important;
  }

  .featured-system h3 {
    font-size: clamp(38px, 3.5vw, 54px) !important;
    overflow-wrap: break-word !important;
  }

  .featured-system-orange h3 {
    font-size: clamp(36px, 3.25vw, 50px) !important;
  }
}

/* En tablet se apila texto arriba e imagen abajo. */
@media (max-width: 980px) {
  .featured-system {
    grid-template-columns: 1fr !important;
  }

  .featured-system-copy {
    width: 100% !important;
    min-width: 0 !important;
  }

  .featured-system h3,
  .featured-system-orange h3 {
    width: 100% !important;
    max-width: 760px !important;
    overflow: visible !important;
    overflow-wrap: normal !important;
    word-break: normal !important;
  }
}

/* Móvil: tamaño compacto y sin palabras invadiendo las capturas. */
@media (max-width: 720px) {
  .featured-system h3,
  .featured-system-orange h3 {
    max-width: 100% !important;
    font-size: clamp(37px, 10.7vw, 50px) !important;
    line-height: .97 !important;
    letter-spacing: -.052em !important;
    text-wrap: balance;
  }

  .featured-system-orange h3 {
    overflow-wrap: break-word !important;
  }
}


/* =====================================================================
   RexCoreSolutions 3.5 — FIX DEFINITIVO DE CAPTURAS EN MÓVIL
   La imagen vuelve a usar su proporción intrínseca real. No usamos
   position:absolute ni aspect-ratio artificial en las capturas.
   ===================================================================== */

/* Catálogo de proyectos */
.rc-project-media {
  display: block !important;
  width: 100% !important;
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
  overflow: hidden !important;
  align-self: center !important;
}

.rc-project-media > .rc-browser-bar {
  display: flex !important;
  width: 100% !important;
  height: 38px !important;
  min-height: 38px !important;
  max-height: 38px !important;
  flex: none !important;
}

.rc-project-media-image-natural {
  position: static !important;
  inset: auto !important;
  display: block !important;
  width: 100% !important;
  height: auto !important;
  min-width: 0 !important;
  min-height: 0 !important;
  max-width: 100% !important;
  max-height: none !important;
  margin: 0 !important;
  padding: 0 !important;
  object-fit: contain !important;
  object-position: center top !important;
  aspect-ratio: auto !important;
  transform: none !important;
  flex: none !important;
}

/* Detalle de proyecto */
.rc-project-main-media {
  display: block !important;
  width: 100% !important;
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
  overflow: hidden !important;
}

.rc-project-main-media > .rc-browser-bar-large {
  display: flex !important;
  width: 100% !important;
  height: 40px !important;
  min-height: 40px !important;
  max-height: 40px !important;
  flex: none !important;
}

.rc-project-main-image-natural {
  position: static !important;
  inset: auto !important;
  display: block !important;
  width: 100% !important;
  height: auto !important;
  min-width: 0 !important;
  min-height: 0 !important;
  max-width: 100% !important;
  max-height: none !important;
  margin: 0 !important;
  padding: 0 !important;
  object-fit: contain !important;
  object-position: center top !important;
  aspect-ratio: auto !important;
  transform: none !important;
  flex: none !important;
}

/* Los wrappers de la versión anterior quedan anulados aunque el navegador
   conserve parte del DOM/CSS en caché durante una recarga intermedia. */
.rc-project-media-image-frame,
.rc-project-main-image-frame {
  display: contents !important;
  width: auto !important;
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
  aspect-ratio: auto !important;
}

@media (max-width: 720px) {
  .rc-project-media {
    border-radius: 16px !important;
  }

  .rc-project-media > .rc-browser-bar {
    height: 31px !important;
    min-height: 31px !important;
    max-height: 31px !important;
  }

  .rc-project-main-media {
    border-width: 6px !important;
    border-radius: 16px !important;
  }

  .rc-project-main-media > .rc-browser-bar-large {
    height: 31px !important;
    min-height: 31px !important;
    max-height: 31px !important;
  }

  .rc-project-media-image-natural,
  .rc-project-main-image-natural {
    width: 100% !important;
    height: auto !important;
    max-width: 100% !important;
    max-height: none !important;
  }
}
