/* ── Design tokens (from Modern web page design) ── */
:root {
  --cream: #f6f4ed;
  --olive: #6c7a3f;
  --olive-dark: #656b48;
  --olive-light: #9d9b75;
  --copper: #a67a56;
  --slate: #475569;
  --ink: #3a3a3a;
  --white: #f6f4ed;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Inter", sans-serif;
  color: var(--ink);
  background: var(--cream);
}

a { text-decoration: none; }

.container-xl { max-width: 1200px; }

.page-main { padding: 0 12px 40px; }

/* ── navigation ── */
.hover-dropdown {
  position: relative;
}

.hover-dropdown .dropdown-menu {
  display: block;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
  pointer-events: none;
  margin-top: 8px;
}

.hover-dropdown .dropdown-menu.show-hover {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
  border-radius: 0px;
  border: 0px;
  background: #f6f4ed;
  margin-top: 0px;
  font-size: 15px;
}

.hover-dropdown .dropdown-toggle::after {
  transition: transform 0.25s ease;
}

.hover-dropdown.open .dropdown-toggle::after {
  transform: rotate(180deg);
}

.hero-nav .nav-link:hover,.hero-nav .active{ /* opacity: 0.6; */ color: #6C7A3F !important; }

.dropdown-item.active, .dropdown-item:active, .dropdown-item:focus, .dropdown-item:hover{
  background-color: #A67A56;
  font-size: 15px;
  color: #ffffff;
}
/* ── navigation ── */
/* ── Reveal animation ── */
.sedna-reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.sedna-reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── Shared components ── */
.tag-pill {
  display: inline-block;
  padding: 12px 24px;
  border-radius: 10px;
  background: var(--copper);
  color: var(--cream);
  font-family: "Lato", sans-serif;
  font-weight: 900;
  font-size: 1.5rem;
  letter-spacing: 0.02em;
}

.section-title {
  font-family: "Lato", sans-serif;
  font-weight: 800;
  font-size: clamp(2rem, 4vw, 3.1rem);
  line-height: 1.25;
  color: var(--olive);
  max-width: 100%;
}

.center-title { margin-left: auto; margin-right: auto; }

.section-lead {
  color: var(--slate);
  font-family: "Lato", sans-serif;
  font-size: 1.05rem;
  line-height: 1.55;
  max-width: 520px;
}

.section-block { padding: 70px 0; }

.hover-lift {
  transition: filter 0.28s ease, transform 0.28s ease, box-shadow 0.28s ease;
  cursor: pointer;
}
.hover-lift:hover {
  filter: brightness(1.04);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.18);
  transform: scale(1.1);

  background: linear-gradient(
    116.28deg,
    #f6f4ed 0.88%,
    rgba(108, 122, 63, 0.74) 100%
  );
}

/* ── Hero ── */
.hero-panel {
  padding: 24px 16px 0;
  animation: hero-in 0.9s var(--ease) both;
}

@keyframes hero-in {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero-inner {
  position: relative;
  min-height: 580px;
  padding: 20px 0 30px;
  border-radius: 24px;
  color: var(--cream);
  background: linear-gradient(
    180deg,
    var(--olive-dark) 0%,
    var(--olive-light) 100%
  );
  overflow: hidden;
}

.hero-logo {
  /* position: absolute;
  top: 28px;
  left: 36px; */
  z-index: 5;
  width: 200px;
}
.hero-logo img {
  width: 100%;
  height: auto;
  display: block;
}

.hero-nav {
  /* position: absolute;
  top: 36px;
  left: 50%;
  transform: translateX(-50%); */
  z-index: 6;
  width: auto;
  max-width: calc(100% - 360px);
}

.hero-nav-list {
  display: flex;
  align-items: center;
  gap: 25px;
  padding: 8px 20px;
  border: 1px solid var(--copper);
  border-radius: 10px;
  background: var(--cream);
}

.hero-nav .nav-link {
  font-size: 0.92rem;
  font-weight: 600;
  color: #000;
  padding: 8px 12px !important;
  transition: opacity 0.18s ease;
}

.btn-contact-hero {
  /* position: absolute;
  top: 36px;
  right: 36px; */
  z-index: 5;
  padding: 14px 24px;
  border-radius: 13px;
  background: var(--copper);
  color: var(--cream);
  font-weight: 700;
  font-size: 0.95rem;
  border: none;
  transition: filter 0.2s ease;
}
.btn-contact-hero:hover {
  filter: brightness(1.1);
  color: var(--cream);
  background: var(--copper);
}

.hero-row { margin-top: 70px; }

.hero-title {
  font-family: "Lato", sans-serif;
  font-weight: 800;
  font-size: clamp(2.4rem, 5vw, 4.2rem);
  line-height: 1.28;
  margin-bottom: 24px;
}

.hero-lead {
  font-size: clamp(1rem, 2vw, 1.35rem);
  line-height: 1.45;
  color: var(--cream);
  max-width: 620px;
  margin-bottom: 32px;
}

.btn-hero-outline {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 24px;
  border: 1px solid var(--cream);
  border-radius: 10px;
  color: var(--cream);
  font-weight: 600;
  font-size: 0.9rem;
  box-shadow: 0 4px 8.5px rgba(0, 0, 0, 0.25);
  transition: filter 300ms ease;
}
.btn-hero-outline:hover {
  padding: 14px 24px;
  transition: all 300ms linear;
  filter: brightness(1.12);
  /* color: var(--cream); */
  color: #9a9973;
  background: white;
}
.btn-hero-outline .icon-anim, .btn-mercury .icon-anim {
  display: inline-block;
  transition: transform 0.3s ease;
}

.btn-hero-outline:hover .icon-anim, .btn-mercury:hover .icon-anim {
  transform: rotate(45deg);
}
.hero-image-block {
  position: relative;
  max-width: 420px;
  margin-left: auto;
}

.hero-slider {
  position: relative;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.25);
}

.hero-slide {
  display: none;
  width: 100%;
}

.hero-slide.active {
  display: block;
  animation: hero-slide-in 0.55s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes hero-slide-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

.hero-image {
  width: 100%;
  border-radius: 15px;
  display: block;
  object-fit: cover;
  aspect-ratio: 0.86;
}

.hero-dots {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 3px;
  margin-top: 10px;
}

.hero-dots button {
  width: 11px;
  height: 11px;
  padding: 0;
  border: 1px solid #3a3a3a;
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.hero-dots button.active,
.hero-dots button:hover {
  background: #3a3a3a;
  border-color: #3a3a3a;
}

/* ── Glance diagram ── */
.glance-block { padding-top: 50px; }

.glance-diagram {
  position: relative;
  width: 100%;
  max-width: 680px;
  height: 620px;
  margin: 0 auto;
}

.glance-ring {
  position: absolute;
  top: 80px;
  left: 50%;
  width: 420px;
  height: 420px;
  border: 2px dashed var(--olive);
  border-radius: 50%;
  transform: translateX(-50%);
  opacity: 0.85;
}

.glance-center {
  position: absolute;
  top: 150px;
  left: 50%;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: linear-gradient(180deg, var(--olive-dark), var(--olive-light));
  transform: translateX(-50%);
  display: grid;
  place-items: center;
  padding: 40px;
}

.glance-logo { width: 160px; height: auto; }

.glance-logo:hover{
  transform: scale(1.2);
  transition: transform 0.3s ease;
}
.glance-icon{
  width: 18px;
}
.node-badge:hover{
  border: 3px solid var(--cream);
  transition: border 0.3s ease;
}

.glance-node {
  position: absolute;
  width: 210px;
  color: var(--olive);
}

.glance-node h3 {
  font-family: "Lato", sans-serif;
  font-weight: 800;
  font-size: 1rem;
  margin: 0 0 6px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.glance-node p {
  font-family: "Lato", sans-serif;
  font-size: 0.78rem;
  color: var(--slate);
  line-height: 1.45;
  margin: 0;
}

.node-badge {
  position: absolute;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--olive);
  color: var(--cream);
  border: 10px solid var(--cream);
  outline: 2px solid var(--olive);
  display: grid;
  place-items: center;
  font-family: "Lato", sans-serif;
  font-weight: 600;
  font-size: 0.9rem;
}

.node-1 { top: 35px; left: 80px; }
.node-1 .node-badge { right: 75px; bottom: -70px; }
.node-2 { top: 25px; right: 0; }
.node-2 .node-badge { top: 75px; left: -18px; }
.node-3 { right: -80px; bottom: 200px; }
.node-3 .node-badge { top: -60px; left: -25px; }
.node-4 { bottom: 20px; left: 35%; /* transform: translateX(-50%); text-align: center;*/  }
.node-4 .node-badge { top: -70px; left: 45%; /* transform: translateX(-50%); */ }
.node-5 { top: 415px; left:  -35px; /* text-align: right; */ }
.node-5 .node-badge { top: -60px; right: 5px; }

.node-default,
.node-hover {
  transition: opacity 0.35s ease, transform 0.35s ease;
}

/* Default state: visible by default */
.node-default {
  opacity: 1;
  transform: translateY(0);
}

/* Hover state: hidden by default, sits on top of default */
.node-hover {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  opacity: 0;
  /* transform: translateY(8px); */
  pointer-events: none;
}

/* THE SWAP — badge hover ON, default fades OUT, hover fades IN */
.glance-node:has(.node-badge:hover) .node-default {
  opacity: 0;
  transform: translateY(-8px);
  pointer-events: none;
}

.glance-node:has(.node-badge:hover) .node-hover {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.node-content {
  position: relative;
}
/* ── Capability cards ── */
.cap-card {
  position: relative;
  height: 100%;
  min-height: 300px;
  padding: 70px 28px 32px;
  text-align: center;
  border-radius: 16px;
  background: linear-gradient(119deg, #f6f4ed 1%, rgba(108, 122, 63, 0.74) 100%);
  box-shadow: 0 3px 7px rgba(0, 0, 0, 0.25);
}

.cap-icon {
  position: absolute;
  top: -50px;
  left: 50%;
  transform: translateX(-50%);
  width: 88px;
  height: 88px;
  border-radius: 16px;
  background: var(--olive);
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.25);
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 2rem;
}

.cap-icon img {
  width: 56px;
  height: 56px;
  object-fit: contain;
}

.cap-card h3 {
  font-family: "Lato", sans-serif;
  font-weight: 800;
  font-size: 1.15rem;
  line-height: 1.35;
  color: var(--ink);
  margin-bottom: 20px;
}

.cap-card p {
  font-family: "Lato", sans-serif;
  font-size: 0.88rem;
  line-height: 1.55;
  color: #0e0e0e;
  margin: 0;
}

.mt-90{
  margin-top: 90px;
}

/* ── About collage ── */
.about-collage {
  position: relative;
  min-height: 480px;
}

.about-img {
  position: absolute;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
}

.about-img-main { left: 0; top: 0px; width: 48%; height: 320px; }
.about-img-side { right: 8%; top: 145px; width: 42%; height: 340px; }
.about-img-small { left: 8%; bottom: 15px; width: 38%; height: 130px; }
.about-img-wide { right: 60px; top: -10px; width: 35%; height: 130px; }

.btn-olive {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 18px 28px;
  border-radius: 10px;
  background: var(--olive);
  color: var(--cream);
  font-family: "Lato", sans-serif;
  font-weight: 900;
  font-size: 1rem;
  border: 1px solid var(--cream);
  box-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
  transition: all 1050ms
    linear(
      0,
      0.0387,
      0.1248,
      0.2285,
      0.3337,
      0.4323,
      0.5209,
      0.5983,
      0.6647,
      0.7211,
      0.7685,
      0.8082,
      0.8413,
      0.8688,
      0.8916,
      0.9105,
      0.9261,
      0.939,
      0.9497,
      0.9585,
      0.9658,
      0.9718,
      0.9767,
      0.9808,
      0.9842,
      0.9869,
      0.9892,
      0.9911,
      0.9927,
      0.994,
      0.995
    );
}
.btn-olive:hover {
  filter: brightness(1.1);
  color: var(--olive);
  border: 1px solid var(--olive);
}

/* ── Brands panel ── */
.brands-wrap { padding: 0 12px 70px; }

.brands-panel {
  position: relative;
  padding: 70px 40px 90px;
  border-radius: 24px;
  color: var(--cream);
  text-align: center;
  background: linear-gradient(180deg, var(--olive-dark), var(--olive-light));
  overflow: hidden;
}

.brands-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.39) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.39) 1px, transparent 1px);
  background-size: 90px 90px;
  opacity: 0.35;
  pointer-events: none;
}

.brands-heading {
  position: relative;
  font-family: "Crimson Pro", Georgia, serif;
  font-weight: 900;
  font-size: min(4.43vw, 82.86px);
  line-height: 1.05;
  margin-bottom: 28px;
  transition: all 580ms
    linear(
      0,
      0.0292,
      0.1022,
      0.201,
      0.3119,
      0.425,
      0.5333,
      0.6325,
      0.72,
      0.7948,
      0.8568,
      0.9068,
      0.9459,
      0.9754,
      0.9968,
      1.0115,
      1.0209,
      1.0261,
      1.0282,
      1.0281,
      1.0265,
      1.0239,
      1.0209,
      1.0177,
      1.0145,
      1.0116,
      1.009,
      1.0067,
      1.0048,
      1.0032,
      1.002
    );
}
.brands-heading:hover{
  transform: scale(1.06);
}

.btn-client-list {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 12px 22px;
  border-radius: 10px;
  background: var(--cream);
  color: var(--olive);
  font-weight: 600;
  font-size: 0.85rem;
  border: 1px solid var(--olive);
  box-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
  margin-bottom: 50px;
  transition: all 580ms
    linear(
      0,
      0.0292,
      0.1022,
      0.201,
      0.3119,
      0.425,
      0.5333,
      0.6325,
      0.72,
      0.7948,
      0.8568,
      0.9068,
      0.9459,
      0.9754,
      0.9968,
      1.0115,
      1.0209,
      1.0261,
      1.0282,
      1.0281,
      1.0265,
      1.0239,
      1.0209,
      1.0177,
      1.0145,
      1.0116,
      1.009,
      1.0067,
      1.0048,
      1.0032,
      1.002
    );
}
.btn-client-list:hover {
  filter: brightness(0.96);
  color: var(--olive);
  background-color: var(--cream);
  border: 1px solid var(--cream);
  transform: scale(1.06);
}

.brands-cloud {
  position: relative;
  min-height: 520px;
  max-width: 1120px;
  margin: 0 auto;
}

.brand-logo {
  position: absolute;
  width: 130px;
  height: 130px;
  border-radius: 50%;
  background: var(--cream);
  display: grid;
  place-items: center;
  padding: 16px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  transition: all 1050ms
    linear(
      0,
      0.0387,
      0.1248,
      0.2285,
      0.3337,
      0.4323,
      0.5209,
      0.5983,
      0.6647,
      0.7211,
      0.7685,
      0.8082,
      0.8413,
      0.8688,
      0.8916,
      0.9105,
      0.9261,
      0.939,
      0.9497,
      0.9585,
      0.9658,
      0.9718,
      0.9767,
      0.9808,
      0.9842,
      0.9869,
      0.9892,
      0.9911,
      0.9927,
      0.994,
      0.995
    );
  transform-origin: left top;
}
.brand-logo:hover {
  transform: scale(1.3);
  filter: drop-shadow(0 6px 14px rgba(0, 0, 0, 0.2));
}
.brand-logo img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.pos-1  { top: -5%;  left: 1.2%; }
.pos-2  { top: -25%;  left: 15%; }
.pos-3  { top: -5%;  left: 30%; }
.pos-4  { top: -5%; right: 30%; }
.pos-5  { top: -25%; right: 15%; }
.pos-6  { top: -5%; right: 0%; }
.pos-7  { top: 35%; left: 1.2%; }
.pos-8  { top: 17%; left: 16%; }
.pos-9  { top: 35%; left: 30%; }
.pos-10 { top: 15%; left: 45%; }
.pos-11 { top: 35%; right: 30%; }
.pos-12 { top: 15%; right: 15%; }
.pos-13 { top: 35%; right: 0%; }
.pos-14 { top: 75%; left: 1.2%; }
.pos-15 { top: 55%; left: 16%; }
.pos-16 { top: 75%; left: 30%; }
.pos-17 { top: 55%; left: 45%; }
.pos-18 { top: 75%; right: 28%;  }
.pos-19 { top: 55%; right: 15%;  }
.pos-20 { top: 75%; right: 0%;  }

/* ── Case studies ── */
.case-panel {
  display: flex;
  align-items: stretch;
  height: 550px;
  margin-bottom: 32px;
  border-radius: 24px;
  overflow: hidden;
  border: 2px solid rgba(108, 122, 63, 0.5);
  background: linear-gradient(98.45deg, rgba(101, 107, 72, 0.8) 30.06%, rgba(157, 155, 117, 0.8) 100%);
  box-shadow: 0px 4px 14px 0px #00000040;
  transition: all 300ms linear;
}
.case-panel:hover {
  background: linear-gradient(98.45deg, #656B48 30.06%, #9D9B75 100%);
  box-shadow: 0px 4px 24px 0px #00000059;
  transition: all 300ms linear;

}

.case-panel-reverse { flex-direction: row-reverse; }

.case-photo {
  flex: 0 0 38%;
  max-width: 38%;
  position: relative;
  overflow: hidden;
}
.case-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.case-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.2);
}

.case-body {
  flex: 1;
  padding: 48px 56px;
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.case-icon {
  width: 64px;
  height: 64px;
  border-radius: 10px;
  background: linear-gradient(180deg, rgba(166, 122, 86, 0.6), rgba(108, 122, 63, 0.6));
  display: grid;
  place-items: center;
  font-size: 1.6rem;
  margin-bottom: 20px;
  box-shadow: -4px 4px 4px rgba(0, 0, 0, 0.45);
}

.case-body h3 {
  font-family: "Lato", sans-serif;
  font-weight: 800;
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  margin-bottom: 16px;
}

.case-body p {
  font-family: "Lato", sans-serif;
  font-size: 1.05rem;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.9);
  margin: 0;
}

.case-link {
  margin-top: 24px;
  color: #fff;
  font-family: "Lato", sans-serif;
  font-weight: 700;
  font-size: 1rem;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: filter 0.2s ease;
}
.case-link:hover { filter: brightness(1.14); color: #fff; }
.case-link:hover i{ transform: rotate(45deg); transition: transform 0.5s ease; }

.btn-case-studies {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 18px 28px;
  border-radius: 10px;
  background: var(--cream);
  color: var(--copper);
  font-family: "Lato", sans-serif;
  font-weight: 900;
  font-size: 1rem;
  border: 1px solid var(--copper);
  box-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
  transition: filter 0.2s ease;
}
.btn-case-studies:hover {
  filter: brightness(0.96);
  color: var(--copper);
}

/* ── Footer ── */
.site-footer {
  position: relative;
  padding: 60px 16px 30px;
  color: #fff;
  background: linear-gradient(180deg, var(--olive-dark), var(--olive-light));
  border-radius: 24px 24px 0 0;
}

.footer-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  flex-direction: column;
}

.footer-logo { width: 200px; height: 70px; }

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-contact a {
  color: #fff;
  font-weight: 700;
  font-size: 0.95rem;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.footer-divider {
  margin: 40px 0;
  border-color: rgba(246, 244, 237, 0.5);
  opacity: 1;
}
.footer-grid{
  border-bottom: 1px solid rgba(246, 244, 237, 0.45);
  padding-bottom: 50px;
}

.footer-grid a {
  display: block;
  color: rgba(255, 255, 255, 0.9);
  font-family: "Lato", sans-serif;
  font-size: 1.0rem;
  margin-bottom: 10px;
  transition: opacity 0.18s ease;
}

.footer-grid h4 a {
  font-family: "Lato", sans-serif;
  font-size: 1.09rem;
  font-weight: 700;
  margin-bottom: 24px;
}

.footer-grid a:hover { opacity: 0.65; color: #fff; }

.footer-bottom {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 20px;
  padding: 0px 20px;
  /* margin-top: 50px;
  padding-top: 20px;
  border-top: 1px solid rgba(246, 244, 237, 0.45); */
  font-size: 0.9rem;
  position: absolute;
  background: linear-gradient(180deg, #96956f, #9c9a74);
  bottom: 1%;
  right: 32%;
}

.footer-social {
  display: flex;
  gap: 14px;
}
.footer-social a {
  width: 48px;
  height: 48px;
  border-radius: 16px;
  background: var(--olive);
  border: 1px solid #fff;
  display: grid;
  place-items: center;
  padding: 8px;
  transition: transform 0.2s ease, filter 0.2s ease;
}
.footer-social a:hover {
  transform: scale(1.14);
  filter: brightness(1.15);
}
.footer-social img {
  width: 24px;
  height: 24px;
  object-fit: contain;
}

.sedna_head{
  position: relative;
  z-index: 5;
  display: flex;
  align-items: center;
  gap: clamp(18px, 2vw, 28px);
  justify-content: space-evenly;
  padding-top: 15px;
}

/* ── Responsive ── */
@media (max-width: 1199.98px) {
  .sedna_head {
    flex-wrap: nowrap;
    justify-content: flex-start;
    align-items: center;
    gap: 10px;
    padding: 10px clamp(16px, 4vw, 60px) 0;
  }

  .sedna_head .hero-logo {
    order: 1;
    position: relative;
    top: auto;
    left: auto;
    margin: 0 !important;
    width: clamp(100px, 28vw, 132px);
    flex-shrink: 0;
  }

  .sedna_head .btn-contact-hero {
    order: 2;
    position: relative;
    top: auto;
    right: auto;
    margin: 0 0 0 auto !important;
    padding: 8px 14px !important;
    font-size: 1rem !important;
    width: auto !important;
    display: inline-flex !important;
    align-items: center;
    flex-shrink: 0;
  }

  .sedna_head .hero-nav {
    order: 3;
    flex: 0 0 auto;
    width: auto !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0;
    position: relative;
    top: auto;
    left: auto;
    transform: none;
  }

  .sedna_head .navbar-toggler {
    display: block;
    padding: 7px 9px;
    margin: 0;
    border: 1px solid rgba(255, 255, 255, 0.7);
    border-radius: 6px;
    box-shadow: none;
  }

  .sedna_head .navbar-toggler:focus {
    box-shadow: 0 0 0 0.15rem rgba(255, 255, 255, 0.3);
  }

  .sedna_head .navbar-toggler .navbar-toggler-icon {
    width: 1.35rem;
    height: 1.35rem;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
  }

  .sedna_head .navbar-collapse {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    left: auto;
    z-index: 30;
    background: var(--cream);
    border: 1px solid var(--copper);
    border-radius: 10px;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.18);
    max-height: calc(100vh - 110px);
    overflow-y: auto;
    width: min(240px, calc(100vw - 32px));
  }

  .sedna_head .navbar-collapse.collapsing {
    transition: height 0.28s ease !important;
  }

  .sedna_head .hero-nav-list {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    gap: 0;
    padding: 6px 8px !important;
    border: none;
    box-shadow: none !important;
  }

  .sedna_head .hero-nav-list .nav-item {
    border-bottom: 1px solid rgba(166, 122, 86, 0.18);
  }

  .sedna_head .hero-nav-list .nav-item:last-child {
    border-bottom: none;
  }

  .sedna_head .hero-nav .nav-link {
    padding: 11px 10px !important;
    font-size: 0.92rem;
  }

  .sedna_head .hover-dropdown .dropdown-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    gap: 10px;
  }

  .sedna_head .hover-dropdown .dropdown-toggle::after {
    margin-left: auto;
    flex-shrink: 0;
    transition: transform 0.28s ease;
  }

  .sedna_head .hover-dropdown.open .dropdown-toggle::after {
    transform: rotate(180deg);
  }

  .sedna_head .hover-dropdown .dropdown-menu {
    display: block;
    position: static;
    float: none;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    pointer-events: none;
    margin: 0;
    padding: 0 0 0 12px;
    border: 0;
    background: transparent;
    box-shadow: none;
    max-height: 0;
    overflow: hidden;
    transition:
      max-height 0.32s ease,
      opacity 0.28s ease,
      transform 0.28s ease,
      visibility 0.28s ease,
      padding 0.28s ease;
  }

  .sedna_head .hover-dropdown.open .dropdown-menu,
  .sedna_head .hover-dropdown .dropdown-menu.show-hover {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
    max-height: 320px;
    padding-bottom: 8px;
  }

  .sedna_head .dropdown-item {
    padding: 8px 10px;
    font-size: 0.84rem;
  }
  .hero-title{ font-size: 2.8rem; }
  .hero-lead{ font-size: 1.1rem; }
  .hero-row { margin-top: 30px; }
  .glance-diagram { transform: scale(0.92); transform-origin: top center; }
}
@media (max-width: 1098px){
  .node-1{
    top: 35px;
    left: 0px;
  }
  .node-2{
    top: 10px;
    right: 10px;
  }
  .node-3{
    right: -30px;
    bottom: 65px;
  }
  .node-4{
    bottom: 30px;
    left: 15%;
  }
  .node-5{
    top: 365px;
    left: -90px;
  }
  .node-1 .node-badge{
    right: 6%;
    bottom: -70px;
  }
  .node-2 .node-badge{
    top: 100px;
    left: 40px;
  }
  .node-3 .node-badge{
    top: -100px;
    left: 20px;
  }
  .node-4 .node-badge{
    top: -70px;
    left: 45%;
  }
  .node-5 .node-badge{
    top: -65px;
    right: 0px;
  }
}
@media (max-width: 991.98px) {
  .hero-inner { min-height: auto; padding-bottom: 48px; }
  .tag-pill{ font-size: 1rem; }
  .glance-diagram { height: auto; transform: none; display: grid; gap: 16px; }
  .glance-ring, .glance-center { display: none; }
  .glance-node { position: relative; inset: auto !important; width: 100%; transform: none !important; text-align: left !important; padding: 20px 20px 20px 80px; background: #eeebdf; border-radius: 12px; }
  .node-badge { top: 50% !important; left: 16px !important; right: auto !important; transform: translateY(-50%) !important; }
  .about-collage { min-height: 360px; }
  .brands-cloud { min-height: 400px; }
  .brand-logo { width: 90px; height: 90px; }
  .case-panel, .case-panel-reverse { flex-direction: column; }
  .case-photo { flex: none; max-width: 100%; height: 240px; }
  .case-body { padding: 32px; }
}

@media (min-width: 768px) and (max-width: 991.98px) {
  .hero-row .hero-title { font-size: clamp(1.75rem, 3.5vw, 2.5rem); }
  .hero-row .hero-lead { font-size: clamp(0.9rem, 1.6vw, 1.1rem); margin-bottom: 20px; }
  .hero-row .hero-image-block { max-width: 100%; }
}

@media (max-width: 767.98px) {
  .hero-image-block { margin: 24px auto 0; }
  .section-block { padding: 50px 0; }
  .brands-panel { padding: 48px 20px 60px; }
  .brands-cloud { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; min-height: auto; position: static; }
  .brand-logo { position: relative !important; inset: auto !important; width: 100%; height: 90px; margin: 0 auto; }
  .about-img-main { width: 50%; height: 200px; }
  .about-img-side { width: 40%; height: 220px; top: 110px; }
  .about-img-small { height: 100px; left: 8%; bottom: 30px;}
  .about-img-wide { height: 110px; right: 38px; top: -10px;}
}

@media (max-width: 575.98px) {
  .hero-title { font-size: 2rem; }
  .footer-bottom { flex-direction: column; text-align: center; right: 18%; gap: 8px; font-size: 10px; }
  .footer-social a {
    width: 35px;
    height: 35px;
    padding: 5px;
  }
  .footer-social img {
    width: 20px;
    height: 20px;
  }
  .footer-social{
    gap: 8px;
  }
  
}

