/* Hlavná stránka po prerobení detailov služieb. */
.page-home-v2 .site-header {
  background: rgba(237, 233, 226, .97);
  border-bottom-color: rgba(17, 17, 17, .09);
}

.home-main svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.home-hero {
  display: grid;
  grid-template-columns: minmax(0, .88fr) minmax(530px, 1.12fr);
  gap: clamp(52px, 7vw, 110px);
  align-items: start;
  min-height: 720px;
  padding: clamp(48px, 6vw, 76px) var(--page-padding);
  overflow: hidden;
  border-bottom: 1px solid #d7d0c6;
  background:
    radial-gradient(circle at 86% 16%, rgba(104, 183, 25, .11), transparent 29%),
    #f8f5ef;
}

.home-hero-copy { position: relative; z-index: 2; }
.home-hero-copy h1 {
  max-width: 820px;
  margin-bottom: 0;
  font-size: clamp(42px, 4.25vw, 62px);
  line-height: 1.035;
  letter-spacing: -.045em;
}
.home-hero-copy h1 span { color: var(--green-dark); }
.home-hero-copy > p {
  max-width: 720px;
  margin: 29px 0 33px;
  color: #555950;
  font-size: 18px;
  line-height: 1.7;
}
.home-hero-copy .actions { display: flex; align-items: center; gap: 27px; }
.home-text-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  border-bottom: 1px solid #7e817a;
  color: #22251f;
  font-size: 14px;
  font-weight: 900;
}
.home-text-link span { color: var(--green-dark); transition: transform .2s ease; }
.home-text-link:hover span { transform: translateX(4px); }

.home-hero-system {
  position: relative;
  min-width: 0;
  padding: 30px 18px 63px 0;
}
.home-system-window {
  position: relative;
  z-index: 1;
  overflow: hidden;
  border: 11px solid #171a17;
  border-bottom-width: 14px;
  border-radius: 18px 18px 9px 9px;
  background: #fff;
  box-shadow: 0 28px 52px rgba(24, 29, 21, .22);
}
.home-system-window::before {
  content: "";
  position: absolute;
  z-index: 6;
  top: -7px;
  left: 50%;
  width: 4px;
  height: 4px;
  border: 1px solid #424842;
  border-radius: 50%;
  background: #090b09;
  transform: translateX(-50%);
}
.home-system-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  height: 42px;
  padding: 0 14px;
  background: #222820;
  color: #dbe1d7;
}
.home-system-bar i { width: 7px; height: 7px; border-radius: 50%; background: #7a8277; }
.home-system-bar span { margin-left: 7px; font-size: 9px; font-weight: 800; }
.home-system-bar b { margin-left: auto; padding: 5px 8px; border-radius: 99px; background: rgba(112,207,42,.15); color: #9ddd6e; font-size: 7px; text-transform: uppercase; }
.home-system-screen { min-height: 395px; padding: 26px 28px; background: #f8f8f5; }
.home-system-nav { display: flex; align-items: center; gap: 12px; padding-bottom: 17px; border-bottom: 1px solid #dde1da; }
.home-system-nav strong { margin-right: auto; color: #2b3328; font-size: 9px; letter-spacing: .08em; }
.home-system-nav span { width: 29px; height: 4px; border-radius: 4px; background: #ccd2c8; }
.home-system-content { position: relative; min-height: 222px; padding: 36px 36% 30px 0; overflow: hidden; }
.home-system-content::after {
  content: "";
  position: absolute;
  top: 25px;
  right: 2%;
  width: 32%;
  aspect-ratio: 1;
  border: 1px solid #a9bf9b;
  border-radius: 50%;
  background:
    radial-gradient(circle at 45% 43%, var(--green) 0 8%, transparent 9%),
    radial-gradient(circle at 68% 62%, rgba(63,146,0,.5) 0 4%, transparent 5%),
    repeating-radial-gradient(circle, transparent 0 20px, rgba(63,146,0,.12) 21px 22px);
}
.home-system-content small { color: var(--green-dark); font-size: 7px; font-weight: 900; letter-spacing: .12em; }
.home-system-content h2 { max-width: 330px; margin: 10px 0 12px; font-size: clamp(23px, 2.1vw, 31px); line-height: 1.06; }
.home-system-content p { margin: 0 0 20px; color: #71776e; font-size: 9px; }
.home-system-content b { display: inline-block; padding: 9px 11px; border-radius: 5px; background: var(--green); color: #fff; font-size: 8px; }
.home-system-results { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); border-top: 1px solid #dce1d8; }
.home-system-results article { padding: 17px 12px 4px 0; }
.home-system-results strong,
.home-system-results span { display: block; }
.home-system-results strong { font-size: 11px; }
.home-system-results span { margin-top: 4px; color: #788075; font-size: 8px; }
.home-system-seo {
  position: absolute;
  z-index: 4;
  right: -10px;
  bottom: 4px;
  display: flex;
  align-items: center;
  gap: 11px;
  width: 235px;
  padding: 14px 16px;
  border: 1px solid #aebca5;
  border-radius: 12px;
  background: #f5f9f2;
  box-shadow: 0 17px 36px rgba(45, 60, 37, .16);
}
.home-system-seo > span { display: grid; width: 37px; height: 37px; flex: 0 0 auto; place-items: center; border-radius: 50%; background: #e3f1d9; color: var(--green-dark); }
.home-system-seo svg { width: 19px; height: 19px; }
.home-system-seo small,
.home-system-seo strong { display: block; }
.home-system-seo small { color: var(--green-dark); font-size: 7px; font-weight: 900; letter-spacing: .09em; }
.home-system-seo strong { margin-top: 3px; font-size: 11px; }
.home-system-seo > b { margin-left: auto; color: var(--green-dark); font-size: 18px; }
.home-system-mobile {
  position: absolute;
  z-index: 3;
  right: 21px;
  top: 102px;
  width: 88px;
  aspect-ratio: 9/18;
  padding: 25px 9px 12px;
  border: 6px solid #111411;
  border-radius: 24px;
  background: linear-gradient(145deg, #fff 0%, #f1f2ee 100%);
  box-shadow: 0 17px 30px rgba(26,31,23,.28), inset 0 0 0 1px #353a34;
}
.home-system-mobile::before { content: ""; position: absolute; top: 8px; left: 50%; width: 25px; height: 4px; border-radius: 4px; background: #4a5049; transform: translateX(-50%); }
.home-system-mobile::after { content: ""; position: absolute; top: 43px; right: -9px; width: 3px; height: 29px; border-radius: 0 3px 3px 0; background: #5a5e59; }
.home-system-mobile em { position: absolute; top: 8px; left: calc(50% + 18px); width: 4px; height: 4px; border-radius: 50%; background: #111; box-shadow: inset 0 0 0 1px #48534a; }
.home-system-mobile i,
.home-system-mobile strong,
.home-system-mobile span,
.home-system-mobile b,
.home-system-mobile small { display: block; border-radius: 4px; }
.home-system-mobile i { width: 35%; height: 5px; background: var(--green); }
.home-system-mobile strong { width: 85%; height: 31px; margin-top: 15px; background: #30372d; }
.home-system-mobile span { width: 100%; height: 5px; margin-top: 10px; background: #d6d9d2; }
.home-system-mobile span + span { width: 70%; margin-top: 6px; }
.home-system-mobile b { width: 65%; height: 18px; margin-top: 15px; background: var(--green); }
.home-system-mobile small { position: absolute; bottom: 6px; left: 50%; width: 34px; height: 3px; border-radius: 4px; background: #252925; transform: translateX(-50%); }
.home-system-orbit { position: absolute; z-index: 0; right: -95px; bottom: -60px; width: 310px; height: 310px; border: 1px solid rgba(63,146,0,.17); border-radius: 50%; }
.home-laptop-base {
  position: relative;
  z-index: 2;
  width: calc(100% + 34px);
  height: 17px;
  margin: -1px 0 0 -17px;
  border-radius: 2px 2px 14px 14px;
  background: linear-gradient(180deg, #d7d9d7 0%, #a9aca9 52%, #777b77 54%, #c2c5c2 100%);
  box-shadow: 0 10px 17px rgba(31, 35, 28, .18);
}
.home-laptop-base::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: 90px;
  height: 6px;
  border-radius: 0 0 7px 7px;
  background: #8e928e;
  transform: translateX(-50%);
}
.home-laptop-base span {
  position: absolute;
  right: 5%;
  bottom: -2px;
  left: 5%;
  height: 3px;
  border-radius: 50%;
  background: rgba(42, 45, 41, .18);
  filter: blur(2px);
}

/* Fotorealistický produktový mockup namiesto kreslených rámov zariadení. */
.home-hero-system {
  padding: 0;
}
.home-devices-photo {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 18px;
  box-shadow: 0 28px 58px rgba(35, 39, 31, .18);
}

.home-section-head {
  display: grid;
  grid-template-columns: minmax(210px,.5fr) minmax(0,1fr);
  gap: clamp(35px,7vw,110px);
  align-items: start;
  margin-bottom: 46px;
}
.home-section-head h2 { max-width: 850px; margin-bottom: 0; font-size: clamp(30px,3vw,40px); line-height: 1.12; }
.home-section-head > p { grid-column: 2; max-width: 730px; margin: -20px 0 0; }

.home-services { border-bottom: 1px solid #d7d0c6; }
.home-service-list { border-top: 1px solid #cfc8be; }
.home-service-row {
  display: grid;
  grid-template-columns: 72px minmax(0,1fr) 50px;
  gap: clamp(24px,4vw,60px);
  align-items: center;
  min-height: 225px;
  padding: 32px clamp(25px,3.8vw,52px);
  border-bottom: 1px solid #cfc8be;
  color: #171914;
  transition: background .22s ease;
}
.home-service-row:nth-child(2n) { background: rgba(229,235,224,.25); }
.home-service-row:hover { background: #e9f0e4; }
.home-service-icon { display: grid; width: 58px; height: 58px; place-items: center; border: 1px solid #aabb9e; border-radius: 14px; background: #eef3ea; color: var(--green-dark); }
.home-service-icon svg { width: 27px; height: 27px; }
.home-service-row small { color: var(--green-dark); font-size: 10px; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.home-service-row h2 { max-width: 950px; margin: 12px 0 10px; font-size: clamp(24px,2.4vw,34px); line-height: 1.12; }
.home-service-row p { max-width: 790px; margin: 0; color: #656961; }
.home-service-arrow { display: grid; width: 45px; height: 45px; place-items: center; border-radius: 50%; color: var(--green-dark); transition: transform .2s ease, background .2s ease; }
.home-service-arrow svg { width: 25px; height: 25px; }
.home-service-row:hover .home-service-arrow { background: var(--green); color: #fff; transform: translateX(4px); }

.home-one-team { border-bottom: 1px solid #293025; background: #20261f; color: #fff; }
.home-one-team-copy { display: grid; grid-template-columns: minmax(210px,.5fr) minmax(0,1fr); gap: clamp(35px,7vw,110px); align-items: start; margin-bottom: 50px; }
.home-one-team .eyebrow { color: #9ddd6e; }
.home-one-team-intro > p { max-width: 330px; margin: 34px 0 0; padding-top: 24px; border-top: 1px solid rgba(157,221,110,.42); color: #fff; font-size: clamp(22px,2vw,29px); font-weight: 700; line-height: 1.2; letter-spacing: -.025em; }
.home-one-team h2 { max-width: 830px; margin-bottom: 0; color: #fff; font-size: clamp(30px,3vw,40px); }
.home-one-team-main > p { max-width: 710px; margin: 36px 0 0; color: #d5dbd1; }
.home-capability-line { display: grid; grid-template-columns: minmax(0,1fr) 36px minmax(0,1fr) 36px minmax(0,1fr) 36px minmax(0,1fr); align-items: center; border-top: 1px solid rgba(255,255,255,.25); }
.home-capability-line article { min-height: 185px; padding: 29px 15px 20px 0; }
.home-capability-line article > span { display: grid; width: 44px; height: 44px; margin-bottom: 22px; place-items: center; border: 1px solid rgba(157,221,110,.5); border-radius: 50%; color: #9ddd6e; }
.home-capability-line svg { width: 22px; height: 22px; }
.home-capability-line small,
.home-capability-line strong { display: block; }
.home-capability-line small { margin-bottom: 7px; color: #9ddd6e; font-size: 8px; font-weight: 900; letter-spacing: .09em; text-transform: uppercase; }
.home-capability-line strong { font-size: 17px; }
.home-capability-line > i { color: #8dca5d; font-size: 20px; font-style: normal; }

.home-experience { display: grid; grid-template-columns: minmax(280px,.72fr) minmax(0,1.28fr); gap: clamp(50px,9vw,140px); align-items: center; border-bottom: 1px solid #d7d0c6; background: #e4ebdf; }
.home-experience-number { display: flex; flex-direction: column; justify-content: center; min-height: 390px; padding: 50px; border: 1px solid #afbea5; border-radius: 50%; text-align: center; }
.home-experience-number strong { color: var(--green-dark); font-size: clamp(76px,9vw,128px); line-height: .85; letter-spacing: -.07em; }
.home-experience-number span { max-width: 250px; margin: 23px auto 0; color: #515a4d; font-size: 13px; line-height: 1.45; }
.home-experience-copy h2 { max-width: 720px; font-size: clamp(30px,3vw,40px); }
.home-experience-copy > p { max-width: 690px; }
.home-experience-points { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 0 24px; margin-top: 28px; border-top: 1px solid #b8c3b0; }
.home-experience-points span { display: flex; gap: 10px; align-items: center; padding: 15px 0; border-bottom: 1px solid #b8c3b0; color: #30362d; font-size: 13px; font-weight: 800; }
.home-experience-points svg { width: 18px; height: 18px; flex: 0 0 auto; color: var(--green-dark); }

.home-process { border-bottom: 1px solid #d7d0c6; }
.home-process-list { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); border-top: 2px solid var(--green); }
.home-process-list article { display: grid; grid-template-columns: 52px minmax(0,1fr); gap: 20px; min-height: 180px; padding: 29px 32px 29px 0; border-right: 1px solid #d0c9bf; border-bottom: 1px solid #d0c9bf; }
.home-process-list article:nth-child(2n) { padding-left: 32px; border-right: 0; }
.home-process-list article > span { display: grid; width: 46px; height: 46px; place-items: center; border: 1px solid #a9bb9d; border-radius: 50%; background: #edf3e9; color: var(--green-dark); }
.home-process-list svg { width: 22px; height: 22px; }
.home-process-list strong { display: block; margin-bottom: 10px; font-size: 20px; }
.home-process-list p { max-width: 560px; margin: 0; font-size: 14px; }

.home-cta { display: flex; align-items: center; justify-content: space-between; gap: 45px; margin: 54px var(--page-padding); padding: 0 0 48px; border-bottom: 1px solid #bfb8ae; }
.home-cta h2 { max-width: 750px; margin-bottom: 0; font-size: clamp(30px,3vw,40px); }
.home-cta .btn { flex: 0 0 auto; }

@media (max-width: 1120px) {
  .home-hero { grid-template-columns: 1fr; }
  .home-hero-system { width: 100%; max-width: 790px; }
}

@media (max-width: 820px) {
  .home-section-head,
  .home-one-team-copy { grid-template-columns: 1fr; gap: 20px; }
  .home-section-head > p { grid-column: 1; margin-top: 0; }
  .home-one-team-main > p { margin-top: 24px; }
  .home-one-team-intro > p { max-width: 520px; margin-top: 24px; }
  .home-capability-line { grid-template-columns: 1fr; }
  .home-capability-line article { min-height: 0; padding: 24px 0; }
  .home-capability-line > i { justify-self: center; transform: rotate(90deg); }
  .home-experience { grid-template-columns: 1fr; }
  .home-experience-number { width: 390px; max-width: 100%; min-height: 390px; margin: 0 auto; }
  .home-cta { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 640px) {
  .home-hero { min-height: 0; padding-top: 48px; padding-bottom: 50px; }
  .home-hero-copy h1 { font-size: 36px; line-height: 1.055; }
  .home-hero-copy > p { font-size: 16px; line-height: 1.65; }
  .home-hero-copy .actions { align-items: stretch; flex-direction: column; gap: 17px; }
  .home-hero-copy .btn { width: 100%; }
  .home-text-link { align-self: flex-start; }
  .home-hero-system { padding: 0; }
  .home-devices-photo { width: 100%; margin: 0; border-radius: 13px; }
  .home-system-window { border-width: 5px; border-radius: 13px; }
  .home-laptop-base { width: calc(100% + 18px); height: 12px; margin-left: -9px; border-radius: 2px 2px 10px 10px; }
  .home-laptop-base::before { width: 58px; height: 4px; }
  .home-system-bar { height: 36px; padding: 0 10px; }
  .home-system-bar b { display: none; }
  .home-system-screen { min-height: 325px; padding: 18px 16px; }
  .home-system-content { min-height: 190px; padding: 29px 34% 20px 0; }
  .home-system-content h2 { font-size: 21px; }
  .home-system-content p { max-width: 160px; }
  .home-system-mobile { right: 12px; top: 93px; width: 65px; border-width: 4px; border-radius: 17px; }
  .home-system-mobile::after { right: -7px; height: 22px; }
  .home-system-mobile em { left: calc(50% + 15px); }
  .home-system-mobile small { width: 24px; height: 2px; }
  .home-system-seo { right: 7px; width: 215px; padding: 12px 14px; }
  .home-system-results article { padding-right: 6px; }
  .home-system-results span { font-size: 7px; }
  .home-section-head h2,
  .home-one-team h2,
  .home-experience-copy h2,
  .home-cta h2 { font-size: 28px; line-height: 1.14; }
  .home-service-row { grid-template-columns: 50px minmax(0,1fr); gap: 17px; min-height: 0; padding: 28px 0; }
  .home-service-icon { width: 48px; height: 48px; border-radius: 12px; }
  .home-service-icon svg { width: 23px; height: 23px; }
  .home-service-row h2 { font-size: 23px; }
  .home-service-row p { font-size: 14px; }
  .home-service-arrow { display: none; }
  .home-capability-line article { display: grid; grid-template-columns: 46px minmax(0,1fr); gap: 4px 16px; }
  .home-capability-line article > span { grid-row: 1 / span 2; margin: 0; }
  .home-capability-line > i { margin: -5px 0; }
  .home-experience { gap: 35px; }
  .home-experience-number { width: 280px; min-height: 280px; padding: 35px; }
  .home-experience-number strong { font-size: 82px; }
  .home-experience-points { grid-template-columns: 1fr; }
  .home-process-list { grid-template-columns: 1fr; }
  .home-process-list article,
  .home-process-list article:nth-child(2n) { min-height: 0; padding: 25px 0; border-right: 0; }
  .home-process-list strong { font-size: 18px; }
  .home-cta { gap: 25px; margin-top: 42px; margin-bottom: 42px; padding-bottom: 38px; }
}
