:root {
  --blue: #244596;
  --blue-dark: #18316f;
  --blue-soft: #edf2ff;
  --orange: #ff7a21;
  --yellow: #ffc01f;
  --green: #59ad5c;
  --ink: #14213d;
  --muted: #60708d;
  --surface: #ffffff;
  --line: #dfe5ef;
  --shadow: 0 18px 50px rgba(22, 43, 94, 0.13);
  --radius: 22px;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: #fff;
  font-family: "DM Sans", Arial, sans-serif;
  line-height: 1.65;
}

body.modal-open {
  overflow: hidden;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

button,
input,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  left: 1rem;
  top: -4rem;
  z-index: 9999;
  padding: 0.8rem 1rem;
  border-radius: 10px;
  color: #fff;
  background: var(--ink);
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 1rem;
}

.announcement {
  min-height: 36px;
  display: grid;
  place-items: center;
  padding: 0.35rem 1rem;
  background: var(--yellow);
  color: #1e3470;
  font-size: 0.82rem;
  font-weight: 700;
  text-align: center;
  letter-spacing: 0.02em;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  min-height: 84px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.65rem max(1rem, calc((100vw - var(--max)) / 2));
  color: #fff;
  background: rgba(36, 69, 150, 0.97);
  box-shadow: 0 8px 28px rgba(17, 41, 96, 0.18);
  backdrop-filter: blur(12px);
}

.brand-link {
  flex: 0 0 auto;
}

.brand-badge,
.footer-logo {
  display: grid;
  place-items: center;
  overflow: hidden;
  background: #fff;
  border-radius: 16px;
}

.brand-badge {
  width: 68px;
  height: 68px;
  padding: 4px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.22);
}

.brand-badge img,
.footer-logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.main-nav > a,
.nav-dropdown > button {
  border: 0;
  border-radius: 999px;
  padding: 0.7rem 0.9rem;
  color: #fff;
  background: transparent;
  text-decoration: none;
  font-weight: 600;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.main-nav > a:hover,
.main-nav > a:focus-visible,
.main-nav > a.active,
.nav-dropdown > button:hover,
.nav-dropdown > button:focus-visible {
  color: #fff;
  background: rgba(255, 255, 255, 0.13);
}

.main-nav .nav-cta {
  padding-inline: 1.25rem;
  background: var(--orange);
}

.main-nav .nav-cta:hover,
.main-nav .nav-cta:focus-visible {
  background: #ff8d3e;
  transform: translateY(-1px);
}

.nav-dropdown {
  position: relative;
}

.dropdown-menu {
  position: absolute;
  top: calc(100% + 0.55rem);
  left: 50%;
  width: 290px;
  display: grid;
  gap: 0.25rem;
  padding: 0.7rem;
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, -6px);
  border: 1px solid var(--line);
  border-radius: 16px;
  color: var(--ink);
  background: #fff;
  box-shadow: var(--shadow);
  transition: 0.2s ease;
}

.nav-dropdown:hover .dropdown-menu,
.nav-dropdown:focus-within .dropdown-menu,
.nav-dropdown.open .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
}

.dropdown-menu a {
  padding: 0.7rem 0.8rem;
  border-radius: 11px;
  color: var(--ink);
  text-decoration: none;
  font-weight: 600;
}

.dropdown-menu a:hover,
.dropdown-menu a:focus-visible {
  color: var(--blue);
  background: var(--blue-soft);
}

.crafve-button {
  width: 110px;
  height: 42px;
  display: grid;
  place-items: center;
  padding: 5px !important;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 11px !important;
  background: #f4ddb1 !important;
  box-shadow: inset 0 0 0 3px rgba(255, 255, 255, 0.25);
}

.crafve-button img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 6px;
}

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  place-content: center;
  gap: 5px;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.08);
}

.menu-toggle span:not(.sr-only) {
  width: 22px;
  height: 2px;
  display: block;
  background: #fff;
}

main {
  min-height: 60vh;
}

.shell {
  width: min(var(--max), calc(100% - 2rem));
  margin-inline: auto;
}

.section {
  padding: 5.5rem 0;
}

.section-sm {
  padding: 3.5rem 0;
}

.section-soft {
  background: #f7f9fd;
}

.eyebrow {
  margin: 0 0 0.7rem;
  color: var(--orange);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.section-heading {
  max-width: 780px;
  margin: 0 auto 2.6rem;
  text-align: center;
}

.section-heading h2,
.content-copy h2,
.cta-band h2 {
  margin: 0.2rem 0 0.8rem;
  color: var(--ink);
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(2rem, 4vw, 3.35rem);
  line-height: 1.1;
}

.section-heading p,
.content-copy p {
  margin: 0;
  color: var(--muted);
  font-size: 1.04rem;
}

.hero {
  position: relative;
  min-height: min(710px, calc(100vh - 120px));
  overflow: hidden;
  color: #fff;
  background: var(--blue-dark);
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.75s ease;
}

.hero-slide.active {
  opacity: 1;
}

.hero-slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(13, 33, 77, 0.93) 0%, rgba(17, 45, 102, 0.78) 47%, rgba(21, 44, 95, 0.24) 100%),
    linear-gradient(0deg, rgba(12, 30, 68, 0.55), transparent 60%);
}

.hero-slide > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(var(--max), calc(100% - 2rem));
  min-height: min(710px, calc(100vh - 120px));
  display: grid;
  align-content: center;
  margin-inline: auto;
  padding: 5rem 0 7rem;
}

.hero-copy {
  max-width: 690px;
}

.hero-copy .eyebrow {
  color: var(--yellow);
}

.hero h1,
.page-hero h1 {
  margin: 0 0 1.2rem;
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(2.65rem, 6vw, 5.4rem);
  line-height: 1.03;
}

.hero p {
  max-width: 650px;
  margin: 0 0 1.8rem;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(1rem, 2vw, 1.25rem);
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-height: 48px;
  padding: 0.75rem 1.2rem;
  border: 1px solid transparent;
  border-radius: 999px;
  color: #fff;
  background: var(--orange);
  text-decoration: none;
  font-weight: 700;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
  background: #ff8b3d;
  box-shadow: 0 10px 24px rgba(255, 122, 33, 0.28);
}

.button.secondary {
  border-color: rgba(255, 255, 255, 0.65);
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
}

.button.blue {
  background: var(--blue);
}

.hero-controls {
  position: absolute;
  z-index: 3;
  right: max(1rem, calc((100vw - var(--max)) / 2));
  bottom: 2rem;
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.round-button {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 50%;
  color: #fff;
  background: rgba(10, 28, 66, 0.5);
  font-size: 1.4rem;
}

.hero-dots {
  display: flex;
  gap: 0.4rem;
}

.hero-dot {
  width: 9px;
  height: 9px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.48);
  transition: width 0.25s ease, background 0.25s ease;
}

.hero-dot.active {
  width: 28px;
  background: var(--yellow);
}

.page-hero {
  position: relative;
  overflow: hidden;
  padding: 7.5rem 0 6rem;
  color: #fff;
  background:
    radial-gradient(circle at 85% 20%, rgba(255, 192, 31, 0.36), transparent 25%),
    radial-gradient(circle at 10% 100%, rgba(89, 173, 92, 0.28), transparent 27%),
    linear-gradient(135deg, #17326f, #244596 62%, #3157b8);
}

.page-hero::after {
  content: "";
  position: absolute;
  right: -5rem;
  bottom: -11rem;
  width: 28rem;
  height: 28rem;
  border: 2px solid rgba(255, 255, 255, 0.13);
  border-radius: 50%;
  box-shadow: 0 0 0 55px rgba(255, 255, 255, 0.045), 0 0 0 110px rgba(255, 255, 255, 0.025);
}

.page-hero .shell {
  position: relative;
  z-index: 1;
}

.page-hero .eyebrow {
  color: var(--yellow);
}

.page-hero h1 {
  max-width: 820px;
  font-size: clamp(2.7rem, 6vw, 5rem);
}

.page-hero p {
  max-width: 760px;
  margin: 0;
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.16rem;
}

.solution-grid,
.feature-grid,
.capability-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.solution-card,
.feature-card,
.capability-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 8px 28px rgba(25, 48, 101, 0.07);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.solution-card:hover,
.solution-card:focus-within,
.feature-card:hover,
.capability-card:hover {
  transform: translateY(-6px);
  border-color: #c6d4f3;
  box-shadow: var(--shadow);
}

.solution-card > a {
  display: block;
  color: inherit;
  text-decoration: none;
}

.solution-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.solution-card:hover img {
  transform: scale(1.045);
}

.solution-card h3,
.feature-card h3,
.capability-card h3 {
  margin: 0;
  font-size: 1.12rem;
}

.solution-card .card-body {
  padding: 1.15rem;
}

.solution-card p,
.feature-card p,
.capability-card p {
  margin: 0.45rem 0 0;
  color: var(--muted);
  font-size: 0.93rem;
}

.story-grid,
.contact-grid,
.partner-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 3.2rem;
  align-items: center;
}

.story-visual {
  position: relative;
  min-height: 480px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: 28px;
  background:
    linear-gradient(135deg, rgba(36, 69, 150, 0.93), rgba(29, 60, 137, 0.75)),
    url("/assets/branding/marriott-display.jpg") center / cover;
  box-shadow: var(--shadow);
}

.story-visual::after {
  content: "";
  position: absolute;
  inset: 1.2rem;
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 20px;
}

.story-visual img {
  position: relative;
  z-index: 1;
  width: min(76%, 340px);
  border: 8px solid rgba(255, 255, 255, 0.95);
  border-radius: 26px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.26);
}

.content-copy .button {
  margin-top: 1.5rem;
}

.feature-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.feature-card,
.capability-card {
  padding: 1.45rem;
}

.feature-icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  margin-bottom: 1rem;
  border-radius: 13px;
  color: #fff;
  background: var(--blue);
  font-size: 1.25rem;
  font-weight: 800;
}

.logo-carousel {
  position: relative;
}

.logo-window {
  overflow: hidden;
  padding: 0.35rem 0.25rem 1rem;
}

.logo-track {
  display: flex;
  transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}

.logo-item {
  flex: 0 0 20%;
  padding: 0.5rem;
}

.logo-card {
  height: 128px;
  display: grid;
  place-items: center;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 6px 22px rgba(25, 48, 101, 0.06);
}

.logo-card img {
  max-width: 100%;
  max-height: 85px;
  object-fit: contain;
  filter: grayscale(0.12);
  transition: filter 0.2s ease, transform 0.2s ease;
}

.logo-card:hover img,
.logo-card:focus-within img {
  filter: none;
  transform: scale(1.04);
}

.carousel-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 0.75rem;
}

.carousel-button {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--blue);
  background: #fff;
  font-size: 1.35rem;
}

.carousel-dots {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.4rem;
}

.carousel-dot {
  width: 8px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: #c7d1e5;
}

.carousel-dot.active {
  width: 20px;
  background: var(--orange);
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.testimonial {
  padding: 1.5rem;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #fff;
}

.stars {
  color: var(--yellow);
  letter-spacing: 0.08em;
}

.testimonial blockquote {
  margin: 0.8rem 0 1.2rem;
  color: #34425f;
}

.testimonial strong {
  display: block;
  color: var(--blue);
}

.testimonial span {
  color: var(--muted);
  font-size: 0.9rem;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.1rem;
}

.gallery-card {
  position: relative;
  min-height: 300px;
  overflow: hidden;
  padding: 0;
  border: 0;
  border-radius: 20px;
  color: #fff;
  background: var(--blue-dark);
  box-shadow: 0 8px 28px rgba(25, 48, 101, 0.13);
  text-align: left;
}

.gallery-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(8, 25, 64, 0.92) 0%, rgba(8, 25, 64, 0.15) 62%, transparent 100%);
}

.gallery-card img {
  width: 100%;
  height: 100%;
  min-height: 300px;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gallery-card:hover img,
.gallery-card:focus-visible img {
  transform: scale(1.055);
}

.gallery-card:focus-visible {
  outline: 4px solid var(--yellow);
  outline-offset: 3px;
}

.gallery-meta {
  position: absolute;
  z-index: 2;
  right: 1rem;
  bottom: 1rem;
  left: 1rem;
}

.gallery-meta strong {
  display: block;
  font-size: 1.03rem;
}

.badge {
  display: inline-flex;
  margin-bottom: 0.55rem;
  padding: 0.3rem 0.6rem;
  border-radius: 999px;
  color: #fff;
  background: var(--orange);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.capability-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.metric {
  padding: 1.6rem 1rem;
  border-radius: 20px;
  color: #fff;
  background: linear-gradient(145deg, var(--blue), var(--blue-dark));
  text-align: center;
}

.metric strong {
  display: block;
  color: var(--yellow);
  font-family: "Playfair Display", Georgia, serif;
  font-size: 2.3rem;
}

.partner-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: stretch;
  gap: 1.5rem;
}

.partner-card {
  padding: 1.7rem;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 9px 30px rgba(24, 49, 111, 0.08);
}

.partner-logo-panel {
  min-height: 150px;
  display: grid;
  place-items: center;
  margin-bottom: 1.2rem;
  padding: 1rem 1.5rem;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
}

.partner-logo-panel img {
  max-width: 240px;
  max-height: 122px;
  object-fit: contain;
}

.partner-card h2 {
  margin: 0;
  color: var(--blue);
  font-size: 1.35rem;
}

.partner-card p {
  color: var(--muted);
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 1rem;
}

.tag-list span {
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
  color: var(--blue);
  background: var(--blue-soft);
  font-size: 0.78rem;
  font-weight: 700;
}

.logo-wall {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.85rem;
}

.logo-wall .logo-card {
  height: 138px;
}

.cta-band {
  position: relative;
  overflow: hidden;
  padding: 4rem 1.2rem;
  border-radius: 30px;
  color: #fff;
  background:
    radial-gradient(circle at 90% 10%, rgba(255, 192, 31, 0.5), transparent 25%),
    linear-gradient(135deg, var(--blue-dark), var(--blue));
  text-align: center;
}

.cta-band h2 {
  color: #fff;
}

.cta-band p {
  max-width: 680px;
  margin: 0 auto 1.5rem;
  color: rgba(255, 255, 255, 0.84);
}

.contact-card {
  padding: 2rem;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: #fff;
  box-shadow: var(--shadow);
}

.contact-list {
  display: grid;
  gap: 0.9rem;
  margin-top: 1.5rem;
}

.contact-list a,
.contact-list address {
  display: flex;
  gap: 0.75rem;
  color: var(--ink);
  text-decoration: none;
  font-style: normal;
}

.contact-list a:hover {
  color: var(--blue);
}

.contact-form {
  display: grid;
  gap: 1rem;
}

.field {
  display: grid;
  gap: 0.4rem;
}

.field label {
  font-size: 0.88rem;
  font-weight: 700;
}

.field input,
.field textarea {
  width: 100%;
  padding: 0.85rem 0.95rem;
  border: 1px solid #cfd8e7;
  border-radius: 12px;
  color: var(--ink);
  background: #fff;
}

.field input:focus,
.field textarea:focus {
  outline: 3px solid rgba(36, 69, 150, 0.16);
  border-color: var(--blue);
}

.field textarea {
  min-height: 145px;
  resize: vertical;
}

.lightbox {
  width: min(1100px, calc(100% - 2rem));
  max-height: 94vh;
  padding: 1.2rem 4.8rem 1.5rem;
  border: 0;
  border-radius: 24px;
  color: #fff;
  background: #0a1738;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.5);
}

.lightbox::backdrop {
  background: rgba(3, 10, 28, 0.84);
  backdrop-filter: blur(8px);
}

.lightbox figure {
  margin: 0;
}

.lightbox figure img {
  width: 100%;
  max-height: 72vh;
  object-fit: contain;
  border-radius: 14px;
  background: #050c20;
}

.lightbox figcaption {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
  padding: 0.9rem 0.2rem 0;
}

.lightbox-category {
  padding: 0.25rem 0.55rem;
  border-radius: 999px;
  background: var(--orange);
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
}

.lightbox-count {
  margin-left: auto;
  color: #aebdde;
  font-size: 0.86rem;
}

.lightbox-close,
.lightbox-nav {
  position: absolute;
  z-index: 3;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 50%;
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  font-size: 1.8rem;
}

.lightbox-close {
  top: 0.7rem;
  right: 0.7rem;
}

.lightbox-nav {
  top: 45%;
}

.lightbox-nav.prev {
  left: 0.7rem;
}

.lightbox-nav.next {
  right: 0.7rem;
}

.lightbox-dots {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.35rem;
  margin-top: 0.75rem;
}

.lightbox-dots button {
  width: 8px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: #60739e;
}

.lightbox-dots button.active {
  width: 22px;
  background: var(--yellow);
}

.site-footer {
  padding: 4.5rem 0 0;
  color: rgba(255, 255, 255, 0.82);
  background: #132a62;
}

.footer-grid {
  width: min(var(--max), calc(100% - 2rem));
  display: grid;
  grid-template-columns: 1.35fr 0.8fr 1.15fr;
  gap: 2.8rem;
  margin-inline: auto;
}

.footer-grid h2 {
  margin: 0 0 1rem;
  color: #fff;
  font-size: 1rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.footer-grid ul {
  display: grid;
  gap: 0.55rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-grid a {
  color: rgba(255, 255, 255, 0.82);
  text-decoration: none;
}

.footer-grid a:hover {
  color: var(--yellow);
}

.footer-grid address {
  font-style: normal;
}

.footer-logo {
  width: 92px;
  height: 92px;
  margin-bottom: 1rem;
  padding: 4px;
}

.footer-crafve {
  width: 170px;
  height: 55px;
  display: grid;
  place-items: center;
  margin-top: 1.2rem;
  padding: 5px;
  overflow: hidden;
  border-radius: 10px;
  background: #eed6aa;
}

.footer-crafve img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 6px;
}

.footer-bottom {
  width: min(var(--max), calc(100% - 2rem));
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin: 3rem auto 0;
  padding: 1.2rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  font-size: 0.86rem;
}

@media (max-width: 1000px) {
  .menu-toggle {
    display: grid;
  }

  .main-nav {
    position: absolute;
    top: calc(100% + 0.4rem);
    right: 1rem;
    left: 1rem;
    display: none;
    align-items: stretch;
    padding: 0.8rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 18px;
    background: var(--blue-dark);
    box-shadow: var(--shadow);
  }

  .main-nav.open {
    display: grid;
  }

  .main-nav > a,
  .nav-dropdown > button {
    width: 100%;
    text-align: left;
  }

  .dropdown-menu {
    position: static;
    width: 100%;
    display: none;
    margin-top: 0.3rem;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
  }

  .nav-dropdown.open .dropdown-menu {
    display: grid;
    transform: none;
  }

  .crafve-button {
    width: 160px !important;
    margin-top: 0.35rem;
  }

  .solution-grid,
  .feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .story-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .story-visual {
    min-height: 390px;
  }

  .logo-item {
    flex-basis: 33.333%;
  }

  .logo-wall {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .section {
    padding: 4rem 0;
  }

  .hero,
  .hero-content {
    min-height: 640px;
  }

  .hero-slide::after {
    background: linear-gradient(90deg, rgba(13, 33, 77, 0.93), rgba(17, 45, 102, 0.72));
  }

  .hero h1,
  .page-hero h1 {
    font-size: clamp(2.45rem, 12vw, 3.75rem);
  }

  .page-hero {
    padding: 5.2rem 0 4.5rem;
  }

  .gallery,
  .capability-grid,
  .testimonial-grid,
  .metrics,
  .partner-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .gallery-card,
  .gallery-card img {
    min-height: 245px;
  }

  .logo-item {
    flex-basis: 50%;
  }

  .logo-wall {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-bottom {
    flex-direction: column;
  }

  .lightbox {
    padding: 3.6rem 0.7rem 1rem;
  }

  .lightbox-nav {
    top: 0.7rem;
  }

  .lightbox-nav.prev {
    left: 0.7rem;
  }

  .lightbox-nav.next {
    right: 3.8rem;
  }
}

@media (max-width: 520px) {
  .solution-grid,
  .feature-grid,
  .gallery {
    grid-template-columns: 1fr;
  }

  .brand-badge {
    width: 60px;
    height: 60px;
  }

  .site-header {
    min-height: 74px;
  }

  .button-row {
    align-items: stretch;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .hero-controls {
    right: 1rem;
    left: 1rem;
    justify-content: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
  }
}
