
@import url('https://fonts.googleapis.com/css2?family=Red+Hat+Display:wght@300;400;500;700&display=swap');

:root {
  --primary-dark: #1A2B3C;
  --primary-bg: #F5F1E8;
  --accent-green: #3A8C70;
  --accent-terracotta: #C2604A;
  --neutral-light: #EAEAEA;
  --neutral-dark: #4A4A4A;
  --shadow-soft: 0 4px 20px rgba(0, 0, 0, 0.08);
  --transition-standard: all 0.3s ease;
}


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

body {
  font-family: 'Red Hat Display', sans-serif;
  background-color: var(--primary-bg);
  color: var(--primary-dark);
  line-height: 1.6;
  overflow-x: hidden;
}

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

a {
  color: var(--accent-green);
  text-decoration: none;
  transition: var(--transition-standard);
}

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

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}


h1, h2, h3, h4, h5 {
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 1rem;
}

h1 {
  font-size: 2.2rem;
  margin-bottom: 1.5rem;
}

h2 {
  font-size: 1.8rem;
  color: var(--accent-green);
}

h3 {
  font-size: 1.4rem;
}

h4 {
  font-size: 1.2rem;
  color: var(--neutral-dark);
}

p {
  margin-bottom: 1.5rem;
}


.btn {
  display: inline-block;
  padding: 0.8rem 1.8rem;
  border-radius: 6px;
  font-weight: 500;
  text-align: center;
  cursor: pointer;
  transition: var(--transition-standard);
  border: 2px solid transparent;
}

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

.btn-primary:hover {
  background-color: transparent;
  border-color: var(--accent-green);
  color: var(--accent-green);
}

.btn-secondary {
  background-color: transparent;
  border-color: var(--accent-terracotta);
  color: var(--accent-terracotta);
}

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


.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: rgba(245, 241, 232, 0.95);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(10px);
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 20px;
}

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

.logo img {
  height: 100%;
}


.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--primary-dark);
  cursor: pointer;
}

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

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

.nav-item {
  margin: 0 0.5rem;
}

.nav-link {
  position: relative;
  padding: 0.5rem 1rem;
  font-weight: 500;
  color: var(--primary-dark);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background-color: var(--accent-green);
  transition: var(--transition-standard);
  transform: translateX(-50%);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 80%;
}

.nav-link.active {
  color: var(--accent-green);
}


.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  background-color: var(--primary-bg);
  overflow: hidden;
  margin-top: 80px;
}

.hero-bg {
  position: absolute;
  top: 0;
  right: 0;
  width: 50%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 600px;
  padding: 2rem;
}

.hero-title {
  font-size: 3rem;
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.hero-subtitle {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  color: var(--neutral-dark);
}


.card {
  background-color: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  transition: var(--transition-standard);
  height: 100%;
}

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

.card-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.card-content {
  padding: 1.5rem;
}

.card-title {
  font-size: 1.3rem;
  margin-bottom: 1rem;
}

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

.card-link {
  display: inline-block;
  font-weight: 500;
  margin-top: 0.5rem;
}

/* Компонування Masonry */
.masonry-grid {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 20px;
  margin-top: 2rem;
}


.form-container {
  background-color: white;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: var(--shadow-soft);
  margin: 2rem 0;
}

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

.form-group {
  margin-bottom: 1.5rem;
}

.form-label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
}

.form-input,
.form-textarea {
  width: 100%;
  padding: 0.8rem;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-family: inherit;
  font-size: 1rem;
  transition: var(--transition-standard);
}

.form-input:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--accent-green);
  box-shadow: 0 0 0 3px rgba(58, 140, 112, 0.1);
}

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

.form-submit {
  width: 100%;
}


.section {
  padding: 4rem 0;
}

.section-title {
  text-align: center;
  margin-bottom: 3rem;
  position: relative;
}

.section-title::after {
  content: '';
  display: block;
  width: 80px;
  height: 3px;
  background-color: var(--accent-green);
  margin: 1rem auto 0;
}


.info-block {
  display: flex;
  flex-direction: column;
  margin-bottom: 3rem;
}

.info-image {
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 2rem;
}

.info-content {
  flex: 1;
}


.footer {
  background-color: var(--primary-dark);
  color: white;
  padding: 3rem 0 1rem;
}

.footer-container {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

.footer-logo {
  margin-bottom: 1rem;
}

.footer-links h3 {
  color: white;
  margin-bottom: 1rem;
}

.footer-list {
  list-style: none;
  padding: 0;
}

.footer-item {
  margin-bottom: 0.5rem;
}

.footer-link {
  color: var(--neutral-light);
}

.footer-link:hover {
  color: white;
}

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

.contact-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 1rem;
}

.contact-icon {
  margin-right: 1rem;
  font-size: 1.2rem;
  color: var(--accent-green);
}

.contact-text {
  flex: 1;
}

.footer-bottom {
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
  font-size: 0.9rem;
  color: var(--neutral-light);
}

/* Cookie Consent */
.cookie-consent {
  position: fixed;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  width: 90%;
  max-width: 1000px;
  background-color: white;
  padding: 1.5rem;
  border-radius: 12px;
  box-shadow: 0 5px 30px rgba(0, 0, 0, 0.15);
  z-index: 9999;
  display: none;
}

.cookie-consent.show {
  display: block;
  animation: slideUp 0.5s forwards;
}

.cookie-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.cookie-title {
  margin: 0;
  font-size: 1.3rem;
}

.cookie-close {
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--neutral-dark);
}

.cookie-text {
  margin-bottom: 1.5rem;
}

.cookie-settings {
  margin-top: 1.5rem;
}

.cookie-category {
  margin-bottom: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--neutral-light);
}

.cookie-category:last-child {
  border-bottom: none;
}

.cookie-category-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.5rem;
}

.cookie-category-title {
  margin: 0;
  font-size: 1.1rem;
}

.toggle-switch {
  position: relative;
  display: inline-block;
  width: 50px;
  height: 24px;
}

.toggle-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.toggle-slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  transition: .4s;
  border-radius: 24px;
}

.toggle-slider:before {
  position: absolute;
  content: "";
  height: 18px;
  width: 18px;
  left: 3px;
  bottom: 3px;
  background-color: white;
  transition: .4s;
  border-radius: 50%;
}

input:checked + .toggle-slider {
  background-color: var(--accent-green);
}

input:focus + .toggle-slider {
  box-shadow: 0 0 1px var(--accent-green);
}

input:checked + .toggle-slider:before {
  transform: translateX(26px);
}

.cookie-buttons {
  display: flex;
  justify-content: space-between;
  margin-top: 1.5rem;
}

.settings-toggle {
  background: none;
  border: none;
  color: var(--accent-green);
  font-weight: 500;
  cursor: pointer;
  padding: 0;
  text-decoration: underline;
}

@keyframes slideUp {
  0% {
    opacity: 0;
    transform: translate(-50%, 20px);
  }
  100% {
    opacity: 1;
    transform: translate(-50%, 0);
  }
}


@media (min-width: 768px) {
  h1 {
    font-size: 2.5rem;
  }
  
  .masonry-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .info-block {
    flex-direction: row;
    align-items: center;
    gap: 2rem;
  }
  
  .info-image {
    flex: 0 0 45%;
    margin-bottom: 0;
  }
  
  .footer-container {
    grid-template-columns: repeat(2, 1fr);
  }
}


@media (min-width: 992px) {
  h1 {
    font-size: 3rem;
  }
  
  .hero-title {
    font-size: 3.5rem;
  }
  
  .masonry-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .footer-container {
    grid-template-columns: 2fr 1fr 1fr;
  }
}


@media (max-width: 767px) {
  .nav-toggle {
    display: block;
  }
  
  .nav {
    position: fixed;
    top: 70px;
    right: -100%;
    width: 80%;
    max-width: 300px;
    height: calc(100vh - 70px);
    background-color: white;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    transition: var(--transition-standard);
    flex-direction: column;
    align-items: flex-start;
    padding: 2rem;
    overflow-y: auto;
  }
  
  .nav.show {
    right: 0;
  }
  
  .nav-list {
    flex-direction: column;
    width: 100%;
  }
  
  .nav-item {
    margin: 0;
    width: 100%;
  }
  
  .nav-link {
    display: block;
    padding: 1rem 0;
    border-bottom: 1px solid var(--neutral-light);
  }
  
  .nav-link::after {
    display: none;
  }
}

/* Zen-стильні елементи */
.zen-circle {
  position: absolute;
  border-radius: 50%;
  background-color: rgba(58, 140, 112, 0.05);
  z-index: 0;
}

.zen-circle-1 {
  width: 300px;
  height: 300px;
  top: -150px;
  right: -100px;
}

.zen-circle-2 {
  width: 200px;
  height: 200px;
  bottom: 50px;
  left: -100px;
}

.zen-line {
  position: absolute;
  background-color: rgba(26, 43, 60, 0.05);
  z-index: 0;
}

.zen-line-horizontal {
  height: 1px;
  width: 100%;
  top: 50%;
  left: 0;
}

.zen-line-vertical {
  width: 1px;
  height: 100%;
  top: 0;
  left: 50%;
}

.zen-container {
  position: relative;
  overflow: hidden;
}

.zen-pattern {
  position: absolute;
  opacity: 0.03;
  pointer-events: none;
}


@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes slideInLeft {
  from { transform: translateX(-30px); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

@keyframes slideInRight {
  from { transform: translateX(30px); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

@keyframes slideInUp {
  from { transform: translateY(30px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

.animate-fade-in {
  animation: fadeIn 1s ease forwards;
}

.animate-slide-left {
  animation: slideInLeft 1s ease forwards;
}

.animate-slide-right {
  animation: slideInRight 1s ease forwards;
}

.animate-slide-up {
  animation: slideInUp 1s ease forwards;
}


.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-standard);
}

.modal.show {
  opacity: 1;
  visibility: visible;
}

.modal-content {
  background-color: white;
  padding: 2rem;
  border-radius: 12px;
  max-width: 90%;
  width: 500px;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  transform: translateY(20px);
  transition: transform 0.3s ease;
}

.modal.show .modal-content {
  transform: translateY(0);
}

.modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--neutral-dark);
}

/* intl-tel-input стилі */
.iti {
  width: 100%;
}

/* Дополнительные стили для Zen-минимализма */
.zen-divider {
  position: relative;
  width: 100%;
  height: 1px;
  background-color: var(--neutral-light);
  margin: 3rem 0;
}

.zen-divider::before {
  content: '';
  position: absolute;
  width: 10px;
  height: 10px;
  background-color: var(--accent-green);
  border-radius: 50%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.zen-card {
  position: relative;
  padding: 2rem;
  background-color: white;
  border-radius: 0;
  border: 1px solid var(--neutral-light);
  transition: var(--transition-standard);
}

.zen-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 5px;
  height: 0;
  background-color: var(--accent-green);
  transition: var(--transition-standard);
}

.zen-card:hover::before {
  height: 100%;
}

.zen-card:hover {
  transform: translateX(5px);
}

.zen-quote {
  position: relative;
  padding: 2rem;
  margin: 3rem 0;
  font-style: italic;
  color: var(--neutral-dark);
}

.zen-quote::before,
.zen-quote::after {
  content: '';
  position: absolute;
  width: 30px;
  height: 2px;
  background-color: var(--accent-green);
}

.zen-quote::before {
  top: 0;
  left: 0;
}

.zen-quote::after {
  bottom: 0;
  right: 0;
}

/* Стили для thanks.html */
.thanks-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 70vh;
  text-align: center;
  padding: 2rem;
}

.thanks-icon {
  font-size: 5rem;
  color: var(--accent-green);
  margin-bottom: 2rem;
}

.thanks-title {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.thanks-text {
  max-width: 600px;
  margin-bottom: 2rem;
}

.go-home {
  margin-top: 1rem;
}

/* Уникальные стили для японского Zen минимализма */
.zen-box {
  position: relative;
  padding: 3rem;
  background-color: white;
  margin: 3rem 0;
}

.zen-box::after {
  content: '';
  position: absolute;
  top: 10px;
  right: 10px;
  bottom: 10px;
  left: 10px;
  border: 1px solid var(--neutral-light);
  pointer-events: none;
}

.zen-circle-decoration {
  position: absolute;
  width: 150px;
  height: 150px;
  border: 1px solid rgba(58, 140, 112, 0.1);
  border-radius: 50%;
  top: -75px;
  right: 10%;
  z-index: 0;
}

.asymmetric-grid {
  display: grid;
  grid-template-columns: 1fr;
  grid-gap: 20px;
  margin: 3rem 0;
}

@media (min-width: 768px) {
  .asymmetric-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
  }
  
  .asymmetric-grid > div:first-child {
    grid-column: 1 / 2;
    grid-row: 1 / 3;
  }
}

.ink-brush-effect {
  position: relative;
  overflow: hidden;
}

.ink-brush-effect::before {
  content: '';
  position: absolute;
  top: 0;
  left: -10%;
  width: 120%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(58, 140, 112, 0.05), transparent);
  transform: skewX(-30deg);
  pointer-events: none;
}