:root {
  /* Пастельная цветовая палитра */
  --primary-color: #B6E2D3;
  --primary-dark: #8ECAB0;
  --secondary-color: #FAD2E1;
  --secondary-dark: #F7A9C3;
  --accent-color: #D5A6BD;
  --accent-dark: #BF8DA6;
  --neutral-light: #F9F7F7;
  --neutral-medium: #E8E8E8;
  --neutral-dark: #666666;
  --text-color: #333333;
  --text-light: #FFFFFF;
  --text-muted: #888888;
  --gradient-bg: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  --success-color: #A8D5BA;
  --error-color: #F8AFA6;
  --warning-color: #F9DCA4;
  --info-color: #A4C8E1;
  
  /* Типографика */
  --heading-font: 'Archivo Black', sans-serif;
  --body-font: 'Roboto', sans-serif;
  
  /* Размеры и пространство */
  --container-width: 1200px;
  --gutter: 2rem;
  --border-radius: 8px;
  --card-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  --transition-speed: 0.3s;
  --navbar-height: 80px;
}

/* Базовые сбросы и стили */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 62.5%;
  scroll-behavior: smooth;
}

body {
  font-family: var(--body-font);
  font-size: 1.6rem;
  line-height: 1.6;
  color: var(--text-color);
  background-color: var(--neutral-light);
  overflow-x: hidden;
}

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

a {
  text-decoration: none;
  color: var(--accent-color);
  transition: color var(--transition-speed) ease;
}

a:hover {
  color: var(--accent-dark);
}

/* Типографика */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--heading-font);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1.5rem;
  color: var(--text-color);
}

h1 {
  font-size: 4.8rem;
  margin-bottom: 2rem;
}

h2 {
  font-size: 3.6rem;
  position: relative;
  display: inline-block;
  margin-bottom: 3rem;
}

h3 {
  font-size: 2.4rem;
  margin-bottom: 1.5rem;
}

h4 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

p {
  margin-bottom: 2rem;
}

ul, ol {
  padding-left: 2rem;
  margin-bottom: 2rem;
}

/* Контейнер */
.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* Секции */
section {
  padding: 8rem 0;
  position: relative;
  overflow: hidden;
}

.section-header {
  text-align: center;
  margin-bottom: 5rem;
  position: relative;
  z-index: 1;
}

.section-header h2 {
  display: inline-block;
  position: relative;
}

.section-header h2::after {
  content: '';
  position: absolute;
  left: 25%;
  right: 25%;
  bottom: -1rem;
  height: 3px;
  background: var(--accent-color);
  transform: scaleX(0.7) translateX(10px);
  transition: transform var(--transition-speed) ease;
}

.section-header:hover h2::after {
  transform: scaleX(1) translateX(0);
}

.section-header p {
  max-width: 600px;
  margin: 0 auto;
  color: var(--text-muted);
  font-size: 1.8rem;
}

/* Кнопки */
.btn,
button,
input[type='submit'] {
  display: inline-block;
  font-family: var(--body-font);
  font-weight: 500;
  font-size: 1.6rem;
  padding: 1.2rem 2.4rem;
  border-radius: var(--border-radius);
  border: none;
  cursor: pointer;
  transition: all var(--transition-speed) ease;
  text-align: center;
  text-decoration: none;
}

.primary-btn {
  background-color: var(--primary-color);
  color: var(--text-color);
}

.primary-btn:hover {
  background-color: var(--primary-dark);
  transform: translateY(-3px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
}

.secondary-btn {
  background-color: var(--secondary-color);
  color: var(--text-color);
}

.secondary-btn:hover {
  background-color: var(--secondary-dark);
  transform: translateY(-3px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
}

.outline-btn {
  background-color: transparent;
  border: 2px solid var(--primary-color);
  color: var(--text-color);
}

.outline-btn:hover {
  background-color: var(--primary-color);
  color: var(--text-color);
  transform: translateY(-3px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
}

.text-btn {
  background: none;
  color: var(--accent-color);
  padding: 0.6rem 0;
  position: relative;
  overflow: hidden;
}

.text-btn::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--accent-color);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform var(--transition-speed) ease;
}

.text-btn:hover {
  color: var(--accent-dark);
}

.text-btn:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

/* Навигация */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: var(--neutral-light);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  height: var(--navbar-height);
  transition: all var(--transition-speed) ease;
}

.site-header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 100%;
}

.logo {
  font-size: 2.4rem;
  font-weight: 700;
}

.logo a {
  color: var(--text-color);
  display: flex;
  align-items: center;
}

.logo h1 {
  font-size: 2.4rem;
  margin: 0;
}

.main-nav ul {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
}

.main-nav a {
  padding: 1rem 1.5rem;
  color: var(--text-color);
  font-weight: 500;
  position: relative;
}

.main-nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background-color: var(--primary-color);
  transition: all var(--transition-speed) ease;
  transform: translateX(-50%);
}

.main-nav a:hover {
  color: var(--primary-dark);
}

.main-nav a:hover::after {
  width: 80%;
}

.burger-menu {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 20px;
  cursor: pointer;
}

.burger-menu span {
  display: block;
  height: 3px;
  width: 100%;
  background-color: var(--text-color);
  border-radius: 3px;
  transition: all var(--transition-speed) ease;
}

/* Hero секция */
.hero-section,
.page-hero {
  padding-top: calc(var(--navbar-height) + 5rem);
  padding-bottom: 8rem;
  position: relative;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  color: var(--text-light);
}

.hero-content,
.page-hero-content {
  max-width: 700px;
  text-align: left;
}

.hero-content h1,
.page-hero-content h1 {
  color: var(--text-light);
  margin-bottom: 2rem;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-content p,
.page-hero-content p {
  font-size: 2rem;
  margin-bottom: 3rem;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

/* Сервисы */
.services-section {
  background-color: var(--neutral-light);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 3rem;
}

.card {
  background-color: #fff;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--card-shadow);
  transition: transform var(--transition-speed) ease, box-shadow var(--transition-speed) ease;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.card-image {
  width: 100%;
  height: 250px;
  overflow: hidden;
}

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-speed) ease;
}

.card:hover .card-image img {
  transform: scale(1.05);
}

.card-content {
  padding: 2rem;
  flex-grow: 1;
  text-align: center;
}

.card-content h3 {
  color: var(--text-color);
  margin-bottom: 1rem;
}

/* Миссия */
.mission-section {
  color: var(--text-light);
  position: relative;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

.mission-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.mission-text p {
  font-size: 1.8rem;
  margin-bottom: 2rem;
}

/* Устойчивое развитие */
.sustainability-section {
  background-color: var(--neutral-light);
}

.sustainability-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.sustainability-image {
  position: relative;
}

.image-container {
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--card-shadow);
  position: relative;
}

.image-container::before {
  content: '';
  position: absolute;
  top: -20px;
  left: -20px;
  width: 60px;
  height: 60px;
  border-top: 4px solid var(--primary-color);
  border-left: 4px solid var(--primary-color);
  z-index: -1;
}

.image-container::after {
  content: '';
  position: absolute;
  bottom: -20px;
  right: -20px;
  width: 60px;
  height: 60px;
  border-bottom: 4px solid var(--accent-color);
  border-right: 4px solid var(--accent-color);
  z-index: -1;
}

.sustainability-text {
  position: relative;
}

.accordion {
  width: 100%;
}

.accordion-item {
  margin-bottom: 1.5rem;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--card-shadow);
  background-color: #fff;
}

.accordion-header {
  padding: 1.5rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  position: relative;
  font-size: 2rem;
  transition: background-color var(--transition-speed) ease;
}

.accordion-header:hover {
  background-color: var(--neutral-medium);
}

.accordion-header::after {
  content: '+';
  font-size: 2rem;
  position: absolute;
  right: 1.5rem;
  transition: transform var(--transition-speed) ease;
}

.accordion-item.active .accordion-header::after {
  transform: rotate(45deg);
}

.accordion-content {
  padding: 0 1.5rem;
  height: 0;
  overflow: hidden;
  transition: all var(--transition-speed) ease;
}

.accordion-item.active .accordion-content {
  padding: 1.5rem;
  height: auto;
}

/* Исследования */
.research-section {
  color: var(--text-light);
  position: relative;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

.research-timeline {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
}

.research-timeline::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 20px;
  width: 4px;
  background-color: var(--secondary-color);
}

.timeline-item {
  position: relative;
  margin-bottom: 4rem;
  padding-left: 60px;
}

.timeline-marker {
  position: absolute;
  left: 0;
  width: 40px;
  height: 40px;
  background-color: var(--secondary-color);
  border: 4px solid var(--text-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
}

.timeline-content {
  background-color: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border-radius: var(--border-radius);
  padding: 2rem;
  box-shadow: var(--card-shadow);
}

.timeline-content h3 {
  color: var(--text-light);
  margin-bottom: 1rem;
}

/* Успешные проекты */
.success-stories-section {
  background-color: var(--neutral-light);
}

.success-stories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 3rem;
  margin-bottom: 4rem;
}

.view-more-container {
  text-align: center;
  margin-top: 3rem;
}

/* Контакты */
.contact-section {
  background-color: var(--neutral-medium);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
}

.contact-form-container,
.contact-info-container {
  background-color: #fff;
  border-radius: var(--border-radius);
  box-shadow: var(--card-shadow);
  padding: 3rem;
}

.contact-form {
  display: grid;
  gap: 2rem;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group label {
  margin-bottom: 0.8rem;
  font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 1.2rem;
  border: 1px solid var(--neutral-medium);
  border-radius: var(--border-radius);
  font-family: var(--body-font);
  font-size: 1.6rem;
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.contact-image {
  border-radius: var(--border-radius);
  overflow: hidden;
  margin-bottom: 2rem;
}

.contact-info {
  margin-top: 2rem;
}

.contact-info h3 {
  margin-bottom: 1.5rem;
}

.contact-info p {
  margin-bottom: 1rem;
}

/* Ресурсы */
.resources-section {
  background-color: var(--neutral-light);
}

.resources-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 3rem;
}

.resource-card {
  background-color: #fff;
  border-radius: var(--border-radius);
  box-shadow: var(--card-shadow);
  padding: 2rem;
  transition: transform var(--transition-speed) ease, box-shadow var(--transition-speed) ease;
}

.resource-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.resource-card h3 {
  margin-bottom: 1.5rem;
  color: var(--text-color);
}

.resource-card ul {
  list-style: none;
  padding: 0;
}

.resource-card li {
  margin-bottom: 1rem;
}

.resource-card a {
  display: inline-block;
  position: relative;
  color: var(--accent-color);
}

.resource-card a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 1px;
  background-color: var(--accent-color);
  transform: scaleX(0);
  transition: transform var(--transition-speed) ease;
  transform-origin: right;
}

.resource-card a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

/* Футер */
.site-footer {
  background-color: var(--neutral-dark);
  color: var(--neutral-light);
  padding: 5rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 3rem;
  margin-bottom: 4rem;
}

.footer-about h3,
.footer-links h3,
.footer-social h3,
.footer-newsletter h3 {
  color: var(--neutral-light);
  font-size: 2rem;
  margin-bottom: 2rem;
  position: relative;
  display: inline-block;
}

.footer-about h3::after,
.footer-links h3::after,
.footer-social h3::after,
.footer-newsletter h3::after {
  content: '';
  position: absolute;
  bottom: -0.8rem;
  left: 0;
  width: 50px;
  height: 3px;
  background-color: var(--primary-color);
}

.footer-links ul,
.footer-social ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li,
.footer-social li {
  margin-bottom: 1rem;
}

.footer-links a,
.footer-social a {
  color: var(--neutral-medium);
  transition: color var(--transition-speed) ease, transform var(--transition-speed) ease;
  display: inline-block;
}

.footer-links a:hover,
.footer-social a:hover {
  color: var(--neutral-light);
  transform: translateX(5px);
}

.newsletter-form {
  display: flex;
  margin-top: 1.5rem;
}

.newsletter-form input {
  flex-grow: 1;
  padding: 1.2rem;
  border: none;
  border-radius: var(--border-radius) 0 0 var(--border-radius);
  font-family: var(--body-font);
  font-size: 1.6rem;
}

.newsletter-form button {
  background-color: var(--primary-color);
  color: var(--text-color);
  border: none;
  border-radius: 0 var(--border-radius) var(--border-radius) 0;
  padding: 0 1.5rem;
  cursor: pointer;
  transition: background-color var(--transition-speed) ease;
}

.newsletter-form button:hover {
  background-color: var(--primary-dark);
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 1.4rem;
}

/* О нас */
.story-section {
  background-color: var(--neutral-light);
}

.story-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.story-image {
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--card-shadow);
  position: relative;
}

.team-section {
  background-color: #fff;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 3rem;
}

.team-grid .card {
  text-align: center;
}

.team-grid .card-image {
  height: 300px;
}

.position {
  color: var(--text-muted);
  font-style: italic;
  margin-bottom: 1.5rem;
}

.philosophy-section {
  color: var(--text-light);
  position: relative;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

.philosophy-content {
  max-width: 800px;
  margin: 0 auto;
}

.philosophy-item {
  margin-bottom: 4rem;
}

.philosophy-item h3 {
  color: var(--text-light);
  margin-bottom: 1.5rem;
}

/* Награды */
.awards-section {
  background-color: var(--neutral-light);
}

.awards-timeline {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
}

.awards-timeline::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 20px;
  width: 4px;
  background-color: var(--primary-color);
}

/* Отзывы */
.testimonials-section {
  color: var(--text-light);
  position: relative;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

.testimonials-slider {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
}

.testimonial {
  background-color: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border-radius: var(--border-radius);
  padding: 3rem;
  box-shadow: var(--card-shadow);
  text-align: center;
  margin-bottom: 3rem;
}

.testimonial-content p {
  font-size: 1.8rem;
  font-style: italic;
  margin-bottom: 2rem;
}

.testimonial-author {
  text-align: right;
}

.testimonial-controls {
  display: flex;
  justify-content: center;
  gap: 2rem;
}

.testimonial-controls button {
  background-color: transparent;
  border: 2px solid var(--neutral-light);
  color: var(--neutral-light);
  padding: 0.8rem 1.5rem;
  border-radius: var(--border-radius);
  cursor: pointer;
  transition: all var(--transition-speed) ease;
}

.testimonial-controls button:hover {
  background-color: var(--neutral-light);
  color: var(--text-color);
}

/* Контакты */
.contact-details-section {
  background-color: #fff;
}

.contact-details-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
}

.contact-info-card {
  background-color: var(--neutral-light);
  border-radius: var(--border-radius);
  padding: 3rem;
  text-align: center;
  box-shadow: var(--card-shadow);
  transition: transform var(--transition-speed) ease;
}

.contact-info-card:hover {
  transform: translateY(-10px);
}

.icon {
  margin-bottom: 2rem;
  text-align: center;
}

.icon img {
  width: 60px;
  height: 60px;
  margin: 0 auto;
}

.contact-form-section {
  background-color: var(--neutral-medium);
}

.contact-image-text {
  margin-top: 2rem;
}

.map-section {
  background-color: #fff;
}

.map-container {
  position: relative;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--card-shadow);
}

.map-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: rgba(255, 255, 255, 0.9);
  padding: 2rem;
}

.faq-section {
  background-color: var(--neutral-light);
}

/* Политика конфиденциальности и Условия использования */
.privacy-content,
.terms-content {
  padding-top: 100px;
  background-color: #fff;
}

.legal-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 3rem;
  background-color: #fff;
  border-radius: var(--border-radius);
  box-shadow: var(--card-shadow);
}

.legal-content h2 {
  color: var(--text-color);
  margin-top: 4rem;
  margin-bottom: 2rem;
  font-size: 2.4rem;
}

.legal-content ul {
  padding-left: 2rem;
}

.last-updated {
  margin-top: 4rem;
  font-style: italic;
  color: var(--text-muted);
}

/* Страница успешной отправки */
.success-section {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  color: var(--text-light);
}

.success-message {
  background-color: rgba(255, 255, 255, 0.9);
  border-radius: var(--border-radius);
  padding: 4rem;
  text-align: center;
  box-shadow: var(--card-shadow);
  max-width: 600px;
  color: var(--text-color);
}

.success-icon {
  margin-bottom: 2rem;
}

.success-icon img {
  width: 100px;
  height: 100px;
  margin: 0 auto;
}

.success-message h1 {
  color: var(--text-color);
  margin-bottom: 2rem;
}

.success-actions {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 3rem;
}

.whats-next-section {
  background-color: var(--neutral-light);
}

.process-timeline {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
}

.process-timeline::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 20px;
  width: 4px;
  background-color: var(--primary-color);
}

.process-timeline .timeline-marker {
  background-color: var(--primary-color);
  color: var(--text-light);
  font-weight: 700;
}

.recommended-projects {
  background-color: #fff;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 3rem;
}

.success-resources-section {
  color: var(--text-light);
  position: relative;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

.resources-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 3rem;
}

.resource-card {
  background-color: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border-radius: var(--border-radius);
  padding: 3rem;
  text-align: center;
  transition: transform var(--transition-speed) ease, box-shadow var(--transition-speed) ease;
}

.resource-card h3 {
  color: var(--text-light);
}

.resource-card p {
  color: var(--text-light);
  margin-bottom: 2rem;
}

/* Анимации частиц */
@keyframes float {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-20px);
  }
}

.section-header::before {
  content: '';
  position: absolute;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background-color: var(--primary-color);
  opacity: 0.3;
  top: -15px;
  left: 20%;
  filter: blur(5px);
  animation: float 7s ease-in-out infinite;
}

.section-header::after {
  content: '';
  position: absolute;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background-color: var(--secondary-color);
  opacity: 0.3;
  bottom: -10px;
  right: 30%;
  filter: blur(5px);
  animation: float 5s ease-in-out infinite;
  animation-delay: 1s;
}

/* Медиа-запросы */
@media (max-width: 1200px) {
  html {
    font-size: 58%;
  }

  .container {
    padding: 0 3rem;
  }
}

@media (max-width: 992px) {
  .sustainability-content,
  .story-content,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 4rem;
  }

  .contact-grid {
    max-width: 600px;
    margin: 0 auto;
  }

  .contact-details-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }
}

@media (max-width: 768px) {
  html {
    font-size: 55%;
  }

  h1 {
    font-size: 3.6rem;
  }

  h2 {
    font-size: 2.8rem;
  }

  .main-nav {
    position: fixed;
    top: var(--navbar-height);
    left: -100%;
    width: 100%;
    height: calc(100vh - var(--navbar-height));
    background-color: var(--neutral-light);
    transition: left var(--transition-speed) ease;
    z-index: 999;
  }

  .main-nav.active {
    left: 0;
  }

  .main-nav ul {
    flex-direction: column;
    padding: 2rem;
  }

  .main-nav a {
    padding: 1.5rem;
    display: block;
  }

  .burger-menu {
    display: flex;
  }

  .services-grid,
  .success-stories-grid,
  .team-grid,
  .projects-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
  }
}

@media (max-width: 576px) {
  html {
    font-size: 50%;
  }

  .container {
    padding: 0 2rem;
  }

  .success-actions,
  .newsletter-form {
    flex-direction: column;
    gap: 1.5rem;
  }

  .newsletter-form input,
  .newsletter-form button {
    border-radius: var(--border-radius);
  }
}