:root {
  --navy: #0c2340;
  --navy-2: #12365f;
  --blue: #316fb6;
  --blue-2: #5888c2;
  --ice: #eef4fb;
  --text: #17283d;
  --muted: #60758e;
  --line: #d9e4ef;
  --white: #ffffff;
  --shadow: 0 22px 60px rgba(8, 27, 48, 0.12);
  --radius: 26px;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--text);
  background: #fff;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
button, a { -webkit-tap-highlight-color: transparent; }
img { max-width: 100%; display: block; }
.container { width: min(calc(100% - 40px), var(--max)); margin-inline: auto; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,.92);
  border-bottom: 1px solid rgba(217,228,239,.95);
  backdrop-filter: blur(16px);
}
.nav-wrap {
  min-height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}
.brand-logo img { height: 64px; width: auto; }
.small-logo img { height: 48px; }
.main-nav { display: flex; align-items: center; gap: 26px; font-size: 14px; font-weight: 760; }
.main-nav a:not(.nav-cta) { color: #32475f; }
.main-nav a:hover { color: var(--blue); }
.nav-cta { padding: 11px 17px; border-radius: 12px; background: var(--navy); color: #fff; }
.menu-toggle { display: none; border: 0; background: transparent; width: 44px; height: 44px; padding: 10px; }
.menu-toggle span { display: block; height: 2px; margin: 5px 0; background: var(--navy); border-radius: 2px; }

.hero {
  position: relative;
  overflow: hidden;
}
.hero-photo {
  min-height: 760px;
  background: #08192f;
}
.hero-backdrop {
  position: absolute;
  inset: 0;
  background: url('assets/tavle.png') center center / cover no-repeat;
  filter: saturate(1.05) contrast(1.02);
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(8, 23, 44, 0.86) 0%, rgba(8, 23, 44, 0.73) 42%, rgba(8, 23, 44, 0.38) 72%, rgba(8, 23, 44, 0.18) 100%),
    linear-gradient(to top, rgba(8,23,44,0.25), rgba(8,23,44,0.25));
}
.hero-inner {
  position: relative;
  z-index: 1;
  min-height: 760px;
  display: grid;
  align-items: center;
  padding-block: 90px;
}
.hero-single { grid-template-columns: minmax(0, 620px); }
.glass-card {
  background: rgba(255,255,255,.10);
  border: 1px solid rgba(255,255,255,.18);
  backdrop-filter: blur(10px);
  padding: 42px;
  border-radius: 30px;
  box-shadow: 0 30px 70px rgba(6,20,37,.25);
}
.eyebrow {
  margin: 0 0 12px;
  color: var(--blue-2);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .18em;
  text-transform: uppercase;
}
.hero .eyebrow, .glass-card .eyebrow { color: #c8dcfb; }
.hero h1, .page-hero h1 {
  margin: 0;
  color: #fff;
  font-size: clamp(44px, 7vw, 78px);
  line-height: 1.02;
  letter-spacing: -.06em;
}
.hero h1 span, .page-hero h1 span { color: #8ab7f0; }
.hero-lead {
  max-width: 640px;
  margin: 24px 0 0;
  color: #e4edf7;
  font-size: clamp(18px, 2vw, 22px);
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero-points { display: flex; flex-wrap: wrap; gap: 10px 18px; margin-top: 28px; color: #dce8f8; font-size: 14px; font-weight: 700; }
.hero-points span::before { content: "✓"; color: #9cc3f5; margin-right: 7px; font-weight: 900; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 22px;
  border-radius: 14px;
  font-weight: 850;
  border: 1px solid transparent;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: linear-gradient(135deg, var(--blue), var(--blue-2)); color: #fff; box-shadow: 0 16px 30px rgba(49,111,182,.25); }
.btn-secondary { background: rgba(255,255,255,.88); border-color: var(--line); color: var(--navy); }

.trust-strip { border-block: 1px solid var(--line); background: #fff; }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.trust-grid > div { padding: 24px 20px; border-right: 1px solid var(--line); }
.trust-grid > div:first-child { padding-left: 0; }
.trust-grid > div:last-child { border-right: 0; }
.trust-grid strong, .trust-grid span { display: block; }
.trust-grid strong { color: var(--navy); font-size: 15px; }
.trust-grid span { margin-top: 2px; color: var(--muted); font-size: 13px; }

.section { padding: 110px 0; }
.section-soft { background: #f7faff; }
.section-heading { max-width: 780px; margin-bottom: 44px; }
.section-heading.compact { margin-bottom: 32px; }
.section-heading h2,
.about-grid h2,
.contact-page-grid h2,
.profile-copy h2,
.cta-band h2,
.about-info-card h3 {
  margin: 0;
  color: var(--navy);
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1.06;
  letter-spacing: -.05em;
}
.about-info-card h3 {
  font-size: 28px;
  letter-spacing: -.03em;
}
.section-heading > p:last-child,
.page-hero p,
.cta-band p,
.contact-page-grid p {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 18px;
}
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.service-card {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 12px 34px rgba(8,27,48,.05);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.service-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: #b7d0ec; }
.service-icon { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 14px; background: var(--ice); color: var(--blue); font-weight: 900; }
.service-card h3 { margin: 22px 0 10px; color: var(--navy); font-size: 21px; letter-spacing: -.025em; }
.service-card p { margin: 0; color: var(--muted); font-size: 15px; }

.mood-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  align-items: stretch;
}
.mood-card {
  position: relative;
  overflow: hidden;
  margin: 0;
  min-height: 230px;
  border-radius: 22px;
  box-shadow: var(--shadow);
  background: #dfe9f5;
}
.mood-large { min-height: 230px; }
.mood-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.mood-card figcaption {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 14px;
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(12,35,64,.74);
  color: #fff;
  font-weight: 760;
  font-size: 14px;
}

.section-dark { background: linear-gradient(145deg, #081d37, #0c2340); color: #fff; }
.section-dark .eyebrow { color: #9fc2ee; }
.section-dark h2 { color: #fff; }
.about-grid { display: grid; grid-template-columns: .94fr 1.06fr; gap: 90px; align-items: start; }
.about-copy { padding-top: 6px; }
.about-copy p { margin: 0 0 22px; color: #d8e5f4; font-size: 18px; }

.cta-band {
  padding: 86px 0;
  background: linear-gradient(135deg, #eef5fc, #f8fbff);
  border-top: 1px solid var(--line);
}
.cta-band-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.page-hero {
  padding: 88px 0 36px;
  background: linear-gradient(160deg, #0c2340, #13355d 60%, #1e4c80 100%);
  color: #fff;
}
.page-hero p { color: #d8e6f8; max-width: 760px; }
.page-hero .eyebrow { color: #a5c4eb; }
.profile-grid,
.about-lhm-grid {
  display: grid;
  grid-template-columns: .82fr 1.18fr;
  gap: 50px;
  align-items: start;
}
.profile-photo-card,
.profile-photo-panel {
  padding: 28px;
  border-radius: 28px;
  background: #f7faff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.profile-photo-card img {
  width: 100%;
  border-radius: 22px;
  background: #e6eef8;
}
.portrait-circle-wrap {
  width: min(100%, 330px);
  aspect-ratio: 1 / 1;
  margin: 0 auto 20px;
  border-radius: 50%;
  padding: 12px;
  background: linear-gradient(145deg, #dbe7f3, #eef4fb);
  box-shadow: inset 0 0 0 1px #cfdeed, 0 16px 30px rgba(8,27,48,.08);
}
.portrait-circle {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  background: #e6eef8;
}
.profile-photo-panel p,
.profile-photo-card p { margin: 18px 0 0; color: var(--muted); }
.profile-photo-panel code,
.profile-photo-card code { background: #e8eef7; padding: 2px 6px; border-radius: 6px; }
.profile-copy p { color: var(--muted); font-size: 18px; }

.profile-subhead { margin-top: 28px; }
.profile-name { margin: 0 0 12px; color: var(--navy); font-size: 28px; letter-spacing: -.03em; }
.section-dark .profile-name { color: #fff; }

.about-info-section { padding-top: 0; }
.about-info-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.about-info-card {
  padding: 28px;
  border-radius: 24px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 12px 34px rgba(8,27,48,.05);
}
.about-info-card p:last-child { margin: 14px 0 0; color: var(--muted); font-size: 16px; }

.vision-box {
  margin-top: 28px;
  padding: 28px;
  border-radius: 26px;
  background: linear-gradient(140deg, #0d2747, #173d6a);
  color: #fff;
  box-shadow: var(--shadow);
}
.vision-box .eyebrow { color: #9fc2ee; }
.vision-box h3 {
  margin: 0 0 10px;
  font-size: 28px;
  line-height: 1.15;
  letter-spacing: -.03em;
}
.vision-box p { color: #dbe7f6; font-size: 17px; margin: 0; }
.contact-page-grid {
  display: grid;
  grid-template-columns: 1fr .86fr;
  gap: 60px;
  align-items: center;
}
.contact-card {
  padding: 28px;
  border-radius: 26px;
  background: rgba(255,255,255,.96);
  border: 1px solid var(--line);
  box-shadow: 0 30px 70px rgba(8,27,48,.08);
}
.contact-card-light { background: #fff; }
.contact-item { display: block; padding: 16px 4px; border-bottom: 1px solid var(--line); }
.contact-item.static { cursor: default; }
.contact-label { display: block; margin-bottom: 2px; color: var(--muted); font-size: 12px; font-weight: 850; letter-spacing: .11em; text-transform: uppercase; }
.contact-item strong { display: block; font-size: 19px; color: var(--navy); }
.contact-item small { color: var(--muted); }
.contact-buttons { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }

.site-footer { background: #08192f; color: #b6c6d9; }
.footer-grid { min-height: 120px; display: grid; grid-template-columns: 1fr auto 1fr; gap: 20px; align-items: center; }
.footer-grid p { margin: 0; font-size: 13px; text-align: center; }
.footer-grid > a { justify-self: end; color: #fff; font-weight: 750; font-size: 13px; }
.footer-logo-white img { height: 54px; width: auto; }

@media (max-width: 1100px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
  .mood-grid,
  .about-info-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 980px) {
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .trust-grid > div:nth-child(2) { border-right: 0; }
  .trust-grid > div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .about-grid,
  .profile-grid,
  .about-lhm-grid,
  .contact-page-grid,
  .cta-band-inner { grid-template-columns: 1fr; display: grid; }
  .cta-band-inner { justify-content: stretch; }
}

@media (max-width: 760px) {
  .container { width: min(calc(100% - 28px), var(--max)); }
  .nav-wrap { min-height: 74px; }
  .brand-logo img { height: 50px; }
  .small-logo img, .footer-logo-white img { height: 40px; }
  .menu-toggle { display: block; }
  .main-nav {
    position: absolute;
    top: 74px;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px 20px 20px;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 18px 30px rgba(8,27,48,.10);
  }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 13px 4px; }
  .nav-cta { margin-top: 7px; text-align: center; }
  .hero-photo, .hero-inner { min-height: auto; }
  .hero-inner { padding-block: 70px; }
  .glass-card { padding: 28px 22px; }
  .hero h1, .page-hero h1 { font-size: clamp(38px, 12vw, 58px); }
  .trust-grid, .cards, .mood-grid, .about-info-grid { grid-template-columns: 1fr; }
  .mood-card, .mood-large { min-height: 220px; }
  .trust-grid > div { padding: 20px 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .trust-grid > div:last-child { border-bottom: 0; }
  .section { padding: 78px 0; }
  .section-heading h2,
  .about-grid h2,
  .contact-page-grid h2,
  .profile-copy h2,
  .cta-band h2 { font-size: 38px; }
  .about-info-card h3 { font-size: 24px; }
  .profile-copy p, .section-heading > p:last-child, .page-hero p, .cta-band p, .contact-page-grid p { font-size: 17px; }
  .contact-buttons { flex-direction: column; }
  .footer-grid { grid-template-columns: 1fr; padding: 30px 0; text-align: left; }
  .footer-grid p { text-align: left; }
  .footer-grid > a { justify-self: start; }
}

/* Enkel kontaktside: kun telefon og e-mail */
.contact-only-section { padding-top: 90px; padding-bottom: 110px; }
.contact-only-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  max-width: 920px;
  margin-inline: auto;
}
.contact-method {
  min-height: 230px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: 26px;
  background: #fff;
  box-shadow: 0 18px 50px rgba(8,27,48,.08);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.contact-method:hover {
  transform: translateY(-4px);
  border-color: #b7d0ec;
  box-shadow: var(--shadow);
}
.contact-method-label {
  color: var(--blue);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.contact-method strong {
  margin: 22px 0;
  color: var(--navy);
  font-size: clamp(24px, 3.2vw, 38px);
  line-height: 1.15;
  letter-spacing: -.035em;
  overflow-wrap: anywhere;
}
.contact-method-action {
  color: var(--muted);
  font-weight: 750;
}
@media (max-width: 760px) {
  .contact-only-grid { grid-template-columns: 1fr; }
  .contact-method { min-height: 190px; padding: 26px; }
}
.cta-contact-actions { display: flex; flex-wrap: wrap; gap: 12px; }
@media (max-width: 760px) {
  .cta-contact-actions { flex-direction: column; }
}

.about-home-section { background: #fff; }
.home-about-cards { margin-top: 48px; }


/* --- LHM custom updates --- */
body { overflow-x: hidden; }

/* 4 ydelser på én række på desktop, 2 på tablet, 1 på telefon */
.cards { grid-template-columns: repeat(4, minmax(0, 1fr)); }

/* Mindre stemningsbilleder */
.mood-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.mood-card, .mood-large { min-height: 190px; height: 190px; }
.mood-placeholder {
  display: grid;
  place-items: center;
  border: 1px dashed #b7c9dc;
  box-shadow: none;
  background: linear-gradient(145deg, #f3f7fb, #e9f1f8);
}
.mood-placeholder-inner {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  padding: 24px;
}
.mood-placeholder-inner span {
  color: #72869d;
  font-size: 15px;
  font-weight: 850;
  letter-spacing: .08em;
  text-transform: uppercase;
}

/* KMO markering i Om LHM */
.kmo-certification {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 28px;
  align-items: center;
  margin-top: 42px;
  padding: 26px 30px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 12px 34px rgba(8,27,48,.05);
}
.kmo-certification img {
  width: 130px;
  height: auto;
  margin-inline: auto;
}
.kmo-certification h3 {
  margin: 0;
  color: var(--navy);
  font-size: 28px;
  line-height: 1.12;
  letter-spacing: -.03em;
}
.kmo-certification p:last-child {
  margin: 10px 0 0;
  color: var(--muted);
}

.btn-static-phone {
  cursor: default;
  user-select: text;
}
.btn-static-phone:hover { transform: none; }

@media (max-width: 1100px) {
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mood-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 760px) {
  .cards { grid-template-columns: 1fr; }
  .mood-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .mood-card, .mood-large { min-height: 150px; height: 150px; border-radius: 16px; }
  .mood-card figcaption { left: 9px; right: 9px; bottom: 9px; padding: 9px 10px; font-size: 12px; }
  .mood-placeholder-inner span { font-size: 12px; }
  .kmo-certification { grid-template-columns: 100px 1fr; gap: 18px; padding: 20px; }
  .kmo-certification img { width: 90px; }
  .kmo-certification h3 { font-size: 22px; }
  .cta-contact-actions { display: grid; grid-template-columns: 1fr; width: 100%; }
  .cta-contact-actions .btn { width: 100%; }
}

@media (max-width: 540px) {
  .container { width: min(calc(100% - 22px), var(--max)); }
  .brand-logo img { height: 44px; max-width: 210px; object-fit: contain; }
  .hero-inner { padding-block: 46px; }
  .glass-card { padding: 23px 18px; border-radius: 22px; }
  .hero h1 { font-size: clamp(36px, 12vw, 50px); }
  .hero-lead { font-size: 17px; }
  .hero-points { display: grid; gap: 7px; }
  .section { padding: 62px 0; }
  .section-heading { margin-bottom: 30px; }
  .section-heading h2, .profile-copy h2, .cta-band h2 { font-size: 34px; }
  .about-lhm-grid { gap: 28px; }
  .profile-photo-panel { padding: 20px; }
  .portrait-circle-wrap { max-width: 230px; }
  .about-info-grid { gap: 12px; }
  .about-info-card { padding: 22px; }
  .kmo-certification { grid-template-columns: 1fr; text-align: center; }
  .kmo-certification img { width: 105px; }
  .kmo-certification .eyebrow { margin-top: 2px; }
  .mood-grid { grid-template-columns: 1fr 1fr; }
  .mood-card, .mood-large { height: 140px; min-height: 140px; }
  .footer-logo-white img { max-width: 250px; height: auto; }
}


/* --- Ekstra mobiloptimering --- */
@media (max-width: 760px) {
  html { scroll-padding-top: 78px; }
  body { font-size: 16px; }

  .container { width: min(calc(100% - 24px), var(--max)); }

  .site-header { position: sticky; }
  .nav-wrap {
    min-height: 68px;
    gap: 12px;
  }
  .brand-logo img {
    height: 42px;
    max-width: 190px;
    object-fit: contain;
  }
  .menu-toggle {
    width: 42px;
    height: 42px;
    padding: 9px;
  }
  .main-nav {
    top: 68px;
    padding: 10px 16px 16px;
  }
  .main-nav a {
    min-height: 46px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid var(--line);
    font-size: 15px;
  }
  .main-nav a:last-child { border-bottom: 0; }

  .hero-backdrop {
    background-position: 58% center;
  }
  .hero-overlay {
    background:
      linear-gradient(180deg, rgba(8,23,44,.78) 0%, rgba(8,23,44,.82) 100%);
  }
  .hero-inner {
    padding-block: 42px;
  }
  .glass-card {
    width: 100%;
    padding: 22px 18px;
    border-radius: 20px;
  }
  .hero h1 {
    font-size: clamp(34px, 10.5vw, 46px);
    line-height: 1.04;
    letter-spacing: -.045em;
  }
  .hero-lead {
    margin-top: 18px;
    font-size: 16px;
    line-height: 1.55;
  }
  .hero-actions {
    margin-top: 24px;
  }
  .hero-actions .btn,
  .contact-buttons .btn,
  .cta-contact-actions .btn {
    width: 100%;
    min-height: 50px;
  }

  .trust-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0;
  }
  .trust-grid > div {
    padding: 16px 12px;
    border-bottom: 1px solid var(--line);
  }
  .trust-grid > div:nth-child(odd) { border-right: 1px solid var(--line); }
  .trust-grid > div:nth-child(even) { border-right: 0; }
  .trust-grid strong { font-size: 14px; }
  .trust-grid span { font-size: 12px; line-height: 1.35; }

  .section {
    padding: 54px 0;
  }
  .section-heading {
    margin-bottom: 24px;
  }
  .section-heading h2,
  .profile-copy h2,
  .contact-page-grid h2,
  .page-hero h1 {
    font-size: clamp(30px, 9vw, 38px);
    line-height: 1.08;
    letter-spacing: -.035em;
  }
  .section-heading > p:last-child,
  .profile-copy p,
  .contact-page-grid p,
  .page-hero p {
    font-size: 16px;
    line-height: 1.58;
  }

  .cards {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .service-card {
    display: grid;
    grid-template-columns: 44px 1fr;
    column-gap: 14px;
    align-items: start;
    padding: 18px;
    border-radius: 18px;
  }
  .service-card:hover { transform: none; }
  .service-icon {
    grid-row: 1 / span 2;
    width: 42px;
    height: 42px;
    border-radius: 12px;
  }
  .service-card h3 {
    margin: 0 0 5px;
    font-size: 18px;
  }
  .service-card p {
    grid-column: 2;
    font-size: 14px;
    line-height: 1.45;
  }

  .mood-grid {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }
  .mood-card,
  .mood-large {
    height: 132px;
    min-height: 132px;
    border-radius: 15px;
  }
  .mood-card figcaption {
    left: 8px;
    right: 8px;
    bottom: 8px;
    padding: 8px 9px;
    border-radius: 10px;
    font-size: 11px;
    line-height: 1.25;
  }
  .mood-placeholder-inner {
    padding: 12px;
  }
  .mood-placeholder-inner span {
    font-size: 11px;
  }

  .about-lhm-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .profile-photo-panel {
    padding: 18px;
    border-radius: 20px;
  }
  .portrait-circle-wrap {
    max-width: 210px;
    padding: 8px;
    margin-bottom: 12px;
  }
  .profile-photo-panel p {
    text-align: center;
    font-size: 14px;
    margin-top: 10px;
  }
  .profile-subhead { margin-top: 22px; }

  .kmo-certification {
    grid-template-columns: 78px 1fr;
    gap: 14px;
    margin-top: 28px;
    padding: 18px;
    border-radius: 18px;
    text-align: left;
  }
  .kmo-certification img {
    width: 72px;
  }
  .kmo-certification h3 {
    font-size: 20px;
  }
  .kmo-certification p:last-child {
    font-size: 14px;
    line-height: 1.45;
  }

  .contact-page-grid {
    grid-template-columns: 1fr;
    gap: 22px;
  }
  .contact-card {
    padding: 18px;
    border-radius: 20px;
  }
  .contact-item {
    padding: 14px 2px;
  }
  .contact-item strong {
    font-size: 17px;
    overflow-wrap: anywhere;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 12px;
    min-height: auto;
    padding: 24px 0;
    text-align: center;
  }
  .footer-logo-white img {
    height: auto;
    max-width: 220px;
    margin-inline: auto;
  }
  .footer-grid p,
  .footer-grid > a {
    text-align: center;
    justify-self: center;
  }

  .contact-only-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .contact-method {
    min-height: 160px;
    padding: 22px;
    border-radius: 20px;
  }
  .contact-method strong {
    font-size: 24px;
  }
}

@media (max-width: 390px) {
  .brand-logo img { max-width: 165px; height: 38px; }
  .hero h1 { font-size: 32px; }
  .glass-card { padding: 20px 16px; }
  .mood-card, .mood-large { height: 118px; min-height: 118px; }
  .trust-grid span { font-size: 11px; }
}
