/* KONTAKT PAGE */

/* Style the Contact Form 7 Submit Button */
.wpcf7 input[type="submit"] {
    background-color: #111111 !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: 0px !important;
    font-family: inherit;
    font-size: 11px !important;
    font-weight: 500 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.28em !important;
    padding: 16px 36px !important;

    cursor: pointer !important;
    display: inline-block !important;
    transition: opacity 0.25s ease !important;
}

.wpcf7 input[type="submit"]:hover {
    background-color: #111111 !important;
    color: #ffffff !important;
    opacity: 0.8 !important;
}

/* Force pull the checkbox container element back to the true left margin edge */
span.wpcf7-list-item,
span.wpcf7-form-control-wrap,
.wpcf7-acceptance {
    display: inline-block !important;
    margin-left: 0px !important;
    padding-left: 0px !important;
}

/* Clear any hidden text indents or outer label padding applied by your theme */
.wpcf7 label,
.wpcf7-acceptance label {
    margin-left: 0px !important;
    padding-left: 0px !important;
    text-indent: 0px !important;
}

/* Ensure the raw clickable checkbox element sits perfectly at 0 left position */
.wpcf7 input[type="checkbox"] {
    margin-left: 0px !important;
    padding-left: 0px !important;
}
.wpcf7 label {
    font-size: 13px !important;     
    font-weight: 500 !important;     
    text-transform: uppercase !important; 
    letter-spacing: 0.08em !important; 
    color: #555555 !important;       
    display: block;
    margin-bottom: 6px !important;    
}


.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 textarea {
    border: 1px solid #cccccc !important;
    border-radius: 0px !important;
    padding: 12px 16px !important;   
    font-size: 14px !important;
    background-color: #ffffff !important;
    transition: border-color 0.3s ease !important;
}

/* Subtle focus effect when a user clicks into a field */
.wpcf7 input[type="text"]:focus,
.wpcf7 input[type="email"]:focus,
.wpcf7 textarea:focus {
    border-color: #111111 !important;
    outline: none !important;
}

.form-disclaimer {
    font-size: 14px !important;
    color: #777777 !important;
    margin-top: 15px !important;
    font-style: italic;
}

/* --- Hero Section Alignment & Image Size Control --- */
.fr-pricing-hero .fr-layout-container {
  display: flex !important;
  align-items: center !important;
  gap: 20px !important;
  flex-wrap: nowrap !important;
}

.fr-pricing-hero .image-text-wrap {
  width: 66px !important;
  max-width: 100px !important;
  flex-shrink: 0 !important;
}

.fr-pricing-hero .image-text-wrap img {
  width: 100% !important;
  height: auto !important;
  display: block !important;
}

.fr-pricing-hero .fr-intro {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  
  flex-grow: 1 !important;
  min-width: 0 !important;
}

@media (max-width: 480px) {
  .fr-pricing-hero .image-text-wrap {
    width: 100px !important;
    max-width: 100px !important;
  }
  
  .fr-pricing-hero .fr-layout-container {
    gap: 15px !important;
  }
}


/* ==========================================
   CUSTOM CONTACT LAYOUT FIX
   Replaces Gutenberg columns with pure CSS Flexbox
   ========================================== */

/* The main container for the two columns */
.fr-contact-columns {
  display: flex;
  gap: 40px; 
  margin-top: 20px;
}

/* Left Column (Contact Info) - Fixed width on desktop */
.fr-col-info {
  flex: 0 0 35%; 
  min-width: 250px;
}

/* Right Column (Form) - Fills remaining space */
.fr-col-form {
  flex: 1; 
}

.fr-contact-columns {
  display: flex;
  gap: 90px; 
}
/* ==========================================
   MOBILE RESPONSIVE FIX FOR CONTACT COLUMNS
   ========================================== */

@media (max-width: 768px) {
  
  /* Force columns to stack vertically on mobile/tablet */
  .fr-contact-columns {
    flex-direction: column !important; 
    gap: 40px !important; /* Reduce gap slightly for mobile aesthetics if desired, or keep same */
    margin-top: 20px;
  }

  /* Ensure Left Column (Info) takes full width so it doesn't squeeze text */
  .fr-col-info {
    flex-basis: auto !important; 
    width: 100% !important;
    min-width: unset !important;
  }

  /* Ensure Right Column (Form) also takes full width */
  .fr-col-form {
    width: 100% !important;
  }
  
	 /* Optional: Adjust Hero section on very small screens if text is overflowing */
  .fr-pricing-hero .image-text-wrap {
    width: 80px !important; 
  }
}

/* 1. Smaller Text */
.wpcf7-form-control.wpcf7-acceptance label span {
    font-size: 0.94em;
}

/* 2. Smaller Checkbox Box */
.wpcf7-form-control.wpcf7-acceptance input[type="checkbox"] {
    width: 16px;
    height: 16px;
    vertical-align: middle;
    transform: scale(0.95); /* Scales the icon itself */
}

/* Ensure clicking anywhere on the label toggles the checkbox (better UX) */
.wpcf7-form-control.wpcf7-acceptance {
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
}
