/* Pinnacle - responsive fixes and mobile navigation drawer (used by every page) */

/* ---------- Global safety nets ---------- */
body { overflow-x: clip; }
img, video, iframe { max-width: 100%; }

/* ---------- Mobile navigation drawer (built by js/pinnacle-mobile-nav.js) ---------- */
.pmn { position: fixed; inset: 0; z-index: 100000; visibility: hidden; pointer-events: none; font-family: Inter, sans-serif; }
.pmn.is-open { visibility: visible; pointer-events: auto; }
.pmn-backdrop { position: absolute; inset: 0; background: rgba(13, 13, 24, 0.55); opacity: 0; transition: opacity 0.25s ease; }
.pmn.is-open .pmn-backdrop { opacity: 1; }
.pmn-panel {
    position: absolute; top: 0; right: 0; height: 100%; width: min(360px, 88vw);
    background: #fff; display: flex; flex-direction: column;
    transform: translateX(100%); transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
    box-shadow: -8px 0 32px rgba(0, 0, 0, 0.18);
}
.pmn.is-open .pmn-panel { transform: none; }
.pmn-head { display: flex; align-items: center; justify-content: space-between; padding: 14px 16px; border-bottom: 1px solid #f0f0f0; }
.pmn-head img { height: 34px; width: auto; }
.pmn-close {
    width: 40px; height: 40px; border: 0; border-radius: 50%; background: #FFF3E0; color: #E65100;
    font-size: 26px; line-height: 1; cursor: pointer; display: flex; align-items: center; justify-content: center;
}
.pmn-body { flex: 1; overflow-y: auto; -webkit-overflow-scrolling: touch; padding: 8px 0; }
.pmn-list, .pmn-sub { list-style: none; margin: 0; padding: 0; }
.pmn-list > li { border-bottom: 1px solid #f4f4f4; }
.pmn-link, .pmn-parent {
    display: flex; align-items: center; justify-content: space-between; width: 100%;
    padding: 15px 20px; background: none; border: 0; text-align: left; cursor: pointer;
    font: 600 16px/1.3 Inter, sans-serif; color: #111; text-decoration: none;
}
.pmn-link:hover, .pmn-parent:hover, .pmn-parent[aria-expanded="true"] { color: #FF8F00; }
.pmn-parent::after {
    content: ""; width: 8px; height: 8px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor;
    transform: rotate(45deg); transition: transform 0.2s ease; margin: 0 4px 4px 12px;
}
.pmn-parent[aria-expanded="true"]::after { transform: rotate(-135deg); margin-bottom: -4px; }
.pmn-sub { display: none; background: #FFF8EE; padding: 4px 0 10px; }
.pmn-sub.is-open { display: block; }
.pmn-sub a { display: block; padding: 11px 20px 11px 34px; font: 500 15px/1.3 Inter, sans-serif; color: #3a3d4d; text-decoration: none; }
.pmn-sub a:hover { color: #FF8F00; }
.pmn-foot { padding: 16px 20px 24px; border-top: 1px solid #f0f0f0; display: grid; gap: 10px; }
.pmn-foot a { display: block; text-align: center; padding: 13px 16px; border-radius: 8px; font: 600 15px/1.2 Inter, sans-serif; text-decoration: none; }
.pmn-login { background: #FF8F00; color: #fff !important; }
.pmn-call { background: #FFF3E0; color: #E65100 !important; }
body.pmn-locked { overflow: hidden; }
@media (min-width: 1026px) { .pmn { display: none; } }

/* ---------- Header / top bar on small screens ---------- */
@media (max-width: 767px) {
    .uicore-top-bar .uicore-container { flex-direction: column; gap: 2px; text-align: center; }
    .uicore-top-bar p { font-size: 12px; margin: 0; }
    .uicore-mobile-head-right .uicore-cta-wrapper .uicore-btn { padding: 10px 16px; font-size: 14px; }
}

/* ---------- Floating WhatsApp button ---------- */
@media (max-width: 767px) {
    .wa-float { width: 52px !important; height: 52px !important; right: 16px !important; bottom: 16px !important; }
    .wa-float svg { width: 28px !important; height: 28px !important; }
    .wa-float-label { display: none !important; }
}

/* ---------- Home page: "Our Products" cards (4 products incl. Bill Payments) ---------- */
.elementor-92 .elementor-element.elementor-element-132c6150 > .elementor-container { flex-wrap: wrap; }
@media (min-width: 1025px) {
    .elementor-92 .elementor-element.elementor-element-132c6150 .elementor-col-33 { width: 25%; }
    .elementor-92 .elementor-element.elementor-element-132c6150 h3.elementor-heading-title { font-size: 28px !important; line-height: 1.2 !important; }
}
@media (max-width: 767px) {
    .elementor-92 .elementor-element.elementor-element-132c6150 > .elementor-container { min-height: 0; }
    .elementor-92 .elementor-element.elementor-element-132c6150 .elementor-col-33 { width: 100% !important; }
    .elementor-92 .elementor-element.elementor-element-132c6150 .elementor-col-33 > .elementor-element-populated { margin: 8px 0 !important; min-height: 380px; }
    .elementor-92 .elementor-element.elementor-element-132c6150 h3.elementor-heading-title { font-size: 26px !important; line-height: 1.2 !important; }
    .elementor-92 .elementor-element.elementor-element-487a6b63 > .elementor-widget-container { margin-bottom: 80px !important; }
}
/* Leave room for the absolutely positioned arrow so it never covers the card text */
@media (max-width: 1024px) {
    .elementor-92 .elementor-element.elementor-element-e838b5b > .elementor-element-populated { padding-bottom: 100px !important; }
}
/* Bill Payments card background */
.elementor-92 .elementor-element.pmn-bills-card:not(.elementor-motion-effects-element-type-background) > .elementor-widget-wrap {
    background-image: linear-gradient(135deg, #3d2000 0%, #b85000 55%, #FF8F00 100%) !important;
}

/* ---------- Sub-pages (about, finance, real estate, energy, e-commerce, services) ---------- */
@media (max-width: 767px) {
    .ab-hero, .pf-hero, .re-hero, .en-hero, .pn-hero, .sv-hero { padding: 64px 16px 52px !important; }
    .ab-hero h1, .pf-hero h1, .re-hero h1, .en-hero h1, .pn-hero h1, .sv-hero h1 { font-size: clamp(28px, 8vw, 34px) !important; line-height: 1.25 !important; }
    .ab-hero p, .pf-hero p, .re-hero p, .en-hero p, .pn-hero p, .sv-hero p { font-size: 16px !important; }
    .ab-section, .pf-section, .re-section, .en-section, .pn-section, .sv-section { padding-left: 16px !important; padding-right: 16px !important; padding-top: 48px; padding-bottom: 48px; }
    .ab-section-title, .pf-section-title, .re-section-title, .en-section-title, .pn-section-title, .sv-section-title { font-size: 25px !important; line-height: 1.3; }
    .ab-band h2, .pf-band h2, .re-band h2, .en-band h2, .pn-band h2, .sv-band h2 { font-size: 24px !important; line-height: 1.3; }
    .ab-stat .num, .en-stat .num, .pn-stat .num { font-size: 32px !important; }
    .pf-card, .sv-card { padding: 24px 20px !important; }
    footer { padding-left: 16px !important; padding-right: 16px !important; }
}
