:root {
  --ink: #10253a;
  --muted: #5d6d7b;
  --paper: #f5f4ef;
  --surface: #ffffff;
  --line: #dbe2e5;
  --accent: #bd9b57;
  --accent-deep: #76531c;
  --navy: #0a2035;
  --shadow: 0 18px 52px rgba(12, 35, 53, .11);
}

[data-theme="dark"] {
  --ink: #ecf3f4;
  --muted: #aebbc3;
  --paper: #0b1b2b;
  --surface: #10273b;
  --line: #294258;
  --accent: #e1bf75;
  --accent-deep: #f0d18e;
  --navy: #071422;
  --shadow: 0 18px 52px rgba(0, 0, 0, .24);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-width: 320px; color: var(--ink); background: var(--paper); font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
.page-orb { position: fixed; border-radius: 50%; pointer-events: none; filter: blur(2px); opacity: .18; z-index: -1; }
.orb-one { width: 410px; height: 410px; background: #d8b866; top: -220px; right: -160px; }
.orb-two { width: 350px; height: 350px; background: #4b8a9c; bottom: -190px; left: -130px; }
.topbar, main, footer { max-width: 1210px; margin: 0 auto; }
.topbar { min-height: 86px; display: flex; align-items: center; justify-content: space-between; padding: 18px 28px; }
.brand { display: flex; align-items: center; gap: 11px; color: var(--ink); text-decoration: none; font-size: .88rem; font-weight: 800; letter-spacing: .12em; }
.brand small { display: block; color: var(--accent-deep); font-size: .56rem; letter-spacing: .22em; margin-top: 2px; }
.brand-mark { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 13px; color: white; background: linear-gradient(140deg, var(--navy), #276171); font-size: .8rem; letter-spacing: -.03em; }
.topbar-actions { display: flex; align-items: center; gap: 16px; }
.demo-badge, .card-kicker, .eyebrow { font-size: .68rem; font-weight: 800; letter-spacing: .14em; }
.demo-badge { color: var(--accent-deep); background: color-mix(in srgb, var(--accent) 16%, transparent); padding: 8px 10px; border-radius: 100px; }
.text-button { border: 0; background: transparent; color: var(--ink); padding: 7px 0; font-size: .82rem; font-weight: 700; }
.text-link { color: var(--ink); text-decoration: none; font-size: .82rem; font-weight: 700; }
.text-link:hover { color: var(--accent-deep); }
.hero { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(280px, .7fr); gap: 70px; align-items: end; padding: 100px 28px 88px; }
.eyebrow { color: var(--accent-deep); margin: 0 0 14px; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { letter-spacing: -.045em; line-height: 1.02; }
h1 { max-width: 780px; margin-bottom: 24px; font-size: clamp(2.8rem, 6vw, 5.45rem); }
h2 { margin-bottom: 0; font-size: clamp(2rem, 4vw, 3.55rem); }
.hero-text { max-width: 635px; color: var(--muted); font-size: 1.1rem; line-height: 1.7; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.primary-button, .secondary-button { display: inline-flex; align-items: center; justify-content: center; gap: 18px; min-height: 51px; padding: 0 20px; border-radius: 9px; text-decoration: none; font-size: .88rem; font-weight: 800; transition: transform .18s ease, box-shadow .18s ease; }
.primary-button { color: #fff; background: var(--navy); border: 1px solid var(--navy); box-shadow: 0 9px 20px rgba(10, 32, 53, .17); }
.secondary-button { color: var(--ink); background: transparent; border: 1px solid var(--line); }
.primary-button:hover, .secondary-button:hover, .card-button:hover { transform: translateY(-2px); }
.hero-card { padding: 28px; border: 1px solid var(--line); border-radius: 18px; background: linear-gradient(145deg, color-mix(in srgb, var(--surface) 92%, var(--accent)), var(--surface)); box-shadow: var(--shadow); }
.card-kicker { display: block; color: var(--accent-deep); margin-bottom: 26px; }
.hero-card strong { display: block; font-size: 2.7rem; letter-spacing: -.06em; }
.hero-card p { color: var(--muted); line-height: 1.55; margin: 8px 0 27px; }
.status-row { display: flex; gap: 8px; align-items: center; border-top: 1px solid var(--line); padding-top: 18px; color: var(--muted); font-size: .78rem; font-weight: 700; }
.status-row span { width: 8px; height: 8px; border-radius: 50%; background: #55aa78; box-shadow: 0 0 0 4px rgba(85, 170, 120, .12); }
.directory-section { border-top: 1px solid var(--line); padding: 80px 28px 104px; }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 38px; }
.section-heading > p { width: min(350px, 100%); margin-bottom: 4px; color: var(--muted); line-height: 1.65; }
.directory-tools { display: flex; justify-content: space-between; gap: 18px; margin: 44px 0 13px; }
.search-box { display: flex; align-items: center; gap: 10px; flex: 1; max-width: 440px; color: var(--muted); border-bottom: 1px solid var(--ink); padding: 0 2px 10px; }
.search-box input { min-width: 0; width: 100%; color: var(--ink); background: transparent; border: 0; outline: 0; font-size: .92rem; }
.search-box input::placeholder { color: var(--muted); }
.filter-group { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; }
.filter-button { color: var(--muted); background: transparent; border: 1px solid var(--line); padding: 8px 11px; border-radius: 100px; font-size: .74rem; font-weight: 750; }
.filter-button[aria-pressed="true"] { color: #fff; background: var(--navy); border-color: var(--navy); }
.result-count { min-height: 20px; color: var(--muted); font-size: .8rem; }
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 22px; }
.team-card { position: relative; min-height: 400px; display: flex; flex-direction: column; padding: 25px; overflow: hidden; border: 1px solid var(--line); border-radius: 15px; background: var(--surface); box-shadow: 0 3px 12px rgba(15, 35, 53, .025); transition: transform .18s ease, box-shadow .18s ease; }
.team-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.member-avatar { width: 72px; height: 72px; display: grid; place-items: center; margin-bottom: 45px; overflow: hidden; border-radius: 23px; color: white; background: linear-gradient(145deg, var(--avatar-start), var(--avatar-end)); font-size: 1.15rem; font-weight: 850; letter-spacing: -.06em; }
.member-area { margin-bottom: 8px; color: var(--accent-deep); font-size: .67rem; font-weight: 850; letter-spacing: .13em; text-transform: uppercase; }
.member-summary h3 { margin-bottom: 7px; font-size: 1.72rem; }
.member-role { min-height: 42px; color: var(--muted); font-size: .9rem; line-height: 1.45; }
.member-bio { color: var(--muted); font-size: .85rem; line-height: 1.65; }
.tag-list { display: flex; flex-wrap: wrap; gap: 7px; margin-top: auto; padding-top: 20px; }
.tag { color: var(--ink); border: 1px solid var(--line); border-radius: 100px; padding: 5px 8px; font-size: .67rem; font-weight: 700; }
.card-button { display: flex; align-items: center; justify-content: space-between; width: 100%; margin-top: 22px; padding: 0; color: var(--ink); background: transparent; border: 0; border-top: 1px solid var(--line); padding-top: 17px; text-align: left; font-size: .79rem; font-weight: 850; }
.next-step { display: grid; grid-template-columns: 1fr 1fr; gap: 45px; margin: 0 28px 70px; padding: 44px; color: white; background: var(--navy); border-radius: 18px; }
.next-step .eyebrow { color: #e4c77f; }
.next-step h2 { max-width: 430px; }
.next-step ol { display: grid; gap: 22px; padding: 0; margin: 0; list-style: none; }
.next-step li { display: grid; grid-template-columns: 30px 1fr; gap: 11px; color: #d2dde1; line-height: 1.5; font-size: .9rem; }
.next-step li span { color: #e4c77f; font-size: .7rem; font-weight: 850; }
footer { display: flex; justify-content: space-between; gap: 20px; padding: 27px 28px 38px; color: var(--muted); font-size: .7rem; font-weight: 700; letter-spacing: .04em; }
.profile-dialog, .privacy-dialog { position: relative; width: min(860px, calc(100% - 32px)); max-height: min(740px, calc(100% - 40px)); padding: 0; overflow: auto; color: var(--ink); border: 0; border-radius: 20px; background: var(--surface); box-shadow: 0 30px 90px rgba(0, 0, 0, .35); }
.privacy-dialog { width: min(540px, calc(100% - 32px)); padding: 42px; }
.privacy-dialog h2 { font-size: 2.4rem; margin-bottom: 18px; }
.privacy-dialog p:not(.eyebrow) { color: var(--muted); line-height: 1.65; }
dialog::backdrop { background: rgba(4, 17, 28, .72); backdrop-filter: blur(4px); }
.dialog-close { position: absolute; z-index: 2; top: 18px; right: 20px; display: grid; place-items: center; width: 36px; height: 36px; padding: 0; color: var(--ink); background: color-mix(in srgb, var(--surface) 85%, transparent); border: 1px solid var(--line); border-radius: 50%; font-size: 1.6rem; line-height: 1; }
.profile-layout { display: grid; grid-template-columns: 310px 1fr; min-height: 510px; }
.profile-aside { display: flex; flex-direction: column; padding: 37px; color: #fff; background: linear-gradient(145deg, var(--profile-start), var(--profile-end)); }
.profile-aside .member-avatar { width: 84px; height: 84px; margin: 0 0 50px; border: 1px solid rgba(255,255,255,.25); background: rgba(255,255,255,.15); font-size: 1.4rem; }
.profile-photo { width: 84px; height: 84px; margin: 0 0 50px; object-fit: cover; border: 1px solid rgba(255,255,255,.25); border-radius: 23px; background: rgba(255,255,255,.15); }
.profile-aside p { margin: 0 0 10px; color: rgba(255,255,255,.7); font-size: .68rem; font-weight: 850; letter-spacing: .13em; }
.profile-aside h2 { margin-bottom: 9px; font-size: 2.25rem; }
.profile-aside .profile-role { color: rgba(255,255,255,.85); font-size: .9rem; line-height: 1.4; letter-spacing: 0; font-weight: 500; }
.profile-ready { margin-top: auto; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.2); color: rgba(255,255,255,.78); font-size: .74rem; line-height: 1.5; }
.profile-main { padding: 55px 50px 42px; }
.profile-main h3 { margin-bottom: 14px; font-size: 1.65rem; }
.profile-main > p { color: var(--muted); line-height: 1.68; }
.specialty-list { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding: 0; margin: 27px 0; list-style: none; }
.specialty-list li { display: flex; align-items: center; gap: 8px; padding: 10px; color: var(--ink); background: color-mix(in srgb, var(--accent) 10%, transparent); border-radius: 8px; font-size: .78rem; font-weight: 700; }
.specialty-list li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.profile-contact { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding-top: 24px; border-top: 1px solid var(--line); }
.contact-action { display: flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 12px; color: var(--ink); text-decoration: none; background: transparent; border: 1px solid var(--line); border-radius: 8px; font-size: .76rem; font-weight: 800; }
.contact-action.primary { color: #fff; background: var(--navy); border-color: var(--navy); }
.empty-state { grid-column: 1 / -1; padding: 45px; color: var(--muted); border: 1px dashed var(--line); text-align: center; }
@media (max-width: 820px) { .hero { grid-template-columns: 1fr; gap: 35px; padding-top: 68px; } .hero-card { max-width: 390px; } .card-grid { grid-template-columns: repeat(2, 1fr); } .directory-tools, .section-heading { align-items: stretch; flex-direction: column; } .filter-group { justify-content: flex-start; } .next-step { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .topbar { padding-inline: 20px; } .demo-badge { display: none; } .hero, .directory-section { padding-inline: 20px; } h1 { font-size: 2.75rem; } .card-grid { grid-template-columns: 1fr; } .team-card { min-height: 360px; } .next-step { margin-inline: 20px; padding: 30px 24px; } footer { flex-direction: column; padding-inline: 20px; } .profile-layout { grid-template-columns: 1fr; } .profile-aside { min-height: 270px; padding: 31px; } .profile-aside .member-avatar { margin-bottom: 25px; } .profile-main { padding: 35px 27px 30px; } .specialty-list, .profile-contact { grid-template-columns: 1fr; } .privacy-dialog { padding: 36px 26px; } }

/* Sistema visual alineado con topconsultingec.com */
:root {
  --ink: #071426;
  --muted: #626b76;
  --paper: #ffffff;
  --surface: #ffffff;
  --line: #dfe7ee;
  --accent: #b91616;
  --accent-deep: #921010;
  --navy: #0b2542;
  --shadow: 0 24px 70px rgba(7, 20, 38, .13);
}

[data-theme="dark"] { --ink: #f8fbff; --muted: #b7c2cf; --paper: #071426; --surface: #0b1b2e; --line: rgba(219,230,242,.16); --accent: #f05252; --accent-deep: #ff8787; --navy: #0d3555; }

body { background: linear-gradient(114deg, transparent 0 63%, rgba(42, 199, 214, .055) 63% 72%, transparent 72%), linear-gradient(121deg, transparent 0 72%, rgba(185, 22, 22, .04) 72% 79%, transparent 79%), var(--paper); }
.page-orb { display: none; }
.topbar { min-height: 76px; max-width: none; padding: 13px max(28px, calc((100vw - 1200px) / 2)); background: color-mix(in srgb, var(--surface) 96%, transparent); border-bottom: 1px solid var(--line); box-shadow: 0 14px 34px rgba(7,20,38,.075); }
.brand { gap: 10px; font-size: .82rem; letter-spacing: .11em; }
.brand-mark { width: 37px; height: 37px; border-radius: 0; background: var(--navy); font-size: .68rem; }
.brand small { color: var(--accent); }
.demo-badge { color: #fff; background: var(--accent); border-radius: 0; padding: 7px 9px; }
.text-link { color: var(--navy); text-transform: uppercase; font-size: .69rem; letter-spacing: .08em; }
.text-button { color: var(--ink); text-transform: uppercase; font-size: .69rem; letter-spacing: .08em; }
.hero { position: relative; max-width: 1200px; grid-template-columns: minmax(0, 1.55fr) minmax(260px,.65fr); gap: 54px; padding: 94px 28px 78px; }
.hero::before { position: absolute; top: 68px; left: 28px; width: 52px; height: 4px; background: var(--accent); content: ''; }
.hero-copy { padding-top: 25px; }
.eyebrow { color: var(--accent); font-size: .7rem; letter-spacing: .16em; }
h1, h2, h3 { color: var(--ink); font-family: Arial, Helvetica, sans-serif; font-weight: 940; text-transform: uppercase; }
h1 { max-width: 800px; font-size: clamp(2.75rem, 5.7vw, 5.1rem); line-height: .98; }
.hero-text { max-width: 620px; color: var(--muted); font-size: 1rem; line-height: 1.7; }
.primary-button, .secondary-button { min-height: 46px; border-radius: 4px; font-size: .76rem; letter-spacing: .05em; text-transform: uppercase; }
.primary-button { background: var(--navy); box-shadow: none; }
.primary-button:hover { background: var(--accent); }
.secondary-button { border-color: rgba(11,37,66,.22); }
.hero-card { position: relative; padding: 26px; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); box-shadow: var(--shadow); }
.hero-card::before { position: absolute; top: 0; left: 0; width: 5px; height: 100%; background: var(--accent); content: ''; }
.card-kicker { color: var(--accent); }
.hero-card strong { color: var(--navy); font-size: 3rem; }
.status-row span { border-radius: 0; background: #2ac7d6; box-shadow: none; }
.directory-section { max-width: none; padding: 83px max(28px, calc((100vw - 1200px) / 2)) 96px; border-top: 1px solid var(--line); background: rgba(243,246,248,.52); }
.section-heading { max-width: 1200px; margin-inline: auto; }
.section-heading h2 { font-size: clamp(2rem, 4.3vw, 3.5rem); }
.directory-tools, .result-count, .card-grid { max-width: 1200px; margin-left: auto; margin-right: auto; }
.search-box { border-bottom-color: var(--navy); }
.filter-button { border-radius: 4px; text-transform: uppercase; font-size: .66rem; letter-spacing: .06em; }
.filter-button[aria-pressed="true"] { background: var(--accent); border-color: var(--accent); }
.card-grid { counter-reset: employee-card; gap: 20px; }
.team-card { counter-increment: employee-card; min-height: 520px; padding: 30px; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); box-shadow: 0 22px 54px rgba(7,20,38,.08); overflow: hidden; }
.team-card::before { position: absolute; top: 21px; right: 24px; color: var(--navy); content: counter(employee-card, decimal-leading-zero); font-size: 4.2rem; font-weight: 940; letter-spacing: -.1em; line-height: .92; opacity: .13; }
.team-card::after { position: absolute; top: 0; left: 0; width: 100%; height: 4px; background: linear-gradient(90deg, var(--accent) 0 52px, var(--navy) 52px 100%); content: ''; }
.team-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.member-avatar { position: relative; z-index: 1; width: 54px; height: 54px; margin-bottom: 72px; border: 1px solid rgba(11,37,66,.16); border-radius: 0; background: var(--navy); font-size: .82rem; }
.member-area { color: var(--accent); font-size: .69rem; letter-spacing: .12em; }
.member-summary h3 { max-width: 260px; font-size: 1.35rem; line-height: 1.08; }
.member-role { min-height: 45px; color: var(--muted); font-size: .87rem; }
.member-bio { color: #4e5b68; font-size: .88rem; }
.tag-list { gap: 8px; }
.tag { min-height: 31px; display: inline-flex; align-items: center; color: #14263b; border-color: rgba(11,37,66,.13); border-radius: 999px; background: #f9fbfc; font-size: .7rem; }
.card-button { color: var(--navy); text-transform: uppercase; letter-spacing: .05em; }
.next-step { max-width: 1200px; margin: 0 auto 70px; border-radius: 8px; background: var(--navy); }
.next-step h2 { color: #fff; }
.next-step .eyebrow, .next-step li span { color: #2ac7d6; }
footer { max-width: 1200px; color: var(--muted); }
.profile-dialog, .privacy-dialog { border-radius: 8px; }
.profile-aside { background: var(--navy); }
.profile-aside .member-avatar, .profile-photo { border-radius: 0; }
@media (max-width: 560px) { .topbar { padding-inline: 20px; } .text-link { display: none; } .hero { padding: 67px 20px 55px; } .hero::before { left: 20px; top: 43px; } .directory-section { padding-inline: 20px; } .team-card { min-height: 460px; } }

/* Tarjetas de alto impacto: credenciales de confianza TOP PEOPLE */
.directory-section { position: relative; overflow: hidden; }
.directory-section::before { position: absolute; top: 165px; left: -140px; width: 430px; height: 430px; border: 1px solid rgba(42,199,214,.18); border-radius: 50%; box-shadow: 0 0 0 58px rgba(42,199,214,.035), 0 0 0 117px rgba(42,199,214,.025); content: ''; pointer-events: none; }
.section-heading, .directory-tools, .result-count, .card-grid { position: relative; z-index: 1; }
.card-grid { grid-template-columns: repeat(12, minmax(0, 1fr)); align-items: stretch; }
.team-card { grid-column: span 4; min-height: 530px; isolation: isolate; border: 0; border-radius: 10px; box-shadow: 0 27px 62px rgba(7,20,38,.11), inset 0 0 0 1px rgba(11,37,66,.12); transform-style: preserve-3d; transition: transform 300ms cubic-bezier(.2,.8,.2,1), box-shadow 300ms ease; }
.team-card:hover { transform: translateY(-9px) rotateX(1deg); box-shadow: 0 36px 75px rgba(7,20,38,.22), inset 0 0 0 1px rgba(42,199,214,.42); }
.team-card::before { top: 26px; right: 27px; z-index: -1; color: #dce9ef; font-size: 5.5rem; opacity: 1; }
.team-card::after { top: 0; left: 0; z-index: -1; width: 100%; height: 100%; background: linear-gradient(135deg, transparent 0 67%, rgba(42,199,214,.06) 67% 68%, transparent 68%), repeating-linear-gradient(90deg, transparent 0 23px, rgba(11,37,66,.025) 24px); border-radius: 10px; opacity: 1; }
.team-card .member-avatar { width: 82px; height: 82px; margin-bottom: 61px; border: 8px solid var(--surface); outline: 1px solid rgba(11,37,66,.14); background: linear-gradient(135deg, var(--avatar-start), var(--avatar-end)); box-shadow: 13px 13px 0 rgba(185,22,22,.12); font-size: 1.08rem; }
.team-card .member-avatar::after { position: absolute; right: -13px; bottom: -13px; width: 22px; height: 22px; border: 4px solid var(--surface); border-radius: 50%; background: #2ac7d6; box-shadow: 0 0 0 1px rgba(7,20,38,.16); content: ''; }
.member-summary { position: relative; }
.member-summary::before { display: block; width: 34px; height: 3px; margin-bottom: 14px; background: var(--accent); content: ''; }
.member-summary h3 { max-width: 285px; margin-bottom: 10px; font-size: clamp(1.45rem, 2vw, 1.78rem); letter-spacing: -.055em; }
.member-role { min-height: 47px; max-width: 235px; font-size: .84rem; }
.member-bio { position: relative; max-width: 285px; margin-top: 25px; padding-left: 16px; font-size: .84rem; }
.member-bio::before { position: absolute; top: 3px; bottom: 3px; left: 0; width: 2px; background: #2ac7d6; content: ''; }
.tag-list { position: relative; z-index: 1; padding-top: 22px; }
.tag { border: 0; border-radius: 3px; background: rgba(11,37,66,.075); color: #0b2542; font-size: .64rem; letter-spacing: .02em; }
.card-button { position: relative; z-index: 1; padding-top: 18px; color: var(--accent); font-size: .72rem; }
.card-button span { display: grid; place-items: center; width: 27px; height: 27px; border-radius: 50%; color: #fff; background: var(--accent); transition: transform 220ms ease, background 220ms ease; }
.team-card:hover .card-button span { background: var(--navy); transform: rotate(45deg); }

/* Tarjeta líder: la primera persona abre el directorio como una pieza editorial. */
.team-card:nth-child(1) { grid-column: span 8; display: grid; grid-template-columns: minmax(230px,.84fr) 1.16fr; grid-template-rows: auto 1fr auto; gap: 0 30px; min-height: 530px; padding: 38px; overflow: hidden; color: #fff; background: radial-gradient(circle at 84% 17%, rgba(42,199,214,.24), transparent 24%), linear-gradient(128deg, #071426 0%, #0b2542 59%, #0d3555 100%); box-shadow: 0 31px 76px rgba(7,20,38,.28); }
.team-card:nth-child(1)::before { top: 27px; right: 37px; color: rgba(255,255,255,.11); font-size: 8.6rem; }
.team-card:nth-child(1)::after { background: linear-gradient(135deg, transparent 0 57%, rgba(42,199,214,.14) 57% 58%, transparent 58%), repeating-linear-gradient(90deg, transparent 0 29px, rgba(255,255,255,.035) 30px); border-radius: 10px; }
.team-card:nth-child(1) .member-avatar { grid-row: span 2; align-self: center; justify-self: center; width: 142px; height: 142px; margin: 0; border: 10px solid rgba(255,255,255,.08); outline-color: rgba(42,199,214,.55); box-shadow: 18px 18px 0 rgba(185,22,22,.48); font-size: 1.7rem; }
.team-card:nth-child(1) .member-avatar::after { right: -15px; bottom: -15px; width: 27px; height: 27px; border-color: #0b2542; }
.team-card:nth-child(1) .member-summary { align-self: end; padding-top: 68px; }
.team-card:nth-child(1) .member-summary::before { background: #2ac7d6; }
.team-card:nth-child(1) .member-area { color: #2ac7d6; }
.team-card:nth-child(1) h3 { max-width: 390px; color: #fff; font-size: clamp(2rem, 3.6vw, 3.45rem); }
.team-card:nth-child(1) .member-role, .team-card:nth-child(1) .member-bio { color: #d4e3ee; }
.team-card:nth-child(1) .member-bio { grid-column: 2; align-self: end; max-width: 400px; margin: 0; }
.team-card:nth-child(1) .tag-list { grid-column: 1 / -1; align-self: end; padding-top: 28px; }
.team-card:nth-child(1) .tag { color: #dcecf3; background: rgba(255,255,255,.09); }
.team-card:nth-child(1) .card-button { grid-column: 1 / -1; color: #fff; border-top-color: rgba(255,255,255,.2); }
.team-card:nth-child(1) .card-button span { color: #0b2542; background: #2ac7d6; }
.team-card:nth-child(1):hover { transform: translateY(-9px) rotateX(1deg) scale(1.005); box-shadow: 0 40px 86px rgba(7,20,38,.38); }

.team-card:nth-child(5) { background: linear-gradient(145deg, #fff 0 78%, rgba(185,22,22,.075) 78%); }
.team-card:nth-child(5)::after { background: linear-gradient(138deg, transparent 0 52%, rgba(185,22,22,.08) 52% 53%, transparent 53%), repeating-linear-gradient(90deg, transparent 0 23px, rgba(11,37,66,.025) 24px); }
.profile-dialog { overflow: hidden; border: 1px solid rgba(42,199,214,.42); }
.profile-layout { min-height: 540px; }
.profile-aside { position: relative; overflow: hidden; background: linear-gradient(135deg, #071426, #0d3555); }
.profile-aside::before { position: absolute; top: -80px; right: -80px; width: 270px; height: 270px; border: 1px solid rgba(42,199,214,.3); border-radius: 50%; box-shadow: 0 0 0 38px rgba(42,199,214,.06), 0 0 0 76px rgba(42,199,214,.035); content: ''; }
.profile-aside > * { position: relative; z-index: 1; }
.profile-aside .member-avatar, .profile-photo { width: 104px; height: 104px; border: 8px solid rgba(255,255,255,.1); outline: 1px solid rgba(42,199,214,.6); box-shadow: 13px 13px 0 rgba(185,22,22,.52); }
.profile-main { background: linear-gradient(135deg, #fff, #f5f9fb); }
@media (max-width: 900px) { .card-grid { grid-template-columns: repeat(2, 1fr); } .team-card, .team-card:nth-child(1) { grid-column: auto; } .team-card:nth-child(1) { display: flex; min-height: 530px; } .team-card:nth-child(1) .member-avatar { align-self: flex-start; width: 82px; height: 82px; margin-bottom: 61px; font-size: 1.08rem; } .team-card:nth-child(1) .member-summary, .team-card:nth-child(1) .member-bio, .team-card:nth-child(1) .tag-list, .team-card:nth-child(1) .card-button { align-self: auto; grid-column: auto; padding-top: 0; } .team-card:nth-child(1) h3 { font-size: 1.78rem; } }
@media (max-width: 560px) { .card-grid { grid-template-columns: 1fr; } .team-card, .team-card:nth-child(1) { min-height: 480px; padding: 28px; } .team-card:nth-child(1) .member-avatar { margin-bottom: 48px; } }

/* Dirección visual exacta: bloques oscuros, fotografía técnica y señales de confianza. */
body { background: #fff; }
.topbar { background: #071426; border-bottom-color: rgba(255,255,255,.08); box-shadow: none; }
.brand-logo { display: block; width: 195px; height: auto; max-height: 61px; object-fit: contain; }
.text-link, .text-button { color: rgba(255,255,255,.92); }
.text-link:hover, .text-button:hover { color: #2ac7d6; }
.demo-badge { background: rgba(255,255,255,.09); color: #fff; border: 1px solid rgba(255,255,255,.16); }
main { max-width: none; }
.hero { max-width: none; min-height: 610px; padding: 110px max(28px, calc((100vw - 1200px) / 2)) 90px; overflow: hidden; color: #fff; background-image: linear-gradient(90deg, #071426 0%, rgba(7,20,38,.97) 41%, rgba(7,20,38,.42) 100%), url('https://www.topconsultingec.com/assets/hero-business.png'); background-position: center, right center; background-size: cover, min(690px, 55vw) auto; background-repeat: no-repeat; }
.hero::before { z-index: 1; top: 80px; left: max(28px, calc((100vw - 1200px) / 2)); width: 42px; background: #b91616; }
.hero-copy, .hero-card { position: relative; z-index: 2; }
.hero h1 { max-width: 750px; color: #fff; font-family: Impact, "Arial Black", sans-serif; font-size: clamp(3.1rem, 6.1vw, 6rem); font-weight: 900; letter-spacing: .01em; line-height: .97; }
.hero-text { color: #dbe6f2; }
.hero .eyebrow { color: #f05252; }
.hero .primary-button { background: #b91616; }
.hero .primary-button:hover { background: #921010; }
.hero .secondary-button { color: #fff; border-color: rgba(255,255,255,.34); }
.hero-card { color: #fff; border-color: rgba(255,255,255,.18); background: rgba(7,20,38,.71); backdrop-filter: blur(14px); box-shadow: none; }
.hero-card::before { background: #2ac7d6; }
.hero-card strong { color: #fff; }
.hero-card p, .hero-card .status-row { color: #dbe6f2; }
.hero-card .status-row { border-top-color: rgba(255,255,255,.18); }
.directory-section { background: #f3f6f8; }
.directory-section::before { border-color: rgba(42,199,214,.12); }
.team-card { position: relative; min-height: 545px; padding: 31px; color: #fff; border: 1px solid rgba(42,199,214,.23); border-radius: 8px; background: #071426; box-shadow: 0 27px 62px rgba(7,20,38,.24); }
.team-card > * { position: relative; z-index: 2; }
.team-card::after { z-index: 0; background-image: linear-gradient(90deg, rgba(7,20,38,.98) 0%, rgba(7,20,38,.88) 46%, rgba(7,20,38,.2) 100%), linear-gradient(135deg, transparent 0 63%, rgba(42,199,214,.14) 63% 64%, transparent 64%), var(--cover); background-position: center; background-size: cover; background-repeat: no-repeat; border-radius: 7px; opacity: 1; }
.team-card::before { z-index: 1; color: rgba(255,255,255,.12); }
.team-card:hover { box-shadow: 0 38px 82px rgba(7,20,38,.36), 0 0 0 1px rgba(42,199,214,.55); }
.team-card .member-avatar { border-color: rgba(255,255,255,.15); outline-color: rgba(42,199,214,.6); box-shadow: 13px 13px 0 rgba(185,22,22,.55); }
.team-card .member-avatar img { width: 100%; height: 100%; object-fit: cover; }
.team-card .member-avatar::after { border-color: #071426; }
.member-summary::before { background: #f05252; }
.member-area { color: #f05252; }
.member-summary h3 { color: #fff; font-family: Impact, "Arial Black", sans-serif; font-size: 1.9rem; font-weight: 900; letter-spacing: .02em; line-height: 1; }
.member-role, .member-bio { color: #dbe6f2; }
.member-bio::before { background: #2ac7d6; }
.tag { color: #e7f4f7; background: rgba(255,255,255,.10); }
.card-button { color: #fff; border-top-color: rgba(255,255,255,.24); }
.card-button span { background: #b91616; }
.team-card:hover .card-button span { background: #2ac7d6; color: #071426; }
.team-card:nth-child(1) { background: #071426; }
.team-card:nth-child(1)::after { background-image: linear-gradient(90deg, #071426 0%, rgba(7,20,38,.94) 43%, rgba(7,20,38,.12) 100%), linear-gradient(135deg, transparent 0 55%, rgba(42,199,214,.16) 55% 56%, transparent 56%), var(--cover); background-size: cover; }
.team-card:nth-child(1) .member-avatar { background: linear-gradient(135deg, #b91616, #2ac7d6); }
.team-card:nth-child(1) .member-summary::before { background: #f05252; }
.team-card:nth-child(1) .member-area { color: #f05252; }
.team-card:nth-child(1) .card-button span { background: #b91616; color: #fff; }
.team-card:nth-child(5) { background: #071426; }
.team-card:nth-child(5)::after { background-image: linear-gradient(90deg, rgba(7,20,38,.98) 0%, rgba(7,20,38,.84) 46%, rgba(7,20,38,.18) 100%), linear-gradient(135deg, transparent 0 63%, rgba(185,22,22,.12) 63% 64%, transparent 64%), var(--cover); }
.profile-aside { background-image: linear-gradient(90deg, rgba(7,20,38,.96), rgba(7,20,38,.34)), var(--profile-cover); background-position: center; background-size: cover; }
.profile-main { background: #f3f6f8; }
.profile-main h3 { font-family: Impact, "Arial Black", sans-serif; }
@media (max-width: 720px) { .topbar { padding-inline: 18px; } .brand-logo { width: 137px; } .hero { min-height: 610px; padding: 92px 20px 65px; background-image: linear-gradient(90deg, #071426 0%, rgba(7,20,38,.85) 100%), url('https://www.topconsultingec.com/assets/hero-business.png'); background-size: cover; } .hero::before { left: 20px; top: 63px; } .hero-card { display: none; } .hero h1 { font-size: clamp(3rem, 14vw, 4.5rem); } }

/* Imagen protagonista por tarjeta. */
.team-card { display: flex; min-height: 548px; padding: 0; overflow: hidden; color: #071426; border: 1px solid rgba(7,20,38,.14); background: #fff; box-shadow: 0 20px 48px rgba(7,20,38,.14); }
.team-card > * { z-index: auto; }
.team-card::before, .team-card::after { display: none; }
.card-media { position: relative; height: 247px; flex: 0 0 247px; overflow: hidden; background: #071426; }
.card-cover { width: 100%; height: 100%; object-fit: cover; object-position: center; display: block; filter: saturate(.86) contrast(1.05); transition: transform 600ms cubic-bezier(.2,.8,.2,1), filter 300ms ease; }
.card-media::after { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(7,20,38,.04) 25%, rgba(7,20,38,.84) 100%); content: ''; }
.card-number { position: absolute; z-index: 1; top: 18px; right: 18px; color: #fff; font-family: Impact, "Arial Black", sans-serif; font-size: 3.6rem; line-height: .8; letter-spacing: .02em; text-shadow: 0 2px 18px rgba(0,0,0,.4); }
.card-stamp { position: absolute; z-index: 1; bottom: 17px; left: 20px; color: #fff; font-size: .61rem; font-weight: 900; letter-spacing: .15em; }
.team-card .member-avatar { position: absolute; z-index: 4; top: 202px; left: 25px; width: 72px; height: 72px; margin: 0; overflow: hidden; border: 5px solid #fff; outline: 1px solid rgba(7,20,38,.14); border-radius: 50%; box-shadow: 8px 8px 0 rgba(185,22,22,.78); font-size: .9rem; }
.team-card .member-avatar::after { display: none; }
.team-card .member-avatar img { display: block; width: 100%; height: 100%; object-fit: cover; }
.member-summary { margin: 48px 26px 0; }
.member-summary::before { width: 30px; height: 3px; margin-bottom: 12px; background: #b91616; }
.member-area { color: #b91616; font-size: .64rem; }
.member-summary h3 { max-width: none; color: #071426; font-family: Impact, "Arial Black", sans-serif; font-size: 1.58rem; letter-spacing: .015em; line-height: 1; }
.member-role { min-height: auto; max-width: none; color: #52606e; font-size: .81rem; }
.member-bio { max-width: none; margin: 17px 26px 0; padding-left: 13px; color: #52606e; font-size: .78rem; line-height: 1.58; }
.member-bio::before { background: #2ac7d6; }
.tag-list { margin: auto 26px 0; padding-top: 20px; }
.tag { color: #0b2542; background: #f2f6f8; font-size: .61rem; }
.card-button { width: calc(100% - 52px); margin: 17px 26px 23px; padding-top: 14px; color: #071426; border-top-color: #dfe7ee; font-size: .67rem; }
.card-button span { color: #fff; background: #b91616; }
.team-card:hover { transform: translateY(-8px); background: #fff; box-shadow: 0 31px 64px rgba(7,20,38,.23); }
.team-card:hover .card-cover { filter: saturate(1.04) contrast(1.1); transform: scale(1.07); }
.team-card:hover .card-button span { color: #071426; background: #2ac7d6; }

.team-card:nth-child(1) { display: block; grid-column: span 8; min-height: 548px; padding: 0; color: #fff; border-color: #071426; background: #071426; }
.team-card:nth-child(1) .card-media { position: absolute; inset: 0; width: 100%; height: 100%; }
.team-card:nth-child(1) .card-media::after { background: linear-gradient(90deg, rgba(7,20,38,.99) 0%, rgba(7,20,38,.94) 42%, rgba(7,20,38,.21) 100%); }
.team-card:nth-child(1) .card-number { top: 36px; right: 37px; font-size: 7rem; opacity: .9; }
.team-card:nth-child(1) .card-stamp { bottom: 30px; left: auto; right: 38px; }
.team-card:nth-child(1) .member-avatar { top: auto; bottom: 42px; left: 40px; width: 105px; height: 105px; border-color: rgba(255,255,255,.91); box-shadow: 12px 12px 0 #b91616; }
.team-card:nth-child(1) .member-summary { position: relative; z-index: 2; width: min(440px, calc(100% - 90px)); margin: 0; padding: 81px 0 0 40px; }
.team-card:nth-child(1) .member-summary::before { background: #f05252; }
.team-card:nth-child(1) .member-area { color: #f05252; }
.team-card:nth-child(1) .member-summary h3 { color: #fff; font-size: clamp(2.4rem, 5vw, 4.25rem); }
.team-card:nth-child(1) .member-role { color: #dbe6f2; font-size: .92rem; }
.team-card:nth-child(1) .member-bio { position: relative; z-index: 2; width: min(445px, calc(100% - 90px)); margin: 24px 0 0 40px; color: #dbe6f2; }
.team-card:nth-child(1) .tag-list { position: absolute; z-index: 2; bottom: 29px; left: 170px; margin: 0; padding: 0; }
.team-card:nth-child(1) .tag { color: #f5fbff; background: rgba(255,255,255,.14); }
.team-card:nth-child(1) .card-button { position: absolute; z-index: 3; right: 37px; bottom: 29px; width: 195px; margin: 0; color: #fff; border-top-color: rgba(255,255,255,.25); }
.team-card:nth-child(1) .card-button span { background: #b91616; }
.team-card:nth-child(5) { background: #fff; }
.team-card:nth-child(5) .card-media::after { background: linear-gradient(180deg, rgba(7,20,38,.02) 25%, rgba(185,22,22,.75) 100%); }
@media (max-width: 900px) { .team-card:nth-child(1) { display: flex; grid-column: auto; min-height: 548px; color: #071426; background: #fff; } .team-card:nth-child(1) .card-media { position: relative; inset: auto; height: 247px; flex: 0 0 247px; } .team-card:nth-child(1) .card-media::after { background: linear-gradient(180deg, rgba(7,20,38,.04) 25%, rgba(7,20,38,.84) 100%); } .team-card:nth-child(1) .card-number { top: 18px; right: 18px; font-size: 3.6rem; } .team-card:nth-child(1) .card-stamp { bottom: 17px; left: 20px; right: auto; } .team-card:nth-child(1) .member-avatar { top: 202px; bottom: auto; left: 25px; width: 72px; height: 72px; border-color: #fff; box-shadow: 8px 8px 0 rgba(185,22,22,.78); } .team-card:nth-child(1) .member-summary { width: auto; margin: 48px 26px 0; padding: 0; } .team-card:nth-child(1) .member-summary::before { background: #b91616; } .team-card:nth-child(1) .member-area { color: #b91616; } .team-card:nth-child(1) .member-summary h3 { color: #071426; font-size: 1.58rem; } .team-card:nth-child(1) .member-role { color: #52606e; font-size: .81rem; } .team-card:nth-child(1) .member-bio { width: auto; margin: 17px 26px 0; color: #52606e; } .team-card:nth-child(1) .tag-list { position: relative; bottom: auto; left: auto; margin: auto 26px 0; padding-top: 20px; } .team-card:nth-child(1) .tag { color: #0b2542; background: #f2f6f8; } .team-card:nth-child(1) .card-button { position: relative; right: auto; bottom: auto; width: calc(100% - 52px); margin: 17px 26px 23px; color: #071426; border-top-color: #dfe7ee; } }
@media (max-width: 560px) { .team-card, .team-card:nth-child(1) { min-height: 515px; } .card-media { height: 225px; flex-basis: 225px; } .team-card .member-avatar, .team-card:nth-child(1) .member-avatar { top: 185px; } }

/* Tarjeta individual: presentación completa con QR. */
.profile-dialog { width: min(1120px, calc(100% - 28px)); max-height: calc(100% - 28px); padding: 0; border: 0; border-radius: 0; background: #f3f6f8; box-shadow: 0 34px 95px rgba(0,0,0,.45); }
.profile-dialog .dialog-close { top: 18px; right: 20px; z-index: 9; color: #fff; border-color: rgba(255,255,255,.3); background: rgba(7,20,38,.72); }
.presentation-card { color: #071426; background: #f3f6f8; }
.presentation-header { display: flex; min-height: 92px; align-items: center; justify-content: space-between; gap: 20px; padding: 15px 74px 15px 39px; background: #fff; box-shadow: 0 7px 18px rgba(7,20,38,.1); }
.presentation-header img { width: 178px; height: 58px; object-fit: contain; }
.presentation-header span { color: #b91616; font-size: .65rem; font-weight: 900; letter-spacing: .13em; text-align: right; }
.presentation-hero { display: grid; grid-template-columns: minmax(315px,.84fr) minmax(0,1.16fr); gap: 64px; align-items: center; min-height: 495px; padding: 58px 70px; background: linear-gradient(110deg, #e9f2f7, #f8fbfc); }
.presentation-photo { position: relative; min-height: 365px; margin: 0; overflow: hidden; background: #071426; box-shadow: 20px 22px 0 #b91616; }
.presentation-photo::after { position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(7,20,38,.86)); content: ''; }
.presentation-photo img { display: block; width: 100%; height: 100%; min-height: 365px; object-fit: cover; }
.presentation-photo figcaption { position: absolute; z-index: 1; right: 20px; bottom: 18px; left: 20px; display: flex; align-items: end; justify-content: space-between; color: #fff; }
.presentation-photo figcaption span { font-size: .62rem; font-weight: 850; letter-spacing: .13em; }
.presentation-photo figcaption strong { color: #2ac7d6; font-family: Impact, "Arial Black", sans-serif; font-size: 2rem; }
.presentation-identity .eyebrow { color: #b91616; }
.presentation-identity h2 { max-width: 570px; margin: 0 0 10px; color: #071426; font-family: Impact, "Arial Black", sans-serif; font-size: clamp(2.65rem, 5vw, 4.5rem); letter-spacing: .01em; line-height: .94; }
.presentation-role { margin: 0 0 26px; color: #0b2542; font-size: 1.08rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
.presentation-bio { max-width: 535px; color: #52606e; font-size: .94rem; line-height: 1.7; }
.presentation-specialties { display: flex; flex-wrap: wrap; gap: 9px; padding: 0; margin: 27px 0 0; list-style: none; }
.presentation-specialties li { padding: 8px 11px; color: #fff; background: #0b2542; font-size: .67rem; font-weight: 800; letter-spacing: .03em; }
.presentation-access { display: grid; grid-template-columns: minmax(0,1fr) 265px; gap: 50px; align-items: center; padding: 46px 70px; background: #071426; }
.presentation-contact .eyebrow { color: #2ac7d6; }
.contact-line { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 15px 17px; color: #fff; text-decoration: none; border: 1px solid rgba(255,255,255,.14); border-left: 4px solid #b91616; background: rgba(255,255,255,.06); }
.contact-line + .contact-line { margin-top: 9px; }
.contact-line span { color: #aebfc9; font-size: .64rem; font-weight: 800; letter-spacing: .09em; }
.contact-line strong { font-size: .83rem; }
.presentation-actions { display: flex; gap: 10px; margin-top: 18px; }
.presentation-actions button { min-height: 42px; padding: 0 15px; color: #fff; background: #b91616; border: 0; font-size: .7rem; font-weight: 850; letter-spacing: .04em; text-transform: uppercase; }
.presentation-actions button + button { color: #fff; background: transparent; border: 1px solid rgba(255,255,255,.25); }
.presentation-qr { justify-self: end; width: 245px; padding: 16px; color: #fff; background: #fff; box-shadow: 10px 10px 0 rgba(42,199,214,.48); text-align: center; }
.presentation-qr img { display: block; width: 168px; height: 168px; margin: 0 auto 9px; }
.presentation-qr strong, .presentation-qr span { display: block; }
.presentation-qr strong { color: #071426; font-size: .68rem; letter-spacing: .08em; }
.presentation-qr span { margin-top: 5px; color: #52606e; font-size: .67rem; line-height: 1.35; }
.presentation-footer { display: flex; justify-content: space-between; gap: 20px; padding: 19px 70px; color: #dbe6f2; background: #0b2542; font-size: .73rem; }
.presentation-footer a { color: #2ac7d6; font-weight: 800; text-decoration: none; }
@media (max-width: 760px) { .presentation-header { min-height: 76px; padding: 12px 63px 12px 20px; } .presentation-header img { width: 140px; height: 48px; } .presentation-header span { display: none; } .presentation-hero { grid-template-columns: 1fr; gap: 38px; padding: 46px 25px; } .presentation-photo { min-height: 330px; max-width: 440px; } .presentation-photo img { min-height: 330px; } .presentation-identity h2 { font-size: clamp(2.6rem, 13vw, 4rem); } .presentation-access { grid-template-columns: 1fr; gap: 30px; padding: 36px 25px; } .presentation-qr { justify-self: start; } .presentation-footer { flex-direction: column; padding: 18px 25px; } }

/* Acciones y acabado premium de la tarjeta individual. */
.presentation-card { position: relative; overflow: hidden; }
.presentation-hero { position: relative; isolation: isolate; background: linear-gradient(114deg, #f5f9fb 0%, #f5f9fb 58%, #dcecf2 58% 59%, #f5f9fb 59%); }
.presentation-hero::after { position: absolute; z-index: -1; right: -170px; bottom: -260px; width: 490px; height: 490px; border: 1px solid rgba(42,199,214,.31); border-radius: 50%; box-shadow: 0 0 0 52px rgba(42,199,214,.07), 0 0 0 104px rgba(185,22,22,.035); content: ''; }
.presentation-photo { outline: 1px solid rgba(42,199,214,.44); }
.presentation-photo img { transition: transform .7s cubic-bezier(.2,.8,.2,1); }
.presentation-card:hover .presentation-photo img { transform: scale(1.035); }
.profile-proof { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 25px; }
.profile-proof span { padding: 7px 9px; color: #0b2542; background: rgba(42,199,214,.13); font-size: .61rem; font-weight: 900; letter-spacing: .06em; }
.profile-proof span:first-child { color: #fff; background: #0b2542; }
.presentation-contact { min-width: 0; }
.presentation-actions { flex-wrap: wrap; }
.presentation-actions button { cursor: pointer; transition: background .2s ease, transform .2s ease; }
.presentation-actions button:hover { transform: translateY(-2px); background: #f05252; }
.presentation-quick-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.quick-action { display: inline-flex; align-items: center; gap: 7px; min-height: 35px; padding: 0 10px; color: #dbe6f2; border: 1px solid rgba(255,255,255,.16); text-decoration: none; font-size: .64rem; font-weight: 800; letter-spacing: .02em; transition: transform .2s ease, background .2s ease; }
.quick-action span { display: inline-grid; place-items: center; width: 17px; height: 17px; color: #2ac7d6; font-weight: 900; }
.quick-action.primary { color: #fff; border-color: #2ac7d6; background: rgba(42,199,214,.14); }
.quick-action:hover { color: #fff; background: rgba(255,255,255,.15); transform: translateY(-2px); }
.presentation-qr { position: relative; overflow: visible; }
.presentation-qr::before { position: absolute; top: -7px; left: -7px; width: 28px; height: 28px; border-top: 3px solid #b91616; border-left: 3px solid #b91616; content: ''; }
.presentation-qr::after { position: absolute; right: -7px; bottom: -7px; width: 28px; height: 28px; border-right: 3px solid #2ac7d6; border-bottom: 3px solid #2ac7d6; content: ''; }
.presentation-qr button { position: relative; z-index: 1; width: 100%; min-height: 32px; margin-top: 12px; color: #071426; background: #eef6f8; border: 1px solid #b9dae0; font-size: .61rem; font-weight: 900; letter-spacing: .05em; text-transform: uppercase; cursor: pointer; }
.presentation-qr button:hover { color: #fff; background: #0b2542; border-color: #0b2542; }

@media (max-width: 760px) { .presentation-quick-actions { gap: 7px; } .quick-action { min-height: 33px; } .profile-proof { margin-top: 20px; } }
@media print {
  @page { size: A4; margin: 0; }
  body { background: #fff !important; }
  body > *:not(#profile-dialog) { display: none !important; }
  #profile-dialog { position: static; display: block; width: 100%; max-width: none; max-height: none; overflow: visible; border: 0; box-shadow: none; }
  #profile-dialog::backdrop, .dialog-close, .presentation-actions, .presentation-quick-actions, .presentation-qr button { display: none !important; }
  .presentation-card { min-height: 100vh; }
  .presentation-header { box-shadow: none; }
  .presentation-hero, .presentation-access, .presentation-footer { break-inside: avoid; }
  .presentation-hero { min-height: 0; padding: 42px 60px; }
  .presentation-access { padding: 34px 60px; }
  .presentation-photo { min-height: 295px; }
  .presentation-photo img { min-height: 295px; }
}

/* El perfil completo se recorre dentro de la ventana; nunca se corta el QR ni los canales. */
.profile-dialog { overflow-x: hidden; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; scrollbar-color: #2ac7d6 #071426; }
.profile-dialog::-webkit-scrollbar { width: 11px; }
.profile-dialog::-webkit-scrollbar-track { background: #071426; }
.profile-dialog::-webkit-scrollbar-thumb { background: #2ac7d6; border: 3px solid #071426; border-radius: 10px; }
.presentation-header { position: sticky; top: 0; z-index: 6; }
.profile-dialog .dialog-close { position: sticky; float: right; top: 18px; right: 20px; margin: 18px 20px -54px 0; }
@media (max-width: 760px) { .profile-dialog .dialog-close { margin-right: 14px; } }

/* Variantes editables desde el Estudio de tarjeta. */
.presentation-card.accent-red { --card-accent: #b91616; --card-signal: #2ac7d6; }
.presentation-card.accent-cyan { --card-accent: #007f91; --card-signal: #f05252; }
.presentation-card.accent-navy { --card-accent: #0b2542; --card-signal: #2ac7d6; }
.presentation-card .presentation-header span, .presentation-card .presentation-identity .eyebrow { color: var(--card-accent, #b91616); }
.presentation-card .presentation-photo { box-shadow: 20px 22px 0 var(--card-accent, #b91616); }
.presentation-card .presentation-specialties li, .presentation-card .profile-proof span:first-child { background: var(--card-accent, #0b2542); }
.presentation-card .contact-line { border-left-color: var(--card-accent, #b91616); }
.presentation-card .presentation-actions button { background: var(--card-accent, #b91616); }
.presentation-card .presentation-qr::before { border-color: var(--card-accent, #b91616); }
.presentation-card .presentation-qr::after { border-color: var(--card-signal, #2ac7d6); }
.presentation-card.template-signal .presentation-hero { background: #071426; }
.presentation-card.template-signal .presentation-identity h2, .presentation-card.template-signal .presentation-role { color: #fff; }
.presentation-card.template-signal .presentation-bio { color: #dbe6f2; }
.presentation-card.template-signal .profile-proof span { color: #fff; background: rgba(255,255,255,.12); }
.presentation-card.template-signal .profile-proof span:first-child { background: var(--card-accent, #b91616); }
.presentation-card.template-signal .presentation-specialties li { color: #071426; background: var(--card-signal, #2ac7d6); }
.presentation-card.template-minimal .presentation-hero { grid-template-columns: 280px 1fr; min-height: 420px; background: #fff; }
.presentation-card.template-minimal .presentation-photo { min-height: 270px; box-shadow: 10px 10px 0 var(--card-signal, #2ac7d6); }
.presentation-card.template-minimal .presentation-photo img { min-height: 270px; }
.presentation-card.template-minimal .presentation-identity h2 { font-family: Arial, Helvetica, sans-serif; font-size: clamp(2.25rem, 4vw, 3.6rem); letter-spacing: -.06em; }
@media (max-width: 760px) { .presentation-card.template-minimal .presentation-hero { grid-template-columns: 1fr; } }
