/* ==========================================================================
   Cignet - Content Pages Stylesheet
   Covers: about.html, blog.html, blog-single.html, contact.html,
           faqs.html, testimonials.html, 404.html
   ========================================================================== */

/* 01. About Us (about.html) ---------------------------------------------- */
.about-collage {
  position: relative;
  padding-bottom: 60px;
  padding-right: 40px;
}
.about-img-main {
  border-radius: var(--radius);
  overflow: hidden;
}
.about-img-main img {
  width: 100%;
  aspect-ratio: 7 / 8;
  object-fit: cover;
}
.about-img-sub {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 52%;
  border-radius: var(--radius);
  overflow: hidden;
  border: 8px solid var(--white);
  box-shadow: var(--shadow);
  z-index: 2;
}
.about-img-sub img {
  width: 100%;
  aspect-ratio: 5 / 6;
  object-fit: cover;
}
.about-exp-badge {
  position: absolute;
  top: 28px;
  right: 12px;
  z-index: 3;
  background: var(--primary);
  color: var(--white);
  border-radius: var(--radius-sm);
  padding: 20px 24px;
  box-shadow: var(--shadow);
  text-align: center;
}
.about-exp-badge strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 40px;
  line-height: 1;
  color: var(--gold);
}
.about-exp-badge span {
  font-size: 13px;
  letter-spacing: .04em;
}

.value-card {
  background: var(--cream);
  border-radius: var(--radius);
  padding: 34px 28px;
  height: 100%;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.value-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}
.value-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--white);
  color: var(--primary);
  font-size: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  transition: all .35s var(--ease);
}
.value-card:hover .value-icon {
  background: var(--primary);
  color: var(--white);
}
.value-card h3 {
  font-size: 24px;
  margin-bottom: 12px;
}

.about-video-box {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  min-height: 460px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 70px;
}
.about-video-box img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.about-video-box::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: rgba(var(--primary-rgb), .45);
}
.about-video-box .play-btn {
  position: relative;
  z-index: 2;
}

.process-card {
  background: var(--white);
  border: 1px solid var(--divider);
  border-radius: var(--radius);
  padding: 32px 26px;
  height: 100%;
  position: relative;
}
.process-step {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--cream);
  color: var(--primary);
  font-family: var(--font-heading);
  font-size: 22px;
  font-style: italic;
  margin-bottom: 20px;
}
.process-card h3 {
  font-size: 22px;
  margin-bottom: 10px;
}

.team-card {
  text-align: center;
}
.team-thumb {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--cream);
  margin-bottom: 20px;
}
.team-thumb img {
  width: 100%;
  aspect-ratio: 5 / 6;
  object-fit: cover;
  transition: transform .8s var(--ease);
}
.team-card:hover .team-thumb img {
  transform: scale(1.06);
}
.team-socials {
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: 20px;
  display: flex;
  justify-content: center;
  gap: 8px;
  opacity: 0;
  transform: translateY(16px);
  transition: all .4s var(--ease);
}
.team-card:hover .team-socials {
  opacity: 1;
  transform: none;
}
.team-socials a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--white);
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
}
.team-socials a:hover {
  background: var(--primary);
  color: var(--white);
}
.team-card h3 {
  font-size: 24px;
  margin-bottom: 4px;
}
.team-card span {
  font-size: 14px;
  color: var(--text);
}

.cta-banner {
  border-radius: var(--radius);
  padding: 70px 60px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}
.cta-banner h2 {
  font-size: 42px;
  max-width: 640px;
}
.cta-banner h2 span {
  font-weight: 400;
}

/* 02. Blog Archive & Single (blog.html, blog-single.html) --------------- */
.featured-post-card {
  background: var(--cream);
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 60px;
}
.featured-post-img {
  height: 100%;
  min-height: 360px;
  display: block;
}
.featured-post-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.featured-post-body {
  padding: 46px;
}
.featured-tag {
  display: inline-block;
  padding: 5px 14px;
  border-radius: var(--radius-pill);
  background: var(--primary);
  color: var(--white);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: 16px;
}
.featured-post-body h2 {
  font-size: 36px;
  margin-bottom: 14px;
}

.article-featured-img {
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 28px;
}
.article-featured-img img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}
.article-body h2 {
  font-size: 36px;
  margin-bottom: 18px;
}
.article-body h3 {
  font-size: 26px;
  margin: 32px 0 14px;
}
.article-quote {
  background: var(--cream);
  border-left: 4px solid var(--gold);
  border-radius: var(--radius-sm);
  padding: 28px 32px;
  margin: 30px 0;
}
.article-quote p {
  font-family: var(--font-heading);
  font-size: 22px;
  font-style: italic;
  color: var(--heading);
  line-height: 1.5;
  margin-bottom: 10px;
}
.article-quote cite {
  font-style: normal;
  font-size: 14px;
  font-weight: 500;
  color: var(--primary);
}
.article-inline-img {
  border-radius: var(--radius);
  overflow: hidden;
  margin: 30px 0;
}
.article-tags-share {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 24px 0;
  margin: 36px 0;
  border-top: 1px solid var(--divider);
  border-bottom: 1px solid var(--divider);
}
.article-tags {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}
.article-tags a {
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  background: var(--cream);
  font-size: 13px;
  font-weight: 500;
  color: var(--heading);
}
.article-tags a:hover {
  background: var(--primary);
  color: var(--white);
}

.author-card {
  display: flex;
  align-items: center;
  gap: 22px;
  background: var(--cream);
  border-radius: var(--radius);
  padding: 28px;
  margin-bottom: 36px;
}
.author-card img {
  width: 86px;
  height: 86px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}
.author-card h4 {
  font-size: 22px;
  margin-bottom: 6px;
}
.post-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 48px;
}
.post-nav-link {
  display: block;
  padding: 22px 24px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--divider);
  transition: all .3s var(--ease);
}
.post-nav-link:hover {
  background: var(--cream);
  border-color: var(--primary);
}
.post-nav-link span {
  display: block;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--text);
  margin-bottom: 6px;
}
.post-nav-link strong {
  font-family: var(--font-heading);
  font-size: 19px;
  color: var(--heading);
}

.comments-wrap {
  margin-bottom: 48px;
}
.comment-item {
  display: flex;
  gap: 18px;
  padding: 24px 0;
  border-bottom: 1px solid var(--divider);
}
.comment-item img {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}
.comment-reply {
  margin-left: 76px;
}
.comment-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}
.comment-head h5 {
  font-size: 19px;
}
.comment-head span {
  font-size: 13px;
  color: #7c8682;
}
.comment-form-card {
  background: var(--cream);
  border-radius: var(--radius);
  padding: 36px;
}

.blog-sidebar {
  display: flex;
  flex-direction: column;
  gap: 28px;
  position: sticky;
  top: 110px;
}
.sidebar-widget {
  background: var(--cream);
  border-radius: var(--radius);
  padding: 28px;
}
.sidebar-widget h3 {
  font-size: 22px;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--divider);
}
.sidebar-cat-list li + li {
  margin-top: 10px;
}
.sidebar-cat-list a {
  display: flex;
  justify-content: space-between;
  font-size: 15px;
  color: var(--heading);
  transition: color .3s var(--ease), padding-left .3s var(--ease);
}
.sidebar-cat-list a:hover {
  color: var(--text);
  padding-left: 4px;
}
.recent-post-item {
  display: flex;
  align-items: center;
  gap: 14px;
}
.recent-post-item + .recent-post-item {
  margin-top: 16px;
}
.recent-post-item img {
  width: 74px;
  height: 74px;
  border-radius: var(--radius-sm);
  object-fit: cover;
  flex-shrink: 0;
}
.recent-post-item span {
  display: block;
  font-size: 12px;
  color: var(--text);
  margin-bottom: 4px;
}
.recent-post-item h5 {
  font-size: 16px;
  line-height: 1.35;
}

/* 03. Contact (contact.html) --------------------------------------------- */
.contact-info-card {
  background: var(--cream);
  border-radius: var(--radius);
  padding: 32px 26px;
  height: 100%;
  text-align: center;
}
.contact-info-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--white);
  color: var(--primary);
  font-size: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}
.contact-info-card h3 {
  font-size: 22px;
  margin-bottom: 10px;
}
.contact-panel {
  background: var(--white);
  border-radius: var(--radius);
  padding: 44px;
  border: 1px solid var(--divider);
  height: 100%;
}
.contact-side-card {
  border-radius: var(--radius);
  padding: 44px;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.contact-side-list li {
  display: flex;
  gap: 14px;
  padding: 16px 0;
  border-bottom: 1px solid var(--divider-dark);
}
.contact-side-list li:last-child {
  border-bottom: 0;
}
.contact-side-list i {
  color: var(--gold);
  font-size: 18px;
  margin-top: 4px;
}
.map-frame {
  border-radius: var(--radius);
  overflow: hidden;
  height: 440px;
  border: 1px solid var(--divider);
}
.map-frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
}
.store-card {
  background: var(--cream);
  border-radius: var(--radius);
  padding: 30px;
  height: 100%;
}
.store-card h3 {
  font-size: 24px;
  margin-bottom: 10px;
}

/* 04. FAQs (faqs.html) --------------------------------------------------- */
.faq-cat-nav {
  position: sticky;
  top: 110px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.faq-cat-box {
  background: var(--cream);
  border-radius: var(--radius);
  padding: 28px;
}
.faq-cat-box h3 {
  font-size: 22px;
  margin-bottom: 18px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--divider);
}
.faq-cat-links li + li {
  margin-top: 6px;
}
.faq-cat-links a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 11px 16px;
  border-radius: var(--radius-sm);
  font-weight: 500;
  color: var(--heading);
}
.faq-cat-links a:hover {
  background: var(--primary);
  color: var(--white);
}
.faq-group {
  scroll-margin-top: 110px;
}
.faq-group + .faq-group {
  margin-top: 52px;
}
.faq-group-title {
  font-size: 32px;
  margin-bottom: 24px;
}

/* 05. Testimonials (testimonials.html) ----------------------------------- */
.rating-overview-card {
  background: var(--cream);
  border-radius: var(--radius);
  padding: 40px;
  margin-bottom: 50px;
}
.rating-big-score strong {
  font-family: var(--font-heading);
  font-size: 68px;
  line-height: 1;
  color: var(--primary);
  display: block;
}
.rating-bar-row {
  display: grid;
  grid-template-columns: 52px 1fr 48px;
  align-items: center;
  gap: 12px;
  font-size: 14px;
}
.rating-bar-row + .rating-bar-row {
  margin-top: 8px;
}
.rating-bar-track {
  height: 8px;
  border-radius: 8px;
  background: rgba(var(--primary-rgb), .12);
  overflow: hidden;
}
.rating-bar-fill {
  height: 100%;
  background: var(--primary);
  border-radius: 8px;
}
.video-testimonial-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  min-height: 420px;
  padding: 50px;
  display: flex;
  align-items: center;
  background-size: cover;
  background-position: center;
}
.video-testimonial-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(var(--primary-rgb), .92) 0%, rgba(var(--primary-rgb), .45) 100%);
}
.video-testimonial-card .container-inner {
  position: relative;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  width: 100%;
}

/* 06. 404 Page (404.html) ------------------------------------------------ */
.error-section {
  min-height: calc(100vh - var(--header-h));
  display: flex;
  align-items: center;
  padding: 80px 0;
  text-align: center;
}
.error-illustration {
  max-width: 420px;
  margin: 0 auto 24px;
  border-radius: var(--radius);
  overflow: hidden;
}
.error-code {
  font-family: var(--font-heading);
  font-size: 130px;
  font-style: italic;
  font-weight: 500;
  line-height: .95;
  color: var(--primary);
  margin-bottom: 14px;
}
.error-search {
  position: relative;
  max-width: 500px;
  margin: 28px auto;
}
.error-search input {
  width: 100%;
  padding: 15px 56px 15px 24px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--divider);
  background: var(--cream);
  outline: 0;
}
.error-search input:focus {
  border-color: var(--primary);
  background: var(--white);
}
.error-search button {
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 0;
  background: var(--primary);
  color: var(--white);
}
.error-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 24px;
  margin-top: 26px;
}

/* 07. Responsive --------------------------------------------------------- */
@media (max-width: 1199.98px) {
  .cta-banner { padding: 54px 42px; }
  .cta-banner h2 { font-size: 36px; }
  .featured-post-body { padding: 34px; }
  .featured-post-body h2 { font-size: 30px; }
}

@media (max-width: 991.98px) {
  .blog-sidebar,
  .faq-cat-nav {
    position: static;
  }
  .contact-panel,
  .contact-side-card,
  .rating-overview-card {
    padding: 32px;
  }
  .about-video-box { min-height: 360px; margin-top: 50px; }
  .error-code { font-size: 100px; }
}

@media (max-width: 767.98px) {
  .about-collage { padding-right: 20px; padding-bottom: 44px; }
  .cta-banner { padding: 40px 28px; }
  .cta-banner h2 { font-size: 30px; }
  .featured-post-body,
  .comment-form-card,
  .contact-panel,
  .contact-side-card,
  .video-testimonial-card {
    padding: 24px;
  }
  .post-nav { grid-template-columns: 1fr; }
  .comment-reply { margin-left: 28px; }
  .author-card { flex-direction: column; text-align: center; }
  .map-frame { height: 320px; }
}

@media (max-width: 575.98px) {
  .error-code { font-size: 82px; }
  .faq-group-title { font-size: 26px; }
  .about-exp-badge { padding: 14px 18px; }
  .about-exp-badge strong { font-size: 30px; }
}
