/*
Theme Name: TechNet Advanced
Theme URI: https://technetsolutions.net/
Author: TechNet Solutions
Description: A modern managed IT services WordPress theme for TechNet Solutions.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 7.4
License: GPL-2.0-or-later
Text Domain: technet-advanced
*/

:root {
  --ink: #132034;
  --muted: #5f6f84;
  --paper: #ffffff;
  --soft: #f4f7fb;
  --line: #dbe4ef;
  --blue: #135dd8;
  --cyan: #00a9c7;
  --green: #36a66a;
  --amber: #f2a93b;
  --navy: #0a1730;
  --shadow: 0 18px 45px rgba(19, 32, 52, 0.12);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  background: var(--paper);
}

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

img {
  max-width: 100%;
  height: auto;
}

.container {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 12px;
  z-index: 10;
  padding: 10px 14px;
  background: var(--paper);
  border: 1px solid var(--line);
}

.skip-link:focus {
  left: 12px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid rgba(219, 228, 239, 0.85);
  backdrop-filter: blur(16px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 210px;
  font-weight: 800;
  letter-spacing: 0;
}

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  color: var(--paper);
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  border-radius: 8px;
  font-size: 18px;
}

.brand span:last-child {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.main-navigation {
  display: flex;
  align-items: center;
  gap: 22px;
}

.main-navigation ul {
  display: flex;
  align-items: center;
  gap: 22px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.main-navigation a {
  color: var(--muted);
  font-size: 15px;
  font-weight: 700;
}

.main-navigation a:hover,
.main-navigation .current-menu-item > a {
  color: var(--blue);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  color: var(--ink);
  font-size: 20px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 800;
  line-height: 1;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button-primary {
  color: var(--paper);
  background: var(--blue);
  box-shadow: 0 12px 25px rgba(19, 93, 216, 0.28);
}

.button-consultation {
  background: var(--green);
  box-shadow: 0 12px 25px rgba(54, 166, 106, 0.28);
}

.button-secondary {
  color: var(--ink);
  background: var(--paper);
  border-color: var(--line);
}

.button-dark {
  color: var(--paper);
  background: var(--navy);
}

.hero {
  position: relative;
  overflow: hidden;
  color: var(--paper);
  background:
    radial-gradient(circle at 18% 24%, rgba(0, 169, 199, 0.28), transparent 30%),
    radial-gradient(circle at 78% 18%, rgba(54, 166, 106, 0.22), transparent 28%),
    linear-gradient(135deg, #081425 0%, #10284d 52%, #153b6f 100%);
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto -8% -34% 48%;
  height: 520px;
  background:
    linear-gradient(90deg, transparent 0 12%, rgba(255,255,255,0.10) 12% 13%, transparent 13% 100%),
    linear-gradient(0deg, transparent 0 12%, rgba(255,255,255,0.08) 12% 13%, transparent 13% 100%);
  background-size: 64px 64px;
  transform: rotate(-10deg);
  opacity: 0.75;
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 430px;
  gap: 54px;
  align-items: center;
  min-height: 680px;
  padding: 82px 0;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 18px;
  color: #9fe8ff;
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: var(--green);
  box-shadow: 0 0 0 6px rgba(54, 166, 106, 0.2);
}

.hero h1 {
  max-width: 780px;
  margin: 0;
  font-size: clamp(44px, 6vw, 78px);
  line-height: 0.98;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 680px;
  margin: 24px 0 0;
  color: #d7e7f7;
  font-size: 19px;
}

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

.trust-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 42px;
}

.trust-item {
  padding: 15px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.07);
}

.trust-item strong {
  display: block;
  color: var(--paper);
  font-size: 24px;
  line-height: 1;
}

.trust-item span {
  display: block;
  margin-top: 6px;
  color: #c7d8ea;
  font-size: 13px;
}

.ops-panel {
  position: relative;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 26px 60px rgba(0, 0, 0, 0.24);
}

.ops-screen {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  background: #08111f;
}

.ops-screen-header {
  display: flex;
  gap: 7px;
  padding: 12px;
  background: #111e32;
}

.ops-screen-header span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #f26b5e;
}

.ops-screen-header span:nth-child(2) {
  background: var(--amber);
}

.ops-screen-header span:nth-child(3) {
  background: var(--green);
}

.ops-body {
  padding: 22px;
}

.status-line {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 13px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
  color: #dceaff;
  font-size: 14px;
}

.status-line:last-child {
  border-bottom: 0;
}

.status-pill {
  min-width: 78px;
  padding: 4px 8px;
  border-radius: 999px;
  color: #d7ffea;
  background: rgba(54, 166, 106, 0.18);
  text-align: center;
  font-size: 12px;
  font-weight: 900;
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 14px;
}

.metric {
  padding: 14px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.08);
}

.metric strong {
  display: block;
  font-size: 25px;
}

.metric span {
  color: #b9ccdf;
  font-size: 12px;
}

.section {
  padding: 88px 0;
}

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

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 34px;
}

.section-heading h2 {
  max-width: 680px;
  margin: 0;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.06;
}

.section-heading p {
  max-width: 430px;
  margin: 0;
  color: var(--muted);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.service-card {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: 0 8px 24px rgba(19, 32, 52, 0.05);
}

.service-icon {
  display: grid;
  width: 44px;
  height: 44px;
  margin-bottom: 18px;
  place-items: center;
  color: var(--paper);
  border-radius: 8px;
  background: var(--blue);
  font-weight: 900;
}

.service-card:nth-child(2n) .service-icon {
  background: var(--cyan);
}

.service-card:nth-child(3n) .service-icon {
  background: var(--green);
}

.service-card h3 {
  margin: 0 0 10px;
  font-size: 21px;
  line-height: 1.2;
}

.service-card p {
  margin: 0;
  color: var(--muted);
}

.process {
  display: grid;
  grid-template-columns: 0.82fr 1fr;
  gap: 44px;
  align-items: center;
}

.process-copy h2 {
  margin: 0 0 18px;
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.08;
}

.process-copy p {
  margin: 0 0 26px;
  color: var(--muted);
}

.steps {
  display: grid;
  gap: 16px;
}

.step {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 16px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
}

.step-number {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  color: var(--paper);
  border-radius: 8px;
  background: var(--navy);
  font-weight: 900;
}

.step h3 {
  margin: 0 0 4px;
  font-size: 18px;
}

.step p {
  margin: 0;
  color: var(--muted);
}

.industries {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.industry {
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  background: var(--paper);
  font-weight: 800;
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.testimonial {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
}

.testimonial p {
  margin: 0 0 18px;
  color: var(--muted);
}

.testimonial strong {
  color: var(--ink);
}

.cta-band {
  color: var(--paper);
  background: linear-gradient(135deg, var(--navy), #173d73);
}

.cta-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 28px;
  align-items: center;
  padding: 64px 0;
}

.cta-inner h2 {
  margin: 0;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.08;
}

.cta-inner p {
  max-width: 720px;
  margin: 14px 0 0;
  color: #d7e7f7;
}

.site-footer {
  color: #cbd8e7;
  background: #08111f;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr repeat(3, 1fr);
  gap: 34px;
  padding: 58px 0;
}

.footer-grid h3,
.footer-grid h4 {
  margin: 0 0 14px;
  color: var(--paper);
}

.footer-grid p,
.footer-grid li {
  margin: 0;
  color: #aebdd0;
}

.footer-grid ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-bottom {
  padding: 18px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: #8fa0b4;
  font-size: 14px;
}

.page-hero {
  padding: 74px 0;
  color: var(--paper);
  background: linear-gradient(135deg, var(--navy), #174072);
}

.page-hero h1 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(36px, 5vw, 62px);
  line-height: 1.05;
}

.entry-content {
  padding: 72px 0;
}

.entry-content h2,
.entry-content h3 {
  line-height: 1.18;
}

.entry-content a {
  color: var(--blue);
  font-weight: 800;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(260px, 0.78fr) minmax(0, 1.22fr);
  gap: 28px;
  align-items: start;
}

.contact-panel,
.contact-form-wrap {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: 0 8px 24px rgba(19, 32, 52, 0.05);
}

.contact-panel h2 {
  margin: 0 0 12px;
  font-size: 28px;
  line-height: 1.12;
}

.contact-panel p {
  margin: 0 0 22px;
  color: var(--muted);
}

.contact-list {
  display: grid;
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.contact-list strong,
.contact-list span,
.contact-list a {
  display: block;
}

.contact-list strong {
  color: var(--ink);
  font-size: 13px;
  text-transform: uppercase;
}

.contact-list span,
.contact-list a {
  color: var(--muted);
}

.contact-form-wrap input,
.contact-form-wrap textarea,
.contact-form-wrap select {
  width: 100%;
  max-width: 100%;
  min-height: 44px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  font: inherit;
  background: var(--paper);
}

.contact-form-wrap textarea {
  min-height: 140px;
  resize: vertical;
}

.contact-form-wrap input[type="submit"],
.contact-form-wrap button[type="submit"],
.contact-form-wrap .wp-block-button__link {
  width: auto;
  min-height: 44px;
  padding: 0 18px;
  border: 0;
  border-radius: 8px;
  color: var(--paper);
  background: var(--blue);
  font-weight: 800;
  cursor: pointer;
}

@media (max-width: 920px) {
  .nav-toggle {
    display: inline-grid;
    place-items: center;
  }

  .main-navigation {
    position: absolute;
    left: 20px;
    right: 20px;
    top: 76px;
    display: none;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--paper);
    box-shadow: var(--shadow);
  }

  .main-navigation.is-open {
    display: block;
  }

  .main-navigation ul {
    display: grid;
    gap: 12px;
  }

  .header-actions .button {
    display: none;
  }

  .hero-inner,
  .process,
  .contact-layout,
  .cta-inner,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero-inner {
    min-height: 0;
  }

  .ops-panel {
    max-width: 560px;
  }

  .services-grid,
  .testimonial-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .section-heading {
    display: block;
  }

  .section-heading p {
    margin-top: 14px;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(100% - 28px, 1120px);
  }

  .brand {
    min-width: 0;
  }

  .brand span:last-child {
    display: none;
  }

  .hero-inner {
    gap: 34px;
    padding: 58px 0;
  }

  .trust-row,
  .metric-grid,
  .services-grid,
  .testimonial-grid {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 62px 0;
  }

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