/* =========================================================
   VALAPPILA — Service Detail Pages
   (Header, hero, intro block & footer live in common.css)
   ========================================================= */

/* =========================================================
   OUR EXPERTISE — numbered cards
   ========================================================= */
.expertise .intro-grid {
  margin-bottom: 50px;
}

.exp-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}

.exp-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 28px;
  min-height: 112px;
  background: #FFFFFF;
  border-radius: 12px;
  padding: 18px 44px 18px 18px;
  box-shadow: 0px 2px 8px -2px #0000000F, 0px 18px 40px -12px #00000014;
  transition: transform var(--transition), box-shadow var(--transition);
}

.exp-num {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 13px;
  line-height: 1;
  color: #6B7280;
}

.exp-name {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 16px;
  line-height: 1.3;
  color: #9D0600;
}

.exp-arrow {
  position: absolute;
  right: 18px;
  bottom: 20px;
  color: #141311;
  display: flex;
}

.exp-arrow svg {
  width: 13px;
  height: 13px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform var(--transition);
}

.exp-card:hover {
  transform: translateY(-4px);
  box-shadow: 0px 2px 8px -2px #0000000F, 0px 24px 44px -12px #00000055;
}

.exp-card:hover .exp-arrow {
  color: #E5231B;
}

.exp-card:hover .exp-arrow svg {
  transform: rotate(45deg);
}

/* =========================================================
   INDUSTRIES WE SERVE
   ========================================================= */
.industries {
  background: #FFFFFF;
  padding: 90px 0;
}

.head-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 34px;
}

.head-title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 44px;
  line-height: 1.12;
  color: #9D0600;
  margin-bottom: 16px;
}

.head-strap {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 20px;
  color: #141311;
}

.ind-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.ind-tags li {
  background: #9D06000F;
  border-radius: var(--radius-pill);
  padding: 13px 20px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 15px;
  line-height: 1;
  color: #9D0600;
  transition: background var(--transition), color var(--transition);
}

.ind-tags li:hover {
  background: #9D0600;
  color: #FFFFFF;
}

/* Light variant of the heading row (on red sections) */
.head-row--light .head-title,
.head-row--light .head-strap {
  color: #FFFFFF;
}

/* =========================================================
   HOW WE WORK — process steps
   ========================================================= */
.process {
  background: #9D0600;
  padding: 90px 0;
}

.process .head-row {
  margin-bottom: 40px;
}

.process-grid {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
}

.process-step {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 30px;
  min-height: 142px;
  padding: 18px 16px 20px;
  border: 1px solid #FFFFFF40;
  transition: background var(--transition), border-color var(--transition);
}

.ps-num {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 16px;
  line-height: 1;
  color: #EE251D;
}

.ps-name {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 18px;
  line-height: 1.3;
  color: #FFFFFF;
}

.process-step:hover {
  background: #FFFFFF12;
  border-color: #FFFFFF80;
}

/* =========================================================
   FAQ
   ========================================================= */
.faq {
  background: #FFFFFF;
  padding: 90px 0;
}

.faq-grid {
  display: grid;
  grid-template-columns: 0.8fr 1fr;
  gap: 80px;
  align-items: start;
}

.faq-title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 44px;
  line-height: 1.1;
  color: #E5231B;
  margin-bottom: 18px;
}

.faq-strap {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 20px;
  color: #141311;
  margin-bottom: 18px;
}

.faq-text {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.6;
  color: #706B66;
  max-width: 500px;
  margin-bottom: 30px;
}

/* Accordion */
.faq-list {
  border-top: 1px solid #E5E7EB;
}

.faq-item {
  border-bottom: 1px solid #E5E7EB;
}

.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 24px 6px;
  text-align: left;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 17px;
  line-height: 1.4;
  color: #171513;
  transition: color var(--transition);
}

.faq-q:hover {
  color: #E5231B;
}

.faq-q:focus-visible {
  outline: 2px solid #E5231B;
  outline-offset: 2px;
}

/* + / − icon */
.faq-icon {
  position: relative;
  width: 12px;
  height: 12px;
  flex-shrink: 0;
}

.faq-icon::before,
.faq-icon::after {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  width: 12px;
  height: 1.6px;
  background: #E5231B;
  transform: translateY(-50%);
  transition: transform var(--transition);
}

.faq-icon::after {
  transform: translateY(-50%) rotate(90deg);
}

.faq-item.is-open .faq-icon::after {
  transform: translateY(-50%) rotate(0deg);
}

/* Smooth open/close */
.faq-a {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.35s ease;
}

.faq-item.is-open .faq-a {
  grid-template-rows: 1fr;
}

.faq-a-inner {
  overflow: hidden;
}

.faq-a-inner p {
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.65;
  color: #706B66;
  padding: 0 40px 24px 6px;
}

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1200px) {
  .ps-name {
    font-size: 16px;
  }

  .exp-name {
    font-size: 15px;
  }
}

@media (max-width: 1024px) {
  .faq {
    padding: 80px 0;
  }

  .faq-grid {
    gap: 50px;
  }

  .faq-title {
    font-size: 36px;
  }

  .faq-strap {
    font-size: 18px;
  }

  .process {
    padding: 80px 0;
  }

  .process-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .industries {
    padding: 80px 0;
  }

  .head-title {
    font-size: 36px;
  }

  .head-strap {
    font-size: 18px;
  }

  .exp-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .faq {
    padding: 64px 0;
  }

  .faq-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .faq-title {
    font-size: 32px;
  }

  .faq-text {
    font-size: 15px;
    max-width: none;
  }

  .faq-q {
    font-size: 16px;
    padding: 20px 4px;
  }

  .process {
    padding: 64px 0;
  }

  .process .head-row {
    margin-bottom: 32px;
  }

  .process-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  .process-step {
    min-height: 120px;
  }

  .industries {
    padding: 64px 0;
  }

  .head-row {
    flex-direction: column;
    gap: 22px;
  }

  .head-title {
    font-size: 32px;
  }

  .ind-tags {
    gap: 10px;
  }

  .ind-tags li {
    padding: 11px 16px;
    font-size: 14px;
  }

  .expertise .intro-grid {
    margin-bottom: 36px;
  }

  .exp-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
}

@media (max-width: 480px) {
  .faq {
    padding: 52px 0;
  }

  .faq-title {
    font-size: 27px;
  }

  .faq-strap {
    font-size: 16px;
  }

  .faq-q {
    font-size: 15px;
  }

  .faq-a-inner p {
    font-size: 14px;
    padding-right: 20px;
  }

  .process {
    padding: 52px 0;
  }

  .process-step {
    min-height: 104px;
    gap: 20px;
    padding: 14px 14px 16px;
  }

  .ps-num {
    font-size: 14px;
  }

  .ps-name {
    font-size: 15px;
  }

  .industries {
    padding: 52px 0;
  }

  .head-title {
    font-size: 27px;
    margin-bottom: 12px;
  }

  .head-strap {
    font-size: 16px;
  }

  .ind-tags {
    gap: 8px;
  }

  .ind-tags li {
    padding: 10px 14px;
    font-size: 13px;
  }

  .exp-card {
    min-height: 96px;
    gap: 20px;
    padding: 14px 36px 14px 14px;
  }

  .exp-name {
    font-size: 14px;
  }

  .exp-arrow {
    right: 14px;
    bottom: 16px;
  }
}
