/* Borrowed BI site styles */

:root {
  --navy: #062A67;
  --navy-dark: #001746;
  --teal: #0F9F96;
  --slate: #6B84A3;
  --charcoal: #4C4C4C;
  --gold: #F5B51B;
  --white: #FFFFFF;
  --soft-white: #F8F8F8;
  --mist: #EEF3F5;
  --text: #162033;
  --muted: #5D6B7A;
  --border: #DDE5EA;
  --shadow: 0 20px 50px rgba(0, 23, 70, 0.10);
  --radius: 22px;
  --max-width: 1160px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background: var(--soft-white);
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  width: min(var(--max-width), calc(100% - 40px));
  margin: 0 auto;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  font-weight: 750;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
  cursor: pointer;
  white-space: nowrap;
}

.btn:hover { transform: translateY(-2px); }

.btn-primary {
  color: var(--navy-dark);
  background: var(--gold);
  box-shadow: 0 12px 24px rgba(245, 181, 27, 0.28);
}

.btn-secondary {
  color: var(--navy);
  border: 1px solid rgba(6, 42, 103, 0.18);
  background: rgba(255, 255, 255, 0.75);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(18px);
  background: rgba(248, 248, 248, 0.92);
  border-bottom: 1px solid rgba(221, 229, 234, 0.75);
}

.nav {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  min-width: fit-content;
}

.brand-logo {
  width: 205px;
  height: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
  font-size: 0.93rem;
  color: var(--navy);
  font-weight: 650;
}

.nav-links a {
  opacity: 0.9;
}

.nav-links a:hover,
.nav-links a.active {
  opacity: 1;
  color: var(--teal);
}

.nav-links .btn {
  margin-left: 4px;
}

.hero,
.page-hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 82% 12%, rgba(15, 159, 150, 0.13), transparent 31%),
    radial-gradient(circle at 12% 22%, rgba(107, 132, 163, 0.15), transparent 34%),
    linear-gradient(180deg, #ffffff 0%, var(--soft-white) 100%);
}

.hero {
  padding: 92px 0 72px;
}

.page-hero {
  padding: 84px 0 54px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
  gap: 56px;
  align-items: center;
}

.page-hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--teal);
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 34px;
  height: 2px;
  background: var(--gold);
  border-radius: 999px;
}

h1 {
  margin: 18px 0 22px;
  color: var(--navy-dark);
  font-size: clamp(2.75rem, 7vw, 5.7rem);
  line-height: 0.96;
  letter-spacing: -0.07em;
}

.page-hero h1 {
  font-size: clamp(2.6rem, 5.8vw, 5rem);
}

.hero-copy,
.page-copy {
  max-width: 720px;
  color: var(--muted);
  font-size: clamp(1.08rem, 2vw, 1.28rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.hero-card,
.page-card {
  position: relative;
  padding: 30px;
  border: 1px solid rgba(221, 229, 234, 0.85);
  border-radius: 32px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: var(--shadow);
}

.hero-card::before,
.page-card::before {
  content: "";
  position: absolute;
  inset: 18px 18px auto auto;
  width: 60px;
  height: 4px;
  border-radius: 999px;
  background: var(--gold);
}

.mini-dashboard {
  min-height: 400px;
  display: grid;
  gap: 18px;
}

.metric-card {
  border: 1px solid var(--border);
  border-radius: 22px;
  background: var(--white);
  padding: 20px;
}

.metric-card h3 {
  margin: 0 0 8px;
  color: var(--navy-dark);
  font-size: 0.92rem;
  text-transform: uppercase;
  letter-spacing: 0.11em;
}

.metric-card .big {
  font-size: 2.3rem;
  line-height: 1;
  font-weight: 850;
  color: var(--navy);
  letter-spacing: -0.05em;
}

.metric-card p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.bars {
  height: 150px;
  display: flex;
  align-items: end;
  gap: 12px;
  padding-top: 18px;
}

.bar {
  flex: 1;
  border-radius: 12px 12px 4px 4px;
  background: linear-gradient(180deg, var(--teal), var(--navy));
  opacity: 0.92;
}

.bar:nth-child(1) { height: 38%; }
.bar:nth-child(2) { height: 58%; background: linear-gradient(180deg, var(--slate), var(--navy)); }
.bar:nth-child(3) { height: 72%; }
.bar:nth-child(4) { height: 48%; background: linear-gradient(180deg, var(--gold), var(--teal)); }
.bar:nth-child(5) { height: 86%; }

section {
  padding: 78px 0;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 38px;
}

.section-heading h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.3rem);
  line-height: 1.02;
  letter-spacing: -0.055em;
  color: var(--navy-dark);
}

.section-heading p {
  margin: 18px 0 0;
  font-size: 1.1rem;
  color: var(--muted);
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}

.service-card,
.process-card,
.proof-card,
.detail-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--white);
  padding: 26px;
  box-shadow: 0 10px 28px rgba(0, 23, 70, 0.055);
}

.service-card.link-card {
  display: block;
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

.service-card.link-card:hover {
  transform: translateY(-4px);
  border-color: rgba(15, 159, 150, 0.45);
  box-shadow: 0 18px 38px rgba(0, 23, 70, 0.09);
}

.service-card .number,
.process-card .number,
.detail-card .number {
  color: var(--teal);
  font-weight: 850;
  letter-spacing: 0.1em;
  font-size: 0.8rem;
  text-transform: uppercase;
}

.service-card h3,
.process-card h3,
.proof-card h3,
.detail-card h3 {
  margin: 14px 0 10px;
  color: var(--navy-dark);
  font-size: 1.35rem;
  line-height: 1.15;
  letter-spacing: -0.03em;
}

.service-card p,
.process-card p,
.proof-card p,
.detail-card p {
  margin: 0;
  color: var(--muted);
}

.card-link {
  display: inline-flex;
  margin-top: 18px;
  color: var(--teal);
  font-weight: 800;
}

.dark-section {
  color: var(--white);
  background:
    radial-gradient(circle at 78% 18%, rgba(15, 159, 150, 0.20), transparent 34%),
    linear-gradient(135deg, var(--navy-dark), #041F4C);
}

.dark-section .section-heading h2,
.dark-section h2,
.dark-section h3 {
  color: var(--white);
}

.dark-section .section-heading p,
.dark-section p {
  color: rgba(255, 255, 255, 0.76);
}

.dark-section .service-card,
.dark-section .process-card,
.dark-section .proof-card,
.dark-section .detail-card {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.12);
  box-shadow: none;
}

.split {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 46px;
  align-items: start;
}

.checklist {
  display: grid;
  gap: 14px;
  margin-top: 0;
}

.check-item {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 12px;
  align-items: start;
  color: var(--muted);
}

.dark-section .check-item {
  color: rgba(255, 255, 255, 0.80);
}

.check-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  background: var(--teal);
  font-size: 0.9rem;
  font-weight: 900;
  margin-top: 1px;
}

.detail-list {
  display: grid;
  gap: 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.detail-list li {
  padding: 18px 0;
  border-bottom: 1px solid var(--border);
}

.detail-list li:last-child {
  border-bottom: 0;
}

.detail-list strong {
  display: block;
  color: var(--navy-dark);
  font-size: 1.03rem;
  margin-bottom: 4px;
}

.price-note {
  margin-top: 24px;
  padding: 20px;
  border-radius: 18px;
  background: rgba(15, 159, 150, 0.09);
  color: var(--navy);
  border: 1px solid rgba(15, 159, 150, 0.18);
}

.cta {
  padding: 74px 0;
}

.cta-box {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 28px;
  align-items: center;
  padding: 42px;
  border-radius: 32px;
  background: var(--white);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.cta-box h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.02;
  letter-spacing: -0.055em;
  color: var(--navy-dark);
}

.cta-box p {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 1.06rem;
  max-width: 720px;
}

.site-footer {
  padding: 38px 0;
  color: rgba(255, 255, 255, 0.68);
  background: var(--navy-dark);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.footer-inner .brand-logo {
  filter: brightness(0) invert(1);
  opacity: 0.95;
}

.footer-links {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  font-size: 0.92rem;
}

.footer-links a:hover {
  color: var(--white);
}

@media (max-width: 1020px) {
  .nav-links {
    gap: 15px;
    font-size: 0.88rem;
  }

  .brand-logo {
    width: 185px;
  }
}

@media (max-width: 920px) {
  .nav {
    align-items: flex-start;
    padding: 14px 0;
    height: auto;
    flex-direction: column;
  }

  .nav-links {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .nav-links .btn {
    display: none;
  }

  .hero {
    padding-top: 64px;
  }

  .hero-grid,
  .page-hero-grid,
  .split,
  .cta-box {
    grid-template-columns: 1fr;
  }

  .grid-3,
  .grid-2 {
    grid-template-columns: 1fr;
  }

  .cta-box {
    padding: 32px;
  }
}

@media (max-width: 560px) {
  .container {
    width: min(100% - 28px, var(--max-width));
  }

  .brand-logo {
    width: 180px;
  }

  h1 {
    font-size: 3.1rem;
  }

  section {
    padding: 58px 0;
  }

  .hero-card,
  .page-card {
    padding: 22px;
  }

  .metric-card .big {
    font-size: 1.9rem;
  }
}


.timeline {
  display: grid;
  gap: 18px;
  counter-reset: process-step;
}

.timeline-item {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 22px;
  align-items: start;
  padding: 26px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 10px 28px rgba(0, 23, 70, 0.055);
}

.timeline-number {
  width: 58px;
  height: 58px;
  border-radius: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(15, 159, 150, 0.10);
  color: var(--teal);
  font-weight: 900;
  font-size: 1.15rem;
}

.timeline-content h3 {
  margin: 0 0 8px;
  color: var(--navy-dark);
  font-size: 1.35rem;
  line-height: 1.14;
  letter-spacing: -0.03em;
}

.timeline-content p {
  margin: 0;
  color: var(--muted);
}

.timeline-content ul {
  margin: 14px 0 0;
  padding-left: 20px;
  color: var(--muted);
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 28px;
  align-items: start;
}

.contact-card {
  border: 1px solid var(--border);
  border-radius: 28px;
  background: var(--white);
  padding: 30px;
  box-shadow: var(--shadow);
}

.contact-card h2,
.contact-card h3 {
  margin: 0 0 12px;
  color: var(--navy-dark);
  letter-spacing: -0.04em;
  line-height: 1.08;
}

.contact-card h2 {
  font-size: clamp(2rem, 4vw, 3rem);
}

.contact-card h3 {
  font-size: 1.5rem;
}

.contact-card p {
  margin: 0 0 18px;
  color: var(--muted);
}

.contact-method {
  display: block;
  padding: 18px;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: rgba(15, 159, 150, 0.05);
  margin-top: 14px;
}

.contact-method strong {
  display: block;
  color: var(--navy-dark);
  margin-bottom: 4px;
}

.contact-method span {
  color: var(--muted);
}

.intake-list {
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 12px;
}

.intake-list li {
  position: relative;
  padding-left: 26px;
  color: var(--muted);
}

.intake-list li::before {
  content: "?";
  position: absolute;
  left: 0;
  top: 1px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--teal);
  color: var(--white);
  font-size: 0.72rem;
  font-weight: 900;
}

.simple-form {
  display: grid;
  gap: 14px;
}

.simple-form label {
  display: grid;
  gap: 7px;
  color: var(--navy-dark);
  font-weight: 750;
}

.simple-form input,
.simple-form select,
.simple-form textarea {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--white);
  padding: 13px 14px;
  color: var(--text);
  font: inherit;
}

.simple-form textarea {
  min-height: 150px;
  resize: vertical;
}

.form-note {
  margin-top: 12px;
  color: var(--muted);
  font-size: 0.92rem;
}

@media (max-width: 920px) {
  .timeline-item,
  .contact-grid {
    grid-template-columns: 1fr;
  }
}


.form-alert {
  margin: 0 0 18px;
  padding: 15px 16px;
  border-radius: 16px;
  background: rgba(245, 181, 27, 0.10);
  border: 1px solid rgba(245, 181, 27, 0.35);
  color: var(--navy-dark);
  font-size: 0.95rem;
}

.form-alert strong {
  display: block;
  margin-bottom: 3px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.simple-form button {
  border: 0;
  margin-top: 4px;
}

@media (max-width: 700px) {
  .form-row {
    grid-template-columns: 1fr;
  }
}


/* Editorial contact page */

.editorial-contact {
  min-height: calc(100vh - 82px);
  padding: 72px 0;
  color: var(--white);
  background:
    linear-gradient(rgba(0, 23, 70, 0.82), rgba(0, 23, 70, 0.86)),
    radial-gradient(circle at 85% 18%, rgba(15, 159, 150, 0.34), transparent 34%),
    linear-gradient(135deg, #0B3146 0%, #203544 50%, #4C4C4C 100%);
}

.editorial-contact-grid {
  display: grid;
  grid-template-columns: 0.86fr 1.14fr;
  gap: clamp(42px, 7vw, 86px);
  align-items: start;
}

.editorial-contact-copy h1 {
  margin: 16px 0 34px;
  color: var(--white);
  font-size: clamp(4rem, 9vw, 8.5rem);
  line-height: 0.82;
  letter-spacing: -0.075em;
  text-transform: uppercase;
}

.light-eyebrow {
  color: #75D4CB;
}

.light-eyebrow::before {
  background: var(--gold);
}

.contact-block {
  max-width: 410px;
  margin-top: 34px;
}

.contact-block h2,
.editorial-form-wrap h2 {
  margin: 0 0 14px;
  color: var(--white);
  font-size: 1.05rem;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: 0.10em;
}

.contact-block p {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 1rem;
}

.contact-block a {
  display: inline-flex;
  margin-top: 12px;
  color: #75D4CB;
  font-weight: 800;
}

.editorial-form-wrap {
  padding-top: 8px;
}

.quick-links {
  display: grid;
  grid-template-columns: 1fr;
  gap: 9px;
  max-width: 470px;
  margin: 0 0 44px auto;
}

.quick-links a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid rgba(255, 255, 255, 0.34);
  background: rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.90);
  font-weight: 800;
  font-size: 0.84rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: background 150ms ease, transform 150ms ease, border-color 150ms ease;
}

.quick-links a::after {
  content: "›";
  font-size: 1.2rem;
  color: #75D4CB;
}

.quick-links a:hover {
  transform: translateX(4px);
  background: rgba(255, 255, 255, 0.22);
  border-color: rgba(117, 212, 203, 0.74);
}

.editorial-form {
  display: grid;
  gap: 12px;
}

.editorial-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.editorial-form label {
  display: grid;
  gap: 0;
}

.editorial-form label span {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.editorial-form input,
.editorial-form select,
.editorial-form textarea {
  width: 100%;
  min-height: 46px;
  border: 2px solid rgba(255, 255, 255, 0.66);
  border-radius: 0;
  background: rgba(255, 255, 255, 0.03);
  color: var(--white);
  padding: 0 14px;
  font: inherit;
  font-size: 0.92rem;
  font-weight: 750;
  letter-spacing: 0.035em;
  text-transform: uppercase;
  outline: none;
  transition: border-color 150ms ease, background 150ms ease, box-shadow 150ms ease;
}

.editorial-form select {
  appearance: none;
  background-image:
    linear-gradient(45deg, transparent 50%, rgba(255, 255, 255, 0.85) 50%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.85) 50%, transparent 50%);
  background-position:
    calc(100% - 18px) 19px,
    calc(100% - 12px) 19px;
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
}

.editorial-form select option {
  color: var(--navy-dark);
  background: var(--white);
}

.editorial-form textarea {
  min-height: 112px;
  padding-top: 14px;
  resize: vertical;
  line-height: 1.45;
}

.editorial-form input::placeholder,
.editorial-form textarea::placeholder {
  color: rgba(255, 255, 255, 0.58);
}

.editorial-form input:focus,
.editorial-form select:focus,
.editorial-form textarea:focus {
  border-color: #75D4CB;
  background: rgba(255, 255, 255, 0.07);
  box-shadow: 0 0 0 4px rgba(117, 212, 203, 0.10);
}

.editorial-form button {
  justify-self: start;
  min-width: 260px;
  min-height: 46px;
  border: 2px solid rgba(255, 255, 255, 0.70);
  background: rgba(255, 255, 255, 0.18);
  color: var(--white);
  font-weight: 900;
  font-size: 0.84rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  cursor: pointer;
  transition: background 150ms ease, transform 150ms ease, border-color 150ms ease;
}

.editorial-form button:hover {
  transform: translateY(-2px);
  background: rgba(117, 212, 203, 0.26);
  border-color: #75D4CB;
}

@media (max-width: 920px) {
  .editorial-contact {
    padding: 48px 0;
  }

  .editorial-contact-grid {
    grid-template-columns: 1fr;
  }

  .quick-links {
    margin-left: 0;
    max-width: none;
  }
}

@media (max-width: 620px) {
  .editorial-form-row {
    grid-template-columns: 1fr;
  }

  .editorial-contact-copy h1 {
    font-size: 4.2rem;
  }

  .editorial-form button {
    width: 100%;
    min-width: 0;
  }
}

/* Services dropdown fix */
.nav-item {
  position: relative;
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-height: 44px;
}

.caret {
  font-size: 0.72rem;
  line-height: 1;
  transition: transform 140ms ease;
}

.has-dropdown:hover .caret,
.has-dropdown:focus-within .caret {
  transform: rotate(180deg);
}

.dropdown-menu {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  width: min(340px, calc(100vw - 32px));
  transform: translateX(-50%) translateY(8px);
  display: grid;
  gap: 8px;
  padding: 12px;
  border: 1px solid rgba(221, 229, 234, 0.95);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 18px 48px rgba(0, 23, 70, 0.16);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  z-index: 100;
  transition: opacity 140ms ease, transform 140ms ease, visibility 140ms ease;
}

.dropdown-menu::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -12px;
  height: 12px;
}

.has-dropdown:hover .dropdown-menu,
.has-dropdown:focus-within .dropdown-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.dropdown-menu a {
  display: grid;
  gap: 3px;
  padding: 12px 13px;
  border-radius: 13px;
  color: var(--navy-dark);
  opacity: 1;
  white-space: normal;
  line-height: 1.25;
}

.dropdown-menu a:hover,
.dropdown-menu a:focus {
  color: var(--navy-dark);
  background: rgba(15, 159, 150, 0.09);
  outline: none;
}

.dropdown-menu strong {
  font-size: 0.95rem;
  letter-spacing: -0.01em;
}

.dropdown-menu span {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 550;
}

.nav-links {
  overflow: visible;
}

.site-header {
  z-index: 200;
}

/* Contact page inspired by the provided reference */
.contact-showcase {
  padding: 78px 0;
  background:
    radial-gradient(circle at 18% 18%, rgba(255, 255, 255, 0.18), transparent 24%),
    linear-gradient(135deg, #33c899 0%, #24c49c 48%, #25c7a4 100%);
}

.contact-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(420px, 0.78fr);
  gap: clamp(28px, 5vw, 56px);
  min-height: 620px;
  padding: clamp(34px, 5vw, 54px);
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 34px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 28px 70px rgba(0, 23, 70, 0.18);
  color: #0a0c10;
  overflow: visible;
}

.contact-panel-copy {
  display: grid;
  grid-template-rows: auto 1fr auto;
  min-height: 510px;
}

.contact-kicker {
  margin: 0 0 16px;
  color: var(--teal);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.contact-panel h1 {
  max-width: 540px;
  margin: 0;
  color: #0a0c10;
  font-size: clamp(2.9rem, 5.2vw, 5.25rem);
  line-height: 0.95;
  letter-spacing: -0.075em;
}

.contact-intro {
  max-width: 430px;
  margin: 18px 0 0;
  color: #1a2230;
  font-size: 1rem;
  line-height: 1.35;
}

.contact-line-art {
  align-self: center;
  width: min(330px, 82%);
  margin: 10px 0 0 28px;
}

.contact-line-art svg {
  width: 100%;
  height: auto;
  fill: none;
  stroke: #0a0c10;
  stroke-width: 2.1;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.contact-panel-footer {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  align-items: end;
  padding-top: 26px;
}

.contact-panel-footer span {
  display: block;
  margin-bottom: 5px;
  color: #7a8190;
  font-size: 0.78rem;
}

.contact-panel-footer a {
  color: #0a0c10;
  font-size: 0.88rem;
  font-weight: 750;
}

.contact-panel-footer a:hover {
  color: var(--teal);
}

.contact-form-card {
  align-self: start;
  margin-top: 0;
  padding: clamp(24px, 3.2vw, 34px);
  border-radius: 18px;
  background: #f3f3f6;
  color: #0a0c10;
}

.sleek-contact-form {
  display: grid;
  gap: 22px;
}

.form-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.sleek-contact-form label,
.sleek-contact-form fieldset {
  margin: 0;
}

.sleek-contact-form label {
  display: grid;
  gap: 6px;
}

.sleek-contact-form span,
.budget-field legend {
  color: #0a0c10;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 0.95rem;
  font-style: italic;
  line-height: 1;
}

.sleek-contact-form input,
.sleek-contact-form select,
.sleek-contact-form textarea {
  width: 100%;
  border: 0;
  border-bottom: 1px solid rgba(10, 12, 16, 0.42);
  border-radius: 0;
  background: transparent;
  color: #0a0c10;
  padding: 7px 0 8px;
  font: inherit;
  font-size: 0.95rem;
  outline: none;
  transition: border-color 140ms ease, box-shadow 140ms ease;
}

.sleek-contact-form input:focus,
.sleek-contact-form select:focus,
.sleek-contact-form textarea:focus {
  border-bottom-color: var(--teal);
  box-shadow: 0 1px 0 var(--teal);
}

.sleek-contact-form select {
  appearance: none;
  padding-right: 24px;
  background-image:
    linear-gradient(45deg, transparent 50%, rgba(10, 12, 16, 0.65) 50%),
    linear-gradient(135deg, rgba(10, 12, 16, 0.65) 50%, transparent 50%);
  background-position:
    calc(100% - 12px) 52%,
    calc(100% - 7px) 52%;
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
}

.sleek-contact-form textarea {
  min-height: 82px;
  resize: vertical;
  line-height: 1.4;
}

.budget-field {
  padding: 0;
  border: 0;
}

.budget-field legend {
  padding: 0 0 10px;
}

.budget-options {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.budget-options label {
  display: inline-flex;
}

.budget-options input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.budget-options span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  padding: 0 12px;
  border: 1px solid rgba(10, 12, 16, 0.22);
  border-radius: 999px;
  background: #fff;
  color: #3f4651;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 0.78rem;
  font-style: normal;
  font-weight: 650;
  cursor: pointer;
  transition: border-color 140ms ease, background 140ms ease, color 140ms ease;
}

.budget-options input:checked + span,
.budget-options span:hover {
  border-color: var(--teal);
  background: rgba(15, 159, 150, 0.12);
  color: var(--navy-dark);
}

.sleek-contact-form button {
  justify-self: start;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  padding: 0 16px;
  border: 0;
  border-radius: 8px;
  background: #28c99a;
  color: #0a0c10;
  font: inherit;
  font-size: 0.86rem;
  font-weight: 850;
  cursor: pointer;
  transition: transform 140ms ease, box-shadow 140ms ease, background 140ms ease;
}

.sleek-contact-form button:hover {
  transform: translateY(-2px);
  background: #1fb98e;
  box-shadow: 0 12px 24px rgba(31, 185, 142, 0.24);
}

@media (max-width: 1050px) {
  .contact-panel {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .contact-panel-copy {
    min-height: 0;
    gap: 34px;
  }

  .contact-line-art {
    margin-left: 0;
  }

  .contact-form-card {
    max-width: none;
  }
}

@media (max-width: 920px) {
  .nav-links {
    overflow-x: auto;
    overflow-y: visible;
  }

  .has-dropdown {
    position: static;
  }

  .dropdown-menu {
    left: 20px;
    right: 20px;
    width: auto;
    transform: translateY(8px);
  }

  .has-dropdown:hover .dropdown-menu,
  .has-dropdown:focus-within .dropdown-menu {
    transform: translateY(0);
  }
}

@media (max-width: 720px) {
  .contact-showcase {
    padding: 42px 0;
  }

  .contact-panel {
    padding: 26px;
    border-radius: 28px;
  }

  .contact-panel h1 {
    font-size: clamp(2.45rem, 13vw, 4rem);
  }

  .form-split,
  .contact-panel-footer {
    grid-template-columns: 1fr;
  }

  .contact-form-card {
    padding: 22px;
  }
}

@media (max-width: 520px) {
  .contact-panel {
    padding: 22px;
  }

  .contact-line-art {
    width: 100%;
  }

  .budget-options span {
    font-size: 0.73rem;
    padding: 0 9px;
  }
}

/* Refined contact page, keeping the original Borrowed BI form fields */
.contact-refined {
  padding: 86px 0 78px;
  background:
    radial-gradient(circle at 84% 12%, rgba(15, 159, 150, 0.10), transparent 30%),
    radial-gradient(circle at 12% 20%, rgba(245, 181, 27, 0.10), transparent 28%),
    linear-gradient(180deg, #ffffff 0%, var(--soft-white) 100%);
}

.contact-refined-card {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(380px, 0.78fr);
  gap: clamp(34px, 6vw, 74px);
  align-items: start;
  padding: clamp(28px, 5vw, 58px);
  border: 1px solid rgba(221, 229, 234, 0.88);
  border-radius: 38px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 26px 70px rgba(0, 23, 70, 0.10);
}

.contact-refined-copy {
  min-height: 610px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 34px;
}

.contact-refined-copy h1 {
  max-width: 760px;
  margin: 20px 0 20px;
  color: #0a0f18;
  font-size: clamp(3.2rem, 7vw, 6.4rem);
  line-height: 0.94;
  letter-spacing: -0.075em;
}

.contact-refined-intro {
  max-width: 570px;
  margin: 0;
  color: var(--text);
  font-size: clamp(1.05rem, 1.5vw, 1.22rem);
  line-height: 1.5;
}

.contact-info-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 22px;
}

.contact-info-item span {
  display: block;
  margin-bottom: 6px;
  color: #738094;
  font-size: 0.78rem;
}

.contact-info-item a {
  color: #0a0f18;
  font-weight: 850;
  font-size: 0.92rem;
}

.contact-info-item a:hover {
  color: var(--teal);
}

.contact-note-card {
  max-width: 560px;
  padding: 24px;
  border: 1px solid rgba(15, 159, 150, 0.16);
  border-radius: 24px;
  background: rgba(15, 159, 150, 0.07);
}

.contact-note-card h2 {
  margin: 0 0 8px;
  color: var(--navy-dark);
  font-size: 1.2rem;
  line-height: 1.15;
  letter-spacing: -0.03em;
}

.contact-note-card p {
  margin: 0;
  color: var(--muted);
}

.contact-refined-form-card {
  padding: clamp(26px, 3.5vw, 40px);
  border-radius: 26px;
  background: #f3f3f6;
  color: #0a0f18;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.72);
}

.form-card-heading {
  margin-bottom: 26px;
}

.form-card-heading span {
  display: block;
  margin-bottom: 8px;
  color: var(--teal);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.form-card-heading h2 {
  margin: 0;
  color: #0a0f18;
  font-size: clamp(1.8rem, 3vw, 2.55rem);
  line-height: 1;
  letter-spacing: -0.055em;
}

.refined-contact-form {
  display: grid;
  gap: 24px;
}

.form-row-two {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.refined-contact-form label {
  display: grid;
  gap: 9px;
}

.refined-contact-form label > span {
  color: #0a0f18;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 0.96rem;
  font-style: italic;
  line-height: 1;
}

.refined-contact-form input,
.refined-contact-form select,
.refined-contact-form textarea {
  width: 100%;
  border: 0;
  border-bottom: 1px solid rgba(10, 15, 24, 0.42);
  border-radius: 0;
  background: transparent;
  color: #0a0f18;
  padding: 9px 0 10px;
  font: inherit;
  font-size: 0.98rem;
  line-height: 1.4;
  outline: none;
  transition: border-color 150ms ease, box-shadow 150ms ease;
}

.refined-contact-form input:focus,
.refined-contact-form select:focus,
.refined-contact-form textarea:focus {
  border-bottom-color: var(--teal);
  box-shadow: 0 1px 0 var(--teal);
}

.refined-contact-form select {
  appearance: none;
  padding-right: 28px;
  background-image:
    linear-gradient(45deg, transparent 50%, rgba(10, 15, 24, 0.62) 50%),
    linear-gradient(135deg, rgba(10, 15, 24, 0.62) 50%, transparent 50%);
  background-position:
    calc(100% - 13px) 54%,
    calc(100% - 7px) 54%;
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
}

.refined-contact-form textarea {
  min-height: 116px;
  resize: vertical;
}

.refined-contact-form textarea::placeholder {
  color: rgba(10, 15, 24, 0.42);
}

.refined-contact-form button {
  justify-self: start;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 0 18px;
  border: 0;
  border-radius: 10px;
  background: var(--teal);
  color: #ffffff;
  font: inherit;
  font-size: 0.9rem;
  font-weight: 900;
  cursor: pointer;
  transition: transform 150ms ease, box-shadow 150ms ease, background 150ms ease;
}

.refined-contact-form button:hover {
  transform: translateY(-2px);
  background: #0d8f87;
  box-shadow: 0 14px 28px rgba(15, 159, 150, 0.24);
}

/* Stronger Services dropdown behavior */
.nav-links {
  overflow: visible;
}

.nav-item.has-dropdown {
  position: relative;
}

.nav-item.has-dropdown .dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: auto;
  width: 320px;
  max-width: calc(100vw - 40px);
  transform: translateY(8px);
  display: grid;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  z-index: 500;
}

.nav-item.has-dropdown:hover .dropdown-menu,
.nav-item.has-dropdown:focus-within .dropdown-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

@media (max-width: 1050px) {
  .contact-refined-card {
    grid-template-columns: 1fr;
  }

  .contact-refined-copy {
    min-height: 0;
  }

  .contact-refined-form-card {
    max-width: none;
  }
}

@media (max-width: 920px) {
  .nav-links {
    overflow-x: auto;
    overflow-y: visible;
    align-items: flex-start;
  }

  .nav-item.has-dropdown {
    position: relative;
  }

  .nav-item.has-dropdown .dropdown-menu {
    left: 0;
    right: auto;
    width: min(320px, calc(100vw - 56px));
    transform: translateY(8px);
  }

  .nav-item.has-dropdown:hover .dropdown-menu,
  .nav-item.has-dropdown:focus-within .dropdown-menu {
    transform: translateY(0);
  }
}

@media (max-width: 720px) {
  .contact-refined {
    padding: 46px 0 58px;
  }

  .contact-refined-card {
    padding: 26px;
    border-radius: 28px;
  }

  .contact-refined-copy h1 {
    font-size: clamp(2.7rem, 13vw, 4.4rem);
  }

  .contact-info-grid,
  .form-row-two {
    grid-template-columns: 1fr;
  }

  .contact-refined-form-card,
  .contact-note-card {
    padding: 22px;
  }

  .refined-contact-form button {
    width: 100%;
  }
}
