/* ═════════════════════════════════════════════════════════════
   DK Kitchen — Computer Integrated Systems Design
   ═════════════════════════════════════════════════════════════ */

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

html { scroll-behavior: smooth; }

body {
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  color: #F4F6F8;
  background-color: #0A0F14;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, svg { display: block; max-width: 100%; }
a { color: #C8A24B; text-decoration: none; transition: color 0.25s; }
a:hover { color: #D4B96A; }
ul { list-style: none; }

h1, h2, h3, h4 { line-height: 1.2; font-weight: 700; }
h1 { font-size: clamp(2rem, 4.5vw, 3.2rem); color: #F4F6F8; }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.2rem); color: #F4F6F8; }
h3 { font-size: 1.15rem; color: #F4F6F8; }
h4 { font-size: 1rem; color: #F4F6F8; }

p { color: #97A3AD; margin-bottom: 1rem; }

/* ── UTILITY ───────────────────────────────────────────── */
.highlight { color: #C8A24B; }
.accent-line { width: 48px; height: 3px; background: #C8A24B; margin-bottom: 1.25rem; border-radius: 2px; }

.section-header { text-align: center; max-width: 720px; margin: 0 auto 3.5rem; }
.section-eyebrow {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #C8A24B;
  margin-bottom: 0.75rem;
}
.section-intro { font-size: 1.05rem; color: #97A3AD; margin-top: 0.75rem; }

/* ── BUTTONS ───────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.8rem 2rem;
  font-size: 0.95rem;
  font-weight: 600;
  border: 2px solid transparent;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.3s;
  line-height: 1.4;
  letter-spacing: 0.02em;
}

.btn-primary {
  background: #C8A24B;
  color: #0A0F14;
  border-color: #C8A24B;
}
.btn-primary:hover {
  background: #D4B96A;
  border-color: #D4B96A;
  color: #0A0F14;
}

.btn-outline {
  background: transparent;
  color: #F4F6F8;
  border-color: #F4F6F8;
}
.btn-outline:hover {
  background: #F4F6F8;
  color: #0A0F14;
}

.btn-full { width: 100%; }

/* ── SITE HEADER ───────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(16, 24, 32, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(200, 162, 75, 0.12);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  height: 68px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: #F4F6F8;
  font-weight: 700;
  font-size: 1.25rem;
}
.logo:hover { color: #F4F6F8; }
.logo-icon { color: #C8A24B; font-size: 1.4rem; }
.logo-text { letter-spacing: -0.02em; }

.primary-nav ul { display: flex; gap: 0.25rem; }
.primary-nav a {
  display: block;
  padding: 0.5rem 1rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: #97A3AD;
  border-radius: 4px;
  transition: color 0.25s, background 0.25s;
}
.primary-nav a:hover { color: #C8A24B; background: rgba(200, 162, 75, 0.08); }

/* ── MOBILE TOGGLE ─────────────────────────────────────── */
.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.mobile-toggle span {
  display: block;
  width: 26px;
  height: 2.5px;
  background: #F4F6F8;
  border-radius: 2px;
  transition: all 0.3s;
}

/* ── HERO ──────────────────────────────────────────────── */
.hero {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 3rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 5rem 1.5rem;
  min-height: 75vh;
  overflow: hidden;
}

.hero-bg-pattern {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 30% 50%, rgba(200, 162, 75, 0.06) 0%, transparent 60%),
    radial-gradient(ellipse at 70% 20%, rgba(46, 158, 143, 0.07) 0%, transparent 55%);
  pointer-events: none;
  z-index: 0;
}

.hero-content { position: relative; z-index: 1; }
.hero-eyebrow {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #2E9E8F;
  margin-bottom: 1.25rem;
}
.hero-content h1 { margin-bottom: 1.25rem; }
.hero-lead {
  font-size: 1.1rem;
  color: #97A3AD;
  max-width: 540px;
  margin-bottom: 2rem;
}
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }

/* ── HERO VISUAL (network graphic) ─────────────────────── */
.hero-visual { position: relative; z-index: 1; display: flex; align-items: center; justify-content: center; }
.hero-graphic {
  position: relative;
  width: 360px;
  height: 360px;
}

.node {
  position: absolute;
  width: 14px;
  height: 14px;
  background: #C8A24B;
  border-radius: 50%;
  box-shadow: 0 0 14px rgba(200, 162, 75, 0.45);
  animation: pulse 3s ease-in-out infinite;
}
.node.n1 { top: 10%; left: 50%; transform: translateX(-50%); animation-delay: 0s; }
.node.n2 { top: 50%; right: 10%; transform: translateY(-50%); animation-delay: 0.4s; }
.node.n3 { bottom: 12%; left: 50%; transform: translateX(-50%); animation-delay: 0.8s; }
.node.n4 { top: 28%; left: 12%; animation-delay: 1.2s; }
.node.n5 { top: 72%; right: 18%; animation-delay: 1.6s; }

.edge {
  position: absolute;
  background: rgba(200, 162, 75, 0.18);
  transform-origin: top left;
}
.edge.e1 {
  top: 12%; left: 50%;
  width: 1px; height: 35%;
  transform: translateX(-50%);
}
.edge.e2 {
  top: 50%; right: 13%;
  width: 36%;
  height: 1px;
  transform: translateY(-50%);
}
.edge.e3 {
  bottom: 15%; left: 50%;
  width: 1px; height: 32%;
  transform: translateX(-50%);
}
.edge.e4 {
  top: 31%; left: 15%;
  width: 33%;
  height: 1px;
  transform: rotate(-22deg);
}
.edge.e5 {
  top: 71%; left: 18%;
  width: 28%;
  height: 1px;
  transform: rotate(18deg);
}
.edge.e6 {
  top: 52%; left: 48%;
  width: 1px; height: 20%;
  background: rgba(46, 158, 143, 0.25);
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: translateX(-50%) scale(1); }
  50% { opacity: 0.55; transform: translateX(-50%) scale(1.4); }
}

/* ── SERVICES ──────────────────────────────────────────── */
.services { padding: 6rem 1.5rem; background: #101820; }

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
  max-width: 1200px;
  margin: 0 auto;
}

.service-card {
  background: #1C2833;
  border: 1px solid rgba(200, 162, 75, 0.08);
  border-radius: 10px;
  padding: 2rem 1.75rem;
  transition: border-color 0.3s, box-shadow 0.3s, transform 0.3s;
}
.service-card:hover {
  border-color: rgba(200, 162, 75, 0.3);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.35);
  transform: translateY(-4px);
}

.service-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  background: rgba(46, 158, 143, 0.1);
  border: 1px solid rgba(46, 158, 143, 0.2);
  border-radius: 10px;
  color: #2E9E8F;
  margin-bottom: 1.5rem;
}

.service-card h3 { margin-bottom: 0.75rem; }
.service-card p { font-size: 0.92rem; color: #97A3AD; margin-bottom: 0; }

/* ── ABOUT ─────────────────────────────────────────────── */
.about { padding: 6rem 1.5rem; background: #0A0F14; }
.about-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  max-width: 1200px;
  margin: 0 auto;
  align-items: center;
}

.about-text h2 { margin-bottom: 1.25rem; }
.about-text p { margin-bottom: 1.25rem; }
.about-text p:last-of-type { margin-bottom: 2rem; }

.about-stats-row {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
}
.about-stat { text-align: left; }
.about-stat .stat-number {
  display: block;
  font-size: 2rem;
  font-weight: 800;
  color: #C8A24B;
  line-height: 1.1;
}
.about-stat .stat-label {
  display: block;
  font-size: 0.82rem;
  color: #97A3AD;
  margin-top: 0.3rem;
}

.about-visual { display: flex; justify-content: center; }
.about-card {
  background: #101820;
  border: 1px solid #1C2833;
  border-radius: 10px;
  overflow: hidden;
  max-width: 400px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.4);
}
.about-card-header {
  display: flex;
  gap: 8px;
  padding: 0.85rem 1.25rem;
  background: #1C2833;
}
.about-card-header .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #333;
}
.about-card-header .dot:nth-child(1) { background: #E05D5D; }
.about-card-header .dot:nth-child(2) { background: #E0B95D; }
.about-card-header .dot:nth-child(3) { background: #5DE06A; }
.about-card-body { padding: 1.5rem 1.5rem 2rem; }
.about-card-body .quote {
  font-size: 0.95rem;
  font-style: italic;
  color: #F4F6F8;
  margin-bottom: 1rem;
  line-height: 1.6;
}
/* .attribution is below but we cover the one inside about-card-body here */
.about-card-body .attribution {
  font-size: 0.8rem;
  color: #97A3AD;
  margin-bottom: 0;
}

/* ── PROCESS ───────────────────────────────────────────── */
.process { padding: 6rem 1.5rem; background: #101820; }

.process-steps {
  display: flex;
  flex-direction: column;
  gap: 0;
  max-width: 900px;
  margin: 0 auto;
}

.process-step {
  display: flex;
  gap: 1.5rem;
  position: relative;
}

.step-number {
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  font-weight: 700;
  background: #1C2833;
  border: 2px solid #C8A24B;
  border-radius: 50%;
  color: #C8A24B;
  z-index: 1;
}

.step-connector {
  position: absolute;
  top: 52px;
  left: 25px;
  width: 2px;
  height: calc(100% - 30px);
  background: rgba(200, 162, 75, 0.2);
}
.process-step:last-child .step-connector { display: none; }

.step-content { padding-bottom: 2.5rem; padding-top: 0.35rem; }
.process-step:last-child .step-content { padding-bottom: 0; }

.step-content h3 { margin-bottom: 0.5rem; }
.step-content p { font-size: 0.92rem; margin-bottom: 0; }

/* ── INDUSTRIES ────────────────────────────────────────── */
.industries { padding: 6rem 1.5rem; background: #0A0F14; }

.industries-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
  max-width: 1200px;
  margin: 0 auto;
}

.industry-item {
  background: #101820;
  border: 1px solid rgba(46, 158, 143, 0.1);
  border-radius: 10px;
  padding: 1.75rem;
  transition: border-color 0.3s, box-shadow 0.3s;
}
.industry-item:hover {
  border-color: rgba(46, 158, 143, 0.35);
  box-shadow: 0 6px 22px rgba(0, 0, 0, 0.3);
}

.industry-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: rgba(200, 162, 75, 0.08);
  border-radius: 8px;
  color: #C8A24B;
  margin-bottom: 1rem;
}

.industry-item h4 { margin-bottom: 0.5rem; }
.industry-item p { font-size: 0.88rem; color: #97A3AD; margin-bottom: 0; }

/* ── STATS ─────────────────────────────────────────────── */
.stats {
  position: relative;
  padding: 5rem 1.5rem;
  overflow: hidden;
}

.stats-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(16, 24, 32, 0.97), rgba(28, 40, 51, 0.95)),
    radial-gradient(ellipse at 60% 30%, rgba(200, 162, 75, 0.12) 0%, transparent 50%),
    radial-gradient(ellipse at 30% 70%, rgba(46, 158, 143, 0.1) 0%, transparent 50%);
  z-index: 0;
  pointer-events: none;
}

.stats-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
}

.stat-item { padding: 1.5rem; }

.stat-value {
  font-size: 3rem;
  font-weight: 800;
  color: #C8A24B;
  line-height: 1;
}
.stat-suffix {
  font-size: 2rem;
  font-weight: 700;
  color: #C8A24B;
  vertical-align: super;
  line-height: 1;
}
.stat-desc {
  display: block;
  font-size: 0.9rem;
  color: #97A3AD;
  margin-top: 0.5rem;
}

/* ── TESTIMONIALS ──────────────────────────────────────── */
.testimonials { padding: 6rem 1.5rem; background: #101820; }

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
  max-width: 1200px;
  margin: 0 auto;
}

.testimonial-card {
  background: #1C2833;
  border: 1px solid rgba(200, 162, 75, 0.06);
  border-radius: 10px;
  padding: 2rem 1.75rem;
  transition: border-color 0.3s, box-shadow 0.3s;
}
.testimonial-card:hover {
  border-color: rgba(200, 162, 75, 0.25);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.testimonial-stars {
  color: #C8A24B;
  font-size: 1rem;
  letter-spacing: 0.15em;
  margin-bottom: 1rem;
}

.testimonial-card p {
  font-size: 0.92rem;
  font-style: italic;
  color: #F4F6F8;
  margin-bottom: 1.25rem;
}

.testimonial-card footer strong {
  display: block;
  font-size: 0.9rem;
  color: #F4F6F8;
  margin-bottom: 0.2rem;
}
.testimonial-card footer span {
  font-size: 0.8rem;
  color: #97A3AD;
}

.attribution { font-size: 0.8rem; color: #97A3AD; }

/* ── CONTACT ───────────────────────────────────────────── */
.contact { padding: 6rem 1.5rem; background: #0A0F14; }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  max-width: 1200px;
  margin: 0 auto;
  align-items: start;
}

.contact-info h2 { margin-bottom: 1rem; }
.contact-info > p { margin-bottom: 2rem; }

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.contact-detail { display: flex; flex-direction: column; gap: 0.25rem; }
.contact-label {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #C8A24B;
}
.contact-value { font-size: 0.95rem; color: #F4F6F8; line-height: 1.5; }

.contact-form {
  background: #101820;
  border: 1px solid #1C2833;
  border-radius: 10px;
  padding: 2rem;
}

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-bottom: 1.25rem; }

.form-group { display: flex; flex-direction: column; gap: 0.4rem; }
.form-group.full { margin-bottom: 1.25rem; }
.form-group label {
  font-size: 0.85rem;
  font-weight: 600;
  color: #F4F6F8;
}
.form-group input,
.form-group select,
.form-group textarea {
  background: #0A0F14;
  border: 1px solid #1C2833;
  border-radius: 6px;
  padding: 0.75rem 1rem;
  font-size: 0.9rem;
  color: #F4F6F8;
  font-family: inherit;
  transition: border-color 0.25s;
  outline: none;
  width: 100%;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: #555D66; }
.form-group select { cursor: pointer; appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='%2397A3AD'%3E%3Cpath d='M6 8L0 0h12z'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 1rem center; padding-right: 2.5rem; }
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: #C8A24B; }
.form-group textarea { resize: vertical; min-height: 110px; }

.contact-form .btn { margin-top: 0.25rem; }

/* ── FOOTER ────────────────────────────────────────────── */
.site-footer {
  background: #0A0F14;
  border-top: 1px solid rgba(200, 162, 75, 0.12);
  padding: 4rem 1.5rem 0;
}

.footer-inner { max-width: 1200px; margin: 0 auto; }

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2.5rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-brand p { font-size: 0.9rem; color: #97A3AD; max-width: 360px; }
.footer-logo {
  font-size: 1.2rem;
  font-weight: 700;
  color: #F4F6F8;
  display: block;
  margin-bottom: 1rem;
}
.footer-address { font-size: 0.85rem; color: #97A3AD; margin-top: 0.5rem; }

.footer-col h4 {
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #F4F6F8;
  margin-bottom: 1rem;
}

.footer-col ul { display: flex; flex-direction: column; gap: 0.5rem; }
.footer-col li a { font-size: 0.88rem; color: #97A3AD; }
.footer-col li a:hover { color: #C8A24B; }

.footer-bottom {
  text-align: center;
  padding: 1.5rem 0;
}
.footer-bottom p { font-size: 0.82rem; color: #555D66; margin-bottom: 0; }

/* ── RESPONSIVE ────────────────────────────────────────── */
@media (max-width: 940px) {
  .primary-nav { display: none; }
  .mobile-toggle { display: flex; }
}

@media (max-width: 860px) {
  .hero {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 3.5rem 1.5rem;
    min-height: auto;
  }
  .hero-lead { max-width: 100%; }
  .hero-actions { justify-content: center; }
  .hero-visual { display: none; }

  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .industries-grid { grid-template-columns: repeat(2, 1fr); }
  .testimonials-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .about-inner { grid-template-columns: 1fr; }
  .about-visual { order: -1; }
  .contact-grid { grid-template-columns: 1fr; }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 560px) {
  .services-grid { grid-template-columns: 1fr; }
  .industries-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .about-stats-row { flex-direction: column; gap: 1.25rem; }
}
