/* 
Theme Name: Hello Elementor Child
Theme URI: https://github.com/elementor/hello-theme-child/
Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team
Author: Elementor Team
Author URI: https://elementor.com/
Template: hello-elementor
Version: 2.0.0
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

.cg-subtitle {
  display: flex;
  align-items: center;
	justify-content: flex-start;
  gap: 12px;
}

.cg-subtitle.subtitle-centered {
	justify-content: center;
}

.cg-subtitle .elementor-heading-title {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #00A099;
}

.cg-subtitle .elementor-heading-title::before {
  content: '';
  flex-shrink: 0;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #00A099;
  box-shadow: 0 0 0 5px rgba(0, 160, 153, 0.2);
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% {
    box-shadow: 0 0 0 5px rgba(0, 160, 153, 0.2);
  }
  50% {
    box-shadow: 0 0 0 9px rgba(0, 160, 153, 0);
  }
}

.main-header {
  transition: background 0.3s ease, backdrop-filter 0.3s ease, box-shadow 0.3s ease;
}

.main-header.is-scrolled {
	background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(9px);
    -webkit-backdrop-filter: blur(9px);
    box-shadow: 0 1px 24px rgba(0, 0, 0, 0.06);
}

.steps__item-number {
    width: 90px;
    height: 90px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
	border-color: #000;
    line-height: 1;
    background: #fff;
    color: #000;
}

.btn-glass .elementor-button {
  position: relative;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  background: rgba(255, 255, 255, 0.1);
  overflow: hidden;
}

.btn-glass .elementor-button::before,
.btn-glass .elementor-button::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1.5px;
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

.btn-glass .elementor-button::before {
  background: linear-gradient(
    135deg,
    rgba(255,255,255,0.65) 0%,
    rgba(255,255,255,0.2) 50%,
    rgba(255,255,255,0.05) 100%
  );
  opacity: 1;
}

.btn-glass .elementor-button::after {
  background: linear-gradient(
    315deg,
    rgba(255,255,255,0.65) 0%,
    rgba(255,255,255,0.2) 50%,
    rgba(255,255,255,0.05) 100%
  );
  opacity: 0;
}

.btn-glass:hover .elementor-button::before {
  opacity: 0;
}

.btn-glass:hover .elementor-button::after {
  opacity: 1;
}

.cg-form-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}
.cg-form-grid .cg-field { margin: 0; }
.cg-half  { flex: 1 1 calc(50% - 9px); }
.cg-full  { flex: 1 1 100%; }

.cg-form-grid label {
  font-weight: 600;
  font-size: 14px;
  color: #fff;
  display: block;
}
.cg-req { color: #F0EAD6; }

.cg-form-grid input:not([type="checkbox"],[type="submit"]),
.cg-form-grid select,
.cg-form-grid textarea {
  width: 100%;
  padding: 12px 16px;
  margin-top: 6px;
  border: none;
  border-radius: 0px;
  background: #fff;
}

.cg-form-grid [type="file"] {
	color: #000;
}

.cg-form-grid .wpcf7-list-item {
    margin: 0;
}

.cg-form-grid input:focus,
.cg-form-grid select:focus,
.cg-form-grid textarea:focus {
  outline: none;
}

.cg-hint {
  display: block;
  font-size: 12px;
  color: #6b7280;
  margin-top: 0px;
  font-weight: 400;
}

.cg-consent label {
    font-weight: 500;
	font-size: 15px; 
}

.cg-submit { 
	width: 100%;
	display: flex;
	flex-direction: column;
	margin-top: 4px;
}

.cg-submit .cf-turnstile {
	margin-bottom: 15px;
}

.cg-submit input[type="submit"] {
  color: #fff;
  width: 100%;
}

.wpcf7 form .wpcf7-response-output {
    margin: 0;
    padding: 0;
    border: none;
    color: #fff;
}

.cg-locations-list {
    list-style: none;
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin: 0;
    padding: 0;
}

.cg-locations-list li a {
	color: #fff;
	opacity: 0.9;
	letter-spacing: 0.05em;
	transition: all 0.3s ease-in-out;
}

.cg-locations-list li a:hover {
		opacity: 1;
	text-decoration: underline;
}
/* ====== Калькулятор на темному фоні ====== */
.ufd-calc{color:#fff}
.ufd-calc .cg-label,

.ufd-calc .cg-req{color:#fff}

/* --- Картки-вибір (style + post size) --- */
.ufd-calc .wpcf7-radio{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:8px}
.ufd-calc .wpcf7-radio .wpcf7-list-item{margin:0}
.ufd-calc .wpcf7-radio label{display:block;cursor:pointer;margin:0}
.ufd-calc .wpcf7-radio input{position:absolute;opacity:0;width:0;height:0}

.ufd-calc .wpcf7-radio label:hover .wpcf7-list-item-label{border-color:#fff}

.ufd-calc input:checked + .wpcf7-list-item-label {
    border-color: #ffffff;
    box-shadow: 0 0 0 1px #ffffff;
}

.ufd-calc .wpcf7-acceptance input:checked + .wpcf7-list-item-label {
	border: none;
    box-shadow: none;
}


.ufd-calc .wpcf7-list-item-label{
    display: block;
    padding: 16px 14px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, .25);
    border-radius: 0px;
    background: rgba(255, 255, 255, .06);
    color: #fff;
    font-weight: 700;
    transition: all .2s;
    position: relative;
}

.ufd-calc .wpcf7-acceptance .wpcf7-list-item-label {
    display: inline;
    padding: 0 0 0 8px;
    text-align: left;
    border: none;
    border-radius: 0px;
    background: transparent;
    color: #fff;
    font-weight: inherit;
    transition: all .2s;
    position: relative;
}


.ufd-calc input:checked + .wpcf7-list-item-label::after {
    content: "✓";
    position: absolute;
    top: -10px;
    right: -10px;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #ffffff;
    color: #000000;
    font-size: 14px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ufd-calc .wpcf7-acceptance input:checked + .wpcf7-list-item-label::after {
    display: none;
	content: none;
}

.ufd-calc input:focus,
.ufd-calc select:focus {
	outline:none;
	border-color:#fff;
}

.ufd-calc ::placeholder{color:#8b98a5}

/* --- Ціна --- */
.ufd-price-box{
	text-align:center;
	padding:20px 0 8px
}
.ufd-price{
	font-size:2.7em;
	font-weight:700;
	color:#fff;
	margin: 0 0 20px;
}
.ufd-note{
    font-size: 13px;
    color: #ffffff99;
    margin: 0;
}

/* --- Consent --- */
.ufd-calc .cg-consent,
.ufd-calc .wpcf7-acceptance{color:#cfd9e4;font-size:13px}
.ufd-calc .wpcf7-acceptance a{color:#d4a437}

/* --- Кнопка --- */
.ufd-calc input[type="submit"], .ufd-calc input[type="submit"]:hover {
    width: 100%;
    padding: 15px 28px;
    border: 0;
    border-radius: 0;
    cursor: pointer;
    background: #ffffff;
    color: #000000;
    font-size: 16px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .03em;
    transition: .2s;
}

.ufd-calc input[type="submit"]:hover {
    background: #f5f5f5;
}


/* --- Помилки валідації CF7 --- */
.ufd-calc .wpcf7-response-output{color:#fff;}

@media(max-width:560px){
  .ufd-calc .wpcf7-radio{grid-template-columns:1fr}
}




@media (max-width: 600px) {

}







/* Екрани більшого розміру (настільні комп'ютери та інше) */
@media (min-width: 1367px) {
    /* Ваші стилі для екранів великого розміру */
}

/* Ноутбуки */
@media (max-width: 1366px) {
    /* Ваші стилі для ноутбуків */
}

/* Планшети (горизонтальна орієнтація) */
@media (max-width: 1200px) {
	
	.steps__item-number {
		width: 60px;
		height: 60px;
	}
	
}

/* Планшети (вертикальна орієнтація) */
@media (max-width: 1024px) {
    /* Ваші стилі для планшетів у вертикальній орієнтації */
}

/* Мобільні пристрої (горизонтальна орієнтація) */
@media (max-width: 880px) {
    /* Ваші стилі для мобільних пристроїв у горизонтальній орієнтації */
}

/* Мобільні пристрої (вертикальна орієнтація) */
@media (max-width: 767px) {
	.cg-half { flex: 1 1 100%; }
	
	.elementor-swiper-button {
	  width: 40px;
	  height: 40px;
	}
}