/* ============================================================
   Malthor — R&D Studies for Structured Financial Products
   Exact CSS matching original Luxa theme + pt-addons
   ============================================================ */

/* --- Icon Fonts ------------------------------------------- */
@font-face {
    font-family: "essential-set";
    src: url("../fonts/essential-set.woff2") format("woff2"),
         url("../fonts/essential-set.woff") format("woff"),
         url("../fonts/essential-set.ttf") format("truetype");
    font-weight: normal; font-style: normal;
}
@font-face {
    font-family: "web-design";
    src: url("../fonts/web-design.woff2") format("woff2"),
         url("../fonts/web-design.woff") format("woff"),
         url("../fonts/web-design.ttf") format("truetype");
    font-weight: normal; font-style: normal;
}
[class^="essential-set-"], [class*=" essential-set-"],
[class^="web-design-"], [class*=" web-design-"] {
    font-family: "essential-set", "web-design";
    -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
    font-style: normal; font-variant: normal; font-weight: normal;
    line-height: 1; text-decoration: none; text-transform: none;
}
.essential-set-route:before    { content: "\E107"; }
.essential-set-settings:before { content: "\E119"; }
.web-design-view:before        { content: "\E012"; }

/* --- Reset & Base ----------------------------------------- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
body {
    font-family: roboto, Arial, Helvetica, sans-serif;
    font-weight: 400; font-size: 16px;
    background-color: #1a1a1a; color: #ffffff; line-height: 1.6;
    -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
    -webkit-overflow-scrolling: touch;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* --- Header ----------------------------------------------- */
.site-header { position: absolute; top: 0; left: 0; right: 0; z-index: 100; padding: 20px 0; }
.site-header .logo { width: 60px; }

/* --- Hero (static) ---------------------------------------- */
.hero {
    position: relative; width: 100%; height: 100vh; min-height: 500px;
    background-color: #0a0a0a;
    background-size: cover; background-position: center; background-repeat: no-repeat;
    transition: opacity 0.8s ease;
}
.hero-overlay {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background-color: rgba(10, 10, 10, 0.3); z-index: 1;
}
.hero-content {
    position: relative; z-index: 2; height: 100%;
    display: flex; flex-direction: column; justify-content: center; padding-top: 80px;
}
.hero-label {
    font-size: 14px; font-weight: 500; text-transform: uppercase;
    letter-spacing: 0.7px; color: #feb406; margin-bottom: 20px;
}
.hero-title {
    font-family: Poppins, Arial, Helvetica, sans-serif;
    font-size: 36px; font-weight: 600; line-height: 1.2; max-width: 700px;
}

/* --- Services Section — EXACT from pt-addons.css ---------- */
.services-section { background-color: #0a0a0a; }

.service-items {
    display: flex; flex-wrap: wrap;
    padding: 1px 0;  /* from original: .service-items { padding: 1px 0; } */
}

.service-item {
    flex: 0 0 100%;
    display: flex;
    padding: 35px 0;
    background-color: rgba(0, 0, 0, 0.2);
    outline: 1px solid #474747;  /* border between items */
    transition: 300ms ease;
}

.service-item .content {
    max-width: 350px;
    text-align: center;
    padding: 10px 20px;
    margin: 0 auto;
}

.service-item .content > *:last-child {
    margin-bottom: 0 !important;
}

/* Icons */
.service-item .content i {
    display: block;
    font-size: 40px;
    color: #ffffff;
    opacity: 0.5;  /* 50% opacity on icons */
    margin-bottom: 25px;
    transition: 300ms ease;
}

/* Label */
.service-item .content .sub-h {
    font-size: 14px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #feb406;
    margin-bottom: 20px;
    transition: 300ms ease;
}

/* Title */
.service-item .content .h {
    font-family: Poppins, Arial, Helvetica, sans-serif;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.25;
    color: #ffffff;
    margin-bottom: 23px;
    transition: 300ms ease;
}

/* Description + gold separator line */
.service-item .content .desc {
    font-size: 14px;
    font-weight: 300;
    color: #b1b0b0;
    letter-spacing: 0.025em;
    line-height: 1.28571;
}

.service-item .content .desc:before {
    content: '';
    display: block;
    margin: 20px auto 25px;
    width: 30px;
    height: 1px;
    background: #feb406;
    transition: 300ms ease;
}

/* Hover */
.service-item:hover {
    background: rgba(0, 0, 0, 0.5);
}
.service-item:hover .content .sub-h {
    color: inherit;
}

/* Desktop: 3 columns */
@media (min-width: 992px) {
    .service-item { flex: 0 0 33.333%; }
}

/* --- Footer ----------------------------------------------- */
.site-footer {
    background-color: #0a0a0a; padding: 60px 0 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}
.footer-content { text-align: center; }
.footer-logo { margin-bottom: 30px; }
.footer-logo .logo { width: 80px; margin: 0 auto; }

.footer-disclaimer { margin-bottom: 40px; }
.disclaimer-box {
    display: flex; gap: 16px; text-align: left;
    background-color: #dff2fe; color: #5e7f96;
    border: 1px solid #cfeafe; border-radius: 5px;
    padding: 16px 16px 16px 20px; max-width: 800px; margin: 0 auto;
}
.disclaimer-icon { flex-shrink: 0; padding-top: 2px; }
.disclaimer-text { font-size: 14px; line-height: 1.6; }
.disclaimer-text p { margin-bottom: 8px; }
.disclaimer-text p:last-child { margin-bottom: 0; }

.footer-contact { margin-bottom: 30px; }
.footer-contact h4 { font-family: Poppins, Arial, Helvetica, sans-serif; font-size: 16px; font-weight: 600; margin-bottom: 10px; color: #ffffff; }
.footer-contact p { font-size: 14px; color: #b1b0b0; margin-bottom: 5px; }
.footer-contact a { color: #feb406; }
.footer-contact a:hover { color: #ffd54f; }

.footer-bottom { padding-top: 20px; border-top: 1px solid rgba(255,255,255,0.05); font-size: 13px; color: #777; }

/* --- Cookie Popup ----------------------------------------- */
.cookie-overlay {
    position: fixed; inset: 0; z-index: 100000;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    display: flex; align-items: center; justify-content: center;
    padding: 20px;
    animation: cookieFadeIn 0.3s ease;
}
@keyframes cookieFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}
.cookie-popup {
    background: #1a1a1a;
    border: 1px solid #2a2a2a;
    border-radius: 16px;
    max-width: 440px; width: 100%;
    padding: 40px 36px 32px;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    animation: cookieSlideUp 0.35s ease;
}
@keyframes cookieSlideUp {
    from { transform: translateY(30px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}
.cookie-popup-icon {
    font-size: 40px; margin-bottom: 16px;
}
.cookie-popup h3 {
    font-family: Poppins, Arial, Helvetica, sans-serif;
    font-size: 20px; font-weight: 600; margin-bottom: 10px;
    color: #ffffff;
}
.cookie-popup p {
    font-family: roboto, Arial, Helvetica, sans-serif;
    font-size: 13px; color: #999; line-height: 1.65;
    margin-bottom: 28px;
}
.cookie-popup a {
    color: #feb406; text-decoration: none; font-weight: 500;
}
.cookie-popup a:hover { text-decoration: underline; }
.cookie-popup-buttons {
    display: flex; gap: 10px; justify-content: center;
}
.cookie-btn {
    padding: 12px 32px; border-radius: 8px; font-size: 13px;
    font-family: Poppins, Arial, Helvetica, sans-serif;
    font-weight: 600; cursor: pointer; border: none; letter-spacing: 0.3px;
    transition: all 0.25s ease;
}
.cookie-accept {
    background: #feb406; color: #1a1a1a;
}
.cookie-accept:hover {
    background: #e6a300; transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(254, 180, 6, 0.3);
}
.cookie-reject {
    background: transparent; color: #888;
    border: 1px solid #444;
}
.cookie-reject:hover {
    border-color: #777; color: #ccc;
}

.footer-links { margin-top: 8px; }
.footer-links a { color: #feb406; }
.footer-links a:hover { color: #ffd54f; }

/* --- Policy Pages ----------------------------------------- */
.policy-page {
    padding: 120px 0 60px;
    background: #1a1a1a;
    min-height: 100vh;
}
.policy-page .container { max-width: 800px; }
.policy-page h1 {
    font-family: Poppins, Arial, Helvetica, sans-serif;
    font-size: 36px; font-weight: 600; margin-bottom: 10px;
}
.policy-page .last-updated {
    font-size: 14px; color: #b1b0b0; margin-bottom: 30px;
}
.policy-page h2 {
    font-family: Poppins, Arial, Helvetica, sans-serif;
    font-size: 22px; font-weight: 600; margin: 30px 0 15px;
    color: #feb406;
}
.policy-page p, .policy-page li {
    font-size: 16px; line-height: 1.7; color: #ccc; margin-bottom: 15px;
}
.policy-page ul { padding-left: 20px; margin-bottom: 20px; }

/* --- Responsive ------------------------------------------- */
@media (max-width: 992px)  { .hero-title { font-size: 28px; } }
@media (max-width: 768px) {
    .hero-title { font-size: 24px; }
    .disclaimer-box { flex-direction: column; padding: 14px; }
    .site-header .logo { width: 45px; }
}
@media (max-width: 480px) {
    .hero-title { font-size: 20px; }
    .hero-label { font-size: 12px; }
    .service-item .content .h { font-size: 16px; }
}