/* ============================================================
   WEBEXTENT — CONTACT PAGE CSS
   assets/css/contact.css

   Only for: pages/contact.html
   Requires: global.css + nav.css loaded first
   ============================================================ */

body { padding-top: 64px; }

/* ============================================================
   CONTACT HERO
   ============================================================ */
.we-contact-hero {
  background: var(--color-bg-alt);
  border-bottom: 1px solid var(--color-line);
  padding: 60px 0 52px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.we-contact-hero::before {
  content: '';
  position: absolute; inset: 0; z-index: 0;
  background:
    radial-gradient(ellipse 60% 70% at 70% 40%, rgba(232,72,17,.06) 0%, transparent 65%),
    radial-gradient(ellipse 40% 60% at 20% 60%, rgba(59,124,245,.05) 0%, transparent 65%);
}
.we-contact-hero__inner { position: relative; z-index: 1; }
.we-contact-hero h1 { margin-bottom: 14px; }
.we-contact-hero p {
  font-size: 17px;
  color: var(--color-ink-2);
  max-width: 500px;
  margin: 0 auto;
  line-height: 1.75;
}


/* ============================================================
   CONTACT INFO CARDS (row of 3)
   ============================================================ */
.we-contact-info {
  padding: 56px 0 0;
}
.we-contact-info__row {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  margin-bottom: 56px;
}
.we-contact-card {
  flex: 1 1 220px;
  background: var(--color-white);
  border: 1px solid var(--color-line);
  border-radius: var(--r-xl);
  padding: 28px 24px;
  text-align: center;
  transition: var(--trans-base);
}
.we-contact-card:hover {
  box-shadow: var(--sh-md);
  border-color: var(--color-gray-3);
  transform: translateY(-2px);
}
.we-contact-card__ico {
  width: 52px; height: 52px;
  border-radius: var(--r-lg);
  background: var(--color-base-tint);
  border: 1px solid var(--color-base-border);
  display: flex; align-items: center; justify-content: center;
  font-size: 22px;
  margin: 0 auto 16px;
}
.we-contact-card h3 {
  font-size: 16px;
  font-weight: var(--fw-bold);
  color: var(--color-ink);
  margin-bottom: 8px;
}
.we-contact-card p {
  font-size: 13px;
  color: var(--color-ink-3);
  line-height: 1.65;
  margin-bottom: 14px;
}
.we-contact-card a {
  font-size: 14px;
  font-weight: var(--fw-semi);
  color: var(--color-base);
  text-decoration: none;
  transition: var(--trans-fast);
}
.we-contact-card a:hover { color: var(--color-base-hover); }


/* ============================================================
   CONTACT MAIN SECTION (form + sidebar)
   ============================================================ */
.we-contact-main {
  padding: 0 0 80px;
}

/* Form column */
.we-contact-form-wrap {
  background: var(--color-white);
  border: 1px solid var(--color-line);
  border-radius: var(--r-xl);
  padding: 40px;
  box-shadow: var(--sh-sm);
}
.we-contact-form-wrap h2 {
  font-size: clamp(22px, 2.5vw, 32px);
  margin-bottom: 6px;
}
.we-contact-form-wrap > p {
  font-size: 14px;
  color: var(--color-ink-3);
  margin-bottom: 30px;
}

/* Form elements */
.we-form__row {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 0;
}
.we-form__group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 18px;
  flex: 1 1 200px;
}
.we-form__group--full { flex: 0 0 100%; }
.we-form__label {
  font-size: 13px;
  font-weight: var(--fw-semi);
  color: var(--color-ink-2);
}
.we-form__label span { color: var(--color-base); margin-left: 2px; }

.we-form__input,
.we-form__select,
.we-form__textarea {
  width: 100%;
  padding: 11px 14px;
  border: 1.5px solid var(--color-line);
  border-radius: var(--r-md);
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--color-ink);
  background: var(--color-bg-alt);
  outline: none;
  transition: var(--trans-fast);
  appearance: none;
}
.we-form__input::placeholder,
.we-form__textarea::placeholder { color: var(--color-ink-3); }

.we-form__input:focus,
.we-form__select:focus,
.we-form__textarea:focus {
  border-color: color-mix(in srgb, var(--color-base) 40%, transparent);
  background: var(--color-white);
  box-shadow: 0 0 0 3px var(--color-base-tint);
}
.we-form__textarea {
  resize: vertical;
  min-height: 130px;
  line-height: 1.6;
}
.we-form__select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 6'%3E%3Cpath d='M0 0l5 6 5-6z' fill='%237a8799'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 10px;
  padding-right: 36px;
  cursor: pointer;
}

/* Services checkboxes */
.we-form__checks,
.we-form__checks label {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.we-form__check {
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
}
.we-form__check input[type="checkbox"] {
  width: 16px; height: 16px;
  border: 1.5px solid var(--color-gray-3);
  border-radius: 4px;
  accent-color: var(--color-base);
  cursor: pointer;
  flex-shrink: 0;
}
.we-form__check span,
.we-form__checks label span
{
  font-size: 13px;
  color: var(--color-ink-2);
  padding: 5px 12px;
  background: var(--color-bg-alt);
  border: 1px solid var(--color-line);
  border-radius: var(--r-full);
  transition: var(--trans-fast);
}
.we-form__check:hover span,
.we-form__check input:checked + span {
  background: var(--color-base-tint);
  border-color: var(--color-base-border);
  color: var(--color-base);
}

/* Form note */
.we-form__note {
  font-size: 12px;
  color: var(--color-ink-3);
  margin-top: 14px;
  line-height: 1.6;
}
.we-form__note a { color: var(--color-base); }

/* Success / error states */
.we-form__success {
  display: none;
  text-align: center;
  padding: 32px;
}
.we-form__success.visible { display: block; }
.we-form__success-ico {
  font-size: 48px;
  margin-bottom: 14px;
}
.we-form__success h3 { margin-bottom: 8px; }
.we-form__success p  { color: var(--color-ink-2); font-size: 14px; }


/* ============================================================
   CONTACT SIDEBAR
   ============================================================ */
.we-contact-sidebar { flex: 0 0 300px; }

.we-contact-sidebar-widget {
  background: var(--color-bg-alt);
  border: 1px solid var(--color-line);
  border-radius: var(--r-xl);
  padding: 26px;
  margin-bottom: 20px;
}
.we-contact-sidebar-widget h3 {
  font-size: 16px;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--color-line);
}

/* What to expect list */
.we-expect-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.we-expect-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}
.we-expect-num {
  width: 26px; height: 26px;
  border-radius: 50%;
  background: var(--color-base);
  color: #fff;
  font-size: 12px;
  font-weight: var(--fw-bold);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
}
.we-expect-item h5 { font-size: 13px; margin-bottom: 3px; }
.we-expect-item p  { font-size: 12px; color: var(--color-ink-3); line-height: 1.6; }

/* Availability */
.we-avail-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 9px 0;
  border-bottom: 1px solid var(--color-line);
  font-size: 13px;
}
.we-avail-row:last-child { border-bottom: none; }
.we-avail-row span:first-child { color: var(--color-ink-2); }
.we-avail-row span:last-child  { font-weight: var(--fw-semi); color: var(--color-ink); }
.we-avail-status {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: var(--fw-semi);
  color: #16a34a;
}
.we-avail-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #16a34a;
  animation: we-pulse 2s infinite;
}

/* Testimonial mini card */
.we-contact-testi {
  background: var(--color-ink);
  border-radius: var(--r-xl);
  padding: 22px;
  margin-bottom: 20px;
}
.we-contact-testi__q    { font-size: 13px; font-style: italic; color: rgba(255,255,255,.65); line-height: 1.7; margin-bottom: 14px; }
.we-contact-testi__who  { display: flex; align-items: center; gap: 10px; }
.we-contact-testi__av   { width: 32px; height: 32px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: var(--fw-bold); color: #fff; flex-shrink: 0; }
.we-contact-testi__name { font-size: 13px; font-weight: var(--fw-bold); color: #fff; }
.we-contact-testi__role { font-size: 11px; color: rgba(255,255,255,.38); }
.we-contact-testi__stars { color: #f59e0b; font-size: 11px; letter-spacing: 1.5px; margin-bottom: 12px; }


/* ============================================================
   MAP / OFFICE SECTION
   ============================================================ */
.we-contact-map {
  padding: 0 0 80px;
}
.we-contact-map__wrap {
  background: var(--color-bg-alt);
  border: 1px solid var(--color-line);
  border-radius: var(--r-xl);
  overflow: hidden;
}
.we-contact-map__placeholder {
  height: 300px;
  background: linear-gradient(135deg, var(--color-gray-1) 0%, var(--color-gray-2) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 10px;
  color: var(--color-ink-3);
  font-size: 14px;
}
.we-contact-map__placeholder .icon { font-size: 40px; }
.we-contact-map__bar {
  padding: 20px 28px;
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
}
.we-contact-map__detail { font-size: 13px; }
.we-contact-map__detail strong { display: block; font-weight: var(--fw-bold); color: var(--color-ink); margin-bottom: 3px; }
.we-contact-map__detail span  { color: var(--color-ink-3); }


/* ============================================================
   JETPACK CONTACT FORM — styled to match .we-form__* design
   (Jetpack Grunion form uses its own class names)
   ============================================================ */
.we-contact-form-wrap .contact-form { display: block; }

/* Remove extra margin on Grunion field paragraphs */
.we-contact-form-wrap .contact-form p.contact-field,
.we-contact-form-wrap .grunion-field-wrap { margin-bottom: 0; }

/* Labels */
.we-contact-form-wrap .contact-form label,
.we-contact-form-wrap .grunion-field-label {
  display: block;
  font-size: 13px;
  font-weight: var(--fw-semi);
  color: var(--color-ink-2);
  margin-bottom: 6px;
  margin-top: 18px;
}
.we-contact-form-wrap .contact-form label:first-child,
.we-contact-form-wrap .grunion-field-label:first-child { margin-top: 0; }

/* Text/email/url/tel inputs */
.we-contact-form-wrap .contact-form input[type="text"],
.we-contact-form-wrap .contact-form input[type="email"],
.we-contact-form-wrap .contact-form input[type="url"],
.we-contact-form-wrap .contact-form input[type="tel"],
.we-contact-form-wrap .contact-form select,
.we-contact-form-wrap .contact-form textarea,
.we-contact-form-wrap .grunion-field {
  width: 100%;
  padding: 11px 14px;
  border: 1.5px solid var(--color-line);
  border-radius: var(--r-md);
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--color-ink);
  background: var(--color-bg-alt);
  outline: none;
  transition: var(--trans-fast);
  box-sizing: border-box;
  appearance: none;
  display: block;
}
.we-contact-form-wrap .contact-form input[type="text"]:focus,
.we-contact-form-wrap .contact-form input[type="email"]:focus,
.we-contact-form-wrap .contact-form input[type="url"]:focus,
.we-contact-form-wrap .contact-form input[type="tel"]:focus,
.we-contact-form-wrap .contact-form select:focus,
.we-contact-form-wrap .contact-form textarea:focus,
.we-contact-form-wrap .grunion-field:focus {
  border-color: color-mix(in srgb, var(--color-base) 40%, transparent);
  background: var(--color-white);
  box-shadow: 0 0 0 3px var(--color-base-tint);
}
.we-contact-form-wrap .contact-form textarea,
.we-contact-form-wrap .grunion-field[rows] {
  resize: vertical;
  min-height: 130px;
  line-height: 1.6;
}

/* Submit button */
.we-contact-form-wrap .contact-form input[type="submit"],
.we-contact-form-wrap .pushbutton-wide {
  display: block;
  width: 100%;
  padding: 14px 28px;
  background: var(--color-base);
  color: #fff;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: var(--fw-semi);
  border: none;
  border-radius: var(--r-md);
  cursor: pointer;
  transition: var(--trans-fast);
  text-align: center;
  margin-top: 20px;
  letter-spacing: .2px;
}
.we-contact-form-wrap .contact-form input[type="submit"]:hover,
.we-contact-form-wrap .pushbutton-wide:hover { background: var(--color-base-hover); }

/* Confirmation / error messages */
.we-contact-form-wrap .contact-form .contact-form-submission-success {
  padding: 16px 20px;
  background: #f0fdf4;
  border: 1px solid #86efac;
  border-radius: var(--r-md);
  color: #166534;
  font-size: 14px;
  margin-top: 16px;
}

/* ============================================================
   RESPONSIVE — CONTACT
   ============================================================ */
@media (max-width: 960px) {
  .we-contact-sidebar { flex: 0 0 100%; }
  .we-contact-form-wrap { padding: 28px 22px; }
}

@media (max-width: 640px) {
  .we-contact-card { flex: 1 1 100%; }
  .we-form__group { flex: 0 0 100%; }
}
