/* Tiewrap Construction page (Oct 2026). Sits on top of tiewrap-2026.css: same fonts, buttons and orange actions;
   the deep navy and soft sky of the company profile for the construction side. */
.cn-page {
  --cn-navy: #14284b;
  --cn-deep: #0c1a33;
  --cn-sky: #eef4f9;
  --cn-ink: #1f2c44;
  --cn-text: #5f6b80;
  --cn-line: #dde5ee;
  --cn-radius: 14px;
  --cn-shadow: 0 18px 50px rgba(12, 26, 51, .14);
  --cn-top: 72px;          /* header height, set by cn.js */
  background: #fff;
}
.cn-page main h2, .cn-page main h3 { color: var(--cn-ink); }
.cn-sec { padding: 96px 0; scroll-margin-top: calc(var(--cn-top) + 52px); }
.cn-page #contact { scroll-margin-top: calc(var(--cn-top) + 52px); }
.cn-page .cn-kicker { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 14px; color: var(--tw-orange, #fd871f); font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.cn-page .cn-kicker::before { content: ""; width: 28px; height: 2px; background: currentColor; }
html[dir="rtl"] .cn-page .cn-kicker { letter-spacing: 0; font-size: 15px; }
.cn-head { max-width: 680px; margin: 0 auto 48px; text-align: center; }
.cn-head h2 { font-size: clamp(28px, 3vw, 38px); margin: 0 0 12px; }
.cn-head p { color: var(--cn-text); font-size: 17px; line-height: 1.7; margin: 0; }

/* ---------- hero ---------- */
.cn-hero { position: relative; padding: 72px 0 0; color: #fff; overflow: hidden;
  background: radial-gradient(70% 90% at 90% 10%, rgba(64, 132, 170, .45), transparent 70%), linear-gradient(160deg, var(--cn-navy) 0%, var(--cn-deep) 70%); }
.cn-hero::after { content: ""; position: absolute; inset: auto 0 0 0; height: 120px; background: #fff; }
.cn-hero-in { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 56px; align-items: center; padding-bottom: 40px; }
.cn-hero-in::before, .cn-hero-in::after { display: none; }
.cn-eyebrow { margin: 0 0 18px; color: #ffc48f; font-size: 14px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
html[dir="rtl"] .cn-eyebrow { letter-spacing: 0; font-size: 16px; }
.cn-hero h1 { color: #fff; font-size: clamp(34px, 4.2vw, 54px); line-height: 1.1; font-weight: 700; margin: 0 0 20px; }
html[dir="rtl"] .cn-hero h1 { line-height: 1.35; }
.cn-lead { color: rgba(255, 255, 255, .8); font-size: 18px; line-height: 1.7; margin: 0 0 30px; max-width: 32em; }
.cn-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 22px; }
.cn-btn { padding: 14px 26px; font-size: 15px; border-radius: 10px; transition: background-color .2s, border-color .2s, transform .2s; }
.cn-btn.tw-btn-orange { box-shadow: 0 10px 24px rgba(253, 135, 31, .3); }
.cn-btn:hover { transform: translateY(-1px); }
.cn-btn-ghost { background: transparent; color: #fff; border: 1px solid rgba(255, 255, 255, .45); }
.cn-btn-ghost:hover, .cn-btn-ghost:focus { background: #fff; color: var(--cn-navy); border-color: #fff; }
.cn-pdf { color: rgba(255, 255, 255, .75); font-size: 14px; border-bottom: 1px solid rgba(255, 255, 255, .3); padding-bottom: 2px; }
.cn-pdf:hover, .cn-pdf:focus { color: #fff; border-color: #fff; text-decoration: none; }
.cn-pdf .fa { color: #ffc48f; margin-inline-end: 4px; }

.cn-mosaic { display: grid; grid-template-columns: 1.6fr 1fr; grid-template-rows: 1fr 1fr; gap: 14px; height: 470px; }
.cn-mosaic-1 { grid-template-columns: 1fr; grid-template-rows: 1fr; }
.cn-mosaic-2 { grid-template-rows: 1fr; }
.cn-tile { position: relative; margin: 0; border-radius: var(--cn-radius); overflow: hidden; box-shadow: 0 24px 60px rgba(0, 0, 0, .35); }
.cn-tile img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cn-tile-0 { grid-row: 1 / span 2; }
.cn-mosaic-2 .cn-tile-0 { grid-row: auto; }
.cn-tile figcaption { position: absolute; inset: auto 0 0 0; padding: 40px 18px 16px; color: #fff; font-weight: 600; font-size: 15px;
  background: linear-gradient(transparent, rgba(8, 16, 32, .85)); }
.cn-tile figcaption span { display: block; font-weight: 400; font-size: 13px; color: rgba(255, 255, 255, .75); }

.cn-stats { position: relative; z-index: 2; list-style: none; margin: 0; padding: 26px 10px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  background: #fff; border-radius: var(--cn-radius); box-shadow: var(--cn-shadow); color: var(--cn-ink); }
.cn-stats li { padding: 4px 22px; text-align: center; border-inline-start: 1px solid var(--cn-line); }
.cn-stats li:first-child { border-inline-start: 0; }
.cn-stats strong { display: block; font-size: clamp(28px, 3vw, 40px); line-height: 1.1; font-weight: 700; color: var(--cn-navy); }
.cn-stats span { display: block; margin-top: 6px; font-size: 14px; color: var(--cn-text); }

/* ---------- section links ---------- */
.cn-subnav { position: sticky; top: var(--cn-top); z-index: 90; margin-top: 18px; background: rgba(255, 255, 255, .94); border-bottom: 1px solid var(--cn-line);
  -webkit-backdrop-filter: saturate(1.4) blur(8px); backdrop-filter: saturate(1.4) blur(8px); }
.cn-subnav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; }
.cn-subnav ul::-webkit-scrollbar { display: none; }
.cn-subnav a { display: block; padding: 15px 14px; font-size: 14px; font-weight: 600; color: var(--cn-text); white-space: nowrap; border-bottom: 2px solid transparent; }
.cn-subnav a:hover, .cn-subnav a:focus { color: var(--cn-navy); text-decoration: none; }
.cn-subnav a.is-on { color: var(--cn-navy); border-bottom-color: var(--tw-orange, #fd871f); }

/* ---------- about ---------- */
.cn-split { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 64px; align-items: center; }
.cn-split::before, .cn-split::after, .cn-vision-in::before, .cn-vision-in::after, .cn-team-in::before, .cn-team-in::after { display: none; }
.cn-about h2, .cn-team h2 { font-size: clamp(28px, 3vw, 38px); line-height: 1.2; margin: 0 0 18px; }
.cn-about p, .cn-team p { color: var(--cn-text); font-size: 16px; line-height: 1.8; }
.cn-checks { list-style: none; padding: 0; margin: 24px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px 20px; }
.cn-checks li { display: flex; align-items: center; gap: 10px; font-weight: 600; color: var(--cn-ink); font-size: 15px; }
.cn-checks .fa { flex: none; width: 26px; height: 26px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-size: 12px; color: #fff; background: var(--cn-navy); }
.cn-about-img { position: relative; margin: 0; }
.cn-about-img img { width: 100%; height: auto; border-radius: var(--cn-radius); box-shadow: var(--cn-shadow); display: block; }
.cn-about-img::before { content: ""; position: absolute; inset: 28px -18px -18px 28px; border: 2px solid var(--tw-orange, #fd871f); border-radius: var(--cn-radius); z-index: -1; }
html[dir="rtl"] .cn-about-img::before { inset: 28px 28px -18px -18px; }

/* ---------- what we build ---------- */
.cn-build { background: var(--cn-sky); }
.cn-cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; }
.cn-card { background: #fff; border-radius: var(--cn-radius); padding: 30px 24px; border: 1px solid var(--cn-line); transition: transform .25s, box-shadow .25s; }
.cn-card:hover { transform: translateY(-4px); box-shadow: var(--cn-shadow); }
.cn-icon { display: inline-flex; align-items: center; justify-content: center; width: 54px; height: 54px; margin-bottom: 18px; border-radius: 14px; background: var(--cn-navy); color: #fff; font-size: 22px; }
.cn-card h3 { font-size: 19px; margin: 0 0 10px; }
.cn-card p { color: var(--cn-text); font-size: 15px; line-height: 1.7; margin: 0; }

/* ---------- vision and goals ---------- */
.cn-vision-in { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 64px; align-items: center; }
.cn-vision-img { margin: 0; }
.cn-vision-img img { width: 100%; height: 560px; object-fit: cover; border-radius: var(--cn-radius); display: block; box-shadow: var(--cn-shadow); }
.cn-vision-quote { font-size: clamp(22px, 2.2vw, 28px) !important; line-height: 1.55; font-weight: 500; margin: 0 0 40px; }
.cn-kicker-goals { margin-bottom: 8px; }
.cn-goals { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0 28px; }
.cn-goals li { display: flex; gap: 14px; padding: 18px 0; border-top: 1px solid var(--cn-line); color: var(--cn-ink); font-size: 15px; line-height: 1.6; }
.cn-goals span { flex: none; font-weight: 700; color: var(--tw-orange, #fd871f); font-size: 15px; }

/* ---------- chairman ---------- */
.cn-message { position: relative; padding: 110px 0; color: #fff; text-align: center;
  background: linear-gradient(rgba(12, 26, 51, .78), rgba(12, 26, 51, .9)), var(--cn-lines) center / cover no-repeat, var(--cn-deep); }
.cn-message figure { max-width: 860px; margin: 0 auto; }
.cn-page .cn-message .cn-kicker { color: #ffc48f; }
.cn-message blockquote { margin: 0; padding: 0; border: 0; }
.cn-message blockquote p { color: #fff; font-size: clamp(19px, 2vw, 24px); line-height: 1.7; font-weight: 400; margin: 0 0 18px; }
.cn-message blockquote::before { content: "\201C"; display: block; font-size: 90px; line-height: .6; color: var(--tw-orange, #fd871f); font-family: Georgia, serif; margin-bottom: 16px; }
html[dir="rtl"] .cn-message blockquote::before { content: "\201D"; }
.cn-message .cn-plan { font-size: 17px !important; color: rgba(255, 255, 255, .75) !important; }
.cn-message figcaption { margin-top: 24px; font-weight: 600; color: #ffc48f; letter-spacing: .04em; }

/* ---------- team ---------- */
.cn-team-in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: start; }
.cn-org { margin: 28px 0; }
.cn-org-top { width: max-content; max-width: 100%; margin: 0 auto 26px; padding: 12px 22px; border-radius: 10px; background: var(--cn-navy); color: #fff; font-weight: 600; position: relative; }
.cn-org-top::after { content: ""; position: absolute; top: 100%; left: 50%; width: 2px; height: 14px; background: var(--cn-line); }
.cn-org-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; border-top: 2px solid var(--cn-line); padding-top: 14px; }
.cn-org-col { background: var(--cn-sky); border-radius: 12px; padding: 16px 18px; }
.cn-org-col strong { display: block; color: var(--cn-ink); margin-bottom: 8px; }
.cn-org-col span { display: inline-block; margin: 4px 6px 0 0; padding: 4px 10px; border-radius: 999px; background: #fff; border: 1px solid var(--cn-line); font-size: 13px; color: var(--cn-text); }
html[dir="rtl"] .cn-org-col span { margin: 4px 0 0 6px; }
.cn-team-photos { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.cn-team-photos img { width: 100%; height: 260px; object-fit: cover; border-radius: var(--cn-radius); display: block; }
.cn-numbers { background: var(--cn-deep); color: #fff; border-radius: 18px; padding: 30px 30px 22px; box-shadow: var(--cn-shadow); }
.cn-numbers table { width: 100%; border-collapse: collapse; }
.cn-numbers th, .cn-numbers td { padding: 11px 0; border-bottom: 1px solid rgba(255, 255, 255, .1); font-size: 15px; vertical-align: middle; }
.cn-numbers th { font-weight: 500; color: rgba(255, 255, 255, .86); text-align: start; width: 46%; padding-inline-end: 12px; }
.cn-numbers td:nth-child(2) { width: 42%; }
.cn-bar { display: block; height: 8px; border-radius: 4px; background: linear-gradient(90deg, #ffb066, var(--tw-orange, #fd871f)); }
html[dir="rtl"] .cn-bar { background: linear-gradient(270deg, #ffb066, var(--tw-orange, #fd871f)); }
.cn-num { text-align: end; font-weight: 700; font-variant-numeric: tabular-nums; width: 12%; padding-inline-start: 12px; }
.cn-numbers tfoot th, .cn-numbers tfoot td { border-bottom: 0; padding-top: 16px; font-size: 18px; font-weight: 700; color: #fff; }
.cn-numbers tfoot .cn-num { color: #ffc48f; font-size: 24px; }

/* ---------- projects ---------- */
.cn-projects { background: var(--cn-sky); }
.cn-filters { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: -16px 0 28px; }
.cn-filter { background: #fff; border: 1px solid var(--cn-line); border-radius: 999px; padding: 8px 16px; font-size: 14px; font-weight: 600; color: var(--cn-ink); cursor: pointer; transition: background-color .2s, border-color .2s; }
.cn-filter:hover { border-color: var(--cn-navy); }
.cn-filter[aria-pressed="true"] { background: var(--cn-navy); border-color: var(--cn-navy); color: #fff; }
.cn-filter:focus-visible, .cn-shot:focus-visible { outline: 3px solid var(--tw-orange, #fd871f); outline-offset: 2px; }
.cn-gallery { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.cn-gallery.is-short li[data-more] { display: none; }
.cn-more { display: block; margin: 26px auto 0; }
.cn-more[hidden] { display: none; }
.cn-gallery li[hidden] { display: none; }
.cn-shot { position: relative; display: block; border-radius: 12px; overflow: hidden; aspect-ratio: 4 / 3; background: #d9e2ec; }
.cn-shot img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s ease; }
.cn-shot:hover img, .cn-shot:focus img { transform: scale(1.05); }
.cn-shot-cap { position: absolute; inset: auto 0 0 0; padding: 36px 16px 14px; color: #fff; background: linear-gradient(transparent, rgba(8, 16, 32, .82)); }
.cn-shot-cap strong { display: block; font-size: 15px; font-weight: 600; }
.cn-shot-cap small { display: block; font-size: 13px; color: rgba(255, 255, 255, .78); }
.cn-label { position: absolute; top: 12px; inset-inline-start: 12px; padding: 4px 10px; border-radius: 999px; font-style: normal; font-size: 12px; font-weight: 700; color: #fff; background: rgba(12, 26, 51, .78); }
.cn-label-building { background: var(--tw-orange, #fd871f); }

.cn-list-title { text-align: center; font-size: 24px; margin: 72px 0 26px; }
.cn-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; align-items: start; }
.cn-city { background: #fff; border-radius: var(--cn-radius); border: 1px solid var(--cn-line); overflow: hidden; }
.cn-city h4 { display: flex; align-items: center; gap: 10px; margin: 0; padding: 15px 22px; font-size: 18px; color: #fff; background: var(--cn-navy); }
.cn-city h4 span { margin-inline-start: auto; font-size: 13px; font-weight: 600; padding: 2px 10px; border-radius: 999px; background: rgba(255, 255, 255, .16); }
.cn-city ul { list-style: none; margin: 0; padding: 0; }
.cn-city li { padding: 16px 22px; border-bottom: 1px solid var(--cn-line); }
.cn-city li:last-child { border-bottom: 0; }
.cn-city li strong { display: block; color: var(--cn-ink); font-size: 16px; margin-bottom: 4px; }
.cn-city li p { margin: 0 0 6px; color: var(--cn-text); font-size: 15px; line-height: 1.6; }
.cn-city li small { display: flex; gap: 6px; color: var(--cn-text); font-size: 13px; }
.cn-city li small b { color: var(--cn-ink); font-weight: 600; white-space: nowrap; }

.cn-cr { text-align: center; color: var(--cn-text); font-size: 13px; margin: -40px auto 40px; }

/* ---------- photo viewer ---------- */
.cn-viewer { position: fixed; inset: 0; z-index: 2000; display: flex; align-items: center; justify-content: center; padding: 60px 70px; background: rgba(6, 12, 24, .94); }
.cn-viewer[hidden] { display: none; }
.cn-viewer figure { margin: 0; max-width: 100%; max-height: 100%; text-align: center; }
.cn-viewer img { max-width: 100%; max-height: calc(100vh - 160px); border-radius: 8px; display: block; margin: 0 auto; }
.cn-viewer figcaption { color: #fff; margin-top: 14px; font-size: 15px; }
.cn-viewer button { position: absolute; border: 0; background: rgba(255, 255, 255, .1); color: #fff; border-radius: 50%; width: 48px; height: 48px; font-size: 28px; line-height: 1; cursor: pointer; }
.cn-viewer button:hover, .cn-viewer button:focus-visible { background: rgba(255, 255, 255, .22); outline: none; }
.cn-viewer-x { top: 16px; inset-inline-end: 16px; }
.cn-viewer-prev { inset-inline-start: 14px; top: 50%; margin-top: -24px; }
.cn-viewer-next { inset-inline-end: 14px; top: 50%; margin-top: -24px; }
html.cn-lock, html.cn-lock body { overflow: hidden; }

/* ---------- floating WhatsApp (same as the other pages) ---------- */
.cn-page .float { position: fixed; width: 60px; height: 60px; bottom: 40px; right: 40px; z-index: 100; border-radius: 50%;
  background: #25d366; color: #fff; text-align: center; font-size: 30px; box-shadow: 0 8px 20px rgba(0, 0, 0, .18); }
.cn-page .my-float { margin-top: 15px; }
html[dir="rtl"] .cn-page .float { right: auto; left: 40px; }

/* ---------- gentle reveal while scrolling ---------- */
.cn-js .cn-reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.cn-js .cn-reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .cn-js .cn-reveal { opacity: 1; transform: none; transition: none; }
  .cn-card, .cn-btn, .cn-shot img { transition: none; }
}

/* ---------- smaller screens ---------- */
@media (max-width: 1199px) {
  .cn-gallery { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .cn-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cn-mosaic { height: 420px; }
}
@media (max-width: 991px) {
  .cn-sec { padding: 72px 0; }
  .cn-hero { padding-top: 44px; }
  .cn-hero-in, .cn-split, .cn-vision-in, .cn-team-in { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .cn-mosaic { height: 380px; }
  .cn-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 22px; }
  .cn-stats li:nth-child(3) { border-inline-start: 0; }
  .cn-vision-img img { height: 320px; }
  .cn-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cn-list { grid-template-columns: minmax(0, 1fr); }
  .cn-about-img { max-width: 560px; }
}
@media (max-width: 767px) {
  .cn-mosaic { height: 300px; gap: 10px; }
  .cn-about-img::before, html[dir="rtl"] .cn-about-img::before { inset: 14px 0 -10px 14px; }
  .cn-goals, .cn-checks { grid-template-columns: minmax(0, 1fr); }
  .cn-numbers { padding: 22px 18px 14px; }
  .cn-team-photos img { height: 200px; }
  .cn-message { padding: 80px 0; }
}
@media (max-width: 600px) {
  .cn-lead { font-size: 17px; }
  .cn-cta .tw-btn { flex: 1 1 100%; justify-content: center; text-align: center; }
  .cn-cards, .cn-gallery { grid-template-columns: minmax(0, 1fr); }
  .cn-gallery.is-short li[data-more-sm] { display: none; }
  .cn-mosaic { grid-template-columns: 1fr 1fr; grid-template-rows: 2fr 1fr; height: 340px; }
  .cn-tile-0 { grid-row: auto; grid-column: 1 / span 2; }
  .cn-stats { padding: 20px 6px; }
  .cn-stats li { padding: 4px 10px; }
  .cn-org-row { grid-template-columns: minmax(0, 1fr); }
  .cn-viewer { padding: 60px 12px; }
  .cn-viewer-prev, .cn-viewer-next { top: auto; bottom: 16px; margin-top: 0; }
  .cn-page .float { bottom: 20px; right: 20px; width: 54px; height: 54px; font-size: 27px; }
  html[dir="rtl"] .cn-page .float { left: 20px; right: auto; }
  .cn-page .my-float { margin-top: 13px; }
}
.cn-city li small span { color: var(--cn-text); font-size: 13px; }
