/*
Theme Name: Indetix
Theme URI: https://indetix.com.ng
Author: Indetix Limited
Author URI: https://indetix.com.ng
Description: The Indetix Limited corporate theme — a square-cornered, hairline-driven design system for an ICT and geospatial solutions company. Built for Elementor with a library of Indetix content widgets.
Version: 1.4.4
Requires at least: 6.4
Tested up to: 7.1
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: indetix
Tags: business, corporate, custom-menu, custom-logo, featured-images, full-width-template, elementor
*/

/* ==========================================================================
   1. Tokens
   ========================================================================== */
:root {
  --navy: #10233f;
  --royal: #1769aa;
  --royal-deep: #0f4c7e;
  --cyan: #00a6c7;
  --cyan-bright: #00bbdd;
  --ink: #263445;
  --surface: #f3f6f9;
  --line: rgba(38, 52, 69, 0.14);
  --line-soft: rgba(38, 52, 69, 0.08);
  --line-strong: rgba(38, 52, 69, 0.25);
  --muted: rgba(38, 52, 69, 0.72);
  --faint: rgba(38, 52, 69, 0.58);
  --on-dark: rgba(255, 255, 255, 0.72);
  --on-dark-faint: rgba(255, 255, 255, 0.58);
  --success: #00ac4a;
  --warning: #edd200;
  --font: "Avenir Next", Avenir, "Mulish", "Helvetica Neue", Arial, sans-serif;
  --wrap: 1136px;
  --gutter: 24px;
  --ease: cubic-bezier(0.2, 0.7, 0.3, 1);
}

/* ==========================================================================
   2. Reset & base
   ========================================================================== */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  background: #fff;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.5;
  background: #fff;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.menu-open {
  overflow: hidden;
}

img,
svg,
video {
  display: block;
  max-width: 100%;
}

img {
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

p {
  margin: 0;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0;
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.25;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
}

:focus-visible {
  outline: 2px solid var(--royal);
  outline-offset: 3px;
}

.on-dark :focus-visible,
.hero :focus-visible,
.why :focus-visible,
.cta :focus-visible {
  outline-color: var(--cyan);
}

.screen-reader-text {
  border: 0;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute !important;
  width: 1px;
  word-wrap: normal !important;
}

.skip-link:focus {
  background: #fff;
  clip: auto;
  clip-path: none;
  color: var(--navy);
  display: block;
  font-size: 14px;
  font-weight: 600;
  height: auto;
  left: 16px;
  padding: 12px 18px;
  top: 16px;
  width: auto;
  z-index: 100000;
}

/* ==========================================================================
   3. Layout primitives
   ========================================================================== */
.wrap {
  width: min(var(--wrap), calc(100% - 48px));
  margin-inline: auto;
  position: relative;
}

.site {
  overflow-x: clip;
}

.section {
  padding: 96px 0;
}

.section--tight {
  padding: 64px 0;
}

.section--flush-top {
  padding-top: 0;
}

.section--surface {
  background: var(--surface);
}

.section--dark {
  background: var(--navy);
  color: #fff;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  line-height: 16px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--royal);
}

.eyebrow::before {
  content: "";
  width: 24px;
  height: 1px;
  background: currentColor;
  flex: 0 0 auto;
}

.eyebrow--dark,
.eyebrow.on-dark,
.section--dark .eyebrow,
.hero .eyebrow,
.vision .eyebrow {
  color: var(--cyan);
}

.lede {
  font-size: 18px;
  line-height: 30px;
  color: var(--muted);
}

.prose {
  font-size: 16px;
  line-height: 27px;
  color: var(--muted);
}

.prose > * + * {
  margin-top: 14px;
}

.prose h2,
.prose h3,
.prose h4 {
  color: var(--navy);
  margin-top: 32px;
}

.prose h2 {
  font-size: 32px;
  line-height: 44px;
}

.prose h3 {
  font-size: 22px;
  line-height: 32px;
}

.prose a {
  color: var(--royal);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.prose ul {
  padding-left: 0;
}

.prose ul li {
  position: relative;
  padding-left: 20px;
  margin-top: 8px;
}

.prose ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 11px;
  width: 8px;
  height: 1px;
  background: var(--royal);
}

.prose blockquote {
  margin: 24px 0;
  padding: 4px 0 4px 24px;
  border-left: 2px solid var(--cyan);
  font-size: 22px;
  line-height: 34px;
  color: var(--navy);
}

/* ==========================================================================
   4. Buttons & links
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 48px;
  padding: 0 20px;
  font-size: 14px;
  line-height: 20px;
  font-weight: 600;
  letter-spacing: 0.01em;
  border: 1px solid transparent;
  border-radius: 0;
  background: transparent;
  transition: background 0.2s var(--ease), border-color 0.2s var(--ease),
    color 0.2s var(--ease);
}

.btn svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  stroke-width: 1.6;
  fill: none;
  flex: 0 0 auto;
  transition: transform 0.2s var(--ease);
}

.btn:hover svg {
  transform: translateX(3px);
}

.btn-primary {
  background: var(--royal);
  color: #fff;
}

.btn-primary:hover {
  background: var(--royal-deep);
}

.btn-cyan {
  background: var(--cyan);
  color: var(--navy);
}

.btn-cyan:hover {
  background: var(--cyan-bright);
}

.btn-ghost {
  border-color: rgba(255, 255, 255, 0.45);
  color: #fff;
}

.btn-ghost:hover {
  border-color: var(--cyan);
  color: var(--cyan);
}

.btn-outline {
  border-color: var(--royal);
  color: var(--royal);
}

.btn-outline:hover {
  background: var(--royal);
  color: #fff;
}

.btn-sm {
  height: 38px;
  padding: 0 14px;
  font-size: 12px;
}

.btn-block {
  width: 100%;
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  line-height: 20px;
  font-weight: 600;
  color: var(--royal);
}

.link-arrow svg {
  width: 15px;
  height: 15px;
  stroke: currentColor;
  stroke-width: 1.7;
  fill: none;
  transition: transform 0.2s var(--ease);
  flex: 0 0 auto;
}

.link-arrow:hover svg {
  transform: translateX(4px);
}

.link-arrow--label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.section--dark .link-arrow,
.cta .link-arrow,
.why .link-arrow {
  color: var(--cyan);
}

/* ==========================================================================
   5. Utility bar & masthead
   ========================================================================== */
.utility {
  background: var(--surface);
  border-bottom: 1px solid rgba(38, 52, 69, 0.12);
  font-size: 12px;
  line-height: 18px;
  color: var(--muted);
}

.utility .wrap {
  min-height: 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.utility .group {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.utility a:hover {
  color: var(--royal);
}

.utility .sep {
  width: 3px;
  height: 3px;
  background: rgba(38, 52, 69, 0.35);
  border-radius: 50%;
  flex: 0 0 auto;
}

.utility .strong {
  color: var(--navy);
  font-weight: 600;
}

.nav {
  background: #fff;
  border-bottom: 1px solid var(--line);
  position: relative;
  z-index: 60;
}

.nav .wrap {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 0 0 auto;
}

.brand img {
  display: block;
  width: auto;
}

.brand .mark {
  height: 42px;
}

.brand .word {
  height: 30px;
}

.brand-text {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--navy);
}

.nav .wrap > nav {
  flex: 1;
  min-width: 0;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-left: 0;
}

.nav-links > li {
  position: relative;
}

.nav-links a {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 8px 0;
  font-size: 14px;
  line-height: 20px;
  font-weight: 500;
  color: var(--ink);
  border-bottom: 1px solid transparent;
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease);
}

.nav-links a:hover,
.nav-links .current-menu-item > a,
.nav-links .current_page_item > a,
.nav-links .current-menu-ancestor > a {
  color: var(--royal);
  border-bottom-color: var(--royal);
}

.nav-links .menu-item-has-children > a::after {
  content: "";
  width: 6px;
  height: 6px;
  border-right: 1.4px solid currentColor;
  border-bottom: 1.4px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  margin-left: 3px;
  opacity: 0.7;
}

.nav-links .sub-menu {
  position: absolute;
  top: calc(100% + 10px);
  left: -16px;
  min-width: 260px;
  padding: 10px 0;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 18px 40px rgba(16, 35, 63, 0.12);
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity 0.18s var(--ease), transform 0.18s var(--ease),
    visibility 0.18s;
  z-index: 70;
}

.nav-links li:hover > .sub-menu,
.nav-links li:focus-within > .sub-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav-links .sub-menu a {
  display: block;
  padding: 9px 18px;
  border: 0;
  font-size: 13px;
  line-height: 19px;
  color: var(--ink);
}

.nav-links .sub-menu a:hover,
.nav-links .sub-menu .current-menu-item > a {
  background: var(--surface);
  color: var(--royal);
  border: 0;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex: 0 0 auto;
}

.nav-search {
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--ink);
  border: 1px solid transparent;
}

.nav-search:hover {
  color: var(--royal);
  border-color: var(--line);
}

.nav-search svg {
  width: 19px;
  height: 19px;
  stroke: currentColor;
  stroke-width: 1.6;
  fill: none;
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line-strong);
  background: transparent;
  padding: 0;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  color: var(--navy);
}

.menu-toggle i {
  display: block;
  width: 17px;
  height: 1.5px;
  background: currentColor;
  transition: transform 0.2s var(--ease), opacity 0.2s var(--ease);
}

.menu-open .menu-toggle i:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}

.menu-open .menu-toggle i:nth-child(2) {
  opacity: 0;
}

.menu-open .menu-toggle i:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

/* Search panel */
.search-panel {
  display: none;
  border-bottom: 1px solid var(--line);
  background: #fff;
}

.search-panel.is-open {
  display: block;
}

.search-panel__form {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 18px 0;
}

.search-panel__form > svg {
  width: 20px;
  height: 20px;
  stroke: var(--ink);
  stroke-width: 1.6;
  fill: none;
  flex: 0 0 auto;
}

.search-panel__form input {
  flex: 1;
  min-width: 0;
  height: 44px;
  border: 0;
  border-bottom: 1px solid var(--line-strong);
  background: transparent;
  font-size: 15px;
  border-radius: 0;
  outline: none;
}

.search-panel__form .btn {
  height: 44px;
}

/* Mobile drawer */
.mobile-nav {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 80;
  background: #fff;
  padding: 88px 24px 32px;
  overflow-y: auto;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity 0.2s var(--ease), transform 0.2s var(--ease),
    visibility 0.2s;
}

.mobile-nav__inner {
  max-width: 520px;
  margin: 0 auto;
}

.mobile-nav__close {
  position: absolute;
  top: 22px;
  right: 20px;
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line-strong);
  background: #fff;
  color: var(--navy);
}

.mobile-nav__close svg {
  width: 18px;
  height: 18px;
}

.mobile-nav ul {
  border-top: 1px solid var(--line);
}

.mobile-nav li {
  border-bottom: 1px solid var(--line);
}

.mobile-nav a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
  font-size: 18px;
  font-weight: 500;
  color: var(--navy);
}

.mobile-nav .sub-menu {
  border-top: 1px solid var(--line-soft);
  padding-left: 16px;
}

.mobile-nav .sub-menu a {
  padding: 11px 0;
  font-size: 14px;
  color: var(--muted);
}

.mobile-nav .mobile-nav__cta {
  margin-top: 24px;
}

.mobile-nav .mobile-nav__cta .btn {
  width: 100%;
}

.mobile-nav__meta {
  margin-top: 28px;
  font-size: 12px;
  line-height: 22px;
  color: var(--faint);
}

.mobile-nav__meta a {
  color: var(--royal);
  font-size: 13px;
  padding: 2px 0;
  justify-content: flex-start;
}

.menu-open .mobile-nav {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* ==========================================================================
   6. Hero
   ========================================================================== */
.hero {
  position: relative;
  background: var(--navy);
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 80px 80px;
  -webkit-mask-image: linear-gradient(90deg, #000 0%, transparent 78%);
  mask-image: linear-gradient(90deg, #000 0%, transparent 78%);
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  right: -12%;
  top: -38%;
  width: 760px;
  height: 760px;
  background: radial-gradient(circle, rgba(0, 166, 199, 0.16), transparent 65%);
  pointer-events: none;
}

.hero .wrap {
  padding: 84px 0 88px;
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 64px;
  align-items: center;
  z-index: 1;
}

.hero-copy {
  position: relative;
  z-index: 2;
}

.hero h1 {
  margin: 22px 0 24px;
  font-size: 52px;
  line-height: 1.14;
  color: #fff;
  max-width: 640px;
}

.hero .lede {
  font-size: 19px;
  line-height: 31px;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.8);
  max-width: 560px;
}

.hero-actions {
  display: flex;
  gap: 14px;
  margin-top: 36px;
  flex-wrap: wrap;
}

.hero-meta {
  display: flex;
  margin-top: 48px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  padding-top: 24px;
  max-width: 560px;
}

.hero-meta > div {
  flex: 1;
  padding-right: 18px;
  border-right: 1px solid rgba(255, 255, 255, 0.12);
}

.hero-meta > div:nth-child(2) {
  padding-left: 18px;
}

.hero-meta > div:last-child {
  border-right: none;
  padding-right: 0;
  padding-left: 18px;
}

.hero-meta b {
  display: block;
  font-size: 20px;
  line-height: 26px;
  font-weight: 600;
  color: #fff;
}

.hero-meta span {
  display: block;
  margin-top: 3px;
  font-size: 10px;
  line-height: 15px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.64);
}

.hero-media {
  position: relative;
  z-index: 2;
}

.hero-frame {
  position: relative;
  border: 1px solid rgba(0, 166, 199, 0.65);
  padding: 10px;
  background: rgba(0, 166, 199, 0.03);
}

.hero-frame img {
  width: 100%;
  height: 432px;
  object-fit: cover;
  object-position: center 35%;
}

.hero-frame::after {
  content: "";
  position: absolute;
  inset: 10px;
  background: linear-gradient(
    90deg,
    rgba(16, 35, 63, 0.55) 0%,
    rgba(16, 35, 63, 0.08) 55%,
    transparent 100%
  );
  pointer-events: none;
}

.hero-cap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 12px;
  font-size: 10px;
  line-height: 15px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.64);
}

.hero-cap span:last-child {
  color: var(--cyan);
  text-align: right;
}

/* Service hero */
.hero--service .wrap {
  grid-template-columns: 1.05fr 0.95fr;
  gap: 64px;
  padding: 46px 0 56px;
}

.crumb {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 10.5px;
  line-height: 16px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.crumb a:hover {
  color: var(--royal);
}

.crumb .sep {
  color: rgba(38, 52, 69, 0.3);
}

.hero .crumb {
  color: rgba(255, 255, 255, 0.55);
}

.hero .crumb .sep {
  color: rgba(255, 255, 255, 0.3);
}

.hero .crumb a:hover {
  color: var(--cyan);
}

.hero--service h1 {
  margin: 14px 0;
  font-size: 48px;
  line-height: 58px;
  max-width: 600px;
}

.hero--service .lede {
  font-size: 19px;
  line-height: 30px;
  font-weight: 500;
  color: var(--cyan);
  max-width: 540px;
}

.hero--service .hero-body {
  font-size: 14px;
  line-height: 24px;
  color: rgba(255, 255, 255, 0.72);
  margin-top: 12px;
  max-width: 520px;
}

.hero--service .hero-actions {
  margin-top: 28px;
}

.hero--service .hero-frame {
  padding: 9px;
}

.hero--service .hero-frame img {
  height: 360px;
}

.hero--service .hero-cap {
  font-size: 9.5px;
  line-height: 14px;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.6);
}

/* ==========================================================================
   7. Page head (light)
   ========================================================================== */
.page-head {
  padding: 56px 0 52px;
  border-bottom: 1px solid var(--line);
}

.page-head .crumb {
  margin-bottom: 26px;
}

.page-head-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 372px;
  gap: 80px;
  align-items: end;
}

.page-head-grid--wide {
  grid-template-columns: minmax(0, 1fr);
}

.page-head-grid--index {
  align-items: start;
}

.page-head h1 {
  margin: 14px 0 18px;
  font-size: 48px;
  line-height: 58px;
  color: var(--navy);
  max-width: 760px;
}

.page-head .lede {
  font-size: 18px;
  line-height: 30px;
  color: var(--muted);
  max-width: 680px;
}

.page-head-aside {
  min-width: 0;
}

.index-panel {
  border: 1px solid var(--line);
  padding: 22px 24px 12px;
  background: #fff;
}

.index-panel .index-panel__title {
  font-size: 10px;
  line-height: 15px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 10px;
}

.index-panel a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  font-size: 12.5px;
  line-height: 18px;
  color: var(--ink);
  border-bottom: 1px solid var(--line-soft);
}

.index-panel a:last-child {
  border-bottom: none;
}

.index-panel .n {
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--royal);
  width: 18px;
  flex: 0 0 auto;
}

.index-panel a:hover {
  color: var(--royal);
}

.page-head-media {
  position: relative;
}

.page-head-media img {
  width: 100%;
  height: 290px;
  object-fit: cover;
}

.page-head-media .tag {
  position: absolute;
  left: 0;
  bottom: 0;
  background: var(--navy);
  color: #fff;
  font-size: 9.5px;
  line-height: 14px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 8px 12px;
}

.facts {
  border-left: 1px solid var(--line-strong);
  padding-left: 26px;
}

.fact {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding: 9px 0;
  border-bottom: 1px solid var(--line);
}

.fact:last-child {
  border-bottom: none;
}

.fact b {
  font-size: 22px;
  line-height: 28px;
  font-weight: 600;
  color: var(--navy);
  white-space: nowrap;
}

.fact span {
  font-size: 10px;
  line-height: 15px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  text-align: right;
  max-width: 160px;
}

.facts--inline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 32px;
  border-top: 1px solid var(--line-strong);
  border-left: 0;
  padding-left: 0;
}

.facts--inline .fact {
  display: block;
  padding: 14px 20px 18px 0;
  border-right: 1px solid var(--line);
  border-bottom: 0;
}

.facts--inline .fact:last-child {
  border-right: none;
}

.facts--inline .fact:nth-child(n + 2) {
  padding-left: 22px;
}

.facts--inline .fact .label {
  display: block;
  font-size: 9px;
  line-height: 14px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.facts--inline .fact .value {
  display: block;
  font-size: 13.5px;
  line-height: 21px;
  color: var(--navy);
  margin-top: 4px;
  text-transform: none;
  letter-spacing: 0;
  max-width: none;
  text-align: left;
}

/* ==========================================================================
   8. Footer
   ========================================================================== */
.footer {
  background: #fff;
  padding: 72px 0 0;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr 1fr;
  gap: 44px;
}

.footer-brand .brand {
  margin-bottom: 18px;
}

.footer-brand .brand .mark {
  height: 38px;
}

.footer-brand .brand .word {
  height: 27px;
}

.footer-brand p {
  font-size: 13px;
  line-height: 22px;
  color: rgba(38, 52, 69, 0.68);
  max-width: 290px;
}

.footer-brand .addr {
  margin-top: 16px;
  font-size: 12px;
  line-height: 20px;
  color: rgba(38, 52, 69, 0.72);
}

.footer-brand .contact {
  margin-top: 10px;
  font-size: 12px;
  line-height: 21px;
  color: var(--royal);
}

.footer-brand .contact a {
  display: block;
  padding: 3px 0;
}

.fcol h3, .fcol h4 {
  font-size: 11px;
  line-height: 16px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--navy);
  border-top: 1px solid var(--line-strong);
  padding-top: 14px;
  margin-bottom: 14px;
}

.fcol ul li a,
.fcol > a {
  display: block;
  font-size: 13px;
  line-height: 30px;
  color: rgba(38, 52, 69, 0.7);
}

.fcol ul li a:hover,
.fcol > a:hover {
  color: var(--royal);
}

.legal {
  margin-top: 56px;
  border-top: 1px solid var(--line);
  padding: 20px 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  font-size: 11px;
  line-height: 18px;
  color: rgba(38, 52, 69, 0.68);
}

.legal .links {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.legal .links li {
  display: block;
  list-style: none;
}

.legal .links > ul {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  margin: 0;
  padding: 0;
  list-style: none;
}

.legal a:hover {
  color: var(--royal);
}

/* ==========================================================================
   9. WordPress basics — blog, search, 404
   ========================================================================== */
.page-default {
  padding: 72px 0 96px;
}

.page-default .prose {
  max-width: 760px;
}

.entry-header {
  margin-bottom: 28px;
}

.entry-header h1 {
  font-size: 46px;
  line-height: 56px;
  color: var(--navy);
  margin: 12px 0 0;
}

.entry-meta {
  margin-top: 12px;
  font-size: 12px;
  line-height: 20px;
  color: var(--muted);
  letter-spacing: 0.04em;
}

.entry-meta a {
  color: var(--royal);
}

.post-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.post-card {
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  background: #fff;
}

.post-card__media {
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--navy);
}

.post-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s var(--ease);
}

.post-card:hover .post-card__media img {
  transform: scale(1.03);
}

.post-card__body {
  padding: 22px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.post-card__cat {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--royal);
}

.post-card h2 {
  margin: 10px 0 8px;
  font-size: 20px;
  line-height: 30px;
  color: var(--navy);
}

.post-card p {
  font-size: 13px;
  line-height: 21px;
  color: var(--muted);
}

.post-card .link-arrow {
  margin-top: 16px;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.07em;
}

.entry-content {
  font-size: 16px;
  line-height: 27px;
  color: var(--muted);
}

.entry-content > * + * {
  margin-top: 20px;
}

.entry-content h2,
.entry-content h3 {
  color: var(--navy);
}

.pagination,
.nav-links.posts {
  margin-top: 48px;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  border-top: 1px solid var(--line);
  padding-top: 24px;
}

.pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  border: 1px solid var(--line);
  font-size: 13px;
  color: var(--ink);
}

.pagination .page-numbers.current,
.pagination .page-numbers:hover {
  background: var(--navy);
  border-color: var(--navy);
  color: #fff;
}

.comment-list .comment {
  border-bottom: 1px solid var(--line);
  padding: 20px 0;
}

.comment-list .children {
  list-style: none;
  padding-left: 28px;
}

.comment-form label {
  display: block;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--faint);
  margin-bottom: 6px;
}

.comment-form input:not([type="submit"]):not([type="checkbox"]),
.comment-form textarea {
  width: 100%;
  border: 1px solid var(--line-strong);
  background: #fff;
  padding: 10px 12px;
  border-radius: 0;
  font-size: 14px;
}

.comment-form textarea {
  min-height: 120px;
}

.comment-form .form-submit {
  margin-top: 16px;
}

.not-found {
  padding: 96px 0 120px;
  text-align: center;
}
.not-found .eyebrow {
  justify-content: center;
}

.not-found h1 {
  font-size: 96px;
  line-height: 1;
  color: var(--navy);
  margin: 18px 0 14px;
}

.not-found p {
  color: var(--muted);
  max-width: 480px;
  margin: 0 auto 26px;
}

.search-form {
  display: flex;
  max-width: 520px;
  margin: 0 auto;
}

.search-form input[type="search"] {
  flex: 1;
  height: 48px;
  border: 1px solid var(--line-strong);
  border-right: 0;
  padding: 0 14px;
  background: #fff;
  font-size: 14px;
  border-radius: 0;
}

.search-form button {
  height: 48px;
  border: 0;
  background: var(--royal);
  color: #fff;
  padding: 0 20px;
  font-weight: 600;
  font-size: 13px;
}

.search-form button:hover {
  background: var(--royal-deep);
}

/* ==========================================================================
   10. Elementor page resets
   ========================================================================== */
.indetix-elementor main > .elementor {
  width: 100%;
}

.indetix-elementor .elementor-section.elementor-section-boxed > .elementor-container {
  max-width: var(--wrap);
}

.indetix-elementor .e-con,
.indetix-elementor .elementor-section {
  --gap: 0;
}

.indetix-elementor .indetix-section-wrap {
  width: 100%;
}

.elementor-editor-active .indetix-section-wrap {
  min-height: 24px;
}

/* Default Elementor widget polish */
.elementor-widget-heading .elementor-heading-title {
  font-family: var(--font);
}

.elementor-button {
  border-radius: 0 !important;
}

.elementor-widget-text-editor {
  color: var(--muted);
  font-family: var(--font);
  font-size: 16px;
  line-height: 27px;
}

/* ==========================================================================
   11. Responsive
   ========================================================================== */
@media (max-width: 1200px) {
  .utility .wrap,
  .nav .wrap {
    width: calc(100% - 64px);
  }

  .nav-links {
    gap: 16px;
  }
}

@media (max-width: 1150px) {
  .hero .wrap,
  .hero--service .wrap {
    grid-template-columns: 1fr;
    gap: 48px;
    padding: 64px 0 72px;
  }

  .hero h1 {
    font-size: 46px;
    max-width: 720px;
  }

  .hero--service h1 {
    font-size: 42px;
    line-height: 52px;
  }

  .hero-frame img,
  .hero--service .hero-frame img {
    height: 380px;
  }

  .hero-media {
    max-width: 720px;
  }
}

@media (max-width: 1080px) {
  .page-head-grid {
    grid-template-columns: 1fr;
    gap: 40px;
    align-items: start;
  }

  .page-head-aside .facts {
    border-left: 0;
    padding-left: 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0 32px;
    border-top: 1px solid var(--line-strong);
  }

  .page-head-aside .fact:last-child {
    border-bottom: 1px solid var(--line);
  }

  .index-panel {
    max-width: 520px;
  }

  .footer-top {
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 36px;
  }
}

@media (max-width: 960px) {
  .nav-links,
  .nav-actions .nav-search,
  .nav-actions .btn {
    display: none;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .mobile-nav {
    display: block;
  }

  .utility .desktop-only {
    display: none;
  }

  .section {
    padding: 72px 0;
  }

  .post-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  :root {
    --gutter: 16px;
  }

  body {
    font-size: 14px;
  }

  .wrap {
    width: calc(100% - 40px);
  }

  .utility {
    font-size: 10px;
    line-height: 15px;
  }

  .utility .wrap {
    min-height: 34px;
  }

  .utility .group {
    gap: 8px;
  }

  .nav .wrap {
    min-height: 64px;
    gap: 12px;
  }

  .brand {
    gap: 9px;
  }

  .brand .mark {
    height: 32px;
  }

  .brand .word {
    height: 22px;
  }

  .hero .wrap,
  .hero--service .wrap {
    padding: 42px 0 46px;
    gap: 30px;
  }

  .hero::before {
    background-size: 56px 56px;
    -webkit-mask-image: linear-gradient(180deg, #000, transparent 80%);
    mask-image: linear-gradient(180deg, #000, transparent 80%);
  }

  .hero::after {
    right: -40%;
    top: -10%;
    width: 420px;
    height: 420px;
  }

  .eyebrow {
    gap: 8px;
    font-size: 10px;
    line-height: 15px;
    letter-spacing: 0.12em;
  }

  .eyebrow::before {
    width: 18px;
  }

  .hero h1,
  .hero--service h1 {
    margin: 16px 0;
    font-size: 34px;
    line-height: 1.2;
  }

  .hero .lede,
  .hero--service .lede {
    font-size: 15px;
    line-height: 25px;
    font-weight: 300;
  }

  .hero--service .lede {
    font-weight: 500;
  }

  .hero-actions {
    flex-direction: column;
    gap: 10px;
    margin-top: 24px;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .hero-meta {
    margin-top: 30px;
    padding-top: 18px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
  }

  .hero-meta > div,
  .hero-meta > div:nth-child(2),
  .hero-meta > div:last-child {
    padding: 0 10px;
  }

  .hero-meta > div:first-child {
    padding-left: 0;
  }

  .hero-meta > div:nth-child(2) {
    padding-left: 12px;
  }

  .hero-meta > div:last-child {
    padding-right: 0;
    padding-left: 12px;
  }

  .hero-meta b {
    font-size: 16px;
    line-height: 22px;
  }

  .hero-meta span {
    font-size: 8.5px;
    line-height: 13px;
    letter-spacing: 0.06em;
  }

  .hero-media {
    margin-top: 28px;
  }

  .hero-frame {
    padding: 7px;
  }

  .hero-frame img,
  .hero--service .hero-frame img {
    height: 220px;
    object-position: center 35%;
  }

  .hero-frame::after {
    inset: 7px;
  }

  .hero-cap {
    margin-top: 9px;
    font-size: 8.5px;
    line-height: 13px;
    letter-spacing: 0.1em;
  }

  .page-head {
    padding: 36px 0 32px;
  }

  .page-head .crumb {
    margin-bottom: 20px;
  }

  .page-head h1 {
    margin: 12px 0 14px;
    font-size: 32px;
    line-height: 40px;
  }

  .page-head .lede {
    font-size: 15px;
    line-height: 25px;
  }

  .facts--inline {
    grid-template-columns: 1fr 1fr;
    margin-top: 24px;
  }

  .facts--inline .fact {
    padding: 12px 12px 14px 0;
  }

  .facts--inline .fact:nth-child(n + 2) {
    padding-left: 14px;
  }

  .facts--inline .fact:nth-child(2n) {
    border-right: 0;
  }

  .section {
    padding: 56px 0;
  }

  .section--tight {
    padding: 44px 0;
  }

  .footer {
    padding: 48px 0 0;
  }

  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 30px 24px;
  }

  .footer-brand {
    grid-column: 1 / 3;
  }

  .footer-brand .brand .mark {
    height: 32px;
  }

  .footer-brand .brand .word {
    height: 22px;
  }

  .footer-brand p {
    font-size: 12px;
    line-height: 20px;
  }

  .fcol h3, .fcol h4 {
    font-size: 10px;
    line-height: 15px;
    padding-top: 12px;
    margin-bottom: 10px;
  }

  .fcol ul li a,
  .fcol > a {
    font-size: 12px;
    line-height: 27px;
  }

  .legal {
    margin-top: 34px;
    padding: 16px 0 20px;
    font-size: 10px;
    line-height: 17px;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .legal .links {
    gap: 14px;
  }

  .page-default {
    padding: 48px 0 64px;
  }

  .entry-header h1 {
    font-size: 32px;
    line-height: 40px;
  }

  .post-grid {
    grid-template-columns: 1fr;
  }

  .not-found h1 {
    font-size: 64px;
  }
}

@media (max-width: 420px) {
  .utility .group:last-child {
    display: none;
  }

  .hero h1 {
    font-size: 30px;
  }

  .hero-actions .btn {
    padding: 0 14px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
