/* ============================================================
   Xivo — State Landing Pages  (assets/css/xivo-state-pages.css)
   Classes: .xsp-*
   Palette: ink #15202F · blue #3C7ABC · gold #D4A24C · cream #FBF8F3 · line #DBDFE7
   ============================================================ */

/* ──────────── BASE ──────────── */
.xivo-state-page { background: #FBF8F3; color: #15202F; }

/* ──────────── HERO ──────────── */
.xsp-hero {
  position: relative; overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: clamp(40px, 6vw, 100px);
  padding: clamp(80px, 10vw, 140px) clamp(24px, 7vw, 120px);
  background: #101319;
  color: #fff;
  min-height: 88vh;
}

/* background decoration */
.xsp-hero-bg { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.xsp-orb {
  position: absolute; border-radius: 50%; filter: blur(80px); opacity: .35;
}
.xsp-orb-a { width: 680px; height: 680px; top: -200px; right: -120px; background: #1d3a6e; }
.xsp-orb-b { width: 420px; height: 420px; bottom: -80px; left: -60px;  background: #2a1a50; opacity: .22; }
.xsp-orb-c { width: 280px; height: 280px; top: 40%;    left: 38%;      background: #0f2d5c; opacity: .18; }
.xsp-ring {
  position: absolute; border-radius: 50%;
  border: 1px solid rgba(143,190,238,.14);
  animation: xsp-spin 30s linear infinite;
}
.xsp-ring-a { width: 500px; height: 500px; top: -100px; right: -100px; }
.xsp-ring-b { width: 300px; height: 300px; bottom: 60px; left: -60px; animation-direction: reverse; animation-duration: 22s; }
.xsp-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(143,190,238,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(143,190,238,.05) 1px, transparent 1px);
  background-size: 60px 60px;
}
@keyframes xsp-spin { to { transform: rotate(360deg); } }

/* copy */
.xsp-kicker {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: #8FBEEE; margin: 0 0 24px;
}
.xsp-dot {
  display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: #3C7ABC;
}
.xsp-kicker i { display: inline-block; width: 40px; height: 1px; background: rgba(143,190,238,.4); }

.xsp-hero-copy h1 {
  font-size: clamp(46px, 5.5vw, 80px);
  line-height: 1.02; font-weight: 800;
  margin: 0 0 28px; color: #fff;
}
.xsp-hero-copy h1 em { color: #8FBEEE; font-style: normal; }

.xsp-lead {
  font-size: clamp(16px, 1.4vw, 20px); line-height: 1.65;
  color: rgba(255,255,255,.72); max-width: 520px; margin: 0 0 36px;
}

.xsp-hero-actions { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.xsp-scroll-link {
  font-size: 15px; font-weight: 600; color: rgba(255,255,255,.72);
  text-decoration: none; transition: color .2s;
}
.xsp-scroll-link:hover { color: #8FBEEE; }
.xsp-scroll-link span { display: inline-block; margin-left: 4px; transition: transform .2s; }
.xsp-scroll-link:hover span { transform: translateY(3px); }

/* hero contact-form panel */
.xsp-hero-visual {
  position: relative; display: flex; align-items: center; justify-content: center;
}
.xsp-hero-form-panel {
  position: relative; width: 100%; max-width: 440px;
  background: linear-gradient(160deg, rgba(255,255,255,.07), rgba(255,255,255,.025));
  border: 1px solid rgba(143,190,238,.22);
  border-radius: 26px; padding: 36px clamp(24px, 3vw, 38px);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 30px 80px rgba(0,0,0,.45);
}
.xsp-hero-form-eyebrow {
  font-size: 11px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase;
  color: #8FBEEE; margin: 0 0 10px;
}
.xsp-hero-form-title {
  font-size: clamp(22px, 2.2vw, 27px); font-weight: 800; line-height: 1.18;
  color: #fff; margin: 0 0 24px;
}
.xsp-hero-form-title span { color: #D4A24C; }
.xsp-hero-form { display: flex; flex-direction: column; gap: 12px; }
.xsp-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.xsp-hero-form input,
.xsp-hero-form textarea {
  width: 100%; border: 1px solid rgba(255,255,255,.16); border-radius: 12px;
  background: rgba(7,15,25,.4); color: #fff; outline: none; font: inherit; font-size: 14px;
  padding: 13px 15px; transition: border-color .2s, background .2s, transform .2s;
}
.xsp-hero-form input { height: 50px; }
.xsp-hero-form textarea { resize: vertical; min-height: 88px; }
.xsp-hero-form input::placeholder, .xsp-hero-form textarea::placeholder { color: rgba(255,255,255,.4); }
.xsp-hero-form input:focus, .xsp-hero-form textarea:focus {
  border-color: rgba(212,162,76,.6); background: rgba(10,21,36,.6); transform: translateY(-1px);
}
.xsp-hero-form-submit {
  margin-top: 6px; border: 0; cursor: pointer; height: 54px; border-radius: 12px;
  background: #D4A24C; color: #15202F; font-size: 15px; font-weight: 800;
  transition: transform .2s, filter .2s;
}
.xsp-hero-form-submit:hover { transform: translateY(-2px); filter: brightness(1.06); }
.xsp-hero-form-privacy { font-size: 11px; line-height: 1.5; color: rgba(255,255,255,.4); margin: 10px 0 0; }
.xsp-hero-form-privacy a { color: rgba(255,255,255,.6); }
.xsp-form-hp { position: absolute !important; left: -9999px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }
.xsp-form-notice {
  margin: 0 0 16px; padding: 11px 13px; border-radius: 10px; font-size: 12px;
  background: rgba(255,255,255,.08); color: #fff; border: 1px solid rgba(255,255,255,.14);
}
.xsp-form-notice.success { border-color: rgba(159,229,182,.35); }
.xsp-form-notice.error { border-color: rgba(255,154,154,.35); }
@media (max-width: 480px) { .xsp-form-row { grid-template-columns: 1fr; } }

.xsp-hero-serving {
  font-size: 13px; font-weight: 700; letter-spacing: .02em;
  color: #8FBEEE; margin: -22px 0 30px; max-width: 520px;
}

/* ──────────── TRUST STRIP ──────────── */
.xsp-trust-strip {
  display: flex; align-items: center; justify-content: center;
  flex-wrap: wrap; gap: 20px 32px;
  background: #fff; border-bottom: 1px solid #DBDFE7;
  padding: 18px clamp(24px, 6vw, 80px);
  font-size: 13px; font-weight: 700; letter-spacing: .04em;
  color: #15202F;
}
.xsp-divider { color: #DBDFE7; }

/* ──────────── WHO DOES THE WORK (TEAM) ──────────── */
.xsp-team-wrap {
  display: grid; grid-template-columns: .9fr 1.1fr;
  gap: clamp(40px, 6vw, 90px); align-items: center;
  padding: clamp(70px, 9vw, 110px) clamp(24px, 7vw, 120px);
  background: #fff; border-bottom: 1px solid #DBDFE7;
}
.xsp-team-copy .eyebrow { color: #3C7ABC; font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; margin: 0 0 14px; }
.xsp-team-copy h2 { font-size: clamp(30px, 3.4vw, 46px); font-weight: 800; line-height: 1.1; margin: 0 0 18px; color: #15202F; }
.xsp-team-copy h2 em { color: #3C7ABC; font-style: normal; }
.xsp-team-copy > p { font-size: 16px; color: #5b6470; line-height: 1.65; margin: 0 0 28px; max-width: 460px; }

.xsp-team-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.xsp-team-card {
  background: #FBF8F3; border: 1px solid #DBDFE7; border-radius: 18px;
  padding: 24px 20px; text-align: center;
  transition: transform .25s, box-shadow .25s, border-color .25s;
}
.xsp-team-card:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(21,32,47,.08); border-color: #3C7ABC; }
.xsp-team-avatar {
  display: grid; place-items: center; margin: 0 auto 14px;
  width: 52px; height: 52px; border-radius: 50%;
  background: linear-gradient(135deg, #3C7ABC, #15202F);
  color: #fff; font-weight: 800; font-size: 18px;
}
.xsp-team-card strong { display: block; font-size: 15px; font-weight: 800; color: #15202F; margin-bottom: 4px; }
.xsp-team-card p { font-size: 13px; color: #5b6470; margin: 0; line-height: 1.5; }

/* ──────────── SERVICES GRID ──────────── */
.xsp-services-wrap {
  padding: clamp(80px, 10vw, 120px) clamp(24px, 7vw, 120px);
}
.xsp-section-head { max-width: 680px; margin: 0 0 56px; }
.xsp-section-head h2 {
  font-size: clamp(36px, 4.2vw, 60px); line-height: 1.06;
  font-weight: 800; margin: 0 0 16px;
}
.xsp-section-head h2 em { color: #3C7ABC; font-style: normal; }
.xsp-section-sub { font-size: 17px; color: #5b6470; line-height: 1.6; margin: 0; }

.xsp-services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.xsp-service-card {
  background: #fff;
  border: 1px solid #DBDFE7;
  border-radius: 20px;
  padding: 32px 28px 28px;
  transition: transform .3s, box-shadow .3s, border-color .3s;
  display: flex; flex-direction: column; gap: 12px;
}
.xsp-service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 60px rgba(21,32,47,.1);
  border-color: #3C7ABC;
}
.xsp-service-icon { font-size: 32px; display: block; }
.xsp-service-card h3 { font-size: 20px; font-weight: 800; color: #15202F; margin: 0; }
.xsp-service-card p  { font-size: 15px; color: #5b6470; line-height: 1.6; margin: 0; flex: 1; }
.xsp-service-link {
  font-size: 14px; font-weight: 700; color: #3C7ABC;
  text-decoration: none; display: inline-flex; align-items: center; gap: 4px;
  transition: gap .2s;
}
.xsp-service-link:hover { gap: 8px; }
.xsp-service-link span { transition: transform .2s; }
.xsp-service-link:hover span { transform: translateX(3px); }

/* ──────────── BUSINESS / PERSONAL SPLIT ──────────── */
.xsp-split-wrap {
  padding: clamp(70px, 9vw, 110px) clamp(24px, 7vw, 120px);
  background: #FBF8F3; border-top: 1px solid #DBDFE7;
}
.xsp-split-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.xsp-split-col {
  background: #fff; border: 1px solid #DBDFE7; border-radius: 22px;
  padding: 34px 30px;
}
.xsp-split-col h3 {
  font-size: 20px; font-weight: 800; color: #15202F; margin: 0 0 22px;
  padding-bottom: 16px; border-bottom: 2px solid #D4A24C; display: inline-block;
}
.xsp-split-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 18px; }
.xsp-split-list li { padding-left: 24px; position: relative; }
.xsp-split-list li::before {
  content: ""; position: absolute; left: 0; top: 6px;
  width: 10px; height: 10px; border-radius: 50%; background: #3C7ABC;
}
.xsp-split-list strong { display: block; font-size: 15px; font-weight: 700; color: #15202F; margin-bottom: 4px; }
.xsp-split-list p { font-size: 14px; color: #5b6470; line-height: 1.55; margin: 0; }

/* ──────────── CITIES WE SERVE ──────────── */
.xsp-cities-wrap {
  background: #101319; color: #fff; text-align: center;
  padding: clamp(64px, 8vw, 96px) clamp(24px, 7vw, 120px);
}
.xsp-cities-wrap .eyebrow { color: #8FBEEE; font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; margin: 0 0 12px; }
.xsp-cities-wrap h2 { font-size: clamp(28px, 3.2vw, 42px); font-weight: 800; margin: 0 0 12px; color: #fff; }
.xsp-cities-sub { font-size: 15px; color: rgba(255,255,255,.65); max-width: 560px; margin: 0 auto 32px; line-height: 1.6; }
.xsp-cities-chips {
  list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap;
  justify-content: center; gap: 12px;
}
.xsp-cities-chips li {
  padding: 10px 20px; border-radius: 999px;
  border: 1px solid rgba(143,190,238,.3); background: rgba(255,255,255,.05);
  font-size: 14px; font-weight: 700; color: #fff;
}

/* ──────────── WHY XIVO ──────────── */
.xsp-why-wrap {
  background: #101319; color: #fff;
  padding: clamp(80px, 10vw, 120px) clamp(24px, 7vw, 120px);
}
.xsp-why-inner {
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 100px); align-items: center;
}
.xsp-why-copy .eyebrow { color: #8FBEEE; }
.xsp-why-copy h2 {
  font-size: clamp(34px, 4vw, 56px); font-weight: 800;
  line-height: 1.1; margin: 0 0 20px; color: #fff;
}
.xsp-why-copy h2 em { color: #8FBEEE; font-style: normal; }
.xsp-why-copy > p { color: rgba(255,255,255,.7); line-height: 1.7; margin: 0 0 32px; font-size: 17px; }

.xsp-why-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 24px; }
.xsp-why-item {
  display: flex; align-items: flex-start; gap: 16px;
  padding: 20px 22px;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(143,190,238,.15);
  border-radius: 16px;
}
.xsp-why-check {
  width: 36px; height: 36px; border-radius: 50%; flex: none;
  background: rgba(60,122,188,.22); border: 1px solid rgba(60,122,188,.4);
  display: grid; place-items: center; font-size: 14px; font-weight: 700; color: #8FBEEE;
}
.xsp-why-item strong { display: block; font-size: 16px; font-weight: 700; color: #fff; margin-bottom: 4px; }
.xsp-why-item p { font-size: 14px; color: rgba(255,255,255,.6); line-height: 1.55; margin: 0; }

/* ──────────── TAX FORMS ──────────── */
.xsp-forms-wrap {
  padding: clamp(80px, 10vw, 120px) clamp(24px, 7vw, 120px);
}
.xsp-forms-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}
.xsp-forms-group {
  background: #fff; border: 1px solid #DBDFE7;
  border-radius: 20px; padding: 30px 26px;
  position: relative; overflow: hidden;
}
.xsp-forms-group::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: linear-gradient(90deg, #3C7ABC, #D4A24C);
}
.xsp-forms-group h3 {
  font-size: 18px; font-weight: 800; color: #15202F; margin: 0 0 18px;
}
.xsp-forms-chips {
  list-style: none; margin: 0; padding: 0;
  display: flex; flex-wrap: wrap; gap: 10px;
}
.xsp-forms-chips li {
  padding: 8px 14px; border: 1px solid #DBDFE7; border-radius: 999px;
  font-size: 13px; font-weight: 700; color: #15202F; background: #FBF8F3;
  transition: border-color .2s, background .2s, color .2s;
}
.xsp-forms-chips li:hover { border-color: #3C7ABC; background: #EEF3FA; color: #3C7ABC; }

/* ──────────── FAQ ──────────── */
.xsp-faq-wrap {
  background: #FBF8F3;
  padding: clamp(80px, 10vw, 120px) clamp(24px, 7vw, 120px);
}
.xsp-faq-list { max-width: 760px; display: flex; flex-direction: column; gap: 12px; }
.xsp-faq-item {
  background: #fff; border: 1px solid #DBDFE7; border-radius: 16px;
  overflow: hidden; transition: border-color .2s, box-shadow .2s;
}
.xsp-faq-item[open] { border-color: #3C7ABC; box-shadow: 0 8px 30px rgba(60,122,188,.1); }
.xsp-faq-q {
  cursor: pointer; user-select: none;
  list-style: none;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 20px 24px;
  font-size: 16px; font-weight: 700; color: #15202F;
}
.xsp-faq-q::-webkit-details-marker { display: none; }
.xsp-faq-icon {
  width: 26px; height: 26px; border-radius: 50%; flex: none;
  border: 1px solid #DBDFE7; background: #FBF8F3;
  display: grid; place-items: center;
  font-size: 16px; color: #3C7ABC;
  transition: transform .25s, background .2s;
}
.xsp-faq-icon::after { content: "+"; }
.xsp-faq-item[open] .xsp-faq-icon { transform: rotate(45deg); background: #3C7ABC; color: #fff; border-color: #3C7ABC; }
.xsp-faq-a { padding: 0 24px 20px; }
.xsp-faq-a p { font-size: 15px; color: #5b6470; line-height: 1.65; margin: 0; }

/* ──────────── BOTTOM CTA ──────────── */
.xsp-cta-band {
  background: linear-gradient(135deg, #0f1c36 0%, #101319 100%);
  border-top: 1px solid rgba(143,190,238,.15);
  padding: clamp(80px, 10vw, 120px) clamp(24px, 7vw, 120px);
  display: flex; align-items: center; justify-content: space-between;
  gap: 40px; flex-wrap: wrap;
}
.xsp-cta-content .eyebrow { color: #8FBEEE; }
.xsp-cta-content h2 {
  font-size: clamp(30px, 3.6vw, 50px); font-weight: 800;
  color: #fff; margin: 0 0 14px; line-height: 1.1;
}
.xsp-cta-content > p { font-size: 16px; color: rgba(255,255,255,.65); margin: 0; }
.xsp-cta-actions { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.xsp-cta-secondary {
  font-size: 15px; font-weight: 600; color: rgba(255,255,255,.6);
  text-decoration: none; transition: color .2s;
}
.xsp-cta-secondary:hover { color: #8FBEEE; }
.xsp-cta-secondary span { margin-left: 4px; }

/* Same band, used again near the top (right under the team section) so
   visitors can reach out immediately without scrolling the whole page. */
.xsp-cta-band--top {
  border-top: none;
  padding: clamp(48px, 6vw, 72px) clamp(24px, 7vw, 120px);
}

/* ──────────── RESPONSIVE ──────────── */
@media (max-width: 1100px) {
  .xsp-hero { grid-template-columns: 1fr; }
  .xsp-hero-visual { margin-top: 8px; }
  .xsp-team-wrap { grid-template-columns: 1fr; }
  .xsp-services-grid { grid-template-columns: repeat(2, 1fr); }
  .xsp-split-grid { grid-template-columns: 1fr; }
  .xsp-why-inner { grid-template-columns: 1fr; }
  .xsp-forms-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 700px) {
  .xsp-hero-serving { margin-top: -14px; }
  .xsp-team-grid { grid-template-columns: 1fr 1fr; }
  .xsp-services-grid { grid-template-columns: 1fr; }
  .xsp-forms-grid { grid-template-columns: 1fr; }
  .xsp-cta-band { flex-direction: column; align-items: flex-start; }
  .xsp-trust-strip { justify-content: flex-start; }
  .xsp-divider { display: none; }
}

/* ──────────── HEADER "STATES WE SERVE" DROPDOWN ──────────── */
/* Fallback-nav only (when WP nav menu is not set) */
.site-header .fallback-states-menu {
  position: relative; cursor: pointer;
}
.site-header .fallback-states-dropdown {
  position: absolute; top: calc(100% + 14px); left: 50%;
  transform: translateX(-50%);
  min-width: 220px; padding: 10px;
  opacity: 0; pointer-events: none; visibility: hidden;
  transition: opacity .22s, transform .22s, visibility .22s;
  transform-origin: top center;
}
.site-header .fallback-states-menu:hover .fallback-states-dropdown,
.site-header .fallback-states-menu:focus-within .fallback-states-dropdown {
  opacity: 1; pointer-events: auto; visibility: visible; transform: translateX(-50%) translateY(0);
}
.site-header .fallback-states-dropdown a {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 14px; border-radius: 9px;
  font-size: 14px; font-weight: 600;
  transition: background .18s, color .18s;
}
.site-header .fallback-states-dropdown .xsp-state-flag {
  font-size: 18px; line-height: 1;
}
.site-header .fallback-states-dropdown .xsp-state-info small {
  display: block; font-size: 10px; font-weight: 700; letter-spacing:.08em;
  text-transform: uppercase; color: rgba(255,255,255,.4); margin-bottom: 1px;
}
.site-header .fallback-states-dropdown .xsp-state-info strong {
  display: block; font-size: 14px; color: rgba(255,255,255,.9);
}
