/* ============================================================
   OnyxAnchor Custom WordPress Theme — inner-pages.css
   Styles for About, Services, Contact inner pages + Page Hero
   ============================================================ */

/* ── Inner Page Shell ── */
.page-shell {
  position: relative;
  background: #050505;
  color: #fff;
  overflow-x: clip;
}

/* ── Page Hero (Banner) — shared across all inner pages ── */
.page-hero {
  position: relative;
  min-height: 78vh;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
}

.page-hero-bg {
  position: absolute;
  inset: 0;
}
.page-hero-bg img {
  height: 100%;
  width: 100%;
  object-fit: cover;
  object-position: center;
}
.page-hero-bg-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.80), rgba(0,0,0,0.55), #050505);
}
.page-hero-grid {
  position: absolute;
  inset: 0;
  opacity: 0.15;
}
.page-hero-orb {
  position: absolute;
  top: -8rem;
  right: -8rem;
  height: 32.5rem;
  width: 32.5rem;
  border-radius: 50%;
  background: rgba(200,166,74,0.10);
  filter: blur(3rem);
}
.page-hero-bottom-line {
  position: absolute;
  bottom: 0;
  inset-x: 0;
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(201,166,70,0.4), transparent);
}

.page-hero-content {
  position: relative;
  z-index: 10;
  max-width: 80rem;
  width: 100%;
  margin-inline: auto;
  padding: 10rem 1.25rem 5rem;
}
@media (min-width: 768px) {
  .page-hero-content { padding: 10rem 2rem 7rem; }
}

.page-hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.page-hero-eyebrow-line {
  height: 1px;
  width: 2.5rem;
  background: var(--gold);
  flex-shrink: 0;
}

.page-hero-h1 {
  margin-top: 1.5rem;
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.05;
  max-width: 62.5rem;
  font-size: clamp(2rem, 7vw, 2.6rem);
}
@media (min-width: 640px) { .page-hero-h1 { font-size: 3rem; } }
@media (min-width: 768px) { .page-hero-h1 { font-size: 3.75rem; } }
@media (min-width: 1024px) { .page-hero-h1 { font-size: 5rem; } }

.page-hero-subtitle {
  margin-top: 1.5rem;
  max-width: 42rem;
  font-size: 1rem;
  color: rgba(255,255,255,0.70);
  line-height: 1.65;
  animation: fadeIn 0.8s ease 0.7s both;
}
@media (min-width: 768px) { .page-hero-subtitle { font-size: 1.125rem; } }

.page-hero-cta {
  margin-top: 2.5rem;
  animation: fadeInUp 0.7s ease 0.9s both;
}

/* ── Inner Page Sections ── */
.inner-section {
  position: relative;
  padding: 6rem 1.25rem;
}
@media (min-width: 768px) { .inner-section { padding: 8rem 2rem; } }

.inner-section-container {
  max-width: 80rem;
  margin-inline: auto;
}

.inner-section-border {
  border-top: 1px solid rgba(201,166,70,0.15);
}

/* ── Gold Border Grid Pattern — used in many section grids ── */
/* Creates gold 1px lines between grid cells */
.gold-border-grid {
  display: grid;
  gap: 1px;
  background: rgba(201,166,70,0.15);
}
.gold-border-grid > * {
  background: #070707;
  min-height: 0;
}

/* ── Inner Page Section Label ── */
.inner-section-label {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.inner-section-label-line {
  height: 1px;
  width: 2.5rem;
  background: var(--gold);
  flex-shrink: 0;
}

/* ── Inner Section Headings ── */
.inner-h2 {
  margin-top: 1.25rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.5rem, 5vw, 3rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.inner-para {
  margin-top: 1.5rem;
  color: rgba(255,255,255,0.65);
  line-height: 1.65;
}
.inner-para-lg {
  margin-top: 1.5rem;
  color: rgba(255,255,255,0.70);
  line-height: 1.65;
  font-size: 1.125rem;
}

/* ── ABOUT PAGE ── */

/* Story Section */
.about-story-grid {
  display: grid;
  gap: 2.5rem;
}
@media (min-width: 1024px) {
  .about-story-grid { grid-template-columns: 1fr 1fr; align-items: stretch; gap: 3.5rem; }
}

.about-story-left {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.about-story-list {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.about-story-list-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  color: rgba(255,255,255,0.80);
}
.about-story-list-item-icon {
  color: var(--gold);
  flex-shrink: 0;
  margin-top: 0.125rem;
}
.about-story-list-item-icon svg { width: 1.25rem; height: 1.25rem; }

.about-story-image-col {
  position: relative;
  min-height: 280px;
}
@media (min-width: 640px) { .about-story-image-col { min-height: 340px; } }

.about-story-image-wrap {
  position: relative;
  height: 100%;
  min-height: 280px;
  overflow: hidden;
  border: 1px solid rgba(201,166,70,0.25);
  background: #0a0a0a;
}
@media (min-width: 640px) { .about-story-image-wrap { min-height: 340px; } }
@media (min-width: 1024px) {
  .about-story-image-col { position: relative; }
  .about-story-image-wrap {
    position: absolute;
    inset: 0;
    min-height: unset;
    height: 100%;
  }
}

.about-story-image-wrap img {
  position: absolute;
  inset: 0;
  height: 100%;
  width: 100%;
  object-fit: cover;
  object-position: center;
}
.about-story-image-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.55), rgba(0,0,0,0.15), rgba(0,0,0,0.05));
  pointer-events: none;
}
.about-story-image-ring {
  position: absolute;
  inset: 0;
  box-shadow: inset 0 0 0 1px rgba(201,166,70,0.15);
  pointer-events: none;
}
.about-story-image-bottom-line {
  position: absolute;
  bottom: 0;
  inset-x: 0;
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(201,166,70,0.4), transparent);
  pointer-events: none;
}
.about-story-image-badge {
  position: absolute;
  top: 1.25rem;
  left: 1.25rem;
  border: 1px solid rgba(201,166,70,0.3);
  padding: 0.375rem 0.75rem;
  font-size: 0.5625rem;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  color: var(--gold);
  font-family: var(--font-display);
  pointer-events: none;
}

/* Values Grid — Mission / Vision / Values */
.values-section {
  position: relative;
  border-top: 1px solid rgba(201,166,70,0.15);
}
.values-section-radial {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(60% 50% at 50% 0%, rgba(201,166,70,0.18), transparent 70%);
}

.values-grid {
  margin-top: 3.5rem;
  display: grid;
  gap: 1px;
  background: rgba(201,166,70,0.15);
}
@media (min-width: 768px) { .values-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .values-grid { grid-template-columns: repeat(4, 1fr); } }

.values-card {
  background: #070707;
  height: 100%;
  padding: 2rem 2.5rem;
  transition: background 0.3s ease;
}
.values-card:hover { background: #0a0a0a; }
@media (min-width: 768px) { .values-card { padding: 2.5rem; } }

.values-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.values-card-icon { color: var(--gold); }
.values-card-icon svg { width: 1.75rem; height: 1.75rem; }
.values-card-seq {
  font-family: "Courier New", monospace;
  font-size: 0.625rem;
  letter-spacing: 0.3em;
  color: rgba(255,255,255,0.30);
}
.values-card-h3 {
  margin-top: 2rem;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
}
.values-card-p {
  margin-top: 0.75rem;
  font-size: 0.875rem;
  color: rgba(255,255,255,0.60);
  line-height: 1.65;
}

/* Why Partners Choose Section */
.why-choose-grid {
  display: grid;
  gap: 3rem;
}
@media (min-width: 1024px) {
  .why-choose-grid {
    grid-template-columns: 5fr 7fr;
    gap: 3rem;
  }
}

.why-choose-blocks {
  display: grid;
  gap: 1px;
  background: rgba(201,166,70,0.15);
}
@media (min-width: 640px) { .why-choose-blocks { grid-template-columns: repeat(2, 1fr); } }

.why-choose-block {
  background: #070707;
  padding: 2rem;
  height: 100%;
}
.why-choose-block-h3 {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 600;
}
.why-choose-block-p {
  margin-top: 0.75rem;
  font-size: 0.875rem;
  color: rgba(255,255,255,0.60);
  line-height: 1.65;
}

/* About Process Preview Section */
.about-process-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.about-process-steps {
  position: relative;
  margin-top: 3.5rem;
}
.about-process-timeline-line {
  display: none;
}
@media (min-width: 768px) {
  .about-process-timeline-line {
    display: block;
    position: absolute;
    top: 1.75rem;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(to right, rgba(201,166,70,0), rgba(201,166,70,0.5), rgba(201,166,70,0));
  }
}

.about-process-grid {
  display: grid;
  gap: 2.5rem;
}
@media (min-width: 768px) { .about-process-grid { grid-template-columns: repeat(4, 1fr); } }

.about-process-step {}
.about-process-step-num {
  position: relative;
  display: inline-flex;
  height: 3.5rem;
  width: 3.5rem;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(201,166,70,0.5);
  background: #050505;
  font-family: "Courier New", monospace;
  color: var(--gold);
}
.about-process-step-h3 {
  margin-top: 1.5rem;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
}
.about-process-step-p {
  margin-top: 0.75rem;
  font-size: 0.875rem;
  color: rgba(255,255,255,0.60);
  line-height: 1.65;
}

/* ── SERVICES PAGE ── */

/* Overview Section */
.services-overview-grid {
  display: grid;
  gap: 2.5rem;
}
@media (min-width: 1024px) { .services-overview-grid { grid-template-columns: 5fr 7fr; gap: 3rem; } }

/* Core Services Card Grid */
.services-card-grid {
  margin-top: 3.5rem;
  display: grid;
  gap: 1px;
  background: rgba(201,166,70,0.15);
}
@media (min-width: 768px) { .services-card-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .services-card-grid { grid-template-columns: repeat(3, 1fr); } }

.services-card {
  position: relative;
  background: #070707;
  height: 100%;
  overflow: hidden;
  transition: none;
}
.services-card-image-wrap {
  position: relative;
  aspect-ratio: 16/10;
  overflow: hidden;
}
.services-card-image-wrap img {
  height: 100%;
  width: 100%;
  object-fit: cover;
  transition: transform 1.2s ease;
}
.services-card:hover .services-card-image-wrap img { transform: scale(1.05); }
.services-card-image-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, #070707, rgba(7,7,7,0.4), transparent);
}
.services-card-num {
  position: absolute;
  top: 1rem;
  left: 1rem;
  font-family: "Courier New", monospace;
  font-size: 0.625rem;
  letter-spacing: 0.3em;
  color: var(--gold);
}
.services-card-body { padding: 1.75rem; }
.services-card-title-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.services-card-icon { color: var(--gold); }
.services-card-icon svg { width: 1.25rem; height: 1.25rem; }
.services-card-h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
}
.services-card-p {
  margin-top: 0.75rem;
  font-size: 0.875rem;
  color: rgba(255,255,255,0.60);
  line-height: 1.65;
}
.services-card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1.25rem;
  font-size: 0.6875rem;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--gold);
  text-decoration: none;
  position: relative;
}
.services-card-link::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -6px;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: right center;
  transition: transform 0.45s cubic-bezier(0.7,0,0.2,1);
}
.services-card-link:hover::after {
  transform: scaleX(1);
  transform-origin: left center;
}
.services-card-link svg { width: 0.875rem; height: 0.875rem; }

/* Operational Benefits Grid */
.benefits-grid {
  margin-top: 3.5rem;
  display: grid;
  gap: 1.5rem;
}
@media (min-width: 640px) { .benefits-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .benefits-grid { grid-template-columns: repeat(4, 1fr); } }

.benefit-card {
  border: 1px solid rgba(201,166,70,0.20);
  background: #070707;
  padding: 1.75rem;
  height: 100%;
  transition: border-color 0.3s ease;
}
.benefit-card:hover { border-color: rgba(201,166,70,0.60); }
.benefit-num {
  font-family: "Courier New", monospace;
  font-size: 0.625rem;
  letter-spacing: 0.3em;
  color: var(--gold);
}
.benefit-h3 {
  margin-top: 1.25rem;
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 600;
}
.benefit-p {
  margin-top: 0.75rem;
  font-size: 0.875rem;
  color: rgba(255,255,255,0.60);
  line-height: 1.65;
}

/* Engagement Process Steps */
.engagement-steps-grid {
  margin-top: 3.5rem;
  display: grid;
  gap: 1px;
  background: rgba(201,166,70,0.15);
}
@media (min-width: 768px) { .engagement-steps-grid { grid-template-columns: repeat(5, 1fr); } }

.engagement-step {
  background: #070707;
  padding: 1.75rem;
  height: 100%;
}
.engagement-step-num {
  font-family: "Courier New", monospace;
  color: var(--gold);
}
.engagement-step-h3 {
  margin-top: 1rem;
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 600;
}
.engagement-step-p {
  margin-top: 0.5rem;
  font-size: 0.875rem;
  color: rgba(255,255,255,0.55);
  line-height: 1.65;
}

/* ── CONTACT PAGE ── */

/* Contact Details + Form Grid */
.contact-page-grid {
  display: grid;
  gap: 3rem;
}
@media (min-width: 1024px) { .contact-page-grid { grid-template-columns: 5fr 7fr; } }

/* Contact Info Stack */
.contact-info-stack {
  margin-top: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 1px;
  background: rgba(201,166,70,0.15);
}

.contact-info-row {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  background: #070707;
  padding: 1.5rem;
  text-decoration: none;
  color: inherit;
  transition: background 0.3s ease;
}
.contact-info-row:hover { background: #0c0c0c; }

.contact-info-icon-wrap {
  display: inline-flex;
  height: 2.75rem;
  width: 2.75rem;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(201,166,70,0.4);
  transition: border-color 0.3s ease;
}
.contact-info-row:hover .contact-info-icon-wrap { border-color: var(--gold); }
.contact-info-icon-wrap svg { width: 1rem; height: 1rem; color: var(--gold); }
.contact-info-label {
  font-family: var(--font-display);
  font-size: 0.625rem;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  color: var(--gold);
}
.contact-info-value {
  margin-top: 0.25rem;
  color: #fff;
}

/* Contact Page FAQ */
.contact-faq-list {
  margin-top: 3rem;
  border-top: 1px solid rgba(255,255,255,0.10);
  border-bottom: 1px solid rgba(255,255,255,0.10);
}
.contact-faq-item {
  border-bottom: 1px solid rgba(255,255,255,0.10);
}
.contact-faq-item:last-child { border-bottom: none; }

/* ── FINAL CTA SECTION — shared across pages ── */
.final-cta-section {
  position: relative;
  padding: 6rem 1.25rem;
}
@media (min-width: 768px) { .final-cta-section { padding: 8rem 2rem; } }

.final-cta-radial {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(60% 50% at 50% 0%, rgba(201,166,70,0.18), transparent 70%);
}
.final-cta-inner {
  position: relative;
  max-width: 64rem;
  margin-inline: auto;
  text-align: center;
}
.final-cta-h2 {
  margin-top: 1.5rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.5rem, 5vw, 3.75rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
}
.final-cta-p {
  margin-top: 1.5rem;
  color: rgba(255,255,255,0.65);
  max-width: 42rem;
  margin-inline: auto;
}
.final-cta-buttons {
  margin-top: 2.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

/* ── Dynamic Header/Footer specific ── */
.header-logo-dynamic {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  flex-shrink: 0;
}
.header-logo-dynamic img {
  height: 3rem;
  width: auto;
  transition: transform 0.5s ease;
}
@media (min-width: 768px) { .header-logo-dynamic img { height: 7rem; } }
.header-logo-dynamic:hover img { transform: scale(1.03); }

/* ── Responsive: inner page hero on small screens ── */
@media (max-width: 480px) {
  .page-hero { min-height: 65vh; }
  .page-hero-h1 { font-size: 1.75rem; }
}
