/* ==========================================================================
   Redtech Putra Benua - industrial theme (dark red / charcoal / steel)
   ========================================================================== */
:root {
    --red: #9b1c22;
    --red-strong: #b4232b;
    --red-deep: #6d1418;
    --red-soft: #fbeeee;
    --radius: 14px;
    --radius-sm: 10px;
    --shadow: 0 10px 30px rgba(28, 30, 34, .08);
    --shadow-lg: 0 22px 50px rgba(28, 30, 34, .14);
    --red-glow: rgba(163, 32, 31, .35);
    --ink: #17181b;
    --steel: #1d1f24;
    --steel-2: #24272c;
    --steel-3: #34383f;
    --rivet: #4a4f57;
    --concrete: #f6f5f3;
    --concrete-2: #eeebe7;
    --line: #e4e0da;
    --text: #26282b;
    --muted: #6c6f74;
    --white: #fff;
    --font-head: 'Barlow Condensed', 'Arial Narrow', 'Roboto Condensed', sans-serif;
    --font-body: 'Barlow', 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    --header-h: 78px;
}

html { scroll-behavior: smooth; }
/* Elemen yang digeser keluar layar (menu samping HP) tidak boleh membuat halaman bisa digulir ke samping */
html, body { overflow-x: clip; }
body { font-family: var(--font-body); font-size: 16px; line-height: 1.72; color: var(--text); background: var(--concrete); -webkit-font-smoothing: antialiased; }
a { color: var(--red); text-decoration: none; transition: color .2s; }
a:hover { color: var(--red-strong); }
img { max-width: 100%; height: auto; }
h1, h2, h3, h4, h5, h6 { font-family: var(--font-body); font-weight: 600; color: var(--ink); line-height: 1.15; letter-spacing: .01em; }
::selection { background: var(--red); color: #fff; }

.container { max-width: 1240px; }
.section { padding: 90px 0; position: relative; }
.section-sm { padding: 60px 0; }
.section-dark { background: var(--steel); color: #c9ccd1; }
.section-dark h1, .section-dark h2, .section-dark h3, .section-dark h4 { color: #fff; }
.bg-concrete-2 { background: var(--concrete-2); }

/* Blueprint grid texture */
.texture-grid {
    background-image:
        linear-gradient(rgba(255, 255, 255, .025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, .025) 1px, transparent 1px);
    background-size: 40px 40px;
}
.texture-grid-light {
    background-image:
        linear-gradient(rgba(17, 18, 20, .028) 1px, transparent 1px),
        linear-gradient(90deg, rgba(17, 18, 20, .028) 1px, transparent 1px);
    background-size: 40px 40px;
}
.hazard { height: 4px; background: linear-gradient(90deg, var(--red-deep), var(--red-strong) 50%, var(--red-deep)); }

/* Headings */
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-head); font-weight: 600; font-size: 15.5px; letter-spacing: .16em; padding: 5px 14px; border-radius: 999px; background: var(--red-soft); text-transform: uppercase; color: var(--red); margin-bottom: 14px; }
.eyebrow::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--red); }
.section-dark .eyebrow { color: #f0a3a0; background: rgba(255, 255, 255, .06); }
.section-dark .eyebrow::before { background: #f0a3a0; }
.section-title { font-size: clamp(28px, 3.3vw, 40px); letter-spacing: -.01em; margin-bottom: 16px; }
.section-title span { color: var(--red); }
.section-dark .section-title span { color: #e0605c; }
.section-lead { color: var(--muted); font-size: 17px; max-width: 640px; }
.section-dark .section-lead { color: #a3a7ad; }
.section-head { margin-bottom: 50px; }
.section-head.center { text-align: center; }

.section-head.center .section-lead { margin: 0 auto; }

/* Buttons */
.btn-ind { display: inline-flex; align-items: center; gap: 10px; padding: 13px 28px; font-family: var(--font-body); font-weight: 600; font-size: 15px; letter-spacing: .01em; border: 0; color: #fff; background: var(--red); border-radius: var(--radius-sm); box-shadow: 0 8px 20px rgba(155, 28, 34, .22); transition: background .2s, transform .2s, box-shadow .2s; cursor: pointer; }
.btn-ind:hover { background: var(--red-strong); color: #fff; transform: translateY(-2px); }
.btn-ind.dark { background: var(--ink); box-shadow: 0 8px 20px rgba(23, 24, 27, .2); }
.btn-ind.dark:hover { background: var(--steel-3); }
.btn-ind.outline { background: rgba(255, 255, 255, .08); color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .55); backdrop-filter: blur(4px); }
.btn-ind.outline:hover { background: #fff; color: var(--ink); }
.btn-ind.ghost { background: #fff; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line); }
.btn-ind.ghost:hover { background: var(--ink); color: #fff; box-shadow: none; }
.btn-ind.sm { padding: 10px 20px; font-size: 16px; }
.btn-ind.whatsapp { background: #1f8f4a; }
.btn-ind.whatsapp:hover { background: #18773d; }
.btn-ind.w-100 { justify-content: center; }

/* ---------------- Top bar ---------------- */
.topbar { background: var(--ink); color: #9ea2a8; font-size: 13px; border-bottom: 1px solid #23262b; }
.topbar .container { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 42px; }
.topbar a { color: #c3c6cb; }
.topbar a:hover { color: #fff; }
.topbar .items { display: flex; flex-wrap: wrap; gap: 26px; }
.topbar i { color: #e0605c; margin-right: 6px; }

/* ---------------- Header ---------------- */
.site-header { position: sticky; top: 0; z-index: 1000; background: rgba(29, 31, 36, .97); backdrop-filter: blur(8px); border-bottom: 1px solid rgba(255, 255, 255, .06); transition: box-shadow .25s; }
.site-header.scrolled { box-shadow: 0 10px 30px rgba(0, 0, 0, .35); }
.site-header .container { display: flex; align-items: center; gap: 24px; min-height: var(--header-h); }
.brand { display: flex; align-items: center; flex-shrink: 0; }
.brand img { max-height: 34px; width: auto; }
.brand .brand-text { font-family: var(--font-head); font-weight: 700; font-size: 24.5px; color: #fff; text-transform: uppercase; letter-spacing: .04em; line-height: 1; }
.brand .brand-text small { display: block; font-size: 11.5px; font-weight: 500; letter-spacing: .2em; color: #9ea2a8; margin-top: 4px; }

.main-nav { margin-left: auto; }
.main-nav > ul { display: flex; list-style: none; margin: 0; padding: 0; }
.main-nav li { position: relative; }
.main-nav > ul > li > a { display: flex; align-items: center; gap: 6px; height: var(--header-h); padding: 0 15px; font-weight: 500; font-size: 14.5px; color: #e3e5e8; position: relative; }
.main-nav > ul > li > a::after { content: ""; position: absolute; left: 15px; right: 15px; bottom: 18px; height: 2px; border-radius: 2px; background: var(--red-strong); transform: scaleX(0); transition: transform .25s; transform-origin: left; }
.main-nav > ul > li:hover > a, .main-nav > ul > li.active > a { color: #fff; }
.main-nav > ul > li:hover > a::after, .main-nav > ul > li.active > a::after { transform: scaleX(1); }
.main-nav .caret { font-size: 10.5px; opacity: .7; }
.main-nav ul ul { position: absolute; top: 100%; left: 0; min-width: 250px; list-style: none; margin: 0; padding: 8px; background: #fff; border-radius: var(--radius-sm); box-shadow: 0 18px 40px rgba(0, 0, 0, .4); opacity: 0; visibility: hidden; transform: translateY(10px); transition: all .2s; z-index: 10; }
.main-nav ul ul ul { top: -8px; left: calc(100% + 8px); }
.main-nav li:hover > ul, .main-nav li:focus-within > ul { opacity: 1; visibility: visible; transform: none; }
.main-nav ul ul a { display: flex; justify-content: space-between; align-items: center; padding: 9px 14px; color: var(--text); font-size: 16px; border-radius: 8px; }
.main-nav ul ul a:hover { color: var(--red); background: var(--red-soft); }

.header-actions { display: flex; align-items: center; gap: 10px; }
.icon-btn { position: relative; width: 44px; height: 44px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: var(--steel-3); color: #fff; border: 0; font-size: 16px; transition: background .2s; }
.icon-btn:hover { background: var(--red); color: #fff; }
.icon-btn .count { position: absolute; top: -7px; right: -7px; min-width: 21px; height: 21px; padding: 0 5px; background: var(--red); color: #fff; font-size: 11.5px; font-weight: 700; line-height: 17px; text-align: center; border: 2px solid var(--steel); border-radius: 999px; }
.nav-toggle { display: none; }

/* Search overlay */
.search-overlay { position: fixed; inset: 0; z-index: 2000; background: rgba(17, 18, 20, .96); display: flex; align-items: center; justify-content: center; padding: 20px; }
.search-overlay[hidden] { display: none; }
.search-overlay form { width: 100%; max-width: 760px; display: flex; border-bottom: 3px solid var(--red); }
.search-overlay input { flex: 1; background: transparent; border: 0; color: #fff; font-family: var(--font-head); font-size: clamp(24px, 3.7vw, 40px); text-transform: uppercase; padding: 12px 0; outline: none; }
.search-overlay button[type=submit] { background: transparent; border: 0; color: #fff; font-size: 28px; }
.search-overlay .close { position: absolute; top: 24px; right: 30px; background: transparent; border: 0; color: #fff; font-size: 37.5px; line-height: 1; }

/* ---------------- Hero ---------------- */
.hero { position: relative; min-height: min(86vh, 760px); display: flex; align-items: center; color: #fff; overflow: hidden; background: var(--ink); }
.hero-slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1s; display: flex; align-items: center; }
.hero-slide.active { opacity: 1; z-index: 1; }
.hero-slide > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: grayscale(.35); }
.hero-slide::before { content: ""; position: absolute; inset: 0; background: linear-gradient(105deg, rgba(23, 24, 27, .93) 0%, rgba(23, 24, 27, .78) 48%, rgba(109, 20, 24, .55) 100%); z-index: 1; }
.hero-slide::after { content: ""; position: absolute; inset: 0; z-index: 1; background-image: linear-gradient(rgba(255, 255, 255, .04) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .04) 1px, transparent 1px); background-size: 60px 60px; }
.hero .container { position: relative; z-index: 2; }
.hero-content { max-width: 760px; padding: 80px 0; }
.hero-kicker { display: inline-block; font-family: var(--font-head); font-weight: 600; letter-spacing: .2em; text-transform: uppercase; font-size: 13px; padding: 6px 16px; border-radius: 999px; background: rgba(180, 35, 43, .9); margin-bottom: 24px; }
.hero h1 { color: #fff; font-size: clamp(37px, 5.2vw, 66px); line-height: 1.05; letter-spacing: -.02em; margin-bottom: 26px; }
.hero h1 span { color: #f08a86; }
.hero p { font-size: 18px; color: #d3d6da; max-width: 600px; margin-bottom: 34px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-side { position: absolute; right: 0; top: 0; bottom: 0; width: 34%; z-index: 2; pointer-events: none; display: flex; align-items: flex-end; justify-content: flex-end; padding: 0 40px 50px 0; }
.hero-side .stamp { font-family: var(--font-head); font-size: 16px; letter-spacing: .3em; color: rgba(255, 255, 255, .45); writing-mode: vertical-rl; text-transform: uppercase; }
.hero-dots { position: absolute; z-index: 3; left: 50%; bottom: 30px; transform: translateX(-50%); display: flex; gap: 10px; }
.hero-dots button { width: 30px; height: 5px; border-radius: 3px; border: 0; background: rgba(255, 255, 255, .35); padding: 0; }
.hero-dots button.active { background: var(--red-strong); }

/* ---------------- Pillars ---------------- */
.pillars { position: relative; z-index: 5; margin-top: -70px; }
.pillars-grid { display: grid; grid-template-columns: repeat(4, 1fr); background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg); }
.pillar { position: relative; padding: 36px 30px 32px; color: var(--muted); border-right: 1px solid var(--line); transition: background .3s, color .3s; }
.pillar:last-child { border-right: 0; }
.pillar:hover { background: var(--red); color: rgba(255, 255, 255, .85); }
.pillar .num { position: absolute; top: 22px; right: 24px; font-family: var(--font-head); font-weight: 700; font-size: 41.5px; color: rgba(23, 24, 27, .06); line-height: 1; }
.pillar .ico { width: 54px; height: 54px; border-radius: 14px; display: flex; align-items: center; justify-content: center; background: var(--red-soft); color: var(--red); font-size: 21px; margin-bottom: 20px; }
.pillar:hover .ico { background: #fff; color: var(--red); }
.pillar h3 { color: var(--ink); font-size: 21.5px; transition: color .3s; margin-bottom: 8px; }
.pillar p { margin: 0 0 14px; font-size: 14.5px; }
.pillar .more { font-weight: 600; font-size: 15.5px; color: var(--red); }
.pillar:hover h3, .pillar:hover .more { color: #fff; }
.pillar:hover .num { color: rgba(255, 255, 255, .12); }

/* ---------------- About strip ---------------- */
.about-strip .about-figure { position: relative; padding: 0 0 30px 30px; }
.about-strip .about-figure::before { content: ""; position: absolute; left: 0; bottom: 0; width: 70%; height: 70%; border-radius: var(--radius); background: linear-gradient(135deg, var(--red-strong), var(--red-deep)); }
.about-strip .about-figure .frame { position: relative; background: var(--steel); padding: 40px; color: #c9ccd1; border-radius: var(--radius); box-shadow: var(--shadow-lg); }
.about-strip .about-figure .frame .big { font-family: var(--font-head); font-weight: 700; font-size: 69.5px; line-height: 1; color: #fff; }
.about-strip .about-figure .frame .big small { font-size: 24.5px; color: #e0605c; }
.about-strip .facts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-top: 30px; }
.about-strip .facts div { background: rgba(255, 255, 255, .05); padding: 18px; border-radius: var(--radius-sm); }
.about-strip .facts strong { display: block; font-family: var(--font-head); color: #fff; font-size: 28px; line-height: 1; }
.checklist { list-style: none; padding: 0; margin: 0 0 30px; }
.checklist li { position: relative; padding: 8px 0 8px 34px; }
.checklist li::before { content: "\f00c"; font-family: FontAwesome; position: absolute; left: 0; top: 9px; width: 22px; height: 22px; background: var(--red-soft); color: var(--red); border-radius: 50%; font-size: 10.5px; display: flex; align-items: center; justify-content: center; }

/* ---------------- Service cards ---------------- */
.service-card { position: relative; height: 100%; display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); transition: transform .3s, box-shadow .3s, border-color .3s; }
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.service-card .thumb { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--steel); border-radius: var(--radius) var(--radius) 0 0; }
.service-card .thumb img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.1); opacity: .75; transition: all .5s; }
.service-card:hover .thumb img { filter: grayscale(.2); opacity: 1; transform: scale(1.06); }
.service-card .ico { position: absolute; left: 24px; top: calc((100% - 0px) * 0); margin-top: -28px; border-radius: 14px; z-index: 2; width: 56px; height: 56px; display: flex; align-items: center; justify-content: center; background: var(--red); color: #fff; font-size: 21px; box-shadow: 0 0 0 6px #fff; }
.service-card .body { padding: 44px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.service-card h3 { font-size: 22.5px; margin-bottom: 10px; }
.service-card h3 a { color: var(--ink); }
.service-card p { color: var(--muted); font-size: 14.5px; flex: 1; }
.link-arrow { font-weight: 600; font-size: 16px; color: var(--red); display: inline-flex; align-items: center; gap: 8px; }
.link-arrow i { transition: transform .2s; }
.link-arrow:hover i { transform: translateX(4px); }

/* ---------------- Products ---------------- */
.product-card { position: relative; height: 100%; display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: transform .3s, box-shadow .3s, border-color .3s; }
.product-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: transparent; }
.product-card .thumb { position: relative; display: block; aspect-ratio: 3 / 4; overflow: hidden; background: var(--concrete-2); }
.product-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.product-card:hover .thumb img { transform: scale(1.05); }
.product-card .tag { position: absolute; top: 12px; left: 12px; border-radius: 999px; background: var(--red); color: #fff; font-family: var(--font-head); font-weight: 600; letter-spacing: .1em; font-size: 12px; padding: 3px 10px; text-transform: uppercase; }
.product-card .body { padding: 18px 18px 20px; display: flex; flex-direction: column; flex: 1; }
.product-card h3 { font-family: var(--font-body); font-weight: 600; font-size: 15px; line-height: 1.4; margin-bottom: 12px; }
.product-card h3 a { color: var(--ink); }
.product-card h3 a:hover { color: var(--red); }
.product-card .meta { color: var(--muted); font-size: 12.5px; margin-bottom: 10px; }
.product-card .price { margin-top: auto; display: flex; align-items: baseline; gap: 8px; font-family: var(--font-head); font-weight: 700; font-size: 21.5px; color: var(--red); }
.product-card .price del { font-size: 16px; color: var(--muted); font-weight: 500; }

.catalog-toolbar { display: flex; border-radius: var(--radius); flex-wrap: wrap; gap: 16px; align-items: center; justify-content: space-between; padding: 18px 20px; background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow); margin-bottom: 34px; }
.catalog-toolbar .count { font-weight: 600; }
.catalog-toolbar form { display: flex; gap: 8px; flex-wrap: wrap; }
.field, .catalog-toolbar input, .catalog-toolbar select { height: 46px; border: 1px solid var(--line); background: var(--concrete); padding: 0 14px; border-radius: var(--radius-sm); font-family: var(--font-body); color: var(--text); }
.field:focus, .catalog-toolbar input:focus, .catalog-toolbar select:focus { outline: 2px solid var(--red); outline-offset: -2px; background: #fff; }

/* Product detail */
.product-gallery { position: relative; padding: 0 0 22px 22px; }
.product-gallery::before { content: ""; position: absolute; left: 0; bottom: 0; width: 60%; height: 60%; border-radius: var(--radius); background: linear-gradient(135deg, var(--red-strong), var(--red-deep)); }
.product-gallery img { position: relative; width: 100%; border-radius: var(--radius-sm); box-shadow: var(--shadow-lg); }
.product-title { font-size: clamp(28px, 3.3vw, 40px); margin-bottom: 18px; }
.prose { font-size: 16px; }
.prose p { margin-bottom: 1.1em; }
.prose img { max-width: 100%; height: auto; }
.prose h2, .prose h3, .prose h4 { margin: 1.6em 0 .6em; }
.prose ul, .prose ol { padding-left: 1.3em; margin-bottom: 1.2em; }
.prose blockquote { border-left: 4px solid var(--red); padding: 10px 20px; background: var(--white); margin: 1.5em 0; }
.prose table { width: 100%; margin-bottom: 1.5em; }
.prose table td, .prose table th { border: 1px solid var(--line); padding: 8px 12px; }
.prose .text-justify, .prose.justify p { text-align: justify; }
.buy-box { background: var(--steel); border-radius: var(--radius); overflow: hidden; color: #c9ccd1; padding: 26px; margin: 26px 0; position: relative; }

.buy-box .label { font-size: 15.5px; color: #9ea2a8; }
.buy-box .amount { font-family: var(--font-head); font-weight: 700; font-size: 41.5px; color: #fff; line-height: 1.1; }
.buy-box .amount del { font-size: 21px; color: #8b8f95; font-weight: 500; margin-right: 10px; }
.buy-box form { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 18px; }
.qty { width: 96px; height: 52px; background: var(--steel-3); border: 1px solid #484c54; color: #fff; text-align: center; font-size: 17px; border-radius: var(--radius-sm); }
.buy-box .hint { font-size: 13px; color: #8b8f95; margin-top: 10px; }
.spec-table { width: 100%; border-collapse: separate; border-spacing: 0; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: var(--white); }
.spec-table th, .spec-table td { padding: 12px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
.spec-table th { width: 38%; font-weight: 600; color: var(--ink); background: var(--concrete); }
.panel { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; padding: 34px; }
.panel-title { font-size: 22.5px; padding-bottom: 14px; margin-bottom: 22px; border-bottom: 1px solid var(--line); position: relative; }
.panel-title::after { content: ""; position: absolute; left: 0; bottom: -2px; width: 56px; height: 3px; border-radius: 3px; background: var(--red); }

/* ---------------- Page header ---------------- */
.page-header { position: relative; padding: 84px 0 64px; background: linear-gradient(120deg, #17181b 0%, #1f2126 55%, #4a1216 100%); color: #fff; overflow: hidden; }
.page-header > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .14; filter: grayscale(1); }
.page-header::after { content: ""; position: absolute; right: -120px; top: -160px; width: 460px; height: 460px; border-radius: 50%; background: radial-gradient(circle, rgba(180, 35, 43, .45), transparent 70%); }
.page-header .container { position: relative; z-index: 2; }
.page-header h1 { color: #fff; font-size: clamp(28px, 3.9vw, 48px); letter-spacing: -.01em; max-width: 900px; margin-bottom: 16px; }
.crumbs { display: inline-flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 6px 16px; margin: 0; font-size: 15.5px; color: #b5b9bf; background: rgba(255, 255, 255, .06); border-radius: 999px; }
.crumbs li + li::before { content: "\203A"; margin-right: 8px; color: #f08a86; }
.crumbs a { color: #d0d3d8; }
.crumbs a:hover { color: #fff; }

/* ---------------- Pricing ---------------- */
.price-card { position: relative; height: 100%; display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; padding: 38px 30px 32px; transition: transform .3s, box-shadow .3s; }
.price-card:hover { transform: translateY(-6px); box-shadow: 0 24px 50px rgba(17, 18, 20, .14); }
.price-card.featured { background: var(--steel); color: #c9ccd1; border-color: var(--steel); }
.price-card.featured h3, .price-card.featured .amount { color: #fff; }
.price-card .ribbon { position: absolute; top: 20px; right: 20px; background: var(--red); color: #fff; font-weight: 600; font-size: 12px; padding: 4px 12px; border-radius: 999px; }
.price-card h3 { font-size: 28px; letter-spacing: .06em; margin-bottom: 4px; }
.price-card .sub { color: var(--muted); font-size: 16px; }
.price-card .amount { font-family: var(--font-head); font-weight: 700; font-size: 47px; line-height: 1; color: var(--ink); margin: 22px 0 6px; }
.price-card .amount small { font-size: 21px; color: var(--red); vertical-align: top; margin-right: 4px; }
.price-card .unit { color: var(--muted); font-size: 15.5px; padding-bottom: 20px; border-bottom: 1px solid var(--line); margin-bottom: 18px; }
.price-card.featured .unit { border-bottom-color: #34383f; }
.price-card ul { list-style: none; padding: 0; margin: 0 0 28px; flex: 1; }
.price-card li { position: relative; padding: 7px 0 7px 28px; font-size: 14.5px; }
.price-card li::before { content: "\f00c"; font-family: FontAwesome; position: absolute; left: 0; top: 8px; color: var(--red); }
.price-card.featured li::before { color: #e0605c; }

/* ---------------- CTA ---------------- */
.cta-band { position: relative; background: linear-gradient(120deg, var(--red-deep), var(--red) 55%, var(--red-strong)); color: #fff; overflow: hidden; }
.cta-band::before { content: ""; position: absolute; left: -100px; bottom: -200px; width: 480px; height: 480px; border-radius: 50%; background: radial-gradient(circle, rgba(255, 255, 255, .12), transparent 70%); }

.cta-band .container { position: relative; z-index: 2; padding-top: 70px; padding-bottom: 70px; }
.cta-band h2 { color: #fff; font-size: clamp(28px, 3.5vw, 42px); margin-bottom: 10px; }
.cta-band p { color: rgba(255, 255, 255, .85); font-size: 18px; margin: 0; }
.cta-contact { display: flex; align-items: center; gap: 18px; }
.cta-contact .ico { width: 68px; height: 68px; border-radius: 50%; flex-shrink: 0; background: #fff; color: var(--red); display: flex; align-items: center; justify-content: center; font-size: 30px; }
.cta-contact small { display: block; color: rgba(255, 255, 255, .7); }
.cta-contact a { font-family: var(--font-head); font-weight: 700; font-size: clamp(26px, 2.7vw, 35px); color: #fff; letter-spacing: .03em; }

/* ---------------- Posts ---------------- */
.post-card { height: 100%; display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: transform .3s, box-shadow .3s; }
.post-card:hover { transform: translateY(-5px); box-shadow: 0 22px 45px rgba(17, 18, 20, .12); }
.post-card .thumb { display: block; aspect-ratio: 16 / 9; overflow: hidden; background: var(--steel); }
.post-card .thumb img { width: 100%; height: 100%; object-fit: cover; }
.post-card .thumb.placeholder { display: flex; align-items: center; justify-content: center; color: var(--rivet); font-size: 37.5px; }
.post-card .body { padding: 24px; display: flex; flex-direction: column; flex: 1; }
.post-card h3 { font-size: 22.5px; margin-bottom: 10px; }
.post-card h3 a { color: var(--ink); }
.post-card p { color: var(--muted); flex: 1; }
.post-meta { display: flex; flex-wrap: wrap; gap: 14px; font-size: 13px; color: var(--muted); margin-bottom: 12px; }
.post-meta a { color: var(--red); }
.post-meta i { color: var(--red); margin-right: 4px; }
.sidebar .widget { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; padding: 26px; margin-bottom: 24px; }
.sidebar .widget-title { font-size: 19px; padding-bottom: 12px; margin-bottom: 16px; border-bottom: 2px solid var(--ink); }
.sidebar ul { list-style: none; padding: 0; margin: 0; }
.sidebar li { padding: 9px 0; border-bottom: 1px dashed var(--line); }
.sidebar li a { color: var(--text); }
.sidebar li a:hover { color: var(--red); }
.search-inline { display: flex; }
.search-inline .field { flex: 1; }
.search-inline { gap: 8px; }
.search-inline button { width: 50px; border: 0; border-radius: var(--radius-sm); background: var(--red); color: #fff; }

/* Features (content pages) */
.feature-tile { height: 100%; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; padding: 32px 28px; position: relative; transition: border-color .3s, transform .3s; }
.feature-tile:hover { border-color: transparent; box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.feature-tile .num { font-family: var(--font-head); font-weight: 700; font-size: 45px; line-height: 1; color: var(--red); opacity: .85; margin-bottom: 10px; }
.feature-tile h3 { font-size: 22.5px; }
.feature-tile p { color: var(--muted); margin: 0; }
.download-tile { height: 100%; border-radius: var(--radius); overflow: hidden; background: var(--steel); color: #c9ccd1; padding: 30px; display: flex; flex-direction: column; }
.download-tile h3 { color: #fff; font-size: 24.5px; }
.download-tile p { flex: 1; }
.download-tile .ico { font-size: 32px; color: #e0605c; margin-bottom: 14px; }

/* Cart */
.cart-table { width: 100%; border-collapse: separate; border-spacing: 0; border-radius: var(--radius); overflow: hidden; background: var(--white); border: 1px solid var(--line); }
.cart-table th { background: var(--ink); color: #fff; padding: 14px; font-weight: 600; font-size: 16px; }
.cart-table td { padding: 14px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.cart-table img { width: 58px; }
.cart-table .field { width: 84px; text-align: center; }
.summary { background: var(--steel); border-radius: var(--radius); overflow: hidden; color: #c9ccd1; padding: 30px; }
.summary h3 { color: #fff; font-size: 24.5px; margin-bottom: 18px; }
.summary .line { display: flex; justify-content: space-between; gap: 14px; padding: 10px 0; border-bottom: 1px dashed #3c4048; }
.summary .line.total { border-bottom: 0; font-family: var(--font-head); font-weight: 700; font-size: 26.5px; color: #fff; }
.summary .line.total span:last-child { color: #e0605c; }
.summary .note { color: #8b8f95; font-size: 13px; }
.form-ind label { display: block; font-weight: 600; font-size: 16px; color: var(--ink); margin-bottom: 6px; }
.form-ind .field { width: 100%; margin-bottom: 18px; }
.form-ind textarea.field { height: auto; padding: 12px 14px; }
.notice { padding: border-radius: var(--radius); overflow: hidden; 16px 20px; margin-bottom: 26px; border-left: 4px solid; background: var(--white); }
.notice.success { border-color: #1f8f4a; color: #17663a; }
.notice.error { border-color: var(--red); color: var(--red); }
.empty-state { text-align: center; border-radius: var(--radius); overflow: hidden; padding: 70px 20px; background: var(--white); border: 1px dashed var(--line); }
.empty-state i { font-size: 56.5px; color: var(--line); }

/* Pagination */
.pagination { gap: 6px; justify-content: center; margin-top: 50px; }
.pagination .page-link { border-radius: 10px !important; border: 1px solid var(--line); color: var(--ink); font-family: var(--font-head); font-weight: 600; min-width: 44px; text-align: center; }
.pagination .page-item.active .page-link { background: var(--red); border-color: var(--red); color: #fff; }
.pagination .page-link:hover { background: var(--ink); color: #fff; }

/* ---------------- Footer ---------------- */
.site-footer { background: var(--ink); color: #8f949a; }
.footer-contacts { display: grid; grid-template-columns: repeat(4, 1fr); border-bottom: 1px solid #23262b; }
.footer-contacts .item { display: flex; gap: 16px; align-items: center; padding: 34px 26px; border-right: 1px solid #23262b; }
.footer-contacts .item:last-child { border-right: 0; }
.footer-contacts .ico { width: 50px; height: 50px; border-radius: 12px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; background: var(--steel-2); color: #e0605c; font-size: 19px; border: 1px solid #33363c; }
.footer-contacts small { display: block; color: #7d8288; font-size: 12.5px; }
.footer-contacts a, .footer-contacts span { color: #e3e5e8; word-break: break-word; }
.footer-main { padding: 70px 0 50px; }
.footer-brand img { max-height: 32px; margin-bottom: 20px; }
.footer-title { color: #fff; font-size: 18px; margin-bottom: 22px; display: flex; align-items: center; gap: 10px; }
.footer-title::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--red-strong); }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 10px; }
.footer-links a { color: #a9adb3; }
.footer-links a:hover { color: #fff; padding-left: 4px; }
.footer-bottom { border-top: 1px solid #23262b; padding: 22px 0; font-size: 13px; }
.footer-bottom .container { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; }
.to-top { position: fixed; right: 22px; bottom: 22px; z-index: 900; width: 48px; height: 48px; border-radius: 50%; box-shadow: var(--shadow); background: var(--red); color: #fff; border: 0; font-size: 21px; opacity: 0; visibility: hidden; transition: all .3s; }
.to-top.show { opacity: 1; visibility: visible; }
.to-top:hover { background: var(--ink); }

/* Popup */
.site-popup { position: fixed; inset: 0; z-index: 3000; background: rgba(17, 18, 20, .8); display: flex; align-items: center; justify-content: center; padding: 20px; }
.site-popup[hidden] { display: none; }
.site-popup-dialog { position: relative; background: #fff; max-width: 540px; width: 100%; max-height: 90vh; overflow: auto; border-radius: var(--radius); }
.site-popup-dialog img { width: 100%; display: block; }
.site-popup-body { padding: 28px; }
.site-popup-body h4 { font-size: 26.5px; }
.site-popup-close { position: absolute; top: 10px; right: 10px; z-index: 2; width: 38px; height: 38px; border-radius: 50%; border: 0; background: var(--ink); color: #fff; font-size: 21px; line-height: 1; }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s, transform .7s; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } }

/* ---------------- Responsive ---------------- */
@media (max-width: 1199.98px) {
    .main-nav > ul > li > a { padding: 0 11px; font-size: 14.5px; letter-spacing: .06em; }
}
@media (max-width: 991.98px) {
    :root { --header-h: 66px; }
    .topbar .items .hide-md { display: none; }
    .nav-toggle { display: inline-flex; }
    .main-nav { position: fixed; top: 0; right: 0; bottom: 0; width: min(340px, 86vw); margin: 0; background: var(--steel); border-left: 3px solid var(--red); transform: translateX(100%); transition: transform .3s; overflow-y: auto; z-index: 1500; padding: 70px 0 30px; }
    .main-nav.open { transform: none; box-shadow: -20px 0 60px rgba(0, 0, 0, .5); }
    /* Menu tertutup: tidak ikut dihitung lebar halaman dan tautannya tidak bisa difokus */
    .main-nav:not(.open) { visibility: hidden; }
    .main-nav { transition: transform .3s, visibility .3s; }
    /* Jarak kolom g-5 (3rem) lebih besar dari padding kontainer: kecilkan agar baris tidak melebar keluar layar */
    .row.g-5 { --bs-gutter-x: 1.5rem; }
    /* Header HP/tablet: logo boleh mengecil agar tombol cari, keranjang & menu tetap di dalam layar */
    /* backdrop-filter membuat menu samping (position: fixed) setinggi header saja; matikan di HP/tablet */
    .site-header { backdrop-filter: none; -webkit-backdrop-filter: none; background: rgb(29, 31, 36); }
    .site-header .container { gap: 12px; }
    .brand { flex-shrink: 1; min-width: 0; }
    .brand img { max-width: 100%; height: auto; object-fit: contain; }
    .header-actions { flex-shrink: 0; gap: 8px; }
    .main-nav > ul { flex-direction: column; }
    .main-nav > ul > li > a { height: auto; padding: 14px 24px; border-bottom: 1px solid #2c2f35; justify-content: space-between; }
    .main-nav > ul > li > a::after { display: none; }
    .main-nav ul ul, .main-nav ul ul ul { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border-top: 0; padding: 0; display: none; background: var(--steel-2); min-width: 0; }
    .main-nav li.open > ul { display: block; }
    .main-nav ul ul a { padding-left: 38px; }
    .main-nav ul ul ul a { padding-left: 54px; }
    .nav-close { position: absolute; top: 14px; right: 16px; }
    .main-nav ul ul { border-radius: 0; background: rgba(255, 255, 255, .04); padding: 0; }
    .main-nav ul ul a { color: #c9ccd1; border-radius: 0; }
    .main-nav ul ul a:hover { background: rgba(255, 255, 255, .06); color: #fff; }
    /* Di bawah header (z-index 1000): menu samping ada di dalam header, jadi harus di atas lapisan gelap */
    .nav-backdrop { position: fixed; inset: 0; background: rgba(0, 0, 0, .55); z-index: 999; }
    .header-actions { margin-left: auto; }
    .pillars { margin-top: 0; }
    .pillars-grid { grid-template-columns: repeat(2, 1fr); }
    .pillar:nth-child(2) { border-right: 0; }
    .pillar { border-bottom: 1px solid #33363c; }
    .footer-contacts { grid-template-columns: repeat(2, 1fr); }
    .footer-contacts .item:nth-child(2) { border-right: 0; }
    .footer-contacts .item { border-bottom: 1px solid #23262b; }
    .hero-side { display: none; }
    .page-header::after { width: 160px; right: -90px; }
    .cta-band::after { display: none; }
    .section { padding: 70px 0; }
}
@media (min-width: 992px) {
    .nav-close, .nav-backdrop { display: none !important; }
}
@media (max-width: 575.98px) {
    body { font-size: 15.5px; }
    .topbar { display: none; }
    .brand img { max-height: 26px; }
    .pillars-grid, .footer-contacts { grid-template-columns: 1fr; }
    .pillar, .footer-contacts .item { border-right: 0 !important; }
    .panel { padding: 22px; }
    .hero-content { padding: 60px 0 90px; }
}

/* Service card without photo: steel block with icon */
.service-card .thumb.blank { display: flex; background-image: none !important; background: linear-gradient(135deg, #1d1f24, #2b2e35 60%, #4a1216) !important; align-items: center; justify-content: center; background-color: var(--steel); background-image: linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px); background-size: 28px 28px; }
.service-card .thumb.blank .big-ico { font-size: 60px; color: rgba(255, 255, 255, .12); transition: color .3s, transform .3s; }
.service-card:hover .thumb.blank .big-ico { color: rgba(224, 96, 92, .55); transform: scale(1.08); }
.service-card .thumb .no { position: absolute; top: 16px; right: 18px; font-family: var(--font-head); font-weight: 700; font-size: 17px; letter-spacing: .1em; color: rgba(255, 255, 255, .4); }

/* ---------- Publikasi OJS (jurnal & buku dari journal.redtechidn.org) ---------- */
.ojs-journal { height: 100%; display: flex; gap: 18px; padding: 20px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); transition: transform .3s, box-shadow .3s, border-color .3s; }
.ojs-journal:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: transparent; }
.ojs-journal__cover { flex: 0 0 104px; align-self: flex-start; aspect-ratio: 3 / 4; border-radius: 8px; overflow: hidden; background: var(--concrete-2); box-shadow: 0 10px 20px -12px rgba(23, 24, 27, .5); display: grid; place-items: center; }
.ojs-journal__cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ojs-journal__cover span { font-family: var(--font-head); font-weight: 700; font-size: 20px; color: var(--red); padding: 8px; text-align: center; }
.ojs-journal__body { display: flex; flex-direction: column; min-width: 0; }
.ojs-journal__type { font-family: var(--font-head); font-size: 14px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--red); }
.ojs-journal h3 { margin: 4px 0 6px; font-size: 18px; line-height: 1.3; }
.ojs-journal h3 a { color: var(--ink); }
.ojs-journal h3 a:hover { color: var(--red); }
.ojs-journal__issn { margin: 0 0 6px; font-size: 13.5px; color: var(--muted); }
.ojs-journal__desc { margin: 0 0 10px; font-size: 14.5px; line-height: 1.6; color: var(--muted); }
.ojs-journal__figures { display: flex; gap: 16px; margin: 0 0 14px; padding: 0; list-style: none; font-size: 14px; color: var(--muted); }
.ojs-journal__figures strong { color: var(--ink); font-size: 17px; }
.ojs-journal__actions { margin-top: auto; display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }
.ojs-books-head { margin-top: 70px; }
.ojs-book { height: 100%; }
.ojs-book__cover { position: relative; display: block; aspect-ratio: 2 / 3; margin-bottom: 12px; border-radius: 3px 10px 10px 3px; overflow: hidden; background: var(--concrete-2); box-shadow: 0 1px 2px rgba(23, 24, 27, .1), 0 16px 28px -14px rgba(23, 24, 27, .5); transition: transform .3s; }
.ojs-book__cover::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0, 0, 0, .25) 0, rgba(255, 255, 255, .15) 3%, transparent 7%); }
.ojs-book__cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ojs-book:hover .ojs-book__cover { transform: translateY(-6px) rotate(-1.5deg); }
.ojs-book__year { font-family: var(--font-head); font-size: 14px; font-weight: 600; letter-spacing: .1em; color: var(--red); }
.ojs-book h3 { margin: 2px 0 4px; font-size: 15px; line-height: 1.35; }
.ojs-book h3 a { color: var(--ink); }
.ojs-book h3 a:hover { color: var(--red); }
.ojs-book p { margin: 0; font-size: 13px; line-height: 1.5; color: var(--muted); }
@media (max-width: 575px) {
    .ojs-journal { flex-direction: column; }
    .ojs-journal__cover { flex-basis: auto; width: 110px; }
}
@media (prefers-reduced-motion: reduce) {
    .ojs-journal, .ojs-book__cover { transition: none; }
}
.ojs-book { display: flex; flex-direction: column; }
.ojs-book__shop { margin-top: auto; padding-top: 10px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 10px; }
.ojs-book__price { display: flex; flex-direction: column; font-family: var(--font-head); font-weight: 700; font-size: 19px; line-height: 1.1; color: var(--red); }
.ojs-book__price del { font-size: 14px; font-weight: 500; color: var(--muted); }
.ojs-book__buy { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; background: var(--red); color: #fff; font-size: 13.5px; font-weight: 600; }
.ojs-book__buy:hover { background: var(--ink); color: #fff; }

@media (max-width: 400px) {
    .header-actions .icon-btn { width: 40px; height: 40px; font-size: 15px; }
    .header-actions { gap: 6px; }
}

/* ---------- Afiliasi di beranda (dikelola di Admin > Afiliasi) ---------- */
.affiliate__brand { display: flex; align-items: center; gap: 16px; margin-bottom: 18px; }
.affiliate__brand img { max-height: 64px; width: auto; }
.affiliate__mark { flex: 0 0 64px; height: 64px; border-radius: 16px; display: grid; place-items: center; background: var(--red); color: #fff; font-family: var(--font-head); font-weight: 700; font-size: 32px; box-shadow: 0 14px 30px -12px rgba(155, 28, 34, .8); }
.affiliate + .affiliate { margin-top: 70px; padding-top: 70px; border-top: 1px solid rgba(255, 255, 255, .08); }
.affiliate__name { margin: 0; font-size: 34px; color: #fff; }
.affiliate__tagline { margin: 4px 0 0; font-family: var(--font-head); font-size: 17px; letter-spacing: .08em; text-transform: uppercase; color: #f0a3a0; }
.affiliates .section-lead { color: rgba(255, 255, 255, .72); }
.affiliate__contact { display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 20px 0 0; font-size: 14.5px; color: rgba(255, 255, 255, .6); }
.affiliate__contact i { color: #f0a3a0; margin-right: 6px; }
.affiliate__window { border-radius: var(--radius); background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .1); overflow: hidden; box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .7); }
.affiliate__bar { display: flex; align-items: center; gap: 7px; padding: 12px 16px; background: rgba(255, 255, 255, .06); border-bottom: 1px solid rgba(255, 255, 255, .08); }
.affiliate__bar span { width: 10px; height: 10px; border-radius: 50%; background: rgba(255, 255, 255, .25); }
.affiliate__bar span:first-child { background: var(--red); }
.affiliate__bar em { margin-left: 10px; padding: 3px 12px; border-radius: 999px; background: rgba(0, 0, 0, .25); font-style: normal; font-size: 13px; color: rgba(255, 255, 255, .7); }
.affiliate__list { margin: 0; padding: 10px; list-style: none; display: grid; gap: 8px; }
.affiliate__list li { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 10px; background: rgba(255, 255, 255, .04); color: rgba(255, 255, 255, .85); font-size: 15px; line-height: 1.45; }
.affiliate__list i { flex: 0 0 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; background: rgba(155, 28, 34, .25); color: #f0a3a0; font-size: 17px; }
