/* Codifica Studio · dirección tecnológica, con identidad de marca propia. */
@font-face { font-family: 'Oxanium'; src: url('/assets/fonts/Oxanium-Variable.woff') format('woff'); font-style: normal; font-weight: 200 800; font-display: swap; }
:root { --heading: 'Oxanium', 'Source Sans 3', sans-serif; --accent-ink: var(--cyan); --studio-panel: #F3F8FC; }
html[data-theme='dark'] { --accent-ink: var(--cyan); --studio-panel: #101923; }
body { -webkit-font-smoothing: antialiased; }
h1, h2 { font-family: var(--heading); font-weight: 600; letter-spacing: -.035em; }
h3, .course-hero h1 { font-family: var(--font); }
.section-head .eyebrow, .page-intro .eyebrow, .hero-copy > .eyebrow, .cta-copy > .eyebrow { text-transform: uppercase; letter-spacing: .13em; font-size: .72rem; font-weight: 700; }
.section-head .eyebrow::before, .page-intro .eyebrow::before, .hero-copy > .eyebrow::before { content: ''; display: inline-block; width: 28px; height: 2px; background: var(--cyan); vertical-align: middle; margin-right: 12px; }
.section-head .eyebrow:has(svg)::before { content: none; }
html .section-head h2 { font-family: var(--heading); font-size: clamp(2rem,3.2vw,3rem); font-weight: 600; line-height: 1.14; letter-spacing: -.035em; }
.section-head p { max-width: 660px; margin-top: 20px; line-height: 1.6; }
.section { padding-block: 94px; }
.button { border-radius: 8px; min-height: 51px; padding-inline: 24px; font-weight: 600; transition: background .2s, border-color .2s, box-shadow .2s, transform .2s; }
.button:hover { transform: translateY(-2px); }
.button-primary:hover { box-shadow: 0 8px 28px #0AD6DE24; }
.button .icon, .text-link .icon { transition: transform .2s; }
.button:hover .icon, .text-link:hover .icon { transform: translate(3px,-1px); }
.icon-button { border-radius: 10px; }
.text-link { font-weight: 600; }
.topline { display: none; }
.header-inner { height: 86px; min-height: 86px; gap: 38px; }
.header-search { max-width: 610px; }
.header-search-control { border-radius: 10px; background: var(--paper); padding: 4px 5px 4px 17px; }
.header-search-control button { border-radius: 7px; }
.header-search-control input { height: 35px; }
.header-cta { min-height: 44px; font-size: .84rem; }
.header-nav-inner { min-height: 42px; }
.main-nav a { font-size: .77rem; font-weight: 600; letter-spacing: .035em; text-transform: uppercase; }
.explore-menu > summary { font-family: var(--font); font-size: .82rem; }
.header-portfolio { font-size: .78rem; }
.site-header.is-scrolled { box-shadow: 0 10px 36px #00000013; }
html[data-theme='dark'] .site-header { background: #0C1118; }
html[data-theme='dark'] .header-search-control { background: #111C29; }

/* La portada combina una fotografía real con una trama animada original. */
html[data-theme] .brand-hero { position: relative; isolation: isolate; overflow: hidden; padding-top: 74px; background: var(--paper); }
html:not([data-theme='dark']) .brand-hero { background: radial-gradient(ellipse at 90% 35%,#0AD6DE0E,transparent 55%),#FFFFFF; }
html[data-theme='dark'] .brand-hero { background: radial-gradient(ellipse at 80% 35%,#21406F40,transparent 65%),#080A0D; }
.hero-ambient { position: absolute; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; opacity: .6; }
.hero-ambient canvas { display: block; width: 100%; height: 100%; }
.brand-hero .hero-grid { grid-template-columns: minmax(0,1.22fr) minmax(0,.88fr); gap: 68px; align-items: center; }
.brand-hero .hero-copy { position: relative; z-index: 1; padding-block: 12px 20px; }
html[data-theme] .brand-hero .hero-copy > .eyebrow { display: block; padding: 0; border: 0; background: none; margin-bottom: 26px; color: var(--accent-ink); font-size: .71rem; }
.hero-copy .tiny-dot { display: none; }
html[data-theme] .brand-hero .hero-copy h1 { font-family: var(--heading); font-size: clamp(2.5rem,4.15vw,3.9rem); font-weight: 700; line-height: 1.09; letter-spacing: -.035em; text-transform: uppercase; }
html[data-theme] .brand-hero .hero-copy h1 > span { display: block; font-weight: 700; text-decoration: none; }
html[data-theme] .brand-hero .hero-copy h1 .hero-lead { color: var(--ink); }
html[data-theme] .brand-hero .hero-copy h1 .hero-accent { color: var(--cyan); margin-top: 6px; }
.brand-hero .hero-copy > p { font-size: 1.15rem; line-height: 1.6; max-width: 550px; margin: 26px 0 28px; }
.brand-hero .hero-actions { gap: 12px; margin-bottom: 22px; }
.hero-topics { margin-top: 20px; font-size: .86rem; gap: 10px 14px; }
.hero-topics > span { font-size: .76rem; text-transform: uppercase; letter-spacing: .05em; }
.hero-topics a { text-decoration-color: var(--line); text-underline-offset: 5px; }
.hero-note { margin-top: 25px; font-size: .85rem; }
.brand-hero .hero-composition { max-width: 460px; position: relative; }
html[data-theme] .brand-hero .hero-visual { aspect-ratio: 1; width: 100%; height: auto; min-height: 0; border-radius: 22px; box-shadow: 0 24px 80px #10264220; }
html[data-theme='dark'] .brand-hero .hero-visual { border-color: #0AD6DE40; box-shadow: 0 24px 85px #00000055; }
.hero-stats-card { margin-top: -45px; width: calc(100% - 34px); padding: 18px 23px; border-radius: 13px; }
.hero-stats-card strong { font-family: var(--heading); font-size: 2rem; font-weight: 700; }
.stats-symbol { border-radius: 11px; }
.hero-stats-card div > span { font-size: .84rem; }
.hero-floating-tag { font-size: .79rem; margin-top: 15px; }
.hero-floating-tag .icon { color: var(--accent-ink); }
.hero-bottom { position: relative; margin-top: 50px; padding-block: 22px; font-size: .8rem; }
.hero-bottom-actions { display: flex; align-items: center; gap: 28px; }
.hero-bottom-actions > a { display: flex; align-items: center; gap: 12px; }
.hero-bottom-actions > a .icon { transform: rotate(90deg); width: 16px; }
.motion-control { display: inline-flex; align-items: center; gap: 7px; background: transparent; border: 1px solid var(--line); border-radius: 7px; padding: 8px 10px; color: var(--muted); font-size: .72rem; min-height: 36px; }
.motion-control .icon { width: 13px; height: 13px; }
.motion-control .icon:last-of-type, .motion-control[aria-pressed='true'] .icon:first-of-type { display: none; }
.motion-control[aria-pressed='true'] .icon:last-of-type { display: block; }
.motion-control:hover { color: var(--ink); border-color: var(--accent-ink); }
html[data-theme] .expertise-strip { background: #172F50; border: 0; }
.expertise-strip .container { min-height: 82px; }
html[data-theme] .expertise-strip a { color: #E5F1FB; font-size: .93rem; }
html[data-theme] .expertise-strip .icon { color: var(--cyan); }

/* Recorridos de entrada y catálogo: se preservan las fichas y los filtros. */
.goal-section { padding-block: 48px 4px; }
.goal-heading { align-items: baseline; margin-bottom: 22px; }
.goal-heading h2 { font-family: var(--heading); font-size: 1.4rem; font-weight: 600; }
.goal-grid > a { padding: 25px 23px; border-radius: 16px; position: relative; overflow: hidden; }
.goal-grid > a::before { content: ''; position: absolute; left: 20px; right: 20px; bottom: 0; height: 2px; background: var(--cyan); transform: scaleX(0); transform-origin: left; transition: transform .25s; }
.goal-grid > a:hover::before { transform: scaleX(1); }
.goal-grid > a > .icon:first-child { color: var(--accent-ink); }
.goal-grid h3 { font-size: 1.03rem; line-height: 1.25; }
.goal-grid p { font-size: .92rem; }
.discovery-section { padding-block: 88px; }
.discovery-tabs { gap: 30px; }
.discovery-tabs > button { font-weight: 600; padding-bottom: 17px; }
.course-card { border-radius: 16px; transition: transform .25s, border-color .25s, box-shadow .25s; }
.course-card:hover { transform: translateY(-5px); box-shadow: 0 18px 45px #21406F13; }
.course-card-image img, .course-card > a img { transition: transform .5s; }
.course-card:hover .course-card-image img, .course-card:hover > a img { transform: scale(1.035); }
.course-card-content { padding: 22px 20px 19px; }
.course-card h3 { font-family: var(--font); font-size: 1.17rem; font-weight: 600; letter-spacing: -.015em; line-height: 1.3; }
.course-category { color: var(--accent-ink); font-size: .76rem; }
.category-card { border-radius: 20px; }
.category-overlay strong { font-family: var(--font); font-size: 1.8rem; font-weight: 600; }

/* Tarjeta protagonista y selector de tres líneas de servicios. */
html[data-theme] .services-showcase { background: var(--pale); border-block: 1px solid var(--line); }
.services-showcase .section-head { max-width: 800px; margin-bottom: 38px; }
.solution-bento { display: grid; grid-template-columns: minmax(0,1.12fr) minmax(0,.88fr); gap: 22px; }
.solution-bento > .service-tablist { grid-column: 2; grid-row: 1; display: grid; grid-template-columns: 1fr; grid-template-rows: repeat(2,1fr); margin: 0; gap: 16px; }
.solution-bento > .service-showcase-panel { grid-column: 1; grid-row: 1; display: flex; flex-direction: column; border-radius: 20px; border-color: var(--line); background: var(--surface); }
.solution-bento > .service-showcase-panel[hidden] { display: none !important; }
.showcase-copy { padding: 34px 36px 32px; }
.showcase-copy > .eyebrow { font-size: .7rem; text-transform: uppercase; letter-spacing: .12em; }
.showcase-copy > h3 { font-family: var(--heading); font-size: clamp(1.65rem,2.6vw,2.35rem); font-weight: 600; line-height: 1.17; letter-spacing: -.03em; }
.showcase-copy > p { font-size: 1.05rem; max-width: 500px; }
.showcase-links { margin-block: 16px 24px; }
.showcase-links > a { font-size: .98rem; padding-block: 10px; }
.showcase-image { min-height: 190px; flex: 1; max-height: 240px; }
.showcase-image > img { object-position: center 43%; }
.showcase-image > span { font-size: .76rem; padding: 8px 15px; border-radius: 7px; left: 20px; bottom: 20px; }
.service-tablist > button { display: grid; grid-template-columns: 44px minmax(0,1fr) 20px; align-content: center; align-items: start; gap: 18px; padding: 30px; text-align: left; position: relative; overflow: hidden; background: var(--surface); color: var(--ink); border: 1px solid var(--line); border-radius: 18px; transition: border-color .25s, background .25s, transform .25s; }
.service-tablist > button > .icon:first-child { width: 24px; height: 24px; padding: 10px; box-sizing: content-box; border: 1px solid var(--line); border-radius: 11px; color: var(--accent-ink); }
.service-tablist > button > .icon:last-child { width: 18px; height: 18px; margin-top: 5px; }
.service-tab-copy strong { font-family: var(--heading); font-size: 1.24rem; line-height: 1.25; font-weight: 600; letter-spacing: -.025em; display: block; }
.service-tab-copy small { display: block; font-size: .94rem; line-height: 1.45; color: var(--muted); margin-top: 12px; font-weight: 400; }
.service-tablist > button[aria-selected='true'] { background: var(--studio-panel); color: var(--ink); border-color: var(--accent-ink); }
.service-tablist > button[aria-selected='true'] > .icon:first-child { color: var(--accent-ink); border-color: var(--accent-ink); }
.service-tablist > button[aria-selected='true']::after { content: ''; position: absolute; left: 0; top: 23px; bottom: 23px; width: 3px; background: var(--cyan); }
.service-tablist > button:hover { transform: translateX(-3px); border-color: var(--accent-ink); }
.solution-next { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-top: 22px; padding: 24px 28px; border: 1px solid var(--line); border-radius: 15px; background: var(--surface); }
.solution-next > span { display: flex; gap: 13px; align-items: center; color: var(--muted); font-size: .98rem; }
.solution-next > span > .icon { color: var(--accent-ink); }

/* Prueba social y conversación, con más espacio para leer. */
.business-grid { border-radius: 24px; }
.business-copy h2, .about-inline h2, .expert-panel h2, .home-faq h2 { font-family: var(--heading); font-weight: 600; letter-spacing: -.035em; line-height: 1.15; }
.about-inline h2 em { font-style: normal; text-decoration: none; color: var(--accent-ink); }
.expert-panel { border: 1px solid var(--line); border-radius: 20px; background: var(--surface); }
.expert-monogram { border-radius: 16px; font-family: var(--heading); }
.google-reviews { background: var(--paper); }
.review-track { grid-auto-columns: calc((100% - 24px) / 2); gap: 24px; }
.review-card { padding: 32px; border-radius: 20px; box-shadow: none; background: var(--surface); border: 1px solid var(--line); }
.review-body blockquote p { font-size: 1.1rem; line-height: 1.65; }
.review-author h3 { font-family: var(--font); font-size: 1.05rem; }
.review-avatar { width: 46px; height: 46px; }
.review-avatar img { width: 100%; height: 100%; object-fit: cover; }
.home-faq { border-block: 1px solid var(--line); }
.faq-list details { padding-block: 22px; }
.faq-list summary { font-weight: 600; }
.cta-section { background: var(--paper); padding-block: 40px 80px; }
.cta-inner { display: grid; grid-template-columns: minmax(0,1.2fr) minmax(0,.8fr); align-items: center; gap: 65px; padding: 56px; border: 1px solid #0AD6DE40; border-radius: 24px; background: radial-gradient(ellipse at 0% 100%,#0AD6DE16,transparent 55%),linear-gradient(120deg,#21406F,#122944); color: #FFFFFF; }
html[data-theme] .cta-inner h2 { font-family: var(--heading); font-size: clamp(1.85rem,3vw,2.7rem); font-weight: 600; line-height: 1.16; letter-spacing: -.035em; color: #FFFFFF; }
html[data-theme] .cta-inner .eyebrow { color: #0AD6DE; }
.cta-conversation > p { font-size: 1.13rem; color: #FFFFFF; margin-bottom: 17px; }
.cta-conversation ol { padding-left: 20px; margin: 0 0 25px; color: #D7E2EF; font-size: 1rem; line-height: 1.8; }
.cta-conversation ol li { padding-left: 5px; }
html[data-theme] .cta-conversation .button-light { background: var(--cyan); color: #0A263E; border-color: var(--cyan); width: fit-content; }
html[data-theme] .cta-conversation .button-light:hover { background: var(--aqua); border-color: var(--aqua); }
.site-footer { padding-bottom: 22px; }
.footer-main h2 { letter-spacing: .055em; text-transform: uppercase; }
.footer-main > div > a:not(.wordmark):hover, .footer-presence .social-links a:hover { color: var(--cyan); }
.floating-contact { position: fixed; right: 24px; bottom: 24px; z-index: 70; display: flex; align-items: center; gap: 12px; min-height: 54px; padding: 12px 18px; background: #142D4F; color: #FFFFFF; border: 1px solid #0AD6DE70; border-radius: 15px; box-shadow: 0 8px 35px #00000024; font-size: .85rem; font-weight: 600; transition: transform .2s, background .2s; }
.floating-contact > .icon:first-child { width: 23px; height: 23px; color: var(--cyan); }
.floating-contact > .icon:last-child { width: 16px; height: 16px; }
.floating-contact:hover { background: #21406F; transform: translateY(-3px); }
.floating-contact[hidden] { display: none; }

/* La nueva jerarquía se extiende a las páginas interiores. */
.page-intro { position: relative; overflow: hidden; isolation: isolate; padding-block: 76px 82px; }
.page-intro::before { content: ''; position: absolute; z-index: -1; inset: 0; opacity: .38; background: radial-gradient(ellipse at 95% 0%,#0AD6DE24,transparent 60%),repeating-linear-gradient(90deg,transparent 0 89px,#21406F0E 90px 91px); mask-image: linear-gradient(90deg,transparent,#000); }
html[data-theme] .page-intro h1 { font-family: var(--heading); font-size: clamp(2.2rem,4.3vw,3.7rem); line-height: 1.12; font-weight: 600; letter-spacing: -.035em; max-width: 970px; }
.page-intro p { max-width: 730px; font-size: 1.15rem; line-height: 1.6; margin-top: 25px; }
.page-intro h1 span { color: var(--accent-ink); }
.catalog-search { border-radius: 15px; box-shadow: 0 14px 35px #21406F0C; }
.catalog-search .button { border-radius: 9px; }
.course-hero h1 { font-family: var(--font); font-weight: 600; }
.course-info, .contact-form, .contact-card, .selection-summary { border-radius: 20px; }
.form-field input, .form-field textarea, .form-field select { border-radius: 9px; }
.module { border-radius: 11px; }
.module summary { font-family: var(--font); font-weight: 600; }
.service-detail { border-radius: 22px; }
.service-detail h2 { font-family: var(--heading); font-weight: 600; }

@media (max-width: 1150px) {
  .header-inner { gap: 26px; }
  .brand-hero .hero-grid { gap: 35px; }
  html[data-theme] .brand-hero .hero-copy h1 { font-size: clamp(2.4rem,4.3vw,3.5rem); }
  .service-tablist > button { padding: 24px; gap: 14px; }
  .service-tab-copy strong { font-size: 1.12rem; }
  .cta-inner { padding: 42px; gap: 35px; }
}
@media (max-width: 960px) {
  .brand-hero .hero-grid { grid-template-columns: minmax(0,1.12fr) minmax(0,.88fr); gap: 30px; }
  .brand-hero .hero-copy > p { font-size: 1.07rem; }
  .hero-copy .button { padding-inline: 18px; font-size: .85rem; }
  .service-tablist > button { grid-template-columns: 37px minmax(0,1fr); padding: 21px; }
  .service-tablist > button > .icon:last-child { display: none; }
  .service-tablist > button > .icon:first-child { width: 21px; height: 21px; padding: 8px; }
  .service-tab-copy small { font-size: .87rem; }
  .showcase-copy { padding: 28px; }
}
@media (max-width: 800px) {
  .header-inner { height: auto; min-height: 0; padding-block: 13px; }
  .header-nav-inner { min-height: 0; }
  .header-inner .brand-logo { width: 49px; }
  .header-search-control { border-radius: 9px; }
  .main-nav a { text-transform: none; font-size: 1.05rem; letter-spacing: 0; }
  html[data-theme] .brand-hero { padding-top: 45px; }
  .brand-hero .hero-grid { grid-template-columns: 1fr; gap: 32px; }
  .brand-hero .hero-copy { max-width: 650px; padding-block: 0; }
  html[data-theme] .brand-hero .hero-copy h1 { font-size: clamp(2.6rem,6.4vw,3.8rem); max-width: 630px; }
  .brand-hero .hero-copy > p { max-width: 600px; }
  .brand-hero .hero-composition { max-width: 470px; }
  .hero-ambient { opacity: .4; }
  .hero-bottom > span { display: none; }
  .hero-bottom-actions { width: 100%; justify-content: space-between; }
  .section { padding-block: 70px; }
  .goal-grid { grid-template-columns: 1fr; }
  .goal-grid > a { padding: 21px 23px; }
  .goal-grid h3 { font-size: 1.1rem; }
  .solution-bento { display: flex; flex-direction: column; }
  .solution-bento > .service-tablist { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); grid-template-rows: 1fr; gap: 12px; order: 0; }
  .service-tablist > button { display: flex; flex-direction: column; padding: 20px; gap: 13px; }
  .service-tab-copy strong { font-size: 1rem; }
  .service-tab-copy small { margin-top: 7px; }
  .service-tablist > button:hover { transform: translateY(-2px); }
  .solution-bento > .service-showcase-panel { order: 1; }
  .showcase-copy > h3 { font-size: 2rem; }
  .showcase-image { min-height: 220px; max-height: none; }
  .solution-next { align-items: flex-start; flex-direction: column; }
  .review-track { grid-auto-columns: 100%; }
  .review-card { padding: 28px; }
  .cta-inner { grid-template-columns: 1fr; gap: 28px; padding: 35px; }
  .cta-conversation > p { font-size: 1.08rem; }
}
@media (max-width: 640px) {
  .header-inner .brand-logo { width: 46px; }
  .header-actions { gap: 13px; }
  html[data-theme] .brand-hero .hero-copy > .eyebrow { font-size: .66rem; letter-spacing: .09em; margin-bottom: 22px; }
  .hero-copy > .eyebrow::before { width: 19px; margin-right: 8px; }
  html[data-theme] .brand-hero .hero-copy h1 { font-size: clamp(2rem,8.1vw,3.15rem); line-height: 1.12; letter-spacing: -.04em; }
  .brand-hero .hero-copy > p { font-size: 1.08rem; margin-top: 22px; line-height: 1.55; }
  .brand-hero .hero-actions .button { min-height: 50px; padding-inline: 10px; font-size: .84rem; white-space: nowrap; gap: 8px; }
  .hero-topics { font-size: .83rem; gap: 9px 12px; }
  .hero-note { font-size: .82rem; }
  html[data-theme] .brand-hero .hero-visual { border-radius: 20px; }
  .hero-stats-card { padding: 16px 18px; width: calc(100% - 24px); }
  .hero-stats-card strong { font-size: 1.9rem; }
  .hero-bottom { margin-top: 31px; padding-block: 18px; }
  .hero-bottom-actions { gap: 12px; }
  .hero-bottom-actions > a { font-size: .75rem; gap: 8px; }
  .motion-control { font-size: .66rem; padding: 7px 8px; }
  html[data-theme] .expertise-strip a { font-size: .82rem; }
  .expertise-strip .container { min-height: 105px; padding-block: 20px; gap: 15px; }
  .goal-heading { flex-direction: column; gap: 10px; }
  .goal-heading h2 { font-size: 1.45rem; }
  .goal-section { padding-block: 35px 0; }
  .section { padding-block: 58px; }
  html .section-head h2 { font-size: 2rem; }
  .section-head .eyebrow { font-size: .69rem; letter-spacing: .09em; }
  .section-head p { font-size: 1.04rem; margin-top: 17px; }
  .section-head .eyebrow::before { width: 20px; margin-right: 9px; }
  .course-card h3, .course-grid .course-card h3 { font-size: 1.2rem; }
  .solution-bento { gap: 17px; }
  .solution-bento > .service-tablist { display: flex; gap: 10px; overflow-x: auto; padding: 3px 2px 10px; }
  .service-tablist > button { flex: 0 0 147px; min-height: 125px; padding: 16px; gap: 12px; }
  .service-tab-copy strong { font-size: .93rem; }
  .service-tab-copy small { display: none; }
  .service-tablist > button[aria-selected='true']::after { top: auto; right: 16px; left: 16px; bottom: 0; width: auto; height: 2px; }
  .showcase-copy { padding: 26px 23px; }
  .showcase-copy > h3 { font-size: 1.8rem; }
  .showcase-copy > p { font-size: 1.04rem; }
  .showcase-image { min-height: 190px; }
  .solution-next { padding: 22px; }
  .solution-next > span { font-size: .91rem; align-items: flex-start; }
  .solution-next > span > .icon { flex-shrink: 0; }
  .review-card { padding: 24px; }
  .review-body blockquote p { font-size: 1.05rem; }
  .cta-section { padding-block: 24px 50px; }
  .cta-inner { width: calc(100% - 36px); padding: 30px 24px; border-radius: 20px; }
  html[data-theme] .cta-inner h2 { font-size: 1.9rem; }
  .cta-conversation .button { font-size: .9rem; padding-inline: 17px; }
  .floating-contact { width: 52px; height: 52px; min-height: 52px; padding: 0; right: 16px; bottom: 18px; border-radius: 15px; justify-content: center; }
  .floating-contact > span, .floating-contact > .icon:last-child { display: none; }
  .page-intro { padding-block: 50px 65px; }
  html[data-theme] .page-intro h1 { font-size: clamp(2rem,8.5vw,2.8rem); }
  .page-intro p { font-size: 1.07rem; margin-top: 22px; }
}
@media (max-width: 360px) {
  .brand-hero .hero-actions { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: no-preference) {
  .hero-copy > .eyebrow { animation: studio-rise .6s both; }
  .hero-copy h1 .hero-lead { animation: studio-rise .7s .08s both; }
  .hero-copy h1 .hero-accent { animation: studio-rise .7s .18s both; }
  .hero-copy > p { animation: studio-rise .7s .27s both; }
  @keyframes studio-rise { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
}
@media (prefers-reduced-motion: reduce) {
  .button, .button .icon, .text-link .icon, .course-card, .course-card img, .service-tablist > button, .goal-grid > a, .goal-grid > a::before, .floating-contact { animation: none; transition: none; }
  .button:hover, .course-card:hover, .service-tablist > button:hover, .goal-grid > a:hover, .floating-contact:hover, .course-card:hover > a img { transform: none; }
}

/* Dos empresas, con atribución visible de cada especialidad. */
.provider-label { display: block; color: var(--accent-ink); font-size: .73rem; font-weight: 600; letter-spacing: .035em; margin-bottom: 10px; }
.goal-grid .provider-label { font-size: .67rem; margin-bottom: 9px; }
.company-overview { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 24px; margin-top: -20px; padding-bottom: 32px; position: relative; }
.company-overview-card { padding: 32px; border: 1px solid var(--line); background: var(--surface); border-radius: 18px; transition: transform .2s, border-color .2s; }
.company-overview-card:hover { transform: translateY(-3px); border-color: var(--cyan); }
.company-overview-card h2 { font-size: 1.85rem; margin: 15px 0; }
.company-overview-card p { color: var(--muted); line-height: 1.6; font-size: 1.02rem; margin-bottom: 22px; }
.company-overview-card > .text-link { display: flex; justify-content: space-between; }
.provider-section { scroll-margin-top: 0; }
.provider-section-heading { display: flex; justify-content: space-between; align-items: center; gap: 24px; margin-bottom: 32px; }
.provider-section-heading h2 { font-size: clamp(2rem,3vw,3rem); margin-top: 12px; }
.provider-section-heading .eyebrow { color: var(--accent-ink); }
.provider-badge { border: 1px solid var(--line); border-radius: 30px; padding: 10px 18px; font-size: .85rem; color: var(--muted); }
.provider-section-description { color: var(--muted); font-size: 1.1rem; max-width: 740px; margin-top: -10px; margin-bottom: 44px; }
.company-training-panel { display: grid; grid-template-columns: 1fr 1.08fr; border: 1px solid var(--line); border-radius: 22px; overflow: hidden; background: var(--surface); scroll-margin-top: 0; }
.company-training-panel .service-detail-image { margin: 0; height: 100%; min-height: 380px; }
.company-training-panel .service-detail-image img { width: 100%; height: 100%; object-fit: cover; }
.company-training-copy { padding: 38px; }
.company-training-copy h3 { font-family: var(--heading); font-size: 2rem; line-height: 1.15; margin-bottom: 20px; }
.company-training-copy > p { color: var(--muted); font-size: 1.05rem; line-height: 1.65; }
.company-training-actions { display: flex; flex-wrap: wrap; gap: 20px; align-items: center; margin-top: 25px; }
.training-modalities { display: flex; align-items: center; flex-wrap: wrap; gap: 18px 32px; padding: 25px 0 0; font-size: .95rem; }
.training-modalities > span, .training-modalities > a { display: flex; align-items: center; gap: 10px; }
.training-modalities .icon { color: var(--accent-ink); }
.training-modalities > a { margin-left: auto; font-weight: 600; }
.service-family { margin-top: 52px; scroll-margin-top: 0; }
.service-family-heading { padding-bottom: 24px; border-bottom: 1px solid var(--line); margin-bottom: 25px; }
.service-family-heading h3 { font-family: var(--heading); font-size: 1.7rem; margin-bottom: 10px; }
.service-family-heading p { color: var(--muted); line-height: 1.5; }
.company-services-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 24px; }
.company-service-card { display: flex; flex-direction: column; padding: 32px; border: 1px solid var(--line); border-radius: 18px; background: var(--surface); scroll-margin-top: 0; }
.company-service-card h4 { font-family: var(--heading); font-size: 1.5rem; font-weight: 600; line-height: 1.2; letter-spacing: -.025em; margin: 5px 0 18px; }
.company-service-card > p { color: var(--muted); line-height: 1.65; font-size: 1rem; margin-bottom: 20px; }
.company-service-card .service-deliverables { margin-top: auto; margin-bottom: 22px; }
.company-service-card .service-deliverables li { font-size: .95rem; line-height: 1.45; }
.service-card-actions { padding-top: 20px; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 16px; }
.service-card-actions > .service-reference { font-size: .78rem; color: var(--muted); line-height: 1.5; }
.contact-provider-note { border-left: 2px solid var(--cyan); padding: 9px 12px; margin-top: 12px; color: var(--accent-ink); font-size: .9rem; }
.business-needs > a > .provider-label { margin-top: 20px; margin-bottom: 12px; font-size: .68rem; }
@media (max-width: 800px) {
  .company-overview, .company-training-panel, .company-services-grid { grid-template-columns: 1fr; }
  .provider-section-heading { align-items: flex-start; flex-direction: column; }
  .company-training-panel .service-detail-image { min-height: 0; height: auto; aspect-ratio: 16/9; }
  .training-modalities > a { margin-left: 0; width: 100%; }
  .provider-section, .company-training-panel, .service-family, .company-service-card { scroll-margin-top: 0; }
}
@media (max-width: 640px) {
  .company-overview { gap: 16px; margin-top: -20px; padding-bottom: 0; }
  .company-overview-card, .company-service-card { padding: 25px; }
  .company-overview-card h2 { font-size: 1.65rem; }
  .company-training-copy { padding: 26px; }
  .company-training-copy h3 { font-size: 1.7rem; }
  .solution-bento > .service-tablist { overflow: visible; }
  .solution-bento .service-tablist > button { min-width: 0; flex: 1 0 calc((100% - 10px) / 2); }
  .provider-badge { font-size: .78rem; }
  .company-service-card h4 { font-size: 1.45rem; }
}

html:has(body.page-services) { scroll-padding-top: calc(var(--header-height, 132px) + 18px); }

/* Equipo: imágenes originales del currículo, con el mismo tratamiento circular. */
.expert-identity { grid-template-columns: 104px minmax(0,1fr); gap: 22px; }
.expert-portrait, .team-portrait { display: block; flex-shrink: 0; object-fit: cover; object-position: var(--portrait-position,50% 20%); border-radius: 50%; background: transparent; border: 0; }
.expert-portrait { width: 104px; height: 104px; }
.expert-identity h3 { font-family: var(--heading); font-size: clamp(1.5rem,2.2vw,2rem); font-weight: 600; letter-spacing: -.035em; line-height: 1.15; margin-bottom: 10px; }
.about-jumpnav { display: flex; flex-wrap: wrap; gap: 13px 30px; padding-top: 28px; }
.about-jumpnav a { font-size: .9rem; font-weight: 600; padding-bottom: 7px; border-bottom: 2px solid var(--cyan); }
.team-section-heading { display: flex; justify-content: space-between; align-items: center; gap: 36px; margin-bottom: 38px; }
.team-section-heading h2 { font-size: clamp(2rem,3.2vw,3rem); line-height: 1.16; font-weight: 600; margin-block: 15px 22px; }
.team-section-heading h2 span { color: var(--cyan); }
.team-section-heading p { max-width: 760px; color: var(--muted); font-size: 1.08rem; line-height: 1.6; }
.team-count { display: grid; text-align: center; min-width: 150px; font-family: var(--heading); font-size: 4rem; line-height: 1.2; color: var(--ink); }
.team-count small { font-family: var(--font); font-size: .86rem; color: var(--muted); line-height: 1.4; }
.team-lead { margin-bottom: 28px; padding: 38px; }
.team-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 24px; }
.team-card { display: flex; flex-direction: column; min-width: 0; padding: 28px; border: 1px solid var(--line); border-radius: 18px; background: var(--surface); transition: border-color .2s, transform .2s; scroll-margin-top: 0; }
.team-card:hover { border-color: var(--cyan); transform: translateY(-3px); }
.team-card-identity { display: flex; flex-direction: column; gap: 21px; margin-bottom: 20px; }
.team-portrait { width: 96px; height: 96px; border: 0; }
.team-card h3 { font-family: var(--heading); font-size: 1.25rem; font-weight: 600; line-height: 1.2; letter-spacing: -.025em; }
.team-role { color: var(--muted); font-size: .92rem; font-weight: 600; line-height: 1.4; margin-top: 11px; }
.team-summary { color: var(--muted); font-size: .98rem; line-height: 1.6; margin-bottom: 24px; }
.team-skills { display: flex; flex-wrap: wrap; gap: 7px; list-style: none; padding: 0; margin: auto 0 22px; }
.team-skills li { border: 1px solid var(--line); border-radius: 24px; padding: 5px 10px; font-size: .72rem; color: var(--ink); }
.team-linkedin { padding-top: 18px; border-top: 1px solid var(--line); justify-content: flex-start; }
.team-linkedin > .icon:first-child { width: 17px; color: var(--accent-ink); }
.team-linkedin > .icon:last-child { margin-left: auto; }
@media (max-width: 1050px) { .team-grid { grid-template-columns: repeat(2,minmax(0,1fr)); } }
@media (max-width: 640px) {
  .expert-identity { grid-template-columns: 76px minmax(0,1fr); gap: 16px; }
  .expert-portrait { width: 76px; height: 76px; }
  .expert-identity h3 { font-size: 1.45rem; }
  .about-jumpnav { gap: 13px 22px; padding-top: 22px; }
  .about-jumpnav a { font-size: .84rem; }
  .team-section-heading { align-items: flex-start; flex-direction: column; gap: 20px; }
  .team-section-heading h2 { font-size: 2rem; }
  .team-count { display: flex; gap: 15px; align-items: center; font-size: 2.6rem; text-align: left; }
  .team-count small { max-width: 110px; }
  .team-grid { grid-template-columns: 1fr; gap: 18px; }
  .team-card, .team-lead { padding: 25px; }
  .team-card-identity { flex-direction: row; align-items: center; gap: 17px; }
  .team-portrait { width: 76px; height: 76px; }
  .team-card h3 { font-size: 1.14rem; }
  .team-role { font-size: .86rem; }
}
@media (prefers-reduced-motion: reduce) { .team-card { transition: none; } .team-card:hover { transform: none; } }
