 :root {
  --dark: #0b111b;
  --dark-2: #141f31;
  --red: #d72638;
  --red-dark: #9e1728;
  --gold: #f5c451;
  --text: #172033;
  --muted: #667085;
  --light: #f5f7fa;
  --border: #e6eaf0;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: Inter, Arial, sans-serif; color: var(--text); background: #fff; line-height: 1.6; }
a { color: inherit; text-decoration: none; }
.topbar { background: var(--dark); color: #d9e2ef; padding: 9px 6%; display: flex; justify-content: space-between; gap: 18px; flex-wrap: wrap; font-size: 12px; }
.topbar a { color: #fff; }
.site-header { position: sticky; top: 0; z-index: 10; background: rgba(255,255,255,.96); backdrop-filter: blur(12px); border-bottom: 1px solid var(--border); padding: 14px 6%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; gap: 10px; min-width: max-content; }
.brand-mark { display: grid; place-items: center; width: 48px; height: 48px; color: #fff; background: linear-gradient(135deg, var(--red), #111); border: 3px solid #fff; outline: 2px solid var(--red); transform: rotate(-8deg); font-weight: 900; }
.brand strong, .brand small { display: block; line-height: 1.2; }
.brand strong { font-size: 14px; }
.brand small { color: var(--red); font-size: 11px; margin-top: 4px; font-weight: 800; }
.main-nav { display: flex; gap: 23px; font-size: 14px; font-weight: 800; }
.main-nav a:hover { color: var(--red); }
.btn { display: inline-block; border-radius: 9px; padding: 12px 19px; font-weight: 800; font-size: 14px; border: 1px solid transparent; cursor: pointer; }
.btn-primary { background: var(--red); color: #fff; }
.btn-primary:hover { background: var(--red-dark); }
.btn-light { background: #fff; color: var(--dark); }
.btn-outline-light { border-color: rgba(255,255,255,.7); color: #fff; }
.menu-toggle { display: none; border: 0; background: transparent; font-size: 25px; cursor: pointer; }
.hero {
    padding: 115px 6% 105px;
    color: #fff;

    background-image:
        linear-gradient(
            90deg,
            rgba(8, 13, 23, 0.25),
            rgba(8, 13, 23, 0.10)
        ),
        url('/images/hero-bg.jpg');

    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}
.hero-content { max-width: 800px; }
.eyebrow { letter-spacing: 2px; font-weight: 900; font-size: 12px; color: var(--gold); margin: 0 0 14px; }
.eyebrow.red { color: var(--red); }
.eyebrow.gold { color: var(--gold); }
.hero h1 { font-size: clamp(38px, 6vw, 72px); line-height: 1.06; margin: 0 0 22px; }
.hero h1 span { color: #ff5364; }
.hero-text { color: #d7dfeb; font-size: 18px; max-width: 700px; }
.hero-actions, .contact-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }
.website-label { color: #f6c7cc; font-weight: 800; margin-top: 28px; }
.section { padding: 82px 6%; }
.section-heading {
    max-width: 100%;
    width: 100%;
    margin: 0 auto 36px auto;
    text-align: center !important;
}

#proyek .section-heading h2,
#proyek .section-heading p,
#proyek .section-heading .eyebrow {
    text-align: center !important;
}

#proyek .project-card h3,
#proyek .project-card p {
    text-align: center !important;
}
.cards { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; }
.card { padding: 25px; border: 1px solid var(--border); border-radius: 16px; background: #fff; box-shadow: 0 12px 30px rgba(15,23,42,.06); }
.card-icon { font-size: 34px; margin-bottom: 14px; }
.card h3 { margin: 0 0 8px; }
.card p { color: var(--muted); font-size: 14px; }
.card a { color: var(--red); font-size: 14px; font-weight: 900; }
.split-section { padding: 82px 6%; background: var(--light); display: grid; grid-template-columns: 1fr 1fr; gap: 55px; align-items: center; }
.checks { list-style: none; padding: 0; margin: 25px 0 0; }
.checks li { margin: 11px 0; }
.checks li::before { content: "✓"; color: var(--red); font-weight: 900; margin-right: 10px; }
.tech-panel { min-height: 360px; border-radius: 25px; background: linear-gradient(145deg, #111a29, #273750); display: grid; place-items: center; align-content: center; text-align: center; padding: 35px; color: #fff; box-shadow: 0 18px 40px rgba(11,17,27,.2); }
.tech-circle { display: grid; place-items: center; width: 150px; height: 150px; border: 10px solid var(--red); border-radius: 50%; font-size: 40px; font-weight: 900; margin-bottom: 25px; }
.tech-panel h3 { margin: 0; }
.tech-panel p { color: #cbd5e1 !important; }
.dark-section { background: var(--dark); color: #fff; }
.dark-section .section-heading p:not(.eyebrow) { color: #aab5c7; }
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.feature { border: 1px solid rgba(255,255,255,.13); border-radius: 16px; padding: 28px; background: rgba(255,255,255,.04); }
.feature span { color: var(--gold); font-size: 30px; font-weight: 900; }
.feature h3 { margin: 10px 0; }
.feature p { color: #aab5c7; }
.project-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.project-placeholder { min-height: 220px; border-radius: 16px; display: grid; place-items: center; padding: 20px; text-align: center; color: #fff; font-weight: 900; background: linear-gradient(135deg, #242f43, #d72638); }
.contact-section { padding: 80px 6%; background: linear-gradient(120deg, var(--red), #9e1728); color: #fff; text-align: center; }
.contact-section h2 { font-size: clamp(30px, 4vw, 52px); line-height: 1.1; margin: 0 0 14px; }
.contact-section p:not(.eyebrow) { color: #ffe5e8; }
.contact-actions { justify-content: center; }
.footer { background: #080d15; color: #dbe2ed; padding: 48px 6%; display: grid; grid-template-columns: 1.3fr 1fr 1.4fr; gap: 40px; }
.footer h3 { color: #fff; }
.footer a, .footer p { display: block; color: #aab5c7; font-size: 14px; line-height: 1.8; }
.footer a:hover { color: #fff; }
.footer-site { color: #fff !important; font-weight: 800; }
.copyright { background: #050910; color: #8290a5; text-align: center; padding: 15px 6%; font-size: 12px; }
@media (max-width: 950px) {
  .main-nav { display: none; position: absolute; top: 76px; left: 0; right: 0; padding: 18px 6%; background: #fff; border-bottom: 1px solid var(--border); flex-direction: column; }
  .main-nav.open { display: flex; }
  .menu-toggle { display: block; margin-left: auto; }
  .header-cta { display: none; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .split-section { grid-template-columns: 1fr; }
  .features, .project-grid { grid-template-columns: 1fr 1fr; }
  .footer { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .topbar { display: none; }
  .site-header { padding: 13px 5%; }
  .brand strong { font-size: 12px; }
  .hero, .section, .split-section, .contact-section { padding-left: 5%; padding-right: 5%; }
  .hero { padding-top: 80px; padding-bottom: 75px; }
  .hero-text { font-size: 15px; }
  .cards, .features, .project-grid, .footer { grid-template-columns: 1fr; }
  .tech-panel { min-height: 280px; }
}
.hero {
    background: url("https://ctgcalteknisigroup.web.id/images/hero-bg.jpg") center center / cover no-repeat !important;
}
.tech-panel {
    padding: 0;
    overflow: hidden;
    border-radius: 24px;
}

.tech-panel img {
    width: 100%;
    height: 100%;
    min-height: 380px;
    object-fit: cover;
    display: block;
}
/* SPONSOR SECTION */

.sponsor-section {
    background: #080d17;
    padding: 65px 6%;
    text-align: center;
}

.sponsor-heading h2 {
    color: #ffffff;
    font-size: 30px;
    margin: 10px 0;
    text-transform: uppercase;
}

.sponsor-heading p {
    color: #b9c4d8;
}

.sponsor-logos {
    margin-top: 35px;
    padding: 30px 25px;

    background: #ffffff;
    border-radius: 20px;

    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 35px;
}

.sponsor-logos img {
    width: 125px;
    height: 55px;

    object-fit: contain;

    transition: transform 0.3s ease;
}

.sponsor-logos img:hover {
    transform: scale(1.08);
}

/* MOBILE */

@media (max-width: 768px) {

    .sponsor-heading h2 {
        font-size: 23px;
    }

    .sponsor-logos {
        gap: 20px;
        padding: 25px 15px;
    }

    .sponsor-logos img {
        width: 95px;
        height: 45px;
    }

}
/* MEMBUAT TULISAN PORTOFOLIO DI TENGAH */

#proyek .section-heading {
    text-align: center !important;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

#proyek .section-heading h2,
#proyek .section-heading p {
    text-align: center !important;
}

/* TULISAN DALAM KARTU PROYEK */

#proyek .project-card h3,
#proyek .project-card p {
    text-align: center !important;
}

/* NOMOR KARTU */
#proyek .project-card {
    text-align: center;
}
/* MEMBUAT SEMUA TULISAN PORTOFOLIO DI TENGAH */

#proyek {
    text-align: center;
}

#proyek .section-heading {
    text-align: center !important;
    max-width: 100% !important;
    margin-left: auto;
    margin-right: auto;
}

#proyek .section-heading h2,
#proyek .section-heading p {
    text-align: center !important;
}

#proyek .project-grid {
    text-align: center;
}

#proyek .project-card {
    text-align: center !important;
}

#proyek .project-card h3,
#proyek .project-card p {
    text-align: center !important;
}
/* MEMUSATKAN SEMUA TULISAN PORTOFOLIO */
#proyek {
    text-align: center !important;
}

#proyek .section-heading {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 auto 36px auto !important;
    text-align: center !important;
}

#proyek .section-heading h2,
#proyek .section-heading p,
#proyek .section-heading .eyebrow {
    text-align: center !important;
}

#proyek .project-card h3,
#proyek .project-card p {
    text-align: center !important;
}
/* =====================================================
   KATALOG PRODUK CTG
   ===================================================== */

.katalog-section {
    padding: 90px 6%;
    background: #f5f7fa;
}

.katalog-heading {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto 45px;
    text-align: center !important;
}

.katalog-heading > span {
    display: block;
    color: #e31e2b;
    font-size: 14px;
    font-weight: 900;
    letter-spacing: 3px;
    margin-bottom: 10px;
    text-align: center !important;
}

.katalog-heading h2 {
    margin: 0 0 12px;
    color: #111827;
    font-size: clamp(30px, 4vw, 48px);
    line-height: 1.15;
    text-align: center !important;
}

.katalog-heading p {
    max-width: 750px;
    margin: 0 auto;
    color: #64748b;
    font-size: 16px;
    line-height: 1.7;
    text-align: center !important;
}


/* GRID */

.katalog-grid {
    width: 100%;
    max-width: 1250px;
    margin: 0 auto;

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


/* CARD */

.katalog-card {
    background: #ffffff;
    border-radius: 20px;
    overflow: hidden;

    border: 1px solid #e5e7eb;

    box-shadow:
        0 10px 35px rgba(15, 23, 42, 0.10);

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

.katalog-card:hover {
    transform: translateY(-7px);

    box-shadow:
        0 18px 45px rgba(15, 23, 42, 0.16);
}


/* GAMBAR KATALOG */

.katalog-card img {
    display: block;

    width: 100%;
    height: auto;

    aspect-ratio: 16 / 9;

    object-fit: cover;

    background: #ffffff;
}


/* INFORMASI */

.katalog-info {
    padding: 22px;
    text-align: center;
}

.katalog-info h3 {
    margin: 0 0 8px;

    color: #111827;

    font-size: 24px;
    font-weight: 900;
}

.katalog-info p {
    margin: 0 0 18px;

    color: #64748b;

    font-size: 14px;
    line-height: 1.6;
}


/* TOMBOL */

.katalog-btn {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    min-width: 150px;

    padding: 12px 22px;

    background: #e31e2b;
    color: #ffffff !important;

    border-radius: 10px;

    text-decoration: none !important;

    font-size: 14px;
    font-weight: 800;

    transition:
        background 0.2s ease,
        transform 0.2s ease;
}

.katalog-btn:hover {
    background: #b91520;

    transform: translateY(-2px);
}


/* TABLET */

@media (max-width: 950px) {

    .katalog-grid {
        grid-template-columns: repeat(2, 1fr);
/* =====================================================
   KATALOG PRODUK CTG
   ===================================================== */

.katalog-section {
    padding: 90px 6%;
    background: #f5f7fa;
}

.katalog-heading {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto 45px;
    text-align: center !important;
}

.katalog-heading > span {
    display: block;
    color: #e31e2b;
    font-size: 14px;
    font-weight: 900;
    letter-spacing: 3px;
    margin-bottom: 10px;
    text-align: center !important;
}

.katalog-heading h2 {
    margin: 0 0 12px;
    color: #111827;
    font-size: clamp(30px, 4vw, 48px);
    line-height: 1.15;
    text-align: center !important;
}

.katalog-heading p {
    max-width: 750px;
    margin: 0 auto;
    color: #64748b;
    font-size: 16px;
    line-height: 1.7;
    text-align: center !important;
}


/* GRID */

.katalog-grid {
    width: 100%;
    max-width: 1250px;
    margin: 0 auto;

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


/* CARD */

.katalog-card {
    background: #ffffff;
    border-radius: 20px;
    overflow: hidden;

    border: 1px solid #e5e7eb;

    box-shadow:
        0 10px 35px rgba(15, 23, 42, 0.10);

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

.katalog-card:hover {
    transform: translateY(-7px);

    box-shadow:
        0 18px 45px rgba(15, 23, 42, 0.16);
}


/* GAMBAR KATALOG */

.katalog-card img {
    display: block;

    width: 100%;
    height: auto;

    aspect-ratio: 16 / 9;

    object-fit: cover;

    background: #ffffff;
}


/* INFORMASI */

.katalog-info {
    padding: 22px;
    text-align: center;
}

.katalog-info h3 {
    margin: 0 0 8px;

    color: #111827;

    font-size: 24px;
    font-weight: 900;
}

.katalog-info p {
    margin: 0 0 18px;

    color: #64748b;

    font-size: 14px;
    line-height: 1.6;
}


/* TOMBOL */

.katalog-btn {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    min-width: 150px;

    padding: 12px 22px;

    background: #e31e2b;
    color: #ffffff !important;

    border-radius: 10px;

    text-decoration: none !important;

    font-size: 14px;
    font-weight: 800;

    transition:
        background 0.2s ease,
        transform 0.2s ease;
}

.katalog-btn:hover {
    background: #b91520;

    transform: translateY(-2px);
}


/* TABLET */

@media (max-width: 950px) {

    .katalog-grid {
        grid-template-columns: repeat(2, 1fr);
  /* =====================================================
   KATALOG PRODUK CTG
   ===================================================== */

.katalog-section {
    padding: 90px 6%;
    background: #f5f7fa;
}

.katalog-heading {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto 45px;
    text-align: center !important;
}

.katalog-heading > span {
    display: block;
    color: #e31e2b;
    font-size: 14px;
    font-weight: 900;
    letter-spacing: 3px;
    margin-bottom: 10px;
    text-align: center !important;
}

.katalog-heading h2 {
    margin: 0 0 12px;
    color: #111827;
    font-size: clamp(30px, 4vw, 48px);
    line-height: 1.15;
    text-align: center !important;
}

.katalog-heading p {
    max-width: 750px;
    margin: 0 auto;
    color: #64748b;
    font-size: 16px;
    line-height: 1.7;
    text-align: center !important;
}


/* GRID */

.katalog-grid {
    width: 100%;
    max-width: 1250px;
    margin: 0 auto;

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


/* CARD */

.katalog-card {
    background: #ffffff;
    border-radius: 20px;
    overflow: hidden;

    border: 1px solid #e5e7eb;

    box-shadow:
        0 10px 35px rgba(15, 23, 42, 0.10);

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

.katalog-card:hover {
    transform: translateY(-7px);

    box-shadow:
        0 18px 45px rgba(15, 23, 42, 0.16);
}


/* GAMBAR KATALOG */

.katalog-card img {
    display: block;

    width: 100%;
    height: auto;

    aspect-ratio: 16 / 9;

    object-fit: cover;

    background: #ffffff;
}


/* INFORMASI */

.katalog-info {
    padding: 22px;
    text-align: center;
}

.katalog-info h3 {
    margin: 0 0 8px;

    color: #111827;

    font-size: 24px;
    font-weight: 900;
}

.katalog-info p {
    margin: 0 0 18px;

    color: #64748b;

    font-size: 14px;
    line-height: 1.6;
}


/* TOMBOL */

.katalog-btn {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    min-width: 150px;

    padding: 12px 22px;

    background: #e31e2b;
    color: #ffffff !important;

    border-radius: 10px;

    text-decoration: none !important;

    font-size: 14px;
    font-weight: 800;

    transition:
        background 0.2s ease,
        transform 0.2s ease;
}

.katalog-btn:hover {
    background: #b91520;

    transform: translateY(-2px);
}


/* TABLET */

@media (max-width: 950px) {

    .katalog-grid {
        grid-template-columns: repeat(2, 1fr);
    }

}


/* HP */

@media (max-width: 600px) {

    .katalog-section {
        padding: 60px 20px;
    }

    .katalog-grid {
        grid-template-columns: 1fr;
        gap: 22px;
    }

    .katalog-heading h2 {
        font-size: 30px;
    }

    .katalog-card {
        border-radius: 16px;
    }

}
		.catalog-image {
    width: 50%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    box-sizing: border-box;
}

.catalog-image img {
    width: 500%;
    height: auto;
    display: block;
    border-radius: 16px;
}
/* FORM PESANAN */
.order-modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 9999;

    align-items: flex-start;
    justify-content: center;

    width: 100%;
    height: 100vh;

    overflow-y: auto;
    overflow-x: hidden;

    padding: 80px 15px 30px;
    box-sizing: border-box;

    -webkit-overflow-scrolling: touch;
}

/* FORM MUNCUL SAAT ACTIVE */
.order-modal.active {
    display: flex;
}

.order-box {
    position: relative;
    width: 100%;
    max-width: 700px;

    height: auto;
    max-height: none;

    overflow: visible;

    margin: 0 auto 30px;
    box-sizing: border-box;
}

@media (max-width: 768px) {
    .order-modal {
        padding: 70px 10px 25px;
    }

    .order-box {
        width: 100%;
        margin-bottom: 20px;
    }
}