/* DOBLE IMPULSO™ — Ultra-Premium Dark CSS */

:root {
  --night-900: #0A0E17;
  --night-800: #0E1524;
  --gold-500: #D6BE8C;
  --gold-300: #EBD6A2;
  --bone: #EDECE4;
  --gray-400: #9A9CA6;
  --gray-600: #5A5E6B;
  --font-sans: 'General Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  --font-serif: 'Newsreader', Georgia, serif;
  --font-mono: 'Spline Sans Mono', ui-monospace, monospace;
}

html {
  scroll-behavior: smooth;
  background-color: var(--night-900);
  color: var(--bone);
}

body {
  margin: 0;
  background: var(--night-900);
  color: var(--bone);
  font-family: var(--font-sans);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

::selection {
  background: var(--gold-500);
  color: var(--night-900);
}

a {
  color: var(--bone);
  text-decoration: none;
}

a:hover {
  color: var(--gold-300);
}

button {
  font-family: var(--font-sans);
}

::-webkit-scrollbar {
  width: 10px;
  background: var(--night-900);
}

::-webkit-scrollbar-thumb {
  background: #1B2334;
}

::-webkit-scrollbar-thumb:hover {
  background: #2A3550;
}

/* Keyframes */
@keyframes dspin {
  to { transform: rotate(360deg); }
}

@keyframes ddrift {
  0%, 100% { transform: translate(0px, 0px); }
  50% { transform: translate(8px, -13px); }
}

@keyframes dblink {
  0%, 55% { opacity: 1; }
  56%, 100% { opacity: 0; }
}

@keyframes ec-slide {
  0%, 12% { transform: translateX(16px); }
  52%, 84% { transform: translateX(5px); }
  100% { transform: translateX(16px); }
}

@keyframes ec-ring {
  0%, 12% { transform: translateX(16px); }
  52%, 84% { transform: translateX(5px); }
  100% { transform: translateX(16px); }
}

/* Topbar & Rail */
#di-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 120;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 14px clamp(24px, 3.4vw, 44px);
  background: rgba(10, 14, 23, 0);
  border-bottom: 1px solid rgba(237, 236, 228, 0);
  transition: background .5s ease, border-color .5s ease;
}

#di-nav.scrolled {
  background: rgba(10, 14, 23, 0.88);
  border-bottom-color: rgba(237, 236, 228, 0.08);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

#di-rail {
  position: fixed;
  left: clamp(20px, 2.4vw, 38px);
  top: 50%;
  transform: translateY(-50%);
  z-index: 80;
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: flex-start;
}

#di-rail a {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--gray-600);
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: .16em;
  transition: color .4s;
}

#di-rail a span:first-child {
  display: block;
  width: 0px;
  height: 1px;
  background: currentColor;
  transition: width .4s;
}

#di-rail a.active {
  color: var(--gold-500);
}

#di-rail a.active span:first-child {
  width: 18px;
}

/* Scroll Progress */
#sprog {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  z-index: 95;
  background: linear-gradient(90deg, #D6BE8C, #EBD6A2);
  transform: scaleX(0);
  transform-origin: left center;
  pointer-events: none;
}

/* Custom Cursor */
@media (pointer: fine) {
  * { cursor: none !important; }
}

#cur-dot {
  position: fixed;
  left: 0;
  top: 0;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #EBD6A2;
  z-index: 1000;
  pointer-events: none;
  opacity: 0;
  transition: transform .15s ease-out, opacity .3s;
}

#cur-ring {
  position: fixed;
  left: 0;
  top: 0;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(214, 190, 140, .55);
  z-index: 999;
  pointer-events: none;
  opacity: 0;
  transition: transform .25s ease-out, opacity .3s;
}

/* Buttons & Sweeps */
[data-sweep] {
  position: relative;
  overflow: hidden;
}

[data-sweep-fill] {
  position: absolute;
  inset: -1px;
  background: linear-gradient(115deg, #D6BE8C, #EBD6A2);
  transform: translateY(103%);
  transition: transform .6s cubic-bezier(.76, 0, .2, 1);
}

[data-sweep]:hover [data-sweep-fill] {
  transform: translateY(0%);
}

[data-sweep]:hover [data-sweep-txt],
[data-sweep]:hover [data-sweep-arrow] {
  color: var(--night-900) !important;
}

[data-sweep]:hover [data-sweep-arrow] {
  transform: translateX(6px);
}

/* Booking & Overlays */
#bk-days button, #bk-slots button {
  background: transparent;
  border: 1px solid rgba(237, 236, 228, .14);
  color: var(--gray-400);
  font-family: var(--font-mono);
  font-size: 10px;
  padding: 8px 12px;
  cursor: pointer;
  transition: all .3s;
}

#bk-days button:hover:not(:disabled), #bk-slots button:hover:not(:disabled) {
  border-color: var(--gold-500);
  color: var(--gold-300);
}

#bk-days button.active, #bk-slots button.active {
  background: rgba(214, 190, 140, .12);
  border-color: var(--gold-500);
  color: var(--gold-300);
}

#bk-days button:disabled, #bk-slots button:disabled {
  opacity: 0.35;
  text-decoration: line-through;
  cursor: not-allowed;
  border-color: rgba(237, 236, 228, .05);
}

/* Responsive Media Queries (< 940px) */
@media (max-width: 940px) {
  /* HIDE BACKGROUND FINE GRID ONLY ON MOBILE */
  #di-bg-grid {
    display: none !important;
  }

  /* INCREMENTAL Z-INDEX & SOLID OPAQUE BACKGROUNDS FOR SECTIONS ON MOBILE */
  
  
  
  
  
  
  

  #di-rail {
    display: none !important;
  }

  [data-mobhide="1"] {
    display: none !important;
  }

  /* NO TRANSFORM SCALING ON MOBILE TO PREVENT ZOOM JUMPS AND DISTORTED CANVAS */
  [data-fit] {
    transform: none !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  /* UNIFORM HORIZONTAL SECTION WIDTHS FOR ALL CONTENT & CANVAS CONTAINERS */
  section > div,
  section footer > div,
  #menu-ov > div,
  #ov-faaia > div,
  #ov-punkto > div,
  #book-ov > div {
    width: calc(100vw - 36px) !important;
    max-width: calc(100vw - 36px) !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    box-sizing: border-box !important;
  }

  /* OPAQUE STICKY SCROLL CONTAINERS ALIGNED FROM FLEX-START BELOW TOPBAR */
  [data-sticky] {
    position: sticky !important;
    top: 60px !important;
    height: auto !important;
    min-height: 0 !important;
    overflow: visible !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-start !important;
    align-items: center !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    margin-bottom: 120px !important;
    background-color: transparent !important;
    box-sizing: border-box !important;
  }

  #hero {
    padding-top: 85px !important;
  }

  /* UNIFORM CANVAS CONTAINERS IN MOBILE: CLEAN FIXED ASPECT RATIOS AND FULL WIDTH */
  #c-morph, #c-trust, #c-funnel, #c-vectors, #c-faaia, #c-punkto, #cf-faaia, #cf-punkto {
    width: 100% !important;
    height: 100% !important;
    box-sizing: border-box !important;
  }

  /* WIDER DIAL CANVAS & OPTIMIZED WRAPPERS FOR MOBILE RESPIRATION */
  #c-morph-wrap, #c-funnel-wrap, #c-vectors-wrap {
    width: 100% !important;
    max-width: 100% !important;
    margin: 10px auto 0 !important;
    box-sizing: border-box !important;
  }

  #c-morph-wrap {
    height: 220px !important;
  }

  /* DIAL GRAPH IN SECTION 02 OPTIMIZED TO FIT ALL STEPS AND QUOTE TEXT */
  #t-dialbox {
    height: auto !important;
    aspect-ratio: 1 !important;
    width: 100% !important;
    max-width: 360px !important;
    margin: 4px auto 0 !important;
    box-sizing: border-box !important;
  }

  /* QUOTE TEXT IN SECTION 02 UNCORRECTED AND FULLY VISIBLE */
  #trust-final {
    margin-top: 6px !important;
    font-size: 13.5px !important;
    line-height: 1.4 !important;
    text-align: center !important;
  }

  #c-funnel-wrap {
    height: 210px !important;
  }

  #c-vectors-wrap {
    height: 180px !important;
    margin-top: 8px !important;
  }

  /* COMPACT STEPS IN SECTION 02 SO '03 DECIDIR' AND QUOTE ARE 100% VISIBLE */
  [data-p3] {
    padding: 4px 0 !important;
  }

  [data-p3] div > span {
    font-size: 10px !important;
    letter-spacing: .2em !important;
  }

  /* SECTION 04 DEFINITION BLOCKS MATCHING PARAGRAPH TEXT SIZE AND SEPARATED FROM GRAPH */
  [data-def] {
    padding: 10px 0 !important;
    border-top: 1px solid rgba(237, 236, 228, .09) !important;
  }

  [data-def] div > div {
    margin-bottom: 4px !important;
    font-size: 11.5px !important;
    letter-spacing: .22em !important;
  }

  [data-def] p {
    margin: 0 !important;
    font-size: 13.5px !important;
    line-height: 1.65 !important;
    color: #9A9CA6 !important;
  }

  #s-grid {
    grid-template-columns: 1fr !important;
    grid-template-areas: "t" "v" "d" !important;
    row-gap: 16px !important;
  }

  #t-grid {
    grid-template-columns: 1fr !important;
    row-gap: 6px !important;
  }

  /* 3D STAGE BOX ADJUSTMENTS ON MOBILE */
  #hero-stage {
    height: 64vh !important;
    min-height: 64vh !important;
    width: 100% !important;
    margin-top: 50px !important;
    aspect-ratio: auto !important;
    touch-action: none !important;
  }

  #v3d {
    width: 94% !important;
    height: 92% !important;
    top: 4% !important;
    bottom: 4% !important;
    left: 3% !important;
    right: 3% !important;
  }

  /* HIDE "PENSADOR - A. RODIN MODELO REAL..." TEXT ONLY ON MOBILE */
  #v3d-pensador-label {
    display: none !important;
  }
}


@media (min-width: 941px) {
  [data-sticky] {
    position: sticky !important;
    top: 12vh !important;
    height: auto !important;
    min-height: 0 !important;
    overflow: visible !important;
    margin-bottom: 15vh !important;
    padding-bottom: 0 !important;
    padding-top: 0 !important;
    justify-content: center !important;
  }
}
#casos {
  padding-top: clamp(60px, 8vh, 100px) !important;
}
#sesion > div {
  padding-top: clamp(60px, 8vh, 100px) !important;
}

@media (max-width: 940px) {
  #t-dial {
    width: 100% !important;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
}

/* Global gap alignment fixes */
#hero > div {
  padding-bottom: 120px !important;
}


@media (min-width: 941px) {
  #hero > div {
    padding-bottom: 15vh !important;
  }
}

/* Graphic 02 alignment and position in desktop */
@media (min-width: 941px) {
  #t-dialbox {
    margin: -40px 0 0 auto !important;
  }
}

.inter-sec {
  margin-bottom: 120px !important;
}
@media (min-width: 941px) {
  .inter-sec {
    margin-bottom: 15vh !important;
  }
}

/* Accordion for section 02 (Mobile) */
.p-accordion {
  transition: all 0.4s ease;
  margin-top: 10px !important;
}
@media (max-width: 940px) {
  .p-accordion {
    max-height: 0;
    opacity: 0 !important;
    margin-top: 0 !important;
    overflow: hidden;
  }
  .p-accordion.active {
    max-height: 200px;
    opacity: 1 !important;
    margin-top: 10px !important;
  }
}


/* Square Graphic Boxes for Mobile */
.canvas-sq-mob {
  position: relative;
  height: clamp(250px, 36vh, 430px);
}
@media (max-width: 940px) {
  .canvas-sq-mob {
    aspect-ratio: 1 / 1 !important; height: auto !important;
    max-height: 500px;
  }
}

@media (max-width:920px) {
  #card-punkto {
    margin-top: 50px !important;
  }
}

@media (max-width:920px) {
  #signal-box {
    margin-top: 60px !important;
    padding: 50px 0 !important;
  }
}

@media (max-width:920px) {
  #f-left, #f-right {
    bottom: -36px !important;
  }
}

@media (min-width: 1024px) {
  .col-angel-desktop {
    flex: 0 0 360px !important;
    max-width: 360px !important;
  }
}



@keyframes trazo-orbital {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

#btn-prologo:hover {
  background-color: rgba(235, 214, 162, 0.05) !important;
}
#btn-prologo:hover span[data-sweep-txt="1"] {
  letter-spacing: 0.38em !important;
}

@media (max-width: 940px) {
  .hero-content-wrapper {
    padding-top: 30vh !important;
  }
}
