﻿/* ===== SERVICES PAGE STYLES ===== */

/* ── Hero ── */
.sv-hero {
  position: relative; overflow: hidden;
  background: var(--gradient-hero);
  padding: calc(var(--header-h) + 4rem) 0 4rem;
  min-height: 520px; display: flex; align-items: center;
}
.sv-hero-bg { position: absolute; inset: 0; pointer-events: none; }
.sv-hero-shape {
  position: absolute; border-radius: 50%;
  background: rgba(255,255,255,0.06);
}
.sv-hero-shape-1 { width: 400px; height: 400px; top: -100px; right: -100px; animation: svFloat 8s ease-in-out infinite; }
.sv-hero-shape-2 { width: 300px; height: 300px; bottom: -80px; left: -60px; animation: svFloat 10s ease-in-out infinite reverse; }
.sv-hero-shape-3 { width: 200px; height: 200px; top: 50%; left: 50%; animation: svFloat 6s ease-in-out infinite 1s; }
.sv-hero-content { position: relative; z-index: 2; text-align: center; max-width: 800px; margin: 0 auto; }
.sv-hero-badge {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: rgba(255,255,255,0.15); backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.2); border-radius: var(--r-full);
  padding: 0.5rem 1.25rem; color: #fff; font-size: var(--text-sm); font-weight: 600;
  margin-bottom: 1.5rem; animation: svFadeUp 0.6s ease-out;
}
.sv-hero-title {
  font-family: var(--font-en); font-size: var(--text-5xl); font-weight: 800;
  color: #fff; margin-bottom: 1rem; line-height: 1.15;
  animation: svFadeUp 0.6s ease-out 0.1s both;
}
.sv-hero-subtitle {
  font-size: var(--text-lg); color: rgba(255,255,255,0.85);
  max-width: 600px; margin: 0 auto 2rem; line-height: 1.7;
  animation: svFadeUp 0.6s ease-out 0.2s both;
}
.sv-hero-stats {
  display: flex; justify-content: center; gap: 3rem;
  animation: svFadeUp 0.6s ease-out 0.3s both;
}
.sv-hero-stat { text-align: center; }
.sv-hero-stat-num {
  display: block; font-family: var(--font-en); font-size: var(--text-3xl);
  font-weight: 800; color: #fff;
}
.sv-hero-stat-label { font-size: var(--text-sm); color: rgba(255,255,255,0.7); }

/* ── Filter Bar ── */
.sv-filter-section { padding: 2rem 0 0; background: var(--bg); position: sticky; top: var(--header-h); z-index: 50; border-bottom: 1px solid var(--border); }
.sv-filter-bar {
  display: flex; gap: 1rem; align-items: center; flex-wrap: wrap;
  background: var(--white); border-radius: var(--r-xl); padding: 1rem 1.5rem;
  box-shadow: var(--sh-md); border: 1px solid var(--border-light);
}
.sv-search-box {
  flex: 1; min-width: 250px; position: relative;
}
.sv-search-box i { position: absolute; right: 1rem; top: 50%; transform: translateY(-50%); color: var(--text-muted); }
.sv-search-input {
  width: 100%; padding: 0.75rem 1rem 0.75rem 2.5rem;
  border: 1px solid var(--border); border-radius: var(--r-lg);
  font-size: var(--text-base); font-family: var(--font);
  transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
  background: var(--bg);
}
.sv-search-input:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(40,184,214,0.15); }
.sv-filter-group { display: flex; gap: 0.75rem; align-items: center; flex-wrap: wrap; }
.sv-filter-select {
  padding: 0.75rem 1rem; border: 1px solid var(--border); border-radius: var(--r-lg);
  font-size: var(--text-base); font-family: var(--font); background: var(--bg);
  min-width: 180px; cursor: pointer;
}
.sv-filter-select:focus { outline: none; border-color: var(--primary); }
.sv-price-filter { display: flex; align-items: center; gap: 0.5rem; }
.sv-price-input {
  width: 90px; padding: 0.75rem; border: 1px solid var(--border);
  border-radius: var(--r-lg); font-size: var(--text-base); font-family: var(--font); background: var(--bg);
}
.sv-price-input:focus { outline: none; border-color: var(--primary); }
.sv-price-sep { color: var(--text-muted); }
.sv-active-filters { display: flex; gap: 0.5rem; flex-wrap: wrap; margin-top: 0.75rem; }
.sv-active-filters:empty { display: none; }
.sv-filter-tag {
  display: inline-flex; align-items: center; gap: 0.4rem;
  background: var(--primary-50); color: var(--primary); border: 1px solid var(--primary-200);
  border-radius: var(--r-full); padding: 0.35rem 0.85rem; font-size: var(--text-sm); font-weight: 500;
}
.sv-filter-tag button { background: none; border: none; color: var(--primary); cursor: pointer; font-size: 0.7rem; }

/* ── Services Section ── */
.sv-services-section { padding: 3rem 0; }
.sv-section-header { text-align: center; margin-bottom: 2.5rem; }
.sv-section-title {
  font-family: var(--font-en); font-size: var(--text-3xl); font-weight: 800;
  color: var(--text-primary); margin-bottom: 0.5rem;
}
.sv-section-subtitle { font-size: var(--text-base); color: var(--text-muted); }

/* ── Grid ── */
.sv-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 1.5rem;
}
.sv-card {
  background: var(--white); border-radius: var(--r-xl);
  border: 1px solid var(--border-light);
  box-shadow: var(--sh-card);
  overflow: hidden; transition: all var(--dur) var(--ease);
  display: flex; flex-direction: column;
  animation: svFadeUp 0.5s ease-out both;
}
.sv-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--sh-card-hover);
  border-color: var(--primary-200);
}
.sv-card-img {
  width: 100%; height: 200px; object-fit: cover;
  background: linear-gradient(135deg, var(--primary-50), var(--primary-100));
  display: flex; align-items: center; justify-content: center;
  position: relative; overflow: hidden;
}
.sv-card-img i { font-size: 3rem; color: var(--primary); opacity: 0.3; }
.sv-card-badge {
  position: absolute; top: 1rem; right: 1rem;
  background: var(--gradient-primary); color: #fff;
  border-radius: var(--r-full); padding: 0.3rem 0.85rem;
  font-size: var(--text-xs); font-weight: 700; text-transform: uppercase;
  box-shadow: var(--sh-primary);
}
.sv-card-body { padding: 1.5rem; flex: 1; display: flex; flex-direction: column; }
.sv-card-category {
  font-size: var(--text-xs); font-weight: 600; color: var(--primary);
  text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 0.5rem;
}
.sv-card-title {
  font-family: var(--font-en); font-size: var(--text-xl); font-weight: 700;
  color: var(--text-primary); margin-bottom: 0.5rem; line-height: 1.3;
}
.sv-card-desc {
  font-size: var(--text-sm); color: var(--text-muted); line-height: 1.6;
  margin-bottom: 1rem; flex: 1;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.sv-card-meta {
  display: flex; gap: 1rem; margin-bottom: 1rem; flex-wrap: wrap;
}
.sv-card-meta-item {
  display: flex; align-items: center; gap: 0.35rem;
  font-size: var(--text-sm); color: var(--text-muted);
}
.sv-card-meta-item i { color: var(--primary); font-size: 0.8rem; }
.sv-card-price {
  display: flex; align-items: baseline; gap: 0.4rem;
  margin-bottom: 1rem;
}
.sv-card-price-from { font-size: var(--text-sm); color: var(--text-muted); }
.sv-card-price-value {
  font-family: var(--font-en); font-size: var(--text-2xl); font-weight: 800;
  color: var(--primary);
}
.sv-card-price-currency { font-size: var(--text-sm); color: var(--text-muted); }
.sv-card-actions { display: flex; gap: 0.5rem; }
.sv-card-actions .btn { flex: 1; }
.sv-card .btn-outline-primary { border: 1.5px solid var(--primary); color: var(--primary); background: transparent; }
.sv-card .btn-outline-primary:hover { background: var(--primary); color: #fff; }

/* ── Loading ── */
.sv-loading { grid-column: 1 / -1; text-align: center; padding: 4rem 0; }
.sv-spinner {
  width: 40px; height: 40px; border: 3px solid var(--border);
  border-top-color: var(--primary); border-radius: 50%;
  animation: svSpin 0.8s linear infinite; margin: 0 auto;
}
.sv-empty { grid-column: 1 / -1; text-align: center; padding: 4rem 0; color: var(--text-muted); }
.sv-empty i { font-size: 3rem; margin-bottom: 1rem; opacity: 0.3; }
.sv-empty h3 { font-size: var(--text-xl); color: var(--text-primary); margin-bottom: 0.5rem; }

/* ── Pricing Section ── */
.sv-pricing-section { padding: 4rem 0; background: var(--bg-alt); }
.sv-compare { margin-top: 2rem; }
.sv-compare-header { text-align: center; margin-bottom: 2rem; }
.sv-compare-header h3 { font-family: var(--font-en); font-size: var(--text-2xl); font-weight: 700; color: var(--text-primary); }
.sv-compare-header p { color: var(--text-muted); }
.sv-compare-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem; max-width: 1000px; margin: 0 auto;
}
.sv-compare-card {
  background: var(--white); border-radius: var(--r-xl);
  border: 2px solid var(--border-light); padding: 2rem;
  text-align: center; transition: all var(--dur) var(--ease);
  position: relative;
}
.sv-compare-card.recommended {
  border-color: var(--primary);
  box-shadow: var(--sh-primary);
  transform: scale(1.03);
}
.sv-compare-card.recommended::before {
  content: 'Recommended'; position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  background: var(--gradient-primary); color: #fff; border-radius: var(--r-full);
  padding: 0.3rem 1rem; font-size: var(--text-xs); font-weight: 700;
}
.sv-compare-card h4 { font-family: var(--font-en); font-size: var(--text-lg); font-weight: 700; margin-bottom: 0.5rem; }
.sv-compare-card .sv-compare-sessions { font-size: var(--text-sm); color: var(--text-muted); margin-bottom: 1rem; }
.sv-compare-card .sv-compare-price {
  font-family: var(--font-en); font-size: var(--text-3xl); font-weight: 800;
  color: var(--primary); margin-bottom: 0.25rem;
}
.sv-compare-card .sv-compare-per { font-size: var(--text-sm); color: var(--text-muted); margin-bottom: 1rem; }
.sv-compare-card .sv-compare-discount {
  display: inline-block; background: var(--green-bg); color: var(--green);
  border-radius: var(--r-full); padding: 0.3rem 0.8rem;
  font-size: var(--text-xs); font-weight: 700; margin-bottom: 1.5rem;
}

/* ── FAQ ── */
.sv-faq-section { padding: 4rem 0; }
.sv-faq-grid { max-width: 800px; margin: 0 auto; display: flex; flex-direction: column; gap: 0.75rem; }
.sv-faq-item {
  background: var(--white); border-radius: var(--r-lg);
  border: 1px solid var(--border-light); overflow: hidden;
  transition: all var(--dur) var(--ease);
}
.sv-faq-item:hover { border-color: var(--primary-200); }
.sv-faq-question {
  display: flex; justify-content: space-between; align-items: center;
  padding: 1.25rem 1.5rem; cursor: pointer; user-select: none;
}
.sv-faq-question h4 { font-size: var(--text-base); font-weight: 600; color: var(--text-primary); }
.sv-faq-question i { color: var(--text-muted); transition: transform var(--dur) var(--ease); font-size: 0.8rem; }
.sv-faq-item.open .sv-faq-question i { transform: rotate(180deg); color: var(--primary); }
.sv-faq-answer {
  max-height: 0; overflow: hidden; transition: max-height var(--dur-slow) var(--ease);
}
.sv-faq-item.open .sv-faq-answer { max-height: 300px; }
.sv-faq-answer p { padding: 0 1.5rem 1.5rem; color: var(--text-muted); line-height: 1.7; font-size: var(--text-sm); }

/* ── CTA ── */
.sv-cta-section { padding: 4rem 0; }
.sv-cta-card {
  background: var(--gradient-hero); border-radius: var(--r-2xl);
  padding: 4rem 3rem; text-align: center; position: relative; overflow: hidden;
}
.sv-cta-card::before {
  content: ''; position: absolute; width: 300px; height: 300px;
  background: rgba(255,255,255,0.05); border-radius: 50%;
  top: -100px; right: -100px;
}
.sv-cta-content { position: relative; z-index: 2; }
.sv-cta-content h2 { font-family: var(--font-en); font-size: var(--text-3xl); font-weight: 800; color: #fff; margin-bottom: 0.75rem; }
.sv-cta-content p { color: rgba(255,255,255,0.8); margin-bottom: 2rem; font-size: var(--text-lg); }
.sv-cta-buttons { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ── Modal ── */
.sv-modal-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,0.5);
  backdrop-filter: blur(8px); z-index: var(--z-modal);
  display: flex; align-items: center; justify-content: center;
  padding: 1rem; opacity: 0; pointer-events: none;
  transition: opacity var(--dur) var(--ease);
}
.sv-modal-overlay.active { opacity: 1; pointer-events: all; }
.sv-modal {
  background: var(--white); border-radius: var(--r-2xl);
  width: 100%; max-width: 720px; max-height: 90vh; overflow-y: auto;
  box-shadow: var(--sh-xl);
  transform: translateY(20px) scale(0.95);
  transition: transform var(--dur-slow) var(--ease);
  position: relative;
}
.sv-modal-overlay.active .sv-modal { transform: translateY(0) scale(1); }
.sv-modal-close {
  position: absolute; top: 1rem; left: 1rem; z-index: 10;
  width: 32px; height: 32px; border-radius: 8px;
  background: none; border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem; color: #64748b;
  transition: all 0.15s ease;
}
.sv-modal-close:hover { background: #f1f5f9; color: #555757; }
.sv-modal-img { width: 100%; height: 260px; object-fit: cover; background: var(--primary-50); display: flex; align-items: center; justify-content: center; }
.sv-modal-img i { font-size: 4rem; color: var(--primary); opacity: 0.2; }
.sv-modal-content { padding: 2rem; }
.sv-modal-content h2 { font-family: var(--font-en); font-size: var(--text-2xl); font-weight: 800; color: var(--text-primary); margin-bottom: 0.5rem; }
.sv-modal-content .sv-modal-category { font-size: var(--text-sm); color: var(--primary); font-weight: 600; margin-bottom: 1rem; }
.sv-modal-section { margin-bottom: 1.5rem; }
.sv-modal-section h4 { font-size: var(--text-base); font-weight: 700; color: var(--text-primary); margin-bottom: 0.5rem; display: flex; align-items: center; gap: 0.5rem; }
.sv-modal-section h4 i { color: var(--primary); font-size: 0.9rem; }
.sv-modal-section p, .sv-modal-section li { font-size: var(--text-sm); color: var(--text-muted); line-height: 1.7; }
.sv-modal-section ul { list-style: none; padding: 0; }
.sv-modal-section ul li { padding: 0.3rem 0; padding-left: 1.2rem; position: relative; }
.sv-modal-section ul li::before { content: '✓'; position: absolute; left: 0; color: var(--green); font-weight: 700; }
.sv-modal-pricing { display: flex; gap: 1rem; flex-wrap: wrap; margin: 1.5rem 0; }
.sv-modal-price-card {
  flex: 1; min-width: 150px; background: var(--bg); border-radius: var(--r-lg);
  padding: 1rem; text-align: center; border: 1px solid var(--border-light);
}
.sv-modal-price-card h5 { font-size: var(--text-sm); color: var(--text-muted); margin-bottom: 0.5rem; }
.sv-modal-price-card .price { font-family: var(--font-en); font-size: var(--text-xl); font-weight: 800; color: var(--primary); }
.sv-modal-actions { display: flex; gap: 0.75rem; margin-top: 1.5rem; }
.sv-modal-actions .btn { flex: 1; }

/* ── Buttons ── */
.btn-white { background: #fff; color: var(--primary); }
.btn-white:hover { background: var(--primary-50); transform: translateY(-1px); }
.btn-outline-white { background: transparent; color: #fff; border: 2px solid rgba(255,255,255,0.4); }
.btn-outline-white:hover { background: rgba(255,255,255,0.1); border-color: #fff; }
.btn-whatsapp { background: #25d366; color: #fff; }
.btn-whatsapp:hover { background: #1da851; }
.btn-lg { padding: 0.875rem 2rem; font-size: var(--text-base); }
.btn-sm { padding: 0.5rem 1rem; font-size: var(--text-sm); }

/* ── Hidden utility ── */
.hidden { display: none !important; }

/* ── Animations ── */
@keyframes svFloat { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-20px); } }
@keyframes svFadeUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
@keyframes svSpin { to { transform: rotate(360deg); } }

/* ── Responsive ── */
@media (max-width: 768px) {
  .sv-hero { min-height: 400px; padding: calc(var(--header-h) + 2rem) 0 2rem; }
  .sv-hero-title { font-size: var(--text-3xl); }
  .sv-hero-stats { gap: 1.5rem; }
  .sv-grid { grid-template-columns: 1fr; }
  .sv-filter-bar { flex-direction: column; }
  .sv-filter-group { width: 100%; }
  .sv-compare-grid { grid-template-columns: 1fr; }
  .sv-compare-card.recommended { transform: none; }
  .sv-cta-card { padding: 2.5rem 1.5rem; }
  .sv-cta-buttons { flex-direction: column; }
}
