:root{--bg:#08101f;--panel:#101d32;--line:#293a51;--txt:#f3f7ff;--muted:#aab8cc;--red:#f04b5d;--blue:#5da9ff}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--bg);color:var(--txt);font:16px/1.65 Manrope,Arial,sans-serif}a{color:inherit;text-decoration:none}a:hover{color:var(--blue)}.wrap{max-width:1160px;margin:auto;padding:0 24px}.header{border-bottom:1px solid var(--line);position:sticky;top:0;z-index:10;background:#08101fee;backdrop-filter:blur(14px)}.head{display:flex;align-items:center;justify-content:space-between;min-height:82px;gap:24px}.logo{display:flex;align-items:center;gap:12px;font-weight:800}.logo img{width:100px;height:50px;object-fit:contain;background:white;border-radius:7px;padding:4px}.nav{display:flex;gap:23px;align-items:center;font-size:14px}.nav a.active{color:var(--blue)}.btn{display:inline-flex;align-items:center;justify-content:center;background:var(--red);color:white;border:0;border-radius:9px;padding:13px 22px;font-weight:800;cursor:pointer;font:inherit}.btn:hover{background:#d83749;color:white}.btn.alt{background:transparent;border:1px solid #527095}.hero{padding:95px 0 100px;background:radial-gradient(ellipse at 85% 25%,#183b62 0%,transparent 48%)}.eyebrow{color:#79baff;text-transform:uppercase;letter-spacing:.18em;font-size:12px;font-weight:800}h1{font-size:clamp(38px,6vw,68px);line-height:1.12;letter-spacing:-.045em;margin:18px 0 24px;max-width:850px}h2{font-size:clamp(28px,4vw,42px);line-height:1.2;letter-spacing:-.03em}h3{margin:0 0 12px;font-size:21px}p{color:var(--muted)}.lead{font-size:19px;max-width:750px}.actions{display:flex;gap:14px;flex-wrap:wrap;margin-top:32px}.section{padding:75px 0}.grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px;margin-top:32px}.card{border:1px solid var(--line);background:linear-gradient(135deg,#14243b,#0d1729);border-radius:16px;padding:28px}.card .num{color:var(--red);font-weight:800;font-size:13px}.card p{margin-bottom:0}.stripe{background:#101c30;border-block:1px solid var(--line)}.split{display:grid;grid-template-columns:1fr 1fr;gap:50px;align-items:start}.pill{display:inline-block;border:1px solid #446082;border-radius:99px;padding:6px 12px;margin:5px;color:#c5d6e9;font-size:13px}.footer{padding:42px 0;border-top:1px solid var(--line);font-size:13px}.footergrid{display:flex;justify-content:space-between;gap:25px;flex-wrap:wrap}.small{font-size:13px}.pagehead{padding:70px 0 35px}.pagehead h1{font-size:clamp(35px,5vw,56px)}.form{display:grid;gap:16px;max-width:650px}.form label{display:grid;gap:6px;color:#dce6f5;font-size:14px}.form input,.form textarea,.form select{font:inherit;background:#0d192a;border:1px solid #3a506a;color:white;border-radius:8px;padding:12px;width:100%}.form textarea{min-height:130px}.check{display:flex!important;align-items:start;gap:10px}.check input{width:auto;margin-top:7px}.menu{display:none;background:transparent;color:white;border:1px solid #41536b;border-radius:8px;padding:8px 12px;font-size:20px}@media(max-width:800px){.menu{display:block}.nav{display:none;position:absolute;left:0;right:0;top:82px;background:#101c30;padding:24px;flex-direction:column;align-items:start;border-bottom:1px solid var(--line)}.nav.open{display:flex}.grid,.split{grid-template-columns:1fr}.hero{padding:65px 0}.section{padding:50px 0}}
/* Linked activity cards */
.direction-link{display:block;transition:border-color .2s,transform .2s;background:linear-gradient(135deg,#14243b,#0d1729)}
.direction-link:hover,.direction-link:focus-visible{border-color:var(--blue);transform:translateY(-3px);color:var(--txt)}
.card-more{display:inline-block;color:var(--blue);font-weight:700;font-size:14px;margin-top:20px}
.component-list{list-style:none;padding:0;margin:28px 0 0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.component-list li{border:1px solid var(--line);border-radius:12px;background:var(--panel);padding:18px 22px;color:var(--txt)}
.back-link{display:inline-block;margin-top:36px;color:var(--blue);font-weight:700}
@media(max-width:800px){.component-list{grid-template-columns:1fr}}

/* AO Tekhcorp palette drawn from supplied approved brand art; page structure matches base site. */
:root{--bg:#f4f8fa;--panel:#fff;--line:#c8dbe2;--txt:#123e60;--muted:#4e6a7d;--red:#4d9ba4;--blue:#0a4977}
body{font-family:Arial,Helvetica,sans-serif}
.header{background:#ffffffef;box-shadow:0 2px 14px #14334b0a}
.head{min-height:98px}
.logo img{width:242px;height:70px;object-fit:contain;background:transparent;border-radius:0;padding:0}
.logo{gap:0}
.nav a.active{color:var(--blue)}
.btn{background:#0b4b78;color:#fff}
.btn:hover{background:#073a5e}
.btn.alt{background:transparent;border:1px solid #6f9caa;color:var(--txt)}
.btn.alt:hover{background:#e2eef2;color:var(--txt)}
.hero{background:radial-gradient(ellipse at 86% 22%,#d6edf0 0%,transparent 50%);padding:95px 0 100px}
.eyebrow{color:#3a8b99}
.card,.direction-link{background:linear-gradient(135deg,#fff,#edf5f7)}
.card .num{color:#41949e}
.stripe{background:#e9f2f5}
.pill{border:1px solid #adc9d1;color:#375a70}
.component-list li{background:#fff}
.direction-link:hover,.direction-link:focus-visible{color:var(--txt)}
.menu{color:#0a4977;border-color:#acc4ce}
@media(max-width:800px){.head{min-height:82px}.logo img{width:195px;height:55px}.nav{top:82px;background:#fff}.hero{padding:65px 0}}
.footergrid > div:last-child{display:flex;flex-direction:column;align-items:flex-start;gap:6px}


/* Tekhcorp directions: geometrically regular, flat-top hexagons.
   A regular hexagon uses width / height = 2/sqrt(3). */
.hex-grid {
  display:grid;
  grid-template-columns:repeat(6,minmax(0,1fr));
  gap:15px 16px;
  align-items:start;
  justify-items:stretch;
  max-width:1120px;
  margin:34px auto 0;
}
.hex-grid .hex-card {
  position:relative;
  display:flex;
  flex-direction:column;
  justify-content:center;
  align-items:center;
  text-align:center;
  width:100%;
  height:auto;
  min-width:0;
  min-height:0;
  aspect-ratio: 1.1547005384;
  padding:0;
  box-shadow:none;
  border:none;
  border-radius:0;
  clip-path:polygon(25% 0,75% 0,100% 50%,75% 100%,25% 100%,0 50%);
  background:linear-gradient(135deg,rgba(10,73,119,.20),rgba(77,155,164,.26));
  color:#123e60;
  transition:background .2s ease,filter .2s ease;
}
.hex-grid .hex-card::before,
.hex-grid .hex-card::after { content:none; }
.hex-grid .hex-card > * { position:relative; width:70%; max-width:none; flex:none; }
.hex-grid .hex-card .num {
  margin:0 0 7px;
  width:auto;
  color:#287c8d;
  font-weight:800;
  font-size:12px;
  line-height:1.2;
  letter-spacing:.06em;
}
.hex-grid .hex-card h3 {
  margin:0 0 8px;
  color:#123e60;
  font-size:17.2px;
  line-height:1.23;
  font-weight:750;
  overflow-wrap:break-word;
}
.hex-grid .hex-card p {
  margin:0;
  color:#395c71;
  font-size:12.2px;
  line-height:1.35;
  overflow-wrap:break-word;
}
.hex-grid .hex-card .card-more {
  margin:12px 0 0;
  width:auto;
  padding:0;
  color:#0a4977;
  font-size:12.5px;
  font-weight:750;
  line-height:1.2;
}
.hex-card:nth-child(1){grid-column:2/span 2}
.hex-card:nth-child(2){grid-column:4/span 2}
.hex-card:nth-child(3){grid-column:1/span 2}
.hex-card:nth-child(4){grid-column:3/span 2}
.hex-card:nth-child(5){grid-column:5/span 2}
.hex-card:nth-child(6){grid-column:2/span 2}
.hex-card:nth-child(7){grid-column:4/span 2}
.hex-grid .hex-card:hover,
.hex-grid .hex-card:focus-visible {
  transform:none;
  background:linear-gradient(135deg,rgba(10,73,119,.27),rgba(77,155,164,.35));
  filter:brightness(1.015);
  box-shadow:none;
  color:#123e60;
}
.hex-grid .hex-card:focus-visible {outline:3px solid #0a4977;outline-offset:3px}
@media (max-width:1100px) {
  .hex-grid {grid-template-columns:repeat(2,minmax(0,1fr));max-width:780px;column-gap:12px;row-gap:12px}
  .hex-card {grid-column:auto !important}
  .hex-card:last-child {grid-column:1/-1 !important;justify-self:center;max-width:385px}
}
@media (max-width:700px) {
  .hex-grid {grid-template-columns:minmax(0,1fr);max-width:390px;row-gap:12px;margin-top:22px}
  .hex-grid .hex-card {grid-column:1 !important;justify-self:center;max-width:390px}
  .hex-grid .hex-card:last-child {max-width:390px}
  .hex-grid .hex-card h3 {font-size:clamp(15px,4.2vw,17px);margin-bottom:6px;line-height:1.18}
  .hex-grid .hex-card p {font-size:clamp(10.3px,3vw,12px);line-height:1.3}
  .hex-grid .hex-card .num {font-size:11px;margin-bottom:5px}
  .hex-grid .hex-card .card-more {font-size:11px;margin-top:8px}
}

/* v10: seven corporate-colour hexagons; medical direction at the centre (2–3–2). */
.hex-grid .hex-card {
  background:var(--hex-fill,linear-gradient(135deg,rgba(10,73,119,.22),rgba(77,155,164,.28)));
}
.hex-grid .hex-card:nth-child(1) {
  grid-row:2;
  grid-column:3/span 2;
  --hex-fill:linear-gradient(135deg,rgba(10,62,104,.97),rgba(13,91,125,.92));
}
.hex-grid .hex-card:nth-child(2) {
  grid-row:1;
  grid-column:2/span 2;
  --hex-fill:linear-gradient(135deg,rgba(95,149,184,.52),rgba(45,109,155,.45));
}
.hex-grid .hex-card:nth-child(3) {
  grid-row:1;
  grid-column:4/span 2;
  --hex-fill:linear-gradient(135deg,rgba(68,157,166,.55),rgba(121,188,190,.47));
}
.hex-grid .hex-card:nth-child(4) {
  grid-row:2;
  grid-column:1/span 2;
  --hex-fill:linear-gradient(135deg,rgba(19,93,135,.46),rgba(79,142,171,.47));
}
.hex-grid .hex-card:nth-child(5) {
  grid-row:2;
  grid-column:5/span 2;
  --hex-fill:linear-gradient(135deg,rgba(66,128,157,.54),rgba(130,178,195,.48));
}
.hex-grid .hex-card:nth-child(6) {
  grid-row:3;
  grid-column:2/span 2;
  --hex-fill:linear-gradient(135deg,rgba(50,139,145,.48),rgba(101,174,183,.55));
}
.hex-grid .hex-card:nth-child(7) {
  grid-row:3;
  grid-column:4/span 2;
  --hex-fill:linear-gradient(135deg,rgba(115,155,186,.57),rgba(92,144,173,.52));
}
/* Dark central card needs light text and a contrast-safe link. */
.hex-grid .hex-card:nth-child(1),
.hex-grid .hex-card:nth-child(1) h3,
.hex-grid .hex-card:nth-child(1) p,
.hex-grid .hex-card:nth-child(1) .num,
.hex-grid .hex-card:nth-child(1) .card-more { color:#fff; }
.hex-grid .hex-card:nth-child(1) p { color:#e4eff5; }
.hex-grid .hex-card:hover,
.hex-grid .hex-card:focus-visible {
  background:var(--hex-fill);
  filter:brightness(1.055);
}
@media (max-width:1100px) {
  .hex-grid .hex-card { grid-row:auto; grid-column:auto !important; }
  .hex-grid .hex-card:nth-child(1) {
    grid-row:1;
    grid-column:1/-1 !important;
    justify-self:center;
    width:100%;
    max-width:385px;
  }
  .hex-grid .hex-card:last-child { grid-column:auto !important; max-width:none; }
}
@media (max-width:700px) {
  .hex-grid .hex-card { grid-row:auto !important; grid-column:1 !important; }
  .hex-grid .hex-card:nth-child(1) { grid-row:1 !important; }
  .hex-grid .hex-card:last-child { max-width:390px; }
}
/* Explicit row resets prevent overlapping cards when switching to the tablet grid. */
@media (max-width:1100px) {
  .hex-grid .hex-card { grid-row:auto !important; }
  .hex-grid .hex-card:nth-child(1) { grid-row:1 !important; }
}


/* v11: softer typography, translucent hexagons, rounded hex corners, no numbering */
body{font-family:"Segoe UI","Trebuchet MS",Arial,sans-serif}
.hex-grid .hex-card{
  clip-path:none;
  border-radius:0;
  overflow:hidden;
  -webkit-mask-image:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 260 226'><path d='M83 8C88 3 94 0 101 0h58c7 0 13 3 18 8l57 49c6 5 9 12 9 19v74c0 7-3 14-9 19l-57 49c-5 5-11 8-18 8h-58c-7 0-13-3-18-8L26 169c-6-5-9-12-9-19V76c0-7 3-14 9-19L83 8z' fill='black'/></svg>");
  mask-image:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 260 226'><path d='M83 8C88 3 94 0 101 0h58c7 0 13 3 18 8l57 49c6 5 9 12 9 19v74c0 7-3 14-9 19l-57 49c-5 5-11 8-18 8h-58c-7 0-13-3-18-8L26 169c-6-5-9-12-9-19V76c0-7 3-14 9-19L83 8z' fill='black'/></svg>");
  -webkit-mask-repeat:no-repeat;
  mask-repeat:no-repeat;
  -webkit-mask-size:100% 100%;
  mask-size:100% 100%;
  background:var(--hex-fill,linear-gradient(135deg,rgba(10,73,119,.18),rgba(77,155,164,.22)));
  backdrop-filter:blur(2px) saturate(115%);
  box-shadow:none;
}
.hex-grid .hex-card > *{width:68%}
.hex-grid .hex-card .num{display:none}
.hex-grid .hex-card h3{font-size:17px;line-height:1.22;font-weight:700}
.hex-grid .hex-card p{font-size:12.5px;line-height:1.42}
.hex-grid .hex-card .card-more{font-size:12.5px;font-weight:700;margin-top:10px}
.hex-grid .hex-card:hover,
.hex-grid .hex-card:focus-visible{background:var(--hex-fill-hover,var(--hex-fill));filter:brightness(1.02)}

.hex-grid .hex-card:nth-child(1){--hex-fill:linear-gradient(135deg,rgba(10,62,104,.34),rgba(13,91,125,.30));--hex-fill-hover:linear-gradient(135deg,rgba(10,62,104,.40),rgba(13,91,125,.36));}
.hex-grid .hex-card:nth-child(2){--hex-fill:linear-gradient(135deg,rgba(95,149,184,.28),rgba(45,109,155,.22));--hex-fill-hover:linear-gradient(135deg,rgba(95,149,184,.34),rgba(45,109,155,.28));}
.hex-grid .hex-card:nth-child(3){--hex-fill:linear-gradient(135deg,rgba(68,157,166,.26),rgba(121,188,190,.22));--hex-fill-hover:linear-gradient(135deg,rgba(68,157,166,.32),rgba(121,188,190,.28));}
.hex-grid .hex-card:nth-child(4){--hex-fill:linear-gradient(135deg,rgba(19,93,135,.25),rgba(79,142,171,.22));--hex-fill-hover:linear-gradient(135deg,rgba(19,93,135,.31),rgba(79,142,171,.28));}
.hex-grid .hex-card:nth-child(5){--hex-fill:linear-gradient(135deg,rgba(66,128,157,.26),rgba(130,178,195,.22));--hex-fill-hover:linear-gradient(135deg,rgba(66,128,157,.32),rgba(130,178,195,.28));}
.hex-grid .hex-card:nth-child(6){--hex-fill:linear-gradient(135deg,rgba(50,139,145,.26),rgba(101,174,183,.23));--hex-fill-hover:linear-gradient(135deg,rgba(50,139,145,.32),rgba(101,174,183,.29));}
.hex-grid .hex-card:nth-child(7){--hex-fill:linear-gradient(135deg,rgba(115,155,186,.28),rgba(92,144,173,.24));--hex-fill-hover:linear-gradient(135deg,rgba(115,155,186,.34),rgba(92,144,173,.30));}

.hex-grid .hex-card:nth-child(1),
.hex-grid .hex-card:nth-child(1) h3,
.hex-grid .hex-card:nth-child(1) p,
.hex-grid .hex-card:nth-child(1) .card-more{color:#123e60}
.hex-grid .hex-card:nth-child(1) p{color:#365a70}
@media (max-width:700px){
  .hex-grid .hex-card > *{width:70%}
  .hex-grid .hex-card h3{font-size:16px}
  .hex-grid .hex-card p{font-size:12px}
}


/* v12: apply the softened tile treatment across all card-based pages */
.card,.direction-link:not(.hex-card){
  background:var(--tile-fill,linear-gradient(135deg,rgba(10,73,119,.16),rgba(77,155,164,.20)));
  border:1px solid rgba(10,73,119,.12);
  border-radius:22px;
  box-shadow:none;
  backdrop-filter:blur(2px) saturate(112%);
}
.card .num,.direction-link:not(.hex-card) .num{display:none}
.card h3,.direction-link:not(.hex-card) h3{font-weight:700;letter-spacing:-.01em}
.card p,.direction-link:not(.hex-card) p{line-height:1.48}
.grid .card:nth-child(6n+1), .split .card:nth-child(6n+1){--tile-fill:linear-gradient(135deg,rgba(95,149,184,.20),rgba(45,109,155,.14))}
.grid .card:nth-child(6n+2), .split .card:nth-child(6n+2){--tile-fill:linear-gradient(135deg,rgba(68,157,166,.18),rgba(121,188,190,.14))}
.grid .card:nth-child(6n+3), .split .card:nth-child(6n+3){--tile-fill:linear-gradient(135deg,rgba(19,93,135,.16),rgba(79,142,171,.14))}
.grid .card:nth-child(6n+4), .split .card:nth-child(6n+4){--tile-fill:linear-gradient(135deg,rgba(66,128,157,.18),rgba(130,178,195,.14))}
.grid .card:nth-child(6n+5), .split .card:nth-child(6n+5){--tile-fill:linear-gradient(135deg,rgba(50,139,145,.18),rgba(101,174,183,.14))}
.grid .card:nth-child(6n+6), .split .card:nth-child(6n+6){--tile-fill:linear-gradient(135deg,rgba(115,155,186,.20),rgba(92,144,173,.14))}
.card:hover,.card:focus-within,.direction-link:not(.hex-card):hover,.direction-link:not(.hex-card):focus-visible{
  border-color:rgba(10,73,119,.22);
  filter:brightness(1.02);
  transform:none;
}


/* v13: consistent rounded hexagonal tiles across ALL card-based sections. */
:root{--rounded-hex-mask:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%221000%22%20height%3D%22866%22%20viewBox%3D%220%200%201000%20866%22%3E%3Cpath%20d%3D%22M%20222.5%2047.6%20Q%20250%200%20305.0%200.0%20L%20695.0%200.0%20Q%20750%200%20777.5%2047.6%20L%20972.5%20385.4%20Q%201000%20433%20972.5%20480.6%20L%20777.5%20818.4%20Q%20750%20866%20695.0%20866.0%20L%20305.0%20866.0%20Q%20250%20866%20222.5%20818.4%20L%2027.5%20480.6%20Q%200%20433%2027.5%20385.4%20L%20222.5%2047.6%20Z%22%20fill%3D%22black%22%2F%3E%3C%2Fsvg%3E")}
/* Original card containers on Services, Contacts and About */
.grid > .card,
.split .card,
.component-list > li{
  box-sizing:border-box;
  display:flex;
  flex-direction:column;
  justify-content:center;
  align-items:center;
  text-align:center;
  position:relative;
  width:100%;
  height:auto;
  aspect-ratio:1000/866;
  min-width:0;
  min-height:0;
  padding:0;
  margin:0;
  border:0;
  border-radius:0;
  box-shadow:none;
  background:var(--tile-fill,linear-gradient(135deg,rgba(10,73,119,.21),rgba(77,155,164,.23)));
  -webkit-mask-image:var(--rounded-hex-mask);
  mask-image:var(--rounded-hex-mask);
  -webkit-mask-position:center;
  mask-position:center;
  -webkit-mask-repeat:no-repeat;
  mask-repeat:no-repeat;
  -webkit-mask-size:100% 100%;
  mask-size:100% 100%;
  backdrop-filter:blur(2px);
  color:#123e60;
  font-family:"Trebuchet MS","Segoe UI",system-ui,sans-serif;
  transition:filter .2s ease;
}
.grid > .card > *,
.split .card > *{
  position:relative;
  width:68%;
  max-width:68%;
  flex:none;
  margin-left:auto;
  margin-right:auto;
  overflow-wrap:anywhere;
}
.grid > .card .num,
.split .card .num{display:none}
.grid > .card h3,
.split .card h3{
  font-size:clamp(16px,1.5vw,19px);
  font-weight:700;
  line-height:1.2;
  margin-top:0;
  margin-bottom:12px;
  letter-spacing:-.02em;
}
.grid > .card p,
.split .card p{
  font-size:clamp(12px,1.08vw,14px);
  line-height:1.45;
  color:#375a70;
  margin-top:0;
  margin-bottom:7px;
}
/* Technical component categories are tile-based content too. */
.component-list{
  max-width:1040px;
  margin:30px auto 0;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:20px;
}
.component-list > li{
  font-size:clamp(12px,1.35vw,15px);
  line-height:1.42;
  padding:10% 16%;
  overflow-wrap:break-word;
}
/* Varied translucent colours consistent with the brand identity. */
.grid > .card:nth-child(6n+1),.component-list > li:nth-child(6n+1),.split .card:nth-child(6n+1){--tile-fill:linear-gradient(135deg,rgba(95,149,184,.25),rgba(45,109,155,.18))}
.grid > .card:nth-child(6n+2),.component-list > li:nth-child(6n+2),.split .card:nth-child(6n+2){--tile-fill:linear-gradient(135deg,rgba(68,157,166,.24),rgba(121,188,190,.18))}
.grid > .card:nth-child(6n+3),.component-list > li:nth-child(6n+3),.split .card:nth-child(6n+3){--tile-fill:linear-gradient(135deg,rgba(19,93,135,.23),rgba(79,142,171,.17))}
.grid > .card:nth-child(6n+4),.component-list > li:nth-child(6n+4),.split .card:nth-child(6n+4){--tile-fill:linear-gradient(135deg,rgba(66,128,157,.24),rgba(130,178,195,.18))}
.grid > .card:nth-child(6n+5),.component-list > li:nth-child(6n+5),.split .card:nth-child(6n+5){--tile-fill:linear-gradient(135deg,rgba(50,139,145,.24),rgba(101,174,183,.18))}
.grid > .card:nth-child(6n+6),.component-list > li:nth-child(6n+6),.split .card:nth-child(6n+6){--tile-fill:linear-gradient(135deg,rgba(115,155,186,.25),rgba(92,144,173,.19))}
.grid > .card:hover,.grid > .card:focus-within,
.split .card:hover,.split .card:focus-within,
.component-list > li:hover{
  filter:saturate(1.13) brightness(.98);
  box-shadow:none;
  transform:none;
}
/* Contact cards sometimes contain a long address; keep it within the hex's safe centre. */
.grid > .card a{text-decoration:none;color:#0a4977;overflow-wrap:anywhere}
/* The single About card has more text than the standard tiles. */
.split .card{font-size:13px}
.split .card h3{font-size:18px;margin-bottom:9px}
.split .card p{font-size:12px;line-height:1.32;margin-bottom:5px}
@media (max-width:800px){
  .grid > .card,.split .card,.component-list > li{width:100%;max-width:420px;justify-self:center;}
  .grid > .card h3{font-size:clamp(16px,4.2vw,19px);margin-bottom:8px}
  .grid > .card p{font-size:clamp(12px,3.3vw,14px);line-height:1.35}
  .split .card h3{font-size:16px;margin-bottom:4px}
  .split .card p{font-size:clamp(10px,2.7vw,12px);line-height:1.24;margin-bottom:4px}
  .component-list{grid-template-columns:1fr;max-width:420px;gap:14px}
  .component-list > li{font-size:clamp(12px,3.5vw,14px);padding:9% 17%}
}
@media (max-width:360px){
  .grid > .card h3{font-size:16px}
  .grid > .card p{font-size:12px}
  .split .card > *{width:74%;max-width:74%}
  .split .card h3{font-size:14px}
  .split .card p{font-size:10px;line-height:1.2;margin-bottom:3px}
}

/* Responsive legibility for long corporate details. */
.about-mini-tiles{display:none}
@media (max-width:700px){
  .split > .card {display:none}
  .about-mini-tiles{display:grid;grid-template-columns:1fr;gap:14px;justify-items:center}
  .about-mini-tiles .card{width:100%;max-width:420px;aspect-ratio:1000/866}
  .about-mini-tiles .card > *{width:69%;max-width:69%}
  .about-mini-tiles .card h3{font-size:clamp(16px,4.1vw,18px);line-height:1.2;margin-bottom:8px}
  .about-mini-tiles .card p{font-size:clamp(12px,3.2vw,14px);line-height:1.38;margin-bottom:7px}
}
@media (max-width:360px){
  .hex-grid .hex-card>* {width:64%;max-width:64%}
  .hex-grid .hex-card h3{font-size:14px;line-height:1.15;margin-bottom:5px}
  .hex-grid .hex-card p{font-size:10px;line-height:1.23}
  .hex-grid .hex-card .card-more{font-size:10.5px;margin-top:6px}
  .about-mini-tiles .card h3{font-size:15px}
  .about-mini-tiles .card p{font-size:12px;line-height:1.3}
}
/* Prevent long Russian direction titles from widening very narrow viewports. */
@media (max-width:360px){
  .pagehead h1{overflow-wrap:anywhere;hyphens:auto;font-size:clamp(29px,9.3vw,36px)}
}


/* v14: honeycomb placements and larger typography for direction-detail tiles.
   All brand colours, rounded hexagon masks and existing copy are preserved. */
/* Services: two staggered rows (3+3) rather than a plain rectangular grid. */
.grid.service-hive{
  display:grid;
  grid-template-columns:repeat(14,minmax(0,1fr));
  max-width:1110px;
  margin:34px auto 0;
  column-gap:0;
  row-gap:8px;
  align-items:center;
  justify-items:center;
}
.service-hive>.card{grid-column:span 4; width:100%; min-width:0; max-width:none;}
.service-hive>.card:nth-child(1){grid-column:1/span 4;grid-row:1}
.service-hive>.card:nth-child(2){grid-column:5/span 4;grid-row:1}
.service-hive>.card:nth-child(3){grid-column:9/span 4;grid-row:1}
.service-hive>.card:nth-child(4){grid-column:3/span 4;grid-row:2}
.service-hive>.card:nth-child(5){grid-column:7/span 4;grid-row:2}
.service-hive>.card:nth-child(6){grid-column:11/span 4;grid-row:2}
.service-hive>.card h3{font-size:clamp(17px,1.42vw,20px);line-height:1.18;margin-bottom:9px}
.service-hive>.card p{font-size:clamp(13px,1.05vw,15px);line-height:1.36}
/* Contacts: two on top, one exactly centred beneath them. */
.grid.contact-hive{
  display:grid;
  grid-template-columns:repeat(10,minmax(0,1fr));
  max-width:1060px;
  margin:34px auto 0;
  gap:8px 0;
  align-items:center;
  justify-items:center;
}
.contact-hive>.card{grid-column:span 4;width:100%;min-width:0;max-width:none}
.contact-hive>.card:nth-child(1){grid-column:1/span 4;grid-row:1}
.contact-hive>.card:nth-child(2){grid-column:7/span 4;grid-row:1}
.contact-hive>.card:nth-child(3){grid-column:4/span 4;grid-row:2}
/* Detail pages: pairwise staggered hexes, with a final centred tile when odd. */
.component-list.detail-hive{
  display:grid;
  grid-template-columns:repeat(10,minmax(0,1fr));
  max-width:1030px;
  margin:35px auto 0;
  column-gap:0;
  row-gap:7px;
  align-items:center;
  justify-items:center;
  padding:0;
}
.detail-hive>li{
  grid-column:span 4;
  width:100%;
  max-width:none;
  padding:9% 15%;
  font-size:clamp(17px,1.32vw,19px);
  font-weight:550;
  line-height:1.4;
  letter-spacing:-.012em;
  hyphens:auto;
  overflow-wrap:break-word;
}
.detail-hive>li:nth-child(4n+1){grid-column:1/span 4}
.detail-hive>li:nth-child(4n+2){grid-column:7/span 4}
.detail-hive>li:nth-child(4n+3){grid-column:2/span 4}
.detail-hive>li:nth-child(4n+4){grid-column:6/span 4}
.detail-hive>li:last-child:nth-child(odd){grid-column:4/span 4}
.detail-hive>li.density-large{font-size:clamp(20px,1.65vw,23px);line-height:1.33;font-weight:600}
.detail-hive>li.density-medium{font-size:clamp(18px,1.46vw,20px);line-height:1.35}
.detail-hive>li.density-long{font-size:clamp(17px,1.32vw,19px);line-height:1.38}
/* The About page keeps its one-hex company details, and mobile mini-cards are staggered. */
@media (min-width:701px) and (max-width:1100px){
  .service-hive>.card h3{font-size:clamp(14.5px,1.7vw,18px)}
  .service-hive>.card p{font-size:clamp(11.5px,1.3vw,14px)}
}
@media (max-width:800px){
  .grid.service-hive,.grid.contact-hive,.component-list.detail-hive{
    grid-template-columns:repeat(10,minmax(0,1fr));
    max-width:620px;
    column-gap:0;
    row-gap:9px;
    margin-top:26px;
  }
  .service-hive>.card:nth-child(n),
  .contact-hive>.card:nth-child(n),
  .detail-hive>li:nth-child(n){grid-row:auto;grid-column:auto;max-width:none;width:100%}
  .service-hive>.card:nth-child(2n+1),.detail-hive>li:nth-child(2n+1){grid-column:1/span 6}
  .service-hive>.card:nth-child(2n),.detail-hive>li:nth-child(2n){grid-column:5/span 6}
  .contact-hive>.card:nth-child(1){grid-column:1/span 6}
  .contact-hive>.card:nth-child(2){grid-column:5/span 6}
  .contact-hive>.card:nth-child(3){grid-column:3/span 6}
  .detail-hive>li:last-child:nth-child(odd){grid-column:3/span 6}
  .service-hive>.card h3{font-size:clamp(15px,2.4vw,18px)}
  .service-hive>.card p{font-size:clamp(11.5px,1.8vw,14px)}
  .detail-hive>li.density-large{font-size:clamp(18px,2.65vw,21px)}
  .detail-hive>li.density-medium{font-size:clamp(17px,2.55vw,19px)}
  .detail-hive>li.density-long{font-size:clamp(16px,2.4vw,18px)}
}
@media (max-width:620px){
  .grid.service-hive,.grid.contact-hive,.component-list.detail-hive{
    display:grid;
    grid-template-columns:minmax(0,1fr);
    max-width:420px;
    row-gap:12px;
    justify-items:center;
  }
  .grid.service-hive>.card:nth-child(n),
  .grid.contact-hive>.card:nth-child(n),
  .component-list.detail-hive>li:nth-child(n){
    grid-column:1/-1;
    grid-row:auto;
    width:100%;
    max-width:420px;
  }
  .service-hive>.card h3{font-size:clamp(16px,4.4vw,19px)}
  .service-hive>.card p{font-size:clamp(12.5px,3.55vw,14.5px)}
  .component-list.detail-hive>li.density-large{font-size:clamp(20px,5.25vw,23px)}
  .component-list.detail-hive>li.density-medium{font-size:clamp(18px,4.95vw,21px)}
  .component-list.detail-hive>li.density-long{font-size:clamp(17px,4.45vw,19px)}
  .about-mini-tiles .card:nth-child(even){transform:translateX(7px)}
}

/* v14 narrow-screen refinements: keep long descriptions within the hex silhouette. */
@media (min-width:801px){
  .grid.service-hive{column-gap:4px}
}
@media (max-width:360px){
  .component-list.detail-hive{
    width:calc(100% + 24px);
    margin-left:-12px;
  }
  .component-list.detail-hive>li.density-large{font-size:clamp(19px,5.75vw,21px);line-height:1.28}
  .component-list.detail-hive>li.density-medium{font-size:16.5px;line-height:1.3}
  .component-list.detail-hive>li.density-long{font-size:15.8px;line-height:1.29}
  .about-mini-tiles{width:calc(100% + 24px);margin-left:-12px}
  .about-mini-tiles .card:nth-child(even){transform:translateX(0)}
}
@media (max-width:360px){
  .component-list.detail-hive>li.density-long{font-size:15.5px}
}

/* Small-screen honeycomb rhythm: subtle alternating horizontal offsets without clipping. */
@media (max-width:620px){
  .service-hive>.card:nth-child(odd),
  .contact-hive>.card:nth-child(odd),
  .detail-hive>li:nth-child(odd){transform:translateX(-7px)}
  .service-hive>.card:nth-child(even),
  .contact-hive>.card:nth-child(even),
  .detail-hive>li:nth-child(even){transform:translateX(7px)}
}

/* v15: wrap tile copy only between complete words; no automatic syllable hyphenation. */
.hex-grid .hex-card,
.hex-grid .hex-card *,
.grid > .card,
.grid > .card *,
.split .card,
.split .card *,
.about-mini-tiles .card,
.about-mini-tiles .card *,
.component-list > li,
.component-list > li * {
  hyphens:none;
  -webkit-hyphens:none;
  -ms-hyphens:none;
  word-break:normal;
  overflow-wrap:normal;
  word-wrap:normal;
}


/* v16: four contact hexagons in a staggered 2+2 arrangement. */
@media (min-width:801px) {
  .contact-hive>.card:nth-child(3){grid-column:2/span 4;grid-row:2}
  .contact-hive>.card:nth-child(4){grid-column:6/span 4;grid-row:2}
}
@media (min-width:621px) and (max-width:800px) {
  .contact-hive>.card:nth-child(3){grid-column:1/span 6;grid-row:auto}
  .contact-hive>.card:nth-child(4){grid-column:5/span 6;grid-row:auto}
}
@media (max-width:620px) {
  .grid.contact-hive>.card:nth-child(n){grid-column:1/-1;grid-row:auto}
}


/* v17: the TWO existing home-page action links styled as rounded, translucent hex tiles. */
.home-hex-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:12px;
  max-width:600px;
  margin-top:32px;
}
.home-hex-tile{
  display:flex;
  flex-direction:column;
  justify-content:center;
  align-items:center;
  gap:11px;
  min-width:0;
  width:100%;
  aspect-ratio:1000/866;
  padding:15% 16%;
  text-align:center;
  color:#123e60;
  background:linear-gradient(135deg,rgba(95,149,184,.30),rgba(45,109,155,.20));
  -webkit-mask-image:var(--rounded-hex-mask);
  mask-image:var(--rounded-hex-mask);
  -webkit-mask-size:100% 100%;
  mask-size:100% 100%;
  -webkit-mask-position:center;
  mask-position:center;
  -webkit-mask-repeat:no-repeat;
  mask-repeat:no-repeat;
  font-family:"Trebuchet MS","Segoe UI",system-ui,sans-serif;
  hyphens:none;
  overflow-wrap:normal;
  word-break:normal;
  transition:filter .2s ease;
}
.home-hex-tile:nth-child(2){background:linear-gradient(135deg,rgba(68,157,166,.29),rgba(121,188,190,.22))}
.home-hex-tile:hover,.home-hex-tile:focus-visible{color:#123e60;filter:brightness(.94)}
.home-hex-tile:focus-visible{outline:2px solid #0a4977;outline-offset:3px}
.home-hex-title{font-size:clamp(21px,2.1vw,25px);font-weight:700;line-height:1.24;max-width:79%}
.home-hex-more{font-size:13px;font-weight:650;color:#0a4977}
@media (max-width:640px){
  .home-hex-grid{grid-template-columns:minmax(0,1fr);max-width:310px;gap:12px;margin:28px auto 0}
  .home-hex-title{font-size:clamp(21px,6vw,25px)}
}


/* v18: all rounded hexagon tiles point UP, matching the six-sided logo geometry.
   Change only their silhouette and text-safe interior; the text stays horizontal. */
:root { --rounded-hex-mask: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22866%22%20height%3D%221000%22%20viewBox%3D%220%200%20866%201000%22%3E%3Cpath%20d%3D%22M%20385.4%2027.5%20Q%20433%200%20480.6%2027.5%20L%20818.4%20222.5%20Q%20866%20250%20866%20305%20L%20866%20695%20Q%20866%20750%20818.4%20777.5%20L%20480.6%20972.5%20Q%20433%201000%20385.4%20972.5%20L%2047.6%20777.5%20Q%200%20750%200%20695%20L%200%20305%20Q%200%20250%2047.6%20222.5%20Z%22%20fill%3D%22black%22%2F%3E%3C%2Fsvg%3E"); }
.hex-grid .hex-card,
.grid > .card,
.split > .card,
.about-mini-tiles > .card,
.component-list > li,
.home-hex-tile {
  aspect-ratio: 866 / 1000;
  -webkit-mask-image: var(--rounded-hex-mask);
  mask-image: var(--rounded-hex-mask);
  -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;
  -webkit-mask-position: center;
  mask-position: center;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  border: none;
  border-radius: 0;
}
/* The small About tiles previously did not inherit the shaped silhouette. */
.about-mini-tiles > .card {
  display:flex;
  flex-direction:column;
  justify-content:center;
  align-items:center;
  text-align:center;
  padding:0;
  background:var(--tile-fill,linear-gradient(135deg,rgba(95,149,184,.25),rgba(45,109,155,.18)));
}
.about-mini-tiles > .card:nth-child(even) {
  --tile-fill:linear-gradient(135deg,rgba(68,157,166,.24),rgba(121,188,190,.18));
}
/* In the taller upright shape, the wider central band accommodates full words. */
.hex-grid .hex-card > * {width:77%;max-width:77%}
.grid > .card > *,
.split > .card > *,
.about-mini-tiles > .card > *{width:77%;max-width:77%}
.component-list > li {padding:15% 11%;}
.home-hex-tile {padding:15% 10%;}
.home-hex-title {max-width:83%;}
@media (max-width:700px) {
  .hex-grid .hex-card > * {width:77%;max-width:77%}
  .about-mini-tiles > .card {aspect-ratio:866/1000;}
  .about-mini-tiles > .card > * {width:77%;max-width:77%}
}
@media (max-width:360px) {
  .hex-grid .hex-card > *{width:78%;max-width:78%}
  .split > .card > *{width:78%;max-width:78%}
  .about-mini-tiles > .card > *{width:80%;max-width:80%}
}
/* Keep the compact navigation within 280–320px screens too. */
@media (max-width:320px) {
  .head {gap:8px;}
  .head.wrap {padding-left:16px;padding-right:16px;}
  .logo img {width:160px;height:50px;}
}
@media (max-width:320px) {
  .hero h1 {font-size:29px;letter-spacing:-.045em;}
}

/* v19: ensure a visible air gap between neighbouring upright hexes.
   Earlier honeycomb grids placed some tiles on adjacent grid tracks with
   column-gap:0, making their vertical sides touch. */
@media (min-width:801px) {
  .grid.service-hive,
  .grid.contact-hive,
  .component-list.detail-hive {
    column-gap:28px;
    row-gap:26px;
  }
  .grid.service-hive { column-gap:24px; }
  .hex-grid { column-gap:24px; row-gap:24px; }
}
@media (min-width:621px) and (max-width:800px) {
  .grid.service-hive,
  .grid.contact-hive,
  .component-list.detail-hive { row-gap:24px; column-gap:12px; }
  .hex-grid { column-gap:18px; row-gap:22px; }
}
@media (max-width:620px) {
  .grid.service-hive,
  .grid.contact-hive,
  .component-list.detail-hive,
  .hex-grid,
  .about-mini-tiles,
  .home-hex-grid { row-gap:24px; }
}


/* v20: bring the top contact hexes closer together so they align symmetrically with the lower pair. */
@media (min-width:801px) {
  .contact-hive>.card:nth-child(1){grid-column:2/span 4;grid-row:1}
  .contact-hive>.card:nth-child(2){grid-column:6/span 4;grid-row:1}
}


/* v21: increase typography inside the large about-page company hex. */
.company-card h3{font-size:clamp(21px,1.7vw,25px);margin-bottom:12px;line-height:1.18}
.company-card p{font-size:clamp(14px,1.05vw,16px);line-height:1.4;margin-bottom:8px}
@media (max-width:700px){
  .about-mini-tiles .company-card h3{font-size:clamp(17px,4.4vw,20px);margin-bottom:8px}
  .about-mini-tiles .company-card p{font-size:clamp(12.5px,3.45vw,14.5px);line-height:1.38;margin-bottom:6px}
}


/* v22: make the text inside the main about-page hex noticeably larger. */
@media (min-width:701px){
  .split > .company-card h3{font-size:clamp(28px,2.2vw,34px) !important; margin-bottom:16px !important; line-height:1.16 !important;}
  .split > .company-card p{font-size:clamp(18px,1.3vw,21px) !important; line-height:1.48 !important; margin-bottom:10px !important;}
}
@media (max-width:700px){
  .about-mini-tiles .company-card h3{font-size:clamp(19px,5vw,22px) !important; margin-bottom:10px !important;}
  .about-mini-tiles .company-card p{font-size:clamp(14px,3.8vw,16px) !important; line-height:1.42 !important; margin-bottom:7px !important;}
}
