/* ============================================================
   JDCD Constructway — theme from logo colors
   navy #0B0633 · coral #FF4949 · blue #4F53FF · off-white #F5F4F4
   ============================================================ */
:root {
  --navy:       #0B0633;
  --navy-2:     #151047;
  --navy-3:     #1E1858;
  --coral:      #FF4949;
  --coral-dark: #E23A3A;
  --blue:       #4F53FF;
  --pink:       #EB63DD;
  --off:        #F5F4F4;
  --white:      #FFFFFF;
  --ink:        #211C3F;
  --muted:      #5F5B78;
  --line:       #E4E2EE;
  --radius:     14px;
  --shadow:     0 10px 30px rgba(11, 6, 51, .10);
  --shadow-lg:  0 18px 50px rgba(11, 6, 51, .18);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.65;
  font-size: 16px;
}

img { max-width: 100%; display: block; }

h1, h2, h3, h4 { font-family: 'Playfair Display', Georgia, serif; line-height: 1.2; color: var(--navy); }

.container { width: min(1180px, 92%); margin: 0 auto; }

section { padding: 84px 0; }

/* ---------- kicker + headings ---------- */
.kicker {
  display: inline-block;
  font-size: 13px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase;
  color: var(--coral);
  margin-bottom: 14px;
}
.section-head { max-width: 720px; margin-bottom: 48px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head h2 { font-size: clamp(30px, 4vw, 42px); margin-bottom: 14px; }
.section-head p { color: var(--muted); font-size: 17px; }

.on-dark h2, .on-dark h3 { color: var(--white); }
.on-dark p { color: rgba(245, 244, 244, .78); }

/* ---------- buttons ---------- */
.btn {
  display: inline-block;
  padding: 14px 30px;
  border-radius: 999px;
  font-weight: 600; font-size: 15px;
  text-decoration: none;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
  border: 2px solid transparent;
  cursor: pointer;
}
.btn:hover { transform: translateY(-2px); }
.btn-coral { background: var(--coral); color: var(--white); box-shadow: 0 8px 22px rgba(255, 73, 73, .35); }
.btn-coral:hover { background: var(--coral-dark); }
.btn-outline-light { border-color: rgba(255,255,255,.55); color: var(--white); }
.btn-outline-light:hover { border-color: var(--white); background: rgba(255,255,255,.08); }
.btn-outline-navy { border-color: var(--navy); color: var(--navy); }
.btn-outline-navy:hover { background: var(--navy); color: var(--white); }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: var(--navy);
  box-shadow: 0 2px 18px rgba(11, 6, 51, .35);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.brand img { height: 56px; width: auto; }
.site-nav { display: flex; align-items: center; gap: 30px; }
.site-nav a:not(.btn) {
  color: rgba(245,244,244,.82);
  text-decoration: none; font-size: 15px; font-weight: 500;
  padding: 6px 0;
  border-bottom: 2px solid transparent;
  transition: color .15s ease, border-color .15s ease;
}
.site-nav a:not(.btn):hover { color: var(--white); }
.site-nav a.active { color: var(--white); border-bottom-color: var(--coral); }
.nav-cta { padding: 10px 22px; font-size: 14px; }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; }
.nav-toggle span { display: block; width: 26px; height: 3px; background: var(--white); margin: 5px 0; border-radius: 2px; transition: .25s; }

/* ---------- hero ---------- */
.hero {
  position: relative;
  min-height: 640px;
  display: flex; align-items: center;
  background:
    linear-gradient(100deg, rgba(11,6,51,.94) 0%, rgba(11,6,51,.82) 42%, rgba(11,6,51,.38) 100%),
    url('../img/hero.jpg') center 30% / cover no-repeat;
  padding: 110px 0;
}
.hero-content { max-width: 640px; }
.hero .kicker { color: var(--pink); }
.hero h1 {
  color: var(--white);
  font-size: clamp(38px, 5.4vw, 62px);
  margin-bottom: 22px;
}
.hero h1 .accent { color: var(--coral); }
.hero p { color: rgba(245,244,244,.85); font-size: 18px; margin-bottom: 34px; max-width: 540px; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

/* ---------- stats strip ---------- */
.stats { background: var(--coral); padding: 0; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { text-align: center; padding: 34px 16px; color: var(--white); }
.stat + .stat { border-left: 1px solid rgba(255,255,255,.25); }
.stat .num { font-family: 'Playfair Display', Georgia, serif; font-size: 40px; font-weight: 800; line-height: 1; }
.stat .lbl { font-size: 13px; letter-spacing: .12em; text-transform: uppercase; opacity: .92; margin-top: 8px; }

/* ---------- about preview / two-col ---------- */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.two-col .photo { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg); }
.two-col .photo img { width: 100%; height: 100%; object-fit: cover; }
.photo-stack { position: relative; }
.photo-stack .photo-badge {
  position: absolute; bottom: -22px; right: -14px;
  background: var(--navy); color: var(--white);
  border-radius: var(--radius);
  padding: 20px 26px;
  box-shadow: var(--shadow-lg);
  max-width: 240px;
}
.photo-stack .photo-badge .big { font-family: 'Playfair Display', serif; font-size: 26px; font-weight: 700; color: var(--white); }
.photo-stack .photo-badge .small { font-size: 13px; color: rgba(245,244,244,.75); }
.checklist { list-style: none; margin: 22px 0 30px; }
.checklist li { padding-left: 34px; position: relative; margin-bottom: 12px; color: var(--ink); font-weight: 500; }
.checklist li::before {
  content: '';
  position: absolute; left: 0; top: 4px;
  width: 20px; height: 20px; border-radius: 50%;
  background: var(--coral);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E") center / 14px no-repeat, linear-gradient(#000,#000);
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E") center / 14px no-repeat, linear-gradient(#000,#000);
  -webkit-mask-composite: xor; mask-composite: exclude;
}
.checklist li::before { background: var(--coral); -webkit-mask: none; mask: none; border-radius: 50%; }
.checklist li::after {
  content: ''; position: absolute; left: 5px; top: 9px;
  width: 9px; height: 5px;
  border-left: 2.5px solid #fff; border-bottom: 2.5px solid #fff;
  transform: rotate(-45deg);
}

/* ---------- mission / vision ---------- */
.mv { background: var(--navy); }
.mv-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.mv-card {
  background: var(--navy-2);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--radius);
  padding: 42px 38px;
}
.mv-card h3 { color: var(--white); font-size: 26px; margin: 18px 0 16px; }
.mv-card ul { list-style: none; }
.mv-card li { color: rgba(245,244,244,.82); padding-left: 22px; position: relative; margin-bottom: 12px; }
.mv-card li::before { content: ''; position: absolute; left: 0; top: 10px; width: 8px; height: 8px; border-radius: 2px; background: var(--coral); }
.mv-icon {
  width: 54px; height: 54px; border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--coral), var(--pink));
}
.mv-icon svg { width: 28px; height: 28px; stroke: #fff; }
.mv-card.alt .mv-icon { background: linear-gradient(135deg, var(--blue), var(--pink)); }

/* ---------- values (BUILT) ---------- */
.values-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; }
.value-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 24px;
  transition: transform .18s ease, box-shadow .18s ease;
}
.value-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.value-letter {
  font-family: 'Playfair Display', serif;
  font-size: 44px; font-weight: 800; line-height: 1;
  color: var(--coral);
}
.value-card h3 { font-size: 19px; margin: 12px 0 10px; letter-spacing: .04em; }
.value-card p { font-size: 14px; color: var(--muted); }
.built-note { text-align: center; margin-top: 34px; color: var(--muted); font-size: 15px; }
.built-note strong { color: var(--navy); }

/* ---------- services ---------- */
.services-section { background: var(--off); }
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.service-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 34px 30px;
  border: 1px solid var(--line);
  transition: transform .18s ease, box-shadow .18s ease;
}
.service-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.service-icon {
  width: 56px; height: 56px; border-radius: 14px;
  background: rgba(79, 83, 255, .1);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
}
.service-icon svg { width: 28px; height: 28px; stroke: var(--blue); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.service-card:hover .service-icon { background: var(--coral); }
.service-card:hover .service-icon svg { stroke: #fff; }
.service-card h3 { font-size: 20px; margin-bottom: 10px; }
.service-card p { font-size: 14.5px; color: var(--muted); }

/* ---------- projects ---------- */
.filter-bar { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 40px; }
.filter-btn {
  padding: 10px 22px; border-radius: 999px;
  border: 1.5px solid var(--line);
  background: var(--white); color: var(--muted);
  font-size: 14px; font-weight: 600; cursor: pointer;
  transition: .15s;
}
.filter-btn:hover { border-color: var(--navy); color: var(--navy); }
.filter-btn.active { background: var(--navy); border-color: var(--navy); color: var(--white); }

.projects-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.project-card {
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease;
}
.project-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.project-thumb { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--navy-2); }
.project-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.project-card:hover .project-thumb img { transform: scale(1.06); }
.project-thumb .badge {
  position: absolute; top: 14px; left: 14px;
  padding: 5px 14px; border-radius: 999px;
  font-size: 12px; font-weight: 700; letter-spacing: .05em;
  color: var(--white);
}
.badge.done { background: var(--blue); }
.badge.ongoing { background: var(--coral); }
.project-thumb .count {
  position: absolute; bottom: 12px; right: 12px;
  background: rgba(11,6,51,.72); color: #fff;
  font-size: 12px; font-weight: 600;
  padding: 4px 12px; border-radius: 999px;
}
.project-body { padding: 22px 22px 26px; }
.project-body h3 { font-size: 18px; margin-bottom: 6px; }
.project-body .loc { font-size: 13.5px; color: var(--muted); display: flex; gap: 6px; align-items: baseline; }
.project-body .loc::before { content: '📍'; font-size: 12px; }

/* ---------- lightbox / modal ---------- */
.modal {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(11, 6, 51, .92);
  display: none;
  align-items: center; justify-content: center;
  padding: 3vh 3vw;
}
.modal.open { display: flex; }
.modal-panel {
  background: var(--white);
  border-radius: var(--radius);
  width: min(1080px, 100%);
  max-height: 94vh;
  overflow: hidden auto;
  position: relative;
}
.modal-close {
  position: absolute; top: 14px; right: 14px; z-index: 5;
  width: 42px; height: 42px; border-radius: 50%;
  border: 0; background: var(--navy); color: #fff;
  font-size: 20px; cursor: pointer; line-height: 1;
}
.modal-close:hover { background: var(--coral); }
.modal-gallery { position: relative; background: var(--navy); }
.modal-gallery .main-img { width: 100%; height: min(58vh, 560px); object-fit: contain; background: var(--navy); }
.gal-nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 46px; height: 46px; border-radius: 50%;
  border: 0; background: rgba(255,255,255,.92); color: var(--navy);
  font-size: 20px; cursor: pointer;
}
.gal-nav:hover { background: var(--coral); color: #fff; }
.gal-prev { left: 16px; } .gal-next { right: 16px; }
.modal-thumbs {
  display: flex; gap: 8px; padding: 12px; overflow-x: auto;
  background: var(--navy-2);
}
.modal-thumbs img {
  width: 84px; height: 60px; object-fit: cover;
  border-radius: 6px; cursor: pointer; opacity: .55;
  border: 2px solid transparent; flex: 0 0 auto;
}
.modal-thumbs img.sel { opacity: 1; border-color: var(--coral); }
.modal-info { padding: 30px 34px 36px; }
.modal-info h3 { font-size: 24px; margin-bottom: 4px; }
.modal-info .meta { display: flex; flex-wrap: wrap; gap: 10px 22px; color: var(--muted); font-size: 14px; margin-bottom: 18px; }
.modal-info .meta .badge { position: static; display: inline-block; padding: 3px 12px; border-radius: 999px; font-size: 12px; font-weight: 700; color: #fff; }
.modal-info h4 { font-family: 'Inter', sans-serif; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--coral); margin-bottom: 10px; }
.modal-info ul { list-style: none; }
.modal-info li { padding-left: 22px; position: relative; margin-bottom: 8px; font-size: 15px; }
.modal-info li::before { content: ''; position: absolute; left: 0; top: 9px; width: 8px; height: 8px; border-radius: 2px; background: var(--blue); }

/* ---------- conformity ---------- */
.conformity { background: var(--off); }
.conf-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.conf-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px 26px;
  text-align: center;
}
.conf-icon {
  width: 64px; height: 64px; margin: 0 auto 18px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--navy), var(--blue));
  display: flex; align-items: center; justify-content: center;
}
.conf-icon svg { width: 30px; height: 30px; stroke: #fff; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.conf-card h3 { font-size: 17px; margin-bottom: 8px; }
.conf-card p { font-size: 13.5px; color: var(--muted); }

/* ---------- CTA band ---------- */
.cta-band {
  background: linear-gradient(115deg, var(--navy) 0%, var(--navy-3) 55%, #3B2B8F 100%);
  text-align: center;
}
.cta-band h2 { color: var(--white); font-size: clamp(28px, 4vw, 40px); margin-bottom: 14px; }
.cta-band p { color: rgba(245,244,244,.8); max-width: 560px; margin: 0 auto 30px; }

/* ---------- page hero (inner pages) ---------- */
.page-hero {
  background: linear-gradient(100deg, var(--navy) 30%, var(--navy-3) 75%, #34246B 100%);
  padding: 70px 0;
}
.page-hero h1 { color: var(--white); font-size: clamp(32px, 4.6vw, 48px); margin-bottom: 10px; }
.page-hero p { color: rgba(245,244,244,.78); max-width: 640px; font-size: 17px; }
.crumbs { font-size: 13.5px; color: rgba(245,244,244,.6); margin-bottom: 18px; }
.crumbs a { color: var(--pink); text-decoration: none; }

/* ---------- contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 48px; align-items: start; }
.contact-cards { display: grid; gap: 18px; }
.contact-card {
  display: flex; gap: 18px; align-items: flex-start;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
}
.contact-card .cc-icon {
  flex: 0 0 48px; width: 48px; height: 48px; border-radius: 12px;
  background: rgba(255, 73, 73, .1);
  display: flex; align-items: center; justify-content: center;
}
.contact-card .cc-icon svg { width: 24px; height: 24px; stroke: var(--coral); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.contact-card h3 { font-size: 16px; margin-bottom: 4px; }
.contact-card p, .contact-card a { font-size: 14.5px; color: var(--muted); text-decoration: none; }
.contact-card a:hover { color: var(--coral); }

.contact-form {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 36px;
  box-shadow: var(--shadow);
}
.contact-form h3 { font-size: 22px; margin-bottom: 6px; }
.contact-form .form-note { font-size: 13.5px; color: var(--muted); margin-bottom: 22px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { margin-bottom: 16px; }
.form-group label { display: block; font-size: 13.5px; font-weight: 600; margin-bottom: 6px; color: var(--navy); }
.form-group input, .form-group textarea, .form-group select {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  font: inherit; font-size: 14.5px;
  color: var(--ink);
  background: var(--off);
  transition: border-color .15s;
}
.form-group input:focus, .form-group textarea:focus, .form-group select:focus {
  outline: none; border-color: var(--blue); background: var(--white);
}
.map-wrap { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); margin-top: 60px; }
.map-wrap iframe { display: block; width: 100%; height: 380px; border: 0; }

/* ---------- footer ---------- */
.site-footer { background: var(--navy); color: rgba(245,244,244,.75); }
.footer-grid {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.3fr;
  gap: 44px;
  padding: 70px 0 50px;
}
.footer-logo { height: 64px; width: auto; margin-bottom: 16px; }
.footer-tagline { font-family: 'Playfair Display', serif; font-style: italic; color: var(--pink); font-size: 17px; margin-bottom: 12px; }
.footer-desc { font-size: 14px; }
.site-footer h4 { color: var(--white); font-family: 'Inter', sans-serif; font-size: 14px; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 18px; }
.footer-links, .footer-contact { list-style: none; }
.footer-links li, .footer-contact li { margin-bottom: 10px; font-size: 14.5px; }
.footer-links a, .footer-contact a { color: rgba(245,244,244,.75); text-decoration: none; }
.footer-links a:hover, .footer-contact a:hover { color: var(--coral); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 20px 0; font-size: 13px; }
.footer-bottom .container { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; }

/* ---------- responsive ---------- */
@media (max-width: 980px) {
  .two-col, .mv-grid, .contact-grid { grid-template-columns: 1fr; }
  .two-col { gap: 44px; }
  .values-grid { grid-template-columns: repeat(2, 1fr); }
  .services-grid, .projects-grid { grid-template-columns: repeat(2, 1fr); }
  .conf-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(3) { border-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid rgba(255,255,255,.25); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 680px) {
  section { padding: 60px 0; }
  .services-grid, .projects-grid, .values-grid, .conf-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 34px; }
  .form-row { grid-template-columns: 1fr; }
  .hero { min-height: 540px; }

  .nav-toggle { display: block; }
  .site-nav {
    position: fixed; top: 76px; right: 0; bottom: 0;
    width: min(320px, 84vw);
    background: var(--navy-2);
    flex-direction: column; align-items: flex-start;
    padding: 34px 28px; gap: 22px;
    transform: translateX(100%);
    transition: transform .25s ease;
    box-shadow: -10px 0 40px rgba(0,0,0,.35);
  }
  .site-nav.open { transform: translateX(0); }
}

/* ============================================================
   V2 — animations, motion, and new elements
   ============================================================ */

/* ---------- keyframes ---------- */
@keyframes kenburns {
  from { transform: scale(1) translateY(0); }
  to   { transform: scale(1.12) translateY(-2%); }
}
@keyframes heroIn {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes marqueeMove {
  to { transform: translateX(-50%); }
}
@keyframes floatY {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50%      { transform: translateY(-14px) rotate(2deg); }
}
@keyframes imgFade {
  from { opacity: 0; transform: scale(.985); }
  to   { opacity: 1; transform: scale(1); }
}
@keyframes cardPop {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ---------- scroll reveal ---------- */
.js .reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .7s ease, transform .7s cubic-bezier(.16, 1, .3, 1);
  transition-delay: var(--d, 0s);
  will-change: opacity, transform;
}
.js .reveal-left  { transform: translateX(-36px); }
.js .reveal-right { transform: translateX(36px); }
.js .reveal-zoom  { transform: scale(.92); }
.js .reveal.visible { opacity: 1; transform: none; }

/* ---------- hero upgrade: layered bg + ken burns + entrance ---------- */
.hero { position: relative; overflow: hidden; background: var(--navy); isolation: isolate; }
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background: url('../img/hero.jpg') center 30% / cover no-repeat;
  animation: kenburns 22s ease-in-out infinite alternate;
  z-index: -2;
}
.hero::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(11,6,51,.95) 0%, rgba(11,6,51,.84) 42%, rgba(11,6,51,.42) 100%);
  z-index: -1;
}
.hero-content > * { opacity: 0; animation: heroIn .8s cubic-bezier(.16,1,.3,1) forwards; }
.hero-content > *:nth-child(1) { animation-delay: .1s; }
.hero-content > *:nth-child(2) { animation-delay: .25s; }
.hero-content > *:nth-child(3) { animation-delay: .45s; }
.hero-content > *:nth-child(4) { animation-delay: .62s; }

/* ---------- decorative arcs (echo ng logo) ---------- */
.arc-deco {
  position: absolute;
  width: clamp(180px, 22vw, 320px);
  height: auto;
  pointer-events: none;
  z-index: 0;
}
.hero .arc-deco {
  right: -40px; bottom: -40px;
  color: var(--coral);
  opacity: .35;
  animation: floatY 9s ease-in-out infinite;
}
.mv { position: relative; overflow: hidden; }
.mv .arc-deco { left: -60px; top: -60px; transform: rotate(180deg); color: var(--blue); opacity: .18; }
.cta-band { position: relative; overflow: hidden; }
.cta-band .arc-deco { right: -50px; top: -50px; transform: rotate(90deg); color: var(--pink); opacity: .22; animation: floatY 11s ease-in-out infinite; }
.cta-band .container, .mv .container { position: relative; z-index: 1; }

/* ---------- blueprint grid texture sa dark sections ---------- */
.mv, .cta-band, .page-hero {
  background-image:
    linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 44px 44px, 44px 44px;
}
.mv  { background-color: var(--navy); }
.page-hero {
  background-color: var(--navy);
  background-image:
    linear-gradient(100deg, rgba(11,6,51,.95) 30%, rgba(30,24,88,.92) 75%, rgba(52,36,107,.88) 100%),
    url('../img/hero.jpg');
  background-size: cover;
  background-position: center 35%;
  position: relative; overflow: hidden;
}
.page-hero .arc-deco { right: -46px; bottom: -70px; color: var(--coral); opacity: .3; }
.page-hero .container { position: relative; z-index: 1; }
.cta-band {
  background-color: var(--navy-3);
  background-image:
    linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px),
    linear-gradient(115deg, rgba(11,6,51,.97) 0%, rgba(30,24,88,.9) 55%, rgba(59,43,143,.85) 100%);
  background-size: 44px 44px, 44px 44px, cover;
}

/* ---------- header scroll state ---------- */
.site-header { transition: box-shadow .25s ease, background .25s ease; }
.site-header.scrolled { background: rgba(11,6,51,.96); backdrop-filter: blur(10px); box-shadow: 0 6px 28px rgba(11,6,51,.5); }
.site-header.scrolled .header-inner { height: 64px; }
.site-header.scrolled .brand img { height: 46px; }
.header-inner, .brand img { transition: height .25s ease; }

/* ---------- clients marquee ---------- */
.clients-strip {
  background: var(--white);
  border-bottom: 1px solid var(--line);
  padding: 26px 0;
  overflow: hidden;
  position: relative;
}
.clients-strip::before, .clients-strip::after {
  content: '';
  position: absolute; top: 0; bottom: 0; width: 90px; z-index: 2;
  pointer-events: none;
}
.clients-strip::before { left: 0;  background: linear-gradient(90deg, var(--white), transparent); }
.clients-strip::after  { right: 0; background: linear-gradient(270deg, var(--white), transparent); }
.marquee-track {
  display: flex; align-items: center; gap: 56px;
  width: max-content;
  animation: marqueeMove 36s linear infinite;
}
.clients-strip:hover .marquee-track { animation-play-state: paused; }
.marquee-track span {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 19px; font-weight: 700;
  color: var(--navy);
  opacity: .55;
  white-space: nowrap;
  display: flex; align-items: center; gap: 56px;
  transition: opacity .2s;
}
.marquee-track span:hover { opacity: 1; }
.marquee-track span::after { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--coral); opacity: .6; }
.marquee-label {
  text-align: center;
  font-size: 12px; font-weight: 700; letter-spacing: .22em; text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 16px;
}

/* ---------- why choose us ---------- */
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.why-card {
  position: relative;
  background: var(--navy-2);
  border: 1px solid rgba(255,255,255,.09);
  border-radius: var(--radius);
  padding: 34px 26px;
  overflow: hidden;
  transition: transform .2s ease, border-color .2s ease;
}
.why-card:hover { transform: translateY(-6px); border-color: rgba(255,73,73,.55); }
.why-card .why-num {
  position: absolute; top: 10px; right: 18px;
  font-family: 'Playfair Display', serif;
  font-size: 64px; font-weight: 800;
  color: rgba(255,255,255,.06);
  line-height: 1;
}
.why-icon {
  width: 54px; height: 54px; border-radius: 14px;
  background: linear-gradient(135deg, var(--coral), var(--pink));
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
  transition: transform .25s ease;
}
.why-card:hover .why-icon { transform: rotate(-6deg) scale(1.08); }
.why-icon svg { width: 26px; height: 26px; stroke: #fff; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.why-card h3 { color: var(--white); font-size: 19px; margin-bottom: 8px; }
.why-card p { color: rgba(245,244,244,.72); font-size: 14px; }

/* ---------- milestones timeline (about) ---------- */
.timeline { position: relative; max-width: 760px; margin: 0 auto; }
.timeline::before {
  content: '';
  position: absolute; left: 26px; top: 8px; bottom: 8px;
  width: 3px; border-radius: 2px;
  background: linear-gradient(180deg, var(--coral), var(--blue), var(--pink));
}
.tl-item { position: relative; padding: 0 0 38px 78px; }
.tl-item:last-child { padding-bottom: 0; }
.tl-dot {
  position: absolute; left: 13px; top: 2px;
  width: 29px; height: 29px; border-radius: 50%;
  background: var(--white);
  border: 3px solid var(--coral);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 0 0 6px rgba(255,73,73,.12);
}
.tl-dot::after { content: ''; width: 9px; height: 9px; border-radius: 50%; background: var(--coral); }
.tl-item:nth-child(even) .tl-dot { border-color: var(--blue); box-shadow: 0 0 0 6px rgba(79,83,255,.12); }
.tl-item:nth-child(even) .tl-dot::after { background: var(--blue); }
.tl-year {
  display: inline-block;
  font-family: 'Playfair Display', serif;
  font-size: 24px; font-weight: 800;
  color: var(--navy);
  margin-bottom: 6px;
}
.tl-item p { color: var(--muted); font-size: 15px; }

/* ---------- process steps (services) ---------- */
.steps-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; counter-reset: step; }
.step-card {
  position: relative;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 56px 24px 30px;
  transition: transform .2s ease, box-shadow .2s ease;
}
.step-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.step-card::before {
  counter-increment: step;
  content: '0' counter(step);
  position: absolute; top: -22px; left: 22px;
  width: 52px; height: 52px; border-radius: 14px;
  background: linear-gradient(135deg, var(--navy), var(--blue));
  color: #fff;
  font-family: 'Playfair Display', serif;
  font-weight: 800; font-size: 20px;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 22px rgba(11,6,51,.28);
}
.step-card:nth-child(even)::before { background: linear-gradient(135deg, var(--coral), var(--pink)); box-shadow: 0 10px 22px rgba(255,73,73,.3); }
.step-card h3 { font-size: 19px; margin-bottom: 8px; }
.step-card p { font-size: 14px; color: var(--muted); }
.steps-wrap { padding-top: 24px; }

/* ---------- chips (areas we serve) ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 12px; }
.chip {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 20px;
  background: var(--white);
  border: 1.5px solid var(--line);
  border-radius: 999px;
  font-size: 14px; font-weight: 600;
  color: var(--ink);
  transition: transform .15s ease, border-color .15s ease, box-shadow .15s ease;
}
.chip:hover { transform: translateY(-3px); border-color: var(--coral); box-shadow: var(--shadow); }
.chip::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--coral); }
.chip:nth-child(3n)::before  { background: var(--blue); }
.chip:nth-child(3n+2)::before { background: var(--pink); }

/* ---------- FAQ accordion ---------- */
.faq-list { max-width: 820px; margin: 0 auto; display: grid; gap: 14px; }
.faq-item {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: box-shadow .2s ease;
}
.faq-item.open { box-shadow: var(--shadow); }
.faq-q {
  width: 100%;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 20px 24px;
  background: none; border: 0; cursor: pointer;
  font: 600 16px 'Inter', sans-serif;
  color: var(--navy);
  text-align: left;
}
.faq-q .faq-arrow {
  flex: 0 0 34px; width: 34px; height: 34px; border-radius: 50%;
  background: var(--off);
  display: flex; align-items: center; justify-content: center;
  font-size: 16px; color: var(--coral);
  transition: transform .3s ease, background .2s ease;
}
.faq-item.open .faq-arrow { transform: rotate(180deg); background: var(--coral); color: #fff; }
.faq-a {
  max-height: 0; overflow: hidden;
  transition: max-height .35s ease;
}
.faq-a-inner { padding: 0 24px 22px; color: var(--muted); font-size: 15px; }

/* ---------- back to top ---------- */
.backtop {
  position: fixed; right: 26px; bottom: 26px; z-index: 90;
  width: 50px; height: 50px; border-radius: 50%;
  border: 0; cursor: pointer;
  background: var(--coral); color: #fff;
  box-shadow: 0 10px 26px rgba(255,73,73,.45);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transform: translateY(18px); pointer-events: none;
  transition: opacity .25s ease, transform .25s ease, background .2s ease;
}
.backtop.show { opacity: 1; transform: translateY(0); pointer-events: auto; }
.backtop:hover { background: var(--navy); }
.backtop svg { width: 22px; height: 22px; stroke: #fff; fill: none; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- stats: bigger presence ---------- */
.stat .num { display: inline-block; }

/* ---------- project card pop on filter ---------- */
.project-card.pop { animation: cardPop .45s cubic-bezier(.16,1,.3,1) both; }

/* ---------- lightbox image fade ---------- */
.modal-gallery .main-img.fade { animation: imgFade .35s ease both; }

/* ---------- photo hover sheen sa two-col photos ---------- */
.photo { position: relative; }
.photo::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(115deg, transparent 40%, rgba(255,255,255,.18) 50%, transparent 60%);
  transform: translateX(-120%);
  transition: transform .7s ease;
  pointer-events: none;
}
.photo:hover::after { transform: translateX(120%); }

/* ---------- footer arcs watermark ---------- */
.site-footer { position: relative; overflow: hidden; }
.site-footer .arc-deco { right: -70px; bottom: -70px; color: var(--coral); opacity: .1; width: 300px; }
.site-footer .container { position: relative; z-index: 1; }

/* ---------- responsive para sa bagong elements ---------- */
@media (max-width: 980px) {
  .why-grid, .steps-grid { grid-template-columns: repeat(2, 1fr); }
  .steps-grid { row-gap: 44px; }
}
@media (max-width: 680px) {
  .why-grid, .steps-grid { grid-template-columns: 1fr; }
  .steps-grid { row-gap: 40px; }
  .backtop { right: 18px; bottom: 18px; }
  .timeline::before { left: 20px; }
  .tl-item { padding-left: 62px; }
  .tl-dot { left: 7px; }
}

/* ---------- respect reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  .hero::before { animation: none; }
  .hero-content > * { animation: none; opacity: 1; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .marquee-track { animation: none; flex-wrap: wrap; width: auto; }
  .arc-deco, .cta-band .arc-deco { animation: none; }
  html { scroll-behavior: auto; }
}

/* ============================================================
   V3 — project detail page (walang popup)
   ============================================================ */
.project-card { display: block; text-decoration: none; }
.view-link {
  display: inline-block;
  margin-top: 10px;
  font-size: 13.5px; font-weight: 700;
  color: var(--coral);
  transition: transform .15s ease;
}
.project-card:hover .view-link { transform: translateX(4px); }

.pd-hero { padding: 56px 0; }
.pd-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; margin-top: 16px; }
.pd-meta .badge { position: static; display: inline-block; padding: 5px 14px; border-radius: 999px; font-size: 12px; font-weight: 700; color: #fff; }
.pd-meta-item { color: rgba(245,244,244,.8); font-size: 14.5px; }

.pd-section { padding-top: 60px; }
.pd-grid { display: grid; grid-template-columns: 1.6fr 1fr; gap: 40px; align-items: start; }

.gallery-viewer {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--navy);
  box-shadow: var(--shadow-lg);
}
.gallery-viewer img {
  width: 100%;
  height: min(62vh, 560px);
  object-fit: contain;
  display: block;
}
.gallery-counter {
  position: absolute; bottom: 14px; right: 14px;
  background: rgba(11,6,51,.78); color: #fff;
  font-size: 13px; font-weight: 600;
  padding: 5px 14px; border-radius: 999px;
}
.gallery-thumbs {
  display: flex; gap: 10px;
  margin-top: 14px;
  overflow-x: auto;
  padding-bottom: 6px;
}
.gallery-thumbs img {
  width: 96px; height: 68px;
  object-fit: cover;
  border-radius: 8px;
  cursor: pointer;
  opacity: .5;
  border: 2px solid transparent;
  flex: 0 0 auto;
  transition: opacity .15s ease, border-color .15s ease, transform .15s ease;
}
.gallery-thumbs img:hover { opacity: .85; transform: translateY(-2px); }
.gallery-thumbs img.sel { opacity: 1; border-color: var(--coral); }

.pd-info {
  position: sticky; top: 100px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px 30px;
  box-shadow: var(--shadow);
}
.pd-info h2 { font-size: 24px; margin-bottom: 18px; }
.pd-facts { display: grid; gap: 12px; margin-bottom: 24px; }
.pd-facts > div { display: grid; grid-template-columns: 92px 1fr; gap: 12px; align-items: baseline; }
.pd-facts dt { font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.pd-facts dd { font-size: 14.5px; color: var(--ink); font-weight: 500; }
.pd-info h3 { font-family: 'Inter', sans-serif; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--coral); margin-bottom: 12px; }
.pd-scope { list-style: none; margin-bottom: 26px; }
.pd-scope li { padding-left: 22px; position: relative; margin-bottom: 9px; font-size: 14.5px; color: var(--ink); }
.pd-scope li::before { content: ''; position: absolute; left: 0; top: 9px; width: 8px; height: 8px; border-radius: 2px; background: var(--blue); }
.pd-actions { display: grid; gap: 12px; }
.pd-actions .btn { text-align: center; }

.pd-pager {
  display: grid; grid-template-columns: 1fr 1fr; gap: 18px;
  margin-top: 44px;
}
.pd-page-link {
  display: block;
  background: var(--off);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px 24px;
  text-decoration: none;
  transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}
.pd-page-link:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--coral); }
.pd-page-link .dir { display: block; font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--coral); margin-bottom: 6px; }
.pd-page-link .name { font-family: 'Playfair Display', serif; font-size: 17px; font-weight: 700; color: var(--navy); }
.pd-page-link.next { text-align: right; }

@media (max-width: 980px) {
  .pd-grid { grid-template-columns: 1fr; }
  .pd-info { position: static; }
}
@media (max-width: 680px) {
  .pd-pager { grid-template-columns: 1fr; }
  .pd-page-link.next { text-align: left; }
  .gallery-viewer img { height: 320px; }
}
