/* ─── Reset & Base ───────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --navy:      #0F1C2E;
  --navy-mid:  #1A2E47;
  --navy-light:#243B55;
  --blue:      #2D7DD2;
  --blue-light:#4A9BE8;
  --amber:     #E8A030;
  --text:      #1A2332;
  --muted:     #64748B;
  --border:    #E2E8F0;
  --bg:        #F9FAFB;
  --white:     #FFFFFF;

  --font-sans: 'Inter', system-ui, sans-serif;
  --font-serif: 'DM Serif Display', Georgia, serif;

  --radius:    8px;
  --radius-lg: 16px;
  --shadow:    0 1px 3px rgba(0,0,0,.08), 0 4px 16px rgba(0,0,0,.06);
  --shadow-lg: 0 4px 24px rgba(0,0,0,.12), 0 1px 4px rgba(0,0,0,.08);
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; }

/* ─── Layout ─────────────────────────────────────── */
.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 96px 0;
}

.section-dark {
  background: var(--navy);
  color: var(--white);
}

.section-accent {
  background: var(--bg);
}

.section-header {
  max-width: 600px;
  margin-bottom: 56px;
}

.section-header h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  line-height: 1.2;
  margin-top: 8px;
}

/* ─── Typography ─────────────────────────────────── */
.eyebrow {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue);
}

.section-dark .eyebrow { color: var(--amber); }
.section-accent .eyebrow { color: var(--blue); }

/* ─── Buttons ─────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--radius);
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.15s ease;
  border: 2px solid transparent;
}

.btn-primary {
  background: var(--blue);
  color: var(--white);
  border-color: var(--blue);
}
.btn-primary:hover {
  background: var(--blue-light);
  border-color: var(--blue-light);
}

.btn-ghost {
  background: transparent;
  color: var(--navy);
  border-color: var(--border);
}
.btn-ghost:hover {
  border-color: var(--navy);
  background: rgba(15,28,46,.04);
}

.btn-sm {
  padding: 8px 18px;
  font-size: 0.875rem;
}

/* ─── Nav ─────────────────────────────────────────── */
.nav-wrapper {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.nav-logo {
  text-decoration: none;
  display: flex;
  align-items: center;
}

.logo-img {
  height: 36px;
  width: auto;
}

.footer-logo .logo-img {
  height: 30px;
  filter: brightness(0) invert(1);
  opacity: 0.85;
  margin-bottom: 12px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.nav-links a {
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--muted);
  transition: color 0.15s;
}
.nav-links a:hover { color: var(--text); }

.nav-burger {
  display: none;
  background: none;
  border: none;
  font-size: 1.4rem;
  cursor: pointer;
  color: var(--navy);
}

/* ─── Hero ────────────────────────────────────────── */
.hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 60%, var(--navy-light) 100%);
  color: var(--white);
  padding: 100px 0 80px;
  overflow: hidden;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 64px;
  align-items: center;
}

.hero-text p.eyebrow { color: var(--amber); margin-bottom: 16px; }

.hero-text h1 {
  font-family: var(--font-serif);
  font-size: clamp(2.25rem, 4.5vw, 3.5rem);
  line-height: 1.1;
  color: var(--white);
  margin-bottom: 24px;
}

.hero-sub {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.72);
  max-width: 520px;
  margin-bottom: 40px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero .btn-ghost {
  color: var(--white);
  border-color: rgba(255,255,255,0.3);
}
.hero .btn-ghost:hover {
  border-color: rgba(255,255,255,0.7);
  background: rgba(255,255,255,0.08);
}

/* ─── Hex graphic ─────────────────────────────────── */
.hex-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  opacity: 0.18;
}

.hex {
  aspect-ratio: 1;
  background: var(--blue-light);
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  animation: pulse 3s ease-in-out infinite;
}

.hex:nth-child(2) { animation-delay: 0.4s; }
.hex:nth-child(3) { animation-delay: 0.8s; }
.hex:nth-child(4) { animation-delay: 0.2s; }
.hex:nth-child(5) { animation-delay: 0.6s; background: var(--amber); opacity: 0.6; }
.hex:nth-child(6) { animation-delay: 1.0s; }
.hex:nth-child(7) { animation-delay: 0.3s; grid-column: 2; }

@keyframes pulse {
  0%, 100% { opacity: 0.3; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.05); }
}

/* ─── Service Cards ───────────────────────────────── */
.cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.card {
  padding: 36px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: var(--shadow);
  transition: box-shadow 0.2s, transform 0.2s;
}
.card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}

.card-icon {
  width: 48px;
  height: 48px;
  background: rgba(45,125,210,.08);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.card-icon svg {
  width: 24px;
  height: 24px;
  color: var(--blue);
}

.card h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--navy);
}

.card p {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* ─── Industries ──────────────────────────────────── */
.industries {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}

.industry {
  text-align: center;
  padding: 32px 16px;
}

.industry-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}
.industry-icon svg {
  width: 28px;
  height: 28px;
  color: var(--amber);
}

.industry h4 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 10px;
}

.industry p {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.6);
  line-height: 1.6;
}

/* ─── Product Card ────────────────────────────────── */
.product-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 56px;
  box-shadow: var(--shadow);
}

.product-badge {
  display: inline-block;
  background: rgba(232,160,48,.12);
  color: #a0650a;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 100px;
  margin-bottom: 16px;
}

.product-text h3 {
  font-family: var(--font-serif);
  font-size: 2rem;
  color: var(--navy);
  margin-bottom: 16px;
}

.product-text p {
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 24px;
}

.product-features {
  list-style: none;
  margin-bottom: 32px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.product-features li {
  font-size: 0.9rem;
  color: var(--text);
  padding-left: 20px;
  position: relative;
}
.product-features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--blue);
  font-weight: 700;
}

/* ─── Product Mockup ──────────────────────────────── */
.product-visual {
  display: flex;
  justify-content: center;
}

.product-mockup {
  width: 100%;
  max-width: 380px;
  background: var(--navy);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.mockup-bar {
  background: var(--navy-mid);
  padding: 12px 16px;
  display: flex;
  gap: 6px;
}
.mockup-bar span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.2);
}

.mockup-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.mockup-row {
  height: 10px;
  background: rgba(255,255,255,0.1);
  border-radius: 4px;
}
.mockup-row.wide { width: 100%; }
.mockup-row.medium { width: 70%; background: rgba(45,125,210,0.4); }
.mockup-row.short { width: 40%; }

.mockup-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin: 8px 0;
}
.mockup-col {
  height: 56px;
  background: rgba(255,255,255,0.06);
  border-radius: var(--radius);
  border: 1px solid rgba(255,255,255,0.08);
}

/* ─── Contact ─────────────────────────────────────── */
.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 80px;
  align-items: start;
}

.contact-text h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  line-height: 1.2;
  margin: 8px 0 16px;
}

.contact-text p {
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 24px;
}

.contact-email {
  display: inline-block;
  color: var(--blue);
  font-weight: 600;
  text-decoration: none;
  font-size: 0.95rem;
}
.contact-email:hover { text-decoration: underline; }

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text);
}

.form-group input,
.form-group textarea {
  padding: 10px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-family: var(--font-sans);
  font-size: 0.95rem;
  color: var(--text);
  background: var(--white);
  transition: border-color 0.15s, box-shadow 0.15s;
  resize: vertical;
}
.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(45,125,210,.12);
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: #A0AEC0; }

/* ─── Footer ──────────────────────────────────────── */
.footer {
  background: var(--navy);
  color: rgba(255,255,255,0.6);
  padding-top: 64px;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 64px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-left .nav-logo { display: block; }
.footer-left p { font-size: 0.9rem; line-height: 1.6; }

.footer-links {
  display: flex;
  gap: 64px;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-col h5 {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 4px;
}

.footer-col a {
  text-decoration: none;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.5);
  transition: color 0.15s;
}
.footer-col a:hover { color: var(--white); }

.footer-bottom {
  padding: 20px 24px;
  font-size: 0.85rem;
}

/* ─── Responsive ──────────────────────────────────── */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-graphic { display: none; }
  .cards { grid-template-columns: 1fr; }
  .industries { grid-template-columns: repeat(2, 1fr); }
  .product-card { grid-template-columns: 1fr; padding: 36px; }
  .product-visual { display: none; }
  .contact-inner { grid-template-columns: 1fr; gap: 48px; }
  .footer-inner { grid-template-columns: 1fr; gap: 40px; }
}

@media (max-width: 640px) {
  .section { padding: 64px 0; }
  .nav-links {
    display: none;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    align-items: flex-start;
    padding: 16px 24px 24px;
    border-bottom: 1px solid var(--border);
    gap: 16px;
    box-shadow: var(--shadow);
  }
  .nav-links.open { display: flex; }
  .nav-burger { display: block; }
  .nav { position: relative; }
  .industries { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .footer-links { flex-direction: column; gap: 32px; }
}
