@font-face{font-family:"Nunito Sans";font-style:normal;font-weight:400;font-display:swap;src:url(../fonts/nunito-sans-latin-400-normal.woff2) format("woff2");}
@font-face{font-family:"Nunito Sans";font-style:normal;font-weight:500;font-display:swap;src:url(../fonts/nunito-sans-latin-500-normal.woff2) format("woff2");}
@font-face{font-family:"Nunito Sans";font-style:normal;font-weight:600;font-display:swap;src:url(../fonts/nunito-sans-latin-600-normal.woff2) format("woff2");}
@font-face{font-family:"Nunito Sans";font-style:normal;font-weight:700;font-display:swap;src:url(../fonts/nunito-sans-latin-700-normal.woff2) format("woff2");}
@font-face{font-family:"Nunito Sans";font-style:normal;font-weight:800;font-display:swap;src:url(../fonts/nunito-sans-latin-800-normal.woff2) format("woff2");}
/* ALTAG — sitio público */
:root {
  --brand: #EB0000;
  --brand-600: color-mix(in srgb, var(--brand) 85%, #000);
  --brand-50: color-mix(in srgb, var(--brand) 7%, #fff);
  --ink: #000000;
  --text: #3b3b3b;
  --muted: #6b6b6b;
  --line: #e7e5e4;
  --bg: #ffffff;
  --bg-alt: #f6f5f3;
  --wa: #25D366;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(0,0,0,.05), 0 8px 24px rgba(0,0,0,.06);
  --shadow-lg: 0 20px 50px rgba(0,0,0,.18);
  --head: "Nunito Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --body: "Nunito Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --header-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 16px/1.65 var(--body); color: var(--text); background: var(--bg); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--brand); }
h1, h2, h3 { font-family: var(--head); color: var(--ink); line-height: 1.2; margin: 0 0 .5em; letter-spacing: -.01em; }
h2 { font-size: clamp(1.7rem, 1.2rem + 1.8vw, 2.5rem); font-weight: 800; }
h3 { font-size: 1.2rem; font-weight: 700; }
p { margin: 0 0 1em; }
.wrap { width: min(1200px, 100% - 32px); margin-inline: auto; }
.narrow { width: min(820px, 100% - 32px); }
.ico { width: 1.2em; height: 1.2em; flex: none; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid color-mix(in srgb, var(--brand) 60%, #fff); outline-offset: 2px; }

/* Botones */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; font: 700 .95rem/1 var(--head); padding: 15px 26px; border-radius: 999px; border: 2px solid transparent; text-decoration: none; cursor: pointer; transition: background .2s, transform .2s, box-shadow .2s; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--brand); color: #fff; box-shadow: 0 6px 18px color-mix(in srgb, var(--brand) 35%, transparent); }
.btn-primary:hover { background: var(--brand-600); }
.btn-sm { padding: 11px 18px; font-size: .88rem; }
.btn-block { width: 100%; }
.btn-wa { background: var(--wa); color: #fff; }
.btn-wa:hover { background: #1ebe5a; }

/* Encabezado */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.96); backdrop-filter: saturate(1.4) blur(8px); border-bottom: 1px solid transparent; transition: box-shadow .25s, border-color .25s; }
.site-header.scrolled { box-shadow: 0 6px 24px rgba(0,0,0,.08); border-color: var(--line); }
.header-row { height: var(--header-h); display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand img { height: 52px; width: auto; }
.main-nav { display: flex; align-items: center; gap: 28px; }
.main-nav ul { list-style: none; display: flex; gap: 4px; margin: 0; padding: 0; }
.main-nav ul a { display: block; padding: 10px 14px; border-radius: 8px; font: 600 .95rem var(--head); color: var(--ink); text-decoration: none; position: relative; }
.main-nav ul a::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 2px; background: var(--brand); transform: scaleX(0); transition: transform .2s; transform-origin: left; }
.main-nav ul a:hover::after, .main-nav ul a.is-current::after { transform: scaleX(1); }
.nav-toggle { display: none; background: none; border: 0; padding: 8px; color: var(--ink); cursor: pointer; }
.nav-toggle .ico { width: 30px; height: 30px; }

/* Slider */
.hero { position: relative; background: var(--ink); overflow: hidden; }
.slides { position: relative; height: clamp(460px, 78vh, 720px); }
.slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity .9s ease, visibility .9s; }
.slide.is-active { opacity: 1; visibility: visible; }
.slide > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); transition: transform 7s ease-out; }
.slide.is-active > img { transform: scale(1); }
.slide-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(15,15,14,.86) 0%, rgba(15,15,14,.62) 45%, rgba(15,15,14,.15) 100%); }
.slide-body { position: relative; height: 100%; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; color: #fff; }
.slide-title { color: #fff; font-size: clamp(2rem, 1.2rem + 3.6vw, 3.6rem); font-weight: 800; max-width: 17ch; margin-bottom: .35em; }
.slide-title::before { content: ""; display: block; width: 64px; height: 5px; background: var(--brand); border-radius: 3px; margin-bottom: 22px; }
.slide-text { font-size: clamp(1rem, .9rem + .5vw, 1.25rem); max-width: 46ch; color: rgba(255,255,255,.88); margin-bottom: 1.8em; }
.slide.is-active .slide-title, .slide.is-active .slide-text, .slide.is-active .btn { animation: rise .8s both; }
.slide.is-active .slide-text { animation-delay: .12s; }
.slide.is-active .btn { animation-delay: .24s; }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
.slider-arrow { position: absolute; top: 50%; translate: 0 -50%; width: 48px; height: 48px; border-radius: 50%; border: 1px solid rgba(255,255,255,.35); background: rgba(0,0,0,.25); color: #fff; display: grid; place-items: center; cursor: pointer; z-index: 3; transition: background .2s; }
.slider-arrow:hover { background: var(--brand); border-color: var(--brand); }
.slider-arrow .ico { width: 26px; height: 26px; }
.slider-arrow.prev { left: 20px; } .slider-arrow.next { right: 20px; }
.slider-dots { position: absolute; bottom: 26px; left: 50%; translate: -50% 0; display: flex; gap: 10px; z-index: 3; }
.slider-dots button { width: 12px; height: 12px; padding: 0; border-radius: 999px; border: 0; background: rgba(255,255,255,.5); cursor: pointer; transition: width .3s, background .3s; }
.slider-dots button[aria-selected="true"] { width: 34px; background: var(--brand); }

/* Secciones */
.section { padding: clamp(64px, 8vw, 110px) 0; }
.section-alt { background: var(--bg-alt); }
.section-head { text-align: center; max-width: 720px; margin: 0 auto clamp(36px, 5vw, 56px); }
.kicker { display: inline-block; font: 700 .8rem/1 var(--head); letter-spacing: .14em; text-transform: uppercase; color: var(--brand); margin-bottom: 14px; }
.lead { font-size: 1.08rem; color: var(--muted); }

/* Servicios */
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 26px; }
.service-card { background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; transition: transform .25s, box-shadow .25s; border-bottom: 4px solid transparent; }
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-bottom-color: var(--brand); }
.service-media { aspect-ratio: 4 / 3; overflow: hidden; }
.service-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.service-card:hover .service-media img { transform: scale(1.06); }
.service-body { padding: 24px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.service-body p { color: var(--muted); font-size: .97rem; flex: 1; }
.link-more { align-self: flex-start; display: inline-flex; align-items: center; gap: 4px; background: none; border: 0; padding: 0; font: 700 .92rem var(--head); color: var(--brand); cursor: pointer; }
.link-more .ico { transition: translate .2s; }
.link-more:hover .ico { translate: 4px 0; }

.service-dialog { width: min(760px, 100% - 32px); max-height: calc(100vh - 48px); padding: 0; border: 0; border-radius: 18px; box-shadow: var(--shadow-lg); overflow: auto; }
.service-dialog::backdrop { background: rgba(10,10,10,.6); backdrop-filter: blur(3px); }
.dialog-img { width: 100%; height: 240px; object-fit: cover; }
.dialog-body { padding: 30px 34px 36px; }
.dialog-close { position: absolute; top: 14px; right: 14px; width: 40px; height: 40px; border-radius: 50%; border: 0; background: rgba(255,255,255,.92); color: var(--ink); display: grid; place-items: center; cursor: pointer; box-shadow: var(--shadow); }
.checks { list-style: none; padding: 0; margin: 0 0 26px; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 10px 22px; }
.checks li { display: flex; gap: 10px; align-items: flex-start; }
.checks .ico { color: var(--brand); margin-top: 3px; }

/* Aliados */
.allies-marquee { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.allies-track { list-style: none; margin: 0; padding: 0; display: flex; gap: 22px; width: max-content; animation: marquee 70s linear infinite; }
.allies-marquee:hover .allies-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(calc(-50% - 11px)); } }
.allies-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 20px; }
.allies-track li, .allies-grid li { background: #fff; border: 1px solid var(--line); border-radius: 12px; height: 104px; display: grid; place-items: center; padding: 16px 22px; }
.allies-track li { width: 200px; }
.allies-track img, .allies-grid img { max-height: 64px; width: auto; max-width: 100%; object-fit: contain; filter: grayscale(1); opacity: .72; transition: filter .3s, opacity .3s; }
.allies-track li:hover img, .allies-grid li:hover img { filter: none; opacity: 1; }

/* Contacto */
.contact-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(32px, 5vw, 70px); align-items: start; }
.contact-info h2 { margin-bottom: .4em; }
.contact-list { list-style: none; padding: 0; margin: 28px 0 30px; display: grid; gap: 18px; }
.contact-list li { display: flex; gap: 16px; align-items: center; }
.contact-list .ci { width: 48px; height: 48px; border-radius: 12px; background: var(--brand-50); color: var(--brand); display: grid; place-items: center; flex: none; }
.contact-list strong { display: block; font: 700 .78rem var(--head); text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.contact-list a, .contact-list span { color: var(--ink); text-decoration: none; font-weight: 600; }
.form-card { background: #fff; border-radius: 18px; padding: clamp(24px, 4vw, 40px); box-shadow: var(--shadow); border-top: 5px solid var(--brand); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; }
.field { margin-bottom: 18px; }
.field label { display: block; font: 600 .88rem var(--head); color: var(--ink); margin-bottom: 7px; }
.field input, .field select, .field textarea { width: 100%; font: inherit; color: var(--ink); background: #fbfbfa; border: 1.5px solid var(--line); border-radius: 10px; padding: 12px 14px; transition: border-color .2s, box-shadow .2s, background .2s; }
.field textarea { resize: vertical; min-height: 130px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--brand); background: #fff; box-shadow: 0 0 0 4px color-mix(in srgb, var(--brand) 14%, transparent); }
.consent { display: flex; gap: 12px; align-items: flex-start; font-size: .86rem; color: var(--muted); margin: 4px 0 22px; line-height: 1.5; }
.consent input { width: 20px; height: 20px; accent-color: var(--brand); flex: none; margin-top: 1px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.alert { border-radius: 12px; padding: 14px 18px; margin-bottom: 22px; font-size: .95rem; display: flex; gap: 10px; align-items: flex-start; flex-wrap: wrap; }
.alert ul { margin: 6px 0 0; padding-left: 20px; flex-basis: 100%; }
.alert-ok { background: #ecfdf3; color: #065f46; border: 1px solid #a7f3d0; }
.alert-ok .ico { margin-top: 2px; }
.alert-err { background: #fef2f2; color: #991b1b; border: 1px solid #fecaca; }

/* Páginas internas */
.page { padding: clamp(48px, 7vw, 90px) 0; }
.page h1 { font-size: clamp(1.8rem, 1.3rem + 2vw, 2.6rem); font-weight: 800; }
.prose h2 { font-size: 1.25rem; margin-top: 1.8em; }
.prose ul { padding-left: 22px; }

/* Pie de página */
.site-footer { background: var(--ink); color: rgba(255,255,255,.72); font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1.2fr; gap: 48px; padding: 72px 0 52px; }
.footer-about img { height: 56px; width: auto; margin-bottom: 20px; }
.footer-about p { max-width: 42ch; }
.footer-title { color: #fff; font-size: .95rem; text-transform: uppercase; letter-spacing: .12em; margin-bottom: 20px; }
.footer-links, .footer-contact, .social { list-style: none; margin: 0; padding: 0; }
.footer-links li { margin-bottom: 10px; }
.site-footer a { color: rgba(255,255,255,.82); text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.footer-contact li { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 14px; }
.footer-contact .ico { color: var(--brand); margin-top: 3px; }
.social { display: flex; gap: 10px; margin-top: 22px; }
.social a { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.08); transition: background .2s; }
.social a:hover { background: var(--brand); text-decoration: none; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); font-size: .85rem; }
.footer-bottom-row { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 20px 0; }
.footer-bottom p { margin: 0; }

/* WhatsApp flotante */
.wa-float { position: fixed; right: 22px; bottom: 22px; z-index: 60; width: 62px; height: 62px; border-radius: 50%; background: var(--wa); color: #fff; display: grid; place-items: center; box-shadow: 0 10px 28px rgba(37,211,102,.45); transition: transform .2s; }
.wa-float::before { content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--wa); z-index: -1; animation: pulse 2.4s ease-out infinite; }
.wa-float:hover { transform: scale(1.07); }
.wa-float .ico { width: 34px; height: 34px; }
.wa-tip { position: absolute; right: 74px; white-space: nowrap; background: #fff; color: var(--ink); font: 600 .88rem var(--head); padding: 10px 14px; border-radius: 10px; box-shadow: var(--shadow); opacity: 0; translate: 8px 0; pointer-events: none; transition: opacity .25s, translate .25s; }
.wa-float:hover .wa-tip, .wa-float:focus-visible .wa-tip, .wa-float.show-tip .wa-tip { opacity: 1; translate: 0 0; }
@keyframes pulse { 0% { transform: scale(1); opacity: .55; } 80%, 100% { transform: scale(1.55); opacity: 0; } }

/* Responsive */
@media (max-width: 960px) {
  .nav-toggle { display: block; }
  .main-nav { position: fixed; inset: var(--header-h) 0 auto 0; background: #fff; flex-direction: column; align-items: stretch; gap: 0; padding: 12px 16px 22px; box-shadow: 0 18px 30px rgba(0,0,0,.12); transform: translateY(-12px); opacity: 0; visibility: hidden; transition: .25s; }
  .main-nav.open { transform: none; opacity: 1; visibility: visible; }
  .main-nav ul { flex-direction: column; }
  .main-nav ul a { padding: 14px 6px; border-bottom: 1px solid var(--line); border-radius: 0; }
  .main-nav ul a::after { display: none; }
  .nav-cta { margin-top: 16px; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-about { grid-column: 1 / -1; }
}
@media (max-width: 600px) {
  :root { --header-h: 66px; }
  .brand img { height: 42px; }
  .slider-arrow { display: none; }
  .slide-shade { background: linear-gradient(180deg, rgba(15,15,14,.35), rgba(15,15,14,.85)); }
  .slide-body { justify-content: flex-end; padding-bottom: 72px; }
  .field-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 34px; padding-top: 56px; }
  .wa-float { width: 56px; height: 56px; right: 16px; bottom: 16px; }
  .wa-tip { display: none; }
  .dialog-body { padding: 24px 22px 28px; }
  .dialog-img { height: 180px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .allies-track { flex-wrap: wrap; width: auto; justify-content: center; }
  .allies-track li[aria-hidden="true"] { display: none; }
}

/* Contenido enriquecido (editor del portal) */
.rich > :first-child { margin-top: 0; }
.rich > :last-child { margin-bottom: 0; }
.rich p { margin: 0 0 1em; }
.rich h2, .rich h3, .rich h4 { font-family: var(--head); color: var(--ink); line-height: 1.25; margin: 1.4em 0 .5em; }
.rich h2 { font-size: 1.4rem; } .rich h3 { font-size: 1.15rem; } .rich h4 { font-size: 1rem; }
.rich ul, .rich ol { margin: 0 0 1em; padding-left: 1.3em; }
.rich li { margin-bottom: .35em; }
.rich blockquote { margin: 1em 0; padding: 4px 0 4px 18px; border-left: 4px solid var(--brand); color: var(--muted); font-style: italic; }
.rich a { color: var(--brand); text-decoration: underline; text-underline-offset: 2px; }

/* Nosotros */
.sub-title { font: 800 1.35rem/1.25 var(--head); color: var(--ink); text-align: center; margin: clamp(44px, 6vw, 72px) 0 26px; }
.about-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(28px, 4vw, 56px); align-items: start; }
.about-body { font-size: 1.05rem; }
.program-card { background: var(--bg-alt); border-radius: var(--radius); border-top: 5px solid var(--brand); padding: 30px 32px 32px; box-shadow: var(--shadow); }
.program-card h3 { font: 800 1.45rem/1.25 var(--head); color: var(--ink); margin: 0 0 14px; }
.quote { margin: 24px 0 0; padding-top: 20px; border-top: 1px solid var(--line); }
.quote blockquote { margin: 0; font: 700 1.1rem/1.5 var(--head); color: var(--ink); }
.quote blockquote p { margin: 0; }
.quote figcaption { margin-top: 8px; color: var(--muted); font-size: .92rem; }
.benefit { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 22px; }
.benefit h4 { font: 700 1.05rem/1.3 var(--head); color: var(--ink); margin: 0 0 8px; }
.benefit p { margin: 0; color: var(--muted); font-size: .95rem; }

/* Speakers */
.speaker-card { background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); border-bottom: 4px solid transparent; transition: transform .25s, box-shadow .25s; }
.speaker-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-bottom-color: var(--brand); }
.speaker-btn { display: flex; flex-direction: column; width: 100%; height: 100%; padding: 0; border: 0; background: none; text-align: left; font: inherit; color: inherit; cursor: pointer; }
.speaker-photo { display: block; aspect-ratio: 1 / 1; overflow: hidden; background: var(--bg-alt); }
.speaker-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 20%; transition: transform .5s; }
.speaker-card:hover .speaker-photo img { transform: scale(1.05); }
.speaker-info { display: flex; flex-direction: column; gap: 6px; padding: 18px 20px 22px; flex: 1; }
.speaker-info strong { font: 800 1.08rem/1.25 var(--head); color: var(--ink); }
.speaker-info > span:not(.link-more) { color: var(--muted); font-size: .92rem; line-height: 1.45; flex: 1; }
.speaker-info .link-more { margin-top: 6px; }
.speaker-btn:hover .link-more .ico { translate: 4px 0; }
.spk-head { display: flex; gap: 22px; align-items: center; margin-bottom: 22px; }
.spk-photo { width: 120px; height: 120px; border-radius: 50%; object-fit: cover; object-position: center 20%; flex: none; border: 3px solid var(--brand); }
.spk-head .kicker { margin-bottom: 8px; }
.spk-head h3 { margin: 0 0 6px; }
.spk-head .lead { margin: 0; font-size: 1rem; }

/* Marketing y galerías */
.mkt-card { background: #fff; border-radius: var(--radius); padding: 26px 24px 28px; box-shadow: var(--shadow); }
.mkt-ic { width: 72px; height: 72px; object-fit: contain; margin-bottom: 14px; }
.mkt-card h3 { font: 700 1.1rem/1.3 var(--head); color: var(--ink); margin: 0 0 10px; }
.mkt-card p { margin: 0; color: var(--muted); font-size: .96rem; }
.mkt-cta { text-align: center; margin: 34px 0 0; }

@media (max-width: 960px) {
  .about-grid { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .program-card { padding: 24px 22px 26px; }
  .spk-head { flex-direction: column; align-items: flex-start; }
}

/* Carrusel de una sola fila (Speakers y Marketing) */
.rail { position: relative; }
.rail-track { display: flex; gap: 24px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; overscroll-behavior-x: contain; scrollbar-width: none; padding: 8px 4px 26px; margin: 0 -4px; }
.rail-track::-webkit-scrollbar { display: none; }
.rail-track:focus-visible { outline: 3px solid var(--brand); outline-offset: 2px; border-radius: 8px; }
.rail-item { flex: 0 0 calc((100% - 72px) / 4); min-width: 230px; scroll-snap-align: start; }
.rail-btn { position: absolute; top: 40%; z-index: 2; width: 46px; height: 46px; border-radius: 50%; border: 0; background: #fff; color: var(--ink); box-shadow: var(--shadow-lg); display: grid; place-items: center; cursor: pointer; transition: background .2s, color .2s, opacity .2s; }
.rail-btn:hover:not(:disabled), .rail-btn:focus-visible { background: var(--brand); color: #fff; }
.rail-btn:disabled { opacity: .35; cursor: default; }
.rail-btn.prev { left: -14px; } .rail-btn.next { right: -14px; }
.rail.no-nav .rail-btn { display: none; }
.rail.is-dragging .rail-track { scroll-snap-type: none; scroll-behavior: auto; cursor: grabbing; }
.rail.is-dragging .rail-track * { pointer-events: none; }
.mkt-card.rail-item { display: block; }
@media (max-width: 1100px) { .rail-item { flex-basis: calc((100% - 48px) / 3); } }
@media (max-width: 800px)  { .rail-item { flex-basis: calc((100% - 24px) / 2); } }
@media (max-width: 560px)  { .rail-item { flex-basis: 82%; } }
@media (prefers-reduced-motion: reduce) { .rail-track { scroll-behavior: auto; } }
.service-card.rail-item { min-width: 260px; }
.service-card.rail-item .service-media img { pointer-events: none; }

/* Beneficios: slider con ilustraciones */
.rail-3 .rail-item { flex-basis: calc((100% - 48px) / 3); }
@media (max-width: 800px) { .rail-3 .rail-item { flex-basis: calc((100% - 24px) / 2); } }
@media (max-width: 560px) { .rail-3 .rail-item { flex-basis: 82%; } }
.benefit.rail-item { display: flex; flex-direction: column; padding: 26px 24px 28px; box-shadow: var(--shadow); border: 0; border-bottom: 4px solid transparent; transition: transform .25s, box-shadow .25s, border-color .25s; }
.benefit.rail-item:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-bottom-color: var(--brand); }
.benefit-art { width: 88px; height: 88px; border-radius: 22px; background: var(--brand-50); display: grid; place-items: center; margin-bottom: 18px; flex: none; }
.benefit-art .ill { width: 58px; height: 58px; stroke: var(--ink); }
.ill .r { stroke: var(--brand); }
.ill .rf { fill: var(--brand); stroke: var(--brand); }
.benefit-art.has-img { width: 100%; height: 150px; border-radius: 12px; background: var(--bg-alt); overflow: hidden; }
.benefit-art.has-img img { width: 100%; height: 100%; object-fit: cover; }

/* Flechas de los sliders: fuera de las tarjetas (no tapan el texto) */
.rail { padding: 0 38px; }
.rail-btn.prev { left: -4px; }
.rail-btn.next { right: -4px; }
@media (max-width: 960px) {
  .rail { padding: 0 0 62px; }
  .rail-btn { top: auto; bottom: 0; width: 44px; height: 44px; }
  .rail-btn.prev { left: calc(50% - 52px); }
  .rail-btn.next { right: auto; left: calc(50% + 8px); }
}

/* Equipo */
.section-tint { background: var(--brand-50); }
.rail-center > :first-child { margin-left: auto; }
.rail-center > :last-child { margin-right: auto; }
.team-card.rail-item { display: flex; flex-direction: column; background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); border-bottom: 4px solid transparent; transition: transform .25s, box-shadow .25s, border-color .25s; }
.team-card.rail-item:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-bottom-color: var(--brand); }
.team-photo { display: block; aspect-ratio: 1 / 1; overflow: hidden; background: var(--bg-alt); }
.team-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 20%; transition: transform .5s; }
.team-card:hover .team-photo img { transform: scale(1.05); }
.team-info { padding: 20px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.team-info h3 { font: 800 1.2rem/1.25 var(--head); color: var(--ink); margin: 0 0 4px; }
.team-role { margin: 0 0 12px; color: var(--brand); font: 700 .86rem/1.3 var(--head); letter-spacing: .04em; text-transform: uppercase; }
.team-bio { color: var(--muted); font-size: .96rem; flex: 1; }
.team-bio p { margin-bottom: .6em; }
.team-info .link-more { margin-top: 10px; }

/* Formulario de contacto: obligatorios y captcha */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.form-note { margin: 0 0 16px; font-size: .85rem; color: var(--muted); }
.field .hint { margin: 6px 0 0; font-size: .8rem; color: var(--muted); line-height: 1.4; }
.captcha-row { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.captcha-row img { display: block; max-width: calc(100% - 56px); height: auto; border-radius: 10px; border: 1.5px solid var(--line); background: #f6f5f3; user-select: none; }
.captcha-refresh { flex: none; width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid var(--line); background: #fff; color: var(--ink); display: grid; place-items: center; cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
.captcha-refresh:hover, .captcha-refresh:focus-visible { background: var(--brand); border-color: var(--brand); color: #fff; }
.captcha-field input { max-width: 250px; font-weight: 800; letter-spacing: .28em; text-transform: uppercase; }
.captcha-field input::placeholder { font-weight: 400; letter-spacing: normal; text-transform: none; }
.field input:user-invalid, .field select:user-invalid, .field textarea:user-invalid { border-color: #dc2626; background: #fffafa; }
