/* ===============================================================
   HiTech Clan — Technology Solutions
   Brand palette (from hitechclan.com + logo):
     magenta  #a6167f   navy #242f66 / #1c2138
     purple   #9b51e0   lime #b4c400   on a light background
   =============================================================== */

:root {
    --bg: #ffffff;
    --bg-alt: #f5f7fb;
    --bg-soft: #eef1f8;
    --card: #ffffff;
    --border: rgba(36, 47, 102, 0.12);
    --border-strong: rgba(36, 47, 102, 0.22);

    --ink: #1f2a58;          /* main headings */
    --ink-2: #242f66;        /* nav / strong navy */
    --text: #47507e;         /* body copy */
    --muted: #5b6590;        /* secondary copy */
    --muted-2: #8b93b4;      /* meta / captions */

    --primary: #a6167f;      /* magenta */
    --primary-dark: #86105f;
    --purple: #9b51e0;
    --lime: #b4c400;
    --lime-dark: #93a000;

    --accent: var(--primary);
    --accent-soft: rgba(166, 22, 127, 0.10);
    --lime-soft: rgba(180, 196, 0, 0.16);
    --gradient: linear-gradient(135deg, #a6167f 0%, #9b51e0 100%);
    --gradient-lime: linear-gradient(135deg, #c3d21a 0%, #93a000 100%);

    --radius: 16px;
    --radius-sm: 10px;
    --shadow: 0 20px 46px -22px rgba(31, 42, 88, 0.28);
    --shadow-sm: 0 10px 26px -14px rgba(31, 42, 88, 0.22);
    --shadow-accent: 0 16px 34px -14px rgba(166, 22, 127, 0.4);

    --font-display: "DM Sans", "Segoe UI", system-ui, sans-serif;
    --font-body: "Roboto", "Segoe UI", system-ui, sans-serif;

    --container: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    font-family: var(--font-body);
    background: var(--bg);
    color: var(--text);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5 {
    font-family: var(--font-display);
    line-height: 1.18;
    margin: 0 0 .5em;
    font-weight: 700;
    letter-spacing: -0.01em;
    color: var(--ink);
}

p { margin: 0 0 1rem; color: var(--text); }

a { color: inherit; text-decoration: none; transition: color .2s ease; }

img { max-width: 100%; display: block; }

.container {
    width: 100%;
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 24px;
}

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: .55rem;
    font-family: var(--font-display);
    font-weight: 600;
    font-size: .95rem;
    padding: .85rem 1.7rem;
    border-radius: 999px;
    border: 1px solid transparent;
    cursor: pointer;
    transition: transform .2s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease, color .2s ease;
    white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
    background: var(--primary);
    color: #ffffff;
    box-shadow: var(--shadow-accent);
}
.btn-primary:hover { background: var(--primary-dark); box-shadow: 0 20px 42px -14px rgba(166, 22, 127, 0.5); }
.btn-outline {
    background: transparent;
    color: var(--ink-2);
    border-color: var(--border-strong);
}
.btn-outline:hover { border-color: var(--primary); color: var(--primary); }
.btn-ghost { background: rgba(255,255,255,.14); color: #fff; border-color: rgba(255,255,255,.35); }
.btn-ghost:hover { background: rgba(255,255,255,.24); }
.btn .arrow { transition: transform .2s ease; }
.btn:hover .arrow { transform: translateX(3px); }

/* ---------- Brand / logo ---------- */
.brand {
    display: inline-flex;
    align-items: center;
    gap: .6rem;
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 1.35rem;
    color: var(--ink);
    letter-spacing: -0.02em;
}
.brand-mark { display: inline-flex; }
.logo-mark { width: 40px; height: 40px; display: block; }
.brand-accent { color: var(--primary); }

/* ---------- Header ---------- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.82);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid transparent;
    transition: border-color .3s ease, background .3s ease, box-shadow .3s ease;
}
.site-header.scrolled {
    background: rgba(255, 255, 255, 0.96);
    border-bottom-color: var(--border);
    box-shadow: 0 8px 24px -18px rgba(31, 42, 88, 0.4);
}
.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 76px;
}

.main-nav { display: flex; align-items: center; gap: 2rem; }
.main-nav a {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: .95rem;
    color: var(--muted);
    position: relative;
}
.main-nav a:not(.btn):hover { color: var(--ink); }
.main-nav a.active:not(.btn) { color: var(--primary); }
.main-nav a.active:not(.btn)::after {
    content: "";
    position: absolute;
    left: 0; right: 0; bottom: -6px;
    height: 2px;
    background: var(--primary);
    border-radius: 2px;
}
.nav-cta { margin-left: .5rem; padding: .6rem 1.3rem; }

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: 0;
    cursor: pointer;
    padding: 6px;
}
.nav-toggle span {
    width: 26px; height: 2px;
    background: var(--ink);
    border-radius: 2px;
    transition: transform .3s ease, opacity .3s ease;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Flash messages ---------- */
.flash-wrap { padding-top: 1.25rem; }
.flash {
    padding: .9rem 1.25rem;
    border-radius: var(--radius-sm);
    margin-bottom: .75rem;
    border: 1px solid var(--border);
    font-weight: 500;
}
.flash-success { background: var(--lime-soft); border-color: rgba(147, 160, 0, .45); color: #4f5600; }
.flash-error { background: rgba(214, 40, 40, .10); border-color: rgba(214, 40, 40, .35); color: #a11; }

/* ---------- Section helpers ---------- */
section { position: relative; }
.section { padding: 96px 0; }
.section-sm { padding: 64px 0; }
.bg-alt { background: var(--bg-alt); }

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: .78rem;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--primary);
    margin-bottom: 1rem;
}
.eyebrow::before {
    content: "";
    width: 26px; height: 2px;
    background: var(--primary);
    display: inline-block;
}
.section-head { max-width: 640px; margin-bottom: 3rem; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head.center .eyebrow { justify-content: center; }
.section-title { font-size: clamp(1.9rem, 3.5vw, 2.6rem); }
.section-head p { font-size: 1.05rem; color: var(--muted); }

/* ---------- Hero ---------- */
.hero {
    position: relative;
    padding: 118px 0 108px;
    overflow: hidden;
    background:
        radial-gradient(58% 55% at 82% 8%, rgba(155, 81, 224, .10), transparent 60%),
        radial-gradient(50% 55% at 8% 92%, rgba(180, 196, 0, .12), transparent 60%),
        linear-gradient(180deg, #fbfaff 0%, #ffffff 60%);
}
.hero-bg { position: absolute; inset: 0; pointer-events: none; }
.hero-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(36, 47, 102, .05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(36, 47, 102, .05) 1px, transparent 1px);
    background-size: 54px 54px;
    mask-image: radial-gradient(70% 60% at 50% 40%, #000 0%, transparent 80%);
    pointer-events: none;
}
.hero-inner {
    position: relative;
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    gap: 60px;
    align-items: center;
}
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: .6rem;
    padding: .45rem .95rem .45rem .55rem;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 999px;
    font-family: var(--font-display);
    font-weight: 600;
    font-size: .82rem;
    color: var(--ink-2);
    box-shadow: var(--shadow-sm);
    margin-bottom: 1.6rem;
}
.hero-badge .dot {
    width: 8px; height: 8px; border-radius: 50%;
    background: var(--primary);
    box-shadow: 0 0 0 4px var(--accent-soft);
}
.hero h1 {
    font-size: clamp(2.4rem, 5.2vw, 4rem);
    font-weight: 800;
    margin-bottom: 1.2rem;
}
.hero h1 .grad { background: var(--gradient); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-lead { font-size: 1.15rem; max-width: 540px; margin-bottom: 2rem; color: var(--muted); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-bottom: 2.6rem; }
.hero-stats { display: flex; gap: 2.5rem; flex-wrap: wrap; }
.hero-stat .num { font-family: var(--font-display); font-size: 1.9rem; font-weight: 800; color: var(--ink); }
.hero-stat .num span { color: var(--primary); }
.hero-stat .label { font-size: .85rem; color: var(--muted-2); }

/* Hero visual card */
.hero-visual { position: relative; }
.hero-card {
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: 26px;
    box-shadow: var(--shadow);
    position: relative;
}
.hero-card-top {
    display: flex; align-items: center; justify-content: space-between;
    padding-bottom: 18px; margin-bottom: 18px;
    border-bottom: 1px solid var(--border);
}
.hero-card-top strong { color: var(--ink); }
.hero-card-top .status { display: inline-flex; align-items: center; gap: .5rem; font-size: .85rem; color: var(--muted); }
.hero-card-top .status .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--lime-dark); box-shadow: 0 0 8px rgba(147,160,0,.8); }
.smart-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.smart-tile {
    background: var(--bg-alt);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 16px;
    transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.smart-tile:hover { transform: translateY(-4px); border-color: var(--border-strong); box-shadow: var(--shadow-sm); }
.smart-tile .icon {
    width: 40px; height: 40px; border-radius: 10px;
    display: grid; place-items: center;
    background: var(--accent-soft); color: var(--primary);
    margin-bottom: 12px;
}
.smart-tile .t-name { font-family: var(--font-display); font-weight: 600; font-size: .95rem; color: var(--ink); }
.smart-tile .t-meta { font-size: .78rem; color: var(--muted-2); }
.smart-tile.on .toggle { background: var(--primary); }
.toggle {
    margin-top: 10px; width: 40px; height: 22px; border-radius: 999px;
    background: rgba(36,47,102,.18); position: relative; transition: background .25s ease;
}
.toggle::after {
    content: ""; position: absolute; top: 3px; width: 16px; height: 16px; border-radius: 50%;
    background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.25); transition: left .25s ease;
}
.smart-tile.on .toggle::after { left: 21px; }
.smart-tile.off .toggle::after { left: 3px; }
.hero-float {
    position: absolute;
    bottom: -22px; left: -22px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 14px 18px;
    display: flex; align-items: center; gap: .8rem;
    box-shadow: var(--shadow);
}
.hero-float .ico { width: 36px; height: 36px; border-radius: 9px; background: var(--gradient-lime); color: #33380a; display: grid; place-items: center; }
.hero-float .txt strong { display: block; font-family: var(--font-display); font-size: .95rem; color: var(--ink); }
.hero-float .txt span { font-size: .78rem; color: var(--muted-2); }

/* ---------- Trust / partners strip ---------- */
.trust-strip { border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); background: var(--bg-alt); }
.trust-inner { display: flex; align-items: center; gap: 2rem; flex-wrap: wrap; padding: 28px 0; }
.trust-label { font-family: var(--font-display); font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted-2); font-weight: 700; }
.trust-logos { display: flex; flex-wrap: wrap; gap: 2.4rem; align-items: center; }
.trust-logos span {
    font-family: var(--font-display); font-weight: 700; font-size: 1.15rem;
    color: var(--ink-2); opacity: .55; transition: opacity .2s ease, color .2s ease;
}
.trust-logos span:hover { opacity: 1; color: var(--primary); }

/* ---------- About / intro ---------- */
.intro-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.intro-visual { position: relative; }
.intro-photo {
    border-radius: var(--radius);
    aspect-ratio: 4 / 3.4;
    background:
        radial-gradient(120% 120% at 20% 10%, rgba(155, 81, 224, .55), transparent 55%),
        linear-gradient(160deg, #a6167f, #4a1f7a);
    border: 1px solid var(--border);
    position: relative;
    overflow: hidden;
    display: grid; place-items: center;
    box-shadow: var(--shadow);
}
.intro-photo img {
    position: absolute; inset: 0;
    width: 100%; height: 100%; object-fit: cover;
}
.intro-photo .badge-exp {
    position: absolute; right: -18px; bottom: -18px; z-index: 2;
    background: var(--gradient-lime); color: #33380a;
    border-radius: 18px; padding: 20px 24px; text-align: center;
    box-shadow: 0 16px 34px -14px rgba(147,160,0,.5);
}
.intro-photo .badge-exp .n { font-family: var(--font-display); font-size: 2.4rem; font-weight: 800; line-height: 1; }
.intro-photo .badge-exp .l { font-size: .78rem; font-weight: 700; }
.intro-photo .glyph { color: rgba(255,255,255,.9); }
.mv-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin: 1.8rem 0; }
.mv-card {
    background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-sm);
    padding: 22px; box-shadow: var(--shadow-sm);
}
.mv-card .ico { width: 42px; height: 42px; border-radius: 10px; background: var(--accent-soft); color: var(--primary); display: grid; place-items: center; margin-bottom: 12px; }
.mv-card:nth-child(2) .ico { background: var(--lime-soft); color: var(--lime-dark); }
.mv-card h3, .mv-card h4 { font-size: 1.05rem; margin-bottom: .35rem; }
.mv-card p { font-size: .92rem; margin: 0; color: var(--muted); }

/* ---------- Services ---------- */
.services-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.service-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 30px 26px;
    transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}
.service-card::before {
    content: "";
    position: absolute; inset: 0 0 auto 0; height: 4px;
    background: var(--gradient);
    transform: scaleX(0); transform-origin: left;
    transition: transform .3s ease;
}
.service-card:hover { transform: translateY(-6px); border-color: var(--border-strong); box-shadow: var(--shadow); }
.service-card:hover::before { transform: scaleX(1); }
.service-ico {
    width: 56px; height: 56px; border-radius: 14px;
    background: var(--gradient); color: #fff;
    display: grid; place-items: center; margin-bottom: 20px;
    box-shadow: var(--shadow-accent);
}
.service-card:nth-child(2n) .service-ico { background: var(--gradient-lime); color: #33380a; box-shadow: 0 16px 34px -16px rgba(147,160,0,.5); }
.service-card h3 { font-size: 1.25rem; margin-bottom: .6rem; }
.service-card p { font-size: .94rem; margin-bottom: 1.2rem; color: var(--muted); }
.service-link { font-family: var(--font-display); font-weight: 600; font-size: .9rem; color: var(--primary); display: inline-flex; align-items: center; gap: .4rem; }
.service-link .arrow { transition: transform .2s ease; }
.service-card:hover .service-link .arrow { transform: translateX(4px); }

/* ---------- Portfolio ---------- */
.portfolio-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.project-card {
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--border);
    background: var(--card);
    position: relative;
    transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease;
    box-shadow: var(--shadow-sm);
}
.project-card:hover { transform: translateY(-6px); border-color: var(--border-strong); box-shadow: var(--shadow); }
.project-thumb { aspect-ratio: 16 / 11; position: relative; display: grid; place-items: center; overflow: hidden; }
.project-thumb img { width: 100%; height: 100%; object-fit: cover; }
.project-thumb .ph {
    width: 100%; height: 100%;
    background:
        radial-gradient(120% 120% at 80% 20%, rgba(155, 81, 224, .6), transparent 55%),
        linear-gradient(160deg, #a6167f, #3a1f6e);
    display: grid; place-items: center; color: rgba(255,255,255,.85);
}
.project-card:nth-child(3n) .project-thumb .ph { background: radial-gradient(120% 120% at 80% 20%, rgba(180,196,0,.55), transparent 55%), linear-gradient(160deg, #6a7500, #242f66); }
.project-cat {
    position: absolute; top: 14px; left: 14px;
    background: rgba(255,255,255,.92); backdrop-filter: blur(6px);
    border: 1px solid var(--border);
    color: var(--primary); font-size: .72rem; font-weight: 700;
    letter-spacing: .06em; text-transform: uppercase;
    padding: .35rem .75rem; border-radius: 999px;
}
.project-body { padding: 22px 22px 24px; }
.project-body h3 { font-size: 1.12rem; margin-bottom: .4rem; }
.project-body p { font-size: .9rem; margin: 0; color: var(--muted); }
.project-loc { font-size: .8rem; color: var(--muted-2); margin-top: .8rem; display: inline-flex; align-items: center; gap: .35rem; }

/* ---------- Testimonials ---------- */
.testimonial-wrap { max-width: 900px; margin: 0 auto; }
.testimonial-track { position: relative; }
.testimonial {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 42px 44px;
    box-shadow: var(--shadow-sm);
    display: none;
}
.testimonial.active { display: block; animation: fade .5s ease; }
@keyframes fade { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.testimonial .quote-mark { font-family: var(--font-display); font-size: 4rem; line-height: .6; color: var(--primary); opacity: .35; }
.testimonial blockquote { font-size: 1.2rem; color: var(--ink); font-weight: 500; margin: 1rem 0 1.8rem; line-height: 1.6; }
.testimonial .who { display: flex; align-items: center; gap: 1rem; }
.testimonial .avatar {
    width: 52px; height: 52px; border-radius: 50%;
    background: var(--gradient); color: #fff;
    display: grid; place-items: center; font-family: var(--font-display); font-weight: 800; font-size: 1.2rem;
}
.testimonial .who .name { font-family: var(--font-display); font-weight: 700; color: var(--ink); }
.testimonial .who .role { font-size: .82rem; color: var(--muted-2); text-transform: uppercase; letter-spacing: .08em; }
.testimonial-dots { display: flex; justify-content: center; gap: .6rem; margin-top: 1.8rem; }
.testimonial-dots button {
    width: 10px; height: 10px; border-radius: 50%; border: 0; cursor: pointer;
    background: var(--border-strong); transition: background .2s ease, width .2s ease;
}
.testimonial-dots button.active { background: var(--primary); width: 26px; border-radius: 6px; }

/* ---------- CTA band ---------- */
.cta-band {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #a6167f 0%, #6a1f9e 100%);
    border-radius: 26px;
    padding: 60px;
    text-align: center;
    box-shadow: var(--shadow);
}
.cta-band::before {
    content: ""; position: absolute; inset: 0;
    background: radial-gradient(60% 120% at 15% 10%, rgba(180,196,0,.28), transparent 55%);
}
.cta-band > * { position: relative; }
.cta-band .eyebrow { color: #f4d9ec; }
.cta-band .eyebrow::before { background: #f4d9ec; }
.cta-band h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); margin-bottom: .8rem; color: #fff; }
.cta-band p { font-size: 1.1rem; max-width: 560px; margin: 0 auto 2rem; color: rgba(255,255,255,.9); }
.cta-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.cta-band .btn-primary { background: #fff; color: var(--primary); }
.cta-band .btn-primary:hover { background: #fff; color: var(--primary-dark); }

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
    padding: 78px 0 58px;
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid var(--border);
    background:
        radial-gradient(50% 90% at 85% 0%, rgba(155, 81, 224, .12), transparent 60%),
        radial-gradient(40% 80% at 5% 100%, rgba(180, 196, 0, .12), transparent 60%),
        var(--bg-alt);
}
.page-hero .container { position: relative; }
.breadcrumb { font-size: .85rem; color: var(--muted-2); margin-top: .8rem; }
.breadcrumb a:hover { color: var(--primary); }
.page-hero h1 { font-size: clamp(2rem, 4.5vw, 3.1rem); }

/* ---------- Blog ---------- */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.post-card {
    background: var(--card); border: 1px solid var(--border);
    border-radius: var(--radius); overflow: hidden;
    display: flex; flex-direction: column;
    transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease;
    box-shadow: var(--shadow-sm);
}
.post-card:hover { transform: translateY(-6px); border-color: var(--border-strong); box-shadow: var(--shadow); }
.post-thumb { aspect-ratio: 16 / 9; overflow: hidden; }
.post-thumb img { width: 100%; height: 100%; object-fit: cover; }
.post-thumb .ph { width: 100%; height: 100%; background: linear-gradient(160deg, #a6167f, #3a1f6e); }
.post-body { padding: 24px; flex: 1; display: flex; flex-direction: column; }
.post-meta { font-size: .78rem; color: var(--muted-2); text-transform: uppercase; letter-spacing: .06em; margin-bottom: .7rem; }
.post-body h3 { font-size: 1.2rem; margin-bottom: .6rem; }
.post-body p { font-size: .92rem; flex: 1; color: var(--muted); }
.post-body .read-more { font-family: var(--font-display); font-weight: 600; color: var(--primary); font-size: .9rem; margin-top: .5rem; }

.post-detail { max-width: 780px; margin: 0 auto; }
.post-detail .cover { border-radius: var(--radius); overflow: hidden; margin-bottom: 2rem; aspect-ratio: 16/8; box-shadow: var(--shadow-sm); }
.post-detail .cover .ph { width: 100%; height: 100%; background: linear-gradient(160deg, #a6167f, #3a1f6e); }
.post-detail .body-copy { font-size: 1.08rem; color: var(--text); }
.post-detail .body-copy p { margin-bottom: 1.3rem; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 48px; align-items: start; }
.contact-info .info-item { display: flex; gap: 1rem; padding: 20px 0; border-bottom: 1px solid var(--border); }
.contact-info .info-item:last-child { border-bottom: 0; }
.contact-info .ico { flex: none; width: 46px; height: 46px; border-radius: 12px; background: var(--accent-soft); color: var(--primary); display: grid; place-items: center; }
.contact-info .info-item:nth-child(3) .ico { background: var(--lime-soft); color: var(--lime-dark); }
.contact-info h4 { margin: 0 0 .2rem; font-size: 1rem; }
.contact-info p { margin: 0; font-size: .95rem; color: var(--muted); }

.contact-form {
    background: var(--card); border: 1px solid var(--border);
    border-radius: var(--radius); padding: 34px; box-shadow: var(--shadow);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-size: .85rem; font-weight: 600; margin-bottom: .5rem; font-family: var(--font-display); color: var(--ink); }
.form-group input,
.form-group textarea {
    width: 100%;
    background: var(--bg-alt);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: .85rem 1rem;
    color: var(--ink);
    font-family: var(--font-body);
    font-size: .95rem;
    transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--muted-2); }
.form-group input:focus,
.form-group textarea:focus { outline: none; background: #fff; border-color: var(--primary); box-shadow: 0 0 0 3px var(--accent-soft); }
.form-group .errorlist { list-style: none; padding: 0; margin: .4rem 0 0; color: #c0392b; font-size: .82rem; }
.form-note { font-size: .82rem; color: var(--muted-2); margin-top: .6rem; }

/* ---------- Feature list ---------- */
.feature-list { list-style: none; padding: 0; margin: 1.5rem 0 0; display: grid; gap: 1rem; }
.feature-list li { display: flex; gap: .8rem; align-items: flex-start; color: var(--muted); }
.feature-list .check {
    flex: none; width: 24px; height: 24px; border-radius: 50%;
    background: var(--lime-soft); color: var(--lime-dark);
    display: grid; place-items: center; margin-top: 2px;
}

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

/* ---------- Footer ---------- */
.site-footer { background: #1c2138; color: #c4cae0; border-top: 1px solid var(--border); padding-top: 72px; }
.site-footer .brand { color: #fff; }
.site-footer .brand-accent { color: var(--lime); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.4fr; gap: 40px; padding-bottom: 48px; }
.brand-footer { font-size: 1.25rem; margin-bottom: 1rem; }
.footer-tagline { font-family: var(--font-display); font-weight: 700; color: var(--lime); margin-bottom: .8rem; }
.footer-note { font-size: .9rem; color: #98a0c0; }
.footer-col h4 { font-size: .95rem; letter-spacing: .04em; margin-bottom: 1.2rem; color: #fff; }
.footer-col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .7rem; }
.footer-col ul a { color: #a7aecb; font-size: .92rem; }
.footer-col ul a:hover { color: var(--lime); }
.footer-contact li { color: #a7aecb; font-size: .92rem; line-height: 1.5; }
.footer-contact a:hover { color: var(--lime); }
.social-row { display: flex; gap: .6rem; margin-top: 1.2rem; }
.social-link {
    width: 38px; height: 38px; border-radius: 10px;
    display: grid; place-items: center;
    background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.12);
    color: #c4cae0; transition: all .2s ease;
}
.social-link:hover { background: var(--primary); color: #fff; border-color: var(--primary); transform: translateY(-3px); }
.footer-bottom {
    display: flex; align-items: center; justify-content: space-between;
    border-top: 1px solid rgba(255,255,255,.1); padding: 22px 0; flex-wrap: wrap; gap: .5rem;
}
.footer-bottom p { margin: 0; font-size: .85rem; color: #8890b0; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
    .hero-inner { grid-template-columns: 1fr; gap: 48px; }
    .intro-grid { grid-template-columns: 1fr; }
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .portfolio-grid, .blog-grid { grid-template-columns: repeat(2, 1fr); }
    .contact-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 720px) {
    .nav-toggle { display: flex; }
    .main-nav {
        position: fixed; inset: 76px 0 auto 0;
        flex-direction: column; align-items: stretch; gap: 0;
        background: #fff; border-bottom: 1px solid var(--border);
        padding: 12px 24px 24px;
        box-shadow: var(--shadow);
        transform: translateY(-140%); transition: transform .35s ease;
        max-height: calc(100vh - 76px); overflow-y: auto;
    }
    .main-nav.open { transform: translateY(0); }
    .main-nav a { padding: .9rem 0; border-bottom: 1px solid var(--border); }
    .main-nav a.active:not(.btn)::after { display: none; }
    .nav-cta { margin: 1rem 0 0; justify-content: center; }
    .section { padding: 64px 0; }
    .services-grid, .portfolio-grid, .blog-grid { grid-template-columns: 1fr; }
    .mv-grid { grid-template-columns: 1fr; }
    .form-row { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .cta-band { padding: 40px 24px; }
    .testimonial { padding: 30px 26px; }
    .hero-float { left: 0; }
}
