/* Dr. Claudio Borjón Zárate — Sitio estático, sin dependencias externas */
:root {
  --navy-950: #031321;
  --navy-900: #061b2d;
  --navy-800: #0a263c;
  --navy-700: #12374c;
  --gold-700: #a47835;
  --gold-600: #b88b47;
  --gold-500: #d1aa67;
  --gold-300: #efd092;
  --cream-50: #fffdf9;
  --cream-100: #f8f5ee;
  --cream-200: #f0eae0;
  --ink: #182d38;
  --gray: #5f6f73;
  --line: rgba(24,45,56,.12);
  --shadow: 0 22px 58px rgba(1,19,31,.10);
  --font-body: "Lato", "Segoe UI", Arial, Helvetica, sans-serif;
  --font-display: "Iowan Old Style", "Baskerville", "Palatino Linotype", "Book Antiqua", Georgia, "Times New Roman", serif;
  --container: 1240px;
  --header-height: 88px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-height) + 18px); }
body { margin: 0; min-width: 280px; overflow-x: clip; font-family: var(--font-body); color: var(--ink); background: var(--cream-50); -webkit-font-smoothing: antialiased; }
body, button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
img { max-width: 100%; display: block; }
svg { display: block; }
::selection { background: #d6b270; color: #062033; }
:focus-visible { outline: 3px solid var(--gold-500); outline-offset: 4px; }
.container { width: min(calc(100% - 96px), var(--container)); margin-inline: auto; }
.icon { width: 21px; height: 21px; flex-shrink: 0; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.65; }
.icon--tiny { width: 15px; height: 15px; }
.svg-defs { position: absolute; height: 0; width: 0; overflow: hidden; pointer-events: none; }
.skip-link { position: fixed; top: -120px; left: 16px; z-index: 1000; padding: 12px 18px; background: white; color: #071d2f; border-radius: 6px; }
.skip-link:focus { top: 16px; }

/* Utility, masthead */
.topline { height: 37px; background: var(--navy-950); color: #ced5d9; border-bottom: 1px solid rgba(211,175,107,.16); font-size: 12px; letter-spacing: .04em; }
.topline__inner { height: 100%; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.topline__location, .topline a { display: inline-flex; align-items: center; gap: 9px; }
.topline__location .icon { color: var(--gold-500); }
.topline a { font-weight: 600; transition: color .25s; }
.topline a:hover { color: var(--gold-300); }
.topline__dot { width: 3px; height: 3px; border-radius: 50%; background: var(--gold-500); margin-inline: 5px; }
.topline a .icon { color: var(--gold-500); }
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(6,27,45,.97); border-bottom: 1px solid rgba(234,194,119,.18); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); }
.header__inner { display: flex; align-items: center; justify-content: space-between; min-height: var(--header-height); gap: 24px; }
.brand { display: flex; flex: 0 0 auto; align-items: center; gap: 13px; color: #fff; min-width: 0; }
.brand__logo { width: 61px; height: 61px; object-fit: contain; border-radius: 50%; }
.brand__type { display: block; }
.brand__type strong { display: flex; flex-direction: column; font: 700 15px/1.1 var(--font-display); letter-spacing: .055em; white-space: nowrap; }
.brand__type strong span { font-size: 16px; color: var(--gold-300); }
.brand__type small { display: block; margin-top: 5px; font: 700 9px/1.2 var(--font-body); color: #b8c3c7; letter-spacing: .18em; }
.primary-nav { display: flex; align-items: center; gap: clamp(14px, 1.9vw, 30px); }
.nav-link { position: relative; display: inline-block; padding: 12px 0; color: #dce3e6; font-size: 12.5px; font-weight: 600; white-space: nowrap; transition: color .2s; }
.nav-link::after { content: ""; position: absolute; bottom: 5px; left: 0; width: 0; height: 1px; background: var(--gold-500); transition: width .25s; }
.nav-link:hover, .nav-link.is-active { color: var(--gold-300); }
.nav-link:hover::after, .nav-link.is-active::after { width: 100%; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 12px; border-radius: 3px; border: 1px solid transparent; min-height: 52px; padding: 15px 24px; font: 800 13px/1.2 var(--font-body); letter-spacing: .035em; text-align: center; transition: background .22s, color .22s, border-color .22s, box-shadow .22s, transform .22s; cursor: pointer; }
.btn:hover { transform: translateY(-2px); }
.btn .icon { width: 17px; height: 17px; }
.btn--nav { padding: 11px 17px; min-height: 43px; background: linear-gradient(120deg,#cba25e,#e4c481); color: var(--navy-950); font-size: 11.7px; white-space: nowrap; }
.btn--nav:hover { box-shadow: 0 8px 22px rgba(203,162,94,.2); }
.btn--gold { background: linear-gradient(120deg, #c79d56 0%, #efd18f 52%, #c79c55 100%); background-size: 180% auto; color: #071b2a; box-shadow: 0 12px 26px rgba(160,115,53,.15); }
.btn--gold:hover { background-position: right center; box-shadow: 0 14px 30px rgba(201,151,72,.28); }
.btn--outline { border-color: rgba(235,202,140,.66); color: #efd094; background: transparent; }
.btn--outline:hover { background: rgba(236,204,148,.12); }
.btn--full { width: 100%; }
.btn .icon--arrow { margin-left: 6px; }
.menu-toggle { display: none; }
.text-link { display: inline-flex; align-items: center; gap: 13px; font-size: 13px; font-weight: 800; letter-spacing: .025em; color: var(--gold-700); }
.text-link .icon { width: 17px; height: 17px; transition: transform .2s; }
.text-link:hover .icon { transform: translateX(5px); }
.text-link--light { color: #e9c784; }

/* Hero */
.hero { isolation: isolate; overflow: hidden; position: relative; color: #fff; background: radial-gradient(ellipse at 80% 36%,#123c58 0%,transparent 43%), radial-gradient(ellipse at 4% 95%,#0f3349 0%,transparent 45%),linear-gradient(125deg,#041726 0%,#092338 53%,#051929 100%); }
.hero__mesh { pointer-events: none; position: absolute; inset: 0; z-index: -1; opacity: .15; background-image: linear-gradient(rgba(230,188,118,.16) 1px, transparent 1px), linear-gradient(90deg,rgba(230,188,118,.14) 1px,transparent 1px); background-size: 72px 72px; mask-image: linear-gradient(to right, transparent, black 82%); }
.hero__ring { pointer-events: none; position: absolute; z-index: -1; width: 900px; height: 900px; border: 1px solid rgba(220,173,95,.12); border-radius: 50%; right: -330px; top: -275px; }
.hero__ring::before,.hero__ring::after { content: ""; position: absolute; border: 1px solid rgba(220,173,95,.095); border-radius: 50%; inset: 44px; }
.hero__ring::after { inset: 90px; }
.hero__grid { min-height: 688px; display: grid; grid-template-columns: minmax(0,1.08fr) minmax(0,.92fr); align-items: center; gap: 24px; padding-top: 46px; padding-bottom: 48px; }
.hero__content { position: relative; z-index: 4; padding: 16px 0 40px; }
.eyebrow { display: inline-flex; align-items: center; gap: 12px; color: var(--gold-700); font-size: 11px; letter-spacing: .21em; font-weight: 900; line-height: 1.8; }
.eyebrow__line { flex: 0 0 26px; width: 26px; height: 1px; background: currentColor; }
.eyebrow--gold { color: #e5c17e; }
.tiny-star { font-size: 17px; line-height: 0; }
.hero h1 { max-width: 690px; margin: 24px 0 20px; font: 500 clamp(4rem,5.65vw,5.65rem)/1.07 var(--font-display); letter-spacing: -.045em; }
.hero h1 em { font-style: normal; color: var(--gold-300); }
.hero__role { display: flex; align-items: center; gap: 13px; font-size: 14px; letter-spacing: .23em; color: #f0e6d5; font-weight: 600; }
.hero__role span { width: 34px; height: 1px; background: #d6ae70; }
.hero__lead { max-width: 540px; margin: 29px 0 30px; color: #c8d4d9; font-size: 17px; line-height: 1.78; font-weight: 400; }
.hero__actions { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }
.hero__actions .btn { min-width: 210px; }
.hero__proof { margin-top: 54px; display: flex; align-items: center; gap: 34px; }
.hero__proof-number { display: flex; align-items: center; gap: 13px; }
.hero__proof-number strong { font: 500 64px/1 var(--font-display); letter-spacing: -.06em; color: #efd094; }
.hero__proof-number strong span { color: #e1b86e; font-size: 39px; vertical-align: top; }
.hero__proof-number small { font-size: 10px; line-height: 1.6; letter-spacing: .11em; color: #d3dbe0; font-weight: 700; }
.hero__proof-separator { width: 1px; height: 52px; background: rgba(222,179,104,.38); }
.hero__proof-caption { display: flex; align-items: center; gap: 13px; font-size: 12.5px; line-height: 1.7; font-weight: 600; color: #cbd4d8; }
.hero__proof-caption .icon { color: var(--gold-500); width: 26px; height: 26px; }
.hero__visual { position: relative; min-height: 620px; display: flex; justify-content: center; align-items: flex-end; }
.hero__portrait-shadow { position: absolute; z-index: -1; width: 80%; height: 87%; bottom: 9%; border-radius: 50% 50% 6% 6%; background: rgba(199,146,74,.18); filter: blur(45px); }
.hero__portrait-frame { position: relative; width: min(80%,405px); height: 580px; overflow: hidden; border-radius: 220px 220px 8px 8px; border: 1px solid rgba(235,195,122,.85); box-shadow: 0 22px 60px rgba(1,13,22,.4); background: #081c2c; }
.hero__portrait-frame::after { position: absolute; content: ""; inset: 9px; border-radius: 220px 220px 1px 1px; border: 1px solid rgba(229,188,112,.18); pointer-events: none; }
.hero__portrait { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.hero__seal { position: absolute; top: 44px; right: 0; z-index: 2; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 10px; width: 136px; padding: 14px 8px 13px; border: 1px solid rgba(231,188,110,.65); background: rgba(4,24,39,.87); backdrop-filter: blur(12px); box-shadow: 0 16px 35px rgba(0,0,0,.25); }
.hero__seal::before { content: ""; position: absolute; width: 26px; height: 1px; background: var(--gold-500); bottom: -1px; left: calc(50% - 13px); }
.hero__seal img { width: 58px; height: 58px; border-radius: 50%; }
.hero__seal span { color: #e3c68c; font-size: 9.5px; line-height: 1.6; letter-spacing: .07em; font-weight: 700; }
.hero__portrait-label { position: absolute; bottom: -27px; left: 14%; color: #b9c8cc; letter-spacing: .12em; font-size: 9px; white-space: nowrap; }
.hero__portrait-label span { margin-inline: 5px; color: var(--gold-500); }
.hero__bottom-line { position: absolute; bottom: 0; left: 0; right: 0; height: 1px; background: linear-gradient(90deg, transparent,rgba(212,166,93,.75),transparent); }
.values-band { background: #d3a65f; color: #061b2d; overflow: hidden; }
.values-band__inner { min-height: 57px; display: flex; align-items: center; justify-content: center; gap: clamp(13px,2.1vw,34px); font-weight: 800; font-size: 11px; letter-spacing: .18em; text-align: center; white-space: nowrap; }
.values-band__inner b { font-weight: 400; font-size: 12px; color: rgba(8,27,41,.64); }

/* Shared section styles */
.section { padding: 112px 0; }
.section--light { background: var(--cream-50); }
.section-title { margin: 18px 0 0; font: 500 clamp(2.55rem,4vw,4.2rem)/1.12 var(--font-display); letter-spacing: -.037em; color: var(--navy-900); }
.section-title em { font-weight: 500; font-style: italic; color: var(--gold-700); }
.section-lead { margin: 26px 0 0; color: var(--gray); font-size: 16px; line-height: 1.85; }
.section-intro { margin-bottom: 43px; }
.section-intro--split { display: flex; align-items: flex-end; justify-content: space-between; gap: 60px; }
.section-intro--split > div { max-width: 670px; }
.section-intro--split > p { max-width: 315px; margin: 0 0 7px; color: var(--gray); font-size: 15px; line-height: 1.85; }
.section-intro--center { text-align: center; max-width: 740px; margin-inline: auto; }
.section-intro--center .eyebrow { justify-content: center; }
.section-intro--center p { margin: 19px auto 0; font-size: 15.5px; line-height: 1.75; color: var(--gray); }

/* Profile */
.section--profile { position: relative; overflow: hidden; }
.section--profile::after { position: absolute; content: ""; width: 310px; height: 310px; border-radius: 50%; border: 1px solid #f3e9d9; right: -175px; top: 10px; pointer-events: none; }
.profile-grid { display: grid; grid-template-columns: minmax(0,1.42fr) minmax(0,.73fr); gap: clamp(58px,8vw,125px); align-items: center; }
.profile-main { max-width: 770px; }
.profile-main .section-title { max-width: 735px; }
.profile-details { margin-top: 35px; display: grid; grid-template-columns: 1fr 1fr; gap: 17px 28px; }
.profile-detail { display: flex; align-items: flex-start; gap: 12px; color: #233845; font-size: 14.2px; line-height: 1.6; font-weight: 700; }
.profile-detail .icon { width: 20px; height: 20px; color: var(--gold-700); margin-top: 1px; }
.experience-box { position: relative; min-height: 390px; padding: 34px; background: #0b293d; color: #fff; border: 1px solid #c7a365; box-shadow: 15px 16px 0 rgba(198,158,95,.15), 0 25px 55px rgba(7,32,48,.17); }
.experience-box::after { content: ""; position: absolute; inset: 8px; pointer-events: none; border: 1px solid rgba(237,203,136,.13); }
.experience-box__top { display: flex; justify-content: space-between; align-items: center; gap: 12px; color: var(--gold-300); }
.small-overline { display: block; letter-spacing: .19em; font-size: 9.8px; line-height: 1.6; font-weight: 800; }
.experience-box__top .icon { width: 28px; height: 28px; }
.experience-box__number { font: 500 122px/1 var(--font-display); color: #e7c485; margin-top: 26px; letter-spacing: -.07em; }
.experience-box__number span { font-size: 60px; vertical-align: top; padding-left: 3px; }
.experience-box h3 { font: 500 28px/1.15 var(--font-display); margin: 5px 0 15px; }
.experience-box p { color: #cad6da; font-size: 13.8px; line-height: 1.8; margin: 0; }
.experience-box__divider { height: 1px; background: rgba(236,205,140,.28); margin: 28px 0 19px; }
.experience-box__foot { display: flex; align-items: flex-start; gap: 10px; font-size: 11.1px; color: #dfc994; line-height: 1.65; }
.experience-box__ornament { flex-shrink: 0; display: block; width: 8px; height: 8px; margin-top: 4px; border: 1px solid var(--gold-500); transform: rotate(45deg); }

/* Services */
.section--services { background: #f4f1eb; position: relative; }
.services-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 17px; }
.service-card { position: relative; min-height: 274px; display: flex; flex-direction: column; padding: 27px 24px 24px; background: #fffdf9; border: 1px solid rgba(135,110,78,.16); box-shadow: 0 4px 10px rgba(33,47,52,.022); overflow: hidden; transition: box-shadow .3s, transform .3s, border-color .3s; }
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: rgba(191,145,72,.55); }
.service-card__top { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; margin-bottom: 23px; }
.service-card__icon { display: grid; place-items: center; width: 53px; height: 53px; background: #f6efe2; color: #b28644; border: 1px solid #ecdec4; }
.service-card__icon .icon { width: 26px; height: 26px; stroke-width: 1.35; }
.service-card__index { color: #aab1af; letter-spacing: .06em; font-size: 10px; font-weight: 700; }
.service-card h3 { margin: 0 0 11px; color: #09273a; font: 500 23px/1.2 var(--font-display); letter-spacing: -.02em; }
.service-card p { margin: 0 0 14px; color: #607079; font-size: 13.5px; line-height: 1.75; }
.service-card__rule { position: absolute; left: 24px; right: 24px; bottom: 0; height: 2px; background: linear-gradient(90deg,#be9856,transparent); transform: scaleX(.17); transform-origin: left; transition: transform .3s; }
.service-card:hover .service-card__rule { transform: scaleX(1); }
.service-card--accent { background: #082336; border-color: #082336; }
.service-card--accent h3 { color: #fff; }
.service-card--accent p { color: #d0d9dd; }
.service-card--accent .service-card__icon { background: rgba(213,169,101,.13); color: #e6c183; border-color: rgba(211,167,93,.3); }
.service-card--accent .service-card__index { color: #bfcdd2; }
.service-card--accent .text-link { margin-top: auto; color: #e9c784; font-size: 12px; }

/* Credentials */
.section--dark { background: #061b2d; color: #fff; }
.credentials { position: relative; overflow: hidden; padding: 90px 0 94px; background: radial-gradient(circle at 88% 0%,#15384c 0%, transparent 38%),#061b2d; }
.credentials::before { content: ""; width: 360px; height: 360px; position: absolute; right: -170px; bottom: -200px; border: 1px solid rgba(235,194,123,.14); border-radius: 50%; }
.credentials__inner { display: grid; grid-template-columns: .82fr 1.4fr; gap: 70px; align-items: center; }
.credentials__heading .section-title { color: #fff; font-size: clamp(2.5rem,3.6vw,4rem); }
.credentials__heading .section-title em { color: #e3bf80; }
.credentials__heading p { margin: 22px 0 0; max-width: 360px; color: #c5d0d5; font-size: 14px; line-height: 1.75; }
.credentials__cards { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 15px; }
.credential { position: relative; min-height: 182px; display: flex; flex-direction: column; justify-content: space-between; padding: 25px 17px; border: 1px solid rgba(219,181,117,.45); background: rgba(255,255,255,.035); }
.credential__label { color: #cad4d6; letter-spacing: .08em; font-size: 10.5px; font-weight: 800; }
.credential strong { font: 500 clamp(25px,2.3vw,32px)/1.2 var(--font-display); color: #e7c17c; letter-spacing: -.035em; overflow-wrap: anywhere; }
.credential__corner { position: absolute; width: 16px; height: 16px; border-right: 1px solid var(--gold-500); border-bottom: 1px solid var(--gold-500); bottom: 8px; right: 8px; }

/* Academic background */
.section--education { background: var(--cream-50); }
.diplomas-panel { background: #fff; border: 1px solid #e5dfd5; box-shadow: 0 26px 65px rgba(37,42,40,.065); }
.diplomas-panel__head { background: #09263a; min-height: 106px; padding: 23px 38px; display: flex; align-items: center; gap: 22px; color: white; }
.diplomas-panel__head-icon { display: grid; place-items: center; width: 59px; height: 59px; border: 1px solid rgba(222,184,112,.65); color: #e9c98e; }
.diplomas-panel__head-icon .icon { width: 31px; height: 31px; }
.diplomas-panel__head .small-overline { color: #ddc18b; }
.diplomas-panel__head h3 { margin: 3px 0 0; font: 500 29px/1.15 var(--font-display); }
.diplomas-panel__count { margin-left: auto; font-size: 10px; letter-spacing: .16em; font-weight: 800; color: #e2c58c; white-space: nowrap; }
.diplomas-list { list-style: none; margin: 0; padding: 22px 38px 29px; display: grid; grid-template-columns: 1fr 1fr; gap: 0 43px; }
.diplomas-list li { min-height: 70px; display: flex; align-items: center; gap: 18px; padding: 15px 0; border-bottom: 1px solid #ede8e0; color: #364650; font-size: 14px; line-height: 1.6; }
.diplomas-list__num { align-self: flex-start; min-width: 25px; padding-top: 3px; font: 600 12px/1.5 var(--font-display); color: #a77b42; }
.ongoing-note { display: flex; align-items: center; gap: 21px; margin-top: 22px; padding: 27px 33px; background: #f1e8d9; border-left: 3px solid #bb8c46; }
.ongoing-note__icon { color: var(--gold-700); }
.ongoing-note__icon .icon { width: 31px; height: 31px; }
.eyebrow--inline { font-size: 10px; }
.ongoing-note p { margin: 5px 0 0; line-height: 1.6; font-size: 15px; color: #253b46; }

/* Memberships */
.associations { padding: 92px 0 104px; background: #ede9e1; }
.associations__inner { display: grid; grid-template-columns: .76fr 1.55fr; gap: 65px; align-items: center; }
.associations__heading .section-title { font-size: clamp(2.35rem,3.5vw,3.9rem); }
.associations__heading p { color: var(--gray); font-size: 14px; line-height: 1.7; margin: 22px 0 0; }
.associations__grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 14px; }
.association { position: relative; min-height: 246px; padding: 25px 20px; background: rgba(255,255,255,.74); border: 1px solid rgba(153,118,71,.18); transition: transform .25s, box-shadow .25s; }
.association:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.association__no { color: #b4a792; font-size: 10px; font-weight: 800; letter-spacing: .15em; }
.association__ornament { width: 51px; height: 51px; margin: 20px 0; display: grid; place-items: center; border: 1px solid rgba(178,129,61,.32); color: var(--gold-700); }
.association__ornament .icon { width: 27px; height: 27px; }
.association h3 { margin: 0; font: 500 18px/1.4 var(--font-display); color: #153245; }

/* Modalities */
.modalities { position: relative; overflow: hidden; background: radial-gradient(circle at 50% 120%, #174259 0%, transparent 60%),linear-gradient(110deg, #041624, #092b41); }
.modalities::before { content: ""; position: absolute; inset: 0; opacity: .16; pointer-events: none; background-image: repeating-linear-gradient(90deg,transparent,transparent 93px,rgba(232,192,115,.08) 94px); }
.modalities .section-intro { position: relative; }
.modalities .section-title { color: #fff; }
.modalities .section-title em { color: var(--gold-300); }
.modalities .section-intro--center p { color: #c4d0d5; }
.modality-grid { display: grid; grid-template-columns: 1fr 1fr; max-width: 970px; margin: 0 auto; gap: 22px; }
.modality-card { position: relative; display: flex; flex-direction: column; min-height: 350px; padding: 37px 39px; background: rgba(255,255,255,.045); border: 1px solid rgba(233,199,133,.34); }
.modality-card--featured { background: rgba(228,193,124,.09); border-color: rgba(237,201,135,.65); }
.modality-card__symbol { display: grid; place-items: center; width: 54px; height: 54px; margin-bottom: 20px; border: 1px solid rgba(223,181,105,.42); color: #e7c37c; }
.modality-card__symbol .icon { width: 28px; height: 28px; }
.modality-card__label { color: #bdcbd1; letter-spacing: .17em; font-size: 10px; font-weight: 800; }
.modality-card h3 { margin: 8px 0 9px; font: 500 32px/1.2 var(--font-display); }
.modality-card p { margin: 0 0 26px; color: #cbd5da; font-size: 14px; line-height: 1.78; }
.modality-card .btn { margin-top: auto; align-self: flex-start; }

/* Contact */
.contact { background: #fbf8f1; position: relative; }
.contact__grid { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,.88fr); gap: clamp(65px,11vw,160px); align-items: center; }
.contact__intro .section-title { max-width: 570px; }
.contact__intro > p { margin: 25px 0 29px; font-size: 16px; line-height: 1.8; color: var(--gray); }
.contact__location { display: flex; align-items: center; gap: 16px; margin-top: 27px; padding-top: 22px; border-top: 1px solid #e7dfd2; }
.contact__location-icon { flex: 0 0 49px; width: 49px; height: 49px; display: grid; place-items: center; border: 1px solid #dac6a6; color: #a77b42; }
.contact__location strong { display: block; color: #203b4b; font-size: 14px; margin-bottom: 5px; }
.contact__location small { display: block; color: #697a7f; font-size: 12.5px; line-height: 1.5; }
.contact-card { position: relative; padding: 39px 42px 34px; color: #fff; background: linear-gradient(140deg,#0d3046,#061b2d); border: 1px solid #bb9356; box-shadow: 14px 14px 0 #eae0cf,0 24px 50px rgba(16,44,59,.18); }
.contact-card__top { display: flex; justify-content: space-between; gap: 14px; color: var(--gold-300); align-items: center; font-size: 10px; font-weight: 800; letter-spacing: .2em; }
.contact-card__top .icon { width: 25px; height: 25px; }
.contact-card > p { margin: 34px 0 6px; color: #bacbd3; font-size: 13px; letter-spacing: .04em; }
.contact-card__number { display: block; color: #fff; font: 500 clamp(35px,4vw,51px)/1.25 var(--font-display); letter-spacing: -.03em; white-space: nowrap; transition: color .2s; }
.contact-card__number:hover { color: var(--gold-300); }
.contact-card__separator { height: 1px; background: rgba(235,196,128,.34); margin: 30px 0 25px; }
.contact-card > small { display: block; text-align: center; margin-top: 17px; font-size: 11.5px; color: #bfccd1; line-height: 1.5; }

/* Footer */
.footer { background: #031321; color: #c6d2d7; }
.footer__main { display: grid; grid-template-columns: 1.35fr 1fr .7fr; gap: 70px; padding-block: 65px 56px; }
.footer__brand { display: flex; align-items: center; gap: 20px; align-self: start; }
.footer__brand img { width: 80px; height: 80px; border-radius: 50%; }
.footer__brand strong { display: block; font: 600 22px/1.08 var(--font-display); letter-spacing: .02em; color: #e8c786; }
.footer__brand span { display: block; margin-top: 10px; letter-spacing: .15em; font-size: 10px; font-weight: 700; color: #cbd5d8; }
.footer__contact, .footer__nav { display: flex; flex-direction: column; align-items: flex-start; gap: 13px; font-size: 13px; line-height: 1.65; }
.footer__contact > strong,.footer__nav > strong { font-size: 10px; letter-spacing: .21em; color: #e5c17e; margin-bottom: 11px; }
.footer__contact p { margin: 0; }
.footer__contact a:hover,.footer__nav a:hover { color: var(--gold-300); }
.footer__base { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 77px; border-top: 1px solid rgba(220,188,130,.21); }
.footer__base > span { font-size: 10px; letter-spacing: .13em; color: #aebcc1; font-weight: 700; line-height: 1.9; }
.footer__base i { font-style: normal; color: #d8b16d; padding-inline: 7px; }
.footer__base a { display: flex; align-items: center; gap: 8px; font-size: 12px; white-space: nowrap; color: #e3bd7a; }
.footer__base .icon { width: 15px; height: 15px; }
.floating-contact { position: fixed; z-index: 40; right: 24px; bottom: 22px; display: inline-flex; align-items: center; gap: 10px; min-height: 51px; padding: 12px 19px; border-radius: 50px; background: #d6aa65; color: #0a2536; border: 1px solid rgba(255,245,209,.7); box-shadow: 0 7px 26px rgba(2,18,28,.22); font-size: 12.5px; font-weight: 800; opacity: 0; pointer-events: none; transform: translateY(12px); transition: transform .2s, background .2s, opacity .2s; }
.floating-contact.is-shown { opacity: 1; pointer-events: auto; transform: translateY(0); }
.floating-contact.is-shown:hover { transform: translateY(-3px); background: #ebc98b; }
.floating-contact .icon { width: 19px; height: 19px; }

/* Reveal, only enabled after observer is initialized */
.motion-ready .reveal { opacity: 0; transform: translateY(24px); transition: opacity .75s ease,transform .75s cubic-bezier(.2,.7,.2,1); }
.motion-ready .reveal.is-visible { opacity: 1; transform: none; }

@media (min-width: 1600px) { .hero__grid { min-height: 744px; } }
@media (max-width: 1199px) {
  .container { width: min(calc(100% - 68px), var(--container)); }
  :root { --header-height: 80px; }
  .header__inner { gap: 14px; }
  .brand__logo { width: 50px; height: 50px; }
  .brand { gap: 10px; }
  .brand__type strong { font-size: 13px; }
  .brand__type strong span { font-size: 14px; }
  .primary-nav { gap: 17px; }
  .nav-link { font-size: 12px; }
  .btn--nav { padding-inline: 13px; font-size: 11px; }
  .hero__grid { min-height: 655px; }
  .hero h1 { font-size: clamp(3.8rem,5.7vw,5.1rem); }
  .hero__portrait-frame { height: 535px; }
  .hero__visual { min-height: 555px; }
  .hero__seal { right: -8px; top: 35px; }
  .services-grid { grid-template-columns: repeat(4,minmax(0,1fr)); }
  .service-card { padding: 24px 19px 23px; }
  .service-card__rule { left: 19px; right: 19px; }
  .service-card h3 { font-size: 21px; }
  .associations__inner { gap: 40px; }
}
@media (max-width: 1000px) {
  :root { --header-height: 76px; }
  .menu-toggle { width: 44px; height: 43px; display: grid; place-items: center; flex: 0 0 44px; border: 1px solid rgba(215,178,110,.45); background: transparent; color: #eac88c; cursor: pointer; }
  .menu-toggle .icon { width: 23px; height: 23px; grid-area: 1/1; }
  .menu-toggle__close { opacity: 0; transform: scale(.7); }
  .menu-toggle[aria-expanded="true"] .menu-toggle__open { opacity: 0; transform: scale(.7); }
  .menu-toggle[aria-expanded="true"] .menu-toggle__close { opacity: 1; transform: none; }
  .primary-nav { display: flex; visibility: hidden; opacity: 0; pointer-events: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; padding: 18px 34px 24px; background: #071c2d; border-bottom: 1px solid #b18a51; box-shadow: 0 20px 30px rgba(2,16,27,.23); gap: 2px; transform: translateY(-12px); transition: opacity .22s,transform .22s,visibility .22s; }
  .primary-nav.is-open { visibility: visible; opacity: 1; transform: translateY(0); pointer-events: auto; }
  .primary-nav .nav-link { padding: 13px 4px; font-size: 14px; border-bottom: 1px solid rgba(236,205,140,.1); }
  .primary-nav .nav-link::after { display: none; }
  .primary-nav .btn--nav { align-self: flex-start; margin-top: 15px; }
  .hero__grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .hero h1 { font-size: clamp(3.3rem,5.9vw,4.5rem); }
  .hero__lead { font-size: 15px; }
  .hero__proof { gap: 20px; }
  .hero__proof-number strong { font-size: 55px; }
  .hero__portrait-frame { width: 85%; height: 480px; }
  .hero__visual { min-height: 520px; }
  .hero__seal { width: 106px; top: 47px; }
  .hero__seal img { width: 42px; height: 42px; }
  .hero__seal span { font-size: 8px; }
  .values-band__inner { gap: 13px; font-size: 9px; }
  .section { padding-block: 86px; }
  .profile-grid { gap: 40px; grid-template-columns: 1.3fr .7fr; }
  .profile-details { grid-template-columns: 1fr; }
  .experience-box { padding: 25px; min-height: auto; }
  .experience-box__number { font-size: 94px; }
  .experience-box__number span { font-size: 50px; }
  .services-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .service-card { min-height: 260px; padding: 25px; }
  .service-card h3 { font-size: 23px; }
  .credentials__inner { grid-template-columns: 1fr; gap: 30px; }
  .credentials__heading .section-title { max-width: 660px; }
  .credentials__cards { gap: 16px; }
  .associations__inner { display: block; }
  .associations__heading { margin-bottom: 36px; }
  .associations__grid { gap: 18px; }
  .association { min-height: 235px; }
  .contact__grid { gap: 45px; }
  .contact-card { padding: 33px 28px 28px; }
  .contact-card__number { font-size: clamp(31px, 4vw, 42px); }
}
@media (max-width: 720px) {
  :root { --header-height: 71px; }
  .container { width: min(calc(100% - 42px),var(--container)); }
  .topline { height: 31px; }
  .topline__inner { justify-content: center; }
  .topline__location { display: none; }
  .topline a { font-size: 11px; }
  .brand__logo { width: 47px; height: 47px; }
  .brand__type strong { font-size: 12.8px; }
  .brand__type strong span { font-size: 13.7px; }
  .brand__type small { font-size: 8px; margin-top: 4px; }
  .hero__grid { display: flex; flex-direction: column; min-height: 0; align-items: stretch; gap: 24px; padding-top: 58px; padding-bottom: 70px; }
  .hero__content { padding: 0; }
  .hero h1 { max-width: 600px; margin: 23px 0 20px; font-size: clamp(3.25rem,10vw,4.8rem); }
  .hero__lead { font-size: 15px; line-height: 1.78; margin: 23px 0 27px; }
  .hero__proof { margin-top: 38px; }
  .hero__visual { min-height: 510px; margin-inline: auto; width: min(100%,480px); }
  .hero__portrait-frame { width: min(80%,350px); height: 480px; }
  .hero__seal { right: 0; top: 47px; width: 115px; }
  .hero__portrait-label { left: 11%; bottom: -24px; font-size: 8.6px; }
  .values-band__inner { flex-wrap: wrap; white-space: normal; min-height: 62px; gap: 5px 13px; padding-block: 14px; line-height: 1.4; }
  .section,.associations { padding-block: 76px; }
  .section-title { font-size: clamp(2.5rem,8vw,3.65rem); }
  .section-intro--split { display: block; }
  .section-intro--split > p { max-width: 610px; margin: 21px 0 0; }
  .profile-grid { grid-template-columns: 1fr; gap: 39px; }
  .profile-details { grid-template-columns: 1fr 1fr; }
  .experience-box { max-width: 500px; min-height: 345px; padding: 30px; }
  .experience-box__number { font-size: 106px; }
  .credentials { padding-block: 75px; }
  .credentials__cards { grid-template-columns: repeat(3,minmax(0,1fr)); gap: 10px; }
  .credential { padding: 20px 13px; min-height: 147px; }
  .credential strong { font-size: clamp(20px,3.4vw,29px); }
  .credential__label { font-size: 8.8px; }
  .diplomas-list { padding-inline: 25px; gap: 0 23px; }
  .diplomas-panel__head { padding-inline: 25px; }
  .associations__grid { grid-template-columns: repeat(3,minmax(0,1fr)); gap: 11px; }
  .association { padding: 20px 14px; min-height: 230px; }
  .association h3 { font-size: 16px; }
  .modality-grid { grid-template-columns: 1fr 1fr; gap: 14px; }
  .modality-card { padding: 27px 23px; min-height: 350px; }
  .modality-card h3 { font-size: 26px; }
  .modality-card .btn { font-size: 11.5px; padding: 12px 13px; }
  .contact__grid { grid-template-columns: 1fr; gap: 43px; }
  .contact-card { max-width: 540px; width: calc(100% - 14px); }
  .contact-card__number { font-size: clamp(38px,7vw,49px); }
  .footer__main { grid-template-columns: 1fr 1fr; gap: 35px; }
  .footer__brand { grid-column: 1/-1; }
  .footer__base { align-items: flex-start; flex-direction: column; padding-block: 24px; gap: 14px; }
}
@media (max-width: 520px) {
  .container { width: min(calc(100% - 38px),var(--container)); }
  .brand { gap: 8px; }
  .brand__logo { width: 43px; height: 43px; }
  .brand__type strong { font-size: 11.3px; }
  .brand__type strong span { font-size: 11.8px; }
  .brand__type small { letter-spacing: .1em; font-size: 7.4px; }
  .menu-toggle { flex-basis: 40px; width: 40px; height: 40px; }
  .hero__grid { padding-top: 52px; padding-bottom: 63px; }
  .hero .eyebrow { font-size: 9px; gap: 6px; letter-spacing: .12em; }
  .hero .eyebrow__line { flex-basis: 17px; width: 17px; }
  .hero h1 { font-size: clamp(2.55rem,11.4vw,3.45rem); line-height: 1.13; letter-spacing: -.05em; }
  .hero__role { font-size: 11.2px; letter-spacing: .2em; }
  .hero__lead { font-size: 14.5px; }
  .hero__actions { gap: 17px; align-items: stretch; }
  .hero__actions .btn { width: 100%; }
  .hero__actions .text-link { justify-content: center; width: 100%; padding-block: 7px; }
  .hero__proof { gap: 19px; margin-top: 34px; }
  .hero__proof-number { gap: 10px; }
  .hero__proof-number strong { font-size: 49px; }
  .hero__proof-number strong span { font-size: 26px; }
  .hero__proof-number small { font-size: 9px; }
  .hero__proof-separator { height: 41px; }
  .hero__proof-caption { gap: 8px; font-size: 11px; }
  .hero__proof-caption .icon { width: 22px; height: 22px; }
  .hero__visual { min-height: 438px; }
  .hero__portrait-frame { width: min(79%,315px); height: 415px; }
  .hero__seal { width: 92px; right: -2px; top: 36px; padding: 10px 5px; }
  .hero__seal img { width: 38px; height: 38px; }
  .hero__seal span { font-size: 7.2px; line-height: 1.55; }
  .hero__portrait-label { left: 7%; white-space: normal; bottom: -17px; font-size: 7px; max-width: 94%; }
  .values-band__inner { font-size: 8.8px; gap: 3px 10px; letter-spacing: .1em; }
  .section,.associations { padding-block: 65px; }
  .section-title { font-size: clamp(2.25rem,9.2vw,3.05rem); }
  .section-lead { font-size: 14.3px; }
  .eyebrow { font-size: 9.5px; gap: 9px; letter-spacing: .17em; }
  .eyebrow__line { width: 19px; flex-basis: 19px; }
  .profile-details { grid-template-columns: 1fr; gap: 17px; }
  .profile-detail { font-size: 13.5px; }
  .experience-box { min-height: 335px; }
  .experience-box__number { font-size: 98px; }
  .services-grid { grid-template-columns: 1fr; gap: 12px; }
  .service-card { min-height: 0; padding: 24px 24px 28px; }
  .service-card__top { margin-bottom: 17px; }
  .service-card h3 { font-size: 25px; }
  .service-card p { font-size: 13.6px; }
  .credentials { padding-block: 66px; }
  .credentials__cards { grid-template-columns: 1fr; gap: 10px; }
  .credential { min-height: 97px; padding: 17px 20px; }
  .credential strong { font-size: 32px; margin-top: 8px; }
  .credential__label { font-size: 10px; }
  .diplomas-panel__head { padding: 20px 18px; gap: 13px; }
  .diplomas-panel__head-icon { width: 46px; height: 46px; flex: 0 0 46px; }
  .diplomas-panel__head-icon .icon { width: 24px; height: 24px; }
  .diplomas-panel__head h3 { font-size: 24px; }
  .diplomas-panel__count { font-size: 8px; letter-spacing: .04em; text-align: right; max-width: 57px; white-space: normal; }
  .diplomas-list { grid-template-columns: 1fr; padding: 13px 20px 22px; }
  .diplomas-list li { min-height: 58px; font-size: 13.4px; padding: 13px 0; gap: 13px; }
  .ongoing-note { padding: 20px 18px; gap: 13px; align-items: flex-start; }
  .ongoing-note__icon .icon { width: 26px; height: 26px; }
  .ongoing-note p { font-size: 13.5px; }
  .associations__grid { grid-template-columns: 1fr; gap: 12px; }
  .association { display: flex; flex-direction: row; align-items: center; min-height: 112px; padding: 16px 19px; gap: 16px; }
  .association__no { align-self: flex-start; }
  .association__ornament { margin: 0; width: 43px; height: 43px; flex-shrink: 0; }
  .association__ornament .icon { width: 23px; height: 23px; }
  .association h3 { font-size: 18px; }
  .modality-grid { grid-template-columns: 1fr; gap: 12px; }
  .modality-card { min-height: 310px; padding: 28px; }
  .modality-card h3 { font-size: 29px; }
  .modality-card .btn { font-size: 12px; }
  .contact__intro > p { font-size: 14.5px; }
  .contact-card { padding: 29px 22px 26px; }
  .contact-card__number { font-size: clamp(34px,9.3vw,45px); }
  .contact-card > p { margin-top: 27px; }
  .contact-card__separator { margin-block: 22px; }
  .footer__main { padding-block: 50px 39px; grid-template-columns: 1fr; gap: 37px; }
  .footer__brand { grid-column: auto; }
  .footer__brand img { width: 65px; height: 65px; }
  .footer__brand strong { font-size: 19px; }
  .footer__contact,.footer__nav { gap: 8px; }
  .footer__base > span { font-size: 9px; letter-spacing: .055em; }
  .footer__base i { padding-inline: 2px; }
  .floating-contact { right: 12px; bottom: 12px; padding: 12px; min-height: 49px; border-radius: 50%; width: 49px; justify-content: center; }
  .floating-contact span { display: none; }
  .floating-contact .icon { width: 23px; height: 23px; }
}
@media (max-width: 340px) {
  .container { width: calc(100% - 28px); }
  .brand__type strong { font-size: 10.2px; }
  .brand__type strong span { font-size: 10.6px; }
  .brand__logo { width: 39px; height: 39px; }
  .hero h1 { font-size: 39px; }
  .hero__seal { right: -3px; width: 81px; }
  .hero__seal span { font-size: 6.6px; }
  .hero__proof { gap: 12px; }
  .hero__proof-caption { font-size: 10px; }
  .values-band__inner { gap: 4px 8px; }
  .contact-card__number { font-size: 32px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; transition-duration: .01ms !important; }
  .motion-ready .reveal { opacity: 1; transform: none; }
}

/* Mostrar siempre el contenido incluso si falla el script de animaciones. */
.motion-ready .reveal,.motion-ready .reveal.is-visible{opacity:1;transform:none}
