/* ============================================================
   DISPERSIÓN S.A.S. — "Prisma" redesign
   Concept: light dispersed through a prism into a spectrum
   ============================================================ */

/* vietnamese */
@font-face {
  font-family: 'Bricolage Grotesque';
  font-style: normal;
  font-weight: 400 800;
  font-stretch: 100%;
  font-display: swap;
  src: url("/static/fonts/9c5e8fe4.woff2") format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'Bricolage Grotesque';
  font-style: normal;
  font-weight: 400 800;
  font-stretch: 100%;
  font-display: swap;
  src: url("/static/fonts/0c3f520e.woff2") format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Bricolage Grotesque';
  font-style: normal;
  font-weight: 400 800;
  font-stretch: 100%;
  font-display: swap;
  src: url("/static/fonts/617a6e2b.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* cyrillic-ext */
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/static/fonts/bb90ec69.woff2") format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/static/fonts/019891ed.woff2") format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* greek */
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/static/fonts/9875dcd0.woff2") format('woff2');
  unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
}
/* vietnamese */
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/static/fonts/3ccb0352.woff2") format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/static/fonts/e237b046.woff2") format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/static/fonts/c97de502.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* cyrillic-ext */
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/static/fonts/bb90ec69.woff2") format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/static/fonts/019891ed.woff2") format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* greek */
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/static/fonts/9875dcd0.woff2") format('woff2');
  unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
}
/* vietnamese */
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/static/fonts/3ccb0352.woff2") format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/static/fonts/e237b046.woff2") format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/static/fonts/c97de502.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* cyrillic-ext */
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/static/fonts/bb90ec69.woff2") format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/static/fonts/019891ed.woff2") format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* greek */
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/static/fonts/9875dcd0.woff2") format('woff2');
  unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
}
/* vietnamese */
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/static/fonts/3ccb0352.woff2") format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/static/fonts/e237b046.woff2") format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/static/fonts/c97de502.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* cyrillic-ext */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/static/fonts/cdf3b2fd.woff2") format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/static/fonts/167d1e18.woff2") format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* greek */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/static/fonts/61694bdf.woff2") format('woff2');
  unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
}
/* vietnamese */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/static/fonts/9d347a17.woff2") format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/static/fonts/8dfe4da5.woff2") format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/static/fonts/47548ed2.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* cyrillic-ext */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/static/fonts/cdf3b2fd.woff2") format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/static/fonts/167d1e18.woff2") format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* greek */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/static/fonts/61694bdf.woff2") format('woff2');
  unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
}
/* vietnamese */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/static/fonts/9d347a17.woff2") format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/static/fonts/8dfe4da5.woff2") format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/static/fonts/47548ed2.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* cyrillic-ext */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/static/fonts/cdf3b2fd.woff2") format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/static/fonts/167d1e18.woff2") format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* greek */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/static/fonts/61694bdf.woff2") format('woff2');
  unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
}
/* vietnamese */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/static/fonts/9d347a17.woff2") format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/static/fonts/8dfe4da5.woff2") format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/static/fonts/47548ed2.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* cyrillic-ext */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/static/fonts/cdf3b2fd.woff2") format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/static/fonts/167d1e18.woff2") format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* greek */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/static/fonts/61694bdf.woff2") format('woff2');
  unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
}
/* vietnamese */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/static/fonts/9d347a17.woff2") format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/static/fonts/8dfe4da5.woff2") format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/static/fonts/47548ed2.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}


:root{
  /* canvas */
  --bg:        #0A0610;
  --bg-2:      #120A1A;
  --bg-3:      #1A0F24;
  --ink:       #F5EEFA;
  --muted:     #B6A6C4;
  --faint:     #7E6E8E;
  --line:      rgba(255,255,255,.09);
  --line-2:    rgba(255,255,255,.05);
  --surface:   rgba(255,255,255,.035);
  --surface-2: rgba(255,255,255,.06);

  /* spectrum — the brand */
  --cyan:    #5FD0EC;
  --blue:    #5E8CF2;
  --violet:  #A371EC;
  --magenta: #EE2C90;
  --rose:    #FF5FA2;
  --green:   #46E08A;
  --amber:   #FFC24B;

  --spectrum: linear-gradient(90deg,#5FD0EC 0%,#5E8CF2 22%,#A371EC 44%,#EE2C90 68%,#FF5FA2 82%,#FFC24B 100%);
  --spectrum-cool: linear-gradient(90deg,#5FD0EC,#5E8CF2,#A371EC);

  --shadow-glow: 0 0 0 1px rgba(255,255,255,.04), 0 24px 70px -28px rgba(238,44,144,.45);

  --font-display:'Bricolage Grotesque', sans-serif;
  --font-body:'Manrope', sans-serif;
  --font-mono:'JetBrains Mono', monospace;

  --maxw: 1240px;
  --gut: clamp(20px, 5vw, 64px);
}

*{box-sizing:border-box; margin:0; padding:0}
html{scroll-behavior:smooth; -webkit-font-smoothing:antialiased}
body{
  background:var(--bg);
  color:var(--ink);
  font-family:var(--font-body);
  font-size:17px;
  line-height:1.6;
  overflow-x:hidden;
  position:relative;
}
img{display:block; max-width:100%}
a{color:inherit; text-decoration:none}
button{font-family:inherit; cursor:pointer}
::selection{background:var(--magenta); color:#fff}

/* page-wide ambient grain + vignette */
body::before{
  content:""; position:fixed; inset:0; z-index:0; pointer-events:none;
  background:
    radial-gradient(120% 90% at 80% -10%, rgba(238,44,144,.10), transparent 55%),
    radial-gradient(90% 70% at 0% 10%, rgba(95,208,236,.08), transparent 55%),
    radial-gradient(100% 100% at 50% 120%, rgba(70,224,138,.06), transparent 60%);
}
.grain{
  position:fixed; inset:0; z-index:1; pointer-events:none; opacity:.05; mix-blend-mode:screen;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.wrap{max-width:var(--maxw); margin:0 auto; padding-inline:var(--gut); position:relative; z-index:2}

/* ---------- shared type ---------- */
.eyebrow{
  display:inline-flex; align-items:center; gap:.6em;
  font-family:var(--font-mono); font-size:13px; letter-spacing:.06em;
  color:var(--green); text-transform:uppercase;
}
.eyebrow::before{content:"//"; color:var(--faint)}
h1,h2,h3{font-family:var(--font-display); font-weight:700; line-height:1.02; letter-spacing:-.02em}
.section{padding:clamp(80px,12vh,150px) 0; position:relative; z-index:2}
.section-head{max-width:780px; margin-bottom:clamp(40px,6vh,72px)}
.section-head h2{
  font-size:clamp(38px,6vw,76px); margin:18px 0 0; font-weight:800;
}
.section-head p{margin-top:20px; color:var(--muted); font-size:clamp(17px,2vw,21px); max-width:62ch; text-wrap:pretty}

.spectrum-text{
  background:var(--spectrum); -webkit-background-clip:text; background-clip:text; color:transparent;
}

/* ---------- buttons ---------- */
.btn{
  position:relative; display:inline-flex; align-items:center; gap:.6em;
  padding:15px 26px; border-radius:14px; font-weight:600; font-size:15px;
  border:1px solid transparent; transition:transform .25s, box-shadow .3s, background .3s, color .3s;
  will-change:transform; white-space:nowrap;
}
.btn .ico{width:18px; height:18px; display:grid; place-items:center}
.btn-primary{
  color:#fff;
  background:linear-gradient(120deg,var(--magenta),var(--rose));
  box-shadow:0 12px 40px -14px rgba(238,44,144,.8), inset 0 1px 0 rgba(255,255,255,.25);
}
.btn-primary:hover{box-shadow:0 18px 56px -14px rgba(238,44,144,.95), inset 0 1px 0 rgba(255,255,255,.35)}
.btn-ghost{background:var(--surface); border-color:var(--line); color:var(--ink)}
.btn-ghost:hover{background:var(--surface-2); border-color:rgba(255,255,255,.2)}
.btn-wa{background:rgba(70,224,138,.08); border-color:rgba(70,224,138,.35); color:var(--green)}
.btn-wa:hover{background:rgba(70,224,138,.16); box-shadow:0 12px 40px -16px rgba(70,224,138,.6)}
.btn-lg{padding:18px 34px; font-size:16px; border-radius:16px}

/* ============================================================
   NAV
   ============================================================ */
.nav{
  position:fixed; top:0; left:0; right:0; z-index:60;
  display:flex; align-items:center; justify-content:space-between;
  padding:18px var(--gut); transition:padding .3s, background .3s, border-color .3s;
  border-bottom:1px solid transparent;
}
.nav.scrolled{
  padding-block:12px; background:rgba(10,6,16,.72); backdrop-filter:blur(18px) saturate(1.4);
  border-bottom:1px solid var(--line-2);
}
.brand{display:flex; align-items:center; gap:12px; font-family:var(--font-display); font-weight:700; letter-spacing:-.01em}
.brand img{height:42px; width:auto; filter:drop-shadow(0 2px 10px rgba(120,180,255,.35)) drop-shadow(0 0 1px rgba(255,255,255,.5))}
.brand .nm{font-size:18px}
.brand .nm small{display:block; font-family:var(--font-mono); font-size:9.5px; letter-spacing:.34em; color:var(--faint); font-weight:500; margin-top:2px}
.nav-links{display:flex; align-items:center; gap:6px}
.nav-links a{
  position:relative; padding:9px 14px; border-radius:9px; font-size:14.5px; color:var(--muted); font-weight:500;
  transition:color .2s, background .2s; white-space:nowrap;
}
.nav-links a::after{
  content:""; position:absolute; left:14px; right:14px; bottom:5px; height:1.5px;
  background:var(--spectrum); transform:scaleX(0); transform-origin:left; transition:transform .3s;
}
.nav-links a:hover{color:var(--ink)}
.nav-links a:hover::after{transform:scaleX(1)}
.nav-cta{margin-left:8px}
.nav-burger{display:none; width:44px; height:44px; border-radius:11px; background:var(--surface); border:1px solid var(--line); place-items:center}
.nav-burger span{width:18px; height:2px; background:var(--ink); position:relative; transition:.3s}
.nav-burger span::before,.nav-burger span::after{content:""; position:absolute; left:0; width:18px; height:2px; background:var(--ink); transition:.3s}
.nav-burger span::before{top:-6px}.nav-burger span::after{top:6px}

/* ============================================================
   HERO
   ============================================================ */
.hero{position:relative; min-height:100svh; display:flex; align-items:center; overflow:hidden; padding-top:90px}
#prism{position:absolute; inset:0; width:100%; height:100%; z-index:0; opacity:.95}
.hero-glyphs{position:absolute; inset:0; z-index:1; pointer-events:none}
.hero-glyphs span{
  position:absolute; font-family:var(--font-mono); font-weight:700; color:rgba(255,255,255,.05);
  user-select:none; will-change:transform;
}
.hero-inner{position:relative; z-index:3; width:100%; text-align:center; padding-block:40px}
.hero .badge{
  display:inline-flex; align-items:center; gap:10px; padding:9px 16px; border-radius:999px;
  background:rgba(255,255,255,.04); border:1px solid var(--line); font-family:var(--font-mono); font-size:13.5px;
  color:var(--muted); margin-bottom:34px;
}
.hero .badge .dot{width:8px; height:8px; border-radius:50%; background:var(--green); box-shadow:0 0 0 0 rgba(70,224,138,.6); animation:pulse 2.4s infinite}
.hero .badge .cursor{color:var(--green)}
@keyframes pulse{0%{box-shadow:0 0 0 0 rgba(70,224,138,.5)}70%{box-shadow:0 0 0 9px rgba(70,224,138,0)}100%{box-shadow:0 0 0 0 rgba(70,224,138,0)}}

.hero h1{
  font-size:clamp(28px,5.4vw,74px); font-weight:800; letter-spacing:-.03em; line-height:1.06;
  margin:0 auto;
}
.hero h1 .line{display:block; white-space:nowrap}
.hero h1 .chroma{
  position:relative;
  text-shadow:-2px 1px 0 rgba(95,208,236,.4), 2px -1px 0 rgba(238,44,144,.4);
  animation:chroma 5s ease-in-out infinite;
}
@keyframes chroma{
  0%,100%{text-shadow:-2px 1px 0 rgba(95,208,236,.4), 2px -1px 0 rgba(238,44,144,.4)}
  50%{text-shadow:-4px -1px 0 rgba(95,208,236,.45), 4px 1px 0 rgba(238,44,144,.45)}
}

.hero p.lead{margin:30px auto 0; max-width:60ch; color:var(--muted); font-size:clamp(17px,2.1vw,22px); text-wrap:pretty}
.hero-cta{display:flex; gap:14px; justify-content:center; flex-wrap:wrap; margin-top:42px}
.scroll-hint{position:absolute; left:50%; bottom:26px; transform:translateX(-50%); z-index:3; display:flex; flex-direction:column; align-items:center; gap:8px; font-family:var(--font-mono); font-size:11px; letter-spacing:.2em; color:var(--faint); text-transform:uppercase}
.scroll-hint .bar{width:1px; height:42px; background:linear-gradient(var(--faint),transparent); animation:drop 2s infinite}
@keyframes drop{0%{transform:scaleY(0); transform-origin:top}50%{transform:scaleY(1); transform-origin:top}50.1%{transform-origin:bottom}100%{transform:scaleY(0); transform-origin:bottom}}

/* ---------- spectrum marquee ---------- */
.marquee{border-block:1px solid var(--line-2); background:rgba(255,255,255,.015); overflow:hidden; padding:20px 0; position:relative; z-index:2}
.marquee-track{display:flex; gap:46px; width:max-content; animation:scroll-x 32s linear infinite}
.marquee:hover .marquee-track{animation-play-state:paused}
.marquee-track .it{display:flex; align-items:center; gap:46px; font-family:var(--font-mono); font-size:15px; color:var(--muted); white-space:nowrap}
.marquee-track .it b{color:var(--ink); font-weight:500}
.marquee-track .sep{width:7px; height:7px; border-radius:50%; background:var(--spectrum)}
@keyframes scroll-x{to{transform:translateX(-50%)}}

/* ============================================================
   NOSOTROS
   ============================================================ */
.about{display:grid; grid-template-columns:1.05fr .95fr; gap:clamp(36px,5vw,80px); align-items:center}
.about-copy h2{font-size:clamp(34px,5vw,62px); font-weight:800; margin:16px 0 0}
.about-copy p{color:var(--muted); margin-top:22px; font-size:18px; text-wrap:pretty}
.about-stats{display:flex; gap:30px; margin-top:36px; flex-wrap:wrap}
.about-stats .st b{font-family:var(--font-display); font-size:34px; font-weight:800; display:block; line-height:1}
.about-stats .st span{font-family:var(--font-mono); font-size:12px; color:var(--faint); text-transform:uppercase; letter-spacing:.08em}

/* terminal */
.terminal{
  border-radius:18px; background:linear-gradient(180deg,rgba(20,12,28,.95),rgba(12,7,18,.95));
  border:1px solid var(--line); box-shadow:0 40px 100px -50px rgba(0,0,0,.9), var(--shadow-glow);
  overflow:hidden; font-family:var(--font-mono);
}
.terminal .bar{display:flex; align-items:center; gap:8px; padding:13px 16px; border-bottom:1px solid var(--line-2); background:rgba(255,255,255,.02)}
.terminal .bar i{width:11px; height:11px; border-radius:50%; display:block}
.terminal .bar i:nth-child(1){background:#ff5f57}.terminal .bar i:nth-child(2){background:#febc2e}.terminal .bar i:nth-child(3){background:#28c840}
.terminal .bar .ttl{margin-left:10px; font-size:12px; color:var(--faint)}
.terminal .body{padding:22px; font-size:13.5px; line-height:2; min-height:300px}
.terminal .ln{display:block; white-space:pre-wrap}
.terminal .pr{color:var(--green)}
.terminal .cm{color:var(--cyan)}
.terminal .st{color:var(--magenta)}
.terminal .ok{color:var(--green)}
.terminal .dim{color:var(--faint)}
.term-cursor{display:inline-block; width:8px; height:15px; background:var(--green); vertical-align:-2px; animation:blink 1s steps(1) infinite}
@keyframes blink{50%{opacity:0}}

/* ============================================================
   SERVICIOS
   ============================================================ */
.serv-grid{display:grid; grid-template-columns:repeat(4,1fr); gap:16px}
.serv-card{
  position:relative; padding:26px 24px 30px; border-radius:18px; background:var(--surface);
  border:1px solid var(--line); overflow:hidden; min-height:230px; display:flex; flex-direction:column;
  transition:transform .3s cubic-bezier(.2,.7,.3,1), border-color .3s, background .3s;
  will-change:transform;
}
.serv-card::before{
  content:""; position:absolute; inset:0; opacity:0; transition:opacity .35s;
  background:radial-gradient(380px 300px at var(--mx,50%) var(--my,0%), color-mix(in srgb, var(--c) 22%, transparent), transparent 65%);
}
.serv-card::after{
  content:""; position:absolute; left:0; top:0; height:3px; width:100%; transform:scaleX(0); transform-origin:left;
  background:var(--c); transition:transform .4s; box-shadow:0 0 20px var(--c);
}
.serv-card:hover{transform:translateY(-6px); border-color:color-mix(in srgb,var(--c) 45%, transparent)}
.serv-card:hover::before{opacity:1}
.serv-card:hover::after{transform:scaleX(1)}
.serv-glyph{
  font-family:var(--font-mono); font-weight:700; font-size:22px; width:50px; height:50px; border-radius:13px;
  display:grid; place-items:center; color:var(--c); background:color-mix(in srgb,var(--c) 12%, transparent);
  border:1px solid color-mix(in srgb,var(--c) 30%, transparent); margin-bottom:auto; position:relative; z-index:2;
}
.serv-card h3{font-size:19px; font-weight:700; margin:20px 0 8px; position:relative; z-index:2; letter-spacing:-.01em}
.serv-card p{font-size:13.5px; color:var(--muted); line-height:1.55; position:relative; z-index:2}
.serv-no{position:absolute; top:22px; right:22px; font-family:var(--font-mono); font-size:12px; color:var(--faint); z-index:2}

/* ============================================================
   POR QUÉ — value
   ============================================================ */
.why{display:grid; grid-template-columns:1fr 1fr; gap:clamp(30px,4vw,64px); align-items:start}
.why-list{display:flex; flex-direction:column; gap:2px}
.why-item{
  display:flex; align-items:center; gap:18px; padding:20px 8px; border-bottom:1px solid var(--line-2);
  transition:padding-left .3s; position:relative;
}
.why-item:hover{padding-left:20px}
.why-item .idx{font-family:var(--font-mono); font-size:12px; color:var(--faint); width:30px}
.why-item .bead{width:10px; height:10px; border-radius:50%; flex:none; box-shadow:0 0 14px currentColor}
.why-item span.t{font-size:17.5px; font-weight:500; color:var(--ink)}
.why-item::after{content:"→"; margin-left:auto; color:var(--faint); opacity:0; transform:translateX(-8px); transition:.3s; font-family:var(--font-mono)}
.why-item:hover::after{opacity:1; transform:translateX(0)}
.quote-card{
  align-self:stretch; border-radius:22px; padding:clamp(32px,4vw,46px); position:relative; overflow:hidden;
  background:linear-gradient(155deg,rgba(238,44,144,.14),rgba(95,208,236,.08) 60%,rgba(70,224,138,.08));
  border:1px solid var(--line);
}
.quote-card .mark{font-family:var(--font-display); font-size:120px; line-height:.6; color:var(--magenta); opacity:.55}
.quote-card blockquote{font-family:var(--font-display); font-weight:600; font-size:clamp(22px,2.6vw,30px); line-height:1.25; margin-top:6px; letter-spacing:-.01em; text-wrap:balance}
.quote-card .sig{margin-top:26px; font-family:var(--font-mono); font-size:13px; color:var(--muted); display:flex; align-items:center; gap:10px}
.quote-card .sig img{height:26px; opacity:.9}

/* ============================================================
   PROCESO
   ============================================================ */
.proc{position:relative}
.proc-track{display:grid; grid-template-columns:repeat(4,1fr); gap:18px; position:relative}
.proc-line{position:absolute; top:34px; left:6%; right:6%; height:2px; background:var(--line); overflow:hidden; z-index:0}
.proc-line i{position:absolute; inset:0; background:var(--spectrum); transform:scaleX(0); transform-origin:left; transition:transform 1.2s ease}
.proc.in .proc-line i{transform:scaleX(1)}
.proc-step{position:relative; z-index:1}
.proc-step .num{
  width:68px; height:68px; border-radius:18px; display:grid; place-items:center; font-family:var(--font-display);
  font-weight:800; font-size:26px; background:var(--bg-2); border:1px solid var(--line); color:var(--ink);
  position:relative; transition:.35s;
}
.proc-step:hover .num{border-color:var(--magenta); color:var(--magenta); box-shadow:0 0 30px -6px rgba(238,44,144,.6); transform:translateY(-4px)}
.proc-step h3{font-size:20px; font-weight:700; margin:22px 0 8px}
.proc-step p{color:var(--muted); font-size:14.5px}

/* ============================================================
   CTA BAND
   ============================================================ */
.cta-band{position:relative; border-radius:28px; padding:clamp(48px,7vw,90px) clamp(28px,5vw,72px); overflow:hidden; text-align:center; border:1px solid var(--line); background:var(--bg-2)}
.cta-band .beam{position:absolute; inset:0; z-index:0; opacity:.9}
.cta-band h2{position:relative; z-index:2; font-size:clamp(32px,5vw,62px); font-weight:800; max-width:18ch; margin:0 auto; line-height:1.04}
.cta-band p{position:relative; z-index:2; color:var(--muted); max-width:58ch; margin:22px auto 0; font-size:18px}
.cta-band .row{position:relative; z-index:2; margin-top:36px; display:flex; gap:14px; justify-content:center; flex-wrap:wrap}

/* ============================================================
   CONTACTO
   ============================================================ */
.contact{display:grid; grid-template-columns:.9fr 1.1fr; gap:clamp(32px,5vw,70px); align-items:start}
.contact-info .ci{display:flex; gap:16px; padding:18px 0; border-bottom:1px solid var(--line-2); align-items:flex-start}
.contact-info .ci .k{font-family:var(--font-mono); font-size:11.5px; color:var(--faint); text-transform:uppercase; letter-spacing:.08em; width:96px; flex:none; padding-top:3px}
.contact-info .ci .v{font-size:16.5px}
.contact-info .ci .v a{color:var(--cyan)}
.contact-info .ci .v a:hover{text-decoration:underline}
.form{border-radius:22px; padding:clamp(26px,3vw,38px); background:var(--surface); border:1px solid var(--line)}
.field{margin-bottom:18px}
.field label{display:block; font-family:var(--font-mono); font-size:12px; color:var(--muted); margin-bottom:8px; letter-spacing:.04em}
.field input,.field textarea{
  width:100%; padding:14px 16px; border-radius:12px; background:rgba(0,0,0,.28); border:1px solid var(--line);
  color:var(--ink); font-family:var(--font-body); font-size:15.5px; transition:border-color .25s, box-shadow .25s; resize:vertical;
}
.field input:focus,.field textarea:focus{outline:none; border-color:var(--magenta); box-shadow:0 0 0 4px rgba(238,44,144,.14)}
.field textarea{min-height:130px}
.form .btn{width:100%; justify-content:center}
.form-note{margin-top:14px; font-family:var(--font-mono); font-size:12px; color:var(--faint); text-align:center}

/* ============================================================
   FOOTER
   ============================================================ */
.footer{border-top:1px solid var(--line-2); padding:70px 0 40px; position:relative; z-index:2}
.footer-top{display:grid; grid-template-columns:1.4fr 1fr 1fr; gap:40px}
.footer .brand img{height:54px; width:auto}
.footer-col h4{font-family:var(--font-mono); font-size:12px; text-transform:uppercase; letter-spacing:.1em; color:var(--faint); margin-bottom:18px; font-weight:500}
.footer-col a,.footer-col p{display:block; color:var(--muted); font-size:15px; padding:5px 0; transition:color .2s}
.footer-col a:hover{color:var(--ink)}
.footer .tag{color:var(--muted); font-size:15px; margin:18px 0 0; max-width:38ch}
.socials{display:flex; gap:10px; margin-top:18px}
.socials a{width:40px; height:40px; border-radius:11px; display:grid; place-items:center; background:var(--surface); border:1px solid var(--line); font-family:var(--font-mono); font-size:12px; color:var(--muted); transition:.25s}
.socials a:hover{color:var(--ink); border-color:var(--magenta); transform:translateY(-3px)}
.footer-bottom{display:flex; justify-content:space-between; align-items:center; gap:20px; margin-top:54px; padding-top:26px; border-top:1px solid var(--line-2); flex-wrap:wrap; color:var(--faint); font-family:var(--font-mono); font-size:12.5px}
.footer-bottom .nit{color:var(--muted)}

/* floating whatsapp */
.wa-float{position:fixed; right:22px; bottom:22px; z-index:70; width:60px; height:60px; border-radius:50%; display:grid; place-items:center; background:#25D366; box-shadow:0 14px 40px -10px rgba(37,211,102,.7); transition:transform .25s}
.wa-float:hover{transform:scale(1.08)}
.wa-float svg{width:30px; height:30px}
.wa-float::after{content:""; position:absolute; inset:0; border-radius:50%; border:2px solid #25D366; animation:ring 2.4s infinite}
@keyframes ring{0%{transform:scale(1); opacity:.7}100%{transform:scale(1.7); opacity:0}}

/* ---------- reveal (aparicion al hacer scroll) ----------
   Curva "ease-out expo" para un frenado suave y profesional.
   Combina fundido + desplazamiento + leve escala + desenfoque. */
.reveal{
  opacity:0;
  transform:translateY(40px) scale(.98);
  filter:blur(8px);
  transition:opacity .9s cubic-bezier(.16,1,.3,1),
             transform 1s cubic-bezier(.16,1,.3,1),
             filter .9s ease;
  will-change:opacity, transform;
}
.reveal.in{opacity:1; transform:none; filter:none}
/* Retardos escalonados para que los elementos entren en cascada */
.reveal[data-d="1"]{transition-delay:.09s}
.reveal[data-d="2"]{transition-delay:.18s}
.reveal[data-d="3"]{transition-delay:.27s}
.reveal[data-d="4"]{transition-delay:.36s}
.reveal[data-d="5"]{transition-delay:.45s}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width:1080px){
  .serv-grid{grid-template-columns:repeat(2,1fr)}
  .about,.why,.contact{grid-template-columns:1fr}
  .proc-track{grid-template-columns:repeat(2,1fr); gap:34px 18px}
  .proc-line{display:none}
}
@media (max-width:760px){
  body{font-size:16px}
  .nav-links{display:none}
  .nav-burger{display:grid}
  .nav.open .nav-links{
    display:flex; flex-direction:column; align-items:stretch; gap:4px; position:absolute; top:100%; left:var(--gut); right:var(--gut);
    background:rgba(14,8,20,.97); backdrop-filter:blur(20px); border:1px solid var(--line); border-radius:16px; padding:14px; margin-top:8px;
  }
  .nav.open .nav-links a{padding:13px 14px}
  .nav.open .nav-cta{display:none}
  .hero{min-height:auto; padding-top:120px; padding-bottom:60px}
  .serv-grid{grid-template-columns:1fr}
  .footer-top{grid-template-columns:1fr; gap:32px}
  .footer-bottom{flex-direction:column; align-items:flex-start}
  .hero-cta .btn{flex:1 1 100%}
}
@media (max-height:720px){ .scroll-hint{display:none} }
@media (prefers-reduced-motion:reduce){
  /*
    Con "reducir movimiento" activo evitamos los movimientos grandes y
    parpadeos, PERO conservamos:
      - las animaciones continuas de marca (marquee, prisma, terminal),
      - una aparicion suave (fundido + desplazamiento minimo) al hacer scroll,
    para que el sitio siga sintiendose vivo y accesible a la vez.
  */
  *:not(.marquee-track):not(.chroma):not(.cursor):not(.dot):not(.spectrum-text):not(.bar):not(.reveal){
    animation-duration:.01ms !important;
    animation-iteration-count:1 !important;
    transition-duration:.01ms !important;
  }
  /* Garantiza que la tira deslizante siga moviendose siempre */
  .marquee-track{
    animation:scroll-x 32s linear infinite !important;
  }
  /* Aparicion accesible: fundido suave con un desplazamiento muy leve,
     sin escala ni desenfoque (mas comodo para quien es sensible al movimiento) */
  .reveal{
    filter:none !important;
    transform:translateY(16px);
    transition:opacity .7s ease, transform .7s ease !important;
  }
  .reveal.in{ transform:none; }
}


/* ============================================================
   FLASK FLASH MESSAGES (no parte del diseno original)
   ============================================================ */
.flash{
  padding:13px 16px;
  border-radius:10px;
  margin-bottom:18px;
  font-size:.92rem;
  font-family:var(--font-body);
}
.flash--ok{
  background:rgba(70,224,138,.10);
  border:1px solid rgba(70,224,138,.45);
  color:#7ee9a4;
}
.flash--error{
  background:rgba(238,44,144,.10);
  border:1px solid rgba(238,44,144,.45);
  color:#ff89bd;
}
.btn[disabled]{ opacity:.7; cursor:wait; }

/* ============================================================
   MEJORAS PREMIUM (progreso, glow, botones flotantes, foco)
   ============================================================ */

/* --- Barra de progreso de lectura --- */
.scroll-progress{
  position:fixed; top:0; left:0; right:0; height:3px; z-index:80;
  background:transparent; pointer-events:none;
}
.scroll-progress span{
  display:block; height:100%; width:100%;
  transform:scaleX(0); transform-origin:left;
  background:var(--spectrum);
  box-shadow:0 0 12px rgba(238,44,144,.55);
}

/* --- Botones flotantes (sonido + volver arriba) --- */
.fab-stack{
  position:fixed; z-index:60;
  left:calc(18px + env(safe-area-inset-left));
  bottom:calc(20px + env(safe-area-inset-bottom));
  display:flex; flex-direction:column; gap:12px;
}
.fab{
  width:46px; height:46px; border-radius:50%;
  display:grid; place-items:center; cursor:pointer;
  background:rgba(255,255,255,.05); border:1px solid var(--line); color:var(--muted);
  backdrop-filter:blur(10px);
  transition:transform .2s, color .2s, border-color .2s, background .2s, opacity .3s, visibility .3s;
}
.fab:hover{ transform:translateY(-2px); color:var(--ink); border-color:rgba(255,255,255,.25); }
.fab svg{ width:20px; height:20px; }
.sound-toggle.on{ color:var(--green); border-color:rgba(70,224,138,.5); background:rgba(70,224,138,.10); }
.sound-toggle .ico-on{ display:none; }
.sound-toggle.on .ico-on{ display:block; }
.sound-toggle.on .ico-off{ display:none; }
.to-top{ opacity:0; visibility:hidden; transform:translateY(8px); }
.to-top.show{ opacity:1; visibility:visible; transform:none; }

/* --- Foco accesible con teclado (navegación por Tab) --- */
:focus-visible{ outline:2px solid var(--violet); outline-offset:3px; border-radius:6px; }
a:focus-visible, .btn:focus-visible, .fab:focus-visible{ outline:2px solid var(--rose); outline-offset:3px; }

/* --- Brillo del color de acento al pasar sobre una tarjeta de servicio --- */
.serv-card{ transition:transform .3s, border-color .3s, box-shadow .35s, background .3s; }
.serv-card:hover{ box-shadow:0 26px 64px -32px var(--c, rgba(238,44,144,.5)); }

/* Mensaje de exito / error del formulario de contacto (Web3Forms) */
.form-msg{
  padding:13px 16px;
  border-radius:10px;
  margin-bottom:18px;
  font-size:.92rem;
  font-family:var(--font-body);
  line-height:1.5;
}
.form-msg--ok{
  background:rgba(70,224,138,.10);
  border:1px solid rgba(70,224,138,.45);
  color:#7ee9a4;
}
.form-msg--error{
  background:rgba(238,44,144,.10);
  border:1px solid rgba(238,44,144,.45);
  color:#ff89bd;
}

/* ============================================================
   Movil pequeno (iPhone SE / pantallas estrechas <= 480 px)
   ============================================================ */
@media (max-width: 480px){
  :root{ --gut: 16px; }
  .hero h1{ font-size: clamp(2rem, 11vw, 2.6rem); }
  .hero .lead{ font-size: .98rem; }
  .hero-cta .btn{ width:100%; }
  .nav{ padding: 12px 16px; }
  .brand img{ height: 38px; }
  .brand .nm{ font-size: .95rem; }
  .section{ padding: 56px 0; }
  .section-head h2, .about-copy h2{ font-size: clamp(1.7rem, 8vw, 2.2rem); }
  .serv-card{ padding: 22px 18px; }
  .quote-card{ padding: 22px 20px; }
  .quote-card blockquote{ font-size: 1rem; }
  .contact-info, .form{ padding: 22px 18px; }
  .footer-top{ gap: 22px; }
  .wa-float{ width: 52px; height: 52px; }
  .marquee{ font-size: .85rem; }
}

/* ============================================================
   PORTAFOLIO
   ============================================================ */
.port-grid{display:grid; grid-template-columns:repeat(3,1fr); gap:22px}
.port-card{
  position:relative; display:flex; flex-direction:column; overflow:hidden;
  border-radius:18px; background:var(--surface); border:1px solid var(--line);
  transition:transform .35s cubic-bezier(.2,.7,.3,1), border-color .35s, box-shadow .35s;
}
.port-card:hover{
  transform:translateY(-6px);
  border-color:color-mix(in srgb, var(--c) 45%, transparent);
  box-shadow:0 26px 64px -34px var(--c);
}
.port-thumb{
  position:relative; aspect-ratio:16/10; display:grid; place-items:center;
  background:linear-gradient(135deg,
     color-mix(in srgb, var(--c) 30%, #14101c),
     color-mix(in srgb, var(--c) 8%, #14101c));
  background-size:cover; background-position:center; overflow:hidden;
}
.port-thumb::after{
  content:""; position:absolute; inset:0;
  background:radial-gradient(120% 100% at 50% 0%, transparent, rgba(10,6,16,.35));
}
.port-thumb__glyph{
  font-family:var(--font-display); font-weight:800; font-size:clamp(48px,7vw,72px);
  color:color-mix(in srgb, var(--c) 70%, #fff); opacity:.9;
  text-shadow:0 6px 30px color-mix(in srgb, var(--c) 60%, transparent);
}
.port-cat{
  position:absolute; top:14px; left:14px; z-index:2;
  font-family:var(--font-mono); font-size:11px; letter-spacing:.02em;
  padding:5px 10px; border-radius:999px;
  background:rgba(10,6,16,.5); border:1px solid color-mix(in srgb, var(--c) 40%, transparent);
  color:#fff; backdrop-filter:blur(6px);
}
.port-body{padding:22px 22px 24px; display:flex; flex-direction:column; gap:10px; flex:1}
.port-body h3{font-size:19px; font-weight:700; letter-spacing:-.01em}
.port-body p{font-size:14px; color:var(--muted); line-height:1.55}
.port-tags{display:flex; flex-wrap:wrap; gap:7px; margin-top:auto; padding-top:6px}
.port-tags span{
  font-family:var(--font-mono); font-size:11px; color:var(--faint);
  padding:4px 9px; border-radius:7px; background:var(--surface-2); border:1px solid var(--line-2);
}
.port-link{
  margin-top:6px; font-weight:600; font-size:14px;
  color:color-mix(in srgb, var(--c) 75%, #fff);
}
.port-link:hover{text-decoration:underline}

/* ============================================================
   BLOG (tarjetas)
   ============================================================ */
.blog-grid{display:grid; grid-template-columns:repeat(3,1fr); gap:22px}
.blog-card{
  border-radius:18px; background:var(--surface); border:1px solid var(--line);
  overflow:hidden;
  transition:transform .35s cubic-bezier(.2,.7,.3,1), border-color .35s, box-shadow .35s;
}
.blog-card:hover{
  transform:translateY(-6px);
  border-color:color-mix(in srgb, var(--c) 45%, transparent);
  box-shadow:0 26px 64px -34px var(--c);
}
.blog-card__link{display:flex; flex-direction:column; gap:12px; padding:24px; height:100%}
.blog-card__top{display:flex; align-items:center; justify-content:space-between; gap:10px}
.blog-cat{
  font-family:var(--font-mono); font-size:11px; letter-spacing:.02em;
  padding:5px 10px; border-radius:999px;
  color:color-mix(in srgb, var(--c) 80%, #fff);
  background:color-mix(in srgb, var(--c) 12%, transparent);
  border:1px solid color-mix(in srgb, var(--c) 30%, transparent);
}
.blog-meta{font-family:var(--font-mono); font-size:12px; color:var(--faint)}
.blog-card h3{font-size:19px; font-weight:700; letter-spacing:-.01em; line-height:1.3}
.blog-card p{font-size:14px; color:var(--muted); line-height:1.55; flex:1}
.blog-more{font-weight:600; font-size:14px; color:color-mix(in srgb, var(--c) 78%, #fff)}
.blog-card:hover .blog-more{text-decoration:underline}
.blog-all{margin-top:36px; text-align:center}

/* ============================================================
   BLOG — pagina de lista (hero)
   ============================================================ */
.blog-hero{padding:calc(92px + 6vh) 0 4vh}
.blog-hero h1{
  font-family:var(--font-display); font-weight:800; letter-spacing:-.02em;
  font-size:clamp(2rem,5vw,3.4rem); margin-top:14px; line-height:1.05;
}
.blog-hero p{margin-top:18px; color:var(--muted); font-size:clamp(16px,2vw,20px); max-width:60ch}

/* ============================================================
   ARTICULO (post)
   ============================================================ */
.wrap--narrow{max-width:760px}
.post{padding:calc(92px + 5vh) 0 8vh}
.post-breadcrumb{display:flex; gap:10px; font-size:13px; color:var(--faint); font-family:var(--font-mono)}
.post-breadcrumb a:hover{color:var(--ink)}
.post-head{margin:24px 0 8px}
.post-meta{display:flex; align-items:center; gap:12px; flex-wrap:wrap; margin-bottom:18px}
.post-head h1{
  font-family:var(--font-display); font-weight:800; letter-spacing:-.02em;
  font-size:clamp(1.9rem,4.5vw,3rem); line-height:1.1;
}
/* Tipografia del cuerpo del articulo */
.post-body{margin-top:30px; font-size:17.5px; line-height:1.75; color:var(--ink)}
.post-body p{margin:0 0 20px; color:#e7ddf0}
.post-body h2{
  font-family:var(--font-display); font-weight:700; letter-spacing:-.01em;
  font-size:clamp(1.4rem,3vw,1.9rem); margin:38px 0 14px;
}
.post-body h3{font-size:clamp(1.15rem,2.4vw,1.4rem); font-weight:700; margin:28px 0 10px}
.post-body ul{margin:0 0 22px; padding-left:4px; list-style:none}
.post-body li{position:relative; padding-left:26px; margin-bottom:12px; color:#e7ddf0}
.post-body li::before{
  content:""; position:absolute; left:2px; top:11px; width:8px; height:8px; border-radius:50%;
  background:var(--c, var(--magenta)); box-shadow:0 0 10px var(--c, var(--magenta));
}
.post-body strong{color:#fff; font-weight:700}
.post-body a{color:var(--cyan); text-decoration:underline}

.post-cta{
  margin:44px 0 24px; padding:32px; border-radius:18px;
  background:linear-gradient(135deg, rgba(238,44,144,.12), rgba(95,208,236,.08));
  border:1px solid var(--line);
}
.post-cta h3{font-family:var(--font-display); font-weight:700; font-size:1.4rem; margin-bottom:8px}
.post-cta p{color:var(--muted); margin-bottom:20px}
.post-cta__btns{display:flex; gap:12px; flex-wrap:wrap}
.post-back{margin-top:8px}
.post-back a{color:var(--muted); font-weight:600}
.post-back a:hover{color:var(--ink)}

/* ============================================================
   RESPONSIVE — portafolio / blog / articulo
   ============================================================ */
@media (max-width:1080px){
  .port-grid, .blog-grid{grid-template-columns:repeat(2,1fr)}
}
@media (max-width:760px){
  .port-grid, .blog-grid{grid-template-columns:1fr}
  .blog-hero{padding-top:calc(80px + 5vh)}
  .post{padding-top:calc(80px + 4vh)}
}
@media (max-width:480px){
  .post-body{font-size:16.5px}
  .post-cta{padding:24px 20px}
  .post-cta__btns .btn{width:100%}
}

/* ============================================================
   BRIEF v2 — "Cuéntanos tu proyecto" (/proyecto)
   Formulario adaptativo generado por JS (static/js/brief.js),
   integrado a la identidad Prisma del sitio.
   ============================================================ */
.brief{padding:calc(92px + 5vh) 0 10vh}
.brief-wrap{max-width:840px}
.brief-title{
  font-family:var(--font-display); font-weight:800; letter-spacing:-.02em;
  font-size:clamp(2rem,5vw,3rem); margin-top:14px; line-height:1.06;
}
.brief-sub{margin-top:16px; color:var(--muted); font-size:clamp(15px,2vw,17.5px); max-width:60ch}

/* Tarjeta principal */
.bcard{
  margin-top:30px; border:1px solid var(--line); border-radius:22px;
  background:linear-gradient(180deg, var(--surface), rgba(255,255,255,.015));
  box-shadow:0 30px 80px -40px rgba(0,0,0,.85); overflow:hidden;
}
.bcard-top{height:4px; background:var(--spectrum)}
.bcard-body{padding:26px 24px 28px}

/* Progreso con pasos numerados */
.bprogress{margin-bottom:24px; transition:opacity .4s}
.bprogress-bar{height:6px; border-radius:99px; background:var(--surface-2); overflow:hidden}
.bprogress-fill{
  height:100%; width:25%; border-radius:99px; background:var(--spectrum);
  box-shadow:0 0 14px rgba(238,44,144,.5);
  transition:width .45s cubic-bezier(.16,1,.3,1);
}
.steps{display:flex; justify-content:space-between; gap:6px; margin:12px 0 0; padding:0}
.steps li{
  list-style:none; flex:1; text-align:center;
  font-family:var(--font-mono); font-size:11px; color:var(--faint); transition:color .3s;
}
.steps li .n{
  display:inline-flex; align-items:center; justify-content:center;
  width:24px; height:24px; border-radius:50%; margin-bottom:5px;
  background:var(--surface-2); color:var(--muted); font-weight:700; font-size:11px;
  border:1px solid var(--line); transition:all .3s;
}
.steps li.active{color:var(--ink)}
.steps li.active .n{background:var(--spectrum); color:#0A0610; border-color:transparent}
.steps li.done .n{background:rgba(70,224,138,.14); color:var(--green); border-color:rgba(70,224,138,.35)}

/* Paneles (pasos) */
.panel{animation:stepIn .4s cubic-bezier(.16,1,.3,1)}
@keyframes stepIn{from{opacity:0; transform:translateY(12px)} to{opacity:1; transform:none}}
.step-head{margin-bottom:20px}
.step-head h2{
  font-family:var(--font-display); font-weight:700;
  font-size:clamp(1.25rem,3vw,1.6rem); margin:0 0 6px; line-height:1.2;
}
.step-head h2 b{
  background:var(--spectrum); -webkit-background-clip:text;
  background-clip:text; -webkit-text-fill-color:transparent; color:transparent;
}
.step-head p{margin:0; color:var(--muted); font-size:14px}

/* Tarjetas de servicios (paso 1) */
.svc-grid{display:grid; grid-template-columns:repeat(auto-fill,minmax(225px,1fr)); gap:12px}
.svc{
  position:relative; display:flex; gap:12px; align-items:flex-start;
  padding:15px 14px; border:1px solid var(--line); border-radius:14px;
  background:rgba(0,0,0,.2); cursor:pointer; user-select:none;
  transition:transform .18s, border-color .2s, background .2s, box-shadow .25s;
}
.svc:hover{transform:translateY(-2px); border-color:rgba(255,255,255,.22)}
.svc input{position:absolute; opacity:0; pointer-events:none}
.svc .g,
.svc-block__head .g{
  font-family:var(--font-mono); font-weight:700; font-size:14px;
  width:36px; height:36px; border-radius:10px; display:grid; place-items:center; flex:none;
  color:var(--c); background:color-mix(in srgb,var(--c) 12%,transparent);
  border:1px solid color-mix(in srgb,var(--c) 30%,transparent);
}
.svc .txt strong{display:block; font-size:13.5px; color:var(--ink)}
.svc .txt span{display:block; font-size:11.5px; color:var(--muted); line-height:1.35; margin-top:3px}
.svc .check{
  position:absolute; top:10px; right:10px; width:18px; height:18px; border-radius:50%;
  border:1.5px solid rgba(255,255,255,.22); display:grid; place-items:center; transition:all .2s;
}
.svc .check::after{content:""; width:8px; height:8px; border-radius:50%; background:transparent; transition:background .2s}
.svc.is-on{
  border-color:color-mix(in srgb,var(--c) 55%,transparent);
  background:color-mix(in srgb,var(--c) 9%,transparent);
  box-shadow:0 14px 34px -24px var(--c);
}
.svc.is-on .check{border-color:var(--c)}
.svc.is-on .check::after{background:var(--c)}

/* Bloques de detalle por servicio (paso 2) */
.svc-block{
  border:1px solid var(--line); border-radius:16px; background:rgba(0,0,0,.18);
  margin-bottom:16px; overflow:hidden; animation:stepIn .35s cubic-bezier(.16,1,.3,1);
}
.svc-block__head{
  display:flex; align-items:center; gap:10px; padding:12px 16px;
  background:var(--surface-2); border-bottom:1px solid var(--line);
}
.svc-block__head .g{width:30px; height:30px; font-size:12.5px; border-radius:9px}
.svc-block__head strong{font-size:15px}
.svc-block__body{padding:18px 16px 6px}

/* Campos generados por JS */
.field.hidden{display:none}
.field fieldset{border:0; margin:0; padding:0; min-width:0}
.field legend{
  display:block; padding:0; margin-bottom:8px;
  font-family:var(--font-mono); font-size:12px; color:var(--muted); letter-spacing:.04em;
}
.field .req{color:var(--cyan); margin-left:2px}

/* Selects con el mismo estilo de los inputs */
.field select{
  width:100%; padding:14px 42px 14px 16px; border-radius:12px;
  background:rgba(0,0,0,.28) url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23B6A6C4' stroke-width='2'/%3E%3C/svg%3E") no-repeat right 15px center/12px;
  border:1px solid var(--line); color:var(--ink);
  font-family:var(--font-body); font-size:15px; appearance:none; cursor:pointer;
  transition:border-color .25s, box-shadow .25s;
}
.field select:focus{outline:none; border-color:var(--magenta); box-shadow:0 0 0 4px rgba(238,44,144,.14)}
.field select option{background:#14101c; color:var(--ink)}

/* Chips (radio / checkbox) */
.chips{display:flex; flex-wrap:wrap; gap:8px}
.field .chip{
  display:inline-flex; align-items:center; gap:8px; margin-bottom:0;
  padding:9px 14px; border-radius:999px; border:1px solid var(--line);
  background:rgba(0,0,0,.22); cursor:pointer; user-select:none;
  font-family:var(--font-body); font-size:13px; color:var(--muted); letter-spacing:0;
  transition:border-color .18s, color .18s, background .18s, transform .15s;
}
.field .chip:hover{transform:translateY(-1px); color:var(--ink)}
.chip input{position:absolute; opacity:0; width:0; height:0}
.chip .bx{
  width:14px; height:14px; border-radius:4px; flex:none;
  border:1.5px solid rgba(255,255,255,.28); display:inline-grid; place-items:center;
  transition:all .16s;
}
.chip.radio .bx{border-radius:50%}
.chip .bx::after{content:""; width:6px; height:6px; border-radius:2px; background:transparent; transition:background .16s}
.chip.radio .bx::after{border-radius:50%}
.field .chip.is-checked{color:#fff; border-color:rgba(238,44,144,.55); background:rgba(238,44,144,.16)}
.chip.is-checked .bx{border-color:var(--rose)}
.chip.is-checked .bx::after{background:var(--rose)}

/* Validación */
.field.invalid input,.field.invalid textarea,.field.invalid select{
  border-color:rgba(238,44,144,.65); box-shadow:0 0 0 3px rgba(238,44,144,.14);
}
.field.invalid .chips{outline:2px solid rgba(238,44,144,.45); outline-offset:6px; border-radius:12px}
.err{display:none; color:#ff89bd; font-size:12.5px; margin-top:6px}
.field.invalid .err{display:block}

/* Navegación */
.bnav{display:flex; justify-content:space-between; align-items:center; gap:12px; margin-top:26px}
.bnav .btn{min-width:150px; justify-content:center}
.selcount{font-family:var(--font-mono); font-size:12px; color:var(--faint)}
.selcount b{color:var(--cyan)}

/* Alertas y anti-spam */
.alert{
  display:none; margin-top:16px; padding:12px 14px; border-radius:12px;
  background:rgba(238,44,144,.10); border:1px solid rgba(238,44,144,.45);
  color:#ff9bc6; font-size:13.5px;
}
.alert.show{display:block}
.hp{position:absolute!important; left:-9999px!important; width:1px; height:1px; overflow:hidden; opacity:0}
.hint-empty{color:var(--faint); font-size:14px; padding:8px 0}

/* Pantalla de éxito */
.done{text-align:center; padding:26px 8px}
.done .mark{
  width:78px; height:78px; margin:0 auto 18px; border-radius:50%;
  display:grid; place-items:center;
  background:rgba(70,224,138,.12); border:1px solid rgba(70,224,138,.4);
  box-shadow:0 14px 44px -18px rgba(70,224,138,.6);
}
.done h2{font-family:var(--font-display); font-size:clamp(1.4rem,4vw,1.9rem); margin:0 0 8px}
.done p{color:var(--muted); max-width:46ch; margin:0 auto 22px}
.linkish{
  display:inline-block; margin-top:16px; background:none; border:0; cursor:pointer;
  color:var(--muted); font-size:13px; text-decoration:underline; text-underline-offset:3px;
}
.linkish:hover{color:var(--ink)}
.formnote{margin-top:16px; font-family:var(--font-mono); font-size:11.5px; color:var(--faint); text-align:center}

/* Preguntas condicionales (motor data-when, por si se usa en plantillas) */
.oculto{display:none !important}

/* Responsive del brief */
@media (max-width:760px){
  .brief{padding-top:calc(80px + 4vh)}
  .bcard-body{padding:20px 14px 22px}
  .svc-grid{grid-template-columns:1fr 1fr}
}
@media (max-width:560px){
  .svc-grid{grid-template-columns:1fr}
  .steps li .lbl{display:none}
  .selcount{display:none}
  .bnav .btn{min-width:0; flex:1; padding:13px 16px}
}


/* Espacio bajo la linea legal del footer para que los botones flotantes
   (sonido / volver arriba / WhatsApp) no la tapen */
.footer-bottom{ padding-bottom: calc(96px + env(safe-area-inset-bottom)); }
