/* =========================================================
   IPETS Engineering & Technical Services Limited
   Design: warm navy + safety-yellow, rounded/friendly,
   card + pill-button system.
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@500;600;700;800&family=Inter:wght@400;500;600;700&display=swap');

:root{
  --navy-950:#12181F;
  --navy-900:#181F29;
  --navy-800:#1E2733;
  --navy-700:#2A3644;
  --steel-400:#8B97A3;
  --steel-200:#C7CFD6;

  --yellow-500:#F5B914;
  --yellow-400:#FFC72C;
  --yellow-100:#FDF0CE;

  --bg-light:#F5F6F8;
  --bg-card:#FFFFFF;
  --border-soft:#E7E9EC;

  --ink-900:#161C24;
  --ink-600:#5B6672;
  --ink-400:#8A929B;
  --off-white:#F7F8FA;

  --font-display:'Poppins', sans-serif;
  --font-body:'Inter', sans-serif;

  --container:1200px;
  --r-sm:8px;
  --r-md:16px;
  --r-lg:28px;
  --r-pill:999px;
}

*,*::before,*::after{ box-sizing:border-box; min-width:0; }
html{ scroll-behavior:smooth; }
body{
  margin:0;
  font-family:var(--font-body);
  background:var(--off-white);
  color:var(--ink-900);
  line-height:1.65;
  -webkit-font-smoothing:antialiased;
  overflow-x:hidden;
}
img{ max-width:100%; display:block; }
a{ color:inherit; text-decoration:none; }
h1,h2,h3,h4{
  font-family:var(--font-display);
  font-weight:700;
  line-height:1.18;
  margin:0 0 0.5em;
  color:var(--ink-900);
}
p{ margin:0 0 1em; color:var(--ink-600); }
.container{
  max-width:var(--container);
  margin:0 auto;
  padding:0 24px;
  width:100%;
}
button{ font-family:inherit; }

a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible{
  outline:2px solid var(--yellow-500);
  outline-offset:3px;
}
@media (prefers-reduced-motion: reduce){
  *{ animation-duration:0.001ms !important; animation-iteration-count:1 !important; transition-duration:0.001ms !important; scroll-behavior:auto !important; }
}

/* ---------- eyebrow ---------- */
.eyebrow{
  font-family:var(--font-display);
  font-weight:700;
  font-size:0.78rem;
  letter-spacing:0.14em;
  text-transform:uppercase;
  color:var(--navy-800);
  background:var(--yellow-100);
  display:inline-block;
  padding:6px 16px;
  border-radius:var(--r-pill);
  margin-bottom:1em;
}
.section-dark .eyebrow{ background:rgba(245,185,20,0.14); color:var(--yellow-400); }
@media (max-width:480px){
  .eyebrow{ font-size:0.68rem; padding:6px 14px; letter-spacing:0.08em; }
}

/* ---------- header / nav ---------- */
.site-header{
  position:sticky; top:0; z-index:60;
  background:#fff;
  border-bottom:1px solid var(--border-soft);
}
.nav-inner{
  display:flex; align-items:center; justify-content:space-between;
  padding:14px 24px;
  max-width:var(--container);
  margin:0 auto;
  gap:16px;
}
.brand{ display:flex; align-items:center; gap:12px; }
.brand img{
  height:56px; width:auto; border-radius:0;
  filter:
    drop-shadow(0 1px 0 rgba(255,255,255,0.6))
    drop-shadow(0 2px 1px rgba(18,24,31,0.15))
    drop-shadow(0 8px 14px rgba(18,24,31,0.22));
  transform-style:preserve-3d;
  transition:transform .3s ease, filter .3s ease;
}
.brand:hover img{
  transform:perspective(400px) rotateY(-8deg) rotateX(4deg) scale(1.04);
  filter:
    drop-shadow(0 1px 0 rgba(255,255,255,0.6))
    drop-shadow(0 4px 2px rgba(18,24,31,0.18))
    drop-shadow(0 14px 20px rgba(18,24,31,0.28));
}
.brand-text{ font-family:var(--font-display); font-weight:800; font-size:1.15rem; line-height:1.1; color:var(--navy-900); }
.brand-text span{
  display:block; font-family:var(--font-body); font-weight:500;
  font-size:0.6rem; letter-spacing:0.08em; color:var(--ink-400); text-transform:uppercase;
}
.nav-links{ display:flex; gap:6px; list-style:none; margin:0; padding:0; }
.nav-links a{
  font-weight:600; font-size:0.94rem; color:var(--ink-600);
  padding:10px 14px; border-radius:var(--r-pill);
  transition:background .15s ease, color .15s ease;
}
.nav-links a:hover{ background:var(--bg-light); color:var(--navy-900); }
.nav-links a[aria-current="page"]{ background:var(--navy-900); color:#fff; }
.nav-cta{ display:flex; align-items:center; gap:14px; }
.nav-toggle{
  display:none; background:none; border:1px solid var(--border-soft); border-radius:var(--r-pill);
  color:var(--navy-900); padding:9px 16px; font-weight:600; font-size:0.85rem; cursor:pointer;
}
@media (max-width:900px){
  .nav-toggle{ display:inline-flex; align-items:center; gap:6px; }
  .nav-links{
    position:absolute; top:100%; left:0; right:0;
    flex-direction:column; background:#fff;
    border-bottom:1px solid var(--border-soft);
    display:none; padding:10px 20px 18px; gap:2px;
  }
  .nav-links.open{ display:flex; }
  .nav-links a{ display:block; padding:12px 14px; }
  .nav-cta .btn-primary{ display:none; }
}

/* ---------- buttons ---------- */
.btn{
  display:inline-flex; align-items:center; gap:10px;
  font-family:var(--font-display);
  font-weight:600; font-size:0.92rem;
  padding:14px 26px;
  border-radius:var(--r-pill);
  border:2px solid transparent;
  cursor:pointer;
  white-space:nowrap;
  transition:transform .15s ease, background .15s ease, border-color .15s ease, color .15s ease;
}
.btn:hover{ transform:translateY(-2px); }
.btn-primary{ background:var(--yellow-500); color:var(--navy-950); }
.btn-primary:hover{ background:var(--yellow-400); }
.btn-outline{ border-color:var(--navy-800); color:var(--navy-900); background:transparent; }
.btn-outline:hover{ background:var(--navy-900); color:#fff; }
.btn-outline.on-dark{ border-color:rgba(255,255,255,0.5); color:#fff; }
.btn-outline.on-dark:hover{ background:#fff; color:var(--navy-950); }
.btn-sm{ padding:10px 18px; font-size:0.82rem; }
.btn-icon-circle{
  width:44px; height:44px; border-radius:50%;
  display:inline-flex; align-items:center; justify-content:center;
  background:var(--yellow-500); color:var(--navy-950); flex-shrink:0;
  transition:background .15s ease, transform .15s ease;
}
.btn-icon-circle:hover{ background:var(--yellow-400); transform:translateY(-2px); }
.btn-icon-circle.ghost{ background:var(--bg-light); color:var(--navy-900); }
.arrow-nav{ display:flex; gap:10px; margin-top:24px; }
.arrow-btn{
  width:46px; height:46px; border-radius:50%; border:none; cursor:pointer;
  display:inline-flex; align-items:center; justify-content:center;
  background:var(--yellow-100); color:var(--navy-900);
  transition:background .15s ease, color .15s ease;
}
.arrow-btn.is-active, .arrow-btn:hover{ background:var(--yellow-500); }

/* ---------- sections ---------- */
section{ padding:70px 0; }
.section-dark{ background:var(--navy-950); color:#fff; }
.section-dark h1, .section-dark h2, .section-dark h3{ color:#fff; }
.section-dark p{ color:var(--steel-200); }
.section-light{ background:#fff; }
.section-tint{ background:var(--bg-light); }

.section-head{ max-width:60ch; margin-bottom:40px; }
.section-head h2{ font-size:clamp(1.7rem, 3vw, 2.4rem); }
.section-head-row{
  display:flex; justify-content:space-between; align-items:flex-end; gap:20px; margin-bottom:40px; flex-wrap:wrap;
}

/* ---------- logo hero banner ---------- */
.logo-hero{
  position:relative; overflow:hidden;
  background:
    repeating-linear-gradient(135deg, rgba(255,255,255,0.03) 0px, rgba(255,255,255,0.03) 1px, transparent 1px, transparent 26px),
    linear-gradient(150deg, var(--navy-950) 0%, var(--navy-800) 65%, var(--navy-900) 100%);
  padding:52px 24px;
  border-bottom:1px solid rgba(255,255,255,0.06);
}
.logo-hero-inner{
  max-width:var(--container); margin:0 auto; position:relative; z-index:1;
  padding:0 24px;
  display:flex; align-items:center; justify-content:center; gap:26px; flex-wrap:wrap; text-align:left;
}
.logo-hero-badge{ position:relative; display:flex; align-items:center; justify-content:center; }
.logo-hero-badge::before{
  content:''; position:absolute; inset:-36px; z-index:-1;
  background:radial-gradient(circle, rgba(245,185,20,0.32) 0%, rgba(245,185,20,0.08) 55%, transparent 75%);
  filter:blur(2px);
}
.logo-hero-mark{
  height:112px; width:auto; animation:logoFloat 5s ease-in-out infinite;
  filter:
    drop-shadow(0 1px 0 rgba(255,255,255,0.5))
    drop-shadow(0 6px 4px rgba(0,0,0,0.35))
    drop-shadow(0 22px 30px rgba(0,0,0,0.45));
}
@keyframes logoFloat{
  0%, 100%{ transform:translateY(0); }
  50%{ transform:translateY(-8px); }
}
.logo-hero-word{ display:flex; flex-direction:column; }
.logo-hero-name{
  font-family:var(--font-display); font-weight:800; color:#fff; line-height:1;
  font-size:clamp(2.2rem, 5.5vw, 3.8rem); letter-spacing:0.01em;
}
.logo-hero-sub{
  font-family:var(--font-body); font-weight:600; letter-spacing:0.16em; text-transform:uppercase;
  color:var(--yellow-400); font-size:0.8rem; margin-top:10px;
}
@media (max-width:640px){
  .logo-hero{ padding:40px 20px; }
  .logo-hero-inner{ justify-content:center; text-align:center; flex-direction:column; gap:16px; }
  .logo-hero-mark{ height:88px; }
}

/* ---------- hero ---------- */
.hero{ background:var(--navy-950); color:#fff; overflow:hidden; position:relative; }
.hero-grid{ display:grid; grid-template-columns:1.05fr 0.95fr; gap:40px; align-items:center; padding:64px 24px; }
.hero h1{ font-size:clamp(2.1rem, 4.6vw, 3.4rem); color:#fff; }
.hero h1 em{ font-style:normal; color:var(--yellow-400); }
.hero-sub{ color:var(--steel-200); max-width:48ch; font-size:1.02rem; margin-bottom:1.7em; }
.hero-actions{ display:flex; gap:14px; flex-wrap:wrap; margin-bottom:2em; }
.hero-stats{ display:grid; grid-template-columns:repeat(3, auto); gap:8px 28px; }
.hero-stats div{ min-width:0; }
.hero-stats div b{ display:block; font-family:var(--font-display); font-size:1.8rem; color:var(--yellow-400); white-space:nowrap; }
.hero-stats div span{ font-size:0.78rem; color:var(--steel-400); text-transform:uppercase; letter-spacing:0.05em; display:block; }
@media (max-width:480px){
  .hero-stats{ grid-template-columns:repeat(3, 1fr); gap:14px 10px; }
  .hero-stats div b{ font-size:1.4rem; }
  .hero-stats div span{ font-size:0.66rem; letter-spacing:0.02em; line-height:1.3; }
}
.hero-visual{ position:relative; }
.hero-visual .ring{
  position:absolute; inset:auto; width:88%; height:88%; top:6%; left:6%;
  background:var(--yellow-500); border-radius:50%; z-index:0; opacity:0.95;
}
.hero-visual img{
  position:relative; z-index:1; width:100%; height:420px; object-fit:cover;
  border-radius:32px; border:6px solid var(--navy-950);
}
@media (max-width:900px){
  .hero-grid{ grid-template-columns:1fr; padding-top:40px; }
  .hero-visual{ order:-1; max-width:340px; margin:0 auto; }
  .hero-visual img{ height:280px; }
}

/* ---------- welcome / about-teaser blob collage ---------- */
.welcome-grid{ display:grid; grid-template-columns:1fr 1fr; gap:56px; align-items:center; }
@media (max-width:880px){ .welcome-grid{ grid-template-columns:1fr; } }
.check-list{ list-style:none; margin:1.4em 0; padding:0; display:grid; gap:12px; }
.check-list li{ display:flex; align-items:flex-start; gap:10px; color:var(--ink-600); font-size:0.96rem; }
.check-list .dot{
  flex-shrink:0; width:22px; height:22px; border-radius:50%; background:var(--yellow-100);
  color:var(--navy-900); display:inline-flex; align-items:center; justify-content:center; font-size:0.7rem; font-weight:800;
  margin-top:2px;
}
.blob-collage{ position:relative; height:420px; }
.blob-collage img{
  position:absolute; object-fit:cover; box-shadow:0 20px 40px -20px rgba(18,24,31,0.35);
}
.blob-1{ width:72%; height:78%; top:0; left:6%; border-radius:42% 58% 65% 35% / 45% 40% 60% 55%; }
.blob-2{ width:42%; height:42%; bottom:0; right:0; border-radius:60% 40% 30% 70% / 55% 45% 55% 45%; border:6px solid var(--off-white); }
.blob-dot{
  position:absolute; width:60px; height:60px; border-radius:50%; background:var(--yellow-500); z-index:-1;
}
@media (max-width:880px){ .blob-collage{ height:320px; max-width:380px; margin:0 auto; } }
@media (max-width:480px){ .blob-collage{ height:280px; } }

/* ---------- service cards ---------- */
.services-track{ position:relative; }
.grid{ display:grid; gap:22px; }
.grid-3{ grid-template-columns:repeat(3,1fr); }
.grid-4{ grid-template-columns:repeat(4,1fr); }
.grid-2{ grid-template-columns:repeat(2,1fr); }
@media (max-width:920px){ .grid-3, .grid-4{ grid-template-columns:repeat(2,1fr); } }
@media (max-width:600px){ .grid-2, .grid-3, .grid-4{ grid-template-columns:1fr; } }

.svc-card{
  background:#fff; border:1px solid var(--border-soft); border-radius:var(--r-md);
  padding:30px 26px; transition:transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.svc-card:hover{ transform:translateY(-4px); box-shadow:0 20px 40px -24px rgba(18,24,31,0.28); }
.svc-card.is-active{ background:var(--navy-950); border-color:var(--navy-950); }
.svc-card.is-active h3, .svc-card.is-active p{ color:#fff; }
.svc-card.is-active p{ color:var(--steel-200); }

.svc-toggle{
  display:inline-flex; align-items:center; gap:8px; margin-top:6px;
  background:none; border:none; padding:0; cursor:pointer;
  font-family:var(--font-display); font-weight:600; font-size:0.82rem;
  letter-spacing:0.02em; color:var(--navy-900);
}
.svc-toggle-icon{
  width:20px; height:20px; border-radius:50%; border:1px solid var(--border-soft);
  display:inline-flex; align-items:center; justify-content:center;
  font-size:0.95rem; line-height:1; transition:transform .25s ease, background .25s ease, color .25s ease;
}
.svc-card:hover .svc-toggle-icon{ border-color:var(--navy-800); }
.svc-more{
  max-height:0; overflow:hidden; opacity:0;
  transition:max-height .3s ease, opacity .2s ease, margin .3s ease;
}
.svc-more p{ font-size:0.85rem; color:var(--ink-600); margin:12px 0 0; }
.svc-card.is-open .svc-more{ max-height:200px; opacity:1; }
.svc-card.is-open .svc-toggle-icon{ transform:rotate(45deg); background:var(--yellow-500); color:var(--navy-950); border-color:var(--yellow-500); }

.svc-icon{
  width:52px; height:52px; border-radius:14px; background:var(--yellow-100);
  display:flex; align-items:center; justify-content:center; margin-bottom:18px; color:var(--navy-900);
}
.svc-card.is-active .svc-icon{ background:var(--yellow-500); color:var(--navy-950); }
.svc-card h3{ font-size:1.1rem; margin-bottom:8px; }
.svc-card p{ font-size:0.92rem; margin-bottom:20px; }
.svc-card .btn{ width:100%; justify-content:space-between; }
.svc-card:not(.is-active) .btn-primary{ background:transparent; border-color:var(--navy-800); color:var(--navy-900); }
.svc-card:not(.is-active) .btn-primary:hover{ background:var(--navy-900); color:#fff; }
.svc-card.is-active .btn-primary{ background:var(--yellow-500); color:var(--navy-950); }
.tag-code{
  font-family:var(--font-display); font-size:0.68rem; letter-spacing:0.08em; color:var(--ink-400);
  text-transform:uppercase; margin-bottom:6px; display:block;
}
.svc-card.is-active .tag-code{ color:var(--steel-400); }

/* stage cards (Scope/Procure/Install/Commission) — clickable links to photo galleries */
a.stage-card{ display:block; text-decoration:none; cursor:pointer; }
.stage-link{
  display:inline-flex; align-items:center; gap:6px;
  font-family:var(--font-display); font-weight:600; font-size:0.82rem;
  color:var(--yellow-400); margin-top:14px;
}
.stage-card:hover .stage-link{ text-decoration:underline; }
.stage-card .stage-link span{ transition:transform .15s ease; }
.stage-card:hover .stage-link span{ transform:translateX(3px); }

/* gallery group headings on projects.html */
.gallery-group{ margin-bottom:44px; scroll-margin-top:90px; }
.gallery-group:last-child{ margin-bottom:0; }
.gallery-group-head{ display:flex; align-items:baseline; gap:12px; margin-bottom:18px; }
.gallery-group-head h3{ font-size:1.2rem; color:#fff; margin:0; }
.gallery-group-head span{ font-family:var(--font-display); font-size:0.72rem; letter-spacing:0.08em; text-transform:uppercase; color:var(--yellow-400); background:rgba(245,185,20,0.14); padding:4px 12px; border-radius:var(--r-pill); }

/* ---------- why-choose (testimonial-style) cards ---------- */
.why-grid{ display:grid; grid-template-columns:1fr 1fr; gap:24px; }
@media (max-width:760px){ .why-grid{ grid-template-columns:1fr; } }
.why-card{
  background:#fff; border-radius:var(--r-md); border:1px solid var(--border-soft);
  padding:28px 26px;
}
.why-card .badge{
  width:52px; height:52px; border-radius:50%; background:var(--navy-950); color:var(--yellow-400);
  display:flex; align-items:center; justify-content:center; margin-bottom:16px;
}
.why-card h3{ font-size:1.05rem; margin-bottom:4px; }
.why-card .role{ font-size:0.82rem; color:var(--ink-400); margin-bottom:12px; display:block; }
.why-card p{ font-size:0.93rem; margin-bottom:0; }

/* ---------- projects / news style cards ---------- */
.news-grid{ display:grid; grid-template-columns:1.1fr 1fr; gap:22px; }
@media (max-width:820px){ .news-grid{ grid-template-columns:1fr; } }
.news-card{
  background:#fff; border-radius:var(--r-md); overflow:hidden; border:1px solid var(--border-soft);
  display:flex; flex-direction:column;
}
.news-card img{ width:100%; height:220px; object-fit:cover; }
.news-card .news-body{ padding:20px 22px; display:flex; align-items:flex-start; justify-content:space-between; gap:14px; flex:1; }
.news-card h4{ font-size:1rem; margin-bottom:6px; }
.news-card p{ font-size:0.86rem; margin-bottom:0; }
.news-stack{ display:grid; gap:22px; }
.news-card.tall img{ height:100%; min-height:340px; }
.news-card.tall{ height:100%; }
@media (max-width:820px){ .news-card.tall img{ min-height:220px; } }

/* ---------- footer ---------- */
.site-footer{ background:var(--navy-950); color:var(--steel-200); padding:56px 0 24px; }
.footer-top{ text-align:center; margin-bottom:28px; }
.footer-brand{ display:inline-flex; align-items:center; gap:12px; margin-bottom:10px; }
.footer-brand img{
  height:56px; border-radius:0;
  filter:
    drop-shadow(0 1px 0 rgba(255,255,255,0.15))
    drop-shadow(0 2px 1px rgba(0,0,0,0.35))
    drop-shadow(0 10px 16px rgba(0,0,0,0.4));
}
.footer-brand-text{ font-family:var(--font-display); font-weight:800; color:#fff; font-size:1.15rem; text-align:left; line-height:1.1; }
.footer-brand-text span{ display:block; font-size:0.6rem; letter-spacing:0.08em; color:var(--steel-400); font-weight:500; text-transform:uppercase; font-family:var(--font-body); }
.footer-nav{ display:flex; justify-content:center; gap:8px; flex-wrap:wrap; list-style:none; margin:0 0 26px; padding:0; }
.footer-nav a{ padding:8px 16px; border-radius:var(--r-pill); font-weight:600; font-size:0.9rem; }
.footer-nav a:hover{ background:var(--navy-800); color:#fff; }
.footer-icons{ display:flex; justify-content:center; gap:12px; margin-bottom:26px; }
.footer-icons a{
  width:42px; height:42px; border-radius:50%; background:var(--navy-800); color:#fff;
  display:flex; align-items:center; justify-content:center; transition:background .15s ease;
}
.footer-icons a:hover{ background:var(--yellow-500); color:var(--navy-950); }
.footer-bottom{ text-align:center; font-size:0.82rem; color:var(--steel-400); border-top:1px solid var(--navy-800); padding-top:20px; }

/* ---------- page hero (inner pages) ---------- */
.page-hero{ padding:52px 0 44px; }
.page-hero h1{ font-size:clamp(2rem, 4vw, 2.8rem); }
.page-hero p{ max-width:60ch; }

/* ---------- about split (vision/mission) ---------- */
.about-split{ display:grid; grid-template-columns:1fr 1fr; gap:26px; align-items:start; }
@media (max-width:860px){ .about-split{ grid-template-columns:1fr; } }
.vm-card{ background:#fff; border:1px solid var(--border-soft); border-radius:var(--r-md); padding:28px; }
.vm-card h3{ font-family:var(--font-display); font-size:0.8rem; letter-spacing:0.08em; text-transform:uppercase; color:var(--ink-400); margin-bottom:10px; }
.vm-card p{ font-size:1.05rem; color:var(--ink-900); margin-bottom:0; }

/* ---------- values grid ---------- */
.values-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:16px; }
@media (max-width:820px){ .values-grid{ grid-template-columns:repeat(2,1fr); } }
@media (max-width:560px){ .values-grid{ grid-template-columns:1fr; } }
.value-card{ background:var(--navy-900); border-radius:var(--r-md); padding:24px 22px; }
.value-card b{ display:block; font-family:var(--font-display); color:var(--yellow-400); font-size:0.78rem; letter-spacing:0.08em; margin-bottom:6px; }
.value-card span{ color:var(--steel-200); font-size:0.95rem; }

/* ---------- policy list ---------- */
.policy-list{ list-style:none; margin:0; padding:0; display:grid; gap:14px; }
.policy-list li{ display:flex; gap:12px; padding-bottom:14px; border-bottom:1px solid var(--border-soft); color:var(--ink-600); font-size:0.95rem; }
.policy-list .num{
  flex-shrink:0; width:26px; height:26px; border-radius:50%; background:var(--yellow-100); color:var(--navy-900);
  display:flex; align-items:center; justify-content:center; font-size:0.72rem; font-weight:800; font-family:var(--font-display);
}

/* ---------- table ---------- */
.table-wrap{ overflow-x:auto; border:1px solid var(--border-soft); border-radius:var(--r-md); background:#fff; -webkit-overflow-scrolling:touch; }
table.projects{ width:100%; border-collapse:collapse; min-width:820px; font-size:0.9rem; }
table.projects th{
  font-family:var(--font-display); text-transform:uppercase; font-size:0.7rem; letter-spacing:0.06em;
  text-align:left; padding:16px; background:var(--navy-950); color:#fff;
}
table.projects th:first-child{ border-top-left-radius:var(--r-md); }
table.projects th:last-child{ border-top-right-radius:var(--r-md); }
table.projects td{ padding:14px 16px; border-bottom:1px solid var(--border-soft); vertical-align:top; }
table.projects tr:nth-child(even) td{ background:var(--bg-light); }
.status{
  font-family:var(--font-display); font-size:0.7rem; font-weight:700; letter-spacing:0.03em; text-transform:uppercase;
  padding:5px 12px; border-radius:var(--r-pill); white-space:nowrap; display:inline-block;
}
.status.completed{ background:#DFF1E9; color:#166A46; }
.status.progress{ background:var(--yellow-100); color:#8A5A00; }

/* ---------- project cards ---------- */
.projects-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:24px; }
.project-card{
  background:#fff; border:1px solid var(--border-soft); border-radius:var(--r-md);
  overflow:hidden; display:flex; flex-direction:column;
}
.project-card-media{ aspect-ratio:16/10; overflow:hidden; background:var(--navy-950); }
.project-card-media img{ width:100%; height:100%; object-fit:cover; display:block; transition:transform .3s ease; }
.project-card:hover .project-card-media img{ transform:scale(1.05); }
.project-card h3{
  font-family:var(--font-display); font-size:1rem; line-height:1.35; color:var(--ink-900);
  margin:18px 18px 10px;
}
.project-card ul{ margin:0 18px 18px; padding-left:18px; color:var(--ink-600); font-size:0.9rem; line-height:1.5; }
.project-card li + li{ margin-top:8px; }
@media (max-width:980px){ .projects-grid{ grid-template-columns:repeat(2,1fr); } }
@media (max-width:640px){ .projects-grid{ grid-template-columns:1fr; } }

/* ---------- gallery ---------- */
.gallery{ display:grid; grid-template-columns:repeat(4,1fr); gap:18px; }
.gallery figure{ margin:0; border-radius:var(--r-md); overflow:hidden; position:relative; background:var(--navy-950); }
.gallery img{ width:100%; height:220px; object-fit:cover; transition:transform .3s ease; }
.gallery figure:hover img{ transform:scale(1.06); }
.gallery figcaption{
  position:absolute; left:0; right:0; bottom:0; padding:12px 14px 10px;
  background:linear-gradient(0deg, rgba(18,24,31,0.92), rgba(18,24,31,0));
  font-size:0.78rem; color:#fff; font-weight:600;
}
@media (max-width:920px){ .gallery{ grid-template-columns:repeat(2,1fr); } }
@media (max-width:560px){ .gallery{ grid-template-columns:1fr; } .gallery img{ height:240px; } }

/* ---------- contact ---------- */
.contact-grid{ display:grid; grid-template-columns:0.85fr 1.15fr; gap:40px; }
@media (max-width:900px){ .contact-grid{ grid-template-columns:1fr; } }
.contact-card{ display:flex; gap:14px; margin-bottom:20px; }
.contact-card .ic{
  flex-shrink:0; width:44px; height:44px; border-radius:12px; background:var(--yellow-100); color:var(--navy-900);
  display:flex; align-items:center; justify-content:center;
}
.contact-card h3{ font-size:0.78rem; letter-spacing:0.06em; text-transform:uppercase; color:var(--ink-400); margin-bottom:4px; font-family:var(--font-display); }
.contact-card p{ margin:0; color:var(--ink-900); font-weight:500; }

form.contact-form{ display:grid; gap:16px; background:#fff; border:1px solid var(--border-soft); border-radius:var(--r-lg); padding:30px; }
.field{ display:grid; gap:6px; }
.field label{ font-family:var(--font-display); font-size:0.72rem; letter-spacing:0.05em; text-transform:uppercase; color:var(--ink-400); }
.field input, .field textarea, .field select{
  font-family:var(--font-body); font-size:0.98rem; width:100%;
  padding:13px 15px; border:1px solid var(--border-soft); background:var(--off-white); color:var(--ink-900);
  border-radius:var(--r-sm);
}
.field input:focus, .field textarea:focus, .field select:focus{ border-color:var(--yellow-500); background:#fff; }
.two-col{ display:grid; grid-template-columns:1fr 1fr; gap:16px; }
@media (max-width:560px){ .two-col{ grid-template-columns:1fr; } }
.map-frame{ border:1px solid var(--border-soft); border-radius:var(--r-md); width:100%; height:320px; }

/* utility */
.text-center{ text-align:center; }
.mt-lg{ margin-top:32px; }
.mx-auto{ margin-left:auto; margin-right:auto; }
