/* ============================================
   PLENARIGLW — Premium Finland Events
   iOS-Inspired Design System
   ============================================ */

/* RESET & BASE */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --white: #FFFFFF;
  --gray-bg: #F5F5F7;
  --text-primary: #1D1D1F;
  --text-secondary: #86868b;
  --accent: #007AFF;
  --gold: #E6C200;
  --glass: rgba(255, 255, 255, 0.72);
  --glass-border: rgba(255, 255, 255, 0.3);
  --shadow-sm: 0 2px 12px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 4px 24px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.12);
  --radius: 20px;
  --radius-lg: 28px;
  --radius-sm: 12px;
  --max-width: 1200px;
  --transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: var(--text-primary);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

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

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

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 120px 0;
}

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

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

/* ============================================
   HEADER
   ============================================ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  transition: var(--transition);
  background: transparent;
}

.site-header.scrolled {
  background: var(--glass);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text-primary);
}

.site-header:not(.scrolled) .logo {
  color: var(--white);
}

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

.nav-link {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-primary);
  opacity: 0.7;
  transition: var(--transition);
  position: relative;
}

.nav-link:hover,
.nav-link.active {
  opacity: 1;
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--accent);
  border-radius: 1px;
}

.site-header:not(.scrolled) .nav-link {
  color: var(--white);
}

.btn-cta-header {
  font-size: 0.8125rem;
  font-weight: 600;
  background: var(--accent);
  color: var(--white);
  padding: 8px 20px;
  border-radius: 100px;
  transition: var(--transition);
}

.btn-cta-header:hover {
  background: #0066d6;
  transform: scale(1.05);
}

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

.menu-toggle span {
  width: 22px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: var(--transition);
}

.site-header:not(.scrolled) .menu-toggle span {
  background: var(--white);
}

.menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ============================================
   BUTTONS
   ============================================ */
.btn-primary {
  display: inline-block;
  font-size: 0.9375rem;
  font-weight: 600;
  background: var(--accent);
  color: var(--white);
  padding: 14px 32px;
  border-radius: 100px;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  letter-spacing: -0.01em;
}

.btn-primary:hover {
  background: #0066d6;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 122, 255, 0.3);
}

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

.btn-primary.btn-light:hover {
  background: var(--gray-bg);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.btn-primary.btn-full {
  width: 100%;
  text-align: center;
  padding: 16px 32px;
  font-size: 1rem;
}

.btn-secondary {
  display: inline-block;
  font-size: 0.9375rem;
  font-weight: 600;
  background: transparent;
  color: var(--accent);
  padding: 14px 32px;
  border-radius: 100px;
  border: 1.5px solid var(--accent);
  transition: var(--transition);
}

.btn-secondary:hover {
  background: var(--accent);
  color: var(--white);
  transform: translateY(-2px);
}

/* ============================================
   SECTION HEADERS
   ============================================ */
.section-label {
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-bottom: 12px;
}

.section-header {
  text-align: center;
  margin-bottom: 64px;
}

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin-bottom: 16px;
  color: var(--text-primary);
}

.section-desc {
  font-size: 1.125rem;
  color: var(--text-secondary);
  max-width: 640px;
  margin: 0 auto;
  line-height: 1.7;
}

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

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

.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.05);
  transition: transform 10s ease-out;
}

.hero.loaded .hero-img {
  transform: scale(1);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.3) 0%,
    rgba(0, 0, 0, 0.5) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 800px;
  padding: 0 24px;
}

.hero-title {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.04em;
  line-height: 1.1;
  margin-bottom: 24px;
}

.hero-sub {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: rgba(255, 255, 255, 0.85);
  max-width: 600px;
  margin: 0 auto 40px;
  line-height: 1.7;
  font-weight: 300;
}

.hero-ctas {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-ctas .btn-secondary {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.5);
}

.hero-ctas .btn-secondary:hover {
  background: var(--white);
  color: var(--text-primary);
  border-color: var(--white);
}

.hero-scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
}

.scroll-line {
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.6), transparent);
  animation: scrollPulse 2s infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; transform: scaleY(0.6); }
  50% { opacity: 1; transform: scaleY(1); }
}

/* ============================================
   PAGE HERO
   ============================================ */
.page-hero {
  position: relative;
  height: 70vh;
  min-height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.page-hero-short {
  height: 50vh;
  min-height: 400px;
}

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

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

.page-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.3) 0%,
    rgba(0, 0, 0, 0.55) 100%
  );
}

.page-hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 700px;
  padding: 0 24px;
}

.page-hero-title {
  font-size: clamp(2.25rem, 5vw, 3.5rem);
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 16px;
}

.page-hero-sub {
  font-size: 1.125rem;
  color: rgba(255, 255, 255, 0.85);
  font-weight: 300;
  line-height: 1.7;
}

.page-hero .section-label {
  color: var(--gold);
}

/* ============================================
   SERVICES
   ============================================ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.service-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 40px 28px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(0, 0, 0, 0.04);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  align-items: center;
}

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

.service-icon {
  margin-bottom: 20px;
}

.service-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}

.service-desc {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 20px;
  flex: 1;
}

.service-link {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--accent);
  transition: var(--transition);
}

.service-card:hover .service-link {
  color: #0066d6;
}

/* ============================================
   FEATURES
   ============================================ */
.features-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.features-img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  width: 100%;
  height: 500px;
  object-fit: cover;
}

.feature-list {
  display: flex;
  flex-direction: column;
  gap: 28px;
  margin-top: 32px;
}

.feature-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.feature-dot {
  width: 8px;
  height: 8px;
  background: var(--gold);
  border-radius: 50%;
  margin-top: 8px;
  flex-shrink: 0;
}

.feature-item h4 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 4px;
  letter-spacing: -0.01em;
}

.feature-item p {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ============================================
   GALLERY PREVIEW
   ============================================ */
.gallery-preview-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: auto auto;
  gap: 16px;
}

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

.gallery-preview-item:first-child {
  grid-column: span 2;
  grid-row: span 2;
}

.gallery-preview-img {
  width: 100%;
  height: 100%;
  min-height: 200px;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.gallery-preview-item:first-child .gallery-preview-img {
  min-height: 416px;
}

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

/* ============================================
   TESTIMONIALS
   ============================================ */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.testimonial-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 36px;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(0, 0, 0, 0.04);
  transition: var(--transition);
}

.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.testimonial-stars {
  color: var(--gold);
  font-size: 1rem;
  letter-spacing: 2px;
  margin-bottom: 16px;
}

.testimonial-text {
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--text-primary);
  margin-bottom: 24px;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  gap: 12px;
  align-items: center;
}

.testimonial-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--gray-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 0.875rem;
  color: var(--accent);
  flex-shrink: 0;
}

.testimonial-author strong {
  font-size: 0.875rem;
  display: block;
}

.testimonial-author span {
  font-size: 0.8125rem;
  color: var(--text-secondary);
}

/* ============================================
   CTA SECTION
   ============================================ */
.cta-section {
  position: relative;
  text-align: center;
  overflow: hidden;
}

.cta-bg {
  position: absolute;
  inset: 0;
}

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

.cta-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
}

.cta-content {
  position: relative;
  z-index: 1;
}

.cta-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.03em;
  margin-bottom: 16px;
}

.cta-desc {
  font-size: 1.125rem;
  color: rgba(255, 255, 255, 0.8);
  max-width: 500px;
  margin: 0 auto 32px;
  font-weight: 300;
}

.cta-mini {
  background: var(--text-primary);
}

.cta-mini .cta-title {
  color: var(--white);
}

.cta-mini .cta-desc {
  color: rgba(255, 255, 255, 0.7);
}

/* ============================================
   EVENT DETAIL
   ============================================ */
.event-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.event-layout.reverse {
  direction: rtl;
}

.event-layout.reverse > * {
  direction: ltr;
}

.event-img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.event-content p {
  font-size: 1.0625rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 24px;
}

.event-features {
  list-style: none;
  margin-bottom: 32px;
}

.event-features li {
  font-size: 0.9375rem;
  padding: 8px 0;
  padding-left: 24px;
  position: relative;
  color: var(--text-primary);
}

.event-features li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 8px;
  height: 8px;
  background: var(--gold);
  border-radius: 50%;
}

/* ============================================
   EXPERIENCE CARDS
   ============================================ */
.experience-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.experience-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(0, 0, 0, 0.04);
  transition: var(--transition);
}

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

.experience-card-image {
  overflow: hidden;
  height: 240px;
}

.experience-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

.experience-card-content {
  padding: 28px;
}

.experience-card-content h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}

.experience-card-content p {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 16px;
}

/* ============================================
   GALLERY PAGE
   ============================================ */
.gallery-filters {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}

.gallery-filter {
  font-size: 0.875rem;
  font-weight: 500;
  padding: 10px 24px;
  border-radius: 100px;
  border: 1.5px solid rgba(0, 0, 0, 0.1);
  background: transparent;
  cursor: pointer;
  transition: var(--transition);
  font-family: inherit;
  color: var(--text-secondary);
}

.gallery-filter:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.gallery-filter.active {
  background: var(--accent);
  color: var(--white);
  border-color: var(--accent);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.gallery-item {
  border-radius: var(--radius-sm);
  overflow: hidden;
  position: relative;
  cursor: pointer;
  aspect-ratio: 4/3;
}

.gallery-item-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

.gallery-item-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0);
  display: flex;
  align-items: flex-end;
  padding: 20px;
  transition: var(--transition);
}

.gallery-item:hover .gallery-item-overlay {
  background: rgba(0, 0, 0, 0.3);
}

.gallery-item-overlay span {
  font-size: 0.875rem;
  color: var(--white);
  font-weight: 500;
  opacity: 0;
  transform: translateY(10px);
  transition: var(--transition);
}

.gallery-item:hover .gallery-item-overlay span {
  opacity: 1;
  transform: translateY(0);
}

.gallery-item.hidden {
  display: none;
}

/* LIGHTBOX */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(10px);
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 40px;
}

.lightbox.active {
  display: flex;
}

.lightbox-img {
  max-width: 90%;
  max-height: 85vh;
  object-fit: contain;
  border-radius: var(--radius-sm);
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 24px;
  font-size: 2rem;
  color: var(--white);
  background: none;
  border: none;
  cursor: pointer;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: var(--transition);
}

.lightbox-close:hover {
  background: rgba(255, 255, 255, 0.15);
}

.lightbox-prev,
.lightbox-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 2rem;
  color: var(--white);
  background: rgba(255, 255, 255, 0.1);
  border: none;
  cursor: pointer;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: var(--transition);
}

.lightbox-prev { left: 20px; }
.lightbox-next { right: 20px; }

.lightbox-prev:hover,
.lightbox-next:hover {
  background: rgba(255, 255, 255, 0.25);
}

/* ============================================
   ABOUT PAGE
   ============================================ */
.about-intro {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-intro-text h2 {
  margin-bottom: 24px;
}

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

.about-img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

/* VALUES */
.values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.value-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 36px 28px;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(0, 0, 0, 0.04);
  transition: var(--transition);
}

.value-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.value-number {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 16px;
  letter-spacing: -0.04em;
}

.value-card h3 {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}

.value-card p {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* STATS */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}

.stat-number {
  display: block;
  font-size: 3rem;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.04em;
  margin-bottom: 8px;
}

.stat-label {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  font-weight: 500;
}

/* TEAM */
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}

.team-card {
  padding: 32px 20px;
}

.team-avatar {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto 20px;
  box-shadow: var(--shadow-md);
}

.team-avatar-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.team-card h4 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 4px;
}

.team-card p {
  font-size: 0.875rem;
  color: var(--text-secondary);
}

/* ============================================
   CONTACT PAGE
   ============================================ */
.contact-layout {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 60px;
  align-items: flex-start;
}

.contact-form-wrap {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 48px;
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(0, 0, 0, 0.04);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

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

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

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  font-family: inherit;
  font-size: 0.9375rem;
  padding: 14px 16px;
  border: 1.5px solid rgba(0, 0, 0, 0.1);
  border-radius: var(--radius-sm);
  background: var(--gray-bg);
  color: var(--text-primary);
  transition: var(--transition);
  outline: none;
  -webkit-appearance: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--accent);
  background: var(--white);
  box-shadow: 0 0 0 4px rgba(0, 122, 255, 0.1);
}

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

.checkbox-label {
  display: flex !important;
  gap: 10px;
  align-items: flex-start;
  cursor: pointer;
  font-size: 0.8125rem !important;
  color: var(--text-secondary) !important;
  font-weight: 400 !important;
}

.checkbox-label input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  flex-shrink: 0;
  accent-color: var(--accent);
}

.checkbox-label a {
  color: var(--accent);
}

.form-success {
  display: none;
  text-align: center;
  padding: 60px 20px;
}

.form-success.show {
  display: block;
}

.success-icon {
  width: 64px;
  height: 64px;
  background: #34c759;
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0 auto 20px;
}

.form-success h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.form-success p {
  font-size: 1rem;
  color: var(--text-secondary);
}

.contact-info-card,
.contact-social-card {
  background: var(--gray-bg);
  border-radius: var(--radius);
  padding: 32px;
  margin-bottom: 20px;
}

.contact-info-card h3,
.contact-social-card h3 {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 24px;
}

.contact-detail {
  display: flex;
  gap: 16px;
  margin-bottom: 20px;
  align-items: flex-start;
}

.contact-detail:last-child {
  margin-bottom: 0;
}

.contact-detail svg {
  flex-shrink: 0;
  margin-top: 2px;
}

.contact-detail strong {
  display: block;
  font-size: 0.875rem;
  margin-bottom: 2px;
}

.contact-detail p {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.contact-detail a {
  color: var(--accent);
}

.contact-social-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.contact-social-link {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--text-primary);
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

.contact-social-link:hover {
  background: rgba(0, 122, 255, 0.06);
  color: var(--accent);
}

/* ============================================
   LEGAL PAGES
   ============================================ */
.legal-section {
  padding-top: 140px;
}

.legal-content {
  max-width: 800px;
  margin: 0 auto;
}

.legal-content h1 {
  font-size: 2.5rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-bottom: 8px;
}

.legal-date {
  font-size: 0.875rem;
  color: var(--text-secondary);
  margin-bottom: 48px;
}

.legal-content h2 {
  font-size: 1.375rem;
  font-weight: 600;
  margin-top: 40px;
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}

.legal-content h3 {
  font-size: 1.125rem;
  font-weight: 600;
  margin-top: 24px;
  margin-bottom: 8px;
}

.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 li {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 4px;
}

.legal-content a {
  color: var(--accent);
}

.cookie-table {
  width: 100%;
  border-collapse: collapse;
  margin: 16px 0 24px;
  font-size: 0.9375rem;
}

.cookie-table th,
.cookie-table td {
  text-align: left;
  padding: 12px 16px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.cookie-table th {
  font-weight: 600;
  color: var(--text-primary);
  background: var(--gray-bg);
}

.cookie-table td {
  color: var(--text-secondary);
}

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

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

.footer-logo {
  display: inline-block;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 16px;
}

.footer-tagline {
  font-size: 0.9375rem;
  line-height: 1.6;
  margin-bottom: 24px;
}

.footer-social {
  display: flex;
  gap: 12px;
}

.social-link {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.6);
  transition: var(--transition);
}

.social-link:hover {
  background: var(--accent);
  color: var(--white);
}

.footer-links-group h4 {
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.4);
  margin-bottom: 20px;
}

.footer-links-group a {
  display: block;
  font-size: 0.9375rem;
  color: rgba(255, 255, 255, 0.7);
  padding: 6px 0;
  transition: var(--transition);
}

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

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

.footer-bottom p {
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.4);
}

.footer-bottom a {
  color: rgba(255, 255, 255, 0.6);
}

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

/* ============================================
   COOKIE BANNER
   ============================================ */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9998;
  background: var(--glass);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  padding: 20px 0;
  transform: translateY(100%);
  transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

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

.cookie-content p {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.cookie-content a {
  color: var(--accent);
  font-weight: 500;
}

.cookie-actions {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
}

.btn-cookie-accept {
  font-size: 0.8125rem;
  font-weight: 600;
  background: var(--accent);
  color: var(--white);
  padding: 10px 24px;
  border-radius: 100px;
  border: none;
  cursor: pointer;
  font-family: inherit;
  transition: var(--transition);
}

.btn-cookie-accept:hover {
  background: #0066d6;
}

.btn-cookie-decline {
  font-size: 0.8125rem;
  font-weight: 500;
  background: transparent;
  color: var(--text-secondary);
  padding: 10px 24px;
  border-radius: 100px;
  border: 1.5px solid rgba(0, 0, 0, 0.1);
  cursor: pointer;
  font-family: inherit;
  transition: var(--transition);
}

.btn-cookie-decline:hover {
  border-color: rgba(0, 0, 0, 0.3);
  color: var(--text-primary);
}

/* ============================================
   ANIMATIONS
   ============================================ */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .features-layout {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .features-img {
    height: 360px;
  }

  .gallery-preview-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .gallery-preview-item:first-child {
    grid-column: span 1;
    grid-row: span 1;
  }

  .gallery-preview-item:first-child .gallery-preview-img {
    min-height: 200px;
  }

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

  .testimonials-grid .testimonial-card:last-child {
    grid-column: span 2;
    max-width: 50%;
    margin: 0 auto;
  }

  .event-layout,
  .event-layout.reverse {
    grid-template-columns: 1fr;
    gap: 40px;
    direction: ltr;
  }

  .event-img {
    height: 360px;
  }

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

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

  .about-img {
    height: 360px;
  }

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

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

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

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

  .main-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--glass);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 24px;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
  }

  .main-nav.open {
    opacity: 1;
    visibility: visible;
  }

  .main-nav .nav-link {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-primary) !important;
    opacity: 1;
  }

  .menu-toggle {
    display: flex;
  }

  .menu-toggle.active span {
    background: var(--text-primary) !important;
  }

  .btn-cta-header {
    display: none;
  }

  .hero {
    min-height: 600px;
  }

  .hero-title {
    font-size: 2.5rem;
  }

  .hero-ctas {
    flex-direction: column;
    align-items: center;
  }

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

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

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

  .testimonials-grid .testimonial-card:last-child {
    grid-column: span 1;
    max-width: 100%;
  }

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

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

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

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

  .contact-form-wrap {
    padding: 32px 24px;
  }

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

  .footer-bottom {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }

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

  .legal-section {
    padding-top: 120px;
  }

  .legal-content h1 {
    font-size: 2rem;
  }

  .page-hero {
    height: 50vh;
    min-height: 360px;
  }

  .page-hero-short {
    height: 40vh;
    min-height: 300px;
  }
}

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

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

  .gallery-preview-grid {
    grid-template-columns: 1fr;
  }

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

  .stats-grid {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }

  .stat-number {
    font-size: 2.25rem;
  }

  .values-grid,
  .team-grid {
    grid-template-columns: 1fr;
  }
}