/* ==========================================================
   QUANDEA Contact 5.1 — thème « univers » (même ADN que le Hero 3D, le Booking et les Services)
   Tout est préfixé par #quandea-contact : rien ne fuit vers le thème.
   ========================================================== */

#quandea-contact {
  --navy: #10224E;
  --navy-deep: #0A1636;
  --red: #ED4034;
  --red-light: #FF6A5C;
  --paper: #F9F9F6;
  --muted: rgba(249, 249, 246, 0.68);
  --faint: rgba(249, 249, 246, 0.38);
  --glass: rgba(255, 255, 255, 0.06);
  --glass-border: rgba(249, 249, 246, 0.16);
  --font-main: 'Montserrat', sans-serif;
  --font-display: 'Oswald', sans-serif;

  position: relative;
  isolation: isolate;
  overflow: hidden;
  width: min(1240px, calc(100% - 24px));
  margin: 32px auto 56px;
  border-radius: 36px;
  /* Mêmes tons que le Hero 3D et la page Services */
  background:
    radial-gradient(ellipse 70% 700px at 50% 340px, rgba(34, 64, 138, 0.22) 0%, transparent 100%),
    linear-gradient(180deg, #182A58 0%, #182A56 45%, #14244E 100%);
  box-shadow: 0 40px 90px rgba(5, 11, 28, 0.35);
  color: var(--paper);
  font-family: var(--font-main);
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
#quandea-contact.qc-fullwidth { width: 100vw; max-width: 100vw; margin: 0 calc(50% - 50vw); border-radius: 0; }

#quandea-contact,
#quandea-contact * { box-sizing: border-box; }
#quandea-contact h1, #quandea-contact h2, #quandea-contact p { margin: 0; padding: 0; text-transform: none; }
#quandea-contact h1, #quandea-contact h2, #quandea-contact p, #quandea-contact label,
#quandea-contact span, #quandea-contact strong, #quandea-contact b, #quandea-contact small, #quandea-contact em { font-family: inherit; }
#quandea-contact span, #quandea-contact strong, #quandea-contact b, #quandea-contact i,
#quandea-contact small, #quandea-contact em { padding: 0; margin: 0; border: 0; background: none; font-size: inherit; line-height: inherit; }
#quandea-contact em { font-style: normal; }
#quandea-contact a { text-decoration: none; }
#quandea-contact button, #quandea-contact input, #quandea-contact textarea {
  font-family: var(--font-main);
  letter-spacing: normal;
  text-transform: none;
  text-shadow: none;
  margin: 0;
  -webkit-appearance: none;
  appearance: none;
}
/* Filet de sécurité si le thème injecte des <br> / <p> vides */
#quandea-contact .qc-row > br, #quandea-contact .qc-panel > br, #quandea-contact .qc-form > br,
#quandea-contact .qb-mini-header > br, #quandea-contact .qb-mh-nav > br, #quandea-contact .qc-aside-bottom > br { display: none; }
#quandea-contact p:empty { display: none; }

/* ---------- Décor ---------- */
#quandea-contact .qc-universe { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; }
#quandea-contact .qc-grain {
  position: absolute;
  inset: -50%;
  z-index: 1;
  pointer-events: none;
  opacity: 0.07;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: qcGrain 0.8s steps(4) infinite;
}
@keyframes qcGrain {
  0% { transform: translate(0, 0); }
  25% { transform: translate(-3%, 2%); }
  50% { transform: translate(2%, -3%); }
  75% { transform: translate(-2%, -1%); }
  100% { transform: translate(0, 0); }
}
#quandea-contact .qc-viewfinder { position: absolute; inset: 18px; z-index: 1; pointer-events: none; }
#quandea-contact .qc-viewfinder i { position: absolute; width: 26px; height: 26px; border: 0 solid rgba(249, 249, 246, 0.32); }
#quandea-contact .qc-viewfinder i:nth-child(1) { top: 0; left: 0; border-top-width: 1.5px; border-left-width: 1.5px; }
#quandea-contact .qc-viewfinder i:nth-child(2) { top: 0; right: 0; border-top-width: 1.5px; border-right-width: 1.5px; }
#quandea-contact .qc-viewfinder i:nth-child(3) { bottom: 0; left: 0; border-bottom-width: 1.5px; border-left-width: 1.5px; }
#quandea-contact .qc-viewfinder i:nth-child(4) { bottom: 0; right: 0; border-bottom-width: 1.5px; border-right-width: 1.5px; }

#quandea-contact .qc-wrap { position: relative; z-index: 2; width: min(1120px, calc(100% - 48px)); margin: 0 auto; padding: 30px 0 64px; }

/* ---------- Intro ---------- */
#quandea-contact .qc-intro { max-width: 760px; margin: 0 0 36px; }
#quandea-contact .qc-kicker {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 16px;
  color: var(--red);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.24em;
  line-height: 1;
}
#quandea-contact .qc-kicker span { display: block; width: 28px; height: 2px; border-radius: 2px; background: var(--red); flex: none; }
#quandea-contact .qc-intro h1 {
  margin: 0 0 18px;
  color: #fff;
  font-family: var(--font-display);
  font-size: clamp(52px, 7.4vw, 104px);
  font-weight: 700;
  line-height: 0.9;
  text-transform: uppercase;
}
#quandea-contact .qc-intro h1 strong { font-weight: 700; color: transparent; -webkit-text-stroke: 1.5px var(--paper); }
#quandea-contact h2 i { font-style: normal; color: var(--red); -webkit-text-stroke: 0; }
#quandea-contact .qc-intro p { max-width: 520px; color: var(--muted); font-size: 15px; line-height: 1.65; }

/* ---------- Panneau ---------- */
#quandea-contact .qc-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.4fr);
  gap: 18px;
  align-items: stretch;
}

/* Colonne gauche */
#quandea-contact .qc-aside {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 30px;
  padding: 34px 30px 28px;
  border-radius: 28px;
  border: 1px solid var(--glass-border);
  background: rgba(10, 22, 54, 0.5);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.25), inset 0 0 0 1px rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
}
#quandea-contact .qc-no { color: var(--red); font-size: 11px; font-weight: 700; letter-spacing: 0.2em; }
#quandea-contact .qc-aside h2 {
  margin: 18px 0 14px;
  color: #fff;
  font-family: var(--font-display);
  font-size: clamp(32px, 3.2vw, 44px);
  font-weight: 700;
  line-height: 0.98;
  text-transform: uppercase;
}
#quandea-contact .qc-aside h2 em { color: transparent; -webkit-text-stroke: 1.2px var(--paper); }
#quandea-contact .qc-aside p { color: var(--muted); font-size: 14px; line-height: 1.65; }
#quandea-contact .qc-aside-bottom { display: flex; flex-direction: column; gap: 12px; }

#quandea-contact a.qc-rdv {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 16px !important;
  margin: 0 !important;
  padding: 14px 10px 14px 20px !important;
  border-radius: 20px !important;
  background: var(--red) !important;
  color: #fff !important;
  text-decoration: none !important;
  line-height: 1.2 !important;
  box-shadow: 0 14px 34px rgba(237, 64, 52, 0.4) !important;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
#quandea-contact .qc-rdv-text { display: flex; flex-direction: column; gap: 4px; }
#quandea-contact .qc-rdv-text small { color: rgba(255, 255, 255, 0.75); font-size: 10px; font-weight: 700; letter-spacing: 0.16em; }
#quandea-contact .qc-rdv-text b { color: #fff; font-size: 16px; font-weight: 800; }
#quandea-contact .qc-rdv-icon {
  display: flex; align-items: center; justify-content: center;
  flex: 0 0 42px; width: 42px; height: 42px;
  border-radius: 50%;
  background: rgba(10, 22, 54, 0.35);
  color: #fff;
  font-size: 17px;
  transition: transform 0.3s ease;
}
#quandea-contact a.qc-rdv:hover { transform: translateY(-3px); box-shadow: 0 18px 40px rgba(237, 64, 52, 0.55) !important; color: #fff !important; }
#quandea-contact a.qc-rdv:hover .qc-rdv-icon { transform: rotate(-45deg); }

#quandea-contact a.qc-mail {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 16px !important;
  margin: 0 !important;
  padding: 14px 10px 14px 20px !important;
  border-radius: 20px !important;
  border: 1px solid var(--glass-border) !important;
  background: var(--glass) !important;
  color: #fff !important;
  text-decoration: none !important;
  line-height: 1.2 !important;
  transition: background 0.3s ease, border-color 0.3s ease;
}
#quandea-contact .qc-mail-text { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
#quandea-contact .qc-mail-text small { color: var(--faint); font-size: 10px; font-weight: 700; letter-spacing: 0.16em; }
#quandea-contact .qc-mail-text b { color: #fff; font-size: 15px; font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
#quandea-contact .qc-mail-icon {
  display: flex; align-items: center; justify-content: center;
  flex: 0 0 42px; width: 42px; height: 42px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: var(--red-light);
  font-size: 17px;
  transition: transform 0.3s ease;
}
#quandea-contact a.qc-mail:hover { background: rgba(255, 255, 255, 0.12) !important; border-color: rgba(249, 249, 246, 0.42) !important; color: #fff !important; }
#quandea-contact a.qc-mail:hover .qc-mail-icon { transform: translate(2px, -2px); }

/* Formulaire */
#quandea-contact .qc-formbox {
  position: relative;
  padding: 32px 32px 28px;
  border-radius: 28px;
  border: 1px solid var(--glass-border);
  background: rgba(10, 22, 54, 0.5);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.25), inset 0 0 0 1px rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
}
#quandea-contact .qc-formbox::before {
  content: '';
  position: absolute;
  left: 32px; top: 0;
  width: 56px; height: 3px;
  border-radius: 0 0 3px 3px;
  background: var(--red);
}
#quandea-contact .qc-formtop { display: flex; align-items: center; gap: 12px; margin: 0 0 24px; color: var(--muted); font-size: 11px; font-weight: 700; letter-spacing: 0.2em; }
#quandea-contact .qc-formtop span { color: var(--red); font-family: var(--font-display); font-size: 15px; font-weight: 600; letter-spacing: 0.04em; }

#quandea-contact .qc-form { display: flex; flex-direction: column; gap: 16px; margin: 0; padding: 0; }
#quandea-contact .qc-form[hidden] { display: none; }
#quandea-contact .qc-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
#quandea-contact .qc-field { display: flex; flex-direction: column; gap: 8px; margin: 0; }
#quandea-contact .qc-field label {
  display: block;
  margin: 0;
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  line-height: 1.2;
  text-transform: uppercase;
}
#quandea-contact .qc-field label b { color: var(--red-light); }
#quandea-contact .qc-field label small { margin-left: 6px; color: var(--faint); font-size: 10px; font-weight: 600; letter-spacing: 0.06em; text-transform: none; }
#quandea-contact .qc-field input,
#quandea-contact .qc-field textarea {
  display: block !important;
  width: 100% !important;
  margin: 0 !important;
  border-radius: 14px !important;
  border: 1px solid rgba(249, 249, 246, 0.16) !important;
  background: rgba(255, 255, 255, 0.05) !important;
  color: #fff !important;
  font-family: var(--font-main) !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  outline: none !important;
  box-shadow: none !important;
  transition: border-color 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
}
#quandea-contact .qc-field input { height: 50px !important; padding: 0 16px !important; line-height: 50px !important; }
#quandea-contact .qc-field textarea { height: 140px !important; min-height: 120px !important; padding: 14px 16px !important; line-height: 1.55 !important; resize: vertical; }
#quandea-contact .qc-field input::placeholder,
#quandea-contact .qc-field textarea::placeholder { color: rgba(249, 249, 246, 0.32); }
#quandea-contact .qc-field input:focus,
#quandea-contact .qc-field textarea:focus {
  border-color: var(--red) !important;
  background: rgba(255, 255, 255, 0.08) !important;
  box-shadow: 0 0 0 4px rgba(237, 64, 52, 0.18) !important;
}
#quandea-contact .qc-field input:-webkit-autofill {
  -webkit-text-fill-color: #fff;
  -webkit-box-shadow: 0 0 0 100px #1A2C5E inset !important;
  caret-color: #fff;
}
#quandea-contact .qc-trap { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; opacity: 0 !important; }

#quandea-contact .qc-submitline { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 4px; }
#quandea-contact .qc-status { color: #FFD2CD; font-size: 13px; font-weight: 600; line-height: 1.45; }
#quandea-contact .qc-status:empty { display: none; }
#quandea-contact .qc-status:not(:empty) {
  flex: 1;
  padding: 10px 14px;
  border-radius: 14px;
  border: 1px solid rgba(237, 64, 52, 0.5);
  background: rgba(237, 64, 52, 0.14);
}
#quandea-contact .qc-submit {
  display: inline-flex !important;
  align-items: center !important;
  gap: 16px !important;
  height: 54px !important;
  margin: 0 0 0 auto !important;
  padding: 0 7px 0 24px !important;
  border: 0 !important;
  border-radius: 100px !important;
  background: var(--red) !important;
  color: #fff !important;
  font-family: var(--font-main) !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  line-height: 1 !important;
  white-space: nowrap !important;
  cursor: pointer;
  box-shadow: 0 14px 34px rgba(237, 64, 52, 0.4) !important;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
#quandea-contact .qc-submit-icon {
  display: flex; align-items: center; justify-content: center;
  width: 40px; height: 40px;
  border-radius: 50%;
  background: rgba(10, 22, 54, 0.35);
  font-size: 16px;
  transition: transform 0.3s ease;
}
#quandea-contact .qc-submit:hover:not(:disabled) { transform: translateY(-3px); box-shadow: 0 18px 40px rgba(237, 64, 52, 0.55) !important; }
#quandea-contact .qc-submit:hover:not(:disabled) .qc-submit-icon { transform: rotate(-45deg); }
#quandea-contact .qc-submit:disabled { opacity: 0.6; cursor: not-allowed; }

/* Confirmation */
#quandea-contact .qc-success { display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 420px; padding: 20px 10px; text-align: center; }
#quandea-contact .qc-success[hidden] { display: none; }
#quandea-contact .qc-success:not([hidden]) { animation: qcReveal 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) both; }
@keyframes qcReveal {
  from { opacity: 0; transform: translateY(18px); filter: blur(6px); }
  to   { opacity: 1; transform: none; filter: none; }
}
#quandea-contact .qc-check {
  position: relative;
  display: flex; align-items: center; justify-content: center;
  width: 80px; height: 80px;
  margin: 0 auto 24px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, var(--red-light), var(--red) 60%, #B9271D);
  color: #fff;
  font-size: 32px;
  font-weight: 800;
  box-shadow: 0 0 60px rgba(237, 64, 52, 0.6);
}
#quandea-contact .qc-check i { position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--red); animation: qcShock 2.4s cubic-bezier(0.2, 0.8, 0.2, 1) infinite; }
#quandea-contact .qc-check i:nth-child(2) { animation-delay: 1.2s; }
@keyframes qcShock {
  from { transform: scale(1); opacity: 0.9; }
  to   { transform: scale(3.2); opacity: 0; }
}
#quandea-contact .qc-success .qc-kicker { justify-content: center; }
#quandea-contact .qc-success h2 {
  margin: 4px 0 16px;
  color: #fff;
  font-family: var(--font-display);
  font-size: clamp(44px, 5vw, 72px);
  font-weight: 700;
  line-height: 0.92;
  text-transform: uppercase;
}
#quandea-contact .qc-success h2 strong { font-weight: 700; color: transparent; -webkit-text-stroke: 1.5px var(--paper); }
#quandea-contact .qc-success p { max-width: 420px; color: var(--muted); font-size: 15px; line-height: 1.65; }
#quandea-contact .qc-success-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 26px; }
#quandea-contact a.qc-home,
#quandea-contact .qc-again {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 10px !important;
  height: 50px !important;
  margin: 0 !important;
  padding: 0 24px !important;
  border-radius: 100px !important;
  font-family: var(--font-main) !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  line-height: 1 !important;
  text-decoration: none !important;
  cursor: pointer;
  transition: transform 0.3s ease, background 0.3s ease, border-color 0.3s ease;
}
#quandea-contact a.qc-home { border: 0 !important; background: var(--red) !important; color: #fff !important; box-shadow: 0 14px 34px rgba(237, 64, 52, 0.4) !important; }
#quandea-contact a.qc-home:hover { transform: translateY(-3px); color: #fff !important; }
#quandea-contact .qc-again { border: 1px solid var(--glass-border) !important; background: var(--glass) !important; color: #fff !important; box-shadow: none !important; }
#quandea-contact .qc-again:hover { background: rgba(255, 255, 255, 0.12) !important; border-color: rgba(249, 249, 246, 0.42) !important; }

/* Focus clavier */
#quandea-contact a:focus-visible,
#quandea-contact button:focus-visible { outline: 2px solid var(--paper); outline-offset: 3px; }

/* ---------- Mini-header QUANDEA (commun à tous les plugins) ----------
   !important : les thèmes stylent souvent tous les liens (padding, couleur, soulignement…) */
#quandea-contact .qb-mini-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 0 0 52px;
}
#quandea-contact a.qb-mh-logo {
  display: inline-flex !important;
  flex-direction: column !important;
  align-items: center !important;
  gap: 5px !important;
  padding: 0 !important;
  margin: 0 !important;
  color: #fff !important;
  text-decoration: none !important;
  background: none !important;
  line-height: 1 !important;
}
#quandea-contact .qb-mh-name {
  font-family: var(--font-display) !important;
  font-size: 24px !important;
  font-weight: 600 !important;
  letter-spacing: 0.16em !important;
  padding-left: 0.16em !important;
  line-height: 1 !important;
}
#quandea-contact .qb-mh-name b { font-weight: 600; color: var(--red); }
#quandea-contact .qb-mh-sub {
  display: flex !important;
  align-items: center !important;
  gap: 6px !important;
  font-size: 7px !important;
  font-weight: 700 !important;
  letter-spacing: 0.3em !important;
  text-transform: uppercase !important;
  color: var(--muted) !important;
  white-space: nowrap !important;
  line-height: 1 !important;
}
#quandea-contact .qb-mh-sub::before,
#quandea-contact .qb-mh-sub::after { content: ''; width: 12px; height: 1.5px; background: var(--red); }
#quandea-contact .qb-mh-nav {
  display: flex;
  gap: 4px;
  padding: 4px;
  border-radius: 100px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}
#quandea-contact .qb-mh-nav a {
  display: block !important;
  margin: 0 !important;
  padding: 9px 18px !important;
  border-radius: 100px !important;
  background: transparent !important;
  color: var(--muted) !important;
  font-family: var(--font-main) !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  line-height: 1 !important;
  text-decoration: none !important;
  text-transform: none !important;
  letter-spacing: normal !important;
  white-space: nowrap !important;
  transition: background 0.25s ease, color 0.25s ease;
}
#quandea-contact .qb-mh-nav a:hover,
#quandea-contact .qb-mh-nav a:focus-visible {
  background: rgba(255, 255, 255, 0.1) !important;
  color: #fff !important;
  outline: none;
}
#quandea-contact a.qb-mh-cta {
  display: inline-flex !important;
  align-items: center !important;
  gap: 10px !important;
  height: 42px !important;
  margin: 0 !important;
  padding: 0 5px 0 18px !important;
  border-radius: 100px !important;
  border: 0 !important;
  background: var(--red) !important;
  color: #fff !important;
  font-family: var(--font-main) !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  line-height: 1 !important;
  text-decoration: none !important;
  white-space: nowrap !important;
  box-shadow: 0 10px 28px rgba(237, 64, 52, 0.4) !important;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
#quandea-contact .qb-mh-cta-label { display: block !important; line-height: 1 !important; }
#quandea-contact .qb-mh-cta-icon {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex: 0 0 32px !important;
  width: 32px !important;
  height: 32px !important;
  border-radius: 50% !important;
  background: rgba(10, 22, 54, 0.35) !important;
  line-height: 0 !important;
  transition: transform 0.3s ease;
}
#quandea-contact .qb-mh-cta-icon svg { display: block; }
#quandea-contact a.qb-mh-cta:hover,
#quandea-contact a.qb-mh-cta:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 14px 34px rgba(237, 64, 52, 0.55) !important;
  color: #fff !important;
  outline: none;
}
#quandea-contact a.qb-mh-cta:hover .qb-mh-cta-icon { transform: rotate(-45deg); }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  #quandea-contact .qc-panel { grid-template-columns: 1fr; }
  #quandea-contact .qc-aside-bottom { flex-direction: row; }
  #quandea-contact .qc-aside-bottom > a { flex: 1; }
}
@media (max-width: 760px) {
  #quandea-contact { width: calc(100% - 16px); margin: 16px auto 40px; border-radius: 26px; font-size: 14px; }
  #quandea-contact .qc-viewfinder { inset: 12px; }
  #quandea-contact .qc-wrap { width: calc(100% - 32px); padding: 24px 0 40px; }
  #quandea-contact .qc-intro { margin-bottom: 26px; }
  #quandea-contact .qc-intro h1 { font-size: clamp(40px, 12vw, 64px); }
  #quandea-contact .qc-intro p { font-size: 14px; }
  #quandea-contact .qc-aside,
  #quandea-contact .qc-formbox { padding: 24px 18px 20px; border-radius: 22px; }
  #quandea-contact .qc-formbox::before { left: 18px; }
  #quandea-contact .qc-aside-bottom { flex-direction: column; }
  #quandea-contact .qc-row { grid-template-columns: 1fr; gap: 16px; }
  #quandea-contact .qc-submitline { flex-direction: column-reverse; align-items: stretch; }
  #quandea-contact .qc-submit { justify-content: space-between !important; width: 100% !important; margin: 0 !important; }
  #quandea-contact .qc-success { min-height: 380px; }
  #quandea-contact .qc-success-actions { flex-direction: column; align-items: stretch; width: 100%; }
  #quandea-contact .qb-mini-header { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 14px 10px; margin-bottom: 34px; }
  #quandea-contact a.qb-mh-logo { justify-self: start; }
  #quandea-contact .qb-mh-sub { letter-spacing: 0.2em !important; }
  #quandea-contact .qb-mh-nav { grid-column: 1 / -1; order: 3; justify-content: space-between; }
  #quandea-contact .qb-mh-nav a { flex: 1; text-align: center; padding: 10px 6px !important; }
  #quandea-contact .qb-mh-name { font-size: 20px !important; }
  #quandea-contact a.qb-mh-cta { height: 38px !important; font-size: 12px !important; padding-left: 14px !important; }
  #quandea-contact .qb-mh-cta-icon { flex-basis: 28px !important; width: 28px !important; height: 28px !important; }
}
@media (prefers-reduced-motion: reduce) {
  #quandea-contact .qc-grain,
  #quandea-contact .qc-check i { animation: none; }
  #quandea-contact .qc-success:not([hidden]) { animation: none; }
}
