/* ========================================
   VEDAM VISION — DESIGN SYSTEM v2
   Dark Blue Gradient Theme
   ======================================== */

/* ---------- CSS Variables ---------- */
:root {
    --bg-deep: #070B1A;
    --bg-mid: #0D1232;
    --bg-card: rgba(15,20,50,0.6);
    --bg-card-solid: #0E1535;
    --bg-elevated: #121940;
    --bg-section-alt: rgba(0,0,0,0.15);
    --accent: #63FFD8;
    --accent-secondary: #4FB7B3;
    --accent-tertiary: #8B9FD6;
    --text-primary: #FFFFFF;
    --text-body: #C8D0DD;
    --text-muted: #7A849A;
    --border: rgba(255,255,255,0.07);
    --border-hover: rgba(99,255,216,0.2);
    --glow: 0 0 30px rgba(99,255,216,0.06);
    --font-heading: 'Syncopate', sans-serif;
    --font-body: 'Space Grotesk', sans-serif;
    --radius: 12px;
    --radius-sm: 8px;
    --transition: 0.3s ease;
    --mint: #63FFD8;
    --teal: #4fb7b3;
    --periwinkle: #8B9FD6;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
::selection { background: rgba(99,255,216,0.25); color: #fff; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; scrollbar-width: none; }
html::-webkit-scrollbar { display: none; }
body {
    font-family: var(--font-body);
    background: linear-gradient(180deg, #070B1A 0%, #0D1232 40%, #111842 100%);
    background-attachment: fixed;
    color: var(--text-body);
    overflow-x: hidden; line-height: 1.7; margin: 0; min-height: 100vh;
    -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
}
h1,h2,h3,h4,h5,h6,.font-heading { font-family: var(--font-heading); line-height: 1.1; color: var(--text-primary); }
a { color: inherit; text-decoration: none; transition: color 0.3s ease; }
img { max-width: 100%; height: auto; display: block; }
[x-cloak] { display: none !important; }
button { font-family: var(--font-body); }

/* ---------- Container ---------- */
.container { max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }

/* ---------- Section System ---------- */
.section { padding: 6rem 0; }
.section-alt { padding: 6rem 0; background: var(--bg-section-alt); }
.section-compact { padding: 3.5rem 0; }
.section-header { text-align: center; margin-bottom: 3.5rem; }
.section-label {
    font-size: 0.65rem; letter-spacing: 0.25em; text-transform: uppercase;
    color: var(--accent); display: block; margin-bottom: 0.75rem; font-weight: 600;
}
.section-title {
    font-family: var(--font-heading); font-weight: 700; text-transform: uppercase;
    color: var(--text-primary); margin: 0;
    font-size: clamp(1.4rem, 3vw, 2.2rem);
}
.section-desc {
    color: var(--text-body); max-width: 560px; margin: 1rem auto 0;
    line-height: 1.8; font-size: 0.9rem;
}

/* ---------- Grid System ---------- */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
.grid-3 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }

/* ---------- Card System ---------- */
.card {
    background: var(--bg-card); border: 1px solid var(--border);
    border-radius: var(--radius); padding: 1.5rem;
    transition: border-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
    backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
.card:hover {
    border-color: var(--border-hover); transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(99,255,216,0.08), 0 0 0 1px rgba(99,255,216,0.05);
    background: rgba(15,20,50,0.8);
}
.card-title {
    font-family: var(--font-heading); font-size: 0.8rem; font-weight: 700;
    text-transform: uppercase; margin: 0 0 0.5rem; color: var(--text-primary);
    letter-spacing: 0.02em; transition: color 0.3s ease;
}
.card:hover .card-title { color: var(--accent); }
.card-text { font-size: 0.85rem; color: var(--text-body); line-height: 1.7; margin: 0; }
.card-img {
    width: 100%; height: 200px; object-fit: cover;
    border-radius: var(--radius) var(--radius) 0 0;
    margin: -1.5rem -1.5rem 1.25rem -1.5rem;
    width: calc(100% + 3rem);
    transition: transform 0.5s ease, filter 0.3s ease;
}
.card:hover .card-img { transform: scale(1.03); filter: brightness(1.05); }

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex; align-items: center; gap: 0.5rem;
    padding: 12px 28px; font-size: 0.68rem; font-weight: 700;
    letter-spacing: 0.12em; text-transform: uppercase; text-decoration: none;
    border-radius: var(--radius-sm); transition: all 0.3s ease;
    cursor: pointer; border: none; font-family: var(--font-body);
    position: relative; overflow: hidden;
}
.btn::after {
    content: ''; position: absolute; inset: 0; opacity: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.15), transparent);
    transition: opacity 0.3s ease;
}
.btn:hover::after { opacity: 1; }
.btn-primary {
    background: var(--accent); color: var(--bg-deep);
    box-shadow: 0 4px 15px rgba(99,255,216,0.15);
}
.btn-primary:hover {
    background: #fff; transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(99,255,216,0.25);
}
.btn-outline {
    background: transparent; color: var(--text-primary);
    border: 1px solid rgba(255,255,255,0.2);
}
.btn-outline:hover {
    border-color: var(--accent); color: var(--accent);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(99,255,216,0.1);
}
.btn-ghost { background: transparent; color: var(--accent); padding: 12px 0; border: none; }
.btn-ghost:hover { text-decoration: underline; transform: translateX(4px); }

/* ---------- Text Utilities ---------- */
.text-accent { color: var(--accent) !important; }
.text-body { color: var(--text-body) !important; }
.text-muted { color: var(--text-muted) !important; }
.text-white { color: var(--text-primary) !important; }
.text-center { text-align: center; }
.text-upper { text-transform: uppercase; letter-spacing: 0.1em; }

/* ---------- Stats ---------- */
.stat { text-align: center; padding: 1.25rem; transition: transform 0.3s ease; }
.stat:hover { transform: scale(1.05); }
.stat-number {
    font-family: var(--font-heading); font-weight: 900;
    font-size: clamp(2rem, 5vw, 3.5rem); color: var(--accent);
    transition: text-shadow 0.3s ease;
}
.stat:hover .stat-number { text-shadow: 0 0 20px rgba(99,255,216,0.3); }
.stat-label {
    font-size: 0.65rem; color: var(--text-muted); text-transform: uppercase;
    letter-spacing: 0.12em; margin-top: 0.5rem;
}

/* ---------- Badge & Tag ---------- */
.badge {
    display: inline-flex; align-items: center; gap: 0.5rem;
    font-size: 0.65rem; letter-spacing: 0.2em; text-transform: uppercase;
    color: var(--accent); background: rgba(99,255,216,0.06); padding: 0.5rem 1.25rem;
    border-radius: 999px; border: 1px solid rgba(99,255,216,0.12);
    transition: all 0.3s ease;
}
.badge:hover { background: rgba(99,255,216,0.12); border-color: rgba(99,255,216,0.25); }
.badge-dot {
    width: 6px; height: 6px; background: var(--accent);
    border-radius: 50%; animation: pulse 2s ease-in-out infinite;
}
.tag {
    display: inline-block; font-size: 0.6rem; padding: 0.3rem 0.7rem;
    border-radius: 999px; border: 1px solid var(--border);
    color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.05em;
    transition: all 0.3s ease;
}
.tag:hover { border-color: var(--accent); color: var(--accent); }

/* ---------- Hero ---------- */
.hero {
    min-height: 100vh; display: flex; flex-direction: column;
    align-items: center; justify-content: center; text-align: center;
    padding: 6rem 1.5rem 3rem; position: relative; overflow: hidden;
}
.hero-title {
    font-family: var(--font-heading); font-weight: 900;
    font-size: clamp(2.5rem, 8vw, 5rem); letter-spacing: -0.03em;
    margin: 0; line-height: 1; position: relative; z-index: 1;
}
.hero-subtitle {
    font-size: clamp(0.9rem, 1.8vw, 1.1rem); color: var(--text-body);
    margin: 1.5rem 0 2.5rem; max-width: 460px; font-weight: 400;
    line-height: 1.8; position: relative; z-index: 1;
}

/* ---------- Glass ---------- */
.glass {
    background: rgba(10,15,40,0.5); backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--border); border-radius: var(--radius);
    transition: all 0.3s ease;
}
.glass:hover {
    border-color: var(--border-hover);
    box-shadow: 0 8px 32px rgba(99,255,216,0.06);
}

/* ---------- Animations ---------- */
@keyframes gradientShift { 0%{background-position:0% 50%} 50%{background-position:100% 50%} 100%{background-position:0% 50%} }
.gradient-text {
    background: linear-gradient(90deg, var(--accent), var(--accent-secondary), var(--accent-tertiary), var(--accent));
    background-size: 300% 100%;
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    background-clip: text; animation: gradientShift 6s ease infinite;
}
@keyframes pulse { 0%,100%{opacity:1} 50%{opacity:0.4} }
@keyframes float1 { 0%,100%{transform:translate(0,0)} 50%{transform:translate(30px,-20px)} }
@keyframes float2 { 0%,100%{transform:translate(0,0)} 50%{transform:translate(-20px,30px)} }
@keyframes float3 { 0%,100%{transform:translate(0,0)} 50%{transform:translate(15px,15px)} }
@keyframes marquee { 0%{transform:translateX(0)} 100%{transform:translateX(-50%)} }

.orb { position: absolute; border-radius: 50%; filter: blur(100px); pointer-events: none; opacity: 0.7; }
.orb-1 { top: -20%; left: -10%; width: 50vw; height: 50vw; background: radial-gradient(circle, rgba(99,255,216,0.07), transparent 70%); animation: float1 10s ease-in-out infinite; }
.orb-2 { bottom: -10%; right: -10%; width: 40vw; height: 40vw; background: radial-gradient(circle, rgba(139,159,214,0.08), transparent 70%); animation: float2 12s ease-in-out infinite; }
.orb-3 { top: 30%; right: 20%; width: 25vw; height: 25vw; background: radial-gradient(circle, rgba(79,183,179,0.05), transparent 70%); animation: float3 14s ease-in-out infinite; }

[data-animate] { opacity: 0; transform: translateY(24px); }
[data-animate].revealed { opacity: 1; transform: translateY(0); transition: opacity 0.6s ease, transform 0.6s ease; }

/* ---------- Marquee ---------- */
.marquee-wrap { overflow: hidden; padding: 0 1rem; }
.marquee-track {
    display: flex; align-items: center; white-space: nowrap;
    width: fit-content; animation: marquee 80s linear infinite; gap: 0;
}
.marquee-item {
    display: inline-flex; align-items: center; gap: 2.5rem;
    padding: 0 2.5rem; flex-shrink: 0;
}
.marquee-item span {
    font-family: var(--font-heading); font-size: 0.85rem; font-weight: 700;
    text-transform: uppercase; letter-spacing: 0.08em; opacity: 0.35; transition: opacity 0.3s, color 0.3s;
}
.marquee-item span:hover { opacity: 1; color: var(--accent); }
.marquee-dot { width: 4px; height: 4px; border-radius: 50%; background: var(--accent); flex-shrink: 0; opacity: 0.6; }

/* ---------- Nav ---------- */
.nav-link {
    font-size: 0.65rem; font-weight: 600; letter-spacing: 0.15em;
    text-transform: uppercase; color: rgba(255,255,255,0.55);
    text-decoration: none; transition: color 0.3s ease; padding: 0.25rem 0;
    position: relative;
}
.nav-link::after {
    content: ''; position: absolute; bottom: -2px; left: 0; width: 0; height: 1px;
    background: var(--accent); transition: width 0.3s ease;
}
.nav-link:hover { color: var(--accent); }
.nav-link:hover::after { width: 100%; }
.nav-cta {
    padding: 10px 22px; font-size: 0.6rem; font-weight: 700;
    letter-spacing: 0.12em; text-transform: uppercase;
    color: rgba(255,255,255,0.7); border: 1px solid rgba(255,255,255,0.2);
    text-decoration: none; transition: all 0.3s ease; border-radius: var(--radius-sm);
}
.nav-cta:hover {
    border-color: var(--accent); color: var(--accent);
    box-shadow: 0 4px 15px rgba(99,255,216,0.1);
}
.mobile-menu-link {
    display: block; width: 100%; text-align: center; padding: 0.85rem 0;
    font-size: 1rem; font-family: var(--font-heading); font-weight: 700;
    color: rgba(255,255,255,0.8); text-transform: uppercase;
    text-decoration: none; border-bottom: 1px solid rgba(255,255,255,0.05);
    transition: color 0.3s ease, padding-left 0.3s ease;
}
.mobile-menu-link:hover { color: var(--accent); padding-left: 0.5rem; }

/* ---------- Footer ---------- */
.footer-link {
    font-size: 0.85rem; color: var(--text-muted);
    transition: color 0.3s ease, transform 0.3s ease;
    text-decoration: none; display: block;
}
.footer-link:hover { color: var(--accent); transform: translateX(4px); }
.footer-heading {
    font-size: 0.7rem; font-weight: 700; letter-spacing: 0.12em;
    text-transform: uppercase; margin-bottom: 1rem; color: var(--text-primary);
}

/* ---------- Fluid BG ---------- */
.fluid-bg {
    position: fixed; top: 0; left: 0; right: 0; bottom: 0; z-index: 0;
    background: linear-gradient(180deg, #070B1A 0%, #0D1232 50%, #111842 100%);
    pointer-events: none;
}

/* ---------- Utilities ---------- */
.scrollbar-hide { scrollbar-width: none; }
.scrollbar-hide::-webkit-scrollbar { display: none; }
.line-clamp-2 { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.line-clamp-3 { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }

/* ---------- City Tags (Website-Themed Buttons) ---------- */
.city-tag {
    display: inline-flex; align-items: center; justify-content: center;
    padding: 0.5rem 1.25rem; font-size: 0.7rem; font-weight: 700;
    color: var(--accent); background: rgba(99,255,216,0.06);
    border: 1.5px solid rgba(99,255,216,0.25); border-radius: var(--radius-sm);
    text-decoration: none; transition: all 0.3s ease; letter-spacing: 0.06em;
    text-transform: uppercase; font-family: var(--font-body);
    position: relative; overflow: hidden;
}
.city-tag::before {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(135deg, rgba(99,255,216,0.1), transparent);
    opacity: 0; transition: opacity 0.3s ease;
}
.city-tag:hover::before { opacity: 1; }
.city-tag:hover {
    color: var(--bg-deep); background: var(--accent);
    border-color: var(--accent); transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(99,255,216,0.25);
}

/* ---------- Forms ---------- */
.form-input {
    width: 100%; padding: 0.8rem 1rem;
    background: rgba(255,255,255,0.04); border: 1px solid var(--border);
    border-radius: var(--radius-sm); color: #fff; font-size: 0.9rem;
    outline: none; transition: border-color 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
    font-family: var(--font-body);
}
.form-input:focus {
    border-color: var(--accent); background: rgba(255,255,255,0.06);
    box-shadow: 0 0 0 3px rgba(99,255,216,0.08);
}
.form-input::placeholder { color: var(--text-muted); }
select.form-input { color: var(--text-body); }
select.form-input option { background: var(--bg-deep); color: #fff; }

/* ---------- WhatsApp Float ---------- */
#wa-float {
    position: fixed; bottom: 1.5rem; right: 1.5rem; z-index: 30;
    width: 52px; height: 52px; border-radius: 50%;
    background: #25D366; display: flex; align-items: center; justify-content: center;
    box-shadow: 0 4px 20px rgba(37,211,102,0.3); transition: all 0.3s ease;
}
#wa-float:hover { transform: scale(1.1) rotate(5deg); box-shadow: 0 6px 30px rgba(37,211,102,0.4); }

/* ---------- Mobile Bottom Nav ---------- */
.mobile-bottom-nav {
    display: none; position: fixed; bottom: 0; left: 0; right: 0; z-index: 35;
    background: rgba(7,11,26,0.95); backdrop-filter: blur(16px);
    border-top: 1px solid var(--border); padding: 0.4rem 0;
}
.mobile-bottom-nav a {
    display: flex; flex-direction: column; align-items: center; gap: 0.15rem;
    font-size: 0.5rem; color: var(--text-muted); text-decoration: none;
    text-transform: uppercase; letter-spacing: 0.05em; transition: color 0.3s ease;
}
.mobile-bottom-nav a:hover { color: var(--accent); }

/* ---------- Modal System ---------- */
.modal-overlay {
    position: fixed; inset: 0; z-index: 50; background: rgba(0,0,0,0.75);
    backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
    display: flex; align-items: center; justify-content: center; padding: 2rem;
}
.modal-content {
    background: linear-gradient(180deg, #0E1535 0%, #0A0F28 100%);
    border: 1px solid var(--border);
    border-radius: var(--radius); width: 70vw; max-width: 800px;
    padding: 3rem; position: relative; max-height: 85vh; overflow-y: auto;
    animation: modalSlideUp 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}
@keyframes modalSlideUp {
    from { opacity: 0; transform: translateY(40px) scale(0.97); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}
.modal-close {
    position: absolute; top: 1.25rem; right: 1.25rem; background: rgba(255,255,255,0.05);
    border: 1px solid var(--border); border-radius: 50%; width: 36px; height: 36px;
    display: flex; align-items: center; justify-content: center;
    color: var(--text-muted); cursor: pointer; transition: all 0.3s ease;
}
.modal-close:hover { color: var(--text-primary); border-color: var(--accent); background: rgba(99,255,216,0.1); }

/* ---------- Portfolio Grid v2 ---------- */
.portfolio-grid-v2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
.portfolio-item {
    border-radius: var(--radius); overflow: hidden; background: var(--bg-card-solid);
    border: 1px solid var(--border);
    transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease; cursor: pointer;
}
.portfolio-item:hover {
    border-color: var(--border-hover);
    box-shadow: 0 12px 40px rgba(99,255,216,0.08);
    transform: translateY(-4px);
}
.portfolio-item img { width: 100%; aspect-ratio: 16/10; object-fit: cover; transition: transform 0.5s ease; display: block; }
.portfolio-item:hover img { transform: scale(1.03); }
.portfolio-item-info { padding: 1.25rem 1.5rem; }

/* ---------- Interactive Hover Effects ---------- */
.card:hover svg { stroke: var(--accent) !important; filter: drop-shadow(0 0 6px rgba(99,255,216,0.3)); transition: all 0.3s ease; }
.card.glass:hover .text-accent { text-shadow: 0 0 20px rgba(99,255,216,0.4); }





/* ================================================================
   GLOBAL STANDARDS — Typography, Alignment, Spacing, FAQ, Pagination
   ================================================================ */

/* ─── Typography Scale ─── */
/* Desktop base: 16px. All sizes relative to this. */
/* Rule: Nothing below 0.75rem (12px) anywhere on the site. */

:root {
    --fs-hero: clamp(2rem, 7vw, 4.5rem);
    --fs-h2: clamp(1.4rem, 3.5vw, 2.4rem);
    --fs-h3: clamp(1rem, 2vw, 1.2rem);
    --fs-body: 0.95rem;
    --fs-body-sm: 0.88rem;
    --fs-label: 0.75rem;
    --fs-small: 0.78rem;
    --fs-btn: 0.72rem;
    --fs-tag: 0.68rem;
    --fs-micro: 0.7rem;
    --lh-body: 1.8;
    --lh-heading: 1.15;
}

/* Hero titles */
.hero-title { font-size: var(--fs-hero) !important; line-height: var(--lh-heading) !important; }

/* Section titles */
.section-title { font-size: var(--fs-h2) !important; line-height: var(--lh-heading) !important; }

/* Section labels (uppercase small text above titles) */
.section-label { font-size: var(--fs-label) !important; letter-spacing: 0.2em !important; }

/* Section descriptions */
.section-desc { font-size: var(--fs-body) !important; line-height: var(--lh-body) !important; }

/* Card titles */
.card-title { font-size: var(--fs-h3) !important; line-height: 1.35 !important; letter-spacing: 0.01em !important; }

/* Card body text */
.card-text { font-size: var(--fs-body) !important; line-height: var(--lh-body) !important; }

/* Buttons */
.btn { font-size: var(--fs-btn) !important; letter-spacing: 0.1em !important; padding: 13px 28px !important; }
.btn-ghost { padding: 13px 0 !important; }

/* Tags and badges */
.tag { font-size: var(--fs-tag) !important; padding: 0.35rem 0.8rem !important; }
.badge { font-size: var(--fs-micro) !important; }

/* Stats */
.stat-number { font-size: clamp(2rem, 5vw, 3.5rem) !important; }
.stat-label { font-size: var(--fs-small) !important; }

/* Navigation */
.nav-link { font-size: var(--fs-micro) !important; }
.nav-cta { font-size: var(--fs-micro) !important; }
.mobile-menu-link { font-size: 1.1rem !important; }

/* Footer */
.footer-link { font-size: var(--fs-body-sm) !important; line-height: 2.2 !important; }
.footer-heading { font-size: var(--fs-small) !important; margin-bottom: 1.25rem !important; }

/* Text utilities — enforce minimums */
.text-muted { font-size: inherit; }

/* ─── Alignment Standards ─── */
/* Rule: Section headers always centered. Content left-aligned inside container. */

.section > .container,
.section-alt > .container,
.section-compact > .container {
    text-align: left;
}

.section-header {
    text-align: center !important;
    max-width: 700px;
    margin-left: auto !important;
    margin-right: auto !important;
    margin-bottom: 3rem !important;
}

.section-label { text-align: center !important; display: block !important; }
.section-title { text-align: center !important; }
.section-desc { text-align: center !important; margin-left: auto !important; margin-right: auto !important; }

/* Container standard */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Section spacing */
.section { padding: 5rem 0; }
.section-alt { padding: 5rem 0; background: var(--bg-section-alt); }
.section-compact { padding: 3rem 0; }

/* ─── FAQ Accordion (Global Standard) ─── */
.faq-item {
    border-bottom: 1px solid var(--border);
}
.faq-question {
    width: 100%; display: flex; justify-content: space-between; align-items: center;
    padding: 1.25rem 0; background: none; border: none; cursor: pointer; text-align: left;
    font-family: var(--font-body); gap: 1rem;
}
.faq-question span:first-child {
    font-size: var(--fs-body) !important; font-weight: 600; color: var(--text-primary); line-height: 1.5;
}
.faq-icon {
    flex-shrink: 0; width: 18px; height: 18px; transition: transform 0.3s ease;
    color: var(--accent);
}
.faq-answer {
    padding: 0 0 1.25rem; line-height: var(--lh-body); color: var(--text-body);
    font-size: var(--fs-body) !important; margin: 0;
}



/* ─── Pagination ─── */
.pagination-wrap {
    margin-top: 3rem;
    display: flex;
    justify-content: center;
}
.pagination-wrap nav {
    display: flex;
    flex-direction: column;
    align-items: center;
}
.pagination-wrap nav > div:first-child {
    display: none !important;
}
.pagination-wrap nav > div:last-child {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 0.35rem;
}
.pagination-wrap nav span,
.pagination-wrap nav a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 36px;
    padding: 0 0.4rem;
    font-size: 0.82rem;
    font-weight: 500;
    color: var(--text-muted);
    text-decoration: none;
    border-radius: var(--radius-sm);
    transition: all 0.2s ease;
    background: transparent;
    border: none;
    cursor: pointer;
    line-height: 1;
}
.pagination-wrap nav a:hover {
    color: var(--text-primary);
    background: rgba(255,255,255,0.06);
}
.pagination-wrap nav span[aria-current="page"],
.pagination-wrap nav span[aria-current="page"] span,
.pagination-wrap nav span.font-semibold {
    background: var(--accent) !important;
    color: var(--bg-deep) !important;
    font-weight: 700;
    border-radius: var(--radius-sm);
    cursor: default;
}
.pagination-wrap nav span[aria-disabled="true"],
.pagination-wrap nav span[aria-disabled="true"] span {
    opacity: 0.15;
    cursor: not-allowed;
    pointer-events: none;
}
.pagination-wrap nav > div:last-child > span:not([aria-current]):not([aria-disabled]) {
    background: transparent;
    min-width: 24px;
    cursor: default;
    color: var(--text-muted);
}
.pagination-wrap nav > div:last-child > span[aria-current="page"] {
    background: var(--accent) !important;
    color: var(--bg-deep) !important;
}
.pagination-wrap svg {
    width: 14px;
    height: 14px;
}
@media (max-width: 767px) {
    .pagination-wrap nav > div:last-child {
        padding: 0.25rem;
        gap: 0.15rem;
    }
    .pagination-wrap nav span,
    .pagination-wrap nav a {
        min-width: 32px;
        height: 32px;
        font-size: 0.78rem;
    }
}

/* ─── Card Hover Consistency ─── */
.card { transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s, background 0.3s; }
.card:hover {
    border-color: var(--border-hover); transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(99,255,216,0.06);
}
.card:hover .card-title { color: var(--accent); }

/* ─── Form Inputs ─── */
.form-input {
    font-size: var(--fs-body) !important;
    padding: 0.85rem 1.1rem !important;
}

/* ─── Responsive Overrides ─── */
@media (max-width: 767px) {
    :root {
        --fs-body: 0.9rem;
        --fs-body-sm: 0.85rem;
        --fs-label: 0.7rem;
        --fs-btn: 0.68rem;
    }
    .section, .section-alt { padding: 3.5rem 0 !important; }
    .section-compact { padding: 2.5rem 0 !important; }
    .section-header { margin-bottom: 2rem !important; }
    .container { padding: 0 1.25rem !important; }
    .card { padding: 1.25rem; }
    .btn { padding: 11px 22px !important; }
    .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr !important; gap: 1.25rem !important; }
    .hero { min-height: auto !important; padding: 6rem 1.25rem 2.5rem !important; }
    .hero-title { font-size: clamp(1.8rem, 10vw, 2.8rem) !important; }
    .portfolio-grid-v2 { grid-template-columns: 1fr !important; }
    .mobile-bottom-nav { display: flex !important; justify-content: space-around; }
    #wa-float { bottom: 65px !important; }
    footer { padding-bottom: 4.5rem !important; }
    .footer-grid { grid-template-columns: 1fr !important; }
    .footer-links-grid { grid-template-columns: repeat(2, 1fr) !important; }
    .process-line { display: none !important; }
    .desktop-nav { display: none !important; }
    .mobile-toggle { display: flex !important; }
    .modal-content { width: 95vw !important; padding: 1.5rem !important; max-height: 90vh; }
    .city-tag { padding: 0.4rem 0.9rem; font-size: 0.65rem; }
    [style*="grid-template-columns: repeat(4"],
    [style*="grid-template-columns: repeat(3"],
    [style*="grid-template-columns: auto 1fr auto"],
    [style*="grid-template-columns: 2fr 1fr"],
    [style*="grid-template-columns: 1fr 1fr"] { grid-template-columns: 1fr !important; }
    /* Pricing cards: stack on mobile */
    #plans .grid-3 { grid-template-columns: 1fr !important; }
}

@media (min-width: 768px) and (max-width: 1023px) {
    .grid-4 { grid-template-columns: repeat(2, 1fr) !important; }
    .modal-content { width: 85vw; }
}

@media (min-width: 768px) {
    .desktop-nav { display: flex !important; }
    .mobile-toggle { display: none !important; }
}


/* ─── Service Detail Page Responsive ─── */
@media (max-width: 767px) {
    /* Service detail 2fr/1fr grid */
    .svc-detail-grid { grid-template-columns: 1fr !important; }
    .other-svc-grid { grid-template-columns: repeat(2, 1fr) !important; }
    
    /* Pricing plans: ensure stacking */
    [id="plans"] .grid-3 { grid-template-columns: 1fr !important; }
    [id="plans"] .card { max-width: 100% !important; }
    
    /* Comparison table stacking */
    .grid-3[style*="repeat(3"] { grid-template-columns: 1fr !important; }
    
    /* Hero buttons wrap */
    .hero [style*="display: flex"][style*="gap"] { flex-direction: column; align-items: center; }
    
    /* About grid */
    .about-grid { grid-template-columns: 1fr !important; gap: 2rem !important; }
    
    /* Results grid */
    .results-grid { grid-template-columns: repeat(2, 1fr) !important; }
    
    /* Contact form grid */
    .form-input { font-size: 16px !important; } /* Prevents iOS zoom on focus */
    
    /* Case study metrics */
    [style*="grid-template-columns: repeat(3"] { grid-template-columns: 1fr !important; }
    
    /* Portfolio modal */
    #portfolioModal > div:first-child { width: 95vw !important; }
    #serviceModal > div:nth-child(1) { width: 95vw !important; }
}

@media (max-width: 480px) {
    .other-svc-grid { grid-template-columns: 1fr !important; }
    .results-grid { grid-template-columns: 1fr !important; }
}


/* Cursor Base Styles */
.cursor-dot {
    position: fixed;
    top: 0;
    left: 0;
    width: 8px;
    height: 8px;
    margin-left: -4px;
    margin-top: -4px;
    background: var(--accent, #63FFD8);
    border-radius: 50%;
    pointer-events: none;
    z-index: 99999;
    opacity: 0;
    transition: width 0.3s ease, height 0.3s ease, background 0.3s ease, border 0.3s ease, opacity 0.3s ease, margin 0.3s ease;
}
.cursor-ring {
    position: fixed;
    top: 0;
    left: 0;
    width: 32px;
    height: 32px;
    margin-left: -16px;
    margin-top: -16px;
    border: 1.5px solid rgba(99,255,216,0.35);
    border-radius: 50%;
    pointer-events: none;
    z-index: 99998;
    opacity: 0;
    transition: width 0.3s ease, height 0.3s ease, border-color 0.3s ease, margin 0.3s ease;
}

/* Cursor (desktop only) */
@media (max-width: 1023px) { .cursor-dot, .cursor-ring { display: none !important; } }

/* ─── Cursor States (PERMANENT) ─── */
.cursor-active { cursor: none !important; }
.cursor-active a, .cursor-active button, .cursor-active input,
.cursor-active textarea, .cursor-active select, .cursor-active .card,
.cursor-active .city-tag, .cursor-active .btn, .cursor-active .nav-link,
.cursor-active .portfolio-item, .cursor-active .interactive-card,
.cursor-active .faq-question, .cursor-active .nav-cta { cursor: none !important; }
.cursor-dot.hovering { width: 50px; height: 50px; margin-left: -25px; margin-top: -25px; background: rgba(99,255,216,0.12); border: 1px solid rgba(99,255,216,0.4); }
.cursor-ring.hovering { width: 60px; height: 60px; margin-left: -30px; margin-top: -30px; border-color: var(--accent); }
