/* === BELOW-FOLD STYLES — loaded async to improve FCP === */

/* --- DATA STRIP --- */
.data-strip {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 28px 4vw;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--gray);
  background: rgba(3, 13, 26, 0.22);
  backdrop-filter: blur(6px);
}

.data-item span {
  display: block;
  color: var(--white);
  font-size: 1.2rem;
  margin-bottom: 2px;
}

/* --- ASYMMETRIC SERVICES --- */
.service-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.services-intro {
  padding: 0 4vw 64px;
}

.service-img {
  background: var(--dark);
  min-height: 520px;
  position: relative;
  overflow: hidden;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
}

.service-img::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(135deg, rgba(0, 112, 243, 0.08) 0%, transparent 60%),
    linear-gradient(315deg, rgba(0, 212, 255, 0.04) 0%, transparent 60%);
}

.service-img img {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.service-info {
  padding: 8vw 6vw;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.service-info h3 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3vw, 3rem);
  margin: 20px 0;
  text-transform: uppercase;
  line-height: 1.05;
}

.service-desc {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: var(--gray);
  margin-bottom: 40px;
  max-width: 480px;
  line-height: 1.8;
  text-shadow: 0 2px 18px rgba(3, 13, 26, 0.98);
  background: rgba(3, 13, 26, 0.16);
  padding: 14px 16px;
  border-radius: 12px;
  backdrop-filter: blur(4px);
}

/* Crosshairs */
.crosshair {
  position: absolute;
  z-index: 2;
  width: 20px;
  height: 20px;
}

.crosshair::before {
  content: '';
  position: absolute;
  top: 9px;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--cyan);
}

.crosshair::after {
  content: '';
  position: absolute;
  top: 0;
  left: 9px;
  width: 2px;
  height: 100%;
  background: var(--cyan);
}

.ch-tl { top: 24px; left: 24px; }
.ch-br { bottom: 24px; right: 24px; }
.ch-tr { top: 24px; right: 24px; }
.ch-bl { bottom: 24px; left: 24px; }

.module-badge {
  position: absolute;
  z-index: 2;
  bottom: 24px;
  left: 24px;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: rgba(0, 212, 255, 0.5);
  letter-spacing: 0.1em;
}

/* --- TECHNICAL MATRIX --- */
.matrix-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-left: 1px solid rgba(255, 255, 255, 0.08);
}

.matrix-cell {
  padding: 48px;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  transition: background 0.3s;
  cursor: default;
}

.matrix-cell:hover {
  background: rgba(0, 212, 255, 0.03);
}

.matrix-id {
  font-family: var(--font-mono);
  color: var(--cyan);
  font-size: 0.75rem;
  margin-bottom: 36px;
  letter-spacing: 0.05em;
}

.matrix-cell h4 {
  font-family: var(--font-display);
  font-size: 1.7rem;
  margin-bottom: 14px;
  text-transform: uppercase;
  line-height: 1.1;
}

.matrix-cell p {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--gray);
  line-height: 1.7;
}

/* --- STATEMENT --- */
.statement-section {
  padding: 160px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  background: rgba(3, 13, 26, 0.18);
}

.statement-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(220px, 320px);
  gap: 40px;
  align-items: center;
}

.statement-copy { max-width: 760px; }

.statement-title {
  font-size: clamp(1.9rem, 4vw, 3.4rem);
  line-height: 0.96;
  margin: 0;
}

.statement-title .statement-line { display: block; }
.statement-copy .section-tag { margin-bottom: 10px !important; }

.statement-desc {
  margin-top: 28px;
  max-width: 620px;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: var(--gray);
  line-height: 1.8;
  text-shadow: 0 2px 18px rgba(3, 13, 26, 0.98);
  background: rgba(3, 13, 26, 0.16);
  padding: 14px 16px;
  border-radius: 12px;
  backdrop-filter: blur(4px);
}

.statement-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.statement-brand { display: flex; justify-content: center; }

.statement-brand-frame {
  width: min(100%, 300px);
  aspect-ratio: 1;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.015);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  overflow: hidden;
}

.statement-brand-frame img {
  width: 100%;
  height: auto;
  display: block;
  filter: saturate(1.02) drop-shadow(0 0 24px rgba(0, 212, 255, 0.06));
}

/* --- TEAM SECTION --- */
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-left: 1px solid rgba(255, 255, 255, 0.08);
  margin-top: 80px;
}

.team-card {
  padding: 40px 32px;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  transition: background 0.3s;
}

.team-card:hover { background: rgba(0, 212, 255, 0.03); }

.team-avatar {
  width: 56px;
  height: 56px;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 1rem;
  color: var(--cyan);
  margin-bottom: 24px;
  position: relative;
}

.team-avatar::before,
.team-avatar::after {
  content: '';
  position: absolute;
  width: 8px;
  height: 8px;
  border-color: var(--cyan);
  border-style: solid;
}

.team-avatar::before { top: -2px; left: -2px; border-width: 2px 0 0 2px; }
.team-avatar::after { bottom: -2px; right: -2px; border-width: 0 2px 2px 0; }

.team-name {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.team-role {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--cyan);
  letter-spacing: 0.08em;
  margin-bottom: 16px;
  line-height: 1.5;
}

.team-bio {
  font-size: 0.85rem;
  color: var(--gray);
  line-height: 1.7;
  text-shadow: 0 2px 18px rgba(3, 13, 26, 0.94);
}

/* --- INSIGHTS / BLOG --- */
.insights-shell {
  margin-top: 80px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.insights-carousel-wrap { min-width: 0; width: 100%; }

.insights-viewport {
  width: 100%;
  overflow: hidden;
  overflow-y: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 18px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.015), transparent 70%),
    linear-gradient(135deg, rgba(0, 212, 255, 0.04), transparent 55%);
  scrollbar-width: none;
  -ms-overflow-style: none;
  touch-action: pan-y;
}

.insights-viewport::-webkit-scrollbar { display: none; }

.insights-track {
  display: flex;
  align-items: stretch;
  gap: 18px;
  width: max-content;
  min-width: 100%;
  will-change: transform;
}

.insight-card {
  flex: 0 0 clamp(320px, 46vw, 430px);
  padding: 48px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-direction: column;
  transition: background 0.3s, border-color 0.3s;
  scroll-snap-align: start;
  scroll-snap-stop: always;
  background: rgba(255, 255, 255, 0.015);
  min-height: 430px;
}

.insight-media {
  margin: 0 0 24px;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.02);
}

.insight-media img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform 0.7s ease;
}

.insight-card:hover .insight-media img,
.insight-card.is-active .insight-media img {
  transform: scale(1.035);
}

.insight-card:hover,
.insight-card.is-active {
  background: rgba(0, 212, 255, 0.045);
}

.insight-card.is-active { border-color: rgba(0, 212, 255, 0.18); }

.insights-spacer { flex: 0 0 0; pointer-events: none; }

.insight-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 24px;
}

.insight-date {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--gray);
  text-align: right;
  flex-shrink: 0;
  line-height: 1.6;
}

.insight-card h3 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  text-transform: uppercase;
  margin: 16px 0 18px;
  line-height: 1.15;
  flex-grow: 1;
  text-align: center;
}

.insight-card p {
  font-size: 0.85rem;
  color: var(--gray);
  margin-bottom: 32px;
  line-height: 1.7;
  flex-grow: 1;
  text-shadow: 0 2px 18px rgba(3, 13, 26, 0.94);
}

.insight-divider {
  width: 40px;
  height: 1px;
  background: var(--border);
  margin-bottom: 24px;
}

.insights-side {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 16px 24px;
  align-items: center;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.insights-nav {
  display: flex;
  gap: 12px;
  justify-content: flex-end;
  justify-self: end;
}

.insights-arrow {
  width: 48px;
  height: 48px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.02);
  color: var(--white);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1.25rem;
  cursor: pointer;
  transition: border-color 0.3s, background 0.3s, color 0.3s;
}

.insights-arrow:hover:not(:disabled) {
  border-color: rgba(0, 212, 255, 0.4);
  background: rgba(0, 212, 255, 0.06);
  color: var(--cyan);
}

.insights-arrow:disabled { opacity: 0.35; cursor: not-allowed; }

.insights-side-label {
  order: -1;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: rgba(0, 212, 255, 0.6);
  letter-spacing: 0.14em;
  margin: 0;
}

.insight-jumps {
  grid-column: 1 / -1;
  display: flex;
  flex-direction: row;
  gap: 12px;
  overflow-x: auto;
  padding-bottom: 4px;
  scrollbar-width: none;
}

.insight-jumps::-webkit-scrollbar { display: none; }

.insight-jump {
  width: auto;
  min-width: 190px;
  max-width: 220px;
  padding: 14px 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.02);
  color: var(--white);
  text-align: left;
  cursor: pointer;
  transition: border-color 0.3s, background 0.3s, transform 0.3s;
}

.insight-jump:hover,
.insight-jump.is-active {
  border-color: rgba(0, 212, 255, 0.28);
  background: rgba(0, 212, 255, 0.06);
}

.insight-jump.is-active { transform: translateY(-2px); }

.insight-jump-date {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  color: var(--cyan);
  letter-spacing: 0.14em;
  margin-bottom: 8px;
}

.insight-jump-label {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--gray);
  letter-spacing: 0.05em;
  line-height: 1.5;
  text-transform: uppercase;
}

.insight-jump.is-active .insight-jump-label { color: var(--white); }

/* --- TESTIMONIALS --- */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-left: 1px solid rgba(255, 255, 255, 0.08);
  margin-top: 80px;
}

.testimonial-card {
  padding: 48px;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-direction: column;
  gap: 28px;
  transition: background 0.3s;
  position: relative;
  overflow: hidden;
}

.testimonial-card:hover { background: rgba(0, 212, 255, 0.03); }

.testimonial-mark {
  position: absolute;
  top: 20px;
  right: 36px;
  font-family: var(--font-display);
  font-size: 6rem;
  color: rgba(0, 212, 255, 0.07);
  line-height: 1;
  font-weight: 700;
  pointer-events: none;
}

.testimonial-stars {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--cyan);
  letter-spacing: 0.3em;
}

.testimonial-quote {
  font-family: var(--font-display);
  font-size: 1.05rem;
  line-height: 1.55;
  color: var(--white);
  flex-grow: 1;
  font-weight: 500;
  text-shadow: 0 2px 20px rgba(3, 13, 26, 0.98);
}

.testimonial-source {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 24px;
}

.testimonial-name {
  font-family: var(--font-display);
  font-size: 0.95rem;
  color: var(--white);
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.testimonial-role {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--cyan);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* --- CONTACT SECTION --- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  margin-top: 80px;
}

.contact-info {
  padding: 60px 80px 60px 0;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
}

.contact-form-wrap { padding: 60px 0 60px 80px; }

.contact-desc {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: var(--gray);
  line-height: 1.8;
  margin-bottom: 48px;
  max-width: 480px;
  text-shadow: 0 2px 18px rgba(3, 13, 26, 0.98);
  background: rgba(3, 13, 26, 0.16);
  padding: 14px 16px;
  border-radius: 12px;
  backdrop-filter: blur(4px);
}

.contact-coords {
  padding-top: 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.coord-row {
  display: flex;
  gap: 16px;
  margin-bottom: 12px;
  font-family: var(--font-mono);
  font-size: 0.78rem;
}

.coord-label { color: var(--cyan); min-width: 90px; }
.coord-val { color: var(--gray); }

/* Form Styles */
.form-group { margin-bottom: 28px; }

.form-label {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--gray);
  letter-spacing: 0.15em;
  margin-bottom: 10px;
  text-transform: uppercase;
}

.form-input {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  padding: 10px 0;
  color: var(--white);
  font-family: var(--font-mono);
  font-size: 0.88rem;
  outline: none;
  transition: border-color 0.3s;
}

.form-input:focus { border-bottom-color: var(--cyan); }
.form-input::placeholder { color: rgba(107, 143, 168, 0.4); }

.form-select {
  appearance: none;
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='%2300d4ff'%3E%3Cpath d='M0 0l6 8 6-8z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0 center;
  padding-right: 20px;
}

.form-select option { background: var(--dark); color: var(--white); }

.form-textarea { resize: none; min-height: 100px; padding-top: 10px; }

.form-success {
  padding: 40px;
  border: 1px solid var(--border);
  text-align: center;
}

.form-success[hidden],
.form-status[hidden] { display: none; }

.form-success h4 {
  font-family: var(--font-mono);
  color: var(--cyan);
  font-size: 0.9rem;
  letter-spacing: 0.1em;
  margin-bottom: 12px;
}

.form-success p {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--gray);
}

.form-status {
  margin-top: 18px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  line-height: 1.7;
  color: var(--gray);
}

.form-status.is-error { color: #ff8a8a; }
.form-status.is-success { color: var(--cyan); }

/* --- FOOTER / TERMINAL --- */
.terminal-section {
  background: #01060d;
  padding: 120px 4vw 60px;
  border-top: 1px solid var(--cyan);
}

.service-block,
#capabilities,
#team .container,
#testimonios .container,
#insights .container,
#contact .container {
  position: relative;
  z-index: 1;
}

#services,
#team,
#testimonios,
#insights,
#contact {
  background: rgba(3, 13, 26, 0.07);
  backdrop-filter: blur(1px);
}

.terminal-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 60px;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  margin-bottom: 80px;
}

.terminal-grid h5 {
  color: var(--white);
  margin-bottom: 24px;
  font-size: 0.85rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding-bottom: 8px;
}

.terminal-grid li { margin-bottom: 10px; color: var(--gray); }
.terminal-grid a:hover { color: var(--cyan); }

.terminal-brand p {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--gray);
  line-height: 1.8;
}

.terminal-bottom {
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--gray);
}

/* --- WhatsApp Floating Button --- */
.whatsapp-float {
  position: fixed;
  bottom: 32px;
  right: 32px;
  z-index: 9999;
  display: flex;
  align-items: center;
  gap: 10px;
  background: #25D366;
  color: #fff;
  border: none;
  padding: 14px 18px;
  border-radius: 8px;
  cursor: pointer;
  text-decoration: none;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: background 0.2s, transform 0.2s;
  box-shadow: 0 4px 24px rgba(37, 211, 102, 0.35);
}

.whatsapp-float:hover {
  background: #1DA851;
  transform: translateY(-2px);
}

.whatsapp-float svg { flex-shrink: 0; }

/* ===================== RESPONSIVE (below-fold) ===================== */
@media (max-width: 1200px) {
  .team-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 1024px) {
  .statement-grid { grid-template-columns: 1fr; gap: 32px; }
  .statement-brand { justify-content: flex-start; }
  .service-block { grid-template-columns: 1fr; }
  .service-img {
    min-height: 320px;
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }
  .matrix-grid { grid-template-columns: repeat(2, 1fr); }
  .insight-jump { min-width: 220px; }
  .testimonials-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
  .contact-info {
    border-right: none;
    padding-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding-bottom: 48px;
  }
  .contact-form-wrap { padding-left: 0; }
}

@media (max-width: 768px) {
  .data-strip {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }
  .matrix-grid { grid-template-columns: 1fr; }
  .matrix-grid > .matrix-cell[style*="grid-column"] { grid-column: auto !important; }
  .statement-section { padding: 100px 0; }
  .statement-brand { justify-content: center; }
  .statement-brand-frame { width: min(100%, 240px); padding: 28px; }
  .insights-side { grid-template-columns: 1fr; gap: 14px; }
  .insights-side-label { order: 0; }
  .insights-nav { justify-content: space-between; justify-self: stretch; }
  .insight-jumps { grid-column: auto; }
  .team-grid { grid-template-columns: 1fr; }
  .insight-card {
    flex-basis: min(88vw, 360px);
    min-height: 390px;
    padding: 40px 28px;
  }
  .insight-media { margin: 0 0 22px; }
  .insight-jump { min-width: 190px; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .terminal-grid { grid-template-columns: 1fr; gap: 40px; }
  .section { padding: 80px 0; }
  .whatsapp-float {
    bottom: 20px;
    right: 20px;
    padding: 12px 14px;
    border-radius: 8px;
  }
  .whatsapp-float .wa-label { display: none; }
}
