/* PROMO.FAIRHILLLAWYERS.COM */
h1, h2, h3, h4, h5, h6 {
    font-family: serif;
}
.btn-primary {
    background-color: #1A243F;
}
.cta-button, .service-card, .service-section .step-item:before, #price .icon-box {
    border-radius: 0!important;
}
	
/* Топ-бар 
.top-bar {
    background: #222;
    color: #fff;
    font-size: 14px;
	background: rgba(26,36,63,0.8);
	font-size: .8em;
    line-height: 2.5em;
	margin-left: 0px;
}
.top-bar a {
	color: #fff;
	margin-left: 10px;
	text-decoration: none;
}*/

header {
	background: url('/images/gtv/palace-london.jpg') no-repeat center center;
	position: relative;
}
header .lead { 
	font-size: 1.15rem; 
}
/* Хедер */
.header {
	position: absolute;
	top: 0; 
	left: 0;
	width: 100%;
	z-index: 1030;
	transition: all 0.3s ease;
	background: transparent;
	padding: 0;
	padding-top: 5px;
}
.header.scrolled {
	position: fixed;
	top: 0;
	background: #fff;
	padding: 5px 0;
	box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}
.header img {
	height: 40px;
	transition: all 0.3s ease;
}
.header.scrolled img {
	height: 40px;
}

.phone span {
  position: relative;
  display: inline-block;
  padding: 6px 18px;
  border: 1px solid #bfc1c2;
  color: #fff;
  overflow: hidden;
  cursor: pointer;
  transition: color 0.4s ease, border-color 0.4s ease;
  z-index: 1;
}

.phone span::before {
  content: "";
  position: absolute;
  inset: 0;  
  background: #bfc1c2;       /* основной цвет фона */
  opacity: 0;                /* старт — прозрачный */
  z-index: -1;
  transform: scale(0);       /* сжат в центр */
  transform-origin: center;
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.phone span:hover::before,
.phone span:focus::before {
  opacity: 1;                /* появляется плавно */
  transform: scale(1);       /* и раскрывается наружу */
}

.phone span:hover,
.phone span:focus {
  color: #fff;               /* текст перекрашивается */
  border-color: #bfc1c2;
}

.header.scrolled .phone span {
	font-size: 16px;
	font-size: .8rem;
	color: #000;
}
.header.scrolled .phone span:hover,
.header.scrolled .phone span:focus {
	color: #fff;
}
.top-bar .contact-info span {
	margin-right: 15px; /* расстояние между почтой и адресом */
}

/* Hero */
.hero {
	position: relative;
	height: 100vh;
	background: url('images/hero-bg.jpg') center center/cover no-repeat;
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	color: #fff;
}
.hero-overlay {
	position: absolute;
	inset: 0;
	background: rgba(0,0,0,0.5);
}
.hero-content {
	position: relative;
	z-index: 2;
	margin-top: 40px; 
	padding: 0 5px;
}

.cta-button {
	margin-top: 20px;
	padding: 10px 20px;
	font-size: 18px;
	background-color: #f5ba4b;
	color: #131732;
	border-color: #f5ba4b;
	border-radius: 5px;
	cursor: pointer;
	text-decoration: none;
}
.cta-button:hover {
	background-color: #ffb11e;	
    color: white;
}
/*.btn-primary {
	background-color: #1A243F;
}
.btn-primary:hover {
	background-color: #676885;
}*/
/* Затемненная секция */
.section-darkened { 
	position: relative; 
    display: flex;
}       
.section-darkened::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6); /* Затемнение фона */
}        
.section-darkened .container {
    position: relative;
    z-index: 1; /* Поверх затемнения */
}

.service-section .step-item i {
	font-size: 48px;
	color: #0d6efd; /* Bootstrap primary */
	margin-bottom: 15px;
	display: block;
}
	
.icon-steps {
	background-color: #1A243F !important; /* фиксируем фон (bootstrap primary) */
 /* border: none;*/
  top: 50%;
    left: 0.75rem;
    transform: translateY(-50%);
    font-size: 2em;
    z-index: 2;
    border-radius: 0;
    box-shadow: 0 4px 10px #bfc1c2;
  pointer-events: none; /* чтобы hover ловил только иконка */
}
.icon-steps i {
  font-size: inherit;      /* чтобы масштабировалось вместе с .icon-steps */
  color: #bfc1c2; 
  color: #fff;                 
  transition: color 0.3s ease;
  pointer-events: auto; /* иконка снова кликабельна */
}
/***/
ul.list-checked {
	list-style-type: none;
	counter-reset: number;
}
ul.list-checked li{
	font-size: 100%;
}
ul.list-checked>li:before {
	display: inline-block;
	text-align: center;
	width: 22px;
	height: auto;
    content: '✔';
}
ul.list-checked li.off {
    text-decoration: line-through;
    color: #dfdfdf;
}
/***/
.service-card {
  height: 100%;
  transition: transform 0.3s;
  border-radius: 8px;
  border: none;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}
.service-card:hover {
  transform: translateY(-5px);
}
.service-card .image-wrapper {
  width: 80px;
  height: 80px;
  overflow: hidden;
  margin-bottom: 20px;
}
.service-card h3 {
font-size: 1.2em;
}
/***/
.service-section {
  padding: 80px 0;
}
.service-section .subtitle, .subtitle {
  font-size: 1.2rem;
  font-style: normal;
  margin-bottom: 3.5rem;
  color: #555;
}
.service-section .step-list {
  counter-reset: step-counter;
  list-style-type: none;
  padding-left: 0;
}
.service-section .step-item {
  position: relative;
  padding-left: 70px;
  margin-bottom: 2.5rem;
  counter-increment: step-counter;
}
.service-section .step-item:before {
  content: counter(step-counter);
  position: absolute;
  left: 0;
  top: 0;
  width: 50px;
  height: 50px;
  background-color: #1A243F;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: bold;
/*  box-shadow: 0 4px 10px rgba(13, 110, 253, 0.3);
  box-shadow: 0 4px 10px rgb(23 81 165 / 30%);
  box-shadow: 0 4px 10px rgba(23, 81, 165, 0.3);*/
  background-color: rgba(26,36,63,0.8);
  box-shadow: 0 4px 10px #bfc1c2;
} 
.service-section .step-item h3 {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}
.service-section .step-item p {
  color: #555;
  line-height: 1.6;
}
.service-section .step-item:after {
  content: '';
  position: absolute;
  left: 25px;
  top: 50px;
  height: calc(100% + 1.5rem);
  width: 1px;
  background-color: #dee2e6;
}
.service-section .step-item:last-child:after {
  display: none;
}
/***/
#why-entire .card, #order { background-color: #1A243F;}

#price .icon-box {
    background-color: #f5ba4b;	
}
#price .card:hover {
      transition: transform 0.3s;
    }	
#price .card:hover {
      transform: translateY(-5px);
    }	
#price h3+p {
	line-height: 1.3;
}
#price .text-old-price {
	font-size: 12pt;
	color: red;
	text-decoration: line-through;
}
#price .text-new-price {
	font-size: 14pt;
	color: #c18a27;
	font-weight: bold;
}
#price ul.list-checked {
	list-style-type: none;
	counter-reset: number;
}
#price ul.list-checked li {
	font-size: 0.9em;
    line-height: 1.3em;
    padding-bottom: 0.5em;
}
#price ul.list-checked > li::before {
	display: inline-block;
	text-align: center;
	width: 22px;
	height: auto;
	content: "✔";
}
#testimonials .card p{
	font-style: italic;
	padding-top: 1em;
}
/* testimonialsCarousel */
.testimonial-section {
    padding: 60px 0;
    background-color: #f8f9fa;
}

.testimonial-card {
    height: 100%;
    padding: 25px;
    margin: 10px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    background-color: #fff;
    transition: transform 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
}

.testimonial-img {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 15px;
    margin-top: -60px;
}

.testimonial-name {
    font-weight: 600;
    margin-bottom: 5px;
}

.testimonial-position {
    color: #6c757d;
    font-size: 14px;
    margin-bottom: 15px;
}

.testimonial-text {
    font-style: italic;
    color: #495057;
}

.testimonial-rating {
    color: #ffc107;
    margin-bottom: 15px;
}

.carousel-control-prev, .carousel-control-next {
    width: 40px;
    height: 40px;
    background-color: #1A243F;
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0.7;
}

.carousel-control-prev {
    left: -20px;
}

.carousel-control-next {
    right: -20px;
}

.carousel-control-prev:hover, .carousel-control-next:hover {
    opacity: 1;
}

#testimonialsCarousel {
    position: relative;
    overflow: hidden;
    padding: 0 10px;
    padding-top: 30px;
    padding-bottom: 20px;
}

.testimonial-item {
    padding: 0 10px;
    box-sizing: border-box;
}

#testimonialsWrapper {
    display: flex;
    transition: transform 0.8s ease;
}

@media (max-width: 991px) {
    .carousel-control-prev {
        left: 10px;
    }
    
    .carousel-control-next {
        right: 10px;
    }
}

/* Индикаторы карусели */
.carousel-indicators {
    position: static;
    margin-top: 20px;
    margin-bottom: 0;
    justify-content: center;
}

.carousel-indicators [data-bs-target] {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: #ccc;
    margin: 0 5px;
    border: none;
}

.carousel-indicators .active {
    background-color: #1A243F;
}
/***/
        #phoneForm .form-control.is-valid {
            border-color: #28a745;
            padding-right: calc(1.5em + 0.75rem);
            background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3e%3cpath fill='%2328a745' d='M2.3 6.73L.6 4.53c-.4-1.04.46-1.4 1.1-.8l1.1 1.4 3.4-3.8c.6-.63 1.6-.27 1.2.7l-4 4.6c-.43.5-.8.4-1.1.1z'/%3e%3c/svg%3e");
            background-repeat: no-repeat;
            background-position: right calc(0.375em + 0.1875rem) center;
            background-size: calc(0.75em + 0.375rem) calc(0.75em + 0.375rem);
        }
        #phoneForm .form-control.is-invalid {
            border-color: #dc3545;
            padding-right: calc(1.5em + 0.75rem);
            background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' width='12' height='12' fill='none' stroke='%23dc3545'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath stroke-linejoin='round' d='M5.8 3.6h.4L6 6.5z'/%3e%3ccircle cx='6' cy='8.2' r='.6' fill='%23dc3545' stroke='none'/%3e%3c/svg%3e");
            background-repeat: no-repeat;
            background-position: right calc(0.375em + 0.1875rem) center;
            background-size: calc(0.75em + 0.375rem) calc(0.75em + 0.375rem);
        }
        .cta-button {
            transition: all 0.3s ease;
        }
        .cta-button:hover:not(:disabled) {
            transform: translateY(-2px);
            box-shadow: 0 4px 8px rgba(13, 110, 253, 0.3);
        }
        #phoneForm .lead {
            font-size: 1.1rem;
        }
        #phoneForm .phone-examples {
            font-size: 0.75rem;
            color: #6c757d;
            margin-top: 0.25rem;
        }
        #phoneForm .phone-input-wrapper {
            position: relative;
            display: flex;
            align-items: center;
        }
        #phoneForm .phone-prefix {
            position: absolute;
            left: 12px;
            color: #495057;
            font-weight: 500;
            pointer-events: none;
            z-index: 1;
        }
        #phoneForm .phone-input-wrapper input {
            padding-left: 85px;
        }

/***/
#contacts a {
	color: inherit;
    text-decoration: none;
}
#contacts a:hover {
    text-decoration: underline;
}
/***/
footer ul.services-list li {
	list-style: none;
    border-bottom: 0.5px solid rgba(255,255,255,.4);
    padding-bottom: 0.5em;
	}