/**
 * Octopus KSA — Luxury Subpages Stylesheet
 * Completely aligns all internal pages with the flagship homepage design system.
 * Palette: Pure White, Paper (#F8FAFC), Obsidian Navy (#0F172A), Signature Orange (#FF5722), Electric Cyan (#0284C7), Medical Emerald (#10B981).
 * RTL-first, responsive, zero-layout-shift.
 */

/* ==========================================================================
   0. ROOT CONTAINER & LAYOUT NORMALIZATION
   ========================================================================== */
/* Zero-out parent container margins & paddings from Astra / WordPress */
html,
body,
#page,
.site,
#content,
.site-content,
.ast-container,
.ast-plain-container,
.ast-separate-container,
#primary,
main#primary,
.site-main,
.content-area,
.ast-separate-container #primary {
  margin: 0 !important;
  margin-top: 0 !important;
  margin-block: 0 !important;
  padding: 0 !important;
  padding-top: 0 !important;
  padding-block: 0 !important;
  border: none !important;
}

/* Prevent horizontal scroll / sideways drift on touch screens */
html,
body {
  overflow-x: clip !important;
  max-width: 100vw !important;
  width: 100% !important;
  position: relative;
}

.oct-subpage-hero,
.site-main,
#primary,
#page {
  overflow-x: clip !important;
  max-width: 100vw !important;
}

/* ==========================================================================
   1. UNIVERSAL SUBPAGE HERO COMPONENT
   ========================================================================== */
.oct-subpage-hero {
  position: relative !important;
  top: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  width: 100% !important;
  background-color: #0A1120 !important;
  /* Unified height across all internal subpages */
  min-height: 440px;
  height: auto !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  box-sizing: border-box;
  overflow: hidden !important;
  isolation: isolate;
  border-block-end: none !important;
  z-index: 10;
  --oct-hero-wave-fill: #F8FAFC;
  text-align: center !important;
}

/* Ensure floating header accounts for WordPress Admin Bar when logged in */
body.admin-bar .oct-header.oct-glass-header {
  top: calc(46px + 0.75rem) !important;
}
@media (min-width: 783px) {
  body.admin-bar .oct-header.oct-glass-header {
    top: calc(32px + 1.25rem) !important;
  }
}

/* Subpage hero container clearance for admin bar */
body.admin-bar .oct-subpage-hero .oct-container {
  padding-top: calc(46px + clamp(5.75rem, 14vh, 7.25rem)) !important;
}
@media (min-width: 783px) {
  body.admin-bar .oct-subpage-hero .oct-container {
    padding-top: calc(32px + clamp(6.5rem, 13vh, 8.5rem)) !important;
  }
}

/* Projects archive hero wave fill */
.oct-projects-archive-hero,
.oct-projects-archive .oct-subpage-hero,
.post-type-archive-project .oct-subpage-hero {
  --oct-hero-wave-fill: #0A192F;
}

/* Authentic Saudi Heritage Pattern Backdrop - FILLS HERO UNIFORMLY (INVERTED LUMINOUS EMBROIDERY) */
.oct-subpage-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background-image: url('../images/saudi-naqoosh-bg.webp');
  background-size: 650px auto;
  background-position: center center;
  background-repeat: repeat;
  filter: invert(1);
  mix-blend-mode: screen;
  opacity: 0.14;
  pointer-events: none;
  z-index: 1;
}

/* Dual Brand Ambient Radial Lighting (Signature Orange & Electric Cyan) */
.oct-subpage-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: 
    radial-gradient(circle at 80% 20%, rgba(255, 87, 34, 0.16) 0%, transparent 55%),
    radial-gradient(circle at 15% 80%, rgba(2, 132, 199, 0.15) 0%, transparent 55%);
  pointer-events: none;
  z-index: 0;
}

/* ==========================================================================
   OCTOPUS TENTACLE WAVE DIVIDER (THE SIGNATURE BOTTOM BORDER)
   Derived from the hydrodynamic curves and glowing gradient of the Octopus icon.
   ========================================================================== */
.oct-subpage-wave-divider {
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  width: 100%;
  height: clamp(48px, 6vw, 75px);
  pointer-events: none;
  z-index: 5;
  line-height: 0;
}

.oct-subpage-wave-svg {
  display: block;
  width: 100%;
  height: 100%;
}

/* Ensure section immediately following the hero has no flat border */
.oct-subpage-hero + * {
  border-block-start: none !important;
}

.oct-subpage-hero .oct-container {
  position: relative;
  z-index: 2;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
  max-width: 820px;
  margin-inline: auto !important;
  padding-inline: clamp(1.25rem, 3vw, 2.5rem);
  padding-top: clamp(6.5rem, 13vh, 8.5rem) !important;
  padding-bottom: clamp(4.25rem, 9vh, 5.75rem) !important;
  width: 100%;
}

/* Comprehensive text centering guarantee for all elements inside hero */
.oct-subpage-hero,
.oct-subpage-hero .oct-container,
.oct-subpage-hero .oct-subpage-h1,
.oct-subpage-hero .oct-subpage-h1 *,
.oct-subpage-hero .oct-subpage-lead,
.oct-subpage-hero .gradient-text,
.oct-subpage-hero p,
.oct-subpage-hero span,
.oct-subpage-hero a {
  text-align: center !important;
}


/* Breadcrumbs Navigation */
/* Breadcrumbs Navigation - Dark Glassmorphic Pill */
.oct-breadcrumbs {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 0.825rem;
  font-weight: 600;
  color: #94A3B8;
  margin-inline: auto !important;
  margin-block-end: 0.85rem !important;
  background: rgba(255, 255, 255, 0.06);
  padding: 5px 16px;
  border-radius: 50px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.oct-breadcrumbs a {
  color: #94A3B8;
  text-decoration: none;
  transition: color 0.2s ease;
}

.oct-breadcrumbs a:hover {
  color: #FF5722;
}

.oct-breadcrumbs .oct-bc-sep {
  color: rgba(255, 255, 255, 0.3);
  font-size: 0.75rem;
}

.oct-breadcrumbs .oct-bc-current {
  color: #FFFFFF;
  font-weight: 700;
}

/* Subpage Badge Pill */
.oct-subpage-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 87, 34, 0.08);
  border: 1px solid rgba(255, 87, 34, 0.25);
  padding: 6px 18px;
  border-radius: 50px;
  font-size: 0.875rem;
  font-weight: 700;
  color: #FF5722;
  margin-block-end: 1rem;
  white-space: nowrap;
  box-shadow: 0 2px 10px rgba(255, 87, 34, 0.06);
}

.oct-subpage-badge--medical {
  background: rgba(255, 87, 34, 0.08);
  border-color: rgba(255, 87, 34, 0.25);
  color: #FF5722;
  box-shadow: 0 2px 10px rgba(255, 87, 34, 0.06);
}

.oct-subpage-badge--tech {
  background: rgba(2, 132, 199, 0.08);
  border-color: rgba(2, 132, 199, 0.25);
  color: #0284C7;
}

.oct-subpage-badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #FF5722;
  box-shadow: 0 0 8px #FF5722;
  animation: octDotPulse 1.8s infinite alternate;
}

.oct-subpage-badge--medical .oct-subpage-badge-dot {
  background: #FF5722;
  box-shadow: 0 0 8px #FF5722;
}

/* Subpage H1 Heading - Reduced, Proportioned, Sleek & Centered */
.oct-subpage-h1 {
  font-size: clamp(1.6rem, 2.6vw, 2.2rem) !important;
  font-weight: 800 !important;
  line-height: 1.35 !important;
  color: #0F172A;
  margin: 0 auto 0.75rem auto !important;
  max-width: 720px;
  letter-spacing: -0.01em;
  text-align: center !important;
}

/* Inside Dark Mode Subpage Hero */
.oct-subpage-hero .oct-subpage-h1 {
  color: #FFFFFF !important;
  text-align: center !important;
  margin-inline: auto !important;
  width: 100% !important;
}

.oct-subpage-hero .gradient-text {
  background: linear-gradient(135deg, #38BDF8 0%, #FF5722 60%, #FFA726 100%) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  display: inline !important;
  font-weight: 800;
  text-align: center !important;
  filter: drop-shadow(0 2px 14px rgba(255, 87, 34, 0.35)) !important;
}

/* Subpage Lead Paragraph - Short, Refined & Centered */
.oct-subpage-lead {
  font-size: clamp(0.95rem, 1.35vw, 1.05rem) !important;
  line-height: 1.75 !important;
  color: #475569;
  max-width: 650px;
  margin: 0 auto !important;
  text-align: center !important;
}

.oct-subpage-hero .oct-subpage-lead {
  color: #CBD5E1 !important;
  text-align: center !important;
  margin-inline: auto !important;
  width: 100% !important;
  max-width: 680px !important;
}


/* Subpage Hero Actions */
.oct-subpage-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-block-start: 2rem;
}

/* Subpage Hero Trust Badges */
.oct-subpage-trust-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-block-start: 2.25rem;
}

.oct-subpage-trust-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 0.85rem;
  font-weight: 600;
  color: #334155;
  background: #F8FAFC;
  border: 1px solid rgba(15, 23, 42, 0.08);
  padding: 6px 14px;
  border-radius: 50px;
}

.oct-subpage-trust-pill .check-dot {
  color: #0284C7;
  font-weight: 800;
}

/* ==========================================================================
   2. FILTER PILLS BAR (Services & Projects)
   ========================================================================== */
.oct-filter-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-block-end: 3rem;
}

.oct-filter-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 20px;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 700;
  color: #475569;
  background: #FFFFFF;
  border: 1.5px solid rgba(15, 23, 42, 0.1);
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03);
}

.oct-filter-btn:hover {
  color: #FF5722;
  border-color: #FF5722;
  transform: translateY(-2px);
}

.oct-filter-btn.is-active {
  color: #FFFFFF;
  background: linear-gradient(135deg, #FF5722 0%, #FF7A45 100%);
  border-color: #FF5722;
  box-shadow: 0 6px 18px rgba(255, 87, 34, 0.28);
}

/* ==========================================================================
   3. LUXURY SERVICES ARCHIVE BENTO GRID
   ========================================================================== */
.oct-services-grid-lux {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
  gap: 28px;
}

.oct-service-card-lux {
  background: #FFFFFF;
  border-radius: 24px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  padding: clamp(24px, 3.2vw, 36px);
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s, border-color 0.35s;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.04);
}

.oct-service-card-lux:hover {
  transform: translateY(-8px);
  border-color: rgba(255, 87, 34, 0.3);
  box-shadow: 0 20px 45px -10px rgba(15, 23, 42, 0.1), 0 0 20px rgba(255, 87, 34, 0.06);
}

.oct-service-card-lux.is-medical:hover {
  border-color: rgba(255, 87, 34, 0.4);
  box-shadow: 0 20px 45px -10px rgba(15, 23, 42, 0.1), 0 0 20px rgba(255, 87, 34, 0.08);
}

.oct-service-card-lux.is-tech:hover {
  border-color: rgba(2, 132, 199, 0.4);
  box-shadow: 0 20px 45px -10px rgba(15, 23, 42, 0.1), 0 0 20px rgba(2, 132, 199, 0.08);
}

.oct-service-top-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-block-end: 18px;
}

.oct-service-idx {
  font-size: 0.9rem;
  font-weight: 800;
  color: #94A3B8;
  font-family: monospace;
}

.oct-service-heart-pill {
  font-size: 0.8rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 50px;
  background: rgba(255, 87, 34, 0.08);
  color: #FF5722;
  border: 1px solid rgba(255, 87, 34, 0.2);
}

.oct-service-heart-pill.heart-tech {
  background: rgba(2, 132, 199, 0.08);
  color: #0284C7;
  border-color: rgba(2, 132, 199, 0.2);
}

.oct-service-heart-pill.heart-medical {
  background: rgba(255, 87, 34, 0.08);
  color: #FF5722;
  border-color: rgba(255, 87, 34, 0.25);
}

.oct-service-title-lux {
  font-size: 1.35rem;
  font-weight: 800;
  color: #0F172A;
  margin: 0 0 10px 0;
  line-height: 1.4;
  transition: color 0.2s ease;
}

.oct-service-card-lux:hover .oct-service-title-lux {
  color: #FF5722;
}

.oct-service-card-lux.is-medical:hover .oct-service-title-lux {
  color: #FF5722;
}

.oct-service-card-lux.is-tech:hover .oct-service-title-lux {
  color: #0284C7;
}

.oct-service-desc-lux {
  font-size: 0.95rem;
  line-height: 1.7;
  color: #475569;
  margin: 0 0 18px 0;
  flex: 1;
}

.oct-service-tags-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-block-end: 18px;
}

.oct-service-mini-tag {
  font-size: 0.775rem;
  font-weight: 600;
  color: #64748B;
  background: #F8FAFC;
  border: 1px solid rgba(15, 23, 42, 0.08);
  padding: 3px 10px;
  border-radius: 6px;
}

.oct-service-deliverable-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(15, 23, 42, 0.03);
  padding: 8px 14px;
  border-radius: 10px;
  font-size: 0.85rem;
  font-weight: 600;
  color: #334155;
  margin-block-end: 20px;
}

.oct-service-deliverable-bar .chk {
  color: #10B981;
  font-weight: 800;
}

.oct-service-footer-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.925rem;
  font-weight: 700;
  color: #0F172A;
  text-decoration: none;
  transition: all 0.2s;
  padding-block-start: 14px;
  border-block-start: 1px solid rgba(15, 23, 42, 0.06);
}

.oct-service-card-lux:hover .oct-service-footer-link {
  color: #FF5722;
  gap: 10px;
}

/* ==========================================================================
   4. LUXURY PROJECTS ARCHIVE GRID
   ========================================================================== */
.oct-portfolio-grid-lux {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(380px, 1fr));
  gap: 32px;
}

.oct-portfolio-card-lux {
  background: #FFFFFF;
  border-radius: 24px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s;
  box-shadow: 0 8px 25px rgba(15, 23, 42, 0.05);
}

.oct-portfolio-card-lux:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 50px -12px rgba(15, 23, 42, 0.12), 0 0 25px rgba(255, 87, 34, 0.08);
}

.oct-portfolio-thumb-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #0F172A;
}

.oct-portfolio-thumb-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.oct-portfolio-card-lux:hover .oct-portfolio-thumb-wrap img {
  transform: scale(1.05);
}

.oct-portfolio-metric-badge {
  position: absolute;
  bottom: 14px;
  right: 14px;
  background: rgba(15, 23, 42, 0.88);
  backdrop-filter: blur(8px);
  color: #FFFFFF;
  font-weight: 800;
  font-size: 0.9rem;
  padding: 6px 14px;
  border-radius: 50px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.oct-portfolio-metric-badge .m-num {
  color: #38BDF8;
}

.oct-portfolio-location-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  color: #0F172A;
  font-weight: 700;
  font-size: 0.8rem;
  padding: 4px 12px;
  border-radius: 50px;
}

.oct-portfolio-body-lux {
  padding: 24px 26px 26px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.oct-portfolio-sector-tag {
  font-size: 0.8rem;
  font-weight: 700;
  color: #FF5722;
  margin-block-end: 8px;
}

.oct-portfolio-title-lux {
  font-size: 1.3rem;
  font-weight: 800;
  color: #0F172A;
  margin: 0 0 10px 0;
  line-height: 1.4;
}

.oct-portfolio-desc-lux {
  font-size: 0.925rem;
  line-height: 1.65;
  color: #475569;
  margin: 0 0 16px 0;
  flex: 1;
}

.oct-portfolio-footer-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block-start: 14px;
  border-block-start: 1px solid rgba(15, 23, 42, 0.06);
}

.oct-portfolio-link {
  font-size: 0.9rem;
  font-weight: 700;
  color: #0F172A;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s;
}

.oct-portfolio-card-lux:hover .oct-portfolio-link {
  color: #FF5722;
  gap: 10px;
}

/* ==========================================================================
   5. LUXURY PACKAGES & PRICING
   ========================================================================== */
.oct-pricing-toggle-wrap-lux {
  display: inline-flex;
  align-items: center;
  background: #FFFFFF;
  border: 1.5px solid rgba(15, 23, 42, 0.1);
  padding: 4px;
  border-radius: 50px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.04);
  margin-block-start: 1.5rem;
}

.oct-pricing-toggle-btn-lux {
  padding: 9px 24px;
  border-radius: 50px;
  border: none;
  background: transparent;
  color: #64748B;
  font-weight: 700;
  font-size: 0.925rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.25s ease;
}

.oct-pricing-toggle-btn-lux.is-active {
  background: #0F172A;
  color: #FFFFFF;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.2);
}

.oct-save-badge-lux {
  background: #FF5722;
  color: #FFFFFF;
  font-size: 0.725rem;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: 50px;
}

.oct-packages-grid-lux {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 28px;
  align-items: stretch;
}

.oct-pkg-card-lux {
  background: #FFFFFF;
  border-radius: 28px;
  border: 1.5px solid rgba(15, 23, 42, 0.08);
  padding: clamp(26px, 3.5vw, 40px);
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.04);
}

.oct-pkg-card-lux:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 50px -12px rgba(15, 23, 42, 0.1);
}

.oct-pkg-card-lux.is-popular {
  border-color: #FF5722;
  box-shadow: 0 20px 45px -10px rgba(255, 87, 34, 0.22), 0 0 0 1px #FF5722;
}

.oct-pkg-popular-badge {
  position: absolute;
  top: -14px;
  right: 28px;
  background: linear-gradient(135deg, #FF5722 0%, #FF7A45 100%);
  color: #FFFFFF;
  font-weight: 800;
  font-size: 0.8rem;
  padding: 5px 16px;
  border-radius: 50px;
  box-shadow: 0 4px 14px rgba(255, 87, 34, 0.35);
}

.oct-pkg-name {
  font-size: 1.4rem;
  font-weight: 800;
  color: #0F172A;
  margin: 0 0 6px 0;
}

.oct-pkg-ideal {
  font-size: 0.85rem;
  color: #64748B;
  margin: 0 0 20px 0;
  min-height: 2.4em;
}

.oct-pkg-price-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-block-end: 24px;
  padding-block-end: 20px;
  border-block-end: 1px solid rgba(15, 23, 42, 0.08);
}

.oct-pkg-currency {
  font-size: 1rem;
  font-weight: 700;
  color: #0F172A;
}

.oct-pkg-amount {
  font-size: clamp(2.2rem, 3.5vw, 2.8rem);
  font-weight: 900;
  color: #0F172A;
  line-height: 1;
}

.oct-pkg-period {
  font-size: 0.9rem;
  color: #64748B;
}

.oct-pkg-features-list {
  list-style: none;
  padding: 0;
  margin: 0 0 28px 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}

.oct-pkg-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.925rem;
  color: #334155;
  line-height: 1.5;
}

.oct-pkg-feature-item .chk {
  color: #10B981;
  font-weight: 800;
  flex-shrink: 0;
  margin-top: 1px;
}

.oct-pkg-cta-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 24px;
  border-radius: 14px;
  font-weight: 800;
  font-size: 0.95rem;
  text-decoration: none;
  transition: all 0.25s ease;
  width: 100%;
}

.oct-pkg-cta-btn--primary {
  background: linear-gradient(135deg, #FF5722 0%, #FF7A45 100%);
  color: #FFFFFF;
  box-shadow: 0 6px 20px rgba(255, 87, 34, 0.3);
}

.oct-pkg-cta-btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(255, 87, 34, 0.42);
}

.oct-pkg-cta-btn--secondary {
  background: #F8FAFC;
  color: #0F172A;
  border: 1.5px solid rgba(15, 23, 42, 0.12);
}

.oct-pkg-cta-btn--secondary:hover {
  background: #0F172A;
  color: #FFFFFF;
  border-color: #0F172A;
}

/* ==========================================================================
   6. LUXURY CONTACT PAGE & BOOKING FORM
   ========================================================================== */
.oct-contact-layout-lux {
  display: grid;
  grid-template-columns: 1.25fr 0.95fr;
  gap: 40px;
  align-items: start;
}

.oct-contact-form-card-lux {
  background: #FFFFFF;
  border-radius: 28px;
  border: 1.5px solid rgba(15, 23, 42, 0.08);
  padding: clamp(28px, 4vw, 48px);
  box-shadow: 0 15px 45px -10px rgba(15, 23, 42, 0.06);
}

.oct-contact-heading {
  font-size: 1.65rem;
  font-weight: 800;
  color: #0F172A;
  margin: 0 0 6px 0;
}

.oct-contact-sub {
  font-size: 0.95rem;
  color: #64748B;
  margin: 0 0 28px 0;
  line-height: 1.6;
}

.oct-form-group-lux {
  margin-block-end: 18px;
}

.oct-form-group-lux label {
  display: block;
  font-size: 0.88rem;
  font-weight: 700;
  color: #0F172A !important; /* Critical fix: force dark readable text */
  margin-block-end: 8px;
}

.oct-input-lux {
  width: 100%;
  padding: 13px 18px;
  min-height: 50px;
  border-radius: 12px;
  border: 1.5px solid rgba(15, 23, 42, 0.14);
  background: #FFFFFF;
  color: #0F172A !important;
  font-size: 0.95rem;
  font-family: inherit;
  outline: none;
  transition: all 0.2s ease;
  box-sizing: border-box;
}

.oct-input-lux:focus {
  background: #FFFFFF;
  border-color: #FF5722;
  box-shadow: 0 0 0 4px rgba(255, 87, 34, 0.12);
}

.oct-select-wrapper {
  position: relative;
  width: 100%;
}

select.oct-input-lux,
.oct-select-lux {
  appearance: none !important;
  -webkit-appearance: none !important;
  -moz-appearance: none !important;
  cursor: pointer !important;
  min-height: 52px !important;
  line-height: 1.5 !important;
  padding-block: 13px !important;
  padding-inline-start: 16px !important;
  padding-inline-end: 44px !important;
  background-color: #FFFFFF !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23334155' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: left 16px center !important;
  background-size: 16px 16px !important;
}

[dir="ltr"] select.oct-input-lux,
[dir="ltr"] .oct-select-lux {
  background-position: right 16px center !important;
  padding-inline-start: 16px !important;
  padding-inline-end: 44px !important;
}

select.oct-input-lux:focus,
.oct-select-lux:focus {
  border-color: #FF5722 !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23FF5722' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E") !important;
}

select.oct-input-lux option,
.oct-select-lux option {
  background: #FFFFFF !important;
  color: #0F172A !important;
  padding: 12px 16px !important;
  font-size: 0.95rem !important;
}

.oct-form-row-lux {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

@media (max-width: 640px) {
  .oct-form-row-lux {
    grid-template-columns: 1fr !important;
  }
}

.oct-branches-col-lux {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.oct-branch-card-lux {
  background: #FFFFFF;
  border-radius: 20px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  padding: 24px;
  box-shadow: 0 6px 20px rgba(15, 23, 42, 0.04);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.oct-branch-card-lux:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 35px -8px rgba(15, 23, 42, 0.08);
}

.oct-branch-card-lux.is-hq {
  border-color: rgba(255, 87, 34, 0.35);
  background: linear-gradient(180deg, #FFFFFF 0%, rgba(255, 87, 34, 0.02) 100%);
}

.oct-branch-title-lux {
  font-size: 1.15rem;
  font-weight: 800;
  color: #0F172A;
  margin: 0 0 4px 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.oct-branch-meta {
  font-size: 0.85rem;
  color: #64748B;
  margin: 0 0 12px 0;
}

.oct-branch-info-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 0.88rem;
  color: #334155;
}

.oct-branch-info-list a {
  color: #0F172A;
  font-weight: 700;
  text-decoration: none;
  transition: color 0.2s;
}

.oct-branch-info-list a:hover {
  color: #FF5722;
}

/* ==========================================================================
   7. TEAM & LEADERSHIP CARDS
   ========================================================================== */
.oct-team-grid-lux {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 24px;
}

.oct-team-card-lux {
  background: #FFFFFF;
  border-radius: 20px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  padding: 22px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.03);
}

.oct-team-card-lux:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 35px -8px rgba(15, 23, 42, 0.1);
}

.oct-team-avatar-wrap-lux {
  width: 105px;
  height: 105px;
  border-radius: 50%;
  margin: 0 auto 16px;
  overflow: hidden;
  border: 3px solid #FFFFFF;
  box-shadow: 0 6px 20px rgba(15, 23, 42, 0.12), 0 0 0 2px rgba(255, 87, 34, 0.2);
}

.oct-team-avatar-wrap-lux img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.oct-team-card-lux:hover .oct-team-avatar-wrap-lux img {
  transform: scale(1.08);
}

.oct-team-name-lux {
  font-size: 1.1rem;
  font-weight: 800;
  color: #0F172A;
  margin: 0 0 4px 0;
}

.oct-team-role-lux {
  font-size: 0.85rem;
  font-weight: 600;
  color: #FF5722;
  margin: 0 0 8px 0;
}

.oct-team-loc-lux {
  font-size: 0.775rem;
  color: #64748B;
}

/* ==========================================================================
   8. RESPONSIVE MEDIA QUERIES
   ========================================================================== */
@media (max-width: 991px) {
  .oct-contact-layout-lux {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .oct-services-grid-lux,
  .oct-portfolio-grid-lux {
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 22px;
  }
}

@media (max-width: 767px) {
  .oct-form-row-lux {
    grid-template-columns: 1fr;
  }

  .oct-subpage-actions {
    flex-direction: column;
    width: 100%;
  }

  .oct-subpage-actions > * {
    width: 100%;
    justify-content: center;
  }

  .oct-filter-bar {
    justify-content: flex-start;
    overflow-x: auto;
    padding-block-end: 10px;
    flex-wrap: nowrap;
  }

  .oct-filter-btn {
    white-space: nowrap;
  }
}

/* ==========================================================================
   9. CAREERS & OPENINGS CARDS
   ========================================================================== */
.oct-jobs-list-lux {
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 920px;
  margin: 0 auto;
}

.oct-job-card-lux {
  background: #FFFFFF;
  border-radius: 20px;
  border: 1.5px solid rgba(15, 23, 42, 0.08);
  padding: clamp(24px, 3vw, 32px);
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s;
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.03);
}

.oct-job-card-lux:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 35px -8px rgba(15, 23, 42, 0.08);
  border-color: rgba(255, 87, 34, 0.35);
}

.oct-job-header-lux {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}

.oct-job-tag-lux {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(2, 132, 199, 0.08);
  color: #0284C7;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 999px;
  font-family: var(--font-mono);
}

.oct-job-title-lux {
  font-size: 1.25rem;
  font-weight: 800;
  color: #0F172A;
  margin: 0;
}

.oct-job-desc-lux {
  font-size: 0.95rem;
  color: #475569;
  line-height: 1.7;
  margin: 0;
}

.oct-job-footer-lux {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding-block-start: 12px;
  border-block-start: 1px solid rgba(15, 23, 42, 0.06);
  flex-wrap: wrap;
}

/* ==========================================================================
   10. PROJECTS ARCHIVE — LUXURY LIGHT MODE SHOWCASE
   ========================================================================== */
.oct-projects-archive-section {
  padding-block: clamp(3.5rem, 6vw, 6rem);
  background-color: #F8FAFC !important;
  background: #F8FAFC !important;
  position: relative;
  overflow: hidden;
}

.oct-projects-archive-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: clamp(1.8rem, 3.5vw, 3rem);
  row-gap: clamp(2rem, 3.5vw, 3rem);
  max-width: 1240px;
  margin-inline: auto;
  align-items: stretch;
  perspective: 1200px;
}

.oct-projects-archive-grid .work-project-card {
  margin-top: 0 !important;
  margin-block-start: 0 !important;
  width: 100% !important;
  height: 100% !important;
  background: #FFFFFF !important;
  border: 1.5px solid #E2E8F0 !important;
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.06), 0 1px 3px rgba(0, 0, 0, 0.04) !important;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
              border-color 0.4s ease,
              box-shadow 0.4s ease !important;
}

.oct-projects-archive-grid .work-project-card:hover {
  transform: translateY(-8px) scale(1.015) !important;
  border-color: rgba(255, 87, 34, 0.65) !important;
  box-shadow: 0 24px 50px -10px rgba(0, 0, 0, 0.12), 0 0 25px rgba(255, 87, 34, 0.22) !important;
}

.oct-projects-archive-grid .work-project-card:hover .work-project-img {
  transform: scale(1.08) !important;
}

.oct-projects-archive-grid .work-project-card:hover .work-project-btn {
  background: linear-gradient(135deg, #FF5722 0%, #F4511E 100%) !important;
  border-color: #FF5722 !important;
  color: #FFFFFF !important;
  box-shadow: 0 6px 22px rgba(255, 87, 34, 0.45) !important;
  transform: translateY(-2px) !important;
}

[dir="rtl"] .oct-projects-archive-grid .work-project-card:hover .work-project-btn svg {
  transform: translateX(-4px) translateY(-3px);
}

[dir="ltr"] .oct-projects-archive-grid .work-project-card:hover .work-project-btn svg {
  transform: translateX(4px) translateY(-3px);
}

@media (max-width: 899px) {
  .oct-projects-archive-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

@media (max-width: 767px) {
  .oct-subpage-hero {
    min-height: clamp(400px, 56vh, 480px) !important;
    height: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    box-sizing: border-box !important;
  }

  .oct-subpage-hero .oct-container {
    padding-inline: clamp(1rem, 4vw, 1.75rem) !important;
    padding-top: clamp(5.75rem, 14vh, 7.25rem) !important;
    padding-bottom: clamp(3.5rem, 8vh, 4.5rem) !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  /* Universal Centering Guarantee on Mobile */
  .oct-subpage-hero,
  .oct-subpage-hero *,
  .oct-subpage-hero .oct-subpage-h1,
  .oct-subpage-hero .oct-subpage-h1 *,
  .oct-subpage-hero .oct-subpage-lead,
  .oct-subpage-hero .gradient-text,
  .oct-subpage-hero p,
  .oct-subpage-hero span {
    text-align: center !important;
  }

  .oct-subpage-hero .oct-breadcrumbs {
    margin-block-end: 0.85rem !important;
    font-size: 0.775rem !important;
    padding: 5px 14px !important;
    max-width: 95% !important;
    text-align: center !important;
    justify-content: center !important;
    margin-inline: auto !important;
    display: inline-flex !important;
  }

  .oct-subpage-hero .oct-subpage-h1 {
    font-size: clamp(1.4rem, 5.4vw, 1.85rem) !important;
    line-height: 1.4 !important;
    margin-block-end: 0.85rem !important;
    text-align: center !important;
    margin-inline: auto !important;
    width: 100% !important;
    max-width: 100% !important;
  }

  .oct-subpage-hero .gradient-text {
    display: inline !important;
    text-align: center !important;
  }

  .oct-subpage-hero .oct-subpage-lead {
    font-size: clamp(0.875rem, 3.2vw, 0.975rem) !important;
    line-height: 1.75 !important;
    text-align: center !important;
    margin-inline: auto !important;
    width: 100% !important;
    max-width: 100% !important;
    color: #CBD5E1 !important;
  }

  .oct-subpage-wave-divider {
    height: clamp(38px, 6vw, 50px) !important;
    bottom: -1px !important;
  }
}




/* ==========================================================================
   ABOUT PAGE — LUXURY STRATEGIC PILLARS BENTO GRID
   ========================================================================== */

.oct-about-pillars-section {
  background: #F8FAFC;
  padding-block: clamp(4.5rem, 8vw, 8rem);
  position: relative;
  overflow: hidden;
}

.oct-about-pillars-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 50% at 50% 0%, rgba(255,87,34,0.04) 0%, transparent 70%);
  pointer-events: none;
}

/* --- Bento Grid --- */
.oct-about-pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  direction: rtl;
}

/* Wide card (01 and 06) spans 1.5 cols for bento asymmetry */
.oct-about-pillars-grid .oct-pillar-card.is-wide {
  grid-column: span 2;
}

/* --- Pillar Card Base --- */
.oct-pillar-card {
  position: relative;
  background: #FFFFFF;
  border: 1.5px solid rgba(15, 23, 42, 0.08);
  border-radius: 24px;
  padding: clamp(1.75rem, 2.5vw, 2.25rem);
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  overflow: hidden;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
              border-color 0.35s ease,
              box-shadow 0.35s ease;
  box-shadow: 0 4px 20px -4px rgba(15, 23, 42, 0.06);
  cursor: default;
}

.oct-pillar-card:hover {
  transform: translateY(-6px);
  border-color: var(--pillar-color, #FF5722);
  box-shadow: 0 20px 50px -10px rgba(15, 23, 42, 0.12),
              0 0 0 1px var(--pillar-color, #FF5722),
              0 0 32px var(--pillar-glow, rgba(255,87,34,0.16));
}

/* Glowing orb (background accent) */
.oct-pillar-glow-orb {
  position: absolute;
  bottom: -40px;
  inset-inline-end: -40px;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: var(--pillar-glow, rgba(255,87,34,0.12));
  filter: blur(40px);
  pointer-events: none;
  transition: opacity 0.4s ease;
  opacity: 0;
}

.oct-pillar-card:hover .oct-pillar-glow-orb {
  opacity: 1;
}

/* Number badge */
.oct-pillar-num {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: var(--pillar-color, #FF5722);
  background: color-mix(in srgb, var(--pillar-color, #FF5722) 10%, transparent);
  border: 1px solid color-mix(in srgb, var(--pillar-color, #FF5722) 20%, transparent);
  border-radius: 999px;
  padding: 3px 10px;
  width: fit-content;
  transition: background 0.3s ease;
}

.oct-pillar-card:hover .oct-pillar-num {
  background: color-mix(in srgb, var(--pillar-color, #FF5722) 18%, transparent);
}

/* Icon */
.oct-pillar-icon {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  background: color-mix(in srgb, var(--pillar-color, #FF5722) 8%, transparent);
  border: 1.5px solid color-mix(in srgb, var(--pillar-color, #FF5722) 18%, transparent);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--pillar-color, #FF5722);
  transition: background 0.35s ease, box-shadow 0.35s ease;
}

.oct-pillar-card:hover .oct-pillar-icon {
  background: color-mix(in srgb, var(--pillar-color, #FF5722) 14%, transparent);
  box-shadow: 0 0 20px var(--pillar-glow, rgba(255,87,34,0.2));
}

.oct-pillar-icon svg {
  stroke: currentColor;
}

/* Title */
.oct-pillar-title {
  font-size: 1.05rem;
  font-weight: 800;
  color: #0F172A;
  line-height: 1.4;
  margin: 0;
}

/* Description */
.oct-pillar-desc {
  font-size: 0.9rem;
  color: #64748B;
  line-height: 1.75;
  margin: 0;
}

/* Left accent bar */
.oct-pillar-card::after {
  content: '';
  position: absolute;
  inset-block: 20%;
  inset-inline-start: 0;
  width: 3px;
  border-radius: 0 3px 3px 0;
  background: var(--pillar-color, #FF5722);
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

[dir="rtl"] .oct-pillar-card::after {
  inset-inline-start: auto;
  inset-inline-end: 0;
  border-radius: 3px 0 0 3px;
}

.oct-pillar-card:hover::after {
  transform: scaleY(1);
}

/* --- Responsive --- */
@media (max-width: 1100px) {
  .oct-about-pillars-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .oct-about-pillars-grid .oct-pillar-card.is-wide {
    grid-column: span 2;
  }
}

@media (max-width: 640px) {
  .oct-about-pillars-grid {
    grid-template-columns: 1fr;
  }
  .oct-about-pillars-grid .oct-pillar-card.is-wide {
    grid-column: span 1;
  }
}


/* ==========================================================================
   ABOUT PAGE & SUBPAGES — STATS STRIP & METRICS CARDS
   ========================================================================== */

.oct-stats-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  width: 100%;
}

.oct-stat-card {
  background: #FFFFFF;
  border-radius: 20px;
  padding: clamp(1.75rem, 2.5vw, 2.25rem) 1.5rem;
  text-align: center;
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 4px 20px -4px rgba(15, 23, 42, 0.04);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease, border-color 0.35s ease;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.oct-stat-card::before {
  content: '';
  position: absolute;
  top: 0;
  inset-inline: 0;
  height: 3px;
  background: linear-gradient(90deg, #FF5722, #0284C7);
  opacity: 0;
  transition: opacity 0.35s ease;
}

.oct-stat-card:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 87, 34, 0.25);
  box-shadow: 0 16px 36px -8px rgba(15, 23, 42, 0.09), 0 0 24px rgba(255, 87, 34, 0.05);
}

.oct-stat-card:hover::before {
  opacity: 1;
}

.oct-stat-num {
  font-size: clamp(2.4rem, 4vw, 3.25rem);
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 0.5rem;
  font-family: inherit;
  background: linear-gradient(135deg, #0F172A 20%, #FF5722 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: -0.02em;
}

.oct-stat-label {
  font-size: 1.05rem;
  font-weight: 800;
  color: #0F172A;
  margin: 0 0 0.35rem 0;
  line-height: 1.35;
}

.oct-stat-sub {
  font-size: 0.85rem;
  color: #64748B;
  line-height: 1.45;
  display: block;
}

@media (max-width: 1024px) {
  .oct-stats-strip {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
  }
}

@media (max-width: 600px) {
  .oct-stats-strip {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  .oct-stat-card {
    padding: 1.5rem 1.25rem;
  }
  .oct-stat-num {
    font-size: 2.25rem;
  }
}
