/* ==========================================================================
   pewdo.com Visual Refinement v2.0
   PC & Mobile Cross-Platform Aesthetic Optimization
   Focus: Color depth, typography rhythm, spacing, micro-interactions
   ========================================================================== */

/* === DESIGN TOKENS === */
:root {
  /* Refined Color Palette */
  --vr-primary: #e63946;
  --vr-primary-dark: #c1121f;
  --vr-primary-light: #ff6b7a;
  --vr-accent: #f77f00;
  --vr-dark: #1a237e;
  --vr-dark-soft: #283593;
  --vr-text: #1a1a2e;
  --vr-text-secondary: #4a5568;
  --vr-text-muted: #718096;
  --vr-bg: #ffffff;
  --vr-bg-light: #f8fafc;
  --vr-bg-warm: #fff8f7;
  --vr-border: #e2e8f0;
  
  /* Enhanced Shadows - Multi-layer for depth */
  --vr-shadow-xs: 0 1px 2px rgba(26, 35, 126, 0.04);
  --vr-shadow-sm: 0 1px 3px rgba(26, 35, 126, 0.06), 0 1px 2px rgba(26, 35, 126, 0.04);
  --vr-shadow-md: 0 4px 6px -1px rgba(26, 35, 126, 0.07), 0 2px 4px -1px rgba(26, 35, 126, 0.04);
  --vr-shadow-lg: 0 10px 15px -3px rgba(26, 35, 126, 0.08), 0 4px 6px -2px rgba(26, 35, 126, 0.04);
  --vr-shadow-xl: 0 20px 25px -5px rgba(26, 35, 126, 0.1), 0 10px 10px -5px rgba(26, 35, 126, 0.04);
  --vr-shadow-glow: 0 0 20px rgba(230, 57, 70, 0.15);
  
  /* Refined Radius */
  --vr-radius-sm: 10px;
  --vr-radius-md: 14px;
  --vr-radius-lg: 18px;
  --vr-radius-xl: 24px;
  
  /* Smooth Transitions */
  --vr-transition-fast: 0.15s cubic-bezier(0.4, 0, 0.2, 1);
  --vr-transition-base: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  --vr-transition-slow: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  --vr-transition-bounce: 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* === GLOBAL TYPOGRAPHY REFINEMENT === */
body {
  font-feature-settings: "kern" 1, "liga" 1;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Enhanced Heading Hierarchy */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.02em;
  color: var(--vr-text);
}

h1 { font-size: clamp(1.75rem, 4vw, 2.75rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.25rem); }
h3 { font-size: clamp(1.125rem, 2vw, 1.5rem); }

/* === HERO SECTION - Cinematic Gradient === */
.hero {
  position: relative;
  overflow: hidden;
  background: 
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(230, 57, 70, 0.12) 0%, transparent 50%),
    radial-gradient(ellipse 60% 50% at 80% 100%, rgba(26, 35, 126, 0.08) 0%, transparent 50%),
    radial-gradient(ellipse 50% 40% at 20% 80%, rgba(247, 127, 0, 0.06) 0%, transparent 50%),
    linear-gradient(165deg, #f0f4ff 0%, #e8eeff 30%, #f5f0ff 60%, #fff5f5 100%);
  padding: calc(var(--pm-nav-height, 64px) + 48px) 16px 56px;
}

/* Animated subtle gradient overlay */
.hero::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at 30% 30%, rgba(230, 57, 70, 0.04) 0%, transparent 40%),
              radial-gradient(circle at 70% 70%, rgba(26, 35, 126, 0.03) 0%, transparent 40%);
  animation: heroGlow 15s ease-in-out infinite alternate;
  pointer-events: none;
  z-index: 0;
}

@keyframes heroGlow {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-2%, -2%) scale(1.02); }
  100% { transform: translate(2%, 2%) scale(1); }
}

.hero .container {
  position: relative;
  z-index: 1;
}

.hero h1 {
  font-size: clamp(1.75rem, 5vw, 2.75rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.03em;
  text-shadow: 0 2px 20px rgba(26, 35, 126, 0.1);
  margin-bottom: 16px;
}

.hero-subtitle {
  font-size: clamp(0.875rem, 2vw, 1.125rem);
  line-height: 1.6;
  color: var(--vr-text-secondary);
  max-width: 560px;
  margin: 0 auto 28px;
}

/* Enhanced Stats Bar */
.hero-stats {
  display: flex;
  justify-content: center;
  gap: clamp(24px, 5vw, 48px);
  flex-wrap: wrap;
  margin-top: 32px;
  padding: 20px 28px;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px) saturate(150%);
  -webkit-backdrop-filter: blur(12px) saturate(150%);
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: var(--vr-radius-xl);
  box-shadow: var(--vr-shadow-lg);
}

.stat-number {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 800;
  background: linear-gradient(135deg, var(--vr-primary) 0%, var(--vr-accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 4px;
}

.stat-label {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--vr-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* === BUTTON REFINEMENT === */
.btn {
  position: relative;
  overflow: hidden;
  transition: var(--vr-transition-base);
  font-weight: 600;
  letter-spacing: 0.02em;
}

.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: left 0.5s ease;
}

.btn:hover::before {
  left: 100%;
}

.btn-primary {
  background: linear-gradient(135deg, var(--vr-primary) 0%, var(--vr-primary-dark) 100%);
  box-shadow: 0 4px 14px rgba(230, 57, 70, 0.35), 0 1px 3px rgba(230, 57, 70, 0.2);
  border: none;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(230, 57, 70, 0.45), 0 2px 5px rgba(230, 57, 70, 0.3);
}

.btn-primary:active {
  transform: translateY(0) scale(0.98);
  box-shadow: 0 2px 8px rgba(230, 57, 70, 0.3);
}

.btn-outline {
  border: 2px solid rgba(230, 57, 70, 0.3);
  color: var(--vr-primary);
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(4px);
}

.btn-outline:hover {
  background: var(--vr-primary);
  color: #fff;
  border-color: var(--vr-primary);
}

/* === SECTION TITLES - Elegant Decoration === */
.section-title {
  position: relative;
  display: inline-block;
  width: 100%;
  text-align: center;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}

.section-title::after {
  content: '';
  display: block;
  width: 48px;
  height: 4px;
  background: linear-gradient(90deg, var(--vr-primary), var(--vr-accent));
  border-radius: 2px;
  margin: 12px auto 0;
  transition: width 0.3s ease;
}

.section-title:hover::after {
  width: 72px;
}

.section-subtitle {
  text-align: center;
  color: var(--vr-text-secondary);
  font-size: 0.9375rem;
  line-height: 1.6;
  max-width: 600px;
  margin: 0 auto 36px;
}

/* === CARD SYSTEM - Premium Feel === */
.service-card, .why-item, .case-card, .news-card, 
.testimonial-card, .area-card, .geo-card {
  background: var(--vr-bg);
  border-radius: var(--vr-radius-md);
  border: 1px solid var(--vr-border);
  transition: var(--vr-transition-base);
  position: relative;
  overflow: hidden;
}

.service-card, .why-item, .area-card {
  box-shadow: var(--vr-shadow-sm);
}

.service-card:hover, .why-item:hover, .area-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--vr-shadow-xl);
  border-color: rgba(230, 57, 70, 0.2);
}

/* Service Card Specific */
.service-card {
  padding: 28px 20px;
  text-align: center;
}

.service-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  background: linear-gradient(135deg, rgba(230, 57, 70, 0.1), rgba(247, 127, 0, 0.08));
  border-radius: var(--vr-radius-lg);
  transition: var(--vr-transition-bounce);
}

.service-card:hover .service-icon {
  transform: scale(1.1) rotate(-3deg);
  background: linear-gradient(135deg, rgba(230, 57, 70, 0.15), rgba(247, 127, 0, 0.12));
}

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

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

/* Case Card Specific */
.case-card {
  box-shadow: var(--vr-shadow-md);
  border-radius: var(--vr-radius-lg);
  overflow: hidden;
}

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

.case-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.case-info {
  padding: 20px;
}

.case-info h3 {
  font-size: 1.0625rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.case-tag {
  display: inline-block;
  padding: 4px 12px;
  background: linear-gradient(135deg, rgba(230, 57, 70, 0.1), rgba(247, 127, 0, 0.08));
  color: var(--vr-primary);
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: 20px;
  margin-top: 10px;
}

/* News Card Specific */
.news-card {
  padding: 20px;
  box-shadow: var(--vr-shadow-sm);
  border-left: 3px solid transparent;
  transition: var(--vr-transition-base);
}

.news-card:hover {
  border-left-color: var(--vr-primary);
  box-shadow: var(--vr-shadow-lg);
  transform: translateX(4px);
}

.news-meta {
  display: flex;
  gap: 8px;
  margin-bottom: 10px;
  font-size: 0.75rem;
}

.news-meta span {
  padding: 2px 10px;
  background: rgba(230, 57, 70, 0.08);
  color: var(--vr-primary);
  border-radius: 4px;
  font-weight: 600;
}

.news-card h3 {
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 8px;
}

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

/* === WHY US SECTION === */
.why-us {
  background: var(--vr-bg-light);
}

.why-item {
  padding: 28px 24px;
  text-align: center;
  position: relative;
}

.why-number {
  font-size: 3.5rem;
  font-weight: 900;
  color: rgba(230, 57, 70, 0.08);
  position: absolute;
  top: 8px;
  right: 16px;
  line-height: 1;
  transition: color 0.3s ease;
}

.why-item:hover .why-number {
  color: rgba(230, 57, 70, 0.15);
}

.why-item h3 {
  font-size: 1.0625rem;
  font-weight: 700;
  margin-bottom: 8px;
  position: relative;
  z-index: 1;
}

.why-item p {
  font-size: 0.8125rem;
  line-height: 1.6;
  color: var(--vr-text-secondary);
  position: relative;
  z-index: 1;
}

/* === AREA CARDS === */
.area-card {
  padding: 20px 16px;
  text-align: center;
  background: linear-gradient(135deg, #fff 0%, #fafbfc 100%);
}

.area-card h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 4px;
  color: var(--vr-dark);
}

.area-card p {
  font-size: 0.75rem;
  color: var(--vr-text-muted);
}

.area-card:hover {
  background: linear-gradient(135deg, var(--vr-primary) 0%, var(--vr-primary-dark) 100%);
  color: #fff;
  transform: translateY(-4px) scale(1.02);
}

.area-card:hover h3,
.area-card:hover p {
  color: #fff;
}

/* === TESTIMONIALS - Warm Dark Theme === */
.testimonials {
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #1a1a2e 100%);
  position: relative;
  overflow: hidden;
}

.testimonials::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 20% 50%, rgba(230, 57, 70, 0.08) 0%, transparent 50%),
    radial-gradient(circle at 80% 50%, rgba(247, 127, 0, 0.06) 0%, transparent 50%);
  pointer-events: none;
}

.testimonials .container {
  position: relative;
  z-index: 1;
}

.testimonials .section-title {
  color: #fff;
}

.testimonials .section-title::after {
  background: linear-gradient(90deg, var(--vr-primary), var(--vr-accent));
}

.testimonial-card {
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 24px;
  border-radius: var(--vr-radius-md);
}

.testimonial-stars {
  color: #ffc107;
  font-size: 1rem;
  letter-spacing: 2px;
  margin-bottom: 12px;
}

.testimonial-card > p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.9375rem;
  line-height: 1.7;
  font-style: italic;
  margin-bottom: 16px;
}

.testimonial-author {
  color: var(--vr-primary-light);
  font-weight: 600;
  font-size: 0.8125rem;
}

/* === CONTACT SECTION === */
.contact {
  background: var(--vr-bg-warm);
}

.contact-info h2 {
  font-size: 1.75rem;
  font-weight: 800;
  margin-bottom: 24px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid var(--vr-border);
}

.contact-icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--vr-primary), var(--vr-primary-dark));
  border-radius: var(--vr-radius-sm);
  font-size: 1.25rem;
  flex-shrink: 0;
}

.contact-item h3 {
  font-size: 0.9375rem;
  font-weight: 700;
  margin-bottom: 2px;
}

.contact-item p,
.contact-item a {
  font-size: 0.875rem;
  color: var(--vr-text-secondary);
}

.contact-phone {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--vr-primary);
}

/* Form Styling */
.contact-form-wrap {
  background: #fff;
  border-radius: var(--vr-radius-lg);
  padding: 32px;
  box-shadow: var(--vr-shadow-lg);
}

.contact-form-wrap h2 {
  font-size: 1.375rem;
  font-weight: 800;
  margin-bottom: 20px;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1.5px solid var(--vr-border);
  border-radius: var(--vr-radius-sm);
  background: var(--vr-bg-light);
  font-size: 0.9375rem;
  transition: var(--vr-transition-base);
  margin-bottom: 12px;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--vr-primary);
  box-shadow: 0 0 0 4px rgba(230, 57, 70, 0.08);
  background: #fff;
}

.contact-form button[type="submit"] {
  width: 100%;
  padding: 16px;
  background: linear-gradient(135deg, var(--vr-primary), var(--vr-primary-dark));
  color: #fff;
  border: none;
  border-radius: var(--vr-radius-md);
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--vr-transition-base);
  box-shadow: var(--vr-shadow-md);
  letter-spacing: 0.02em;
}

.contact-form button[type="submit"]:hover {
  transform: translateY(-2px);
  box-shadow: var(--vr-shadow-lg), var(--vr-shadow-glow);
}

.contact-form button[type="submit"]:active {
  transform: translateY(0) scale(0.98);
}

/* === PROCESS SECTION === */
.process-section {
  background: linear-gradient(180deg, #fff 0%, var(--vr-bg-light) 100%);
}

.process-step {
  background: #fff;
  border-radius: var(--vr-radius-md);
  padding: 24px 24px 24px 64px;
  border: 1px solid var(--vr-border);
  box-shadow: var(--vr-shadow-sm);
  position: relative;
  transition: var(--vr-transition-base);
}

.process-step:hover {
  box-shadow: var(--vr-shadow-lg);
  transform: translateY(-2px);
  border-color: rgba(230, 57, 70, 0.2);
}

.process-step::before {
  content: attr(data-step);
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, var(--vr-primary), var(--vr-accent));
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.875rem;
  font-weight: 800;
  box-shadow: 0 4px 12px rgba(230, 57, 70, 0.3);
}

.process-step-title {
  font-size: 1.0625rem;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--vr-text);
}

.process-step-desc {
  font-size: 0.8125rem;
  line-height: 1.6;
  color: var(--vr-text-secondary);
  margin: 0;
}

/* === FAQ SECTION === */
.faq-section {
  background: var(--vr-bg-light);
}

.faq-grid > div {
  background: #fff;
  border-radius: var(--vr-radius-md);
  padding: 20px;
  border: 1px solid var(--vr-border);
  box-shadow: var(--vr-shadow-sm);
  transition: var(--vr-transition-base);
  position: relative;
  overflow: hidden;
}

.faq-grid > div::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(to bottom, var(--vr-primary), var(--vr-accent));
  opacity: 0;
  transition: opacity 0.3s ease;
}

.faq-grid > div:hover {
  box-shadow: var(--vr-shadow-md);
  transform: translateY(-2px);
}

.faq-grid > div:hover::before {
  opacity: 1;
}

.faq-grid h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--vr-text);
}

.faq-grid p {
  font-size: 0.8125rem;
  line-height: 1.6;
  color: var(--vr-text-secondary);
  margin: 0;
}

/* === COMPARISON TABLE === */
.comparison-section {
  background: var(--vr-bg-light);
}

.comparison-table-wrap {
  background: #fff;
  border-radius: var(--vr-radius-md);
  overflow: hidden;
  box-shadow: var(--vr-shadow-md);
  border: 1px solid var(--vr-border);
}

.comparison-section thead th {
  background: linear-gradient(135deg, var(--vr-dark), var(--vr-dark-soft));
  color: #fff;
  font-weight: 700;
  padding: 16px;
  font-size: 0.875rem;
}

.comparison-section tbody td {
  padding: 14px 16px;
  font-size: 0.8125rem;
  border-bottom: 1px solid var(--vr-border);
}

.comparison-section tbody tr:nth-child(even) {
  background: var(--vr-bg-light);
}

.comparison-section tbody tr:hover {
  background: rgba(230, 57, 70, 0.03);
}

.comparison-section tbody td:first-child {
  font-weight: 700;
  color: var(--vr-text);
}

.comparison-section tbody td:nth-child(2) {
  color: var(--vr-primary);
  font-weight: 600;
}

/* === GEO KNOWLEDGE HUB === */
.geo-knowledge-hub {
  background: linear-gradient(180deg, var(--vr-bg-warm) 0%, #fff 100%);
}

.geo-card {
  background: #fff;
  border-radius: var(--vr-radius-md);
  padding: 16px;
  border: 1px solid var(--vr-border);
  box-shadow: var(--vr-shadow-sm);
  transition: var(--vr-transition-base);
}

.geo-card:hover {
  box-shadow: var(--vr-shadow-lg);
  transform: translateY(-3px);
  border-color: rgba(230, 57, 70, 0.2);
}

.geo-card h4 {
  font-size: 0.9375rem;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--vr-text);
}

.geo-card p {
  font-size: 0.75rem;
  line-height: 1.5;
  color: var(--vr-text-secondary);
}

.geo-tag {
  display: inline-block;
  padding: 3px 10px;
  background: linear-gradient(135deg, var(--vr-primary), var(--vr-primary-dark));
  color: #fff;
  font-size: 0.6875rem;
  font-weight: 600;
  border-radius: 4px;
  margin-top: 8px;
}

/* QA Links */
.qa-list a {
  display: flex;
  align-items: center;
  padding: 10px 14px;
  background: #fff;
  border-radius: var(--vr-radius-sm);
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--vr-text);
  border: 1px solid var(--vr-border);
  transition: var(--vr-transition-base);
}

.qa-list a:hover {
  background: var(--vr-primary);
  color: #fff;
  border-color: var(--vr-primary);
  transform: translateX(4px);
}

/* === GEO KNOWLEDGE HUB — 内联样式兜底统一（覆盖 index.html 内联小样式） === */
.geo-knowledge-hub .geo-card {
  background: #fff !important;
  border-radius: var(--vr-radius-md) !important;
  padding: 18px !important;
  border: 1px solid var(--vr-border) !important;
  box-shadow: var(--vr-shadow-sm) !important;
  transition: var(--vr-transition-base) !important;
}

.geo-knowledge-hub .geo-card:hover {
  box-shadow: var(--vr-shadow-lg) !important;
  transform: translateY(-4px) !important;
  border-color: rgba(230, 57, 70, 0.25) !important;
}

.geo-knowledge-hub .geo-card h4 {
  font-size: 0.9375rem !important;
  font-weight: 700 !important;
  line-height: 1.45 !important;
  color: var(--vr-text) !important;
}

.geo-knowledge-hub .geo-card h4 a {
  color: #1a237e !important;
  text-decoration: none !important;
  transition: color var(--vr-transition-fast) !important;
}

.geo-knowledge-hub .geo-card h4 a:hover {
  color: var(--vr-primary) !important;
  text-decoration: none !important;
}

.geo-knowledge-hub .geo-card p {
  color: var(--vr-text-secondary) !important;
  font-size: 0.8125rem !important;
  line-height: 1.6 !important;
}

.geo-knowledge-hub .geo-card span {
  display: inline-block !important;
  margin-top: 10px !important;
  padding: 3px 10px !important;
  background: linear-gradient(135deg, var(--vr-primary), var(--vr-primary-dark)) !important;
  color: #fff !important;
  font-size: 0.6875rem !important;
  border-radius: 20px !important;
  font-weight: 600 !important;
  letter-spacing: 0.03em !important;
}

/* === FOOTER === */
.main-footer {
  background: linear-gradient(135deg, #0f0f23 0%, #1a1a2e 100%);
  color: rgba(255, 255, 255, 0.7);
  position: relative;
  overflow: hidden;
}

.main-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(230, 57, 70, 0.5), transparent);
}

.main-footer h3 {
  color: #fff;
  font-size: 1.0625rem;
  font-weight: 700;
  margin-bottom: 16px;
}

.main-footer a {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.8125rem;
  transition: var(--vr-transition-fast);
  display: inline-block;
  padding: 3px 0;
}

.main-footer a:hover {
  color: var(--vr-primary-light);
  transform: translateX(4px);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 20px;
  margin-top: 32px;
  text-align: center;
}

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

/* === FLOATING CALL BUTTON === */
.floating-call {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 999;
}

.float-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 24px;
  background: linear-gradient(135deg, var(--vr-primary), var(--vr-primary-dark));
  color: #fff !important;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1rem;
  box-shadow: 0 4px 20px rgba(230, 57, 70, 0.4), 0 0 0 0 rgba(230, 57, 70, 0.4);
  animation: floatPulse 2s ease-in-out infinite;
  transition: var(--vr-transition-base);
}

.float-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 30px rgba(230, 57, 70, 0.5);
}

@keyframes floatPulse {
  0%, 100% { box-shadow: 0 4px 20px rgba(230, 57, 70, 0.4), 0 0 0 0 rgba(230, 57, 70, 0.4); }
  50% { box-shadow: 0 4px 25px rgba(230, 57, 70, 0.5), 0 0 0 10px rgba(230, 57, 70, 0); }
}

/* === MOBILE BOTTOM NAV === */
.mobile-nav {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  box-shadow: 0 -2px 20px rgba(0, 0, 0, 0.08);
  border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.mn-item {
  transition: var(--vr-transition-fast);
  position: relative;
}

.mn-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%) scaleX(0);
  width: 20px;
  height: 3px;
  background: var(--vr-primary);
  border-radius: 0 0 3px 3px;
  transition: transform 0.3s ease;
}

.mn-item.active::before,
.mn-item:hover::before {
  transform: translateX(-50%) scaleX(1);
}

.mn-item.active {
  color: var(--vr-primary);
}

.mn-call {
  background: linear-gradient(135deg, var(--vr-primary), var(--vr-primary-dark)) !important;
  box-shadow: 0 4px 15px rgba(230, 57, 70, 0.35);
}

/* === STICKY DIAL BAR === */
.sticky-dial-bar {
  background: linear-gradient(135deg, var(--vr-primary), var(--vr-primary-dark));
  box-shadow: 0 -4px 24px rgba(230, 57, 70, 0.25);
}

.dial-btn {
  font-weight: 700;
  letter-spacing: 0.05em;
}

.dial-icon {
  animation: dialPulse 1.5s ease-in-out infinite;
}

@keyframes dialPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.15); }
}

/* === SCROLL TO TOP === */
.scroll-top {
  background: linear-gradient(135deg, var(--vr-primary), var(--vr-primary-dark));
  box-shadow: 0 4px 15px rgba(230, 57, 70, 0.3);
  transition: var(--vr-transition-base);
}

.scroll-top:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 25px rgba(230, 57, 70, 0.4);
}

/* === SERVICE POPUP === */
.service-popup-card {
  border-radius: var(--vr-radius-lg);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.sp-btn {
  background: linear-gradient(135deg, var(--vr-primary), var(--vr-primary-dark));
  border-radius: var(--vr-radius-md);
  font-weight: 700;
  transition: var(--vr-transition-base);
}

.sp-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(230, 57, 70, 0.4);
}

/* === RESPONSIVE ENHANCEMENTS === */
@media (max-width: 768px) {
  .hero {
    padding: calc(var(--pm-nav-height, 56px) + 32px) 16px 40px;
  }
  
  .hero-stats {
    padding: 16px 20px;
    gap: 20px;
  }
  
  .service-card,
  .why-item,
  .case-card,
  .news-card,
  .area-card {
    border-radius: var(--vr-radius-sm);
  }
  
  .contact-form-wrap {
    padding: 24px;
  }
  
  .section-title {
    font-size: 1.375rem;
  }
  
  .section-subtitle {
    font-size: 0.8125rem;
  }
  
  /* Enhanced touch feedback */
  .service-card:active,
  .why-item:active,
  .case-card:active,
  .news-card:active,
  .area-card:active {
    transform: scale(0.98);
    transition: transform 0.1s ease;
  }
  
  .btn:active {
    transform: scale(0.96);
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 1.5rem;
  }
  
  .hero-subtitle {
    font-size: 0.8125rem;
  }
  
  .stat-number {
    font-size: 1.5rem;
  }
  
  .section-title {
    font-size: 1.25rem;
  }
  
  .service-card {
    padding: 20px 16px;
  }
  
  .service-icon {
    width: 48px;
    height: 48px;
    font-size: 24px;
  }
}

/* === ACCESSIBILITY === */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Focus states */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--vr-primary);
  outline-offset: 2px;
}

/* === UTILITY ANIMATIONS === */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

/* Loading shimmer effect for images */
.case-image[loading="lazy"]::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
}
