/* SEFORAA – gaya khusus bagian hero beranda (selebihnya memakai gaya asli template) */
:root {
  --g-ink: #333333;
  --g-lime: #C74A56;
  --g-slate: #5E7176;
  --g-line: rgba(51, 51, 51, 0.12);
  --g-shadow: 0 28px 50px -28px rgba(51, 51, 51, 0.55);
}

.g-textlink {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 600; color: var(--g-ink);
  border-bottom: 1px solid currentColor; padding-bottom: 2px;
}
.g-textlink:hover { color: var(--g-ink); border-bottom-color: transparent; }
.g-textlink svg { width: 13px; height: 13px; }


/* ---------- HERO: lembar buku besar ---------- */
.g-hero {
  position: relative;
  overflow: hidden;
  padding: 190px 0 110px;
  background-color: var(--g-lime);
  /* garis-garis buku besar */
  background-image:
    linear-gradient(rgba(51, 51, 51, 0.075) 1px, transparent 1px),
    linear-gradient(90deg, transparent calc(100% - 1px), rgba(51, 51, 51, 0.06) 1px);
  background-size: 100% 40px, 25% 100%;
}
.g-hero-title {
  font-size: clamp(40px, 5vw, 68px) !important;
  line-height: 1.04 !important;
  margin-bottom: 28px;
  max-width: 15ch;
}
.g-hero-lead { font-size: 19px; color: rgba(51, 51, 51, 0.82); max-width: 54ch; margin-bottom: 36px; }
.g-hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 28px; margin-bottom: 40px; }
.g-hero-proof {
  font-size: 15px; color: var(--g-ink); max-width: 52ch; margin: 0;
  padding-top: 18px; border-top: 1px solid rgba(51, 51, 51, 0.2);
}

/* tumpukan dokumen di atas meja */
.g-desk { position: relative; height: 560px; margin-left: auto; max-width: 480px; }
.g-desk .g-doc { position: absolute; width: 300px; }
.g-desk-1 { top: 0; right: 0; transform: rotate(2.5deg); }
.g-desk-2 { top: 150px; left: 0; transform: rotate(-3deg); }
.g-desk-3 { top: 230px; right: 18px; transform: rotate(1deg); }

/* satu momen gerak: dokumen “diletakkan” saat halaman dibuka */
@media (prefers-reduced-motion: no-preference) {
  .g-desk .g-doc { animation: g-drop .9s cubic-bezier(.2, .8, .2, 1) both; }
  .g-desk-1 { animation-delay: .15s !important; }
  .g-desk-2 { animation-delay: .35s !important; }
  .g-desk-3 { animation-delay: .55s !important; }
  @keyframes g-drop {
    from { opacity: 0; translate: 0 36px; }
    to   { opacity: 1; translate: 0 0; }
  }
}

/* ---------- dokumen ilustrasi ---------- */
.g-doc {
  background: #fff;
  border-radius: 10px;
  padding: 20px 22px 18px;
  box-shadow: var(--g-shadow);
  color: var(--g-ink);
  font-size: 13px;
  line-height: 1.4;
  border: 1px solid rgba(51, 51, 51, 0.06);
}
.g-doc p { margin: 0; line-height: 1.3; }
.g-doc-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.g-doc-app { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; color: var(--g-slate); }
.g-doc-app svg { width: 18px; height: 18px; color: var(--g-ink); }
.g-doc-status {
  font-size: 11px; font-weight: 700; color: var(--g-ink);
  background: var(--g-lime); padding: 3px 10px; border-radius: 30px;
}
.g-doc-title { font-size: 17px !important; font-weight: 700; letter-spacing: -0.01em; }
.g-doc-meta { font-size: 12px !important; color: var(--g-slate); margin: 2px 0 14px !important; font-variant-numeric: tabular-nums; }
.g-doc-rows { margin: 0; }
.g-doc-rows > div {
  display: flex; justify-content: space-between; gap: 12px;
  padding: 7px 0; border-top: 1px dashed rgba(51, 51, 51, 0.14);
}
.g-doc-rows dt { font-weight: 400; color: #3E5157; }
.g-doc-rows dd { margin: 0; font-variant-numeric: tabular-nums; white-space: nowrap; }
.g-doc-rows .g-doc-total { border-top: 1.5px solid var(--g-ink); margin-top: 4px; padding-top: 9px; }
.g-doc-rows .g-doc-total dt, .g-doc-rows .g-doc-total dd { font-weight: 700; color: var(--g-ink); }
.g-bars { display: flex; align-items: flex-end; gap: 8px; height: 92px; margin-bottom: 12px; }
.g-bar { flex: 1; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; gap: 4px; }
.g-bar i { display: block; width: 100%; height: var(--h); background: var(--g-ink); border-radius: 3px 3px 0 0; }
.g-bar:nth-child(4) i { background: #C74A56; }
.g-bar em { font-style: normal; font-size: 10px; color: var(--g-slate); }

.g-doc-lg { font-size: 15px; padding: 28px 30px 24px; }
.g-doc-lg .g-doc-title { font-size: 21px !important; }
.g-doc-lg .g-doc-meta { font-size: 13px !important; }
.g-doc-lg .g-bars { height: 140px; }

@media (max-width: 991px) {
  .g-hero { padding: 150px 0 80px; background-size: 100% 40px, 50% 100%; }
  .g-desk { height: auto; max-width: 420px; margin: 56px auto 0; display: grid; }
  .g-desk .g-doc { position: relative; width: 100%; inset: auto; }
  .g-desk-1 { transform: rotate(1.5deg); }
  .g-desk-2 { transform: rotate(-2deg); margin-top: -40px; }
  .g-desk-3 { transform: rotate(1deg); margin-top: -40px; }
}
@media (max-width: 575px) {
  .g-desk-1 { display: none; }
  .g-desk-2 { margin-top: 0; }
  .g-hero-lead { font-size: 17px; }
}

@media (max-width: 991px) {
  .g-desk-1 { display: none; }
  .g-desk-2 { margin-top: 0; }
  .g-desk-3 { margin-top: 18px; }
}

/* ---------- hero 4 aplikasi ---------- */
.g-hero-title { font-size: clamp(38px, 4.3vw, 62px) !important; max-width: 17ch; }
.g-desk.g-desk-4 { height: 640px; max-width: 580px; }
.g-desk-4 .g-doc { width: 276px; }
.g-desk-4 .g-desk-1 { top: 0; left: 0; right: auto; transform: rotate(-2.5deg); }
.g-desk-4 .g-desk-2 { top: 36px; right: 0; left: auto; transform: rotate(2deg); }
.g-desk-4 .g-desk-3 { top: 300px; left: 12px; right: auto; transform: rotate(1.5deg); }
.g-desk-4 .g-desk-4c { top: 332px; right: 4px; left: auto; transform: rotate(-1.5deg); }
@media (prefers-reduced-motion: no-preference) { .g-desk-4c { animation-delay: .75s !important; } }
@media (min-width: 992px) and (max-width: 1399px) {
  .g-desk.g-desk-4 { height: 560px; }
  .g-desk-4 .g-doc { width: 232px; font-size: 12px; padding: 16px 16px 14px; }
  .g-desk-4 .g-desk-3 { top: 262px; }
  .g-desk-4 .g-desk-4c { top: 288px; }
}
@media (max-width: 991px) {
  .g-desk.g-desk-4 { height: auto; }
  .g-desk-4 .g-doc { width: 100%; transform: rotate(-1deg); }
  .g-desk-4 .g-desk-1, .g-desk-4 .g-desk-3 { display: none; }
  .g-desk-4 .g-desk-4c { margin-top: 18px; transform: rotate(1deg); }
}
/* ikon kartu aplikasi di beranda */
.g-svc-icon svg { width: 36px; height: 36px; color: #69131B; }

/* =====================================================================
   TEMA WARNA SEFORAA – marun (#69131B), mawar (#C74A56), abu netral
   ===================================================================== */
:root {
  --g-maroon: #69131B;
  --g-maroon-dark: #4A0D13;
  --g-rose: #C74A56;
  --g-rose-tint: #F9EDEE;
  --g-heading: #333333;
  --g-text: #636363;
}
body { color: var(--g-text); }

/* judul memakai abu gelap, seperti website acuan */
.tp-section-title:not(.white-color),
.tp-breadcrumb-title,
.tp-cc-service-item-title a,
.tp-fa-control-item-title,
.tp-contact-city-item-title,
.tp-about-vision-item-title,
.tp-error-title-sm,
.tp-fi-faq-support-title { color: var(--g-heading); }

/* dokumen ilustrasi di hero */
.g-doc-status { color: #fff; }
.g-bar i { background: var(--g-maroon); }
.g-doc-app svg { color: var(--g-maroon); }

/* hero berlatar marun: teks putih, tombol putih */
.tp-cc-hero-ptb .tp-cc-hero-title,
.tp-cc-hero-ptb .tp-cn-hero-sub,
.tp-cc-hero-ptb .g-hero-lead,
.tp-cc-hero-ptb .g-hero-proof,
.tp-cc-hero-ptb .g-textlink { color: #fff; }
.tp-cc-hero-ptb .g-hero-lead { opacity: .9; }
.tp-cc-hero-ptb .g-hero-proof { border-top-color: rgba(255, 255, 255, .25); }
.tp-cc-hero-ptb .tp-cn-hero-sub { border-color: rgba(255, 255, 255, .35); background: rgba(255, 255, 255, .1); }
.tp-cc-hero-ptb .tp-cn-hero-star svg path { fill: #fff; }
.tp-cc-hero-ptb .tp-btn.tp-btn-corporate-style { background-color: #fff; color: var(--g-maroon); border-color: #fff; }
.tp-cc-hero-ptb .tp-btn.tp-btn-corporate-style .btn-icon::after,
.tp-cc-hero-ptb .tp-btn.tp-btn-corporate-style i::after { background-color: var(--g-maroon); }
.tp-cc-hero-ptb a:focus-visible { outline-color: #fff; }

/* elemen beraksen mawar memakai teks/ikon putih agar kontras */
.tp-btn-corporate-sulu,
.tp-btn-corporate-sulu:hover,
.theme-bg-color,
.theme-bg-color:hover { color: #fff !important; }
.tp-btn-corporate-sulu i::after, .theme-bg-color i::after { background-color: #fff !important; }
.tp-cc-service-item-btn a span,
.tp-fi-about-list-item p i,
.tp-fi-faq-support-list li span { color: #fff; }

/* kartu aplikasi beranda dengan deskripsi */
.g-svc-card { height: calc(100% - 30px); display: flex; flex-direction: column; justify-content: space-between; }
.g-svc-card .tp-cc-service-item-icon.g-svc-icon { margin-bottom: 26px; }
.g-svc-card .g-svc-desc { font-size: 15px; line-height: 1.6; color: var(--g-text); margin-bottom: 36px; }

/* judul di section berlatar marun tetap putih */
[data-bg-color="#69131B"] .tp-section-title, [data-bg-color="#4A0D13"] .tp-section-title, [data-bg-color="#69131B"] h2, [data-bg-color="#4A0D13"] h2,
[data-bg-color="#69131B"] .tp-fa-process-item-title, [data-bg-color="#69131B"] h3,
[data-bg-color="#4A0D13"] h3 { color: #fff; }

/* header transparen di atas hero marun: teks dan logo putih */
.g-logo-light { display: none; }
.header-transparent:not(.header-sticky) .tp-header-logo img:not(.g-logo-light) { display: none; }
.header-transparent:not(.header-sticky) .tp-header-logo .g-logo-light { display: inline-block; }
.header-transparent:not(.header-sticky) .tp-header-menu > nav > ul > li > a,
.header-transparent:not(.header-sticky) .tp-header-lan > a,
.header-transparent:not(.header-sticky) .tp-header-lan > a span,
.header-transparent:not(.header-sticky) .tp-header-search,
.header-transparent:not(.header-sticky) .tp-header-bar { color: #fff; }
.header-transparent:not(.header-sticky) .tp-header-action .tp-btn { color: #fff; border-color: rgba(255, 255, 255, .7); }
.header-transparent:not(.header-sticky) .tp-header-action .tp-btn i::after { background-color: #fff; }
.header-transparent:not(.header-sticky) .tp-header-left-side .tp-header-lan { border-color: rgba(255, 255, 255, .3); }
/* garis pemisah logo dan bahasa: putih di atas hero marun (beranda) */
.header-transparent:not(.header-sticky) .tp-header-lan::before { background-color: rgba(255, 255, 255, .55); }
.header-transparent:not(.header-sticky) .tp-header-lan > a span svg path { fill: #fff; }

/* judul kartu aplikasi berupa gambar PNG (assets/img/seforaa/) */
.g-title-link { display: inline-block; }
.g-title-img { display: block; width: auto; height: auto; max-width: 100%; transition: opacity .2s; }
.g-title-link:hover .g-title-img { opacity: .8; }

/* judul loading & menu samping kini bukan heading: pertahankan tampilan */
.loading-title, .tp-offcanvas-title { font-family: var(--tp-ff-heading); line-height: 1.2; }
.tp-offcanvas-title { margin-bottom: 15px; }
.tp-footer-widget-social a svg, .tp-offcanvas-social a svg { display: block; }

/* judul halaman dalam di atas gambar latar gelap: teks putih agar terbaca */
.tp-breadcrumb-title { color: #fff !important; }
.tp-breadcrumb-content p { color: rgba(255, 255, 255, .88) !important; }
.tp-breadcrumb-list li, .tp-breadcrumb-list li a, .tp-breadcrumb-list span { color: rgba(255, 255, 255, .9) !important; }
.tp-breadcrumb-list { border-bottom-color: rgba(255, 255, 255, .25) !important; }


/* ===== halaman produk ===== */
.g-detail-lead { font-size: 17px; line-height: 1.7; color: #636363; margin-bottom: 18px; }
.g-check-list .tp-fi-about-list-item { margin-bottom: 10px; }
.g-check-list .tp-fi-about-list-item p { background: #fff; border: 1px solid #EAEAEA; }
.g-shot-wrap { border-radius: 12px; overflow: hidden; box-shadow: 0 30px 60px -30px rgba(51, 51, 51, .45); border: 1px solid #EAEAEA; background: #fff; }
.g-shot { display: block; width: 100%; height: auto; }
.g-placeholder-item { outline: 2px dashed #D9B84A; outline-offset: 6px; border-radius: 8px; }
.g-deploy .g-svc-card { height: calc(100% - 30px); }
.g-deploy .tp-cc-service-item-title { margin-bottom: 14px; }
.g-related .tp-fa-control-item-title a { color: inherit; }

/* ===== halaman produk: tambahan ===== */
.g-check-cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 18px; }
@media (max-width: 767px) { .g-check-cols { grid-template-columns: 1fr; } }
[data-bg-color="#69131B"] .g-detail-lead { color: rgba(255, 255, 255, .85); }
[data-bg-color="#69131B"] .tp-section-sub { color: #F3C9CE; }
.g-outsource-box { border: 1px solid #EAEAEA; border-left: 4px solid #69131B; border-radius: 10px; padding: 40px 44px; background: #FFFFFF; }
@media (max-width: 575px) { .g-outsource-box { padding: 28px 22px; } }
.tp-fi-faq-ptb .accordion-body a { color: #69131B; text-decoration: underline; text-underline-offset: 3px; }

/* cegah halaman bisa digeser ke samping (gutter baris & animasi fade dari template) */
html, body { overflow-x: hidden; }
@supports (overflow: clip) { html, body { overflow-x: clip; } }

/* halaman legal: Kebijakan Privasi, Informasi Legal, Syarat & Ketentuan */
.g-legal { color: #454545; }
.g-legal p, .g-legal li { font-size: 17px; line-height: 1.75; }
.g-legal p { margin-bottom: 18px; }
.g-legal h2 { font-size: 26px; line-height: 1.3; margin: 44px 0 16px; color: #69131B; }
.g-legal ul { margin: 0 0 22px; padding-left: 22px; list-style: disc; }
.g-legal li { margin-bottom: 8px; }
.g-legal a { color: #69131B; text-decoration: underline; text-underline-offset: 3px; }
.g-legal-date { font-size: 15px !important; color: #7a7a7a; margin-bottom: 28px !important; }
.g-legal-table { overflow-x: auto; margin-bottom: 22px; }
.g-legal-table table { width: 100%; border-collapse: collapse; font-size: 16px; }
.g-legal-table th, .g-legal-table td { padding: 12px 16px; border-bottom: 1px solid #ececec; vertical-align: top; text-align: left; }
.g-legal-table th { width: 38%; font-weight: 600; color: #222; background: #FAFAFA; }
.g-legal-nav { margin-top: 56px; padding-top: 24px; border-top: 1px solid #ececec; display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: 15px; }
.g-legal-nav span { color: #7a7a7a; }
@media (max-width: 767px) { .g-legal h2 { font-size: 22px; } .g-legal-table th { width: 42%; } }

/* ===================================================================
   ANIMASI DINONAKTIFKAN
   Semua animasi CSS (kartu hero turun, bentuk berputar/berdenyut, garis
   tergambar, header turun, loading) dimatikan; efek hover warna tetap jalan.
   Hapus blok ini dan ubah SEFORAA_ANIMASI menjadi true di assets/js/main.js
   untuk menyalakan animasi kembali.
   =================================================================== */
*, *::before, *::after { animation: none !important; }
.tp-footer-2-shape path, .tp-fi-hero-shape .tp-svg-drawing path,
.tp-cn-philoshopy-shape path { stroke-dashoffset: 0 !important; }
#loading { display: none !important; }
[data-text-split], .tp-fade-anim { opacity: 1 !important; visibility: visible !important; }

/* ===== halaman e-commerce: kartu klien ===== */
.g-client-card { background: #fff; border: 1px solid #EAEAEA; border-radius: 12px; overflow: hidden; height: calc(100% - 30px); display: flex; flex-direction: column; transition: box-shadow .25s ease, transform .25s ease; }
.g-client-card:hover { box-shadow: 0 24px 48px -28px rgba(51, 51, 51, .45); transform: translateY(-3px); }
.g-client-shot { position: relative; display: block; aspect-ratio: 16 / 10; background: var(--g-rose-tint, #F9EDEE); overflow: hidden; border-bottom: 1px solid #EAEAEA; }
.g-client-shot img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top; }
.g-client-shot-label { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-size: 18px; letter-spacing: .02em; color: var(--g-maroon, #69131B); }
.g-client-body { padding: 26px 28px 28px; display: flex; flex-direction: column; flex: 1; }
.g-client-name { font-size: 22px; margin-bottom: 10px; }
.g-client-meta:empty { display: none; }
.g-client-meta { margin-bottom: 12px; }
.g-client-tag { display: inline-block; font-size: 12px; padding: 3px 10px; border-radius: 20px; background: var(--g-rose-tint, #F9EDEE); color: var(--g-maroon, #69131B); }
.g-client-body .g-svc-desc { margin-bottom: 22px; }
.g-client-body .g-textlink { margin-top: auto; align-self: flex-start; }
.g-client-card--empty { border: 2px dashed #D9B84A; background: transparent; }
.g-client-card--empty:hover { box-shadow: none; transform: none; }
.g-client-card--empty .g-client-shot { background: transparent; border-bottom: 2px dashed #D9B84A; }
.g-client-card--empty .g-client-shot-label { color: #9A8A55; }
@media (prefers-reduced-motion: reduce) { .g-client-card { transition: none; } .g-client-card:hover { transform: none; } }

/* ===== rapikan tampilan HP (mobile first) ===== */
.g-nowrap { white-space: nowrap; }
.g-check-list .tp-fi-about-list-item p { display: flex; width: 100%; align-items: flex-start; gap: 10px; padding: 12px 18px 12px 12px; border-radius: 14px; line-height: 1.45; }
.g-check-list .tp-fi-about-list-item p i { flex: 0 0 30px; margin-inline-end: 0; }
.g-platform .g-svc-card { height: auto; justify-content: flex-start; }
.g-platform .g-svc-desc { margin-bottom: 0; }
.g-platform .g-client-meta { margin-bottom: 14px; }
@media (min-width: 992px) { .g-platform .g-svc-card { height: calc(100% - 30px); } }
@media (max-width: 767px) {
  .tp-breadcrumb-title { font-size: 32px; line-height: 1.18; }
  .g-detail, .g-deploy, .g-platform, .g-clients { padding-top: 64px !important; padding-bottom: 40px !important; }
  .tp-fa-process-ptb, .tp-fi-faq-ptb { padding-top: 72px !important; padding-bottom: 56px !important; }
  .tp-fa-process-item { margin-bottom: 44px; }
  .tp-section-title { font-size: 32px; line-height: 1.2; }
}

/* ===== halaman e-commerce: baris klien yang bisa digeser ===== */
.g-carousel-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 32px; }
.g-carousel-nav { display: flex; gap: 10px; }
.g-carousel-btn { width: 44px; height: 44px; border-radius: 50%; border: 1px solid #D9D9D9; background: #fff; color: var(--g-maroon, #69131B); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; transition: background-color .2s ease, color .2s ease, border-color .2s ease; }
.g-carousel-btn:hover:not(:disabled) { background: var(--g-maroon, #69131B); border-color: var(--g-maroon, #69131B); color: #fff; }
.g-carousel-btn:focus-visible, .g-carousel-track:focus-visible { outline: 2px solid var(--g-maroon, #69131B); outline-offset: 3px; }
.g-carousel-btn:disabled { opacity: .35; cursor: default; }
.g-carousel.is-static .g-carousel-nav { display: none; }
.g-carousel-track { display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-left: 4px; -webkit-overflow-scrolling: touch; overscroll-behavior-x: contain; scrollbar-width: none; padding: 8px 4px 28px; margin: -8px -4px -28px; }
.g-carousel-track::-webkit-scrollbar { display: none; }
.g-carousel-item { flex: 0 0 86%; scroll-snap-align: start; min-width: 0; }
.g-carousel-item .g-client-card { height: 100%; }
@media (min-width: 768px) { .g-carousel-item { flex-basis: calc((100% - 20px) / 2); } }
@media (min-width: 1200px) { .g-carousel-item { flex-basis: calc((100% - 40px) / 3); } }
.g-client-plus { display: inline-flex; width: 26px; height: 26px; margin-right: 8px; border-radius: 50%; border: 1.5px solid currentColor; align-items: center; justify-content: center; font-size: 18px; line-height: 1; }
.g-client-card--empty .g-client-shot-label { font-size: 20px; }
@media (prefers-reduced-motion: reduce) { .g-carousel-btn { transition: none; } .g-carousel-track { scroll-behavior: auto; } }
