/* Site-specific styles added after the Webflow export. */

/* Netlify form wrapper (replaces Webflow's .w-form so webflow.js leaves it alone) */
.nf-form {
  margin: 0 0 15px;
}

/* Webflow grid rows use -10px side margins; inside the card container that
   pushed the page 10px wider than the screen (horizontal scrollbar). */
.container-3 > .w-row {
  margin-left: 0;
  margin-right: 0;
}

/* EN | ES language toggle in the header: current language filled, other one clickable */
.lang-toggle {
  display: inline-flex;
  vertical-align: middle;
  margin: 0 0 0 14px;
  border: 2px solid #002e4d;
  border-radius: 999px;
  overflow: hidden;
}
.lang-option {
  display: inline-block;
  min-width: 38px;
  padding: 5px 10px;
  text-align: center;
  font-size: 13px;
  line-height: 16px;
  font-weight: 700;
  letter-spacing: .03em;
  color: #002e4d;
  text-decoration: none;
  background: #fff;
}
.lang-option.is-active {
  background: #002e4d;
  color: #fff;
  cursor: default;
}
a.lang-option:hover,
a.lang-option:focus-visible {
  background: #e6f5ff;
  color: #0d9dff;
}
@media screen and (min-width: 992px) {
  .navbar .w-nav-menu {
    display: flex;
    align-items: center;
  }
}
@media screen and (max-width: 991px) {
  .lang-toggle {
    margin: 12px 20px 16px;
  }
}

/* Headings demoted from <h1> for SEO keep their original size */
.h1-size {
  font-size: 38px;
  line-height: 44px;
  margin-top: 20px;
  margin-bottom: 10px;
  font-weight: bold;
}
.hero-eyebrow {
  font-weight: bold;
  line-height: 30px;
  margin: 20px 0 10px;
}
.section-heading {
  color: #002e4d;
  text-align: center;
  font-size: 32px;
  line-height: 38px;
  margin: 0 0 30px;
}

/* Stats band under the hero */
.stats-band {
  padding: 10px 0 50px;
}
.stats {
  display: flex;
  justify-content: center;
  gap: 20px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.stat {
  flex: 1 1 0;
  max-width: 300px;
  text-align: center;
  border-top: 3px solid #0d9dff;
  padding: 20px 10px 0;
}
.stat-value {
  display: block;
  color: #0d9dff;
  font-size: 44px;
  line-height: 48px;
  font-weight: 700;
}
.stat-label {
  display: block;
  color: #002e4d;
  font-size: 15px;
  margin-top: 6px;
}

/* Clickable service cards */
.service-card {
  height: auto;
  min-height: 280px;
  padding: 30px 20px 22px 35px;
  color: inherit;
  text-decoration: none;
  transition: box-shadow .2s, transform .2s;
}
.service-card:hover,
.service-card:focus-visible {
  box-shadow: 0 8px 24px rgba(0, 46, 77, .12);
  transform: translateY(-2px);
}
.container-3 > .w-row {
  display: flex;
  flex-wrap: wrap;
}
.container-3 > .w-row > .w-col {
  display: flex;
}
.service-card {
  width: 100%;
}
.service-card .heading-5 {
  max-width: calc(100% - 60px);
  font-size: 18px;
  line-height: 24px;
  margin: 10px 0;
  padding-left: 12px;
  vertical-align: middle;
}
.service-card .div-block-4 {
  padding-top: 24px;
}
.service-card-more {
  display: inline-block;
  margin-top: 18px;
  color: #0d9dff;
  font-size: 14px;
  font-weight: 700;
}

/* How we'll work together */
.process-section {
  padding: 70px 0 30px;
}
.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.process-step {
  background: #f2f5f8;
  padding: 28px 22px;
}
.process-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #0d9dff;
  color: #fff;
  font-weight: 700;
}
.process-step h3 {
  color: #002e4d;
  font-size: 22px;
  margin: 14px 0 8px;
}
.process-step p {
  margin: 0;
  font-size: 15px;
  line-height: 22px;
}

/* Proof sections (shown only when the CMS has entries) */
.proof-section {
  padding: 60px 0;
}
.proof-section-alt {
  background: #f2f5f8;
}
.client-logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 40px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.client-logos img {
  max-height: 48px;
  max-width: 160px;
  filter: grayscale(1);
  opacity: .8;
}
.case-studies,
.testimonials {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}
.case-study {
  background: #fff;
  border: 2px solid #0d9dffb8;
  padding: 28px;
}
.case-study-result {
  color: #0d9dff;
  font-size: 28px;
  line-height: 34px;
  font-weight: 700;
}
.case-study h3 {
  font-size: 20px;
  margin: 12px 0;
}
.testimonial {
  margin: 0;
  border-left: 4px solid #0d9dff;
  padding: 4px 0 4px 20px;
}
.testimonial blockquote {
  border: 0;
  padding: 0;
  font-size: 18px;
  line-height: 28px;
}

/* Contact form additions */
.contact-textarea {
  min-height: 120px;
  resize: vertical;
}
.contact-select {
  height: 38px;
}

@media screen and (max-width: 767px) {
  .stats {
    flex-direction: column;
    align-items: center;
  }
  .stat {
    width: 100%;
  }
  .process-steps {
    grid-template-columns: 1fr 1fr;
  }
}
@media screen and (max-width: 479px) {
  .process-steps {
    grid-template-columns: 1fr;
  }
  .h1-size {
    font-size: 30px;
    line-height: 36px;
  }
}

/* Homepage hero intro (rendered from the CMS as Markdown) */
.hero-intro {
  margin-bottom: 50px;
}
.hero-intro p,
.hero-intro ul {
  margin: 0 0 20px;
}
.hero-intro ul {
  padding-left: 1.2em;
}

/* Blog list cards (reuses Webflow's .div-block-15/16/17/18 card styles) */
.blog-list .w-col {
  margin-bottom: 20px;
}
.blog-card-image {
  display: block;
  background-position: center;
}
.blog-list .div-block-15 {
  height: 100%;
  min-height: 400px;
  display: flex;
  flex-direction: column;
}
.blog-list .div-block-16 {
  flex: none;
}
.div-block-17.div-block-17 {
  justify-content: flex-start;
  height: auto;
  flex: 1;
  padding: 16px 20px;
}
.blog-list {
  display: flex;
  flex-wrap: wrap;
}
.blog-list .heading-11 {
  line-height: 26px;
  margin: 6px 0 8px;
}
.heading-11 a {
  color: inherit;
  text-decoration: none;
}
.blog-card-meta {
  color: #7a8a99;
  font-size: 13px;
  margin-bottom: 8px;
}
.blog-card-summary {
  font-size: 14px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.blog-empty {
  text-align: center;
  font-size: 18px;
  color: #7a8a99;
  padding: 40px 0;
}
.draft-badge {
  display: inline-block;
  background: #fff3cd;
  color: #7a5b00;
  font-size: 12px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 4px;
  margin-bottom: 8px;
}

/* Single blog post */
.post {
  padding: 60px 16px 100px;
}
.post-container {
  max-width: 720px;
  margin: 0 auto;
}
.post-back {
  display: inline-block;
  color: #0d9dff;
  text-decoration: none;
  margin-bottom: 24px;
}
.post-title {
  color: #002e4d;
  font-size: 44px;
  line-height: 1.15;
  margin: 0 0 12px;
}
.post-meta {
  color: #7a8a99;
  margin-bottom: 32px;
}
.post-cover {
  width: 100%;
  border: 1px solid #dfdfdf;
  margin-bottom: 32px;
}
.post-body {
  color: #002e4d;
  font-size: 18px;
  line-height: 1.7;
}
.post-body h2 {
  font-size: 30px;
  line-height: 1.25;
  margin: 40px 0 12px;
}
.post-body h3 {
  font-size: 23px;
  margin: 32px 0 10px;
}
.post-body p,
.post-body ul,
.post-body ol {
  margin: 0 0 20px;
}
.post-body a {
  color: #0d9dff;
}
.post-body img {
  max-width: 100%;
  height: auto;
}
.post-body blockquote {
  border-left: 4px solid #0d9dff;
  font-size: 20px;
  margin: 24px 0;
}
.post-cta {
  background: #f2f5f8;
  padding: 32px;
  margin: 48px 0 32px;
}
.post-cta h3 {
  margin-top: 0;
}
.post-newsletter {
  border-top: 1px solid #dfdfdf;
  padding-top: 24px;
}
@media screen and (max-width: 479px) {
  .post-title {
    font-size: 32px;
  }
  .post-body {
    font-size: 17px;
  }
}

/* "Book a call" nudge: small corner card, no overlay, page stays usable */
.booking-nudge {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 1000;
  width: 320px;
  max-width: calc(100vw - 32px);
  padding: 20px 44px 20px 22px;
  background: #fff;
  color: #002e4d;
  border-left: 4px solid #0d9dff;
  border-radius: 6px;
  box-shadow: 0 10px 30px rgba(0, 46, 77, .18);
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .3s ease, transform .3s ease;
}
.booking-nudge.is-visible {
  opacity: 1;
  transform: none;
}
.booking-nudge[hidden] {
  display: none;
}
.booking-nudge-text {
  margin: 0 0 4px;
  font-size: 17px;
  line-height: 23px;
  font-weight: 700;
}
.booking-nudge-sub {
  margin: 0 0 12px;
  font-size: 14px;
  line-height: 20px;
  color: #4a6275;
}
.booking-nudge-cta {
  display: inline-block;
  padding: 8px 16px;
  background: #002e4d;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  border-radius: 4px;
}
.booking-nudge-cta:hover,
.booking-nudge-cta:focus-visible {
  background: #0d9dff;
  color: #fff;
}
.booking-nudge-close {
  position: absolute;
  top: 6px;
  right: 6px;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #7a8a99;
  font-size: 26px;
  line-height: 36px;
  cursor: pointer;
  border-radius: 50%;
}
.booking-nudge-close:hover,
.booking-nudge-close:focus-visible {
  background: #f2f5f8;
  color: #002e4d;
}
@media screen and (max-width: 479px) {
  .booking-nudge {
    right: 16px;
    bottom: 16px;
    left: 16px;
    width: auto;
    max-width: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  .booking-nudge {
    transition: none;
  }
}

/* Spam trap field; hidden from people, filled in by bots */
.nf-honeypot {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
