/* KITE contact page */
.contact-page {
  background: #CBF3FE;
  min-height: 100vh;
  padding: clamp(110px, 12vw, 150px) clamp(20px, 5vw, 72px) clamp(48px, 6vw, 88px);
  color: #111;
  font-family: 'Poppins', sans-serif;
  overflow-x: hidden;
}
.contact-wrap { max-width: 1140px; margin: 0 auto; }

.contact-head { position: relative; margin-bottom: clamp(24px, 3vw, 40px); }
.contact-eyebrow { display: block; font-size: 12px; font-weight: 700; letter-spacing: 0.16em; margin-bottom: 6px; }
.contact-title {
  font-family: 'Sour Gummy', cursive, sans-serif;
  font-weight: 900;
  font-size: clamp(2.8rem, 7vw, 5.6rem);
  line-height: 1.02;
  color: #DE1827;
  margin: 0 0 14px;
  max-width: 8.5em;
}
.contact-sub { margin: 0; font-size: clamp(14px, 1.2vw, 17px); }
.contact-kite {
  position: absolute;
  top: -30px;
  right: 0;
  width: clamp(120px, 20vw, 250px);
  height: auto;
  pointer-events: none;
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(16px, 2vw, 24px);
  align-items: stretch;
}

/* left yellow card */
.contact-info {
  position: relative;
  overflow: hidden;
  background: #FCBF40;
  border-radius: 28px 34px 26px 36px / 30px 26px 34px 28px;
  padding: clamp(24px, 3vw, 40px) clamp(22px, 2.6vw, 36px) clamp(120px, 14vw, 180px);
}
.contact-info h2 {
  font-family: 'Sour Gummy', cursive, sans-serif;
  font-weight: 800;
  font-size: clamp(1.6rem, 2.6vw, 2.2rem);
  line-height: 1.1;
  margin: 0 0 14px;
}
.contact-info h3 {
  font-family: 'Sour Gummy', cursive, sans-serif;
  font-weight: 800;
  font-size: clamp(1.3rem, 2vw, 1.7rem);
  margin: 36px 0 10px;
}
.contact-info p { margin: 0 0 10px; font-size: clamp(14px, 1.1vw, 16px); line-height: 1.45; }
.contact-info hr { border: 0; border-top: 1px solid rgba(0, 0, 0, 0.7); margin: 22px 0 18px; }
.contact-info-label { display: block; font-size: 11px; font-weight: 700; letter-spacing: 0.12em; margin-bottom: 4px; }
.contact-info-value { font-weight: 600; }
.contact-info-string { position: absolute; left: 0; bottom: 0; width: 100%; height: auto; pointer-events: none; }

/* right form card */
.contact-form-card {
  background: #fff;
  border-radius: 26px;
  padding: clamp(22px, 2.8vw, 36px);
}
.contact-form-card h2 {
  font-family: 'Sour Gummy', cursive, sans-serif;
  font-weight: 800;
  font-size: clamp(1.5rem, 2.4vw, 2rem);
  margin: 0 0 18px;
}
.contact-form { display: flex; flex-direction: column; gap: 16px; }
.contact-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.contact-field { display: flex; flex-direction: column; gap: 6px; font-size: 12.5px; font-weight: 600; min-width: 0; }
.contact-field i { color: #DE1827; font-style: normal; }
.contact-field small { font-weight: 400; color: #444; }
.contact-field input:not([type=file]),
.contact-field select,
.contact-field textarea {
  font: inherit;
  font-weight: 400;
  font-size: 13px;
  padding: 11px 14px;
  border: 1px solid #cfcfcf;
  border-radius: 8px;
  background: #fff;
  color: #111;
  width: 100%;
  box-sizing: border-box;
}
.contact-field textarea { resize: vertical; min-height: 96px; }
.contact-field input:focus,
.contact-field select:focus,
.contact-field textarea:focus { outline: 2px solid #14B0E8; outline-offset: 1px; border-color: #14B0E8; }
.contact-field input.is-invalid,
.contact-field textarea.is-invalid { border-color: #DE1827; }

.contact-services { border: 0; padding: 0; margin: 0; }
.contact-services legend { font-size: 12.5px; font-weight: 600; padding: 0; margin-bottom: 10px; }
.contact-chips { display: flex; flex-wrap: wrap; gap: 10px; }
.contact-chip input { position: absolute; opacity: 0; pointer-events: none; }
.contact-chip span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 20px;
  border: 1px solid #111;
  border-radius: 9999px;
  font-size: 12.5px;
  font-weight: 500;
  cursor: pointer;
  background: #fff;
  transition: background 0.2s ease;
}
.contact-chip svg { display: none; }
.contact-chip input:checked + span { background: #FCBF40; }
.contact-chip input:checked + span svg { display: inline; }
.contact-chip input:focus-visible + span { outline: 2px solid #14B0E8; outline-offset: 2px; }

.contact-file-row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.contact-file-btn { position: relative; display: inline-flex; align-items: center; gap: 8px; cursor: pointer; }
.contact-file-btn input { position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; }
.contact-file-icon {
  width: 34px; height: 34px; border-radius: 50%;
  border: 1px solid #111; display: inline-grid; place-items: center;
}
.contact-file-choose { border: 1px solid #111; border-radius: 9999px; padding: 7px 18px; font-size: 12.5px; font-weight: 500; }
.contact-file-name { font-size: 12px; font-weight: 400; color: #444; overflow-wrap: anywhere; }
.contact-fine { margin: 0; font-size: 11px; color: #444; }

.contact-hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

.contact-submit {
  font: inherit;
  font-weight: 700;
  font-size: 14px;
  color: #fff;
  background: #111;
  border: 0;
  border-radius: 9999px;
  padding: 15px 24px;
  cursor: pointer;
  width: 100%;
  transition: transform 0.2s ease, background 0.2s ease;
}
.contact-submit:hover { background: #DE1827; transform: translateY(-1px); }
.contact-submit[disabled] { opacity: 0.6; cursor: progress; }

.contact-note { margin: 0; font-size: 13px; font-weight: 600; }
.contact-note[hidden] { display: none; }
.contact-note.is-ok { color: #1a7f37; }
.contact-note.is-error { color: #DE1827; }

@media (max-width: 900px) {
  .contact-grid { grid-template-columns: 1fr; }
  .contact-info { padding-bottom: 150px; }
  .contact-kite { top: -50px; width: clamp(100px, 28vw, 160px); }
}
@media (max-width: 560px) {
  .contact-row { grid-template-columns: 1fr; }
}

/* v2: match the design file */
.contact-title { font-size: clamp(3rem, 8.2vw, 6.4rem); line-height: 0.98; max-width: 7.2em; letter-spacing: -0.01em; }
.contact-kite { top: -34px; right: -28px; width: clamp(150px, 27vw, 340px); }
.contact-info { border-radius: 30px 38px 28px 40px / 32px 28px 36px 30px; }
.contact-info h2, .contact-info h3, .contact-form-card h2 { font-weight: 900; }
.contact-form-card { border-radius: 30px; }
.contact-cta {
  margin-top: clamp(16px, 2vw, 24px);
  background: rgba(255, 255, 255, 0.55);
  border-radius: 26px;
  padding: clamp(20px, 2.4vw, 30px) clamp(22px, 3vw, 40px);
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: clamp(16px, 3vw, 48px);
}
.contact-cta h2 { font-family: 'Sour Gummy', cursive, sans-serif; font-weight: 900; font-size: clamp(1.4rem, 2.6vw, 2.2rem); margin: 0; }
.contact-cta p { margin: 0; font-size: clamp(13px, 1.1vw, 16px); line-height: 1.4; }
.contact-cta-btn {
  display: inline-flex; align-items: center; gap: 8px;
  border: 2px solid #111; border-radius: 9999px;
  padding: 12px 28px; font-weight: 700; font-size: 14px;
  color: #111; text-decoration: none; background: transparent;
  transition: background 0.2s ease, color 0.2s ease;
}
.contact-cta-btn:hover { background: #111; color: #fff; }
@media (max-width: 900px) {
  .contact-cta { grid-template-columns: 1fr; justify-items: start; }
}

/* wavy hand-cut edge on the yellow card */
.contact-info { border-radius: 0; clip-path: url(#contact-blob); }

/* the kite string: left edge, sag, loop, then down to the bottom right */
.contact-info-string { left: 0; bottom: 0; width: 100%; height: auto; aspect-ratio: 404 / 175; }
.contact-info { padding-bottom: clamp(150px, 17vw, 230px); }

/* new kite artwork (kite top-left, string curling to the bottom right) */
.contact-kite { top: -40px; right: -24px; width: clamp(170px, 27vw, 340px); height: auto; z-index: 0; }
.contact-head { z-index: 0; }
.contact-title, .contact-sub, .contact-eyebrow { position: relative; z-index: 1; }
.contact-grid, .contact-cta { position: relative; z-index: 1; }

/* wider page + labels on one line */
.contact-page { padding-left: clamp(16px, 2.4vw, 36px); padding-right: clamp(16px, 2.4vw, 36px); }
.contact-wrap { max-width: 1560px; }
.contact-grid { grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.28fr); }
.contact-field { display: block; }
.contact-field > input:not([type=file]),
.contact-field > select,
.contact-field > textarea { display: block; margin-top: 6px; }
.contact-field i { margin-left: 2px; }

/* keep content clear of the fixed social bar on the left (hidden below 769px) */
@media (min-width: 769px) {
  .contact-page { padding-left: 100px; padding-right: clamp(16px, 2.4vw, 36px); }
}

/* paste-a-link button + field */
.contact-link-btn {
  width: 34px; height: 34px; border-radius: 50%;
  border: 1px solid #111; background: #fff; color: #111;
  display: inline-grid; place-items: center; cursor: pointer; padding: 0;
  transition: background 0.2s ease, color 0.2s ease;
}
.contact-link-btn:hover, .contact-link-btn[aria-expanded="true"] { background: #111; color: #fff; }
.contact-link-input {
  font: inherit; font-size: 13px; width: 100%; box-sizing: border-box;
  padding: 11px 14px; border: 1px solid #cfcfcf; border-radius: 8px; margin-top: 10px;
}
.contact-link-input[hidden] { display: none; }
.contact-link-input:focus { outline: 2px solid #14B0E8; outline-offset: 1px; border-color: #14B0E8; }

/* phones & small tablets: one column (these rules come last so they beat the desktop grid above) */
@media (max-width: 900px) {
  .contact-grid { grid-template-columns: 1fr; gap: 20px; }
  .contact-info { padding: 32px 24px clamp(120px, 34vw, 170px); }
  .contact-info h2, .contact-info h3 { word-break: normal; overflow-wrap: break-word; hyphens: manual; }
  .contact-kite { top: -26px; right: -10px; width: clamp(96px, 24vw, 150px); }
  .contact-title, .contact-hero h1 { max-width: calc(100% - 80px); }
}
@media (max-width: 560px) {
  .contact-kite { width: 96px; top: -14px; right: 2px; }
}
