/* OPIB shared footer styles.
 * Extracted from the page-level CSS so pages without inline footer
 * styles (the policy stubs, the 404 page) can render the same footer.
 */

.site-footer {
      background: transparent;
      border-top: 1px solid rgba(255, 255, 255, 0.07);
      padding: 54px 60px 48px;
      position: relative;}
.site-footer::before {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      height: 1px;
      background: linear-gradient(to right,
        transparent 0%,
        rgba(255, 122, 26, 0.4) 15%,
        rgba(255, 122, 26, 0.85) 50%,
        rgba(255, 122, 26, 0.4) 85%,
        transparent 100%
      );}
.footer-grid {
      max-width: 1200px;
      margin: 0 auto;
      display: grid;
      grid-template-columns: minmax(220px, 1.15fr) repeat(3, minmax(150px, 0.95fr));
      gap: 44px;}
.footer-logo-wrap {
      display: flex;
      align-items: flex-start;
      gap: 12px;
      margin-bottom: 18px;}
.footer-logo-box {
      display: grid;
      place-items: center;
      width: 44px;
      height: 44px;
      border-radius: 8px;
      background: rgba(255, 122, 26, 0.12);
      border: 1px solid rgba(255, 122, 26, 0.2);
      flex-shrink: 0;}
.footer-location-section {
      margin-top: 34px;
      padding-top: 28px;
      border-top: 1px solid rgba(255,255,255,0.08);
      text-align: center;}
.footer-location-heading {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      font-family: 'Sora', sans-serif;
      font-size: 18px;
      font-weight: 700;
      color: #ff7a1a;
      letter-spacing: 0.02em;}
.footer-location-grid {
      margin-top: 18px;
      display: grid;
      grid-template-columns: repeat(2, minmax(240px, 290px));
      justify-content: center;
      gap: 16px;}
.footer-location-link {
      display: flex;
      align-items: center;
      gap: 14px;
      padding: 16px 18px;
      border-radius: 16px;
      border: 1px solid rgba(255, 122, 26, 0.25);
      background: linear-gradient(180deg, rgba(255, 214, 176, 0.28) 0%, rgba(255, 191, 135, 0.16) 100%);
      box-shadow: inset 0 1px 0 rgba(255,255,255,0.55);
      text-decoration: none;
      transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;}
.footer-location-link:hover {
      transform: translateY(-2px);
      border-color: rgba(255,122,26,0.5);
      box-shadow: 0 8px 20px rgba(255,122,26,0.12);}
.footer-location-icon {
      width: 42px;
      height: 42px;
      border-radius: 12px;
      background: rgba(255,122,26,0.18);
      color: #ff7a1a;
      display: flex;
      align-items: center;
      justify-content: center;
      flex-shrink: 0;}
.footer-location-copy {
      display: grid;
      gap: 2px;
      text-align: left;
      min-width: 0;}
.footer-location-title {
      font-size: 15px;
      font-weight: 800;
      color: #1a1209;
      letter-spacing: 0.01em;}
.footer-location-address {
      font-size: 13px;
      color: #6b5e4d;
      line-height: 1.45;}
.footer-location-arrow {
      margin-left: auto;
      color: #c4956a;
      flex-shrink: 0;
      transition: color 0.2s ease, transform 0.2s ease;}
.footer-location-link:hover .footer-location-arrow {
      color: #ff7a1a;
      transform: translate(1px, -1px);}
.dark .footer-location-section {
      border-top-color: rgba(255,255,255,0.08);}
.dark .footer-location-link {
      background: rgba(255,255,255,0.06);
      border-color: rgba(255,255,255,0.10);
      box-shadow: none;}
.dark .footer-location-title {
      color: #f8fafc;}
.dark .footer-location-address,
    .dark .footer-location-arrow {
      color: #9aa7bc;}
.footer-social-row {
      display: flex;
      gap: 10px;
      margin-bottom: 20px;}
.footer-social-btn {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      width: 36px;
      height: 36px;
      border-radius: 8px;
      background: rgba(255, 122, 26, 0.12);
      border: 1px solid rgba(255, 122, 26, 0.15);
      color: #ff7a1a;
      font-weight: 700;
      text-decoration: none;
      transition: all 0.2s ease;
      font-size: 16px;}
.footer-social-btn:hover {
      background: rgba(255, 122, 26, 0.2);
      border-color: rgba(255, 122, 26, 0.4);
      transform: translateY(-2px);}
.footer-ira-badge {
      display: flex;
      align-items: center;
      gap: 10px;
      padding: 12px;
      border-radius: 10px;
      border: 1px solid rgba(255, 122, 26, 0.2);
      background: rgba(255, 122, 26, 0.08);
      margin-top: 20px;}
.footer-ira-icon {
      width: 28px;
      height: 28px;
      display: flex;
      align-items: center;
      justify-content: center;
      flex-shrink: 0;}
.footer-ira-text strong { display: block; font-size: 13px; font-weight: 700; color: #fff;}
.footer-ira-text span { font-size: 11px; color: #9aa7bc;}
.footer-col-heading {
      font-family: 'Sora', sans-serif;
      font-size: 13px;
      font-weight: 700;
      letter-spacing: 1.2px;
      text-transform: uppercase;
      color: #ff7a1a;
      margin-bottom: 18px;
      position: relative;
      padding-bottom: 12px;}
.footer-col-heading::before {
      content: '';
      position: absolute;
      bottom: 0;
      left: 0;
      width: 20px;
      height: 2px;
      background: #ff7a1a;
      border-radius: 9999px;}
.footer-nav-list {
      list-style: none;
      display: flex;
      flex-direction: column;
      gap: 10px;}
.footer-nav-list li a {
      display: flex;
      align-items: center;
      gap: 8px;
      font-size: 14px;
      color: #6b5e4d;
      text-decoration: none;
      transition: color 0.2s ease;}
.footer-nav-list li a:hover {
      color: #ff7a1a;}
.footer-nav-icon {
      display: flex;
      align-items: center;
      justify-content: center;
      flex-shrink: 0;}
.footer-hotline-card {
      background: linear-gradient(180deg, rgba(255, 214, 176, 0.34) 0%, rgba(255, 191, 135, 0.22) 100%);
      border: 1px solid rgba(255, 122, 26, 0.36);
      border-radius: 12px;
      padding: 18px 20px;
      margin-bottom: 14px;
      position: relative;
      overflow: hidden;
      box-shadow: inset 0 1px 0 rgba(255,255,255,0.55);}
.footer-hotline-label {
      display: flex;
      align-items: center;
      gap: 6px;
      font-size: 10px;
      font-weight: 700;
      letter-spacing: 2px;
      text-transform: uppercase;
      color: #d86515;
      margin-bottom: 8px;}
.footer-hotline-dot { width: 7px; height: 7px; background: #ff8f39; border-radius: 50%; animation: hotline-blink 1.5s infinite;}
.footer-hotline-number {
      font-family: 'Sora', sans-serif;
      font-size: 22px;
      font-weight: 800;
      color: #1a1209;
      margin-bottom: 4px;}
.footer-hotline-hours { font-size: 12px; color: #6b5e4d;}
.footer-hotline-center {
      max-width: 480px;
      margin: 40px auto 0;}
.footer-hotline-card .footer-email-row {
      margin-top: 14px;
      padding-top: 12px;
      border-top: 1px solid rgba(255, 122, 26, 0.18);}
.dark .footer-hotline-card {
      background: linear-gradient(135deg, rgba(255,122,26,0.12) 0%, rgba(255,122,26,0.05) 100%);
      border-color: rgba(255,122,26,0.25);
      box-shadow: none;}
.dark .footer-hotline-label { color: #ff7a1a;}
.dark .footer-hotline-dot { background: #ff7a1a;}
.dark .footer-hotline-number { color: #fff;}
.dark .footer-hotline-hours { color: #9aa7bc;}
.footer-email-row {
      display: flex;
      align-items: center;
      gap: 10px;
      padding: 12px;
      border-radius: 8px;
      background: rgba(31, 213, 141, 0.08);
      border: 1px solid rgba(31, 213, 141, 0.15);
      color: #1fd58d;
      font-size: 13px;
      font-weight: 600;
      text-decoration: none;
      transition: all 0.2s ease;}
.footer-email-row:hover {
      background: rgba(31, 213, 141, 0.12);
      border-color: rgba(31, 213, 141, 0.3);}
.footer-email-icon {
      display: flex;
      align-items: center;
      justify-content: center;
      flex-shrink: 0;}
.footer-bottom-bar {
      max-width: 1200px;
      margin: 0 auto;
      padding-top: 24px;
      margin-top: 28px;
      border-top: 1px solid rgba(26, 18, 9, 0.12);
      display: flex;
      align-items: center;
      justify-content: space-between;
      font-size: 12px;
      color: #6b5e4d;}
.footer-status-row {
      display: flex;
      align-items: center;
      gap: 8px;
      font-size: 12px;
      color: #6b5e4d;}
.footer-status-dot {
      width: 6px;
      height: 6px;
      border-radius: 50%;
      background: #1fd58d;
      animation: pulse 2s ease-in-out infinite;}

@media (max-width: 720px) {
  .footer-location-grid {
          grid-template-columns: 1fr;}
  .footer-hotline-center {
          margin-top: 28px;}
  .footer-hotline-card {
          padding: 14px 16px;}
  .footer-hotline-number {
          font-size: 19px;}
  .footer-location-section {
          margin-top: 24px;
          padding-top: 22px;}
  .footer-location-heading {
          font-size: 16px;}
  .footer-location-grid {
          margin-top: 14px;
          gap: 10px;}
  .footer-location-link {
          padding: 12px 14px;
          gap: 10px;
          border-radius: 12px;}
  .footer-location-icon {
          width: 36px;
          height: 36px;
          border-radius: 10px;}
  .footer-location-title {
          font-size: 14px;}
  .footer-location-address {
          font-size: 12px;}
  .footer-bottom-bar {
          margin-top: 28px;
          padding-top: 18px;
          flex-direction: column;
          text-align: center;
          gap: 8px;}
  .footer-bottom-bar p {
          font-size: 11px;
          line-height: 1.5;}
}

@media (max-width: 560px) {
  .footer-grid {
          gap: 32px;}
  .footer-hotline-center {
          margin-top: 24px;}
  .footer-hotline-card {
          padding: 12px 14px;
          margin-bottom: 0;}
  .footer-hotline-number {
          font-size: 18px;}
  .footer-hotline-label {
          font-size: 9px;
          letter-spacing: 1.5px;
          margin-bottom: 6px;}
  .footer-hotline-hours {
          font-size: 11px;}
  .footer-hotline-card .footer-email-row {
          margin-top: 10px;
          padding-top: 10px;
          font-size: 13px;}
  .footer-email-icon {
          width: 30px;
          height: 30px;}
  .footer-col-heading {
          margin-bottom: 14px;}
  .footer-nav-list li a {
          font-size: 13px;
          padding: 5px 0;}
  .footer-nav-icon {
          width: 26px;
          height: 26px;}
  .footer-social-row {
          margin-bottom: 18px;}
  .footer-social-btn {
          width: 34px;
          height: 34px;}
  .footer-ira-badge {
          padding: 10px 12px;
          gap: 10px;}
  .footer-location-section {
          margin-top: 20px;
          padding-top: 18px;}
  .footer-location-link {
          padding: 11px 12px;
          gap: 10px;}
  .footer-location-icon {
          width: 34px;
          height: 34px;
          border-radius: 8px;}
  .footer-location-title {
          font-size: 13px;}
  .footer-location-address {
          font-size: 11px;}
  .footer-bottom-bar p {
          font-size: 10.5px;}
  .footer-status-row {
          font-size: 11px;}
  .site-footer { padding: 40px 24px;}
  .footer-grid { grid-template-columns: 1fr;}
}

@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr;}
}
