:root {
  --bg: #f8f9ff;
  --bg-soft: #eff4ff;
  --surface: #ffffff;
  --surface-2: #dce9ff;
  --text: #0b1c30;
  --muted: #566273;
  --line: rgba(11, 28, 48, 0.08);
  --primary: #004482;
  --primary-dark: #002f5a;
  --secondary: #006a62;
  --secondary-soft: #d7fbf5;
  --accent: #ef7c28;
  --accent-soft: #fff1e4;
  --shadow: 0 24px 60px rgba(27, 67, 118, 0.1);
  --shadow-soft: 0 18px 45px rgba(27, 67, 118, 0.08);
  --radius-lg: 28px;
  --radius-md: 22px;
  --radius-sm: 16px;
  --container: 1180px;
  --transition: 220ms ease;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Cairo", sans-serif;
  background: linear-gradient(180deg, #fbfcff 0%, var(--bg) 48%, #f4f7fe 100%);
  color: var(--text);
}

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

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

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

button {
  border: 0;
  background: none;
}

.site-bg {
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    radial-gradient(circle at 8% 18%, rgba(0, 106, 98, 0.11), transparent 16%),
    radial-gradient(circle at 92% 14%, rgba(0, 68, 130, 0.12), transparent 18%),
    radial-gradient(circle at 50% 30%, rgba(239, 124, 40, 0.08), transparent 18%),
    radial-gradient(circle, rgba(0, 68, 130, 0.06) 1px, transparent 1px);
  background-size: auto, auto, auto, 22px 22px;
  background-position: center;
  opacity: 0.85;
  z-index: -1;
}

.container {
  width: min(calc(100% - 40px), var(--container));
  margin: 0 auto;
}

.section {
  padding: 96px 0;
}

.section-alt {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(239, 244, 255, 0.88));
}

.section-dark {
  color: #ffffff;
  background:
    radial-gradient(circle at top right, rgba(0, 106, 98, 0.28), transparent 22%),
    linear-gradient(135deg, #052d52 0%, #07264a 48%, #0c3867 100%);
}

.section-contact {
  padding-bottom: 112px;
}

.section-heading {
  max-width: 720px;
  margin-bottom: 42px;
}

.section-heading h2 {
  margin: 0 0 14px;
  font-size: clamp(2rem, 3vw, 3rem);
  line-height: 1.2;
}

.section-heading p {
  margin: 0;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.9;
}

.section-heading-light p,
.section-heading-light h2 {
  color: #ffffff;
}

.section-heading-light .eyebrow {
  background: rgba(129, 243, 228, 0.18);
  color: #bffbf2;
}

.eyebrow,
.pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--secondary-soft);
  color: var(--secondary);
  font-weight: 700;
  font-size: 0.92rem;
  margin-bottom: 20px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(18px);
  background: rgba(248, 250, 255, 0.82);
  border-bottom: 1px solid rgba(86, 98, 115, 0.08);
}

.header-inner {
  min-height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}

.brand-mark {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 5px;
  padding: 8px;
  background: linear-gradient(135deg, var(--primary), #0a5aa7);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

.brand-mark span {
  background: rgba(255, 255, 255, 0.92);
  border-radius: 999px;
}

.brand-mark span:last-child {
  grid-column: 1 / -1;
}

.brand-logo {
  width: auto;
  max-width: 142px;
  height: 54px;
  display: block;
  object-fit: contain;
}

.site-header .brand-logo {
  max-width: 128px;
  height: 48px;
}

.site-footer .brand-logo {
  max-width: 150px;
  height: 56px;
}

.brand-copy {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand-copy strong {
  font-size: 1.08rem;
}

.brand-copy small {
  color: var(--muted);
  font-size: 0.8rem;
  letter-spacing: 0.04em;
}

.desktop-nav,
.header-actions,
.hero-actions,
.hero-points,
.mobile-menu-inner,
.quick-cards,
.footer-links,
.footer-bottom,
.partners-grid,
.stats-grid,
.contact-list {
  display: flex;
}

.desktop-nav {
  align-items: center;
  gap: 28px;
}

.desktop-nav a {
  position: relative;
  padding: 8px 0;
  color: var(--muted);
  font-weight: 600;
  transition: color var(--transition);
}

.desktop-nav a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  border-radius: 999px;
  background: var(--accent);
  transition: width var(--transition);
}

.desktop-nav a:hover,
.desktop-nav a.is-active {
  color: var(--primary);
}

.desktop-nav a:hover::after,
.desktop-nav a.is-active::after {
  width: 100%;
}

.header-actions {
  align-items: center;
  gap: 12px;
}

.language-toggle {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 8px 6px 12px;
  border: 1px solid rgba(0, 106, 98, 0.18);
  border-radius: 999px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(236, 249, 246, 0.92)),
    rgba(255, 255, 255, 0.92);
  box-shadow: 0 14px 28px rgba(0, 68, 130, 0.08);
  color: var(--primary);
  font: inherit;
  font-weight: 900;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
  transition:
    transform var(--transition),
    box-shadow var(--transition),
    border-color var(--transition);
}

.language-toggle:hover {
  transform: translateY(-2px);
  border-color: rgba(0, 106, 98, 0.34);
  box-shadow: 0 18px 34px rgba(0, 68, 130, 0.12);
}

.language-toggle__icon {
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(0, 68, 130, 0.08);
  color: var(--primary);
  font-size: 1.16rem;
}

.language-toggle__codes {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px;
  border-radius: 999px;
  background: rgba(0, 68, 130, 0.06);
}

.language-toggle__codes span {
  min-width: 31px;
  padding: 7px 8px;
  border-radius: 999px;
  color: var(--muted);
  text-align: center;
}

.language-toggle__codes span.is-active {
  background: var(--primary);
  color: #ffffff;
  box-shadow: 0 8px 18px rgba(0, 68, 130, 0.18);
}

.icon-button {
  width: 48px;
  height: 48px;
  display: none;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  border: 1px solid rgba(86, 98, 115, 0.12);
  color: var(--primary);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 24px;
  border-radius: 16px;
  font-weight: 800;
  transition:
    transform var(--transition),
    box-shadow var(--transition),
    background-color var(--transition),
    color var(--transition),
    border-color var(--transition);
}

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

.btn-primary {
  background: linear-gradient(135deg, var(--primary), #0a569f);
  color: #ffffff;
  box-shadow: 0 18px 35px rgba(0, 68, 130, 0.22);
}

.btn-secondary {
  border: 1px solid rgba(0, 106, 98, 0.2);
  background: rgba(255, 255, 255, 0.9);
  color: var(--secondary);
}

.btn-ghost {
  border: 1px solid rgba(0, 68, 130, 0.12);
  background: rgba(255, 255, 255, 0.75);
  color: var(--primary);
}

.btn-accent {
  background: linear-gradient(135deg, var(--secondary), #0a877c);
  color: #ffffff;
  box-shadow: 0 18px 35px rgba(0, 106, 98, 0.22);
}

.btn-block {
  width: 100%;
}

.hero {
  min-height: calc(100vh - 88px);
  display: grid;
  align-items: center;
  padding-top: 48px;
}

.hero-grid,
.split-layout,
.consulting-card,
.contact-wrap {
  display: grid;
  gap: 42px;
}

.hero-grid,
.split-layout {
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
}

.hero-copy h1 {
  margin: 0 0 20px;
  font-size: clamp(2.8rem, 6vw, 5rem);
  line-height: 1.08;
  letter-spacing: -0.02em;
}

.hero-copy h1 span {
  color: var(--accent);
}

.hero-copy p {
  margin: 0 0 24px;
  max-width: 650px;
  color: var(--muted);
  font-size: 1.13rem;
  line-height: 1.95;
}

.split-copy h2,
.contact-copy h2 {
  margin: 0 0 16px;
  font-size: clamp(2rem, 3vw, 2.8rem);
  line-height: 1.2;
}

.split-copy p,
.contact-copy p {
  margin: 0 0 22px;
  color: var(--muted);
  line-height: 1.9;
}

.hero-actions {
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.hero-points {
  flex-direction: column;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.hero-points li,
.feature-list li,
.contact-list li {
  display: flex;
  align-items: center;
  gap: 12px;
}

.hero-points .material-symbols-outlined,
.feature-list .material-symbols-outlined,
.contact-list .material-symbols-outlined {
  color: var(--secondary);
}

.contact-list-icon {
  width: 22px;
  height: 22px;
  display: block;
  flex: 0 0 22px;
  fill: var(--secondary);
}

.hero-visual {
  position: relative;
}

.hero-image-wrap {
  position: relative;
  padding: 18px;
  border-radius: 36px;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.95), rgba(220, 233, 255, 0.62));
  border: 1px solid rgba(255, 255, 255, 0.85);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.hero-image {
  width: 100%;
  aspect-ratio: 4 / 4.5;
  object-fit: cover;
  border-radius: 28px;
  box-shadow: 0 14px 30px rgba(7, 38, 74, 0.12);
}

.hero-glow {
  position: absolute;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  filter: blur(40px);
  opacity: 0.34;
}

.hero-glow-teal {
  top: -18px;
  left: -22px;
  background: rgba(0, 106, 98, 0.5);
}

.hero-glow-orange {
  right: -28px;
  bottom: 8px;
  background: rgba(239, 124, 40, 0.44);
}

.floating-stat {
  position: absolute;
  right: 24px;
  bottom: 24px;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 20px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(86, 98, 115, 0.08);
  box-shadow: var(--shadow-soft);
}

.floating-stat strong {
  display: block;
  color: var(--primary);
  font-size: 1.2rem;
}

.floating-stat span {
  color: var(--muted);
  font-size: 0.92rem;
}

.floating-icon {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  background: linear-gradient(135deg, var(--accent), #ff9f3f);
  color: #ffffff;
}

.quick-cards {
  gap: 14px;
  margin-top: 18px;
}

.quick-card,
.overview-card,
.service-card,
.stat-card,
.testimonial-card,
.contact-form,
.consulting-card,
.showcase-card,
.overview-grid,
.partners-grid,
.mobile-menu,
.mobile-menu-inner {
  border-radius: var(--radius-md);
}

.quick-card,
.overview-card,
.service-card,
.stat-card,
.testimonial-card,
.contact-form {
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(11, 28, 48, 0.06);
  box-shadow: var(--shadow-soft);
}

.quick-card {
  flex: 1;
  padding: 18px 20px;
}

.quick-card strong {
  display: block;
  margin-bottom: 6px;
  color: var(--primary);
}

.quick-card span {
  color: var(--muted);
  font-size: 0.95rem;
}

.section-page-main {
  min-height: 70vh;
}

.section-page-hero {
  padding-top: 72px;
  background:
    radial-gradient(circle at 18% 20%, rgba(0, 106, 98, 0.11), transparent 24%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.78), rgba(239, 244, 255, 0.82));
}

.section-page-hero-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 36px;
  align-items: center;
}

.section-page-hero-grid-single {
  grid-template-columns: minmax(0, 760px);
  justify-content: center;
}

.section-page-copy {
  padding: 34px;
  border: 1px solid rgba(11, 28, 48, 0.07);
  border-radius: 36px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow);
}

.section-page-copy h1 {
  margin: 0 0 18px;
  color: var(--primary);
  font-size: clamp(2.4rem, 5vw, 4.3rem);
  line-height: 1.12;
}

.section-page-copy p {
  margin: 0 0 26px;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.95;
}

.section-page-visual {
  display: grid;
  grid-template-columns: 1.2fr 0.85fr;
  grid-auto-rows: 150px;
  gap: 14px;
}

.section-page-visual figure {
  margin: 0;
  overflow: hidden;
  border-radius: 28px;
  border: 1px solid rgba(255, 255, 255, 0.78);
  box-shadow: 0 18px 36px rgba(7, 38, 74, 0.13);
  background: var(--bg-soft);
}

.section-page-visual figure.is-main {
  grid-row: span 3;
}

.section-page-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 420ms ease;
}

.section-page-visual figure:hover img {
  transform: scale(1.06);
}

.section-detail-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.section-detail-card {
  padding: 24px;
  border: 1px solid rgba(11, 28, 48, 0.06);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow-soft);
}

.section-detail-card span.material-symbols-outlined {
  width: 54px;
  height: 54px;
  display: inline-grid;
  place-items: center;
  margin-bottom: 16px;
  border-radius: 18px;
  background: rgba(0, 68, 130, 0.08);
  color: var(--primary);
}

.section-detail-card h2 {
  margin: 0 0 10px;
  color: var(--primary);
  font-size: 1.35rem;
}

.section-detail-card p {
  color: var(--muted);
  line-height: 1.85;
}

.section-detail-card img {
  width: 100%;
  height: 210px;
  margin-top: 16px;
  object-fit: cover;
  border-radius: 20px;
}

.section-feature-panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: center;
  margin-bottom: 26px;
  padding: 28px;
  border: 1px solid rgba(11, 28, 48, 0.06);
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow-soft);
}

.section-feature-panel h2 {
  margin: 0 0 10px;
  color: var(--primary);
}

.section-feature-panel p {
  margin: 0;
  color: var(--muted);
  line-height: 1.85;
}

.section-page-categories {
  margin-top: 0;
}

.overview-grid,
.cards-grid,
.mini-grid,
.testimonials-grid,
.partners-grid {
  display: grid;
}

.overview-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.overview-card {
  padding: 26px;
}

.overview-card span.material-symbols-outlined {
  width: 52px;
  height: 52px;
  display: inline-grid;
  place-items: center;
  margin-bottom: 18px;
  border-radius: 18px;
  background: var(--bg-soft);
  color: var(--primary);
}

.overview-card h3,
.service-card h3,
.showcase-overlay h3,
.consulting-copy h2,
.stat-card strong,
.testimonial-card h3,
.contact-copy h2 {
  margin: 0;
}

.overview-card p,
.service-card p,
.consulting-copy p,
.testimonial-card p,
.contact-copy p {
  color: var(--muted);
  line-height: 1.9;
}

.cards-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.service-card {
  overflow: hidden;
  padding: 24px;
}

.service-card img {
  width: 100%;
  aspect-ratio: 4 / 2.8;
  object-fit: cover;
  border-radius: 20px;
  margin-top: 18px;
}

.service-icon {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(0, 68, 130, 0.12), rgba(0, 106, 98, 0.14));
  color: var(--primary);
  margin-bottom: 18px;
}

.split-layout {
  position: relative;
  padding: 42px;
  border-radius: 36px;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(239, 244, 255, 0.9), rgba(255, 255, 255, 0.95));
  box-shadow: var(--shadow-soft);
}

.split-layout::before {
  content: "";
  position: absolute;
  inset: 0 52% 0 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.12), rgba(0, 68, 130, 0.04));
  border-radius: 32px 0 0 32px;
  pointer-events: none;
}

.split-copy,
.media-mosaic,
.consulting-media,
.consulting-copy {
  position: relative;
  z-index: 1;
}

.feature-list,
.contact-list {
  flex-direction: column;
  gap: 14px;
  margin: 0 0 28px;
  padding: 0;
  list-style: none;
}

.media-mosaic {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 16px;
}

.media-mosaic img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 24px;
  box-shadow: 0 18px 36px rgba(7, 38, 74, 0.12);
}

.media-mosaic .mosaic-tall {
  grid-row: span 2;
  height: 100%;
  min-height: 520px;
}

.engineering-section {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 14% 18%, rgba(0, 106, 98, 0.12), transparent 24%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.4), rgba(239, 244, 255, 0.78));
}

.engineering-showcase {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 26px;
  align-items: stretch;
}

.engineering-panel {
  position: relative;
  padding: 34px;
  overflow: hidden;
  border: 1px solid rgba(11, 28, 48, 0.07);
  border-radius: 36px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.96), rgba(239, 244, 255, 0.86));
  box-shadow: var(--shadow);
}

.engineering-panel::after {
  content: "";
  position: absolute;
  inset-inline-end: -62px;
  bottom: -76px;
  width: 210px;
  height: 210px;
  border-radius: 50%;
  background: rgba(0, 106, 98, 0.09);
}

.engineering-panel h2 {
  position: relative;
  margin: 0 0 16px;
  color: var(--primary);
  font-size: clamp(2rem, 3.4vw, 3.2rem);
  line-height: 1.2;
  z-index: 1;
}

.engineering-panel p,
.engineering-feature-list,
.engineering-metrics,
.engineering-panel .btn,
.engineering-panel .eyebrow {
  position: relative;
  z-index: 1;
}

.engineering-panel p {
  margin: 0 0 22px;
  color: var(--muted);
  line-height: 1.9;
}

.engineering-feature-list {
  margin-bottom: 24px;
}

.engineering-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 26px;
}

.engineering-metrics article {
  padding: 16px 14px;
  border: 1px solid rgba(0, 68, 130, 0.07);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.74);
}

.engineering-metrics strong {
  display: block;
  color: var(--primary);
  font-size: 1.45rem;
  line-height: 1;
}

.engineering-metrics span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 800;
}

.engineering-product-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-content: start;
  gap: 18px;
}

.engineering-product-grid-wide {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 26px;
}

.engineering-product-card {
  overflow: hidden;
  padding: 10px 10px 14px;
  border: 1px solid rgba(11, 28, 48, 0.07);
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow-soft);
  transition: transform var(--transition), box-shadow var(--transition);
}

.engineering-product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 24px 52px rgba(27, 67, 118, 0.14);
}

.engineering-product-card img {
  width: 100%;
  aspect-ratio: 4 / 3.15;
  object-fit: cover;
  border-radius: 20px;
}

.engineering-product-card strong {
  display: block;
  padding: 12px 6px 0;
  color: var(--primary);
  font-size: 1.02rem;
  line-height: 1.45;
  text-align: center;
}

.showcase-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.showcase-card {
  position: relative;
  min-height: 250px;
  overflow: hidden;
  border-radius: 28px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.showcase-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.01);
  transition: transform 360ms ease;
}

.showcase-card:hover img {
  transform: scale(1.08);
}

.showcase-card-large {
  grid-column: span 2;
  grid-row: span 2;
  min-height: 520px;
}

.showcase-card-wide {
  grid-column: span 2;
}

.showcase-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 10px;
  padding: 24px;
  background: linear-gradient(180deg, transparent 18%, rgba(3, 20, 41, 0.82) 100%);
}

.showcase-overlay p {
  margin: 0;
  max-width: 420px;
  color: rgba(255, 255, 255, 0.84);
}

.consulting-card {
  grid-template-columns: 0.92fr 1.08fr;
  align-items: stretch;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.96), rgba(239, 244, 255, 0.88));
  padding: 20px;
  border: 1px solid rgba(11, 28, 48, 0.06);
  box-shadow: var(--shadow);
}

.consulting-media img {
  width: 100%;
  height: 100%;
  min-height: 440px;
  object-fit: cover;
  border-radius: 28px;
}

.consulting-copy {
  padding: 26px 12px 26px 18px;
}

.consulting-copy h2 {
  font-size: clamp(2rem, 3vw, 2.8rem);
  margin-bottom: 16px;
}

.mini-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin: 24px 0 28px;
}

.mini-grid article {
  padding: 16px 18px;
  border-radius: 18px;
  background: rgba(0, 68, 130, 0.04);
  border: 1px solid rgba(0, 68, 130, 0.06);
}

.mini-grid h3 {
  margin: 0 0 8px;
  color: var(--primary);
  font-size: 1.06rem;
}

.mini-grid p {
  margin: 0;
  font-size: 0.95rem;
}

.stats-section {
  padding-top: 42px;
}

.stats-grid {
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
}

.stat-card {
  flex: 1 1 200px;
  text-align: center;
  padding: 26px 22px;
}

.stat-card strong {
  display: block;
  color: var(--primary);
  font-size: clamp(2.4rem, 4vw, 3.6rem);
  line-height: 1;
  margin-bottom: 10px;
}

.stat-card span {
  color: var(--muted);
  font-weight: 600;
}

.testimonials-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.testimonial-card {
  padding: 26px;
}

.quote-top {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
}

.quote-top .material-symbols-outlined {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: var(--bg-soft);
  color: var(--primary);
}

.quote-top p {
  margin: 4px 0 0;
  font-size: 0.92rem;
}

.partners-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}

.partners-grid div {
  padding: 22px;
  text-align: center;
  letter-spacing: 0.12em;
  color: rgba(86, 98, 115, 0.9);
  font-weight: 800;
  background: rgba(255, 255, 255, 0.86);
  border: 1px dashed rgba(86, 98, 115, 0.2);
  border-radius: 18px;
}

.partners-grid img {
  max-width: 100%;
  max-height: 48px;
  display: block;
  margin: 0 auto;
  object-fit: contain;
}

.contact-wrap {
  grid-template-columns: 1fr 1fr;
  align-items: start;
  padding: 42px;
  border-radius: 34px;
  background:
    radial-gradient(circle at top left, rgba(0, 106, 98, 0.08), transparent 30%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.96), rgba(239, 244, 255, 0.9));
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(11, 28, 48, 0.05);
}

.contact-form {
  padding: 28px;
}

.contact-form label {
  display: block;
  margin-bottom: 16px;
}

.contact-form span {
  display: inline-block;
  margin-bottom: 8px;
  font-weight: 700;
  color: var(--primary);
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 14px 16px;
  border-radius: 16px;
  border: 1px solid rgba(86, 98, 115, 0.18);
  background: rgba(255, 255, 255, 0.92);
  color: var(--text);
  outline: none;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: rgba(0, 68, 130, 0.45);
  box-shadow: 0 0 0 4px rgba(0, 68, 130, 0.08);
}

.form-status {
  min-height: 24px;
  margin: 12px 0 0;
  color: var(--secondary);
  font-weight: 700;
}

.lang-switch,
.admin-link {
  white-space: nowrap;
}

.contact-list a {
  color: var(--primary);
  font-weight: 700;
}

.site-footer {
  padding: 34px 0 42px;
  background: #07385c;
  color: #ffffff;
  border-top: 0;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 28px;
  align-items: center;
}

.site-footer .brand-copy strong,
.site-footer .brand-copy small,
.footer-inner p,
.footer-bottom p,
.footer-bottom a {
  color: #ffffff;
}

.site-footer .brand-copy small,
.footer-bottom p {
  opacity: 0.78;
}

.footer-brand {
  margin-bottom: 0;
}

.footer-panel {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 18px;
}

.footer-links {
  justify-content: flex-end;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-links a,
.footer-bottom a {
  color: rgba(255, 255, 255, 0.82);
  font-weight: 700;
}

.footer-links a:hover,
.footer-bottom a:hover,
.footer-email:hover {
  color: #ffffff;
}

.footer-email {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  font-weight: 800;
}

.footer-email .material-symbols-outlined {
  font-size: 1.2rem;
}

.social-links {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  flex-wrap: wrap;
}

.social-links a {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  transition:
    transform var(--transition),
    background-color var(--transition),
    border-color var(--transition);
}

.social-links a:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.16);
}

.social-links svg,
.social-icon-svg {
  width: 20px;
  height: 20px;
  max-width: 20px;
  max-height: 20px;
  display: block;
  fill: currentColor;
  flex: 0 0 20px;
}

.footer-bottom {
  justify-content: space-between;
  align-items: center;
  padding-top: 20px;
  margin-top: 26px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.mobile-menu {
  display: none;
  padding-bottom: 18px;
}

.mobile-menu-inner {
  flex-direction: column;
  align-items: stretch;
  gap: 10px;
}

.mobile-menu-inner a {
  padding: 14px 16px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(86, 98, 115, 0.08);
  font-weight: 700;
  color: var(--primary);
}

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

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

html[dir="ltr"] .floating-stat {
  left: 24px;
  right: auto;
}

html[dir="ltr"] .split-layout::before {
  inset: 0 0 0 52%;
  border-radius: 0 32px 32px 0;
}

html[dir="ltr"] .footer-links {
  justify-content: flex-start;
}

html[dir="ltr"] .desktop-nav a::after {
  left: 0;
  right: auto;
}

@media (max-width: 1080px) {
  .desktop-nav {
    display: none;
  }

  .icon-button {
    display: inline-flex;
  }

  .mobile-menu {
    display: block;
  }

  .hero-grid,
  .section-page-hero-grid,
  .split-layout,
  .engineering-showcase,
  .section-feature-panel,
  .consulting-card,
  .contact-wrap,
  .footer-inner {
    grid-template-columns: 1fr;
  }

  .overview-grid,
  .cards-grid,
  .section-detail-grid,
  .testimonials-grid,
  .partners-grid,
  .engineering-product-grid,
  .engineering-product-grid-wide {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .showcase-card-large,
  .showcase-card-wide {
    grid-column: span 2;
  }

  .mini-grid {
    grid-template-columns: 1fr;
  }

  .header-actions {
    flex-wrap: wrap;
    justify-content: flex-end;
  }

  .footer-panel,
  .footer-links,
  .social-links {
    align-items: flex-start;
    justify-content: flex-start;
  }
}

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

  .container {
    width: min(calc(100% - 28px), var(--container));
  }

  .header-inner {
    min-height: 78px;
  }

  .hero {
    min-height: auto;
    padding-top: 28px;
  }

  .hero-copy h1 {
    font-size: clamp(2.2rem, 11vw, 3.2rem);
  }

  .hero-copy p,
  .section-heading p {
    font-size: 1rem;
  }

  .quick-cards,
  .hero-actions,
  .footer-bottom {
    flex-direction: column;
  }

  .header-actions {
    gap: 8px;
  }

  .lang-switch,
  .admin-link {
    display: none;
  }

  .overview-grid,
  .cards-grid,
  .section-detail-grid,
  .testimonials-grid,
  .partners-grid,
  .showcase-grid,
  .engineering-product-grid,
  .engineering-product-grid-wide {
    grid-template-columns: 1fr;
  }

  .showcase-card-large,
  .showcase-card-wide {
    grid-column: span 1;
    min-height: 280px;
  }

  .media-mosaic {
    grid-template-columns: 1fr;
  }

  .engineering-panel {
    padding: 24px;
  }

  .section-page-copy,
  .section-feature-panel {
    padding: 24px;
  }

  .engineering-metrics,
  .section-page-visual {
    grid-template-columns: 1fr;
  }

  .section-page-visual {
    grid-auto-rows: 220px;
  }

  .section-page-visual figure.is-main {
    grid-row: span 1;
    grid-column: span 1;
  }

  .media-mosaic .mosaic-tall {
    min-height: 320px;
  }

  .split-layout,
  .contact-wrap,
  .consulting-card {
    padding: 24px;
  }

  .floating-stat {
    position: static;
    margin-top: 16px;
  }

  .hero-image {
    aspect-ratio: 4 / 3.8;
  }

  .partners-grid div {
    letter-spacing: 0.07em;
  }
}
