/* Diseño y Desarrollo Web — estilos personalizables.
   Bootstrap 5.3.3 se carga antes de esta hoja. */
:root {
   --navy: #030b1e;
   --navy-light: #07132f;
   --panel: #07132bc7;
   --cyan: #12c9f7;
   --blue: #334cff;
   --purple: #a761ff;
   --text: #f4f7ff;
   --muted: #b4bfd7;
   --line: #254468;
   --bs-body-bg: var(--navy);
   --bs-body-color: var(--text);
   --bs-body-font-family: Inter, "Segoe UI", Arial, sans-serif;
   --bs-border-color: var(--line)
}

* {
   box-sizing: border-box
}

html {
   scroll-behavior: smooth;
   scroll-padding-top: 105px
}

body {
   margin: 0;
   background: radial-gradient(ellipse at 70% 0%, #06132e 0, transparent 28%), var(--navy);
   line-height: 1.6;
   font-size: 1rem;
   color: var(--text)
}

a {
   color: inherit;
   text-decoration: none
}

button,
input,
textarea {
   font: inherit
}

button,
a,
input,
textarea {
   touch-action: manipulation
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
[tabindex]:focus-visible {
   outline: 3px solid var(--cyan);
   outline-offset: 5px
}

h1,
h2,
h3 {
   font-weight: 750;
   line-height: 1.2
}

h2 {
   font-size: clamp(1.5rem, 2.2vw, 2rem);
   letter-spacing: -.025em
}

h3 {
   font-size: 1.1rem
}

p {
   color: var(--muted)
}

.container {
   max-width: 1220px
}

.icon {
   width: 25px;
   height: 25px;
   flex: none;
   vertical-align: middle
}

.svg-defs {
   position: absolute;
   width: 0;
   height: 0;
   overflow: hidden
}

.text-cyan {
   color: #7edbff
}

.text-muted-custom {
   color: var(--muted)
}

.skip-link {
   position: fixed;
   top: -100px;
   left: 15px;
   background: var(--cyan);
   color: #030b1e;
   padding: 10px 18px;
   z-index: 2000
}

.skip-link:focus {
   top: 10px
}

.section-anchor {
   scroll-margin-top: 10px
}

.site-header {
   position: sticky;
   top: 0;
   z-index: 1030;
   background: #030b1eef;
   backdrop-filter: blur(16px);
   border-bottom: 1px solid #17325680
}

.navbar {
   min-height: 94px;
   padding-top: 14px;
   padding-bottom: 14px;
   gap: 16px
}

.navbar-brand {
   display: flex;
   gap: 13px;
   align-items: center;
   margin-right: 12px;
   color: white
}

.brand-seal {
   width: 54px;
   height: 54px;
   display: flex;
   align-items: center;
   justify-content: center;
   border: 1px solid #59d8ff;
   border-radius: 50%;
   position: relative;
   font-size: 1.25rem;
   letter-spacing: -3px;
   font-weight: 800;
   background: radial-gradient(circle, #074668 0, #042034 65%);
   box-shadow: 0 0 0 4px #143a544f, 0 0 20px #13c4f833;
   line-height: 1
}

.brand-seal>span {
   color: #6ee7ff
}

.brand-seal small {
   position: absolute;
   bottom: 10px;
   font-size: 6px;
   letter-spacing: 1px;
   font-weight: 600
}

.brand-name {
   font-size: .8rem;
   letter-spacing: .5px;
   line-height: 1.4;
   font-weight: 800
}

.dydw-logo>img {
   width: 80px;
}

.navbar-nav {
   gap: 5px
}

.nav-link {
   font-size: .875rem;
   font-weight: 600;
   color: #dce3f5 !important;
   padding: 10px !important;
   white-space: nowrap
}

.nav-link:hover,
.nav-link.active {
   color: #67dfff !important
}

.nav-cta {
   margin-left: 20px;
   white-space: nowrap;
   font-size: .875rem !important;
   padding: 10px 20px !important
}

.navbar-toggler {
   border-color: var(--line);
   padding: 9px
}

.btn {
   border-radius: 999px;
   padding: 13px 25px;
   font-weight: 650;
   font-size: .875rem;
   letter-spacing: .02em;
   display: inline-flex;
   align-items: center;
   justify-content: center;
   gap: 12px;
   min-height: 46px;
   transition: transform .2s, box-shadow .2s, background .2s
}

.btn:hover {
   transform: translateY(-2px)
}

.btn-neon {
   background: linear-gradient(105deg, #383cff 0%, #146dff 45%, #11c9ee 100%);
   border: 1px solid #3bd1ff;
   color: #fff;
   box-shadow: 0 0 0 3px #417cff24, 0 0 23px #1c79ff60, inset 0 1px 2px #ffffff60
}

.btn-neon:hover,
.btn-neon:focus {
   color: #fff;
   background: linear-gradient(105deg, #5255ff, #189fff);
   box-shadow: 0 0 30px #1c79ff80
}

.btn-outline-neon {
   border: 1px solid #24bdf7;
   color: #b5edff;
   background: #051125;
   box-shadow: inset 0 0 10px #0e9ff914, 0 0 12px #0e9ff910
}

.btn-outline-neon:hover {
   color: #fff;
   background: #0c2845
}

.btn-outline-light {
   border-color: #e3e7f1;
   color: #e3e7f1
}

.btn .icon {
   width: 19px;
   height: 19px
}

.hero {
   padding: 65px 0 60px;
   overflow: hidden;
   border-bottom: 1px solid var(--line);
   position: relative
}

.hero-copy {
   position: relative;
   z-index: 1
}

.eyebrow {
   color: #71dfff;
   font-size: .8rem;
   font-weight: 700;
   letter-spacing: .12em;
   display: inline-block
}

.pill {
   background: #0c2a3d99;
   padding: 4px 10px;
   border-radius: 5px;
   font-size: .8rem;
   letter-spacing: .06em
}

h1 {
   font-size: clamp(2.2rem, 3.8vw, 3.4rem);
   line-height: 1.13;
   letter-spacing: -.035em;
   margin: 22px 0
}

h1 span {
   color: #4fcaff;
   background: linear-gradient(90deg, #96ddff, #14b9f2);
   background-clip: text;
   -webkit-text-fill-color: transparent
}

.hero-intro {
   color: #f0f3fd;
   font-size: 1.15rem;
   line-height: 1.5;
   max-width: 510px;
   margin-bottom: 29px
}

.hero-facts {
   display: flex;
   gap: 16px;
   margin: 30px 0 36px
}

.hero-facts>div {
   display: flex;
   align-items: center;
   gap: 10px;
   border-right: 1px solid #274366;
   padding-right: 14px;
   font-size: .8rem;
   line-height: 1.5
}

.hero-facts>div:last-child {
   border: 0;
   padding-right: 0
}

.hero-facts .icon {
   color: #99b8ff;
   width: 28px;
   height: 28px
}

.hero-actions {
   display: flex;
   gap: 14px;
   flex-wrap: wrap
}

.hero-footnote {
   font-size: .875rem;
   color: #8b9ab9;
   margin: 40px 0 0
}

.hero-art {
   position: relative
}

.hero-art img {
   width: 120%;
   max-width: none;
   height: auto;
   margin-left: -7%;
   display: block;
   mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
   filter: saturate(1.1)
}

.art-caption {
   position: absolute;
   bottom: 0;
   right: 10px;
   font-size: .65rem;
   color: #62a9c9;
   letter-spacing: .17em
}

.section {
   padding: 140px 0;
   border-bottom: 1px solid var(--line);
   background: radial-gradient(ellipse at top, #09163750, transparent 75%)
}

.section-heading {
   text-align: center;
   margin-bottom: 33px
}

.section-heading h2 {
   margin: 0
}

.section-heading>.eyebrow {
   margin-bottom: 12px
}

.heading-line {
   display: block;
   width: 38px;
   height: 2px;
   background: var(--cyan);
   margin: 14px auto 0;
   box-shadow: 0 0 9px #03caff99
}

.neon-card {
   background: linear-gradient(145deg, #0b1832a8, #030c1ea8);
   border: 1px solid #17649b;
   border-radius: 10px;
   box-shadow: inset 0 0 22px #137dce09
}

.feature-card {
   height: 100%;
   padding: 28px 22px;
   text-align: center;
   transition: transform .25s, border-color .25s, box-shadow .25s
}

.feature-card:hover {
   transform: translateY(-5px);
   border-color: var(--cyan);
   box-shadow: 0 5px 25px #0577ce25
}

.feature-card>.icon {
   width: 53px;
   height: 53px;
   color: var(--cyan);
   filter: drop-shadow(0 0 8px #00a7ff80);
   margin-bottom: 22px;
   stroke-width: 1.2
}

.feature-card h3 {
   margin-bottom: 12px
}

.feature-card p {
   font-size: .9375rem;
   line-height: 1.5;
   margin: 0
}

.about-strip {
   margin-top: 35px;
   display: flex;
   gap: 45px;
   align-items: center;
   padding: 0 5px
}

.about-strip p {
   font-size: .9375rem;
   max-width: 900px;
   margin: 0
}

.about-strip strong {
   color: #f1f5ff
}

.small-label {
   flex: none;
   font-size: .75rem;
   font-weight: 700;
   letter-spacing: .1em;
   color: #87bfdc;
   border-left: 2px solid #167ead;
   padding-left: 20px
}

.route-section {
   background: radial-gradient(ellipse at 50% 0, #101b4870, transparent 70%)
}

.route-grid {
   position: relative;
   margin-bottom: 38px
}

.route-grid:before {
   content: "";
   position: absolute;
   top: 48px;
   left: 13%;
   right: 13%;
   border-top: 3px dotted #8491c4;
   opacity: .7
}

.route-step {
   display: flex;
   flex-direction: column;
   align-items: center;
   text-align: center;
   height: 100%;
   position: relative;
   padding: 0 15px
}

.step-number {
   width: 82px;
   height: 82px;
   border: 2px solid #7481ff;
   border-radius: 50%;
   display: grid;
   place-items: center;
   font-size: 2rem;
   font-weight: 700;
   background: radial-gradient(circle, #101b4c, #040b22 70%);
   box-shadow: 0 0 0 5px #061125, 0 0 0 7px #283d89, 0 0 20px #1697ff33;
   position: relative;
   margin-bottom: 25px;
   transition: box-shadow .25s
}

.step-number:before {
   content: "";
   position: absolute;
   inset: -7px;
   border-radius: 50%;
   border-top: 3px solid #9fefff;
   transform: rotate(-25deg);
   filter: drop-shadow(0 0 4px #00c8ff)
}

.route-step:hover .step-number {
   box-shadow: 0 0 0 5px #061125, 0 0 0 7px #507af9, 0 0 25px #1697ff90
}

.route-step h3 {
   color: #86dfff;
   margin-bottom: 12px
}

.route-step p {
   font-size: .9375rem;
   line-height: 1.5;
   margin-bottom: 16px
}

.module-hours {
   margin-top: auto;
   color: #9faee0;
   font-size: .875rem
}

.module-hours .icon {
   width: 15px;
   height: 15px;
   margin-left: 5px
}

.accordion {
   --bs-accordion-bg: transparent;
   --bs-accordion-color: var(--muted);
   --bs-accordion-border-color: #28426a;
   --bs-accordion-btn-color: #f3f5ff;
   --bs-accordion-active-bg: #102549;
   --bs-accordion-active-color: #86dfff;
   --bs-accordion-btn-focus-box-shadow: 0 0 0 .2rem #1f8fcb55
}

.accordion-button {
   line-height: 1.45
}

.accordion-button:after {
   filter: brightness(1.8);
   flex-shrink: 0
}

.program-accordion {
   max-width: 1000px;
   margin: auto
}

.program-accordion .accordion-item {
   margin-bottom: 10px;
   border: 1px solid #253c62;
   border-radius: 8px;
   overflow: hidden;
   scroll-margin-top: 110px
}

.program-accordion .accordion-button {
   gap: 17px;
   padding: 18px 22px
}

.module-index {
   color: var(--cyan);
   font-size: .875rem;
   letter-spacing: .05em
}

.accordion-button small {
   display: block;
   color: #a1b1cc;
   font-size: .875rem;
   font-weight: 400;
   margin-top: 3px
}

.hours-label {
   margin-left: auto;
   margin-right: 20px;
   white-space: nowrap;
   color: #85c6e9;
   font-size: .875rem
}

.program-accordion .accordion-button:after {
   margin-left: 0
}

.accordion-body {
   line-height: 1.7;
   font-size: .9375rem
}

.topic-list {
   padding-left: 22px;
   margin-bottom: 0
}

.topic-list li {
   padding: 4px 0
}

.topic-list li::marker {
   color: var(--cyan)
}

.deliverable {
   height: 100%;
   background: #0a274180;
   border: 1px solid #204866;
   padding: 18px;
   border-radius: 8px;
   display: flex;
   flex-direction: column;
   gap: 10px
}

.deliverable .icon {
   color: var(--cyan)
}

.deliverable span {
   font-size: .75rem;
   letter-spacing: .1em;
   color: #8ac2df
}

.deliverable strong {
   color: #e5f5ff
}

.section-note {
   text-align: center;
   font-size: .8rem;
   margin: 22px 0 0;
   color: #8d9bb7
}

.process-section {
   padding: 140px 0
}

.process-section h2 {
   font-size: 1.6rem
}

.process-section p {
   font-size: .9375rem
}

.text-link {
   display: inline-flex;
   align-items: center;
   gap: 10px;
   background: none;
   border: 0;
   padding: 0;
   color: #84ddff;
   font-size: .875rem;
   min-height: 40px
}

.text-link:hover {
   color: white
}

.text-link .icon {
   width: 18px;
   height: 18px
}

.process-flow {
   list-style: none;
   padding: 27px 12px;
   display: flex;
   justify-content: space-around;
   gap: 12px;
   margin: 0
}

.process-flow li {
   display: flex;
   flex: 1;
   flex-direction: column;
   gap: 14px;
   align-items: center;
   position: relative;
   text-align: center;
   font-size: .9375rem
}

.process-flow li:not(:last-child):after {
   content: "→";
   position: absolute;
   right: -14px;
   top: 7px;
   color: #49c9ff;
   font-size: 1.4rem;
   text-shadow: 0 0 10px #00a1ff
}

.process-flow .icon {
   width: 46px;
   height: 46px;
   color: #08c4ff;
   filter: drop-shadow(0 0 7px #059aff99);
   stroke-width: 1.2
}

.process-flow li:nth-child(2) .icon,
.process-flow li:nth-child(3) .icon {
   color: #b171ff;
   filter: drop-shadow(0 0 7px #a23cff99)
}

.project-section {
   padding: 140px 0;
   background: radial-gradient(ellipse at 70% 60%, #17215e88, transparent 60%)
}

.project-section h2 {
   font-size: 1.75rem;
   margin-bottom: 20px
}

.project-section p {
   font-size: 1rem
}

.check-list {
   list-style: none;
   padding: 0;
   margin: 22px 0 0
}

.check-list li {
   display: flex;
   gap: 10px;
   margin: 11px 0;
   font-size: .9375rem
}

.check-list .icon {
   width: 18px;
   height: 18px;
   color: #28c2ff;
   margin-top: 3px
}

.project-showcase {
   display: flex;
   align-items: center;
   justify-content: center;
   min-height: 320px;
   perspective: 1200px;
   padding: 15px 0
}

.project-preview {
   width: 32%;
   height: 260px;
   background: #071120;
   color: #f7f8fe;
   border: 1px solid #2e4b6b;
   border-radius: 6px;
   padding: 0;
   overflow: hidden;
   text-align: left;
   box-shadow: 0 20px 45px #0007;
   position: relative;
   transition: transform .25s, box-shadow .25s
}

.project-preview:nth-child(1) {
   transform: rotateY(10deg) rotate(-4deg);
   margin-right: -24px
}

.project-preview:nth-child(2) {
   width: 43%;
   height: 335px;
   z-index: 1;
   border-color: #4958b0
}

.project-preview:nth-child(3) {
   transform: rotateY(-10deg) rotate(4deg);
   margin-left: -24px
}

.project-preview:hover {
   transform: translateY(-9px);
   z-index: 2;
   box-shadow: 0 20px 40px #1161bc44
}

.browser-bar {
   height: 22px;
   background: #05101d;
   display: flex;
   gap: 4px;
   align-items: center;
   padding: 0 8px;
   border-bottom: 1px solid #1d2b43
}

.browser-bar i {
   width: 3px;
   height: 3px;
   background: #72829c;
   border-radius: 50%
}

.browser-bar small {
   font-size: 7px;
   color: #b3bfd8;
   margin-left: auto
}

.preview-content {
   height: calc(100% - 22px);
   padding: 30px 20px 20px;
   display: flex;
   flex-direction: column;
   background: radial-gradient(ellipse at 100% 20%, #054c6480, transparent 60%), linear-gradient(135deg, #0e1a2a, #08101c);
   position: relative
}

.preview-label {
   font-size: .6rem;
   text-transform: uppercase;
   letter-spacing: .11em;
   color: #71d5ed
}

.preview-content strong {
   font-size: 1.9rem;
   line-height: 1.05;
   margin-top: 18px;
   max-width: 180px;
   letter-spacing: -.04em
}

.preview-slogan {
   font-size: .75rem;
   max-width: 180px;
   margin-top: 14px;
   color: #c2cad8;
   line-height: 1.4
}

.preview-line {
   width: 35px;
   height: 2px;
   background: #52d5ef;
   margin-top: 22px
}

.preview-bottom {
   font-size: .5rem;
   letter-spacing: .07em;
   display: flex;
   justify-content: space-between;
   align-items: center;
   margin-top: auto
}

.preview-bottom .icon {
   width: 15px;
   height: 15px
}

.archivo .preview-content {
   background: linear-gradient(125deg, transparent 40%, #7041d950 40.4%, transparent 41%), linear-gradient(55deg, #040e29 40%, #36278b 40.5%, #0b1026 42%)
}

.archivo .preview-content strong {
   font-size: 2.8rem;
   max-width: 200px;
   color: #fff
}

.archivo .preview-label {
   color: #b8a5ff
}

.forma .preview-content {
   background: radial-gradient(ellipse at 90% 20%, #d6a76e50, transparent 60%), #242019
}

.forma .preview-label {
   color: #eedeb6
}

.forma .preview-content strong {
   font-family: Georgia, serif;
   color: #f4e8d2
}

.forma .preview-line {
   background: #ddbc81
}

.project-meta {
   display: flex;
   justify-content: center;
   gap: 20px;
   align-items: center;
   margin-top: 35px
}

.project-meta>span {
   font-size: .7rem;
   letter-spacing: .1em;
   color: #91bbe8
}

.project-meta p {
   font-size: .8rem;
   margin: 0;
   color: #9baac6
}

.teacher-card {
   padding: 26px;
   height: 100%;
   border-color: #24446d;
   display: flex;
   flex-direction: column
}

.teacher-top {
   display: flex;
   align-items: center;
   gap: 16px;
   margin-bottom: 22px
}

.avatar {
   display: grid;
   place-items: center;
   width: 72px;
   height: 72px;
   flex: none;
   border-radius: 50%;
   border: 1px solid #36b6e5;
   background: radial-gradient(ellipse at 30% 0, #184d68, #0a1732);
   font-size: 1.55rem;
   font-weight: 600;
   color: #a7e7ff;
   box-shadow: 0 0 20px #00bdff12
}

.avatar-diego {
   background: radial-gradient(ellipse at 30% 0, #323375, #0a1732);
   border-color: #7973d9;
   color: #c2c0ff
}

.avatar-lucia {
   background: radial-gradient(ellipse at 30% 0, #145c61, #0a1732);
   border-color: #3babaf;
   color: #9be8e4
}

.teacher-card h3 {
   margin-bottom: 5px;
   font-size: 1.1rem
}

.teacher-role {
   font-size: .8rem;
   line-height: 1.5;
   color: #83d7ff;
   display: block
}

.teacher-card p {
   font-size: .9375rem;
   line-height: 1.65
}

.teacher-tags {
   font-size: .75rem;
   color: #95a6c9;
   padding: 15px 0;
   border-top: 1px solid #203456;
   margin-top: auto
}

.teacher-card .text-link {
   align-self: flex-start
}

.benefits-section {
   padding: 140px 0
}

.benefits-grid {
   display: grid;
   grid-template-columns: repeat(5, 1fr)
}

.benefit {
   display: flex;
   gap: 17px;
   align-items: center;
   justify-content: center;
   position: relative
}

.benefit:not(:last-child) {
   border-right: 1px solid #253c62
}

.benefit>.icon {
   width: 42px;
   height: 42px;
   color: #0ac5ff;
   filter: drop-shadow(0 0 7px #168eff88)
}

.benefit strong {
   font-size: 2rem;
   line-height: 1.2;
   display: block
}

.benefit span {
   display: block;
   font-size: .8rem;
   color: #c4cce0
}

.testimonials-section {
   padding: 140px 0
}

.testimonial-toolbar {
   display: flex;
   justify-content: space-between;
   align-items: center;
   margin-top: -10px;
   margin-bottom: 20px;
   gap: 20px
}

.testimonial-toolbar p {
   font-size: .875rem;
   margin: 0
}

.testimonial-toolbar>div {
   display: flex;
   gap: 8px;
   flex: none
}

.icon-btn {
   border: 1px solid #295376;
   background: #07162c;
   color: #83d9ff;
   border-radius: 50%;
   width: 40px;
   height: 40px;
   font-size: 1.3rem
}

.icon-btn:hover {
   background: #123858
}

.icon-btn:disabled {
   opacity: .3;
   cursor: default
}

.testimonials-track {
   display: flex;
   gap: 22px;
   overflow-x: auto;
   scroll-snap-type: x mandatory;
   scrollbar-width: thin;
   scrollbar-color: #21568d transparent;
   padding: 4px 3px 18px
}

.testimonial {
   flex: 0 0 calc((100% - 66px)/4);
   margin: 0;
   scroll-snap-align: start;
   padding: 21px 23px;
   min-height: 240px;
   display: flex;
   flex-direction: column
}

.quote-mark {
   font-family: Georgia, serif;
   line-height: .9;
   font-size: 2.8rem;
   color: #00c6f8;
   margin-bottom: 10px
}

.testimonial blockquote {
   font-size: .9375rem;
   color: #bec9e3;
   line-height: 1.6
}

.testimonial figcaption {
   margin-top: auto;
   padding-top: 10px;
   font-size: .875rem
}

.testimonial figcaption span {
   display: block;
   color: #7b92b2;
   font-size: .75rem;
   margin-top: 3px
}

.contact-section {
   border-bottom: 1px solid var(--line);
   background: radial-gradient(ellipse at 80% 0, #11226499, transparent 65%);
   padding: 140px 0;
}

.faq-column {
   padding: 48px 45px 48px 0
}

.contact-column {
   padding: 48px 0 48px 45px;
   border-left: 1px solid var(--line)
}

.faq-column h2,
.contact-column h2 {
   font-size: 1.6rem
}

.faq-accordion .accordion-item {
   border: 1px solid #2a4167;
   border-radius: 6px;
   margin-bottom: 10px;
   overflow: hidden
}

.faq-accordion .accordion-button {
   font-size: .9375rem;
   padding: 15px 18px
}

.faq-accordion .accordion-button:after {
   background-image: none;
   content: "+";
   font-size: 1.3rem;
   line-height: 1;
   text-align: center;
   font-weight: 300;
   color: #9de5ff
}

.faq-accordion .accordion-button:not(.collapsed):after {
   transform: rotate(45deg)
}

.contact-intro {
   text-align: center;
   font-size: .9375rem;
   margin-top: -12px;
   margin-bottom: 23px
}

.demo-notice {
   font-size: .8rem;
   color: #b9d2e3;
   background: #11304a60;
   padding: 10px 13px;
   border-left: 2px solid #349cbe;
   border-radius: 4px;
   margin-bottom: 22px
}

.form-label {
   font-size: .875rem;
   color: #c6d0e4;
   margin-bottom: 7px
}

.form-label>span:not(.text-muted-custom) {
   color: #54c9ee
}

.form-control {
   background: #05122a66;
   border-color: #35537f;
   border-radius: 7px;
   color: #fff;
   min-height: 46px;
   font-size: 1rem;
   padding: 11px 14px
}

.form-control::placeholder {
   color: #7f92b2;
   font-size: .875rem
}

.form-control:focus {
   background: #091d38;
   color: #fff;
   border-color: #2dc6f5;
   box-shadow: 0 0 0 3px #02a2ee22
}

.form-hint {
   font-size: .75rem;
   margin: 14px 0 0;
   color: #a0afca
}

.form-status {
   margin-top: 18px;
   padding: 14px 16px;
   background: #0a3b47;
   border: 1px solid #247887;
   border-radius: 8px;
   font-size: .9375rem;
   color: #d6f4f7
}

small.form-text.text-muted-custom {
    display: block;
    padding-left: 1.6em;
    padding-bottom: 20px;
}

.site-footer {
   padding: 43px 0 80px
}

.footer-brand {
   display: flex;
   align-items: center;
   gap: 20px;
   font-size: .875rem;
   line-height: 1.7;
   color: #a4b7d4
}

.footer-brand .brand-seal {
   width: 65px;
   height: 65px;
   flex: none;
   font-size: 1.6rem
}

.footer-brand strong {
   color: #f2f5fd;
   font-weight: 500
}

.site-footer h2 {
   font-size: .875rem;
   font-weight: 700;
   letter-spacing: 0;
   margin-bottom: 16px
}

.site-footer p,
.footer-links {
   font-size: .8rem;
   color: #a7b4cd;
   line-height: 1.9
}

.footer-links {
   list-style: none;
   margin: 0;
   padding: 0
}

.footer-links a {
   display: inline-block;
   padding: 2px 0
}

.footer-links a:hover {
   color: var(--cyan)
}

.footer-bottom {
   border-top: 1px solid #1a2c48;
   display: flex;
   justify-content: space-between;
   gap: 15px;
   align-items: center;
   margin-top: 35px;
   padding-top: 20px
}

.footer-bottom p {
   font-size: .75rem;
   margin: 0
}

.footer-bottom>div {
   display: flex;
   gap: 22px
}

.footer-legal {
   padding: 7px 0;
   background: none;
   border: 0;
   color: #a7b4cd;
   font-size: .75rem
}

.footer-legal:hover {
   color: white
}

.demo-footer {
   font-size: .75rem !important;
   color: #7f8ba6 !important;
   margin: 18px 0 0
}

.back-top {
   position: fixed;
   right: 23px;
   bottom: 24px;
   border: 1px solid #209ace;
   background: #0b2544f5;
   color: #8edfff;
   width: 44px;
   height: 44px;
   border-radius: 50%;
   font-size: 1.4rem;
   z-index: 1020;
   box-shadow: 0 0 12px #004d9380
}

.back-top[hidden] {
   display: none
}

.modal {
   overflow: hidden
}

.modal-dialog {
   display: flex;
   align-items: center;
   min-height: calc(100dvh - 1.5rem);
   max-height: calc(100dvh - 1.5rem);
   margin: .75rem auto
}

.modal-content {
   background: #07142b;
   border: 1px solid #245477;
   border-radius: 14px;
   box-shadow: 0 0 70px #051e49;
   max-height: calc(100dvh - 1.5rem);
   overflow: hidden;
   display: flex;
   flex-direction: column
}

.modal-header,
.modal-footer {
   border-color: #213956;
   padding: 22px 28px;
   flex: none
}

.modal-body {
   padding: 25px 28px;
   color: #c2cde4;
   font-size: 1rem;
   overflow-y: auto;
   overscroll-behavior: contain;
   -webkit-overflow-scrolling: touch;
   touch-action: pan-y;
   max-height: calc(100dvh - 13.5rem)
}

.modal-body h3 {
   color: #7adaff;
   margin-top: 22px
}

.modal-body ul {
   padding-left: 22px
}

.modal-body li {
   margin-bottom: 8px
}

.modal-body .modal-kicker {
   color: #8be1ff;
   font-size: .875rem;
   letter-spacing: .03em
}

.modal-body .example-label {
   font-size: .875rem;
   padding-top: 20px;
   border-top: 1px solid #233f5e;
   color: #8fa4c5
}

.noscript-note {
   padding: 16px;
   background: #16304b;
   text-align: center
}

@media(min-width:1400px) {
   .hero-art img {
      width: 123%;
      margin-left: -6%
   }

   .hero {
      padding: 40px 0 80px
   }
}

@media(max-width:1199.98px) {
   .container {
      padding-left: 28px;
      padding-right: 28px
   }

   .navbar-collapse {
      padding: 20px 0 12px
   }

   .navbar-nav {
      gap: 2px
   }

   .nav-link {
      padding: 10px 0 !important
   }

   .nav-cta {
      margin: 15px 0 0
   }

   .hero-facts {
      gap: 12px;
      flex-wrap: wrap
   }

   .hero-facts>div {
      font-size: .8rem
   }

   .hero-actions .btn {
      padding: 12px 18px;
      font-size: .8rem
   }

   .teacher-card {
      padding: 22px
   }

   .teacher-top {
      gap: 12px
   }

   .avatar {
      width: 58px;
      height: 58px;
      font-size: 1.3rem
   }

   .teacher-top h3 {
      font-size: 1rem
   }

   .testimonial {
      flex-basis: calc((100% - 44px)/3)
   }
}

@media(max-width:991.98px) {
   .hero {
      padding: 45px 0 25px
   }

   .hero-copy {
      max-width: 740px
   }

   .hero h1 {
      font-size: clamp(2.6rem, 6vw, 3.8rem)
   }

   .hero-art {
      max-width: 740px;
      margin: auto
   }

   .hero-art img {
      width: 100%;
      margin: 0;
      mask-image: linear-gradient(to bottom, #000 80%, transparent)
   }

   .hero-facts {
      gap: 23px
   }

   .hero-art .art-caption {
      bottom: 14px;
      right: 24px
   }

   .hero-actions .btn {
      font-size: .875rem
   }

   .section {
      padding: 45px 0
   }

   .teacher-top {
      flex-direction: column;
      align-items: flex-start;
      gap: 16px
   }

   .teacher-card h3 {
      font-size: 1.1rem
   }

   .project-showcase {
      max-width: 760px;
      margin: auto
   }

   .project-meta {
      flex-direction: column;
      gap: 5px;
      text-align: center
   }

   .benefits-grid {
      grid-template-columns: repeat(3, 1fr);
      row-gap: 28px
   }

   .benefit:nth-child(3) {
      border: 0
   }

   .benefit:nth-child(4) {
      grid-column: 1 / 2
   }

   .benefit:last-child {
      grid-column: 2 / 4;
      border: 0
   }

   .benefit {
      justify-content: flex-start;
      padding-left: 15px
   }

   .faq-column {
      padding: 45px 0;
      border-bottom: 1px solid var(--line)
   }

   .contact-column {
      padding: 45px 0;
      border-left: 0
   }

   .contact-column form,
   .contact-intro,
   .demo-notice {
      max-width: 650px;
      margin-left: auto;
      margin-right: auto
   }

   .route-grid:before {
      display: none
   }

   .route-step {
      padding: 0 20px 10px
   }

   .route-step p {
      max-width: 240px
   }
}

@media(max-width:767.98px) {
   .container {
      padding-left: 22px;
      padding-right: 22px
   }

   .navbar {
      min-height: 80px
   }

   .brand-name {
      font-size: .75rem
   }

   .brand-seal {
      width: 45px;
      height: 45px;
      font-size: 1.1rem
   }

   .brand-seal small {
      font-size: 5px;
      bottom: 8px
   }

   .hero h1 {
      font-size: clamp(2.25rem, 7.3vw, 3.5rem)
   }

   .hero-intro {
      font-size: 1.06rem
   }

   .hero-facts {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 20px 14px
   }

   .hero-facts>div {
      font-size: .875rem;
      border: 0
   }

   .hero-facts>div .icon {
      width: 26px;
      height: 26px
   }

   .hero-facts>div span {
      max-width: 140px
   }

   .hero-facts>div:nth-child(3) span br {
      display: block
   }

   .hero-actions .btn {
      flex: 1;
      font-size: .8rem;
      padding: 13px 16px;
      white-space: nowrap
   }

   .hero-art {
      margin-top: 0 !important
   }

   .hero-footnote {
      font-size: .8rem
   }

   .art-caption {
      font-size: .55rem
   }

   .about-strip {
      gap: 20px;
      align-items: flex-start;
      flex-direction: column
   }

   .small-label br {
      display: none
   }

   .small-label {
      font-size: .7rem
   }

   .hours-label {
      font-size: .8rem;
      margin-right: 8px
   }

   .program-accordion .accordion-button {
      padding: 16px 14px;
      gap: 12px
   }

   .program-accordion .accordion-button>span:nth-child(2) {
      font-size: .9375rem
   }

   .process-flow {
      padding: 24px 8px;
      gap: 4px
   }

   .process-flow li {
      font-size: .75rem
   }

   .process-flow .icon {
      width: 33px;
      height: 33px
   }

   .process-flow li:not(:last-child):after {
      right: -8px;
      top: 1px;
      font-size: 1.1rem
   }

   .teacher-top {
      flex-direction: row;
      align-items: center
   }

   .avatar {
      width: 68px;
      height: 68px
   }

   .teacher-card p {
      font-size: 1rem
   }

   .teacher-card .teacher-role {
      font-size: .875rem
   }

   .testimonials-track {
      gap: 18px
   }

   .testimonial {
      flex-basis: calc((100% - 18px)/2)
   }

   .footer-bottom {
      align-items: flex-start;
      flex-direction: column
   }

   .footer-bottom>div {
      gap: 25px
   }

   .testimonial-toolbar p {
      max-width: 240px
   }

   .modal-header,
   .modal-footer,
   .modal-body {
      padding: 20px
   }

   .modal-body {
      max-height: calc(100dvh - 12rem)
   }
}

@media(max-width:575.98px) {
   .section {
      padding: 80px 0
   }

   .section-heading {
      margin-bottom: 28px
   }

   .section-heading h2 {
      font-size: 1.4rem
   }

   .modal-dialog {
      margin: .5rem
   }

   .modal-body {
      max-height: calc(100dvh - 10.5rem)
   }

   .hero {
      padding-top: 32px
   }

   .hero h1 {
      font-size: clamp(1.8rem, 7.4vw, 2.7rem)
   }

   .hero-actions {
      flex-direction: column;
      gap: 13px
   }

   .hero-actions .btn {
      width: 100%;
      font-size: .875rem
   }

   .hero-intro br {
      display: none
   }

   .hero-facts {
      margin: 24px 0
   }

   .hero-art img {
      width: 112%;
      margin-left: -6%
   }

   .hero-art .art-caption {
      right: 7px;
      bottom: 5px
   }

   .feature-grid {
      --bs-gutter-y: 14px
   }

   .feature-card {
      display: grid;
      grid-template-columns: 53px 1fr;
      text-align: left;
      column-gap: 20px;
      padding: 22px
   }

   .feature-card>.icon {
      grid-row: 1 / 3;
      align-self: center;
      margin: 0;
      width: 45px;
      height: 45px
   }

   .feature-card h3 {
      margin-bottom: 8px
   }

   .feature-card p {
      font-size: .9375rem
   }

   .route-grid {
      --bs-gutter-y: 24px
   }

   .route-grid>.col-sm-6 {
      width: 50%
   }

   .route-step {
      padding: 0 0 8px
   }

   .step-number {
      width: 65px;
      height: 65px;
      font-size: 1.6rem;
      margin-bottom: 24px
   }

   .route-step h3 {
      font-size: 1rem;
      min-height: 38px;
      margin-bottom: 6px
   }

   .route-step p {
      font-size: .875rem
   }

   .route-step .module-hours {
      font-size: .8rem
   }

   .module-index {
      display: none
   }

   .hours-label {
      margin-right: 4px
   }

   .accordion-button small {
      font-size: .75rem
   }

   .program-accordion .accordion-button {
      gap: 8px
   }

   .process-flow li {
      font-size: .7rem
   }

   .process-flow .icon {
      width: 28px;
      height: 28px
   }

   .project-showcase {
      min-height: 290px;
      padding: 10px 0
   }

   .project-preview {
      height: 210px
   }

   .project-preview:nth-child(2) {
      height: 270px;
      width: 49%;
      flex-shrink: 0
   }

   .project-preview:nth-child(1) {
      margin-right: -20px
   }

   .project-preview:nth-child(3) {
      margin-left: -20px
   }

   .preview-content {
      padding: 18px 12px
   }

   .preview-content strong {
      font-size: 1.35rem
   }

   .archivo .preview-content strong {
      font-size: 2rem
   }

   .preview-slogan {
      font-size: .65rem
   }

   .preview-label {
      font-size: .5rem
   }

   .preview-bottom {
      font-size: .4rem
   }

   .browser-bar small {
      font-size: 5px
   }

   .project-meta {
      margin-top: 18px
   }

   .project-meta p {
      font-size: .75rem
   }

   .benefits-grid {
      grid-template-columns: 1fr 1fr;
      gap: 24px 0
   }

   .benefit {
      padding-left: 5px;
      gap: 13px
   }

   .benefit>.icon {
      width: 34px;
      height: 34px
   }

   .benefit strong {
      font-size: 1.65rem
   }

   .benefit span {
      font-size: .75rem
   }

   .benefit:nth-child(even) {
      border-right: 0
   }

   .benefit:nth-child(3) {
      border-right: 1px solid #253c62
   }

   .benefit:nth-child(4) {
      grid-column: auto
   }

   .benefit:last-child {
      grid-column: 1 / -1;
      justify-content: center;
      padding-top: 8px
   }

   .testimonial {
      flex-basis: 88%;
      min-height: 240px
   }

   .testimonial-toolbar p {
      font-size: .8rem
   }

   .faq-column,
   .contact-column {
      padding: 37px 0
   }

   .contact-column .btn {
      font-size: .8rem
   }

   .form-label {
      font-size: .875rem
   }

   .site-footer {
      padding-top: 32px
   }

   .footer-brand {
      margin-bottom: 12px
   }

   .back-top {
      right: 15px;
      bottom: 15px
   }
}

@media(prefers-reduced-motion:reduce) {
   html {
      scroll-behavior: auto
   }

   *,
   *::before,
   *::after {
      animation: none !important;
      transition: none !important;
      scroll-behavior: auto !important
   }

   .btn:hover,
   .feature-card:hover,
   .project-preview:hover {
      transform: none
   }
}

/* Portada 3D: canvas real, controles accesibles y alternativa estática. */
.hero-art-interactive {
   position: relative;
   align-self: center;
   min-width: 0
}

.scene-label {
   display: flex;
   align-items: center;
   justify-content: space-between;
   gap: 12px;
   color: #72aecd;
   font-size: .65rem;
   font-weight: 650;
   letter-spacing: .12em;
   margin: 0 6px 6px
}

.scene-badge {
   padding: 4px 8px;
   border: 1px solid #235c78;
   border-radius: 5px;
   color: #6ddfff;
   white-space: nowrap;
   box-shadow: 0 0 20px #009aff12
}

.hero-scene {
   position: relative;
   width: 112%;
   margin-left: -6%;
   aspect-ratio: 1.14;
   isolation: isolate;
   background: radial-gradient(ellipse at 50% 50%, #08397248, transparent 68%);
   border-radius: 22px;
   outline-offset: -8px
}

.hero-scene canvas {
   display: block;
   width: 100%;
   height: 100%;
   cursor: grab;
   touch-action: pan-y
}

.hero-scene canvas.is-dragging {
   cursor: grabbing
}

.hero-scene #hero-fallback {
   width: 100%;
   height: 100%;
   object-fit: contain;
   margin: 0;
   mask-image: none;
   filter: none
}

.hero-scene [hidden] {
   display: none !important
}

.scene-toolbar {
   position: relative;
   margin: 0 -5px;
   display: flex;
   flex-direction: column;
   align-items: center;
   gap: 12px;
   z-index: 2
}

.scene-toolbar[hidden] {
   display: none
}

.scene-toolbar p {
   font-size: .75rem;
   color: #91a9c9;
   margin: 0;
   text-align: center
}

.scene-toolbar>div {
   display: flex;
   gap: 10px;
   justify-content: center
}

.scene-toolbar button {
   font-size: .8rem;
   min-height: 38px;
   padding: 7px 15px;
   color: #a9def9;
   background: #081a34;
   border: 1px solid #214b6a;
   border-radius: 99px;
   transition: background .2s, border-color .2s
}

.scene-toolbar button:hover {
   border-color: #23b9f2;
   background: #102b49
}

.scene-toolbar button[aria-pressed=true] {
   background: #183249;
   border-color: #46c5f2
}

/* Chat flotante */
.chat-launcher {
   position: fixed;
   right: 24px;
   bottom: 24px;
   z-index: 1040;
   display: flex;
   align-items: center;
   gap: 12px;
   padding: 16px 22px;
   border: 1px solid #51d9ff;
   border-radius: 999px;
   background: linear-gradient(125deg, #4140f4, #0879d6 60%, #00b8dc);
   color: #fff;
   font-weight: 650;
   font-size: .9375rem;
   box-shadow: 0 0 0 5px #086ad914, 0 7px 35px #0087f44d;
   transition: transform .2s, box-shadow .2s;
   min-height: 58px
}

.chat-launcher:hover {
   transform: translateY(-3px);
   box-shadow: 0 0 0 5px #086ad924, 0 7px 40px #0087f470
}

.chat-launcher svg {
   width: 25px;
   height: 25px
}

.chat-panel {
   position: fixed;
   right: 24px;
   bottom: 100px;
   z-index: 1040;
   width: min(405px, calc(100vw - 32px));
   height: min(600px, calc(100dvh - 125px));
   display: flex;
   flex-direction: column;
   background: #061329f7;
   border: 1px solid #2a769b;
   border-radius: 19px;
   box-shadow: 0 20px 80px #0009, 0 0 36px #0583e024;
   overflow: hidden;
   backdrop-filter: blur(20px)
}

.chat-panel[hidden] {
   display: none
}

html.chat-open,
body.chat-is-open {
   overflow: hidden;
   overscroll-behavior: none;
   touch-action: none;
}

.chat-header {
   display: flex;
   gap: 12px;
   align-items: center;
   padding: 18px;
   background: linear-gradient(105deg, #0a294c, #10203f);
   border-bottom: 1px solid #214060;
   flex: none
}

.chat-avatar {
   display: grid;
   place-items: center;
   width: 43px;
   height: 43px;
   flex: none;
   border: 1px solid #51ccf5;
   border-radius: 14px;
   color: #75e1ff;
   background: #0a203d;
   font-weight: 800;
   font-size: .95rem;
   box-shadow: inset 0 0 18px #109bed22
}

.chat-header h2 {
   font-size: 1rem;
   letter-spacing: 0;
   margin: 0 0 4px
}

.chat-header p {
   font-size: .75rem;
   color: #8fb8d9;
   margin: 0
}

.chat-header>button {
   margin-left: auto;
   border: 0;
   background: none;
   color: #b8d7e8;
   font-size: 1.7rem;
   line-height: 1;
   min-width: 34px;
   height: 38px;
   border-radius: 8px
}

.chat-header>button:hover {
   background: #28435f
}

.chat-log {
   flex: 1;
   overflow-y: auto;
   overscroll-behavior: contain;
   min-height: 100px;
   padding: 20px 17px;
   scrollbar-width: thin;
   scrollbar-color: #285677 transparent
}

.chat-message {
   width: 94%;
   border: 1px solid #244668;
   border-radius: 3px 15px 15px 15px;
   padding: 12px 14px;
   margin-bottom: 15px;
   background: #0b213a;
   overflow-wrap: anywhere
}

.chat-message-user {
   margin-left: auto;
   background: linear-gradient(130deg, #183c77, #0d4770);
   border-color: #2c6a99;
   border-radius: 15px 3px 15px 15px;
   width: fit-content;
   max-width: 90%
}

.chat-speaker {
   display: block;
   margin-bottom: 5px;
   font-size: .7rem;
   font-weight: 700;
   color: #72d9ff
}

.chat-message-user .chat-speaker {
   color: #b7d6ff
}

.chat-message p {
   white-space: pre-line;
   margin: 0;
   color: #d6e3f4;
   font-size: .9375rem;
   line-height: 1.6
}

.chat-answer-link {
   display: inline-block;
   color: #70d9ff;
   font-size: .875rem;
   font-weight: 600;
   line-height: 1.5;
   margin-top: 10px;
   padding: 5px 0
}

.chat-answer-link:hover {
   color: #fff;
   text-decoration: underline
}

.chat-suggestions {
   flex: none;
   display: flex;
   flex-wrap: wrap;
   gap: 7px;
   padding: 4px 17px 12px
}

.chat-suggestions button {
   border: 1px solid #31537a;
   border-radius: 99px;
   padding: 7px 12px;
   font-size: .7rem;
   background: #0b1b32;
   color: #a1c9e5;
   min-height: 34px
}

.chat-suggestions button:hover {
   background: #123354;
   border-color: #25b7e2;
   color: #e2f7ff
}

.chat-form {
   flex: none;
   display: flex;
   gap: 8px;
   margin: 0 15px;
   padding-top: 12px;
   border-top: 1px solid #244260
}

.chat-form input {
   width: 100%;
   min-width: 0;
   border: 1px solid #305174;
   border-radius: 10px;
   background: #07162b;
   color: #f2f6ff;
   padding: 12px 13px;
   font-size: 1rem;
   line-height: 1.4
}

.chat-form input::placeholder {
   color: #7f96b3
}

.chat-form>button {
   width: 47px;
   flex: none;
   border: 1px solid #2dc8fa;
   border-radius: 11px;
   color: #fff;
   background: linear-gradient(140deg, #464bf1, #058fcf)
}

.chat-form svg {
   width: 21px;
   height: 21px
}

.chat-disclosure {
   flex: none;
   margin: 10px 16px 14px;
   font-size: .7rem;
   line-height: 1.5;
   color: #95a9c5;
   text-align: center
}

/* Estilos exclusivos para el aviso del chatbot: breve + detalles accesibles */
#diplomado-chat .chat-disclosure {
   display: block;
   text-align: center;
   color: #95a9c5;
}

#diplomado-chat .chat-disclosure .chat-brief {
   display: block;
   color: #dff8ff;
   font-weight: 600;
   margin-bottom: 6px;
}

#diplomado-chat .chat-disclosure details.chat-privacy {
   display: block;
   width: calc(100% - 32px);
   max-width: 640px;
   margin: 0 auto;
   background: rgba(3,12,22,0.45);
   border: 1px solid rgba(45,200,250,0.08);
   border-radius: 10px;
   padding: 6px 8px;
   overflow: hidden;
   overscroll-behavior: contain;
   touch-action: pan-y;
}

#diplomado-chat .chat-disclosure summary.chat-privacy-summary {
   list-style: none;
   cursor: pointer;
   color: #7fd4ff;
   font-weight: 600;
   outline: none;
   display: block;
}

#diplomado-chat .chat-disclosure summary.chat-privacy-summary:focus {
   box-shadow: 0 0 0 3px rgba(45,200,250,0.14);
   border-radius: 6px;
}

#diplomado-chat .chat-disclosure summary.chat-privacy-summary::-webkit-details-marker {
   display: none;
}

#diplomado-chat .chat-disclosure .chat-privacy-content {
   margin-top: 8px;
   color: #b9d9f0;
   font-size: .82rem;
   line-height: 1.45;
   text-align: left;
   max-height: min(42vh, 300px);
   overflow-y: auto;
   overscroll-behavior: contain;
   -webkit-overflow-scrolling: touch;
   padding-right: 6px;
   word-break: break-word;
}

#diplomado-chat {
   overscroll-behavior: contain;
}

/* En móviles evitar que el desplegable tape el campo de escritura */
@media(max-width:575.98px) {
  #diplomado-chat .chat-disclosure details.chat-privacy {
    width: calc(100% - 24px);
    padding: 5px 7px;
  }
  #diplomado-chat .chat-disclosure summary.chat-privacy-summary {
    font-size: .6rem;
    line-height: 1.4;
  }
  #diplomado-chat .chat-disclosure .chat-privacy-content {
    max-height: min(30vh, 220px);
    font-size: .76rem;
    padding-right: 4px;
  }
}

.back-top {
   right: 25px;
   bottom: 100px
}

.chat-is-open .back-top {
   visibility: hidden
}

@media(max-width:991.98px) {
   .hero-art-interactive {
      margin-top: 25px !important
   }

   .hero-scene {
      max-width: 700px;
      margin-left: auto;
      margin-right: auto;
      width: 100%;
      aspect-ratio: 1.22
   }

   .scene-label {
      max-width: 620px;
      margin: auto
   }

   .scene-toolbar {
      margin-top: -12px
   }

   .hero {
      padding-bottom: 38px
   }
}

@media(max-width:575.98px) {
   .hero-art-interactive {
      margin-top: 28px !important
   }

   .scene-label {
      font-size: .55rem;
      letter-spacing: .08em;
      gap: 8px
   }

   .hero-scene {
      width: calc(100% + 24px);
      margin-left: -12px;
      aspect-ratio: 1.04
   }

   .scene-toolbar p {
      font-size: .7rem
   }

   .scene-toolbar button {
      font-size: .75rem;
      min-height: 38px
   }

   .chat-launcher {
      right: 16px;
      bottom: calc(16px + env(safe-area-inset-bottom));
      padding: 15px 17px;
      min-height: 55px;
      gap: 9px;
      font-size: .875rem
   }

   .chat-panel {
      right: 12px;
      bottom: calc(85px + env(safe-area-inset-bottom));
      width: calc(100vw - 24px);
      height: min(560px, calc(100dvh - 105px - env(safe-area-inset-bottom)));
      border-radius: 17px
   }

   .chat-header {
      padding: 14px
   }

   .chat-log {
      padding: 16px 13px
   }

   .chat-message p {
      font-size: .9375rem
   }

   .chat-suggestions {
      padding-left: 13px;
      padding-right: 13px
   }

   .chat-disclosure {
      font-size: .7rem
   }

   .back-top {
      right: 19px;
      bottom: 91px
   }
}

@media(max-height:550px) {
   .chat-panel {
      bottom: 12px;
      height: calc(100dvh - 24px)
   }

   .chat-is-open .chat-launcher {
      visibility: hidden
   }

   .chat-suggestions {
      display: none
   }

   .chat-header {
      padding: 10px 14px
   }

   .chat-disclosure {
      margin: 7px 12px
   }
}

/* La capa de código flota delante del modelo sin capturar interacción. */
.hero-scene {
   background: radial-gradient(ellipse at 59% 43%, #063b742b, transparent 63%)
}

.hero-scene canvas {
   position: relative;
   z-index: 1
}

.code-hologram {
   display: none;
   position: absolute;
   z-index: 3;
   left: -15px;
   top: 12%;
   width: 255px;
   max-width: 47%;
   pointer-events: none;
   transform: perspective(950px) rotateY(9deg) rotateZ(-2deg);
   transform-origin: left center;
   background: linear-gradient(110deg, #061a2a21, #091d3808);
   border-left: 1px solid #169fc63b;
   border-top: 1px solid #259ac818;
   border-radius: 3px;
   color: #65d5ef;
   opacity: .69;
   text-shadow: 0 0 8px #03b2ef45;
   box-shadow: -10px 0 35px #0099dd05
}

.scene-ready .code-hologram {
   display: block
}

.code-hologram-title {
   display: flex;
   justify-content: space-between;
   gap: 12px;
   padding: 9px 11px 10px;
   border-bottom: 1px solid #3792b21c;
   font: 500 .6rem/1.3 "SFMono-Regular", Consolas, monospace;
   letter-spacing: .05em;
   color: #88c9e8
}

.code-hologram-title>span:last-child {
   color: #4c8fa9
}

.code-hologram pre {
   font: 400 clamp(.54rem, .84vw, .75rem)/1.85 "SFMono-Regular", Consolas, "Liberation Mono", monospace;
   letter-spacing: -.025em;
   padding: 12px 11px 9px;
   margin: 0;
   height: 32em;
   min-height: 0;
   white-space: pre;
   overflow: hidden;
   color: #73dbf2
}

.code-hologram code {
   font: inherit;
   color: inherit
}

.syntax-tag {
   color: #32c8f0
}

.syntax-attr {
   color: #8fdbea
}

.syntax-value {
   color: #ae9eff
}

.syntax-plain {
   color: #bbdeec
}

.typing-caret {
   display: inline-block;
   color: #78edff;
   animation: code-caret-blink 1s steps(2, start) infinite;
   font-size: .95em
}

.code-hologram-footer {
   display: flex;
   justify-content: space-between;
   gap: 7px;
   border-top: 1px solid #3290b21a;
   padding: 8px 10px;
   color: #669db7;
   font: 400 .47rem/1.3 Consolas, monospace;
   letter-spacing: .05em
}

.motion-paused .typing-caret {
   animation: none;
   opacity: .6
}

@keyframes code-caret-blink {
   to {
      visibility: hidden
   }
}

@media(min-width:1400px) {
   .code-hologram {
      left: -27px;
      width: 265px
   }

   .code-hologram pre {
      font-size: .74rem
   }
}

@media(max-width:991.98px) {
   .code-hologram {
      left: 0;
      top: 13%;
      max-width: 40%;
      width: 255px
   }

   .code-hologram pre {
      font-size: .69rem
   }
}

@media(max-width:575.98px) {
   .code-hologram {
      left: 0;
      top: 13%;
      width: 190px;
      max-width: 47%;
      opacity: .59
   }

   .code-hologram-title {
      font-size: .47rem;
      padding: 7px
   }

   .code-hologram pre {
      font-size: .47rem;
      line-height: 1.9;
      padding: 7px;
      height: 32em;
      min-height: 0
   }

   .code-hologram-footer {
      font-size: .35rem;
      padding: 6px
   }

   .hero-scene {
      aspect-ratio: 1.02
   }
}

@media(prefers-reduced-motion:reduce) {
   .typing-caret {
      animation: none;
      display: none
   }
}