/* ============================================================
   SKS PRINTERS — SUB-PAGE EXTRA STYLES
   Appended to styles.css via separate file for sub-pages
   ============================================================ */

/* ── PAGE HERO (sub-pages) ──────────────────────────────────── */
.page-hero {
  padding: 120px 0 60px;
  background: linear-gradient(135deg, var(--green-900) 0%, var(--green-800) 60%, var(--grey-900) 100%);
  position: relative; overflow: hidden; text-align: center;
}
.page-hero::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse at 60% 50%, rgba(212,160,23,.12) 0%, transparent 70%);
}
.page-hero-content { position: relative; z-index: 1; }
.page-hero-label {
  font-family: var(--font-accent); font-size: .78rem; font-weight: 700;
  letter-spacing: 3px; text-transform: uppercase; color: var(--gold-300);
  margin-bottom: 12px; display: flex; align-items: center; gap: 10px; justify-content: center;
}
.page-hero-label::before, .page-hero-label::after {
  content: ''; display: block; height: 1px; width: 40px; background: var(--gold-300);
}
.page-hero h1 {
  font-family: var(--font-heading); font-size: clamp(2rem, 5vw, 3.2rem);
  color: var(--white); font-weight: 800; margin-bottom: 16px;
}
.page-hero p {
  font-size: clamp(.95rem, 1.5vw, 1.1rem); color: rgba(255,255,255,.75);
  max-width: 600px; margin: 0 auto 24px; line-height: 1.75;
}
.breadcrumb {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  font-size: .85rem; color: rgba(255,255,255,.5);
}
.breadcrumb a { color: var(--gold-300); }
.breadcrumb a:hover { color: var(--white); }

/* ── ABOUT TIMELINE ─────────────────────────────────────────── */
.timeline {
  position: relative; padding: 20px 0; margin-top: 60px;
}
.timeline::before {
  content: ''; position: absolute; left: 50%; top: 0; bottom: 0;
  width: 2px; background: linear-gradient(180deg, var(--green-500), var(--gold-400));
  transform: translateX(-50%);
}
.tl-item {
  display: flex; justify-content: flex-end; padding: 0 60px 40px 0;
  position: relative; width: 50%;
}
.tl-item.tl-right {
  justify-content: flex-start; padding: 0 0 40px 60px;
  margin-left: 50%;
}
.tl-dot {
  position: absolute; right: -8px; top: 12px; width: 16px; height: 16px;
  background: var(--gold-400); border: 3px solid var(--green-700);
  border-radius: 50%; z-index: 1;
}
.tl-right .tl-dot { right: auto; left: -8px; }
.tl-content {
  background: var(--white); border-radius: var(--r-md); padding: 20px 24px;
  box-shadow: var(--shadow-md); max-width: 320px;
  border-left: 4px solid var(--green-500);
  transition: box-shadow var(--trans-mid), transform var(--trans-fast);
}
.tl-content:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.tl-year {
  font-family: var(--font-accent); font-weight: 800; font-size: 1.2rem;
  color: var(--green-700); margin-bottom: 6px;
}
.tl-content p { font-size: .9rem; color: var(--grey-600); line-height: 1.65; margin: 0; }

/* ── SERVICES PAGE ─────────────────────────────────────────── */
.services-category {
  margin-bottom: 64px;
}
.cat-header {
  display: flex; align-items: center; gap: 16px;
  margin-bottom: 32px; padding-bottom: 14px;
  border-bottom: 2px solid var(--grey-200);
}
.cat-icon { font-size: 2rem; }
.cat-title {
  font-family: var(--font-heading); font-size: 1.6rem;
  font-weight: 800; color: var(--green-800);
}
.cat-count { background: var(--green-100); color: var(--green-700); padding: 3px 10px; border-radius: var(--r-pill); font-size: .8rem; font-weight: 600; }
.svc-cat {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 24px;
}
.svc-card-lg {
  background: var(--white); border-radius: var(--r-lg); overflow: hidden;
  box-shadow: var(--shadow-sm); border: 1px solid var(--grey-200);
  transition: transform .35s cubic-bezier(.34,1.56,.64,1), box-shadow var(--trans-mid);
}
.svc-card-lg:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.svc-card-lg-img { height: 200px; overflow: hidden; }
.svc-card-lg-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.svc-card-lg:hover .svc-card-lg-img img { transform: scale(1.08); }
.svc-card-lg-body { padding: 22px 22px 24px; }
.svc-icon-lg { font-size: 2rem; margin-bottom: 10px; }
.svc-card-lg-body h3 { font-family: var(--font-accent); font-weight: 700; font-size: 1.05rem; color: var(--green-800); margin-bottom: 8px; }
.svc-card-lg-body p { font-size: .88rem; color: var(--grey-600); line-height: 1.65; margin-bottom: 16px; }

/* ── FAQ ───────────────────────────────────────────────────── */
.faq-item {
  border-radius: var(--r-md); overflow: hidden; margin-bottom: 12px;
  background: var(--white); box-shadow: var(--shadow-sm); border: 1px solid var(--grey-200);
  transition: box-shadow var(--trans-fast);
}
.faq-item.open { box-shadow: var(--shadow-md); }
.faq-q {
  width: 100%; display: flex; justify-content: space-between; align-items: center;
  padding: 20px 24px; font-weight: 600; font-size: 1rem; color: var(--grey-900);
  background: var(--white); cursor: pointer; gap: 16px; text-align: left;
  border: none; transition: background var(--trans-fast), color var(--trans-fast);
}
.faq-q:hover { background: var(--green-50); color: var(--green-700); }
.faq-item.open .faq-q { background: var(--green-50); color: var(--green-700); }
.faq-arrow {
  transition: transform var(--trans-mid); flex-shrink: 0;
  color: var(--green-500); font-size: .8rem;
}
.faq-item.open .faq-arrow { transform: rotate(180deg); }
.faq-a {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  padding: 0 24px;
  font-size: .95rem; color: var(--grey-600); line-height: 1.75;
  border-top: 1px solid transparent;
  transition: max-height 0.35s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s ease, padding 0.35s ease, border-color 0.35s ease;
}
.faq-item.open .faq-a {
  opacity: 1;
  padding: 16px 24px 20px;
  border-top-color: var(--grey-200);
}

/* ── QUOTE PAGE ────────────────────────────────────────────── */
.quote-page-box {
  background: var(--white); border-radius: var(--r-xl); padding: 44px 40px;
  box-shadow: var(--shadow-xl); max-width: 820px; margin: 0 auto;
  border-top: 5px solid var(--green-500);
}
.quote-page-box h2 { font-family: var(--font-heading); font-size: 1.6rem; color: var(--green-800); margin-bottom: 28px; }
.qp-success {
  display: none; flex-direction: column; align-items: center; text-align: center;
  padding: 50px 30px; background: var(--green-50); border-radius: var(--r-xl);
  max-width: 520px; margin: 40px auto;
}
.qp-success h2 { color: var(--green-700); font-size: 1.8rem; margin-bottom: 12px; }
.qp-success p { color: var(--grey-600); margin-bottom: 8px; }
.qp-id { font-family: var(--font-accent); font-size: 1.4rem; font-weight: 800; color: var(--green-700); background: var(--white); padding: 10px 24px; border-radius: var(--r-pill); border: 2px solid var(--green-400); margin: 12px 0; }
.qp-phones { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin: 14px 0 20px; }
.qp-phones a { background: var(--green-500); color: var(--white); padding: 10px 20px; border-radius: var(--r-pill); font-weight: 600; }

/* ── CONTACT PAGE ──────────────────────────────────────────── */
.contact-page-grid {
  display: grid; grid-template-columns: 1fr 1.2fr; gap: 48px; margin-top: 50px; align-items: start;
}
.cp-info { }
.cp-map { border-radius: var(--r-xl); overflow: hidden; box-shadow: var(--shadow-lg); }
.cp-map iframe { width: 100%; height: 400px; border: 0; }
.cp-form-box {
  background: var(--white); border-radius: var(--r-xl); padding: 36px 32px;
  box-shadow: var(--shadow-lg); border-top: 4px solid var(--green-500);
  margin-top: 32px;
}
.hours-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 8px; }
.hours-row { font-size: .88rem; color: var(--grey-600); padding: 6px 0; border-bottom: 1px solid var(--grey-100); }
.hours-row span { font-weight: 600; color: var(--grey-800); }

/* ── RESPONSIVE FOR SUB-PAGES ──────────────────────────────── */
@media (max-width: 768px) {
  .timeline::before { left: 16px; }
  .tl-item { width: 100%; padding: 0 0 32px 48px; justify-content: flex-start; }
  .tl-item.tl-right { margin-left: 0; padding: 0 0 32px 48px; justify-content: flex-start; }
  .tl-dot { right: auto; left: 8px; }
  .tl-right .tl-dot { left: 8px; }
  .tl-content { max-width: 100%; }
  .contact-page-grid { grid-template-columns: 1fr; }
  .quote-page-box { padding: 28px 20px; }
}
@media (max-width: 480px) {
  .svc-cat { grid-template-columns: 1fr; }
}
