/* ========================================
   INNER PAGES SHARED CSS - inner-pages.css
   Shared by: about, services, operations,
   rig-fleet, blog, contact
   ======================================== */

/* ---- Inner Page Hero ---- */
.inner-hero {
  position: relative;
  min-height: 440px;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.inner-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.inner-hero-content {
  position: relative;
  z-index: 1;
  padding: 110px 24px 90px;
  width: 100%;
  max-width: 600px;
}
.inner-hero-content h1 {
  font-size: clamp(44px, 6vw, 72px);
  font-weight: 900;
  color: white;
  line-height: 1.05;
  margin-bottom: 16px;
}
.inner-hero-content p {
  font-size: 17px;
  color: rgba(255,255,255,0.8);
  line-height: 1.7;
  max-width: 480px;
}
/* Bottom-right rounded cutout matching live site */
.inner-hero-curve {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 120px;
  height: 120px;
  background: #f5f7fb;
  border-top-left-radius: 120px;
  z-index: 2;
}

/* ---- Operations page - how we work list ---- */
.ops-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.ops-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
  font-size: 15px;
  font-weight: 600;
  color: var(--text-dark);
}
.ops-item:last-child { border-bottom: none; }
.ops-check {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #3b82f6;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: white;
}
.ops-check svg { width: 12px; height: 12px; }
.ops-map-wrap {
  position: relative;
  background: #f0f2f7;
  border-radius: 16px;
  padding: 20px;
}
.ops-map-img {
  width: 100%;
  opacity: 0.45;
  filter: grayscale(30%);
}
.map-dot {
  position: absolute;
  width: 12px;
  height: 12px;
  background: var(--accent);
  border-radius: 50%;
  border: 2px solid white;
  box-shadow: 0 0 0 3px rgba(245,196,0,0.35);
}

/* ---- Rig Fleet v2 ---- */
.rig-v2-item {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 48px;
  align-items: start;
  background: white;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(0,0,0,0.07);
}
.rig-v2-img {
  overflow: hidden;
  height: 100%;
  min-height: 320px;
}
.rig-v2-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 320px;
}
.rig-v2-specs {
  padding: 36px 36px 36px 0;
}
.rig-v2-title {
  font-size: 28px;
  font-weight: 900;
  color: var(--text-dark);
  margin-bottom: 6px;
}
.rig-v2-model {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-mid);
  margin-bottom: 24px;
  letter-spacing: 1px;
}
.rig-v2-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13.5px;
}
.rig-v2-table th {
  background: var(--primary);
  color: white;
  padding: 10px 16px;
  text-align: left;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.5px;
}
.rig-v2-table td {
  padding: 10px 16px;
  border-bottom: 1px solid var(--border);
  color: var(--text-dark);
}
.rig-v2-table td:first-child { color: var(--text-mid); font-weight: 500; }
.rig-v2-table td:last-child { font-weight: 600; }
.rig-v2-table tr:nth-child(even) td { background: #f8fafc; }

/* ---- Blog page reuses insight-* from home.css ---- */
.insight-title { font-size: clamp(26px,3.5vw,40px); font-weight:800; color:var(--text-dark); }
.insight-header { display:flex; align-items:center; justify-content:space-between; }

/* ---- Join Us section (shared with about/careers) ---- */
.joinus-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.joinus-img-wrap {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
}
.joinus-quote-overlay {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: rgba(7,14,32,0.82);
  padding: 24px 28px 28px;
}
.joinus-quote-icon { color: var(--accent); margin-bottom: 10px; }
.joinus-quote-title { font-size:16px; font-weight:800; color:white; margin-bottom:8px; line-height:1.3; }
.joinus-quote-text { font-size:13px; color:rgba(255,255,255,0.7); line-height:1.65; }

/* ---- OSL (Our Services Light) – also used in services.html ---- */
.osl-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.osl-title { font-size:clamp(24px,3vw,38px); font-weight:800; color:var(--text-dark); line-height:1.2; margin-bottom:20px; margin-top:14px; }
.osl-desc { font-size:14px; color:var(--text-mid); line-height:1.8; margin-bottom:32px; }
.osl-list { display:flex; flex-direction:column; gap:0; }
.osl-item { display:flex; align-items:flex-start; gap:16px; padding:18px 0; border-bottom:1px solid var(--border); }
.osl-item:last-child { border-bottom:none; }
.osl-item-icon { width:52px; height:52px; background:var(--accent); border-radius:10px; display:flex; align-items:center; justify-content:center; flex-shrink:0; color:var(--primary); }
.osl-item-icon svg { width:24px; height:24px; }
.osl-item-title { font-size:16px; font-weight:700; color:var(--text-dark); margin-bottom:4px; }
.osl-item-desc { font-size:13px; color:var(--text-mid); line-height:1.6; }
.osl-imgs { display:flex; flex-direction:column; gap:16px; height:520px; }
.osl-img-top { flex:3; border-radius:14px; overflow:hidden; }
.osl-img-top img { width:100%; height:100%; object-fit:cover; }
.osl-img-bottom { flex:2; border-radius:14px; overflow:hidden; }
.osl-img-bottom img { width:100%; height:100%; object-fit:cover; }

/* ---- RESPONSIVE ---- */
@media (max-width: 1024px) {
  .rig-v2-item { grid-template-columns: 1fr; }
  .rig-v2-specs { padding: 28px; }
  .joinus-grid { grid-template-columns: 1fr; }
  .osl-grid { grid-template-columns: 1fr; }
  .how-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .inner-hero-content { padding: 80px 16px 70px; }
  .inner-hero-curve { display: none; }
  .rig-v2-img { min-height: 200px; }
  .rig-v2-img img { min-height: 200px; }
}
