:root {
  --yellow: #ffc107;
  /* bright highlight */
  --dark: #000;
  --light: #f7f7f7;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', sans-serif;
  color: #333;
  background: #fff;
}

/* HERO */
.hero {
  background: url(../images/services.jpg) center/cover no-repeat;
  position: relative;
  color: #fff;
}

.overlay {
  background: rgba(0, 0, 0, 0.6);
  padding: 120px 20px;
  text-align: center;
}

.hero h1 {
  font-size: 2.5rem;
  margin-bottom: 20px;
}

.hero p {
  max-width: 700px;
  margin: 0 auto 30px;
}

.btn {
  background: var(--yellow);
  color: var(--dark);
  padding: 12px 35px;
  text-decoration: none;
  font-weight: 600;
  border-radius: 4px;
  transition: background 0.3s;
}

.btn:hover {
  background: #b5e000;
}

/* TABS */
.tabs {
  background: var(--yellow);
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

.tabs a {
  padding: 12px 20px;
  color: var(--dark);
  text-decoration: none;
  font-weight: 600;
}

.tabs a:hover {
  background: rgba(0, 0, 0, 0.1);
}

/* SERVICES */
.services {
  max-width: 1200px;
  margin: 60px auto;
  padding: 0 20px;
}

.services h2 {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 40px;
  text-decoration: underline;
  text-decoration-color: var(--yellow);
}

.service-box {
  display: flex;
  align-items: center;
  margin-bottom: 60px;
  flex-wrap: wrap;
}

.service-box.reverse {
  flex-direction: row-reverse;
}

.service-box img {
  flex: 1 1 250px;
  max-height: 250px;
  object-position: center;
  object-fit: cover;
  width: 100%;
  border-radius: 8px;
}

.service-box .text {
  flex: 1 1 450px;
  padding: 20px;
}

.service-box h3 {
  color: var(--yellow);
  font-size: 1.6rem;
  margin-bottom: 15px;
}

.service-box p {
  font-size: 1rem;
}

/* ADVANTAGES */
.advantages {
  background: #000;
  color: #fff;
  text-align: center;
  padding: 60px 120px;
}

.advantages h2 {
  color: var(--yellow);
  font-size: 2rem;
  margin-bottom: 20px;
}

.faq {
  max-width: 900px;
  margin: 60px auto;
  padding: 0 20px;
}

.faq h2 {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 30px;
  color: var(--yellow);
}

.accordion {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.accordion-header {
  width: 100%;
  background: #111;
  color: #fff;
  padding: 16px 48px 16px 16px;
  text-align: left;
  border: none;
  cursor: pointer;
  font-size: 1rem;
  margin-bottom: 0;
  transition: background 0.3s, color 0.3s, border-color 0.3s;
  border: 1px solid #2a2a2a;
  border-radius: 8px;
  position: relative;
}

.accordion-header.active,
.accordion-header:hover {
  background: #181818;
  color: var(--yellow);
  border-color: #3a3a3a;
}

.accordion-header::after {
  content: "\f078";
  /* chevron-down */
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%) rotate(0deg);
  transition: transform 0.3s ease;
}

.accordion-header.active {
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
  color: var(--yellow);
}

.accordion-header.active::after {
  transform: translateY(-50%) rotate(180deg);
}

.accordion-body {
  height: 0;
  /* JS animates height */
  overflow: hidden;
  background: transparent;
  color: #fff;
  padding: 0;
  /* No padding when closed */
  margin: 0;
  /* No external spacing when closed */
  opacity: 0;
  visibility: hidden;
  transition: height 0.35s ease, padding 0.3s ease, opacity 0.2s ease;
  border: none;
  border-bottom-left-radius: 8px;
  border-bottom-right-radius: 8px;
}

.accordion-body.open {
  background: #1b1b1b;
  border: 1px solid #2a2a2a;
  border-top: none;
  padding: 16px;
  /* Padding only when open */
  margin-bottom: 8px;
  /* Subtle spacing only when expanded */
  opacity: 1;
  visibility: visible;
}

.accordion-body p {
  padding: 0;
  margin: 0;
  line-height: 1.6;
}

/* CTA */
.cta {
  background: #000;
  color: #fff;
  text-align: center;
  padding: 60px 20px;
}

.cta h2 {
  max-width: 800px;
  margin: 0 auto 30px;
  font-size: 1.8rem;
}

.cta .btn {
  background: var(--yellow);
  color: #000;
}

/* RESPONSIVE */
@media (max-width:768px) {
  .service-box {
    flex-direction: column;
  }

  .service-box.reverse {
    flex-direction: column;
  }

  .hero h1 {
    font-size: 2rem;
  }
}