/* Compact Contact + Footer Refinement */

/* CONTACT SECTION - shorter, cleaner, brighter */
.contact-section{
  padding:70px 0 55px !important;
  overflow:hidden;
}

.contact-section::before,
.contact-section::after{
  display:none !important;
}

.contact-card{
  display:grid !important;
  grid-template-columns:1.05fr .95fr !important;
  border-radius:32px !important;
  overflow:hidden !important;
  background:#ffffff !important;
  border:1px solid rgba(15,23,42,.08) !important;
  box-shadow:0 26px 75px rgba(15,23,42,.13) !important;
}

.contact-card::before{
  display:none !important;
}

/* map side */
.map-box{
  position:relative;
  padding:14px !important;
  background:
    radial-gradient(circle at 12% 10%,rgba(77,231,243,.22),transparent 35%),
    linear-gradient(145deg,#eefaff,#ffffff) !important;
}

.map-box iframe{
  width:100% !important;
  min-height:420px !important;
  height:420px !important;
  border-radius:24px !important;
  filter:saturate(1.05) contrast(1.02) brightness(.98) !important;
  box-shadow:0 18px 50px rgba(15,23,42,.12) !important;
}

.map-box::before{
  content:"Art of Gymnastics";
  position:absolute;
  left:30px;
  top:30px;
  z-index:5;
  padding:10px 15px;
  border-radius:999px;
  background:rgba(255,255,255,.92);
  color:#07111f;
  font-size:13px;
  font-weight:900;
  box-shadow:0 14px 32px rgba(15,23,42,.14);
  backdrop-filter:blur(12px);
}

.map-box::after{
  content:"Fanar, Lebanon";
  position:absolute;
  left:30px;
  bottom:30px;
  z-index:5;
  padding:12px 16px;
  border-radius:18px;
  background:rgba(7,17,31,.82);
  color:#ffffff;
  font-size:14px;
  font-weight:900;
  box-shadow:0 18px 42px rgba(0,0,0,.18);
  backdrop-filter:blur(12px);
}

/* form side */
.form-box{
  position:relative;
  padding:38px 36px !important;
  background:
    radial-gradient(circle at 100% 0%,rgba(139,92,246,.13),transparent 34%),
    linear-gradient(180deg,#07111f,#0c1c31) !important;
}

.form-box::before,
.form-box::after{
  display:none !important;
}

.form-box .section-kicker{
  margin:0 !important;
  background:rgba(77,231,243,.12) !important;
  color:#4de7f3 !important;
  border-color:rgba(77,231,243,.20) !important;
}

.form-box h2{
  max-width:430px;
  margin:16px 0 20px !important;
  font-size:clamp(30px,3.6vw,46px) !important;
  line-height:.98 !important;
  color:#fff !important;
}

.form-box form{
  padding:0 !important;
  border-radius:0 !important;
  background:transparent !important;
  border:0 !important;
  backdrop-filter:none !important;
}

.form-control{
  margin-top:13px !important;
}

.form-control input,
.form-control textarea,
.form-control select{
  padding:12px 4px !important;
  font-size:14.5px !important;
}

.form-control textarea{
  min-height:86px !important;
}

.form-box .mnbtn,
.form-box .btn{
  min-height:48px !important;
  margin-top:8px !important;
}

/* old contact fallback */
.mapflx{
  min-height:auto !important;
  border-radius:32px !important;
}

.mapflx .map_img,
.mapflx .map_img iframe{
  min-height:420px !important;
  height:420px !important;
}

.mapflx .frm_dv{
  padding:38px 36px !important;
}

/* FOOTER - reduce height and keep alive */
.footer-v2,
.site-footer{
  margin-top:45px !important;
  padding-top:46px !important;
  border-radius:34px 34px 0 0 !important;
}

.footer-shape-one{
  width:300px !important;
  height:300px !important;
  left:-120px !important;
  top:-120px !important;
}

.footer-shape-two{
  width:320px !important;
  height:320px !important;
  right:-130px !important;
  bottom:-130px !important;
}

.footer-cta-v2,
.footer-cta{
  padding:24px 28px !important;
  border-radius:26px !important;
  gap:18px !important;
}

.footer-cta-copy h2,
.footer-cta h2{
  font-size:clamp(26px,3.5vw,44px) !important;
  line-height:1 !important;
  margin:8px 0 6px !important;
}

.footer-cta-copy p{
  font-size:14.5px !important;
  line-height:1.55 !important;
}

.footer-main-v2,
.footer-grid{
  padding:26px 0 22px !important;
  gap:16px !important;
}

.footer-brand-v2,
.footer-links-card,
.footer-visit-card{
  padding:20px !important;
  border-radius:22px !important;
}

.footer-logo-card{
  width:104px !important;
  min-height:70px !important;
  margin-bottom:12px !important;
}

.footer-brand-v2 p,
.footer-brand p,
.footer-visit-card p{
  font-size:14px !important;
  line-height:1.6 !important;
}

.footer-mini-grid{
  margin:12px 0 !important;
}

.footer-mini-grid div{
  padding:10px !important;
  border-radius:14px !important;
}

.footer-mini-grid strong{
  font-size:22px !important;
}

.footer-mini-grid span{
  font-size:11px !important;
}

.footer-links-card h3,
.footer-visit-card h3,
.footer-col h3{
  font-size:20px !important;
  margin-bottom:10px !important;
}

.footer-links-card a,
.footer-col a{
  padding:6px 0 !important;
  font-size:14px !important;
}

.footer-social{
  margin-top:12px !important;
}

.footer-social a{
  width:40px !important;
  height:40px !important;
}

.footer-social img{
  width:23px !important;
  height:23px !important;
}

.footer-bottom-v2,
.footer-bottom{
  padding:16px 0 !important;
}

.footer-bottom-v2 p,
.footer-bottom p,
.footer-bottom-v2 a,
.footer-bottom a{
  font-size:13px !important;
}

/* MOBILE CONTACT */
@media(max-width:980px){
  .contact-section{
    padding:55px 0 42px !important;
  }

  .contact-card{
    grid-template-columns:1fr !important;
    border-radius:26px !important;
  }

  .form-box{
    order:1;
    padding:30px 24px !important;
  }

  .map-box{
    order:2;
    padding:10px !important;
  }

  .map-box iframe{
    min-height:310px !important;
    height:310px !important;
    border-radius:20px !important;
  }

  .map-box::before{
    left:22px;
    top:22px;
  }

  .map-box::after{
    left:22px;
    bottom:22px;
  }

  .mapflx .map_img,
  .mapflx .map_img iframe{
    min-height:310px !important;
    height:310px !important;
  }
}

/* MOBILE FOOTER */
@media(max-width:640px){
  .contact-section{
    padding:46px 0 34px !important;
  }

  .form-box{
    padding:26px 18px !important;
    text-align:center;
  }

  .form-box h2{
    font-size:31px !important;
    margin-bottom:18px !important;
  }

  .form-box .section-kicker{
    margin-left:auto !important;
    margin-right:auto !important;
  }

  .map-box iframe{
    min-height:255px !important;
    height:255px !important;
  }

  .map-box::before{
    font-size:11px;
    padding:8px 11px;
  }

  .map-box::after{
    font-size:12px;
    padding:10px 12px;
    border-radius:14px;
  }

  .footer-v2,
  .site-footer{
    margin-top:35px !important;
    padding-top:34px !important;
    border-radius:26px 26px 0 0 !important;
  }

  .footer-cta-v2,
  .footer-cta{
    padding:20px 16px !important;
    border-radius:22px !important;
  }

  .footer-cta-copy h2,
  .footer-cta h2{
    font-size:29px !important;
  }

  .footer-main-v2,
  .footer-grid{
    padding:20px 0 18px !important;
    gap:12px !important;
  }

  .footer-brand-v2,
  .footer-links-card,
  .footer-visit-card{
    padding:18px !important;
    border-radius:20px !important;
  }

  .footer-bottom-v2,
  .footer-bottom{
    padding:14px 0 88px !important;
    gap:9px !important;
  }
}
