/* ======================================
   BASE STYLES - Shared across all pages
   ====================================== */

/* Variables */
:root {
  --color-primary: #15395D;
  --color-cta: #ff6a00;
  --color-cta-hover: #e55d00;
  --color-text: #333;
  --color-text-light: #666;
  --color-text-muted: #999;
  --color-white: #fff;
  --color-black: #000;
  --color-border: #e5e7eb;
  --color-bg-light: #f8f9fb;
  --font-family: "Lato", sans-serif;
}

/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: var(--font-family);
}

body {
  color: var(--color-text);
  background: var(--color-white);
}

a {
  color: var(--color-primary);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

img {
  max-width: 100%;
  height: auto;
}

/* Utilities */
.hidden { display: none !important; }
.text-center { text-align: center; }

a.link-neutral,
a.link-neutral:visited {
  text-decoration: none;
}

/* ======================================
   MOBILE TOP CALL BANNER
   ====================================== */

.mobile-call-banner {
  background: var(--color-primary);
  text-align: center;
  padding: 14px 16px;
}

.mobile-call-banner a {
  color: #fff;
  text-decoration: none;
  font-size: 16px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.mobile-call-banner a:hover {
  text-decoration: none;
}

.mobile-call-banner svg {
  width: 20px;
  height: 20px;
  color: var(--color-cta);
  flex-shrink: 0;
}

.mobile-call-banner .phone_number {
  font-weight: 700;
}

@media screen and (min-width: 769px) {
  .mobile-call-banner {
    display: none;
  }
}

/* ======================================
   SITE HEADER
   ====================================== */

.site-header {
  background: #fff;
  border-bottom: 1px solid #e5e7eb;
}

.site-header__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.site-header__brand {
  color: var(--color-primary);
  font-size: 18px;
  font-weight: 700;
  text-decoration: none;
  letter-spacing: 0.3px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.site-header__brand:hover {
  text-decoration: none;
  opacity: 0.85;
}

.site-header__icon {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
}

.site-header__right {
  display: flex;
  align-items: center;
  gap: 28px;
}

.site-header__cta {
  text-decoration: none;
  display: inline-flex;
  align-items: flex-start;
  gap: 8px;
  white-space: nowrap;
  background: none;
  padding: 0;
}

.site-header__cta-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #ff6a00;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
}

.site-header__cta-icon svg {
  width: 15px;
  height: 15px;
  color: #fff;
}

.site-header__cta-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.site-header__cta-label {
  font-size: 11px;
  font-weight: 400;
  color: #64748b;
}

.site-header__cta-phone {
  font-size: 16px;
  font-weight: 700;
  color: #1e293b;
}

.site-header__cta:hover {
  text-decoration: none;
}

.site-header__cta:hover .site-header__cta-icon {
  background: #e55d00;
}

/* ======================================
   LANGUAGE DROPDOWN
   ====================================== */

.hp-lang {
  position: relative;
}

.hp-lang__toggle {
  display: flex;
  align-items: center;
  gap: 6px;
  background: #f1f5f9;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  padding: 6px 12px;
  cursor: pointer;
  transition: all 0.2s;
  font-family: inherit;
}

.hp-lang__toggle:hover {
  background: #e2e8f0;
}

.hp-lang__flag {
  font-size: 16px;
  line-height: 1;
}

.hp-lang__code {
  color: var(--color-primary);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.5px;
}

.hp-lang__chevron {
  color: #64748b;
  transition: transform 0.2s;
}

.hp-lang__toggle[aria-expanded="true"] .hp-lang__chevron {
  transform: rotate(180deg);
}

.hp-lang__dropdown {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  min-width: 160px;
  padding: 6px;
  z-index: 1000;
  animation: langDropIn 0.15s ease-out;
}

@keyframes langDropIn {
  from { opacity: 0; transform: translateY(-4px); }
  to { opacity: 1; transform: translateY(0); }
}

.hp-lang__item {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 10px 12px;
  border: none;
  background: none;
  border-radius: 7px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
  color: #333;
  font-family: inherit;
  transition: background 0.15s;
}

.hp-lang__item:hover {
  background: #f0f4f8;
}

.hp-lang__item--active {
  background: #eef3f8;
  font-weight: 600;
  color: var(--color-primary);
}

.hp-lang__item .hp-lang__flag {
  font-size: 20px;
}

/* ======================================
   PAGE HERO (legal pages title section)
   ====================================== */

.page-hero {
  background: var(--color-primary);
  color: var(--color-white);
  text-align: center;
  padding: 48px 24px 52px;
}

.page-hero h1 {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 10px;
}

.page-hero p {
  font-size: 16px;
  font-weight: 300;
  opacity: 0.85;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.5;
}

/* ======================================
   SITE FOOTER
   ====================================== */

.site-footer {
  background-color: var(--color-primary);
  padding: 48px 0 32px;
  color: var(--color-white);
}

/* 4-column grid */
.site-footer__grid {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 48px;
}

/* Brand column */
.site-footer__brand-text {
  color: rgba(255, 255, 255, 0.75);
  font-size: 15px;
  line-height: 1.6;
  max-width: 300px;
}

/* Column headings */
.site-footer__col h4 {
  font-size: 17px;
  font-weight: 600;
  color: var(--color-white);
  margin: 0 0 16px;
}

/* Column lists */
.site-footer__col ul {
  list-style: none;
}

.site-footer__col li {
  margin-bottom: 6px;
  font-size: 14px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.7);
}

.site-footer__col li a {
  color: var(--color-white);
  text-decoration: none;
  transition: color 0.2s;
}

.site-footer__col li a:hover {
  color: var(--color-cta);
  text-decoration: none;
}

/* Disclaimer + Bottom bar */
.site-footer__bottom-area {
  max-width: 1200px;
  margin: 32px auto 0;
  padding: 16px 24px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.site-footer__disclaimer p {
  color: rgba(255, 255, 255, 0.55);
  font-size: 13px;
  line-height: 1.6;
  margin: 0 0 12px;
}

.site-footer__disclaimer a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.site-footer__disclaimer a:hover {
  color: #fff;
}

.site-footer__bottom {
  color: rgba(255, 255, 255, 0.6);
  font-size: 13px;
  text-align: left;
}

/* ======================================
   STICKY BOTTOM CALL BAR
   ====================================== */

.hp-call-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1000;
  background: var(--color-primary);
  text-decoration: none;
  color: #fff;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.2);
}

.hp-call-bar:hover {
  text-decoration: none;
}

.hp-call-bar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  max-width: 600px;
  margin: 0 auto;
}

.hp-call-bar__left {
  display: flex;
  align-items: center;
  gap: 14px;
}

.hp-call-bar__icon {
  width: 28px;
  height: 28px;
  color: var(--color-cta);
  flex-shrink: 0;
}

.hp-call-bar__text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.hp-call-bar__label {
  font-size: 12px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.75);
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.hp-call-bar__phone {
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.3px;
}

.hp-call-bar__btn {
  background: var(--color-cta);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  padding: 10px 24px;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  white-space: nowrap;
}

.site-footer {
  margin-bottom: 60px;
}

@media screen and (min-width: 1200px) {
  .hp-call-bar {
    display: none;
  }

  .site-footer {
    margin-bottom: 0;
  }
}

/* ======================================
   RESPONSIVE
   ====================================== */

@media screen and (max-width: 768px) {
  .site-header__inner {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 8px;
    align-items: center;
  }

  .site-header__brand {
    min-width: 0;
  }

  .site-header__right {
    display: contents;
  }

  .site-header__cta {
    display: none;
  }

  .page-hero {
    padding: 32px 20px 36px;
  }

  .page-hero h1 {
    font-size: 26px;
  }

  .site-footer__grid {
    grid-template-columns: 1fr;
    gap: 28px;
    text-align: left;
  }

  .site-footer__brand-text {
    max-width: none;
  }

  .site-footer__disclaimer p {
    text-align: left;
  }

}

@media screen and (min-width: 769px) and (max-width: 1024px) {
  .site-footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: 28px;
  }
}

@media screen and (min-width: 1200px) {
  .site-header__inner {
    padding: 18px 32px;
  }

  .site-header__brand {
    font-size: 22px;
    gap: 10px;
  }

  .site-header__icon {
    width: 34px;
    height: 34px;
  }

  .site-header__right {
    gap: 40px;
  }

  .site-header__cta-icon {
    width: 38px;
    height: 38px;
  }

  .site-header__cta-icon svg {
    width: 18px;
    height: 18px;
  }

  .site-header__cta-label {
    font-size: 13px;
  }

  .site-header__cta-phone {
    font-size: 19px;
  }
}
