/* ============================================================
   Salak Consulting — Main Stylesheet
   ============================================================ */

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

:root {
  --dark:        #0E0C0A;
  --dark2:       #1C1814;
  --dark3:       #252019;
  --slate:       #9A9080;
  --off:         #F2EDE6;
  --orange:      #E8720C;
  --orange-dim:  #C45E08;
  --orange-glow: rgba(232, 114, 12, 0.18);
  --white:       #FFFFFF;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  background: var(--dark);
  color: var(--off);
  -webkit-font-smoothing: antialiased;
}

/* ── NAV ── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.25rem 4rem;
  background: rgba(14, 12, 10, 0.85);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
.nav-logo {
  font-family: sans-serif;
  font-weight: 800; font-size: 1.1rem;
  letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--white); text-decoration: none;
  display: flex; align-items: center; gap: 0.5rem;
}
.nav-logo .logo-mark {
  width: 28px; height: 28px; border-radius: 6px;
  background: var(--orange);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.8rem; font-weight: 800; color: #fff;
}
.nav-links { display: flex; gap: 2.5rem; list-style: none; }
.nav-links a {
  font-size: 0.82rem; letter-spacing: 0.05em; text-transform: uppercase;
  color: var(--slate); text-decoration: none;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--off); }
.nav-cta {
  font-size: 0.82rem;
  padding: 0.55rem 1.4rem;
  background: var(--orange); color: var(--white);
  border: none; border-radius: 6px; cursor: pointer;
  text-decoration: none;
  transition: background 0.2s, transform 0.15s;
}
.nav-cta:hover { background: var(--orange-dim); transform: translateY(-1px); }

/* ── HERO ── */
.hero {
  position: relative; overflow: hidden;
  min-height: 100vh;
  display: flex; flex-direction: column;
  justify-content: center; align-items: flex-start;
  padding: 0 4rem;
}
.hero-grid {
  position: absolute; inset: 0; z-index: 0;
  background-image:
    linear-gradient(rgba(232, 114, 12, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(232, 114, 12, 0.06) 1px, transparent 1px);
  background-size: 60px 60px;
  animation: gridShift 20s linear infinite;
}
@keyframes gridShift {
  0%   { background-position: 0 0; }
  100% { background-position: 60px 60px; }
}
.hero-glow {
  position: absolute; inset: 0; z-index: 0;
  background: radial-gradient(ellipse 65% 55% at 65% 45%, rgba(232, 114, 12, 0.13) 0%, transparent 70%);
}
.hero-content { position: relative; z-index: 1; max-width: 800px; }
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 0.6rem;
  font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--orange); margin-bottom: 1.75rem;
}
.hero-eyebrow::before {
  content: ''; display: block;
  width: 28px; height: 1px; background: var(--orange);
}
h1 {
  font-family: sans-serif;
  font-size: clamp(2.6rem, 5.5vw, 5rem);
  font-weight: 800; line-height: 1.06;
  letter-spacing: -0.02em; color: var(--white);
  margin-bottom: 1.5rem;
}
h1 em { font-style: normal; color: var(--orange); }
.hero-sub {
  font-size: 1.1rem; font-weight: 300; line-height: 1.8;
  color: var(--slate); max-width: 540px;
  margin-bottom: 2.5rem;
}
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }

/* ── AVAILABILITY BADGE ── */
.availability-badge {
  display: inline-flex; align-items: center; gap: 0.6rem;
  background: var(--dark2);
  border: 1px solid rgba(232, 114, 12, 0.25);
  border-radius: 999px;
  padding: 0.4rem 1rem 0.4rem 0.65rem;
  font-size: 0.78rem; color: var(--slate);
  margin-bottom: 1.5rem;
}
.badge-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: #4ade80;
  box-shadow: 0 0 6px rgba(74, 222, 128, 0.6);
  animation: pulse 2.5s ease-in-out infinite;
  flex-shrink: 0;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.6; transform: scale(0.85); }
}
.badge-text { color: var(--off); }
.badge-text strong { color: var(--orange); font-weight: 500; }

/* ── BUTTONS ── */
.btn-primary {
  font-size: 0.9rem;
  padding: 0.85rem 2rem;
  background: var(--orange); color: var(--white);
  border: none; border-radius: 8px; cursor: pointer;
  text-decoration: none;
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
}
.btn-primary:hover {
  background: var(--orange-dim); transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(232, 114, 12, 0.35);
}
.btn-ghost {
  font-size: 0.9rem;
  padding: 0.85rem 2rem;
  background: transparent; color: var(--off);
  border: 1px solid rgba(255, 255, 255, 0.15); border-radius: 8px;
  cursor: pointer; text-decoration: none;
  transition: border-color 0.2s, transform 0.15s;
}
.btn-ghost:hover { border-color: rgba(255, 255, 255, 0.5); transform: translateY(-2px); }

/* scroll indicator */
.scroll-hint {
  position: absolute; bottom: 2.5rem; left: 4rem; z-index: 1;
  display: flex; align-items: center; gap: 0.75rem;
  font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--slate);
}
.scroll-line {
  width: 36px; height: 1px; background: rgba(154, 144, 128, 0.3);
  position: relative; overflow: hidden;
}
.scroll-line::after {
  content: '';
  position: absolute; top: 0; left: -100%; width: 100%; height: 100%;
  background: var(--orange);
  animation: lineRun 2.2s ease-in-out infinite;
}
@keyframes lineRun {
  0%   { left: -100%; }
  60%  { left: 100%; }
  100% { left: 100%; }
}

/* ── SECTION BASE ── */
section { padding: 6rem 4rem; }
.section-rule {
  border: none; border-top: 1px solid rgba(255, 255, 255, 0.07);
  margin: 0 4rem;
}
.section-label {
  font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--orange); margin-bottom: 1rem;
}
h2 {
  font-family: sans-serif;
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 700; line-height: 1.15;
  color: var(--white); margin-bottom: 1.25rem;
}
.section-intro {
  font-size: 1rem; font-weight: 300; line-height: 1.8;
  color: var(--slate); max-width: 520px;
}

/* ── AVAILABILITY SECTION ── */
.avail-section { background: var(--dark2); }
.avail-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem; align-items: center;
}
.avail-text .section-intro { max-width: 100%; margin-bottom: 2rem; }
.avail-callout {
  background: var(--dark3);
  border: 1px solid rgba(232, 114, 12, 0.2);
  border-left: 3px solid var(--orange);
  border-radius: 8px;
  padding: 1.25rem 1.5rem;
  font-size: 0.92rem; font-weight: 300; line-height: 1.7;
  color: var(--off);
}
.avail-callout strong { color: var(--orange); font-weight: 500; }
.avail-hours {
  display: flex; flex-direction: column; gap: 0.85rem;
}
.avail-row {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1rem 1.25rem;
  background: var(--dark);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 8px;
}
.avail-row-label {
  display: flex; align-items: center; gap: 0.65rem;
  font-size: 0.88rem; color: var(--off);
}
.avail-row-label .icon { font-size: 1rem; }
.avail-tag {
  font-size: 0.72rem; letter-spacing: 0.06em;
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
}
.avail-tag.available {
  background: rgba(74, 222, 128, 0.1);
  color: #4ade80;
  border: 1px solid rgba(74, 222, 128, 0.2);
}
.avail-tag.limited {
  background: rgba(232, 114, 12, 0.1);
  color: var(--orange);
  border: 1px solid rgba(232, 114, 12, 0.2);
}
.avail-tag.unavailable {
  background: rgba(255, 255, 255, 0.05);
  color: var(--slate);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

/* ── WHO WE SERVE ── */
.serve-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem; align-items: center;
}
.serve-text .section-intro { max-width: 100%; margin-bottom: 2rem; }
.serve-callout {
  background: var(--dark2);
  border: 1px solid rgba(232, 114, 12, 0.2);
  border-left: 3px solid var(--orange);
  border-radius: 8px;
  padding: 1.25rem 1.5rem;
  font-size: 0.95rem; font-weight: 300; line-height: 1.7;
  color: var(--off);
}
.serve-callout strong { color: var(--orange); font-weight: 500; }
.serve-cards { display: flex; flex-direction: column; gap: 1rem; }
.serve-card {
  background: var(--dark2);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 10px;
  padding: 1.5rem;
  display: flex; gap: 1rem; align-items: flex-start;
  transition: border-color 0.2s, background 0.2s;
}
.serve-card:hover {
  border-color: rgba(232, 114, 12, 0.3);
  background: var(--dark3);
}
.serve-card-icon {
  width: 40px; height: 40px; border-radius: 8px; flex-shrink: 0;
  background: rgba(232, 114, 12, 0.12);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
}
.serve-card h4 {
  font-family: sans-serif;
  font-size: 0.95rem; font-weight: 600;
  color: var(--white); margin-bottom: 0.3rem;
}
.serve-card p {
  font-size: 0.83rem; font-weight: 300; line-height: 1.65;
  color: var(--slate);
}

/* ── SERVICES ── */
.services-header {
  display: flex; justify-content: space-between;
  align-items: flex-end; margin-bottom: 3.5rem;
  flex-wrap: wrap; gap: 1.5rem;
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 12px; overflow: hidden;
}
.service-card {
  background: var(--dark);
  padding: 2.5rem 2rem;
  transition: background 0.2s;
}
.service-card:hover { background: var(--dark2); }
.service-icon {
  width: 44px; height: 44px; border-radius: 10px;
  background: rgba(232, 114, 12, 0.12);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.5rem;
  font-size: 1.3rem;
}
.service-card h3 {
  font-family: sans-serif;
  font-size: 1.05rem; font-weight: 600;
  color: var(--white); margin-bottom: 0.6rem;
}
.service-card p {
  font-size: 0.88rem; font-weight: 300; line-height: 1.7;
  color: var(--slate);
}

/* ── STATS ── */
.stats { background: var(--dark2); }
.stats-inner {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 3rem;
}
.stat-num {
  font-family: sans-serif;
  font-size: 3rem; font-weight: 800;
  color: var(--white); line-height: 1;
  margin-bottom: 0.4rem;
}
.stat-num span { color: var(--orange); }
.stat-label {
  font-size: 0.82rem; color: var(--slate); letter-spacing: 0.04em;
}

/* ── ABOUT ── */
.about-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem; align-items: center;
}
.about-visual {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: 16px;
  background: var(--dark2);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.07);
}
.about-canvas {
  position: absolute; inset: 0;
  background:
    linear-gradient(135deg, rgba(232, 114, 12, 0.18) 0%, transparent 55%),
    repeating-linear-gradient(
      45deg, transparent, transparent 20px,
      rgba(232, 114, 12, 0.04) 20px, rgba(232, 114, 12, 0.04) 21px
    );
}
.about-visual-text {
  position: absolute; inset: 0;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 0.5rem;
}
.about-big-num {
  font-family:  sans-serif;
  font-size: 5rem; font-weight: 800;
  color: var(--orange); line-height: 1; opacity: 0.9;
}
.about-big-label {
  font-size: 0.8rem; letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--slate);
}
.about-text p {
  font-size: 0.95rem; font-weight: 300; line-height: 1.85;
  color: var(--slate); margin-bottom: 1.25rem;
}
.about-text p strong { color: var(--off); font-weight: 400; }
.about-text p:last-of-type { margin-bottom: 2rem; }

/* ── CONTACT ── */
.contact-section { background: var(--dark); }
.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 5rem; align-items: start;
}
.contact-left h2 { margin-bottom: 1rem; }
.contact-left .section-intro { margin-bottom: 2rem; }
.contact-detail {
  display: flex; align-items: center; gap: 0.75rem;
  font-size: 0.88rem; color: var(--slate);
  margin-bottom: 0.75rem;
}
.contact-detail-icon {
  width: 32px; height: 32px; border-radius: 6px;
  background: rgba(232, 114, 12, 0.1);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.85rem; flex-shrink: 0;
}

/* Form */
.contact-form { display: flex; flex-direction: column; gap: 1rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field label {
  display: block;
  font-size: 0.75rem; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--slate); margin-bottom: 0.45rem;
}
.field input,
.field textarea {
  width: 100%;
  background: var(--dark2);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 0.75rem 1rem;
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem; font-weight: 300;
  color: var(--off);
  transition: border-color 0.2s;
  outline: none;
  resize: none;
}
.field input:focus,
.field textarea:focus { border-color: var(--orange); }
.field input::placeholder,
.field textarea::placeholder { color: rgba(154, 144, 128, 0.4); }
.field textarea { height: 130px; }
.field input.error,
.field textarea.error { border-color: rgba(232, 114, 12, 0.8); }

.form-submit {
  padding: 0.9rem 2rem;
  background: var(--orange); color: var(--white);
  border: none; border-radius: 8px; cursor: pointer;
  font-family:  sans-serif; font-size: 0.95rem; font-weight: 600;
  letter-spacing: 0.03em;
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
  align-self: flex-start;
  display: flex; align-items: center; gap: 0.5rem;
}
.form-submit:hover {
  background: var(--orange-dim); transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(232, 114, 12, 0.3);
}
.form-submit:disabled {
  opacity: 0.6; cursor: not-allowed; transform: none;
}
.spinner {
  width: 14px; height: 14px;
  border: 2px solid rgba(255,255,255,0.3);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 0.6s linear infinite;
  display: none;
}
@keyframes spin { to { transform: rotate(360deg); } }

.form-error-msg {
  display: none;
  font-size: 0.82rem; color: #f87171;
  padding: 0.75rem 1rem;
  background: rgba(248, 113, 113, 0.08);
  border: 1px solid rgba(248, 113, 113, 0.2);
  border-radius: 8px;
}

.form-success {
  display: none;
  background: var(--dark2);
  border: 1px solid rgba(232, 114, 12, 0.25);
  border-left: 3px solid var(--orange);
  border-radius: 10px;
  padding: 2.5rem 2rem;
  text-align: center;
}
.form-success .success-icon { font-size: 2.5rem; margin-bottom: 1rem; }
.form-success h3 {
  font-family: sans-serif;
  font-size: 1.3rem; font-weight: 700;
  color: var(--white); margin-bottom: 0.6rem;
}
.form-success p {
  font-size: 0.95rem; font-weight: 300;
  color: var(--slate); line-height: 1.7;
}

/* ── FOOTER ── */
footer {
  padding: 2rem 4rem;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 1rem;
  background: var(--dark2);
}
.footer-logo {
  font-family: sans-serif;
  font-weight: 800; font-size: 1rem;
  letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--slate);
  display: flex; align-items: center; gap: 0.5rem;
}
.footer-logo .logo-mark {
  width: 22px; height: 22px; border-radius: 4px;
  background: var(--orange); opacity: 0.7;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.6rem; font-weight: 800; color: #fff;
}
footer p { font-size: 0.78rem; color: rgba(154, 144, 128, 0.45); }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .serve-inner,
  .avail-inner,
  .about-inner,
  .contact-inner { grid-template-columns: 1fr; gap: 3rem; }
  .about-visual { display: none; }
}
@media (max-width: 768px) {
  nav { padding: 1rem 1.5rem; }
  .nav-links { display: none; }
  .hero, section { padding-left: 1.5rem; padding-right: 1.5rem; }
  .section-rule { margin: 0 1.5rem; }
  .scroll-hint { left: 1.5rem; }
  .form-row { grid-template-columns: 1fr; }
  footer { padding: 1.5rem; flex-direction: column; text-align: center; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-grid { animation: none; }
  .scroll-line::after { animation: none; }
  .badge-dot { animation: none; }
}
