/* ===========================
   DOMAIN FINANCIAL AUDIT SITE
   Unique Color Palette & Modern Design
   =========================== */

:root {
  /* Уникальная цветовая палитра */
  --primary: #3A3FE4;        /* насыщенный ультрамарин */
  --accent: #FF5E57;         /* неоновый коралл */
  --background: #F8F4EC;     /* светлый песочный */
  --text: #1C1C1C;          /* угольный */
  --mint: #C3F1D6;          /* пастельный мятный */
  --white: #FFFFFF;
  --light-gray: #F5F5F5;
  --border: #E0E0E0;
  --shadow: rgba(58, 63, 228, 0.1);
  --accent-shadow: rgba(255, 94, 87, 0.2);
}

/* Сброс стилей */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  line-height: 1.6;
  color: var(--text);
  background-color: var(--background);
  overflow-x: hidden;
}

/* ===========================
   ТИПОГРАФИЯ
   =========================== */

h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1.5rem;
}

h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 1.25rem;
}

h3 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 600;
  line-height: 1.4;
  margin-bottom: 1rem;
}

p {
  font-size: clamp(1rem, 2vw, 1.125rem);
  margin-bottom: 1rem;
  color: var(--text);
}

/* ===========================
   LAYOUT & GRID
   =========================== */

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: 4rem 0;
  position: relative;
}

.section:nth-child(even) {
  background-color: var(--white);
}

.grid {
  display: grid;
  gap: 2rem;
}

.grid-2 {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.grid-3 {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.flex {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.flex-col {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.text-center {
  text-align: center;
}

/* ===========================
   HEADER
   =========================== */

.header {
  background: linear-gradient(135deg, var(--primary), #5B5FE8);
  color: var(--white);
  padding: 1rem 0;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1.5rem;
  font-weight: 700;
  text-decoration: none;
  color: var(--white);
}

.logo svg {
  width: 40px;
  height: 40px;
}

.nav {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.nav a {
  color: var(--white);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.nav a:hover {
  color: var(--mint);
}

/* ===========================
   HERO SECTION
   =========================== */

.hero {
  background: linear-gradient(135deg, var(--primary), #5B5FE8);
  color: var(--white);
  padding: 8rem 0 6rem;
  margin-top: 70px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('./img/B3Av1E.jpg') center/cover no-repeat;
  opacity: 0.1;
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.hero h1 {
  background: linear-gradient(45deg, var(--white), var(--mint));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 1.5rem;
}

.hero p {
  font-size: clamp(1.125rem, 2.5vw, 1.5rem);
  margin-bottom: 2.5rem;
  opacity: 0.9;
}

/* ===========================
   BUTTONS
   =========================== */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  border: none;
  border-radius: 2rem;
  font-size: 1.125rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: center;
}

.btn-primary {
  background: linear-gradient(45deg, var(--accent), #FF7A73);
  color: var(--white);
  box-shadow: 0 4px 20px var(--accent-shadow);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px var(--accent-shadow);
}

.btn-secondary {
  background: var(--white);
  color: var(--primary);
  border: 2px solid var(--primary);
}

.btn-secondary:hover {
  background: var(--primary);
  color: var(--white);
  transform: translateY(-3px);
}

/* ===========================
   CARDS
   =========================== */

.card {
  background: var(--white);
  border-radius: 1.5rem;
  padding: 2rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  border: 1px solid var(--border);
}

.card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

.card-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(45deg, var(--primary), var(--accent));
  border-radius: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  color: var(--white);
  font-size: 1.5rem;
}

.card h3 {
  color: var(--primary);
  margin-bottom: 1rem;
}

/* ===========================
   FORM STYLES
   =========================== */

.form {
  background: var(--white);
  border-radius: 2rem;
  padding: 2.5rem;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
  max-width: 600px;
  margin: 0 auto;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: var(--text);
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 1rem 1.5rem;
  border: 2px solid var(--border);
  border-radius: 1rem;
  font-size: 1rem;
  transition: all 0.3s ease;
  background: var(--light-gray);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--primary);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(58, 63, 228, 0.1);
}

.checkbox-group {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.checkbox-group input[type="checkbox"] {
  width: 20px;
  height: 20px;
  accent-color: var(--primary);
}

.checkbox-group label {
  font-size: 0.9rem;
  line-height: 1.4;
  color: var(--text);
}

.checkbox-group a {
  color: var(--primary);
  text-decoration: none;
}

.checkbox-group a:hover {
  text-decoration: underline;
}

/* ===========================
   FAQ ACCORDION (Pure CSS)
   =========================== */

.faq-item {
  background: var(--white);
  border-radius: 1rem;
  margin-bottom: 1rem;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.faq-toggle {
  display: none;
}

.faq-question {
  display: block;
  width: 100%;
  padding: 1.5rem 2rem;
  text-align: left;
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--text);
  cursor: pointer;
  transition: all 0.3s ease;
  background: none;
  border: none;
  position: relative;
}

.faq-question:hover {
  background: var(--light-gray);
}

.faq-question::after {
  content: '+';
  font-size: 1.5rem;
  color: var(--primary);
  position: absolute;
  right: 2rem;
  top: 50%;
  transform: translateY(-50%);
  transition: transform 0.3s ease;
}

.faq-toggle:checked + .faq-question::after {
  transform: translateY(-50%) rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: var(--text);
  line-height: 1.6;
  padding: 0 2rem;
}

.faq-toggle:checked + .faq-question + .faq-answer {
  max-height: 200px;
  padding: 0 2rem 1.5rem;
}

/* ===========================
   TESTIMONIALS
   =========================== */

.testimonial {
  background: linear-gradient(135deg, var(--mint), #E8F8F0);
  border-radius: 1.5rem;
  padding: 2rem;
  text-align: center;
  position: relative;
}

.testimonial::before {
  content: '"';
  font-size: 4rem;
  color: var(--primary);
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  line-height: 1;
}

.testimonial-text {
  font-style: italic;
  margin-bottom: 1.5rem;
  padding-top: 1rem;
}

.testimonial-author {
  font-weight: 600;
  color: var(--primary);
}

/* ===========================
   CONTACT SECTION
   =========================== */

.contact-info {
  background: linear-gradient(135deg, var(--primary), #5B5FE8);
  color: var(--white);
  border-radius: 2rem;
  padding: 2.5rem;
  margin-bottom: 2rem;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.contact-icon {
  width: 50px;
  height: 50px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
}

/* ===========================
   FOOTER
   =========================== */

.footer {
  background: var(--text);
  color: var(--white);
  padding: 3rem 0 1rem;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-section h3 {
  color: var(--mint);
  margin-bottom: 1rem;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.5rem;
}

.footer-links a {
  color: var(--white);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: var(--mint);
}

.footer-bottom {
  border-top: 1px solid #333;
  padding-top: 1rem;
  text-align: center;
  font-size: 0.875rem;
  opacity: 0.8;
}

/* ===========================
   COOKIE BANNER
   =========================== */

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(135deg, var(--text), #2A2A2A);
  color: var(--white);
  padding: 1.5rem;
  z-index: 10000;
  transform: translateY(100%);
  transition: transform 0.3s ease, opacity 0.3s ease;
  opacity: 0;
}

.cookie-banner.show {
  transform: translateY(0);
  opacity: 1;
}

.cookie-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  max-width: 1200px;
  margin: 0 auto;
}

.cookie-text {
  flex: 1;
  font-size: 0.875rem;
}

.cookie-actions {
  display: flex;
  gap: 1rem;
}

.cookie-btn {
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: 0.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.cookie-accept {
  background: var(--primary);
  color: var(--white);
}

.cookie-accept:hover {
  background: #2E33C4;
}

.cookie-decline {
  background: transparent;
  color: var(--white);
  border: 1px solid var(--white);
}

.cookie-decline:hover {
  background: var(--white);
  color: var(--text);
}

/* ===========================
   ANIMATIONS
   =========================== */

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-fade-in {
  animation: fadeInUp 0.6s ease-out;
}

.animate-delay-1 {
  animation-delay: 0.1s;
}

.animate-delay-2 {
  animation-delay: 0.2s;
}

.animate-delay-3 {
  animation-delay: 0.3s;
}

/* ===========================
   POLICY PAGES STYLES
   =========================== */

.policy-hero {
  background: linear-gradient(135deg, var(--primary), #5B5FE8);
  color: var(--white);
  padding: 6rem 0 4rem;
  margin-top: 70px;
  text-align: center;
}

.policy-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 3rem 0;
}

.policy-section {
  margin-bottom: 3rem;
  padding: 2rem;
  background: var(--white);
  border-radius: 1rem;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.policy-section h2 {
  color: var(--primary);
  border-bottom: 2px solid var(--accent);
  padding-bottom: 0.5rem;
  margin-bottom: 1.5rem;
}

.policy-section h3 {
  color: var(--text);
  margin-top: 2rem;
  margin-bottom: 1rem;
}

.policy-list {
  margin: 1rem 0;
  padding-left: 1.5rem;
}

.policy-list li {
  margin-bottom: 0.5rem;
  line-height: 1.6;
}

.contact-box {
  background: linear-gradient(135deg, var(--mint), #E8F8F0);
  border-radius: 1rem;
  padding: 2rem;
  margin: 2rem 0;
  border-left: 4px solid var(--primary);
}

.last-updated {
  background: var(--light-gray);
  padding: 1rem;
  border-radius: 0.5rem;
  font-size: 0.9rem;
  text-align: center;
  margin-bottom: 2rem;
}

/* ===========================
   RESPONSIVE DESIGN
   =========================== */

@media (max-width: 768px) {
  .header-content {
    flex-direction: row;
    justify-content: center;
  }
  
  .nav {
    display: none;
  }
  
  .hero {
    padding: 6rem 0 4rem;
  }
  
  .section {
    padding: 2.5rem 0;
  }
  
  .container {
    padding: 0 1rem;
  }
  
  .grid-2,
  .grid-3 {
    grid-template-columns: 1fr;
  }
  
  .cookie-content {
    flex-direction: column;
    text-align: center;
  }
  
  .cookie-actions {
    width: 100%;
    justify-content: center;
  }
  
  .form {
    padding: 1.5rem;
  }
  
  .card {
    padding: 1.5rem;
  }
}

@media (max-width: 480px) {
  .btn {
    padding: 0.875rem 1.5rem;
    font-size: 1rem;
  }
  
  .hero {
    padding: 5rem 0 3rem;
  }
  
  .card-icon {
    width: 50px;
    height: 50px;
    font-size: 1.25rem;
  }
} 