:root {
  --mss-bg: #0f2534;
  --mss-bg-soft: #15364b;
  --mss-panel: #ffffff;
  --mss-panel-soft: #f4fbfd;
  --mss-text: #183042;
  --mss-text-light: #effbfd;
  --mss-muted: #5f6c7a;
  --mss-primary: #0897a7;
  --mss-primary-dark: #067b89;
  --mss-secondary: #1bb5d4;
  --mss-red: #f03a3a;
  --mss-border: #d9ebef;
  --mss-shadow: 0 22px 70px rgba(15, 37, 52, 0.12);
  --mss-radius: 26px;
  --mss-radius-small: 18px;
  --mss-container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--mss-text);
  background: #ffffff;
  line-height: 1.6;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
p { margin: 0 0 1rem; }
h1, h2, h3, h4 { margin: 0 0 1rem; line-height: 1.08; }
ul { margin: 0; padding-left: 1.15rem; }
figure { margin: 0; }
.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

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

.mss-site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(18px);
  background: rgba(255,255,255,0.9);
  border-bottom: 1px solid rgba(8, 151, 167, 0.1);
}

.mss-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 0.95rem 0;
}

.mss-brand-link {
  display: inline-flex;
  align-items: center;
}

.mss-logo img,
.custom-logo-link img,
.mss-brand-fallback,
.mss-footer-brand img {
  width: auto;
  height: auto;
}
.mss-brand-fallback { max-height: 68px; }
.mss-logo img,
.custom-logo-link img { max-height: 68px; }
.mss-footer-brand img { max-height: 92px; }

.mss-primary-nav {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.mss-menu,
.mss-footer-menu {
  display: flex;
  list-style: none;
  gap: 1.25rem;
  padding: 0;
  margin: 0;
}

.mss-menu a,
.mss-footer-menu a {
  color: var(--mss-text);
  font-weight: 700;
  transition: color 0.2s ease;
}

.mss-menu a:hover,
.mss-footer-menu a:hover,
.mss-content-area a,
.mss-legal-text a {
  color: var(--mss-primary);
}

.mss-footer-menu {
  flex-direction: column;
  gap: 0.7rem;
}
.mss-footer-menu a { color: rgba(239, 251, 253, 0.86); }

.mss-menu-toggle {
  display: none;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(8, 151, 167, 0.18);
  background: #fff;
  border-radius: 14px;
  cursor: pointer;
}
.mss-menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--mss-bg);
  margin: 4px auto;
}

.mss-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 50px;
  padding: 0.9rem 1.3rem;
  border-radius: 999px;
  font-weight: 800;
  border: 1px solid transparent;
  background: linear-gradient(135deg, var(--mss-primary), var(--mss-secondary));
  color: #fff;
  box-shadow: 0 14px 30px rgba(8, 151, 167, 0.2);
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}
.mss-button:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 34px rgba(8, 151, 167, 0.24);
}
.mss-button--small { min-height: 44px; padding: 0.72rem 1rem; }
.mss-button--ghost,
.mss-button--ghost-light {
  background: transparent;
  box-shadow: none;
}
.mss-button--ghost-light {
  color: #fff;
  border-color: rgba(255,255,255,0.28);
}
.mss-button--ghost-light:hover { background: rgba(255,255,255,0.08); }

.mss-hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at top right, rgba(27, 181, 212, 0.2), transparent 24%),
    radial-gradient(circle at bottom left, rgba(8, 151, 167, 0.18), transparent 28%),
    linear-gradient(135deg, #0f2534 0%, #15364b 48%, #0d2030 100%);
  color: var(--mss-text-light);
  padding: 4.8rem 0 4.2rem;
}

.mss-hero-grid,
.mss-two-col,
.mss-contact-grid,
.mss-footer-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2rem;
}

.mss-hero-grid { align-items: center; }
.mss-hero-copy { max-width: 660px; }
.mss-hero h1,
.mss-page-hero h1 {
  font-size: clamp(2.7rem, 5vw, 5rem);
  letter-spacing: -0.05em;
}
.mss-hero p {
  font-size: 1.08rem;
  max-width: 60ch;
  color: rgba(239, 251, 253, 0.88);
}

.mss-eyebrow {
  display: inline-flex;
  margin-bottom: 1rem;
  font-size: 0.88rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #92ecff;
}
.mss-eyebrow--dark {
  color: var(--mss-primary);
}

.mss-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin: 2rem 0 1.4rem;
}

.mss-hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-bottom: 1.5rem;
}
.mss-hero-points span,
.mss-contact-highlights div {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0.65rem 1rem;
  border-radius: 999px;
  font-weight: 700;
}
.mss-hero-points span {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.08);
  color: rgba(239, 251, 253, 0.95);
}

.mss-proof-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}
.mss-proof-card {
  padding: 1rem 1.1rem;
  border-radius: 22px;
  background: rgba(255,255,255,0.09);
  border: 1px solid rgba(255,255,255,0.1);
}
.mss-proof-card strong {
  display: block;
  margin-bottom: 0.4rem;
}
.mss-proof-card p {
  margin-bottom: 0;
  color: rgba(239, 251, 253, 0.85);
  font-size: 0.96rem;
}

.mss-glass-card,
.mss-service-card,
.mss-benefit-card,
.mss-sector-card,
.mss-contact-form,
.mss-gallery-card,
.mss-process-card,
.mss-media-panel {
  background: rgba(255,255,255,0.98);
  border-radius: var(--mss-radius);
  box-shadow: var(--mss-shadow);
}

.mss-glass-card {
  position: relative;
  padding: 1rem;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.14);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.15);
}
.mss-glass-top {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.2rem 0.3rem 0.9rem;
  color: rgba(239, 251, 253, 0.88);
  font-size: 0.95rem;
  font-weight: 700;
}
.mss-hero-visual {
  width: 100%;
  border-radius: 22px;
  background: #fff;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}
.mss-hero-info-panel {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}
.mss-info-card {
  padding: 1rem 1.1rem;
  border-radius: 20px;
  background: rgba(9, 24, 36, 0.78);
  border: 1px solid rgba(255,255,255,0.1);
}
.mss-info-card strong {
  display: block;
  margin-bottom: 0.45rem;
  color: #fff;
}
.mss-info-card p {
  margin-bottom: 0;
  color: rgba(239, 251, 253, 0.88);
  font-size: 0.95rem;
}

.mss-strip {
  background: #f6fbfc;
  border-top: 1px solid #e3f0f3;
  border-bottom: 1px solid #e3f0f3;
}
.mss-strip-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  padding: 1.1rem 0;
}
.mss-strip-grid div {
  text-align: center;
  font-weight: 800;
  color: #365164;
}

.mss-section { padding: 5rem 0; }
.mss-section--soft { background: linear-gradient(180deg, #f5fbfc, #ffffff); }
.mss-section--dark {
  background: var(--mss-bg);
  color: var(--mss-text-light);
}
.mss-section--accent {
  background: linear-gradient(180deg, #eef9fc, #ffffff);
}
.mss-section-heading {
  max-width: 760px;
  margin-bottom: 2rem;
}
.mss-section h2 { font-size: clamp(2rem, 4vw, 3.3rem); letter-spacing: -0.04em; }
.mss-section-heading p { color: var(--mss-muted); }
.mss-section--dark .mss-section-heading p,
.mss-section--dark p { color: rgba(239, 251, 253, 0.85); }

.mss-media-panel {
  overflow: hidden;
  border: 1px solid var(--mss-border);
}
.mss-media-panel img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.mss-benefit-grid,
.mss-sector-grid,
.mss-process-grid,
.mss-gallery-grid,
.mss-service-grid {
  display: grid;
  gap: 1.4rem;
}

.mss-benefit-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 1.6rem;
}

.mss-benefit-card,
.mss-sector-card,
.mss-process-card {
  padding: 1.35rem;
  border: 1px solid var(--mss-border);
}
.mss-benefit-card strong,
.mss-sector-card h3,
.mss-process-card strong {
  display: block;
  margin-bottom: 0.45rem;
  font-size: 1.08rem;
}
.mss-benefit-card p,
.mss-sector-card p,
.mss-process-card p {
  color: var(--mss-muted);
  margin-bottom: 0;
}

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

.mss-service-card,
.mss-gallery-card {
  overflow: hidden;
  border: 1px solid var(--mss-border);
}
.mss-service-card img,
.mss-gallery-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: #eef9fc;
}
.mss-card-copy {
  padding: 1.35rem 1.4rem 1.45rem;
}
.mss-card-copy h3 {
  font-size: 1.35rem;
  margin-bottom: 0.55rem;
}
.mss-card-copy p {
  color: var(--mss-muted);
  margin-bottom: 0;
}

.mss-sector-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.mss-process-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.mss-process-card {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.12);
}
.mss-process-card span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 999px;
  margin-bottom: 0.9rem;
  background: rgba(146, 236, 255, 0.14);
  color: #92ecff;
  font-weight: 800;
}
.mss-process-card strong {
  color: #fff;
}
.mss-process-card p {
  color: rgba(239, 251, 253, 0.84);
}

.mss-gallery-card figcaption {
  padding: 1rem 1.2rem 1.15rem;
  font-weight: 800;
}
.mss-gallery-card--large {
  grid-column: span 2;
}
.mss-gallery-card--large img {
  aspect-ratio: 16 / 10;
}

.mss-page-hero {
  background: linear-gradient(135deg, #0f2534, #15364b);
  color: #fff;
  padding: 4rem 0 2.4rem;
}

.mss-content-area { max-width: 860px; }
.mss-content-area h2,
.mss-content-area h3 { margin-top: 2rem; }

.mss-contact-grid { align-items: start; }
.mss-contact-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1.35rem;
}
.mss-contact-highlights div {
  background: #fff;
  border: 1px solid #d2e7eb;
  color: var(--mss-text);
}

.mss-contact-form {
  padding: 1.5rem;
  border: 1px solid var(--mss-border);
}
.mss-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}
.mss-form-grid .mss-field--full { grid-column: 1 / -1; }
.mss-field label {
  display: block;
  font-weight: 800;
  margin-bottom: 0.45rem;
}
.mss-field input,
.mss-field textarea,
.mss-field select {
  width: 100%;
  padding: 0.95rem 1rem;
  border-radius: 16px;
  border: 1px solid #d2e7eb;
  font: inherit;
  background: #fff;
}
.mss-field input:focus,
.mss-field textarea:focus,
.mss-field select:focus {
  outline: 2px solid rgba(8, 151, 167, 0.14);
  border-color: var(--mss-primary);
}
.mss-field textarea { min-height: 160px; resize: vertical; }
.mss-form-note,
.mss-consent-inline {
  color: var(--mss-muted);
  font-size: 0.95rem;
}
.mss-consent-inline {
  display: flex;
  gap: 0.7rem;
  align-items: flex-start;
}
.mss-consent-inline input { margin-top: 0.25rem; }
.mss-alert {
  padding: 0.95rem 1rem;
  border-radius: 14px;
  margin-bottom: 1rem;
  font-weight: 700;
}
.mss-alert--success { background: #ecfdf5; color: #166534; }
.mss-alert--error { background: #fff1f2; color: #b42318; }

.mss-site-footer {
  background: linear-gradient(180deg, #0f2534, #0c1f2c);
  color: var(--mss-text-light);
  padding: 3.6rem 0 1.2rem;
}
.mss-site-footer p { color: rgba(239, 251, 253, 0.82); }
.mss-footer-bottom {
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255,255,255,0.1);
}
.mss-legal-text p,
.mss-legal-text li { color: rgba(239, 251, 253, 0.82); }

.mss-post-card {
  padding: 1.5rem;
  border: 1px solid var(--mss-border);
  border-radius: var(--mss-radius);
  background: #fff;
  box-shadow: var(--mss-shadow);
}

@media (max-width: 1080px) {
  .mss-service-grid,
  .mss-gallery-grid,
  .mss-strip-grid,
  .mss-sector-grid,
  .mss-process-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .mss-gallery-card--large {
    grid-column: auto;
  }
}

@media (max-width: 860px) {
  .mss-menu-toggle { display: block; }
  .mss-primary-nav {
    position: absolute;
    top: 100%;
    left: 1rem;
    right: 1rem;
    flex-direction: column;
    align-items: stretch;
    padding: 1rem;
    border-radius: 22px;
    background: rgba(255,255,255,0.98);
    border: 1px solid rgba(8, 151, 167, 0.12);
    box-shadow: 0 18px 50px rgba(15, 37, 52, 0.12);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(8px);
    transition: all 0.22s ease;
  }
  .mss-primary-nav.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
  }
  .mss-menu { flex-direction: column; }
  .mss-hero-grid,
  .mss-two-col,
  .mss-contact-grid,
  .mss-footer-grid,
  .mss-form-grid {
    grid-template-columns: 1fr;
  }
  .mss-hero { padding-top: 3.9rem; }
  .mss-proof-grid,
  .mss-benefit-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .mss-service-grid,
  .mss-gallery-grid,
  .mss-strip-grid,
  .mss-sector-grid,
  .mss-process-grid {
    grid-template-columns: 1fr;
  }
  .mss-section { padding: 4rem 0; }
  .mss-hero h1,
  .mss-page-hero h1 { font-size: clamp(2.1rem, 11vw, 3.3rem); }
  .mss-glass-top {
    flex-direction: column;
    font-size: 0.88rem;
  }
  .mss-brand-fallback,
  .mss-logo img { max-height: 56px; }
  .mss-hero-info-panel {
    grid-template-columns: 1fr;
  }
}
