.elementor-58 .elementor-element.elementor-element-c4f32d2{--display:flex;--margin-top:0px;--margin-bottom:0px;--margin-left:0px;--margin-right:0px;--padding-top:0px;--padding-bottom:0px;--padding-left:0px;--padding-right:0px;}:root{--page-title-display:none;}@media(min-width:768px){.elementor-58 .elementor-element.elementor-element-c4f32d2{--width:100%;}}/* Start custom CSS *//* ============================================================
   Attestra — Contact Form 7 styling
   Paste into: Appearance → Customize → Additional CSS

   Scoped to .att-cf7, the wrapper inside the form template, so
   nothing here touches other forms on the site.

   Rules target plain elements — input, select, textarea, label,
   button — rather than CF7's own class names wherever possible,
   so a CF7 update cannot silently strip the design. The handful
   of .wpcf7-* rules are for things element body.elementor-page-58s cannot
   reach, and each is harmless if the class is absent.
   ============================================================ */

.att-cf7 {
  --ink: #140C33;
  --ink-2: #4A4270;
  --ink-3: #7C74A3;
  --violet: #4A22E0;
  --violet-deep: #3312B0;
  --pink: #FF3D8B;
  --paper: #F5F4FF;
  --line: #E4E0FF;
  --r: 16px;
  --body: "Instrument Sans", ui-sans-serif, system-ui, sans-serif;
}

/* ---------- layout ---------- */

.att-cf7 .att-field { margin: 0 0 18px; }

/* Name and email sit side by side, stacking on narrow screens. */
.att-cf7 .att-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
@media (max-width: 640px) {
  .att-cf7 .att-row { grid-template-columns: 1fr; gap: 0; }
}

/* ---------- labels ---------- */

.att-cf7 label {
  display: flex;
  align-items: center;
  gap: 5px;
  font-family: var(--body);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: var(--ink-2);
  margin-bottom: 9px;
  line-height: 1.4;
}

.att-cf7 .att-req {
  color: var(--pink);
  font-style: normal;
}

/* "Optional, but it helps a lot" — pushed to the right of the label row. */
.att-cf7 .att-opt {
  margin-left: auto;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
  color: var(--ink-3);
}

.att-cf7 .att-hint {
  margin: 9px 0 0;
  font-family: var(--body);
  font-size: 13px;
  line-height: 1.5;
  color: var(--ink-3);
}

/* ---------- inputs ---------- */

.att-cf7 input[type="text"],
.att-cf7 input[type="email"],
.att-cf7 input[type="url"],
.att-cf7 input[type="tel"],
.att-cf7 select,
.att-cf7 textarea {
  width: 100%;
  box-sizing: border-box;
  font-family: var(--body);
  font-size: 15.5px;
  line-height: 1.5;
  color: var(--ink);
  background: var(--paper);
  border: 1.5px solid var(--line);
  border-radius: var(--r);
  padding: 14px 16px;
  box-shadow: none;
  transition: border-color .2s, background .2s, box-shadow .2s;
}

/* CF7 wraps every control in a span, which breaks the 100% width. */
.att-cf7 .wpcf7-form-control-wrap { display: block; width: 100%; }

.att-cf7 textarea {
  resize: vertical;
  min-height: 130px;
  line-height: 1.6;
}

.att-cf7 input::placeholder,
.att-cf7 textarea::placeholder {
  color: #A9A2C8;
  opacity: 1;
}

.att-cf7 input:focus,
.att-cf7 select:focus,
.att-cf7 textarea:focus {
  outline: none;
  border-color: var(--violet);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(74, 34, 224, .12);
}

/* ---------- dropdown ---------- */

.att-cf7 select {
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  padding-right: 44px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%237C74A3' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='m5 8 5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 15px center;
  background-size: 16px;
}

/* ---------- submit ---------- */

.att-cf7 .att-submit { margin: 22px 0 0; }

.att-cf7 input[type="submit"] {
  width: 100%;
  font-family: var(--body);
  font-size: 15.5px;
  font-weight: 600;
  color: #fff;
  background-color: var(--violet);
  border: 0;
  border-radius: 999px;
  padding: 17px 26px 17px 52px;
  cursor: pointer;
  box-shadow: 0 10px 22px -10px rgba(74, 34, 224, .75);
  transition: background-color .2s, transform .2s;

  /* The paper-plane icon, as a background image — a submit input
     cannot contain an SVG child element. */
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 2 11 13'/%3E%3Cpath d='M22 2l-7 20-4-9-9-4 20-7z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center left calc(50% - 78px);
  background-size: 18px;
}

/* Themes override link and button colours on hover; pin these down. */
.att-cf7 input[type="submit"]:hover,
.att-cf7 input[type="submit"]:focus {
  color: #fff !important;
  background-color: var(--violet-deep) !important;
  transform: translateY(-2px);
}

.att-cf7 input[type="submit"]:disabled {
  opacity: .6;
  cursor: default;
  transform: none;
}

/* ---------- validation and response messages ---------- */

/* Per-field error, shown under the control that failed. */
.att-cf7 .wpcf7-not-valid-tip {
  font-family: var(--body);
  font-size: 12.5px;
  font-weight: 500;
  color: var(--pink);
  margin-top: 8px;
}

.att-cf7 input.wpcf7-not-valid,
.att-cf7 select.wpcf7-not-valid,
.att-cf7 textarea.wpcf7-not-valid {
  border-color: var(--pink);
  background: #fff;
}

/* The message bar CF7 shows after a submit attempt. */
.att-cf7 .wpcf7-response-output {
  font-family: var(--body);
  font-size: 14px;
  line-height: 1.5;
  border-radius: 12px;
  border-width: 1px;
  padding: 13px 16px;
  margin: 20px 0 0;
}

.att-cf7 form.sent .wpcf7-response-output {
  color: #0F7A4D;
  border-color: rgba(15, 122, 77, .3);
  background: rgba(15, 122, 77, .07);
}

.att-cf7 form.invalid .wpcf7-response-output,
.att-cf7 form.failed .wpcf7-response-output,
.att-cf7 form.aborted .wpcf7-response-output,
.att-cf7 form.spam .wpcf7-response-output {
  color: #B3245C;
  border-color: rgba(255, 61, 139, .32);
  background: rgba(255, 61, 139, .07);
}

.att-cf7 .wpcf7-spinner { margin: 0 0 0 12px; }

/* CF7's autop can leave empty paragraphs that add stray gaps. */
.att-cf7 p:empty { display: none; }/* End custom CSS */