:root {
  --color-bg: #f7fbff;
  --color-bg-deep: #eef5ff;
  --color-surface: rgba(255, 255, 255, 0.86);
  --color-surface-strong: rgba(255, 255, 255, 0.95);
  --color-border: rgba(54, 95, 152, 0.18);
  --color-text: #1f365b;
  --color-muted: #4f6283;
  --color-title: #1d3459;
  --color-orange: #ff6a24;
  --color-orange-soft: #ff8b4d;
  --color-blue: #365f98;
  --color-blue-soft: #5584be;
  --color-blue-pale: #244b7c;
  --color-success: #25d366;
  --shadow-lg: 0 18px 50px rgba(32, 58, 96, 0.12);
  --shadow-md: 0 10px 26px rgba(32, 58, 96, 0.1);
  --radius-xl: 30px;
  --radius-lg: 22px;
  --radius-md: 16px;
  --container: min(1180px, calc(100% - 2rem));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Outfit", "Segoe UI", sans-serif;
  color: var(--color-text);
  background: #f5f9ff;
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-text-size-adjust: 100%;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  border: 0;
}

.site-shell {
  overflow: clip;
}

.container {
  width: var(--container);
  margin: 0 auto;
}

.section {
  position: relative;
  padding: 5.8rem 0;
}

.section--soft {
  background: #ffffff;
}

.section-heading {
  max-width: 44rem;
  margin-bottom: 2.7rem;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.48rem 0.9rem;
  border-radius: 999px;
  border: 1px solid rgba(54, 95, 152, 0.2);
  background: rgba(141, 206, 255, 0.2);
  color: var(--color-blue);
  font-size: 0.88rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.section-heading h2,
.page-hero__copy h1,
.slide h1,
.contact-intro h1 {
  margin: 1rem 0 0;
  font-family: "Sora", "Segoe UI", sans-serif;
  font-size: clamp(2.3rem, 5vw, 4.5rem);
  line-height: 1.05;
  color: var(--color-title);
}

.section-heading p,
.page-hero__copy p,
.slide p:last-child,
.service-card p,
.panel p,
.contact-card p,
.detail-card p,
.industry-card p,
.footer p,
.footer a,
.form-note,
.field span,
.field input,
.field select,
.field textarea,
.hero-stat span,
.contact-list a,
.mini-card p {
  color: var(--color-muted);
  line-height: 1.7;
}

.topbar {
  background: #ffffff;
  color: #233f73;
  border-bottom: 1px solid rgba(30, 62, 112, 0.14);
  backdrop-filter: blur(16px);
}

.topbar__content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 0;
  font-size: 0.95rem;
}

.topbar__content p {
  margin: 0;
  color: #4b5f84;
}

.topbar__links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.topbar__links a {
  word-break: break-word;
}

.topbar__links a:hover,
.nav a:hover,
.nav-dropdown__menu a:hover,
.footer a:hover,
.contact-list a:hover {
  color: var(--color-blue);
}

.header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: #ffffff;
  color: #203861;
  border-bottom: 1px solid rgba(30, 62, 112, 0.14);
  box-shadow: 0 8px 20px rgba(18, 38, 73, 0.08);
  backdrop-filter: blur(18px);
}

.header__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  padding: 0.85rem 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
}

.brand img,
.footer__logo {
  width: clamp(220px, 22vw, 300px);
  height: auto;
}

.nav {
  display: flex;
  align-items: center;
  margin-left: auto;
  gap: 0.25rem;
  padding: 0.35rem;
  border-radius: 999px;
  border: 1px solid rgba(30, 62, 112, 0.15);
  background: #ffffff;
  box-shadow: 0 8px 20px rgba(18, 38, 73, 0.08);
  font-size: 0.95rem;
  font-weight: 600;
}

.nav > a,
.nav-dropdown__trigger {
  white-space: nowrap;
  padding: 0.58rem 0.88rem;
  border-radius: 999px;
  transition: background-color 180ms ease, color 180ms ease;
}

.nav > a:hover,
.nav-dropdown__trigger:hover {
  background: rgba(54, 95, 152, 0.08);
}

.nav a.is-current,
.nav-dropdown__trigger.is-current {
  background: rgba(54, 95, 152, 0.12);
  color: var(--color-blue);
}

.nav-dropdown {
  position: relative;
  display: flex;
  align-items: center;
}

.nav-dropdown__trigger {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: inherit;
  background: transparent;
  cursor: pointer;
}

.nav-dropdown__trigger::after {
  content: "";
  width: 0.55rem;
  height: 0.55rem;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  transition: transform 180ms ease;
}

.nav-dropdown.is-open .nav-dropdown__trigger::after {
  transform: rotate(-135deg) translateY(-1px);
}

.nav-dropdown__menu {
  position: absolute;
  top: calc(100% + 0.7rem);
  left: 0;
  min-width: 250px;
  display: grid;
  gap: 0.3rem;
  padding: 0.85rem;
  background: #ffffff;
  color: #1f3a67;
  border-radius: 18px;
  border: 1px solid rgba(30, 62, 112, 0.15);
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 180ms ease, transform 180ms ease, visibility 180ms ease;
}

.nav-dropdown__menu a {
  padding: 0.78rem 0.88rem;
  border-radius: 12px;
}

.nav-dropdown__menu a.is-current,
.nav-dropdown__menu a:hover {
  background: rgba(54, 95, 152, 0.1);
  color: var(--color-blue);
}

.nav-dropdown.is-open .nav-dropdown__menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav-toggle {
  display: none;
  width: 3rem;
  height: 3rem;
  border-radius: 999px;
  background: rgba(54, 95, 152, 0.08);
  border: 1px solid rgba(54, 95, 152, 0.18);
  color: #1f3a67;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 1.2rem;
  height: 2px;
  margin: 0.24rem auto;
  border-radius: 999px;
  background: currentColor;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex: 0 0 auto;
}

.header-actions .button {
  min-width: 0;
  padding: 0.72rem 0.98rem;
  font-size: 0.84rem;
  font-weight: 700;
  white-space: nowrap;
}

.header-actions .button--primary {
  box-shadow: 0 12px 24px rgba(255, 106, 42, 0.24);
}

.header-actions .button--ghost {
  background: #ffffff;
}

.page-hero,
.hero {
  position: relative;
  padding: 5rem 0 4rem;
}

.page-hero::before,
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.95));
  pointer-events: none;
}

.hero__grid,
.page-hero__grid,
.contact-shell {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2rem;
  align-items: center;
}

.hero__grid {
  grid-template-columns: 1.2fr 0.8fr;
  align-items: start;
}

.hero-slider,
.page-hero__copy {
  position: relative;
}

.hero-slider {
  isolation: isolate;
}

.hero-slider::before,
.hero-slider::after {
  content: "";
  position: absolute;
  z-index: -1;
  border-radius: 999px;
  pointer-events: none;
  animation: heroGlowPulse 7s ease-in-out infinite;
}

.hero-slider::before {
  top: -3.6rem;
  right: -3.2rem;
  width: 15.2rem;
  height: 15.2rem;
  background: radial-gradient(circle at 30% 30%, rgba(255, 116, 54, 0.34), rgba(255, 116, 54, 0));
}

.hero-slider::after {
  left: -2.2rem;
  bottom: 8rem;
  width: 11.4rem;
  height: 11.4rem;
  background: radial-gradient(circle at 40% 30%, rgba(80, 130, 188, 0.26), rgba(80, 130, 188, 0));
  animation-delay: -2.6s;
}

.slide {
  display: none;
  min-height: 0;
  animation: fadeInUp 520ms ease;
}

.slide.is-active {
  display: block;
}

.slide__layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  height: auto;
  align-items: start;
  justify-items: center;
  padding: 1.1rem;
  border-radius: 28px;
  border: 1px solid rgba(54, 95, 152, 0.2);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(239, 247, 255, 0.94));
  box-shadow: 0 14px 34px rgba(26, 50, 84, 0.12);
}

.slide__copy {
  display: grid;
  align-content: start;
  gap: 0.45rem;
  width: 100%;
  max-width: 760px;
  min-width: 0;
}

.slide__copy h1 {
  max-width: 24ch;
  margin: 0.18rem 0 0.5rem;
  font-size: clamp(1.7rem, 2.7vw, 2.55rem);
  line-height: 1.18;
}

.slide__copy p:last-child {
  margin: 0;
  max-width: 66ch;
}

.slide__kicker {
  margin: 0;
  color: var(--color-orange-soft);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.slide__media {
  position: relative;
  display: grid;
  place-items: center;
  width: min(360px, 100%);
  height: auto;
  min-height: 0;
  max-width: 360px;
  margin-left: auto;
  margin-right: auto;
  align-self: start;
  border-radius: 24px;
  border: 1px solid rgba(54, 95, 152, 0.28);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.92), rgba(228, 241, 255, 0.92));
  padding: 0.5rem;
  box-shadow: 0 20px 42px rgba(23, 49, 85, 0.2);
  overflow: hidden;
}

.slide__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 106, 42, 0.14), rgba(54, 95, 152, 0.06));
  pointer-events: none;
}

.slide__media img {
  width: 100%;
  max-width: 100%;
  max-height: none;
  height: auto;
  aspect-ratio: auto;
  border-radius: 19px;
  object-fit: contain;
  transform-origin: center;
  animation: none;
}

.slide.is-active .slide__media {
  animation: floatCard 5.2s ease-in-out infinite;
}

.hero-actions,
.page-actions,
.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 180px;
  padding: 0.95rem 1.35rem;
  border-radius: 999px;
  font-weight: 600;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.button:hover,
.whatsapp-fab:hover {
  transform: translateY(-2px);
}

.button:disabled {
  opacity: 0.68;
  cursor: not-allowed;
  transform: none;
}

.button--primary {
  background: linear-gradient(135deg, #ff6823, #ff8d4d);
  color: #fff9f4;
  box-shadow: 0 16px 34px rgba(255, 106, 42, 0.34);
}

.button--secondary,
.button--ghost {
  border: 1px solid rgba(54, 95, 152, 0.24);
  background: rgba(255, 255, 255, 0.92);
  color: var(--color-blue);
}

.button--ghost {
  min-width: auto;
}

.info-pills,
.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.7rem;
}

.info-pills span,
.hero-stat {
  padding: 0.72rem 1rem;
  border-radius: 16px;
  border: 1px solid rgba(54, 95, 152, 0.18);
  background: rgba(255, 255, 255, 0.9);
}

.hero-stat strong {
  display: block;
  margin-bottom: 0.25rem;
  font-family: "Sora", "Segoe UI", sans-serif;
  color: var(--color-title);
}

.slider__controls {
  display: flex;
  gap: 0.65rem;
  margin-top: 1.9rem;
}

.slider__dot {
  width: 0.85rem;
  height: 0.85rem;
  border-radius: 50%;
  background: rgba(54, 95, 152, 0.24);
  cursor: pointer;
}

.slider__dot.is-active {
  background: linear-gradient(135deg, var(--color-orange), var(--color-blue-soft));
  transform: scale(1.12);
}

.panel,
.service-card,
.detail-card,
.industry-card,
.contact-card,
.form-card,
.mini-card {
  position: relative;
  padding: 1.55rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  background: #ffffff;
  box-shadow: var(--shadow-md);
  backdrop-filter: blur(12px);
}

.panel--feature {
  padding: 2rem;
  border-radius: var(--radius-xl);
}

.panel--feature h2,
.panel h2 {
  margin: 0;
  font-family: "Sora", "Segoe UI", sans-serif;
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  line-height: 1.2;
}

.panel__grid,
.service-grid,
.detail-grid,
.industry-grid,
.mini-grid,
.contact-cards {
  display: grid;
  gap: 1.2rem;
}

.panel__grid,
.detail-grid,
.mini-grid,
.contact-cards {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

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

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

.service-card {
  display: grid;
  gap: 0.9rem;
  min-height: 100%;
}

.service-card:hover,
.industry-card:hover,
.detail-card:hover,
.mini-card:hover {
  border-color: rgba(54, 95, 152, 0.28);
}

.service-card__icon,
.detail-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(255, 106, 42, 0.2), rgba(128, 200, 255, 0.2));
  color: var(--color-blue-pale);
  font-family: "Sora", "Segoe UI", sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
}

.service-card h3,
.detail-card h3,
.industry-card h3,
.contact-card h3,
.mini-card h3,
.footer h4 {
  margin: 0;
  font-family: "Sora", "Segoe UI", sans-serif;
  font-size: 1.2rem;
  color: #203861;
}

.contact-card {
  min-width: 0;
  display: grid;
  gap: 0.6rem;
}

.contact-card h3,
.contact-card a {
  overflow-wrap: anywhere;
  word-break: break-word;
}

.contact-card a {
  display: inline-flex;
  max-width: 100%;
}

.service-card__link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--color-blue);
  font-weight: 600;
}

.service-card__link::after {
  content: ">";
}

.content-block {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 1.6rem;
  align-items: start;
}

.check-list {
  display: grid;
  gap: 0.8rem;
  margin-top: 1.5rem;
}

.check-list span {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  color: var(--color-blue-pale);
}

.check-list span::before {
  content: "";
  width: 0.8rem;
  height: 0.8rem;
  margin-top: 0.35rem;
  flex: 0 0 auto;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-orange), var(--color-blue-soft));
}

.cta-band {
  padding: 2rem;
  border-radius: var(--radius-xl);
  background: #ffffff;
  border: 1px solid rgba(54, 95, 152, 0.2);
  box-shadow: var(--shadow-md);
}

.cta-band h2 {
  margin: 0;
  font-family: "Sora", "Segoe UI", sans-serif;
  font-size: clamp(1.8rem, 3vw, 2.8rem);
}

.cta-band p {
  max-width: 40rem;
}

.contact-intro p {
  max-width: 42rem;
}

.contact-list {
  display: grid;
  gap: 0.55rem;
  margin-top: 1.6rem;
}

.contact-card span,
.field span {
  display: block;
  margin-bottom: 0.45rem;
  font-size: 0.86rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-blue);
}

.form-card {
  padding: 1.9rem;
}

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

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

.field--full {
  grid-column: 1 / -1;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 0.92rem 1rem;
  border-radius: 14px;
  border: 1px solid rgba(54, 95, 152, 0.22);
  background: #ffffff;
  color: #1f3a67;
  outline: none;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: rgba(54, 95, 152, 0.52);
  box-shadow: 0 0 0 3px rgba(54, 95, 152, 0.13);
}

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

.form-note,
.form-status {
  margin: 1rem 0 0;
}

.form-alert {
  margin: 0 0 1rem;
  padding: 0.78rem 0.95rem;
  border-radius: 12px;
  border: 1px solid transparent;
  line-height: 1.5;
}

.form-alert--success {
  color: #146d3d;
  background: rgba(37, 211, 102, 0.14);
  border-color: rgba(37, 211, 102, 0.35);
}

.form-alert--error {
  color: #a83030;
  background: rgba(223, 80, 80, 0.13);
  border-color: rgba(223, 80, 80, 0.3);
}

.form-alert--info {
  color: #1e4f85;
  background: rgba(84, 144, 214, 0.14);
  border-color: rgba(84, 144, 214, 0.32);
}

.consent-line {
  display: flex;
  align-items: flex-start;
  gap: 0.68rem;
  margin-top: 1.1rem;
  color: var(--color-muted);
  line-height: 1.5;
}

.consent-line input {
  margin-top: 0.28rem;
  accent-color: var(--color-blue);
}

.consent-line a {
  color: var(--color-blue);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.form-status {
  min-height: 1.5rem;
  color: var(--color-blue-pale);
}

.footer {
  background: #ffffff;
  color: #203861;
  padding: 2.5rem 0 3.6rem;
  border-top: 1px solid rgba(30, 62, 112, 0.14);
}

.footer p,
.footer a {
  color: #4b5f84;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 1fr;
  gap: 1.5rem;
}

.footer__grid > div {
  display: grid;
  gap: 0.6rem;
  align-content: start;
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 0.25rem;
}

.social-links__item {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 999px;
  border: 1px solid rgba(54, 95, 152, 0.24);
  background: #ffffff;
  color: var(--color-blue);
  transition: transform 180ms ease, background-color 180ms ease, color 180ms ease, border-color 180ms ease;
}

.social-links__item:hover {
  transform: translateY(-2px);
  background: var(--color-blue);
  border-color: var(--color-blue);
  color: #ffffff;
}

.social-links__item svg {
  width: 1.05rem;
  height: 1.05rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.footer-copy {
  grid-column: 1 / -1;
  margin: 0.6rem 0 0;
  padding-top: 0.9rem;
  border-top: 1px solid rgba(30, 62, 112, 0.14);
  color: #4b5f84;
  text-align: center;
}

.whatsapp-fab {
  position: fixed;
  right: 1.2rem;
  bottom: 1.2rem;
  z-index: 50;
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.85rem 1.1rem 0.85rem 0.9rem;
  border-radius: 999px;
  background: linear-gradient(135deg, #19bc57, var(--color-success));
  color: #fff;
  box-shadow: 0 18px 36px rgba(37, 211, 102, 0.28);
  font-weight: 700;
}

.whatsapp-fab__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.35rem;
  height: 2.35rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
}

.whatsapp-fab__icon svg {
  width: 1.22rem;
  fill: currentColor;
}

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 650ms ease, transform 650ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(14px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes floatCard {
  0% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-8px);
  }

  100% {
    transform: translateY(0);
  }
}

@keyframes sliderImagePan {
  0% {
    transform: scale(1.02) translate3d(0, 0, 0);
  }

  100% {
    transform: scale(1.07) translate3d(0, -1.5%, 0);
  }
}

@keyframes heroGlowPulse {
  0% {
    transform: scale(1) translate3d(0, 0, 0);
    opacity: 0.7;
  }

  50% {
    transform: scale(1.08) translate3d(0, 4px, 0);
    opacity: 1;
  }

  100% {
    transform: scale(1) translate3d(0, 0, 0);
    opacity: 0.7;
  }
}

@media (prefers-reduced-motion: reduce) {
  .slide,
  .slide__media,
  .slide__media img,
  .hero-slider::before,
  .hero-slider::after,
  .reveal {
    animation: none !important;
    transition: none !important;
    transform: none !important;
  }
}

@media (max-width: 1120px) {
  .nav > a,
  .nav-dropdown__trigger {
    padding: 0.55rem 0.75rem;
  }

  .header-actions .button {
    padding: 0.66rem 0.82rem;
    font-size: 0.8rem;
  }

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

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

  .slide__layout {
    grid-template-columns: 1fr;
    gap: 1rem;
    padding: 0.95rem;
  }
}

@media (max-width: 920px) {
  .hero__grid,
  .page-hero__grid,
  .content-block,
  .contact-shell,
  .panel__grid,
  .detail-grid,
  .industry-grid,
  .footer__grid {
    grid-template-columns: 1fr;
  }

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

  .slide__layout {
    grid-template-columns: 1fr;
    gap: 0.9rem;
    height: auto;
    padding: 0.9rem;
  }

  .slide {
    min-height: 0;
  }

  .slide__media {
    max-width: 340px;
    min-height: 0;
    margin-left: auto;
    margin-right: auto;
  }

  .topbar__content,
  .header__row {
    display: grid;
    grid-template-columns: 1fr;
  }

  .header__row {
    grid-template-columns: 1fr auto;
    gap: 0.75rem;
    position: relative;
  }

  .brand img {
    width: min(250px, 100%);
  }

  .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .nav {
    position: absolute;
    top: calc(100% + 0.75rem);
    left: 1rem;
    right: 1rem;
    z-index: 60;
    display: grid;
    gap: 1rem;
    padding: 1.25rem;
    border-radius: 24px;
    background: #ffffff;
    color: #1f3a67;
    border: 1px solid rgba(30, 62, 112, 0.15);
    box-shadow: var(--shadow-md);
    font-size: 1rem;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: opacity 180ms ease, transform 180ms ease, visibility 180ms ease;
    max-height: calc(100vh - 8.5rem);
    overflow-y: auto;
  }

  .nav.is-open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .nav-dropdown__menu {
    position: static;
    min-width: 0;
    margin-top: 0.9rem;
    opacity: 1;
    visibility: visible;
    transform: none;
    display: none;
    box-shadow: none;
  }

  .nav-dropdown.is-open .nav-dropdown__menu {
    display: grid;
  }

  .nav > a,
  .nav-dropdown__trigger {
    border-radius: 12px;
  }

  .header-actions {
    grid-column: 1 / -1;
    width: 100%;
    margin-top: 0.2rem;
  }

  .header-actions .button {
    flex: 1 1 0;
    justify-content: center;
  }
}

@media (max-width: 760px) {
  :root {
    --container: min(1180px, calc(100% - 1.25rem));
  }

  .section,
  .page-hero,
  .hero {
    padding: 4.7rem 0;
  }

  .section-heading h2,
  .page-hero__copy h1,
  .slide h1,
  .contact-intro h1 {
    font-size: clamp(1.9rem, 8vw, 2.6rem);
    line-height: 1.15;
  }

  .slide__kicker {
    margin-bottom: 0.8rem;
  }

  .slide__layout {
    padding: 0.82rem;
    border-radius: 18px;
  }

  .slide__copy h1 {
    max-width: 20ch;
    margin-top: 0;
    font-size: clamp(1.6rem, 6vw, 2.25rem);
  }

  .slide__media {
    border-radius: 18px;
    padding: 0.35rem;
    min-height: 0;
    max-width: 300px;
  }

  .slide__media img {
    border-radius: 14px;
    aspect-ratio: auto;
    max-height: none;
  }

  .hero-slider::before {
    top: -2rem;
    right: -3.8rem;
    width: 11rem;
    height: 11rem;
  }

  .hero-slider::after {
    left: -2.9rem;
    bottom: 11rem;
    width: 8.7rem;
    height: 8.7rem;
  }

  .service-grid,
  .panel__grid,
  .detail-grid,
  .mini-grid,
  .contact-cards,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .topbar__links,
  .hero-actions,
  .page-actions,
  .form-actions {
    display: grid;
  }

  .topbar__content {
    gap: 0.55rem;
  }

  .topbar__links {
    gap: 0.4rem;
  }

  .header-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .header-actions .button,
  .hero-actions .button,
  .page-actions .button,
  .form-actions .button,
  .button {
    width: 100%;
    min-width: 0;
  }

  .panel,
  .service-card,
  .detail-card,
  .industry-card,
  .contact-card,
  .form-card,
  .mini-card,
  .panel--feature {
    padding: 1.25rem;
  }

  .consent-line {
    font-size: 0.94rem;
  }

  .brand img,
  .footer__logo {
    width: min(260px, 100%);
  }

  .whatsapp-fab {
    right: 1rem;
    bottom: 1rem;
    padding-right: 0.95rem;
  }

  .whatsapp-fab span:last-child {
    display: none;
  }
}

@media (max-width: 520px) {
  :root {
    --container: min(1180px, calc(100% - 1rem));
  }

  .section,
  .page-hero,
  .hero {
    padding: 4rem 0;
  }

  .topbar__content {
    font-size: 0.88rem;
  }

  .brand img,
  .footer__logo {
    width: min(220px, 100%);
  }

  .nav {
    left: 0.5rem;
    right: 0.5rem;
    border-radius: 18px;
    padding: 1rem;
    max-height: calc(100vh - 8rem);
  }

  .social-links {
    gap: 0.45rem;
  }

  .social-links__item {
    width: 2.1rem;
    height: 2.1rem;
  }

  .footer-copy {
    font-size: 0.9rem;
  }

  .whatsapp-fab {
    right: 0.8rem;
    bottom: 0.8rem;
  }
}
