/* ============================================================
   maximetads — Black & Gold Premium Theme
   ============================================================ */

:root {
    --gold:          #c9a84c;
    --gold-light:    #e8c96a;
    --gold-dark:     #9a7a2e;
    --gold-glow:     rgba(201, 168, 76, 0.22);

    --bg-page:       #0d0d0d;
    --bg-surface:    #141414;
    --bg-raised:     #1c1c1c;
    --bg-soft:       #181818;

    --text-on-dark:  #f0e8d0;
    --text-muted:    #8a7e6a;
    --text-bright:   #ffffff;

    --border-gold:   rgba(201, 168, 76, 0.35);
    --border-dim:    rgba(255, 255, 255, 0.08);
    --shadow:        0 16px 40px rgba(0, 0, 0, 0.55);
    --shadow-gold:   0 8px 32px rgba(201, 168, 76, 0.18);
}

/* ── Base ─────────────────────────────────────────────────── */

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    font-family: 'Hind', sans-serif;
    line-height: 1.65;
    color: var(--text-on-dark);
    background: var(--bg-page);
}

h1, h2, h3 {
    font-weight: 700;
    line-height: 1.2;
}

a { text-decoration: none; }

/* ── Navbar ────────────────────────────────────────────────── */

.header .navbar {
    background: rgba(10, 10, 10, 0.97);
    border-bottom: 1px solid var(--border-gold);
    backdrop-filter: blur(12px);
}

.header .navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.menu-container.js_nav-item {
    display: flex;
    align-items: center;
}

.logo,
.logo-wrap {
    display: flex;
    align-items: center;
    min-height: 72px;
}

.logo-img {
    max-height: 42px;
    width: auto;
    display: block !important;
    opacity: 1 !important;
}

.logo-img-active {
    display: none !important;
}

.navbar-collapse.nav-collapse {
    margin-left: auto;
}

.navbar-nav {
    display: flex;
    align-items: center;
}

.navbar-nav > li {
    display: flex;
    align-items: center;
}

.navbar-nav > li > a,
.nav-item-child {
    color: var(--text-on-dark) !important;
    font-weight: 600;
    font-size: 14px;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    min-height: 72px;
    padding: 0 18px !important;
    position: relative;
    transition: color 0.2s;
}

.navbar-nav > li > a::after,
.nav-item-child::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 18px;
    right: 18px;
    height: 2px;
    background: var(--gold);
    transform: scaleX(0);
    transition: transform 0.25s;
}

.navbar-nav > li > a:hover,
.nav-item-child:hover {
    color: var(--gold-light) !important;
}

.navbar-nav > li > a:hover::after,
.nav-item-child:hover::after {
    transform: scaleX(1);
}

/* ── Section Helpers ───────────────────────────────────────── */

.section-block {
    padding: 80px 0;
    background: var(--bg-page);
}

.section-soft {
    background: var(--bg-soft);
}

.section-intro {
    max-width: 760px;
    margin: 0 auto 44px;
    text-align: center;
}

.section-kicker {
    display: inline-block;
    text-transform: uppercase;
    letter-spacing: 2.5px;
    font-size: 11px;
    font-weight: 700;
    color: var(--gold);
    margin-bottom: 10px;
    border: 1px solid var(--border-gold);
    padding: 4px 14px;
    border-radius: 20px;
}

.section-intro h2 {
    margin: 0 0 12px;
    font-size: 40px;
    font-weight: 700;
    color: var(--text-bright);
}

.section-intro p {
    margin: 0;
    color: var(--text-muted);
    font-size: 18px;
}

.section-intro-light .section-kicker {
    color: var(--gold-light);
    border-color: rgba(232, 201, 106, 0.4);
}

.section-intro-light h2 {
    color: var(--text-bright);
}

.section-intro-light p {
    color: rgba(240, 232, 208, 0.75);
}

/* ── Hero ──────────────────────────────────────────────────── */

#carousel-example-generic .item {
    background-size: cover;
    background-position: center;
    min-height: 86vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.maximet-main-container {
    padding-top: 130px;
    padding-bottom: 90px;
}

.hero-copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.maximet-main-container h1 {
    font-size: 68px;
    font-weight: 700;
    letter-spacing: 1px;
    color: var(--text-bright);
    margin-bottom: 4px !important;
    text-transform: lowercase;
    background: linear-gradient(90deg, #ffffff 30%, var(--gold-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.maximet-main-container p {
    max-width: 820px;
    text-align: center;
    margin: 16px auto 0 !important;
    font-size: 19px !important;
    color: rgba(240, 232, 208, 0.85);
    line-height: 1.75;
}

/* ── Platform Cards ────────────────────────────────────────── */

#why .feature-card {
    border-top: 3px solid var(--gold);
}

.feature-card {
    background: var(--bg-surface);
    border-radius: 16px;
    padding: 28px;
    height: 100%;
    box-shadow: var(--shadow);
    border: 1px solid var(--border-dim);
    transition: transform 0.25s, box-shadow 0.25s;
}

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

.feature-card-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 20px;
}

.feature-card-header h2 {
    margin: 0;
    font-size: 22px;
    color: var(--text-bright);
}

.feature-card-header i {
    font-size: 24px;
    color: var(--gold);
    flex-shrink: 0;
}

.pricing-list-item {
    padding: 9px 0;
    border-bottom: 1px solid var(--border-dim);
    color: var(--text-muted);
    font-size: 15px;
    position: relative;
    padding-left: 16px;
}

.pricing-list-item::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: var(--gold-dark);
    font-size: 12px;
    top: 11px;
}

.pricing-list-item:last-child {
    border-bottom: none;
}

/* ── Channels ──────────────────────────────────────────────── */

.benefits {
    padding: 0;
}

.benefits .item.active {
    background-size: cover;
    background-position: center;
    border-radius: 20px;
    margin: 0 auto;
    max-width: 1200px;
    padding: 44px 28px 48px;
    border: 1px solid var(--border-gold);
}

.benefits__inner {
    display: flex;
    justify-content: center;
    gap: 18px;
    flex-wrap: wrap;
    margin-top: 20px;
}

.benefits__element {
    width: 164px;
    min-height: 148px;
    background: rgba(201, 168, 76, 0.09);
    border: 1px solid rgba(201, 168, 76, 0.3);
    border-radius: 14px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: background 0.2s, border-color 0.2s;
}

.benefits__element:hover {
    background: rgba(201, 168, 76, 0.18);
    border-color: var(--gold);
}

.benefits__icon {
    width: 50px;
    height: 50px;
    object-fit: contain;
}

.benefits__title {
    margin: 0;
    font-weight: 600;
    font-size: 14px;
    color: var(--text-on-dark);
}

/* ── Solutions Grid ────────────────────────────────────────── */

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

#about .masonry-grid-sizer {
    display: none;
}

#about .masonry-grid-item {
    width: 100%;
    background: var(--bg-surface);
    border-radius: 16px;
    padding: 24px;
    margin-bottom: 0;
    box-shadow: var(--shadow);
    border: 1px solid var(--border-dim);
    transition: transform 0.25s, border-color 0.25s;
}

#about .masonry-grid-item:hover {
    transform: translateY(-4px);
    border-color: var(--border-gold);
}

#about .masonry-grid-item img {
    border-radius: 12px;
    width: 100%;
    height: 210px;
    object-fit: cover;
    margin-bottom: 18px;
    border: 1px solid var(--border-dim);
}

#about .masonry-grid-item h2 {
    margin-top: 0;
    margin-bottom: 8px;
    font-size: 24px;
    color: var(--gold);
    font-weight: 700;
    text-align: center;
}

#about .masonry-grid-item p {
    margin: 0;
    color: var(--text-muted);
    line-height: 1.7;
    text-align: center;
}

/* ── Contact ───────────────────────────────────────────────── */

.contact {
    padding-top: 0;
    background: transparent;
}

.contact-cta {
    max-width: 680px;
    margin: 0 auto;
    text-align: center;
    background: var(--bg-surface);
    border: 1px solid var(--border-gold);
    border-radius: 24px;
    padding: 60px 48px;
    box-shadow: var(--shadow-gold);
}

.contact-cta h2 {
    margin: 10px 0 18px;
    font-size: 42px;
    font-weight: 700;
    color: var(--text-bright);
}

.contact-cta p {
    color: var(--text-muted);
    font-size: 17px;
    line-height: 1.75;
    margin-bottom: 34px;
}

.contact-email-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, var(--gold-dark) 0%, var(--gold) 60%, var(--gold-light) 100%);
    color: #0d0d0d;
    font-weight: 700;
    font-size: 16px;
    letter-spacing: 0.3px;
    padding: 15px 32px;
    border-radius: 12px;
    text-decoration: none;
    transition: opacity 0.2s, transform 0.2s;
}

.contact-email-btn:hover {
    opacity: 0.88;
    transform: translateY(-2px);
    color: #0d0d0d;
}

.contact-email-btn i {
    font-size: 18px;
}

.contact-social {
    margin-top: 28px;
    display: flex;
    justify-content: center;
    gap: 12px;
}

.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 10px;
    background: var(--bg-raised);
    border: 1px solid var(--border-gold);
    color: var(--gold);
    text-decoration: none;
    font-size: 18px;
    transition: background 0.2s, color 0.2s;
}

.social-icon:hover {
    background: var(--gold);
    color: #0d0d0d;
}

/* ── Footer ────────────────────────────────────────────────── */

footer {
    background: #080808;
    border-top: 1px solid var(--border-gold);
    color: var(--text-muted);
    padding: 28px 0;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.footer-logo {
    font-size: 22px;
    font-weight: 700;
    text-transform: lowercase;
    background: linear-gradient(90deg, var(--gold-light), var(--gold));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ── Responsive ────────────────────────────────────────────── */

@media (max-width: 1200px) {
    #about .masonry-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 992px) {
    .maximet-main-container h1 { font-size: 50px; }
    .section-intro h2            { font-size: 34px; }

    .contact-cta {
        padding: 40px 28px;
    }

    .contact-cta h2 { font-size: 34px; }
}

@media (max-width: 767px) {
    .header .navbar .container { display: block; }

    .logo,
    .logo-wrap,
    .navbar-nav > li > a,
    .nav-item-child {
        min-height: unset;
    }

    .navbar-nav { display: block; }

    .section-block           { padding: 60px 0; }

    #carousel-example-generic .item { min-height: 74vh; }

    .maximet-main-container {
        padding-top: 108px;
        padding-bottom: 64px;
    }

    .maximet-main-container h1  { font-size: 38px; }
    .maximet-main-container p   { font-size: 16px !important; }

    .section-intro h2 { font-size: 30px; }
    .section-intro p  { font-size: 16px; }

    #about .masonry-grid { grid-template-columns: 1fr; }

    #about .masonry-grid-item img { height: 190px; }

    .benefits .item.active {
        margin: 0 10px;
        padding: 28px 12px 32px;
    }

    .benefits__element {
        width: 148px;
        min-height: 135px;
    }

    #about .masonry-grid-item,
    .feature-card {
        padding: 20px;
    }
}
