/* Dacon Rescue Contact Form — styles are strictly scoped to avoid theme collisions. */
.drc-contact-section,
.drc-contact-section * { box-sizing: border-box; }
.drc-contact-section {
  --drc-navy: #102940;
  --drc-blue: #18364e;
  --drc-yellow: #ffb900;
  --drc-muted: #627181;
  --drc-border: #dfe5e9;
  width: 100%;
  min-width: 0;
  background: #f5f7f9;
  color: #142a3a;
  padding: clamp(32px, 5.4vw, 76px) 22px;
  font-family: inherit;
  text-align: left;
}
.drc-contact-section [hidden] { display: none !important; }
.drc-contact-layout {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.52fr);
  border: 1px solid #e5eaf0;
  background: white;
  box-shadow: 0 16px 46px rgba(8, 27, 43, 0.065);
  overflow: hidden;
}
.drc-contact-aside {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: clamp(30px, 4vw, 58px) clamp(26px, 3.6vw, 48px);
  min-height: 610px;
  background: var(--drc-navy);
  color: #fff;
  isolation: isolate;
  overflow: hidden;
}
.drc-contact-aside::before {
  content: "";
  position: absolute;
  height: 5px;
  left: 0;
  right: 0;
  top: 0;
  background: var(--drc-yellow);
  z-index: 2;
}
.drc-contact-aside::after {
  content: "";
  position: absolute;
  width: 330px;
  height: 330px;
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: 50%;
  bottom: -175px;
  right: -150px;
  pointer-events: none;
}
.drc-mini-label,
.drc-form-kicker,
.drc-aside-caption {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.7px;
}
.drc-mini-label { display: flex; align-items: center; gap: 11px; color: #e9f2f8; }
.drc-mini-mark { display: inline-block; width: 24px; height: 3px; background: var(--drc-yellow); }
.drc-contact-aside h2 {
  color: #fff !important;
  font-size: clamp(31px, 3.1vw, 45px) !important;
  line-height: 1.11 !important;
  letter-spacing: -1.25px;
  font-weight: 750;
  margin: 50px 0 22px !important;
  padding: 0 !important;
  border: 0 !important;
}
.drc-contact-aside h2 span { color: var(--drc-yellow); }
.drc-contact-aside > p {
  font-size: 15px;
  line-height: 1.85;
  color: #d5e0e7;
  max-width: 305px;
  margin: 0 !important;
}
.drc-aside-bottom { margin-top: auto; padding-top: 52px; position: relative; z-index: 1; }
.drc-aside-caption { color: #a9bac6; display: block; margin-bottom: 13px; }
.drc-aside-bottom a {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: #fff !important;
  text-decoration: none !important;
  font-weight: 750;
  font-size: 19px;
  overflow-wrap: anywhere;
}
.drc-aside-bottom a:hover,
.drc-aside-bottom a:focus-visible { color: var(--drc-yellow) !important; }
.drc-aside-bottom a span { color: var(--drc-yellow); font-size: 24px; }
.drc-decor { display: flex; gap: 6px; position: absolute; right: 34px; top: 40px; }
.drc-decor span { display: block; width: 4px; height: 4px; background: rgba(255,255,255,.25); border-radius: 50%; }
.drc-form-panel { padding: clamp(30px, 3.8vw, 54px); min-width: 0; }
.drc-form-kicker { color: #9e7800; }
.drc-form-header h2 {
  color: var(--drc-navy) !important;
  font-size: clamp(28px, 2.3vw, 35px) !important;
  letter-spacing: -0.8px;
  font-weight: 800;
  line-height: 1.24 !important;
  margin: 10px 0 9px !important;
  padding: 0 !important;
  border: 0 !important;
}
.drc-title-period { color: #eaaa00; }
.drc-form-header p { color: var(--drc-muted); line-height: 1.6; font-size: 14px; margin: 0 0 29px !important; }
.drc-field-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 18px; row-gap: 18px; }
.drc-span-all { grid-column: 1 / -1; }
.drc-field { min-width: 0; }
.drc-field label,
.drc-math label {
  display: block;
  font-size: 12px;
  font-weight: 750;
  color: #233749;
  line-height: 1.5;
  margin: 0 0 8px !important;
}
.drc-field label > span { color: #d29800; }
.drc-field label small { color: #8e9aa4; font-size: 11px; font-weight: 500; margin-left: 4px; }
.drc-contact-section :is(input[type="text"], input[type="email"], input[type="tel"], select, textarea) {
  display: block;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  margin: 0;
  border: 1px solid var(--drc-border);
  border-radius: 4px;
  background: #fff;
  color: #172e41;
  font-family: inherit;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.4;
  padding: 13px 14px;
  height: 47px;
  box-shadow: none;
  outline: none;
  transition: border-color .18s ease, box-shadow .18s ease;
  appearance: auto;
}
.drc-contact-section :is(input[type="text"], input[type="email"], input[type="tel"], select, textarea)::placeholder { color: #99a5af; opacity: 1; }
.drc-contact-section :is(input[type="text"], input[type="email"], input[type="tel"], select, textarea):focus {
  border-color: #c48b00;
  box-shadow: 0 0 0 3px rgba(255,185,0,.15);
}
.drc-contact-section select { cursor: pointer; }
.drc-contact-section textarea {
  height: auto;
  min-height: 128px;
  resize: vertical;
}
.drc-form-bottom { display: flex; gap: 18px; justify-content: space-between; align-items: flex-end; margin-top: 23px; }
.drc-math { display: flex; flex-direction: column; min-width: 148px; }
.drc-math label { margin-bottom: 8px !important; }
.drc-math-question { font-size: 14px; white-space: nowrap; color: var(--drc-navy); }
.drc-contact-section .drc-math input[type="text"] { width: 128px; }
.drc-contact-section .drc-send-button {
  min-height: 47px;
  display: inline-flex;
  justify-content: space-between;
  align-items: center;
  gap: 28px;
  border: 1px solid var(--drc-yellow);
  border-radius: 4px;
  color: #0e2537;
  background: var(--drc-yellow);
  padding: 12px 17px 12px 22px;
  margin: 0;
  font: inherit;
  font-size: 14px;
  font-weight: 800;
  white-space: nowrap;
  line-height: 1.4;
  cursor: pointer;
  transition: background .18s, transform .18s;
}
.drc-contact-section .drc-send-button:hover { background: #f1ac00; border-color: #f1ac00; transform: translateY(-1px); }
.drc-contact-section .drc-send-button:focus-visible { outline: 3px solid #345978; outline-offset: 3px; }
.drc-contact-section .drc-send-button:disabled { opacity: .65; cursor: wait; transform: none; }
.drc-send-arrow { font-size: 21px; line-height: 1; }
.drc-privacy { font-size: 11px; color: #8a969f; line-height: 1.6; margin: 20px 0 0 !important; }
.drc-notice { padding: 14px 15px; margin: 0 0 24px; border-left: 4px solid #cb5b45; background: #fff1ed; color: #812d1e; font-size: 14px; line-height: 1.6; }
.drc-notice-success { border-color: #318564; color: #205b47; background: #eaf7f0; }
.drc-notice-error { border-color: #cb5b45; background: #fff1ed; color: #812d1e; }
.drc-hp { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }
@media (max-width: 920px) {
  .drc-contact-layout { grid-template-columns: minmax(0, 1fr); }
  .drc-contact-aside { min-height: 0; padding: 34px; }
  .drc-contact-aside h2 { margin: 23px 0 12px !important; }
  .drc-contact-aside h2 br { display: none; }
  .drc-aside-bottom { margin-top: 0; padding-top: 25px; }
  .drc-contact-aside > p { max-width: 700px; }
  .drc-form-panel { padding: 34px; }
}
@media (max-width: 580px) {
  .drc-contact-section { padding: 22px 12px; }
  .drc-contact-aside, .drc-form-panel { padding: 26px 22px; }
  .drc-field-grid { grid-template-columns: minmax(0, 1fr); gap: 17px; }
  .drc-span-all { grid-column: 1; }
  .drc-form-bottom { align-items: stretch; flex-direction: column; gap: 16px; }
  .drc-math { width: 100%; }
  .drc-contact-section .drc-math input[type="text"] { width: 100%; }
  .drc-contact-section .drc-send-button { width: 100%; }
  .drc-contact-aside h2 { font-size: 31px !important; }
  .drc-aside-bottom a { font-size: 17px; }
}
@media (prefers-reduced-motion: reduce) {
  .drc-contact-section * { transition: none !important; }
}
