/* ============================================================
   pages.css — Premium service, FAQ & careers page styles
   Brand: navy #112146 | orange #e95821 | grey #5b5b5b | bg #f0f2f4
   Font: Manrope | Radius: 20px
   ============================================================ */

/* ---------- Page Hero ---------- */
.page-hero {
  position: relative;
  padding: 80px 0 60px;
  overflow: hidden;
  background: linear-gradient(135deg, #112146 0%, #1b2e5a 60%, #0d1e3f 100%);
  color: #fff;
}
.page-hero--shopify { background: linear-gradient(135deg, #0f2744 0%, #1a3a5c 50%, #96bf48 150%); }
.page-hero--wordpress { background: linear-gradient(135deg, #112146 0%, #21759b 100%); }
.page-hero--performance { background: linear-gradient(135deg, #112146 0%, #e95821 100%); }
.page-hero__bg {
  position: absolute; inset: 0;
  background-image: url(../image/white_dot.svg);
  background-size: 400px; opacity: 0.07;
  pointer-events: none;
}
.page-hero__inner {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 60px; align-items: center;
  max-width: 1400px; margin: 0 auto; padding: 0 20px;
}
.page-hero__label {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(233,88,33,0.18); border: 1px solid rgba(233,88,33,0.4);
  color: #e95821; font-size: 13px; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase;
  padding: 6px 14px; border-radius: 50px; margin-bottom: 18px;
}
.page-hero h1 {
  font-size: clamp(2rem, 4vw, 3rem); font-weight: 800;
  line-height: 1.2; color: #fff; margin-bottom: 20px;
}
.page-hero h1 span { color: #e95821; }
.page-hero__sub {
  font-size: 1.1rem; color: rgba(255,255,255,0.82);
  line-height: 1.7; margin-bottom: 32px; max-width: 520px;
}
.page-hero__btns { display: flex; gap: 14px; flex-wrap: wrap; }
.page-hero__btns .button { display: inline-flex; align-items: center; gap: 10px; }
.btn-outline {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 15px 24px; border: 2px solid rgba(255,255,255,0.5);
  color: #fff; border-radius: 10px; font-weight: 600;
  font-size: 16px; transition: all .25s ease; text-decoration: none;
}
.btn-outline:hover { border-color: #e95821; color: #e95821; }
.page-hero__stats {
  display: flex; gap: 30px; margin-top: 40px; flex-wrap: wrap;
}
.page-hero__stat { text-align: center; }
.page-hero__stat strong {
  display: block; font-size: 2rem; font-weight: 800;
  color: #e95821; line-height: 1;
}
.page-hero__stat span { font-size: 13px; color: rgba(255,255,255,0.7); }
.page-hero__image {
  position: relative; display: flex; justify-content: center;
}
.page-hero__image img {
  max-width: 100%; border-radius: 20px;
  box-shadow: 0 30px 80px rgba(0,0,0,0.35);
}
.page-hero__badge {
  position: absolute; bottom: -16px; left: -16px;
  background: #e95821; color: #fff; padding: 16px 24px;
  border-radius: 16px; font-weight: 800; font-size: 1.1rem;
  box-shadow: 0 8px 24px rgba(233,88,33,0.4);
  display: flex; flex-direction: column; align-items: center;
}
.page-hero__badge span { font-size: 11px; font-weight: 400; opacity: 0.9; }

/* ---------- Section Labels ---------- */
.sec-label {
  display: inline-flex; align-items: center; gap: 8px;
  color: #e95821; font-size: 13px; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase;
  margin-bottom: 12px;
}
.sec-label::before {
  content: ''; display: block; width: 24px; height: 3px;
  background: #e95821; border-radius: 2px;
}
.sec-title { font-size: clamp(1.6rem, 3vw, 2.4rem); font-weight: 800; line-height: 1.25; margin-bottom: 14px; }
.sec-sub { color: #5b6478; font-size: 1.05rem; line-height: 1.7; max-width: 600px; }
.sec-head { margin-bottom: 50px; }
.sec-head--center { text-align: center; }
.sec-head--center .sec-sub { margin: 0 auto; }

/* ---------- Service Cards Grid ---------- */
.svc-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}
.svc-card {
  background: #fff; border: 1px solid rgba(17,33,70,.08);
  border-radius: 20px; padding: 30px 26px;
  transition: transform .4s cubic-bezier(.22,.61,.36,1), box-shadow .4s, border-color .4s;
  box-shadow: 0 4px 14px rgba(17,33,70,.05);
  position: relative; overflow: hidden;
}
.svc-card::before {
  content: ''; position: absolute; inset: 0 0 auto 0;
  height: 3px; background: linear-gradient(90deg, #e95821, #ff9a6c);
  transform: scaleX(0); transform-origin: left;
  transition: transform .4s ease;
}
.svc-card:hover { transform: translateY(-6px); box-shadow: 0 20px 50px rgba(17,33,70,.12); border-color: rgba(233,88,33,.2); }
.svc-card:hover::before { transform: scaleX(1); }
.svc-card__icon {
  width: 56px; height: 56px; border-radius: 14px;
  background: #fff1ea; display: flex; align-items: center;
  justify-content: center; margin-bottom: 18px;
  transition: background .4s;
}
.svc-card:hover .svc-card__icon { background: #e95821; }
.svc-card__icon svg { transition: stroke .4s, fill .4s; }
.svc-card:hover .svc-card__icon svg path,
.svc-card:hover .svc-card__icon svg rect,
.svc-card:hover .svc-card__icon svg circle { stroke: #fff !important; fill: #fff !important; }
.svc-card h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 10px; color: #112146; }
.svc-card p { color: #5b6478; font-size: 0.95rem; line-height: 1.65; margin: 0; }

/* ---------- Feature List (two-col) ---------- */
.features-wrap {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.feature-item {
  display: flex; gap: 16px; align-items: flex-start;
  padding: 20px; border-radius: 14px;
  background: #fff; border: 1px solid rgba(17,33,70,.07);
  transition: box-shadow .3s;
}
.feature-item:hover { box-shadow: 0 8px 24px rgba(17,33,70,.08); }
.feature-item__icon {
  flex-shrink: 0; width: 44px; height: 44px; border-radius: 12px;
  background: #fff1ea; display: flex; align-items: center; justify-content: center;
}
.feature-item h4 { font-size: 1rem; font-weight: 700; margin-bottom: 5px; color: #112146; }
.feature-item p { font-size: 0.9rem; color: #5b6478; margin: 0; line-height: 1.55; }

/* ---------- Two-col Image+Text ---------- */
.split-section {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 60px; align-items: center;
}
.split-section--reverse .split-section__content { order: 2; }
.split-section--reverse .split-section__img { order: 1; }
.split-section__img img {
  width: 100%; border-radius: 20px;
  box-shadow: 0 20px 60px rgba(17,33,70,.12);
}
.split-section__list { list-style: none; padding: 0; margin: 24px 0; }
.split-section__list li {
  display: flex; align-items: flex-start; gap: 12px;
  padding: 10px 0; border-bottom: 1px solid rgba(17,33,70,.06);
  font-size: 0.97rem; color: #333;
}
.split-section__list li::before {
  content: ''; flex-shrink: 0; width: 20px; height: 20px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Ccircle cx='12' cy='12' r='11' fill='%23e95821'/%3E%3Cpath d='M7 12l3.5 3.5L17 9' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat;
  margin-top: 2px;
}

/* ---------- Process Steps ---------- */
.process-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 0; position: relative;
}
.process-grid::before {
  content: ''; position: absolute; top: 36px; left: 15%; right: 15%;
  height: 2px; background: linear-gradient(90deg, #e95821, #ff9a6c);
  z-index: 0;
}
.process-step {
  text-align: center; padding: 0 16px; position: relative; z-index: 1;
}
.process-step__num {
  width: 72px; height: 72px; border-radius: 50%;
  background: #112146; color: #fff;
  font-size: 1.4rem; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 20px;
  border: 4px solid #fff;
  box-shadow: 0 0 0 3px #e95821, 0 8px 24px rgba(17,33,70,.2);
  transition: background .3s, transform .3s;
}
.process-step:hover .process-step__num { background: #e95821; transform: scale(1.08); }
.process-step h3 { font-size: 1rem; font-weight: 700; color: #112146; margin-bottom: 8px; }
.process-step p { font-size: 0.88rem; color: #5b6478; line-height: 1.55; margin: 0; }

/* ---------- Benefits Row ---------- */
.benefits-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}
.benefit-card {
  display: flex; gap: 18px; align-items: flex-start;
  padding: 24px; border-radius: 18px;
  background: #fff; border: 1px solid rgba(17,33,70,.08);
  transition: box-shadow .3s, transform .3s;
}
.benefit-card:hover { box-shadow: 0 12px 32px rgba(17,33,70,.1); transform: translateY(-3px); }
.benefit-card__icon {
  flex-shrink: 0; width: 52px; height: 52px; border-radius: 14px;
  background: linear-gradient(135deg, #e95821, #ff7b42);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 16px rgba(233,88,33,.3);
}
.benefit-card h4 { font-size: 1rem; font-weight: 700; color: #112146; margin-bottom: 7px; }
.benefit-card p { font-size: 0.9rem; color: #5b6478; margin: 0; line-height: 1.6; }

/* ---------- Results / Stats Banner ---------- */
.results-banner {
  background: linear-gradient(135deg, #112146 0%, #1b3a6b 100%);
  border-radius: 24px; padding: 50px 40px;
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 30px; text-align: center;
}
.results-banner__item strong {
  display: block; font-size: 2.4rem; font-weight: 800;
  color: #e95821; line-height: 1;
}
.results-banner__item p { color: rgba(255,255,255,.8); font-size: 0.9rem; margin: 6px 0 0; }

/* ---------- FAQ Accordion ---------- */
.faq-search-wrap {
  max-width: 600px; margin: 0 auto 50px;
  position: relative;
}
.faq-search {
  width: 100%; padding: 18px 54px 18px 20px;
  border: 2px solid rgba(17,33,70,.12); border-radius: 50px;
  font-size: 1rem; font-family: Manrope, sans-serif;
  outline: none; background: #fff;
  box-shadow: 0 4px 20px rgba(17,33,70,.07);
  transition: border-color .25s, box-shadow .25s;
  box-sizing: border-box;
}
.faq-search:focus { border-color: #e95821; box-shadow: 0 4px 20px rgba(233,88,33,.15); }
.faq-search-icon {
  position: absolute; right: 18px; top: 50%;
  transform: translateY(-50%); pointer-events: none; color: #5b6478;
}
.faq-cats {
  display: flex; gap: 12px; flex-wrap: wrap;
  justify-content: center; margin-bottom: 40px;
}
.faq-cat {
  padding: 10px 22px; border-radius: 50px;
  border: 2px solid rgba(17,33,70,.12); background: #fff;
  font-size: 0.9rem; font-weight: 600; cursor: pointer;
  transition: all .25s; color: #5b6478;
  font-family: Manrope, sans-serif;
}
.faq-cat.active, .faq-cat:hover { border-color: #e95821; color: #e95821; background: #fff1ea; }
.faq-list { max-width: 860px; margin: 0 auto; }
.faq-item {
  border-radius: 14px; background: #fff; margin-bottom: 12px;
  border: 1px solid rgba(17,33,70,.08);
  overflow: hidden;
  transition: box-shadow .3s;
}
.faq-item:hover { box-shadow: 0 6px 20px rgba(17,33,70,.08); }
.faq-item.open { border-color: rgba(233,88,33,.25); }
.faq-q {
  display: flex; justify-content: space-between; align-items: center;
  padding: 20px 24px; cursor: pointer;
  font-weight: 700; font-size: 1rem; color: #112146;
  gap: 16px; user-select: none;
  list-style: none; /* for <summary> if used */
}
.faq-q::-webkit-details-marker { display: none; }
.faq-toggle {
  flex-shrink: 0; width: 32px; height: 32px; border-radius: 50%;
  background: #f0f2f4; display: flex; align-items: center; justify-content: center;
  transition: background .3s, transform .3s;
  font-size: 1.3rem; font-weight: 700; color: #e95821;
}
.faq-item.open .faq-toggle { background: #e95821; color: #fff; transform: rotate(45deg); }
.faq-a {
  max-height: 0; overflow: hidden;
  transition: max-height .4s cubic-bezier(.22,.61,.36,1);
  padding: 0 24px;
  color: #5b6478; line-height: 1.7; font-size: 0.95rem;
}
.faq-item.open .faq-a { max-height: 500px; padding-bottom: 20px; }
.faq-item[data-cat] { display: block; }
.faq-item[data-cat].hidden { display: none; }

/* ---------- CTA Block ---------- */
.cta-block {
  background: linear-gradient(135deg, #112146 0%, #1b3a6b 100%);
  border-radius: 24px; padding: 60px 50px;
  text-align: center; position: relative; overflow: hidden;
}
.cta-block::before {
  content: ''; position: absolute; inset: 0;
  background: url(../image/white_dot.svg) center/300px;
  opacity: .06; pointer-events: none;
}
.cta-block h2 { color: #fff; font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 800; margin-bottom: 14px; }
.cta-block p { color: rgba(255,255,255,.8); font-size: 1.05rem; margin-bottom: 32px; }
.cta-block__btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.cta-block .btn-outline { border-color: rgba(255,255,255,.5); }

/* ---------- Careers Hero ---------- */
.careers-hero {
  background: linear-gradient(135deg, #112146 0%, #1b3a6b 100%);
  padding: 80px 0; text-align: center; color: #fff;
  position: relative; overflow: hidden;
}
.careers-hero__bg {
  position: absolute; inset: 0;
  background: url(../image/white_dot.svg) center/400px; opacity: .06;
  pointer-events: none;
}
.careers-hero h1 { font-size: clamp(2rem, 4vw, 3rem); font-weight: 800; color: #fff; margin-bottom: 18px; }
.careers-hero h1 span { color: #e95821; }
.careers-hero p { font-size: 1.15rem; color: rgba(255,255,255,.82); max-width: 600px; margin: 0 auto 36px; }
.careers-stats {
  display: flex; gap: 40px; justify-content: center;
  flex-wrap: wrap; margin-top: 50px;
}
.careers-stat { text-align: center; }
.careers-stat strong { display: block; font-size: 2rem; font-weight: 800; color: #e95821; }
.careers-stat span { font-size: 0.9rem; color: rgba(255,255,255,.7); }

/* ---------- Culture Cards ---------- */
.culture-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
}
.culture-card {
  background: #fff; border-radius: 20px; padding: 30px 24px;
  text-align: center; border: 1px solid rgba(17,33,70,.08);
  transition: transform .3s, box-shadow .3s;
}
.culture-card:hover { transform: translateY(-5px); box-shadow: 0 16px 40px rgba(17,33,70,.1); }
.culture-card__emoji { font-size: 2.4rem; margin-bottom: 16px; display: block; }
.culture-card h3 { font-size: 1.05rem; font-weight: 700; color: #112146; margin-bottom: 10px; }
.culture-card p { font-size: 0.9rem; color: #5b6478; line-height: 1.6; margin: 0; }

/* ---------- Perks Grid ---------- */
.perks-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
}
.perk-item {
  display: flex; flex-direction: column; align-items: center;
  gap: 12px; padding: 24px 20px; text-align: center;
  background: #fff; border-radius: 16px;
  border: 1px solid rgba(17,33,70,.07);
  transition: box-shadow .3s;
}
.perk-item:hover { box-shadow: 0 8px 24px rgba(17,33,70,.08); }
.perk-item__icon {
  width: 52px; height: 52px; border-radius: 14px;
  background: #fff1ea; display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem;
}
.perk-item h4 { font-size: 0.95rem; font-weight: 700; color: #112146; margin: 0; }
.perk-item p { font-size: 0.85rem; color: #5b6478; margin: 0; line-height: 1.55; }

/* ---------- Job Listings ---------- */
.jobs-list { display: flex; flex-direction: column; gap: 16px; }
.job-card {
  background: #fff; border: 1px solid rgba(17,33,70,.09);
  border-radius: 16px; overflow: hidden;
  transition: box-shadow .3s;
}
.job-card:hover { box-shadow: 0 8px 28px rgba(17,33,70,.1); }
.job-card__header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 28px; cursor: pointer;
  gap: 20px;
}
.job-card__info { flex: 1; }
.job-card__title { font-size: 1.05rem; font-weight: 700; color: #112146; margin-bottom: 6px; }
.job-card__tags { display: flex; gap: 8px; flex-wrap: wrap; }
.job-tag {
  font-size: 12px; font-weight: 600; padding: 4px 12px;
  border-radius: 50px; background: #f0f2f4; color: #5b5b5b;
}
.job-tag--orange { background: #fff1ea; color: #e95821; }
.job-tag--navy { background: #eef2ff; color: #112146; }
.job-card__toggle {
  flex-shrink: 0; width: 34px; height: 34px; border-radius: 50%;
  background: #f0f2f4; display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem; font-weight: 700; color: #e95821;
  transition: background .3s, transform .3s;
}
.job-card.open .job-card__toggle { background: #e95821; color: #fff; transform: rotate(45deg); }
.job-card__body {
  max-height: 0; overflow: hidden;
  transition: max-height .4s cubic-bezier(.22,.61,.36,1);
  padding: 0 28px;
}
.job-card.open .job-card__body { max-height: 1000px; padding-bottom: 28px; }
.job-card__body p { color: #5b6478; line-height: 1.7; margin-bottom: 16px; }
.job-card__body ul { padding-left: 20px; color: #5b6478; line-height: 1.8; }

/* ---------- Application Form ---------- */
.apply-form { max-width: 800px; margin: 0 auto; }
.apply-form .form-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 16px; margin-bottom: 16px;
}
.apply-form input,
.apply-form select,
.apply-form textarea {
  width: 100%; padding: 15px 18px;
  border: 2px solid rgba(17,33,70,.12); border-radius: 12px;
  font-size: 1rem; font-family: Manrope, sans-serif; color: #333;
  outline: none; transition: border-color .25s, box-shadow .25s;
  background: #fff; box-sizing: border-box;
}
.apply-form input:focus,
.apply-form select:focus,
.apply-form textarea:focus {
  border-color: #e95821; box-shadow: 0 0 0 3px rgba(233,88,33,.1);
}
.apply-form textarea { resize: vertical; min-height: 120px; }
.apply-form .full { grid-column: 1 / -1; }
.apply-form .form-submit { margin-top: 8px; }

/* ---------- FAQ Page Layout ---------- */
.faq-hero {
  background: linear-gradient(135deg, #112146 0%, #1b3a6b 100%);
  padding: 70px 0 50px; text-align: center; color: #fff;
  position: relative; overflow: hidden;
}
.faq-hero::before {
  content: ''; position: absolute; inset: 0;
  background: url(../image/white_dot.svg) center/350px; opacity: .07; pointer-events: none;
}
.faq-hero h1 { font-size: clamp(2rem, 4vw, 2.8rem); font-weight: 800; color: #fff; margin-bottom: 14px; }
.faq-hero h1 span { color: #e95821; }
.faq-hero p { color: rgba(255,255,255,.82); font-size: 1.05rem; margin-bottom: 36px; }
.faq-hero__search { max-width: 560px; margin: 0 auto; position: relative; }
.faq-hero__search input {
  width: 100%; padding: 18px 60px 18px 24px;
  border-radius: 50px; border: none; outline: none;
  font-size: 1rem; font-family: Manrope, sans-serif;
  box-shadow: 0 8px 30px rgba(0,0,0,.15);
  box-sizing: border-box;
}
.faq-hero__search button {
  position: absolute; right: 6px; top: 50%;
  transform: translateY(-50%);
  background: #e95821; border: none; border-radius: 50px;
  padding: 10px 20px; color: #fff; cursor: pointer;
  font-weight: 700; font-family: Manrope, sans-serif;
  transition: background .25s;
}
.faq-hero__search button:hover { background: #c94d18; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .page-hero__inner { grid-template-columns: 1fr; gap: 40px; }
  .page-hero__image { display: none; }
  .split-section { grid-template-columns: 1fr; gap: 30px; }
  .split-section--reverse .split-section__content { order: 0; }
  .split-section--reverse .split-section__img { order: 0; }
  .results-banner { grid-template-columns: repeat(2, 1fr); }
  .process-grid::before { display: none; }
}
@media (max-width: 667px) {
  .page-hero { padding: 50px 0 40px; }
  .page-hero__stats { gap: 20px; }
  .svc-grid, .culture-grid, .perks-grid { grid-template-columns: 1fr; }
  .benefits-grid { grid-template-columns: 1fr; }
  .features-wrap { grid-template-columns: 1fr; }
  .results-banner { grid-template-columns: repeat(2, 1fr); padding: 30px 20px; gap: 20px; }
  .process-grid { grid-template-columns: 1fr 1fr; }
  .cta-block { padding: 40px 24px; border-radius: 16px; }
  .careers-stats { gap: 24px; }
  .apply-form .form-grid { grid-template-columns: 1fr; }
  .job-card__header { flex-direction: column; align-items: flex-start; }
}
