/* ===========================================================
   Sampada Social — Bespoke Services Architecture & 3D Parallax System
=========================================================== */

/* 1. Alternating Parallax Section Layout */
.service-alt-section {
  padding: 95px 0;
  position: relative;
  overflow: hidden;
}
.service-alt-section--paper {
  background: var(--paper-warm);
}
.service-alt-section--slate {
  background: #F4F6F8;
}
.service-alt-section--dark {
  background: #0B1622;
  color: #FFFFFF;
}

.service-alt-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
}

.service-alt-grid--left .service-alt-media {
  order: 1;
}
.service-alt-grid--left .service-alt-content {
  order: 2;
}

.service-alt-grid--right .service-alt-content {
  order: 1;
}
.service-alt-grid--right .service-alt-media {
  order: 2;
}

.service-alt-content h2 {
  font-size: 2.25rem;
  line-height: 1.25;
  margin-bottom: 18px;
  color: var(--navy-deep);
}
.service-alt-section--dark .service-alt-content h2 {
  color: #FFFFFF;
}

.service-alt-content .lead-text {
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--body);
  margin-bottom: 24px;
}
.service-alt-section--dark .service-alt-content .lead-text {
  color: rgba(255, 255, 255, 0.75);
}

/* Feature Checklists in Service Sections */
.service-feature-list {
  list-style: none;
  padding: 0;
  margin: 0 0 28px 0;
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.service-feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  font-size: 0.96rem;
  line-height: 1.55;
  color: var(--navy-deep);
}
.service-alt-section--dark .service-feature-list li {
  color: rgba(255, 255, 255, 0.9);
}
.service-feature-list .check-icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(15, 110, 80, 0.12);
  color: var(--green-deep);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.82rem;
  margin-top: 2px;
}
.service-alt-section--dark .service-feature-list .check-icon {
  background: rgba(253, 199, 31, 0.18);
  color: #FDC71F;
}

/* 2. High-Quality 3D Specimen Card Architecture */
.service-alt-media {
  perspective: 1200px;
  position: relative;
  display: flex;
  justify-content: center;
}

.service-3d-card {
  width: 100%;
  max-width: 520px;
  background: #FFFFFF;
  border-radius: var(--radius-md);
  border: 1px solid rgba(13, 31, 45, 0.12);
  box-shadow: 0 25px 50px -12px rgba(13, 31, 45, 0.16), 0 0 0 1px rgba(255, 255, 255, 0.8) inset;
  padding: 30px;
  position: relative;
  transform-style: preserve-3d;
  transition: transform 0.25s cubic-bezier(0.1, 0.9, 0.2, 1), box-shadow 0.3s ease;
  will-change: transform;
  overflow: hidden;
  cursor: pointer;
}
.service-3d-card:hover {
  box-shadow: 0 35px 70px -15px rgba(13, 31, 45, 0.26), 0 0 24px rgba(253, 199, 31, 0.2);
}

/* Specular Foil Glare Overlay */
.card-specular-glare {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 50% 0%, rgba(255, 255, 255, 0.45) 0%, rgba(255, 255, 255, 0) 70%);
  pointer-events: none;
  opacity: 0.6;
  mix-blend-mode: overlay;
  transition: opacity 0.3s ease;
  z-index: 5;
}

/* Guilloche Security Border on Specimen Cards */
.security-guilloche-border {
  border: 2px dashed rgba(184, 134, 11, 0.35);
  border-radius: var(--radius-sm);
  padding: 22px;
  position: relative;
  background: radial-gradient(circle at 100% 100%, rgba(253, 199, 31, 0.03) 0%, transparent 60%);
}
.security-guilloche-border::before {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  right: 3px;
  bottom: 3px;
  border: 1px solid rgba(13, 31, 45, 0.08);
  pointer-events: none;
  border-radius: 4px;
}

/* Card Header & Security Badge */
.specimen-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
  border-bottom: 1px solid rgba(13, 31, 45, 0.08);
  padding-bottom: 14px;
}
.specimen-seal-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.74rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(15, 110, 80, 0.08);
  color: var(--green-deep);
  border: 1px solid rgba(15, 110, 80, 0.2);
}
.specimen-seal-badge--gold {
  background: rgba(253, 199, 31, 0.15);
  color: #9A7200;
  border-color: rgba(253, 199, 31, 0.4);
}
.specimen-seal-badge--wine {
  background: rgba(92, 29, 36, 0.08);
  color: #5C1D24;
  border-color: rgba(92, 29, 36, 0.25);
}
.specimen-seal-badge--blue {
  background: rgba(12, 74, 110, 0.08);
  color: #0C4A6E;
  border-color: rgba(12, 74, 110, 0.25);
}
.specimen-seal-badge--charcoal {
  background: rgba(31, 36, 40, 0.08);
  color: #1F2428;
  border-color: rgba(31, 36, 40, 0.25);
}

.specimen-folio-id {
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.78rem;
  color: var(--navy);
  font-weight: 600;
}

/* Specimen Body Metadata Grid */
.specimen-meta-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin: 16px 0;
}
.specimen-meta-cell {
  background: rgba(245, 245, 240, 0.65);
  padding: 12px 14px;
  border-radius: 6px;
  border: 1px solid rgba(13, 31, 45, 0.06);
}
.specimen-meta-cell label {
  display: block;
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.68rem;
  text-transform: uppercase;
  color: #6C7A89;
  letter-spacing: 0.04em;
  margin-bottom: 4px;
}
.specimen-meta-cell span {
  font-family: "Spectral", serif;
  font-size: 1.02rem;
  font-weight: 600;
  color: var(--navy-deep);
}

/* Security Watermark / Hologram Bar */
.specimen-hologram-strip {
  height: 8px;
  border-radius: 4px;
  background: linear-gradient(90deg, #FDC71F, #0F6E50, #38BDF8, #C59B27, #FDC71F);
  background-size: 200% 100%;
  animation: hologramShimmer 4s ease infinite;
  margin: 16px 0;
}
@keyframes hologramShimmer {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.specimen-stamp-seal {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid rgba(13, 31, 45, 0.08);
}
.specimen-stamp-seal .emboss-text {
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.72rem;
  color: #556B2F;
  display: flex;
  align-items: center;
  gap: 6px;
}
.specimen-stamp-seal .emboss-icon {
  width: 32px;
  height: 32px;
  border: 1.5px solid #C59B27;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #C59B27;
  font-size: 0.75rem;
  font-weight: 700;
  transform: rotate(-12deg);
}

/* Click to Inspect Overlay */
.service-3d-card.is-inspected {
  transform: scale(1.04) rotateX(0deg) rotateY(0deg) !important;
  box-shadow: 0 40px 90px -10px rgba(13, 31, 45, 0.4), 0 0 0 2px var(--gold);
  z-index: 10;
}
.inspect-badge-hint {
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.68rem;
  color: #8C9BA5;
  text-align: right;
  display: block;
  margin-top: 8px;
}

/* 3. Specialized Interactive Widgets */

/* Interactive Decision Matrix / Tabbed Selector */
.interactive-decision-card {
  background: #FFFFFF;
  border: 1px solid rgba(13, 31, 45, 0.1);
  border-radius: var(--radius-md);
  box-shadow: 0 15px 35px -8px rgba(13, 31, 45, 0.08);
  padding: 28px;
  margin-top: 24px;
}
.decision-tabs {
  display: flex;
  gap: 8px;
  border-bottom: 2px solid rgba(13, 31, 45, 0.08);
  padding-bottom: 12px;
  margin-bottom: 20px;
  overflow-x: auto;
}
.decision-tab-btn {
  background: none;
  border: none;
  font-family: "Inter", sans-serif;
  font-size: 0.88rem;
  font-weight: 600;
  color: #6C7A89;
  padding: 8px 16px;
  border-radius: 20px;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}
.decision-tab-btn.is-active {
  background: var(--navy-deep);
  color: #FFFFFF;
}
.decision-panel {
  display: none;
  animation: fadeIn 0.3s ease;
}
.decision-panel.is-active {
  display: block;
}
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Interactive Calculator Box */
.calc-card-luxury {
  background: #FFFFFF;
  border: 1px solid rgba(13, 31, 45, 0.12);
  border-radius: var(--radius-md);
  padding: 28px;
  box-shadow: 0 20px 40px -10px rgba(13, 31, 45, 0.1);
  position: relative;
}
.calc-input-group {
  margin-bottom: 18px;
}
.calc-input-group label {
  display: block;
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--navy-deep);
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.calc-input-group select,
.calc-input-group input {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid rgba(13, 31, 45, 0.15);
  border-radius: 6px;
  font-family: "Inter", sans-serif;
  font-size: 0.95rem;
  color: var(--navy-deep);
  background: #FAFAFA;
  transition: border-color 0.2s ease;
}
.calc-input-group select:focus,
.calc-input-group input:focus {
  outline: none;
  border-color: var(--gold);
  background: #FFFFFF;
}
.calc-result-display {
  background: linear-gradient(135deg, rgba(15, 110, 80, 0.08) 0%, rgba(253, 199, 31, 0.08) 100%);
  border: 1px solid rgba(15, 110, 80, 0.2);
  border-radius: 8px;
  padding: 18px 20px;
  margin-top: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.calc-result-display .res-label {
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.76rem;
  text-transform: uppercase;
  color: var(--navy);
}
.calc-result-display .res-val {
  font-family: "Spectral", serif;
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--green-deep);
}

/* Service Document Checklist Luxury */
.doc-checklist-luxury {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 24px;
}
.doc-checklist-item {
  background: #FFFFFF;
  border: 1px solid rgba(13, 31, 45, 0.09);
  border-radius: 8px;
  padding: 16px 18px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.doc-checklist-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px -5px rgba(13, 31, 45, 0.08);
}
.doc-check-badge {
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.72rem;
  font-weight: 700;
  background: var(--navy-deep);
  color: var(--gold);
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.doc-checklist-text strong {
  display: block;
  font-size: 0.92rem;
  color: var(--navy-deep);
  margin-bottom: 2px;
}
.doc-checklist-text span {
  font-size: 0.8rem;
  color: #6C7A89;
  line-height: 1.4;
}

/* Hero Split Luxury for Services */
.page-masthead--service-hero {
  padding: 85px 0 95px;
  background: linear-gradient(180deg, #FFFFFF 0%, #F6F8FA 100%);
  border-bottom: 1px solid var(--line);
  position: relative;
  overflow: hidden;
}
.service-hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 60px;
  align-items: center;
}
.service-hero-copy h1 {
  font-size: 2.85rem;
  line-height: 1.18;
  margin-bottom: 20px;
  color: var(--navy-deep);
}
.service-hero-copy .lead {
  font-size: 1.12rem;
  line-height: 1.65;
  color: var(--body);
  margin-bottom: 30px;
}
.service-hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 24px;
}
.service-hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.74rem;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 20px;
  background: rgba(13, 31, 45, 0.05);
  color: var(--navy-deep);
}
.service-hero-tag svg {
  width: 13px;
  height: 13px;
  stroke: var(--gold);
}

/* Services Hub Interactive Diagnostic Filter */
.service-diagnostic-box {
  background: linear-gradient(135deg, var(--navy-deep) 0%, #082838 100%);
  border-radius: var(--radius-md);
  padding: 40px;
  color: #FFFFFF;
  margin-bottom: 60px;
  box-shadow: 0 25px 60px -15px rgba(8, 40, 56, 0.4);
}
.service-diagnostic-box h3 {
  font-family: "Spectral", serif;
  font-size: 1.8rem;
  color: #FFFFFF;
  margin-bottom: 12px;
}
.service-diagnostic-box p {
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 24px;
  font-size: 1rem;
}
.diagnostic-btn-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.diagnostic-filter-btn {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  padding: 16px 18px;
  color: #FFFFFF;
  text-align: left;
  cursor: pointer;
  transition: all 0.25s ease;
  font-family: "Inter", sans-serif;
  font-size: 0.9rem;
  line-height: 1.4;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.diagnostic-filter-btn:hover,
.diagnostic-filter-btn.is-selected {
  background: rgba(253, 199, 31, 0.2);
  border-color: #FDC71F;
  transform: translateY(-2px);
}
.diagnostic-filter-btn strong {
  color: #FDC71F;
  font-size: 0.96rem;
}

/* Responsive Media Queries */
@media (max-width: 1024px) {
  .service-hero-grid,
  .service-alt-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .service-alt-grid--left .service-alt-media,
  .service-alt-grid--right .service-alt-media {
    order: 2;
  }
  .service-alt-grid--left .service-alt-content,
  .service-alt-grid--right .service-alt-content {
    order: 1;
  }
  .diagnostic-btn-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .doc-checklist-luxury {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .service-hero-copy h1 {
    font-size: 2.1rem;
  }
  .diagnostic-btn-grid {
    grid-template-columns: 1fr;
  }
  .service-diagnostic-box {
    padding: 24px;
  }
}

/* ===== Shared copy blocks (service pages) ===== */
.svc-hero-trust { font-family: "IBM Plex Mono", monospace; font-size: .74rem; color: #6C7A89; margin: 0 0 14px; line-height: 1.6; }
.svc-small-print { font-size: .82rem; color: #6C7A89; margin: 14px 0 0; }
.svc-table-wrap { overflow-x: auto; margin: 16px 0; }
.svc-table { width: 100%; border-collapse: collapse; font-size: .86rem; }
.svc-table th, .svc-table td { text-align: left; padding: 10px 12px; border: 1px solid rgba(13,31,45,.1); vertical-align: top; line-height: 1.45; }
.svc-table th { background: #F6F8FA; font-weight: 700; color: var(--navy-deep); }
.svc-note { border-left: 3px solid var(--gold); background: #FFFBEA; padding: 12px 16px; font-size: .88rem; line-height: 1.55; margin: 16px 0; }
.svc-sub { font-family: "Spectral", serif; font-size: 1.1rem; color: var(--navy-deep); margin: 22px 0 8px; }
.svc-list { margin: 0 0 12px; padding-left: 20px; display: flex; flex-direction: column; gap: 8px; font-size: .92rem; line-height: 1.55; }
.svc-extra-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; margin-top: 8px; }
.svc-extra-grid h3 { font-family: "Spectral", serif; font-size: 1.2rem; margin: 0 0 10px; }
.svc-extra-grid p, .svc-extra-grid li { font-size: .92rem; line-height: 1.6; }
.svc-disclaimer { margin-top: 28px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.15); font-size: .78rem; line-height: 1.6; color: rgba(255,255,255,.6); }
@media (max-width: 820px) { .svc-extra-grid { grid-template-columns: 1fr; } }
