/* =============================================================================
   ALPENDRA — sections.css
   Shared components used across all pages
   ============================================================================= */

/* ─────────────────────────────────────────────────────────────────────────────
   TICKER BAND
   ───────────────────────────────────────────────────────────────────────────── */
.ticker-band {
  background-color: var(--gold);
  padding: 14px 0;
  overflow: hidden;
  white-space: nowrap;
}

.ticker-inner {
  display: inline-block;
  animation: ticker 28s linear infinite;
}

.ticker-item {
  display: inline-block;
  padding: 0 40px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--navy-deep);
}

.ticker-dot {
  color: rgba(11, 31, 58, 0.5);
  margin: 0 8px;
}

/* ─────────────────────────────────────────────────────────────────────────────
   TECH CAPABILITIES (navy bg)
   ───────────────────────────────────────────────────────────────────────────── */
.tech-section {
  padding: var(--section-pad);
  background-color: var(--navy);
}

.tech-heading {
  font-family: var(--font-display);
  color: var(--white);
  font-weight: 300;
  font-size: clamp(32px, 3.5vw, 52px);
  text-align: center;
  margin-bottom: 64px;
}

.tech-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-left: 1px solid rgba(255, 255, 255, 0.08);
}

.tech-cell {
  border-right: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 40px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  cursor: default;
  transition: all 0.3s ease;
}

.tech-cell:hover {
  transform: translateY(-2px);
  border-color: rgba(200, 164, 93, 0.4);
  background-color: rgba(200, 164, 93, 0.04);
}

.tech-cell svg {
  width: 48px;
  height: 48px;
  color: var(--gold);
  fill: currentColor;
}

.tech-cell:hover svg {
  filter: brightness(1.3);
}

.tech-label {
  color: rgba(255, 255, 255, 0.75);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-align: center;
}

/* ─────────────────────────────────────────────────────────────────────────────
   FOUR PILLARS (off-white bg)
   ───────────────────────────────────────────────────────────────────────────── */
.pillars-section {
  padding: var(--section-pad);
  background-color: var(--off-white);
}

.pillars-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--gray-line);
  border-left: 1px solid var(--gray-line);
}

.pillar-cell {
  border-right: 1px solid var(--gray-line);
  border-bottom: 1px solid var(--gray-line);
  padding: 48px 32px;
  background-color: var(--white);
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}

.pillar-cell::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 3px;
  background-color: var(--gold);
  transition: width 0.4s ease;
}

.pillar-cell:hover::after {
  width: 100%;
}

.pillar-cell:hover {
  background-color: var(--gold-pale);
}

.pillar-number {
  display: block;
  font-family: var(--font-display);
  font-size: 80px;
  font-weight: 300;
  color: rgba(11, 31, 58, 0.06);
  line-height: 1;
  margin-bottom: -20px;
}

.pillar-name {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 400;
  color: var(--navy);
  margin-bottom: 16px;
}

.pillar-desc {
  font-size: 14px;
  line-height: 1.7;
  color: var(--gray-text);
}

/* ─────────────────────────────────────────────────────────────────────────────
   SERVICES PREVIEW (navy bg)
   ───────────────────────────────────────────────────────────────────────────── */
.services-preview {
  padding: var(--section-pad);
  background-color: var(--navy);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.services-left h2 {
  font-family: var(--font-display);
  color: var(--white);
  font-weight: 300;
}

.services-left p {
  color: rgba(255, 255, 255, 0.6);
}

.stat-highlight {
  border: 1px solid rgba(200, 164, 93, 0.3);
  padding: 28px;
  margin-top: 40px;
}

.stat-highlight-num {
  display: block;
  font-family: var(--font-display);
  font-size: 52px;
  font-weight: 600;
  color: var(--gold);
  line-height: 1;
}

.stat-highlight-label {
  color: rgba(255, 255, 255, 0.6);
  font-size: 13px;
  margin-top: 8px;
}

.services-list {
  list-style: none;
}

.service-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
  cursor: default;
}

.service-row::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 0;
  background-color: rgba(200, 164, 93, 0.08);
  border-left: 3px solid var(--gold);
  transition: width 0.3s ease;
}

.service-row:hover::before {
  width: 100%;
}

.service-row:hover .service-arrow {
  transform: translateX(6px);
}

.service-row-left {
  display: flex;
  align-items: center;
  gap: 16px;
  position: relative;
  z-index: 1;
}

.service-name {
  color: var(--white);
  font-size: 15px;
  font-weight: 500;
}

.service-tag {
  display: inline-block;
  padding: 4px 12px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  border-radius: 20px;
  background-color: rgba(200, 164, 93, 0.12);
  color: var(--gold);
}

.service-arrow {
  color: var(--gold);
  font-size: 18px;
  transition: transform 0.3s ease;
  position: relative;
  z-index: 1;
}

.services-view-all {
  display: block;
  color: var(--gold);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.05em;
  margin-top: 24px;
  transition: text-decoration var(--transition);
}

.services-view-all:hover {
  text-decoration: underline;
}

/* ─────────────────────────────────────────────────────────────────────────────
   SECTORS BAND (white bg)
   ───────────────────────────────────────────────────────────────────────────── */
.sectors-section {
  padding: 80px 56px;
  background-color: var(--white);
}

.sectors-label {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gray-muted);
  text-align: center;
  margin-bottom: 48px;
}

.sectors-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0;
  border-top: 1px solid var(--gray-line);
  border-left: 1px solid var(--gray-line);
}

.sector-cell {
  border-right: 1px solid var(--gray-line);
  border-bottom: 1px solid var(--gray-line);
  padding: 36px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  transition: all 0.3s ease;
}

.sector-cell:hover {
  background-color: var(--gold-pale);
}

.sector-cell svg {
  width: 36px;
  height: 36px;
  color: var(--gold);
}

.sector-label {
  font-size: 12px;
  font-weight: 500;
  color: var(--gray-text);
  text-align: center;
  letter-spacing: 0.04em;
}

/* ─────────────────────────────────────────────────────────────────────────────
   PROCESS SECTION (off-white bg)
   ───────────────────────────────────────────────────────────────────────────── */
.process-section {
  padding: var(--section-pad);
  background-color: var(--off-white);
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
  margin-top: 64px;
}

.process-steps::before {
  content: '';
  position: absolute;
  top: 40px;
  left: calc(12.5%);
  right: calc(12.5%);
  height: 1px;
  background: linear-gradient(to right, var(--gold), var(--gold-light), var(--gold));
  z-index: 0;
}

.process-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 20px;
  position: relative;
  z-index: 1;
}

.step-badge {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  border: 1px solid var(--gray-line);
  background-color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 28px;
  transition: all 0.3s ease;
}

.process-step:hover .step-badge {
  background-color: var(--gold);
  border-color: var(--gold);
}

.step-numeral {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
  color: var(--navy);
  transition: color 0.3s ease;
}

.process-step:hover .step-numeral {
  color: var(--navy-deep);
}

.step-title {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 400;
  color: var(--navy);
  margin-bottom: 12px;
}

.step-desc {
  font-size: 14px;
  color: var(--gray-text);
  line-height: 1.65;
}

/* ─────────────────────────────────────────────────────────────────────────────
   TESTIMONIAL (navy bg)
   ───────────────────────────────────────────────────────────────────────────── */
.testimonial-section {
  padding: var(--section-pad);
  background-color: var(--navy);
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 80px;
  align-items: center;
}

.testimonial-firm {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.firm-logo-placeholder {
  width: 80px;
  height: 80px;
  background-color: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
}

.firm-name {
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
  font-weight: 500;
}

.firm-detail {
  color: rgba(255, 255, 255, 0.4);
  font-size: 12px;
}

.testimonial-quote {
  position: relative;
}

.quote-mark {
  display: block;
  font-family: var(--font-display);
  font-size: 120px;
  color: var(--gold);
  opacity: 0.3;
  line-height: 0.8;
  margin-bottom: 16px;
  font-weight: 300;
}

.quote-text {
  font-family: var(--font-display);
  font-size: clamp(20px, 2.5vw, 28px);
  font-weight: 300;
  font-style: italic;
  color: var(--white);
  line-height: 1.55;
  margin-bottom: 28px;
}

.quote-attr {
  color: rgba(255, 255, 255, 0.5);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.06em;
}

/* ─────────────────────────────────────────────────────────────────────────────
   INTELLIGENCE PREVIEW (off-white bg)
   ───────────────────────────────────────────────────────────────────────────── */
.intel-preview-section {
  padding: var(--section-pad);
  background-color: var(--off-white);
}

.intel-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 48px;
}

.intel-view-all {
  color: var(--gold);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.05em;
  transition: text-decoration var(--transition);
}

.intel-view-all:hover {
  text-decoration: underline;
}

.intel-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 2px;
  background-color: var(--gray-line);
}

.intel-card {
  background-color: var(--white);
  padding: 32px;
  display: flex;
  flex-direction: column;
  transition: all 0.3s ease;
}

.intel-card:hover {
  background-color: var(--gold-pale);
}

.intel-card.featured {
  background-color: var(--navy);
  color: var(--white);
}

.intel-card.featured:hover {
  background-color: #112647;
}

.card-category {
  display: inline-block;
  padding: 4px 12px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  border-radius: 20px;
  background-color: rgba(200, 164, 93, 0.12);
  color: var(--gold);
  margin-bottom: 16px;
  align-self: flex-start;
}

.card-date {
  font-size: 12px;
  color: var(--gray-muted);
  margin-bottom: 12px;
}

.intel-card.featured .card-date {
  color: rgba(255, 255, 255, 0.45);
}

.card-title {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 400;
  color: var(--navy);
  margin-bottom: 12px;
  line-height: 1.25;
}

.intel-card.featured .card-title {
  font-size: 28px;
  color: var(--white);
}

.card-excerpt {
  font-size: 14px;
  color: var(--gray-text);
  line-height: 1.65;
  margin-bottom: 20px;
}

.intel-card.featured .card-excerpt {
  color: rgba(255, 255, 255, 0.65);
}

.card-source {
  font-size: 12px;
  color: var(--gray-muted);
  margin-bottom: auto;
}

.intel-card.featured .card-source {
  color: rgba(255, 255, 255, 0.4);
}

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 500;
  color: var(--gold);
  letter-spacing: 0.03em;
  margin-top: 20px;
  transition: gap var(--transition);
}

.card-link:hover {
  gap: 10px;
}

/* ─────────────────────────────────────────────────────────────────────────────
   CTA BAND (gold bg)
   ───────────────────────────────────────────────────────────────────────────── */
.cta-band {
  padding: 72px 56px;
  background-color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.cta-band h2 {
  font-family: var(--font-display);
  font-size: clamp(28px, 3vw, 44px);
  font-weight: 300;
  color: var(--navy-deep);
  max-width: 560px;
  line-height: 1.15;
}

.cta-band-right {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: flex-start;
  flex-shrink: 0;
}

.cta-band p {
  color: rgba(11, 31, 58, 0.7);
  font-size: 15px;
  max-width: 340px;
}

.cta-band .btn {
  background-color: var(--navy-deep);
  color: var(--white);
  border: none;
}

.cta-band .btn:hover {
  background-color: var(--navy);
  color: var(--white);
}

/* ─────────────────────────────────────────────────────────────────────────────
   FOOTER (navy deep bg)
   ───────────────────────────────────────────────────────────────────────────── */
footer {
  background-color: var(--navy-deep);
  color: var(--white);
  padding: 72px 56px 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 56px;
  padding-bottom: 56px;
}

.footer-brand .footer-logo img {
  height: 32px;
  filter: brightness(10) opacity(0.55);
}

.footer-tagline {
  color: rgba(255, 255, 255, 0.45);
  font-size: 13px;
  margin-top: 12px;
  line-height: 1.6;
}

.footer-offices {
  color: rgba(255, 255, 255, 0.3);
  font-size: 12px;
  letter-spacing: 0.08em;
  margin-top: 24px;
  line-height: 1.8;
}

.footer-col h4 {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col ul li a {
  color: rgba(255, 255, 255, 0.5);
  font-size: 14px;
  transition: color var(--transition);
}

.footer-col ul li a:hover {
  color: var(--white);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 24px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-copyright {
  color: rgba(255, 255, 255, 0.3);
  font-size: 12px;
}

.footer-legal {
  display: flex;
  gap: 24px;
}

.footer-legal a {
  color: rgba(255, 255, 255, 0.3);
  font-size: 12px;
  transition: color var(--transition);
}

.footer-legal a:hover {
  color: var(--white);
}

/* ─────────────────────────────────────────────────────────────────────────────
   RESPONSIVE
   ───────────────────────────────────────────────────────────────────────────── */
@media (max-width: 1024px) {
  /* Tech grid: 3 columns */
  .tech-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  /* Pillars: 2 columns */
  .pillars-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Services preview: single column */
  .services-preview {
    grid-template-columns: 1fr;
    gap: 56px;
  }

  /* Sectors: 3 columns */
  .sectors-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  /* Testimonial: single column */
  .testimonial-section {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  /* Intel grid: 2 columns, featured spans full width */
  .intel-grid {
    grid-template-columns: 1fr 1fr;
  }

  .intel-card.featured {
    grid-column: 1 / -1;
  }

  /* Footer: 2 columns */
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  /* Tech grid: 2 columns */
  .tech-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Pillars: 1 column */
  .pillars-grid {
    grid-template-columns: 1fr;
  }

  /* Sectors: 2 columns */
  .sectors-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Process: vertical stack */
  .process-steps {
    grid-template-columns: 1fr;
  }

  .process-steps::before {
    top: 0;
    bottom: 0;
    left: 40px;
    right: auto;
    width: 1px;
    height: auto;
    background: linear-gradient(to bottom, var(--gold), var(--gold-light), var(--gold));
  }

  .process-step {
    flex-direction: row;
    text-align: left;
    align-items: flex-start;
    gap: 24px;
    padding: 0 0 40px 0;
  }

  .step-badge {
    flex-shrink: 0;
    margin-bottom: 0;
  }

  /* Intel grid: 1 column */
  .intel-grid {
    grid-template-columns: 1fr;
  }

  /* CTA band: stacked */
  .cta-band {
    flex-direction: column;
    padding: 56px 24px;
    gap: 32px;
  }

  /* Footer: 1 column */
  footer {
    padding: 48px 24px 0;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }

  /* Sectors padding */
  .sectors-section {
    padding: 56px 24px;
  }
}
