/* ---------------------------------------------------------------------------
   Design tokens
   --------------------------------------------------------------------------- */
:root {
  --cs-blue: #384a9d;
  --cs-blue-deep: #2b3a7f;
  --cs-blue-bright: #4a5fc0;
  --cs-yellow: #e9e744;
  --cs-yellow-soft: #f3f16a;
  --cs-ink: #231f20;
  --cs-grey: #444645;
  --cs-mute: #5f615f;
  --cs-paper: #f7f6f1;
  --cs-line: #e4e3dc;
  --cs-field-border: #8a8b87;
  --cs-white: #ffffff;
  --cs-radius: 24px;
  --cs-pill: 999px;
  --cs-shadow: 0 1px 2px rgba(35, 31, 32, 0.04), 0 12px 32px -12px rgba(35, 31, 32, 0.18);
  --cs-ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4 { letter-spacing: -0.015em; }
h1 { font-size: clamp(2.5rem, 2.1vw + 2rem, 4rem) !important; line-height: 1.05 !important; }
h2 { font-size: clamp(1.9rem, 1.2vw + 1.5rem, 2.6rem) !important; line-height: 1.12 !important; }
h3 { font-size: 1.4rem !important; line-height: 1.3 !important; }
p { margin: 0 0 1.1em; }
.fl-builder-content p:last-child { margin-bottom: 0; }

a { text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
.fl-builder a:hover { text-decoration: underline; }

/* Keyboard focus */
a:focus-visible, button:focus-visible, .fl-button:focus-visible, input:focus-visible, textarea:focus-visible {
  outline: 3px solid var(--cs-blue);
  outline-offset: 3px;
}
.cs-on-blue a:focus-visible, .cs-on-blue .fl-button:focus-visible { outline-color: var(--cs-yellow); }

/* Section anchors land below the header */
[id] { scroll-margin-top: 24px; }

/* ---------------------------------------------------------------------------
   Header
   --------------------------------------------------------------------------- */
.fl-page-header-primary { border-bottom: 1px solid var(--cs-line); }
.fl-page-header-primary .fl-page-header-logo .fl-logo-img,
.fl-page-header .fl-logo-img {
  height: 76px !important;
  width: auto !important;
  max-width: none !important;
  max-height: none !important;
}
.fl-page-header .fl-page-header-logo a { display: inline-block; line-height: 0; }
.fl-page-nav .navbar-nav { display: flex; align-items: center; flex-wrap: wrap; }
.fl-page-nav .navbar-nav > li { float: none; }
.fl-page-nav .navbar-nav > li > a {
  text-decoration: none;
  font-weight: 600;
  font-size: 18px;
  color: var(--cs-blue) !important;
  padding: 10px 18px;
  line-height: 1.2;
  position: relative;
}
.fl-page-nav .navbar-nav > li > a::after {
  content: "";
  position: absolute;
  left: 16px; right: 16px; bottom: 6px;
  height: 3px;
  border-radius: 3px;
  background: var(--cs-yellow);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s var(--cs-ease);
}
.fl-page-nav .navbar-nav > li > a:hover, .fl-page-nav .navbar-nav > li > a:focus { color: var(--cs-blue-deep) !important; }
.fl-page-nav .navbar-nav > li > a:hover::after,
.fl-page-nav .navbar-nav > li > a:focus-visible::after { transform: scaleX(1); }

/* Nav call-to-action pill */
.fl-page-nav .navbar-nav > li.cs-nav-cta > a {
  background: var(--cs-blue);
  color: #fff !important;
  border-radius: var(--cs-pill);
  padding: 12px 24px;
  margin-left: 10px;
  line-height: 1.2;
  transition: background 0.2s var(--cs-ease), transform 0.2s var(--cs-ease);
}
.fl-page-nav .navbar-nav > li.cs-nav-cta > a:hover { background: var(--cs-blue-deep); transform: translateY(-1px); }
.fl-page-nav .navbar-nav > li.cs-nav-cta > a::after { display: none; }

@media (max-width: 767px) {
  .fl-page-header-primary .fl-page-header-logo .fl-logo-img, .fl-page-header .fl-logo-img { height: 56px !important; }
  .fl-page-nav .navbar-nav > li.cs-nav-cta > a { display: inline-block; margin: 8px 16px; }
}

/* ---------------------------------------------------------------------------
   Shared pieces
   --------------------------------------------------------------------------- */

/* Eyebrow label */
.cs-eyebrow .fl-heading, .cs-eyebrow, /* ---------------------------------------------------------------------------
   Shared pieces
   --------------------------------------------------------------------------- */

/* Eyebrow label */
.cs-eyebrow.fl-heading {
  font-size: 0.8rem !important;
  font-weight: 600 !important;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cs-blue);
}
.cs-on-blue .cs-eyebrow .fl-heading, .cs-on-blue .cs-eyebrow, .cs-on-blue .cs-eyebrow.fl-heading { color: rgba(255,255,255,0.92); }

/* Hand-drawn highlight under a word: <span class="cs-hl">word</span> */
.cs-hl {
  position: relative;
  white-space: nowrap;
  z-index: 0;
}
.cs-hl::after {
  content: "";
  position: absolute;
  left: -2%; right: -2%; bottom: 0.02em;
  height: 0.36em;
  z-index: -1;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 24' preserveAspectRatio='none'%3E%3Cpath d='M3 15 C 40 9, 90 7, 196 11 C 150 14, 80 17, 6 20 Z' fill='%23e9e744'/%3E%3C/svg%3E") no-repeat center / 100% 100%;
}

/* Buttons */
.cs-btn .fl-button,
.cs-btn-ghost .fl-button {
  border-radius: var(--cs-pill) !important;
  padding: 16px 30px !important;
  font-weight: 600 !important;
  font-size: 1rem !important;
  text-decoration: none !important;
  border: 2px solid transparent !important;
  line-height: 1.2 !important;
  display: inline-flex !important;
  align-items: center;
  gap: 10px;
  transition: transform 0.2s var(--cs-ease), background 0.2s var(--cs-ease), box-shadow 0.2s var(--cs-ease) !important;
}
.cs-btn .fl-button .fl-button-icon, .cs-btn-ghost .fl-button .fl-button-icon { line-height: 1; font-size: 0.95em; margin: 0 !important; }
.cs-btn .fl-button { background: var(--cs-yellow) !important; color: var(--cs-ink) !important; }
.cs-btn .fl-button:hover { background: var(--cs-yellow-soft) !important; transform: translateY(-2px); box-shadow: 0 10px 24px -10px rgba(0,0,0,0.35); }
.cs-btn .fl-button *, .cs-btn-ghost .fl-button * { color: inherit !important; }
.cs-btn-ghost .fl-button { background: transparent !important; color: #fff !important; border-color: rgba(255,255,255,0.55) !important; }
.cs-btn-ghost .fl-button:hover { border-color: #fff !important; background: rgba(255,255,255,0.08) !important; }
.cs-btn-blue .fl-button { background: var(--cs-blue) !important; color: #fff !important; }
.cs-btn-blue .fl-button:hover { background: var(--cs-blue-deep) !important; }
.fl-module.cs-btn, .fl-module.cs-btn-ghost, .fl-module.cs-btn-blue {
  display: inline-block;
  vertical-align: top;
  margin-right: 12px !important;
  margin-bottom: 12px !important;
}
.fl-module.cs-btn .fl-button-wrap, .fl-module.cs-btn-ghost .fl-button-wrap { display: inline-block; }
/* Beaver Builder lays column content out as a flex column; switch the hero text column to block so buttons can sit side by side. */
.cs-hero .fl-col-content { display: block; }

/* Subtle paper grain */
.cs-paper {
  background-color: var(--cs-paper);
  position: relative;
}
.cs-paper > .fl-row-content-wrap::before {
  content: "";
  position: absolute; inset: 0;
  pointer-events: none;
  opacity: 0.3;
  background-image: url("../bb-theme-child/assets/img/grain.png");
}
.cs-paper > .fl-row-content-wrap { position: relative; }
.cs-paper .fl-row-content { position: relative; z-index: 1; }

/* ---------------------------------------------------------------------------
   Hero
   --------------------------------------------------------------------------- */
.cs-hero {
  background: var(--cs-blue);
  background-image:
    radial-gradient(760px 480px at -2% -18%, #7488e8 0%, #5a6dd0 32%, transparent 64%),
    radial-gradient(900px 650px at 100% 110%, #1b2559 0%, transparent 62%),
    linear-gradient(160deg, #4a5ec0 0%, var(--cs-blue) 48%, #26337a 100%);
  color: #fff;
  overflow: hidden;
  position: relative;
}
.cs-hero > .fl-row-content-wrap { padding-top: 72px !important; padding-bottom: 120px !important; position: relative; }
/* Big faint mark in the corner */
.cs-hero > .fl-row-content-wrap::after {
  content: "";
  position: absolute;
  right: -6%; bottom: -18%;
  width: 46vw; max-width: 620px; aspect-ratio: 1;
  background: url("../bb-theme-child/assets/img/mark-white.svg") no-repeat center / contain;
  opacity: 0.04;
  pointer-events: none;
  transform: rotate(-8deg);
}
/* Soft paper edge into the next section */
.cs-hero::after {
  content: "";
  display: block;
  width: 100%;
  position: absolute; left: 0; right: 0; bottom: -1px;
  height: 64px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 64' preserveAspectRatio='none'%3E%3Cpath d='M0 40 C 240 64, 420 10, 720 28 C 1020 46, 1200 60, 1440 20 L1440 64 L0 64 Z' fill='%23f7f6f1'/%3E%3C/svg%3E") no-repeat center / 100% 100%;
  z-index: 2;
}
.cs-hero .fl-row-content { position: relative; z-index: 1; }
.cs-hero h1, .cs-hero .fl-heading, .cs-hero.fl-heading { color: #fff; }
.cs-hero h1 { max-width: 14ch; }
.cs-hero .cs-lede { font-size: 1.2rem; line-height: 1.55; color: rgba(255,255,255,0.94); max-width: 48ch; }
.cs-hero .cs-lede strong { color: #fff; }

/* Portrait with organic frame */
.cs-portrait { position: relative; }
.cs-portrait .fl-photo { position: relative; z-index: 1; }
.cs-portrait .fl-photo-content { position: relative; }
.cs-portrait img {
  border-radius: 46% 54% 52% 48% / 42% 44% 56% 58%;
  width: 100%;
  max-width: 420px;
  display: block;
  box-shadow: 0 30px 60px -30px rgba(0,0,0,0.55);
}
.cs-portrait .fl-photo-content::before {
  content: "";
  position: absolute;
  inset: -4% -6% -6% -4%;
  background: var(--cs-yellow);
  border-radius: 58% 42% 44% 56% / 52% 60% 40% 48%;
  z-index: -1;
  transform: rotate(-6deg);
  opacity: 0.95;
}
@media (max-width: 991px) {
  .cs-hero > .fl-row-content-wrap { padding-top: 48px !important; padding-bottom: 96px !important; }
  .cs-portrait img { max-width: 300px; margin: 32px auto 0; }
  .cs-portrait .fl-photo { text-align: center; }
  .cs-portrait .fl-photo-content { display: inline-block; }
}

/* ---------------------------------------------------------------------------
   Inner page header (short blue band, e.g. Payments)
   --------------------------------------------------------------------------- */
.cs-page-hero {
  background: var(--cs-blue);
  background-image:
    radial-gradient(700px 420px at -2% -30%, #7488e8 0%, #5a6dd0 32%, transparent 64%),
    linear-gradient(160deg, #4a5ec0 0%, var(--cs-blue) 48%, #26337a 100%);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.cs-page-hero > .fl-row-content-wrap { padding-top: 56px !important; padding-bottom: 96px !important; }
.cs-page-hero::after {
  content: "";
  display: block;
  width: 100%;
  position: absolute; left: 0; right: 0; bottom: -1px;
  height: 48px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 64' preserveAspectRatio='none'%3E%3Cpath d='M0 40 C 240 64, 420 10, 720 28 C 1020 46, 1200 60, 1440 20 L1440 64 L0 64 Z' fill='%23f7f6f1'/%3E%3C/svg%3E") no-repeat center / 100% 100%;
  z-index: 2;
}
.cs-page-hero .fl-row-content { position: relative; z-index: 1; }
.cs-page-hero h1, .cs-page-hero .fl-heading, .cs-page-hero.fl-heading { color: #fff; }
.cs-page-hero h1 { font-size: clamp(2.2rem, 1.6vw + 1.6rem, 3.2rem) !important; max-width: 20ch; }
.cs-page-hero .cs-lede { font-size: 1.15rem; line-height: 1.55; color: rgba(255,255,255,0.94); max-width: 56ch; }
@media (max-width: 767px) { .cs-page-hero > .fl-row-content-wrap { padding-top: 40px !important; padding-bottom: 72px !important; } }

/* Side note box (e.g. "Need an invoice?") */
.cs-aside .fl-col-content { padding: 8px 0 0 56px !important; }
@media (max-width: 991px) { .cs-aside .fl-col-content { padding: 8px 0 0 !important; } }
.cs-aside .fl-heading, .cs-aside.fl-heading { font-size: 1.15rem !important; margin-bottom: 8px; }
.cs-aside .fl-heading::after, .cs-aside.fl-heading::after {
  content: ""; display: block; width: 36px; height: 4px; border-radius: 4px; background: var(--cs-yellow); margin-top: 10px;
}
.cs-aside p { color: var(--cs-grey); font-size: 1rem; }
@media (max-width: 991px) { .cs-aside { margin-top: 36px; } }

/* Form card on the paper background (softer shadow than on blue) */
.cs-paper .cs-form-card .fl-col-content { box-shadow: var(--cs-shadow); border: 1px solid var(--cs-line); }

/* ---------------------------------------------------------------------------
   Section headers
   --------------------------------------------------------------------------- */
.cs-section > .fl-row-content-wrap { padding-top: 96px !important; padding-bottom: 96px !important; }
@media (max-width: 767px) { .cs-section > .fl-row-content-wrap { padding-top: 64px !important; padding-bottom: 64px !important; } }
.cs-section-title .fl-heading, .cs-section-title.fl-heading { margin-bottom: 0.4em; }
.cs-services-intro > .fl-row-content-wrap { padding-top: 72px !important; padding-bottom: 32px !important; }
@media (max-width: 767px) { .cs-services-intro > .fl-row-content-wrap { padding-top: 56px !important; padding-bottom: 16px !important; } }
.cs-intro { font-size: 1.15rem; color: var(--cs-grey); max-width: 60ch; }

/* ---------------------------------------------------------------------------
   Services (open columns with a rule between them)
   --------------------------------------------------------------------------- */
.cs-services .fl-col-group { display: flex; flex-wrap: wrap; column-gap: 40px; }
.cs-services .fl-col {
  display: flex; flex-direction: column;
  padding: 0 !important;
  flex: 1 1 0;
  width: auto !important;
  min-width: 0;
}
.cs-services .fl-col-content {
  flex: 1;
  padding: 28px 36px 36px 0 !important;
  border-right: 1px solid rgba(35,31,32,0.12);
}
.cs-services .fl-col:last-child .fl-col-content { border-right: 0; }
.cs-services .fl-module, .cs-services .fl-module .fl-module-content { margin-top: 0 !important; margin-bottom: 0 !important; }
.cs-services .cs-card-num { margin-bottom: 12px !important; }
.cs-services .cs-card-title { margin-bottom: 14px !important; }
.cs-card-num .fl-heading, .cs-card-num.fl-heading {
  align-self: flex-start;
  width: max-content;
  font-size: 2.6rem !important;
  font-weight: 700 !important;
  line-height: 1 !important;
  letter-spacing: -0.03em;
  color: var(--cs-blue);
  margin-bottom: 0;
  position: relative;
  display: inline-block;
}
.cs-card-num .fl-heading::after, .cs-card-num.fl-heading::after {
  content: "";
  display: block;
  position: absolute;
  left: -6%; right: -10%; bottom: 0.02em;
  height: 0.3em;
  z-index: -1;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 24' preserveAspectRatio='none'%3E%3Cpath d='M3 15 C 40 9, 90 7, 196 11 C 150 14, 80 17, 6 20 Z' fill='%23e9e744'/%3E%3C/svg%3E") no-repeat center / 100% 100%;
}
.cs-card-num { position: relative; z-index: 0; }
.cs-card-title .fl-heading, .cs-card-title.fl-heading { margin-bottom: 0; font-size: 1.55rem !important; }
.cs-card-text { color: var(--cs-grey); }
.cs-card-text p { max-width: 34ch; }
@media (max-width: 991px) {
  .cs-services .fl-col { flex: 1 1 100%; width: 100% !important; }
  .cs-services .fl-col-content {
    border-right: 0; padding: 28px 0 !important;
    border-bottom: 1px solid rgba(35,31,32,0.12);
  }
  .cs-services .fl-col:last-child .fl-col-content { border-bottom: 0; }
  .cs-card-text p { max-width: none; }
}
.cs-services-footnote .fl-rich-text, .cs-services-footnote.fl-rich-text { text-align: center; }
.cs-footnote { color: var(--cs-mute); font-size: 1rem; font-style: italic; }
.cs-footnote p { margin: 0; }
.cs-footnote .fl-rich-text, .cs-footnote.fl-rich-text { padding-top: 16px; padding-bottom: 32px; }
@media (max-width: 767px) { .cs-footnote .fl-rich-text { padding-bottom: 24px; } }

/* ---------------------------------------------------------------------------
   About
   --------------------------------------------------------------------------- */
.cs-about .fl-col-group { display: flex; flex-wrap: wrap; align-items: center; }
.cs-about .fl-col { padding: 0 !important; }
@media (min-width: 992px) {
  .cs-about .fl-col:first-child { width: 52% !important; }
  .cs-about .fl-col.cs-proof { width: 48% !important; }
}
.cs-about .fl-col:first-child .fl-col-content { padding-right: 64px; }
.cs-about-text { font-size: 1.1rem; color: var(--cs-grey); }
.cs-about-text p { max-width: 58ch; }
/* Proof points: text sits on Clay's two-shape composition (assets/img/about-shapes.svg),
   drawn at its native proportions behind the box and sized to the box height. */
.cs-proof .fl-col-content {
  position: relative;
  background: none !important;
  height: auto !important;
  min-height: 0 !important;
  padding: 21% 15% 17% 17% !important;
  display: flex; flex-direction: column; justify-content: center !important;
  box-sizing: border-box;
}
.cs-proof .fl-col-content::before {
  content: "";
  position: absolute;
  top: 0; bottom: 0; left: 50%;
  height: 100%;
  aspect-ratio: 1.0665;
  transform: translateX(-50%);
  background: url("../bb-theme-child/assets/img/about-shapes.svg") no-repeat center / 100% 100%;
  z-index: -1;
  pointer-events: none;
}
.cs-proof .fl-module, .cs-proof .fl-module .fl-module-content { margin-top: 0 !important; margin-bottom: 0 !important; }
.cs-proof { position: relative; z-index: 0; }
.cs-proof-list ul { list-style: none; margin: 0; padding: 0; }
.cs-proof-list li {
  position: relative;
  padding-left: 44px;
  margin-bottom: 18px;
  color: var(--cs-grey);
}
.cs-proof-list li:last-child { margin-bottom: 0; }
.cs-proof-list li strong { display: block; color: var(--cs-ink); font-weight: 600; margin-bottom: 2px; }
.cs-proof-list li::before {
  content: "";
  position: absolute; left: 0; top: 2px;
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--cs-blue) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23e9e744' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") no-repeat center / 16px;
}
@media (max-width: 991px) {
  .cs-about { background: #f5f4ab; }
  /* Stack the two About columns on tablets too (Beaver Builder only stacks below 768px) */
  .cs-about .fl-col-group { flex-wrap: wrap; }
  .cs-about .fl-col { width: 100% !important; flex: 1 1 100%; }
  .cs-about .fl-col:first-child .fl-col-content { padding-right: 0; padding-bottom: 40px; }
  .cs-proof .fl-col-content { padding: 0 !important; }
  .cs-proof .fl-col-content::before { display: none; }
  .cs-about-text, .cs-proof-list li { color: var(--cs-ink); }
  /* The wave into the contact section matches the yellow row here */
  .cs-contact::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 64' preserveAspectRatio='none'%3E%3Cpath d='M0 0 L1440 0 L1440 24 C 1200 60, 1020 46, 720 28 C 420 10, 240 64, 0 40 Z' fill='%23f5f4ab'/%3E%3C/svg%3E") !important;
  }
}

/* ---------------------------------------------------------------------------
   Contact
   --------------------------------------------------------------------------- */
.cs-contact {
  background: var(--cs-blue);
  background-image:
    radial-gradient(800px 500px at 100% 0%, var(--cs-blue-bright) 0%, transparent 60%),
    radial-gradient(700px 500px at 0% 100%, var(--cs-blue-deep) 0%, transparent 60%);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.cs-contact::before {
  content: "";
  display: block;
  width: 100%;
  position: absolute; left: 0; right: 0; top: -1px;
  height: 64px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 64' preserveAspectRatio='none'%3E%3Cpath d='M0 0 L1440 0 L1440 24 C 1200 60, 1020 46, 720 28 C 420 10, 240 64, 0 40 Z' fill='%23ffffff'/%3E%3C/svg%3E") no-repeat center / 100% 100%;
  z-index: 2;
}
.cs-contact > .fl-row-content-wrap { padding-top: 140px !important; padding-bottom: 110px !important; }
@media (max-width: 767px) { .cs-contact > .fl-row-content-wrap { padding-top: 110px !important; padding-bottom: 40px !important; } }
.cs-contact h2, .cs-contact .fl-heading, .cs-contact.fl-heading { color: #fff; }
.cs-contact .cs-intro { color: rgba(255,255,255,0.86); }
.cs-contact-links { margin-top: 28px; }
.cs-contact-links p { margin: 0 0 10px; }
.cs-contact-links a {
  color: #fff;
  font-weight: 600;
  font-size: 1.25rem;
  text-decoration: none;
  display: inline-flex; align-items: center; gap: 12px;
  padding-bottom: 2px;
  border-bottom: 3px solid var(--cs-yellow);
  transition: border-color 0.2s var(--cs-ease), color 0.2s var(--cs-ease);
}
.cs-contact-links a:hover { color: var(--cs-yellow); text-decoration: none; }
.cs-contact-links a::before {
  content: "";
  width: 22px; height: 22px; flex: none;
  background: var(--cs-yellow);
  -webkit-mask: var(--icon) no-repeat center / contain;
          mask: var(--icon) no-repeat center / contain;
}
.cs-contact-links a[href^="tel"] { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 16.9v3a2 2 0 0 1-2.2 2 19.8 19.8 0 0 1-8.6-3.1 19.5 19.5 0 0 1-6-6A19.8 19.8 0 0 1 2.1 4.2 2 2 0 0 1 4.1 2h3a2 2 0 0 1 2 1.7c.1.9.4 1.8.7 2.6a2 2 0 0 1-.5 2.1L8.1 9.7a16 16 0 0 0 6 6l1.3-1.3a2 2 0 0 1 2.1-.4c.8.3 1.7.5 2.6.7a2 2 0 0 1 1.7 2z'/%3E%3C/svg%3E"); }
.cs-contact-links a[href^="mailto"] { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='14' rx='2'/%3E%3Cpath d='M3 7l9 6 9-6'/%3E%3C/svg%3E"); }

@media (max-width: 991px) {
  .cs-contact .fl-col:first-child .fl-col-content { padding-bottom: 40px; }
  .cs-contact-links { margin-top: 32px; }
}

/* Form card */
.cs-form-card .fl-col-content {
  background: #fff;
  border-radius: var(--cs-radius);
  padding: 36px !important;
  box-shadow: 0 40px 80px -40px rgba(0,0,0,0.5);
  color: var(--cs-grey);
}
@media (max-width: 767px) { .cs-form-card .fl-col-content { padding: 28px 20px 24px !important; } }
.cs-form-card .fluentform .ff-el-group { margin-bottom: 18px; }
.cs-form-card .fluentform .ff-el-input--label label {
  font-weight: 600; color: var(--cs-ink); font-size: 0.95rem; margin-bottom: 6px;
}
.cs-form-card .fluentform .ff-el-input--label.ff-el-is-required.asterisk-right label::after { color: var(--cs-blue); }
.cs-form-card .fluentform .ff-el-form-control {
  width: 100%;
  border: 2px solid var(--cs-field-border);
  border-radius: 12px;
  padding: 12px 14px;
  font-size: 1rem;
  font-family: inherit;
  color: var(--cs-ink);
  background: #fff;
  box-shadow: none;
  transition: border-color 0.2s var(--cs-ease), box-shadow 0.2s var(--cs-ease);
}
.cs-form-card .fluentform .ff-el-form-control:focus {
  outline: none;
  border-color: var(--cs-blue);
  box-shadow: 0 0 0 4px rgba(56,74,157,0.15);
}
.cs-form-card .fluentform textarea.ff-el-form-control { min-height: 140px; resize: vertical; }
.cs-form-card .fluentform .ff-btn-submit {
  background: var(--cs-yellow) !important;
  color: var(--cs-ink) !important;
  border: 2px solid var(--cs-yellow) !important;
  border-radius: var(--cs-pill) !important;
  padding: 14px 28px !important;
  font-weight: 600 !important;
  font-size: 1rem !important;
  font-family: inherit;
  cursor: pointer;
  transition: transform 0.2s var(--cs-ease), background 0.2s var(--cs-ease), box-shadow 0.2s var(--cs-ease);
}
.cs-form-card .fluentform .ff-btn-submit:hover { background: var(--cs-yellow-soft) !important; border-color: var(--cs-yellow-soft) !important; transform: translateY(-2px); box-shadow: 0 10px 24px -10px rgba(0,0,0,0.35); }
.cs-form-card .fluentform .ff-message-success { border-radius: 12px; border: 2px solid var(--cs-yellow); background: #fffdd9; color: var(--cs-ink); padding: 20px; }
.cs-form-card .fluentform .error, .cs-form-card .fluentform .text-danger { color: #b3261e; font-size: 0.9rem; }
/* Payment form: amount field prefix, Stripe card element, totals */
.cs-form-card .fluentform .ff-el-input--content .ff-el-form-control[type="number"] { max-width: 260px; }
.cs-form-card .fluentform .ff_input-group .ff_input-group-text { border: 2px solid var(--cs-field-border); border-right: 0; border-radius: 12px 0 0 12px; background: var(--cs-paper); color: var(--cs-ink); font-weight: 600; }
.cs-form-card .fluentform .ff_input-group .ff-el-form-control { border-radius: 0 12px 12px 0; }
.cs-form-card .fluentform .StripeElement,
.cs-form-card .fluentform .ff_stripe_card_element,
.cs-form-card .fluentform .ff-stripe-card-element,
.cs-form-card .fluentform .stripe-inline-holder {
  border: 2px solid var(--cs-field-border);
  border-radius: 12px;
  padding: 14px 14px;
  background: #fff;
}
.cs-form-card .fluentform .StripeElement--focus { border-color: var(--cs-blue); box-shadow: 0 0 0 4px rgba(56,74,157,0.15); }
.cs-form-card .fluentform .ff_order_items_wrapper, .cs-form-card .fluentform .ff_payment_summary { margin-top: 8px; }
.cs-form-card .fluentform table.ff_order_items { width: 100%; font-size: 0.95rem; }
.cs-form-card .fluentform .ff_total_row, .cs-form-card .fluentform .ff_payment_summary_container { font-weight: 600; color: var(--cs-ink); }

/* ---------------------------------------------------------------------------
   Footer
   --------------------------------------------------------------------------- */
.fl-page-footer { background: var(--cs-ink); font-size: 0.95rem; }
.fl-page-footer .fl-page-footer-wrap { padding: 32px 0; }
.fl-page-footer .fl-page-footer-text { color: #c9cacb; }
.fl-page-footer a { color: #fff; text-decoration: none; border-bottom: 1px solid rgba(255,255,255,0.25); }
.fl-page-footer a:hover { color: var(--cs-yellow); border-bottom-color: var(--cs-yellow); text-decoration: none; }

/* ---------------------------------------------------------------------------
   Builder content width / page chrome
   --------------------------------------------------------------------------- */
.fl-post-title, .fl-post-header { display: none; }
.fl-page-content .fl-content { padding: 0; }
.fl-builder-content .fl-row-fixed-width { max-width: 1140px; }
.fl-builder-content .fl-row-content-wrap { padding-left: 24px; padding-right: 24px; }
/* Phones: one consistent gutter from the row, none from individual modules or columns */
@media (max-width: 767px) {
  .fl-builder-content .fl-row-content-wrap { padding-left: 24px !important; padding-right: 24px !important; }
  .fl-builder-content .fl-col { padding-left: 0 !important; padding-right: 0 !important; }
  /* Beaver Builder caps narrow columns at 400px and centers them on small screens; keep them full width instead */
  .fl-builder-content .fl-col-small { max-width: none !important; margin-left: 0 !important; margin-right: 0 !important; width: 100% !important; }
  .fl-builder-content .fl-module, .fl-builder-content .fl-module .fl-module-content { margin-left: 0 !important; margin-right: 0 !important; }
}
