/* DAV-0123 (sizes and BBB layout on top of DAV-0119 typography):
   Larger, legible header BBB seal (official 280x80 PNG, scaled by height only)
   and a modest right shift of the brand+seal group to close the gap before Services.
   Wordmark font sizes are unchanged from DAV-0119.
   DAV-0119 (supersedes DAV-0114 sizes): larger, more visible header logo + wordmark.
   Loaded after /styles.css on every page. This file only sizes the header .mark and the brand name/tagline, and retunes the header breakpoints
   so the larger mark and text still fit EN and ES.

   Icon sizes (from DAV-0114 80 / 72 / 60):
     >=1400px: 112px (80 * 1.40)
     1280-1399px: 104px (80 * 1.30)
     1181-1279px: 104px, header wraps so the longer ES nav has room
     861-1180px: 84px (60 * 1.40)
     <=860px: 78px (60 * 1.30)

   Wordmark (name was 1.2rem / 19.2px, 1.05rem / 16.8px on phones; tagline was .72rem / 11.52px and
   hidden at <=480px and 1001-1180px). Name and tagline grow at least as much as the icon. Tagline is
   shown at every band, and is at least 13px at 320/375. Ring and glow scale with the icon. */

/* Wide desktop: 40% larger icon and wordmark. Keep the 1400px+ nav compact so the longer ES labels still fit on one row. */
.site-header .brand{font-size:1.68rem;line-height:1.1;gap:12px}
.site-header .brand small{display:block;font-size:1.01rem;font-weight:500;line-height:1.25;opacity:.8;letter-spacing:.02em}
.site-header .brand .mark{width:112px;height:112px;border-radius:25px;box-shadow:0 0 0 3px rgba(255,255,255,.55),0 4px 20px rgba(0,0,0,.6),0 0 34px rgba(232,137,43,.55)}
/* Logo flush left; official BBB seal squeezed between the brand and Services.
   Layout/spacing only below — brand name and tagline font sizes stay as set above.
   html[lang="es"] nav gap overrides beat nav-dd.css so the longer ES labels plus
   the seal still fit on one row at 1280 and 1440. */
.site-header .header-inner{justify-content:flex-start;align-items:center}
.site-header .brand{flex:0 0 auto;margin-right:0}
.site-header .bbb-header-seal{flex:none;display:flex;align-items:center;margin:0 8px;line-height:0;border-radius:4px;text-decoration:none}
.site-header .bbb-header-seal img{display:block;height:52px;width:auto;max-width:none;border:0}
.site-header .bbb-header-seal:focus{outline:none}
.site-header .bbb-header-seal:focus-visible{outline:3px solid var(--accent);outline-offset:3px}
.site-header nav{margin-left:auto}
@media (min-width:1400px){
  .site-header .wrap{max-width:none}
  .site-header .header-inner{flex-wrap:nowrap;justify-content:flex-start;gap:8px;padding-left:24px;padding-right:12px}
  .site-header .bbb-header-seal{margin:0 8px}
  .site-header .bbb-header-seal img{height:52px}
  .site-header nav{flex:0 1 auto;flex-wrap:nowrap;gap:6px;margin-left:auto;min-width:0}
  .site-header nav a{font-size:.84rem;padding:7px 0;line-height:1.35;white-space:nowrap}
  .site-header .social-header a{width:24px;height:24px}
  .site-header .social-header{padding-left:6px}
  html[lang="es"] .site-header nav{gap:6px}
  /* Longer ES labels plus the 52px seal do not leave room for header social; icons stay in the footer. */
  html[lang="es"] .site-header .social-header{display:none}
}

/* 1280-1399: 30% larger icon, 30%+ wordmark, single row (compact nav, same as the previous 1181-1399 band). */
@media (max-width:1399px){
  .site-header .brand{font-size:1.56rem;gap:11px}
  .site-header .brand small{font-size:.94rem}
  .site-header .brand .mark{width:104px;height:104px;border-radius:23px;box-shadow:0 0 0 2.5px rgba(255,255,255,.55),0 4px 18px rgba(0,0,0,.6),0 0 30px rgba(232,137,43,.55)}
}
@media (min-width:1280px) and (max-width:1399px){
  .site-header .header-inner{flex-wrap:nowrap;justify-content:flex-start;gap:6px;padding-left:12px;padding-right:8px}
  .site-header .bbb-header-seal{margin:0 4px}
  .site-header .bbb-header-seal img{height:44px}
  .site-header nav{flex:1 1 auto;flex-wrap:nowrap;gap:4px;margin-left:auto;min-width:0}
  .site-header nav a{font-size:.82rem;padding:7px 0;line-height:1.35;white-space:nowrap}
  .site-header .social-header a{width:22px;height:22px}
  .site-header .social-header{padding-left:4px}
  .site-header .nav-cta{padding-left:10px;padding-right:10px}
  .site-header .nav-menu-btn{padding:6px 8px}
  html[lang="es"] .site-header nav{gap:4px}
  /* 44px seal is ~70px wider than the 24px seal; the longer ES nav has no room for header social at this width, so hide it on ES only (EN fits with 24px to spare at 1280). Icons stay in the footer. */
  html[lang="es"] .site-header .social-header{display:none}
}

/* 1181-1279: was a tight single row (ES had only 16px of gap at 72px). Wrap the nav onto the next
   line so the 104px icon and larger wordmark fit without overlap. */
@media (min-width:1181px) and (max-width:1279px){
  .site-header .header-inner{flex-wrap:wrap;justify-content:flex-start;padding-left:28px;padding-right:16px}
  .site-header .bbb-header-seal{margin:0 8px}
  .site-header .bbb-header-seal img{height:52px}
  .site-header nav{flex:1 1 100%;flex-wrap:wrap;gap:8px 12px;justify-content:flex-start;margin-left:0}
  .site-header nav a{font-size:.84rem;padding:6px 0;line-height:1.35}
}

/* 861-1180: wrapped or two-row header already. Icon 84px (60 * 1.40). Show the tagline
   (it was hidden at 1001-1180). */
@media (max-width:1180px){
  .site-header .brand{font-size:1.56rem;gap:11px}
  .site-header .brand small{display:block;font-size:.94rem}
  .site-header .brand .mark{width:84px;height:84px;border-radius:19px;box-shadow:0 0 0 2.5px rgba(255,255,255,.55),0 3px 14px rgba(0,0,0,.6),0 0 25px rgba(232,137,43,.5)}
  .site-header .header-inner{padding-left:28px;padding-right:16px}
  .site-header .bbb-header-seal{margin:0 8px}
  .site-header .bbb-header-seal img{height:52px}
  .site-header nav{margin-left:0;flex:1 1 100%}
}

/* Phones and small tablets: icon 78px (60 * 1.30). Name noticeably larger than 16.8px; tagline
   at least 13px and visible (it used to be hidden at <=480px). Name may wrap to two lines. */
@media (max-width:860px){
  /* Brand + BBB share row 1; nav stays on row 2 so the seal does not add a third row. */
  .site-header .header-inner{gap:8px;padding-left:16px;padding-right:16px}
  .site-header .brand{font-size:1.56rem;gap:10px;flex:0 1 auto;min-width:0}
  .site-header .brand small{display:block;font-size:.94rem;line-height:1.25;opacity:.8;white-space:normal}
  .site-header .brand .mark{width:78px;height:78px;border-radius:17px;box-shadow:0 0 0 2px rgba(255,255,255,.55),0 2px 12px rgba(0,0,0,.6),0 0 22px rgba(232,137,43,.5)}
  .site-header .bbb-header-seal{margin:0;flex:0 0 auto}
  .site-header .bbb-header-seal img{height:40px}
  .site-header nav{margin-left:0;flex:1 1 100%;min-width:0}
}
@media (max-width:480px){
  /* 36px seal fits at 375 beside the 2-line name. At 320 the header seal is hidden (see <=320). */
  .site-header .header-inner{padding:4px 6px 6px;gap:6px}
  .site-header .brand{gap:6px}
  .site-header .brand>span{max-width:6.6em;font-size:1.37rem;line-height:1.1}
  .site-header .brand small{display:block;font-size:13px;line-height:1.25;white-space:normal}
  .site-header .brand .mark{width:78px;height:78px;border-radius:17px}
  .site-header .bbb-header-seal img{height:36px}
}
@media (max-width:360px){
  /* 321-360px: 22px / 77px official-ratio seal still shares row 1. */
  .site-header .header-inner{padding:4px 4px 6px;gap:4px}
  .site-header .brand{gap:4px}
  .site-header .bbb-header-seal img{height:22px}
}
@media (max-width:320px){
  /* A 30px official-ratio seal is 105px wide and cannot share row 1 with the
     78px mark and 2-line name at 320 (brand ~227 + 105 overflows). Hide the
     header seal only; the footer official seal stays. */
  .site-header .bbb-header-seal{display:none}
}
