/* ============================================================
   GEOVENTURES — Internal pages premium layer
   ============================================================ */

.page-header {
  min-height: 440px;
  display: flex;
  align-items: center;
}

.page-header::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(0,13,36,0.82) 0%, rgba(0,30,79,0.68) 48%, rgba(0,13,36,0.45) 100%),
    radial-gradient(ellipse at 78% 18%, rgba(201,148,63,0.18) 0%, transparent 42%);
  z-index: 1;
  pointer-events: none;
}

.page-header::before {
  z-index: 2;
  opacity: 0.9;
}

.page-header-bg {
  opacity: 0.44;
  filter: saturate(0.95) contrast(1.08);
}

.page-header .container {
  max-width: var(--max-w);
}

.page-header h1 {
  max-width: 880px;
}

.page-header p {
  max-width: 760px;
}

.page-header__eyebrow {
  text-shadow: 0 10px 30px rgba(0,0,0,0.35);
}

.breadcrumb {
  backdrop-filter: blur(14px);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.08);
}

.section:not(.section--blue):not(.cta-band) {
  position: relative;
}

.section:not(.section--blue):not(.cta-band)::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0,30,79,0.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,30,79,0.028) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
}

.section:not(.section--blue):not(.cta-band) .container {
  position: relative;
  z-index: 1;
}

.section--light {
  background:
    radial-gradient(ellipse at 12% 0%, rgba(201,148,63,0.12), transparent 36%),
    linear-gradient(180deg, var(--off-white), var(--white));
}

.internal-section-header {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
  gap: 3rem;
  align-items: end;
  margin-bottom: 2.75rem;
}

.internal-section-header p {
  color: var(--text-secondary);
  font-size: var(--body-lg);
  line-height: 1.8;
  max-width: 480px;
}

.btn-primary {
  background: var(--grad-gold);
  color: var(--white);
  box-shadow: var(--shadow-gold);
}

.btn-primary::before {
  background: rgba(255,255,255,0.12);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(201,148,63,0.42);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,0.42);
}

.btn-outline::before {
  background: rgba(255,255,255,0.08);
}

.btn-outline:hover {
  color: var(--white);
  border-color: var(--gold);
  transform: translateY(-2px);
}

/* Services */
.service-intro-grid {
  gap: clamp(2.5rem, 5vw, 5rem);
}

.service-intro-grid > .reveal-left {
  max-width: 650px;
}

.service-intro-grid p {
  color: var(--text-secondary);
  font-size: var(--body-lg);
  line-height: 1.85;
}

.service-photo,
.about-photo-main,
.about-photo-secondary {
  position: relative;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  box-shadow: var(--shadow-xl);
  border: 1px solid rgba(255,255,255,0.35);
}

.service-photo::after,
.about-photo-main::after,
.about-photo-secondary::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(0,13,36,0.05), rgba(0,13,36,0.54)),
    radial-gradient(ellipse at 82% 18%, rgba(201,148,63,0.28), transparent 44%);
}

.service-photo span,
.about-photo-main span,
.about-photo-secondary span {
  display: none;
}

.page-mining .service-photo { background-image: url('../assets/mining_exploration.png'); }
.page-geo .service-photo { background-image: url('../assets/gis_mapping.png'); }
.page-engineering .service-photo { background-image: url('../assets/civil_engineering.png'); }
.page-about .about-photo-main { background-image: url('../assets/field_team_congolese.png'); }
.page-about .about-photo-secondary { background-image: url('../assets/mining_exploration.png'); }

.service-intro-visual::before {
  content: '';
  position: absolute;
  top: -1.25rem;
  right: -1.25rem;
  width: 44%;
  height: 52%;
  border: 1px solid rgba(201,148,63,0.35);
  border-radius: var(--r-lg);
  z-index: -1;
}

.feature-list {
  display: grid;
  gap: 1rem;
}

.feature-item {
  background: rgba(255,255,255,0.82);
  border: 1px solid rgba(0,30,79,0.08);
  border-radius: var(--r-md);
  padding: 1.35rem;
  box-shadow: var(--shadow-xs);
  backdrop-filter: blur(10px);
  transition: transform var(--t-base), box-shadow var(--t-base), border-color var(--t-base);
}

.feature-item:hover {
  transform: translateY(-4px);
  border-color: rgba(201,148,63,0.38);
  box-shadow: var(--shadow-md);
}

.feature-icon {
  background: rgba(201,148,63,0.12);
  color: var(--gold);
  border-radius: var(--r-sm);
}

.feature-content h4 {
  color: var(--navy);
  font-family: var(--f-heading);
}

.feature-content p {
  color: var(--text-secondary);
}

.section--blue {
  background:
    radial-gradient(ellipse at 75% 20%, rgba(201,148,63,0.18), transparent 42%),
    var(--grad-navy);
}

.section--blue .section-eyebrow,
.section--blue .eyebrow {
  color: var(--gold);
}

.section--blue .section-title,
.section--blue .section-title--white,
.section--blue h2 {
  color: var(--white);
}

.section--blue .section-desc,
.section--blue .section-desc--white,
.section--blue p {
  color: rgba(255,255,255,0.76);
}

.section--blue .gold-line {
  background: var(--grad-gold);
  opacity: 1;
}

.section--blue .value-card {
  background:
    linear-gradient(145deg, rgba(255,255,255,0.13), rgba(255,255,255,0.045)),
    radial-gradient(ellipse at 20% 0%, rgba(201,148,63,0.16), transparent 48%);
  border: 1px solid rgba(255,255,255,0.18);
  box-shadow: 0 18px 46px rgba(0,0,0,0.18);
  backdrop-filter: blur(14px);
}

.section--blue .value-card h3 {
  color: var(--white) !important;
}

.section--blue .value-card p {
  color: rgba(255,255,255,0.72);
}

.section--blue .value-card:nth-child(2) {
  background:
    linear-gradient(145deg, rgba(18,73,119,0.92), rgba(0,30,79,0.62)),
    radial-gradient(ellipse at 85% 0%, rgba(201,148,63,0.18), transparent 46%);
}

.section--blue .value-card:nth-child(3) {
  background:
    linear-gradient(145deg, rgba(109,65,0,0.72), rgba(0,30,79,0.72)),
    radial-gradient(ellipse at 20% 0%, rgba(212,165,90,0.24), transparent 48%);
}

.page-mining .section--blue .value-card .compliance-title {
  color: #7eaaff !important;
}

/* About */
.section-header {
  margin-bottom: clamp(2.75rem, 5vw, 4rem);
}

.section-header .section-title {
  margin-bottom: 0.85rem;
}

.section-header + .grid,
.section-header + .grid-3,
.section-header + .grid-4 {
  margin-top: 0.5rem;
}

.value-card-light,
.team-card {
  border-radius: var(--r-md);
  border: 1px solid rgba(0,30,79,0.08);
  box-shadow: var(--shadow-xs);
  transition: transform var(--t-base), box-shadow var(--t-base), border-color var(--t-base);
}

.value-card-light:hover,
.team-card:hover {
  transform: translateY(-5px);
  border-color: rgba(201,148,63,0.35);
  box-shadow: var(--shadow-lg);
}

.page-about .value-card-light {
  position: relative;
  overflow: hidden;
  min-height: 340px;
  padding: 3rem 2rem;
  background:
    linear-gradient(145deg, #001e4f 0%, #0a3580 100%),
    radial-gradient(ellipse at 85% 0%, rgba(201,148,63,0.26), transparent 46%);
  border: 1px solid rgba(255,255,255,0.16);
  border-top: 4px solid var(--gold);
  color: var(--white);
}

.page-about .value-card-light:nth-child(2) {
  background:
    linear-gradient(145deg, #064b72 0%, #001e4f 100%),
    radial-gradient(ellipse at 15% 0%, rgba(126,170,255,0.22), transparent 48%);
}

.page-about .value-card-light:nth-child(3) {
  background:
    linear-gradient(145deg, #6d4100 0%, #001e4f 88%),
    radial-gradient(ellipse at 80% 0%, rgba(212,165,90,0.24), transparent 45%);
}

.page-about .value-card-light h3,
.page-about .value-card-light p,
.page-about .value-card-light strong {
  color: var(--white);
}

.page-about .value-card-light p {
  opacity: 0.84;
}

.page-about .value-card-light .value-icon-flat {
  background: rgba(255,255,255,0.11);
  color: var(--gold);
  border: 1px solid rgba(255,255,255,0.12);
}

.page-about .team-card {
  position: relative;
  overflow: hidden;
  min-height: 250px;
  border: 1px solid rgba(0,30,79,0.1);
  background:
    linear-gradient(145deg, rgba(0,30,79,0.96), rgba(0,42,110,0.88)),
    radial-gradient(ellipse at 80% 0%, rgba(201,148,63,0.18), transparent 48%);
  color: var(--white);
}

.page-about .team-card:nth-child(2) {
  background: linear-gradient(145deg, #0a3580, #002a6e);
}

.page-about .team-card:nth-child(3) {
  background: linear-gradient(145deg, #6d4100, #002a6e 82%);
}

.page-about .team-card:nth-child(4) {
  background: linear-gradient(145deg, #0d1117, #001e4f);
}

.page-about .team-card h4,
.page-about .team-card .team-role {
  color: var(--white);
}

.page-about .team-card .team-role {
  color: var(--gold);
}

.page-about .team-photo {
  width: 64px;
  height: 64px;
  margin: 0 auto 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--r-sm);
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.14);
  color: var(--gold);
}

.page-about .team-photo svg {
  width: 34px;
  height: 34px;
}

.value-icon-flat {
  border-radius: var(--r-sm);
  color: var(--navy);
}

.about-history-grid > .reveal-right {
  position: relative;
}

.about-history-grid > .reveal-right::before {
  content: '';
  position: absolute;
  left: -1.5rem;
  bottom: 1.25rem;
  width: 52%;
  height: 42%;
  border-radius: var(--r-lg);
  background: var(--navy);
  z-index: -1;
}

.timeline-item {
  background: rgba(255,255,255,0.78);
  border: 1px solid rgba(0,30,79,0.08);
  border-radius: var(--r-md);
  padding: 1.25rem 1.25rem 1.25rem 2rem;
  box-shadow: var(--shadow-xs);
}

/* Projects */
.projects-page-section {
  background:
    radial-gradient(ellipse at 10% 0%, rgba(201,148,63,0.12), transparent 34%),
    linear-gradient(180deg, var(--white), var(--off-white));
}

.internal-filter-bar {
  justify-content: flex-start;
  margin-bottom: 2.25rem;
}

.page-projects .grid-3 {
  gap: 1.5rem;
}

.project-card {
  position: relative;
  overflow: hidden;
  min-height: 430px;
  border-radius: var(--r-md);
  background: var(--navy);
  box-shadow: var(--shadow-xs);
  transition: transform var(--t-base), box-shadow var(--t-base);
}

.project-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.project-placeholder {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 0.7s var(--ease-out);
}

.project-card:hover .project-placeholder {
  transform: scale(1.05);
}

.project-placeholder svg,
.project-placeholder span {
  display: none;
}

.project-card-wrapper:nth-child(1) .project-placeholder,
.project-card-wrapper:nth-child(5) .project-placeholder {
  background-image: url('../assets/mining_exploration.png');
}

.project-card-wrapper:nth-child(2) .project-placeholder,
.project-card-wrapper:nth-child(4) .project-placeholder {
  background-image: url('../assets/gis_mapping.png');
}

.project-card-wrapper:nth-child(3) .project-placeholder,
.project-card-wrapper:nth-child(6) .project-placeholder,
.project-card-wrapper:nth-child(9) .project-placeholder {
  background-image: url('../assets/civil_engineering.png');
}

.project-card-wrapper:nth-child(7) .project-placeholder {
  background-image: url('../assets/mining_exploration.png');
}

.project-card-wrapper:nth-child(8) .project-placeholder {
  background-image: url('../assets/field_team_congolese.png');
}

.project-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(0,13,36,0.92) 0%, rgba(0,13,36,0.48) 58%, rgba(0,13,36,0.12) 100%);
}

.project-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  padding: 1.6rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.project-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.55rem;
}

.project-category {
  font-family: var(--f-sub);
  font-size: var(--label);
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
}

.project-status {
  flex: 0 0 auto;
  border: 1px solid rgba(255,255,255,0.24);
  border-radius: 999px;
  padding: 0.32rem 0.58rem;
  background: rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.88);
  font-family: var(--f-sub);
  font-size: 0.63rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.project-status--progress {
  border-color: rgba(201,148,63,0.45);
  background: rgba(201,148,63,0.18);
  color: #ffe1ad;
}

.project-status--audit,
.project-status--study {
  border-color: rgba(126,170,255,0.38);
  background: rgba(126,170,255,0.16);
  color: #dbe7ff;
}

.project-title {
  font-family: var(--f-heading);
  font-size: 1.08rem;
  font-weight: 800;
  line-height: 1.35;
  color: var(--white);
  margin-bottom: 0.55rem;
}

.project-location {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  color: rgba(255,255,255,0.66);
  font-family: var(--f-sub);
  font-size: var(--label);
  font-weight: 600;
}

.project-summary {
  margin-top: 0.85rem;
  color: rgba(255,255,255,0.78);
  font-size: 0.92rem;
  line-height: 1.62;
}

.project-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.05rem;
}

.project-facts span {
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: 999px;
  padding: 0.42rem 0.62rem;
  background: rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.88);
  font-family: var(--f-sub);
  font-size: 0.68rem;
  font-weight: 700;
}

/* Contact */
.contact-page-section {
  background:
    radial-gradient(ellipse at 15% 0%, rgba(201,148,63,0.12), transparent 36%),
    linear-gradient(180deg, var(--white), var(--off-white));
}

.contact-grid {
  gap: clamp(2.5rem, 5vw, 5rem);
}

.contact-info-title,
.contact-form-title {
  font-family: var(--f-heading);
  font-size: var(--h3);
  color: var(--navy);
}

.contact-info-item {
  background: rgba(255,255,255,0.82);
  border: 1px solid rgba(0,30,79,0.08);
  border-left: 3px solid transparent;
  border-radius: var(--r-md);
  box-shadow: var(--shadow-xs);
  backdrop-filter: blur(10px);
}

.contact-info-item:hover {
  border-left-color: var(--gold);
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

.contact-info-icon {
  background: rgba(201,148,63,0.12);
  border-radius: var(--r-sm);
  color: var(--gold);
}

.contact-info-label,
.form-label {
  font-family: var(--f-sub);
  font-size: var(--label);
}

.contact-info-val,
.contact-form-desc,
.contact-form-note {
  color: var(--text-secondary);
  font-size: var(--body-sm);
}

.contact-link {
  color: var(--navy);
}

.contact-form-card {
  border-radius: var(--r-md);
  border: 1px solid rgba(0,30,79,0.08);
  border-top: 4px solid var(--gold);
  box-shadow: var(--shadow-xl);
}

.form-control {
  width: 100%;
  min-height: 46px;
  padding: 0.85rem 1rem;
  border-radius: var(--r-sm);
  border: 1.5px solid var(--border);
  background: rgba(255,255,255,0.92);
  color: var(--text-primary);
  font-size: var(--body-sm);
  transition: border-color var(--t-fast), box-shadow var(--t-fast), background var(--t-fast);
}

textarea.form-control {
  min-height: 150px;
  resize: vertical;
}

.form-control:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 4px rgba(201,148,63,0.12);
  outline: none;
}

.required {
  color: var(--gold);
}

.hp-field {
  position: absolute !important;
  left: -10000px !important;
  top: auto !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

.map-container {
  overflow: hidden;
  border-radius: var(--r-md);
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(0,30,79,0.08);
}

@media (max-width: 1024px) {
  .internal-section-header {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .page-projects .grid-3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .reveal-left,
  .reveal-right {
    transform: translateY(24px);
  }

  .reveal-left.in,
  .reveal-right.in {
    transform: translateY(0);
  }

  .page-header {
    min-height: 380px;
    padding: calc(var(--header-h) + 3rem) 0 3.25rem;
  }

  .internal-filter-bar {
    justify-content: flex-start;
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-bottom: 0.25rem;
  }

  .internal-filter-bar .filter-btn {
    white-space: nowrap;
  }

  .page-projects .grid-3 {
    grid-template-columns: 1fr;
  }

  .project-card {
    min-height: 420px;
  }

  .project-overlay {
    padding: 1.25rem;
  }

  .project-topline {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.55rem;
  }

  .contact-grid,
  .contact-info-col,
  .contact-form-col,
  .contact-info-list,
  .contact-info-item,
  .contact-form-card,
  .map-container {
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }
}
