/* Webcotec Modal Submit + Thank You Fix */
body.wc-gm-open{
  overflow:hidden!important;
}

#wc-global-project-modal{
  position:fixed;
  inset:0;
  z-index:999999;
  display:none;
  align-items:center;
  justify-content:center;
  padding:24px;
  font-family:Inter,Arial,sans-serif;
}

#wc-global-project-modal.is-open{
  display:flex;
}

.wc-gm-backdrop{
  position:absolute;
  inset:0;
  background:rgba(5,12,24,.72);
  backdrop-filter:blur(12px);
}

.wc-gm-dialog{
  position:relative;
  width:min(940px,calc(100vw - 40px));
  max-height:calc(100vh - 52px);
  display:grid;
  grid-template-columns:310px 1fr;
  border-radius:24px;
  overflow:hidden;
  background:#fff;
  box-shadow:0 34px 90px rgba(0,0,0,.34);
  animation:wcGmIn .18s ease-out both;
}

@keyframes wcGmIn{
  from{transform:translateY(14px) scale(.985);opacity:0}
  to{transform:translateY(0) scale(1);opacity:1}
}

.wc-gm-close{
  position:absolute;
  top:18px;
  right:18px;
  width:42px;
  height:42px;
  border-radius:50%;
  border:1px solid #dce7f5;
  background:#fff;
  color:#071832;
  font-size:26px;
  line-height:1;
  cursor:pointer;
  z-index:3;
}

.wc-gm-left{
  position:relative;
  min-height:560px;
  padding:44px 36px;
  color:#fff;
  background:
    radial-gradient(circle at 100% 100%,rgba(254,161,0,.22),transparent 36%),
    radial-gradient(circle at 0% 0%,rgba(1,103,255,.28),transparent 42%),
    linear-gradient(150deg,#06162c 0%,#0a2a3a 45%,#13233a 100%);
  overflow:hidden;
}

.wc-gm-left:after{
  content:"";
  position:absolute;
  width:260px;
  height:260px;
  border:1px solid rgba(254,161,0,.18);
  border-radius:50%;
  right:-95px;
  bottom:-95px;
}

.wc-gm-icon{
  width:54px;
  height:54px;
  border-radius:16px;
  display:grid;
  place-items:center;
  background:linear-gradient(135deg,#0167ff,#dd2b90,#fea100);
  font-size:22px;
  font-weight:900;
  margin-bottom:32px;
  box-shadow:0 18px 40px rgba(221,43,144,.28);
}

.wc-gm-chip,
.wc-gm-selected-label{
  color:#0f73ff;
  font-size:12px;
  letter-spacing:.12em;
  text-transform:uppercase;
  font-weight:950;
}

.wc-gm-left .wc-gm-chip{
  color:#77d9ff;
  margin-bottom:18px;
}

.wc-gm-left h2{
  color:#fff;
  font-size:36px;
  line-height:1.05;
  letter-spacing:-.045em;
  margin:0 0 16px;
}

.wc-gm-left p{
  color:#d9e8ff;
  font-size:16px;
  line-height:1.6;
  margin:0;
}

.wc-gm-points{
  position:relative;
  z-index:1;
  display:grid;
  gap:10px;
  margin-top:36px;
}

.wc-gm-points span{
  display:flex;
  align-items:center;
  gap:8px;
  color:#eaf5ff;
  font-size:14px;
  font-weight:750;
}

.wc-gm-right{
  padding:44px 42px 36px;
  background:#fff;
  max-height:calc(100vh - 52px);
  overflow:auto;
}

.wc-gm-right h3{
  color:#071832;
  font-size:28px;
  line-height:1.15;
  letter-spacing:-.035em;
  margin:10px 0 28px;
  padding-right:40px;
}

.wc-gm-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:16px;
}

.wc-gm-field{
  min-width:0;
}

.wc-gm-field label{
  display:block;
  color:#60708a;
  font-size:14px;
  line-height:1.2;
  margin:0 0 8px;
  font-weight:700;
}

.wc-gm-field input,
.wc-gm-field textarea{
  width:100%;
  border:1px solid #dce7f5;
  border-radius:10px;
  background:#fff;
  min-height:46px;
  padding:12px 14px;
  color:#071832;
  font-size:15px;
  outline:none;
  box-shadow:none;
}

.wc-gm-field input:focus,
.wc-gm-field textarea:focus{
  border-color:#0167ff;
  box-shadow:0 0 0 4px rgba(1,103,255,.12);
}

.wc-gm-full{
  grid-column:1 / -1;
}

.wc-gm-field textarea{
  min-height:112px;
  resize:vertical;
}

.wc-gm-actions{
  display:grid;
  grid-template-columns:1fr 180px;
  gap:18px;
  align-items:center;
  margin-top:22px;
}

.wc-gm-actions p{
  color:#60708a;
  font-size:14px;
  line-height:1.45;
  margin:0;
}

.wc-gm-actions button{
  width:100%;
  min-height:48px;
  border:0;
  border-radius:10px;
  background:linear-gradient(135deg,#0167ff,#dd2b90,#fea100);
  color:#fff;
  font-size:15px;
  font-weight:950;
  cursor:pointer;
  box-shadow:0 18px 38px rgba(221,43,144,.22);
}

.wc-gm-actions button:disabled{
  opacity:.72;
  cursor:wait;
}

.wc-gm-error{
  min-height:20px;
  margin-top:12px;
  color:#d41445;
  font-size:14px;
  font-weight:800;
}

/* Premium thank you screen */
.wc-gm-success{
  min-height:470px;
  display:flex;
  flex-direction:column;
  justify-content:center;
  align-items:flex-start;
  animation:wcGmSuccessIn .2s ease-out both;
}

@keyframes wcGmSuccessIn{
  from{opacity:0;transform:translateY(8px)}
  to{opacity:1;transform:translateY(0)}
}

.wc-gm-success-icon{
  width:72px;
  height:72px;
  border-radius:22px;
  display:grid;
  place-items:center;
  margin-bottom:24px;
  color:#fff;
  font-size:34px;
  font-weight:950;
  background:linear-gradient(135deg,#0167ff,#dd2b90,#fea100);
  box-shadow:0 22px 48px rgba(221,43,144,.25);
}

.wc-gm-success h3{
  padding:0;
  margin:8px 0 14px;
  font-size:36px;
  line-height:1.05;
}

.wc-gm-success p{
  margin:0;
  color:#60708a;
  font-size:17px;
  line-height:1.6;
  max-width:460px;
}

.wc-gm-success-card{
  width:100%;
  margin:24px 0;
  padding:18px;
  border-radius:18px;
  background:linear-gradient(180deg,#f7fbff,#fff);
  border:1px solid #dce7f5;
}

.wc-gm-success-card strong{
  display:block;
  color:#071832;
  font-size:17px;
  margin-bottom:6px;
}

.wc-gm-success-card span{
  color:#60708a;
  font-size:13px;
  font-weight:800;
}

.wc-gm-success-actions{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
}

.wc-gm-success-actions button,
.wc-gm-success-actions a{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:46px;
  border-radius:999px;
  padding:0 18px;
  border:1px solid #dce7f5;
  background:#fff;
  color:#071832;
  text-decoration:none;
  font-size:15px;
  font-weight:950;
  cursor:pointer;
}

.wc-gm-success-actions button{
  background:linear-gradient(135deg,#0167ff,#dd2b90,#fea100);
  color:#fff;
  border-color:transparent;
}

.wc-gm-cta-hooked{
  cursor:pointer!important;
}

/* Replaces damaged inline service inquiry forms with one clean modal CTA card */
.wc-gm-inline-cta-card{
  width:100%;
  border-radius:24px;
  padding:32px;
  background:
    radial-gradient(circle at 90% 10%,rgba(221,43,144,.16),transparent 34%),
    linear-gradient(135deg,#071832,#10233a);
  color:#fff;
  border:1px solid rgba(255,255,255,.12);
  box-shadow:0 20px 60px rgba(7,24,50,.14);
}

.wc-gm-inline-cta-card span{
  display:inline-flex;
  align-items:center;
  color:#77d9ff;
  font-size:12px;
  letter-spacing:.12em;
  text-transform:uppercase;
  font-weight:950;
  margin-bottom:14px;
}

.wc-gm-inline-cta-card h3{
  color:#fff;
  font-size:34px;
  line-height:1.05;
  letter-spacing:-.045em;
  margin:0 0 12px;
}

.wc-gm-inline-cta-card p{
  color:#d9e8ff;
  font-size:16px;
  line-height:1.6;
  margin:0 0 22px;
}

.wc-gm-inline-cta-card button{
  border:0;
  border-radius:14px;
  padding:15px 20px;
  color:#fff;
  background:linear-gradient(135deg,#0167ff,#dd2b90,#fea100);
  font-weight:950;
  cursor:pointer;
}

@media(max-width:820px){
  #wc-global-project-modal{
    align-items:flex-start;
    padding:14px;
    overflow:auto;
  }

  .wc-gm-dialog{
    width:100%;
    grid-template-columns:1fr;
    max-height:none;
  }

  .wc-gm-left{
    min-height:auto;
    padding:30px 24px;
  }

  .wc-gm-left h2{
    font-size:30px;
  }

  .wc-gm-right{
    padding:30px 24px 26px;
    max-height:none;
    overflow:visible;
  }

  .wc-gm-grid{
    grid-template-columns:1fr;
  }

  .wc-gm-actions{
    grid-template-columns:1fr;
  }

  .wc-gm-success{
    min-height:360px;
  }
}