/* Contabilidad Viva - Main Stylesheet */
:root {
  --color-primary: #FF6B6B; /* солнечный коралловый */
  --color-secondary: #1DD3B0; /* глубокий бирюзовый */
  --color-bg: #FFF8F0; /* теплый светло-бежевый */
  --color-heading: #2E2E2E; /* графитовый */
  --color-text: #5F5F5F; /* серо-коричневый */
  --color-button: #FFD93D; /* контрастный лимонно-желтый */
  --shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  --transition: all 0.3s ease;
  --max-width: 1200px;
  --header-height: 4rem;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Poppins', 'Segoe UI', 'Arial', sans-serif;
  background-color: var(--color-bg);
  color: var(--color-text);
  line-height: 1.6;
  padding-top: var(--header-height);
}

h1, h2, h3, h4, h5, h6 {
  color: var(--color-heading);
  margin-bottom: 1.5rem;
  font-weight: 700;
}

h1 {
  font-size: 2.5rem;
}

h2 {
  font-size: 2rem;
  position: relative;
  padding-bottom: 1rem;
}


h3 {
  font-size: 1.5rem;
}

p {
  margin-bottom: 1.5rem;
}

a {
  color: var(--color-primary);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--color-secondary);
}

section {
  padding: 5rem 1.5rem;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1rem;
}

/* Header */
header {
  background-color: #fff;
  box-shadow: var(--shadow);
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 0.5rem;
  height: var(--header-height);
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: var(--max-width);
  margin: 0 auto;
}

.logo {
  display: flex;
  align-items: center;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-heading);
}

.logo svg {
  height: 32px;
  margin-right: 10px;
}

/* Navigation */
.nav-menu {
  display: flex;
  list-style: none;
}

.nav-menu li {
  margin-left: 1.5rem;
}

.nav-menu a {
  color: var(--color-heading);
  font-weight: 500;
  font-size: 0.9rem;
  position: relative;
}

.nav-menu a:hover {
  color: var(--color-primary);
}

.nav-menu a:after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--color-primary);
  transition: var(--transition);
}

.nav-menu a:hover:after {
  width: 100%;
}

/* Burger Menu */
.hamburger {
  display: none;
  cursor: pointer;
  background: none;
  border: none;
  width: 28px;
  height: 20px;
  position: relative;
  z-index: 1001;
}

.hamburger span {
  display: block;
  position: absolute;
  height: 3px;
  width: 100%;
  background: var(--color-heading);
  border-radius: 3px;
  opacity: 1;
  left: 0;
  transform: rotate(0deg);
  transition: var(--transition);
}

.hamburger span:nth-child(1) {
  top: 0;
}

.hamburger span:nth-child(2) {
  top: 8px;
}

.hamburger span:nth-child(3) {
  top: 16px;
}

#nav-toggle:checked ~ .hamburger span:nth-child(1) {
  top: 8px;
  transform: rotate(135deg);
}

#nav-toggle:checked ~ .hamburger span:nth-child(2) {
  opacity: 0;
  left: -60px;
}

#nav-toggle:checked ~ .hamburger span:nth-child(3) {
  top: 8px;
  transform: rotate(-135deg);
}

#nav-toggle {
  display: none;
}

/* Buttons */
.btn {
  display: inline-block;
  background-color: var(--color-button);
  color: var(--color-heading);
  padding: 0.8rem 1.8rem;
  border-radius: 50px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  box-shadow: var(--shadow);
  transition: var(--transition);
  cursor: pointer;
  border: none;
}

.btn:hover {
  background-color: var(--color-heading);
  color: var(--color-button);
  transform: translateY(-3px);
}

.btn-primary {
  background-color: var(--color-primary);
  color: white;
}

.btn-primary:hover {
  background-color: var(--color-secondary);
  color: white;
}

/* Hero Section */
.hero {
  background-color: var(--color-bg);
  position: relative;
  overflow: hidden;
  padding: 7rem 1.5rem 5rem;
}

.hero::before {
  content: '';
  position: absolute;
  top: -10%;
  right: -10%;
  background-color: var(--color-secondary);
  width: 300px;
  height: 300px;
  border-radius: 50%;
  opacity: 0.1;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -15%;
  left: -5%;
  background-color: var(--color-primary);
  width: 200px;
  height: 200px;
  border-radius: 50%;
  opacity: 0.1;
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-text h1 {
  margin-bottom: 1rem;
  font-size: 3rem;
}

.hero-text p {
  font-size: 1.1rem;
  margin-bottom: 2rem;
}

.hero-image img {
  width: 100%;
  border-radius: 10px;
  box-shadow: var(--shadow);
}

/* About Section */
.about {
  background-color: white;
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.about-image img {
  width: 100%;
  border-radius: 10px;
  box-shadow: var(--shadow);
}

/* Services Section */
.services {
  background-color: var(--color-bg);
}

.services-intro {
  text-align: center;
  margin-bottom: 3rem;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.service-card {
  background-color: white;
  border-radius: 10px;
  padding: 2rem;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.service-icon {
  width: 60px;
  height: 60px;
  background-color: var(--color-secondary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.service-icon i {
  font-size: 24px;
  color: white;
}

/* Why Choose Us Section */
.why-us {
  background-color: white;
}

.why-us-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.why-us-points {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.why-us-point {
  display: flex;
  gap: 1rem;
}

.why-us-icon {
  min-width: 40px;
  height: 40px;
  background-color: var(--color-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: bold;
}

/* Benefits Section */
.benefits {
  background-color: var(--color-bg);
}

.benefits-intro {
  text-align: center;
  margin-bottom: 3rem;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.benefit-card {
  text-align: center;
  padding: 2rem;
  background-color: white;
  border-radius: 10px;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.benefit-card:hover {
  transform: translateY(-5px);
}

.benefit-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 1.5rem;
}

/* Testimonials Section */
.testimonials {
  background-color: white;
}

.testimonials-intro {
  text-align: center;
  margin-bottom: 3rem;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.testimonial-card {
  background-color: var(--color-bg);
  border-radius: 10px;
  padding: 2rem;
  box-shadow: var(--shadow);
  position: relative;
}

.testimonial-card::before {
  content: '"';
  position: absolute;
  top: 10px;
  left: 15px;
  font-size: 4rem;
  color: var(--color-primary);
  opacity: 0.2;
  font-family: serif;
}

.testimonial-text {
  margin-bottom: 1rem;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.testimonial-author-image {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  overflow: hidden;
}

.testimonial-author-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Form Section */
.order-form {
  background-color: var(--color-heading);
  color: white;
}

.form-container {
  max-width: 600px;
  margin: 0 auto;
}

.form-intro {
  text-align: center;
  margin-bottom: 3rem;
}

.form-intro h2 {
  color: white;
}

.form-intro h2:after {
  background-color: white;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.form-control {
  width: 100%;
  padding: 1rem;
  border-radius: 5px;
  border: none;
  background-color: rgba(255, 255, 255, 0.9);
}

.form-control::placeholder {
  color: var(--color-text);
  opacity: 0.7;
}

.checkbox-group {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.checkbox-group input {
  margin-top: 5px;
}

/* Contact Section */
.contact {
  background-color: var(--color-bg);
}

.contact-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

.contact-info {
  display: grid;
  gap: 1.5rem;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.contact-icon {
  min-width: 40px;
  height: 40px;
  background-color: var(--color-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
}

.map-container {
  height: 300px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

/* Footer */
footer {
  background-color: var(--color-heading);
  color: white;
  padding: 3rem 1.5rem;
}

.footer-content {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 2rem;
}

.footer-info p {
  margin-bottom: 1rem;
}

.footer-links h3,
.footer-social h3 {
  color: white;
  font-size: 1.2rem;
  margin-bottom: 1rem;
}

.footer-links h3:after,
.footer-social h3:after {
  display: none;
}

.footer-links ul,
.footer-social ul {
  list-style: none;
}

.footer-links li,
.footer-social li {
  margin-bottom: 0.5rem;
}

.footer-links a,
.footer-social a {
  color: rgba(255, 255, 255, 0.8);
  transition: var(--transition);
}

.footer-links a:hover,
.footer-social a:hover {
  color: white;
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  margin-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Cookie Popup */
.cookie-popup {
  position: fixed;
  bottom: -100%;
  left: 0;
  width: 100%;
  background-color: white;
  box-shadow: 0 -5px 15px rgba(0, 0, 0, 0.1);
  padding: 1.5rem;
  z-index: 9999;
  transition: bottom 0.5s ease;
}

.cookie-popup.show {
  bottom: 0;
}

.cookie-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  max-width: var(--max-width);
  margin: 0 auto;
}

/* Responsive Styles */
@media (max-width: 992px) {
  .services-grid,
  .benefits-grid,
  .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-content {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  :root {
    --header-height: 3.5rem;
  }

  body {
    padding-top: var(--header-height);
  }

  h1 {
    font-size: 1.8rem !important;
  }

  h2 {
    font-size: 1.75rem;
  }

  section {
    padding: 4rem 1rem;
  }

  .hero {
    padding: 4rem 1rem 3rem;
  }

  .hero-content,
  .about-content,
  .why-us-content,
  .contact-content {
    grid-template-columns: 1fr;
  }

  .hamburger {
    display: block;
  }

  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 70%;
    height: 100vh;
    background-color: white;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    transition: all 0.5s ease;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    padding: 2rem;
  }

  .nav-menu li {
    margin-left: 0;
  }

  .nav-menu a {
    font-size: 1.2rem;
  }

  #nav-toggle:checked ~ .nav-menu {
    right: 0;
  }

  .logo {
    font-size: 1rem;
  }

  .logo svg {
    height: 24px;
  }

  .cookie-content {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 576px) {
  :root {
    --header-height: 3rem;
  }

  h1 {
    font-size: 1.75rem;
  }

  h2 {
    font-size: 1.5rem;
  }

  .services-grid,
  .benefits-grid,
  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  .footer-content {
    grid-template-columns: 1fr;
  }

  .hero {
    padding: 3.5rem 1rem 2.5rem;
  }

  section {
    padding: 3rem 1rem;
  }
} 