/*
Theme Name: PoweredMinds
Theme URI: https://poweredminds.co.uk/
Author: PoweredMinds
Description: A focused, lightweight theme for PoweredMinds IT consultancy.
Version: 1.0.0
Requires at least: 6.5
Requires PHP: 8.1
Text Domain: poweredminds
*/

:root {
  --pm-navy: #14263e;
  --pm-navy-deep: #0d1928;
  --pm-blue: #2f6fed;
  --pm-blue-soft: #e8efff;
  --pm-ink: #172539;
  --pm-muted: #617185;
  --pm-line: #dde5ed;
  --pm-paper: #ffffff;
  --pm-wash: #f5f8fc;
  --pm-max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--pm-ink);
  background: var(--pm-paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
img, svg { display: block; max-width: 100%; }
.screen-reader-text { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }
.pm-wrap { width: min(calc(100% - 40px), var(--pm-max)); margin-inline: auto; }

.site-header { position: relative; z-index: 10; border-bottom: 1px solid var(--pm-line); background: rgba(255,255,255,.96); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 30px; min-height: 92px; }
.site-branding { width: 260px; padding-top: 18px; padding-bottom: 9px; }
.site-branding img { width: 100%; height: auto; }
.site-nav { display: flex; align-items: center; gap: 30px; }
.site-nav a { color: var(--pm-muted); font-size: .9rem; font-weight: 600; text-decoration: none; }
.site-nav a:hover, .site-nav a:focus { color: var(--pm-blue); }
.site-nav .pm-nav-cta { padding: 10px 17px; border-radius: 999px; color: #fff; background: var(--pm-navy); }

.pm-hero { position: relative; overflow: hidden; background: var(--pm-paper); }
.pm-hero::after { content: ""; position: absolute; top: -170px; right: -120px; width: 620px; height: 620px; border-radius: 50%; background: radial-gradient(circle, rgba(47,111,237,.14), rgba(47,111,237,0) 66%); pointer-events: none; }
.pm-hero__inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1.15fr .85fr; align-items: center; gap: 56px; min-height: 640px; padding-block: 84px 76px; }
.pm-kicker { display: flex; align-items: center; gap: 10px; margin-bottom: 24px; color: var(--pm-blue); font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.pm-kicker::before { content: ""; width: 25px; height: 2px; background: currentColor; }
.pm-hero h1 { max-width: 760px; margin: 0 0 26px; color: var(--pm-navy); font-size: clamp(3.1rem, 6vw, 5.25rem); font-weight: 600; line-height: .98; letter-spacing: -.055em; }
.pm-hero__lead { max-width: 680px; margin: 0 0 34px; color: var(--pm-muted); font-size: 1.18rem; line-height: 1.65; }
.pm-actions { display: flex; flex-wrap: wrap; gap: 13px; }
.pm-button { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 12px 21px; border: 1px solid var(--pm-line); border-radius: 9px; font-size: .92rem; font-weight: 700; text-decoration: none; }
.pm-button--primary { border-color: var(--pm-blue); color: #fff; background: var(--pm-blue); }
.pm-button:hover, .pm-button:focus { transform: translateY(-1px); }
.pm-thought-visual { width: min(100%, 410px); margin-inline: auto; }

.pm-trust { color: #f3f7fb; background: var(--pm-navy); }
.pm-trust__inner { display: grid; grid-template-columns: .95fr 2.05fr; gap: 50px; padding-block: 48px; }
.pm-trust__title { margin: 0; font-size: 1.65rem; font-weight: 600; line-height: 1.3; }
.pm-trust__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.pm-trust__item { padding-left: 20px; border-left: 1px solid rgba(255,255,255,.2); }
.pm-trust__item strong { display: block; margin-bottom: 8px; color: #8fb1ff; }
.pm-trust__item span { color: #bdc9d6; font-size: .88rem; line-height: 1.55; }

.pm-section { padding-block: 94px; }
.pm-section--wash { background: var(--pm-wash); }
.pm-section__head { display: grid; grid-template-columns: 1.25fr .75fr; gap: 50px; align-items: end; margin-bottom: 44px; }
.pm-section__head h2, .pm-about h2, .pm-contact h2 { margin: 0; color: var(--pm-navy); font-size: clamp(2.3rem, 4vw, 3.5rem); line-height: 1.1; letter-spacing: -.04em; }
.pm-section__head p { margin: 0; color: var(--pm-muted); }
.pm-services { display: grid; grid-template-columns: repeat(5, 1fr); border-top: 1px solid var(--pm-line); border-bottom: 1px solid var(--pm-line); }
.pm-service { min-height: 260px; padding: 30px 21px; border-right: 1px solid var(--pm-line); }
.pm-service:last-child { border-right: 0; }
.pm-service__num { display: block; margin-bottom: 48px; color: var(--pm-blue); font-size: .75rem; font-weight: 700; }
.pm-service h3 { margin: 0 0 13px; color: var(--pm-navy); font-size: 1.08rem; line-height: 1.3; }
.pm-service p { margin: 0; color: var(--pm-muted); font-size: .86rem; line-height: 1.55; }

.pm-about { display: grid; grid-template-columns: .8fr 1.2fr; gap: 80px; align-items: start; }
.pm-about__copy { color: var(--pm-muted); }
.pm-about__copy p:first-child { margin-top: 0; color: var(--pm-ink); font-size: 1.2rem; }
.pm-capabilities { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 26px; }
.pm-capabilities span { padding: 9px 14px; border: 1px solid var(--pm-line); border-radius: 999px; color: var(--pm-muted); background: var(--pm-paper); font-size: .9rem; }

.pm-contact { display: grid; grid-template-columns: 1fr auto; gap: 50px; align-items: center; padding: 54px 56px; border-radius: 16px; color: #f3f7fb; background: var(--pm-navy-deep); }
.pm-contact h2 { color: #fff; }
.pm-contact p { max-width: 720px; margin: 15px 0 0; color: #bdc9d6; }
.pm-contact__actions { display: grid; gap: 14px; justify-items: center; }
.pm-contact__phone { color: #fff; font-size: 1rem; font-weight: 700; text-decoration: none; letter-spacing: .02em; }
.pm-contact__phone:hover, .pm-contact__phone:focus { color: var(--pm-blue-soft); }

.site-footer { padding-block: 30px; color: var(--pm-muted); background: var(--pm-paper); border-top: 1px solid var(--pm-line); }
.site-footer__inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; font-size: .8rem; }
.site-footer img { width: 190px; }

.pm-page { min-height: 65vh; padding-block: 80px; }
.pm-page h1 { color: var(--pm-navy); font-size: clamp(2.5rem, 5vw, 4.5rem); letter-spacing: -.04em; }
.pm-page__content { max-width: 800px; }

@media (max-width: 980px) {
  .pm-hero__inner { grid-template-columns: 1fr; min-height: auto; }
  .pm-thought-visual { width: 310px; }
  .pm-trust__inner, .pm-section__head, .pm-about { grid-template-columns: 1fr; gap: 30px; }
  .pm-services { grid-template-columns: repeat(2, 1fr); }
  .pm-service { border-bottom: 1px solid var(--pm-line); }
  .pm-service:nth-child(2n) { border-right: 0; }
  .pm-service:last-child { grid-column: 1 / -1; }
}
@media (max-width: 700px) {
  .site-header__inner { min-height: 108px; align-items: flex-end; padding-bottom: 16px; }
  .site-branding { width: 205px; padding-top: 30px; }
  .site-nav a:not(.pm-nav-cta) { display: none; }
  .pm-hero__inner { padding-block: 64px 56px; }
  .pm-trust__grid { grid-template-columns: 1fr; }
  .pm-section { padding-block: 68px; }
  .pm-services { grid-template-columns: 1fr; }
  .pm-service, .pm-service:nth-child(2n) { min-height: 0; border-right: 0; }
  .pm-service:last-child { grid-column: auto; }
  .pm-service__num { margin-bottom: 16px; }
  .pm-contact { grid-template-columns: 1fr; padding: 38px 28px; }
  .site-footer__inner { align-items: flex-start; flex-direction: column; }
}
