:root {
  --sws-brand: #2f93cf;
  --sws-brand-deep: #155a8a;
  --sws-ink: #0f1720;
  --sws-muted: #5b6674;
  --sws-paper: #eef5fb;
  --sws-steel: #d9e6f2;
  --sws-white: #ffffff;
  --sws-max: 1120px;
  --sws-radius: 1.35rem;
  --sws-radius-sm: .95rem;
  --sws-font-display: "Sora", sans-serif;
  --sws-font-body: "Figtree", sans-serif;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--sws-font-body);
  color: var(--sws-ink);
  background:
    radial-gradient(900px 420px at 100% -10%, rgba(47,147,207,.16), transparent 55%),
    radial-gradient(700px 360px at -10% 20%, rgba(21,90,138,.08), transparent 50%),
    linear-gradient(180deg, #f7fbfe 0%, #fff 30%, #fff 100%);
  line-height: 1.55;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--sws-brand); text-decoration-thickness: from-font; }

/* About / content photo as full image with mild card look */
.cubial-photo-card {
  margin: 0 0 1.5rem;
  border-radius: .85rem;
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(15, 23, 32, .06);
  box-shadow: 0 10px 28px rgba(15, 37, 54, .08);
}
.cubial-photo-card img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 0;
}

.sws-container {
  width: min(100% - 2rem, var(--sws-max));
  margin-inline: auto;
}

.sws-skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--sws-brand);
  color: #fff;
  padding: .5rem 1rem;
  z-index: 10000;
}
.sws-skip-link:focus { left: 1rem; top: 1rem; }

.sws-icon,
.sws-service__icon,
.sws-service__badge,
.sws-stats__item .sws-icon {
  display: inline-flex;
  color: var(--sws-brand);
}
.sws-icon svg,
.sws-service__icon svg,
.sws-service__badge svg,
.sws-stats__item .sws-icon svg {
  width: 1.85rem;
  height: 1.85rem;
}

/* Header — slightly taller, logo flush left */
.sws-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,.9);
  backdrop-filter: blur(14px) saturate(1.2);
  border-bottom: 1px solid rgba(15,23,32,.06);
}
.sws-header__bar {
  width: 100%;
}
.sws-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .85rem;
  min-height: 4.45rem;
  /* E njëjta kolonë me stats / CUBI.AL — logo majtas, menuja deri te karta 20+ */
  width: min(100% - 2rem, var(--sws-max));
  max-width: var(--sws-max);
  margin-inline: auto;
  padding: .55rem 0;
}
.sws-logo {
  display: inline-flex;
  align-items: center;
  color: inherit;
  text-decoration: none;
  max-width: 198px;
  margin: 0;
  flex-shrink: 0;
  order: 0;
}
.sws-logo img,
.sws-logo .custom-logo,
.sws-logo .custom-logo-link img,
.sws-header .custom-logo-link img,
.sws-header img.custom-logo {
  max-height: 46px !important;
  height: 46px !important;
  width: auto !important;
  object-fit: contain !important;
}
.sws-logo .custom-logo-link,
.sws-header .custom-logo-link {
  display: inline-flex;
  align-items: center;
  line-height: 0;
  max-width: 190px;
  margin: 0;
}
.sws-lang {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  margin-left: .15rem;
}
.sws-lang__link {
  color: var(--sws-muted);
  text-decoration: none;
  font-weight: 650;
  font-size: .82rem;
  letter-spacing: .04em;
}
.sws-lang__link.is-active,
.sws-lang__link:hover {
  color: var(--sws-brand);
}
.sws-lang__sep {
  color: rgba(15,23,32,.25);
  font-size: .8rem;
}
.sws-logo__text {
  font-family: var(--sws-font-display);
  font-weight: 700;
  font-size: 1.05rem;
}
.sws-logo__text span {
  display: block;
  font-size: .58rem;
  font-weight: 600;
  color: var(--sws-muted);
  letter-spacing: .08em;
  text-transform: uppercase;
}

.sws-nav { display: flex; align-items: center; gap: .75rem; margin-left: auto; flex-shrink: 0; }
.sws-nav__list {
  display: flex;
  gap: .9rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.sws-nav__list a {
  color: var(--sws-ink);
  text-decoration: none;
  font-weight: 550;
  font-size: .95rem;
}
.sws-nav__list a:hover,
.sws-nav__list .current-menu-item > a { color: var(--sws-brand); }
.sws-nav-toggle { display: none; }

.sws-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .4rem;
  padding: .72rem 1.15rem;
  border-radius: 999px;
  border: 0;
  background: linear-gradient(135deg, var(--sws-brand), var(--sws-brand-deep));
  color: #fff !important;
  font-weight: 650;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(21,90,138,.22);
  transition: transform .2s ease, filter .2s ease;
}
.sws-btn:hover { filter: brightness(1.05); transform: translateY(-1px); }
.sws-btn--ghost {
  background: transparent;
  color: #fff !important;
  outline: 1px solid rgba(255,255,255,.8);
  box-shadow: none;
}
.sws-btn--ghost:hover { background: rgba(255,255,255,.12); }
.sws-btn--soft {
  background: rgba(47,147,207,.12);
  color: var(--sws-brand-deep) !important;
  box-shadow: none;
}
.sws-btn--small { padding: .38rem .85rem; font-size: .86rem; box-shadow: none; }

.sws-eyebrow {
  margin: 0 0 .4rem;
  color: var(--sws-brand);
  font-weight: 650;
  letter-spacing: .08em;
  text-transform: uppercase;
  font-size: .74rem;
}
.sws-eyebrow--on-dark { color: #b7e0f8; }

.sws-hero {
  position: relative;
  min-height: min(84vh, 700px);
  display: grid;
  align-items: end;
  color: #fff;
  background: #102536;
  overflow: hidden;
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
}
.sws-hero__media {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(115deg, rgba(8, 24, 40, .9) 5%, rgba(22, 78, 120, .52) 55%, rgba(8, 24, 40, .55) 100%),
    var(--sws-hero-image, none) center / cover no-repeat;
}
.sws-hero__media::after {
  content: "";
  position: absolute;
  width: 55%;
  aspect-ratio: 1;
  right: -12%;
  bottom: -35%;
  border-radius: 50%;
  border: 70px solid rgba(255,255,255,.05);
  pointer-events: none;
}
.sws-hero__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .4;
  mix-blend-mode: luminosity;
}
.sws-hero__content {
  position: relative;
  z-index: 2;
  padding: 4.5rem 0 3.2rem;
  max-width: 39rem;
  margin-left: max(1rem, calc((100% - var(--sws-max)) / 2));
  animation: cubial-rise .85s ease both;
}
.sws-hero__brand {
  margin: 0 0 .45rem;
  font-family: var(--sws-font-display);
  font-size: clamp(2.3rem, 5.5vw, 3.5rem);
  font-weight: 700;
  line-height: .95;
}
.sws-hero h1 {
  margin: 0 0 .7rem;
  font-family: var(--sws-font-display);
  font-size: clamp(1.3rem, 2.6vw, 1.8rem);
  line-height: 1.25;
  font-weight: 600;
  max-width: 24ch;
}
.sws-lead { font-size: 1.05rem; opacity: .95; max-width: 36rem; }
.sws-hero__actions { display: flex; flex-wrap: wrap; gap: .7rem; margin: 1.2rem 0 .9rem; }
.sws-hero__meta { display: flex; flex-wrap: wrap; gap: .5rem; opacity: .92; }
.sws-hero__meta a { color: #fff; }

@keyframes cubial-rise {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

.sws-stats {
  position: relative;
  z-index: 3;
  margin-top: -1.8rem;
  margin-bottom: 1rem;
}
.sws-stats__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: .75rem;
}
.sws-stats__item {
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(15,23,32,.06);
  border-radius: var(--sws-radius);
  padding: 1.1rem 1rem 1.2rem;
  box-shadow: 0 14px 34px rgba(15, 37, 54, .08);
}
.sws-stats__value {
  margin: .3rem 0 .1rem;
  font-family: var(--sws-font-display);
  font-size: clamp(1.4rem, 2.3vw, 1.85rem);
  font-weight: 700;
  color: var(--sws-brand-deep);
}
.sws-stats__label { margin: 0; color: var(--sws-muted); font-size: .9rem; }

.sws-section { padding: 4.2rem 0; }
.sws-section--tint {
  background:
    radial-gradient(600px 280px at 10% 0%, rgba(47,147,207,.1), transparent 60%),
    linear-gradient(180deg, #f3f8fc, #fff);
}
.sws-section__head { max-width: 40rem; margin-bottom: 1.8rem; }
.sws-section__head h2 {
  margin: 0 0 .5rem;
  font-family: var(--sws-font-display);
  font-size: clamp(1.5rem, 2.8vw, 2.05rem);
}

.sws-services {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.1rem;
}
.sws-service {
  position: relative;
  display: block;
  color: inherit;
  text-decoration: none;
  background: #fff;
  border: 1px solid rgba(15,23,32,.06);
  border-radius: var(--sws-radius);
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(15,37,54,.06);
  transition: transform .25s ease, box-shadow .25s ease;
  cursor: pointer;
}
a.sws-service { cursor: pointer; }
.sws-service:hover {
  transform: translateY(-5px);
  box-shadow: 0 18px 40px rgba(15,37,54,.12);
}
.sws-service__media { display: block; }
.sws-service__media img {
  display: block;
  aspect-ratio: 16/11;
  object-fit: cover;
  width: 100%;
}
.sws-service__icon {
  margin: 1.1rem 1.1rem 0;
  width: 2.8rem;
  height: 2.8rem;
  place-items: center;
  display: grid;
  background: var(--sws-paper);
  border-radius: 1rem;
}
.sws-service__icon svg { width: 1.5rem; height: 1.5rem; }
.sws-service__badge {
  position: absolute;
  top: .8rem;
  left: .8rem;
  width: 2.35rem;
  height: 2.35rem;
  display: grid;
  place-items: center;
  background: rgba(255,255,255,.94);
  color: var(--sws-brand-deep);
  border-radius: .85rem;
}
.sws-service__badge svg { width: 1.15rem; height: 1.15rem; }
.sws-service__body { display: block; padding: 1rem 1.1rem 1.2rem; }
.sws-service__title {
  display: block;
  margin: 0 0 .35rem;
  font-family: var(--sws-font-display);
  font-size: 1.08rem;
  font-weight: 700;
  color: inherit;
}
.sws-service__text {
  display: block;
  margin: 0 0 .5rem;
  color: var(--sws-muted);
  font-weight: 400;
  line-height: 1.5;
}
.sws-text-link {
  font-weight: 650;
  color: var(--sws-brand-deep);
  text-decoration: none;
}

.sws-pill-list {
  display: flex;
  flex-wrap: wrap;
  gap: .45rem;
  list-style: none;
  margin: 1.4rem 0 0;
  padding: 0;
}
.sws-pill-list a,
.sws-pill-list li {
  display: inline-flex;
  padding: .38rem .75rem;
  border-radius: 999px;
  background: rgba(47,147,207,.1);
  color: var(--sws-ink);
  text-decoration: none;
  font-size: .88rem;
  font-weight: 550;
}

.sws-process {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}
.sws-process__item {
  border: 1px solid rgba(15,23,32,.06);
  background: #fff;
  border-radius: var(--sws-radius-sm);
  overflow: hidden;
}
.sws-process__media img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
}
.sws-process__body { padding: .85rem .95rem 1rem; }
.sws-process__body h3 {
  margin: 0 0 .3rem;
  font-size: 1rem;
  font-family: var(--sws-font-display);
}
.sws-process__body p { margin: 0; font-size: .9rem; color: var(--sws-muted); }

.sws-eco__grid {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 1.25rem;
  align-items: stretch;
}
.sws-eco__panel {
  display: grid;
  place-items: center;
  padding: 2.2rem;
  border-radius: var(--sws-radius);
  background: linear-gradient(145deg, var(--sws-brand), var(--sws-brand-deep));
  color: #fff;
  position: relative;
  overflow: hidden;
}
.sws-eco__panel::after {
  content: "";
  position: absolute;
  inset: auto -18% -38% auto;
  width: 62%;
  aspect-ratio: 1;
  border: 42px solid rgba(255,255,255,.08);
  border-radius: 50%;
}
.sws-eco__quote {
  margin: 0;
  position: relative;
  z-index: 1;
  font-family: var(--sws-font-display);
  font-size: clamp(1.4rem, 3vw, 2rem);
  text-align: center;
  line-height: 1.2;
}

.sws-video__grid {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 1.35rem;
  align-items: center;
}
.sws-video__frame {
  background: #0d1a24;
  border-radius: var(--sws-radius);
  overflow: hidden;
  box-shadow: 0 18px 40px rgba(15,37,54,.16);
}
.sws-video__el {
  display: block;
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
  background: #000;
}

.sws-gallery__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: .7rem;
}
.sws-gallery__item {
  margin: 0;
  overflow: hidden;
  background: var(--sws-steel);
  border-radius: 1.2rem;
}
.sws-gallery__item img {
  width: 100%;
  height: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  transition: transform .45s ease;
}
.sws-gallery__item.is-wide {
  grid-column: span 2;
  grid-row: span 2;
}
.sws-gallery__item:hover img { transform: scale(1.04); }

.sws-contact__grid {
  display: grid;
  grid-template-columns: .95fr 1.05fr;
  gap: 1.35rem;
  align-items: start;
}
.sws-contact__details {
  list-style: none;
  margin: 1rem 0;
  padding: 0;
}
.sws-contact__details li { margin: 0 0 .55rem; }
.sws-contact__map {
  background: #fff;
  border: 1px solid rgba(15,23,32,.06);
  border-radius: var(--sws-radius);
  overflow: hidden;
  box-shadow: 0 10px 28px rgba(15,37,54,.08);
}
.sws-contact__map-title {
  margin: 0;
  padding: .85rem 1rem .15rem;
  font-family: var(--sws-font-display);
  font-size: 1rem;
  font-weight: 650;
}
.sws-contact__map iframe {
  display: block;
  width: 100%;
  min-height: 320px;
  border: 0;
}
.sws-contact__map--primary iframe { min-height: 380px; }
.sws-contact__more-maps {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.1rem;
  margin-top: 1.1rem;
}

/* Arc product cards */
.sws-arc-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.1rem;
}
.sws-arc-card {
  display: block;
  text-decoration: none;
  color: inherit;
  background: #fff;
  border: 1px solid rgba(15,23,32,.06);
  border-radius: var(--sws-radius);
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(15,37,54,.06);
  transition: transform .25s ease, box-shadow .25s ease;
}
.sws-arc-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 18px 40px rgba(15,37,54,.12);
}
.sws-product-card__media {
  display: block;
  position: relative;
  overflow: hidden;
  margin: 0;
  border-radius: 0;
}
.sws-product-card__media img {
  width: 100%;
  aspect-ratio: 16/11;
  object-fit: cover;
  border-radius: 0;
}
.sws-product-card__body {
  display: grid;
  gap: .35rem;
  padding: 1rem 1.1rem 1.2rem;
}
.sws-product-card__title {
  font-family: var(--sws-font-display);
  font-size: 1.02rem;
  line-height: 1.25;
}
.sws-product-card__text {
  color: var(--sws-muted);
  font-size: .92rem;
}

.sws-product-hero {
  padding: 2.2rem 0 1rem;
}
.sws-product-hero__grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 1.4rem;
  align-items: center;
}
.sws-product-hero__media {
  border-radius: 2rem;
  overflow: hidden;
  box-shadow: 0 20px 48px rgba(15,37,54,.14);
  position: relative;
}
.sws-product-hero__media::after {
  content: "";
  position: absolute;
  inset: auto -20% -40% auto;
  width: 55%;
  aspect-ratio: 1;
  border-radius: 50%;
  border: 36px solid rgba(255,255,255,.18);
  pointer-events: none;
}
.sws-product-hero__media img {
  width: 100%;
  aspect-ratio: 5/4;
  object-fit: cover;
}
.sws-product-hero__copy h1 {
  margin: 0 0 .75rem;
  font-family: var(--sws-font-display);
  font-size: clamp(1.55rem, 3vw, 2.2rem);
  line-height: 1.15;
}
.sws-product-hero__lead {
  color: var(--sws-muted);
  font-size: 1.05rem;
  max-width: 36rem;
}

.sws-product-body {
  display: block;
  padding: 1.5rem 0 3rem;
}
.sws-product-body__content {
  width: 100%;
  max-width: none;
  background: #fff;
  border: 1px solid rgba(15,23,32,.06);
  border-radius: 1.6rem;
  padding: 1.5rem 1.75rem 1.7rem;
  box-shadow: 0 10px 28px rgba(15,37,54,.05);
}
.sws-product-body__content p { color: var(--sws-muted); }
.sws-product-back { margin: 1.25rem 0 0; }
.sws-product-back a {
  color: var(--sws-brand-deep);
  font-weight: 600;
  text-decoration: none;
}

.sws-footer {
  margin-top: 2rem;
  background: linear-gradient(180deg, #102536, #0b1722);
  color: rgba(255,255,255,.88);
  border-radius: 0;
}
.sws-footer a { color: #fff; }
.sws-footer__grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 1.5rem;
  padding: 2.4rem 0;
}
.sws-footer__title {
  margin: 0 0 .55rem;
  font-size: 1rem;
  font-family: var(--sws-font-display);
}
.sws-footer__bar {
  border-top: 1px solid rgba(255,255,255,.12);
  padding: .85rem 0 1.15rem;
  font-size: .9rem;
}
.sws-footer__list { list-style: none; margin: 0; padding: 0; }
.sws-footer__list li { margin: 0 0 .4rem; }

.sws-main--pad { padding: 2rem 0 3.5rem; }
.sws-content > h1 {
  font-family: var(--sws-font-display);
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  margin: 0 0 1rem;
}
.sws-form .sws-field { margin-bottom: .9rem; }
.sws-form label { display: block; margin-bottom: .3rem; font-weight: 600; }
.sws-form input,
.sws-form select,
.sws-form textarea {
  width: 100%;
  padding: .7rem .8rem;
  border: 1px solid rgba(15,23,32,.14);
  border-radius: .85rem;
  font: inherit;
  background: #fff;
}
.sws-form__honeypot { position: absolute; left: -9999px; height: 0; overflow: hidden; }
.sws-form .is-success { color: #0a7a3e; }
.sws-form .is-error { color: #b42318; }

.sws-reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .6s ease, transform .6s ease;
}
.sws-reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .sws-hero__content,
  .sws-reveal,
  .sws-service,
  .sws-arc-card,
  .sws-gallery__item img { animation: none; transition: none; }
}

@media (max-width: 980px) {
  .sws-services,
  .sws-arc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sws-stats__grid,
  .sws-process { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sws-eco__grid,
  .sws-video__grid,
  .sws-contact__grid,
  .sws-contact__more-maps,
  .sws-footer__grid,
  .sws-product-hero__grid { grid-template-columns: 1fr; }
  .sws-gallery__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sws-gallery__item.is-wide { grid-column: span 2; grid-row: span 1; }
}

@media (max-width: 720px) {
  .sws-header__inner {
    min-height: 3.9rem;
    width: min(100% - 1.5rem, var(--sws-max));
    padding: .45rem 0;
  }
  .sws-logo { max-width: 160px; margin-left: 0; }
  .sws-logo img,
  .sws-logo .custom-logo,
  .sws-logo .custom-logo-link img,
  .sws-header .custom-logo-link img,
  .sws-header img.custom-logo {
    max-height: 38px !important;
    height: 38px !important;
  }
  .sws-nav-toggle {
    display: inline-flex;
    width: 2.4rem;
    height: 2.4rem;
    border: 0;
    background: transparent;
  }
  .sws-nav-toggle__bars,
  .sws-nav-toggle__bars::before,
  .sws-nav-toggle__bars::after {
    content: "";
    display: block;
    width: 1.2rem;
    height: 2px;
    background: var(--sws-ink);
    position: relative;
  }
  .sws-nav-toggle__bars::before { position: absolute; top: -6px; }
  .sws-nav-toggle__bars::after { position: absolute; top: 6px; }
  .sws-nav {
    display: none;
    position: absolute;
    inset: 100% 0 auto;
    background: #fff;
    padding: 1rem;
    border-bottom: 1px solid rgba(15,23,32,.08);
    flex-direction: column;
    align-items: stretch;
  }
  .sws-header.is-open .sws-nav { display: flex; }
  .sws-nav__list { flex-direction: column; }
  .sws-services,
  .sws-arc-grid,
  .sws-stats__grid,
  .sws-process,
  .sws-gallery__grid { grid-template-columns: 1fr; }
  .sws-gallery__item.is-wide { grid-column: auto; }
  .sws-stats { margin-top: .5rem; }
  .sws-hero { border-bottom-left-radius: 0; border-bottom-right-radius: 0; }
}
