/* Адаптивный CSS для сайта Domain - бухгалтерская компания */
:root {
  --primary-color: #D91D8E;
  --accent-color: #1BC5BD;
  --background-color: #FFF8F2;
  --text-color: #1A1A1A;
  --highlight-color: #F2E100;
  --white: #FFFFFF;
  --light-gray: #F8F8F8;
  --border-color: #E5E5E5;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Arial', sans-serif;
  background-color: var(--background-color);
  color: var(--text-color);
  line-height: 1.6;
  overflow-x: hidden;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header */
header {
  background: var(--white);
  box-shadow: 0 2px 15px rgba(217, 29, 142, 0.1);
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  transition: all 0.3s ease;
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 0;
}

.logo-section {
  display: flex;
  align-items: center;
  gap: 15px;
}

.logo {
  height: 45px;
  transition: transform 0.3s ease;
}

.logo:hover {
  transform: scale(1.05);
}

.company-name {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--primary-color);
  margin: 0;
  letter-spacing: -0.5px;
}

.main-navigation {
  display: flex;
  align-items: center;
  gap: 30px;
}

.nav-link {
  color: var(--text-color);
  text-decoration: none;
  font-weight: 500;
  font-size: 1rem;
  transition: color 0.3s ease;
  position: relative;
}

.nav-link:hover {
  color: var(--primary-color);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary-color);
  transition: width 0.3s ease;
}

.nav-link:hover::after {
  width: 100%;
}

.contact-info {
  display: flex;
  align-items: center;
  gap: 25px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-color);
  text-decoration: none;
  transition: color 0.3s ease;
}

.contact-item:hover {
  color: var(--primary-color);
}

.contact-icon {
  width: 16px;
  height: 16px;
  fill: var(--accent-color);
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
  color: var(--white);
  text-align: center;
  padding: 120px 0 80px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="20" cy="20" r="2" fill="rgba(255,255,255,0.1)"/><circle cx="80" cy="80" r="3" fill="rgba(255,255,255,0.05)"/><circle cx="40" cy="60" r="1" fill="rgba(255,255,255,0.1)"/></svg>');
  animation: float 20s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-20px) rotate(180deg); }
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700;
  margin-bottom: 20px;
  opacity: 0;
  animation: slideUp 1s ease forwards 0.3s;
}

.hero p {
  font-size: clamp(1.1rem, 2vw, 1.3rem);
  margin-bottom: 30px;
  opacity: 0;
  animation: slideUp 1s ease forwards 0.6s;
}

.cta-button {
  display: inline-block;
  background: var(--highlight-color);
  color: var(--text-color);
  padding: 15px 40px;
  text-decoration: none;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  border: 3px solid var(--highlight-color);
  opacity: 0;
  animation: slideUp 1s ease forwards 0.9s;
}

.cta-button:hover {
  background: transparent;
  color: var(--highlight-color);
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(242, 225, 0, 0.3);
}

@keyframes slideUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Sections */
.section {
  padding: 80px 0;
}

.section:nth-child(even) {
  background: var(--white);
}

/* About Section */
.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
  max-width: 1000px;
  margin: 0 auto;
}

.about-text {
  text-align: left;
}

.about-image {
  text-align: center;
}

.section-title {
  text-align: center;
  font-size: clamp(2rem, 4vw, 2.8rem);
  color: var(--primary-color);
  margin-bottom: 50px;
  position: relative;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, var(--accent-color), var(--primary-color));
  border-radius: 2px;
}

/* Services Grid */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.service-card {
  background: var(--white);
  border-radius: 20px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  border: 2px solid transparent;
  overflow: hidden;
}

.service-card:hover {
  transform: translateY(-10px);
  border-color: var(--accent-color);
  box-shadow: 0 20px 40px rgba(27, 197, 189, 0.2);
}

.service-image {
  position: relative;
  overflow: hidden;
}

.service-content {
  padding: 30px;
  position: relative;
}

.service-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 20px;
  background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  top: -30px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.service-card h3 {
  color: var(--primary-color);
  margin-bottom: 15px;
  font-size: 1.4rem;
  margin-top: -10px;
}

/* Benefits Grid */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
  margin-top: 50px;
}

.benefit-item {
  background: var(--white);
  padding: 30px;
  border-radius: 15px;
  border-left: 5px solid var(--accent-color);
  transition: all 0.3s ease;
}

.benefit-item:hover {
  transform: translateX(10px);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.benefit-item h4 {
  color: var(--primary-color);
  margin-bottom: 10px;
  font-size: 1.2rem;
}

/* Process Steps */
.process-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.process-step {
  text-align: center;
  position: relative;
}

.step-number {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0 auto 20px;
}

.process-step h4 {
  color: var(--primary-color);
  margin-bottom: 10px;
}

/* Testimonials */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.testimonial {
  background: var(--white);
  padding: 30px;
  border-radius: 15px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  position: relative;
}

.testimonial::before {
  content: '"';
  position: absolute;
  top: -10px;
  left: 20px;
  font-size: 4rem;
  color: var(--accent-color);
  line-height: 1;
}

.testimonial-text {
  font-style: italic;
  margin-bottom: 20px;
  padding-top: 20px;
}

.testimonial-author {
  color: var(--primary-color);
  font-weight: 600;
}

/* Form Section */
.form-section {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
  color: var(--white);
}

.form-container {
  max-width: 600px;
  margin: 0 auto;
  background: var(--white);
  padding: 40px;
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
}

.order-form {
  display: grid;
  gap: 20px;
}

.form-group {
  position: relative;
}

.form-input, .form-select {
  width: 100%;
  padding: 15px 20px;
  border: 2px solid var(--border-color);
  border-radius: 10px;
  font-size: 1rem;
  transition: all 0.3s ease;
  background: var(--white);
  color: var(--text-color);
}

.form-input:focus, .form-select:focus {
  outline: none;
  border-color: var(--accent-color);
  box-shadow: 0 0 0 3px rgba(27, 197, 189, 0.2);
}

.form-label {
  position: absolute;
  top: 15px;
  left: 20px;
  color: #999;
  transition: all 0.3s ease;
  pointer-events: none;
}

.form-input:focus + .form-label,
.form-input:not(:placeholder-shown) + .form-label {
  top: -10px;
  left: 15px;
  font-size: 0.8rem;
  color: var(--accent-color);
  background: var(--white);
  padding: 0 5px;
}

.checkbox-group {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 10px;
}

.checkbox-group input[type="checkbox"] {
  margin-top: 5px;
}

.checkbox-group label {
  color: var(--text-color);
  font-size: 0.9rem;
  line-height: 1.4;
}

.checkbox-group a {
  color: var(--primary-color);
  text-decoration: none;
}

.checkbox-group a:hover {
  text-decoration: underline;
}

.submit-button {
  background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
  color: var(--white);
  padding: 15px 30px;
  border: none;
  border-radius: 10px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-top: 20px;
}

.submit-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(217, 29, 142, 0.3);
}

/* Footer */
footer {
  background: var(--text-color);
  color: var(--white);
  padding: 60px 0 30px;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.footer-section h3 {
  color: var(--accent-color);
  margin-bottom: 20px;
  font-size: 1.3rem;
}

.footer-section p, .footer-section a {
  color: #ccc;
  text-decoration: none;
  transition: color 0.3s ease;
  line-height: 1.6;
}

.footer-section a:hover {
  color: var(--accent-color);
}

.footer-bottom {
  border-top: 1px solid #333;
  padding-top: 30px;
  text-align: center;
  color: #999;
}

/* Cookie Banner */
.cookie-banner {
  position: fixed;
  bottom: -100px;
  left: 0;
  right: 0;
  background: var(--white);
  padding: 20px;
  box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.1);
  z-index: 1001;
  transition: all 0.3s ease;
  border-top: 3px solid var(--accent-color);
}

.cookie-banner.show {
  bottom: 0;
}

.cookie-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  gap: 20px;
}

.cookie-text {
  flex: 1;
  color: var(--text-color);
}

.cookie-text a {
  color: var(--primary-color);
  text-decoration: none;
}

.cookie-text a:hover {
  text-decoration: underline;
}

.cookie-button {
  background: var(--accent-color);
  color: var(--white);
  padding: 10px 25px;
  border: none;
  border-radius: 25px;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.3s ease;
}

.cookie-button:hover {
  background: var(--primary-color);
  transform: translateY(-2px);
}

/* Responsive Design */
@media (max-width: 768px) {
  .header-content {
    flex-direction: column;
    gap: 15px;
  }
  
  .main-navigation {
    display: none;
  }
  
  .contact-info {
    flex-direction: column;
    gap: 10px;
  }
  
  .hero {
    padding: 100px 0 60px;
  }
  
  .section {
    padding: 60px 0;
  }
  
  .services-grid {
    grid-template-columns: 1fr;
  }
  
  .form-container {
    margin: 0 20px;
    padding: 30px 20px;
  }
  
  .cookie-content {
    flex-direction: column;
    text-align: center;
  }
  
  .container {
    padding: 0 15px;
  }
}

@media (max-width: 768px) {
  .about-content {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .about-text {
    text-align: center;
  }
}

@media (max-width: 480px) {
  .benefits-grid {
    grid-template-columns: 1fr;
  }
  
  .process-steps {
    grid-template-columns: 1fr;
  }
  
  .testimonials-grid {
    grid-template-columns: 1fr;
  }
}

/* Utility Classes */
.text-center {
  text-align: center;
}

.mb-20 {
  margin-bottom: 20px;
}

.mb-30 {
  margin-bottom: 30px;
}

.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
} 