/* ============================================================
   HyggeWorks — superworld.lat
   Computer Systems Design and Related Services
   Palette: deep pine / honey / mint jade / warm cream
   ============================================================ */

:root {
  --bg: #0E1B16;
  --bg-2: #14241D;
  --surface: #182A22;
  --surface-2: #1E3329;
  --line: #2B4638;
  --paper: #F4EEE1;
  --paper-dim: #C9D3CA;
  --muted: #9FB3A6;
  --accent: #E9B949;
  --accent-2: #63C9A1;
  --accent-deep: #B9812A;
  --maxw: 1180px;
}

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

html { scroll-behavior: smooth; }

body {
  font-size: 16px;
  font-family: "Inter", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  background-color: var(--bg);
  color: var(--paper);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }

.home-page { background-color: var(--bg); }

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 28px; }

/* ---------- fixed navigation (class selector) ---------- */
.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background-color: var(--bg);
  border-bottom: 1px solid var(--line);
}

.nav-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 28px;
  height: 72px;
  display: flex;
  align-items: center;
  gap: 22px;
}

.brand {
  font-weight: 800;
  font-size: 20px;
  letter-spacing: -0.02em;
  color: var(--paper);
  white-space: nowrap;
}

.brand span { color: var(--accent); }

.nav-cta {
  order: 2;
  background-color: var(--accent);
  color: #221703;
  font-weight: 700;
  font-size: 14px;
  padding: 10px 18px;
  border-radius: 999px;
  white-space: nowrap;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.nav-cta:hover { background-color: #F4CB6B; transform: translateY(-1px); }

.nav-links {
  order: 3;
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 26px;
}

.nav-links a {
  font-size: 14px;
  font-weight: 600;
  color: var(--paper-dim);
  transition: color 0.2s ease;
}

.nav-links a:hover { color: var(--accent); }

.nav-phone {
  order: 4;
  font-size: 14px;
  font-weight: 700;
  color: var(--accent-2);
  white-space: nowrap;
}

.nav-toggle {
  order: 5;
  display: none;
  background: none;
  border: 1px solid var(--line);
  border-radius: 8px;
  width: 44px;
  height: 40px;
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background-color: var(--paper);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

/* ---------- hero: full-bleed background band with overlay text ---------- */
.hero {
  position: relative;
  padding: 160px 0 90px;
  background:
    radial-gradient(1100px 520px at 78% 8%, #3E2A0E 0%, #2A1F0C 34%, transparent 62%),
    radial-gradient(900px 620px at 6% 92%, #103A2C 0%, #0B2A20 40%, transparent 66%),
    linear-gradient(135deg, #0C1813 0%, #12231B 55%, #0A1511 100%);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(#1B2E24 1px, transparent 1px),
    linear-gradient(90deg, #1B2E24 1px, transparent 1px);
  background-size: 46px 46px;
  pointer-events: none;
}

.hero-inner {
  position: relative;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 28px;
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 48px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
}

.eyebrow::before {
  content: "";
  width: 26px;
  height: 2px;
  background-color: var(--accent);
}

.hero h1 {
  margin: 22px 0 20px;
  font-size: clamp(38px, 5.4vw, 66px);
  line-height: 1.04;
  letter-spacing: -0.03em;
  font-weight: 800;
  color: var(--paper);
}

.hero h1 em {
  font-style: normal;
  color: var(--accent);
}

.hero-lead {
  max-width: 540px;
  font-size: 18px;
  color: var(--paper-dim);
  margin-bottom: 34px;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-weight: 700;
  font-size: 15px;
  padding: 15px 26px;
  border-radius: 10px;
  transition: transform 0.2s ease, background-color 0.2s ease;
}

.btn-primary { background-color: var(--accent); color: #221703; }
.btn-primary:hover { background-color: #F4CB6B; transform: translateY(-2px); }

.btn-ghost {
  background-color: transparent;
  color: var(--paper);
  border: 1px solid var(--line);
}
.btn-ghost:hover { border-color: var(--accent-2); color: var(--accent-2); transform: translateY(-2px); }

.hero-panel {
  background-color: var(--surface);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 30px;
}

.hero-panel h3 {
  font-size: 15px;
  font-weight: 700;
  color: var(--accent-2);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 22px;
}

.panel-row {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}

.panel-row:last-child { border-bottom: none; }

.panel-row .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: var(--accent);
  margin-top: 7px;
  flex-shrink: 0;
}

.panel-row .dot.green { background-color: var(--accent-2); }

.panel-row p { font-size: 15px; color: var(--paper-dim); }
.panel-row p strong { color: var(--paper); }

/* ---------- stat band ---------- */
.stat-band {
  background-color: var(--accent);
  color: #221703;
  border-bottom: 1px solid var(--accent-deep);
}

.stat-grid {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 34px 28px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.stat-item { text-align: center; }

.stat-item .num {
  font-size: 40px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #221703;
}

.stat-item .label {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #4C3805;
}

/* ---------- statement / about ---------- */
.about-section {
  padding: 110px 0;
  background-color: var(--bg);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.section-tag {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-2);
  margin-bottom: 18px;
}

.about-section h2 {
  font-size: clamp(30px, 3.6vw, 44px);
  line-height: 1.12;
  letter-spacing: -0.02em;
  font-weight: 800;
  color: var(--paper);
  margin-bottom: 22px;
}

.about-copy p {
  font-size: 17px;
  color: var(--paper-dim);
  margin-bottom: 18px;
}

.about-copy p strong { color: var(--paper); }

.about-facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-top: 30px;
}

.fact {
  background-color: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 22px;
}

.fact .k { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--accent); margin-bottom: 8px; }
.fact .v { font-size: 15px; color: var(--paper-dim); line-height: 1.5; }

/* ---------- process: numbered list section ---------- */
.process-section {
  padding: 110px 0;
  background-color: var(--bg-2);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section-head { margin-bottom: 60px; max-width: 720px; }

.section-head h2 {
  font-size: clamp(30px, 3.6vw, 44px);
  letter-spacing: -0.02em;
  font-weight: 800;
  color: var(--paper);
  margin-bottom: 16px;
}

.section-head p { font-size: 17px; color: var(--paper-dim); }

.step {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 30px;
  padding: 40px 0;
  border-top: 1px solid var(--line);
  align-items: start;
}

.step:last-child { border-bottom: 1px solid var(--line); }

.step .index {
  font-size: 52px;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--accent);
  line-height: 1;
}

.step h3 {
  font-size: 24px;
  font-weight: 800;
  color: var(--paper);
  margin-bottom: 12px;
}

.step p {
  font-size: 16px;
  color: var(--paper-dim);
  max-width: 680px;
}

.step .tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }

.step .tags span {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--accent-2);
  background-color: var(--surface);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 12px;
}

/* ---------- services ---------- */
.services-section {
  padding: 110px 0;
  background-color: var(--bg);
}

.services-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}

.service {
  background-color: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 34px;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.service:hover { border-color: var(--accent); transform: translateY(-3px); }

.service .ic {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background-color: var(--surface-2);
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: var(--accent);
  margin-bottom: 20px;
}

.service h3 { font-size: 20px; font-weight: 800; color: var(--paper); margin-bottom: 12px; }
.service p { font-size: 15px; color: var(--paper-dim); line-height: 1.6; }

.service ul { margin-top: 16px; display: flex; flex-wrap: wrap; gap: 8px; }
.service ul li { font-size: 12px; font-weight: 700; color: var(--paper); background-color: var(--surface-2); border: 1px solid var(--line); border-radius: 999px; padding: 5px 11px; }

/* ---------- comparison table ---------- */
.compare-section {
  padding: 110px 0;
  background-color: var(--bg-2);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.table-scroll { overflow-x: auto; border: 1px solid var(--line); border-radius: 16px; }

.compare-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 720px;
  background-color: var(--surface);
}

.compare-table thead th {
  padding: 22px 24px;
  text-align: left;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--paper);
  background-color: var(--surface-2);
  border-bottom: 1px solid var(--line);
}

.compare-table thead th.hl { color: var(--accent); }

.compare-table tbody td {
  padding: 20px 24px;
  font-size: 15px;
  color: var(--paper-dim);
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

.compare-table tbody tr:last-child td { border-bottom: none; }

.compare-table tbody td:first-child { font-weight: 700; color: var(--paper); }

.check { color: var(--accent-2); font-weight: 700; }
.cross { color: var(--muted); }

/* ---------- industries ---------- */
.industries-section {
  padding: 110px 0;
  background-color: var(--bg);
}

.industry-scroll {
  display: flex;
  gap: 18px;
  overflow-x: auto;
  padding-bottom: 14px;
  scrollbar-width: thin;
  scrollbar-color: var(--line) transparent;
}

.industry {
  flex: 0 0 260px;
  background-color: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 28px;
}

.industry .idx { font-size: 13px; font-weight: 700; color: var(--accent); letter-spacing: 0.08em; margin-bottom: 14px; }
.industry h3 { font-size: 19px; font-weight: 800; color: var(--paper); margin-bottom: 10px; }
.industry p { font-size: 14px; color: var(--paper-dim); line-height: 1.55; }

/* ---------- contact ---------- */
.contact-section {
  padding: 110px 0;
  background:
    radial-gradient(700px 400px at 88% 20%, #3E2A0E 0%, transparent 60%),
    var(--bg-2);
  border-top: 1px solid var(--line);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 54px;
  align-items: start;
}

.contact-section h2 {
  font-size: clamp(30px, 3.6vw, 44px);
  letter-spacing: -0.02em;
  font-weight: 800;
  color: var(--paper);
  margin-bottom: 18px;
}

.contact-section .lead { font-size: 17px; color: var(--paper-dim); margin-bottom: 34px; }

.contact-list { display: flex; flex-direction: column; gap: 18px; }

.contact-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.contact-item .ic {
  width: 46px;
  height: 46px;
  border-radius: 10px;
  background-color: var(--surface);
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  font-size: 18px;
  flex-shrink: 0;
}

.contact-item .k { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--accent-2); margin-bottom: 3px; }
.contact-item .v { font-size: 15px; color: var(--paper); line-height: 1.5; }

.contact-form {
  background-color: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 34px;
}

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

.field { margin-bottom: 18px; }

.field label { display: block; font-size: 13px; font-weight: 700; color: var(--paper); margin-bottom: 8px; }

.field input,
.field textarea {
  width: 100%;
  background-color: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 13px 15px;
  font-size: 15px;
  font-family: inherit;
  color: var(--paper);
}

.field input::placeholder,
.field textarea::placeholder { color: var(--muted); }

.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--accent);
}

.field textarea { resize: vertical; min-height: 120px; }

.form-note { font-size: 13px; color: var(--muted); margin-top: 4px; }

.form-status { display: none; margin-top: 16px; font-size: 14px; font-weight: 700; color: var(--accent-2); }
.form-status.show { display: block; }

/* ---------- footer: compact single-row ---------- */
.site-footer {
  background-color: var(--bg);
  border-top: 1px solid var(--line);
}

.footer-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 26px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-inner .brand { font-size: 17px; }

.footer-links { display: flex; align-items: center; gap: 22px; }

.footer-links a {
  font-size: 14px;
  font-weight: 600;
  color: var(--paper-dim);
  transition: color 0.2s ease;
}

.footer-links a:hover { color: var(--accent); }

.footer-copy { font-size: 13px; color: var(--muted); }

/* ---------- scroll reveal ---------- */
.fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-up.visible { opacity: 1; transform: translateY(0); }

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; gap: 36px; }
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .services-grid { grid-template-columns: 1fr; }
  .stat-grid { grid-template-columns: repeat(2, 1fr); gap: 22px; }
  .step { grid-template-columns: 1fr; gap: 12px; }
}

@media (max-width: 720px) {
  .nav-phone { display: none; }
  .nav-toggle { display: flex; }

  .nav-links {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    margin-left: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    background-color: var(--bg);
    border-bottom: 1px solid var(--line);
    padding: 12px 28px 22px;
    transform: translateY(-130%);
    transition: transform 0.3s ease;
  }

  .nav-links.open { transform: translateY(0); }

  .nav-links a { padding: 14px 0; width: 100%; font-size: 16px; border-bottom: 1px solid var(--line); }
  .nav-links a:last-child { border-bottom: none; }

  .hero { padding: 130px 0 64px; }
  .form-row { grid-template-columns: 1fr; }
  .about-facts { grid-template-columns: 1fr; }
  .nav-cta { padding: 9px 14px; font-size: 13px; }
  .brand { font-size: 18px; }
}
