@import url('https://cdn.jsdelivr.net/npm/tailwindcss@2.2.19/dist/tailwind.min.css');
@import url('https://cdn.jsdelivr.net/npm/remixicon@2.5.0/fonts/remixicon.css');
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;500;600;700;800&family=Lato:wght@300;400;700&display=swap');

:root {
  --primary-color: #8B4513;
  --primary-dark: #654321;
  --primary-light: #A0522D;
  --secondary-color: #D4A574;
  --secondary-light: #E8C9A0;
  --accent-color: #C19A6B;
  --accent-dark: #9B7642;
  --background-light: #FAF8F5;
  --background-white: #FFFFFF;
  --text-dark: #2C1810;
  --text-gray: #5C4A3A;
  --text-light: #8B7968;
  --border-color: #E5DDD5;
  --shadow-sm: 0 2px 8px rgba(139, 69, 19, 0.08);
  --shadow-md: 0 4px 16px rgba(139, 69, 19, 0.12);
  --shadow-lg: 0 8px 32px rgba(139, 69, 19, 0.16);
  --shadow-xl: 0 16px 48px rgba(139, 69, 19, 0.2);
  --transition-smooth: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-fast: all 0.2s ease;
  --gradient-primary: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
  --gradient-secondary: linear-gradient(135deg, var(--secondary-color) 0%, var(--secondary-light) 100%);
  --gradient-overlay: linear-gradient(135deg, rgba(139, 69, 19, 0.95) 0%, rgba(160, 82, 45, 0.9) 100%);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Lato', sans-serif;
  color: var(--text-dark);
  background-color: var(--background-white);
  line-height: 1.7;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  line-height: 1.3;
  color: var(--text-dark);
}

h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
}

h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
}

h3 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 600;
}

p {
  font-size: 1.0625rem;
  color: var(--text-gray);
  margin-bottom: 1rem;
}

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

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

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section-padding {
  padding: 5rem 0;
}

header {
  position: sticky;
  top: 0;
  width: 100%;
  background: var(--background-white);
  box-shadow: var(--shadow-sm);
  z-index: 1000;
  transition: var(--transition-smooth);
  border-bottom: 1px solid var(--border-color);
}

header.scrolled {
  box-shadow: var(--shadow-md);
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(10px);
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem 1.5rem;
  max-width: 1400px;
  margin: 0 auto;
}

.logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--primary-color);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: var(--transition-fast);
}

.logo:hover {
  color: var(--primary-dark);
  transform: translateY(-2px);
}

.logo i {
  font-size: 2rem;
  color: var(--accent-color);
}

nav ul {
  display: flex;
  list-style: none;
  gap: 2.5rem;
  align-items: center;
}

nav ul li a {
  font-weight: 500;
  color: var(--text-dark);
  position: relative;
  padding: 0.5rem 0;
  font-size: 1rem;
  letter-spacing: 0.3px;
  transition: var(--transition-fast);
}

nav ul li a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient-primary);
  transition: width 0.3s ease;
}

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

nav ul li a:hover::after {
  width: 100%;
}

nav ul li a.active {
  color: var(--primary-color);
  font-weight: 600;
}

nav ul li a.active::after {
  width: 100%;
}

.mobile-toggle {
  background: none;
  border: none;
  font-size: 1.75rem;
  cursor: pointer;
  color: var(--primary-color);
  padding: 0.5rem;
  border-radius: 8px;
  transition: var(--transition-fast);
}

.mobile-toggle:hover {
  background: var(--background-light);
  transform: scale(1.1);
}

.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  width: 100%;
  max-width: 400px;
  height: 100vh;
  background: var(--background-white);
  box-shadow: var(--shadow-xl);
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 2000;
  overflow-y: auto;
}

.mobile-menu.active {
  transform: translateX(0);
}

.mobile-menu-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem;
  border-bottom: 2px solid var(--border-color);
  background: var(--background-light);
}

.mobile-menu-close {
  background: none;
  border: none;
  font-size: 2rem;
  cursor: pointer;
  color: var(--primary-color);
  padding: 0.5rem;
  border-radius: 8px;
  transition: var(--transition-fast);
}

.mobile-menu-close:hover {
  background: var(--background-white);
  transform: rotate(90deg);
}

.mobile-menu nav ul {
  flex-direction: column;
  gap: 0;
  padding: 1rem 0;
}

.mobile-menu nav ul li {
  width: 100%;
  border-bottom: 1px solid var(--border-color);
}

.mobile-menu nav ul li a {
  display: block;
  padding: 1.25rem 1.5rem;
  font-size: 1.125rem;
  transition: var(--transition-fast);
}

.mobile-menu nav ul li a:hover {
  background: var(--background-light);
  padding-left: 2rem;
  color: var(--primary-color);
}

.mobile-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: rgba(44, 24, 16, 0.6);
  backdrop-filter: blur(4px);
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-smooth);
  z-index: 1999;
}

.mobile-overlay.active {
  opacity: 1;
  visibility: visible;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  font-weight: 600;
  font-size: 1rem;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  transition: var(--transition-smooth);
  text-transform: uppercase;
  letter-spacing: 1px;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  transform: translate(-50%, -50%);
  transition: width 0.6s ease, height 0.6s ease;
  z-index: -1;
}

.btn:hover::before {
  width: 300px;
  height: 300px;
}

.btn-primary {
  background: var(--gradient-primary);
  color: white;
  box-shadow: var(--shadow-md);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

.btn-secondary {
  background: var(--gradient-secondary);
  color: var(--text-dark);
  box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

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

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

.btn-outline:hover {
  color: white;
  border-color: var(--primary-dark);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.btn-large {
  padding: 1.25rem 2.5rem;
  font-size: 1.125rem;
}

.btn-small {
  padding: 0.75rem 1.5rem;
  font-size: 0.9375rem;
}

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-color) 100%);
  color: white;
  padding: 1.5rem;
  box-shadow: var(--shadow-xl);
  z-index: 9999;
  transform: translateY(100%);
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  border-top: 3px solid var(--accent-color);
}

.cookie-banner.show {
  transform: translateY(0);
}

.cookie-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.cookie-text {
  flex: 1;
  min-width: 250px;
}

.cookie-text p {
  color: rgba(255, 255, 255, 0.95);
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.6;
}

.cookie-text a {
  color: var(--secondary-light);
  text-decoration: underline;
  font-weight: 600;
}

.cookie-text a:hover {
  color: white;
}

.cookie-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.cookie-btn {
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.9375rem;
  transition: var(--transition-fast);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.cookie-accept {
  background: var(--secondary-color);
  color: var(--text-dark);
}

.cookie-accept:hover {
  background: var(--secondary-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.cookie-decline {
  background: transparent;
  color: white;
  border: 2px solid white;
}

.cookie-decline:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
}

.form-group {
  margin-bottom: 1.75rem;
  position: relative;
}

.form-label {
  display: block;
  margin-bottom: 0.625rem;
  color: var(--text-dark);
  font-weight: 600;
  font-size: 0.9375rem;
  letter-spacing: 0.3px;
  text-transform: uppercase;
}

.form-label.required::after {
  content: '*';
  color: var(--primary-color);
  margin-left: 0.25rem;
}

.form-input,
.form-textarea,
.form-select {
  width: 100%;
  padding: 1rem 1.25rem;
  border: 2px solid var(--border-color);
  border-radius: 12px;
  font-size: 1rem;
  font-family: 'Lato', sans-serif;
  color: var(--text-dark);
  background: var(--background-white);
  transition: var(--transition-fast);
  outline: none;
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 4px rgba(139, 69, 19, 0.1);
  transform: translateY(-2px);
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: var(--text-light);
  opacity: 0.7;
}

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

.form-select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%238B4513'%3E%3Cpath d='M7 10l5 5 5-5z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 1.5rem;
  padding-right: 3rem;
}

.form-checkbox-group,
.form-radio-group {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  cursor: pointer;
  padding: 0.75rem;
  border-radius: 8px;
  transition: var(--transition-fast);
}

.form-checkbox-group:hover,
.form-radio-group:hover {
  background: var(--background-light);
}

.form-checkbox,
.form-radio {
  width: 1.25rem;
  height: 1.25rem;
  cursor: pointer;
  accent-color: var(--primary-color);
}

.form-error {
  color: #D32F2F;
  font-size: 0.875rem;
  margin-top: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.375rem;
}

.form-error i {
  font-size: 1rem;
}

.form-success {
  color: #388E3C;
  font-size: 0.875rem;
  margin-top: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.375rem;
}

.form-success i {
  font-size: 1rem;
}

.form-helper {
  font-size: 0.875rem;
  color: var(--text-light);
  margin-top: 0.5rem;
  font-style: italic;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
}

.card {
  background: var(--background-white);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: var(--transition-smooth);
  border: 1px solid var(--border-color);
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
}

.card-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  transition: var(--transition-smooth);
}

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

.card-image-wrapper {
  overflow: hidden;
  position: relative;
}

.card-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: var(--gradient-primary);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 50px;
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: var(--shadow-md);
}

.card-content {
  padding: 1.75rem;
}

.card-title {
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
  color: var(--text-dark);
  font-weight: 700;
}

.card-text {
  color: var(--text-gray);
  margin-bottom: 1.25rem;
  line-height: 1.7;
}

.card-footer {
  padding: 1.25rem 1.75rem;
  background: var(--background-light);
  border-top: 1px solid var(--border-color);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

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

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

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

.accordion {
  border: 1px solid var(--border-color);
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 1rem;
  background: var(--background-white);
  box-shadow: var(--shadow-sm);
  transition: var(--transition-fast);
}

.accordion:hover {
  box-shadow: var(--shadow-md);
}

.accordion-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 1.75rem;
  cursor: pointer;
  background: var(--background-light);
  transition: var(--transition-fast);
  border: none;
  width: 100%;
  text-align: left;
}

.accordion-header:hover {
  background: var(--secondary-light);
}

.accordion-header.active {
  background: var(--gradient-secondary);
  color: var(--text-dark);
}

.accordion-title {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--text-dark);
  font-family: 'Playfair Display', serif;
}

.accordion-icon {
  font-size: 1.5rem;
  color: var(--primary-color);
  transition: transform 0.3s ease;
}

.accordion-header.active .accordion-icon {
  transform: rotate(180deg);
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease;
  padding: 0 1.75rem;
}

.accordion-content.active {
  max-height: 1000px;
  padding: 1.5rem 1.75rem;
  border-top: 2px solid var(--border-color);
}

.accordion-text {
  color: var(--text-gray);
  line-height: 1.8;
}

.loading-spinner {
  display: inline-block;
  width: 50px;
  height: 50px;
  border: 4px solid var(--border-color);
  border-top: 4px solid var(--primary-color);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.loading-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.95);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 10000;
  backdrop-filter: blur(8px);
}

.loading-content {
  text-align: center;
}

.loading-text {
  margin-top: 1.5rem;
  font-size: 1.125rem;
  color: var(--primary-color);
  font-weight: 600;
  font-family: 'Playfair Display', serif;
}

::-webkit-scrollbar {
  width: 12px;
}

::-webkit-scrollbar-track {
  background: var(--background-light);
}

::-webkit-scrollbar-thumb {
  background: var(--gradient-primary);
  border-radius: 6px;
  border: 2px solid var(--background-light);
}

::-webkit-scrollbar-thumb:hover {
  background: var(--primary-dark);
}

.hero-section {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  background: var(--gradient-overlay);
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('data:image/svg+xml,%3Csvg width="60" height="60" viewBox="0 0 60 60" xmlns="http://www.w3.org/2000/svg"%3E%3Cg fill="none" fill-rule="evenodd"%3E%3Cg fill="%23ffffff" fill-opacity="0.05"%3E%3Cpath d="M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z"/%3E%3C/g%3E%3C/g%3E%3C/svg%3E');
  opacity: 0.4;
}

.hero-content {
  position: relative;
  z-index: 2;
  color: white;
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.hero-title {
  color: white;
  margin-bottom: 1.5rem;
  text-shadow: 2px 4px 8px rgba(0, 0, 0, 0.3);
  animation: fadeInUp 0.8s ease;
}

.hero-subtitle {
  font-size: 1.375rem;
  color: rgba(255, 255, 255, 0.95);
  margin-bottom: 2.5rem;
  line-height: 1.7;
  animation: fadeInUp 1s ease;
}

.hero-buttons {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
  animation: fadeInUp 1.2s ease;
}

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

.section-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 4rem;
}

.section-subtitle {
  color: var(--primary-color);
  font-size: 0.9375rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 0.75rem;
}

.section-title {
  margin-bottom: 1.25rem;
  position: relative;
  display: inline-block;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: var(--gradient-primary);
  border-radius: 2px;
}

.section-description {
  font-size: 1.125rem;
  color: var(--text-gray);
  line-height: 1.8;
}

.feature-icon {
  width: 70px;
  height: 70px;
  background: var(--gradient-secondary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  font-size: 2rem;
  color: var(--primary-color);
  box-shadow: var(--shadow-md);
  transition: var(--transition-smooth);
}

.feature-icon:hover {
  transform: translateY(-8px) scale(1.1);
  box-shadow: var(--shadow-lg);
  background: var(--gradient-primary);
  color: white;
}

.testimonial-card {
  background: var(--background-white);
  padding: 2.5rem;
  border-radius: 16px;
  box-shadow: var(--shadow-md);
  border-left: 4px solid var(--primary-color);
  position: relative;
  transition: var(--transition-smooth);
}

.testimonial-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
  border-left-width: 6px;
}

.testimonial-quote {
  font-size: 3rem;
  color: var(--accent-color);
  opacity: 0.3;
  position: absolute;
  top: 1rem;
  left: 1.5rem;
  font-family: Georgia, serif;
}

.testimonial-text {
  font-size: 1.125rem;
  font-style: italic;
  color: var(--text-gray);
  margin-bottom: 1.5rem;
  line-height: 1.8;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.testimonial-avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--accent-color);
}

.testimonial-info h4 {
  font-size: 1.125rem;
  color: var(--text-dark);
  margin-bottom: 0.25rem;
}

.testimonial-info p {
  font-size: 0.9375rem;
  color: var(--text-light);
  margin: 0;
}

.stats-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  padding: 3rem;
  background: var(--gradient-primary);
  border-radius: 16px;
  box-shadow: var(--shadow-xl);
}

.stat-item {
  text-align: center;
  color: white;
  padding: 1.5rem;
  border-right: 1px solid rgba(255, 255, 255, 0.2);
}

.stat-item:last-child {
  border-right: none;
}

.stat-number {
  font-size: 3rem;
  font-weight: 800;
  font-family: 'Playfair Display', serif;
  margin-bottom: 0.5rem;
  color: var(--secondary-light);
}

.stat-label {
  font-size: 1.125rem;
  color: rgba(255, 255, 255, 0.9);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.cta-section {
  background: var(--gradient-overlay);
  padding: 5rem 1.5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 100%;
  height: 200%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
  animation: rotate 20s linear infinite;
}

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

.cta-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
  margin: 0 auto;
}

.cta-title {
  color: white;
  margin-bottom: 1.5rem;
  text-shadow: 2px 4px 8px rgba(0, 0, 0, 0.3);
}

.cta-text {
  color: rgba(255, 255, 255, 0.95);
  font-size: 1.25rem;
  margin-bottom: 2.5rem;
}

.timeline {
  position: relative;
  padding: 2rem 0;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 100%;
  background: var(--gradient-primary);
  border-radius: 2px;
}

.timeline-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 3rem;
  position: relative;
}

.timeline-item:nth-child(even) {
  flex-direction: row-reverse;
}

.timeline-content {
  width: 45%;
  background: var(--background-white);
  padding: 2rem;
  border-radius: 16px;
  box-shadow: var(--shadow-md);
  transition: var(--transition-smooth);
}

.timeline-content:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
}

.timeline-marker {
  width: 30px;
  height: 30px;
  background: var(--gradient-primary);
  border: 4px solid white;
  border-radius: 50%;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  box-shadow: var(--shadow-md);
  z-index: 2;
}

.timeline-date {
  font-weight: 700;
  color: var(--primary-color);
  font-size: 1.125rem;
  margin-bottom: 0.75rem;
  font-family: 'Playfair Display', serif;
}

.pricing-card {
  background: var(--background-white);
  border: 2px solid var(--border-color);
  border-radius: 16px;
  padding: 2.5rem;
  text-align: center;
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.pricing-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--gradient-primary);
  transform: scaleX(0);
  transition: transform 0.4s ease;
}

.pricing-card:hover {
  transform: translateY(-12px);
  box-shadow: var(--shadow-xl);
  border-color: var(--primary-color);
}

.pricing-card:hover::before {
  transform: scaleX(1);
}

.pricing-card.featured {
  background: var(--gradient-primary);
  color: white;
  transform: scale(1.05);
  border-color: var(--primary-dark);
}

.pricing-card.featured:hover {
  transform: scale(1.08) translateY(-12px);
}

.pricing-header {
  margin-bottom: 2rem;
}

.pricing-name {
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.pricing-card.featured .pricing-name {
  color: white;
}

.pricing-price {
  font-size: 3.5rem;
  font-weight: 800;
  font-family: 'Playfair Display', serif;
  color: var(--primary-color);
}

.pricing-card.featured .pricing-price {
  color: var(--secondary-light);
}

.pricing-period {
  font-size: 1.125rem;
  color: var(--text-light);
}

.pricing-card.featured .pricing-period {
  color: rgba(255, 255, 255, 0.8);
}

.pricing-features {
  list-style: none;
  margin: 2rem 0;
  text-align: left;
}

.pricing-features li {
  padding: 0.875rem 0;
  border-bottom: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--text-gray);
}

.pricing-card.featured .pricing-features li {
  border-bottom-color: rgba(255, 255, 255, 0.2);
  color: rgba(255, 255, 255, 0.95);
}

.pricing-features li i {
  color: var(--primary-color);
  font-size: 1.25rem;
}

.pricing-card.featured .pricing-features li i {
  color: var(--secondary-light);
}

.footer {
  background: linear-gradient(135deg, var(--primary-dark) 0%, #1a0f08 100%);
  color: rgba(255, 255, 255, 0.9);
  padding: 4rem 0 2rem;
  position: relative;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('data:image/svg+xml,%3Csvg width="60" height="60" viewBox="0 0 60 60" xmlns="http://www.w3.org/2000/svg"%3E%3Cg fill="none" fill-rule="evenodd"%3E%3Cg fill="%23ffffff" fill-opacity="0.03"%3E%3Cpath d="M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z"/%3E%3C/g%3E%3C/g%3E%3C/svg%3E');
  opacity: 1;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 3rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  position: relative;
  z-index: 2;
}

.footer-section h3 {
  color: var(--secondary-light);
  margin-bottom: 1.5rem;
  font-size: 1.375rem;
}

.footer-section p {
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.8;
  margin-bottom: 1rem;
}

.footer-section ul {
  list-style: none;
}

.footer-section ul li {
  margin-bottom: 0.875rem;
}

.footer-section ul li a {
  color: rgba(255, 255, 255, 0.8);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: var(--transition-fast);
}

.footer-section ul li a:hover {
  color: var(--secondary-light);
  padding-left: 0.5rem;
}

.footer-social {
  display: flex;
  gap: 1rem;
  margin-top: 1.5rem;
}

.footer-social a {
  width: 45px;
  height: 45px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  color: white;
  transition: var(--transition-fast);
}

.footer-social a:hover {
  background: var(--gradient-secondary);
  transform: translateY(-4px);
  color: var(--text-dark);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 3rem;
  padding-top: 2rem;
  text-align: center;
  position: relative;
  z-index: 2;
}

.footer-bottom p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9375rem;
  margin: 0;
}

.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 50px;
  height: 50px;
  background: var(--gradient-primary);
  color: white;
  border: none;
  border-radius: 50%;
  font-size: 1.5rem;
  cursor: pointer;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-smooth);
  z-index: 999;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
  background: var(--primary-dark);
}

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

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: var(--shadow-md);
  cursor: pointer;
  aspect-ratio: 1;
}

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

.gallery-item:hover img {
  transform: scale(1.15);
}

.gallery-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--gradient-overlay);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: var(--transition-smooth);
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-overlay i {
  font-size: 3rem;
  color: white;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.5rem 1rem;
  border-radius: 50px;
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

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

.badge-secondary {
  background: var(--gradient-secondary);
  color: var(--text-dark);
}

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

.alert {
  padding: 1.25rem 1.5rem;
  border-radius: 12px;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  box-shadow: var(--shadow-sm);
}

.alert i {
  font-size: 1.5rem;
}

.alert-success {
  background: #E8F5E9;
  color: #2E7D32;
  border-left: 4px solid #4CAF50;
}

.alert-error {
  background: #FFEBEE;
  color: #C62828;
  border-left: 4px solid #F44336;
}

.alert-warning {
  background: #FFF3E0;
  color: #E65100;
  border-left: 4px solid #FF9800;
}

.alert-info {
  background: #E3F2FD;
  color: #1565C0;
  border-left: 4px solid #2196F3;
}

.divider {
  height: 2px;
  background: var(--gradient-primary);
  margin: 3rem 0;
  border-radius: 1px;
}

.text-gradient {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

@media (max-width: 768px) {
  .header-container {
    padding: 1rem 1.5rem;
  }

  .logo {
    font-size: 1.5rem;
  }

  nav {
    display: none;
  }

  .section-padding {
    padding: 3rem 0;
  }

  .hero-section {
    min-height: 70vh;
  }

  .hero-subtitle {
    font-size: 1.125rem;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: stretch;
  }

  .grid-2,
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
  }

  .stats-container {
    grid-template-columns: 1fr;
    padding: 2rem;
  }

  .stat-item {
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  }

  .stat-item:last-child {
    border-bottom: none;
  }

  .timeline::before {
    left: 20px;
  }

  .timeline-item {
    flex-direction: column !important;
    align-items: flex-start;
    padding-left: 50px;
  }

  .timeline-content {
    width: 100%;
  }

  .timeline-marker {
    left: 20px;
  }

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

  .cookie-content {
    flex-direction: column;
    text-align: center;
  }

  .cookie-buttons {
    justify-content: center;
    width: 100%;
  }

  .form-row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  h1 {
    font-size: 2rem;
  }

  h2 {
    font-size: 1.75rem;
  }

  h3 {
    font-size: 1.375rem;
  }

  .btn {
    padding: 0.875rem 1.5rem;
    font-size: 0.9375rem;
  }

  .card-content {
    padding: 1.25rem;
  }

  .testimonial-card {
    padding: 1.5rem;
  }

  .pricing-card {
    padding: 1.75rem;
  }

  .back-to-top {
    width: 45px;
    height: 45px;
    bottom: 1.5rem;
    right: 1.5rem;
  }
}