/*
Theme Name: PowerMind Tech Consulting
Theme URI: https://powermindperu.org
Author: PowerMind
Author URI: https://powermindperu.org
Description: Tema corporativo para consultoria en tecnologia de informacion, transformacion digital, cloud, datos, ciberseguridad e inteligencia artificial.
Version: 1.0.10
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 7.4
Text Domain: powermind
*/

:root {
  --pm-blue: #071a33;
  --pm-blue-2: #0b2a52;
  --pm-cyan: #22d3ee;
  --pm-violet: #7c3aed;
  --pm-lime: #a3e635;
  --pm-ink: #0f172a;
  --pm-muted: #64748b;
  --pm-line: #dbe3ee;
  --pm-soft: #f4f8fb;
  --pm-white: #ffffff;
  --pm-radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: clip;
}

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

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

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

.pm-header {
  align-items: center;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(15, 23, 42, 0.1);
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
  display: flex;
  gap: 34px;
  justify-content: space-between;
  left: 0;
  min-height: 104px;
  padding: 0 6vw;
  position: fixed;
  right: 0;
  top: 0;
  z-index: 50;
}

.pm-brand {
  align-items: center;
  color: var(--pm-ink);
  display: flex;
  gap: 14px;
}

.pm-brand-mark {
  align-items: center;
  background: linear-gradient(135deg, var(--pm-cyan), var(--pm-violet));
  border-radius: var(--pm-radius);
  color: var(--pm-white);
  display: grid;
  font-size: 24px;
  font-weight: 900;
  height: 54px;
  place-items: center;
  width: 54px;
}

.pm-brand-logo {
  align-items: center;
  background: transparent;
  border-radius: var(--pm-radius);
  display: flex;
  height: 92px;
  justify-content: center;
  overflow: visible;
  padding: 0;
  width: 230px;
}

.pm-brand-logo img {
  display: block;
  max-height: 100%;
  object-fit: contain;
  width: 100%;
}

.pm-brand-text {
  display: grid;
  line-height: 1.05;
}

.pm-brand-text strong {
  font-size: 25px;
  letter-spacing: 0;
}

.pm-brand-text span {
  color: var(--pm-muted);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 3px;
  margin-top: 4px;
  text-transform: uppercase;
}

.pm-nav {
  align-items: center;
  display: flex;
  gap: 26px;
}

.pm-nav a {
  color: var(--pm-ink);
  font-size: 14px;
  font-weight: 800;
  text-transform: uppercase;
}

.pm-nav a:hover {
  color: var(--pm-violet);
}

.pm-menu-toggle {
  background: transparent;
  border: 1px solid rgba(15, 23, 42, 0.2);
  border-radius: var(--pm-radius);
  color: var(--pm-ink);
  cursor: pointer;
  display: none;
  font-size: 22px;
  height: 46px;
  width: 46px;
}

.pm-hero {
  align-items: center;
  background:
    linear-gradient(100deg, rgba(7, 26, 51, 0.98), rgba(7, 26, 51, 0.82) 48%, rgba(11, 42, 82, 0.58)),
    radial-gradient(circle at 78% 28%, rgba(34, 211, 238, 0.28), transparent 24%),
    radial-gradient(circle at 66% 70%, rgba(124, 58, 237, 0.24), transparent 26%),
    var(--pm-blue);
  color: var(--pm-white);
  display: grid;
  min-height: 100vh;
  overflow: hidden;
  padding: 154px 6vw 72px;
  position: relative;
}

.pm-hero::before {
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 56px 56px;
  content: "";
  inset: 104px 0 0;
  mask-image: linear-gradient(90deg, #000, transparent 72%);
  opacity: 0.8;
  position: absolute;
}

.pm-hero-visual {
  bottom: 0;
  pointer-events: none;
  position: absolute;
  left: 0;
  right: 0;
  top: 104px;
  z-index: 0;
}

.pm-hero-bg {
  animation: pmHeroFade 18s infinite;
  background-position: center right;
  background-repeat: no-repeat;
  background-size: cover;
  inset: 0;
  opacity: 0;
  position: absolute;
  transform: scale(1.02);
}

.pm-hero-bg::after {
  background:
    linear-gradient(90deg, rgba(7, 26, 51, 0.98) 0%, rgba(7, 26, 51, 0.88) 36%, rgba(7, 26, 51, 0.46) 68%, rgba(7, 26, 51, 0.18) 100%),
    linear-gradient(180deg, rgba(7, 26, 51, 0.24), rgba(7, 26, 51, 0.72));
  content: "";
  inset: 0;
  position: absolute;
}

.pm-hero-bg-1 {
  background-image: url("hero-it-support.png");
}

.pm-hero-bg-2 {
  animation-delay: 6s;
  background-image: url("hero-development.png");
}

.pm-hero-bg-3 {
  animation-delay: 12s;
  background-image: url("hero-transformation.png");
}

@keyframes pmHeroFade {
  0%,
  27% {
    opacity: 1;
    transform: scale(1);
  }
  34%,
  100% {
    opacity: 0;
    transform: scale(1.04);
  }
}

.pm-hero-content {
  max-width: 850px;
  position: relative;
  z-index: 2;
}

.pm-kicker {
  color: var(--pm-cyan);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 4px;
  margin: 0 0 22px;
  text-transform: uppercase;
}

.pm-hero h1 {
  font-size: clamp(48px, 7vw, 106px);
  letter-spacing: 0;
  line-height: 0.94;
  margin: 0;
  max-width: 920px;
}

.pm-hero h1 span {
  color: var(--pm-cyan);
}

.pm-hero-copy {
  color: rgba(255, 255, 255, 0.76);
  font-size: clamp(18px, 1.6vw, 23px);
  line-height: 1.65;
  margin: 30px 0 34px;
  max-width: 760px;
}

.pm-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.pm-button {
  align-items: center;
  border-radius: var(--pm-radius);
  display: inline-flex;
  font-size: 14px;
  font-weight: 900;
  justify-content: center;
  min-height: 54px;
  padding: 0 24px;
  text-transform: uppercase;
}

.pm-button-primary {
  background: var(--pm-cyan);
  color: var(--pm-blue);
}

.pm-button-secondary {
  border: 1px solid rgba(255, 255, 255, 0.28);
  color: var(--pm-white);
}

.pm-section {
  padding: 96px 6vw;
}

.pm-section-white {
  background: var(--pm-white);
}

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

.pm-section-dark {
  background: var(--pm-blue);
  color: var(--pm-white);
}

.pm-heading {
  display: grid;
  gap: 16px;
  margin-bottom: 38px;
  max-width: 920px;
}

.pm-heading h2 {
  font-size: clamp(36px, 5vw, 68px);
  letter-spacing: 0;
  line-height: 1;
  margin: 0;
}

.pm-heading p {
  color: var(--pm-muted);
  font-size: 18px;
  line-height: 1.75;
  margin: 0;
  max-width: 780px;
}

.pm-section-dark .pm-heading p {
  color: rgba(255, 255, 255, 0.72);
}

.pm-grid {
  display: grid;
  gap: 18px;
}

.pm-grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

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

.pm-grid-4 {
  grid-template-columns: repeat(4, 1fr);
}

.pm-card {
  background: var(--pm-white);
  border: 1px solid var(--pm-line);
  border-radius: var(--pm-radius);
  display: grid;
  gap: 18px;
  min-height: 260px;
  padding: 28px;
}

.pm-section-dark .pm-card {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.12);
}

.pm-card-number {
  color: var(--pm-cyan);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.pm-card h3 {
  font-size: 25px;
  line-height: 1.15;
  margin: 0;
}

.pm-card p {
  color: var(--pm-muted);
  line-height: 1.65;
  margin: 0;
}

.pm-section-dark .pm-card p {
  color: rgba(255, 255, 255, 0.72);
}

.pm-split {
  align-items: start;
  display: grid;
  gap: 60px;
  grid-template-columns: 0.85fr 1fr;
}

.pm-list {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
}

.pm-list li {
  background: var(--pm-white);
  border: 1px solid var(--pm-line);
  border-radius: var(--pm-radius);
  list-style: none;
  padding: 20px 22px;
}

.pm-list strong {
  display: block;
  margin-bottom: 6px;
}

.pm-list span {
  color: var(--pm-muted);
  line-height: 1.55;
}

.pm-logo-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(4, 1fr);
}

.pm-logo-card {
  align-items: center;
  background: var(--pm-white);
  border: 1px solid var(--pm-line);
  border-radius: var(--pm-radius);
  display: flex;
  justify-content: center;
  min-height: 128px;
  padding: 26px;
}

.pm-logo-card span {
  color: #94a3b8;
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.pm-logo-card img {
  display: block;
  max-height: 86px;
  max-width: 92%;
  object-fit: contain;
  width: auto;
}

.pm-logo-card-image {
  background: #ffffff;
}

.pm-team-grid {
  display: grid;
  gap: 18px;
  max-width: 1080px;
}

.pm-team-card {
  align-items: center;
  background: var(--pm-white);
  border: 1px solid var(--pm-line);
  border-radius: var(--pm-radius);
  display: grid;
  gap: 34px;
  grid-template-columns: 220px 1fr;
  padding: 34px;
}

.pm-team-card img {
  aspect-ratio: 1;
  border: 8px solid var(--pm-white);
  border-radius: 50%;
  box-shadow: 0 18px 42px rgba(15, 23, 42, 0.18);
  height: 220px;
  object-fit: cover;
  object-position: center top;
  width: 220px;
}

.pm-team-card h3 {
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1;
  margin: 14px 0 18px;
}

.pm-team-card p {
  color: var(--pm-muted);
  font-size: 18px;
  line-height: 1.75;
  margin: 0;
}

.pm-metrics {
  background: linear-gradient(135deg, var(--pm-cyan), var(--pm-violet));
  color: var(--pm-white);
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.pm-metric {
  border-right: 1px solid rgba(255, 255, 255, 0.24);
  display: grid;
  gap: 8px;
  min-width: 0;
  overflow-wrap: anywhere;
  padding: 36px 24px;
}

.pm-metric strong {
  font-size: clamp(36px, 5vw, 58px);
  line-height: 1;
}

.pm-metric span {
  font-weight: 800;
}

.pm-contact {
  display: grid;
  gap: 52px;
  grid-template-columns: 0.85fr 1fr;
}

.pm-form {
  background: var(--pm-white);
  border: 1px solid var(--pm-line);
  border-radius: var(--pm-radius);
  display: grid;
  gap: 16px;
  padding: 28px;
}

.pm-form label {
  color: var(--pm-muted);
  display: grid;
  font-size: 13px;
  font-weight: 900;
  gap: 8px;
  text-transform: uppercase;
}

.pm-form input,
.pm-form select,
.pm-form textarea {
  border: 1px solid var(--pm-line);
  border-radius: var(--pm-radius);
  color: var(--pm-ink);
  font: 500 16px Inter, sans-serif;
  padding: 14px 15px;
  width: 100%;
}

.pm-footer {
  background: #041124;
  color: rgba(255, 255, 255, 0.7);
  display: flex;
  gap: 22px;
  justify-content: space-between;
  padding: 30px 6vw;
}

.pm-footer strong {
  color: var(--pm-white);
}

@media (max-width: 1200px) {
  .pm-nav {
    background: var(--pm-white);
    border-bottom: 1px solid rgba(15, 23, 42, 0.1);
    box-shadow: 0 18px 34px rgba(15, 23, 42, 0.12);
    display: none;
    gap: 0;
    left: 0;
    padding: 20px 6vw;
    position: absolute;
    right: 0;
    top: 104px;
  }

  .pm-nav.is-open {
    display: grid;
  }

  .pm-nav a {
    border-top: 1px solid rgba(15, 23, 42, 0.1);
    padding: 16px 0;
  }

  .pm-menu-toggle {
    display: block;
  }

  .pm-hero-visual {
    opacity: 0.34;
    width: 80vw;
  }

  .pm-grid-3,
  .pm-grid-2,
  .pm-grid-4,
  .pm-logo-grid,
  .pm-team-card,
  .pm-split,
  .pm-contact,
  .pm-metrics {
    grid-template-columns: 1fr;
  }

  .pm-team-card {
    justify-items: start;
  }

  .pm-metric {
    border-bottom: 1px solid rgba(255, 255, 255, 0.24);
    border-right: 0;
    padding: 28px 6vw;
  }
}

.pm-grid > *,
.pm-split > *,
.pm-contact > *,
.pm-team-card > *,
.pm-logo-grid > * {
  min-width: 0;
  overflow-wrap: anywhere;
}

.pm-menu-toggle {
  flex-shrink: 0;
}

@media (max-width: 620px) {
  .pm-header {
    min-height: 86px;
  }

  .pm-brand-mark {
    height: 46px;
    width: 46px;
  }

  .pm-brand-logo {
    height: 70px;
    width: 172px;
  }

  .pm-brand-text strong {
    font-size: 21px;
  }

  .pm-brand-text span {
    font-size: 10px;
    letter-spacing: 2px;
  }

  .pm-hero {
    min-height: 760px;
    padding-top: 132px;
  }

  .pm-section {
    padding: 72px 6vw;
  }

  .pm-footer {
    display: grid;
  }
}
