/* =====================================================
   Inner Pages — Shared Stylesheet
   Velorchid Innovation
   Loaded after main.css on every inner page (service,
   portfolio, team, blog, pricing, faq, testimonial,
   contact, error). Extends the site's existing design
   tokens without touching main.css or about.css.
===================================================== */

/* ---------- Generic Page Hero / Breadcrumb ---------- */
.page-hero {
  background: #f4f2ee;
  padding-block: 200px 90px;
}
.page-hero.is-dark {
  background: #0b0d10;
}
.page-hero.is-dark .page-hero-tag,
.page-hero.is-dark .page-hero-text,
.page-hero.is-dark .page-hero-menu li a,
.page-hero.is-dark .page-hero-menu li.active,
.page-hero.is-dark .page-hero-menu i {
  color: hsl(var(--white) / 75%);
}
.page-hero.is-dark .page-hero-title { color: #fff; }
.page-hero.is-dark .page-hero-title .text-stroke-2 {
  -webkit-text-stroke: 1.5px #fff;
}
.page-hero-tag {
  color: hsl(var(--main-two));
  letter-spacing: 0.14em;
  font-size: 14px;
}
.page-hero-title {
  font-family: var(--heading-font);
  font-size: clamp(2.25rem, 1.2rem + 4vw, 4.5rem);
  line-height: 1.05;
  font-weight: 500;
}
.page-hero-title .text-stroke-2 {
  -webkit-text-stroke: 1.5px hsl(var(--heading-color));
  color: transparent;
}
.page-hero-text {
  max-width: 640px;
  margin: 20px auto 0;
  color: hsl(var(--body-color));
}
.page-hero-menu {
  margin-top: 28px;
  list-style: none;
  padding: 0;
}
.page-hero-menu li a,
.page-hero-menu li.active {
  font-weight: 500;
  color: hsl(var(--body-color));
}
.page-hero-menu li a:hover { color: hsl(var(--main-two)); }
.page-hero-menu li.active { color: hsl(var(--heading-color)); }
.page-hero-menu i { font-size: 12px; color: hsl(var(--body-color)); }

/* ---------- Shared section label ---------- */
.pg-subtitle {
  color: hsl(var(--main-two));
  letter-spacing: 0.12em;
  font-size: 14px;
}
.pg-title {
  font-family: var(--heading-font);
  font-weight: 500;
  line-height: 1.15;
  font-size: clamp(1.75rem, 1.2rem + 2vw, 2.75rem);
}
.pg-title.lg { font-size: clamp(2rem, 1.2rem + 3vw, 3.5rem); }

/* ---------- Buttons ---------- */
.pg-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 34px;
  border-radius: 8px;
  background: hsl(var(--main-two));
  color: #fff;
  font-weight: 600;
  text-transform: uppercase;
  font-size: 14px;
  letter-spacing: 0.04em;
  transition: all 0.35s ease;
}
.pg-btn:hover { background: #0b0d10; color: #fff; transform: translateY(-3px); }
.pg-btn.outline {
  background: transparent;
  border: 1px solid hsl(var(--heading-color) / 25%);
  color: hsl(var(--heading-color));
}
.pg-btn.outline:hover { background: hsl(var(--heading-color)); color: #fff; border-color: hsl(var(--heading-color)); }
.pg-btn.on-dark.outline { border-color: hsl(var(--white) / 25%); color: #fff; }
.pg-btn.on-dark.outline:hover { background: hsl(var(--main-two)); border-color: hsl(var(--main-two)); }

/* ---------- Service listing (service.html) ---------- */
.pg-service-card {
  background: #f4f2ee;
  padding: 44px 36px;
  height: 100%;
  transition: transform .4s ease, background .4s ease, box-shadow .4s ease;
  position: relative;
  overflow: hidden;
}
.pg-service-card:hover {
  transform: translateY(-10px);
  background: #0b0d10;
  box-shadow: 0 30px 60px -20px hsl(var(--black) / 25%);
}
.pg-service-card:hover .pg-service-title,
.pg-service-card:hover .pg-service-text,
.pg-service-card:hover .pg-service-num { color: #fff; }
.pg-service-card:hover .pg-service-icon { background: hsl(var(--main-two)); color: #fff; }
.pg-service-icon {
  width: 64px; height: 64px;
  background: hsl(var(--main-two) / 12%);
  color: hsl(var(--main-two));
  font-size: 28px;
  margin-bottom: 26px;
  transition: all .4s ease;
}
.pg-service-num {
  position: absolute; top: 28px; right: 32px;
  font-family: var(--heading-font);
  font-size: 42px;
  color: hsl(var(--heading-color) / 10%);
  transition: color .4s ease;
}
.pg-service-title { font-family: var(--heading-font); font-weight: 500; margin-bottom: 12px; transition: color .4s ease; }
.pg-service-text { color: hsl(var(--body-color)); margin: 0; transition: color .4s ease; }
.pg-service-link {
  display: inline-flex; align-items: center; gap: 8px;
  margin-top: 22px; font-weight: 600; font-size: 14px;
  text-transform: uppercase; color: hsl(var(--main-two));
}

/* Process steps */
.pg-process-item { text-align: center; padding: 0 12px; }
.pg-process-num {
  width: 84px; height: 84px; margin: 0 auto 22px;
  border: 1px solid hsl(var(--heading-color) / 15%);
  font-family: var(--heading-font); font-size: 26px;
  transition: all .4s ease;
}
.pg-process-item:hover .pg-process-num { background: hsl(var(--main-two)); color: #fff; border-color: hsl(var(--main-two)); }
.pg-process-title { font-family: var(--heading-font); font-weight: 500; margin-bottom: 10px; }
.pg-process-text { color: hsl(var(--body-color)); }

/* ---------- Service details ---------- */
.pg-sd-sidebar-link {
  display: flex; justify-content: space-between; align-items: center;
  padding: 18px 22px; background: #f4f2ee; margin-bottom: 12px;
  font-weight: 600; color: hsl(var(--heading-color)); transition: all .3s ease;
}
.pg-sd-sidebar-link.active, .pg-sd-sidebar-link:hover { background: hsl(var(--main-two)); color: #fff; }
.pg-sd-cta { background: #0b0d10; padding: 34px 28px; color: #fff; }
.pg-sd-feature {
  display: flex; gap: 16px; padding: 22px 0;
  border-bottom: 1px solid hsl(var(--heading-color) / 10%);
}
.pg-sd-feature-icon { color: hsl(var(--main-two)); font-size: 24px; }

/* ---------- Team ---------- */
.pg-team-card { position: relative; overflow: hidden; }
.pg-team-thumb { overflow: hidden; aspect-ratio: 1/1.05; background: #f4f2ee; }
.pg-team-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.pg-team-card:hover .pg-team-thumb img { transform: scale(1.08); }
.pg-team-social {
  position: absolute; right: 18px; bottom: -60px; display: flex; flex-direction: column; gap: 10px;
  transition: bottom .4s ease;
}
.pg-team-card:hover .pg-team-social { bottom: 18px; }
.pg-team-social a {
  width: 40px; height: 40px; display: flex; align-items: center; justify-content: center;
  background: #fff; color: hsl(var(--heading-color)); border-radius: 50%; transition: all .3s ease;
}
.pg-team-social a:hover { background: hsl(var(--main-two)); color: #fff; }
.pg-team-name { font-family: var(--heading-font); font-weight: 500; margin: 20px 0 2px; }
.pg-team-role { color: hsl(var(--body-color)); font-size: 14px; text-transform: uppercase; letter-spacing: .05em; }

/* ---------- Testimonial ---------- */
.pg-testi-card {
  background: #f4f2ee; padding: 40px 34px; height: 100%;
  transition: transform .4s ease, background .4s ease;
}
.pg-testi-card:hover { transform: translateY(-8px); background: hsl(var(--main-two) / 8%); }
.pg-testi-quote { font-size: 34px; color: hsl(var(--main-two)); margin-bottom: 18px; display: block; }
.pg-testi-text { color: hsl(var(--body-color)); font-size: 18px; line-height: 1.6; }
.pg-testi-person { display: flex; align-items: center; gap: 14px; margin-top: 26px; }
.pg-testi-avatar {
  width: 54px; height: 54px; border-radius: 50%; object-fit: cover;
}
.pg-testi-name { font-family: var(--heading-font); font-weight: 500; margin: 0; }
.pg-testi-role { font-size: 13px; color: hsl(var(--body-color)); text-transform: uppercase; }
.pg-testi-stars { color: #ffb400; letter-spacing: 2px; margin-top: 10px; }

/* ---------- Pricing ---------- */
.pg-price-card {
  background: #f4f2ee; padding: 46px 38px; height: 100%; position: relative;
  transition: all .4s ease;
}
.pg-price-card.is-popular { background: #0b0d10; color: #fff; transform: translateY(-16px); }
.pg-price-card.is-popular .pg-price-text,
.pg-price-card.is-popular .pg-price-feature { color: hsl(var(--white) / 75%); }
.pg-price-badge {
  position: absolute; top: -14px; right: 38px; background: hsl(var(--main-two));
  color: #fff; font-size: 12px; text-transform: uppercase; letter-spacing: .06em;
  padding: 7px 16px; border-radius: 30px;
}
.pg-price-plan { font-family: var(--heading-font); font-weight: 500; font-size: 20px; text-transform: uppercase; letter-spacing: .04em; }
.pg-price-amount { font-family: var(--heading-font); font-size: 52px; font-weight: 500; margin: 14px 0 6px; }
.pg-price-amount span { font-size: 16px; font-weight: 400; text-transform: none; }
.pg-price-text { color: hsl(var(--body-color)); margin-bottom: 26px; }
.pg-price-feature { list-style: none; padding: 0; margin: 0 0 30px; }
.pg-price-feature li { display: flex; gap: 12px; align-items: center; padding: 9px 0; color: hsl(var(--body-color)); }
.pg-price-feature li i { color: hsl(var(--main-two)); }
.pg-price-card.is-popular .pg-price-feature li i { color: hsl(var(--main-two)); }

/* ---------- Portfolio (grid / masonry / list / carousel) ---------- */
.pg-filter-bar { display: flex; flex-wrap: wrap; gap: 10px; }
.pg-filter-btn {
  padding: 10px 24px; border: 1px solid hsl(var(--heading-color) / 15%);
  text-transform: uppercase; font-size: 13px; font-weight: 600; letter-spacing: .04em;
  transition: all .3s ease; cursor: pointer; background: transparent; color: hsl(var(--heading-color));
}
.pg-filter-btn.active, .pg-filter-btn:hover { background: hsl(var(--main-two)); color: #fff; border-color: hsl(var(--main-two)); }
.pg-pf-card { position: relative; overflow: hidden; border-radius: 8px; }
.pg-pf-card img { width: 100%; display: block; transition: transform .6s ease; }
.pg-pf-card:hover img { transform: scale(1.08); }
.pg-pf-overlay {
  position: absolute; inset: 0; background: linear-gradient(0deg, hsl(var(--black) / 85%), transparent 60%);
  display: flex; flex-direction: column; justify-content: flex-end; padding: 26px;
  opacity: 0; transition: opacity .4s ease;
}
.pg-pf-card:hover .pg-pf-overlay { opacity: 1; }
.pg-pf-tag { color: hsl(var(--main-two)); text-transform: uppercase; font-size: 12px; letter-spacing: .06em; }
.pg-pf-title { color: #fff; font-family: var(--heading-font); font-weight: 500; font-size: 22px; margin: 4px 0 0; }
.pg-pf-list-row {
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px;
  padding: 30px 0; border-bottom: 1px solid hsl(var(--heading-color) / 12%);
}
.pg-pf-list-row .pg-pf-list-thumb { width: 90px; height: 70px; border-radius: 8px; overflow: hidden; }
.pg-pf-list-row .pg-pf-list-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.pg-pf-list-row:hover .pg-pf-list-thumb img { transform: scale(1.15); }
.pg-pf-list-title { font-family: var(--heading-font); font-weight: 500; font-size: 26px; }
.pg-pf-index { font-family: var(--heading-font); font-size: 16px; color: hsl(var(--heading-color) / 30%); }

/* Portfolio details */
.pg-pd-meta { list-style: none; padding: 0; margin: 0; }
.pg-pd-meta li { display: flex; justify-content: space-between; padding: 16px 0; border-bottom: 1px solid hsl(var(--heading-color) / 10%); }
.pg-pd-meta li span:first-child { color: hsl(var(--body-color)); text-transform: uppercase; font-size: 13px; letter-spacing: .04em; }
.pg-pd-meta li span:last-child { font-weight: 600; }

/* ---------- FAQ ---------- */
.pg-faq-item { border-bottom: 1px solid hsl(var(--heading-color) / 12%); }
.pg-faq-q {
  width: 100%; text-align: left; background: none; border: none; padding: 24px 0;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  font-family: var(--heading-font); font-weight: 500; font-size: 19px; color: hsl(var(--heading-color));
  cursor: pointer;
}
.pg-faq-q .icon { transition: transform .35s ease; flex: none; color: hsl(var(--main-two)); }
.pg-faq-item.active .pg-faq-q .icon { transform: rotate(135deg); }
.pg-faq-a { max-height: 0; overflow: hidden; transition: max-height .4s ease; }
.pg-faq-item.active .pg-faq-a { max-height: 300px; }
.pg-faq-a p { color: hsl(var(--body-color)); padding-bottom: 24px; margin: 0; max-width: 90%; }

/* ---------- Blog ---------- */
.pg-blog-card { height: 100%; transition: transform .4s ease; }
.pg-blog-card:hover { transform: translateY(-8px); }
.pg-blog-thumb {
  aspect-ratio: 16/11; border-radius: 10px; overflow: hidden; position: relative;
  display: flex; align-items: center; justify-content: center;
}
.pg-blog-thumb .ph { font-size: 54px; color: #fff; opacity: .9; }
.pg-blog-date {
  position: absolute; left: 18px; top: 18px; background: #fff; color: hsl(var(--heading-color));
  padding: 8px 14px; font-size: 13px; font-weight: 600; border-radius: 6px; text-align: center; line-height: 1.2;
}
.pg-blog-meta { display: flex; gap: 18px; color: hsl(var(--body-color)); font-size: 14px; margin: 18px 0 10px; }
.pg-blog-title { font-family: var(--heading-font); font-weight: 500; font-size: 22px; line-height: 1.3; }
.pg-blog-title a:hover { color: hsl(var(--main-two)); }
.pg-blog-excerpt { color: hsl(var(--body-color)); }
.pg-blog-readmore { font-weight: 600; text-transform: uppercase; font-size: 13px; color: hsl(var(--main-two)); display: inline-flex; align-items: center; gap: 8px; margin-top: 14px; }

/* Blog details */
.pg-bd-thumb { aspect-ratio: 16/8; border-radius: 12px; overflow: hidden; }
.pg-bd-body p { color: hsl(var(--body-color)); font-size: 17px; line-height: 1.85; }
.pg-bd-body h3, .pg-bd-body h4 { font-family: var(--heading-font); font-weight: 500; margin-top: 34px; }
.pg-bd-tags a {
  display: inline-block; padding: 8px 18px; border: 1px solid hsl(var(--heading-color) / 15%);
  font-size: 13px; text-transform: uppercase; margin: 4px; transition: all .3s ease;
}
.pg-bd-tags a:hover { background: hsl(var(--main-two)); color: #fff; border-color: hsl(var(--main-two)); }
.pg-bd-sidebar-card { background: #f4f2ee; padding: 30px; margin-bottom: 26px; }
.pg-bd-recent-item { display: flex; gap: 14px; align-items: center; padding: 14px 0; border-bottom: 1px solid hsl(var(--heading-color) / 10%); }
.pg-bd-recent-thumb { width: 64px; height: 64px; border-radius: 8px; flex: none; display: flex; align-items: center; justify-content: center; }
.pg-bd-comment { display: flex; gap: 18px; padding: 26px 0; border-bottom: 1px solid hsl(var(--heading-color) / 10%); }
.pg-bd-comment img { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; }

/* ---------- Contact ---------- */
.pg-contact-info-card {
  display: flex; gap: 20px; align-items: flex-start; padding: 30px; background: #f4f2ee; margin-bottom: 20px;
}
.pg-contact-info-icon { width: 56px; height: 56px; background: hsl(var(--main-two)); color: #fff; font-size: 24px; flex: none; }
.pg-contact-form .form-control {
  background: #f4f2ee; border: 1px solid transparent; border-radius: 8px; padding: 16px 20px;
  color: hsl(var(--heading-color));
}
.pg-contact-form .form-control:focus { border-color: hsl(var(--main-two)); box-shadow: none; background: #fff; }
.pg-map { border-radius: 12px; overflow: hidden; filter: grayscale(.4); }

/* ---------- 404 / Error ---------- */
.pg-error-area { padding-block: 200px 140px; text-align: center; background: #f4f2ee; min-height: 90vh; display: flex; align-items: center; }
.pg-error-code {
  font-family: var(--heading-font); font-weight: 500; line-height: 1;
  font-size: clamp(6rem, 4rem + 9vw, 13rem); color: hsl(var(--heading-color));
  -webkit-text-stroke: 2px hsl(var(--heading-color));
  -webkit-text-fill-color: transparent;
}
.pg-error-title { font-family: var(--heading-font); font-weight: 500; font-size: clamp(1.5rem, 1.2rem + 1.4vw, 2.25rem); margin: 10px 0 14px; }
.pg-error-text { color: hsl(var(--body-color)); max-width: 460px; margin: 0 auto 34px; }

/* ---------- Generic gradient tiles (used where no photo asset exists) ---------- */
.pg-grad-1 { background: linear-gradient(135deg, hsl(var(--main-two)), #0b0d10); }
.pg-grad-2 { background: linear-gradient(135deg, #0b0d10, hsl(var(--main-two) / 70%)); }
.pg-grad-3 { background: linear-gradient(135deg, hsl(var(--main-two) / 85%), #232323); }

/* ---------- Responsive ---------- */
@media screen and (max-width: 767px) {
  .page-hero { padding-block: 150px 60px; }
  .pg-price-card.is-popular { transform: none; }
}
