/* =========================================================
   FFARCHITECT.ID - MAIN STYLESHEET
   Clean Luxury / Premium / Responsive
========================================================= */


/* =========================================================
   01. ROOT VARIABLES
========================================================= */

:root {
  --white: #ffffff;
  --soft: #f7f5f2;
  --light: #eeeeec;
  --dark: #111111;
  --muted: #6f6f6f;
  --gold: #b8945d;
  --brown: #6d4c32;
  --line: rgba(17, 17, 17, 0.10);
  --shadow: 0 18px 45px rgba(0, 0, 0, 0.08);
  --radius: 24px;
  --radius-sm: 16px;
  --max: 1180px;
  --font: 'Inter', 'Poppins', 'Segoe UI', Arial, sans-serif;
}


/* =========================================================
   02. RESET & BASE
========================================================= */

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  color: var(--dark);
  background: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

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

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

ul {
  list-style: none;
}


/* =========================================================
   03. GLOBAL LAYOUT
========================================================= */

.container {
  width: min(var(--max), calc(100% - 40px));
  margin: auto;
}

.section {
  padding: 96px 0;
}

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

.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

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

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

.center {
  text-align: center;
}

.hidden {
  display: none !important;
}

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


/* =========================================================
   04. TYPOGRAPHY
========================================================= */

.eyebrow {
  margin-bottom: 12px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.section-title {
  margin-bottom: 16px;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.15;
  letter-spacing: -0.04em;
}

.section-desc {
  max-width: 720px;
  color: var(--muted);
}

.center .section-desc {
  margin: auto;
}

.gold {
  color: var(--gold);
}


/* =========================================================
   05. BUTTONS
========================================================= */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;

  padding: 14px 22px;
  border-radius: 999px;
  border: 1px solid var(--dark);

  background: var(--dark);
  color: #ffffff;

  font-weight: 700;
  cursor: pointer;

  transition: 0.25s ease;
}

.btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.18);
}

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

.btn-outline:hover {
  color: var(--gold);
  border-color: var(--gold);
  box-shadow: none;
}

.btn-gold {
  border-color: var(--gold);
  background: linear-gradient(135deg, #c59d5f, #a97d47);
  color: #ffffff;
  box-shadow: 0 12px 26px rgba(184, 148, 93, 0.22);
}

.btn-gold:hover {
  box-shadow: 0 18px 36px rgba(184, 148, 93, 0.35);
}


/* =========================================================
   06. NAVBAR
========================================================= */

.navbar {
  position: sticky;
  top: 0;
  z-index: 50;

  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);

  border-bottom: 1px solid var(--line);
}

.nav-wrap {
  height: 78px;

  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;

  font-weight: 900;
  letter-spacing: -0.04em;
}

.brand-mark {
  width: 42px;
  height: 42px;

  display: grid;
  place-items: center;

  border-radius: 14px;
  background: linear-gradient(135deg, #111111, #4c4034);
  color: var(--gold);

  font-weight: 900;
}

.logo-img {
  width: auto;
  height: 48px;
  object-fit: contain;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 26px;

  color: #2f2f2f;
  font-size: 14px;
  font-weight: 650;
}

.nav-menu a {
  position: relative;
  transition: 0.2s ease;
}

.nav-menu a:hover,
.nav-menu a.active {
  color: var(--gold);
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 12px;
}

.menu-toggle {
  display: none;

  width: 44px;
  height: 44px;

  border-radius: 14px;
  border: 1px solid var(--line);
  background: #ffffff;

  cursor: pointer;
}

.menu-toggle span {
  display: block;

  width: 20px;
  height: 2px;
  margin: 5px auto;

  border-radius: 2px;
  background: #111111;
}


/* =========================================================
   07. HERO - LANDING PAGE
========================================================= */

.hero {
  min-height: calc(100vh - 78px);

  display: flex;
  align-items: center;
  position: relative;

  background:
    radial-gradient(circle at 80% 10%, rgba(184, 148, 93, 0.16), transparent 34%),
    linear-gradient(180deg, #ffffff, #f9f7f3);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 54px;
  align-items: center;
}

.hero h1 {
  margin-bottom: 22px;

  font-size: clamp(42px, 6vw, 74px);
  line-height: 1.02;
  letter-spacing: -0.06em;
}

.hero p {
  max-width: 640px;
  margin-bottom: 32px;

  color: var(--muted);
  font-size: 18px;
}

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

.hero-card {
  min-height: 520px;

  position: relative;
  overflow: hidden;

  border-radius: 34px;
  background: linear-gradient(135deg, #dddddd, #fafafa);
  box-shadow: var(--shadow);
}

.hero-card::before {
  content: "";

  position: absolute;
  inset: 0;

  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.05), rgba(0, 0, 0, 0.46)),
    url("../assets/images/hero-project.jpg");

  background-size: cover;
  background-position: center;
}

.hero-floating {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 24px;

  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;

  padding: 20px;
  border-radius: 24px;

  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(15px);
  border: 1px solid rgba(255, 255, 255, 0.5);
}

.stat strong {
  display: block;
  font-size: 24px;
}

.stat span {
  color: var(--muted);
  font-size: 12px;
}


/* =========================================================
   08. PAGE HERO - INNER PAGES
========================================================= */

.page-hero {
  padding: 92px 0 70px;

  background:
    radial-gradient(circle at top right, rgba(184, 148, 93, 0.12), transparent 36%),
    linear-gradient(180deg, #ffffff, #f8f5ef);

  border-bottom: 1px solid var(--line);
}

.page-hero h1 {
  max-width: 850px;

  font-size: clamp(38px, 5vw, 62px);
  line-height: 1.05;
  letter-spacing: -0.06em;
}

.page-hero p {
  max-width: 720px;
  margin-top: 18px;

  color: var(--muted);
}

.mini-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}


/* =========================================================
   09. CARDS & COMMON COMPONENTS
========================================================= */

.card {
  padding: 28px;

  border-radius: var(--radius);
  border: 1px solid var(--line);

  background: #ffffff;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.04);

  transition: 0.25s ease;
}

.card:hover {
  transform: translateY(-6px);
  border-color: rgba(184, 148, 93, 0.28);
  box-shadow: var(--shadow);
}

.card h3 {
  margin-bottom: 10px;

  font-size: 21px;
  letter-spacing: -0.02em;
}

.card p,
.card li {
  color: var(--muted);
  font-size: 15px;
}

.icon {
  width: 52px;
  height: 52px;
  margin-bottom: 20px;

  display: grid;
  place-items: center;

  border-radius: 18px;
  background: var(--soft);
  color: var(--gold);

  font-weight: 900;
}

.service-card {
  min-height: 250px;
}

.about-img {
  min-height: 420px;

  border-radius: 32px;
  background: url("../assets/images/about-studio.jpg") center / cover, #eeeeee;
  box-shadow: var(--shadow);
}


/* =========================================================
   10. ESTIMASI PROJECT
   Pengganti Paket / Pricelist
   Class lama tetap dipakai: .price, .popular, .badge, .check-list
========================================================= */

.price {
  margin: 16px 0;

  color: var(--dark);
  font-size: 34px;
  font-weight: 900;
  letter-spacing: -0.05em;
}

.price small {
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
}

.badge {
  display: inline-flex;
  align-items: center;
  width: fit-content;

  margin-bottom: 14px;
  padding: 8px 14px;

  border-radius: 999px;
  border: 1px solid rgba(184, 148, 93, 0.18);

  background: rgba(184, 148, 93, 0.12);
  color: var(--gold);

  font-size: 12px;
  font-weight: 800;
  line-height: 1;
}

.popular {
  position: relative;
  overflow: hidden;

  border-color: rgba(184, 148, 93, 0.38);

  background:
    radial-gradient(circle at top right, rgba(184, 148, 93, 0.12), transparent 36%),
    linear-gradient(180deg, #ffffff, #fffaf3);

  box-shadow: 0 18px 45px rgba(184, 148, 93, 0.10);
}

.popular:hover {
  border-color: rgba(184, 148, 93, 0.55);
  box-shadow: 0 26px 60px rgba(184, 148, 93, 0.16);
}

.check-list li {
  padding: 7px 0;
  border-bottom: 1px solid var(--line);
}

.check-list li:last-child {
  border-bottom: 0;
}

.check-list li::before {
  content: "✓";

  margin-right: 8px;

  color: var(--gold);
  font-weight: 900;
}


/* =========================================================
   11. WORKFLOW
========================================================= */

.workflow {
  counter-reset: step;
}

.step {
  position: relative;
  padding-left: 72px;
}

.step::before {
  counter-increment: step;
  content: counter(step);

  position: absolute;
  left: 0;
  top: 28px;

  width: 46px;
  height: 46px;

  display: grid;
  place-items: center;

  border-radius: 16px;
  background: #111111;
  color: #ffffff;

  font-weight: 900;
}


/* =========================================================
   12. PORTFOLIO
========================================================= */

.filters {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;

  margin: 34px 0;
}

.filter-btn {
  padding: 11px 18px;

  border-radius: 999px;
  border: 1px solid var(--line);

  background: #ffffff;

  font-weight: 700;
  cursor: pointer;

  transition: 0.2s ease;
}

.filter-btn.active,
.filter-btn:hover {
  background: #111111;
  color: #ffffff;
  border-color: #111111;
}

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

.portfolio-card {
  overflow: hidden;
  padding: 0;
}

.portfolio-img {
  height: 245px;
  background: #dddddd center / cover;
}

.portfolio-body {
  padding: 22px;
}

.portfolio-meta {
  margin-bottom: 5px;

  color: var(--gold);
  font-size: 13px;
  font-weight: 800;
}


/* =========================================================
   13. TESTIMONIAL / REVIEW
========================================================= */

.stars {
  margin: 10px 0;

  color: var(--gold);
  letter-spacing: 2px;
}

.testimonial {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.client {
  margin-top: auto;
  font-weight: 900;
}

.client span {
  display: block;

  color: var(--muted);
  font-size: 13px;
  font-weight: 500;
}


/* =========================================================
   14. FORM / SIMULASI
========================================================= */

.form-box {
  padding: 32px;

  border-radius: 30px;
  border: 1px solid var(--line);

  background: #ffffff;
  box-shadow: var(--shadow);
}

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

.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.field label {
  font-size: 13px;
  font-weight: 800;
}

.field input,
.field select,
.field textarea {
  padding: 14px 16px;

  border-radius: 16px;
  border: 1px solid var(--line);

  background: #ffffff;
  font: inherit;
  outline: none;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 4px rgba(184, 148, 93, 0.12);
}

.result-box {
  margin-top: 20px;
  padding: 20px;

  border-radius: 20px;
  border: 1px solid var(--line);

  background: var(--soft);

  font-weight: 700;
}


/* =========================================================
   15. CONTACT / CTA
========================================================= */

.contact-card {
  background:
    radial-gradient(circle at top right, rgba(184, 148, 93, 0.22), transparent 36%),
    linear-gradient(135deg, #111111, #2d241c);

  color: #ffffff;
}

.contact-card p {
  color: #c9c9c9;
}

.contact-card .icon {
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
}

.cta-band {
  position: relative;
  overflow: hidden;

  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;

  padding: 54px;
  border-radius: 34px;

  background:
    radial-gradient(circle at top right, rgba(184, 148, 93, 0.18), transparent 38%),
    linear-gradient(135deg, #111111, #3a3129);

  color: #ffffff;
  box-shadow: var(--shadow);
}

.cta-band p {
  max-width: 620px;
  color: #d9d9d9;
}


/* =========================================================
   16. ARTICLE / SEO NEWS
========================================================= */

.article-toolbar {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;

  margin-bottom: 34px;
}

.article-grid {
  align-items: stretch;
}

.article-card {
  display: block;
  height: 100%;

  position: relative;
  overflow: hidden;
}

.article-img {
  height: 190px;
  margin-bottom: 18px;

  border-radius: 18px;
  background: #dddddd center / cover;
}

.article-date {
  color: var(--gold);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.article-card .article-img {
  transition: 0.35s ease;
}

.article-card:hover .article-img {
  transform: scale(1.035);
}

.read-more {
  display: inline-flex;
  margin-top: 18px;

  color: var(--gold);
  font-size: 14px;
  font-weight: 900;
}

.article-detail-hero h1 {
  max-width: 980px;
}

.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 32px;
  align-items: start;
}

.article-content {
  padding: 34px;

  border-radius: 34px;
  border: 1px solid var(--line);

  background: #ffffff;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
}

.article-cover {
  height: 420px;
  margin-bottom: 24px;

  border-radius: 26px;
  background: #dddddd center / cover;
}

.article-content h2 {
  margin: 28px 0 10px;

  font-size: 28px;
  letter-spacing: -0.03em;
}

.article-content p {
  color: var(--muted);
}

.article-list {
  margin: 18px 0;
  list-style: none;
}

.article-list li {
  position: relative;

  padding: 14px 0 14px 34px;
  border-bottom: 1px solid var(--line);

  color: var(--muted);
}

.article-list li::before {
  content: "✓";

  position: absolute;
  left: 0;
  top: 14px;

  color: var(--gold);
  font-weight: 900;
}

.article-sidebar {
  position: sticky;
  top: 104px;
}

.article-sidebar p {
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}

.article-sidebar a:hover {
  color: var(--gold);
}

.cta-inline {
  margin-top: 34px;
  padding: 30px;

  border-radius: 26px;
  background: linear-gradient(135deg, #111111, #3a3129);
  color: #ffffff;
}

.cta-inline p {
  margin: 8px 0 18px;
  color: #d8d8d8;
}


/* =========================================================
   17. FOOTER
========================================================= */

.footer {
  padding: 70px 0 28px;

  background: #0f0f0f;
  color: #ffffff;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 30px;
}

.footer-brand {
  margin-bottom: 18px;
}

.footer-desc {
  max-width: 320px;
  margin-top: 16px;

  color: #bcbcbc;
  line-height: 1.8;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer p,
.footer a {
  color: #bcbcbc;
  font-size: 14px;
}

.footer h4 {
  margin-bottom: 14px;
  color: #ffffff;
}

.footer-col a {
  transition: 0.25s ease;
}

.footer-col a:hover {
  color: var(--gold);
}

.footer-bottom {
  margin-top: 40px;
  padding-top: 20px;

  border-top: 1px solid rgba(255, 255, 255, 0.10);

  color: #9f9f9f;
  font-size: 13px;
}


/* =========================================================
   18. FLOATING BUTTONS
========================================================= */

.float-wa,
.back-top {
  position: fixed;
  right: 22px;
  z-index: 70;

  border: none;
  cursor: pointer;
}

.float-wa {
  bottom: 92px;

  width: 58px;
  height: 58px;

  display: grid;
  place-items: center;

  border-radius: 50%;
  background: #25d366;
  color: #ffffff;

  font-size: 24px;
  box-shadow: 0 12px 28px rgba(37, 211, 102, 0.35);
}

.back-top {
  bottom: 24px;

  width: 46px;
  height: 46px;

  border-radius: 16px;
  background: #111111;
  color: #ffffff;

  opacity: 0;
  pointer-events: none;

  transition: 0.25s ease;
}

.back-top.show {
  opacity: 1;
  pointer-events: auto;
}


/* =========================================================
   19. CHATBOT
========================================================= */

.chatbot {
  position: fixed;
  right: 22px;
  bottom: 162px;
  z-index: 75;
}

.chat-window {
  display: none;

  width: 310px;

  overflow: hidden;

  border-radius: 22px;
  border: 1px solid var(--line);

  background: #ffffff;
  box-shadow: var(--shadow);
}

.chat-window.open {
  display: block;
}

.chat-head {
  padding: 16px;

  background: #111111;
  color: #ffffff;

  font-weight: 900;
}

.chat-body {
  padding: 16px;
}

.chat-option {
  width: 100%;
  margin-bottom: 8px;
  padding: 11px 12px;

  border-radius: 14px;
  border: 1px solid var(--line);

  background: var(--soft);

  text-align: left;
  font-weight: 700;
  cursor: pointer;
}

.chat-answer {
  margin-top: 8px;

  color: var(--muted);
  font-size: 14px;
}

.chat-toggle {
  width: 58px;
  height: 58px;
  margin-top: 10px;

  float: right;

  border: none;
  border-radius: 50%;

  background: #111111;
  color: #ffffff;

  font-size: 22px;
  cursor: pointer;
  box-shadow: var(--shadow);
}


/* =========================================================
   20. ANIMATION
========================================================= */

.fade-up {
  animation: fadeUp 0.8s ease both;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}