/* ============================================================
   SWISSTECH CONSTRUCTION SA — Design System v3
   Palette: Blanc / Gris clair — Plâtrerie & Peinture
   ============================================================ */

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'Inter', 'Segoe UI', sans-serif;
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
  line-height: 1.6;
}
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { cursor: pointer; font-family: inherit; }

/* ---------- Variables ---------- */
:root {
  --bg:          #F5F4F2;
  --bg-2:        #FFFFFF;
  --bg-3:        #ECEAE8;
  --bg-4:        #DFDEDD;
  --border:      rgba(0,0,0,.09);
  --border-2:    rgba(0,0,0,.16);
  --text:        #1A1A1A;
  --text-2:      rgba(26,26,26,.58);
  --text-3:      rgba(26,26,26,.32);
  --accent:      #C52828;
  --accent-light:rgba(197,40,40,.08);
  --accent-2:    #D43535;
  --white:       #FFFFFF;
  --dark:        #1A1A1A;
  --footer-bg:   #222222;
  --footer-bg2:  #2C2C2C;

  --font-head: 'Montserrat', 'Segoe UI', sans-serif;
  --font-body: 'Inter', 'Segoe UI', sans-serif;

  --r-sm:  6px;
  --r-md:  12px;
  --r-lg:  20px;
  --r-xl:  32px;

  --sh-sm: 0 2px 12px rgba(0,0,0,.07);
  --sh-md: 0 6px 28px rgba(0,0,0,.10);
  --sh-lg: 0 16px 48px rgba(0,0,0,.13);
  --sh-xl: 0 28px 72px rgba(0,0,0,.15);

  --ease: .3s cubic-bezier(.4,0,.2,1);
  --nav-h: 72px;
}

/* ---------- Typography ---------- */
h1,h2,h3,h4,h5 {
  font-family: var(--font-head);
  line-height: 1.15;
  font-weight: 700;
  color: var(--dark);
}
h1 { font-size: clamp(2.4rem, 5.5vw, 4.8rem); letter-spacing: -.02em; }
h2 { font-size: clamp(1.9rem, 3.5vw, 3rem); letter-spacing: -.015em; }
h3 { font-size: clamp(1.1rem, 2vw, 1.4rem); }
p  { color: var(--text-2); line-height: 1.8; }

/* ---------- Utilities ---------- */
.container    { max-width: 1180px; margin: 0 auto; padding: 0 28px; }
.container-lg { max-width: 1380px; margin: 0 auto; padding: 0 28px; }

.section     { padding: 110px 0; }
.section-sm  { padding: 70px 0; }

.label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 18px;
}
.label::before {
  content: '';
  display: block;
  width: 22px; height: 1px;
  background: var(--accent);
}

.divider {
  width: 40px; height: 2px;
  background: var(--accent);
  border-radius: 2px;
  margin: 16px 0 0;
}
.divider.center { margin: 16px auto 0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  border-radius: var(--r-sm);
  font-family: var(--font-head);
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  border: none;
  transition: var(--ease);
  cursor: pointer;
}
.btn svg { width: 16px; height: 16px; flex-shrink: 0; }

.btn-primary {
  background: var(--accent);
  color: var(--white);
}
.btn-primary:hover {
  background: var(--accent-2);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(197,40,40,.28);
}

.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 1.5px solid var(--border-2);
}
.btn-ghost:hover {
  border-color: var(--dark);
  color: var(--dark);
  transform: translateY(-2px);
}

/* Ghost on dark bg (hero) */
.hero .btn-ghost {
  color: var(--white);
  border-color: rgba(255,255,255,.4);
}
.hero .btn-ghost:hover {
  border-color: var(--white);
  color: var(--white);
  background: rgba(255,255,255,.08);
}

.btn-lg { padding: 17px 44px; font-size: .85rem; }
.btn-sm { padding: 10px 22px; font-size: .72rem; }

/* ---------- Navigation ---------- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--nav-h);
  background: rgba(255,255,255,.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  transition: var(--ease);
}
.nav.opaque {
  background: rgba(255,255,255,.99);
  box-shadow: var(--sh-sm);
}
.nav-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  height: 100%;
  padding: 0 40px;
  max-width: 1600px;
  margin: 0 auto;
}
.nav-links { justify-self: start; }
.nav-logo  { justify-self: center; }
.nav-right { justify-self: end; }
.nav-logo {
  display: flex;
  align-items: center;
}
.nav-logo img {
  height: 52px;
  width: auto;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 2px;
}
.nav-links a {
  font-family: var(--font-head);
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--text-2);
  padding: 8px 18px;
  border-radius: var(--r-sm);
  transition: var(--ease);
  position: relative;
}
.nav-links a:hover,
.nav-links a.active { color: var(--dark); }
.nav-links a.active::after {
  content: '';
  position: absolute;
  bottom: 4px; left: 18px; right: 18px;
  height: 1.5px;
  background: var(--accent);
}
.nav-right {
  display: flex;
  align-items: center;
  gap: 20px;
}
.nav-phone {
  font-size: .78rem;
  font-weight: 600;
  color: var(--text-2);
  display: flex;
  align-items: center;
  gap: 7px;
  transition: var(--ease);
}
.nav-phone:hover { color: var(--accent); }
.nav-phone svg { width: 13px; height: 13px; }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 8px;
}
.hamburger span {
  display: block;
  width: 22px; height: 1.5px;
  background: var(--dark);
  border-radius: 2px;
  transition: var(--ease);
}
.hamburger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

.mobile-nav {
  position: fixed;
  top: var(--nav-h); left: 0; right: 0;
  background: var(--bg-2);
  border-bottom: 1px solid var(--border);
  padding: 24px 28px 32px;
  transform: translateY(-110%);
  transition: var(--ease);
  z-index: 999;
  box-shadow: var(--sh-md);
}
.mobile-nav.open { transform: translateY(0); }
.mobile-nav a {
  display: block;
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-2);
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
  transition: var(--ease);
}
.mobile-nav a:hover { color: var(--accent); padding-left: 8px; }
.mobile-nav .btn { width: 100%; justify-content: center; margin-top: 24px; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: flex-end;
  padding-bottom: 80px;
  padding-top: var(--nav-h);
  overflow: hidden;
}
/* Slideshow */
.hero-slides {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.4s ease;
  transform: scale(1.04);
  animation: none;
}
.hero-slide.active {
  opacity: 1;
  animation: kenburns 8s ease forwards;
}
@keyframes kenburns {
  from { transform: scale(1.04); }
  to   { transform: scale(1.00); }
}
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    to bottom,
    rgba(10,10,10,.40) 0%,
    rgba(10,10,10,.30) 40%,
    rgba(10,10,10,.72) 75%,
    rgba(10,10,10,.90) 100%
  );
}

/* Dots */
.hero-dots {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  gap: 10px;
  align-items: center;
}
.hero-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,.35);
  border: none;
  padding: 0;
  cursor: pointer;
  transition: var(--ease);
}
.hero-dot.active,
.hero-dot:hover {
  background: var(--white);
  transform: scale(1.3);
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
}
.hero-scroll { z-index: 3; }
.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(255,255,255,.8);
  margin-bottom: 28px;
}
.hero-tag .dot {
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--accent);
  animation: blink 2s infinite;
}
@keyframes blink { 0%,100%{opacity:1} 50%{opacity:.3} }

.hero h1 { color: var(--white); margin-bottom: 22px; transition: opacity .25s ease; }
.hero h1 em { font-style: normal; color: #F8B8B8; }
.hero-sub {
  font-size: clamp(1rem, 1.8vw, 1.2rem);
  color: rgba(255,255,255,.72);
  max-width: 540px;
  margin-bottom: 44px;
  line-height: 1.75;
  transition: opacity .25s ease;
}
.hero-cta {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  align-items: center;
}
.hero-scroll {
  position: absolute;
  bottom: 36px;
  right: 40px;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,.4);
  font-size: .65rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  writing-mode: vertical-rl;
}
.hero-scroll::after {
  content: '';
  display: block;
  width: 1px; height: 40px;
  background: rgba(255,255,255,.25);
  margin-top: 8px;
  animation: grow 2s infinite;
}
@keyframes grow { 0%,100%{height:40px;opacity:.4} 50%{height:60px;opacity:.9} }

/* ---------- Services ---------- */
.services-list { display: flex; flex-direction: column; gap: 0; }
.service-row {
  display: grid;
  grid-template-columns: 80px 1fr auto;
  align-items: start;
  gap: 32px;
  padding: 36px 0;
  border-bottom: 1px solid var(--border);
  transition: var(--ease);
  cursor: default;
}
.service-row:first-child { border-top: 1px solid var(--border); }
.service-row:hover {
  background: var(--bg-2);
  padding-left: 20px; padding-right: 20px;
  margin: 0 -20px;
  border-radius: var(--r-md);
  border-color: transparent;
  box-shadow: var(--sh-sm);
}
.service-num {
  font-family: var(--font-head);
  font-size: .78rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: .08em;
  padding-top: 4px;
}
.service-info h3 { margin-bottom: 8px; font-size: 1.2rem; color: var(--dark); }
.service-info p { font-size: .9rem; max-width: 520px; margin-bottom: 14px; }
.service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.service-tag {
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--text-2);
  background: var(--bg-4);
  border: 1px solid var(--border);
  padding: 4px 12px;
  border-radius: 100px;
}
.service-arrow {
  font-size: 1.3rem;
  color: var(--text-3);
  padding-top: 4px;
  transition: var(--ease);
}
.service-row:hover .service-arrow {
  color: var(--accent);
  transform: translate(4px,-4px);
}

/* ---------- Projects ---------- */
.projects-filters {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}
.pf-btn {
  font-family: var(--font-head);
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--text-2);
  background: var(--bg-2);
  border: 1.5px solid var(--border);
  padding: 9px 22px;
  border-radius: 100px;
  transition: var(--ease);
  cursor: pointer;
}
.pf-btn:hover,
.pf-btn.active {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--white);
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 3px;
  border-radius: var(--r-md);
  overflow: hidden;
}
.proj-card {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
  cursor: pointer;
  background: var(--bg-4);
}
.proj-card img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .8s cubic-bezier(.4,0,.2,1);
  display: block;
}
.proj-card:hover img { transform: scale(1.07); }

.proj-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10,10,10,.92) 0%, rgba(10,10,10,.2) 55%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 28px 26px;
  transition: var(--ease);
}
.proj-card:hover .proj-overlay { background: linear-gradient(to top, rgba(10,10,10,.96) 0%, rgba(10,10,10,.4) 60%, transparent 100%); }

.proj-cat {
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #F8B8B8;
  margin-bottom: 5px;
}
.proj-title {
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1.3;
}
.proj-works {
  display: flex;
  flex-direction: column;
  gap: 3px;
  margin-top: 8px;
  max-height: 0;
  overflow: hidden;
  transition: max-height .4s ease;
}
.proj-card:hover .proj-works { max-height: 150px; }
.proj-work-item {
  font-size: .68rem;
  color: rgba(255,255,255,.65);
  line-height: 1.4;
  display: flex;
  align-items: baseline;
  gap: 5px;
}
.proj-work-item::before {
  content: '–';
  color: #F8B8B8;
  flex-shrink: 0;
}
.proj-count {
  font-size: .72rem;
  color: rgba(255,255,255,.45);
  margin-top: 6px;
  display: flex;
  align-items: center;
  gap: 5px;
}
.proj-count svg { width: 12px; height: 12px; }

.proj-open-btn {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%,-50%) scale(0);
  width: 52px; height: 52px;
  border-radius: 50%;
  background: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--ease);
  box-shadow: 0 8px 28px rgba(197,40,40,.4);
}
.proj-card:hover .proj-open-btn { transform: translate(-50%,-50%) scale(1); }
.proj-open-btn svg { width: 22px; height: 22px; color: var(--white); }

/* Large first card */
.projects-grid .proj-card:first-child {
  grid-column: span 2;
  aspect-ratio: 16/9;
}

/* ---------- Lightbox ---------- */
.lb {
  position: fixed;
  inset: 0;
  background: rgba(10,10,10,.97);
  z-index: 9999;
  display: flex;
  flex-direction: column;
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s ease;
}
.lb.open { opacity: 1; pointer-events: all; }
.lb-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 32px;
  border-bottom: 1px solid rgba(255,255,255,.06);
  flex-shrink: 0;
}
.lb-title { font-family: var(--font-head); font-size: 1rem; font-weight: 700; color: var(--white); }
.lb-meta { font-size: .8rem; color: rgba(255,255,255,.35); }
.lb-close {
  width: 40px; height: 40px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 50%;
  color: rgba(255,255,255,.6);
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--ease);
}
.lb-close:hover { background: var(--accent); border-color: var(--accent); color: var(--white); }
.lb-body {
  flex: 1;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px 72px;
  min-height: 0;
}
.lb-img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  border-radius: var(--r-md);
}
.lb-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px; height: 48px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 50%;
  color: rgba(255,255,255,.6);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--ease);
}
.lb-nav:hover { background: var(--accent); border-color: var(--accent); color: var(--white); }
.lb-nav.prev { left: 16px; }
.lb-nav.next { right: 16px; }
.lb-nav svg { width: 18px; height: 18px; }
.lb-thumbs {
  display: flex;
  gap: 6px;
  padding: 14px 32px;
  justify-content: center;
  overflow-x: auto;
  flex-shrink: 0;
  border-top: 1px solid rgba(255,255,255,.06);
}
.lb-thumb {
  width: 68px; height: 48px;
  object-fit: cover;
  border-radius: var(--r-sm);
  opacity: .35;
  cursor: pointer;
  transition: var(--ease);
  border: 1.5px solid transparent;
  flex-shrink: 0;
}
.lb-thumb.active,
.lb-thumb:hover { opacity: 1; border-color: var(--accent); }

/* ---------- About ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
.about-img {
  position: relative;
  border-radius: var(--r-lg);
  overflow: visible;
}
.about-img img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  border-radius: var(--r-lg);
  box-shadow: var(--sh-lg);
}
.about-badge {
  position: absolute;
  bottom: 28px; right: -20px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 18px 24px;
  text-align: center;
  box-shadow: var(--sh-md);
}
.about-badge-n {
  font-family: var(--font-head);
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--accent);
  display: block;
  line-height: 1;
}
.about-badge-l {
  font-size: .68rem;
  color: var(--text-2);
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-top: 4px;
}
.about-content h2 { margin-bottom: 14px; }
.about-content > p { margin: 20px 0 32px; }
.engagements { display: flex; flex-direction: column; gap: 20px; margin-bottom: 36px; }
.engagement { display: flex; gap: 16px; align-items: flex-start; }
.engagement-icon {
  width: 44px; height: 44px;
  border-radius: var(--r-sm);
  background: var(--accent-light);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.engagement-icon svg { width: 20px; height: 20px; color: var(--accent); }
.engagement-title { font-weight: 700; font-size: .95rem; color: var(--dark); margin-bottom: 3px; }
.engagement-desc { font-size: .85rem; }

/* ---------- Team ---------- */
.team-grid {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 20px;
}
.team-card {
  background: var(--bg-2);
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: var(--ease);
  box-shadow: var(--sh-sm);
}
.team-card:hover {
  border-color: var(--border-2);
  transform: translateY(-4px);
  box-shadow: var(--sh-md);
}
.team-photo {
  height: 220px;
  background: var(--bg-3);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.team-photo img { width:100%; height:100%; object-fit:cover; }
.team-photo-placeholder {
  width: 72px; height: 72px;
  border-radius: 50%;
  background: var(--bg-4);
  display: flex;
  align-items: center;
  justify-content: center;
}
.team-photo-placeholder svg { width: 34px; height: 34px; color: var(--text-3); }
.team-body { padding: 22px; }
.team-name { font-size: 1rem; font-weight: 700; color: var(--dark); margin-bottom: 4px; }
.team-role { font-size: .75rem; color: var(--accent); font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }

/* ---------- Contact ---------- */
.contact-wrap {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 60px;
  align-items: start;
}
.contact-info h2 { margin-bottom: 14px; }
.contact-info > p { margin-bottom: 40px; }

.c-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  margin-bottom: 26px;
}
.c-icon {
  width: 44px; height: 44px;
  background: var(--accent-light);
  border-radius: var(--r-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.c-icon svg { width: 18px; height: 18px; color: var(--accent); }
.c-label {
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--text-3);
  margin-bottom: 4px;
}
.c-val { font-size: .92rem; color: var(--text); }
.c-val a { color: var(--text); transition: var(--ease); }
.c-val a:hover { color: var(--accent); }

.c-social {
  display: flex;
  gap: 10px;
  margin-top: 36px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
}
.c-social a {
  width: 42px; height: 42px;
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-2);
  transition: var(--ease);
}
.c-social a:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--white);
  transform: translateY(-3px);
}
.c-social svg { width: 17px; height: 17px; }

/* Form */
.form-card {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: 48px;
  box-shadow: var(--sh-md);
}
.form-card h3 { margin-bottom: 8px; }
.form-card > p { margin-bottom: 32px; }

.fg { margin-bottom: 20px; }
.fg label {
  display: block;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--text-2);
  margin-bottom: 8px;
}
.fg label .req { color: var(--accent); }
.fc {
  width: 100%;
  padding: 13px 17px;
  background: var(--bg);
  border: 1.5px solid var(--border);
  border-radius: var(--r-sm);
  font-family: var(--font-body);
  font-size: .9rem;
  color: var(--text);
  transition: var(--ease);
  outline: none;
}
.fc:focus { border-color: var(--accent); background: var(--white); }
.fc::placeholder { color: var(--text-3); }
textarea.fc { resize: vertical; min-height: 130px; }
select.fc { cursor: pointer; }
.form-2col { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }

.form-check {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 28px;
}
.form-check input[type="checkbox"] {
  width: 18px; height: 18px;
  margin-top: 2px;
  flex-shrink: 0;
  accent-color: var(--accent);
  cursor: pointer;
}
.form-check label {
  font-size: .8rem;
  color: var(--text-2);
  line-height: 1.6;
  cursor: pointer;
}

/* ---------- Footer (dark) ---------- */
.footer {
  background: var(--footer-bg);
  border-top: 3px solid var(--accent);
  padding: 60px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.4fr;
  gap: 48px;
  padding-bottom: 52px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.footer-brand img {
  height: 40px;
  margin-bottom: 18px;
}
.footer-brand p { font-size: .85rem; color: rgba(255,255,255,.5); margin-bottom: 22px; }
.footer-social { display: flex; gap: 10px; }
.footer-social a {
  width: 38px; height: 38px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--r-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,.5);
  transition: var(--ease);
}
.footer-social a:hover { background: var(--accent); border-color: var(--accent); color: var(--white); }
.footer-social svg { width: 16px; height: 16px; }

.footer-col h4 {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 1.5px solid var(--accent);
  display: inline-block;
}
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-links a {
  font-size: .85rem;
  color: rgba(255,255,255,.5);
  transition: var(--ease);
  display: flex;
  align-items: center;
  gap: 6px;
}
.footer-links a:hover { color: var(--white); padding-left: 4px; }

.footer-bottom {
  padding: 22px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}
.footer-bottom p { font-size: .78rem; color: rgba(255,255,255,.35); }
.footer-bottom a { color: var(--accent); }

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

/* ---------- Fade-up animation ---------- */
.fu {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .65s ease, transform .65s ease;
}
.fu.show { opacity: 1; transform: none; }
.fu:nth-child(2) { transition-delay: .08s; }
.fu:nth-child(3) { transition-delay: .16s; }
.fu:nth-child(4) { transition-delay: .24s; }
.fu:nth-child(5) { transition-delay: .32s; }
.fu:nth-child(6) { transition-delay: .40s; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .section { padding: 80px 0; }
  .about-grid { gap: 48px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
  .team-grid { grid-template-columns: repeat(3,1fr); }
}
@media (max-width: 768px) {
  :root { --nav-h: 60px; }
  .section { padding: 60px 0; }

  /* Nav */
  .nav-links, .nav-phone { display: none; }
  .hamburger { display: flex; }
  .nav-right .btn { display: none; }
  .nav-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
  }
  .nav-logo img { height: 36px; }

  /* Hero */
  .hero {
    min-height: 100svh;
    min-height: 100vh;
    align-items: center;
    padding-bottom: 80px;
    padding-top: var(--nav-h);
  }
  .hero-content { text-align: center; }
  .hero-tag { justify-content: center; }
  .hero-cta { justify-content: center; flex-wrap: wrap; gap: 12px; }
  .hero-scroll { display: none; }
  .hero-dots { bottom: 24px; }

  /* Services */
  .service-row { grid-template-columns: 48px 1fr; gap: 20px; }
  .service-arrow { display: none; }
  .service-num { font-size: 1.6rem; }

  /* Projects */
  .projects-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .projects-grid .proj-card:first-child { grid-column: span 2; aspect-ratio: 3/2; }
  .pf-filters { flex-wrap: wrap; gap: 8px; }

  /* About */
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .about-img { display: none; }

  /* Team */
  .team-grid { grid-template-columns: repeat(2,1fr); gap: 16px; }

  /* Contact */
  .contact-wrap { grid-template-columns: 1fr; gap: 40px; }
  .form-2col { grid-template-columns: 1fr; }

  /* Footer */
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; text-align: center; }
}
@media (max-width: 480px) {
  .container, .container-lg { padding: 0 16px; }

  /* Hero */
  .hero { padding-bottom: 70px; }
  .hero-cta { flex-direction: column; }
  .hero-cta .btn { width: 100%; justify-content: center; }

  /* Projects */
  .projects-grid { grid-template-columns: 1fr; gap: 10px; }
  .projects-grid .proj-card:first-child { grid-column: span 1; aspect-ratio: 4/3; }

  /* Services */
  .service-row { gap: 16px; }
  .service-tags { flex-wrap: wrap; }

  /* Team */
  .team-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .team-photo { height: 120px; }

  /* Engagement */
  .engagements-grid { grid-template-columns: 1fr; }

  /* Form */
  .form-card { padding: 28px 18px; }

  /* Footer */
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer { padding-top: 44px; }
}
