:root {
  --primary-dark: #0A1F3F;
  --accent-gold: #C9A24B;
  --text-dark: #1a1a1a;
  --text-light: #ffffff;
  --bg-light: #F4F9FC;
  --bg-white: #ffffff;
  --footer-bg: #0A1F3F;
  --header-bg: rgba(10, 31, 63, 0.95);
  --gradient-hero: linear-gradient(135deg, #0A1F3F 0%, #1A3A5C 100%);
  --font-heading: 'Playfair Display', serif;
  --font-body: 'Montserrat', sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  width: 100%;
  overflow-x: hidden;
}

body {
  font-family: var(--font-body);
  color: var(--text-dark);
  background: var(--bg-white);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.site {
  flex: 1 0 auto;
  display: flex;
  flex-direction: column;
}

main {
  flex: 1 0 auto;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.container.custom_container {
  max-width: 1200px;
  padding: 0 20px;
  margin: 0 auto;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

.theme_btn, .theme_btn_two {
  display: inline-block;
  padding: 14px 36px;
  border-radius: 30px;
  font-weight: 600;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.theme_btn {
  background: var(--accent-gold);
  color: var(--primary-dark);
}

.theme_btn_two {
  background: var(--primary-dark);
  color: var(--text-light);
}

.theme_btn:hover, .theme_btn_two:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

.hover_effect {
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1.2);
}

.header_absolute {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 999;
  background: transparent;
}

.middle-header.py-2 {
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
}

.header.sticky {
  position: fixed;
  background: var(--header-bg);
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.logo .img-logo a {
  display: inline-block;
}

.logo img {
  height: auto;
}

.agency_banner_area {
  background: var(--gradient-hero);
  padding: 160px 0 100px;
  color: var(--text-light);
}

.agency_banner_content h2 {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 5vw, 3rem);
  margin-bottom: 24px;
  line-height: 1.2;
}

.agency_banner_content p {
  font-size: 1.1rem;
  margin-bottom: 30px;
  opacity: 0.9;
}

.agency_banner_img {
  height: 100%;
  display: flex;
  align-items: center;
}

.hero-main-img {
  max-height: 100%;
  width: 100%;
  object-fit: cover;
  border-radius: 20px;
  box-shadow: 0 15px 35px rgba(0,0,0,0.3);
}

.support_info {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 30px;
}

.support_item {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 16px;
  padding: 20px 18px;
  flex: 1 1 0;
  transition: all 0.25s;
}

.support_item:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(201, 162, 75, 0.5);
}

.support-emoji {
  font-size: 2rem;
  display: block;
  margin-bottom: 10px;
}

.support_item h4 {
  font-size: 1.1rem;
  margin-bottom: 6px;
}

.support_item p {
  font-size: 0.9rem;
  opacity: 0.85;
  margin-bottom: 0;
}

.agency_features_area {
  padding: 80px 0;
}

.agency_features_img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 20px;
  box-shadow: 0 15px 35px rgba(0,0,0,0.08);
  max-height: 500px; 
}

.agency_features_content {
  padding-left: 0;
}

.agency_title {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  margin-bottom: 20px;
  color: var(--primary-dark);
}

.w_color {
  color: var(--text-light) !important;
}

.agency_features_content p {
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 24px;
  color: #555;
}

.agency_features_content ul li {
  margin-bottom: 12px;
  font-weight: 500;
  display: flex;
  align-items: center;
}

.check-icon {
  display: inline-block;
  width: 20px;
  height: 20px;
  background: var(--accent-gold);
  border-radius: 50%;
  margin-right: 12px;
  position: relative;
}

.check-icon::after {
  content: '\f00c';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  font-size: 12px;
  color: white;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.x-icon {
  display: inline-block;
  width: 20px;
  height: 20px;
  background: #ccc;
  border-radius: 50%;
  margin-right: 12px;
  position: relative;
}

.x-icon::after {
  content: '\f00d';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  font-size: 12px;
  color: white;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.disabled {
  color: #aaa;
}

.features_list .f_list_item {
  margin-bottom: 24px;
}

.features_list .f_list_item h4 {
  font-size: 1.2rem;
  color: var(--primary-dark);
  margin-bottom: 6px;
}

.case_studies_area {
  background: var(--primary-dark);
  padding: 80px 0;
}

.case_study_item {
  background: white;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 15px 30px rgba(0,0,0,0.1);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.case_img img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  transition: transform 0.3s;
}

.case_study_item:hover .case_img img {
  transform: scale(1.03);
}

.case_study_item .content {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.case_study_item h3 {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  margin-bottom: 12px;
}

.case_study_item .category {
  color: #666;
  line-height: 1.7;
  flex: 1;
}

.agency_pricing_area {
  padding: 80px 0;
  background: white;
}

.pricing_item {
  background: var(--bg-light);
  padding: 40px 30px;
  border-radius: 20px;
  text-align: center;
  transition: transform 0.3s, box-shadow 0.3s;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.pricing_item:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.pricing-body {
  flex: 1 0 auto;
}

.pricing_item h3 {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  margin-bottom: 20px;
}

.price {
  font-size: 3rem;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 15px;
}

.price sub {
  font-size: 1rem;
  font-weight: 400;
  color: #888;
}

.pricing_item p {
  color: #555;
  margin-bottom: 24px;
}

.pricing_item .theme_btn_two {
  margin-top: 20px;
  align-self: center;
}

.pricing_item ul {
  text-align: left;
  margin-bottom: 0;
}

.pricing_item ul li {
  margin-bottom: 14px;
  display: flex;
  align-items: center;
}

.agency-faq-area {
  padding: 80px 0;
  background: var(--bg-light);
}

.accordion-faq .single-faq {
  background: white;
  margin-bottom: 16px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.faq-heading h4 {
  margin: 0;
}

.accordion-button {
  background: white;
  border: none;
  width: 100%;
  text-align: left;
  padding: 20px;
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--primary-dark);
  border-radius: 12px;
  cursor: pointer;
}

.accordion-button:not(.collapsed) {
  background: var(--primary-dark);
  color: white;
  box-shadow: none;
}

.accordion-button::after {
  background-size: 1.2rem;
  transition: transform 0.2s ease-in-out;
}

.faq-body {
  padding: 20px;
  border-top: 1px solid #eee;
  line-height: 1.7;
}

.agency-contact-area {
  padding: 80px 0;
  background: var(--gradient-hero);
  color: white;
}

.agency-contact-info p {
  opacity: 0.9;
  line-height: 1.8;
}

.agency-contact-form {
  background: white;
  padding: 40px;
  border-radius: 20px;
  color: var(--text-dark);
}

.agency-contact-form .agency_title {
  margin-bottom: 30px;
}

.form-control {
  width: 100%;
  padding: 14px 18px;
  border: 1px solid #ddd;
  border-radius: 30px;
  margin-bottom: 18px;
  font-family: var(--font-body);
  transition: 0.3s;
}

.form-control:focus {
  outline: none;
  border-color: var(--accent-gold);
}

.footer-area {
  background: var(--footer-bg);
  color: var(--text-light);
  margin-top: auto;
}

.footer-top {
  padding-top: 2rem;
  padding-bottom: 1.5rem;
}

.footer-top p {
  opacity: 0.85;
  line-height: 1.5;
}

.footer-top .logo img {
  max-width: 180px;
}

@media (max-width: 768px) {
  .agency_banner_area {
    padding: 140px 0 60px;
  }
  .agency_banner_img {
    margin-top: 30px;
    height: auto;
  }
  .hero-main-img {
    max-height: 350px;
  }
  .testimonial-grid {
    grid-template-columns: 1fr;
  }
  .agency_features_img img {
    max-height: 350px;
  }
  .pricing_item, .case_study_item {
    height: auto;
  }
}
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.testimonial-card {
  background: white;
  padding: 35px 30px;
  border-radius: 20px;
  box-shadow: 0 12px 30px rgba(0,0,0,0.06);
  transition: transform 0.3s, box-shadow 0.3s;
}

.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.1);
}

.stars {
  color: var(--accent-gold);
  font-size: 1.2rem;
  letter-spacing: 2px;
  margin-bottom: 16px;
}

.testimonial-card p {
  font-style: italic;
  margin-bottom: 20px;
  line-height: 1.7;
  color: #444;
}

.testimonial-card h4 {
  font-weight: 600;
  color: var(--primary-dark);
  font-size: 1.1rem;
}

.logo a {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.logo-text {
  font-family: var(--font-heading);
  color: #C9A24B;
  font-weight: 700;
  font-size: 1.6rem;
  letter-spacing: 0.5px;
  transition: color 0.3s;
}

.logo a:hover .logo-text {
  color: #ffffff; 
}

.header_absolute .logo-text {
  color: #C9A24B;
}

.header.sticky .logo-text {
  color: #C9A24B;
}

.legal-page {
  min-height: 80vh;
  padding: 40px 20px;
  background: var(--bg-light);
}

.legal-container {
  max-width: 800px;
  margin: 0 auto;
  background: white;
  padding: 40px;
  border-radius: 20px;
  box-shadow: 0 8px 25px rgba(0,0,0,0.06);
}

.legal-container h1 {
  font-family: var(--font-heading);
  color: var(--primary-dark);
  margin-bottom: 24px;
}

.legal-container h2 {
  font-size: 1.5rem;
  margin-top: 30px;
  margin-bottom: 15px;
  color: var(--primary-dark);
}

.legal-container h3 {
  font-size: 1.2rem;
  margin-top: 20px;
  margin-bottom: 10px;
}

.legal-container p,
.legal-container li {
  line-height: 1.7;
  color: #444;
}

.legal-container ul {
  padding-left: 20px;
  margin-bottom: 1rem;
}

.legal-container a {
  color: var(--primary-dark);
  text-decoration: underline;
}

.legal-container a:hover {
  color: var(--accent-gold);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem 1.5rem;
  margin-bottom: 0;
  padding: 0;
}

.footer-links a {
  color: rgba(255,255,255,0.85);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.3s;
}

.footer-links a:hover {
  color: #C9A24B;
}
/* ----- Общий футер (без Bootstrap) ----- */
.footer-area {
  background: var(--footer-bg);
  color: var(--text-light);
  margin-top: auto;
}

.footer-top {
  padding: 2.5rem 0 1.5rem;
}

.footer-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
}

.footer-col {
  flex: 1 1 280px;
  min-width: 240px;
}

.footer-col-left {
  text-align: left;
}

.footer-col-center {
  text-align: center;
}

.footer-col-right {
  text-align: right;
}

.footer-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  margin-bottom: 1rem;
}

.footer-logo .logo-text {
  color: #C9A24B;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.5rem;
}

.footer-logo:hover .logo-text {
  color: #fff;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem 1.5rem;
  margin-top: 0.5rem;
}

.footer-links a {
  color: rgba(255,255,255,0.85);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.3s;
}

.footer-links a:hover {
  color: #C9A24B;
}

.disclaimer {
  font-size: 0.85rem;
  line-height: 1.6;
  opacity: 0.8;
  max-width: 350px;
  margin-left: auto; 
}

@media (max-width: 768px) {
  .footer-col {
    text-align: center !important;
    flex: 1 1 100%;
  }
  .footer-col-right {
    text-align: center !important;
  }
  .disclaimer {
    margin: 0 auto;
  }
  .footer-logo {
    justify-content: center;
  }
}