/* ════════════════════════════════════════════
RESET — prevent theme conflicts
════════════════════════════════════════════ */
.s247-topbar *, .s247-header *, .s247-mobile-menu *,
.s247-footer *, .s247-wa-float * {
box-sizing: border-box;
margin: 0;
padding: 0;
}
.s247-topbar a, .s247-header a, .s247-mobile-menu a,
.s247-footer a { text-decoration: none; }
:root {
--blue:      #1d4ed8;
--blue2:     #2563eb;
--cyan:      #0891b2;
--dark:      #0f172a;
--text:      #1e293b;
--mid:       #475569;
--light:     #94a3b8;
--pale:      #eff6ff;
--bg:        #f8fafc;
--border:    #e2e8f0;
--white:     #ffffff;
--green:     #25d366;
--font-head: 'Syne', sans-serif;
--font-body: 'Plus Jakarta Sans', sans-serif;
}
/* ════════════════════════════════════════════
TOP BAR
════════════════════════════════════════════ */
.s247-topbar {
background: var(--dark);
padding: 7px 24px;
display: flex;
align-items: center;
justify-content: space-between;
gap: 8px;
width: 100%;
}
.s247-topbar-left {
display: flex;
align-items: center;
gap: 18px;
flex-wrap: wrap;
}
.s247-topbar-item {
display: flex;
align-items: center;
gap: 6px;
font-size: .76rem;
color: rgba(255,255,255,.65);
font-family: var(--font-body);
white-space: nowrap;
}
.s247-topbar-item a {
color: rgba(255,255,255,.65);
transition: color .2s;
}
.s247-topbar-item a:hover { color: #fff; }
.s247-topbar-item strong { color: rgba(255,255,255,.9); }
.s247-topbar-right {
display: flex;
align-items: center;
gap: 8px;
flex-shrink: 0;
}
.s247-social {
width: 26px; height: 26px;
border-radius: 6px;
background: rgba(255,255,255,.08);
border: 1px solid rgba(255,255,255,.12);
display: flex; align-items: center; justify-content: center;
transition: all .25s;
}
.s247-social:hover { background: var(--blue); border-color: var(--blue); }
/* ════════════════════════════════════════════
MAIN HEADER
════════════════════════════════════════════ */
.s247-header {
position: sticky;
top: 0;
z-index: 9999;
background: var(--white);
border-bottom: 1px solid var(--border);
box-shadow: 0 1px 8px rgba(0,0,0,.06);
transition: box-shadow .3s;
width: 100%;
}
.s247-header.scrolled {
box-shadow: 0 4px 24px rgba(0,0,0,.1);
}
.s247-header-inner {
max-width: 1280px;
margin: 0 auto;
padding: 0 24px;
height: 68px;
display: flex;
align-items: center;
justify-content: space-between;
gap: 12px;
}
/* ════════════════════════════════════════════
LOGO
════════════════════════════════════════════ */
.s247-logo {
display: flex;
align-items: center;
flex-shrink: 0;
flex-direction: column;
gap: 2px;
}
.s247-logo img {
height: 42px;
width: auto;
object-fit: contain;
display: block;
}
.s247-logo-tagline {
font-family: var(--font-body);
font-size: .56rem;
font-weight: 700;
color: var(--mid);
letter-spacing: 1.1px;
text-transform: uppercase;
display: block;
text-align: center;
}
/* ════════════════════════════════════════════
DESKTOP NAV
════════════════════════════════════════════ */
.s247-nav {
display: flex;
align-items: center;
gap: 1px;
flex: 1;
justify-content: center;
}
.s247-nav-item { position: relative; }
.s247-nav-link {
display: flex;
align-items: center;
gap: 4px;
padding: 7px 11px;
font-size: .84rem;
font-weight: 600;
color: var(--text);
border-radius: 8px;
transition: all .2s;
white-space: nowrap;
cursor: pointer;
font-family: var(--font-body);
}
.s247-nav-link:hover,
.s247-nav-link.active {
color: var(--blue);
background: var(--pale);
}
.s247-nav-link svg { transition: transform .25s; flex-shrink: 0; }
.s247-nav-item:hover .s247-nav-link svg { transform: rotate(180deg); }
/* ── Dropdown ── */
.s247-drop {
position: absolute;
top: calc(100% + 6px);
left: 0;
background: var(--white);
border: 1px solid var(--border);
border-radius: 14px;
box-shadow: 0 8px 40px rgba(0,0,0,.12);
min-width: 210px;
padding: 8px;
opacity: 0;
visibility: hidden;
transform: translateY(8px);
transition: all .25s ease;
z-index: 100;
}
.s247-nav-item:hover .s247-drop {
opacity: 1;
visibility: visible;
transform: translateY(0);
}
.s247-drop a {
display: flex;
align-items: center;
gap: 9px;
padding: 8px 12px;
font-size: .82rem;
font-weight: 500;
color: var(--text);
border-radius: 8px;
transition: all .2s;
font-family: var(--font-body);
}
.s247-drop a:hover {
background: var(--pale);
color: var(--blue);
padding-left: 17px;
}
.s247-drop-dot {
width: 6px; height: 6px;
border-radius: 50%;
background: var(--border);
flex-shrink: 0;
transition: background .2s;
}
.s247-drop a:hover .s247-drop-dot { background: var(--blue); }
/* ════════════════════════════════════════════
HEADER RIGHT
════════════════════════════════════════════ */
.s247-hdr-right {
display: flex;
align-items: center;
gap: 8px;
flex-shrink: 0;
}
.s247-call-btn {
display: flex;
align-items: center;
gap: 6px;
background: var(--pale);
border: 1.5px solid var(--border);
color: var(--blue);
padding: 7px 14px;
border-radius: 9px;
font-size: .8rem;
font-weight: 700;
transition: all .25s;
white-space: nowrap;
font-family: var(--font-body);
}
.s247-call-btn:hover {
background: var(--blue);
border-color: var(--blue);
color: #fff;
transform: translateY(-2px);
box-shadow: 0 6px 20px rgba(29,78,216,.25);
}
.s247-cta-btn {
display: flex;
align-items: center;
gap: 6px;
background: linear-gradient(135deg, var(--blue), var(--blue2));
color: #fff;
padding: 8px 16px;
border-radius: 9px;
font-size: .83rem;
font-weight: 700;
transition: all .25s;
white-space: nowrap;
box-shadow: 0 4px 14px rgba(29,78,216,.3);
font-family: var(--font-body);
}
.s247-cta-btn:hover {
transform: translateY(-2px);
box-shadow: 0 8px 24px rgba(29,78,216,.4);
color: #fff;
}
/* ════════════════════════════════════════════
HAMBURGER
════════════════════════════════════════════ */
.s247-ham {
display: none;
flex-direction: column;
gap: 5px;
cursor: pointer;
padding: 8px;
border-radius: 8px;
transition: background .2s;
flex-shrink: 0;
}
.s247-ham:hover { background: var(--pale); }
.s247-ham-line {
width: 22px; height: 2px;
background: var(--dark);
border-radius: 2px;
transition: all .3s;
display: block;
}
.s247-ham.open .s247-ham-line:nth-child(1) { transform: rotate(45deg) translate(5px,5px); }
.s247-ham.open .s247-ham-line:nth-child(2) { opacity: 0; }
.s247-ham.open .s247-ham-line:nth-child(3) { transform: rotate(-45deg) translate(5px,-5px); }
/* ════════════════════════════════════════════
MOBILE MENU
════════════════════════════════════════════ */
.s247-mobile-menu {
display: none;
position: fixed;
inset: 0;
background: var(--white);
z-index: 9998;
overflow-y: auto;
padding: 88px 20px 48px;
transform: translateX(100%);
transition: transform .35s ease;
-webkit-overflow-scrolling: touch;
}
.s247-mobile-menu.open { transform: translateX(0); }
.s247-mob-nav {
display: flex;
flex-direction: column;
gap: 3px;
}
.s247-mob-lnk {
display: flex;
align-items: center;
justify-content: space-between;
padding: 13px 16px;
font-size: .95rem;
font-weight: 600;
color: var(--text);
border-radius: 10px;
cursor: pointer;
transition: all .2s;
border: 1px solid transparent;
font-family: var(--font-body);
}
.s247-mob-lnk:hover {
background: var(--pale);
color: var(--blue);
border-color: var(--border);
}
.s247-mob-sub {
display: none;
flex-direction: column;
gap: 2px;
padding: 4px 0 4px 12px;
}
.s247-mob-sub.open { display: flex; }
.s247-mob-sub a {
padding: 9px 14px;
font-size: .85rem;
font-weight: 500;
color: var(--mid);
border-radius: 8px;
transition: all .2s;
display: block;
font-family: var(--font-body);
}
.s247-mob-sub a:hover {
background: var(--pale);
color: var(--blue);
}
.s247-mob-btns {
display: flex;
flex-direction: column;
gap: 11px;
margin-top: 24px;
padding-top: 20px;
border-top: 1px solid var(--border);
}
.s247-mob-call {
display: flex;
align-items: center;
justify-content: center;
gap: 8px;
padding: 14px;
border-radius: 12px;
font-weight: 700;
font-size: .95rem;
border: 2px solid var(--blue);
color: var(--blue);
background: var(--pale);
transition: all .25s;
font-family: var(--font-body);
}
.s247-mob-call:hover { background: var(--blue); color: #fff; }
.s247-mob-cta {
display: flex;
align-items: center;
justify-content: center;
gap: 8px;
padding: 14px;
border-radius: 12px;
font-weight: 700;
font-size: .95rem;
background: linear-gradient(135deg, var(--blue), var(--blue2));
color: #fff;
box-shadow: 0 4px 14px rgba(29,78,216,.3);
transition: all .25s;
font-family: var(--font-body);
}
.s247-mob-cta:hover { transform: translateY(-2px); color: #fff; }
/* ════════════════════════════════════════════
FOOTER
════════════════════════════════════════════ */
.s247-footer {
background: var(--dark);
color: rgba(255,255,255,.7);
font-family: var(--font-body);
width: 100%;
}
.s247-ft-strip {
background: linear-gradient(135deg, #0f172a, #1e3a5f);
padding: 18px 24px;
border-bottom: 1px solid rgba(255,255,255,.06);
}
.s247-ft-strip-inner {
max-width: 1280px;
margin: 0 auto;
display: flex;
align-items: center;
justify-content: space-between;
flex-wrap: wrap;
gap: 14px;
}
.s247-ft-strip-text {
font-size: .9rem;
color: rgba(255,255,255,.78);
font-weight: 500;
}
.s247-ft-strip-text strong { color: #fff; }
.s247-ft-strip-btns { display: flex; gap: 10px; flex-wrap: wrap; }
.s247-ft-btn1 {
display: inline-flex; align-items: center; gap: 7px;
background: var(--blue); color: #fff;
padding: 10px 22px; border-radius: 8px;
font-size: .83rem; font-weight: 700;
transition: all .25s;
}
.s247-ft-btn1:hover { background: var(--blue2); transform: translateY(-2px); color: #fff; }
.s247-ft-btn2 {
display: inline-flex; align-items: center; gap: 7px;
background: var(--green); color: #fff;
padding: 10px 22px; border-radius: 8px;
font-size: .83rem; font-weight: 700;
transition: all .25s;
}
.s247-ft-btn2:hover { background: #1db954; transform: translateY(-2px); color: #fff; }
.s247-ft-main {
max-width: 1280px;
margin: 0 auto;
padding: 56px 24px 40px;
display: grid;
grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
gap: 44px;
}
.s247-ft-logo-wrap {
display: flex; align-items: center; gap: 10px; margin-bottom: 6px;
}
.s247-ft-logo-img {
height: 42px; width: auto;
object-fit: contain;
opacity: 1;
}
.s247-ft-logo-sub {
font-size: .6rem; font-weight: 700;
color: rgba(255,255,255,.35);
letter-spacing: 1.2px; text-transform: uppercase;
margin-bottom: 14px;
}
.s247-ft-tagline {
font-family: var(--font-head);
font-size: .88rem; font-weight: 700;
color: #60a5fa; font-style: italic;
margin-bottom: 16px;
padding-left: 13px;
border-left: 3px solid var(--blue);
line-height: 1.6;
}
.s247-ft-desc {
font-size: .82rem; line-height: 1.8;
color: rgba(255,255,255,.5); margin-bottom: 20px;
}
.s247-ft-socials { display: flex; gap: 9px; }
.s247-ft-soc {
width: 34px; height: 34px; border-radius: 9px;
background: rgba(255,255,255,.07);
border: 1px solid rgba(255,255,255,.1);
display: flex; align-items: center; justify-content: center;
transition: all .25s;
}
.s247-ft-soc:hover {
background: var(--blue); border-color: var(--blue); transform: translateY(-3px);
}
.s247-ft-soc svg { width: 15px; height: 15px; }
.s247-ft-col h4 {
font-family: var(--font-head);
font-size: .75rem; font-weight: 700; color: #fff;
letter-spacing: 2px; text-transform: uppercase;
margin-bottom: 18px; padding-bottom: 11px;
border-bottom: 2px solid rgba(29,78,216,.5);
position: relative;
}
.s247-ft-col h4::after {
content: ''; position: absolute;
bottom: -2px; left: 0; width: 28px; height: 2px;
background: var(--cyan);
}
.s247-ft-links { display: flex; flex-direction: column; gap: 8px; }
.s247-ft-links a {
font-size: .82rem; color: rgba(255,255,255,.5);
display: flex; align-items: center; gap: 7px;
transition: all .2s;
}
.s247-ft-links a:hover { color: #fff; padding-left: 4px; }
.s247-ft-links a::before { content: '›'; color: var(--blue); font-size: 1rem; font-weight: 700; }
.s247-ft-contact { display: flex; flex-direction: column; gap: 14px; }
.s247-ft-ci { display: flex; gap: 11px; align-items: flex-start; }
.s247-ft-ci-icon {
width: 32px; height: 32px; flex-shrink: 0;
background: rgba(29,78,216,.2);
border: 1px solid rgba(29,78,216,.35);
border-radius: 8px;
display: flex; align-items: center; justify-content: center;
}
.s247-ft-ci-icon svg { width: 14px; height: 14px; }
.s247-ft-ci-label {
font-size: .66rem; font-weight: 700;
color: rgba(255,255,255,.38);
text-transform: uppercase; letter-spacing: 1px;
display: block; margin-bottom: 3px;
}
.s247-ft-ci-val {
font-size: .83rem; color: rgba(255,255,255,.68); line-height: 1.5;
}
.s247-ft-ci-val a { color: rgba(255,255,255,.68); transition: color .2s; }
.s247-ft-ci-val a:hover { color: #fff; }
.s247-ft-bottom {
border-top: 1px solid rgba(255,255,255,.07);
padding: 16px 24px;
}
.s247-ft-bottom-inner {
max-width: 1280px; margin: 0 auto;
display: flex; align-items: center;
justify-content: space-between;
flex-wrap: wrap; gap: 10px;
}
.s247-copyright { font-size: .76rem; color: rgba(255,255,255,.38); }
.s247-copyright a { color: rgba(255,255,255,.5); transition: color .2s; }
.s247-copyright a:hover { color: #fff; }
.s247-ft-bottom-links { display: flex; gap: 18px; flex-wrap: wrap; }
.s247-ft-bottom-links a {
font-size: .74rem; color: rgba(255,255,255,.38); transition: color .2s;
}
.s247-ft-bottom-links a:hover { color: rgba(255,255,255,.75); }
/* ════════════════════════════════════════════
WHATSAPP FLOAT
════════════════════════════════════════════ */
.s247-wa-float {
position: fixed; bottom: 24px; right: 24px;
z-index: 9997;
display: flex; flex-direction: column; align-items: flex-end; gap: 8px;
}
.s247-wa-btn {
width: 52px; height: 52px;
background: var(--green); border-radius: 50%;
display: flex; align-items: center; justify-content: center;
box-shadow: 0 6px 22px rgba(37,211,102,.4);
transition: all .3s;
animation: s247waPulse 2.5s ease infinite;
}
.s247-wa-btn:hover { transform: scale(1.1); }
@keyframes s247waPulse {
0%,100% { box-shadow: 0 6px 22px rgba(37,211,102,.4); }
50% { box-shadow: 0 6px 30px rgba(37,211,102,.7), 0 0 0 10px rgba(37,211,102,.07); }
}
.s247-wa-tip {
background: var(--dark); color: #fff;
font-size: .74rem; font-weight: 600;
padding: 6px 12px; border-radius: 7px;
white-space: nowrap; opacity: 0;
transform: translateX(10px); transition: all .25s;
pointer-events: none; font-family: var(--font-body);
}
.s247-wa-float:hover .s247-wa-tip { opacity: 1; transform: translateX(0); }
/* ════════════════════════════════════════════
RESPONSIVE BREAKPOINTS
════════════════════════════════════════════ */
/* Large tablet: hide desktop nav, show hamburger */
@media (max-width: 1100px) {
.s247-nav { display: none !important; }
.s247-call-btn { display: none !important; }
.s247-ham { display: flex !important; }
.s247-mobile-menu { display: block !important; }
.s247-header-inner { padding: 0 20px; }
.s247-ft-main { grid-template-columns: 1fr 1fr; gap: 32px; }
}
/* Tablet portrait */
@media (max-width: 768px) {
.s247-topbar { padding: 7px 16px; }
.s247-topbar-left { gap: 12px; }
/* Hide low-priority topbar items, keep phone + email */
.s247-topbar-item:nth-child(3),
.s247-topbar-item:nth-child(4) { display: none; }
.s247-topbar-right { display: none; }
.s247-header-inner { height: 62px; padding: 0 16px; }
.s247-logo img { height: 36px; }
.s247-cta-btn { font-size: .78rem; padding: 7px 13px; }
.s247-ft-main { grid-template-columns: 1fr 1fr; gap: 28px; padding: 40px 20px 32px; }
.s247-ft-strip-inner { flex-direction: column; text-align: center; }
.s247-ft-strip-btns { justify-content: center; }
}
/* Mobile */
@media (max-width: 600px) {
/* Top bar: show only phone number, center it */
.s247-topbar {
justify-content: center;
padding: 8px 16px;
flex-wrap: nowrap;
}
.s247-topbar-left { gap: 0; }
.s247-topbar-item:nth-child(1) { display: flex; } /* Keep phone */
.s247-topbar-item:nth-child(2),
.s247-topbar-item:nth-child(3),
.s247-topbar-item:nth-child(4) { display: none; }
.s247-topbar-right { display: none; }
/* Header */
.s247-header-inner { height: 60px; padding: 0 14px; gap: 8px; }
.s247-logo img { height: 34px; }
.s247-logo-tagline { display: none; }
.s247-cta-btn { font-size: .76rem; padding: 7px 12px; gap: 5px; }
.s247-cta-btn svg { display: none; }
/* Mobile menu */
.s247-mobile-menu { padding: 80px 16px 40px; }
/* Footer */
.s247-ft-main { grid-template-columns: 1fr; gap: 24px; padding: 36px 16px 28px; }
.s247-ft-strip { padding: 16px; }
.s247-ft-bottom { padding: 14px 16px; }
.s247-ft-bottom-inner { flex-direction: column; text-align: center; gap: 8px; }
.s247-ft-bottom-links { justify-content: center; gap: 14px; }
/* WhatsApp float */
.s247-wa-float { bottom: 18px; right: 16px; }
.s247-wa-btn { width: 46px; height: 46px; }
}
/* Small mobile */
@media (max-width: 380px) {
.s247-header-inner { padding: 0 12px; height: 56px; }
.s247-logo img { height: 30px; }
.s247-cta-btn { padding: 6px 10px; font-size: .72rem; }
.s247-mob-lnk { font-size: .88rem; padding: 11px 14px; }
.s247-mob-sub a { font-size: .8rem; }
.s247-mob-call, .s247-mob-cta { font-size: .88rem; padding: 12px; }
.s247-ft-tagline { font-size: .82rem; }
.s247-ft-desc { font-size: .78rem; }
.s247-ft-links a { font-size: .78rem; }
}