/* Custom CSS for Crypto 507 Site */

/* ================================================
   CRYPTO507 - Custom CSS
   ================================================ */

:root {
  --c507-red: #c90f00;
  --c507-red-hover: #fc3321;
  --c507-dark: #030001;
  --c507-card-bg: #100608;
  --c507-border: rgba(255, 255, 255, 0.08);
  --c507-text-muted: rgba(255, 255, 255, 0.65);
}

body {
  background-color: var(--c507-dark) !important;
  color: #fff;
  overflow-y: scroll;
  font-family: 'Onest', Arial, sans-serif;
}

/* cyrillic */
@font-face {
  font-family: 'Onest';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/onest/v9/gNMKW3F-SZuj7xmb-HYoEoeyxMI.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* latin-ext */
@font-face {
  font-family: 'Onest';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/onest/v9/gNMKW3F-SZuj7xmR-HYoEoeyxMI.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Onest';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/onest/v9/gNMKW3F-SZuj7xmf-HYoEoey.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* BEGIN Inter Font */
@font-face {
  font-family: 'Inter';
  src: url('https://crypto507.com/wp-content/themes/nvbarebones/fonts/inter/Inter-Light.woff2') format('woff2');
  font-weight: 200;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Inter';
  src: url('https://crypto507.com/wp-content/themes/nvbarebones/fonts/inter/Inter-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Inter';
  src: url('https://crypto507.com/wp-content/themes/nvbarebones/fonts/inter/Inter-Italic.woff2') format('woff2');
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: 'Inter';
  src: url('https://crypto507.com/wp-content/themes/nvbarebones/fonts/inter/Inter-SemiBold.woff2') format('woff2');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Inter';
  src: url('https://crypto507.com/wp-content/themes/nvbarebones/fonts/inter/Inter-Bold.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Inter';
  src: url('https://crypto507.com/wp-content/themes/nvbarebones/fonts/inter/Inter-Black.woff2') format('woff2');
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}
/* END Inter Font */

.text-muted {
  color: var(--c507-text-muted) !important;
}
.text-normal-case {
  text-transform: none !important;
}


@media (min-width: 1200px) {
  .container {
    max-width: 1487px !important;
  }
}
@media (min-width: 992px) {
  .container {
    max-width: 1130px !important;
  }
}
/* ---------------------------------- BEGIN MAIN HERO ---------------------------------- */
#hero {
  position: relative;
  background-color: var(--c507-dark);
  padding: 100px 0 0;
  /* overflow: visible; */
  text-align: center;
}

#hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(ellipse 60% 70% at 20% 60%, rgba(180, 10, 0, 0.28) 0%, transparent 65%), radial-gradient(ellipse 40% 50% at 80% 30%, rgba(120, 5, 0, 0.15) 0%, transparent 60%);
  pointer-events: none;
  z-index: 0;
}

#hero .hero-inner {
  position: relative;
  z-index: 1;
}

#hero h1 {
  font-size: clamp(2.1rem, 4vw, 4.2rem);
  font-weight: 700;
  font-family: 'Inter', Arial, sans-serif;
  line-height: 1.08;
  color: #fff;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  margin-bottom: 20px;
}

#hero h1 .text-red {
  background-color: var(--c507-red);
  color: #fff;
  padding: 2px 12px;
  display: inline-block;
}

#hero .hero-subtitle {
  font-family: 'Onest', Arial, sans-serif;
  font-size: clamp(0.87rem, 1.4vw, 0.8rem);
  color: var(--c507-text-muted);
  max-width: 500px;
  margin: 0 auto 32px;
  line-height: 1.6;
}

.btn-c507-primary {
  background-color: var(--c507-red);
  border: none;
  color: #fff !important;
  font-weight: 700;
  font-size: 0.9rem;
  padding: 16px 36px;
  border-radius: 50px;
  text-decoration: none !important;
  transition: background 0.2s;
  display: inline-block;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  box-shadow: 0px 0px 65px 0px rgba(252, 19, 0, 0.3);
}

.btn-c507-primary:hover {
  background-color: var(--c507-red-hover);
}

.btn-c507-outline {
  background: rgb(170 71 71 / 15%);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--c507-red);
  color: #fff;
  color: #fff !important;
  font-weight: 700;
  font-size: 0.9rem;
  padding: 16px 36px;
  border-radius: 50px;
  text-decoration: none !important;
  transition: border-color 0.2s;
  display: inline-block;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.btn-c507-outline:hover {
  border-color: #fff;
}

#hero .hero-badges {
  font-family: 'Onest', Arial, sans-serif;
  font-size: 14px !important;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 40px;
  margin-top: 40px;
  flex-wrap: wrap;
}

#hero .hero-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 7000;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #fff;
}

#hero .hero-badge .badge-icon {
  width: 22px;
  height: 22px;
  background-color: var(--c507-red);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 0.7rem;
}

#hero .hero-coin-wrap {
  position: relative;
  margin-top: 50px;
  height: 480px;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  overflow: visible;
}

#hero .hero-coin-wrap::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 700px;
  height: 400px;
  background: radial-gradient(ellipse 80% 60% at 50% 80%, rgba(180, 10, 0, 0.45) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

  #hero .hero-coin-wrap img {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 900px;
    display: block;
    filter: drop-shadow(0 0 80px rgba(201, 15, 0, 0.4));
  }
/* ---------------------------------- END MAIN HERO ---------------------------------- */
/* ---------------------------------- BEGIN SERVICE ---------------------------------- */
#services-body {
  background: rgb(24 0 0 / 43%);
  backdrop-filter: blur(37px);
  -webkit-backdrop-filter: blur(37px);
  color: #fff;
  border-radius: 42px;
  position: relative;
  z-index: 14;
  overflow: hidden;
}

#services-body h2,
#reasons h2,
#how-we-work h2 {
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  font-weight: 700;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  font-family: 'Inter', Arial, sans-serif;
}

#services-body h2 span,
#reasons h2 span,
#how-we-work h2 span {
  color: var(--c507-red);
}

#services-body .section-subtitle,
#reasons .section-subtitle,
#how-we-work .section-subtitle {
  color: var(--c507-text-muted);
  font-size: 1rem;
}

.title {
  font-size: clamp(1.8rem, 3vw, 2.3rem);
  font-weight: 700;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: -0.01em;
}

.general-subtitle{
  font-family: 'Onest', Arial, sans-serif;
  font-size: clamp(0.87rem, 1.4vw, 1.05rem);
  color: var(--c507-text-muted);
  line-height: 1.6;
}

.svc-row {
  display: flex;
  align-items: center;
  background: var(--c507-card-bg);
  border: 1px solid var(--c507-border);
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 20px;
  min-height: 280px;
}

.svc-row--reverse {
  flex-direction: row-reverse;
}

.svc-img {
  flex: 0 0 48%;
  max-width: 48%;
  overflow: hidden;
  align-self: stretch;
  background: linear-gradient(135deg, #1a0a0a 0%, #0d0515 50%, #0a0a1a 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.svc-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
  max-height: 260px;
}

.svc-content {
  flex: 0 0 52%;
  max-width: 52%;
  padding: 40px 48px;
}

#services-body h3 {
  font-size: clamp(1.1rem, 2vw, 1.5rem);
  font-family: 'Inter', Arial, sans-serif;
  font-weight: 700;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  margin-bottom: 14px;
  line-height: 1.2;
}

.svc-content p {
  color: var(--c507-text-muted);
  font-size: 0.95rem;
  line-height: 1.65;
  margin-bottom: 28px;
}
.yoast-breadcrumb span.breadcrumb_last {
  color: var(--c507-red) !important;
}
.yoast-breadcrumb {
  text-transform: uppercase !important;
}
.yoast-breadcrumb a{
  color: var(--c507-text-muted) !important;
  text-decoration: none !important;
}

/* Gravity forms */

/* ── FOOTER GRAVITY FORM ── */
.gform_wrapper input::placeholder,
.gform_wrapper textarea::placeholder {
  color: rgba(255,255,255,0.45) !important;
  text-transform: none;
}
.gform_wrapper .gform_required_legend {
  display: none;
}
.gform_wrapper .gfield_required {
  display: none;
}
.gform_wrapper .gfield_label {
  display: none;
}
.gfield_phone .gfield_description {
    display: none;
}
.gform-theme--foundation .gform_fields{
  row-gap: 17px !important;
}

footer .newsletter-text{
    text-transform: none;
}
footer .newsletter-text p {
    font-family: 'Inter', Arial, sans-serif;
    font-size: 15px;
}
footer .newsletter-text div {
    font-size: 14px;
    font-family: 'Onest', Arial, sans-serif;
}

/* ── CHECKBOX ── */
.gform_wrapper input[type="checkbox"] {
  appearance: none !important;
  -webkit-appearance: none !important;
  width: 18px !important;
  height: 18px !important;
  border: 2px solid #fff !important;
  border-radius: 4px !important;
  background: transparent !important;
  cursor: pointer !important;
  flex-shrink: 0 !important;
  color: var(--c507-text-muted) !important;
}
.gform_wrapper .gfield_checkbox label {
    font-size: 14px !important;
    color: var(--c507-text-muted) !important;
}
.gform_wrapper .gfield_checkbox .gchoice {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    margin-top: 10px !important;
}

/* ── THANK YOU MESSAGE ── */
.gform_confirmation_message {
  color: #ffffff !important;
  text-align: center !important;
  text-transform: none !important;
}

/* ── WRAPPER LAYOUT: any form in footer ── */
footer .gform_wrapper form {
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-rows: auto auto;
  gap: 0 10px;
  align-items: start;
}

footer .gform_wrapper form .gform_body {
    grid-column: 1;
    grid-row: 1;
    width: 100%;
}

footer .gform_wrapper form .gform-footer,
footer .gform_wrapper form .gform_footer {
    grid-column: 2;
    grid-row: 1;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
}

/* ── INPUT FILLS REMAINING SPACE ── */
footer .gform_wrapper input[type="email"],
footer .gform_wrapper input[type="text"] {
  width: 100%;
  box-sizing: border-box;
}

footer .gform_wrapper .gfield_error .gfield_label {
  display: block !important;
}

/* ── REVERT gform_fields to normal flow ── */
footer .gform_wrapper .gform_fields {
  display: block;
  text-transform: none !important;
}

/* ── CHECKBOX FULL WIDTH ── */
footer .gform_wrapper .gfield--type-checkbox {
    grid-column: 1 / -1;
}
footer .gform_wrapper input[type="checkbox"]:checked {
    background: transparent;
    border-color: #fff;
    position: relative;
}

footer .gform_wrapper input[type="checkbox"]:checked::after {
    content: '✓';
    color: #fff;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/* ── SUBMIT INLINE WITH INPUT ── */
footer .gform_wrapper .gform_footer,
footer .gform_wrapper .gform_page_footer {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0;
    margin-top: 10px;
}

footer .gform_wrapper .gform_footer input[type="submit"],
footer .gform_wrapper .gform_page_footer input[type="submit"] {
    background: #445ca8 !important;
    color: #fff;
    border: none;
    border-radius: 50px;
    padding: 0.65rem 1.75rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s ease;
    white-space: nowrap;
    flex-shrink: 0;
    border-radius: 25px !important;
}

footer .gform_wrapper .gform_footer input[type="submit"]:hover,
footer .gform_wrapper .gform_page_footer input[type="submit"]:hover {
    background: #4e6ac2;
}
.btn-c507-badge {
    position: relative;
    background: linear-gradient(0.25turn, rgba(53, 5, 1, 1) 0%, rgba(51, 23, 21, 1) 100%);
    border: none;
    z-index: 0;
    font-weight: 600;
}

.btn-c507-badge::after {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--c507-red-hover);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
    border-radius: inherit;
}

.btn-c507-badge:hover::after {
    opacity: 1;
}
.c507-links{
    color: white;
    text-decoration-color: var(--c507-red);
}
.c507-links:hover{
    text-decoration-color: var(--c507-red-hover) !important;
}
.c507-links:active{
    text-decoration-color: #780900 !important;
}

footer #footer-content{
    font-family: 'Inter', Arial, sans-serif;
    text-transform: uppercase;
}
#footer-services p{
    font-size: 14px;
}
#footer-services a:hover{
    color: white !important;
}
#footer-services a:active{
    color: #ffffff78 !important;
}
#footer-services a, #footer-socials a{
    font-size: 12px;
}
#footer-socials i{
    font-size: 14px;
    margin-left: 0.25rem;
}
.footer-gradient {
    position: absolute;
    z-index: 0;
    overflow: hidden;
}

.footer-gradient img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    display: block;
}

.footer-gradient--left {
    left: -30rem;
    top: 0;
    width: 59rem;
    height: 100%;
}

.footer-gradient--right {
    right: -14rem;
    top: 0;
    width: 62rem;
    height: 100%;
}

@media (max-width:767px) {

  .svc-row,
  .svc-row--reverse {
    flex-direction: column;
  }

  .svc-img,
  .svc-content {
    flex: 0 0 100%;
    max-width: 100%;
  }

  .svc-img {
    padding: 24px 24px 16px;
  }

  .svc-img img {
    max-height: 200px;
  }

  .svc-content {
    padding: 24px;
    text-align: center;
  }
  .footer-gradient--left{
    left: -16rem !important;
    top: -14rem !important;
    width: 29rem !important;
  }
  .footer-gradient--right{
    right: -25rem !important;
    top: 21rem !important;
    width: 53rem !important;
  }
}
/* ---------------------------------- END SERVICE ---------------------------------- */
/* REASONS */
#reasons {
  padding: 70px 0 80px;
  position: relative;
  background-color: var(--c507-dark);
  background-image: url('https://static.tildacdn.one/tild3939-3231-4437-a162-643261306531/Group_1_5-min.png');
  background-size: auto 100%;
  background-position: center center;
  background-repeat: no-repeat;
}

#reasons::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgb(2 2 2 / 20%);
  pointer-events: none;
}

#reasons .container {
  position: relative;
  z-index: 1;
}

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

.reason-card {
  background: rgb(0 10 29 / 18%);
  backdrop-filter: blur(37px);
  -webkit-backdrop-filter: blur(37px);
  border: 1px solid var(--c507-border);
  border-radius: 14px;
  padding: 28px 24px;
  display: flex;
  align-items: center;
  gap: 20px;
  transition: background 0.3s ease, border-color 0.3s ease;
}

.reason-card:hover {
  background: linear-gradient(135deg, #0d1a3a 0%, #0a1128 50%, #080d1e 100%);
  border-color: rgba(79, 124, 255, 0.35);
}

.reason-icon {
  flex-shrink: 0;
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.reason-icon img {
  width: 64px;
  height: 64px;
  object-fit: contain;
}

.reason-label {
  font-size: 0.82rem;
  font-weight: 800;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  line-height: 1.4;
}

@media (max-width:991px) {
  .reasons-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width:575px) {
  .reasons-grid {
    grid-template-columns: 1fr;
  }
}

/* HOW WE WORK */
#how-we-work {
  padding: 70px 0 80px;
}

.hww-desktop {
  display: block;
}

.hww-mobile {
  display: none;
}

/* Shared image wrapper */
.hww-img-wrap {
  width: 100%;
  aspect-ratio: 4 / 3;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hww-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
}

.hww-rows-wrap {
  position: relative;
}

/* ROW 1 */
.hww-row1 {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 16px;
  align-items: start;
  margin-bottom: 16px;
  position: relative;
  overflow: visible;
}

.hww-row1-arrow1 {
  position: absolute;
  left: calc(33.33% + 8px);
  bottom: calc(80px + 8px);
  transform: translateX(-50%);
  z-index: 10;
  pointer-events: none;
}

.hww-row1-arrow2 {
  position: absolute;
  left: calc(66.66% + 8px);
  bottom: calc(80px + 8px);
  transform: translateX(-50%);
  z-index: 10;
  pointer-events: none;
}

.hww-row1-arrow1 img,
.hww-row1-arrow2 img {
  width: 60px;
  height: auto;
  opacity: 0.9;
  display: block;
}

/* Corner arrow: moved up by changing bottom from -45px to -10px */
.hww-corner-arrow {
  position: absolute;
  right: 0;
  bottom: -10px;
  z-index: 10;
  pointer-events: none;
}

.hww-corner-arrow img {
  width: 80px;
  height: auto;
  opacity: 0.9;
  display: block;
  transform: rotate(45deg);
  transform-origin: center center;
}

.hww-step {
  display: flex;
  flex-direction: column;
}

.hww-step-card {
  background: var(--c507-card-bg);
  border: 1px solid var(--c507-border);
  border-radius: 20px;
  overflow: hidden;
}

.hww-step-text {
  padding: 20px 20px 24px;
  text-align: center;
}

.hww-step-text h3 {
  font-size: 1rem;
  font-weight: 900;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin: 0 0 8px;
  line-height: 1.3;
}

.hww-step-text p {
  font-size: 1rem;
  color: var(--c507-text-muted);
  line-height: 1.6;
  margin: 0;
}

/* ROW 2 */
.hww-row2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  align-items: stretch;
  position: relative;
}

.hww-row2-arrow {
  position: absolute;
  left: 50%;
  bottom: calc(80px + 8px);
  transform: translateX(-50%);
  z-index: 10;
  pointer-events: none;
}

.hww-row2-arrow img {
  width: 60px;
  height: auto;
  opacity: 0.9;
  transform: scaleX(-1);
  display: block;
}

.hww-step5 {
  border: 1px solid var(--c507-border);
  border-radius: 20px;
  overflow: hidden;
  display: flex;
  flex-direction: row;
  align-items: stretch;
  height: 100%;
}

.hww-step5-img {
  flex: 0 0 55%;
}

.hww-step5-img .hww-img-wrap {
  height: 100%;
  aspect-ratio: unset;
}

.hww-step5-cta {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: 28px 32px;
  text-align: left;
}

.hww-step5-cta h3 {
  font-size: 1rem;
  font-weight: 900;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin: 0 0 10px;
  line-height: 1.3;
}

.hww-step5-cta p {
  font-size: 1rem;
  color: var(--c507-text-muted);
  line-height: 1.6;
  margin: 0 0 22px;
}

.hww-step4-wrap {
  border: 1px solid var(--c507-border);
  border-radius: 20px;
  overflow: hidden;
  display: flex;
  flex-direction: row;
  align-items: stretch;
  height: 100%;
}

.hww-step4-img {
  flex: 0 0 55%;
}

.hww-step4-img .hww-img-wrap {
  height: 100%;
  aspect-ratio: unset;
}

.hww-step4-text {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  /* align-items: flex-start; */
  padding: 28px 32px;
  text-align: left;
}

.hww-step4-text h3 {
  font-size: 1rem;
  font-weight: 900;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin: 0 0 10px;
  line-height: 1.3;
}

.hww-step4-text p {
  font-size: 1rem;
  color: var(--c507-text-muted);
  line-height: 1.6;
  margin: 0;
}

/* PARTNERS */
#partners {
  /* background-color: var(--c507-dark); */
  padding: 30px 0 80px;
  position: relative;
  /* background-image: url('https://static.tildacdn.one/tild6639-6535-4334-a439-623836616432/Group_1_7-min.png'); */
  /* background-size: auto 100%; */
  /* background-position: center center; */
  /* background-repeat: no-repeat; */
}

/* #partners::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  pointer-events: none;
} */

#partners .red-hex{
  position: absolute; 
  top: 58%; 
  left: 50%; 
  transform: translate(-50%, -50%); 
  width: 25rem; 
  opacity: 1; 
  pointer-events: none; 
  z-index: 0;
}

#partners .container {
  position: relative;
  z-index: 1;
}

#partners h2 {
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  font-weight: 700;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  text-align: center;
  margin-bottom: 50px;
  z-index: 2;
  position: relative;
}

.partners-desktop {
  display: block;
}

.partners-mobile {
  display: none;
}

.partners-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  align-items: center;
}

.partner-card {
  /* background: rgba(16, 6, 8, 0.6); */
  border: 1px solid var(--c507-border);
  border-radius: 20px;
  /* padding: 40px 20px; */
  display: flex;
  align-items: center;
  justify-content: center;
  /* aspect-ratio: 1; */
  transition: background 0.3s ease, border-color 0.3s ease;
  /* min-height: 180px; */
  /* backdrop-filter: blur(10px); */
}

.partner-card:hover {
  background: linear-gradient(135deg, rgba(13, 26, 58, 0.8) 0%, rgba(10, 17, 40, 0.8) 50%, rgba(8, 13, 30, 0.8) 100%);
  border-color: rgba(79, 124, 255, 0.35);
}

.partner-card img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  border-radius: 18px;
}

/* ── INPUT ── */
.gform_wrapper input[type="text"],
.gform_wrapper input[type="email"],
.gform_wrapper input[type="tel"],
.gform_wrapper input[type="number"],
.gform_wrapper textarea,
.gform_wrapper select{
  background: rgb(24 0 0 / 43%) !important;
  backdrop-filter: blur(37px) !important;
  -webkit-backdrop-filter: blur(37px) !important;
  color: #fff !important;
  padding: 0.65rem 1.25rem !important;
  width: 100% !important;
  box-sizing: border-box !important;
  border: 1px solid var(--c507-red) !important;
  text-transform: none !important;
}
/* Different border radius for textarea */
.gform_wrapper textarea {
  border-radius: 18px !important;
}
/* No padding for dropdown */
.gform_wrapper select{
  padding: 0px 10px !important;
}
/* Shows a custom chevron */
.gform_wrapper select {
  appearance: none !important;
  -webkit-appearance: none !important;
  -moz-appearance: none !important;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e") !important;
  background-repeat: no-repeat !important;
  background-position: right 1rem center !important;
  background-size: 1.5em !important;
  padding-right: 2.5rem !important;
}
.gform_wrapper input[type="text"],
.gform_wrapper input[type="email"],
.gform_wrapper input[type="tel"],
.gform_wrapper input[type="number"],
.gform_wrapper select{
  border-radius: 50px !important;
}

.gform_wrapper input::placeholder,
.gform_wrapper textarea::placeholder {
    color: rgba(255, 255, 255, 0.45);
}

/* ── CHECKBOX ── */
.gform_wrapper input[type="checkbox"] {
    appearance: none;
    -webkit-appearance: none;
    width: 18px;
    height: 18px;
    border: 2px solid #fff;
    border-radius: 4px;
    background: transparent;
    cursor: pointer;
    flex-shrink: 0;
}

.gform_wrapper input[type="checkbox"]:checked {
    background: transparent;
    border-color: #fff;
    position: relative;
}

.gform_wrapper input[type="checkbox"]:checked::after {
    content: '✓' !important;
    color: #fff !important;
    font-size: 13px !important;
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
}

.gform_wrapper .gfield_checkbox label {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
}

.gform_wrapper .gfield_checkbox .gchoice {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 10px;
}

/* ── SUBMIT ── */
.gform_wrapper .gform_footer input[type="submit"],
.gform_wrapper .gform_page_footer input[type="submit"] {
    background: #445ca8 !important;
    color: #fff !important;
    border: none !important;
    border-radius: 50px !important;
    padding: 0.65rem 1.75rem !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    transition: background 0.3s ease !important;
    white-space: nowrap !important;
}

.gform_wrapper .gform_footer input[type="submit"]:hover,
.gform_wrapper .gform_page_footer input[type="submit"]:hover {
    background: #4e6ac2 !important;
}
/* --------------- BEGIN MODAL ----------------- */
/* ── BACKDROP ── */
.modal-backdrop.show {
    opacity: 1 !important;
    background: rgb(79 67 67 / 5%) !important;
    backdrop-filter: blur(9px);
    -webkit-backdrop-filter: blur(9px);
}

/* ── MODAL DIALOG ── */
.c507-modal .modal-dialog {
    position: relative;
    overflow: visible;
}

/* ── MODAL CONTENT ── */
.c507-modal .modal-content {
    position: relative;
    overflow: visible;
    background: rgb(45 18 18 / 65%) !important;
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 25px;
}

/* ── X BUTTON ── */
.c507-modal-close {
    position: absolute;
    top: -38px;
    right: -6px;
    z-index: 10;
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.c507-modal-close:hover {
    opacity: 0.7;
    transform: scale(1.1);
}

.c507-modal-close img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}
/* --------------- END MODAL ----------------- */

@media (max-width: 1024px) {
  .partners-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 991px) {
  .partners-desktop {
    display: none;
  }

  .partners-mobile {
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: 16px;
    z-index: 2;
    position: relative;
  }

  .partners-mobile::-webkit-scrollbar {
    display: none;
  }

  .partners-scroll-track {
    display: flex;
    align-items: stretch;
    gap: 16px;
    width: max-content;
    padding: 0 20px;
  }

  .partner-mcard {
    flex-shrink: 0;
    width: 220px;
    /* background: rgba(16, 6, 8, 0.6); */
    border: 1px solid var(--c507-border);
    border-radius: 20px;
    /* padding: 20px; */
    display: flex;
    align-items: center;
    justify-content: center;
    /* min-height: 180px; */
    /* backdrop-filter: blur(10px); */
  }

  .partner-mcard img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    border-radius: 18px;
  }
}

/* FAQ - ANSWERS TO POPULAR QUESTIONS */
#faq {
  background-color: var(--c507-dark);
  padding: 70px 0 20px;
}

#faq h2 {
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  font-weight: 700;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  text-align: center;
  margin-bottom: 0px;
}

.accordion-c507 {
  --bs-accordion-padding-y: 0;
  --bs-accordion-padding-x: 0;
  --bs-accordion-bg: transparent;
  --bs-accordion-border-color: transparent;
  --bs-accordion-btn-active-bg: transparent;
  --bs-accordion-btn-active-border-color: transparent;
  --bs-accordion-border-width: 0;
}

.accordion-c507 .accordion-item {
  background: transparent;
  border: none !important;
  border-radius: 0;
  margin-bottom: 28px;
  overflow: visible;
  transition: margin 0.3s ease;
}

.accordion-c507 .accordion-item:first-child {
  margin-top: 50px;
}

.accordion-c507 .accordion-item:hover .accordion-button {
  background: linear-gradient(135deg, #0d1a3a 0%, #0a1128 50%, #080d1e 100%);
  border-color: rgba(79, 124, 255, 0.35) !important;
}

.accordion-c507 .accordion-button {
  background: #1a1418 !important;
  border: 1px solid var(--c507-border) !important;
  border-radius: 20px !important;
  padding: 28px 32px;
  color: #fff;
  font-size: 0.95rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  line-height: 1.4;
  text-align: left;
  transition: all 0.3s ease;
  margin: 0;
}

.accordion-c507 .accordion-button:not(.collapsed) {
  background: #1a1418 !important;
  color: #fff;
  box-shadow: none !important;
  border-radius: 20px !important;
}

.accordion-c507 .accordion-button:focus {
  outline: none;
  box-shadow: none !important;
  border-color: rgba(79, 124, 255, 0.35) !important;
}

.accordion-c507 .accordion-button::after {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23c90f00'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  margin-left: auto;
}

.accordion-c507 .accordion-collapse {
  margin: 0;
  padding: 0;
  transition: all 0.3s ease;
}

.accordion-c507 .accordion-body {
  background: transparent;
  color: var(--c507-text-muted);
  padding: 16px 32px 0 32px;
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.65;
  border: none !important;
  border-radius: 0;
  transition: padding 0.3s ease;
}


/* BEGIN Lang flag */
.c507-lang-switcher-flags {
    display: inline-flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.07);
    border-radius: 50px;
    padding: 4px;
    gap: 2px;
}

.c507-lang-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border-radius: 50px;
    text-decoration: none;
    color: rgba(255, 255, 255, 0.5);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.03em;
    transition: color 0.2s ease, background 0.2s ease;
}

.c507-lang-pill:hover {
    color: #fff;
}

.c507-lang-pill.c507-lang-active {
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
}

.c507-lang-flag {
    font-size: 16px;
    line-height: 1;
}
/* END Lang flag */
@media (max-width: 767px) {
  #faq h2 {
    margin-bottom: 0px;
  }

  .accordion-c507 .accordion-item:first-child {
    margin-top: 50px;
  }

  .accordion-c507 .accordion-button {
    padding: 20px 20px;
    font-size: 0.85rem;
  }

  .accordion-c507 .accordion-body {
    padding: 12px 20px 0 20px;
    font-size: 0.88rem;
  }
}

/* REACH OUT TO US */
#reach-out .reach-out-wrapper {
    display: flex;
    align-items: center;
    /* background: linear-gradient(to right, #1a0a0a, #2a0a0a); */
    border-radius: 16px;
    overflow: hidden;
    gap: 2rem;
    padding-right: 2rem;
    height: 150px;
    background: rgb(24 0 0 / 43%);
    backdrop-filter: blur(37px);
    -webkit-backdrop-filter: blur(37px);
}

#reach-out .reach-out-image {
    /* flex-shrink: 0; */
    /* width: 220px; */
    height: 231px;
    border-radius: 16px 0 0 16px;
    /* mask-image: linear-gradient(to right, black 60%, transparent 100%);
    -webkit-mask-image: linear-gradient(to right, black 60%, transparent 100%); */
}

/* #reach-out .reach-out-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
} */
#reach-out .reach-out-image img {
    width: 125%;
    height: 108%;
    object-fit: cover;
    object-position: center;
    z-index: 2;
    position: relative;
    top: 1.5rem;
    left: -24%;
}

.reach-out-section h2 {
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  font-weight: 700;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: -0.01em;
}

.reach-out-section p {
  font-family: 'Onest', Arial, sans-serif;
  font-size: clamp(0.87rem, 1.4vw, 1.05rem);
  color: var(--c507-text-muted);
  max-width: 500px;
}

.reach-out-button {
  grid-column: 3;
  grid-row: 1;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  position: relative;
  z-index: 1;
  padding: 0 40px;
}

.reach-out-button .btn-c507-primary {
  padding: 12px 32px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  white-space: nowrap;
  display: inline-block;
}
.hero .red-grad-tl{
  width: 31rem;
  top: 2rem;
  left: -17rem;
}
.hero .coin-grad-tl{
  top: 19rem !important;
  left: -6rem;
  width: 13rem;
}
.hero .blue-grad-tr{
  background: radial-gradient(circle, rgba(58, 123, 213, 0.4) 0%, transparent 70%);
  width: 500px;
  height: 500px;
  top: -13rem;
  right: -15rem;
}
.hero .coin-grad-tr{
  top: 8rem;
  right: -7rem;
}
.hero .left-coin{
  left: -13rem;
  width: 32rem;
}
.hero .right-coin{
  width: 33rem;
  left: 9rem;
}

.hero .left-card{
  top: -12rem;
  left: 1rem;	
  width: 16rem;
}
.hero .right-card{
  left: 7.2rem;
  width: 14rem;
}
.hero .red-grad-br{
  width: 25rem;
  right: -12rem;
  bottom: 5rem;
}

.hero-text{
  margin-top: -36%;
}

.container-fluid .blue-grad{
  position: absolute; 
  top: 50%; 
  left: 100%; 
  transform: translate(-50%, -50%); 
  width: 50rem; 
  pointer-events: none; 
  z-index: 0;
  opacity: 1;
}

.card-borders{
  border: 2px solid #ffffff2e;
  border-radius: 25px;
  height: 100%;
}
#services{
  margin-top: -9rem;
  overflow:hidden;
}

@media (max-width: 767px) {
  .hero .left-coin{
  }
  .hero .right-coin {
  }
}

.tag-panama {
  position: relative;
  display: inline-block;
  background-color: #fff;
  color: #CC0000;
  font-weight: 800;
  padding: 4px 32px 4px 12px;
  clip-path: polygon(0% 0%, 90% 0%, 97% 50%, 90% 100%, 0% 100%);
}

.blue-grad{

}
@media (min-width: 1200px) {
  .hero-text{
    margin-top: -27%;
  }
}

@media (max-width: 767px) {
  .hero .right-card{
    left: -3rem;
    top: -10rem;
    width: 8rem;
  }
  .hero .left-card{
    top: -7rem;
    width: 12rem;
    left: 9rem;
  }
  .hero .left-coin{
    left: -7rem;
    width: 18rem;
  }
  .hero .right-coin{
    width: 19rem !important;
    left: 6rem !important;
  }
  .center-stack {
    top: 79% !important
  }
  .hero .coin-grad-tr {
    right: -5rem;
  }
  .hero-text {
    margin-top: -21rem;
  }
  .hero .red-grad-br {
    right: -16rem;
    bottom: 11rem;
  }
  .hex-image{
    top: 2rem !important;
    left: -1rem !important;
  }
  #partners .red-hex{
    width: 32rem;
  }
}
@media (max-width: 576px) {
  .hero-text{
    margin-top: -20rem;
  }
  .hero .coin-grad-tl {
    top: 21rem !important;
    left: -8rem;
    width: 11rem;
  }
  #services{
    margin-top: -9rem;
  }
  #hero .hero-badges {
    gap: 10px;
    margin-top: 27px;
  }
  #partners .red-hex{
    position: absolute; top: 58%; left: 50%; transform: translate(-50%, -50%); width: 19rem; opacity: 1; pointer-events: none; z-index: -1;
  }
}
@media (max-width: 1199px) {
  #reach-out .reach-out-wrapper{
    height: 213px !important;
    
  }
  #reach-out .reach-out-image img{
    top: 0 !important;
  }
}

@media (max-width: 1024px) {
  .reach-out-wrapper {
    grid-template-columns: 35% 1fr 140px;
    gap: 30px;
  }

  .reach-out-wrapper::before {
    left: 35%;
  }
}


/* =====================
REACH OUT SECTION
===================== */

.reach-out-section {
  
}

.reach-out-row {
  /* Desktop: set a fixed height so the image has something to overflow from */
  min-height: 150px; /* adjust to your needs */
}

.reach-out-section .container{
  background: rgb(24 0 0 / 43%);
  border-radius: 25px;
  overflow: hidden;
  border: 2px solid #ff74742e;
}
  
/* ── IMAGE WRAPPER ── */
.reach-out-img-wrapper {
  position: relative;
  height: 100%; /* fills the column height */
  overflow: visible; /* let it bleed outside */
  pointer-events: none;
}

.reach-out-img {
  position: absolute;

  /* ┌─────────────────────────────────────────────────────┐
  │  DESKTOP CLIPPING CONTROLS                          │
  │  Adjust these values to control how much is clipped │
  └─────────────────────────────────────────────────────┘ */
  top: -114px;       /* negative = clip from top */
  bottom: -40px;    /* negative = clip from bottom */
  left: -75px;      /* negative = clip from left edge */
  /* right: auto; */

  width: 117%;      /* wider than column = clips sides */
  /* height: calc(100% + 80px); top + bottom clip combined */
  object-fit: cover;

  /* ┌─────────────────────────────────────────────┐
  │  POSITION WITHIN THE FRAME                  │
  │  Use object-position to pan the image       │
  └─────────────────────────────────────────────┘ */
  object-position: center top; /* x% y% — change to reframe */
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

/* ===================================================
    HERO
    =================================================== */
.hero {
  position: relative;
  width: 100%;
  min-height: 119vh;
  background: #0b0b10;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* grain */
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  /*background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.06'/%3E%3C/svg%3E");*/
  pointer-events: none;
  z-index: 0;
}

/* ===================================================
  Z-INDEX LAYERS
  1  – corner images
  2  – red gradient blobs
  3  – hexagon (static)
  4  – coins (slow parallax)
  5  – card left (fast parallax)
  6  – card right (fast parallax)
  10 – hero text (always front)
  =================================================== */

/* ===================================================
  CORNER IMAGES
  =================================================== */
.corner-img {
  position: absolute;
  z-index: 1;
  pointer-events: none;
}
.corner-img img,
.corner-img .ph { width: 100%; display: block; }

.corner-img--tl { top: 0;    left: 0;  width: clamp(160px, 20vw, 300px); }
.corner-img--tr { top: 0;    right: 0; width: clamp(160px, 20vw, 300px); }
.corner-img--br { bottom: 0; right: 0; width: clamp(130px, 16vw, 240px); }

/* ===================================================
GRADIENT BLOBS
=================================================== */
.corner-gradient {
  position: absolute;
  z-index: 2;
  pointer-events: none;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.40;
}
.corner-gradient--tl {
  top: -100px; left: -100px;
  width: clamp(280px, 32vw, 500px);
  height: clamp(280px, 32vw, 500px);
  background: radial-gradient(circle, #ff3b00 0%, transparent 70%);
}
.corner-gradient--tr {
  top: -100px; right: -100px;
  width: clamp(280px, 32vw, 500px);
  height: clamp(280px, 32vw, 500px);
  background: radial-gradient(circle, #ff1f5a 0%, transparent 70%);
}

/* ===================================================
CENTER ANCHOR
=================================================== */
.center-stack {
  position: absolute;
  top: 71%;
  left: 50%;
  /* anchor only — child positions are relative to this */
}

/* ===================================================
LAYER 3 · HEXAGON  (static, no parallax)
=================================================== */
.hex-image {
  position: absolute;
  z-index: 3;
  width: 27rem;
  top: -1rem;
  left: -4rem;
  transform: translate(-50%, -50%);
  pointer-events: none;
  
}
.hex-image img { width: 100%; display: block; }

/* ===================================================
LAYER 4 · COINS  (slow scroll parallax)
=================================================== */
.coins-image {
  position: absolute;
  z-index: 4;
  width: clamp(190px, 22vw, 320px);
  top: 0; left: 0;
  /* base transform — JS will append translateY() to this */
  transform: translate(-50%, -50%);
  pointer-events: none;
  will-change: transform;
}
.coins-image img { width: 100%; display: block; }

/* ===================================================
LAYER 5 & 6 · PARALLAX CARDS  (fast scroll parallax)
=================================================== */
.parallax-card {
  position: absolute;
  z-index: 5;
  width: clamp(145px, 16vw, 230px);
  border-radius: 16px;
  overflow: hidden;
  
  pointer-events: none;
  will-change: transform;
}
.parallax-card img { width: 100%; display: block; }

/* Left card — base: shift left, rotate -9deg */
.parallax-card--left {
  top: 0; left: 0;
  transform: translate(-175%, -55%);
}

/* Right card — base: shift right, rotate +7deg */
.parallax-card--right {
  z-index: 6;
  top: 0; left: 0;
  transform: translate(75%, -48%);
}

/* ===================================================
HERO TEXT  (z-index 10 — always in front)
=================================================== */
.hero-text {
  position: relative;
  z-index: 10;
  text-align: center;
  padding: 1.5rem;
}

.hero-text h1 {
  font-size: clamp(2.4rem, 6vw, 5rem);
  font-weight: 900;
  color: #fff;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.hero-text p {
  font-family: 'Outfit', sans-serif;
  font-weight: 300;
  color: rgba(255,255,255,0.60);
  font-size: clamp(1rem, 2vw, 1.2rem);
  margin-top: 1rem;
  max-width: 500px;
  margin-inline: auto;
}

.hero-text .btn-hero {
  display: inline-block;
  margin-top: 2rem;
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  padding: 0.85rem 2.8rem;
  border: none;
  border-radius: 4px;
  background: linear-gradient(135deg, #ff3b00, #ff1f5a);
  color: #fff;
  cursor: pointer;
  transition: opacity .22s, transform .22s;
  text-decoration: none;
}
.hero-text .btn-hero:hover {
  opacity: 0.82;
  transform: translateY(-2px);
}



/* ── MOBILE OVERRIDES ── */
@media (max-width: 567px) {

  .reach-out-row {
    min-height: unset;
  }

  .reach-out-img-wrapper {
    height: 260px !important; /* fixed height block for mobile image */
    width: 94% !important;
    position: relative !important;
    overflow: visible !important; /* clip happens here on mobile */
    margin-top: -30px !important; /* ← THIS controls how much the image overlaps the CTA above it */
    /* increase negative value = more overlap */
    z-index: 2 !important;
    top: 0 !important;
    left: 0 !important;
  }

  .reach-out-img {
    position: absolute !important;
    top: 0 !important; 
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    overflow: visible !important;

    /* ┌──────────────────────────────────────────────────┐
    │  MOBILE CLIPPING / POSITION CONTROL             │
    │  object-position pans within the fixed wrapper  │
    └──────────────────────────────────────────────────┘ */
    object-position: center 20%; /* adjust vertical pan */
  }

  /* Ensure CTA sits above the image overlap */
  .reach-out-cta-col {
    position: relative;
    z-index: 2;
    padding-bottom: 10px; /* small gap before image overlaps */
  }
}

/* MOBILE */
@media (max-width:991px) {
  .hww-desktop {
    display: none;
  }

  .hww-mobile {
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: 16px;
  }

  .hww-mobile::-webkit-scrollbar {
    display: none;
  }

  .hww-scroll-track {
    display: flex;
    align-items: stretch;
    gap: 0;
    width: max-content;
    padding: 0 20px;
  }

  .hww-mcard {
    flex-shrink: 0;
    width: 350px;
    background: var(--c507-card-bg);
    border: 1px solid var(--c507-border);
    border-radius: 20px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
  }

  .hww-mcard .hww-img-wrap {
    width: 100%;
    /* aspect-ratio: 1/1; */
  }


  .hww-mcard-text {
    padding: 16px 16px 20px;
    text-align: center;
    flex: 1;
  }

  .hww-mcard-text span {
    font-size: 1.1rem;
    font-weight: 700;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin: 0 0 6px;
  }

  .hww-mcard-text p {
    font-size: 1rem;
    color: var(--c507-text-muted);
    line-height: 1.55;
    margin: 0;
  }

  .hww-marrow {
    flex-shrink: 0;
    width: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .hww-marrow img {
    width: 41px;
    height: auto;
    opacity: 0.8;
  }

  .hww-row2-arrow,
  .hww-row1-arrow1,
  .hww-row1-arrow2,
  .hww-corner-arrow {
    display: none;
  }
  #reach-out .reach-out-image{
    height: 100% !important;
    width: 232px !important;
  }
  .reach-out-img {
    top: -74px; left: -75px;
    width: 127%;
  }
}
@media (max-width: 767px) {
  #reach-out {
    padding: 20px 20px;
  }

  .reach-out-wrapper {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto;
    gap: 20px;
    border-radius: 20px;
  }

  .reach-out-wrapper::before {
    display: none;
  }

  .reach-out-image {
    grid-column: 1;
    grid-row: 1;
    width: 100%;
    height: 100px;
    border-radius: 20px;
  }

  .reach-out-image img {
    width: 100%;
    height: 100%;
  }

  .reach-out-content {
    grid-column: 1;
    grid-row: 2;
    text-align: center;
    padding: 0;
  }

  .reach-out-content h2 {
    text-align: center;
    margin-bottom: 8px;
  }

  .reach-out-content p {
    text-align: center;
    margin-bottom: 16px;
  }

  .reach-out-button {
    grid-column: 1;
    grid-row: 3;
    justify-content: center;
    padding: 0;
  }

  .reach-out-button .btn-c507-primary {
    padding: 10px 30px;
    font-size: 0.75rem;
  }
  .reach-out-img-wrapper{
    height: 120px;
    top: 46px;
    left: 48px;
    width: 81%;
  }
  .reach-out-img {
    top: -80px;
  }
}