*{margin:0;padding:0;box-sizing:border-box}
body{font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;background:#0a0a0f;color:#fff;line-height:1.6;overflow-x:hidden}
.container{max-width:1200px;margin:0 auto;padding:0 20px}

/* Навигация */
.nav{position:fixed;top:0;left:0;right:0;z-index:1000;padding:12px 16px;background:rgba(10,10,15,0.95);backdrop-filter:blur(20px);-webkit-backdrop-filter:blur(20px);border-bottom:1px solid rgba(255,255,255,0.08)}
.nav-inner{max-width:1200px;margin:0 auto;display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:8px}
.logo{font-size:20px;font-weight:800;color:#fff;text-decoration:none;display:flex;align-items:center;gap:6px}
.lang-switch{display:flex;gap:2px;flex-wrap:wrap;background:rgba(255,255,255,0.03);padding:3px;border-radius:10px}
.lang-switch a{padding:5px 8px;border-radius:6px;font-size:11px;font-weight:600;text-decoration:none;color:#a1a1aa;transition:all 0.3s;white-space:nowrap}
.lang-switch a.active,.lang-switch a:hover{background:var(--c1,#6C63FF);color:#fff}

/* Hero */
.hero{position:relative;min-height:100vh;display:flex;align-items:center;text-align:center;padding:100px 20px;background:linear-gradient(135deg,var(--c1,#6C63FF),var(--c2,#8B85FF));background-size:cover}
.hero.preloaded{background-size:cover;animation:none}
.hero-badge{background:rgba(255,255,255,0.1);backdrop-filter:blur(10px);padding:8px 18px;border-radius:50px;font-size:13px;border:1px solid rgba(255,255,255,0.2);display:inline-block}
.hero-content{position:relative;z-index:1;max-width:800px;margin:0 auto}
.hero h1{font-size:clamp(28px,6vw,56px);font-weight:900;margin-bottom:16px;text-shadow:0 2px 10px rgba(0,0,0,0.5);line-height:1.2}
.hero p{font-size:clamp(15px,2.5vw,18px);opacity:0.95;max-width:600px;margin:0 auto 30px;text-shadow:0 1px 5px rgba(0,0,0,0.5)}

/* Кнопки */
.btn{display:inline-flex;align-items:center;gap:6px;padding:14px 24px;border-radius:14px;font-weight:600;font-size:14px;text-decoration:none;margin:4px;color:#fff;transition:all 0.3s;backdrop-filter:blur(10px);border:none;cursor:pointer}
.btn-primary{background:linear-gradient(135deg,var(--c1,#6C63FF),var(--c2,#8B85FF));box-shadow:0 4px 15px rgba(0,0,0,0.3)}
.btn-outline{background:rgba(255,255,255,0.1);border:1px solid rgba(255,255,255,0.2)}
.btn:hover{transform:translateY(-2px);opacity:0.9}
.btn:active{transform:translateY(0)}

/* Секции */
.section{padding:80px 16px}
.section-dark{background:rgba(255,255,255,0.02)}
.section-header{text-align:center;margin-bottom:40px}
.section-badge{display:inline-block;padding:6px 16px;background:rgba(255,255,255,0.05);border:1px solid rgba(255,255,255,0.1);border-radius:50px;font-size:12px;font-weight:600;color:var(--c2,#8B85FF);margin-bottom:12px;text-transform:uppercase;letter-spacing:1px}
.section h2{text-align:center;font-size:clamp(24px,4vw,40px);font-weight:800;margin-bottom:12px}
.section-subtitle{text-align:center;color:#a1a1aa;font-size:clamp(14px,2vw,18px);max-width:600px;margin:0 auto 40px}

/* Сетка */
.grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:20px}
.card{background:rgba(255,255,255,0.03);border:1px solid rgba(255,255,255,0.08);border-radius:16px;padding:30px 20px;text-align:center;transition:all 0.3s;backdrop-filter:blur(10px)}
.card:hover{transform:translateY(-4px);border-color:rgba(255,255,255,0.2)}
.card-icon{font-size:40px;margin-bottom:16px}
.card h3{font-size:20px;font-weight:700;margin-bottom:8px}
.card p{color:#a1a1aa;font-size:14px}
.card.featured{border:2px solid var(--c1,#6C63FF);position:relative}
.card.featured::before{content:attr(data-badge);position:absolute;top:10px;right:10px;background:linear-gradient(135deg,var(--c1,#6C63FF),var(--c2,#8B85FF));padding:5px 12px;border-radius:16px;font-size:10px;font-weight:600;color:#fff}

/* Галерея */
.gallery{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:16px}
.gallery-item{background-size:cover;background-position:center;background-color:#1a1a2e;border-radius:16px;overflow:hidden;aspect-ratio:4/3;transition:background-image 0.6s ease;position:relative;min-height:180px}
.gallery-item::after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,#1a1a2e,#2a2a3e,#1a1a2e);animation:shimmer 1.5s infinite}
.gallery-item.loaded::after{display:none}

/* Форма */
.form-input{width:100%;padding:14px 16px;background:rgba(255,255,255,0.05);border:1px solid rgba(255,255,255,0.1);border-radius:12px;color:#fff;font-size:15px;font-family:inherit;margin-bottom:12px;transition:border-color 0.3s}
.form-input:focus{outline:none;border-color:var(--c2,#8B85FF)}
.honeypot{position:absolute;left:-9999px;opacity:0}
.footer{text-align:center;padding:40px 16px;border-top:1px solid rgba(255,255,255,0.08);color:#a1a1aa;font-size:13px}

/* Sticky CTA */
#stickyCta{position:fixed;bottom:10px;left:10px;right:10px;z-index:999;display:none}
#stickyCta a{display:block;background:var(--c1,#6C63FF);padding:14px;border-radius:14px;text-align:center;font-weight:700;color:#fff;text-decoration:none;box-shadow:0 4px 20px rgba(0,0,0,0.3)}

/* FAQ */
.faq-list{display:flex;flex-direction:column;gap:10px}
.faq-item{background:rgba(255,255,255,0.03);border:1px solid rgba(255,255,255,0.08);border-radius:12px;padding:16px;cursor:pointer;transition:all 0.3s}
.faq-item:hover{border-color:rgba(255,255,255,0.2)}
.faq-item summary{font-weight:600;font-size:15px;cursor:pointer}
.faq-item p{margin-top:10px;color:#a1a1aa;font-size:13px;line-height:1.6}

/* Карта */
.map-section iframe{width:100%;height:350px;border-radius:16px;border:none}

/* Анимации */
@keyframes shimmer{0%{transform:translateX(-100%)}100%{transform:translateX(100%)}}
@keyframes gradient{0%{background-position:0% 50%}50%{background-position:100% 50%}100%{background-position:0% 50%}}

/* ===== МОБИЛЬНАЯ ВЕРСИЯ ===== */
@media(max-width:768px){
  .nav{padding:6px 8px}
  .nav-inner{gap:4px;flex-direction:column;align-items:stretch}
  .logo{font-size:15px;justify-content:center}
  .lang-switch{justify-content:center;width:100%}
  .lang-switch a{padding:3px 5px;font-size:9px;border-radius:4px}
  .hero{padding:80px 16px;min-height:90vh}
  .hero h1{font-size:clamp(22px,8vw,36px)}
  .hero p{font-size:14px;margin-bottom:20px}
  .hero-badge{font-size:11px;padding:6px 14px}
  .btn{padding:12px 18px;font-size:13px;margin:3px}
  .section{padding:50px 12px}
  .section h2{font-size:22px}
  .section-subtitle{font-size:13px;margin-bottom:30px}
  .grid{grid-template-columns:1fr;gap:16px}
  .card{padding:24px 16px}
  .card-icon{font-size:32px}
  .card h3{font-size:18px}
  .gallery{grid-template-columns:1fr}
  .gallery-item{min-height:200px}
  .form-input{padding:12px 14px;font-size:14px}
  #stickyCta{bottom:6px;left:6px;right:6px}
  #stickyCta{bottom:4px;left:4px;right:4px}
#stickyCta a{padding:8px 12px;font-size:11px;border-radius:8px;text-align:center;white-space:nowrap}
  .map-section iframe{height:250px}
}

@media(max-width:768px){
  .grid[style*="grid-template-columns:repeat(4,1fr)"]{
    grid-template-columns:repeat(2,1fr)!important;
    gap:12px
  }
}
@media(max-width:480px){
  .hero{padding:60px 10px;min-height:80vh}
  .hero h1{font-size:18px}
  .hero p{font-size:11px}
  .btn{width:100%;justify-content:center;margin:2px 0}
  .section{padding:30px 8px}
  .section h2{font-size:18px}
  .lang-switch{gap:1px}
  .lang-switch a{font-size:8px;padding:2px 4px}
  .card{padding:20px 12px}
  .card h3{font-size:16px}
  #stickyCta{bottom:2px;left:2px;right:2px}
#stickyCta a{font-size:10px;padding:6px 10px;border-radius:6px}
}

/* ===== ДЕСКТОП ===== */
@media(min-width:1024px){
  .hero{padding:120px 40px}
  .section{padding:100px 40px}
}

/* Hero overlay для фото-фона */
.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.55);
  z-index: 0;
}
.hero-content {
  position: relative;
  z-index: 1;
}

/* Галерея-карусель */
.gallery-slider {
  position: relative;
  overflow: hidden;
  border-radius: 20px;
}
.gallery-track {
  display: flex;
  transition: transform 0.5s ease;
}
.gallery-slide {
  min-width: 100%;
  padding: 0 10px;
}
.gallery-slide .gallery-item {
  aspect-ratio: 16/9;
  border-radius: 16px;
  min-height: 300px;
}
.gallery-prev, .gallery-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.2);
  border: none;
  color: #fff;
  font-size: 32px;
  padding: 10px 16px;
  cursor: pointer;
  border-radius: 10px;
  z-index: 2;
  transition: background 0.3s;
}
.gallery-prev:hover, .gallery-next:hover {
  background: rgba(255,255,255,0.4);
}
.gallery-prev { left: 10px; }
.gallery-next { right: 10px; }
.gallery-dots {
  text-align: center;
  padding: 15px;
}
.gallery-dots span {
  display: inline-block;
  width: 10px;
  height: 10px;
  background: rgba(255,255,255,0.3);
  border-radius: 50%;
  margin: 0 5px;
  cursor: pointer;
  transition: background 0.3s;
}
.gallery-dots span.active {
  background: #fff;
}
@media(max-width:768px){
  .gallery-slide .gallery-item { min-height: 200px; }
  .gallery-prev, .gallery-next { font-size: 24px; padding: 6px 12px; }
}

/* Hero карусель */
.hero-carousel {
  position: relative;
  overflow: hidden;
}
.hero-slides {
  position: absolute;
  inset: 0;
}
.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1s ease;
}
.hero-slide.active {
  opacity: 1;
}
.hero-dots {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  gap: 8px;
}
.hero-dots span {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255,255,255,0.4);
  cursor: pointer;
  transition: background 0.3s;
}
.hero-dots span.active {
  background: #fff;
}

/* Features с фото-фоном */
.section-features .card {
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(5px);
  border: 1px solid rgba(255,255,255,0.15);
}

/* Лайтбокс */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0,0,0,0.95);
  justify-content: center;
  align-items: center;
}
.lightbox.active {
  display: flex;
}
.lightbox img {
  max-width: 90vw;
  max-height: 90vh;
  border-radius: 12px;
  object-fit: contain;
}
.lightbox-close {
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 42px;
  color: #fff;
  cursor: pointer;
  z-index: 10;
  background: none;
  border: none;
}
.lightbox-prev, .lightbox-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 48px;
  color: #fff;
  cursor: pointer;
  background: rgba(255,255,255,0.1);
  border: none;
  padding: 10px 18px;
  border-radius: 10px;
  z-index: 10;
}
.lightbox-prev:hover, .lightbox-next:hover { background: rgba(255,255,255,0.3); }
.lightbox-prev { left: 20px; }
.lightbox-next { right: 20px; }
.lightbox-counter {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  color: #fff;
  font-size: 14px;
}
@media(max-width:768px){
  .lightbox-prev, .lightbox-next { font-size: 32px; padding: 6px 12px; }
  .lightbox-close { font-size: 32px; top: 10px; right: 15px; }
}

/* Галерея 3×2 */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.gallery-grid .gallery-item {
  aspect-ratio: 1/1;
  border-radius: 16px;
  cursor: pointer;
  transition: transform 0.3s, box-shadow 0.3s;
  min-height: 200px;
  background-size: cover;
  background-position: center;
  position: relative;
  overflow: hidden;
}
.gallery-grid .gallery-item:hover {
  transform: scale(1.03);
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}
.gallery-grid .gallery-item::after {
  content: "🔍";
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 36px;
  background: rgba(0,0,0,0.4);
  opacity: 0;
  transition: opacity 0.3s;
}
.gallery-grid .gallery-item:hover::after {
  opacity: 1;
}

@media(max-width:768px){
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
  .gallery-grid .gallery-item {
    min-height: 160px;
  }
}
@media(max-width:480px){
  .gallery-grid {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }
  .gallery-grid .gallery-item {
    min-height: 140px;
    border-radius: 12px;
  }
}

/* Карточка featured при наведении */
.card.featured:hover {
  border-color: #FFD700;
  background: rgba(255,215,0,0.08);
  box-shadow: 0 0 30px rgba(255,215,0,0.15);
}

/* Меню-попап */
.menu-popup {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 10000;
}
.menu-popup.active {
  display: block;
}
.menu-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.8);
  backdrop-filter: blur(4px);
}
.menu-content {
  position: relative;
  z-index: 1;
  max-width: 700px;
  max-height: 90vh;
  margin: 30px auto;
  background: linear-gradient(135deg, #1a1a2e, #2a2a3e);
  border-radius: 24px;
  padding: 40px 30px;
  overflow-y: auto;
  border: 1px solid rgba(255,255,255,0.1);
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}
.menu-close {
  position: absolute;
  top: 15px;
  right: 20px;
  font-size: 28px;
  background: none;
  border: none;
  color: #fff;
  cursor: pointer;
}
.menu-title {
  font-family: 'Georgia', 'Times New Roman', serif;
  font-style: italic;
  font-size: 42px;
  text-align: center;
  margin-bottom: 30px;
  color: #FFD700;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}
.menu-section {
  margin-bottom: 30px;
}
.menu-section h3 {
  font-size: 24px;
  color: #FFD700;
  margin-bottom: 15px;
  border-bottom: 1px solid rgba(255,215,0,0.3);
  padding-bottom: 8px;
}
.menu-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
}
.menu-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 16px;
  background: rgba(255,255,255,0.03);
  border-radius: 10px;
  transition: background 0.3s;
}
.menu-item:hover {
  background: rgba(255,215,0,0.1);
}
.menu-name {
  font-family: 'Georgia', 'Times New Roman', serif;
  font-style: italic;
  font-size: 18px;
  color: #ddd;
}
.menu-price {
  font-weight: 700;
  font-size: 18px;
  color: #FFD700;
  white-space: nowrap;
}

@media(max-width:768px){
  .menu-content {
    margin: 10px;
    padding: 25px 18px;
    border-radius: 18px;
  }
  .menu-title { font-size: 30px; }
  .menu-name { font-size: 15px; }
  .menu-price { font-size: 15px; }
}

/* Галерея 3×2 — компактная */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  max-width: 900px;
  margin: 0 auto;
}
.gallery-grid .gallery-item {
  aspect-ratio: 4/3;
  border-radius: 14px;
  cursor: pointer;
  transition: transform 0.3s, box-shadow 0.3s;
  min-height: 180px;
  background-size: cover;
  background-position: center;
  position: relative;
  overflow: hidden;
}
.gallery-grid .gallery-item:hover {
  transform: scale(1.04);
  box-shadow: 0 8px 25px rgba(0,0,0,0.5);
}
.gallery-grid .gallery-item::after {
  content: "🔍";
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  background: rgba(0,0,0,0.35);
  opacity: 0;
  transition: opacity 0.3s;
}
.gallery-grid .gallery-item:hover::after {
  opacity: 1;
}

/* Лайтбокс остаётся без изменений */
@media(max-width:768px){
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
  .gallery-grid .gallery-item {
    min-height: 160px;
  }
}
@media(max-width:480px){
  .gallery-grid {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }
  .gallery-grid .gallery-item {
    min-height: 140px;
  }
}

/* Мобильные отступы галереи */
@media(max-width:768px){
  .gallery-grid .gallery-item {
    margin-bottom: 14px;
  }
}
@media(max-width:480px){
  .gallery-grid .gallery-item {
    margin-bottom: 10px;
  }
}

/* Мобильная галерея — уменьшаем размер фото */
@media(max-width:768px){
  .gallery-grid .gallery-item {
    min-height: 120px !important;
    aspect-ratio: 1/1 !important;
  }
}
@media(max-width:480px){
  .gallery-grid .gallery-item {
    min-height: 100px !important;
    aspect-ratio: 1/1 !important;
  }
}

/* Карусель отзывов */
.reviews-slider {
  position: relative;
  overflow: hidden;
  max-width: 800px;
  margin: 0 auto;
}
.reviews-track {
  display: flex;
  transition: transform 0.5s ease;
  gap: 16px;
}
.rev-card {
  min-width: calc(33.33% - 12px);
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 16px;
  padding: 24px 20px;
  text-align: center;
  backdrop-filter: blur(10px);
}
.rev-stars {
  font-size: 20px;
  margin-bottom: 10px;
}
.rev-card p {
  font-size: 14px;
  color: #ccc;
  font-style: italic;
  margin-bottom: 10px;
}
.rev-card strong {
  color: #FFD700;
}
.rev-prev, .rev-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.15);
  border: none;
  color: #fff;
  font-size: 28px;
  padding: 8px 14px;
  cursor: pointer;
  border-radius: 8px;
  z-index: 2;
  transition: background 0.3s;
}
.rev-prev:hover, .rev-next:hover { background: rgba(255,255,255,0.3); }
.rev-prev { left: -10px; }
.rev-next { right: -10px; }
.reviews-dots {
  text-align: center;
  margin-top: 20px;
}
.reviews-dots span {
  display: inline-block;
  width: 8px;
  height: 8px;
  background: rgba(255,255,255,0.3);
  border-radius: 50%;
  margin: 0 4px;
  cursor: pointer;
  transition: background 0.3s;
}
.reviews-dots span.active { background: #FFD700; }

@media(max-width:768px){
  .rev-card {
    min-width: 100%;
  }
  .rev-prev, .rev-next { font-size: 22px; padding: 6px 10px; }
}

/* Hero badge крупнее */
.hero-badge {
  font-size: 16px !important;
  padding: 10px 24px !important;
}
/* Логотип по центру */
.nav-inner {
  justify-content: center !important;
}
.logo {
  text-align: center;
  margin: 0 auto;
  width: 100%;
  justify-content: center;
}

/* Показываем только первые 6 фото в галерее */
.gallery-grid .gallery-item:nth-child(n+7) {
    display: none;
}

/* В лайтбоксе все фото доступны */
.lightbox .lightbox-img {
    max-width: 90vw;
    max-height: 90vh;
}

/* FLOWERS */

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

.flower-card{
  background:rgba(255,255,255,0.04);
  border:1px solid rgba(255,255,255,0.08);
  border-radius:24px;
  overflow:hidden;
  transition:0.3s;
  backdrop-filter:blur(12px);
}

.flower-card:hover{
  transform:translateY(-6px);
  box-shadow:0 20px 50px rgba(0,0,0,0.4);
}

.flower-image{
  height:240px;
  background-size:cover;
  background-position:center;
}

.flower-content{
  padding:24px;
}

.flower-content h3{
  font-size:28px;
  margin-bottom:12px;
}

.flower-desc{
  color:#ccc;
  margin-bottom:16px;
}

.flower-price{
  font-size:30px;
  font-weight:800;
  color:#FFD700;
  margin-bottom:18px;
}

.flower-tags{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin-bottom:20px;
}

.flower-tags span{
  background:rgba(255,255,255,0.08);
  padding:8px 12px;
  border-radius:999px;
  font-size:13px;
}

.flower-btn{
  width:100%;
  border:none;
  border-radius:16px;
  padding:16px;
  font-size:16px;
  font-weight:700;
  cursor:pointer;
  background:linear-gradient(135deg,#ff4fa3,#ff84c1);
  color:#fff;
}

.flower-icon{
  position:absolute;
  margin:16px;
  z-index:2;
  background:rgba(0,0,0,0.5);
  width:46px;
  height:46px;
  border-radius:50%;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:22px;
}

/* =========================================
   GLASS EFFECTS
========================================= */

.card,
.feature-card,
.stat-card,
.review-card{

  backdrop-filter:blur(18px);
  -webkit-backdrop-filter:blur(18px);

  background:rgba(255,255,255,0.06);

  border:1px solid rgba(255,255,255,0.08);

  box-shadow:
    0 10px 40px rgba(0,0,0,0.35);

}

/* hover */

.card:hover,
.feature-card:hover,
.stat-card:hover,
.review-card:hover{

  transform:translateY(-8px);

  box-shadow:
    0 20px 60px rgba(0,0,0,0.5);

}

/* =========================================
   PREMIUM BUTTONS
========================================= */

.btn{

  position:relative;
  overflow:hidden;

  transition:
    transform .25s ease,
    box-shadow .25s ease;

}

.btn:hover{

  transform:translateY(-3px);

  box-shadow:
    0 12px 40px rgba(108,99,255,0.45);

}

.btn::before{

  content:'';

  position:absolute;

  top:0;
  left:-120%;

  width:80%;
  height:100%;

  background:
    linear-gradient(
      90deg,
      transparent,
      rgba(255,255,255,0.25),
      transparent
    );

  transform:skewX(-20deg);

}

.btn:hover::before{

  animation:btnShine .8s ease;

}

@keyframes btnShine{

  100%{
    left:140%;
  }

}

/* =========================================
   REVEAL ANIMATIONS
========================================= */

.reveal{

  opacity:0;

  transform:
    translateY(40px)
    scale(.98);

  transition:
    opacity .8s ease,
    transform .8s ease;

}

.revealed{

  opacity:1;

  transform:
    translateY(0)
    scale(1);

}

/* =========================================
   PARALLAX HERO
========================================= */

.parallax-hero{

  position:relative;
  overflow:hidden;

}

.parallax-hero::before{

  content:'';

  position:absolute;
  inset:-10%;

  background:
    radial-gradient(
      circle at 20% 20%,
      rgba(255,255,255,0.12),
      transparent 40%
    ),
    radial-gradient(
      circle at 80% 30%,
      rgba(108,99,255,0.25),
      transparent 40%
    ),
    radial-gradient(
      circle at 50% 80%,
      rgba(255,255,255,0.08),
      transparent 40%
    );

  animation:heroFloat 18s linear infinite;

  z-index:0;

}

@keyframes heroFloat{

  0%{
    transform:translateY(0px) scale(1);
  }

  50%{
    transform:translateY(-20px) scale(1.05);
  }

  100%{
    transform:translateY(0px) scale(1);
  }

}

/* =========================================
   PARTICLES
========================================= */

.hero-particles{

  position:absolute;
  inset:0;

  overflow:hidden;

  pointer-events:none;

}

.hero-particles span{

  position:absolute;

  width:12px;
  height:12px;

  border-radius:50%;

  background:
    rgba(255,255,255,0.18);

  animation:
    floatParticle linear infinite;

}

.hero-particles span:nth-child(1){
  left:10%;
  animation-duration:12s;
  animation-delay:0s;
}

.hero-particles span:nth-child(2){
  left:30%;
  animation-duration:18s;
  animation-delay:2s;
}

.hero-particles span:nth-child(3){
  left:55%;
  animation-duration:15s;
  animation-delay:4s;
}

.hero-particles span:nth-child(4){
  left:75%;
  animation-duration:20s;
  animation-delay:1s;
}

.hero-particles span:nth-child(5){
  left:90%;
  animation-duration:16s;
  animation-delay:3s;
}

@keyframes floatParticle{

  0%{

    transform:
      translateY(120%)
      scale(0);

    opacity:0;

  }

  20%{
    opacity:1;
  }

  100%{

    transform:
      translateY(-120vh)
      scale(1.4);

    opacity:0;

  }

}

/* =========================================
   REVEAL EFFECTS
========================================= */

.card,
.gallery-item,
.feature,
.stat,
.review-card,
.contact-card,
.catalog-card,
.menu-card{

  opacity:0;
  transform:translateY(40px) scale(.96);
  transition:
    opacity .7s ease,
    transform .7s ease;

  will-change:transform,opacity;

}

.card.revealed,
.gallery-item.revealed,
.feature.revealed,
.stat.revealed,
.review-card.revealed,
.contact-card.revealed,
.catalog-card.revealed,
.menu-card.revealed{

  opacity:1;
  transform:none;

}

/* Hover glow */

.card:hover,
.catalog-card:hover,
.menu-card:hover{

  transform:translateY(-8px) scale(1.02);

  box-shadow:
    0 20px 60px rgba(0,0,0,.45),
    0 0 30px rgba(108,99,255,.25);

}

/* Gallery zoom */

.gallery-item{

  overflow:hidden;
}

.gallery-item::after{

  content:'';
  position:absolute;
  inset:0;

  background:linear-gradient(
    180deg,
    transparent,
    rgba(0,0,0,.25)
  );

  opacity:0;
  transition:.4s;

}

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

.gallery-item:hover{

  transform:scale(1.04);

}

#worktime-dropdown{
  display:none;
  transition:all .3s ease;
}

#worktime-dropdown.active{
  display:block;
}

.footer-social{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:42px;
  height:42px;
  padding:0 14px;
  border-radius:999px;
  background:rgba(255,255,255,0.08);
  color:#fff;
  text-decoration:none;
  transition:.25s;
}

.footer-social:hover{
  transform:translateY(-3px);
  background:rgba(255,255,255,0.16);
}

/* Принудительное центрирование карточек */
.catalog-card .card-content {
    text-align: center !important;
}
.catalog-card .card-tags {
    justify-content: center !important;
}
.catalog-card .card-tags span {
    display: inline-block !important;
    text-align: center !important;
}

/* Фиксируем высоту карточек и выравниваем цены */
.catalog-card {
    display: flex;
    flex-direction: column;
    height: 100%;
}
.catalog-card .card-desc {
    min-height: 65px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}
.catalog-card .card-price {
    margin-top: 10px;
}
.catalog-card .card-btn {
    margin-top: auto;
}

.service-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    padding: 15px 20px;
    background: rgba(255,255,255,0.05);
    border-radius: 12px;
    margin-bottom: 10px;
    transition: all 0.3s;
}
.service-item:hover {
    background: rgba(233,30,99,0.2);
    transform: translateX(5px);
}
.service-price {
    font-size: 18px;
    font-weight: bold;
    color: #FFD700;
}

/* Анимация появления карточек */
.reveal-left {
  opacity: 0;
  transform: translateX(-60px);
  transition: 0.8s ease;
}
.reveal-right {
  opacity: 0;
  transform: translateX(60px);
  transition: 0.8s ease;
}
.reveal-visible {
  opacity: 1;
  transform: none;
}

.hero-title-glow {
  font-size: 56px;
  font-weight: 800;
  background: linear-gradient(90deg, #fff, #ffd6a5, #ffb703);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: glowMove 4s ease-in-out infinite;
}

@keyframes glowMove {
  0% { filter: drop-shadow(0 0 0px rgba(255,183,3,0.2)); }
  50% { filter: drop-shadow(0 0 18px rgba(255,183,3,0.5)); }
  100% { filter: drop-shadow(0 0 0px rgba(255,183,3,0.2)); }
}

.hero-title-line1 {
  display:block;
  font-size:48px;
  font-weight:800;
  background: linear-gradient(90deg, #fff, #ffccff, #ffffff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: glowText 3s infinite ease-in-out;
}

.hero-title-line2 {
  display:block;
  font-size:22px;
  opacity:0.9;
  margin-top:6px;
  letter-spacing:0.5px;
}

@keyframes glowText {
  0% { filter: drop-shadow(0 0 0px rgba(255,255,255,0)); }
  50% { filter: drop-shadow(0 0 10px rgba(255,255,255,0.4)); }
  100% { filter: drop-shadow(0 0 0px rgba(255,255,255,0)); }
}


@media (max-width: 768px) {
  body {
    padding-bottom: 120px;
  }

  .project-card,
  .tech-card,
  .stat-card,
  .card {
    overflow: hidden;
  }

  .project-image {
    min-height: 220px;
    background: #111;
  }

  .project-image img {
    display: block;
    width: 100%;
    height: 220px;
    object-fit: cover;
  }
}

@media (max-width: 768px) {
  .project-card,
  .project-info,
  .project-info h3,
  .project-price,
  .project-time,
  .project-specs {
    text-align: center !important;
    justify-content: center !important;
  }

  .project-specs {
    display: flex !important;
    width: 100% !important;
  }

  .project-btn {
    width: 100% !important;
  }

  .tech-card {
    text-align: center !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
  }

  .tech-card h3,
  .tech-card p {
    text-align: center !important;
    width: 100% !important;
  }

  .tech-icon {
    margin-left: auto !important;
    margin-right: auto !important;
  }

  .stat-card {
    text-align: center !important;
  }

  body {
    padding-bottom: 130px !important;
  }
}

/* MOBILE CENTER FIX: projects + technology */
@media (max-width: 768px) {
  .project-card,
  .project-info,
  .project-info h3,
  .project-price,
  .project-time {
    text-align: center !important;
  }

  .project-specs {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    flex-wrap: wrap !important;
    width: 100% !important;
    text-align: center !important;
  }

  .project-specs span {
    text-align: center !important;
  }

  .project-btn {
    margin-left: auto !important;
    margin-right: auto !important;
  }

  .tech-card {
    text-align: center !important;
    align-items: center !important;
  }

  .tech-icon {
    margin-left: auto !important;
    margin-right: auto !important;
  }

  .tech-card h3,
  .tech-card p {
    text-align: center !important;
    width: 100% !important;
  }
}

/* ===== V39.43.28 Theme Engine MVP ===== */
:root{
  --page-bg:#0a0a0f;
  --text:#ffffff;
  --muted:#a1a1aa;
  --card-bg:rgba(255,255,255,0.03);
  --card-bg-strong:rgba(255,255,255,0.06);
  --line:rgba(255,255,255,0.08);
  --section-bg:rgba(255,255,255,0.02);
  --footer-bg:rgba(5,8,18,0.96);
  --footer-text:#e5e7eb;
  --footer-muted:#a1a1aa;
  --shadow:0 18px 50px rgba(0,0,0,.24);
}

body.theme-standard{
  --page-bg:#f7f8fb;
  --text:#101827;
  --muted:#5b6472;
  --card-bg:#ffffff;
  --card-bg-strong:#ffffff;
  --line:rgba(15,23,42,.10);
  --section-bg:#ffffff;
  --footer-bg:#0f172a;
  --footer-text:#f8fafc;
  --footer-muted:#cbd5e1;
  --shadow:0 16px 38px rgba(15,23,42,.10);
}

body.theme-minimal{
  --page-bg:#ffffff;
  --text:#111827;
  --muted:#6b7280;
  --card-bg:#ffffff;
  --card-bg-strong:#fafafa;
  --line:rgba(17,24,39,.08);
  --section-bg:#ffffff;
  --footer-bg:#f8fafc;
  --footer-text:#111827;
  --footer-muted:#6b7280;
  --shadow:0 10px 28px rgba(17,24,39,.07);
}

body.theme-dark{
  --page-bg:#0a0a0f;
  --text:#ffffff;
  --muted:#a1a1aa;
  --card-bg:rgba(255,255,255,0.03);
  --card-bg-strong:rgba(255,255,255,0.06);
  --line:rgba(255,255,255,0.08);
  --section-bg:rgba(255,255,255,0.02);
  --footer-bg:rgba(5,8,18,0.96);
  --footer-text:#e5e7eb;
  --footer-muted:#a1a1aa;
  --shadow:0 18px 50px rgba(0,0,0,.24);
}

body.theme-premium{
  --page-bg:#070812;
  --text:#ffffff;
  --muted:#b8bdd0;
  --card-bg:rgba(255,255,255,0.055);
  --card-bg-strong:rgba(255,255,255,0.09);
  --line:rgba(255,255,255,0.13);
  --section-bg:rgba(255,255,255,0.035);
  --footer-bg:linear-gradient(135deg,rgba(7,8,18,.98),rgba(27,18,48,.98));
  --footer-text:#ffffff;
  --footer-muted:#c7c9d9;
  --shadow:0 24px 70px rgba(108,99,255,.18);
}

body.theme-standard,
body.theme-minimal,
body.theme-dark,
body.theme-premium{
  background:var(--page-bg)!important;
  color:var(--text)!important;
}

body.theme-standard .section,
body.theme-minimal .section{
  background:var(--section-bg);
}

body.theme-standard .section-dark,
body.theme-minimal .section-dark{
  background:#f7f8fb!important;
}

body.theme-standard .card,
body.theme-minimal .card{
  background:var(--card-bg)!important;
  color:var(--text)!important;
  border:1px solid var(--line)!important;
  box-shadow:var(--shadow);
  backdrop-filter:none;
}

body.theme-standard .card p,
body.theme-minimal .card p,
body.theme-standard .section-subtitle,
body.theme-minimal .section-subtitle{
  color:var(--muted)!important;
}

body.theme-standard .hero,
body.theme-minimal .hero{
  color:#fff;
}

body.theme-standard .hero-overlay,
body.theme-minimal .hero-overlay{
  background:rgba(0,0,0,.28)!important;
}

body.theme-minimal .hero-overlay{
  background:rgba(0,0,0,.18)!important;
}

body.theme-premium .card{
  box-shadow:0 0 0 1px rgba(255,255,255,.07),0 24px 70px rgba(108,99,255,.18);
}

body.theme-premium .section-badge,
body.theme-premium .hero-badge{
  box-shadow:0 0 28px rgba(108,99,255,.35);
}

/* ===== V39.43.28 Footer PRO ===== */
.footer-pro{
  background:var(--footer-bg);
  color:var(--footer-text);
  padding:54px 16px 26px;
  border-top:1px solid var(--line);
}

.footer-pro a{
  color:inherit;
  text-decoration:none;
}

.footer-pro-grid{
  display:grid;
  grid-template-columns:1.4fr .9fr .9fr;
  gap:28px;
  align-items:start;
}

.footer-pro-brand{
  font-size:24px;
  font-weight:900;
  margin-bottom:12px;
}

.footer-pro-desc{
  color:var(--footer-muted);
  max-width:520px;
  line-height:1.65;
  margin-bottom:18px;
}

.footer-pro-contact{
  display:flex;
  flex-direction:column;
  gap:8px;
  color:var(--footer-muted);
  font-size:14px;
}

.footer-pro-title{
  font-size:14px;
  font-weight:900;
  text-transform:uppercase;
  letter-spacing:.08em;
  color:var(--footer-text);
  margin-bottom:12px;
}

.footer-pro-links{
  display:grid;
  gap:9px;
}

.footer-pro-links a{
  color:var(--footer-muted);
  font-size:14px;
}

.footer-pro-links a:hover{
  color:var(--c2,#8B85FF);
}

.footer-pro-actions{
  display:flex;
  flex-wrap:wrap;
  gap:9px;
  margin-top:14px;
}

.footer-pro-bottom{
  margin-top:34px;
  padding-top:18px;
  border-top:1px solid var(--line);
  display:flex;
  justify-content:space-between;
  gap:14px;
  flex-wrap:wrap;
  color:var(--footer-muted);
  font-size:13px;
}

body.theme-minimal .footer-pro{
  border-top:1px solid rgba(17,24,39,.08);
}

body.theme-standard .footer-pro{
  background:#0f172a;
}

body.theme-premium .footer-pro{
  position:relative;
  overflow:hidden;
}

body.theme-premium .footer-pro:before{
  content:"";
  position:absolute;
  inset:-40%;
  background:radial-gradient(circle at 20% 20%,rgba(108,99,255,.28),transparent 32%),
             radial-gradient(circle at 80% 0%,rgba(255,79,163,.18),transparent 30%);
  pointer-events:none;
}

body.theme-premium .footer-pro > .container{
  position:relative;
  z-index:1;
}

@media(max-width:850px){
  .footer-pro-grid{
    grid-template-columns:1fr;
  }
  .footer-pro-bottom{
    flex-direction:column;
  }
}


/* ===== V39.43.29 Design Polish: Standard / Minimal / Premium ===== */

/* Global readability fixes */
body.theme-standard,
body.theme-minimal{
  --c1:#6C63FF;
  --c2:#8B85FF;
  --text:#111827;
  --muted:#596173;
  --page-bg:#f7f8fc;
  --section-bg:#ffffff;
  --card-bg:#ffffff;
  --line:rgba(17,24,39,.10);
  font-family:Inter,Arial,sans-serif;
}

body.theme-minimal{
  --page-bg:#ffffff;
  --section-bg:#ffffff;
  --card-bg:#ffffff;
  --muted:#667085;
}

/* Nav: light themes must not have dark unreadable header */
body.theme-standard .nav,
body.theme-minimal .nav{
  background:rgba(255,255,255,.92)!important;
  border-bottom:1px solid rgba(17,24,39,.08)!important;
  backdrop-filter:blur(16px);
  box-shadow:0 8px 30px rgba(15,23,42,.06);
}

body.theme-standard .nav a,
body.theme-minimal .nav a,
body.theme-standard .logo,
body.theme-minimal .logo{
  color:#111827!important;
  text-shadow:none!important;
}

body.theme-standard .lang-switch a,
body.theme-minimal .lang-switch a{
  color:#111827!important;
  background:#fff!important;
  border:1px solid rgba(17,24,39,.10)!important;
}

body.theme-standard .lang-switch a.active,
body.theme-minimal .lang-switch a.active{
  color:#fff!important;
  background:linear-gradient(135deg,var(--c1),var(--c2))!important;
}

/* Hero standard/minimal: readable clean light hero */
body.theme-standard .hero,
body.theme-minimal .hero{
  min-height:620px!important;
  color:#111827!important;
  background:#fff!important;
  overflow:hidden;
}

body.theme-standard .hero-slides,
body.theme-minimal .hero-slides{
  right:0!important;
  left:auto!important;
  width:58%!important;
  opacity:1!important;
  filter:none!important;
}

body.theme-standard .hero-slide,
body.theme-minimal .hero-slide{
  opacity:1!important;
  background-size:cover!important;
  background-position:center!important;
}

body.theme-standard .hero-overlay,
body.theme-minimal .hero-overlay{
  background:linear-gradient(90deg,#fff 0%,rgba(255,255,255,.96) 32%,rgba(255,255,255,.72) 54%,rgba(255,255,255,.15) 100%)!important;
}

body.theme-standard .hero-content,
body.theme-minimal .hero-content{
  max-width:1180px!important;
  margin:0 auto!important;
  padding:130px 24px 90px!important;
  text-align:left!important;
  align-items:flex-start!important;
}

body.theme-standard .hero-title,
body.theme-minimal .hero-title{
  color:#111827!important;
  text-shadow:none!important;
  font-size:clamp(44px,6vw,78px)!important;
  line-height:1.02!important;
  letter-spacing:-.04em;
  max-width:600px;
}

body.theme-standard .hero-title-line2,
body.theme-minimal .hero-title-line2{
  color:#111827!important;
}

body.theme-standard .hero-subtitle,
body.theme-minimal .hero-subtitle{
  color:#374151!important;
  font-size:20px!important;
  max-width:520px;
}

body.theme-standard .hero-badge,
body.theme-minimal .hero-badge{
  color:#5b21b6!important;
  background:rgba(108,99,255,.10)!important;
  border:1px solid rgba(108,99,255,.20)!important;
  box-shadow:none!important;
}

body.theme-standard .btn-outline,
body.theme-minimal .btn-outline{
  color:#111827!important;
  background:#ffffff!important;
  border:1px solid rgba(108,99,255,.28)!important;
  box-shadow:0 8px 22px rgba(108,99,255,.08);
}

body.theme-standard .btn-primary,
body.theme-minimal .btn-primary{
  color:#fff!important;
  background:linear-gradient(135deg,#6C63FF,#8B85FF)!important;
  border:0!important;
  box-shadow:0 12px 28px rgba(108,99,255,.25);
}

/* Light sections/cards/readability */
body.theme-standard .section,
body.theme-minimal .section{
  background:var(--section-bg)!important;
  color:#111827!important;
  padding:76px 20px!important;
}

body.theme-standard .section-dark,
body.theme-minimal .section-dark{
  background:#f7f8fc!important;
  color:#111827!important;
}

body.theme-minimal .section-dark{
  background:#ffffff!important;
}

body.theme-standard .section-header h2,
body.theme-minimal .section-header h2,
body.theme-standard h2,
body.theme-minimal h2,
body.theme-standard h3,
body.theme-minimal h3{
  color:#111827!important;
  text-shadow:none!important;
}

body.theme-standard .section-subtitle,
body.theme-minimal .section-subtitle,
body.theme-standard p,
body.theme-minimal p{
  color:#596173!important;
}

body.theme-standard .card,
body.theme-minimal .card,
body.theme-standard .stat-card,
body.theme-minimal .stat-card,
body.theme-standard .project-card,
body.theme-minimal .project-card,
body.theme-standard .tech-card,
body.theme-minimal .tech-card,
body.theme-standard .rev-card,
body.theme-minimal .rev-card{
  background:#fff!important;
  color:#111827!important;
  border:1px solid rgba(17,24,39,.10)!important;
  box-shadow:0 16px 38px rgba(15,23,42,.08)!important;
}

body.theme-minimal .card,
body.theme-minimal .stat-card,
body.theme-minimal .project-card,
body.theme-minimal .tech-card,
body.theme-minimal .rev-card{
  box-shadow:none!important;
  border:1px solid rgba(17,24,39,.08)!important;
}

body.theme-standard .stat-label,
body.theme-minimal .stat-label,
body.theme-standard .tech-card p,
body.theme-minimal .tech-card p,
body.theme-standard .project-specs,
body.theme-minimal .project-specs{
  color:#596173!important;
}

body.theme-standard .section-badge,
body.theme-minimal .section-badge,
body.theme-standard .card-icon,
body.theme-minimal .card-icon,
body.theme-standard .tech-icon,
body.theme-minimal .tech-icon{
  background:rgba(108,99,255,.10)!important;
  color:#6C63FF!important;
  border:1px solid rgba(108,99,255,.16)!important;
}

/* Light catalog cards have inline dark styles, force them readable */
body.theme-standard .catalog-card,
body.theme-minimal .catalog-card{
  background:#fff!important;
  color:#111827!important;
  border:1px solid rgba(17,24,39,.10)!important;
  box-shadow:0 16px 38px rgba(15,23,42,.08)!important;
  backdrop-filter:none!important;
}

body.theme-minimal .catalog-card{
  box-shadow:none!important;
}

body.theme-standard .catalog-card h3,
body.theme-minimal .catalog-card h3{
  color:#111827!important;
}

body.theme-standard .catalog-card .card-desc,
body.theme-minimal .catalog-card .card-desc{
  color:#596173!important;
  opacity:1!important;
}

body.theme-standard .card-tags span,
body.theme-minimal .card-tags span{
  background:rgba(108,99,255,.10)!important;
  color:#5b21b6!important;
}

/* Map/contact light readability */
body.theme-standard .section-map iframe,
body.theme-minimal .section-map iframe{
  filter:none!important;
}

body.theme-standard .form-input,
body.theme-minimal .form-input{
  background:#fff!important;
  color:#111827!important;
  border:1px solid rgba(17,24,39,.14)!important;
}

/* Minimal specific */
body.theme-minimal .hero{
  min-height:560px!important;
}

body.theme-minimal .hero-title{
  font-family:Georgia,'Times New Roman',serif!important;
  font-weight:700!important;
}

body.theme-minimal .hero-slides{
  width:52%!important;
}

body.theme-minimal .section{
  padding:66px 20px!important;
}

body.theme-minimal .section-badge{
  background:transparent!important;
  border:0!important;
}

/* Premium close to generated design */
body.theme-premium{
  --c1:#7C3AED;
  --c2:#EC4899;
  --page-bg:#060913;
  --text:#f8fafc;
  --muted:#cbd5e1;
  background:
    radial-gradient(circle at 15% 0%,rgba(124,58,237,.22),transparent 28%),
    radial-gradient(circle at 85% 20%,rgba(236,72,153,.16),transparent 26%),
    #060913!important;
}

body.theme-premium .nav{
  background:rgba(6,9,19,.84)!important;
  border-bottom:1px solid rgba(255,255,255,.10)!important;
  backdrop-filter:blur(18px);
}

body.theme-premium .hero{
  min-height:650px!important;
  border-bottom:1px solid rgba(255,255,255,.10);
}

body.theme-premium .hero-overlay{
  background:
    linear-gradient(90deg,rgba(6,9,19,.96) 0%,rgba(6,9,19,.78) 42%,rgba(6,9,19,.24) 100%)!important;
}

body.theme-premium .hero-title{
  color:#fff!important;
  text-shadow:0 18px 60px rgba(124,58,237,.28)!important;
}

body.theme-premium .hero-title-line1,
body.theme-premium .hero-title-line2{
  background:linear-gradient(135deg,#ffffff,#b794ff,#ff69bc);
  -webkit-background-clip:text;
  background-clip:text;
  color:transparent!important;
}

body.theme-premium .card,
body.theme-premium .stat-card,
body.theme-premium .project-card,
body.theme-premium .tech-card,
body.theme-premium .rev-card,
body.theme-premium .catalog-card{
  background:rgba(255,255,255,.055)!important;
  border:1px solid rgba(255,255,255,.14)!important;
  box-shadow:0 24px 70px rgba(0,0,0,.28),0 0 36px rgba(124,58,237,.10)!important;
}

body.theme-premium .section-header h2,
body.theme-premium h2,
body.theme-premium h3{
  color:#fff!important;
}

body.theme-premium .section-subtitle,
body.theme-premium p{
  color:#cbd5e1!important;
}

body.theme-premium .btn-primary,
body.theme-premium .card-btn{
  background:linear-gradient(135deg,#EC4899,#7C3AED)!important;
  box-shadow:0 0 30px rgba(236,72,153,.25)!important;
}

/* Footer fixes */
.footer-pro-brand{
  white-space:normal;
}

.footer-pro-brand:first-letter{
  letter-spacing:0;
}

.footer-pro .btn{
  min-height:38px;
}



/* =========================================================
   V39.43.30 — AI Design Reference Themes
   Extra styles:
   - ai-light-split
   - ai-minimal-air
   - ai-premium-neon
   These do not replace standard/minimal/dark/premium.
========================================================= */

/* ---------- shared AI theme base ---------- */

body.theme-ai-light-split,
body.theme-ai-minimal-air,
body.theme-ai-premium-neon {
  --v88-radius-xl: 28px;
  --v88-radius-lg: 20px;
  --v88-radius-md: 14px;
  --v88-shadow-soft: 0 18px 55px rgba(15, 23, 42, .10);
  --v88-shadow-card: 0 10px 28px rgba(15, 23, 42, .08);
  --v88-section-y: clamp(70px, 8vw, 120px);
}

body.theme-ai-light-split section,
body.theme-ai-minimal-air section,
body.theme-ai-premium-neon section {
  position: relative;
}

body.theme-ai-light-split .section,
body.theme-ai-minimal-air .section,
body.theme-ai-premium-neon .section {
  padding-top: var(--v88-section-y);
  padding-bottom: var(--v88-section-y);
}

body.theme-ai-light-split h1,
body.theme-ai-minimal-air h1,
body.theme-ai-premium-neon h1 {
  letter-spacing: -0.045em;
}

body.theme-ai-light-split h2,
body.theme-ai-minimal-air h2,
body.theme-ai-premium-neon h2 {
  letter-spacing: -0.035em;
}

body.theme-ai-light-split .badge,
body.theme-ai-minimal-air .badge,
body.theme-ai-premium-neon .badge,
body.theme-ai-light-split .section-badge,
body.theme-ai-minimal-air .section-badge,
body.theme-ai-premium-neon .section-badge {
  border-radius: 999px;
  font-weight: 700;
  letter-spacing: .01em;
}

/* =========================================================
   AI LIGHT SPLIT
   Reference: clean white split hero, purple accent, photo right
========================================================= */

body.theme-ai-light-split {
  background: #ffffff;
  color: #101828;
  --bg: #ffffff;
  --surface: #ffffff;
  --surface-2: #f7f7ff;
  --text: #101828;
  --muted: #667085;
  --accent: #7c5cff;
  --accent-2: #ffb703;
  --border: rgba(124, 92, 255, .16);
}

body.theme-ai-light-split .site-nav,
body.theme-ai-light-split header,
body.theme-ai-light-split .nav {
  background: rgba(255,255,255,.88) !important;
  color: #101828 !important;
  border-bottom: 1px solid rgba(15,23,42,.08);
  backdrop-filter: blur(18px);
  box-shadow: 0 8px 30px rgba(15,23,42,.06);
}

body.theme-ai-light-split .hero {
  min-height: 560px;
  background:
    radial-gradient(circle at 18% 22%, rgba(124,92,255,.13), transparent 32%),
    linear-gradient(90deg, #ffffff 0%, #ffffff 48%, #f0f1f7 48%, #f0f1f7 100%);
  overflow: hidden;
}

body.theme-ai-light-split .hero::before {
  content: "";
  position: absolute;
  inset: 0 0 0 auto;
  width: 52%;
  background: linear-gradient(90deg, rgba(255,255,255,.72), rgba(255,255,255,.06));
  z-index: 1;
  pointer-events: none;
}

body.theme-ai-light-split .hero .container,
body.theme-ai-light-split .hero-inner {
  position: relative;
  z-index: 2;
}

body.theme-ai-light-split .hero h1 {
  color: #101828 !important;
  font-size: clamp(42px, 6vw, 76px);
  line-height: .95;
}

body.theme-ai-light-split .hero p,
body.theme-ai-light-split .hero .subtitle,
body.theme-ai-light-split .hero .lead {
  color: #475467 !important;
  font-size: clamp(16px, 1.55vw, 21px);
}

body.theme-ai-light-split .hero img,
body.theme-ai-light-split .hero-bg,
body.theme-ai-light-split .hero-image {
  filter: grayscale(1) contrast(1.04) brightness(1.06);
}

body.theme-ai-light-split .btn-primary,
body.theme-ai-light-split button[type="submit"],
body.theme-ai-light-split .cta-primary {
  background: linear-gradient(135deg, #7c5cff, #6d5dfc) !important;
  color: #fff !important;
  border: 0 !important;
  box-shadow: 0 14px 30px rgba(124,92,255,.28);
}

body.theme-ai-light-split .btn,
body.theme-ai-light-split .cta,
body.theme-ai-light-split .messenger-btn {
  border-radius: 13px;
}

body.theme-ai-light-split .card,
body.theme-ai-light-split .feature-card,
body.theme-ai-light-split .stat-card,
body.theme-ai-light-split .project-card,
body.theme-ai-light-split .tech-card,
body.theme-ai-light-split .service-card,
body.theme-ai-light-split .contact-card {
  background: #ffffff !important;
  color: #101828 !important;
  border: 1px solid rgba(124,92,255,.14) !important;
  box-shadow: var(--v88-shadow-card);
  border-radius: var(--v88-radius-lg);
}

body.theme-ai-light-split .section-title,
body.theme-ai-light-split section h2 {
  color: #101828 !important;
}

body.theme-ai-light-split .section-subtitle,
body.theme-ai-light-split section p {
  color: #667085;
}

body.theme-ai-light-split footer,
body.theme-ai-light-split .footer,
body.theme-ai-light-split .footer-pro {
  background: #f3f6fb !important;
  color: #101828 !important;
  border-top: 1px solid rgba(15,23,42,.08);
}

/* =========================================================
   AI MINIMAL AIR
   Reference: quiet, lots of air, editorial, soft cards
========================================================= */

body.theme-ai-minimal-air {
  background: #f7f8fc;
  color: #111827;
  --bg: #f7f8fc;
  --surface: #ffffff;
  --surface-2: #f1f3f9;
  --text: #111827;
  --muted: #6b7280;
  --accent: #6d5dfc;
  --accent-2: #f59e0b;
  --border: rgba(17,24,39,.08);
}

body.theme-ai-minimal-air .site-nav,
body.theme-ai-minimal-air header,
body.theme-ai-minimal-air .nav {
  background: rgba(255,255,255,.78) !important;
  border-bottom: 1px solid rgba(17,24,39,.07);
  backdrop-filter: blur(20px);
  box-shadow: none !important;
}

body.theme-ai-minimal-air .hero {
  min-height: 520px;
  background:
    linear-gradient(90deg, #ffffff 0%, #ffffff 46%, #eef1f8 46%, #eef1f8 100%);
  overflow: hidden;
}

body.theme-ai-minimal-air .hero h1 {
  color: #111827 !important;
  font-size: clamp(38px, 5.2vw, 68px);
  line-height: .98;
  font-weight: 780;
}

body.theme-ai-minimal-air .hero p,
body.theme-ai-minimal-air .hero .subtitle,
body.theme-ai-minimal-air .hero .lead {
  color: #697386 !important;
}

body.theme-ai-minimal-air .hero img,
body.theme-ai-minimal-air .hero-bg,
body.theme-ai-minimal-air .hero-image {
  filter: grayscale(1) contrast(.96) brightness(1.08);
  opacity: .9;
}

body.theme-ai-minimal-air .section,
body.theme-ai-minimal-air section {
  background: transparent;
}

body.theme-ai-minimal-air .card,
body.theme-ai-minimal-air .feature-card,
body.theme-ai-minimal-air .stat-card,
body.theme-ai-minimal-air .project-card,
body.theme-ai-minimal-air .tech-card,
body.theme-ai-minimal-air .service-card,
body.theme-ai-minimal-air .contact-card {
  background: rgba(255,255,255,.86) !important;
  color: #111827 !important;
  border: 1px solid rgba(17,24,39,.08) !important;
  box-shadow: 0 12px 35px rgba(17,24,39,.045);
  border-radius: 22px;
}

body.theme-ai-minimal-air .btn-primary,
body.theme-ai-minimal-air button[type="submit"],
body.theme-ai-minimal-air .cta-primary {
  background: #6d5dfc !important;
  color: #fff !important;
  box-shadow: 0 12px 24px rgba(109,93,252,.22);
}

body.theme-ai-minimal-air .section-title,
body.theme-ai-minimal-air section h2 {
  color: #111827 !important;
}

body.theme-ai-minimal-air .section-subtitle,
body.theme-ai-minimal-air section p {
  color: #6b7280;
}

body.theme-ai-minimal-air footer,
body.theme-ai-minimal-air .footer,
body.theme-ai-minimal-air .footer-pro {
  background: #071120 !important;
  color: #f8fafc !important;
}

/* =========================================================
   AI PREMIUM NEON
   Reference: dark cinematic, glass cards, purple/magenta glow
========================================================= */

body.theme-ai-premium-neon {
  background:
    radial-gradient(circle at 12% 8%, rgba(168,85,247,.18), transparent 30%),
    radial-gradient(circle at 86% 10%, rgba(236,72,153,.16), transparent 28%),
    #050713;
  color: #f8fafc;
  --bg: #050713;
  --surface: rgba(255,255,255,.07);
  --surface-2: rgba(255,255,255,.10);
  --text: #f8fafc;
  --muted: #b8bfd6;
  --accent: #a855f7;
  --accent-2: #ec4899;
  --border: rgba(255,255,255,.12);
}

body.theme-ai-premium-neon .site-nav,
body.theme-ai-premium-neon header,
body.theme-ai-premium-neon .nav {
  background: rgba(5,7,19,.72) !important;
  color: #f8fafc !important;
  border-bottom: 1px solid rgba(255,255,255,.10);
  backdrop-filter: blur(22px);
  box-shadow: 0 16px 50px rgba(0,0,0,.24);
}

body.theme-ai-premium-neon .hero {
  min-height: 620px;
  background:
    radial-gradient(circle at 45% 35%, rgba(168,85,247,.25), transparent 36%),
    radial-gradient(circle at 80% 20%, rgba(236,72,153,.22), transparent 28%),
    linear-gradient(180deg, rgba(5,7,19,.78), rgba(5,7,19,.98));
  overflow: hidden;
}

body.theme-ai-premium-neon .hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 180px;
  background: linear-gradient(180deg, transparent, #050713);
  pointer-events: none;
}

body.theme-ai-premium-neon .hero h1 {
  color: #fff !important;
  text-shadow: 0 0 34px rgba(168,85,247,.38);
  font-size: clamp(44px, 6.4vw, 82px);
  line-height: .94;
}

body.theme-ai-premium-neon .hero p,
body.theme-ai-premium-neon .hero .subtitle,
body.theme-ai-premium-neon .hero .lead {
  color: #d9def2 !important;
}

body.theme-ai-premium-neon .hero img,
body.theme-ai-premium-neon .hero-bg,
body.theme-ai-premium-neon .hero-image {
  filter: grayscale(1) contrast(1.12) brightness(.72);
  opacity: .72;
}

body.theme-ai-premium-neon .card,
body.theme-ai-premium-neon .feature-card,
body.theme-ai-premium-neon .stat-card,
body.theme-ai-premium-neon .project-card,
body.theme-ai-premium-neon .tech-card,
body.theme-ai-premium-neon .service-card,
body.theme-ai-premium-neon .contact-card {
  background: linear-gradient(180deg, rgba(255,255,255,.095), rgba(255,255,255,.045)) !important;
  color: #f8fafc !important;
  border: 1px solid rgba(255,255,255,.13) !important;
  box-shadow:
    0 20px 70px rgba(0,0,0,.36),
    inset 0 1px 0 rgba(255,255,255,.10);
  border-radius: 24px;
  backdrop-filter: blur(18px);
}

body.theme-ai-premium-neon .btn-primary,
body.theme-ai-premium-neon button[type="submit"],
body.theme-ai-premium-neon .cta-primary {
  background: linear-gradient(135deg, #a855f7, #ec4899) !important;
  color: #fff !important;
  border: 0 !important;
  box-shadow: 0 16px 42px rgba(236,72,153,.34);
}

body.theme-ai-premium-neon .section-title,
body.theme-ai-premium-neon section h2 {
  color: #fff !important;
}

body.theme-ai-premium-neon .section-subtitle,
body.theme-ai-premium-neon section p {
  color: #b8bfd6;
}

body.theme-ai-premium-neon .section-badge,
body.theme-ai-premium-neon .badge {
  background: linear-gradient(135deg, rgba(168,85,247,.22), rgba(236,72,153,.20));
  color: #fff;
  border: 1px solid rgba(255,255,255,.14);
  box-shadow: 0 0 30px rgba(168,85,247,.18);
}

body.theme-ai-premium-neon footer,
body.theme-ai-premium-neon .footer,
body.theme-ai-premium-neon .footer-pro {
  background:
    radial-gradient(circle at 80% 0%, rgba(236,72,153,.20), transparent 34%),
    #10071d !important;
  color: #f8fafc !important;
  border-top: 1px solid rgba(255,255,255,.10);
}

/* ---------- reduce empty feeling for AI themes ---------- */

body.theme-ai-light-split .gallery,
body.theme-ai-minimal-air .gallery,
body.theme-ai-premium-neon .gallery,
body.theme-ai-light-split .reviews,
body.theme-ai-minimal-air .reviews,
body.theme-ai-premium-neon .reviews,
body.theme-ai-light-split .map,
body.theme-ai-minimal-air .map,
body.theme-ai-premium-neon .map {
  min-height: auto !important;
}

body.theme-ai-light-split .section:empty,
body.theme-ai-minimal-air .section:empty,
body.theme-ai-premium-neon .section:empty {
  display: none !important;
}

@media (max-width: 780px) {
  body.theme-ai-light-split .hero,
  body.theme-ai-minimal-air .hero,
  body.theme-ai-premium-neon .hero {
    min-height: 620px;
    background-position: center;
  }

  body.theme-ai-light-split .hero::before,
  body.theme-ai-premium-neon .hero::after {
    display: none;
  }
}


/* =========================================================
   V39.43.31 — Optional PRO Content Sections
   Safe: used mainly by V88_CONTENT_ENGINE=pro / ai-* themes
========================================================= */

body[class*="theme-"] .gallery-grid-pro,
body[class*="theme-"] .catalog-grid-pro,
body[class*="theme-"] .reviews-grid-pro {
  width: min(1120px, calc(100% - 40px));
  margin: 34px auto 0;
  display: grid !important;
  gap: 20px;
}

body[class*="theme-"] .gallery-grid-pro {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

body[class*="theme-"] .catalog-grid-pro {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

body[class*="theme-"] .reviews-grid-pro {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

body[class*="theme-"] .gallery-grid-pro .gallery-card {
  min-height: 230px;
  border-radius: 24px;
  overflow: hidden;
  position: relative;
  background: var(--surface, rgba(255,255,255,.08));
  border: 1px solid var(--border, rgba(255,255,255,.12));
  box-shadow: 0 18px 55px rgba(0,0,0,.12);
}

body[class*="theme-"] .gallery-grid-pro .gallery-card img {
  width: 100%;
  height: 230px;
  display: block;
  object-fit: cover;
  filter: grayscale(.15);
}

body[class*="theme-"] .gallery-caption {
  position: absolute;
  left: 14px;
  bottom: 14px;
  right: 14px;
  padding: 10px 12px;
  border-radius: 14px;
  background: rgba(0,0,0,.48);
  color: #fff;
  font-weight: 800;
  font-size: 14px;
  backdrop-filter: blur(10px);
}

body[class*="theme-"] .gallery-empty {
  padding: 28px;
  text-align: center;
  display: grid;
  place-items: center;
}

body[class*="theme-"] .gallery-empty-icon {
  font-size: 42px;
  margin-bottom: 12px;
}

body[class*="theme-"] .catalog-grid-pro .catalog-card,
body[class*="theme-"] .reviews-grid-pro .review-card,
body[class*="theme-"] .map-card {
  opacity: 1 !important;
  visibility: visible !important;
  transform: none !important;
}

body[class*="theme-"] .catalog-grid-pro .catalog-card {
  min-height: 100%;
  padding: 24px;
  border-radius: 24px;
  display: flex;
  flex-direction: column;
  text-align: center;
}

body[class*="theme-"] .catalog-grid-pro .card-icon {
  font-size: 38px;
  margin-bottom: 14px;
}

body[class*="theme-"] .catalog-grid-pro h3 {
  margin: 0 0 10px;
  font-size: clamp(20px, 2vw, 26px);
}

body[class*="theme-"] .catalog-grid-pro .card-desc {
  line-height: 1.55;
  margin-bottom: 16px;
}

body[class*="theme-"] .catalog-grid-pro .card-price {
  font-size: 28px;
  font-weight: 900;
  margin: 12px 0 16px;
  color: var(--accent, #7c5cff);
}

body[class*="theme-"] .catalog-grid-pro .card-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin: 0 0 20px;
}

body[class*="theme-"] .catalog-grid-pro .card-tags span {
  border-radius: 999px;
  padding: 7px 11px;
  font-size: 12px;
  font-weight: 800;
  background: rgba(124,92,255,.12);
  color: var(--text, inherit);
}

body[class*="theme-"] .catalog-grid-pro .card-btn {
  margin-top: auto;
  justify-content: center;
  width: 100%;
}

body[class*="theme-"] .reviews-grid-pro .review-card {
  padding: 24px;
  border-radius: 24px;
  min-height: 180px;
  text-align: left;
}

body[class*="theme-"] .reviews-grid-pro .rev-stars {
  color: #f59e0b;
  letter-spacing: 1px;
  margin-bottom: 12px;
  font-size: 18px;
}

body[class*="theme-"] .reviews-grid-pro .review-card p {
  font-size: 15px;
  line-height: 1.65;
  margin: 0 0 14px;
}

body[class*="theme-"] .map-card {
  width: min(980px, calc(100% - 40px));
  margin: 34px auto 0;
  border-radius: 28px;
  overflow: hidden;
  position: relative;
  min-height: 360px;
  display: grid;
  grid-template-columns: minmax(260px, .8fr) 1.2fr;
  border: 1px solid var(--border, rgba(255,255,255,.12));
  box-shadow: 0 20px 70px rgba(0,0,0,.16);
}

body[class*="theme-"] .map-info {
  padding: 34px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background:
    radial-gradient(circle at 20% 20%, rgba(124,92,255,.18), transparent 36%),
    var(--surface, rgba(255,255,255,.06));
}

body[class*="theme-"] .map-pin {
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  background: rgba(124,92,255,.16);
  margin-bottom: 18px;
  font-size: 26px;
}

body[class*="theme-"] .map-info h3 {
  font-size: 24px;
  margin: 0 0 8px;
}

body[class*="theme-"] .map-info p {
  margin: 0 0 20px;
}

body[class*="theme-"] .map-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

body[class*="theme-"] .map-card iframe {
  width: 100%;
  min-height: 360px;
  border: 0;
  filter: grayscale(.25);
}

body.theme-ai-light-split .catalog-grid-pro .catalog-card,
body.theme-ai-minimal-air .catalog-grid-pro .catalog-card,
body.theme-ai-light-split .reviews-grid-pro .review-card,
body.theme-ai-minimal-air .reviews-grid-pro .review-card,
body.theme-ai-light-split .map-card,
body.theme-ai-minimal-air .map-card {
  background: #fff !important;
  color: #111827 !important;
  border: 1px solid rgba(17,24,39,.08) !important;
  box-shadow: 0 18px 50px rgba(15,23,42,.08) !important;
}

body.theme-ai-premium-neon .catalog-grid-pro .catalog-card,
body.theme-ai-premium-neon .reviews-grid-pro .review-card,
body.theme-ai-premium-neon .map-card {
  background: linear-gradient(180deg, rgba(255,255,255,.09), rgba(255,255,255,.045)) !important;
  color: #f8fafc !important;
  border: 1px solid rgba(255,255,255,.13) !important;
  box-shadow: 0 22px 70px rgba(0,0,0,.32) !important;
  backdrop-filter: blur(18px);
}

@media (max-width: 760px) {
  body[class*="theme-"] .gallery-grid-pro,
  body[class*="theme-"] .catalog-grid-pro,
  body[class*="theme-"] .reviews-grid-pro {
    width: min(100% - 24px, 560px);
    grid-template-columns: 1fr;
  }

  body[class*="theme-"] .map-card {
    grid-template-columns: 1fr;
    width: min(100% - 24px, 560px);
  }
}


/* =========================================================
   V39.43.31.1 — PRO Gallery Visibility Fix
   Reason:
   old reveal CSS sets .gallery-item opacity:0 until .revealed.
   PRO gallery must be visible without JS reveal dependency.
========================================================= */

body[class*="theme-"] .gallery-grid-pro .gallery-card,
body[class*="theme-"] .gallery-grid-pro .gallery-item,
body[class*="theme-"] .gallery-grid-pro .gallery-card.loaded,
body[class*="theme-"] .gallery-grid-pro .gallery-item.loaded {
  opacity: 1 !important;
  visibility: visible !important;
  transform: none !important;
  display: block !important;
}

body[class*="theme-"] .gallery-grid-pro .gallery-card::after,
body[class*="theme-"] .gallery-grid-pro .gallery-item::after {
  display: none !important;
  content: none !important;
}

body[class*="theme-"] .gallery-grid-pro .gallery-item:nth-child(n+7) {
  display: block !important;
}

body[class*="theme-"] .gallery-grid-pro {
  min-height: 260px;
  align-items: stretch;
}

body[class*="theme-"] .gallery-grid-pro .gallery-card img,
body[class*="theme-"] .gallery-grid-pro .gallery-item img {
  opacity: 1 !important;
  visibility: visible !important;
  display: block !important;
}


/* =========================================================
   V39.43.32.1 — Legacy Footer Compact Buttons
   Applies only to old footer-pro, not PRO AI footer.
========================================================= */

body:not(.ui-pro) .footer-pro-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

body:not(.ui-pro) .footer-pro-actions .btn,
body:not(.ui-pro) .footer-pro .btn {
  min-height: 32px !important;
  padding: 7px 10px !important;
  border-radius: 10px !important;
  font-size: 12px !important;
  line-height: 1.1 !important;
  width: auto !important;
  max-width: 180px !important;
}

body:not(.ui-pro) .footer-pro-actions .btn-primary,
body:not(.ui-pro) .footer-pro-actions .btn-outline {
  box-shadow: none !important;
}


/* =========================================================
   V39.43.34 — Legacy Light Text and Shape Polish
   Only legacy, not PRO.
========================================================= */

body:not(.ui-pro).theme-standard,
body:not(.ui-pro).theme-minimal {
  color: #111827;
}

body:not(.ui-pro).theme-standard .hero,
body:not(.ui-pro).theme-standard .hero *,
body:not(.ui-pro).theme-minimal .hero,
body:not(.ui-pro).theme-minimal .hero *,
body:not(.ui-pro).theme-standard .hero-section,
body:not(.ui-pro).theme-standard .hero-section *,
body:not(.ui-pro).theme-minimal .hero-section,
body:not(.ui-pro).theme-minimal .hero-section * {
  color: #111827;
}

body:not(.ui-pro).theme-standard .hero h1,
body:not(.ui-pro).theme-standard .hero-section h1,
body:not(.ui-pro).theme-minimal .hero h1,
body:not(.ui-pro).theme-minimal .hero-section h1 {
  color: #111827 !important;
  text-shadow: none !important;
}

body:not(.ui-pro).theme-standard .section,
body:not(.ui-pro).theme-minimal .section {
  min-height: auto !important;
}

body:not(.ui-pro).theme-standard .card,
body:not(.ui-pro).theme-standard .feature-card,
body:not(.ui-pro).theme-standard .service-card,
body:not(.ui-pro).theme-standard .review-card,
body:not(.ui-pro).theme-minimal .card,
body:not(.ui-pro).theme-minimal .feature-card,
body:not(.ui-pro).theme-minimal .service-card,
body:not(.ui-pro).theme-minimal .review-card {
  border-radius: 18px !important;
}

body:not(.ui-pro).theme-minimal .card,
body:not(.ui-pro).theme-minimal .feature-card,
body:not(.ui-pro).theme-minimal .service-card,
body:not(.ui-pro).theme-minimal .review-card {
  box-shadow: 0 8px 24px rgba(15,23,42,.055) !important;
  border: 1px solid rgba(17,24,39,.08) !important;
}


/* =========================================================
   V39.43.34.1 — Legacy Light Compact Sections
========================================================= */

body:not(.ui-pro).theme-standard section,
body:not(.ui-pro).theme-minimal section {
  min-height: auto !important;
}

body:not(.ui-pro).theme-standard .section,
body:not(.ui-pro).theme-minimal .section {
  padding-top: clamp(46px, 5vw, 76px) !important;
  padding-bottom: clamp(46px, 5vw, 76px) !important;
}

body:not(.ui-pro).theme-standard .section-header,
body:not(.ui-pro).theme-minimal .section-header {
  margin-bottom: 26px !important;
}

body:not(.ui-pro).theme-standard .section h2,
body:not(.ui-pro).theme-minimal .section h2 {
  color: #111827 !important;
  text-shadow: none !important;
}

body:not(.ui-pro).theme-standard .section p,
body:not(.ui-pro).theme-minimal .section p {
  color: #667085 !important;
}

/* Keep legacy footer compact */
body:not(.ui-pro) .footer-pro-actions .btn,
body:not(.ui-pro) .footer-pro .btn {
  min-height: 32px !important;
  padding: 7px 11px !important;
  font-size: 12px !important;
  border-radius: 10px !important;
}


/* =========================================================
   V39.43.35.2 — Safe Legacy Visual Polish
========================================================= */

/* standard/minimal hero center */
body:not(.ui-pro).theme-standard .hero,
body:not(.ui-pro).theme-standard .hero-section,
body:not(.ui-pro).theme-minimal .hero,
body:not(.ui-pro).theme-minimal .hero-section {
  text-align: center !important;
}

body:not(.ui-pro).theme-standard .hero h1,
body:not(.ui-pro).theme-standard .hero-section h1,
body:not(.ui-pro).theme-minimal .hero h1,
body:not(.ui-pro).theme-minimal .hero-section h1,
body:not(.ui-pro).theme-standard .hero p,
body:not(.ui-pro).theme-standard .hero-section p,
body:not(.ui-pro).theme-minimal .hero p,
body:not(.ui-pro).theme-minimal .hero-section p {
  text-align: center !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

body:not(.ui-pro).theme-standard .hero-actions,
body:not(.ui-pro).theme-standard .btn-row,
body:not(.ui-pro).theme-minimal .hero-actions,
body:not(.ui-pro).theme-minimal .btn-row {
  justify-content: center !important;
}

/* premium/dark soft separators */
body:not(.ui-pro).theme-premium .section + .section,
body:not(.ui-pro).theme-dark .section + .section {
  position: relative;
}

body:not(.ui-pro).theme-premium .section + .section::before,
body:not(.ui-pro).theme-dark .section + .section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: min(1120px, calc(100% - 42px));
  height: 1px;
  transform: translateX(-50%);
  background: linear-gradient(90deg, transparent, rgba(236,72,153,.28), rgba(139,92,246,.22), transparent);
}

/* legacy card effects */
body:not(.ui-pro) .card,
body:not(.ui-pro) .feature-card,
body:not(.ui-pro) .service-card,
body:not(.ui-pro) .review-card {
  transition: transform .24s ease, box-shadow .24s ease, border-color .24s ease;
}

body:not(.ui-pro) .card:hover,
body:not(.ui-pro) .feature-card:hover,
body:not(.ui-pro) .service-card:hover,
body:not(.ui-pro) .review-card:hover {
  transform: translateY(-4px);
}


/* =========================================================
   V39.43.35.3 — JSON Typography Variables
========================================================= */

body {
  font-family: var(--v88-body-font, -apple-system,BlinkMacSystemFont,'Segoe UI',system-ui,sans-serif);
}

h1, h2, h3, h4, h5, h6,
.hero-title,
.pro-brand-title {
  font-family: var(--v88-heading-font, var(--v88-body-font, -apple-system,BlinkMacSystemFont,'Segoe UI',system-ui,sans-serif));
}

body {
  font-size: calc(16px * var(--v88-font-scale, 1));
}

body.ui-pro .pro-hero-v33 h1,
body.ui-pro h1 {
  font-size: calc(clamp(48px, 5.8vw, 84px) * var(--v88-font-scale, 1));
}

body.ui-pro h2 {
  font-size: calc(clamp(32px, 4vw, 54px) * var(--v88-font-scale, 1));
}


/* =========================================================
   V39.43.35.6 — Legacy AI Mobile OneLang Polish
========================================================= */

/* One language mode — all themes */
body.v88-one-lang .lang-switch,
body.v88-one-lang .language-switch,
body.v88-one-lang .pro-langs,
body.v88-one-lang [data-lang-switch],
body.v88-one-lang .langs {
  display: none !important;
}

/* Legacy standard/minimal: center premium badge */
body:not(.ui-pro).theme-standard .hero-badge,
body:not(.ui-pro).theme-minimal .hero-badge {
  display: inline-flex !important;
  justify-content: center !important;
  align-items: center !important;
  width: auto !important;
  max-width: min(92vw, 720px) !important;
  margin-left: auto !important;
  margin-right: auto !important;
  text-align: center !important;
}

body:not(.ui-pro).theme-standard .hero-badge-wrap,
body:not(.ui-pro).theme-minimal .hero-badge-wrap,
body:not(.ui-pro).theme-standard .hero div:has(.hero-badge),
body:not(.ui-pro).theme-minimal .hero div:has(.hero-badge) {
  text-align: center !important;
  display: flex !important;
  justify-content: center !important;
}

/* Legacy dark/premium stats effects */
body:not(.ui-pro).theme-dark .stats-card,
body:not(.ui-pro).theme-dark .stat-card,
body:not(.ui-pro).theme-dark .metric-card,
body:not(.ui-pro).theme-premium .stats-card,
body:not(.ui-pro).theme-premium .stat-card,
body:not(.ui-pro).theme-premium .metric-card {
  position: relative !important;
  overflow: hidden !important;
  isolation: isolate !important;
  border: 1px solid rgba(255,255,255,.11) !important;
  box-shadow: 0 16px 42px rgba(0,0,0,.20), inset 0 1px 0 rgba(255,255,255,.06) !important;
  transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease !important;
}

body:not(.ui-pro).theme-dark .stats-card::before,
body:not(.ui-pro).theme-dark .stat-card::before,
body:not(.ui-pro).theme-dark .metric-card::before,
body:not(.ui-pro).theme-premium .stats-card::before,
body:not(.ui-pro).theme-premium .stat-card::before,
body:not(.ui-pro).theme-premium .metric-card::before {
  content: "";
  position: absolute;
  inset: -60% auto auto -30%;
  width: 180px;
  height: 180px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(236,72,153,.28), transparent 65%);
  opacity: .48;
  z-index: -1;
  transition: transform .45s ease, opacity .3s ease;
}

body:not(.ui-pro).theme-dark .stats-card:hover,
body:not(.ui-pro).theme-dark .stat-card:hover,
body:not(.ui-pro).theme-dark .metric-card:hover,
body:not(.ui-pro).theme-premium .stats-card:hover,
body:not(.ui-pro).theme-premium .stat-card:hover,
body:not(.ui-pro).theme-premium .metric-card:hover {
  transform: translateY(-6px) !important;
  border-color: rgba(236,72,153,.32) !important;
  box-shadow: 0 24px 58px rgba(0,0,0,.28), 0 0 0 1px rgba(236,72,153,.12) inset !important;
}

body:not(.ui-pro).theme-dark .stats-card:hover::before,
body:not(.ui-pro).theme-dark .stat-card:hover::before,
body:not(.ui-pro).theme-dark .metric-card:hover::before,
body:not(.ui-pro).theme-premium .stats-card:hover::before,
body:not(.ui-pro).theme-premium .stat-card:hover::before,
body:not(.ui-pro).theme-premium .metric-card:hover::before {
  transform: translate(26px, 18px) scale(1.16);
  opacity: .75;
}

body:not(.ui-pro).theme-dark .stats-card strong,
body:not(.ui-pro).theme-dark .stat-card strong,
body:not(.ui-pro).theme-dark .metric-card strong,
body:not(.ui-pro).theme-premium .stats-card strong,
body:not(.ui-pro).theme-premium .stat-card strong,
body:not(.ui-pro).theme-premium .metric-card strong {
  text-shadow: 0 0 24px rgba(236,72,153,.32);
}


/* =========================================================
   V39.43.35.7 — Legacy Hero Background Rotation
========================================================= */

body:not(.ui-pro).theme-standard .hero,
body:not(.ui-pro).theme-standard .hero-section,
body:not(.ui-pro).theme-minimal .hero,
body:not(.ui-pro).theme-minimal .hero-section {
  position: relative !important;
  overflow: hidden !important;
  isolation: isolate !important;
}

body:not(.ui-pro).theme-standard .hero::before,
body:not(.ui-pro).theme-standard .hero-section::before,
body:not(.ui-pro).theme-minimal .hero::before,
body:not(.ui-pro).theme-minimal .hero-section::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background-color: #fff;
  background-image:
    linear-gradient(90deg, rgba(255,255,255,.92), rgba(255,255,255,.64)),
    var(--v88-legacy-hero-bg, none);
  background-position: center, center;
  background-size: cover, cover;
  background-repeat: no-repeat;
  opacity: .52;
  animation: v88LegacyHeroBg 16s ease-in-out infinite alternate;
}

body:not(.ui-pro).theme-minimal .hero::before,
body:not(.ui-pro).theme-minimal .hero-section::before {
  opacity: .34;
  filter: grayscale(.22);
}

@keyframes v88LegacyHeroBg {
  0% { transform: scale(1.02) translateX(0); filter: saturate(.9) contrast(1); }
  50% { transform: scale(1.08) translateX(-1.6%); filter: saturate(1.05) contrast(1.04); }
  100% { transform: scale(1.04) translateX(1.4%); filter: saturate(.95) contrast(1.02); }
}

body:not(.ui-pro).theme-standard .hero .container,
body:not(.ui-pro).theme-standard .hero-inner,
body:not(.ui-pro).theme-standard .hero-content,
body:not(.ui-pro).theme-minimal .hero .container,
body:not(.ui-pro).theme-minimal .hero-inner,
body:not(.ui-pro).theme-minimal .hero-content {
  text-align: center !important;
  margin-left: auto !important;
  margin-right: auto !important;
  justify-content: center !important;
  align-items: center !important;
}

body:not(.ui-pro).theme-standard .hero-title-line1,
body:not(.ui-pro).theme-standard .hero-title-line2,
body:not(.ui-pro).theme-minimal .hero-title-line1,
body:not(.ui-pro).theme-minimal .hero-title-line2 {
  display: block !important;
  text-align: center !important;
}


/* =========================================================
   V39.43.35.7.5 — Legacy Hero Readable Layout
========================================================= */

body:not(.ui-pro) .hero-content {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 22px !important;
  text-align: center !important;
  max-width: 820px !important;
  margin: 0 auto !important;
  position: relative !important;
  z-index: 5 !important;
}

body:not(.ui-pro) .hero-badge-wrap {
  display: flex !important;
  justify-content: center !important;
  width: 100% !important;
}

body:not(.ui-pro) .hero-badge {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
  white-space: normal !important;
  max-width: 360px !important;
  line-height: 1.45 !important;
  padding: 16px 24px !important;
}

body:not(.ui-pro) .hero-title {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  gap: 8px !important;
  margin: 0 !important;
  line-height: 1.05 !important;
}

body:not(.ui-pro) .hero-title-line1,
body:not(.ui-pro) .hero-title-line2 {
  display: block !important;
  width: 100% !important;
  text-align: center !important;
}

body:not(.ui-pro) .hero-title-line1 {
  font-size: clamp(38px, 5vw, 76px) !important;
  font-weight: 900 !important;
}

body:not(.ui-pro) .hero-title-line2 {
  font-size: clamp(28px, 3.8vw, 52px) !important;
  font-weight: 850 !important;
}

body:not(.ui-pro) .hero-subtitle {
  display: block !important;
  max-width: 720px !important;
  margin: 0 auto !important;
  text-align: center !important;
  line-height: 1.55 !important;
  font-size: clamp(18px, 2.1vw, 28px) !important;
}

body:not(.ui-pro) .hero-actions,
body:not(.ui-pro) .btn-group {
  display: flex !important;
  flex-wrap: wrap !important;
  justify-content: center !important;
  align-items: center !important;
  gap: 14px !important;
  width: 100% !important;
  margin-top: 4px !important;
}

body:not(.ui-pro) .hero-actions .btn,
body:not(.ui-pro) .btn-group .btn {
  margin: 0 !important;
  min-width: 170px !important;
  justify-content: center !important;
}

@media(max-width: 768px) {
  body:not(.ui-pro) .hero-content {
    gap: 16px !important;
    padding: 40px 18px !important;
  }

  body:not(.ui-pro) .hero-badge {
    max-width: 92vw !important;
    padding: 13px 18px !important;
  }

  body:not(.ui-pro) .hero-actions .btn,
  body:not(.ui-pro) .btn-group .btn {
    width: 100% !important;
    max-width: 320px !important;
  }
}

/* V39_WORKTIME_MODAL_V1 */

.footer-worktime{
  margin-top:26px;
  text-align:center;
}

.worktime-modal-button{
  position:relative;
  overflow:hidden;
  isolation:isolate;
  cursor:pointer;
}

.worktime-modal-button::before{
  content:"";
  position:absolute;
  top:-60%;
  bottom:-60%;
  left:-85%;
  width:55%;
  z-index:-1;
  transform:skewX(-22deg);
  background:linear-gradient(
    90deg,
    transparent,
    rgba(255,255,255,.12),
    rgba(255,255,255,.75),
    rgba(255,255,255,.12),
    transparent
  );
  animation:worktimeButtonShimmer 2.8s ease-in-out infinite;
}

@keyframes worktimeButtonShimmer{
  0%,20%{
    left:-85%;
  }
  70%,100%{
    left:135%;
  }
}

.worktime-modal{
  position:fixed;
  inset:0;
  z-index:10050;
  display:none;
  align-items:center;
  justify-content:center;
  padding:20px;
  background:rgba(3,5,12,.78);
  backdrop-filter:blur(12px);
}

.worktime-modal.active{
  display:flex;
  animation:worktimeModalFade .22s ease both;
}

.worktime-modal-card{
  position:relative;
  width:min(520px,100%);
  max-height:min(720px,90vh);
  overflow:auto;
  padding:32px;
  border:1px solid rgba(255,255,255,.16);
  border-radius:26px;
  color:#fff;
  background:
    radial-gradient(
      circle at top right,
      rgba(139,92,246,.24),
      transparent 38%
    ),
    rgba(12,15,27,.97);
  box-shadow:0 30px 90px rgba(0,0,0,.55);
  animation:worktimeModalCard .25s ease both;
}

.worktime-modal-close{
  position:absolute;
  top:14px;
  right:16px;
  width:42px;
  height:42px;
  border:1px solid rgba(255,255,255,.14);
  border-radius:50%;
  color:#fff;
  background:rgba(255,255,255,.08);
  font-size:28px;
  line-height:1;
  cursor:pointer;
}

.worktime-modal-icon{
  margin-bottom:8px;
  font-size:38px;
  text-align:center;
}

.worktime-modal-card h2{
  margin:0 45px 12px;
  font-size:clamp(24px,5vw,36px);
  text-align:center;
}

.worktime-modal-status{
  margin:0 auto 20px;
  font-size:15px;
  font-weight:800;
  text-align:center;
}

.worktime-modal-schedule{
  padding:20px;
  border:1px solid rgba(255,255,255,.10);
  border-radius:18px;
  background:rgba(255,255,255,.06);
}

.footer-platform-credit{
  display:flex;
  flex-direction:column;
  gap:5px;
}

.footer-platform-credit small{
  font-size:11px;
  line-height:1.4;
  opacity:.66;
}

body.worktime-modal-open{
  overflow:hidden;
}

@keyframes worktimeModalFade{
  from{opacity:0}
  to{opacity:1}
}

@keyframes worktimeModalCard{
  from{
    opacity:0;
    transform:translateY(18px) scale(.97);
  }
  to{
    opacity:1;
    transform:translateY(0) scale(1);
  }
}

@media(max-width:600px){
  .worktime-modal{
    padding:12px;
  }

  .worktime-modal-card{
    padding:28px 18px 20px;
    border-radius:22px;
  }
}



/* V39_WORKTIME_BUTTON_STATUS_V1 */

.worktime-button-status{
  margin-top:7px;
  font-size:11px;
  line-height:1.35;
  font-weight:600;
  opacity:.72;
  text-align:center;
}

/* V39_LEGACY_MENU_POPUP_SHOWCASE */
.legacy-menu-showcase{
  position:relative;
  min-height:420px;
  display:flex;
  align-items:center;
  isolation:isolate;
  overflow:hidden;
  background-size:cover;
  background-position:center;
}

.legacy-menu-showcase::before{
  content:none;
  display:none;
}

.legacy-menu-showcase > .container{
  position:relative;
  z-index:1;
}

.legacy-menu-showcase__panel{
  width:min(680px,100%);
  margin:0 auto;
  padding:clamp(28px,5vw,54px);
  text-align:center;
  border:1px solid rgba(255,255,255,.15);
  border-radius:28px;
  background:rgba(10,13,24,.70);
  box-shadow:0 28px 90px rgba(0,0,0,.32);
  backdrop-filter:blur(14px);
}

.legacy-menu-showcase__panel h2{
  margin:14px auto 10px;
  color:#fff;
}

.legacy-menu-showcase__panel .section-subtitle{
  color:rgba(255,255,255,.76)!important;
}

.legacy-menu-open{
  width:auto;
  min-width:180px;
  margin-top:18px;
  cursor:pointer;
}

.menu-popup .menu-info{
  min-width:0;
  display:grid;
  gap:4px;
}

.menu-popup .menu-desc{
  color:rgba(255,255,255,.62);
  font-size:13px;
  line-height:1.35;
}

.menu-popup .menu-item-actions{
  display:flex;
  align-items:center;
  gap:10px;
}

.pro-footer-worktime,
.footer-worktime{
  width:min(320px,100%);
  margin:24px auto 0;
}

.worktime-modal-button{
  min-height:40px;
  padding:10px 16px;
  font-size:13px;
}

@media(max-width:600px){
  .legacy-menu-showcase{
    min-height:350px;
  }

  .legacy-menu-showcase__panel{
    border-radius:22px;
  }
}

/* V39_MOBILE_WORKTIME_FEATURES_FIX */

.worktime-modal[hidden]{
  display:none!important;
}

.worktime-modal.active:not([hidden]){
  display:flex!important;
}

@media(max-width:768px){
  body:not(.ui-pro).theme-dark .section-features,
  body:not(.ui-pro).theme-premium .section-features,
  body:not(.ui-pro) .legacy-menu-showcase{
    background-attachment:scroll!important;
    background-size:cover!important;
    background-position:center!important;
    background-repeat:no-repeat!important;
  }

  body.ui-pro .section-features,
  body.ui-pro #features{
    background-attachment:scroll!important;
    background-size:cover!important;
    background-position:center!important;
    background-repeat:no-repeat!important;
  }

  .worktime-modal{
    position:fixed!important;
    inset:0!important;
    width:100%!important;
    height:100%!important;
  }

  .worktime-modal-card{
    width:min(100%,520px)!important;
    max-height:calc(100dvh - 24px)!important;
  }
}

/* V39_SEVEN_THEME_OUTPUT_FIX_V1 */

.contact-channels-only{
  display:flex;
  flex-wrap:wrap;
  justify-content:center;
  align-items:center;
  gap:12px;
  text-align:center;
}

body:not(.ui-pro).theme-standard
.legacy-menu-showcase__panel,
body:not(.ui-pro).theme-minimal
.legacy-menu-showcase__panel{
  border-color:rgba(17,24,39,.12);
  background:rgba(255,255,255,.84);
  box-shadow:0 24px 70px rgba(15,23,42,.16);
}

body:not(.ui-pro).theme-standard
.legacy-menu-showcase__panel h2,
body:not(.ui-pro).theme-minimal
.legacy-menu-showcase__panel h2{
  color:#111827;
}

body:not(.ui-pro).theme-standard
.legacy-menu-showcase__panel .section-subtitle,
body:not(.ui-pro).theme-minimal
.legacy-menu-showcase__panel .section-subtitle{
  color:#4b5563!important;
}

body:not(.ui-pro).theme-dark
.legacy-menu-showcase__panel{
  background:rgba(10,13,24,.58);
}

body:not(.ui-pro).theme-premium
.legacy-menu-showcase__panel{
  background:rgba(10,13,24,.62);
}

@media(max-width:850px){
  body:not(.ui-pro) .footer-pro,
  body:not(.ui-pro) .footer-pro-grid,
  body:not(.ui-pro) .footer-pro-desc,
  body:not(.ui-pro) .footer-pro-contact,
  body:not(.ui-pro) .footer-pro-title,
  body:not(.ui-pro) .footer-pro-links,
  body:not(.ui-pro) .footer-pro-bottom{
    text-align:center!important;
  }

  body:not(.ui-pro) .footer-pro-desc{
    margin-left:auto!important;
    margin-right:auto!important;
  }

  body:not(.ui-pro) .footer-pro-actions,
  body:not(.ui-pro) .footer-pro-bottom{
    justify-content:center!important;
    align-items:center!important;
  }
}

/* V39_GENERATED_BRAND_LOGO_V1 */

.brand-logo-link{
  display:inline-flex!important;
  align-items:center;
  justify-content:center;
  gap:10px;
  max-width:min(100%,360px);
  text-decoration:none;
}

.brand-logo-mark{
  width:46px;
  height:46px;
  flex:0 0 46px;
  display:grid;
  place-items:center;
  overflow:hidden;
  border-radius:12px;
}

.brand-logo-img{
  display:block;
  width:100%;
  height:100%;
  object-fit:contain;
}

.brand-logo-text{
  min-width:0;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}

@media(max-width:640px){
  .brand-logo-link{
    gap:7px;
    max-width:min(100%,240px);
  }

  .brand-logo-mark{
    width:38px;
    height:38px;
    flex-basis:38px;
    border-radius:10px;
  }

  .brand-logo-text{
    font-size:14px;
  }
}



/* V39_GENERATOR_V9_3_LEGACY_QA */
body:not(.ui-pro).theme-standard .btn,
body:not(.ui-pro).theme-standard button,
body:not(.ui-pro).theme-minimal .btn,
body:not(.ui-pro).theme-minimal button,
.legacy-menu-open,
.menu-close {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
  line-height: 1.2 !important;
}

/* Standard: structured corporate system, deliberately without decorative icons. */
body:not(.ui-pro).theme-standard .section:nth-of-type(even) { background-color: #eef1f7; }
body:not(.ui-pro).theme-standard .card,
body:not(.ui-pro).theme-standard .feature-card,
body:not(.ui-pro).theme-standard .stat-card {
  border-radius: 14px !important;
  border: 1px solid rgba(15,23,42,.10) !important;
  box-shadow: 0 12px 34px rgba(15,23,42,.08) !important;
}

/* Minimal: editorial whitespace, serif headings and quiet monochrome controls. */
body:not(.ui-pro).theme-minimal h1,
body:not(.ui-pro).theme-minimal h2,
body:not(.ui-pro).theme-minimal h3 { font-family: Georgia, 'Times New Roman', serif !important; }
body:not(.ui-pro).theme-minimal .section { padding-block: clamp(72px, 9vw, 132px) !important; }
body:not(.ui-pro).theme-minimal .card,
body:not(.ui-pro).theme-minimal .feature-card,
body:not(.ui-pro).theme-minimal .stat-card {
  border-radius: 2px !important;
  border: 0 !important;
  border-top: 1px solid rgba(15,23,42,.16) !important;
  box-shadow: none !important;
}

/* The three V9.3 themes reuse proven Dark/Premium structure with new palettes. */
body.theme-dark-light,
body.theme-premium-light,
body.theme-premium-gold { color-scheme: light; }

.menu-close {
  position: sticky !important;
  top: 10px !important;
  margin-left: auto !important;
  width: 44px !important;
  min-width: 44px !important;
  height: 44px !important;
  padding: 0 !important;
  z-index: 10005 !important;
  cursor: pointer !important;
  touch-action: manipulation;
}

@media (max-width: 768px) {
  .menu-content { position: relative !important; padding-top: 10px !important; }
  .menu-close { position: sticky !important; top: 8px !important; right: 8px !important; }
}
