/* ==========================================================================
   Rizqon Technical Services Contracting LLC — Global Stylesheet
   ========================================================================== */

:root {
    --bg: #0a0a0a;
    --bg-alt: #000000;
    --card: #131313;
    --card-border: #232323;
    --gold: #d4a24c;
    --gold-light: #e8c078;
    --gold-dark: #a97f36;
    --text: #f5f5f5;
    --text-muted: #b9b9b9;
    --text-faint: #888888;
    --radius: 10px;
    --max-width: 1200px;
    --header-h: 84px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--header-h);
}

body {
    margin: 0;
    font-family: 'Inter', 'Segoe UI', Arial, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

img {
    max-width: 100%;
    display: block;
}

a {
    text-decoration: none;
    color: var(--gold);
    transition: color .2s ease;
}

h1, h2, h3, h4 {
    font-family: 'Poppins', 'Segoe UI', Arial, sans-serif;
    line-height: 1.25;
    margin: 0 0 16px;
    color: #fff;
}

p {
    margin: 0 0 16px;
    color: var(--text-muted);
}

ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
}

.section {
    padding: 80px 0;
}

.section-alt {
    background: var(--bg-alt);
    border-top: 1px solid var(--card-border);
    border-bottom: 1px solid var(--card-border);
}

.section-head {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 48px;
}

.eyebrow {
    display: inline-block;
    color: var(--gold);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.section-head h2 {
    font-size: clamp(26px, 4vw, 36px);
    margin-bottom: 12px;
}

.section-head p {
    margin: 0;
}

.gold {
    color: var(--gold);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 13px 28px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 15px;
    border: 2px solid transparent;
    cursor: pointer;
    white-space: nowrap;
}

.btn-primary {
    background: linear-gradient(135deg, var(--gold-light), var(--gold-dark));
    color: #000;
}

.btn-primary:hover {
    filter: brightness(1.08);
    color: #000;
}

.btn-outline {
    border-color: var(--gold);
    color: var(--gold);
    background: transparent;
}

.btn-outline:hover {
    background: var(--gold);
    color: #000;
}

.btn-block {
    width: 100%;
}

/* ==========================================================================
   Header / Navigation
   ========================================================================== */

.top-bar {
    background: var(--bg-alt);
    border-bottom: 1px solid var(--card-border);
    font-size: 13px;
    color: var(--text-faint);
}

.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 38px;
}

.top-bar a {
    color: var(--text-faint);
}

.top-bar a:hover {
    color: var(--gold);
}

.top-bar-links {
    display: flex;
    gap: 20px;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(10, 10, 10, 0.97);
    backdrop-filter: blur(6px);
    border-bottom: 1px solid var(--card-border);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--header-h);
    gap: 12px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.logo img {
    height: 44px;
    width: 44px;
    object-fit: contain;
    border-radius: 6px;
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.logo-text strong {
    color: #fff;
    font-family: 'Poppins', sans-serif;
    font-size: 19px;
    letter-spacing: .5px;
}

.logo-text small {
    color: var(--gold);
    font-size: 11px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.main-nav ul {
    display: flex;
    gap: 14px;
}

.main-nav a {
    color: var(--text);
    font-size: 15px;
    font-weight: 500;
    white-space: nowrap;
    padding: 6px 0;
    position: relative;
}

.main-nav a:hover,
.main-nav a[aria-current="page"] {
    color: var(--gold);
}

.main-nav a[aria-current="page"]::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -4px;
    height: 2px;
    background: var(--gold);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.header-phone {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #fff;
    font-weight: 600;
    font-size: 12px;
    white-space: nowrap;
}

.header-phone:hover {
    color: var(--gold);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 34px;
    height: 34px;
    background: none;
    border: 1px solid var(--card-border);
    border-radius: 6px;
    cursor: pointer;
}

.nav-toggle span {
    display: block;
    height: 2px;
    width: 18px;
    margin: 0 auto;
    background: var(--gold);
}

/* ==========================================================================
   Hero (Home)
   ========================================================================== */

.hero {
    position: relative;
    padding: 100px 0 90px;
    background:
        radial-gradient(circle at 85% 20%, rgba(212, 162, 76, 0.14), transparent 45%),
        linear-gradient(180deg, #000 0%, #0a0a0a 100%);
    overflow: hidden;
    border-bottom: 1px solid var(--card-border);
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(120deg, transparent 48%, rgba(212, 162, 76, 0.08) 49%, rgba(212, 162, 76, 0.08) 50%, transparent 51%),
        linear-gradient(120deg, transparent 68%, rgba(212, 162, 76, 0.06) 69%, rgba(212, 162, 76, 0.06) 70%, transparent 71%);
    pointer-events: none;
}

.hero-grid {
    position: relative;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 48px;
    align-items: center;
}

.hero h1 {
    font-size: clamp(30px, 4.4vw, 48px);
    margin-bottom: 18px;
}

.hero-lede {
    font-size: 17px;
    color: var(--text-muted);
    max-width: 560px;
}

.hero-cta {
    display: flex;
    gap: 16px;
    margin-top: 30px;
    flex-wrap: wrap;
}

.hero-badges {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    margin-top: 46px;
}

.hero-badge {
    background: var(--card);
    border: 1px solid var(--card-border);
    border-radius: var(--radius);
    padding: 16px 10px;
    text-align: center;
}

.hero-badge .icon {
    font-size: 24px;
    display: block;
    margin-bottom: 8px;
}

.hero-badge span {
    display: block;
    font-size: 12.5px;
    color: var(--text-muted);
    font-weight: 600;
}

.hero-panel {
    background: var(--card);
    border: 1px solid var(--card-border);
    border-radius: 16px;
    padding: 36px;
    text-align: center;
    position: relative;
}

.hero-panel img {
    max-width: 200px;
    margin: 0 auto 20px;
}

.hero-panel h3 {
    color: var(--gold);
    font-size: 18px;
    margin-bottom: 6px;
}

.hero-panel-list {
    margin-top: 22px;
    text-align: left;
    border-top: 1px solid var(--card-border);
    padding-top: 20px;
}

.hero-panel-list li {
    display: flex;
    gap: 10px;
    padding: 7px 0;
    color: var(--text-muted);
    font-size: 14.5px;
}

.hero-panel-list li::before {
    content: "✓";
    color: var(--gold);
    font-weight: 700;
}

/* ==========================================================================
   Page hero (inner pages)
   ========================================================================== */

.page-hero {
    padding: 64px 0 54px;
    background: linear-gradient(180deg, #000 0%, #0a0a0a 100%);
    border-bottom: 1px solid var(--card-border);
    text-align: center;
}

.page-hero h1 {
    font-size: clamp(28px, 4vw, 40px);
    margin-bottom: 10px;
}

.breadcrumb {
    font-size: 13.5px;
    color: var(--text-faint);
    margin-bottom: 16px;
}

.breadcrumb a {
    color: var(--text-faint);
}

.breadcrumb a:hover {
    color: var(--gold);
}

.page-hero-lede {
    max-width: 680px;
    margin: 0 auto;
    color: var(--text-muted);
}

/* ==========================================================================
   Cards / Grids
   ========================================================================== */

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

.grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

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

.card {
    background: var(--card);
    border: 1px solid var(--card-border);
    border-radius: var(--radius);
    padding: 28px;
}

.service-card {
    background: var(--card);
    border: 1px solid var(--card-border);
    border-left: 3px solid var(--gold);
    border-radius: var(--radius);
    padding: 26px;
    transition: transform .2s ease, border-color .2s ease;
}

.service-card:hover {
    transform: translateY(-4px);
    border-color: var(--gold);
}

.service-card .icon {
    font-size: 30px;
    margin-bottom: 14px;
    display: block;
}

.service-card h3 {
    font-size: 18px;
    margin-bottom: 8px;
}

.service-card p {
    font-size: 14.5px;
    margin-bottom: 0;
}

.service-card a.more {
    display: inline-block;
    margin-top: 12px;
    font-size: 13.5px;
    font-weight: 600;
}

.icon-badge {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: rgba(212, 162, 76, 0.12);
    border: 1px solid rgba(212, 162, 76, 0.35);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    margin-bottom: 16px;
}

.strength-card {
    background: var(--card);
    border: 1px solid var(--card-border);
    border-radius: var(--radius);
    padding: 24px;
}

.strength-card h3 {
    font-size: 16.5px;
    margin-bottom: 6px;
}

.strength-card p {
    font-size: 14px;
    margin-bottom: 0;
}

/* Client segments */
.segments-strip {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
}

.segment-item {
    text-align: center;
    background: var(--card);
    border: 1px solid var(--card-border);
    border-radius: var(--radius);
    padding: 22px 12px;
}

.segment-item .icon-badge {
    margin: 0 auto 14px;
}

.segment-item h4 {
    font-size: 14.5px;
    margin: 0;
    color: #fff;
}

/* Tagline banner */
.banner {
    background: linear-gradient(135deg, var(--gold-light), var(--gold-dark));
    color: #000;
    text-align: center;
    border-radius: var(--radius);
    padding: 20px;
    font-weight: 700;
    font-size: 17px;
}

/* CTA section */
.cta-section {
    background:
        radial-gradient(circle at 15% 30%, rgba(212, 162, 76, 0.12), transparent 45%),
        #000;
    border-top: 1px solid var(--card-border);
    border-bottom: 1px solid var(--card-border);
    padding: 70px 0;
    text-align: center;
}

.cta-section h2 {
    font-size: clamp(24px, 3.6vw, 32px);
}

.cta-section .btn-row {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-top: 26px;
    flex-wrap: wrap;
}

/* ==========================================================================
   About page
   ========================================================================== */

.about-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 56px;
    align-items: center;
}

.about-visual {
    background: var(--card);
    border: 1px solid var(--card-border);
    border-radius: 16px;
    padding: 40px;
    text-align: center;
}

.about-visual img {
    max-width: 180px;
    margin: 0 auto 18px;
}

.stat-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-top: 24px;
    border-top: 1px solid var(--card-border);
    padding-top: 24px;
}

.stat-row div {
    text-align: center;
}

.stat-row strong {
    display: block;
    color: var(--gold);
    font-size: 22px;
    font-family: 'Poppins', sans-serif;
}

.stat-row span {
    font-size: 12.5px;
    color: var(--text-muted);
}

.vm-card {
    background: var(--card);
    border: 1px solid var(--card-border);
    border-radius: var(--radius);
    padding: 34px;
    position: relative;
}

.vm-card .icon-badge {
    margin-bottom: 18px;
}

.vm-card blockquote {
    margin: 0;
    font-size: 17px;
    color: #eee;
    font-style: italic;
    line-height: 1.7;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
}

.highlight-list li {
    display: flex;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid var(--card-border);
    color: var(--text-muted);
    font-size: 15px;
}

.highlight-list li:last-child {
    border-bottom: none;
}

.highlight-list li::before {
    content: "✓";
    color: var(--gold);
    font-weight: 700;
    flex-shrink: 0;
}

/* ==========================================================================
   Services page detail sections
   ========================================================================== */

.service-detail {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 48px;
    align-items: center;
    padding: 60px 0;
    border-bottom: 1px solid var(--card-border);
}

.service-detail:last-of-type {
    border-bottom: none;
}

.service-detail.reverse {
    direction: rtl;
}

.service-detail.reverse > * {
    direction: ltr;
}

.service-visual {
    background: var(--card);
    border: 1px solid var(--card-border);
    border-radius: 16px;
    aspect-ratio: 4 / 3;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold);
    position: relative;
    overflow: hidden;
}

.service-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.service-visual::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, transparent 60%, rgba(212, 162, 76, 0.15));
    pointer-events: none;
}

.service-number {
    position: absolute;
    top: 16px;
    left: 16px;
    font-family: 'Poppins', sans-serif;
    font-size: 13px;
    color: var(--text-faint);
    border: 1px solid var(--card-border);
    padding: 4px 10px;
    border-radius: 20px;
    z-index: 1;
}

.service-detail h2 {
    font-size: 26px;
}

.service-list {
    margin-top: 18px;
}

.service-list li {
    padding: 9px 0;
    padding-left: 26px;
    position: relative;
    color: var(--text-muted);
    border-bottom: 1px solid var(--card-border);
}

.service-list li:last-child {
    border-bottom: none;
}

.service-list li::before {
    content: "◆";
    color: var(--gold);
    font-size: 10px;
    position: absolute;
    left: 0;
    top: 13px;
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.process-step {
    text-align: center;
    position: relative;
}

.process-step .num {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    border: 2px solid var(--gold);
    color: var(--gold);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    margin: 0 auto 14px;
}

.process-step h4 {
    font-size: 15.5px;
    margin-bottom: 6px;
}

.process-step p {
    font-size: 13.5px;
    margin: 0;
}

/* ==========================================================================
   Portfolio page
   ========================================================================== */

.portfolio-category {
    margin-bottom: 64px;
}

.portfolio-category-head {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
}

.portfolio-category-head .num {
    font-family: 'Poppins', sans-serif;
    font-size: 15px;
    color: #000;
    background: var(--gold);
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.portfolio-category-head h2 {
    margin: 0;
    font-size: 22px;
}

.project-card {
    background: var(--card);
    border: 1px solid var(--card-border);
    border-radius: var(--radius);
    padding: 26px;
}

.project-card h3 {
    font-size: 16.5px;
    color: var(--gold);
    margin-bottom: 12px;
}

.project-meta {
    font-size: 13px;
}

.project-meta dt {
    color: #fff;
    font-weight: 600;
    margin-top: 12px;
}

.project-meta dt:first-child {
    margin-top: 0;
}

.project-meta dd {
    margin: 4px 0 0;
    color: var(--text-muted);
}

/* ==========================================================================
   Contact page
   ========================================================================== */

.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: start;
}

.contact-info-list .card {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    margin-bottom: 18px;
}

.contact-info-list .icon-badge {
    margin-bottom: 0;
    flex-shrink: 0;
}

.contact-info-list h3 {
    font-size: 15.5px;
    margin-bottom: 6px;
}

.contact-info-list p {
    margin-bottom: 2px;
    font-size: 14.5px;
}

.map-frame {
    border: 1px solid var(--card-border);
    border-radius: var(--radius);
    overflow: hidden;
    margin-top: 24px;
}

.map-frame iframe {
    width: 100%;
    height: 280px;
    border: 0;
    display: block;
    filter: grayscale(0.3) invert(0.92) contrast(0.9);
}

.contact-form {
    background: var(--card);
    border: 1px solid var(--card-border);
    border-radius: var(--radius);
    padding: 34px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form-group {
    margin-bottom: 18px;
}

.form-group label {
    display: block;
    font-size: 13.5px;
    font-weight: 600;
    margin-bottom: 7px;
    color: #ddd;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    background: #0a0a0a;
    border: 1px solid var(--card-border);
    border-radius: 6px;
    padding: 12px 14px;
    color: #fff;
    font-family: inherit;
    font-size: 14.5px;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--gold);
}

.form-note {
    font-size: 12.5px;
    color: var(--text-faint);
    margin-top: 10px;
}

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer {
    background: var(--bg-alt);
    border-top: 1px solid var(--card-border);
    padding-top: 60px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1.2fr 1.3fr;
    gap: 36px;
    padding-bottom: 44px;
}

.footer-logo {
    height: 40px;
    width: 40px;
    margin-bottom: 14px;
    border-radius: 6px;
}

.footer-about p {
    font-size: 14px;
}

.footer-col h4 {
    color: var(--gold);
    font-size: 15px;
    margin-bottom: 16px;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a,
.footer-contact li {
    color: var(--text-muted);
    font-size: 14px;
}

.footer-col ul li a:hover {
    color: var(--gold);
}

.footer-bottom {
    border-top: 1px solid var(--card-border);
    padding: 20px 0;
    text-align: center;
    color: var(--text-faint);
    font-size: 13px;
}

.footer-bottom a {
    color: var(--text-faint);
}

/* WhatsApp floating button */
.whatsapp-float {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 56px;
    height: 56px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: #fff;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.4);
    z-index: 999;
}

.whatsapp-float:hover {
    filter: brightness(1.08);
    color: #fff;
}

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 980px) {
    .hero-grid,
    .about-grid,
    .contact-layout {
        grid-template-columns: 1fr;
    }

    .hero-panel {
        max-width: 420px;
        margin: 0 auto;
    }

    .grid-3,
    .grid-4,
    .segments-strip {
        grid-template-columns: repeat(2, 1fr);
    }

    .process-steps {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .service-detail,
    .service-detail.reverse {
        grid-template-columns: 1fr;
        direction: ltr;
    }

    .service-visual {
        aspect-ratio: 16 / 9;
        order: -1;
    }
}

@media (max-width: 760px) {
    .main-nav {
        position: fixed;
        top: var(--header-h);
        left: 0;
        right: 0;
        background: #050505;
        border-bottom: 1px solid var(--card-border);
        max-height: 0;
        overflow: hidden;
        transition: max-height .3s ease;
    }

    .main-nav.open {
        max-height: 400px;
    }

    .main-nav ul {
        flex-direction: column;
        padding: 10px 24px 20px;
        gap: 4px;
    }

    .main-nav a {
        display: block;
        padding: 12px 0;
        border-bottom: 1px solid var(--card-border);
    }

    .nav-toggle {
        display: flex;
    }

    .header-phone {
        display: none;
    }

    .top-bar-links {
        gap: 12px;
        font-size: 12px;
    }

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

@media (max-width: 600px) {
    .grid-3,
    .grid-4,
    .segments-strip,
    .form-row,
    .hero-badges {
        grid-template-columns: 1fr 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .section {
        padding: 56px 0;
    }

    .top-bar .container {
        flex-wrap: wrap;
        height: auto;
        padding: 6px 24px;
        gap: 4px;
    }
}
