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

:root {
  --primary: #1F75FE;
  --primary-light: #A6CAF0;
  --primary-dark: #3B83BD;
  --bg: #F7F9FC;
  --bg-alt: #EDF2F9;
  --text: #1A2332;
  --text-secondary: #4A5568;
  --text-light: #718096;
  --white: #FFFFFF;
  --border: #D6E0EC;
  --shadow-sm: 0 1px 3px rgba(31, 117, 254, 0.08);
  --shadow-md: 0 4px 16px rgba(31, 117, 254, 0.1);
  --shadow-lg: 0 8px 32px rgba(31, 117, 254, 0.12);
  --shadow-xl: 0 16px 48px rgba(31, 117, 254, 0.15);
  --radius: 12px;
  --radius-lg: 20px;
  --transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --font: 'Inter', 'Open Sans', -apple-system, BlinkMacSystemFont, sans-serif;
}

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

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

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

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

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

.section {
  padding: 100px 0;
}

.section-alt {
  background: var(--bg-alt);
}

.section-title {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 16px;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.section-subtitle {
  font-size: 1.15rem;
  color: var(--text-secondary);
  margin-bottom: 48px;
  max-width: 640px;
}

.section-subtitle.centered {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.section-title.centered {
  text-align: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 50px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all var(--transition);
  font-family: var(--font);
  position: relative;
  overflow: hidden;
}

.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0);
  transition: background var(--transition);
}

.btn:hover::after {
  background: rgba(255, 255, 255, 0.1);
}

.btn-primary {
  background: var(--primary);
  color: var(--white);
  box-shadow: 0 4px 16px rgba(31, 117, 254, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(31, 117, 254, 0.4);
  color: var(--white);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255, 255, 255, 0.5);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--white);
  color: var(--white);
  transform: translateY(-2px);
}

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

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

/* ===== HEADER ===== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 16px 0;
  transition: all var(--transition);
  background: transparent;
}

.header.scrolled {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.06);
  padding: 10px 0;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.5rem;
  font-weight: 800;
  color: #000;
  letter-spacing: -0.02em;
  transition: color var(--transition);
}

.header.scrolled .logo {
  color: var(--primary);
}

.logo img {
  width: 40px;
  height: 40px;
  border-radius: 10px;
}

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

.nav a {
  color: rgba(0, 0, 0, 0.85);
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 0.92rem;
  font-weight: 500;
  transition: all var(--transition);
}

.nav a:hover {
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
}

.header.scrolled .nav a {
  color: var(--text-secondary);
}

.header.scrolled .nav a:hover {
  background: var(--bg-alt);
  color: var(--primary);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 1001;
}

.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--white);
  transition: all var(--transition);
  border-radius: 2px;
}

.header.scrolled .nav-toggle span {
  background: var(--text);
}

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(31, 117, 254, 0.88) 0%,
    rgba(59, 131, 189, 0.75) 50%,
    rgba(26, 35, 50, 0.85) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 680px;
  padding: 140px 0 100px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  padding: 8px 20px;
  border-radius: 50px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--white);
  margin-bottom: 28px;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-badge .dot {
  width: 8px;
  height: 8px;
  background: #4ADE80;
  border-radius: 50%;
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.3); }
}

.hero h1 {
  font-size: 3.5rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 24px;
  letter-spacing: -0.03em;
}

.hero p {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.8;
  margin-bottom: 40px;
  max-width: 540px;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-stats {
  display: flex;
  gap: 48px;
  margin-top: 64px;
  padding-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.hero-stat {
  text-align: left;
}

.hero-stat .number {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1;
  margin-bottom: 4px;
}

.hero-stat .label {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.65);
  font-weight: 400;
}

/* ===== CONTENT BLOCKS (Image + Text) ===== */
.content-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.content-block.reversed {
  direction: rtl;
}

.content-block.reversed > * {
  direction: ltr;
}

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

.content-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.content-image:hover img {
  transform: scale(1.03);
}

.content-image .image-badge {
  position: absolute;
  bottom: 20px;
  left: 20px;
  background: var(--primary);
  color: var(--white);
  padding: 8px 20px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  box-shadow: 0 4px 12px rgba(31, 117, 254, 0.3);
}

.content-text h2 {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 20px;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.content-text p {
  font-size: 1.05rem;
  color: var(--text-secondary);
  margin-bottom: 16px;
  line-height: 1.8;
}

.content-text ul {
  list-style: none;
  margin: 20px 0;
}

.content-text ul li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 12px;
  font-size: 1.05rem;
  color: var(--text-secondary);
}

.content-text ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10px;
  width: 10px;
  height: 10px;
  background: var(--primary-light);
  border-radius: 50%;
  border: 2px solid var(--primary);
}

.content-tag {
  display: inline-block;
  background: linear-gradient(135deg, rgba(31, 117, 254, 0.08), rgba(166, 202, 240, 0.15));
  color: var(--primary);
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 0.82rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 16px;
}

/* ===== SLIDER ===== */
.slider-wrapper {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}

.slider-track {
  display: flex;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.slider-slide {
  min-width: 100%;
  position: relative;
}

.slider-slide img {
  width: 100%;
  height: 500px;
  object-fit: cover;
}

.slider-slide .slide-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 40px;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
  color: var(--white);
}

.slide-caption h3 {
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.slide-caption p {
  font-size: 1rem;
  opacity: 0.85;
}

.slider-controls {
  position: absolute;
  bottom: 24px;
  right: 40px;
  display: flex;
  gap: 8px;
  z-index: 5;
}

.slider-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: var(--white);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  transition: all var(--transition);
}

.slider-btn:hover {
  background: rgba(255, 255, 255, 0.35);
  transform: scale(1.05);
}

.slider-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 20px;
}

.slider-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--border);
  border: none;
  cursor: pointer;
  transition: all var(--transition);
  padding: 0;
}

.slider-dot.active {
  background: var(--primary);
  width: 32px;
  border-radius: 5px;
}

/* ===== ACCORDION ===== */
.accordion-item {
  background: var(--white);
  border-radius: var(--radius);
  margin-bottom: 12px;
  border: 1px solid var(--border);
  overflow: hidden;
  transition: box-shadow var(--transition);
}

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

.accordion-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 28px;
  cursor: pointer;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text);
  background: none;
  border: none;
  width: 100%;
  text-align: left;
  font-family: var(--font);
  transition: all var(--transition);
}

.accordion-header:hover {
  color: var(--primary);
}

.accordion-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--bg-alt);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
  flex-shrink: 0;
  font-size: 1.2rem;
  color: var(--primary);
}

.accordion-item.active .accordion-icon {
  background: var(--primary);
  color: var(--white);
  transform: rotate(45deg);
}

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

.accordion-content-inner {
  padding: 0 28px 24px;
  color: var(--text-secondary);
  line-height: 1.8;
  font-size: 1rem;
}

/* ===== TABLE ===== */
.table-container {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border);
}

.table-container table {
  width: 100%;
  border-collapse: collapse;
}

.table-container th {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: var(--white);
  padding: 18px 24px;
  text-align: left;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
}

.table-container td {
  padding: 16px 24px;
  border-bottom: 1px solid var(--border);
  font-size: 0.95rem;
  color: var(--text-secondary);
}

.table-container tr:last-child td {
  border-bottom: none;
}

.table-container tbody tr {
  transition: background var(--transition);
}

.table-container tbody tr:hover {
  background: var(--bg-alt);
}

.table-container tbody tr:nth-child(even) {
  background: rgba(166, 202, 240, 0.05);
}

.table-container tbody tr:nth-child(even):hover {
  background: var(--bg-alt);
}

/* ===== PRICE CARDS ===== */
.price-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.price-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  border: 1px solid var(--border);
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.price-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--border);
  transition: background var(--transition);
}

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

.price-card:hover::before {
  background: var(--primary);
}

.price-card.featured {
  border-color: var(--primary);
  box-shadow: var(--shadow-lg);
}

.price-card.featured::before {
  background: linear-gradient(90deg, var(--primary), var(--primary-dark));
  height: 4px;
}

.price-card .card-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  background: var(--primary);
  color: var(--white);
  padding: 4px 14px;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.price-card h3 {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
}

.price-card .price-desc {
  font-size: 0.92rem;
  color: var(--text-light);
  margin-bottom: 24px;
  line-height: 1.6;
}

.price-amount {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-bottom: 28px;
}

.price-amount .currency {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--primary);
}

.price-amount .value {
  font-size: 3rem;
  font-weight: 800;
  color: var(--text);
  line-height: 1;
  letter-spacing: -0.03em;
}

.price-amount .period {
  font-size: 0.95rem;
  color: var(--text-light);
  margin-left: 4px;
}

.price-features {
  list-style: none;
  margin-bottom: 28px;
}

.price-features li {
  padding: 10px 0;
  font-size: 0.95rem;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid var(--bg-alt);
}

.price-features li:last-child {
  border-bottom: none;
}

.price-features li::before {
  content: '✓';
  color: var(--primary);
  font-weight: 700;
  font-size: 0.9rem;
  flex-shrink: 0;
}

.price-card .btn {
  width: 100%;
}

/* ===== BENEFITS DIAGRAM ===== */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.benefit-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  text-align: center;
  border: 1px solid var(--border);
  transition: all var(--transition);
  position: relative;
}

.benefit-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-light);
}

.benefit-icon {
  width: 72px;
  height: 72px;
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(31, 117, 254, 0.08), rgba(166, 202, 240, 0.2));
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 2rem;
  transition: all var(--transition);
}

.benefit-card:hover .benefit-icon {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  transform: scale(1.05);
}

.benefit-card:hover .benefit-icon svg {
  color: var(--white);
}

.benefit-icon svg {
  width: 32px;
  height: 32px;
  color: var(--primary);
  transition: color var(--transition);
}

.benefit-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 10px;
}

.benefit-card p {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

.benefit-number {
  position: absolute;
  top: 16px;
  right: 20px;
  font-size: 2.5rem;
  font-weight: 800;
  color: rgba(31, 117, 254, 0.06);
  line-height: 1;
}

/* ===== PHOTO GALLERY (Gray to Color) ===== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 220px;
  gap: 16px;
}

.gallery-item {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
}

.gallery-item:nth-child(1) { grid-column: span 2; grid-row: span 2; }
.gallery-item:nth-child(5) { grid-column: span 2; }
.gallery-item:nth-child(8) { grid-column: span 2; }

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(100%);
  transition: all 0.5s ease;
}

.gallery-item:hover img {
  filter: grayscale(0%);
  transform: scale(1.05);
}

.gallery-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(31, 117, 254, 0.1);
  opacity: 1;
  transition: opacity 0.5s ease;
}

.gallery-item:hover::after {
  opacity: 0;
}

/* ===== HALL SLIDER ===== */
.hall-slider-wrapper {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}

.hall-slider-track {
  display: flex;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.hall-slide {
  min-width: 100%;
  position: relative;
}

.hall-slide img {
  width: 100%;
  height: 450px;
  object-fit: cover;
}

.hall-slide .hall-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 32px 40px;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.6));
}

.hall-caption h3 {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 6px;
}

.hall-caption p {
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.8);
}

.hall-slider-controls {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  display: flex;
  justify-content: space-between;
  padding: 0 16px;
  transform: translateY(-50%);
  z-index: 5;
  pointer-events: none;
}

.hall-slider-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: var(--white);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  transition: all var(--transition);
  pointer-events: all;
}

.hall-slider-btn:hover {
  background: rgba(255, 255, 255, 0.35);
}

.hall-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 20px;
}

.hall-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--border);
  border: none;
  cursor: pointer;
  transition: all var(--transition);
  padding: 0;
}

.hall-dot.active {
  background: var(--primary);
  width: 32px;
  border-radius: 5px;
}

/* ===== VERTICAL PHOTOS BLOCK ===== */
.vertical-photos {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
}

.vertical-photo-item {
  display: flex;
  flex-direction: column;
  position: relative;
}

.vertical-photo-item::after {
  content: '';
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: 1px;
  background: var(--border);
}

.vertical-photo-item:last-child::after {
  display: none;
}

.vertical-photo-img {
  height: 320px;
  overflow: hidden;
}

.vertical-photo-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.vertical-photo-item:hover .vertical-photo-img img {
  transform: scale(1.05);
}

.vertical-photo-line {
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--primary-light));
}

.vertical-photo-text {
  padding: 24px 20px;
  background: var(--white);
}

.vertical-photo-text h4 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
}

.vertical-photo-text p {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.vertical-full-line {
  grid-column: 1 / -1;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--primary), var(--primary-light), transparent);
}

/* ===== SELLING TEXT BLOCK ===== */
.selling-block {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.selling-block h2 {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 28px;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.selling-block p {
  font-size: 1.1rem;
  color: var(--text-secondary);
  line-height: 1.9;
  margin-bottom: 20px;
}

.selling-block .highlight-text {
  font-size: 1.3rem;
  color: var(--primary);
  font-weight: 600;
  margin: 32px 0;
  padding: 28px 40px;
  background: linear-gradient(135deg, rgba(31, 117, 254, 0.05), rgba(166, 202, 240, 0.1));
  border-radius: var(--radius);
  border-left: 4px solid var(--primary);
  text-align: left;
}

/* ===== FORM ===== */
.form-section {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  position: relative;
  overflow: hidden;
}

.form-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
}

.form-section::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.03);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.form-info h2 {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 20px;
  line-height: 1.2;
}

.form-info p {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.8;
  margin-bottom: 32px;
}

.form-contact-item {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.95rem;
}

.form-contact-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.form-contact-icon svg {
  width: 20px;
  height: 20px;
  color: var(--white);
}

.form-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-xl);
}

.form-card h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
}

.form-card .form-subtitle {
  font-size: 0.92rem;
  color: var(--text-light);
  margin-bottom: 28px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 8px;
}

.form-group input {
  width: 100%;
  padding: 14px 18px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 1rem;
  font-family: var(--font);
  color: var(--text);
  transition: all var(--transition);
  background: var(--bg);
}

.form-group input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(31, 117, 254, 0.12);
  background: var(--white);
}

.form-group input::placeholder {
  color: var(--text-light);
}

/* ===== FOOTER ===== */
.footer {
  background: var(--text);
  color: rgba(255, 255, 255, 0.7);
  padding: 60px 0 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-brand .logo {
  color: var(--white);
  margin-bottom: 16px;
}

.footer-brand p {
  font-size: 0.92rem;
  line-height: 1.7;
  margin-bottom: 16px;
  color: rgba(255, 255, 255, 0.55);
}

.footer h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 20px;
}

.footer ul {
  list-style: none;
}

.footer ul li {
  margin-bottom: 10px;
}

.footer ul a {
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.9rem;
  transition: color var(--transition);
}

.footer ul a:hover {
  color: var(--primary-light);
}

.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.4);
}

/* ===== COOKIE BANNER ===== */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--white);
  padding: 24px;
  box-shadow: 0 -4px 32px rgba(0, 0, 0, 0.12);
  z-index: 9999;
  transform: translateY(100%);
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  border-top: 3px solid var(--primary);
}

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

.cookie-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

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

.cookie-text h4 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 6px;
}

.cookie-text p {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.cookie-buttons {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.cookie-settings-panel {
  display: none;
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  width: 100%;
}

.cookie-settings-panel.visible {
  display: block;
}

.cookie-category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px solid var(--bg-alt);
}

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

.cookie-category label {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text);
}

.cookie-category span {
  font-size: 0.82rem;
  color: var(--text-light);
  display: block;
  margin-top: 2px;
  font-weight: 400;
}

.toggle-switch {
  position: relative;
  width: 48px;
  height: 26px;
  flex-shrink: 0;
}

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

.toggle-slider {
  position: absolute;
  inset: 0;
  background: var(--border);
  border-radius: 26px;
  cursor: pointer;
  transition: background var(--transition);
}

.toggle-slider::before {
  content: '';
  position: absolute;
  width: 20px;
  height: 20px;
  background: var(--white);
  border-radius: 50%;
  top: 3px;
  left: 3px;
  transition: transform var(--transition);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.15);
}

.toggle-switch input:checked + .toggle-slider {
  background: var(--primary);
}

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

.toggle-switch input:disabled + .toggle-slider {
  opacity: 0.5;
  cursor: not-allowed;
}

/* ===== ANIMATIONS ===== */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-in-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-in-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.fade-in-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-in-right.visible {
  opacity: 1;
  transform: translateX(0);
}

.scale-in {
  opacity: 0;
  transform: scale(0.92);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.scale-in.visible {
  opacity: 1;
  transform: scale(1);
}

/* ===== LEGAL PAGES ===== */
.legal-page {
  padding-top: 120px;
  padding-bottom: 80px;
}

.legal-content {
  max-width: 800px;
  margin: 0 auto;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 48px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border);
}

.legal-content h1 {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}

.legal-content .last-updated {
  font-size: 0.88rem;
  color: var(--text-light);
  margin-bottom: 36px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border);
}

.legal-content h2 {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text);
  margin-top: 32px;
  margin-bottom: 12px;
}

.legal-content p {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 16px;
}

.legal-content ul {
  margin-bottom: 16px;
  padding-left: 24px;
}

.legal-content ul li {
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 8px;
}

/* ===== THANKS PAGE ===== */
.thanks-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--bg), var(--bg-alt));
}

.thanks-card {
  text-align: center;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 60px;
  box-shadow: var(--shadow-xl);
  max-width: 520px;
}

.thanks-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 28px;
  background: linear-gradient(135deg, rgba(31, 117, 254, 0.1), rgba(166, 202, 240, 0.2));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: pop-in 0.5s ease;
}

@keyframes pop-in {
  0% { transform: scale(0); }
  70% { transform: scale(1.1); }
  100% { transform: scale(1); }
}

.thanks-icon svg {
  width: 36px;
  height: 36px;
  color: var(--primary);
}

.thanks-card h1 {
  font-size: 2rem;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 16px;
}

.thanks-card p {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 32px;
}

/* ===== SCROLL TO TOP ===== */
.scroll-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--white);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(31, 117, 254, 0.3);
  z-index: 100;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all var(--transition);
}

.scroll-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.scroll-top:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 24px rgba(31, 117, 254, 0.4);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .content-block {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .content-block.reversed {
    direction: ltr;
  }

  .price-grid {
    grid-template-columns: 1fr;
    max-width: 420px;
    margin: 0 auto;
  }

  .benefits-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 200px;
  }

  .gallery-item:nth-child(1) { grid-column: span 2; grid-row: span 1; }
  .gallery-item:nth-child(5) { grid-column: span 1; }
  .gallery-item:nth-child(8) { grid-column: span 1; }

  .vertical-photos {
    grid-template-columns: repeat(2, 1fr);
  }

  .form-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .hero h1 {
    font-size: 2.8rem;
  }

  .hero-stats {
    gap: 32px;
  }
}

@media (max-width: 768px) {
  .section {
    padding: 64px 0;
  }

  .nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: var(--white);
    flex-direction: column;
    padding: 80px 24px 24px;
    box-shadow: -4px 0 32px rgba(0, 0, 0, 0.1);
    transition: right var(--transition);
    z-index: 1000;
    align-items: flex-start;
    gap: 4px;
  }

  .nav.open {
    right: 0;
  }

  .nav a {
    color: var(--text);
    width: 100%;
    padding: 12px 16px;
  }

  .nav a:hover {
    background: var(--bg-alt);
    color: var(--primary);
  }

  .nav-toggle {
    display: flex;
  }

  .nav-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition);
  }

  .nav-overlay.visible {
    opacity: 1;
    visibility: visible;
  }

  .hero h1 {
    font-size: 2.2rem;
  }

  .hero p {
    font-size: 1.05rem;
  }

  .hero-stats {
    flex-direction: column;
    gap: 20px;
  }

  .hero-buttons {
    flex-direction: column;
  }

  .section-title {
    font-size: 2rem;
  }

  .content-text h2 {
    font-size: 1.8rem;
  }

  .selling-block h2 {
    font-size: 2rem;
  }

  .benefits-grid {
    grid-template-columns: 1fr;
  }

  .gallery-grid {
    grid-template-columns: 1fr 1fr;
    grid-auto-rows: 180px;
  }

  .gallery-item:nth-child(1) { grid-column: span 1; }

  .vertical-photos {
    grid-template-columns: 1fr;
  }

  .vertical-photo-item::after {
    display: none;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .slider-slide img {
    height: 300px;
  }

  .hall-slide img {
    height: 300px;
  }

  .legal-content {
    padding: 28px 20px;
  }

  .cookie-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .form-info h2 {
    font-size: 2rem;
  }

  .table-container {
    overflow-x: auto;
  }
}

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

  .hero-content {
    padding: 120px 0 60px;
  }

  .hero-stat .number {
    font-size: 1.8rem;
  }

  .price-amount .value {
    font-size: 2.4rem;
  }

  .section-title {
    font-size: 1.7rem;
  }

  .container {
    padding: 0 16px;
  }
}

/* Header legal page override */
.header-legal {
  background: var(--text);
}

.header-legal .logo {
  color: var(--white);
}

.header-legal .nav a {
  color: rgba(255, 255, 255, 0.8);
}

.header-legal .nav a:hover {
  color: var(--white);
  background: rgba(255, 255, 255, 0.1);
}

.header-legal .nav-toggle span {
  background: var(--white);
}
