/*
Theme Name: SOLEKOM Kadence Child
Theme URI: https://solekom.pl/
Description: Child theme Kadence dla strony glownej SOLEKOM.
Author: SOLEKOM
Template: kadence
Version: 1.2.0
Text Domain: solekom-kadence-child
*/

@import url("https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&display=swap");

:root {
  --solekom-black: #05090f;
  --solekom-navy: #07131d;
  --solekom-red: #ed1c24;
  --solekom-red-dark: #c9121a;
  --solekom-ink: #0d1117;
  --solekom-muted: #5d6470;
  --solekom-soft: #f3f5f8;
  --solekom-line: #d9dee6;
  --solekom-radius: 8px;
  --solekom-shadow: 0 22px 70px rgba(5, 9, 15, 0.22);
  --solekom-font: "Manrope", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

body {
  color: var(--solekom-ink);
  font-family: var(--solekom-font);
  font-weight: 400;
}

.solekom-front-page .site-header,
.solekom-front-page .site-footer {
  display: none;
}

.solekom-home {
  overflow: hidden;
  background: #ffffff;
  color: var(--solekom-ink);
  font-family: var(--solekom-font);
  font-weight: 400;
}

.solekom-home h1 {
  font-weight: 800;
}

.solekom-home h2 {
  font-weight: 700;
}

.solekom-home h3 {
  font-weight: 600;
}

.solekom-home p,
.solekom-home li {
  font-weight: 400;
}

.solekom-container {
  width: min(100% - 56px, 1240px);
  margin: 0 auto;
}

.solekom-topbar {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(5, 9, 15, 0.92);
  backdrop-filter: blur(14px);
}

.solekom-topbar__inner {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr) auto;
  gap: 34px;
  align-items: center;
  min-height: 86px;
}

.solekom-logo {
  display: inline-flex;
  align-items: center;
  color: #ffffff;
  text-decoration: none;
}

.solekom-logo:hover {
  color: #ffffff;
}

.solekom-logo img {
  display: block;
  width: 276px;
  height: auto;
  max-height: 80px;
}

.solekom-nav {
  display: flex;
  justify-content: center;
  gap: clamp(22px, 2.4vw, 36px);
  align-items: center;
  min-width: 0;
}

.solekom-nav a {
  position: relative;
  color: #ffffff;
  font-family: var(--solekom-font);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.25;
  white-space: nowrap;
  text-decoration: none;
}

.solekom-nav a:first-child::after,
.solekom-nav a:hover::after {
  position: absolute;
  right: 0;
  bottom: -25px;
  left: 0;
  height: 2px;
  background: var(--solekom-red);
  content: "";
}

.solekom-phone {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 20px;
  border-radius: 4px;
  background: var(--solekom-red);
  color: #ffffff;
  font-size: 15px;
  font-weight: 700;
  white-space: nowrap;
  text-decoration: none;
  box-shadow: 0 18px 36px rgba(237, 28, 36, 0.28);
}

.solekom-phone:hover {
  background: var(--solekom-red-dark);
  color: #ffffff;
}

.solekom-hero {
  position: relative;
  overflow: hidden;
  min-height: 630px;
  padding: 132px 0 58px;
  background: #05090f;
  color: #ffffff;
}

.solekom-hero::before {
  position: absolute;
  inset: 0;
  background: url("assets/images/huawei_hero5.png") right center / auto 100% no-repeat;
  content: "";
  pointer-events: none;
  transform: translateZ(0);
  will-change: transform;
}

.solekom-hero::after {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(5, 9, 15, 0.98) 0%, rgba(5, 9, 15, 0.92) 34%, rgba(5, 9, 15, 0.62) 58%, rgba(5, 9, 15, 0.16) 82%),
    radial-gradient(circle at 64% 48%, rgba(237, 28, 36, 0.14), transparent 25%),
    linear-gradient(180deg, transparent 0%, rgba(5, 9, 15, 0.16) 100%);
  content: "";
  pointer-events: none;
}

.solekom-hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(620px, 0.98fr) minmax(320px, 0.82fr);
  gap: 18px;
  align-items: end;
}

.solekom-hero__copy h1 {
  max-width: 760px;
  margin: 0 0 22px;
  color: #ffffff;
  font-size: clamp(40px, 5.5vw, 70px);
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: 0;
}

.solekom-hero__copy h1 span {
  display: block;
  color: var(--solekom-red);
}

.solekom-hero__copy h2 {
  margin: 0 0 24px;
  color: #ffffff;
  font-size: clamp(24px, 2.4vw, 34px);
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: 0;
}

.solekom-hero__copy h2 span {
  display: block;
}

.solekom-hero__copy p {
  max-width: 680px;
  margin: 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: 18px;
  font-weight: 400;
  line-height: 1.7;
}

.solekom-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin: 34px 0 36px;
  max-width: 720px;
}

.solekom-stats div {
  position: relative;
  padding-left: 26px;
}

.solekom-stats div::before {
  position: absolute;
  top: 3px;
  left: 0;
  width: 18px;
  height: 18px;
  border: 2px solid var(--solekom-red);
  border-radius: 50%;
  content: "";
}

.solekom-stats strong {
  display: block;
  color: var(--solekom-red);
  font-size: 17px;
  font-weight: 700;
  line-height: 1.1;
}

.solekom-stats span {
  display: block;
  margin-top: 3px;
  color: #ffffff;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.2;
}

.solekom-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 32px;
  border-radius: 4px;
  background: var(--solekom-red);
  color: #ffffff;
  font-size: 18px;
  font-weight: 700;
  white-space: nowrap;
  text-decoration: none;
  box-shadow: 0 18px 36px rgba(237, 28, 36, 0.25);
}

.solekom-button:hover,
.solekom-button:focus {
  background: var(--solekom-red-dark);
  color: #ffffff;
}

.solekom-hero__visual {
  position: relative;
  min-height: 420px;
}

.solekom-hero-ambient {
  position: absolute;
  right: -4vw;
  bottom: -58px;
  width: min(54vw, 760px);
  height: 230px;
  background:
    radial-gradient(ellipse at 62% 18%, rgba(237, 28, 36, 0.16), transparent 30%),
    linear-gradient(180deg, transparent, rgba(5, 9, 15, 0.74) 70%, rgba(5, 9, 15, 0.92));
  filter: blur(6px);
  pointer-events: none;
}

.solekom-services,
.solekom-pricing,
.solekom-why {
  padding: 44px 0 52px;
  background: #ffffff;
}

.solekom-section-title {
  margin: 0 auto 42px;
  text-align: center;
}

.solekom-section-title h2 {
  position: relative;
  display: inline-block;
  margin: 0;
  color: #070b12;
  font-size: clamp(30px, 3vw, 42px);
  font-weight: 700;
  letter-spacing: 0;
}

.solekom-section-title h2::after,
.solekom-why__copy h2::after {
  position: absolute;
  bottom: -14px;
  left: 50%;
  width: 54px;
  height: 2px;
  background: var(--solekom-red);
  content: "";
  transform: translateX(-50%);
}

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

.solekom-service {
  text-align: center;
}

.solekom-service__icon {
  position: relative;
  display: inline-flex;
  width: 80px;
  height: 80px;
  margin: 0 auto 16px;
  border: 1px solid #b8bec8;
  border-radius: 50%;
  background: #ffffff;
  box-shadow: 0 10px 26px rgba(5, 9, 15, 0.08);
}

.solekom-service__icon::before,
.solekom-service__icon::after {
  position: absolute;
  content: "";
}

.solekom-service__icon::before {
  inset: 23px;
  border: 3px solid var(--solekom-red);
  border-radius: 3px;
}

.solekom-icon--chart::after {
  right: 18px;
  bottom: 23px;
  width: 32px;
  height: 23px;
  border-left: 3px solid #111827;
  border-bottom: 3px solid #111827;
  transform: skew(-12deg);
}

.solekom-icon--stethoscope::before {
  inset: 18px 24px 30px;
  border-top: 0;
  border-radius: 0 0 18px 18px;
}

.solekom-icon--battery::before {
  inset: 22px 28px;
}

.solekom-icon--meter::before {
  inset: 22px 20px;
}

.solekom-icon--ct::before {
  inset: 22px;
  border-radius: 50%;
}

.solekom-icon--arrows::before {
  inset: 27px 18px;
  border-right: 0;
  border-left: 0;
}

.solekom-icon--cloud::before {
  inset: 27px 18px 22px;
  border-radius: 18px;
}

.solekom-icon--remote::before {
  inset: 22px 18px;
}

.solekom-service h3 {
  margin: 0 0 12px;
  color: #070b12;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.28;
}

.solekom-service p {
  margin: 0;
  color: #111827;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.6;
}

.solekom-pricing {
  background: linear-gradient(180deg, #eef2f6, #ffffff);
}

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

.solekom-price-card {
  min-height: 310px;
  padding: 26px 24px;
  border-radius: var(--solekom-radius);
  background: #ffffff;
  text-align: center;
  box-shadow: 0 14px 44px rgba(5, 9, 15, 0.08);
}

.solekom-price-card--featured {
  outline: 3px solid rgba(237, 28, 36, 0.22);
  transform: translateY(-10px);
}

.solekom-price-card h3 {
  min-height: 54px;
  margin: 0;
  color: #070b12;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.24;
}

.solekom-price-card h3 span {
  display: block;
}

.solekom-price-card__icon {
  width: 44px;
  height: 44px;
  margin: 24px auto 18px;
  border: 3px solid #10151c;
  border-radius: 50%;
}

.solekom-price-card strong {
  display: block;
  color: var(--solekom-red);
  font-size: 34px;
  font-weight: 800;
  line-height: 1;
}

.solekom-price-card strong span,
.solekom-price-card em {
  font-size: 13px;
  font-style: normal;
  font-weight: 600;
}

.solekom-price-card ul {
  display: grid;
  gap: 8px;
  margin: 22px 0 0;
  padding: 0;
  text-align: left;
  list-style: none;
}

.solekom-price-card li {
  position: relative;
  padding-left: 22px;
  color: #111827;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.4;
}

.solekom-price-card li::before {
  position: absolute;
  top: 1px;
  left: 0;
  width: 14px;
  height: 14px;
  border: 1px solid var(--solekom-red);
  border-radius: 50%;
  color: var(--solekom-red);
  font-size: 10px;
  line-height: 12px;
  text-align: center;
  content: "✓";
}

.solekom-pricing-bar {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 24px;
  padding: 22px 28px;
  border-radius: 5px;
  background: linear-gradient(90deg, #06111b, #091823);
  color: #ffffff;
  font-size: 15px;
  font-weight: 600;
}

.solekom-why {
  position: relative;
  min-height: 620px;
  padding: 0;
  background:
    linear-gradient(90deg, rgba(5, 9, 15, 0.96) 0%, rgba(5, 9, 15, 0.76) 26%, rgba(5, 9, 15, 0.16) 58%, rgba(5, 9, 15, 0.02) 100%),
    var(--why-image) center right / cover no-repeat;
  color: #ffffff;
}

.solekom-why__grid {
  display: grid;
  grid-template-columns: minmax(320px, 0.46fr) minmax(0, 0.54fr);
  align-items: center;
  min-height: 620px;
}

.solekom-why__copy {
  max-width: 410px;
  padding: 70px 0;
}

.solekom-why__copy h2 {
  position: relative;
  display: inline-block;
  margin: 0 0 42px;
  color: #ffffff;
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 700;
}

.solekom-why__copy h2::after {
  right: auto;
  left: 27px;
}

.solekom-why__copy ul {
  display: grid;
  gap: 13px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.solekom-why__copy li {
  position: relative;
  padding-left: 28px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.55;
}

.solekom-why__copy li::before {
  position: absolute;
  top: 1px;
  left: 0;
  color: var(--solekom-red);
  font-weight: 700;
  content: "✓";
}

.solekom-why__image {
  position: relative;
  min-height: 620px;
}

.solekom-app-card {
  position: absolute;
  right: 8px;
  bottom: 72px;
  width: 215px;
  padding: 24px;
  border-radius: 22px;
  background: linear-gradient(135deg, #1068e6, #0756c9);
  color: #ffffff;
  box-shadow: 0 28px 62px rgba(0, 39, 120, 0.34);
  transform: rotate(-5deg);
}

.solekom-app-card strong,
.solekom-app-card span {
  display: block;
}

.solekom-app-card strong {
  font-size: 22px;
  font-weight: 700;
}

.solekom-app-card span {
  margin-top: 14px;
  font-size: 15px;
  line-height: 1.6;
}

.solekom-contact-strip {
  padding: 34px 0;
  background: #06111b;
  color: #ffffff;
}

.solekom-contact-strip .solekom-container {
  display: flex;
  gap: 24px;
  align-items: center;
  justify-content: space-between;
}

.solekom-contact-strip h2 {
  margin: 0;
  color: #ffffff;
  font-size: clamp(24px, 3vw, 38px);
  font-weight: 700;
}

.solekom-footer {
  padding: 42px 0 18px;
  background: #06111b;
  color: rgba(255, 255, 255, 0.82);
}

.solekom-footer__grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 60px;
}

.solekom-logo--footer {
  margin-bottom: 22px;
}

.solekom-logo--footer img {
  width: 304px;
}

.solekom-footer p {
  margin: 0 0 10px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 15px;
  line-height: 1.65;
}

.solekom-footer h3 {
  margin: 0 0 18px;
  color: #ffffff;
  font-size: 18px;
  font-weight: 600;
}

.solekom-footer a {
  color: var(--solekom-red);
  font-weight: 600;
  text-decoration: none;
}

.solekom-footer__bottom {
  margin-top: 28px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.62);
  font-size: 13px;
}

@media (max-width: 1180px) {
  .solekom-topbar__inner {
    grid-template-columns: 1fr auto;
  }

  .solekom-nav {
    display: none;
  }

  .solekom-hero__grid,
  .solekom-why__grid {
    grid-template-columns: 1fr;
  }

  .solekom-why,
  .solekom-why__grid,
  .solekom-why__image {
    min-height: 560px;
  }

  .solekom-why {
    background:
      linear-gradient(90deg, rgba(5, 9, 15, 0.96) 0%, rgba(5, 9, 15, 0.78) 45%, rgba(5, 9, 15, 0.22) 100%),
      var(--why-image) center right / cover no-repeat;
  }

  .solekom-service-grid,
  .solekom-price-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .solekom-hero__visual {
    min-height: 360px;
  }
}

@media (max-width: 720px) {
  .solekom-container {
    width: min(100% - 28px, 1240px);
  }

  .solekom-topbar__inner {
    min-height: 82px;
  }

  .solekom-logo img {
    width: 230px;
  }

  .solekom-phone {
    display: none;
  }

  .solekom-hero {
    padding-top: 118px;
  }

  .solekom-hero::before {
    background-size: auto 100%;
    background-position: 62% center;
  }

  .solekom-hero__visual {
    display: none;
  }

  .solekom-stats,
  .solekom-service-grid,
  .solekom-price-grid,
  .solekom-pricing-bar,
  .solekom-footer__grid {
    grid-template-columns: 1fr;
  }

  .solekom-price-card--featured {
    transform: none;
  }

  .solekom-contact-strip .solekom-container {
    align-items: stretch;
    flex-direction: column;
  }

  .solekom-why__copy {
    padding: 56px 0 20px;
  }

  .solekom-why__image {
    min-height: 220px;
  }

  .solekom-app-card {
    right: 18px;
    bottom: 28px;
    width: 190px;
  }

  .solekom-button {
    width: 100%;
  }
}
