/* Language Bridge — Customer Website — Admin Hub color palette */

@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,400;0,9..40,500;0,9..40,600;0,9..40,700;1,9..40,400&display=swap');

:root {
  /* Primary: navy blue (replacing previous blue) — white/neutral remain primary background */
  --primary: rgb(33, 57, 105);
  --primary-light: rgb(55, 85, 140);
  --teal: var(--primary);
  --teal-light: var(--primary-light);
  --gold: rgb(255, 200, 67);
  --green: rgb(186, 191, 51);
  --dark-gray: rgb(77, 77, 79);
  --light-teal: rgb(185, 200, 211);
  --red: rgb(187, 31, 83);
  --bg: #fff;
  --surface: rgb(245, 245, 246);
  --surface-elevated: rgb(235, 236, 238);
  --border: rgba(77, 77, 79, 0.25);
  --text: var(--dark-gray);
  --text-muted: rgba(77, 77, 79, 0.75);
  --accent: var(--primary);
  --accent-hover: var(--primary-light);
  --accent-muted: rgba(33, 57, 105, 0.12);
  --success: var(--green);
  --highlight: var(--gold);
  --negative: var(--red);
  --radius: 12px;
  --radius-lg: 20px;
  --font-sans: "DM Sans", system-ui, sans-serif;
  --shadow: 0 4px 20px rgba(33, 57, 105, 0.08);
  --shadow-lg: 0 12px 40px rgba(33, 57, 105, 0.12);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

body > main {
  flex: 1;
}

/* Site header */
.site-header {
  background: var(--teal);
  color: #fff;
  padding: 0.75rem 1.5rem;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--shadow);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  max-width: 1200px;
  margin: 0 auto;
}

.site-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  color: #fff;
  font-weight: 700;
  font-size: 1.35rem;
}

.site-logo .logo-icon {
  color: var(--gold);
  font-size: 1.5rem;
}

.site-logo .logo-img {
  height: 40px;
  width: auto;
  display: block;
  object-fit: contain;
}

.site-footer .logo-img-footer {
  height: 36px;
  width: auto;
  margin-bottom: 0.5rem;
  display: block;
  object-fit: contain;
  opacity: 0.95;
}

.hero-logo {
  margin-bottom: 0.5rem;
}

.hero-logo img {
  height: 56px;
  width: auto;
  display: inline-block;
  object-fit: contain;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  flex-wrap: wrap;
}

.site-nav a {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  padding: 0.5rem 0.85rem;
  border-radius: var(--radius);
  font-weight: 500;
  transition: background 0.2s, color 0.2s;
}

.site-nav a:hover,
.site-nav a.active {
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 10px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: var(--radius);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  height: 2px;
  background: #fff;
  border-radius: 1px;
  transition: transform 0.2s, opacity 0.2s;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Container */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Hero */
.hero {
  background: linear-gradient(135deg, var(--teal) 0%, var(--teal-light) 50%, rgba(33, 57, 105, 0.9) 100%);
  color: #fff;
  padding: 4rem 1.5rem 5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.06'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.5;
}

.hero .container {
  position: relative;
  z-index: 1;
}

.hero h1 {
  margin: 0 0 1rem;
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  line-height: 1.2;
}

.hero .tagline {
  font-size: 1.2rem;
  opacity: 0.95;
  max-width: 600px;
  margin: 0 auto 2rem;
}

.hero-cta {
  display: inline-flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  justify-content: center;
}

.btn {
  display: inline-block;
  padding: 0.85rem 1.75rem;
  border-radius: var(--radius);
  font-weight: 600;
  font-family: var(--font-sans);
  font-size: 1rem;
  text-decoration: none;
  transition: background 0.2s, color 0.2s, transform 0.15s;
  border: none;
  cursor: pointer;
}

.btn-primary {
  background: var(--gold);
  color: var(--dark-gray);
}

.btn-primary:hover {
  background: rgb(255, 210, 90);
  transform: translateY(-1px);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
  border: 2px solid rgba(255, 255, 255, 0.6);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.3);
  border-color: #fff;
}

/* Sections */
.section {
  padding: 4rem 1.5rem;
}

.section-alt {
  background: var(--surface);
}

.section-heading {
  text-align: center;
  margin-bottom: 2.5rem;
}

.section-heading h2 {
  margin: 0 0 0.5rem;
  font-size: 1.85rem;
  color: var(--teal);
}

.section-heading p {
  margin: 0;
  color: var(--text-muted);
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

/* Cards grid */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  max-width: 1100px;
  margin: 0 auto;
}

.card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  transition: box-shadow 0.2s, transform 0.2s;
}

.card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}

.card-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius);
  background: var(--accent-muted);
  color: var(--teal);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.2rem;
  color: var(--teal);
}

.card p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* States strip */
.states-strip {
  background: var(--teal);
  color: #fff;
  padding: 1rem 1.5rem;
  text-align: center;
}

.states-strip .container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.5rem 1.5rem;
}

.states-strip strong {
  color: var(--gold);
  margin-right: 0.25rem;
}

/* Service area map */
.container--map {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  max-width: 820px;
}

.service-area-map {
  width: 100%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  background: #fff;
  padding: 0.75rem;
}

.service-area-map__img {
  display: block;
  width: 100%;
  height: auto;
}

.service-area-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 2rem;
  justify-content: center;
  align-items: center;
}

.legend-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.95rem;
  color: var(--text);
}

.legend-swatch {
  width: 1.25rem;
  height: 1.25rem;
  border-radius: 4px;
  flex-shrink: 0;
  border: 1px solid rgba(77, 77, 79, 0.3);
}

.legend-swatch--in-person {
  background: var(--primary);
}

.legend-swatch--nationwide {
  background: rgba(33, 57, 105, 0.18);
}

.service-area-legend--about {
  max-width: 640px;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.75rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  width: 100%;
}

.service-area-legend--about .legend-item {
  font-size: 1rem;
  line-height: 1.45;
}

.legend-dot {
  width: 1rem;
  height: 1rem;
  flex-shrink: 0;
  border-radius: 50%;
  background: #fff;
  border: 2px solid rgb(33, 57, 105);
  position: relative;
}

.legend-dot--hq::after {
  content: "";
  position: absolute;
  width: 0.55rem;
  height: 0.55rem;
  background: rgb(187, 31, 83);
  border-radius: 50%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.about-map-summary {
  max-width: 640px;
  text-align: center;
}

.about-map-summary p {
  color: var(--text-muted);
  margin: 0 0 0.75rem;
  font-size: 0.95rem;
  line-height: 1.6;
}

/* Page header (for inner pages) */
.page-header {
  background: linear-gradient(135deg, var(--teal), var(--teal-light));
  color: #fff;
  padding: 2.5rem 1.5rem;
  text-align: center;
}

.page-header h1 {
  margin: 0 0 0.25rem;
  font-size: 2rem;
}

.page-header p {
  margin: 0;
  opacity: 0.9;
  font-size: 1rem;
}

/* Content */
.page-content {
  padding: 3rem 1.5rem;
  max-width: 800px;
  margin: 0 auto;
}

.page-content h2 {
  color: var(--teal);
  font-size: 1.4rem;
  margin-top: 2rem;
  margin-bottom: 0.75rem;
}

.page-content h2:first-child {
  margin-top: 0;
}

.page-content p,
.page-content ul {
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.page-content ul {
  padding-left: 1.5rem;
}

.page-content a {
  color: var(--teal);
  font-weight: 500;
}

.page-content a:hover {
  color: var(--teal-light);
  text-decoration: none;
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.contact-card {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 1.5rem;
  border: 1px solid var(--border);
}

.contact-card h3 {
  margin: 0 0 0.5rem;
  color: var(--teal);
  font-size: 1.1rem;
}

.contact-card p,
.contact-card a {
  margin: 0;
  color: var(--text);
  text-decoration: none;
}

.contact-card a:hover {
  color: var(--teal);
}

/* Contact form */
.contact-form-wrap {
  max-width: 560px;
  margin: 3rem auto 0;
}

.contact-form-wrap h2 {
  text-align: center;
  color: var(--teal);
  font-size: 1.4rem;
  margin: 0 0 0.5rem;
}

.contact-form-wrap > p {
  text-align: center;
  color: var(--text-muted);
  margin: 0 0 1.5rem;
}

.contact-form {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
}

.form-row {
  margin-bottom: 1.1rem;
}

.form-row label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--teal);
  margin-bottom: 0.35rem;
}

.form-row input,
.form-row select,
.form-row textarea {
  width: 100%;
  padding: 0.7rem 0.85rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-family: var(--font-sans);
  font-size: 1rem;
  color: var(--text);
  background: #fff;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  outline: none;
  border-color: var(--teal);
  box-shadow: 0 0 0 3px var(--accent-muted);
}

.form-row textarea {
  min-height: 120px;
  resize: vertical;
}

.form-row--optional label::after {
  content: " (optional)";
  font-weight: 400;
  color: var(--text-muted);
}

.form-actions {
  text-align: center;
  margin-top: 1.25rem;
}

.form-note {
  text-align: center;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 1rem;
}

.form-success {
  background: rgba(186, 191, 51, 0.15);
  border: 1px solid var(--green);
  color: var(--dark-gray);
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
  margin-bottom: 2rem;
  text-align: center;
  font-weight: 500;
}

/* FAQ */
.faq-list {
  max-width: 720px;
  margin: 0 auto;
}

.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 0.75rem;
  background: #fff;
  overflow: hidden;
}

.faq-item summary {
  padding: 1rem 1.25rem;
  font-weight: 600;
  color: var(--teal);
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  font-size: 1.25rem;
  font-weight: 400;
  color: var(--text-muted);
  flex-shrink: 0;
}

.faq-item[open] summary::after {
  content: "−";
}

.faq-item summary:hover {
  background: var(--surface);
}

.faq-item p {
  margin: 0;
  padding: 0 1.25rem 1.15rem;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* Languages grid */
.languages-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
  max-width: 800px;
  margin: 0 auto 1.5rem;
}

.language-tag {
  background: var(--accent-muted);
  color: var(--teal);
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 500;
}

.languages-note {
  text-align: center;
  color: var(--text-muted);
  max-width: 560px;
  margin: 0 auto;
  font-size: 0.95rem;
}

.languages-note a {
  color: var(--teal);
  font-weight: 500;
}

.faq-item p a {
  color: var(--teal);
  font-weight: 500;
}

/* Footer */
.site-footer {
  background: var(--dark-gray);
  color: var(--light-teal);
  padding: 2.5rem 1.5rem 1.5rem;
  margin-top: auto;
}

.site-footer .container {
  max-width: 1100px;
  margin: 0 auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-grid h4 {
  color: #fff;
  font-size: 0.95rem;
  margin: 0 0 0.75rem;
}

.footer-grid a,
.footer-grid p {
  color: var(--light-teal);
  text-decoration: none;
  font-size: 0.9rem;
  margin: 0 0 0.35rem;
  display: block;
}

.footer-grid a:hover {
  color: var(--gold);
}

.footer-bottom {
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  text-align: center;
  font-size: 0.85rem;
  color: var(--light-teal);
  opacity: 0.9;
}

/* Careers */
.job-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.job-list li {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  margin-bottom: 1rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.job-list li h3 {
  margin: 0 0 0.25rem;
  font-size: 1.1rem;
  color: var(--teal);
}

.job-list li p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* Decorative graphics */
.graphic-wave {
  height: 56px;
  margin-top: -1px;
  background: transparent;
}

.graphic-wave svg {
  width: 100%;
  height: 100%;
  fill: #fff;
  display: block;
}

/* Responsive */
@media (max-width: 768px) {
  .nav-toggle {
    display: flex;
  }

  .site-nav {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    padding-top: 0.5rem;
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    padding: 0.65rem 0.85rem;
    text-align: center;
  }

  .site-header .container {
    justify-content: center;
  }

  .site-logo {
    flex: 1;
  }
}

@media (max-width: 640px) {
  .hero {
    padding: 3rem 1rem 4rem;
  }
  .section {
    padding: 3rem 1rem;
  }
}
