/* =========================================================
   DigitalService theme — colours come from admin settings
   (--primary, --accent, --dark are printed in header.php)
   ========================================================= */
:root {
    --primary: #ff6b00;
    --primary-soft: rgba(255, 107, 0, .1);
    --primary-shadow: rgba(255, 107, 0, .35);
    --accent: #6c3cf0;
    --dark: #0d1b3e;
    --text: #4b5563;
    --muted: #6b7280;
    --border: #e8ebf3;
    --bg-soft: #f7f8fc;
    --navy: #0b1533;
    --radius: 14px;
    --shadow: 0 8px 28px rgba(16, 30, 70, .07);
    --shadow-lg: 0 18px 44px rgba(16, 30, 70, .12);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: 'Poppins', system-ui, -apple-system, 'Segoe UI', sans-serif;
    font-size: 15px;
    line-height: 1.6;
    color: var(--text);
    background: #fff;
    overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { color: var(--dark); margin: 0 0 .5em; line-height: 1.2; font-weight: 700; }
p { margin: 0 0 1em; }
.container { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 20px; }
.hl { color: var(--primary); }

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    padding: 13px 26px; border-radius: 8px; font-weight: 600; font-size: 15px;
    border: 2px solid transparent; cursor: pointer; transition: .25s; font-family: inherit;
    white-space: nowrap;
}
.btn-sm { padding: 9px 18px; font-size: 14px; }
.btn-primary {
    background: linear-gradient(135deg, var(--primary), color-mix(in srgb, var(--primary) 80%, #ff2e00));
    color: #fff; box-shadow: 0 8px 20px var(--primary-shadow);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 26px var(--primary-shadow); }
.btn-outline { border-color: var(--primary); color: var(--dark); background: #fff; }
.btn-outline:hover { background: var(--primary); color: #fff; }
.btn-ghost { border-color: rgba(255, 255, 255, .8); color: #fff; }
.btn-ghost:hover { background: #fff; color: var(--dark); }
.btn-whatsapp { background: #22c55e; color: #fff; }
.btn-whatsapp:hover { background: #16a34a; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-btns { display: inline-grid; grid-auto-flow: column; grid-auto-columns: 1fr; }

/* ---------- Header ---------- */
.site-header {
    position: sticky; top: 0; z-index: 100; background: rgba(255, 255, 255, .96);
    backdrop-filter: blur(8px); border-bottom: 1px solid transparent; transition: .25s;
}
.site-header.scrolled { box-shadow: 0 6px 20px rgba(16, 30, 70, .08); border-color: var(--border); }
.header-inner { display: flex; align-items: center; gap: 24px; height: 78px; }
.logo { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.logo img { max-height: 52px; width: auto; }
.logo-text strong { display: block; font-size: 24px; font-weight: 800; color: var(--dark); letter-spacing: -.5px; line-height: 1.1; }
.logo-text strong span { color: var(--primary); }
.logo-text small { display: block; font-size: 12px; color: var(--muted); }

.main-nav { margin-left: auto; }
.main-nav > ul { display: flex; gap: 6px; list-style: none; margin: 0; padding: 0; }
.main-nav li { position: relative; }
.main-nav > ul > li > a { display: block; padding: 10px 14px; font-weight: 500; font-size: 14.5px; color: var(--dark); border-radius: 6px; }
.main-nav > ul > li > a i { font-size: 10px; margin-left: 2px; }
.main-nav > ul > li.active > a, .main-nav > ul > li > a:hover { color: var(--primary); }
.drop-toggle { display: none; }
.dropdown {
    position: absolute; top: 100%; left: 0; min-width: 220px; list-style: none; margin: 0; padding: 8px;
    background: #fff; border-radius: 12px; box-shadow: var(--shadow-lg); border: 1px solid var(--border);
    opacity: 0; visibility: hidden; transform: translateY(8px); transition: .2s;
}
.has-drop:hover .dropdown, .has-drop:focus-within .dropdown { opacity: 1; visibility: visible; transform: none; }
.dropdown a { display: block; padding: 9px 14px; border-radius: 8px; font-size: 14px; color: var(--dark); }
.dropdown a:hover { background: var(--primary-soft); color: var(--primary); }

.header-actions { display: flex; align-items: center; gap: 12px; }
.icon-btn {
    position: relative; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--border);
    background: #fff; color: var(--dark); display: inline-flex; align-items: center; justify-content: center;
    font-size: 17px; cursor: pointer; transition: .2s;
}
.icon-btn:hover { border-color: var(--primary); color: var(--primary); }
.cart-count {
    position: absolute; top: -4px; right: -4px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 10px;
    background: var(--primary); color: #fff; font-size: 11px; font-weight: 700; display: flex; align-items: center; justify-content: center;
}
.menu-toggle { display: none; }

.search-bar { max-height: 0; overflow: hidden; transition: max-height .3s; background: #fff; border-top: 1px solid transparent; }
.search-bar.open { max-height: 90px; border-color: var(--border); }
.search-bar form { display: flex; align-items: center; gap: 12px; padding-top: 14px; padding-bottom: 14px; }
.search-bar input { flex: 1; border: 0; outline: 0; font: inherit; font-size: 16px; padding: 8px 0; min-width: 0; }
.search-bar > form > i { color: var(--muted); }

/* ---------- Alerts ---------- */
.alert { margin: 16px 0 0; padding: 14px 18px; border-radius: 10px; font-weight: 500; }
.alert-success { background: #ecfdf5; color: #047857; border: 1px solid #a7f3d0; }
.alert-error { background: #fef2f2; color: #b91c1c; border: 1px solid #fecaca; }
.alert-info { background: #eff6ff; color: #1d4ed8; border: 1px solid #bfdbfe; }

/* ---------- Icon circle ---------- */
.icon-circle {
    width: 54px; height: 54px; border-radius: 50%; flex-shrink: 0; display: inline-flex; align-items: center; justify-content: center;
    color: #fff; font-size: 22px;
    background: linear-gradient(145deg, color-mix(in srgb, var(--c) 75%, #fff), var(--c));
    box-shadow: 0 8px 18px var(--cs);
}
.icon-circle.sm { width: 34px; height: 34px; font-size: 15px; box-shadow: 0 5px 12px var(--cs); }
.icon-circle.xs { width: 28px; height: 28px; font-size: 13px; box-shadow: none; }

/* ---------- Hero ---------- */
.hero {
    position: relative; padding: 40px 0 50px; overflow: hidden;
    background:
        radial-gradient(circle at 12% 20%, rgba(255, 107, 0, .06), transparent 40%),
        radial-gradient(circle at 70% 30%, rgba(108, 60, 240, .07), transparent 45%),
        linear-gradient(180deg, #fff, #f6f7fd);
}
.hero-grid { display: grid; grid-template-columns: 1.3fr 1fr 250px; gap: 26px; align-items: center; }
.hero-badge {
    display: inline-flex; align-items: center; gap: 6px; padding: 6px 14px; border-radius: 30px;
    background: #fff; border: 1px solid var(--border); font-size: 13px; font-weight: 500; color: var(--dark);
    box-shadow: 0 4px 12px rgba(16, 30, 70, .05); margin-bottom: 18px;
}
.hero-badge i { color: var(--primary); }
.hero h1 { font-size: clamp(30px, 3.6vw, 44px); font-weight: 800; letter-spacing: -1px; margin-bottom: 18px; }
.hero-sub { font-size: 17px; color: #374151; max-width: 520px; }
.hero-features { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 20px; margin: 26px 0 30px; max-width: 480px; }
.hero-feature { display: flex; align-items: center; gap: 10px; min-width: 0; }
.hero-feature .icon-circle { flex-shrink: 0; }
.hero-feature strong { display: block; font-size: 14px; color: var(--dark); font-weight: 600; line-height: 1.2; }
.hero-feature small { display: block; font-size: 12px; line-height: 1.35; color: var(--muted); margin-top: 2px; }

.hero-visual { position: relative; min-height: 380px; }
.hero-img { width: 100%; height: auto; border-radius: var(--radius); }
.monitor { position: absolute; left: 4%; right: 4%; top: 10px; }
.monitor-screen {
    position: relative; aspect-ratio: 16 / 11; border-radius: 16px; border: 12px solid #1f2a44; background: #fff;
    box-shadow: var(--shadow-lg); overflow: hidden; transform: perspective(900px) rotateY(-8deg);
}
.monitor-stand { width: 34%; height: 40px; margin: -2px auto 0; background: linear-gradient(#cfd5e3, #e8ebf3); clip-path: polygon(30% 0, 70% 0, 100% 100%, 0 100%); }
.g-logo { position: absolute; top: 14px; left: 50%; transform: translateX(-50%); font-size: 30px; font-weight: 600; letter-spacing: -1px; }
.g-logo span:nth-child(1), .g-logo span:nth-child(4) { color: #4285f4; }
.g-logo span:nth-child(2), .g-logo span:nth-child(6) { color: #ea4335; }
.g-logo span:nth-child(3) { color: #fbbc05; }
.g-logo span:nth-child(5) { color: #34a853; }
.fake-lines { position: absolute; top: 72px; left: 18px; width: 38%; }
.fake-lines i { display: block; height: 7px; border-radius: 4px; background: #3b82f6; margin-bottom: 8px; opacity: .8; }
.fake-lines i:nth-child(2) { width: 70%; background: #22c55e; }
.fake-lines i:nth-child(3) { width: 85%; background: #cbd5e1; }
.bars { position: absolute; right: 16px; bottom: 12px; left: 30%; height: 60%; display: flex; align-items: flex-end; gap: 8%; }
.bars i { flex: 1; border-radius: 4px 4px 0 0; background: linear-gradient(#34d399, #16a34a); animation: grow 1.2s ease-out both; }
.bars i:nth-child(odd) { background: linear-gradient(#4ade80, #15803d); }
.trend { position: absolute; left: 10%; right: 4%; top: 18%; bottom: 20%; width: 86%; height: 62%; }
@keyframes grow { from { transform: scaleY(0); transform-origin: bottom; } to { transform: scaleY(1); transform-origin: bottom; } }

.rank-chip {
    position: absolute; top: 30px; right: -6px; background: #fff; border-radius: 12px; padding: 12px 18px;
    font-size: 22px; font-weight: 700; color: #16a34a; box-shadow: var(--shadow-lg); display: flex; align-items: center; gap: 8px;
    animation: float 4s ease-in-out infinite;
}
.site-card {
    position: absolute; left: 20%; right: 0; bottom: 8px; background: #fff; border-radius: 12px; padding: 16px 18px;
    box-shadow: var(--shadow-lg); animation: float 5s ease-in-out infinite .5s;
}
.site-card strong { display: block; color: var(--dark); font-size: 15px; }
.site-card small { display: block; color: var(--muted); font-size: 12px; margin-bottom: 10px; }
.site-card i { display: block; height: 7px; border-radius: 4px; background: #e5e7eb; margin-top: 7px; width: 90%; }
.site-card i + i { width: 60%; }
.plant { position: absolute; left: 0; bottom: 30px; width: 70px; height: 110px; }
.plant span { position: absolute; bottom: 30px; left: 30px; width: 16px; height: 60px; background: linear-gradient(#4ade80, #15803d); border-radius: 50% 50% 50% 50% / 80% 80% 20% 20%; transform-origin: bottom center; }
.plant span:nth-child(1) { transform: rotate(-35deg); }
.plant span:nth-child(2) { transform: rotate(-10deg); height: 72px; }
.plant span:nth-child(3) { transform: rotate(15deg); height: 66px; }
.plant span:nth-child(4) { transform: rotate(38deg); height: 52px; }
.plant b { position: absolute; bottom: 0; left: 18px; width: 40px; height: 34px; background: #f3f4f6; border-radius: 4px 4px 12px 12px; box-shadow: inset 0 -6px 0 #e5e7eb; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

.hero-cards { display: flex; flex-direction: column; gap: 14px; }
.hero-card {
    display: flex; align-items: center; gap: 14px; background: #fff; padding: 14px 16px; border-radius: 12px;
    border: 1px solid var(--border); box-shadow: var(--shadow); transition: .25s;
}
.hero-card:hover { transform: translateX(-4px); box-shadow: var(--shadow-lg); }
.hero-card .icon-circle { width: 46px; height: 46px; font-size: 19px; }
.hero-card strong { display: block; font-size: 14.5px; color: var(--dark); font-weight: 600; line-height: 1.3; }
.hero-card small { font-size: 12px; color: var(--muted); }

/* ---------- Sections ---------- */
.section { padding: 50px 0; }
.section-head { text-align: center; max-width: 760px; margin: 0 auto 34px; }
.section-head h2 { font-size: clamp(26px, 3vw, 36px); font-weight: 800; letter-spacing: -.5px; margin-bottom: 8px; }
.section-head p { color: var(--muted); margin: 0; }
.section-label { display: inline-flex; align-items: center; gap: 14px; font-size: 14px; font-weight: 600; color: var(--dark); margin-bottom: 8px; }
.section-label::before, .section-label::after { content: ""; width: 34px; height: 2px; background: var(--primary); border-radius: 2px; }
.section-label.big { font-size: clamp(18px, 2vw, 22px); font-weight: 700; margin-bottom: 4px; }
.section-head.small { margin-bottom: 26px; }

/* Services grid */
.services-section { padding-top: 20px; }
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(92px, 1fr)); gap: 10px; }
.service-tile {
    display: flex; flex-direction: column; align-items: center; justify-content: flex-start; gap: 12px; text-align: center;
    padding: 20px 8px 18px; border-radius: 12px; border: 1px solid var(--border); background: #fff;
    transition: .25s; min-height: 124px;
}
.service-tile:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: transparent; }
.service-tile .icon-circle { width: 50px; height: 50px; font-size: 21px; }
.tile-img { width: 50px; height: 50px; object-fit: contain; }
.tile-title { font-size: 13px; font-weight: 500; color: var(--dark); line-height: 1.35; }

/* Packages */
.packages-section { padding-top: 10px; }
.packages-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 18px; }
.package-card {
    position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--border);
    border-radius: var(--radius); padding: 44px 24px 22px; box-shadow: var(--shadow); transition: .25s;
}
.package-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.pkg-badge { position: absolute; top: 0; left: 10px; color: #fff; font-size: 12px; font-weight: 600; padding: 4px 10px; border-radius: 0 0 8px 8px; }
.pkg-icon { position: absolute; top: 14px; right: 16px; width: 38px; height: 38px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 17px; }
.package-card h3 { font-size: 20px; font-weight: 700; margin-bottom: 8px; padding-right: 30px; }
.pkg-desc { font-size: 14px; color: var(--text); margin-bottom: 16px; }
.check-list { list-style: none; margin: 0 0 20px; padding: 0; flex: 1; }
.check-list li { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: #374151; margin-bottom: 7px; }
.check-list i { color: #22c55e; margin-top: 3px; }
.pkg-foot { display: flex; align-items: flex-end; justify-content: space-between; gap: 10px; }
.pkg-price small { display: block; font-size: 13px; color: var(--muted); }
.pkg-price strong { font-size: 24px; font-weight: 800; color: var(--dark); line-height: 1; }

/* Steps */
.steps-section { padding-top: 10px; padding-bottom: 60px; }
.steps-grid { display: flex; align-items: stretch; gap: 10px; }
.step-card {
    position: relative; flex: 1; text-align: center; background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
    padding: 26px 18px 20px; box-shadow: var(--shadow);
}
.step-num {
    position: absolute; top: -12px; left: 14px; width: 34px; height: 34px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
    color: #fff; font-weight: 700; background: linear-gradient(135deg, #ff7a18, #ef4444); box-shadow: 0 6px 14px rgba(239, 68, 68, .35);
}
.step-icon { width: 58px; height: 58px; border-radius: 50%; margin: 0 auto 12px; display: flex; align-items: center; justify-content: center; font-size: 24px; }
.step-card h3 { font-size: 16px; margin-bottom: 4px; }
.step-card p { font-size: 13.5px; color: var(--muted); margin: 0; }
.step-arrow { align-self: center; color: var(--muted); font-size: 16px; width: 30px; height: 30px; border: 1px solid var(--border); border-radius: 50%; display: flex; align-items: center; justify-content: center; flex-shrink: 0; background: #fff; }

/* CTA */
.cta {
    position: relative; overflow: hidden; color: #cbd5e1; padding: 50px 0;
    background:
        radial-gradient(circle at 80% 20%, rgba(59, 130, 246, .25), transparent 45%),
        radial-gradient(circle at 10% 90%, rgba(108, 60, 240, .25), transparent 40%),
        linear-gradient(120deg, #0b1533, #13235a 60%, #0f1d4a);
}
.cta-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 30px; align-items: center; }
.cta h2 { color: #fff; font-size: clamp(26px, 3vw, 36px); font-weight: 800; }
.cta p { font-size: 16px; color: #d1d5db; max-width: 480px; margin-bottom: 24px; }
.cta-visual { position: relative; min-height: 190px; }
.cta-visual > img { width: 100%; border-radius: var(--radius); }
.cta-search {
    position: absolute; left: 0; top: 40px; width: 150px; background: #fff; border-radius: 10px; padding: 10px 14px;
    display: flex; align-items: center; justify-content: space-between; transform: rotate(-12deg); box-shadow: var(--shadow-lg);
}
.g-mini { font-weight: 600; color: #4285f4; }
.cta-search i { color: #fff; background: #3b82f6; border-radius: 50%; width: 24px; height: 24px; font-size: 11px; display: flex; align-items: center; justify-content: center; }
.cta-bars { position: absolute; left: 0; right: 42%; bottom: 0; height: 100%; display: flex; align-items: flex-end; gap: 6%; padding-left: 4%; }
.cta-bars i { flex: 1; background: linear-gradient(#60a5fa, #6d28d9); border-radius: 4px 4px 0 0; opacity: .9; }
.cta-bars i:nth-child(even) { background: linear-gradient(#22d3ee, #3b82f6); }
.cta-trend { position: absolute; left: 0; bottom: 20px; width: 60%; height: 90%; }
.cta-badges { position: absolute; right: 0; top: 0; bottom: 0; display: flex; flex-direction: column; justify-content: center; gap: 12px; }
.cta-badge {
    display: flex; align-items: center; gap: 10px; background: #fff; color: var(--dark); padding: 10px 16px; border-radius: 8px;
    font-size: 13.5px; font-weight: 600; box-shadow: var(--shadow-lg);
}
.cta-badge:nth-child(2) { margin-left: 20px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: #cbd5e1; font-size: 14px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr 1.3fr; gap: 30px; padding-top: 30px; padding-bottom: 26px; }
.logo-light .logo-text strong { color: #fff; font-size: 22px; }
.logo-light .logo-text small { color: #cbd5e1; }
.footer-about p { margin: 16px 0; font-size: 13px; line-height: 1.8; color: #cbd5e1; }
.socials { display: flex; gap: 10px; flex-wrap: wrap; }
.socials a { width: 34px; height: 34px; border-radius: 50%; color: #fff; display: flex; align-items: center; justify-content: center; transition: .2s; }
.socials a:hover { transform: translateY(-3px); }
.site-footer h4 { color: #fff; font-size: 15px; font-weight: 600; margin: 6px 0 14px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 6px; }
.site-footer li a:hover { color: var(--primary); }
.footer-contact li { display: flex; gap: 12px; align-items: flex-start; }
.footer-contact li i { color: var(--primary); margin-top: 4px; width: 16px; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .08); padding: 14px 0; font-size: 13px; }
.footer-bottom .container { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; }
.footer-trust b { color: #475569; font-weight: 400; margin: 0 4px; }
.wa-float {
    position: fixed; left: 20px; bottom: 20px; z-index: 90; width: 54px; height: 54px; border-radius: 50%; background: #22c55e; color: #fff;
    font-size: 28px; display: flex; align-items: center; justify-content: center; box-shadow: 0 10px 24px rgba(34, 197, 94, .45);
}

/* ---------- Inner pages ---------- */
.page-banner {
    padding: 56px 0 48px; text-align: center;
    background: radial-gradient(circle at 20% 30%, rgba(255, 107, 0, .08), transparent 40%), radial-gradient(circle at 80% 50%, rgba(108, 60, 240, .08), transparent 45%), linear-gradient(180deg, #fff, #f3f5fc);
}
.page-banner h1 { font-size: clamp(28px, 4vw, 42px); font-weight: 800; }
.page-banner p { color: var(--muted); max-width: 620px; margin: 0 auto 12px; }
.crumbs { display: inline-flex; gap: 8px; align-items: center; font-size: 13px; color: var(--muted); flex-wrap: wrap; justify-content: center; }
.crumbs a:hover { color: var(--primary); }
.crumbs i { font-size: 10px; }

.content-wrap { display: grid; grid-template-columns: 1fr 320px; gap: 36px; align-items: start; }
.content-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow); }
.rich-text { color: #374151; font-size: 15.5px; line-height: 1.8; }
.rich-text h2 { font-size: 26px; margin-top: 1.2em; }
.rich-text h3 { font-size: 20px; margin-top: 1.2em; }
.rich-text img { border-radius: 10px; margin: 16px 0; height: auto; }
.rich-text a { color: var(--primary); text-decoration: underline; }
.rich-text ul li { margin-bottom: 6px; }
.rich-text ol { padding-left: 22px; }
.rich-text ol li { margin-bottom: 8px; padding-left: 4px; }
.rich-text code { background: var(--primary-soft); color: var(--dark); padding: 2px 6px; border-radius: 5px; font-size: .9em; overflow-wrap: anywhere; }
.rich-text blockquote { margin: 18px 0; padding: 14px 18px; background: var(--primary-soft); border-left: 4px solid var(--primary); border-radius: 8px; color: var(--dark); }
.sidebar-box { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); margin-bottom: 20px; }
.sidebar-box h4 { font-size: 17px; margin-bottom: 14px; }
.sidebar-box ul { list-style: none; margin: 0; padding: 0; }
.sidebar-box li a { display: flex; align-items: center; gap: 10px; padding: 8px 0; border-bottom: 1px dashed var(--border); font-size: 14px; color: var(--dark); }
.sidebar-box li a:hover { color: var(--primary); }
.sidebar-box li:last-child a { border: 0; }
.service-hero-icon { display: flex; align-items: center; gap: 16px; margin-bottom: 20px; }
.service-hero-icon .icon-circle { width: 64px; height: 64px; font-size: 26px; }
.service-hero-name { color: var(--dark); font-size: 1.5em; font-weight: 700; line-height: 1.2; } /* not a heading: the description holds the real H2s */

.cards-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 24px; }
.blog-home-section .cards-grid { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); max-width: 1000px; margin: 0 auto; }
.service-card { display: flex; flex-direction: column; gap: 12px; padding: 26px; border-radius: var(--radius); background: #fff; border: 1px solid var(--border); box-shadow: var(--shadow); transition: .25s; }
.service-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.service-card h3 { font-size: 18px; margin: 4px 0 0; }
.service-card p { font-size: 14px; margin: 0; flex: 1; }
.service-card .more { color: var(--primary); font-weight: 600; font-size: 14px; }
.post-card { background: #fff; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); box-shadow: var(--shadow); transition: .25s; display: flex; flex-direction: column; }
.post-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.post-thumb { aspect-ratio: 16 / 9; background: linear-gradient(135deg, var(--primary), var(--accent)); display: flex; align-items: center; justify-content: center; color: #fff; font-size: 40px; }
.post-thumb img { width: 100%; height: 100%; object-fit: cover; }
.post-body { padding: 20px 22px 24px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.post-body small { color: var(--muted); }
.post-body h3 { font-size: 18px; margin: 0; }
.post-body p { font-size: 14px; margin: 0; flex: 1; }
.post-cover { border-radius: var(--radius); margin-bottom: 24px; width: 100%; }

/* Forms */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-grid .full { grid-column: 1 / -1; }
.field label { display: block; font-size: 14px; font-weight: 500; color: var(--dark); margin-bottom: 6px; }
.field input, .field select, .field textarea {
    width: 100%; padding: 12px 14px; border: 1px solid #d9deea; border-radius: 8px; font: inherit; font-size: 14.5px; background: #fff; transition: .2s;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: 0; border-color: var(--primary); box-shadow: 0 0 0 3px var(--primary-soft); }
.hp-field { position: absolute; left: -9999px; }
.contact-info-list li { display: flex; gap: 14px; align-items: center; margin-bottom: 18px; list-style: none; }
.contact-info-list { padding: 0; margin: 0; }
.contact-info-list .icon-circle { width: 44px; height: 44px; font-size: 17px; }
.contact-info-list small { display: block; color: var(--muted); font-size: 12px; }
.contact-info-list strong { color: var(--dark); font-weight: 600; font-size: 14.5px; word-break: break-word; }

/* Contact methods (Admin → Contact Methods) */
.contact-methods-section { padding-bottom: 0; }
.contact-methods-title { text-align: center; margin: 0 0 24px; color: var(--dark); }
.contact-methods { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 16px; }
.contact-method { display: flex; align-items: center; gap: 12px; padding: 16px; background: #fff; border: 1px solid var(--border); border-radius: 12px; color: inherit; text-decoration: none; transition: .25s; min-width: 0; }
a.contact-method:hover { border-color: var(--primary); transform: translateY(-2px); box-shadow: 0 10px 24px rgba(13, 27, 62, .08); }
.contact-method .icon-circle { flex-shrink: 0; width: 44px; height: 44px; font-size: 19px; }
.contact-method > div { flex: 1; min-width: 0; }
.contact-method strong { display: block; color: var(--dark); font-weight: 600; font-size: 15px; }
.contact-method small { display: block; color: var(--muted); font-size: 13px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.contact-method-go { color: var(--muted); font-size: 13px; }
a.contact-method:hover .contact-method-go { color: var(--primary); }

/* Cart */
.cart-table { width: 100%; border-collapse: collapse; }
.cart-table th, .cart-table td { padding: 14px 10px; border-bottom: 1px solid var(--border); text-align: left; }
.cart-table th { font-size: 13px; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.cart-table td strong { color: var(--dark); }
.cart-total { display: flex; justify-content: space-between; font-size: 20px; font-weight: 700; color: var(--dark); padding: 16px 10px; }
.remove-link { color: #ef4444; font-size: 13px; }
.empty-state { text-align: center; padding: 50px 20px; }
.empty-state i { font-size: 54px; color: #cbd5e1; margin-bottom: 16px; }
.search-group { margin-bottom: 36px; }
.search-group h3 { font-size: 18px; border-bottom: 2px solid var(--primary-soft); padding-bottom: 8px; }
.search-group a { display: block; padding: 12px 0; border-bottom: 1px dashed var(--border); }
.search-group a strong { color: var(--dark); display: block; }
.search-group a:hover strong { color: var(--primary); }
.search-group a small { color: var(--muted); }
.sitemap-list { columns: 3 220px; }
.sitemap-list li { margin-bottom: 8px; break-inside: avoid; }
.sitemap-list a { color: var(--dark); }
.sitemap-list a:hover { color: var(--primary); }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .6s ease, transform .6s ease; }
.reveal.visible { opacity: 1; transform: none; }
.reveal.visible:hover { transform: translateY(-5px); }

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
    .hero-grid { grid-template-columns: 1.1fr 1fr; }
    .hero-cards { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(4, 1fr); }
    .main-nav > ul > li > a { padding: 10px 9px; }
}
@media (max-width: 1024px) {
    /* backdrop-filter would make the header the containing block of the fixed menu (menu collapsed to ~0 height) */
    .site-header { backdrop-filter: none; background: #fff; }
    .menu-toggle { display: inline-flex; }
    .main-nav {
        position: fixed; top: 78px; left: 0; right: 0; bottom: 0; background: #fff; padding: 16px 20px; overflow-y: auto;
        opacity: 0; visibility: hidden; transform: translateY(-8px); transition: .25s; margin: 0;
    }
    .main-nav.open { opacity: 1; visibility: visible; transform: none; }
    .main-nav > ul { flex-direction: column; gap: 0; }
    .main-nav > ul > li { border-bottom: 1px solid var(--border); }
    .main-nav > ul > li > a { padding: 14px 4px; font-size: 16px; }
    .main-nav > ul > li > a i { display: none; }
    .drop-toggle { display: block; position: absolute; right: 0; top: 6px; width: 40px; height: 40px; border: 0; background: none; color: var(--dark); cursor: pointer; }
    .dropdown { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; display: none; padding: 0 0 10px 10px; }
    .has-drop.open .dropdown { display: block; }
    .header-actions { margin-left: auto; }
    .footer-grid { grid-template-columns: 1fr 1fr 1fr; }
    .footer-about { grid-column: 1 / -1; }
    .content-wrap { grid-template-columns: 1fr; }
    .content-wrap > * { min-width: 0; }
    .steps-grid { flex-wrap: wrap; }
    .step-card { flex: 1 1 calc(50% - 10px); }
    .step-arrow { display: none; }
}
@media (max-width: 860px) {
    .hero-grid { grid-template-columns: 1fr; }
    .hero-visual { min-height: 340px; max-width: 520px; width: 100%; margin: 0 auto; }
    .hero-cards { grid-template-columns: 1fr 1fr; }
    .cta-grid { grid-template-columns: 1fr; }
    .cta-visual { min-height: 200px; }
}
@media (max-width: 600px) {
    body { font-size: 14.5px; }
    .container { padding: 0 16px; }
    .header-inner { height: 68px; gap: 10px; }
    .main-nav { top: 68px; }
    .header-cta { display: none; }
    .logo-text strong { font-size: 19px; }
    .logo-text small { font-size: 10.5px; }
    .logo-icon svg { width: 36px; height: 30px; }
    .icon-btn { width: 38px; height: 38px; font-size: 15px; }
    .hero { padding-top: 28px; }
    .hero-features { gap: 14px 12px; }
    .hero-feature { gap: 8px; }
    .hero-feature strong { font-size: 13px; }
    .hero-feature small { font-size: 11px; }
    .hero-visual { min-height: 290px; }
    .rank-chip { font-size: 16px; padding: 8px 12px; }
    .plant { display: none; }
    .site-card { left: 8%; }
    .hero-cards { grid-template-columns: 1fr; }
    .btn-row .btn { flex: 1 1 100%; }
    .hero-btns { display: grid; grid-auto-flow: row; }
    .services-grid { grid-template-columns: repeat(3, 1fr); }
    .step-card { flex: 1 1 100%; }
    .form-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .footer-contact { grid-column: 1 / -1; }
    .footer-bottom .container { justify-content: center; text-align: center; }
    .content-card { padding: 20px; }
    .cart-table th:nth-child(2), .cart-table td:nth-child(2) { display: none; }
    .cta-badges { position: static; margin-top: 12px; flex-direction: row; flex-wrap: wrap; }
    .cta-badge:nth-child(2) { margin-left: 0; }
    .cta-visual { min-height: 0; }
    .cta-bars, .cta-trend, .cta-search { display: none; }
    .field input, .field select, .field textarea { font-size: 16px; } /* < 16px makes iOS zoom in on focus */
    .section-label { gap: 10px; }
    .section-label::before, .section-label::after { width: 18px; flex-shrink: 0; }
    .cart-table th, .cart-table td { padding: 12px 5px; }
    .cart-table th:first-child, .cart-table td:first-child { padding-left: 0; }
    .cart-table th:last-child, .cart-table td:last-child { padding-right: 0; }
    .remove-link span { display: none; }
    .remove-link { display: inline-flex; padding: 8px; font-size: 15px; }
}
@media (max-width: 360px) {
    .header-inner { gap: 8px; }
    .header-actions { gap: 6px; }
    .icon-btn { width: 36px; height: 36px; }
    .logo { gap: 6px; min-width: 0; }
    .logo-icon svg { width: 30px; height: 26px; }
    .logo img { max-height: 40px; }
    .logo-text strong { font-size: 17px; }
    .logo-text small { font-size: 9.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
    .content-card { padding: 16px; }
    .qty-stepper.sm .qty-btn { width: 28px; }
    .qty-stepper.sm input { width: 34px; }
}

/* ---------- Checkout methods & crypto payment page ---------- */
.method-list { display: grid; gap: 8px; }
.method-opt { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border: 1.5px solid var(--border); border-radius: 10px; cursor: pointer; transition: .2s; }
.method-opt input { accent-color: var(--primary); }
.field .method-opt { display: flex; margin-bottom: 0; font-weight: 400; } /* beat .field label { display: block } */
.field .method-opt input { width: auto; padding: 0; flex-shrink: 0; } /* undo the full-width .field input style for the radio */
.method-opt:has(input:checked) { border-color: var(--mc); background: color-mix(in srgb, var(--mc) 7%, #fff); }
.method-opt strong, .pay-method strong { display: block; color: var(--dark); font-size: 14px; line-height: 1.2; }
.method-opt small, .pay-method small { color: var(--muted); font-size: 12px; }
.pm-icon { width: 36px; height: 36px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: var(--mc); color: #fff; font-size: 17px; flex-shrink: 0; }

.pay-title { font-size: 20px; margin-bottom: 14px; }
.pay-methods { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 20px; }
.pay-method { display: flex; align-items: center; gap: 12px; padding: 12px 18px; min-width: 200px; border: 2px solid var(--border); border-radius: 12px; background: #fff; cursor: pointer; font: inherit; text-align: left; transition: .2s; }
.pay-method:hover { border-color: var(--mc); }
.pay-method.active { border-color: var(--mc); background: color-mix(in srgb, var(--mc) 8%, #fff); box-shadow: 0 6px 18px color-mix(in srgb, var(--mc) 25%, transparent); }
.pay-status { display: inline-flex; align-items: center; gap: 10px; padding: 8px 14px; border-radius: 30px; font-weight: 600; font-size: 14px; background: #fff7ed; color: #c2410c; margin-bottom: 18px; }
.pay-status .dot { width: 10px; height: 10px; border-radius: 50%; background: currentColor; animation: pulse 1.4s infinite; }
.pay-status[data-state="detected"], .pay-status[data-state="confirming"] { background: #eff6ff; color: #1d4ed8; }
.pay-status[data-state="paid"] { background: #ecfdf5; color: #047857; }
.pay-status[data-state="underpaid"], .pay-status[data-state="reverted"] { background: #fef2f2; color: #b91c1c; }
@keyframes pulse { 50% { opacity: .35; } }
.pay-box { display: flex; gap: 26px; align-items: center; padding: 22px; border: 1px dashed #cbd5e1; border-radius: 14px; background: var(--bg-soft); }
.pay-qr { flex-shrink: 0; padding: 10px; background: #fff; border-radius: 10px; box-shadow: var(--shadow); }
.pay-qr img, .pay-qr canvas { width: 180px; height: 180px; }
.pay-details { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.pay-details label { font-size: 12px; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); font-weight: 600; margin-top: 10px; }
.pay-details label:first-child { margin-top: 0; }
.pay-amount { font-size: 26px; font-weight: 800; color: var(--dark); }
.copy-row { display: flex; align-items: center; gap: 8px; }
.copy-row input { flex: 1; min-width: 0; padding: 10px 12px; border: 1px solid #d9deea; border-radius: 8px; font: inherit; }
.pay-addr { font-family: Consolas, monospace; font-size: 13.5px; background: #fff; border: 1px solid var(--border); padding: 8px 10px; border-radius: 8px; word-break: break-all; color: var(--dark); }
.copy-btn { flex-shrink: 0; width: 36px; height: 36px; border-radius: 8px; border: 1px solid var(--border); background: #fff; cursor: pointer; color: var(--dark); }
.copy-btn:hover { border-color: var(--primary); color: var(--primary); }
.pay-timer { margin: 12px 0 0; font-size: 14px; color: var(--dark); }
.pay-note { font-size: 13.5px; color: var(--muted); margin: 16px 0 0; }
.pay-note i { color: var(--primary); margin-right: 4px; }
.web3-wrap { margin-top: 18px; }
.pay-manual { margin-top: 14px; font-size: 14px; }
.pay-manual summary { cursor: pointer; color: var(--primary); font-weight: 500; margin-bottom: 10px; }
.pay-expired, .pay-done { text-align: center; padding: 30px 10px; }
.pay-expired i, .pay-done i { font-size: 48px; color: var(--primary); margin-bottom: 12px; }
.pay-done i { color: #22c55e; font-size: 64px; }
.sum-line { font-size: 14px; margin: 0 0 8px; color: var(--dark); }
@media (max-width: 600px) {
    .pay-box { flex-direction: column; align-items: stretch; text-align: left; }
    .pay-qr { align-self: center; }
    .pay-method { min-width: 0; flex: 1 1 100%; }
    .pay-amount { font-size: 22px; }
}

/* ---------- Quantity stepper, order popup, toast ---------- */
.pkg-price .pkg-unit { display: inline; font-size: 13px; color: var(--muted); font-weight: 500; margin-left: 3px; }
.qty-stepper { display: inline-flex; align-items: stretch; border: 1.5px solid var(--border); border-radius: 10px; overflow: hidden; background: #fff; }
.qty-stepper input { width: 64px; border: 0; text-align: center; font: inherit; font-weight: 700; font-size: 16px; color: var(--dark); -moz-appearance: textfield; appearance: textfield; }
.qty-stepper input::-webkit-outer-spin-button, .qty-stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.qty-stepper input:focus { outline: 0; background: var(--primary-soft); }
.qty-btn { width: 42px; border: 0; background: var(--bg-soft); color: var(--dark); cursor: pointer; font-size: 14px; transition: .15s; }
.qty-btn:hover:not(:disabled) { background: var(--primary); color: #fff; }
.qty-btn:disabled { opacity: .35; cursor: not-allowed; }
.qty-stepper.sm input { width: 46px; font-size: 14px; }
.qty-stepper.sm .qty-btn { width: 32px; height: 34px; font-size: 12px; }
.qty-stepper.lg { height: 52px; }
.qty-stepper.lg input { width: 90px; font-size: 20px; }
.qty-stepper.lg .qty-btn { width: 52px; font-size: 16px; }

body.modal-open { overflow: hidden; }
.modal { position: fixed; inset: 0; z-index: 200; display: flex; align-items: center; justify-content: center; padding: 16px; }
.modal[hidden] { display: none; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(13, 27, 62, .55); backdrop-filter: blur(3px); animation: fadeIn .2s; }
.modal-box { position: relative; width: 100%; max-width: 420px; background: #fff; border-radius: 18px; padding: 28px; box-shadow: 0 30px 70px rgba(13, 27, 62, .3); animation: popIn .25s ease-out; }
.modal-close { position: absolute; top: 14px; right: 14px; width: 36px; height: 36px; border-radius: 50%; border: 0; background: var(--bg-soft); color: var(--dark); cursor: pointer; font-size: 16px; }
.modal-close:hover { background: var(--primary-soft); color: var(--primary); }
.modal-kicker { display: inline-flex; gap: 6px; align-items: center; font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; color: var(--primary); background: var(--primary-soft); padding: 4px 10px; border-radius: 20px; margin-bottom: 10px; }
.modal-box h3 { font-size: 22px; margin: 0 40px 6px 0; }
.om-price { margin: 0 0 20px; font-size: 15px; }
.om-price strong { font-size: 18px; color: var(--dark); }
.om-label { display: block; font-size: 13px; font-weight: 600; color: var(--dark); margin-bottom: 8px; }
#omLimits { display: block; margin-top: 6px; font-size: 12.5px; min-height: 18px; }
.om-total { display: flex; justify-content: space-between; align-items: center; margin: 18px 0; padding: 14px 16px; border-radius: 12px; background: var(--bg-soft); font-weight: 600; color: var(--dark); }
.om-total strong { font-size: 24px; font-weight: 800; }
.om-error { margin: -6px 0 14px; color: #b91c1c; font-size: 14px; }
.om-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.om-actions .btn { padding: 12px 10px; }
.om-actions .btn:disabled { opacity: .6; cursor: wait; }
.toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); z-index: 210; background: var(--dark); color: #fff; padding: 12px 20px; border-radius: 10px; font-size: 14px; font-weight: 500; box-shadow: var(--shadow-lg); max-width: calc(100% - 32px); animation: popIn .25s ease-out; }
.toast[hidden] { display: none; }
@keyframes fadeIn { from { opacity: 0; } }
@keyframes popIn { from { opacity: 0; transform: translateY(12px) scale(.97); } }
.toast { animation-name: toastIn; }
@keyframes toastIn { from { opacity: 0; transform: translate(-50%, 12px); } }
@media (max-width: 600px) {
    .modal { align-items: flex-end; padding: 0; }
    .modal-box { max-width: none; border-radius: 18px 18px 0 0; padding: 24px 20px calc(20px + env(safe-area-inset-bottom)); }
    .cart-table th:nth-child(2), .cart-table td:nth-child(2) { display: none; }
}

/* ---------- Package category tabs ---------- */
.pkg-tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: -6px 0 26px; }
.pkg-tab { display: inline-flex; align-items: center; gap: 8px; padding: 9px 18px; border-radius: 30px; border: 1.5px solid var(--border); background: #fff; color: var(--dark); font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; transition: .2s; }
.pkg-tab span { min-width: 22px; height: 22px; padding: 0 6px; border-radius: 11px; background: var(--bg-soft); color: var(--muted); font-size: 12px; display: inline-flex; align-items: center; justify-content: center; }
.pkg-tab:hover { border-color: var(--primary); color: var(--primary); }
.pkg-tab.active { background: var(--primary); border-color: var(--primary); color: #fff; box-shadow: 0 8px 18px var(--primary-shadow); }
.pkg-tab.active span { background: rgba(255, 255, 255, .25); color: #fff; }
.package-card[hidden] { display: none; }
.package-card.pkg-in { animation: pkgIn .35s ease-out; }
@keyframes pkgIn { from { opacity: 0; transform: translateY(10px); } }
@media (max-width: 600px) {
    .pkg-tabs { flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto; margin: -6px -16px 22px; padding: 2px 16px 6px; scrollbar-width: none; }
    .pkg-tabs::-webkit-scrollbar { display: none; }
    .pkg-tab { flex-shrink: 0; }
}

/* ---------- Offer price ---------- */
.pkg-old { display: flex; align-items: center; gap: 8px; margin: 2px 0 2px; }
.pkg-old del { color: var(--muted); font-size: 15px; font-weight: 500; }
.pkg-off { display: inline-block; padding: 2px 8px; border-radius: 6px; background: #dcfce7; color: #15803d; font-size: 12px; font-weight: 700; letter-spacing: .02em; }
.pkg-price .pkg-old + strong { color: #16a34a; }
.om-price del { font-size: 15px; margin-right: 2px; }
.om-price .pkg-off { margin-left: 4px; vertical-align: middle; }
/* keep price + unit + discount on one line; the button drops below when the card is narrow */
.pkg-foot { flex-wrap: wrap; row-gap: 12px; }
.pkg-price { white-space: nowrap; }
.pkg-off { white-space: nowrap; }

/* Packages at the top of service / CMS pages, content follows below */
.packages-section.packages-top { padding-top: 44px; padding-bottom: 10px; }
.packages-top + .section { padding-top: 30px; }
#packages { scroll-margin-top: 90px; }

/* ---------- Offer popup (Admin → Site Settings → Offer Popup) ---------- */
.promo-box { max-width: 430px; max-height: calc(100vh - 32px); padding: 0; overflow-x: hidden; overflow-y: auto; text-align: center; animation: promoIn .6s cubic-bezier(.22, 1.4, .36, 1) both; }
.promo-modal .modal-backdrop { animation-duration: .4s; }
.promo-modal.closing .promo-box { animation: promoOut .25s ease-in forwards; }
.promo-modal.closing .modal-backdrop { animation: fadeOut .25s ease-in forwards; }
.promo-box .modal-close { z-index: 2; background: rgba(255, 255, 255, .9); }
.promo-top { position: relative; padding: 30px 20px 22px; background: linear-gradient(135deg, var(--primary), var(--accent)); overflow: hidden; }
.promo-top::before, .promo-top::after { content: ""; position: absolute; border-radius: 50%; background: rgba(255, 255, 255, .12); }
.promo-top::before { width: 160px; height: 160px; top: -60px; left: -40px; }
.promo-top::after { width: 110px; height: 110px; bottom: -50px; right: -20px; }
.promo-gift { position: relative; z-index: 1; display: inline-flex; align-items: center; justify-content: center; width: 78px; height: 78px; border-radius: 50%; background: #fff; color: var(--primary); font-size: 34px; box-shadow: 0 12px 30px rgba(0, 0, 0, .18); animation: giftSwing 2.4s ease-in-out .7s infinite; }
.promo-img { position: relative; z-index: 1; display: block; max-width: 100%; max-height: 170px; margin: 0 auto; border-radius: 12px; object-fit: contain; }
.promo-body { padding: 22px 26px 26px; }
.promo-badge { position: relative; display: inline-flex; gap: 6px; align-items: center; overflow: hidden; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--primary); background: var(--primary-soft); padding: 5px 12px; border-radius: 20px; margin-bottom: 12px; }
.promo-badge::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, transparent 30%, rgba(255, 255, 255, .8) 50%, transparent 70%); transform: translateX(-100%); animation: shine 2.8s ease-in-out 1s infinite; }
.promo-body h3 { font-size: 23px; line-height: 1.25; margin: 0 0 10px; }
.promo-text { color: var(--muted); font-size: 14.5px; line-height: 1.6; margin: 0 0 18px; }
.promo-cta { width: 100%; }
.promo-contacts { margin-top: 18px; padding-top: 16px; border-top: 1px dashed var(--border); }
.promo-contacts small { display: block; color: var(--dark); font-weight: 600; font-size: 13px; margin-bottom: 10px; }
.promo-contact-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.promo-contact { display: inline-flex; align-items: center; gap: 7px; padding: 9px 14px; border-radius: 30px; background: var(--c); color: #fff; font-size: 13.5px; font-weight: 600; text-decoration: none; transition: .2s; }
.promo-contact:hover { transform: translateY(-2px); filter: brightness(1.08); box-shadow: 0 8px 18px rgba(13, 27, 62, .18); }
.promo-contact i { font-size: 16px; }
@keyframes promoIn { 0% { opacity: 0; transform: translateY(40px) scale(.85); } 100% { opacity: 1; transform: none; } }
@keyframes promoOut { to { opacity: 0; transform: translateY(20px) scale(.95); } }
@keyframes fadeOut { to { opacity: 0; } }
@keyframes giftSwing { 0%, 60%, 100% { transform: rotate(0) scale(1); } 10% { transform: rotate(-12deg) scale(1.08); } 20% { transform: rotate(10deg) scale(1.08); } 30% { transform: rotate(-6deg); } 40% { transform: rotate(4deg); } }
@keyframes shine { 0% { transform: translateX(-100%); } 40%, 100% { transform: translateX(100%); } }
@media (max-width: 480px) {
    .promo-body { padding: 18px 18px calc(22px + env(safe-area-inset-bottom)); }
    .promo-box { max-height: 92vh; }
    .promo-body h3 { font-size: 20px; }
    .promo-contact { padding: 8px 12px; font-size: 13px; }
}
@media (prefers-reduced-motion: reduce) {
    .promo-box, .promo-gift, .promo-badge::after, .promo-modal .modal-backdrop, .promo-modal.closing .promo-box { animation: none !important; }
}

/* Blog pagination */
.pagination { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 8px; margin-top: 40px; }
.pg-btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-width: 42px; height: 42px; padding: 0 14px; border: 1px solid var(--border); border-radius: 10px; background: #fff; color: var(--dark); font-weight: 600; font-size: 15px; transition: .2s; }
a.pg-btn:hover { border-color: var(--primary); color: var(--primary); }
.pg-btn.active { background: var(--primary); border-color: var(--primary); color: #fff; }
.pg-gap { color: var(--muted); padding: 0 4px; }
.pg-info { text-align: center; font-size: 13px; color: var(--muted); margin: 12px 0 0; }
@media (max-width: 480px) { .pg-btn { min-width: 38px; height: 38px; padding: 0 10px; font-size: 14px; } }

/* Pay page: "pay with card" help */
.card-help { margin-top: 18px; padding: 14px 16px; border: 1px solid var(--border); border-radius: 12px; background: #fff; }
.card-help summary { margin-bottom: 0; }
.card-help[open] summary { margin-bottom: 10px; }
.card-help p { margin: 0 0 10px; }
.card-apps { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; margin-bottom: 12px; }
.card-apps > div { padding: 12px 14px; border-radius: 10px; background: var(--bg-soft); }
.card-apps strong { display: block; margin-bottom: 6px; color: var(--dark); }
.card-apps strong i { color: var(--primary); margin-right: 4px; }
.card-apps ol { margin: 0; padding-left: 18px; font-size: 13.5px; }
.card-apps li { margin-bottom: 4px; }
.card-tips { font-size: 13px; color: var(--muted); }
.card-tips i { color: #f59e0b; }
.method-hint { font-size: 12.5px; color: var(--muted); margin-top: 8px; }
.method-hint i { color: var(--primary); }
