/* ==========================================================
   Profin Associates — global styles
   Brand: gold #D2AE5B · navy #072653 · border #DFDFDF
   ========================================================== */

/* ---------- Global ---------- */

/* Prevent horizontal overflow site-wide.
   `clip` (not `hidden`) so position: sticky headers keep working. */
html,
body {
    overflow-x: hidden !important;
    width: 100% !important;
}
@supports (overflow-x: clip) {
    html,
    body {
        overflow-x: clip !important;
    }
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 0.3vw;
    background: #F5F5F5;
}
::-webkit-scrollbar-thumb {
    background: #D2AE5B;
    border-radius: 0;
}

/* Text selection */
::selection {
    background: #D2AE5B;
    color: #fff;
}
::-moz-selection { /* Firefox */
    background: #D2AE5B;
    color: #fff;
}

/* Lenis smooth scroll (required base styles) */
html.lenis,
html.lenis body {
    height: auto;
}
.lenis.lenis-smooth {
    scroll-behavior: auto !important;
}
.lenis.lenis-smooth [data-lenis-prevent] {
    overscroll-behavior: contain;
}
.lenis.lenis-stopped {
    overflow: clip;
}

/* Utility: remove line-height */
.line-fix {
    line-height: 0 !important;
}

/* Gradient text */
.gradient-text {
    background: linear-gradient(90deg, #ffffff, #DAB663, #ffffff);
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradientMove 3s linear infinite;
}
@keyframes gradientMove {
    0%   { background-position: 0% center; }
    100% { background-position: 200% center; }
}

/* ---------- Blog / archive headings ---------- */
.blog-page-heading { display: none; }        /* hidden on archives */
.blog .blog-page-heading { display: block; } /* shown on blog page */
.hide-on-blog { display: block; }            /* shown on archives */
.blog .hide-on-blog { display: none; }       /* hidden on blog page */

/* ==========================================================
   CF7 — Business Services form (.cf7-form-wrap)
   ========================================================== */

.cf7-form-wrap {
  width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
}

.cf7-form-wrap br {
  display: none !important;
}

/* Tight gap between label and field */
.cf7-form-wrap .field-wrap {
  display: block !important;
  width: 100% !important;
  margin: 0 0 20px 0 !important;
  padding: 0 !important;
  line-height: 1 !important;
}

.cf7-form-wrap p,
.cf7-form-wrap .field-wrap p {
  margin-block-end: 0 !important;
  margin-block-start: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* Labels - acts as placeholder */
.cf7-form-wrap label {
  display: block !important;
  font-size: 14px !important;
  font-weight: 400 !important;
  color: #000 !important;
  margin: 0 0 2px 0 !important;
  padding: 0 !important;
  line-height: 1.2 !important;
}

/* ===== BOTTOM BORDER STYLE ===== */
.cf7-form-wrap .wpcf7-text,
.cf7-form-wrap .wpcf7-email,
.cf7-form-wrap .wpcf7-tel,
.cf7-form-wrap .wpcf7-select {
  display: block !important;
  width: 100% !important;
  height: 36px !important;
  padding: 0 4px !important;
  border: none !important;
  border-bottom: 1.5px solid #DFDFDF !important;
  border-radius: 0px !important;
  font-size: 14px !important;
  color: #000 !important;
  background: transparent !important;
  outline: none !important;
  box-shadow: none !important;
  appearance: none !important;
  -webkit-appearance: none !important;
  box-sizing: border-box !important;
  margin: 0 !important;
  line-height: 36px !important;
  transition: border-color 0.2s !important;
}

/* Focus */
.cf7-form-wrap .wpcf7-text:focus,
.cf7-form-wrap .wpcf7-email:focus,
.cf7-form-wrap .wpcf7-tel:focus,
.cf7-form-wrap .wpcf7-select:focus {
  border-bottom-color: #D2AE5B !important;
  box-shadow: none !important;
}

/* Select arrow */
.cf7-form-wrap .wpcf7-select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23888' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: right 4px center !important;
  padding-right: 28px !important;
  cursor: pointer !important;
}

/* wpcf7-form-control-wrap */
.cf7-form-wrap .wpcf7-form-control-wrap {
  display: block !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* ===== TEXTAREA ===== */
.cf7-form-wrap .wpcf7-textarea {
  display: block !important;
  width: 100% !important;
  height: 80px !important;
  padding: 4px !important;
  border: none !important;
  border-bottom: 1.5px solid #DFDFDF !important;
  border-radius: 0px !important;
  font-size: 14px !important;
  color: #000 !important;
  background: transparent !important;
  outline: none !important;
  box-shadow: none !important;
  box-sizing: border-box !important;
  line-height: 1.5 !important;
  resize: none !important;
  margin: 0 !important;
  transition: border-color 0.2s !important;
}

.cf7-form-wrap .wpcf7-textarea:focus {
  border-bottom-color: #D2AE5B !important;
  box-shadow: none !important;
}

/* ===== ERROR ===== */
.cf7-form-wrap .wpcf7-not-valid {
  border-bottom-color: #c0392b !important;
}

.cf7-form-wrap .wpcf7-not-valid-tip {
  font-size: 12px !important;
  color: #c0392b !important;
  margin-top: 4px !important;
  display: block !important;
  line-height: 1.4 !important;
}

/* ===== SUBMIT BUTTON ===== */
.cf7-form-wrap .wpcf7-submit {
  background: #072653 !important;
  color: #fff !important;
  border: none !important;
  border-radius: 0px !important;
  padding: 10px 30px !important;
  font-size: 15px !important;
  font-weight: 300 !important;
  cursor: pointer !important;
  width: auto !important;
  height: auto !important;
  margin: 8px 0 0 0 !important;
  transition: background 0.2s, color 0.2s !important;
}

.cf7-form-wrap .wpcf7-submit:hover {
  background: #D2AE5B !important;
  color: #ffffff !important;
}

/* ===== CF7 RESPONSE ===== */
.wpcf7 form.sent .wpcf7-response-output {
  border-radius: 0px !important;
  border: 1px solid #D2AE5B !important;
  color: #072653 !important;
  background: rgba(210,174,91,0.1) !important;
  padding: 10px 20px !important;
  font-size: 14px !important;
  text-align: center !important;
  margin-top: 12px !important;
}

.wpcf7 form.invalid .wpcf7-response-output,
.wpcf7 form.unaccepted .wpcf7-response-output,
.wpcf7 form.payment-required .wpcf7-response-output {
  border-radius: 0px !important;
  border: 1px solid #c0392b !important;
  color: #c0392b !important;
  background: #fdf0ee !important;
  padding: 10px 20px !important;
  font-size: 14px !important;
  text-align: center !important;
  margin-top: 12px !important;
}

/* ==========================================================
   Elementor pagination
   ========================================================== */
.elementor-pagination {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 2px !important;
    margin-top: 50px !important;
    padding: 0 !important;
}

.elementor-pagination .page-numbers {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-width: 38px !important;
    height: 38px !important;
    padding: 0 10px !important;
    border-radius: 0px !important;
    border: 1px solid #e0e0e0 !important;
    color: #666 !important;
    font-size: 15px !important;
    font-weight: 500 !important;
    text-decoration: none !important;
    transition: all 0.2s ease !important;
    background: transparent !important;
}

.elementor-pagination a.page-numbers:hover {
    background: #DFDFDF !important;
    border-color: #DFDFDF !important;
    color: #000000 !important;
}

.elementor-pagination .page-numbers.current {
    background: #000000 !important;
    border-color: #000000 !important;
    color: white !important;
    font-weight: 500 !important;
}

/* Prev/Next arrows if your pagination type includes them */
.elementor-pagination .page-numbers.next,
.elementor-pagination .page-numbers.prev {
    font-weight: 500 !important;
}

