/* I-SHIP Solutions corporate site styles */
@font-face {
  font-family: 'Mont';
  src:
    local('Mont Light'),
    local('Mont-Light'),
    url('../fonts/Mont-Light.woff2') format('woff2'),
    url('../fonts/Mont-Light.otf') format('opentype'),
    url('../fonts/Mont-ExtraLightDEMO.otf') format('opentype');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

:root {
  --font-nav: 'Mont', 'Inter', system-ui, sans-serif;
  --white: #ffffff;
  --navy: #05264d;
  --sky: #4da5ff;
  --teal: #3ec5ff;
  --soft-blue: #eaf5ff;
  --steel: #7e9fb8;
  --mist: #f8fbff;
  --shadow: 0 24px 80px rgba(5, 38, 77, 0.12);
  --radius: 28px;
  --radius-s: 18px;
  --speed: 0.7s;
  --header-offset: 6.25rem;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: #1a3047;
  background: #f8fbff;
  background: linear-gradient(180deg, #f8fbff 0%, #ffffff 100%);
  background-attachment: fixed;
  background-repeat: no-repeat;
}

img, svg {
  max-width: 100%;
}

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

button,
input,
textarea {
  font: inherit;
}

button {
  border: 0;
  cursor: pointer;
}

.page-wrapper {
  overflow-x: hidden;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  backdrop-filter: blur(22px);
  background: transparent;
  padding: 0;
}

.site-header > .container {
  width: min(1320px, calc(100% - 1.25rem));
  padding-top: 0.65rem;
}

.container {
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.65rem;
  min-height: 72px;
  background: rgba(255,255,255,0.98);
  border-radius: 999px;
  padding: 0.5rem 1rem 0.5rem 0.85rem;
  box-shadow: 0 24px 60px rgba(5, 38, 77, 0.1);
  border: 1px solid rgba(15, 65, 110, 0.08);
}

.site-brand {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  line-height: 0;
  background: transparent;
  padding: 0;
  margin: 0 0.35rem 0 0;
}

.site-brand img {
  width: auto;
  height: 44px;
  max-height: 44px;
  display: block;
  object-fit: contain;
  object-position: left center;
}

.site-brand-content {
  display: none;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.15rem;
  flex-wrap: nowrap;
  flex: 1;
  min-width: 0;
  min-height: 0;
  padding-left: 0.25rem;
}

.nav-links a {
  color: var(--navy);
  font-family: var(--font-nav);
  font-size: 0.8125rem;
  font-weight: 1200;
  letter-spacing: 0.01em;
  white-space: nowrap;
  line-height: 1;
  opacity: 0.92;
  transition: opacity var(--speed), color var(--speed), background var(--speed);
  padding: 0.55rem 0.65rem;
  border-radius: 999px;
  flex-shrink: 0;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--sky);
  font-weight: 600;
  opacity: 1;
  background: rgba(77,165,255,0.1);
}

.cta-group {
  display: flex;
  gap: 0.9rem;
  align-items: center;
  flex-shrink: 0;
}

.site-nav .btn {
  padding: 0.7rem 1.35rem;
  font-family: var(--font-nav);
  font-size: 0.875rem;
  font-weight: 600;
  white-space: nowrap;
  flex-shrink: 0;
}

.btn {
  padding: 0.95rem 2rem;
}

.btn-secondary {
  padding: 0.95rem 1.75rem;
  color: white;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.3);
}

.btn-secondary:hover {
  background: rgba(255,255,255,0.2);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--sky);
  opacity: 1;
}

.cta-group {
  display: flex;
  gap: 0.9rem;
  align-items: center;
}

.mobile-menu-toggle {
  display: none;
  border-radius: 14px;
  padding: 0.85rem 1rem;
  background: rgba(4,36,77,0.08);
  color: var(--navy);
}

.btn,
.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border-radius: 999px;
  padding: 0.95rem 1.7rem;
  font-weight: 600;
  transition: transform var(--speed), box-shadow var(--speed), background var(--speed);
}

.btn {
  background: linear-gradient(135deg, var(--sky), var(--teal));
  color: white;
  box-shadow: 0 20px 50px rgba(77, 165, 255, 0.24);
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-secondary {
  color: var(--navy);
  background: rgba(4, 36, 77, 0.06);
}

.hero {
  position: relative;
  min-height: 100vh;
  display: grid;
  align-items: center;
  padding: 0;
  margin: 0;
  overflow: hidden;
}

main > .hero:first-child {
  margin-top: 0;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 18% 22%, rgba(77,165,255,0.2), transparent 22%),
              radial-gradient(circle at 82% 46%, rgba(255,255,255,0.14), transparent 18%);
  pointer-events: none;
  z-index: 2;
}

.hero-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 0;
}

.hero-bg iframe,
.hero-bg__video {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100vw;
  height: 56.25vw;
  min-height: 100%;
  min-width: 100%;
  transform: translate(-50%, -50%);
  border: 0;
  pointer-events: none;
  object-fit: cover;
  filter: brightness(0.7) saturate(1.12);
}

.hero-bg .hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(4,46,81,0.28) 0%, rgba(4,46,81,0.1) 35%, rgba(255,255,255,0.04) 100%);
  z-index: 1;
}

.hero-inner {
  position: relative;
  z-index: 3;
  display: grid;
  gap: 2rem;
  grid-template-columns: 1fr;
  align-items: center;
  min-height: 100vh;
  padding: calc(var(--header-offset) + 1.5rem) 0 4rem;
}

main > .section:first-child:not(.hero) {
  padding-top: calc(6rem + var(--header-offset));
}

.hero-copy {
  max-width: 760px;
  padding: 0 0.25rem;
}

.hero-copy strong {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.6rem 1rem;
  border-radius: 999px;
  background: rgba(255,255,255,0.16);
  color: rgba(255,255,255,0.92);
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 0.85rem;
}

.hero-copy h1 {
  font-size: clamp(3rem, 5vw, 4.6rem);
  line-height: 1.02;
  margin: 1.1rem 0 1.4rem;
  letter-spacing: -0.04em;
  color: #ffffff;
  text-shadow: 0 20px 46px rgba(5, 38, 77, 0.24);
}

.hero-copy p {
  font-size: 1.05rem;
  line-height: 1.85;
  color: rgba(255,255,255,0.84);
  max-width: 48rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2.2rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2.2rem;
}

.btn-secondary {
  color: white;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.24);
}

.btn-secondary:hover {
  background: rgba(255,255,255,0.18);
}

.hero-visual {
  position: relative;
  min-height: 640px;
  display: grid;
  align-items: center;
  justify-items: center;
  overflow: hidden;
  border-radius: 40px;
  background: #dceeff;
}

.hero-video {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.hero-video iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.76) saturate(1.12);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255,255,255,0.3) 0%, rgba(4,41,75,0.35) 100%);
  mix-blend-mode: normal;
  z-index: 2;
}

.hero-layer {
  position: relative;
  z-index: 3;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255,255,255,0.3) 0%, rgba(4,41,75,0.35) 100%);
  mix-blend-mode: normal;
}

.hero-layer {
  position: absolute;
  inset: 0;
  padding: 2rem;
  pointer-events: none;
}

.hero-wave {
  position: absolute;
  bottom: -30px;
  left: 0;
  width: 100%;
  height: 160px;
  background: radial-gradient(circle at 50% 0, rgba(255,255,255,0.9), transparent 36%);
  mask-image: linear-gradient(180deg, black 20%, transparent 100%);
}

.hero-vessel {
  position: relative;
  width: min(560px, 100%);
  aspect-ratio: 1.05 / 1;
  overflow: visible;
  z-index: 1;
}

.vessel-card {
  position: absolute;
  left: 18%;
  top: 12%;
  width: 72%;
  aspect-ratio: 4 / 5;
  border-radius: 36px;
  background: rgba(255,255,255,0.85);
  box-shadow: 0 30px 90px rgba(5,38,77,0.14);
  border: 1px solid rgba(255,255,255,0.9);
  transform: translateZ(0);
}

.vessel-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(circle at top left, rgba(77,165,255,0.24), transparent 27%);
}

.vessel-body {
  position: absolute;
  bottom: 10%;
  left: 14%;
  width: 72%;
  height: 58%;
  background: linear-gradient(180deg, #d9eefc 0%, #f8fcff 100%);
  border-radius: 40px 40px 18px 18px;
  box-shadow: inset 0 20px 40px rgba(5,38,77,0.07);
}

.vessel-deck {
  position: absolute;
  top: 6%;
  left: 10%;
  width: 80%;
  height: 24%;
  background: linear-gradient(90deg, #f8fbff 0%, #d8eaf8 100%);
  border-radius: 24px;
}

.vessel-window {
  position: absolute;
  bottom: 22%;
  left: 17%;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  width: 66%;
}

.vessel-window span {
  display: block;
  height: 14px;
  border-radius: 12px;
  background: rgba(5,38,77,0.16);
}

.digital-glow,
.network-line,
.radar-pulse {
  position: absolute;
  border-radius: 999px;
}

.digital-glow {
  width: 120px;
  height: 120px;
  background: rgba(77,165,255,0.16);
  filter: blur(18px);
}

.network-line {
  width: 240px;
  height: 2px;
  background: rgba(255,255,255,0.8);
  box-shadow: 0 0 18px rgba(77,165,255,0.45);
}

.network-line::after {
  content: '';
  position: absolute;
  right: 0;
  width: 10px;
  height: 10px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 0 18px rgba(77,165,255,0.9);
}

.radar-pulse {
  width: 110px;
  height: 110px;
  border: 1px solid rgba(255,255,255,0.45);
  animation: pulse 3.6s infinite;
}

@keyframes pulse {
  0% { transform: scale(0.8); opacity: 0.95; }
  60% { transform: scale(1.4); opacity: 0.18; }
  100% { transform: scale(2); opacity: 0; }
}

.hero-visual .hero-badge {
  position: absolute;
  right: 6%;
  bottom: 14%;
  width: 160px;
  padding: 1rem 1.2rem;
  border-radius: 24px;
  background: rgba(255,255,255,0.92);
  box-shadow: 0 24px 50px rgba(5,38,77,0.12);
  border: 1px solid rgba(77,165,255,0.14);
}

.hero-visual .hero-badge strong {
  display: block;
  color: var(--navy);
  font-size: 0.95rem;
  margin-bottom: 0.35rem;
}

.hero-visual .hero-badge span {
  color: var(--steel);
  font-size: 0.92rem;
}

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

.section-title {
  max-width: 640px;
  margin-bottom: 2.2rem;
}

.section-title h2 {
  font-size: clamp(2rem, 3vw, 2.9rem);
  margin: 0;
  line-height: 1.05;
}

.section-title p {
  margin-top: 1rem;
  color: #4e6c8f;
  line-height: 1.8;
  font-size: 1rem;
}

.cards-grid {
  display: grid;
  gap: 1.5rem;
}

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

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

.cards-grid .card,
.solution-grid .solution-card,
.product-grid .product-card,
.security-grid .security-card,
.service-grid .service-card,
.spares-grid .spare-card,
.cert-grid .cert-card {
  background: white;
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: 0 16px 50px rgba(5,38,77,0.08);
  border: 1px solid rgba(10, 63, 118, 0.06);
  transition: transform var(--speed), box-shadow var(--speed), border-color var(--speed);
}

.cards-grid .card:hover,
.solution-grid .solution-card:hover,
.product-grid .product-card:hover,
.security-grid .security-card:hover,
.service-grid .service-card:hover,
.spares-grid .spare-card:hover,
.cert-grid .cert-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 70px rgba(5,38,77,0.12);
  border-color: rgba(77,165,255,0.18);
}

.card .icon-wrap,
.solution-card .icon-wrap,
.product-card .icon-wrap,
.security-card .icon-wrap,
.service-card .icon-wrap,
.spare-card .icon-wrap,
.cert-card .icon-wrap {
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(77,165,255,0.16), rgba(77,165,255,0.04));
  margin-bottom: 1.5rem;
}

.card h3,
.solution-card h3,
.product-card h3,
.security-card h3,
.service-card h3,
.spare-card h3,
.cert-card h3 {
  font-size: 1.15rem;
  margin: 0 0 0.9rem;
  color: var(--navy);
}

.card p,
.solution-card p,
.product-card p,
.security-card p,
.service-card p,
.spare-card p,
.cert-card p {
  margin: 0;
  color: #4e6c8f;
  line-height: 1.75;
}

.icon-dot {
  width: 10px;
  height: 10px;
  background: var(--sky);
  border-radius: 50%;
}

.portfolio-grid,
.product-grid,
.security-grid,
.service-grid,
.spares-grid,
.cert-grid {
  display: grid;
  gap: 1.5rem;
}

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

.solution-ecosystem {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.eco-hub {
  grid-column: 1 / -1;
  position: relative;
  overflow: visible;
  padding: 3rem 2rem 2rem;
  background: linear-gradient(180deg, rgba(27, 72, 147, 0.06), rgba(255,255,255,0.75));
  border: 1px solid rgba(77,165,255,0.16);
}

.eco-hub::before {
  content: '';
  position: absolute;
  inset: -2rem 2rem 0;
  background: radial-gradient(circle, rgba(77,165,255,0.14), transparent 46%);
}

.eco-hub strong {
  display: block;
  color: var(--navy);
  font-size: 1.1rem;
  margin-bottom: 0.55rem;
}

.eco-hub p {
  margin: 0;
  color: #5b7290;
}

.central-hub {
  min-height: 310px;
  border-radius: 40px;
  background: linear-gradient(135deg, rgba(4,36,77,0.12), rgba(77,165,255,0.06));
  border: 1px solid rgba(77,165,255,0.24);
  display: grid;
  place-items: center;
  padding: 2rem;
  position: relative;
  overflow: hidden;
}

.central-hub::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at top left, rgba(255,255,255,0.34), transparent 24%),
                    radial-gradient(circle at bottom right, rgba(77,165,255,0.18), transparent 18%);
}

.central-hub h3 {
  margin: 0;
  color: var(--navy);
  font-size: 1.8rem;
}

.eco-grid {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1rem;
}

.eco-grid .eco-card {
  min-height: 170px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 1.6rem;
  background: rgba(250,251,255,0.96);
  border-radius: 26px;
  border: 1px solid rgba(77,165,255,0.12);
}

.eco-card strong {
  font-size: 1rem;
  color: var(--navy);
}

.eco-card p {
  margin-top: 0.8rem;
  color: #4e6c8f;
  font-size: 0.96rem;
  line-height: 1.7;
}

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

.product-card {
  min-height: 240px;
  background: radial-gradient(circle at top left, rgba(77,165,255,0.18), transparent 45%),
              linear-gradient(180deg, #fff 0%, #f3faff 100%);
}

.product-card .mockup {
  margin-top: 1.5rem;
  height: 120px;
  border-radius: 22px;
  background: linear-gradient(135deg, rgba(5,38,77,0.12), rgba(255,255,255,0.72));
  position: relative;
  overflow: hidden;
}

.product-card .mockup::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: linear-gradient(90deg, rgba(255,255,255,0.18) 0%, transparent 40%, rgba(255,255,255,0.18) 100%);
}

.security-section {
  background: linear-gradient(180deg, #f8fbff 0%, #edf4ff 100%);
}

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

.security-banner {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2rem;
  background: linear-gradient(135deg, rgba(4,36,77,0.08), rgba(77,165,255,0.06));
  padding: 2.5rem;
  border-radius: 32px;
  align-items: center;
}

.security-banner h3 {
  margin: 0;
  color: var(--navy);
  font-size: 2rem;
}

.security-banner p {
  color: #415b7b;
  line-height: 1.8;
}

.service-diagram {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 2rem;
  align-items: center;
}

.diagram-ring {
  position: relative;
  width: min(420px, 100%);
  aspect-ratio: 1;
  margin: 0 auto;
  border-radius: 50%;
  background: radial-gradient(circle at center, rgba(77,165,255,0.14), transparent 48%);
  box-shadow: inset 0 0 0 1px rgba(77,165,255,0.15);
}

.diagram-ring::before {
  content: '';
  position: absolute;
  inset: 25%;
  border-radius: 50%;
  background: rgba(255,255,255,0.9);
}

.diagram-point {
  position: absolute;
  width: 160px;
  display: grid;
  gap: 0.8rem;
  align-items: center;
}

.diagram-point strong {
  font-size: 0.95rem;
}

.diagram-point p {
  margin: 0;
  font-size: 0.9rem;
  color: #5b7290;
}

.diagram-point:nth-child(1) { top: 18%; left: 50%; transform: translateX(-50%); }
.diagram-point:nth-child(2) { top: 48%; right: 1%; }
.diagram-point:nth-child(3) { bottom: 16%; left: 56%; transform: translateX(-50%); }
.diagram-point:nth-child(4) { bottom: 22%; left: 8%; }
.diagram-point:nth-child(5) { top: 46%; left: 1%; }

.diagram-line {
  position: absolute;
  width: 88px;
  height: 2px;
  background: rgba(4,36,77,0.22);
}

.diagram-line:nth-child(6) { top: 16%; left: 50%; transform: translateX(-50%) rotate(90deg); width: 92px; }
.diagram-line:nth-child(7) { top: 26%; right: 10%; transform: rotate(32deg); }
.diagram-line:nth-child(8) { bottom: 18%; left: 57%; transform: translateX(-50%) rotate(-38deg); }
.diagram-line:nth-child(9) { bottom: 25%; left: 14%; transform: rotate(-20deg); }
.diagram-line:nth-child(10){ top: 52%; left: 12%; transform: rotate(20deg); }

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

.spares-hero {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2rem;
  align-items: center;
}

.spares-hero .spares-visual {
  min-height: 320px;
  border-radius: 36px;
  background: linear-gradient(135deg, rgba(77,165,255,0.08), rgba(255,255,255,0.96));
  border: 1px solid rgba(77,165,255,0.12);
  padding: 2rem;
  position: relative;
}

.spares-visual::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at top left, rgba(77,165,255,0.18), transparent 30%);
}

.spares-promise {
  display: grid;
  gap: 1rem;
  margin-top: 1.5rem;
}

.promise-card {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.35rem;
  border-radius: 24px;
  background: white;
  border: 1px solid rgba(10, 63, 118, 0.06);
}

.promise-card strong {
  font-size: 1rem;
}

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

.cert-card {
  min-height: 220px;
}

.cert-card span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border-radius: 16px;
  background: rgba(77,165,255,0.12);
  margin-bottom: 1.1rem;
}

.cert-card strong {
  display: block;
  margin-bottom: 0.75rem;
}

.action-banner {
  padding: 4rem 3rem;
  background: linear-gradient(135deg, rgba(4,36,77,0.12), rgba(77,165,255,0.08));
  border-radius: 36px;
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  align-items: center;
  gap: 1.5rem;
}

.action-banner h2 {
  margin: 0;
  font-size: clamp(2rem, 3vw, 3rem);
}

.action-banner p {
  margin: 1rem 0 0;
  color: #415b7b;
  line-height: 1.8;
}

.action-banner .banner-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.site-footer {
  padding: 3rem 0 2rem;
  background: #ffffff;
  border-top: 1px solid rgba(10, 63, 118, 0.08);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr;
  gap: 1.5rem;
}

.footer-brand strong {
  display: block;
  font-size: 1.05rem;
  margin-bottom: 0.75rem;
}

.footer-brand p,
.footer-links p,
.footer-contact p {
  margin: 0.75rem 0;
  color: #5a6b84;
  line-height: 1.85;
}

.footer-links a {
  display: block;
  margin: 0.55rem 0;
  color: #2f4868;
}

.footer-note {
  margin-top: 2rem;
  color: #7c8ea8;
  font-size: 0.95rem;
}

.section.has-bg {
  background: #f8fbff;
}

.page-footer {
  margin-top: 2rem;
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s ease, transform 0.9s ease;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1080px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero { min-height: auto; }
  .hero-visual { min-height: 520px; }
  .portfolio-grid,
  .advantage-grid,
  .feature-grid,
  .solution-ecosystem,
  .product-grid,
  .security-grid,
  .spares-grid,
  .cert-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .service-diagram { grid-template-columns: 1fr; }
  .action-banner { grid-template-columns: 1fr; }
}

@media (max-width: 1180px) and (min-width: 821px) {
  .nav-links a {
    font-size: 0.78rem;
    padding: 0.5rem 0.5rem;
  }

  .site-nav .btn {
    padding: 0.65rem 1.1rem;
    font-size: 0.8125rem;
  }
}

@media (max-width: 820px) {
  :root { --header-offset: 6.5rem; }
  .site-nav { gap: 0.5rem; min-height: 64px; }
  .site-brand img { height: 42px; max-height: 42px; }
  .nav-links { display: none; min-height: 0; }
  .cta-group { display: none; }
  .mobile-menu-toggle {
    display: inline-flex;
    width: 42px;
    height: 42px;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    background: rgba(4,36,77,0.08);
    margin-right: 0.35rem;
  }
  .hero-copy h1 { font-size: clamp(2.5rem, 6vw, 3.5rem); }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-visual { min-height: 420px; }
  .portfolio-grid,
  .advantage-grid,
  .feature-grid,
  .solution-ecosystem,
  .product-grid,
  .security-grid,
  .spares-grid,
  .cert-grid { grid-template-columns: 1fr; }
  .site-footer { padding-bottom: 3rem; }
}

@media (max-width: 640px) {
  .container { width: calc(100% - 1.25rem); }
  .site-brand strong { font-size: 1rem; }
  .hero { padding: 3rem 0 2rem; }
  .section { padding: 4rem 0; }
  .hero-video { border-radius: 28px; }
  .hero-wave { height: 120px; }
  .hero-copy p { font-size: 1rem; }
  .hero-visual .hero-badge { width: 88%; left: 50%; transform: translateX(-50%); right: auto; }
}

.mobile-menu {
  position: fixed;
  inset: 0;
  background: rgba(5,38,77,0.88);
  backdrop-filter: blur(18px);
  padding: 4rem 1.5rem 2rem;
  display: none;
  flex-direction: column;
  gap: 1.5rem;
  z-index: 200;
}

.mobile-menu.active {
  display: flex;
}

.mobile-menu a {
  color: white;
  font-family: var(--font-nav);
  font-size: 1.1rem;
  font-weight: 500;
}

.mobile-menu .mobile-close {
  align-self: flex-end;
  background: transparent;
  color: white;
  font-size: 1.25rem;
}

.mobile-menu .mobile-cta {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.mobile-menu .btn {
  width: 100%;
}
