/* ==========================================================
   UniPro General Contracting — Static Website Stylesheet
   شركة المشاريع الفريدة للمقاولات العامة
   ========================================================== */

/* ---------- Font: IBM Plex Sans Arabic (self-hosted) ---------- */
@font-face { font-family: "IBM Plex Sans Arabic"; font-style: normal; font-weight: 400; font-display: swap;
  src: url("../assets/fonts/ibm-plex-sans-arabic-arabic-400-normal.woff2") format("woff2");
  unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC; }
@font-face { font-family: "IBM Plex Sans Arabic"; font-style: normal; font-weight: 400; font-display: swap;
  src: url("../assets/fonts/ibm-plex-sans-arabic-latin-400-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "IBM Plex Sans Arabic"; font-style: normal; font-weight: 500; font-display: swap;
  src: url("../assets/fonts/ibm-plex-sans-arabic-arabic-500-normal.woff2") format("woff2");
  unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC; }
@font-face { font-family: "IBM Plex Sans Arabic"; font-style: normal; font-weight: 500; font-display: swap;
  src: url("../assets/fonts/ibm-plex-sans-arabic-latin-500-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "IBM Plex Sans Arabic"; font-style: normal; font-weight: 600; font-display: swap;
  src: url("../assets/fonts/ibm-plex-sans-arabic-arabic-600-normal.woff2") format("woff2");
  unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC; }
@font-face { font-family: "IBM Plex Sans Arabic"; font-style: normal; font-weight: 600; font-display: swap;
  src: url("../assets/fonts/ibm-plex-sans-arabic-latin-600-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "IBM Plex Sans Arabic"; font-style: normal; font-weight: 700; font-display: swap;
  src: url("../assets/fonts/ibm-plex-sans-arabic-arabic-700-normal.woff2") format("woff2");
  unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC; }
@font-face { font-family: "IBM Plex Sans Arabic"; font-style: normal; font-weight: 700; font-display: swap;
  src: url("../assets/fonts/ibm-plex-sans-arabic-latin-700-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --navy-900: #0f2a3b;
  --navy-800: #12324a;
  --navy-700: #163b52;
  --navy-600: #1d4a63;
  --teal-600: #23808c;
  --teal-500: #2a95a3;
  --teal-300: #7cc9d2;
  --ink: #1b2d3a;
  --muted: #5d7180;
  --line: #dde7ec;
  --bg-soft: #f1f5f7;
  --white: #ffffff;
  --radius: 14px;
  --shadow: 0 12px 34px rgba(15, 42, 59, .10);
  --container: 1200px;
  --font: "IBM Plex Sans Arabic", "Segoe UI", Tahoma, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--white);
  line-height: 1.9;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { margin: 0 0 .5em; line-height: 1.35; font-weight: 700; color: var(--navy-800); }
p { margin: 0 0 1em; }

.container { width: min(var(--container), 92%); margin-inline: auto; }
.section { padding: 96px 0; }
.section--soft { background: var(--bg-soft); }
.section--dark { background: var(--navy-800); color: #dbe7ee; }
.section--dark h2, .section--dark h3 { color: var(--white); }
.section--image {
  position: relative; color: #dbe7ee;
  background-size: cover; background-position: center;
}
.section--image::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(15,42,59,.88), rgba(15,42,59,.94));
}
.section--image > * { position: relative; }
.section--image h2, .section--image h3 { color: var(--white); }

/* ---------- Section heading ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  color: var(--teal-500); font-weight: 700; font-size: 15px; letter-spacing: .3px;
  margin-bottom: 10px;
}
.eyebrow::before { content: ""; width: 28px; height: 3px; background: var(--teal-500); border-radius: 3px; }
.section-head { max-width: 760px; margin-bottom: 52px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .eyebrow { justify-content: center; }
.section-head h2 { font-size: clamp(28px, 3.4vw, 42px); }
.section-head p { color: var(--muted); font-size: 18px; }
.section--dark .section-head p, .section--image .section-head p { color: #a9c3cf; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 30px; border-radius: 50px; font-weight: 700; font-size: 16px;
  transition: .25s ease; border: 2px solid transparent; cursor: pointer; font-family: inherit;
}
.btn-primary { background: var(--teal-500); color: var(--white); }
.btn-primary:hover { background: var(--teal-600); transform: translateY(-2px); }
.btn-outline { border-color: rgba(255,255,255,.55); color: var(--white); }
.btn-outline:hover { background: var(--white); color: var(--navy-800); }
.btn-dark { background: var(--navy-700); color: var(--white); }
.btn-dark:hover { background: var(--navy-900); }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  transition: background .3s, box-shadow .3s, padding .3s;
  padding: 18px 0;
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.site-header .logo img { height: 46px; width: auto; }
.site-header .logo .logo-dark { display: none; }
.site-header.scrolled, .site-header.solid {
  background: rgba(255,255,255,.97); box-shadow: 0 4px 22px rgba(15,42,59,.08); padding: 10px 0;
}
.site-header.scrolled .logo-light, .site-header.solid .logo-light { display: none; }
.site-header.scrolled .logo-dark, .site-header.solid .logo-dark { display: block; }

.nav { display: flex; align-items: center; gap: 6px; }
.nav a {
  color: var(--white); font-weight: 600; padding: 8px 14px; border-radius: 8px; font-size: 16px;
  transition: .2s;
}
.nav a:hover, .nav a.active { color: var(--teal-300); }
.site-header.scrolled .nav a, .site-header.solid .nav a { color: var(--navy-700); }
.site-header.scrolled .nav a:hover, .site-header.scrolled .nav a.active,
.site-header.solid .nav a:hover, .site-header.solid .nav a.active { color: var(--teal-500); }
.nav .btn { padding: 10px 22px; margin-inline-start: 10px; color: var(--white) !important; }

.menu-toggle {
  display: none; background: none; border: 0; cursor: pointer; padding: 8px; color: var(--white);
}
.menu-toggle span { display: block; width: 26px; height: 2px; background: currentColor; margin: 6px 0; transition: .3s; }
.site-header.scrolled .menu-toggle, .site-header.solid .menu-toggle { color: var(--navy-700); }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100vh; display: flex; align-items: center;
  color: var(--white); overflow: hidden;
  background: var(--navy-900) center/cover no-repeat;
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(270deg, rgba(15,42,59,.95) 0%, rgba(15,42,59,.78) 45%, rgba(15,42,59,.35) 100%);
}
.hero .container { position: relative; padding: 140px 0 100px; }
.hero-content { max-width: 680px; }
.hero h1 { color: var(--white); font-size: clamp(34px, 5vw, 60px); margin-bottom: 18px; }
.hero h1 span { color: var(--teal-300); }
.hero p.lead { font-size: clamp(17px, 1.6vw, 21px); color: #cfe0e8; max-width: 600px; margin-bottom: 34px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 46px; }
.hero-badges span {
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.18);
  padding: 8px 16px; border-radius: 40px; font-size: 14px; color: #dbeaf0; backdrop-filter: blur(4px);
}
.hero-badges span b { color: var(--teal-300); }

/* Page hero (inner pages) */
.page-hero {
  position: relative; padding: 170px 0 90px; color: var(--white);
  background: var(--navy-800) center/cover no-repeat;
}
.page-hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(15,42,59,.82), rgba(15,42,59,.92)); }
.page-hero .container { position: relative; }
.page-hero h1 { color: var(--white); font-size: clamp(32px, 4.4vw, 52px); margin-bottom: 10px; }
.page-hero p { color: #b9d1db; font-size: 19px; max-width: 720px; margin: 0; }
.breadcrumb { font-size: 14px; color: var(--teal-300); margin-bottom: 14px; }
.breadcrumb a:hover { text-decoration: underline; }

/* ---------- Grid helpers ---------- */
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-5 { grid-template-columns: repeat(5, 1fr); }
.split { display: grid; grid-template-columns: 1.1fr .9fr; gap: 64px; align-items: center; }
.split.reverse > :first-child { order: 2; }

/* ---------- Cards ---------- */
.card {
  background: var(--white); border-radius: var(--radius); padding: 32px 28px;
  border: 1px solid var(--line); transition: .3s; position: relative;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.card h3 { font-size: 21px; margin-bottom: 10px; }
.card p { color: var(--muted); margin: 0; font-size: 16px; }
.card .num { position: absolute; top: 24px; left: 26px; font-weight: 700; color: var(--teal-500); font-size: 20px; }
.section--soft .card { border-color: transparent; }

.icon {
  width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center;
  background: var(--navy-700); color: var(--white); margin-bottom: 20px; flex-shrink: 0;
}
.icon svg { width: 26px; height: 26px; }
.icon.teal { background: var(--teal-500); }

.card-dark {
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius); padding: 32px 28px; transition: .3s;
}
.card-dark:hover { background: rgba(255,255,255,.09); transform: translateY(-4px); }
.card-dark h3 { color: var(--white); font-size: 21px; }
.card-dark p { color: #a9c3cf; margin: 0; }
.card-dark .icon { background: var(--teal-500); }

/* ---------- Intro / about ---------- */
.about-img { position: relative; }
.about-img img { border-radius: var(--radius); width: 100%; height: 520px; object-fit: cover; }
.about-img .tag {
  position: absolute; bottom: -26px; left: -26px; background: var(--teal-500); color: var(--white);
  padding: 22px 28px; border-radius: var(--radius); box-shadow: var(--shadow);
}
.about-img .tag b { display: block; font-size: 42px; line-height: 1; }
.about-img .tag span { font-size: 15px; }
.lead-text { font-size: 21px; font-weight: 700; color: var(--navy-700); line-height: 1.7; }
.muted { color: var(--muted); }

.pillars { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-top: 28px; }
.pillar { background: var(--bg-soft); border-radius: 12px; padding: 20px 22px; }
.pillar b { display: flex; justify-content: space-between; color: var(--navy-700); font-size: 18px; margin-bottom: 4px; }
.pillar b i { font-style: normal; color: var(--teal-500); }
.pillar p { margin: 0; color: var(--muted); font-size: 15px; }

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.stat {
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius); padding: 34px 26px; text-align: center;
}
.stat .value { font-size: 56px; font-weight: 700; color: var(--teal-300); line-height: 1; margin-bottom: 14px; direction: ltr; }
.stat h3 { color: var(--white); font-size: 20px; margin-bottom: 6px; }
.stat p { color: #a9c3cf; margin: 0; font-size: 15px; }

.rating-bar {
  margin-top: 26px; background: var(--teal-600); border-radius: var(--radius);
  padding: 26px 34px; display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
}
.rating-bar .label { display: flex; align-items: center; gap: 18px; }
.rating-bar .label .icon { background: var(--white); color: var(--teal-600); margin: 0; }
.rating-bar h3 { color: var(--white); margin: 0 0 2px; font-size: 22px; }
.rating-bar small { color: #d6f0f3; font-size: 15px; }
.rating-bar .scores { display: flex; gap: 48px; }
.rating-bar .scores div { text-align: center; color: var(--white); }
.rating-bar .scores b { display: block; font-size: 34px; line-height: 1.1; direction: ltr; }
.rating-bar .scores span { font-size: 14px; color: #d6f0f3; }

/* ---------- Services ---------- */
.service-card { background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: 0 2px 0 var(--line); transition: .3s; display: flex; flex-direction: column; }
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.service-card .thumb { position: relative; height: 220px; }
.service-card .thumb .ph { height: 100%; overflow: hidden; }
.service-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: .6s; }
.service-card:hover .thumb img { transform: scale(1.07); }
.service-card .thumb .icon { position: absolute; z-index: 2; bottom: -29px; right: 24px; margin: 0; background: var(--teal-500); border: 4px solid var(--white); }
.service-card .body { padding: 40px 24px 28px; flex: 1; display: flex; flex-direction: column; }
.service-card .body small { color: var(--teal-500); font-weight: 700; }
.service-card h3 { font-size: 20px; margin: 4px 0 10px; }
.service-card p { color: var(--muted); font-size: 15.5px; flex: 1; }
.link-more { color: var(--teal-600); font-weight: 700; display: inline-flex; align-items: center; gap: 6px; font-size: 15px; }
.link-more:hover { gap: 10px; }

/* Service detail block */
.service-detail { padding: 90px 0; border-bottom: 1px solid var(--line); scroll-margin-top: 80px; }
.service-detail:last-of-type { border-bottom: 0; }
.service-detail .big-num { font-size: 64px; font-weight: 700; color: var(--teal-500); line-height: 1; margin-bottom: 8px; }
.check-list li { position: relative; padding: 9px 40px 9px 0; border-bottom: 1px dashed var(--line); color: var(--ink); }
.check-list li:last-child { border-bottom: 0; }
.check-list li::before {
  content: ""; position: absolute; right: 0; top: 12px; width: 26px; height: 26px; border-radius: 50%;
  background: #e2f2f4 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232a95a3' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center/14px no-repeat;
}
.scope-title { color: var(--teal-500); font-weight: 700; margin: 26px 0 10px; font-size: 18px; }
.mosaic { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.mosaic img { width: 100%; height: 230px; object-fit: cover; border-radius: 12px; }
.mosaic img.wide { grid-column: span 2; height: 300px; }

.project-box { background: var(--navy-800); color: #cfe0e8; border-radius: var(--radius); padding: 28px; margin-top: 26px; }
.project-box small { color: var(--teal-300); font-weight: 700; }
.project-box h4 { color: var(--white); font-size: 22px; margin: 2px 0 18px; }
.project-box .meta { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 14px; }
.project-box .meta div { background: rgba(255,255,255,.07); border-radius: 10px; padding: 12px; text-align: center; }
.project-box .meta span { display: block; font-size: 13px; color: #a9c3cf; }
.project-box .meta b { color: var(--white); font-size: 16px; }
.project-box p { margin: 0; font-size: 15px; }

/* ---------- Process ---------- */
.process { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; position: relative; }
.process::before { content: ""; position: absolute; top: 74px; right: 10%; left: 10%; height: 2px; background: #cfe2e7; }
.step { text-align: center; position: relative; }
.step .n { color: var(--teal-500); font-weight: 700; margin-bottom: 8px; }
.step .icon { width: 88px; height: 88px; margin: 0 auto 18px; border: 6px solid var(--white); box-shadow: 0 0 0 1px var(--line); }
.step .icon svg { width: 34px; height: 34px; }
.step:last-child .icon { background: var(--teal-500); }
.step h3 { font-size: 19px; margin-bottom: 6px; }
.step p { color: var(--muted); font-size: 15px; margin: 0; }
.class-strip { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 46px; }
.class-strip div { background: var(--white); border-radius: 12px; padding: 18px 24px; font-weight: 700; color: var(--navy-700); display: flex; align-items: center; gap: 14px; }
.class-strip .icon { width: 42px; height: 42px; margin: 0; background: var(--teal-500); }
.class-strip .icon svg { width: 20px; height: 20px; }

/* ---------- VMV ---------- */
.vmv { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.vmv .card { padding: 36px 30px; }
.vmv .card .en { position: absolute; top: 30px; left: 30px; font-size: 12px; letter-spacing: 3px; color: var(--teal-500); font-weight: 700; }
.vmv .card.dark { background: var(--navy-700); }
.vmv .card.dark h3 { color: var(--white); }
.vmv .card.dark .icon { background: var(--teal-500); }
.vmv .card.dark li { color: #cfe0e8; padding: 8px 22px 8px 0; position: relative; }
.vmv .card.dark li::before { content: ""; position: absolute; right: 0; top: 18px; width: 9px; height: 9px; border-radius: 50%; background: var(--teal-300); }
.vmv .card.dark li b { color: var(--white); }
.slogan {
  margin-top: 22px; background: var(--navy-800); border-radius: var(--radius); padding: 28px 34px;
  display: flex; align-items: center; gap: 32px; flex-wrap: wrap; color: #cfe0e8;
}
.slogan h3 { color: var(--white); margin: 0; font-size: 28px; }
.slogan small { color: var(--teal-300); display: block; }
.slogan .sep { width: 1px; align-self: stretch; background: rgba(255,255,255,.18); }

/* ---------- Classification ---------- */
.class-card { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); border-radius: var(--radius); padding: 32px; }
.class-card .top { display: flex; align-items: center; gap: 18px; margin-bottom: 18px; }
.class-card .top .icon { margin: 0; background: var(--teal-500); width: 64px; height: 64px; }
.class-card small { color: var(--teal-300); font-weight: 700; }
.class-card h3 { color: var(--white); margin: 0; font-size: 24px; }
.class-card .grade { display: inline-block; background: var(--teal-500); color: var(--white); padding: 6px 22px; border-radius: 6px; font-weight: 700; margin-bottom: 18px; }
.class-card .scores { display: flex; justify-content: space-between; border-top: 1px solid rgba(255,255,255,.15); padding-top: 16px; }
.class-card .scores span { display: block; color: #a9c3cf; font-size: 14px; }
.class-card .scores b { color: var(--white); font-size: 26px; direction: ltr; display: inline-block; }
.benefit { display: flex; align-items: center; gap: 18px; background: rgba(255,255,255,.05); border-radius: var(--radius); padding: 22px; }
.benefit .icon { margin: 0; background: var(--teal-500); }
.benefit p { margin: 0; color: #dbe7ee; }

/* ---------- Data table ---------- */
.data-table { width: 100%; border-collapse: separate; border-spacing: 0 8px; }
.data-table th, .data-table td { padding: 16px 22px; background: var(--bg-soft); text-align: right; }
.data-table th { color: var(--muted); font-weight: 500; width: 36%; border-radius: 0 10px 10px 0; font-size: 15px; }
.data-table td { font-weight: 700; color: var(--navy-700); border-radius: 10px 0 0 10px; }
.data-table td.ltr { direction: ltr; text-align: right; }
.cert-frame { background: var(--white); border-radius: var(--radius); padding: 14px; box-shadow: var(--shadow); }
.cert-frame figcaption { text-align: center; font-weight: 700; color: var(--navy-700); padding-top: 12px; font-size: 15px; }

/* ---------- Partners ---------- */
.partners { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.partner {
  background: var(--white); border: 1px solid var(--line); border-radius: 12px; height: 110px;
  display: grid; place-items: center; padding: 16px; transition: .3s;
}
.partner img { max-height: 70px; width: auto; object-fit: contain; filter: grayscale(100%); opacity: .75; transition: .3s; }
.partner:hover { box-shadow: var(--shadow); }
.partner:hover img { filter: none; opacity: 1; }

.sector-card ul { margin-top: 12px; }
.sector-card li { color: var(--muted); font-size: 15px; padding: 3px 0; }
.sector-card li::before { content: "•"; color: var(--teal-500); margin-left: 8px; }

/* ---------- Gallery ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 40px; }
.filters button {
  font-family: inherit; font-size: 16px; font-weight: 700; padding: 10px 24px; border-radius: 40px;
  border: 1px solid var(--line); background: var(--white); color: var(--navy-700); cursor: pointer; transition: .2s;
}
.filters button.active, .filters button:hover { background: var(--navy-700); color: var(--white); border-color: var(--navy-700); }
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.gallery-item { position: relative; border-radius: 12px; overflow: hidden; cursor: zoom-in; aspect-ratio: 4/3; background: var(--bg-soft); }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: .6s; }
.gallery-item:hover img { transform: scale(1.06); }
.gallery-item figcaption {
  position: absolute; inset: auto 0 0 0; padding: 40px 18px 14px; color: var(--white); font-weight: 700;
  background: linear-gradient(0deg, rgba(15,42,59,.9), transparent); font-size: 15px;
}
.gallery-item figcaption small { display: block; color: var(--teal-300); font-weight: 500; font-size: 13px; }
.gallery-item.hide { display: none; }

.lightbox { position: fixed; inset: 0; background: rgba(8,22,31,.94); z-index: 500; display: none; align-items: center; justify-content: center; padding: 30px; }
.lightbox.open { display: flex; }
.lightbox img { max-height: 86vh; max-width: 92vw; border-radius: 10px; }
.lightbox button { position: absolute; background: rgba(255,255,255,.1); border: 0; color: var(--white); width: 52px; height: 52px; border-radius: 50%; font-size: 26px; cursor: pointer; }
.lightbox button:hover { background: var(--teal-500); }
.lightbox .lb-close { top: 24px; left: 24px; }
.lightbox .lb-prev { right: 24px; top: 50%; transform: translateY(-50%); }
.lightbox .lb-next { left: 24px; top: 50%; transform: translateY(-50%); }
.lightbox .lb-cap { position: absolute; bottom: 22px; color: #cfe0e8; font-size: 15px; }

/* ---------- Factory ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chips span { background: var(--navy-700); color: var(--white); padding: 10px 20px; border-radius: 8px; font-weight: 700; font-size: 15px; }
.feature-row { display: flex; gap: 16px; align-items: flex-start; background: var(--bg-soft); border-radius: 12px; padding: 20px; }
.feature-row .icon { margin: 0; width: 50px; height: 50px; }
.feature-row h3 { font-size: 18px; margin-bottom: 4px; }
.feature-row p { color: var(--muted); margin: 0; font-size: 15px; }

/* ---------- CTA ---------- */
.cta {
  background: linear-gradient(120deg, var(--teal-600), var(--navy-700)); color: var(--white);
  border-radius: 20px; padding: 56px 60px; display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap;
}
.cta h2 { color: var(--white); margin: 0 0 6px; font-size: clamp(24px, 3vw, 34px); }
.cta p { color: #d6ecf0; margin: 0; font-size: 18px; }
.cta .btn-primary { background: var(--white); color: var(--navy-700); }
.cta .btn-primary:hover { background: var(--navy-900); color: var(--white); }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 40px; }
.contact-info { background: var(--navy-800); border-radius: var(--radius); padding: 40px; color: #cfe0e8; }
.contact-info h3 { color: var(--white); font-size: 26px; }
.contact-item { display: flex; gap: 16px; align-items: center; padding: 16px 0; border-bottom: 1px solid rgba(255,255,255,.1); }
.contact-item:last-child { border-bottom: 0; }
.contact-item .icon { margin: 0; background: var(--teal-500); width: 50px; height: 50px; }
.contact-item .icon svg { width: 22px; height: 22px; }
.contact-item small { display: block; color: #8fb0be; font-size: 13px; }
.contact-item a, .contact-item span.v { color: var(--white); font-weight: 700; }
.contact-item a:hover { color: var(--teal-300); }
.contact-item .ltr { direction: ltr; unicode-bidi: embed; }

.form { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 40px; }
.form h3 { font-size: 26px; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form label { display: block; font-weight: 700; font-size: 15px; margin-bottom: 6px; color: var(--navy-700); }
.form .field { margin-bottom: 18px; }
.form input, .form select, .form textarea {
  width: 100%; padding: 14px 16px; border: 1px solid var(--line); border-radius: 10px; font-family: inherit;
  font-size: 16px; background: var(--bg-soft); color: var(--ink); transition: .2s;
}
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--teal-500); background: var(--white); box-shadow: 0 0 0 4px rgba(42,149,163,.12); }
.form textarea { min-height: 140px; resize: vertical; }
.form .note { font-size: 14px; color: var(--muted); margin-top: 12px; }
.map { border-radius: var(--radius); overflow: hidden; height: 400px; border: 0; width: 100%; filter: grayscale(.2); }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-900); color: #9fb8c4; padding: 80px 0 0; font-size: 15.5px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: 40px; padding-bottom: 50px; }
.site-footer .logo img { height: 50px; margin-bottom: 18px; }
.site-footer h4 { color: var(--white); font-size: 18px; margin-bottom: 18px; }
.site-footer li { padding: 5px 0; }
.site-footer a:hover { color: var(--teal-300); }
.site-footer .ltr { direction: ltr; unicode-bidi: embed; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); padding: 22px 0; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; font-size: 14px; }

/* Floating WhatsApp */
.whatsapp {
  position: fixed; bottom: 24px; left: 24px; z-index: 90; width: 58px; height: 58px; border-radius: 50%;
  background: #25d366; color: var(--white); display: grid; place-items: center; box-shadow: 0 8px 24px rgba(0,0,0,.2); transition: .3s;
}
.whatsapp:hover { transform: scale(1.08); }
.whatsapp svg { width: 30px; height: 30px; }
.to-top {
  position: fixed; bottom: 24px; right: 24px; z-index: 90; width: 48px; height: 48px; border-radius: 50%;
  background: var(--navy-700); color: var(--white); border: 0; cursor: pointer; opacity: 0; visibility: hidden; transition: .3s;
  display: grid; place-items: center;
}
.to-top.show { opacity: 1; visibility: visible; }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s ease, transform .8s ease; }
.reveal.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } }

/* ---------- 404 ---------- */
.notfound { min-height: 100vh; display: grid; place-items: center; text-align: center; background: var(--navy-800); color: #cfe0e8; padding: 40px; }
.notfound h1 { color: var(--teal-300); font-size: 120px; margin: 0; line-height: 1; }
.notfound h2 { color: var(--white); }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .grid-5 { grid-template-columns: repeat(3, 1fr); }
  .partners { grid-template-columns: repeat(4, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 960px) {
  body { font-size: 16px; }
  .section { padding: 72px 0; }
  .menu-toggle { display: block; }
  .nav {
    position: fixed; top: 0; right: 0; height: 100vh; width: min(320px, 85vw); background: var(--white);
    flex-direction: column; align-items: stretch; padding: 90px 24px 24px; gap: 4px;
    transform: translateX(100%); transition: transform .35s ease, visibility .35s; visibility: hidden; box-shadow: -10px 0 40px rgba(0,0,0,.15);
  }
  .nav.open { transform: none; visibility: visible; }
  .nav a { color: var(--navy-700) !important; padding: 12px 14px; border-bottom: 1px solid var(--line); }
  .nav .btn { margin: 14px 0 0; }
  .menu-toggle { position: relative; z-index: 110; }
  .menu-toggle.open { color: var(--navy-700); }
  .menu-toggle.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  .menu-toggle.open span:nth-child(2) { opacity: 0; }
  .menu-toggle.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
  .split, .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .split.reverse > :first-child { order: 0; }
  .grid-3, .grid-4, .vmv, .stats { grid-template-columns: repeat(2, 1fr); }
  .process { grid-template-columns: repeat(2, 1fr); row-gap: 36px; }
  .process::before { display: none; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .about-img img { height: 380px; }
  .about-img .tag { left: 16px; bottom: -20px; }
  .cta { padding: 40px 30px; }
}
@media (max-width: 600px) {
  .grid-2, .grid-3, .grid-4, .grid-5, .vmv, .stats, .pillars, .class-strip, .form .row { grid-template-columns: 1fr; }
  .partners { grid-template-columns: repeat(2, 1fr); }
  .gallery { grid-template-columns: 1fr; }
  .process { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .rating-bar { padding: 24px; }
  .rating-bar .scores { gap: 30px; }
  .mosaic img, .mosaic img.wide { height: 180px; }
  .form, .contact-info { padding: 26px; }
  .data-table th, .data-table td { padding: 12px 14px; font-size: 14px; }
  .project-box .meta { grid-template-columns: 1fr; }
  .site-header .logo img { height: 38px; }
}
