/* ==========================================================================
   BINTORO BUILD & BINTORO CORP - OFFICIAL BRAND DESIGN SYSTEM
   Color Palette Authenticated from bintorocorp.co.id & bintorobuild.co.id:
   - Charcoal Black: #1B1B1B / #232323
   - Bintoro Brown / Warm Mocha: #745A4C / #4B2B19
   - Bintoro Gold / Sand: #CDA274
   - Warm Sandstone / Taupe: #D2C3B1 / #A38F7F
   - Clean White: #FFFFFF / Soft Off-White: #FAFDFF / #F8F9FA
   ========================================================================== */

:root {
  /* Bintoro Brand Signature Palette */
  --bintoro-black: #1B1B1B;
  --bintoro-charcoal: #232323;
  --bintoro-darker: #121212;
  
  --bintoro-brown: #745A4C;        /* Signature Bintoro Corp Mocha Brown */
  --bintoro-brown-dark: #4B2B19;   /* Deep Earth Brown */
  --bintoro-brown-light: #8E7060;
  
  --bintoro-gold: #CDA274;         /* Signature Bintoro Sand Gold / Champagne Bronze */
  --bintoro-gold-hover: #b88b58;
  --bintoro-gold-light: #fdfaf6;
  --bintoro-gold-glow: rgba(205, 162, 116, 0.28);
  
  --bintoro-taupe: #A38F7F;
  --bintoro-sand: #D2C3B1;
  --bintoro-offwhite: #FAFDFF;
  --bintoro-gray-warm: #EFEFEF;

  /* Aliases for UI components */
  --primary-dark: #121212;
  --primary-charcoal: #1B1B1B;
  --accent-gold: #CDA274;
  --accent-brown: #745A4C;

  --text-dark: #1B1B1B;
  --text-muted: #64748B;
  --text-light: #FAFDFF;

  --bg-gradient: linear-gradient(180deg, #F8F9FA 0%, #EFEFEF 100%);
  --card-bg: #FFFFFF;
  --border-light: #E2E8F0;
  --border-focus: #CDA274;

  --success: #10B981;
  --success-bg: #ECFDF5;
  --error: #EF4444;
  --error-bg: #FEF2F2;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;

  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 10px 25px -5px rgba(27, 27, 27, 0.08), 0 8px 10px -6px rgba(27, 27, 27, 0.04);
  --shadow-lg: 0 25px 50px -12px rgba(27, 27, 27, 0.16);
  --shadow-gold: 0 10px 25px -5px rgba(205, 162, 116, 0.4);

  --font-main: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --transition: all 0.28s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Global Reset & Base */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-main);
  background: var(--bg-gradient);
  color: var(--text-dark);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}

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

/* ==========================================================================
   TOP ANNOUNCEMENT BAR (BINTORO STYLE)
   ========================================================================== */
.announcement-bar {
  background: var(--bintoro-darker);
  color: #D6D6D6;
  font-size: 0.8125rem;
  padding: 9px 0;
  border-bottom: 1px solid rgba(205, 162, 116, 0.25);
}

.bar-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.badge-tag {
  background: linear-gradient(135deg, var(--bintoro-gold), #b88b58);
  color: var(--bintoro-black);
  font-weight: 800;
  font-size: 0.6875rem;
  letter-spacing: 0.07em;
  padding: 3px 9px;
  border-radius: 4px;
  text-transform: uppercase;
}

.announcement-text {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 500;
  color: #E2E2E2;
}

.announcement-text .bullet {
  color: var(--bintoro-gold);
}

.hotline-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--bintoro-gold);
  font-weight: 700;
}

/* ==========================================================================
   MAIN HEADER (BINTORO CORP & BINTORO BUILD CHARACTERISTICS)
   ========================================================================== */
.main-header {
  background: #FFFFFF;
  border-bottom: 3px solid var(--bintoro-gold);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  padding: 16px 0;
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.brand-identity {
  display: flex;
  align-items: center;
  gap: 16px;
}

.brand-logo-img {
  height: 42px;
  width: auto;
  display: block;
}

.brand-badge-wrap {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
}

.brand-desktop-info {
  display: flex;
  align-items: center;
  gap: 14px;
}

.brand-divider {
  width: 1.5px;
  height: 34px;
  background: #E2E8F0;
}

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

.mobile-header-action {
  display: none;
}

.brand-title {
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: var(--bintoro-black);
  line-height: 1.1;
}

.brand-title span {
  color: var(--bintoro-gold);
}

.brand-subtitle {
  font-size: 0.75rem;
  color: var(--bintoro-brown);
  letter-spacing: 0.02em;
  font-weight: 600;
}

.header-info-contacts {
  display: flex;
  align-items: center;
  gap: 22px;
}

.contact-pill-item {
  display: flex;
  align-items: center;
  gap: 10px;
}

.contact-icon-box {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--bintoro-gold-light);
  border: 1px solid rgba(205, 162, 116, 0.4);
  color: var(--bintoro-brown);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
}

.contact-text-box {
  display: flex;
  flex-direction: column;
}

.contact-lbl {
  font-size: 0.7rem;
  color: #64748B;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.contact-val {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--bintoro-black);
}

.contact-val a {
  color: var(--bintoro-black);
  text-decoration: none;
}

.contact-val a:hover {
  color: var(--bintoro-gold);
}

.badge-official-partner {
  background: linear-gradient(90deg, var(--bintoro-black) 0%, var(--bintoro-brown) 100%);
  color: #FFFFFF;
  padding: 8px 16px;
  border-radius: 50px;
  font-size: 0.78rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 12px rgba(116, 90, 76, 0.25);
  border: 1px solid rgba(205, 162, 116, 0.35);
}

.badge-official-partner .gold-star {
  color: var(--bintoro-gold);
}

/* ==========================================================================
   HERO SECTION (WARM BINTORO CHARCOAL & MOCHA PALETTE)
   ========================================================================== */
.form-hero {
  background: radial-gradient(circle at 50% 0%, #29201C 0%, #1B1B1B 100%);
  color: #FFFFFF;
  padding: 46px 0 56px;
  text-align: center;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid rgba(205, 162, 116, 0.2);
}

.form-hero::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 32px;
  background: linear-gradient(to top, var(--bg-gradient), transparent);
}

.hero-content {
  max-width: 820px;
  position: relative;
  z-index: 2;
}

.sub-hero-tag {
  display: inline-block;
  color: var(--bintoro-gold);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  margin-bottom: 12px;
  padding: 5px 16px;
  border-radius: 50px;
  background: rgba(205, 162, 116, 0.12);
  border: 1px solid rgba(205, 162, 116, 0.35);
}

.hero-heading {
  font-size: 2.15rem;
  font-weight: 800;
  line-height: 1.25;
  color: #FFFFFF;
  margin-bottom: 14px;
}

.hero-heading span {
  color: var(--bintoro-gold);
}

.hero-desc {
  font-size: 1rem;
  color: #D6D0CA;
  max-width: 740px;
  margin: 0 auto;
  line-height: 1.6;
}

/* Form Wrapper */
.form-main-wrapper {
  margin-top: -30px;
  margin-bottom: 70px;
  position: relative;
  z-index: 10;
}

/* ==========================================================================
   STEPPER CARD
   ========================================================================== */
.stepper-card {
  background: var(--card-bg);
  border-radius: var(--radius-lg);
  padding: 24px 28px;
  box-shadow: var(--shadow-md);
  border: 1.5px solid #EFEFEF;
  margin-bottom: 24px;
  position: relative;
}

.stepper-progress-track {
  position: absolute;
  top: 42px;
  left: 60px;
  right: 60px;
  height: 4px;
  background: #E8E5E2;
  z-index: 1;
  border-radius: 4px;
}

.stepper-progress-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--bintoro-brown), var(--bintoro-gold));
  border-radius: 4px;
  transition: width 0.4s ease;
}

.stepper-items {
  display: flex;
  justify-content: space-between;
  position: relative;
  z-index: 2;
}

.step-node {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  user-select: none;
}

.node-circle {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #FFFFFF;
  border: 2.5px solid #CBD5E1;
  color: #64748B;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
  transition: var(--transition);
  position: relative;
}

.node-check {
  width: 18px;
  height: 18px;
  display: none;
}

.node-label {
  font-size: 0.78rem;
  font-weight: 600;
  color: #64748B;
  text-align: center;
  transition: var(--transition);
  max-width: 100px;
}

.step-node.active .node-circle {
  border-color: var(--bintoro-gold);
  background: var(--bintoro-black);
  color: var(--bintoro-gold);
  box-shadow: 0 0 0 4px var(--bintoro-gold-glow);
}

.step-node.active .node-label {
  color: var(--bintoro-black);
  font-weight: 700;
}

.step-node.completed .node-circle {
  background: var(--bintoro-brown);
  border-color: var(--bintoro-brown);
  color: #FFFFFF;
}

.step-node.completed .node-num {
  display: none;
}

.step-node.completed .node-check {
  display: block;
}

.step-node.completed .node-label {
  color: var(--bintoro-brown);
}

/* ==========================================================================
   FORM CONTAINER CARD
   ========================================================================== */
.form-card-container {
  background: var(--card-bg);
  border-radius: var(--radius-xl);
  padding: 40px;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(205, 162, 116, 0.2);
}

/* Steps Transition */
.form-step {
  display: none;
  animation: fadeInStep 0.35s ease forwards;
}

.form-step.active {
  display: block;
}

@keyframes fadeInStep {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.step-header {
  margin-bottom: 28px;
  border-bottom: 1.5px solid #F3EFEA;
  padding-bottom: 20px;
}

.step-badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--bintoro-brown);
  background: var(--bintoro-gold-light);
  border: 1px solid rgba(205, 162, 116, 0.4);
  padding: 4px 12px;
  border-radius: 6px;
  margin-bottom: 8px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.step-title {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--bintoro-black);
  margin-bottom: 6px;
}

.step-subtitle {
  font-size: 0.92rem;
  color: var(--text-muted);
}

/* Grid System */
.form-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 20px;
}

.col-12 { grid-column: span 12; }
.col-8  { grid-column: span 8; }
.col-6  { grid-column: span 6; }
.col-4  { grid-column: span 4; }
.col-3  { grid-column: span 3; }

/* Form Controls */
.form-group {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

label {
  font-size: 0.875rem;
  font-weight: 600;
  color: #334155;
}

label .required {
  color: var(--error);
  font-weight: 700;
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="number"],
input[type="date"],
select,
textarea {
  width: 100%;
  padding: 13px 16px;
  font-family: var(--font-main);
  font-size: 0.95rem;
  color: var(--text-dark);
  background: #FDFDFC;
  border: 1.5px solid #D8D4CE;
  border-radius: var(--radius-md);
  transition: var(--transition);
  outline: none;
}

input:focus,
select:focus,
textarea:focus {
  background: #FFFFFF;
  border-color: var(--bintoro-gold);
  box-shadow: 0 0 0 4px var(--bintoro-gold-glow);
}

input.is-invalid,
select.is-invalid,
textarea.is-invalid {
  border-color: var(--error);
  background: var(--error-bg);
}

.input-with-icon {
  position: relative;
  display: flex;
  align-items: center;
}

.input-prefix {
  position: absolute;
  left: 14px;
  font-weight: 600;
  color: #64748B;
  font-size: 0.95rem;
  pointer-events: none;
}

.input-with-icon input {
  padding-left: 52px;
}

.trailing-icon,
.trailing-unit {
  position: absolute;
  right: 14px;
  color: #94A3B8;
  font-weight: 600;
  font-size: 0.9rem;
  pointer-events: none;
}

.input-hint {
  font-size: 0.775rem;
  color: #64748B;
}

.section-divider {
  height: 1px;
  background: #F3EFEA;
  margin: 30px 0;
}

.section-sub-label {
  display: block;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--bintoro-black);
  margin-bottom: 14px;
}

/* ==========================================================================
   SERVICE SELECTOR CARDS
   ========================================================================== */
.service-selector-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.card-radio-option {
  position: relative;
  display: block;
  background: #FFFFFF;
  border: 2px solid #E5E0D8;
  border-radius: var(--radius-lg);
  padding: 20px;
  cursor: pointer;
  transition: var(--transition);
}

.card-radio-option input[type="radio"] {
  position: absolute;
  opacity: 0;
}

.card-radio-option:hover {
  border-color: var(--bintoro-sand);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.card-radio-option.active {
  border-color: var(--bintoro-gold);
  background: var(--bintoro-gold-light);
  box-shadow: 0 0 0 3px var(--bintoro-gold-glow), var(--shadow-sm);
}

.card-option-body {
  display: flex;
  gap: 16px;
}

.card-option-body .icon-wrap {
  font-size: 2rem;
  flex-shrink: 0;
  background: #F8F6F2;
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  border: 1px solid #E5E0D8;
}

.card-radio-option.active .card-option-body .icon-wrap {
  background: rgba(205, 162, 116, 0.2);
  border-color: var(--bintoro-gold);
}

.option-info h4 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--bintoro-black);
  margin-bottom: 4px;
}

.option-info p {
  font-size: 0.84rem;
  color: var(--text-muted);
  line-height: 1.45;
}

.tag-pill {
  display: inline-block;
  margin-top: 8px;
  font-size: 0.7rem;
  font-weight: 800;
  background: var(--bintoro-brown);
  color: #FFFFFF;
  padding: 2px 8px;
  border-radius: 50px;
  text-transform: uppercase;
}

/* ==========================================================================
   PILL RADIOS & CHECKBOXES (BINTORO CORP STYLING)
   ========================================================================== */
.pill-radio-group {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.pill-radio {
  cursor: pointer;
}

.pill-radio input {
  display: none;
}

.pill-radio span {
  display: inline-block;
  padding: 10px 18px;
  background: #F3EFEA;
  border: 1.5px solid #E2DCD5;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--bintoro-black);
  transition: var(--transition);
}

.pill-radio:hover span {
  background: #E8E2D9;
}

.pill-radio input:checked + span {
  background: linear-gradient(90deg, var(--bintoro-black) 0%, var(--bintoro-brown) 100%);
  border-color: var(--bintoro-brown);
  color: #FFFFFF;
  box-shadow: 0 4px 12px rgba(116, 90, 76, 0.25);
}

/* Feature Checkboxes */
.checkbox-pill-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.custom-checkbox {
  cursor: pointer;
  display: block;
}

.custom-checkbox input {
  display: none;
}

.custom-checkbox span {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 11px 16px;
  background: #FBF9F6;
  border: 1.5px solid #E5E0D8;
  border-radius: var(--radius-md);
  font-size: 0.875rem;
  font-weight: 500;
  color: #334155;
  transition: var(--transition);
}

.custom-checkbox:hover span {
  background: #F3EFEA;
}

.custom-checkbox input:checked + span {
  border-color: var(--bintoro-gold);
  background: var(--bintoro-gold-light);
  color: var(--bintoro-black);
  font-weight: 700;
  box-shadow: 0 0 0 2px var(--bintoro-gold-glow);
}

/* ==========================================================================
   ARCHITECTURE STYLE CARDS
   ========================================================================== */
.architecture-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.arch-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: #FFFFFF;
  border: 2px solid #E5E0D8;
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: pointer;
  transition: var(--transition);
}

.arch-card input[type="radio"] {
  position: absolute;
  opacity: 0;
}

.arch-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--bintoro-sand);
}

.arch-card.active {
  border-color: var(--bintoro-gold);
  box-shadow: 0 0 0 3px var(--bintoro-gold-glow), var(--shadow-md);
}

.arch-img-box {
  position: relative;
  height: 150px;
  overflow: hidden;
  background: #1B1B1B;
}

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

.arch-card:hover .arch-img-box img {
  transform: scale(1.06);
}

.arch-tag {
  position: absolute;
  top: 10px;
  right: 10px;
  background: rgba(27, 27, 27, 0.88);
  backdrop-filter: blur(4px);
  color: var(--bintoro-gold);
  font-size: 0.6875rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 50px;
  border: 1px solid rgba(205, 162, 116, 0.35);
}

.arch-content {
  padding: 14px;
}

.arch-content h5 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--bintoro-black);
  margin-bottom: 4px;
}

.arch-content p {
  font-size: 0.775rem;
  color: var(--text-muted);
  line-height: 1.4;
}

/* ==========================================================================
   MATERIAL TIER CARDS
   ========================================================================== */
.tier-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-bottom: 24px;
}

.tier-card {
  position: relative;
  background: #FFFFFF;
  border: 2px solid #E5E0D8;
  border-radius: var(--radius-lg);
  padding: 24px 20px;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.tier-card input[type="radio"] {
  position: absolute;
  opacity: 0;
}

.tier-card:hover {
  border-color: var(--bintoro-sand);
  transform: translateY(-3px);
  box-shadow: var(--shadow-sm);
}

.tier-card.active {
  border-color: var(--bintoro-gold);
  background: var(--bintoro-gold-light);
  box-shadow: 0 0 0 3px var(--bintoro-gold-glow), var(--shadow-md);
}

.tier-badge-highlight {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--bintoro-gold), #b88b58);
  color: var(--bintoro-black);
  font-size: 0.6875rem;
  font-weight: 800;
  padding: 4px 12px;
  border-radius: 50px;
  letter-spacing: 0.05em;
  white-space: nowrap;
  box-shadow: 0 4px 10px rgba(205, 162, 116, 0.4);
}

.tier-category {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--bintoro-brown);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.tier-header h4 {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--bintoro-black);
  margin: 4px 0 8px;
}

.tier-price {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--bintoro-gold);
}

.tier-price .per-m {
  font-size: 0.85rem;
  font-weight: 600;
  color: #64748B;
}

.tier-specs {
  list-style: none;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid #F3EFEA;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.tier-specs li {
  font-size: 0.8rem;
  color: #475569;
  line-height: 1.4;
  position: relative;
  padding-left: 18px;
}

.tier-specs li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--bintoro-brown);
  font-weight: 800;
}

/* ==========================================================================
   LIVE RAB CALCULATOR BOX (BINTORO CHARCOAL & GOLD)
   ========================================================================== */
.live-calc-box {
  background: linear-gradient(135deg, var(--bintoro-black) 0%, #28201C 100%);
  color: #FFFFFF;
  border-radius: var(--radius-lg);
  padding: 22px 26px;
  box-shadow: var(--shadow-md);
  border: 1.5px solid var(--bintoro-gold);
  position: relative;
  overflow: hidden;
}

.live-calc-box::before {
  content: "";
  position: absolute;
  top: -50px;
  right: -50px;
  width: 140px;
  height: 140px;
  background: radial-gradient(circle, rgba(205, 162, 116, 0.25) 0%, transparent 70%);
  pointer-events: none;
}

.calc-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}

.calc-icon-badge {
  background: rgba(205, 162, 116, 0.2);
  color: var(--bintoro-gold);
  border: 1px solid rgba(205, 162, 116, 0.4);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  padding: 3px 10px;
  border-radius: 50px;
}

.calc-note {
  font-size: 0.75rem;
  color: #D6D0CA;
  font-style: italic;
}

.calc-body {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.calc-item {
  display: flex;
  flex-direction: column;
}

.calc-lbl {
  font-size: 0.78rem;
  color: #A38F7F;
  font-weight: 500;
}

.calc-val {
  font-size: 1.15rem;
  font-weight: 700;
  color: #FAFDFF;
}

.calc-math-sign {
  font-size: 1.4rem;
  color: var(--bintoro-gold);
  font-weight: 700;
}

.calc-result-item {
  display: flex;
  flex-direction: column;
  background: rgba(255, 255, 255, 0.07);
  padding: 10px 18px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(205, 162, 116, 0.35);
}

.calc-result-lbl {
  font-size: 0.78rem;
  color: #D2C3B1;
  font-weight: 600;
}

.calc-result-total {
  font-size: 1.7rem;
  font-weight: 800;
  color: var(--bintoro-gold);
  letter-spacing: -0.02em;
}

/* Survey Info Notice Box */
.survey-notice-box {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: var(--bintoro-gold-light);
  border: 1.5px solid rgba(205, 162, 116, 0.4);
  border-radius: var(--radius-md);
  padding: 18px 20px;
  margin-bottom: 24px;
}

.survey-notice-box .notice-icon {
  font-size: 1.8rem;
}

.survey-notice-box h5 {
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--bintoro-brown);
  margin-bottom: 4px;
}

.survey-notice-box p {
  font-size: 0.85rem;
  color: #4A3329;
  line-height: 1.5;
}

/* Drag & Drop File Upload */
.file-upload-dropzone {
  border: 2px dashed #CBD5E1;
  border-radius: var(--radius-lg);
  padding: 30px;
  text-align: center;
  background: #FBF9F6;
  cursor: pointer;
  transition: var(--transition);
  position: relative;
}

.file-upload-dropzone:hover,
.file-upload-dropzone.dragover {
  border-color: var(--bintoro-gold);
  background: var(--bintoro-gold-light);
}

.file-input-hidden {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
}

.upload-icon {
  margin-bottom: 10px;
}

.upload-main-text {
  font-size: 0.95rem;
  color: #334155;
  margin-bottom: 4px;
}

.upload-sub-text {
  font-size: 0.8rem;
  color: #64748B;
}

.file-preview-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.file-preview-item {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #FFFFFF;
  border: 1px solid #CBD5E1;
  border-radius: var(--radius-sm);
  padding: 6px 12px;
  font-size: 0.8rem;
  color: #334155;
  font-weight: 600;
}

.file-preview-item .remove-file-btn {
  background: none;
  border: none;
  color: #EF4444;
  font-weight: bold;
  cursor: pointer;
  padding: 0 4px;
}

/* ==========================================================================
   SUMMARY REVIEW CARD
   ========================================================================== */
.summary-review-card {
  background: #FDFCFB;
  border: 1.5px solid #E5E0D8;
  border-radius: var(--radius-lg);
  padding: 24px;
  margin-bottom: 24px;
}

.summary-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 16px;
  border-bottom: 1px solid #E5E0D8;
  margin-bottom: 20px;
}

.summary-brand-tag {
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--bintoro-black);
}

.summary-status-badge {
  background: rgba(205, 162, 116, 0.2);
  color: var(--bintoro-brown);
  border: 1px solid rgba(205, 162, 116, 0.4);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 50px;
}

.summary-sections {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.summary-box {
  background: #FFFFFF;
  border: 1px solid #E5E0D8;
  border-radius: var(--radius-md);
  padding: 16px;
}

.summary-box.highlight-box {
  border-color: rgba(205, 162, 116, 0.5);
  background: var(--bintoro-gold-light);
}

.summary-box-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--bintoro-black);
  margin-bottom: 10px;
  padding-bottom: 6px;
  border-bottom: 1px dashed #E5E0D8;
}

.btn-jump-step {
  background: none;
  border: none;
  color: var(--bintoro-brown);
  font-size: 0.75rem;
  font-weight: 700;
  cursor: pointer;
  text-decoration: underline;
}

.btn-jump-step:hover {
  color: var(--bintoro-gold);
}

.summary-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.82rem;
  line-height: 1.6;
  gap: 10px;
}

.summary-row .k {
  color: #64748B;
  flex-shrink: 0;
}

.summary-row .v {
  font-weight: 600;
  color: #1E293B;
  text-align: right;
  word-break: break-word;
}

.summary-row .text-highlight {
  color: var(--bintoro-brown);
  font-weight: 700;
}

.summary-row .text-gold {
  color: #9A6A38;
  font-weight: 800;
  font-size: 0.95rem;
}

/* Agreement Box */
.agreement-box {
  background: #FFFFFF;
  border: 1px solid #E5E0D8;
  border-radius: var(--radius-md);
  padding: 16px 20px;
  margin-bottom: 20px;
}

.custom-agree-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  cursor: pointer;
}

.custom-agree-checkbox input {
  margin-top: 4px;
  width: 18px;
  height: 18px;
  accent-color: var(--bintoro-brown);
  cursor: pointer;
}

.agree-text {
  font-size: 0.85rem;
  color: #475569;
  line-height: 1.5;
}

/* Submission Alert */
.submission-alert {
  padding: 14px 18px;
  border-radius: var(--radius-md);
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 16px;
  animation: fadeInStep 0.3s ease;
}

.submission-alert.error {
  background: var(--error-bg);
  border: 1px solid #FCA5A5;
  color: #B91C1C;
}

.submission-alert.success {
  background: var(--success-bg);
  border: 1px solid #86EFAC;
  color: #15803D;
}

.submission-alert.hidden {
  display: none;
}

/* ==========================================================================
   NAVIGATION BUTTONS (BINTORO CORP STYLING)
   ========================================================================== */
.form-navigation {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 36px;
  padding-top: 24px;
  border-top: 1.5px solid #F3EFEA;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-left: auto;
}

.step-indicator-text {
  font-size: 0.82rem;
  font-weight: 600;
  color: #64748B;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 26px;
  font-family: var(--font-main);
  font-size: 0.95rem;
  font-weight: 700;
  border-radius: 50px;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  text-decoration: none;
}

.btn-primary {
  background: linear-gradient(90deg, var(--bintoro-black) 0%, var(--bintoro-brown) 100%);
  color: #FFFFFF;
  box-shadow: 0 4px 14px rgba(27, 27, 27, 0.2);
}

.btn-primary:hover {
  background: linear-gradient(90deg, #2D2D2D 0%, var(--bintoro-brown-light) 100%);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(116, 90, 76, 0.35);
}

.btn-secondary {
  background: #F3EFEA;
  color: #4A3329;
  border: 1.5px solid #D8D2C9;
}

.btn-secondary:hover {
  background: #E8E2D9;
  color: var(--bintoro-black);
}

.btn-submit {
  background: linear-gradient(135deg, var(--bintoro-gold) 0%, #B88B58 100%);
  color: var(--bintoro-black);
  font-size: 1rem;
  font-weight: 800;
  padding: 14px 30px;
  box-shadow: var(--shadow-gold);
}

.btn-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px -4px rgba(205, 162, 116, 0.5);
  background: linear-gradient(135deg, #DBB387 0%, var(--bintoro-gold) 100%);
}

.btn-spinner {
  width: 18px;
  height: 18px;
  border: 2.5px solid rgba(27, 27, 27, 0.25);
  border-top-color: var(--bintoro-black);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.hidden {
  display: none !important;
}

/* ==========================================================================
   SUCCESS SCREEN
   ========================================================================== */
.success-screen {
  animation: fadeInStep 0.5s ease forwards;
}

.success-card {
  background: var(--card-bg);
  border-radius: var(--radius-xl);
  padding: 50px 40px;
  box-shadow: var(--shadow-lg);
  border: 1.5px solid rgba(205, 162, 116, 0.3);
  text-align: center;
  max-width: 780px;
  margin: 0 auto;
}

.success-animation-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 20px;
}

.checkmark {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  display: block;
  stroke-width: 3;
  stroke: var(--bintoro-brown);
  stroke-miterlimit: 10;
  box-shadow: inset 0px 0px 0px var(--bintoro-brown);
  animation: fill .4s ease-in-out .4s forwards, scale .3s ease-in-out .9s both;
}

.checkmark-circle {
  stroke-dasharray: 166;
  stroke-dashoffset: 166;
  stroke-width: 3;
  stroke-miterlimit: 10;
  stroke: var(--bintoro-brown);
  fill: var(--bintoro-gold-light);
  animation: stroke 0.6s cubic-bezier(0.65, 0, 0.45, 1) forwards;
}

.checkmark-check {
  transform-origin: 50% 50%;
  stroke-dasharray: 48;
  stroke-dashoffset: 48;
  stroke-width: 3.5;
  stroke: var(--bintoro-brown);
  animation: stroke 0.3s cubic-bezier(0.65, 0, 0.45, 1) 0.8s forwards;
}

@keyframes stroke {
  100% { stroke-dashoffset: 0; }
}

@keyframes scale {
  0%, 100% { transform: none; }
  50% { transform: scale3d(1.1, 1.1, 1); }
}

.success-badge {
  display: inline-block;
  background: var(--bintoro-gold-light);
  color: var(--bintoro-brown);
  border: 1px solid rgba(205, 162, 116, 0.4);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  padding: 4px 14px;
  border-radius: 50px;
  margin-bottom: 12px;
}

.success-title {
  font-size: 1.85rem;
  font-weight: 800;
  color: var(--bintoro-black);
  margin-bottom: 8px;
}

.success-subtitle {
  font-size: 0.95rem;
  color: #64748B;
  max-width: 600px;
  margin: 0 auto 24px;
}

.email-highlight-box {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: #FDFBF7;
  border: 1.5px solid var(--bintoro-sand);
  border-radius: var(--radius-md);
  padding: 12px 20px;
  max-width: 480px;
  margin: 0 auto 28px;
}

.email-icon {
  font-size: 1.5rem;
}

.email-info {
  text-align: left;
}

.email-lbl {
  display: block;
  font-size: 0.75rem;
  color: var(--bintoro-brown);
  font-weight: 600;
}

.email-target {
  font-size: 0.95rem;
  color: var(--bintoro-black);
}

.ticket-box {
  background: linear-gradient(135deg, var(--bintoro-black), #2E2420);
  color: #FFFFFF;
  border-radius: var(--radius-lg);
  padding: 24px;
  max-width: 460px;
  margin: 0 auto 32px;
  border: 1.5px solid var(--bintoro-gold);
  box-shadow: var(--shadow-md);
}

.ticket-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.ticket-tag {
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: var(--bintoro-gold);
}

.ticket-date {
  font-size: 0.75rem;
  color: #D2C3B1;
}

.ticket-code {
  font-size: 2.2rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--bintoro-gold);
  font-family: monospace;
  margin: 4px 0 8px;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

.ticket-hint {
  font-size: 0.78rem;
  color: #E2DCD5;
}

.next-steps-guide {
  text-align: left;
  background: #FDFBF8;
  border-radius: var(--radius-lg);
  padding: 24px;
  margin-bottom: 30px;
  border: 1px solid #E5E0D8;
}

.next-steps-guide h4 {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--bintoro-black);
  margin-bottom: 16px;
}

.steps-flow {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.next-step-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.step-num-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--bintoro-brown);
  color: #FFFFFF;
  font-size: 0.82rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.step-text strong {
  font-size: 0.88rem;
  color: var(--bintoro-black);
  display: block;
}

.step-text p {
  font-size: 0.8rem;
  color: #64748B;
}

.success-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.btn-whatsapp {
  background: #25D366;
  color: #FFFFFF;
  width: 100%;
  max-width: 440px;
  padding: 14px 20px;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.35);
  border-radius: 50px;
}

.btn-whatsapp:hover {
  background: #1EBD5B;
  transform: translateY(-1px);
}

.btn-outline {
  background: transparent;
  border: 1.5px solid #CBD5E1;
  color: #334155;
  width: 100%;
  max-width: 440px;
  border-radius: 50px;
}

.btn-outline:hover {
  background: #F1F5F9;
  border-color: #94A3B8;
}

.btn-link {
  background: none;
  border: none;
  color: var(--bintoro-brown);
  font-size: 0.85rem;
  font-weight: 600;
  margin-top: 8px;
  cursor: pointer;
}

.btn-link:hover {
  color: var(--bintoro-black);
  text-decoration: underline;
}

/* ==========================================================================
   FOOTER (AUTHENTIC BINTORO CHARCOAL & BROWN)
   ========================================================================== */
.main-footer {
  background: var(--bintoro-black);
  color: #CBD5E1;
  padding: 50px 0 24px;
  border-top: 4px solid var(--bintoro-brown);
}

.footer-content {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-logo strong {
  display: block;
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--bintoro-gold);
  letter-spacing: 0.06em;
}

.footer-logo span {
  font-size: 0.75rem;
  color: #94A3B8;
}

.footer-desc {
  margin-top: 12px;
  font-size: 0.82rem;
  color: #A38F7F;
  line-height: 1.6;
}

.footer-col h5 {
  font-size: 0.92rem;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 14px;
}

.footer-col p {
  font-size: 0.82rem;
  color: #A38F7F;
  margin-bottom: 8px;
  line-height: 1.5;
}

.footer-col a {
  color: var(--bintoro-gold);
  text-decoration: none;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-links li {
  font-size: 0.82rem;
  color: #A38F7F;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 20px;
}

.bottom-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.78rem;
  color: #745A4C;
  flex-wrap: wrap;
  gap: 12px;
}

.certifications {
  display: flex;
  gap: 16px;
  color: var(--bintoro-gold);
  font-weight: 600;
}

/* ==========================================================================
   RESPONSIVE MEDIA QUERIES
   ========================================================================== */
/* ==========================================================================
   RESPONSIVE MEDIA QUERIES (LIGHTWEIGHT & LEAK-FREE MOBILE)
   ========================================================================== */
html, body {
  overflow-x: hidden;
  width: 100%;
}

@media (max-width: 992px) {
  .header-info-contacts {
    display: none;
  }

  .architecture-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .tier-cards-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}

@media (max-width: 768px) {
  /* Prevent any horizontal leak */
  html, body {
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
  }

  .container {
    padding: 0 14px;
    box-sizing: border-box;
    width: 100%;
  }

  /* 1. Header Ringkas, Rapi & Anti Bocor */
  .announcement-bar {
    display: none;
  }

  .main-header {
    padding: 10px 0;
    border-bottom: 2.5px solid var(--bintoro-gold);
  }

  .header-container {
    width: 100%;
  }

  .brand-identity {
    gap: 0;
    min-width: 0;
  }

  .brand-logo-img {
    height: 30px;
    max-width: 145px;
    object-fit: contain;
  }

  .brand-desktop-info {
    display: none !important;
  }

  .header-info-contacts,
  .badge-official-partner {
    display: none !important;
  }

  .mobile-header-action {
    display: inline-flex !important;
    align-items: center;
    gap: 5px;
    padding: 6px 12px;
    background: linear-gradient(90deg, #1B1B1B 0%, #745A4C 100%);
    color: #FFFFFF !important;
    border-radius: 50px;
    font-size: 0.74rem;
    font-weight: 700;
    text-decoration: none;
    border: 1px solid rgba(205, 162, 116, 0.4);
    box-shadow: 0 2px 8px rgba(116, 90, 76, 0.25);
    white-space: nowrap;
  }

  /* 2. Hero Section Ringkas */
  .form-hero {
    padding: 22px 0 28px;
  }

  .sub-hero-tag {
    font-size: 0.68rem;
    padding: 3px 10px;
    margin-bottom: 8px;
  }

  .hero-heading {
    font-size: 1.28rem;
    line-height: 1.35;
    margin-bottom: 6px;
  }

  .hero-desc {
    font-size: 0.82rem;
    line-height: 1.45;
  }

  .form-main-wrapper {
    margin-top: -14px;
    margin-bottom: 36px;
  }

  /* 3. Stepper Ringkas */
  .stepper-card {
    padding: 14px 10px;
    margin-bottom: 14px;
    border-radius: 14px;
  }

  .stepper-progress-track {
    top: 28px;
    left: 14px;
    right: 14px;
    height: 3px;
  }

  .node-circle {
    width: 30px;
    height: 30px;
    font-size: 0.78rem;
    border-width: 2px;
  }

  .node-label {
    display: none;
  }

  /* 4. Form Container Simple & Touch Friendly */
  .form-card-container {
    padding: 20px 14px;
    border-radius: 16px;
  }

  .step-header {
    margin-bottom: 18px;
    padding-bottom: 12px;
  }

  .step-badge {
    font-size: 0.7rem;
    padding: 3px 8px;
  }

  .step-title {
    font-size: 1.2rem;
    line-height: 1.3;
    margin-bottom: 4px;
  }

  .step-subtitle {
    font-size: 0.82rem;
    line-height: 1.4;
  }

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

  .col-12, .col-8, .col-6, .col-4, .col-3 {
    grid-column: span 1;
  }

  input[type="text"],
  input[type="email"],
  input[type="tel"],
  input[type="number"],
  input[type="date"],
  select,
  textarea {
    padding: 11px 13px;
    font-size: 0.9rem;
    border-radius: 10px;
  }

  .service-selector-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .card-radio-option {
    padding: 14px 12px;
    border-radius: 12px;
  }

  .card-option-body {
    gap: 12px;
  }

  .card-option-body .icon-wrap {
    width: 44px;
    height: 44px;
    font-size: 1.5rem;
  }

  .option-info h4 {
    font-size: 0.95rem;
  }

  .option-info p {
    font-size: 0.78rem;
  }

  .pill-radio span {
    padding: 8px 14px;
    font-size: 0.78rem;
  }

  .checkbox-pill-grid {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .custom-checkbox span {
    padding: 9px 12px;
    font-size: 0.82rem;
  }

  /* Architecture Visual Cards in 2 Columns on Mobile */
  .architecture-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  .arch-card {
    border-radius: 12px;
  }

  .arch-img-box {
    height: 100px;
  }

  .arch-content {
    padding: 8px;
  }

  .arch-content h5 {
    font-size: 0.84rem;
    margin-bottom: 2px;
  }

  .arch-content p {
    font-size: 0.7rem;
    line-height: 1.3;
  }

  /* Live RAB Calculator Mobile */
  .tier-cards-grid {
    gap: 14px;
  }

  .tier-card {
    padding: 18px 14px;
    border-radius: 14px;
  }

  .live-calc-box {
    padding: 16px 14px;
    border-radius: 14px;
  }

  .calc-body {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .calc-math-sign {
    display: none;
  }

  .calc-result-item {
    width: 100%;
    padding: 10px 14px;
  }

  .calc-result-total {
    font-size: 1.45rem;
  }

  .survey-notice-box {
    padding: 14px 12px;
    gap: 10px;
  }

  .survey-notice-box h5 {
    font-size: 0.88rem;
  }

  .survey-notice-box p {
    font-size: 0.78rem;
  }

  .file-upload-dropzone {
    padding: 20px 14px;
  }

  .summary-review-card {
    padding: 16px 12px;
    border-radius: 14px;
  }

  .summary-sections {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .summary-box {
    padding: 12px;
  }

  .summary-row {
    font-size: 0.78rem;
  }

  .form-navigation {
    flex-direction: column-reverse;
    gap: 12px;
    margin-top: 24px;
    padding-top: 16px;
  }

  .nav-right {
    width: 100%;
    flex-direction: column;
    gap: 10px;
  }

  .btn {
    width: 100%;
    padding: 12px 18px;
    font-size: 0.9rem;
  }

  .btn-secondary {
    width: 100%;
  }

  .success-card {
    padding: 30px 16px;
    border-radius: 18px;
  }

  .success-title {
    font-size: 1.45rem;
  }

  .ticket-code {
    font-size: 1.65rem;
  }
}

/* Print Styles for PDF / Print Output */
@media print {
  .announcement-bar,
  .main-header,
  .form-hero,
  .stepper-card,
  .form-navigation,
  .main-footer,
  .success-actions,
  .survey-notice-box {
    display: none !important;
  }

  body {
    background: #FFFFFF;
    color: #000000;
  }

  .container {
    max-width: 100%;
    padding: 0;
  }

  .success-card,
  .form-card-container {
    box-shadow: none;
    border: none;
    padding: 0;
  }

  .ticket-box {
    background: #F1F5F9;
    color: #000000;
    border: 1px solid #000000;
  }

  .ticket-code {
    color: #000000;
  }
}
