:root {
  --ink: #101c2c;
  --muted: #526171;
  --blue: #165d8f;
  --blue-dark: #0b3e61;
  --sky: #eaf5fb;
  --paper: #f8fafc;
  --line: #cfdae3;
  --white: #fff;
  --accent: #b8dff0;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 100px; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; font-size: 1rem; line-height: 1.65; }
a { color: var(--blue-dark); }
a, button, input, select, textarea { -webkit-tap-highlight-color: transparent; }
a:focus-visible, button:focus-visible { outline: 3px solid var(--blue); outline-offset: 5px; }
.skip-link { position: fixed; left: 20px; top: -100px; z-index: 20; padding: 12px 20px; background: white; }
.skip-link:focus { top: 12px; }
.nav { min-height: 84px; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 16px max(5vw, 24px); background: rgba(248,250,252,.97); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 10; backdrop-filter: blur(14px); }
.identity { display: flex; align-items: center; gap: 12px; color: var(--ink); text-decoration: none; }
.identity strong, .identity small { display: block; line-height: 1.4; }
.identity small { color: var(--muted); font-size: .875rem; }
.identity-photo { display: block; width: 56px; height: 56px; flex-shrink: 0; object-fit: cover; border-radius: 50%; border: 2px solid white; box-shadow: 0 0 0 1px var(--line); }
.nav-cta { color: var(--blue-dark); font-weight: 700; text-decoration: none; border-bottom: 2px solid var(--blue); }
.main-nav { display: flex; align-items: center; justify-content: center; gap: clamp(18px, 2.4vw, 36px); margin-left: auto; }
.main-nav > a, .nav-dropdown > a { color: var(--ink); text-decoration: none; font-size: .9375rem; font-weight: 650; padding: 14px 0; white-space: nowrap; }
.main-nav > a:hover, .nav-dropdown > a:hover, .main-nav .active { color: var(--blue); }
.nav-dropdown { position: relative; }
.dropdown-panel { position: absolute; left: 50%; top: calc(100% - 2px); width: min(390px, 86vw); padding: 12px; background: white; border: 1px solid var(--line); box-shadow: 0 22px 50px rgba(16,28,44,.16); opacity: 0; visibility: hidden; transform: translate(-50%, 8px); transition: opacity .18s ease, transform .18s ease, visibility .18s; }
.dropdown-panel a { display: block; padding: 11px 12px; color: var(--ink); text-decoration: none; font-size: .9rem; line-height: 1.35; }
.dropdown-panel a:hover, .dropdown-panel a:focus-visible { color: var(--blue-dark); background: var(--sky); }
.nav-dropdown:hover .dropdown-panel, .nav-dropdown:focus-within .dropdown-panel { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.hero { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(250px, .55fr); gap: 7vw; align-items: center; padding: 80px max(7vw, 24px); background: linear-gradient(135deg, var(--white) 0 66%, var(--sky) 66%); }
.eyebrow { font-size: .875rem; letter-spacing: .12em; font-weight: 800; color: var(--blue); margin: 0 0 18px; }
.hero h1 { font-family: Georgia, "Times New Roman", serif; font-weight: 500; font-size: clamp(3rem, 5.2vw, 5.8rem); line-height: 1.06; letter-spacing: -.045em; max-width: 850px; margin: 0; text-wrap: balance; }
.lead { font-size: clamp(1.1rem, 1.5vw, 1.25rem); color: var(--muted); max-width: 720px; margin: 28px 0; }
.actions { display: flex; gap: 14px; flex-wrap: wrap; }
.button { display: inline-flex; justify-content: center; align-items: center; min-height: 52px; padding: 12px 20px; border: 1px solid var(--blue-dark); font: inherit; font-weight: 700; text-decoration: none; cursor: pointer; text-align: center; }
.primary { background: var(--blue-dark); color: white; }
.primary:hover { background: var(--blue); }
.secondary { color: var(--blue-dark); background: transparent; }
.micro { font-size: .875rem; color: var(--muted); margin-top: 18px; max-width: 650px; }
.credential { align-self: center; padding: 32px 0; }
.credential .line { display: block; width: 62px; height: 4px; background: var(--blue); margin-bottom: 24px; }
.credential > p:first-of-type { font-size: .875rem; letter-spacing: .1em; font-weight: 700; color: var(--blue); }
.credential h2 { font-size: clamp(2.5rem, 3.2vw, 3.7rem); }
.credential-degree { color: var(--ink); font-weight: 600; margin: 18px 0; }
.credential-register { display: block; color: var(--muted); font-size: .875rem; }
.credential-location { color: var(--muted); border-top: 1px solid #b9cbd8; padding-top: 18px; margin-top: 24px; }
.fit, .process, .about, .specialists, .contact { padding: 80px max(7vw, 24px); }
h2 { font-family: Georgia, "Times New Roman", serif; font-weight: 500; font-size: clamp(2rem, 3.4vw, 3.8rem); line-height: 1.12; letter-spacing: -.035em; margin: 0; text-wrap: balance; }
h3 { font-size: 1.2rem; line-height: 1.35; margin: 0 0 12px; }
.fit { background: var(--ink); color: white; }
.fit > div:first-child { max-width: 820px; }
.fit .eyebrow { color: var(--accent); }
.fit-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; margin-top: 50px; }
.fit article { border-top: 1px solid #435063; padding-top: 22px; }
.fit article > span { color: var(--accent); font-weight: 700; }
.fit h3 { margin-top: 26px; }
.fit article p { color: #cad4dc; margin-bottom: 0; }
.process { background: white; }
.process h2 { max-width: 850px; }
.process ol { list-style: none; padding: 0; margin: 50px 0 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; counter-reset: step; }
.process li { display: flex; flex-direction: column; border-top: 1px solid var(--line); padding-top: 24px; counter-increment: step; }
.process li::before { content: "0" counter(step); display: block; color: var(--blue); font-weight: 800; margin-bottom: 26px; }
.process li p { flex: 1; color: var(--muted); }
.step-note { display: block; color: var(--blue-dark); font-size: .875rem; font-weight: 600; padding-top: 8px; }
@media (min-width: 801px) {
  .process ol { column-gap: 40px; row-gap: 0; }
  .process li { display: grid; grid-template-rows: subgrid; grid-row: span 4; }
  .process li p { flex: none; }
}
.about { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 7vw; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.about-copy { color: var(--muted); font-size: 1.0625rem; align-self: center; }
.about-copy p:first-child { margin-top: 0; }
.about-copy p:last-child { margin-bottom: 0; }
.specialists { background: white; display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 40px 7vw; }
.specialists-intro > p:last-child { color: var(--muted); margin-top: 24px; }
.specialist-list article { border-top: 1px solid var(--line); padding: 24px 0; }
.specialist-list article:last-child { border-bottom: 1px solid var(--line); }
.specialist-list p { color: var(--muted); margin: 0; }
.specialist-note { grid-column: 1 / -1; margin: 0; max-width: 1050px; color: var(--muted); font-size: .875rem; }
.contact { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 8vw; background: var(--sky); }
.contact-copy > p:not(.eyebrow) { color: var(--muted); max-width: 520px; }
.direct { margin-top: 30px; display: grid; gap: 12px; }
.direct a { color: var(--blue-dark); font-weight: 700; overflow-wrap: anywhere; width: fit-content; }
form { background: white; padding: 34px; box-shadow: 0 22px 65px rgba(16,28,44,.08); min-width: 0; }
.form-intro { margin: 0 0 24px; color: var(--muted); }
label { display: block; font-weight: 700; margin-bottom: 18px; }
input, select, textarea { display: block; width: 100%; min-width: 0; border: 1px solid #aebdca; background: white; padding: 12px 14px; font: inherit; color: var(--ink); border-radius: 0; margin-top: 6px; }
textarea { resize: vertical; }
input:focus, select:focus, textarea:focus { outline: 3px solid rgba(22,93,143,.18); border-color: var(--blue); }
.optional { color: var(--muted); font-weight: 400; font-size: .875rem; }
.consent { display: grid; grid-template-columns: 20px minmax(0, 1fr); gap: 10px; align-items: start; font-weight: 400; font-size: .9375rem; }
.consent input { width: 18px; height: 18px; margin-top: 4px; accent-color: var(--blue-dark); }
.form-note { font-size: .875rem; color: var(--muted); margin-bottom: 0; }
.form-status { padding: 14px; border-left: 3px solid var(--blue); background: var(--sky); font-size: .9375rem; margin-bottom: 0; }
footer { padding: 34px max(7vw, 24px); background: #081522; color: #c8d3dc; display: grid; grid-template-columns: 1fr 1fr; gap: 40px; font-size: .875rem; }
footer p { margin: 0; max-width: 660px; }
footer a { color: #fff; }
.cookie-banner { position: fixed; z-index: 100; left: 20px; right: 20px; bottom: 20px; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px; align-items: end; max-width: 1040px; margin: 0 auto; padding: 24px; color: var(--ink); background: white; border: 1px solid var(--line); box-shadow: 0 22px 65px rgba(8,21,34,.24); }
.cookie-copy h2 { font-family: inherit; font-size: 1.2rem; font-weight: 750; letter-spacing: 0; margin: 0 0 8px; }
.cookie-copy p { margin: 0; color: var(--muted); font-size: .9375rem; }
.cookie-actions { display: flex; gap: 10px; }
.cookie-actions .button { min-width: 112px; }
.cookie-manage { position: fixed; z-index: 90; left: 14px; bottom: 14px; padding: 8px 12px; border: 1px solid var(--line); background: white; color: var(--blue-dark); font: inherit; font-size: .8125rem; font-weight: 700; cursor: pointer; box-shadow: 0 6px 18px rgba(8,21,34,.12); }
.page-hero { padding: 76px max(7vw, 24px) 64px; background: linear-gradient(135deg, white 0 72%, var(--sky) 72%); border-bottom: 1px solid var(--line); }
.page-hero > * { max-width: 920px; }
.page-hero h1 { font-family: Georgia, "Times New Roman", serif; font-size: clamp(2.7rem, 5vw, 5rem); font-weight: 500; line-height: 1.06; letter-spacing: -.04em; margin: 0; text-wrap: balance; }
.page-hero .lead { margin-bottom: 0; }
.page-content { padding: 72px max(7vw, 24px) 90px; background: white; }
.article-copy { max-width: 820px; margin: 0 auto; font-size: 1.0625rem; }
.article-copy > p:first-child { margin-top: 0; font-size: 1.2rem; color: var(--ink); }
.article-copy h2 { font-size: clamp(1.8rem, 2.8vw, 2.7rem); margin: 58px 0 20px; }
.article-copy li { margin: 9px 0; }
.article-copy p, .article-copy li { color: var(--muted); }
.profile-intro { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(300px, .85fr); gap: clamp(36px, 6vw, 76px); align-items: center; max-width: 1080px; margin: 0 auto 72px; }
.profile-intro-copy { font-size: 1.1rem; }
.profile-intro-copy p { color: var(--muted); }
.profile-intro-copy p:first-child { margin-top: 0; font-size: 1.2rem; color: var(--ink); }
.profile-intro-copy p:last-child { margin-bottom: 0; }
.profile-portrait { margin: 0; }
.profile-portrait img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 2px; box-shadow: 0 20px 50px rgba(16,28,44,.12); }
.profile-intro + .article-copy > h2:first-child { margin-top: 0; }
.article-cta { margin-top: 64px; padding: 32px; background: var(--sky); border-left: 4px solid var(--blue); }
.article-cta h2 { margin-top: 0; }
.situations-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; max-width: 1120px; margin: 0 auto; }
.situation-card { display: flex; flex-direction: column; min-height: 310px; padding: 34px; border: 1px solid var(--line); color: var(--ink); text-decoration: none; background: var(--paper); transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease; }
.situation-card:hover { transform: translateY(-4px); border-color: var(--blue); box-shadow: 0 18px 45px rgba(16,28,44,.09); }
.situation-card .eyebrow { margin-bottom: auto; }
.situation-card h2 { font-size: clamp(1.7rem, 2.5vw, 2.5rem); margin: 30px 0 15px; }
.situation-card p { color: var(--muted); margin: 0; }
.situation-card strong { display: block; margin-top: 24px; color: var(--blue-dark); }
.faq-list { max-width: 920px; margin: 0 auto; }
.faq-list details { border-top: 1px solid var(--line); }
.faq-list details:last-child { border-bottom: 1px solid var(--line); }
.faq-list summary { cursor: pointer; list-style: none; padding: 24px 44px 24px 0; font-size: 1.12rem; font-weight: 750; position: relative; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; position: absolute; right: 4px; top: 18px; color: var(--blue); font-size: 1.8rem; font-weight: 400; }
.faq-list details[open] summary::after { content: "−"; }
.faq-answer { padding: 0 44px 24px 0; color: var(--muted); }
.faq-answer p:first-child { margin-top: 0; }
.placeholder { max-width: 820px; margin: 0 auto; padding: 54px; background: var(--sky); border-left: 4px solid var(--blue); }
.placeholder h2 { font-size: clamp(2rem, 3vw, 3rem); }
.placeholder p { color: var(--muted); font-size: 1.08rem; }
@media (max-width: 1000px) {
  .hero { gap: 5vw; }
  .fit-grid { gap: 28px; }
  .process ol { column-gap: 28px; }
  .about, .specialists, .contact { gap: 40px; }
}
@media (max-width: 800px) {
  .nav { min-height: 72px; flex-wrap: wrap; padding-bottom: 10px; }
  .main-nav { order: 3; width: 100%; justify-content: flex-start; gap: 22px; overflow-x: auto; padding: 0 0 2px; scrollbar-width: none; }
  .main-nav::-webkit-scrollbar { display: none; }
  .main-nav > a, .nav-dropdown > a { padding: 8px 0; }
  .dropdown-panel { position: fixed; left: 20px; right: 20px; top: 124px; width: auto; transform: translateY(8px); }
  .nav-dropdown:hover .dropdown-panel, .nav-dropdown:focus-within .dropdown-panel { transform: translateY(0); }
  .nav-cta { display: none; }
  .hero { grid-template-columns: 1fr; padding-top: 56px; background: linear-gradient(160deg, var(--white) 0 72%, var(--sky) 72%); }
  .hero h1 { font-size: clamp(2.6rem, 8vw, 4.5rem); }
  .credential { padding-bottom: 0; }
  .fit-grid, .process ol, .about, .specialists, .contact, footer { grid-template-columns: 1fr; }
  .fit, .process, .about, .specialists, .contact { padding-top: 56px; padding-bottom: 56px; }
  .fit-grid, .process ol { margin-top: 34px; }
  .fit h3 { margin-top: 16px; }
  .process li::before { margin-bottom: 18px; }
  .specialist-note { grid-column: 1; }
  .situations-grid { grid-template-columns: 1fr; }
  .situation-card { min-height: 260px; }
  .page-hero { padding-top: 52px; padding-bottom: 48px; }
  .page-content { padding-top: 52px; padding-bottom: 64px; }
  .profile-intro { grid-template-columns: 1fr; gap: 30px; margin-bottom: 52px; }
  .profile-portrait { width: min(100%, 560px); }
  .cookie-banner { grid-template-columns: 1fr; align-items: stretch; }
}
@media (max-width: 520px) {
  .nav, .hero, .fit, .process, .about, .specialists, .contact, footer { padding-left: 20px; padding-right: 20px; }
  .hero { padding-top: 44px; }
  .actions { display: grid; }
  .button { width: 100%; }
  form { padding: 24px; }
  h2 { font-size: 2rem; }
  .identity small { display: block; }
  .identity-photo { width: 50px; height: 50px; }
  .main-nav { gap: 18px; }
  .placeholder, .situation-card { padding: 26px; }
  .cookie-banner { left: 10px; right: 10px; bottom: 10px; padding: 20px; }
  .cookie-actions { display: grid; grid-template-columns: 1fr 1fr; }
  .cookie-actions .button { width: 100%; min-width: 0; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
