/* STRAN.SI legacy pages aligned with the 2026 trio salon design. */
:root {
  --trio-ink: #0c132d;
  --trio-dark: #080e22;
  --trio-blue: #2457f5;
  --trio-cyan: #41d9ff;
  --trio-muted: #5b647a;
  --trio-line: #dfe5f0;
  --trio-soft: #f3f6fb;
  --trio-radius: 16px;
  --trio-shadow: 0 24px 70px rgba(13,24,59,.14);
}

html { scroll-padding-top: 122px; }
body { color: var(--trio-ink); background: #fff; }
.wrap { width: min(1240px, calc(100% - 48px)); margin-inline: auto; }

.ecosystem-bar { position: relative; z-index: 42; color: #fff; background: var(--trio-dark); font-size: .78rem; }
.ecosystem-bar__inner { min-height: 40px; display: flex; align-items: stretch; gap: 20px; }
.ecosystem-bar__label { display: flex; align-items: center; color: #aeb8d3; font-weight: 750; white-space: nowrap; }
.ecosystem-bar__links { display: flex; align-items: stretch; gap: 3px; }
.ecosystem-bar__links a { position: relative; display: flex; align-items: center; gap: 7px; padding: 0 12px; color: #c8d0e4; text-decoration: none; }
.ecosystem-bar__links a::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 0; height: 2px; transform: scaleX(0); background: var(--trio-cyan); transition: transform .2s ease; }
.ecosystem-bar__links a:hover, .ecosystem-bar__links a.is-active { color: #fff; background: rgba(255,255,255,.05); }
.ecosystem-bar__links a:hover::after, .ecosystem-bar__links a.is-active::after { transform: scaleX(1); }
.ecosystem-bar__links strong { color: inherit; font-size: .78rem; }
.ecosystem-bar__links span { color: #919db9; font-size: .7rem; }
.ecosystem-bar__phone { margin-left: auto; display: flex; align-items: center; gap: 7px; color: #fff; font-weight: 800; white-space: nowrap; }

.topbar { z-index: 40; background: rgba(255,255,255,.95); border-bottom: 1px solid rgba(217,224,237,.9); box-shadow: none; backdrop-filter: blur(15px); }
.topbar::before { display: none; }
.topbar-inner { min-height: 82px; gap: 22px; }
.topbar .brand { gap: 13px; }
.topbar .brand img { width: 185px; }
.topbar .brand > span { display: block; max-width: 95px; padding-left: 13px; color: #737d92; border-left: 1px solid var(--trio-line); font-size: .66rem; font-weight: 760; line-height: 1.25; text-transform: uppercase; letter-spacing: .08em; }
.topbar-phone { order: 3; min-height: 42px; margin-left: 0 !important; padding: 9px 15px !important; color: #fff !important; background: var(--trio-blue) !important; border-color: var(--trio-blue) !important; border-radius: 10px !important; font-size: .84rem !important; box-shadow: none; }
.topbar-phone:hover { background: #173cc8 !important; }
.topbar .nav { margin-left: auto; gap: clamp(10px, 1.1vw, 18px); font-size: .88rem; }
.topbar .nav-link, .topbar .nav > a:not(.btn) { position: relative; padding-block: 28px; color: #30384d; font-weight: 700; }
.topbar .nav-link::after, .topbar .nav > a:not(.btn)::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 20px; height: 2px; background: var(--trio-blue); transition: right .2s ease; }
.topbar .nav-link:hover::after, .topbar .nav-link.is-active::after, .topbar .nav > a:not(.btn):hover::after, .topbar .nav > a.is-active:not(.btn)::after { right: 0; }
.topbar .nav-link:hover, .topbar .nav-link.is-active, .topbar .nav > a:hover { color: var(--trio-blue); }
.topbar .btn-nav { min-height: 42px; padding: 10px 16px; color: #fff !important; background: var(--trio-blue); border-radius: 10px; }
.topbar .btn-nav:hover { background: #173cc8; }
.nav-dropdown { border-color: var(--trio-line); border-radius: 12px; box-shadow: 0 18px 50px rgba(13,24,59,.16); }
.topbar .nav-mega {
  right: 0;
  left: auto;
  width: min(760px, calc(100vw - 48px));
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 8px;
  padding: 14px;
  transform: translateY(6px);
}
.topbar .nav-item.is-open > .nav-mega,
.topbar .nav-item:focus-within > .nav-mega { transform: translateY(0); }
.nav-mega__group { min-width: 0; padding: 9px; }
.nav-mega__title { display: block; margin: 0 8px 7px; color: #7a8498; font-size: .67rem; font-weight: 850; text-transform: uppercase; letter-spacing: .1em; }
.nav-dropdown.nav-mega .nav-mega__group a { padding: 9px 8px; border-radius: 8px; font-size: .86rem; line-height: 1.25; white-space: normal; }
.nav-mega__feature {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: .7fr 1.5fr auto;
  align-items: center;
  gap: 16px;
  padding: 15px 17px;
  background: linear-gradient(135deg,#eff4ff,#eefbff);
  border: 1px solid #d9e4fb;
  border-radius: 12px;
}
.nav-mega__feature span { color: #68748b; font-size: .72rem; font-weight: 750; }
.nav-mega__feature strong { font-size: .85rem; line-height: 1.35; }
.nav-dropdown.nav-mega .nav-mega__feature a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 11px;
  color: #fff;
  background: var(--trio-blue);
  border-radius: 9px;
  font-size: .78rem;
  font-weight: 800;
  white-space: nowrap;
}
.nav-dropdown.nav-mega .nav-mega__feature a:hover { color: #fff; background: #173cc8; }

.page-hero:not(.page-hero-case) { padding: 82px 0 72px; color: #fff; background: radial-gradient(circle at 82% 18%,rgba(65,217,255,.2),transparent 30%),radial-gradient(circle at 13% 100%,rgba(36,87,245,.28),transparent 34%),linear-gradient(135deg,#080e22,#111b43 62%,#0a2f5d); border-bottom: 0; }
.page-hero:not(.page-hero-case)::before { inset: 0; clip-path: none; transform: none; animation: none; opacity: .15; background-image: linear-gradient(rgba(255,255,255,.08) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.08) 1px,transparent 1px); background-size: 48px 48px; mask-image: linear-gradient(to right,#000,transparent 75%); }
.page-hero:not(.page-hero-case)::after { display: none; }
.page-hero:not(.page-hero-case) h1 { max-width: 960px; color: #fff; font-size: clamp(2.75rem,5vw,4.9rem); line-height: 1; letter-spacing: -.045em; font-weight: 760; }
.page-hero:not(.page-hero-case) .lead { max-width: 800px; color: #c5cde0; font-size: clamp(1.05rem,1.55vw,1.25rem); line-height: 1.65; }
.page-hero-case { min-height: 500px; }
.breadcrumbs {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 24px;
  color: #aebbd5;
  font-size: .76rem;
  font-weight: 700;
}
.breadcrumbs a { color: #8fe4ff; text-decoration: none; }
.breadcrumbs a:hover { color: #fff; }
.breadcrumbs span[aria-hidden="true"] { color: rgba(255,255,255,.38); }
.breadcrumbs span[aria-current="page"] { max-width: min(580px,70vw); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.case-breadcrumb-container { position: relative; z-index: 3; margin-bottom: -6px; }
.custom-hero-breadcrumb {
  padding: 24px 0 1px;
  background: linear-gradient(135deg,#080e22,#111b43 62%,#0a2f5d);
}
.custom-hero-breadcrumb .breadcrumbs { margin-bottom: 16px; }

/* Content-specific heroes keep their information architecture but use the same salon shell. */
.pricing-hero, .budget-detail-hero, .section-lead-magnet-hero, .contact-intro-bar {
  position: relative;
  color: #fff;
  background: radial-gradient(circle at 84% 20%,rgba(65,217,255,.2),transparent 30%),radial-gradient(circle at 12% 100%,rgba(36,87,245,.28),transparent 34%),linear-gradient(135deg,#080e22,#111b43 62%,#0a2f5d);
  border-bottom: 0;
}
.pricing-hero::before, .budget-detail-hero::before, .section-lead-magnet-hero::before, .contact-intro-bar::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  clip-path: none;
  transform: none;
  animation: none;
  opacity: .14;
  background-image: linear-gradient(rgba(255,255,255,.08) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.08) 1px,transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(to right,#000,transparent 75%);
}
.pricing-hero::after, .budget-detail-hero::after { display: none; }
.pricing-hero > .container, .budget-detail-hero > .container, .section-lead-magnet-hero > .container, .contact-intro-bar > .container { position: relative; z-index: 1; }
.pricing-hero h1, .budget-detail-hero h1, .section-lead-magnet-hero h1, .contact-intro-bar h1 { color: #fff; }
.pricing-hero .lead, .budget-detail-hero .lead, .section-lead-magnet-hero .lead, .contact-intro-bar p { color: #c5cde0; }
.section-lead-magnet-hero .lead-magnet-copy > p { color: #c5cde0; }
.pricing-hero-question, .budget-back-link, .budget-detail-range { color: #75ddff; }
.contact-intro-bar .cds-item { color: #fff; }
.contact-intro-bar .cds-item svg { color: #75ddff; }
.lead-magnet-benefits li { color: var(--trio-ink); }

.section { padding-block: 78px; }
.section:nth-of-type(even):not(.page-hero):not(.section-dark):not(.section-cta) { background-color: #f7f9fc; }
.service-card, .price-card, .feature-panel, .form-panel, .reference-card, .content-card, .faq-item, .legal-card { border-radius: 14px; border-color: var(--trio-line); box-shadow: 0 12px 34px rgba(13,24,59,.06); }
.btn, button, input, textarea, select { border-radius: 10px; }
.btn-primary { background: var(--trio-blue); box-shadow: 0 14px 28px rgba(36,87,245,.2); }
.btn-primary:hover { background: #173cc8; }
.section-label, .eyebrow { color: var(--trio-blue); }
.next-step, .section-cta, .cta-panel { border-radius: var(--trio-radius); }

.related-navigation {
  padding: 58px 0 64px;
  background: #f3f6fb;
  border-top: 1px solid var(--trio-line);
}
.related-navigation__label {
  display: block;
  margin-bottom: 8px;
  color: var(--trio-blue);
  font-size: .7rem;
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: .1em;
}
.related-navigation h2 { margin: 0 0 24px; font-size: clamp(1.55rem,2.5vw,2.15rem); }
.related-navigation__grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 14px; }
.related-navigation__grid a {
  position: relative;
  min-width: 0;
  min-height: 142px;
  display: flex;
  flex-direction: column;
  padding: 21px 54px 21px 21px;
  color: var(--trio-ink);
  background: #fff;
  border: 1px solid var(--trio-line);
  border-radius: 14px;
  box-shadow: 0 10px 30px rgba(13,24,59,.05);
  transition: transform .18s ease,border-color .18s ease,box-shadow .18s ease;
}
.related-navigation__grid a:hover {
  transform: translateY(-3px);
  border-color: #b8c8ed;
  box-shadow: 0 18px 42px rgba(13,24,59,.1);
}
.related-navigation__grid strong { margin-bottom: 7px; font-size: 1rem; }
.related-navigation__grid span { color: var(--trio-muted); font-size: .82rem; line-height: 1.5; }
.related-navigation__grid i {
  position: absolute;
  top: 20px;
  right: 20px;
  color: var(--trio-blue);
  font-size: 1.3rem;
  font-style: normal;
}

.site-footer { padding: 60px 0 24px; color: var(--trio-ink); background: #fff; border-top: 1px solid var(--trio-line); }
.site-footer .footer-grid { display: grid; grid-template-columns: 1.35fr .85fr 1.1fr 1fr; gap: 42px; }
.site-footer .footer-brand img { width: 190px; margin: 0 0 18px; padding: 0; background: transparent; }
.site-footer .footer-brand p { max-width: 350px; }
.site-footer .footer-grid h2 { margin-bottom: 16px; color: var(--trio-ink); font-size: .76rem; font-weight: 850; text-transform: uppercase; letter-spacing: .1em; }
.site-footer .footer-grid > div:not(.footer-brand) { display: flex; flex-direction: column; align-items: flex-start; }
.site-footer .footer-grid a, .site-footer .footer-grid p { margin: 0 0 8px; color: var(--trio-muted); font-size: .76rem; line-height: 1.5; }
.site-footer .footer-grid a:hover { color: var(--trio-blue); }
.site-footer .footer-bottom { display: flex; justify-content: space-between; gap: 20px; margin-top: 40px; padding-top: 20px; color: #818a9d; border-top: 1px solid var(--trio-line); font-size: .68rem; }

@media (max-width: 1120px) {
  .topbar .brand > span { display: none; }
  .topbar .nav { gap: 11px; }
  .topbar-phone { padding-inline: 12px !important; }
  .site-footer .footer-grid { grid-template-columns: 1.2fr 1fr 1fr; }
  .site-footer .footer-grid > div:last-child { grid-column: 1 / -1; }
}

@media (max-width: 940px) {
  .ecosystem-bar__label, .ecosystem-bar__links span { display: none; }
  .ecosystem-bar__links a { min-height: 38px; padding-inline: 10px; }
  .topbar-phone { order: 0; margin-left: auto !important; margin-right: 0 !important; }
  .topbar .nav { top: 82px; max-height: calc(100vh - 122px); justify-content: flex-start; overflow-y: auto; }
  .topbar .nav-link, .topbar .nav > a:not(.btn) { padding: 13px 12px; }
  .topbar .nav-link::after, .topbar .nav > a:not(.btn)::after { display: none; }
  .topbar .nav-mega {
    position: static;
    right: auto;
    left: auto;
    width: 100%;
    display: block;
    padding: 2px 0 6px 10px;
    transform: none;
  }
  .nav-mega__group { padding: 3px 0; }
  .nav-mega__title { margin-top: 8px; }
  .nav-dropdown.nav-mega .nav-mega__group a { padding: 10px 12px; font-size: .92rem; }
  .nav-mega__feature { display: grid; grid-template-columns: 1fr; gap: 6px; margin: 8px 10px 4px 0; padding: 13px; }
  .nav-dropdown.nav-mega .nav-mega__feature a { width: fit-content; margin-top: 4px; }
  .nav-item.is-open > .nav-dropdown.nav-mega { max-height: 980px; }
  .related-navigation__grid { grid-template-columns: 1fr; }
  .related-navigation__grid a { min-height: 0; }
  .site-footer .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}

@media (max-width: 680px) {
  .wrap { width: min(100% - 28px, 1240px); }
  .ecosystem-bar__inner { justify-content: center; gap: 4px; }
  .ecosystem-bar__links { width: 100%; justify-content: space-between; margin-left: -7px; }
  .ecosystem-bar__links a { flex: 1 1 auto; justify-content: center; padding-inline: 7px; font-size: .68rem; }
  .ecosystem-bar__phone { display: none; }
  .topbar-inner { min-height: 70px; gap: 9px; }
  .topbar .brand img { width: 150px; }
  .topbar-phone { min-width: 42px; justify-content: center; padding: 9px !important; }
  .topbar .nav { top: 70px; max-height: calc(100vh - 110px); }
  .page-hero:not(.page-hero-case) { padding-block: 58px 52px; }
  .page-hero:not(.page-hero-case) h1 { font-size: clamp(2.35rem,11vw,3.4rem); overflow-wrap: normal; word-break: normal; }
  .breadcrumbs { margin-bottom: 18px; font-size: .71rem; }
  .breadcrumbs span[aria-current="page"] { max-width: 62vw; }
  .section { padding-block: 58px; }
  .related-navigation { padding-block: 46px 52px; }
  .site-footer { padding-bottom: 90px; }
  .site-footer .footer-grid { grid-template-columns: 1fr; }
  .site-footer .footer-grid > div:last-child { grid-column: auto; }
  .site-footer .footer-bottom { flex-direction: column; }
}
/* Shared STRAN.SI + GIGA.SI + PCSERVIS.SI packages */
.package-range small { font-size: .7rem; font-weight: 800; }
.package-range-gross { margin: -5px 0 12px; color: #667085; font-size: .78rem; font-weight: 750; }
.ecosystem-package-grid { display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); gap: 14px; }
.ecosystem-package-grid > article { min-width: 0; display: flex; flex-direction: column; min-height: 265px; padding: 23px; color: #121d31; background: #fff; border: 1px solid #dde3ee; border-radius: 17px; box-shadow: 0 12px 32px rgba(18,34,70,.07); }
.ecosystem-package-grid > article > span { color: #365cf5; font-size: .65rem; font-weight: 900; letter-spacing: .12em; }
.ecosystem-package-grid > article h3 { margin: 27px 0 10px; font-size: 1.12rem; line-height: 1.18; }
.ecosystem-package-grid > article p { margin: 0 0 21px; color: #5f6b7d; font-size: .77rem; line-height: 1.55; }
.ecosystem-package-grid > article strong { margin-top: auto; color: #15224a; font-size: .86rem; }
.ecosystem-package-grid > article small { margin-top: 5px; color: #6f7889; font-size: .65rem; line-height: 1.4; }
@media (max-width: 1100px) { .ecosystem-package-grid { grid-template-columns: repeat(3,minmax(0,1fr)); } }
@media (max-width: 720px) {
  .ecosystem-package-grid { grid-template-columns: 1fr; }
  .ecosystem-package-grid > article { min-height: 0; padding: 21px; }
  .ecosystem-package-grid > article h3 { margin-top: 16px; }
}
