/* ============================================================
   GRIND LAB — CONTACT PAGE
   FINAL CLEAN VERSION
============================================================ */


/* ============================================================
   LOCAL VARIABLES
============================================================ */

:root {
  --contact-green: #8bd63c;
  --contact-green-dark: #67ad2d;

  --contact-green-soft:
    rgba(139, 214, 60, 0.10);

  --contact-green-border:
    rgba(139, 214, 60, 0.28);

  --contact-dark:
    #29251f;

  --contact-white:
    #ffffff;

  --contact-light:
    #f7f9f6;

  --contact-border:
    #e6e9e4;

  --contact-text:
    #1d2428;

  --contact-gray:
    #657079;

  --contact-muted:
    #8b949b;
}



/* ============================================================
   PAGE HERO
============================================================ */

.page-hero {
  position: relative !important;

  width: 100%;

  min-height: 335px !important;
  height: auto !important;

  /*
    Navbar is fixed / overlayed.
    Top padding protects GET IN TOUCH.
    Bottom padding keeps description fully inside dark area.
  */
  padding:
    104px
    28px
    86px !important;

  overflow: hidden !important;

  background-color:
    var(--contact-dark);
}



/* ============================================================
   HIDE BREADCRUMB
   Home > Contact is intentionally removed visually
============================================================ */

.page-hero .breadcrumb {
  display: none !important;
}



/* ============================================================
   HERO CONTENT
============================================================ */

.page-hero-content {
  position: relative;

  z-index: 5;

  width: 100%;
  max-width: 900px;

  margin:
    0
    auto;

  text-align: center;
}



/* ============================================================
   GET IN TOUCH PILL
============================================================ */

.page-hero-eyebrow {
  display: inline-flex !important;

  align-items: center;
  justify-content: center;

  margin:
    0
    auto
    15px !important;

  padding:
    8px
    22px;

  border:
    1px solid
    rgba(139, 214, 60, 0.35);

  border-radius:
    999px;

  background:
    rgba(139, 214, 60, 0.09);

  color:
    var(--contact-green);

  font-size:
    11px;

  font-weight:
    850;

  letter-spacing:
    0.22em;

  line-height: 1;

  text-transform:
    uppercase;

  opacity:
    1 !important;

  visibility:
    visible !important;

  transform:
    none !important;
}



/* ============================================================
   CONTACT US
============================================================ */

.page-hero h1 {
  margin:
    0
    0
    18px !important;

  color:
    #ffffff;

  font-size:
    clamp(
      48px,
      5vw,
      64px
    );

  font-weight:
    900;

  line-height:
    1;

  letter-spacing:
    -0.045em;
}



/* ============================================================
   HERO DESCRIPTION
============================================================ */

.page-hero p {
  position: relative;

  z-index: 6;

  max-width:
    730px;

  margin:
    0
    auto !important;

  color:
    rgba(255, 255, 255, 0.80) !important;

  font-size:
    16px;

  font-weight:
    400;

  line-height:
    1.58;
}



/* ============================================================
   HERO BOTTOM CURVE
============================================================ */

.page-hero::after {
  content: "";

  position: absolute;

  z-index: 3;

  left:
    -5%;

  bottom:
    -46px;

  width:
    110%;

  height:
    84px;

  background:
    #ffffff;

  border-radius:
    50%
    50%
    0
    0
    /
    70%
    70%
    0
    0;

  pointer-events:
    none;
}



/* ============================================================
   CONTACT MAIN LAYOUT
============================================================ */

.contact-layout {
  position: relative;

  z-index: 2;

  display: grid;

  grid-template-columns:
    minmax(280px, 0.82fr)
    minmax(0, 1.45fr);

  gap:
    72px;

  width:
    min(
      1180px,
      calc(100% - 56px)
    );

  margin:
    0
    auto;

  padding:
    72px
    0
    82px;

  background:
    #ffffff;
}



/* ============================================================
   LEFT CONTACT INFORMATION
============================================================ */

.contact-info {
  min-width: 0;
}



/* ============================================================
   INFORMATION BLOCKS
============================================================ */

.contact-info-block {
  margin-bottom:
    34px;
}


.contact-info-block:last-child {
  margin-bottom:
    0;
}


.contact-info-block > h3 {
  margin:
    0
    0
    18px;

  color:
    var(--contact-green-dark);

  font-size:
    12px;

  font-weight:
    850;

  letter-spacing:
    0.16em;

  line-height:
    1.2;

  text-transform:
    uppercase;
}



/* ============================================================
   CONTACT DETAIL ROW
============================================================ */

.contact-detail {
  display: flex;

  align-items:
    flex-start;

  gap:
    15px;

  padding:
    15px
    0;

  border-bottom:
    1px solid
    var(--contact-border);
}


.contact-detail:last-child {
  border-bottom:
    none;
}



/* ============================================================
   CONTACT DETAIL ICON
============================================================ */

.contact-detail-icon {
  display: flex;

  align-items:
    center;

  justify-content:
    center;

  width:
    42px;

  height:
    42px;

  flex:
    0 0 42px;

  border:
    1px solid
    var(--contact-green-border);

  border-radius:
    12px;

  background:
    var(--contact-green-soft);

  color:
    var(--contact-green-dark);

  font-size:
    15px;
}



/* ============================================================
   CONTACT DETAIL TEXT
============================================================ */

.contact-detail-text {
  min-width: 0;

  padding-top:
    2px;
}


.contact-detail-text strong {
  display:
    block;

  margin-bottom:
    4px;

  color:
    var(--contact-text);

  font-size:
    14px;

  font-weight:
    750;

  line-height:
    1.35;
}


.contact-detail-text span,
.contact-detail-text a {
  color:
    var(--contact-gray);

  font-size:
    13.5px;

  line-height:
    1.55;

  text-decoration:
    none;

  overflow-wrap:
    anywhere;
}


.contact-detail-text a:hover {
  color:
    var(--contact-green-dark);

  text-decoration:
    underline;
}



/* ============================================================
   MAP
============================================================ */

.map-embed {
  width:
    100%;

  height:
    290px !important;

  margin-top:
    12px;

  overflow:
    hidden;

  border:
    1px solid
    var(--contact-border);

  border-radius:
    14px !important;

  background:
    var(--contact-light);

  box-shadow:
    0
    8px
    24px
    rgba(16, 24, 32, 0.05);
}


.map-embed iframe {
  display:
    block;

  width:
    100%;

  height:
    100%;

  border:
    0;
}



/* ============================================================
   CONTACT FORM COLUMN
============================================================ */

.contact-form-wrap {
  min-width:
    0;

  padding:
    4px
    0
    0;
}



/* ============================================================
   FORM HEADER
============================================================ */

.form-header {
  margin-bottom:
    28px;
}


.form-header h2 {
  margin:
    0
    0
    10px;

  color:
    var(--contact-text);

  font-size:
    clamp(
      28px,
      3vw,
      36px
    );

  font-weight:
    850;

  line-height:
    1.08;

  letter-spacing:
    -0.035em;
}


.form-header p {
  max-width:
    680px;

  margin:
    0;

  color:
    var(--contact-gray);

  font-size:
    14.5px;

  line-height:
    1.65;
}


.form-header a {
  color:
    var(--contact-green-dark) !important;

  font-weight:
    650;

  text-decoration:
    none;
}


.form-header a:hover {
  text-decoration:
    underline;
}



/* ============================================================
   FORM
============================================================ */

.contact-form {
  width:
    100%;
}



/* ============================================================
   FORM ROW
============================================================ */

.form-row {
  display:
    grid;

  grid-template-columns:
    repeat(
      2,
      minmax(0, 1fr)
    );

  gap:
    18px;
}



/* ============================================================
   FORM GROUP
============================================================ */

.form-group {
  margin-bottom:
    20px;
}


.form-group label {
  display:
    block;

  margin-bottom:
    7px;

  color:
    var(--contact-text);

  font-size:
    12.5px;

  font-weight:
    700;

  line-height:
    1.3;
}



/* ============================================================
   INPUT / SELECT / TEXTAREA
============================================================ */

.form-group input,
.form-group select,
.form-group textarea {
  width:
    100%;

  border:
    1px solid
    var(--contact-border);

  border-radius:
    10px;

  outline:
    none;

  background:
    #ffffff;

  color:
    var(--contact-text);

  font-family:
    inherit;

  font-size:
    14px;

  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    background 0.2s ease;
}


.form-group input,
.form-group select {
  min-height:
    48px;

  padding:
    0
    15px;
}


.form-group textarea {
  min-height:
    155px;

  padding:
    14px
    15px;

  line-height:
    1.55;

  resize:
    vertical;
}


.form-group input::placeholder,
.form-group textarea::placeholder {
  color:
    #a0a7ad;
}



/* ============================================================
   FORM FOCUS
============================================================ */

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color:
    var(--contact-green);

  background:
    #ffffff;

  box-shadow:
    0
    0
    0
    3px
    rgba(139, 214, 60, 0.12);
}



/* ============================================================
   CHECKBOX
============================================================ */

.form-checkbox {
  display:
    flex;

  align-items:
    flex-start;

  gap:
    10px;

  margin-top:
    2px;

  margin-bottom:
    22px;
}


.form-checkbox input {
  width:
    16px;

  min-width:
    16px;

  height:
    16px;

  min-height:
    16px;

  margin:
    2px
    0
    0;

  padding:
    0;

  accent-color:
    var(--contact-green-dark);
}


.form-checkbox label {
  margin:
    0;

  color:
    var(--contact-gray);

  font-size:
    12.5px;

  font-weight:
    450;

  line-height:
    1.55;
}



/* ============================================================
   SUBMIT
============================================================ */

.form-submit {
  margin-top:
    4px;
}


.form-submit .btn {
  min-height:
    50px;

  border-radius:
    10px;

  background:
    var(--contact-green);

  border-color:
    var(--contact-green);

  color:
    #17300e;

  font-weight:
    800;

  box-shadow:
    none;

  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    background 0.2s ease;
}


.form-submit .btn:hover {
  transform:
    translateY(-2px);

  background:
    #97df49;

  border-color:
    #97df49;

  box-shadow:
    0
    9px
    22px
    rgba(139, 214, 60, 0.23);
}



/* ============================================================
   FORM NOTE
============================================================ */

.form-note {
  margin:
    13px
    0
    0;

  color:
    var(--contact-muted);

  font-size:
    11.5px;

  line-height:
    1.5;

  text-align:
    center;
}



/* ============================================================
   JOIN SECTION
============================================================ */

.join-section {
  position:
    relative;

  padding:
    78px
    28px
    82px;

  overflow:
    hidden;

  background:
    #27231e;
}



/* ============================================================
   JOIN INNER
============================================================ */

.join-inner {
  width:
    100%;

  max-width:
    1180px;

  margin:
    0
    auto;
}



/* ============================================================
   JOIN SECTION HEADER
============================================================ */

.join-section .section-header {
  margin-bottom:
    38px;

  text-align:
    center;
}


.join-section .section-tag {
  color:
    var(--contact-green);
}


.join-section .section-title {
  color:
    #ffffff;
}


.join-section .section-subtitle {
  color:
    rgba(255, 255, 255, 0.65);
}



/* ============================================================
   JOIN CARDS
============================================================ */

.join-cards {
  display:
    grid;

  grid-template-columns:
    repeat(
      3,
      minmax(0, 1fr)
    );

  gap:
    22px;
}



/* ============================================================
   JOIN CARD
============================================================ */

.join-card {
  display:
    flex;

  flex-direction:
    column;

  min-height:
    100%;

  padding:
    28px
    26px;

  border:
    1px solid
    rgba(255, 255, 255, 0.10);

  border-radius:
    16px;

  background:
    rgba(255, 255, 255, 0.045);

  box-shadow:
    0
    14px
    34px
    rgba(0, 0, 0, 0.08);

  transition:
    transform 0.22s ease,
    border-color 0.22s ease,
    background 0.22s ease;
}


.join-card:hover {
  transform:
    translateY(-5px);

  border-color:
    var(--contact-green-border);

  background:
    rgba(139, 214, 60, 0.065);
}



/* ============================================================
   JOIN ICON
============================================================ */

.join-card-icon {
  display:
    flex;

  align-items:
    center;

  justify-content:
    center;

  width:
    52px;

  height:
    52px;

  margin-bottom:
    18px;

  border:
    1px solid
    var(--contact-green-border);

  border-radius:
    13px;

  background:
    rgba(139, 214, 60, 0.10);

  color:
    var(--contact-green);

  font-size:
    20px;
}



/* ============================================================
   JOIN TEXT
============================================================ */

.join-card h3 {
  margin:
    0
    0
    11px;

  color:
    #ffffff;

  font-size:
    20px;

  font-weight:
    800;

  line-height:
    1.25;
}


.join-card > p {
  margin:
    0
    0
    18px;

  color:
    rgba(255, 255, 255, 0.64);

  font-size:
    13px;

  line-height:
    1.65;
}



/* ============================================================
   REQUIREMENTS
============================================================ */

.requirements {
  display:
    flex;

  flex-direction:
    column;

  gap:
    9px;

  margin-bottom:
    23px;
}


.req-item {
  display:
    flex;

  align-items:
    flex-start;

  gap:
    8px;

  color:
    rgba(255, 255, 255, 0.72);

  font-size:
    12px;

  line-height:
    1.5;
}


.req-item i {
  margin-top:
    3px;

  flex-shrink:
    0;

  color:
    var(--contact-green);

  font-size:
    10px;
}



/* ============================================================
   JOIN BUTTON
============================================================ */

.join-card .btn {
  align-self:
    flex-start;

  margin-top:
    auto;

  border-color:
    rgba(255, 255, 255, 0.30);

  color:
    #ffffff;
}


.join-card .btn:hover {
  border-color:
    var(--contact-green);

  background:
    var(--contact-green);

  color:
    #17300e;
}



/* ============================================================
   FAQ SECTION
============================================================ */

.faq-section {
  padding:
    78px
    28px
    88px;

  background:
    var(--contact-light);
}



/* ============================================================
   FAQ CONTAINER
============================================================ */

.faq-container {
  width:
    100%;

  max-width:
    900px;

  margin:
    0
    auto;
}


.faq-section .section-header {
  margin-bottom:
    34px;

  text-align:
    center;
}



/* ============================================================
   FAQ ITEM
============================================================ */

.faq-item {
  margin-bottom:
    12px;

  overflow:
    hidden;

  border:
    1px solid
    var(--contact-border);

  border-radius:
    12px;

  background:
    #ffffff;

  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}


.faq-item:hover {
  border-color:
    var(--contact-green-border);
}


.faq-item.active,
.faq-item.open {
  border-color:
    var(--contact-green-border);

  box-shadow:
    0
    10px
    28px
    rgba(16, 24, 32, 0.055);
}



/* ============================================================
   FAQ QUESTION
============================================================ */

.faq-question {
  display:
    flex;

  align-items:
    center;

  justify-content:
    space-between;

  gap:
    20px;

  padding:
    19px
    21px;

  color:
    var(--contact-text);

  font-size:
    14px;

  font-weight:
    700;

  line-height:
    1.45;

  cursor:
    pointer;

  user-select:
    none;
}


.faq-question i {
  color:
    var(--contact-green-dark);

  font-size:
    12px;

  transition:
    transform 0.2s ease;
}


.faq-item.active
.faq-question i,
.faq-item.open
.faq-question i {
  transform:
    rotate(45deg);
}



/* ============================================================
   FAQ ANSWER
============================================================ */

.faq-answer {
  max-height:
    0;

  overflow:
    hidden;

  transition:
    max-height 0.28s ease;
}


.faq-item.active
.faq-answer,
.faq-item.open
.faq-answer {
  max-height:
    500px;
}


.faq-answer-inner {
  padding:
    0
    21px
    20px;

  color:
    var(--contact-gray);

  font-size:
    13px;

  line-height:
    1.7;
}



/* ============================================================
   DESKTOP / SMALL LAPTOP
============================================================ */

@media (max-width: 1100px) {

  .contact-layout {
    gap:
      50px;
  }


  .join-cards {
    gap:
      18px;
  }

}



/* ============================================================
   TABLET
============================================================ */

@media (max-width: 900px) {

  .page-hero {
    min-height:
      315px !important;

    padding:
      96px
      24px
      78px !important;
  }


  .contact-layout {
    grid-template-columns:
      1fr;

    gap:
      48px;

    width:
      min(
        720px,
        calc(100% - 48px)
      );

    padding:
      62px
      0
      68px;
  }


  .contact-info {
    width:
      100%;
  }


  .contact-form-wrap {
    width:
      100%;
  }


  .join-cards {
    grid-template-columns:
      1fr;

    max-width:
      680px;

    margin:
      0
      auto;
  }


  .join-card {
    min-height:
      auto;
  }

}



/* ============================================================
   TABLET SMALL
============================================================ */

@media (max-width: 768px) {

  .page-hero {
    min-height:
      300px !important;

    padding:
      90px
      22px
      72px !important;
  }


  .page-hero h1 {
    font-size:
      44px;
  }


  .page-hero p {
    max-width:
      620px;

    font-size:
      15px;
  }


  .page-hero::after {
    bottom:
      -38px;

    height:
      70px;
  }


  .contact-layout {
    padding-top:
      56px;
  }


  .map-embed {
    height:
      270px !important;
  }


  .join-section {
    padding:
      66px
      24px
      70px;
  }


  .faq-section {
    padding:
      66px
      24px
      72px;
  }

}



/* ============================================================
   MOBILE
============================================================ */

@media (max-width: 600px) {

  .form-row {
    grid-template-columns:
      1fr;

    gap:
      0;
  }


  .contact-layout {
    width:
      calc(100% - 36px);

    padding-bottom:
      58px;
  }


  .contact-detail {
    gap:
      12px;
  }


  .contact-detail-icon {
    width:
      39px;

    height:
      39px;

    flex-basis:
      39px;
  }

}



/* ============================================================
   SMALL MOBILE
============================================================ */

@media (max-width: 520px) {

  .page-hero {
    min-height:
      278px !important;

    padding:
      82px
      18px
      66px !important;
  }


  .page-hero-eyebrow {
    margin-bottom:
      11px !important;

    padding:
      7px
      18px;

    font-size:
      10px;
  }


  .page-hero h1 {
    margin-bottom:
      14px !important;

    font-size:
      38px;
  }


  .page-hero p {
    max-width:
      460px;

    font-size:
      14px;

    line-height:
      1.5;
  }


  .page-hero::after {
    bottom:
      -31px;

    height:
      58px;
  }


  .contact-layout {
    width:
      calc(100% - 32px);

    padding:
      48px
      0
      54px;

    gap:
      40px;
  }


  .contact-info-block {
    margin-bottom:
      28px;
  }


  .form-header h2 {
    font-size:
      29px;
  }


  .form-header p {
    font-size:
      13.5px;
  }


  .form-group {
    margin-bottom:
      17px;
  }


  .map-embed {
    height:
      230px !important;
  }


  .join-section {
    padding:
      56px
      18px
      60px;
  }


  .join-card {
    padding:
      24px
      22px;
  }


  .faq-section {
    padding:
      56px
      18px
      62px;
  }


  .faq-question {
    padding:
      17px
      18px;

    font-size:
      13px;
  }


  .faq-answer-inner {
    padding:
      0
      18px
      18px;

    font-size:
      12.5px;
  }

}