/* =====================================================
   LCNTech — Main Stylesheet
   Design: Bold Modern (Navy + Orange)
   ===================================================== */

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

:root {
  --navy:      #03112e;
  --navy-mid:  #071e4a;
  --white:     #ffffff;
  --off-white: #f7f8fb;
  --border:    #dde3ef;
  --text:      #03112e;
  --muted:     #5a6a85;
  --orange:    #f97316;
  --orange-lt: #fb923c;
  --font: -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  --mono: 'SF Mono', 'Cascadia Code', 'Fira Mono', monospace;
  --max-w: 1200px;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  font-size: 17px;
  color: var(--text);
  line-height: 1.65;
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }

/* ── Container ── */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 48px;
}

/* ── Typography ── */
h1, h2, h3, h4 {
  line-height: 1.1;
  letter-spacing: -0.03em;
  font-weight: 800;
  color: var(--navy);
}

h1 { font-size: clamp(38px, 5.5vw, 68px); }
h2 { font-size: clamp(28px, 3.5vw, 44px); }
h3 { font-size: 22px; }
h4 { font-size: 16px; }

/* ── Section spacing ── */
.section { padding: 96px 0; }

.section-label {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 16px;
}
.section-label::before {
  content: '';
  display: block;
  width: 24px;
  height: 2px;
  background: var(--orange);
  flex-shrink: 0;
}

.section-body {
  font-size: 17px;
  color: var(--muted);
  max-width: 560px;
  line-height: 1.75;
}

.section-light {
  background: var(--off-white);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

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

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: 6px;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.18s ease;
  cursor: pointer;
  border: none;
  font-family: var(--font);
  line-height: 1;
}

.btn-orange {
  background: var(--orange);
  color: var(--white);
  box-shadow: 0 4px 20px rgba(249,115,22,0.35);
}
.btn-orange:hover {
  background: var(--orange-lt);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(249,115,22,0.45);
}

.btn-ghost-w {
  background: transparent;
  color: rgba(255,255,255,0.8);
  border: 1.5px solid rgba(255,255,255,0.25);
}
.btn-ghost-w:hover {
  border-color: rgba(255,255,255,0.65);
  color: var(--white);
}

.btn-ghost {
  background: transparent;
  color: var(--navy);
  border: 1.5px solid var(--border);
}
.btn-ghost:hover { border-color: var(--navy); }

/* ── Navigation ── */
.site-nav {
  background: var(--navy);
  height: 68px;
  display: flex;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 200;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 48px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.nav-logo {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--white);
  text-decoration: none;
  flex-shrink: 0;
}
.nav-logo span { color: var(--orange); }

.nav-links {
  display: flex;
  gap: 40px;
  list-style: none;
  margin: 0;
}
.nav-links a {
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  transition: color 0.2s;
}
.nav-links a:hover,
.nav-links a.active { color: var(--white); }

.nav-cta {
  background: var(--orange);
  color: var(--white);
  text-decoration: none;
  padding: 9px 22px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 700;
  transition: background 0.2s;
  flex-shrink: 0;
}
.nav-cta:hover { background: var(--orange-lt); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 6px;
  background: none;
  border: none;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  transition: all 0.25s;
  border-radius: 2px;
}

/* ── Hero ── */
.hero {
  background: var(--navy);
  padding: 96px 0 80px;
  position: relative;
  overflow: hidden;
}

.hero::after {
  content: '';
  position: absolute;
  right: 0; top: 0; bottom: 0;
  width: 42%;
  background: var(--navy-mid);
  clip-path: polygon(10% 0, 100% 0, 100% 100%, 0 100%);
  z-index: 0;
}

.hero-dots {
  position: absolute;
  right: 80px;
  top: 50%;
  transform: translateY(-50%);
  width: 260px;
  height: 260px;
  z-index: 1;
  background-image: radial-gradient(circle, rgba(249,115,22,0.55) 1.5px, transparent 1.5px);
  background-size: 24px 24px;
  opacity: 0.22;
  pointer-events: none;
}

.hero-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 48px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero-tag {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 24px;
}
.hero-tag::before {
  content: '';
  display: block;
  width: 24px;
  height: 2px;
  background: var(--orange);
  flex-shrink: 0;
}

.hero h1 { color: var(--white); margin-bottom: 24px; }
.hero h1 span { color: var(--orange); }

.hero-desc {
  font-size: 17px;
  color: rgba(255,255,255,0.78);
  line-height: 1.75;
  max-width: 500px;
  margin-bottom: 40px;
}

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

/* Hero stat cards */
.hero-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.stat-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 10px;
  padding: 28px 24px;
  transition: background 0.2s;
}
.stat-card:hover { background: rgba(255,255,255,0.08); }
.stat-card.accent {
  background: var(--orange);
  border-color: var(--orange);
}

.stat-num {
  font-size: 42px;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--white);
  line-height: 1;
  margin-bottom: 6px;
}
.stat-lbl {
  font-size: 13px;
  color: rgba(255,255,255,0.72);
  line-height: 1.4;
}
.stat-card.accent .stat-lbl { color: rgba(255,255,255,0.85); }

/* ── Trust bar ── */
.trust-bar {
  background: var(--navy-mid);
  padding: 22px 0;
  border-top: 1px solid rgba(255,255,255,0.06);
}

.trust-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 48px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0;
  flex-wrap: wrap;
}

.trust-item {
  font-size: 13px;
  font-weight: 600;
  color: rgba(255,255,255,0.65);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 6px 28px;
  border-right: 1px solid rgba(255,255,255,0.15);
  white-space: nowrap;
}
.trust-item:last-child { border-right: none; }

/* ── Service cards ── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.svc-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 36px 32px;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
  position: relative;
  overflow: hidden;
}

.svc-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--orange);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s;
}
.svc-card:hover::before { transform: scaleX(1); }
.svc-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.09);
  border-color: rgba(249,115,22,0.2);
}

.svc-num {
  font-size: 11px;
  font-weight: 800;
  color: var(--orange);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 18px;
  font-family: var(--mono);
}

.svc-card h3 {
  font-size: 20px;
  margin-bottom: 12px;
  color: var(--navy);
}

.svc-card p {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.7;
}

.svc-tech {
  margin-top: 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.tech-tag {
  background: var(--off-white);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 3px 10px;
  font-size: 12px;
  color: var(--muted);
  font-weight: 500;
  font-family: var(--mono);
}

/* ── Split layouts ── */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.split-wide {
  display: grid;
  grid-template-columns: 5fr 4fr;
  gap: 80px;
  align-items: start;
}

/* ── Process card (navy) ── */
.process-card {
  background: var(--navy);
  border-radius: 14px;
  padding: 48px;
  color: var(--white);
}

.process-card-title {
  font-size: 22px;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.03em;
  margin-bottom: 6px;
}
.process-card-sub {
  font-size: 14px;
  color: rgba(255,255,255,0.65);
  margin-bottom: 32px;
}

.process-steps { list-style: none; }

.process-step {
  display: flex;
  gap: 20px;
  padding: 20px 0;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}
.process-step:last-child { border-bottom: none; }

.step-num {
  width: 36px;
  height: 36px;
  background: var(--orange);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  font-weight: 800;
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--white);
}

.step-body h4 {
  font-size: 16px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 4px;
  letter-spacing: -0.01em;
}
.step-body p {
  font-size: 14px;
  color: rgba(255,255,255,0.75);
  line-height: 1.6;
}

/* ── About copy block ── */
.about-copy h2 { margin-bottom: 20px; }
.about-copy p {
  font-size: 16px;
  color: var(--muted);
  line-height: 1.8;
  margin-bottom: 16px;
}
.about-copy p:last-of-type { margin-bottom: 0; }

/* ── Testimonials ── */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.testimonial-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 10px;
  padding: 36px;
  transition: background 0.2s;
}
.testimonial-card:hover { background: rgba(255,255,255,0.07); }

.quote-mark {
  font-size: 52px;
  line-height: 1;
  color: var(--orange);
  margin-bottom: 16px;
  font-family: Georgia, serif;
}

.testimonial-card blockquote {
  font-size: 15px;
  color: rgba(255,255,255,0.85);
  line-height: 1.7;
  margin-bottom: 28px;
  font-style: normal;
}

.t-rule { height: 1px; background: rgba(255,255,255,0.08); margin-bottom: 20px; }

.testimonial-card cite {
  display: block;
  font-size: 15px;
  font-weight: 700;
  color: var(--white);
  font-style: normal;
}
.testimonial-card .t-role {
  font-size: 13px;
  color: rgba(255,255,255,0.65);
  margin-top: 2px;
}

/* ── CTA block ── */
.cta-block {
  background: var(--navy);
  border-radius: 14px;
  padding: 60px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 60px;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.cta-block::after {
  content: '';
  position: absolute;
  right: -60px; bottom: -60px;
  width: 280px; height: 280px;
  background: var(--orange);
  border-radius: 50%;
  opacity: 0.07;
  pointer-events: none;
}

.cta-block h2 { color: var(--white); margin-bottom: 12px; }
.cta-block p {
  font-size: 16px;
  color: rgba(255,255,255,0.75);
  line-height: 1.7;
}

.cta-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 220px;
  position: relative;
  z-index: 1;
}

.btn-email {
  display: block;
  text-align: center;
  background: rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.9);
  text-decoration: none;
  padding: 13px 24px;
  border-radius: 6px;
  font-size: 15px;
  font-weight: 600;
  border: 1px solid rgba(255,255,255,0.2);
  transition: background 0.2s, border-color 0.2s;
}
.btn-email:hover { background: rgba(255,255,255,0.14); border-color: rgba(255,255,255,0.35); }

/* ── Page header (inner pages) ── */
.page-header {
  background: var(--navy);
  padding: 72px 0;
}

.page-header .section-label { margin-bottom: 16px; }
.page-header h1 { color: var(--white); margin-bottom: 16px; max-width: 740px; }
.page-header .lead {
  font-size: 18px;
  color: rgba(255,255,255,0.78);
  max-width: 620px;
  line-height: 1.7;
}

/* ── Services detail page ── */
.services-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px 80px;
}

.service-detail-item {}
.service-detail-item .svc-num { margin-bottom: 12px; }
.service-detail-item h3 { font-size: 24px; margin-bottom: 14px; }
.service-detail-item p {
  font-size: 16px;
  color: var(--muted);
  line-height: 1.8;
  margin-bottom: 14px;
}
.service-detail-item p:last-of-type { margin-bottom: 0; }
.service-detail-item .svc-tech { margin-top: 16px; }

/* ── About page ── */
.about-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.about-panel {
  background: var(--navy);
  border-radius: 14px;
  padding: 48px;
}

.about-panel h3 {
  font-size: 20px;
  color: var(--white);
  margin-bottom: 20px;
}

.about-panel p {
  font-size: 15px;
  color: rgba(255,255,255,0.78);
  line-height: 1.75;
  margin-bottom: 14px;
}
.about-panel p:last-child { margin-bottom: 0; }

.strength-list {
  list-style: none;
  margin-top: 8px;
}
.strength-list li {
  font-size: 15px;
  color: rgba(255,255,255,0.82);
  padding: 10px 0;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  line-height: 1.5;
}
.strength-list li:last-child { border-bottom: none; }
.strength-list li strong {
  display: block;
  color: var(--white);
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 2px;
}

/* ── Contact page ── */
.contact-layout {
  display: grid;
  grid-template-columns: 5fr 4fr;
  gap: 80px;
  align-items: start;
}

.form-group { margin-bottom: 20px; }

.form-group label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 7px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--border);
  border-radius: 6px;
  font-size: 15px;
  font-family: var(--font);
  color: var(--text);
  background: var(--white);
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
  appearance: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(249,115,22,0.12);
}

.form-group textarea { min-height: 150px; resize: vertical; line-height: 1.6; }

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

.honeypot { display: none !important; }

.contact-aside { padding-top: 8px; }
.contact-aside h3 { font-size: 22px; margin-bottom: 28px; }

.contact-item { margin-bottom: 32px; }
.contact-item h4 {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--orange);
  margin-bottom: 6px;
}
.contact-item a {
  font-size: 20px;
  color: var(--navy);
  text-decoration: none;
  font-weight: 700;
  letter-spacing: -0.02em;
  display: block;
  transition: color 0.2s;
}
.contact-item a:hover { color: var(--orange); }
.contact-item .note {
  font-size: 14px;
  color: var(--muted);
  margin-top: 4px;
  line-height: 1.5;
}

.alert {
  padding: 16px 20px;
  border-radius: 6px;
  font-size: 15px;
  margin-bottom: 24px;
}
.alert-success {
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  color: #065f46;
}
.alert-error {
  background: #fff1f2;
  border: 1px solid #fecdd3;
  color: #9f1239;
}

/* ── 404 ── */
.not-found {
  background: var(--navy);
  min-height: 70vh;
  display: flex;
  align-items: center;
  padding: 80px 0;
}
.not-found-inner { text-align: center; }
.not-found .big-num {
  font-size: clamp(80px, 15vw, 160px);
  font-weight: 800;
  color: var(--orange);
  letter-spacing: -0.05em;
  line-height: 1;
  margin-bottom: 16px;
}
.not-found h1 { color: var(--white); font-size: 32px; margin-bottom: 16px; }
.not-found p { color: rgba(255,255,255,0.78); font-size: 17px; max-width: 400px; margin: 0 auto 32px; }

/* ── Footer ── */
.site-footer {
  background: #010c1f;
  padding: 72px 0 32px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 56px;
}

.footer-logo {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--white);
  text-decoration: none;
  display: block;
  margin-bottom: 14px;
}
.footer-logo span { color: var(--orange); }

.footer-brand p {
  font-size: 14px;
  color: #b8cfe6;
  line-height: 1.75;
  max-width: 280px;
}

.footer-col h4 {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #7fa8cc;
  margin-bottom: 18px;
}

.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 11px; }
.footer-col a {
  font-size: 14px;
  color: #c8ddf0;
  text-decoration: none;
  transition: color 0.2s;
}
.footer-col a:hover { color: var(--white); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.18);
  padding-top: 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: #8aaec9;
}

.footer-legal { display: flex; gap: 24px; }
.footer-legal a { color: #8aaec9; text-decoration: none; transition: color 0.2s; }
.footer-legal a:hover { color: #c8ddf0; }

/* ── Utilities ── */
.mt-8  { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mt-40 { margin-top: 40px; }
.mt-48 { margin-top: 48px; }
.mt-64 { margin-top: 64px; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.mb-40 { margin-bottom: 40px; }
.mb-56 { margin-bottom: 56px; }
.text-orange { color: var(--orange); }
.text-white  { color: var(--white); }
.text-muted  { color: var(--muted); }
.full-width   { width: 100%; }

/* ── Responsive ── */
@media (max-width: 1024px) {
  .container { padding: 0 32px; }
  .nav-inner { padding: 0 32px; }
  .hero-inner { padding: 0 32px; }
  .trust-inner { padding: 0 32px; }
  .page-header .container { padding: 0 32px; }

  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .services-detail { grid-template-columns: 1fr; gap: 48px; }
  .about-intro { grid-template-columns: 1fr; gap: 40px; }
  .testimonials-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
}

@media (max-width: 768px) {
  .container { padding: 0 20px; }
  .nav-inner { padding: 0 20px; }
  .hero-inner { padding: 0 20px; grid-template-columns: 1fr; gap: 40px; }
  .trust-inner { padding: 0 20px; justify-content: flex-start; }
  .page-header .container { padding: 0 20px; }

  .nav-links {
    display: none;
    flex-direction: column;
    position: fixed;
    top: 68px; left: 0; right: 0;
    background: var(--navy);
    padding: 24px 20px 28px;
    gap: 4px;
    border-top: 1px solid rgba(255,255,255,0.08);
    z-index: 100;
  }
  .nav-links.open { display: flex; }
  .nav-links a { font-size: 17px; padding: 10px 0; }
  .nav-toggle { display: flex; }
  .nav-cta { display: none; }

  .hero { padding: 64px 0 56px; }
  .hero::after { display: none; }
  .hero-dots { display: none; }
  .hero-stats { grid-template-columns: 1fr 1fr; }
  .hero-actions { flex-direction: column; align-items: flex-start; }

  .section { padding: 64px 0; }
  .page-header { padding: 56px 0; }

  .split { grid-template-columns: 1fr; gap: 40px; }
  .split-wide { grid-template-columns: 1fr; gap: 40px; }
  .services-grid { grid-template-columns: 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .cta-block { grid-template-columns: 1fr; gap: 32px; padding: 36px 28px; }
  .contact-layout { grid-template-columns: 1fr; gap: 48px; }
  .form-row { grid-template-columns: 1fr; gap: 0; }

  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; margin-bottom: 40px; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
  .footer-legal { flex-wrap: wrap; justify-content: center; }

  .trust-inner { gap: 0; flex-direction: column; align-items: flex-start; }
  .trust-item { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.07); padding: 10px 0; width: 100%; }
  .trust-item:last-child { border-bottom: none; }

  .process-card { padding: 32px 24px; }
  .about-panel { padding: 32px 24px; }
}
