/* ========================================
   Global Docs Pro — Service Page Styles
   For subpages like /documents-from-russia-to-germany/
   ======================================== */

@import url('cta-card.css');

/* Page Hero */
.page-hero {
  padding: 120px 0 80px;
  background: linear-gradient(135deg, #0f172a 0%, #1e3a8a 100%);
  color: var(--white);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url('https://images.unsplash.com/photo-1497366216548-37526070297c?w=1920&q=80');
  background-size: cover;
  background-position: center;
  opacity: 0.15;
  filter: grayscale(50%);
}

.page-hero::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at center, rgba(15, 23, 42, 0) 0%, rgba(15, 23, 42, 0.8) 100%);
}

.page-hero .container {
  position: relative;
  z-index: 2;
}

.page-hero .breadcrumb {
  font-size: 0.85rem;
  opacity: 0.7;
  margin-bottom: 20px;
}

.page-hero .breadcrumb a {
  color: var(--white);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.page-hero .breadcrumb a:hover {
  opacity: 1;
}

.page-hero h1 {
  font-size: 3rem;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 20px;
  letter-spacing: -1px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.page-hero p {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.85);
  max-width: 650px;
  margin: 0 auto 36px;
  line-height: 1.7;
}

.page-hero .hero-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Content Section */
.content-section {
  padding: 80px 0;
}

.content-section h2 {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 20px;
  letter-spacing: -0.3px;
}

.content-section h3 {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--gray-800);
  margin-bottom: 12px;
}

.content-section p {
  font-size: 1rem;
  color: var(--gray-600);
  line-height: 1.8;
  margin-bottom: 16px;
}

.content-section ul,
.content-section ol {
  color: var(--gray-600);
  line-height: 1.8;
  margin-bottom: 16px;
  padding-left: 24px;
}

.content-section li {
  margin-bottom: 8px;
}

.content-section .text-content {
  max-width: 800px;
}

.content-two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

/* Document Cards Grid */
.doc-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 32px;
}

.doc-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-xl);
  padding: 28px;
  transition: var(--transition);
}

.doc-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
  border-color: var(--primary-light);
}

.doc-card .icon {
  font-size: 2rem;
  margin-bottom: 14px;
}

.doc-card h3 {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--gray-900);
  margin-bottom: 8px;
}

.doc-card p {
  font-size: 0.88rem;
  color: var(--gray-500);
  line-height: 1.6;
}

/* Info Box */
.info-box {
  background: var(--primary-light);
  border-left: 4px solid var(--primary);
  border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
  padding: 24px 28px;
  margin: 24px 0;
}

.info-box p {
  color: var(--gray-700);
  margin-bottom: 0;
  font-size: 0.95rem;
}

.info-box-icon {
  display: inline-block;
  margin-right: 8px;
}

/* Checklist */
.checklist {
  list-style: none;
  padding: 0;
}

.checklist li {
  position: relative;
  padding-left: 32px;
  margin-bottom: 12px;
}

.checklist li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 0;
  width: 24px;
  height: 24px;
  background: var(--green-light);
  color: var(--green);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  line-height: 24px;
  text-align: center;
}

/* FAQ Section */
.faq-section {
  padding: 80px 0;
  background: var(--gray-50);
}

.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  margin-bottom: 12px;
  overflow: hidden;
  transition: var(--transition);
}

.faq-item:hover {
  border-color: var(--primary-light);
}

.faq-question {
  padding: 20px 24px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 1rem;
  font-weight: 600;
  color: var(--gray-800);
  user-select: none;
  transition: var(--transition);
}

.faq-question:hover {
  color: var(--primary);
}

.faq-question .arrow {
  font-size: 0.8rem;
  color: var(--gray-400);
  transition: transform 0.3s ease;
  flex-shrink: 0;
  margin-left: 16px;
}

.faq-item.active .faq-question .arrow {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-answer-inner {
  padding: 0 24px 20px;
  font-size: 0.95rem;
  color: var(--gray-600);
  line-height: 1.7;
}

/* Sidebar */
.sidebar {
  position: sticky;
  top: 90px;
}

.sidebar-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-xl);
  padding: 28px;
  margin-bottom: 24px;
}

.sidebar-card h3 {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--gray-900);
  margin-bottom: 16px;
}

.sidebar-card .btn {
  width: 100%;
  justify-content: center;
  margin-bottom: 12px;
}

.sidebar-card .btn:last-child {
  margin-bottom: 0;
}

.sidebar-features {
  list-style: none;
  padding: 0;
  margin-top: 16px;
}

.sidebar-features li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 10px;
  font-size: 0.9rem;
  color: var(--gray-600);
}

.sidebar-features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--green);
  font-weight: 700;
  font-size: 0.85rem;
}

/* Countries Grid */
.countries-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 24px;
}

.country-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--gray-700);
  transition: var(--transition);
}

.country-link:hover {
  border-color: var(--primary);
  color: var(--primary);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.country-link .flag {
  font-size: 1.5rem;
}

/* Process Timeline */
.timeline {
  position: relative;
  padding-left: 40px;
  margin-top: 24px;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 15px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--gray-200);
}

.timeline-item {
  position: relative;
  margin-bottom: 32px;
}

.timeline-item:last-child {
  margin-bottom: 0;
}

.timeline-dot {
  position: absolute;
  left: -33px;
  top: 4px;
  width: 18px;
  height: 18px;
  background: var(--primary);
  border-radius: 50%;
  border: 3px solid var(--white);
  box-shadow: 0 0 0 2px var(--primary);
}

.timeline-item h3 {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--gray-900);
  margin-bottom: 8px;
}

.timeline-item p {
  font-size: 0.9rem;
  color: var(--gray-500);
  line-height: 1.6;
  margin-bottom: 0;
}

/* Responsive */
@media (max-width: 1024px) {
  .content-two-col {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .doc-cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .countries-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .page-hero {
    padding: 120px 0 60px;
  }

  .page-hero h1 {
    font-size: 2rem;
  }

  .page-hero p {
    font-size: 1rem;
  }

  .doc-cards-grid {
    grid-template-columns: 1fr;
  }

  .countries-grid {
    grid-template-columns: 1fr;
  }

  .content-section {
    padding: 60px 0;
  }

  .faq-section {
    padding: 60px 0;
  }

  .sidebar {
    position: static;
  }
}

@media (max-width: 480px) {
  .page-hero h1 {
    font-size: 1.7rem;
  }

  .page-hero .hero-buttons {
    flex-direction: column;
    align-items: center;
  }

  .page-hero .hero-buttons .btn {
    width: 100%;
    justify-content: center;
  }
}
