/* ═══════════════════════════════════════════════════════════════
   Dr. Pathologos — Δρ. Μάρκος Νικολαΐδης, Ειδικός Παθολόγος

   One typeface, Source Sans 3: open, calm and very legible, with a
   full Greek set. The same family everywhere, set two ways —
   · headings and subtitles strong (700 / 600);
   · running text normal (400).

   Colour comes from the practice itself: the deep teal of the
   consulting-room wall in the photographs, on clean white and a
   pale clinical grey-green.
   ═══════════════════════════════════════════════════════════════ */

:root {
  --teal:    #0B5D63;
  --teal-2:  #0E747A;
  --teal-dk: #0A4549;
  --mint:    #E6F1F0;
  --mist:    #F4F8F8;
  --white:   #FFFFFF;
  --ink:     #10272A;
  --ink-2:   #4A5E61;
  --ink-3:   #7C8D90;
  --line:    #DDE7E7;

  --font: "Source Sans 3", -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --strong: 700;
  --semi:   600;
  --normal: 400;

  --radius: 14px;
  --radius-sm: 10px;
  --shadow: 0 1px 2px rgba(16, 39, 42, .05), 0 12px 32px -12px rgba(16, 39, 42, .14);
  --shadow-lg: 0 2px 4px rgba(16, 39, 42, .05), 0 28px 60px -22px rgba(16, 39, 42, .28);

  --wrap: 1200px;
  --pad: clamp(20px, 4vw, 40px);
  --head: 78px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--head) + 12px);
  background: var(--white);
}
body {
  background: var(--white);
  color: var(--ink);
  font-family: var(--font);
  font-weight: var(--normal);
  font-size: 17px;
  line-height: 1.65;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { background: none; border: 0; cursor: pointer; }
ul, ol { list-style: none; }
::selection { background: var(--teal); color: var(--white); }
:focus-visible { outline: 2px solid var(--teal-2); outline-offset: 3px; border-radius: 4px; }

svg, .ico { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; flex: none; }

.wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--pad)); margin: 0 auto; padding: 0 var(--pad); }

/* ══════════  TYPE  ══════════ */
h1, h2, h3, h4 { font-weight: var(--strong); color: var(--ink); text-wrap: balance; }
h1 { font-size: clamp(40px, 5.4vw, 66px); line-height: 1.04; letter-spacing: -.02em; }
h2 { font-size: clamp(32px, 3.8vw, 46px); line-height: 1.1; letter-spacing: -.015em; }
h3 { font-size: 21px; line-height: 1.25; letter-spacing: -.005em; }
h4 { font-size: 15px; font-weight: var(--semi); letter-spacing: .02em; }
p { text-wrap: pretty; }

.eyebrow, .badge {
  font-size: 13px;
  font-weight: var(--semi);
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--teal-2);
}
.lead { font-size: clamp(18px, 1.6vw, 21px); color: var(--ink-2); }

/* ══════════  BUTTONS  ══════════ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  padding: 0 24px;
  border-radius: 999px;
  font-size: 16px;
  font-weight: var(--semi);
  white-space: nowrap;
  transition: background-color .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease), box-shadow .3s var(--ease), transform .3s var(--ease);
}
.btn .ico { width: 18px; height: 18px; }
.btn--primary { background: var(--teal); color: var(--white); box-shadow: 0 10px 24px -12px rgba(11, 93, 99, .7); }
.btn--primary:hover { background: var(--teal-dk); transform: translateY(-1px); }
.btn--ghost { border: 1.5px solid var(--line); color: var(--teal); background: var(--white); }
.btn--ghost:hover { border-color: var(--teal); }
.btn--block { width: 100%; }

.text-link { display: inline-flex; align-items: center; gap: 8px; padding: 8px 0; font-weight: var(--semi); color: var(--teal); }
.text-link .ico { width: 18px; height: 18px; transition: transform .3s var(--ease); }
.text-link:hover .ico { transform: translateX(4px); }

/* ══════════  REVEAL  ══════════ */
.js [data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
.hero [data-reveal]:nth-child(2) { transition-delay: .08s; }
.hero [data-reveal]:nth-child(3) { transition-delay: .16s; }
.hero [data-reveal]:nth-child(4) { transition-delay: .24s; }
.hero [data-reveal]:nth-child(5) { transition-delay: .32s; }
.info-grid > :nth-child(2), .svc-grid > :nth-child(2) { transition-delay: .1s; }
.info-grid > :nth-child(3), .svc-grid > :nth-child(3) { transition-delay: .2s; }

/* ══════════  HEADER  ══════════ */
.head {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  height: var(--head);
  background: rgba(255, 255, 255, .9);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, box-shadow .3s;
}
.head.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 8px 24px -18px rgba(16, 39, 42, .25); }
.head-in { height: 100%; display: flex; align-items: center; gap: 32px; }

.brand { display: flex; align-items: center; gap: 12px; margin-right: auto; }
.brand-mark {
  display: grid; place-items: center;
  width: 40px; height: 40px;
  border-radius: 11px;
  background: var(--teal);
  color: var(--white);
}
.brand-mark svg { width: 20px; height: 20px; stroke-width: 2.4; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-text strong { font-size: 19px; font-weight: var(--strong); letter-spacing: -.01em; }
.brand-text small { font-size: 13px; color: var(--ink-3); font-weight: var(--normal); }

.nav { display: flex; gap: 34px; }
.nav a { position: relative; padding: 8px 0; font-weight: var(--semi); font-size: 16px; color: var(--ink-2); transition: color .25s; }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 2px; border-radius: 2px; background: var(--teal); transform: scaleX(0); transition: transform .35s var(--ease); }
.nav a:hover, .nav a[aria-current="page"] { color: var(--ink); }
.nav a[aria-current="page"]::after { transform: scaleX(1); }
.nav a:hover::after { transform: scaleX(1); }
.head-cta { min-height: 44px; padding: 0 20px; font-size: 15px; }

.burger { display: none; position: relative; width: 44px; height: 44px; margin-right: -8px; border-radius: 10px; }
.burger span { position: absolute; left: 12px; right: 12px; height: 2px; border-radius: 2px; background: var(--ink); transition: transform .35s var(--ease), top .35s var(--ease); }
.burger span:first-child { top: 17px; }
.burger span:last-child { top: 25px; }
.burger[aria-expanded="true"] span { top: 21px; }
.burger[aria-expanded="true"] span:first-child { transform: rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { transform: rotate(-45deg); }

.menu {
  position: fixed; inset: var(--head) 0 0 0; z-index: 45;
  display: flex; flex-direction: column; gap: 24px;
  padding: 24px var(--pad) calc(28px + env(safe-area-inset-bottom));
  background: var(--white);
  overflow-y: auto; overscroll-behavior: contain;
  opacity: 0; visibility: hidden; transform: translateY(-8px);
  transition: opacity .3s var(--ease), transform .3s var(--ease), visibility 0s linear .3s;
}
.menu.is-open { opacity: 1; visibility: visible; transform: none; transition: opacity .3s var(--ease), transform .3s var(--ease), visibility 0s; }
.menu:focus { outline: none; }
.menu-nav { display: flex; flex-direction: column; }
.menu-nav a[aria-current="page"] { color: var(--teal); }
.menu-nav a { padding: 16px 0; border-bottom: 1px solid var(--line); font-size: 22px; font-weight: var(--semi); }

/* ══════════  HERO  ══════════ */
.hero {
  padding: calc(var(--head) + clamp(40px, 6vw, 80px)) 0 clamp(64px, 8vw, 110px);
  background:
    radial-gradient(900px 480px at 88% 0%, rgba(14, 116, 122, .09), transparent 70%),
    linear-gradient(180deg, var(--mist) 0%, var(--white) 100%);
}
.hero-grid { display: grid; grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr); gap: clamp(36px, 5vw, 72px); align-items: center; }
.badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 14px;
  border-radius: 999px;
  background: var(--mint);
  margin-bottom: 22px;
}
.badge::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--teal-2); }
.hero h1 { margin-bottom: 22px; }
.hero .lead { max-width: 34em; margin-bottom: 32px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 34px; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 12px 28px; padding-top: 26px; border-top: 1px solid var(--line); color: var(--ink-2); font-size: 16px; }
.hero-meta li { display: flex; align-items: center; gap: 9px; }
.hero-meta .ico { color: var(--teal-2); }

.hero-media { position: relative; }
.photo { position: relative; overflow: hidden; border-radius: 22px; background: var(--mint); box-shadow: var(--shadow-lg); }
.photo img { width: 100%; height: 100%; object-fit: cover; }
.hero-media .photo { aspect-ratio: 5 / 4; }
.hero-media .photo img { object-position: 50% 30%; }

.float-card {
  position: absolute;
  right: -18px; bottom: 28px;
  display: flex; flex-direction: column;
  padding: 16px 22px;
  border-radius: var(--radius);
  background: var(--teal);
  color: var(--white);
  box-shadow: var(--shadow-lg);
}
.float-card strong { font-size: 34px; font-weight: var(--strong); line-height: 1; }
.float-card span { font-size: 15px; opacity: .88; margin-top: 4px; }
.float-card--left { right: auto; left: -18px; }
.float-card--note {
  flex-direction: row; align-items: center; gap: 10px;
  left: 24px; right: auto; bottom: 24px;
  padding: 12px 18px;
  background: var(--white); color: var(--ink);
}
.float-card--note span { font-size: 15px; font-weight: var(--semi); opacity: 1; margin: 0; }
.dot { width: 9px; height: 9px; border-radius: 50%; background: #2BA36B; box-shadow: 0 0 0 4px rgba(43, 163, 107, .18); }

/* ══════════  INFO CARDS  ══════════ */
.info { background: var(--mist); padding: clamp(56px, 7vw, 90px) 0; }
.info-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.card {
  padding: 30px 28px 28px;
  border-radius: var(--radius);
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), opacity .9s var(--ease);
}
.card:hover { box-shadow: var(--shadow-lg); }
.card-icon { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 12px; background: var(--mint); color: var(--teal); margin-bottom: 20px; }
.card-icon svg { width: 22px; height: 22px; }
.card h3 { margin-bottom: 14px; }
.card p { color: var(--ink-2); }
.rows div { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 16px; }
.rows div:last-child { border-bottom: 0; }
.rows dt { color: var(--ink-2); }
.rows dd { font-weight: var(--semi); font-variant-numeric: tabular-nums; }
.address { margin-bottom: 14px; font-size: 18px; color: var(--ink) !important; }

.card--accent { background: var(--teal); border-color: var(--teal); color: var(--white); }
.card--accent h3 { color: var(--white); }
.card--accent p { color: rgba(255, 255, 255, .84); }
.card--accent .card-icon { background: rgba(255, 255, 255, .12); color: var(--white); }
.phone {
  display: flex; align-items: center; gap: 10px;
  margin-top: 18px;
  font-size: 22px; font-weight: var(--strong);
  color: var(--white) !important;
  cursor: default;
}

/* ══════════  SERVICES  ══════════ */
.services { padding: clamp(90px, 11vw, 140px) 0; }
.sec-head { max-width: 720px; margin: 0 auto clamp(48px, 6vw, 72px); text-align: center; }
.sec-head .eyebrow { margin-bottom: 14px; }
.sec-head h2 { margin-bottom: 16px; }
.sec-head p:last-child { color: var(--ink-2); font-size: 19px; }

.svc-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px; }
.svc {
  display: flex; flex-direction: column;
  overflow: hidden;
  border-radius: 18px;
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  transition: transform .45s var(--ease), box-shadow .45s var(--ease), opacity .9s var(--ease);
}
.svc:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.svc-photo { aspect-ratio: 16 / 10; overflow: hidden; background: var(--mint); }
.svc-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.svc:hover .svc-photo img { transform: scale(1.04); }
.svc-body { position: relative; padding: 38px 28px 30px; }
.svc-icon {
  position: absolute; top: -26px; left: 28px;
  display: grid; place-items: center;
  width: 52px; height: 52px;
  border-radius: 14px;
  background: var(--teal); color: var(--white);
  box-shadow: 0 10px 22px -10px rgba(11, 93, 99, .7);
}
.svc-icon svg { width: 24px; height: 24px; }
.svc h3 { margin-bottom: 10px; }
.svc p { color: var(--ink-2); margin-bottom: 18px; }

.ticks li { display: flex; gap: 10px; align-items: flex-start; padding: 5px 0; font-size: 16px; color: var(--ink-2); }
.ticks svg { width: 18px; height: 18px; margin-top: 4px; color: var(--teal-2); stroke-width: 2.2; }

/* ══════════  ABOUT  ══════════ */
.about { padding: clamp(90px, 11vw, 140px) 0; background: var(--mist); }
.about-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 88px); align-items: center; }
.about-media { position: relative; }
.about-media .photo { aspect-ratio: 4 / 5; }
.about-media .photo img { object-position: 48% 30%; }
.about-media .float-card { bottom: 36px; }
.about-text .eyebrow { margin-bottom: 14px; }
.about-text h2 { margin-bottom: 22px; }
.about-text > p { color: var(--ink-2); margin-bottom: 16px; }
.tags { display: flex; flex-wrap: wrap; gap: 10px; margin: 26px 0 30px; }
.tags li { padding: 8px 16px; border-radius: 999px; background: var(--white); border: 1px solid var(--line); font-size: 15px; font-weight: var(--semi); color: var(--teal); }


/* ══════════  HOME VISITS BAND  ══════════ */
.visit-band { background: var(--teal); color: var(--white); overflow: hidden; }
.band-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(36px, 5vw, 72px); align-items: center; padding-top: clamp(70px, 9vw, 110px); padding-bottom: clamp(70px, 9vw, 110px); }
.eyebrow--light { color: #9ED6D2; margin-bottom: 14px; }
.band-text h2 { color: var(--white); margin-bottom: 18px; }
.band-text p { color: rgba(255, 255, 255, .84); margin-bottom: 20px; }
.ticks--light li { color: rgba(255, 255, 255, .92); }
.ticks--light svg { color: #9ED6D2; }
.band-media { border-radius: 20px; overflow: hidden; aspect-ratio: 4 / 3; box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .5); }
.band-media img { width: 100%; height: 100%; object-fit: cover; object-position: 40% 40%; }


.form {
  padding: clamp(24px, 3.4vw, 40px);
  border-radius: 20px;
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-lg);
  display: flex; flex-direction: column; gap: 16px;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field > span { font-size: 15px; font-weight: var(--semi); color: var(--ink); }
.field input, .field select, .field textarea {
  width: 100%;
  min-height: 50px;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--line);
  background: var(--mist);
  font-size: 16px;
  transition: border-color .25s, background-color .25s, box-shadow .25s;
  -webkit-appearance: none; appearance: none;
}
.field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234A5E61' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 12px center; background-size: 18px;
  padding-right: 40px;
}
.field textarea { resize: vertical; min-height: 110px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--teal-2); background: var(--white); box-shadow: 0 0 0 4px rgba(14, 116, 122, .12); }
.field.is-invalid input, .field.is-invalid select { border-color: #C0504D; background: #FDF5F5; }
.form .btn { margin-top: 6px; min-height: 54px; font-size: 17px; }
.form-note { font-size: 14px; color: var(--ink-3); text-align: center; }
.form-note.is-ok { color: var(--teal); font-weight: var(--semi); }

/* ══════════  FOOTER  ══════════ */
.foot { background: var(--ink); color: rgba(255, 255, 255, .72); padding-top: clamp(64px, 8vw, 90px); }
.foot-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 50px; }
.brand--light { margin-bottom: 18px; }
.brand--light .brand-text strong { color: var(--white); }
.brand--light .brand-text small { color: rgba(255, 255, 255, .55); }
.brand--light .brand-mark { background: var(--teal-2); }
.foot-brand p { max-width: 26ch; }
.foot h4 { color: var(--white); margin-bottom: 16px; }
.foot-list li { display: flex; align-items: center; gap: 10px; padding: 5px 0; font-size: 16px; }
.foot-list .ico { width: 18px; height: 18px; color: #9ED6D2; }
.foot-list a { transition: color .25s; }
.foot-list a:hover { color: var(--white); }
.foot-hours li { justify-content: space-between; max-width: 220px; }
.foot-hours li span:last-child { color: var(--white); font-variant-numeric: tabular-nums; }
.foot-base { display: flex; justify-content: space-between; gap: 10px 24px; flex-wrap: wrap; padding-top: 22px; padding-bottom: calc(26px + env(safe-area-inset-bottom)); border-top: 1px solid rgba(255, 255, 255, .1); font-size: 14px; color: rgba(255, 255, 255, .5); }
.foot-base a { padding: 4px 0; transition: color .25s; }
.foot-base a:hover { color: var(--white); }

/* ══════════  SHARED: PAGE HEAD, CTA BAND  ══════════ */
.page-head {
  padding: calc(var(--head) + clamp(56px, 7vw, 96px)) 0 clamp(56px, 7vw, 88px);
  background:
    radial-gradient(800px 420px at 85% 0%, rgba(14, 116, 122, .1), transparent 70%),
    linear-gradient(180deg, var(--mist), var(--white));
  border-bottom: 1px solid var(--line);
}
.page-head-in { max-width: 780px; }
.page-head .eyebrow { margin-bottom: 14px; }
.page-head h1 { margin-bottom: 18px; }
.page-head .lead { max-width: 40em; }

.more-link { margin-top: 40px; text-align: center; }

.btn--light { background: var(--white); color: var(--teal); }
.btn--light:hover { background: var(--mint); }
.btn--outline-light { border: 1.5px solid rgba(255, 255, 255, .45); color: var(--white); }
.phone-chip { cursor: default; }
.fake-tel { cursor: default; font-variant-numeric: tabular-nums; }

.cta-band { background: var(--teal); color: var(--white); }
.cta-in {
  display: flex; align-items: center; justify-content: space-between; gap: 28px 48px; flex-wrap: wrap;
  padding-top: clamp(56px, 7vw, 84px); padding-bottom: clamp(56px, 7vw, 84px);
}
.cta-in h2 { color: var(--white); margin-bottom: 10px; }
.cta-in p { color: rgba(255, 255, 255, .84); max-width: 46ch; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.cta-actions .btn { color: inherit; }
.cta-actions .btn--light { color: var(--teal); }

/* ══════════  SERVICES PAGE  ══════════ */
.svc-section { padding: clamp(72px, 9vw, 110px) 0; }
.svc-section--tint { background: var(--mist); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.group-head {
  display: flex; align-items: center; gap: 14px 18px; flex-wrap: wrap;
  padding-bottom: 22px; margin-bottom: 36px;
  border-bottom: 1px solid var(--line);
}
.group-head h2 { font-size: clamp(26px, 2.8vw, 34px); margin-right: auto; }
.group-icon { display: grid; place-items: center; width: 50px; height: 50px; border-radius: 14px; background: var(--teal); color: var(--white); }
.group-icon svg { width: 24px; height: 24px; }

.svc-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; align-items: start; }
.svc-list--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.svc--list { height: 100%; }
.svc--list:hover { transform: none; }
.svc-body--plain { padding: 28px 26px 22px; display: flex; flex-direction: column; }
.svc-body--plain .card-icon { margin-bottom: 18px; }
.svc--list .svc-photo { aspect-ratio: 16 / 9; }
.svc--list p { font-size: 16px; margin-bottom: 12px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 14px; }
.chips li { padding: 4px 12px; border-radius: 999px; background: var(--mint); color: var(--teal); font-size: 14px; font-weight: var(--semi); }

.more { margin-top: auto; border-top: 1px solid var(--line); padding-top: 8px; }
.more summary { list-style: none; cursor: pointer; }
.more summary::-webkit-details-marker { display: none; }
.more summary .ico { transform: rotate(90deg); }
.more[open] summary .ico { transform: rotate(-90deg); }
.more .ticks { padding: 4px 0 6px; }
.more-note { font-size: 15px; color: var(--ink-2); padding: 4px 0 6px; }
.more-note a { color: var(--teal); font-weight: var(--semi); }

/* ══════════  TEAM PAGE  ══════════ */
.profile { padding: clamp(72px, 9vw, 110px) 0 clamp(40px, 5vw, 60px); scroll-margin-top: var(--head); }
.profile-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(36px, 5vw, 72px); align-items: center; }
.profile-photo { aspect-ratio: 4 / 5; }
.profile-photo img { object-position: 50% 30%; }
.profile-text .badge { gap: 8px; }
.profile-text .badge::before { display: none; }
.profile-text .badge .ico { width: 16px; height: 16px; }
.profile-text h2 { font-size: clamp(36px, 4.4vw, 54px); margin-bottom: 16px; }
.profile-text .lead { margin-bottom: 28px; max-width: 36em; }
.profile-text .actions { margin-bottom: 0; }

.creds { padding: 0 0 clamp(72px, 9vw, 110px); }
.creds-title { font-size: 15px; font-weight: var(--semi); letter-spacing: .14em; text-transform: uppercase; color: var(--teal-2); margin-bottom: 22px; }
.cred-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.cred { padding: 28px; border-radius: var(--radius); background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow); }
.cred--soft { background: var(--mist); box-shadow: none; }
.cred header { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.cred header .card-icon { margin: 0; }
.cred h4 { font-size: 19px; font-weight: var(--strong); letter-spacing: 0; }
.cred-list li { display: flex; gap: 12px; padding: 12px 0; border-top: 1px solid var(--line); }
.cred-list li:first-child { border-top: 0; padding-top: 0; }
.cred-list svg { width: 20px; height: 20px; margin-top: 3px; color: var(--teal-2); stroke-width: 2; }
.cred-list strong { display: block; font-weight: var(--semi); color: var(--ink); }
.cred-list span { color: var(--ink-2); font-size: 16px; }
.cred-list--simple span { color: var(--ink); }
.divider { border: 0; border-top: 1px solid var(--line); }

.research { padding: clamp(80px, 10vw, 120px) 0; background: var(--mist); border-top: 1px solid var(--line); }
.research-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.rcard { padding: 28px; border-radius: var(--radius); background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow); }
.rcard h3 { margin-bottom: 10px; }
.rcard p { color: var(--ink-2); font-size: 16px; }
.rcard strong { color: var(--teal); font-weight: var(--semi); }
.rcard--feature { grid-column: span 2; border-left: 4px solid var(--teal); }
.rcard--wide { grid-column: span 2; display: flex; gap: 22px; align-items: flex-start; }
.rcard--wide .card-icon { margin: 0; }
.rcard .more { margin-top: 16px; }

/* ══════════  CONTACT PAGE  ══════════ */
.contact-page { padding: clamp(56px, 7vw, 90px) 0 clamp(80px, 10vw, 120px); }
.contact-layout { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 26px; align-items: start; }
.form-head { display: flex; align-items: center; gap: 14px; padding-bottom: 18px; margin-bottom: 4px; border-bottom: 1px solid var(--line); }
.form-head .card-icon { margin: 0; }
.form-head h2 { font-size: 24px; }
.form .btn[type="submit"] { align-self: flex-start; min-width: 190px; }
.contact-side { display: flex; flex-direction: column; gap: 22px; }
.side-title { display: flex; align-items: center; gap: 10px; font-size: 19px; margin-bottom: 10px; color: var(--teal); }
.card--mist { background: var(--mist); box-shadow: none; }
.contact-list li { display: flex; gap: 16px; padding: 14px 0; border-top: 1px solid var(--line); }
.contact-list li:first-child { border-top: 0; }
.ci { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 11px; background: var(--mint); color: var(--teal); flex: none; }
.contact-list div { display: flex; flex-direction: column; }
.contact-list strong { font-size: 14px; font-weight: var(--semi); color: var(--ink-3); }
.contact-list span, .contact-list a { font-size: 17px; color: var(--ink); }
.contact-list a { display: inline-block; padding: 4px 0; color: var(--teal); }
.rows dd.muted { color: var(--ink-3); font-weight: var(--normal); }
.card--mist .rows dd { text-align: right; }
.map { position: relative; overflow: hidden; border-radius: var(--radius); border: 1px solid var(--line); aspect-ratio: 4 / 3; background: var(--mint); scroll-margin-top: calc(var(--head) + 20px); }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map-btn { position: absolute; left: 50%; bottom: 16px; transform: translateX(-50%); box-shadow: var(--shadow-lg); }
.map-btn:hover { transform: translateX(-50%); }

/* ══════════  LEGAL  ══════════ */
.legal { padding: clamp(56px, 7vw, 90px) 0 clamp(80px, 10vw, 120px); }
.prose { max-width: 760px; }
.prose h2 { font-size: 24px; margin: 34px 0 10px; }
.prose p { color: var(--ink-2); }
.prose a { color: var(--teal); font-weight: var(--semi); }

.foot-legal { display: flex; flex-wrap: wrap; gap: 6px 22px; }
.foot-list a, .foot-legal a { display: inline-block; padding: 6px 0; }
.foot-list li { padding: 2px 0; }

/* ══════════  RESPONSIVE  ══════════ */
@media (max-width: 1080px) {
  .nav { gap: 24px; }
  .svc-list, .svc-list--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .research-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rcard--wide { grid-column: span 2; }
  .rcard--feature { grid-column: span 2; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  :root { --head: 68px; }
  .nav, .head-cta { display: none; }
  .burger { display: block; }

  .hero-grid, .about-grid, .band-grid, .profile-grid, .contact-layout { grid-template-columns: 1fr; }
  .svc-list, .svc-list--4, .cred-grid, .research-grid { grid-template-columns: 1fr; max-width: 640px; margin: 0 auto; }
  .rcard--feature, .rcard--wide { grid-column: auto; }
  .rcard--wide { flex-direction: column; }
  .profile-photo { max-width: 460px; }
  .cta-in { flex-direction: column; align-items: flex-start; }
  .hero-media .photo { aspect-ratio: 4 / 3; }
  .info-grid, .svc-grid { grid-template-columns: 1fr; max-width: 560px; margin: 0 auto; }
  .about-media { max-width: 520px; }
  .about-media .photo { aspect-ratio: 1 / 1; }
  .float-card { right: 14px; }
  .float-card--left { left: 14px; }
  .band-media { order: -1; }
}

@media (max-width: 560px) {
  body { font-size: 16px; }
  .actions .btn { flex: 1 1 100%; }
  .form-row { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr; gap: 32px; }
  .foot-base { flex-direction: column; }
  .hero-media .photo { aspect-ratio: 1 / 1; }
  .float-card--note { left: 14px; bottom: 14px; }
  .cta-actions, .cta-actions .btn { width: 100%; }
  .form .btn[type="submit"] { align-self: stretch; }
  .card--mist .rows div { flex-direction: column; gap: 2px; }
  .card--mist .rows dd { text-align: left; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; transition-delay: 0s !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
}


.foot-list a, .contact-list a { display: inline-block; padding: 6px 0; }
.foot-list li { padding: 2px 0; }
.rcard--wide .card-icon, .card-icon, .ci, .group-icon, .svc-icon { flex: none; }
