/* ==========================================================================
   Soho Dental Clinic — Doctor Profile / CV page styles
   Scoped under .sd to avoid collision with site standard.css
   Palette: #264653 (primary) · #2a9d8f (accent)
   ========================================================================== */
.sd *,
.sd *::before,
.sd *::after { box-sizing: border-box; }

.sd {
  --sd-primary: #264653;
  --sd-primary-2: #1c3641;
  --sd-accent: #2a9d8f;
  --sd-accent-d: #22867a;
  --sd-ink: #2c3a41;
  --sd-muted: #6a7b83;
  --sd-line: #e4ecee;
  --sd-soft: #f4f8f8;
  --sd-soft-2: #eef5f4;
  --sd-accent-soft: #e7f4f1;
  --sd-white: #ffffff;
  --sd-shadow: 0 18px 45px -22px rgba(38, 70, 83, .35);
  --sd-shadow-sm: 0 8px 24px -14px rgba(38, 70, 83, .28);
  --sd-radius: 18px;
  --sd-maxw: 1200px;

  font-family: "Poppins", "Segoe UI", -apple-system, BlinkMacSystemFont, Roboto, Arial, sans-serif;
  color: var(--sd-ink);
  line-height: 1.7;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  /* clears the site's position:fixed #header1 (refined at runtime by JS) */
  padding-top: 118px;
}
@media (max-width: 1000px) { .sd { padding-top: 104px; } }
@media (max-width: 600px)  { .sd { padding-top: 88px; } }
.sd img { max-width: 100%; display: block; }
.sd a { color: var(--sd-accent-d); text-decoration: none; }
.sd__wrap { max-width: var(--sd-maxw); margin: 0 auto; padding: 0 22px; }

/* ---------- Breadcrumb ---------- */
.sd-breadcrumb { background: var(--sd-soft); border-bottom: 1px solid var(--sd-line); }
.sd-breadcrumb ol {
  max-width: var(--sd-maxw); margin: 0 auto; padding: 13px 22px;
  list-style: none; display: flex; flex-wrap: wrap; gap: 8px; align-items: center;
  font-size: 13.5px; color: var(--sd-muted);
}
.sd-breadcrumb li { display: flex; align-items: center; gap: 8px; }
.sd-breadcrumb li + li::before { content: "›"; color: #b7c5c9; }
.sd-breadcrumb a { color: var(--sd-muted); }
.sd-breadcrumb a:hover { color: var(--sd-accent-d); }
.sd-breadcrumb [aria-current] { color: var(--sd-primary); font-weight: 600; }

/* ---------- Hero ---------- */
.sd-hero { background: var(--sd-white); border-bottom: 1px solid var(--sd-line); }
.sd-hero__grid {
  max-width: var(--sd-maxw); margin: 0 auto;
  display: grid; grid-template-columns: 420px 1fr; gap: 0; align-items: stretch;
}
.sd-hero__media { position: relative; }
.sd-hero__media img {
  width: 100%; height: 100%; min-height: 480px; object-fit: cover; object-position: top center;
}
.sd-hero__badge {
  position: absolute; left: 20px; bottom: 20px; right: 20px;
  background: rgba(255,255,255,.96); backdrop-filter: blur(4px);
  border-radius: 14px; padding: 12px 14px; box-shadow: var(--sd-shadow-sm);
  display: flex; align-items: center; gap: 12px; text-decoration: none;
}
.sd-hero__badge .ic {
  flex: 0 0 40px; width: 40px; height: 40px; border-radius: 10px;
  background: var(--sd-accent-soft); color: var(--sd-accent-d);
  display: grid; place-items: center;
}
.sd-hero__badge .ic svg { width: 20px; height: 20px; fill: currentColor; }
.sd-hero__badge .tx { line-height: 1.3; }
.sd-hero__badge .tx b { display: block; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--sd-accent-d); }
.sd-hero__badge .tx span { font-size: 13px; color: var(--sd-primary); }
.sd-hero__badge .arw { margin-left: auto; color: var(--sd-muted); }

.sd-hero__body { padding: 46px 46px 40px; align-self: center; }
.sd-hero__eyebrow {
  font-size: 12.5px; letter-spacing: .16em; text-transform: uppercase;
  font-weight: 700; color: var(--sd-accent); margin: 0 0 10px;
}
.sd-hero__name { font-size: clamp(30px, 4.4vw, 46px); line-height: 1.08; margin: 0 0 12px; color: var(--sd-primary); font-weight: 700; letter-spacing: -.01em; }
.sd-hero__role { font-size: 16px; color: var(--sd-muted); margin: 0 0 16px; font-weight: 500; }
.sd-hero__lead { font-size: 15.5px; color: var(--sd-ink); margin: 0 0 24px; max-width: 62ch; }

.sd-stats { display: flex; flex-wrap: wrap; gap: 26px 40px; margin: 0 0 24px; }
.sd-stats .st { display: flex; gap: 12px; align-items: center; }
.sd-stats .st .ic { flex: 0 0 42px; width: 42px; height: 42px; border-radius: 11px; background: var(--sd-accent-soft); color: var(--sd-accent-d); display: grid; place-items: center; }
.sd-stats .st .ic svg { width: 21px; height: 21px; fill: currentColor; }
.sd-stats .st .mt b { display: block; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--sd-muted); font-weight: 600; }
.sd-stats .st .mt span { font-size: 17px; color: var(--sd-primary); font-weight: 700; }
.sd-stats__note { margin: -8px 0 24px; font-size: 12px; line-height: 1.55; color: var(--sd-muted); max-width: 640px; }

.sd-social { display: flex; align-items: center; gap: 12px; }
.sd-social .lbl { font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--sd-muted); font-weight: 600; margin-right: 4px; }
.sd-social a { width: 38px; height: 38px; border-radius: 50%; background: var(--sd-soft); color: var(--sd-primary); display: grid; place-items: center; transition: .2s; }
.sd-social a:hover { background: var(--sd-accent); color: #fff; transform: translateY(-2px); }
.sd-social a svg { width: 17px; height: 17px; fill: currentColor; }

/* ---------- Body layout ---------- */
.sd-main { padding: 44px 0 10px; }
.sd-layout { max-width: var(--sd-maxw); margin: 0 auto; padding: 0 22px; display: grid; grid-template-columns: 248px 1fr; gap: 42px; align-items: stretch; }

/* sticky nav — offset (--sd-sticktop) is set by JS to clear the fixed site header */
.sd-nav { position: sticky; top: var(--sd-sticktop, 134px); background: var(--sd-white); border: 1px solid var(--sd-line); border-radius: var(--sd-radius); padding: 12px; box-shadow: var(--sd-shadow-sm); }
.sd-nav a { display: flex; align-items: center; gap: 12px; padding: 11px 13px; border-radius: 11px; color: var(--sd-ink); font-size: 14.5px; font-weight: 500; transition: .18s; }
.sd-nav a svg { width: 18px; height: 18px; fill: currentColor; color: var(--sd-muted); flex: 0 0 auto; }
.sd-nav a:hover { background: var(--sd-soft); }
.sd-nav a.is-active { background: var(--sd-accent-soft); color: var(--sd-accent-d); font-weight: 600; }
.sd-nav a.is-active svg { color: var(--sd-accent-d); }

/* content */
.sd-content { min-width: 0; }
.sd-section { scroll-margin-top: var(--sd-sticktop, 134px); margin-bottom: 46px; }
.sd-section > h2 { font-size: 25px; color: var(--sd-primary); margin: 0 0 6px; font-weight: 700; letter-spacing: -.01em; }
.sd-section .rule { width: 54px; height: 3px; border-radius: 3px; background: var(--sd-accent); margin: 0 0 22px; }
.sd-prose p { margin: 0 0 15px; color: var(--sd-ink); }
.sd-prose p:last-child { margin-bottom: 0; }
.sd-prose strong { color: var(--sd-primary); }

.sd-figure { float: right; width: 268px; margin: 6px 0 18px 26px; border-radius: 14px; overflow: hidden; box-shadow: var(--sd-shadow-sm); }
.sd-figure img { width: 100%; height: 100%; object-fit: cover; }

/* experience timeline */
.sd-exp { border-left: 2px solid var(--sd-line); margin: 0; padding: 0 0 0 26px; }
.sd-exp .job { position: relative; padding-bottom: 26px; }
.sd-exp .job:last-child { padding-bottom: 0; }
.sd-exp .job::before { content: ""; position: absolute; left: -33px; top: 4px; width: 13px; height: 13px; border-radius: 50%; background: var(--sd-white); border: 3px solid var(--sd-accent); }
.sd-exp .job h3 { margin: 0 0 3px; font-size: 17px; color: var(--sd-primary); font-weight: 700; }
.sd-exp .job .meta { font-size: 13.5px; color: var(--sd-accent-d); font-weight: 600; margin: 0 0 4px; }
.sd-exp .job .where { font-size: 14px; color: var(--sd-muted); margin: 0 0 10px; }
.sd-exp .job ul { margin: 8px 0 0; padding-left: 18px; }
.sd-exp .job ul li { margin-bottom: 6px; }
.sd-exp .job p { margin: 0 0 10px; }

/* education / membership cards */
.sd-cards2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.sd-edu { background: var(--sd-soft); border: 1px solid var(--sd-line); border-radius: 14px; padding: 18px 18px; }
.sd-edu h3 { margin: 0 0 4px; font-size: 16px; color: var(--sd-primary); }
.sd-edu .meta { font-size: 13px; color: var(--sd-accent-d); font-weight: 600; margin-bottom: 6px; }
.sd-edu p { margin: 0; font-size: 14px; color: var(--sd-muted); }

.sd-chips { display: flex; flex-wrap: wrap; gap: 10px; }
.sd-chips span { background: var(--sd-accent-soft); color: var(--sd-accent-d); border-radius: 999px; padding: 8px 15px; font-size: 13.5px; font-weight: 600; }

/* clinical interests icon grid */
.sd-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.sd-tile .ic i { font-size: 24px; line-height: 1; }
.sd-tile .ic img { width: 30px; height: 30px; object-fit: contain; }
.sd-grid-dots { display: none; }
.sd-tile { background: var(--sd-white); border: 1px solid var(--sd-line); border-radius: 14px; padding: 20px 18px; text-align: center; transition: .2s; }
.sd-tile:hover { box-shadow: var(--sd-shadow-sm); transform: translateY(-3px); border-color: #d6e6e3; }
.sd-tile .ic { width: 52px; height: 52px; margin: 0 auto 12px; border-radius: 14px; background: var(--sd-accent-soft); color: var(--sd-accent-d); display: grid; place-items: center; }
.sd-tile .ic svg { width: 26px; height: 26px; fill: currentColor; }
.sd-tile h3 { margin: 0 0 6px; font-size: 15.5px; color: var(--sd-primary); }
.sd-tile p { margin: 0; font-size: 13.5px; color: var(--sd-muted); }

/* philosophy callout */
.sd-quote { background: linear-gradient(135deg, var(--sd-primary), var(--sd-primary-2)); color: #eaf3f2; border-radius: var(--sd-radius); padding: 30px 32px; }
.sd-quote h2 { color: #fff; }
.sd-quote .rule { background: var(--sd-accent); }
.sd-quote p { color: #d3e3e2; }
.sd-quote strong { color: #fff; }

/* ---------- Continuing Professional Education (accordion) ---------- */
.sd-acc { border: 1px solid var(--sd-line); border-radius: 14px; overflow: hidden; background: var(--sd-white); }
.sd-acc details { border-bottom: 1px solid var(--sd-line); }
.sd-acc details:last-child { border-bottom: 0; }
.sd-acc summary { list-style: none; cursor: pointer; padding: 16px 20px; display: flex; align-items: center; gap: 14px; font-weight: 600; color: var(--sd-primary); font-size: 15.5px; }
.sd-acc summary::-webkit-details-marker { display: none; }
.sd-acc summary .plus { margin-left: auto; flex: 0 0 auto; width: 24px; height: 24px; border-radius: 7px; background: var(--sd-accent-soft); color: var(--sd-accent-d); display: grid; place-items: center; transition: .2s; font-size: 18px; line-height: 1; }
.sd-acc details[open] summary .plus { transform: rotate(45deg); }
.sd-acc summary .cnt { flex: 0 0 auto; font-size: 12px; color: var(--sd-muted); background: var(--sd-soft); border-radius: 999px; padding: 2px 10px; font-weight: 600; }
.sd-acc .body { padding: 4px 20px 18px; }
.sd-acc .body ul { margin: 0; padding-left: 0; list-style: none; }
.sd-acc .body ul li { position: relative; padding: 10px 0 10px 26px; border-top: 1px dashed var(--sd-line); font-size: 14px; color: var(--sd-ink); }
.sd-acc .body ul li:first-child { border-top: 0; }
.sd-acc .body ul li::before { content: ""; position: absolute; left: 4px; top: 17px; width: 7px; height: 7px; border-radius: 50%; background: var(--sd-accent); }
.sd-acc .body ul li b { color: var(--sd-primary); font-weight: 600; }
.sd-acc .body ul li .src { display: block; font-size: 12.5px; color: var(--sd-muted); margin-top: 2px; }

/* ---------- Certificates carousel (in-column section) ---------- */
.sd-certs { background: var(--sd-soft); border: 1px solid var(--sd-line); border-radius: var(--sd-radius); padding: 30px 34px 26px; margin-bottom: 46px; scroll-margin-top: var(--sd-sticktop, 134px); }
.sd-certs__head { text-align: center; max-width: 620px; margin: 0 auto 24px; }
.sd-certs__eyebrow { font-size: 12.5px; letter-spacing: .16em; text-transform: uppercase; font-weight: 700; color: var(--sd-accent); margin: 0 0 8px; }
.sd-certs__head h2 { font-size: 23px; color: var(--sd-primary); margin: 0 0 10px; font-weight: 700; }
.sd-certs__head p { color: var(--sd-muted); margin: 0; font-size: 14.5px; }

.sd-carousel { position: relative; max-width: 100%; margin: 0; padding: 0; }
.sd-track {
  display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 2 * 18px) / 3);
  gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth;
  padding: 6px 4px 18px; margin: 0 -4px;
  scrollbar-width: thin; scrollbar-color: #cddcd9 transparent;
}
.sd-track::-webkit-scrollbar { height: 8px; }
.sd-track::-webkit-scrollbar-thumb { background: #cddcd9; border-radius: 8px; }
.sd-cert { scroll-snap-align: start; background: var(--sd-white); border: 1px solid var(--sd-line); border-radius: 16px; overflow: hidden; box-shadow: var(--sd-shadow-sm); display: flex; flex-direction: column; cursor: pointer; transition: .2s; text-align: left; }
.sd-cert:hover { transform: translateY(-4px); box-shadow: var(--sd-shadow); }
.sd-cert__img { background: #fbfcfc; aspect-ratio: 4 / 3; overflow: hidden; display: grid; place-items: center; padding: 12px; border-bottom: 1px solid var(--sd-line); }
.sd-cert__img img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; box-shadow: 0 2px 10px rgba(38,70,83,.12); border-radius: 3px; }
.sd-cert__body { padding: 15px 16px 17px; display: flex; gap: 11px; align-items: flex-start; }
.sd-cert__badge { flex: 0 0 34px; width: 34px; height: 34px; border-radius: 9px; background: var(--sd-accent-soft); color: var(--sd-accent-d); display: grid; place-items: center; margin-top: 2px; }
.sd-cert__badge svg { width: 18px; height: 18px; fill: currentColor; }
.sd-cert__meta { min-width: 0; display: flex; flex-direction: column; }
.sd-cert__title { display: block; font-size: 14px; font-weight: 600; color: var(--sd-primary); line-height: 1.35; margin: 0 0 4px; }
.sd-cert__issuer { display: block; font-size: 12.5px; color: var(--sd-muted); margin: 0 0 6px; line-height: 1.4; }
.sd-cert__date { font-size: 12px; color: var(--sd-accent-d); font-weight: 600; display: inline-flex; align-items: center; gap: 6px; }
.sd-cert__date svg { width: 13px; height: 13px; fill: currentColor; }

.sd-carousel__btn { position: absolute; top: calc(50% - 30px); transform: translateY(-50%); width: 46px; height: 46px; border-radius: 50%; background: var(--sd-white); border: 1px solid var(--sd-line); box-shadow: var(--sd-shadow-sm); color: var(--sd-primary); display: grid; place-items: center; cursor: pointer; z-index: 3; transition: .2s; }
.sd-carousel__btn:hover { background: var(--sd-accent); color: #fff; border-color: var(--sd-accent); }
.sd-carousel__btn:disabled { opacity: .35; cursor: default; }
.sd-carousel__btn svg { width: 18px; height: 18px; fill: currentColor; }
.sd-carousel__btn.prev { left: -8px; }
.sd-carousel__btn.next { right: -8px; }
@media (max-width: 700px) { .sd-certs { padding: 24px 16px 20px; } }
.sd-dots { display: flex; justify-content: center; gap: 8px; margin-top: 6px; }
.sd-dots button { width: 9px; height: 9px; border-radius: 50%; border: 0; background: #cddcd9; cursor: pointer; padding: 0; transition: .2s; }
.sd-dots button.is-active { background: var(--sd-accent); width: 26px; border-radius: 5px; }

/* ---------- Lightbox ---------- */
.sd-lightbox { position: fixed; inset: 0; z-index: 9999; display: none; align-items: center; justify-content: center; padding: 24px; background: rgba(21, 40, 47, .82); }
.sd-lightbox.is-open { display: flex; }
.sd-lightbox__panel { background: #fff; border-radius: 18px; max-width: 940px; width: 100%; max-height: 90vh; overflow: hidden; display: grid; grid-template-columns: 1.15fr 1fr; box-shadow: 0 40px 80px -20px rgba(0,0,0,.5); }
.sd-lightbox__img { background: #eef2f3; display: grid; place-items: center; padding: 22px; overflow: auto; }
.sd-lightbox__img img { max-width: 100%; max-height: 78vh; border-radius: 8px; box-shadow: var(--sd-shadow-sm); }
.sd-lightbox__info { padding: 34px 32px; display: flex; flex-direction: column; overflow: auto; }
.sd-lightbox__info h3 { font-size: 21px; color: var(--sd-primary); margin: 0 0 10px; line-height: 1.3; }
.sd-lightbox__info .iss { color: var(--sd-accent-d); font-weight: 600; margin: 0 0 14px; font-size: 14.5px; }
.sd-lightbox__info .dt { display: inline-flex; align-items: center; gap: 8px; color: var(--sd-muted); font-size: 14px; margin: 0 0 18px; }
.sd-lightbox__info .dt svg { width: 15px; height: 15px; fill: currentColor; }
.sd-lightbox__info .desc { color: var(--sd-ink); font-size: 14.5px; margin: 0 0 24px; }
.sd-lightbox__dl { margin-top: auto; display: inline-flex; align-items: center; gap: 10px; align-self: flex-start; background: var(--sd-accent); color: #fff; padding: 13px 22px; border-radius: 11px; font-weight: 600; font-size: 14.5px; transition: .2s; }
.sd-lightbox__dl:hover { background: var(--sd-accent-d); color: #fff; }
.sd-lightbox__dl svg { width: 17px; height: 17px; fill: currentColor; }
.sd-lightbox__close { position: absolute; top: 18px; right: 20px; width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,.14); border: 0; color: #fff; font-size: 22px; cursor: pointer; display: grid; place-items: center; z-index: 2; }
.sd-lightbox__close:hover { background: rgba(255,255,255,.28); }

/* ---------- CTA bar ---------- */
.sd-cta { max-width: var(--sd-maxw); margin: 40px auto; padding: 0 22px; }
.sd-cta__in { background: linear-gradient(120deg, var(--sd-primary), var(--sd-accent-d)); border-radius: 20px; padding: 30px 36px; display: flex; align-items: center; gap: 22px; flex-wrap: wrap; box-shadow: var(--sd-shadow); }
.sd-cta__ic { flex: 0 0 60px; width: 60px; height: 60px; border-radius: 16px; background: rgba(255,255,255,.16); display: grid; place-items: center; color: #fff; }
.sd-cta__ic svg { width: 30px; height: 30px; fill: currentColor; }
.sd-cta__tx { color: #fff; min-width: 240px; flex: 1; }
.sd-cta__tx b { display: block; font-size: 20px; margin-bottom: 4px; }
.sd-cta__tx span { color: #dcecea; font-size: 14.5px; }
.sd-cta__btn { background: #fff; color: var(--sd-primary); padding: 14px 26px; border-radius: 12px; font-weight: 700; display: inline-flex; align-items: center; gap: 10px; transition: .2s; }
.sd-cta__btn:hover { background: #eafaf7; color: var(--sd-primary); transform: translateY(-2px); }
.sd-cta__btn svg { width: 16px; height: 16px; fill: currentColor; }

/* ---------- Consultation form ---------- */
.sd-consult { max-width: var(--sd-maxw); margin: 40px auto 60px; padding: 0 22px; scroll-margin-top: 92px; }
.sd-consult__card {
  display: grid; grid-template-columns: 1fr 1.15fr;
  background: var(--sd-white); border: 1px solid var(--sd-line);
  border-radius: var(--sd-radius); box-shadow: var(--sd-shadow-sm); overflow: hidden;
}
.sd-consult__aside { background: linear-gradient(135deg, var(--sd-primary), var(--sd-primary-2)); color: #eaf3f2; padding: 34px 32px; }
.sd-consult__aside .eyebrow { font-size: 12.5px; letter-spacing: .16em; text-transform: uppercase; font-weight: 700; color: var(--sd-accent); margin: 0 0 10px; }
.sd-consult__aside h2 { color: #fff; font-size: 23px; line-height: 1.25; margin: 0 0 12px; }
.sd-consult__aside > p { color: #cfe1df; font-size: 14.5px; margin: 0; }
.sd-consult__aside ul { list-style: none; margin: 20px 0 0; padding: 0; }
.sd-consult__aside li { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; margin-bottom: 11px; color: #dcecea; }
.sd-consult__aside li svg { width: 15px; height: 15px; fill: var(--sd-accent); flex: 0 0 auto; margin-top: 4px; }
.sd-consult__form { padding: 30px 30px 26px; }
.sd-field { margin-bottom: 15px; }
.sd-field > label { display: block; font-size: 12.5px; font-weight: 600; color: var(--sd-primary); margin: 0 0 6px; }
.sd-field input, .sd-field select, .sd-field textarea {
  width: 100%; border: 1px solid var(--sd-line); border-radius: 11px; padding: 12px 13px;
  font: inherit; font-size: 14.5px; line-height: 1.4; color: var(--sd-ink); background: var(--sd-soft); transition: .18s;
}
/* override site standard.css fixed heights that clip text; keep all fields uniform */
.sd-consult .sd-field input,
.sd-consult .sd-field select,
.sd-consult .sd-field textarea { height: auto; }
.sd-consult .sd-field input,
.sd-consult .sd-field select { min-height: 48px; }

/* file upload (X-ray) button */
.sd-file { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; cursor: pointer; }
.sd-file input[type="file"] { position: absolute; width: 1px; height: 1px; opacity: 0; overflow: hidden; }
.sd-file__btn {
  display: inline-flex; align-items: center; gap: 8px; flex: 0 0 auto;
  background: var(--sd-accent-soft); color: var(--sd-accent-d); font-weight: 600; font-size: 14px;
  border: 1px dashed var(--sd-accent); border-radius: 11px; padding: 11px 16px; transition: .18s;
}
.sd-file:hover .sd-file__btn { background: #dcefeb; }
.sd-file__btn svg { width: 16px; height: 16px; fill: currentColor; }
.sd-file__hint { font-size: 13px; color: var(--sd-muted); min-width: 0; }
.sd-field input:focus, .sd-field select:focus, .sd-field textarea:focus {
  outline: none; border-color: var(--sd-accent); background: #fff; box-shadow: 0 0 0 3px var(--sd-accent-soft);
}
.sd-field textarea { min-height: 94px; resize: vertical; }
.sd-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 15px; }
.sd-form-row .sd-field { margin-bottom: 0; }
.sd-consult .cf-turnstile { margin: 2px 0 16px; }
.sd-consult .submit_loading { display: none; height: 34px; }
.sd-consult__submit {
  display: inline-flex; align-items: center; gap: 10px; background: var(--sd-accent); color: #fff;
  border: 0; cursor: pointer; padding: 14px 26px; border-radius: 12px; font-weight: 700; font-size: 15px; transition: .2s;
}
.sd-consult__submit:hover { background: var(--sd-accent-d); transform: translateY(-2px); }
.sd-consult__submit svg { width: 16px; height: 16px; fill: currentColor; }
/* override site standard.css .form101 submit button (tan → accent) */
.sd-consult .form101 .submit_line button.submit {
  background: var(--sd-accent); color: #fff; border-radius: 12px; padding: 14px 26px;
  font-family: inherit; font-size: 15px;
}
.sd-consult .form101 .submit_line button.submit:hover { background: var(--sd-accent-d); color: #fff; }

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
  .sd-hero__grid { grid-template-columns: 320px 1fr; }
  .sd-hero__body { padding: 34px 30px; }
  .sd-layout { grid-template-columns: 1fr; gap: 26px; }
  .sd-nav { position: static; display: flex; flex-wrap: wrap; gap: 6px; }
  .sd-nav a { padding: 9px 12px; }
  .sd-track { grid-auto-columns: calc((100% - 22px) / 2.2); }
  .sd-lightbox__panel { grid-template-columns: 1fr; }
  .sd-lightbox__img { max-height: 40vh; }
}
@media (max-width: 680px) {
  .sd-hero__grid { grid-template-columns: 1fr; }
  .sd-hero__media img { min-height: 340px; }
  .sd-hero__body { padding: 28px 20px; }
  .sd-figure { float: none; width: 100%; margin: 0 0 18px; }
  .sd-cards2 { grid-template-columns: 1fr; }
  /* interests become a horizontal swipe carousel on mobile */
  .sd-grid {
    grid-template-columns: none; display: flex; gap: 12px;
    overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch;
    margin: 0 -4px; padding: 2px 4px 12px;
    scrollbar-width: thin; scrollbar-color: #cddcd9 transparent;
  }
  .sd-grid::-webkit-scrollbar { height: 7px; }
  .sd-grid::-webkit-scrollbar-thumb { background: #cddcd9; border-radius: 7px; }
  .sd-grid .sd-tile { flex: 0 0 78%; scroll-snap-align: start; }
  .sd-grid-dots { display: flex; justify-content: center; gap: 7px; margin-top: 12px; }
  .sd-grid-dots button { width: 8px; height: 8px; border-radius: 50%; border: 0; background: #cddcd9; padding: 0; cursor: pointer; transition: .2s; }
  .sd-grid-dots button.is-active { background: var(--sd-accent); width: 22px; border-radius: 5px; }
  .sd-stats { gap: 18px 26px; }
  .sd-track { grid-auto-columns: 82%; }
  .sd-carousel__btn { display: none; }
  .sd-cta__in { padding: 24px; }
}
@media (max-width: 820px) {
  .sd-consult__card { grid-template-columns: 1fr; }
  .sd-form-row { grid-template-columns: 1fr; }
}

.sd-prose ul { margin: 6px 0 15px; padding-left: 20px; }
.sd-prose li { margin-bottom: 7px; color: var(--sd-ink); }

.sd-diploma { margin: 24px 0 0; max-width: 620px; }
.sd-diploma img { width: 100%; border: 1px solid var(--sd-line); border-radius: 12px; box-shadow: var(--sd-shadow-sm); display: block; }
.sd-diploma figcaption { margin-top: 10px; font-size: 12.5px; color: var(--sd-muted); line-height: 1.5; }
.sd-cards2 .sd-diploma { order: 2; grid-column: 1 / -1; }

@media (max-width: 680px) {
  .sd-cards2 .sd-diploma { order: 0; grid-column: auto; }
}
