/* Corporate additions to the RWE product design. */
:root { --wrap: 1200px; }
.site-header .nav { display: flex; flex-wrap: wrap; gap: 1.5rem; padding-block: .8rem; }
.fallback-nav { display: flex; flex-wrap: wrap; gap: .75rem 1.25rem; padding-block: 1rem; color: #fff; font-weight: 600; }
.brand img { width: 170px; height: auto; }
.site-menu { margin-left: auto; }
.site-menu summary { display: none; color: #fff; cursor: pointer; }
.site-menu ul { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: .4rem 1.1rem; padding: 0; margin: 0; list-style: none; }
.site-menu a { color: rgba(255,255,255,.82); font-size: .86rem; font-weight: 700; }
.site-menu a:hover, .site-menu a[aria-current="page"] { color: var(--teal-2); }
.site-footer { margin-top: 0; }
.site-footer .brand { margin-bottom: 1rem; }
.footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; }
.footer-copy { max-width: 32ch; }
.footer-trust { display: flex; flex-wrap: wrap; align-items: center; gap: 1.5rem 2rem; margin-top: 2rem; }
.soc-seal { display: flex; align-items: center; gap: .75rem; color: #fff; font-weight: 700; }
.soc-seal img { width: 85px; height: 85px; object-fit: contain; border-radius: 50%; }
.footer-trust h4 { margin-bottom: .6rem; }
.privacy-marks { display: flex; flex-wrap: wrap; gap: .6rem; }
.privacy-mark { display: inline-flex; align-items: center; gap: .5rem; border: 1px solid rgba(255,255,255,.2); border-radius: 10px; padding: .5rem .75rem; color: #fff; font-size: .85rem; font-weight: 700; }
.privacy-mark svg { width: 24px; height: 24px; fill: none; stroke: var(--teal-2); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.privacy-mark:hover { border-color: var(--teal-2); background: rgba(255,255,255,.06); }
.privacy-flag { width: 25px; height: 17px; object-fit: cover; border-radius: 2px; }
.site-footer a:focus-visible, .site-menu a:focus-visible, .btn:focus-visible, summary:focus-visible { outline: 3px solid var(--teal-2); outline-offset: 4px; }
.section-image { width: 100%; border-radius: 16px; box-shadow: var(--shadow); }
.agent-band { background: linear-gradient(120deg, #04171c, #0b4247); color: #fff; }
section.band.agent-band { padding-bottom: calc(clamp(3rem, 7vw, 5rem) + 3.2rem); }
.agent-band p { color: rgba(255,255,255,.78); }
.agent-band .eyebrow { color: var(--teal-2); }
.agent-band .card { color: var(--text); }
.agent-band .card p { color: var(--muted); }
.agent-metrics { position: relative; z-index: 2; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); margin-top: calc(-1 * clamp(3rem, 7vw, 5rem) - 3.2rem); margin-bottom: clamp(3rem, 6vw, 4rem); padding: 2rem 1rem; background: #fff; border-radius: 16px; box-shadow: var(--shadow); text-align: center; }
.agent-metrics div { padding: .6rem 1rem; border-right: 1px solid var(--line); }
.agent-metrics div:last-child { border-right: 0; }
.agent-metrics b { display: block; color: var(--teal); font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 800; }
.agent-metrics span { color: var(--muted); font-size: .85rem; }
.page-banner { background-image: url('../images/banner-analytics.jpg'); }
.content-section { padding: clamp(2.5rem, 5vw, 4rem) 0; }
.content-section:nth-child(even) { background: #f5fcfb; }
.content-section .content-wrap { width: min(100% - 40px, 1200px); margin-inline: auto; }
.content-section p, .content-section li { color: var(--muted); }
.content-section p { line-height: 1.75; }
.content-section a:not(.btn) { color: #087c72; text-decoration: underline; overflow-wrap: anywhere; }
.content-section img { max-width: 100%; height: auto; border-radius: 14px; }
.content-section h1 { font-size: clamp(1.7rem, 3vw, 2.3rem); }
.content-section h2, .content-section h3, .content-section h4, .content-section h5, .content-section h6 { color: var(--text); margin: 1rem 0 .6rem; line-height: 1.25; }
.content-section h4, .content-section h5, .content-section h6 { font-size: 1.05rem; }
.content-section ul, .content-section ol { padding-left: 1.5rem; }
.content-section li { margin-bottom: .5rem; }
.content-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 2rem; align-items: start; margin-bottom: 2.5rem; }
.content-grid:last-child { margin-bottom: 0; }
.content-card { height: 100%; padding: 1.5rem; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.content-card img { margin-bottom: 1rem; }
.content-card .date { color: #087c72; font-weight: 700; font-size: .85rem; }
.products-content .content-card img, .life-sciences-content .content-card img, .healthcare-content .content-card img { width: 100px; height: 100px; object-fit: contain; }
.news-content .content-card img { width: 100%; height: 200px; object-fit: cover; }
.company-content .team-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.company-content .content-card .content-grid { grid-template-columns: 140px minmax(0, 1fr); gap: 1.2rem; }
.company-content .content-card img { width: 140px; height: 140px; object-fit: cover; border-radius: 50%; }
.content-section hr { border: 0; border-top: 1px solid var(--line); margin: 1rem 0; }
.legal-content .content-wrap, .jobs-content .content-wrap { max-width: 900px; }
.legal-content h2, .jobs-content h2 { margin-top: 2rem; }
@media (max-width: 1100px) {
  .site-header .nav { justify-content: space-between; }
  .site-menu summary { display: block; border: 1px solid rgba(255,255,255,.4); border-radius: 8px; padding: .5rem .8rem; }
  .site-menu ul { position: absolute; left: 0; right: 0; background: #04171c; padding: 1rem 20px 1.5rem; flex-direction: column; align-items: stretch; }
  .site-menu li a { display: block; padding: .55rem 0; }
}
@media (max-width: 800px) {
  .footer-grid, .agent-metrics { grid-template-columns: repeat(2, 1fr); }
  .agent-metrics div { border-right: 0; border-bottom: 1px solid var(--line); }
  .agent-metrics div:last-child { border-bottom: 0; }
  .company-content .team-grid { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .chip-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cards { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .logo-row span { margin: 0 .5rem; }
  .company-content .content-card .content-grid { grid-template-columns: 1fr; }
}
@media (max-width: 460px) { .agent-metrics { grid-template-columns: 1fr; } }