/* ==============================================
   Naishitha Gold - Main Stylesheet
   FIXED: Compact header + proper logo + all devices
   ============================================== */

* { margin: 0; padding: 0; box-sizing: border-box; }
html, body { overflow-x: hidden; width: 100%; }

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 16px; color: #333; background: #fff; line-height: 1.6;
}

a { color: #b8860b; text-decoration: none; }
a:hover { color: #8b6508; text-decoration: underline; }
img { max-width: 100%; height: auto; }

.container { max-width: 1100px; margin: 0 auto; padding: 0 20px; width: 100%; box-sizing: border-box; }
.container-inner { max-width: 1200px; margin: 0 auto; padding: 0 24px; width: 100%; box-sizing: border-box; }

/* ================================================
   HEADER — COMPACT & CLEAN
   ================================================ */

#site-header {
    position: sticky; top: 0; z-index: 999;
    background: #0d0d0d;
    box-shadow: 0 2px 12px rgba(0,0,0,0.4);
    width: 100%;
}

/* Topbar */
.header-topbar {
    background: #080808;
    border-bottom: 1px solid rgba(212,175,55,0.1);
    padding: 4px 0;
}
.header-topbar .container-inner {
    display: flex; flex-wrap: wrap; align-items: center;
    justify-content: center; gap: 4px 12px;
    color: rgba(212,175,55,0.6); font-size: 11px;
}
.header-topbar a { color: rgba(212,175,55,0.75); text-decoration: none; transition: color 0.2s; white-space: nowrap; }
.header-topbar a:hover { color: #D4AF37; }
.topbar-divider { color: rgba(212,175,55,0.2); }

/* Main nav bar — compact height */
.header-main {
    background: #0d0d0d;
    border-bottom: 1px solid rgba(212,175,55,0.12);
    width: 100%; position: relative;
}
.header-main .container-inner {
    display: flex; align-items: center;
    justify-content: space-between;
    padding: 10px 20px;
    gap: 16px;
    min-height: 120px;
}

/* ================================================
   LOGO — VISIBLE BUT NOT OVERSIZED
   ================================================ */

.logo-link, a.logo-link {
    text-decoration: none !important;
    display: flex !important;
    align-items: center !important;
    flex-shrink: 0 !important;
    gap: 10px;
}
.logo-badge { display: flex; align-items: center; gap: 10px; }

/* Image logo */
.logo-link img,
.logo-img,
.logo-badge img,
#site-header img,
.header-main img {
    height: 100px !important;
    width: 100px !important;
    min-width: 100px !important;
    min-height: 100px !important;
    max-height: 100px !important;
    max-width: 100px !important;
    object-fit: contain !important;
    border-radius: 10px !important;
    display: block !important;
}

/* Icon fallback */
.logo-icon {
    width: 100px; height: 100px;
    background: linear-gradient(135deg, #D4AF37, #8B6914);
    border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    font-size: 34px; font-weight: 900; color: #1a0a00; flex-shrink: 0;
}

/* Logo text */
.logo-text, .logo-text-wrap { display: flex; flex-direction: column; gap: 3px; }
.logo-name {
    font-size: 28px !important; font-weight: 800 !important;
    color: #fff !important; letter-spacing: 0.3px; line-height: 1.2; white-space: nowrap;
}
.logo-sub {
    font-size: 13px !important; color: #D4AF37 !important;
    letter-spacing: 2px; text-transform: uppercase; font-weight: 600; white-space: nowrap;
}

/* ================================================
   NAVIGATION — TIGHTENED
   ================================================ */

#main-nav ul {
    list-style: none; margin: 0; padding: 0;
    display: flex; align-items: center; gap: 1px;  /* reduced from 2px */
    flex-wrap: nowrap;
}
#main-nav ul li a {
    display: block; color: rgba(255,255,255,0.75);
    padding: 6px 9px;        /* reduced from 7px 11px */
    border-radius: 5px;
    font-size: 13px;          /* reduced from 14px */
    font-weight: 500; text-decoration: none;
    white-space: nowrap; transition: background 0.18s, color 0.18s;
}
#main-nav ul li a:hover,
#main-nav ul li a.active { background: rgba(212,175,55,0.1); color: #D4AF37; text-decoration: none; }
#main-nav ul li a.nav-cta {
    background: #25D366; color: #fff !important;
    padding: 7px 14px;       /* reduced from 8px 16px */
    border-radius: 20px; font-weight: 700; font-size: 12px;  /* reduced from 13px */
}
#main-nav ul li a.nav-cta:hover { background: #1ebe57 !important; }

/* Hamburger */
.nav-toggle {
    display: none; flex-direction: column; justify-content: center;
    gap: 5px; background: none; border: none; cursor: pointer;
    padding: 6px 4px; flex-shrink: 0;
}
.nav-toggle span {
    display: block; width: 22px; height: 2px;  /* reduced from 24px */
    background: #D4AF37; border-radius: 2px; transition: all 0.28s ease;
}
.nav-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.active span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ================================================
   HERO
   ================================================ */

.hero-pro {
    position: relative; background-color: #080c14;
    overflow: hidden; min-height: 520px;
    display: flex; align-items: center; width: 100%;
    background-image:
        radial-gradient(ellipse 55% 75% at 68% 50%, rgba(212,175,55,0.07) 0%, transparent 65%),
        url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' width='36' height='36'><circle cx='18' cy='18' r='0.85' fill='%23D4AF37'/></svg>");
    background-size: auto, 36px 36px;
}
.hpro-bg { position: absolute; inset: 0; pointer-events: none; z-index: 0; overflow: hidden; }
.hpro-glow {
    position: absolute; top: -30%; right: -8%; width: 70%; height: 160%;
    background: radial-gradient(ellipse at 70% 50%, rgba(180,130,20,0.09) 0%, transparent 70%);
}
.hpro-bg::after {
    content: ''; position: absolute; right: -30px; top: 50%;
    transform: translateY(-50%); width: 660px; height: 660px;
    background: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 600 600'><g fill='none' stroke='%23D4AF37' stroke-width='0.75'><circle cx='300' cy='300' r='285'/><circle cx='300' cy='300' r='195'/><circle cx='300' cy='300' r='100'/><polygon points='300,55 530,455 70,455'/><polygon points='300,545 530,145 70,145'/></g></svg>") center/contain no-repeat;
    opacity: 0.08; animation: geomSpin 240s linear infinite; pointer-events: none;
}
.hpro-bg::before {
    content: ''; position: absolute; left: 20px; top: -30px; width: 220px; height: 220px;
    background: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 120'><g fill='none' stroke='%23D4AF37' stroke-width='0.7'><circle cx='60' cy='60' r='52'/><circle cx='60' cy='60' r='38'/><polygon points='60,10 67,40 95,40 73,57 80,88 60,72 40,88 47,57 25,40 53,40'/></g></svg>") center/contain no-repeat;
    opacity: 0.045; animation: geomSpin 180s linear infinite reverse; pointer-events: none;
}
@keyframes geomSpin {
    from { transform: translateY(-50%) rotate(0deg); }
    to   { transform: translateY(-50%) rotate(360deg); }
}
.hpro-inner {
    position: relative; z-index: 2; display: flex; align-items: center;
    width: 100%; max-width: 1200px; margin: 0 auto;
    padding: 64px 24px; box-sizing: border-box;
}
.hpro-text { flex: 0 0 54%; max-width: 54%; padding-right: 40px; box-sizing: border-box; }
.hpro-tag {
    display: inline-flex; align-items: center; gap: 8px;
    color: #D4AF37; font-size: 10px; font-weight: 700;
    letter-spacing: 2.8px; text-transform: uppercase; margin-bottom: 22px;
    padding: 6px 14px 6px 10px; border: 1px solid rgba(212,175,55,0.25);
    border-radius: 20px; background: rgba(212,175,55,0.04);
}
.hpro-h1 { font-size: 50px; font-weight: 800; line-height: 1.08; color: #fff; margin-bottom: 18px; letter-spacing: -1.5px; }
.hpro-gold { color: #D4AF37; }
.hpro-sub { font-size: 16px; color: rgba(255,255,255,0.55); line-height: 1.75; margin-bottom: 30px; max-width: 400px; }
.hpro-stats {
    display: flex; align-items: center; margin-bottom: 34px;
    padding: 20px 0;
    border-top: 1px solid rgba(255,255,255,0.06);
    border-bottom: 1px solid rgba(255,255,255,0.06);
}
.hpro-stat { padding: 0 22px; text-align: center; }
.hpro-stat:first-child { padding-left: 0; }
.hpro-stat strong { display: block; font-size: 28px; font-weight: 800; color: #D4AF37; line-height: 1; margin-bottom: 5px; }
.hpro-stat span   { font-size: 10px; color: rgba(255,255,255,0.4); text-transform: uppercase; letter-spacing: 1px; font-weight: 500; }
.hpro-divider { width: 1px; height: 36px; background: rgba(212,175,55,0.15); flex-shrink: 0; }
.hpro-btns { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 24px; }
.hpro-btn-gold {
    background: linear-gradient(135deg, #D4AF37 0%, #B8860B 100%);
    color: #0a0a0a; padding: 14px 28px; border-radius: 4px;
    font-size: 14px; font-weight: 700; text-decoration: none;
    transition: all 0.2s; display: inline-block;
    box-shadow: 0 4px 20px rgba(212,175,55,0.25);
}
.hpro-btn-gold:hover { color: #0a0a0a; text-decoration: none; transform: translateY(-1px); }
.hpro-btn-outline {
    display: inline-flex; align-items: center; gap: 8px;
    border: 1.5px solid rgba(255,255,255,0.15); color: rgba(255,255,255,0.8);
    padding: 14px 22px; border-radius: 4px; font-size: 14px; font-weight: 600;
    text-decoration: none; transition: all 0.2s; background: rgba(255,255,255,0.03);
}
.hpro-btn-outline:hover { border-color: #25D366; color: #25D366; text-decoration: none; }
.hpro-trust-chips { display: flex; gap: 18px; flex-wrap: wrap; }
.hpro-trust-chips span { display: flex; align-items: center; gap: 5px; font-size: 12px; color: rgba(255,255,255,0.4); font-weight: 500; }
.hpro-visual {
    flex: 0 0 46%; max-width: 46%; position: relative;
    display: flex; align-items: flex-end; justify-content: center;
    align-self: stretch; min-height: 400px;
}
.hpro-img-frame { width: 100%; height: 100%; display: flex; align-items: flex-end; justify-content: center; position: relative; }
.hpro-img {
    height: 520px !important; max-height: 520px; width: auto !important; max-width: 100% !important;
    object-fit: contain; object-position: bottom center;
    filter: drop-shadow(0 0 60px rgba(212,175,55,0.28)) brightness(1.12) contrast(1.03);
    position: relative; z-index: 2;
}
.hpro-img-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(to right, #080c14 0%, rgba(8,12,20,0.4) 11%, transparent 28%);
    z-index: 3; pointer-events: none;
}
.hpro-float-badge {
    position: absolute; top: 26px; left: -10px; z-index: 10;
    background: rgba(8,12,20,0.95); border: 1px solid rgba(212,175,55,0.3);
    border-radius: 10px; padding: 10px 16px 10px 10px;
    display: flex; align-items: center; gap: 10px;
    box-shadow: 0 8px 28px rgba(0,0,0,0.4);
}
.hfb-icon { width: 38px; height: 38px; background: linear-gradient(135deg, #D4AF37, #8B6914); border-radius: 8px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.hpro-float-badge strong { display: block; font-size: 13px; color: #fff; font-weight: 700; }
.hpro-float-badge small  { display: block; font-size: 10px; color: rgba(212,175,55,0.7); letter-spacing: 0.8px; text-transform: uppercase; margin-top: 2px; }

/* ================================================
   TRUST BAR
   ================================================ */
.trust-bar { background: #0d0d0d; border-top: 1px solid rgba(212,175,55,0.35); border-bottom: 1px solid rgba(212,175,55,0.10); padding: 16px 20px; overflow: hidden; }
.trust-bar .container { display: flex; justify-content: space-around; flex-wrap: wrap; gap: 10px; }
.trust-item { display: flex; align-items: center; gap: 9px; font-size: 13.5px; font-weight: 500; color: rgba(255,255,255,0.82); white-space: nowrap; letter-spacing: 0.2px; }
.trust-item svg { color: #D4AF37; flex-shrink: 0; }

/* ================================================
   SECTIONS
   ================================================ */
.section { padding: 60px 20px; overflow: hidden; }
.section-alt { background: #f9f6ee; }
.section-title { text-align: center; margin-bottom: 40px; }
.section-title h2 { font-size: 32px; font-weight: 700; color: #1a1a1a; margin-bottom: 10px; }
.section-title h2 span { color: #b8860b; }
.section-title p { color: #666; font-size: 16px; max-width: 550px; margin: 0 auto; }
.section-title .divider { width: 60px; height: 3px; background: #b8860b; margin: 12px auto 0; }

/* SERVICES */
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 24px; }
.service-card { background: #fff; border: 1px solid #e8e0cc; border-radius: 10px; padding: 30px 24px; text-align: center; transition: box-shadow 0.2s, transform 0.2s; }
.service-card:hover { box-shadow: 0 8px 24px rgba(184,134,11,0.15); transform: translateY(-4px); }
.service-icon { width: 64px; height: 64px; background: linear-gradient(135deg, #D4AF37, #b8860b); border-radius: 50%; margin: 0 auto 18px; display: flex; align-items: center; justify-content: center; font-size: 28px; }
.service-card h3 { font-size: 20px; color: #1a1a1a; margin-bottom: 10px; font-weight: 600; }
.service-card p  { color: #666; font-size: 15px; line-height: 1.6; }

/* STEPS */
.steps-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 20px; }
.step-card { text-align: center; padding: 24px 16px; }
.step-number { width: 56px; height: 56px; background: #b8860b; color: #fff; border-radius: 50%; font-size: 22px; font-weight: 700; display: flex; align-items: center; justify-content: center; margin: 0 auto 14px; }
.step-card h3 { font-size: 17px; font-weight: 600; margin-bottom: 8px; color: #1a1a1a; }
.step-card p  { font-size: 14px; color: #666; }

/* WHY */
.why-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 20px; }
.why-card { display: flex; gap: 14px; align-items: flex-start; padding: 20px; background: #fff; border-radius: 8px; border-left: 4px solid #b8860b; box-shadow: 0 2px 8px rgba(0,0,0,0.06); }
.why-icon { font-size: 28px; flex-shrink: 0; }
.why-card h4 { font-size: 16px; font-weight: 600; color: #1a1a1a; margin-bottom: 5px; }
.why-card p  { font-size: 14px; color: #666; }

/* BRANCHES */
.branches-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }
.branch-card { background: #fff; border: 1px solid #e8e0cc; border-radius: 10px; overflow: hidden; box-shadow: 0 2px 10px rgba(0,0,0,0.07); }
.branch-header { background: linear-gradient(135deg, #1a1a1a, #333); color: #D4AF37; padding: 16px 20px; font-size: 18px; font-weight: 600; }
.branch-body { padding: 20px; }
.branch-body p { color: #555; margin-bottom: 10px; font-size: 15px; display: flex; gap: 8px; }
.branch-body p strong { color: #333; min-width: 60px; }

/* CTA */
.cta-section { background: linear-gradient(135deg, #1a1a1a, #2d2400); color: #fff; padding: 60px 20px; text-align: center; }
.cta-section h2 { font-size: 32px; color: #D4AF37; margin-bottom: 14px; }
.cta-section p  { color: #ccc; font-size: 17px; margin-bottom: 28px; max-width: 500px; margin-left: auto; margin-right: auto; }
.cta-btns { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* BUTTONS */
.btn-primary { background: #b8860b; color: #fff; padding: 14px 32px; border-radius: 6px; font-size: 16px; font-weight: 600; border: none; cursor: pointer; transition: background 0.2s; text-decoration: none; display: inline-block; }
.btn-primary:hover { background: #9a720a; color: #fff; text-decoration: none; }
.btn-whatsapp { background: #25D366; color: #fff; padding: 14px 32px; border-radius: 6px; font-size: 16px; font-weight: 600; border: none; cursor: pointer; transition: background 0.2s; text-decoration: none; display: inline-flex; align-items: center; gap: 8px; }
.btn-whatsapp:hover { background: #1ebe57; color: #fff; text-decoration: none; }
.btn-submit { width: 100%; background: #b8860b; color: #fff; border: none; padding: 14px; border-radius: 6px; font-size: 16px; font-weight: 600; cursor: pointer; transition: background 0.2s; font-family: inherit; }
.btn-submit:hover { background: #9a720a; }

/* BLOG */
.blog-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 28px; }
.blog-card { background: #fff; border: 1px solid #e8e0cc; border-radius: 10px; overflow: hidden; transition: box-shadow 0.2s; }
.blog-card:hover { box-shadow: 0 6px 20px rgba(184,134,11,0.12); }
.blog-card-img { height: 180px; background: linear-gradient(135deg, #2d2400, #b8860b); display: flex; align-items: center; justify-content: center; font-size: 48px; }
.blog-card-body { padding: 20px; }
.blog-tag { background: #D4AF37; color: #1a1a1a; font-size: 11px; font-weight: 600; padding: 3px 10px; border-radius: 3px; text-transform: uppercase; letter-spacing: 1px; }
.blog-card-body h3 { font-size: 18px; margin: 10px 0 8px; color: #1a1a1a; font-weight: 600; line-height: 1.3; }
.blog-card-body p  { color: #666; font-size: 14px; line-height: 1.6; margin-bottom: 14px; }
.blog-card-meta    { font-size: 12px; color: #999; margin-bottom: 12px; }
.blog-card-body a  { font-size: 14px; font-weight: 600; color: #b8860b; }

/* ARTICLE */
.article-header { background: linear-gradient(135deg, #1a1a1a, #2d2400); color: #fff; padding: 50px 20px; text-align: center; }
.article-header h1 { font-size: 36px; color: #D4AF37; max-width: 800px; margin: 0 auto 14px; line-height: 1.3; }
.article-header .meta { color: #bbb; font-size: 14px; }
.article-content { max-width: 780px; margin: 0 auto; padding: 50px 20px; }
.article-content h2 { font-size: 24px; color: #1a1a1a; margin: 32px 0 12px; }
.article-content h3 { font-size: 20px; color: #333; margin: 24px 0 10px; }
.article-content p  { margin-bottom: 18px; color: #444; line-height: 1.8; }
.article-content ul, .article-content ol { margin: 14px 0 18px 24px; }
.article-content li { color: #444; line-height: 1.8; margin-bottom: 6px; }
.article-content .tip-box { background: #f9f6ee; border-left: 4px solid #b8860b; padding: 16px 20px; margin: 24px 0; border-radius: 0 6px 6px 0; }
.article-content .tip-box p { margin: 0; color: #555; font-size: 15px; }

/* CONTACT */
.contact-wrapper { display: grid; grid-template-columns: 1fr 1.3fr; gap: 40px; align-items: start; }
.contact-info h3 { font-size: 22px; color: #1a1a1a; margin-bottom: 18px; }
.contact-info-item { display: flex; gap: 14px; margin-bottom: 20px; align-items: flex-start; }
.ci-icon { width: 44px; height: 44px; background: #b8860b; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 18px; flex-shrink: 0; color: #fff; }
.ci-text strong { display: block; color: #1a1a1a; font-size: 15px; margin-bottom: 2px; }
.ci-text span   { color: #555; font-size: 14px; }
.whatsapp-cta { background: linear-gradient(135deg, #1faa4b, #128c38); color: #fff; padding: 22px; border-radius: 10px; margin-top: 28px; text-align: center; }
.whatsapp-cta p { font-size: 14px; margin-bottom: 12px; opacity: 0.9; }
.whatsapp-cta a { background: #fff; color: #128c38; padding: 12px 26px; border-radius: 6px; font-weight: 700; font-size: 15px; display: inline-flex; align-items: center; gap: 8px; text-decoration: none; }
.whatsapp-cta a:hover { background: #f0fff4; text-decoration: none; }
.contact-form-box { background: #f9f6ee; border: 1px solid #e8e0cc; border-radius: 12px; padding: 32px; }
.contact-form-box h3 { font-size: 22px; color: #1a1a1a; margin-bottom: 22px; }
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-size: 14px; font-weight: 600; color: #333; margin-bottom: 6px; }
.form-group input, .form-group select, .form-group textarea { width: 100%; padding: 11px 14px; border: 1px solid #d0c99a; border-radius: 6px; font-size: 15px; color: #333; background: #fff; transition: border-color 0.2s; font-family: inherit; box-sizing: border-box; }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { outline: none; border-color: #b8860b; box-shadow: 0 0 0 3px rgba(184,134,11,0.1); }
.form-group textarea { height: 110px; resize: vertical; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

/* PAGE HEADER */
.page-header { background: linear-gradient(135deg, #1a1a1a, #2d2400); color: #fff; padding: 50px 20px; text-align: center; }
.page-header h1 { font-size: 38px; color: #D4AF37; margin-bottom: 12px; }
.page-header p  { color: #ccc; font-size: 17px; max-width: 550px; margin: 0 auto; }

/* ABOUT */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.about-visual { background: linear-gradient(135deg, #2d2400, #b8860b); border-radius: 12px; height: 350px; display: flex; flex-direction: column; align-items: center; justify-content: center; color: #fff; text-align: center; padding: 30px; }
.about-visual .big-number { font-size: 64px; font-weight: 700; color: #D4AF37; line-height: 1; }
.about-visual .big-text   { font-size: 18px; margin-top: 8px; opacity: 0.9; }
.about-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 16px; }
.about-stat  { background: rgba(255,255,255,0.1); border-radius: 8px; padding: 12px; text-align: center; }
.about-stat .num { font-size: 24px; font-weight: 700; color: #D4AF37; }
.about-stat .lbl { font-size: 12px; opacity: 0.8; }
.about-text h2  { font-size: 30px; color: #1a1a1a; margin-bottom: 16px; font-weight: 700; }
.about-text h2 span { color: #b8860b; }
.about-text p   { color: #555; line-height: 1.8; margin-bottom: 16px; }
.values-list    { list-style: none; margin-top: 16px; }
.values-list li { padding: 8px 0; color: #444; font-size: 15px; border-bottom: 1px solid #f0e8cc; display: flex; align-items: center; gap: 10px; }
.values-list li::before { content: '✓'; background: #b8860b; color: #fff; width: 22px; height: 22px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 12px; flex-shrink: 0; }

/* FLOATING WHATSAPP */
.floating-whatsapp { position: fixed; bottom: 24px; right: 24px; z-index: 999; background: #25D366; border-radius: 50%; width: 56px; height: 56px; display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 16px rgba(37,211,102,0.5); transition: transform 0.2s; text-decoration: none; animation: pulse-wa 2s infinite; }
.floating-whatsapp:hover { transform: scale(1.1); }
.floating-whatsapp svg { width: 28px; height: 28px; fill: #fff; }
@keyframes pulse-wa { 0%,100% { box-shadow: 0 4px 16px rgba(37,211,102,0.5); } 50% { box-shadow: 0 4px 28px rgba(37,211,102,0.8); } }

/* FOOTER */
footer { background: #111; color: #ccc; }
.footer-inner { max-width: 1200px; margin: 0 auto; padding: 52px 24px 32px; }
.footer-grid { display: grid; grid-template-columns: 1.7fr 1fr 1.3fr; gap: 40px; padding-bottom: 32px; border-bottom: 1px solid #242424; }
.footer-brand h3 { color: #D4AF37; font-size: 18px; font-weight: 700; margin-bottom: 12px; }
.footer-brand p  { color: #888; font-size: 14px; line-height: 1.7; }
.footer-wa-btn { display: inline-flex; align-items: center; gap: 8px; background: #25D366; color: #fff; padding: 10px 18px; border-radius: 22px; font-size: 14px; font-weight: 600; margin-top: 18px; text-decoration: none; transition: background 0.2s; }
.footer-wa-btn:hover { background: #1ebe57; color: #fff; text-decoration: none; }
.footer-col h4 { color: #ddd; font-size: 14px; font-weight: 600; margin-bottom: 14px; text-transform: uppercase; letter-spacing: 0.8px; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 8px; }
.footer-col ul li a { color: #888; font-size: 14px; text-decoration: none; transition: color 0.2s; }
.footer-col ul li a:hover { color: #D4AF37; }
.footer-contact { list-style: none; }
.footer-contact li { display: flex; align-items: flex-start; gap: 10px; color: #888; font-size: 13px; margin-bottom: 10px; line-height: 1.5; }
.footer-contact a { color: #aaa; text-decoration: none; }
.footer-contact a:hover { color: #D4AF37; }
.fc-icon { font-size: 14px; flex-shrink: 0; margin-top: 1px; }
.footer-bottom { background: #0d0d0d; padding: 16px 24px; }
.footer-bottom .container-inner { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 6px; font-size: 12px; color: #555; }

/* ALERTS */
.alert { padding: 14px 18px; border-radius: 6px; margin-bottom: 20px; font-size: 15px; }
.alert-success { background: #d4edda; color: #155724; border: 1px solid #c3e6cb; }
.alert-error   { background: #f8d7da; color: #721c24; border: 1px solid #f5c6cb; }

/* ================================================
   TABLET ≤ 1024px
   ================================================ */
@media (max-width: 1024px) {
    .logo-link img, .logo-img, .logo-badge img, #site-header img, .header-main img {
        height: 44px !important; width: 44px !important;
        min-width: 44px !important; min-height: 44px !important;
        max-height: 44px !important; max-width: 44px !important;
    }
    .header-main .container-inner { min-height: 58px !important; padding: 5px 18px !important; }
    .logo-name { font-size: 15px !important; }
    .hpro-h1 { font-size: 36px; }
    .hpro-text { flex: 0 0 56%; max-width: 56%; }
    .hpro-visual { flex: 0 0 44%; max-width: 44%; }
    .hpro-img { height: 420px !important; }
    #main-nav ul li a { padding: 6px 7px; font-size: 12px; }
    #main-nav ul li a.nav-cta { padding: 6px 12px; font-size: 12px; }
    .footer-grid { gap: 28px; }
}

/* ================================================
   MOBILE ≤ 768px
   ================================================ */
@media (max-width: 768px) {
    html, body { overflow-x: hidden; }
    .logo-link img, .logo-img, .logo-badge img, #site-header img, .header-main img {
        height: 54px !important; width: 54px !important;      /* bigger on mobile */
        min-width: 54px !important; min-height: 54px !important;
        max-height: 54px !important; max-width: 54px !important;
    }
    .header-main .container-inner {
        min-height: 68px !important; padding: 8px 14px !important;
        position: relative;
        justify-content: center !important;  /* center everything */
    }
    /* Center the logo in mobile header */
    .logo-link, a.logo-link {
        position: absolute !important;
        left: 50% !important;
        transform: translateX(-50%) !important;
        gap: 10px;
    }
    /* Hamburger stays on the right */
    .nav-toggle { position: absolute !important; right: 14px !important; }
    .logo-name { font-size: 17px !important; }
    .logo-sub  { font-size: 9px !important; }
    .nav-toggle { display: flex; }
    #main-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: #111; border-top: 1px solid rgba(212,175,55,0.2); box-shadow: 0 12px 32px rgba(0,0,0,0.4); z-index: 500; }
    #main-nav.open { display: block; }
    #main-nav ul { flex-direction: column; padding: 6px 0 4px; gap: 0; }
    #main-nav ul li a { padding: 13px 20px; border-radius: 0; border-bottom: 1px solid rgba(212,175,55,0.06); font-size: 15px; color: rgba(255,255,255,0.85); white-space: normal; }
    #main-nav ul li:last-child a { border-bottom: none; }
    #main-nav ul li a:hover { background: rgba(212,175,55,0.08); color: #D4AF37; }
    #main-nav ul li a.nav-cta { margin: 10px 16px 14px; border-radius: 22px; text-align: center; border-bottom: none; padding: 12px 16px; display: block; }
    .hero-pro { min-height: auto; }
    .hpro-inner { flex-direction: column; padding: 40px 20px 0; align-items: center; }
    .hpro-text  { flex: none; max-width: 100%; padding-right: 0; text-align: center; width: 100%; }
    .hpro-visual { flex: none; max-width: 100%; width: 100%; margin-top: 24px; min-height: auto; }
    .hpro-h1  { font-size: 28px; }
    .hpro-sub { font-size: 14px; max-width: 100%; }
    .hpro-tag { margin: 0 auto 18px; }
    .hpro-stats { justify-content: center; flex-wrap: wrap; }
    .hpro-stat  { padding: 0 10px; }
    .hpro-stat strong { font-size: 20px; }
    .hpro-btns  { justify-content: center; }
    .hpro-trust-chips { justify-content: center; }
    .hpro-float-badge { display: none; }
    .hpro-img { height: auto !important; max-height: 320px !important; width: 100% !important; max-width: 400px !important; margin: 0 auto; }
    .hpro-img-overlay { background: linear-gradient(to bottom, #080c14 0%, transparent 25%); }
    .hpro-bg::after { width: 260px; height: 260px; right: -80px; opacity: 0.05; }
    .hpro-bg::before { display: none; }
    .section  { padding: 44px 16px; }
    .section-title h2 { font-size: 24px; }
    .page-header h1 { font-size: 26px; }
    .page-header    { padding: 36px 16px; }
    .article-header h1 { font-size: 24px; }
    .cta-section h2 { font-size: 24px; }
    .cta-section    { padding: 44px 16px; }
    .about-grid     { grid-template-columns: 1fr; gap: 28px; }
    .contact-wrapper { grid-template-columns: 1fr; gap: 20px; }
    .form-row       { grid-template-columns: 1fr; }
    .footer-grid    { grid-template-columns: 1fr; gap: 28px; padding-bottom: 24px; }
    .trust-bar .container { flex-direction: column; align-items: center; gap: 8px; }
    .footer-inner   { padding: 40px 20px 24px; }
    .footer-bottom .container-inner { flex-direction: column; text-align: center; gap: 4px; }
    .floating-whatsapp { bottom: 16px; right: 14px; width: 50px; height: 50px; }
}

/* ================================================
   SMALL PHONES ≤ 480px
   ================================================ */
@media (max-width: 480px) {
    .logo-link img, .logo-img, .logo-badge img, #site-header img, .header-main img {
        height: 72px !important; width: 72px !important;
        min-width: 72px !important; min-height: 72px !important;
        max-height: 72px !important; max-width: 72px !important;
    }
    .header-main .container-inner { min-height: 90px !important; padding: 8px 54px !important; }
    .logo-name { font-size: 20px !important; }
    .logo-sub  { font-size: 10px !important; display: block !important; }
    .hpro-inner { padding: 30px 14px 0; }
    .hpro-h1  { font-size: 22px; }
    .hpro-stat strong { font-size: 18px; }
    .hpro-btn-gold, .hpro-btn-outline { width: 100%; text-align: center; justify-content: center; }
    .hpro-btns { flex-direction: column; gap: 10px; }
    .section  { padding: 30px 12px; }
    .section-title h2 { font-size: 20px; }
    .services-grid { grid-template-columns: 1fr; }
    .steps-grid    { grid-template-columns: 1fr 1fr; gap: 12px; }
    .why-grid      { grid-template-columns: 1fr; }
    .branches-grid { grid-template-columns: 1fr; }
    .blog-grid     { grid-template-columns: 1fr; }
    .about-visual  { height: 240px; }
    .contact-form-box { padding: 18px 12px; }
    .footer-inner  { padding: 28px 12px 18px; }
    .cta-section   { padding: 30px 12px; }
    .btn-primary, .btn-whatsapp { padding: 12px 18px; font-size: 14px; width: 100%; text-align: center; justify-content: center; }
    .cta-btns { flex-direction: column; align-items: stretch; gap: 10px; }
}

/* ================================================
   TINY PHONES ≤ 380px
   ================================================ */
@media (max-width: 380px) {
    .header-topbar { display: none; }
    .logo-link img, .logo-img, .logo-badge img, #site-header img, .header-main img {
        height: 64px !important; width: 64px !important;
        min-width: 64px !important; min-height: 64px !important;
        max-height: 64px !important; max-width: 64px !important;
    }
    .header-main .container-inner { min-height: 84px !important; }
    .logo-name { font-size: 17px !important; }
    .hpro-h1  { font-size: 20px; }
    .section-title h2 { font-size: 18px; }
    .steps-grid { grid-template-columns: 1fr; }
}

/* ================================================
   MOBILE LOGO CENTER — STRONGEST OVERRIDE (LAST)
   ================================================ */
@media screen and (max-width: 768px) {

    #site-header .header-main .container-inner {
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        justify-content: center !important;
        position: relative !important;
        min-height: 96px !important;
        padding: 8px 60px 8px 60px !important;
        box-sizing: border-box !important;
    }

    #site-header .header-main .logo-link,
    #site-header .header-main a.logo-link {
        position: absolute !important;
        left: 50% !important;
        top: 50% !important;
        transform: translate(-50%, -50%) !important;
        margin: 0 !important;
        float: none !important;
        display: flex !important;
        align-items: center !important;
        gap: 10px !important;
        text-decoration: none !important;
    }

    #site-header .header-main .logo-link img,
    #site-header .header-main .logo-img,
    #site-header .header-main .logo-badge img,
    #site-header img,
    .header-main img {
        height: 78px !important;
        width: 78px !important;
        min-width: 78px !important;
        min-height: 78px !important;
        max-height: 78px !important;
        max-width: 78px !important;
        object-fit: contain !important;
        border-radius: 10px !important;
        display: block !important;
    }

    #site-header .header-main .logo-name {
        font-size: 22px !important;
        color: #fff !important;
        font-weight: 800 !important;
        white-space: nowrap !important;
    }

    #site-header .header-main .logo-sub {
        font-size: 11px !important;
        color: #D4AF37 !important;
    }

    #site-header .header-main .nav-toggle {
        display: flex !important;
        flex-direction: column !important;
        position: absolute !important;
        right: 14px !important;
        top: 50% !important;
        transform: translateY(-50%) !important;
        z-index: 100 !important;
        background: none !important;
        border: none !important;
        cursor: pointer !important;
        padding: 6px 4px !important;
        gap: 5px !important;
    }

    #site-header .header-main .nav-toggle span {
        display: block !important;
        width: 24px !important;
        height: 2px !important;
        background: #D4AF37 !important;
        border-radius: 2px !important;
    }
}
