/* =========================================================
   TEAMWORK ENTERPRISES INC — Site Stylesheet
   Façade Restoration & Structural Repairs
   ========================================================= */

:root {
  --primary: #af101a;
  --primary-dark: #7d0c14;
  --primary-light: #d32f2f;
  --primary-tint: #ffe6e3;

  --charcoal: #101a1f;
  --charcoal-2: #1c262b;
  --charcoal-3: #263238;

  --bg: #f6f4f0;
  --bg-alt: #efece6;
  --surface: #ffffff;

  --text: #14181a;
  --text-secondary: #55606a;
  --text-muted: #8b9198;
  --on-dark: #f4f2ee;
  --on-dark-secondary: #b7c0c6;

  --border: rgba(16, 26, 31, 0.1);
  --border-dark: rgba(244, 242, 238, 0.14);

  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 14px;

  --shadow-sm: 0 2px 10px rgba(16, 26, 31, 0.06);
  --shadow-md: 0 12px 30px rgba(16, 26, 31, 0.1);
  --shadow-lg: 0 30px 60px rgba(16, 26, 31, 0.18);

  --gap: 24px;
  --section-gap: clamp(56px, 9vw, 120px);
  --container-max: 1280px;
  --nav-h: 84px;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  letter-spacing: -0.01em;
  line-height: 1.12;
  color: var(--charcoal);
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
input, select, textarea { font-family: inherit; font-size: 1rem; }

.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
}
@media (min-width: 900px) {
  .container { padding: 0 48px; }
}

section { position: relative; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 12.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 14px;
}
.eyebrow::before {
  content: "";
  width: 26px;
  height: 2px;
  background: var(--primary);
  display: inline-block;
}

.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(28px, 4vw, 42px); margin-bottom: 16px; }
.section-head p { font-size: 17px; color: var(--text-secondary); line-height: 1.7; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 32px;
  font-weight: 700;
  font-size: 13.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: var(--radius-sm);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), background 0.25s ease, color 0.25s ease, border-color .25s ease;
  white-space: nowrap;
}
.btn-primary {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 10px 24px rgba(175, 16, 26, 0.28);
}
.btn-primary:hover { background: var(--primary-dark); transform: translateY(-3px); box-shadow: 0 16px 30px rgba(175, 16, 26, 0.34); }
.btn-primary:active { transform: translateY(-1px) scale(0.98); }

.btn-outline {
  background: transparent;
  border: 2px solid rgba(255,255,255,0.55);
  color: #fff;
}
.btn-outline:hover { background: #fff; color: var(--charcoal); border-color: #fff; transform: translateY(-3px); }

.btn-outline-dark {
  background: transparent;
  border: 2px solid var(--charcoal);
  color: var(--charcoal);
}
.btn-outline-dark:hover { background: var(--charcoal); color: #fff; transform: translateY(-3px); }

.btn-sm { padding: 12px 22px; font-size: 12px; }
.btn-block { width: 100%; }

.material-symbols-outlined {
  font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
  vertical-align: middle;
  line-height: 1;
}
.fill { font-variation-settings: 'FILL' 1, 'wght' 500, 'GRAD' 0, 'opsz' 24; }

/* ---------- Header / Nav ---------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  background: rgba(246, 244, 240, 0.85);
  backdrop-filter: blur(14px) saturate(150%);
  -webkit-backdrop-filter: blur(14px) saturate(150%);
  border-bottom: 1px solid var(--border);
  transition: height 0.35s var(--ease), background 0.35s ease, box-shadow .35s ease;
}
.site-header.scrolled {
  height: 66px;
  background: rgba(246, 244, 240, 0.97);
  box-shadow: var(--shadow-sm);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  gap: 24px;
}

.brand { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.brand img { height: 72px; width: auto; transition: height 0.35s var(--ease); }
.site-header.scrolled .brand img { height: 58px; }

.main-nav { display: none; align-items: center; gap: 36px; }
@media (min-width: 1020px) { .main-nav { display: flex; } }

.main-nav a {
  position: relative;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-secondary);
  padding: 6px 0;
  transition: color 0.25s ease;
}
.main-nav a::after {
  content: "";
  position: absolute;
  left: 0; right: 100%; bottom: 0;
  height: 2px;
  background: var(--primary);
  transition: right 0.3s var(--ease);
}
.main-nav a:hover { color: var(--charcoal); }
.main-nav a:hover::after { right: 0; }
.main-nav a.active { color: var(--primary); }
.main-nav a.active::after { right: 0; }

.header-actions { display: flex; align-items: center; gap: 20px; flex-shrink: 0; }
.header-cta { display: none; }
@media (min-width: 1020px) { .header-cta { display: inline-flex; } }

.nav-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px; height: 44px;
  color: var(--charcoal);
  flex-shrink: 0;
}
@media (min-width: 1020px) { .nav-toggle { display: none; } }
.nav-toggle .material-symbols-outlined { font-size: 30px; }

/* Mobile drawer */
.mobile-drawer {
  position: fixed;
  inset: 0;
  z-index: 1100;
  visibility: hidden;
  pointer-events: none;
}
.mobile-drawer.open { visibility: visible; pointer-events: auto; }
.drawer-overlay {
  position: absolute; inset: 0;
  background: rgba(16, 26, 31, 0.6);
  opacity: 0;
  transition: opacity 0.35s ease;
}
.mobile-drawer.open .drawer-overlay { opacity: 1; }
.drawer-panel {
  position: absolute;
  top: 0; right: 0; bottom: 0;
  width: min(340px, 84vw);
  background: var(--charcoal);
  padding: 30px 28px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transform: translateX(100%);
  transition: transform 0.45s var(--ease);
}
.mobile-drawer.open .drawer-panel { transform: translateX(0); }
.drawer-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 28px; }
.drawer-close { color: #fff; width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; }
.drawer-panel a.drawer-link {
  color: var(--on-dark);
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 21px;
  padding: 14px 4px;
  border-bottom: 1px solid var(--border-dark);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.drawer-panel a.drawer-link.active { color: var(--primary-light); }
.drawer-panel a.drawer-link .material-symbols-outlined { opacity: 0.5; }
.drawer-foot { margin-top: auto; display: flex; flex-direction: column; gap: 16px; }
.drawer-foot .btn { width: 100%; }
.drawer-phone { color: var(--on-dark-secondary); font-weight: 600; display: flex; gap: 10px; align-items: center; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--charcoal);
}
.hero-media {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.08);
  animation: heroZoom 18s ease-out forwards;
}
@keyframes heroZoom { to { transform: scale(1); } }
.hero-scrim {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(16,26,31,0.55) 0%, rgba(16,26,31,0.45) 40%, rgba(16,26,31,0.92) 100%),
    linear-gradient(90deg, rgba(16,26,31,0.85) 0%, rgba(16,26,31,0.25) 65%);
}
.hero-content { position: relative; z-index: 2; padding-top: var(--nav-h); width: 100%; }
.hero-content .container { padding-top: 60px; padding-bottom: 90px; }
.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.22);
  backdrop-filter: blur(6px);
  padding: 8px 18px;
  border-radius: 999px;
  color: #fff;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 28px;
}
.hero-tag .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--primary-light); animation: pulse 2s infinite; }
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: 0.35; } }

.hero h1 {
  color: #fff;
  font-size: clamp(38px, 6.4vw, 78px);
  line-height: 1.06;
  max-width: 16ch;
  margin-bottom: 26px;
}
.hero h1 em { font-style: normal; color: var(--primary-light); display: block; }
.hero p.lead {
  color: rgba(255,255,255,0.82);
  font-size: clamp(16px, 1.6vw, 19px);
  max-width: 640px;
  line-height: 1.7;
  margin-bottom: 40px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 16px; }

.scroll-cue {
  position: absolute;
  bottom: 34px; left: 50%;
  transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  color: rgba(255,255,255,0.65);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  z-index: 2;
  animation: bob 2.4s ease-in-out infinite;
}
@keyframes bob { 0%,100% { transform: translate(-50%,0);} 50% { transform: translate(-50%,10px);} }

/* Page header (interior pages, no full hero) */
.page-header {
  position: relative;
  padding: calc(var(--nav-h) + 90px) 0 80px;
  overflow: hidden;
  background: var(--charcoal);
}
.page-header .hero-media { opacity: 0.34; animation: none; transform: scale(1.02); }
.page-header .hero-scrim { background: linear-gradient(180deg, rgba(16,26,31,0.55), rgba(16,26,31,0.96)); }
.page-header .container { position: relative; z-index: 2; }
.page-header .eyebrow { color: var(--primary-light); }
.page-header h1 { color: #fff; font-size: clamp(34px, 5.4vw, 58px); max-width: 18ch; margin-bottom: 18px; }
.page-header p { color: rgba(255,255,255,0.78); font-size: 17px; max-width: 620px; line-height: 1.7; }

/* ---------- Stat / Trust bar ---------- */
.trust-bar {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  padding: 46px 0;
}
.trust-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}
@media (min-width: 720px) { .trust-grid { grid-template-columns: repeat(4, 1fr); } }
.trust-item { text-align: center; padding: 0 10px; position: relative; }
.trust-item + .trust-item::before {
  content: "";
  position: absolute; left: -16px; top: 10%; bottom: 10%;
  width: 1px; background: var(--border);
  display: none;
}
@media (min-width: 720px) { .trust-item + .trust-item::before { display: block; } }
.trust-num {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: clamp(28px, 3.4vw, 42px);
  color: var(--primary);
  display: block;
  margin-bottom: 8px;
}
.trust-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-secondary);
}

/* ---------- Cards ---------- */
.card {
  background: var(--surface);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }

.service-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--gap);
}
@media (min-width: 860px) { .service-grid { grid-template-columns: repeat(12, 1fr); } }

.service-feature {
  grid-column: span 12;
  border-left: 4px solid var(--primary);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  overflow: hidden;
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  transition: box-shadow .4s var(--ease);
}
@media (min-width: 860px) { .service-feature { grid-column: span 7; } }
.service-feature:hover { box-shadow: var(--shadow-md); }
.service-feature-media { position: relative; height: 280px; overflow: hidden; }
.service-feature-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.service-feature:hover .service-feature-media img { transform: scale(1.08); }
.service-feature-media::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(16,26,31,0.85) 100%);
}
.service-feature-title {
  position: absolute; left: 24px; right: 24px; bottom: 20px; z-index: 2;
  color: #fff; font-size: 24px; display: flex; align-items: center; gap: 10px;
}
.service-feature-body { padding: 32px; }
.service-feature-body p { color: var(--text-secondary); line-height: 1.7; margin-bottom: 20px; }
.text-link {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 700; font-size: 13px; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--primary);
}
.text-link .material-symbols-outlined { transition: transform 0.3s var(--ease); font-size: 19px; }
.text-link:hover .material-symbols-outlined { transform: translateX(5px); }

.service-side { grid-column: span 12; display: flex; flex-direction: column; gap: var(--gap); }
@media (min-width: 860px) { .service-side { grid-column: span 5; } }
.service-mini {
  flex: 1;
  background: var(--surface);
  border-left: 4px solid var(--charcoal-3);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  padding: 28px;
  box-shadow: var(--shadow-sm);
  transition: border-color .35s ease, transform .4s var(--ease), box-shadow .4s var(--ease);
  display: flex; flex-direction: column;
}
.service-mini:hover { border-color: var(--primary); transform: translateY(-4px); box-shadow: var(--shadow-md); }
.service-mini .icon-badge { margin-bottom: 16px; }
.service-mini h3 { font-size: 20px; margin-bottom: 10px; }
.service-mini p { color: var(--text-secondary); font-size: 14.5px; line-height: 1.65; margin-bottom: 16px; }

.icon-badge {
  width: 52px; height: 52px;
  border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--bg-alt);
  color: var(--charcoal);
  transition: background .35s ease, color .35s ease;
}
.service-mini:hover .icon-badge, .icon-badge.solid { background: var(--primary); color: #fff; }

/* Solutions overview grid (3 category cards) */
.solutions-grid { display: grid; grid-template-columns: 1fr; gap: var(--gap); }
@media (min-width: 720px) { .solutions-grid { grid-template-columns: repeat(2,1fr); } }
@media (min-width: 1080px) { .solutions-grid { grid-template-columns: repeat(3,1fr); } }
.solution-card {
  background: var(--surface);
  padding: 40px 32px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.solution-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-md); }
.solution-card .icon-badge { width: 60px; height: 60px; background: var(--primary); color: #fff; border-radius: var(--radius-sm); margin-bottom: 26px; }
.solution-card .icon-badge .material-symbols-outlined { font-size: 28px; }
.solution-card h3 { font-size: 21px; margin-bottom: 18px; }
.solution-card ul { flex: 1; display: flex; flex-direction: column; gap: 11px; margin-bottom: 24px; }
.solution-card li { display: flex; align-items: baseline; gap: 10px; color: var(--text-secondary); font-size: 14.5px; }
.solution-card li::before { content: ""; width: 6px; height: 6px; background: var(--primary); flex-shrink: 0; transform: translateY(-2px); }

/* ---------- Full service detail rows (services.html) ---------- */
.svc-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: center;
  padding: var(--section-gap) 0;
}
@media (min-width: 960px) { .svc-row { grid-template-columns: 1.15fr 1fr; } }
.svc-row.reverse .svc-media { order: -1; }
@media (min-width: 960px) { .svc-row.reverse .svc-text { order: 2; } .svc-row.reverse .svc-media { order: 1; } }
.svc-media { position: relative; height: 340px; border-radius: var(--radius-md); overflow: hidden; box-shadow: var(--shadow-md); }
.svc-media img { width: 100%; height: 100%; object-fit: cover; }
.svc-text { min-width: 0; }
.svc-text h2 { font-size: clamp(26px, 3.4vw, 38px); margin-bottom: 20px; }
.svc-text .lede { color: var(--text-secondary); font-size: 17px; line-height: 1.75; padding-left: 22px; border-left: 3px solid var(--primary); margin-bottom: 30px; }
.svc-points { display: grid; grid-template-columns: 1fr; gap: 14px; min-width: 0; }
@media (min-width: 600px) { .svc-points { grid-template-columns: 1fr 1fr; } }
@media (min-width: 700px) { .svc-points.wide { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .svc-points.wide { grid-template-columns: repeat(4, 1fr); } }
.svc-point {
  display: flex; gap: 12px; align-items: flex-start;
  background: var(--surface); border-radius: var(--radius-sm); padding: 16px 18px;
  box-shadow: var(--shadow-sm);
  min-width: 0;
}
.svc-point > div { min-width: 0; }
.svc-point .material-symbols-outlined { color: var(--primary); flex-shrink: 0; }
.svc-point strong { display: block; font-size: 14.5px; margin-bottom: 3px; }
.svc-point span.desc { color: var(--text-secondary); font-size: 13px; line-height: 1.5; }

.svc-row.dark { background: var(--charcoal); color: var(--on-dark); border-radius: var(--radius-lg); padding: var(--section-gap) clamp(20px,5vw,64px); margin: 0 0; }
.svc-row.dark .svc-text h2, .svc-row.dark .svc-text p { color: #fff; }
.svc-row.dark .svc-text .lede { color: var(--on-dark-secondary); }
.svc-row.dark .svc-point { background: rgba(255,255,255,0.05); }
.svc-row.dark .svc-point strong { color: #fff; }
.svc-row.dark .svc-point span.desc { color: var(--on-dark-secondary); }

/* ---------- Capability tag list (full service checklists) ---------- */
.tag-list { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.tag {
  display: inline-flex; align-items: center; gap: 7px;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  padding: 9px 16px 9px 12px;
  border-radius: 999px;
  font-size: 13px; font-weight: 600; color: var(--text);
  transition: background .25s ease, border-color .25s ease, transform .25s var(--ease);
}
.tag:hover { background: var(--primary-tint); border-color: var(--primary); transform: translateY(-2px); }
.tag .material-symbols-outlined { font-size: 16px; color: var(--primary); }
.svc-row.dark .tag { background: rgba(255,255,255,0.06); border-color: var(--border-dark); color: #fff; }
.svc-row.dark .tag:hover { background: rgba(175,16,26,0.25); border-color: var(--primary); }
.tag-list-label { font-size: 11.5px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-muted); margin-top: 34px; margin-bottom: -14px; display: block; }
.svc-row.dark .tag-list-label { color: var(--on-dark-secondary); }

/* ---------- Divider ---------- */
.divider { height: 1px; background: var(--border); width: 100%; }

/* ---------- About page bits ---------- */
.about-hero {
  display: grid; grid-template-columns: 1fr; gap: 48px; align-items: center;
  padding: var(--section-gap) 0;
}
@media (min-width: 960px) { .about-hero { grid-template-columns: 1fr 1fr; } }
.about-copy p.lede { font-size: 18px; color: var(--text-secondary); line-height: 1.8; padding-left: 22px; border-left: 3px solid var(--primary); margin: 22px 0 32px; }
.stat-pair { display: flex; gap: 16px; }
.stat-pill { flex: 1; padding: 22px 20px; border-radius: var(--radius-sm); }
.stat-pill.primary { background: var(--primary-tint); border-left: 4px solid var(--primary); }
.stat-pill.neutral { background: var(--bg-alt); }
.stat-pill .num { font-family: 'Montserrat', sans-serif; font-weight: 800; font-size: 30px; display: block; }
.stat-pill.primary .num { color: var(--primary-dark); }
.stat-pill .lbl { font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-secondary); font-weight: 700; }

.about-media { position: relative; height: 420px; border-radius: var(--radius-md); overflow: hidden; box-shadow: var(--shadow-lg); }
.about-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.about-media:hover img { transform: scale(1.06); }
.quote-chip {
  position: absolute; left: -18px; bottom: -18px;
  background: var(--primary); color: #fff;
  padding: 22px 26px; max-width: 280px;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-lg);
  font-family: 'Montserrat', sans-serif; font-weight: 700; font-size: 17px; line-height: 1.4;
}
@media (max-width: 640px) { .quote-chip { display: none; } }

.bento {
  display: grid; grid-template-columns: 1fr; gap: var(--gap);
}
@media (min-width: 760px) { .bento { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1080px) { .bento { grid-template-columns: repeat(3, 1fr); } }
.bento-card { background: var(--surface); border-radius: var(--radius-md); padding: 34px 30px; box-shadow: var(--shadow-sm); border-left: 3px solid var(--primary); transition: transform .4s var(--ease), box-shadow .4s var(--ease); }
.bento-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.bento-card.wide { grid-column: span 1; }
@media (min-width: 760px) { .bento-card.wide { grid-column: span 2; } }
.bento-card .material-symbols-outlined.big { font-size: 38px; color: var(--primary); margin-bottom: 20px; }
.bento-card h3 { font-size: 20px; margin-bottom: 12px; }
.bento-card p { color: var(--text-secondary); font-size: 14.5px; line-height: 1.7; }
.bento-checks { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 20px; }
.bento-checks div { display: flex; gap: 8px; align-items: center; font-size: 13.5px; font-weight: 700; }
.bento-checks .material-symbols-outlined { color: var(--primary); font-size: 19px; }

.reference-grid { display: grid; grid-template-columns: 1fr; gap: var(--gap); }
@media (min-width: 700px) { .reference-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .reference-grid { grid-template-columns: repeat(3, 1fr); } }
.reference-card { background: var(--surface); border-radius: var(--radius-md); border-left: 3px solid var(--primary); box-shadow: var(--shadow-sm); padding: 26px 28px; transition: transform .4s var(--ease), box-shadow .4s var(--ease); }
.reference-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.reference-card h3 { font-size: 18px; margin-bottom: 4px; }
.reference-card .ref-location { font-size: 12.5px; color: var(--text-muted); text-transform: uppercase; letter-spacing: .06em; font-weight: 700; margin-bottom: 16px; display: block; }
.reference-row { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-top: 1px solid var(--border); font-size: 13.5px; }
.reference-row:first-of-type { border-top: none; }
.reference-row .ref-label { color: var(--text-muted); font-weight: 700; text-transform: uppercase; font-size: 10.5px; letter-spacing: .06em; flex-shrink: 0; }
.reference-row .ref-value { text-align: right; color: var(--text); font-weight: 600; }
.reference-row .ref-value a { color: var(--primary); }
.reference-scope { margin-top: 14px; display: flex; flex-wrap: wrap; gap: 6px; }
.reference-scope span { background: var(--bg-alt); font-size: 11px; font-weight: 700; padding: 4px 10px; border-radius: 999px; color: var(--text-secondary); }
.reference-price { margin-top: 14px; padding-top: 14px; border-top: 1px dashed var(--border); display: flex; justify-content: space-between; align-items: center; }
.reference-price .amount { font-family: 'Montserrat', sans-serif; font-weight: 800; font-size: 20px; color: var(--primary-dark); }
.reference-link { margin-top: 14px; display: flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 700; color: var(--primary); text-decoration: none; }
.reference-link .material-symbols-outlined { font-size: 17px; }
.reference-link:hover { color: var(--primary-dark); }

.compliance-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 18px; }
@media (min-width: 720px) { .compliance-grid { grid-template-columns: repeat(4,1fr); } }
.compliance-item { padding: 22px 18px; border: 1px solid var(--border-dark); border-radius: var(--radius-sm); transition: border-color .3s ease, transform .3s var(--ease); }
.compliance-item:hover { border-color: var(--primary); transform: translateY(-4px); }
.compliance-item .val { font-family: 'Montserrat', sans-serif; font-weight: 800; color: var(--primary-light); font-size: clamp(18px,2.4vw,26px); margin-bottom: 6px; display: block; }
.compliance-item .lbl { font-size: 10.5px; letter-spacing: 0.09em; text-transform: uppercase; color: var(--on-dark-secondary); }

/* ---------- Portfolio ---------- */
.filter-bar {
  display: flex; flex-wrap: wrap; gap: 12px;
  padding-bottom: 30px; margin-bottom: 40px;
  border-bottom: 1px solid var(--border);
}
.filter-btn {
  padding: 10px 20px;
  font-weight: 700; font-size: 12px; letter-spacing: 0.07em; text-transform: uppercase;
  background: var(--surface); color: var(--text-secondary);
  border-radius: 999px; border: 1px solid var(--border);
  transition: all 0.3s var(--ease);
}
.filter-btn:hover { border-color: var(--primary); color: var(--primary); }
.filter-btn.active { background: var(--charcoal); color: #fff; border-color: var(--charcoal); }

.portfolio-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--gap);
}
@media (min-width: 680px) { .portfolio-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .portfolio-grid { grid-template-columns: repeat(3, 1fr); } }

.project-card {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 4/5;
  box-shadow: var(--shadow-sm);
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
  opacity: 0; transform: translateY(24px);
}
.project-card.in-view { opacity: 1; transform: translateY(0); }
.project-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.project-card img {
  width: 100%; height: 100%; object-fit: cover;
  filter: grayscale(65%) contrast(1.02);
  transition: transform 1.1s var(--ease), filter .6s ease;
}
.project-card:hover img { transform: scale(1.09); filter: grayscale(0%); }
.project-card::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(16,26,31,0) 35%, rgba(16,26,31,0.92) 100%);
}
.project-card-body {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 2;
  padding: 24px;
  color: #fff;
}
.project-card-tag {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(255,255,255,0.12);
  backdrop-filter: blur(4px);
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em;
  margin-bottom: 12px;
}
.project-card-tag .material-symbols-outlined { font-size: 14px; }
.project-card h3 { color: #fff; font-size: 21px; margin-bottom: 6px; }
.project-card .meta { display: flex; align-items: center; gap: 8px; font-size: 12.5px; color: rgba(255,255,255,0.75); font-weight: 600; }
.project-card .count-badge {
  position: absolute; top: 16px; right: 16px; z-index: 2;
  background: rgba(16,26,31,0.55);
  backdrop-filter: blur(4px);
  color: #fff; font-size: 12px; font-weight: 700;
  padding: 6px 11px; border-radius: 999px;
  display: flex; align-items: center; gap: 5px;
}
.project-card .count-badge .material-symbols-outlined { font-size: 15px; }

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed; inset: 0; z-index: 2000;
  background: rgba(10, 14, 16, 0.96);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden;
  transition: opacity 0.4s ease;
  padding: 20px;
}
.lightbox.open { opacity: 1; visibility: visible; }
.lightbox-inner { position: relative; width: 100%; max-width: 1100px; }
.lightbox-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16/10;
  max-height: 74vh;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: #000;
  box-shadow: var(--shadow-lg);
}
.lightbox-frame img {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: contain;
  opacity: 0;
  transition: opacity 0.4s ease;
}
.lightbox-frame img.active { opacity: 1; }
.lightbox-caption { display: flex; justify-content: space-between; align-items: center; padding: 20px 4px; color: #fff; flex-wrap: wrap; gap: 12px; }
.lightbox-caption h3 { color: #fff; font-size: 20px; }
.lightbox-caption .meta { color: var(--on-dark-secondary); font-size: 13px; }
.lightbox-counter { color: var(--on-dark-secondary); font-size: 13px; font-weight: 700; }
.lightbox-close {
  position: absolute; top: -54px; right: 0;
  color: #fff; width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
}
@media (max-width: 640px) { .lightbox-close { top: -46px; } }
.lightbox-nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 52px; height: 52px; border-radius: 50%;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.2);
  color: #fff; display: flex; align-items: center; justify-content: center;
  transition: background .3s ease, transform .3s var(--ease);
  z-index: 3;
}
.lightbox-nav:hover { background: var(--primary); transform: translateY(-50%) scale(1.08); }
.lightbox-prev { left: -8px; }
.lightbox-next { right: -8px; }
@media (min-width: 780px) { .lightbox-prev { left: -66px; } .lightbox-next { right: -66px; } }
.lightbox-thumbs { display: flex; gap: 8px; margin-top: 16px; overflow-x: auto; padding-bottom: 6px; }
.lightbox-thumbs img {
  width: 64px; height: 48px; object-fit: cover; border-radius: 4px;
  opacity: 0.45; cursor: pointer; flex-shrink: 0;
  border: 2px solid transparent;
  transition: opacity .25s ease, border-color .25s ease;
}
.lightbox-thumbs img.active { opacity: 1; border-color: var(--primary); }

/* Stats strip on portfolio */
.stat-strip { background: var(--charcoal); padding: 60px 0; color: #fff; }
.stat-strip-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 30px; text-align: center; }
@media (min-width: 720px) { .stat-strip-grid { grid-template-columns: repeat(4,1fr); } }
.stat-strip .trust-num { color: var(--primary-light); }
.stat-strip .trust-label { color: var(--on-dark-secondary); }

/* ---------- Process steps ---------- */
.process-grid { display: grid; grid-template-columns: 1fr; gap: 28px; counter-reset: step; }
@media (min-width: 780px) { .process-grid { grid-template-columns: repeat(4, 1fr); } }
.process-step { position: relative; padding-top: 8px; }
.process-num {
  font-family: 'Montserrat', sans-serif; font-weight: 800; font-size: 46px;
  color: var(--border-dark);
  -webkit-text-stroke: 1.5px var(--primary);
  color: transparent;
  margin-bottom: 14px;
  display: block;
}
.process-step h3 { font-size: 18px; margin-bottom: 10px; }
.process-step p { color: var(--text-secondary); font-size: 14px; line-height: 1.65; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr; gap: var(--gap); }
@media (min-width: 960px) { .contact-grid { grid-template-columns: 1.2fr 1fr; } }
.contact-form-card { background: var(--surface); padding: clamp(28px,4vw,52px); border-radius: var(--radius-lg); box-shadow: var(--shadow-md); }
.contact-form-card h2 { font-size: clamp(22px, 3vw, 30px); margin-bottom: 30px; }
.form-grid { display: grid; grid-template-columns: 1fr; gap: 26px; }
@media (min-width: 620px) { .form-grid { grid-template-columns: 1fr 1fr; } }
.form-field { display: flex; flex-direction: column; gap: 8px; }
.form-field.full { grid-column: 1 / -1; }
.form-field label { font-size: 11.5px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-muted); transition: color .25s ease; }
.form-field input, .form-field select, .form-field textarea {
  border: none; border-bottom: 1.5px solid var(--border-dark);
  background: transparent; padding: 10px 2px;
  color: var(--text); font-size: 15.5px;
  border-color: rgba(16,26,31,0.15);
}
.form-field textarea { resize: vertical; min-height: 96px; }
.form-field input:focus, .form-field select:focus, .form-field textarea:focus {
  outline: none; border-color: var(--primary);
}
.form-field input:focus ~ label, .form-field.focused label { color: var(--primary); }
.form-note { font-size: 12.5px; color: var(--text-muted); margin-top: 4px; line-height: 1.6; }
.form-success {
  display: none; align-items: center; gap: 14px;
  background: #eefaf0; border: 1px solid #b9e6c0; color: #1c6b2e;
  padding: 18px 20px; border-radius: var(--radius-sm); font-weight: 600; font-size: 14.5px;
  margin-bottom: 20px;
}
.form-success.show { display: flex; }

.contact-side { display: flex; flex-direction: column; gap: var(--gap); }
.contact-panel {
  background: var(--charcoal); color: #fff;
  padding: clamp(26px,4vw,44px);
  border-radius: var(--radius-lg);
  position: relative; overflow: hidden;
  flex: 1;
}
.contact-panel::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--primary); }
.contact-panel h3 { color: #fff; font-size: 20px; margin-bottom: 26px; text-transform: uppercase; letter-spacing: 0.03em; }
.contact-line { display: flex; gap: 16px; align-items: flex-start; margin-bottom: 22px; }
.contact-line:last-child { margin-bottom: 0; }
.contact-line .ic { width: 44px; height: 44px; border-radius: var(--radius-sm); background: var(--primary); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.contact-line .lbl { font-size: 11px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--on-dark-secondary); margin-bottom: 4px; }
.contact-line .val { font-size: 16.5px; font-weight: 700; }
.contact-line a.val:hover { color: var(--primary-light); }

.map-panel {
  height: 220px; border-radius: var(--radius-lg); overflow: hidden; position: relative;
  background: var(--bg-alt);
}
.map-panel iframe { width: 100%; height: 100%; border: 0; filter: grayscale(45%) contrast(1.05); }

/* ---------- Footer ---------- */
.site-footer { background: var(--charcoal); color: var(--on-dark-secondary); border-top: 4px solid var(--primary); }
.footer-top { padding: var(--section-gap) 0 60px; display: grid; grid-template-columns: 1fr; gap: 48px; }
@media (min-width: 860px) { .footer-top { grid-template-columns: 1.3fr repeat(3, 1fr); gap: 32px; } }
.footer-brand img { height: 76px; margin-bottom: 20px; }
.footer-brand p { font-size: 14.5px; line-height: 1.75; max-width: 320px; margin-bottom: 22px; }
.footer-badge { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 700; color: #fff; }
.footer-badge .material-symbols-outlined { color: var(--primary-light); }
.footer-col h4 { color: #fff; font-size: 12.5px; letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 22px; }
.footer-col a, .footer-col p { display: block; font-size: 14.5px; margin-bottom: 14px; color: var(--on-dark-secondary); transition: color .25s ease, padding-left .25s ease; }
.footer-col a:hover { color: #fff; padding-left: 4px; }
.footer-bottom {
  border-top: 1px solid var(--border-dark);
  padding: 26px 0;
  display: flex; flex-direction: column; gap: 14px; align-items: center; justify-content: space-between;
  font-size: 12.5px;
}
@media (min-width: 700px) { .footer-bottom { flex-direction: row; } }

/* ---------- Reveal-on-scroll ---------- */
.reveal { opacity: 0; transform: translateY(32px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
.reveal.in-view { opacity: 1; transform: translateY(0); }
.reveal-delay-1.in-view { transition-delay: .08s; }
.reveal-delay-2.in-view { transition-delay: .16s; }
.reveal-delay-3.in-view { transition-delay: .24s; }
.reveal-delay-4.in-view { transition-delay: .32s; }

/* ---------- Misc ---------- */
.text-center { text-align: center; }
.mx-auto { margin-left: auto; margin-right: auto; }
.mt-lg { margin-top: var(--section-gap); }
.bg-alt-section { background: var(--bg-alt); }
.bg-dark-section { background: var(--charcoal); color: #fff; }
.bg-dark-section h2, .bg-dark-section h3 { color: #fff; }
.py-section { padding: var(--section-gap) 0; }

.final-cta {
  position: relative;
  padding: var(--section-gap) 0;
  background: var(--bg-alt);
  overflow: hidden;
  text-align: center;
}
.final-cta .bg-icon {
  position: absolute; right: -40px; top: 50%; transform: translateY(-50%);
  font-size: 320px; opacity: 0.05; pointer-events: none;
}
.final-cta h2 { font-size: clamp(28px, 4.2vw, 44px); margin-bottom: 18px; }
.final-cta p { color: var(--text-secondary); font-size: 17px; max-width: 560px; margin: 0 auto 36px; }
.final-cta .hero-actions { justify-content: center; }

.back-to-top {
  position: fixed; bottom: 154px; right: 18px; z-index: 500;
  width: 38px; height: 38px; border-radius: 50%;
  background: var(--charcoal); color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-md);
  opacity: 0; visibility: hidden; transform: translateY(12px);
  transition: all 0.35s var(--ease);
}
.back-to-top .material-symbols-outlined { font-size: 18px; }
.back-to-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover { background: var(--primary); }

/* ---------- Floating contact actions ---------- */
.fab-stack {
  position: fixed;
  right: 18px; bottom: 18px; z-index: 900;
  display: flex; flex-direction: column-reverse;
  gap: 8px;
}
.fab {
  position: relative;
  display: flex; align-items: center; justify-content: center;
  width: 34px; height: 34px;
  border-radius: 50%;
  color: #fff;
  box-shadow: var(--shadow-md);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), background 0.25s ease;
  opacity: 0; transform: scale(0.4) translateY(10px);
  animation: fabPop 0.5s var(--ease) forwards;
}
.fab-stack .fab:nth-child(1) { animation-delay: 0.18s; }
.fab-stack .fab:nth-child(2) { animation-delay: 0.32s; }
.fab-stack .fab:nth-child(3) { animation-delay: 0.46s; }
@keyframes fabPop { to { opacity: 1; transform: scale(1) translateY(0); } }

.fab:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.fab .material-symbols-outlined { font-size: 16px; }
.fab-icon { width: 16px; height: 16px; display: block; }

.fab-call { background: var(--primary); }
.fab-call:hover { background: var(--primary-dark); }

.fab-whatsapp { background: #25d366; }
.fab-whatsapp:hover { background: #1ebd5a; }
.fab-whatsapp::before {
  content: "";
  position: absolute; inset: 0;
  border-radius: 50%;
  border: 2px solid #25d366;
  animation: fabPulse 2.4s ease-out infinite;
}

.fab-email { background: var(--charcoal); }
.fab-email:hover { background: var(--charcoal-3); }

@keyframes fabPulse {
  0% { transform: scale(1); opacity: 0.7; }
  100% { transform: scale(1.55); opacity: 0; }
}

.fab-label {
  position: absolute; right: calc(100% + 12px); top: 50%;
  transform: translate(6px, -50%);
  background: var(--charcoal); color: #fff;
  padding: 7px 14px; border-radius: 999px;
  font-size: 13px; font-weight: 700; white-space: nowrap;
  box-shadow: var(--shadow-sm);
  opacity: 0; pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s var(--ease);
}
@media (hover: hover) {
  .fab:hover .fab-label { opacity: 1; transform: translate(0, -50%); }
}

/* ---------- FAQ Accordion ---------- */
.faq-list { max-width: 820px; margin: 0 auto; display: flex; flex-direction: column; gap: 14px; }
.faq-item { background: var(--surface); border-radius: var(--radius-md); border-left: 3px solid var(--primary); box-shadow: var(--shadow-sm); overflow: hidden; }
.faq-item summary {
  list-style: none; cursor: pointer; padding: 20px 24px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  font-family: 'Montserrat', sans-serif; font-weight: 700; font-size: 15.5px; color: var(--text);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .faq-icon {
  flex-shrink: 0; width: 28px; height: 28px; border-radius: 50%;
  background: var(--bg-alt); color: var(--primary);
  display: flex; align-items: center; justify-content: center;
  transition: transform 0.3s var(--ease), background 0.3s ease;
}
.faq-item summary .faq-icon .material-symbols-outlined { font-size: 18px; }
.faq-item[open] summary .faq-icon { background: var(--primary); color: #fff; transform: rotate(45deg); }
.faq-item .faq-answer { padding: 0 24px 22px; color: var(--text-secondary); font-size: 14.5px; line-height: 1.7; }

::selection { background: var(--primary); color: #fff; }

@media (max-width: 640px) {
  .hero-actions .btn, .final-cta .btn { width: 100%; }
}
