/* ========== ОСНОВНЫЕ СТИЛИ ========== */
:root {
  --primary-color: #0056b3;
  --primary-dark: #004494;
  --primary-light: #e6f0fa;
  --secondary-color: #28a745;
  --secondary-dark: #218838;
  --accent-color: #fd7e14;
  --text-color: #333333;
  --light-gray: #f8f9fa;
  --medium-gray: #e9ecef;
  --dark-gray: #6c757d;
  --border-color: #dee2e6;
  --white: #ffffff;
  --black: #000000;
  --success: #28a745;
  --error: #dc3545;
  --warning: #ffc107;
  --info: #17a2b8;
  --box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  --transition: all 0.3s ease;
  --border-radius: 4px;
  --border-radius-lg: 8px;
  --font-primary: 'Open Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Helvetica Neue', sans-serif;
  --font-secondary: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Helvetica Neue', sans-serif;
  --max-width: 1200px;
  --header-height: 80px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-primary);
  color: var(--text-color);
  line-height: 1.6;
  font-size: 16px;
  background-color: var(--white);
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-secondary);
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 1rem;
  color: var(--text-color);
}

h1 {
  font-size: 2.5rem;
}

h2 {
  font-size: 2rem;
}

h3 {
  font-size: 1.5rem;
}

p {
  margin-bottom: 1rem;
}

a {
  color: var(--primary-color);
  text-decoration: none;
  transition: var(--transition);
}

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

ul, ol {
  list-style-position: inside;
  margin-bottom: 1rem;
}

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

button, .btn {
  display: inline-block;
  font-weight: 600;
  text-align: center;
  white-space: nowrap;
  vertical-align: middle;
  cursor: pointer;
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
  line-height: 1.5;
  border-radius: var(--border-radius);
  transition: var(--transition);
  border: none;
}

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

.primary-btn:hover {
  background-color: var(--primary-dark);
  color: var(--white);
}

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

.secondary-btn:hover {
  background-color: var(--secondary-dark);
  color: var(--white);
}

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

section {
  padding: 5rem 0;
}

/* ========== ХЕДЕР ========== */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: var(--white);
  box-shadow: var(--box-shadow);
  z-index: 1000;
  height: var(--header-height);
}

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

.logo {
  display: flex;
  align-items: center;
}

.logo a {
  display: flex;
  align-items: center;
  color: var(--text-color);
  font-weight: 700;
  font-size: 1.5rem;
}

.logo img {
  width: 40px;
  height: 40px;
  margin-right: 10px;
  border-radius: 50%;
}

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

nav ul li {
  margin-left: 1.5rem;
}

nav ul li a {
  display: block;
  color: var(--text-color);
  font-weight: 600;
  padding: 0.5rem;
  position: relative;
}

nav ul li a:hover, nav ul li a.active {
  color: var(--primary-color);
}

nav ul li a.active::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background-color: var(--primary-color);
}

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

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

/* ========== ГЛАВНАЯ СЕКЦИЯ ========== */
.hero {
  height: 600px;
  background-image: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('images/hero.jpg');
  background-size: cover;
  background-position: center;
  color: var(--white);
  display: flex;
  align-items: center;
  text-align: center;
  margin-top: var(--header-height);
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: 1.5rem;
  color: var(--white);
}

.hero p {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

/* ========== СЛУЧАЙНЫЙ ФАКТ ========== */
.random-fact {
  background-color: var(--primary-light);
  padding: 2rem 0;
  text-align: center;
}

.random-fact h2 {
  color: var(--primary-color);
  margin-bottom: 0.5rem;
}

.random-fact p {
  font-style: italic;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 0;
}

/* ========== ПОСТЫ ========== */
.posts {
  background-color: var(--light-gray);
}

.posts h2 {
  text-align: center;
  margin-bottom: 3rem;
}

.posts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 2rem;
}

.post-card {
  background-color: var(--white);
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--box-shadow);
  transition: var(--transition);
}

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

.post-img {
  height: 220px;
  overflow: hidden;
}

.post-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

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

.post-content {
  padding: 1.5rem;
}

.post-content h3 {
  margin-bottom: 1rem;
  font-size: 1.25rem;
}

.post-content p {
  margin-bottom: 1.5rem;
  color: var(--dark-gray);
}

.read-more {
  font-weight: 600;
  color: var(--primary-color);
  display: inline-block;
  position: relative;
}

.read-more::after {
  content: "→";
  margin-left: 5px;
  transition: var(--transition);
}

.read-more:hover::after {
  margin-left: 10px;
}

/* ========== CTA СЕКЦИЯ ========== */
.cta {
  background-color: var(--primary-color);
  color: var(--white);
}

.cta .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.cta-content {
  flex: 1;
}

.cta-content h2 {
  color: var(--white);
  margin-bottom: 1rem;
}

.cta-content p {
  margin-bottom: 2rem;
  max-width: 600px;
}

.cta-image {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* ========== 3D КНОПКА ========== */
.model-3d {
  perspective: 1000px;
  width: 200px;
  height: 200px;
  margin: 0 auto;
}

.cube {
  width: 100%;
  height: 100%;
  position: relative;
  transform-style: preserve-3d;
  animation: rotate 15s infinite linear;
}

@keyframes rotate {
  from { transform: rotateY(0) rotateX(0); }
  to { transform: rotateY(360deg) rotateX(360deg); }
}

.face {
  position: absolute;
  width: 200px;
  height: 200px;
  background: rgba(255, 255, 255, 0.9);
  border: 2px solid var(--primary-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
  font-weight: bold;
  color: var(--primary-color);
}

.front { transform: translateZ(100px); }
.back { transform: rotateY(180deg) translateZ(100px); }
.right { transform: rotateY(90deg) translateZ(100px); }
.left { transform: rotateY(-90deg) translateZ(100px); }
.top { transform: rotateX(90deg) translateZ(100px); }
.bottom { transform: rotateX(-90deg) translateZ(100px); }

/* ========== О НАС ========== */
.page-banner {
  height: 300px;
  background-image: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('images/banner.jpg');
  background-size: cover;
  background-position: center;
  color: var(--white);
  display: flex;
  align-items: center;
  text-align: center;
  margin-top: var(--header-height);
}

.page-banner h1 {
  color: var(--white);
  margin-bottom: 1rem;
}

.about-intro .container {
  display: flex;
  align-items: center;
  gap: 4rem;
}

.about-content {
  flex: 1;
}

.about-image {
  flex: 1;
}

.about-image img {
  border-radius: var(--border-radius-lg);
  box-shadow: var(--box-shadow);
}

.about-features {
  list-style: none;
  margin-top: 2rem;
}

.about-features li {
  display: flex;
  align-items: flex-start;
  margin-bottom: 1.5rem;
}

.about-features i {
  font-size: 1.5rem;
  color: var(--primary-color);
  margin-right: 1rem;
}

.about-features h3 {
  margin-bottom: 0.5rem;
}

/* ========== КОМАНДА ========== */
.team {
  background-color: var(--light-gray);
  text-align: center;
}

.team h2 {
  margin-bottom: 3rem;
}

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

.team-member {
  background-color: var(--white);
  padding: 1.5rem;
  border-radius: var(--border-radius-lg);
  box-shadow: var(--box-shadow);
  transition: var(--transition);
}

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

.team-member img {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  margin: 0 auto 1.5rem;
  object-fit: cover;
}

.team-member h3 {
  margin-bottom: 0.5rem;
}

.team-member p {
  color: var(--dark-gray);
}

.team-member .social-links {
  margin-top: 1.5rem;
  display: flex;
  justify-content: center;
  gap: 0.5rem;
}

.team-member .social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: var(--primary-light);
  color: var(--primary-color);
  transition: var(--transition);
}

.team-member .social-links a:hover {
  background-color: var(--primary-color);
  color: var(--white);
}

/* ========== ОТЗЫВЫ ========== */
.testimonials {
  text-align: center;
}

.testimonials h2 {
  margin-bottom: 3rem;
}

.testimonial-slider {
  max-width: 800px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.testimonial {
  background-color: var(--light-gray);
  padding: 2rem;
  border-radius: var(--border-radius-lg);
  position: relative;
}

.testimonial .quote {
  font-style: italic;
  margin-bottom: 2rem;
}

.testimonial .author {
  display: flex;
  align-items: center;
  justify-content: center;
}

.testimonial .author img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  margin-right: 1rem;
}

.testimonial .author h4 {
  margin-bottom: 0.25rem;
}

.testimonial .author p {
  color: var(--dark-gray);
  margin-bottom: 0;
}

/* ========== КОНТАКТЫ ========== */
.contact .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
}

.contact h2 {
  margin-bottom: 2rem;
}

.contact-info ul {
  list-style: none;
  margin-bottom: 2rem;
}

.contact-info li {
  display: flex;
  margin-bottom: 1.5rem;
}

.contact-info li i {
  font-size: 1.5rem;
  color: var(--primary-color);
  margin-right: 1rem;
}

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

.contact-map {
  width: 100%;
  height: 300px;
  margin-bottom: 2rem;
  border-radius: var(--border-radius);
  overflow: hidden;
}

.contact-map iframe {
  width: 100%;
  height: 100%;
  border: none;
}

.social-links h3 {
  margin-bottom: 1rem;
}

.social-icons {
  display: flex;
  gap: 1rem;
}

.social-icons a {
  display: flex;
  align-items: center;
  padding: 0.5rem 1rem;
  border-radius: var(--border-radius);
  background-color: var(--light-gray);
  transition: var(--transition);
}

.social-icons a:hover {
  background-color: var(--primary-color);
  color: var(--white);
}

.social-icons svg {
  margin-right: 0.5rem;
}

/* ========== ФОРМА КОНТАКТОВ ========== */
.form-group {
  margin-bottom: 1.5rem;
}

label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
}

input, textarea, select {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  font-family: inherit;
  font-size: inherit;
  transition: var(--transition);
}

input:focus, textarea:focus, select:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 2px rgba(0, 86, 179, 0.2);
}

.checkbox {
  display: flex;
  align-items: flex-start;
}

.checkbox input {
  width: auto;
  margin-right: 10px;
  margin-top: 5px;
}

.checkbox label {
  margin-bottom: 0;
  font-weight: 400;
}

/* ========== МОДАЛЬНОЕ ОКНО ========== */
.modal {
  display: none;
  position: fixed;
  z-index: 1050;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.5);
}

.modal-content {
  background-color: var(--white);
  margin: 15% auto;
  padding: 2rem;
  border-radius: var(--border-radius-lg);
  max-width: 500px;
  position: relative;
  text-align: center;
}

.close {
  position: absolute;
  top: 10px;
  right: 20px;
  font-size: 28px;
  font-weight: bold;
  color: var(--dark-gray);
  cursor: pointer;
}

.thank-you-message {
  padding: 2rem 1rem;
}

.checkmark {
  width: 80px;
  height: 80px;
  margin: 0 auto 2rem;
}

.checkmark__circle {
  stroke-dasharray: 166;
  stroke-dashoffset: 166;
  stroke-width: 2;
  stroke-miterlimit: 10;
  stroke: var(--success);
  fill: none;
  animation: stroke 0.6s cubic-bezier(0.65, 0, 0.45, 1) forwards;
}

.checkmark__check {
  transform-origin: 50% 50%;
  stroke-dasharray: 48;
  stroke-dashoffset: 48;
  stroke-width: 3;
  stroke: var(--success);
  animation: stroke 0.3s cubic-bezier(0.65, 0, 0.45, 1) 0.8s forwards;
}

@keyframes stroke {
  100% {
    stroke-dashoffset: 0;
  }
}

/* ========== ФУТЕР ========== */
footer {
  background-color: #2c3e50;
  color: var(--white);
  padding: 4rem 0 2rem;
}

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

.footer-col h3 {
  color: var(--white);
  margin-bottom: 1.5rem;
  position: relative;
}

.footer-col h3::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -10px;
  width: 50px;
  height: 2px;
  background-color: var(--accent-color);
}

.footer-col p {
  color: rgba(255, 255, 255, 0.7);
}

.contact-info {
  list-style: none;
  margin: 0;
}

.contact-info li {
  display: flex;
  align-items: flex-start;
  margin-bottom: 1rem;
  color: rgba(255, 255, 255, 0.7);
}

.contact-info li i {
  margin-right: 10px;
  color: var(--accent-color);
}

.subscribe-form {
  display: flex;
}

.subscribe-form input {
  flex: 1;
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
}

.subscribe-form button {
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.copyright {
  margin-bottom: 1rem;
}

.copyright p {
  color: rgba(255, 255, 255, 0.5);
  margin: 0;
}

.social-links {
  display: flex;
  gap: 1rem;
}

.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.1);
  color: var(--white);
  transition: var(--transition);
}

.social-links a:hover {
  background-color: var(--accent-color);
}

.footer-links {
  width: 100%;
  margin-top: 1rem;
  text-align: center;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  margin: 0 10px;
}

.footer-links a:hover {
  color: var(--white);
}

/* ========== COOKIE BANNER ========== */
.cookie-banner {
  display: block;
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: var(--white);
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
  z-index: 999;
  padding: 1rem;
}

.cookie-content {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
}

.cookie-content p {
  flex: 1;
  margin: 0 1rem 1rem 0;
}

.cookie-buttons {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.cookie-buttons button {
  padding: 0.5rem 1rem;
  border-radius: var(--border-radius);
  cursor: pointer;
  font-weight: 600;
}

.cookie-accept {
  background-color: var(--success);
  color: var(--white);
}

.cookie-customize {
  background-color: var(--light-gray);
  color: var(--text-color);
}

.cookie-decline {
  background-color: var(--medium-gray);
  color: var(--text-color);
}

.cookie-content a {
  font-size: 0.9rem;
}

/* ========== ИКОНКИ ========== */
.icon-location, .icon-phone, .icon-email, .icon-clock, .icon-experience, .icon-expertise, .icon-approach, .icon-tools {
  display: inline-block;
  width: 24px;
  height: 24px;
  background-position: center;
  background-repeat: no-repeat;
}

.icon-location {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='%230056b3'%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");
}

.icon-phone {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='%230056b3'%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.58l2.2-2.21c.28-.27.36-.66.25-1.01C8.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-1zM12 3v10l3-3h6V3h-9z'/%3E%3C/svg%3E");
}

.icon-email {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='%230056b3'%3E%3Cpath d='M20 4H4c-1.1 0-1.99.9-1.99 2L2 18c0 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");
}

.icon-clock {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='%230056b3'%3E%3Cpath d='M11.99 2C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2zM12 20c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8zm.5-13H11v6l5.25 3.15.75-1.23-4.5-2.67V7z'/%3E%3C/svg%3E");
}

.icon-experience {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='%230056b3'%3E%3Cpath d='M20 3h-4.18C15.4 1.84 14.3 1 13 1c-1.3 0-2.4.84-2.82 2H6c-1.1 0-2 .9-2 2v16c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm-7 0c.55 0 1 .45 1 1s-.45 1-1 1-1-.45-1-1 .45-1 1-1zm-2 14l-4-4 1.41-1.41L10 13.17l6.59-6.59L18 8l-7 7z'/%3E%3C/svg%3E");
}

.icon-expertise {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='%230056b3'%3E%3Cpath d='M12 11.55C9.64 9.35 6.48 8 3 8v11c3.48 0 6.64 1.35 9 3.55 2.36-2.19 5.52-3.55 9-3.55V8c-3.48 0-6.64 1.35-9 3.55zM12 8c1.66 0 3-1.34 3-3s-1.34-3-3-3-3 1.34-3 3 1.34 3 3 3z'/%3E%3C/svg%3E");
}

.icon-approach {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='%230056b3'%3E%3Cpath d='M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zM9 17H7v-7h2v7zm4 0h-2V7h2v10zm4 0h-2v-4h2v4z'/%3E%3C/svg%3E");
}

.icon-tools {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='%230056b3'%3E%3Cpath d='M22.7 19l-9.1-9.1c.9-2.3.4-5-1.5-6.9-2-2-5-2.4-7.4-1.3L9 6 6 9 1.6 4.7C.4 7.1.9 10.1 2.9 12.1c1.9 1.9 4.6 2.4 6.9 1.5l9.1 9.1c.4.4 1 .4 1.4 0l2.3-2.3c.5-.4.5-1.1.1-1.4z'/%3E%3C/svg%3E");
}

/* ========== АДАПТИВНЫЙ ДИЗАЙН ========== */
@media (max-width: 992px) {
  h1 {
    font-size: 2rem;
  }
  
  h2 {
    font-size: 1.75rem;
  }
  
  .hero {
    height: 500px;
  }
  
  .hero h1 {
    font-size: 2.5rem;
  }
  
  .cta .container {
    flex-direction: column;
    text-align: center;
  }
  
  .cta-content {
    margin-bottom: 2rem;
  }
  
  .about-intro .container {
    flex-direction: column;
    gap: 2rem;
  }
  
  .contact .container {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
}

@media (max-width: 768px) {
  nav {
    display: none;
  }
  
  .mobile-menu {
    display: flex;
  }
  
  .hero {
    height: 400px;
  }
  
  .hero h1 {
    font-size: 2rem;
  }
  
  .posts-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-bottom {
    flex-direction: column;
  }
  
  .copyright, .social-links, .footer-links {
    margin-bottom: 1rem;
    text-align: center;
  }
  
  .social-links {
    justify-content: center;
  }
}

@media (max-width: 576px) {
  section {
    padding: 3rem 0;
  }
  
  .hero {
    height: 350px;
  }
  
  .hero h1 {
    font-size: 1.75rem;
  }
  
  .post-img {
    height: 180px;
  }
  
  .team-grid {
    grid-template-columns: 1fr;
  }
  
  .cookie-content {
    flex-direction: column;
  }
  
  .cookie-content p {
    margin-right: 0;
  }
}
