:root {
  --bg-dark: #111215;
  --bg-dark-elevated: #191b20;
  --bg-light: #f4f2ee;
  --bg-surface: #ffffff;
  --text-main: #16181c;
  --text-muted: #585d66;
  --text-on-dark: #f4f2ee;
  --text-on-dark-muted: #a2a7b0;
  --accent: #c57d35;
  --accent-hover: #a96623;
  --border-light: #e2dfd9;
  --border-dark: rgba(255, 255, 255, 0.12);
  --wa-green: #1fa855;
  --wa-green-hover: #178d46;
  --font-display: 'Space Grotesk', sans-serif;
  --font-body: 'Plus Jakarta Sans', sans-serif;
  --container: 1240px;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-light);
  color: var(--text-main);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.preview-banner {
  background: #1c1e24;
  color: #c8ccd4;
  font-size: 12px;
  letter-spacing: 0.02em;
  padding: 8px 16px;
  text-align: center;
  border-bottom: 1px solid var(--border-dark);
}

.preview-banner strong {
  color: #ffffff;
  font-weight: 600;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 90;
  background: rgba(17, 18, 21, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-dark);
}

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

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text-on-dark);
}

.brand-mark {
  width: 36px;
  height: 36px;
  border: 1px solid var(--accent);
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.04em;
  color: var(--accent);
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand-name {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.brand-sub {
  font-size: 11px;
  color: var(--text-on-dark-muted);
  letter-spacing: 0.04em;
}

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

.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: #d6d9df;
  padding: 6px 0;
  border-bottom: 2px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: #ffffff;
  border-bottom-color: var(--accent);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent);
  color: #ffffff;
  font-size: 13px;
  font-weight: 600;
  padding: 10px 18px;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  transition: background 0.2s ease;
}

.nav-cta:hover {
  background: var(--accent-hover);
}

.menu-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--border-dark);
  color: #ffffff;
  width: 42px;
  height: 42px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--accent);
  margin-bottom: 18px;
}

.eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--accent);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  padding: 15px 26px;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all 0.22s ease;
}

.btn-primary {
  background: var(--accent);
  color: #ffffff;
}

.btn-primary:hover {
  background: var(--accent-hover);
}

.btn-outline-light {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.28);
  color: #ffffff;
}

.btn-outline-light:hover {
  border-color: #ffffff;
  background: rgba(255, 255, 255, 0.06);
}

.btn-outline-dark {
  background: transparent;
  border-color: var(--bg-dark);
  color: var(--bg-dark);
}

.btn-outline-dark:hover {
  background: var(--bg-dark);
  color: #ffffff;
}

.btn-dark {
  background: var(--bg-dark);
  color: #ffffff;
}

.btn-dark:hover {
  background: #24272f;
}

/* Page Header for Inner Pages */
.page-hero {
  background: var(--bg-dark);
  color: var(--text-on-dark);
  padding: 72px 0 64px;
  border-bottom: 1px solid var(--border-dark);
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--text-on-dark-muted);
  margin-bottom: 20px;
}

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

.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(32px, 4.4vw, 52px);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.025em;
  max-width: 780px;
  margin-bottom: 18px;
}

.page-hero p {
  font-size: 16px;
  color: var(--text-on-dark-muted);
  max-width: 640px;
}

/* Home Hero */
.hero {
  background: var(--bg-dark);
  color: var(--text-on-dark);
  position: relative;
  padding: 84px 0 0;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items: center;
  padding-bottom: 72px;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(36px, 5vw, 60px);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.025em;
  margin-bottom: 24px;
}

.hero-lead {
  font-size: 17px;
  color: var(--text-on-dark-muted);
  max-width: 560px;
  margin-bottom: 36px;
}

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

.hero-visual {
  position: relative;
}

.hero-image-frame {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border: 1px solid var(--border-dark);
  background: #1b1d22;
}

.hero-image-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: contrast(1.04);
}

.hero-caption-card {
  position: absolute;
  left: -24px;
  bottom: 28px;
  background: #16181d;
  border: 1px solid var(--border-dark);
  padding: 18px 22px;
  max-width: 280px;
}

.hero-caption-card span {
  display: block;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-bottom: 4px;
}

.hero-caption-card p {
  font-size: 13px;
  color: #e4e6eb;
  line-height: 1.45;
}

.hero-metrics {
  border-top: 1px solid var(--border-dark);
  background: var(--bg-dark-elevated);
}

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.metric-item {
  padding: 28px 24px;
  border-right: 1px solid var(--border-dark);
}

.metric-item:last-child {
  border-right: none;
}

.metric-val {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 4px;
}

.metric-label {
  font-size: 13px;
  color: var(--text-on-dark-muted);
}

/* Sections */
.section {
  padding: 92px 0;
}

.section-dark {
  background: var(--bg-dark);
  color: var(--text-on-dark);
}

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

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 32px;
  margin-bottom: 52px;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.6vw, 42px);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.02em;
}

.section-desc {
  max-width: 460px;
  font-size: 15px;
  color: var(--text-muted);
}

.section-dark .section-desc {
  color: var(--text-on-dark-muted);
}

/* Services */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--border-light);
  border-left: 1px solid var(--border-light);
}

.service-card {
  background: var(--bg-surface);
  padding: 38px 32px;
  border-right: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: background 0.25s ease;
}

.service-card:hover {
  background: #faf9f6;
}

.service-num {
  font-family: var(--font-display);
  font-size: 13px;
  color: var(--accent);
  font-weight: 600;
  letter-spacing: 0.08em;
  margin-bottom: 22px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.service-card h3 {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 14px;
}

.service-card p {
  font-size: 15px;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.service-list {
  list-style: none;
  margin-bottom: 28px;
  border-top: 1px solid var(--border-light);
  padding-top: 18px;
}

.service-list li {
  font-size: 14px;
  color: var(--text-main);
  padding: 6px 0;
  display: flex;
  align-items: center;
  gap: 10px;
}

.service-list li::before {
  content: "";
  width: 6px;
  height: 6px;
  background: var(--accent);
  flex-shrink: 0;
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-main);
}

.service-link:hover {
  color: var(--accent);
}

/* Split Service Detail */
.detail-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
  padding: 64px 0;
  border-bottom: 1px solid var(--border-light);
}

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

.detail-media {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border: 1px solid var(--border-light);
  background: #e4e1db;
}

.detail-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.detail-content h2 {
  font-family: var(--font-display);
  font-size: clamp(26px, 3vw, 36px);
  margin-bottom: 16px;
}

.detail-content > p {
  color: var(--text-muted);
  margin-bottom: 24px;
}

/* Comparison Table */
.table-wrap {
  width: 100%;
  overflow-x: auto;
  border: 1px solid var(--border-light);
  background: var(--bg-surface);
}

.spec-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 680px;
}

.spec-table th,
.spec-table td {
  text-align: left;
  padding: 18px 22px;
  border-bottom: 1px solid var(--border-light);
  font-size: 14px;
}

.spec-table th {
  background: var(--bg-dark);
  color: #ffffff;
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: 0.03em;
}

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

/* InfiniteSpiral 3D Showcase */
.spiral-section {
  background: var(--bg-dark);
  color: var(--text-on-dark);
  padding: 92px 0;
  border-top: 1px solid var(--border-dark);
  border-bottom: 1px solid var(--border-dark);
}

.spiral-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 48px;
  align-items: center;
}

.spiral-active-box {
  margin-top: 28px;
  padding: 24px;
  background: var(--bg-dark-elevated);
  border: 1px solid var(--border-dark);
}

.spiral-active-tag {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
  margin-bottom: 6px;
}

.spiral-active-title {
  font-family: var(--font-display);
  font-size: 22px;
  margin-bottom: 8px;
  color: #ffffff;
}

.spiral-active-meta {
  font-size: 14px;
  color: var(--text-on-dark-muted);
}

.spiral-hint {
  margin-top: 16px;
  font-size: 12px;
  color: var(--text-on-dark-muted);
  letter-spacing: 0.04em;
}

.spiral-stage-wrap {
  height: 600px;
  position: relative;
  overflow: hidden;
  background: radial-gradient(circle at center, rgba(197, 125, 53, 0.12) 0%, rgba(17, 18, 21, 0) 68%);
  border: 1px solid var(--border-dark);
}

.spiral-stage {
  width: 100%;
  height: 100%;
  position: relative;
  perspective: 1000px;
  transform-style: preserve-3d;
}

.spiral-card {
  position: absolute;
  top: 50%;
  left: 50%;
  border-radius: 10px;
  overflow: hidden;
  cursor: pointer;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: #1c1f26;
  will-change: transform, opacity, filter;
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.45);
}

.spiral-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}

.spiral-card-label {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 10px 12px;
  background: linear-gradient(to top, rgba(10, 11, 14, 0.88), rgba(10, 11, 14, 0));
  font-size: 11px;
  font-weight: 600;
  color: #ffffff;
  letter-spacing: 0.02em;
}

.spiral-fade-top,
.spiral-fade-bottom {
  position: absolute;
  left: 0;
  right: 0;
  height: 120px;
  pointer-events: none;
  z-index: 20;
}

.spiral-fade-top {
  top: 0;
  background: linear-gradient(to bottom, #111215 10%, rgba(17, 18, 21, 0));
}

.spiral-fade-bottom {
  bottom: 0;
  background: linear-gradient(to top, #111215 10%, rgba(17, 18, 21, 0));
}

/* Portfolio Grid */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 36px;
}

.filter-btn {
  background: transparent;
  border: 1px solid var(--border-light);
  padding: 10px 20px;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.2s ease;
}

.filter-btn.active,
.filter-btn:hover {
  background: var(--bg-dark);
  border-color: var(--bg-dark);
  color: #ffffff;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.project-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  overflow: hidden;
  transition: transform 0.25s ease;
}

.project-card:hover {
  transform: translateY(-4px);
}

.project-thumb {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #e4e1db;
}

.project-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.project-card:hover .project-thumb img {
  transform: scale(1.05);
}

.project-body {
  padding: 24px;
}

.project-meta {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 10px;
}

.project-body h3 {
  font-family: var(--font-display);
  font-size: 20px;
  margin-bottom: 8px;
}

.project-body p {
  font-size: 14px;
  color: var(--text-muted);
}

.project-specs {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid var(--border-light);
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: var(--text-main);
  font-weight: 600;
}

/* Workflow */
.workflow-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.step-card {
  padding: 32px 26px;
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
}

.step-index {
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 20px;
}

.step-card h3 {
  font-family: var(--font-display);
  font-size: 19px;
  margin-bottom: 10px;
}

.step-card p {
  font-size: 14px;
  color: var(--text-muted);
}

/* CTA Band */
.cta-band {
  background: var(--bg-dark-elevated);
  color: var(--text-on-dark);
  padding: 64px 0;
  border-top: 1px solid var(--border-dark);
}

.cta-band-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
}

.cta-band h2 {
  font-family: var(--font-display);
  font-size: clamp(24px, 3vw, 34px);
  margin-bottom: 8px;
}

.cta-band p {
  color: var(--text-on-dark-muted);
  max-width: 560px;
  font-size: 15px;
}

/* FAQ */
.faq-list {
  max-width: 880px;
  border-top: 1px solid var(--border-light);
}

.faq-item {
  border-bottom: 1px solid var(--border-light);
}

.faq-question {
  width: 100%;
  text-align: left;
  background: transparent;
  border: none;
  padding: 24px 0;
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 600;
  color: var(--text-main);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  cursor: pointer;
}

.faq-icon {
  font-size: 22px;
  color: var(--accent);
  font-weight: 400;
  transition: transform 0.2s ease;
}

.faq-item.open .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  display: none;
  padding-bottom: 24px;
  font-size: 15px;
  color: var(--text-muted);
  max-width: 780px;
}

.faq-item.open .faq-answer {
  display: block;
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 48px;
  align-items: start;
}

.contact-info-card {
  background: var(--bg-dark);
  color: var(--text-on-dark);
  padding: 40px;
}

.contact-info-card h2 {
  font-family: var(--font-display);
  font-size: 28px;
  margin-bottom: 12px;
}

.contact-info-card > p {
  font-size: 14px;
  color: var(--text-on-dark-muted);
  margin-bottom: 30px;
}

.info-row {
  padding: 16px 0;
  border-top: 1px solid var(--border-dark);
}

.info-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-bottom: 4px;
}

.info-val {
  font-size: 15px;
  color: #ffffff;
}

.info-note {
  font-size: 12px;
  color: var(--text-on-dark-muted);
  margin-top: 4px;
}

.map-frame {
  margin-top: 24px;
  width: 100%;
  height: 230px;
  border: 1px solid var(--border-dark);
  filter: grayscale(1) contrast(1.05);
}

.consult-form {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  padding: 40px;
}

.consult-form h2 {
  font-family: var(--font-display);
  font-size: 26px;
  margin-bottom: 8px;
}

.consult-form > p {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 28px;
}

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

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 18px;
}

.form-group.full {
  grid-column: 1 / -1;
}

.form-group label {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-main);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 13px 14px;
  border: 1px solid #d5d1c9;
  background: #fbfaf8;
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--text-main);
  outline: none;
  transition: border-color 0.2s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--accent);
  background: #ffffff;
}

/* Footer */
.site-footer {
  background: #0d0e11;
  color: var(--text-on-dark-muted);
  padding: 64px 0 32px;
  border-top: 1px solid var(--border-dark);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--border-dark);
}

.footer-title {
  font-family: var(--font-display);
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #ffffff;
  margin-bottom: 16px;
}

.footer-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 14px;
}

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

.footer-bottom {
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 13px;
}

/* Floating WhatsApp */
.wa-float {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 999;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--wa-green);
  color: #ffffff;
  padding: 13px 20px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.28);
  transition: transform 0.2s ease, background 0.2s ease;
}

.wa-float:hover {
  background: var(--wa-green-hover);
  transform: translateY(-2px);
}

.wa-float svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
  flex-shrink: 0;
}

@media (max-width: 1024px) {
  .hero-grid,
  .spiral-layout,
  .contact-grid,
  .detail-row {
    grid-template-columns: 1fr;
  }

  .hero-caption-card {
    left: 16px;
    bottom: 16px;
  }

  .metrics-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .metric-item {
    border-bottom: 1px solid var(--border-dark);
  }

  .services-grid,
  .portfolio-grid,
  .workflow-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .nav-links,
  .nav-cta {
    display: none;
  }

  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 76px;
    left: 0;
    right: 0;
    background: #14161a;
    padding: 24px;
    gap: 18px;
    border-bottom: 1px solid var(--border-dark);
  }

  .menu-toggle {
    display: inline-flex;
  }

  .section {
    padding: 64px 0;
  }

  .section-header {
    flex-direction: column;
    align-items: flex-start;
    margin-bottom: 36px;
  }

  .services-grid,
  .portfolio-grid,
  .workflow-grid,
  .form-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .contact-info-card,
  .consult-form {
    padding: 26px;
  }

  .spiral-stage-wrap {
    height: 480px;
  }

  .wa-float {
    right: 16px;
    bottom: 16px;
    padding: 12px 16px;
    font-size: 13px;
  }
}
