:root{--navy:#08182f;--navy2:#0d2b4c;--coral:#ff4f5d;--cream:#f8f2ec;--paper:#fffdf9;--ink:#0e1d38;--muted:#64728a;--line:#e1dcd5;--green:#17d68b;--shadow:0 12px 30px rgba(9,25,49,.10)}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--paper);color:var(--ink);font-family:"Montserrat",Arial,sans-serif}a{color:inherit;text-decoration:none}img{display:block;max-width:100%}.hm-shell{width:min(1240px,calc(100% - 36px));margin:auto}
.hm-header{position:sticky;top:0;z-index:50;background:rgba(255,253,249,.97);border-bottom:1px solid rgba(15,26,49,.08);backdrop-filter:blur(12px)}.hm-nav{height:62px;display:grid;grid-template-columns:235px 1fr auto;align-items:center;gap:28px}.hm-brand{font:700 31px/1 "Playfair Display",Georgia,serif;color:var(--navy);letter-spacing:-1.6px}.hm-brand span{color:var(--coral)}.hm-links{display:flex;justify-content:flex-end;align-items:center;gap:27px;font-size:11px;font-weight:600}.hm-links a{position:relative;padding:23px 0 21px}.hm-links a.active::after{content:"";position:absolute;left:0;right:0;bottom:13px;height:2px;background:var(--coral)}.hm-teacher{background:var(--coral);color:#fff;padding:12px 20px;border-radius:999px;font-size:11px;font-weight:700;box-shadow:0 8px 22px rgba(255,79,93,.24)}.hm-menu{display:none;border:0;background:none;font-size:24px}
.hm-hero{background:linear-gradient(90deg,#fbf6f1 0%,#f9f3ed 73%,#f8f2ec 100%);border-bottom:1px solid var(--line);overflow:hidden}.hm-hero-grid{height:428px;display:grid;grid-template-columns:43% 32.5% 24.5%}.hm-hero-copy{padding:35px 40px 32px 0;display:flex;flex-direction:column;justify-content:center}.hm-eyebrow,.hm-kicker{display:flex;align-items:center;gap:13px;color:var(--coral);text-transform:uppercase;letter-spacing:.20em;font-size:9px;font-weight:800}.hm-eyebrow i,.hm-kicker i{display:block;width:82px;height:1px;background:currentColor}.hm-hero-copy h1{font:700 61px/.94 "Playfair Display",Georgia,serif;letter-spacing:-2.8px;margin:14px 0 16px;color:var(--navy)}.hm-hero-copy h1 em{color:var(--coral);font-weight:600}.hm-hero-copy p{max-width:515px;color:#63728b;font-size:12.5px;line-height:1.55;margin:0 0 22px}.hm-actions{display:flex;gap:12px;flex-wrap:wrap}.hm-btn{min-height:46px;display:inline-flex;align-items:center;gap:24px;justify-content:center;padding:0 20px;border-radius:7px;font-size:11px;font-weight:700}.hm-btn-coral{background:var(--coral);color:#fff;box-shadow:0 10px 24px rgba(255,79,93,.22)}.hm-btn-outline{border:1px solid var(--navy);background:rgba(255,255,255,.5)}
.hm-portrait-stage{height:428px;overflow:hidden;background:#f8f2ec}.hm-portrait{width:100%;height:100%;object-fit:cover;object-position:center center}
.hm-profile{height:428px;background:linear-gradient(145deg,#07162d,#092447 72%,#0e365e);color:#fff;position:relative;overflow:hidden}.hm-profile::after{content:"MM";position:absolute;right:-18px;bottom:-45px;color:rgba(255,255,255,.025);font:700 150px/1 "Playfair Display",Georgia,serif}.hm-profile-inner{padding:27px 28px;height:100%;display:flex;flex-direction:column;justify-content:center;position:relative;z-index:2}.hm-monogram{font:700 70px/.82 "Playfair Display",Georgia,serif;margin-bottom:15px;letter-spacing:-7px}.hm-monogram span{color:#fff}.hm-monogram strong{color:var(--coral);font-weight:700}.hm-profile h2{font:700 19px/1.15 "Playfair Display",Georgia,serif;margin:0 0 11px}.hm-credential{text-transform:uppercase;letter-spacing:.16em;font-size:9px;color:#d6deea;line-height:1.5}.hm-rule{width:86px;height:2px;background:var(--coral);margin:12px 0}.hm-role{font-size:10.5px;font-weight:700;margin-bottom:13px}.hm-profile ul{list-style:none;margin:0;padding:0;display:grid;gap:7px;color:#d8dfeb;font-size:9.6px}.hm-profile li{display:flex;align-items:center;gap:10px}.hm-profile li::before{content:"";width:9px;height:9px;border:2px solid var(--coral);border-radius:50%;flex:0 0 auto}.hm-socials{display:flex;gap:8px;margin-top:15px}.hm-socials a,.hm-socials span{width:31px;height:31px;border-radius:50%;border:1px solid rgba(255,255,255,.28);display:grid;place-items:center;font-size:10px;font-weight:700}
.hm-academic{padding:15px 0 9px;background:linear-gradient(#fffdf9,#f9f5f0)}.hm-section-head,.hm-subject-head{display:grid;grid-template-columns:1fr 430px;align-items:end;gap:35px}.hm-kicker{color:#17345c}.hm-section-head h2,.hm-subject-head h2{font:700 37px/1 "Playfair Display",Georgia,serif;margin:5px 0 0;letter-spacing:-1.5px}.hm-section-side{font-size:10.5px;color:#60718d;display:flex;justify-content:space-between;align-items:end;gap:20px}.hm-section-side p{margin:0;max-width:330px;line-height:1.4}.hm-section-side a{color:var(--coral);font-weight:700;white-space:nowrap}.hm-space-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;margin-top:12px}.hm-space-card{min-height:147px;background:#fff;border:1px solid #e5e0da;border-radius:8px;padding:11px;display:grid;grid-template-columns:1.42fr .88fr;gap:10px;box-shadow:0 8px 24px rgba(10,28,54,.06)}.hm-space-card.featured{border:2px solid var(--coral)}.hm-card-copy{padding:1px 2px;display:flex;flex-direction:column}.hm-number{color:var(--coral);font:700 20px/1 "Playfair Display",Georgia,serif}.hm-space-card h3{font:700 21px/.98 "Playfair Display",Georgia,serif;margin:2px 0 6px}.hm-space-card p{font-size:9.7px;color:#63718a;line-height:1.4;margin:0 0 10px}.hm-status{margin-top:auto;align-self:flex-start;display:inline-flex;align-items:center;gap:7px;padding:5px 11px;border-radius:999px;font-size:8.5px;background:#f0f3f6;color:#667185}.hm-status b{width:7px;height:7px;border-radius:50%;background:#9aabbe}.hm-status.available{background:#fff;color:#14213a}.hm-status.available b{background:var(--green)}.hm-card-img{position:relative;border-radius:6px;overflow:hidden;min-height:122px}.hm-card-img img{width:100%;height:100%;object-fit:cover}.hm-card-img>span,.hm-card-img>a{position:absolute;right:6px;bottom:6px;width:36px;height:36px;border-radius:50%;background:var(--coral);color:#fff;display:grid;place-items:center;font-size:17px}.hm-card-img .navy{background:var(--navy)}
.hm-subjects{padding:10px 0 18px;background:#f9f5f0}.hm-subject-head{grid-template-columns:270px 1fr;align-items:center}.hm-subject-head p{max-width:570px;margin:0;color:#63718a;font-size:9.8px;line-height:1.4}.hm-subject-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;margin-top:10px}.hm-subject-card{min-height:116px;background:#fff;border:1px solid #e2ddd7;border-radius:8px;padding:14px;display:grid;grid-template-columns:58px 1fr 38px;gap:9px;align-items:center;box-shadow:0 7px 22px rgba(11,24,51,.05)}.hm-subject-card.active{background:linear-gradient(145deg,#091831,#0e3158);color:#fff;border:2px solid var(--coral)}.hm-subject-icon{font-size:32px;text-align:center;color:var(--navy)}.hm-subject-card.active .hm-subject-icon{color:#fff}.hm-subject-card h3{font:700 15.5px/1.04 "Playfair Display",Georgia,serif;margin:0 0 5px}.hm-subject-card p{font-size:9.2px;color:#64718a;margin:0 0 7px;line-height:1.32}.hm-subject-card.active p{color:#d6ddea}.hm-subject-card .hm-status{margin-top:0}.hm-round{width:36px;height:36px;border-radius:50%;display:grid;place-items:center;color:#fff;font-size:17px}.hm-round.navy{background:var(--navy)}.hm-round.coral{background:var(--coral)}
.hm-about{padding:44px 0;background:#fffdf9;border-top:1px solid #ece6df}.hm-about-grid{display:grid;grid-template-columns:180px 1fr 260px;gap:36px;align-items:center}.hm-about-mark{font:700 88px/.8 "Playfair Display",Georgia,serif;letter-spacing:-9px}.hm-about-mark span{color:var(--navy)}.hm-about-mark strong{color:var(--coral)}.hm-about-copy h2{font:700 35px/1 "Playfair Display",Georgia,serif;margin:9px 0 5px}.hm-about-copy h3{font-size:10px;text-transform:uppercase;letter-spacing:.12em;color:var(--coral);margin:0 0 13px}.hm-about-copy p{color:#626f84;line-height:1.55;font-size:11px;max-width:680px}.hm-facts{display:grid;grid-template-columns:1fr 1fr;gap:18px}.hm-facts span{border-left:2px solid var(--coral);padding-left:10px;color:#657187;font-size:9px}.hm-facts strong{display:block;color:var(--navy);font:700 26px/1 "Playfair Display",Georgia,serif;margin-bottom:4px}
.hm-footer{background:linear-gradient(90deg,#07182f,#0d345a);color:#c8d3e2;padding:17px 0}.hm-footer-row{display:grid;grid-template-columns:210px 1fr 1fr;align-items:center;gap:18px;font-size:8.5px}.hm-footer-brand{font:700 24px/1 "Playfair Display",Georgia,serif;color:#fff}.hm-footer-brand span{color:var(--coral)}.hm-footer-row>div:last-child{text-align:right}
@media(max-width:1100px){.hm-links{gap:15px}.hm-hero-grid{grid-template-columns:44% 31% 25%}.hm-hero-copy h1{font-size:52px}.hm-profile-inner{padding:24px 20px}.hm-space-card{grid-template-columns:1fr}.hm-card-img{display:none}}
@media(max-width:850px){.hm-nav{grid-template-columns:1fr auto}.hm-links,.hm-teacher{display:none}.hm-menu{display:block}.hm-hero-grid{height:auto;display:block}.hm-hero-copy{padding:45px 0}.hm-portrait-stage{height:420px}.hm-profile{height:auto;margin:0 -18px}.hm-profile-inner{padding:34px 25px}.hm-space-grid,.hm-subject-grid{grid-template-columns:1fr}.hm-section-head,.hm-subject-head{display:block}.hm-section-side{margin-top:13px}.hm-about-grid{grid-template-columns:1fr}.hm-footer-row{grid-template-columns:1fr;text-align:center}.hm-footer-row>div:last-child{text-align:center}}
@media(max-width:520px){.hm-shell{width:min(100% - 24px,1240px)}.hm-brand{font-size:28px}.hm-hero-copy h1{font-size:47px}.hm-actions{display:grid}.hm-btn{width:100%}.hm-section-head h2,.hm-subject-head h2{font-size:33px}.hm-about-copy h2{font-size:32px}.hm-facts{grid-template-columns:1fr}}


/* =========================================
   QUIÉN SOY — versión amplia editorial v6
   ========================================= */
.hm-about-feature{
  background:#fffdf9;
  border-top:1px solid #e8e1d9;
  padding:56px 0 62px;
}
.hm-about-feature-grid{
  display:grid;
  grid-template-columns:minmax(360px, .78fr) minmax(0, 1.22fr);
  gap:52px;
  align-items:center;
}
.hm-about-photo-card{
  height:455px;
  border:1px solid #ded8d0;
  border-radius:18px;
  overflow:hidden;
  background:#f7f2ec;
  box-shadow:0 12px 30px rgba(9,25,49,.055);
}
.hm-about-photo{
  width:100%;
  height:100%;
  display:block;
  object-fit:cover;
  object-position:center center;
}
.hm-about-feature-copy{
  padding:8px 0 2px;
}
.hm-about-feature-kicker{
  display:flex;
  align-items:center;
  gap:14px;
  color:var(--coral);
  text-transform:uppercase;
  letter-spacing:.20em;
  font-size:9px;
  font-weight:800;
  margin-bottom:14px;
}
.hm-about-feature-kicker i{
  display:block;
  width:78px;
  height:1px;
  background:currentColor;
  opacity:.72;
}
.hm-about-feature-copy h2{
  margin:0 0 18px;
  color:var(--navy);
  font:700 48px/.98 "Playfair Display",Georgia,serif;
  letter-spacing:-1.6px;
}
.hm-about-feature-copy h2 em{
  color:var(--coral);
  font-style:italic;
  font-weight:600;
}
.hm-about-feature-copy p{
  max-width:720px;
  margin:0 0 15px;
  color:#68758a;
  font-size:12.2px;
  line-height:1.75;
}
.hm-about-feature-facts{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:16px;
  margin-top:28px;
}
.hm-about-feature-fact{
  border-top:1px solid #dcd5cd;
  padding-top:14px;
  min-width:0;
}
.hm-about-feature-fact strong{
  display:block;
  color:var(--navy);
  font:700 25px/1 "Playfair Display",Georgia,serif;
  margin-bottom:7px;
}
.hm-about-feature-fact span{
  display:block;
  color:#788397;
  font-size:9.2px;
  line-height:1.5;
}
@media(max-width:950px){
  .hm-about-feature-grid{grid-template-columns:1fr;gap:32px}
  .hm-about-photo-card{height:520px;max-width:620px;width:100%;margin:auto}
  .hm-about-feature-copy{max-width:760px;margin:auto;width:100%}
}
@media(max-width:580px){
  .hm-about-feature{padding:42px 0 48px}
  .hm-about-photo-card{height:410px;border-radius:14px}
  .hm-about-feature-copy h2{font-size:39px}
  .hm-about-feature-facts{grid-template-columns:1fr;gap:18px}
  .hm-about-feature-fact{padding-top:12px}
}


/* Ajuste v7: foto sin fondo + botón a profemadd */
.hm-about-photo-card{
  position:relative;
  display:flex;
  align-items:flex-end;
  justify-content:center;
  background:linear-gradient(180deg,#f8f3ee 0%,#f5eee7 100%);
  isolation:isolate;
}
.hm-about-photo-card::before{
  content:"MM";
  position:absolute;
  inset:auto 18px 18px auto;
  font:700 182px/.85 "Playfair Display",Georgia,serif;
  letter-spacing:-10px;
  color:rgba(8,24,47,.06);
  z-index:0;
  pointer-events:none;
}
.hm-about-photo-card::after{
  content:"";
  position:absolute;
  width:170px;
  height:170px;
  right:24px;
  top:58px;
  border-radius:50%;
  background:rgba(255,79,93,.12);
  z-index:0;
}
.hm-about-photo{
  width:auto;
  max-width:95%;
  height:92%;
  object-fit:contain;
  object-position:center bottom;
  position:relative;
  z-index:1;
}
.hm-about-feature-actions{
  margin:18px 0 6px;
}
.hm-btn-profemadd{
  min-height:42px;
  padding:0 18px;
  font-size:10.5px;
  gap:18px;
}
@media(max-width:950px){
  .hm-about-photo{max-width:92%;height:90%}
}
@media(max-width:580px){
  .hm-btn-profemadd{width:100%;justify-content:center}
}


/* Ajuste v8: botón abajo + foto más cercana a la portada inicial */
.hm-about-photo-card{
  position:relative;
  display:flex;
  align-items:flex-end;
  justify-content:center;
  background:linear-gradient(180deg,#f8f3ee 0%,#f5eee7 100%);
  isolation:isolate;
}
.hm-about-photo-card::before{
  content:"MM";
  position:absolute;
  inset:auto -10px 10px auto;
  font:700 196px/.85 "Playfair Display",Georgia,serif;
  letter-spacing:-12px;
  color:rgba(8,24,47,.06);
  z-index:0;
  pointer-events:none;
}
.hm-about-photo-card::after{
  content:"";
  position:absolute;
  width:162px;
  height:162px;
  right:22px;
  top:64px;
  border-radius:50%;
  background:rgba(255,79,93,.14);
  z-index:0;
}
.hm-about-photo{
  width:auto;
  max-width:none;
  height:108%;
  object-fit:contain;
  object-position:center bottom;
  position:relative;
  z-index:1;
  transform:translateY(18px) scale(1.14);
  transform-origin:center bottom;
}
.hm-about-feature-actions-bottom{
  margin:22px 0 0;
}
.hm-btn-profemadd{
  min-height:42px;
  padding:0 18px;
  font-size:10.5px;
  gap:18px;
}
@media(max-width:950px){
  .hm-about-photo{height:104%;transform:translateY(16px) scale(1.1)}
}
@media(max-width:580px){
  .hm-about-photo{height:100%;transform:translateY(12px) scale(1.04)}
  .hm-btn-profemadd{width:100%;justify-content:center}
}


/* Ajuste v9: foto de Quién Soy más cercana a la portada inicial */
.hm-about-photo-card{
  position:relative;
  display:flex;
  align-items:flex-end;
  justify-content:center;
  background:linear-gradient(180deg,#f8f3ee 0%,#f5eee7 100%);
  isolation:isolate;
  overflow:hidden;
}
.hm-about-photo-card::before{
  content:"MM";
  position:absolute;
  inset:auto -6px 14px auto;
  font:700 176px/.85 "Playfair Display",Georgia,serif;
  letter-spacing:-11px;
  color:rgba(8,24,47,.06);
  z-index:0;
  pointer-events:none;
}
.hm-about-photo-card::after{
  content:"";
  position:absolute;
  width:154px;
  height:154px;
  right:26px;
  top:66px;
  border-radius:50%;
  background:rgba(255,79,93,.16);
  z-index:0;
}
.hm-about-photo{
  width:auto;
  height:92%;
  max-width:78%;
  object-fit:contain;
  object-position:center bottom;
  position:relative;
  z-index:1;
  transform:translateY(8px);
  transform-origin:center bottom;
}
.hm-about-feature-actions-bottom{
  margin:26px 0 0;
}
@media(max-width:950px){
  .hm-about-photo{height:90%;max-width:74%;transform:translateY(8px)}
}
@media(max-width:580px){
  .hm-about-photo{height:88%;max-width:80%;transform:translateY(4px)}
}
