/* iSolutions — modern layer (keeps ITSulu base) */

:root {
  --iso-accent: rgb(4, 109, 93);
  --iso-accent-soft: rgba(4, 109, 93, 0.14);
  --iso-dark: rgb(18, 24, 32);
  --iso-light: rgb(255, 255, 255);
  --iso-ease: 0.28s cubic-bezier(0.22, 1, 0.36, 1);
  --iso-header-h: 78px;
}

::selection {
  background: var(--iso-accent);
  color: var(--iso-light);
}

/* ========== Header ========== */
.iso-header .iso-top-panel {
  height: var(--iso-header-h);
  padding: 0;
  box-shadow: none;
  border-bottom: 1px solid transparent;
  transition: background var(--iso-ease), border-color var(--iso-ease),
    backdrop-filter var(--iso-ease), height var(--iso-ease);
}

.iso-header .iso-header-inner {
  min-height: var(--iso-header-h);
}

.iso-header .iso-logo {
  height: 28px;
  transition: opacity var(--iso-ease);
}

.iso-header .iso-top-panel:not(.mil-top-panel-transparent) {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom-color: rgba(18, 24, 32, 0.08);
}

.iso-header .mil-top-panel-transparent {
  background: transparent;
  box-shadow: none;
}

.iso-header .iso-nav-list {
  align-items: center;
}

.iso-header .iso-nav-list li {
  margin-right: 28px;
}

.iso-header .iso-nav-list li a {
  position: relative;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.02em;
  padding: 6px 0;
}

.iso-header .iso-nav-list li a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--iso-ease);
  opacity: 0.7;
}

.iso-header .iso-nav-list li a:hover::after {
  transform: scaleX(1);
}

.iso-nav-tools {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-left: 8px;
}

.iso-nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;
  font-family: "Sora", sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-decoration: none;
  color: var(--iso-light);
  background: var(--iso-accent);
  border: 1px solid var(--iso-accent);
  transition: background var(--iso-ease), color var(--iso-ease),
    border-color var(--iso-ease);
  white-space: nowrap;
}

.iso-nav-cta:hover {
  background: transparent;
  color: var(--iso-accent);
}

.mil-top-panel-transparent .iso-nav-cta {
  background: var(--iso-light);
  color: var(--iso-dark);
  border-color: var(--iso-light);
}

.mil-top-panel-transparent .iso-nav-cta:hover {
  background: transparent;
  color: var(--iso-light);
  border-color: rgba(255, 255, 255, 0.7);
}

.iso-menu-btn {
  width: 44px;
  height: 44px;
  display: none;
}

@media screen and (max-width: 1200px) {
  .iso-menu-btn {
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .iso-nav-cta {
    display: none;
  }

  .iso-header .mil-navigation.mil-active .iso-nav-cta {
    display: inline-flex;
    margin-top: 8px;
  }
}

/* Language switcher */
.mil-top-panel .mil-navigation nav {
  align-items: center;
  gap: 8px;
}

.iso-lang {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding: 3px;
  border: 1px solid rgba(18, 24, 32, 0.12);
  background: rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(8px);
}

.mil-top-panel.mil-top-panel-transparent .iso-lang {
  border-color: rgba(255, 255, 255, 0.28);
  background: rgba(18, 24, 32, 0.28);
}

.iso-lang-btn {
  appearance: none;
  border: 0;
  background: transparent;
  color: var(--iso-dark);
  font-family: "Sora", sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  line-height: 1;
  padding: 8px 10px;
  cursor: pointer;
  transition: background var(--iso-ease), color var(--iso-ease);
}

.mil-top-panel.mil-top-panel-transparent .iso-lang-btn {
  color: rgba(255, 255, 255, 0.82);
}

.iso-lang-btn:hover {
  color: var(--iso-accent);
}

.mil-top-panel.mil-top-panel-transparent .iso-lang-btn:hover {
  color: var(--iso-light);
}

.iso-lang-btn.is-active {
  background: var(--iso-accent);
  color: var(--iso-light);
}

.mil-top-panel.mil-top-panel-transparent .iso-lang-btn.is-active {
  background: var(--iso-accent);
  color: var(--iso-light);
}

.iso-lang-btn:focus-visible {
  outline: 2px solid var(--iso-accent);
  outline-offset: 2px;
}

/* ========== Hero ========== */
.iso-hero {
  min-height: 100vh;
  min-height: 100svh;
}

.iso-hero .mil-background-image {
  filter: none;
  transform-origin: center;
}

.iso-hero-overlay {
  background: linear-gradient(
    105deg,
    rgba(10, 16, 22, 0.92) 0%,
    rgba(10, 16, 22, 0.72) 42%,
    rgba(4, 109, 93, 0.28) 100%
  ) !important;
}

.iso-hero-grain {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0.07;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 180px 180px;
}

.iso-hero-content {
  z-index: 2;
  padding-top: calc(var(--iso-header-h) + 24px) !important;
  padding-bottom: 96px !important;
  align-items: flex-end !important;
}

.iso-hero-copy {
  max-width: 720px;
  padding-bottom: 8vh;
}

.iso-hero-brand {
  font-family: "Syne", sans-serif;
  font-size: clamp(2rem, 5.5vw, 3.75rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.05;
  color: var(--iso-light);
  margin: 0 0 28px;
  text-transform: none;
  opacity: 0;
  transform: translateY(18px);
  animation: iso-rise 0.8s var(--iso-ease) 0.1s forwards;
}

.iso-hero-title {
  margin: 0 0 22px;
  font-family: "Syne", sans-serif;
  font-weight: 600;
  line-height: 1.15;
  opacity: 0;
  transform: translateY(18px);
  animation: iso-rise 0.8s var(--iso-ease) 0.22s forwards;
}

.iso-hero-line {
  display: block;
  font-size: clamp(1.35rem, 3.2vw, 2.15rem);
  letter-spacing: -0.02em;
}

.iso-hero-line-accent {
  color: #7fd4c4;
  font-family: "Satisfy", cursive;
  font-size: clamp(1.85rem, 4vw, 2.85rem);
  font-weight: 400;
  letter-spacing: 0;
  margin-top: 6px;
}

.iso-hero-lead {
  max-width: 34rem;
  margin: 0 0 36px;
  font-size: 1.05rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.72);
  opacity: 0;
  transform: translateY(14px);
  animation: iso-rise 0.75s var(--iso-ease) 0.34s forwards;
}

.iso-hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 22px 28px;
  opacity: 0;
  transform: translateY(14px);
  animation: iso-rise 0.75s var(--iso-ease) 0.46s forwards;
}

.iso-hero-btn {
  min-width: 180px;
  justify-content: center;
}

.iso-hero-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, 0.88);
  text-decoration: none;
  font-family: "Sora", sans-serif;
  font-size: 14px;
  font-weight: 500;
  transition: color var(--iso-ease), gap var(--iso-ease);
}

.iso-hero-link i {
  font-size: 12px;
  transition: transform var(--iso-ease);
}

.iso-hero-link:hover {
  color: var(--iso-light);
  gap: 14px;
}

.iso-hero-link:hover i {
  transform: translateX(3px);
}

.iso-scroll {
  position: absolute;
  left: 50%;
  bottom: 28px;
  z-index: 3;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: rgba(255, 255, 255, 0.55);
  opacity: 0;
  animation: iso-rise 0.7s var(--iso-ease) 0.7s forwards;
}

.iso-scroll-label {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.iso-scroll-line {
  width: 1px;
  height: 36px;
  background: linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0.55),
    transparent
  );
  animation: iso-scroll-pulse 1.8s ease-in-out infinite;
}

@keyframes iso-scroll-pulse {
  0%,
  100% {
    opacity: 0.35;
    transform: scaleY(0.85);
  }
  50% {
    opacity: 1;
    transform: scaleY(1);
  }
}

.iso-hero-dots {
  position: absolute !important;
  right: 32px;
  bottom: 40px;
  left: auto !important;
  z-index: 3;
  width: auto !important;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.iso-hero-dots .swiper-pagination-bullet {
  width: 6px;
  height: 6px;
  margin: 0 !important;
  background: rgba(255, 255, 255, 0.35);
  opacity: 1;
  border-radius: 0;
  transition: height var(--iso-ease), background var(--iso-ease);
}

.iso-hero-dots .swiper-pagination-bullet-active {
  height: 22px;
  background: var(--iso-accent);
}

@keyframes iso-rise {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .iso-hero-brand,
  .iso-hero-title,
  .iso-hero-lead,
  .iso-hero-actions,
  .iso-scroll,
  .iso-scroll-line {
    animation: none;
    opacity: 1;
    transform: none;
  }
}

/* Honeypot — hidden from users */
.iso-hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

/* Form alerts */
#formFeedback .alert-success,
#formFeedback .alert-error {
  margin-top: 24px;
  padding: 16px 20px;
  border-left: 3px solid var(--iso-accent);
  background: rgba(255, 255, 255, 0.1);
}

#formFeedback .alert-error {
  border-left-color: #c62828;
}

#formFeedback .alert-success h5,
#formFeedback .alert-error h5 {
  color: #fff;
  margin: 0;
  font-weight: 500;
}

#formFeedback.is-sending {
  opacity: 0.55;
  pointer-events: none;
}

/* Contact channels */
.iso-contact-channels {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 28px;
}

.iso-contact-channel {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 200px;
  padding: 18px 20px;
  text-decoration: none;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.06);
  transition: border-color var(--iso-ease), background var(--iso-ease);
}

.iso-contact-channel:hover {
  border-color: rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

.iso-contact-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
}

.iso-contact-channel strong {
  font-family: "Syne", sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.iso-footer-link {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: color var(--iso-ease);
}

.iso-footer-link:hover {
  color: #fff;
}

/* Portfolio cards */
.mil-works-slider .mil-card {
  display: block;
  text-decoration: none;
  color: inherit;
}

/* Contact form focus polish */
.mil-input-frame input:focus,
.mil-input-frame textarea:focus {
  outline: none;
  box-shadow: inset 0 0 0 1px var(--iso-accent);
}

/* Partners subtle hover — legacy fallback removed; see iso-partners below */
.mil-partners-frame a {
  transition: opacity var(--iso-ease), transform var(--iso-ease);
}

.mil-partners-frame a:hover {
  opacity: 0.85;
  transform: translateY(-2px);
}

/* ========== Partners (refresh) ========== */
.iso-section-eyebrow {
  font-family: "Sora", sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--iso-accent);
  margin: 0 0 14px;
}

.iso-partners {
  padding: 72px 0 56px;
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(4, 109, 93, 0.06), transparent 70%),
    #f6f8f7;
  border-top: 1px solid rgba(18, 24, 32, 0.06);
  border-bottom: 1px solid rgba(18, 24, 32, 0.06);
  overflow: hidden;
}

.iso-partners-head {
  max-width: 560px;
  margin: 0 auto 48px;
  text-align: center;
}

.iso-partners-title {
  font-family: "Syne", sans-serif;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin: 0 0 14px;
  color: var(--iso-dark);
}

.iso-partners-lead {
  margin: 0;
  color: rgba(18, 24, 32, 0.55);
  font-size: 15px;
  line-height: 1.6;
}

.iso-partners-track-wrap {
  position: relative;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.iso-partners-track {
  display: flex;
  width: max-content;
  animation: iso-marquee 38s linear infinite;
}

.iso-partners-track:hover {
  animation-play-state: paused;
}

.iso-partners-row {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 0 9px;
}

.iso-partner {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 168px;
  height: 88px;
  padding: 18px 22px;
  background: #fff;
  border: 1px solid rgba(18, 24, 32, 0.08);
  text-decoration: none;
  transition: border-color var(--iso-ease), transform var(--iso-ease);
}

.iso-partner img {
  max-width: 100%;
  max-height: 44px;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: grayscale(1);
  opacity: 0.72;
  transition: filter var(--iso-ease), opacity var(--iso-ease);
}

.iso-partner:hover {
  border-color: rgba(4, 109, 93, 0.35);
  transform: translateY(-3px);
}

.iso-partner:hover img {
  filter: none;
  opacity: 1;
}

@keyframes iso-marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .iso-partners-track {
    animation: none;
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
  }

  .iso-partners-row[aria-hidden="true"] {
    display: none;
  }

  .iso-partners-track-wrap {
    mask-image: none;
    -webkit-mask-image: none;
  }

  .iso-partners-row {
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
  }
}

/* ========== Services (refresh) ========== */
.iso-services {
  position: relative;
  background: #fff;
}

.iso-services-head {
  max-width: 640px;
  margin-bottom: 56px;
}

.iso-services-title {
  font-family: "Syne", sans-serif;
  font-size: clamp(1.75rem, 3.4vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin: 0 0 16px;
  color: var(--iso-dark);
}

.iso-services-lead {
  margin: 0;
  color: rgba(18, 24, 32, 0.55);
  font-size: 16px;
  line-height: 1.65;
  max-width: 36rem;
}

.iso-services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid rgba(18, 24, 32, 0.1);
  border-left: 1px solid rgba(18, 24, 32, 0.1);
}

.iso-service {
  padding: 36px 32px 40px;
  border-right: 1px solid rgba(18, 24, 32, 0.1);
  border-bottom: 1px solid rgba(18, 24, 32, 0.1);
  background: transparent;
  transition: background var(--iso-ease);
}

.iso-service:hover {
  background: rgba(4, 109, 93, 0.04);
}

.iso-service-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 28px;
}

.iso-service-num {
  font-family: "Syne", sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--iso-accent);
}

.iso-service-icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.iso-service-icon img {
  width: 36px;
  height: 36px;
  object-fit: contain;
}

.iso-service h3 {
  font-family: "Syne", sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--iso-dark);
  margin: 0 0 12px;
  line-height: 1.3;
}

.iso-service p {
  margin: 0;
  font-size: 14px;
  line-height: 1.65;
  color: rgba(18, 24, 32, 0.52);
}

.iso-services-foot {
  margin-top: 48px;
  display: flex;
  justify-content: flex-start;
}

@media (max-width: 992px) {
  .iso-services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .iso-partners {
    padding: 56px 0 40px;
  }

  .iso-partner {
    width: 140px;
    height: 76px;
  }

  .iso-services-grid {
    grid-template-columns: 1fr;
  }

  .iso-service {
    padding: 28px 22px 32px;
  }

  .iso-services-head {
    margin-bottom: 36px;
  }
}

/* ========== Why us ========== */
.iso-why {
  padding: 110px 0 100px;
  background:
    radial-gradient(ellipse 70% 50% at 0% 50%, rgba(4, 109, 93, 0.07), transparent 60%),
    #f3f6f5;
  border-top: 1px solid rgba(18, 24, 32, 0.06);
}

.iso-why-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.15fr);
  gap: 56px;
  align-items: start;
}

.iso-why-title {
  font-family: "Syne", sans-serif;
  font-size: clamp(1.8rem, 3.4vw, 2.6rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin: 0 0 18px;
  color: var(--iso-dark);
}

.iso-why-lead {
  margin: 0 0 32px;
  color: rgba(18, 24, 32, 0.58);
  font-size: 16px;
  line-height: 1.7;
  max-width: 28rem;
}

.iso-why-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  margin-bottom: 36px;
  padding-top: 8px;
  border-top: 1px solid rgba(18, 24, 32, 0.1);
}

.iso-why-stat {
  min-width: 88px;
}

.iso-why-stat strong {
  display: block;
  font-family: "Syne", sans-serif;
  font-size: 1.75rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--iso-accent);
  line-height: 1.1;
  margin-bottom: 4px;
}

.iso-why-stat span {
  font-size: 12px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(18, 24, 32, 0.45);
  font-weight: 600;
}

.iso-why-cta {
  display: inline-flex;
}

.iso-why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.iso-why-card {
  position: relative;
  padding: 28px 24px 30px;
  background: #fff;
  border: 1px solid rgba(18, 24, 32, 0.08);
  transition: border-color var(--iso-ease), transform var(--iso-ease);
}

.iso-why-card:hover {
  border-color: rgba(4, 109, 93, 0.35);
  transform: translateY(-3px);
}

.iso-why-num {
  position: absolute;
  top: 18px;
  right: 18px;
  font-family: "Syne", sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: rgba(4, 109, 93, 0.55);
}

.iso-why-icon {
  width: 40px;
  height: 40px;
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.iso-why-icon img {
  width: 32px;
  height: 32px;
  object-fit: contain;
}

.iso-why-card h3 {
  font-family: "Syne", sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--iso-dark);
  margin: 0 0 10px;
  line-height: 1.3;
  padding-right: 28px;
}

.iso-why-card p {
  margin: 0;
  font-size: 14px;
  line-height: 1.65;
  color: rgba(18, 24, 32, 0.52);
}

@media (max-width: 992px) {
  .iso-why-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .iso-why {
    padding: 80px 0 72px;
  }
}

@media (max-width: 640px) {
  .iso-why-grid {
    grid-template-columns: 1fr;
  }

  .iso-why-stats {
    gap: 20px;
  }
}

/* Section rhythm */
.mil-how-it-works .mil-mb-60 {
  transition: transform var(--iso-ease);
}

/* Mobile */
@media (max-width: 1200px) {
  .mil-top-panel .mil-navigation nav {
    flex-direction: column;
    align-items: center;
  }

  .iso-nav-tools {
    flex-direction: column;
    margin: 20px 0 0;
    gap: 16px;
  }

  .iso-lang {
    margin: 0 auto;
    background: rgba(18, 24, 32, 0.06);
    border-color: rgba(18, 24, 32, 0.1);
  }

  .mil-top-panel.mil-top-panel-transparent .iso-lang {
    border-color: rgba(18, 24, 32, 0.1);
    background: rgba(18, 24, 32, 0.06);
  }

  .mil-top-panel.mil-top-panel-transparent .iso-lang-btn {
    color: var(--iso-dark);
  }

  .mil-top-panel.mil-top-panel-transparent .iso-lang-btn.is-active {
    color: var(--iso-light);
  }

  .iso-hero-dots {
    right: 16px;
    bottom: 88px;
  }
}

@media (max-width: 768px) {
  :root {
    --iso-header-h: 72px;
  }

  .iso-hero {
    height: auto;
    min-height: 100svh;
  }

  .iso-hero-content {
    padding-top: calc(var(--iso-header-h) + 48px) !important;
    padding-bottom: 110px !important;
    align-items: flex-end !important;
  }

  .iso-hero-copy {
    padding-bottom: 0;
  }

  .iso-hero-brand {
    font-size: clamp(1.85rem, 10vw, 2.6rem);
    margin-bottom: 20px;
  }

  .iso-hero-actions {
    flex-direction: column;
    align-items: flex-start;
  }

  .iso-scroll {
    bottom: 20px;
  }
}

/* ========== Gallery (interactive) ========== */
.iso-gallery {
  padding: 100px 0 90px;
  background:
    radial-gradient(ellipse 60% 40% at 80% 0%, rgba(4, 109, 93, 0.06), transparent 55%),
    #f7f9f8;
  border-top: 1px solid rgba(18, 24, 32, 0.06);
  overflow: hidden;
}

.iso-gallery-head {
  max-width: 560px;
  margin-bottom: 40px;
}

.iso-gallery-title {
  font-family: "Syne", sans-serif;
  font-size: clamp(1.75rem, 3.4vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin: 0 0 14px;
  color: var(--iso-dark);
}

.iso-gallery-lead {
  margin: 0;
  color: rgba(18, 24, 32, 0.55);
  font-size: 15px;
  line-height: 1.65;
}

.iso-gallery-stage {
  position: relative;
  margin-bottom: 28px;
}

.iso-gallery-main {
  overflow: visible;
  padding: 8px 0 20px;
}

.iso-gallery-main .swiper-slide {
  height: auto;
  transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.55s ease;
  opacity: 0.45;
  transform: scale(0.92);
}

.iso-gallery-main .swiper-slide-active {
  opacity: 1;
  transform: scale(1);
}

.iso-gallery-slide {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: zoom-in;
  text-align: left;
  position: relative;
  overflow: hidden;
  border-radius: 0;
}

.iso-gallery-slide .iso-gallery-frame {
  position: relative;
  width: 100%;
  height: clamp(280px, 52vh, 520px);
  overflow: hidden;
  background: #dfe8e5;
}

.iso-gallery-frame img,
.iso-gallery-thumb img,
.iso-lightbox-figure img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.iso-gallery-slide .iso-gallery-frame img {
  transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.iso-gallery-slide:hover .iso-gallery-frame img,
.iso-gallery-main .swiper-slide-active .iso-gallery-frame img {
  transform: scale(1.05);
}

.iso-gallery-slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(10, 16, 22, 0.72) 0%,
    rgba(10, 16, 22, 0.05) 45%,
    transparent 70%
  );
  pointer-events: none;
  opacity: 0.85;
  transition: opacity 0.35s ease;
}

.iso-gallery-slide-meta {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  padding: 22px 24px;
  color: #fff;
  pointer-events: none;
}

.iso-gallery-slide-num {
  font-family: "Syne", sans-serif;
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
  opacity: 0.9;
}

.iso-gallery-slide-hint {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.35s ease, transform 0.35s ease;
}

.iso-gallery-main .swiper-slide-active .iso-gallery-slide-hint,
.iso-gallery-slide:hover .iso-gallery-slide-hint {
  opacity: 0.9;
  transform: translateY(0);
}

.iso-gallery-controls {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 8px;
}

.iso-gallery-arrows {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
}

.iso-gallery-arrow {
  width: 48px;
  height: 48px;
  border: 1px solid rgba(18, 24, 32, 0.15);
  background: #fff;
  color: var(--iso-dark);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.iso-gallery-arrow:hover {
  background: var(--iso-accent);
  border-color: var(--iso-accent);
  color: #fff;
}

.iso-gallery-progress {
  flex: 1;
  height: 2px;
  background: rgba(18, 24, 32, 0.1);
  overflow: hidden;
}

.iso-gallery-progress-bar {
  display: block;
  height: 100%;
  width: 12.5%;
  background: var(--iso-accent);
  transition: width 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.iso-gallery-counter {
  flex-shrink: 0;
  font-family: "Syne", sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: rgba(18, 24, 32, 0.55);
  min-width: 64px;
  text-align: right;
}

.iso-gallery-thumbs {
  margin-top: 28px;
  padding-bottom: 4px;
}

.iso-gallery-thumb {
  height: 72px;
  overflow: hidden;
  cursor: pointer;
  opacity: 0.45;
  border: 1px solid transparent;
  transition: opacity 0.3s ease, border-color 0.3s ease;
}

.iso-gallery-thumbs .swiper-slide-thumb-active .iso-gallery-thumb,
.iso-gallery-thumb:hover {
  opacity: 1;
  border-color: var(--iso-accent);
}

.iso-gallery-thumb img {
  transition: transform 0.4s ease;
}

.iso-gallery-thumbs .swiper-slide-thumb-active .iso-gallery-thumb img {
  transform: scale(1.06);
}

/* Lightbox */
body.iso-lightbox-open {
  overflow: hidden;
}

.iso-lightbox {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.28s ease, visibility 0.28s ease;
}

.iso-lightbox.is-open {
  opacity: 1;
  visibility: visible;
}

.iso-lightbox[hidden] {
  display: none !important;
}

.iso-lightbox.is-open[hidden] {
  display: flex !important;
}

.iso-lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(8, 12, 16, 0.88);
  cursor: pointer;
}

.iso-lightbox-panel {
  position: relative;
  z-index: 1;
  width: min(1100px, 100%);
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.iso-lightbox-figure {
  position: relative;
  width: 100%;
  height: min(72vh, 720px);
  overflow: hidden;
  background: #111;
}

.iso-lightbox-img {
  opacity: 0;
  transition: opacity 0.35s ease, transform 0.45s ease;
  transform: scale(1.02);
}

.iso-lightbox-img.is-ready {
  opacity: 1;
  transform: scale(1);
}

.iso-lightbox-footer {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  color: rgba(255, 255, 255, 0.8);
}

.iso-lightbox-caption {
  margin: 0;
  font-family: "Syne", sans-serif;
  font-size: 1.05rem;
  font-weight: 600;
}

.iso-lightbox-count {
  margin: 0;
  font-size: 13px;
  letter-spacing: 0.08em;
  opacity: 0.65;
}

.iso-lightbox-close {
  position: absolute;
  top: -8px;
  right: 0;
  z-index: 2;
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  color: #fff;
  font-size: 32px;
  line-height: 1;
  cursor: pointer;
  opacity: 0.8;
}

.iso-lightbox-close:hover {
  opacity: 1;
}

.iso-lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 0.25s ease;
}

.iso-lightbox-nav:hover {
  background: var(--iso-accent);
  border-color: var(--iso-accent);
}

.iso-lightbox-prev {
  left: -8px;
}

.iso-lightbox-next {
  right: -8px;
}

@media (max-width: 768px) {
  .iso-gallery {
    padding: 72px 0 64px;
  }

  .iso-gallery-slide .iso-gallery-frame {
    height: clamp(240px, 48vh, 380px);
  }

  .iso-gallery-thumb {
    height: 56px;
  }

  .iso-lightbox-prev {
    left: 4px;
  }

  .iso-lightbox-next {
    right: 4px;
  }

  .iso-lightbox-close {
    top: -4px;
    right: 4px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .iso-gallery-main .swiper-slide,
  .iso-gallery-slide .iso-gallery-frame img,
  .iso-lightbox-img {
    transition: none;
  }
}

/* ========== FAQ ========== */
.iso-faq {
  padding: 90px 0 80px;
  background: #fff;
  border-top: 1px solid rgba(18, 24, 32, 0.06);
}

.iso-faq-head {
  max-width: 560px;
  margin-bottom: 36px;
}

.iso-faq-title {
  font-family: "Syne", sans-serif;
  font-size: clamp(1.6rem, 3vw, 2.3rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0;
  color: var(--iso-dark);
}

.iso-faq-list {
  max-width: 820px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.iso-faq-item {
  border: 1px solid rgba(18, 24, 32, 0.1);
  background: #f7f9f8;
  padding: 0;
}

.iso-faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 18px 52px 18px 20px;
  font-family: "Syne", sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--iso-dark);
  position: relative;
}

.iso-faq-item summary::-webkit-details-marker {
  display: none;
}

.iso-faq-item summary::after {
  content: "+";
  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.35rem;
  color: var(--iso-accent);
  font-weight: 500;
}

.iso-faq-item[open] summary::after {
  content: "–";
}

.iso-faq-item p {
  margin: 0;
  padding: 0 20px 20px;
  color: rgba(18, 24, 32, 0.58);
  font-size: 14px;
  line-height: 1.7;
}
