/* ======================================
   THEME : audit-fiscal-conseil.info
   Page-specific & decorative styles
   ====================================== */

/* --- HERO BANNER --- */
.hero-banner {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: linear-gradient(rgba(30, 42, 56, 0.6), rgba(30, 42, 56, 0.8)), url('../images/hero1-accountant-office-professional_orig.jpg') center/cover no-repeat;
  background-attachment: fixed;
  color: #fff;
  padding-top: var(--header-height);
  overflow: hidden;
}

.hero-banner::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(30, 42, 56, 0.2);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 780px;
  padding: 0 24px;
}

.hero-content h1 {
  color: #fff;
  font-family: var(--font-heading);
  margin-bottom: 1rem;
  font-size: clamp(2rem, 5vw, 3.5rem);
}

.hero-content p {
  color: rgba(255,255,255,0.85);
  font-size: 1.15rem;
  margin-bottom: 2rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* --- PAGE TITLE BAR --- */
.page-title-bar {
  background: linear-gradient(rgba(30, 42, 56, 0.65), rgba(30, 42, 56, 0.8)), url('../images/banner4-accountant-office-professional_orig.jpg') center/cover no-repeat;
  background-attachment: fixed;
  padding: 120px 0 60px;
  text-align: center;
  color: #fff;
}

.page-title-bar h1 {
  color: #fff;
  font-size: clamp(2rem, 4vw, 3rem);
}

.page-title-bar p {
  color: rgba(255,255,255,0.8);
  max-width: 600px;
  margin: 0 auto;
}

/* --- DECORATIVE ELEMENTS --- */
.section-decor {
  position: relative;
  overflow: hidden;
}

.section-decor::before,
.section-decor::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}

.section-decor::before {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(200, 122, 44, 0.06) 0%, transparent 70%);
  top: -150px;
  right: -150px;
}

.section-decor::after {
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(44, 110, 73, 0.05) 0%, transparent 70%);
  bottom: -100px;
  left: -100px;
}

/* --- SERVICE CARDS GRID --- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
}

.service-card-item {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  padding: 2rem;
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--border-color);
  transition: all 0.3s ease;
  text-align: center;
  position: relative;
  z-index: 1;
}

.service-card-item:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
}

.service-card-item .service-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 1rem;
  background: var(--highlight);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.service-card-item .service-icon svg {
  width: 28px;
  height: 28px;
  stroke: var(--accent);
  stroke-width: 1.5;
  fill: none;
}

.service-card-item h3 {
  margin-bottom: 0.75rem;
  font-size: 1.25rem;
}

.service-card-item p {
  font-size: 0.95rem;
  margin-bottom: 1rem;
}

.service-card-item .price-tag {
  display: inline-block;
  background: var(--highlight);
  color: var(--primary);
  padding: 0.3rem 1rem;
  border-radius: 20px;
  font-weight: 600;
  font-size: 0.9rem;
}

/* --- ABOUT SECTION --- */
.about-content-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.about-image-box img {
  width: 100%;
  height: 450px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-hover);
}

.about-text-box h2 {
  margin-bottom: 1.5rem;
}

.about-text-box .about-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}

.about-text-box .stat-item {
  text-align: center;
}

.about-text-box .stat-item .stat-number {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  color: var(--accent);
}

.about-text-box .stat-item .stat-label {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

@media (max-width: 768px) {
  .about-content-wrapper {
    grid-template-columns: 1fr;
  }
  .about-image-box img {
    height: 280px;
  }
}

/* --- TIMELINE --- */
.timeline-wrapper {
  position: relative;
  padding: 2rem 0;
}

.timeline-item {
  display: flex;
  align-items: flex-start;
  gap: 2rem;
  margin-bottom: 2rem;
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 1rem;
  border-radius: var(--radius-sm);
}

.timeline-item:hover {
  background: var(--highlight);
}

.timeline-year {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--accent);
  min-width: 80px;
  flex-shrink: 0;
}

.timeline-content h4 {
  margin-bottom: 0.25rem;
}

.timeline-content .timeline-desc {
  display: none;
  margin-top: 0.5rem;
  font-size: 0.95rem;
  color: var(--text-secondary);
}

.timeline-item.active .timeline-desc {
  display: block;
}

/* --- TESTIMONIAL CAROUSEL --- */
.testimonial-carousel {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  overflow: hidden;
}

.testimonial-slide {
  display: none;
  animation: fadeSlide 0.5s ease;
}

.testimonial-slide.active {
  display: block;
}

@keyframes fadeSlide {
  from { opacity: 0; transform: translateX(20px); }
  to { opacity: 1; transform: translateX(0); }
}

.testimonial-card {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  padding: 2.5rem;
  box-shadow: var(--shadow-soft);
  text-align: center;
  border: 1px solid var(--border-color);
}

.testimonial-card .testimonial-avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 1rem;
  border: 3px solid var(--accent);
}

.testimonial-card blockquote {
  font-style: italic;
  font-size: 1.1rem;
  color: var(--text-primary);
  margin-bottom: 1rem;
}

.testimonial-card .testimonial-author {
  font-weight: 600;
  color: var(--primary);
}

.testimonial-card .testimonial-location {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.carousel-nav {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 2rem;
}

.carousel-nav button {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  cursor: pointer;
}

.carousel-nav button:hover {
  background: var(--accent);
  border-color: var(--accent);
}

.carousel-nav button:hover svg {
  stroke: #fff;
}

.carousel-nav button svg {
  width: 20px;
  height: 20px;
  stroke: var(--primary);
  stroke-width: 2;
  fill: none;
}

/* --- CTA SECTION --- */
.cta-section {
  background: linear-gradient(rgba(30, 42, 56, 0.7), rgba(30, 42, 56, 0.85)), url('../images/section3-modern-accounting-firm_orig.jpg') center/cover no-repeat;
  background-attachment: fixed;
  text-align: center;
  color: #fff;
  padding: 100px 24px;
}

.cta-section h2 {
  color: #fff;
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
}

.cta-section p {
  color: rgba(255,255,255,0.8);
  max-width: 600px;
  margin: 0 auto 2rem;
}

/* --- PRICE SIMULATOR --- */
.price-simulator {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  padding: 2rem;
  box-shadow: var(--shadow-soft);
  max-width: 600px;
  margin: 2rem auto;
}

.price-simulator select {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  font-size: 1rem;
  margin-bottom: 1.5rem;
  background: #fff;
}

.price-simulator .price-range-display {
  text-align: center;
  padding: 1.5rem;
  background: var(--highlight);
  border-radius: var(--radius-sm);
}

.price-simulator .price-range-display .price-amount {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  color: var(--accent);
}

.price-simulator .price-range-display p {
  margin: 0.5rem 0 0;
  font-size: 0.9rem;
}

/* --- RESOURCES / BLOG --- */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.blog-card {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  transition: all 0.3s ease;
}

.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.blog-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.blog-card .blog-card-body {
  padding: 1.5rem;
}

.blog-card .blog-card-body h3 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

.blog-card .blog-card-body p {
  font-size: 0.95rem;
  margin-bottom: 1rem;
}

/* --- CONTACT PAGE --- */
.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 3rem;
}

.contact-info-box {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  padding: 2rem;
  box-shadow: var(--shadow-soft);
}

.contact-info-box .contact-detail {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
  align-items: flex-start;
}

.contact-info-box .contact-detail svg {
  width: 22px;
  height: 22px;
  stroke: var(--accent);
  fill: none;
  stroke-width: 1.5;
  flex-shrink: 0;
  margin-top: 3px;
}

.contact-map img {
  width: 100%;
  border-radius: var(--radius-sm);
  margin-top: 1.5rem;
}

@media (max-width: 768px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

/* --- REVEAL ANIMATION (IntersectionObserver) --- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* --- MISC --- */
.gradient-text {
  background: linear-gradient(135deg, var(--accent), #e89e3c);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-bg-alt {
  background: var(--bg-secondary);
}

.badge {
  display: inline-block;
  background: var(--highlight);
  color: var(--primary);
  padding: 0.2rem 1rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
}

/* --- MEMBERSHIP BADGE --- */
.membership-badge {
  background: var(--primary);
  color: #fff;
  padding: 0.2rem 0.8rem;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  display: inline-block;
}

/* --- Smooth section separation --- */
.section-divider {
  width: 100%;
  height: 2px;
  background: linear-gradient(to right, transparent, var(--accent), transparent);
  margin: 0;
  opacity: 0.3;
}