/* ─────────────────────────────────────────────────
   SERVICES  (white bg, bento grid)
───────────────────────────────────────────────── */
#services { background: var(--bg); }

/* Bento: 3 equal columns, photo spans col-1 rows 1-2 */
.services-bento {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  align-items: stretch;
}

/* Photo tile — first column, spans 2 rows */
.service-photo-tile {
  grid-column: 1;
  grid-row: 1 / 3;
  border-radius: var(--radius-lg);
  overflow: hidden;
  min-height: 300px;
}
.service-photo-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

/* Service cards */
a.service-card {
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
}
.service-card {
  padding: 26px 24px;
  border-radius: var(--radius);
  background: var(--bg);
  box-shadow: 0 1px 3px rgba(0,0,0,0.04), 0 6px 20px rgba(0,0,0,0.06);
  transition: box-shadow .2s, transform .2s;
  cursor: pointer;
}
.service-card:hover {
  box-shadow: 0 4px 8px rgba(0,0,0,0.06), 0 14px 36px rgba(0,0,0,0.10);
  transform: translateY(-2px);
}

.service-learn-more {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
  margin-top: auto;
  padding-top: 14px;
}
.service-learn-more .lucide {
  width: 13px;
  height: 13px;
  transition: transform .15s;
}
.service-card:hover .service-learn-more .lucide {
  transform: translateX(3px);
}

.service-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius);
  background: var(--bg-soft);
  display: grid;
  place-items: center;
  color: var(--accent);
  margin-bottom: 14px;
}
.service-icon .lucide { width: 18px; height: 18px; }

.service-card h3 {
  font-size: 14.5px;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 6px;
  color: var(--dark);
}
.service-card p { color: var(--muted); font-size: 13.5px; line-height: 1.65; }

/* Tablet: photo goes full width, service cards 2-col */
@media (max-width: 980px) {
  .services-bento { grid-template-columns: repeat(2, 1fr); }
  .service-photo-tile { grid-column: 1 / -1; grid-row: 1; min-height: 220px; }
}

/* Mobile: single column */
@media (max-width: 560px) {
  .services-bento { grid-template-columns: 1fr; }
  .service-photo-tile { min-height: 200px; }
}


/* ─────────────────────────────────────────────────
   ABOUT / WHY  (blue-soft bg, split layout)
───────────────────────────────────────────────── */
#about { background: var(--bg-soft); }

.about-split {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 48px;
  align-items: start;
}

.about-photo img {
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
  object-position: center;
  border-radius: var(--radius-lg);
  display: block;
}

@media (max-width: 1024px) {
  .about-split { grid-template-columns: 1fr 300px; gap: 36px; }
}

@media (max-width: 880px) {
  .about-split { grid-template-columns: 1fr; gap: 32px; }
  .about-photo img { min-height: 260px; height: 260px; }
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.why-item {
  padding: 26px 24px;
  border-radius: var(--radius);
  background: var(--bg);
  box-shadow: 0 1px 3px rgba(0,0,0,0.04), 0 6px 20px rgba(0,0,0,0.06);
  transition: box-shadow .2s, transform .2s;
  cursor: default;
}
.why-item:hover {
  box-shadow: 0 4px 8px rgba(0,0,0,0.06), 0 14px 36px rgba(0,0,0,0.10);
  transform: translateY(-3px);
}

.icon-tile {
  width: 40px;
  height: 40px;
  border-radius: var(--radius);
  background: var(--bg-soft);
  display: grid;
  place-items: center;
  color: var(--accent);
  margin-bottom: 16px;
}
.icon-tile .lucide { width: 18px; height: 18px; }

.why-item h3 { font-size: 15px; font-weight: 700; letter-spacing: -0.01em; margin-bottom: 7px; color: var(--dark); }
.why-item p  { color: var(--muted); font-size: 14px; line-height: 1.68; }

@media (max-width: 880px) { .why-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .why-grid { grid-template-columns: 1fr; } }


/* ─────────────────────────────────────────────────
   HOW IT WORKS  (white bg, diagonal staircase)
───────────────────────────────────────────────── */
#how { background: var(--bg); }

/* Wrapper needs extra bottom padding to fit the last (lowest) step */
.diag-timeline {
  display: flex;
  gap: 0;
  align-items: flex-start;
  padding-bottom: 20px;
}

.diag-step {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 12px;
  position: relative;
}

/* Stagger each step downward */
.diag-step:nth-child(1) { padding-top: 0; }
.diag-step:nth-child(2) { padding-top: 56px; }
.diag-step:nth-child(3) { padding-top: 112px; }
.diag-step:nth-child(4) { padding-top: 168px; }
.diag-step:nth-child(5) { padding-top: 224px; }

/* Diagonal connector line from right edge of circle to next step */
.diag-step:not(:last-child) .diag-circle::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 100%;
  width: 168px;
  height: 1.5px;
  background: linear-gradient(to right, var(--border-2), var(--border));
  transform-origin: left center;
  transform: rotate(14deg);
  pointer-events: none;
}

.diag-circle {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--bg-soft);
  border: 2px solid var(--border);
  display: grid;
  place-items: center;
  color: var(--accent);
  margin-bottom: 14px;
  position: relative;
  z-index: 1;
  transition: border-color .2s, background .2s;
}
.diag-circle:hover {
  border-color: var(--accent);
  background: rgba(29,78,216,0.06);
}
.diag-circle .lucide { width: 22px; height: 22px; }

.diag-num {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 6px;
  font-family: 'Inter', sans-serif;
}

.diag-step h3 { font-size: 15px; font-weight: 700; color: var(--dark); margin-bottom: 6px; }
.diag-step p  { color: var(--muted); font-size: 13px; line-height: 1.65; }

/* Mobile: horizontal row with icon, stagger removed */
@media (max-width: 880px) {
  .diag-timeline {
    flex-direction: column;
    gap: 0;
    padding-bottom: 0;
  }
  .diag-step {
    flex-direction: row;
    text-align: left;
    align-items: flex-start;
    gap: 18px;
    padding: 0 0 32px 0 !important;
  }
  .diag-step:last-child { padding-bottom: 0 !important; }
  .diag-circle {
    flex-shrink: 0;
    margin-bottom: 0;
    width: 52px;
    height: 52px;
  }
  .diag-circle .lucide { width: 18px; height: 18px; }
  .diag-circle::after { display: none !important; }
  .diag-step h3 { margin-top: 4px; }
}


/* ─────────────────────────────────────────────────
   STATS / EXPERIENCE  (dark, server photo bg)
───────────────────────────────────────────────── */
#experience {
  background: var(--dark);
  background-image: url('/images/pexels-cookiecutter-17489152.jpg');
  background-size: cover;
  background-position: center;
  position: relative;
}

#experience::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(13,31,60,0.88);
  z-index: 0;
}

#experience .container { position: relative; z-index: 1; }

#experience .section-head h2  { color: var(--text-dark); }
#experience .section-head .mono { color: var(--muted-dark); }

.stats-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
}

.stat {
  padding: 32px 20px;
  text-align: center;
  border-right: 1px solid rgba(255,255,255,0.08);
}
.stat:last-child { border-right: 0; }

.stat-num {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(40px, 5vw, 64px);
  font-weight: 800;
  line-height: 1;
  color: #fff;
  letter-spacing: -0.03em;
  display: block;
}
.stat-label {
  color: var(--muted-dark);
  font-size: 13px;
  font-weight: 500;
  margin-top: 8px;
  display: block;
  line-height: 1.4;
}

@media (max-width: 980px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat { border-right: 0; border-bottom: 1px solid rgba(255,255,255,0.08); }
  .stat:nth-last-child(-n+1) { border-bottom: 0; }
}
@media (max-width: 520px) {
  .stats-grid { grid-template-columns: 1fr; }
  .stat { border-bottom: 1px solid rgba(255,255,255,0.08); }
  .stat:last-child { border-bottom: 0; }
}


/* ─────────────────────────────────────────────────
   INDUSTRIES  (dark, city photo bg)
───────────────────────────────────────────────── */
#industries {
  background: var(--dark);
  background-image: url('/images/industeries2.jpg');
  background-size: cover;
  background-position: center;
  position: relative;
}

#industries::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(13,31,60,0.82);
  z-index: 0;
}

#industries .container { position: relative; z-index: 1; }

#industries .section-head h2  { color: var(--text-dark); }
#industries .section-head .mono { color: var(--muted-dark); }
#industries .section-head p    { color: var(--muted-dark); }

.industries-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.industry {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 18px 20px;
  border-radius: var(--radius);
  background: rgba(13,31,60,0.72);
  border: 1px solid rgba(255,255,255,0.18);
  transition: background .2s, border-color .2s, transform .2s;
  font-weight: 500;
  cursor: default;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.industry:hover {
  background: rgba(13,31,60,0.88);
  border-color: rgba(255,255,255,0.28);
  transform: translateY(-2px);
}
.industry .lucide { width: 17px; height: 17px; color: #93c5fd; flex-shrink: 0; }
.industry span    { font-size: 14px; color: var(--text-dark); }

@media (max-width: 880px) { .industries-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .industries-grid { grid-template-columns: 1fr; } }


/* ─────────────────────────────────────────────────
   CTA / CONTACT  (dark navy)
───────────────────────────────────────────────── */
#contact { background: var(--bg-soft); }

.cta-wrap {
  padding: 80px 0;
}

.cta-banner {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  padding: 72px 48px;
  text-align: center;
  color: var(--text-dark);
  background-image: url('/images/pexels-fotios-photos-16129724.jpg');
  background-size: cover;
  background-position: center;
}

.cta-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(13,31,60,0.84);
  z-index: 0;
  border-radius: inherit;
}

.cta-banner > * { position: relative; z-index: 1; }

.cta-banner h2 { color: #fff; margin-bottom: 12px; }
.cta-banner > p { color: var(--muted-dark); font-size: 16px; margin-bottom: 32px; line-height: 1.68; }

.cta-urgency {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 18px;
  color: rgba(255,255,255,0.3);
  font-size: 12.5px;
}
.cta-urgency .lucide { width: 13px; height: 13px; color: #4ade80; }

@media (max-width: 640px) { .cta-banner { padding: 48px 24px; } }


/* ─────────────────────────────────────────────────
   FLOATING CTA BUTTON
───────────────────────────────────────────────── */
.floating-cta {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 40;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 18px;
  border-radius: 999px;
  background: var(--cta);
  color: #fff;
  font-family: 'Inter', inherit;
  font-weight: 600;
  font-size: 13.5px;
  border: 0;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(249,115,22,0.4);
  transition: background .15s, box-shadow .15s, transform .1s;
}
.floating-cta:hover {
  background: var(--cta-h);
  box-shadow: 0 6px 20px rgba(249,115,22,0.5);
  transform: translateY(-1px);
}
.floating-cta .pulse {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #fff;
  opacity: 0.85;
  animation: fpulse 2s infinite;
}
@keyframes fpulse {
  0%   { box-shadow: 0 0 0 0 rgba(255,255,255,0.5); }
  70%  { box-shadow: 0 0 0 6px rgba(255,255,255,0); }
  100% { box-shadow: 0 0 0 0 rgba(255,255,255,0); }
}
.floating-cta .lucide { width: 14px; height: 14px; }


/* ─────────────────────────────────────────────────
   FOOTER  (dark navy)
───────────────────────────────────────────────── */
footer {
  background: var(--dark);
  color: var(--text-dark);
  padding: 72px 0 40px;
  border-top: 1px solid rgba(255,255,255,0.06);
}

footer .logo { color: var(--text-dark); }

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 48px;
}

.footer-brand p {
  color: var(--muted-dark);
  font-size: 14px;
  margin-top: 16px;
  max-width: 280px;
  line-height: 1.68;
}

.socials {
  display: flex;
  gap: 8px;
  margin-top: 22px;
}
.socials a {
  width: 34px;
  height: 34px;
  border-radius: var(--radius);
  border: 1px solid rgba(255,255,255,0.1);
  display: grid;
  place-items: center;
  color: var(--muted-dark);
  transition: color .15s, border-color .15s, background .15s;
}
.socials a:hover { color: #fff; border-color: rgba(255,255,255,0.28); background: rgba(255,255,255,0.06); }
.socials .lucide { width: 15px; height: 15px; }

.col-title {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  margin-bottom: 18px;
  font-family: 'Inter', sans-serif;
}
.col ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.col a {
  color: var(--muted-dark);
  font-size: 14px;
  transition: color .15s;
}
.col a:hover { color: #fff; }

.footer-bottom {
  margin-top: 52px;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.07);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  color: rgba(255,255,255,0.22);
  font-size: 13px;
}

@media (max-width: 880px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }


/* ─────────────────────────────────────────────────
   FAQ
───────────────────────────────────────────────── */
.faq-wrap {
  max-width: 740px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.faq {
  border-radius: var(--radius);
  background: var(--bg);
  box-shadow: 0 1px 3px rgba(0,0,0,0.04), 0 4px 14px rgba(0,0,0,0.05);
  overflow: hidden;
  transition: box-shadow .2s;
}
.faq[open] { box-shadow: 0 2px 8px rgba(29,78,216,0.1), 0 8px 24px rgba(29,78,216,0.08); }

.faq summary {
  list-style: none;
  cursor: pointer;
  padding: 20px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-weight: 600;
  font-size: 15px;
  color: var(--dark);
}
.faq summary::-webkit-details-marker { display: none; }

.chev {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid var(--border-2);
  display: grid;
  place-items: center;
  color: var(--muted);
  transition: transform .2s, color .2s, border-color .2s;
  flex-shrink: 0;
}
.chev .lucide { width: 13px; height: 13px; }
.faq[open] .chev { transform: rotate(45deg); color: var(--accent); border-color: var(--accent); }

.faq .body {
  padding: 0 22px 20px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

/* ─── Call Modal ──────────────────────────────── */
.call-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(8,21,41,0.72);
  backdrop-filter: blur(4px);
  z-index: 200;
  display: grid;
  place-items: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s;
}
.call-modal-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.call-modal {
  background: var(--bg);
  border-radius: var(--radius-lg);
  padding: 48px 40px 40px;
  max-width: 420px;
  width: 100%;
  text-align: center;
  position: relative;
  transform: translateY(12px) scale(0.98);
  transition: transform 0.2s;
  box-shadow: 0 24px 80px rgba(0,0,0,0.18);
}
.call-modal-overlay.open .call-modal {
  transform: translateY(0) scale(1);
}

.call-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 32px;
  height: 32px;
  border: none;
  background: var(--bg-soft);
  border-radius: 50%;
  display: grid;
  place-items: center;
  cursor: pointer;
  color: var(--muted);
  transition: background 0.15s, color 0.15s;
}
.call-modal-close:hover { background: var(--border); color: var(--text); }
.call-modal-close .lucide { width: 15px; height: 15px; }

.call-modal-icon {
  width: 56px;
  height: 56px;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  display: grid;
  place-items: center;
  margin: 0 auto 20px;
  color: var(--accent);
}
.call-modal-icon .lucide { width: 24px; height: 24px; }

.call-modal h2 {
  font-size: 22px;
  color: var(--text);
  margin-bottom: 8px;
}
.call-modal > p {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 28px;
  line-height: 1.6;
}

.call-modal-tel {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--bg-soft);
  border: 1.5px solid var(--border-2);
  border-radius: var(--radius);
  padding: 14px 20px;
  font-size: 20px;
  font-weight: 700;
  color: var(--text);
  text-decoration: none;
  letter-spacing: 0.02em;
  transition: border-color 0.15s, background 0.15s;
  margin-bottom: 20px;
}
.call-modal-tel:hover { border-color: var(--accent); background: #EFF6FF; }
.call-modal-tel .lucide { width: 20px; height: 20px; color: var(--accent); flex-shrink: 0; }

.call-modal-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--muted-2);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 20px;
}
.call-modal-divider::before,
.call-modal-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}

.call-modal-schedule {
  width: 100%;
  justify-content: center;
  margin-bottom: 16px;
}

.call-modal-note {
  font-size: 12px;
  color: var(--muted-2);
  margin: 0;
}

@media (max-width: 480px) {
  .call-modal { padding: 40px 24px 32px; }
  .call-modal-tel { font-size: 17px; }
}
