*{box-sizing:border-box}html{scroll-behavior:smooth}body{font-family:'Manrope',sans-serif;color:#10274a;background:#fff}h1,h2,h3,h4{font-family:'Outfit',sans-serif;letter-spacing:-.035em}a{text-decoration:none}.topline{background:#08264d;color:#fff;font-size:12px;padding:8px 0}.topline a{color:#fff}.top-contact{display:flex;align-items:center;gap:25px}.top-contact a{display:inline-flex;align-items:center;gap:8px;font-weight:700}.top-contact svg{color:#20d367;width:18px;height:18px}.top-links{display:flex;gap:22px}.nav-casmed{background:#fff;box-shadow:0 6px 30px rgba(5,39,82,.07);min-height:88px}.navbar-brand img{width:265px;max-width:45vw;height:auto}.navbar-nav .nav-link{color:#0d2b54;font-weight:750;font-size:13px}.navbar-nav .nav-link:hover{color:#087bde}.btn-enroll{background:linear-gradient(110deg,#188af1,#0750b1);color:#fff;border:0;border-radius:15px;font-weight:800;box-shadow:0 8px 18px #087bde24;padding:13px 23px}.btn-enroll:hover{color:#fff;background:linear-gradient(110deg,#0677e5,#073e91);transform:translateY(-1px)}.hero{position:relative;overflow:hidden;background:linear-gradient(100deg,#f7fbff 0%,#f5f9ff 57%,#e4f2ff 100%);padding:70px 0 60px}.hero:after{content:"";position:absolute;right:-150px;top:-180px;width:700px;height:700px;border:65px solid #1285ee18;border-radius:50%;pointer-events:none}.hero-copy,.hero-art{position:relative;z-index:1}.pill{display:inline-block;background:#e8f3ff;color:#0877d8;padding:8px 16px;border-radius:100px;font-size:12px;font-weight:800;letter-spacing:.02em}.hero h1{font-size:clamp(42px,5vw,76px);line-height:1.04;font-weight:800;margin:24px 0;color:#08244d}.hero h1 em{font-style:normal;color:#1688ee}.hero-copy>p{font-size:17px;color:#526a89;max-width:620px;line-height:1.75;margin-bottom:26px}.btn-video{border:2px solid #0b78e6;border-radius:15px;font-weight:800;padding:12px 22px;color:#0c60c1}.btn-video span{display:inline-grid;place-items:center;background:#0e7ee8;color:white;border-radius:50%;height:26px;width:26px;font-size:11px;margin-right:7px}.hero-points{display:flex;flex-wrap:wrap;gap:10px 20px;margin-top:32px;color:#4c6582;font-size:12px;font-weight:700}.hero-image{height:450px;border-radius:48% 48% 18% 18%;overflow:hidden;border:12px solid #fff;box-shadow:0 25px 70px #09447d22;background:#d8e9f8;animation:float 6s ease-in-out infinite}.hero-image img{height:100%;width:100%;object-fit:cover;object-position:50% 35%}.hero-note{position:absolute;bottom:18px;left:-22px;background:#fff;border-radius:14px;padding:15px 20px;box-shadow:0 10px 35px #0c427326;font-weight:800;color:#0b4e94}.hero-note span{color:#1688ee}.areas{border-bottom:1px solid #e4ebf4;box-shadow:0 5px 20px #0d40720a}.areas-row{display:flex;gap:0;overflow-x:auto;scrollbar-width:thin;white-space:nowrap}.areas-row span{padding:24px 22px;border-right:1px solid #e5edf6;font-size:12px;font-weight:800;color:#0d3b73}.areas-row span:first-child{padding-left:0}.section-pad{padding-top:78px;padding-bottom:80px}.kicker{font-size:12px;letter-spacing:.13em;font-weight:800;color:#0b82e9;margin-bottom:8px}.kicker.light{color:#9ad0ff}.section-title{font-size:clamp(30px,3vw,45px);font-weight:800;margin-bottom:8px;color:#0a2b59}.section-sub{color:#627793;line-height:1.75}.more-link{color:#0878e2;font-size:14px;font-weight:800}.program-card{border:1px solid #e8eef6;box-shadow:0 8px 25px #0a376b0c;border-radius:17px;overflow:hidden;transition:transform .3s,box-shadow .3s;background:white}.program-card:hover{transform:translateY(-6px);box-shadow:0 18px 38px #0a376b1c}.program-photo{display:block;height:205px;overflow:hidden;background:#dce9f5}.program-photo img{width:100%;height:100%;object-fit:cover;transition:transform .6s}.program-card:hover .program-photo img{transform:scale(1.07)}.program-body{padding:22px}.program-type{color:#0d81e8;font-weight:800;font-size:11px;letter-spacing:.04em;text-transform:uppercase}.program-body h3{font-size:20px;line-height:1.25;font-weight:750;margin:9px 0;color:#092653}.program-body>p{font-size:13px;color:#6c7e96;min-height:42px}.program-bottom{border-top:1px solid #eaf0f6;padding-top:15px;display:flex;align-items:center;justify-content:space-between;gap:10px}.program-bottom span{font-size:12px;color:#6c809b}.program-bottom a{display:grid;place-items:center;border:1px solid #1586ed;border-radius:50%;width:32px;height:32px;font-size:20px;color:#0a7ce8}.empty-programs{background:#f2f8ff;border:1px solid #d8e9ff;border-radius:20px;padding:50px;text-align:center}.feature-section{background:#f4f9ff}.feature-photo{position:relative;overflow:hidden;border-radius:30px;min-height:480px;box-shadow:0 20px 45px #0c48811a}.feature-photo>img{width:100%;height:480px;object-fit:cover}.feature-badge{position:absolute;left:24px;bottom:25px;background:#fff;border-radius:13px;padding:15px 22px;font-weight:800;box-shadow:0 8px 30px #11365b2b}.feature-list>div{display:flex;align-items:center;gap:18px;padding:15px 0;border-bottom:1px solid #dbe7f4}.feature-list b{display:grid;place-items:center;background:#e1f0ff;color:#0b77d9;width:47px;height:47px;border-radius:12px}.feature-list span{display:flex;flex-direction:column;gap:3px}.feature-list strong{color:#11345e}.feature-list small{color:#6b819c}.cta-section{background:linear-gradient(120deg,#082449,#0b5394);padding:85px 0;color:white}.cta-section h2{font-size:clamp(32px,4vw,52px);font-weight:800}.cta-section p{color:#cbdff2;margin:15px 0 26px}.btn-whatsapp{display:inline-flex;gap:10px;align-items:center;background:#14c75b;color:#fff;padding:15px 25px;border-radius:14px;font-weight:800}.btn-whatsapp:hover{color:white;background:#0ca64a}.footer{background:#071c37;color:#cbd9e9}.footer-logo{width:230px;max-width:100%;background:#fff;border-radius:10px;padding:7px}.footer h4{font-size:18px;color:white}.footer a{color:#d9e9f9}.footer hr{border-color:#426080}.footer svg{width:20px;height:20px;color:#15c75d}.wa-float{position:fixed;z-index:50;right:22px;bottom:24px;background:#12c45a;color:white;display:flex;align-items:center;gap:10px;border-radius:999px;padding:14px 19px;box-shadow:0 12px 28px #08793640;font-size:14px;font-weight:800;animation:pulse 3s infinite}.wa-float:hover{color:#fff;background:#0cad4c}.wa-float svg{width:29px;height:29px}.page-hero{background:linear-gradient(120deg,#082b57,#1066b1);color:white;padding:75px 0}.page-hero h1{font-size:clamp(36px,4vw,55px);font-weight:800}.page-hero p{color:#e0ecfb}.eyebrow{font-size:12px;font-weight:800;color:#0b79e6;letter-spacing:.12em}.eyebrow.light{color:#a5d5ff}.preline{white-space:pre-line;line-height:1.8}.section-soft{background:#f4f9ff}.reveal{opacity:0;transform:translateY(16px);transition:opacity .7s,transform .7s}.reveal.visible{opacity:1;transform:translateY(0)}@keyframes float{50%{transform:translateY(-9px)}}@keyframes pulse{50%{box-shadow:0 12px 35px #08793670}}@media(max-width:991px){.top-links{display:none}.navbar-brand img{width:230px}.hero{padding:50px 0}.hero-image{max-width:520px;margin:auto;height:360px}.hero-note{left:10px}.hero-copy{text-align:left}.nav-casmed{min-height:75px}.navbar-nav{padding:15px 0}.navbar-nav .btn-enroll{align-self:flex-start;margin-top:12px}}@media(max-width:575px){.topline{font-size:10px}.top-contact{gap:8px;flex-wrap:wrap}.hero h1{font-size:42px}.hero-copy>p{font-size:15px}.hero-image{height:290px}.hero-note{font-size:11px}.wa-float span{display:none}.wa-float{padding:13px}.section-pad{padding-top:55px;padding-bottom:55px}.feature-photo,.feature-photo>img{min-height:300px;height:300px}}

/* V3 — Áreas profesionales con iconos SVG */
.areas{padding:37px 0 28px;background:#fff;border-bottom:1px solid #e7eef8}
.areas-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-bottom:22px}
.areas-heading span{font-size:11px;letter-spacing:.13em;color:#1681e3;font-weight:800}
.areas-heading strong{font-size:17px;font-family:Outfit,sans-serif;color:#0a2b59}
.areas-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:14px}
.area-tile{min-height:128px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;gap:12px;border:1px solid #e1ecf7;border-radius:18px;background:linear-gradient(180deg,#fff,#f7fbff);padding:16px 8px;transition:transform .25s,border-color .25s,box-shadow .25s}
.area-tile:hover{transform:translateY(-5px);border-color:#9dccff;box-shadow:0 12px 26px #0d64ae15}
.area-icon{display:grid;place-items:center;width:57px;height:57px;border-radius:17px;background:#e9f4ff;color:#087ce3}
.area-tile:nth-child(3n+2) .area-icon{background:#e9f2ff;color:#075bb9}
.area-tile:nth-child(4n) .area-icon{background:#edf3ff;color:#315cc8}
.area-label{font-size:12px;line-height:1.4;font-weight:800;color:#10345f}
.areas-footnote{font-size:11px;color:#7c8da4;text-align:center;margin:20px 0 0}
@media(max-width:991px){.areas-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(max-width:575px){.areas-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.area-tile{min-height:113px;padding:12px 5px;border-radius:13px}.area-icon{width:46px;height:46px;border-radius:13px}.area-icon svg{width:29px;height:29px}.area-label{font-size:10px}.areas-heading strong{font-size:15px}}

/* CASMED v4: eight multidisciplinary categories, continuously moving carousel */
.navbar-brand{display:flex;flex-direction:column;align-items:center;gap:0}.brand-motto{font-family:'Manrope',sans-serif;color:#1267bc;font-size:10px;font-weight:800;letter-spacing:.18em;margin-top:-4px}.category-section{background:#fff;padding:50px 0 35px;border-bottom:1px solid #e7edf6;overflow:hidden}.category-head{display:flex;justify-content:space-between;align-items:end;gap:16px;margin-bottom:25px}.category-head .section-title{margin-top:5px;margin-bottom:5px}.category-head .section-sub{margin:0}.category-controls{display:flex;gap:9px}.category-arrow{width:42px;height:42px;border:1px solid #cce2f8;border-radius:50%;background:#f2f8ff;color:#0d70ce;font-size:30px;line-height:1;display:grid;place-items:center;cursor:pointer;transition:.2s}.category-arrow:hover{background:#0b78df;color:white}.category-viewport{overflow:hidden;position:relative;touch-action:pan-y}.category-track{display:flex;gap:16px;width:max-content;will-change:transform;padding:10px 0 18px}.category-slide{width:236px;min-height:216px;display:flex;flex-direction:column;align-items:flex-start;flex-shrink:0;border:1px solid #e3edf8;border-radius:19px;padding:21px 18px;background:linear-gradient(150deg,#fff,#f5faff);box-shadow:0 8px 24px #0a3e6c0c;color:#0b315e;transition:box-shadow .25s,background .25s}.category-slide:hover,.category-slide:focus-visible{box-shadow:0 14px 30px #0a3e6c22;background:#eaf5ff;color:#0b315e}.category-icon{height:61px;width:61px;display:grid;place-items:center;background:#e3f1ff;color:#0879e1;border-radius:17px;margin-bottom:12px}.category-slide strong{font-family:'Outfit',sans-serif;font-size:17px;line-height:1.2;letter-spacing:-.015em}.category-slide small{display:block;font-size:11px;color:#6b809a;line-height:1.45;margin-top:7px}.category-link{margin-top:auto;padding-top:13px;font-size:11px;font-weight:800;color:#0a7bde}.category-footnote{font-size:11px;color:#7c8da0;margin:0}.category-viewport:focus-visible{outline:2px solid #0b7ee9;outline-offset:-2px}@media(max-width:767px){.category-section{padding:34px 0 26px}.category-head{align-items:center}.category-head .section-title{font-size:29px}.category-slide{width:206px;min-height:207px}.brand-motto{font-size:9px}.category-arrow{width:36px;height:36px}}@media(prefers-reduced-motion:reduce){.category-track{transform:none!important}.category-viewport{overflow-x:auto;scrollbar-width:thin}.category-slide{transition:none}}

.modalities-section{background:#f2f7ff}.mode-card{height:100%;border-radius:22px;padding:30px 24px;background:linear-gradient(155deg,#0b4a9a,#087ee3);color:white;box-shadow:0 15px 28px #0c438b20}.mode-card:nth-child(even){background:#125da9}.mode-icon{font-size:46px;color:#c5e8ff;height:70px}.mode-card h3{font-size:27px;font-weight:800;margin:6px 0}.mode-card strong{display:block;color:#c9e8ff;font-size:13px;margin-bottom:14px}.mode-card p{font-size:14px;line-height:1.85;color:#eaf5ff;margin:0}.partners-section{background:#fff}.partner-card{height:100%;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;text-align:center;padding:25px;border:1px solid #e1ebf7;border-radius:20px;box-shadow:0 10px 25px #0c41740c;min-height:190px}.partner-card img{width:100%;max-width:190px;height:86px;object-fit:contain}.partner-card strong{font-size:16px;color:#092c57}.partner-card small{color:#6a809c}.partner-card a{font-size:12px;font-weight:800}.partner-placeholder{font-size:40px;color:#1479d8}.partner-empty{background:#f1f7ff;border-radius:20px;padding:45px;text-align:center;color:#536c8b}.about-hero{background:linear-gradient(120deg,#092955,#0c72c5)}.about-hero p{max-width:730px;font-size:18px}.about-wide-photo{width:100%;border-radius:28px;box-shadow:0 18px 40px #0a438b1c}.about-values{background:#f4f8ff}.value-card,.why-card{height:100%;padding:28px;background:white;border-radius:20px;border:1px solid #e0eaf5}.value-card span{font-size:38px;color:#1684ea}.value-card h3,.why-card h3{font-size:23px;font-weight:800;margin-top:15px}.value-card p,.why-card p{line-height:1.8;color:#5c7491}.why-card span{color:#1787eb;font-weight:800;font-size:30px}.founder-note{background:white;border-radius:24px;padding:35px;box-shadow:0 15px 30px #0a438b12}.founder-note blockquote{font-family:Outfit,sans-serif;font-size:25px;font-weight:700;color:#0d3869;line-height:1.5}.team-identity{display:flex;align-items:center;gap:20px;border:1px solid #e1ebf7;border-radius:18px;padding:20px;max-width:440px}.team-avatar{background:#dbefff;color:#0a62bc;border-radius:50%;height:80px;width:80px;display:grid;place-items:center;font-size:25px;font-weight:800}.team-identity h3{font-size:23px;margin:0}.team-identity p{margin:0;color:#6a809c}

/* V6: fichas académicas, convocatorias y docentes */
.program-banner{display:block;width:100%;height:360px;object-fit:cover;border-radius:24px;background:#e7f1fc}
.program-detail-section{padding:26px 0;border-bottom:1px solid #e6edf5}
.program-detail-section h2{font-family:Outfit,sans-serif;font-size:1.7rem;color:#092d5b;margin-bottom:15px}
.teacher-thumb{width:100px;height:100px;object-fit:cover;border-radius:16px}
.sticky-info{position:sticky;top:115px;border-radius:22px!important}
.cohort-mini{padding:12px 0;border-top:1px solid #e6edf5}
@media(max-width:767px){.program-banner{height:230px}.sticky-info{position:static}}

/* CASMED v7 — Nosotros interactivo */
.about-v7{overflow:hidden}.about-v7-hero{background:radial-gradient(circle at 85% 15%,#1d75c5 0,transparent 40%),linear-gradient(115deg,#071b3b,#0b3971);color:white;padding:90px 0 105px}.about-v7-hero h1{font-size:clamp(2.5rem,5vw,4.9rem);font-weight:800;line-height:1.06;letter-spacing:-.045em;margin:22px 0}.about-v7-hero h1 span{color:#83c6ff}.about-v7-hero p{font-size:1.13rem;line-height:1.8;color:#d5e6fb;max-width:600px}.about-eyebrow{letter-spacing:.16em;font-weight:800;font-size:.8rem;color:#9bd2ff}.about-hero-gallery{position:relative;min-height:380px}.about-gallery-main{width:90%;height:390px;object-fit:cover;border-radius:30px;box-shadow:0 24px 65px #03132d55}.about-gallery-inset{position:absolute;width:42%;height:180px;object-fit:cover;bottom:-24px;right:0;border:7px solid #fff;border-radius:24px;box-shadow:0 15px 40px #03132d44}.about-floating-tag{position:absolute;left:-10px;bottom:25px;padding:12px 19px;background:white;color:#123b6a;font-weight:800;border-radius:16px;box-shadow:0 10px 30px #001c3540}.about-stats{background:#f0f7ff;padding:36px 0 25px}.about-stat{text-align:center;padding:25px 10px}.about-stat strong{display:block;font-family:Outfit,sans-serif;font-size:clamp(2.8rem,5vw,4.2rem);font-weight:800;line-height:1;color:#0878e7}.about-stat span{display:block;font-weight:700;color:#173f70;margin-top:12px}.about-stats-note{text-align:center;font-size:.78rem;color:#607b97;margin:10px 0 0}.about-image-stack{position:relative}.about-image-stack img{width:100%;height:420px;object-fit:cover;border-radius:28px}.about-image-caption{position:absolute;bottom:18px;left:18px;background:#fff;padding:15px 22px;border-radius:15px;font-weight:800;color:#124577;box-shadow:0 8px 30px #001f4025}.about-v7 p{line-height:1.8}.about-text-link{font-weight:800;text-decoration:none}.about-principles{background:#f4f8fe}.about-principle{height:100%;padding:35px;border-radius:24px;background:white;box-shadow:0 14px 45px #06315a0c;transition:transform .3s,box-shadow .3s}.about-principle:hover{transform:translateY(-8px);box-shadow:0 22px 48px #06315a20}.about-principle-icon{width:65px;height:65px;display:grid;place-items:center;border-radius:20px;background:#e6f2ff;color:#007be8;font-size:2rem;margin-bottom:24px}.about-principle h3,.about-step h3{font-family:Outfit,sans-serif;font-weight:800;color:#082a58}.about-mode-list{display:grid;gap:12px;margin-top:25px}.about-mode-list>div{padding:16px 20px;border:1px solid #dbe9f9;border-radius:15px;background:#fff;transition:transform .2s}.about-mode-list>div:hover{transform:translateX(7px)}.about-mode-list b{display:block;color:#096fd0}.about-mode-list span{color:#617991;font-size:.92rem}.about-mosaic{display:grid;grid-template-columns:1fr 1fr;gap:12px}.about-mosaic img{width:100%;height:195px;object-fit:cover;border-radius:22px}.about-mosaic img:first-child{grid-column:span 2;height:260px}.about-journey{background:#f4f8fe}.about-step{height:100%;background:white;border-radius:22px;padding:26px;box-shadow:0 10px 30px #06315a0d}.about-step>span{font-size:2.4rem;font-family:Outfit,sans-serif;font-weight:800;color:#1685e8}.about-director{padding:35px;background:#f2f7fd;border-radius:26px;text-align:center}.about-director-avatar{width:100px;height:100px;margin:22px auto 15px;display:grid;place-items:center;border-radius:50%;background:linear-gradient(140deg,#1379df,#083d85);color:#fff;font-size:2rem;font-weight:800}.about-director h3{font-weight:800}.about-director small{color:#617991}.about-end{background:linear-gradient(110deg,#0563c0,#073b7d);color:white;padding:85px 0}.about-end h2{font-family:Outfit,sans-serif;font-weight:800;font-size:clamp(2rem,4vw,3.5rem);max-width:800px;margin:16px auto}.about-end p{color:#d9ebff}@media(max-width:767px){.about-v7-hero{padding:55px 0 75px}.about-hero-gallery{min-height:310px}.about-gallery-main{height:310px}.about-gallery-inset{height:135px}.about-image-stack img{height:290px}.about-floating-tag{font-size:.7rem}.about-mosaic img{height:150px}.about-mosaic img:first-child{height:190px}}
