/* ==========================================================================
   MUGHAL WIRE — CLEAN SITE STYLES
   Search "EDIT:" to find the safest values to change.
   ========================================================================== */

/* EDIT: BRAND COLORS */
:root {
  --accent: #DDB515;
  --blue: #DDB515;
  --blue-dark: #8F741E;
  --ink: #1e1e1e;
  --text: #424242;
  --paper: #ffffff;
  --soft: #f3f3f3;
  --header-height: 140px;
  --hero-card-top: 340px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font-family: "Open Sans", Arial, sans-serif;
  font-size: 16px;
}

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

a {
  color: inherit;
}

h1,
h2,
h3 {
  color: var(--ink);
  font-family: "Open Sans Condensed", "Arial Narrow", Arial, sans-serif;
  font-weight: 700;
  line-height: 1.08;
  text-transform: uppercase;
}

.content-width {
  width: min(1180px, 90%);
  margin-inline: auto;
}

/* ==========================================================================
   HEADER
   ========================================================================== */

/* EDIT: TRANSPARENT HEADER */
.site-header {
  position: fixed;
  z-index: 1000;
  inset: 0 0 auto;
  min-height: 140px;
  background: transparent;
  transition: background-color 180ms ease, box-shadow 180ms ease;
}

/* EDIT: STICKY HEADER — preserves the original single-row layout. */
.site-header.sticky {
  background: rgb(255 255 255 / 98%);
  box-shadow: 0 3px 16px rgb(0 0 0 / 10%);
}

/* EDIT: HEADER SPACING */
.header-inner {
  display: flex;
  width: min(1460px, 92%);
  height: 140px;
  margin-inline: auto;
  align-items: center;
  justify-content: space-between;
}

/* EDIT: HEADER LOGO SIZE */
.header-logo {
  display: flex;
  width: 350px;
  flex: 0 0 350px;
  align-items: center;
}

.header-logo img {
  display: block;
  width: 340px;
  max-height: 112px;
  /* EDIT: HEADER LOGO VIDEO COLOR — this filter turns the complete logo white. */
  filter: brightness(0) invert(1);
  object-fit: contain;
  transition: filter 220ms ease;
}

/* EDIT: HEADER LOGO SCROLLED COLOR — restores the PNG's original colors. */
.site-header.sticky .header-logo img {
  filter: none;
}

.main-navigation {
  display: flex;
  align-items: stretch;
  justify-content: flex-end;
}

.main-navigation a {
  display: flex;
  height: 140px;
  align-items: center;
  padding-inline: 12px;
  color: #fff;
  font-family: "Open Sans Condensed", "Arial Narrow", Arial, sans-serif;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 1px;
  text-decoration: none;
  text-transform: uppercase;
  transition: color 160ms ease;
}

.main-navigation a:hover,
.main-navigation a.active {
  color: var(--blue);
}

.site-header.sticky .main-navigation a {
  color: var(--ink);
}

.site-header.sticky .main-navigation a:hover,
.site-header.sticky .main-navigation a.active {
  color: var(--blue);
}

/* EDIT: OUR SERVICES DROPDOWN — clean replacement for the old plugin menu. */
.nav-services {
  position: relative;
  display: flex;
}

.nav-services > a {
  gap: 8px;
}

/* EDIT: OUR SERVICES ARROW SIZE — change 10px to resize the full chevron. */
.nav-chevron {
  display: inline-block;
  width: 10px;
  height: 10px;
  flex: 0 0 10px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
}

/* Keeps the same full-size arrow on the site's older inner-page headers. */
.arrow {
  display: inline-block;
  width: 10px;
  height: 10px;
  margin-left: 8px;
  overflow: hidden;
  font-size: 0;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
}

.services-dropdown {
  position: fixed;
  top: 140px;
  left: 50%;
  display: none;
  width: min(1500px, 94vw);
  padding: 8px;
  background: #fff;
  border-top: 4px solid var(--blue);
  box-shadow: 0 12px 28px rgb(0 0 0 / 18%);
  transform: translateX(-50%);
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  max-height: calc(100vh - 155px);
  overflow-x: hidden;
  overflow-y: auto;
  z-index: 1100;
}

.dropdown-service-card {
  position: relative;
  z-index: 1;
  min-width: 0;
  overflow: hidden;
  background: #f1f1f1;
  opacity: 1;
  filter: none;
  transform: translateZ(0) scale(1);
  transition: opacity .24s ease, filter .24s ease, transform .24s cubic-bezier(.22, 1, .36, 1), box-shadow .24s ease;
}

.services-dropdown:has(.dropdown-service-card:hover) .dropdown-service-card:not(:hover) {
  opacity: .58;
  filter: blur(1px) saturate(.8);
  transform: scale(.985);
}

.services-dropdown .dropdown-service-card:hover {
  z-index: 3;
  transform: translateY(-2px) scale(1.012);
  box-shadow: 0 12px 28px rgb(0 0 0 / 20%), 0 0 0 1px rgb(221 181 21 / 72%);
}

.dropdown-card-main {
  display: grid;
  min-height: 128px;
  grid-template-columns: 44% 56%;
  text-align: left;
}

.dropdown-card-main img {
  display: block;
  width: 100%;
  height: 128px;
  object-fit: cover;
}

.dropdown-card-main > div {
  min-width: 0;
  padding: 8px 10px;
  text-align: left;
  white-space: normal;
}

.dropdown-card-main h3 {
  margin: 0 0 4px;
  font-size: 20px;
  overflow-wrap: anywhere;
  white-space: normal;
}

.dropdown-card-main p {
  margin: 0;
  color: #555;
  font-size: 14px;
  line-height: 1.3;
  overflow: visible;
  overflow-wrap: anywhere;
  text-align: left;
  white-space: normal;
}

.services-dropdown .dropdown-service-card > a,
.site-header.sticky .services-dropdown .dropdown-service-card > a {
  display: flex;
  height: 40px;
  min-height: 40px;
  align-items: center;
  justify-content: center;
  padding: 0 12px;
  background: #ddd;
  color: var(--ink);
  font-size: 14px;
  line-height: 1;
}

.services-dropdown .dropdown-service-card > a:hover,
.site-header.sticky .services-dropdown .dropdown-service-card > a:hover {
  background: var(--ink);
  color: #fff;
}

.nav-services:hover .services-dropdown,
.nav-services:focus-within .services-dropdown {
  display: grid;
}

/* EDIT: HEADER CTA BUTTON — change its words in index.html under HEADER CTA WORDS. */
.main-navigation .nav-cta,
.site-header.sticky .main-navigation .nav-cta {
  height: 42px;
  margin: auto 0 auto 14px;
  padding-inline: 18px;
  background: var(--ink);
  color: #fff;
}

.main-navigation .nav-cta:hover,
.site-header.sticky .main-navigation .nav-cta:hover {
  background: #000;
  color: #fff;
}

/* Keeps the CTA words visible when the quote page marks this link active. */
.main-navigation .nav-cta.active,
.site-header.sticky .main-navigation .nav-cta.active {
  color: #fff;
}

.menu-toggle {
  display: none;
}

/* ==========================================================================
   BUTTONS
   ========================================================================== */

/* EDIT: BUTTON SIZE */
.button {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 17px;
  border: 0;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: .45px;
  line-height: 1;
  text-decoration: none;
  text-transform: uppercase;
  white-space: nowrap;
  transition: filter 160ms ease, transform 160ms ease;
}

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

.button-blue {
  background: var(--ink);
  color: #fff;
}

/* ==========================================================================
   HERO
   ========================================================================== */

/* EDIT: HERO HEIGHT */
.hero {
  position: relative;
  display: flex;
  min-height: 790px;
  align-items: flex-start;
  overflow: hidden;
  background: #111 url("legacy-assets/wp-content/uploads/2022/07/Screen-Shot-2022-07-25-at-14.18.15.png") center / cover no-repeat;
}

.hero-video,
.hero-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-video {
  object-fit: cover;
}

.hero-overlay {
  background: rgb(0 0 0 / 58%);
}

/* EDIT: HERO TEXT POSITION */
.hero-content {
  position: relative;
  z-index: 1;
  padding-top: var(--hero-card-top);
  color: #fff;
}

.hero-content h1 {
  max-width: 590px;
  margin: 0;
  color: #fff;
  font-size: clamp(48px, 4vw, 72px);
}

.hero-content > p {
  margin: 18px 0 0;
  font-size: 24px;
  font-weight: 300;
  letter-spacing: 1.2px;
  text-transform: uppercase;
}


/* ==========================================================================
   EXPERT CONTACT CARD
   ========================================================================== */

.expert-section {
  position: relative;
  z-index: 3;
  height: 0;
  /* Allows clicks to pass through the empty half of the overlapping grid. */
  pointer-events: none;
}

.expert-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 40px;
}

.expert-card {
  position: relative;
  min-height: 500px;
  transform: translateY(calc(var(--hero-card-top) - 790px));
  padding: 44px 28px;
  background: var(--ink);
  color: #fff;
  pointer-events: auto;
}

.expert-card .short-rule,
.expert-card .eyebrow {
  color: var(--blue);
}

.short-rule {
  display: block;
  width: 50px;
  border-top: 3px solid currentColor;
}

.eyebrow,
.panel-kicker {
  margin: 16px 0 10px;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.expert-card h2 {
  margin: 24px 0;
  color: #fff;
  font-size: 31px;
}

.contact-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-top: 15px;
  line-height: 1.55;
}

.contact-list li > :first-child {
  width: 22px;
  flex: 0 0 22px;
  color: inherit;
  font-weight: 800;
  text-align: center;
}

.contact-list a {
  color: inherit;
  text-decoration: none;
}

/* ==========================================================================
   SERVICES
   ========================================================================== */

.services-section {
  padding: 75px 0;
  background: var(--soft);
}

.services-layout {
  display: grid;
  grid-template-columns: 34% 66%;
}

.service-tabs {
  background: #e3e3e3;
}

.service-tab {
  display: block;
  width: 100%;
  padding: 24px 55px 24px 24px;
  border: 0;
  border-bottom: 1px solid rgb(0 0 0 / 7%);
  background: transparent;
  color: var(--text);
  font-family: "Open Sans Condensed", "Arial Narrow", Arial, sans-serif;
  font-size: 19px;
  font-weight: 700;
  text-align: left;
  text-transform: uppercase;
  cursor: pointer;
  clip-path: polygon(0 0, calc(100% - 35px) 0, calc(100% - 35px) 100%, 0 100%);
}

.service-tab.active {
  background: var(--ink);
  color: #fff;
  clip-path: polygon(0 0, calc(100% - 35px) 0, 100% 50%, calc(100% - 35px) 100%, 0 100%);
}

.service-panel {
  min-width: 0;
  padding: 0 25px 30px;
}

.service-panel-heading {
  display: flex;
  min-height: 92px;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.service-panel-heading h2 {
  margin: 0;
  font-size: 46px;
}

.service-panel-heading .button {
  flex: 0 0 auto;
}

.service-panel .lead {
  line-height: 1.75;
}

.feature-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 24px;
  padding: 0;
  list-style: none;
}

.feature-list li {
  padding: 11px 0;
  border-bottom: 1px solid #d8d8d8;
  font-family: "Open Sans Condensed", "Arial Narrow", Arial, sans-serif;
  font-weight: 700;
  text-transform: uppercase;
}

.feature-list li::before {
  margin-right: 9px;
  color: var(--blue);
  content: "✓";
}

/* NETLIFY-FORM-SPAM-FIELD: visually hidden honeypot retained for bot filtering. */
.netlify-honeypot {
  position:absolute !important;
  width:1px !important;
  height:1px !important;
  margin:-1px !important;
  padding:0 !important;
  overflow:hidden !important;
  clip:rect(0 0 0 0) !important;
  white-space:nowrap !important;
  border:0 !important;
}

.service-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 22px;
}

.service-gallery img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

/* ==========================================================================
   WHY CHOOSE
   ========================================================================== */

.why-section {
  padding: 85px 0;
  overflow: hidden;
}

.why-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  align-items: stretch;
  gap: 70px;
}

/* EDIT: WHY CHOOSE LOGO VISIBLE SIZE — change 760px to resize the actual emblem. */
.why-logo {
  position: relative;
  min-height: 100%;
  overflow: hidden;
}

/* The PNG contains transparent padding, so it is enlarged inside a cropped box. */
.why-logo img {
  position: absolute;
  top: 50%;
  left: 50%;
  display: block;
  width: 760px;
  max-width: none;
  height: auto;
  transform: translate(-50%, -50%);
}

.why-copy h2 {
  margin: 0 0 24px;
  font-size: 50px;
}

.why-copy p {
  max-width: 760px;
  line-height: 1.8;
}

.why-copy ul {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  margin: 25px 0 5px;
  padding: 0;
  list-style: none;
}

.why-copy li {
  font-family: "Open Sans Condensed", "Arial Narrow", Arial, sans-serif;
  font-weight: 700;
  text-transform: uppercase;
}

.why-copy li::before {
  margin-right: 8px;
  color: var(--blue);
  content: "✓";
}

/* ==========================================================================
   CONTACT MAP
   ========================================================================== */

.map-section {
  position: relative;
  min-height: 640px;
  padding: 80px max(6vw, 30px);
  background: #707980 url("pakistan-network-map.png") center / cover no-repeat;
}

.map-overlay {
  position: absolute;
  inset: 0;
  background: rgb(65 74 81 / 36%);
}

.map-card {
  position: relative;
  width: min(475px, 100%);
  padding: 44px 28px;
  background: var(--ink);
  color: #fff;
}

.map-card .short-rule,
.map-card .eyebrow {
  color: var(--blue);
}

.map-card h2 {
  margin: 22px 0;
  color: #fff;
  font-size: 35px;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */

.site-footer {
  background: var(--ink);
  color: #d2d2d2;
}

.footer-cta {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  min-height: 290px;
  align-items: center;
  gap: 60px;
  padding: 55px 0;
}

.footer-logo {
  display: block;
  width: 320px;
  max-height: 190px;
  margin-inline: auto;
  object-fit: contain;
}

.footer-feature {
  display: flex;
  align-items: center;
  color: #fff;
  text-align: center;
  text-decoration: none;
  flex-direction: column;
}

.footer-feature strong {
  position: relative;
  padding-bottom: 14px;
  font-family: "Open Sans Condensed", "Arial Narrow", Arial, sans-serif;
  font-size: 34px;
  text-transform: uppercase;
}

.footer-feature strong::after {
  position: absolute;
  right: 15%;
  bottom: 0;
  left: 15%;
  height: 3px;
  background: var(--blue);
  content: "";
}

.footer-feature span {
  margin-top: 13px;
  color: #ccc;
  font-size: 14px;
  letter-spacing: .8px;
}

.footer-bottom {
  padding: 20px 0;
  background: #151515;
  font-size: 12px;
}

/* ==========================================================================
   QUOTE PAGE
   ========================================================================== */

.quote-page {
  background: var(--soft);
}

.quote-hero {
  display: flex;
  min-height: 470px;
  align-items: center;
  padding-top: 140px;
  background:
    linear-gradient(rgb(20 20 20 / 68%), rgb(20 20 20 / 68%)),
    url("assets/project-gallery/chain-link.jpg") center / cover no-repeat;
  color: #fff;
}

.quote-hero .eyebrow {
  color: var(--blue);
}

.quote-hero h1 {
  max-width: 800px;
  margin: 0;
  color: #fff;
  font-size: clamp(52px, 5vw, 78px);
}

.quote-hero p:last-child {
  max-width: 680px;
  margin: 20px 0 0;
  font-size: 18px;
  line-height: 1.7;
}

.quote-section {
  padding: 90px 0;
}

.quote-layout {
  display: grid;
  grid-template-columns: 36% 64%;
  align-items: start;
  gap: 40px;
}

.quote-contact {
  position: sticky;
  top: 125px;
  padding: 45px 36px;
  background: var(--ink);
  color: #fff;
}

.quote-contact .eyebrow {
  color: var(--blue);
}

.quote-contact h2 {
  margin: 14px 0 20px;
  color: #fff;
  font-size: 39px;
}

.quote-contact > p:last-of-type {
  line-height: 1.75;
}

.quote-details {
  margin: 32px 0 0;
}

.quote-details div {
  padding: 19px 0;
  border-top: 1px solid rgb(255 255 255 / 16%);
}

.quote-details dt {
  color: var(--blue);
  font-family: "Open Sans Condensed", "Arial Narrow", Arial, sans-serif;
  font-weight: 700;
  letter-spacing: .8px;
  text-transform: uppercase;
}

.quote-details dd {
  margin: 7px 0 0;
  line-height: 1.6;
}

.quote-details a {
  color: #fff;
  text-decoration: none;
}

.quote-form {
  padding: 48px;
  background: #fff;
  box-shadow: 0 18px 50px rgb(0 0 0 / 8%);
}

.form-heading {
  margin-bottom: 30px;
}

.form-heading .eyebrow {
  color: var(--blue);
}

.form-heading h2 {
  margin: 10px 0;
  font-size: 45px;
}

.form-heading p:last-child {
  margin-bottom: 0;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}

.form-grid > label,
.form-grid fieldset {
  min-width: 0;
}

.form-grid > label:not(.choice) {
  display: flex;
  gap: 8px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .5px;
  text-transform: uppercase;
  flex-direction: column;
}

.form-span {
  grid-column: 1 / 3;
}

.quote-form input,
.quote-form select,
.quote-form textarea {
  width: 100%;
  border: 1px solid #d4d4d4;
  border-radius: 0;
  background: #fafafa;
  color: var(--ink);
  font: inherit;
  font-weight: 400;
}

.quote-form input,
.quote-form select {
  height: 50px;
  padding: 0 14px;
}

.quote-form textarea {
  padding: 14px;
  line-height: 1.6;
  resize: vertical;
}

.quote-form input:focus,
.quote-form select:focus,
.quote-form textarea:focus {
  border-color: var(--blue);
  outline: 2px solid rgb(221 181 21 / 18%);
  outline-offset: 1px;
}

.quote-form fieldset {
  display: flex;
  gap: 22px;
  margin: 0;
  padding: 18px;
  border: 1px solid #d4d4d4;
}

.quote-form legend {
  padding-inline: 7px;
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.choice {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  line-height: 1.5;
}

.choice input {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  accent-color: var(--blue);
}

.quote-submit {
  margin-top: 28px;
  cursor: pointer;
}

.form-status {
  min-height: 24px;
  margin: 18px 0 0;
  font-weight: 700;
}

.form-status.success {
  color: #267a35;
}

/* ==========================================================================
   EXISTING INNER PAGES
   Keeps About, Clients, Portfolio, Shop, and Services working.
   ========================================================================== */

.about-page,
.content-page,
.services-page {
  background: #fff;
}

.about-page .site-header,
.content-page .site-header,
.services-page .site-header {
  background: #fff;
  box-shadow: 0 2px 10px rgb(0 0 0 / 12%);
}

.about-page-hero,
.content-page-hero,
.services-page-hero {
  display: flex;
  min-height: 410px;
  align-items: center;
  padding-top: 110px;
  background: linear-gradient(rgb(221 181 21 / 86%), rgb(221 181 21 / 86%)), url("pakistan-network-map.png") center / cover no-repeat;
  color: #fff;
  text-align: center;
}

.about-page-hero h1,
.content-page-hero h1,
.services-page-hero h1 {
  margin: 0;
  color: #fff;
  font-size: 58px;
}

.about-page-main,
.content-page-main {
  padding: 85px 0;
}

.about-page-grid {
  display: grid;
  grid-template-columns: 40% 60%;
  align-items: center;
  gap: 70px;
}

.about-page-logo {
  padding: 55px;
  background: var(--soft);
  border-left: 6px solid var(--blue);
}

.about-page-copy p,
.content-page-main p {
  line-height: 1.8;
}

.about-page-cta,
.services-contact {
  padding: 70px 0;
  background: var(--soft);
  text-align: center;
}

.client-grid,
.portfolio-grid,
.shop-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 40px;
}

.content-card,
.shop-notice {
  padding: 30px;
  background: var(--soft);
  border-top: 5px solid var(--blue);
}

.portfolio-card {
  overflow: hidden;
  background: var(--soft);
}

.portfolio-card img {
  display: block;
  width: 100%;
  height: 230px;
  object-fit: cover;
}

.portfolio-card div {
  padding: 24px;
}

.services-jump {
  position: sticky;
  z-index: 50;
  top: 110px;
  background: var(--ink);
}

.services-jump .content-width {
  display: flex;
  overflow-x: auto;
}

.services-jump a {
  flex: 0 0 auto;
  padding: 17px 15px;
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  text-transform: uppercase;
}

.catalog-service {
  padding: 85px 0;
  /* EDIT: SERVICE LINK LANDING POSITION — keeps headings below the fixed header and quick-links bar. */
  scroll-margin-top: 180px;
}

.catalog-service:nth-of-type(even) {
  background: var(--soft);
}

.catalog-grid {
  display: grid;
  grid-template-columns: 48% 52%;
  align-items: center;
  gap: 65px;
}

.catalog-media {
  display: grid;
  grid-template-columns: 2fr 1fr;
  grid-template-rows: repeat(2, 155px);
  gap: 10px;
}

.catalog-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.catalog-media img:first-child {
  grid-row: 1 / 3;
}

.catalog-copy p {
  line-height: 1.75;
}

/* ==========================================================================
   LEGACY INNER-PAGE HEADER COMPATIBILITY
   This small block is required until the inner pages adopt the new header HTML.
   ========================================================================== */

.about-page .header-inner,
.content-page .header-inner,
.services-page .header-inner {
  display: flex;
  width: min(1460px, 92%);
  height: 110px;
  min-height: 110px;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  width: 260px;
  align-items: center;
}

.logo img {
  width: 260px;
  max-height: 90px;
  object-fit: contain;
}

.logo-dark {
  display: none;
}

.desktop-nav > ul {
  display: flex;
  align-items: center;
  margin: 0;
  padding: 0;
  list-style: none;
}

.desktop-nav li {
  position: relative;
}

.desktop-nav > ul > li > a {
  display: block;
  padding: 0 12px;
  color: var(--ink);
  font-family: "Open Sans Condensed", "Arial Narrow", Arial, sans-serif;
  font-weight: 700;
  line-height: 100px;
  text-decoration: none;
  text-transform: uppercase;
}

.desktop-nav a:hover,
.desktop-nav a.active {
  color: var(--blue);
}

/* EDIT: INNER-PAGE HEADER CTA — matches the black Secure My Space button used site-wide. */
.desktop-nav .legacy-nav-cta {
  margin-left: 8px;
}

.desktop-nav .legacy-nav-cta > a {
  display: flex;
  width: auto;
  height: 42px;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  background: var(--ink);
  color: #fff;
  line-height: 1;
  white-space: nowrap;
}

.desktop-nav .legacy-nav-cta > a:hover,
.desktop-nav .legacy-nav-cta > a:focus {
  background: #000;
  color: #fff;
}

.mobile-menu .mobile-nav-cta {
  margin: 8px 5%;
  padding: 14px 16px;
  background: var(--ink);
  color: #fff;
  text-align: center;
}

.mega-menu {
  position: fixed;
  top: 110px;
  left: 50%;
  display: none;
  width: min(1180px, 94vw);
  padding: 8px;
  background: #fff;
  border-top: 3px solid var(--blue);
  box-shadow: 0 6px 16px rgb(0 0 0 / 25%);
  transform: translateX(-50%);
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.services-item:hover > .mega-menu,
.services-item:focus-within > .mega-menu {
  display: grid;
}

.service-card {
  padding: 6px;
  background: var(--soft);
  border: 1px solid #ccc;
}

.card-main {
  display: flex;
  gap: 10px;
}

.card-main img {
  width: 44%;
  height: 88px;
  object-fit: cover;
}

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

.card-main p {
  margin: 0;
  font-size: 12px;
  line-height: 1.25;
}

.service-card > a,
.primary-button {
  display: inline-block;
  margin-top: 6px;
  padding: 7px 14px;
  background: var(--ink);
  color: #fff;
  font-weight: 800;
  text-decoration: none;
  text-transform: uppercase;
}

.mobile-menu,
.mobile-submenu {
  display: none;
}

.mobile-menu.open,
.mobile-submenu.open {
  display: block;
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */

@media (max-width: 1200px) {
  :root {
    --header-height: 100px;
  }

  .header-inner {
    display: flex;
    height: var(--header-height);
    min-height: var(--header-height);
    align-items: center;
    justify-content: space-between;
  }

  .header-logo {
    width: 250px;
  }

  .header-logo img {
    width: 240px;
    max-height: 80px;
  }

  .menu-toggle {
    display: flex;
    width: 44px;
    height: 44px;
    padding: 9px;
    border: 0;
    background: transparent;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    cursor: pointer;
  }

  .menu-toggle span {
    display: block;
    width: 26px;
    height: 2px;
    background: #fff;
    transition: transform 160ms ease, opacity 160ms ease;
  }

  .site-header.sticky .menu-toggle span {
    background: var(--ink);
  }

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

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

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

  .main-navigation {
    position: absolute;
    top: var(--header-height);
    right: 0;
    left: 0;
    display: none;
    padding: 10px 5%;
    background: #fff;
    box-shadow: 0 8px 20px rgb(0 0 0 / 14%);
    flex-direction: column;
  }

  .main-navigation.open {
    display: flex;
  }

  .main-navigation a,
  .site-header.sticky .main-navigation a {
    padding: 13px 0;
    border-bottom: 1px solid #eee;
    color: var(--ink);
  }

  .main-navigation .nav-cta,
  .site-header.sticky .main-navigation .nav-cta {
    height: auto;
    margin: 8px 0;
    padding: 14px 16px;
  }

  .nav-services {
    display: block;
  }

  .nav-services > a {
    height: auto;
  }

  .services-dropdown {
    position: static;
    display: grid;
    width: 100%;
    padding: 0 0 8px 16px;
    border-top: 0;
    box-shadow: none;
    transform: none;
    grid-template-columns: 1fr;
    max-height: none;
    overflow: visible;
  }

  .dropdown-card-main {
    min-height: 120px;
  }

  .dropdown-card-main img {
    height: 120px;
  }

  .dropdown-card-main h3 {
    font-size: 20px;
  }

  .dropdown-card-main p {
    font-size: 14px;
  }

  .desktop-nav {
    display: none;
  }

  .about-page .header-inner,
  .content-page .header-inner,
  .services-page .header-inner {
    min-height: 90px;
  }

  .mobile-menu {
    position: absolute;
    top: 90px;
    right: 0;
    left: 0;
    max-height: calc(100vh - 90px);
    overflow: auto;
    background: #fff;
    box-shadow: 0 8px 20px rgb(0 0 0 / 14%);
  }

  .mobile-menu > a,
  .mobile-menu > button {
    display: flex;
    width: 100%;
    justify-content: space-between;
    padding: 14px 5%;
    border: 0;
    border-bottom: 1px solid #eee;
    background: #fff;
    color: var(--ink);
    font: 700 15px "Open Sans Condensed", "Arial Narrow", Arial, sans-serif;
    text-align: left;
    text-decoration: none;
    text-transform: uppercase;
  }

  .mobile-submenu a {
    display: block;
    padding: 11px 8%;
    border-bottom: 1px solid #e7e7e7;
    color: var(--text);
    text-decoration: none;
  }

  .hero {
    min-height: 700px;
  }

  .hero-content {
    padding-top: 120px;
  }

  .expert-section {
    height: auto;
  }

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

  .expert-grid > div {
    display: none;
  }

  .expert-card {
    min-height: 0;
    transform: none;
  }
}

@media (max-width: 900px) {
  .services-layout,
  .why-grid,
  .footer-cta,
  .about-page-grid,
  .catalog-grid,
  .client-grid,
  .portfolio-grid,
  .shop-grid {
    grid-template-columns: 1fr;
  }

  .service-tab,
  .service-tab.active {
    padding: 18px 5%;
    clip-path: none;
  }

  .why-logo {
    min-height: 300px;
  }

  .why-logo img {
    width: 650px;
  }

  .footer-cta {
    gap: 35px;
  }

  .catalog-media {
    grid-template-rows: 220px 130px;
  }

  .quote-layout {
    grid-template-columns: 1fr;
  }

  .quote-contact {
    position: static;
  }
}

@media (max-width: 600px) {
  .header-logo,
  .header-logo img {
    width: 205px;
  }

  .hero-content h1 {
    font-size: 44px;
  }

  .hero-content > p {
    font-size: 18px;
  }

  .feature-list,
  .service-gallery,
  .footer-links {
    grid-template-columns: 1fr;
  }

  .service-panel-heading h2,
  .why-copy h2,
  .map-card h2 {
    font-size: 36px;
  }

  .service-panel-heading {
    align-items: flex-start;
    padding-block: 20px;
    flex-direction: column;
  }

  .quote-section {
    padding: 55px 0;
  }

  .quote-form {
    padding: 28px 20px;
  }

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

  .form-span {
    grid-column: auto;
  }

  .quote-form fieldset {
    align-items: flex-start;
    flex-direction: column;
  }
}

/* ==========================================================================
   SHOP, CART, AND CHECKOUT
   Search "EDIT: SHOP" to safely adjust the storefront.
   ========================================================================== */

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}

/* Hides the former placeholder after the real shop is enabled. */
.store-main > .content-page-hero,
.store-main > .content-page-main {
  display: none;
}

.store-hero {
  padding: 190px 0 70px;
  background: linear-gradient(rgb(20 20 20 / 78%), rgb(20 20 20 / 78%)), url("legacy-assets/wp-content/uploads/2020/03/MoreSolutionsLarge012.jpg") center / cover no-repeat;
  color: #fff;
}

.store-hero-inner {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
}

.store-hero h1,
.commerce-title h1 {
  margin: 8px 0 15px;
  color: #fff;
  font-size: clamp(48px, 6vw, 82px);
}

.store-hero p:last-child {
  max-width: 720px;
  margin: 0;
  font-size: 19px;
  line-height: 1.65;
}

.store-cart-link {
  display: flex;
  min-width: 150px;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 20px;
  background: var(--ink);
  color: #fff;
  font-family: "Open Sans Condensed", sans-serif;
  font-size: 19px;
  font-weight: 700;
  text-decoration: none;
  text-transform: uppercase;
}

.cart-count {
  display: inline-grid;
  min-width: 27px;
  height: 27px;
  place-items: center;
  padding: 0 7px;
  border-radius: 50px;
  background: var(--blue);
  color: #111;
  line-height: 1;
}

.store-section {
  padding: 70px 0 90px;
}

.store-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
  margin-bottom: 32px;
}

.store-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.store-filter {
  padding: 11px 16px;
  border: 1px solid #d3d3d3;
  background: #fff;
  color: var(--ink);
  font-family: "Open Sans Condensed", sans-serif;
  font-size: 15px;
  font-weight: 700;
  text-transform: uppercase;
  cursor: pointer;
}

.store-filter.active,
.store-filter:hover {
  border-color: var(--ink);
  background: var(--ink);
  color: #fff;
}

.store-search input {
  width: min(310px, 75vw);
  padding: 13px 15px;
  border: 1px solid #cfcfcf;
  font: inherit;
}

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

.product-card {
  display: flex;
  min-width: 0;
  overflow: hidden;
  background: #fff;
  border: 1px solid #e1e1e1;
  box-shadow: 0 8px 24px rgb(0 0 0 / 6%);
  flex-direction: column;
  color: inherit;
  text-decoration: none;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.product-card:hover {
  box-shadow: 0 14px 34px rgb(0 0 0 / 12%);
  transform: translateY(-4px);
}

.product-card > img {
  width: 100%;
  height: 230px;
  object-fit: cover;
}

.product-card-copy {
  display: flex;
  height: 100%;
  padding: 23px;
  flex-direction: column;
}

.product-category {
  color: var(--blue-dark);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.product-card h2 {
  margin: 8px 0;
  font-size: 26px;
}

.product-card p {
  margin: 0 0 20px;
  line-height: 1.55;
}

.product-price {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 15px;
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid #e5e5e5;
}

.product-price strong {
  color: var(--ink);
  font-size: 21px;
}

.product-price span {
  font-size: 13px;
}

.add-cart-button,
.checkout-button,
.place-order-button {
  display: block;
  width: 100%;
  margin-top: 18px;
  padding: 14px 18px;
  border: 0;
  background: var(--ink);
  color: #fff;
  font-family: "Open Sans Condensed", sans-serif;
  font-size: 17px;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
  cursor: pointer;
}

.view-product {
  display: block;
  margin-top: 18px;
  padding-top: 15px;
  border-top: 1px solid #ddd;
  color: var(--ink);
  font-family: "Open Sans Condensed", sans-serif;
  font-weight: 700;
  text-transform: uppercase;
}

.product-card:hover .view-product {
  color: var(--blue-dark);
}

.product-detail-section {
  padding: 65px 0 90px;
}

.product-detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(380px, .95fr);
  gap: 55px;
  padding: 35px;
  background: #fff;
}

.product-gallery > img {
  display: block;
  width: 100%;
  height: 540px;
  object-fit: cover;
}

.product-trust {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 14px;
  background: var(--soft);
}

.product-trust span {
  padding: 15px 10px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 700;
  text-align: center;
}

.back-to-shop {
  display: inline-block;
  margin-bottom: 25px;
  color: var(--text);
  text-decoration: none;
}

.product-information h1 {
  margin: 8px 0 12px;
  font-size: clamp(38px, 4vw, 58px);
}

.detail-rating {
  color: var(--blue);
  letter-spacing: 2px;
}

.detail-rating span {
  color: #666;
  font-size: 13px;
  letter-spacing: 0;
}

.detail-description {
  margin: 22px 0;
  font-size: 17px;
  line-height: 1.7;
}

.detail-price {
  margin: 20px 0;
  padding: 18px 0;
  border-block: 1px solid #ddd;
}

.detail-price strong,
.detail-price span {
  display: block;
}

.detail-price strong {
  color: var(--ink);
  font-size: 34px;
}

.detail-price span {
  margin-top: 4px;
  color: #666;
  font-size: 13px;
}

.detail-option,
.detail-quantity {
  display: grid;
  gap: 7px;
  margin-top: 16px;
  font-weight: 700;
}

.detail-option select,
.detail-quantity input {
  width: 100%;
  padding: 13px;
  border: 1px solid #bbb;
  background: #fff;
  font: inherit;
}

.detail-quantity input {
  width: 110px;
}

.detail-add-button,
.detail-buy-button {
  display: block;
  width: 100%;
  margin-top: 15px;
  padding: 15px;
  border: 0;
  font-family: "Open Sans Condensed", sans-serif;
  font-size: 18px;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
  cursor: pointer;
}

.detail-add-button {
  margin-top: 24px;
  background: var(--blue);
  color: #111;
}

.detail-buy-button {
  background: var(--ink);
  color: #fff;
}

.delivery-box {
  margin-top: 24px;
  padding: 17px;
  background: var(--soft);
  border-left: 4px solid var(--blue);
}

.delivery-box p {
  margin: 6px 0 0;
  font-size: 14px;
  line-height: 1.55;
}

.product-detail-lower {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  margin-top: 30px;
}

.product-detail-lower section {
  padding: 30px;
  background: #fff;
}

.product-detail-lower h2 {
  margin-top: 0;
}

.product-detail-lower ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.product-detail-lower li {
  padding: 11px 0;
  border-bottom: 1px solid #ddd;
}

.product-detail-lower li::before {
  margin-right: 9px;
  color: var(--blue-dark);
  content: "✓";
}

.product-detail-lower dl {
  margin: 0;
}

.product-detail-lower dl div {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 11px 0;
  border-bottom: 1px solid #ddd;
}

.product-detail-lower dt {
  font-weight: 700;
}

.product-detail-lower dd {
  margin: 0;
  text-align: right;
}

.add-cart-button:hover,
.checkout-button:hover,
.place-order-button:hover {
  background: var(--blue);
  color: #111;
}

.store-support {
  padding: 42px 0;
  background: var(--blue);
  color: #111;
}

.store-support-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.store-support strong,
.store-support span {
  display: block;
}

.store-support strong {
  font-family: "Open Sans Condensed", sans-serif;
  font-size: 28px;
  text-transform: uppercase;
}

.commerce-page {
  background: var(--soft);
}

.commerce-header {
  background: #fff;
  box-shadow: 0 3px 14px rgb(0 0 0 / 8%);
}

.commerce-header .content-width {
  display: flex;
  min-height: 105px;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.commerce-header img {
  display: block;
  width: 260px;
  max-height: 82px;
  object-fit: contain;
}

.commerce-header nav {
  display: flex;
  align-items: center;
  gap: 24px;
}

.commerce-header nav a {
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--ink);
  font-family: "Open Sans Condensed", sans-serif;
  font-weight: 700;
  text-decoration: none;
  text-transform: uppercase;
}

.commerce-title {
  padding: 58px 0;
  background: var(--ink);
  color: #fff;
}

.commerce-title h1 {
  margin: 5px 0 0;
  font-size: 52px;
}

.cart-section,
.checkout-section {
  padding: 60px 0 90px;
}

.cart-layout,
.checkout-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  align-items: start;
  gap: 35px;
}

.cart-item {
  display: grid;
  grid-template-columns: 130px minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 22px;
  margin-bottom: 15px;
  padding: 18px;
  background: #fff;
}

.cart-item img {
  width: 130px;
  height: 100px;
  object-fit: cover;
}

.cart-item h2 {
  margin: 0 0 5px;
  font-size: 22px;
}

.cart-item p {
  margin: 0 0 8px;
}

.quantity-control {
  display: flex;
  align-items: center;
  border: 1px solid #ccc;
}

.quantity-control button {
  width: 36px;
  height: 36px;
  border: 0;
  background: #eee;
  cursor: pointer;
}

.quantity-control span {
  min-width: 38px;
  text-align: center;
}

.remove-item {
  grid-column: 2 / -1;
  justify-self: end;
  border: 0;
  background: transparent;
  color: #9b2c2c;
  cursor: pointer;
}

.order-summary,
.checkout-summary,
.checkout-form section,
.confirmation-card {
  padding: 28px;
  background: #fff;
  box-shadow: 0 8px 24px rgb(0 0 0 / 6%);
}

.order-summary {
  position: sticky;
  top: 25px;
}

.order-summary h2,
.checkout-summary h2,
.checkout-form h2 {
  margin-top: 0;
}

.order-summary > div,
.checkout-summary #checkout-summary > div {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 12px 0;
  border-bottom: 1px solid #ddd;
}

.order-summary > p,
.order-summary small,
.payment-note {
  display: block;
  color: #666;
  font-size: 13px;
  line-height: 1.5;
}

.order-summary .summary-total,
.checkout-summary .checkout-total {
  padding-top: 20px;
  border-bottom: 0;
  font-size: 22px;
}

.checkout-button.disabled {
  opacity: .45;
  pointer-events: none;
}

.empty-state {
  padding: 50px;
  background: #fff;
  text-align: center;
}

.checkout-form {
  display: grid;
  gap: 22px;
}

.checkout-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.checkout-fields label {
  display: grid;
  gap: 7px;
  font-weight: 700;
}

.checkout-fields .span-two {
  grid-column: 1 / -1;
}

.checkout-fields input,
.checkout-fields textarea {
  width: 100%;
  padding: 13px;
  border: 1px solid #c9c9c9;
  font: inherit;
}

.payment-options {
  display: grid;
  gap: 12px;
}

.payment-options label {
  display: flex;
  align-items: flex-start;
  gap: 13px;
  padding: 17px;
  border: 1px solid #ccc;
  cursor: pointer;
}

.payment-options strong,
.payment-options small {
  display: block;
}

.payment-options small {
  margin-top: 4px;
  color: #666;
  line-height: 1.45;
}

.disabled-payment {
  opacity: .5;
  cursor: not-allowed !important;
}

.checkout-consent {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.checkout-summary {
  position: sticky;
  top: 25px;
}

.confirmation-main {
  display: grid;
  min-height: calc(100vh - 105px);
  place-items: center;
  padding: 60px 5%;
}

.confirmation-card {
  width: min(680px, 100%);
  text-align: center;
}

.confirmation-card h1 {
  font-size: 44px;
}

.confirmation-mark {
  display: grid;
  width: 74px;
  height: 74px;
  margin: 0 auto 24px;
  place-items: center;
  border-radius: 50%;
  background: var(--blue);
  color: #111;
  font-size: 38px;
}

.confirmation-card dl {
  margin: 28px 0;
  border-block: 1px solid #ddd;
}

.confirmation-card dl div {
  display: flex;
  justify-content: space-between;
  padding: 13px 0;
}

.confirmation-card dt {
  font-weight: 700;
}

.confirmation-card dd {
  margin: 0;
}

@media (max-width: 900px) {
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .cart-layout,
  .checkout-layout {
    grid-template-columns: 1fr;
  }

  .order-summary,
  .checkout-summary {
    position: static;
  }

  .product-detail-grid,
  .product-detail-lower {
    grid-template-columns: 1fr;
  }

  .product-gallery > img {
    height: 430px;
  }
}

@media (max-width: 650px) {
  .store-hero-inner,
  .store-toolbar,
  .store-support-grid {
    align-items: stretch;
    flex-direction: column;
  }

  .store-search input {
    width: 100%;
  }

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

  .commerce-header .content-width {
    padding: 15px 0;
    flex-direction: column;
  }

  .commerce-header img {
    width: 220px;
  }

  .cart-item {
    grid-template-columns: 90px 1fr;
  }

  .cart-item img {
    width: 90px;
    height: 85px;
  }

  .quantity-control,
  .line-total {
    grid-column: 2;
  }

  .checkout-fields {
    grid-template-columns: 1fr;
  }

  .checkout-fields .span-two {
    grid-column: auto;
  }

  .product-detail-grid {
    padding: 18px;
  }

  .product-gallery > img {
    height: 300px;
  }

  .product-trust {
    grid-template-columns: 1fr;
  }
}
