/* ===================================================
   UrusCredit - Global Stylesheet
   Warna Utama: Hijau Gelap #0F4A3A, Emas #F4B63A, Putih #FFFFFF
   =================================================== */

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

:root {
  --green-dark:   #0F4A3A;
  --green-mid:    #145c48;
  --green-light:  #1a7a5e;
  --gold:         #F4B63A;
  --gold-light:   #F9D278;
  --gold-dark:    #c9900a;
  --white:        #FFFFFF;
  --off-white:    #F8F9FA;
  --gray-100:     #f0f2f0;
  --gray-200:     #d9ddd9;
  --gray-600:     #666;
  --text-dark:    #1a2e25;
  --shadow-sm:    0 2px 8px rgba(15,74,58,0.10);
  --shadow-md:    0 6px 24px rgba(15,74,58,0.16);
  --shadow-lg:    0 16px 48px rgba(15,74,58,0.22);
  --radius-sm:    6px;
  --radius-md:    12px;
  --radius-lg:    20px;
  --transition:   0.3s ease;
}

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

body {
  font-family: 'Poppins', 'Segoe UI', Arial, sans-serif;
  color: var(--text-dark);
  background: var(--off-white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; transition: color var(--transition); }
img { max-width: 100%; display: block; }
ul { list-style: none; }

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.3;
  color: var(--green-dark);
}
h1 { font-size: clamp(1.8rem, 4vw, 2.8rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.2rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.6rem); }
p  { font-size: 1rem; color: var(--gray-600); }

/* --- Utility --- */
.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

.section-pad { padding: 72px 0; }
.section-pad-sm { padding: 48px 0; }

.text-gold  { color: var(--gold); }
.text-green { color: var(--green-dark); }
.text-white { color: var(--white); }

.bg-green   { background: var(--green-dark); }
.bg-gold    { background: var(--gold); }
.bg-white   { background: var(--white); }
.bg-gray    { background: var(--gray-100); }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all var(--transition);
  text-decoration: none;
  white-space: nowrap;
}

.btn-gold {
  background: var(--gold);
  color: var(--green-dark);
  border-color: var(--gold);
}
.btn-gold:hover {
  background: var(--gold-dark);
  border-color: var(--gold-dark);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(244,182,58,0.4);
}

.btn-outline-gold {
  background: transparent;
  color: var(--gold);
  border-color: var(--gold);
}
.btn-outline-gold:hover {
  background: var(--gold);
  color: var(--green-dark);
  transform: translateY(-2px);
}

.btn-white {
  background: var(--white);
  color: var(--green-dark);
  border-color: var(--white);
}
.btn-white:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--green-dark);
  transform: translateY(-2px);
}

.btn-green {
  background: var(--green-dark);
  color: var(--white);
  border-color: var(--green-dark);
}
.btn-green:hover {
  background: var(--green-mid);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

/* --- Navbar --- */
.navbar {
  background: var(--green-dark);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 12px rgba(0,0,0,0.18);
  border-bottom: 3px solid var(--gold);
}

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

.navbar-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}
.navbar-logo img { height: 44px; width: auto; }
.navbar-logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}
.navbar-logo-text .brand-name {
  font-size: 1.3rem;
  font-weight: 900;
  color: var(--white);
  letter-spacing: 1px;
}
.navbar-logo-text .brand-sub {
  font-size: 0.65rem;
  font-weight: 600;
  color: var(--gold);
  letter-spacing: 3px;
}

.navbar-menu {
  display: flex;
  align-items: center;
  gap: 4px;
}

.navbar-menu a {
  color: rgba(255,255,255,0.85);
  font-size: 0.9rem;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  transition: all var(--transition);
}
.navbar-menu a:hover,
.navbar-menu a.active {
  color: var(--gold);
  background: rgba(244,182,58,0.1);
}

.navbar-cta {
  background: var(--gold);
  color: var(--green-dark) !important;
  font-weight: 700 !important;
  padding: 9px 18px !important;
  border-radius: 50px !important;
}
.navbar-cta:hover {
  background: var(--gold-dark) !important;
  color: var(--white) !important;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 6px;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all var(--transition);
}

/* --- Hero Section --- */
.hero {
  background: linear-gradient(135deg, var(--green-dark) 0%, var(--green-mid) 50%, #1d6b53 100%);
  color: var(--white);
  padding: 90px 0 80px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -80px; right: -80px;
  width: 340px; height: 340px;
  border-radius: 50%;
  background: rgba(244,182,58,0.07);
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: -100px; left: -60px;
  width: 300px; height: 300px;
  border-radius: 50%;
  background: rgba(244,182,58,0.05);
  pointer-events: none;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(244,182,58,0.15);
  border: 1px solid rgba(244,182,58,0.4);
  color: var(--gold);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 50px;
  margin-bottom: 18px;
}

.hero h1 { color: var(--white); margin-bottom: 18px; }
.hero h1 span { color: var(--gold); }
.hero p { color: rgba(255,255,255,0.82); font-size: 1.05rem; margin-bottom: 28px; }

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

.hero-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(244,182,58,0.25);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  backdrop-filter: blur(8px);
}

.hero-card-title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--gold);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.stat-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.stat-item {
  background: rgba(255,255,255,0.07);
  border-radius: var(--radius-md);
  padding: 18px 14px;
  text-align: center;
  border: 1px solid rgba(255,255,255,0.1);
}
.stat-item .stat-number {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--gold);
  line-height: 1;
}
.stat-item .stat-label {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.7);
  margin-top: 4px;
}

.phone-cta-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(244,182,58,0.12);
  border: 1px solid rgba(244,182,58,0.35);
  border-radius: var(--radius-md);
  padding: 14px 18px;
  margin-top: 20px;
}
.phone-cta-bar .phone-icon {
  width: 38px; height: 38px;
  background: var(--gold);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}
.phone-cta-bar .phone-info { flex: 1; }
.phone-cta-bar .phone-label {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.65);
}
.phone-cta-bar .phone-number {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--gold);
}

/* --- Section Header --- */
.section-header {
  text-align: center;
  margin-bottom: 48px;
}
.section-tag {
  display: inline-block;
  background: rgba(15,74,58,0.08);
  color: var(--green-dark);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 2px;
  padding: 5px 14px;
  border-radius: 50px;
  margin-bottom: 12px;
  text-transform: uppercase;
}
.section-tag.gold {
  background: rgba(244,182,58,0.12);
  color: var(--gold-dark);
}
.section-header h2 { margin-bottom: 12px; }
.section-header p { max-width: 540px; margin: 0 auto; }

/* --- Cards --- */
.card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 28px 24px;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
  border: 1px solid var(--gray-200);
}
.card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
  border-color: rgba(244,182,58,0.4);
}

.card-icon {
  width: 52px; height: 52px;
  background: linear-gradient(135deg, var(--green-dark), var(--green-light));
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 18px;
  box-shadow: 0 4px 12px rgba(15,74,58,0.25);
}

.card h3 { margin-bottom: 10px; color: var(--green-dark); font-size: 1.1rem; }
.card p  { font-size: 0.92rem; line-height: 1.65; }

/* --- Feature Grid --- */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

/* --- Steps / Timeline --- */
.steps-list { display: flex; flex-direction: column; gap: 20px; }
.step-item {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 22px 24px;
  box-shadow: var(--shadow-sm);
  border-left: 4px solid var(--gold);
  transition: box-shadow var(--transition);
}
.step-item:hover { box-shadow: var(--shadow-md); }
.step-number {
  width: 40px; height: 40px;
  background: var(--gold);
  color: var(--green-dark);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 800;
  font-size: 1rem;
  flex-shrink: 0;
}
.step-content h3 { font-size: 1rem; margin-bottom: 6px; }
.step-content p  { font-size: 0.9rem; margin: 0; }

/* --- FAQ Accordion --- */
.faq-item {
  background: var(--white);
  border-radius: var(--radius-md);
  margin-bottom: 12px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-200);
  overflow: hidden;
}
.faq-question {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 20px 24px;
  font-size: 1rem;
  font-weight: 600;
  color: var(--green-dark);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  transition: background var(--transition);
}
.faq-question:hover { background: var(--gray-100); }
.faq-question .faq-icon {
  width: 24px; height: 24px;
  background: var(--gold);
  color: var(--green-dark);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.8rem;
  font-weight: 700;
  flex-shrink: 0;
  transition: transform var(--transition);
}
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-answer {
  display: none;
  padding: 0 24px 20px;
  font-size: 0.93rem;
  color: var(--gray-600);
  border-top: 1px solid var(--gray-200);
  padding-top: 14px;
}
.faq-item.open .faq-answer { display: block; }

/* --- Contact / CTA Strip --- */
.cta-strip {
  background: linear-gradient(135deg, var(--green-dark), var(--green-light));
  padding: 64px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-strip::before {
  content: '';
  position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23F4B63A' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.cta-strip h2 { color: var(--white); margin-bottom: 12px; }
.cta-strip p  { color: rgba(255,255,255,0.8); margin-bottom: 30px; font-size: 1.05rem; }
.cta-actions  { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* --- Contact Box --- */
.contact-box {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  box-shadow: var(--shadow-md);
  border-top: 4px solid var(--gold);
}
.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid var(--gray-200);
}
.contact-item:last-child { border-bottom: none; }
.contact-item-icon {
  width: 44px; height: 44px;
  background: linear-gradient(135deg, var(--green-dark), var(--green-light));
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}
.contact-item-info .label {
  font-size: 0.8rem;
  color: var(--gray-600);
  font-weight: 500;
}
.contact-item-info .value {
  font-size: 1rem;
  font-weight: 700;
  color: var(--green-dark);
}
.contact-item-info .value a { color: var(--green-dark); }
.contact-item-info .value a:hover { color: var(--gold-dark); }

/* --- Notice/Alert Box --- */
.notice-box {
  background: rgba(244,182,58,0.1);
  border: 1.5px solid var(--gold);
  border-radius: var(--radius-md);
  padding: 18px 22px;
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.notice-box .notice-icon {
  font-size: 1.3rem;
  flex-shrink: 0;
  margin-top: 2px;
}
.notice-box p { margin: 0; font-size: 0.92rem; color: var(--text-dark); }

/* --- Breadcrumb --- */
.breadcrumb {
  background: var(--green-dark);
  padding: 14px 0;
  border-bottom: 2px solid rgba(244,182,58,0.3);
}
.breadcrumb-list {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.breadcrumb-list li { font-size: 0.85rem; color: rgba(255,255,255,0.6); }
.breadcrumb-list li a { color: rgba(255,255,255,0.75); }
.breadcrumb-list li a:hover { color: var(--gold); }
.breadcrumb-list li.active { color: var(--gold); font-weight: 600; }
.breadcrumb-list .sep { color: rgba(255,255,255,0.3); font-size: 0.75rem; }

/* --- Page Hero (inner pages) --- */
.page-hero {
  background: linear-gradient(135deg, var(--green-dark) 0%, #1a6b52 100%);
  padding: 56px 0 48px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-hero::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 40px;
  background: var(--off-white);
  clip-path: ellipse(55% 100% at 50% 100%);
}
.page-hero h1 { color: var(--white); margin-bottom: 10px; }
.page-hero .page-hero-sub { color: rgba(255,255,255,0.78); font-size: 1.05rem; max-width: 560px; margin: 0 auto; }

/* --- Info Table --- */
.info-table { width: 100%; border-collapse: collapse; }
.info-table th, .info-table td {
  padding: 14px 18px;
  text-align: left;
  border-bottom: 1px solid var(--gray-200);
  font-size: 0.93rem;
}
.info-table th {
  background: var(--green-dark);
  color: var(--white);
  font-weight: 600;
}
.info-table td:first-child { font-weight: 600; color: var(--green-dark); }
.info-table tr:last-child td { border-bottom: none; }
.info-table tr:nth-child(even) td { background: var(--gray-100); }

/* --- Footer --- */
footer {
  background: var(--green-dark);
  color: rgba(255,255,255,0.8);
  padding: 56px 0 0;
  border-top: 3px solid var(--gold);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 40px;
  margin-bottom: 40px;
}
.footer-brand p { color: rgba(255,255,255,0.65); font-size: 0.9rem; margin-top: 14px; line-height: 1.7; }
.footer-col h4 {
  color: var(--gold);
  font-size: 0.92rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 16px;
}
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a {
  color: rgba(255,255,255,0.68);
  font-size: 0.9rem;
  transition: color var(--transition);
}
.footer-col ul li a:hover { color: var(--gold); }
.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.75);
}
.footer-contact-item span:first-child { font-size: 1rem; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 18px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom p { font-size: 0.82rem; color: rgba(255,255,255,0.5); margin: 0; }
.footer-bottom-links { display: flex; gap: 20px; }
.footer-bottom-links a { font-size: 0.82rem; color: rgba(255,255,255,0.5); }
.footer-bottom-links a:hover { color: var(--gold); }

/* --- WhatsApp Floating Button --- */
.wa-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 999;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
}
.wa-bubble {
  background: var(--white);
  color: var(--green-dark);
  font-size: 0.82rem;
  font-weight: 600;
  padding: 7px 14px;
  border-radius: 20px;
  box-shadow: var(--shadow-md);
  animation: fadeInUp 0.4s ease 1s both;
  white-space: nowrap;
}
.wa-btn {
  width: 58px; height: 58px;
  background: #25D366;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem;
  box-shadow: 0 6px 24px rgba(37,211,102,0.4);
  transition: all var(--transition);
  animation: pulse-wa 2s infinite;
}
.wa-btn:hover { transform: scale(1.1); }

@keyframes pulse-wa {
  0%, 100% { box-shadow: 0 6px 24px rgba(37,211,102,0.4); }
  50% { box-shadow: 0 6px 32px rgba(37,211,102,0.7); }
}
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* --- Responsive --- */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-card { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 680px) {
  .hamburger { display: flex; }
  .navbar-menu {
    display: none;
    position: absolute;
    top: 68px;
    left: 0; right: 0;
    background: var(--green-dark);
    flex-direction: column;
    align-items: stretch;
    padding: 12px 16px 20px;
    border-top: 2px solid var(--gold);
    box-shadow: 0 8px 24px rgba(0,0,0,0.18);
    z-index: 999;
  }
  .navbar-menu.open { display: flex; }
  .navbar-menu a { padding: 12px 10px; border-radius: 6px; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .feature-grid { grid-template-columns: 1fr; }
  .section-pad { padding: 48px 0; }
}
