/* The Language Connection — static rebuild */
:root {
  --navy: #1d4e6b;
  --blue: #3b8ec6;
  --ink: #58585a;
  --light: #f7f8f9;
  --rule: #e3e6e8;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: "Jost", "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  font-size: 17px;
  line-height: 1.75;
  background: #fff;
}
img { max-width: 100%; display: block; }
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }

/* Header */
header.site-header {
  padding: 24px 5vw 10px;
  text-align: center;
  position: relative;
  background: #fff;
}
.site-header .logo img { height: 86px; margin: 0 auto; width: auto; }
.site-header .phone {
  position: absolute; right: 5vw; top: 30px;
  color: var(--navy); font-weight: 600; letter-spacing: .08em; font-size: 14px;
}
nav.site-nav {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 28px;
  padding: 14px 4vw 18px;
  background: #fff;
}
nav.site-nav a {
  color: var(--navy);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 2px 0;
  border-bottom: 2px solid transparent;
}
nav.site-nav a:hover, nav.site-nav a.active { border-bottom-color: var(--blue); }

/* Hero */
.hero {
  position: relative;
  min-height: 72vh;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
  background: var(--navy);
}
.hero .video-bg {
  position: absolute; inset: 0; pointer-events: none;
}
.hero .video-bg iframe {
  position: absolute; top: 50%; left: 50%;
  width: 100vw; height: 56.25vw;
  min-height: 100%; min-width: 177.78vh;
  transform: translate(-50%, -50%);
  border: 0;
}
.hero .overlay { position: absolute; inset: 0; background: rgba(10, 35, 55, .45); }
.hero h1 {
  position: relative; z-index: 2;
  color: #fff; font-weight: 500;
  font-size: clamp(2rem, 5vw, 3.4rem);
  text-align: center; max-width: 820px; padding: 0 6vw;
  line-height: 1.25;
}
.hero .hero-text { position: relative; z-index: 2; text-align: center; }
.hero .hero-text h1 { padding-bottom: 0; }
.hero-sub {
  color: #dce9f3; font-size: clamp(1rem, 2vw, 1.25rem);
  letter-spacing: .06em; margin-top: 18px;
}
.trust-bar {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 48px;
  background: var(--navy); color: #cfdbe4;
  padding: 18px 6vw; font-size: 15px; letter-spacing: .04em;
  border-top: 1px solid rgba(255,255,255,.15);
}
.trust-bar strong { color: #fff; font-weight: 600; }
.hero.banner { min-height: 46vh; background-size: cover; background-position: center; }
.hero.banner h1 { font-size: clamp(2rem, 4.5vw, 3rem); }

/* Sections */
.section { padding: 70px 6vw; }
.section.light { background: var(--light); }
.wrap { max-width: 980px; margin: 0 auto; }
.wrap.narrow { max-width: 760px; }
h2.title { color: var(--navy); font-weight: 500; font-size: 2rem; text-align: center; margin-bottom: 36px; }
h3.sub { color: var(--navy); font-weight: 500; font-size: 1.35rem; margin: 28px 0 10px; }
.center { text-align: center; }
p + p { margin-top: 1.1em; }
.eyebrow {
  display: block; color: var(--blue); font-size: 13px; font-weight: 700;
  letter-spacing: .18em; text-transform: uppercase; margin-bottom: 8px;
}

hr.rule { border: 0; border-top: 1px solid var(--rule); margin: 56px auto; max-width: 980px; }

/* Buttons */
.btn {
  display: inline-block;
  border: 2px solid var(--navy);
  color: var(--navy);
  font-size: 13px; font-weight: 700;
  letter-spacing: .18em; text-transform: uppercase;
  padding: 14px 30px;
  transition: all .18s ease;
}
.btn:hover { background: var(--navy); color: #fff; text-decoration: none; }

/* Services grid */
.svc-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 46px 44px;
  max-width: 1060px; margin: 0 auto;
}
.svc h4 {
  color: var(--blue); font-size: 14px; font-weight: 700;
  letter-spacing: .16em; text-transform: uppercase; margin-bottom: 10px;
}
.svc { border-top: 1px solid var(--rule); padding-top: 22px; font-size: 16px; }

/* Testimonial */
.testimonial { background: var(--light); text-align: center; padding: 80px 8vw; }
.testimonial img.icon { width: 64px; margin: 0 auto 26px; }
.testimonial blockquote {
  font-size: 1.35rem; color: var(--navy); font-weight: 400;
  max-width: 820px; margin: 0 auto 22px; line-height: 1.55;
}
.testimonial cite {
  display: block; font-style: normal; font-size: 13px; font-weight: 700;
  letter-spacing: .16em; text-transform: uppercase; color: var(--ink);
}
.testimonial .note { font-size: 14px; margin-top: 26px; color: #8a8a8c; }

/* Team */
.member { max-width: 760px; margin: 0 auto 56px; }
.member h3 { color: var(--navy); font-weight: 500; font-size: 1.5rem; margin-bottom: 14px; text-align: center; }

/* FAQ */
.faq-q { margin-bottom: 34px; }
.faq-q h4 {
  color: var(--blue); font-size: 14px; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase; margin-bottom: 8px;
}
.faq-cat {
  color: var(--navy); font-weight: 500; font-size: 1.5rem;
  margin: 54px 0 24px; text-align: center;
}

/* Languages */
.lang-cols { columns: 4 170px; column-gap: 40px; text-align: center; max-width: 900px; margin: 0 auto; }
.lang-cols p { margin: 0 0 4px; break-inside: avoid; }
.lang-letter { font-weight: 700; color: var(--navy); margin-top: 18px; }

/* Contact / form */
.contact-info { text-align: center; margin-bottom: 40px; }
.contact-info p { margin: 4px 0; letter-spacing: .06em; }
.contact-info .big { color: var(--navy); font-weight: 600; }
form.contact-form { max-width: 680px; margin: 0 auto; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { margin-bottom: 20px; }
.field label { display: block; font-size: 14px; font-weight: 600; color: var(--navy); margin-bottom: 6px; letter-spacing: .04em; }
.field .req { color: #9aa0a4; font-weight: 400; font-size: 12px; }
.field input[type=text], .field input[type=email], .field input[type=tel],
.field select, .field textarea {
  width: 100%; padding: 12px 14px; font: inherit; color: var(--ink);
  border: 1px solid #cfd4d8; background: #fff; border-radius: 2px;
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--blue); border-color: var(--blue); }
.field .hint { font-size: 13.5px; color: #8a8a8c; margin-top: 6px; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 13.5px; color: #77797c; margin-bottom: 26px; }
.consent input { margin-top: 5px; }
button.btn { background: none; cursor: pointer; font-family: inherit; }

/* Footer */
footer.site-footer {
  background: var(--navy); color: #cfdbe4;
  padding: 56px 6vw; font-size: 15px;
}
footer .cols { display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; max-width: 1060px; margin: 0 auto; }
footer a { color: #fff; }
footer .fine { margin-top: 30px; text-align: center; font-size: 13px; color: #9db4c4; }

/* Legal pages */
.legal h2 { color: var(--navy); font-weight: 500; font-size: 1.6rem; margin: 40px 0 14px; }
.legal h3 { color: var(--blue); font-size: 15px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; margin: 28px 0 10px; }
.legal ul { margin: 12px 0 12px 24px; }
.legal li { margin-bottom: 8px; }

/* Testimonial rotator */
.quote-rotator { position: relative; max-width: 820px; margin: 0 auto 22px; min-height: 150px; }
.quote-rotator blockquote {
  position: absolute; inset: 0; margin: 0;
  opacity: 0; transition: opacity .6s ease; pointer-events: none;
}
.quote-rotator blockquote.active { opacity: 1; position: relative; pointer-events: auto; }
.testimonial .dots { margin-top: 22px; display: flex; justify-content: center; gap: 10px; }
.testimonial .dot {
  width: 10px; height: 10px; border-radius: 50%; border: 0; padding: 0;
  background: #c3ccd3; cursor: pointer; transition: background .2s;
}
.testimonial .dot.on { background: var(--navy); }

@media (max-width: 820px) {
  /* Skip the YouTube player on phones: static poster loads instantly */
  .hero .video-bg { display: none; }
  .hero {
    background-image: linear-gradient(rgba(10,35,55,.5),rgba(10,35,55,.5)), url('/assets/sharing.webp');
    background-size: cover; background-position: center;
    min-height: 60vh;
  }
  .svc-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  footer .cols { grid-template-columns: 1fr; }
  .site-header .phone { position: static; display: block; margin-top: 8px; }
}
