/* Médico Especialista en Traumatología — estilos de publicación */
:root {
  --navy: #0b2338;
  --navy-deep: #071b2d;
  --navy-mid: #10334b;
  --petrol: #17647c;
  --teal: #58d5cb;
  --teal-light: #a6ebe3;
  --ink: #183247;
  --muted: #627384;
  --quiet: #8998a5;
  --soft: #f1f6f8;
  --offwhite: #f8fafb;
  --white: #fff;
  --line: #dce7eb;
  --font-title: 'Manrope', 'Segoe UI', Arial, sans-serif;
  --font-body: 'Inter', 'Segoe UI', Arial, sans-serif;
  --radius: 22px;
  --shadow: 0 26px 70px rgba(11,35,56,.085);
  --header-height: 84px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-height) + 16px); }
body { margin: 0; background: var(--white); color: var(--ink); font-family: var(--font-body); font-size: 15.5px; line-height: 1.75; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
body.menu-open { overflow: hidden; }
::selection { background: var(--teal); color: var(--navy); }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
img, svg { display: block; max-width: 100%; }
button, a { -webkit-tap-highlight-color: transparent; }
a:focus-visible, button:focus-visible { outline: 3px solid var(--teal); outline-offset: 4px; }
.container { width: min(100% - 88px, 1210px); margin-inline: auto; }
.skip-link { position: fixed; top: -80px; left: 16px; z-index: 5000; padding: 12px 18px; color: var(--navy); background: var(--teal); border-radius: 8px; font-weight: 700; }
.skip-link:focus { top: 12px; }
.scroll-progress { height: 3px; width: 0; background: var(--teal); position: fixed; z-index: 1001; top: 0; left: 0; box-shadow: 0 0 18px rgba(88,213,203,.5); transition: width 80ms linear; pointer-events: none; }

/* HEADER */
.site-header { position: fixed; top: 0; left: 0; right: 0; z-index: 1000; min-height: var(--header-height); background: rgba(8,29,46,.85); border-bottom: 1px solid rgba(255,255,255,.1); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); transition: background .25s ease, box-shadow .25s ease; }
.site-header.is-scrolled { background: rgba(7,27,45,.975); box-shadow: 0 12px 30px rgba(7,27,45,.13); }
.header-inner { height: var(--header-height); display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; gap: 12px; color: #fff; min-width: 227px; line-height: 1.25; }
.brand-icon { display: grid; place-items: center; color: var(--teal); width: 48px; height: 48px; flex: 0 0 auto; }
.brand-icon svg { width: 48px; height: 48px; }
.brand-type { display: flex; flex-direction: column; gap: 4px; }
.brand-type > span { color: #a9c5cd; font-size: 9.2px; font-weight: 700; letter-spacing: .19em; }
.brand-type strong { font-family: var(--font-title); font-size: 17px; font-weight: 800; letter-spacing: -.045em; }
.desktop-nav { display: flex; align-items: center; gap: clamp(13px, 1.5vw, 25px); margin-left: auto; }
.desktop-nav a { color: #b8cbd3; font-size: 12px; font-weight: 600; position: relative; padding: 11px 0; transition: color .2s; white-space: nowrap; }
.desktop-nav a::after { content: ''; position: absolute; height: 2px; bottom: 4px; left: 0; right: 100%; background: var(--teal); transition: right .25s ease; }
.desktop-nav a:hover, .desktop-nav a.is-active { color: #fff; }
.desktop-nav a.is-active::after, .desktop-nav a:hover::after { right: 0; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 13px; font-family: var(--font-title); font-size: 13px; line-height: 1.3; font-weight: 800; border: 1px solid transparent; border-radius: 10px; padding: 16px 22px; white-space: nowrap; transition: color .22s ease, background .22s ease, box-shadow .22s ease, transform .22s ease, border-color .22s ease; }
.button:hover { transform: translateY(-2px); }
.button svg { width: 19px; height: 19px; flex: 0 0 auto; transition: transform .22s ease; }
.button:hover svg { transform: translateX(4px); }
.button-header { padding: 11px 16px; color: var(--navy); background: var(--teal); font-size: 12px; gap: 9px; }
.button-header:hover { background: #94e9df; }
.button-header svg { width: 17px; height: 17px; }
.menu-toggle { display: none; width: 43px; height: 43px; border-radius: 10px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.2); color: white; flex-direction: column; align-items: center; justify-content: center; gap: 5px; cursor: pointer; }
.menu-toggle span { width: 19px; height: 2px; border-radius: 2px; background: #fff; transition: transform .25s ease, opacity .25s ease; }
.menu-toggle[aria-expanded='true'] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded='true'] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded='true'] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.mobile-menu { display: none; }

/* HERO */
.hero { position: relative; overflow: hidden; background: radial-gradient(ellipse 62% 54% at 91% 39%, #18526b 0%, rgba(14,52,75,.4) 55%, transparent 100%), linear-gradient(132deg, #061a2a 0%, #0b293e 52%, #10384f 100%); color: var(--white); padding-top: var(--header-height); }
.hero::before { content: ''; position: absolute; width: 700px; height: 700px; border: 1px solid rgba(126,221,219,.08); border-radius: 50%; top: -410px; right: -280px; pointer-events: none; box-shadow: 0 0 0 85px rgba(126,221,219,.014), 0 0 0 190px rgba(126,221,219,.012); }
.hero-grain { position: absolute; inset: 0; opacity: .38; pointer-events: none; background-image: radial-gradient(rgba(172,236,228,.3) .6px, transparent .6px); background-size: 23px 23px; mask-image: linear-gradient(90deg, transparent 0, transparent 42%, #000 100%); }
.hero-main { position: relative; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); align-items: center; gap: clamp(50px, 6.2vw, 98px); min-height: 675px; padding-top: 68px; padding-bottom: 63px; }
.hero-content { position: relative; z-index: 2; padding-bottom: 22px; }
.eyebrow { display: flex; align-items: center; gap: 13px; font-family: var(--font-title); font-weight: 800; font-size: 11px; letter-spacing: .2em; }
.eyebrow-light { color: var(--teal-light); }
.eyebrow-line { width: 37px; height: 1px; background: currentColor; }
.hero h1 { font-family: var(--font-title); font-weight: 800; font-size: clamp(46px, 4.9vw, 73px); letter-spacing: -.071em; line-height: 1.105; margin: 25px 0 22px; max-width: 730px; text-wrap: balance; }
.hero h1 em { font-style: normal; color: var(--teal); }
.hero-lead { font-size: clamp(17px, 1.45vw, 21px); line-height: 1.55; font-weight: 500; color: #f1f9fa; margin: 0 0 16px; max-width: 560px; }
.hero-description { color: #9cb7c6; font-size: 14px; line-height: 1.85; max-width: 530px; margin: 0; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.button-primary { color: #092638; background: var(--teal); border-color: var(--teal); box-shadow: 0 14px 32px rgba(38,195,184,.15); }
.button-primary:hover { background: #8de9df; border-color: #8de9df; box-shadow: 0 18px 34px rgba(38,195,184,.22); }
.button-outline { background: rgba(255,255,255,.03); color: #edf7f8; border-color: rgba(213,240,241,.25); }
.button-outline:hover { border-color: var(--teal); background: rgba(255,255,255,.07); }
.button-outline:hover svg { transform: translateY(3px); }
.hero-location { color: #a7c5cd; display: flex; gap: 10px; align-items: center; font-size: 12.5px; font-weight: 600; margin-top: 34px; }
.hero-location svg { color: var(--teal); width: 18px; height: 18px; }
.hero-showcase { position: relative; height: 560px; display: flex; align-items: center; justify-content: center; }
.visual-card { width: min(100%, 465px); height: 535px; border-radius: 26px; position: relative; overflow: hidden; background: radial-gradient(circle at 55% 46%, rgba(49,146,157,.17), transparent 60%), linear-gradient(135deg, rgba(18,66,86,.75), rgba(9,33,52,.84)); border: 1px solid rgba(147,227,225,.28); box-shadow: 0 35px 80px rgba(0,7,14,.24), inset 0 1px 0 rgba(255,255,255,.07); }
.visual-card::after { content: ''; position: absolute; inset: 11px; border: 1px solid rgba(152,220,222,.075); border-radius: 19px; pointer-events: none; }
.visual-card-top { position: absolute; top: 29px; left: 31px; right: 31px; display: flex; align-items: center; justify-content: space-between; gap: 10px; z-index: 2; font-family: var(--font-title); color: #a7c7d1; font-size: 9px; font-weight: 700; letter-spacing: .18em; }
.visual-card-top-mark { font-size: 10px; color: var(--teal); }
.visual-illustration { position: absolute; left: 2%; top: 9%; width: 96%; height: 82%; filter: drop-shadow(0 10px 24px rgba(89,223,211,.09)); }
.visual-card-bottom { position: absolute; bottom: 28px; left: 31px; right: 31px; display: flex; flex-direction: column; gap: 4px; }
.visual-small { font-size: 9px; font-weight: 700; color: #a8c7cc; letter-spacing: .2em; }
.visual-card-bottom strong { font-family: var(--font-title); color: #effefd; font-size: clamp(20px, 2.5vw, 29px); letter-spacing: .02em; }
.showcase-float { position: absolute; z-index: 2; display: flex; flex-direction: column; gap: 4px; border: 1px solid rgba(187,243,238,.45); border-radius: 13px; padding: 15px 18px; background: rgba(11,38,56,.92); box-shadow: 0 12px 35px rgba(0,0,0,.22); backdrop-filter: blur(11px); }
.showcase-float span { font-size: 8px; font-weight: 800; letter-spacing: .16em; color: #9ebdc6; }
.showcase-float strong { color: #fff; font-family: var(--font-title); line-height: 1.3; font-size: 21px; }
.float-unam { top: 75px; right: -16px; min-width: 125px; }
.float-years { left: -32px; bottom: 66px; min-width: 173px; }
.hero-proof { position: relative; z-index: 2; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid rgba(173,229,228,.17); }
.hero-proof-item { display: flex; align-items: center; gap: 18px; padding: 23px 34px 26px 0; min-width: 0; }
.hero-proof-item + .hero-proof-item { border-left: 1px solid rgba(173,229,228,.16); padding-left: 37px; }
.proof-marker { display: block; width: 31px; height: 31px; border: 1px solid rgba(104,217,208,.5); border-radius: 9px; position: relative; flex: 0 0 auto; }
.proof-marker::before, .proof-marker::after { position: absolute; content: ''; background: var(--teal); left: 50%; top: 50%; transform: translate(-50%,-50%); }
.proof-marker::before { width: 13px; height: 1.5px; }
.proof-marker::after { width: 1.5px; height: 13px; }
.hero-proof-item div { display: flex; flex-direction: column; gap: 3px; }
.hero-proof-item small { color: #90b5c1; font-size: 9px; font-weight: 700; letter-spacing: .16em; }
.hero-proof-item strong { color: white; font-size: 16px; font-family: var(--font-title); line-height: 1.2; }

/* COMMON SECTIONS */
.section { padding: clamp(80px, 8.2vw, 118px) 0; }
.section-kicker { display: inline-flex; gap: 11px; align-items: center; margin-bottom: 21px; color: var(--petrol); font-size: 10px; letter-spacing: .17em; font-weight: 800; }
.section-kicker span { display: inline-flex; align-items: center; justify-content: center; height: 30px; min-width: 30px; padding: 0 7px; border: 1px solid #b9d8dd; border-radius: 7px; letter-spacing: 0; color: #0f5265; }
.section-kicker-light { color: #a3d9db; }
.section-kicker-light span { color: var(--teal); border-color: rgba(116,220,216,.42); }
h2, h3, p { overflow-wrap: break-word; }
h2 { font-family: var(--font-title); font-size: clamp(33px, 3.75vw, 53px); line-height: 1.18; letter-spacing: -.057em; margin: 0 0 25px; font-weight: 800; color: var(--navy); text-wrap: balance; }
h2 > span { color: var(--petrol); }
.section-lead { font-size: 18px; line-height: 1.8; font-weight: 600; color: #3c5261; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 50px; margin-bottom: 45px; }
.section-heading h2 { max-width: 640px; margin: 0; }
.section-heading > p { margin: 0 0 5px; max-width: 315px; color: var(--muted); line-height: 1.85; }
.text-link { display: inline-flex; align-items: center; gap: 10px; color: #126b77; font-family: var(--font-title); font-size: 13px; font-weight: 800; border-bottom: 1px solid #a3d3d3; padding-bottom: 6px; transition: color .2s, gap .2s; }
.text-link svg { width: 18px; height: 18px; }
.text-link:hover { color: #0a4158; gap: 16px; }
.js .reveal { opacity: 0; transform: translateY(25px); transition: opacity .68s ease, transform .68s cubic-bezier(.21,.85,.31,1); }
.js .reveal.in-view { opacity: 1; transform: translateY(0); }

/* PROFILE */
.profile-section { background: #fff; }
.profile-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); align-items: center; gap: clamp(50px, 7vw, 120px); }
.profile-intro h2 { max-width: 510px; }
.profile-intro p:not(.section-lead) { max-width: 480px; margin: 0; color: var(--muted); }
.profile-intro .section-lead { margin: 0 0 16px; }
.profile-intro .text-link { margin-top: 30px; }
.institution-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.institution-card { min-height: 226px; padding: 25px 23px 23px; border: 1px solid #e1ebee; border-radius: 17px; background: linear-gradient(145deg,#fff,#f9fbfc); box-shadow: 0 10px 33px rgba(11,35,56,.035); transition: box-shadow .25s ease, border-color .25s ease, transform .25s ease; }
.institution-card:hover { box-shadow: 0 18px 40px rgba(11,35,56,.085); border-color: #bcdbde; transform: translateY(-4px); }
.institution-icon { width: 44px; height: 44px; border-radius: 12px; background: #e7f5f3; color: #176c7c; display: grid; place-items: center; margin-bottom: 21px; }
.institution-icon svg { width: 24px; height: 24px; }
.institution-card small { display: block; color: var(--petrol); font-size: 8.5px; letter-spacing: .12em; font-weight: 800; margin-bottom: 8px; }
.institution-card h3 { font-family: var(--font-title); color: var(--navy); font-size: 15px; line-height: 1.48; font-weight: 800; letter-spacing: -.02em; margin: 0 0 5px; }
.institution-card p { color: #82929e; font-size: 12px; margin: 0; line-height: 1.5; }

/* EDUCATION */
.education-section { background: var(--soft); border-top: 1px solid #e7eff2; }
.education-grid { display: grid; grid-template-columns: minmax(0,1.09fr) minmax(0,.91fr); gap: 22px; }
.education-card { min-height: 425px; display: flex; flex-direction: column; padding: clamp(26px, 3.2vw, 41px); border-radius: var(--radius); border: 1px solid #d9e6e8; box-shadow: 0 15px 38px rgba(19,54,76,.035); }
.education-card-primary { background: #fff; }
.education-card-secondary { background: #11394f; color: #f6ffff; border-color: #11394f; position: relative; overflow: hidden; }
.education-card-secondary::after { content: ''; position: absolute; width: 300px; height: 300px; right: -105px; bottom: -125px; border: 1px solid rgba(123,225,216,.2); border-radius: 50%; box-shadow: 0 0 0 46px rgba(123,225,216,.035), 0 0 0 110px rgba(123,225,216,.02); pointer-events: none; }
.education-top { display: flex; align-items: start; justify-content: space-between; gap: 15px; font-size: 10px; font-weight: 800; letter-spacing: .16em; color: var(--petrol); }
.education-top svg { width: 35px; height: 35px; color: #1c7684; flex: 0 0 auto; }
.education-card-secondary .education-top { color: #a4d2d5; }
.education-card-secondary .education-top svg { color: #70d8d1; }
.education-main { margin: 38px 0 30px; }
.education-accent { color: #168393; font-family: var(--font-title); font-size: clamp(35px,4vw,58px); line-height: 1; letter-spacing: -.06em; font-weight: 800; margin-bottom: 15px; }
.education-card h3 { margin: 0 0 10px; font-family: var(--font-title); font-size: clamp(21px, 2vw, 27px); line-height: 1.36; font-weight: 800; letter-spacing: -.038em; max-width: 460px; }
.education-card p { font-size: 14px; margin: 0; color: var(--muted); }
.education-details { display: grid; grid-template-columns: .7fr 1.3fr; gap: 15px; padding-top: 24px; border-top: 1px solid var(--line); margin-top: auto; }
.education-details > div { min-width: 0; display: flex; flex-direction: column; align-items: start; gap: 5px; }
.education-details small { color: #718794; font-size: 9px; letter-spacing: .09em; font-weight: 800; }
.education-details strong { font-size: 17px; color: var(--navy); font-weight: 800; font-family: var(--font-title); }
.verification-note { margin-top: 4px; font-size: 10.5px; color: #677b88; line-height: 1.55; }
.education-period { color: #7cddd6; font-family: var(--font-title); font-size: clamp(38px, 4.2vw, 57px); letter-spacing: -.07em; font-weight: 800; line-height: 1.15; margin: 72px 0 17px; white-space: nowrap; position: relative; }
.education-period span { font-size: .6em; color: #90d9d4; margin: 0 .1em; }
.education-card-secondary h3 { color: #fff; position: relative; }
.education-card-secondary p { color: #9ebac8; position: relative; }
.education-side-footer { display: flex; flex-direction: column; gap: 4px; border-top: 1px solid rgba(230,247,250,.2); padding-top: 20px; margin-top: auto; position: relative; }
.education-side-footer span { color: #9ebac8; font-size: 9px; font-weight: 800; letter-spacing: .15em; }
.education-side-footer strong { color: #fff; font-family: var(--font-title); font-weight: 700; font-size: 16px; }

/* TIMELINE */
.timeline-section { background: #fff; }
.timeline-heading { max-width: 760px; margin: 0 auto 66px; text-align: center; }
.timeline-heading h2 { margin-bottom: 18px; }
.timeline-heading p { color: var(--muted); max-width: 565px; margin: 0 auto; }
.timeline { max-width: 980px; margin: 0 auto; position: relative; }
.timeline::before { content: ''; position: absolute; top: 18px; bottom: 80px; left: 193px; width: 1px; background: linear-gradient(to bottom, var(--teal), #bed9df 82%, transparent); }
.timeline-item { display: grid; grid-template-columns: 174px 40px minmax(0, 1fr); column-gap: 0; padding-bottom: 28px; align-items: start; position: relative; }
.timeline-item:last-child { padding-bottom: 0; }
.timeline-date { font-family: var(--font-title); font-size: 22px; line-height: 1.27; font-weight: 800; color: var(--petrol); display: flex; flex-direction: column; align-items: flex-start; padding-top: 28px; }
.timeline-date i { height: 22px; width: 1px; background: #9ac4c9; margin: 6px 0 6px 16px; }
.timeline-node { margin: 33px auto 0; width: 16px; height: 16px; background: var(--teal); border: 4px solid #fff; border-radius: 50%; position: relative; z-index: 2; box-shadow: 0 0 0 1px #66c5c5,0 0 0 7px #e9f7f5; }
.timeline-card { border: 1px solid #e0e9ed; border-radius: 18px; padding: clamp(24px, 3.2vw, 36px) clamp(24px, 3.3vw, 40px); box-shadow: 0 14px 38px rgba(13,43,61,.045); transition: box-shadow .25s, transform .25s; background: #fff; }
.timeline-card:hover { box-shadow: 0 23px 53px rgba(13,43,61,.095); transform: translateY(-3px); }
.timeline-card-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 16px; color: var(--petrol); font-weight: 800; font-size: 9px; letter-spacing: .13em; }
.timeline-card-top span:last-child { color: #b1c2c9; font-family: var(--font-title); font-size: 17px; letter-spacing: -.03em; }
.timeline-card h3 { color: var(--navy); font-family: var(--font-title); font-size: clamp(20px, 2vw, 27px); line-height: 1.35; font-weight: 800; letter-spacing: -.04em; margin: 0 0 12px; max-width: 580px; }
.timeline-card p { color: #637684; margin: 0; line-height: 1.78; font-size: 14px; }
.timeline-card p + p { margin-top: 10px; }
.timeline-card p strong { color: var(--navy); }
.timeline-card-featured { border-color: #c4dfe1; background: linear-gradient(136deg, #fff, #f7fbfb); }
.imss-locations { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 11px; margin-top: 26px; }
.imss-location { display: flex; flex-direction: column; align-items: start; gap: 3px; border: 1px solid #dbe8eb; border-radius: 12px; padding: 17px 14px; background: #fff; }
.imss-location span { color: var(--petrol); font-size: 9px; font-weight: 800; letter-spacing: .07em; }
.imss-location strong { color: var(--navy); font-family: var(--font-title); font-size: 18px; letter-spacing: -.035em; }
.imss-location small { color: #718391; font-size: 11px; }

/* SPECIALTY */
.specialty-section { position: relative; overflow: hidden; background: linear-gradient(115deg, #09253a 0%, #174a62 100%); padding: 94px 0; color: #fff; }
.specialty-section::before { position: absolute; content: ''; width: 700px; height: 700px; border: 1px solid rgba(102,218,208,.15); border-radius: 50%; right: -340px; top: -320px; box-shadow: 0 0 0 70px rgba(102,218,208,.02), 0 0 0 175px rgba(102,218,208,.014); }
.specialty-layout { position: relative; display: grid; grid-template-columns: 1.15fr .85fr; align-items: center; gap: clamp(55px, 9vw, 150px); }
.specialty-content h2 { color: #fff; font-size: clamp(49px, 5.7vw, 79px); margin-bottom: 21px; letter-spacing: -.075em; overflow-wrap: anywhere; }
.specialty-content h2 span { color: var(--teal); }
.specialty-content p { max-width: 590px; color: #b3cdd5; font-size: 16px; margin: 0 0 31px; }
.specialty-facts { position: relative; background: rgba(255,255,255,.055); border: 1px solid rgba(180,224,226,.18); backdrop-filter: blur(8px); padding: 12px 27px; border-radius: 19px; }
.specialty-facts > div { display: flex; flex-direction: column; gap: 7px; padding: 24px 0; }
.specialty-facts > div + div { border-top: 1px solid rgba(195,235,235,.16); }
.specialty-facts span { color: #8fbcc8; font-size: 9px; font-weight: 800; letter-spacing: .14em; }
.specialty-facts strong { color: #fff; font-family: var(--font-title); font-size: clamp(16px,1.6vw,20px); font-weight: 750; line-height: 1.45; }

/* LOCATION */
.location-section { background: #fff; }
.location-layout { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: clamp(55px,8vw,120px); align-items: center; }
.location-copy h2 { max-width: 530px; }
.location-copy > p { color: var(--muted); margin: 0 0 26px; }
.address-info { display: flex; align-items: flex-start; gap: 20px; padding: 25px; border: 1px solid var(--line); border-radius: 15px; background: var(--offwhite); max-width: 510px; }
.address-icon { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; flex: 0 0 auto; color: #0d6a7d; background: #e0f4f1; }
.address-icon svg { width: 23px; height: 23px; }
.address-info div:last-child { display: flex; flex-direction: column; gap: 9px; }
.address-info strong { font-size: 17px; font-family: var(--font-title); color: var(--navy); line-height: 1.55; }
.address-info span { color: #6a7d89; font-size: 12.5px; }
.location-copy .text-link { margin-top: 28px; }
.location-art { min-height: 393px; overflow: hidden; border-radius: var(--radius); background: radial-gradient(circle at 53% 46%, #1c7285, transparent 62%), linear-gradient(135deg,#0d3046,#0b2338); color: white; position: relative; border: 1px solid #144657; box-shadow: var(--shadow); display: flex; align-items: center; justify-content: center; }
.location-art-grid { position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px), linear-gradient(90deg,rgba(255,255,255,.04) 1px,transparent 1px); background-size: 37px 37px; mask-image: radial-gradient(circle,#000 28%, transparent 80%); }
.location-art::before, .location-art::after { content: ''; position: absolute; border-radius: 50%; border: 1px solid rgba(159,236,231,.2); width: 330px; height: 330px; top: 50%; left: 50%; transform: translate(-50%,-50%); }
.location-art::after { width: 240px; height: 240px; border-color: rgba(159,236,231,.15); }
.location-art-top, .location-art-foot { position: absolute; color: #afd3d9; font-size: 9px; font-weight: 700; letter-spacing: .19em; }
.location-art-top { top: 27px; left: 30px; }
.location-art-foot { left: 30px; right: 30px; bottom: 23px; display: flex; gap: 10px; justify-content: space-between; }
.location-art-center { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; gap: 8px; }
.location-art-center svg { width: 68px; height: 80px; color: var(--teal); margin-bottom: 10px; }
.location-art-center strong { font-family: var(--font-title); font-size: clamp(42px, 4.6vw, 58px); font-weight: 800; letter-spacing: -.045em; line-height: 1.1; }
.location-art-center span { font-size: 10px; letter-spacing: .2em; font-weight: 700; color: #b2d1d6; }

/* CONTACT */
.contact-section { background: var(--soft); }
.contact-heading { margin-bottom: 36px; }
.contact-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 18px; }
.contact-card { min-height: 278px; padding: 27px 26px 24px; display: flex; align-items: flex-start; flex-direction: column; border: 1px solid #dce9ec; background: white; border-radius: 19px; box-shadow: 0 12px 34px rgba(14,50,69,.035); transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; min-width: 0; }
a.contact-card:hover { transform: translateY(-5px); box-shadow: 0 20px 45px rgba(14,50,69,.095); border-color: #a9d4d7; }
.contact-card-head { width: 100%; display: flex; justify-content: space-between; margin-bottom: 29px; }
.contact-card-icon { width: 50px; height: 50px; border-radius: 12px; display: grid; place-items: center; background: #e9f6f4; color: #0d7480; }
.contact-card-icon svg { width: 28px; height: 28px; }
.contact-card-arrow { font-size: 19px; font-weight: 500; color: #2a808d; line-height: 1; }
.contact-label { font-size: 9px; letter-spacing: .16em; font-weight: 800; color: #54808a; margin-bottom: 10px; }
.contact-card > strong { font-family: var(--font-title); font-size: clamp(17px,1.6vw,22px); color: var(--navy); font-weight: 800; line-height: 1.4; overflow-wrap: anywhere; }
.contact-card .email-address { font-size: clamp(15px,1.37vw,19px); }
.contact-card-action { font-family: var(--font-title); margin-top: auto; padding-top: 28px; font-size: 12px; font-weight: 800; display: flex; align-items: center; gap: 10px; color: #0d6c79; }
.contact-card-action span { font-size: 18px; transition: transform .2s; }
a.contact-card:hover .contact-card-action span { transform: translateX(5px); }
.facebook-note { color: #687f8b; font-size: 12px; line-height: 1.7; margin-top: 12px; }

/* CLOSING CTA */
.closing-section { position: relative; overflow: hidden; background: linear-gradient(122deg,#0b293d,#0b2338 68%); color: white; padding: 98px 0 108px; }
.closing-layout { display: grid; grid-template-columns: minmax(0, 740px) minmax(0, 1fr); align-items: center; gap: 45px; position: relative; }
.closing-eyebrow { display: block; color: var(--teal); font-size: 10px; letter-spacing: .2em; font-weight: 800; margin-bottom: 24px; }
.closing-content { position: relative; z-index: 2; }
.closing-content h2 { color: white; max-width: 790px; font-size: clamp(33px, 3.9vw, 55px); line-height: 1.23; }
.closing-content h2 em { font-style: normal; color: var(--teal); }
.closing-content p { max-width: 680px; color: #aac3cf; font-size: 14px; margin: 0 0 13px; line-height: 1.85; }
.closing-content .button { margin-top: 22px; }
.closing-ornament { width: 320px; height: 320px; justify-self: center; display: grid; place-items: center; position: relative; color: rgba(132,229,222,.75); }
.ornament-ring { position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); border: 1px solid rgba(132,229,222,.23); border-radius: 50%; }
.ornament-ring-one { width: 200px; height: 200px; }
.ornament-ring-two { width: 282px; height: 282px; }
.ornament-ring-three { width: 365px; height: 365px; border-style: dashed; border-color: rgba(132,229,222,.14); }
.closing-ornament span { font-family: var(--font-title); font-size: 110px; font-weight: 800; letter-spacing: -.12em; padding-right: 16px; color: rgba(133,231,220,.13); }

/* FOOTER */
.site-footer { background: #061825; color: #dae8e9; padding-top: 66px; }
.footer-top { display: grid; grid-template-columns: 1.55fr .7fr 1fr; gap: 60px; padding-bottom: 60px; }
.footer-brand { display: flex; align-items: flex-start; gap: 15px; }
.footer-brand-mark { width: 41px; height: 41px; flex: 0 0 auto; border: 1px solid #31687a; border-radius: 11px; display: grid; place-items: center; color: var(--teal); font-size: 28px; font-weight: 300; line-height: 1; }
.footer-brand strong { font-family: var(--font-title); color: white; font-size: 17px; font-weight: 800; line-height: 1.45; display: block; max-width: 285px; }
.footer-brand p { color: #8caab6; font-size: 12px; margin: 10px 0 0; max-width: 310px; }
.footer-nav, .footer-contact { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.footer-nav > span, .footer-contact > span { color: #79c8cb; font-size: 10px; font-weight: 800; letter-spacing: .17em; margin-bottom: 14px; }
.footer-nav a, .footer-contact a, .footer-contact p { color: #a2b9c4; font-size: 12px; line-height: 1.7; margin: 0; overflow-wrap: anywhere; }
.footer-nav a:hover, .footer-contact a:hover, .footer-bottom a:hover { color: var(--teal); }
.footer-contact { gap: 11px; }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 20px 0 27px; border-top: 1px solid rgba(211,239,241,.13); color: #809ca9; font-size: 11px; }
.footer-bottom a { color: #bdcbd0; font-weight: 700; }
.footer-bottom a span { margin-left: 8px; }
.floating-contact { position: fixed; bottom: 23px; right: 23px; z-index: 500; background: #0d6f71; color: white; border: 1px solid rgba(255,255,255,.18); border-radius: 50px; padding: 13px 18px; display: flex; align-items: center; gap: 9px; box-shadow: 0 12px 35px rgba(6,43,53,.32); font-family: var(--font-title); font-size: 12px; font-weight: 800; transition: transform .22s ease, background .22s ease; }
.floating-contact:hover { transform: translateY(-4px); background: #138b8e; }
.floating-contact svg { width: 22px; height: 22px; }

@media (max-width: 1180px) {
  .container { width: min(100% - 64px, 1080px); }
  .header-inner { gap: 16px; }
  .brand { min-width: 212px; }
  .brand-type strong { font-size: 15px; }
  .desktop-nav { gap: 15px; }
  .hero-main { gap: 50px; }
  .float-unam { right: -7px; }
  .float-years { left: -18px; }
}
@media (max-width: 1030px) {
  :root { --header-height: 74px; }
  .desktop-nav, .button-header { display: none; }
  .menu-toggle { display: flex; }
  .mobile-menu { display: flex; position: fixed; top: var(--header-height); left: 0; right: 0; flex-direction: column; gap: 0; background: #0b2539; border-bottom: 1px solid rgba(157,221,219,.18); padding: 12px 32px 28px; max-height: calc(100dvh - var(--header-height)); overflow-y: auto; box-shadow: 0 30px 45px rgba(3,22,35,.28); visibility: hidden; opacity: 0; transform: translateY(-15px); pointer-events: none; transition: transform .23s ease, opacity .23s ease, visibility .23s ease; }
  .mobile-menu.is-open { visibility: visible; opacity: 1; transform: translateY(0); pointer-events: auto; }
  .mobile-menu a { display: flex; align-items: center; justify-content: space-between; font-family: var(--font-title); font-size: 16px; font-weight: 700; color: #d9eff0; padding: 13px 4px; border-bottom: 1px solid rgba(202,232,232,.09); }
  .mobile-menu a:hover { color: var(--teal); }
  .mobile-menu .mobile-menu-contact { background: var(--teal); color: var(--navy); border-radius: 9px; padding: 14px 18px; margin-top: 20px; border-bottom: 0; }
  .hero-main { grid-template-columns: 1fr 1fr; gap: 40px; min-height: 620px; padding-top: 62px; }
  .hero h1 { font-size: clamp(43px,5.2vw,59px); }
  .hero-showcase { height: 500px; }
  .visual-card { height: 472px; }
  .profile-grid { gap: 40px; }
  .institution-card { padding: 23px 18px; }
  .education-card { min-height: 425px; }
  .location-layout { gap: 50px; }
  .footer-top { gap: 28px; }
}
@media (max-width: 800px) {
  .container { width: min(100% - 48px, 720px); }
  .hero-main { grid-template-columns: 1fr; gap: 0; min-height: initial; padding-top: 78px; padding-bottom: 62px; }
  .hero-content { padding-bottom: 35px; }
  .hero h1 { font-size: clamp(50px, 8vw, 70px); max-width: 650px; }
  .hero-lead { max-width: 590px; }
  .hero-description { max-width: 600px; }
  .hero-showcase { height: 455px; max-width: 600px; width: 100%; margin: 18px auto 0; }
  .visual-card { width: min(80%, 420px); height: 430px; }
  .visual-illustration { height: 85%; }
  .float-unam { right: 30px; top: 48px; }
  .float-years { left: 25px; bottom: 42px; }
  .hero-proof-item { padding: 21px 14px 24px 0; gap: 11px; }
  .hero-proof-item + .hero-proof-item { padding-left: 16px; }
  .hero-proof-item small { font-size: 8px; }
  .hero-proof-item strong { font-size: 13px; }
  .proof-marker { width: 26px; height: 26px; }
  .profile-grid, .location-layout { grid-template-columns: 1fr; gap: 40px; }
  .profile-intro h2 { max-width: 650px; }
  .institution-card { min-height: 210px; }
  .education-grid { grid-template-columns: 1fr; }
  .education-card { min-height: 365px; }
  .education-card-secondary { min-height: 340px; }
  .education-period { margin: 30px 0 19px; }
  .section-heading { flex-direction: column; align-items: flex-start; gap: 19px; }
  .section-heading > p { max-width: 570px; }
  .specialty-layout { grid-template-columns: 1fr; gap: 35px; }
  .specialty-content h2 { font-size: clamp(51px,8vw,72px); }
  .specialty-facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
  .specialty-facts > div + div { border-top: 0; border-left: 1px solid rgba(195,235,235,.16); padding-left: 18px; }
  .specialty-facts strong { font-size: 15px; }
  .location-art { min-height: 380px; }
  .contact-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .contact-card-facebook { grid-column: 1 / -1; min-height: 210px; }
  .contact-card-facebook .contact-card-head { margin-bottom: 18px; }
  .closing-layout { grid-template-columns: 1fr; }
  .closing-ornament { display: none; }
  .footer-top { grid-template-columns: 1.1fr 1fr; gap: 50px; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 550px) {
  :root { --header-height: 70px; }
  .container { width: min(100% - 34px, 440px); }
  .brand-icon, .brand-icon svg { height: 42px; width: 42px; }
  .brand { gap: 9px; min-width: 0; }
  .brand-type > span { font-size: 8.1px; }
  .brand-type strong { font-size: 15px; }
  .hero-main { padding-top: 62px; padding-bottom: 47px; }
  .hero h1 { font-size: clamp(39px, 10.4vw, 57px); letter-spacing: -.065em; margin-top: 21px; }
  .eyebrow { font-size: 9.5px; letter-spacing: .14em; }
  .eyebrow-line { width: 24px; }
  .hero-lead { font-size: 17px; }
  .hero-description { font-size: 13.2px; }
  .hero-actions { margin-top: 25px; gap: 10px; }
  .hero-actions .button { width: 100%; }
  .hero-location { margin-top: 26px; }
  .hero-showcase { height: 390px; margin-top: 4px; }
  .visual-card { width: 85%; height: 365px; border-radius: 20px; }
  .visual-card-top { top: 23px; left: 19px; right: 19px; font-size: 7.5px; }
  .visual-card-bottom { bottom: 22px; left: 19px; right: 19px; }
  .visual-small { font-size: 7.5px; }
  .visual-card-bottom strong { font-size: 19px; }
  .showcase-float { padding: 11px 12px; border-radius: 10px; }
  .showcase-float span { font-size: 7px; }
  .showcase-float strong { font-size: 16px; }
  .float-unam { top: 38px; right: -1px; }
  .float-years { bottom: 37px; left: -3px; min-width: 0; }
  .hero-proof { grid-template-columns: 1fr; padding-bottom: 9px; }
  .hero-proof-item, .hero-proof-item + .hero-proof-item { padding: 15px 0; border-left: 0; }
  .hero-proof-item + .hero-proof-item { border-top: 1px solid rgba(173,229,228,.12); }
  .hero-proof-item strong { font-size: 14px; }
  .section { padding: 77px 0; }
  h2 { font-size: clamp(32px, 8.3vw, 43px); margin-bottom: 20px; }
  .section-lead { font-size: 16px; }
  .section-kicker { font-size: 9px; letter-spacing: .13em; }
  .institution-grid { grid-template-columns: 1fr; gap: 11px; }
  .institution-card { min-height: initial; padding: 23px; }
  .institution-icon { margin-bottom: 15px; }
  .education-card { min-height: 0; padding: 26px 23px; }
  .education-main { margin: 30px 0 25px; }
  .education-card h3 { font-size: 22px; }
  .education-details { grid-template-columns: 1fr; gap: 21px; }
  .education-period { font-size: clamp(36px, 9.8vw, 52px); margin: 44px 0 20px; }
  .education-card-secondary { min-height: 342px; }
  .timeline-heading { text-align: left; margin-bottom: 42px; }
  .timeline-heading p { margin-left: 0; }
  .timeline { margin-left: 0; }
  .timeline::before { left: 7px; top: 14px; bottom: 90px; }
  .timeline-item { display: grid; grid-template-columns: 22px minmax(0,1fr); gap: 0 12px; padding-bottom: 25px; }
  .timeline-node { grid-column: 1; grid-row: 1 / span 2; width: 15px; height: 15px; margin: 10px 0 0; }
  .timeline-date { grid-column: 2; grid-row: 1; font-size: 17px; flex-direction: row; align-items: center; gap: 8px; padding: 0 0 13px; }
  .timeline-date i { width: 21px; height: 1px; margin: 0; }
  .timeline-card { grid-column: 2; grid-row: 2; padding: 23px 20px; border-radius: 14px; }
  .timeline-card h3 { font-size: 21px; }
  .timeline-card-top { font-size: 8px; }
  .imss-locations { grid-template-columns: 1fr; gap: 8px; margin-top: 19px; }
  .imss-location { display: grid; grid-template-columns: 1fr 1fr; column-gap: 8px; align-items: center; padding: 13px 14px; }
  .imss-location span { grid-column: 1 / -1; }
  .imss-location small { text-align: right; }
  .specialty-section { padding: 75px 0; }
  .specialty-content h2 { font-size: clamp(43px,10.8vw,59px); overflow-wrap: anywhere; }
  .specialty-content p { font-size: 14px; }
  .specialty-facts { grid-template-columns: 1fr; gap: 0; padding: 2px 21px; }
  .specialty-facts > div { padding: 20px 0; }
  .specialty-facts > div + div { border-top: 1px solid rgba(195,235,235,.16); border-left: 0; padding-left: 0; }
  .location-art { min-height: 340px; }
  .location-art-top { top: 20px; left: 18px; }
  .location-art-foot { left: 18px; right: 18px; bottom: 18px; flex-direction: column; gap: 5px; font-size: 8px; }
  .location-art-center strong { font-size: 42px; }
  .location-art-center span { font-size: 9px; }
  .address-info { padding: 19px; gap: 13px; }
  .address-icon { width: 40px; height: 40px; }
  .address-info strong { font-size: 14.5px; }
  .contact-grid { grid-template-columns: 1fr; gap: 13px; }
  .contact-card { min-height: 229px; padding: 23px; }
  .contact-card-head { margin-bottom: 21px; }
  .contact-card-facebook { grid-column: auto; min-height: 213px; }
  .contact-card .email-address { font-size: clamp(15px, 4.5vw, 19px); }
  .closing-section { padding: 77px 0 87px; }
  .closing-content h2 { font-size: clamp(31px, 8.4vw, 42px); }
  .footer-top { grid-template-columns: 1fr; gap: 36px; padding-bottom: 44px; }
  .footer-brand { grid-column: auto; }
  .site-footer { padding-top: 56px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 9px; }
  .floating-contact { bottom: 15px; right: 14px; padding: 12px; border-radius: 50%; }
  .floating-contact svg { width: 25px; height: 25px; }
  .floating-contact span { display: none; }
}
@media (max-width: 360px) {
  .brand-type strong { font-size: 13px; }
  .brand-type > span { font-size: 7px; }
  .brand-icon, .brand-icon svg { width: 38px; height: 38px; }
  .hero h1 { font-size: 37px; }
  .float-unam { right: -9px; }
  .float-years { left: -6px; }
  .hero-showcase { height: 350px; }
  .visual-card { height: 328px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
}
