/* ================================================================
   QUALZY — Contact Page Styles
   Prefix: ct-
   ================================================================ */


/* HERO (dark)
   ---------------------------------------------------------------- */
.ct-hero {
  padding-top: 64px; /* nav offset */
  background: var(--dk);
  position: relative;
  overflow: hidden;
  text-align: center;
}

.ct-hero-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 30% 0%, rgba(250, 88, 2, 0.1) 0%, transparent 60%);
  pointer-events: none;
}

.ct-hero-inner {
  position: relative;
  z-index: 1;
  max-width: 680px;
  margin: 0 auto;
  padding: 88px 48px 96px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.ct-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(40px, 5vw, 66px);
  font-weight: 900;
  line-height: 1.07;
  color: #fff;
  letter-spacing: -0.02em;
  margin-bottom: 22px;
}

.ct-hero h1 em {
  font-style: italic;
  color: var(--o);
}

.ct-hero-sub {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.58);
  line-height: 1.7;
  font-weight: 300;
  max-width: 500px;
}


/* MAIN CONTACT SECTION
   ---------------------------------------------------------------- */
.ct-main {
  background: var(--wh);
}

/* Two-column: form left, options right */
.ct-main-grid {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 72px;
  align-items: start;
}

/* Option cards (left column)
   ---------------------------------------------------------------- */
.ct-options {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.ct-option-card {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  background: #fff;
  border: 1.5px solid var(--rule);
  border-radius: 14px;
  padding: 28px 26px;
  transition: border-color var(--t-base), box-shadow var(--t-base);
}

.ct-option-card:hover {
  border-color: rgba(250, 88, 2, 0.3);
  box-shadow: 0 4px 20px rgba(250, 88, 2, 0.08);
}

.ct-option-icon {
  width: 36px;
  height: 36px;
  color: var(--o);
  flex-shrink: 0;
  margin-top: 2px;
}

.ct-option-icon svg {
  width: 36px;
  height: 36px;
}

.ct-option-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--dk);
  margin-bottom: 6px;
}

.ct-option-desc {
  font-size: 14px;
  color: var(--mid);
  line-height: 1.6;
  font-weight: 300;
  margin-bottom: 16px;
}

/* Button inside option card — smaller padding variant */
.ct-option-btn {
  font-size: 13px;
  padding: 10px 18px;
}


/* Right column: stacked forms
   ---------------------------------------------------------------- */
.ct-forms-col {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* Contact form (right column)
   ---------------------------------------------------------------- */
.ct-form-wrap {
  background: #fff;
  border: 1.5px solid var(--rule);
  border-radius: 16px;
  padding: 40px 40px 36px;
}

.ct-form-hd {
  margin-bottom: 28px;
}

.ct-form-title {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 900;
  color: var(--dk);
  margin-bottom: 6px;
}

.ct-form-sub {
  font-size: 14px;
  color: var(--mu);
}

/* Form layout */
.ct-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

/* Two-column row for name + email */
.ct-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.ct-form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.ct-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--dk);
}

.ct-input,
.ct-textarea {
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--dk);
  background: var(--wh);
  border: 1.5px solid var(--rule);
  border-radius: 8px;
  padding: 12px 14px;
  outline: none;
  transition: border-color var(--t-base), box-shadow var(--t-base);
  width: 100%;
  line-height: 1.5;
}

.ct-input::placeholder,
.ct-textarea::placeholder {
  color: rgba(122, 120, 112, 0.55);
}

.ct-input:focus,
.ct-textarea:focus {
  border-color: var(--o);
  box-shadow: 0 0 0 3px rgba(250, 88, 2, 0.1);
}

.ct-textarea {
  resize: vertical;
  min-height: 140px;
}

.ct-submit {
  align-self: flex-start;
  border: none;
  cursor: pointer;
  font-family: var(--font-body);
}

.ct-form-note {
  font-size: 13px;
  color: var(--mu);
}


/* HUBSPOT FORM OVERRIDES
   Force HubSpot-injected form elements to match site design
   ---------------------------------------------------------------- */
#ct-hs-form .hs-form,
#ct-hs-form fieldset {
  max-width: 100% !important;
}

#ct-hs-form .hs-form-field {
  margin-bottom: 16px;
}

#ct-hs-form .hs-form-field > label,
#ct-hs-form .hs-label {
  font-family: var(--font-body) !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  color: var(--dk) !important;
  margin-bottom: 6px !important;
  display: block;
}

#ct-hs-form input[type="text"],
#ct-hs-form input[type="email"],
#ct-hs-form input[type="tel"],
#ct-hs-form textarea,
#ct-hs-form select {
  font-family: var(--font-body) !important;
  font-size: 15px !important;
  color: var(--dk) !important;
  background: var(--wh) !important;
  border: 1.5px solid var(--rule) !important;
  border-radius: 8px !important;
  padding: 11px 14px !important;
  width: 100% !important;
  outline: none !important;
  transition: border-color 0.15s ease, box-shadow 0.15s ease !important;
  box-shadow: none !important;
  line-height: 1.5 !important;
  -webkit-appearance: none;
  appearance: none;
}

#ct-hs-form .hs-input:focus,
#ct-hs-form input:focus,
#ct-hs-form textarea:focus,
#ct-hs-form select:focus {
  border-color: var(--o) !important;
  box-shadow: 0 0 0 3px rgba(250, 88, 2, 0.1) !important;
}

#ct-hs-form textarea {
  min-height: 110px !important;
  resize: vertical !important;
}

/* Checkboxes and radios — restore natural sizing */
#ct-hs-form input[type="checkbox"],
#ct-hs-form input[type="radio"] {
  width: auto !important;
  height: auto !important;
  padding: 0 !important;
  border: revert !important;
  border-radius: 0 !important;
  background: revert !important;
  -webkit-appearance: revert;
  appearance: revert;
  flex-shrink: 0;
  margin-top: 2px;
}

/* Checkbox / radio option lists */
#ct-hs-form .inputs-list {
  list-style: none !important;
  margin: 6px 0 0 !important;
  padding: 0 !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 8px !important;
}

#ct-hs-form .inputs-list li {
  display: block !important;
  width: 100% !important;
}

#ct-hs-form .inputs-list label {
  display: flex !important;
  align-items: flex-start !important;
  gap: 8px !important;
  font-family: var(--font-body) !important;
  font-size: 14px !important;
  font-weight: 400 !important;
  color: var(--mid) !important;
  cursor: pointer;
}

/* Force all fields to full width — no HubSpot multi-column rows */
#ct-hs-form fieldset {
  display: block !important;
}

#ct-hs-form fieldset .hs-form-field {
  width: 100% !important;
  float: none !important;
}

#ct-hs-form .hs-button,
#ct-hs-form input[type="submit"] {
  font-family: var(--font-body) !important;
  font-size: 15px !important;
  font-weight: 600 !important;
  background: var(--o) !important;
  color: #fff !important;
  border: none !important;
  border-radius: 8px !important;
  padding: 13px 28px !important;
  cursor: pointer !important;
  transition: background 0.15s ease, transform 0.1s ease !important;
  box-shadow: none !important;
  -webkit-appearance: none;
  appearance: none;
  margin-top: 4px;
}

#ct-hs-form .hs-button:hover,
#ct-hs-form input[type="submit"]:hover {
  background: var(--o2, #d4541f) !important;
}

/* GDPR / legal consent text */
#ct-hs-form .legal-consent-container,
#ct-hs-form .hs-richtext {
  font-family: var(--font-body) !important;
  font-size: 12px !important;
  color: var(--mu) !important;
  line-height: 1.55 !important;
}

#ct-hs-form .legal-consent-container a,
#ct-hs-form .hs-richtext a {
  color: var(--o) !important;
}

/* Error messages */
#ct-hs-form .hs-error-msg,
#ct-hs-form .hs-main-font-element {
  font-family: var(--font-body) !important;
  font-size: 12px !important;
  color: #c0392b !important;
  margin-top: 4px !important;
}

/* Remove default HubSpot chrome */
#ct-hs-form .hs-form ul {
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
}


/* REGIONAL CONTACTS (warm bg)
   ---------------------------------------------------------------- */
.ct-regions {
  background: var(--op);
}

.ct-reg-hd {
  margin-bottom: 52px;
}

/* Three equal region cards */
.ct-reg-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.ct-reg-card {
  background: #fff;
  border: 1.5px solid rgba(250, 88, 2, 0.18);
  border-radius: 14px;
  padding: 32px 28px;
  transition: border-color var(--t-base), box-shadow var(--t-base);
}

.ct-reg-card:hover {
  border-color: var(--o);
  box-shadow: 0 4px 20px rgba(250, 88, 2, 0.1);
}

.ct-reg-flag {
  font-size: 34px;
  margin-bottom: 14px;
  display: block;
  line-height: 1;
}

.ct-reg-name {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 900;
  color: var(--dk);
  margin-bottom: 4px;
}

.ct-reg-tz {
  font-size: 11px;
  font-weight: 700;
  color: var(--o);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.ct-reg-details {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.ct-reg-email {
  font-size: 14px;
  font-weight: 600;
  color: var(--o);
  text-decoration: none;
  transition: color var(--t-base);
}

.ct-reg-email:hover {
  color: var(--o2);
}

.ct-reg-phone {
  font-size: 14px;
  font-weight: 600;
  color: var(--dk);
  text-decoration: none;
  transition: color var(--t-base);
}

.ct-reg-phone:hover {
  color: var(--o);
}

.ct-reg-address {
  font-size: 13px;
  color: var(--mu);
  line-height: 1.6;
  font-style: normal;
  margin-top: 4px;
}


/* RESPONSIVE
   ---------------------------------------------------------------- */
@media (max-width: 900px) {
  .ct-hero-inner  { padding: 60px 24px 72px; }

  .ct-main-grid   { grid-template-columns: 1fr; gap: 40px; }
  .ct-reg-grid    { grid-template-columns: 1fr; gap: 18px; }
  .ct-form-wrap   { padding: 28px 24px; }
}

@media (max-width: 600px) {
  .ct-form-row    { grid-template-columns: 1fr; }
}
