:root {
  --cf7-accent: #0066cc;   /* primary blue */
  --cf7-accent-hover: #005bb5;
}

.site-content, 
.elementor-section.elementor-section-boxed > .elementor-container {
  max-width: 1400px !important;
}

/* Contact Form 7 global wrapper */
.wpcf7 form {
  max-width: 700px;
  margin: 0 auto;
  background: #fff;
  padding: 28px;
  border-radius: 14px;
  border: 1px solid #e5e5e5;
  box-shadow: 0 6px 20px rgba(0,0,0,0.06);
  font-family: inherit;
}

/* Labels */
.wpcf7 form label {
  display: block;
  font-size: 15px;
  font-weight: 500;
  margin-bottom: 6px;
  color: #222;
}

/* Inputs & textareas */
.wpcf7 form input[type="text"],
.wpcf7 form input[type="email"],
.wpcf7 form textarea {
  width: 85%;
  padding: 12px 14px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 15px;
  background: #fafafa;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  margin-bottom: 18px;
}

.wpcf7 form textarea {
  min-height: 140px;
  resize: vertical;
}

/* Focus state */
.wpcf7 form input:focus,
.wpcf7 form textarea:focus {
  outline: none;
  background: #fff;
  border-color: #0066cc;
  box-shadow: 0 0 0 3px rgba(0,102,204,0.25);
}

/* Submit button */
.wpcf7 form input[type="submit"] {
  justify-self: start;
  background: var(--cf7-accent);
  color: #fff;
  border: 0;
  border-radius: 10px;
  padding: 12px 22px;
  font-weight: 600;
  font-size: 16px;
  cursor: pointer;
  transition: filter .2s, transform .1s, background .2s;
}
.wpcf7 form input[type="submit"]:hover {
  background: var(--cf7-accent-hover);
}
.wpcf7 form input[type="submit"]:active {
  transform: translateY(1px);
}

/* Style for helper text under the form */
.wpcf7 .small-text {
  font-size: 13px;
  line-height: 1.5;
  color: #6b6b75;   /* muted gray */
  margin-top: 6px;
  margin-bottom: 0;
}

.wpcf7 .small-text a {
  color: #0066cc;          /* Finland blue link */
  text-decoration: underline;
  transition: color 0.2s;
}

.wpcf7 .small-text a:hover {
  color: #005bb5;          /* darker blue on hover */
}

/* Error messages */
.wpcf7-not-valid-tip {
  font-size: 13px;
  margin-top: -12px;
  margin-bottom: 12px;
  color: #c62828;
}

.wpcf7-response-output {
  margin-top: 16px;
  border-radius: 8px;
  padding: 12px;
}
