/* ==========================================================================
   assets/css/contact-form.css
   Contact form section on support.php, in the homepage design language
   (tokens, buttons and eyebrow/heading style from ic-shell.css / home.css).
   Loaded after home.css, which supplies the section header and tile styles.
   ========================================================================== */

.icf-section {
  position: relative;
  padding: 16px 0 72px; /* sits straight under the hero, which already ends in white */
  background: linear-gradient(180deg, #fff 0%, var(--ic-bg-soft) 55%, #fff 100%);
  font-family: var(--ic-font-body);
  color: var(--ic-text);
}
.icf-section *, .icf-section *::before, .icf-section *::after { box-sizing: border-box; }
.icf-section :where(h2, h3, p, ul) { margin: 0; padding: 0; }
.icf-section :where(ul) { list-style: none; }

/* Layout */
.icf-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 28px;
  align-items: stretch;
}

/* Info panel - corporate: clean white card with a brand-colour top bar, an
   eyebrow + heading, and contact rows separated by fine dividers. */
.icf-info {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  padding: 40px 36px 32px;
  border-radius: var(--ic-r-xl);
  color: var(--ic-text);
  background: #fff;
  border: 1px solid var(--ic-line);
  box-shadow: var(--ic-sh-md);
}
.icf-info::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #FF9933 0%, #2F7BFF 50%, #14B8E6 100%);
}
.icf-info__eyebrow {
  font: 700 12px/1 var(--ic-font-body);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ic-blue-600);
}
.icf-info__title { margin-top: 14px; font: 800 26px/1.2 var(--ic-font-display); letter-spacing: -0.02em; color: var(--ic-navy); }
.icf-info__lead { margin-top: 12px; font-size: 15px; line-height: 1.65; color: var(--ic-text); }
.icf-info__list { margin-top: 26px; border-top: 1px solid var(--ic-line); }
.icf-info__list li { display: flex; align-items: flex-start; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--ic-line); }
.icf-info__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  color: var(--ic-blue-600);
  background: #F2F6FF;
  border: 1px solid #DCE6FB;
}
.icf-info__icon .ai-icon { width: 20px; height: 20px; }
.icf-info__list strong { display: block; font: 700 11.5px/1.2 var(--ic-font-body); letter-spacing: 0.1em; text-transform: uppercase; color: var(--ic-muted); }
.icf-info__list a, .icf-info__list em {
  display: block;
  margin-top: 6px;
  font: 600 16px/1.35 var(--ic-font-body);
  font-style: normal;
  color: var(--ic-navy);
  text-decoration: none;
  overflow-wrap: anywhere;
}
.icf-info__list a:hover { color: var(--ic-blue-600); text-decoration: underline; text-underline-offset: 3px; }
.icf-info__list li:has(a[target]) a { font-weight: 500; font-size: 15px; line-height: 1.55; color: var(--ic-navy); }
.icf-info__note {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: auto;
  padding-top: 22px;
  font-size: 13px;
  line-height: 1.55;
  color: var(--ic-muted);
}
.icf-info__note a { color: var(--ic-blue-600); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
.icf-info__note .ai-icon { flex: none; width: 18px; height: 18px; margin-top: 1px; color: var(--ic-blue-600); }

/* Form card */
.icf-card {
  padding: 36px 32px;
  border-radius: var(--ic-r-xl);
  background: #fff;
  border: 1px solid var(--ic-line);
  box-shadow: var(--ic-sh-md);
}
.icf-form { display: grid; gap: 20px; }
.icf-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.icf-field { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.icf-field label { font: 600 14px/1.2 var(--ic-font-body); color: var(--ic-ink); }
.icf-field label span { color: #D93A3A; }
.icf-field label em { font-style: normal; font-weight: 500; color: var(--ic-muted); }

.icf-field input,
.icf-field select,
.icf-field textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--ic-line);
  border-radius: var(--ic-r-md);
  background: var(--ic-bg-soft);
  font: 500 15px/1.4 var(--ic-font-body);
  color: var(--ic-ink);
  transition: border-color 0.2s var(--ic-ease), box-shadow 0.2s var(--ic-ease), background 0.2s var(--ic-ease);
}
.icf-field select { appearance: none; -webkit-appearance: none; padding-right: 44px; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2367728C' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; background-size: 18px; }
.icf-field textarea { min-height: 150px; resize: vertical; }
.icf-field ::placeholder { color: #9AA4BA; }
.icf-field input:hover, .icf-field select:hover, .icf-field textarea:hover { border-color: var(--ic-blue-200); }
.icf-field input:focus, .icf-field select:focus, .icf-field textarea:focus {
  outline: none;
  background: #fff;
  border-color: var(--ic-blue-500);
  box-shadow: 0 0 0 4px rgba(47, 123, 255, 0.16);
}
.icf-field.is-invalid input, .icf-field.is-invalid textarea { border-color: #D93A3A; background: #FFF7F7; }
.icf-field.is-invalid input:focus, .icf-field.is-invalid textarea:focus { box-shadow: 0 0 0 4px rgba(217, 58, 58, 0.14); }
/* valid: green border + a tick at the top-right of every validated field. The tick is its own
   element (not a background image) because Chrome strips background images from autofilled inputs. */
.icf-control { position: relative; display: block; }
.icf-field.is-valid input, .icf-field.is-valid textarea { border-color: #3BB273; padding-right: 44px; }
.icf-field.is-valid .icf-control::after {
  content: "";
  position: absolute;
  top: 15px;
  right: 14px;
  width: 18px;
  height: 18px;
  pointer-events: none;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%233BB273' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 18px no-repeat;
}
/* browser autofill: keep the same soft look as typed-in fields instead of Chrome's blue tint */
.icf-field input:-webkit-autofill,
.icf-field textarea:-webkit-autofill {
  -webkit-text-fill-color: var(--ic-ink);
  box-shadow: 0 0 0 1000px var(--ic-bg-soft) inset;
  transition: background-color 9999s ease-out;
}
.icf-field input:-webkit-autofill:focus { box-shadow: 0 0 0 1000px #fff inset, 0 0 0 4px rgba(47, 123, 255, 0.16); }
.icf-field.is-invalid input:-webkit-autofill { box-shadow: 0 0 0 1000px #FFF7F7 inset; }
.icf-error { display: flex; align-items: flex-start; gap: 6px; min-height: 0; font: 500 13px/1.35 var(--ic-font-body); color: #D93A3A; }
.icf-error::before {
  content: "!";
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 15px;
  height: 15px;
  margin-top: 1px;
  border-radius: 50%;
  font: 800 10px/1 var(--ic-font-body);
  color: #fff;
  background: #D93A3A;
}
.icf-error:empty { display: none; }
.icf-error.is-hint { color: var(--ic-blue-700); }
.icf-error.is-hint::before { content: "i"; background: var(--ic-blue-500); font-style: italic; }
.icf-error button {
  padding: 0;
  border: 0;
  background: none;
  font: inherit;
  font-weight: 700;
  color: var(--ic-blue-600);
  text-decoration: underline;
  cursor: pointer;
}
.icf-field__foot { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.icf-count { margin-left: auto; font: 500 12.5px/1.35 var(--ic-font-body); color: var(--ic-muted); white-space: nowrap; }
.icf-count.is-near { color: #C2410C; }

.icf-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.icf-actions { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.icf-actions .ic-btn { border-radius: 999px; padding: 0 28px; cursor: pointer; font-family: var(--ic-font-body); }
.icf-actions .ic-btn[disabled] { opacity: 0.65; cursor: progress; transform: none; }
.icf-status { font: 500 14px/1.4 var(--ic-font-body); color: var(--ic-muted); }
.icf-status.is-ok { color: var(--ic-green); font-weight: 600; }
.icf-status.is-error { color: #D93A3A; font-weight: 600; }

.icf-alert {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 22px;
  padding: 14px 16px;
  border-radius: var(--ic-r-md);
  font: 600 14.5px/1.4 var(--ic-font-body);
}
.icf-alert .ai-icon { width: 20px; height: 20px; }
.icf-alert--ok { color: #0B6B1E; background: #EAF8EE; border: 1px solid #BFE8CB; }
.icf-alert--error { color: #A52626; background: #FFF1F1; border: 1px solid #F5C6C6; }

@media (max-width: 900px) {
  .icf-section { padding: 12px 0 56px; }
  .icf-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .icf-section { padding: 8px 0 44px; }
  .icf-row { grid-template-columns: 1fr; }
  .icf-info, .icf-card { padding: 26px 20px; border-radius: var(--ic-r-lg); }
  .icf-actions .ic-btn { width: 100%; }
}

/* --------------------------------------------------------------------------
   Page sections: hero, channels, FAQ, closing band
   -------------------------------------------------------------------------- */
/* gradient text is clipped to the line box: leave room for the descenders (p, y) */
.icf-hero .ic-hero__line.ic-gradient-text { padding-bottom: 0.14em; }

.icf-hero { padding-bottom: 72px; }
.icf-hero__inner { position: relative; }
.icf-hero__inner > * { max-width: 560px; }
.icf-hero .ic-hero__lead { max-width: 33em; }
.icf-hero .ic-hero__ctas { margin-top: 28px; }
.icf-hero .ic-hero__scene img { object-position: 100% -30%; transform: scale(1.14); transform-origin: 88% 30%; } /* crop the bright window on the left so only the curtain and her remain */
/* Soft, eased fade of the photo into the page gradient on its left and bottom edges
   (no hard edge or bright patch where the window light meets the background). */
.icf-hero .ic-hero__scene {
  width: 62%;
  clip-path: inset(0 0 0 6px); /* trims the 1px seam where the faded edge meets the page */
  -webkit-mask-image:
    linear-gradient(90deg, transparent 0%, transparent 34%, rgba(0,0,0,.05) 40%, rgba(0,0,0,.16) 47%, rgba(0,0,0,.34) 55%, rgba(0,0,0,.58) 63%, rgba(0,0,0,.82) 73%, rgba(0,0,0,.95) 84%, #000 93%),
    linear-gradient(0deg, transparent 0%, rgba(0,0,0,.2) 8%, rgba(0,0,0,.55) 18%, rgba(0,0,0,.85) 30%, #000 42%);
  -webkit-mask-composite: source-in;
  mask-image:
    linear-gradient(90deg, transparent 0%, transparent 34%, rgba(0,0,0,.05) 40%, rgba(0,0,0,.16) 47%, rgba(0,0,0,.34) 55%, rgba(0,0,0,.58) 63%, rgba(0,0,0,.82) 73%, rgba(0,0,0,.95) 84%, #000 93%),
    linear-gradient(0deg, transparent 0%, rgba(0,0,0,.2) 8%, rgba(0,0,0,.55) 18%, rgba(0,0,0,.85) 30%, #000 42%);
  mask-composite: intersect;
}
.icf-hero .ic-hero__scene::after { background: linear-gradient(180deg, rgba(234, 242, 255, 0.25) 0%, transparent 40%); }
@media (max-width: 1080px) {
  /* Stacked: text first, photo below it (no text over the face), edges feathered on all sides */
  .icf-hero { display: flex; flex-direction: column; padding-bottom: 0; }
  .icf-hero > .ic-container { order: 1; }
  .icf-hero .ic-hero__scene {
    order: 2;
    position: relative;
    top: auto; right: auto; bottom: auto;
    width: 100%;
    height: clamp(230px, 52vw, 440px);
    margin-top: 28px;
    opacity: 1;
    -webkit-mask-image:
      linear-gradient(180deg, transparent 0%, rgba(0,0,0,.35) 8%, #000 26%, #000 62%, rgba(0,0,0,.5) 82%, transparent 100%),
      linear-gradient(90deg, transparent 0%, rgba(0,0,0,.4) 9%, #000 24%, #000 76%, rgba(0,0,0,.4) 91%, transparent 100%);
    -webkit-mask-composite: source-in;
    mask-image:
      linear-gradient(180deg, transparent 0%, rgba(0,0,0,.35) 8%, #000 26%, #000 62%, rgba(0,0,0,.5) 82%, transparent 100%),
      linear-gradient(90deg, transparent 0%, rgba(0,0,0,.4) 9%, #000 24%, #000 76%, rgba(0,0,0,.4) 91%, transparent 100%);
    mask-composite: intersect;
  }
  .icf-hero .ic-hero__scene img { object-position: 62% 18%; transform: none; }
  .icf-hero .ic-hero__scene::after { display: none; }
}
@media (max-width: 900px) {
  .icf-hero__inner > * { max-width: none; }
}
@media (max-width: 640px) { .icf-hero .ic-hero__scene { margin-top: 20px; } }
