/*
Theme Name: Floka Child
Theme URI: https://floka.casethemes.net/
Author: Case-Themes
Author URI: https://themeforest.net/user/case-themes/
Description: Floka  is a Premium WordPress theme that has built-in support for popular Page Builders, slider with swipe gestures, and is SEO- and Retina-ready. The unique system of inheritance and override options allows setting up individual parameters for different sections of your site and supported plugins.
Version: 1.0.2
License: GPL-2.0+
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Template: floka
Text Domain: floka-child
Tags: Blog, E-Commerce, Portfolio, Grid Layout, One Column, Two Columns, Three Columns, Four Columns, Left Sidebar, Right Sidebar, Custom Background, Custom Colors, Custom Header, Custom Logo, custom-menu, Editor Style, Featured Image Header, Featured Images, flexible-header, Footer Widgets, Full Width Template, microformats, Post Formats, Sticky Post, Theme Options, threaded-comments, translation-ready, Block Editor Styles, Wide Blocks
Requires at least: 5.8 or Higher
Requires PHP: 7.4 or Higher
Tested up to: 6.4
*/

/* CONTENEDOR */
.cf7x-contact-wrap {
  background: #ffffff;
  border-radius: 26px;
  padding: 44px 48px 38px;
  max-width: 1400px;
  margin: 0 auto;
  box-sizing: border-box;
}

/* GRID */
.cf7x-contact-grid {
  display: flex;
  flex-wrap: wrap;
  column-gap: 44px;
  row-gap: 38px;
}

.cf7x-field {
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
}

.cf7x-half {
  width: calc(50% - 22px);
}

.cf7x-full {
  width: 100%;
}

/* WRAPS DE CF7 */
.cf7x-contact-wrap .wpcf7-form-control-wrap {
  display: block;
  width: 100%;
  position: relative;
}

/* INPUTS / SELECT / TEXTAREA */
.cf7x-contact-wrap input.cf7x-input,
.cf7x-contact-wrap select.cf7x-select,
.cf7x-contact-wrap textarea.cf7x-textarea {
  width: 100%;
  box-sizing: border-box;
  margin: 0;
  padding: 0 0 16px 0;
  border: none;
  border-bottom: 1px solid #d6d6d6;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  outline: none;
  color: #232323;
  font-family: 'Inter', sans-serif;
  font-size: 18px;
  line-height: 1.45;
  font-weight: 400;
}

/* ALTURA CAMPOS CORTOS */
.cf7x-contact-wrap input.cf7x-input,
.cf7x-contact-wrap select.cf7x-select {
  height: 52px;
}

/* TEXTAREA */
.cf7x-contact-wrap textarea.cf7x-textarea {
  min-height: 240px;
  resize: vertical;
  padding-top: 2px;
}

/* PLACEHOLDERS */
.cf7x-contact-wrap input.cf7x-input::placeholder,
.cf7x-contact-wrap textarea.cf7x-textarea::placeholder {
  color: #b6b6b6;
  font-family: 'Inter', sans-serif;
  font-size: 17px;
  font-weight: 400;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  opacity: 1;
}

.cf7x-contact-wrap input.cf7x-input::-webkit-input-placeholder,
.cf7x-contact-wrap textarea.cf7x-textarea::-webkit-input-placeholder {
  color: #b6b6b6;
  text-transform: uppercase;
}

.cf7x-contact-wrap input.cf7x-input::-moz-placeholder,
.cf7x-contact-wrap textarea.cf7x-textarea::-moz-placeholder {
  color: #b6b6b6;
  text-transform: uppercase;
  opacity: 1;
}

/* SELECT */
.cf7x-contact-wrap select.cf7x-select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  padding-right: 44px;
  color: #b6b6b6;
  text-transform: uppercase;
  cursor: pointer;
  background-image:
    linear-gradient(45deg, transparent 50%, #b6b6b6 50%),
    linear-gradient(135deg, #b6b6b6 50%, transparent 50%);
  background-position:
    calc(100% - 22px) 48%,
    calc(100% - 15px) 48%;
  background-size: 7px 7px, 7px 7px;
  background-repeat: no-repeat;
}

.cf7x-contact-wrap select.cf7x-select:focus,
.cf7x-contact-wrap input.cf7x-input:focus,
.cf7x-contact-wrap textarea.cf7x-textarea:focus {
  border-bottom-color: #23c8c8;
  outline: none;
  box-shadow: none;
}

/* Cuando el campo ya tiene valor */
.cf7x-contact-wrap input.cf7x-input:not(:placeholder-shown),
.cf7x-contact-wrap textarea.cf7x-textarea:not(:placeholder-shown) {
  color: #232323;
}

.cf7x-contact-wrap select.cf7x-select.wpcf7-validates-as-required {
  color: #232323;
}

/* MENSAJE */
.cf7x-contact-wrap textarea.cf7x-textarea {
  vertical-align: top;
}

/* PARTE INFERIOR */
.cf7x-bottom {
  width: 100%;
  margin-top: 6px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px;
}

/* ACEPTACION */
.cf7x-acceptance {
  flex: 1 1 auto;
  color: #505050;
  font-family: 'Nunito', sans-serif;
  font-size: 17px;
  line-height: 1.45;
}

.cf7x-acceptance .wpcf7-form-control-wrap {
  display: block;
}

.cf7x-acceptance .wpcf7-list-item {
  display: block;
  margin: 0;
}

.cf7x-acceptance .wpcf7-list-item label {
  display: flex;
  align-items: center;
  gap: 14px;
  cursor: pointer;
  margin: 0;
}

.cf7x-acceptance input[type="checkbox"] {
  width: 22px;
  height: 22px;
  min-width: 22px;
  margin: 0;
  appearance: none;
  -webkit-appearance: none;
  background: transparent;
  border: 1.4px solid #8f8f8f;
  border-radius: 4px;
  position: relative;
  cursor: pointer;
}

.cf7x-acceptance input[type="checkbox"]:checked::after {
  content: "";
  position: absolute;
  left: 6px;
  top: 1px;
  width: 6px;
  height: 12px;
  border: solid #111111;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.cf7x-acceptance a {
  color: #505050;
  text-decoration: underline;
}

.cf7x-acceptance a:hover {
  color: #2f2f2f;
}

/* BOTON */
.cf7x-submit-wrap {
  flex: 0 0 auto;
}

.cf7x-submit-btn {
  min-width: 274px;
  height: 68px;
  padding: 0 10px 0 36px;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border: none;
  border-radius: 999px;
  background: #20cfd0;
  color: #111111;
  cursor: pointer;
  transition: transform 0.2s ease, opacity 0.2s ease;
  font-family: 'Nunito', sans-serif;
  font-size: 20px;
  font-weight: 500;
  box-shadow: none;
}

.cf7x-submit-btn:hover {
  transform: translateY(-1px);
  opacity: 0.98;
}

.cf7x-submit-text {
  display: inline-block;
}

.cf7x-submit-icon {
  width: 54px;
  height: 54px;
  min-width: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #050505;
  color: #ffffff;
}

/* ERRORES */
.cf7x-contact-wrap .wpcf7-not-valid-tip {
  display: block !important;
  position: static !important;
  margin-top: 8px !important;
  color: #ef3e3e;
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  line-height: 1.35;
  background: transparent !important;
}

.cf7x-contact-wrap input.wpcf7-not-valid,
.cf7x-contact-wrap select.wpcf7-not-valid,
.cf7x-contact-wrap textarea.wpcf7-not-valid {
  border-bottom-color: #ef3e3e !important;
}

.cf7x-contact-wrap .cf7x-acceptance .wpcf7-not-valid-tip {
  margin-top: 8px !important;
}

/* MENSAJE GENERAL OCULTO */
.cf7x-contact-wrap .wpcf7-response-output {
  display: none !important;
}

/* SPINNER */
.cf7x-contact-wrap .wpcf7-spinner {
  margin: 10px 0 0 10px;
}

.cf7x-field {
  position: relative;
}

.cf7x-field span {
  position: static !important;
}

.cf7x-label {
  position: absolute;
  top: 12px;
  left: 0;
  pointer-events: none;
  font-size: 13px;
  letter-spacing: 0.1em;
  color: #999;
  z-index: 0;
}

/* RESPONSIVE */
@media (max-width: 991px) {
  .cf7x-contact-wrap {
    padding: 28px 22px;
    border-radius: 20px;
  }

  .cf7x-contact-grid {
    column-gap: 0;
    row-gap: 28px;
  }

  .cf7x-half {
    width: 100%;
  }

  .cf7x-bottom {
    flex-direction: column;
    align-items: stretch;
  }

  .cf7x-submit-wrap,
  .cf7x-submit-btn {
    width: 100%;
    min-width: 100%;
  }

  .cf7x-contact-wrap input.cf7x-input,
  .cf7x-contact-wrap select.cf7x-select,
  .cf7x-contact-wrap textarea.cf7x-textarea {
    font-size: 16px;
  }

  .cf7x-contact-wrap input.cf7x-input::placeholder,
  .cf7x-contact-wrap textarea.cf7x-textarea::placeholder,
  .cf7x-contact-wrap select.cf7x-select {
    font-size: 16px;
  }

  .cf7x-contact-wrap textarea.cf7x-textarea {
    min-height: 180px;
  }
}