@font-face {
  font-family: "Estedad";
  src: url("/static/fonts/Estedad-VariableFont_wght.ttf") format("truetype");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --color-navy: #0b2f55;
  --color-navy-2: #06213d;
  --color-navy-3: #020913;
  --color-blue: #168fe3;
  --color-blue-bright: #2ea7f5;
  --color-white: #ffffff;
  --color-light: #f6faff;
  --color-text: #1f2937;
  --color-muted: #64748b;
  --border-soft: rgba(7, 21, 39, 0.1);
  --shadow-soft: 0 18px 42px rgba(7, 21, 39, 0.12);
  --shadow-card: 0 16px 34px rgba(15, 23, 42, 0.1);
  --radius-card: 8px;
  --container: 1110px;
  --font-main: "Estedad", Tahoma, Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 104px;
}

body {
  margin: 0;
  background: var(--color-white);
  color: var(--color-text);
  font-family: var(--font-main);
  font-size: 16.5px;
  line-height: 2;
  font-weight: 400;
  direction: rtl;
  text-align: right;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

button,
input,
textarea,
select,
option {
  font-family: var(--font-main);
}

h1,
h2,
h3,
h4,
h5,
h6,
.hero-copy h1,
.listing-hero h1,
.product-detail-copy h1,
.section-heading h2,
.card-body h3,
.news-body h3,
.gallery-card h3,
.team-card-body h2,
.contact-info-intro h2,
.footer-grid h2 {
  font-family: var(--font-main);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.45;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

.container {
  width: min(var(--container), calc(100% - 48px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid rgba(22, 143, 227, 0.14);
  background: var(--color-white);
  box-shadow: 0 10px 28px rgba(11, 47, 85, 0.08);
}

.site-header.detail-header {
  background: var(--color-white);
}

.header-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 260px;
  grid-template-areas: "nav brand";
  align-items: center;
  gap: 24px;
  min-height: 84px;
}

.brand {
  grid-area: brand;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  min-width: 0;
}

.brand img {
  width: auto;
  height: 64px;
  max-width: 260px;
  object-fit: contain;
}

.main-nav {
  grid-area: nav;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(14px, 2.2vw, 28px);
  color: var(--color-navy);
  font-size: 13.5px;
  font-weight: 800;
  white-space: nowrap;
}

.main-nav a {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 84px;
  transition: color 160ms ease;
}

.main-nav a:hover {
  color: var(--color-blue);
}

.main-nav a.active {
  color: var(--color-blue);
}

.main-nav a.active::after {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 3px;
  content: "";
  background: var(--color-blue);
  border-radius: 999px;
}

.admin-button {
  justify-self: start;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 0 18px;
  border-radius: 6px;
  background: linear-gradient(135deg, var(--color-blue), var(--color-blue-bright));
  color: var(--color-white);
  font-size: 14px;
  font-weight: 800;
  box-shadow: 0 12px 28px rgba(13, 110, 253, 0.28);
}

.admin-icon {
  width: 15px;
  height: 15px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 10px;
  line-height: 1;
}

.hero-section {
  position: relative;
  min-height: 520px;
  overflow: hidden;
  background: var(--color-navy-3);
  color: var(--color-white);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(2, 9, 19, 0.04), rgba(2, 9, 19, 0.7) 48%, rgba(2, 9, 19, 0.98)),
    radial-gradient(circle at 18% 54%, rgba(14, 165, 255, 0.48), transparent 18%),
    radial-gradient(circle at 34% 22%, rgba(13, 110, 253, 0.28), transparent 30%),
    repeating-linear-gradient(90deg, rgba(14, 165, 255, 0.17) 0 1px, transparent 1px 58px),
    repeating-linear-gradient(0deg, rgba(14, 165, 255, 0.09) 0 1px, transparent 1px 46px),
    linear-gradient(135deg, #020913, #061426 50%, #020913);
}

.hero-bg::before,
.hero-bg::after {
  position: absolute;
  content: "";
  background: rgba(14, 165, 255, 0.16);
  filter: blur(2px);
}

.hero-bg::before {
  width: 620px;
  height: 310px;
  left: 7%;
  top: 116px;
  transform: perspective(500px) rotateY(-24deg) skewY(-9deg);
  border: 1px solid rgba(14, 165, 255, 0.24);
  box-shadow: inset 0 0 42px rgba(14, 165, 255, 0.2), 0 0 80px rgba(13, 110, 253, 0.22);
}

.hero-bg::after {
  width: 42%;
  height: 100%;
  left: 0;
  top: 0;
  background:
    linear-gradient(90deg, transparent, rgba(14, 165, 255, 0.14), transparent),
    repeating-linear-gradient(90deg, transparent 0 34px, rgba(14, 165, 255, 0.2) 35px 37px);
  opacity: 0.75;
}

.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(360px, 0.82fr) minmax(340px, 1fr);
  align-items: center;
  min-height: 520px;
  padding-top: 0;
}

.hero-copy {
  grid-column: 1;
  justify-self: end;
  max-width: 520px;
  padding: 58px 0 46px;
  text-align: right;
}

.hero-copy h1 {
  margin: 0 0 22px;
  font-size: clamp(40px, 5vw, 64px);
  line-height: 1.3;
  font-weight: 800;
  letter-spacing: -0.035em;
}

.hero-copy h1 span,
.hero-copy h1 strong {
  display: block;
}

.hero-copy h1 strong {
  color: var(--color-blue);
}

.hero-copy p {
  width: min(100%, 520px);
  margin: 0 0 28px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 17px;
  line-height: 2;
}

.primary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 26px;
  border: 0;
  border-radius: 5px;
  background: linear-gradient(135deg, var(--color-blue), #0582ff);
  color: var(--color-white);
  font-weight: 800;
  box-shadow: 0 14px 30px rgba(13, 110, 253, 0.28);
}

.primary-button::before {
  content: "‹";
  margin-left: 10px;
  font-size: 22px;
  line-height: 0;
}

.hero-visual {
  grid-column: 2;
  justify-self: start;
  width: min(520px, 100%);
  height: 320px;
  opacity: 0.98;
}

.server-frame {
  position: relative;
  width: 260px;
  height: 260px;
  margin: 20px auto 0;
  border: 1px solid rgba(14, 165, 255, 0.36);
  background:
    linear-gradient(90deg, rgba(14, 165, 255, 0.18) 1px, transparent 1px),
    linear-gradient(0deg, rgba(14, 165, 255, 0.18) 1px, transparent 1px),
    rgba(7, 21, 39, 0.45);
  background-size: 34px 34px;
  box-shadow: 0 0 70px rgba(14, 165, 255, 0.32), inset 0 0 45px rgba(14, 165, 255, 0.16);
  transform: perspective(600px) rotateY(-25deg);
}

.server-chip {
  position: absolute;
  top: 72px;
  right: 42px;
  width: 170px;
  min-height: 74px;
  padding: 14px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(14, 165, 255, 0.8);
  background: rgba(2, 9, 19, 0.72);
  color: var(--color-blue-bright);
  text-align: center;
  font-size: 13px;
  font-weight: 800;
  box-shadow: 0 0 34px rgba(14, 165, 255, 0.5);
}

.server-frame i {
  position: absolute;
  width: 8px;
  height: 90px;
  bottom: 24px;
  border-radius: 999px;
  background: linear-gradient(var(--color-blue-bright), transparent);
}

.server-frame i:nth-of-type(1) { right: 44px; }
.server-frame i:nth-of-type(2) { right: 82px; height: 126px; }
.server-frame i:nth-of-type(3) { right: 126px; height: 110px; }
.server-frame i:nth-of-type(4) { right: 172px; height: 136px; }

.hero-slider {
  position: absolute;
  left: 46%;
  bottom: 20px;
  display: flex;
  gap: 10px;
}

.hero-slider span {
  width: 42px;
  height: 4px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.28);
}

.hero-slider .is-active {
  background: var(--color-blue);
}

.content-section {
  padding: 62px 0 68px;
  background: var(--color-white);
}

.section-news,
.section-gallery {
  background: linear-gradient(180deg, #ffffff, #f7f9fc);
  border-top: 1px solid rgba(7, 21, 39, 0.05);
}

.section-heading {
  display: grid;
  justify-items: center;
  gap: 10px;
  margin-bottom: 30px;
  text-align: center;
}

.section-heading h2 {
  margin: 0;
  color: #111827;
  font-size: 26px;
  font-weight: 800;
}

.section-heading span {
  width: 30px;
  height: 3px;
  border-radius: 999px;
  background: var(--color-blue);
}

.align-right {
  justify-items: start;
  text-align: right;
}

.light-heading h2 {
  color: var(--color-white);
}

.product-grid,
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.product-card,
.news-card,
.gallery-card {
  overflow: hidden;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-card);
  background: var(--color-white);
  box-shadow: var(--shadow-card);
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

.product-card:hover,
.news-card:hover,
.gallery-card:hover,
.team-card:hover {
  transform: translateY(-2px);
  border-color: rgba(13, 110, 253, 0.18);
  box-shadow: 0 20px 42px rgba(15, 23, 42, 0.13);
}

.product-card img,
.product-card .card-visual {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.card-body {
  padding: 20px 20px 22px;
  text-align: center;
}

.card-body h3,
.news-body h3,
.gallery-card h3 {
  margin: 0 0 8px;
  color: #0f172a;
  font-size: 17px;
  font-weight: 800;
  line-height: 1.7;
}

.card-body p,
.news-body p,
.gallery-card p {
  margin: 0 0 14px;
  color: #475569;
  font-size: 14.5px;
  line-height: 1.95;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--color-blue);
  font-size: 14px;
  font-weight: 800;
}

.text-link::before {
  content: "‹";
  font-size: 20px;
  line-height: 1;
}

.card-visual,
.gallery-placeholder {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 47%, rgba(14, 165, 255, 0.4), transparent 34%),
    linear-gradient(135deg, #031022, #0a3970 54%, #020913);
}

.card-visual::before,
.gallery-placeholder::before {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    linear-gradient(0deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-size: 28px 28px;
}

.card-visual span {
  position: absolute;
  inset: 18px;
  border: 2px solid rgba(14, 165, 255, 0.5);
  border-radius: 50%;
  box-shadow: inset 0 0 28px rgba(14, 165, 255, 0.28), 0 0 34px rgba(14, 165, 255, 0.28);
}

.product-visual.visual-1 span::after {
  position: absolute;
  inset: 22%;
  content: "";
  border-radius: 50% 50% 46% 46%;
  border: 16px solid rgba(14, 165, 255, 0.78);
  border-top-width: 6px;
}

.product-visual.visual-2 span::after {
  position: absolute;
  inset: 24%;
  content: "";
  border-radius: 14px;
  border: 3px solid rgba(255, 255, 255, 0.76);
  box-shadow: -42px 36px 0 -22px rgba(14, 165, 255, 0.92), 42px 36px 0 -22px rgba(14, 165, 255, 0.92);
}

.product-visual.visual-3 span::after,
.product-visual.visual-4 span::after {
  position: absolute;
  inset: 34% 8%;
  content: "";
  border-radius: 999px;
  background: repeating-linear-gradient(90deg, rgba(14, 165, 255, 0.92) 0 14px, rgba(255, 255, 255, 0.72) 14px 18px);
}

.news-card {
  display: grid;
  grid-template-columns: 44% 1fr;
  align-items: stretch;
  min-height: 198px;
}

.news-card img,
.news-card .card-visual {
  width: 100%;
  height: 100%;
  min-height: 198px;
  object-fit: cover;
}

.news-body {
  position: relative;
  padding: 22px 20px 20px;
}

.news-body time {
  display: inline-flex;
  margin-bottom: 12px;
  padding: 4px 10px;
  border-radius: 4px;
  background: rgba(13, 110, 253, 0.08);
  color: var(--color-blue);
  font-size: 12px;
  direction: ltr;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.public-gallery-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.gallery-card {
  display: grid;
}

.gallery-placeholder,
.gallery-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.gallery-card div:last-child {
  padding: 16px;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 26px;
}

.team-card {
  overflow: hidden;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-card);
  background: var(--color-white);
  box-shadow: var(--shadow-card);
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

.team-avatar {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  background: var(--color-light);
}

.team-avatar-placeholder {
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 50% 42%, rgba(14, 165, 255, 0.36), transparent 34%),
    linear-gradient(135deg, #031022, #083467 54%, #020913);
}

.team-avatar-placeholder span {
  display: grid;
  place-items: center;
  width: 86px;
  height: 86px;
  border: 2px solid rgba(255, 255, 255, 0.68);
  border-radius: 50%;
  color: var(--color-white);
  font-size: 38px;
  font-weight: 800;
}

.team-card-body {
  padding: 18px 20px 22px;
  text-align: center;
}

.team-card-body h2 {
  margin: 0 0 6px;
  color: #0f172a;
  font-size: 20px;
}

.team-card-body strong {
  display: block;
  margin-bottom: 10px;
  color: var(--color-blue);
  font-size: 14px;
}

.team-card-body p {
  margin: 0;
  color: #475569;
  font-size: 14px;
}

.section-action {
  margin-top: 28px;
  text-align: center;
}

.about-section {
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(2, 9, 19, 0.94), rgba(7, 21, 39, 0.78) 50%, rgba(2, 9, 19, 0.98)),
    radial-gradient(circle at 72% 24%, rgba(14, 165, 255, 0.22), transparent 36%),
    var(--color-navy);
  color: var(--color-white);
}

.about-inner {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  align-items: center;
  gap: 44px;
  min-height: 350px;
}

.about-copy {
  padding: 60px 0;
}

.about-copy p {
  margin: 0 0 24px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 16px;
}

.about-visual {
  align-self: stretch;
  display: grid;
  align-items: end;
}

.building-card {
  position: relative;
  height: 318px;
  overflow: hidden;
  border-radius: 8px 8px 0 0;
  background:
    linear-gradient(110deg, rgba(255, 255, 255, 0.08), transparent 34%),
    linear-gradient(180deg, #7f8ea3, #27384b 72%, #111827);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.32);
}

.building-card::before {
  position: absolute;
  inset: 0;
  content: "";
  background:
    repeating-linear-gradient(0deg, transparent 0 48px, rgba(255, 255, 255, 0.18) 49px 50px),
    repeating-linear-gradient(90deg, transparent 0 104px, rgba(255, 255, 255, 0.2) 105px 106px);
}

.building-card span {
  position: relative;
  z-index: 1;
  float: right;
  width: calc(25% - 22px);
  height: 42px;
  margin: 34px 18px 8px 4px;
  background: rgba(8, 23, 42, 0.56);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.building-sign {
  position: absolute;
  z-index: 2;
  top: 42px;
  right: 72px;
  max-width: 220px;
  padding: 10px 16px;
  border-radius: 4px;
  background: rgba(7, 21, 39, 0.88);
  color: var(--color-white);
  font-weight: 800;
  text-align: center;
  box-shadow: 0 0 22px rgba(14, 165, 255, 0.22);
}

.site-footer {
  background:
    radial-gradient(circle at 12% 24%, rgba(14, 165, 255, 0.12), transparent 28%),
    linear-gradient(135deg, #06111f, #0b2238);
  color: rgba(255, 255, 255, 0.86);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.9fr 1.2fr;
  gap: 44px;
  padding: 44px 0 34px;
}

.footer-grid h2 {
  margin: 0 0 18px;
  color: var(--color-white);
  font-size: 18px;
}

.footer-grid p {
  margin: 0 0 10px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 14.5px;
  line-height: 1.95;
}

.footer-grid a {
  display: block;
  margin-bottom: 8px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 14.5px;
}

.footer-social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.footer-social-links a {
  margin: 0;
  padding: 4px 9px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 4px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 12px;
  font-weight: 800;
}

.footer-bottom {
  padding: 18px 0 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  text-align: center;
}

.footer-bottom p {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
}

.product-detail-page {
  background: var(--color-white);
}

.news-page,
.news-detail-page {
  background: var(--color-white);
}

.listing-hero {
  padding: 64px 0;
  background:
    radial-gradient(circle at 18% 30%, rgba(14, 165, 255, 0.22), transparent 30%),
    repeating-linear-gradient(90deg, rgba(14, 165, 255, 0.08) 0 1px, transparent 1px 62px),
    linear-gradient(135deg, var(--color-navy-3), var(--color-navy));
  color: var(--color-white);
  text-align: center;
}

.listing-hero p {
  margin: 0 0 8px;
  color: var(--color-blue-bright);
  font-weight: 800;
}

.listing-hero h1 {
  margin: 0 0 10px;
  font-size: clamp(34px, 5vw, 54px);
}

.listing-hero span {
  display: inline-block;
  max-width: 820px;
  color: rgba(255, 255, 255, 0.82);
}

.listing-news-grid {
  align-items: stretch;
}

.public-empty-state,
.article-body {
  max-width: 860px;
  margin: 0 auto;
  padding: 28px;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-card);
  background: var(--color-white);
  box-shadow: var(--shadow-card);
}

.public-empty-state {
  text-align: center;
}

.public-empty-state h2,
.article-body h2 {
  margin: 0 0 10px;
  color: var(--color-navy);
}

.public-empty-state p,
.article-body p {
  margin: 0 0 24px;
  color: #475569;
  font-size: 16px;
}

.source-box {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
  padding: 14px 16px;
  border-radius: 8px;
  background: #f8fafc;
  color: var(--color-muted);
}

.source-box a {
  color: var(--color-blue);
  font-weight: 800;
}

.product-detail-hero {
  background:
    radial-gradient(circle at 18% 30%, rgba(14, 165, 255, 0.22), transparent 30%),
    linear-gradient(135deg, var(--color-navy-3), var(--color-navy));
  color: var(--color-white);
}

.product-detail-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 400px;
  gap: 42px;
  align-items: center;
  min-height: 360px;
  padding: 58px 0;
}

.product-detail-copy p {
  margin: 0 0 8px;
  color: var(--color-blue-bright);
  font-weight: 800;
}

.product-detail-copy h1 {
  margin: 0 0 14px;
  font-size: clamp(34px, 5vw, 54px);
  line-height: 1.25;
}

.product-detail-copy span {
  display: block;
  max-width: 680px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 17px;
}

.product-detail-media {
  overflow: hidden;
  border-radius: var(--radius-card);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.28);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.product-detail-media img,
.product-detail-media .card-visual {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.product-detail-body {
  max-width: 860px;
}

.product-detail-body h2 {
  margin: 0 0 14px;
  color: var(--color-navy);
}

.product-detail-body p {
  margin: 0 0 24px;
  color: #475569;
  font-size: 16px;
}

.contact-page {
  background: var(--color-white);
}

.contact-hero span {
  display: block;
  max-width: 860px;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(260px, 0.82fr) minmax(0, 1.18fr);
  gap: 28px;
  align-items: start;
}

.contact-layout-info-only {
  grid-template-columns: minmax(0, 1fr) minmax(380px, 0.45fr);
  gap: 32px;
  align-items: stretch;
}

.contact-info-panel,
.contact-form-card {
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-card);
  background: var(--color-white);
  box-shadow: var(--shadow-card);
}

.contact-info-panel {
  display: grid;
  gap: 14px;
  padding: 24px;
}

.contact-info-panel-featured {
  grid-template-columns: 1fr;
  gap: 16px;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.contact-info-intro,
.contact-note {
  grid-column: 1 / -1;
}

.contact-info-intro p {
  margin: 0 0 8px;
  color: var(--color-blue);
  font-weight: 800;
}

.contact-info-intro h2 {
  margin: 0 0 8px;
  color: var(--color-navy);
  font-size: 28px;
  line-height: 1.55;
}

.contact-info-intro span {
  display: block;
  max-width: 840px;
  color: #475569;
  font-size: 16px;
  line-height: 2;
}

.contact-info-card {
  position: relative;
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  grid-template-rows: auto auto;
  align-items: center;
  column-gap: 18px;
  row-gap: 2px;
  min-height: auto;
  padding: 22px 24px;
  border-radius: 16px;
  background: var(--color-white);
  border: 1px solid rgba(22, 143, 227, 0.16);
  box-shadow: 0 14px 30px rgba(11, 47, 85, 0.08);
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

.contact-info-card:hover {
  transform: translateY(-2px);
  border-color: rgba(22, 143, 227, 0.28);
  box-shadow: 0 20px 38px rgba(11, 47, 85, 0.12);
}

.contact-icon {
  grid-row: 1 / 3;
  align-self: center;
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background:
    radial-gradient(circle at 30% 24%, rgba(255, 255, 255, 0.9), transparent 24%),
    linear-gradient(135deg, var(--color-blue), var(--color-blue-bright));
  color: var(--color-white);
  box-shadow: 0 14px 26px rgba(22, 143, 227, 0.24);
}

.contact-icon svg {
  width: 28px;
  height: 28px;
  fill: currentColor;
}

.contact-info-card span {
  display: block;
  color: var(--color-blue);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.6;
}

.contact-info-card strong {
  display: block;
  overflow-wrap: normal;
  word-break: normal;
  color: var(--color-navy);
  font-size: 20px;
  line-height: 1.8;
  font-weight: 800;
}

.contact-value-ltr {
  direction: ltr;
  unicode-bidi: plaintext;
  text-align: left;
  white-space: nowrap;
}

.contact-email-value {
  font-size: 20px;
  white-space: nowrap;
}

.contact-note {
  margin: 4px 0 0;
  color: var(--color-muted);
  font-size: 15px;
}

.map-preview-card {
  position: relative;
  display: grid;
  align-self: stretch;
  min-height: 320px;
  overflow: hidden;
  border: 1px solid rgba(22, 143, 227, 0.18);
  border-radius: var(--radius-card);
  background:
    linear-gradient(90deg, rgba(11, 47, 85, 0.08) 1px, transparent 1px),
    linear-gradient(0deg, rgba(11, 47, 85, 0.08) 1px, transparent 1px),
    radial-gradient(circle at 28% 35%, rgba(46, 167, 245, 0.34), transparent 24%),
    radial-gradient(circle at 72% 68%, rgba(22, 143, 227, 0.24), transparent 26%),
    linear-gradient(135deg, #f8fbff, #eaf5ff);
  background-size: 36px 36px, 36px 36px, auto, auto, auto;
  color: var(--color-navy);
  box-shadow: var(--shadow-card);
  isolation: isolate;
}

.map-preview-card::before,
.map-preview-card::after {
  position: absolute;
  content: "";
  z-index: -1;
}

.map-preview-card::before {
  inset: 22% -12% auto;
  height: 76px;
  border-top: 12px solid rgba(22, 143, 227, 0.22);
  border-bottom: 12px solid rgba(22, 143, 227, 0.14);
  transform: rotate(-12deg);
}

.map-preview-card::after {
  width: 62%;
  height: 70%;
  left: -12%;
  bottom: -14%;
  border-radius: 50%;
  border: 16px solid rgba(11, 47, 85, 0.08);
}

.map-pin {
  position: absolute;
  top: 96px;
  left: 50%;
  width: 48px;
  height: 48px;
  border-radius: 50% 50% 50% 8px;
  background: linear-gradient(135deg, var(--color-blue), var(--color-blue-bright));
  box-shadow: 0 16px 30px rgba(22, 143, 227, 0.28);
  transform: translateX(-50%) rotate(-45deg);
}

.map-pin::before {
  position: absolute;
  inset: 14px;
  content: "";
  border-radius: 50%;
  background: var(--color-white);
}

.map-panel {
  align-self: end;
  margin: 0 24px 24px;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 18px 42px rgba(11, 47, 85, 0.14);
  backdrop-filter: blur(10px);
}

.map-panel p {
  margin: 0 0 6px;
  color: var(--color-blue);
  font-weight: 800;
}

.map-panel h2,
.map-panel h3 {
  margin: 0 0 10px;
  color: var(--color-navy);
  font-size: 23px;
  line-height: 1.55;
}

.map-panel span {
  display: block;
  color: #475569;
  font-size: 14.5px;
  line-height: 1.95;
}

.home-map-card {
  min-height: 318px;
  margin-top: 0;
}

.about-map-card {
  min-height: 285px;
}

.about-page-content {
  background: linear-gradient(180deg, #ffffff, #f7f9fc);
}

.about-page-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(300px, 0.85fr);
  gap: 28px;
  align-items: start;
}

.about-content-card,
.about-values article {
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-card);
  background: var(--color-white);
  box-shadow: var(--shadow-card);
}

.about-content-card {
  padding: 32px;
}

.about-content-card > span {
  display: inline-flex;
  margin-bottom: 12px;
  color: var(--color-blue);
  font-weight: 800;
}

.about-content-card h2 {
  margin: 0 0 16px;
  color: var(--color-navy);
  font-size: 30px;
  line-height: 1.55;
}

.about-content-card p {
  margin: 0;
  color: #475569;
  font-size: 16px;
  line-height: 2.05;
}

.about-values {
  display: grid;
  gap: 16px;
}

.about-values article {
  position: relative;
  padding: 22px 24px;
}

.about-values article span {
  display: block;
  width: 42px;
  height: 42px;
  margin-bottom: 14px;
  border-radius: 8px;
  background:
    radial-gradient(circle at 38% 35%, rgba(255, 255, 255, 0.85), transparent 22%),
    linear-gradient(135deg, var(--color-blue), var(--color-blue-bright));
  box-shadow: 0 12px 24px rgba(13, 110, 253, 0.22);
}

.about-values h3 {
  margin: 0 0 8px;
  color: var(--color-navy);
  font-size: 18px;
}

.about-values p {
  margin: 0;
  color: #475569;
  font-size: 14.5px;
  line-height: 1.95;
}

.contact-form-card {
  padding: 26px;
}

.contact-form-card h2 {
  margin: 0 0 18px;
  color: var(--color-navy);
  font-size: 24px;
}

.public-success,
.public-error-list {
  margin-bottom: 18px;
  padding: 12px 14px;
  border-radius: 8px;
  font-weight: 800;
}

.public-success {
  background: #dcfce7;
  color: #166534;
}

.public-error-list {
  background: #fee2e2;
  color: #991b1b;
}

.public-error-list p {
  margin: 0 0 6px;
}

.public-error-list p:last-child {
  margin-bottom: 0;
}

.contact-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.contact-form label {
  display: grid;
  gap: 8px;
  color: var(--color-navy);
  font-weight: 800;
}

.contact-form .full-span,
.contact-form button {
  grid-column: 1 / -1;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--border-soft);
  border-radius: 8px;
  padding: 10px 12px;
  color: var(--color-text);
  font-family: inherit;
  font-size: 15px;
  font-weight: 400;
  background: #fff;
}

.contact-form input {
  min-height: 44px;
}

.contact-form textarea {
  resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: 2px solid rgba(13, 110, 253, 0.18);
  border-color: var(--color-blue);
}

.contact-honeypot {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.error-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 42px 16px;
  background:
    radial-gradient(circle at 18% 28%, rgba(14, 165, 255, 0.24), transparent 30%),
    repeating-linear-gradient(90deg, rgba(14, 165, 255, 0.08) 0 1px, transparent 1px 58px),
    linear-gradient(135deg, var(--color-navy-3), var(--color-navy));
  color: var(--color-white);
}

.error-card {
  width: min(620px, 100%);
  padding: 36px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-card);
  background: rgba(2, 9, 19, 0.72);
  text-align: center;
  box-shadow: 0 22px 70px rgba(0, 0, 0, 0.34);
}

.error-card span {
  display: inline-flex;
  margin-bottom: 14px;
  color: var(--color-blue-bright);
  font-size: 42px;
  font-weight: 800;
  line-height: 1;
}

.error-card h1 {
  margin: 0 0 12px;
  font-size: clamp(28px, 5vw, 42px);
}

.error-card p {
  margin: 0 0 24px;
  color: rgba(255, 255, 255, 0.82);
}

@media (max-width: 980px) {
  html {
    scroll-padding-top: 150px;
  }

  .header-inner {
    grid-template-columns: 1fr;
    grid-template-areas:
      "brand"
      "nav";
    gap: 12px;
    padding: 14px 0;
  }

  .brand {
    justify-self: center;
  }

  .main-nav {
    width: 100%;
    justify-content: flex-start;
    flex-wrap: nowrap;
    gap: 18px;
    overflow-x: auto;
    overflow-y: hidden;
    white-space: nowrap;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  .main-nav::-webkit-scrollbar {
    display: none;
  }

  .main-nav a {
    flex: 0 0 auto;
    min-height: 32px;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    padding-top: 0;
  }

  .hero-copy {
    justify-self: center;
    text-align: center;
    padding-inline: 16px;
  }

  .hero-visual {
    display: none;
  }

  .product-grid,
  .news-grid,
  .gallery-grid,
  .public-gallery-grid,
  .team-grid,
  .footer-grid,
  .about-inner,
  .about-page-grid,
  .product-detail-inner,
  .contact-layout {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .contact-info-panel-featured {
    grid-template-columns: 1fr;
  }

  .contact-layout-info-only {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    gap: 28px;
  }

  .about-inner {
    gap: 24px;
  }
}

@media (max-width: 680px) {
  html {
    scroll-padding-top: 150px;
  }

  .container {
    width: min(100% - 28px, var(--container));
  }

  .site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: var(--color-white);
  }

  .hero-inner {
    min-height: auto;
    padding-top: 0;
  }

  .hero-copy {
    padding: 52px 0 50px;
  }

  .hero-copy h1 {
    font-size: 32px;
  }

  .hero-copy p {
    font-size: 14px;
  }

  .content-section {
    padding: 44px 0 48px;
  }

  .product-grid,
  .news-grid,
  .gallery-grid,
  .public-gallery-grid,
  .team-grid,
  .footer-grid,
  .about-inner,
  .about-page-grid,
  .product-detail-inner,
  .contact-layout,
  .contact-info-panel-featured,
  .contact-form {
    grid-template-columns: 1fr;
  }

  .news-card {
    grid-template-columns: 1fr;
  }

  .news-card img,
  .news-card .card-visual {
    min-height: 0;
    aspect-ratio: 16 / 9;
  }

  .listing-hero {
    padding: 48px 0;
  }

  .listing-hero h1,
  .product-detail-copy h1 {
    font-size: 32px;
  }

  .product-detail-inner {
    padding: 46px 0;
  }

  .contact-form-card,
  .contact-info-panel,
  .about-content-card,
  .public-empty-state,
  .article-body {
    padding: 20px;
  }

  .contact-info-panel-featured {
    padding: 0;
  }

  .contact-info-card {
    grid-template-columns: 52px minmax(0, 1fr);
    gap: 0 14px;
    padding: 18px;
  }

  .contact-icon {
    width: 52px;
    height: 52px;
  }

  .contact-info-card strong,
  .contact-email-value {
    font-size: 18px;
  }

  .contact-value-ltr {
    white-space: normal;
  }

  .about-copy {
    padding-bottom: 18px;
  }

  .about-visual {
    min-height: 250px;
  }

  .building-card {
    height: 250px;
  }

  .brand img {
    height: 50px;
    max-width: 220px;
  }
}

/* =========================
   FINAL CONTACT PAGE OVERRIDE
   ========================= */

.contact-page .contact-layout-info-only {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(420px, 0.48fr);
  gap: 32px;
  align-items: stretch;
}

.contact-page .contact-info-panel-featured {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  padding: 0;
  border: 0;
  box-shadow: none;
  background: transparent;
}

.contact-page .contact-info-card {
  display: flex;
  align-items: center;
  gap: 18px;
  min-height: auto;
  padding: 24px 26px;
  border-radius: 18px;
  background: #ffffff;
  border: 1px solid rgba(22, 143, 227, 0.18);
  outline: 1px solid rgba(22, 143, 227, 0.22);
  box-shadow: 0 16px 34px rgba(11, 47, 85, 0.08);
}

.contact-page .contact-info-card .contact-icon {
  flex: 0 0 58px;
  width: 58px;
  height: 58px;
  margin: 0;
  border-radius: 16px;
}

.contact-page .contact-card-content {
  min-width: 0;
  flex: 1;
}

.contact-page .contact-info-card span {
  margin: 0 0 6px;
  color: var(--color-blue);
  font-size: 14px;
  font-weight: 800;
}

.contact-page .contact-info-card strong {
  display: block;
  color: var(--color-navy);
  font-size: 20px;
  line-height: 1.8;
  font-weight: 750;
  word-break: normal;
  overflow-wrap: normal;
}

.contact-page .contact-value-ltr,
.contact-page .contact-email-value {
  direction: ltr;
  unicode-bidi: plaintext;
  text-align: left;
  white-space: nowrap;
}

.contact-page .contact-email-value {
  font-size: 19px;
}

.contact-page .map-preview-card {
  min-height: 100%;
  border-radius: 18px;
}

@media (max-width: 980px) {
  .contact-page .contact-layout-info-only {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  .contact-page .contact-info-card {
    align-items: flex-start;
    padding: 20px;
  }

  .contact-page .contact-info-card strong {
    font-size: 17px;
  }

  .contact-page .contact-value-ltr,
  .contact-page .contact-email-value {
    white-space: normal;
  }
}
.phone-ltr,
.email-ltr {
  direction: ltr;
  unicode-bidi: isolate;
  display: inline-block;
  white-space: nowrap;
  text-align: center;
}

a.product-card {
  display: block;
  color: inherit;
}
