:root {
  --primary-color: #4B1455;
  --secondary-color: #FFB30F;
  --tertiary-color: #A4E5E0;
  --background-color: #F9F9F9;
  --dark-color: #1F1F1F;
  --font-primary: 'Roboto', sans-serif;
  --font-heading: 'Montserrat', sans-serif;
  --shadow-light: 0 2px 10px rgba(0, 0, 0, 0.1);
  --shadow-medium: 0 4px 20px rgba(0, 0, 0, 0.15);
  --transition: all 0.3s ease;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-primary);
  font-size: 16px;
  line-height: 1.6;
  color: var(--dark-color);
  background-color: var(--background-color);
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
}

h1 {
  font-size: 3em;
}

h2 {
  font-size: 2.5em;
  position: relative;
  margin-bottom: 40px;
  text-align: center;
}

h2::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(to right, var(--secondary-color), var(--tertiary-color));
}

p {
  margin-bottom: 1em;
}

a {
  color: var(--primary-color);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--secondary-color);
}

section {
  padding: 80px 0;
}

/* Логотип */
.logo, .logo-small {
  font-weight: 800;
  background: linear-gradient(to right, var(--secondary-color), var(--tertiary-color));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-align: center;
  margin-bottom: 30px;
}

.logo {
  font-size: 3.5em;
}

.logo-small {
  font-size: 2em;
  margin-bottom: 0;
}

/* Шапка */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 15px 0;
  background-color: rgba(255, 255, 255, 0.95);
  box-shadow: var(--shadow-light);
}

/* Навигация */
.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-list {
  display: flex;
  list-style: none;
}

.nav-item {
  margin-left: 30px;
}

.nav-link {
  font-weight: 500;
  padding: 5px 0;
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(to right, var(--secondary-color), var(--tertiary-color));
  transition: var(--transition);
}

.nav-link:hover::after {
  width: 100%;
}

.mobile-menu-toggle {
  display: none;
  font-size: 24px;
  color: var(--primary-color);
  cursor: pointer;
}

/* Hero секция */
.hero-section {
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: 80px;
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--primary-color), var(--tertiary-color));
  opacity: 0.15;
  z-index: -1;
}

.hero-section .container {
  z-index: 1;
  text-align: center;
}

.headline {
  font-size: 3.5em;
  margin-bottom: 20px;
  color: var(--primary-color);
}

.intro {
  font-size: 1.2em;
  max-width: 600px;
  margin: 0 auto 40px;
}

.cta-button {
  display: inline-block;
  padding: 15px 30px;
  background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
  color: white;
  font-weight: 600;
  border-radius: 50px;
  box-shadow: var(--shadow-medium);
  transition: var(--transition);
}

.cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 25px rgba(0, 0, 0, 0.2);
  color: white;
}

/* About секция */
.about-section {
  background-color: white;
}

.about-content {
  display: flex;
  align-items: center;
  gap: 40px;
}

.about-text {
  flex: 1;
}

.about-image {
  flex: 1;
}

.about-image img {
  width: 100%;
  border-radius: 10px;
  box-shadow: var(--shadow-medium);
}

/* Services секция */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.service-card {
  background-color: white;
  border-radius: 10px;
  padding: 30px;
  box-shadow: var(--shadow-light);
  transition: var(--transition);
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-medium);
}

.service-icon {
  width: 60px;
  height: 60px;
  margin-bottom: 20px;
  background-position: center;
  background-size: cover;
}

.icon-bookkeeping {
  background-color: var(--primary-color);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M21 5c0-1.1-.9-2-2-2H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5zm-2 14H5V5h14v14zm-2-7H7v-2h10v2zm0-4H7V6h10v2zm-3 8H7v-2h7v2z'/%3E%3C/svg%3E") center/contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M21 5c0-1.1-.9-2-2-2H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5zm-2 14H5V5h14v14zm-2-7H7v-2h10v2zm0-4H7V6h10v2zm-3 8H7v-2h7v2z'/%3E%3C/svg%3E") center/contain no-repeat;
}

.icon-taxes {
  background-color: var(--primary-color);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M20 3H4c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm0 16H4V5h16v14zM18 9h-3v3h-2v3h-3v-3H7V9h3V6h2v3h3z'/%3E%3C/svg%3E") center/contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M20 3H4c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm0 16H4V5h16v14zM18 9h-3v3h-2v3h-3v-3H7V9h3V6h2v3h3z'/%3E%3C/svg%3E") center/contain no-repeat;
}

.icon-consulting {
  background-color: var(--primary-color);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8zm1-11h-2v5h2v-5zm0 6h-2v2h2v-2z'/%3E%3C/svg%3E") center/contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8zm1-11h-2v5h2v-5zm0 6h-2v2h2v-2z'/%3E%3C/svg%3E") center/contain no-repeat;
}

.service-link {
  display: inline-block;
  margin-top: 15px;
  font-weight: 500;
  position: relative;
}

.service-link::after {
  content: '→';
  margin-left: 5px;
  transition: var(--transition);
}

.service-link:hover::after {
  margin-left: 10px;
}

/* Advantages секция */
.advantages-section {
  background-color: #f5f5f5;
}

.advantages-list {
  list-style: none;
}

.advantage-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 25px;
}

.advantage-icon {
  width: 40px;
  height: 40px;
  background-color: var(--primary-color);
  border-radius: 50%;
  margin-right: 20px;
  flex-shrink: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23ffffff' viewBox='0 0 24 24'%3E%3Cpath d='M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41L9 16.17z'/%3E%3C/svg%3E");
  background-position: center;
  background-repeat: no-repeat;
  background-size: 24px;
}

.advantage-content h3 {
  margin-bottom: 10px;
}

/* Case Studies секция */
.case-studies-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.case-study-card {
  background-color: white;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: var(--shadow-light);
  transition: var(--transition);
}

.case-study-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-medium);
}

.case-study-image {
  height: 200px;
  overflow: hidden;
}

.case-study-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.case-study-card:hover .case-study-image img {
  transform: scale(1.05);
}

.case-study-content {
  padding: 20px;
}

/* Testimonials секция */
.testimonials-section {
  background-color: var(--primary-color);
  color: white;
}

.testimonials-section h2 {
  color: white;
}

.testimonials-section h2::after {
  background: linear-gradient(to right, var(--secondary-color), white);
}

.testimonials-slider {
  position: relative;
  margin: 40px 0;
  height: 200px;
}

.testimonial-slide {
  position: absolute;
  width: 100%;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.testimonial-slide.active {
  opacity: 1;
}

.testimonial-slide blockquote {
  font-size: 1.2em;
  font-style: italic;
  margin-bottom: 20px;
}

.testimonial-author {
  text-align: right;
}

.author-name {
  font-weight: bold;
}

.author-company {
  opacity: 0.8;
}

.slider-controls {
  display: flex;
  justify-content: center;
  gap: 10px;
}

.slider-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.3);
  cursor: pointer;
  transition: var(--transition);
}

.slider-dot.active {
  background-color: var(--secondary-color);
}

/* Contact секция */
.contact-content {
  display: flex;
  gap: 40px;
}

.contact-info {
  flex: 1;
}

.contact-detail {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
}

.contact-icon {
  width: 40px;
  height: 40px;
  margin-right: 15px;
  background-color: var(--primary-color);
  border-radius: 50%;
  flex-shrink: 0;
  background-position: center;
  background-repeat: no-repeat;
  background-size: 24px;
}

.address-icon {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23ffffff' viewBox='0 0 24 24'%3E%3Cpath d='M12 2C8.13 2 5 5.13 5 9c0 5.25 7 13 7 13s7-7.75 7-13c0-3.87-3.13-7-7-7zm0 9.5c-1.38 0-2.5-1.12-2.5-2.5s1.12-2.5 2.5-2.5 2.5 1.12 2.5 2.5-1.12 2.5-2.5 2.5z'/%3E%3C/svg%3E");
}

.phone-icon {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23ffffff' viewBox='0 0 24 24'%3E%3Cpath d='M20 15.5c-1.25 0-2.45-.2-3.57-.57-.35-.11-.74-.03-1.02.24l-2.2 2.2c-2.83-1.44-5.15-3.75-6.59-6.59l2.2-2.21c.28-.26.36-.65.25-1C8.7 6.45 8.5 5.25 8.5 4c0-.55-.45-1-1-1H4c-.55 0-1 .45-1 1 0 9.39 7.61 17 17 17 .55 0 1-.45 1-1v-3.5c0-.55-.45-1-1-1z'/%3E%3C/svg%3E");
}

.email-icon {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23ffffff' viewBox='0 0 24 24'%3E%3Cpath d='M20 4H4c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm0 4l-8 5-8-5V6l8 5 8-5v2z'/%3E%3C/svg%3E");
}

.contact-map {
  margin-top: 30px;
}

.contact-map img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 10px;
}

.contact-form-container {
  flex: 1;
}

.form-group {
  margin-bottom: 25px;
  position: relative;
}

.floating-label {
  position: relative;
}

.floating-label input,
.floating-label select {
  width: 100%;
  padding: 10px 0;
  font-size: 16px;
  border: none;
  border-bottom: 2px solid #ccc;
  background-color: transparent;
  outline: none;
  transition: var(--transition);
}

.floating-label label {
  position: absolute;
  top: 10px;
  left: 0;
  font-size: 16px;
  color: #999;
  pointer-events: none;
  transition: var(--transition);
}

.floating-label input:focus,
.floating-label input:valid,
.floating-label select:focus,
.floating-label select:valid {
  border-image: linear-gradient(to right, var(--secondary-color), var(--tertiary-color)) 1;
}

.floating-label input:focus + label,
.floating-label input:valid + label,
.floating-label select:focus + label,
.floating-label select:valid + label {
  top: -20px;
  font-size: 14px;
  color: var(--primary-color);
}

.checkbox-group {
  display: flex;
  align-items: flex-start;
}

.checkbox-group input {
  margin-top: 5px;
  margin-right: 10px;
}

.checkbox-group label {
  font-size: 14px;
}

.submit-button {
  display: block;
  width: 100%;
  padding: 15px;
  background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
  color: white;
  font-weight: 600;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: var(--transition);
  font-size: 16px;
}

.submit-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 25px rgba(0, 0, 0, 0.2);
}

/* Footer */
.site-footer {
  background-color: var(--dark-color);
  color: white;
  padding: 50px 0 20px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-bottom: 30px;
}

.footer-logo {
  font-size: 2em;
  background: linear-gradient(to right, var(--secondary-color), var(--tertiary-color));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 15px;
}

.footer-links ul {
  list-style: none;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: #ccc;
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--tertiary-color);
}

.copyright {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 14px;
}

/* Cookie Consent */
.cookie-consent {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: var(--dark-color);
  color: white;
  padding: 15px 0;
  z-index: 1000;
  opacity: 1;
  transition: opacity 0.3s ease;
}

.cookie-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.cookie-content p {
  margin-bottom: 0;
  margin-right: 20px;
}

.cookie-button {
  background-color: var(--secondary-color);
  color: var(--dark-color);
  border: none;
  padding: 8px 20px;
  font-weight: 600;
  cursor: pointer;
  border-radius: 5px;
  transition: var(--transition);
}

.cookie-button:hover {
  background-color: var(--tertiary-color);
}
