/* Destiny Health Sentinel: small fixes layered on top of assets/css/style.css.
   Loaded after style.css on every page. */

/* Header: keep the logo and the menu button off the screen edges.
   (.nav sets "padding: 14px 0", which cancels the side padding .container gives it.) */
.site-header .nav { padding-left: 24px; padding-right: 24px; }

/* Tablets and narrow windows: switch to the menu button before the links start wrapping (7 links since Oct 20) */
@media (max-width: 1180px) {
  .nav-links { display: none; }
  .nav-toggle { display: flex; }
  body.nav-open .nav-links {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    padding: 20px 24px 28px;
    box-shadow: var(--shadow);
    gap: 18px;
    border-top: 1px solid var(--border);
  }
}

/* Phones: slightly smaller logo and name so the header fits with side padding */
@media (max-width: 760px) {
  .site-header .nav { padding-left: 16px; padding-right: 16px; }
  .brand { gap: 10px; }
  .brand img { height: 44px; }
  .brand-text strong { font-size: 1.08rem; }
  .brand-text span { font-size: 0.55rem; letter-spacing: 0.12em; }
  .nav-cta { gap: 6px; }
}
@media (max-width: 350px) {
  .brand-text span { display: none; }
}

/* Book a Call: keep each tick beside its text when a line wraps on small screens */
@media (max-width: 820px) {
  .book-points li { text-align: left; }
}

/* Privacy promise: strip above the footer on every page */
.privacy-promise { background: #eef3fd; border-top: 1px solid #d9e4f8; }
.privacy-promise .container { display: flex; align-items: center; gap: 18px; padding-top: 22px; padding-bottom: 22px; }
.privacy-promise-icon { width: 44px; height: 44px; border-radius: 50%; background: var(--blue); color: var(--white); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.privacy-promise-icon svg { width: 22px; height: 22px; }
.privacy-promise-text { flex: 1; font-size: 0.95rem; line-height: 1.55; color: var(--text-body); }
.privacy-promise-text strong { display: block; color: var(--text-dark); font-size: 1.02rem; margin-bottom: 2px; }
.privacy-promise-link { font-weight: 600; font-size: 0.92rem; color: var(--blue); white-space: nowrap; }
.privacy-promise-link:hover { text-decoration: underline; }
@media (max-width: 760px) {
  .privacy-promise .container { flex-wrap: wrap; align-items: flex-start; gap: 12px 14px; }
  .privacy-promise-text { flex-basis: calc(100% - 60px); }
  .privacy-promise-link { margin-left: 58px; }
}

/* Top bar privacy note */
.topbar-privacy { color: var(--white); font-weight: 600; }

/* Quote form: privacy note above the first field */
.form-privacy { display: flex; gap: 12px; align-items: flex-start; background: #eef3fd; border: 1px solid #d9e4f8; border-radius: 10px; padding: 12px 14px; margin-bottom: 22px; font-size: 0.9rem; line-height: 1.5; color: var(--text-body); }
.form-privacy strong { color: var(--text-dark); }
.form-privacy-icon { width: 30px; height: 30px; border-radius: 50%; background: var(--blue); color: var(--white); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.form-privacy-icon svg { width: 16px; height: 16px; }

/* Quote page: stop the form running off the right edge on phones (long dropdown options were widening the column) */
.contact-grid > *, .contact-card, .form-card { min-width: 0; max-width: 100%; }
.form-group, .form-row > * { min-width: 0; }
.form-group select, .form-group input, .form-group textarea { max-width: 100%; min-width: 0; width: 100%; }
@media (max-width: 980px) {
  .contact-grid { grid-template-columns: minmax(0, 1fr); }
}

/* Social links (footer + About page) */
.social-links { display: flex; flex-wrap: wrap; gap: 10px; }
.social-links a { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; }
.social-links svg { width: 18px; height: 18px; flex-shrink: 0; }
.social-links--footer { margin-top: 6px; }
.social-links--footer a { width: 38px; height: 38px; justify-content: center; border-radius: 50%; background: rgba(255, 255, 255, 0.08); color: var(--white); transition: background .2s ease; }
.social-links--footer a:hover { background: var(--blue); }
.social-links--footer span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.social-links--big a { padding: 10px 18px; border: 1px solid var(--border); border-radius: 999px; color: var(--text-dark); font-weight: 600; font-size: 0.92rem; background: var(--white); transition: border-color .2s ease, color .2s ease; }
.social-links--big a:hover { border-color: var(--blue); color: var(--blue); }
.social-links--big svg { color: var(--blue); }

/* Desktop menu: 7 links on one line */
@media (min-width: 1181px) {
  .nav-links { gap: 24px; }
  .nav-links a { white-space: nowrap; }
}

/* ---- Social: hero row + "Let's Connect" (Nov 2026) ---- */
.soc-icon { display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; border-radius: 50%; color: #fff; }
.soc-icon svg { width: 55%; height: 55%; }
.soc--ig .soc-icon { background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fd5949 45%, #d6249f 60%, #285aeb 90%); }
.soc--tt .soc-icon { background: #000; box-shadow: inset -2px -2px 0 rgba(37, 244, 238, .55), inset 2px 2px 0 rgba(254, 44, 85, .55); }
.soc--fb .soc-icon { background: #1877f2; }

.hero-social { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 12px; margin-top: 26px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .12); }
.hero-social-label { width: 100%; font-size: 0.8rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--blue-light); }
.hero-social a { display: inline-flex; align-items: center; gap: 10px; padding: 6px 18px 6px 6px; border: 1px solid rgba(255, 255, 255, .18); border-radius: 999px; background: rgba(255, 255, 255, .06); color: var(--white); font-weight: 600; font-size: 0.92rem; text-decoration: none; transition: transform .2s ease, background .2s ease, border-color .2s ease; }
.hero-social a:hover { transform: translateY(-2px); background: rgba(255, 255, 255, .12); border-color: rgba(111, 168, 255, .6); }
.hero-social .soc-icon { width: 34px; height: 34px; }

.connect { background: var(--navy); color: var(--silver); position: relative; overflow: hidden; }
.connect::before { content: ""; position: absolute; width: 720px; height: 720px; right: -220px; top: -260px; border-radius: 50%; background: radial-gradient(circle, rgba(47, 111, 224, .35), transparent 65%); pointer-events: none; }
.connect .container { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.connect h2 { color: var(--white); margin-bottom: 14px; }
.connect .eyebrow { display: block; font-size: 0.82rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 10px; }
.connect-lead { margin: 0 0 26px; max-width: 470px; line-height: 1.65; }
.connect-lines { list-style: none; padding: 0; margin: 0 0 28px; display: grid; gap: 14px; }
.connect-lines a { display: inline-flex; align-items: center; gap: 14px; color: var(--white); text-decoration: none; font-weight: 600; font-size: clamp(1rem, 2.2vw, 1.22rem); word-break: break-all; }
.connect-lines a:hover { color: var(--blue-light); }
.connect-lines .ci { display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px; flex-shrink: 0; border-radius: 12px; background: rgba(255, 255, 255, .08); color: var(--blue-light); }
.connect-lines .ci svg { width: 22px; height: 22px; }
.connect-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.connect-actions .btn-ghost { border: 1px solid rgba(255, 255, 255, .3); color: var(--white); background: transparent; }
.connect-actions .btn-ghost:hover { border-color: var(--white); }
.connect-social-title { color: var(--white); font-weight: 600; margin: 0 0 14px; font-size: 1.05rem; }
.connect-cards { display: grid; gap: 14px; }
.connect-card { display: flex; align-items: center; gap: 16px; padding: 16px 18px; border-radius: 16px; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .1); color: var(--silver); text-decoration: none; transition: background .2s ease, transform .2s ease, border-color .2s ease; }
.connect-card:hover { background: rgba(255, 255, 255, .09); border-color: rgba(111, 168, 255, .5); transform: translateY(-2px); }
.connect-card .soc-icon { width: 52px; height: 52px; border-radius: 14px; }
.connect-card-text { flex: 1; min-width: 0; }
.connect-card-text strong { display: block; color: var(--white); font-size: 1.02rem; }
.connect-card-text span { display: block; font-size: 0.9rem; line-height: 1.45; }
.connect-card-go { flex-shrink: 0; padding: 8px 14px; border-radius: 999px; background: var(--white); color: var(--navy); font-weight: 700; font-size: 0.82rem; }
@media (max-width: 900px) {
  .connect .container { grid-template-columns: 1fr; gap: 40px; }
}
@media (max-width: 480px) {
  .connect-card { padding: 14px; gap: 12px; }
  .connect-card .soc-icon { width: 44px; height: 44px; }
  .connect-card-go { display: none; }
}
.topbar-social { display: inline-flex; align-items: center; gap: 8px; }
.topbar-social a { display: inline-flex; transition: transform .2s ease; }
.topbar-social a:hover { transform: translateY(-1px); }
.topbar-social .soc-icon { width: 22px; height: 22px; }
