/* themes/default/core/css/style.css - STITCH AGENCY V5 "THE KINETIC VANGUARD" */

/* 1. COMPONENTS REFINEMENT */

/* Premium Buttons (Pill Style) */
.dmdc-el--button a, .btn-premium {
  background-color: var(--stch-primary) !important;
  color: var(--stch-on-primary) !important;
  font-weight: 700;
  padding: 16px 36px !important;
  border-radius: var(--stch-radius-full) !important;
  font-size: 0.95rem;
  letter-spacing: -0.02em;
  transition: var(--stch-transition-kinetic);
  border: none !important;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.btn-premium:hover {
  transform: var(--stch-hover-scale);
  box-shadow: 0 10px 20px rgba(188, 0, 31, 0.2);
}

.btn-white { background: var(--stch-surface-lowest) !important; color: var(--stch-primary) !important; }
.btn-outline { background: transparent !important; border: 2px solid var(--stch-on-surface) !important; color: var(--stch-on-surface) !important; }
.btn-outline-white { background: transparent !important; border: 2px solid var(--stch-surface-lowest) !important; color: var(--stch-surface-lowest) !important; }

/* Kinetic Glass Header */
.lumina-glass-header { 
  position: sticky; 
  top: 0; 
  background: rgba(249, 249, 249, 0.8) !important; 
  backdrop-filter: blur(24px); 
  z-index: var(--stch-z-header); 
  padding: 20px 0; 
  border-bottom: 1px solid var(--stch-outline-ghost);
  transition: var(--stch-transition-kinetic);
}

.lumina-glass-header.scrolled {
  padding: 12px 0;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.03);
}

/* Glass Metrics & Counters */
.stch-glass-metric {
  background: var(--stch-surface-lowest);
  padding: 24px 34px;
  border-radius: 20px;
  box-shadow: var(--stch-shadow-ambient);
  position: absolute;
  z-index: 10;
  animation: float 6s ease-in-out infinite;
}

.stch-counter {
  font-family: var(--stch-font-heading);
  font-weight: 800;
  font-size: 2.8rem;
  color: var(--stch-primary);
  line-height: 1;
}

/* Service Cards (Tonal Layering Principle) */
.stch-card-service {
  background: var(--stch-surface-lowest);
  border-radius: var(--stch-radius-lg);
  padding: 48px 40px;
  height: 100%;
  transition: var(--stch-transition-kinetic);
  box-shadow: 0 10px 40px rgba(0,0,0,0.02);
  border: 1px solid transparent;
}

.stch-card-service:hover {
  transform: translateY(-8px);
  box-shadow: 0 40px 80px rgba(0,0,0,0.05);
  border-color: var(--stch-outline-ghost);
}

.badge-stch { 
  padding: 8px 18px; 
  background: var(--stch-primary); 
  color: var(--stch-on-primary); 
  border-radius: 4px; 
  font-size: 0.75rem; 
  font-weight: 700; 
  text-transform: uppercase; 
  display: inline-block; 
  margin-bottom: 24px; 
}

.stch-icon-wrapper {
  width: 64px;
  height: 64px;
  background: var(--stch-surface-lowest);
  border: 1px solid var(--stch-surface-low);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  color: var(--stch-primary);
  font-size: 1.5rem;
}

.rounded-full { border-radius: var(--stch-radius-full) !important; }

/* CTA Banner (The Strobe Light) */
.stch-cta-section {
  background-color: var(--stch-primary);
  border-radius: 40px;
  padding: 100px 60px;
  color: var(--stch-on-primary) !important;
  text-align: center;
}

.stch-cta-section * { color: var(--stch-on-primary) !important; }

/* 2. TYPOGRAPHY & LAYOUT ROBUSTNESS */

h1, .h1 { 
  font-family: var(--stch-font-heading);
  font-weight: 800;
  line-height: 1.15 !important; 
  letter-spacing: -0.04em;
  margin-bottom: 0.5em !important;
}

h2, .h2 { 
  font-family: var(--stch-font-heading);
  font-weight: 700;
  line-height: 1.25 !important;
  letter-spacing: -0.03em;
}

p, .text-editor {
  line-height: 1.6;
}

.badge-red {
  display: inline-block;
  background-color: var(--stch-primary);
  color: var(--stch-on-primary);
  padding: 6px 14px;
  border-radius: 4px;
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 2rem !important;
}

/* 3. GRID & CARD REFINEMENT */
.stch-card-service {
  background: var(--stch-surface-lowest);
  border-radius: var(--stch-radius-lg);
  padding: 48px 40px;
  height: 100%;
  transition: var(--stch-transition-kinetic);
  box-shadow: 0 10px 40px rgba(0,0,0,0.02);
  border: 1px solid transparent;
  display: flex !important;
  flex-direction: column;
}

/* Kinetic Vanguard Partners & Logos */
.dmdc-image-gallery .dmdc-gallery-item {
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    padding: 20px;
    height: 100px;
}
.dmdc-image-gallery .dmdc-gallery-item img {
    max-height: 40px;
    width: auto !important;
    object-fit: contain;
    filter: brightness(0) opacity(0.4);
    transition: all 0.4s ease;
}
.dmdc-image-gallery .dmdc-gallery-item:hover img {
    filter: brightness(1) opacity(1);
    transform: scale(1.1);
}

/* Post Grid Kinetic Style */
.dmdc-post-grid-item {
  border-radius: 24px;
  overflow: hidden;
  transition: transform 0.3s ease;
  margin-bottom: 30px;
}

.dmdc-post-grid-item:hover {
  transform: translateY(-5px);
}

.dmdc-post-grid-item .post-thumbnail {
  border-radius: 20px;
  overflow: hidden;
  margin-bottom: 20px;
}

/* 4. ANIMATIONS */
@keyframes float {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-15px); }
  100% { transform: translateY(0px); }
}

@media (max-width: 991px) {
  .section-padding { padding: 80px 0; }
  h1, .h1 { font-size: 2.5rem !important; }
}
