html.social-contact-mode,
html.social-contact-mode body {
  min-height:100%;
  background-color:#eef4fd;
}

body.estate-contact-page.social-contact-page {
  --ink:#172b47;
  --ink-dark:#172b47;
  --social-contact-panel-gradient:linear-gradient(112deg,#10223b 0%,#183d70 56%,#5488d5 100%);
  --business-header-height:100px;
  color:#172b47;
  background-color:#eef4fd;
  background-image:
    radial-gradient(ellipse 90% 24% at 100% 0%,#c2d6f755,transparent 88%),
    radial-gradient(ellipse 70% 24% at 0% 65%,#d9d0f22b,transparent 85%),
    linear-gradient(180deg,#eef4fd,#f9fbfe 48%,#edf2fa);
}

body.estate-contact-page.social-contact-page .estate-header-brand,
body.estate-contact-page.social-contact-page .estate-contact-logo {
  display:none !important;
}

body.estate-contact-page.social-contact-page .business-topbar.estate-topbar {
  height:var(--business-header-height);
  min-height:var(--business-header-height);
  background:#10223b;
  border-bottom:1px solid #ffffff24;
  box-shadow:0 6px 25px #07172b38;
}

body.estate-contact-page.social-contact-page .business-topbar.estate-topbar::before {
  display:none;
}

body.estate-contact-page.social-contact-page .estate-nav-cluster {
  gap:clamp(18px,3vw,42px);
}

body.estate-contact-page.social-contact-page .business-topbar .business-global > a:not(.estate-nav-market-link) {
  color:#f4f8ff;
}

body.estate-contact-page.social-contact-page .business-topbar .business-global > a:hover,
body.estate-contact-page.social-contact-page .business-topbar .business-global > a:focus-visible {
  color:#c9ddff;
}

body.estate-contact-page.social-contact-page .estate-nav-market-link {
  border:1px solid #8fb8f0;
  color:#fff;
  background:linear-gradient(115deg,#17375e 0%,#28599b 55%,#3975c4 100%);
  box-shadow:0 8px 22px #07172b66,inset 0 1px #ffffff38;
}

body.estate-contact-page.social-contact-page .estate-nav-market-link:hover,
body.estate-contact-page.social-contact-page .estate-nav-market-link:focus-visible {
  color:#fff;
  background:linear-gradient(115deg,#214879 0%,#326bb0 55%,#4786d5 100%);
}

body.estate-contact-page.social-contact-page .business-topbar .business-languages {
  border-left-color:#ffffff4a;
}

body.estate-contact-page.social-contact-page .business-topbar .mobile-language-toggle {
  color:#f4f8ff;
}

/* This social-origin contact page is German-only for now. */
body.estate-contact-page.social-contact-page .business-languages {
  display:none !important;
}

body.estate-contact-page.social-contact-page .social-contact-brand {
  --social-contact-brand-name-size:clamp(22px,2.5vw,34px);
  display:flex;
  flex-direction:column;
  align-items:center;
  width:max-content;
  max-width:100%;
  color:#173553;
  text-align:left;
  white-space:nowrap;
}

body.estate-contact-page.social-contact-page .social-contact-brand[hidden] {
  display:none !important;
}

body.estate-contact-page.social-contact-page .social-contact-brand__name {
  position:relative;
  font-size:var(--social-contact-brand-name-size);
  font-weight:300;
  letter-spacing:.16em;
  line-height:1;
}

body.estate-contact-page.social-contact-page .social-contact-brand__name sup {
  position:absolute;
  top:-.12em;
  right:-.9em;
  font-size:.3em;
  letter-spacing:0;
}

body.estate-contact-page.social-contact-page .social-contact-brand__international {
  display:flex;
  box-sizing:border-box;
  width:var(--glambury-social-brand-span);
  max-width:var(--glambury-social-brand-span);
  margin:3px 0 0;
  align-self:center;
  color:#405777;
  font-size:clamp(8px,.72vw,10px);
  font-weight:400;
  text-align:center;
  white-space:nowrap;
  justify-content:space-between;
}

body.estate-contact-page.social-contact-page .social-contact-brand__rule {
  align-self:center;
  width:min(100%,150px);
  height:1px;
  margin:7px 0 5px;
  background:linear-gradient(90deg,transparent,#8299b8a8,transparent);
}

body.estate-contact-page.social-contact-page .social-contact-brand__area {
  align-self:center;
  color:#405777;
  font-size:clamp(9px,.82vw,12px);
  font-weight:500;
  letter-spacing:.3em;
  line-height:1.1;
  text-align:center;
}

body.estate-contact-page.social-contact-page .social-contact-brand--header {
  --social-contact-brand-name-size:clamp(16px,1.65vw,22px);
  flex:0 0 auto;
  color:#f4f8ff;
}

body.estate-contact-page.social-contact-page .social-contact-brand--header .social-contact-brand__international,
body.estate-contact-page.social-contact-page .social-contact-brand--header .social-contact-brand__area {
  color:#f4f8ff;
}

body.estate-contact-page.social-contact-page .social-contact-brand--header .social-contact-brand__rule {
  background:linear-gradient(90deg,transparent,#ffffffa8,transparent);
}

body.estate-contact-page.social-contact-page .social-contact-brand--header .social-contact-brand__rule {
  width:min(100%,120px);
  margin:5px 0 4px;
}

body.estate-contact-page.social-contact-page .social-contact-brand--header .social-contact-brand__international {
  font-size:8px;
}

body.estate-contact-page.social-contact-page .social-contact-brand--header .social-contact-brand__area {
  font-size:8px;
}

body.estate-contact-page.social-contact-page .estate-contact-section {
  min-height:calc(100svh - var(--business-header-height));
  background:transparent;
}

body.estate-contact-page.social-contact-page .monogram-field {
  color:#315784;
  opacity:.035;
}

body.estate-contact-page.social-contact-page .estate-contact-panel {
  position:relative;
  isolation:isolate;
  border:1px solid #ffffffdf;
  border-radius:22px;
  color:#f7fbff;
  background-image:none;
  background-color:transparent;
  backdrop-filter:blur(24px) saturate(145%);
  -webkit-backdrop-filter:blur(24px) saturate(145%);
  box-shadow:0 16px 38px #173d7022,inset 0 1px 0 #fff;
}

body.estate-contact-page.social-contact-page .estate-contact-panel::before {
  content:"";
  position:absolute;
  z-index:-1;
  inset:0;
  border-radius:inherit;
  background:var(--social-contact-panel-gradient);
  opacity:1;
  pointer-events:none;
}

body.estate-contact-page.social-contact-page .estate-contact-close {
  color:#f7fbff;
}

body.estate-contact-page.social-contact-page .estate-contact-close:hover {
  color:#fff;
}

body.estate-contact-page.social-contact-page .estate-contact-close:focus-visible {
  outline-color:#fff;
}

body.estate-contact-page.social-contact-page .contact-intro {
  display:flex;
  align-self:stretch;
  flex-direction:column;
  justify-content:space-between;
  min-height:300px;
  padding-block:12px;
  gap:0;
  color:#f7fbff;
  text-align:left;
  text-shadow:0 2px 4px #061a3dcc,0 1px 1px #06142d;
}

body.estate-contact-page.social-contact-page .contact-intro > .social-contact-brand:not(.social-contact-brand--header) {
  color:#fff;
  margin-top:0;
}

body.estate-contact-page.social-contact-page .contact-intro > .social-contact-brand:not(.social-contact-brand--header) .social-contact-brand__international,
body.estate-contact-page.social-contact-page .contact-intro > .social-contact-brand:not(.social-contact-brand--header) .social-contact-brand__area {
  color:#fff;
}

body.estate-contact-page.social-contact-page .contact-intro > .social-contact-brand:not(.social-contact-brand--header) .social-contact-brand__rule {
  background:linear-gradient(90deg,#ffffffb8,transparent);
}

body.estate-contact-page.social-contact-page .social-contact-origin-note {
  color:#fff;
  line-height:1.6;
}

body.estate-contact-page.social-contact-page .estate-contact-panel h1 {
  color:#fff;
  margin:0;
}

body.estate-contact-page.social-contact-page .estate-contact-panel .contact-intro p {
  color:#fff;
  margin:10px 0 0;
}

body.estate-contact-page.social-contact-page .contact-intro .social-contact-origin-note {
  margin-top:10px;
}

body.estate-contact-page.social-contact-page .estate-contact-form label {
  color:#fff;
  font-weight:750;
}

body.estate-contact-page.social-contact-page .estate-contact-form label > span {
  color:#fff;
  font-size:13px;
  font-weight:750;
  text-shadow:0 1px 0 #10223b;
}

body.estate-contact-page.social-contact-page .estate-contact-form label > span small {
  color:#fff;
  font-size:.92em;
  font-weight:700;
  text-shadow:0 1px 0 #10223b;
}

body.estate-contact-page.social-contact-page .estate-contact-form .form-status {
  text-shadow:0 1px 3px #061a3dcc,0 0 5px #061a3d8c;
}

body.estate-contact-page.social-contact-page .estate-contact-form input:not([type="hidden"]):not([type="file"]),
body.estate-contact-page.social-contact-page .estate-contact-form textarea,
body.estate-contact-page.social-contact-page .estate-contact-form select {
  border-color:#ffffff;
  border-bottom-color:#bed0e8;
  color:#172b47;
  background:#ffffffeb;
  box-shadow:inset 0 1px #fff;
  text-shadow:none;
}

body.estate-contact-page.social-contact-page .estate-contact-form input:not([type="hidden"]):not([type="file"]):focus,
body.estate-contact-page.social-contact-page .estate-contact-form textarea:focus,
body.estate-contact-page.social-contact-page .estate-contact-form select:focus {
  border-color:#d5e6ff;
  background:#fff;
  box-shadow:0 0 0 3px #ffffff45,inset 0 1px #fff;
}

body.estate-contact-page.social-contact-page .estate-contact-form input::placeholder,
body.estate-contact-page.social-contact-page .estate-contact-form textarea::placeholder {
  color:#65768b;
  text-shadow:none;
}

body.estate-contact-page.social-contact-page .estate-contact-form .contact-submit {
  max-width:100%;
  border:1px solid #bde8ca;
  border-radius:8px;
  color:#fff;
  background:#087b3b;
  box-shadow:0 8px 20px #061a3d55,inset 0 1px #ffffff38;
}

body.estate-contact-page.social-contact-page .estate-contact-form .contact-submit:hover,
body.estate-contact-page.social-contact-page .estate-contact-form .contact-submit:focus-visible {
  border-color:#fff;
  color:#fff;
  background:#096b35;
}

body.estate-contact-page.social-contact-page .estate-contact-form .form-status {
  color:#fff;
}

/* Match the local Social Media glass surface, using its blue artwork palette. */
body.estate-contact-page.social-contact-page .business-areas-menu > summary:hover,
body.estate-contact-page.social-contact-page .business-areas-menu > summary:focus-visible,
body.estate-contact-page.social-contact-page .business-areas-menu[open] > summary {
  color:#174591;
}

body.estate-contact-page.social-contact-page .business-areas-menu > summary:focus-visible {
  outline-color:#3569c0;
}

body.estate-contact-page.social-contact-page .business-areas-panel {
  border:1px solid #ffffffdf;
  color:#fff;
  background-image:linear-gradient(145deg,#ffffff2e,transparent 55%),linear-gradient(120deg,#2d6cc0f5,#2456adf5 58%,#173e80f5);
  background-color:#2456adf5;
  box-shadow:0 16px 38px #173d7033,inset 0 1px 0 #ffffff70;
  backdrop-filter:blur(20px) saturate(150%);
  -webkit-backdrop-filter:blur(20px) saturate(150%);
}

body.estate-contact-page.social-contact-page .business-areas-panel a {
  color:#f7fbff;
  text-shadow:0 1px 2px #102e5966;
}

body.estate-contact-page.social-contact-page .business-areas-panel a:hover,
body.estate-contact-page.social-contact-page .business-areas-panel a:focus-visible {
  color:#fff;
  background:#ffffff24;
}

body.estate-contact-page.social-contact-page .business-areas-panel a:focus-visible {
  outline:2px solid #fff;
  outline-offset:1px;
}

body.estate-contact-page.social-contact-page .site-footer {
  border-top:1px solid #ffffff24;
  color:#fafcff;
  background:#10223b;
}

body.estate-contact-page.social-contact-page .site-footer .footer-estate-lockup {
  color:#fafcff;
}

body.estate-contact-page.social-contact-page .site-footer .footer-estate-lockup > .brand-lockup-primary,
body.estate-contact-page.social-contact-page .site-footer .footer-estate-lockup > .brand-lockup-secondary {
  display:none;
}

body.estate-contact-page.social-contact-page .social-contact-footer-brand {
  display:flex;
  flex-direction:column;
  align-items:center;
  width:max-content;
  color:#fafcff;
  line-height:1;
}

body.estate-contact-page.social-contact-page .social-contact-footer-brand > span {
  position:relative;
  font-size:17px;
  font-weight:300;
  letter-spacing:.14em;
}

body.estate-contact-page.social-contact-page .social-contact-footer-brand sup {
  position:absolute;
  top:-.12em;
  right:-.9em;
  font-size:.35em;
}

body.estate-contact-page.social-contact-page .social-contact-footer-brand small {
  display:flex;
  justify-content:space-between;
  box-sizing:border-box;
  width:80%;
  max-width:80%;
  margin:5px 0 0;
  color:#c8d9f1;
  font-size:7px;
  text-align:center;
}

body.estate-contact-page.social-contact-page .social-contact-footer-brand i {
  width:76%;
  height:1px;
  margin:5px auto 4px;
  background:#ffffff60;
}

body.estate-contact-page.social-contact-page .social-contact-footer-brand b {
  color:#c8d9f1;
  font-size:7px;
  font-weight:500;
  letter-spacing:.27em;
}

body.estate-contact-page.social-contact-page a:focus-visible,
body.estate-contact-page.social-contact-page button:focus-visible {
  outline:3px solid #a9ceff;
  outline-offset:4px;
}

@media (max-width:1100px) {
  body.estate-contact-page.social-contact-page {
    --business-header-height:76px;
  }

  body.estate-contact-page.social-contact-page .social-contact-brand {
    --social-contact-brand-name-size:clamp(23px,5vw,30px);
  }

  body.estate-contact-page.social-contact-page .business-topbar.estate-topbar {
    padding:0 18px;
  }

  body.estate-contact-page.social-contact-page .estate-nav-cluster {
    position:relative;
    gap:14px;
  }

  body.estate-contact-page.social-contact-page .social-contact-brand--header {
    --social-contact-brand-name-size:18px;
  }

  body.estate-contact-page.social-contact-page .mobile-nav-toggle {
    border-color:#ffffff70;
    background:#ffffff12;
    color:#f4f8ff;
  }

  body.estate-contact-page.social-contact-page .business-topbar .business-global {
    background:#10223bfa;
    border-color:#ffffff35;
    box-shadow:0 18px 35px #07172b70;
  }

  body.estate-contact-page.social-contact-page .business-topbar .business-global a {
    color:#f4f8ff;
  }

  body.estate-contact-page.social-contact-page .business-topbar .business-global a:hover,
  body.estate-contact-page.social-contact-page .business-topbar .business-global a:focus-visible {
    background:#ffffff18;
  }

  body.estate-contact-page.social-contact-page .business-topbar .business-global .estate-nav-market-link {
    color:#fff;
    background:linear-gradient(115deg,#17375e 0%,#28599b 55%,#3975c4 100%);
  }

  body.estate-contact-page.social-contact-page .business-topbar .language-options {
    background:#10223bfa;
    border-color:#ffffff35;
  }

  body.estate-contact-page.social-contact-page .business-topbar .language-options .language {
    color:#f4f8ff;
  }

  body.estate-contact-page.social-contact-page .estate-contact-section {
    padding:24px 20px 32px;
  }

  body.estate-contact-page.social-contact-page .estate-contact-panel {
    width:min(100%,620px);
    grid-template-columns:1fr;
    gap:24px;
    padding:30px 28px;
  }

  body.estate-contact-page.social-contact-page .contact-intro {
    text-align:left;
    min-height:230px;
    padding-block:8px;
  }

  body.estate-contact-page.social-contact-page .social-contact-brand {
    margin-inline:0;
  }

  body.estate-contact-page.social-contact-page .estate-contact-panel h1 {
    margin-top:0;
  }

  body.estate-contact-page.social-contact-page .estate-contact-form .form-submit-row {
    align-items:stretch;
  }

  body.estate-contact-page.social-contact-page .estate-contact-form .contact-submit {
    width:100%;
    justify-content:space-between;
  }
}

@media (max-width:600px) {
  body.estate-contact-page.social-contact-page {
    --business-header-height:68px;
  }

  body.estate-contact-page.social-contact-page .business-topbar.estate-topbar {
    padding:0 14px;
  }

  body.estate-contact-page.social-contact-page .social-contact-brand--header {
    --social-contact-brand-name-size:16px;
  }

  body.estate-contact-page.social-contact-page .social-contact-brand--header .social-contact-brand__area {
    font-size:7px;
  }

  body.estate-contact-page.social-contact-page .estate-contact-section {
    padding:20px 16px 26px;
  }

  body.estate-contact-page.social-contact-page .estate-contact-panel {
    gap:20px;
    padding:25px 19px;
  }

  body.estate-contact-page.social-contact-page .estate-contact-form .form-row {
    grid-template-columns:1fr;
    gap:17px;
  }
}

/* Desktop cascade: keep the social-origin contact header and primary action
   aligned with the approved navy/green system, even after distribution rules. */
@media (min-width:1101px) {
  html.social-contact-mode body.estate-contact-page .business-topbar.estate-topbar {
    background:#10223b !important;
    background-image:none !important;
    border-bottom:1px solid #ffffff24;
    box-shadow:0 6px 25px #07172b38;
  }

  html.social-contact-mode body.estate-contact-page .business-topbar.estate-topbar::before {
    display:none !important;
  }

  html.social-contact-mode body.estate-contact-page .business-topbar .business-global > :not(.estate-nav-market-link),
  html.social-contact-mode body.estate-contact-page .business-topbar .business-global > :not(.estate-nav-market-link) * {
    color:#f4f8ff !important;
    -webkit-text-fill-color:#f4f8ff !important;
    opacity:1 !important;
  }

  html.social-contact-mode body.estate-subpage.estate-contact-page .business-topbar.estate-topbar .estate-nav-market-link,
  html.social-contact-mode body.estate-subpage.estate-contact-page .business-topbar.estate-topbar .estate-nav-market-link:hover,
  html.social-contact-mode body.estate-subpage.estate-contact-page .business-topbar.estate-topbar .estate-nav-market-link:focus-visible {
    border:1px solid #8fb8f0 !important;
    color:#fff !important;
    -webkit-text-fill-color:#fff !important;
    opacity:1 !important;
    background:#10294a linear-gradient(115deg,#0b1d35 0%,#14345b 58%,#1c467b 100%) !important;
    -webkit-backdrop-filter:none !important;
    backdrop-filter:none !important;
    filter:none !important;
    mix-blend-mode:normal !important;
    box-shadow:0 7px 18px #07172b66,inset 0 1px #ffffff1c;
  }

  html.social-contact-mode body.estate-subpage.estate-contact-page .business-topbar.estate-topbar .estate-nav-market-link::before,
  html.social-contact-mode body.estate-subpage.estate-contact-page .business-topbar.estate-topbar .estate-nav-market-link::after {
    display:none !important;
    content:none !important;
    background:none !important;
    opacity:0 !important;
  }

  html.social-contact-mode body.estate-subpage.estate-contact-page .business-topbar.estate-topbar .estate-nav-market-link *,
  html.social-contact-mode body.estate-subpage.estate-contact-page .business-topbar.estate-topbar .estate-nav-market-link:hover *,
  html.social-contact-mode body.estate-subpage.estate-contact-page .business-topbar.estate-topbar .estate-nav-market-link:focus-visible * {
    color:#fff !important;
    -webkit-text-fill-color:#fff !important;
    opacity:1 !important;
  }

  html.social-contact-mode body.estate-contact-page .estate-contact-form .contact-submit {
    border:1px solid #bde8ca !important;
    color:#fff !important;
    background:#087b3b !important;
    box-shadow:0 8px 20px #061a3d55,inset 0 1px #ffffff38;
  }

  html.social-contact-mode body.estate-contact-page .estate-contact-form .contact-submit:hover,
  html.social-contact-mode body.estate-contact-page .estate-contact-form .contact-submit:focus-visible {
    color:#fff !important;
    background:#096b35 !important;
  }
}
