/* ═══════════════════════════════════════
   Sensecon — styles.css
   ═══════════════════════════════════════ */

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

:root {
  --ink: #0b1a2e;
  --ink-soft: #2a3a52;
  --mid: #5a6a82;
  --muted: #8898ae;
  --border: #dde3ec;
  --surface: #f4f6f9;
  --white: #ffffff;
  --accent: #0066ff;
  --accent-light: #e8f0ff;
  --accent-dark: #0050cc;
  --teal: #00b894;
  --teal-light: #e6f9f4;
  --warm: #ff6b35;
  --warm-light: #fff3ee;
  --font-body: 'Outfit', sans-serif;
  --font-serif: 'Source Serif 4', Georgia, serif;
  --max-w: 1200px;
  --section-pad: clamp(4rem, 8vw, 7rem);
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--white);
  color: var(--ink-soft);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

.container { max-width: var(--max-w); margin: 0 auto; padding: 0 clamp(1.2rem, 4vw, 2rem); }

/* ═══ NAV ═══ */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow 0.3s;
}
nav.scrolled { box-shadow: 0 2px 24px rgba(11,26,46,0.06); }
.nav-inner {
  max-width: var(--max-w); margin: 0 auto; padding: 0 clamp(1.2rem, 4vw, 2rem);
  display: flex; align-items: center; justify-content: space-between; height: 72px;
}
.logo {
  display: flex; align-items: center;
  text-decoration: none;
}
.logo-img { height: 36px; width: auto; max-width: 180px; display: block; }
.logo-icon {
  width: 36px; height: 36px; background: var(--accent);
  border-radius: 8px; display: flex; align-items: center; justify-content: center;
}
.logo-icon svg { width: 20px; height: 20px; fill: white; }
.nav-links { display: flex; align-items: center; gap: 2.2rem; list-style: none; }
.nav-links a {
  color: var(--mid); text-decoration: none; font-size: 0.92rem; font-weight: 500;
  padding: 0.4rem 0; position: relative; transition: color 0.25s;
}
.nav-links a::after {
  content: ''; position: absolute; bottom: -2px; left: 0; width: 0; height: 2px;
  background: var(--accent); border-radius: 1px; transition: width 0.3s ease;
}
.nav-links a:hover { color: var(--ink); }
.nav-links a:hover::after { width: 100%; }
.nav-cta {
  background: var(--accent); color: white; padding: 0.6rem 1.4rem; border-radius: 8px;
  text-decoration: none; font-weight: 600; font-size: 0.9rem;
  transition: background 0.2s, transform 0.2s;
}
.nav-cta:hover { background: var(--accent-dark); transform: translateY(-1px); }

.hamburger { display: none; background: none; border: none; cursor: pointer; padding: 0.5rem; }
.hamburger span { display: block; width: 22px; height: 2px; background: var(--ink); margin: 5px 0; border-radius: 2px; transition: 0.3s; }

/* ═══ HERO ═══ */
.hero {
  padding: calc(72px + 5rem) 0 var(--section-pad);
  position: relative; overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0; z-index: 0;
  background:
    radial-gradient(ellipse 50% 70% at 85% 20%, rgba(0,102,255,0.06) 0%, transparent 60%),
    radial-gradient(ellipse 40% 50% at 10% 80%, rgba(0,184,148,0.05) 0%, transparent 50%),
    linear-gradient(180deg, var(--white) 0%, var(--surface) 100%);
}
.hero-dots {
  position: absolute; inset: 0; z-index: 0;
  background-image: radial-gradient(circle, rgba(0,102,255,0.07) 1px, transparent 1px);
  background-size: 32px 32px;
  mask-image: radial-gradient(ellipse 60% 50% at 50% 40%, black 20%, transparent 70%);
}
.hero-inner {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: var(--accent-light); color: var(--accent); padding: 0.35rem 0.9rem;
  border-radius: 50px; font-size: 0.78rem; font-weight: 600;
  letter-spacing: 0.5px; text-transform: uppercase; margin-bottom: 1.5rem;
}
.hero-badge span { width: 6px; height: 6px; background: var(--accent); border-radius: 50%; }
.hero h1 {
  font-family: var(--font-serif); font-size: clamp(2.4rem, 5vw, 3.6rem);
  font-weight: 700; color: var(--ink); line-height: 1.15; margin-bottom: 1.3rem;
  letter-spacing: -0.5px;
}
.hero h1 em { font-style: normal; color: var(--accent); }
.hero p { font-size: 1.1rem; color: var(--mid); max-width: 500px; margin-bottom: 2rem; }
.hero-buttons { display: flex; gap: 0.8rem; flex-wrap: wrap; }
.btn-primary {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: var(--accent); color: white; padding: 0.85rem 1.8rem; border-radius: 10px;
  text-decoration: none; font-weight: 600; font-size: 0.95rem;
  transition: background 0.2s, transform 0.2s, box-shadow 0.3s;
}
.btn-primary:hover { background: var(--accent-dark); transform: translateY(-2px); box-shadow: 0 8px 30px rgba(0,102,255,0.2); }
.btn-outline {
  display: inline-flex; align-items: center; gap: 0.5rem;
  border: 1.5px solid var(--border); color: var(--ink-soft); padding: 0.85rem 1.8rem;
  border-radius: 10px; text-decoration: none; font-weight: 600; font-size: 0.95rem;
  transition: border-color 0.3s, color 0.3s;
}
.btn-outline:hover { border-color: var(--accent); color: var(--accent); }
.hero-visual {
  border-radius: 20px; overflow: hidden; position: relative;
  border: 1px solid var(--border); box-shadow: 0 8px 40px rgba(11,26,46,0.1);
}
.hero-img {
  width: 100%; height: 100%; object-fit: cover; display: block;
}
.hero-visual-inner { text-align: center; color: var(--accent); }
.hero-visual-inner svg { width: 80px; height: 80px; opacity: 0.5; }
.hero-visual-inner p { font-size: 0.85rem; margin-top: 0.5rem; color: var(--mid); font-weight: 500; }
.hero-visual::before, .hero-visual::after { display: none; }

/* ═══ STATS ═══ */
.stats {
  display: grid; grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--border); border-radius: 16px; overflow: hidden;
  margin-top: -2rem; position: relative; z-index: 5; background: var(--white);
  box-shadow: 0 4px 24px rgba(11,26,46,0.04);
}
.stat {
  padding: 2rem 1.5rem; text-align: center;
  border-right: 1px solid var(--border);
}
.stat:last-child { border-right: none; }
.stat-num {
  font-family: var(--font-serif); font-size: 2.2rem; font-weight: 700;
  color: var(--accent); line-height: 1;
}
.stat-label { font-size: 0.82rem; color: var(--muted); margin-top: 0.4rem; font-weight: 500; }

/* ═══ SECTIONS ═══ */
section { padding: var(--section-pad) 0; }
.s-label {
  font-size: 0.72rem; font-weight: 700; letter-spacing: 2.5px; text-transform: uppercase;
  color: var(--accent); margin-bottom: 0.6rem;
  display: inline-flex; align-items: center; gap: 0.5rem;
}
.s-label::before {
  content: ''; width: 20px; height: 2px; background: var(--accent); border-radius: 1px;
}
.s-title {
  font-family: var(--font-serif); font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 700; color: var(--ink); margin-bottom: 0.8rem; line-height: 1.2;
  letter-spacing: -0.3px;
}
.s-desc { color: var(--mid); max-width: 600px; font-size: 1.02rem; margin-bottom: 3rem; }
.centered { text-align: center; }
.centered .s-desc { margin-left: auto; margin-right: auto; }
.alt-bg { background: var(--surface); }

/* ═══ WHAT WE DO ═══ */
.wwd-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center;
}
.wwd-text p { color: var(--mid); font-size: 1.02rem; }
.wwd-visual {
  border-radius: 20px; overflow: hidden; border: 1px solid var(--border);
  box-shadow: 0 8px 30px rgba(11,26,46,0.08);
}

/* ═══ SHARED IMAGE STYLES ═══ */
.section-img {
  width: 100%; height: 100%; object-fit: cover; display: block;
}
.section-img.rounded { border-radius: 14px; }
.section-hero-img {
  margin-bottom: 2rem; border-radius: 14px; overflow: hidden;
  border: 1px solid var(--border); box-shadow: 0 4px 20px rgba(11,26,46,0.06);
  max-height: 400px;
}
.section-hero-img img { width: 100%; height: 100%; object-fit: cover; }
.feature-split {
  display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem;
  margin-top: 1.5rem; align-items: stretch;
}
.feature-img-wrap {
  border-radius: 14px; overflow: hidden; border: 1px solid var(--border);
  min-height: 280px;
}
.feature-img-wrap img { width: 100%; height: 100%; object-fit: cover; }
.feature-cards { display: flex; flex-direction: column; }

/* ═══ ANCHOR VERTICAL ═══ */
.anchor-badge {
  display: inline-flex; align-items: center; gap: 0.4rem;
  background: var(--warm-light); color: var(--warm); font-size: 0.72rem;
  font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase;
  padding: 0.35rem 0.8rem; border-radius: 50px; margin-bottom: 1rem;
}
.solutions-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; margin-top: 0.5rem;
}
.sol-card {
  background: var(--white); border: 1px solid var(--border); border-radius: 14px;
  padding: 2rem; position: relative; overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
}
.sol-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(11,26,46,0.06);
  border-color: rgba(0,102,255,0.2);
}
.sol-num {
  font-family: var(--font-serif); font-size: 2.2rem; font-weight: 700;
  color: var(--border); line-height: 1; margin-bottom: 0.8rem;
}
.sol-card h3 { font-size: 1.1rem; font-weight: 700; color: var(--ink); margin-bottom: 0.6rem; }
.sol-card p { font-size: 0.88rem; color: var(--mid); line-height: 1.65; }
.sol-tags { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-top: 1rem; }
.sol-tag {
  background: var(--surface); color: var(--mid); font-size: 0.72rem; font-weight: 600;
  padding: 0.25rem 0.6rem; border-radius: 5px;
}
.sol-card.wide { grid-column: 1 / -1; }

/* ═══ ADDITIONAL VERTICALS ═══ */
.vert-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.vert-card {
  background: var(--white); border: 1px solid var(--border); border-radius: 14px;
  padding: 2rem; transition: transform 0.3s, box-shadow 0.3s;
}
.vert-card:hover { transform: translateY(-3px); box-shadow: 0 8px 30px rgba(11,26,46,0.06); }
.vert-icon {
  width: 48px; height: 48px; border-radius: 12px; display: flex;
  align-items: center; justify-content: center; font-size: 1.4rem; margin-bottom: 1.2rem;
}
.vert-card h3 { font-size: 1.1rem; font-weight: 700; color: var(--ink); margin-bottom: 0.6rem; }
.vert-card p { font-size: 0.88rem; color: var(--mid); line-height: 1.65; }
.vi-telco { background: var(--accent-light); }
.vi-agri { background: var(--teal-light); }
.vi-energy { background: var(--warm-light); }

/* ═══ TECH STACK ═══ */
.tech-pipeline {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 0;
  border: 1px solid var(--border); border-radius: 14px; overflow: hidden;
  background: var(--white);
}
.tech-step {
  padding: 2rem 1.5rem; border-right: 1px solid var(--border);
  position: relative;
}
.tech-step:last-child { border-right: none; }
.tech-step::after {
  content: '→'; position: absolute; right: -8px; top: 50%;
  transform: translateY(-50%); color: var(--border); font-size: 1.2rem; z-index: 1;
}
.tech-step:last-child::after { display: none; }
.tech-step h4 {
  font-size: 0.82rem; font-weight: 700; color: var(--accent);
  text-transform: uppercase; letter-spacing: 1px; margin-bottom: 0.6rem;
}
.tech-step p { font-size: 0.82rem; color: var(--mid); line-height: 1.6; }

/* ═══ HOW IT WORKS ═══ */
.flow-steps {
  display: flex; align-items: center; justify-content: center;
  gap: 0; margin-top: 2rem; flex-wrap: wrap;
}
.flow-step { display: flex; align-items: center; gap: 0.8rem; }
.flow-num {
  width: 48px; height: 48px; border-radius: 50%; background: var(--accent);
  color: white; display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 1rem; flex-shrink: 0;
}
.flow-label { font-weight: 600; color: var(--ink); font-size: 0.9rem; white-space: nowrap; }
.flow-arrow { color: var(--border); font-size: 1.5rem; margin: 0 1rem; }

/* ═══ MISSION / VISION / VALUES ═══ */
.mv-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; margin-bottom: 3rem; }
.mv-card { padding: 2.5rem; border-radius: 14px; border: 1px solid var(--border); }
.mv-card.mission-card { background: var(--accent-light); border-color: rgba(0,102,255,0.15); }
.mv-card.vision-card { background: var(--teal-light); border-color: rgba(0,184,148,0.15); }
.mv-card h3 { font-family: var(--font-serif); font-size: 1.3rem; color: var(--ink); margin-bottom: 0.8rem; }
.mv-card p { color: var(--mid); font-size: 0.95rem; }
.values-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
.val-card { padding: 1.8rem; border-left: 3px solid var(--accent); background: var(--surface); border-radius: 0 10px 10px 0; }
.val-card h4 { font-size: 1rem; color: var(--ink); margin-bottom: 0.4rem; }
.val-card p { font-size: 0.85rem; color: var(--mid); }
.faith-note {
  margin-top: 2rem; padding: 1.5rem 2rem; background: var(--surface);
  border-radius: 12px; font-size: 0.9rem; color: var(--mid); text-align: center;
  font-style: italic; border: 1px solid var(--border);
}

/* ═══ CTA BANNER ═══ */
.cta-banner {
  background: var(--ink); border-radius: 20px; padding: 3.5rem;
  text-align: center; color: white; position: relative; overflow: hidden;
}
.cta-banner::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse 50% 80% at 50% 100%, rgba(0,102,255,0.2), transparent);
}
.cta-banner h2 {
  font-family: var(--font-serif); font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700; margin-bottom: 1.5rem; position: relative;
}
.cta-banner .btn-primary { position: relative; }

/* ═══ CONTACT ═══ */
.contact-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: start;
}
.offices-list { display: flex; flex-direction: column; gap: 1.5rem; }
.office {
  padding: 1.5rem; background: var(--surface); border-radius: 12px;
  border: 1px solid var(--border);
}
.office h4 { font-size: 0.95rem; color: var(--ink); margin-bottom: 0.3rem; }
.office p { font-size: 0.88rem; color: var(--mid); }
.contact-details { margin-top: 1.5rem; }
.cd-row { display: flex; align-items: center; gap: 0.7rem; margin-bottom: 0.8rem; }
.cd-icon {
  width: 36px; height: 36px; background: var(--accent-light); border-radius: 8px;
  display: flex; align-items: center; justify-content: center; font-size: 0.9rem; flex-shrink: 0;
}
.cd-row span { font-size: 0.92rem; color: var(--ink-soft); }
.contact-form { display: flex; flex-direction: column; gap: 0.8rem; }
.contact-form input, .contact-form textarea {
  background: var(--surface); border: 1px solid var(--border); border-radius: 10px;
  padding: 0.85rem 1.1rem; font-family: var(--font-body); font-size: 0.92rem;
  color: var(--ink); outline: none; transition: border-color 0.3s;
}
.contact-form input:focus, .contact-form textarea:focus { border-color: var(--accent); }
.contact-form textarea { resize: vertical; min-height: 110px; }
.contact-form button {
  background: var(--accent); color: white; border: none; padding: 0.85rem 2rem;
  border-radius: 10px; font-weight: 600; font-size: 0.95rem; cursor: pointer;
  transition: background 0.2s, transform 0.2s; align-self: flex-start;
  font-family: var(--font-body);
}
.contact-form button:hover { background: var(--accent-dark); transform: translateY(-1px); }

/* ═══ FOOTER ═══ */
footer { background: var(--ink); color: rgba(255,255,255,0.6); padding: 4rem 0 2rem; }
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 3rem;
  margin-bottom: 3rem;
}
.footer-brand { max-width: 280px; }
.footer-logo {
  margin-bottom: 0.8rem;
}
.footer-logo-img {
  height: 28px; width: auto;
  filter: brightness(0) invert(1);
}
.footer-brand p { font-size: 0.88rem; line-height: 1.6; }
.footer-col h5 {
  font-size: 0.72rem; font-weight: 700; letter-spacing: 2px;
  text-transform: uppercase; color: rgba(255,255,255,0.35); margin-bottom: 1rem;
}
.footer-col a {
  display: block; color: rgba(255,255,255,0.6); text-decoration: none;
  font-size: 0.88rem; margin-bottom: 0.5rem; transition: color 0.2s;
}
.footer-col a:hover { color: white; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08); padding-top: 1.5rem;
  display: flex; justify-content: space-between; align-items: center;
  font-size: 0.8rem;
}
.footer-tagline {
  font-weight: 600; letter-spacing: 1px; text-transform: uppercase;
  font-size: 0.7rem; color: rgba(255,255,255,0.25);
}

/* ═══ ANIMATIONS ═══ */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to { opacity: 1; transform: translateY(0); }
}
.reveal {
  opacity: 0; transform: translateY(28px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.hero-content > * { animation: fadeUp 0.7s ease both; }
.hero-content > *:nth-child(2) { animation-delay: 0.1s; }
.hero-content > *:nth-child(3) { animation-delay: 0.2s; }
.hero-content > *:nth-child(4) { animation-delay: 0.3s; }
.hero-content > *:nth-child(5) { animation-delay: 0.4s; }

/* ═══ RESPONSIVE ═══ */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { max-height: 350px; }
  .solutions-grid { grid-template-columns: 1fr; }
  .vert-grid { grid-template-columns: 1fr; }
  .tech-pipeline { grid-template-columns: 1fr; }
  .tech-step { border-right: none; border-bottom: 1px solid var(--border); }
  .tech-step::after { display: none; }
  .wwd-grid { grid-template-columns: 1fr; }
  .wwd-visual { max-height: 300px; }
  .feature-split { grid-template-columns: 1fr; }
  .mv-grid { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat { border-bottom: 1px solid var(--border); }
  .flow-steps { flex-direction: column; gap: 0.8rem; }
  .flow-arrow { transform: rotate(90deg); margin: 0; }
}
@media (max-width: 600px) {
  .nav-links { display: none; }
  .nav-cta { display: none; }
  .hamburger { display: block; }
  .stats { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .cta-banner { padding: 2.5rem 1.5rem; }
}

/* ═══ LABEL SUPPLIES ═══ */
.label-divider {
  text-align: center; margin: 3rem 0 2rem;
  padding: 2rem; background: var(--accent-light);
  border-radius: 14px; border: 1px solid rgba(0,102,255,0.12);
}
.label-sub {
  font-family: var(--font-serif); font-size: 1.4rem; font-weight: 700;
  color: var(--ink); margin: 0.6rem 0 0.8rem;
}
.label-desc { color: var(--mid); font-size: 0.96rem; max-width: 620px; margin: 0 auto; }
.sol-card-label { border-top: 3px solid var(--accent); }
.label-badge {
  display: inline-flex; align-items: center; gap: 0.4rem;
  background: var(--accent); color: white; font-size: 0.75rem; font-weight: 700;
  padding: 0.3rem 0.8rem; border-radius: 50px; margin-bottom: 1rem;
  letter-spacing: 0.5px;
}
.label-cta {
  display: inline-block; margin-top: 1.2rem; color: var(--accent);
  font-weight: 700; font-size: 0.9rem; text-decoration: none;
  transition: gap 0.2s;
}
.label-cta:hover { text-decoration: underline; }

/* ═══ PARTNERS ═══ */
.partners-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem;
}
.partner-card {
  background: var(--white); border: 1px solid var(--border); border-radius: 16px;
  padding: 2rem; transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
}
.partner-card:hover {
  transform: translateY(-3px); box-shadow: 0 8px 30px rgba(11,26,46,0.07);
  border-color: rgba(0,102,255,0.2);
}
.partner-logo-wrap {
  margin-bottom: 1rem; line-height: 1;
}
.partner-logo-text {
  font-size: 1.6rem; font-weight: 800; letter-spacing: -0.5px;
}
.partner-logo-sub {
  font-size: 0.72rem; font-weight: 600; color: var(--muted);
  letter-spacing: 1.5px; text-transform: uppercase; margin-top: 0.2rem;
}
.partner-badge-strip { margin-bottom: 1rem; }
.partner-badge {
  display: inline-flex; align-items: center; gap: 0.4rem;
  font-size: 0.72rem; font-weight: 700; padding: 0.3rem 0.8rem;
  border-radius: 50px; letter-spacing: 0.5px;
}
.partner-badge::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: currentColor; opacity: 0.6; }
.partner-badge-zebra { background: #fff0f1; color: #e31837; }
.partner-badge-tech { background: var(--accent-light); color: var(--accent); }
.partner-card h4 { font-size: 1.1rem; font-weight: 700; color: var(--ink); margin-bottom: 0.6rem; }
.partner-card p { font-size: 0.88rem; color: var(--mid); line-height: 1.65; margin-bottom: 1rem; }
.partner-tags { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.partner-tag {
  background: var(--surface); color: var(--mid); font-size: 0.72rem;
  font-weight: 600; padding: 0.25rem 0.6rem; border-radius: 5px;
}

@media (max-width: 700px) {
  .partners-grid { grid-template-columns: 1fr; }
}

/* Partner logo images */
.partner-logo-img {
  height: 52px; width: auto; max-width: 180px;
  display: block; object-fit: contain;
}
