:root {
  --color-primary: #7FAF9B;
  --color-secondary: #FAF8F3;
  --color-accent: #D88C6A;
  --color-text: #2E2E2E;
  --color-accent-light: #A8C7E0;
  --font-heading: 'Playfair Display', serif;
  --font-body: 'Inter', sans-serif;
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 2rem;
  --space-xl: 3rem;
  --space-xxl: 4rem;
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
  --radius-full: 50%;
  --shadow-sm: 0 2px 4px rgba(46, 46, 46, 0.1);
  --shadow-md: 0 4px 12px rgba(46, 46, 46, 0.15);
  --shadow-lg: 0 8px 24px rgba(46, 46, 46, 0.2);
  --transition-fast: 0.2s ease;
  --transition-base: 0.3s ease;
  --transition-slow: 0.5s ease;
  --animation-bounce: 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  --animation-fade-in: 0.8s ease-out;
  --animation-slide-up: 0.6s ease-out;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  overflow-x: hidden;
  width: 100%;
}

body {
  font-family: var(--font-body);
  color: var(--color-text);
  background-color: var(--color-secondary);
  line-height: 1.6;
  overflow-x: hidden;
  width: 100%;
  position: relative;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition-base);
}

button {
  border: none;
  background: none;
  cursor: pointer;
  font-family: inherit;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: var(--space-md);
  color: var(--color-text);
}

h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
}

h2 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
}

h3 {
  font-size: clamp(1.5rem, 3vw, 2rem);
}

h4 {
  font-size: clamp(1.25rem, 2.5vw, 1.5rem);
}

p {
  margin-bottom: var(--space-md);
}

.site-header {
  background: var(--color-secondary);
  padding: var(--space-md) var(--space-lg);
  position: relative;
  z-index: 1000;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-base);
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.site-header.hidden {
  transform: translateY(-100%);
  opacity: 0;
  transition: transform 0.3s ease-out, opacity 0.3s ease-out;
}

.header-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  box-sizing: border-box;
}

.brand-name {
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 3vw, 2rem);
  color: var(--color-primary);
  font-weight: 700;
  text-decoration: none;
  display: inline-block;
  transition: all 0.3s ease;
  animation: fadeIn 0.8s ease-out;
}

.brand-name:hover {
  opacity: 0.8;
  transform: scale(1.05);
}

.brand-name span {
  white-space: nowrap;
  display: inline-block;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 30px;
  height: 30px;
  justify-content: center;
  align-items: center;
  z-index: 1001;
}

.menu-toggle span {
  width: 100%;
  height: 3px;
  background: var(--color-primary);
  border-radius: var(--radius-sm);
  transition: var(--transition-base);
}

.menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(8px, 8px);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -7px);
}

.nav-menu {
  position: static;
  width: auto;
  height: auto;
  background: transparent;
  box-shadow: none;
  padding: 0;
  transition: var(--transition-base);
  z-index: 1000;
  overflow: visible;
  animation: fadeIn 0.5s ease-out;
}

.nav-list {
  list-style: none;
  display: flex;
  flex-direction: row;
  gap: var(--space-lg);
  align-items: center;
}

@media (max-width: 1023px) {
  .menu-toggle {
    display: flex;
  }

  .nav-menu {
    position: fixed;
    top: 71px;
    right: -100%;
    width: 100%;
    max-width: 400px;
    height: 100vh;
    background: var(--color-secondary);
    box-shadow: var(--shadow-lg);
    padding: var(--space-xxl) var(--space-lg);
    overflow-y: auto;
    transition: right 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  }

  .nav-menu.active {
    right: 0;
    animation: slideInRight 0.4s ease-out;
  }
  
  .nav-menu.active .nav-link {
    animation: fadeIn 0.5s ease-out forwards, slideInLeft 0.5s ease-out forwards;
    opacity: 0;
  }
  
  .nav-menu.active .nav-link:nth-child(1) {
    animation-delay: 0.1s;
  }
  
  .nav-menu.active .nav-link:nth-child(2) {
    animation-delay: 0.2s;
  }
  
  .nav-menu.active .nav-link:nth-child(3) {
    animation-delay: 0.3s;
  }
  
  .nav-menu.active .nav-link:nth-child(4) {
    animation-delay: 0.4s;
  }
  
  .nav-menu.active .nav-link:nth-child(5) {
    animation-delay: 0.5s;
  }

  .nav-list {
    flex-direction: column;
    gap: var(--space-lg);
    align-items: flex-start;
  }
}

.nav-link {
  font-size: 1.25rem;
  color: var(--color-text);
  padding: var(--space-sm) 0;
  border-bottom: 2px solid transparent;
  transition: all 0.3s ease;
  position: relative;
}

.nav-link::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-primary);
  transition: width 0.3s ease;
}

.nav-link:hover {
  color: var(--color-primary);
  transform: translateX(5px);
}

.nav-link:hover::before {
  width: 100%;
}

main {
  min-height: calc(100vh - 200px);
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  box-sizing: border-box;
}

.hero-section {
  position: relative;
  width: 100%;
  max-width: 100%;
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--color-primary);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden;
  padding: var(--space-xxl) var(--space-lg);
  box-sizing: border-box;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(127, 175, 155, 0.7) 0%, rgba(216, 140, 106, 0.6) 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: white;
  max-width: 800px;
  animation: fadeIn 1s ease-out, slideUp 1s ease-out;
}

.hero-title {
  color: white;
  margin-bottom: var(--space-lg);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.hero-text {
  font-size: clamp(1rem, 2vw, 1.25rem);
  margin-bottom: var(--space-xl);
  color: rgba(255, 255, 255, 0.95);
}

.hero-images {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0.3;
  z-index: 1;
}

.hero-section.hero-home {
  background-image: url('../images/creation_2128983421.webp');
}

.hero-section.hero-services {
  background-image: url('../images/creation_2128983427.webp');
}

.hero-section.hero-about {
  background-image: url('../images/creation_2128983432.webp');
}

.hero-section.hero-tips {
  background-image: url('../images/creation_2128983441.webp');
}

.hero-section.hero-contact {
  background-image: url('../images/creation_2128983612.webp');
}

.hero-images img {
  position: absolute;
  width: 200px;
  height: 200px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  animation: float 20s infinite ease-in-out;
}

.hero-images img:nth-child(1) {
  top: 10%;
  left: 10%;
  animation-delay: 0s;
}

.hero-images img:nth-child(2) {
  top: 20%;
  right: 15%;
  animation-delay: 5s;
}

.hero-images img:nth-child(3) {
  bottom: 15%;
  left: 20%;
  animation-delay: 10s;
}

.hero-images img:nth-child(4) {
  bottom: 10%;
  right: 10%;
  animation-delay: 15s;
}

@keyframes float {
  0%, 100% {
    transform: translateY(0) rotate(0deg);
  }
  25% {
    transform: translateY(-20px) rotate(5deg);
  }
  50% {
    transform: translateY(-10px) rotate(-5deg);
  }
  75% {
    transform: translateY(-15px) rotate(3deg);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes pulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}

@keyframes shake {
  0%, 100% {
    transform: translateX(0);
  }
  10%, 30%, 50%, 70%, 90% {
    transform: translateX(-5px);
  }
  20%, 40%, 60%, 80% {
    transform: translateX(5px);
  }
}

@keyframes bounceIn {
  0% {
    opacity: 0;
    transform: scale(0.3) translateY(-50px);
  }
  50% {
    opacity: 1;
    transform: scale(1.05) translateY(0);
  }
  70% {
    transform: scale(0.9);
  }
  100% {
    transform: scale(1);
  }
}

.btn {
  display: inline-block;
  padding: var(--space-md) var(--space-xl);
  background: var(--color-accent);
  color: white;
  border-radius: var(--radius-md);
  font-weight: 600;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  box-shadow: var(--shadow-md);
  font-size: 1rem;
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}

.btn:hover::before {
  width: 300px;
  height: 300px;
}

.btn:hover {
  background: var(--color-primary);
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 8px 20px rgba(127, 175, 155, 0.4);
}

.btn:active {
  transform: translateY(-1px) scale(1.02);
}

.btn-secondary {
  background: transparent;
  border: 2px solid white;
  color: #4f3838;
}


.btn-secondary:hover {
  background: white;
  color: var(--color-primary);
}

.content-section {
  padding: var(--space-xxl) var(--space-lg);
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  box-sizing: border-box;
  animation: fadeIn 0.8s ease-out;
}

.content-section .footer-link {
  color: var(--color-text);
}

.content-section .footer-link:hover {
  color: var(--color-primary);
}

.section-title {
  text-align: center;
  margin-bottom: var(--space-xl);
  color: var(--color-primary);
  animation: slideUp 0.8s ease-out;
}

.section-intro {
  text-align: center;
  max-width: 700px;
  margin: 0 auto var(--space-xl);
  font-size: clamp(1rem, 2vw, 1.125rem);
  color: var(--color-text);
  animation: fadeIn 1s ease-out 0.2s both;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-lg);
  margin-top: var(--space-xl);
}

.card {
  background: white;
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  box-shadow: var(--shadow-md);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  overflow: hidden;
  opacity: 0;
  animation: fadeIn 0.6s ease-out forwards, slideUp 0.6s ease-out forwards;
}

.card:nth-child(1) {
  animation-delay: 0.1s;
}

.card:nth-child(2) {
  animation-delay: 0.2s;
}

.card:nth-child(3) {
  animation-delay: 0.3s;
}

.card:nth-child(4) {
  animation-delay: 0.4s;
}

.card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: var(--shadow-lg);
}

.card:hover .card-image {
  transform: scale(1.1);
}

.card-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: var(--radius-md);
  margin-bottom: var(--space-md);
  transition: transform 0.5s ease-out;
}

.card-title {
  color: var(--color-primary);
  margin-bottom: var(--space-sm);
}

.card-text {
  color: var(--color-text);
  font-size: 0.95rem;
  margin-bottom: var(--space-md);
}

.card-badge {
  display: inline-block;
  padding: var(--space-xs) var(--space-md);
  background: var(--color-accent-light);
  color: var(--color-text);
  border-radius: var(--radius-full);
  font-size: 0.875rem;
  margin-top: var(--space-sm);
}

.image-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--space-md);
  margin: var(--space-xl) 0;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  aspect-ratio: 1;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-slow);
}

.gallery-item {
  animation: scaleIn 0.6s ease-out forwards;
  opacity: 0;
}

.gallery-item:nth-child(1) { animation-delay: 0.1s; }
.gallery-item:nth-child(2) { animation-delay: 0.2s; }
.gallery-item:nth-child(3) { animation-delay: 0.3s; }
.gallery-item:nth-child(4) { animation-delay: 0.4s; }
.gallery-item:nth-child(5) { animation-delay: 0.5s; }
.gallery-item:nth-child(6) { animation-delay: 0.6s; }

.gallery-item:hover img {
  transform: scale(1.15);
}

.gallery-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.wave-separator {
  width: 100%;
  max-width: 100%;
  height: 100px;
  overflow: hidden;
  line-height: 0;
  margin: var(--space-xxl) 0;
  box-sizing: border-box;
}

.wave-separator svg {
  width: 100%;
  max-width: 100%;
  height: 100px;
  fill: var(--color-secondary);
  display: block;
  animation: fadeIn 1s ease-out;
}

.wave-separator.primary svg {
  fill: var(--color-primary);
}

.form-container {
  max-width: 600px;
  margin: 0 auto;
  background: white;
  padding: var(--space-xl);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.form-group {
  margin-bottom: var(--space-lg);
  animation: slideUp 0.6s ease-out forwards;
  opacity: 0;
}

.form-group:nth-child(1) { animation-delay: 0.1s; }
.form-group:nth-child(2) { animation-delay: 0.2s; }
.form-group:nth-child(3) { animation-delay: 0.3s; }
.form-group:nth-child(4) { animation-delay: 0.4s; }
.form-group:nth-child(5) { animation-delay: 0.5s; }

.form-label {
  display: block;
  margin-bottom: var(--space-sm);
  font-weight: 600;
  color: var(--color-text);
}

.form-input,
.form-textarea {
  width: 100%;
  padding: var(--space-md);
  border: 2px solid var(--color-accent-light);
  border-radius: var(--radius-md);
  font-family: inherit;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.form-input:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(127, 175, 155, 0.1);
  transform: translateY(-2px);
}

.form-input:hover,
.form-textarea:hover {
  border-color: var(--color-primary);
}

.form-input:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(127, 175, 155, 0.1);
}

.form-textarea {
  min-height: 150px;
  resize: vertical;
}

.checkbox-group {
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
  margin-top: var(--space-md);
}

.checkbox-input {
  width: 20px;
  height: 20px;
  margin-top: 2px;
  cursor: pointer;
}

.checkbox-label {
  font-size: 0.9rem;
  line-height: 1.5;
}

.contact-info {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--space-lg);
  margin: var(--space-xl) 0;
}

.contact-card {
  background: white;
  padding: var(--space-lg);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  text-align: center;
}

.contact-icon {
  font-size: 2.5rem;
  color: var(--color-primary);
  margin-bottom: var(--space-md);
}

.contact-card h3 {
  color: var(--color-primary);
  margin-bottom: var(--space-sm);
}

.contact-card .footer-link {
  color: var(--color-text);
}

.contact-card .footer-link:hover {
  color: var(--color-primary);
}

.map-container {
  width: 100%;
  height: 400px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin: var(--space-xl) 0;
  box-shadow: var(--shadow-md);
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: none;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-xl);
  margin-top: var(--space-xl);
}

.team-member {
  background: white;
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  box-shadow: var(--shadow-md);
  text-align: center;
  transition: var(--transition-base);
}

.team-member {
  animation: fadeIn 0.6s ease-out forwards, slideUp 0.6s ease-out forwards;
  opacity: 0;
}

.team-member:nth-child(1) { animation-delay: 0.1s; }
.team-member:nth-child(2) { animation-delay: 0.2s; }
.team-member:nth-child(3) { animation-delay: 0.3s; }
.team-member:nth-child(4) { animation-delay: 0.4s; }

.team-member:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: var(--shadow-lg);
}

.team-member:hover .team-photo {
  transform: scale(1.1);
  box-shadow: 0 8px 20px rgba(127, 175, 155, 0.3);
}

.team-photo {
  width: 200px;
  height: 200px;
  border-radius: var(--radius-full);
  object-fit: cover;
  margin: 0 auto var(--space-md);
  border: 4px solid var(--color-primary);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.team-name {
  color: var(--color-primary);
  margin-bottom: var(--space-sm);
}

.team-role {
  color: var(--color-accent);
  font-weight: 600;
  margin-bottom: var(--space-md);
}

.team-bio {
  font-size: 0.95rem;
  margin-bottom: var(--space-md);
}

.badge-container {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  justify-content: center;
  margin-top: var(--space-md);
}

.badge {
  padding: var(--space-xs) var(--space-md);
  background: var(--color-accent-light);
  border-radius: var(--radius-full);
  font-size: 0.875rem;
}

.article-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-xl);
  margin-top: var(--space-xl);
}

.article-card {
  background: white;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: var(--transition-base);
}

.article-card {
  animation: fadeIn 0.6s ease-out forwards, slideUp 0.6s ease-out forwards;
  opacity: 0;
}

.article-card:nth-child(1) { animation-delay: 0.1s; }
.article-card:nth-child(2) { animation-delay: 0.2s; }
.article-card:nth-child(3) { animation-delay: 0.3s; }

.article-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: var(--shadow-lg);
}

.article-card:hover .article-image {
  transform: scale(1.1);
}

.article-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: transform 0.5s ease-out;
}

.article-content {
  padding: var(--space-lg);
}

.article-date {
  color: var(--color-accent);
  font-size: 0.875rem;
  margin-bottom: var(--space-sm);
}

.article-title {
  color: var(--color-primary);
  margin-bottom: var(--space-md);
}

.article-excerpt {
  font-size: 0.95rem;
  margin-bottom: var(--space-md);
}

.privacy-popup {
  position: fixed;
  bottom: var(--space-lg);
  right: var(--space-lg);
  max-width: 400px;
  background: white;
  padding: var(--space-lg);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  z-index: 2000;
  transform: translateY(150%);
  transition: var(--transition-base);
}

.privacy-popup.active {
  transform: translateY(0);
}

.popup-content {
  margin-bottom: var(--space-md);
}

.popup-title {
  font-size: 1.25rem;
  color: var(--color-primary);
  margin-bottom: var(--space-sm);
}

.popup-text {
  font-size: 0.9rem;
  margin-bottom: var(--space-md);
}

.popup-buttons {
  display: flex;
  gap: var(--space-sm);
}

.popup-btn {
  flex: 1;
  padding: var(--space-sm) var(--space-md);
  border-radius: var(--radius-md);
  font-size: 0.9rem;
  transition: var(--transition-base);
}

.popup-btn-accept {
  background: var(--color-primary);
  color: white;
}

.popup-btn-accept:hover {
  background: var(--color-accent);
}

.popup-btn-decline {
  background: var(--color-accent-light);
  color: var(--color-text);
}

.popup-btn-decline:hover {
  background: var(--color-accent);
  color: white;
}

.site-footer {
  background: var(--color-text);
  color: white;
  padding: var(--space-xl) var(--space-lg);
  margin-top: var(--space-xxl);
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow-x: hidden;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--space-xl);
}

.footer-section h3 {
  color: var(--color-primary);
  margin-bottom: var(--space-md);
}

.footer-menu {
  list-style: none;
}

.footer-menu li {
  margin-bottom: var(--space-sm);
}

.footer-link {
  color: rgba(255, 255, 255, 0.8);
  transition: var(--transition-base);
}

.footer-link:hover {
  color: var(--color-primary);
}

.footer-bottom {
  text-align: center;
  margin-top: var(--space-xl);
  padding-top: var(--space-lg);
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  color: rgba(255, 255, 255, 0.6);
}

.to-top {
  position: fixed;
  bottom: var(--space-lg);
  right: var(--space-lg);
  width: 50px;
  height: 50px;
  background: var(--color-primary);
  color: white;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-lg);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-base);
  z-index: 999;
  font-size: 1.5rem;
}

.to-top.visible {
  opacity: 1;
  visibility: visible;
}

.to-top:hover {
  background: var(--color-accent);
  transform: translateY(-5px) scale(1.1);
  animation: pulse 1s ease-in-out infinite;
}

.error-page {
  text-align: center;
  padding: var(--space-xxl) var(--space-lg);
  min-height: 60vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.error-code {
  font-size: clamp(4rem, 10vw, 8rem);
  color: var(--color-primary);
  font-weight: 700;
  margin-bottom: var(--space-md);
}

.error-message {
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  margin-bottom: var(--space-lg);
}

.thanks-section {
  text-align: center;
  padding: var(--space-xxl) var(--space-lg);
  min-height: 60vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.thanks-icon {
  font-size: 5rem;
  color: var(--color-primary);
  margin-bottom: var(--space-lg);
}

.service-card {
  position: relative;
}

.best-for {
  position: absolute;
  top: var(--space-md);
  right: var(--space-md);
  background: var(--color-accent);
  color: white;
  padding: var(--space-xs) var(--space-md);
  border-radius: var(--radius-full);
  font-size: 0.875rem;
  font-weight: 600;
}

.price {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-top: var(--space-md);
}

@media (max-width: 1023px) {
  :root {
    --space-lg: 1.5rem;
    --space-xl: 2rem;
    --space-xxl: 3rem;
  }

  .site-header {
    padding: var(--space-md) var(--space-md);
  }
  
  .content-section {
    padding: var(--space-xl) var(--space-md);
  }

  .hero-section {
    min-height: 50vh;
  }

  .card-grid,
  .team-grid,
  .article-grid {
    grid-template-columns: 1fr;
  }

  .contact-info {
    grid-template-columns: 1fr;
  }

  .privacy-popup {
    bottom: var(--space-md);
    right: var(--space-md);
    left: var(--space-md);
    max-width: none;
  }

  .footer-container {
    grid-template-columns: 1fr;
    text-align: center;
  }
}

@media (max-width: 480px) {
  :root {
    --space-md: 0.75rem;
    --space-lg: 1rem;
    --space-xl: 1.5rem;
    --space-xxl: 2rem;
  }

  .site-header {
    padding: var(--space-sm) var(--space-md);
  }

  .content-section {
    padding: var(--space-xl) var(--space-md);
  }

  .form-container {
    padding: var(--space-lg);
  }

  .image-gallery {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 320px) {
  html {
    font-size: 14px;
  }

  .hero-images img {
    width: 150px;
    height: 150px;
  }
}

.text-center {
  text-align: center;
}

.mt-sm {
  margin-top: var(--space-sm);
}

.mt-md {
  margin-top: var(--space-md);
}

.mt-lg {
  margin-top: var(--space-lg);
}

.mb-sm {
  margin-bottom: var(--space-sm);
}

.mb-md {
  margin-bottom: var(--space-md);
}

.mb-lg {
  margin-bottom: var(--space-lg);
}

