/* =============================================
   HooplaConnect — International Stylesheet
   Fonts: Montserrat (primary), Inter (footer)
   Breakpoints: lg 900+, med 640–899, sm 0–639
   Content max-width: 1280px (wider than Figma 980px)
   ============================================= */

@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700;800&family=Inter:wght@400,500,600&display=swap');

/* =============================================
   CSS VARIABLES
   ============================================= */
:root {
  --color-bg:           #f4f3fb;
  --color-dark:         #292e3d;
  --color-mid:          #606880;
  --color-light:        #f0f1f5;
  --color-light-alt:    #eff4fe;
  --color-placeholder:  #606880;
  --color-yellow:       #fcb900;
  --color-gray:         #e9e9f2;

  --grad-purple:        linear-gradient(135deg, #6c49ed, #3f42ec);
  --grad-section:       linear-gradient(135deg, rgba(230,174,255,0.24), rgba(69,106,255,0.24));
  --grad-icon:          linear-gradient(135deg, #6c49ed, #3f42ec);

  --font-primary:       'Montserrat', sans-serif;
  --font-footer:        'Inter', sans-serif;

  --max-content:        1280px;
  --section-pad-v:      80px;
  --section-pad-h:      48px;

  /* breakpoints for reference in JS */
  --bp-lg:              900px;
  --bp-sm:              640px;
}

/* =============================================
   RESET & BASE
   ============================================= */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-primary);
  background-color: var(--color-bg);
  color: var(--color-dark);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6, h7 {
  font-weight: 800;
}

img { max-width: 100%; display: block; height: auto; }
a { text-decoration: none; color: inherit; }
ul, ol { list-style: none; }
p + p { margin-top: 1em; }

p {
  font-size: 1.125rem;
  line-height: 150%;
  font-weight: 500;
  font-family: var(--font-footer);
  color: var(--color-mid);
}

/* =============================================
   LAYOUT HELPERS
   ============================================= */
.intl-container {
  max-width: var(--max-content);
  margin: 0 auto;
  width: 100%;
  padding: 0 var(--section-pad-h);
}

.intl-section {
  padding: var(--section-pad-v) 0;
}

/* =============================================
   WORDPRESS BLOCK EDITOR OVERRIDES
   ============================================= */
.wp-site-blocks,
.entry-content {
  padding: 0;
  margin: 0;
}

.wp-block-post-content {
  margin: 0;
}

/* =============================================
   HEADER / NAVIGATION
   ============================================= */

   .hc-nav__buttons a {
    color: white;
   }

   .hc-nav {
  & .hc-nav__logo {
    & img {
      height: 60px;
      width: auto;
    }
  }
}
/* =============================================
   BUTTONS
   ============================================= */
   .intl-btn {
    font-weight: 700;
    padding: 15px 35px;
    border-radius: 100px;
    position: relative;
    font-family: var(--font-footer);
    span {
      position: relative;
      z-index: 2;
    }
    &.outline {
      background: rgba(136, 152, 168, 0.05);
      &:hover {
        background: rgba(136, 152, 168, 0.5);
      }
    }
    &.dark.outline {
      background: rgba(136, 152, 168, 0.10);
      &:hover {
        background: rgba(136, 152, 168, 0.5);
      }
    }
    &::before {
      content: '';
      position: absolute;
      width: 100%;
      height: 100%;
      top: 0;
      left: 0;
      border-radius: 100px;
      border: solid 1px rgba(240, 241, 245, 0.85);
      -webkit-mask-image: linear-gradient(to bottom, black 40%, transparent 100%);
      mask-image: linear-gradient(to bottom, black 40%, transparent 100%);
    }
    &::after {
      content: '';
      position: absolute;
      width: 100%;
      height: 100%;
      top: 0;
      left: 0;
      border-radius: 100px;
      border: solid 1px rgba(240, 241, 245, 0.6);
        -webkit-mask-image: linear-gradient(to top, black 40%, transparent 100%);
      mask-image: linear-gradient(to top, black 40%, transparent 100%);
    }
    &.dark::before {
      border: solid 1px #8089A3;
        -webkit-mask-image: linear-gradient(to bottom, black 40%, transparent 100%);
      mask-image: linear-gradient(to bottom, black 40%, transparent 100%);
    }
    &.dark::after {
      border: solid 1px #313749;
        -webkit-mask-image: linear-gradient(to top, black 40%, transparent 100%);
      mask-image: linear-gradient(to top, black 40%, transparent 100%);
    }
  }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 8px 24px;
  font-family: var(--font-primary);
  font-size: 14px;
  letter-spacing: -0.28px;
  cursor: pointer;
  border: none;
  transition: opacity 0.2s, transform 0.15s;
  white-space: nowrap;
  line-height: 1;

  /* Primary — solid light fill, dark text */
  &.btn--primary {
    background: var(--color-light);
    color: var(--color-dark);
    font-weight: 500;

    &:hover  { background: rgba(240,241,245,0.85); }
    &:active { background: rgba(240,241,245,0.75); }
  }

  /* Secondary — solid light outline */
  &.btn--secondary {
    background: transparent;
    color: var(--color-light);
    font-weight: 400;
    border: 1.5px solid rgba(240,241,245,0.5);

    &:hover  { background: rgba(240,241,245,0.10); }
    &:active { background: rgba(240,241,245,0.20); }
  }

  /* Secondary Color — gradient outline */
  &.btn--secondary-color {
    position: relative;
    background: transparent;
    color: var(--color-light);
    font-weight: 400;
    border: none;

    &::before {
      content: '';
      position: absolute;
      inset: 0;
      border-radius: inherit;
      padding: 1.5px;
      background: linear-gradient(90deg, #a7c5ff, #5a81ff 29%, #937dff 70%, #6a3bf4);
      -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
      mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
      -webkit-mask-composite: xor;
      mask-composite: exclude;
      pointer-events: none;
    }

    &:hover  { background: linear-gradient(90deg, rgba(168,197,255,0.10), rgba(90,129,255,0.10) 29%, rgba(147,125,255,0.10) 70%, rgba(106,59,244,0.10)); }
    &:active { background: linear-gradient(90deg, rgba(168,197,255,0.20), rgba(90,129,255,0.20) 29%, rgba(147,125,255,0.20) 70%, rgba(106,59,244,0.20)); }
  }

  /* Tertiary — ghost, no fill or border */
  &.btn--tertiary {
    background: transparent;
    color: var(--color-light);
    font-weight: 400;

    &:hover  { background: linear-gradient(90deg, rgba(168,197,255,0.10), rgba(90,129,255,0.10) 29%, rgba(147,125,255,0.10) 70%, rgba(106,59,244,0.10)); }
    &:active { background: linear-gradient(90deg, rgba(168,197,255,0.20), rgba(90,129,255,0.20) 29%, rgba(147,125,255,0.20) 70%, rgba(106,59,244,0.20)); }
  }

  /* Submit — purple gradient fill */
  &.btn--submit {
    background: var(--grad-purple);
    color: var(--color-light);
    font-weight: 500;
    padding: 12px 32px;
    font-size: 14px;

    &:hover  { opacity: 0.88; }
    &:active { opacity: 0.75; }
  }
}

/* =============================================
   MAIN
   ============================================= */
#main {
	min-height: 80vh;
}

/* =============================================
   GRAVITY FORMS
   ============================================= */
#input_2_1_2, #input_2_1_3, #input_2_1_6, #input_2_5, #input_2_3, #input_2_4_6 {
  border-radius: 16px !important;
  padding: 8px 40px 8px 16px !important;
  height: auto !important;
  background-color: rgba(136, 152, 168, 0.10);
  border-color: #313749 !important;
}
.gform-field-label {
  font-size: 14px !important;
  font-style: normal !important;
  font-weight: 600 !important;
  line-height: 120% !important;
  color: #292E3D !important;;
}
#input_2_4_6_container {
  width: 100%;
}
.gform-footer.gform_footer.top_label {
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
}
#gform_submit_button_2 {
  border-radius: 100px;
  padding: 15px 30px;
  font-weight: 700;
  font-family: 'Inter';
  background-image: linear-gradient(180deg, #2A65E5 0%, #3E2FF1 100%);
}
/* =============================================
   BLOCK: HERO
   ============================================= */
  .intl-hero {
    padding-top: 170px;
    background-size: cover;
    background-position: center center;
    .intl-hero__content-wrapper {
      display: flex;
      align-items: center;
      flex-direction: column;
      gap: 25px;
      h1 {
        max-width: 21ch;
        margin: 0 auto;
        font-size: 48px;
      }
      p {
        padding-top: 20px;
        font-weight: 400;
      }
    }
    .intl-hero__check-marks {
      margin: 0 auto;
      display: flex;
      justify-content: center;
      color: var(--color-yellow);
      font-weight: 700;
      font-family: var(--font-footer);
      li {
        position: relative;
        &::before {
          content: '';
          width: 20px;
          height: 20px;
          background-color: transparent;
          background-image: url("data:image/svg+xml,%3Csvg%20width%3D%2215%22%20height%3D%2215%22%20viewBox%3D%220%200%2015%2015%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20fill-rule%3D%22evenodd%22%20clip-rule%3D%22evenodd%22%20d%3D%22M0%207.16667C0%2011.1247%203.20863%2014.3333%207.16667%2014.3333C11.1247%2014.3333%2014.3333%2011.1247%2014.3333%207.16667C14.3333%203.20863%2011.1247%200%207.16667%200C3.20863%200%200%203.20863%200%207.16667ZM10.2838%204.67523C10.5552%204.92403%2010.5735%205.34574%2010.3248%205.61715L6.65813%209.61713C6.5352%209.7512%206.36293%209.8292%206.18113%209.8332C5.99933%209.83713%205.82384%209.76667%205.69526%209.63807L4.02859%207.9714C3.76825%207.71107%203.76825%207.28893%204.02859%207.0286C4.28895%206.76827%204.71105%206.76827%204.97141%207.0286L6.14573%208.20293L9.34187%204.71619C9.59067%204.44477%2010.0124%204.42644%2010.2838%204.67523Z%22%20fill%3D%22%23F6C225%22%2F%3E%3C%2Fsvg%3E");
          border-radius: 50%;
          display: inline-block;
          margin: 0 10px 0 20px;
          background-size: contain;
          background-position: center;
          background-repeat: no-repeat;
          position: relative;
          top: 4px;
        }
      }
    }
    .intl-hero_banner img {
      width: 100%;
    }
    .intl-btn {
      color: white;
    }
  }

/* =============================================
   BLOCK: FLUID GRID
   ============================================= */

   .intl-fluid-grid__header {
      max-width: 80ch;
      text-align: center;
      margin: 0 auto;
      .acf-innerblocks-container {
        display: flex;
        flex-direction: column;
        gap: 24px;
        align-items: center;
      }
      .wp-block-heading {
        font-weight: 800;
        max-width: 25ch;
        display: inline-block;
      }
      p {
        max-width: 55ch;
      }
    }
    
  .intl-fluid-grid__card {
      background-color: white;
      padding: 24px;
      display: flex;
      flex-direction: column;
      gap: 16px;
      border-radius: 24px;
      .intl-fluid-grid__card-text {
        font-weight: 400;
      }
    }

    .intl-fluid-grid__card-icon {
      width: 70px;
    }

    .intl-fluid-grid__cards {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 16px;
      align-items: start;
      max-width: 980px;
      margin: 0 auto;
      &:last-child {
        /* grid-column-start: 1;
        grid-column-end: 3; */
      }
    }

    .intl-fluid-grid__cta {
display: flex;
  flex-direction: column;
  align-items: center;
    }

/* =============================================
   BLOCK: INTL CARD
   ============================================= */
   .intl-card__inner {
  .acf-innerblocks-container {
    max-width: 62ch;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 20px;
  }
   }
.intl-card__cards {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 40px;
  max-width: 980px;
  margin: 0 auto;
  .intl-card__card {
    width: calc(50% - 20px);
    display: flex;
    flex-direction: column;
  }
  .intl-card__image {
    border-radius: 24px;
    margin-bottom: 24px;
  }
  .intl-card__headline {
    margin-bottom: 8px;
    font-family: var(--font-footer);
  }
    .intl-card__text {
    font-weight: 400;
  }
}

   /* =============================================
   BLOCK: APP STORES
   ============================================= */
.intl-app-store {
  padding-top: 40px;
  padding-bottom: 80px;
  text-align: center;
}

/* =============================================
BLOCK: INTL TEXT IMAGE
============================================= */
.intl-text-image {
  &.intl-text-image--bottom.intl-text-image--flush {
    margin-bottom: -14%;
    position: relative;
    z-index: -1;
  }
}
.intl-text-image__content {
  .acf-innerblocks-container {
    max-width: 58ch;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 20px;
    h2 {
      max-width: 17ch;
      margin: 0 auto;
    }
  }
}
.intl-text-image__image {
  max-width: 980px;
  margin: 0 auto;
  position: relative;
  bottom: -33%;
  padding-top: 50px;
  img {
    position: relative;
    z-index: -1;
  }
}
  /* =============================================
    BLOCK: INTL ICON GRID
  ============================================= */
.intl-icon-grid__icons {
  max-width: 980px;
  display: flex;
  flex-wrap: wrap;
  row-gap: 56px;
  column-gap: 16px;
  margin: 0 auto;
  padding-bottom: 100px;
}
.intl-icon-grid__header {
  max-width: 61ch;
  margin: 0 auto;
}
.intl-icon-grid__header p {
  margin-top: 25px;
}
.intl-icon-grid__item {
  width: 15.3%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  padding: 15px;
}
.intl-icon-grid__item .intl-icon-grid__icon {
  margin-bottom: 15px;
}
.intl-icon-grid__label {
  font-weight: 700;
  letter-spacing: -0.32px;
  color: var(--color-dark);
}
  /* =============================================
  BLOCK: INTL CTA FORM
============================================= */
.intl-cta-form__content .acf-innerblocks-container {
  max-width: 59ch;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.intl-cta-form__form {
  padding-bottom: 80px;
}
  /* =============================================
  BLOCK: INTRO (We Can't Wait)
============================================= */

/* =============================================
  FOOTER
  ============================================= */

#site-footer.intl-site-footer  {
  background-color: #2050DD;
}
.intl-site-footer .page-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 50px;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 50px 1fr;
  font-family: var(--font-footer);
}
.intl-site-footer .logo {
  grid-column-start: 1;
  grid-column-end: 4;
  align-content: center;
}
.intl-site-footer .social-media {
  grid-column-start: 4;
  grid-column-end: 6;
  align-content: center;
  .social-icons {
    display: flex;
    gap: 20px;
    width: 100%;
    justify-content: end;
  }
  .icon {
    display: flex;
    align-items: center;
    justify-content: center;
  }
}
.intl-site-footer .footer-nav {
  grid-column-start: 1;
  grid-column-end: 6;
  color: white;
  margin-top: 40px;
  margin-bottom: 40px;
  span {
    font-weight: 700;
    line-height: 100%;
    margin-bottom: 20px;
  }
  .menu-item {
    .menu-link {
      font-weight: 500;
      line-height: 120%;
      font-size: 14px;
      margin-bottom: 10px;
      display: block;
      &.external::after {
        content: '';
        position: relative;
        display: inline-block;
        top: 2px;
        left: 7px;
        width: 14px;
        height: 14px;
        background-image: url(../images/external-link.svg);
        background-size: contain;
        background-repeat: no-repeat;
        background-position: center;
      }
    }
  }
}
.intl-site-footer .app-stores {
  grid-column-start: 1;
  grid-column-end: 3;
  .app-icons {
  display: flex;
  gap: 14px;
}
}
.intl-site-footer .copyright {
  grid-column-start: 4;
  grid-column-end: 6;
  font-size: 11px;
  color: white;
  align-content: end;
  text-align: right;
    line-height: 150%;
  a {
    text-decoration: underline;
  }
  span {
    text-decoration: underline;
    cursor: pointer;
  }
}

#nav-footer > :first-child {
  display: flex;
  ul {
    display: flex;
    flex-direction: column;
    width: 25%;
  }
}

/* =============================================
   RESPONSIVE — med (640–899px)
   ============================================= */
@media (max-width: 899px) {
  :root {
    --section-pad-v:  56px;
    --section-pad-h:  32px;
  }
  html {
  overflow-x: hidden;
}
  .intl-hero_banner {
  height: 400px;
  position: relative;
}
.intl-hero {
  & .intl-hero_banner img {
    width: auto;
    position: absolute;
    height: 100%;
    max-width: none;
      top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  }
}
  .intl-fluid-grid__cards {
  grid-template-columns: repeat(2, 1fr);
}
.intl-fluid-grid__card:last-of-type {
  grid-column: 1 / -1;
}
.intl-icon-grid__item {
  width: 14.5%;
}
#nav-footer > :first-child {
  flex-wrap: wrap;
  & ul {
    width: 50%;
    margin-bottom: 20px;
  }
}
.intl-site-footer .copyright {
  grid-column-start: 1;
  grid-column-end: 1;
  text-align: center;
  margin-top: 20px;
}
}

/* =============================================
   RESPONSIVE — sm (0–639px)
   ============================================= */
@media (max-width: 639px) {
  :root {
    --section-pad-v:  48px;
    --section-pad-h:  20px;
  }
  .intl-hero {
  & .intl-hero__content-wrapper {
    & h1 {
      max-width: 100%;
      font-size: 40px;
    }
  }
}
.intl-hero {
  & .intl-hero__check-marks {
    flex-wrap: wrap;
  }
}
.intl-hero_banner {
  height: 400px;
  position: relative;
}
.intl-hero {
  & .intl-hero_banner img {
    width: auto;
    position: absolute;
    height: 100%;
    max-width: none;
      top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  }
}
.intl-text-image__image {
  bottom: 0;
  padding-top: 0;
}
.intl-text-image__image {
  & img {
    top: 50px;
  }
}
.intl-fluid-grid__cards {
  grid-template-columns: 1fr;
}
.intl-card__cards {
  flex-direction: column;
}

.intl-card__cards {
  & .intl-card__card {
    width: 100%;
  }
}
.intl-icon-grid__item {
  width: 47%;
}
.intl-icon-grid__icons {
  row-gap: 15px;
}
.intl-site-footer .page-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 30px;
}
.intl-site-footer .logo {
  grid-column-start: 1;
  grid-column-end: 1;
  /*! width: 100%; */
  margin-bottom: 20px;
}
.intl-site-footer .social-media {
  grid-column-start: 1;
  grid-column-end: 1;
  align-content: center;
}
.intl-site-footer .footer-nav {
  grid-column-end: 1;
}
.intl-site-footer .app-stores {
  grid-column-end: 1;
}
.intl-site-footer .app-stores {
  & .app-icons {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;  
    justify-content: center;
  }
}
}

/* =============================================
   WIDE SCREENS (1400px+)
   ============================================= */
@media (min-width: 1400px) {
  :root {
    --section-pad-h: 64px;
  }
}