/* ================================
   ADISAAC TECH — SHARP & CLEAN
   ================================ */

/* ===== RESET ===== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* ===== TOKENS ===== */
:root {
    --blue:        #1D4ED8;
    --blue-dark:   #1639b0;
    --blue-dim:    rgba(29, 78, 216, 0.10);
    --blue-line:   rgba(29, 78, 216, 0.22);

    --bg:          #0b1220;
    --bg-mid:      #0f1a2e;
    --bg-card:     #131e33;
    --bg-card-h:   #18253d;

    --white:       #ffffff;
    --text:        #e2e8f0;
    --muted:       #8896ae;
    --border:      #1e2d47;
    --border-h:    #2a3f5f;

    --font-head: Georgia, 'Times New Roman', serif;
    --font-body: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

    --max:  1200px;
    --pad:  0 32px;
    --t:    0.22s ease;
}

/* ===== BASE ===== */
html { scroll-behavior: smooth; }

body {
    background: var(--bg);
    color: var(--text);
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.65;
    overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

/* ===== CONTAINER ===== */
.container {
    max-width: var(--max);
    margin: 0 auto;
    padding: var(--pad);
}

/* ===== HEADER ===== */
header {
    position: sticky;
    top: 0;
    z-index: 900;
    background: rgba(11, 18, 32, 0.97);
    border-bottom: 1px solid var(--border);
    backdrop-filter: blur(10px);
}

.header-container {
    max-width: var(--max);
    margin: 0 auto;
    padding: 0 32px;
    height: 68px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo { width: 180px; height: auto; }

/* ===== NAV ===== */
.main-nav ul {
    list-style: none;
    display: flex;
    gap: 36px;
    align-items: center;
}

.main-nav a {
    font-size: 0.93rem;
    font-weight: 500;
    color: var(--muted);
    padding-bottom: 3px;
    border-bottom: 2px solid transparent;
    transition: color var(--t), border-color var(--t);
    letter-spacing: 0.15px;
}

.main-nav a:hover,
.main-nav a.active {
    color: var(--white);
    border-bottom-color: var(--blue);
}

/* Mobile Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
    z-index: 1001;
}

.mobile-menu-toggle span {
    width: 24px;
    height: 2px;
    background: var(--text);
    border-radius: 1px;
    transition: all var(--t);
    display: block;
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    font-size: 0.92rem;
    font-weight: 600;
    border-radius: 6px;
    border: 1.5px solid transparent;
    cursor: pointer;
    transition: all var(--t);
    letter-spacing: 0.2px;
    white-space: nowrap;
}

.btn-primary {
    background: var(--blue);
    color: #fff;
    border-color: var(--blue);
}
.btn-primary:hover {
    background: var(--blue-dark);
    border-color: var(--blue-dark);
    transform: translateY(-1px);
}

.btn-secondary {
    background: transparent;
    color: var(--text);
    border-color: var(--border-h);
}
.btn-secondary:hover {
    border-color: var(--blue);
    color: #fff;
    transform: translateY(-1px);
}

.btn-outline-white {
    background: transparent;
    color: #fff;
    border-color: rgba(255,255,255,0.45);
}
.btn-outline-white:hover {
    background: rgba(255,255,255,0.08);
    border-color: #fff;
}

.btn-large { padding: 14px 36px; font-size: 0.98rem; }
.btn-small  { padding: 9px 20px;  font-size: 0.86rem; }

/* ===== SECTION DEFAULTS ===== */
section { position: relative; }

.section-label {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1.4px;
    text-transform: uppercase;
    color: var(--blue);
    margin-bottom: 12px;
}

.section-title {
    font-family: var(--font-head);
    font-size: clamp(1.9rem, 3.5vw, 2.6rem);
    font-weight: 700;
    color: var(--white);
    line-height: 1.22;
    letter-spacing: -0.3px;
    margin-bottom: 14px;
}

.section-sub {
    font-size: 1.05rem;
    color: var(--muted);
    line-height: 1.75;
    max-width: 600px;
}

.section-sub.center {
    margin: 0 auto;
    text-align: center;
}

.text-center { text-align: center; }

/* ===== INDEX HERO ===== */
.hero {
    min-height: calc(100vh - 68px);
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 0;
    border-bottom: 1px solid var(--border);
    overflow: hidden;
}

.hero-left {
    padding: 80px 64px 80px 32px;
    max-width: 620px;
    margin-left: auto;
}

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 1.6px;
    text-transform: uppercase;
    color: var(--blue);
    margin-bottom: 24px;
}

.hero-eyebrow::before {
    content: '';
    display: block;
    width: 28px;
    height: 2px;
    background: var(--blue);
    flex-shrink: 0;
}

.hero h1 {
    font-family: var(--font-head);
    font-size: clamp(2.4rem, 4.5vw, 3.6rem);
    font-weight: 700;
    line-height: 1.15;
    color: var(--white);
    letter-spacing: -0.6px;
    margin-bottom: 20px;
}

.hero h1 span { color: #60a5fa; }

.hero-sub {
    font-size: 1.1rem;
    color: var(--muted);
    line-height: 1.78;
    margin-bottom: 36px;
    max-width: 460px;
}

.hero-cta {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    align-items: center;
}

/* Hero Right — Visual Panel */
.hero-right {
    background: var(--bg-mid);
    border-left: 1px solid var(--border);
    height: 100%;
    min-height: calc(100vh - 68px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 48px;
    position: relative;
    overflow: hidden;
}

.hero-right::before {
    content: '';
    position: absolute;
    top: -80px;
    right: -80px;
    width: 340px;
    height: 340px;
    border-radius: 50%;
    border: 1px solid var(--border);
    opacity: 0.5;
}

.hero-right::after {
    content: '';
    position: absolute;
    bottom: -100px;
    left: -60px;
    width: 260px;
    height: 260px;
    border-radius: 50%;
    border: 1px solid var(--border);
    opacity: 0.35;
}

.hero-graphic {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 400px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* Floating metric cards */
.metric-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 20px 24px;
    display: flex;
    align-items: center;
    gap: 16px;
    transition: border-color var(--t);
}

.metric-card:hover { border-color: var(--border-h); }

.metric-card.accent { border-left: 3px solid var(--blue); }

.metric-icon {
    width: 44px;
    height: 44px;
    background: var(--blue-dim);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: #60a5fa;
}

.metric-icon svg { width: 22px; height: 22px; }

.metric-body {}

.metric-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--white);
    line-height: 1.1;
}

.metric-label {
    font-size: 0.82rem;
    color: var(--muted);
    margin-top: 2px;
}

.metric-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.metric-mini {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 18px 20px;
    text-align: center;
    transition: border-color var(--t);
}

.metric-mini:hover { border-color: var(--border-h); }

.metric-mini-val {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--blue);
    line-height: 1;
    margin-bottom: 4px;
}

.metric-mini-label {
    font-size: 0.78rem;
    color: var(--muted);
}

/* ===== PAGE HERO (inner pages) ===== */
.page-hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 0;
    min-height: 360px;
    border-bottom: 1px solid var(--border);
    overflow: hidden;
}

.page-hero-left {
    padding: 70px 60px 70px 32px;
    max-width: 600px;
    margin-left: auto;
}

.page-hero-left h1 {
    font-family: var(--font-head);
    font-size: clamp(2rem, 3.8vw, 3rem);
    font-weight: 700;
    color: var(--white);
    line-height: 1.2;
    letter-spacing: -0.4px;
    margin-bottom: 14px;
}

.page-hero-left p {
    font-size: 1.05rem;
    color: var(--muted);
    line-height: 1.7;
    max-width: 440px;
}

.page-hero-right {
    background: var(--bg-mid);
    border-left: 1px solid var(--border);
    min-height: 360px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 48px;
    position: relative;
    overflow: hidden;
}

.page-hero-right::before {
    content: '';
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(
        0deg,
        transparent,
        transparent 39px,
        var(--border) 39px,
        var(--border) 40px
    ),
    repeating-linear-gradient(
        90deg,
        transparent,
        transparent 39px,
        var(--border) 39px,
        var(--border) 40px
    );
    opacity: 0.3;
}

.page-hero-badge {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    text-align: center;
}

.page-hero-icon {
    width: 72px;
    height: 72px;
    background: var(--blue-dim);
    border: 1px solid var(--blue-line);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #60a5fa;
}

.page-hero-icon svg { width: 36px; height: 36px; }

.page-hero-tag {
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    color: var(--muted);
}

.page-hero-stat {
    font-family: var(--font-head);
    font-size: 3rem;
    font-weight: 700;
    color: var(--white);
    line-height: 1;
}

.page-hero-stat span {
    font-size: 1rem;
    color: var(--muted);
    font-family: var(--font-body);
    font-weight: 400;
    margin-left: 6px;
}

/* ===== SERVICES GRID (index) ===== */
.services-section {
    background: var(--bg-mid);
    border-bottom: 1px solid var(--border);
    padding: 96px 32px;
}

.section-header {
    margin-bottom: 56px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: var(--border);
    border: 1px solid var(--border);
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 48px;
}

.service-card {
    background: var(--bg-card);
    padding: 36px 32px;
    transition: background var(--t);
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.service-card:hover { background: var(--bg-card-h); }

.service-icon {
    width: 44px;
    height: 44px;
    color: var(--blue);
    flex-shrink: 0;
}

.service-card h3 {
    font-size: 1.08rem;
    font-weight: 700;
    color: var(--white);
}

.service-card p {
    font-size: 0.92rem;
    color: var(--muted);
    line-height: 1.7;
    flex: 1;
}

.service-card-link {
    font-size: 0.86rem;
    font-weight: 600;
    color: var(--blue);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 6px;
    transition: gap var(--t);
}

.service-card:hover .service-card-link { gap: 10px; }

/* ===== WHY US ===== */
.why-section {
    padding: 96px 32px;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    background: var(--border);
    border: 1px solid var(--border);
    border-radius: 10px;
    overflow: hidden;
    margin-top: 48px;
}

.why-card {
    background: var(--bg-card);
    padding: 36px 28px;
    transition: background var(--t);
}

.why-card:hover { background: var(--bg-card-h); }

.why-num {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1.4px;
    text-transform: uppercase;
    color: var(--blue);
    margin-bottom: 16px;
}

.why-card h3 {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 10px;
}

.why-card p {
    font-size: 0.9rem;
    color: var(--muted);
    line-height: 1.72;
}

/* ===== CTA BANNER ===== */
.cta-banner {
    background: var(--blue);
    padding: 80px 32px;
}

.cta-inner {
    max-width: var(--max);
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.cta-inner h2 {
    font-family: var(--font-head);
    font-size: clamp(1.6rem, 2.5vw, 2.1rem);
    font-weight: 700;
    color: #fff;
    max-width: 520px;
    line-height: 1.28;
}

.cta-inner p {
    color: rgba(255,255,255,0.78);
    margin-top: 8px;
    font-size: 0.98rem;
}

.cta-actions {
    display: flex;
    gap: 12px;
    flex-shrink: 0;
    flex-wrap: wrap;
}

/* ===== SERVICES PAGE ===== */
.services-detail {
    padding: 80px 32px;
    background: var(--bg);
}

.service-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    border: 1px solid var(--border);
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 32px;
    transition: border-color var(--t);
}

.service-row:hover { border-color: var(--border-h); }

.service-row-content {
    padding: 48px 44px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0;
    background: var(--bg-card);
}

.service-tag {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 1.4px;
    text-transform: uppercase;
    color: var(--blue);
    background: var(--blue-dim);
    border: 1px solid var(--blue-line);
    border-radius: 4px;
    padding: 4px 10px;
    margin-bottom: 16px;
    width: fit-content;
}

.service-row-content h2 {
    font-family: var(--font-head);
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--white);
    line-height: 1.25;
    margin-bottom: 14px;
}

.service-row-content > p {
    font-size: 0.97rem;
    color: var(--muted);
    line-height: 1.75;
    margin-bottom: 28px;
}

.features-label {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 12px;
}

.features-list {
    list-style: none;
    margin-bottom: 28px;
}

.features-list li {
    padding: 9px 0 9px 20px;
    position: relative;
    font-size: 0.92rem;
    color: var(--muted);
    border-bottom: 1px solid var(--border);
    line-height: 1.55;
}

.features-list li:last-child { border-bottom: none; }

.features-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--blue);
}

.features-list strong { color: var(--text); }

.ideal-note {
    padding: 14px 16px;
    background: var(--bg-mid);
    border-left: 3px solid var(--blue);
    border-radius: 0 4px 4px 0;
    font-size: 0.88rem;
    color: var(--muted);
    margin-bottom: 28px;
    line-height: 1.6;
}

.service-row-visual {
    background: var(--bg-mid);
    border-left: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 48px;
    min-height: 360px;
    position: relative;
    overflow: hidden;
}

.service-row-visual::before {
    content: '';
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(
        45deg,
        transparent,
        transparent 18px,
        var(--border) 18px,
        var(--border) 19px
    );
    opacity: 0.18;
}

.vis-icon {
    position: relative;
    z-index: 2;
    width: 100px;
    height: 100px;
    background: var(--blue-dim);
    border: 1px solid var(--blue-line);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #60a5fa;
}

.vis-icon svg { width: 52px; height: 52px; }

/* Pricing tiers inside service row */
.tier-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-bottom: 28px;
}

.tier-box {
    background: var(--bg-mid);
    border: 1px solid var(--border);
    border-radius: 6px;
    padding: 14px 12px;
    text-align: center;
}

.tier-box h4 {
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 4px;
}

.tier-box p {
    font-size: 0.78rem;
    color: var(--muted);
}

/* ===== PRODUCTS PAGE ===== */
.products-intro {
    padding: 64px 32px;
    background: var(--bg-mid);
    border-bottom: 1px solid var(--border);
}

.products-intro-inner {
    max-width: 720px;
}

.products-intro h2 {
    font-family: var(--font-head);
    font-size: 1.9rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 12px;
}

.products-intro p {
    font-size: 1rem;
    color: var(--muted);
    line-height: 1.75;
}

.product-packages {
    padding: 80px 32px;
    background: var(--bg);
}

.packages-stack {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.pkg {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 10px;
    overflow: hidden;
    transition: border-color var(--t);
    position: relative;
}

.pkg:hover { border-color: var(--border-h); }

.pkg.featured { border-color: var(--blue); }

.pkg-ribbon {
    position: absolute;
    top: 16px;
    right: 16px;
    background: var(--blue);
    color: #fff;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    padding: 5px 12px;
    border-radius: 4px;
}

.pkg-layout {
    display: grid;
    grid-template-columns: 320px 1fr;
}

.pkg-head {
    padding: 36px 32px;
    background: var(--bg-mid);
    border-right: 1px solid var(--border);
}

.pkg-badge {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 1.4px;
    text-transform: uppercase;
    background: var(--blue);
    color: #fff;
    padding: 4px 10px;
    border-radius: 4px;
    margin-bottom: 16px;
}

.pkg-head h3 {
    font-family: var(--font-head);
    font-size: 1.55rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 6px;
}

.pkg-tagline {
    font-size: 0.88rem;
    color: var(--muted);
    margin-bottom: 24px;
    line-height: 1.5;
}

.pkg-specs {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 28px;
}

.spec {
    display: flex;
    justify-content: space-between;
    font-size: 0.86rem;
    padding: 8px 0;
    border-bottom: 1px solid var(--border);
}

.spec:last-child { border-bottom: none; }

.spec-key { color: var(--muted); }
.spec-val { color: var(--white); font-weight: 600; }

.pkg-body {
    padding: 36px 36px 36px 36px;
}

.pkg-features-label {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 16px;
}

.pkg-features {
    list-style: none;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 24px;
    margin-bottom: 32px;
}

.pkg-features li {
    padding: 8px 0 8px 18px;
    position: relative;
    font-size: 0.9rem;
    color: var(--muted);
    border-bottom: 1px solid var(--border);
}

.pkg-features li:nth-last-child(-n+2) { border-bottom: none; }

.pkg-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--blue);
    font-weight: 700;
    font-size: 0.82rem;
}

/* Add-ons */
.addons-section {
    background: var(--bg-mid);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    padding: 80px 32px;
}

.addons-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    background: var(--border);
    border: 1px solid var(--border);
    border-radius: 10px;
    overflow: hidden;
    margin-top: 48px;
}

.addon-card {
    background: var(--bg-card);
    padding: 32px 28px;
    transition: background var(--t);
}

.addon-card:hover { background: var(--bg-card-h); }

.addon-icon {
    width: 42px;
    height: 42px;
    color: var(--blue);
    margin-bottom: 16px;
}

.addon-card h3 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 8px;
}

.addon-card p {
    font-size: 0.88rem;
    color: var(--muted);
    line-height: 1.65;
}

/* Process */
.process-section {
    background: var(--bg);
    border-top: 1px solid var(--border);
    padding: 80px 32px;
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    background: var(--border);
    border: 1px solid var(--border);
    border-radius: 10px;
    overflow: hidden;
    margin-top: 48px;
}

.process-step {
    background: var(--bg-card);
    padding: 36px 28px;
    text-align: center;
    transition: background var(--t);
}

.process-step:hover { background: var(--bg-card-h); }

.step-num {
    width: 48px;
    height: 48px;
    margin: 0 auto 18px;
    background: var(--blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    font-weight: 700;
    color: #fff;
}

.process-step h3 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 8px;
}

.process-step p {
    font-size: 0.87rem;
    color: var(--muted);
    line-height: 1.65;
}

/* Portfolio */
.portfolio-section {
    background: var(--bg-mid);
    border-top: 1px solid var(--border);
    padding: 80px 32px;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 48px;
    margin-bottom: 48px;
}

.portfolio-item {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 10px;
    overflow: hidden;
    transition: border-color var(--t), transform var(--t);
}

.portfolio-item:hover {
    border-color: var(--border-h);
    transform: translateY(-3px);
}

.portfolio-image {
    height: 220px;
    overflow: hidden;
    background: var(--bg-mid);
    position: relative;
}

.portfolio-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.portfolio-item:hover .portfolio-image img { transform: scale(1.05); }

.portfolio-overlay {
    position: absolute;
    inset: 0;
    background: rgba(11,18,32,0.80);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity var(--t);
}

.portfolio-item:hover .portfolio-overlay { opacity: 1; }

.portfolio-overlay-content { text-align: center; padding: 24px; }

.portfolio-overlay-content h3 {
    font-size: 1.1rem;
    color: var(--white);
    font-weight: 700;
    margin-bottom: 6px;
}

.portfolio-overlay-content p {
    font-size: 0.86rem;
    color: var(--muted);
    margin-bottom: 16px;
}

.portfolio-info { padding: 20px 22px; }

.portfolio-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 10px;
}

.tag {
    font-size: 0.74rem;
    font-weight: 600;
    color: #60a5fa;
    background: var(--blue-dim);
    border: 1px solid var(--blue-line);
    padding: 3px 9px;
    border-radius: 4px;
}

.portfolio-info h3 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 6px;
}

.portfolio-info p {
    font-size: 0.86rem;
    color: var(--muted);
    line-height: 1.6;
    margin-bottom: 12px;
}

.portfolio-link {
    font-size: 0.84rem;
    font-weight: 600;
    color: var(--blue);
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: gap var(--t);
}

.portfolio-link:hover { gap: 9px; }

.portfolio-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    background: var(--border);
    border: 1px solid var(--border);
    border-radius: 10px;
    overflow: hidden;
    gap: 1px;
}

.stat-item {
    background: var(--bg-card);
    padding: 32px 24px;
    text-align: center;
}

.stat-number {
    font-family: var(--font-head);
    font-size: 2.8rem;
    font-weight: 700;
    color: var(--white);
    line-height: 1;
    margin-bottom: 6px;
}

.stat-label {
    font-size: 0.83rem;
    color: var(--muted);
    font-weight: 500;
}

/* ===== CONTACT PAGE ===== */
.contact-section {
    padding: 80px 32px;
    background: var(--bg);
}

.contact-layout {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 32px;
    align-items: start;
}

.contact-form-wrap {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 44px 40px;
}

.contact-form-wrap h2 {
    font-family: var(--font-head);
    font-size: 1.7rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 6px;
}

.contact-form-wrap > p {
    font-size: 0.93rem;
    color: var(--muted);
    margin-bottom: 28px;
    line-height: 1.6;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-group label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text);
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 11px 14px;
    background: var(--bg-mid);
    border: 1px solid var(--border);
    border-radius: 6px;
    color: var(--text);
    font-size: 0.93rem;
    font-family: var(--font-body);
    transition: border-color var(--t);
    -webkit-appearance: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--muted); }
.form-group select option { background: var(--bg-mid); }

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--blue);
}

.form-group textarea { resize: vertical; min-height: 130px; }

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.88rem;
    color: var(--muted);
    cursor: pointer;
    line-height: 1.5;
}

.checkbox-label input { margin-top: 3px; accent-color: var(--blue); }

.form-success {
    text-align: center;
    padding: 48px 32px;
    background: var(--blue);
    border-radius: 10px;
}

.success-icon {
    width: 64px;
    height: 64px;
    background: rgba(255,255,255,0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin: 0 auto 16px;
    color: #fff;
}

.form-success h3 { font-size: 1.5rem; color: #fff; font-weight: 700; margin-bottom: 8px; }
.form-success p  { color: rgba(255,255,255,0.82); font-size: 0.95rem; }

/* Contact Info Sidebar */
.contact-info-sidebar {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.info-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 28px 24px;
    transition: border-color var(--t);
}

.info-card:hover { border-color: var(--border-h); }

.info-card h3 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 18px;
}

.info-item {
    display: flex;
    gap: 14px;
    margin-bottom: 16px;
    align-items: flex-start;
}

.info-item:last-of-type { margin-bottom: 0; }

.info-icon {
    width: 38px;
    height: 38px;
    background: var(--blue-dim);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #60a5fa;
    flex-shrink: 0;
}

.info-icon svg { width: 18px; height: 18px; }

.info-item h4 {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 2px;
}

.info-item p,
.info-item a {
    font-size: 0.86rem;
    color: var(--muted);
    text-decoration: none;
    line-height: 1.55;
    transition: color var(--t);
}

.info-item a:hover { color: #60a5fa; }

.hours-row {
    display: flex;
    justify-content: space-between;
    font-size: 0.86rem;
    padding: 8px 0;
    border-bottom: 1px solid var(--border);
    color: var(--muted);
}

.hours-row:last-child { border-bottom: none; }

.hours-note {
    font-size: 0.8rem;
    color: var(--muted);
    font-style: italic;
    margin-top: 10px;
    line-height: 1.5;
}

.social-icons {
    display: flex;
    gap: 10px;
    margin-top: 6px;
    flex-wrap: wrap;
}

.social-icon {
    width: 40px;
    height: 40px;
    background: var(--bg-mid);
    border: 1px solid var(--border);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--muted);
    transition: all var(--t);
}

.social-icon:hover {
    background: var(--blue);
    color: #fff;
    border-color: var(--blue);
    transform: translateY(-2px);
}

.social-icon svg { width: 18px; height: 18px; }

/* FAQ */
.faq-section {
    background: var(--bg-mid);
    border-top: 1px solid var(--border);
    padding: 80px 32px;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1px;
    background: var(--border);
    border: 1px solid var(--border);
    border-radius: 10px;
    overflow: hidden;
    margin-top: 48px;
}

.faq-item {
    background: var(--bg-card);
    padding: 32px 28px;
    transition: background var(--t);
}

.faq-item:hover { background: var(--bg-card-h); }

.faq-item h3 {
    font-size: 0.97rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 10px;
    line-height: 1.35;
}

.faq-item p {
    font-size: 0.88rem;
    color: var(--muted);
    line-height: 1.72;
}

/* ===== FOOTER ===== */
footer {
    background: var(--bg);
    border-top: 1px solid var(--border);
    padding: 64px 32px 28px;
}

.footer-grid {
    max-width: var(--max);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
    padding-bottom: 48px;
    border-bottom: 1px solid var(--border);
    margin-bottom: 24px;
}

.footer-brand p {
    font-size: 0.88rem;
    color: var(--muted);
    line-height: 1.72;
    margin-top: 14px;
    max-width: 260px;
}

.footer-logo { width: 136px; }

.footer-col h4 {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 1.3px;
    text-transform: uppercase;
    color: var(--text);
    margin-bottom: 16px;
}

.footer-col ul { list-style: none; }

.footer-col ul li { margin-bottom: 10px; }

.footer-col ul li a {
    font-size: 0.88rem;
    color: var(--muted);
    transition: color var(--t);
}

.footer-col ul li a:hover { color: var(--white); }

.footer-bottom {
    max-width: var(--max);
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.83rem;
    color: var(--muted);
    flex-wrap: wrap;
    gap: 8px;
}

/* ===== ANIMATIONS ===== */
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(24px); }
    to   { opacity: 1; transform: translateY(0); }
}

.fade-in  { animation: fadeUp 0.55s ease both; }
.slide-up { animation: fadeUp 0.55s ease both; opacity: 0; }
.float-in { animation: fadeUp 0.65s ease both; opacity: 0; }

/* ===== RESPONSIVE ===== */
@media (max-width: 1100px) {
    .hero { grid-template-columns: 1fr; min-height: auto; }
    .hero-right { display: none; }
    .hero-left { padding: 80px 32px; margin: 0; max-width: 100%; }

    .page-hero { grid-template-columns: 1fr; }
    .page-hero-right { display: none; }
    .page-hero-left { padding: 60px 32px; margin: 0; max-width: 100%; }

    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .why-grid { grid-template-columns: repeat(2, 1fr); }
    .addons-grid { grid-template-columns: repeat(2, 1fr); }
    .process-steps { grid-template-columns: repeat(2, 1fr); }

    .pkg-layout { grid-template-columns: 1fr; }
    .pkg-head { border-right: none; border-bottom: 1px solid var(--border); }
    .pkg-features { grid-template-columns: 1fr; }

    .portfolio-grid { grid-template-columns: repeat(2, 1fr); }
    .portfolio-stats { grid-template-columns: repeat(2, 1fr); }

    .contact-layout { grid-template-columns: 1fr; }

    .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }

    .cta-inner { flex-direction: column; text-align: center; }
    .cta-actions { justify-content: center; }

    .service-row { grid-template-columns: 1fr; }
    .service-row-visual { display: none; }
}

@media (max-width: 768px) {
    :root { --pad: 0 20px; }

    .main-nav {
        position: fixed;
        top: 0; left: -100%;
        width: 78%; height: 100vh;
        background: var(--bg);
        border-right: 1px solid var(--border);
        padding: 100px 28px 40px;
        transition: left var(--t);
        z-index: 999;
    }

    .main-nav.active { left: 0; }

    .main-nav ul { flex-direction: column; gap: 24px; }

    .main-nav a { font-size: 1.05rem; }

    .mobile-menu-toggle { display: flex; }

    .hero-left { padding: 60px 20px; }
    .page-hero-left { padding: 48px 20px; }

    .services-grid { grid-template-columns: 1fr; }
    .why-grid { grid-template-columns: 1fr; }
    .addons-grid { grid-template-columns: 1fr; }
    .process-steps { grid-template-columns: 1fr; }
    .portfolio-grid { grid-template-columns: 1fr; }
    .portfolio-stats { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr; gap: 28px; }
    .faq-grid { grid-template-columns: 1fr; }
    .tier-row { grid-template-columns: 1fr; }
    .form-row { grid-template-columns: 1fr; }
    .metric-row { grid-template-columns: 1fr; }

    .services-section,
    .why-section,
    .cta-banner,
    .services-detail,
    .products-intro,
    .product-packages,
    .addons-section,
    .process-section,
    .portfolio-section,
    .contact-section,
    .faq-section { padding-left: 20px; padding-right: 20px; }

    .service-row-content { padding: 32px 24px; }
    .contact-form-wrap { padding: 28px 24px; }
    .pkg-head,
    .pkg-body { padding: 28px 24px; }
}

@media (max-width: 480px) {
    .hero h1 { font-size: 2rem; }
    .hero-sub { font-size: 1rem; }
    .hero-cta { flex-direction: column; width: 100%; }
    .hero-cta .btn { width: 100%; justify-content: center; }
    .section-title { font-size: 1.7rem; }
    .portfolio-stats { grid-template-columns: 1fr; }
    .cta-inner h2 { font-size: 1.5rem; }
    .stat-number { font-size: 2.2rem; }
    .footer-bottom { flex-direction: column; text-align: center; }
}

/* ===== ACCESSIBILITY ===== */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 2px solid var(--blue);
    outline-offset: 3px;
}

/* ===== PORTFOLIO MODALS ===== */
.portfolio-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.85);
    z-index: 950;
    align-items: center;
    justify-content: center;
    padding: 20px;
    backdrop-filter: blur(4px);
    animation: fadeIn 0.3s ease;
}

.portfolio-modal.active { display: flex; }

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.portfolio-modal-content {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    max-width: 700px;
    max-height: 85vh;
    overflow-y: auto;
    width: 100%;
    position: relative;
    animation: slideUp 0.4s ease;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modal-close {
    position: absolute;
    top: 24px;
    right: 24px;
    width: 36px;
    height: 36px;
    background: var(--bg-mid);
    border: 1px solid var(--border);
    border-radius: 6px;
    color: var(--muted);
    font-size: 1.6rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--t);
    z-index: 951;
    line-height: 1;
    padding: 0;
}

.modal-close:hover {
    background: var(--blue);
    color: #fff;
    border-color: var(--blue);
}

.modal-header {
    padding: 36px 32px;
    border-bottom: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
}

.modal-header h2 {
    font-family: var(--font-head);
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--white);
    margin: 0;
    flex: 1;
}

.modal-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 16px;
    background: var(--blue);
    color: #fff;
    border-radius: 6px;
    font-size: 0.88rem;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
    transition: all var(--t);
    flex-shrink: 0;
}

.modal-link:hover {
    background: var(--blue-dark);
    transform: translateY(-1px);
}

.modal-body {
    padding: 32px;
}

.modal-section {
    margin-bottom: 28px;
}

.modal-section:last-child { margin-bottom: 0; }

.modal-section h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 12px;
}

.modal-section p {
    font-size: 0.95rem;
    color: var(--muted);
    line-height: 1.8;
    margin-bottom: 0;
}

.modal-section ul {
    list-style: none;
    padding-left: 0;
}

.modal-section li {
    padding: 8px 0 8px 20px;
    position: relative;
    font-size: 0.93rem;
    color: var(--muted);
    line-height: 1.7;
}

.modal-section li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--blue);
    font-weight: bold;
}

/* Portfolio image placeholder styles */
.portfolio-img-placeholder {
    width: 100%;
    height: 220px;
}

@media (max-width: 768px) {
    .portfolio-modal-content {
        max-height: 90vh;
    }

    .modal-header {
        flex-direction: column;
        padding: 24px 20px;
    }

    .modal-header h2 {
        font-size: 1.4rem;
    }

    .modal-body {
        padding: 20px;
    }

    .modal-section h3 {
        font-size: 1rem;
    }

    .portfolio-grid { grid-template-columns: 1fr; }
}