/* ==========================================================================
   Kaxon Technologies — Professional Refinements (overrides)
   Loaded AFTER style.css. Original design untouched; this only polishes
   wide-screen container widths and image framing so nothing hugs the edges.
   ========================================================================== */

/* --- 1. Consistent container width across every section --------------------
   Original had mixed max-widths (1240 / 1360 / 1380). On full screen that made
   the wider sections (hero, about, process) push images to the very edges.
   Unify to one comfortable width so all sections align with balanced gutters. */
.hero-container,
.relations-results-container,
.growth-container,
.industry-container,
.services-container,
.booking-container {
  max-width: 1280px;
}

/* --- 1b. Guaranteed side gutters at EVERY width -----------------------------
   On medium/laptop widths (approx 1080–1360) the hero & sections were hugging
   the screen edges and the right-hand floating cards got clipped. Enforce a
   comfortable minimum gutter and keep the whole hero within the viewport. */
.hero-container,
.relations-results-container,
.growth-container,
.industry-container,
.services-container,
.booking-container,
.proof-cta-section .container,
.site-footer .container {
  padding-left: clamp(20px, 4vw, 48px);
  padding-right: clamp(20px, 4vw, 48px);
}

/* Brand logo must never wrap to two lines */
.brand-logo,
.brand-name {
  white-space: nowrap;
}

/* Keep the hero's right-hand collage (image + floating badge cards) fully
   inside its column so nothing is cut off on laptop widths. */
.hero-right {
  overflow: visible;
}
@media (max-width: 1360px) {
  /* Pull the floating badges in from the negative offsets that pushed them
     past the viewport edge on smaller desktops. */
  .floating-badge-growth { right: 0; }
  .floating-badge-lead { right: 0; }
  .floating-badge-top { left: 0; }
}

/* Generous breathing room on large / full screens */
@media (min-width: 1440px) {
  .container {
    padding-left: 40px;
    padding-right: 40px;
  }
}

/* Ultra-wide (2K/4K): keep content centered, never edge-to-edge */
@media (min-width: 1800px) {
  .hero-container,
  .relations-results-container,
  .growth-container,
  .industry-container,
  .services-container,
  .booking-container,
  .site-footer .container,
  .proof-cta-section .container {
    max-width: 1320px;
  }
}

/* --- 2. Professional image framing ----------------------------------------
   Keep photos crisp and well-composed (faces/subjects centered) instead of
   cropping heads. object-position tuned per image context. */
.growth-card-img-wrap {
  height: 230px;
}
.growth-card-img-wrap img {
  object-position: center 28%;
}

.hero-main-photo {
  object-position: center 18%;
}

.industry-image-pane img {
  object-position: center 25%;
}

/* Avatars stay perfectly round & sharp */
.avatar-stack img,
.testimonial-dark-avatars img,
.testimonial-author-block img {
  object-fit: cover;
  object-position: center;
}

/* --- 3. Inner page (route) styles -----------------------------------------
   Shared building blocks for the sub-pages, styled to match the design tokens. */
.page-hero {
  position: relative;
  padding: 130px 0 70px;
  background:
    radial-gradient(1200px 400px at 80% -10%, rgba(8, 204, 254, 0.08), transparent 60%),
    radial-gradient(900px 380px at 0% 0%, rgba(245, 170, 28, 0.07), transparent 55%),
    var(--bg-white, #ffffff);
  overflow: hidden;
}
.page-hero .container {
  position: relative;
  z-index: 2;
}
.page-hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #E9A900;
  background: rgba(245, 170, 28, 0.12);
  padding: 7px 16px;
  border-radius: 100px;
  margin-bottom: 20px;
}
.page-hero-title {
  font-family: var(--font-display, 'Outfit', sans-serif);
  font-weight: 800;
  font-size: clamp(2.2rem, 4.5vw, 3.4rem);
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--text-primary, #14243D);
  max-width: 880px;
  margin: 0 0 20px;
}
.page-hero-title .accent {
  color: #E9A900;
}
.page-hero-subtitle {
  font-size: clamp(1.02rem, 1.5vw, 1.18rem);
  line-height: 1.7;
  color: var(--text-secondary, #52627A);
  max-width: 680px;
  margin: 0 0 30px;
}
.page-hero-cta {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.86rem;
  color: var(--text-secondary, #64748B);
  margin-bottom: 22px;
}
.breadcrumb a { color: inherit; text-decoration: none; }
.breadcrumb a:hover { color: #E9A900; }
.breadcrumb .sep { opacity: 0.5; }

.page-section {
  padding: 72px 0;
}
.page-section.alt {
  background: #F7F9FC;
}
.section-head {
  max-width: 720px;
  margin: 0 0 44px;
}
.section-head.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}
.section-head h2 {
  font-family: var(--font-display, 'Outfit', sans-serif);
  font-weight: 800;
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--text-primary, #14243D);
  margin: 0 0 14px;
}
.section-head p {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--text-secondary, #52627A);
  margin: 0;
}

/* Generic feature grid */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.feature-card {
  background: #FFFFFF;
  border: 1px solid #EAEFF4;
  border-radius: 20px;
  padding: 28px 26px;
  box-shadow: 0 10px 30px rgba(20, 36, 61, 0.05);
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.28s ease, border-color 0.25s ease;
}
.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 44px rgba(20, 36, 61, 0.1);
  border-color: #D3DEE8;
}
.feature-card .fc-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 18px;
}
.feature-card h3 {
  font-family: var(--font-display, 'Outfit', sans-serif);
  font-weight: 700;
  font-size: 1.22rem;
  color: var(--text-primary, #14243D);
  margin: 0 0 10px;
}
.feature-card p {
  font-size: 0.98rem;
  line-height: 1.65;
  color: var(--text-secondary, #52627A);
  margin: 0;
}
.feature-card ul {
  list-style: none;
  margin: 16px 0 0;
  padding: 0;
}
.feature-card ul li {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 0.94rem;
  color: var(--text-secondary, #52627A);
  padding: 5px 0;
}
.feature-card ul li i { color: #16A34A; font-size: 17px; }

/* Split content row (image + text) */
.split-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 54px;
  align-items: center;
}
.split-row.reverse .split-media { order: 2; }
.split-media img {
  width: 100%;
  border-radius: 22px;
  object-fit: cover;
  aspect-ratio: 4 / 3;
  box-shadow: 0 20px 50px rgba(20, 36, 61, 0.1);
}
.split-text h2 {
  font-family: var(--font-display, 'Outfit', sans-serif);
  font-weight: 800;
  font-size: clamp(1.6rem, 2.6vw, 2.2rem);
  line-height: 1.18;
  color: var(--text-primary, #14243D);
  margin: 0 0 16px;
}
.split-text p {
  font-size: 1.02rem;
  line-height: 1.75;
  color: var(--text-secondary, #52627A);
  margin: 0 0 14px;
}
.check-list {
  list-style: none;
  margin: 18px 0 0;
  padding: 0;
}
.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  font-size: 1rem;
  color: var(--text-primary, #2A3B54);
  padding: 8px 0;
  font-weight: 500;
}
.check-list li i { color: #16A34A; font-size: 20px; flex-shrink: 0; margin-top: 1px; }

/* Stats band */
.stats-band {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  background: #14243D;
  border-radius: 24px;
  padding: 44px 40px;
}
.stats-band .sb-item { text-align: center; }
.stats-band .sb-num {
  font-family: var(--font-display, 'Outfit', sans-serif);
  font-weight: 800;
  font-size: clamp(1.9rem, 3.4vw, 2.7rem);
  color: #FFD15C;
  line-height: 1;
  margin-bottom: 8px;
}
.stats-band .sb-label {
  font-size: 0.92rem;
  color: #B9C6D8;
  letter-spacing: 0.02em;
}

/* Legal / prose pages */
.prose {
  max-width: 820px;
}
.prose h2 {
  font-family: var(--font-display, 'Outfit', sans-serif);
  font-weight: 700;
  font-size: 1.4rem;
  color: var(--text-primary, #14243D);
  margin: 36px 0 12px;
}
.prose h3 {
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--text-primary, #14243D);
  margin: 24px 0 8px;
}
.prose p, .prose li {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--text-secondary, #52627A);
}
.prose ul { padding-left: 22px; margin: 10px 0; }
.prose li { margin-bottom: 6px; }
.prose .updated { font-size: 0.9rem; color: #94A3B8; margin-bottom: 8px; }

/* Team grid */
.team-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 420px));
  gap: 30px;
  justify-content: center;
}
.team-card {
  background: #FFFFFF;
  border: 1px solid #EAEFF4;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 12px 34px rgba(20, 36, 61, 0.06);
  transition: transform 0.28s ease, box-shadow 0.28s ease;
}
.team-card:hover { transform: translateY(-6px); box-shadow: 0 22px 50px rgba(20, 36, 61, 0.12); }
.team-card-photo {
  width: 100%;
  height: 320px;
  overflow: hidden;
  background: #F1F4F9;
}
.team-card-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 20%; }

/* Gradient monogram avatar (used instead of stock photos) */
.team-monogram {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.team-monogram::before {
  /* subtle dotted texture for depth */
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.14) 1.5px, transparent 1.6px);
  background-size: 22px 22px;
  opacity: 0.6;
}
.team-monogram::after {
  /* soft diagonal sheen */
  content: "";
  position: absolute;
  top: -40%;
  left: -20%;
  width: 80%;
  height: 180%;
  background: linear-gradient(115deg, rgba(255, 255, 255, 0.22), rgba(255, 255, 255, 0) 60%);
  transform: rotate(8deg);
  pointer-events: none;
}
.monogram-initials {
  position: relative;
  z-index: 2;
  font-family: var(--font-display, 'Outfit', sans-serif);
  font-weight: 800;
  font-size: 4.4rem;
  letter-spacing: 0.02em;
  color: #ffffff;
  text-shadow: 0 6px 20px rgba(0, 0, 0, 0.18);
  line-height: 1;
  user-select: none;
}
.monogram-glow {
  position: absolute;
  z-index: 1;
  width: 190px;
  height: 190px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.28) 0%, rgba(255, 255, 255, 0) 68%);
  filter: blur(4px);
}
.team-card-body { padding: 24px 26px 28px; }
.team-card-body h3 {
  font-family: var(--font-display, 'Outfit', sans-serif);
  font-weight: 700; font-size: 1.35rem; color: var(--text-primary, #14243D); margin: 0 0 4px;
}
.team-card-role { color: #E9A900; font-weight: 600; font-size: 0.96rem; margin-bottom: 12px; }
.team-card-body p { font-size: 0.98rem; line-height: 1.65; color: var(--text-secondary, #52627A); margin: 0 0 16px; }
.team-social { display: flex; gap: 10px; }
.team-social a {
  width: 40px; height: 40px; border-radius: 12px; display: flex; align-items: center; justify-content: center;
  background: #F1F4F9; color: #14243D; font-size: 20px; transition: background 0.2s ease, color 0.2s ease;
}
.team-social a:hover { background: #14243D; color: #fff; }

/* CTA band */
.cta-band {
  background: linear-gradient(135deg, #14243D 0%, #1E3A5F 100%);
  border-radius: 28px;
  padding: 56px 48px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-band h2 {
  font-family: var(--font-display, 'Outfit', sans-serif);
  font-weight: 800; font-size: clamp(1.7rem, 3vw, 2.3rem); color: #fff; margin: 0 0 14px;
}
.cta-band p { color: #B9C6D8; font-size: 1.05rem; max-width: 560px; margin: 0 auto 26px; line-height: 1.6; }
.cta-band .hero-ctas { justify-content: center; }

/* Simple contact info cards */
.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.contact-card {
  background: #FFFFFF; border: 1px solid #EAEFF4; border-radius: 20px; padding: 30px 26px; text-align: center;
  box-shadow: 0 10px 30px rgba(20, 36, 61, 0.05);
}
.contact-card .cc-icon {
  width: 56px; height: 56px; border-radius: 16px; display: inline-flex; align-items: center; justify-content: center;
  font-size: 26px; margin-bottom: 16px; background: rgba(8,204,254,0.1); color: #0284C7;
}
.contact-card h3 { font-family: var(--font-display); font-weight: 700; font-size: 1.15rem; color: #14243D; margin: 0 0 8px; }
.contact-card a, .contact-card p { color: #52627A; font-size: 1rem; text-decoration: none; }
.contact-card a:hover { color: #E9A900; }

/* Footer contact block (under Follow Us, right column) */
.footer-col-follow .footer-contact {
  margin-top: 22px;
  font-style: normal;
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 260px;
}
.footer-contact-row {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  font-size: 0.9rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.72);
  text-decoration: none;
  transition: color 0.2s ease;
}
.footer-contact-row:hover { color: #FFD15C; }
.footer-contact-row i {
  font-size: 17px;
  color: #FFD15C;
  flex-shrink: 0;
  margin-top: 1px;
}

/* Responsive */
@media (max-width: 992px) {
  .feature-grid, .contact-grid { grid-template-columns: repeat(2, 1fr); }
  .split-row { grid-template-columns: 1fr; gap: 32px; }
  .split-row.reverse .split-media { order: 0; }
  .stats-band { grid-template-columns: repeat(2, 1fr); gap: 30px 20px; }
  .team-grid { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
  .feature-grid, .contact-grid { grid-template-columns: 1fr; }
  .page-hero { padding: 110px 0 54px; }
  .cta-band { padding: 40px 24px; }
}

/* ==========================================================================
   kaxon.in static content pages (rendered inside our chrome via StaticPage)
   Contain any decorative absolute/sticky elements so the page never scrolls
   horizontally, and keep content aligned under our navbar.
   ========================================================================== */
.kx-static-page {
  overflow-x: clip;        /* stop decorative notes/arrows causing h-scroll */
  position: relative;
}
/* Belt-and-braces: never let the whole document scroll sideways */
html:has(.kx-static-page) body {
  overflow-x: clip;
}
/* Decorative sticky notes / annotation arrows sit outside the viewport edge
   on some layouts — keep them from widening the page. */
.kx-static-page .wd-sticky-note,
.kx-static-page [class*="-sticky-note"],
.kx-static-page [class*="annotation"] {
  max-width: 100%;
}

